[2026-04-17 00:00:02] local.INFO: TCP Data received {"connection_id":45373,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:02] local.INFO: Processing buffer {"connection_id":45373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:02] local.INFO: IMEI packet received {"connection_id":45373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":45373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:00:03] local.INFO: TCP Data received {"connection_id":45373,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:03] local.INFO: Processing buffer {"connection_id":45373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:03] local.INFO: IMEI packet received {"connection_id":45373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":45373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:00:06] local.INFO: TCP Data received {"connection_id":46187,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46187,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:00:06] local.INFO: Processing buffer {"connection_id":46187,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:00:06] local.INFO: IMEI packet received {"connection_id":46187,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":46187,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:00:07] local.INFO: TCP Data received {"connection_id":45373,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:07] local.INFO: Processing buffer {"connection_id":45373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:07] local.INFO: IMEI packet received {"connection_id":45373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:00:07] local.INFO: IMEI acknowledgment sent {"connection_id":45373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:00:09] local.INFO: TCP Data received {"connection_id":45373,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d978cf290012d52900006822f780088008435..."} 
[2026-04-17 00:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d978cf290012d52900006822f780088008435..."} 
[2026-04-17 00:00:09] local.INFO: Processing buffer {"connection_id":45373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d978cf290012d52900006822f780088008435..."} 
[2026-04-17 00:00:09] local.INFO: Packet analysis {"connection_id":45373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d978c"} 
[2026-04-17 00:00:09] local.INFO: Extracted packet for processing {"connection_id":45373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d978c"} 
[2026-04-17 00:00:09] local.INFO: GPS Element Parsed {"raw_longitude":760385536,"raw_latitude":109195128,"longitude_deg":76.0385536,"latitude_deg":10.9195128,"altitude":136,"angle":132,"satellites":53,"speed":46,"hex_longitude":"2d529000","hex_latitude":"06822f78","is_valid_coordinates":true} 
[2026-04-17 00:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:00:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749204992001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:00:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273269862598443008,"note":"Value kept but may cause issues"} 
[2026-04-17 00:00:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5940951623899041792,"note":"Value kept but may cause issues"} 
[2026-04-17 00:00:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:00:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776364090000,"timestamp_ms":1776364090000,"timestamp_seconds":1776364090,"priority":1,"record_length":96,"hex_timestamp":"0000019d978cf290"} 
[2026-04-17 00:00:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:00:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00:00:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 00:00:09] 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-04-17 00:00:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:00:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:00:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:00:09] local.INFO: Teltonika packet parsed successfully {"connection_id":45373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:00:09] local.INFO: Passing IMEI to GPS processor {"connection_id":45373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:00:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":45373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:00:09] 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-04-17 00:00:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:00:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:00:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749204992001,"66":27397,"63":206,"80":60928,"24":46,"16":273269862598443008,"45":5940951623899041792},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,80,24,16,45]} 
[2026-04-17 00:00:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:00:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:00:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749204992001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:00:09] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-04-17 00:00:09] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-17 00:00:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273269862598443008,"km_value":273269862598443.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:00:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":5940951623899041792,"description":"Unknown IO ID 45"} 
[2026-04-17 00:00:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749204992001,"power":27397,"unknown_63":206,"unknown_80":60928,"ignition":46,"odometer":null,"unknown_45":5940951623899041792}} 
[2026-04-17 00:00:09] local.INFO: DEBUG: GPS processor result {"connection_id":45373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:00:09] local.INFO: GPS data processed {"connection_id":45373,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:00:09] local.INFO: Acknowledgment sent {"connection_id":45373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:00:11] local.INFO: TCP Data received {"connection_id":46187,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46187,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:00:11] local.INFO: Processing buffer {"connection_id":46187,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:00:11] local.INFO: IMEI packet received {"connection_id":46187,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":46187,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:00:13] local.INFO: TCP Data received {"connection_id":46187,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:00:13] local.INFO: Processing buffer {"connection_id":46187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:00:13] local.INFO: Packet analysis {"connection_id":46187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:00:13] local.INFO: Extracted packet for processing {"connection_id":46187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:00:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749148672001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:00:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:00:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776364163000,"timestamp_ms":1776364163000,"timestamp_seconds":1776364163,"priority":1,"record_length":96,"hex_timestamp":"0000019d978e0fb8"} 
[2026-04-17 00:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:00:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46187,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46187,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749148672001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749148672001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:00:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:00:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749148672001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":46187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18161,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:00:14] local.INFO: GPS data processed {"connection_id":46187,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:00:14] local.INFO: Acknowledgment sent {"connection_id":46187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:00:45] local.INFO: TCP Data received {"connection_id":46187,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:00:45] local.INFO: Processing buffer {"connection_id":46187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:00:45] local.INFO: Packet analysis {"connection_id":46187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:00:45] local.INFO: Extracted packet for processing {"connection_id":46187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:00:45] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749148672001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:00:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:00:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776364163000,"timestamp_ms":1776364163000,"timestamp_seconds":1776364163,"priority":1,"record_length":96,"hex_timestamp":"0000019d978e0fb8"} 
[2026-04-17 00:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:00:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:00:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46187,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46187,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749148672001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749148672001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:00:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:00:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749148672001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":46187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18162,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:00:45] local.INFO: GPS data processed {"connection_id":46187,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:00:45] local.INFO: Acknowledgment sent {"connection_id":46187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:00:52] local.INFO: TCP Data received {"connection_id":46188,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:52] local.INFO: Processing buffer {"connection_id":46188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:52] local.INFO: IMEI packet received {"connection_id":46188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":46188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:00:52] local.INFO: TCP Data received {"connection_id":46188,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:52] local.INFO: Processing buffer {"connection_id":46188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:52] local.INFO: IMEI packet received {"connection_id":46188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":46188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:00:53] local.INFO: TCP Data received {"connection_id":46188,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:53] local.INFO: Processing buffer {"connection_id":46188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:53] local.INFO: IMEI packet received {"connection_id":46188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":46188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:00:55] local.INFO: TCP Data received {"connection_id":46188,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:55] local.INFO: Processing buffer {"connection_id":46188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:00:55] local.INFO: IMEI packet received {"connection_id":46188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":46188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:01:11] local.INFO: TCP Data received {"connection_id":45635,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:01:11] local.INFO: Processing buffer {"connection_id":45635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:01:11] local.INFO: IMEI packet received {"connection_id":45635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":45635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:01:16] local.INFO: TCP Data received {"connection_id":45635,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:01:16] local.INFO: Processing buffer {"connection_id":45635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:01:16] local.INFO: IMEI packet received {"connection_id":45635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:01:16] local.INFO: IMEI acknowledgment sent {"connection_id":45635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:01:18] local.INFO: TCP Data received {"connection_id":45635,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:01:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:01:18] local.INFO: Processing buffer {"connection_id":45635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:01:18] local.INFO: Packet analysis {"connection_id":45635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:01:18] local.INFO: Extracted packet for processing {"connection_id":45635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:01:18] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:01:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749148672001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:01:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:01:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:01:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:01:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776364163000,"timestamp_ms":1776364163000,"timestamp_seconds":1776364163,"priority":1,"record_length":96,"hex_timestamp":"0000019d978e0fb8"} 
[2026-04-17 00:01:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:01:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:01:18] 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-04-17 00: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-04-17 00:01:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:01:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:01:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:01:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:01:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:01:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:01:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:01:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:01:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749148672001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:01:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:01:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:01:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749148672001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:01:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:01:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:01:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:01:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749148672001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:01:18] local.INFO: DEBUG: GPS processor result {"connection_id":45635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:01:18] local.INFO: GPS data processed {"connection_id":45635,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:01:18] local.INFO: Acknowledgment sent {"connection_id":45635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:01:21] local.INFO: TCP Data received {"connection_id":45635,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:01:21] local.INFO: Processing buffer {"connection_id":45635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:01:21] local.INFO: Packet analysis {"connection_id":45635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:01:21] local.INFO: Extracted packet for processing {"connection_id":45635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:01:21] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749148672001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:01:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:01:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776364163000,"timestamp_ms":1776364163000,"timestamp_seconds":1776364163,"priority":1,"record_length":96,"hex_timestamp":"0000019d978e0fb8"} 
[2026-04-17 00:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:01:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749148672001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749148672001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:01:21] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:01:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749148672001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:01:22] local.INFO: DEBUG: GPS processor result {"connection_id":45635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18164,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:01:22] local.INFO: GPS data processed {"connection_id":45635,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:01:22] local.INFO: Acknowledgment sent {"connection_id":45635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:02:07] local.INFO: TCP Data received {"connection_id":45374,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:02:07] local.INFO: Processing buffer {"connection_id":45374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:02:07] local.INFO: IMEI packet received {"connection_id":45374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":45374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:02:11] local.INFO: TCP Data received {"connection_id":45374,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45374,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:02:11] local.INFO: Processing buffer {"connection_id":45374,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:02:11] local.INFO: IMEI packet received {"connection_id":45374,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":45374,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:02:13] local.INFO: TCP Data received {"connection_id":45374,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:02:13] local.INFO: Processing buffer {"connection_id":45374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:02:13] local.INFO: Packet analysis {"connection_id":45374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:02:13] local.INFO: Extracted packet for processing {"connection_id":45374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:02:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749148672001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:02:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776364163000,"timestamp_ms":1776364163000,"timestamp_seconds":1776364163,"priority":1,"record_length":96,"hex_timestamp":"0000019d978e0fb8"} 
[2026-04-17 00:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:02:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:02:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:02:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45374,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45374,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749148672001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749148672001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:02:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:02:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749148672001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":45374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:02:13] local.INFO: GPS data processed {"connection_id":45374,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:02:13] local.INFO: Acknowledgment sent {"connection_id":45374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:02:44] local.INFO: TCP Data received {"connection_id":45374,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:02:44] local.INFO: Processing buffer {"connection_id":45374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:02:44] local.INFO: Packet analysis {"connection_id":45374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:02:44] local.INFO: Extracted packet for processing {"connection_id":45374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:02:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749148672001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:02:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776364163000,"timestamp_ms":1776364163000,"timestamp_seconds":1776364163,"priority":1,"record_length":96,"hex_timestamp":"0000019d978e0fb8"} 
[2026-04-17 00:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:02:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:02:44] 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-04-17 00: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-04-17 00:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45374,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45374,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749148672001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749148672001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:02:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:02:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749148672001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":45374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18166,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:02:44] local.INFO: GPS data processed {"connection_id":45374,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:02:44] local.INFO: Acknowledgment sent {"connection_id":45374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:03:06] local.INFO: TCP Data received {"connection_id":45637,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:03:06] local.INFO: Processing buffer {"connection_id":45637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:03:06] local.INFO: IMEI packet received {"connection_id":45637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":45637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:03:11] local.INFO: TCP Data received {"connection_id":45637,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:03:11] local.INFO: Processing buffer {"connection_id":45637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:03:11] local.INFO: IMEI packet received {"connection_id":45637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":45637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:03:13] local.INFO: TCP Data received {"connection_id":45637,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:03:13] local.INFO: Processing buffer {"connection_id":45637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:03:13] local.INFO: Packet analysis {"connection_id":45637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:03:13] local.INFO: Extracted packet for processing {"connection_id":45637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:03:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749148672001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:03:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:03:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776364163000,"timestamp_ms":1776364163000,"timestamp_seconds":1776364163,"priority":1,"record_length":96,"hex_timestamp":"0000019d978e0fb8"} 
[2026-04-17 00:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:03:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:03:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:03:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:03:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749148672001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749148672001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:03:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:03:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749148672001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":45637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18167,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:03:13] local.INFO: GPS data processed {"connection_id":45637,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:03:13] local.INFO: Acknowledgment sent {"connection_id":45637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:03:44] local.INFO: TCP Data received {"connection_id":45637,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:03:44] local.INFO: Processing buffer {"connection_id":45637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:03:44] local.INFO: Packet analysis {"connection_id":45637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:03:44] local.INFO: Extracted packet for processing {"connection_id":45637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:03:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749148672001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:03:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776364163000,"timestamp_ms":1776364163000,"timestamp_seconds":1776364163,"priority":1,"record_length":96,"hex_timestamp":"0000019d978e0fb8"} 
[2026-04-17 00:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:03:44] 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-04-17 00: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-04-17 00:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749148672001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749148672001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:03:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:03:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749148672001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":45637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18168,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:03:44] local.INFO: GPS data processed {"connection_id":45637,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:03:44] local.INFO: Acknowledgment sent {"connection_id":45637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:04:06] local.INFO: TCP Data received {"connection_id":45375,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:04:06] local.INFO: Processing buffer {"connection_id":45375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:04:06] local.INFO: IMEI packet received {"connection_id":45375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":45375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:04:11] local.INFO: TCP Data received {"connection_id":45375,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:04:11] local.INFO: Processing buffer {"connection_id":45375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:04:11] local.INFO: IMEI packet received {"connection_id":45375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":45375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:04:13] local.INFO: TCP Data received {"connection_id":45375,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:04:13] local.INFO: Processing buffer {"connection_id":45375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:04:13] local.INFO: Packet analysis {"connection_id":45375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:04:13] local.INFO: Extracted packet for processing {"connection_id":45375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:04:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749148672001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:04:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776364163000,"timestamp_ms":1776364163000,"timestamp_seconds":1776364163,"priority":1,"record_length":96,"hex_timestamp":"0000019d978e0fb8"} 
[2026-04-17 00:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:04:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749148672001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749148672001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:04:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:04:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749148672001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":45375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18169,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:04:13] local.INFO: GPS data processed {"connection_id":45375,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:04:13] local.INFO: Acknowledgment sent {"connection_id":45375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:04:45] local.INFO: TCP Data received {"connection_id":45375,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:04:45] local.INFO: Processing buffer {"connection_id":45375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d978e0fb8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:04:45] local.INFO: Packet analysis {"connection_id":45375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:04:45] local.INFO: Extracted packet for processing {"connection_id":45375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d978e"} 
[2026-04-17 00:04:45] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749148672001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:04:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776364163000,"timestamp_ms":1776364163000,"timestamp_seconds":1776364163,"priority":1,"record_length":96,"hex_timestamp":"0000019d978e0fb8"} 
[2026-04-17 00:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:04:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:04:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749148672001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749148672001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:04:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:04:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749148672001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":45375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:04:45] local.INFO: GPS data processed {"connection_id":45375,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:04:45] local.INFO: Acknowledgment sent {"connection_id":45375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:05:11] local.INFO: TCP Data received {"connection_id":45638,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:05:11] local.INFO: Processing buffer {"connection_id":45638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:05:11] local.INFO: IMEI packet received {"connection_id":45638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":45638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:05:16] local.INFO: TCP Data received {"connection_id":45638,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45638,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:05:16] local.INFO: Processing buffer {"connection_id":45638,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:05:16] local.INFO: IMEI packet received {"connection_id":45638,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":45638,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:05:18] local.INFO: TCP Data received {"connection_id":45638,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:05:18] local.INFO: Processing buffer {"connection_id":45638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:05:18] local.INFO: Packet analysis {"connection_id":45638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:05:18] local.INFO: Extracted packet for processing {"connection_id":45638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:05:18] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749225728001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:05:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776364464000,"timestamp_ms":1776364464000,"timestamp_seconds":1776364464,"priority":1,"record_length":96,"hex_timestamp":"0000019d9792a780"} 
[2026-04-17 00:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:05:18] 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-04-17 00:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749225728001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749225728001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:05:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:05:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749225728001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":45638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18171,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:05:18] local.INFO: GPS data processed {"connection_id":45638,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:05:18] local.INFO: Acknowledgment sent {"connection_id":45638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:05:22] local.INFO: TCP Data received {"connection_id":45638,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:05:22] local.INFO: Processing buffer {"connection_id":45638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:05:22] local.INFO: Packet analysis {"connection_id":45638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:05:22] local.INFO: Extracted packet for processing {"connection_id":45638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:05:22] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749225728001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:05:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776364464000,"timestamp_ms":1776364464000,"timestamp_seconds":1776364464,"priority":1,"record_length":96,"hex_timestamp":"0000019d9792a780"} 
[2026-04-17 00:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:05:22] 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-04-17 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:05:22] 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-04-17 00: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-04-17 00:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45638,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749225728001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749225728001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:05:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:05:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749225728001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":45638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18172,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:05:22] local.INFO: GPS data processed {"connection_id":45638,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:05:22] local.INFO: Acknowledgment sent {"connection_id":45638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:05:57] local.INFO: TCP Data received {"connection_id":45639,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:05:57] local.INFO: Processing buffer {"connection_id":45639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:05:57] local.INFO: IMEI packet received {"connection_id":45639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":45639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:05:58] local.INFO: TCP Data received {"connection_id":45639,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d979278a0012d565f00067b41f0002100fd33..."} 
[2026-04-17 00:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979278a0012d565f00067b41f0002100fd33..."} 
[2026-04-17 00:05:58] local.INFO: Processing buffer {"connection_id":45639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979278a0012d565f00067b41f0002100fd33..."} 
[2026-04-17 00:05:58] local.INFO: Packet analysis {"connection_id":45639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:05:58] local.INFO: Extracted packet for processing {"connection_id":45639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:05:58] local.INFO: GPS Element Parsed {"raw_longitude":760635136,"raw_latitude":108741104,"longitude_deg":76.0635136,"latitude_deg":10.8741104,"altitude":33,"angle":253,"satellites":51,"speed":55,"hex_longitude":"2d565f00","hex_latitude":"067b41f0","is_valid_coordinates":true} 
[2026-04-17 00:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749297920001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273298282397040640,"note":"Value kept but may cause issues"} 
[2026-04-17 00:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6233404124584359936,"note":"Value kept but may cause issues"} 
[2026-04-17 00:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776364452000,"timestamp_ms":1776364452000,"timestamp_seconds":1776364452,"priority":1,"record_length":96,"hex_timestamp":"0000019d979278a0"} 
[2026-04-17 00:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:05: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-04-17 00:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 00:05:58] 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-04-17 00:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749297920001,"66":27300,"250":206,"80":60928,"24":55,"16":273298282397040640,"45":6233404124584359936},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-04-17 00:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749297920001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:05:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 00:05:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-17 00:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273298282397040640,"km_value":273298282397040.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6233404124584359936,"description":"Unknown IO ID 45"} 
[2026-04-17 00:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749297920001,"power":27300,"unknown_250":206,"unknown_80":60928,"ignition":55,"odometer":null,"unknown_45":6233404124584359936}} 
[2026-04-17 00:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":45639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:05:58] local.INFO: GPS data processed {"connection_id":45639,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:05:58] local.INFO: Acknowledgment sent {"connection_id":45639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:06:06] local.INFO: TCP Data received {"connection_id":46190,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:06:06] local.INFO: Processing buffer {"connection_id":46190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:06:06] local.INFO: IMEI packet received {"connection_id":46190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":46190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:06:11] local.INFO: TCP Data received {"connection_id":46190,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46190,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:06:11] local.INFO: Processing buffer {"connection_id":46190,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:06:11] local.INFO: IMEI packet received {"connection_id":46190,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":46190,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:06:13] local.INFO: TCP Data received {"connection_id":46190,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:06:13] local.INFO: Processing buffer {"connection_id":46190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:06:13] local.INFO: Packet analysis {"connection_id":46190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:06:13] local.INFO: Extracted packet for processing {"connection_id":46190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:06:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749225728001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:06:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:06:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776364464000,"timestamp_ms":1776364464000,"timestamp_seconds":1776364464,"priority":1,"record_length":96,"hex_timestamp":"0000019d9792a780"} 
[2026-04-17 00:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46190,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46190,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749225728001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749225728001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:06:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:06:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749225728001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":46190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18174,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:06:13] local.INFO: GPS data processed {"connection_id":46190,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:06:13] local.INFO: Acknowledgment sent {"connection_id":46190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:06:29] local.INFO: TCP Data received {"connection_id":45639,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d979293f8012d563940067b3710002000fe34..."} 
[2026-04-17 00:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979293f8012d563940067b3710002000fe34..."} 
[2026-04-17 00:06:29] local.INFO: Processing buffer {"connection_id":45639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979293f8012d563940067b3710002000fe34..."} 
[2026-04-17 00:06:29] local.INFO: Packet analysis {"connection_id":45639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:06:29] local.INFO: Extracted packet for processing {"connection_id":45639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:06:29] local.INFO: GPS Element Parsed {"raw_longitude":760625472,"raw_latitude":108738320,"longitude_deg":76.0625472,"latitude_deg":10.873832,"altitude":32,"angle":254,"satellites":52,"speed":58,"hex_longitude":"2d563940","hex_latitude":"067b3710","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749299712001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273298759138410496,"note":"Value kept but may cause issues"} 
[2026-04-17 00:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6223693237887037440,"note":"Value kept but may cause issues"} 
[2026-04-17 00:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776364459000,"timestamp_ms":1776364459000,"timestamp_seconds":1776364459,"priority":1,"record_length":96,"hex_timestamp":"0000019d979293f8"} 
[2026-04-17 00:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:06: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-04-17 00: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 00:06: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-04-17 00: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-04-17 00:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:06: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-04-17 00:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749299712001,"66":27365,"250":206,"80":60928,"24":58,"16":273298759138410496,"45":6223693237887037440},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-04-17 00:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749299712001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:06:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 00:06:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-17 00:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273298759138410496,"km_value":273298759138410.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6223693237887037440,"description":"Unknown IO ID 45"} 
[2026-04-17 00:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749299712001,"power":27365,"unknown_250":206,"unknown_80":60928,"ignition":58,"odometer":null,"unknown_45":6223693237887037440}} 
[2026-04-17 00:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":45639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:06:29] local.INFO: GPS data processed {"connection_id":45639,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:06:29] local.INFO: Acknowledgment sent {"connection_id":45639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:06:45] local.INFO: TCP Data received {"connection_id":46190,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:06:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:06:45] local.INFO: Processing buffer {"connection_id":46190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:06:45] local.INFO: Packet analysis {"connection_id":46190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:06:45] local.INFO: Extracted packet for processing {"connection_id":46190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:06:45] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:06:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749225728001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:06:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:06:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:06:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:06:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776364464000,"timestamp_ms":1776364464000,"timestamp_seconds":1776364464,"priority":1,"record_length":96,"hex_timestamp":"0000019d9792a780"} 
[2026-04-17 00:06:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:06:45] 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-04-17 00:06:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:06:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:06:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:06:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:06:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:06:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:06:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46190,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:06:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46190,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:06:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:06:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:06:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:06:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749225728001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:06:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:06:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:06:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749225728001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:06:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:06:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:06:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:06:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749225728001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:06:45] local.INFO: DEBUG: GPS processor result {"connection_id":46190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18176,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:06:45] local.INFO: GPS data processed {"connection_id":46190,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:06:45] local.INFO: Acknowledgment sent {"connection_id":46190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:06:57] local.INFO: TCP Data received {"connection_id":46191,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:06:57] local.INFO: Processing buffer {"connection_id":46191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:06:57] local.INFO: IMEI packet received {"connection_id":46191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":46191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:07:02] local.INFO: TCP Data received {"connection_id":46191,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:07:02] local.INFO: Processing buffer {"connection_id":46191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:07:02] local.INFO: IMEI packet received {"connection_id":46191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":46191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:07:04] local.INFO: TCP Data received {"connection_id":46191,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9792ab68012d561700067b2d68001e00fd34..."} 
[2026-04-17 00:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9792ab68012d561700067b2d68001e00fd34..."} 
[2026-04-17 00:07:04] local.INFO: Processing buffer {"connection_id":46191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9792ab68012d561700067b2d68001e00fd34..."} 
[2026-04-17 00:07:04] local.INFO: Packet analysis {"connection_id":46191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:07:04] local.INFO: Extracted packet for processing {"connection_id":46191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:07:04] local.INFO: GPS Element Parsed {"raw_longitude":760616704,"raw_latitude":108735848,"longitude_deg":76.0616704,"latitude_deg":10.8735848,"altitude":30,"angle":253,"satellites":52,"speed":61,"hex_longitude":"2d561700","hex_latitude":"067b2d68","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:07:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749301504001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:07:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273299197225074688,"note":"Value kept but may cause issues"} 
[2026-04-17 00:07:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6213067557515497472,"note":"Value kept but may cause issues"} 
[2026-04-17 00:07:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:07:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776364465000,"timestamp_ms":1776364465000,"timestamp_seconds":1776364465,"priority":1,"record_length":96,"hex_timestamp":"0000019d9792ab68"} 
[2026-04-17 00:07:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:07:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00:07:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 00:07: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-04-17 00: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-04-17 00:07:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:07:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:07:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:07:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:07:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:07: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-04-17 00:07:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:07:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:07:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749301504001,"66":27376,"250":206,"80":60928,"24":61,"16":273299197225074688,"45":6213067557515497472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-04-17 00:07:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:07:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:07:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749301504001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:07:04] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 00:07:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-17 00:07:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273299197225074688,"km_value":273299197225074.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:07:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6213067557515497472,"description":"Unknown IO ID 45"} 
[2026-04-17 00:07:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749301504001,"power":27376,"unknown_250":206,"unknown_80":60928,"ignition":61,"odometer":null,"unknown_45":6213067557515497472}} 
[2026-04-17 00:07:04] local.INFO: DEBUG: GPS processor result {"connection_id":46191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:07:04] local.INFO: GPS data processed {"connection_id":46191,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:07:04] local.INFO: Acknowledgment sent {"connection_id":46191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:07:06] local.INFO: TCP Data received {"connection_id":45376,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:07:06] local.INFO: Processing buffer {"connection_id":45376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:07:06] local.INFO: IMEI packet received {"connection_id":45376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":45376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:07:08] local.INFO: TCP Data received {"connection_id":46191,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9792c2d8012d55f4c0067b2398001f00fd33..."} 
[2026-04-17 00:07:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9792c2d8012d55f4c0067b2398001f00fd33..."} 
[2026-04-17 00:07:08] local.INFO: Processing buffer {"connection_id":46191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9792c2d8012d55f4c0067b2398001f00fd33..."} 
[2026-04-17 00:07:08] local.INFO: Packet analysis {"connection_id":46191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:07:08] local.INFO: Extracted packet for processing {"connection_id":46191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:07:08] local.INFO: GPS Element Parsed {"raw_longitude":760607936,"raw_latitude":108733336,"longitude_deg":76.0607936,"latitude_deg":10.8733336,"altitude":31,"angle":253,"satellites":51,"speed":58,"hex_longitude":"2d55f4c0","hex_latitude":"067b2398","is_valid_coordinates":true} 
[2026-04-17 00:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:07:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749303040001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:07:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273299631016771584,"note":"Value kept but may cause issues"} 
[2026-04-17 00:07:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6203427039562524672,"note":"Value kept but may cause issues"} 
[2026-04-17 00:07:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:07:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776364471000,"timestamp_ms":1776364471000,"timestamp_seconds":1776364471,"priority":1,"record_length":96,"hex_timestamp":"0000019d9792c2d8"} 
[2026-04-17 00:07:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:07:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00:07:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 00:07: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-04-17 00:07:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:07:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:07:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:07:08] local.INFO: Teltonika packet parsed successfully {"connection_id":46191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:07:08] local.INFO: Passing IMEI to GPS processor {"connection_id":46191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:07:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":46191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:07:08] 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-04-17 00:07:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:07:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:07:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749303040001,"66":27463,"250":206,"80":60928,"24":58,"16":273299631016771584,"45":6203427039562524672},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,80,24,16,45]} 
[2026-04-17 00:07:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:07:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:07:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749303040001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:07:08] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 00:07:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-17 00:07:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273299631016771584,"km_value":273299631016771.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:07:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6203427039562524672,"description":"Unknown IO ID 45"} 
[2026-04-17 00:07:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749303040001,"power":27463,"unknown_250":206,"unknown_80":60928,"ignition":58,"odometer":null,"unknown_45":6203427039562524672}} 
[2026-04-17 00:07:08] local.INFO: DEBUG: GPS processor result {"connection_id":46191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:07:08] local.INFO: GPS data processed {"connection_id":46191,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:07:08] local.INFO: Acknowledgment sent {"connection_id":46191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:07:11] local.INFO: TCP Data received {"connection_id":45376,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45376,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:07:11] local.INFO: Processing buffer {"connection_id":45376,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:07:11] local.INFO: IMEI packet received {"connection_id":45376,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":45376,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:07:13] local.INFO: TCP Data received {"connection_id":45376,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:07:13] local.INFO: Processing buffer {"connection_id":45376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:07:13] local.INFO: Packet analysis {"connection_id":45376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:07:13] local.INFO: Extracted packet for processing {"connection_id":45376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:07:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749225728001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:07:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:07:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776364464000,"timestamp_ms":1776364464000,"timestamp_seconds":1776364464,"priority":1,"record_length":96,"hex_timestamp":"0000019d9792a780"} 
[2026-04-17 00:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749225728001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749225728001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:07:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:07:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749225728001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":45376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18179,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:07:13] local.INFO: GPS data processed {"connection_id":45376,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:07:13] local.INFO: Acknowledgment sent {"connection_id":45376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:07:44] local.INFO: TCP Data received {"connection_id":45376,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:07:44] local.INFO: Processing buffer {"connection_id":45376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:07:44] local.INFO: Packet analysis {"connection_id":45376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:07:44] local.INFO: Extracted packet for processing {"connection_id":45376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:07:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749225728001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:07:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776364464000,"timestamp_ms":1776364464000,"timestamp_seconds":1776364464,"priority":1,"record_length":96,"hex_timestamp":"0000019d9792a780"} 
[2026-04-17 00:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:07:44] 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-04-17 00:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:07:44] 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-04-17 00:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45376,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749225728001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749225728001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:07:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:07:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749225728001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":45376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18180,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:07:44] local.INFO: GPS data processed {"connection_id":45376,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:07:44] local.INFO: Acknowledgment sent {"connection_id":45376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:07:52] local.INFO: TCP Data received {"connection_id":46192,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:07:52] local.INFO: Processing buffer {"connection_id":46192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:07:52] local.INFO: IMEI packet received {"connection_id":46192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":46192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:07:57] local.INFO: TCP Data received {"connection_id":46192,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:07:57] local.INFO: Processing buffer {"connection_id":46192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:07:57] local.INFO: IMEI packet received {"connection_id":46192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":46192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:07:58] local.INFO: TCP Data received {"connection_id":46192,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d979493b0012d5490c0067a5838004400fb2a..."} 
[2026-04-17 00:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979493b0012d5490c0067a5838004400fb2a..."} 
[2026-04-17 00:07:58] local.INFO: Processing buffer {"connection_id":46192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979493b0012d5490c0067a5838004400fb2a..."} 
[2026-04-17 00:07:58] local.INFO: Packet analysis {"connection_id":46192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9794"} 
[2026-04-17 00:07:58] local.INFO: Extracted packet for processing {"connection_id":46192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9794"} 
[2026-04-17 00:07:58] local.INFO: GPS Element Parsed {"raw_longitude":760516800,"raw_latitude":108681272,"longitude_deg":76.05168,"latitude_deg":10.8681272,"altitude":68,"angle":251,"satellites":42,"speed":23,"hex_longitude":"2d5490c0","hex_latitude":"067a5838","is_valid_coordinates":true} 
[2026-04-17 00:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749330944001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273304681898311680,"note":"Value kept but may cause issues"} 
[2026-04-17 00:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6102940472863846400,"note":"Value kept but may cause issues"} 
[2026-04-17 00:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776364590000,"timestamp_ms":1776364590000,"timestamp_seconds":1776364590,"priority":1,"record_length":96,"hex_timestamp":"0000019d979493b0"} 
[2026-04-17 00:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:07: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-04-17 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 00:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749330944001,"66":27365,"155":206,"80":60928,"24":23,"16":273304681898311680,"45":6102940472863846400},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-04-17 00:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749330944001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:07:58] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-17 00:07:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-17 00:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273304681898311680,"km_value":273304681898311.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6102940472863846400,"description":"Unknown IO ID 45"} 
[2026-04-17 00:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749330944001,"power":27365,"unknown_155":206,"unknown_80":60928,"ignition":23,"odometer":null,"unknown_45":6102940472863846400}} 
[2026-04-17 00:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":46192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:07:58] local.INFO: GPS data processed {"connection_id":46192,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:07:58] local.INFO: Acknowledgment sent {"connection_id":46192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:08:11] local.INFO: TCP Data received {"connection_id":46193,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:08:11] local.INFO: Processing buffer {"connection_id":46193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:08:11] local.INFO: IMEI packet received {"connection_id":46193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":46193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:08:16] local.INFO: TCP Data received {"connection_id":46193,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46193,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:08:16] local.INFO: Processing buffer {"connection_id":46193,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:08:16] local.INFO: IMEI packet received {"connection_id":46193,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":46193,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:08:18] local.INFO: TCP Data received {"connection_id":46193,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:08:18] local.INFO: Processing buffer {"connection_id":46193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:08:18] local.INFO: Packet analysis {"connection_id":46193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:08:18] local.INFO: Extracted packet for processing {"connection_id":46193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:08:18] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749225728001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:08:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:08:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776364464000,"timestamp_ms":1776364464000,"timestamp_seconds":1776364464,"priority":1,"record_length":96,"hex_timestamp":"0000019d9792a780"} 
[2026-04-17 00:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:08:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:08:18] 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-04-17 00:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":46193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":46193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":46193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749225728001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749225728001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:08:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:08:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749225728001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":46193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18182,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:08:18] local.INFO: GPS data processed {"connection_id":46193,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:08:18] local.INFO: Acknowledgment sent {"connection_id":46193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:08:22] local.INFO: TCP Data received {"connection_id":46193,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:08:22] local.INFO: Processing buffer {"connection_id":46193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:08:22] local.INFO: Packet analysis {"connection_id":46193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:08:22] local.INFO: Extracted packet for processing {"connection_id":46193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:08:22] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749225728001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:08:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:08:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776364464000,"timestamp_ms":1776364464000,"timestamp_seconds":1776364464,"priority":1,"record_length":96,"hex_timestamp":"0000019d9792a780"} 
[2026-04-17 00:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:08:22] 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-04-17 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:08:22] 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-04-17 00: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-04-17 00:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":46193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":46193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":46193,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749225728001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749225728001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:08:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:08:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749225728001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":46193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18183,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:08:22] local.INFO: GPS data processed {"connection_id":46193,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:08:22] local.INFO: Acknowledgment sent {"connection_id":46193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:08:33] local.INFO: TCP Data received {"connection_id":46192,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9794d230012d546e80067a4fe8004801062e..."} 
[2026-04-17 00:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9794d230012d546e80067a4fe8004801062e..."} 
[2026-04-17 00:08:33] local.INFO: Processing buffer {"connection_id":46192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9794d230012d546e80067a4fe8004801062e..."} 
[2026-04-17 00:08:33] local.INFO: Packet analysis {"connection_id":46192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9794"} 
[2026-04-17 00:08:33] local.INFO: Extracted packet for processing {"connection_id":46192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9794"} 
[2026-04-17 00:08:33] local.INFO: GPS Element Parsed {"raw_longitude":760508032,"raw_latitude":108679144,"longitude_deg":76.0508032,"latitude_deg":10.8679144,"altitude":72,"angle":262,"satellites":46,"speed":17,"hex_longitude":"2d546e80","hex_latitude":"067a4fe8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 00:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749335040001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273305111395041280,"note":"Value kept but may cause issues"} 
[2026-04-17 00:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6093581429887219712,"note":"Value kept but may cause issues"} 
[2026-04-17 00:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776364606000,"timestamp_ms":1776364606000,"timestamp_seconds":1776364606,"priority":1,"record_length":96,"hex_timestamp":"0000019d9794d230"} 
[2026-04-17 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-04-17 00:08: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-04-17 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 00:08: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-04-17 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-04-17 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-04-17 00:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749335040001,"66":27343,"155":206,"80":60928,"24":17,"16":273305111395041280,"45":6093581429887219712},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-04-17 00:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749335040001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:08:33] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-17 00:08:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-17 00:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273305111395041280,"km_value":273305111395041.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6093581429887219712,"description":"Unknown IO ID 45"} 
[2026-04-17 00:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749335040001,"power":27343,"unknown_155":206,"unknown_80":60928,"ignition":17,"odometer":null,"unknown_45":6093581429887219712}} 
[2026-04-17 00:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":46192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:08:33] local.INFO: GPS data processed {"connection_id":46192,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:08:33] local.INFO: Acknowledgment sent {"connection_id":46192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:08:52] local.INFO: TCP Data received {"connection_id":45377,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:08:52] local.INFO: Processing buffer {"connection_id":45377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:08:52] local.INFO: IMEI packet received {"connection_id":45377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":45377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:08:56] local.INFO: TCP Data received {"connection_id":45377,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45377,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:08:56] local.INFO: Processing buffer {"connection_id":45377,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:08:56] local.INFO: IMEI packet received {"connection_id":45377,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":45377,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:08:57] local.INFO: TCP Data received {"connection_id":45377,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9794d230012d546e80067a4fe8004801062e..."} 
[2026-04-17 00:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9794d230012d546e80067a4fe8004801062e..."} 
[2026-04-17 00:08:57] local.INFO: Processing buffer {"connection_id":45377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9794d230012d546e80067a4fe8004801062e..."} 
[2026-04-17 00:08:57] local.INFO: Packet analysis {"connection_id":45377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9794"} 
[2026-04-17 00:08:57] local.INFO: Extracted packet for processing {"connection_id":45377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9794"} 
[2026-04-17 00:08:57] local.INFO: GPS Element Parsed {"raw_longitude":760508032,"raw_latitude":108679144,"longitude_deg":76.0508032,"latitude_deg":10.8679144,"altitude":72,"angle":262,"satellites":46,"speed":17,"hex_longitude":"2d546e80","hex_latitude":"067a4fe8","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749339136001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273305111395041280,"note":"Value kept but may cause issues"} 
[2026-04-17 00:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6083940911934334976,"note":"Value kept but may cause issues"} 
[2026-04-17 00:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776364606000,"timestamp_ms":1776364606000,"timestamp_seconds":1776364606,"priority":1,"record_length":96,"hex_timestamp":"0000019d9794d230"} 
[2026-04-17 00:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00: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-04-17 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 00:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749339136001,"66":27343,"155":206,"80":60928,"24":17,"16":273305111395041280,"45":6083940911934334976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-04-17 00:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749339136001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:08:57] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-17 00:08:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-17 00:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273305111395041280,"km_value":273305111395041.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6083940911934334976,"description":"Unknown IO ID 45"} 
[2026-04-17 00:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749339136001,"power":27343,"unknown_155":206,"unknown_80":60928,"ignition":17,"odometer":null,"unknown_45":6083940911934334976}} 
[2026-04-17 00:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":45377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:08:57] local.INFO: GPS data processed {"connection_id":45377,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:08:57] local.INFO: Acknowledgment sent {"connection_id":45377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:09:06] local.INFO: TCP Data received {"connection_id":45443,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:09:06] local.INFO: Processing buffer {"connection_id":45443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:09:06] local.INFO: IMEI packet received {"connection_id":45443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":45443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:09:11] local.INFO: TCP Data received {"connection_id":45443,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:09:11] local.INFO: Processing buffer {"connection_id":45443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:09:11] local.INFO: IMEI packet received {"connection_id":45443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":45443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:09:13] local.INFO: TCP Data received {"connection_id":45443,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:09:13] local.INFO: Processing buffer {"connection_id":45443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:09:13] local.INFO: Packet analysis {"connection_id":45443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:09:13] local.INFO: Extracted packet for processing {"connection_id":45443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:09:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749225728001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:09:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776364464000,"timestamp_ms":1776364464000,"timestamp_seconds":1776364464,"priority":1,"record_length":96,"hex_timestamp":"0000019d9792a780"} 
[2026-04-17 00:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:09:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749225728001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749225728001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:09:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:09:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749225728001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":45443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18186,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:09:13] local.INFO: GPS data processed {"connection_id":45443,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:09:13] local.INFO: Acknowledgment sent {"connection_id":45443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:09:28] local.INFO: TCP Data received {"connection_id":45377,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d97951c68012d544a40067a4e68004d010d2e..."} 
[2026-04-17 00:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97951c68012d544a40067a4e68004d010d2e..."} 
[2026-04-17 00:09:28] local.INFO: Processing buffer {"connection_id":45377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97951c68012d544a40067a4e68004d010d2e..."} 
[2026-04-17 00:09:28] local.INFO: Packet analysis {"connection_id":45377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9795"} 
[2026-04-17 00:09:28] local.INFO: Extracted packet for processing {"connection_id":45377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9795"} 
[2026-04-17 00:09:28] local.INFO: GPS Element Parsed {"raw_longitude":760498752,"raw_latitude":108678760,"longitude_deg":76.0498752,"latitude_deg":10.867876,"altitude":77,"angle":269,"satellites":46,"speed":20,"hex_longitude":"2d544a40","hex_latitude":"067a4e68","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749339136001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273305558071640064,"note":"Value kept but may cause issues"} 
[2026-04-17 00:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6083940911934334976,"note":"Value kept but may cause issues"} 
[2026-04-17 00:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,155,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776364625000,"timestamp_ms":1776364625000,"timestamp_seconds":1776364625,"priority":1,"record_length":96,"hex_timestamp":"0000019d97951c68"} 
[2026-04-17 00:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:09: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-04-17 00:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 00:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45377,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749339136001,"66":27397,"155":206,"80":60928,"24":20,"16":273305558071640064,"45":6083940911934334976},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,80,24,16,45]} 
[2026-04-17 00:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749339136001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:09:28] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-17 00:09:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-17 00:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273305558071640064,"km_value":273305558071640.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6083940911934334976,"description":"Unknown IO ID 45"} 
[2026-04-17 00:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749339136001,"power":27397,"unknown_155":206,"unknown_80":60928,"ignition":20,"odometer":null,"unknown_45":6083940911934334976}} 
[2026-04-17 00:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":45377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:09:28] local.INFO: GPS data processed {"connection_id":45377,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:09:28] local.INFO: Acknowledgment sent {"connection_id":45377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:09:44] local.INFO: TCP Data received {"connection_id":45443,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:09:44] local.INFO: Processing buffer {"connection_id":45443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9792a780012cdf4ec0073240700013006733..."} 
[2026-04-17 00:09:44] local.INFO: Packet analysis {"connection_id":45443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:09:44] local.INFO: Extracted packet for processing {"connection_id":45443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9792"} 
[2026-04-17 00:09:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749225728001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:09:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776364464000,"timestamp_ms":1776364464000,"timestamp_seconds":1776364464,"priority":1,"record_length":96,"hex_timestamp":"0000019d9792a780"} 
[2026-04-17 00:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:09:44] 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-04-17 00:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:09:44] 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-04-17 00:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749225728001,"66":25647,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749225728001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:09:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:09:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749225728001,"power":25647,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":45443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:09:44] local.INFO: GPS data processed {"connection_id":45443,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:09:44] local.INFO: Acknowledgment sent {"connection_id":45443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:09:52] local.INFO: TCP Data received {"connection_id":46194,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:09:52] local.INFO: Processing buffer {"connection_id":46194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:09:52] local.INFO: IMEI packet received {"connection_id":46194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":46194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:09:53] local.INFO: TCP Data received {"connection_id":46194,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:09:53] local.INFO: Processing buffer {"connection_id":46194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:09:53] local.INFO: IMEI packet received {"connection_id":46194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":46194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:09:57] local.INFO: TCP Data received {"connection_id":46194,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:09:57] local.INFO: Processing buffer {"connection_id":46194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:09:57] local.INFO: IMEI packet received {"connection_id":46194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":46194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:09:59] local.INFO: TCP Data received {"connection_id":46194,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9796c630012d52fcc0067a2d70005900e135..."} 
[2026-04-17 00:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9796c630012d52fcc0067a2d70005900e135..."} 
[2026-04-17 00:09:59] local.INFO: Processing buffer {"connection_id":46194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9796c630012d52fcc0067a2d70005900e135..."} 
[2026-04-17 00:09:59] local.INFO: Packet analysis {"connection_id":46194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9796"} 
[2026-04-17 00:09:59] local.INFO: Extracted packet for processing {"connection_id":46194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9796"} 
[2026-04-17 00:09:59] local.INFO: GPS Element Parsed {"raw_longitude":760413376,"raw_latitude":108670320,"longitude_deg":76.0413376,"latitude_deg":10.867032,"altitude":89,"angle":225,"satellites":53,"speed":51,"hex_longitude":"2d52fcc0","hex_latitude":"067a2d70","is_valid_coordinates":true} 
[2026-04-17 00:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749370112001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273309784319459328,"note":"Value kept but may cause issues"} 
[2026-04-17 00:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5987465363666022400,"note":"Value kept but may cause issues"} 
[2026-04-17 00:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776364734000,"timestamp_ms":1776364734000,"timestamp_seconds":1776364734,"priority":1,"record_length":96,"hex_timestamp":"0000019d9796c630"} 
[2026-04-17 00:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 00:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749370112001,"66":27343,"51":206,"80":60928,"24":51,"16":273309784319459328,"45":5987465363666022400},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,80,24,16,45]} 
[2026-04-17 00:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749370112001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:09:59] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-04-17 00:09:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":60928,"description":"Unknown IO ID 80"} 
[2026-04-17 00:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273309784319459328,"km_value":273309784319459.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5987465363666022400,"description":"Unknown IO ID 45"} 
[2026-04-17 00:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749370112001,"power":27343,"unknown_51":206,"unknown_80":60928,"ignition":51,"odometer":null,"unknown_45":5987465363666022400}} 
[2026-04-17 00:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":46194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:09:59] local.INFO: GPS data processed {"connection_id":46194,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:09:59] local.INFO: Acknowledgment sent {"connection_id":46194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:10:06] local.INFO: TCP Data received {"connection_id":45640,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:10:06] local.INFO: Processing buffer {"connection_id":45640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:10:06] local.INFO: IMEI packet received {"connection_id":45640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":45640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:10:11] local.INFO: TCP Data received {"connection_id":45640,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45640,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:10:11] local.INFO: Processing buffer {"connection_id":45640,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:10:11] local.INFO: IMEI packet received {"connection_id":45640,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":45640,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:10:13] local.INFO: TCP Data received {"connection_id":45640,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:10:13] local.INFO: Processing buffer {"connection_id":45640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:10:13] local.INFO: Packet analysis {"connection_id":45640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:10:13] local.INFO: Extracted packet for processing {"connection_id":45640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:10:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749302784001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:10:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:10:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776364765000,"timestamp_ms":1776364765000,"timestamp_seconds":1776364765,"priority":1,"record_length":96,"hex_timestamp":"0000019d97973f48"} 
[2026-04-17 00:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:10:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749302784001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749302784001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:10:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:10:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749302784001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":45640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18190,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:10:13] local.INFO: GPS data processed {"connection_id":45640,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:10:13] local.INFO: Acknowledgment sent {"connection_id":45640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:10:44] local.INFO: TCP Data received {"connection_id":45640,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:10:44] local.INFO: Processing buffer {"connection_id":45640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:10:44] local.INFO: Packet analysis {"connection_id":45640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:10:44] local.INFO: Extracted packet for processing {"connection_id":45640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:10:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749302784001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:10:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776364765000,"timestamp_ms":1776364765000,"timestamp_seconds":1776364765,"priority":1,"record_length":96,"hex_timestamp":"0000019d97973f48"} 
[2026-04-17 00:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:10:44] 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-04-17 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:10:44] 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-04-17 00: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-04-17 00:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45640,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749302784001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749302784001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:10:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:10:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749302784001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":45640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:10:44] local.INFO: GPS data processed {"connection_id":45640,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:10:44] local.INFO: Acknowledgment sent {"connection_id":45640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:11:11] local.INFO: TCP Data received {"connection_id":45444,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:11:11] local.INFO: Processing buffer {"connection_id":45444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:11:11] local.INFO: IMEI packet received {"connection_id":45444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":45444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:11:16] local.INFO: TCP Data received {"connection_id":45444,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:11:16] local.INFO: Processing buffer {"connection_id":45444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:11:16] local.INFO: IMEI packet received {"connection_id":45444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:11:16] local.INFO: IMEI acknowledgment sent {"connection_id":45444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:11:17] local.INFO: TCP Data received {"connection_id":45444,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:11:17] local.INFO: Processing buffer {"connection_id":45444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:11:17] local.INFO: Packet analysis {"connection_id":45444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:11:17] local.INFO: Extracted packet for processing {"connection_id":45444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:11:17] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749302784001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:11:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776364765000,"timestamp_ms":1776364765000,"timestamp_seconds":1776364765,"priority":1,"record_length":96,"hex_timestamp":"0000019d97973f48"} 
[2026-04-17 00:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749302784001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749302784001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:11:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:11:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749302784001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:11:18] local.INFO: DEBUG: GPS processor result {"connection_id":45444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18192,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:11:18] local.INFO: GPS data processed {"connection_id":45444,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:11:18] local.INFO: Acknowledgment sent {"connection_id":45444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:11:22] local.INFO: TCP Data received {"connection_id":45444,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:11:22] local.INFO: Processing buffer {"connection_id":45444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:11:22] local.INFO: Packet analysis {"connection_id":45444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:11:22] local.INFO: Extracted packet for processing {"connection_id":45444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:11:22] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749302784001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:11:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776364765000,"timestamp_ms":1776364765000,"timestamp_seconds":1776364765,"priority":1,"record_length":96,"hex_timestamp":"0000019d97973f48"} 
[2026-04-17 00:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:11:22] 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-04-17 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:11:22] 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-04-17 00: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-04-17 00:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749302784001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749302784001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:11:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:11:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749302784001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:11:22] local.INFO: DEBUG: GPS processor result {"connection_id":45444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18193,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:11:22] local.INFO: GPS data processed {"connection_id":45444,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:11:22] local.INFO: Acknowledgment sent {"connection_id":45444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:12:06] local.INFO: TCP Data received {"connection_id":45378,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:12:06] local.INFO: Processing buffer {"connection_id":45378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:12:06] local.INFO: IMEI packet received {"connection_id":45378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":45378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:12:07] local.INFO: TCP Data received {"connection_id":46195,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:12:07] local.INFO: Processing buffer {"connection_id":46195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:12:07] local.INFO: IMEI packet received {"connection_id":46195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":46195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:12:07] local.INFO: TCP Data received {"connection_id":46195,"ip":"42.106.6.28","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 00:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46195,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 00:12:07] local.INFO: Processing buffer {"connection_id":46195,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 00:12:07] local.INFO: IMEI packet received {"connection_id":46195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:12:07] local.INFO: IMEI acknowledgment sent {"connection_id":46195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:12:11] local.INFO: TCP Data received {"connection_id":45378,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:12:11] local.INFO: Processing buffer {"connection_id":45378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:12:11] local.INFO: IMEI packet received {"connection_id":45378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":45378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:12:12] local.INFO: TCP Data received {"connection_id":46195,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:12:12] local.INFO: Processing buffer {"connection_id":46195,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 00:12:12] local.INFO: IMEI packet received {"connection_id":46195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:12:12] local.INFO: IMEI acknowledgment sent {"connection_id":46195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:12:13] local.INFO: TCP Data received {"connection_id":45378,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:12:13] local.INFO: Processing buffer {"connection_id":45378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:12:13] local.INFO: Packet analysis {"connection_id":45378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:12:13] local.INFO: Extracted packet for processing {"connection_id":45378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:12:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749302784001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:12:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776364765000,"timestamp_ms":1776364765000,"timestamp_seconds":1776364765,"priority":1,"record_length":96,"hex_timestamp":"0000019d97973f48"} 
[2026-04-17 00:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:12:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:12:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749302784001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749302784001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:12:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:12:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749302784001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":45378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18194,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:12:13] local.INFO: GPS data processed {"connection_id":45378,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:12:13] local.INFO: Acknowledgment sent {"connection_id":45378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:12:14] local.INFO: TCP Data received {"connection_id":46195,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d97990850012d51d5c00677a0b0002b00e62c..."} 
[2026-04-17 00:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97990850012d51d5c00677a0b0002b00e62c..."} 
[2026-04-17 00:12:14] local.INFO: Processing buffer {"connection_id":46195,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019d97..."} 
[2026-04-17 00:12:14] local.INFO: IMEI packet received {"connection_id":46195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:12:14] local.INFO: IMEI acknowledgment sent {"connection_id":46195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:12:16] local.INFO: TCP Data received {"connection_id":46195,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d979923a8012d51b9c006778548002600d92d..."} 
[2026-04-17 00:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979923a8012d51b9c006778548002600d92d..."} 
[2026-04-17 00:12:16] local.INFO: Processing buffer {"connection_id":46195,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019d97990850012d51d5c00677a0b0002b00e62c..."} 
[2026-04-17 00:12:16] local.INFO: Packet analysis {"connection_id":46195,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d9799"} 
[2026-04-17 00:12:16] local.INFO: Extracted packet for processing {"connection_id":46195,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9799"} 
[2026-04-17 00:12:16] local.INFO: GPS Element Parsed {"raw_longitude":760337856,"raw_latitude":108503216,"longitude_deg":76.0337856,"latitude_deg":10.8503216,"altitude":43,"angle":230,"satellites":44,"speed":62,"hex_longitude":"2d51d5c0","hex_latitude":"0677a0b0","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749408256001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273319001319276544,"note":"Value kept but may cause issues"} 
[2026-04-17 00:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5904993195447031808,"note":"Value kept but may cause issues"} 
[2026-04-17 00:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,18,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776364882000,"timestamp_ms":1776364882000,"timestamp_seconds":1776364882,"priority":1,"record_length":96,"hex_timestamp":"0000019d97990850"} 
[2026-04-17 00:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:12: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-04-17 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 00:12:16] 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-04-17 00: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-04-17 00:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749408256001,"66":27397,"18":206,"80":60160,"24":62,"16":273319001319276544,"45":5904993195447031808},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,18,80,24,16,45]} 
[2026-04-17 00:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749408256001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:12:16] local.INFO: Unknown IO ID detected {"io_id":18,"value":206,"description":"Unknown IO ID 18"} 
[2026-04-17 00:12:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273319001319276544,"km_value":273319001319276.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5904993195447031808,"description":"Unknown IO ID 45"} 
[2026-04-17 00:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749408256001,"power":27397,"unknown_18":206,"unknown_80":60160,"ignition":62,"odometer":null,"unknown_45":5904993195447031808}} 
[2026-04-17 00:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":46195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:12:16] local.INFO: GPS data processed {"connection_id":46195,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:12:16] local.INFO: Acknowledgment sent {"connection_id":46195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:12:16] local.INFO: Packet analysis {"connection_id":46195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9799"} 
[2026-04-17 00:12:16] local.INFO: Extracted packet for processing {"connection_id":46195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9799"} 
[2026-04-17 00:12:16] local.INFO: GPS Element Parsed {"raw_longitude":760330688,"raw_latitude":108496200,"longitude_deg":76.0330688,"latitude_deg":10.84962,"altitude":38,"angle":217,"satellites":45,"speed":56,"hex_longitude":"2d51b9c0","hex_latitude":"06778548","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:12:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749409792001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:12:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273319486650580992,"note":"Value kept but may cause issues"} 
[2026-04-17 00:12:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5896830421120888832,"note":"Value kept but may cause issues"} 
[2026-04-17 00:12:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:12:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776364889000,"timestamp_ms":1776364889000,"timestamp_seconds":1776364889,"priority":1,"record_length":96,"hex_timestamp":"0000019d979923a8"} 
[2026-04-17 00:12:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:12: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-04-17 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 00:12:16] 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-04-17 00: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-04-17 00:12:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:12:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:12:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:12:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:12:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:12:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:12:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:12:16] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:12:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749409792001,"66":27321,"147":206,"80":60160,"24":56,"16":273319486650580992,"45":5896830421120888832},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-04-17 00:12:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:12:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:12:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749409792001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:12:16] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-04-17 00:12:16] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:12:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273319486650580992,"km_value":273319486650581.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:12:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":5896830421120888832,"description":"Unknown IO ID 45"} 
[2026-04-17 00:12:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749409792001,"power":27321,"unknown_147":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5896830421120888832}} 
[2026-04-17 00:12:16] local.INFO: DEBUG: GPS processor result {"connection_id":46195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:12:16] local.INFO: GPS data processed {"connection_id":46195,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:12:16] local.INFO: Acknowledgment sent {"connection_id":46195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:12:44] local.INFO: TCP Data received {"connection_id":45378,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:12:44] local.INFO: Processing buffer {"connection_id":45378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:12:44] local.INFO: Packet analysis {"connection_id":45378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:12:44] local.INFO: Extracted packet for processing {"connection_id":45378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:12:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749302784001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:12:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:12:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776364765000,"timestamp_ms":1776364765000,"timestamp_seconds":1776364765,"priority":1,"record_length":96,"hex_timestamp":"0000019d97973f48"} 
[2026-04-17 00:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:12:44] 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-04-17 00: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":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:12:44] 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-04-17 00: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-04-17 00:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749302784001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749302784001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:12:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:12:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749302784001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":45378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18197,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:12:44] local.INFO: GPS data processed {"connection_id":45378,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:12:44] local.INFO: Acknowledgment sent {"connection_id":45378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:12:52] local.INFO: TCP Data received {"connection_id":45445,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:12:52] local.INFO: Processing buffer {"connection_id":45445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:12:52] local.INFO: IMEI packet received {"connection_id":45445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":45445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:12:57] local.INFO: TCP Data received {"connection_id":45445,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:12:57] local.INFO: Processing buffer {"connection_id":45445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:12:57] local.INFO: IMEI packet received {"connection_id":45445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":45445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:12:58] local.INFO: TCP Data received {"connection_id":45445,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d979923a8012d51b9c006778548002600d92d..."} 
[2026-04-17 00:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979923a8012d51b9c006778548002600d92d..."} 
[2026-04-17 00:12:58] local.INFO: Processing buffer {"connection_id":45445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979923a8012d51b9c006778548002600d92d..."} 
[2026-04-17 00:12:58] local.INFO: Packet analysis {"connection_id":45445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9799"} 
[2026-04-17 00:12:58] local.INFO: Extracted packet for processing {"connection_id":45445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9799"} 
[2026-04-17 00:12:58] local.INFO: GPS Element Parsed {"raw_longitude":760330688,"raw_latitude":108496200,"longitude_deg":76.0330688,"latitude_deg":10.84962,"altitude":38,"angle":217,"satellites":45,"speed":56,"hex_longitude":"2d51b9c0","hex_latitude":"06778548","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749411584001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273319486650580992,"note":"Value kept but may cause issues"} 
[2026-04-17 00:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5888949121771194368,"note":"Value kept but may cause issues"} 
[2026-04-17 00:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776364889000,"timestamp_ms":1776364889000,"timestamp_seconds":1776364889,"priority":1,"record_length":96,"hex_timestamp":"0000019d979923a8"} 
[2026-04-17 00:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:12: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-04-17 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 00:12:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749411584001,"66":27321,"147":206,"80":60160,"24":56,"16":273319486650580992,"45":5888949121771194368},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-04-17 00:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749411584001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:12:58] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-04-17 00:12:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273319486650580992,"km_value":273319486650581.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5888949121771194368,"description":"Unknown IO ID 45"} 
[2026-04-17 00:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749411584001,"power":27321,"unknown_147":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5888949121771194368}} 
[2026-04-17 00:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":45445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:12:58] local.INFO: GPS data processed {"connection_id":45445,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:12:58] local.INFO: Acknowledgment sent {"connection_id":45445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:13:06] local.INFO: TCP Data received {"connection_id":45446,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:13:06] local.INFO: Processing buffer {"connection_id":45446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:13:06] local.INFO: IMEI packet received {"connection_id":45446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":45446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:13:11] local.INFO: TCP Data received {"connection_id":45446,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:13:11] local.INFO: Processing buffer {"connection_id":45446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:13:11] local.INFO: IMEI packet received {"connection_id":45446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":45446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:13:13] local.INFO: TCP Data received {"connection_id":45446,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:13:13] local.INFO: Processing buffer {"connection_id":45446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:13:13] local.INFO: Packet analysis {"connection_id":45446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:13:13] local.INFO: Extracted packet for processing {"connection_id":45446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:13:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749302784001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:13:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:13:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776364765000,"timestamp_ms":1776364765000,"timestamp_seconds":1776364765,"priority":1,"record_length":96,"hex_timestamp":"0000019d97973f48"} 
[2026-04-17 00:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749302784001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749302784001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:13:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:13:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749302784001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":45446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18199,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:13:13] local.INFO: GPS data processed {"connection_id":45446,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:13:13] local.INFO: Acknowledgment sent {"connection_id":45446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:13:29] local.INFO: TCP Data received {"connection_id":45445,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d97993f00012d51a68006776700002100ce30..."} 
[2026-04-17 00:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97993f00012d51a68006776700002100ce30..."} 
[2026-04-17 00:13:29] local.INFO: Processing buffer {"connection_id":45445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97993f00012d51a68006776700002100ce30..."} 
[2026-04-17 00:13:29] local.INFO: Packet analysis {"connection_id":45445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9799"} 
[2026-04-17 00:13:29] local.INFO: Extracted packet for processing {"connection_id":45445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9799"} 
[2026-04-17 00:13:29] local.INFO: GPS Element Parsed {"raw_longitude":760325760,"raw_latitude":108488448,"longitude_deg":76.032576,"latitude_deg":10.8488448,"altitude":33,"angle":206,"satellites":48,"speed":47,"hex_longitude":"2d51a680","hex_latitude":"06776700","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749411584001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273319929032212480,"note":"Value kept but may cause issues"} 
[2026-04-17 00:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5888949121771194368,"note":"Value kept but may cause issues"} 
[2026-04-17 00:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776364896000,"timestamp_ms":1776364896000,"timestamp_seconds":1776364896,"priority":1,"record_length":96,"hex_timestamp":"0000019d97993f00"} 
[2026-04-17 00:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:13: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-04-17 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 00:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:13: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-04-17 00:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749411584001,"66":27169,"147":206,"80":60160,"24":47,"16":273319929032212480,"45":5888949121771194368},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-04-17 00:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749411584001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:13:29] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-04-17 00:13:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273319929032212480,"km_value":273319929032212.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5888949121771194368,"description":"Unknown IO ID 45"} 
[2026-04-17 00:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749411584001,"power":27169,"unknown_147":206,"unknown_80":60160,"ignition":47,"odometer":null,"unknown_45":5888949121771194368}} 
[2026-04-17 00:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":45445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:13:29] local.INFO: GPS data processed {"connection_id":45445,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:13:29] local.INFO: Acknowledgment sent {"connection_id":45445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:13:44] local.INFO: TCP Data received {"connection_id":45446,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:13:44] local.INFO: Processing buffer {"connection_id":45446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:13:44] local.INFO: Packet analysis {"connection_id":45446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:13:44] local.INFO: Extracted packet for processing {"connection_id":45446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:13:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749302784001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:13:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:13:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776364765000,"timestamp_ms":1776364765000,"timestamp_seconds":1776364765,"priority":1,"record_length":96,"hex_timestamp":"0000019d97973f48"} 
[2026-04-17 00:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:13:44] 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-04-17 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:13:44] 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-04-17 00: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-04-17 00:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749302784001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749302784001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:13:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:13:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749302784001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":45446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18201,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:13:44] local.INFO: GPS data processed {"connection_id":45446,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:13:44] local.INFO: Acknowledgment sent {"connection_id":45446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:13:52] local.INFO: TCP Data received {"connection_id":45379,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:13:52] local.INFO: Processing buffer {"connection_id":45379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:13:52] local.INFO: IMEI packet received {"connection_id":45379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":45379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:13:53] local.INFO: TCP Data received {"connection_id":45379,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:13:53] local.INFO: Processing buffer {"connection_id":45379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:13:53] local.INFO: IMEI packet received {"connection_id":45379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":45379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:13:57] local.INFO: TCP Data received {"connection_id":45379,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:13:57] local.INFO: Processing buffer {"connection_id":45379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:13:57] local.INFO: IMEI packet received {"connection_id":45379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":45379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:13:58] local.INFO: TCP Data received {"connection_id":45379,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d97993f00012d51a68006776700002100ce30..."} 
[2026-04-17 00:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97993f00012d51a68006776700002100ce30..."} 
[2026-04-17 00:13:58] local.INFO: Processing buffer {"connection_id":45379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97993f00012d51a68006776700002100ce30..."} 
[2026-04-17 00:13:58] local.INFO: Packet analysis {"connection_id":45379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9799"} 
[2026-04-17 00:13:58] local.INFO: Extracted packet for processing {"connection_id":45379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9799"} 
[2026-04-17 00:13:58] local.INFO: GPS Element Parsed {"raw_longitude":760325760,"raw_latitude":108488448,"longitude_deg":76.032576,"latitude_deg":10.8488448,"altitude":33,"angle":206,"satellites":48,"speed":47,"hex_longitude":"2d51a680","hex_latitude":"06776700","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749413376001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273319929032212480,"note":"Value kept but may cause issues"} 
[2026-04-17 00:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5883530728467529728,"note":"Value kept but may cause issues"} 
[2026-04-17 00:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776364896000,"timestamp_ms":1776364896000,"timestamp_seconds":1776364896,"priority":1,"record_length":96,"hex_timestamp":"0000019d97993f00"} 
[2026-04-17 00:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:13: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-04-17 00: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-04-17 00:13:58] 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-04-17 00: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-04-17 00:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749413376001,"66":27169,"147":206,"80":60160,"24":47,"16":273319929032212480,"45":5883530728467529728},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,80,24,16,45]} 
[2026-04-17 00:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749413376001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:13:58] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-04-17 00:13:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273319929032212480,"km_value":273319929032212.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5883530728467529728,"description":"Unknown IO ID 45"} 
[2026-04-17 00:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749413376001,"power":27169,"unknown_147":206,"unknown_80":60160,"ignition":47,"odometer":null,"unknown_45":5883530728467529728}} 
[2026-04-17 00:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":45379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:13:58] local.INFO: GPS data processed {"connection_id":45379,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:13:58] local.INFO: Acknowledgment sent {"connection_id":45379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:14:06] local.INFO: TCP Data received {"connection_id":46196,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:14:06] local.INFO: Processing buffer {"connection_id":46196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:14:06] local.INFO: IMEI packet received {"connection_id":46196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":46196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:14:11] local.INFO: TCP Data received {"connection_id":46196,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46196,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:14:11] local.INFO: Processing buffer {"connection_id":46196,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:14:11] local.INFO: IMEI packet received {"connection_id":46196,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":46196,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:14:13] local.INFO: TCP Data received {"connection_id":46196,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:14:13] local.INFO: Processing buffer {"connection_id":46196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:14:13] local.INFO: Packet analysis {"connection_id":46196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:14:13] local.INFO: Extracted packet for processing {"connection_id":46196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:14:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749302784001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:14:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:14:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776364765000,"timestamp_ms":1776364765000,"timestamp_seconds":1776364765,"priority":1,"record_length":96,"hex_timestamp":"0000019d97973f48"} 
[2026-04-17 00:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:14:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749302784001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749302784001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:14:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:14:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749302784001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":46196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18203,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:14:13] local.INFO: GPS data processed {"connection_id":46196,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:14:13] local.INFO: Acknowledgment sent {"connection_id":46196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:14:29] local.INFO: TCP Data received {"connection_id":45379,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d979b0bf0012d50a940067626480016010d33..."} 
[2026-04-17 00:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979b0bf0012d50a940067626480016010d33..."} 
[2026-04-17 00:14:29] local.INFO: Processing buffer {"connection_id":45379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979b0bf0012d50a940067626480016010d33..."} 
[2026-04-17 00:14:29] local.INFO: Packet analysis {"connection_id":45379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:14:29] local.INFO: Extracted packet for processing {"connection_id":45379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:14:29] local.INFO: GPS Element Parsed {"raw_longitude":760260928,"raw_latitude":108406344,"longitude_deg":76.0260928,"latitude_deg":10.8406344,"altitude":22,"angle":269,"satellites":51,"speed":53,"hex_longitude":"2d50a940","hex_latitude":"06762648","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749441792001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273325396525580288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5822450658500329472,"note":"Value kept but may cause issues"} 
[2026-04-17 00:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776365014000,"timestamp_ms":1776365014000,"timestamp_seconds":1776365014,"priority":1,"record_length":96,"hex_timestamp":"0000019d979b0bf0"} 
[2026-04-17 00:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:14: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-04-17 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 00:14: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-04-17 00: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-04-17 00:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:14: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-04-17 00:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749441792001,"66":27332,"167":206,"80":60160,"24":53,"16":273325396525580288,"45":5822450658500329472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-04-17 00:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749441792001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:14:29] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-17 00:14:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273325396525580288,"km_value":273325396525580.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5822450658500329472,"description":"Unknown IO ID 45"} 
[2026-04-17 00:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749441792001,"power":27332,"unknown_167":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5822450658500329472}} 
[2026-04-17 00:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":45379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:14:29] local.INFO: GPS data processed {"connection_id":45379,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:14:29] local.INFO: Acknowledgment sent {"connection_id":45379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:14:44] local.INFO: TCP Data received {"connection_id":46196,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:14:44] local.INFO: Processing buffer {"connection_id":46196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97973f48012cdf4ec0073240700013006733..."} 
[2026-04-17 00:14:44] local.INFO: Packet analysis {"connection_id":46196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:14:44] local.INFO: Extracted packet for processing {"connection_id":46196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9797"} 
[2026-04-17 00:14:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749302784001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:14:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:14:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776364765000,"timestamp_ms":1776364765000,"timestamp_seconds":1776364765,"priority":1,"record_length":96,"hex_timestamp":"0000019d97973f48"} 
[2026-04-17 00:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:14:44] 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-04-17 00: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 00:14:44] 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-04-17 00: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-04-17 00:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46196,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749302784001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749302784001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:14:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:14:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749302784001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":46196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18205,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:14:44] local.INFO: GPS data processed {"connection_id":46196,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:14:44] local.INFO: Acknowledgment sent {"connection_id":46196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:15:06] local.INFO: TCP Data received {"connection_id":45641,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:15:06] local.INFO: Processing buffer {"connection_id":45641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:15:06] local.INFO: IMEI packet received {"connection_id":45641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":45641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:15:10] local.INFO: TCP Data received {"connection_id":46197,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:15:10] local.INFO: Processing buffer {"connection_id":46197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:15:10] local.INFO: IMEI packet received {"connection_id":46197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":46197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:15:11] local.INFO: TCP Data received {"connection_id":45641,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:15:11] local.INFO: Processing buffer {"connection_id":45641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:15:11] local.INFO: IMEI packet received {"connection_id":45641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":45641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:15:13] local.INFO: TCP Data received {"connection_id":45641,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:15:13] local.INFO: Processing buffer {"connection_id":45641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:15:13] local.INFO: Packet analysis {"connection_id":45641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:15:13] local.INFO: Extracted packet for processing {"connection_id":45641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:15:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749379840001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:15:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:15:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776365066000,"timestamp_ms":1776365066000,"timestamp_seconds":1776365066,"priority":1,"record_length":96,"hex_timestamp":"0000019d979bd710"} 
[2026-04-17 00:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:15:13] 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-04-17 00:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749379840001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749379840001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:15:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:15:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749379840001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":45641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18206,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:15:13] local.INFO: GPS data processed {"connection_id":45641,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:15:13] local.INFO: Acknowledgment sent {"connection_id":45641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:15:15] local.INFO: TCP Data received {"connection_id":46197,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:15:15] local.INFO: Processing buffer {"connection_id":46197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:15:15] local.INFO: IMEI packet received {"connection_id":46197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":46197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:15:18] local.INFO: TCP Data received {"connection_id":46197,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:15:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46197,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:15:18] local.INFO: Processing buffer {"connection_id":46197,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:15:18] local.INFO: IMEI packet received {"connection_id":46197,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:15:18] local.INFO: IMEI acknowledgment sent {"connection_id":46197,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:15:19] local.INFO: TCP Data received {"connection_id":46197,"ip":"42.106.6.28","data_length":1348,"data_hex":"000000000000030f8e0a0000019d979b2748012d508300067626d00015010e34..."} 
[2026-04-17 00:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46197,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019d979b2748012d508300067626d00015010e34..."} 
[2026-04-17 00:15:19] local.INFO: Processing buffer {"connection_id":46197,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019d979b2748012d508300067626d00015010e34..."} 
[2026-04-17 00:15:19] local.INFO: Packet analysis {"connection_id":46197,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:15:19] local.INFO: Extracted packet for processing {"connection_id":46197,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:15:19] local.INFO: GPS Element Parsed {"raw_longitude":760251136,"raw_latitude":108406480,"longitude_deg":76.0251136,"latitude_deg":10.840648,"altitude":21,"angle":270,"satellites":52,"speed":55,"hex_longitude":"2d508300","hex_latitude":"067626d0","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:15:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749443584001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273325860382048256,"note":"Value kept but may cause issues"} 
[2026-04-17 00:15:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5812247190594537472,"note":"Value kept but may cause issues"} 
[2026-04-17 00:15:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776365021000,"timestamp_ms":1776365021000,"timestamp_seconds":1776365021,"priority":1,"record_length":96,"hex_timestamp":"0000019d979b2748"} 
[2026-04-17 00:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:15:19] 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-04-17 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 00:15:19] 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-04-17 00: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-04-17 00:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":46197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":46197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":46197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:15:19] 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-04-17 00:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749443584001,"66":27376,"167":206,"80":60160,"24":55,"16":273325860382048256,"45":5812247190594537472},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-04-17 00:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749443584001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:15:19] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-17 00:15:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273325860382048256,"km_value":273325860382048.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:15:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5812247190594537472,"description":"Unknown IO ID 45"} 
[2026-04-17 00:15:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749443584001,"power":27376,"unknown_167":206,"unknown_80":60160,"ignition":55,"odometer":null,"unknown_45":5812247190594537472}} 
[2026-04-17 00:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":46197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:15:19] local.INFO: GPS data processed {"connection_id":46197,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:15:19] local.INFO: Acknowledgment sent {"connection_id":46197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:15:19] local.INFO: Packet analysis {"connection_id":46197,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:15:19] local.INFO: Incomplete packet, waiting for more data {"connection_id":46197,"needed":795,"available":553} 
[2026-04-17 00:15:20] local.INFO: TCP Data received {"connection_id":46197,"ip":"42.106.6.28","data_length":242,"data_hex":"0000000000019d979a8b08012d512e8006765b60001a00d93700250000000a00..."} 
[2026-04-17 00:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46197,"packet_length":242,"packet_hex":"0000000000019d979a8b08012d512e8006765b60001a00d93700250000000a00..."} 
[2026-04-17 00:15:20] local.INFO: Processing buffer {"connection_id":46197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979b42a0012d505bc0067627000014010e36..."} 
[2026-04-17 00:15:20] local.INFO: Packet analysis {"connection_id":46197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:15:20] local.INFO: Extracted packet for processing {"connection_id":46197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:15:20] local.INFO: GPS Element Parsed {"raw_longitude":760241088,"raw_latitude":108406528,"longitude_deg":76.0241088,"latitude_deg":10.8406528,"altitude":20,"angle":270,"satellites":54,"speed":57,"hex_longitude":"2d505bc0","hex_latitude":"06762700","is_valid_coordinates":true} 
[2026-04-17 00:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749445376001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273326341418385408,"note":"Value kept but may cause issues"} 
[2026-04-17 00:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5801480772735389696,"note":"Value kept but may cause issues"} 
[2026-04-17 00:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776365028000,"timestamp_ms":1776365028000,"timestamp_seconds":1776365028,"priority":1,"record_length":96,"hex_timestamp":"0000019d979b42a0"} 
[2026-04-17 00:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:15: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-04-17 00:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 00:15:20] 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-04-17 00:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":46197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":46197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":46197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749445376001,"66":27310,"167":206,"80":60160,"24":57,"16":273326341418385408,"45":5801480772735389696},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-04-17 00:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749445376001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:15:20] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-17 00:15:20] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273326341418385408,"km_value":273326341418385.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":5801480772735389696,"description":"Unknown IO ID 45"} 
[2026-04-17 00:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749445376001,"power":27310,"unknown_167":206,"unknown_80":60160,"ignition":57,"odometer":null,"unknown_45":5801480772735389696}} 
[2026-04-17 00:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":46197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:15:20] local.INFO: GPS data processed {"connection_id":46197,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:15:20] local.INFO: Acknowledgment sent {"connection_id":46197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:15:22] local.INFO: TCP Data received {"connection_id":46197,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d979b5df8012d503380067627700013010e35..."} 
[2026-04-17 00:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979b5df8012d503380067627700013010e35..."} 
[2026-04-17 00:15:22] local.INFO: Processing buffer {"connection_id":46197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979b5df8012d503380067627700013010e35..."} 
[2026-04-17 00:15:22] local.INFO: Packet analysis {"connection_id":46197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:15:22] local.INFO: Extracted packet for processing {"connection_id":46197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:15:22] local.INFO: GPS Element Parsed {"raw_longitude":760230784,"raw_latitude":108406640,"longitude_deg":76.0230784,"latitude_deg":10.840664,"altitude":19,"angle":270,"satellites":53,"speed":58,"hex_longitude":"2d503380","hex_latitude":"06762770","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:15:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749447168001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:15:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273326831044657152,"note":"Value kept but may cause issues"} 
[2026-04-17 00:15:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5790432879899508736,"note":"Value kept but may cause issues"} 
[2026-04-17 00:15:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:15:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776365035000,"timestamp_ms":1776365035000,"timestamp_seconds":1776365035,"priority":1,"record_length":96,"hex_timestamp":"0000019d979b5df8"} 
[2026-04-17 00:15:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00: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-04-17 00: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 00:15:22] 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-04-17 00: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-04-17 00:15:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:15:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:15:22] local.INFO: Teltonika packet parsed successfully {"connection_id":46197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:15:22] local.INFO: Passing IMEI to GPS processor {"connection_id":46197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:15:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":46197,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:15:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:15:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:15:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:15:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749447168001,"66":27343,"167":206,"80":60160,"24":58,"16":273326831044657152,"45":5790432879899508736},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-04-17 00:15:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:15:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:15:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749447168001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:15:22] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-17 00:15:22] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:15:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273326831044657152,"km_value":273326831044657.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:15:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":5790432879899508736,"description":"Unknown IO ID 45"} 
[2026-04-17 00:15:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749447168001,"power":27343,"unknown_167":206,"unknown_80":60160,"ignition":58,"odometer":null,"unknown_45":5790432879899508736}} 
[2026-04-17 00:15:22] local.INFO: DEBUG: GPS processor result {"connection_id":46197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:15:22] local.INFO: GPS data processed {"connection_id":46197,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:15:22] local.INFO: Acknowledgment sent {"connection_id":46197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:15:45] local.INFO: TCP Data received {"connection_id":45641,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:15:45] local.INFO: Processing buffer {"connection_id":45641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:15:45] local.INFO: Packet analysis {"connection_id":45641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:15:45] local.INFO: Extracted packet for processing {"connection_id":45641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:15:45] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749379840001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:15:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:15:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776365066000,"timestamp_ms":1776365066000,"timestamp_seconds":1776365066,"priority":1,"record_length":96,"hex_timestamp":"0000019d979bd710"} 
[2026-04-17 00:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:15:45] 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-04-17 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:15: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-04-17 00: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-04-17 00:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749379840001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749379840001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:15:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:15:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749379840001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":45641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18210,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:15:45] local.INFO: GPS data processed {"connection_id":45641,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:15:45] local.INFO: Acknowledgment sent {"connection_id":45641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:15:51] local.INFO: TCP Data received {"connection_id":45447,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:15:51] local.INFO: Processing buffer {"connection_id":45447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:15:51] local.INFO: IMEI packet received {"connection_id":45447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":45447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:15:52] local.INFO: TCP Data received {"connection_id":45447,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:15:52] local.INFO: Processing buffer {"connection_id":45447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:15:52] local.INFO: IMEI packet received {"connection_id":45447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":45447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:15:56] local.INFO: TCP Data received {"connection_id":45447,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:15:56] local.INFO: Processing buffer {"connection_id":45447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:15:56] local.INFO: IMEI packet received {"connection_id":45447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":45447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:15:58] local.INFO: TCP Data received {"connection_id":45447,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d979b7950012d500b40067627c80012010e37..."} 
[2026-04-17 00:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979b7950012d500b40067627c80012010e37..."} 
[2026-04-17 00:15:58] local.INFO: Processing buffer {"connection_id":45447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979b7950012d500b40067627c80012010e37..."} 
[2026-04-17 00:15:58] local.INFO: Packet analysis {"connection_id":45447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:15:58] local.INFO: Extracted packet for processing {"connection_id":45447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:15:58] local.INFO: GPS Element Parsed {"raw_longitude":760220480,"raw_latitude":108406728,"longitude_deg":76.022048,"latitude_deg":10.8406728,"altitude":18,"angle":270,"satellites":55,"speed":58,"hex_longitude":"2d500b40","hex_latitude":"067627c8","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749448960001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273327320670928896,"note":"Value kept but may cause issues"} 
[2026-04-17 00:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5779103512086933504,"note":"Value kept but may cause issues"} 
[2026-04-17 00:15:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776365042000,"timestamp_ms":1776365042000,"timestamp_seconds":1776365042,"priority":1,"record_length":96,"hex_timestamp":"0000019d979b7950"} 
[2026-04-17 00:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:15: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-04-17 00:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 00:15:58] 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-04-17 00: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-04-17 00:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749448960001,"66":27365,"167":206,"80":60160,"24":58,"16":273327320670928896,"45":5779103512086933504},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-04-17 00:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749448960001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:15:58] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-17 00:15:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273327320670928896,"km_value":273327320670928.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5779103512086933504,"description":"Unknown IO ID 45"} 
[2026-04-17 00:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749448960001,"power":27365,"unknown_167":206,"unknown_80":60160,"ignition":58,"odometer":null,"unknown_45":5779103512086933504}} 
[2026-04-17 00:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":45447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:15:58] local.INFO: GPS data processed {"connection_id":45447,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:15:58] local.INFO: Acknowledgment sent {"connection_id":45447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:16:07] local.INFO: TCP Data received {"connection_id":45380,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:16:07] local.INFO: Processing buffer {"connection_id":45380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:16:07] local.INFO: IMEI packet received {"connection_id":45380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":45380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:16:11] local.INFO: TCP Data received {"connection_id":45380,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:16:11] local.INFO: Processing buffer {"connection_id":45380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:16:11] local.INFO: IMEI packet received {"connection_id":45380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":45380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:16:13] local.INFO: TCP Data received {"connection_id":45380,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:16:13] local.INFO: Processing buffer {"connection_id":45380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:16:13] local.INFO: Packet analysis {"connection_id":45380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:16:13] local.INFO: Extracted packet for processing {"connection_id":45380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:16:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749379840001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:16:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:16:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776365066000,"timestamp_ms":1776365066000,"timestamp_seconds":1776365066,"priority":1,"record_length":96,"hex_timestamp":"0000019d979bd710"} 
[2026-04-17 00:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:16:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:16:13] 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-04-17 00:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749379840001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749379840001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:16:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:16:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749379840001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":45380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18212,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:16:13] local.INFO: GPS data processed {"connection_id":45380,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:16:13] local.INFO: Acknowledgment sent {"connection_id":45380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:16:29] local.INFO: TCP Data received {"connection_id":45447,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d979ce880012d4e214006762708001301012f..."} 
[2026-04-17 00:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979ce880012d4e214006762708001301012f..."} 
[2026-04-17 00:16:29] local.INFO: Processing buffer {"connection_id":45447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979ce880012d4e214006762708001301012f..."} 
[2026-04-17 00:16:29] local.INFO: Packet analysis {"connection_id":45447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979c"} 
[2026-04-17 00:16:29] local.INFO: Extracted packet for processing {"connection_id":45447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979c"} 
[2026-04-17 00:16:29] local.INFO: GPS Element Parsed {"raw_longitude":760095040,"raw_latitude":108406536,"longitude_deg":76.009504,"latitude_deg":10.8406536,"altitude":19,"angle":257,"satellites":47,"speed":61,"hex_longitude":"2d4e2140","hex_latitude":"06762708","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749473280001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273333561258409984,"note":"Value kept but may cause issues"} 
[2026-04-17 00:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5640054873592330240,"note":"Value kept but may cause issues"} 
[2026-04-17 00:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776365136000,"timestamp_ms":1776365136000,"timestamp_seconds":1776365136,"priority":1,"record_length":96,"hex_timestamp":"0000019d979ce880"} 
[2026-04-17 00:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:16: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-04-17 00: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 00:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:16: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-04-17 00:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749473280001,"66":27517,"168":206,"80":60160,"24":61,"16":273333561258409984,"45":5640054873592330240},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-04-17 00:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749473280001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:16:29] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-17 00:16:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273333561258409984,"km_value":273333561258409.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5640054873592330240,"description":"Unknown IO ID 45"} 
[2026-04-17 00:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749473280001,"power":27517,"unknown_168":206,"unknown_80":60160,"ignition":61,"odometer":null,"unknown_45":5640054873592330240}} 
[2026-04-17 00:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":45447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:16:29] local.INFO: GPS data processed {"connection_id":45447,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:16:29] local.INFO: Acknowledgment sent {"connection_id":45447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:16:44] local.INFO: TCP Data received {"connection_id":45380,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:16:44] local.INFO: Processing buffer {"connection_id":45380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:16:44] local.INFO: Packet analysis {"connection_id":45380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:16:44] local.INFO: Extracted packet for processing {"connection_id":45380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:16:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749379840001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:16:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776365066000,"timestamp_ms":1776365066000,"timestamp_seconds":1776365066,"priority":1,"record_length":96,"hex_timestamp":"0000019d979bd710"} 
[2026-04-17 00:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:16:44] 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-04-17 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:16:44] 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-04-17 00: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-04-17 00:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749379840001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749379840001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:16:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:16:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749379840001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":45380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18214,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:16:44] local.INFO: GPS data processed {"connection_id":45380,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:16:44] local.INFO: Acknowledgment sent {"connection_id":45380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:16:52] local.INFO: TCP Data received {"connection_id":45642,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:16:52] local.INFO: Processing buffer {"connection_id":45642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:16:52] local.INFO: IMEI packet received {"connection_id":45642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":45642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:16:54] local.INFO: TCP Data received {"connection_id":45642,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:16:54] local.INFO: Processing buffer {"connection_id":45642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:16:54] local.INFO: IMEI packet received {"connection_id":45642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:16:54] local.INFO: IMEI acknowledgment sent {"connection_id":45642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:16:55] local.INFO: TCP Data received {"connection_id":45642,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d979cfff0012d4dfd8006761f80001201012d..."} 
[2026-04-17 00:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979cfff0012d4dfd8006761f80001201012d..."} 
[2026-04-17 00:16:55] local.INFO: Processing buffer {"connection_id":45642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979cfff0012d4dfd8006761f80001201012d..."} 
[2026-04-17 00:16:55] local.INFO: Packet analysis {"connection_id":45642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979c"} 
[2026-04-17 00:16:55] local.INFO: Extracted packet for processing {"connection_id":45642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979c"} 
[2026-04-17 00:16:55] local.INFO: GPS Element Parsed {"raw_longitude":760085888,"raw_latitude":108404608,"longitude_deg":76.0085888,"latitude_deg":10.8404608,"altitude":18,"angle":257,"satellites":45,"speed":61,"hex_longitude":"2d4dfd80","hex_latitude":"06761f80","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:16:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749474816001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:16:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273334007935008768,"note":"Value kept but may cause issues"} 
[2026-04-17 00:16:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5629851405686081536,"note":"Value kept but may cause issues"} 
[2026-04-17 00:16:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:16:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776365142000,"timestamp_ms":1776365142000,"timestamp_seconds":1776365142,"priority":1,"record_length":96,"hex_timestamp":"0000019d979cfff0"} 
[2026-04-17 00:16:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:16:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00:16:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 00:16:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:16:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:16:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:16:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:16:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:16:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:16:55] 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-04-17 00:16:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:16:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:16:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749474816001,"66":27463,"141":206,"80":60160,"24":61,"16":273334007935008768,"45":5629851405686081536},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,80,24,16,45]} 
[2026-04-17 00:16:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:16:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:16:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749474816001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:16:55] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-17 00:16:55] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:16:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273334007935008768,"km_value":273334007935008.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:16:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5629851405686081536,"description":"Unknown IO ID 45"} 
[2026-04-17 00:16:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749474816001,"power":27463,"unknown_141":206,"unknown_80":60160,"ignition":61,"odometer":null,"unknown_45":5629851405686081536}} 
[2026-04-17 00:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":45642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:16:55] local.INFO: GPS data processed {"connection_id":45642,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:16:55] local.INFO: Acknowledgment sent {"connection_id":45642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:17:06] local.INFO: TCP Data received {"connection_id":45381,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:17:06] local.INFO: Processing buffer {"connection_id":45381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:17:06] local.INFO: IMEI packet received {"connection_id":45381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":45381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:17:11] local.INFO: TCP Data received {"connection_id":45381,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:17:11] local.INFO: Processing buffer {"connection_id":45381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:17:11] local.INFO: IMEI packet received {"connection_id":45381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":45381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:17:12] local.INFO: TCP Data received {"connection_id":45381,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:17:12] local.INFO: Processing buffer {"connection_id":45381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:17:12] local.INFO: Packet analysis {"connection_id":45381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:17:12] local.INFO: Extracted packet for processing {"connection_id":45381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:17:12] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749379840001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:17:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776365066000,"timestamp_ms":1776365066000,"timestamp_seconds":1776365066,"priority":1,"record_length":96,"hex_timestamp":"0000019d979bd710"} 
[2026-04-17 00:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:17: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-04-17 00:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:17:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749379840001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749379840001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:17:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:17:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749379840001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":45381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18216,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:17:12] local.INFO: GPS data processed {"connection_id":45381,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:17:12] local.INFO: Acknowledgment sent {"connection_id":45381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:17:26] local.INFO: TCP Data received {"connection_id":45642,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d979d1760012d4dda8006761840001201022e..."} 
[2026-04-17 00:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979d1760012d4dda8006761840001201022e..."} 
[2026-04-17 00:17:26] local.INFO: Processing buffer {"connection_id":45642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979d1760012d4dda8006761840001201022e..."} 
[2026-04-17 00:17:26] local.INFO: Packet analysis {"connection_id":45642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979d"} 
[2026-04-17 00:17:26] local.INFO: Extracted packet for processing {"connection_id":45642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979d"} 
[2026-04-17 00:17:26] local.INFO: GPS Element Parsed {"raw_longitude":760076928,"raw_latitude":108402752,"longitude_deg":76.0076928,"latitude_deg":10.8402752,"altitude":18,"angle":258,"satellites":46,"speed":59,"hex_longitude":"2d4dda80","hex_latitude":"06761840","is_valid_coordinates":true} 
[2026-04-17 00:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749476352001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273334446021672960,"note":"Value kept but may cause issues"} 
[2026-04-17 00:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5619788675268182016,"note":"Value kept but may cause issues"} 
[2026-04-17 00:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,141,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776365148000,"timestamp_ms":1776365148000,"timestamp_seconds":1776365148,"priority":1,"record_length":96,"hex_timestamp":"0000019d979d1760"} 
[2026-04-17 00:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:17: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-04-17 00:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 00:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749476352001,"66":27517,"141":206,"80":60160,"24":59,"16":273334446021672960,"45":5619788675268182016},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,141,80,24,16,45]} 
[2026-04-17 00:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749476352001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:17:26] local.INFO: Unknown IO ID detected {"io_id":141,"value":206,"description":"Unknown IO ID 141"} 
[2026-04-17 00:17:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273334446021672960,"km_value":273334446021672.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":5619788675268182016,"description":"Unknown IO ID 45"} 
[2026-04-17 00:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749476352001,"power":27517,"unknown_141":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5619788675268182016}} 
[2026-04-17 00:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":45642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:17:26] local.INFO: GPS data processed {"connection_id":45642,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:17:26] local.INFO: Acknowledgment sent {"connection_id":45642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:17:44] local.INFO: TCP Data received {"connection_id":45381,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:17:44] local.INFO: Processing buffer {"connection_id":45381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:17:44] local.INFO: Packet analysis {"connection_id":45381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:17:44] local.INFO: Extracted packet for processing {"connection_id":45381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:17:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:17:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749379840001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:17:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:17:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776365066000,"timestamp_ms":1776365066000,"timestamp_seconds":1776365066,"priority":1,"record_length":96,"hex_timestamp":"0000019d979bd710"} 
[2026-04-17 00:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:17:44] 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-04-17 00:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:17:44] 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-04-17 00:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749379840001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749379840001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:17:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:17:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:17:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749379840001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":45381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18218,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:17:44] local.INFO: GPS data processed {"connection_id":45381,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:17:44] local.INFO: Acknowledgment sent {"connection_id":45381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:17:52] local.INFO: TCP Data received {"connection_id":46198,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:17:52] local.INFO: Processing buffer {"connection_id":46198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:17:52] local.INFO: IMEI packet received {"connection_id":46198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":46198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:17:53] local.INFO: TCP Data received {"connection_id":46198,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:17:53] local.INFO: Processing buffer {"connection_id":46198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:17:53] local.INFO: IMEI packet received {"connection_id":46198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":46198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:17:57] local.INFO: TCP Data received {"connection_id":46198,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:17:57] local.INFO: Processing buffer {"connection_id":46198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:17:57] local.INFO: IMEI packet received {"connection_id":46198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":46198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:17:58] local.INFO: TCP Data received {"connection_id":46198,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d979e2cb8012d4c95c006767e30000c010734..."} 
[2026-04-17 00:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979e2cb8012d4c95c006767e30000c010734..."} 
[2026-04-17 00:17:58] local.INFO: Processing buffer {"connection_id":46198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979e2cb8012d4c95c006767e30000c010734..."} 
[2026-04-17 00:17:58] local.INFO: Packet analysis {"connection_id":46198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979e"} 
[2026-04-17 00:17:58] local.INFO: Extracted packet for processing {"connection_id":46198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979e"} 
[2026-04-17 00:17:58] local.INFO: GPS Element Parsed {"raw_longitude":759993792,"raw_latitude":108428848,"longitude_deg":75.9993792,"latitude_deg":10.8428848,"altitude":12,"angle":263,"satellites":52,"speed":48,"hex_longitude":"2d4c95c0","hex_latitude":"06767e30","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749494016001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273338809708445696,"note":"Value kept but may cause issues"} 
[2026-04-17 00:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5529224101517985792,"note":"Value kept but may cause issues"} 
[2026-04-17 00:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776365219000,"timestamp_ms":1776365219000,"timestamp_seconds":1776365219,"priority":1,"record_length":96,"hex_timestamp":"0000019d979e2cb8"} 
[2026-04-17 00:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:17: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-04-17 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 00:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749494016001,"66":27332,"235":206,"80":60160,"24":48,"16":273338809708445696,"45":5529224101517985792},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-04-17 00:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749494016001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:17:58] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 00:17:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273338809708445696,"km_value":273338809708445.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5529224101517985792,"description":"Unknown IO ID 45"} 
[2026-04-17 00:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749494016001,"power":27332,"unknown_235":206,"unknown_80":60160,"ignition":48,"odometer":null,"unknown_45":5529224101517985792}} 
[2026-04-17 00:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":46198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:17:58] local.INFO: GPS data processed {"connection_id":46198,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:17:58] local.INFO: Acknowledgment sent {"connection_id":46198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:18:06] local.INFO: TCP Data received {"connection_id":45448,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:18:06] local.INFO: Processing buffer {"connection_id":45448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:18:06] local.INFO: IMEI packet received {"connection_id":45448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":45448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:18:11] local.INFO: TCP Data received {"connection_id":45448,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:18:11] local.INFO: Processing buffer {"connection_id":45448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:18:11] local.INFO: IMEI packet received {"connection_id":45448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":45448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:18:13] local.INFO: TCP Data received {"connection_id":45448,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:18:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:18:13] local.INFO: Processing buffer {"connection_id":45448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:18:13] local.INFO: Packet analysis {"connection_id":45448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:18:13] local.INFO: Extracted packet for processing {"connection_id":45448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:18:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:18:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749379840001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:18:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:18:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:18:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:18:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776365066000,"timestamp_ms":1776365066000,"timestamp_seconds":1776365066,"priority":1,"record_length":96,"hex_timestamp":"0000019d979bd710"} 
[2026-04-17 00:18:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:18:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:18:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:18:13] 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-04-17 00:18:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:18:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:18:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:18:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:18:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:18:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:18:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:18:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:18:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:18:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749379840001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:18:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:18:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:18:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749379840001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:18:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:18:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:18:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:18:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749379840001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:18:13] local.INFO: DEBUG: GPS processor result {"connection_id":45448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18220,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:18:13] local.INFO: GPS data processed {"connection_id":45448,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:18:13] local.INFO: Acknowledgment sent {"connection_id":45448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:18:30] local.INFO: TCP Data received {"connection_id":46198,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d979e4bf8012d4c6f0006767960000d010632..."} 
[2026-04-17 00:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979e4bf8012d4c6f0006767960000d010632..."} 
[2026-04-17 00:18:30] local.INFO: Processing buffer {"connection_id":46198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979e4bf8012d4c6f0006767960000d010632..."} 
[2026-04-17 00:18:30] local.INFO: Packet analysis {"connection_id":46198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979e"} 
[2026-04-17 00:18:30] local.INFO: Extracted packet for processing {"connection_id":46198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979e"} 
[2026-04-17 00:18:30] local.INFO: GPS Element Parsed {"raw_longitude":759983872,"raw_latitude":108427616,"longitude_deg":75.9983872,"latitude_deg":10.8427616,"altitude":13,"angle":262,"satellites":50,"speed":49,"hex_longitude":"2d4c6f00","hex_latitude":"06767960","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749496064001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273339282154848256,"note":"Value kept but may cause issues"} 
[2026-04-17 00:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5518528052402728960,"note":"Value kept but may cause issues"} 
[2026-04-17 00:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776365227000,"timestamp_ms":1776365227000,"timestamp_seconds":1776365227,"priority":1,"record_length":96,"hex_timestamp":"0000019d979e4bf8"} 
[2026-04-17 00:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:18: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-04-17 00:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 00:18: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-04-17 00: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-04-17 00:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:18:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749496064001,"66":27321,"235":206,"80":60160,"24":49,"16":273339282154848256,"45":5518528052402728960},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-04-17 00:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749496064001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:18:30] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 00:18:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273339282154848256,"km_value":273339282154848.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5518528052402728960,"description":"Unknown IO ID 45"} 
[2026-04-17 00:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749496064001,"power":27321,"unknown_235":206,"unknown_80":60160,"ignition":49,"odometer":null,"unknown_45":5518528052402728960}} 
[2026-04-17 00:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":46198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:18:30] local.INFO: GPS data processed {"connection_id":46198,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:18:30] local.INFO: Acknowledgment sent {"connection_id":46198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:18:44] local.INFO: TCP Data received {"connection_id":45448,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:18:44] local.INFO: Processing buffer {"connection_id":45448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:18:44] local.INFO: Packet analysis {"connection_id":45448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:18:44] local.INFO: Extracted packet for processing {"connection_id":45448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:18:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749379840001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:18:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:18:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776365066000,"timestamp_ms":1776365066000,"timestamp_seconds":1776365066,"priority":1,"record_length":96,"hex_timestamp":"0000019d979bd710"} 
[2026-04-17 00:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:18:44] 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-04-17 00:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:18:44] 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-04-17 00:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749379840001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749379840001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:18:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:18:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749379840001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":45448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18222,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:18:44] local.INFO: GPS data processed {"connection_id":45448,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:18:44] local.INFO: Acknowledgment sent {"connection_id":45448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:18:52] local.INFO: TCP Data received {"connection_id":46199,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:18:52] local.INFO: Processing buffer {"connection_id":46199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:18:52] local.INFO: IMEI packet received {"connection_id":46199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":46199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:18:55] local.INFO: TCP Data received {"connection_id":46199,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46199,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:18:55] local.INFO: Processing buffer {"connection_id":46199,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:18:55] local.INFO: IMEI packet received {"connection_id":46199,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":46199,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:18:56] local.INFO: TCP Data received {"connection_id":46199,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d979e6b38012d4c48c006767528000f010734..."} 
[2026-04-17 00:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979e6b38012d4c48c006767528000f010734..."} 
[2026-04-17 00:18:56] local.INFO: Processing buffer {"connection_id":46199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979e6b38012d4c48c006767528000f010734..."} 
[2026-04-17 00:18:56] local.INFO: Packet analysis {"connection_id":46199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979e"} 
[2026-04-17 00:18:56] local.INFO: Extracted packet for processing {"connection_id":46199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979e"} 
[2026-04-17 00:18:56] local.INFO: GPS Element Parsed {"raw_longitude":759974080,"raw_latitude":108426536,"longitude_deg":75.997408,"latitude_deg":10.8426536,"altitude":15,"angle":263,"satellites":52,"speed":46,"hex_longitude":"2d4c48c0","hex_latitude":"06767528","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749498112001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273339754601250816,"note":"Value kept but may cause issues"} 
[2026-04-17 00:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5507620897054875648,"note":"Value kept but may cause issues"} 
[2026-04-17 00:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776365235000,"timestamp_ms":1776365235000,"timestamp_seconds":1776365235,"priority":1,"record_length":96,"hex_timestamp":"0000019d979e6b38"} 
[2026-04-17 00:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 00:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749498112001,"66":27332,"235":206,"80":60160,"24":46,"16":273339754601250816,"45":5507620897054875648},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-04-17 00:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749498112001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:18:56] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 00:18:56] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273339754601250816,"km_value":273339754601250.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":5507620897054875648,"description":"Unknown IO ID 45"} 
[2026-04-17 00:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749498112001,"power":27332,"unknown_235":206,"unknown_80":60160,"ignition":46,"odometer":null,"unknown_45":5507620897054875648}} 
[2026-04-17 00:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":46199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:18:56] local.INFO: GPS data processed {"connection_id":46199,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:18:56] local.INFO: Acknowledgment sent {"connection_id":46199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:19:11] local.INFO: TCP Data received {"connection_id":45643,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:19:11] local.INFO: Processing buffer {"connection_id":45643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:19:11] local.INFO: IMEI packet received {"connection_id":45643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":45643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:19:16] local.INFO: TCP Data received {"connection_id":45643,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:19:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:19:16] local.INFO: Processing buffer {"connection_id":45643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:19:16] local.INFO: IMEI packet received {"connection_id":45643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:19:16] local.INFO: IMEI acknowledgment sent {"connection_id":45643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:19:17] local.INFO: TCP Data received {"connection_id":45643,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:19:17] local.INFO: Processing buffer {"connection_id":45643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:19:17] local.INFO: Packet analysis {"connection_id":45643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:19:17] local.INFO: Extracted packet for processing {"connection_id":45643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:19:17] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749379840001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:19:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776365066000,"timestamp_ms":1776365066000,"timestamp_seconds":1776365066,"priority":1,"record_length":96,"hex_timestamp":"0000019d979bd710"} 
[2026-04-17 00:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:19:17] 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-04-17 00: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-04-17 00:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749379840001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749379840001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:19:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:19:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749379840001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:19:18] local.INFO: DEBUG: GPS processor result {"connection_id":45643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18224,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:19:18] local.INFO: GPS data processed {"connection_id":45643,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:19:18] local.INFO: Acknowledgment sent {"connection_id":45643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:19:22] local.INFO: TCP Data received {"connection_id":45643,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:19:22] local.INFO: Processing buffer {"connection_id":45643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979bd710012cdf4ec0073240700013006733..."} 
[2026-04-17 00:19:22] local.INFO: Packet analysis {"connection_id":45643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:19:22] local.INFO: Extracted packet for processing {"connection_id":45643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979b"} 
[2026-04-17 00:19:22] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749379840001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:19:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776365066000,"timestamp_ms":1776365066000,"timestamp_seconds":1776365066,"priority":1,"record_length":96,"hex_timestamp":"0000019d979bd710"} 
[2026-04-17 00:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:19:22] 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-04-17 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:19:22] 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-04-17 00: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-04-17 00:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749379840001,"66":25625,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749379840001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:19:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:19:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749379840001,"power":25625,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":45643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18225,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:19:22] local.INFO: GPS data processed {"connection_id":45643,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:19:22] local.INFO: Acknowledgment sent {"connection_id":45643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:19:27] local.INFO: TCP Data received {"connection_id":46199,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d979f8c48012d4b4b400675a4e8001000d934..."} 
[2026-04-17 00:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979f8c48012d4b4b400675a4e8001000d934..."} 
[2026-04-17 00:19:27] local.INFO: Processing buffer {"connection_id":46199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979f8c48012d4b4b400675a4e8001000d934..."} 
[2026-04-17 00:19:27] local.INFO: Packet analysis {"connection_id":46199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979f"} 
[2026-04-17 00:19:27] local.INFO: Extracted packet for processing {"connection_id":46199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979f"} 
[2026-04-17 00:19:27] local.INFO: GPS Element Parsed {"raw_longitude":759909184,"raw_latitude":108373224,"longitude_deg":75.9909184,"latitude_deg":10.8373224,"altitude":16,"angle":217,"satellites":52,"speed":59,"hex_longitude":"2d4b4b40","hex_latitude":"0675a4e8","is_valid_coordinates":true} 
[2026-04-17 00:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749517568001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273343963669200896,"note":"Value kept but may cause issues"} 
[2026-04-17 00:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5431622653330890752,"note":"Value kept but may cause issues"} 
[2026-04-17 00:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776365309000,"timestamp_ms":1776365309000,"timestamp_seconds":1776365309,"priority":1,"record_length":96,"hex_timestamp":"0000019d979f8c48"} 
[2026-04-17 00:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 00:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46199,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749517568001,"66":27397,"236":206,"80":60160,"24":59,"16":273343963669200896,"45":5431622653330890752},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-04-17 00:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749517568001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:19:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-17 00:19:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273343963669200896,"km_value":273343963669200.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":5431622653330890752,"description":"Unknown IO ID 45"} 
[2026-04-17 00:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749517568001,"power":27397,"unknown_236":206,"unknown_80":60160,"ignition":59,"odometer":null,"unknown_45":5431622653330890752}} 
[2026-04-17 00:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":46199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:19:27] local.INFO: GPS data processed {"connection_id":46199,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:19:27] local.INFO: Acknowledgment sent {"connection_id":46199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:19:57] local.INFO: TCP Data received {"connection_id":45644,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:19:57] local.INFO: Processing buffer {"connection_id":45644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:19:57] local.INFO: IMEI packet received {"connection_id":45644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":45644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:19:57] local.INFO: TCP Data received {"connection_id":45644,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:19:57] local.INFO: Processing buffer {"connection_id":45644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:19:57] local.INFO: IMEI packet received {"connection_id":45644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":45644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:20:02] local.INFO: TCP Data received {"connection_id":45644,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:20:02] local.INFO: Processing buffer {"connection_id":45644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:20:02] local.INFO: IMEI packet received {"connection_id":45644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:20:02] local.INFO: IMEI acknowledgment sent {"connection_id":45644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:20:03] local.INFO: TCP Data received {"connection_id":45644,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d979fa7a0012d4b328006758588000f00da35..."} 
[2026-04-17 00:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979fa7a0012d4b328006758588000f00da35..."} 
[2026-04-17 00:20:03] local.INFO: Processing buffer {"connection_id":45644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979fa7a0012d4b328006758588000f00da35..."} 
[2026-04-17 00:20:03] local.INFO: Packet analysis {"connection_id":45644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979f"} 
[2026-04-17 00:20:03] local.INFO: Extracted packet for processing {"connection_id":45644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979f"} 
[2026-04-17 00:20:03] local.INFO: GPS Element Parsed {"raw_longitude":759902848,"raw_latitude":108365192,"longitude_deg":75.9902848,"latitude_deg":10.8365192,"altitude":15,"angle":218,"satellites":53,"speed":56,"hex_longitude":"2d4b3280","hex_latitude":"06758588","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749519104001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273344457590439936,"note":"Value kept but may cause issues"} 
[2026-04-17 00:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5425500572585617408,"note":"Value kept but may cause issues"} 
[2026-04-17 00:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776365316000,"timestamp_ms":1776365316000,"timestamp_seconds":1776365316,"priority":1,"record_length":96,"hex_timestamp":"0000019d979fa7a0"} 
[2026-04-17 00:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 00:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749519104001,"66":27343,"236":206,"80":60160,"24":56,"16":273344457590439936,"45":5425500572585617408},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-04-17 00:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749519104001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:20:03] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-17 00:20:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273344457590439936,"km_value":273344457590439.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5425500572585617408,"description":"Unknown IO ID 45"} 
[2026-04-17 00:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749519104001,"power":27343,"unknown_236":206,"unknown_80":60160,"ignition":56,"odometer":null,"unknown_45":5425500572585617408}} 
[2026-04-17 00:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":45644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:20:03] local.INFO: GPS data processed {"connection_id":45644,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:20:03] local.INFO: Acknowledgment sent {"connection_id":45644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:20:05] local.INFO: TCP Data received {"connection_id":45645,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:20:05] local.INFO: Processing buffer {"connection_id":45645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:20:05] local.INFO: IMEI packet received {"connection_id":45645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":45645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:20:06] local.INFO: TCP Data received {"connection_id":45645,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:20:06] local.INFO: Processing buffer {"connection_id":45645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:20:06] local.INFO: IMEI packet received {"connection_id":45645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":45645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:20:11] local.INFO: TCP Data received {"connection_id":45645,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:20:11] local.INFO: Processing buffer {"connection_id":45645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:20:11] local.INFO: IMEI packet received {"connection_id":45645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":45645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:20:12] local.INFO: TCP Data received {"connection_id":45645,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:20:13] local.INFO: Processing buffer {"connection_id":45645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:20:13] local.INFO: Packet analysis {"connection_id":45645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:20:13] local.INFO: Extracted packet for processing {"connection_id":45645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:20:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749456896001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:20:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:20:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776365367000,"timestamp_ms":1776365367000,"timestamp_seconds":1776365367,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a06ed8"} 
[2026-04-17 00:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:20:13] 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-04-17 00:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45645,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45645,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749456896001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749456896001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:20:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:20:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749456896001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":45645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18228,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:20:13] local.INFO: GPS data processed {"connection_id":45645,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:20:13] local.INFO: Acknowledgment sent {"connection_id":45645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:20:34] local.INFO: TCP Data received {"connection_id":45644,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d979fc2f8012d4b1b4006756770000e00d936..."} 
[2026-04-17 00:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d979fc2f8012d4b1b4006756770000e00d936..."} 
[2026-04-17 00:20:34] local.INFO: Processing buffer {"connection_id":45644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d979fc2f8012d4b1b4006756770000e00d936..."} 
[2026-04-17 00:20:34] local.INFO: Packet analysis {"connection_id":45644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d979f"} 
[2026-04-17 00:20:34] local.INFO: Extracted packet for processing {"connection_id":45644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d979f"} 
[2026-04-17 00:20:34] local.INFO: GPS Element Parsed {"raw_longitude":759896896,"raw_latitude":108357488,"longitude_deg":75.9896896,"latitude_deg":10.8357488,"altitude":14,"angle":217,"satellites":54,"speed":53,"hex_longitude":"2d4b1b40","hex_latitude":"06756770","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749520896001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273344925741875200,"note":"Value kept but may cause issues"} 
[2026-04-17 00:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5418534066909972480,"note":"Value kept but may cause issues"} 
[2026-04-17 00:20:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776365323000,"timestamp_ms":1776365323000,"timestamp_seconds":1776365323,"priority":1,"record_length":96,"hex_timestamp":"0000019d979fc2f8"} 
[2026-04-17 00:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:20: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-04-17 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 00:20:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:20:34] 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-04-17 00:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749520896001,"66":27376,"236":206,"80":60160,"24":53,"16":273344925741875200,"45":5418534066909972480},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,80,24,16,45]} 
[2026-04-17 00:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749520896001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:20:34] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-17 00:20:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273344925741875200,"km_value":273344925741875.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5418534066909972480,"description":"Unknown IO ID 45"} 
[2026-04-17 00:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749520896001,"power":27376,"unknown_236":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5418534066909972480}} 
[2026-04-17 00:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":45644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:20:34] local.INFO: GPS data processed {"connection_id":45644,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:20:34] local.INFO: Acknowledgment sent {"connection_id":45644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:20:44] local.INFO: TCP Data received {"connection_id":45645,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:20:44] local.INFO: Processing buffer {"connection_id":45645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:20:44] local.INFO: Packet analysis {"connection_id":45645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:20:44] local.INFO: Extracted packet for processing {"connection_id":45645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:20:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749456896001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:20:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776365367000,"timestamp_ms":1776365367000,"timestamp_seconds":1776365367,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a06ed8"} 
[2026-04-17 00:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:20:44] 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-04-17 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:20:44] 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-04-17 00: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-04-17 00:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45645,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45645,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749456896001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749456896001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:20:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:20:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749456896001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":45645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18230,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:20:44] local.INFO: GPS data processed {"connection_id":45645,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:20:44] local.INFO: Acknowledgment sent {"connection_id":45645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:20:52] local.INFO: TCP Data received {"connection_id":45382,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:20:52] local.INFO: Processing buffer {"connection_id":45382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:20:52] local.INFO: IMEI packet received {"connection_id":45382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":45382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:20:53] local.INFO: TCP Data received {"connection_id":45382,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:20:53] local.INFO: Processing buffer {"connection_id":45382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:20:53] local.INFO: IMEI packet received {"connection_id":45382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":45382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:20:57] local.INFO: TCP Data received {"connection_id":45382,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:20:57] local.INFO: Processing buffer {"connection_id":45382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:20:57] local.INFO: IMEI packet received {"connection_id":45382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":45382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:20:58] local.INFO: TCP Data received {"connection_id":45382,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a0efc0012d4a1f40067431b8000d00d836..."} 
[2026-04-17 00:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a0efc0012d4a1f40067431b8000d00d836..."} 
[2026-04-17 00:20:58] local.INFO: Processing buffer {"connection_id":45382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a0efc0012d4a1f40067431b8000d00d836..."} 
[2026-04-17 00:20:58] local.INFO: Packet analysis {"connection_id":45382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:20:58] local.INFO: Extracted packet for processing {"connection_id":45382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:20:58] local.INFO: GPS Element Parsed {"raw_longitude":759832384,"raw_latitude":108278200,"longitude_deg":75.9832384,"latitude_deg":10.82782,"altitude":13,"angle":216,"satellites":54,"speed":53,"hex_longitude":"2d4a1f40","hex_latitude":"067431b8","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749540608001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273349847774396416,"note":"Value kept but may cause issues"} 
[2026-04-17 00:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5347532004014331904,"note":"Value kept but may cause issues"} 
[2026-04-17 00:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776365400000,"timestamp_ms":1776365400000,"timestamp_seconds":1776365400,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a0efc0"} 
[2026-04-17 00:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:20: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-04-17 00: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 00:20:58] 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-04-17 00: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-04-17 00:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749540608001,"66":27463,"218":206,"80":60160,"24":53,"16":273349847774396416,"45":5347532004014331904},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-17 00:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749540608001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:20:58] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-17 00:20:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273349847774396416,"km_value":273349847774396.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5347532004014331904,"description":"Unknown IO ID 45"} 
[2026-04-17 00:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749540608001,"power":27463,"unknown_218":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5347532004014331904}} 
[2026-04-17 00:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":45382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:20:58] local.INFO: GPS data processed {"connection_id":45382,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:20:58] local.INFO: Acknowledgment sent {"connection_id":45382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:21:06] local.INFO: TCP Data received {"connection_id":45383,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:21:06] local.INFO: Processing buffer {"connection_id":45383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:21:06] local.INFO: IMEI packet received {"connection_id":45383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":45383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:21:11] local.INFO: TCP Data received {"connection_id":45383,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:21:11] local.INFO: Processing buffer {"connection_id":45383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:21:11] local.INFO: IMEI packet received {"connection_id":45383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":45383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:21:13] local.INFO: TCP Data received {"connection_id":45383,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:21:13] local.INFO: Processing buffer {"connection_id":45383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:21:13] local.INFO: Packet analysis {"connection_id":45383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:21:13] local.INFO: Extracted packet for processing {"connection_id":45383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:21:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749456896001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:21:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:21:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776365367000,"timestamp_ms":1776365367000,"timestamp_seconds":1776365367,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a06ed8"} 
[2026-04-17 00:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:21:13] 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-04-17 00:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749456896001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749456896001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:21:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:21:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749456896001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":45383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18232,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:21:13] local.INFO: GPS data processed {"connection_id":45383,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:21:13] local.INFO: Acknowledgment sent {"connection_id":45383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:21:29] local.INFO: TCP Data received {"connection_id":45382,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a10b18012d4a0880067414b0000c00da35..."} 
[2026-04-17 00:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a10b18012d4a0880067414b0000c00da35..."} 
[2026-04-17 00:21:29] local.INFO: Processing buffer {"connection_id":45382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a10b18012d4a0880067414b0000c00da35..."} 
[2026-04-17 00:21:29] local.INFO: Packet analysis {"connection_id":45382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:21:29] local.INFO: Extracted packet for processing {"connection_id":45382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:21:29] local.INFO: GPS Element Parsed {"raw_longitude":759826560,"raw_latitude":108270768,"longitude_deg":75.982656,"latitude_deg":10.8270768,"altitude":12,"angle":218,"satellites":53,"speed":53,"hex_longitude":"2d4a0880","hex_latitude":"067414b0","is_valid_coordinates":true} 
[2026-04-17 00:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749542400001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273350298745962496,"note":"Value kept but may cause issues"} 
[2026-04-17 00:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5341058079548094464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776365407000,"timestamp_ms":1776365407000,"timestamp_seconds":1776365407,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a10b18"} 
[2026-04-17 00:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:21: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-04-17 00:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 00:21:29] 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-04-17 00:21:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:21: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-04-17 00:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749542400001,"66":27908,"218":206,"80":60160,"24":53,"16":273350298745962496,"45":5341058079548094464},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-17 00:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749542400001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:21:29] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-17 00:21:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273350298745962496,"km_value":273350298745962.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5341058079548094464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749542400001,"power":27908,"unknown_218":206,"unknown_80":60160,"ignition":53,"odometer":null,"unknown_45":5341058079548094464}} 
[2026-04-17 00:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":45382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:21:29] local.INFO: GPS data processed {"connection_id":45382,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:21:29] local.INFO: Acknowledgment sent {"connection_id":45382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:21:44] local.INFO: TCP Data received {"connection_id":45383,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:21:44] local.INFO: Processing buffer {"connection_id":45383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:21:44] local.INFO: Packet analysis {"connection_id":45383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:21:44] local.INFO: Extracted packet for processing {"connection_id":45383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:21:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749456896001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:21:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776365367000,"timestamp_ms":1776365367000,"timestamp_seconds":1776365367,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a06ed8"} 
[2026-04-17 00:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:21:44] 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-04-17 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:21:44] 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-04-17 00: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-04-17 00:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749456896001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749456896001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:21:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:21:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749456896001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":45383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18234,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:21:44] local.INFO: GPS data processed {"connection_id":45383,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:21:44] local.INFO: Acknowledgment sent {"connection_id":45383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:21:53] local.INFO: TCP Data received {"connection_id":45449,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:21:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:21:53] local.INFO: Processing buffer {"connection_id":45449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:21:53] local.INFO: IMEI packet received {"connection_id":45449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:21:53] local.INFO: IMEI acknowledgment sent {"connection_id":45449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:21:57] local.INFO: TCP Data received {"connection_id":45449,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:21:57] local.INFO: Processing buffer {"connection_id":45449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:21:57] local.INFO: IMEI packet received {"connection_id":45449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":45449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:21:58] local.INFO: TCP Data received {"connection_id":45449,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a12670012d49f2400673f8e0000c00da35..."} 
[2026-04-17 00:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a12670012d49f2400673f8e0000c00da35..."} 
[2026-04-17 00:21:58] local.INFO: Processing buffer {"connection_id":45449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a12670012d49f2400673f8e0000c00da35..."} 
[2026-04-17 00:21:58] local.INFO: Packet analysis {"connection_id":45449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:21:58] local.INFO: Extracted packet for processing {"connection_id":45449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:21:58] local.INFO: GPS Element Parsed {"raw_longitude":759820864,"raw_latitude":108263648,"longitude_deg":75.9820864,"latitude_deg":10.8263648,"altitude":12,"angle":218,"satellites":53,"speed":50,"hex_longitude":"2d49f240","hex_latitude":"0673f8e0","is_valid_coordinates":true} 
[2026-04-17 00:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749544192001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273350741127593984,"note":"Value kept but may cause issues"} 
[2026-04-17 00:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5334654523826024448,"note":"Value kept but may cause issues"} 
[2026-04-17 00:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776365414000,"timestamp_ms":1776365414000,"timestamp_seconds":1776365414,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a12670"} 
[2026-04-17 00:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:21: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-04-17 00:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 00:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749544192001,"66":27767,"218":206,"80":60160,"24":50,"16":273350741127593984,"45":5334654523826024448},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-17 00:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749544192001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:21:58] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-17 00:21:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273350741127593984,"km_value":273350741127593.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5334654523826024448,"description":"Unknown IO ID 45"} 
[2026-04-17 00:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749544192001,"power":27767,"unknown_218":206,"unknown_80":60160,"ignition":50,"odometer":null,"unknown_45":5334654523826024448}} 
[2026-04-17 00:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":45449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:21:58] local.INFO: GPS data processed {"connection_id":45449,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:21:58] local.INFO: Acknowledgment sent {"connection_id":45449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:22:06] local.INFO: TCP Data received {"connection_id":45384,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:22:06] local.INFO: Processing buffer {"connection_id":45384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:22:06] local.INFO: IMEI packet received {"connection_id":45384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":45384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:22:11] local.INFO: TCP Data received {"connection_id":45384,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45384,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:22:11] local.INFO: Processing buffer {"connection_id":45384,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:22:11] local.INFO: IMEI packet received {"connection_id":45384,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":45384,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:22:13] local.INFO: TCP Data received {"connection_id":45384,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:22:13] local.INFO: Processing buffer {"connection_id":45384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:22:13] local.INFO: Packet analysis {"connection_id":45384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:22:13] local.INFO: Extracted packet for processing {"connection_id":45384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:22:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749456896001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:22:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776365367000,"timestamp_ms":1776365367000,"timestamp_seconds":1776365367,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a06ed8"} 
[2026-04-17 00:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:22:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:22:13] 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-04-17 00: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-04-17 00:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749456896001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749456896001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:22:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:22:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749456896001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":45384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18236,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:22:13] local.INFO: GPS data processed {"connection_id":45384,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:22:13] local.INFO: Acknowledgment sent {"connection_id":45384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:22:29] local.INFO: TCP Data received {"connection_id":45449,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:22:29] local.INFO: Processing buffer {"connection_id":45449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:22:29] local.INFO: Packet analysis {"connection_id":45449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:22:29] local.INFO: Extracted packet for processing {"connection_id":45449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:22:29] local.INFO: GPS Element Parsed {"raw_longitude":759815232,"raw_latitude":108256776,"longitude_deg":75.9815232,"latitude_deg":10.8256776,"altitude":11,"angle":219,"satellites":52,"speed":49,"hex_longitude":"2d49dc40","hex_latitude":"0673de08","is_valid_coordinates":true} 
[2026-04-17 00:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749545984001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5328391705592389632,"note":"Value kept but may cause issues"} 
[2026-04-17 00:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776365421000,"timestamp_ms":1776365421000,"timestamp_seconds":1776365421,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a141c8"} 
[2026-04-17 00:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:22: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-04-17 00:22:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-17 00:22: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-04-17 00: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-04-17 00:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:22:29] 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-04-17 00:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749545984001,"66":27745,"218":206,"80":60160,"24":49,"16":273351166329356288,"45":5328391705592389632},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-17 00:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749545984001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:22:29] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-17 00:22:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5328391705592389632,"description":"Unknown IO ID 45"} 
[2026-04-17 00:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749545984001,"power":27745,"unknown_218":206,"unknown_80":60160,"ignition":49,"odometer":null,"unknown_45":5328391705592389632}} 
[2026-04-17 00:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":45449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:22:29] local.INFO: GPS data processed {"connection_id":45449,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:22:29] local.INFO: Acknowledgment sent {"connection_id":45449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:22:44] local.INFO: TCP Data received {"connection_id":45384,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:22:44] local.INFO: Processing buffer {"connection_id":45384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:22:44] local.INFO: Packet analysis {"connection_id":45384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:22:44] local.INFO: Extracted packet for processing {"connection_id":45384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:22:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749456896001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:22:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776365367000,"timestamp_ms":1776365367000,"timestamp_seconds":1776365367,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a06ed8"} 
[2026-04-17 00:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:22:44] 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-04-17 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:22:44] 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-04-17 00: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-04-17 00:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45384,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749456896001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749456896001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:22:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:22:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749456896001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":45384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18238,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:22:44] local.INFO: GPS data processed {"connection_id":45384,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:22:44] local.INFO: Acknowledgment sent {"connection_id":45384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:22:52] local.INFO: TCP Data received {"connection_id":45646,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:22:52] local.INFO: Processing buffer {"connection_id":45646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:22:52] local.INFO: IMEI packet received {"connection_id":45646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":45646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:22:57] local.INFO: TCP Data received {"connection_id":45646,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:22:57] local.INFO: Processing buffer {"connection_id":45646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:22:57] local.INFO: IMEI packet received {"connection_id":45646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":45646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:22:58] local.INFO: TCP Data received {"connection_id":45646,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:22:58] local.INFO: Processing buffer {"connection_id":45646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:22:58] local.INFO: Packet analysis {"connection_id":45646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:22:58] local.INFO: Extracted packet for processing {"connection_id":45646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:22:58] local.INFO: GPS Element Parsed {"raw_longitude":759815232,"raw_latitude":108256776,"longitude_deg":75.9815232,"latitude_deg":10.8256776,"altitude":11,"angle":219,"satellites":52,"speed":49,"hex_longitude":"2d49dc40","hex_latitude":"0673de08","is_valid_coordinates":true} 
[2026-04-17 00:22: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-04-17 00:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749545984001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5328391705592389632,"note":"Value kept but may cause issues"} 
[2026-04-17 00:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776365421000,"timestamp_ms":1776365421000,"timestamp_seconds":1776365421,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a141c8"} 
[2026-04-17 00:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:22: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-04-17 00:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-17 00:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:22: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-04-17 00:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749545984001,"66":27745,"218":206,"80":60160,"24":49,"16":273351166329356288,"45":5328391705592389632},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-17 00:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749545984001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:22:58] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-17 00:22:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5328391705592389632,"description":"Unknown IO ID 45"} 
[2026-04-17 00:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749545984001,"power":27745,"unknown_218":206,"unknown_80":60160,"ignition":49,"odometer":null,"unknown_45":5328391705592389632}} 
[2026-04-17 00:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":45646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:22:58] local.INFO: GPS data processed {"connection_id":45646,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:22:58] local.INFO: Acknowledgment sent {"connection_id":45646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:23:11] local.INFO: TCP Data received {"connection_id":45450,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:23:11] local.INFO: Processing buffer {"connection_id":45450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:23:11] local.INFO: IMEI packet received {"connection_id":45450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":45450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:23:16] local.INFO: TCP Data received {"connection_id":45450,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:23:16] local.INFO: Processing buffer {"connection_id":45450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:23:16] local.INFO: IMEI packet received {"connection_id":45450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":45450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:23:17] local.INFO: TCP Data received {"connection_id":45450,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:23:17] local.INFO: Processing buffer {"connection_id":45450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:23:17] local.INFO: Packet analysis {"connection_id":45450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:23:17] local.INFO: Extracted packet for processing {"connection_id":45450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:23:17] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749456896001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:23:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776365367000,"timestamp_ms":1776365367000,"timestamp_seconds":1776365367,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a06ed8"} 
[2026-04-17 00:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:23:17] 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-04-17 00:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749456896001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749456896001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:23:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:23:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749456896001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:23:18] local.INFO: DEBUG: GPS processor result {"connection_id":45450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18240,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:23:18] local.INFO: GPS data processed {"connection_id":45450,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:23:18] local.INFO: Acknowledgment sent {"connection_id":45450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:23:22] local.INFO: TCP Data received {"connection_id":45450,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:23:22] local.INFO: Processing buffer {"connection_id":45450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:23:22] local.INFO: Packet analysis {"connection_id":45450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:23:22] local.INFO: Extracted packet for processing {"connection_id":45450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:23:22] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749456896001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:23:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:23:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776365367000,"timestamp_ms":1776365367000,"timestamp_seconds":1776365367,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a06ed8"} 
[2026-04-17 00:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:23:22] 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-04-17 00:23:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:23:22] 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-04-17 00:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45450,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749456896001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749456896001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:23:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:23:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749456896001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":45450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18241,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:23:22] local.INFO: GPS data processed {"connection_id":45450,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:23:22] local.INFO: Acknowledgment sent {"connection_id":45450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:23:29] local.INFO: TCP Data received {"connection_id":45646,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:23:29] local.INFO: Processing buffer {"connection_id":45646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:23:29] local.INFO: Packet analysis {"connection_id":45646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:23:29] local.INFO: Extracted packet for processing {"connection_id":45646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:23:29] local.INFO: GPS Element Parsed {"raw_longitude":759815232,"raw_latitude":108256776,"longitude_deg":75.9815232,"latitude_deg":10.8256776,"altitude":11,"angle":219,"satellites":52,"speed":49,"hex_longitude":"2d49dc40","hex_latitude":"0673de08","is_valid_coordinates":true} 
[2026-04-17 00:23: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-04-17 00:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749545984001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5328391705592389632,"note":"Value kept but may cause issues"} 
[2026-04-17 00:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776365421000,"timestamp_ms":1776365421000,"timestamp_seconds":1776365421,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a141c8"} 
[2026-04-17 00:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:23: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-04-17 00: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":119,"data_length":795,"current_offset":136} 
[2026-04-17 00:23: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-04-17 00: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-04-17 00:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:23: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-04-17 00:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749545984001,"66":27745,"218":206,"80":60160,"24":49,"16":273351166329356288,"45":5328391705592389632},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-17 00:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749545984001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:23:29] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-17 00:23:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5328391705592389632,"description":"Unknown IO ID 45"} 
[2026-04-17 00:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749545984001,"power":27745,"unknown_218":206,"unknown_80":60160,"ignition":49,"odometer":null,"unknown_45":5328391705592389632}} 
[2026-04-17 00:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":45646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:23:29] local.INFO: GPS data processed {"connection_id":45646,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:23:29] local.INFO: Acknowledgment sent {"connection_id":45646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:23:57] local.INFO: TCP Data received {"connection_id":45385,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:23:57] local.INFO: Processing buffer {"connection_id":45385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:23:57] local.INFO: IMEI packet received {"connection_id":45385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":45385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:24:02] local.INFO: TCP Data received {"connection_id":45385,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:24:02] local.INFO: Processing buffer {"connection_id":45385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:24:02] local.INFO: IMEI packet received {"connection_id":45385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":45385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:24:03] local.INFO: TCP Data received {"connection_id":45385,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:24:03] local.INFO: Processing buffer {"connection_id":45385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:24:03] local.INFO: Packet analysis {"connection_id":45385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:24:03] local.INFO: Extracted packet for processing {"connection_id":45385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:24:03] local.INFO: GPS Element Parsed {"raw_longitude":759815232,"raw_latitude":108256776,"longitude_deg":75.9815232,"latitude_deg":10.8256776,"altitude":11,"angle":219,"satellites":52,"speed":49,"hex_longitude":"2d49dc40","hex_latitude":"0673de08","is_valid_coordinates":true} 
[2026-04-17 00:24: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-04-17 00:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749545984001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5328391705592389632,"note":"Value kept but may cause issues"} 
[2026-04-17 00:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776365421000,"timestamp_ms":1776365421000,"timestamp_seconds":1776365421,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a141c8"} 
[2026-04-17 00:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:24: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-04-17 00:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-17 00:24: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-04-17 00: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-04-17 00:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:24:03] 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-04-17 00:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749545984001,"66":27745,"218":206,"80":60160,"24":49,"16":273351166329356288,"45":5328391705592389632},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-17 00:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749545984001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:24:03] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-17 00:24:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5328391705592389632,"description":"Unknown IO ID 45"} 
[2026-04-17 00:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749545984001,"power":27745,"unknown_218":206,"unknown_80":60160,"ignition":49,"odometer":null,"unknown_45":5328391705592389632}} 
[2026-04-17 00:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":45385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:24:03] local.INFO: GPS data processed {"connection_id":45385,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:24:03] local.INFO: Acknowledgment sent {"connection_id":45385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:24:06] local.INFO: TCP Data received {"connection_id":45386,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45386,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:24:06] local.INFO: Processing buffer {"connection_id":45386,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:24:06] local.INFO: IMEI packet received {"connection_id":45386,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":45386,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:24:11] local.INFO: TCP Data received {"connection_id":45386,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45386,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:24:11] local.INFO: Processing buffer {"connection_id":45386,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:24:11] local.INFO: IMEI packet received {"connection_id":45386,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":45386,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:24:12] local.INFO: TCP Data received {"connection_id":45386,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:24:12] local.INFO: Processing buffer {"connection_id":45386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:24:12] local.INFO: Packet analysis {"connection_id":45386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:24:12] local.INFO: Extracted packet for processing {"connection_id":45386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:24:12] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749456896001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776365367000,"timestamp_ms":1776365367000,"timestamp_seconds":1776365367,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a06ed8"} 
[2026-04-17 00:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:24: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-04-17 00: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45386,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45386,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749456896001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749456896001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:24:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749456896001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:24:13] local.INFO: DEBUG: GPS processor result {"connection_id":45386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18244,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:24:13] local.INFO: GPS data processed {"connection_id":45386,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:24:13] local.INFO: Acknowledgment sent {"connection_id":45386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:24:34] local.INFO: TCP Data received {"connection_id":45385,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:24:34] local.INFO: Processing buffer {"connection_id":45385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:24:34] local.INFO: Packet analysis {"connection_id":45385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:24:34] local.INFO: Extracted packet for processing {"connection_id":45385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:24:34] local.INFO: GPS Element Parsed {"raw_longitude":759815232,"raw_latitude":108256776,"longitude_deg":75.9815232,"latitude_deg":10.8256776,"altitude":11,"angle":219,"satellites":52,"speed":49,"hex_longitude":"2d49dc40","hex_latitude":"0673de08","is_valid_coordinates":true} 
[2026-04-17 00:24: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-04-17 00:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749545984001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5328391705592389632,"note":"Value kept but may cause issues"} 
[2026-04-17 00:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776365421000,"timestamp_ms":1776365421000,"timestamp_seconds":1776365421,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a141c8"} 
[2026-04-17 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-04-17 00:24: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-04-17 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-17 00:24:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 00:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:24: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-04-17 00:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749545984001,"66":27745,"218":206,"80":60160,"24":49,"16":273351166329356288,"45":5328391705592389632},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-17 00:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749545984001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:24:34] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-17 00:24:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5328391705592389632,"description":"Unknown IO ID 45"} 
[2026-04-17 00:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749545984001,"power":27745,"unknown_218":206,"unknown_80":60160,"ignition":49,"odometer":null,"unknown_45":5328391705592389632}} 
[2026-04-17 00:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":45385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:24:34] local.INFO: GPS data processed {"connection_id":45385,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:24:34] local.INFO: Acknowledgment sent {"connection_id":45385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:24:44] local.INFO: TCP Data received {"connection_id":45386,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:24:44] local.INFO: Processing buffer {"connection_id":45386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a06ed8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:24:44] local.INFO: Packet analysis {"connection_id":45386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:24:44] local.INFO: Extracted packet for processing {"connection_id":45386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a0"} 
[2026-04-17 00:24:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749456896001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:24:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776365367000,"timestamp_ms":1776365367000,"timestamp_seconds":1776365367,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a06ed8"} 
[2026-04-17 00:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:24:44] 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-04-17 00:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 00:24:44] 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-04-17 00:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45386,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45386,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749456896001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749456896001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:24:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:24:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749456896001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":45386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18246,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:24:44] local.INFO: GPS data processed {"connection_id":45386,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:24:44] local.INFO: Acknowledgment sent {"connection_id":45386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:24:52] local.INFO: TCP Data received {"connection_id":45647,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:24:52] local.INFO: Processing buffer {"connection_id":45647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:24:52] local.INFO: IMEI packet received {"connection_id":45647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":45647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:24:57] local.INFO: TCP Data received {"connection_id":45647,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:24:57] local.INFO: Processing buffer {"connection_id":45647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:24:57] local.INFO: IMEI packet received {"connection_id":45647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":45647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:24:58] local.INFO: TCP Data received {"connection_id":45647,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:24:58] local.INFO: Processing buffer {"connection_id":45647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:24:58] local.INFO: Packet analysis {"connection_id":45647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:24:58] local.INFO: Extracted packet for processing {"connection_id":45647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:24:58] local.INFO: GPS Element Parsed {"raw_longitude":759815232,"raw_latitude":108256776,"longitude_deg":75.9815232,"latitude_deg":10.8256776,"altitude":11,"angle":219,"satellites":52,"speed":49,"hex_longitude":"2d49dc40","hex_latitude":"0673de08","is_valid_coordinates":true} 
[2026-04-17 00:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749545984001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5328391705592389632,"note":"Value kept but may cause issues"} 
[2026-04-17 00:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776365421000,"timestamp_ms":1776365421000,"timestamp_seconds":1776365421,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a141c8"} 
[2026-04-17 00:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:24: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-04-17 00:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-17 00:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:24: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-04-17 00:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749545984001,"66":27745,"218":206,"80":60160,"24":49,"16":273351166329356288,"45":5328391705592389632},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-17 00:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749545984001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:24:58] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-17 00:24:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5328391705592389632,"description":"Unknown IO ID 45"} 
[2026-04-17 00:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749545984001,"power":27745,"unknown_218":206,"unknown_80":60160,"ignition":49,"odometer":null,"unknown_45":5328391705592389632}} 
[2026-04-17 00:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":45647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:24:58] local.INFO: GPS data processed {"connection_id":45647,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:24:58] local.INFO: Acknowledgment sent {"connection_id":45647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:25:06] local.INFO: TCP Data received {"connection_id":45451,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:25:06] local.INFO: Processing buffer {"connection_id":45451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:25:06] local.INFO: IMEI packet received {"connection_id":45451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":45451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:25:07] local.INFO: TCP Data received {"connection_id":45451,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:25:07] local.INFO: Processing buffer {"connection_id":45451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:25:07] local.INFO: IMEI packet received {"connection_id":45451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:25:07] local.INFO: IMEI acknowledgment sent {"connection_id":45451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:25:11] local.INFO: TCP Data received {"connection_id":45451,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:25:11] local.INFO: Processing buffer {"connection_id":45451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:25:11] local.INFO: IMEI packet received {"connection_id":45451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":45451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:25:12] local.INFO: TCP Data received {"connection_id":45451,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:25:12] local.INFO: Processing buffer {"connection_id":45451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:25:12] local.INFO: Packet analysis {"connection_id":45451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:25:12] local.INFO: Extracted packet for processing {"connection_id":45451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:25:12] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749533952001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:25:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776365668000,"timestamp_ms":1776365668000,"timestamp_seconds":1776365668,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a506a0"} 
[2026-04-17 00:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:25: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-04-17 00:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:25: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-04-17 00: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-04-17 00:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749533952001,"66":25604,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749533952001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:25:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:25:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749533952001,"power":25604,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":45451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18248,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:25:13] local.INFO: GPS data processed {"connection_id":45451,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:25:13] local.INFO: Acknowledgment sent {"connection_id":45451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:25:29] local.INFO: TCP Data received {"connection_id":45647,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:25:29] local.INFO: Processing buffer {"connection_id":45647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:25:29] local.INFO: Packet analysis {"connection_id":45647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:25:29] local.INFO: Extracted packet for processing {"connection_id":45647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:25:29] local.INFO: GPS Element Parsed {"raw_longitude":759815232,"raw_latitude":108256776,"longitude_deg":75.9815232,"latitude_deg":10.8256776,"altitude":11,"angle":219,"satellites":52,"speed":49,"hex_longitude":"2d49dc40","hex_latitude":"0673de08","is_valid_coordinates":true} 
[2026-04-17 00:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749545984001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5328391705592389632,"note":"Value kept but may cause issues"} 
[2026-04-17 00:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776365421000,"timestamp_ms":1776365421000,"timestamp_seconds":1776365421,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a141c8"} 
[2026-04-17 00:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:25: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-04-17 00:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-17 00:25: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-04-17 00: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-04-17 00:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:25: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-04-17 00:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749545984001,"66":27745,"218":206,"80":60160,"24":49,"16":273351166329356288,"45":5328391705592389632},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-17 00:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749545984001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:25:29] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-17 00:25:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5328391705592389632,"description":"Unknown IO ID 45"} 
[2026-04-17 00:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749545984001,"power":27745,"unknown_218":206,"unknown_80":60160,"ignition":49,"odometer":null,"unknown_45":5328391705592389632}} 
[2026-04-17 00:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":45647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:25:29] local.INFO: GPS data processed {"connection_id":45647,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:25:29] local.INFO: Acknowledgment sent {"connection_id":45647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:25:44] local.INFO: TCP Data received {"connection_id":45451,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:25:44] local.INFO: Processing buffer {"connection_id":45451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:25:44] local.INFO: Packet analysis {"connection_id":45451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:25:44] local.INFO: Extracted packet for processing {"connection_id":45451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:25:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749533952001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:25:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776365668000,"timestamp_ms":1776365668000,"timestamp_seconds":1776365668,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a506a0"} 
[2026-04-17 00:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:25:44] 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-04-17 00: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":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:25:44] 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-04-17 00: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-04-17 00:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749533952001,"66":25604,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749533952001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:25:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:25:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749533952001,"power":25604,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":45451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18250,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:25:44] local.INFO: GPS data processed {"connection_id":45451,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:25:44] local.INFO: Acknowledgment sent {"connection_id":45451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:25:52] local.INFO: TCP Data received {"connection_id":46200,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:25:52] local.INFO: Processing buffer {"connection_id":46200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:25:52] local.INFO: IMEI packet received {"connection_id":46200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":46200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:25:57] local.INFO: TCP Data received {"connection_id":46200,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46200,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:25:57] local.INFO: Processing buffer {"connection_id":46200,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:25:57] local.INFO: IMEI packet received {"connection_id":46200,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":46200,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:25:58] local.INFO: TCP Data received {"connection_id":46200,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:25:58] local.INFO: Processing buffer {"connection_id":46200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a141c8012d49dc400673de08000b00db34..."} 
[2026-04-17 00:25:58] local.INFO: Packet analysis {"connection_id":46200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:25:58] local.INFO: Extracted packet for processing {"connection_id":46200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a1"} 
[2026-04-17 00:25:58] local.INFO: GPS Element Parsed {"raw_longitude":759815232,"raw_latitude":108256776,"longitude_deg":75.9815232,"latitude_deg":10.8256776,"altitude":11,"angle":219,"satellites":52,"speed":49,"hex_longitude":"2d49dc40","hex_latitude":"0673de08","is_valid_coordinates":true} 
[2026-04-17 00:25: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-04-17 00:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749545984001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5328391705592389632,"note":"Value kept but may cause issues"} 
[2026-04-17 00:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776365421000,"timestamp_ms":1776365421000,"timestamp_seconds":1776365421,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a141c8"} 
[2026-04-17 00:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:25: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-04-17 00: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-17 00:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:25: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-04-17 00:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749545984001,"66":27745,"218":206,"80":60160,"24":49,"16":273351166329356288,"45":5328391705592389632},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-17 00:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749545984001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:25:58] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-17 00:25:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5328391705592389632,"description":"Unknown IO ID 45"} 
[2026-04-17 00:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749545984001,"power":27745,"unknown_218":206,"unknown_80":60160,"ignition":49,"odometer":null,"unknown_45":5328391705592389632}} 
[2026-04-17 00:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":46200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:25:58] local.INFO: GPS data processed {"connection_id":46200,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:25:58] local.INFO: Acknowledgment sent {"connection_id":46200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:26:11] local.INFO: TCP Data received {"connection_id":46201,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:26:11] local.INFO: Processing buffer {"connection_id":46201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:26:11] local.INFO: IMEI packet received {"connection_id":46201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":46201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:26:16] local.INFO: TCP Data received {"connection_id":46201,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46201,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:26:16] local.INFO: Processing buffer {"connection_id":46201,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:26:16] local.INFO: IMEI packet received {"connection_id":46201,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":46201,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:26:17] local.INFO: TCP Data received {"connection_id":46201,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:26:17] local.INFO: Processing buffer {"connection_id":46201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:26:17] local.INFO: Packet analysis {"connection_id":46201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:26:17] local.INFO: Extracted packet for processing {"connection_id":46201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:26:17] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749533952001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:26:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:26:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776365668000,"timestamp_ms":1776365668000,"timestamp_seconds":1776365668,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a506a0"} 
[2026-04-17 00:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:26:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:26:17] 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-04-17 00:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749533952001,"66":25604,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749533952001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:26:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:26:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749533952001,"power":25604,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":46201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18252,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:26:18] local.INFO: GPS data processed {"connection_id":46201,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:26:18] local.INFO: Acknowledgment sent {"connection_id":46201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:26:22] local.INFO: TCP Data received {"connection_id":46201,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:26:22] local.INFO: Processing buffer {"connection_id":46201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:26:22] local.INFO: Packet analysis {"connection_id":46201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:26:22] local.INFO: Extracted packet for processing {"connection_id":46201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:26:22] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:26:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749533952001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:26:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:26:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:26:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:26:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776365668000,"timestamp_ms":1776365668000,"timestamp_seconds":1776365668,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a506a0"} 
[2026-04-17 00:26:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:26:22] 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-04-17 00: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:26:22] 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-04-17 00: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-04-17 00:26:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:26:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:26:22] local.INFO: Teltonika packet parsed successfully {"connection_id":46201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:26:22] local.INFO: Passing IMEI to GPS processor {"connection_id":46201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:26:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":46201,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:26:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:26:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:26:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:26:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749533952001,"66":25604,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:26:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:26:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:26:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749533952001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:26:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:26:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:26:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:26:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749533952001,"power":25604,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:26:22] local.INFO: DEBUG: GPS processor result {"connection_id":46201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18253,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:26:22] local.INFO: GPS data processed {"connection_id":46201,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:26:22] local.INFO: Acknowledgment sent {"connection_id":46201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:26:29] local.INFO: TCP Data received {"connection_id":46200,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:26:29] local.INFO: Processing buffer {"connection_id":46200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:26:29] local.INFO: Packet analysis {"connection_id":46200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:26:29] local.INFO: Extracted packet for processing {"connection_id":46200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:26:29] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":51,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749547776001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5322199256102995968,"note":"Value kept but may cause issues"} 
[2026-04-17 00:26:29] 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-04-17 00:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776365725000,"timestamp_ms":1776365725000,"timestamp_seconds":1776365725,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a5e548"} 
[2026-04-17 00:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 00:26: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-04-17 00: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-04-17 00:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46200,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:26: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-04-17 00:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749547776001,"66":25430,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5322199256102995968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749547776001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:26:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:26:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5322199256102995968,"description":"Unknown IO ID 45"} 
[2026-04-17 00:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749547776001,"power":25430,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5322199256102995968}} 
[2026-04-17 00:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":46200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:26:29] local.INFO: GPS data processed {"connection_id":46200,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:26:29] local.INFO: Acknowledgment sent {"connection_id":46200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:26:52] local.INFO: TCP Data received {"connection_id":45387,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:26:52] local.INFO: Processing buffer {"connection_id":45387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:26:52] local.INFO: IMEI packet received {"connection_id":45387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":45387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:26:57] local.INFO: TCP Data received {"connection_id":45387,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:26:57] local.INFO: Processing buffer {"connection_id":45387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:26:57] local.INFO: IMEI packet received {"connection_id":45387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":45387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:26:58] local.INFO: TCP Data received {"connection_id":45387,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:26:58] local.INFO: Processing buffer {"connection_id":45387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:26:58] local.INFO: Packet analysis {"connection_id":45387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:26:58] local.INFO: Extracted packet for processing {"connection_id":45387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:26:58] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":51,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749547776001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5322199256102995968,"note":"Value kept but may cause issues"} 
[2026-04-17 00:26:58] 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-04-17 00:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776365725000,"timestamp_ms":1776365725000,"timestamp_seconds":1776365725,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a5e548"} 
[2026-04-17 00:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:26:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 00:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:26: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-04-17 00:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749547776001,"66":25430,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5322199256102995968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749547776001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:26:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:26:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5322199256102995968,"description":"Unknown IO ID 45"} 
[2026-04-17 00:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749547776001,"power":25430,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5322199256102995968}} 
[2026-04-17 00:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":45387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:26:58] local.INFO: GPS data processed {"connection_id":45387,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:26:58] local.INFO: Acknowledgment sent {"connection_id":45387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:27:06] local.INFO: TCP Data received {"connection_id":45452,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:27:06] local.INFO: Processing buffer {"connection_id":45452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:27:06] local.INFO: IMEI packet received {"connection_id":45452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":45452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:27:11] local.INFO: TCP Data received {"connection_id":45452,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:27:11] local.INFO: Processing buffer {"connection_id":45452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:27:11] local.INFO: IMEI packet received {"connection_id":45452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":45452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:27:12] local.INFO: TCP Data received {"connection_id":45452,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:27:12] local.INFO: Processing buffer {"connection_id":45452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:27:12] local.INFO: Packet analysis {"connection_id":45452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:27:12] local.INFO: Extracted packet for processing {"connection_id":45452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:27:12] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749533952001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:27:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776365668000,"timestamp_ms":1776365668000,"timestamp_seconds":1776365668,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a506a0"} 
[2026-04-17 00:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:27: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-04-17 00: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":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:27: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-04-17 00: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-04-17 00:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749533952001,"66":25604,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749533952001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:27:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:27:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749533952001,"power":25604,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":45452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18256,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:27:13] local.INFO: GPS data processed {"connection_id":45452,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:27:13] local.INFO: Acknowledgment sent {"connection_id":45452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:27:29] local.INFO: TCP Data received {"connection_id":45387,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:27:29] local.INFO: Processing buffer {"connection_id":45387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:27:29] local.INFO: Packet analysis {"connection_id":45387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:27:29] local.INFO: Extracted packet for processing {"connection_id":45387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:27:29] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":51,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749547776001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5322199256102995968,"note":"Value kept but may cause issues"} 
[2026-04-17 00:27:29] 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-04-17 00:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776365725000,"timestamp_ms":1776365725000,"timestamp_seconds":1776365725,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a5e548"} 
[2026-04-17 00:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:27:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 00:27: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-04-17 00: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-04-17 00:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:27: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-04-17 00:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749547776001,"66":25430,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5322199256102995968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749547776001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:27:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:27:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5322199256102995968,"description":"Unknown IO ID 45"} 
[2026-04-17 00:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749547776001,"power":25430,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5322199256102995968}} 
[2026-04-17 00:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":45387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:27:29] local.INFO: GPS data processed {"connection_id":45387,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:27:29] local.INFO: Acknowledgment sent {"connection_id":45387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:27:44] local.INFO: TCP Data received {"connection_id":45452,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:27:44] local.INFO: Processing buffer {"connection_id":45452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:27:44] local.INFO: Packet analysis {"connection_id":45452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:27:44] local.INFO: Extracted packet for processing {"connection_id":45452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:27:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:27: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-04-17 00:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749533952001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:27:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776365668000,"timestamp_ms":1776365668000,"timestamp_seconds":1776365668,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a506a0"} 
[2026-04-17 00:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:27:44] 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-04-17 00:27: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":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:27:44] 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-04-17 00:27: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-04-17 00:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749533952001,"66":25604,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749533952001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:27:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:27:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749533952001,"power":25604,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":45452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18258,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:27:44] local.INFO: GPS data processed {"connection_id":45452,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:27:44] local.INFO: Acknowledgment sent {"connection_id":45452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:27:52] local.INFO: TCP Data received {"connection_id":45453,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:27:52] local.INFO: Processing buffer {"connection_id":45453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:27:52] local.INFO: IMEI packet received {"connection_id":45453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":45453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:27:57] local.INFO: TCP Data received {"connection_id":45453,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45453,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:27:57] local.INFO: Processing buffer {"connection_id":45453,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:27:57] local.INFO: IMEI packet received {"connection_id":45453,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":45453,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:27:58] local.INFO: TCP Data received {"connection_id":45453,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:27:58] local.INFO: Processing buffer {"connection_id":45453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:27:58] local.INFO: Packet analysis {"connection_id":45453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:27:58] local.INFO: Extracted packet for processing {"connection_id":45453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:27:58] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":51,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749547776001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5322199256102995968,"note":"Value kept but may cause issues"} 
[2026-04-17 00:27:58] 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-04-17 00:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776365725000,"timestamp_ms":1776365725000,"timestamp_seconds":1776365725,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a5e548"} 
[2026-04-17 00:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 00:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749547776001,"66":25430,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5322199256102995968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749547776001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:27:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:27:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5322199256102995968,"description":"Unknown IO ID 45"} 
[2026-04-17 00:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749547776001,"power":25430,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5322199256102995968}} 
[2026-04-17 00:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":45453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:27:58] local.INFO: GPS data processed {"connection_id":45453,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:27:58] local.INFO: Acknowledgment sent {"connection_id":45453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:28:06] local.INFO: TCP Data received {"connection_id":45454,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:28:06] local.INFO: Processing buffer {"connection_id":45454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:28:06] local.INFO: IMEI packet received {"connection_id":45454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":45454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:28:11] local.INFO: TCP Data received {"connection_id":45454,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:28:11] local.INFO: Processing buffer {"connection_id":45454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:28:11] local.INFO: IMEI packet received {"connection_id":45454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":45454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:28:13] local.INFO: TCP Data received {"connection_id":45454,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:28:13] local.INFO: Processing buffer {"connection_id":45454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:28:13] local.INFO: Packet analysis {"connection_id":45454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:28:13] local.INFO: Extracted packet for processing {"connection_id":45454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:28:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749533952001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:28:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776365668000,"timestamp_ms":1776365668000,"timestamp_seconds":1776365668,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a506a0"} 
[2026-04-17 00:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:28:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749533952001,"66":25604,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749533952001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:28:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:28:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749533952001,"power":25604,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":45454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18260,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:28:13] local.INFO: GPS data processed {"connection_id":45454,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:28:13] local.INFO: Acknowledgment sent {"connection_id":45454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:28:29] local.INFO: TCP Data received {"connection_id":45453,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:28:29] local.INFO: Processing buffer {"connection_id":45453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:28:29] local.INFO: Packet analysis {"connection_id":45453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:28:29] local.INFO: Extracted packet for processing {"connection_id":45453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:28:29] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":51,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749547776001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5322199256102995968,"note":"Value kept but may cause issues"} 
[2026-04-17 00:28:29] 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-04-17 00:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776365725000,"timestamp_ms":1776365725000,"timestamp_seconds":1776365725,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a5e548"} 
[2026-04-17 00:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 00:28: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-04-17 00: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-04-17 00:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45453,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749547776001,"66":25430,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5322199256102995968},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749547776001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:28:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:28:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5322199256102995968,"description":"Unknown IO ID 45"} 
[2026-04-17 00:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749547776001,"power":25430,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5322199256102995968}} 
[2026-04-17 00:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":45453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:28:29] local.INFO: GPS data processed {"connection_id":45453,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:28:29] local.INFO: Acknowledgment sent {"connection_id":45453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:28:44] local.INFO: TCP Data received {"connection_id":45454,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:28:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:28:44] local.INFO: Processing buffer {"connection_id":45454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:28:44] local.INFO: Packet analysis {"connection_id":45454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:28:44] local.INFO: Extracted packet for processing {"connection_id":45454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:28:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:28:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749533952001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:28:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:28:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:28:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:28:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776365668000,"timestamp_ms":1776365668000,"timestamp_seconds":1776365668,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a506a0"} 
[2026-04-17 00:28:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:28:44] 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-04-17 00: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":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:28:44] 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-04-17 00: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-04-17 00:28:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:28:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:28:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:28:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:28:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:28:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:28:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:28:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:28:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749533952001,"66":25604,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:28:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:28:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:28:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749533952001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:28:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:28:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:28:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:28:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749533952001,"power":25604,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:28:44] local.INFO: DEBUG: GPS processor result {"connection_id":45454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18262,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:28:44] local.INFO: GPS data processed {"connection_id":45454,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:28:44] local.INFO: Acknowledgment sent {"connection_id":45454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:28:52] local.INFO: TCP Data received {"connection_id":46202,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:28:52] local.INFO: Processing buffer {"connection_id":46202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:28:52] local.INFO: IMEI packet received {"connection_id":46202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":46202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:28:57] local.INFO: TCP Data received {"connection_id":46202,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:28:57] local.INFO: Processing buffer {"connection_id":46202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:28:57] local.INFO: IMEI packet received {"connection_id":46202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":46202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:28:58] local.INFO: TCP Data received {"connection_id":46202,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:28:58] local.INFO: Processing buffer {"connection_id":46202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:28:58] local.INFO: Packet analysis {"connection_id":46202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:28:58] local.INFO: Extracted packet for processing {"connection_id":46202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:28:58] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":51,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749547776001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5322199256102995968,"note":"Value kept but may cause issues"} 
[2026-04-17 00:28:58] 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-04-17 00:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776365725000,"timestamp_ms":1776365725000,"timestamp_seconds":1776365725,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a5e548"} 
[2026-04-17 00:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 00:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749547776001,"66":25430,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5322199256102995968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749547776001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:28:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:28:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5322199256102995968,"description":"Unknown IO ID 45"} 
[2026-04-17 00:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749547776001,"power":25430,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5322199256102995968}} 
[2026-04-17 00:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":46202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:28:58] local.INFO: GPS data processed {"connection_id":46202,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:28:58] local.INFO: Acknowledgment sent {"connection_id":46202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:29:06] local.INFO: TCP Data received {"connection_id":45648,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:29:06] local.INFO: Processing buffer {"connection_id":45648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:29:06] local.INFO: IMEI packet received {"connection_id":45648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":45648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:29:11] local.INFO: TCP Data received {"connection_id":45648,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:29:11] local.INFO: Processing buffer {"connection_id":45648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:29:11] local.INFO: IMEI packet received {"connection_id":45648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":45648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:29:13] local.INFO: TCP Data received {"connection_id":45648,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:29:13] local.INFO: Processing buffer {"connection_id":45648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:29:13] local.INFO: Packet analysis {"connection_id":45648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:29:13] local.INFO: Extracted packet for processing {"connection_id":45648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:29:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749533952001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:29:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776365668000,"timestamp_ms":1776365668000,"timestamp_seconds":1776365668,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a506a0"} 
[2026-04-17 00:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749533952001,"66":25604,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749533952001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:29:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:29:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749533952001,"power":25604,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":45648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18264,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:29:13] local.INFO: GPS data processed {"connection_id":45648,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:29:13] local.INFO: Acknowledgment sent {"connection_id":45648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:29:29] local.INFO: TCP Data received {"connection_id":46202,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:29:29] local.INFO: Processing buffer {"connection_id":46202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:29:29] local.INFO: Packet analysis {"connection_id":46202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:29:29] local.INFO: Extracted packet for processing {"connection_id":46202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:29:29] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":51,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749547776001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5322199256102995968,"note":"Value kept but may cause issues"} 
[2026-04-17 00:29:29] 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-04-17 00:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776365725000,"timestamp_ms":1776365725000,"timestamp_seconds":1776365725,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a5e548"} 
[2026-04-17 00:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 00:29: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-04-17 00: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-04-17 00:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:29: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-04-17 00:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749547776001,"66":25430,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5322199256102995968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749547776001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:29:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:29:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5322199256102995968,"description":"Unknown IO ID 45"} 
[2026-04-17 00:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749547776001,"power":25430,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5322199256102995968}} 
[2026-04-17 00:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":46202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:29:29] local.INFO: GPS data processed {"connection_id":46202,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:29:29] local.INFO: Acknowledgment sent {"connection_id":46202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:29:45] local.INFO: TCP Data received {"connection_id":45648,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:29:45] local.INFO: Processing buffer {"connection_id":45648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a506a0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:29:45] local.INFO: Packet analysis {"connection_id":45648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:29:45] local.INFO: Extracted packet for processing {"connection_id":45648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:29:45] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:29:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749533952001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:29:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:29:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776365668000,"timestamp_ms":1776365668000,"timestamp_seconds":1776365668,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a506a0"} 
[2026-04-17 00:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:29:45] 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-04-17 00: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:29:45] 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-04-17 00: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-04-17 00:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749533952001,"66":25604,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749533952001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:29:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:29:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:29:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749533952001,"power":25604,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":45648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18266,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:29:45] local.INFO: GPS data processed {"connection_id":45648,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:29:45] local.INFO: Acknowledgment sent {"connection_id":45648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:29:57] local.INFO: TCP Data received {"connection_id":45388,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:29:57] local.INFO: Processing buffer {"connection_id":45388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:29:57] local.INFO: IMEI packet received {"connection_id":45388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":45388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:30:02] local.INFO: TCP Data received {"connection_id":45388,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:30:02] local.INFO: Processing buffer {"connection_id":45388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:30:02] local.INFO: IMEI packet received {"connection_id":45388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":45388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:30:03] local.INFO: TCP Data received {"connection_id":45388,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:30:03] local.INFO: Processing buffer {"connection_id":45388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:30:03] local.INFO: Packet analysis {"connection_id":45388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:30:03] local.INFO: Extracted packet for processing {"connection_id":45388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:30:03] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":51,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749547776001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5322199256102995968,"note":"Value kept but may cause issues"} 
[2026-04-17 00:30:03] 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-04-17 00:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776365725000,"timestamp_ms":1776365725000,"timestamp_seconds":1776365725,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a5e548"} 
[2026-04-17 00:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 00:30: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-04-17 00:30:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:30:03] 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-04-17 00:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749547776001,"66":25430,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5322199256102995968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749547776001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:30:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:30:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5322199256102995968,"description":"Unknown IO ID 45"} 
[2026-04-17 00:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749547776001,"power":25430,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5322199256102995968}} 
[2026-04-17 00:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":45388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:30:03] local.INFO: GPS data processed {"connection_id":45388,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:30:03] local.INFO: Acknowledgment sent {"connection_id":45388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:30:07] local.INFO: TCP Data received {"connection_id":45455,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:30:07] local.INFO: Processing buffer {"connection_id":45455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:30:07] local.INFO: IMEI packet received {"connection_id":45455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":45455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:30:08] local.INFO: TCP Data received {"connection_id":45388,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:30:08] local.INFO: Processing buffer {"connection_id":45388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:30:08] local.INFO: Packet analysis {"connection_id":45388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:30:08] local.INFO: Extracted packet for processing {"connection_id":45388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:30:08] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":51,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749547776001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5322199256102995968,"note":"Value kept but may cause issues"} 
[2026-04-17 00:30:08] 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-04-17 00:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776365725000,"timestamp_ms":1776365725000,"timestamp_seconds":1776365725,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a5e548"} 
[2026-04-17 00:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":97,"data_length":795,"current_offset":136} 
[2026-04-17 00:30: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-04-17 00: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-04-17 00:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":45388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":45388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":45388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:30:08] 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-04-17 00:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749547776001,"66":25430,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5322199256102995968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749547776001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:30:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:30:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5322199256102995968,"description":"Unknown IO ID 45"} 
[2026-04-17 00:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749547776001,"power":25430,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5322199256102995968}} 
[2026-04-17 00:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":45388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:30:08] local.INFO: GPS data processed {"connection_id":45388,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:30:08] local.INFO: Acknowledgment sent {"connection_id":45388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:30:11] local.INFO: TCP Data received {"connection_id":45455,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:30:11] local.INFO: Processing buffer {"connection_id":45455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:30:11] local.INFO: IMEI packet received {"connection_id":45455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":45455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:30:16] local.INFO: TCP Data received {"connection_id":45455,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:30:16] local.INFO: Processing buffer {"connection_id":45455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:30:16] local.INFO: IMEI packet received {"connection_id":45455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":45455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:30:18] local.INFO: TCP Data received {"connection_id":45455,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:30:18] local.INFO: Processing buffer {"connection_id":45455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:30:18] local.INFO: Packet analysis {"connection_id":45455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:30:18] local.INFO: Extracted packet for processing {"connection_id":45455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:30:18] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749611008001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:30:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776365969000,"timestamp_ms":1776365969000,"timestamp_seconds":1776365969,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a99e68"} 
[2026-04-17 00:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 00:30:18] 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-04-17 00:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749611008001,"66":25212,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749611008001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:30:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:30:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749611008001,"power":25212,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":45455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18269,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:30:18] local.INFO: GPS data processed {"connection_id":45455,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:30:18] local.INFO: Acknowledgment sent {"connection_id":45455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:30:22] local.INFO: TCP Data received {"connection_id":45455,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:30:22] local.INFO: Processing buffer {"connection_id":45455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:30:22] local.INFO: Packet analysis {"connection_id":45455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:30:22] local.INFO: Extracted packet for processing {"connection_id":45455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:30:22] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:30:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749611008001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:30:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:30:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:30:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:30:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776365969000,"timestamp_ms":1776365969000,"timestamp_seconds":1776365969,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a99e68"} 
[2026-04-17 00:30:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:30:22] 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-04-17 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 00:30:22] 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-04-17 00: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-04-17 00:30:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:30:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:30:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:30:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:30:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:30:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:30:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:30:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:30:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749611008001,"66":25212,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:30:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:30:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:30:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749611008001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:30:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:30:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:30:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:30:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749611008001,"power":25212,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:30:22] local.INFO: DEBUG: GPS processor result {"connection_id":45455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18270,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:30:22] local.INFO: GPS data processed {"connection_id":45455,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:30:22] local.INFO: Acknowledgment sent {"connection_id":45455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:30:52] local.INFO: TCP Data received {"connection_id":45649,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:30:52] local.INFO: Processing buffer {"connection_id":45649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:30:52] local.INFO: IMEI packet received {"connection_id":45649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":45649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:30:57] local.INFO: TCP Data received {"connection_id":45649,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:30:57] local.INFO: Processing buffer {"connection_id":45649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:30:57] local.INFO: IMEI packet received {"connection_id":45649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":45649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:30:58] local.INFO: TCP Data received {"connection_id":45649,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:30:58] local.INFO: Processing buffer {"connection_id":45649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a5e548012d49b4c00673a990000a00da33..."} 
[2026-04-17 00:30:58] local.INFO: Packet analysis {"connection_id":45649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:30:58] local.INFO: Extracted packet for processing {"connection_id":45649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a5"} 
[2026-04-17 00:30:58] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":51,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749547776001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5322199256102995968,"note":"Value kept but may cause issues"} 
[2026-04-17 00:30:58] 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-04-17 00:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776365725000,"timestamp_ms":1776365725000,"timestamp_seconds":1776365725,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a5e548"} 
[2026-04-17 00:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 00:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749547776001,"66":25430,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5322199256102995968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749547776001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:30:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:30:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5322199256102995968,"description":"Unknown IO ID 45"} 
[2026-04-17 00:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749547776001,"power":25430,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5322199256102995968}} 
[2026-04-17 00:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":45649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:30:58] local.INFO: GPS data processed {"connection_id":45649,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:30:58] local.INFO: Acknowledgment sent {"connection_id":45649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:31:06] local.INFO: TCP Data received {"connection_id":45389,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:31:06] local.INFO: Processing buffer {"connection_id":45389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:31:06] local.INFO: IMEI packet received {"connection_id":45389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":45389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:31:11] local.INFO: TCP Data received {"connection_id":45389,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:31:11] local.INFO: Processing buffer {"connection_id":45389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:31:11] local.INFO: IMEI packet received {"connection_id":45389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":45389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:31:13] local.INFO: TCP Data received {"connection_id":45389,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:31:13] local.INFO: Processing buffer {"connection_id":45389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:31:13] local.INFO: Packet analysis {"connection_id":45389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:31:13] local.INFO: Extracted packet for processing {"connection_id":45389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:31:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:31:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749611008001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:31:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:31:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776365969000,"timestamp_ms":1776365969000,"timestamp_seconds":1776365969,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a99e68"} 
[2026-04-17 00:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 00:31:13] 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-04-17 00:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749611008001,"66":25212,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749611008001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:31:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:31:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:31:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749611008001,"power":25212,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":45389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18272,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:31:13] local.INFO: GPS data processed {"connection_id":45389,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:31:13] local.INFO: Acknowledgment sent {"connection_id":45389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:31:29] local.INFO: TCP Data received {"connection_id":45649,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:31:29] local.INFO: Processing buffer {"connection_id":45649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:31:29] local.INFO: Packet analysis {"connection_id":45649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:31:29] local.INFO: Extracted packet for processing {"connection_id":45649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:31:29] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749625600001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:31:29] 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-04-17 00:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776366026000,"timestamp_ms":1776366026000,"timestamp_seconds":1776366026,"priority":1,"record_length":96,"hex_timestamp":"0000019d97aa7d10"} 
[2026-04-17 00:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":86,"data_length":795,"current_offset":136} 
[2026-04-17 00:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:31: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-04-17 00:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749625600001,"66":25158,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749625600001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:31:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:31:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749625600001,"power":25158,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":45649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:31:29] local.INFO: GPS data processed {"connection_id":45649,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:31:29] local.INFO: Acknowledgment sent {"connection_id":45649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:31:44] local.INFO: TCP Data received {"connection_id":45389,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:31:44] local.INFO: Processing buffer {"connection_id":45389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:31:44] local.INFO: Packet analysis {"connection_id":45389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:31:44] local.INFO: Extracted packet for processing {"connection_id":45389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:31:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749611008001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:31:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776365969000,"timestamp_ms":1776365969000,"timestamp_seconds":1776365969,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a99e68"} 
[2026-04-17 00:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:31:44] 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-04-17 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 00:31:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:31:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749611008001,"66":25212,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:31:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:31:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:31:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749611008001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:31:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:31:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:31:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:31:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749611008001,"power":25212,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":45389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18274,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:31:44] local.INFO: GPS data processed {"connection_id":45389,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:31:44] local.INFO: Acknowledgment sent {"connection_id":45389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:31:52] local.INFO: TCP Data received {"connection_id":45390,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:31:52] local.INFO: Processing buffer {"connection_id":45390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:31:52] local.INFO: IMEI packet received {"connection_id":45390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":45390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:31:57] local.INFO: TCP Data received {"connection_id":45390,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:31:57] local.INFO: Processing buffer {"connection_id":45390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:31:57] local.INFO: IMEI packet received {"connection_id":45390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":45390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:31:58] local.INFO: TCP Data received {"connection_id":45390,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:31:58] local.INFO: Processing buffer {"connection_id":45390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:31:58] local.INFO: Packet analysis {"connection_id":45390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:31:58] local.INFO: Extracted packet for processing {"connection_id":45390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:31:58] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749625600001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:31:58] 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-04-17 00:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776366026000,"timestamp_ms":1776366026000,"timestamp_seconds":1776366026,"priority":1,"record_length":96,"hex_timestamp":"0000019d97aa7d10"} 
[2026-04-17 00:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 00:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749625600001,"66":25158,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749625600001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:31:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:31:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749625600001,"power":25158,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":45390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:31:58] local.INFO: GPS data processed {"connection_id":45390,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:31:58] local.INFO: Acknowledgment sent {"connection_id":45390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:32:11] local.INFO: TCP Data received {"connection_id":45391,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:32:11] local.INFO: Processing buffer {"connection_id":45391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:32:11] local.INFO: IMEI packet received {"connection_id":45391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":45391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:32:16] local.INFO: TCP Data received {"connection_id":45391,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:32:16] local.INFO: Processing buffer {"connection_id":45391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:32:16] local.INFO: IMEI packet received {"connection_id":45391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":45391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:32:18] local.INFO: TCP Data received {"connection_id":45391,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:32:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:32:18] local.INFO: Processing buffer {"connection_id":45391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:32:18] local.INFO: Packet analysis {"connection_id":45391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:32:18] local.INFO: Extracted packet for processing {"connection_id":45391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:32:18] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:32:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749611008001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:32:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:32:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:32:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:32:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776365969000,"timestamp_ms":1776365969000,"timestamp_seconds":1776365969,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a99e68"} 
[2026-04-17 00:32:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:32:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:32:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 00:32:18] 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-04-17 00:32:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:32:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:32:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:32:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:32:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:32:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:32:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:32:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:32:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:32:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749611008001,"66":25212,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:32:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:32:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:32:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749611008001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:32:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:32:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:32:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:32:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749611008001,"power":25212,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:32:18] local.INFO: DEBUG: GPS processor result {"connection_id":45391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18276,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:32:18] local.INFO: GPS data processed {"connection_id":45391,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:32:18] local.INFO: Acknowledgment sent {"connection_id":45391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:32:29] local.INFO: TCP Data received {"connection_id":45390,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:32:29] local.INFO: Processing buffer {"connection_id":45390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:32:29] local.INFO: Packet analysis {"connection_id":45390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:32:29] local.INFO: Extracted packet for processing {"connection_id":45390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:32:29] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749625600001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:32:29] 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-04-17 00:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776366026000,"timestamp_ms":1776366026000,"timestamp_seconds":1776366026,"priority":1,"record_length":96,"hex_timestamp":"0000019d97aa7d10"} 
[2026-04-17 00:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:32:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 00:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:32:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:32: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-04-17 00:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749625600001,"66":25158,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749625600001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:32:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:32:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749625600001,"power":25158,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":45390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:32:29] local.INFO: GPS data processed {"connection_id":45390,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:32:29] local.INFO: Acknowledgment sent {"connection_id":45390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:32:49] local.INFO: TCP Data received {"connection_id":45391,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:32:49] local.INFO: Processing buffer {"connection_id":45391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:32:49] local.INFO: Packet analysis {"connection_id":45391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:32:49] local.INFO: Extracted packet for processing {"connection_id":45391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:32:49] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:32:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749611008001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:32:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:32:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:32:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:32:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776365969000,"timestamp_ms":1776365969000,"timestamp_seconds":1776365969,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a99e68"} 
[2026-04-17 00:32:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:32:49] 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-04-17 00:32:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 00:32:49] 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-04-17 00: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-04-17 00:32:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:32:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:32:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:32:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:32:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45391,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:32:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:32:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:32:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:32:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749611008001,"66":25212,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:32:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:32:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:32:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749611008001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:32:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:32:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:32:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:32:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749611008001,"power":25212,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:32:49] local.INFO: DEBUG: GPS processor result {"connection_id":45391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18278,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:32:49] local.INFO: GPS data processed {"connection_id":45391,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:32:49] local.INFO: Acknowledgment sent {"connection_id":45391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:32:52] local.INFO: TCP Data received {"connection_id":45392,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:32:52] local.INFO: Processing buffer {"connection_id":45392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:32:52] local.INFO: IMEI packet received {"connection_id":45392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":45392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:32:57] local.INFO: TCP Data received {"connection_id":45392,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:32:57] local.INFO: Processing buffer {"connection_id":45392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:32:57] local.INFO: IMEI packet received {"connection_id":45392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":45392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:32:58] local.INFO: TCP Data received {"connection_id":45392,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:32:58] local.INFO: Processing buffer {"connection_id":45392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:32:58] local.INFO: Packet analysis {"connection_id":45392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:32:58] local.INFO: Extracted packet for processing {"connection_id":45392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:32:58] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749625600001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:32:58] 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-04-17 00:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776366026000,"timestamp_ms":1776366026000,"timestamp_seconds":1776366026,"priority":1,"record_length":96,"hex_timestamp":"0000019d97aa7d10"} 
[2026-04-17 00:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 00:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749625600001,"66":25158,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749625600001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:32:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:32:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749625600001,"power":25158,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":45392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:32:58] local.INFO: GPS data processed {"connection_id":45392,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:32:58] local.INFO: Acknowledgment sent {"connection_id":45392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:33:06] local.INFO: TCP Data received {"connection_id":45456,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:33:06] local.INFO: Processing buffer {"connection_id":45456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:33:06] local.INFO: IMEI packet received {"connection_id":45456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":45456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:33:11] local.INFO: TCP Data received {"connection_id":45456,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:33:11] local.INFO: Processing buffer {"connection_id":45456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:33:11] local.INFO: IMEI packet received {"connection_id":45456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":45456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:33:12] local.INFO: TCP Data received {"connection_id":45456,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:33:12] local.INFO: Processing buffer {"connection_id":45456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:33:12] local.INFO: Packet analysis {"connection_id":45456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:33:12] local.INFO: Extracted packet for processing {"connection_id":45456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:33:12] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:33:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749611008001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:33:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:33:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:33:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:33:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776365969000,"timestamp_ms":1776365969000,"timestamp_seconds":1776365969,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a99e68"} 
[2026-04-17 00:33:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:33: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-04-17 00:33:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 00:33:12] 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-04-17 00:33:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:33:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:33:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:33:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:33:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:33:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:33:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:33:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:33:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:33:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749611008001,"66":25212,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:33:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:33:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:33:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749611008001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:33:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:33:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:33:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:33:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749611008001,"power":25212,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:33:12] local.INFO: DEBUG: GPS processor result {"connection_id":45456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:33:12] local.INFO: GPS data processed {"connection_id":45456,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:33:12] local.INFO: Acknowledgment sent {"connection_id":45456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:33:29] local.INFO: TCP Data received {"connection_id":45392,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:33:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:33:29] local.INFO: Processing buffer {"connection_id":45392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:33:29] local.INFO: Packet analysis {"connection_id":45392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:33:29] local.INFO: Extracted packet for processing {"connection_id":45392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:33:29] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:33:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749625600001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:33:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:33:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:33:29] 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-04-17 00:33:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776366026000,"timestamp_ms":1776366026000,"timestamp_seconds":1776366026,"priority":1,"record_length":96,"hex_timestamp":"0000019d97aa7d10"} 
[2026-04-17 00:33:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:33:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":86,"data_length":795,"current_offset":136} 
[2026-04-17 00:33:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:33:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:33:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:33:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:33:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:33:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:33: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-04-17 00:33:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:33:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:33:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749625600001,"66":25158,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:33:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:33:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:33:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749625600001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:33:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:33:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:33:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:33:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:33:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749625600001,"power":25158,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":45392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:33:29] local.INFO: GPS data processed {"connection_id":45392,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:33:29] local.INFO: Acknowledgment sent {"connection_id":45392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:33:44] local.INFO: TCP Data received {"connection_id":45456,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:33:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:33:44] local.INFO: Processing buffer {"connection_id":45456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:33:44] local.INFO: Packet analysis {"connection_id":45456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:33:44] local.INFO: Extracted packet for processing {"connection_id":45456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:33:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:33:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749611008001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:33:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:33:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:33:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:33:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776365969000,"timestamp_ms":1776365969000,"timestamp_seconds":1776365969,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a99e68"} 
[2026-04-17 00:33:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:33:44] 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-04-17 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 00:33:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:33:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:33:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:33:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:33:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:33:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:33:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:33:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:33:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:33:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749611008001,"66":25212,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:33:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:33:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:33:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749611008001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:33:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:33:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:33:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:33:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749611008001,"power":25212,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:33:44] local.INFO: DEBUG: GPS processor result {"connection_id":45456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18282,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:33:44] local.INFO: GPS data processed {"connection_id":45456,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:33:44] local.INFO: Acknowledgment sent {"connection_id":45456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:33:52] local.INFO: TCP Data received {"connection_id":45393,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:33:52] local.INFO: Processing buffer {"connection_id":45393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:33:52] local.INFO: IMEI packet received {"connection_id":45393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":45393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:33:57] local.INFO: TCP Data received {"connection_id":45393,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45393,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:33:57] local.INFO: Processing buffer {"connection_id":45393,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:33:57] local.INFO: IMEI packet received {"connection_id":45393,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":45393,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:33:58] local.INFO: TCP Data received {"connection_id":45393,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:33:58] local.INFO: Processing buffer {"connection_id":45393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:33:58] local.INFO: Packet analysis {"connection_id":45393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:33:58] local.INFO: Extracted packet for processing {"connection_id":45393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:33:58] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749625600001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:33:58] 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-04-17 00:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776366026000,"timestamp_ms":1776366026000,"timestamp_seconds":1776366026,"priority":1,"record_length":96,"hex_timestamp":"0000019d97aa7d10"} 
[2026-04-17 00:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 00:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749625600001,"66":25158,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749625600001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:33:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:33:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749625600001,"power":25158,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":45393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:33:58] local.INFO: GPS data processed {"connection_id":45393,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:33:58] local.INFO: Acknowledgment sent {"connection_id":45393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:34:11] local.INFO: TCP Data received {"connection_id":46203,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:34:11] local.INFO: Processing buffer {"connection_id":46203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:34:11] local.INFO: IMEI packet received {"connection_id":46203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":46203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:34:16] local.INFO: TCP Data received {"connection_id":46203,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46203,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:34:16] local.INFO: Processing buffer {"connection_id":46203,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:34:16] local.INFO: IMEI packet received {"connection_id":46203,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":46203,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:34:17] local.INFO: TCP Data received {"connection_id":46203,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:34:17] local.INFO: Processing buffer {"connection_id":46203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:34:17] local.INFO: Packet analysis {"connection_id":46203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:34:17] local.INFO: Extracted packet for processing {"connection_id":46203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:34:17] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:34:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749611008001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:34:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:34:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:34:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:34:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776365969000,"timestamp_ms":1776365969000,"timestamp_seconds":1776365969,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a99e68"} 
[2026-04-17 00:34:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:34:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:34:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 00:34:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:34:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:34:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:34:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:34:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:34:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:34:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:34:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:34:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:34:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:34:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749611008001,"66":25212,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:34:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:34:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:34:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749611008001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:34:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:34:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:34:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:34:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749611008001,"power":25212,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":46203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:34:18] local.INFO: GPS data processed {"connection_id":46203,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:34:18] local.INFO: Acknowledgment sent {"connection_id":46203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:34:22] local.INFO: TCP Data received {"connection_id":46203,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46203,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:34:22] local.INFO: Processing buffer {"connection_id":46203,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97a99e68012cdf4ec0073240700013006733..."} 
[2026-04-17 00:34:22] local.INFO: Packet analysis {"connection_id":46203,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:34:22] local.INFO: Extracted packet for processing {"connection_id":46203,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97a9"} 
[2026-04-17 00:34:22] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749611008001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:34:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:34:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776365969000,"timestamp_ms":1776365969000,"timestamp_seconds":1776365969,"priority":1,"record_length":96,"hex_timestamp":"0000019d97a99e68"} 
[2026-04-17 00:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:34:22] 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-04-17 00: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 00:34:22] 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-04-17 00: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-04-17 00:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":46203,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":46203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":46203,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749611008001,"66":25212,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749611008001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:34:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:34:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749611008001,"power":25212,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":46203,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18285,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:34:22] local.INFO: GPS data processed {"connection_id":46203,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:34:22] local.INFO: Acknowledgment sent {"connection_id":46203,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:34:29] local.INFO: TCP Data received {"connection_id":45393,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:34:29] local.INFO: Processing buffer {"connection_id":45393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:34:29] local.INFO: Packet analysis {"connection_id":45393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:34:29] local.INFO: Extracted packet for processing {"connection_id":45393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:34:29] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749625600001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:34:29] 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-04-17 00:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776366026000,"timestamp_ms":1776366026000,"timestamp_seconds":1776366026,"priority":1,"record_length":96,"hex_timestamp":"0000019d97aa7d10"} 
[2026-04-17 00:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:34:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":86,"data_length":795,"current_offset":136} 
[2026-04-17 00:34:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45393,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:34: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-04-17 00:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749625600001,"66":25158,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749625600001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:34:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:34:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749625600001,"power":25158,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":45393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:34:29] local.INFO: GPS data processed {"connection_id":45393,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:34:29] local.INFO: Acknowledgment sent {"connection_id":45393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:34:57] local.INFO: TCP Data received {"connection_id":46204,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:34:57] local.INFO: Processing buffer {"connection_id":46204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:34:57] local.INFO: IMEI packet received {"connection_id":46204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":46204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:35:02] local.INFO: TCP Data received {"connection_id":46204,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:35:02] local.INFO: Processing buffer {"connection_id":46204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:35:02] local.INFO: IMEI packet received {"connection_id":46204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":46204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:35:03] local.INFO: TCP Data received {"connection_id":46204,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:35:03] local.INFO: Processing buffer {"connection_id":46204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:35:03] local.INFO: Packet analysis {"connection_id":46204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:35:03] local.INFO: Extracted packet for processing {"connection_id":46204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:35:03] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749625600001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:35:03] 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-04-17 00:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776366026000,"timestamp_ms":1776366026000,"timestamp_seconds":1776366026,"priority":1,"record_length":96,"hex_timestamp":"0000019d97aa7d10"} 
[2026-04-17 00:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:35:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 00:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749625600001,"66":25158,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749625600001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:35:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:35:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749625600001,"power":25158,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":46204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:35:03] local.INFO: GPS data processed {"connection_id":46204,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:35:03] local.INFO: Acknowledgment sent {"connection_id":46204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:35:06] local.INFO: TCP Data received {"connection_id":45394,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:35:06] local.INFO: Processing buffer {"connection_id":45394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:35:06] local.INFO: IMEI packet received {"connection_id":45394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":45394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:35:08] local.INFO: TCP Data received {"connection_id":45394,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:35:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:35:08] local.INFO: Processing buffer {"connection_id":45394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:35:08] local.INFO: IMEI packet received {"connection_id":45394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:35:08] local.INFO: IMEI acknowledgment sent {"connection_id":45394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:35:09] local.INFO: TCP Data received {"connection_id":45394,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:35:09] local.INFO: Processing buffer {"connection_id":45394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:35:09] local.INFO: Packet analysis {"connection_id":45394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:35:09] local.INFO: Extracted packet for processing {"connection_id":45394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:35:09] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749688064001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:35:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776366270000,"timestamp_ms":1776366270000,"timestamp_seconds":1776366270,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ae3630"} 
[2026-04-17 00:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:35:09] 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-04-17 00: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 00:35:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":45394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":45394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":45394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:35:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749688064001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749688064001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:35:09] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:35:09] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749688064001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":45394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18288,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:35:09] local.INFO: GPS data processed {"connection_id":45394,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:35:09] local.INFO: Acknowledgment sent {"connection_id":45394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:35:34] local.INFO: TCP Data received {"connection_id":46204,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:35:34] local.INFO: Processing buffer {"connection_id":46204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:35:34] local.INFO: Packet analysis {"connection_id":46204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:35:34] local.INFO: Extracted packet for processing {"connection_id":46204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:35:34] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749625600001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:35:34] 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-04-17 00:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776366026000,"timestamp_ms":1776366026000,"timestamp_seconds":1776366026,"priority":1,"record_length":96,"hex_timestamp":"0000019d97aa7d10"} 
[2026-04-17 00:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:35:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 00:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":46204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":46204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":46204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:35: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-04-17 00:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749625600001,"66":25158,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749625600001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:35:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:35:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:35:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749625600001,"power":25158,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":46204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:35:34] local.INFO: GPS data processed {"connection_id":46204,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:35:34] local.INFO: Acknowledgment sent {"connection_id":46204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:35:41] local.INFO: TCP Data received {"connection_id":45394,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:35:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:35:41] local.INFO: Processing buffer {"connection_id":45394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:35:41] local.INFO: Packet analysis {"connection_id":45394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:35:41] local.INFO: Extracted packet for processing {"connection_id":45394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:35:41] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:35:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749688064001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:35:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:35:41] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:35:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:35:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776366270000,"timestamp_ms":1776366270000,"timestamp_seconds":1776366270,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ae3630"} 
[2026-04-17 00:35:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:35:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:35:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 00:35:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:35:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:35:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:35:41] local.INFO: Teltonika packet parsed successfully {"connection_id":45394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:35:41] local.INFO: Passing IMEI to GPS processor {"connection_id":45394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:35:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":45394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:35:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:35:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:35:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:35:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749688064001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:35:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:35:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:35:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749688064001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:35:41] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:35:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:35:41] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:35:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749688064001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:35:41] local.INFO: DEBUG: GPS processor result {"connection_id":45394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18290,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:35:41] local.INFO: GPS data processed {"connection_id":45394,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:35:41] local.INFO: Acknowledgment sent {"connection_id":45394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:35:52] local.INFO: TCP Data received {"connection_id":45457,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:35:52] local.INFO: Processing buffer {"connection_id":45457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:35:52] local.INFO: IMEI packet received {"connection_id":45457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":45457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:35:57] local.INFO: TCP Data received {"connection_id":45457,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:35:57] local.INFO: Processing buffer {"connection_id":45457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:35:57] local.INFO: IMEI packet received {"connection_id":45457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":45457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:35:58] local.INFO: TCP Data received {"connection_id":45457,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:35:58] local.INFO: Processing buffer {"connection_id":45457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97aa7d10012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:35:58] local.INFO: Packet analysis {"connection_id":45457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:35:58] local.INFO: Extracted packet for processing {"connection_id":45457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97aa"} 
[2026-04-17 00:35:58] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749625600001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:35:58] 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-04-17 00:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776366026000,"timestamp_ms":1776366026000,"timestamp_seconds":1776366026,"priority":1,"record_length":96,"hex_timestamp":"0000019d97aa7d10"} 
[2026-04-17 00:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:35:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 00:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749625600001,"66":25158,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749625600001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:35:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:35:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749625600001,"power":25158,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:35:58] local.INFO: DEBUG: GPS processor result {"connection_id":45457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:35:58] local.INFO: GPS data processed {"connection_id":45457,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:35:58] local.INFO: Acknowledgment sent {"connection_id":45457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:36:06] local.INFO: TCP Data received {"connection_id":46205,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:36:06] local.INFO: Processing buffer {"connection_id":46205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:36:06] local.INFO: IMEI packet received {"connection_id":46205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":46205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:36:11] local.INFO: TCP Data received {"connection_id":46205,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46205,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:36:11] local.INFO: Processing buffer {"connection_id":46205,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:36:11] local.INFO: IMEI packet received {"connection_id":46205,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":46205,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:36:13] local.INFO: TCP Data received {"connection_id":46205,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:36:13] local.INFO: Processing buffer {"connection_id":46205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:36:13] local.INFO: Packet analysis {"connection_id":46205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:36:13] local.INFO: Extracted packet for processing {"connection_id":46205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:36:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749688064001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:36:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:36:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776366270000,"timestamp_ms":1776366270000,"timestamp_seconds":1776366270,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ae3630"} 
[2026-04-17 00:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 00:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749688064001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749688064001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:36:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:36:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749688064001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":46205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18292,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:36:13] local.INFO: GPS data processed {"connection_id":46205,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:36:13] local.INFO: Acknowledgment sent {"connection_id":46205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:36:29] local.INFO: TCP Data received {"connection_id":45457,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:36:29] local.INFO: Processing buffer {"connection_id":45457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:36:29] local.INFO: Packet analysis {"connection_id":45457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:36:29] local.INFO: Extracted packet for processing {"connection_id":45457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:36:29] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":50,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749702656001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:36:29] 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-04-17 00:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776366327000,"timestamp_ms":1776366327000,"timestamp_seconds":1776366327,"priority":1,"record_length":96,"hex_timestamp":"0000019d97af14d8"} 
[2026-04-17 00:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:36:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 00:36:29] 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-04-17 00:36:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:36: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-04-17 00:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749702656001,"66":25180,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749702656001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:36:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:36:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749702656001,"power":25180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":45457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:36:29] local.INFO: GPS data processed {"connection_id":45457,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:36:29] local.INFO: Acknowledgment sent {"connection_id":45457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:36:44] local.INFO: TCP Data received {"connection_id":46205,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:36:44] local.INFO: Processing buffer {"connection_id":46205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:36:44] local.INFO: Packet analysis {"connection_id":46205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:36:44] local.INFO: Extracted packet for processing {"connection_id":46205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:36:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749688064001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:36:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776366270000,"timestamp_ms":1776366270000,"timestamp_seconds":1776366270,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ae3630"} 
[2026-04-17 00:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:36:44] 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-04-17 00: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 00:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46205,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749688064001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749688064001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:36:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:36:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749688064001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":46205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18294,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:36:44] local.INFO: GPS data processed {"connection_id":46205,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:36:44] local.INFO: Acknowledgment sent {"connection_id":46205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:36:52] local.INFO: TCP Data received {"connection_id":45395,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:36:52] local.INFO: Processing buffer {"connection_id":45395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:36:52] local.INFO: IMEI packet received {"connection_id":45395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":45395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:36:57] local.INFO: TCP Data received {"connection_id":45395,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:36:57] local.INFO: Processing buffer {"connection_id":45395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:36:57] local.INFO: IMEI packet received {"connection_id":45395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":45395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:36:58] local.INFO: TCP Data received {"connection_id":45395,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:36:58] local.INFO: Processing buffer {"connection_id":45395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:36:58] local.INFO: Packet analysis {"connection_id":45395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:36:58] local.INFO: Extracted packet for processing {"connection_id":45395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:36:58] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":50,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749702656001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:36:58] 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-04-17 00:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776366327000,"timestamp_ms":1776366327000,"timestamp_seconds":1776366327,"priority":1,"record_length":96,"hex_timestamp":"0000019d97af14d8"} 
[2026-04-17 00:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 00:36:58] 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-04-17 00: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-04-17 00:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749702656001,"66":25180,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749702656001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:36:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:36:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749702656001,"power":25180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":45395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:36:58] local.INFO: GPS data processed {"connection_id":45395,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:36:58] local.INFO: Acknowledgment sent {"connection_id":45395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:37:06] local.INFO: TCP Data received {"connection_id":46206,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:37:06] local.INFO: Processing buffer {"connection_id":46206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:37:06] local.INFO: IMEI packet received {"connection_id":46206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":46206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:37:11] local.INFO: TCP Data received {"connection_id":46206,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:37:11] local.INFO: Processing buffer {"connection_id":46206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:37:11] local.INFO: IMEI packet received {"connection_id":46206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":46206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:37:14] local.INFO: TCP Data received {"connection_id":46206,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:37:14] local.INFO: Processing buffer {"connection_id":46206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:37:14] local.INFO: Packet analysis {"connection_id":46206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:37:14] local.INFO: Extracted packet for processing {"connection_id":46206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:37:14] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749688064001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:37:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:37:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776366270000,"timestamp_ms":1776366270000,"timestamp_seconds":1776366270,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ae3630"} 
[2026-04-17 00:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:37:14] 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-04-17 00:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 00:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":46206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":46206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":46206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749688064001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749688064001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:37:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:37:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749688064001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":46206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18296,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:37:14] local.INFO: GPS data processed {"connection_id":46206,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:37:14] local.INFO: Acknowledgment sent {"connection_id":46206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:37:29] local.INFO: TCP Data received {"connection_id":45395,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:37:29] local.INFO: Processing buffer {"connection_id":45395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:37:29] local.INFO: Packet analysis {"connection_id":45395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:37:29] local.INFO: Extracted packet for processing {"connection_id":45395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:37:29] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":50,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749702656001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:37:29] 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-04-17 00:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776366327000,"timestamp_ms":1776366327000,"timestamp_seconds":1776366327,"priority":1,"record_length":96,"hex_timestamp":"0000019d97af14d8"} 
[2026-04-17 00:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 00:37:29] 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-04-17 00:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:37: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-04-17 00:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749702656001,"66":25180,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749702656001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:37:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:37:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749702656001,"power":25180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":45395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:37:29] local.INFO: GPS data processed {"connection_id":45395,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:37:29] local.INFO: Acknowledgment sent {"connection_id":45395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:37:45] local.INFO: TCP Data received {"connection_id":46206,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:37:45] local.INFO: Processing buffer {"connection_id":46206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:37:45] local.INFO: Packet analysis {"connection_id":46206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:37:45] local.INFO: Extracted packet for processing {"connection_id":46206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:37:45] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749688064001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:37:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:37:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776366270000,"timestamp_ms":1776366270000,"timestamp_seconds":1776366270,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ae3630"} 
[2026-04-17 00:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:37:45] 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-04-17 00:37:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 00:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46206,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749688064001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749688064001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:37:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:37:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749688064001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":46206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:37:45] local.INFO: GPS data processed {"connection_id":46206,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:37:45] local.INFO: Acknowledgment sent {"connection_id":46206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:37:53] local.INFO: TCP Data received {"connection_id":46207,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:37:53] local.INFO: Processing buffer {"connection_id":46207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:37:53] local.INFO: IMEI packet received {"connection_id":46207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":46207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:37:57] local.INFO: TCP Data received {"connection_id":46207,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:37:57] local.INFO: Processing buffer {"connection_id":46207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:37:57] local.INFO: IMEI packet received {"connection_id":46207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":46207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:37:58] local.INFO: TCP Data received {"connection_id":46207,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:37:58] local.INFO: Processing buffer {"connection_id":46207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:37:58] local.INFO: Packet analysis {"connection_id":46207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:37:58] local.INFO: Extracted packet for processing {"connection_id":46207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:37:58] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":50,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749702656001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:37:58] 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-04-17 00:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776366327000,"timestamp_ms":1776366327000,"timestamp_seconds":1776366327,"priority":1,"record_length":96,"hex_timestamp":"0000019d97af14d8"} 
[2026-04-17 00:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 00:37:58] 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-04-17 00: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-04-17 00:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749702656001,"66":25180,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749702656001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:37:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:37:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749702656001,"power":25180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":46207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:37:58] local.INFO: GPS data processed {"connection_id":46207,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:37:58] local.INFO: Acknowledgment sent {"connection_id":46207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:38:11] local.INFO: TCP Data received {"connection_id":45396,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:38:11] local.INFO: Processing buffer {"connection_id":45396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:38:11] local.INFO: IMEI packet received {"connection_id":45396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":45396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:38:16] local.INFO: TCP Data received {"connection_id":45396,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:38:16] local.INFO: Processing buffer {"connection_id":45396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:38:16] local.INFO: IMEI packet received {"connection_id":45396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":45396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:38:18] local.INFO: TCP Data received {"connection_id":45396,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:38:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:38:18] local.INFO: Processing buffer {"connection_id":45396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:38:18] local.INFO: Packet analysis {"connection_id":45396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:38:18] local.INFO: Extracted packet for processing {"connection_id":45396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:38:18] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:38:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749688064001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:38:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:38:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:38:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:38:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776366270000,"timestamp_ms":1776366270000,"timestamp_seconds":1776366270,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ae3630"} 
[2026-04-17 00:38:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:38:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:38:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 00:38:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:38:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:38:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:38:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:38:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:38:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:38:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:38:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:38:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:38:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:38:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749688064001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:38:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:38:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:38:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749688064001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:38:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:38:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:38:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:38:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749688064001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:38:18] local.INFO: DEBUG: GPS processor result {"connection_id":45396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18300,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:38:18] local.INFO: GPS data processed {"connection_id":45396,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:38:18] local.INFO: Acknowledgment sent {"connection_id":45396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:38:29] local.INFO: TCP Data received {"connection_id":46207,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:38:29] local.INFO: Processing buffer {"connection_id":46207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:38:29] local.INFO: Packet analysis {"connection_id":46207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:38:29] local.INFO: Extracted packet for processing {"connection_id":46207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:38:29] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":50,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749702656001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:38:29] 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-04-17 00:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776366327000,"timestamp_ms":1776366327000,"timestamp_seconds":1776366327,"priority":1,"record_length":96,"hex_timestamp":"0000019d97af14d8"} 
[2026-04-17 00:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 00:38:29] 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-04-17 00: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-04-17 00:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:38: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-04-17 00:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749702656001,"66":25180,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749702656001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:38:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:38:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749702656001,"power":25180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":46207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:38:29] local.INFO: GPS data processed {"connection_id":46207,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:38:29] local.INFO: Acknowledgment sent {"connection_id":46207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:38:50] local.INFO: TCP Data received {"connection_id":45396,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:38:50] local.INFO: Processing buffer {"connection_id":45396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:38:50] local.INFO: Packet analysis {"connection_id":45396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:38:50] local.INFO: Extracted packet for processing {"connection_id":45396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:38:50] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:38:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749688064001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:38:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:38:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:38:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:38:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776366270000,"timestamp_ms":1776366270000,"timestamp_seconds":1776366270,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ae3630"} 
[2026-04-17 00:38:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:38:50] 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-04-17 00:38:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 00:38:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:38:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:38:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:38:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:38:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:38:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:38:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:38:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:38:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:38:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749688064001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:38:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:38:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:38:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749688064001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:38:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:38:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:38:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:38:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749688064001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:38:50] local.INFO: DEBUG: GPS processor result {"connection_id":45396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18302,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:38:50] local.INFO: GPS data processed {"connection_id":45396,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:38:50] local.INFO: Acknowledgment sent {"connection_id":45396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:38:57] local.INFO: TCP Data received {"connection_id":45650,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:38:57] local.INFO: Processing buffer {"connection_id":45650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:38:57] local.INFO: IMEI packet received {"connection_id":45650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":45650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:39:02] local.INFO: TCP Data received {"connection_id":45650,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:39:02] local.INFO: Processing buffer {"connection_id":45650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:39:02] local.INFO: IMEI packet received {"connection_id":45650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":45650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:39:03] local.INFO: TCP Data received {"connection_id":45650,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:39:03] local.INFO: Processing buffer {"connection_id":45650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:39:03] local.INFO: Packet analysis {"connection_id":45650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:39:03] local.INFO: Extracted packet for processing {"connection_id":45650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:39:03] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":50,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749702656001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:39:03] 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-04-17 00:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776366327000,"timestamp_ms":1776366327000,"timestamp_seconds":1776366327,"priority":1,"record_length":96,"hex_timestamp":"0000019d97af14d8"} 
[2026-04-17 00:39:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:39:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 00:39:03] 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-04-17 00:39:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:39:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:39:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749702656001,"66":25180,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749702656001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:39:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:39:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749702656001,"power":25180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":45650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:39:03] local.INFO: GPS data processed {"connection_id":45650,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:39:03] local.INFO: Acknowledgment sent {"connection_id":45650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:39:06] local.INFO: TCP Data received {"connection_id":45397,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:39:06] local.INFO: Processing buffer {"connection_id":45397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:39:06] local.INFO: IMEI packet received {"connection_id":45397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":45397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:39:08] local.INFO: TCP Data received {"connection_id":45650,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:39:08] local.INFO: Processing buffer {"connection_id":45650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:39:08] local.INFO: Packet analysis {"connection_id":45650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:39:08] local.INFO: Extracted packet for processing {"connection_id":45650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:39:08] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":50,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:39:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749702656001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:39:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:39:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:39:08] 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-04-17 00:39:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776366327000,"timestamp_ms":1776366327000,"timestamp_seconds":1776366327,"priority":1,"record_length":96,"hex_timestamp":"0000019d97af14d8"} 
[2026-04-17 00:39:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:39:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 00:39:08] 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-04-17 00: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-04-17 00:39:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:39:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:39:08] local.INFO: Teltonika packet parsed successfully {"connection_id":45650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:39:08] local.INFO: Passing IMEI to GPS processor {"connection_id":45650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:39:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":45650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:39:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:39:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:39:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:39:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749702656001,"66":25180,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:39:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:39:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:39:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749702656001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:39:08] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:39:08] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:39:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:39:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:39:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749702656001,"power":25180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:39:08] local.INFO: DEBUG: GPS processor result {"connection_id":45650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:39:08] local.INFO: GPS data processed {"connection_id":45650,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:39:08] local.INFO: Acknowledgment sent {"connection_id":45650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:39:11] local.INFO: TCP Data received {"connection_id":45397,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45397,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:39:11] local.INFO: Processing buffer {"connection_id":45397,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:39:11] local.INFO: IMEI packet received {"connection_id":45397,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":45397,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:39:13] local.INFO: TCP Data received {"connection_id":45397,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:39:13] local.INFO: Processing buffer {"connection_id":45397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:39:13] local.INFO: Packet analysis {"connection_id":45397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:39:13] local.INFO: Extracted packet for processing {"connection_id":45397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:39:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749688064001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:39:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:39:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776366270000,"timestamp_ms":1776366270000,"timestamp_seconds":1776366270,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ae3630"} 
[2026-04-17 00:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:39:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 00:39:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749688064001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749688064001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:39:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:39:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749688064001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":45397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18305,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:39:13] local.INFO: GPS data processed {"connection_id":45397,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:39:13] local.INFO: Acknowledgment sent {"connection_id":45397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:39:45] local.INFO: TCP Data received {"connection_id":45397,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:39:45] local.INFO: Processing buffer {"connection_id":45397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ae3630012cdf4ec0073240700013006733..."} 
[2026-04-17 00:39:45] local.INFO: Packet analysis {"connection_id":45397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:39:45] local.INFO: Extracted packet for processing {"connection_id":45397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ae"} 
[2026-04-17 00:39:45] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749688064001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:39:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:39:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776366270000,"timestamp_ms":1776366270000,"timestamp_seconds":1776366270,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ae3630"} 
[2026-04-17 00:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:39:45] 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-04-17 00:39:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 00:39:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45397,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749688064001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749688064001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:39:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:39:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749688064001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":45397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:39:45] local.INFO: GPS data processed {"connection_id":45397,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:39:45] local.INFO: Acknowledgment sent {"connection_id":45397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:39:52] local.INFO: TCP Data received {"connection_id":45458,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:39:52] local.INFO: Processing buffer {"connection_id":45458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:39:52] local.INFO: IMEI packet received {"connection_id":45458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":45458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:39:57] local.INFO: TCP Data received {"connection_id":45458,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:39:57] local.INFO: Processing buffer {"connection_id":45458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:39:57] local.INFO: IMEI packet received {"connection_id":45458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":45458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:39:58] local.INFO: TCP Data received {"connection_id":45458,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:39:58] local.INFO: Processing buffer {"connection_id":45458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:39:58] local.INFO: Packet analysis {"connection_id":45458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:39:58] local.INFO: Extracted packet for processing {"connection_id":45458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:39:58] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":50,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749702656001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:39:58] 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-04-17 00:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776366327000,"timestamp_ms":1776366327000,"timestamp_seconds":1776366327,"priority":1,"record_length":96,"hex_timestamp":"0000019d97af14d8"} 
[2026-04-17 00:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 00:39:58] 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-04-17 00:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749702656001,"66":25180,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749702656001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:39:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:39:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749702656001,"power":25180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":45458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:39:58] local.INFO: GPS data processed {"connection_id":45458,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:39:58] local.INFO: Acknowledgment sent {"connection_id":45458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:40:06] local.INFO: TCP Data received {"connection_id":46208,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:40:06] local.INFO: Processing buffer {"connection_id":46208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:40:06] local.INFO: IMEI packet received {"connection_id":46208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":46208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:40:10] local.INFO: TCP Data received {"connection_id":46208,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:40:10] local.INFO: Processing buffer {"connection_id":46208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:40:10] local.INFO: IMEI packet received {"connection_id":46208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":46208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:40:11] local.INFO: TCP Data received {"connection_id":46208,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46208,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:40:11] local.INFO: Processing buffer {"connection_id":46208,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:40:11] local.INFO: IMEI packet received {"connection_id":46208,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":46208,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:40:13] local.INFO: TCP Data received {"connection_id":46208,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:40:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:40:13] local.INFO: Processing buffer {"connection_id":46208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:40:13] local.INFO: Packet analysis {"connection_id":46208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:40:13] local.INFO: Extracted packet for processing {"connection_id":46208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:40:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:40:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749765120001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:40:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:40:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:40:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:40:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776366571000,"timestamp_ms":1776366571000,"timestamp_seconds":1776366571,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b2cdf8"} 
[2026-04-17 00:40:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:40:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:40:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:40:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:40:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:40:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:40:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:40:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:40:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:40:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:40:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:40:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:40:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:40:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749765120001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:40:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:40:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:40:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749765120001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:40:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:40:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:40:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:40:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749765120001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:40:13] local.INFO: DEBUG: GPS processor result {"connection_id":46208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18308,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:40:13] local.INFO: GPS data processed {"connection_id":46208,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:40:13] local.INFO: Acknowledgment sent {"connection_id":46208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:40:18] local.INFO: TCP Data received {"connection_id":46208,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:40:18] local.INFO: Processing buffer {"connection_id":46208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:40:18] local.INFO: Packet analysis {"connection_id":46208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:40:18] local.INFO: Extracted packet for processing {"connection_id":46208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:40:18] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749765120001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:40:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776366571000,"timestamp_ms":1776366571000,"timestamp_seconds":1776366571,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b2cdf8"} 
[2026-04-17 00:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:40:18] 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-04-17 00:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":46208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":46208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":46208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749765120001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749765120001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:40:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:40:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749765120001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":46208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:40:18] local.INFO: GPS data processed {"connection_id":46208,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:40:18] local.INFO: Acknowledgment sent {"connection_id":46208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:40:29] local.INFO: TCP Data received {"connection_id":45458,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:40:29] local.INFO: Processing buffer {"connection_id":45458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:40:29] local.INFO: Packet analysis {"connection_id":45458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:40:29] local.INFO: Extracted packet for processing {"connection_id":45458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:40:29] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":50,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749702656001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:40:29] 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-04-17 00:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776366327000,"timestamp_ms":1776366327000,"timestamp_seconds":1776366327,"priority":1,"record_length":96,"hex_timestamp":"0000019d97af14d8"} 
[2026-04-17 00:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 00:40:29] 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-04-17 00:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:40: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-04-17 00:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749702656001,"66":25180,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749702656001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:40:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:40:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749702656001,"power":25180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":45458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:40:29] local.INFO: GPS data processed {"connection_id":45458,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:40:29] local.INFO: Acknowledgment sent {"connection_id":45458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:40:50] local.INFO: TCP Data received {"connection_id":46208,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46208,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:40:50] local.INFO: Processing buffer {"connection_id":46208,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:40:50] local.INFO: Packet analysis {"connection_id":46208,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:40:50] local.INFO: Extracted packet for processing {"connection_id":46208,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:40:50] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749765120001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:40:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776366571000,"timestamp_ms":1776366571000,"timestamp_seconds":1776366571,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b2cdf8"} 
[2026-04-17 00:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:40:50] 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-04-17 00:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":46208,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":46208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":46208,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749765120001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749765120001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:40:50] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:40:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749765120001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":46208,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18311,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:40:50] local.INFO: GPS data processed {"connection_id":46208,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:40:50] local.INFO: Acknowledgment sent {"connection_id":46208,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:40:52] local.INFO: TCP Data received {"connection_id":45651,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:40:52] local.INFO: Processing buffer {"connection_id":45651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:40:52] local.INFO: IMEI packet received {"connection_id":45651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":45651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:40:57] local.INFO: TCP Data received {"connection_id":45651,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:40:57] local.INFO: Processing buffer {"connection_id":45651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:40:57] local.INFO: IMEI packet received {"connection_id":45651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":45651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:40:58] local.INFO: TCP Data received {"connection_id":45651,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:40:58] local.INFO: Processing buffer {"connection_id":45651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97af14d8012d49b4c00673a990000a00da32..."} 
[2026-04-17 00:40:58] local.INFO: Packet analysis {"connection_id":45651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:40:58] local.INFO: Extracted packet for processing {"connection_id":45651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97af"} 
[2026-04-17 00:40:58] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":50,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749702656001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:40:58] 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-04-17 00:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776366327000,"timestamp_ms":1776366327000,"timestamp_seconds":1776366327,"priority":1,"record_length":96,"hex_timestamp":"0000019d97af14d8"} 
[2026-04-17 00:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 00:40:58] 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-04-17 00: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-04-17 00:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749702656001,"66":25180,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749702656001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:40:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:40:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749702656001,"power":25180,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":45651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:40:58] local.INFO: GPS data processed {"connection_id":45651,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:40:58] local.INFO: Acknowledgment sent {"connection_id":45651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:41:06] local.INFO: TCP Data received {"connection_id":45652,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:41:06] local.INFO: Processing buffer {"connection_id":45652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:41:06] local.INFO: IMEI packet received {"connection_id":45652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":45652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:41:11] local.INFO: TCP Data received {"connection_id":45652,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:41:11] local.INFO: Processing buffer {"connection_id":45652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:41:11] local.INFO: IMEI packet received {"connection_id":45652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":45652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:41:14] local.INFO: TCP Data received {"connection_id":45652,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:41:14] local.INFO: Processing buffer {"connection_id":45652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:41:14] local.INFO: Packet analysis {"connection_id":45652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:41:14] local.INFO: Extracted packet for processing {"connection_id":45652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:41:14] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749765120001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:41:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:41:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776366571000,"timestamp_ms":1776366571000,"timestamp_seconds":1776366571,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b2cdf8"} 
[2026-04-17 00:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:41:14] 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-04-17 00: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":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:41:14] 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-04-17 00: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-04-17 00:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749765120001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749765120001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:41:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:41:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749765120001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":45652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18313,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:41:14] local.INFO: GPS data processed {"connection_id":45652,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:41:14] local.INFO: Acknowledgment sent {"connection_id":45652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:41:29] local.INFO: TCP Data received {"connection_id":45651,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b3aca0012d49b4c00673a990000a00da2f..."} 
[2026-04-17 00:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b3aca0012d49b4c00673a990000a00da2f..."} 
[2026-04-17 00:41:29] local.INFO: Processing buffer {"connection_id":45651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b3aca0012d49b4c00673a990000a00da2f..."} 
[2026-04-17 00:41:29] local.INFO: Packet analysis {"connection_id":45651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b3"} 
[2026-04-17 00:41:29] local.INFO: Extracted packet for processing {"connection_id":45651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b3"} 
[2026-04-17 00:41:29] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749779712001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:41:29] 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-04-17 00:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776366628000,"timestamp_ms":1776366628000,"timestamp_seconds":1776366628,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b3aca0"} 
[2026-04-17 00:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 00:41:29] 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-04-17 00: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-04-17 00:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:41: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-04-17 00:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749779712001,"66":25191,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749779712001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:41:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:41:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749779712001,"power":25191,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":45651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:41:29] local.INFO: GPS data processed {"connection_id":45651,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:41:29] local.INFO: Acknowledgment sent {"connection_id":45651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:41:45] local.INFO: TCP Data received {"connection_id":45652,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:41:45] local.INFO: Processing buffer {"connection_id":45652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:41:45] local.INFO: Packet analysis {"connection_id":45652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:41:45] local.INFO: Extracted packet for processing {"connection_id":45652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:41:45] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749765120001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:41:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:41:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776366571000,"timestamp_ms":1776366571000,"timestamp_seconds":1776366571,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b2cdf8"} 
[2026-04-17 00:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:41:45] 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-04-17 00: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:41:45] 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-04-17 00: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-04-17 00:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45652,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749765120001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749765120001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:41:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:41:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749765120001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":45652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:41:45] local.INFO: GPS data processed {"connection_id":45652,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:41:45] local.INFO: Acknowledgment sent {"connection_id":45652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:41:52] local.INFO: TCP Data received {"connection_id":46209,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:41:52] local.INFO: Processing buffer {"connection_id":46209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:41:52] local.INFO: IMEI packet received {"connection_id":46209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":46209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:41:57] local.INFO: TCP Data received {"connection_id":46209,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46209,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:41:57] local.INFO: Processing buffer {"connection_id":46209,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:41:57] local.INFO: IMEI packet received {"connection_id":46209,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":46209,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:41:58] local.INFO: TCP Data received {"connection_id":46209,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b3aca0012d49b4c00673a990000a00da2f..."} 
[2026-04-17 00:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b3aca0012d49b4c00673a990000a00da2f..."} 
[2026-04-17 00:41:58] local.INFO: Processing buffer {"connection_id":46209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b3aca0012d49b4c00673a990000a00da2f..."} 
[2026-04-17 00:41:58] local.INFO: Packet analysis {"connection_id":46209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b3"} 
[2026-04-17 00:41:58] local.INFO: Extracted packet for processing {"connection_id":46209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b3"} 
[2026-04-17 00:41:58] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749779712001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:41:58] 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-04-17 00:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776366628000,"timestamp_ms":1776366628000,"timestamp_seconds":1776366628,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b3aca0"} 
[2026-04-17 00:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 00:41:58] 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-04-17 00:41:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749779712001,"66":25191,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749779712001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:41:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:41:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749779712001,"power":25191,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":46209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:41:58] local.INFO: GPS data processed {"connection_id":46209,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:41:58] local.INFO: Acknowledgment sent {"connection_id":46209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:42:11] local.INFO: TCP Data received {"connection_id":45653,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:42:11] local.INFO: Processing buffer {"connection_id":45653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:42:11] local.INFO: IMEI packet received {"connection_id":45653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":45653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:42:16] local.INFO: TCP Data received {"connection_id":45653,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:42:16] local.INFO: Processing buffer {"connection_id":45653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:42:16] local.INFO: IMEI packet received {"connection_id":45653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:42:16] local.INFO: IMEI acknowledgment sent {"connection_id":45653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:42:18] local.INFO: TCP Data received {"connection_id":45653,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:42:18] local.INFO: Processing buffer {"connection_id":45653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:42:18] local.INFO: Packet analysis {"connection_id":45653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:42:18] local.INFO: Extracted packet for processing {"connection_id":45653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:42:18] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:42:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749765120001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:42:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:42:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:42:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:42:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776366571000,"timestamp_ms":1776366571000,"timestamp_seconds":1776366571,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b2cdf8"} 
[2026-04-17 00:42:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:42:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:42:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:42:18] 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-04-17 00:42:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:42:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:42:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:42:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:42:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:42:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:42:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:42:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:42:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:42:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749765120001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:42:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:42:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:42:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749765120001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:42:18] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:42:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:42:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:42:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749765120001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:42:18] local.INFO: DEBUG: GPS processor result {"connection_id":45653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18317,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:42:18] local.INFO: GPS data processed {"connection_id":45653,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:42:18] local.INFO: Acknowledgment sent {"connection_id":45653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:42:22] local.INFO: TCP Data received {"connection_id":45653,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:42:22] local.INFO: Processing buffer {"connection_id":45653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:42:22] local.INFO: Packet analysis {"connection_id":45653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:42:22] local.INFO: Extracted packet for processing {"connection_id":45653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:42:22] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:42:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749765120001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:42:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:42:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:42:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:42:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776366571000,"timestamp_ms":1776366571000,"timestamp_seconds":1776366571,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b2cdf8"} 
[2026-04-17 00:42:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:42:22] 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-04-17 00: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:42:22] 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-04-17 00: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-04-17 00:42:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:42:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:42:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:42:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:42:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:42:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:42:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:42:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:42:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749765120001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:42:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:42:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:42:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749765120001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:42:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:42:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:42:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:42:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749765120001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:42:22] local.INFO: DEBUG: GPS processor result {"connection_id":45653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:42:22] local.INFO: GPS data processed {"connection_id":45653,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:42:22] local.INFO: Acknowledgment sent {"connection_id":45653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:42:29] local.INFO: TCP Data received {"connection_id":46209,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b3aca0012d49b4c00673a990000a00da2f..."} 
[2026-04-17 00:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b3aca0012d49b4c00673a990000a00da2f..."} 
[2026-04-17 00:42:29] local.INFO: Processing buffer {"connection_id":46209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b3aca0012d49b4c00673a990000a00da2f..."} 
[2026-04-17 00:42:29] local.INFO: Packet analysis {"connection_id":46209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b3"} 
[2026-04-17 00:42:29] local.INFO: Extracted packet for processing {"connection_id":46209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b3"} 
[2026-04-17 00:42:29] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749779712001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:42:29] 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-04-17 00:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776366628000,"timestamp_ms":1776366628000,"timestamp_seconds":1776366628,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b3aca0"} 
[2026-04-17 00:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:42:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 00:42:29] 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-04-17 00: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-04-17 00:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46209,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:42: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-04-17 00:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749779712001,"66":25191,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749779712001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:42:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:42:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749779712001,"power":25191,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":46209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:42:29] local.INFO: GPS data processed {"connection_id":46209,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:42:29] local.INFO: Acknowledgment sent {"connection_id":46209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:42:52] local.INFO: TCP Data received {"connection_id":45459,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:42:52] local.INFO: Processing buffer {"connection_id":45459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:42:52] local.INFO: IMEI packet received {"connection_id":45459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":45459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:42:57] local.INFO: TCP Data received {"connection_id":45459,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:42:57] local.INFO: Processing buffer {"connection_id":45459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:42:57] local.INFO: IMEI packet received {"connection_id":45459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":45459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:42:58] local.INFO: TCP Data received {"connection_id":45459,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b3aca0012d49b4c00673a990000a00da2f..."} 
[2026-04-17 00:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b3aca0012d49b4c00673a990000a00da2f..."} 
[2026-04-17 00:42:58] local.INFO: Processing buffer {"connection_id":45459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b3aca0012d49b4c00673a990000a00da2f..."} 
[2026-04-17 00:42:58] local.INFO: Packet analysis {"connection_id":45459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b3"} 
[2026-04-17 00:42:58] local.INFO: Extracted packet for processing {"connection_id":45459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b3"} 
[2026-04-17 00:42:58] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":47,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749779712001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:42:58] 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-04-17 00:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776366628000,"timestamp_ms":1776366628000,"timestamp_seconds":1776366628,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b3aca0"} 
[2026-04-17 00:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 00:42:58] 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-04-17 00: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-04-17 00:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749779712001,"66":25191,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749779712001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:42:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:42:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749779712001,"power":25191,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":45459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:42:58] local.INFO: GPS data processed {"connection_id":45459,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:42:58] local.INFO: Acknowledgment sent {"connection_id":45459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:43:07] local.INFO: TCP Data received {"connection_id":46210,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:43:07] local.INFO: Processing buffer {"connection_id":46210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:43:07] local.INFO: IMEI packet received {"connection_id":46210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:43:07] local.INFO: IMEI acknowledgment sent {"connection_id":46210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:43:11] local.INFO: TCP Data received {"connection_id":46210,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46210,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:43:11] local.INFO: Processing buffer {"connection_id":46210,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:43:11] local.INFO: IMEI packet received {"connection_id":46210,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":46210,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:43:12] local.INFO: TCP Data received {"connection_id":46210,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:43:12] local.INFO: Processing buffer {"connection_id":46210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:43:12] local.INFO: Packet analysis {"connection_id":46210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:43:12] local.INFO: Extracted packet for processing {"connection_id":46210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:43:12] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749765120001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:43:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776366571000,"timestamp_ms":1776366571000,"timestamp_seconds":1776366571,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b2cdf8"} 
[2026-04-17 00:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:43: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-04-17 00: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":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:43: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-04-17 00: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-04-17 00:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749765120001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749765120001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:43:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:43:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749765120001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":46210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18321,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:43:12] local.INFO: GPS data processed {"connection_id":46210,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:43:12] local.INFO: Acknowledgment sent {"connection_id":46210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:43:29] local.INFO: TCP Data received {"connection_id":45459,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b5c3c8012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b5c3c8012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:43:29] local.INFO: Processing buffer {"connection_id":45459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b5c3c8012d49b4c00673a990000a00da31..."} 
[2026-04-17 00:43:29] local.INFO: Packet analysis {"connection_id":45459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b5"} 
[2026-04-17 00:43:29] local.INFO: Extracted packet for processing {"connection_id":45459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b5"} 
[2026-04-17 00:43:29] local.INFO: GPS Element Parsed {"raw_longitude":759805120,"raw_latitude":108243344,"longitude_deg":75.980512,"latitude_deg":10.8243344,"altitude":10,"angle":218,"satellites":49,"speed":0,"hex_longitude":"2d49b4c0","hex_latitude":"0673a990","is_valid_coordinates":true} 
[2026-04-17 00:43: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-04-17 00:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749856768001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:43:29] 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-04-17 00:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776366765000,"timestamp_ms":1776366765000,"timestamp_seconds":1776366765,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b5c3c8"} 
[2026-04-17 00:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00: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":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-17 00:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1615,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:43:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749856768001,"66":25071,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749856768001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:43:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:43:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749856768001,"power":25071,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":45459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:43:29] local.INFO: GPS data processed {"connection_id":45459,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:43:29] local.INFO: Acknowledgment sent {"connection_id":45459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:43:44] local.INFO: TCP Data received {"connection_id":46210,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:43:44] local.INFO: Processing buffer {"connection_id":46210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:43:44] local.INFO: Packet analysis {"connection_id":46210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:43:44] local.INFO: Extracted packet for processing {"connection_id":46210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:43:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749765120001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:43:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776366571000,"timestamp_ms":1776366571000,"timestamp_seconds":1776366571,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b2cdf8"} 
[2026-04-17 00:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:43:44] 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-04-17 00:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:43:44] 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-04-17 00:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46210,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749765120001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749765120001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:43:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:43:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749765120001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":46210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18323,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:43:44] local.INFO: GPS data processed {"connection_id":46210,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:43:44] local.INFO: Acknowledgment sent {"connection_id":46210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:43:52] local.INFO: TCP Data received {"connection_id":45460,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:43:52] local.INFO: Processing buffer {"connection_id":45460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:43:52] local.INFO: IMEI packet received {"connection_id":45460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":45460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:43:57] local.INFO: TCP Data received {"connection_id":45460,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:43:57] local.INFO: Processing buffer {"connection_id":45460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:43:57] local.INFO: IMEI packet received {"connection_id":45460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":45460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:43:58] local.INFO: TCP Data received {"connection_id":45460,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b62570012d49afc00673a428000a00d830..."} 
[2026-04-17 00:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b62570012d49afc00673a428000a00d830..."} 
[2026-04-17 00:43:58] local.INFO: Processing buffer {"connection_id":45460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b62570012d49afc00673a428000a00d830..."} 
[2026-04-17 00:43:58] local.INFO: Packet analysis {"connection_id":45460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b6"} 
[2026-04-17 00:43:58] local.INFO: Extracted packet for processing {"connection_id":45460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b6"} 
[2026-04-17 00:43:58] local.INFO: GPS Element Parsed {"raw_longitude":759803840,"raw_latitude":108241960,"longitude_deg":75.980384,"latitude_deg":10.824196,"altitude":10,"angle":216,"satellites":48,"speed":0,"hex_longitude":"2d49afc0","hex_latitude":"0673a428","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749891840001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5311080994519486464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:43:58] 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-04-17 00:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776366790000,"timestamp_ms":1776366790000,"timestamp_seconds":1776366790,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b62570"} 
[2026-04-17 00:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:43: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-04-17 00: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":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 00:43:58] 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-04-17 00: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-04-17 00:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749891840001,"66":27397,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5311080994519486464},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749891840001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:43:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:43:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5311080994519486464,"description":"Unknown IO ID 45"} 
[2026-04-17 00:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749891840001,"power":27397,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5311080994519486464}} 
[2026-04-17 00:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":45460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:43:58] local.INFO: GPS data processed {"connection_id":45460,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:43:58] local.INFO: Acknowledgment sent {"connection_id":45460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:44:06] local.INFO: TCP Data received {"connection_id":45654,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:44:06] local.INFO: Processing buffer {"connection_id":45654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:44:06] local.INFO: IMEI packet received {"connection_id":45654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":45654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:44:11] local.INFO: TCP Data received {"connection_id":45654,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:44:11] local.INFO: Processing buffer {"connection_id":45654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:44:11] local.INFO: IMEI packet received {"connection_id":45654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":45654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:44:12] local.INFO: TCP Data received {"connection_id":45654,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:44:12] local.INFO: Processing buffer {"connection_id":45654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:44:12] local.INFO: Packet analysis {"connection_id":45654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:44:12] local.INFO: Extracted packet for processing {"connection_id":45654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:44:12] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749765120001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:44:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:44:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776366571000,"timestamp_ms":1776366571000,"timestamp_seconds":1776366571,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b2cdf8"} 
[2026-04-17 00:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:44: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-04-17 00: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":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:44: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-04-17 00: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-04-17 00:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749765120001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749765120001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:44:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:44:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749765120001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":45654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:44:13] local.INFO: GPS data processed {"connection_id":45654,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:44:13] local.INFO: Acknowledgment sent {"connection_id":45654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:44:29] local.INFO: TCP Data received {"connection_id":45460,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b67778012d49afc00673a428000a00d831..."} 
[2026-04-17 00:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b67778012d49afc00673a428000a00d831..."} 
[2026-04-17 00:44:29] local.INFO: Processing buffer {"connection_id":45460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b67778012d49afc00673a428000a00d831..."} 
[2026-04-17 00:44:29] local.INFO: Packet analysis {"connection_id":45460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b6"} 
[2026-04-17 00:44:29] local.INFO: Extracted packet for processing {"connection_id":45460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b6"} 
[2026-04-17 00:44:29] local.INFO: GPS Element Parsed {"raw_longitude":759803840,"raw_latitude":108241960,"longitude_deg":75.980384,"latitude_deg":10.824196,"altitude":10,"angle":216,"satellites":49,"speed":0,"hex_longitude":"2d49afc0","hex_latitude":"0673a428","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749898240001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351166329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5309673619635578880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:44:29] 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-04-17 00:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776366811000,"timestamp_ms":1776366811000,"timestamp_seconds":1776366811,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b67778"} 
[2026-04-17 00:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:44: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-04-17 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 00:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:44:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749898240001,"66":27332,"81":206,"80":60160,"24":0,"16":273351166329356288,"45":5309673619635578880},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749898240001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:44:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:44:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351166329356288,"km_value":273351166329356.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5309673619635578880,"description":"Unknown IO ID 45"} 
[2026-04-17 00:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749898240001,"power":27332,"unknown_81":206,"unknown_80":60160,"ignition":0,"odometer":null,"unknown_45":5309673619635578880}} 
[2026-04-17 00:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":45460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:44:29] local.INFO: GPS data processed {"connection_id":45460,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:44:29] local.INFO: Acknowledgment sent {"connection_id":45460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:44:44] local.INFO: TCP Data received {"connection_id":45654,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:44:44] local.INFO: Processing buffer {"connection_id":45654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b2cdf8012cdf4ec0073240700013006733..."} 
[2026-04-17 00:44:44] local.INFO: Packet analysis {"connection_id":45654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:44:44] local.INFO: Extracted packet for processing {"connection_id":45654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b2"} 
[2026-04-17 00:44:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749765120001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:44:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:44:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776366571000,"timestamp_ms":1776366571000,"timestamp_seconds":1776366571,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b2cdf8"} 
[2026-04-17 00:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:44:44] 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-04-17 00: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":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:44:44] 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-04-17 00: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-04-17 00:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749765120001,"66":25549,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749765120001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:44:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:44:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749765120001,"power":25549,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":45654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18327,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:44:44] local.INFO: GPS data processed {"connection_id":45654,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:44:44] local.INFO: Acknowledgment sent {"connection_id":45654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:44:52] local.INFO: TCP Data received {"connection_id":45398,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:44:52] local.INFO: Processing buffer {"connection_id":45398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:44:52] local.INFO: IMEI packet received {"connection_id":45398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":45398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:44:57] local.INFO: TCP Data received {"connection_id":45398,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45398,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:44:57] local.INFO: Processing buffer {"connection_id":45398,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:44:57] local.INFO: IMEI packet received {"connection_id":45398,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":45398,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:44:58] local.INFO: TCP Data received {"connection_id":45398,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b68ee8012d49ae000673a2b0000d00e831..."} 
[2026-04-17 00:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b68ee8012d49ae000673a2b0000d00e831..."} 
[2026-04-17 00:44:58] local.INFO: Processing buffer {"connection_id":45398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b68ee8012d49ae000673a2b0000d00e831..."} 
[2026-04-17 00:44:58] local.INFO: Packet analysis {"connection_id":45398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b6"} 
[2026-04-17 00:44:58] local.INFO: Extracted packet for processing {"connection_id":45398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b6"} 
[2026-04-17 00:44:58] local.INFO: GPS Element Parsed {"raw_longitude":759803392,"raw_latitude":108241584,"longitude_deg":75.9803392,"latitude_deg":10.8241584,"altitude":13,"angle":232,"satellites":49,"speed":9,"hex_longitude":"2d49ae00","hex_latitude":"0673a2b0","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749903616001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351196394127360,"note":"Value kept but may cause issues"} 
[2026-04-17 00:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5309673619635578880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:44:58] 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-04-17 00:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776366817000,"timestamp_ms":1776366817000,"timestamp_seconds":1776366817,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b68ee8"} 
[2026-04-17 00:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:44: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-04-17 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 00:44: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-04-17 00: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-04-17 00:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749903616001,"66":27332,"81":206,"80":60160,"24":9,"16":273351196394127360,"45":5309673619635578880},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749903616001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:44:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:44:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351196394127360,"km_value":273351196394127.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5309673619635578880,"description":"Unknown IO ID 45"} 
[2026-04-17 00:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749903616001,"power":27332,"unknown_81":206,"unknown_80":60160,"ignition":9,"odometer":null,"unknown_45":5309673619635578880}} 
[2026-04-17 00:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":45398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:44:58] local.INFO: GPS data processed {"connection_id":45398,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:44:58] local.INFO: Acknowledgment sent {"connection_id":45398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:45:06] local.INFO: TCP Data received {"connection_id":46211,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:45:06] local.INFO: Processing buffer {"connection_id":46211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:45:06] local.INFO: IMEI packet received {"connection_id":46211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":46211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:45:10] local.INFO: TCP Data received {"connection_id":46211,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:45:10] local.INFO: Processing buffer {"connection_id":46211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:45:10] local.INFO: IMEI packet received {"connection_id":46211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":46211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:45:11] local.INFO: TCP Data received {"connection_id":46211,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46211,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:45:11] local.INFO: Processing buffer {"connection_id":46211,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:45:11] local.INFO: IMEI packet received {"connection_id":46211,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":46211,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:45:12] local.INFO: TCP Data received {"connection_id":46211,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:45:12] local.INFO: Processing buffer {"connection_id":46211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:45:12] local.INFO: Packet analysis {"connection_id":46211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:45:12] local.INFO: Extracted packet for processing {"connection_id":46211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:45:12] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749842176001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:45:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776366872000,"timestamp_ms":1776366872000,"timestamp_seconds":1776366872,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b765c0"} 
[2026-04-17 00:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:45: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-04-17 00: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":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:45: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-04-17 00: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-04-17 00:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749842176001,"66":25495,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749842176001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:45:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:45:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749842176001,"power":25495,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":46211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18329,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:45:12] local.INFO: GPS data processed {"connection_id":46211,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:45:12] local.INFO: Acknowledgment sent {"connection_id":46211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:45:17] local.INFO: TCP Data received {"connection_id":46211,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:45:17] local.INFO: Processing buffer {"connection_id":46211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:45:17] local.INFO: Packet analysis {"connection_id":46211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:45:17] local.INFO: Extracted packet for processing {"connection_id":46211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:45:17] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749842176001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:45:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:45:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776366872000,"timestamp_ms":1776366872000,"timestamp_seconds":1776366872,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b765c0"} 
[2026-04-17 00:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:45:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:45:17] 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-04-17 00:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749842176001,"66":25495,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749842176001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:45:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:45:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749842176001,"power":25495,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":46211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18330,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:45:17] local.INFO: GPS data processed {"connection_id":46211,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:45:17] local.INFO: Acknowledgment sent {"connection_id":46211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:45:30] local.INFO: TCP Data received {"connection_id":45398,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b6a270012d49a8c006739da0000d00db31..."} 
[2026-04-17 00:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b6a270012d49a8c006739da0000d00db31..."} 
[2026-04-17 00:45:30] local.INFO: Processing buffer {"connection_id":45398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b6a270012d49a8c006739da0000d00db31..."} 
[2026-04-17 00:45:30] local.INFO: Packet analysis {"connection_id":45398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b6"} 
[2026-04-17 00:45:30] local.INFO: Extracted packet for processing {"connection_id":45398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b6"} 
[2026-04-17 00:45:30] local.INFO: GPS Element Parsed {"raw_longitude":759802048,"raw_latitude":108240288,"longitude_deg":75.9802048,"latitude_deg":10.8240288,"altitude":13,"angle":219,"satellites":49,"speed":17,"hex_longitude":"2d49a8c0","hex_latitude":"06739da0","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749905152001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351286588440576,"note":"Value kept but may cause issues"} 
[2026-04-17 00:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5309181038426238976,"note":"Value kept but may cause issues"} 
[2026-04-17 00:45:30] 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-04-17 00:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776366822000,"timestamp_ms":1776366822000,"timestamp_seconds":1776366822,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b6a270"} 
[2026-04-17 00:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:45: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-04-17 00: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 00:45: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-04-17 00: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-04-17 00:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45398,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:45: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-04-17 00:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:45:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749905152001,"66":27365,"81":206,"80":60160,"24":17,"16":273351286588440576,"45":5309181038426238976},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,80,24,16,45]} 
[2026-04-17 00:45:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:45:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:45:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749905152001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:45:30] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:45:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:45:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351286588440576,"km_value":273351286588440.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:45:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5309181038426238976,"description":"Unknown IO ID 45"} 
[2026-04-17 00:45:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749905152001,"power":27365,"unknown_81":206,"unknown_80":60160,"ignition":17,"odometer":null,"unknown_45":5309181038426238976}} 
[2026-04-17 00:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":45398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:45:30] local.INFO: GPS data processed {"connection_id":45398,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:45:30] local.INFO: Acknowledgment sent {"connection_id":45398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:45:49] local.INFO: TCP Data received {"connection_id":46211,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:45:49] local.INFO: Processing buffer {"connection_id":46211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:45:49] local.INFO: Packet analysis {"connection_id":46211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:45:49] local.INFO: Extracted packet for processing {"connection_id":46211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:45:49] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749842176001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:45:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:45:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776366872000,"timestamp_ms":1776366872000,"timestamp_seconds":1776366872,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b765c0"} 
[2026-04-17 00:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:45:49] 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-04-17 00: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":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:45:49] 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-04-17 00: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-04-17 00:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":46211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":46211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":46211,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749842176001,"66":25495,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749842176001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:45:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:45:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749842176001,"power":25495,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":46211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18332,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:45:49] local.INFO: GPS data processed {"connection_id":46211,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:45:49] local.INFO: Acknowledgment sent {"connection_id":46211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:46:00] local.INFO: TCP Data received {"connection_id":45461,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:46:00] local.INFO: Processing buffer {"connection_id":45461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:46:00] local.INFO: IMEI packet received {"connection_id":45461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":45461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:46:01] local.INFO: TCP Data received {"connection_id":45461,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:46:01] local.INFO: Processing buffer {"connection_id":45461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:46:01] local.INFO: IMEI packet received {"connection_id":45461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":45461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:46:02] local.INFO: TCP Data received {"connection_id":45461,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b6dd08012d4990c0067380e8000c00da31..."} 
[2026-04-17 00:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b6dd08012d4990c0067380e8000c00da31..."} 
[2026-04-17 00:46:02] local.INFO: Processing buffer {"connection_id":45461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b6dd08012d4990c0067380e8000c00da31..."} 
[2026-04-17 00:46:02] local.INFO: Packet analysis {"connection_id":45461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b6"} 
[2026-04-17 00:46:02] local.INFO: Extracted packet for processing {"connection_id":45461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b6"} 
[2026-04-17 00:46:02] local.INFO: GPS Element Parsed {"raw_longitude":759795904,"raw_latitude":108232936,"longitude_deg":75.9795904,"latitude_deg":10.8232936,"altitude":12,"angle":218,"satellites":49,"speed":30,"hex_longitude":"2d4990c0","hex_latitude":"067380e8","is_valid_coordinates":true} 
[2026-04-17 00:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749906432001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273351746149941248,"note":"Value kept but may cause issues"} 
[2026-04-17 00:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5307703294798176256,"note":"Value kept but may cause issues"} 
[2026-04-17 00:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776366837000,"timestamp_ms":1776366837000,"timestamp_seconds":1776366837,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b6dd08"} 
[2026-04-17 00:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 00:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749906432001,"66":27463,"218":206,"80":60160,"24":30,"16":273351746149941248,"45":5307703294798176256},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-17 00:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749906432001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:46:02] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-17 00:46:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273351746149941248,"km_value":273351746149941.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":5307703294798176256,"description":"Unknown IO ID 45"} 
[2026-04-17 00:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749906432001,"power":27463,"unknown_218":206,"unknown_80":60160,"ignition":30,"odometer":null,"unknown_45":5307703294798176256}} 
[2026-04-17 00:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":45461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:46:02] local.INFO: GPS data processed {"connection_id":45461,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:46:02] local.INFO: Acknowledgment sent {"connection_id":45461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:46:03] local.INFO: TCP Data received {"connection_id":45461,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b70be8012d49794006736348000d00da30..."} 
[2026-04-17 00:46:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b70be8012d49794006736348000d00da30..."} 
[2026-04-17 00:46:03] local.INFO: Processing buffer {"connection_id":45461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b70be8012d49794006736348000d00da30..."} 
[2026-04-17 00:46:03] local.INFO: Packet analysis {"connection_id":45461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:46:03] local.INFO: Extracted packet for processing {"connection_id":45461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:46:03] local.INFO: GPS Element Parsed {"raw_longitude":759789888,"raw_latitude":108225352,"longitude_deg":75.9789888,"latitude_deg":10.8225352,"altitude":13,"angle":218,"satellites":48,"speed":31,"hex_longitude":"2d497940","hex_latitude":"06736348","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:46:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749910272001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:46:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273352214301376512,"note":"Value kept but may cause issues"} 
[2026-04-17 00:46:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5300947895355238400,"note":"Value kept but may cause issues"} 
[2026-04-17 00:46:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,218,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:46:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776366849000,"timestamp_ms":1776366849000,"timestamp_seconds":1776366849,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b70be8"} 
[2026-04-17 00:46:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:46: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-04-17 00: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 00:46: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-04-17 00: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-04-17 00:46:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:46:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:46:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:46:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:46:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:46:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:46:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:46:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:46:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749910272001,"66":27397,"218":206,"80":60160,"24":31,"16":273352214301376512,"45":5300947895355238400},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,80,24,16,45]} 
[2026-04-17 00:46:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:46:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:46:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749910272001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:46:03] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-17 00:46:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:46:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273352214301376512,"km_value":273352214301376.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:46:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5300947895355238400,"description":"Unknown IO ID 45"} 
[2026-04-17 00:46:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749910272001,"power":27397,"unknown_218":206,"unknown_80":60160,"ignition":31,"odometer":null,"unknown_45":5300947895355238400}} 
[2026-04-17 00:46:03] local.INFO: DEBUG: GPS processor result {"connection_id":45461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:46:03] local.INFO: GPS data processed {"connection_id":45461,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:46:03] local.INFO: Acknowledgment sent {"connection_id":45461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:46:06] local.INFO: TCP Data received {"connection_id":46212,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:46:06] local.INFO: Processing buffer {"connection_id":46212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:46:06] local.INFO: IMEI packet received {"connection_id":46212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":46212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:46:11] local.INFO: TCP Data received {"connection_id":46212,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46212,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:46:11] local.INFO: Processing buffer {"connection_id":46212,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:46:11] local.INFO: IMEI packet received {"connection_id":46212,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":46212,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:46:13] local.INFO: TCP Data received {"connection_id":46212,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:46:13] local.INFO: Processing buffer {"connection_id":46212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:46:13] local.INFO: Packet analysis {"connection_id":46212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:46:13] local.INFO: Extracted packet for processing {"connection_id":46212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:46:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749842176001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:46:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776366872000,"timestamp_ms":1776366872000,"timestamp_seconds":1776366872,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b765c0"} 
[2026-04-17 00:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749842176001,"66":25495,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749842176001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:46:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:46:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749842176001,"power":25495,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":46212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:46:13] local.INFO: GPS data processed {"connection_id":46212,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:46:13] local.INFO: Acknowledgment sent {"connection_id":46212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:46:35] local.INFO: TCP Data received {"connection_id":45461,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b73ac8012d4961c0067346b0000f00dc31..."} 
[2026-04-17 00:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b73ac8012d4961c0067346b0000f00dc31..."} 
[2026-04-17 00:46:35] local.INFO: Processing buffer {"connection_id":45461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b73ac8012d4961c0067346b0000f00dc31..."} 
[2026-04-17 00:46:35] local.INFO: Packet analysis {"connection_id":45461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:46:35] local.INFO: Extracted packet for processing {"connection_id":45461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:46:35] local.INFO: GPS Element Parsed {"raw_longitude":759783872,"raw_latitude":108218032,"longitude_deg":75.9783872,"latitude_deg":10.8218032,"altitude":15,"angle":220,"satellites":49,"speed":31,"hex_longitude":"2d4961c0","hex_latitude":"067346b0","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:46:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749913344001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:46:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273352669567909888,"note":"Value kept but may cause issues"} 
[2026-04-17 00:46:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5294333233400596480,"note":"Value kept but may cause issues"} 
[2026-04-17 00:46:35] 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-04-17 00:46:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776366861000,"timestamp_ms":1776366861000,"timestamp_seconds":1776366861,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b73ac8"} 
[2026-04-17 00:46:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:46:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 00:46:35] 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-04-17 00: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-04-17 00:46:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:46:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:46:35] local.INFO: Teltonika packet parsed successfully {"connection_id":45461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:46:35] local.INFO: Passing IMEI to GPS processor {"connection_id":45461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:46:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":45461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:46:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:46:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:46:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:46:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749913344001,"66":27267,"83":206,"80":60160,"24":31,"16":273352669567909888,"45":5294333233400596480},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,80,24,16,45]} 
[2026-04-17 00:46:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:46:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:46:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749913344001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:46:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-17 00:46:35] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:46:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273352669567909888,"km_value":273352669567909.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:46:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5294333233400596480,"description":"Unknown IO ID 45"} 
[2026-04-17 00:46:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749913344001,"power":27267,"unknown_83":206,"unknown_80":60160,"ignition":31,"odometer":null,"unknown_45":5294333233400596480}} 
[2026-04-17 00:46:35] local.INFO: DEBUG: GPS processor result {"connection_id":45461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:46:35] local.INFO: GPS data processed {"connection_id":45461,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:46:35] local.INFO: Acknowledgment sent {"connection_id":45461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:46:44] local.INFO: TCP Data received {"connection_id":46212,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:46:44] local.INFO: Processing buffer {"connection_id":46212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:46:44] local.INFO: Packet analysis {"connection_id":46212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:46:44] local.INFO: Extracted packet for processing {"connection_id":46212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:46:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749842176001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:46:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776366872000,"timestamp_ms":1776366872000,"timestamp_seconds":1776366872,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b765c0"} 
[2026-04-17 00:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:46:44] 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-04-17 00: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":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:46:44] 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-04-17 00: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-04-17 00:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46212,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749842176001,"66":25495,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749842176001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:46:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:46:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749842176001,"power":25495,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":46212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18337,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:46:44] local.INFO: GPS data processed {"connection_id":46212,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:46:44] local.INFO: Acknowledgment sent {"connection_id":46212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:46:53] local.INFO: TCP Data received {"connection_id":45655,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:46:53] local.INFO: Processing buffer {"connection_id":45655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:46:53] local.INFO: IMEI packet received {"connection_id":45655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":45655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:46:57] local.INFO: TCP Data received {"connection_id":45655,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:46:57] local.INFO: Processing buffer {"connection_id":45655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:46:57] local.INFO: IMEI packet received {"connection_id":45655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":45655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:47:06] local.INFO: TCP Data received {"connection_id":45462,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:47:06] local.INFO: Processing buffer {"connection_id":45462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:47:06] local.INFO: IMEI packet received {"connection_id":45462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":45462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:47:07] local.INFO: TCP Data received {"connection_id":45655,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b89a58012d4852c006720e88000d00dd32..."} 
[2026-04-17 00:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b89a58012d4852c006720e88000d00dd32..."} 
[2026-04-17 00:47:07] local.INFO: Processing buffer {"connection_id":45655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b89a58012d4852c006720e88000d00dd32..."} 
[2026-04-17 00:47:07] local.INFO: Packet analysis {"connection_id":45655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b8"} 
[2026-04-17 00:47:07] local.INFO: Extracted packet for processing {"connection_id":45655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b8"} 
[2026-04-17 00:47:07] local.INFO: GPS Element Parsed {"raw_longitude":759714496,"raw_latitude":108138120,"longitude_deg":75.9714496,"latitude_deg":10.813812,"altitude":13,"angle":221,"satellites":50,"speed":54,"hex_longitude":"2d4852c0","hex_latitude":"06720e88","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749937664001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273357763399122944,"note":"Value kept but may cause issues"} 
[2026-04-17 00:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5218475727156566016,"note":"Value kept but may cause issues"} 
[2026-04-17 00:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776366951000,"timestamp_ms":1776366951000,"timestamp_seconds":1776366951,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b89a58"} 
[2026-04-17 00:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:47: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-04-17 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 00:47:07] 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-04-17 00: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-04-17 00:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:47:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749937664001,"66":27484,"38":206,"80":60160,"24":54,"16":273357763399122944,"45":5218475727156566016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,80,24,16,45]} 
[2026-04-17 00:47:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:47:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:47:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749937664001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:47:07] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-04-17 00:47:07] local.INFO: Unknown IO ID detected {"io_id":80,"value":60160,"description":"Unknown IO ID 80"} 
[2026-04-17 00:47:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273357763399122944,"km_value":273357763399122.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:47:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5218475727156566016,"description":"Unknown IO ID 45"} 
[2026-04-17 00:47:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749937664001,"power":27484,"unknown_38":206,"unknown_80":60160,"ignition":54,"odometer":null,"unknown_45":5218475727156566016}} 
[2026-04-17 00:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":45655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:47:07] local.INFO: GPS data processed {"connection_id":45655,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:47:07] local.INFO: Acknowledgment sent {"connection_id":45655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:47:11] local.INFO: TCP Data received {"connection_id":45462,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45462,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:47:11] local.INFO: Processing buffer {"connection_id":45462,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:47:11] local.INFO: IMEI packet received {"connection_id":45462,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":45462,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:47:13] local.INFO: TCP Data received {"connection_id":45462,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:47:13] local.INFO: Processing buffer {"connection_id":45462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:47:13] local.INFO: Packet analysis {"connection_id":45462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:47:13] local.INFO: Extracted packet for processing {"connection_id":45462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:47:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749842176001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:47:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776366872000,"timestamp_ms":1776366872000,"timestamp_seconds":1776366872,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b765c0"} 
[2026-04-17 00:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:47:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749842176001,"66":25495,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749842176001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:47:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:47:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749842176001,"power":25495,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":45462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:47:13] local.INFO: GPS data processed {"connection_id":45462,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:47:13] local.INFO: Acknowledgment sent {"connection_id":45462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:47:46] local.INFO: TCP Data received {"connection_id":45462,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:47:46] local.INFO: Processing buffer {"connection_id":45462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:47:46] local.INFO: Packet analysis {"connection_id":45462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:47:46] local.INFO: Extracted packet for processing {"connection_id":45462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:47:46] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749842176001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:47:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:47:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776366872000,"timestamp_ms":1776366872000,"timestamp_seconds":1776366872,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b765c0"} 
[2026-04-17 00:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:47:46] 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-04-17 00: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":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45462,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749842176001,"66":25495,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749842176001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:47:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:47:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749842176001,"power":25495,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":45462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:47:46] local.INFO: GPS data processed {"connection_id":45462,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:47:46] local.INFO: Acknowledgment sent {"connection_id":45462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:48:06] local.INFO: TCP Data received {"connection_id":45656,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:48:06] local.INFO: Processing buffer {"connection_id":45656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:48:06] local.INFO: IMEI packet received {"connection_id":45656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":45656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:48:07] local.INFO: TCP Data received {"connection_id":46213,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:48:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:48:07] local.INFO: Processing buffer {"connection_id":46213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:48:07] local.INFO: IMEI packet received {"connection_id":46213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:48:07] local.INFO: IMEI acknowledgment sent {"connection_id":46213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:48:11] local.INFO: TCP Data received {"connection_id":45656,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:48:11] local.INFO: Processing buffer {"connection_id":45656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:48:11] local.INFO: IMEI packet received {"connection_id":45656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":45656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:48:12] local.INFO: TCP Data received {"connection_id":45656,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:48:12] local.INFO: Processing buffer {"connection_id":45656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:48:12] local.INFO: Packet analysis {"connection_id":45656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:48:12] local.INFO: Extracted packet for processing {"connection_id":45656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:48:12] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749842176001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776366872000,"timestamp_ms":1776366872000,"timestamp_seconds":1776366872,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b765c0"} 
[2026-04-17 00:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:48: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-04-17 00: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":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:48: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-04-17 00: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-04-17 00:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749842176001,"66":25495,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749842176001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:48:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749842176001,"power":25495,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":45656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18341,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:48:13] local.INFO: GPS data processed {"connection_id":45656,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:48:13] local.INFO: Acknowledgment sent {"connection_id":45656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:48:44] local.INFO: TCP Data received {"connection_id":45656,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:48:44] local.INFO: Processing buffer {"connection_id":45656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:48:44] local.INFO: Packet analysis {"connection_id":45656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:48:44] local.INFO: Extracted packet for processing {"connection_id":45656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:48:44] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749842176001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:48:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776366872000,"timestamp_ms":1776366872000,"timestamp_seconds":1776366872,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b765c0"} 
[2026-04-17 00:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:48:44] 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-04-17 00:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:48:44] 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-04-17 00:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749842176001,"66":25495,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749842176001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:48:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:48:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749842176001,"power":25495,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":45656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18342,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:48:44] local.INFO: GPS data processed {"connection_id":45656,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:48:44] local.INFO: Acknowledgment sent {"connection_id":45656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:49:11] local.INFO: TCP Data received {"connection_id":45400,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45400,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:49:11] local.INFO: Processing buffer {"connection_id":45400,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:49:11] local.INFO: IMEI packet received {"connection_id":45400,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":45400,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:49:16] local.INFO: TCP Data received {"connection_id":45400,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45400,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:49:16] local.INFO: Processing buffer {"connection_id":45400,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:49:16] local.INFO: IMEI packet received {"connection_id":45400,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:49:16] local.INFO: IMEI acknowledgment sent {"connection_id":45400,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:49:17] local.INFO: TCP Data received {"connection_id":45400,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:49:17] local.INFO: Processing buffer {"connection_id":45400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:49:17] local.INFO: Packet analysis {"connection_id":45400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:49:17] local.INFO: Extracted packet for processing {"connection_id":45400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:49:17] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749842176001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:49:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:49:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776366872000,"timestamp_ms":1776366872000,"timestamp_seconds":1776366872,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b765c0"} 
[2026-04-17 00:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:49:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:49:17] 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-04-17 00:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749842176001,"66":25495,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749842176001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:49:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:49:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749842176001,"power":25495,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":45400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:49:18] local.INFO: GPS data processed {"connection_id":45400,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:49:18] local.INFO: Acknowledgment sent {"connection_id":45400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:49:22] local.INFO: TCP Data received {"connection_id":45400,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:49:22] local.INFO: Processing buffer {"connection_id":45400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97b765c0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:49:22] local.INFO: Packet analysis {"connection_id":45400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:49:22] local.INFO: Extracted packet for processing {"connection_id":45400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97b7"} 
[2026-04-17 00:49:22] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:49:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749842176001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:49:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:49:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:49:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:49:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776366872000,"timestamp_ms":1776366872000,"timestamp_seconds":1776366872,"priority":1,"record_length":96,"hex_timestamp":"0000019d97b765c0"} 
[2026-04-17 00:49:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:49:22] 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-04-17 00: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 00:49:22] 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-04-17 00: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-04-17 00:49:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:49:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:49:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:49:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:49:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:49:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:49:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:49:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:49:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749842176001,"66":25495,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:49:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:49:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:49:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749842176001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:49:22] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:49:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:49:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:49:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749842176001,"power":25495,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:49:22] local.INFO: DEBUG: GPS processor result {"connection_id":45400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18344,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:49:22] local.INFO: GPS data processed {"connection_id":45400,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:49:22] local.INFO: Acknowledgment sent {"connection_id":45400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:50:09] local.INFO: TCP Data received {"connection_id":46214,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:50:09] local.INFO: Processing buffer {"connection_id":46214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:50:09] local.INFO: IMEI packet received {"connection_id":46214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":46214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:50:11] local.INFO: TCP Data received {"connection_id":46214,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46214,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:50:11] local.INFO: Processing buffer {"connection_id":46214,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:50:11] local.INFO: IMEI packet received {"connection_id":46214,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":46214,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:50:12] local.INFO: TCP Data received {"connection_id":46214,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97bbfd88012cdf4ec0073240700013006733..."} 
[2026-04-17 00:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97bbfd88012cdf4ec0073240700013006733..."} 
[2026-04-17 00:50:12] local.INFO: Processing buffer {"connection_id":46214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97bbfd88012cdf4ec0073240700013006733..."} 
[2026-04-17 00:50:12] local.INFO: Packet analysis {"connection_id":46214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97bb"} 
[2026-04-17 00:50:12] local.INFO: Extracted packet for processing {"connection_id":46214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97bb"} 
[2026-04-17 00:50:12] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749919232001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:50:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776367173000,"timestamp_ms":1776367173000,"timestamp_seconds":1776367173,"priority":1,"record_length":96,"hex_timestamp":"0000019d97bbfd88"} 
[2026-04-17 00:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:50: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-04-17 00: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-04-17 00: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-04-17 00: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-04-17 00:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749919232001,"66":25375,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749919232001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:50:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:50:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749919232001,"power":25375,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":46214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18345,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:50:13] local.INFO: GPS data processed {"connection_id":46214,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:50:13] local.INFO: Acknowledgment sent {"connection_id":46214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:50:14] local.INFO: TCP Data received {"connection_id":46214,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97bbfd88012cdf4ec0073240700013006733..."} 
[2026-04-17 00:50:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97bbfd88012cdf4ec0073240700013006733..."} 
[2026-04-17 00:50:14] local.INFO: Processing buffer {"connection_id":46214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97bbfd88012cdf4ec0073240700013006733..."} 
[2026-04-17 00:50:14] local.INFO: Packet analysis {"connection_id":46214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97bb"} 
[2026-04-17 00:50:14] local.INFO: Extracted packet for processing {"connection_id":46214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97bb"} 
[2026-04-17 00:50:14] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:50:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749919232001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:50:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:50:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:50:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:50:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776367173000,"timestamp_ms":1776367173000,"timestamp_seconds":1776367173,"priority":1,"record_length":96,"hex_timestamp":"0000019d97bbfd88"} 
[2026-04-17 00:50:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:50:14] 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-04-17 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 00:50:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:50:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:50:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:50:14] local.INFO: Teltonika packet parsed successfully {"connection_id":46214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:50:14] local.INFO: Passing IMEI to GPS processor {"connection_id":46214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:50:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":46214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:50:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:50:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:50:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:50:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749919232001,"66":25375,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:50:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:50:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:50:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749919232001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:50:14] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:50:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:50:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:50:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749919232001,"power":25375,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:50:14] local.INFO: DEBUG: GPS processor result {"connection_id":46214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18346,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:50:14] local.INFO: GPS data processed {"connection_id":46214,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:50:14] local.INFO: Acknowledgment sent {"connection_id":46214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:50:46] local.INFO: TCP Data received {"connection_id":46214,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97bbfd88012cdf4ec0073240700013006733..."} 
[2026-04-17 00:50:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97bbfd88012cdf4ec0073240700013006733..."} 
[2026-04-17 00:50:46] local.INFO: Processing buffer {"connection_id":46214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97bbfd88012cdf4ec0073240700013006733..."} 
[2026-04-17 00:50:46] local.INFO: Packet analysis {"connection_id":46214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97bb"} 
[2026-04-17 00:50:46] local.INFO: Extracted packet for processing {"connection_id":46214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97bb"} 
[2026-04-17 00:50:46] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:50:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749919232001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:50:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:50:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:50:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:50:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776367173000,"timestamp_ms":1776367173000,"timestamp_seconds":1776367173,"priority":1,"record_length":96,"hex_timestamp":"0000019d97bbfd88"} 
[2026-04-17 00:50:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:50:46] 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-04-17 00: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 00:50: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-04-17 00: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-04-17 00:50:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:50:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:50:46] local.INFO: Teltonika packet parsed successfully {"connection_id":46214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:50:46] local.INFO: Passing IMEI to GPS processor {"connection_id":46214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:50:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":46214,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:50:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:50:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:50:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:50:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749919232001,"66":25375,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:50:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:50:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:50:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749919232001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:50:46] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:50:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:50:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:50:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749919232001,"power":25375,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:50:46] local.INFO: DEBUG: GPS processor result {"connection_id":46214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18347,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:50:46] local.INFO: GPS data processed {"connection_id":46214,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:50:46] local.INFO: Acknowledgment sent {"connection_id":46214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:51:06] local.INFO: TCP Data received {"connection_id":45402,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:51:06] local.INFO: Processing buffer {"connection_id":45402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:51:06] local.INFO: IMEI packet received {"connection_id":45402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":45402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:51:11] local.INFO: TCP Data received {"connection_id":45402,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:51:11] local.INFO: Processing buffer {"connection_id":45402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:51:11] local.INFO: IMEI packet received {"connection_id":45402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":45402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:51:13] local.INFO: TCP Data received {"connection_id":45402,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97bbfd88012cdf4ec0073240700013006733..."} 
[2026-04-17 00:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97bbfd88012cdf4ec0073240700013006733..."} 
[2026-04-17 00:51:13] local.INFO: Processing buffer {"connection_id":45402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97bbfd88012cdf4ec0073240700013006733..."} 
[2026-04-17 00:51:13] local.INFO: Packet analysis {"connection_id":45402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97bb"} 
[2026-04-17 00:51:13] local.INFO: Extracted packet for processing {"connection_id":45402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97bb"} 
[2026-04-17 00:51:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749919232001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:51:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776367173000,"timestamp_ms":1776367173000,"timestamp_seconds":1776367173,"priority":1,"record_length":96,"hex_timestamp":"0000019d97bbfd88"} 
[2026-04-17 00:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:51:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 00:51: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-04-17 00:51:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749919232001,"66":25375,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749919232001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:51:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:51:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749919232001,"power":25375,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":45402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18348,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:51:13] local.INFO: GPS data processed {"connection_id":45402,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:51:13] local.INFO: Acknowledgment sent {"connection_id":45402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:51:45] local.INFO: TCP Data received {"connection_id":45402,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97bbfd88012cdf4ec0073240700013006733..."} 
[2026-04-17 00:51:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97bbfd88012cdf4ec0073240700013006733..."} 
[2026-04-17 00:51:45] local.INFO: Processing buffer {"connection_id":45402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97bbfd88012cdf4ec0073240700013006733..."} 
[2026-04-17 00:51:45] local.INFO: Packet analysis {"connection_id":45402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97bb"} 
[2026-04-17 00:51:45] local.INFO: Extracted packet for processing {"connection_id":45402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97bb"} 
[2026-04-17 00:51:45] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:51:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749919232001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:51:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:51:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:51:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:51:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776367173000,"timestamp_ms":1776367173000,"timestamp_seconds":1776367173,"priority":1,"record_length":96,"hex_timestamp":"0000019d97bbfd88"} 
[2026-04-17 00:51:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:51:45] 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-04-17 00: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":151,"data_length":795,"current_offset":136} 
[2026-04-17 00:51: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-04-17 00: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-04-17 00:51:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:51:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:51:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:51:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:51:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:51:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:51:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:51:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:51:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749919232001,"66":25375,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:51:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:51:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:51:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749919232001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:51:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:51:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:51:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:51:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749919232001,"power":25375,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:51:45] local.INFO: DEBUG: GPS processor result {"connection_id":45402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18349,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:51:45] local.INFO: GPS data processed {"connection_id":45402,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:51:45] local.INFO: Acknowledgment sent {"connection_id":45402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:52:06] local.INFO: TCP Data received {"connection_id":45659,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:52:06] local.INFO: Processing buffer {"connection_id":45659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:52:06] local.INFO: IMEI packet received {"connection_id":45659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":45659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:52:06] local.INFO: TCP Data received {"connection_id":45659,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:52:06] local.INFO: Processing buffer {"connection_id":45659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:52:06] local.INFO: IMEI packet received {"connection_id":45659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":45659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:52:12] local.INFO: TCP Data received {"connection_id":45659,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:52:12] local.INFO: Processing buffer {"connection_id":45659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:52:12] local.INFO: IMEI packet received {"connection_id":45659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":45659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:52:13] local.INFO: TCP Data received {"connection_id":45659,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97bdbec0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97bdbec0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:52:13] local.INFO: Processing buffer {"connection_id":45659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97bdbec0012cdf4ec0073240700013006733..."} 
[2026-04-17 00:52:13] local.INFO: Packet analysis {"connection_id":45659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97bd"} 
[2026-04-17 00:52:13] local.INFO: Extracted packet for processing {"connection_id":45659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97bd"} 
[2026-04-17 00:52:13] local.INFO: GPS Element Parsed {"raw_longitude":752832192,"raw_latitude":120733808,"longitude_deg":75.2832192,"latitude_deg":12.0733808,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf4ec0","hex_latitude":"07324070","is_valid_coordinates":true} 
[2026-04-17 00:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454749996288001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:52:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:52:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776367288000,"timestamp_ms":1776367288000,"timestamp_seconds":1776367288,"priority":1,"record_length":96,"hex_timestamp":"0000019d97bdbec0"} 
[2026-04-17 00:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:52:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 00:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 00:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454749996288001,"66":25375,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454749996288001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:52:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:52:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454749996288001,"power":25375,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":45659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18350,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:52:13] local.INFO: GPS data processed {"connection_id":45659,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:52:13] local.INFO: Acknowledgment sent {"connection_id":45659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:52:45] local.INFO: TCP Data received {"connection_id":45659,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97be2450012cdf5000073240800013006733..."} 
[2026-04-17 00:52:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97be2450012cdf5000073240800013006733..."} 
[2026-04-17 00:52:45] local.INFO: Processing buffer {"connection_id":45659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97be2450012cdf5000073240800013006733..."} 
[2026-04-17 00:52:45] local.INFO: Packet analysis {"connection_id":45659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97be"} 
[2026-04-17 00:52:45] local.INFO: Extracted packet for processing {"connection_id":45659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97be"} 
[2026-04-17 00:52:45] local.INFO: GPS Element Parsed {"raw_longitude":752832512,"raw_latitude":120733824,"longitude_deg":75.2832512,"latitude_deg":12.0733824,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf5000","hex_latitude":"07324080","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:52:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750025728001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:52:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:52:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355734417927802880,"note":"Value kept but may cause issues"} 
[2026-04-17 00:52:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:52:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776367314000,"timestamp_ms":1776367314000,"timestamp_seconds":1776367314,"priority":1,"record_length":96,"hex_timestamp":"0000019d97be2450"} 
[2026-04-17 00:52:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:52: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-04-17 00: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 00:52: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-04-17 00: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-04-17 00:52:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:52:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:52:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:52:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:52:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:52:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:52:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:52:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:52:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750025728001,"66":25234,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355734417927802880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:52:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:52:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:52:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750025728001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:52:45] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:52:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:52:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355734417927802880,"description":"Unknown IO ID 44"} 
[2026-04-17 00:52:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750025728001,"power":25234,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355734417927802880}} 
[2026-04-17 00:52:45] local.INFO: DEBUG: GPS processor result {"connection_id":45659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18351,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:52:45] local.INFO: GPS data processed {"connection_id":45659,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:52:45] local.INFO: Acknowledgment sent {"connection_id":45659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:53:06] local.INFO: TCP Data received {"connection_id":46215,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:53:06] local.INFO: Processing buffer {"connection_id":46215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:53:06] local.INFO: IMEI packet received {"connection_id":46215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":46215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:53:11] local.INFO: TCP Data received {"connection_id":46215,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46215,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:53:11] local.INFO: Processing buffer {"connection_id":46215,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:53:11] local.INFO: IMEI packet received {"connection_id":46215,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":46215,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:53:13] local.INFO: TCP Data received {"connection_id":46215,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97be7658012cdf5000073240800013006733..."} 
[2026-04-17 00:53:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97be7658012cdf5000073240800013006733..."} 
[2026-04-17 00:53:13] local.INFO: Processing buffer {"connection_id":46215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97be7658012cdf5000073240800013006733..."} 
[2026-04-17 00:53:13] local.INFO: Packet analysis {"connection_id":46215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97be"} 
[2026-04-17 00:53:13] local.INFO: Extracted packet for processing {"connection_id":46215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97be"} 
[2026-04-17 00:53:13] local.INFO: GPS Element Parsed {"raw_longitude":752832512,"raw_latitude":120733824,"longitude_deg":75.2832512,"latitude_deg":12.0733824,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf5000","hex_latitude":"07324080","is_valid_coordinates":true} 
[2026-04-17 00:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:53:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750032384001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:53:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:53:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355382574206910464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:53:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:53:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776367335000,"timestamp_ms":1776367335000,"timestamp_seconds":1776367335,"priority":1,"record_length":96,"hex_timestamp":"0000019d97be7658"} 
[2026-04-17 00:53:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:53:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00:53:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-17 00:53:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2002,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:53:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:53:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:53:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:53:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:53:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:53:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:53:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:53:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:53:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:53:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750032384001,"66":28234,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355382574206910464},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:53:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:53:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:53:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750032384001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:53:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:53:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:53:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355382574206910464,"description":"Unknown IO ID 44"} 
[2026-04-17 00:53:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750032384001,"power":28234,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355382574206910464}} 
[2026-04-17 00:53:13] local.INFO: DEBUG: GPS processor result {"connection_id":46215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18352,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:53:13] local.INFO: GPS data processed {"connection_id":46215,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:53:13] local.INFO: Acknowledgment sent {"connection_id":46215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:53:27] local.INFO: TCP Data received {"connection_id":45403,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:53:27] local.INFO: Processing buffer {"connection_id":45403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:53:27] local.INFO: IMEI packet received {"connection_id":45403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":45403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:53:32] local.INFO: TCP Data received {"connection_id":45403,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45403,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:53:32] local.INFO: Processing buffer {"connection_id":45403,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:53:32] local.INFO: IMEI packet received {"connection_id":45403,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:53:32] local.INFO: IMEI acknowledgment sent {"connection_id":45403,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:53:33] local.INFO: TCP Data received {"connection_id":45403,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97be37d8012d434140066c17e8000700dc31..."} 
[2026-04-17 00:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97be37d8012d434140066c17e8000700dc31..."} 
[2026-04-17 00:53:33] local.INFO: Processing buffer {"connection_id":45403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97be37d8012d434140066c17e8000700dc31..."} 
[2026-04-17 00:53:33] local.INFO: Packet analysis {"connection_id":45403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97be"} 
[2026-04-17 00:53:33] local.INFO: Extracted packet for processing {"connection_id":45403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97be"} 
[2026-04-17 00:53:33] local.INFO: GPS Element Parsed {"raw_longitude":759382336,"raw_latitude":107747304,"longitude_deg":75.9382336,"latitude_deg":10.7747304,"altitude":7,"angle":220,"satellites":49,"speed":56,"hex_longitude":"2d434140","hex_latitude":"066c17e8","is_valid_coordinates":true} 
[2026-04-17 00:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750031872001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273381755086438400,"note":"Value kept but may cause issues"} 
[2026-04-17 00:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4853543419751245824,"note":"Value kept but may cause issues"} 
[2026-04-17 00:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776367319000,"timestamp_ms":1776367319000,"timestamp_seconds":1776367319,"priority":1,"record_length":96,"hex_timestamp":"0000019d97be37d8"} 
[2026-04-17 00:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:53:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 00:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45403,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750031872001,"66":27343,"19":206,"80":60416,"24":56,"16":273381755086438400,"45":4853543419751245824},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-04-17 00:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750031872001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:53:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-17 00:53:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 00:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273381755086438400,"km_value":273381755086438.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":4853543419751245824,"description":"Unknown IO ID 45"} 
[2026-04-17 00:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750031872001,"power":27343,"unknown_19":206,"unknown_80":60416,"ignition":56,"odometer":null,"unknown_45":4853543419751245824}} 
[2026-04-17 00:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":45403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:53:33] local.INFO: GPS data processed {"connection_id":45403,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:53:33] local.INFO: Acknowledgment sent {"connection_id":45403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:53:44] local.INFO: TCP Data received {"connection_id":46215,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97bec860012cdf5000073240800013006733..."} 
[2026-04-17 00:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97bec860012cdf5000073240800013006733..."} 
[2026-04-17 00:53:44] local.INFO: Processing buffer {"connection_id":46215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97bec860012cdf5000073240800013006733..."} 
[2026-04-17 00:53:44] local.INFO: Packet analysis {"connection_id":46215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97be"} 
[2026-04-17 00:53:44] local.INFO: Extracted packet for processing {"connection_id":46215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97be"} 
[2026-04-17 00:53:44] local.INFO: GPS Element Parsed {"raw_longitude":752832512,"raw_latitude":120733824,"longitude_deg":75.2832512,"latitude_deg":12.0733824,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf5000","hex_latitude":"07324080","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750037760001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:53:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355382574206910464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776367356000,"timestamp_ms":1776367356000,"timestamp_seconds":1776367356,"priority":1,"record_length":96,"hex_timestamp":"0000019d97bec860"} 
[2026-04-17 00:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:53:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-04-17 00:53: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-04-17 00: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-04-17 00:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46215,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750037760001,"66":28354,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355382574206910464},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750037760001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:53:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:53:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355382574206910464,"description":"Unknown IO ID 44"} 
[2026-04-17 00:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750037760001,"power":28354,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355382574206910464}} 
[2026-04-17 00:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":46215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18354,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:53:44] local.INFO: GPS data processed {"connection_id":46215,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:53:44] local.INFO: Acknowledgment sent {"connection_id":46215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:53:57] local.INFO: TCP Data received {"connection_id":45463,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:53:57] local.INFO: Processing buffer {"connection_id":45463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:53:57] local.INFO: IMEI packet received {"connection_id":45463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":45463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:54:01] local.INFO: TCP Data received {"connection_id":45463,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:54:01] local.INFO: Processing buffer {"connection_id":45463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:54:01] local.INFO: IMEI packet received {"connection_id":45463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:54:01] local.INFO: IMEI acknowledgment sent {"connection_id":45463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:54:02] local.INFO: TCP Data received {"connection_id":45463,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:54:02] local.INFO: Processing buffer {"connection_id":45463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:54:02] local.INFO: IMEI packet received {"connection_id":45463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":45463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:54:06] local.INFO: TCP Data received {"connection_id":45464,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:54:06] local.INFO: Processing buffer {"connection_id":45464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:54:06] local.INFO: IMEI packet received {"connection_id":45464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":45464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:54:11] local.INFO: TCP Data received {"connection_id":45464,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:54:11] local.INFO: Processing buffer {"connection_id":45464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:54:11] local.INFO: IMEI packet received {"connection_id":45464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":45464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:54:12] local.INFO: TCP Data received {"connection_id":45463,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:54:12] local.INFO: Processing buffer {"connection_id":45463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:54:12] local.INFO: IMEI packet received {"connection_id":45463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:54:12] local.INFO: IMEI acknowledgment sent {"connection_id":45463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:54:13] local.INFO: TCP Data received {"connection_id":45464,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97bf1a68012cdf5000073240800013006733..."} 
[2026-04-17 00:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97bf1a68012cdf5000073240800013006733..."} 
[2026-04-17 00:54:13] local.INFO: Processing buffer {"connection_id":45464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97bf1a68012cdf5000073240800013006733..."} 
[2026-04-17 00:54:13] local.INFO: Packet analysis {"connection_id":45464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97bf"} 
[2026-04-17 00:54:13] local.INFO: Extracted packet for processing {"connection_id":45464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97bf"} 
[2026-04-17 00:54:13] local.INFO: GPS Element Parsed {"raw_longitude":752832512,"raw_latitude":120733824,"longitude_deg":75.2832512,"latitude_deg":12.0733824,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf5000","hex_latitude":"07324080","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750043136001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:54:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355382574206910464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776367377000,"timestamp_ms":1776367377000,"timestamp_seconds":1776367377,"priority":1,"record_length":96,"hex_timestamp":"0000019d97bf1a68"} 
[2026-04-17 00:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:54:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 00:54:13] 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-04-17 00: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-04-17 00:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750043136001,"66":28028,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355382574206910464},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750043136001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:54:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:54:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355382574206910464,"description":"Unknown IO ID 44"} 
[2026-04-17 00:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750043136001,"power":28028,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355382574206910464}} 
[2026-04-17 00:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":45464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18355,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:54:13] local.INFO: GPS data processed {"connection_id":45464,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:54:13] local.INFO: Acknowledgment sent {"connection_id":45464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:54:13] local.INFO: TCP Data received {"connection_id":45463,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97be5330012d432740066bfa40000800dd30..."} 
[2026-04-17 00:54:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97be5330012d432740066bfa40000800dd30..."} 
[2026-04-17 00:54:13] local.INFO: Processing buffer {"connection_id":45463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97be5330012d432740066bfa40000800dd30..."} 
[2026-04-17 00:54:13] local.INFO: Packet analysis {"connection_id":45463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97be"} 
[2026-04-17 00:54:13] local.INFO: Extracted packet for processing {"connection_id":45463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97be"} 
[2026-04-17 00:54:13] local.INFO: GPS Element Parsed {"raw_longitude":759375680,"raw_latitude":107739712,"longitude_deg":75.937568,"latitude_deg":10.7739712,"altitude":8,"angle":221,"satellites":48,"speed":57,"hex_longitude":"2d432740","hex_latitude":"066bfa40","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:54:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750033664001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:54:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273382236122775552,"note":"Value kept but may cause issues"} 
[2026-04-17 00:54:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4846225070354851840,"note":"Value kept but may cause issues"} 
[2026-04-17 00:54:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:54:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776367326000,"timestamp_ms":1776367326000,"timestamp_seconds":1776367326,"priority":1,"record_length":96,"hex_timestamp":"0000019d97be5330"} 
[2026-04-17 00:54:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:54: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-04-17 00: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 00:54:13] 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-04-17 00: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-04-17 00:54:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:54:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:54:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:54:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:54:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:54:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:54:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:54:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:54:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750033664001,"66":27484,"19":206,"80":60416,"24":57,"16":273382236122775552,"45":4846225070354851840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-04-17 00:54:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:54:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:54:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750033664001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:54:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-17 00:54:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 00:54:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273382236122775552,"km_value":273382236122775.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:54:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4846225070354851840,"description":"Unknown IO ID 45"} 
[2026-04-17 00:54:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750033664001,"power":27484,"unknown_19":206,"unknown_80":60416,"ignition":57,"odometer":null,"unknown_45":4846225070354851840}} 
[2026-04-17 00:54:13] local.INFO: DEBUG: GPS processor result {"connection_id":45463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:54:13] local.INFO: GPS data processed {"connection_id":45463,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:54:13] local.INFO: Acknowledgment sent {"connection_id":45463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:54:14] local.INFO: TCP Data received {"connection_id":45463,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97be6e88012d430c40066bdc80000800df31..."} 
[2026-04-17 00:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97be6e88012d430c40066bdc80000800df31..."} 
[2026-04-17 00:54:14] local.INFO: Processing buffer {"connection_id":45463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97be6e88012d430c40066bdc80000800df31..."} 
[2026-04-17 00:54:14] local.INFO: Packet analysis {"connection_id":45463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97be"} 
[2026-04-17 00:54:14] local.INFO: Extracted packet for processing {"connection_id":45463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97be"} 
[2026-04-17 00:54:14] local.INFO: GPS Element Parsed {"raw_longitude":759368768,"raw_latitude":107732096,"longitude_deg":75.9368768,"latitude_deg":10.7732096,"altitude":8,"angle":223,"satellites":49,"speed":58,"hex_longitude":"2d430c40","hex_latitude":"066bdc80","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750035456001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273382734338981888,"note":"Value kept but may cause issues"} 
[2026-04-17 00:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4838906720958431232,"note":"Value kept but may cause issues"} 
[2026-04-17 00:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,19,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776367333000,"timestamp_ms":1776367333000,"timestamp_seconds":1776367333,"priority":1,"record_length":96,"hex_timestamp":"0000019d97be6e88"} 
[2026-04-17 00:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:54:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 00:54:14] 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-04-17 00: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-04-17 00:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750035456001,"66":27343,"19":206,"80":60416,"24":58,"16":273382734338981888,"45":4838906720958431232},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,80,24,16,45]} 
[2026-04-17 00:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750035456001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:54:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":206,"description":"Unknown IO ID 19"} 
[2026-04-17 00:54:14] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 00:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273382734338981888,"km_value":273382734338981.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4838906720958431232,"description":"Unknown IO ID 45"} 
[2026-04-17 00:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750035456001,"power":27343,"unknown_19":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4838906720958431232}} 
[2026-04-17 00:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":45463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:54:14] local.INFO: GPS data processed {"connection_id":45463,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:54:14] local.INFO: Acknowledgment sent {"connection_id":45463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:54:44] local.INFO: TCP Data received {"connection_id":45464,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97bf6c70012cdf5000073240800013006733..."} 
[2026-04-17 00:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97bf6c70012cdf5000073240800013006733..."} 
[2026-04-17 00:54:44] local.INFO: Processing buffer {"connection_id":45464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97bf6c70012cdf5000073240800013006733..."} 
[2026-04-17 00:54:44] local.INFO: Packet analysis {"connection_id":45464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97bf"} 
[2026-04-17 00:54:44] local.INFO: Extracted packet for processing {"connection_id":45464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97bf"} 
[2026-04-17 00:54:44] local.INFO: GPS Element Parsed {"raw_longitude":752832512,"raw_latitude":120733824,"longitude_deg":75.2832512,"latitude_deg":12.0733824,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf5000","hex_latitude":"07324080","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750048512001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:54:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355382574206910464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776367398000,"timestamp_ms":1776367398000,"timestamp_seconds":1776367398,"priority":1,"record_length":96,"hex_timestamp":"0000019d97bf6c70"} 
[2026-04-17 00:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:54:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 00:54:44] 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-04-17 00: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-04-17 00:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750048512001,"66":28126,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355382574206910464},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750048512001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:54:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:54:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355382574206910464,"description":"Unknown IO ID 44"} 
[2026-04-17 00:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750048512001,"power":28126,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355382574206910464}} 
[2026-04-17 00:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":45464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18358,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:54:45] local.INFO: GPS data processed {"connection_id":45464,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:54:45] local.INFO: Acknowledgment sent {"connection_id":45464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:54:51] local.INFO: TCP Data received {"connection_id":45660,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:54:52] local.INFO: Processing buffer {"connection_id":45660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:54:52] local.INFO: IMEI packet received {"connection_id":45660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":45660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:54:52] local.INFO: TCP Data received {"connection_id":45660,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:54:52] local.INFO: Processing buffer {"connection_id":45660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:54:52] local.INFO: IMEI packet received {"connection_id":45660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":45660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:54:57] local.INFO: TCP Data received {"connection_id":45660,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:54:57] local.INFO: Processing buffer {"connection_id":45660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:54:57] local.INFO: IMEI packet received {"connection_id":45660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":45660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:54:58] local.INFO: TCP Data received {"connection_id":45660,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97bfd200012d41cdc0066a6090000b00d130..."} 
[2026-04-17 00:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97bfd200012d41cdc0066a6090000b00d130..."} 
[2026-04-17 00:54:58] local.INFO: Processing buffer {"connection_id":45660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97bfd200012d41cdc0066a6090000b00d130..."} 
[2026-04-17 00:54:58] local.INFO: Packet analysis {"connection_id":45660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97bf"} 
[2026-04-17 00:54:58] local.INFO: Extracted packet for processing {"connection_id":45660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97bf"} 
[2026-04-17 00:54:58] local.INFO: GPS Element Parsed {"raw_longitude":759287232,"raw_latitude":107634832,"longitude_deg":75.9287232,"latitude_deg":10.7634832,"altitude":11,"angle":209,"satellites":48,"speed":59,"hex_longitude":"2d41cdc0","hex_latitude":"066a6090","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750058752001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273388854667378688,"note":"Value kept but may cause issues"} 
[2026-04-17 00:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4748201409688760320,"note":"Value kept but may cause issues"} 
[2026-04-17 00:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776367424000,"timestamp_ms":1776367424000,"timestamp_seconds":1776367424,"priority":1,"record_length":96,"hex_timestamp":"0000019d97bfd200"} 
[2026-04-17 00:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:54: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-04-17 00:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 00:54:58] 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-04-17 00: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-04-17 00:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750058752001,"66":27571,"167":206,"80":60416,"24":59,"16":273388854667378688,"45":4748201409688760320},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,80,24,16,45]} 
[2026-04-17 00:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750058752001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:54:58] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-17 00:54:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 00:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273388854667378688,"km_value":273388854667378.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4748201409688760320,"description":"Unknown IO ID 45"} 
[2026-04-17 00:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750058752001,"power":27571,"unknown_167":206,"unknown_80":60416,"ignition":59,"odometer":null,"unknown_45":4748201409688760320}} 
[2026-04-17 00:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":45660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:54:58] local.INFO: GPS data processed {"connection_id":45660,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:54:58] local.INFO: Acknowledgment sent {"connection_id":45660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:55:05] local.INFO: TCP Data received {"connection_id":46216,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:55:05] local.INFO: Processing buffer {"connection_id":46216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:55:05] local.INFO: IMEI packet received {"connection_id":46216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":46216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:55:06] local.INFO: TCP Data received {"connection_id":46216,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:55:06] local.INFO: Processing buffer {"connection_id":46216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:55:06] local.INFO: IMEI packet received {"connection_id":46216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:55:06] local.INFO: IMEI acknowledgment sent {"connection_id":46216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:55:11] local.INFO: TCP Data received {"connection_id":46216,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:55:11] local.INFO: Processing buffer {"connection_id":46216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:55:11] local.INFO: IMEI packet received {"connection_id":46216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":46216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:55:12] local.INFO: TCP Data received {"connection_id":46216,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97bfbe78012cdf5000073240800013006733..."} 
[2026-04-17 00:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97bfbe78012cdf5000073240800013006733..."} 
[2026-04-17 00:55:12] local.INFO: Processing buffer {"connection_id":46216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97bfbe78012cdf5000073240800013006733..."} 
[2026-04-17 00:55:12] local.INFO: Packet analysis {"connection_id":46216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97bf"} 
[2026-04-17 00:55:12] local.INFO: Extracted packet for processing {"connection_id":46216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97bf"} 
[2026-04-17 00:55:12] local.INFO: GPS Element Parsed {"raw_longitude":752832512,"raw_latitude":120733824,"longitude_deg":75.2832512,"latitude_deg":12.0733824,"altitude":19,"angle":103,"satellites":51,"speed":0,"hex_longitude":"2cdf5000","hex_latitude":"07324080","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750053888001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:55:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355382574206910464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776367419000,"timestamp_ms":1776367419000,"timestamp_seconds":1776367419,"priority":1,"record_length":96,"hex_timestamp":"0000019d97bfbe78"} 
[2026-04-17 00:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:55:12] 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-04-17 00: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":109,"n8_eight_byte":222,"data_length":795,"current_offset":136} 
[2026-04-17 00:55:12] 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-04-17 00: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-04-17 00:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750053888001,"66":28006,"81":206,"2":56832,"24":0,"16":106618783551979520,"44":-2355382574206910464},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750053888001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:55:12] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:55:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355382574206910464,"description":"Unknown IO ID 44"} 
[2026-04-17 00:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750053888001,"power":28006,"unknown_81":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2355382574206910464}} 
[2026-04-17 00:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":46216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18360,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:55:13] local.INFO: GPS data processed {"connection_id":46216,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:55:13] local.INFO: Acknowledgment sent {"connection_id":46216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:55:30] local.INFO: TCP Data received {"connection_id":45660,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97bfe970012d41bfc0066a40f8000c00c52f..."} 
[2026-04-17 00:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97bfe970012d41bfc0066a40f8000c00c52f..."} 
[2026-04-17 00:55:30] local.INFO: Processing buffer {"connection_id":45660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97bfe970012d41bfc0066a40f8000c00c52f..."} 
[2026-04-17 00:55:30] local.INFO: Packet analysis {"connection_id":45660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97bf"} 
[2026-04-17 00:55:30] local.INFO: Extracted packet for processing {"connection_id":45660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97bf"} 
[2026-04-17 00:55:30] local.INFO: GPS Element Parsed {"raw_longitude":759283648,"raw_latitude":107626744,"longitude_deg":75.9283648,"latitude_deg":10.7626744,"altitude":12,"angle":197,"satellites":47,"speed":58,"hex_longitude":"2d41bfc0","hex_latitude":"066a40f8","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750060544001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273389284164108288,"note":"Value kept but may cause issues"} 
[2026-04-17 00:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4741657116478050304,"note":"Value kept but may cause issues"} 
[2026-04-17 00:55:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776367430000,"timestamp_ms":1776367430000,"timestamp_seconds":1776367430,"priority":1,"record_length":96,"hex_timestamp":"0000019d97bfe970"} 
[2026-04-17 00:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:55: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-04-17 00: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-17 00:55:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:55: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-04-17 00:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750060544001,"66":27539,"168":206,"80":60416,"24":58,"16":273389284164108288,"45":4741657116478050304},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,80,24,16,45]} 
[2026-04-17 00:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750060544001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:55:30] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-17 00:55:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 00:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273389284164108288,"km_value":273389284164108.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4741657116478050304,"description":"Unknown IO ID 45"} 
[2026-04-17 00:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750060544001,"power":27539,"unknown_168":206,"unknown_80":60416,"ignition":58,"odometer":null,"unknown_45":4741657116478050304}} 
[2026-04-17 00:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":45660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:55:30] local.INFO: GPS data processed {"connection_id":45660,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:55:30] local.INFO: Acknowledgment sent {"connection_id":45660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:55:50] local.INFO: TCP Data received {"connection_id":45404,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:55:50] local.INFO: Processing buffer {"connection_id":45404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:55:50] local.INFO: IMEI packet received {"connection_id":45404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":45404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:55:53] local.INFO: TCP Data received {"connection_id":45404,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:55:53] local.INFO: Processing buffer {"connection_id":45404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:55:53] local.INFO: IMEI packet received {"connection_id":45404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":45404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:55:57] local.INFO: TCP Data received {"connection_id":45404,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45404,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:55:57] local.INFO: Processing buffer {"connection_id":45404,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:55:57] local.INFO: IMEI packet received {"connection_id":45404,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":45404,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:55:58] local.INFO: TCP Data received {"connection_id":45404,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c0f310012d4220800668ca100007009f30..."} 
[2026-04-17 00:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c0f310012d4220800668ca100007009f30..."} 
[2026-04-17 00:55:58] local.INFO: Processing buffer {"connection_id":45404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c0f310012d4220800668ca100007009f30..."} 
[2026-04-17 00:55:58] local.INFO: Packet analysis {"connection_id":45404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c0"} 
[2026-04-17 00:55:58] local.INFO: Extracted packet for processing {"connection_id":45404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c0"} 
[2026-04-17 00:55:58] local.INFO: GPS Element Parsed {"raw_longitude":759308416,"raw_latitude":107530768,"longitude_deg":75.9308416,"latitude_deg":10.7530768,"altitude":7,"angle":159,"satellites":48,"speed":52,"hex_longitude":"2d422080","hex_latitude":"0668ca10","is_valid_coordinates":true} 
[2026-04-17 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-04-17 00:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750077696001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273394158951989248,"note":"Value kept but may cause issues"} 
[2026-04-17 00:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4761289996079169536,"note":"Value kept but may cause issues"} 
[2026-04-17 00:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776367498000,"timestamp_ms":1776367498000,"timestamp_seconds":1776367498,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c0f310"} 
[2026-04-17 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-04-17 00:55: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-04-17 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 00:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 00:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750077696001,"66":27397,"223":206,"80":60416,"24":52,"16":273394158951989248,"45":4761289996079169536},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-04-17 00:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750077696001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:55:58] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-04-17 00:55:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 00:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273394158951989248,"km_value":273394158951989.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4761289996079169536,"description":"Unknown IO ID 45"} 
[2026-04-17 00:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750077696001,"power":27397,"unknown_223":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":4761289996079169536}} 
[2026-04-17 00:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":45404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:55:58] local.INFO: GPS data processed {"connection_id":45404,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:55:58] local.INFO: Acknowledgment sent {"connection_id":45404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:56:02] local.INFO: TCP Data received {"connection_id":46216,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c01080012cdf7d4007323090001a007832..."} 
[2026-04-17 00:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46216,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c01080012cdf7d4007323090001a007832..."} 
[2026-04-17 00:56:02] local.INFO: Processing buffer {"connection_id":46216,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c01080012cdf7d4007323090001a007832..."} 
[2026-04-17 00:56:02] local.INFO: Packet analysis {"connection_id":46216,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c0"} 
[2026-04-17 00:56:02] local.INFO: Extracted packet for processing {"connection_id":46216,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c0"} 
[2026-04-17 00:56:02] local.INFO: GPS Element Parsed {"raw_longitude":752844096,"raw_latitude":120729744,"longitude_deg":75.2844096,"latitude_deg":12.0729744,"altitude":26,"angle":120,"satellites":50,"speed":15,"hex_longitude":"2cdf7d40","hex_latitude":"07323090","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750059264001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:56:02] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2355382574206910464,"note":"Value kept but may cause issues"} 
[2026-04-17 00:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776367440000,"timestamp_ms":1776367440000,"timestamp_seconds":1776367440,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c01080"} 
[2026-04-17 00:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00: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":102,"data_length":795,"current_offset":136} 
[2026-04-17 00:56: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-04-17 00: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-04-17 00:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46216,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46216,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750059264001,"66":28050,"81":206,"2":56832,"24":15,"16":106618783551979520,"44":-2355382574206910464},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750059264001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:56:02] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:56:02] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2355382574206910464,"description":"Unknown IO ID 44"} 
[2026-04-17 00:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750059264001,"power":28050,"unknown_81":206,"power_alt":56832,"ignition":15,"odometer":null,"unknown_44":-2355382574206910464}} 
[2026-04-17 00:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":46216,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18363,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:56:02] local.INFO: GPS data processed {"connection_id":46216,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:56:02] local.INFO: Acknowledgment sent {"connection_id":46216,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:56:06] local.INFO: TCP Data received {"connection_id":45661,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:56:06] local.INFO: Processing buffer {"connection_id":45661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:56:06] local.INFO: IMEI packet received {"connection_id":45661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":45661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:56:11] local.INFO: TCP Data received {"connection_id":45661,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45661,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:56:11] local.INFO: Processing buffer {"connection_id":45661,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:56:11] local.INFO: IMEI packet received {"connection_id":45661,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":45661,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:56:13] local.INFO: TCP Data received {"connection_id":45661,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c01080012cdf7d4007323090001a007832..."} 
[2026-04-17 00:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c01080012cdf7d4007323090001a007832..."} 
[2026-04-17 00:56:13] local.INFO: Processing buffer {"connection_id":45661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c01080012cdf7d4007323090001a007832..."} 
[2026-04-17 00:56:13] local.INFO: Packet analysis {"connection_id":45661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c0"} 
[2026-04-17 00:56:13] local.INFO: Extracted packet for processing {"connection_id":45661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c0"} 
[2026-04-17 00:56:13] local.INFO: GPS Element Parsed {"raw_longitude":752844096,"raw_latitude":120729744,"longitude_deg":75.2844096,"latitude_deg":12.0729744,"altitude":26,"angle":120,"satellites":50,"speed":15,"hex_longitude":"2cdf7d40","hex_latitude":"07323090","is_valid_coordinates":true} 
[2026-04-17 00:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750064640001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:56:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2342645831511797760,"note":"Value kept but may cause issues"} 
[2026-04-17 00:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776367440000,"timestamp_ms":1776367440000,"timestamp_seconds":1776367440,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c01080"} 
[2026-04-17 00:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:56:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-17 00:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2057,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750064640001,"66":28050,"81":206,"2":56832,"24":15,"16":106618783551979520,"44":-2342645831511797760},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16,44]} 
[2026-04-17 00:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750064640001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:56:13] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:56:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2342645831511797760,"description":"Unknown IO ID 44"} 
[2026-04-17 00:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750064640001,"power":28050,"unknown_81":206,"power_alt":56832,"ignition":15,"odometer":null,"unknown_44":-2342645831511797760}} 
[2026-04-17 00:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":45661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18364,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:56:13] local.INFO: GPS data processed {"connection_id":45661,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:56:13] local.INFO: Acknowledgment sent {"connection_id":45661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:56:30] local.INFO: TCP Data received {"connection_id":45404,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c10e68012d422d400668a7d00007009f30..."} 
[2026-04-17 00:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c10e68012d422d400668a7d00007009f30..."} 
[2026-04-17 00:56:30] local.INFO: Processing buffer {"connection_id":45404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c10e68012d422d400668a7d00007009f30..."} 
[2026-04-17 00:56:30] local.INFO: Packet analysis {"connection_id":45404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c1"} 
[2026-04-17 00:56:30] local.INFO: Extracted packet for processing {"connection_id":45404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c1"} 
[2026-04-17 00:56:30] local.INFO: GPS Element Parsed {"raw_longitude":759311680,"raw_latitude":107522000,"longitude_deg":75.931168,"latitude_deg":10.7522,"altitude":7,"angle":159,"satellites":48,"speed":54,"hex_longitude":"2d422d40","hex_latitude":"0668a7d0","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750079488001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273394614218522624,"note":"Value kept but may cause issues"} 
[2026-04-17 00:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4764949170774216704,"note":"Value kept but may cause issues"} 
[2026-04-17 00:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776367505000,"timestamp_ms":1776367505000,"timestamp_seconds":1776367505,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c10e68"} 
[2026-04-17 00:56:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:56: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-04-17 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 00:56: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-04-17 00: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-04-17 00:56:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45404,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:56: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-04-17 00:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750079488001,"66":27365,"223":206,"80":60416,"24":54,"16":273394614218522624,"45":4764949170774216704},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-04-17 00:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750079488001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:56:30] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-04-17 00:56:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 00:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273394614218522624,"km_value":273394614218522.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":4764949170774216704,"description":"Unknown IO ID 45"} 
[2026-04-17 00:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750079488001,"power":27365,"unknown_223":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4764949170774216704}} 
[2026-04-17 00:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":45404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:56:30] local.INFO: GPS data processed {"connection_id":45404,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:56:30] local.INFO: Acknowledgment sent {"connection_id":45404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:56:45] local.INFO: TCP Data received {"connection_id":45661,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c112500100000000000000000000000000..."} 
[2026-04-17 00:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c112500100000000000000000000000000..."} 
[2026-04-17 00:56:45] local.INFO: Processing buffer {"connection_id":45661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c112500100000000000000000000000000..."} 
[2026-04-17 00:56:45] local.INFO: Packet analysis {"connection_id":45661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c1"} 
[2026-04-17 00:56:45] local.INFO: Extracted packet for processing {"connection_id":45661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c1"} 
[2026-04-17 00:56:45] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750064640001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:56:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2342645831511797760,"note":"Value kept but may cause issues"} 
[2026-04-17 00:56:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776367506000,"timestamp_ms":1776367506000,"timestamp_seconds":1776367506,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c11250"} 
[2026-04-17 00:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:56: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-04-17 00: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-17 00:56:45] 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-04-17 00: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-04-17 00:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45661,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":45661,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 00:56:45] local.INFO: GPS data processed {"connection_id":45661,"processed":0,"errors":0,"total":1} 
[2026-04-17 00:56:45] local.INFO: Acknowledgment sent {"connection_id":45661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:56:52] local.INFO: TCP Data received {"connection_id":45405,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:56:52] local.INFO: Processing buffer {"connection_id":45405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:56:52] local.INFO: IMEI packet received {"connection_id":45405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":45405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:56:55] local.INFO: TCP Data received {"connection_id":45405,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:56:55] local.INFO: Processing buffer {"connection_id":45405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:56:55] local.INFO: IMEI packet received {"connection_id":45405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":45405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:56:57] local.INFO: TCP Data received {"connection_id":45405,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45405,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:56:57] local.INFO: Processing buffer {"connection_id":45405,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:56:57] local.INFO: IMEI packet received {"connection_id":45405,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":45405,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:56:58] local.INFO: TCP Data received {"connection_id":45405,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c129c0012d423ac0066884c00007009f30..."} 
[2026-04-17 00:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c129c0012d423ac0066884c00007009f30..."} 
[2026-04-17 00:56:58] local.INFO: Processing buffer {"connection_id":45405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c129c0012d423ac0066884c00007009f30..."} 
[2026-04-17 00:56:58] local.INFO: Packet analysis {"connection_id":45405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c1"} 
[2026-04-17 00:56:58] local.INFO: Extracted packet for processing {"connection_id":45405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c1"} 
[2026-04-17 00:56:58] local.INFO: GPS Element Parsed {"raw_longitude":759315136,"raw_latitude":107513024,"longitude_deg":75.9315136,"latitude_deg":10.7513024,"altitude":7,"angle":159,"satellites":48,"speed":54,"hex_longitude":"2d423ac0","hex_latitude":"066884c0","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750081280001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273395078074990592,"note":"Value kept but may cause issues"} 
[2026-04-17 00:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4768537976725032960,"note":"Value kept but may cause issues"} 
[2026-04-17 00:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776367512000,"timestamp_ms":1776367512000,"timestamp_seconds":1776367512,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c129c0"} 
[2026-04-17 00:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:56: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-04-17 00: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 00:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750081280001,"66":27332,"223":206,"80":60416,"24":54,"16":273395078074990592,"45":4768537976725032960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-04-17 00:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750081280001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:56:58] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-04-17 00:56:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 00:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273395078074990592,"km_value":273395078074990.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4768537976725032960,"description":"Unknown IO ID 45"} 
[2026-04-17 00:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750081280001,"power":27332,"unknown_223":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4768537976725032960}} 
[2026-04-17 00:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":45405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:56:58] local.INFO: GPS data processed {"connection_id":45405,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:56:58] local.INFO: Acknowledgment sent {"connection_id":45405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:57:03] local.INFO: TCP Data received {"connection_id":45405,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c14518012d4247c0066861900007009f31..."} 
[2026-04-17 00:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c14518012d4247c0066861900007009f31..."} 
[2026-04-17 00:57:03] local.INFO: Processing buffer {"connection_id":45405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c14518012d4247c0066861900007009f31..."} 
[2026-04-17 00:57:03] local.INFO: Packet analysis {"connection_id":45405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c1"} 
[2026-04-17 00:57:03] local.INFO: Extracted packet for processing {"connection_id":45405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c1"} 
[2026-04-17 00:57:03] local.INFO: GPS Element Parsed {"raw_longitude":759318464,"raw_latitude":107504016,"longitude_deg":75.9318464,"latitude_deg":10.7504016,"altitude":7,"angle":159,"satellites":49,"speed":54,"hex_longitude":"2d4247c0","hex_latitude":"06686190","is_valid_coordinates":true} 
[2026-04-17 00:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750083072001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273395541931458560,"note":"Value kept but may cause issues"} 
[2026-04-17 00:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4772337888908328960,"note":"Value kept but may cause issues"} 
[2026-04-17 00:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,223,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776367519000,"timestamp_ms":1776367519000,"timestamp_seconds":1776367519,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c14518"} 
[2026-04-17 00:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:57:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00:57:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 00:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:57:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750083072001,"66":27397,"223":206,"80":60416,"24":54,"16":273395541931458560,"45":4772337888908328960},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,223,80,24,16,45]} 
[2026-04-17 00:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750083072001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:57:03] local.INFO: Unknown IO ID detected {"io_id":223,"value":206,"description":"Unknown IO ID 223"} 
[2026-04-17 00:57:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 00:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273395541931458560,"km_value":273395541931458.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4772337888908328960,"description":"Unknown IO ID 45"} 
[2026-04-17 00:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750083072001,"power":27397,"unknown_223":206,"unknown_80":60416,"ignition":54,"odometer":null,"unknown_45":4772337888908328960}} 
[2026-04-17 00:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":45405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:57:03] local.INFO: GPS data processed {"connection_id":45405,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:57:03] local.INFO: Acknowledgment sent {"connection_id":45405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:57:11] local.INFO: TCP Data received {"connection_id":45465,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:57:11] local.INFO: Processing buffer {"connection_id":45465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:57:11] local.INFO: IMEI packet received {"connection_id":45465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":45465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:57:16] local.INFO: TCP Data received {"connection_id":45465,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45465,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:57:16] local.INFO: Processing buffer {"connection_id":45465,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:57:16] local.INFO: IMEI packet received {"connection_id":45465,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:57:16] local.INFO: IMEI acknowledgment sent {"connection_id":45465,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:57:17] local.INFO: TCP Data received {"connection_id":45465,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c079f8012cdfb3c0073228e8001c006031..."} 
[2026-04-17 00:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c079f8012cdfb3c0073228e8001c006031..."} 
[2026-04-17 00:57:17] local.INFO: Processing buffer {"connection_id":45465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c079f8012cdfb3c0073228e8001c006031..."} 
[2026-04-17 00:57:17] local.INFO: Packet analysis {"connection_id":45465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c0"} 
[2026-04-17 00:57:17] local.INFO: Extracted packet for processing {"connection_id":45465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c0"} 
[2026-04-17 00:57:17] local.INFO: GPS Element Parsed {"raw_longitude":752858048,"raw_latitude":120727784,"longitude_deg":75.2858048,"latitude_deg":12.0727784,"altitude":28,"angle":96,"satellites":49,"speed":22,"hex_longitude":"2cdfb3c0","hex_latitude":"073228e8","is_valid_coordinates":true} 
[2026-04-17 00:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:57:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 00:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776367467000,"timestamp_ms":1776367467000,"timestamp_seconds":1776367467,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c079f8"} 
[2026-04-17 00:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:57:17] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-04-17 00:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28104,"81":206,"2":56832,"24":22,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16]} 
[2026-04-17 00:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 00:57:17] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:57:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28104,"unknown_81":206,"power_alt":56832,"ignition":22,"odometer":null}} 
[2026-04-17 00:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":45465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18368,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:57:17] local.INFO: GPS data processed {"connection_id":45465,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:57:17] local.INFO: Acknowledgment sent {"connection_id":45465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:57:18] local.INFO: TCP Data received {"connection_id":45465,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c17bc80100000000000000000000000000..."} 
[2026-04-17 00:57:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c17bc80100000000000000000000000000..."} 
[2026-04-17 00:57:18] local.INFO: Processing buffer {"connection_id":45465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c17bc80100000000000000000000000000..."} 
[2026-04-17 00:57:18] local.INFO: Packet analysis {"connection_id":45465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c1"} 
[2026-04-17 00:57:18] local.INFO: Extracted packet for processing {"connection_id":45465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c1"} 
[2026-04-17 00: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-04-17 00: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-04-17 00:57:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750071552001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:57:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:57:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2327305445281568768,"note":"Value kept but may cause issues"} 
[2026-04-17 00:57:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:57:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776367533000,"timestamp_ms":1776367533000,"timestamp_seconds":1776367533,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c17bc8"} 
[2026-04-17 00:57:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:57:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-17 00:57:18] 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-04-17 00: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-04-17 00:57:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:57:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:57:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:57:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:57:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:57:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:57:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:57:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:57:18] local.INFO: DEBUG: GPS processor result {"connection_id":45465,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 00:57:18] local.INFO: GPS data processed {"connection_id":45465,"processed":0,"errors":0,"total":1} 
[2026-04-17 00:57:18] local.INFO: Acknowledgment sent {"connection_id":45465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:57:34] local.INFO: TCP Data received {"connection_id":45405,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c28568012d43750006676410000d006933..."} 
[2026-04-17 00:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c28568012d43750006676410000d006933..."} 
[2026-04-17 00:57:34] local.INFO: Processing buffer {"connection_id":45405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c28568012d43750006676410000d006933..."} 
[2026-04-17 00:57:34] local.INFO: Packet analysis {"connection_id":45405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c2"} 
[2026-04-17 00:57:34] local.INFO: Extracted packet for processing {"connection_id":45405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c2"} 
[2026-04-17 00:57:34] local.INFO: GPS Element Parsed {"raw_longitude":759395584,"raw_latitude":107439120,"longitude_deg":75.9395584,"latitude_deg":10.743912,"altitude":13,"angle":105,"satellites":51,"speed":47,"hex_longitude":"2d437500","hex_latitude":"06676410","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750103808001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273400867690905600,"note":"Value kept but may cause issues"} 
[2026-04-17 00:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4850376826182998016,"note":"Value kept but may cause issues"} 
[2026-04-17 00:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776367601000,"timestamp_ms":1776367601000,"timestamp_seconds":1776367601,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c28568"} 
[2026-04-17 00:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:57: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-04-17 00: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 00:57: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-04-17 00: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-04-17 00:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45405,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750103808001,"66":27484,"222":206,"80":60416,"24":47,"16":273400867690905600,"45":4850376826182998016},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,80,24,16,45]} 
[2026-04-17 00:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750103808001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:57:34] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-04-17 00:57:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 00:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273400867690905600,"km_value":273400867690905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4850376826182998016,"description":"Unknown IO ID 45"} 
[2026-04-17 00:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750103808001,"power":27484,"unknown_222":206,"unknown_80":60416,"ignition":47,"odometer":null,"unknown_45":4850376826182998016}} 
[2026-04-17 00:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":45405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:57:34] local.INFO: GPS data processed {"connection_id":45405,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:57:34] local.INFO: Acknowledgment sent {"connection_id":45405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:57:49] local.INFO: TCP Data received {"connection_id":45465,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c0d3d0012cdfebc007321ee8001e005b33..."} 
[2026-04-17 00:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c0d3d0012cdfebc007321ee8001e005b33..."} 
[2026-04-17 00:57:49] local.INFO: Processing buffer {"connection_id":45465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c0d3d0012cdfebc007321ee8001e005b33..."} 
[2026-04-17 00:57:49] local.INFO: Packet analysis {"connection_id":45465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c0"} 
[2026-04-17 00:57:49] local.INFO: Extracted packet for processing {"connection_id":45465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c0"} 
[2026-04-17 00:57:49] local.INFO: GPS Element Parsed {"raw_longitude":752872384,"raw_latitude":120725224,"longitude_deg":75.2872384,"latitude_deg":12.0725224,"altitude":30,"angle":91,"satellites":51,"speed":24,"hex_longitude":"2cdfebc0","hex_latitude":"07321ee8","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:57:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 00:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776367490000,"timestamp_ms":1776367490000,"timestamp_seconds":1776367490,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c0d3d0"} 
[2026-04-17 00:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:57: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-04-17 00:57:49] 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-04-17 00:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45465,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"81":206,"2":56832,"24":24,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16]} 
[2026-04-17 00:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 00:57:49] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:57:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"unknown_81":206,"power_alt":56832,"ignition":24,"odometer":null}} 
[2026-04-17 00:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":45465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18370,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:57:50] local.INFO: GPS data processed {"connection_id":45465,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:57:50] local.INFO: Acknowledgment sent {"connection_id":45465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:57:52] local.INFO: TCP Data received {"connection_id":45406,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:57:52] local.INFO: Processing buffer {"connection_id":45406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:57:52] local.INFO: IMEI packet received {"connection_id":45406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":45406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:57:57] local.INFO: TCP Data received {"connection_id":45406,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45406,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:57:57] local.INFO: Processing buffer {"connection_id":45406,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:57:57] local.INFO: IMEI packet received {"connection_id":45406,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":45406,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:57:58] local.INFO: TCP Data received {"connection_id":45406,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c2a4a8012d439a0006675758000c007332..."} 
[2026-04-17 00:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c2a4a8012d439a0006675758000c007332..."} 
[2026-04-17 00:57:58] local.INFO: Processing buffer {"connection_id":45406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c2a4a8012d439a0006675758000c007332..."} 
[2026-04-17 00:57:58] local.INFO: Packet analysis {"connection_id":45406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c2"} 
[2026-04-17 00:57:58] local.INFO: Extracted packet for processing {"connection_id":45406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c2"} 
[2026-04-17 00:57:58] local.INFO: GPS Element Parsed {"raw_longitude":759405056,"raw_latitude":107435864,"longitude_deg":75.9405056,"latitude_deg":10.7435864,"altitude":12,"angle":115,"satellites":50,"speed":51,"hex_longitude":"2d439a00","hex_latitude":"06675758","is_valid_coordinates":true} 
[2026-04-17 00:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750105856001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273401344432275456,"note":"Value kept but may cause issues"} 
[2026-04-17 00:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4860791400320733184,"note":"Value kept but may cause issues"} 
[2026-04-17 00:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,222,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776367609000,"timestamp_ms":1776367609000,"timestamp_seconds":1776367609,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c2a4a8"} 
[2026-04-17 00:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:57: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-04-17 00:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 00:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750105856001,"66":27397,"222":206,"80":60416,"24":51,"16":273401344432275456,"45":4860791400320733184},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,222,80,24,16,45]} 
[2026-04-17 00:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750105856001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:57:58] local.INFO: Unknown IO ID detected {"io_id":222,"value":206,"description":"Unknown IO ID 222"} 
[2026-04-17 00:57:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 00:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273401344432275456,"km_value":273401344432275.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4860791400320733184,"description":"Unknown IO ID 45"} 
[2026-04-17 00:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750105856001,"power":27397,"unknown_222":206,"unknown_80":60416,"ignition":51,"odometer":null,"unknown_45":4860791400320733184}} 
[2026-04-17 00:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":45406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:57:58] local.INFO: GPS data processed {"connection_id":45406,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:57:58] local.INFO: Acknowledgment sent {"connection_id":45406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:58:06] local.INFO: TCP Data received {"connection_id":45466,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:58:06] local.INFO: Processing buffer {"connection_id":45466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:58:06] local.INFO: IMEI packet received {"connection_id":45466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":45466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:58:10] local.INFO: TCP Data received {"connection_id":45466,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:58:10] local.INFO: Processing buffer {"connection_id":45466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:58:10] local.INFO: IMEI packet received {"connection_id":45466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":45466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:58:11] local.INFO: TCP Data received {"connection_id":45466,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c1d5a00100000000000000000000000000..."} 
[2026-04-17 00:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c1d5a00100000000000000000000000000..."} 
[2026-04-17 00:58:11] local.INFO: Processing buffer {"connection_id":45466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c1d5a00100000000000000000000000000..."} 
[2026-04-17 00:58:11] local.INFO: Packet analysis {"connection_id":45466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c1"} 
[2026-04-17 00:58:11] local.INFO: Extracted packet for processing {"connection_id":45466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c1"} 
[2026-04-17 00:58: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-04-17 00: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-04-17 00:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750077440001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:58:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2311542846586427392,"note":"Value kept but may cause issues"} 
[2026-04-17 00:58:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776367556000,"timestamp_ms":1776367556000,"timestamp_seconds":1776367556,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c1d5a0"} 
[2026-04-17 00:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:58:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 00:58:11] 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-04-17 00: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-04-17 00:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":45466,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 00:58:11] local.INFO: GPS data processed {"connection_id":45466,"processed":0,"errors":0,"total":1} 
[2026-04-17 00:58:11] local.INFO: Acknowledgment sent {"connection_id":45466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:58:29] local.INFO: TCP Data received {"connection_id":45406,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c2b830012d43b04006674a10000b007e32..."} 
[2026-04-17 00:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c2b830012d43b04006674a10000b007e32..."} 
[2026-04-17 00:58:29] local.INFO: Processing buffer {"connection_id":45406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c2b830012d43b04006674a10000b007e32..."} 
[2026-04-17 00:58:29] local.INFO: Packet analysis {"connection_id":45406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c2"} 
[2026-04-17 00:58:29] local.INFO: Extracted packet for processing {"connection_id":45406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c2"} 
[2026-04-17 00:58:29] local.INFO: GPS Element Parsed {"raw_longitude":759410752,"raw_latitude":107432464,"longitude_deg":75.9410752,"latitude_deg":10.7432464,"altitude":11,"angle":126,"satellites":50,"speed":53,"hex_longitude":"2d43b040","hex_latitude":"06674a10","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750107904001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273401662259855360,"note":"Value kept but may cause issues"} 
[2026-04-17 00:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4871205974458193920,"note":"Value kept but may cause issues"} 
[2026-04-17 00:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776367614000,"timestamp_ms":1776367614000,"timestamp_seconds":1776367614,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c2b830"} 
[2026-04-17 00:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:58: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-04-17 00: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 00:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45406,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:58: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-04-17 00:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750107904001,"66":27365,"235":206,"80":60416,"24":53,"16":273401662259855360,"45":4871205974458193920},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-04-17 00:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750107904001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:58:29] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 00:58:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 00:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273401662259855360,"km_value":273401662259855.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4871205974458193920,"description":"Unknown IO ID 45"} 
[2026-04-17 00:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750107904001,"power":27365,"unknown_235":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4871205974458193920}} 
[2026-04-17 00:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":45406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:58:30] local.INFO: GPS data processed {"connection_id":45406,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:58:30] local.INFO: Acknowledgment sent {"connection_id":45406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:58:44] local.INFO: TCP Data received {"connection_id":45466,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c12da8012ce02780073209f8001d007633..."} 
[2026-04-17 00:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c12da8012ce02780073209f8001d007633..."} 
[2026-04-17 00:58:44] local.INFO: Processing buffer {"connection_id":45466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c12da8012ce02780073209f8001d007633..."} 
[2026-04-17 00:58:44] local.INFO: Packet analysis {"connection_id":45466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c1"} 
[2026-04-17 00:58:44] local.INFO: Extracted packet for processing {"connection_id":45466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c1"} 
[2026-04-17 00:58:44] local.INFO: GPS Element Parsed {"raw_longitude":752887680,"raw_latitude":120719864,"longitude_deg":75.288768,"latitude_deg":12.0719864,"altitude":29,"angle":118,"satellites":51,"speed":35,"hex_longitude":"2ce02780","hex_latitude":"073209f8","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:58:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,81,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 00:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776367513000,"timestamp_ms":1776367513000,"timestamp_seconds":1776367513,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c12da8"} 
[2026-04-17 00:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:58:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 00:58:44] 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-04-17 00: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-04-17 00:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28202,"81":206,"2":56832,"24":35,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,2,24,16]} 
[2026-04-17 00:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 00:58:44] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 00:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:58:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28202,"unknown_81":206,"power_alt":56832,"ignition":35,"odometer":null}} 
[2026-04-17 00:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":45466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18373,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:58:44] local.INFO: GPS data processed {"connection_id":45466,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:58:44] local.INFO: Acknowledgment sent {"connection_id":45466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:58:55] local.INFO: TCP Data received {"connection_id":45662,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:58:55] local.INFO: Processing buffer {"connection_id":45662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:58:55] local.INFO: IMEI packet received {"connection_id":45662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":45662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:58:57] local.INFO: TCP Data received {"connection_id":45662,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:58:57] local.INFO: Processing buffer {"connection_id":45662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:58:57] local.INFO: IMEI packet received {"connection_id":45662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":45662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:59:02] local.INFO: TCP Data received {"connection_id":45662,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:59:02] local.INFO: Processing buffer {"connection_id":45662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:59:02] local.INFO: IMEI packet received {"connection_id":45662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:59:02] local.INFO: IMEI acknowledgment sent {"connection_id":45662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:59:03] local.INFO: TCP Data received {"connection_id":45662,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c2cfa0012d43c740066734a0000c008a32..."} 
[2026-04-17 00:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c2cfa0012d43c740066734a0000c008a32..."} 
[2026-04-17 00:59:03] local.INFO: Processing buffer {"connection_id":45662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c2cfa0012d43c740066734a0000c008a32..."} 
[2026-04-17 00:59:03] local.INFO: Packet analysis {"connection_id":45662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c2"} 
[2026-04-17 00:59:03] local.INFO: Extracted packet for processing {"connection_id":45662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c2"} 
[2026-04-17 00:59:03] local.INFO: GPS Element Parsed {"raw_longitude":759416640,"raw_latitude":107426976,"longitude_deg":75.941664,"latitude_deg":10.7426976,"altitude":12,"angle":138,"satellites":50,"speed":53,"hex_longitude":"2d43c740","hex_latitude":"066734a0","is_valid_coordinates":true} 
[2026-04-17 00:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750109184001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273402048806912000,"note":"Value kept but may cause issues"} 
[2026-04-17 00:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4877468792689135616,"note":"Value kept but may cause issues"} 
[2026-04-17 00:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776367620000,"timestamp_ms":1776367620000,"timestamp_seconds":1776367620,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c2cfa0"} 
[2026-04-17 00:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:59: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-04-17 00:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 00:59: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-04-17 00:59:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750109184001,"66":27365,"235":206,"80":60416,"24":53,"16":273402048806912000,"45":4877468792689135616},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-04-17 00:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750109184001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:59:03] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 00:59:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 00:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273402048806912000,"km_value":273402048806912,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":4877468792689135616,"description":"Unknown IO ID 45"} 
[2026-04-17 00:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750109184001,"power":27365,"unknown_235":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4877468792689135616}} 
[2026-04-17 00:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":45662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:59:03] local.INFO: GPS data processed {"connection_id":45662,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:59:03] local.INFO: Acknowledgment sent {"connection_id":45662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:59:05] local.INFO: TCP Data received {"connection_id":45662,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c2e710012d43d9c006671af8000b009532..."} 
[2026-04-17 00:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c2e710012d43d9c006671af8000b009532..."} 
[2026-04-17 00:59:05] local.INFO: Processing buffer {"connection_id":45662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c2e710012d43d9c006671af8000b009532..."} 
[2026-04-17 00:59:05] local.INFO: Packet analysis {"connection_id":45662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c2"} 
[2026-04-17 00:59:05] local.INFO: Extracted packet for processing {"connection_id":45662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c2"} 
[2026-04-17 00:59:05] local.INFO: GPS Element Parsed {"raw_longitude":759421376,"raw_latitude":107420408,"longitude_deg":75.9421376,"latitude_deg":10.7420408,"altitude":11,"angle":149,"satellites":50,"speed":53,"hex_longitude":"2d43d9c0","hex_latitude":"06671af8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 00:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750110720001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273402443943903232,"note":"Value kept but may cause issues"} 
[2026-04-17 00:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4883942717152075776,"note":"Value kept but may cause issues"} 
[2026-04-17 00:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776367626000,"timestamp_ms":1776367626000,"timestamp_seconds":1776367626,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c2e710"} 
[2026-04-17 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-04-17 00:59: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-04-17 00:59:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 00:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 00:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":45662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":45662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":45662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:59:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750110720001,"66":27463,"235":206,"80":60416,"24":53,"16":273402443943903232,"45":4883942717152075776},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,80,24,16,45]} 
[2026-04-17 00:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750110720001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:59:05] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 00:59:05] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 00:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273402443943903232,"km_value":273402443943903.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":4883942717152075776,"description":"Unknown IO ID 45"} 
[2026-04-17 00:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750110720001,"power":27463,"unknown_235":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4883942717152075776}} 
[2026-04-17 00:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":45662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:59:05] local.INFO: GPS data processed {"connection_id":45662,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:59:05] local.INFO: Acknowledgment sent {"connection_id":45662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:59:06] local.INFO: TCP Data received {"connection_id":45467,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:59:06] local.INFO: Processing buffer {"connection_id":45467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:59:06] local.INFO: IMEI packet received {"connection_id":45467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 00:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":45467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:59:11] local.INFO: TCP Data received {"connection_id":45467,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45467,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:59:11] local.INFO: Processing buffer {"connection_id":45467,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 00:59:11] local.INFO: IMEI packet received {"connection_id":45467,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 00:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":45467,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:59:13] local.INFO: TCP Data received {"connection_id":45467,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c17fb0012ce063000731ef600021007131..."} 
[2026-04-17 00:59:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c17fb0012ce063000731ef600021007131..."} 
[2026-04-17 00:59:13] local.INFO: Processing buffer {"connection_id":45467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c17fb0012ce063000731ef600021007131..."} 
[2026-04-17 00:59:13] local.INFO: Packet analysis {"connection_id":45467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c1"} 
[2026-04-17 00:59:13] local.INFO: Extracted packet for processing {"connection_id":45467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c1"} 
[2026-04-17 00:59:13] local.INFO: GPS Element Parsed {"raw_longitude":752902912,"raw_latitude":120713056,"longitude_deg":75.2902912,"latitude_deg":12.0713056,"altitude":33,"angle":113,"satellites":49,"speed":0,"hex_longitude":"2ce06300","hex_latitude":"0731ef60","is_valid_coordinates":true} 
[2026-04-17 00:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:59:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750083328001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:59:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:59:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2294724716729337856,"note":"Value kept but may cause issues"} 
[2026-04-17 00:59:13] 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-04-17 00:59:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776367534000,"timestamp_ms":1776367534000,"timestamp_seconds":1776367534,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c17fb0"} 
[2026-04-17 00:59:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:59:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00:59:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-17 00:59:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:59:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:59:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:59:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:59:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:59:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45467,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:59:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45467,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:59:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:59:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:59:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:59:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750083328001,"66":28202,"80":206,"2":56832,"24":0,"16":106618783551979520,"44":-2294724716729337856},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,2,24,16,44]} 
[2026-04-17 00:59:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:59:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:59:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750083328001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:59:13] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 00:59:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:59:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2294724716729337856,"description":"Unknown IO ID 44"} 
[2026-04-17 00:59:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750083328001,"power":28202,"unknown_80":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2294724716729337856}} 
[2026-04-17 00:59:13] local.INFO: DEBUG: GPS processor result {"connection_id":45467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18376,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:59:13] local.INFO: GPS data processed {"connection_id":45467,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:59:13] local.INFO: Acknowledgment sent {"connection_id":45467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:59:37] local.INFO: TCP Data received {"connection_id":45662,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c43700012d44910006656e900011009a34..."} 
[2026-04-17 00:59:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c43700012d44910006656e900011009a34..."} 
[2026-04-17 00:59:37] local.INFO: Processing buffer {"connection_id":45662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c43700012d44910006656e900011009a34..."} 
[2026-04-17 00:59:37] local.INFO: Packet analysis {"connection_id":45662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c4"} 
[2026-04-17 00:59:37] local.INFO: Extracted packet for processing {"connection_id":45662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c4"} 
[2026-04-17 00:59:37] local.INFO: GPS Element Parsed {"raw_longitude":759468288,"raw_latitude":107310736,"longitude_deg":75.9468288,"latitude_deg":10.7310736,"altitude":17,"angle":154,"satellites":52,"speed":50,"hex_longitude":"2d449100","hex_latitude":"06656e90","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:59:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750132224001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:59:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273408224969883648,"note":"Value kept but may cause issues"} 
[2026-04-17 00:59:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4936085956560291840,"note":"Value kept but may cause issues"} 
[2026-04-17 00:59:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:59:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776367712000,"timestamp_ms":1776367712000,"timestamp_seconds":1776367712,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c43700"} 
[2026-04-17 00:59:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:59:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 00: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 00:59: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-04-17 00: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-04-17 00:59:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:59:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:59:37] local.INFO: Teltonika packet parsed successfully {"connection_id":45662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:59:37] local.INFO: Passing IMEI to GPS processor {"connection_id":45662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:59:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":45662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:59:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:59:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:59:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:59:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750132224001,"66":27180,"205":206,"80":60416,"24":50,"16":273408224969883648,"45":4936085956560291840},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-04-17 00:59:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:59:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:59:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750132224001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:59:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 00:59:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273408224969883648,"km_value":273408224969883.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:59:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4936085956560291840,"description":"Unknown IO ID 45"} 
[2026-04-17 00:59:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750132224001,"power":27180,"cell_id":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":4936085956560291840}} 
[2026-04-17 00:59:37] local.INFO: DEBUG: GPS processor result {"connection_id":45662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:59:37] local.INFO: GPS data processed {"connection_id":45662,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:59:37] local.INFO: Acknowledgment sent {"connection_id":45662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:59:44] local.INFO: TCP Data received {"connection_id":45467,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c1d1b8012ce099000731d6d00026007533..."} 
[2026-04-17 00:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c1d1b8012ce099000731d6d00026007533..."} 
[2026-04-17 00:59:44] local.INFO: Processing buffer {"connection_id":45467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c1d1b8012ce099000731d6d00026007533..."} 
[2026-04-17 00:59:44] local.INFO: Packet analysis {"connection_id":45467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c1"} 
[2026-04-17 00:59:44] local.INFO: Extracted packet for processing {"connection_id":45467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c1"} 
[2026-04-17 00:59:44] local.INFO: GPS Element Parsed {"raw_longitude":752916736,"raw_latitude":120706768,"longitude_deg":75.2916736,"latitude_deg":12.0706768,"altitude":38,"angle":117,"satellites":51,"speed":27,"hex_longitude":"2ce09900","hex_latitude":"0731d6d0","is_valid_coordinates":true} 
[2026-04-17 00:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 00:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750088704001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 00:59:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2277976955616796672,"note":"Value kept but may cause issues"} 
[2026-04-17 00:59:44] 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-04-17 00:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776367555000,"timestamp_ms":1776367555000,"timestamp_seconds":1776367555,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c1d1b8"} 
[2026-04-17 00:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:59:44] 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-04-17 00:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-17 00:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 00:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45467,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45467,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 00:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 00:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 00:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750088704001,"66":28202,"80":206,"2":56832,"24":27,"16":106618783551979520,"44":-2277976955616796672},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,2,24,16,44]} 
[2026-04-17 00:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 00:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 00:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750088704001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:59:44] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 00:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:59:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2277976955616796672,"description":"Unknown IO ID 44"} 
[2026-04-17 00:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750088704001,"power":28202,"unknown_80":206,"power_alt":56832,"ignition":27,"odometer":null,"unknown_44":-2277976955616796672}} 
[2026-04-17 00:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":45467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18378,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:59:44] local.INFO: GPS data processed {"connection_id":45467,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:59:44] local.INFO: Acknowledgment sent {"connection_id":45467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 00:59:52] local.INFO: TCP Data received {"connection_id":46217,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:59:52] local.INFO: Processing buffer {"connection_id":46217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:59:52] local.INFO: IMEI packet received {"connection_id":46217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 00:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":46217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 00:59:57] local.INFO: TCP Data received {"connection_id":46217,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:59:57] local.INFO: Processing buffer {"connection_id":46217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 00:59:57] local.INFO: IMEI packet received {"connection_id":46217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 00:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":46217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 00:59:58] local.INFO: TCP Data received {"connection_id":46217,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c45258012d449f8006654e980011009c33..."} 
[2026-04-17 00:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c45258012d449f8006654e980011009c33..."} 
[2026-04-17 00:59:58] local.INFO: Processing buffer {"connection_id":46217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c45258012d449f8006654e980011009c33..."} 
[2026-04-17 00:59:58] local.INFO: Packet analysis {"connection_id":46217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c4"} 
[2026-04-17 00:59:58] local.INFO: Extracted packet for processing {"connection_id":46217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c4"} 
[2026-04-17 00:59:58] local.INFO: GPS Element Parsed {"raw_longitude":759472000,"raw_latitude":107302552,"longitude_deg":75.9472,"latitude_deg":10.7302552,"altitude":17,"angle":156,"satellites":51,"speed":52,"hex_longitude":"2d449f80","hex_latitude":"06654e98","is_valid_coordinates":true} 
[2026-04-17 00: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-04-17 00:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750134272001,"note":"Value kept but may cause issues"} 
[2026-04-17 00:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273408658761580544,"note":"Value kept but may cause issues"} 
[2026-04-17 00:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4940730293673693184,"note":"Value kept but may cause issues"} 
[2026-04-17 00:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 00:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776367719000,"timestamp_ms":1776367719000,"timestamp_seconds":1776367719,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c45258"} 
[2026-04-17 00:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 00:59: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-04-17 00: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-17 00:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 00: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-04-17 00:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 00:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 00:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 00:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 00:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 00:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 00:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 00:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750134272001,"66":27376,"205":206,"80":60416,"24":52,"16":273408658761580544,"45":4940730293673693184},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-04-17 00:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 00:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 00:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750134272001,"description":"Unknown IO ID 0"} 
[2026-04-17 00:59:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 00:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273408658761580544,"km_value":273408658761580.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 00:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4940730293673693184,"description":"Unknown IO ID 45"} 
[2026-04-17 00:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750134272001,"power":27376,"cell_id":206,"unknown_80":60416,"ignition":52,"odometer":null,"unknown_45":4940730293673693184}} 
[2026-04-17 00:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":46217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 00:59:58] local.INFO: GPS data processed {"connection_id":46217,"processed":1,"errors":0,"total":1} 
[2026-04-17 00:59:58] local.INFO: Acknowledgment sent {"connection_id":46217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:00:11] local.INFO: TCP Data received {"connection_id":46218,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:00:11] local.INFO: Processing buffer {"connection_id":46218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:00:11] local.INFO: IMEI packet received {"connection_id":46218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":46218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:00:16] local.INFO: TCP Data received {"connection_id":46218,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46218,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:00:16] local.INFO: Processing buffer {"connection_id":46218,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:00:16] local.INFO: IMEI packet received {"connection_id":46218,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":46218,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:00:17] local.INFO: TCP Data received {"connection_id":46218,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c2d3880100000000000000000000000000..."} 
[2026-04-17 01:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c2d3880100000000000000000000000000..."} 
[2026-04-17 01:00:17] local.INFO: Processing buffer {"connection_id":46218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c2d3880100000000000000000000000000..."} 
[2026-04-17 01:00:17] local.INFO: Packet analysis {"connection_id":46218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c2"} 
[2026-04-17 01:00:17] local.INFO: Extracted packet for processing {"connection_id":46218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c2"} 
[2026-04-17 01:00: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-04-17 01: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-04-17 01:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750094080001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:00:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2262777306876030976,"note":"Value kept but may cause issues"} 
[2026-04-17 01:00:17] 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-04-17 01:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776367621000,"timestamp_ms":1776367621000,"timestamp_seconds":1776367621,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c2d388"} 
[2026-04-17 01:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:00:17] 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-04-17 01: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-17 01:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":46218,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:00:17] local.INFO: GPS data processed {"connection_id":46218,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:00:17] local.INFO: Acknowledgment sent {"connection_id":46218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:00:19] local.INFO: TCP Data received {"connection_id":46218,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c227a8012ce0d3c00731bbc80028007233..."} 
[2026-04-17 01:00:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c227a8012ce0d3c00731bbc80028007233..."} 
[2026-04-17 01:00:19] local.INFO: Processing buffer {"connection_id":46218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c227a8012ce0d3c00731bbc80028007233..."} 
[2026-04-17 01:00:19] local.INFO: Packet analysis {"connection_id":46218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c2"} 
[2026-04-17 01:00:19] local.INFO: Extracted packet for processing {"connection_id":46218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c2"} 
[2026-04-17 01:00:19] local.INFO: GPS Element Parsed {"raw_longitude":752931776,"raw_latitude":120699848,"longitude_deg":75.2931776,"latitude_deg":12.0699848,"altitude":40,"angle":114,"satellites":51,"speed":32,"hex_longitude":"2ce0d3c0","hex_latitude":"0731bbc8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:00:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:00:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,80,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:00:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776367577000,"timestamp_ms":1776367577000,"timestamp_seconds":1776367577,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c227a8"} 
[2026-04-17 01:00:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:00:19] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 01:00:19] 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-04-17 01: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-04-17 01:00:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:00:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:00:19] local.INFO: Teltonika packet parsed successfully {"connection_id":46218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:00:19] local.INFO: Passing IMEI to GPS processor {"connection_id":46218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:00:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":46218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:00:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:00:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:00:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:00:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28148,"80":206,"2":56832,"24":32,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,2,24,16]} 
[2026-04-17 01:00:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:00:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:00:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:00:19] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 01:00:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:00:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28148,"unknown_80":206,"power_alt":56832,"ignition":32,"odometer":null}} 
[2026-04-17 01:00:19] local.INFO: DEBUG: GPS processor result {"connection_id":46218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18380,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:00:19] local.INFO: GPS data processed {"connection_id":46218,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:00:19] local.INFO: Acknowledgment sent {"connection_id":46218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:00:29] local.INFO: TCP Data received {"connection_id":46217,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c465e0012d44a980066536900010009e32..."} 
[2026-04-17 01:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c465e0012d44a980066536900010009e32..."} 
[2026-04-17 01:00:29] local.INFO: Processing buffer {"connection_id":46217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c465e0012d44a980066536900010009e32..."} 
[2026-04-17 01:00:29] local.INFO: Packet analysis {"connection_id":46217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c4"} 
[2026-04-17 01:00:29] local.INFO: Extracted packet for processing {"connection_id":46217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c4"} 
[2026-04-17 01:00:29] local.INFO: GPS Element Parsed {"raw_longitude":759474560,"raw_latitude":107296400,"longitude_deg":75.947456,"latitude_deg":10.72964,"altitude":16,"angle":158,"satellites":50,"speed":53,"hex_longitude":"2d44a980","hex_latitude":"06653690","is_valid_coordinates":true} 
[2026-04-17 01:00: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-04-17 01:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750136064001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273408985179095040,"note":"Value kept but may cause issues"} 
[2026-04-17 01:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4944811680833902592,"note":"Value kept but may cause issues"} 
[2026-04-17 01:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776367724000,"timestamp_ms":1776367724000,"timestamp_seconds":1776367724,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c465e0"} 
[2026-04-17 01:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:00: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-04-17 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:00: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-04-17 01:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750136064001,"66":27995,"205":206,"80":60416,"24":53,"16":273408985179095040,"45":4944811680833902592},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-04-17 01:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750136064001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:00:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 01:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273408985179095040,"km_value":273408985179095.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4944811680833902592,"description":"Unknown IO ID 45"} 
[2026-04-17 01:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750136064001,"power":27995,"cell_id":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4944811680833902592}} 
[2026-04-17 01:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":46217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:00:29] local.INFO: GPS data processed {"connection_id":46217,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:00:29] local.INFO: Acknowledgment sent {"connection_id":46217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:00:51] local.INFO: TCP Data received {"connection_id":46218,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c279b0012ce113c007319e880027007433..."} 
[2026-04-17 01:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46218,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c279b0012ce113c007319e880027007433..."} 
[2026-04-17 01:00:51] local.INFO: Processing buffer {"connection_id":46218,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c279b0012ce113c007319e880027007433..."} 
[2026-04-17 01:00:51] local.INFO: Packet analysis {"connection_id":46218,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c2"} 
[2026-04-17 01:00:51] local.INFO: Extracted packet for processing {"connection_id":46218,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c2"} 
[2026-04-17 01:00:51] local.INFO: GPS Element Parsed {"raw_longitude":752948160,"raw_latitude":120692360,"longitude_deg":75.294816,"latitude_deg":12.069236,"altitude":39,"angle":116,"satellites":51,"speed":0,"hex_longitude":"2ce113c0","hex_latitude":"07319e88","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:00:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750099712001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:00:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:00:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2246240651996051456,"note":"Value kept but may cause issues"} 
[2026-04-17 01:00:51] 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-04-17 01:00:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776367598000,"timestamp_ms":1776367598000,"timestamp_seconds":1776367598,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c279b0"} 
[2026-04-17 01:00:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01: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-04-17 01: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":109,"n8_eight_byte":244,"data_length":795,"current_offset":136} 
[2026-04-17 01:00:51] 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-04-17 01: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-04-17 01:00:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:00:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:00:51] local.INFO: Teltonika packet parsed successfully {"connection_id":46218,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:00:51] local.INFO: Passing IMEI to GPS processor {"connection_id":46218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:00:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":46218,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:00:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:00:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:00:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:00:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750099712001,"66":28104,"209":206,"2":56832,"24":0,"16":106618783551979520,"44":-2246240651996051456},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-04-17 01:00:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:00:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:00:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750099712001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:00:51] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-17 01:00:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:00:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2246240651996051456,"description":"Unknown IO ID 44"} 
[2026-04-17 01:00:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750099712001,"power":28104,"unknown_209":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-2246240651996051456}} 
[2026-04-17 01:00:51] local.INFO: DEBUG: GPS processor result {"connection_id":46218,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18382,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:00:51] local.INFO: GPS data processed {"connection_id":46218,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:00:51] local.INFO: Acknowledgment sent {"connection_id":46218,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:00:52] local.INFO: TCP Data received {"connection_id":45407,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:00:52] local.INFO: Processing buffer {"connection_id":45407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:00:52] local.INFO: IMEI packet received {"connection_id":45407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":45407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:00:57] local.INFO: TCP Data received {"connection_id":45407,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:00:57] local.INFO: Processing buffer {"connection_id":45407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:00:57] local.INFO: IMEI packet received {"connection_id":45407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":45407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:00:58] local.INFO: TCP Data received {"connection_id":45407,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c465e0012d44a980066536900010009e32..."} 
[2026-04-17 01:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c465e0012d44a980066536900010009e32..."} 
[2026-04-17 01:00:58] local.INFO: Processing buffer {"connection_id":45407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c465e0012d44a980066536900010009e32..."} 
[2026-04-17 01:00:58] local.INFO: Packet analysis {"connection_id":45407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c4"} 
[2026-04-17 01:00:58] local.INFO: Extracted packet for processing {"connection_id":45407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c4"} 
[2026-04-17 01:00:58] local.INFO: GPS Element Parsed {"raw_longitude":759474560,"raw_latitude":107296400,"longitude_deg":75.947456,"latitude_deg":10.72964,"altitude":16,"angle":158,"satellites":50,"speed":53,"hex_longitude":"2d44a980","hex_latitude":"06653690","is_valid_coordinates":true} 
[2026-04-17 01:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750136064001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273408985179095040,"note":"Value kept but may cause issues"} 
[2026-04-17 01:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4944811680833902592,"note":"Value kept but may cause issues"} 
[2026-04-17 01:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776367724000,"timestamp_ms":1776367724000,"timestamp_seconds":1776367724,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c465e0"} 
[2026-04-17 01:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:00: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-04-17 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:00: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-04-17 01: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-04-17 01:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750136064001,"66":27995,"205":206,"80":60416,"24":53,"16":273408985179095040,"45":4944811680833902592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-04-17 01:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750136064001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:00:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 01:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273408985179095040,"km_value":273408985179095.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4944811680833902592,"description":"Unknown IO ID 45"} 
[2026-04-17 01:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750136064001,"power":27995,"cell_id":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4944811680833902592}} 
[2026-04-17 01:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":45407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:00:58] local.INFO: GPS data processed {"connection_id":45407,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:00:58] local.INFO: Acknowledgment sent {"connection_id":45407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:01:06] local.INFO: TCP Data received {"connection_id":45468,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:01:06] local.INFO: Processing buffer {"connection_id":45468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:01:06] local.INFO: IMEI packet received {"connection_id":45468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":45468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:01:11] local.INFO: TCP Data received {"connection_id":45468,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45468,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:01:11] local.INFO: Processing buffer {"connection_id":45468,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:01:11] local.INFO: IMEI packet received {"connection_id":45468,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":45468,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:01:12] local.INFO: TCP Data received {"connection_id":45468,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c2bc18012ce15980073188700029005f34..."} 
[2026-04-17 01:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c2bc18012ce15980073188700029005f34..."} 
[2026-04-17 01:01:12] local.INFO: Processing buffer {"connection_id":45468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c2bc18012ce15980073188700029005f34..."} 
[2026-04-17 01:01:12] local.INFO: Packet analysis {"connection_id":45468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c2"} 
[2026-04-17 01:01:12] local.INFO: Extracted packet for processing {"connection_id":45468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c2"} 
[2026-04-17 01:01:12] local.INFO: GPS Element Parsed {"raw_longitude":752966016,"raw_latitude":120686704,"longitude_deg":75.2966016,"latitude_deg":12.0686704,"altitude":41,"angle":95,"satellites":52,"speed":38,"hex_longitude":"2ce15980","hex_latitude":"07318870","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750105088001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:01:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-2228226253488486400,"note":"Value kept but may cause issues"} 
[2026-04-17 01:01:12] 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-04-17 01:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776367615000,"timestamp_ms":1776367615000,"timestamp_seconds":1776367615,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c2bc18"} 
[2026-04-17 01:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:01:12] 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-04-17 01: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-17 01:01:12] 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-04-17 01: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-04-17 01:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750105088001,"66":28006,"209":206,"2":56832,"24":38,"16":106618783551979520,"44":-2228226253488486400},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,2,24,16,44]} 
[2026-04-17 01:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750105088001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:01:12] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-17 01:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:01:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-2228226253488486400,"description":"Unknown IO ID 44"} 
[2026-04-17 01:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750105088001,"power":28006,"unknown_209":206,"power_alt":56832,"ignition":38,"odometer":null,"unknown_44":-2228226253488486400}} 
[2026-04-17 01:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":45468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18384,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:01:12] local.INFO: GPS data processed {"connection_id":45468,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:01:12] local.INFO: Acknowledgment sent {"connection_id":45468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:01:29] local.INFO: TCP Data received {"connection_id":45407,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c465e0012d44a980066536900010009e32..."} 
[2026-04-17 01:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c465e0012d44a980066536900010009e32..."} 
[2026-04-17 01:01:29] local.INFO: Processing buffer {"connection_id":45407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c465e0012d44a980066536900010009e32..."} 
[2026-04-17 01:01:29] local.INFO: Packet analysis {"connection_id":45407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c4"} 
[2026-04-17 01:01:29] local.INFO: Extracted packet for processing {"connection_id":45407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c4"} 
[2026-04-17 01:01:29] local.INFO: GPS Element Parsed {"raw_longitude":759474560,"raw_latitude":107296400,"longitude_deg":75.947456,"latitude_deg":10.72964,"altitude":16,"angle":158,"satellites":50,"speed":53,"hex_longitude":"2d44a980","hex_latitude":"06653690","is_valid_coordinates":true} 
[2026-04-17 01:01: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-04-17 01:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750136064001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273408985179095040,"note":"Value kept but may cause issues"} 
[2026-04-17 01:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4944811680833902592,"note":"Value kept but may cause issues"} 
[2026-04-17 01:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776367724000,"timestamp_ms":1776367724000,"timestamp_seconds":1776367724,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c465e0"} 
[2026-04-17 01:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:01: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-04-17 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:01: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-04-17 01:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750136064001,"66":27995,"205":206,"80":60416,"24":53,"16":273408985179095040,"45":4944811680833902592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-04-17 01:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750136064001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:01:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 01:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273408985179095040,"km_value":273408985179095.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4944811680833902592,"description":"Unknown IO ID 45"} 
[2026-04-17 01:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750136064001,"power":27995,"cell_id":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4944811680833902592}} 
[2026-04-17 01:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":45407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:01:29] local.INFO: GPS data processed {"connection_id":45407,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:01:29] local.INFO: Acknowledgment sent {"connection_id":45407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:01:44] local.INFO: TCP Data received {"connection_id":45468,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c5c958012ce48b800730d8e80019007734..."} 
[2026-04-17 01:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c5c958012ce48b800730d8e80019007734..."} 
[2026-04-17 01:01:44] local.INFO: Processing buffer {"connection_id":45468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c5c958012ce48b800730d8e80019007734..."} 
[2026-04-17 01:01:44] local.INFO: Packet analysis {"connection_id":45468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c5"} 
[2026-04-17 01:01:44] local.INFO: Extracted packet for processing {"connection_id":45468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c5"} 
[2026-04-17 01:01:44] local.INFO: GPS Element Parsed {"raw_longitude":753175424,"raw_latitude":120641768,"longitude_deg":75.3175424,"latitude_deg":12.0641768,"altitude":25,"angle":119,"satellites":52,"speed":46,"hex_longitude":"2ce48b80","hex_latitude":"0730d8e8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750157312001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:01:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1999879678643429376,"note":"Value kept but may cause issues"} 
[2026-04-17 01:01:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776367815000,"timestamp_ms":1776367815000,"timestamp_seconds":1776367815,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c5c958"} 
[2026-04-17 01:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-17 01:01:44] 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-04-17 01: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-04-17 01:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45468,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750157312001,"66":27995,"102":206,"2":56832,"24":46,"16":106618783551979520,"44":-1999879678643429376},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,2,24,16,44]} 
[2026-04-17 01:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750157312001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:01:44] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-04-17 01:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:01:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1999879678643429376,"description":"Unknown IO ID 44"} 
[2026-04-17 01:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750157312001,"power":27995,"unknown_102":206,"power_alt":56832,"ignition":46,"odometer":null,"unknown_44":-1999879678643429376}} 
[2026-04-17 01:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":45468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18386,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:01:44] local.INFO: GPS data processed {"connection_id":45468,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:01:44] local.INFO: Acknowledgment sent {"connection_id":45468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:01:52] local.INFO: TCP Data received {"connection_id":45408,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:01:52] local.INFO: Processing buffer {"connection_id":45408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:01:52] local.INFO: IMEI packet received {"connection_id":45408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":45408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:01:57] local.INFO: TCP Data received {"connection_id":45408,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:01:57] local.INFO: Processing buffer {"connection_id":45408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:01:57] local.INFO: IMEI packet received {"connection_id":45408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":45408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:01:58] local.INFO: TCP Data received {"connection_id":45408,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c465e0012d44a980066536900010009e32..."} 
[2026-04-17 01:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c465e0012d44a980066536900010009e32..."} 
[2026-04-17 01:01:58] local.INFO: Processing buffer {"connection_id":45408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c465e0012d44a980066536900010009e32..."} 
[2026-04-17 01:01:58] local.INFO: Packet analysis {"connection_id":45408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c4"} 
[2026-04-17 01:01:58] local.INFO: Extracted packet for processing {"connection_id":45408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c4"} 
[2026-04-17 01:01:58] local.INFO: GPS Element Parsed {"raw_longitude":759474560,"raw_latitude":107296400,"longitude_deg":75.947456,"latitude_deg":10.72964,"altitude":16,"angle":158,"satellites":50,"speed":53,"hex_longitude":"2d44a980","hex_latitude":"06653690","is_valid_coordinates":true} 
[2026-04-17 01:01: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-04-17 01:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750136064001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273408985179095040,"note":"Value kept but may cause issues"} 
[2026-04-17 01:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4944811680833902592,"note":"Value kept but may cause issues"} 
[2026-04-17 01:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776367724000,"timestamp_ms":1776367724000,"timestamp_seconds":1776367724,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c465e0"} 
[2026-04-17 01:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:01: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-04-17 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:01: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-04-17 01: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-04-17 01:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750136064001,"66":27995,"205":206,"80":60416,"24":53,"16":273408985179095040,"45":4944811680833902592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-04-17 01:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750136064001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:01:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 01:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273408985179095040,"km_value":273408985179095.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4944811680833902592,"description":"Unknown IO ID 45"} 
[2026-04-17 01:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750136064001,"power":27995,"cell_id":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4944811680833902592}} 
[2026-04-17 01:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":45408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:01:58] local.INFO: GPS data processed {"connection_id":45408,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:01:58] local.INFO: Acknowledgment sent {"connection_id":45408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:02:06] local.INFO: TCP Data received {"connection_id":45469,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:02:06] local.INFO: Processing buffer {"connection_id":45469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:02:06] local.INFO: IMEI packet received {"connection_id":45469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":45469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:02:07] local.INFO: TCP Data received {"connection_id":45469,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:02:07] local.INFO: Processing buffer {"connection_id":45469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:02:07] local.INFO: IMEI packet received {"connection_id":45469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":45469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:02:11] local.INFO: TCP Data received {"connection_id":45469,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45469,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:02:11] local.INFO: Processing buffer {"connection_id":45469,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:02:11] local.INFO: IMEI packet received {"connection_id":45469,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":45469,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:02:13] local.INFO: TCP Data received {"connection_id":45469,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c61b60012ce4cd800730ad800017006f31..."} 
[2026-04-17 01:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c61b60012ce4cd800730ad800017006f31..."} 
[2026-04-17 01:02:13] local.INFO: Processing buffer {"connection_id":45469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c61b60012ce4cd800730ad800017006f31..."} 
[2026-04-17 01:02:13] local.INFO: Packet analysis {"connection_id":45469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c6"} 
[2026-04-17 01:02:13] local.INFO: Extracted packet for processing {"connection_id":45469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c6"} 
[2026-04-17 01:02:13] local.INFO: GPS Element Parsed {"raw_longitude":753192320,"raw_latitude":120630656,"longitude_deg":75.319232,"latitude_deg":12.0630656,"altitude":23,"angle":111,"satellites":49,"speed":0,"hex_longitude":"2ce4cd80","hex_latitude":"0730ad80","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750160640001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:02:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1978346842926553088,"note":"Value kept but may cause issues"} 
[2026-04-17 01:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776367836000,"timestamp_ms":1776367836000,"timestamp_seconds":1776367836,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c61b60"} 
[2026-04-17 01:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 01:02: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-04-17 01: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-04-17 01:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750160640001,"66":27995,"101":206,"2":56832,"24":0,"16":106618783551979520,"44":-1978346842926553088},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-04-17 01:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750160640001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:02:13] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-04-17 01:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:02:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1978346842926553088,"description":"Unknown IO ID 44"} 
[2026-04-17 01:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750160640001,"power":27995,"unknown_101":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1978346842926553088}} 
[2026-04-17 01:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":45469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18388,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:02:13] local.INFO: GPS data processed {"connection_id":45469,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:02:13] local.INFO: Acknowledgment sent {"connection_id":45469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:02:29] local.INFO: TCP Data received {"connection_id":45408,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c465e0012d44a980066536900010009e32..."} 
[2026-04-17 01:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c465e0012d44a980066536900010009e32..."} 
[2026-04-17 01:02:29] local.INFO: Processing buffer {"connection_id":45408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c465e0012d44a980066536900010009e32..."} 
[2026-04-17 01:02:29] local.INFO: Packet analysis {"connection_id":45408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c4"} 
[2026-04-17 01:02:29] local.INFO: Extracted packet for processing {"connection_id":45408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c4"} 
[2026-04-17 01:02:29] local.INFO: GPS Element Parsed {"raw_longitude":759474560,"raw_latitude":107296400,"longitude_deg":75.947456,"latitude_deg":10.72964,"altitude":16,"angle":158,"satellites":50,"speed":53,"hex_longitude":"2d44a980","hex_latitude":"06653690","is_valid_coordinates":true} 
[2026-04-17 01:02: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-04-17 01:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750136064001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273408985179095040,"note":"Value kept but may cause issues"} 
[2026-04-17 01:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4944811680833902592,"note":"Value kept but may cause issues"} 
[2026-04-17 01:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776367724000,"timestamp_ms":1776367724000,"timestamp_seconds":1776367724,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c465e0"} 
[2026-04-17 01:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:02: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-04-17 01:02:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:02:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:02: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-04-17 01:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750136064001,"66":27995,"205":206,"80":60416,"24":53,"16":273408985179095040,"45":4944811680833902592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-04-17 01:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750136064001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:02:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 01:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273408985179095040,"km_value":273408985179095.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4944811680833902592,"description":"Unknown IO ID 45"} 
[2026-04-17 01:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750136064001,"power":27995,"cell_id":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":4944811680833902592}} 
[2026-04-17 01:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":45408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18389,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:02:29] local.INFO: GPS data processed {"connection_id":45408,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:02:29] local.INFO: Acknowledgment sent {"connection_id":45408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:02:45] local.INFO: TCP Data received {"connection_id":45469,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c66d68012ce516c00730a180001d006431..."} 
[2026-04-17 01:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45469,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c66d68012ce516c00730a180001d006431..."} 
[2026-04-17 01:02:45] local.INFO: Processing buffer {"connection_id":45469,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c66d68012ce516c00730a180001d006431..."} 
[2026-04-17 01:02:45] local.INFO: Packet analysis {"connection_id":45469,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c6"} 
[2026-04-17 01:02:45] local.INFO: Extracted packet for processing {"connection_id":45469,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c6"} 
[2026-04-17 01:02:45] local.INFO: GPS Element Parsed {"raw_longitude":753211072,"raw_latitude":120627584,"longitude_deg":75.3211072,"latitude_deg":12.0627584,"altitude":29,"angle":100,"satellites":49,"speed":0,"hex_longitude":"2ce516c0","hex_latitude":"0730a180","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750166016001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:02:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1959769494466494464,"note":"Value kept but may cause issues"} 
[2026-04-17 01:02:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776367857000,"timestamp_ms":1776367857000,"timestamp_seconds":1776367857,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c66d68"} 
[2026-04-17 01:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:02: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-04-17 01: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":91,"data_length":795,"current_offset":136} 
[2026-04-17 01:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45469,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45469,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750166016001,"66":28137,"101":206,"2":56832,"24":0,"16":106618783551979520,"44":-1959769494466494464},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-04-17 01:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750166016001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:02:45] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-04-17 01:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:02:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1959769494466494464,"description":"Unknown IO ID 44"} 
[2026-04-17 01:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750166016001,"power":28137,"unknown_101":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1959769494466494464}} 
[2026-04-17 01:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":45469,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18390,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:02:45] local.INFO: GPS data processed {"connection_id":45469,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:02:45] local.INFO: Acknowledgment sent {"connection_id":45469,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:02:52] local.INFO: TCP Data received {"connection_id":45409,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:02:52] local.INFO: Processing buffer {"connection_id":45409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:02:52] local.INFO: IMEI packet received {"connection_id":45409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":45409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:02:57] local.INFO: TCP Data received {"connection_id":45409,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45409,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:02:57] local.INFO: Processing buffer {"connection_id":45409,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:02:57] local.INFO: IMEI packet received {"connection_id":45409,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":45409,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:02:58] local.INFO: TCP Data received {"connection_id":45409,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c77ed8012d44dd400664ba900008009d30..."} 
[2026-04-17 01:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c77ed8012d44dd400664ba900008009d30..."} 
[2026-04-17 01:02:58] local.INFO: Processing buffer {"connection_id":45409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c77ed8012d44dd400664ba900008009d30..."} 
[2026-04-17 01:02:58] local.INFO: Packet analysis {"connection_id":45409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c7"} 
[2026-04-17 01:02:58] local.INFO: Extracted packet for processing {"connection_id":45409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c7"} 
[2026-04-17 01:02:58] local.INFO: GPS Element Parsed {"raw_longitude":759487808,"raw_latitude":107264656,"longitude_deg":75.9487808,"latitude_deg":10.7264656,"altitude":8,"angle":157,"satellites":48,"speed":0,"hex_longitude":"2d44dd40","hex_latitude":"0664ba90","is_valid_coordinates":true} 
[2026-04-17 01:02: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-04-17 01:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750137344001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273408985179095040,"note":"Value kept but may cause issues"} 
[2026-04-17 01:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4947626430599434240,"note":"Value kept but may cause issues"} 
[2026-04-17 01:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776367927000,"timestamp_ms":1776367927000,"timestamp_seconds":1776367927,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c77ed8"} 
[2026-04-17 01:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 01:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 01:02: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-04-17 01: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-04-17 01:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750137344001,"66":25680,"205":206,"80":60416,"24":0,"16":273408985179095040,"45":4947626430599434240},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-04-17 01:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750137344001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:02:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 01:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273408985179095040,"km_value":273408985179095.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4947626430599434240,"description":"Unknown IO ID 45"} 
[2026-04-17 01:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750137344001,"power":25680,"cell_id":206,"unknown_80":60416,"ignition":0,"odometer":null,"unknown_45":4947626430599434240}} 
[2026-04-17 01:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":45409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:02:58] local.INFO: GPS data processed {"connection_id":45409,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:02:58] local.INFO: Acknowledgment sent {"connection_id":45409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:03:06] local.INFO: TCP Data received {"connection_id":46219,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:03:06] local.INFO: Processing buffer {"connection_id":46219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:03:06] local.INFO: IMEI packet received {"connection_id":46219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":46219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:03:07] local.INFO: TCP Data received {"connection_id":46219,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:03:07] local.INFO: Processing buffer {"connection_id":46219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:03:07] local.INFO: IMEI packet received {"connection_id":46219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:03:07] local.INFO: IMEI acknowledgment sent {"connection_id":46219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:03:11] local.INFO: TCP Data received {"connection_id":46219,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46219,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:03:11] local.INFO: Processing buffer {"connection_id":46219,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:03:11] local.INFO: IMEI packet received {"connection_id":46219,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":46219,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:03:12] local.INFO: TCP Data received {"connection_id":46219,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c69860012ce55540073087a8001f007433..."} 
[2026-04-17 01:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c69860012ce55540073087a8001f007433..."} 
[2026-04-17 01:03:12] local.INFO: Processing buffer {"connection_id":46219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c69860012ce55540073087a8001f007433..."} 
[2026-04-17 01:03:12] local.INFO: Packet analysis {"connection_id":46219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c6"} 
[2026-04-17 01:03:12] local.INFO: Extracted packet for processing {"connection_id":46219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c6"} 
[2026-04-17 01:03:12] local.INFO: GPS Element Parsed {"raw_longitude":753227072,"raw_latitude":120620968,"longitude_deg":75.3227072,"latitude_deg":12.0620968,"altitude":31,"angle":116,"satellites":51,"speed":37,"hex_longitude":"2ce55540","hex_latitude":"073087a8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750171392001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:03:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1939151452423225344,"note":"Value kept but may cause issues"} 
[2026-04-17 01:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776367868000,"timestamp_ms":1776367868000,"timestamp_seconds":1776367868,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c69860"} 
[2026-04-17 01:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:03:12] 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-04-17 01: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 01:03: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-04-17 01: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-04-17 01:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46219,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46219,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750171392001,"66":27593,"101":206,"2":56832,"24":37,"16":106618783551979520,"44":-1939151452423225344},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-04-17 01:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750171392001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:03:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-04-17 01:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:03:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1939151452423225344,"description":"Unknown IO ID 44"} 
[2026-04-17 01:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750171392001,"power":27593,"unknown_101":206,"power_alt":56832,"ignition":37,"odometer":null,"unknown_44":-1939151452423225344}} 
[2026-04-17 01:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":46219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18392,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:03:12] local.INFO: GPS data processed {"connection_id":46219,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:03:12] local.INFO: Acknowledgment sent {"connection_id":46219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:03:29] local.INFO: TCP Data received {"connection_id":45409,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c7d8b0012d44e7400664a3f00008009e33..."} 
[2026-04-17 01:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c7d8b0012d44e7400664a3f00008009e33..."} 
[2026-04-17 01:03:29] local.INFO: Processing buffer {"connection_id":45409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c7d8b0012d44e7400664a3f00008009e33..."} 
[2026-04-17 01:03:29] local.INFO: Packet analysis {"connection_id":45409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c7"} 
[2026-04-17 01:03:29] local.INFO: Extracted packet for processing {"connection_id":45409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c7"} 
[2026-04-17 01:03:29] local.INFO: GPS Element Parsed {"raw_longitude":759490368,"raw_latitude":107258864,"longitude_deg":75.9490368,"latitude_deg":10.7258864,"altitude":8,"angle":158,"satellites":51,"speed":0,"hex_longitude":"2d44e740","hex_latitude":"0664a3f0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750189312001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273408985179095040,"note":"Value kept but may cause issues"} 
[2026-04-17 01:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4962192760636084224,"note":"Value kept but may cause issues"} 
[2026-04-17 01:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776367950000,"timestamp_ms":1776367950000,"timestamp_seconds":1776367950,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c7d8b0"} 
[2026-04-17 01:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:03: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-04-17 01: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 01:03:29] 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-04-17 01: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-04-17 01:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45409,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:03: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-04-17 01:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750189312001,"66":27365,"205":206,"80":60416,"24":0,"16":273408985179095040,"45":4962192760636084224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-04-17 01:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750189312001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:03:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 01:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273408985179095040,"km_value":273408985179095.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4962192760636084224,"description":"Unknown IO ID 45"} 
[2026-04-17 01:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750189312001,"power":27365,"cell_id":206,"unknown_80":60416,"ignition":0,"odometer":null,"unknown_45":4962192760636084224}} 
[2026-04-17 01:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":45409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:03:29] local.INFO: GPS data processed {"connection_id":45409,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:03:29] local.INFO: Acknowledgment sent {"connection_id":45409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:03:44] local.INFO: TCP Data received {"connection_id":46219,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c6ea68012ce594c007306d600021006934..."} 
[2026-04-17 01:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c6ea68012ce594c007306d600021006934..."} 
[2026-04-17 01:03:44] local.INFO: Processing buffer {"connection_id":46219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c6ea68012ce594c007306d600021006934..."} 
[2026-04-17 01:03:44] local.INFO: Packet analysis {"connection_id":46219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c6"} 
[2026-04-17 01:03:44] local.INFO: Extracted packet for processing {"connection_id":46219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c6"} 
[2026-04-17 01:03:44] local.INFO: GPS Element Parsed {"raw_longitude":753243328,"raw_latitude":120614240,"longitude_deg":75.3243328,"latitude_deg":12.061424,"altitude":33,"angle":105,"satellites":52,"speed":0,"hex_longitude":"2ce594c0","hex_latitude":"07306d60","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750174208001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:03:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1921559266380503040,"note":"Value kept but may cause issues"} 
[2026-04-17 01:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776367889000,"timestamp_ms":1776367889000,"timestamp_seconds":1776367889,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c6ea68"} 
[2026-04-17 01:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:03:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-04-17 01:03:44] 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-04-17 01: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-04-17 01:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46219,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46219,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750174208001,"66":27984,"101":206,"2":56832,"24":0,"16":106618783551979520,"44":-1921559266380503040},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-04-17 01:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750174208001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:03:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-04-17 01:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:03:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1921559266380503040,"description":"Unknown IO ID 44"} 
[2026-04-17 01:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750174208001,"power":27984,"unknown_101":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1921559266380503040}} 
[2026-04-17 01:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":46219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18394,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:03:44] local.INFO: GPS data processed {"connection_id":46219,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:03:44] local.INFO: Acknowledgment sent {"connection_id":46219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:03:52] local.INFO: TCP Data received {"connection_id":45470,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:03:52] local.INFO: Processing buffer {"connection_id":45470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:03:52] local.INFO: IMEI packet received {"connection_id":45470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":45470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:03:57] local.INFO: TCP Data received {"connection_id":45470,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:03:57] local.INFO: Processing buffer {"connection_id":45470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:03:57] local.INFO: IMEI packet received {"connection_id":45470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":45470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:03:58] local.INFO: TCP Data received {"connection_id":45470,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c82ab8012d44e7400664a3f00008009e33..."} 
[2026-04-17 01:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c82ab8012d44e7400664a3f00008009e33..."} 
[2026-04-17 01:03:58] local.INFO: Processing buffer {"connection_id":45470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c82ab8012d44e7400664a3f00008009e33..."} 
[2026-04-17 01:03:58] local.INFO: Packet analysis {"connection_id":45470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c8"} 
[2026-04-17 01:03:58] local.INFO: Extracted packet for processing {"connection_id":45470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c8"} 
[2026-04-17 01:03:58] local.INFO: GPS Element Parsed {"raw_longitude":759490368,"raw_latitude":107258864,"longitude_deg":75.9490368,"latitude_deg":10.7258864,"altitude":8,"angle":158,"satellites":51,"speed":0,"hex_longitude":"2d44e740","hex_latitude":"0664a3f0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750195200001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273408985179095040,"note":"Value kept but may cause issues"} 
[2026-04-17 01:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4965007510401708032,"note":"Value kept but may cause issues"} 
[2026-04-17 01:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776367971000,"timestamp_ms":1776367971000,"timestamp_seconds":1776367971,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c82ab8"} 
[2026-04-17 01:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:03: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-04-17 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 01:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750195200001,"66":27267,"205":206,"80":60416,"24":0,"16":273408985179095040,"45":4965007510401708032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-04-17 01:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750195200001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:03:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 01:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273408985179095040,"km_value":273408985179095.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":4965007510401708032,"description":"Unknown IO ID 45"} 
[2026-04-17 01:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750195200001,"power":27267,"cell_id":206,"unknown_80":60416,"ignition":0,"odometer":null,"unknown_45":4965007510401708032}} 
[2026-04-17 01:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":45470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:03:58] local.INFO: GPS data processed {"connection_id":45470,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:03:58] local.INFO: Acknowledgment sent {"connection_id":45470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:04:06] local.INFO: TCP Data received {"connection_id":46220,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:04:06] local.INFO: Processing buffer {"connection_id":46220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:04:06] local.INFO: IMEI packet received {"connection_id":46220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":46220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:04:09] local.INFO: TCP Data received {"connection_id":46220,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:04:09] local.INFO: Processing buffer {"connection_id":46220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:04:09] local.INFO: IMEI packet received {"connection_id":46220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":46220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:04:11] local.INFO: TCP Data received {"connection_id":46220,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:04:11] local.INFO: Processing buffer {"connection_id":46220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:04:11] local.INFO: IMEI packet received {"connection_id":46220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":46220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:04:12] local.INFO: TCP Data received {"connection_id":46220,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c730b8012ce5d5c007305f880024005b33..."} 
[2026-04-17 01:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c730b8012ce5d5c007305f880024005b33..."} 
[2026-04-17 01:04:12] local.INFO: Processing buffer {"connection_id":46220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c730b8012ce5d5c007305f880024005b33..."} 
[2026-04-17 01:04:12] local.INFO: Packet analysis {"connection_id":46220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c7"} 
[2026-04-17 01:04:12] local.INFO: Extracted packet for processing {"connection_id":46220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c7"} 
[2026-04-17 01:04:12] local.INFO: GPS Element Parsed {"raw_longitude":753259968,"raw_latitude":120610696,"longitude_deg":75.3259968,"latitude_deg":12.0610696,"altitude":36,"angle":91,"satellites":51,"speed":31,"hex_longitude":"2ce5d5c0","hex_latitude":"07305f88","is_valid_coordinates":true} 
[2026-04-17 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-04-17 01:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750179584001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:04:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1903685605361098752,"note":"Value kept but may cause issues"} 
[2026-04-17 01:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776367907000,"timestamp_ms":1776367907000,"timestamp_seconds":1776367907,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c730b8"} 
[2026-04-17 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-04-17 01:04:12] 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-04-17 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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 01:04:12] 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-04-17 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-04-17 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-04-17 01:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750179584001,"66":27832,"101":206,"2":56832,"24":31,"16":106618783551979520,"44":-1903685605361098752},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-04-17 01:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750179584001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:04:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-04-17 01:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:04:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1903685605361098752,"description":"Unknown IO ID 44"} 
[2026-04-17 01:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750179584001,"power":27832,"unknown_101":206,"power_alt":56832,"ignition":31,"odometer":null,"unknown_44":-1903685605361098752}} 
[2026-04-17 01:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":46220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18396,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:04:12] local.INFO: GPS data processed {"connection_id":46220,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:04:12] local.INFO: Acknowledgment sent {"connection_id":46220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:04:29] local.INFO: TCP Data received {"connection_id":45470,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c87cc0012d44f080066489b8000a00a030..."} 
[2026-04-17 01:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c87cc0012d44f080066489b8000a00a030..."} 
[2026-04-17 01:04:29] local.INFO: Processing buffer {"connection_id":45470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c87cc0012d44f080066489b8000a00a030..."} 
[2026-04-17 01:04:29] local.INFO: Packet analysis {"connection_id":45470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c8"} 
[2026-04-17 01:04:29] local.INFO: Extracted packet for processing {"connection_id":45470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c8"} 
[2026-04-17 01:04:29] local.INFO: GPS Element Parsed {"raw_longitude":759492736,"raw_latitude":107252152,"longitude_deg":75.9492736,"latitude_deg":10.7252152,"altitude":10,"angle":160,"satellites":48,"speed":24,"hex_longitude":"2d44f080","hex_latitude":"066489b8","is_valid_coordinates":true} 
[2026-04-17 01:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750200576001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273409328776478720,"note":"Value kept but may cause issues"} 
[2026-04-17 01:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4965007510401708032,"note":"Value kept but may cause issues"} 
[2026-04-17 01:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776367992000,"timestamp_ms":1776367992000,"timestamp_seconds":1776367992,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c87cc0"} 
[2026-04-17 01:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:04: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-04-17 01:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 01:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:04:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750200576001,"66":27376,"205":206,"80":60416,"24":24,"16":273409328776478720,"45":4965007510401708032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-04-17 01:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750200576001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:04:29] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 01:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273409328776478720,"km_value":273409328776478.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4965007510401708032,"description":"Unknown IO ID 45"} 
[2026-04-17 01:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750200576001,"power":27376,"cell_id":206,"unknown_80":60416,"ignition":24,"odometer":null,"unknown_45":4965007510401708032}} 
[2026-04-17 01:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":45470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:04:29] local.INFO: GPS data processed {"connection_id":45470,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:04:29] local.INFO: Acknowledgment sent {"connection_id":45470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:04:43] local.INFO: TCP Data received {"connection_id":46220,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c782c0012ce61a80073062c80026005634..."} 
[2026-04-17 01:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46220,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c782c0012ce61a80073062c80026005634..."} 
[2026-04-17 01:04:43] local.INFO: Processing buffer {"connection_id":46220,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c782c0012ce61a80073062c80026005634..."} 
[2026-04-17 01:04:43] local.INFO: Packet analysis {"connection_id":46220,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c7"} 
[2026-04-17 01:04:43] local.INFO: Extracted packet for processing {"connection_id":46220,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c7"} 
[2026-04-17 01:04:43] local.INFO: GPS Element Parsed {"raw_longitude":753277568,"raw_latitude":120611528,"longitude_deg":75.3277568,"latitude_deg":12.0611528,"altitude":38,"angle":86,"satellites":52,"speed":0,"hex_longitude":"2ce61a80","hex_latitude":"073062c8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750184192001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:04:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1885389731875813376,"note":"Value kept but may cause issues"} 
[2026-04-17 01:04:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776367928000,"timestamp_ms":1776367928000,"timestamp_seconds":1776367928,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c782c0"} 
[2026-04-17 01:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:04: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-04-17 01: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":184,"data_length":795,"current_offset":136} 
[2026-04-17 01:04:43] 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-04-17 01: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-04-17 01:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46220,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46220,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750184192001,"66":27876,"100":206,"2":56832,"24":0,"16":106618783551979520,"44":-1885389731875813376},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-04-17 01:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750184192001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:04:43] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-04-17 01:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:04:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1885389731875813376,"description":"Unknown IO ID 44"} 
[2026-04-17 01:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750184192001,"power":27876,"unknown_100":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1885389731875813376}} 
[2026-04-17 01:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":46220,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18398,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:04:43] local.INFO: GPS data processed {"connection_id":46220,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:04:43] local.INFO: Acknowledgment sent {"connection_id":46220,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:04:57] local.INFO: TCP Data received {"connection_id":45663,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:04:57] local.INFO: Processing buffer {"connection_id":45663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:04:57] local.INFO: IMEI packet received {"connection_id":45663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":45663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:05:00] local.INFO: TCP Data received {"connection_id":45663,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:05:00] local.INFO: Processing buffer {"connection_id":45663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:05:00] local.INFO: IMEI packet received {"connection_id":45663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":45663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:05:01] local.INFO: TCP Data received {"connection_id":45663,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c8af88012d44fbc006646810000a00a131..."} 
[2026-04-17 01:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c8af88012d44fbc006646810000a00a131..."} 
[2026-04-17 01:05:01] local.INFO: Processing buffer {"connection_id":45663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c8af88012d44fbc006646810000a00a131..."} 
[2026-04-17 01:05:01] local.INFO: Packet analysis {"connection_id":45663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c8"} 
[2026-04-17 01:05:01] local.INFO: Extracted packet for processing {"connection_id":45663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c8"} 
[2026-04-17 01:05:01] local.INFO: GPS Element Parsed {"raw_longitude":759495616,"raw_latitude":107243536,"longitude_deg":75.9495616,"latitude_deg":10.7243536,"altitude":10,"angle":161,"satellites":49,"speed":31,"hex_longitude":"2d44fbc0","hex_latitude":"06646810","is_valid_coordinates":true} 
[2026-04-17 01:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750205952001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273409771158110208,"note":"Value kept but may cause issues"} 
[2026-04-17 01:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4967611153934563328,"note":"Value kept but may cause issues"} 
[2026-04-17 01:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776368005000,"timestamp_ms":1776368005000,"timestamp_seconds":1776368005,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c8af88"} 
[2026-04-17 01:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:05: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-04-17 01:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750205952001,"66":27321,"205":206,"80":60416,"24":31,"16":273409771158110208,"45":4967611153934563328},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-04-17 01:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750205952001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:05:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 01:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273409771158110208,"km_value":273409771158110.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":4967611153934563328,"description":"Unknown IO ID 45"} 
[2026-04-17 01:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750205952001,"power":27321,"cell_id":206,"unknown_80":60416,"ignition":31,"odometer":null,"unknown_45":4967611153934563328}} 
[2026-04-17 01:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":45663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:05:01] local.INFO: GPS data processed {"connection_id":45663,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:05:01] local.INFO: Acknowledgment sent {"connection_id":45663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:05:11] local.INFO: TCP Data received {"connection_id":46221,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:05:11] local.INFO: Processing buffer {"connection_id":46221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:05:11] local.INFO: IMEI packet received {"connection_id":46221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":46221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:05:16] local.INFO: TCP Data received {"connection_id":46221,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46221,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:05:16] local.INFO: Processing buffer {"connection_id":46221,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:05:16] local.INFO: IMEI packet received {"connection_id":46221,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:05:16] local.INFO: IMEI acknowledgment sent {"connection_id":46221,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:05:17] local.INFO: TCP Data received {"connection_id":46221,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c7d4c8012ce65cc0073068680029005332..."} 
[2026-04-17 01:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c7d4c8012ce65cc0073068680029005332..."} 
[2026-04-17 01:05:17] local.INFO: Processing buffer {"connection_id":46221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c7d4c8012ce65cc0073068680029005332..."} 
[2026-04-17 01:05:17] local.INFO: Packet analysis {"connection_id":46221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c7"} 
[2026-04-17 01:05:17] local.INFO: Extracted packet for processing {"connection_id":46221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c7"} 
[2026-04-17 01:05:17] local.INFO: GPS Element Parsed {"raw_longitude":753294528,"raw_latitude":120612968,"longitude_deg":75.3294528,"latitude_deg":12.0612968,"altitude":41,"angle":83,"satellites":50,"speed":0,"hex_longitude":"2ce65cc0","hex_latitude":"07306868","is_valid_coordinates":true} 
[2026-04-17 01:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750189568001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:05:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1866038327226742784,"note":"Value kept but may cause issues"} 
[2026-04-17 01:05:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776367949000,"timestamp_ms":1776367949000,"timestamp_seconds":1776367949,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c7d4c8"} 
[2026-04-17 01:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:05:17] 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-04-17 01:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 01:05:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750189568001,"66":27843,"100":206,"2":56832,"24":0,"16":106618783551979520,"44":-1866038327226742784},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-04-17 01:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750189568001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:05:17] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-04-17 01:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:05:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1866038327226742784,"description":"Unknown IO ID 44"} 
[2026-04-17 01:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750189568001,"power":27843,"unknown_100":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1866038327226742784}} 
[2026-04-17 01:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":46221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18400,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:05:17] local.INFO: GPS data processed {"connection_id":46221,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:05:17] local.INFO: Acknowledgment sent {"connection_id":46221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:05:22] local.INFO: TCP Data received {"connection_id":46221,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c826d0012ce69a8007306d40002d005b33..."} 
[2026-04-17 01:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c826d0012ce69a8007306d40002d005b33..."} 
[2026-04-17 01:05:22] local.INFO: Processing buffer {"connection_id":46221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c826d0012ce69a8007306d40002d005b33..."} 
[2026-04-17 01:05:22] local.INFO: Packet analysis {"connection_id":46221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c8"} 
[2026-04-17 01:05:22] local.INFO: Extracted packet for processing {"connection_id":46221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c8"} 
[2026-04-17 01:05:22] local.INFO: GPS Element Parsed {"raw_longitude":753310336,"raw_latitude":120614208,"longitude_deg":75.3310336,"latitude_deg":12.0614208,"altitude":45,"angle":91,"satellites":51,"speed":0,"hex_longitude":"2ce69a80","hex_latitude":"07306d40","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:05:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750194944001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:05:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:05:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1847390610019293184,"note":"Value kept but may cause issues"} 
[2026-04-17 01:05:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:05:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776367970000,"timestamp_ms":1776367970000,"timestamp_seconds":1776367970,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c826d0"} 
[2026-04-17 01:05:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:05: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-04-17 01: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 01:05:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:05:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:05:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:05:22] local.INFO: Teltonika packet parsed successfully {"connection_id":46221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:05:22] local.INFO: Passing IMEI to GPS processor {"connection_id":46221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:05:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":46221,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:05:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:05:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:05:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:05:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750194944001,"66":27876,"100":206,"2":56832,"24":0,"16":106618783551979520,"44":-1847390610019293184},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-04-17 01:05:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:05:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:05:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750194944001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:05:22] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-04-17 01:05:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:05:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1847390610019293184,"description":"Unknown IO ID 44"} 
[2026-04-17 01:05:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750194944001,"power":27876,"unknown_100":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1847390610019293184}} 
[2026-04-17 01:05:22] local.INFO: DEBUG: GPS processor result {"connection_id":46221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18401,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:05:22] local.INFO: GPS data processed {"connection_id":46221,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:05:22] local.INFO: Acknowledgment sent {"connection_id":46221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:05:32] local.INFO: TCP Data received {"connection_id":45663,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c8da80012d45080006644518000b00a133..."} 
[2026-04-17 01:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c8da80012d45080006644518000b00a133..."} 
[2026-04-17 01:05:32] local.INFO: Processing buffer {"connection_id":45663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c8da80012d45080006644518000b00a133..."} 
[2026-04-17 01:05:32] local.INFO: Packet analysis {"connection_id":45663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c8"} 
[2026-04-17 01:05:32] local.INFO: Extracted packet for processing {"connection_id":45663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c8"} 
[2026-04-17 01:05:32] local.INFO: GPS Element Parsed {"raw_longitude":759498752,"raw_latitude":107234584,"longitude_deg":75.9498752,"latitude_deg":10.7234584,"altitude":11,"angle":161,"satellites":51,"speed":37,"hex_longitude":"2d450800","hex_latitude":"06644518","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750209280001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273410226424643584,"note":"Value kept but may cause issues"} 
[2026-04-17 01:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4970777747420352512,"note":"Value kept but may cause issues"} 
[2026-04-17 01:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776368016000,"timestamp_ms":1776368016000,"timestamp_seconds":1776368016,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c8da80"} 
[2026-04-17 01:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 01:05: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-04-17 01: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-04-17 01:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750209280001,"66":27310,"205":206,"80":60416,"24":37,"16":273410226424643584,"45":4970777747420352512},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-04-17 01:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750209280001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:05:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 01:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273410226424643584,"km_value":273410226424643.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4970777747420352512,"description":"Unknown IO ID 45"} 
[2026-04-17 01:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750209280001,"power":27310,"cell_id":206,"unknown_80":60416,"ignition":37,"odometer":null,"unknown_45":4970777747420352512}} 
[2026-04-17 01:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":45663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:05:32] local.INFO: GPS data processed {"connection_id":45663,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:05:32] local.INFO: Acknowledgment sent {"connection_id":45663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:05:49] local.INFO: TCP Data received {"connection_id":45410,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:05:49] local.INFO: Processing buffer {"connection_id":45410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:05:49] local.INFO: IMEI packet received {"connection_id":45410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":45410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:05:52] local.INFO: TCP Data received {"connection_id":45410,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:05:52] local.INFO: Processing buffer {"connection_id":45410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:05:52] local.INFO: IMEI packet received {"connection_id":45410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":45410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:05:56] local.INFO: TCP Data received {"connection_id":45410,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:05:56] local.INFO: Processing buffer {"connection_id":45410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:05:56] local.INFO: IMEI packet received {"connection_id":45410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":45410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:05:57] local.INFO: TCP Data received {"connection_id":45410,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c8fda8012d45134006642400000b00a134..."} 
[2026-04-17 01:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c8fda8012d45134006642400000b00a134..."} 
[2026-04-17 01:05:57] local.INFO: Processing buffer {"connection_id":45410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c8fda8012d45134006642400000b00a134..."} 
[2026-04-17 01:05:57] local.INFO: Packet analysis {"connection_id":45410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c8"} 
[2026-04-17 01:05:57] local.INFO: Extracted packet for processing {"connection_id":45410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c8"} 
[2026-04-17 01:05:57] local.INFO: GPS Element Parsed {"raw_longitude":759501632,"raw_latitude":107226112,"longitude_deg":75.9501632,"latitude_deg":10.7226112,"altitude":11,"angle":161,"satellites":52,"speed":41,"hex_longitude":"2d451340","hex_latitude":"06642400","is_valid_coordinates":true} 
[2026-04-17 01:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750212096001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273410660216340480,"note":"Value kept but may cause issues"} 
[2026-04-17 01:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4974225815882766336,"note":"Value kept but may cause issues"} 
[2026-04-17 01:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776368025000,"timestamp_ms":1776368025000,"timestamp_seconds":1776368025,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c8fda8"} 
[2026-04-17 01:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:05: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-04-17 01:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 01:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750212096001,"66":27376,"205":206,"80":60416,"24":41,"16":273410660216340480,"45":4974225815882766336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,80,24,16,45]} 
[2026-04-17 01:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750212096001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:05:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 01:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273410660216340480,"km_value":273410660216340.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":4974225815882766336,"description":"Unknown IO ID 45"} 
[2026-04-17 01:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750212096001,"power":27376,"cell_id":206,"unknown_80":60416,"ignition":41,"odometer":null,"unknown_45":4974225815882766336}} 
[2026-04-17 01:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":45410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:05:57] local.INFO: GPS data processed {"connection_id":45410,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:05:57] local.INFO: Acknowledgment sent {"connection_id":45410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:06:06] local.INFO: TCP Data received {"connection_id":45664,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:06:06] local.INFO: Processing buffer {"connection_id":45664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:06:06] local.INFO: IMEI packet received {"connection_id":45664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":45664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:06:10] local.INFO: TCP Data received {"connection_id":45664,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:06:10] local.INFO: Processing buffer {"connection_id":45664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:06:10] local.INFO: IMEI packet received {"connection_id":45664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":45664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:06:12] local.INFO: TCP Data received {"connection_id":45664,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c874f0012ce6d00007305be80031007435..."} 
[2026-04-17 01:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c874f0012ce6d00007305be80031007435..."} 
[2026-04-17 01:06:12] local.INFO: Processing buffer {"connection_id":45664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c874f0012ce6d00007305be80031007435..."} 
[2026-04-17 01:06:12] local.INFO: Packet analysis {"connection_id":45664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c8"} 
[2026-04-17 01:06:12] local.INFO: Extracted packet for processing {"connection_id":45664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c8"} 
[2026-04-17 01:06:12] local.INFO: GPS Element Parsed {"raw_longitude":753324032,"raw_latitude":120609768,"longitude_deg":75.3324032,"latitude_deg":12.0609768,"altitude":49,"angle":116,"satellites":53,"speed":23,"hex_longitude":"2ce6d000","hex_latitude":"07305be8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750200320001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:06:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1830009530207092736,"note":"Value kept but may cause issues"} 
[2026-04-17 01:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776367990000,"timestamp_ms":1776367990000,"timestamp_seconds":1776367990,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c874f0"} 
[2026-04-17 01:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:06: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-04-17 01: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 01:06:12] 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-04-17 01: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-04-17 01:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750200320001,"66":27930,"100":206,"2":56832,"24":23,"16":106618783551979520,"44":-1830009530207092736},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,44]} 
[2026-04-17 01:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750200320001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:06:12] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-04-17 01:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:06:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1830009530207092736,"description":"Unknown IO ID 44"} 
[2026-04-17 01:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750200320001,"power":27930,"unknown_100":206,"power_alt":56832,"ignition":23,"odometer":null,"unknown_44":-1830009530207092736}} 
[2026-04-17 01:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":45664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18404,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:06:12] local.INFO: GPS data processed {"connection_id":45664,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:06:12] local.INFO: Acknowledgment sent {"connection_id":45664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:06:28] local.INFO: TCP Data received {"connection_id":45410,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ca9fa0012d45d540066271800008009832..."} 
[2026-04-17 01:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ca9fa0012d45d540066271800008009832..."} 
[2026-04-17 01:06:28] local.INFO: Processing buffer {"connection_id":45410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ca9fa0012d45d540066271800008009832..."} 
[2026-04-17 01:06:28] local.INFO: Packet analysis {"connection_id":45410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ca"} 
[2026-04-17 01:06:28] local.INFO: Extracted packet for processing {"connection_id":45410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ca"} 
[2026-04-17 01:06:28] local.INFO: GPS Element Parsed {"raw_longitude":759551296,"raw_latitude":107114880,"longitude_deg":75.9551296,"latitude_deg":10.711488,"altitude":8,"angle":152,"satellites":50,"speed":53,"hex_longitude":"2d45d540","hex_latitude":"06627180","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750240000001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273416578681274368,"note":"Value kept but may cause issues"} 
[2026-04-17 01:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5027002373987469312,"note":"Value kept but may cause issues"} 
[2026-04-17 01:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776368132000,"timestamp_ms":1776368132000,"timestamp_seconds":1776368132,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ca9fa0"} 
[2026-04-17 01:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:06: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-04-17 01:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750240000001,"66":27267,"206":206,"80":60416,"24":53,"16":273416578681274368,"45":5027002373987469312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-04-17 01:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750240000001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:06:28] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 01:06:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 01:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273416578681274368,"km_value":273416578681274.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5027002373987469312,"description":"Unknown IO ID 45"} 
[2026-04-17 01:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750240000001,"power":27267,"unknown_206":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":5027002373987469312}} 
[2026-04-17 01:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":45410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:06:28] local.INFO: GPS data processed {"connection_id":45410,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:06:28] local.INFO: Acknowledgment sent {"connection_id":45410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:06:43] local.INFO: TCP Data received {"connection_id":45664,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97c976c00100000000000000000000000000..."} 
[2026-04-17 01:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97c976c00100000000000000000000000000..."} 
[2026-04-17 01:06:43] local.INFO: Processing buffer {"connection_id":45664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97c976c00100000000000000000000000000..."} 
[2026-04-17 01:06:43] local.INFO: Packet analysis {"connection_id":45664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97c9"} 
[2026-04-17 01:06:43] local.INFO: Extracted packet for processing {"connection_id":45664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97c9"} 
[2026-04-17 01:06: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-04-17 01: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-04-17 01:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750205440001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:06:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1814950618954209280,"note":"Value kept but may cause issues"} 
[2026-04-17 01:06:43] 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-04-17 01:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776368056000,"timestamp_ms":1776368056000,"timestamp_seconds":1776368056,"priority":1,"record_length":96,"hex_timestamp":"0000019d97c976c0"} 
[2026-04-17 01:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:06: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-04-17 01: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-17 01:06:43] 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-04-17 01: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-04-17 01:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":45664,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:06:43] local.INFO: GPS data processed {"connection_id":45664,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:06:43] local.INFO: Acknowledgment sent {"connection_id":45664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:06:52] local.INFO: TCP Data received {"connection_id":45471,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:06:52] local.INFO: Processing buffer {"connection_id":45471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:06:52] local.INFO: IMEI packet received {"connection_id":45471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":45471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:06:56] local.INFO: TCP Data received {"connection_id":45471,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45471,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:06:56] local.INFO: Processing buffer {"connection_id":45471,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:06:56] local.INFO: IMEI packet received {"connection_id":45471,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":45471,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:06:57] local.INFO: TCP Data received {"connection_id":45471,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cabaf8012d45e580066250700007009c34..."} 
[2026-04-17 01:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cabaf8012d45e580066250700007009c34..."} 
[2026-04-17 01:06:57] local.INFO: Processing buffer {"connection_id":45471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cabaf8012d45e580066250700007009c34..."} 
[2026-04-17 01:06:57] local.INFO: Packet analysis {"connection_id":45471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ca"} 
[2026-04-17 01:06:57] local.INFO: Extracted packet for processing {"connection_id":45471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ca"} 
[2026-04-17 01:06:57] local.INFO: GPS Element Parsed {"raw_longitude":759555456,"raw_latitude":107106416,"longitude_deg":75.9555456,"latitude_deg":10.7106416,"altitude":7,"angle":156,"satellites":52,"speed":53,"hex_longitude":"2d45e580","hex_latitude":"06625070","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750241792001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273417033947807744,"note":"Value kept but may cause issues"} 
[2026-04-17 01:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5031998554821984256,"note":"Value kept but may cause issues"} 
[2026-04-17 01:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776368139000,"timestamp_ms":1776368139000,"timestamp_seconds":1776368139,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cabaf8"} 
[2026-04-17 01:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 01:06:57] 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-04-17 01: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-04-17 01:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750241792001,"66":27376,"206":206,"80":60416,"24":53,"16":273417033947807744,"45":5031998554821984256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-04-17 01:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750241792001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:06:57] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 01:06:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 01:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273417033947807744,"km_value":273417033947807.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5031998554821984256,"description":"Unknown IO ID 45"} 
[2026-04-17 01:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750241792001,"power":27376,"unknown_206":206,"unknown_80":60416,"ignition":53,"odometer":null,"unknown_45":5031998554821984256}} 
[2026-04-17 01:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":45471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:06:57] local.INFO: GPS data processed {"connection_id":45471,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:06:57] local.INFO: Acknowledgment sent {"connection_id":45471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:07:06] local.INFO: TCP Data received {"connection_id":46222,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:07:06] local.INFO: Processing buffer {"connection_id":46222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:07:06] local.INFO: IMEI packet received {"connection_id":46222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:07:06] local.INFO: IMEI acknowledgment sent {"connection_id":46222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:07:11] local.INFO: TCP Data received {"connection_id":46222,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46222,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:07:11] local.INFO: Processing buffer {"connection_id":46222,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:07:11] local.INFO: IMEI packet received {"connection_id":46222,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":46222,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:07:12] local.INFO: TCP Data received {"connection_id":46222,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cb10e8012ce7af00072feb28003700a835..."} 
[2026-04-17 01:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cb10e8012ce7af00072feb28003700a835..."} 
[2026-04-17 01:07:12] local.INFO: Processing buffer {"connection_id":46222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cb10e8012ce7af00072feb28003700a835..."} 
[2026-04-17 01:07:12] local.INFO: Packet analysis {"connection_id":46222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97cb"} 
[2026-04-17 01:07:12] local.INFO: Extracted packet for processing {"connection_id":46222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97cb"} 
[2026-04-17 01:07:12] local.INFO: GPS Element Parsed {"raw_longitude":753381120,"raw_latitude":120580904,"longitude_deg":75.338112,"latitude_deg":12.0580904,"altitude":55,"angle":168,"satellites":53,"speed":29,"hex_longitude":"2ce7af00","hex_latitude":"072feb28","is_valid_coordinates":true} 
[2026-04-17 01:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:07:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,140,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776368161000,"timestamp_ms":1776368161000,"timestamp_seconds":1776368161,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cb10e8"} 
[2026-04-17 01:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:07: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 01:07:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27397,"140":206,"2":56832,"24":29,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,2,24,16]} 
[2026-04-17 01:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:07:12] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-04-17 01:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:07:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27397,"unknown_140":206,"power_alt":56832,"ignition":29,"odometer":null}} 
[2026-04-17 01:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":46222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18407,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:07:12] local.INFO: GPS data processed {"connection_id":46222,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:07:12] local.INFO: Acknowledgment sent {"connection_id":46222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:07:28] local.INFO: TCP Data received {"connection_id":45471,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cad650012d45f40006622f900007009b34..."} 
[2026-04-17 01:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cad650012d45f40006622f900007009b34..."} 
[2026-04-17 01:07:28] local.INFO: Processing buffer {"connection_id":45471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cad650012d45f40006622f900007009b34..."} 
[2026-04-17 01:07:28] local.INFO: Packet analysis {"connection_id":45471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ca"} 
[2026-04-17 01:07:28] local.INFO: Extracted packet for processing {"connection_id":45471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ca"} 
[2026-04-17 01:07:28] local.INFO: GPS Element Parsed {"raw_longitude":759559168,"raw_latitude":107098000,"longitude_deg":75.9559168,"latitude_deg":10.7098,"altitude":7,"angle":155,"satellites":52,"speed":50,"hex_longitude":"2d45f400","hex_latitude":"06622f90","is_valid_coordinates":true} 
[2026-04-17 01:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750243584001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273417480624406528,"note":"Value kept but may cause issues"} 
[2026-04-17 01:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5036572523191365632,"note":"Value kept but may cause issues"} 
[2026-04-17 01:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776368146000,"timestamp_ms":1776368146000,"timestamp_seconds":1776368146,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cad650"} 
[2026-04-17 01:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:07: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-04-17 01:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45471,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750243584001,"66":27365,"206":206,"80":60416,"24":50,"16":273417480624406528,"45":5036572523191365632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,80,24,16,45]} 
[2026-04-17 01:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750243584001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:07:28] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 01:07:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 01:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273417480624406528,"km_value":273417480624406.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":5036572523191365632,"description":"Unknown IO ID 45"} 
[2026-04-17 01:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750243584001,"power":27365,"unknown_206":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":5036572523191365632}} 
[2026-04-17 01:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":45471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:07:28] local.INFO: GPS data processed {"connection_id":45471,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:07:28] local.INFO: Acknowledgment sent {"connection_id":45471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:07:44] local.INFO: TCP Data received {"connection_id":46222,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cb62f0012ce7bd80072faef0002f009a30..."} 
[2026-04-17 01:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cb62f0012ce7bd80072faef0002f009a30..."} 
[2026-04-17 01:07:44] local.INFO: Processing buffer {"connection_id":46222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cb62f0012ce7bd80072faef0002f009a30..."} 
[2026-04-17 01:07:44] local.INFO: Packet analysis {"connection_id":46222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97cb"} 
[2026-04-17 01:07:44] local.INFO: Extracted packet for processing {"connection_id":46222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97cb"} 
[2026-04-17 01:07:44] local.INFO: GPS Element Parsed {"raw_longitude":753384832,"raw_latitude":120565488,"longitude_deg":75.3384832,"latitude_deg":12.0565488,"altitude":47,"angle":154,"satellites":48,"speed":30,"hex_longitude":"2ce7bd80","hex_latitude":"072faef0","is_valid_coordinates":true} 
[2026-04-17 01:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750249216001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:07:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1752181699155122176,"note":"Value kept but may cause issues"} 
[2026-04-17 01:07:44] 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-04-17 01:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776368182000,"timestamp_ms":1776368182000,"timestamp_seconds":1776368182,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cb62f0"} 
[2026-04-17 01:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:07:44] 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-04-17 01:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:07:44] 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-04-17 01:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46222,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750249216001,"66":28006,"140":206,"2":56832,"24":30,"16":106618783551979520,"44":-1752181699155122176},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,2,24,16,44]} 
[2026-04-17 01:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750249216001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:07:44] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-04-17 01:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:07:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1752181699155122176,"description":"Unknown IO ID 44"} 
[2026-04-17 01:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750249216001,"power":28006,"unknown_140":206,"power_alt":56832,"ignition":30,"odometer":null,"unknown_44":-1752181699155122176}} 
[2026-04-17 01:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":46222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18409,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:07:44] local.INFO: GPS data processed {"connection_id":46222,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:07:44] local.INFO: Acknowledgment sent {"connection_id":46222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:08:27] local.INFO: TCP Data received {"connection_id":46223,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:08:27] local.INFO: Processing buffer {"connection_id":46223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:08:27] local.INFO: IMEI packet received {"connection_id":46223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":46223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:08:29] local.INFO: TCP Data received {"connection_id":46223,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46223,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:08:29] local.INFO: Processing buffer {"connection_id":46223,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:08:29] local.INFO: IMEI packet received {"connection_id":46223,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:08:29] local.INFO: IMEI acknowledgment sent {"connection_id":46223,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:08:30] local.INFO: TCP Data received {"connection_id":46223,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cc1e70012d4691800660b568000e00a434..."} 
[2026-04-17 01:08:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cc1e70012d4691800660b568000e00a434..."} 
[2026-04-17 01:08:30] local.INFO: Processing buffer {"connection_id":46223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cc1e70012d4691800660b568000e00a434..."} 
[2026-04-17 01:08:30] local.INFO: Packet analysis {"connection_id":46223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97cc"} 
[2026-04-17 01:08:30] local.INFO: Extracted packet for processing {"connection_id":46223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97cc"} 
[2026-04-17 01:08:30] local.INFO: GPS Element Parsed {"raw_longitude":759599488,"raw_latitude":107001192,"longitude_deg":75.9599488,"latitude_deg":10.7001192,"altitude":14,"angle":164,"satellites":52,"speed":49,"hex_longitude":"2d469180","hex_latitude":"0660b568","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:08:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750264832001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:08:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273422557275750400,"note":"Value kept but may cause issues"} 
[2026-04-17 01:08:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5081678888184774656,"note":"Value kept but may cause issues"} 
[2026-04-17 01:08:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:08:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776368230000,"timestamp_ms":1776368230000,"timestamp_seconds":1776368230,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cc1e70"} 
[2026-04-17 01:08:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:08: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-04-17 01: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 01:08:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:08:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:08:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:08:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:08:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:08:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46223,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:08: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-04-17 01:08:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:08:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:08:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750264832001,"66":27571,"114":206,"80":60416,"24":49,"16":273422557275750400,"45":5081678888184774656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,80,24,16,45]} 
[2026-04-17 01:08:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:08:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:08:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750264832001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:08:30] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-04-17 01:08:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 01:08:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273422557275750400,"km_value":273422557275750.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:08:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5081678888184774656,"description":"Unknown IO ID 45"} 
[2026-04-17 01:08:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750264832001,"power":27571,"unknown_114":206,"unknown_80":60416,"ignition":49,"odometer":null,"unknown_45":5081678888184774656}} 
[2026-04-17 01:08:30] local.INFO: DEBUG: GPS processor result {"connection_id":46223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:08:30] local.INFO: GPS data processed {"connection_id":46223,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:08:30] local.INFO: Acknowledgment sent {"connection_id":46223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:08:57] local.INFO: TCP Data received {"connection_id":45665,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:08:57] local.INFO: Processing buffer {"connection_id":45665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:08:57] local.INFO: IMEI packet received {"connection_id":45665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":45665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:08:58] local.INFO: TCP Data received {"connection_id":45665,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:08:58] local.INFO: Processing buffer {"connection_id":45665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:08:58] local.INFO: IMEI packet received {"connection_id":45665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":45665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:09:02] local.INFO: TCP Data received {"connection_id":45665,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:09:02] local.INFO: Processing buffer {"connection_id":45665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:09:02] local.INFO: IMEI packet received {"connection_id":45665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":45665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:09:04] local.INFO: TCP Data received {"connection_id":45665,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cc3db0012d469b0006608f20000f00a733..."} 
[2026-04-17 01:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cc3db0012d469b0006608f20000f00a733..."} 
[2026-04-17 01:09:04] local.INFO: Processing buffer {"connection_id":45665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cc3db0012d469b0006608f20000f00a733..."} 
[2026-04-17 01:09:04] local.INFO: Packet analysis {"connection_id":45665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97cc"} 
[2026-04-17 01:09:04] local.INFO: Extracted packet for processing {"connection_id":45665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97cc"} 
[2026-04-17 01:09:04] local.INFO: GPS Element Parsed {"raw_longitude":759601920,"raw_latitude":106991392,"longitude_deg":75.960192,"latitude_deg":10.6991392,"altitude":15,"angle":167,"satellites":51,"speed":50,"hex_longitude":"2d469b00","hex_latitude":"06608f20","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750266880001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273423042607054848,"note":"Value kept but may cause issues"} 
[2026-04-17 01:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5084986219158661120,"note":"Value kept but may cause issues"} 
[2026-04-17 01:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,80,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776368238000,"timestamp_ms":1776368238000,"timestamp_seconds":1776368238,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cc3db0"} 
[2026-04-17 01:09:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:09: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-04-17 01: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-17 01:09: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-04-17 01: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-04-17 01:09:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":45665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":45665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":45665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750266880001,"66":27343,"114":206,"80":60416,"24":50,"16":273423042607054848,"45":5084986219158661120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,80,24,16,45]} 
[2026-04-17 01:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750266880001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:09:04] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-04-17 01:09:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":60416,"description":"Unknown IO ID 80"} 
[2026-04-17 01:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273423042607054848,"km_value":273423042607054.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5084986219158661120,"description":"Unknown IO ID 45"} 
[2026-04-17 01:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750266880001,"power":27343,"unknown_114":206,"unknown_80":60416,"ignition":50,"odometer":null,"unknown_45":5084986219158661120}} 
[2026-04-17 01:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":45665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:09:04] local.INFO: GPS data processed {"connection_id":45665,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:09:04] local.INFO: Acknowledgment sent {"connection_id":45665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:09:11] local.INFO: TCP Data received {"connection_id":45473,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:09:11] local.INFO: Processing buffer {"connection_id":45473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:09:11] local.INFO: IMEI packet received {"connection_id":45473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":45473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:09:16] local.INFO: TCP Data received {"connection_id":45473,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45473,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:09:16] local.INFO: Processing buffer {"connection_id":45473,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:09:16] local.INFO: IMEI packet received {"connection_id":45473,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":45473,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:09:17] local.INFO: TCP Data received {"connection_id":45473,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cb62f0012ce7bd80072faef0002f009a30..."} 
[2026-04-17 01:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cb62f0012ce7bd80072faef0002f009a30..."} 
[2026-04-17 01:09:17] local.INFO: Processing buffer {"connection_id":45473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cb62f0012ce7bd80072faef0002f009a30..."} 
[2026-04-17 01:09:17] local.INFO: Packet analysis {"connection_id":45473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97cb"} 
[2026-04-17 01:09:17] local.INFO: Extracted packet for processing {"connection_id":45473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97cb"} 
[2026-04-17 01:09:17] local.INFO: GPS Element Parsed {"raw_longitude":753384832,"raw_latitude":120565488,"longitude_deg":75.3384832,"latitude_deg":12.0565488,"altitude":47,"angle":154,"satellites":48,"speed":30,"hex_longitude":"2ce7bd80","hex_latitude":"072faef0","is_valid_coordinates":true} 
[2026-04-17 01:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750254592001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:09:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1748100311996764160,"note":"Value kept but may cause issues"} 
[2026-04-17 01:09:17] 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-04-17 01:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776368182000,"timestamp_ms":1776368182000,"timestamp_seconds":1776368182,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cb62f0"} 
[2026-04-17 01:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:09:17] 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-04-17 01:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 01:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750254592001,"66":28006,"140":206,"2":56832,"24":30,"16":106618783551979520,"44":-1748100311996764160},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,140,2,24,16,44]} 
[2026-04-17 01:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750254592001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:09:17] local.INFO: Unknown IO ID detected {"io_id":140,"value":206,"description":"Unknown IO ID 140"} 
[2026-04-17 01:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:09:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1748100311996764160,"description":"Unknown IO ID 44"} 
[2026-04-17 01:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750254592001,"power":28006,"unknown_140":206,"power_alt":56832,"ignition":30,"odometer":null,"unknown_44":-1748100311996764160}} 
[2026-04-17 01:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":45473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18412,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:09:17] local.INFO: GPS data processed {"connection_id":45473,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:09:17] local.INFO: Acknowledgment sent {"connection_id":45473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:09:35] local.INFO: TCP Data received {"connection_id":45665,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cd7a18012d474440065eef380008009b33..."} 
[2026-04-17 01:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cd7a18012d474440065eef380008009b33..."} 
[2026-04-17 01:09:35] local.INFO: Processing buffer {"connection_id":45665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cd7a18012d474440065eef380008009b33..."} 
[2026-04-17 01:09:35] local.INFO: Packet analysis {"connection_id":45665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97cd"} 
[2026-04-17 01:09:35] local.INFO: Extracted packet for processing {"connection_id":45665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97cd"} 
[2026-04-17 01:09:35] local.INFO: GPS Element Parsed {"raw_longitude":759645248,"raw_latitude":106884920,"longitude_deg":75.9645248,"latitude_deg":10.688492,"altitude":8,"angle":155,"satellites":51,"speed":59,"hex_longitude":"2d474440","hex_latitude":"065eef38","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750288128001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273428643244408832,"note":"Value kept but may cause issues"} 
[2026-04-17 01:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5130725902846414848,"note":"Value kept but may cause issues"} 
[2026-04-17 01:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776368319000,"timestamp_ms":1776368319000,"timestamp_seconds":1776368319,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cd7a18"} 
[2026-04-17 01:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:09: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-04-17 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 01:09: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-04-17 01: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-04-17 01:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":45665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":45665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":45665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:09: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-04-17 01:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750288128001,"66":27365,"113":206,"78":62464,"24":59,"16":273428643244408832,"45":5130725902846414848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,78,24,16,45]} 
[2026-04-17 01:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750288128001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:09:35] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-04-17 01:09:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273428643244408832,"km_value":273428643244408.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5130725902846414848,"description":"Unknown IO ID 45"} 
[2026-04-17 01:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750288128001,"power":27365,"unknown_113":206,"unknown_78":62464,"ignition":59,"odometer":null,"unknown_45":5130725902846414848}} 
[2026-04-17 01:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":45665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18413,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:09:35] local.INFO: GPS data processed {"connection_id":45665,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:09:35] local.INFO: Acknowledgment sent {"connection_id":45665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:09:49] local.INFO: TCP Data received {"connection_id":45473,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cc64c00100000000000000000000000000..."} 
[2026-04-17 01:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cc64c00100000000000000000000000000..."} 
[2026-04-17 01:09:49] local.INFO: Processing buffer {"connection_id":45473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cc64c00100000000000000000000000000..."} 
[2026-04-17 01:09:49] local.INFO: Packet analysis {"connection_id":45473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97cc"} 
[2026-04-17 01:09:49] local.INFO: Extracted packet for processing {"connection_id":45473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97cc"} 
[2026-04-17 01:09:49] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 01:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:09:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750254592001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:09:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1748100311996764160,"note":"Value kept but may cause issues"} 
[2026-04-17 01:09:49] 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-04-17 01:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776368248000,"timestamp_ms":1776368248000,"timestamp_seconds":1776368248,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cc64c0"} 
[2026-04-17 01:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:09: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-04-17 01:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 01:09:49] 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-04-17 01:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45473,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":45473,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:09:49] local.INFO: GPS data processed {"connection_id":45473,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:09:49] local.INFO: Acknowledgment sent {"connection_id":45473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:09:52] local.INFO: TCP Data received {"connection_id":46224,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:09:52] local.INFO: Processing buffer {"connection_id":46224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:09:52] local.INFO: IMEI packet received {"connection_id":46224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":46224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:09:53] local.INFO: TCP Data received {"connection_id":46224,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:09:53] local.INFO: Processing buffer {"connection_id":46224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:09:53] local.INFO: IMEI packet received {"connection_id":46224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":46224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:09:57] local.INFO: TCP Data received {"connection_id":46224,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:09:57] local.INFO: Processing buffer {"connection_id":46224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:09:57] local.INFO: IMEI packet received {"connection_id":46224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":46224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:09:59] local.INFO: TCP Data received {"connection_id":46224,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cd9188012d475280065ecf000008009c33..."} 
[2026-04-17 01:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cd9188012d475280065ecf000008009c33..."} 
[2026-04-17 01:09:59] local.INFO: Processing buffer {"connection_id":46224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cd9188012d475280065ecf000008009c33..."} 
[2026-04-17 01:09:59] local.INFO: Packet analysis {"connection_id":46224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97cd"} 
[2026-04-17 01:09:59] local.INFO: Extracted packet for processing {"connection_id":46224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97cd"} 
[2026-04-17 01:09:59] local.INFO: GPS Element Parsed {"raw_longitude":759648896,"raw_latitude":106876672,"longitude_deg":75.9648896,"latitude_deg":10.6876672,"altitude":8,"angle":156,"satellites":51,"speed":59,"hex_longitude":"2d475280","hex_latitude":"065ecf00","is_valid_coordinates":true} 
[2026-04-17 01:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750289664001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273429077036105728,"note":"Value kept but may cause issues"} 
[2026-04-17 01:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5135299871215925248,"note":"Value kept but may cause issues"} 
[2026-04-17 01:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776368325000,"timestamp_ms":1776368325000,"timestamp_seconds":1776368325,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cd9188"} 
[2026-04-17 01:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:09: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-04-17 01:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 01:09: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-04-17 01:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750289664001,"66":27343,"113":206,"78":62464,"24":59,"16":273429077036105728,"45":5135299871215925248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,78,24,16,45]} 
[2026-04-17 01:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750289664001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:09:59] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-04-17 01:09:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273429077036105728,"km_value":273429077036105.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5135299871215925248,"description":"Unknown IO ID 45"} 
[2026-04-17 01:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750289664001,"power":27343,"unknown_113":206,"unknown_78":62464,"ignition":59,"odometer":null,"unknown_45":5135299871215925248}} 
[2026-04-17 01:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":46224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:09:59] local.INFO: GPS data processed {"connection_id":46224,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:09:59] local.INFO: Acknowledgment sent {"connection_id":46224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:10:06] local.INFO: TCP Data received {"connection_id":45474,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:10:06] local.INFO: Processing buffer {"connection_id":45474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:10:06] local.INFO: IMEI packet received {"connection_id":45474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":45474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:10:11] local.INFO: TCP Data received {"connection_id":45474,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:10:11] local.INFO: Processing buffer {"connection_id":45474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:10:11] local.INFO: IMEI packet received {"connection_id":45474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":45474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:10:12] local.INFO: TCP Data received {"connection_id":45474,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cdb4b0012ce88e00072ecea00004008534..."} 
[2026-04-17 01:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cdb4b0012ce88e00072ecea00004008534..."} 
[2026-04-17 01:10:12] local.INFO: Processing buffer {"connection_id":45474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cdb4b0012ce88e00072ecea00004008534..."} 
[2026-04-17 01:10:12] local.INFO: Packet analysis {"connection_id":45474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97cd"} 
[2026-04-17 01:10:12] local.INFO: Extracted packet for processing {"connection_id":45474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97cd"} 
[2026-04-17 01:10:12] local.INFO: GPS Element Parsed {"raw_longitude":753438208,"raw_latitude":120508064,"longitude_deg":75.3438208,"latitude_deg":12.0508064,"altitude":4,"angle":133,"satellites":52,"speed":28,"hex_longitude":"2ce88e00","hex_latitude":"072ecea0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:10:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,12,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776368334000,"timestamp_ms":1776368334000,"timestamp_seconds":1776368334,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cdb4b0"} 
[2026-04-17 01:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:10:12] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 01:10:12] 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-04-17 01: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-04-17 01:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27930,"12":206,"2":56832,"24":28,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16]} 
[2026-04-17 01:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:10:12] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 01:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:10:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27930,"unknown_12":206,"power_alt":56832,"ignition":28,"odometer":null}} 
[2026-04-17 01:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":45474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18415,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:10:12] local.INFO: GPS data processed {"connection_id":45474,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:10:12] local.INFO: Acknowledgment sent {"connection_id":45474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:10:34] local.INFO: TCP Data received {"connection_id":46224,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cda8f8012d476040065eae800008009d34..."} 
[2026-04-17 01:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cda8f8012d476040065eae800008009d34..."} 
[2026-04-17 01:10:34] local.INFO: Processing buffer {"connection_id":46224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cda8f8012d476040065eae800008009d34..."} 
[2026-04-17 01:10:34] local.INFO: Packet analysis {"connection_id":46224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97cd"} 
[2026-04-17 01:10:34] local.INFO: Extracted packet for processing {"connection_id":46224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97cd"} 
[2026-04-17 01:10:34] local.INFO: GPS Element Parsed {"raw_longitude":759652416,"raw_latitude":106868352,"longitude_deg":75.9652416,"latitude_deg":10.6868352,"altitude":8,"angle":157,"satellites":52,"speed":59,"hex_longitude":"2d476040","hex_latitude":"065eae80","is_valid_coordinates":true} 
[2026-04-17 01:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:10:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750291200001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:10:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273429515122769920,"note":"Value kept but may cause issues"} 
[2026-04-17 01:10:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5139310889631940608,"note":"Value kept but may cause issues"} 
[2026-04-17 01:10:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:10:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776368331000,"timestamp_ms":1776368331000,"timestamp_seconds":1776368331,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cda8f8"} 
[2026-04-17 01:10:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:10:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:10:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 01:10:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:10:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:10:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:10:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:10:34] local.INFO: Teltonika packet parsed successfully {"connection_id":46224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:10:34] local.INFO: Passing IMEI to GPS processor {"connection_id":46224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:10:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":46224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:10:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:10:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:10:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:10:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750291200001,"66":27343,"113":206,"78":62464,"24":59,"16":273429515122769920,"45":5139310889631940608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,78,24,16,45]} 
[2026-04-17 01:10:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:10:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:10:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750291200001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:10:34] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-04-17 01:10:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:10:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273429515122769920,"km_value":273429515122769.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:10:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5139310889631940608,"description":"Unknown IO ID 45"} 
[2026-04-17 01:10:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750291200001,"power":27343,"unknown_113":206,"unknown_78":62464,"ignition":59,"odometer":null,"unknown_45":5139310889631940608}} 
[2026-04-17 01:10:34] local.INFO: DEBUG: GPS processor result {"connection_id":46224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:10:34] local.INFO: GPS data processed {"connection_id":46224,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:10:34] local.INFO: Acknowledgment sent {"connection_id":46224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:10:45] local.INFO: TCP Data received {"connection_id":45474,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ceb6800100000000000000000000000000..."} 
[2026-04-17 01:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ceb6800100000000000000000000000000..."} 
[2026-04-17 01:10:45] local.INFO: Processing buffer {"connection_id":45474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ceb6800100000000000000000000000000..."} 
[2026-04-17 01:10:45] local.INFO: Packet analysis {"connection_id":45474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ce"} 
[2026-04-17 01:10:45] local.INFO: Extracted packet for processing {"connection_id":45474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ce"} 
[2026-04-17 01:10: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-04-17 01: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-04-17 01:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750293504001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:10:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1689412779367292928,"note":"Value kept but may cause issues"} 
[2026-04-17 01:10:45] 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-04-17 01:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776368400000,"timestamp_ms":1776368400000,"timestamp_seconds":1776368400,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ceb680"} 
[2026-04-17 01:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:10: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-04-17 01: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-17 01:10: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-04-17 01: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-04-17 01:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":45474,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:10:45] local.INFO: GPS data processed {"connection_id":45474,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:10:45] local.INFO: Acknowledgment sent {"connection_id":45474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:10:52] local.INFO: TCP Data received {"connection_id":46225,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:10:52] local.INFO: Processing buffer {"connection_id":46225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:10:52] local.INFO: IMEI packet received {"connection_id":46225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":46225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:10:55] local.INFO: TCP Data received {"connection_id":46225,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:10:55] local.INFO: Processing buffer {"connection_id":46225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:10:55] local.INFO: IMEI packet received {"connection_id":46225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":46225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:10:57] local.INFO: TCP Data received {"connection_id":46225,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:10:57] local.INFO: Processing buffer {"connection_id":46225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:10:57] local.INFO: IMEI packet received {"connection_id":46225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":46225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:10:59] local.INFO: TCP Data received {"connection_id":46225,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cec238012d4806c0065d47a8000f009a32..."} 
[2026-04-17 01:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cec238012d4806c0065d47a8000f009a32..."} 
[2026-04-17 01:10:59] local.INFO: Processing buffer {"connection_id":46225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cec238012d4806c0065d47a8000f009a32..."} 
[2026-04-17 01:10:59] local.INFO: Packet analysis {"connection_id":46225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ce"} 
[2026-04-17 01:10:59] local.INFO: Extracted packet for processing {"connection_id":46225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ce"} 
[2026-04-17 01:10:59] local.INFO: GPS Element Parsed {"raw_longitude":759695040,"raw_latitude":106776488,"longitude_deg":75.969504,"latitude_deg":10.6776488,"altitude":15,"angle":154,"satellites":50,"speed":52,"hex_longitude":"2d4806c0","hex_latitude":"065d47a8","is_valid_coordinates":true} 
[2026-04-17 01:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750309376001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273434411385487360,"note":"Value kept but may cause issues"} 
[2026-04-17 01:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5185754260765622272,"note":"Value kept but may cause issues"} 
[2026-04-17 01:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,114,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776368403000,"timestamp_ms":1776368403000,"timestamp_seconds":1776368403,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cec238"} 
[2026-04-17 01:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 01:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750309376001,"66":27539,"114":206,"78":62464,"24":52,"16":273434411385487360,"45":5185754260765622272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,114,78,24,16,45]} 
[2026-04-17 01:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750309376001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:10:59] local.INFO: Unknown IO ID detected {"io_id":114,"value":206,"description":"Unknown IO ID 114"} 
[2026-04-17 01:10:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273434411385487360,"km_value":273434411385487.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5185754260765622272,"description":"Unknown IO ID 45"} 
[2026-04-17 01:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750309376001,"power":27539,"unknown_114":206,"unknown_78":62464,"ignition":52,"odometer":null,"unknown_45":5185754260765622272}} 
[2026-04-17 01:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":46225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:10:59] local.INFO: GPS data processed {"connection_id":46225,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:10:59] local.INFO: Acknowledgment sent {"connection_id":46225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:11:03] local.INFO: TCP Data received {"connection_id":46225,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cedd90012d481680065d2680000e009c34..."} 
[2026-04-17 01:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cedd90012d481680065d2680000e009c34..."} 
[2026-04-17 01:11:03] local.INFO: Processing buffer {"connection_id":46225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cedd90012d481680065d2680000e009c34..."} 
[2026-04-17 01:11:03] local.INFO: Packet analysis {"connection_id":46225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ce"} 
[2026-04-17 01:11:03] local.INFO: Extracted packet for processing {"connection_id":46225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ce"} 
[2026-04-17 01:11:03] local.INFO: GPS Element Parsed {"raw_longitude":759699072,"raw_latitude":106768000,"longitude_deg":75.9699072,"latitude_deg":10.6768,"altitude":14,"angle":156,"satellites":52,"speed":55,"hex_longitude":"2d481680","hex_latitude":"065d2680","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750311168001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273434866652020736,"note":"Value kept but may cause issues"} 
[2026-04-17 01:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5190046754158389248,"note":"Value kept but may cause issues"} 
[2026-04-17 01:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776368410000,"timestamp_ms":1776368410000,"timestamp_seconds":1776368410,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cedd90"} 
[2026-04-17 01:11:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:11: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-04-17 01:11:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-17 01:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:11:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:11:03] 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-04-17 01:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750311168001,"66":27571,"65":206,"78":62464,"24":55,"16":273434866652020736,"45":5190046754158389248},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-04-17 01:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750311168001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:11:03] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-04-17 01:11:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273434866652020736,"km_value":273434866652020.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5190046754158389248,"description":"Unknown IO ID 45"} 
[2026-04-17 01:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750311168001,"power":27571,"unknown_65":206,"unknown_78":62464,"ignition":55,"odometer":null,"unknown_45":5190046754158389248}} 
[2026-04-17 01:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":46225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:11:03] local.INFO: GPS data processed {"connection_id":46225,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:11:03] local.INFO: Acknowledgment sent {"connection_id":46225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:11:11] local.INFO: TCP Data received {"connection_id":45475,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:11:11] local.INFO: Processing buffer {"connection_id":45475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:11:11] local.INFO: IMEI packet received {"connection_id":45475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":45475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:11:13] local.INFO: TCP Data received {"connection_id":45475,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:11:13] local.INFO: Processing buffer {"connection_id":45475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:11:13] local.INFO: IMEI packet received {"connection_id":45475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":45475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:11:14] local.INFO: TCP Data received {"connection_id":45475,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ce0aa0012ce8be00072ea778000b008235..."} 
[2026-04-17 01:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ce0aa0012ce8be00072ea778000b008235..."} 
[2026-04-17 01:11:14] local.INFO: Processing buffer {"connection_id":45475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ce0aa0012ce8be00072ea778000b008235..."} 
[2026-04-17 01:11:14] local.INFO: Packet analysis {"connection_id":45475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ce"} 
[2026-04-17 01:11:14] local.INFO: Extracted packet for processing {"connection_id":45475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ce"} 
[2026-04-17 01:11:14] local.INFO: GPS Element Parsed {"raw_longitude":753450496,"raw_latitude":120498040,"longitude_deg":75.3450496,"latitude_deg":12.049804,"altitude":11,"angle":130,"satellites":53,"speed":29,"hex_longitude":"2ce8be00","hex_latitude":"072ea778","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:11:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:11:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,12,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:11:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776368356000,"timestamp_ms":1776368356000,"timestamp_seconds":1776368356,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ce0aa0"} 
[2026-04-17 01:11:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:11:14] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 01:11:14] 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-04-17 01: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-04-17 01:11:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:11:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:11:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:11:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:11:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:11:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:11:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:11:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:11:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27887,"12":206,"2":56832,"24":29,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16]} 
[2026-04-17 01:11:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:11:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:11:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:11:14] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 01:11:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:11:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27887,"unknown_12":206,"power_alt":56832,"ignition":29,"odometer":null}} 
[2026-04-17 01:11:14] local.INFO: DEBUG: GPS processor result {"connection_id":45475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18419,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:11:14] local.INFO: GPS data processed {"connection_id":45475,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:11:14] local.INFO: Acknowledgment sent {"connection_id":45475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:11:15] local.INFO: TCP Data received {"connection_id":45475,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ce5ca8012ce8f300072e7f00000b007e34..."} 
[2026-04-17 01:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ce5ca8012ce8f300072e7f00000b007e34..."} 
[2026-04-17 01:11:15] local.INFO: Processing buffer {"connection_id":45475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ce5ca8012ce8f300072e7f00000b007e34..."} 
[2026-04-17 01:11:15] local.INFO: Packet analysis {"connection_id":45475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ce"} 
[2026-04-17 01:11:15] local.INFO: Extracted packet for processing {"connection_id":45475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ce"} 
[2026-04-17 01:11:15] local.INFO: GPS Element Parsed {"raw_longitude":753464064,"raw_latitude":120487680,"longitude_deg":75.3464064,"latitude_deg":12.048768,"altitude":11,"angle":126,"satellites":52,"speed":0,"hex_longitude":"2ce8f300","hex_latitude":"072e7f00","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750299136001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:11:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1675901980487747584,"note":"Value kept but may cause issues"} 
[2026-04-17 01:11:15] 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-04-17 01:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776368377000,"timestamp_ms":1776368377000,"timestamp_seconds":1776368377,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ce5ca8"} 
[2026-04-17 01:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:11: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-04-17 01: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 01:11:15] 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-04-17 01: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-04-17 01:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":45475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":45475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":45475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750299136001,"66":27908,"12":206,"2":56832,"24":0,"16":106618783551979520,"44":-1675901980487747584},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-04-17 01:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750299136001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:11:15] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 01:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:11:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1675901980487747584,"description":"Unknown IO ID 44"} 
[2026-04-17 01:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750299136001,"power":27908,"unknown_12":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1675901980487747584}} 
[2026-04-17 01:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":45475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18420,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:11:15] local.INFO: GPS data processed {"connection_id":45475,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:11:15] local.INFO: Acknowledgment sent {"connection_id":45475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:11:34] local.INFO: TCP Data received {"connection_id":46225,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cef8e8012d482580065d02d0000b00a033..."} 
[2026-04-17 01:11:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cef8e8012d482580065d02d0000b00a033..."} 
[2026-04-17 01:11:34] local.INFO: Processing buffer {"connection_id":46225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cef8e8012d482580065d02d0000b00a033..."} 
[2026-04-17 01:11:34] local.INFO: Packet analysis {"connection_id":46225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ce"} 
[2026-04-17 01:11:34] local.INFO: Extracted packet for processing {"connection_id":46225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ce"} 
[2026-04-17 01:11:34] local.INFO: GPS Element Parsed {"raw_longitude":759702912,"raw_latitude":106758864,"longitude_deg":75.9702912,"latitude_deg":10.6758864,"altitude":11,"angle":160,"satellites":51,"speed":56,"hex_longitude":"2d482580","hex_latitude":"065d02d0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:11:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750312960001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:11:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273435343393390592,"note":"Value kept but may cause issues"} 
[2026-04-17 01:11:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5194479985039409152,"note":"Value kept but may cause issues"} 
[2026-04-17 01:11:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:11:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776368417000,"timestamp_ms":1776368417000,"timestamp_seconds":1776368417,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cef8e8"} 
[2026-04-17 01:11:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:11: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-04-17 01: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":179,"data_length":795,"current_offset":136} 
[2026-04-17 01:11:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:11:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:11:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:11:34] local.INFO: Teltonika packet parsed successfully {"connection_id":46225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:11:34] local.INFO: Passing IMEI to GPS processor {"connection_id":46225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:11:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":46225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:11:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:11:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:11:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:11:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750312960001,"66":27332,"65":206,"78":62464,"24":56,"16":273435343393390592,"45":5194479985039409152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-04-17 01:11:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:11:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:11:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750312960001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:11:34] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-04-17 01:11:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:11:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273435343393390592,"km_value":273435343393390.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:11:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5194479985039409152,"description":"Unknown IO ID 45"} 
[2026-04-17 01:11:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750312960001,"power":27332,"unknown_65":206,"unknown_78":62464,"ignition":56,"odometer":null,"unknown_45":5194479985039409152}} 
[2026-04-17 01:11:34] local.INFO: DEBUG: GPS processor result {"connection_id":46225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:11:34] local.INFO: GPS data processed {"connection_id":46225,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:11:34] local.INFO: Acknowledgment sent {"connection_id":46225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:11:47] local.INFO: TCP Data received {"connection_id":45475,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cea2f8012ce92f80072e69780009006235..."} 
[2026-04-17 01:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cea2f8012ce92f80072e69780009006235..."} 
[2026-04-17 01:11:47] local.INFO: Processing buffer {"connection_id":45475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cea2f8012ce92f80072e69780009006235..."} 
[2026-04-17 01:11:47] local.INFO: Packet analysis {"connection_id":45475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ce"} 
[2026-04-17 01:11:47] local.INFO: Extracted packet for processing {"connection_id":45475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ce"} 
[2026-04-17 01:11:47] local.INFO: GPS Element Parsed {"raw_longitude":753479552,"raw_latitude":120482168,"longitude_deg":75.3479552,"latitude_deg":12.0482168,"altitude":9,"angle":98,"satellites":53,"speed":33,"hex_longitude":"2ce92f80","hex_latitude":"072e6978","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750304512001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:11:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1660983806724734976,"note":"Value kept but may cause issues"} 
[2026-04-17 01:11:47] 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-04-17 01:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776368395000,"timestamp_ms":1776368395000,"timestamp_seconds":1776368395,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cea2f8"} 
[2026-04-17 01:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:11: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-04-17 01: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 01:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":45475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":45475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":45475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750304512001,"66":28050,"12":206,"2":56832,"24":33,"16":106618783551979520,"44":-1660983806724734976},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-04-17 01:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750304512001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:11:47] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 01:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:11:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1660983806724734976,"description":"Unknown IO ID 44"} 
[2026-04-17 01:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750304512001,"power":28050,"unknown_12":206,"power_alt":56832,"ignition":33,"odometer":null,"unknown_44":-1660983806724734976}} 
[2026-04-17 01:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":45475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:11:47] local.INFO: GPS data processed {"connection_id":45475,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:11:47] local.INFO: Acknowledgment sent {"connection_id":45475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:11:57] local.INFO: TCP Data received {"connection_id":45411,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:11:57] local.INFO: Processing buffer {"connection_id":45411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:11:57] local.INFO: IMEI packet received {"connection_id":45411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":45411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:11:58] local.INFO: TCP Data received {"connection_id":45411,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:11:58] local.INFO: Processing buffer {"connection_id":45411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:11:58] local.INFO: IMEI packet received {"connection_id":45411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":45411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:12:02] local.INFO: TCP Data received {"connection_id":45411,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45411,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:12:02] local.INFO: Processing buffer {"connection_id":45411,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:12:02] local.INFO: IMEI packet received {"connection_id":45411,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:12:02] local.INFO: IMEI acknowledgment sent {"connection_id":45411,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:12:04] local.INFO: TCP Data received {"connection_id":45411,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cf1440012d483240065cdd00000900a233..."} 
[2026-04-17 01:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cf1440012d483240065cdd00000900a233..."} 
[2026-04-17 01:12:04] local.INFO: Processing buffer {"connection_id":45411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cf1440012d483240065cdd00000900a233..."} 
[2026-04-17 01:12:04] local.INFO: Packet analysis {"connection_id":45411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97cf"} 
[2026-04-17 01:12:04] local.INFO: Extracted packet for processing {"connection_id":45411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97cf"} 
[2026-04-17 01:12:04] local.INFO: GPS Element Parsed {"raw_longitude":759706176,"raw_latitude":106749184,"longitude_deg":75.9706176,"latitude_deg":10.6749184,"altitude":9,"angle":162,"satellites":51,"speed":59,"hex_longitude":"2d483240","hex_latitude":"065cdd00","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750314752001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273435837314629632,"note":"Value kept but may cause issues"} 
[2026-04-17 01:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5198702109687730176,"note":"Value kept but may cause issues"} 
[2026-04-17 01:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776368424000,"timestamp_ms":1776368424000,"timestamp_seconds":1776368424,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cf1440"} 
[2026-04-17 01:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 01:12:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":45411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":45411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":45411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750314752001,"66":27343,"65":206,"78":62464,"24":59,"16":273435837314629632,"45":5198702109687730176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-04-17 01:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750314752001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:12:04] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-04-17 01:12:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273435837314629632,"km_value":273435837314629.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5198702109687730176,"description":"Unknown IO ID 45"} 
[2026-04-17 01:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750314752001,"power":27343,"unknown_65":206,"unknown_78":62464,"ignition":59,"odometer":null,"unknown_45":5198702109687730176}} 
[2026-04-17 01:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":45411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:12:04] local.INFO: GPS data processed {"connection_id":45411,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:12:04] local.INFO: Acknowledgment sent {"connection_id":45411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:12:05] local.INFO: TCP Data received {"connection_id":45411,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cf2bb0012d483c40065cbb40000800a532..."} 
[2026-04-17 01:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cf2bb0012d483c40065cbb40000800a532..."} 
[2026-04-17 01:12:05] local.INFO: Processing buffer {"connection_id":45411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cf2bb0012d483c40065cbb40000800a532..."} 
[2026-04-17 01:12:05] local.INFO: Packet analysis {"connection_id":45411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97cf"} 
[2026-04-17 01:12:05] local.INFO: Extracted packet for processing {"connection_id":45411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97cf"} 
[2026-04-17 01:12:05] local.INFO: GPS Element Parsed {"raw_longitude":759708736,"raw_latitude":106740544,"longitude_deg":75.9708736,"latitude_deg":10.6740544,"altitude":8,"angle":165,"satellites":50,"speed":59,"hex_longitude":"2d483c40","hex_latitude":"065cbb40","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750316544001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273436275401293824,"note":"Value kept but may cause issues"} 
[2026-04-17 01:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5202290915638312960,"note":"Value kept but may cause issues"} 
[2026-04-17 01:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776368430000,"timestamp_ms":1776368430000,"timestamp_seconds":1776368430,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cf2bb0"} 
[2026-04-17 01:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:12: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-04-17 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 01:12: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-04-17 01: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-04-17 01:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":45411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":45411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":45411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:12:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750316544001,"66":27365,"65":206,"78":62464,"24":59,"16":273436275401293824,"45":5202290915638312960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-04-17 01:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750316544001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:12:05] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-04-17 01:12:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273436275401293824,"km_value":273436275401293.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5202290915638312960,"description":"Unknown IO ID 45"} 
[2026-04-17 01:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750316544001,"power":27365,"unknown_65":206,"unknown_78":62464,"ignition":59,"odometer":null,"unknown_45":5202290915638312960}} 
[2026-04-17 01:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":45411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:12:05] local.INFO: GPS data processed {"connection_id":45411,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:12:05] local.INFO: Acknowledgment sent {"connection_id":45411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:12:06] local.INFO: TCP Data received {"connection_id":45476,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:12:06] local.INFO: Processing buffer {"connection_id":45476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:12:06] local.INFO: IMEI packet received {"connection_id":45476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":45476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:12:07] local.INFO: TCP Data received {"connection_id":45411,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cf4708012d484500065c9508000900a733..."} 
[2026-04-17 01:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cf4708012d484500065c9508000900a733..."} 
[2026-04-17 01:12:07] local.INFO: Processing buffer {"connection_id":45411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cf4708012d484500065c9508000900a733..."} 
[2026-04-17 01:12:07] local.INFO: Packet analysis {"connection_id":45411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97cf"} 
[2026-04-17 01:12:07] local.INFO: Extracted packet for processing {"connection_id":45411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97cf"} 
[2026-04-17 01:12:07] local.INFO: GPS Element Parsed {"raw_longitude":759710976,"raw_latitude":106730760,"longitude_deg":75.9710976,"latitude_deg":10.673076,"altitude":9,"angle":167,"satellites":51,"speed":55,"hex_longitude":"2d484500","hex_latitude":"065c9508","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750318080001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273436760732598272,"note":"Value kept but may cause issues"} 
[2026-04-17 01:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5205105665403207680,"note":"Value kept but may cause issues"} 
[2026-04-17 01:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776368437000,"timestamp_ms":1776368437000,"timestamp_seconds":1776368437,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cf4708"} 
[2026-04-17 01:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 01:12:07] 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-04-17 01: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-04-17 01:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45411,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:12:07] 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-04-17 01:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750318080001,"66":27376,"65":206,"78":62464,"24":55,"16":273436760732598272,"45":5205105665403207680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,78,24,16,45]} 
[2026-04-17 01:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750318080001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:12:07] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-04-17 01:12:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273436760732598272,"km_value":273436760732598.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5205105665403207680,"description":"Unknown IO ID 45"} 
[2026-04-17 01:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750318080001,"power":27376,"unknown_65":206,"unknown_78":62464,"ignition":55,"odometer":null,"unknown_45":5205105665403207680}} 
[2026-04-17 01:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":45411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18425,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:12:07] local.INFO: GPS data processed {"connection_id":45411,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:12:07] local.INFO: Acknowledgment sent {"connection_id":45411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:12:11] local.INFO: TCP Data received {"connection_id":45476,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:12:11] local.INFO: Processing buffer {"connection_id":45476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:12:11] local.INFO: IMEI packet received {"connection_id":45476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":45476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:12:12] local.INFO: TCP Data received {"connection_id":45476,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ceed30012ce97500072e5de0000a006d35..."} 
[2026-04-17 01:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ceed30012ce97500072e5de0000a006d35..."} 
[2026-04-17 01:12:12] local.INFO: Processing buffer {"connection_id":45476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ceed30012ce97500072e5de0000a006d35..."} 
[2026-04-17 01:12:12] local.INFO: Packet analysis {"connection_id":45476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ce"} 
[2026-04-17 01:12:12] local.INFO: Extracted packet for processing {"connection_id":45476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ce"} 
[2026-04-17 01:12:12] local.INFO: GPS Element Parsed {"raw_longitude":753497344,"raw_latitude":120479200,"longitude_deg":75.3497344,"latitude_deg":12.04792,"altitude":10,"angle":109,"satellites":53,"speed":38,"hex_longitude":"2ce97500","hex_latitude":"072e5de0","is_valid_coordinates":true} 
[2026-04-17 01:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750309120001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:12:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1643954570635151360,"note":"Value kept but may cause issues"} 
[2026-04-17 01:12:12] 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-04-17 01:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776368414000,"timestamp_ms":1776368414000,"timestamp_seconds":1776368414,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ceed30"} 
[2026-04-17 01:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:12: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-04-17 01:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-17 01:12:12] 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-04-17 01:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750309120001,"66":28104,"12":206,"2":56832,"24":38,"16":106618783551979520,"44":-1643954570635151360},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-04-17 01:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750309120001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:12:12] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 01:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:12:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1643954570635151360,"description":"Unknown IO ID 44"} 
[2026-04-17 01:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750309120001,"power":28104,"unknown_12":206,"power_alt":56832,"ignition":38,"odometer":null,"unknown_44":-1643954570635151360}} 
[2026-04-17 01:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":45476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18426,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:12:12] local.INFO: GPS data processed {"connection_id":45476,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:12:12] local.INFO: Acknowledgment sent {"connection_id":45476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:12:44] local.INFO: TCP Data received {"connection_id":45476,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cf3f38012ce99c80072e2c60000a009331..."} 
[2026-04-17 01:12:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cf3f38012ce99c80072e2c60000a009331..."} 
[2026-04-17 01:12:44] local.INFO: Processing buffer {"connection_id":45476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cf3f38012ce99c80072e2c60000a009331..."} 
[2026-04-17 01:12:44] local.INFO: Packet analysis {"connection_id":45476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97cf"} 
[2026-04-17 01:12:44] local.INFO: Extracted packet for processing {"connection_id":45476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97cf"} 
[2026-04-17 01:12:44] local.INFO: GPS Element Parsed {"raw_longitude":753507456,"raw_latitude":120466528,"longitude_deg":75.3507456,"latitude_deg":12.0466528,"altitude":10,"angle":147,"satellites":49,"speed":29,"hex_longitude":"2ce99c80","hex_latitude":"072e2c60","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:12:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750313984001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:12:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:12:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1624392059754520576,"note":"Value kept but may cause issues"} 
[2026-04-17 01:12:44] 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-04-17 01:12:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776368435000,"timestamp_ms":1776368435000,"timestamp_seconds":1776368435,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cf3f38"} 
[2026-04-17 01:12:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:12:44] 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-04-17 01: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-17 01:12:44] 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-04-17 01: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-04-17 01:12:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:12:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:12:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:12:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:12:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:12:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:12:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750313984001,"66":27821,"12":206,"2":56832,"24":29,"16":106618783551979520,"44":-1624392059754520576},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-04-17 01:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750313984001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:12:44] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 01:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:12:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1624392059754520576,"description":"Unknown IO ID 44"} 
[2026-04-17 01:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750313984001,"power":27821,"unknown_12":206,"power_alt":56832,"ignition":29,"odometer":null,"unknown_44":-1624392059754520576}} 
[2026-04-17 01:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":45476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18427,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:12:44] local.INFO: GPS data processed {"connection_id":45476,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:12:44] local.INFO: Acknowledgment sent {"connection_id":45476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:12:57] local.INFO: TCP Data received {"connection_id":45412,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:12:57] local.INFO: Processing buffer {"connection_id":45412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:12:57] local.INFO: IMEI packet received {"connection_id":45412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":45412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:13:00] local.INFO: TCP Data received {"connection_id":45412,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:13:00] local.INFO: Processing buffer {"connection_id":45412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:13:00] local.INFO: IMEI packet received {"connection_id":45412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":45412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:13:03] local.INFO: TCP Data received {"connection_id":45412,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 01:13:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45412,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 01:13:03] local.INFO: Processing buffer {"connection_id":45412,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 01:13:03] local.INFO: IMEI packet received {"connection_id":45412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:13:03] local.INFO: IMEI acknowledgment sent {"connection_id":45412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:13:06] local.INFO: TCP Data received {"connection_id":46226,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:13:06] local.INFO: Processing buffer {"connection_id":46226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:13:06] local.INFO: IMEI packet received {"connection_id":46226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":46226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:13:07] local.INFO: TCP Data received {"connection_id":46226,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:13:07] local.INFO: Processing buffer {"connection_id":46226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:13:07] local.INFO: IMEI packet received {"connection_id":46226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:13:07] local.INFO: IMEI acknowledgment sent {"connection_id":46226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:13:11] local.INFO: TCP Data received {"connection_id":46226,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46226,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:13:11] local.INFO: Processing buffer {"connection_id":46226,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:13:11] local.INFO: IMEI packet received {"connection_id":46226,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":46226,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:13:13] local.INFO: TCP Data received {"connection_id":46226,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cf3f38012ce99c80072e2c60000a009331..."} 
[2026-04-17 01:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cf3f38012ce99c80072e2c60000a009331..."} 
[2026-04-17 01:13:13] local.INFO: Processing buffer {"connection_id":46226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cf3f38012ce99c80072e2c60000a009331..."} 
[2026-04-17 01:13:13] local.INFO: Packet analysis {"connection_id":46226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97cf"} 
[2026-04-17 01:13:13] local.INFO: Extracted packet for processing {"connection_id":46226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97cf"} 
[2026-04-17 01:13:13] local.INFO: GPS Element Parsed {"raw_longitude":753507456,"raw_latitude":120466528,"longitude_deg":75.3507456,"latitude_deg":12.0466528,"altitude":10,"angle":147,"satellites":49,"speed":29,"hex_longitude":"2ce99c80","hex_latitude":"072e2c60","is_valid_coordinates":true} 
[2026-04-17 01:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750319360001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:13:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1613273798177693696,"note":"Value kept but may cause issues"} 
[2026-04-17 01:13:13] 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-04-17 01:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776368435000,"timestamp_ms":1776368435000,"timestamp_seconds":1776368435,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cf3f38"} 
[2026-04-17 01:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:13:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 01:13:13] 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-04-17 01:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750319360001,"66":27821,"12":206,"2":56832,"24":29,"16":106618783551979520,"44":-1613273798177693696},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-04-17 01:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750319360001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:13:13] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 01:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:13:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1613273798177693696,"description":"Unknown IO ID 44"} 
[2026-04-17 01:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750319360001,"power":27821,"unknown_12":206,"power_alt":56832,"ignition":29,"odometer":null,"unknown_44":-1613273798177693696}} 
[2026-04-17 01:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":46226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18428,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:13:13] local.INFO: GPS data processed {"connection_id":46226,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:13:13] local.INFO: Acknowledgment sent {"connection_id":46226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:13:45] local.INFO: TCP Data received {"connection_id":46226,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cf8d58012ce9d580072e0d58000c006431..."} 
[2026-04-17 01:13:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cf8d58012ce9d580072e0d58000c006431..."} 
[2026-04-17 01:13:45] local.INFO: Processing buffer {"connection_id":46226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cf8d58012ce9d580072e0d58000c006431..."} 
[2026-04-17 01:13:45] local.INFO: Packet analysis {"connection_id":46226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97cf"} 
[2026-04-17 01:13:45] local.INFO: Extracted packet for processing {"connection_id":46226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97cf"} 
[2026-04-17 01:13:45] local.INFO: GPS Element Parsed {"raw_longitude":753522048,"raw_latitude":120458584,"longitude_deg":75.3522048,"latitude_deg":12.0458584,"altitude":12,"angle":100,"satellites":49,"speed":32,"hex_longitude":"2ce9d580","hex_latitude":"072e0d58","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:13:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750319360001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:13:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:13:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1613273798177693696,"note":"Value kept but may cause issues"} 
[2026-04-17 01:13:45] 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-04-17 01:13:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776368455000,"timestamp_ms":1776368455000,"timestamp_seconds":1776368455,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cf8d58"} 
[2026-04-17 01:13:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:13: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-04-17 01: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 01:13:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:13:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:13:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:13:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:13:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:13:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46226,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:13:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:13:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:13:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:13:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750319360001,"66":28082,"12":206,"2":56832,"24":32,"16":106618783551979520,"44":-1613273798177693696},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-04-17 01:13:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:13:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:13:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750319360001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:13:45] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 01:13:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:13:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1613273798177693696,"description":"Unknown IO ID 44"} 
[2026-04-17 01:13:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750319360001,"power":28082,"unknown_12":206,"power_alt":56832,"ignition":32,"odometer":null,"unknown_44":-1613273798177693696}} 
[2026-04-17 01:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":46226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18429,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:13:45] local.INFO: GPS data processed {"connection_id":46226,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:13:45] local.INFO: Acknowledgment sent {"connection_id":46226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:14:11] local.INFO: TCP Data received {"connection_id":45413,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:14:11] local.INFO: Processing buffer {"connection_id":45413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:14:11] local.INFO: IMEI packet received {"connection_id":45413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":45413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:14:12] local.INFO: TCP Data received {"connection_id":45413,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:14:12] local.INFO: Processing buffer {"connection_id":45413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:14:12] local.INFO: IMEI packet received {"connection_id":45413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":45413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:14:16] local.INFO: TCP Data received {"connection_id":45413,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:14:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:14:16] local.INFO: Processing buffer {"connection_id":45413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:14:16] local.INFO: IMEI packet received {"connection_id":45413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:14:16] local.INFO: IMEI acknowledgment sent {"connection_id":45413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:14:19] local.INFO: TCP Data received {"connection_id":45413,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97cfdf60012cea0b80072e0cd00015006132..."} 
[2026-04-17 01:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97cfdf60012cea0b80072e0cd00015006132..."} 
[2026-04-17 01:14:19] local.INFO: Processing buffer {"connection_id":45413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97cfdf60012cea0b80072e0cd00015006132..."} 
[2026-04-17 01:14:19] local.INFO: Packet analysis {"connection_id":45413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97cf"} 
[2026-04-17 01:14:19] local.INFO: Extracted packet for processing {"connection_id":45413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97cf"} 
[2026-04-17 01:14:19] local.INFO: GPS Element Parsed {"raw_longitude":753535872,"raw_latitude":120458448,"longitude_deg":75.3535872,"latitude_deg":12.0458448,"altitude":21,"angle":97,"satellites":50,"speed":20,"hex_longitude":"2cea0b80","hex_latitude":"072e0cd0","is_valid_coordinates":true} 
[2026-04-17 01:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:14:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750324480001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:14:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:14:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1597229724507219968,"note":"Value kept but may cause issues"} 
[2026-04-17 01:14:19] 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-04-17 01:14:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776368476000,"timestamp_ms":1776368476000,"timestamp_seconds":1776368476,"priority":1,"record_length":96,"hex_timestamp":"0000019d97cfdf60"} 
[2026-04-17 01:14:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:14:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:14:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 01:14:19] 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-04-17 01:14:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:14:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:14:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:14:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:14:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:14:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:14:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:14:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:14:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:14:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750324480001,"66":27832,"12":206,"2":56832,"24":20,"16":106618783551979520,"44":-1597229724507219968},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-04-17 01:14:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:14:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:14:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750324480001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:14:19] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 01:14:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:14:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1597229724507219968,"description":"Unknown IO ID 44"} 
[2026-04-17 01:14:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750324480001,"power":27832,"unknown_12":206,"power_alt":56832,"ignition":20,"odometer":null,"unknown_44":-1597229724507219968}} 
[2026-04-17 01:14:19] local.INFO: DEBUG: GPS processor result {"connection_id":45413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18430,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:14:19] local.INFO: GPS data processed {"connection_id":45413,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:14:19] local.INFO: Acknowledgment sent {"connection_id":45413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:14:37] local.INFO: TCP Data received {"connection_id":45413,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d03168012cea0b80072e0cd00015006132..."} 
[2026-04-17 01:14:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d03168012cea0b80072e0cd00015006132..."} 
[2026-04-17 01:14:37] local.INFO: Processing buffer {"connection_id":45413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d03168012cea0b80072e0cd00015006132..."} 
[2026-04-17 01:14:37] local.INFO: Packet analysis {"connection_id":45413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d0"} 
[2026-04-17 01:14:37] local.INFO: Extracted packet for processing {"connection_id":45413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d0"} 
[2026-04-17 01:14:37] local.INFO: GPS Element Parsed {"raw_longitude":753535872,"raw_latitude":120458448,"longitude_deg":75.3535872,"latitude_deg":12.0458448,"altitude":21,"angle":97,"satellites":50,"speed":0,"hex_longitude":"2cea0b80","hex_latitude":"072e0cd0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:14:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750329856001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:14:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:14:37] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582030075764879360,"note":"Value kept but may cause issues"} 
[2026-04-17 01:14: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-04-17 01:14:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776368497000,"timestamp_ms":1776368497000,"timestamp_seconds":1776368497,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d03168"} 
[2026-04-17 01:14:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:14:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-17 01:14: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-04-17 01: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-04-17 01:14:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:14:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:14:37] local.INFO: Teltonika packet parsed successfully {"connection_id":45413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:14:37] local.INFO: Passing IMEI to GPS processor {"connection_id":45413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:14:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":45413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:14:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:14:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:14:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:14:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750329856001,"66":27832,"12":206,"2":56832,"24":0,"16":106618783551979520,"44":-1582030075764879360},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-04-17 01:14:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:14:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:14:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750329856001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:14:37] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 01:14:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:14:37] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582030075764879360,"description":"Unknown IO ID 44"} 
[2026-04-17 01:14:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750329856001,"power":27832,"unknown_12":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1582030075764879360}} 
[2026-04-17 01:14:37] local.INFO: DEBUG: GPS processor result {"connection_id":45413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18431,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:14:37] local.INFO: GPS data processed {"connection_id":45413,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:14:37] local.INFO: Acknowledgment sent {"connection_id":45413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:14:39] local.INFO: TCP Data received {"connection_id":45413,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d077b8012cea2580072deec0001d00c52f..."} 
[2026-04-17 01:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d077b8012cea2580072deec0001d00c52f..."} 
[2026-04-17 01:14:39] local.INFO: Processing buffer {"connection_id":45413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d077b8012cea2580072deec0001d00c52f..."} 
[2026-04-17 01:14:39] local.INFO: Packet analysis {"connection_id":45413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d0"} 
[2026-04-17 01:14:39] local.INFO: Extracted packet for processing {"connection_id":45413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d0"} 
[2026-04-17 01:14:39] local.INFO: GPS Element Parsed {"raw_longitude":753542528,"raw_latitude":120450752,"longitude_deg":75.3542528,"latitude_deg":12.0450752,"altitude":29,"angle":197,"satellites":47,"speed":14,"hex_longitude":"2cea2580","hex_latitude":"072deec0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750335232001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:14:39] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582030075764879360,"note":"Value kept but may cause issues"} 
[2026-04-17 01:14: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-04-17 01:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776368515000,"timestamp_ms":1776368515000,"timestamp_seconds":1776368515,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d077b8"} 
[2026-04-17 01:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:14:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":184,"data_length":795,"current_offset":136} 
[2026-04-17 01:14: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-04-17 01: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-04-17 01:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":45413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":45413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":45413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750335232001,"66":27995,"12":206,"2":56832,"24":14,"16":106618783551979520,"44":-1582030075764879360},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-04-17 01:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750335232001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:14:39] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 01:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:14:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582030075764879360,"description":"Unknown IO ID 44"} 
[2026-04-17 01:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750335232001,"power":27995,"unknown_12":206,"power_alt":56832,"ignition":14,"odometer":null,"unknown_44":-1582030075764879360}} 
[2026-04-17 01:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":45413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18432,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:14:39] local.INFO: GPS data processed {"connection_id":45413,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:14:39] local.INFO: Acknowledgment sent {"connection_id":45413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:15:06] local.INFO: TCP Data received {"connection_id":46227,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:15:06] local.INFO: Processing buffer {"connection_id":46227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:15:06] local.INFO: IMEI packet received {"connection_id":46227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":46227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:15:11] local.INFO: TCP Data received {"connection_id":46227,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46227,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:15:11] local.INFO: Processing buffer {"connection_id":46227,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:15:11] local.INFO: IMEI packet received {"connection_id":46227,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":46227,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:15:12] local.INFO: TCP Data received {"connection_id":46227,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d0c9c0012cea2580072deec0001d00c52f..."} 
[2026-04-17 01:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d0c9c0012cea2580072deec0001d00c52f..."} 
[2026-04-17 01:15:12] local.INFO: Processing buffer {"connection_id":46227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d0c9c0012cea2580072deec0001d00c52f..."} 
[2026-04-17 01:15:12] local.INFO: Packet analysis {"connection_id":46227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d0"} 
[2026-04-17 01:15:12] local.INFO: Extracted packet for processing {"connection_id":46227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d0"} 
[2026-04-17 01:15:12] local.INFO: GPS Element Parsed {"raw_longitude":753542528,"raw_latitude":120450752,"longitude_deg":75.3542528,"latitude_deg":12.0450752,"altitude":29,"angle":197,"satellites":47,"speed":0,"hex_longitude":"2cea2580","hex_latitude":"072deec0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750339840001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:15:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1574711726372372480,"note":"Value kept but may cause issues"} 
[2026-04-17 01:15:12] 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-04-17 01:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776368536000,"timestamp_ms":1776368536000,"timestamp_seconds":1776368536,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d0c9c0"} 
[2026-04-17 01:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:15: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-04-17 01: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 01:15: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-04-17 01: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-04-17 01:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750339840001,"66":27887,"12":206,"2":56832,"24":0,"16":106618783551979520,"44":-1574711726372372480},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-04-17 01:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750339840001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:15:12] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 01:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:15:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1574711726372372480,"description":"Unknown IO ID 44"} 
[2026-04-17 01:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750339840001,"power":27887,"unknown_12":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1574711726372372480}} 
[2026-04-17 01:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":46227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18433,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:15:12] local.INFO: GPS data processed {"connection_id":46227,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:15:12] local.INFO: Acknowledgment sent {"connection_id":46227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:15:45] local.INFO: TCP Data received {"connection_id":46227,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d0fc88012cea3700072dcac80026005f35..."} 
[2026-04-17 01:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d0fc88012cea3700072dcac80026005f35..."} 
[2026-04-17 01:15:45] local.INFO: Processing buffer {"connection_id":46227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d0fc88012cea3700072dcac80026005f35..."} 
[2026-04-17 01:15:45] local.INFO: Packet analysis {"connection_id":46227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d0"} 
[2026-04-17 01:15:45] local.INFO: Extracted packet for processing {"connection_id":46227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d0"} 
[2026-04-17 01:15:45] local.INFO: GPS Element Parsed {"raw_longitude":753547008,"raw_latitude":120441544,"longitude_deg":75.3547008,"latitude_deg":12.0441544,"altitude":38,"angle":95,"satellites":53,"speed":12,"hex_longitude":"2cea3700","hex_latitude":"072dcac8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750345216001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:15:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1574711726372372480,"note":"Value kept but may cause issues"} 
[2026-04-17 01:15:45] 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-04-17 01:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776368549000,"timestamp_ms":1776368549000,"timestamp_seconds":1776368549,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d0fc88"} 
[2026-04-17 01:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:15: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-04-17 01: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 01:15:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46227,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750345216001,"66":27919,"12":206,"2":56832,"24":12,"16":106618783551979520,"44":-1574711726372372480},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-04-17 01:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750345216001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:15:45] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 01:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:15:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1574711726372372480,"description":"Unknown IO ID 44"} 
[2026-04-17 01:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750345216001,"power":27919,"unknown_12":206,"power_alt":56832,"ignition":12,"odometer":null,"unknown_44":-1574711726372372480}} 
[2026-04-17 01:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":46227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18434,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:15:45] local.INFO: GPS data processed {"connection_id":46227,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:15:45] local.INFO: Acknowledgment sent {"connection_id":46227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:16:07] local.INFO: TCP Data received {"connection_id":45668,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:16:07] local.INFO: Processing buffer {"connection_id":45668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:16:07] local.INFO: IMEI packet received {"connection_id":45668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:16:07] local.INFO: IMEI acknowledgment sent {"connection_id":45668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:16:11] local.INFO: TCP Data received {"connection_id":45668,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:16:11] local.INFO: Processing buffer {"connection_id":45668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:16:11] local.INFO: IMEI packet received {"connection_id":45668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":45668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:16:12] local.INFO: TCP Data received {"connection_id":45668,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d14e90012cea3700072dcac80026005f35..."} 
[2026-04-17 01:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d14e90012cea3700072dcac80026005f35..."} 
[2026-04-17 01:16:12] local.INFO: Processing buffer {"connection_id":45668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d14e90012cea3700072dcac80026005f35..."} 
[2026-04-17 01:16:12] local.INFO: Packet analysis {"connection_id":45668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d1"} 
[2026-04-17 01:16:12] local.INFO: Extracted packet for processing {"connection_id":45668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d1"} 
[2026-04-17 01:16:12] local.INFO: GPS Element Parsed {"raw_longitude":753547008,"raw_latitude":120441544,"longitude_deg":75.3547008,"latitude_deg":12.0441544,"altitude":38,"angle":95,"satellites":53,"speed":0,"hex_longitude":"2cea3700","hex_latitude":"072dcac8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750348544001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:16:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1569785914282293248,"note":"Value kept but may cause issues"} 
[2026-04-17 01:16:12] 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-04-17 01:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776368570000,"timestamp_ms":1776368570000,"timestamp_seconds":1776368570,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d14e90"} 
[2026-04-17 01:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:16: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-04-17 01: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 01:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750348544001,"66":27995,"12":206,"2":56832,"24":0,"16":106618783551979520,"44":-1569785914282293248},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-04-17 01:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750348544001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:16:12] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 01:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:16:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1569785914282293248,"description":"Unknown IO ID 44"} 
[2026-04-17 01:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750348544001,"power":27995,"unknown_12":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1569785914282293248}} 
[2026-04-17 01:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":45668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18435,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:16:12] local.INFO: GPS data processed {"connection_id":45668,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:16:12] local.INFO: Acknowledgment sent {"connection_id":45668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:16:44] local.INFO: TCP Data received {"connection_id":45668,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d190f8012cea5ec0072dbc80002e009234..."} 
[2026-04-17 01:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d190f8012cea5ec0072dbc80002e009234..."} 
[2026-04-17 01:16:44] local.INFO: Processing buffer {"connection_id":45668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d190f8012cea5ec0072dbc80002e009234..."} 
[2026-04-17 01:16:44] local.INFO: Packet analysis {"connection_id":45668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d1"} 
[2026-04-17 01:16:44] local.INFO: Extracted packet for processing {"connection_id":45668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d1"} 
[2026-04-17 01:16:44] local.INFO: GPS Element Parsed {"raw_longitude":753557184,"raw_latitude":120437888,"longitude_deg":75.3557184,"latitude_deg":12.0437888,"altitude":46,"angle":146,"satellites":52,"speed":16,"hex_longitude":"2cea5ec0","hex_latitude":"072dbc80","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750353920001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:16:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1569785914282293248,"note":"Value kept but may cause issues"} 
[2026-04-17 01:16:44] 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-04-17 01:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776368587000,"timestamp_ms":1776368587000,"timestamp_seconds":1776368587,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d190f8"} 
[2026-04-17 01:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:16:44] 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-04-17 01: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":91,"data_length":795,"current_offset":136} 
[2026-04-17 01:16:44] 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-04-17 01: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-04-17 01:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750353920001,"66":27832,"12":206,"2":56832,"24":16,"16":106618783551979520,"44":-1569785914282293248},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,2,24,16,44]} 
[2026-04-17 01:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750353920001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:16:44] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 01:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:16:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1569785914282293248,"description":"Unknown IO ID 44"} 
[2026-04-17 01:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750353920001,"power":27832,"unknown_12":206,"power_alt":56832,"ignition":16,"odometer":null,"unknown_44":-1569785914282293248}} 
[2026-04-17 01:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":45668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18436,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:16:44] local.INFO: GPS data processed {"connection_id":45668,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:16:44] local.INFO: Acknowledgment sent {"connection_id":45668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:17:06] local.INFO: TCP Data received {"connection_id":45414,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:17:06] local.INFO: Processing buffer {"connection_id":45414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:17:06] local.INFO: IMEI packet received {"connection_id":45414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":45414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:17:10] local.INFO: TCP Data received {"connection_id":45414,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:17:10] local.INFO: Processing buffer {"connection_id":45414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:17:10] local.INFO: IMEI packet received {"connection_id":45414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":45414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:17:11] local.INFO: TCP Data received {"connection_id":45414,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:17:11] local.INFO: Processing buffer {"connection_id":45414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:17:11] local.INFO: IMEI packet received {"connection_id":45414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":45414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:17:12] local.INFO: TCP Data received {"connection_id":45414,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d292c80100000000000000000000000000..."} 
[2026-04-17 01:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d292c80100000000000000000000000000..."} 
[2026-04-17 01:17:12] local.INFO: Processing buffer {"connection_id":45414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d292c80100000000000000000000000000..."} 
[2026-04-17 01:17:12] local.INFO: Packet analysis {"connection_id":45414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d2"} 
[2026-04-17 01:17:12] local.INFO: Extracted packet for processing {"connection_id":45414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d2"} 
[2026-04-17 01:17:12] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 01:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750358272001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:17:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1558597283958980608,"note":"Value kept but may cause issues"} 
[2026-04-17 01:17:12] 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-04-17 01:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776368653000,"timestamp_ms":1776368653000,"timestamp_seconds":1776368653,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d292c8"} 
[2026-04-17 01:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:17: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-04-17 01:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-17 01:17:12] 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-04-17 01:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:17:12] local.INFO: DEBUG: GPS processor result {"connection_id":45414,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:17:12] local.INFO: GPS data processed {"connection_id":45414,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:17:12] local.INFO: Acknowledgment sent {"connection_id":45414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:17:44] local.INFO: TCP Data received {"connection_id":45414,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d1f688012cea61c0072d8590003000b32f..."} 
[2026-04-17 01:17:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d1f688012cea61c0072d8590003000b32f..."} 
[2026-04-17 01:17:44] local.INFO: Processing buffer {"connection_id":45414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d1f688012cea61c0072d8590003000b32f..."} 
[2026-04-17 01:17:44] local.INFO: Packet analysis {"connection_id":45414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d1"} 
[2026-04-17 01:17:44] local.INFO: Extracted packet for processing {"connection_id":45414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d1"} 
[2026-04-17 01:17:44] local.INFO: GPS Element Parsed {"raw_longitude":753557952,"raw_latitude":120423824,"longitude_deg":75.3557952,"latitude_deg":12.0423824,"altitude":48,"angle":179,"satellites":47,"speed":26,"hex_longitude":"2cea61c0","hex_latitude":"072d8590","is_valid_coordinates":true} 
[2026-04-17 01:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:17:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:17:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,42,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:17:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776368613000,"timestamp_ms":1776368613000,"timestamp_seconds":1776368613,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d1f688"} 
[2026-04-17 01:17:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:17:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:17:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 01:17:44] 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-04-17 01:17:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:17:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:17:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:17:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:17:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:17:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:17:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:17:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:17:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:17:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"42":206,"2":56832,"24":26,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16]} 
[2026-04-17 01:17:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:17:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:17:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:17:44] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-17 01:17:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:17:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_42":206,"power_alt":56832,"ignition":26,"odometer":null}} 
[2026-04-17 01:17:44] local.INFO: DEBUG: GPS processor result {"connection_id":45414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18437,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:17:44] local.INFO: GPS data processed {"connection_id":45414,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:17:44] local.INFO: Acknowledgment sent {"connection_id":45414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:18:07] local.INFO: TCP Data received {"connection_id":45669,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:18:07] local.INFO: Processing buffer {"connection_id":45669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:18:07] local.INFO: IMEI packet received {"connection_id":45669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":45669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:18:08] local.INFO: TCP Data received {"connection_id":45669,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d52308012d4b550006560f800009009d31..."} 
[2026-04-17 01:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d52308012d4b550006560f800009009d31..."} 
[2026-04-17 01:18:08] local.INFO: Processing buffer {"connection_id":45669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d52308012d4b550006560f800009009d31..."} 
[2026-04-17 01:18:08] local.INFO: Packet analysis {"connection_id":45669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d5"} 
[2026-04-17 01:18:08] local.INFO: Extracted packet for processing {"connection_id":45669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d5"} 
[2026-04-17 01:18:08] local.INFO: GPS Element Parsed {"raw_longitude":759911680,"raw_latitude":106303360,"longitude_deg":75.991168,"latitude_deg":10.630336,"altitude":9,"angle":157,"satellites":49,"speed":46,"hex_longitude":"2d4b5500","hex_latitude":"06560f80","is_valid_coordinates":true} 
[2026-04-17 01:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:18:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750418176001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:18:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273459820412010496,"note":"Value kept but may cause issues"} 
[2026-04-17 01:18:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5428244953078661120,"note":"Value kept but may cause issues"} 
[2026-04-17 01:18:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:18:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776368821000,"timestamp_ms":1776368821000,"timestamp_seconds":1776368821,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d52308"} 
[2026-04-17 01:18:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:18:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:18:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 01:18:08] 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-04-17 01:18:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:18:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:18:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:18:08] local.INFO: Teltonika packet parsed successfully {"connection_id":45669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:18:08] local.INFO: Passing IMEI to GPS processor {"connection_id":45669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:18:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":45669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:18:08] 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-04-17 01:18:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:18:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:18:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750418176001,"66":27310,"145":206,"78":62464,"24":46,"16":273459820412010496,"45":5428244953078661120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-04-17 01:18:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:18:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:18:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750418176001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:18:08] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-04-17 01:18:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:18:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273459820412010496,"km_value":273459820412010.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:18:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5428244953078661120,"description":"Unknown IO ID 45"} 
[2026-04-17 01:18:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750418176001,"power":27310,"unknown_145":206,"unknown_78":62464,"ignition":46,"odometer":null,"unknown_45":5428244953078661120}} 
[2026-04-17 01:18:08] local.INFO: DEBUG: GPS processor result {"connection_id":45669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:18:08] local.INFO: GPS data processed {"connection_id":45669,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:18:08] local.INFO: Acknowledgment sent {"connection_id":45669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:18:10] local.INFO: TCP Data received {"connection_id":45479,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:18:10] local.INFO: Processing buffer {"connection_id":45479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:18:10] local.INFO: IMEI packet received {"connection_id":45479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":45479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:18:12] local.INFO: TCP Data received {"connection_id":45479,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:18:12] local.INFO: Processing buffer {"connection_id":45479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:18:12] local.INFO: IMEI packet received {"connection_id":45479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":45479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:18:17] local.INFO: TCP Data received {"connection_id":45479,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:18:17] local.INFO: Processing buffer {"connection_id":45479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:18:17] local.INFO: IMEI packet received {"connection_id":45479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:18:17] local.INFO: IMEI acknowledgment sent {"connection_id":45479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:18:18] local.INFO: TCP Data received {"connection_id":45479,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d244a8012cea7b80072d4588002e008f32..."} 
[2026-04-17 01:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d244a8012cea7b80072d4588002e008f32..."} 
[2026-04-17 01:18:18] local.INFO: Processing buffer {"connection_id":45479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d244a8012cea7b80072d4588002e008f32..."} 
[2026-04-17 01:18:18] local.INFO: Packet analysis {"connection_id":45479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d2"} 
[2026-04-17 01:18:18] local.INFO: Extracted packet for processing {"connection_id":45479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d2"} 
[2026-04-17 01:18:18] local.INFO: GPS Element Parsed {"raw_longitude":753564544,"raw_latitude":120407432,"longitude_deg":75.3564544,"latitude_deg":12.0407432,"altitude":46,"angle":143,"satellites":50,"speed":40,"hex_longitude":"2cea7b80","hex_latitude":"072d4588","is_valid_coordinates":true} 
[2026-04-17 01:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750364928001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:18:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1557752859032449024,"note":"Value kept but may cause issues"} 
[2026-04-17 01:18:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776368633000,"timestamp_ms":1776368633000,"timestamp_seconds":1776368633,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d244a8"} 
[2026-04-17 01:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:18: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-04-17 01:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 01:18:18] 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-04-17 01:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:18:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750364928001,"66":27984,"41":206,"2":56832,"24":40,"16":106618783551979520,"44":-1557752859032449024},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,2,24,16,44]} 
[2026-04-17 01:18:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:18:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:18:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750364928001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:18:18] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-04-17 01:18:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:18:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1557752859032449024,"description":"Unknown IO ID 44"} 
[2026-04-17 01:18:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750364928001,"power":27984,"unknown_41":206,"power_alt":56832,"ignition":40,"odometer":null,"unknown_44":-1557752859032449024}} 
[2026-04-17 01:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":45479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18439,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:18:18] local.INFO: GPS data processed {"connection_id":45479,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:18:18] local.INFO: Acknowledgment sent {"connection_id":45479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:18:22] local.INFO: TCP Data received {"connection_id":45479,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d296b0012ceaa4c0072d0e50002b008f33..."} 
[2026-04-17 01:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d296b0012ceaa4c0072d0e50002b008f33..."} 
[2026-04-17 01:18:22] local.INFO: Processing buffer {"connection_id":45479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d296b0012ceaa4c0072d0e50002b008f33..."} 
[2026-04-17 01:18:22] local.INFO: Packet analysis {"connection_id":45479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d2"} 
[2026-04-17 01:18:22] local.INFO: Extracted packet for processing {"connection_id":45479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d2"} 
[2026-04-17 01:18:22] local.INFO: GPS Element Parsed {"raw_longitude":753575104,"raw_latitude":120393296,"longitude_deg":75.3575104,"latitude_deg":12.0393296,"altitude":43,"angle":143,"satellites":51,"speed":0,"hex_longitude":"2ceaa4c0","hex_latitude":"072d0e50","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750370048001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:18:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1550504878386345984,"note":"Value kept but may cause issues"} 
[2026-04-17 01:18:22] 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-04-17 01:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776368654000,"timestamp_ms":1776368654000,"timestamp_seconds":1776368654,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d296b0"} 
[2026-04-17 01:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:18: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-04-17 01: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 01:18:22] 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-04-17 01: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-04-17 01:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750370048001,"66":28050,"231":206,"2":56832,"24":0,"16":106618783551979520,"44":-1550504878386345984},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-04-17 01:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750370048001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:18:22] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-04-17 01:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:18:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1550504878386345984,"description":"Unknown IO ID 44"} 
[2026-04-17 01:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750370048001,"power":28050,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1550504878386345984}} 
[2026-04-17 01:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":45479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18440,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:18:22] local.INFO: GPS data processed {"connection_id":45479,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:18:22] local.INFO: Acknowledgment sent {"connection_id":45479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:18:57] local.INFO: TCP Data received {"connection_id":45670,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:18:57] local.INFO: Processing buffer {"connection_id":45670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:18:57] local.INFO: IMEI packet received {"connection_id":45670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":45670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:18:59] local.INFO: TCP Data received {"connection_id":45670,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:18:59] local.INFO: Processing buffer {"connection_id":45670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:18:59] local.INFO: IMEI packet received {"connection_id":45670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":45670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:19:01] local.INFO: TCP Data received {"connection_id":45670,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d54248012d4b65800655edc80008009731..."} 
[2026-04-17 01:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d54248012d4b65800655edc80008009731..."} 
[2026-04-17 01:19:01] local.INFO: Processing buffer {"connection_id":45670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d54248012d4b65800655edc80008009731..."} 
[2026-04-17 01:19:01] local.INFO: Packet analysis {"connection_id":45670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d5"} 
[2026-04-17 01:19:01] local.INFO: Extracted packet for processing {"connection_id":45670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d5"} 
[2026-04-17 01:19:01] local.INFO: GPS Element Parsed {"raw_longitude":759915904,"raw_latitude":106294728,"longitude_deg":75.9915904,"latitude_deg":10.6294728,"altitude":8,"angle":151,"satellites":49,"speed":49,"hex_longitude":"2d4b6580","hex_latitude":"0655edc8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:19:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750418176001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:19:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273460288563445760,"note":"Value kept but may cause issues"} 
[2026-04-17 01:19:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5428244953078661120,"note":"Value kept but may cause issues"} 
[2026-04-17 01:19:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,145,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:19:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776368829000,"timestamp_ms":1776368829000,"timestamp_seconds":1776368829,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d54248"} 
[2026-04-17 01:19:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:19:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:19:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 01:19: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-04-17 01: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-04-17 01:19:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:19:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:19:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:19:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:19:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:19: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-04-17 01:19:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:19:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:19:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750418176001,"66":27343,"145":206,"78":62464,"24":49,"16":273460288563445760,"45":5428244953078661120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,145,78,24,16,45]} 
[2026-04-17 01:19:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:19:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:19:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750418176001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:19:01] local.INFO: Unknown IO ID detected {"io_id":145,"value":206,"description":"Unknown IO ID 145"} 
[2026-04-17 01:19:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:19:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273460288563445760,"km_value":273460288563445.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:19:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5428244953078661120,"description":"Unknown IO ID 45"} 
[2026-04-17 01:19:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750418176001,"power":27343,"unknown_145":206,"unknown_78":62464,"ignition":49,"odometer":null,"unknown_45":5428244953078661120}} 
[2026-04-17 01:19:01] local.INFO: DEBUG: GPS processor result {"connection_id":45670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:19:01] local.INFO: GPS data processed {"connection_id":45670,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:19:01] local.INFO: Acknowledgment sent {"connection_id":45670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:19:06] local.INFO: TCP Data received {"connection_id":45415,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:19:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:19:07] local.INFO: Processing buffer {"connection_id":45415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:19:07] local.INFO: IMEI packet received {"connection_id":45415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:19:07] local.INFO: IMEI acknowledgment sent {"connection_id":45415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:19:11] local.INFO: TCP Data received {"connection_id":45415,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:19:11] local.INFO: Processing buffer {"connection_id":45415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:19:11] local.INFO: IMEI packet received {"connection_id":45415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":45415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:19:12] local.INFO: TCP Data received {"connection_id":45415,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d2e8b8012cead0c0072cd638002c008c2f..."} 
[2026-04-17 01:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d2e8b8012cead0c0072cd638002c008c2f..."} 
[2026-04-17 01:19:12] local.INFO: Processing buffer {"connection_id":45415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d2e8b8012cead0c0072cd638002c008c2f..."} 
[2026-04-17 01:19:12] local.INFO: Packet analysis {"connection_id":45415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d2"} 
[2026-04-17 01:19:12] local.INFO: Extracted packet for processing {"connection_id":45415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d2"} 
[2026-04-17 01:19:12] local.INFO: GPS Element Parsed {"raw_longitude":753586368,"raw_latitude":120378936,"longitude_deg":75.3586368,"latitude_deg":12.0378936,"altitude":44,"angle":140,"satellites":47,"speed":0,"hex_longitude":"2cead0c0","hex_latitude":"072cd638","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750375424001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:19:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1538894035600650240,"note":"Value kept but may cause issues"} 
[2026-04-17 01:19:12] 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-04-17 01:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776368675000,"timestamp_ms":1776368675000,"timestamp_seconds":1776368675,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d2e8b8"} 
[2026-04-17 01:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:19:12] 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-04-17 01:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-17 01:19:12] 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-04-17 01: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-04-17 01:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750375424001,"66":27952,"231":206,"2":56832,"24":0,"16":106618783551979520,"44":-1538894035600650240},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,231,2,24,16,44]} 
[2026-04-17 01:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750375424001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:19:12] local.INFO: Unknown IO ID detected {"io_id":231,"value":206,"description":"Unknown IO ID 231"} 
[2026-04-17 01:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:19:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1538894035600650240,"description":"Unknown IO ID 44"} 
[2026-04-17 01:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750375424001,"power":27952,"unknown_231":206,"power_alt":56832,"ignition":0,"odometer":null,"unknown_44":-1538894035600650240}} 
[2026-04-17 01:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":45415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18442,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:19:12] local.INFO: GPS data processed {"connection_id":45415,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:19:12] local.INFO: Acknowledgment sent {"connection_id":45415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:19:33] local.INFO: TCP Data received {"connection_id":45670,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d6b178012d4c5c4006545438000e008f2f..."} 
[2026-04-17 01:19:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d6b178012d4c5c4006545438000e008f2f..."} 
[2026-04-17 01:19:33] local.INFO: Processing buffer {"connection_id":45670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d6b178012d4c5c4006545438000e008f2f..."} 
[2026-04-17 01:19:33] local.INFO: Packet analysis {"connection_id":45670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d6"} 
[2026-04-17 01:19:33] local.INFO: Extracted packet for processing {"connection_id":45670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d6"} 
[2026-04-17 01:19:33] local.INFO: GPS Element Parsed {"raw_longitude":759979072,"raw_latitude":106189880,"longitude_deg":75.9979072,"latitude_deg":10.618988,"altitude":14,"angle":143,"satellites":47,"speed":46,"hex_longitude":"2d4c5c40","hex_latitude":"06545438","is_valid_coordinates":true} 
[2026-04-17 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-04-17 01:19:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750442240001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:19:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273466215618314240,"note":"Value kept but may cause issues"} 
[2026-04-17 01:19:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5495517472485371904,"note":"Value kept but may cause issues"} 
[2026-04-17 01:19:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:19:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776368923000,"timestamp_ms":1776368923000,"timestamp_seconds":1776368923,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d6b178"} 
[2026-04-17 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-04-17 01:19: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-04-17 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:19: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-04-17 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-04-17 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-04-17 01:19:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:19:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:19:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:19:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:19:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:19:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:19:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:19:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750442240001,"66":27517,"247":206,"78":62464,"24":46,"16":273466215618314240,"45":5495517472485371904},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,78,24,16,45]} 
[2026-04-17 01:19:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:19:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:19:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750442240001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:19:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:19:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273466215618314240,"km_value":273466215618314.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:19:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":5495517472485371904,"description":"Unknown IO ID 45"} 
[2026-04-17 01:19:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750442240001,"power":27517,"internal_battery_voltage":206,"unknown_78":62464,"ignition":46,"odometer":null,"unknown_45":5495517472485371904}} 
[2026-04-17 01:19:33] local.INFO: DEBUG: GPS processor result {"connection_id":45670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:19:33] local.INFO: GPS data processed {"connection_id":45670,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:19:33] local.INFO: Acknowledgment sent {"connection_id":45670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:19:44] local.INFO: TCP Data received {"connection_id":45415,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d742000100000000000000000000000000..."} 
[2026-04-17 01:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d742000100000000000000000000000000..."} 
[2026-04-17 01:19:44] local.INFO: Processing buffer {"connection_id":45415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d742000100000000000000000000000000..."} 
[2026-04-17 01:19:44] local.INFO: Packet analysis {"connection_id":45415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d7"} 
[2026-04-17 01:19:44] local.INFO: Extracted packet for processing {"connection_id":45415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d7"} 
[2026-04-17 01:19: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-04-17 01: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-04-17 01:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750436864001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:19:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1426796626171002880,"note":"Value kept but may cause issues"} 
[2026-04-17 01:19:44] 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-04-17 01:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776368960000,"timestamp_ms":1776368960000,"timestamp_seconds":1776368960,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d74200"} 
[2026-04-17 01:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:19:44] 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-04-17 01: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":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-17 01:19:44] 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-04-17 01: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-04-17 01:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":45415,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:19:44] local.INFO: GPS data processed {"connection_id":45415,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:19:44] local.INFO: Acknowledgment sent {"connection_id":45415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:19:52] local.INFO: TCP Data received {"connection_id":46228,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:19:52] local.INFO: Processing buffer {"connection_id":46228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:19:52] local.INFO: IMEI packet received {"connection_id":46228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":46228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:19:53] local.INFO: TCP Data received {"connection_id":46228,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:19:53] local.INFO: Processing buffer {"connection_id":46228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:19:53] local.INFO: IMEI packet received {"connection_id":46228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":46228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:19:57] local.INFO: TCP Data received {"connection_id":46228,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:19:57] local.INFO: Processing buffer {"connection_id":46228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:19:57] local.INFO: IMEI packet received {"connection_id":46228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":46228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:19:59] local.INFO: TCP Data received {"connection_id":46228,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d6d0b8012d4c6ec006543608000f009a30..."} 
[2026-04-17 01:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d6d0b8012d4c6ec006543608000f009a30..."} 
[2026-04-17 01:19:59] local.INFO: Processing buffer {"connection_id":46228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d6d0b8012d4c6ec006543608000f009a30..."} 
[2026-04-17 01:19:59] local.INFO: Packet analysis {"connection_id":46228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d6"} 
[2026-04-17 01:19:59] local.INFO: Extracted packet for processing {"connection_id":46228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d6"} 
[2026-04-17 01:19:59] local.INFO: GPS Element Parsed {"raw_longitude":759983808,"raw_latitude":106182152,"longitude_deg":75.9983808,"latitude_deg":10.6182152,"altitude":15,"angle":154,"satellites":48,"speed":44,"hex_longitude":"2d4c6ec0","hex_latitude":"06543608","is_valid_coordinates":true} 
[2026-04-17 01:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750444288001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273466653704978432,"note":"Value kept but may cause issues"} 
[2026-04-17 01:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5502343240668690432,"note":"Value kept but may cause issues"} 
[2026-04-17 01:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776368931000,"timestamp_ms":1776368931000,"timestamp_seconds":1776368931,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d6d0b8"} 
[2026-04-17 01:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:19: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-04-17 01:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 01:19:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750444288001,"66":27365,"247":206,"78":62464,"24":44,"16":273466653704978432,"45":5502343240668690432},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,78,24,16,45]} 
[2026-04-17 01:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750444288001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:19:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273466653704978432,"km_value":273466653704978.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5502343240668690432,"description":"Unknown IO ID 45"} 
[2026-04-17 01:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750444288001,"power":27365,"internal_battery_voltage":206,"unknown_78":62464,"ignition":44,"odometer":null,"unknown_45":5502343240668690432}} 
[2026-04-17 01:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":46228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:19:59] local.INFO: GPS data processed {"connection_id":46228,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:19:59] local.INFO: Acknowledgment sent {"connection_id":46228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:20:00] local.INFO: TCP Data received {"connection_id":46228,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d6d0b8012d4c6ec006543608000f009a30..."} 
[2026-04-17 01:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d6d0b8012d4c6ec006543608000f009a30..."} 
[2026-04-17 01:20:00] local.INFO: Processing buffer {"connection_id":46228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d6d0b8012d4c6ec006543608000f009a30..."} 
[2026-04-17 01:20:00] local.INFO: Packet analysis {"connection_id":46228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d6"} 
[2026-04-17 01:20:00] local.INFO: Extracted packet for processing {"connection_id":46228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d6"} 
[2026-04-17 01:20:00] local.INFO: GPS Element Parsed {"raw_longitude":759983808,"raw_latitude":106182152,"longitude_deg":75.9983808,"latitude_deg":10.6182152,"altitude":15,"angle":154,"satellites":48,"speed":44,"hex_longitude":"2d4c6ec0","hex_latitude":"06543608","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750446336001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273466653704978432,"note":"Value kept but may cause issues"} 
[2026-04-17 01:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5507550527735859200,"note":"Value kept but may cause issues"} 
[2026-04-17 01:20:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776368931000,"timestamp_ms":1776368931000,"timestamp_seconds":1776368931,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d6d0b8"} 
[2026-04-17 01:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 01:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:20: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-04-17 01:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750446336001,"66":27365,"247":206,"78":62464,"24":44,"16":273466653704978432,"45":5507550527735859200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,78,24,16,45]} 
[2026-04-17 01:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750446336001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:20:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273466653704978432,"km_value":273466653704978.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5507550527735859200,"description":"Unknown IO ID 45"} 
[2026-04-17 01:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750446336001,"power":27365,"internal_battery_voltage":206,"unknown_78":62464,"ignition":44,"odometer":null,"unknown_45":5507550527735859200}} 
[2026-04-17 01:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":46228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:20:00] local.INFO: GPS data processed {"connection_id":46228,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:20:00] local.INFO: Acknowledgment sent {"connection_id":46228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:20:06] local.INFO: TCP Data received {"connection_id":45480,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:20:06] local.INFO: Processing buffer {"connection_id":45480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:20:06] local.INFO: IMEI packet received {"connection_id":45480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:20:06] local.INFO: IMEI acknowledgment sent {"connection_id":45480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:20:11] local.INFO: TCP Data received {"connection_id":45480,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:20:11] local.INFO: Processing buffer {"connection_id":45480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:20:11] local.INFO: IMEI packet received {"connection_id":45480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":45480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:20:13] local.INFO: TCP Data received {"connection_id":45480,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d6b178012cec77c00729cf18002500a832..."} 
[2026-04-17 01:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d6b178012cec77c00729cf18002500a832..."} 
[2026-04-17 01:20:13] local.INFO: Processing buffer {"connection_id":45480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d6b178012cec77c00729cf18002500a832..."} 
[2026-04-17 01:20:13] local.INFO: Packet analysis {"connection_id":45480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d6"} 
[2026-04-17 01:20:13] local.INFO: Extracted packet for processing {"connection_id":45480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d6"} 
[2026-04-17 01:20:13] local.INFO: GPS Element Parsed {"raw_longitude":753694656,"raw_latitude":120180504,"longitude_deg":75.3694656,"latitude_deg":12.0180504,"altitude":37,"angle":168,"satellites":50,"speed":43,"hex_longitude":"2cec77c0","hex_latitude":"0729cf18","is_valid_coordinates":true} 
[2026-04-17 01:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:20:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,32,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776368923000,"timestamp_ms":1776368923000,"timestamp_seconds":1776368923,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d6b178"} 
[2026-04-17 01:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:20:13] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-17 01:20:13] 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-04-17 01:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"32":206,"2":54272,"24":43,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16]} 
[2026-04-17 01:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:20:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 01:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:20:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_32":206,"power_alt":54272,"ignition":43,"odometer":null}} 
[2026-04-17 01:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":45480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18446,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:20:13] local.INFO: GPS data processed {"connection_id":45480,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:20:13] local.INFO: Acknowledgment sent {"connection_id":45480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:20:32] local.INFO: TCP Data received {"connection_id":46228,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d6eff8012d4c7d80065415b8000f009d30..."} 
[2026-04-17 01:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d6eff8012d4c7d80065415b8000f009d30..."} 
[2026-04-17 01:20:32] local.INFO: Processing buffer {"connection_id":46228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d6eff8012d4c7d80065415b8000f009d30..."} 
[2026-04-17 01:20:32] local.INFO: Packet analysis {"connection_id":46228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d6"} 
[2026-04-17 01:20:32] local.INFO: Extracted packet for processing {"connection_id":46228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d6"} 
[2026-04-17 01:20:32] local.INFO: GPS Element Parsed {"raw_longitude":759987584,"raw_latitude":106173880,"longitude_deg":75.9987584,"latitude_deg":10.617388,"altitude":15,"angle":157,"satellites":48,"speed":46,"hex_longitude":"2d4c7d80","hex_latitude":"065415b8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750446336001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273467091791642624,"note":"Value kept but may cause issues"} 
[2026-04-17 01:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5507550527735859200,"note":"Value kept but may cause issues"} 
[2026-04-17 01:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776368939000,"timestamp_ms":1776368939000,"timestamp_seconds":1776368939,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d6eff8"} 
[2026-04-17 01:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 01:20: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-04-17 01: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-04-17 01:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750446336001,"66":27300,"247":206,"78":62464,"24":46,"16":273467091791642624,"45":5507550527735859200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,78,24,16,45]} 
[2026-04-17 01:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750446336001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:20:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273467091791642624,"km_value":273467091791642.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5507550527735859200,"description":"Unknown IO ID 45"} 
[2026-04-17 01:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750446336001,"power":27300,"internal_battery_voltage":206,"unknown_78":62464,"ignition":46,"odometer":null,"unknown_45":5507550527735859200}} 
[2026-04-17 01:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":46228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:20:32] local.INFO: GPS data processed {"connection_id":46228,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:20:32] local.INFO: Acknowledgment sent {"connection_id":46228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:20:45] local.INFO: TCP Data received {"connection_id":45480,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d6f7c8012cec6bc007298300002100c42e..."} 
[2026-04-17 01:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d6f7c8012cec6bc007298300002100c42e..."} 
[2026-04-17 01:20:45] local.INFO: Processing buffer {"connection_id":45480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d6f7c8012cec6bc007298300002100c42e..."} 
[2026-04-17 01:20:45] local.INFO: Packet analysis {"connection_id":45480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d6"} 
[2026-04-17 01:20:45] local.INFO: Extracted packet for processing {"connection_id":45480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d6"} 
[2026-04-17 01:20:45] local.INFO: GPS Element Parsed {"raw_longitude":753691584,"raw_latitude":120161024,"longitude_deg":75.3691584,"latitude_deg":12.0161024,"altitude":33,"angle":196,"satellites":46,"speed":42,"hex_longitude":"2cec6bc0","hex_latitude":"07298300","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750444288001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:20:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1407445221531248640,"note":"Value kept but may cause issues"} 
[2026-04-17 01:20:45] 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-04-17 01:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776368941000,"timestamp_ms":1776368941000,"timestamp_seconds":1776368941,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d6f7c8"} 
[2026-04-17 01:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:20: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-04-17 01: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 01:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750444288001,"66":27800,"32":206,"2":54272,"24":42,"16":106618783551979520,"44":-1407445221531248640},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-04-17 01:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750444288001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:20:45] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 01:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:20:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1407445221531248640,"description":"Unknown IO ID 44"} 
[2026-04-17 01:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750444288001,"power":27800,"unknown_32":206,"power_alt":54272,"ignition":42,"odometer":null,"unknown_44":-1407445221531248640}} 
[2026-04-17 01:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":45480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18448,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:20:45] local.INFO: GPS data processed {"connection_id":45480,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:20:45] local.INFO: Acknowledgment sent {"connection_id":45480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:20:52] local.INFO: TCP Data received {"connection_id":45671,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:20:52] local.INFO: Processing buffer {"connection_id":45671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:20:52] local.INFO: IMEI packet received {"connection_id":45671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":45671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:20:53] local.INFO: TCP Data received {"connection_id":45671,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:20:53] local.INFO: Processing buffer {"connection_id":45671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:20:53] local.INFO: IMEI packet received {"connection_id":45671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":45671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:20:57] local.INFO: TCP Data received {"connection_id":45671,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:20:57] local.INFO: Processing buffer {"connection_id":45671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:20:57] local.INFO: IMEI packet received {"connection_id":45671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":45671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:20:58] local.INFO: TCP Data received {"connection_id":45671,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d70f38012d4c8b800653f3f8000f009c30..."} 
[2026-04-17 01:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d70f38012d4c8b800653f3f8000f009c30..."} 
[2026-04-17 01:20:58] local.INFO: Processing buffer {"connection_id":45671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d70f38012d4c8b800653f3f8000f009c30..."} 
[2026-04-17 01:20:58] local.INFO: Packet analysis {"connection_id":45671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d7"} 
[2026-04-17 01:20:58] local.INFO: Extracted packet for processing {"connection_id":45671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d7"} 
[2026-04-17 01:20:58] local.INFO: GPS Element Parsed {"raw_longitude":759991168,"raw_latitude":106165240,"longitude_deg":75.9991168,"latitude_deg":10.616524,"altitude":15,"angle":156,"satellites":48,"speed":47,"hex_longitude":"2d4c8b80","hex_latitude":"0653f3f8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750448384001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273467547058176000,"note":"Value kept but may cause issues"} 
[2026-04-17 01:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5511702283640223744,"note":"Value kept but may cause issues"} 
[2026-04-17 01:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776368947000,"timestamp_ms":1776368947000,"timestamp_seconds":1776368947,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d70f38"} 
[2026-04-17 01:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:20: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-04-17 01: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 01:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750448384001,"66":27267,"247":206,"78":62464,"24":47,"16":273467547058176000,"45":5511702283640223744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,78,24,16,45]} 
[2026-04-17 01:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750448384001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:20:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273467547058176000,"km_value":273467547058176,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5511702283640223744,"description":"Unknown IO ID 45"} 
[2026-04-17 01:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750448384001,"power":27267,"internal_battery_voltage":206,"unknown_78":62464,"ignition":47,"odometer":null,"unknown_45":5511702283640223744}} 
[2026-04-17 01:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":45671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:20:58] local.INFO: GPS data processed {"connection_id":45671,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:20:58] local.INFO: Acknowledgment sent {"connection_id":45671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:21:06] local.INFO: TCP Data received {"connection_id":46229,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:21:06] local.INFO: Processing buffer {"connection_id":46229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:21:06] local.INFO: IMEI packet received {"connection_id":46229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":46229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:21:06] local.INFO: TCP Data received {"connection_id":46229,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:21:06] local.INFO: Processing buffer {"connection_id":46229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:21:06] local.INFO: IMEI packet received {"connection_id":46229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":46229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:21:11] local.INFO: TCP Data received {"connection_id":46229,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46229,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:21:11] local.INFO: Processing buffer {"connection_id":46229,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:21:11] local.INFO: IMEI packet received {"connection_id":46229,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":46229,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:21:13] local.INFO: TCP Data received {"connection_id":46229,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d749d0012cec59c007293770001c00bb2c..."} 
[2026-04-17 01:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d749d0012cec59c007293770001c00bb2c..."} 
[2026-04-17 01:21:13] local.INFO: Processing buffer {"connection_id":46229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d749d0012cec59c007293770001c00bb2c..."} 
[2026-04-17 01:21:13] local.INFO: Packet analysis {"connection_id":46229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d7"} 
[2026-04-17 01:21:13] local.INFO: Extracted packet for processing {"connection_id":46229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d7"} 
[2026-04-17 01:21:13] local.INFO: GPS Element Parsed {"raw_longitude":753686976,"raw_latitude":120141680,"longitude_deg":75.3686976,"latitude_deg":12.014168,"altitude":28,"angle":187,"satellites":44,"speed":0,"hex_longitude":"2cec59c0","hex_latitude":"07293770","is_valid_coordinates":true} 
[2026-04-17 01:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750448896001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:21:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1410822921256763392,"note":"Value kept but may cause issues"} 
[2026-04-17 01:21:13] 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-04-17 01:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776368962000,"timestamp_ms":1776368962000,"timestamp_seconds":1776368962,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d749d0"} 
[2026-04-17 01:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:21:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:21:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 01:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:21:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750448896001,"66":28082,"32":206,"2":54272,"24":0,"16":106618783551979520,"44":-1410822921256763392},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-04-17 01:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750448896001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:21:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 01:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:21:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1410822921256763392,"description":"Unknown IO ID 44"} 
[2026-04-17 01:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750448896001,"power":28082,"unknown_32":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1410822921256763392}} 
[2026-04-17 01:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":46229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18450,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:21:13] local.INFO: GPS data processed {"connection_id":46229,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:21:13] local.INFO: Acknowledgment sent {"connection_id":46229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:21:29] local.INFO: TCP Data received {"connection_id":45671,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d83818012d4d4f800652bfd80008009931..."} 
[2026-04-17 01:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d83818012d4d4f800652bfd80008009931..."} 
[2026-04-17 01:21:29] local.INFO: Processing buffer {"connection_id":45671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d83818012d4d4f800652bfd80008009931..."} 
[2026-04-17 01:21:29] local.INFO: Packet analysis {"connection_id":45671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d8"} 
[2026-04-17 01:21:29] local.INFO: Extracted packet for processing {"connection_id":45671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d8"} 
[2026-04-17 01:21:29] local.INFO: GPS Element Parsed {"raw_longitude":760041344,"raw_latitude":106086360,"longitude_deg":76.0041344,"latitude_deg":10.608636,"altitude":8,"angle":153,"satellites":49,"speed":39,"hex_longitude":"2d4d4f80","hex_latitude":"0652bfd8","is_valid_coordinates":true} 
[2026-04-17 01:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750467584001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273472073953705984,"note":"Value kept but may cause issues"} 
[2026-04-17 01:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5565956585380884480,"note":"Value kept but may cause issues"} 
[2026-04-17 01:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776369023000,"timestamp_ms":1776369023000,"timestamp_seconds":1776369023,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d83818"} 
[2026-04-17 01:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:21: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-04-17 01:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 01:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:21:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:21: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-04-17 01:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750467584001,"66":27397,"61":206,"78":62464,"24":39,"16":273472073953705984,"45":5565956585380884480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-04-17 01:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750467584001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:21:29] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-17 01:21:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273472073953705984,"km_value":273472073953705.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5565956585380884480,"description":"Unknown IO ID 45"} 
[2026-04-17 01:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750467584001,"power":27397,"unknown_61":206,"unknown_78":62464,"ignition":39,"odometer":null,"unknown_45":5565956585380884480}} 
[2026-04-17 01:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":45671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:21:29] local.INFO: GPS data processed {"connection_id":45671,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:21:29] local.INFO: Acknowledgment sent {"connection_id":45671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:21:46] local.INFO: TCP Data received {"connection_id":46229,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d78080012cec57000728eab0001000af30..."} 
[2026-04-17 01:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d78080012cec57000728eab0001000af30..."} 
[2026-04-17 01:21:46] local.INFO: Processing buffer {"connection_id":46229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d78080012cec57000728eab0001000af30..."} 
[2026-04-17 01:21:46] local.INFO: Packet analysis {"connection_id":46229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d7"} 
[2026-04-17 01:21:46] local.INFO: Extracted packet for processing {"connection_id":46229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d7"} 
[2026-04-17 01:21:46] local.INFO: GPS Element Parsed {"raw_longitude":753686272,"raw_latitude":120122032,"longitude_deg":75.3686272,"latitude_deg":12.0122032,"altitude":16,"angle":175,"satellites":48,"speed":45,"hex_longitude":"2cec5700","hex_latitude":"0728eab0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750454272001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:21:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415889470842507264,"note":"Value kept but may cause issues"} 
[2026-04-17 01:21:46] 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-04-17 01:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776368976000,"timestamp_ms":1776368976000,"timestamp_seconds":1776368976,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d78080"} 
[2026-04-17 01:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:21:46] 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-04-17 01: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 01:21:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2345,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":46229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":46229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":46229,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750454272001,"66":27908,"32":206,"2":54272,"24":45,"16":106618783551979520,"44":-1415889470842507264},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-04-17 01:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750454272001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:21:46] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 01:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:21:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415889470842507264,"description":"Unknown IO ID 44"} 
[2026-04-17 01:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750454272001,"power":27908,"unknown_32":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-1415889470842507264}} 
[2026-04-17 01:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":46229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18452,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:21:46] local.INFO: GPS data processed {"connection_id":46229,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:21:46] local.INFO: Acknowledgment sent {"connection_id":46229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:21:52] local.INFO: TCP Data received {"connection_id":45481,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:21:52] local.INFO: Processing buffer {"connection_id":45481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:21:52] local.INFO: IMEI packet received {"connection_id":45481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":45481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:21:57] local.INFO: TCP Data received {"connection_id":45481,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:21:57] local.INFO: Processing buffer {"connection_id":45481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:21:57] local.INFO: IMEI packet received {"connection_id":45481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":45481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:21:58] local.INFO: TCP Data received {"connection_id":45481,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d85f28012d4d618006529f700008009631..."} 
[2026-04-17 01:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d85f28012d4d618006529f700008009631..."} 
[2026-04-17 01:21:58] local.INFO: Processing buffer {"connection_id":45481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d85f28012d4d618006529f700008009631..."} 
[2026-04-17 01:21:58] local.INFO: Packet analysis {"connection_id":45481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d8"} 
[2026-04-17 01:21:58] local.INFO: Extracted packet for processing {"connection_id":45481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d8"} 
[2026-04-17 01:21:58] local.INFO: GPS Element Parsed {"raw_longitude":760045952,"raw_latitude":106078064,"longitude_deg":76.0045952,"latitude_deg":10.6078064,"altitude":8,"angle":150,"satellites":49,"speed":36,"hex_longitude":"2d4d6180","hex_latitude":"06529f70","is_valid_coordinates":true} 
[2026-04-17 01:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750469888001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273472529220239360,"note":"Value kept but may cause issues"} 
[2026-04-17 01:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5570812028727056384,"note":"Value kept but may cause issues"} 
[2026-04-17 01:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776369033000,"timestamp_ms":1776369033000,"timestamp_seconds":1776369033,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d85f28"} 
[2026-04-17 01:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:21: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-04-17 01:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750469888001,"66":27397,"61":206,"78":62464,"24":36,"16":273472529220239360,"45":5570812028727056384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-04-17 01:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750469888001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:21:58] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-17 01:21:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273472529220239360,"km_value":273472529220239.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5570812028727056384,"description":"Unknown IO ID 45"} 
[2026-04-17 01:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750469888001,"power":27397,"unknown_61":206,"unknown_78":62464,"ignition":36,"odometer":null,"unknown_45":5570812028727056384}} 
[2026-04-17 01:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":45481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:21:58] local.INFO: GPS data processed {"connection_id":45481,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:21:58] local.INFO: Acknowledgment sent {"connection_id":45481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:22:11] local.INFO: TCP Data received {"connection_id":45672,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:22:11] local.INFO: Processing buffer {"connection_id":45672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:22:11] local.INFO: IMEI packet received {"connection_id":45672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":45672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:22:11] local.INFO: TCP Data received {"connection_id":45672,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:22:11] local.INFO: Processing buffer {"connection_id":45672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:22:11] local.INFO: IMEI packet received {"connection_id":45672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":45672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:22:16] local.INFO: TCP Data received {"connection_id":45672,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:22:16] local.INFO: Processing buffer {"connection_id":45672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:22:16] local.INFO: IMEI packet received {"connection_id":45672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":45672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:22:17] local.INFO: TCP Data received {"connection_id":45672,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d7d288012cec600007289f70000900ad35..."} 
[2026-04-17 01:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d7d288012cec600007289f70000900ad35..."} 
[2026-04-17 01:22:17] local.INFO: Processing buffer {"connection_id":45672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d7d288012cec600007289f70000900ad35..."} 
[2026-04-17 01:22:17] local.INFO: Packet analysis {"connection_id":45672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d7"} 
[2026-04-17 01:22:17] local.INFO: Extracted packet for processing {"connection_id":45672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d7"} 
[2026-04-17 01:22:17] local.INFO: GPS Element Parsed {"raw_longitude":753688576,"raw_latitude":120102768,"longitude_deg":75.3688576,"latitude_deg":12.0102768,"altitude":9,"angle":173,"satellites":53,"speed":0,"hex_longitude":"2cec6000","hex_latitude":"07289f70","is_valid_coordinates":true} 
[2026-04-17 01:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:22:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750457856001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:22:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:22:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1416663527033491456,"note":"Value kept but may cause issues"} 
[2026-04-17 01:22:17] 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-04-17 01:22:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776368997000,"timestamp_ms":1776368997000,"timestamp_seconds":1776368997,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d7d288"} 
[2026-04-17 01:22:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:22:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:22:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 01:22:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:22:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:22:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:22:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:22:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:22:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:22:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:22:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:22:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:22:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:22:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750457856001,"66":28104,"32":206,"2":54272,"24":0,"16":106618783551979520,"44":-1416663527033491456},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-04-17 01:22:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:22:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:22:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750457856001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:22:17] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 01:22:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:22:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1416663527033491456,"description":"Unknown IO ID 44"} 
[2026-04-17 01:22:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750457856001,"power":28104,"unknown_32":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1416663527033491456}} 
[2026-04-17 01:22:17] local.INFO: DEBUG: GPS processor result {"connection_id":45672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18454,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:22:17] local.INFO: GPS data processed {"connection_id":45672,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:22:17] local.INFO: Acknowledgment sent {"connection_id":45672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:22:22] local.INFO: TCP Data received {"connection_id":45672,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d8d4580100000000000000000000000000..."} 
[2026-04-17 01:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d8d4580100000000000000000000000000..."} 
[2026-04-17 01:22:22] local.INFO: Processing buffer {"connection_id":45672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d8d4580100000000000000000000000000..."} 
[2026-04-17 01:22:22] local.INFO: Packet analysis {"connection_id":45672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d8"} 
[2026-04-17 01:22:22] local.INFO: Extracted packet for processing {"connection_id":45672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d8"} 
[2026-04-17 01:22: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-04-17 01: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-04-17 01:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750463232001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:22:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1414130252248027136,"note":"Value kept but may cause issues"} 
[2026-04-17 01:22:22] 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-04-17 01:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776369063000,"timestamp_ms":1776369063000,"timestamp_seconds":1776369063,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d8d458"} 
[2026-04-17 01:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:22: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-04-17 01: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-17 01:22:22] 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-04-17 01: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-04-17 01:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":45672,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:22:22] local.INFO: GPS data processed {"connection_id":45672,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:22:22] local.INFO: Acknowledgment sent {"connection_id":45672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:22:29] local.INFO: TCP Data received {"connection_id":45481,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d88a20012d4d738006527e780009009831..."} 
[2026-04-17 01:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d88a20012d4d738006527e780009009831..."} 
[2026-04-17 01:22:29] local.INFO: Processing buffer {"connection_id":45481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d88a20012d4d738006527e780009009831..."} 
[2026-04-17 01:22:29] local.INFO: Packet analysis {"connection_id":45481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d8"} 
[2026-04-17 01:22:29] local.INFO: Extracted packet for processing {"connection_id":45481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d8"} 
[2026-04-17 01:22:29] local.INFO: GPS Element Parsed {"raw_longitude":760050560,"raw_latitude":106069624,"longitude_deg":76.005056,"latitude_deg":10.6069624,"altitude":9,"angle":152,"satellites":49,"speed":33,"hex_longitude":"2d4d7380","hex_latitude":"06527e78","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750472448001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273472997371674624,"note":"Value kept but may cause issues"} 
[2026-04-17 01:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5575878578305724416,"note":"Value kept but may cause issues"} 
[2026-04-17 01:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776369044000,"timestamp_ms":1776369044000,"timestamp_seconds":1776369044,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d88a20"} 
[2026-04-17 01:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:22: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-04-17 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:22:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:22: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-04-17 01:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750472448001,"66":27484,"61":206,"78":62464,"24":33,"16":273472997371674624,"45":5575878578305724416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-04-17 01:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750472448001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:22:29] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-17 01:22:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273472997371674624,"km_value":273472997371674.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5575878578305724416,"description":"Unknown IO ID 45"} 
[2026-04-17 01:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750472448001,"power":27484,"unknown_61":206,"unknown_78":62464,"ignition":33,"odometer":null,"unknown_45":5575878578305724416}} 
[2026-04-17 01:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":45481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18455,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:22:29] local.INFO: GPS data processed {"connection_id":45481,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:22:29] local.INFO: Acknowledgment sent {"connection_id":45481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:22:56] local.INFO: TCP Data received {"connection_id":46230,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:22:56] local.INFO: Processing buffer {"connection_id":46230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:22:56] local.INFO: IMEI packet received {"connection_id":46230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":46230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:22:57] local.INFO: TCP Data received {"connection_id":46230,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:22:57] local.INFO: Processing buffer {"connection_id":46230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:22:57] local.INFO: IMEI packet received {"connection_id":46230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":46230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:23:02] local.INFO: TCP Data received {"connection_id":45416,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:23:02] local.INFO: Processing buffer {"connection_id":45416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:23:02] local.INFO: IMEI packet received {"connection_id":45416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":45416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:23:02] local.INFO: TCP Data received {"connection_id":46230,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:23:02] local.INFO: Processing buffer {"connection_id":46230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:23:02] local.INFO: IMEI packet received {"connection_id":46230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:23:02] local.INFO: IMEI acknowledgment sent {"connection_id":46230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:23:04] local.INFO: TCP Data received {"connection_id":46230,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d8b900012d4d854006525d88000b009830..."} 
[2026-04-17 01:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d8b900012d4d854006525d88000b009830..."} 
[2026-04-17 01:23:04] local.INFO: Processing buffer {"connection_id":46230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d8b900012d4d854006525d88000b009830..."} 
[2026-04-17 01:23:04] local.INFO: Packet analysis {"connection_id":46230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d8"} 
[2026-04-17 01:23:04] local.INFO: Extracted packet for processing {"connection_id":46230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d8"} 
[2026-04-17 01:23:04] local.INFO: GPS Element Parsed {"raw_longitude":760055104,"raw_latitude":106061192,"longitude_deg":76.0055104,"latitude_deg":10.6061192,"altitude":11,"angle":152,"satellites":48,"speed":28,"hex_longitude":"2d4d8540","hex_latitude":"06525d88","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:23:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750475264001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:23:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273473456933175296,"note":"Value kept but may cause issues"} 
[2026-04-17 01:23:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5580945127884355584,"note":"Value kept but may cause issues"} 
[2026-04-17 01:23:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:23:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776369056000,"timestamp_ms":1776369056000,"timestamp_seconds":1776369056,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d8b900"} 
[2026-04-17 01:23:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:23:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 01:23:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:23:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:23:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:23:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:23:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:23:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:23:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:23:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:23:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:23:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750475264001,"66":27397,"61":206,"78":62464,"24":28,"16":273473456933175296,"45":5580945127884355584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-04-17 01:23:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:23:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:23:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750475264001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:23:04] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-17 01:23:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:23:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273473456933175296,"km_value":273473456933175.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:23:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5580945127884355584,"description":"Unknown IO ID 45"} 
[2026-04-17 01:23:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750475264001,"power":27397,"unknown_61":206,"unknown_78":62464,"ignition":28,"odometer":null,"unknown_45":5580945127884355584}} 
[2026-04-17 01:23:04] local.INFO: DEBUG: GPS processor result {"connection_id":46230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:23:04] local.INFO: GPS data processed {"connection_id":46230,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:23:04] local.INFO: Acknowledgment sent {"connection_id":46230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:23:05] local.INFO: TCP Data received {"connection_id":46230,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d8ebc8012d4d970006523cc8000d009631..."} 
[2026-04-17 01:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d8ebc8012d4d970006523cc8000d009631..."} 
[2026-04-17 01:23:05] local.INFO: Processing buffer {"connection_id":46230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d8ebc8012d4d970006523cc8000d009631..."} 
[2026-04-17 01:23:05] local.INFO: Packet analysis {"connection_id":46230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d8"} 
[2026-04-17 01:23:05] local.INFO: Extracted packet for processing {"connection_id":46230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d8"} 
[2026-04-17 01:23:05] local.INFO: GPS Element Parsed {"raw_longitude":760059648,"raw_latitude":106052808,"longitude_deg":76.0059648,"latitude_deg":10.6052808,"altitude":13,"angle":150,"satellites":49,"speed":30,"hex_longitude":"2d4d9700","hex_latitude":"06523cc8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 01:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750478336001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273473920789643264,"note":"Value kept but may cause issues"} 
[2026-04-17 01:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5585941308718811136,"note":"Value kept but may cause issues"} 
[2026-04-17 01:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776369069000,"timestamp_ms":1776369069000,"timestamp_seconds":1776369069,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d8ebc8"} 
[2026-04-17 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-04-17 01:23: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-04-17 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 01:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:23:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750478336001,"66":27463,"61":206,"78":62464,"24":30,"16":273473920789643264,"45":5585941308718811136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-04-17 01:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750478336001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:23:05] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-17 01:23:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273473920789643264,"km_value":273473920789643.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5585941308718811136,"description":"Unknown IO ID 45"} 
[2026-04-17 01:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750478336001,"power":27463,"unknown_61":206,"unknown_78":62464,"ignition":30,"odometer":null,"unknown_45":5585941308718811136}} 
[2026-04-17 01:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":46230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:23:05] local.INFO: GPS data processed {"connection_id":46230,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:23:05] local.INFO: Acknowledgment sent {"connection_id":46230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:23:06] local.INFO: TCP Data received {"connection_id":45416,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:23:06] local.INFO: Processing buffer {"connection_id":45416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:23:06] local.INFO: IMEI packet received {"connection_id":45416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":45416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:23:11] local.INFO: TCP Data received {"connection_id":45416,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:23:11] local.INFO: Processing buffer {"connection_id":45416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:23:11] local.INFO: IMEI packet received {"connection_id":45416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":45416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:23:13] local.INFO: TCP Data received {"connection_id":45416,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d84ba0012cec7200072807f8000800ae35..."} 
[2026-04-17 01:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d84ba0012cec7200072807f8000800ae35..."} 
[2026-04-17 01:23:13] local.INFO: Processing buffer {"connection_id":45416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d84ba0012cec7200072807f8000800ae35..."} 
[2026-04-17 01:23:13] local.INFO: Packet analysis {"connection_id":45416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d8"} 
[2026-04-17 01:23:13] local.INFO: Extracted packet for processing {"connection_id":45416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d8"} 
[2026-04-17 01:23:13] local.INFO: GPS Element Parsed {"raw_longitude":753693184,"raw_latitude":120063992,"longitude_deg":75.3693184,"latitude_deg":12.0063992,"altitude":8,"angle":174,"satellites":53,"speed":29,"hex_longitude":"2cec7200","hex_latitude":"072807f8","is_valid_coordinates":true} 
[2026-04-17 01:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:23:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,32,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776369028000,"timestamp_ms":1776369028000,"timestamp_seconds":1776369028,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d84ba0"} 
[2026-04-17 01:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:23:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 01:23: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-04-17 01:23:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27930,"32":206,"2":54272,"24":29,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16]} 
[2026-04-17 01:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:23:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 01:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:23:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27930,"unknown_32":206,"power_alt":54272,"ignition":29,"odometer":null}} 
[2026-04-17 01:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":45416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18458,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:23:13] local.INFO: GPS data processed {"connection_id":45416,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:23:13] local.INFO: Acknowledgment sent {"connection_id":45416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:23:17] local.INFO: TCP Data received {"connection_id":45416,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d94d700100000000000000000000000000..."} 
[2026-04-17 01:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d94d700100000000000000000000000000..."} 
[2026-04-17 01:23:17] local.INFO: Processing buffer {"connection_id":45416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d94d700100000000000000000000000000..."} 
[2026-04-17 01:23:17] local.INFO: Packet analysis {"connection_id":45416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d9"} 
[2026-04-17 01:23:17] local.INFO: Extracted packet for processing {"connection_id":45416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d9"} 
[2026-04-17 01:23: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-04-17 01: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-04-17 01:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750471168001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:23:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1409063702677161984,"note":"Value kept but may cause issues"} 
[2026-04-17 01:23:17] 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-04-17 01:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776369094000,"timestamp_ms":1776369094000,"timestamp_seconds":1776369094,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d94d70"} 
[2026-04-17 01:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:23:17] 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-04-17 01: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-17 01:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":45416,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:23:17] local.INFO: GPS data processed {"connection_id":45416,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:23:17] local.INFO: Acknowledgment sent {"connection_id":45416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:23:37] local.INFO: TCP Data received {"connection_id":46230,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d91aa8012d4da90006521b90000e009830..."} 
[2026-04-17 01:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d91aa8012d4da90006521b90000e009830..."} 
[2026-04-17 01:23:37] local.INFO: Processing buffer {"connection_id":46230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d91aa8012d4da90006521b90000e009830..."} 
[2026-04-17 01:23:37] local.INFO: Packet analysis {"connection_id":46230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d9"} 
[2026-04-17 01:23:37] local.INFO: Extracted packet for processing {"connection_id":46230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d9"} 
[2026-04-17 01:23:37] local.INFO: GPS Element Parsed {"raw_longitude":760064256,"raw_latitude":106044304,"longitude_deg":76.0064256,"latitude_deg":10.6044304,"altitude":14,"angle":152,"satellites":48,"speed":32,"hex_longitude":"2d4da900","hex_latitude":"06521b90","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750481664001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273474384646111232,"note":"Value kept but may cause issues"} 
[2026-04-17 01:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5590937489553278976,"note":"Value kept but may cause issues"} 
[2026-04-17 01:23:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776369081000,"timestamp_ms":1776369081000,"timestamp_seconds":1776369081,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d91aa8"} 
[2026-04-17 01:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 01:23: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-04-17 01: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-04-17 01:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:23:37] 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-04-17 01:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750481664001,"66":27397,"61":206,"78":62464,"24":32,"16":273474384646111232,"45":5590937489553278976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-04-17 01:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750481664001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:23:37] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-17 01:23:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273474384646111232,"km_value":273474384646111.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5590937489553278976,"description":"Unknown IO ID 45"} 
[2026-04-17 01:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750481664001,"power":27397,"unknown_61":206,"unknown_78":62464,"ignition":32,"odometer":null,"unknown_45":5590937489553278976}} 
[2026-04-17 01:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":46230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:23:37] local.INFO: GPS data processed {"connection_id":46230,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:23:37] local.INFO: Acknowledgment sent {"connection_id":46230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:23:49] local.INFO: TCP Data received {"connection_id":45416,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d8a960012cec81800727c618000700af34..."} 
[2026-04-17 01:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d8a960012cec81800727c618000700af34..."} 
[2026-04-17 01:23:49] local.INFO: Processing buffer {"connection_id":45416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d8a960012cec81800727c618000700af34..."} 
[2026-04-17 01:23:49] local.INFO: Packet analysis {"connection_id":45416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d8"} 
[2026-04-17 01:23:49] local.INFO: Extracted packet for processing {"connection_id":45416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d8"} 
[2026-04-17 01:23:49] local.INFO: GPS Element Parsed {"raw_longitude":753697152,"raw_latitude":120047128,"longitude_deg":75.3697152,"latitude_deg":12.0047128,"altitude":7,"angle":175,"satellites":52,"speed":36,"hex_longitude":"2cec8180","hex_latitude":"0727c618","is_valid_coordinates":true} 
[2026-04-17 01:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:23:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,33,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776369052000,"timestamp_ms":1776369052000,"timestamp_seconds":1776369052,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d8a960"} 
[2026-04-17 01:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 01:23:49] 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-04-17 01: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-04-17 01:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28017,"33":206,"2":54272,"24":36,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16]} 
[2026-04-17 01:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:23:49] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-04-17 01:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:23:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28017,"unknown_33":206,"power_alt":54272,"ignition":36,"odometer":null}} 
[2026-04-17 01:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":45416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18460,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:23:49] local.INFO: GPS data processed {"connection_id":45416,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:23:49] local.INFO: Acknowledgment sent {"connection_id":45416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:23:50] local.INFO: TCP Data received {"connection_id":45482,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:23:50] local.INFO: Processing buffer {"connection_id":45482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:23:50] local.INFO: IMEI packet received {"connection_id":45482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":45482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:23:52] local.INFO: TCP Data received {"connection_id":45482,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:23:52] local.INFO: Processing buffer {"connection_id":45482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:23:52] local.INFO: IMEI packet received {"connection_id":45482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":45482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:23:57] local.INFO: TCP Data received {"connection_id":45482,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:23:57] local.INFO: Processing buffer {"connection_id":45482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:23:57] local.INFO: IMEI packet received {"connection_id":45482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":45482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:23:58] local.INFO: TCP Data received {"connection_id":45482,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d945a0012d4dba400651fba8000e00972f..."} 
[2026-04-17 01:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d945a0012d4dba400651fba8000e00972f..."} 
[2026-04-17 01:23:58] local.INFO: Processing buffer {"connection_id":45482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d945a0012d4dba400651fba8000e00972f..."} 
[2026-04-17 01:23:58] local.INFO: Packet analysis {"connection_id":45482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d9"} 
[2026-04-17 01:23:58] local.INFO: Extracted packet for processing {"connection_id":45482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d9"} 
[2026-04-17 01:23:58] local.INFO: GPS Element Parsed {"raw_longitude":760068672,"raw_latitude":106036136,"longitude_deg":76.0068672,"latitude_deg":10.6036136,"altitude":14,"angle":151,"satellites":47,"speed":34,"hex_longitude":"2d4dba40","hex_latitude":"0651fba8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750484736001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273474835617677312,"note":"Value kept but may cause issues"} 
[2026-04-17 01:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5596004039131893760,"note":"Value kept but may cause issues"} 
[2026-04-17 01:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776369092000,"timestamp_ms":1776369092000,"timestamp_seconds":1776369092,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d945a0"} 
[2026-04-17 01:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:23: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-04-17 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750484736001,"66":27484,"61":206,"78":62464,"24":34,"16":273474835617677312,"45":5596004039131893760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,78,24,16,45]} 
[2026-04-17 01:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750484736001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:23:58] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-17 01:23:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273474835617677312,"km_value":273474835617677.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5596004039131893760,"description":"Unknown IO ID 45"} 
[2026-04-17 01:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750484736001,"power":27484,"unknown_61":206,"unknown_78":62464,"ignition":34,"odometer":null,"unknown_45":5596004039131893760}} 
[2026-04-17 01:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":45482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:23:58] local.INFO: GPS data processed {"connection_id":45482,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:23:58] local.INFO: Acknowledgment sent {"connection_id":45482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:24:07] local.INFO: TCP Data received {"connection_id":45673,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:24:07] local.INFO: Processing buffer {"connection_id":45673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:24:07] local.INFO: IMEI packet received {"connection_id":45673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":45673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:24:11] local.INFO: TCP Data received {"connection_id":45673,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45673,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:24:11] local.INFO: Processing buffer {"connection_id":45673,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:24:11] local.INFO: IMEI packet received {"connection_id":45673,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":45673,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:24:15] local.INFO: TCP Data received {"connection_id":45673,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d8fb68012cec8040072789b8000d00b730..."} 
[2026-04-17 01:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d8fb68012cec8040072789b8000d00b730..."} 
[2026-04-17 01:24:15] local.INFO: Processing buffer {"connection_id":45673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d8fb68012cec8040072789b8000d00b730..."} 
[2026-04-17 01:24:15] local.INFO: Packet analysis {"connection_id":45673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d8"} 
[2026-04-17 01:24:15] local.INFO: Extracted packet for processing {"connection_id":45673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d8"} 
[2026-04-17 01:24:15] local.INFO: GPS Element Parsed {"raw_longitude":753696832,"raw_latitude":120031672,"longitude_deg":75.3696832,"latitude_deg":12.0031672,"altitude":13,"angle":183,"satellites":48,"speed":0,"hex_longitude":"2cec8040","hex_latitude":"072789b8","is_valid_coordinates":true} 
[2026-04-17 01:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750477312001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:24:15] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1404700840542464000,"note":"Value kept but may cause issues"} 
[2026-04-17 01:24:15] 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-04-17 01:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776369073000,"timestamp_ms":1776369073000,"timestamp_seconds":1776369073,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d8fb68"} 
[2026-04-17 01:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:24:15] 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-04-17 01: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-17 01:24:15] 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-04-17 01: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-04-17 01:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":45673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":45673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":45673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750477312001,"66":27865,"33":206,"2":54272,"24":0,"16":106618783551979520,"44":-1404700840542464000},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-04-17 01:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750477312001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:24:15] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-04-17 01:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:24:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1404700840542464000,"description":"Unknown IO ID 44"} 
[2026-04-17 01:24:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750477312001,"power":27865,"unknown_33":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1404700840542464000}} 
[2026-04-17 01:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":45673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18462,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:24:15] local.INFO: GPS data processed {"connection_id":45673,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:24:15] local.INFO: Acknowledgment sent {"connection_id":45673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:24:29] local.INFO: TCP Data received {"connection_id":45482,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97db1678012d4e760006503bf00008009c2e..."} 
[2026-04-17 01:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97db1678012d4e760006503bf00008009c2e..."} 
[2026-04-17 01:24:29] local.INFO: Processing buffer {"connection_id":45482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97db1678012d4e760006503bf00008009c2e..."} 
[2026-04-17 01:24:29] local.INFO: Packet analysis {"connection_id":45482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97db"} 
[2026-04-17 01:24:29] local.INFO: Extracted packet for processing {"connection_id":45482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97db"} 
[2026-04-17 01:24:29] local.INFO: GPS Element Parsed {"raw_longitude":760116736,"raw_latitude":105921520,"longitude_deg":76.0116736,"latitude_deg":10.592152,"altitude":8,"angle":156,"satellites":46,"speed":44,"hex_longitude":"2d4e7600","hex_latitude":"06503bf0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750515712001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273480848571891712,"note":"Value kept but may cause issues"} 
[2026-04-17 01:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5649413915933571072,"note":"Value kept but may cause issues"} 
[2026-04-17 01:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776369211000,"timestamp_ms":1776369211000,"timestamp_seconds":1776369211,"priority":1,"record_length":96,"hex_timestamp":"0000019d97db1678"} 
[2026-04-17 01:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:24: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-04-17 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:24: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-04-17 01:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750515712001,"66":27484,"60":206,"78":62464,"24":44,"16":273480848571891712,"45":5649413915933571072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-04-17 01:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750515712001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:24:29] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-17 01:24:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273480848571891712,"km_value":273480848571891.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5649413915933571072,"description":"Unknown IO ID 45"} 
[2026-04-17 01:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750515712001,"power":27484,"unknown_60":206,"unknown_78":62464,"ignition":44,"odometer":null,"unknown_45":5649413915933571072}} 
[2026-04-17 01:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":45482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:24:29] local.INFO: GPS data processed {"connection_id":45482,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:24:29] local.INFO: Acknowledgment sent {"connection_id":45482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:24:46] local.INFO: TCP Data received {"connection_id":45673,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d94988012cec8300072751b8001200a72f..."} 
[2026-04-17 01:24:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d94988012cec8300072751b8001200a72f..."} 
[2026-04-17 01:24:46] local.INFO: Processing buffer {"connection_id":45673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d94988012cec8300072751b8001200a72f..."} 
[2026-04-17 01:24:46] local.INFO: Packet analysis {"connection_id":45673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d9"} 
[2026-04-17 01:24:46] local.INFO: Extracted packet for processing {"connection_id":45673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d9"} 
[2026-04-17 01:24:46] local.INFO: GPS Element Parsed {"raw_longitude":753697536,"raw_latitude":120017336,"longitude_deg":75.3697536,"latitude_deg":12.0017336,"altitude":18,"angle":167,"satellites":47,"speed":21,"hex_longitude":"2cec8300","hex_latitude":"072751b8","is_valid_coordinates":true} 
[2026-04-17 01:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:24:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750482688001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:24:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:24:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1405052684267309056,"note":"Value kept but may cause issues"} 
[2026-04-17 01:24:46] 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-04-17 01:24:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776369093000,"timestamp_ms":1776369093000,"timestamp_seconds":1776369093,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d94988"} 
[2026-04-17 01:24:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:24:46] 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-04-17 01:24:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-17 01:24:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:24:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:24:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:24:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:24:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:24:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:24:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45673,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:24:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:24:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:24:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:24:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750482688001,"66":27919,"33":206,"2":54272,"24":21,"16":106618783551979520,"44":-1405052684267309056},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-04-17 01:24:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:24:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:24:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750482688001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:24:46] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-04-17 01:24:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:24:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1405052684267309056,"description":"Unknown IO ID 44"} 
[2026-04-17 01:24:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750482688001,"power":27919,"unknown_33":206,"power_alt":54272,"ignition":21,"odometer":null,"unknown_44":-1405052684267309056}} 
[2026-04-17 01:24:46] local.INFO: DEBUG: GPS processor result {"connection_id":45673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18464,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:24:46] local.INFO: GPS data processed {"connection_id":45673,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:24:46] local.INFO: Acknowledgment sent {"connection_id":45673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:24:57] local.INFO: TCP Data received {"connection_id":46231,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:24:57] local.INFO: Processing buffer {"connection_id":46231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:24:57] local.INFO: IMEI packet received {"connection_id":46231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":46231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:25:00] local.INFO: TCP Data received {"connection_id":46231,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46231,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:25:00] local.INFO: Processing buffer {"connection_id":46231,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:25:00] local.INFO: IMEI packet received {"connection_id":46231,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":46231,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:25:01] local.INFO: TCP Data received {"connection_id":46231,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97db35b8012d4e850006501c900009009a2d..."} 
[2026-04-17 01:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97db35b8012d4e850006501c900009009a2d..."} 
[2026-04-17 01:25:01] local.INFO: Processing buffer {"connection_id":46231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97db35b8012d4e850006501c900009009a2d..."} 
[2026-04-17 01:25:01] local.INFO: Packet analysis {"connection_id":46231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97db"} 
[2026-04-17 01:25:01] local.INFO: Extracted packet for processing {"connection_id":46231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97db"} 
[2026-04-17 01:25:01] local.INFO: GPS Element Parsed {"raw_longitude":760120576,"raw_latitude":105913488,"longitude_deg":76.0120576,"latitude_deg":10.5913488,"altitude":9,"angle":154,"satellites":45,"speed":43,"hex_longitude":"2d4e8500","hex_latitude":"06501c90","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750518016001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273481278068621312,"note":"Value kept but may cause issues"} 
[2026-04-17 01:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5653706409326145536,"note":"Value kept but may cause issues"} 
[2026-04-17 01:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776369219000,"timestamp_ms":1776369219000,"timestamp_seconds":1776369219,"priority":1,"record_length":96,"hex_timestamp":"0000019d97db35b8"} 
[2026-04-17 01:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 01:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:25: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-04-17 01:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750518016001,"66":27463,"60":206,"78":62464,"24":43,"16":273481278068621312,"45":5653706409326145536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-04-17 01:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750518016001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:25:01] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-17 01:25:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273481278068621312,"km_value":273481278068621.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":5653706409326145536,"description":"Unknown IO ID 45"} 
[2026-04-17 01:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750518016001,"power":27463,"unknown_60":206,"unknown_78":62464,"ignition":43,"odometer":null,"unknown_45":5653706409326145536}} 
[2026-04-17 01:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":46231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:25:01] local.INFO: GPS data processed {"connection_id":46231,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:25:01] local.INFO: Acknowledgment sent {"connection_id":46231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:25:05] local.INFO: TCP Data received {"connection_id":46232,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46232,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:25:05] local.INFO: Processing buffer {"connection_id":46232,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:25:05] local.INFO: IMEI packet received {"connection_id":46232,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":46232,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:25:06] local.INFO: TCP Data received {"connection_id":46232,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46232,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:25:06] local.INFO: Processing buffer {"connection_id":46232,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:25:06] local.INFO: IMEI packet received {"connection_id":46232,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":46232,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:25:11] local.INFO: TCP Data received {"connection_id":46232,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46232,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:25:11] local.INFO: Processing buffer {"connection_id":46232,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:25:11] local.INFO: IMEI packet received {"connection_id":46232,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":46232,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:25:13] local.INFO: TCP Data received {"connection_id":46232,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97da4b580100000000000000000000000000..."} 
[2026-04-17 01:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97da4b580100000000000000000000000000..."} 
[2026-04-17 01:25:13] local.INFO: Processing buffer {"connection_id":46232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97da4b580100000000000000000000000000..."} 
[2026-04-17 01:25:13] local.INFO: Packet analysis {"connection_id":46232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97da"} 
[2026-04-17 01:25:13] local.INFO: Extracted packet for processing {"connection_id":46232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97da"} 
[2026-04-17 01:25:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 01:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750487808001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:25:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1404278628085024768,"note":"Value kept but may cause issues"} 
[2026-04-17 01:25:13] 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-04-17 01:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776369159000,"timestamp_ms":1776369159000,"timestamp_seconds":1776369159,"priority":1,"record_length":96,"hex_timestamp":"0000019d97da4b58"} 
[2026-04-17 01:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:25:13] 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-04-17 01:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 01:25:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46232,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46232,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":46232,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:25:13] local.INFO: GPS data processed {"connection_id":46232,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:25:13] local.INFO: Acknowledgment sent {"connection_id":46232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:25:31] local.INFO: TCP Data received {"connection_id":46231,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97db58e0012d4e9540064ffb50000b009930..."} 
[2026-04-17 01:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46231,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97db58e0012d4e9540064ffb50000b009930..."} 
[2026-04-17 01:25:31] local.INFO: Processing buffer {"connection_id":46231,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97db58e0012d4e9540064ffb50000b009930..."} 
[2026-04-17 01:25:31] local.INFO: Packet analysis {"connection_id":46231,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97db"} 
[2026-04-17 01:25:31] local.INFO: Extracted packet for processing {"connection_id":46231,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97db"} 
[2026-04-17 01:25:31] local.INFO: GPS Element Parsed {"raw_longitude":760124736,"raw_latitude":105904976,"longitude_deg":76.0124736,"latitude_deg":10.5904976,"altitude":11,"angle":153,"satellites":48,"speed":41,"hex_longitude":"2d4e9540","hex_latitude":"064ffb50","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750520064001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273481733335154688,"note":"Value kept but may cause issues"} 
[2026-04-17 01:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5657928533974749184,"note":"Value kept but may cause issues"} 
[2026-04-17 01:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776369228000,"timestamp_ms":1776369228000,"timestamp_seconds":1776369228,"priority":1,"record_length":96,"hex_timestamp":"0000019d97db58e0"} 
[2026-04-17 01:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 01:25: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-04-17 01: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-04-17 01:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46231,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46231,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750520064001,"66":27397,"60":206,"78":62464,"24":41,"16":273481733335154688,"45":5657928533974749184},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-04-17 01:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750520064001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:25:31] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-17 01:25:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273481733335154688,"km_value":273481733335154.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5657928533974749184,"description":"Unknown IO ID 45"} 
[2026-04-17 01:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750520064001,"power":27397,"unknown_60":206,"unknown_78":62464,"ignition":41,"odometer":null,"unknown_45":5657928533974749184}} 
[2026-04-17 01:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":46231,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:25:31] local.INFO: GPS data processed {"connection_id":46231,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:25:31] local.INFO: Acknowledgment sent {"connection_id":46231,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:25:45] local.INFO: TCP Data received {"connection_id":46232,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97d9b300012cec94c007271f08001500a032..."} 
[2026-04-17 01:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97d9b300012cec94c007271f08001500a032..."} 
[2026-04-17 01:25:45] local.INFO: Processing buffer {"connection_id":46232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97d9b300012cec94c007271f08001500a032..."} 
[2026-04-17 01:25:45] local.INFO: Packet analysis {"connection_id":46232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97d9"} 
[2026-04-17 01:25:45] local.INFO: Extracted packet for processing {"connection_id":46232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97d9"} 
[2026-04-17 01:25:45] local.INFO: GPS Element Parsed {"raw_longitude":753702080,"raw_latitude":120004360,"longitude_deg":75.370208,"latitude_deg":12.000436,"altitude":21,"angle":160,"satellites":50,"speed":22,"hex_longitude":"2cec94c0","hex_latitude":"07271f08","is_valid_coordinates":true} 
[2026-04-17 01:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:25:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,33,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776369120000,"timestamp_ms":1776369120000,"timestamp_seconds":1776369120,"priority":1,"record_length":96,"hex_timestamp":"0000019d97d9b300"} 
[2026-04-17 01:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:25: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 01:25:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:25: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-04-17 01:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46232,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46232,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27876,"33":206,"2":54272,"24":22,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16]} 
[2026-04-17 01:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:25:45] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-04-17 01:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:25:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27876,"unknown_33":206,"power_alt":54272,"ignition":22,"odometer":null}} 
[2026-04-17 01:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":46232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18467,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:25:45] local.INFO: GPS data processed {"connection_id":46232,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:25:45] local.INFO: Acknowledgment sent {"connection_id":46232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:25:53] local.INFO: TCP Data received {"connection_id":45674,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:25:53] local.INFO: Processing buffer {"connection_id":45674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:25:53] local.INFO: IMEI packet received {"connection_id":45674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":45674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:25:57] local.INFO: TCP Data received {"connection_id":45674,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:25:57] local.INFO: Processing buffer {"connection_id":45674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:25:57] local.INFO: IMEI packet received {"connection_id":45674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":45674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:25:58] local.INFO: TCP Data received {"connection_id":45674,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97db7c08012d4ea640064fdba8000c009831..."} 
[2026-04-17 01:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97db7c08012d4ea640064fdba8000c009831..."} 
[2026-04-17 01:25:58] local.INFO: Processing buffer {"connection_id":45674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97db7c08012d4ea640064fdba8000c009831..."} 
[2026-04-17 01:25:58] local.INFO: Packet analysis {"connection_id":45674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97db"} 
[2026-04-17 01:25:58] local.INFO: Extracted packet for processing {"connection_id":45674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97db"} 
[2026-04-17 01:25:58] local.INFO: GPS Element Parsed {"raw_longitude":760129088,"raw_latitude":105896872,"longitude_deg":76.0129088,"latitude_deg":10.5896872,"altitude":12,"angle":152,"satellites":49,"speed":40,"hex_longitude":"2d4ea640","hex_latitude":"064fdba8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750522368001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273482180011753472,"note":"Value kept but may cause issues"} 
[2026-04-17 01:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5662502502344118272,"note":"Value kept but may cause issues"} 
[2026-04-17 01:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776369237000,"timestamp_ms":1776369237000,"timestamp_seconds":1776369237,"priority":1,"record_length":96,"hex_timestamp":"0000019d97db7c08"} 
[2026-04-17 01:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:25: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-04-17 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750522368001,"66":27484,"60":206,"78":62464,"24":40,"16":273482180011753472,"45":5662502502344118272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-04-17 01:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750522368001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:25:58] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-17 01:25:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273482180011753472,"km_value":273482180011753.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5662502502344118272,"description":"Unknown IO ID 45"} 
[2026-04-17 01:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750522368001,"power":27484,"unknown_60":206,"unknown_78":62464,"ignition":40,"odometer":null,"unknown_45":5662502502344118272}} 
[2026-04-17 01:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":45674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:25:58] local.INFO: GPS data processed {"connection_id":45674,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:25:58] local.INFO: Acknowledgment sent {"connection_id":45674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:26:06] local.INFO: TCP Data received {"connection_id":46233,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:26:06] local.INFO: Processing buffer {"connection_id":46233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:26:06] local.INFO: IMEI packet received {"connection_id":46233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":46233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:26:07] local.INFO: TCP Data received {"connection_id":46233,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:26:07] local.INFO: Processing buffer {"connection_id":46233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:26:07] local.INFO: IMEI packet received {"connection_id":46233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:26:07] local.INFO: IMEI acknowledgment sent {"connection_id":46233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:26:13] local.INFO: TCP Data received {"connection_id":46233,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:26:13] local.INFO: Processing buffer {"connection_id":46233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:26:13] local.INFO: IMEI packet received {"connection_id":46233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:26:13] local.INFO: IMEI acknowledgment sent {"connection_id":46233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:26:14] local.INFO: TCP Data received {"connection_id":46233,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97dc3f58012ced10c00725b9080020008b33..."} 
[2026-04-17 01:26:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97dc3f58012ced10c00725b9080020008b33..."} 
[2026-04-17 01:26:14] local.INFO: Processing buffer {"connection_id":46233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97dc3f58012ced10c00725b9080020008b33..."} 
[2026-04-17 01:26:14] local.INFO: Packet analysis {"connection_id":46233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97dc"} 
[2026-04-17 01:26:14] local.INFO: Extracted packet for processing {"connection_id":46233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97dc"} 
[2026-04-17 01:26:14] local.INFO: GPS Element Parsed {"raw_longitude":753733824,"raw_latitude":119912712,"longitude_deg":75.3733824,"latitude_deg":11.9912712,"altitude":32,"angle":139,"satellites":51,"speed":0,"hex_longitude":"2ced10c0","hex_latitude":"0725b908","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:26:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750532096001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:26:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:26:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1375708917972660224,"note":"Value kept but may cause issues"} 
[2026-04-17 01:26:14] 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-04-17 01:26:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776369287000,"timestamp_ms":1776369287000,"timestamp_seconds":1776369287,"priority":1,"record_length":96,"hex_timestamp":"0000019d97dc3f58"} 
[2026-04-17 01:26:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:26: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-04-17 01: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 01:26:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:26:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:26:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:26:14] local.INFO: Teltonika packet parsed successfully {"connection_id":46233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:26:14] local.INFO: Passing IMEI to GPS processor {"connection_id":46233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:26:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":46233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:26:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:26:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:26:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:26:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750532096001,"66":27974,"234":206,"2":54272,"24":0,"16":106618783551979520,"44":-1375708917972660224},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,2,24,16,44]} 
[2026-04-17 01:26:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:26:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:26:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750532096001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:26:14] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-17 01:26:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:26:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1375708917972660224,"description":"Unknown IO ID 44"} 
[2026-04-17 01:26:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750532096001,"power":27974,"unknown_234":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1375708917972660224}} 
[2026-04-17 01:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":46233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18469,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:26:15] local.INFO: GPS data processed {"connection_id":46233,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:26:15] local.INFO: Acknowledgment sent {"connection_id":46233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:26:29] local.INFO: TCP Data received {"connection_id":45674,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97db9f30012d4eb7c0064fbb60000d009731..."} 
[2026-04-17 01:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97db9f30012d4eb7c0064fbb60000d009731..."} 
[2026-04-17 01:26:29] local.INFO: Processing buffer {"connection_id":45674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97db9f30012d4eb7c0064fbb60000d009731..."} 
[2026-04-17 01:26:29] local.INFO: Packet analysis {"connection_id":45674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97db"} 
[2026-04-17 01:26:29] local.INFO: Extracted packet for processing {"connection_id":45674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97db"} 
[2026-04-17 01:26:29] local.INFO: GPS Element Parsed {"raw_longitude":760133568,"raw_latitude":105888608,"longitude_deg":76.0133568,"latitude_deg":10.5888608,"altitude":13,"angle":151,"satellites":49,"speed":42,"hex_longitude":"2d4eb7c0","hex_latitude":"064fbb60","is_valid_coordinates":true} 
[2026-04-17 01:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750524672001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273482635278286848,"note":"Value kept but may cause issues"} 
[2026-04-17 01:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5667287576946124800,"note":"Value kept but may cause issues"} 
[2026-04-17 01:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776369246000,"timestamp_ms":1776369246000,"timestamp_seconds":1776369246,"priority":1,"record_length":96,"hex_timestamp":"0000019d97db9f30"} 
[2026-04-17 01:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:26: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-04-17 01:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 01:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:26:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:26: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-04-17 01:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750524672001,"66":27463,"60":206,"78":62464,"24":42,"16":273482635278286848,"45":5667287576946124800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-04-17 01:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750524672001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:26:29] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-17 01:26:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273482635278286848,"km_value":273482635278286.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5667287576946124800,"description":"Unknown IO ID 45"} 
[2026-04-17 01:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750524672001,"power":27463,"unknown_60":206,"unknown_78":62464,"ignition":42,"odometer":null,"unknown_45":5667287576946124800}} 
[2026-04-17 01:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":45674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:26:29] local.INFO: GPS data processed {"connection_id":45674,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:26:29] local.INFO: Acknowledgment sent {"connection_id":45674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:26:47] local.INFO: TCP Data received {"connection_id":46233,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97dc9160012ced374007258e000020008a33..."} 
[2026-04-17 01:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97dc9160012ced374007258e000020008a33..."} 
[2026-04-17 01:26:47] local.INFO: Processing buffer {"connection_id":46233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97dc9160012ced374007258e000020008a33..."} 
[2026-04-17 01:26:47] local.INFO: Packet analysis {"connection_id":46233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97dc"} 
[2026-04-17 01:26:47] local.INFO: Extracted packet for processing {"connection_id":46233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97dc"} 
[2026-04-17 01:26:47] local.INFO: GPS Element Parsed {"raw_longitude":753743680,"raw_latitude":119901696,"longitude_deg":75.374368,"latitude_deg":11.9901696,"altitude":32,"angle":138,"satellites":51,"speed":25,"hex_longitude":"2ced3740","hex_latitude":"07258e00","is_valid_coordinates":true} 
[2026-04-17 01:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:26:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750537472001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:26:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:26:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1364379550163073024,"note":"Value kept but may cause issues"} 
[2026-04-17 01:26:47] 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-04-17 01:26:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776369308000,"timestamp_ms":1776369308000,"timestamp_seconds":1776369308,"priority":1,"record_length":96,"hex_timestamp":"0000019d97dc9160"} 
[2026-04-17 01:26:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:26:47] 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-04-17 01:26:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 01:26: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-04-17 01:26:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:26:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:26:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:26:47] local.INFO: Teltonika packet parsed successfully {"connection_id":46233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:26:47] local.INFO: Passing IMEI to GPS processor {"connection_id":46233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:26:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":46233,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:26:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:26:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:26:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:26:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750537472001,"66":27745,"234":206,"2":54272,"24":25,"16":106618783551979520,"44":-1364379550163073024},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,2,24,16,44]} 
[2026-04-17 01:26:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:26:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:26:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750537472001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:26:47] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-17 01:26:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:26:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1364379550163073024,"description":"Unknown IO ID 44"} 
[2026-04-17 01:26:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750537472001,"power":27745,"unknown_234":206,"power_alt":54272,"ignition":25,"odometer":null,"unknown_44":-1364379550163073024}} 
[2026-04-17 01:26:47] local.INFO: DEBUG: GPS processor result {"connection_id":46233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18471,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:26:47] local.INFO: GPS data processed {"connection_id":46233,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:26:47] local.INFO: Acknowledgment sent {"connection_id":46233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:26:52] local.INFO: TCP Data received {"connection_id":45675,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:26:52] local.INFO: Processing buffer {"connection_id":45675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:26:52] local.INFO: IMEI packet received {"connection_id":45675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":45675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:26:57] local.INFO: TCP Data received {"connection_id":45675,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:26:57] local.INFO: Processing buffer {"connection_id":45675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:26:57] local.INFO: IMEI packet received {"connection_id":45675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":45675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:26:58] local.INFO: TCP Data received {"connection_id":45675,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97dbbe70012d4ec880064f9cb8000c009731..."} 
[2026-04-17 01:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97dbbe70012d4ec880064f9cb8000c009731..."} 
[2026-04-17 01:26:58] local.INFO: Processing buffer {"connection_id":45675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97dbbe70012d4ec880064f9cb8000c009731..."} 
[2026-04-17 01:26:58] local.INFO: Packet analysis {"connection_id":45675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97db"} 
[2026-04-17 01:26:58] local.INFO: Extracted packet for processing {"connection_id":45675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97db"} 
[2026-04-17 01:26:58] local.INFO: GPS Element Parsed {"raw_longitude":760137856,"raw_latitude":105880760,"longitude_deg":76.0137856,"latitude_deg":10.588076,"altitude":12,"angle":151,"satellites":49,"speed":46,"hex_longitude":"2d4ec880","hex_latitude":"064f9cb8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750526976001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273483064775016448,"note":"Value kept but may cause issues"} 
[2026-04-17 01:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5672213389036445696,"note":"Value kept but may cause issues"} 
[2026-04-17 01:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,60,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776369254000,"timestamp_ms":1776369254000,"timestamp_seconds":1776369254,"priority":1,"record_length":96,"hex_timestamp":"0000019d97dbbe70"} 
[2026-04-17 01:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:26: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-04-17 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 01:26:58] 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-04-17 01: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-04-17 01:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750526976001,"66":27484,"60":206,"78":62464,"24":46,"16":273483064775016448,"45":5672213389036445696},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,78,24,16,45]} 
[2026-04-17 01:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750526976001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:26:58] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-17 01:26:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273483064775016448,"km_value":273483064775016.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5672213389036445696,"description":"Unknown IO ID 45"} 
[2026-04-17 01:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750526976001,"power":27484,"unknown_60":206,"unknown_78":62464,"ignition":46,"odometer":null,"unknown_45":5672213389036445696}} 
[2026-04-17 01:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":45675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:26:58] local.INFO: GPS data processed {"connection_id":45675,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:26:58] local.INFO: Acknowledgment sent {"connection_id":45675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:27:06] local.INFO: TCP Data received {"connection_id":45417,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:27:06] local.INFO: Processing buffer {"connection_id":45417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:27:06] local.INFO: IMEI packet received {"connection_id":45417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":45417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:27:11] local.INFO: TCP Data received {"connection_id":45417,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45417,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:27:11] local.INFO: Processing buffer {"connection_id":45417,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:27:11] local.INFO: IMEI packet received {"connection_id":45417,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":45417,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:27:12] local.INFO: TCP Data received {"connection_id":45417,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97dd93300100000000000000000000000000..."} 
[2026-04-17 01:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97dd93300100000000000000000000000000..."} 
[2026-04-17 01:27:12] local.INFO: Processing buffer {"connection_id":45417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97dd93300100000000000000000000000000..."} 
[2026-04-17 01:27:12] local.INFO: Packet analysis {"connection_id":45417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97dd"} 
[2026-04-17 01:27:12] local.INFO: Extracted packet for processing {"connection_id":45417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97dd"} 
[2026-04-17 01:27: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-04-17 01: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-04-17 01:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750542848001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:27:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1353542763562532864,"note":"Value kept but may cause issues"} 
[2026-04-17 01:27:12] 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-04-17 01:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776369374000,"timestamp_ms":1776369374000,"timestamp_seconds":1776369374,"priority":1,"record_length":96,"hex_timestamp":"0000019d97dd9330"} 
[2026-04-17 01:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:27: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-04-17 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 01:27: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-04-17 01: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-04-17 01:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":45417,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:27:12] local.INFO: GPS data processed {"connection_id":45417,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:27:12] local.INFO: Acknowledgment sent {"connection_id":45417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:27:29] local.INFO: TCP Data received {"connection_id":45675,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ddcdc8012d4fac80064e22180007003e31..."} 
[2026-04-17 01:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ddcdc8012d4fac80064e22180007003e31..."} 
[2026-04-17 01:27:29] local.INFO: Processing buffer {"connection_id":45675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ddcdc8012d4fac80064e22180007003e31..."} 
[2026-04-17 01:27:29] local.INFO: Packet analysis {"connection_id":45675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97dd"} 
[2026-04-17 01:27:29] local.INFO: Extracted packet for processing {"connection_id":45675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97dd"} 
[2026-04-17 01:27:29] local.INFO: GPS Element Parsed {"raw_longitude":760196224,"raw_latitude":105783832,"longitude_deg":76.0196224,"latitude_deg":10.5783832,"altitude":7,"angle":62,"satellites":49,"speed":14,"hex_longitude":"2d4fac80","hex_latitude":"064e2218","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750563072001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273488579513024512,"note":"Value kept but may cause issues"} 
[2026-04-17 01:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5740330333373536256,"note":"Value kept but may cause issues"} 
[2026-04-17 01:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776369389000,"timestamp_ms":1776369389000,"timestamp_seconds":1776369389,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ddcdc8"} 
[2026-04-17 01:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:27: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-04-17 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 01:27: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-04-17 01: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-04-17 01:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:27: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-04-17 01:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750563072001,"66":27332,"172":206,"78":62464,"24":14,"16":273488579513024512,"45":5740330333373536256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,78,24,16,45]} 
[2026-04-17 01:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750563072001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:27:29] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-04-17 01:27:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273488579513024512,"km_value":273488579513024.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5740330333373536256,"description":"Unknown IO ID 45"} 
[2026-04-17 01:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750563072001,"power":27332,"unknown_172":206,"unknown_78":62464,"ignition":14,"odometer":null,"unknown_45":5740330333373536256}} 
[2026-04-17 01:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":45675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:27:29] local.INFO: GPS data processed {"connection_id":45675,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:27:29] local.INFO: Acknowledgment sent {"connection_id":45675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:27:44] local.INFO: TCP Data received {"connection_id":45417,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97dcef20012ced5840072561c0002500972e..."} 
[2026-04-17 01:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97dcef20012ced5840072561c0002500972e..."} 
[2026-04-17 01:27:44] local.INFO: Processing buffer {"connection_id":45417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97dcef20012ced5840072561c0002500972e..."} 
[2026-04-17 01:27:44] local.INFO: Packet analysis {"connection_id":45417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97dc"} 
[2026-04-17 01:27:44] local.INFO: Extracted packet for processing {"connection_id":45417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97dc"} 
[2026-04-17 01:27:44] local.INFO: GPS Element Parsed {"raw_longitude":753752128,"raw_latitude":119890368,"longitude_deg":75.3752128,"latitude_deg":11.9890368,"altitude":37,"angle":151,"satellites":46,"speed":25,"hex_longitude":"2ced5840","hex_latitude":"072561c0","is_valid_coordinates":true} 
[2026-04-17 01:27: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-04-17 01:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:27:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,234,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776369332000,"timestamp_ms":1776369332000,"timestamp_seconds":1776369332,"priority":1,"record_length":96,"hex_timestamp":"0000019d97dcef20"} 
[2026-04-17 01:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:27:44] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:27: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":91,"data_length":795,"current_offset":136} 
[2026-04-17 01:27:44] 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-04-17 01:27: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-04-17 01:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45417,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27484,"234":206,"2":54272,"24":25,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,2,24,16]} 
[2026-04-17 01:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:27:44] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-17 01:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:27:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27484,"unknown_234":206,"power_alt":54272,"ignition":25,"odometer":null}} 
[2026-04-17 01:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":45417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18474,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:27:45] local.INFO: GPS data processed {"connection_id":45417,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:27:45] local.INFO: Acknowledgment sent {"connection_id":45417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:27:57] local.INFO: TCP Data received {"connection_id":45483,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:27:57] local.INFO: Processing buffer {"connection_id":45483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:27:57] local.INFO: IMEI packet received {"connection_id":45483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":45483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:28:02] local.INFO: TCP Data received {"connection_id":45483,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:28:02] local.INFO: Processing buffer {"connection_id":45483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:28:02] local.INFO: IMEI packet received {"connection_id":45483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:28:02] local.INFO: IMEI acknowledgment sent {"connection_id":45483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:28:03] local.INFO: TCP Data received {"connection_id":45483,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97dde538012d4fb740064e25f00008004a2f..."} 
[2026-04-17 01:28:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97dde538012d4fb740064e25f00008004a2f..."} 
[2026-04-17 01:28:03] local.INFO: Processing buffer {"connection_id":45483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97dde538012d4fb740064e25f00008004a2f..."} 
[2026-04-17 01:28:03] local.INFO: Packet analysis {"connection_id":45483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97dd"} 
[2026-04-17 01:28:03] local.INFO: Extracted packet for processing {"connection_id":45483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97dd"} 
[2026-04-17 01:28:03] local.INFO: GPS Element Parsed {"raw_longitude":760198976,"raw_latitude":105784816,"longitude_deg":76.0198976,"latitude_deg":10.5784816,"altitude":8,"angle":74,"satellites":47,"speed":23,"hex_longitude":"2d4fb740","hex_latitude":"064e25f0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:28:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750563584001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:28:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273488716951977984,"note":"Value kept but may cause issues"} 
[2026-04-17 01:28:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5741104389559556096,"note":"Value kept but may cause issues"} 
[2026-04-17 01:28:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:28:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776369395000,"timestamp_ms":1776369395000,"timestamp_seconds":1776369395,"priority":1,"record_length":96,"hex_timestamp":"0000019d97dde538"} 
[2026-04-17 01:28:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:28: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-04-17 01: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 01:28:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:28:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:28:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:28:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:28:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:28:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:28:03] 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-04-17 01:28:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:28:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:28:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750563584001,"66":27321,"172":206,"78":62464,"24":23,"16":273488716951977984,"45":5741104389559556096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,78,24,16,45]} 
[2026-04-17 01:28:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:28:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:28:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750563584001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:28:03] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-04-17 01:28:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:28:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273488716951977984,"km_value":273488716951977.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:28:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5741104389559556096,"description":"Unknown IO ID 45"} 
[2026-04-17 01:28:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750563584001,"power":27321,"unknown_172":206,"unknown_78":62464,"ignition":23,"odometer":null,"unknown_45":5741104389559556096}} 
[2026-04-17 01:28:03] local.INFO: DEBUG: GPS processor result {"connection_id":45483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:28:03] local.INFO: GPS data processed {"connection_id":45483,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:28:03] local.INFO: Acknowledgment sent {"connection_id":45483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:28:11] local.INFO: TCP Data received {"connection_id":45418,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:28:11] local.INFO: Processing buffer {"connection_id":45418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:28:11] local.INFO: IMEI packet received {"connection_id":45418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":45418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:28:16] local.INFO: TCP Data received {"connection_id":45418,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:28:16] local.INFO: Processing buffer {"connection_id":45418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:28:16] local.INFO: IMEI packet received {"connection_id":45418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":45418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:28:17] local.INFO: TCP Data received {"connection_id":45418,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ddf0f00100000000000000000000000000..."} 
[2026-04-17 01:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ddf0f00100000000000000000000000000..."} 
[2026-04-17 01:28:17] local.INFO: Processing buffer {"connection_id":45418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ddf0f00100000000000000000000000000..."} 
[2026-04-17 01:28:17] local.INFO: Packet analysis {"connection_id":45418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97dd"} 
[2026-04-17 01:28:17] local.INFO: Extracted packet for processing {"connection_id":45418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97dd"} 
[2026-04-17 01:28: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-04-17 01:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750548992001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:28:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1344254089333981184,"note":"Value kept but may cause issues"} 
[2026-04-17 01:28:17] 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-04-17 01:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776369398000,"timestamp_ms":1776369398000,"timestamp_seconds":1776369398,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ddf0f0"} 
[2026-04-17 01:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 01:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":45418,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:28:17] local.INFO: GPS data processed {"connection_id":45418,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:28:17] local.INFO: Acknowledgment sent {"connection_id":45418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:28:22] local.INFO: TCP Data received {"connection_id":45418,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97dd4510012ced6fc007252c500023009d2e..."} 
[2026-04-17 01:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97dd4510012ced6fc007252c500023009d2e..."} 
[2026-04-17 01:28:22] local.INFO: Processing buffer {"connection_id":45418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97dd4510012ced6fc007252c500023009d2e..."} 
[2026-04-17 01:28:22] local.INFO: Packet analysis {"connection_id":45418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97dd"} 
[2026-04-17 01:28:22] local.INFO: Extracted packet for processing {"connection_id":45418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97dd"} 
[2026-04-17 01:28:22] local.INFO: GPS Element Parsed {"raw_longitude":753758144,"raw_latitude":119876688,"longitude_deg":75.3758144,"latitude_deg":11.9876688,"altitude":35,"angle":157,"satellites":46,"speed":27,"hex_longitude":"2ced6fc0","hex_latitude":"07252c50","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:28:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:28:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,234,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:28:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776369354000,"timestamp_ms":1776369354000,"timestamp_seconds":1776369354,"priority":1,"record_length":96,"hex_timestamp":"0000019d97dd4510"} 
[2026-04-17 01:28:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:28: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-17 01:28:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:28:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:28:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:28:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:28:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:28:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:28:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:28:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:28:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:28:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"234":206,"2":54272,"24":27,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,2,24,16]} 
[2026-04-17 01:28:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:28:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:28:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:28:22] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-17 01:28:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:28:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27767,"unknown_234":206,"power_alt":54272,"ignition":27,"odometer":null}} 
[2026-04-17 01:28:22] local.INFO: DEBUG: GPS processor result {"connection_id":45418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18476,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:28:22] local.INFO: GPS data processed {"connection_id":45418,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:28:22] local.INFO: Acknowledgment sent {"connection_id":45418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:28:34] local.INFO: TCP Data received {"connection_id":45483,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97de1418012d4fd680064e3190000a003e2f..."} 
[2026-04-17 01:28:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97de1418012d4fd680064e3190000a003e2f..."} 
[2026-04-17 01:28:34] local.INFO: Processing buffer {"connection_id":45483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97de1418012d4fd680064e3190000a003e2f..."} 
[2026-04-17 01:28:34] local.INFO: Packet analysis {"connection_id":45483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97de"} 
[2026-04-17 01:28:34] local.INFO: Extracted packet for processing {"connection_id":45483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97de"} 
[2026-04-17 01:28:34] local.INFO: GPS Element Parsed {"raw_longitude":760206976,"raw_latitude":105787792,"longitude_deg":76.0206976,"latitude_deg":10.5787792,"altitude":10,"angle":62,"satellites":47,"speed":31,"hex_longitude":"2d4fd680","hex_latitude":"064e3190","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:28:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750565120001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:28:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273489124973871104,"note":"Value kept but may cause issues"} 
[2026-04-17 01:28:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5744130245559447552,"note":"Value kept but may cause issues"} 
[2026-04-17 01:28:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:28:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776369407000,"timestamp_ms":1776369407000,"timestamp_seconds":1776369407,"priority":1,"record_length":96,"hex_timestamp":"0000019d97de1418"} 
[2026-04-17 01:28:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:28: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-04-17 01:28:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 01:28: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-04-17 01: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-04-17 01:28:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:28:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:28:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:28:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:28:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:28:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:28:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:28:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:28:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750565120001,"66":27484,"172":206,"78":62464,"24":31,"16":273489124973871104,"45":5744130245559447552},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,78,24,16,45]} 
[2026-04-17 01:28:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:28:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:28:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750565120001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:28:34] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-04-17 01:28:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:28:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273489124973871104,"km_value":273489124973871.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:28:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5744130245559447552,"description":"Unknown IO ID 45"} 
[2026-04-17 01:28:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750565120001,"power":27484,"unknown_172":206,"unknown_78":62464,"ignition":31,"odometer":null,"unknown_45":5744130245559447552}} 
[2026-04-17 01:28:34] local.INFO: DEBUG: GPS processor result {"connection_id":45483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:28:34] local.INFO: GPS data processed {"connection_id":45483,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:28:34] local.INFO: Acknowledgment sent {"connection_id":45483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:28:57] local.INFO: TCP Data received {"connection_id":46234,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:28:57] local.INFO: Processing buffer {"connection_id":46234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:28:57] local.INFO: IMEI packet received {"connection_id":46234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":46234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:29:03] local.INFO: TCP Data received {"connection_id":46234,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46234,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:29:03] local.INFO: Processing buffer {"connection_id":46234,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:29:03] local.INFO: IMEI packet received {"connection_id":46234,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:29:03] local.INFO: IMEI acknowledgment sent {"connection_id":46234,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:29:04] local.INFO: TCP Data received {"connection_id":46234,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97de42f8012d4ff500064e4528000c00372f..."} 
[2026-04-17 01:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97de42f8012d4ff500064e4528000c00372f..."} 
[2026-04-17 01:29:04] local.INFO: Processing buffer {"connection_id":46234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97de42f8012d4ff500064e4528000c00372f..."} 
[2026-04-17 01:29:04] local.INFO: Packet analysis {"connection_id":46234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97de"} 
[2026-04-17 01:29:04] local.INFO: Extracted packet for processing {"connection_id":46234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97de"} 
[2026-04-17 01:29:04] local.INFO: GPS Element Parsed {"raw_longitude":760214784,"raw_latitude":105792808,"longitude_deg":76.0214784,"latitude_deg":10.5792808,"altitude":12,"angle":55,"satellites":47,"speed":27,"hex_longitude":"2d4ff500","hex_latitude":"064e4528","is_valid_coordinates":true} 
[2026-04-17 01:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750568192001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273489571650469888,"note":"Value kept but may cause issues"} 
[2026-04-17 01:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5752926338582417408,"note":"Value kept but may cause issues"} 
[2026-04-17 01:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776369419000,"timestamp_ms":1776369419000,"timestamp_seconds":1776369419,"priority":1,"record_length":96,"hex_timestamp":"0000019d97de42f8"} 
[2026-04-17 01:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 01:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750568192001,"66":27484,"173":206,"78":62464,"24":27,"16":273489571650469888,"45":5752926338582417408},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,78,24,16,45]} 
[2026-04-17 01:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750568192001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:29:04] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-04-17 01:29:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273489571650469888,"km_value":273489571650469.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5752926338582417408,"description":"Unknown IO ID 45"} 
[2026-04-17 01:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750568192001,"power":27484,"unknown_173":206,"unknown_78":62464,"ignition":27,"odometer":null,"unknown_45":5752926338582417408}} 
[2026-04-17 01:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":46234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18478,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:29:04] local.INFO: GPS data processed {"connection_id":46234,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:29:04] local.INFO: Acknowledgment sent {"connection_id":46234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:29:06] local.INFO: TCP Data received {"connection_id":45676,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:29:06] local.INFO: Processing buffer {"connection_id":45676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:29:06] local.INFO: IMEI packet received {"connection_id":45676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":45676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:29:08] local.INFO: TCP Data received {"connection_id":45676,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:29:08] local.INFO: Processing buffer {"connection_id":45676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:29:08] local.INFO: IMEI packet received {"connection_id":45676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":45676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:29:09] local.INFO: TCP Data received {"connection_id":45676,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97de46e00100000000000000000000000000..."} 
[2026-04-17 01:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97de46e00100000000000000000000000000..."} 
[2026-04-17 01:29:09] local.INFO: Processing buffer {"connection_id":45676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97de46e00100000000000000000000000000..."} 
[2026-04-17 01:29:09] local.INFO: Packet analysis {"connection_id":45676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97de"} 
[2026-04-17 01:29:09] local.INFO: Extracted packet for processing {"connection_id":45676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97de"} 
[2026-04-17 01:29:09] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:29:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750554624001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:29:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:29:09] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1337639427384782848,"note":"Value kept but may cause issues"} 
[2026-04-17 01:29:09] 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-04-17 01:29:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776369420000,"timestamp_ms":1776369420000,"timestamp_seconds":1776369420,"priority":1,"record_length":96,"hex_timestamp":"0000019d97de46e0"} 
[2026-04-17 01:29:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:29:09] 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-04-17 01: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-17 01:29: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-04-17 01: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-04-17 01:29:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:29:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:29:09] local.INFO: Teltonika packet parsed successfully {"connection_id":45676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:29:09] local.INFO: Passing IMEI to GPS processor {"connection_id":45676,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:29:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":45676,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:29:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:29:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:29:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:29:09] local.INFO: DEBUG: GPS processor result {"connection_id":45676,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:29:09] local.INFO: GPS data processed {"connection_id":45676,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:29:09] local.INFO: Acknowledgment sent {"connection_id":45676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:29:35] local.INFO: TCP Data received {"connection_id":46234,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97df6408012d508a40064e12280009009330..."} 
[2026-04-17 01:29:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46234,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97df6408012d508a40064e12280009009330..."} 
[2026-04-17 01:29:35] local.INFO: Processing buffer {"connection_id":46234,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97df6408012d508a40064e12280009009330..."} 
[2026-04-17 01:29:35] local.INFO: Packet analysis {"connection_id":46234,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97df"} 
[2026-04-17 01:29:35] local.INFO: Extracted packet for processing {"connection_id":46234,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97df"} 
[2026-04-17 01:29:35] local.INFO: GPS Element Parsed {"raw_longitude":760252992,"raw_latitude":105779752,"longitude_deg":76.0252992,"latitude_deg":10.5779752,"altitude":9,"angle":147,"satellites":48,"speed":25,"hex_longitude":"2d508a40","hex_latitude":"064e1228","is_valid_coordinates":true} 
[2026-04-17 01:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:29:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750586880001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:29:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273492118566076416,"note":"Value kept but may cause issues"} 
[2026-04-17 01:29:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5797891966111803392,"note":"Value kept but may cause issues"} 
[2026-04-17 01:29:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:29:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776369493000,"timestamp_ms":1776369493000,"timestamp_seconds":1776369493,"priority":1,"record_length":96,"hex_timestamp":"0000019d97df6408"} 
[2026-04-17 01:29:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:29: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-04-17 01:29:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":45,"data_length":795,"current_offset":136} 
[2026-04-17 01:29:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1123,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:29:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:29:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:29:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:29:35] local.INFO: Teltonika packet parsed successfully {"connection_id":46234,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:29:35] local.INFO: Passing IMEI to GPS processor {"connection_id":46234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:29:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":46234,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:29: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-04-17 01:29:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:29:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:29:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750586880001,"66":27484,"171":206,"78":62464,"24":25,"16":273492118566076416,"45":5797891966111803392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-04-17 01:29:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:29:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:29:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750586880001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:29:35] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-04-17 01:29:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:29:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273492118566076416,"km_value":273492118566076.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:29:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5797891966111803392,"description":"Unknown IO ID 45"} 
[2026-04-17 01:29:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750586880001,"power":27484,"unknown_171":206,"unknown_78":62464,"ignition":25,"odometer":null,"unknown_45":5797891966111803392}} 
[2026-04-17 01:29:35] local.INFO: DEBUG: GPS processor result {"connection_id":46234,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:29:35] local.INFO: GPS data processed {"connection_id":46234,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:29:35] local.INFO: Acknowledgment sent {"connection_id":46234,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:29:41] local.INFO: TCP Data received {"connection_id":45676,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97dd9b00012ced800007250328002100a92c..."} 
[2026-04-17 01:29:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97dd9b00012ced800007250328002100a92c..."} 
[2026-04-17 01:29:41] local.INFO: Processing buffer {"connection_id":45676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97dd9b00012ced800007250328002100a92c..."} 
[2026-04-17 01:29:41] local.INFO: Packet analysis {"connection_id":45676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97dd"} 
[2026-04-17 01:29:41] local.INFO: Extracted packet for processing {"connection_id":45676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97dd"} 
[2026-04-17 01:29:41] local.INFO: GPS Element Parsed {"raw_longitude":753762304,"raw_latitude":119866152,"longitude_deg":75.3762304,"latitude_deg":11.9866152,"altitude":33,"angle":169,"satellites":44,"speed":10,"hex_longitude":"2ced8000","hex_latitude":"07250328","is_valid_coordinates":true} 
[2026-04-17 01:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:29:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:29:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,234,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:29:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776369376000,"timestamp_ms":1776369376000,"timestamp_seconds":1776369376,"priority":1,"record_length":96,"hex_timestamp":"0000019d97dd9b00"} 
[2026-04-17 01:29:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:29:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:29:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-17 01:29:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:29:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:29:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:29:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:29:41] local.INFO: Teltonika packet parsed successfully {"connection_id":45676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:29:41] local.INFO: Passing IMEI to GPS processor {"connection_id":45676,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:29:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":45676,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:29:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:29:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:29:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:29:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28071,"234":206,"2":54272,"24":10,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,2,24,16]} 
[2026-04-17 01:29:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:29:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:29:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:29:41] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-17 01:29:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:29:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28071,"unknown_234":206,"power_alt":54272,"ignition":10,"odometer":null}} 
[2026-04-17 01:29:41] local.INFO: DEBUG: GPS processor result {"connection_id":45676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18480,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:29:41] local.INFO: GPS data processed {"connection_id":45676,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:29:41] local.INFO: Acknowledgment sent {"connection_id":45676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:29:52] local.INFO: TCP Data received {"connection_id":45484,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:29:52] local.INFO: Processing buffer {"connection_id":45484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:29:52] local.INFO: IMEI packet received {"connection_id":45484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":45484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:29:57] local.INFO: TCP Data received {"connection_id":45484,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:29:57] local.INFO: Processing buffer {"connection_id":45484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:29:57] local.INFO: IMEI packet received {"connection_id":45484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":45484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:29:58] local.INFO: TCP Data received {"connection_id":45484,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97dfa670012d5099c0064df5c80006009f30..."} 
[2026-04-17 01:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97dfa670012d5099c0064df5c80006009f30..."} 
[2026-04-17 01:29:58] local.INFO: Processing buffer {"connection_id":45484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97dfa670012d5099c0064df5c80006009f30..."} 
[2026-04-17 01:29:58] local.INFO: Packet analysis {"connection_id":45484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97df"} 
[2026-04-17 01:29:58] local.INFO: Extracted packet for processing {"connection_id":45484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97df"} 
[2026-04-17 01:29:58] local.INFO: GPS Element Parsed {"raw_longitude":760256960,"raw_latitude":105772488,"longitude_deg":76.025696,"latitude_deg":10.5772488,"altitude":6,"angle":159,"satellites":48,"speed":9,"hex_longitude":"2d5099c0","hex_latitude":"064df5c8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750590208001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273492517998034944,"note":"Value kept but may cause issues"} 
[2026-04-17 01:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5803521465644099584,"note":"Value kept but may cause issues"} 
[2026-04-17 01:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,171,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776369510000,"timestamp_ms":1776369510000,"timestamp_seconds":1776369510,"priority":1,"record_length":96,"hex_timestamp":"0000019d97dfa670"} 
[2026-04-17 01:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:29: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-04-17 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 01:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750590208001,"66":27571,"171":206,"78":62464,"24":9,"16":273492517998034944,"45":5803521465644099584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,171,78,24,16,45]} 
[2026-04-17 01:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750590208001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:29:58] local.INFO: Unknown IO ID detected {"io_id":171,"value":206,"description":"Unknown IO ID 171"} 
[2026-04-17 01:29:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273492517998034944,"km_value":273492517998034.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5803521465644099584,"description":"Unknown IO ID 45"} 
[2026-04-17 01:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750590208001,"power":27571,"unknown_171":206,"unknown_78":62464,"ignition":9,"odometer":null,"unknown_45":5803521465644099584}} 
[2026-04-17 01:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":45484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:29:58] local.INFO: GPS data processed {"connection_id":45484,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:29:58] local.INFO: Acknowledgment sent {"connection_id":45484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:30:08] local.INFO: TCP Data received {"connection_id":45677,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:30:08] local.INFO: Processing buffer {"connection_id":45677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:30:08] local.INFO: IMEI packet received {"connection_id":45677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":45677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:30:11] local.INFO: TCP Data received {"connection_id":45677,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:30:11] local.INFO: Processing buffer {"connection_id":45677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:30:11] local.INFO: IMEI packet received {"connection_id":45677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":45677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:30:12] local.INFO: TCP Data received {"connection_id":45677,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97dded08012ced800007250328002100a92c..."} 
[2026-04-17 01:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97dded08012ced800007250328002100a92c..."} 
[2026-04-17 01:30:12] local.INFO: Processing buffer {"connection_id":45677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97dded08012ced800007250328002100a92c..."} 
[2026-04-17 01:30:12] local.INFO: Packet analysis {"connection_id":45677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97dd"} 
[2026-04-17 01:30:12] local.INFO: Extracted packet for processing {"connection_id":45677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97dd"} 
[2026-04-17 01:30:12] local.INFO: GPS Element Parsed {"raw_longitude":753762304,"raw_latitude":119866152,"longitude_deg":75.3762304,"latitude_deg":11.9866152,"altitude":33,"angle":169,"satellites":44,"speed":0,"hex_longitude":"2ced8000","hex_latitude":"07250328","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750560256001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:30:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1333065459015931904,"note":"Value kept but may cause issues"} 
[2026-04-17 01:30:12] 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-04-17 01:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776369397000,"timestamp_ms":1776369397000,"timestamp_seconds":1776369397,"priority":1,"record_length":96,"hex_timestamp":"0000019d97dded08"} 
[2026-04-17 01:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:30: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-04-17 01: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":167,"data_length":795,"current_offset":136} 
[2026-04-17 01:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750560256001,"66":27952,"234":206,"2":54272,"24":0,"16":106618783551979520,"44":-1333065459015931904},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,2,24,16,44]} 
[2026-04-17 01:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750560256001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:30:12] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-17 01:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:30:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1333065459015931904,"description":"Unknown IO ID 44"} 
[2026-04-17 01:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750560256001,"power":27952,"unknown_234":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1333065459015931904}} 
[2026-04-17 01:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":45677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18482,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:30:12] local.INFO: GPS data processed {"connection_id":45677,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:30:12] local.INFO: Acknowledgment sent {"connection_id":45677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:30:17] local.INFO: TCP Data received {"connection_id":45677,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97deeed80100000000000000000000000000..."} 
[2026-04-17 01:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97deeed80100000000000000000000000000..."} 
[2026-04-17 01:30:17] local.INFO: Processing buffer {"connection_id":45677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97deeed80100000000000000000000000000..."} 
[2026-04-17 01:30:17] local.INFO: Packet analysis {"connection_id":45677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97de"} 
[2026-04-17 01:30:17] local.INFO: Extracted packet for processing {"connection_id":45677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97de"} 
[2026-04-17 01:30: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-04-17 01:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750565632001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:30:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1333065459015931904,"note":"Value kept but may cause issues"} 
[2026-04-17 01:30:17] 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-04-17 01:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776369463000,"timestamp_ms":1776369463000,"timestamp_seconds":1776369463,"priority":1,"record_length":96,"hex_timestamp":"0000019d97deeed8"} 
[2026-04-17 01:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:30:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 01:30:17] 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-04-17 01:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":45677,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:30:17] local.INFO: GPS data processed {"connection_id":45677,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:30:17] local.INFO: Acknowledgment sent {"connection_id":45677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:30:30] local.INFO: TCP Data received {"connection_id":45484,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97dff878012d50a400064ddd680004009830..."} 
[2026-04-17 01:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97dff878012d50a400064ddd680004009830..."} 
[2026-04-17 01:30:30] local.INFO: Processing buffer {"connection_id":45484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97dff878012d50a400064ddd680004009830..."} 
[2026-04-17 01:30:30] local.INFO: Packet analysis {"connection_id":45484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97df"} 
[2026-04-17 01:30:30] local.INFO: Extracted packet for processing {"connection_id":45484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97df"} 
[2026-04-17 01:30:30] local.INFO: GPS Element Parsed {"raw_longitude":760259584,"raw_latitude":105766248,"longitude_deg":76.0259584,"latitude_deg":10.5766248,"altitude":4,"angle":152,"satellites":48,"speed":22,"hex_longitude":"2d50a400","hex_latitude":"064ddd68","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750594560001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273492848710516736,"note":"Value kept but may cause issues"} 
[2026-04-17 01:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5807884327781255168,"note":"Value kept but may cause issues"} 
[2026-04-17 01:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776369531000,"timestamp_ms":1776369531000,"timestamp_seconds":1776369531,"priority":1,"record_length":96,"hex_timestamp":"0000019d97dff878"} 
[2026-04-17 01:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:30: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-04-17 01:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-17 01:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:30: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-04-17 01:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750594560001,"66":27321,"239":206,"78":62464,"24":22,"16":273492848710516736,"45":5807884327781255168},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-04-17 01:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750594560001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:30:30] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-04-17 01:30:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273492848710516736,"km_value":273492848710516.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5807884327781255168,"description":"Unknown IO ID 45"} 
[2026-04-17 01:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750594560001,"power":27321,"unknown_239":206,"unknown_78":62464,"ignition":22,"odometer":null,"unknown_45":5807884327781255168}} 
[2026-04-17 01:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":45484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:30:30] local.INFO: GPS data processed {"connection_id":45484,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:30:30] local.INFO: Acknowledgment sent {"connection_id":45484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:30:48] local.INFO: TCP Data received {"connection_id":45677,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e167a80100000000000000000000000000..."} 
[2026-04-17 01:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e167a80100000000000000000000000000..."} 
[2026-04-17 01:30:48] local.INFO: Processing buffer {"connection_id":45677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e167a80100000000000000000000000000..."} 
[2026-04-17 01:30:48] local.INFO: Packet analysis {"connection_id":45677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e1"} 
[2026-04-17 01:30:48] local.INFO: Extracted packet for processing {"connection_id":45677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e1"} 
[2026-04-17 01:30: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-04-17 01: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-04-17 01:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750607104001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:30:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1367616512432439296,"note":"Value kept but may cause issues"} 
[2026-04-17 01:30:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776369625000,"timestamp_ms":1776369625000,"timestamp_seconds":1776369625,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e167a8"} 
[2026-04-17 01:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 01:30: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-04-17 01: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-04-17 01:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":45677,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:30:48] local.INFO: GPS data processed {"connection_id":45677,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:30:48] local.INFO: Acknowledgment sent {"connection_id":45677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:30:52] local.INFO: TCP Data received {"connection_id":45678,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:30:52] local.INFO: Processing buffer {"connection_id":45678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:30:52] local.INFO: IMEI packet received {"connection_id":45678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":45678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:30:54] local.INFO: TCP Data received {"connection_id":45678,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:30:54] local.INFO: Processing buffer {"connection_id":45678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:30:54] local.INFO: IMEI packet received {"connection_id":45678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":45678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:30:54] local.INFO: TCP Data received {"connection_id":45678,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:30:54] local.INFO: Processing buffer {"connection_id":45678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:30:54] local.INFO: IMEI packet received {"connection_id":45678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":45678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:30:57] local.INFO: TCP Data received {"connection_id":45678,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:30:57] local.INFO: Processing buffer {"connection_id":45678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:30:57] local.INFO: IMEI packet received {"connection_id":45678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":45678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:30:59] local.INFO: TCP Data received {"connection_id":45678,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e036f8012d50b6c0064dbfe00004008e31..."} 
[2026-04-17 01:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e036f8012d50b6c0064dbfe00004008e31..."} 
[2026-04-17 01:30:59] local.INFO: Processing buffer {"connection_id":45678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e036f8012d50b6c0064dbfe00004008e31..."} 
[2026-04-17 01:30:59] local.INFO: Packet analysis {"connection_id":45678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e0"} 
[2026-04-17 01:30:59] local.INFO: Extracted packet for processing {"connection_id":45678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e0"} 
[2026-04-17 01:30:59] local.INFO: GPS Element Parsed {"raw_longitude":760264384,"raw_latitude":105758688,"longitude_deg":76.0264384,"latitude_deg":10.5758688,"altitude":4,"angle":142,"satellites":49,"speed":18,"hex_longitude":"2d50b6c0","hex_latitude":"064dbfe0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750599936001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273493282502213632,"note":"Value kept but may cause issues"} 
[2026-04-17 01:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5810769446290941952,"note":"Value kept but may cause issues"} 
[2026-04-17 01:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776369547000,"timestamp_ms":1776369547000,"timestamp_seconds":1776369547,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e036f8"} 
[2026-04-17 01:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:30: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-04-17 01:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 01:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750599936001,"66":27397,"239":206,"78":62464,"24":18,"16":273493282502213632,"45":5810769446290941952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-04-17 01:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750599936001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:30:59] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-04-17 01:30:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273493282502213632,"km_value":273493282502213.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5810769446290941952,"description":"Unknown IO ID 45"} 
[2026-04-17 01:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750599936001,"power":27397,"unknown_239":206,"unknown_78":62464,"ignition":18,"odometer":null,"unknown_45":5810769446290941952}} 
[2026-04-17 01:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":45678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:30:59] local.INFO: GPS data processed {"connection_id":45678,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:30:59] local.INFO: Acknowledgment sent {"connection_id":45678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:31:06] local.INFO: TCP Data received {"connection_id":46235,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:31:06] local.INFO: Processing buffer {"connection_id":46235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:31:06] local.INFO: IMEI packet received {"connection_id":46235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":46235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:31:11] local.INFO: TCP Data received {"connection_id":46235,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46235,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:31:11] local.INFO: Processing buffer {"connection_id":46235,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:31:11] local.INFO: IMEI packet received {"connection_id":46235,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":46235,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:31:12] local.INFO: TCP Data received {"connection_id":46235,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e0d338012cecdc40072362c8002200ec33..."} 
[2026-04-17 01:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e0d338012cecdc40072362c8002200ec33..."} 
[2026-04-17 01:31:12] local.INFO: Processing buffer {"connection_id":46235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e0d338012cecdc40072362c8002200ec33..."} 
[2026-04-17 01:31:12] local.INFO: Packet analysis {"connection_id":46235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e0"} 
[2026-04-17 01:31:12] local.INFO: Extracted packet for processing {"connection_id":46235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e0"} 
[2026-04-17 01:31:12] local.INFO: GPS Element Parsed {"raw_longitude":753720384,"raw_latitude":119759560,"longitude_deg":75.3720384,"latitude_deg":11.975956,"altitude":34,"angle":236,"satellites":51,"speed":18,"hex_longitude":"2cecdc40","hex_latitude":"072362c8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:31:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,235,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776369587000,"timestamp_ms":1776369587000,"timestamp_seconds":1776369587,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e0d338"} 
[2026-04-17 01:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:31: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 01:31:12] 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-04-17 01: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-04-17 01:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28006,"235":206,"2":54272,"24":18,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16]} 
[2026-04-17 01:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:31:12] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 01:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:31:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28006,"unknown_235":206,"power_alt":54272,"ignition":18,"odometer":null}} 
[2026-04-17 01:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":46235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18485,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:31:12] local.INFO: GPS data processed {"connection_id":46235,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:31:12] local.INFO: Acknowledgment sent {"connection_id":46235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:31:30] local.INFO: TCP Data received {"connection_id":45678,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e08518012d50cb40064da2780005009532..."} 
[2026-04-17 01:31:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e08518012d50cb40064da2780005009532..."} 
[2026-04-17 01:31:30] local.INFO: Processing buffer {"connection_id":45678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e08518012d50cb40064da2780005009532..."} 
[2026-04-17 01:31:30] local.INFO: Packet analysis {"connection_id":45678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e0"} 
[2026-04-17 01:31:30] local.INFO: Extracted packet for processing {"connection_id":45678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e0"} 
[2026-04-17 01:31:30] local.INFO: GPS Element Parsed {"raw_longitude":760269632,"raw_latitude":105751160,"longitude_deg":76.0269632,"latitude_deg":10.575116,"altitude":5,"angle":149,"satellites":50,"speed":20,"hex_longitude":"2d50cb40","hex_latitude":"064da278","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:31:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750604032001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:31:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273493724883845120,"note":"Value kept but may cause issues"} 
[2026-04-17 01:31:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5816047102102331392,"note":"Value kept but may cause issues"} 
[2026-04-17 01:31:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:31:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776369567000,"timestamp_ms":1776369567000,"timestamp_seconds":1776369567,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e08518"} 
[2026-04-17 01:31:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:31: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-04-17 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:31: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-04-17 01: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-04-17 01:31:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:31:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:31:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:31:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:31:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:31: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-04-17 01:31:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:31:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:31:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750604032001,"66":27365,"239":206,"78":62464,"24":20,"16":273493724883845120,"45":5816047102102331392},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-04-17 01:31:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:31:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:31:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750604032001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:31:30] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-04-17 01:31:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:31:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273493724883845120,"km_value":273493724883845.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:31:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5816047102102331392,"description":"Unknown IO ID 45"} 
[2026-04-17 01:31:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750604032001,"power":27365,"unknown_239":206,"unknown_78":62464,"ignition":20,"odometer":null,"unknown_45":5816047102102331392}} 
[2026-04-17 01:31:30] local.INFO: DEBUG: GPS processor result {"connection_id":45678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:31:30] local.INFO: GPS data processed {"connection_id":45678,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:31:30] local.INFO: Acknowledgment sent {"connection_id":45678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:31:44] local.INFO: TCP Data received {"connection_id":46235,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e1d5080100000000000000000000000000..."} 
[2026-04-17 01:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e1d5080100000000000000000000000000..."} 
[2026-04-17 01:31:44] local.INFO: Processing buffer {"connection_id":46235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e1d5080100000000000000000000000000..."} 
[2026-04-17 01:31:44] local.INFO: Packet analysis {"connection_id":46235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e1"} 
[2026-04-17 01:31:44] local.INFO: Extracted packet for processing {"connection_id":46235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e1"} 
[2026-04-17 01: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-04-17 01: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-04-17 01:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750614272001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:31:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1379156986479589376,"note":"Value kept but may cause issues"} 
[2026-04-17 01:31:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776369653000,"timestamp_ms":1776369653000,"timestamp_seconds":1776369653,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e1d508"} 
[2026-04-17 01:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:31:44] 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-04-17 01: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 01:31:44] 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-04-17 01: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-04-17 01:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46235,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":46235,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:31:44] local.INFO: GPS data processed {"connection_id":46235,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:31:44] local.INFO: Acknowledgment sent {"connection_id":46235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:31:57] local.INFO: TCP Data received {"connection_id":46236,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:31:57] local.INFO: Processing buffer {"connection_id":46236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:31:57] local.INFO: IMEI packet received {"connection_id":46236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":46236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:32:02] local.INFO: TCP Data received {"connection_id":46236,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46236,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:32:02] local.INFO: Processing buffer {"connection_id":46236,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:32:02] local.INFO: IMEI packet received {"connection_id":46236,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:32:02] local.INFO: IMEI acknowledgment sent {"connection_id":46236,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:32:04] local.INFO: TCP Data received {"connection_id":46236,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e0c780012d50dd00064d82c00003009832..."} 
[2026-04-17 01:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e0c780012d50dd00064d82c00003009832..."} 
[2026-04-17 01:32:04] local.INFO: Processing buffer {"connection_id":46236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e0c780012d50dd00064d82c00003009832..."} 
[2026-04-17 01:32:04] local.INFO: Packet analysis {"connection_id":46236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e0"} 
[2026-04-17 01:32:04] local.INFO: Extracted packet for processing {"connection_id":46236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e0"} 
[2026-04-17 01:32:04] local.INFO: GPS Element Parsed {"raw_longitude":760274176,"raw_latitude":105743040,"longitude_deg":76.0274176,"latitude_deg":10.574304,"altitude":3,"angle":152,"satellites":50,"speed":24,"hex_longitude":"2d50dd00","hex_latitude":"064d82c0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 01:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750609152001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273494175855411200,"note":"Value kept but may cause issues"} 
[2026-04-17 01:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5821817339122972672,"note":"Value kept but may cause issues"} 
[2026-04-17 01:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776369584000,"timestamp_ms":1776369584000,"timestamp_seconds":1776369584,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e0c780"} 
[2026-04-17 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-04-17 01:32:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 01:32: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-04-17 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-04-17 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-04-17 01:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750609152001,"66":27484,"239":206,"78":62464,"24":24,"16":273494175855411200,"45":5821817339122972672},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-04-17 01:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750609152001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:32:04] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-04-17 01:32:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273494175855411200,"km_value":273494175855411.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5821817339122972672,"description":"Unknown IO ID 45"} 
[2026-04-17 01:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750609152001,"power":27484,"unknown_239":206,"unknown_78":62464,"ignition":24,"odometer":null,"unknown_45":5821817339122972672}} 
[2026-04-17 01:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":46236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:32:04] local.INFO: GPS data processed {"connection_id":46236,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:32:04] local.INFO: Acknowledgment sent {"connection_id":46236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:32:05] local.INFO: TCP Data received {"connection_id":46236,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e0f278012d50e480064d7030000300a431..."} 
[2026-04-17 01:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e0f278012d50e480064d7030000300a431..."} 
[2026-04-17 01:32:05] local.INFO: Processing buffer {"connection_id":46236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e0f278012d50e480064d7030000300a431..."} 
[2026-04-17 01:32:05] local.INFO: Packet analysis {"connection_id":46236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e0"} 
[2026-04-17 01:32:05] local.INFO: Extracted packet for processing {"connection_id":46236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e0"} 
[2026-04-17 01:32:05] local.INFO: GPS Element Parsed {"raw_longitude":760276096,"raw_latitude":105738288,"longitude_deg":76.0276096,"latitude_deg":10.5738288,"altitude":3,"angle":164,"satellites":49,"speed":11,"hex_longitude":"2d50e480","hex_latitude":"064d7030","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750613504001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273494424963514368,"note":"Value kept but may cause issues"} 
[2026-04-17 01:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5826813519957508096,"note":"Value kept but may cause issues"} 
[2026-04-17 01:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776369595000,"timestamp_ms":1776369595000,"timestamp_seconds":1776369595,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e0f278"} 
[2026-04-17 01:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:32: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-04-17 01:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 01:32:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750613504001,"66":27397,"239":206,"78":62464,"24":11,"16":273494424963514368,"45":5826813519957508096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-04-17 01:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750613504001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:32:05] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-04-17 01:32:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273494424963514368,"km_value":273494424963514.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5826813519957508096,"description":"Unknown IO ID 45"} 
[2026-04-17 01:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750613504001,"power":27397,"unknown_239":206,"unknown_78":62464,"ignition":11,"odometer":null,"unknown_45":5826813519957508096}} 
[2026-04-17 01:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":46236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:32:05] local.INFO: GPS data processed {"connection_id":46236,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:32:05] local.INFO: Acknowledgment sent {"connection_id":46236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:32:11] local.INFO: TCP Data received {"connection_id":45485,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:32:11] local.INFO: Processing buffer {"connection_id":45485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:32:11] local.INFO: IMEI packet received {"connection_id":45485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":45485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:32:16] local.INFO: TCP Data received {"connection_id":45485,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:32:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45485,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:32:16] local.INFO: Processing buffer {"connection_id":45485,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:32:16] local.INFO: IMEI packet received {"connection_id":45485,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:32:16] local.INFO: IMEI acknowledgment sent {"connection_id":45485,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:32:23] local.INFO: TCP Data received {"connection_id":45485,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e14098012ceca6c0072347b8002200fb2f..."} 
[2026-04-17 01:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e14098012ceca6c0072347b8002200fb2f..."} 
[2026-04-17 01:32:23] local.INFO: Processing buffer {"connection_id":45485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e14098012ceca6c0072347b8002200fb2f..."} 
[2026-04-17 01:32:23] local.INFO: Packet analysis {"connection_id":45485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e1"} 
[2026-04-17 01:32:23] local.INFO: Extracted packet for processing {"connection_id":45485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e1"} 
[2026-04-17 01:32:23] local.INFO: GPS Element Parsed {"raw_longitude":753706688,"raw_latitude":119752632,"longitude_deg":75.3706688,"latitude_deg":11.9752632,"altitude":34,"angle":251,"satellites":47,"speed":31,"hex_longitude":"2ceca6c0","hex_latitude":"072347b8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:32:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,235,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776369615000,"timestamp_ms":1776369615000,"timestamp_seconds":1776369615,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e14098"} 
[2026-04-17 01:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:32: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 01:32:23] 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-04-17 01: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-04-17 01:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"235":206,"2":54272,"24":31,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16]} 
[2026-04-17 01:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:32:23] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 01:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:32:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_235":206,"power_alt":54272,"ignition":31,"odometer":null}} 
[2026-04-17 01:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":45485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18489,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:32:23] local.INFO: GPS data processed {"connection_id":45485,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:32:23] local.INFO: Acknowledgment sent {"connection_id":45485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:32:25] local.INFO: TCP Data received {"connection_id":45485,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e192a0012cec64c007233db0001e01052f..."} 
[2026-04-17 01:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e192a0012cec64c007233db0001e01052f..."} 
[2026-04-17 01:32:25] local.INFO: Processing buffer {"connection_id":45485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e192a0012cec64c007233db0001e01052f..."} 
[2026-04-17 01:32:25] local.INFO: Packet analysis {"connection_id":45485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e1"} 
[2026-04-17 01:32:25] local.INFO: Extracted packet for processing {"connection_id":45485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e1"} 
[2026-04-17 01:32:25] local.INFO: GPS Element Parsed {"raw_longitude":753689792,"raw_latitude":119750064,"longitude_deg":75.3689792,"latitude_deg":11.9750064,"altitude":30,"angle":261,"satellites":47,"speed":35,"hex_longitude":"2cec64c0","hex_latitude":"07233db0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:32:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750621440001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:32:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:32:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1394215897735383040,"note":"Value kept but may cause issues"} 
[2026-04-17 01:32:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:32:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776369636000,"timestamp_ms":1776369636000,"timestamp_seconds":1776369636,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e192a0"} 
[2026-04-17 01:32:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:32:25] 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-04-17 01: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 01:32:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:32:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:32:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:32:25] local.INFO: Teltonika packet parsed successfully {"connection_id":45485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:32:25] local.INFO: Passing IMEI to GPS processor {"connection_id":45485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:32:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":45485,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:32:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:32:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:32:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:32:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750621440001,"66":27930,"235":206,"2":54272,"24":35,"16":106618783551979520,"44":-1394215897735383040},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16,44]} 
[2026-04-17 01:32:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:32:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:32:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750621440001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:32:25] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 01:32:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:32:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1394215897735383040,"description":"Unknown IO ID 44"} 
[2026-04-17 01:32:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750621440001,"power":27930,"unknown_235":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-1394215897735383040}} 
[2026-04-17 01:32:25] local.INFO: DEBUG: GPS processor result {"connection_id":45485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18490,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:32:25] local.INFO: GPS data processed {"connection_id":45485,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:32:25] local.INFO: Acknowledgment sent {"connection_id":45485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:32:37] local.INFO: TCP Data received {"connection_id":46236,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e14480012d50ebc0064d4dd0000300a730..."} 
[2026-04-17 01:32:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e14480012d50ebc0064d4dd0000300a730..."} 
[2026-04-17 01:32:37] local.INFO: Processing buffer {"connection_id":46236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e14480012d50ebc0064d4dd0000300a730..."} 
[2026-04-17 01:32:37] local.INFO: Packet analysis {"connection_id":46236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e1"} 
[2026-04-17 01:32:37] local.INFO: Extracted packet for processing {"connection_id":46236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e1"} 
[2026-04-17 01:32:37] local.INFO: GPS Element Parsed {"raw_longitude":760277952,"raw_latitude":105729488,"longitude_deg":76.0277952,"latitude_deg":10.5729488,"altitude":3,"angle":167,"satellites":48,"speed":15,"hex_longitude":"2d50ebc0","hex_latitude":"064d4dd0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:32:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750616320001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:32:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273494863050178560,"note":"Value kept but may cause issues"} 
[2026-04-17 01:32:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5828924582281621504,"note":"Value kept but may cause issues"} 
[2026-04-17 01:32:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:32:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776369616000,"timestamp_ms":1776369616000,"timestamp_seconds":1776369616,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e14480"} 
[2026-04-17 01:32:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:32:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:32:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:32:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:32:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:32:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:32:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:32:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:32:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46236,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:32:37] 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-04-17 01:32:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:32:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:32:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750616320001,"66":27397,"239":206,"78":62464,"24":15,"16":273494863050178560,"45":5828924582281621504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-04-17 01:32:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:32:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:32:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750616320001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:32:37] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-04-17 01:32:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:32:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273494863050178560,"km_value":273494863050178.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:32:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":5828924582281621504,"description":"Unknown IO ID 45"} 
[2026-04-17 01:32:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750616320001,"power":27397,"unknown_239":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":5828924582281621504}} 
[2026-04-17 01:32:37] local.INFO: DEBUG: GPS processor result {"connection_id":46236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:32:37] local.INFO: GPS data processed {"connection_id":46236,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:32:37] local.INFO: Acknowledgment sent {"connection_id":46236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:32:51] local.INFO: TCP Data received {"connection_id":45419,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:32:51] local.INFO: Processing buffer {"connection_id":45419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:32:51] local.INFO: IMEI packet received {"connection_id":45419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":45419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:32:52] local.INFO: TCP Data received {"connection_id":45419,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:32:52] local.INFO: Processing buffer {"connection_id":45419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:32:52] local.INFO: IMEI packet received {"connection_id":45419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":45419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:32:57] local.INFO: TCP Data received {"connection_id":45419,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:32:57] local.INFO: Processing buffer {"connection_id":45419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:32:57] local.INFO: IMEI packet received {"connection_id":45419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":45419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:32:59] local.INFO: TCP Data received {"connection_id":45419,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e14480012d50ebc0064d4dd0000300a730..."} 
[2026-04-17 01:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e14480012d50ebc0064d4dd0000300a730..."} 
[2026-04-17 01:32:59] local.INFO: Processing buffer {"connection_id":45419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e14480012d50ebc0064d4dd0000300a730..."} 
[2026-04-17 01:32:59] local.INFO: Packet analysis {"connection_id":45419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e1"} 
[2026-04-17 01:32:59] local.INFO: Extracted packet for processing {"connection_id":45419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e1"} 
[2026-04-17 01:32:59] local.INFO: GPS Element Parsed {"raw_longitude":760277952,"raw_latitude":105729488,"longitude_deg":76.0277952,"latitude_deg":10.5729488,"altitude":3,"angle":167,"satellites":48,"speed":15,"hex_longitude":"2d50ebc0","hex_latitude":"064d4dd0","is_valid_coordinates":true} 
[2026-04-17 01:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750621696001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273494863050178560,"note":"Value kept but may cause issues"} 
[2026-04-17 01:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5830965275860520960,"note":"Value kept but may cause issues"} 
[2026-04-17 01:32:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776369616000,"timestamp_ms":1776369616000,"timestamp_seconds":1776369616,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e14480"} 
[2026-04-17 01:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:32:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:32:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750621696001,"66":27397,"239":206,"78":62464,"24":15,"16":273494863050178560,"45":5830965275860520960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-04-17 01:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750621696001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:32:59] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-04-17 01:32:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273494863050178560,"km_value":273494863050178.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5830965275860520960,"description":"Unknown IO ID 45"} 
[2026-04-17 01:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750621696001,"power":27397,"unknown_239":206,"unknown_78":62464,"ignition":15,"odometer":null,"unknown_45":5830965275860520960}} 
[2026-04-17 01:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":45419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:32:59] local.INFO: GPS data processed {"connection_id":45419,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:32:59] local.INFO: Acknowledgment sent {"connection_id":45419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:33:03] local.INFO: TCP Data received {"connection_id":45419,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e18ad0012d50f380064d2f180007009930..."} 
[2026-04-17 01:33:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e18ad0012d50f380064d2f180007009930..."} 
[2026-04-17 01:33:03] local.INFO: Processing buffer {"connection_id":45419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e18ad0012d50f380064d2f180007009930..."} 
[2026-04-17 01:33:03] local.INFO: Packet analysis {"connection_id":45419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e1"} 
[2026-04-17 01:33:03] local.INFO: Extracted packet for processing {"connection_id":45419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e1"} 
[2026-04-17 01:33:03] local.INFO: GPS Element Parsed {"raw_longitude":760279936,"raw_latitude":105721624,"longitude_deg":76.0279936,"latitude_deg":10.5721624,"altitude":7,"angle":153,"satellites":48,"speed":22,"hex_longitude":"2d50f380","hex_latitude":"064d2f18","is_valid_coordinates":true} 
[2026-04-17 01:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:33:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750621696001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:33:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273495253892202496,"note":"Value kept but may cause issues"} 
[2026-04-17 01:33:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5830965275860520960,"note":"Value kept but may cause issues"} 
[2026-04-17 01:33:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,239,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:33:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776369634000,"timestamp_ms":1776369634000,"timestamp_seconds":1776369634,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e18ad0"} 
[2026-04-17 01:33:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:33: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-04-17 01:33:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:33:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:33:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:33:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:33:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:33:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:33:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:33:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:33:03] 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-04-17 01:33:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:33:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:33:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750621696001,"66":27365,"239":206,"78":62464,"24":22,"16":273495253892202496,"45":5830965275860520960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,239,78,24,16,45]} 
[2026-04-17 01:33:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:33:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:33:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750621696001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:33:03] local.INFO: Unknown IO ID detected {"io_id":239,"value":206,"description":"Ignition (1-byte)"} 
[2026-04-17 01:33:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":62464,"description":"Unknown IO ID 78"} 
[2026-04-17 01:33:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273495253892202496,"km_value":273495253892202.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:33:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":5830965275860520960,"description":"Unknown IO ID 45"} 
[2026-04-17 01:33:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750621696001,"power":27365,"unknown_239":206,"unknown_78":62464,"ignition":22,"odometer":null,"unknown_45":5830965275860520960}} 
[2026-04-17 01:33:03] local.INFO: DEBUG: GPS processor result {"connection_id":45419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:33:03] local.INFO: GPS data processed {"connection_id":45419,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:33:03] local.INFO: Acknowledgment sent {"connection_id":45419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:33:06] local.INFO: TCP Data received {"connection_id":45679,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:33:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:33:06] local.INFO: Processing buffer {"connection_id":45679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:33:06] local.INFO: IMEI packet received {"connection_id":45679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:33:06] local.INFO: IMEI acknowledgment sent {"connection_id":45679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:33:09] local.INFO: TCP Data received {"connection_id":45679,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:33:09] local.INFO: Processing buffer {"connection_id":45679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:33:09] local.INFO: IMEI packet received {"connection_id":45679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":45679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:33:10] local.INFO: TCP Data received {"connection_id":45679,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e1dcd8012cec20c007231ec0001800ea2b..."} 
[2026-04-17 01:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e1dcd8012cec20c007231ec0001800ea2b..."} 
[2026-04-17 01:33:10] local.INFO: Processing buffer {"connection_id":45679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e1dcd8012cec20c007231ec0001800ea2b..."} 
[2026-04-17 01:33:10] local.INFO: Packet analysis {"connection_id":45679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e1"} 
[2026-04-17 01:33:10] local.INFO: Extracted packet for processing {"connection_id":45679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e1"} 
[2026-04-17 01:33:10] local.INFO: GPS Element Parsed {"raw_longitude":753672384,"raw_latitude":119742144,"longitude_deg":75.3672384,"latitude_deg":11.9742144,"altitude":24,"angle":234,"satellites":43,"speed":35,"hex_longitude":"2cec20c0","hex_latitude":"07231ec0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750626816001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:33:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1412793246198943744,"note":"Value kept but may cause issues"} 
[2026-04-17 01:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776369655000,"timestamp_ms":1776369655000,"timestamp_seconds":1776369655,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e1dcd8"} 
[2026-04-17 01:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:33:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-17 01:33: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-04-17 01: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-04-17 01:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750626816001,"66":27974,"235":206,"2":54272,"24":35,"16":106618783551979520,"44":-1412793246198943744},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16,44]} 
[2026-04-17 01:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750626816001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:33:10] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 01:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:33:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1412793246198943744,"description":"Unknown IO ID 44"} 
[2026-04-17 01:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750626816001,"power":27974,"unknown_235":206,"power_alt":54272,"ignition":35,"odometer":null,"unknown_44":-1412793246198943744}} 
[2026-04-17 01:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":45679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18494,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:33:10] local.INFO: GPS data processed {"connection_id":45679,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:33:10] local.INFO: Acknowledgment sent {"connection_id":45679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:33:34] local.INFO: TCP Data received {"connection_id":45419,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e34820012d5183c0064c1c080003009c2e..."} 
[2026-04-17 01:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e34820012d5183c0064c1c080003009c2e..."} 
[2026-04-17 01:33:34] local.INFO: Processing buffer {"connection_id":45419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e34820012d5183c0064c1c080003009c2e..."} 
[2026-04-17 01:33:34] local.INFO: Packet analysis {"connection_id":45419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:33:34] local.INFO: Extracted packet for processing {"connection_id":45419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:33:34] local.INFO: GPS Element Parsed {"raw_longitude":760316864,"raw_latitude":105651208,"longitude_deg":76.0316864,"latitude_deg":10.5651208,"altitude":3,"angle":156,"satellites":46,"speed":31,"hex_longitude":"2d5183c0","hex_latitude":"064c1c08","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750651648001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273499115067801600,"note":"Value kept but may cause issues"} 
[2026-04-17 01:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5868894028954433536,"note":"Value kept but may cause issues"} 
[2026-04-17 01:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776369748000,"timestamp_ms":1776369748000,"timestamp_seconds":1776369748,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e34820"} 
[2026-04-17 01:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:33: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-04-17 01: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 01:33:34] 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-04-17 01: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-04-17 01:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750651648001,"66":27463,"95":206,"78":38912,"24":31,"16":273499115067801600,"45":5868894028954433536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-04-17 01:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750651648001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:33:34] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-17 01:33:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273499115067801600,"km_value":273499115067801.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":5868894028954433536,"description":"Unknown IO ID 45"} 
[2026-04-17 01:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750651648001,"power":27463,"unknown_95":206,"unknown_78":38912,"ignition":31,"odometer":null,"unknown_45":5868894028954433536}} 
[2026-04-17 01:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":45419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:33:34] local.INFO: GPS data processed {"connection_id":45419,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:33:34] local.INFO: Acknowledgment sent {"connection_id":45419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:33:42] local.INFO: TCP Data received {"connection_id":45679,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e2dea80100000000000000000000000000..."} 
[2026-04-17 01:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e2dea80100000000000000000000000000..."} 
[2026-04-17 01:33:42] local.INFO: Processing buffer {"connection_id":45679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e2dea80100000000000000000000000000..."} 
[2026-04-17 01:33:42] local.INFO: Packet analysis {"connection_id":45679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e2"} 
[2026-04-17 01:33:42] local.INFO: Extracted packet for processing {"connection_id":45679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e2"} 
[2026-04-17 01:33:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 01:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750631680001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:33:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1431933544617295872,"note":"Value kept but may cause issues"} 
[2026-04-17 01:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776369721000,"timestamp_ms":1776369721000,"timestamp_seconds":1776369721,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e2dea8"} 
[2026-04-17 01:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:33:42] 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-04-17 01:33:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 01:33:42] 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-04-17 01:33:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":45679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":45679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":45679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":45679,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:33:42] local.INFO: GPS data processed {"connection_id":45679,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:33:42] local.INFO: Acknowledgment sent {"connection_id":45679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:33:51] local.INFO: TCP Data received {"connection_id":45680,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:33:51] local.INFO: Processing buffer {"connection_id":45680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:33:51] local.INFO: IMEI packet received {"connection_id":45680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":45680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:33:52] local.INFO: TCP Data received {"connection_id":45680,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:33:52] local.INFO: Processing buffer {"connection_id":45680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:33:52] local.INFO: IMEI packet received {"connection_id":45680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":45680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:33:57] local.INFO: TCP Data received {"connection_id":45680,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45680,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:33:57] local.INFO: Processing buffer {"connection_id":45680,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:33:57] local.INFO: IMEI packet received {"connection_id":45680,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":45680,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:34:00] local.INFO: TCP Data received {"connection_id":45680,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e37318012d519180064bfb180004009e2f..."} 
[2026-04-17 01:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e37318012d519180064bfb180004009e2f..."} 
[2026-04-17 01:34:00] local.INFO: Processing buffer {"connection_id":45680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e37318012d519180064bfb180004009e2f..."} 
[2026-04-17 01:34:00] local.INFO: Packet analysis {"connection_id":45680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:34:00] local.INFO: Extracted packet for processing {"connection_id":45680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:34:00] local.INFO: GPS Element Parsed {"raw_longitude":760320384,"raw_latitude":105642776,"longitude_deg":76.0320384,"latitude_deg":10.5642776,"altitude":4,"angle":158,"satellites":47,"speed":33,"hex_longitude":"2d519180","hex_latitude":"064bfb18","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750655488001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273499557449433088,"note":"Value kept but may cause issues"} 
[2026-04-17 01:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5873749472300500992,"note":"Value kept but may cause issues"} 
[2026-04-17 01:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776369759000,"timestamp_ms":1776369759000,"timestamp_seconds":1776369759,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e37318"} 
[2026-04-17 01:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 01:34: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-04-17 01: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-04-17 01:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750655488001,"66":27267,"95":206,"78":38912,"24":33,"16":273499557449433088,"45":5873749472300500992},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-04-17 01:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750655488001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:34:00] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-17 01:34:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273499557449433088,"km_value":273499557449433.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":5873749472300500992,"description":"Unknown IO ID 45"} 
[2026-04-17 01:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750655488001,"power":27267,"unknown_95":206,"unknown_78":38912,"ignition":33,"odometer":null,"unknown_45":5873749472300500992}} 
[2026-04-17 01:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":45680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:34:00] local.INFO: GPS data processed {"connection_id":45680,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:34:00] local.INFO: Acknowledgment sent {"connection_id":45680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:34:09] local.INFO: TCP Data received {"connection_id":45486,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:34:09] local.INFO: Processing buffer {"connection_id":45486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:34:09] local.INFO: IMEI packet received {"connection_id":45486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:34:09] local.INFO: IMEI acknowledgment sent {"connection_id":45486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:34:12] local.INFO: TCP Data received {"connection_id":45486,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:34:12] local.INFO: Processing buffer {"connection_id":45486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:34:12] local.INFO: IMEI packet received {"connection_id":45486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":45486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:34:13] local.INFO: TCP Data received {"connection_id":45486,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:34:13] local.INFO: Processing buffer {"connection_id":45486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:34:13] local.INFO: IMEI packet received {"connection_id":45486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:34:13] local.INFO: IMEI acknowledgment sent {"connection_id":45486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:34:26] local.INFO: TCP Data received {"connection_id":45486,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:34:26] local.INFO: Processing buffer {"connection_id":45486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:34:26] local.INFO: IMEI packet received {"connection_id":45486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":45486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:34:30] local.INFO: TCP Data received {"connection_id":45486,"ip":"117.224.17.214","data_length":1360,"data_hex":"000000000000030f8e0a0000019d97e232c8012cebed8007230af8001600ec35..."} 
[2026-04-17 01:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45486,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019d97e232c8012cebed8007230af8001600ec35..."} 
[2026-04-17 01:34:30] local.INFO: Processing buffer {"connection_id":45486,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019d97e232c8012cebed8007230af8001600ec35..."} 
[2026-04-17 01:34:30] local.INFO: Packet analysis {"connection_id":45486,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019d97e2"} 
[2026-04-17 01:34:30] local.INFO: Extracted packet for processing {"connection_id":45486,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019d97e2"} 
[2026-04-17 01:34:30] local.INFO: GPS Element Parsed {"raw_longitude":753659264,"raw_latitude":119737080,"longitude_deg":75.3659264,"latitude_deg":11.973708,"altitude":22,"angle":236,"satellites":53,"speed":20,"hex_longitude":"2cebed80","hex_latitude":"07230af8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:34:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,235,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776369677000,"timestamp_ms":1776369677000,"timestamp_seconds":1776369677,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e232c8"} 
[2026-04-17 01:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":4,"data_length":795,"current_offset":136} 
[2026-04-17 01:34: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-04-17 01: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-04-17 01:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:34:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27832,"235":206,"2":54272,"24":20,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16]} 
[2026-04-17 01:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:34:30] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 01:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:34:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27832,"unknown_235":206,"power_alt":54272,"ignition":20,"odometer":null}} 
[2026-04-17 01:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":45486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18497,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:34:30] local.INFO: GPS data processed {"connection_id":45486,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:34:30] local.INFO: Acknowledgment sent {"connection_id":45486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:34:30] local.INFO: Packet analysis {"connection_id":45486,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:34:30] local.INFO: Incomplete packet, waiting for more data {"connection_id":45486,"needed":795,"available":565} 
[2026-04-17 01:34:32] local.INFO: TCP Data received {"connection_id":45680,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e39e10012d519f80064bd8c80004009e2d..."} 
[2026-04-17 01:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e39e10012d519f80064bd8c80004009e2d..."} 
[2026-04-17 01:34:32] local.INFO: Processing buffer {"connection_id":45680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e39e10012d519f80064bd8c80004009e2d..."} 
[2026-04-17 01:34:32] local.INFO: Packet analysis {"connection_id":45680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:34:32] local.INFO: Extracted packet for processing {"connection_id":45680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:34:32] local.INFO: GPS Element Parsed {"raw_longitude":760323968,"raw_latitude":105633992,"longitude_deg":76.0323968,"latitude_deg":10.5633992,"altitude":4,"angle":158,"satellites":45,"speed":33,"hex_longitude":"2d519f80","hex_latitude":"064bd8c8","is_valid_coordinates":true} 
[2026-04-17 01:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750658304001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273500017010933760,"note":"Value kept but may cause issues"} 
[2026-04-17 01:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5877619753228113920,"note":"Value kept but may cause issues"} 
[2026-04-17 01:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776369770000,"timestamp_ms":1776369770000,"timestamp_seconds":1776369770,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e39e10"} 
[2026-04-17 01:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 01:34:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45680,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750658304001,"66":27343,"95":206,"78":38912,"24":33,"16":273500017010933760,"45":5877619753228113920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-04-17 01:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750658304001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:34:32] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-17 01:34:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273500017010933760,"km_value":273500017010933.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":5877619753228113920,"description":"Unknown IO ID 45"} 
[2026-04-17 01:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750658304001,"power":27343,"unknown_95":206,"unknown_78":38912,"ignition":33,"odometer":null,"unknown_45":5877619753228113920}} 
[2026-04-17 01:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":45680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:34:32] local.INFO: GPS data processed {"connection_id":45680,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:34:32] local.INFO: Acknowledgment sent {"connection_id":45680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:34:33] local.INFO: TCP Data received {"connection_id":45486,"ip":"117.224.17.214","data_length":1025,"data_hex":"2cecdc40072362c8002200ec3300120000000a000400ef0100714b00f0010045..."} 
[2026-04-17 01:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45486,"packet_length":1025,"packet_hex":"2cecdc40072362c8002200ec3300120000000a000400ef0100714b00f0010045..."} 
[2026-04-17 01:34:33] local.INFO: Processing buffer {"connection_id":45486,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019d97e334980100000000000000000000000000..."} 
[2026-04-17 01:34:33] local.INFO: Packet analysis {"connection_id":45486,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:34:33] local.INFO: Extracted packet for processing {"connection_id":45486,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:34:33] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 01:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750637312001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:34:33] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1446359137175013376,"note":"Value kept but may cause issues"} 
[2026-04-17 01:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776369743000,"timestamp_ms":1776369743000,"timestamp_seconds":1776369743,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e33498"} 
[2026-04-17 01:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-17 01:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":45486,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:34:33] local.INFO: GPS data processed {"connection_id":45486,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:34:33] local.INFO: Acknowledgment sent {"connection_id":45486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:34:33] local.INFO: Packet analysis {"connection_id":45486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e2"} 
[2026-04-17 01:34:33] local.INFO: Extracted packet for processing {"connection_id":45486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e2"} 
[2026-04-17 01:34:33] local.INFO: GPS Element Parsed {"raw_longitude":753648448,"raw_latitude":119728920,"longitude_deg":75.3648448,"latitude_deg":11.972892,"altitude":24,"angle":221,"satellites":52,"speed":18,"hex_longitude":"2cebc340","hex_latitude":"0722eb18","is_valid_coordinates":true} 
[2026-04-17 01:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:34:33] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,235,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776369701000,"timestamp_ms":1776369701000,"timestamp_seconds":1776369701,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e29088"} 
[2026-04-17 01:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 01:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"235":206,"2":54272,"24":18,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,2,24,16]} 
[2026-04-17 01:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:34:33] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 01:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:34:33] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"unknown_235":206,"power_alt":54272,"ignition":18,"odometer":null}} 
[2026-04-17 01:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":45486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18499,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:34:33] local.INFO: GPS data processed {"connection_id":45486,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:34:33] local.INFO: Acknowledgment sent {"connection_id":45486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:34:52] local.INFO: TCP Data received {"connection_id":45681,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:34:52] local.INFO: Processing buffer {"connection_id":45681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:34:52] local.INFO: IMEI packet received {"connection_id":45681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":45681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:34:57] local.INFO: TCP Data received {"connection_id":45681,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:34:57] local.INFO: Processing buffer {"connection_id":45681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:34:57] local.INFO: IMEI packet received {"connection_id":45681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":45681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:34:59] local.INFO: TCP Data received {"connection_id":45681,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e3c908012d51adc0064bb8500002009930..."} 
[2026-04-17 01:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e3c908012d51adc0064bb8500002009930..."} 
[2026-04-17 01:34:59] local.INFO: Processing buffer {"connection_id":45681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e3c908012d51adc0064bb8500002009930..."} 
[2026-04-17 01:34:59] local.INFO: Packet analysis {"connection_id":45681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:34:59] local.INFO: Extracted packet for processing {"connection_id":45681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:34:59] local.INFO: GPS Element Parsed {"raw_longitude":760327616,"raw_latitude":105625680,"longitude_deg":76.0327616,"latitude_deg":10.562568,"altitude":2,"angle":153,"satellites":48,"speed":32,"hex_longitude":"2d51adc0","hex_latitude":"064bb850","is_valid_coordinates":true} 
[2026-04-17 01:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750661120001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273500455097597952,"note":"Value kept but may cause issues"} 
[2026-04-17 01:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5881560402899814400,"note":"Value kept but may cause issues"} 
[2026-04-17 01:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776369781000,"timestamp_ms":1776369781000,"timestamp_seconds":1776369781,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e3c908"} 
[2026-04-17 01:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 01:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750661120001,"66":27300,"95":206,"78":38912,"24":32,"16":273500455097597952,"45":5881560402899814400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-04-17 01:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750661120001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:34:59] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-17 01:34:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273500455097597952,"km_value":273500455097597.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5881560402899814400,"description":"Unknown IO ID 45"} 
[2026-04-17 01:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750661120001,"power":27300,"unknown_95":206,"unknown_78":38912,"ignition":32,"odometer":null,"unknown_45":5881560402899814400}} 
[2026-04-17 01:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":45681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:34:59] local.INFO: GPS data processed {"connection_id":45681,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:34:59] local.INFO: Acknowledgment sent {"connection_id":45681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:35:04] local.INFO: TCP Data received {"connection_id":45420,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:35:04] local.INFO: Processing buffer {"connection_id":45420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:35:04] local.INFO: IMEI packet received {"connection_id":45420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":45420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:35:06] local.INFO: TCP Data received {"connection_id":45420,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:35:06] local.INFO: Processing buffer {"connection_id":45420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:35:06] local.INFO: IMEI packet received {"connection_id":45420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":45420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:35:11] local.INFO: TCP Data received {"connection_id":45420,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:35:11] local.INFO: Processing buffer {"connection_id":45420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:35:11] local.INFO: IMEI packet received {"connection_id":45420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":45420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:35:13] local.INFO: TCP Data received {"connection_id":45420,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e392580100000000000000000000000000..."} 
[2026-04-17 01:35:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e392580100000000000000000000000000..."} 
[2026-04-17 01:35:13] local.INFO: Processing buffer {"connection_id":45420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e392580100000000000000000000000000..."} 
[2026-04-17 01:35:13] local.INFO: Packet analysis {"connection_id":45420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:35:13] local.INFO: Extracted packet for processing {"connection_id":45420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:35:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 01:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:35:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750643456001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:35:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:35:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1458251454943127552,"note":"Value kept but may cause issues"} 
[2026-04-17 01:35:13] 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-04-17 01:35:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776369767000,"timestamp_ms":1776369767000,"timestamp_seconds":1776369767,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e39258"} 
[2026-04-17 01:35:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:35:13] 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-04-17 01:35:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 01:35: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-04-17 01:35:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:35:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:35:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:35:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:35:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:35:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:35:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:35:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:35:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:35:13] local.INFO: DEBUG: GPS processor result {"connection_id":45420,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:35:13] local.INFO: GPS data processed {"connection_id":45420,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:35:13] local.INFO: Acknowledgment sent {"connection_id":45420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:35:30] local.INFO: TCP Data received {"connection_id":45681,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e3f7e8012d51bf00064b97780003009331..."} 
[2026-04-17 01:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e3f7e8012d51bf00064b97780003009331..."} 
[2026-04-17 01:35:30] local.INFO: Processing buffer {"connection_id":45681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e3f7e8012d51bf00064b97780003009331..."} 
[2026-04-17 01:35:30] local.INFO: Packet analysis {"connection_id":45681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:35:30] local.INFO: Extracted packet for processing {"connection_id":45681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:35:30] local.INFO: GPS Element Parsed {"raw_longitude":760332032,"raw_latitude":105617272,"longitude_deg":76.0332032,"latitude_deg":10.5617272,"altitude":3,"angle":147,"satellites":49,"speed":30,"hex_longitude":"2d51bf00","hex_latitude":"064b9778","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750663936001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273500914659098624,"note":"Value kept but may cause issues"} 
[2026-04-17 01:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5885571421315813376,"note":"Value kept but may cause issues"} 
[2026-04-17 01:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776369793000,"timestamp_ms":1776369793000,"timestamp_seconds":1776369793,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e3f7e8"} 
[2026-04-17 01:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:35: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-04-17 01: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":164,"data_length":795,"current_offset":136} 
[2026-04-17 01:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:35: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-04-17 01:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750663936001,"66":27300,"95":206,"78":38912,"24":30,"16":273500914659098624,"45":5885571421315813376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,78,24,16,45]} 
[2026-04-17 01:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750663936001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:35:30] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-17 01:35:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273500914659098624,"km_value":273500914659098.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":5885571421315813376,"description":"Unknown IO ID 45"} 
[2026-04-17 01:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750663936001,"power":27300,"unknown_95":206,"unknown_78":38912,"ignition":30,"odometer":null,"unknown_45":5885571421315813376}} 
[2026-04-17 01:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":45681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:35:30] local.INFO: GPS data processed {"connection_id":45681,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:35:30] local.INFO: Acknowledgment sent {"connection_id":45681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:35:44] local.INFO: TCP Data received {"connection_id":45420,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e301d0012ceb97400722c4a8001800f030..."} 
[2026-04-17 01:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e301d0012ceb97400722c4a8001800f030..."} 
[2026-04-17 01:35:44] local.INFO: Processing buffer {"connection_id":45420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e301d0012ceb97400722c4a8001800f030..."} 
[2026-04-17 01:35:44] local.INFO: Packet analysis {"connection_id":45420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:35:44] local.INFO: Extracted packet for processing {"connection_id":45420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:35:44] local.INFO: GPS Element Parsed {"raw_longitude":753637184,"raw_latitude":119719080,"longitude_deg":75.3637184,"latitude_deg":11.971908,"altitude":24,"angle":240,"satellites":48,"speed":31,"hex_longitude":"2ceb9740","hex_latitude":"0722c4a8","is_valid_coordinates":true} 
[2026-04-17 01:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:35:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,110,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776369730000,"timestamp_ms":1776369730000,"timestamp_seconds":1776369730,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e301d0"} 
[2026-04-17 01:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:35:44] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 01:35: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-04-17 01:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27843,"110":206,"2":54272,"24":31,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16]} 
[2026-04-17 01:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:35:44] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-17 01:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:35:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27843,"unknown_110":206,"power_alt":54272,"ignition":31,"odometer":null}} 
[2026-04-17 01:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":45420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18502,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:35:44] local.INFO: GPS data processed {"connection_id":45420,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:35:44] local.INFO: Acknowledgment sent {"connection_id":45420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:35:56] local.INFO: TCP Data received {"connection_id":45682,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:35:56] local.INFO: Processing buffer {"connection_id":45682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:35:56] local.INFO: IMEI packet received {"connection_id":45682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":45682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:35:57] local.INFO: TCP Data received {"connection_id":45682,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:35:57] local.INFO: Processing buffer {"connection_id":45682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:35:57] local.INFO: IMEI packet received {"connection_id":45682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":45682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:36:02] local.INFO: TCP Data received {"connection_id":45682,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:36:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:36:02] local.INFO: Processing buffer {"connection_id":45682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:36:02] local.INFO: IMEI packet received {"connection_id":45682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:36:02] local.INFO: IMEI acknowledgment sent {"connection_id":45682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:36:04] local.INFO: TCP Data received {"connection_id":45682,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e595f8012d528a00064a3b900002009633..."} 
[2026-04-17 01:36:04] local.INFO: TCP Data received {"connection_id":45487,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e595f8012d528a00064a3b900002009633..."} 
[2026-04-17 01:36:04] local.INFO: Processing buffer {"connection_id":45682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e595f8012d528a00064a3b900002009633..."} 
[2026-04-17 01:36:04] local.INFO: Packet analysis {"connection_id":45682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e5"} 
[2026-04-17 01:36:04] local.INFO: Extracted packet for processing {"connection_id":45682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e5"} 
[2026-04-17 01:36:04] local.INFO: GPS Element Parsed {"raw_longitude":760384000,"raw_latitude":105528208,"longitude_deg":76.0384,"latitude_deg":10.5528208,"altitude":2,"angle":150,"satellites":51,"speed":37,"hex_longitude":"2d528a00","hex_latitude":"064a3b90","is_valid_coordinates":true} 
[2026-04-17 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-04-17 01:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750691584001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273505896821161984,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5942429366588559360,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776369899000,"timestamp_ms":1776369899000,"timestamp_seconds":1776369899,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e595f8"} 
[2026-04-17 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-04-17 01:36:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:36: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-04-17 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-04-17 01:36:04] local.INFO: Processing buffer {"connection_id":45487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 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-04-17 01:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:36:04] local.INFO: IMEI packet received {"connection_id":45487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":45487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":45682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":45682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":45682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750691584001,"66":27376,"93":206,"78":38912,"24":37,"16":273505896821161984,"45":5942429366588559360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-04-17 01:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750691584001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:36:04] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-17 01:36:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273505896821161984,"km_value":273505896821161.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":5942429366588559360,"description":"Unknown IO ID 45"} 
[2026-04-17 01:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750691584001,"power":27376,"unknown_93":206,"unknown_78":38912,"ignition":37,"odometer":null,"unknown_45":5942429366588559360}} 
[2026-04-17 01:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":45682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:36:04] local.INFO: GPS data processed {"connection_id":45682,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:36:04] local.INFO: Acknowledgment sent {"connection_id":45682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:36:05] local.INFO: TCP Data received {"connection_id":45682,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e5b920012d529d40064a20600003008b33..."} 
[2026-04-17 01:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e5b920012d529d40064a20600003008b33..."} 
[2026-04-17 01:36:05] local.INFO: Processing buffer {"connection_id":45682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e5b920012d529d40064a20600003008b33..."} 
[2026-04-17 01:36:05] local.INFO: Packet analysis {"connection_id":45682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e5"} 
[2026-04-17 01:36:05] local.INFO: Extracted packet for processing {"connection_id":45682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e5"} 
[2026-04-17 01:36:05] local.INFO: GPS Element Parsed {"raw_longitude":760388928,"raw_latitude":105521248,"longitude_deg":76.0388928,"latitude_deg":10.5521248,"altitude":3,"angle":139,"satellites":51,"speed":38,"hex_longitude":"2d529d40","hex_latitude":"064a2060","is_valid_coordinates":true} 
[2026-04-17 01:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750694144001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273506309138022400,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5947566284911382528,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776369908000,"timestamp_ms":1776369908000,"timestamp_seconds":1776369908,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e5b920"} 
[2026-04-17 01:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:36: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-04-17 01:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:36: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-04-17 01:36:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":45682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":45682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":45682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750694144001,"66":27463,"93":206,"78":38912,"24":38,"16":273506309138022400,"45":5947566284911382528},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-04-17 01:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750694144001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:36:05] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-17 01:36:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273506309138022400,"km_value":273506309138022.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":5947566284911382528,"description":"Unknown IO ID 45"} 
[2026-04-17 01:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750694144001,"power":27463,"unknown_93":206,"unknown_78":38912,"ignition":38,"odometer":null,"unknown_45":5947566284911382528}} 
[2026-04-17 01:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":45682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:36:05] local.INFO: GPS data processed {"connection_id":45682,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:36:05] local.INFO: Acknowledgment sent {"connection_id":45682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:36:06] local.INFO: TCP Data received {"connection_id":45487,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:36:06] local.INFO: Processing buffer {"connection_id":45487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:36:06] local.INFO: IMEI packet received {"connection_id":45487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":45487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:36:11] local.INFO: TCP Data received {"connection_id":45487,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:36:11] local.INFO: Processing buffer {"connection_id":45487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:36:11] local.INFO: IMEI packet received {"connection_id":45487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":45487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:36:13] local.INFO: TCP Data received {"connection_id":45487,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e353d8012ceb5b000722a3a0001400e835..."} 
[2026-04-17 01:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e353d8012ceb5b000722a3a0001400e835..."} 
[2026-04-17 01:36:13] local.INFO: Processing buffer {"connection_id":45487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e353d8012ceb5b000722a3a0001400e835..."} 
[2026-04-17 01:36:13] local.INFO: Packet analysis {"connection_id":45487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:36:13] local.INFO: Extracted packet for processing {"connection_id":45487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:36:13] local.INFO: GPS Element Parsed {"raw_longitude":753621760,"raw_latitude":119710624,"longitude_deg":75.362176,"latitude_deg":11.9710624,"altitude":20,"angle":232,"satellites":53,"speed":0,"hex_longitude":"2ceb5b00","hex_latitude":"0722a3a0","is_valid_coordinates":true} 
[2026-04-17 01:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750650880001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1470636353920915456,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:13] 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-04-17 01:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776369751000,"timestamp_ms":1776369751000,"timestamp_seconds":1776369751,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e353d8"} 
[2026-04-17 01:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:36:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 01:36:13] 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-04-17 01:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750650880001,"66":27941,"110":206,"2":54272,"24":0,"16":106618783551979520,"44":-1470636353920915456},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,44]} 
[2026-04-17 01:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750650880001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:36:13] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-17 01:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:36:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1470636353920915456,"description":"Unknown IO ID 44"} 
[2026-04-17 01:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750650880001,"power":27941,"unknown_110":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1470636353920915456}} 
[2026-04-17 01:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":45487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18505,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:36:13] local.INFO: GPS data processed {"connection_id":45487,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:36:13] local.INFO: Acknowledgment sent {"connection_id":45487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:36:36] local.INFO: TCP Data received {"connection_id":45682,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e5e030012d52b840064a04b00004008732..."} 
[2026-04-17 01:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e5e030012d52b840064a04b00004008732..."} 
[2026-04-17 01:36:36] local.INFO: Processing buffer {"connection_id":45682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e5e030012d52b840064a04b00004008732..."} 
[2026-04-17 01:36:36] local.INFO: Packet analysis {"connection_id":45682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e5"} 
[2026-04-17 01:36:36] local.INFO: Extracted packet for processing {"connection_id":45682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e5"} 
[2026-04-17 01:36:36] local.INFO: GPS Element Parsed {"raw_longitude":760395840,"raw_latitude":105514160,"longitude_deg":76.039584,"latitude_deg":10.551416,"altitude":4,"angle":135,"satellites":50,"speed":40,"hex_longitude":"2d52b840","hex_latitude":"064a04b0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750696448001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273506785879392256,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5952984678211280896,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776369918000,"timestamp_ms":1776369918000,"timestamp_seconds":1776369918,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e5e030"} 
[2026-04-17 01:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:36: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-04-17 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 01:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":45682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":45682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":45682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750696448001,"66":27484,"93":206,"78":38912,"24":40,"16":273506785879392256,"45":5952984678211280896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-04-17 01:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750696448001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:36:36] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-17 01:36:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273506785879392256,"km_value":273506785879392.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5952984678211280896,"description":"Unknown IO ID 45"} 
[2026-04-17 01:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750696448001,"power":27484,"unknown_93":206,"unknown_78":38912,"ignition":40,"odometer":null,"unknown_45":5952984678211280896}} 
[2026-04-17 01:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":45682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:36:36] local.INFO: GPS data processed {"connection_id":45682,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:36:36] local.INFO: Acknowledgment sent {"connection_id":45682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:36:45] local.INFO: TCP Data received {"connection_id":45487,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e39640012ceb2500072266e8000f00d434..."} 
[2026-04-17 01:36:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e39640012ceb2500072266e8000f00d434..."} 
[2026-04-17 01:36:45] local.INFO: Processing buffer {"connection_id":45487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e39640012ceb2500072266e8000f00d434..."} 
[2026-04-17 01:36:45] local.INFO: Packet analysis {"connection_id":45487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:36:45] local.INFO: Extracted packet for processing {"connection_id":45487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:36:45] local.INFO: GPS Element Parsed {"raw_longitude":753607936,"raw_latitude":119695080,"longitude_deg":75.3607936,"latitude_deg":11.969508,"altitude":15,"angle":212,"satellites":52,"speed":52,"hex_longitude":"2ceb2500","hex_latitude":"072266e8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:36:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750656256001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1487595221269897216,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:45] 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-04-17 01:36:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776369768000,"timestamp_ms":1776369768000,"timestamp_seconds":1776369768,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e39640"} 
[2026-04-17 01:36:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:36: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-04-17 01: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 01:36:45] 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-04-17 01: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-04-17 01:36:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:36:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:36:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:36:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:36:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:36:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:36:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:36:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:36:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750656256001,"66":27930,"110":206,"2":54272,"24":52,"16":106618783551979520,"44":-1487595221269897216},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,44]} 
[2026-04-17 01:36:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:36:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:36:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750656256001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:36:45] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-17 01:36:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:36:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1487595221269897216,"description":"Unknown IO ID 44"} 
[2026-04-17 01:36:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750656256001,"power":27930,"unknown_110":206,"power_alt":54272,"ignition":52,"odometer":null,"unknown_44":-1487595221269897216}} 
[2026-04-17 01:36:45] local.INFO: DEBUG: GPS processor result {"connection_id":45487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18507,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:36:45] local.INFO: GPS data processed {"connection_id":45487,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:36:45] local.INFO: Acknowledgment sent {"connection_id":45487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:36:52] local.INFO: TCP Data received {"connection_id":46237,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:36:52] local.INFO: Processing buffer {"connection_id":46237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:36:52] local.INFO: IMEI packet received {"connection_id":46237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":46237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:36:54] local.INFO: TCP Data received {"connection_id":46237,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46237,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:36:54] local.INFO: Processing buffer {"connection_id":46237,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:36:54] local.INFO: IMEI packet received {"connection_id":46237,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":46237,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:36:55] local.INFO: TCP Data received {"connection_id":46237,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e60358012d52d2000649eb400004008833..."} 
[2026-04-17 01:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e60358012d52d2000649eb400004008833..."} 
[2026-04-17 01:36:55] local.INFO: Processing buffer {"connection_id":46237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e60358012d52d2000649eb400004008833..."} 
[2026-04-17 01:36:55] local.INFO: Packet analysis {"connection_id":46237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e6"} 
[2026-04-17 01:36:55] local.INFO: Extracted packet for processing {"connection_id":46237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e6"} 
[2026-04-17 01:36:55] local.INFO: GPS Element Parsed {"raw_longitude":760402432,"raw_latitude":105507648,"longitude_deg":76.0402432,"latitude_deg":10.5507648,"altitude":4,"angle":136,"satellites":51,"speed":41,"hex_longitude":"2d52d200","hex_latitude":"0649eb40","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750699008001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273507232555991040,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5960584502580654080,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776369927000,"timestamp_ms":1776369927000,"timestamp_seconds":1776369927,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e60358"} 
[2026-04-17 01:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:36: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-04-17 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 01:36:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750699008001,"66":27484,"93":206,"78":38912,"24":41,"16":273507232555991040,"45":5960584502580654080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-04-17 01:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750699008001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:36:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-17 01:36:55] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273507232555991040,"km_value":273507232555991.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":5960584502580654080,"description":"Unknown IO ID 45"} 
[2026-04-17 01:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750699008001,"power":27484,"unknown_93":206,"unknown_78":38912,"ignition":41,"odometer":null,"unknown_45":5960584502580654080}} 
[2026-04-17 01:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":46237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:36:55] local.INFO: GPS data processed {"connection_id":46237,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:36:55] local.INFO: Acknowledgment sent {"connection_id":46237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:36:58] local.INFO: TCP Data received {"connection_id":46237,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e62680012d52eb000649d0e80003008933..."} 
[2026-04-17 01:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e62680012d52eb000649d0e80003008933..."} 
[2026-04-17 01:36:58] local.INFO: Processing buffer {"connection_id":46237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e62680012d52eb000649d0e80003008933..."} 
[2026-04-17 01:36:58] local.INFO: Packet analysis {"connection_id":46237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e6"} 
[2026-04-17 01:36:58] local.INFO: Extracted packet for processing {"connection_id":46237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e6"} 
[2026-04-17 01:36:58] local.INFO: GPS Element Parsed {"raw_longitude":760408832,"raw_latitude":105500904,"longitude_deg":76.0408832,"latitude_deg":10.5500904,"altitude":3,"angle":137,"satellites":51,"speed":39,"hex_longitude":"2d52eb00","hex_latitude":"0649d0e8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750701312001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273507679232589824,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5967832483229286400,"note":"Value kept but may cause issues"} 
[2026-04-17 01:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776369936000,"timestamp_ms":1776369936000,"timestamp_seconds":1776369936,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e62680"} 
[2026-04-17 01:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:36: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-04-17 01:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 01:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750701312001,"66":27376,"93":206,"78":38912,"24":39,"16":273507679232589824,"45":5967832483229286400},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,78,24,16,45]} 
[2026-04-17 01:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750701312001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:36:58] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-17 01:36:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273507679232589824,"km_value":273507679232589.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5967832483229286400,"description":"Unknown IO ID 45"} 
[2026-04-17 01:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750701312001,"power":27376,"unknown_93":206,"unknown_78":38912,"ignition":39,"odometer":null,"unknown_45":5967832483229286400}} 
[2026-04-17 01:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":46237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:36:58] local.INFO: GPS data processed {"connection_id":46237,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:36:58] local.INFO: Acknowledgment sent {"connection_id":46237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:37:06] local.INFO: TCP Data received {"connection_id":45421,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:37:06] local.INFO: Processing buffer {"connection_id":45421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:37:06] local.INFO: IMEI packet received {"connection_id":45421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":45421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:37:11] local.INFO: TCP Data received {"connection_id":45421,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45421,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:37:11] local.INFO: Processing buffer {"connection_id":45421,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:37:11] local.INFO: IMEI packet received {"connection_id":45421,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":45421,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:37:12] local.INFO: TCP Data received {"connection_id":45421,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e3e848012ceb01c007222b38000f00d133..."} 
[2026-04-17 01:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e3e848012ceb01c007222b38000f00d133..."} 
[2026-04-17 01:37:12] local.INFO: Processing buffer {"connection_id":45421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e3e848012ceb01c007222b38000f00d133..."} 
[2026-04-17 01:37:12] local.INFO: Packet analysis {"connection_id":45421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:37:12] local.INFO: Extracted packet for processing {"connection_id":45421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e3"} 
[2026-04-17 01:37:12] local.INFO: GPS Element Parsed {"raw_longitude":753598912,"raw_latitude":119679800,"longitude_deg":75.3598912,"latitude_deg":11.96798,"altitude":15,"angle":209,"satellites":51,"speed":0,"hex_longitude":"2ceb01c0","hex_latitude":"07222b38","is_valid_coordinates":true} 
[2026-04-17 01:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750660608001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:37:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1502794870016251904,"note":"Value kept but may cause issues"} 
[2026-04-17 01:37:12] 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-04-17 01:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776369789000,"timestamp_ms":1776369789000,"timestamp_seconds":1776369789,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e3e848"} 
[2026-04-17 01:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:37:12] 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-04-17 01:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-17 01:37: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-04-17 01:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45421,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45421,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750660608001,"66":27843,"110":206,"2":54272,"24":0,"16":106618783551979520,"44":-1502794870016251904},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,2,24,16,44]} 
[2026-04-17 01:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750660608001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:37:12] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-17 01:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:37:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1502794870016251904,"description":"Unknown IO ID 44"} 
[2026-04-17 01:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750660608001,"power":27843,"unknown_110":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1502794870016251904}} 
[2026-04-17 01:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":45421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18510,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:37:12] local.INFO: GPS data processed {"connection_id":45421,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:37:12] local.INFO: Acknowledgment sent {"connection_id":45421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:37:29] local.INFO: TCP Data received {"connection_id":46237,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e64d90012d5304800649b4400003008e33..."} 
[2026-04-17 01:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46237,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e64d90012d5304800649b4400003008e33..."} 
[2026-04-17 01:37:29] local.INFO: Processing buffer {"connection_id":46237,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e64d90012d5304800649b4400003008e33..."} 
[2026-04-17 01:37:29] local.INFO: Packet analysis {"connection_id":46237,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e6"} 
[2026-04-17 01:37:29] local.INFO: Extracted packet for processing {"connection_id":46237,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e6"} 
[2026-04-17 01:37:29] local.INFO: GPS Element Parsed {"raw_longitude":760415360,"raw_latitude":105493568,"longitude_deg":76.041536,"latitude_deg":10.5493568,"altitude":3,"angle":142,"satellites":51,"speed":38,"hex_longitude":"2d530480","hex_latitude":"0649b440","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750703616001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273508151678992384,"note":"Value kept but may cause issues"} 
[2026-04-17 01:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5974869357645326336,"note":"Value kept but may cause issues"} 
[2026-04-17 01:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776369946000,"timestamp_ms":1776369946000,"timestamp_seconds":1776369946,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e64d90"} 
[2026-04-17 01:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:37: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-04-17 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46237,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46237,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:37: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-04-17 01:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750703616001,"66":27343,"193":206,"78":38912,"24":38,"16":273508151678992384,"45":5974869357645326336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-04-17 01:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750703616001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:37:29] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-17 01:37:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273508151678992384,"km_value":273508151678992.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5974869357645326336,"description":"Unknown IO ID 45"} 
[2026-04-17 01:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750703616001,"power":27343,"unknown_193":206,"unknown_78":38912,"ignition":38,"odometer":null,"unknown_45":5974869357645326336}} 
[2026-04-17 01:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":46237,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:37:29] local.INFO: GPS data processed {"connection_id":46237,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:37:29] local.INFO: Acknowledgment sent {"connection_id":46237,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:37:44] local.INFO: TCP Data received {"connection_id":45421,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e70cf8012cea5dc0071f66f8000900a334..."} 
[2026-04-17 01:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e70cf8012cea5dc0071f66f8000900a334..."} 
[2026-04-17 01:37:44] local.INFO: Processing buffer {"connection_id":45421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e70cf8012cea5dc0071f66f8000900a334..."} 
[2026-04-17 01:37:44] local.INFO: Packet analysis {"connection_id":45421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e7"} 
[2026-04-17 01:37:44] local.INFO: Extracted packet for processing {"connection_id":45421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e7"} 
[2026-04-17 01:37:44] local.INFO: GPS Element Parsed {"raw_longitude":753556928,"raw_latitude":119498488,"longitude_deg":75.3556928,"latitude_deg":11.9498488,"altitude":9,"angle":163,"satellites":52,"speed":31,"hex_longitude":"2cea5dc0","hex_latitude":"071f66f8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750714368001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:37:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1560849084008820736,"note":"Value kept but may cause issues"} 
[2026-04-17 01:37: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-04-17 01:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776369995000,"timestamp_ms":1776369995000,"timestamp_seconds":1776369995,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e70cf8"} 
[2026-04-17 01:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:37:44] 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-04-17 01: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 01:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45421,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45421,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750714368001,"66":27832,"6":206,"2":54272,"24":31,"16":106618783551979520,"44":-1560849084008820736},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16,44]} 
[2026-04-17 01:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750714368001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:37:44] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-04-17 01:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:37:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1560849084008820736,"description":"Unknown IO ID 44"} 
[2026-04-17 01:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750714368001,"power":27832,"unknown_6":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-1560849084008820736}} 
[2026-04-17 01:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":45421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18512,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:37:44] local.INFO: GPS data processed {"connection_id":45421,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:37:44] local.INFO: Acknowledgment sent {"connection_id":45421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:37:52] local.INFO: TCP Data received {"connection_id":45488,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:37:52] local.INFO: Processing buffer {"connection_id":45488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:37:52] local.INFO: IMEI packet received {"connection_id":45488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":45488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:37:54] local.INFO: TCP Data received {"connection_id":45488,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:37:54] local.INFO: Processing buffer {"connection_id":45488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:37:54] local.INFO: IMEI packet received {"connection_id":45488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":45488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:37:57] local.INFO: TCP Data received {"connection_id":45488,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:37:57] local.INFO: Processing buffer {"connection_id":45488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:37:57] local.INFO: IMEI packet received {"connection_id":45488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":45488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:37:58] local.INFO: TCP Data received {"connection_id":45488,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e674a0012d531bc0064997600003008f32..."} 
[2026-04-17 01:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e674a0012d531bc0064997600003008f32..."} 
[2026-04-17 01:37:58] local.INFO: Processing buffer {"connection_id":45488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e674a0012d531bc0064997600003008f32..."} 
[2026-04-17 01:37:58] local.INFO: Packet analysis {"connection_id":45488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e6"} 
[2026-04-17 01:37:58] local.INFO: Extracted packet for processing {"connection_id":45488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e6"} 
[2026-04-17 01:37:58] local.INFO: GPS Element Parsed {"raw_longitude":760421312,"raw_latitude":105486176,"longitude_deg":76.0421312,"latitude_deg":10.5486176,"altitude":3,"angle":143,"satellites":50,"speed":35,"hex_longitude":"2d531bc0","hex_latitude":"06499760","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750706176001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273508606945525760,"note":"Value kept but may cause issues"} 
[2026-04-17 01:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5982046969549570048,"note":"Value kept but may cause issues"} 
[2026-04-17 01:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776369956000,"timestamp_ms":1776369956000,"timestamp_seconds":1776369956,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e674a0"} 
[2026-04-17 01:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:37: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-04-17 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 01:37:58] 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-04-17 01: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-04-17 01:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750706176001,"66":27376,"193":206,"78":38912,"24":35,"16":273508606945525760,"45":5982046969549570048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-04-17 01:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750706176001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:37:58] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-17 01:37:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273508606945525760,"km_value":273508606945525.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5982046969549570048,"description":"Unknown IO ID 45"} 
[2026-04-17 01:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750706176001,"power":27376,"unknown_193":206,"unknown_78":38912,"ignition":35,"odometer":null,"unknown_45":5982046969549570048}} 
[2026-04-17 01:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":45488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:37:58] local.INFO: GPS data processed {"connection_id":45488,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:37:58] local.INFO: Acknowledgment sent {"connection_id":45488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:38:13] local.INFO: TCP Data received {"connection_id":45489,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:38:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:38:13] local.INFO: Processing buffer {"connection_id":45489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:38:13] local.INFO: IMEI packet received {"connection_id":45489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:38:13] local.INFO: IMEI acknowledgment sent {"connection_id":45489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:38:16] local.INFO: TCP Data received {"connection_id":45489,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45489,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:38:16] local.INFO: Processing buffer {"connection_id":45489,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:38:16] local.INFO: IMEI packet received {"connection_id":45489,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":45489,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:38:17] local.INFO: TCP Data received {"connection_id":45489,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e80ec80100000000000000000000000000..."} 
[2026-04-17 01:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e80ec80100000000000000000000000000..."} 
[2026-04-17 01:38:17] local.INFO: Processing buffer {"connection_id":45489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e80ec80100000000000000000000000000..."} 
[2026-04-17 01:38:17] local.INFO: Packet analysis {"connection_id":45489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e8"} 
[2026-04-17 01:38:17] local.INFO: Extracted packet for processing {"connection_id":45489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e8"} 
[2026-04-17 01:38: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-04-17 01:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750718720001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:38:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1558878759176177664,"note":"Value kept but may cause issues"} 
[2026-04-17 01:38:17] 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-04-17 01:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776370061000,"timestamp_ms":1776370061000,"timestamp_seconds":1776370061,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e80ec8"} 
[2026-04-17 01:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:38:17] 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-04-17 01:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-17 01:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":45489,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:38:17] local.INFO: GPS data processed {"connection_id":45489,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:38:17] local.INFO: Acknowledgment sent {"connection_id":45489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:38:22] local.INFO: TCP Data received {"connection_id":45489,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e77e40012cea4b80071f3200000a00bb2e..."} 
[2026-04-17 01:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e77e40012cea4b80071f3200000a00bb2e..."} 
[2026-04-17 01:38:22] local.INFO: Processing buffer {"connection_id":45489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e77e40012cea4b80071f3200000a00bb2e..."} 
[2026-04-17 01:38:22] local.INFO: Packet analysis {"connection_id":45489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e7"} 
[2026-04-17 01:38:22] local.INFO: Extracted packet for processing {"connection_id":45489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e7"} 
[2026-04-17 01:38:22] local.INFO: GPS Element Parsed {"raw_longitude":753552256,"raw_latitude":119484928,"longitude_deg":75.3552256,"latitude_deg":11.9484928,"altitude":10,"angle":187,"satellites":46,"speed":28,"hex_longitude":"2cea4b80","hex_latitude":"071f3200","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:38:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,6,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776370024000,"timestamp_ms":1776370024000,"timestamp_seconds":1776370024,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e77e40"} 
[2026-04-17 01:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:38: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 01:38: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-04-17 01: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-04-17 01:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45489,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"6":206,"2":54272,"24":28,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,6,2,24,16]} 
[2026-04-17 01:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:38:22] local.INFO: Unknown IO ID detected {"io_id":6,"value":206,"description":"Unknown IO ID 6"} 
[2026-04-17 01:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:38:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"unknown_6":206,"power_alt":54272,"ignition":28,"odometer":null}} 
[2026-04-17 01:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":45489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18514,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:38:22] local.INFO: GPS data processed {"connection_id":45489,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:38:22] local.INFO: Acknowledgment sent {"connection_id":45489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:38:29] local.INFO: TCP Data received {"connection_id":45488,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e69bb0012d5330c006497b880004008e33..."} 
[2026-04-17 01:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e69bb0012d5330c006497b880004008e33..."} 
[2026-04-17 01:38:29] local.INFO: Processing buffer {"connection_id":45488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e69bb0012d5330c006497b880004008e33..."} 
[2026-04-17 01:38:29] local.INFO: Packet analysis {"connection_id":45488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e6"} 
[2026-04-17 01:38:29] local.INFO: Extracted packet for processing {"connection_id":45488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e6"} 
[2026-04-17 01:38:29] local.INFO: GPS Element Parsed {"raw_longitude":760426688,"raw_latitude":105479048,"longitude_deg":76.0426688,"latitude_deg":10.5479048,"altitude":4,"angle":142,"satellites":51,"speed":35,"hex_longitude":"2d5330c0","hex_latitude":"06497b88","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750708736001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273509040737222656,"note":"Value kept but may cause issues"} 
[2026-04-17 01:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5988591262756200448,"note":"Value kept but may cause issues"} 
[2026-04-17 01:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776369966000,"timestamp_ms":1776369966000,"timestamp_seconds":1776369966,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e69bb0"} 
[2026-04-17 01:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:38: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-04-17 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:38: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-04-17 01:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750708736001,"66":27397,"193":206,"78":38912,"24":35,"16":273509040737222656,"45":5988591262756200448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-04-17 01:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750708736001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:38:29] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-17 01:38:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273509040737222656,"km_value":273509040737222.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":5988591262756200448,"description":"Unknown IO ID 45"} 
[2026-04-17 01:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750708736001,"power":27397,"unknown_193":206,"unknown_78":38912,"ignition":35,"odometer":null,"unknown_45":5988591262756200448}} 
[2026-04-17 01:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":45488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:38:29] local.INFO: GPS data processed {"connection_id":45488,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:38:29] local.INFO: Acknowledgment sent {"connection_id":45488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:38:52] local.INFO: TCP Data received {"connection_id":45683,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:38:52] local.INFO: Processing buffer {"connection_id":45683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:38:52] local.INFO: IMEI packet received {"connection_id":45683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":45683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:38:57] local.INFO: TCP Data received {"connection_id":45683,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:38:57] local.INFO: Processing buffer {"connection_id":45683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:38:57] local.INFO: IMEI packet received {"connection_id":45683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":45683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:38:58] local.INFO: TCP Data received {"connection_id":45683,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e6c2c0012d5345c006495de00004009232..."} 
[2026-04-17 01:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e6c2c0012d5345c006495de00004009232..."} 
[2026-04-17 01:38:58] local.INFO: Processing buffer {"connection_id":45683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e6c2c0012d5345c006495de00004009232..."} 
[2026-04-17 01:38:58] local.INFO: Packet analysis {"connection_id":45683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e6"} 
[2026-04-17 01:38:58] local.INFO: Extracted packet for processing {"connection_id":45683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e6"} 
[2026-04-17 01:38:58] local.INFO: GPS Element Parsed {"raw_longitude":760432064,"raw_latitude":105471456,"longitude_deg":76.0432064,"latitude_deg":10.5471456,"altitude":4,"angle":146,"satellites":50,"speed":37,"hex_longitude":"2d5345c0","hex_latitude":"06495de0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750711296001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273509487413821440,"note":"Value kept but may cause issues"} 
[2026-04-17 01:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5994502237265299456,"note":"Value kept but may cause issues"} 
[2026-04-17 01:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776369976000,"timestamp_ms":1776369976000,"timestamp_seconds":1776369976,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e6c2c0"} 
[2026-04-17 01:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:38: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-04-17 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750711296001,"66":27343,"193":206,"78":38912,"24":37,"16":273509487413821440,"45":5994502237265299456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,78,24,16,45]} 
[2026-04-17 01:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750711296001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:38:58] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-17 01:38:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273509487413821440,"km_value":273509487413821.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":5994502237265299456,"description":"Unknown IO ID 45"} 
[2026-04-17 01:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750711296001,"power":27343,"unknown_193":206,"unknown_78":38912,"ignition":37,"odometer":null,"unknown_45":5994502237265299456}} 
[2026-04-17 01:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":45683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:38:58] local.INFO: GPS data processed {"connection_id":45683,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:38:58] local.INFO: Acknowledgment sent {"connection_id":45683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:39:06] local.INFO: TCP Data received {"connection_id":45490,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:39:06] local.INFO: Processing buffer {"connection_id":45490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:39:06] local.INFO: IMEI packet received {"connection_id":45490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":45490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:39:07] local.INFO: TCP Data received {"connection_id":45490,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:39:07] local.INFO: Processing buffer {"connection_id":45490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:39:07] local.INFO: IMEI packet received {"connection_id":45490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":45490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:39:11] local.INFO: TCP Data received {"connection_id":45490,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:39:11] local.INFO: Processing buffer {"connection_id":45490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:39:11] local.INFO: IMEI packet received {"connection_id":45490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":45490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:39:12] local.INFO: TCP Data received {"connection_id":45490,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e7d048012cea3d40071eee28000a00c22f..."} 
[2026-04-17 01:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e7d048012cea3d40071eee28000a00c22f..."} 
[2026-04-17 01:39:12] local.INFO: Processing buffer {"connection_id":45490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e7d048012cea3d40071eee28000a00c22f..."} 
[2026-04-17 01:39:12] local.INFO: Packet analysis {"connection_id":45490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e7"} 
[2026-04-17 01:39:12] local.INFO: Extracted packet for processing {"connection_id":45490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e7"} 
[2026-04-17 01:39:12] local.INFO: GPS Element Parsed {"raw_longitude":753548608,"raw_latitude":119467560,"longitude_deg":75.3548608,"latitude_deg":11.946756,"altitude":10,"angle":194,"satellites":47,"speed":36,"hex_longitude":"2cea3d40","hex_latitude":"071eee28","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750726144001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:39:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1564015677504618496,"note":"Value kept but may cause issues"} 
[2026-04-17 01:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776370045000,"timestamp_ms":1776370045000,"timestamp_seconds":1776370045,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e7d048"} 
[2026-04-17 01:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:39: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-04-17 01: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 01:39: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-04-17 01: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-04-17 01:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750726144001,"66":27767,"7":206,"2":54272,"24":36,"16":106618783551979520,"44":-1564015677504618496},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,2,24,16,44]} 
[2026-04-17 01:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750726144001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:39:12] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-04-17 01:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:39:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1564015677504618496,"description":"Unknown IO ID 44"} 
[2026-04-17 01:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750726144001,"power":27767,"unknown_7":206,"power_alt":54272,"ignition":36,"odometer":null,"unknown_44":-1564015677504618496}} 
[2026-04-17 01:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":45490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18517,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:39:12] local.INFO: GPS data processed {"connection_id":45490,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:39:12] local.INFO: Acknowledgment sent {"connection_id":45490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:39:16] local.INFO: TCP Data received {"connection_id":45490,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e82250012cea24c0071ea530000d00c132..."} 
[2026-04-17 01:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e82250012cea24c0071ea530000d00c132..."} 
[2026-04-17 01:39:16] local.INFO: Processing buffer {"connection_id":45490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e82250012cea24c0071ea530000d00c132..."} 
[2026-04-17 01:39:16] local.INFO: Packet analysis {"connection_id":45490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e8"} 
[2026-04-17 01:39:16] local.INFO: Extracted packet for processing {"connection_id":45490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e8"} 
[2026-04-17 01:39:16] local.INFO: GPS Element Parsed {"raw_longitude":753542336,"raw_latitude":119448880,"longitude_deg":75.3542336,"latitude_deg":11.944888,"altitude":13,"angle":193,"satellites":50,"speed":0,"hex_longitude":"2cea24c0","hex_latitude":"071ea530","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750731520001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:39:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1568026695927191552,"note":"Value kept but may cause issues"} 
[2026-04-17 01:39:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776370066000,"timestamp_ms":1776370066000,"timestamp_seconds":1776370066,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e82250"} 
[2026-04-17 01:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:39:16] 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-04-17 01:39:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-17 01:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750731520001,"66":27995,"7":206,"2":54272,"24":0,"16":106618783551979520,"44":-1568026695927191552},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,2,24,16,44]} 
[2026-04-17 01:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750731520001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:39:16] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-04-17 01:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:39:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1568026695927191552,"description":"Unknown IO ID 44"} 
[2026-04-17 01:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750731520001,"power":27995,"unknown_7":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1568026695927191552}} 
[2026-04-17 01:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":45490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18518,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:39:16] local.INFO: GPS data processed {"connection_id":45490,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:39:16] local.INFO: Acknowledgment sent {"connection_id":45490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:39:29] local.INFO: TCP Data received {"connection_id":45683,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e904e0012d53dd800647b680000500da32..."} 
[2026-04-17 01:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e904e0012d53dd800647b680000500da32..."} 
[2026-04-17 01:39:29] local.INFO: Processing buffer {"connection_id":45683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e904e0012d53dd800647b680000500da32..."} 
[2026-04-17 01:39:29] local.INFO: Packet analysis {"connection_id":45683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e9"} 
[2026-04-17 01:39:29] local.INFO: Extracted packet for processing {"connection_id":45683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e9"} 
[2026-04-17 01:39:29] local.INFO: GPS Element Parsed {"raw_longitude":760470912,"raw_latitude":105363072,"longitude_deg":76.0470912,"latitude_deg":10.5363072,"altitude":5,"angle":218,"satellites":50,"speed":15,"hex_longitude":"2d53dd80","hex_latitude":"0647b680","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750750976001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273515204015292416,"note":"Value kept but may cause issues"} 
[2026-04-17 01:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6043760358160214016,"note":"Value kept but may cause issues"} 
[2026-04-17 01:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776370124000,"timestamp_ms":1776370124000,"timestamp_seconds":1776370124,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e904e0"} 
[2026-04-17 01:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:39: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-04-17 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 01:39:29] 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-04-17 01: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-04-17 01:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:39: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-04-17 01:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750750976001,"66":26767,"99":206,"78":38912,"24":15,"16":273515204015292416,"45":6043760358160214016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-04-17 01:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750750976001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:39:29] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-04-17 01:39:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273515204015292416,"km_value":273515204015292.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6043760358160214016,"description":"Unknown IO ID 45"} 
[2026-04-17 01:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750750976001,"power":26767,"unknown_99":206,"unknown_78":38912,"ignition":15,"odometer":null,"unknown_45":6043760358160214016}} 
[2026-04-17 01:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":45683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:39:29] local.INFO: GPS data processed {"connection_id":45683,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:39:29] local.INFO: Acknowledgment sent {"connection_id":45683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:39:47] local.INFO: TCP Data received {"connection_id":45490,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e87458012cea18c0071e5958000c00b733..."} 
[2026-04-17 01:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e87458012cea18c0071e5958000c00b733..."} 
[2026-04-17 01:39:48] local.INFO: Processing buffer {"connection_id":45490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e87458012cea18c0071e5958000c00b733..."} 
[2026-04-17 01:39:48] local.INFO: Packet analysis {"connection_id":45490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e8"} 
[2026-04-17 01:39:48] local.INFO: Extracted packet for processing {"connection_id":45490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e8"} 
[2026-04-17 01:39:48] local.INFO: GPS Element Parsed {"raw_longitude":753539264,"raw_latitude":119429464,"longitude_deg":75.3539264,"latitude_deg":11.9429464,"altitude":12,"angle":183,"satellites":51,"speed":0,"hex_longitude":"2cea18c0","hex_latitude":"071e5958","is_valid_coordinates":true} 
[2026-04-17 01:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:39:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750736896001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:39:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:39:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1574922832861384704,"note":"Value kept but may cause issues"} 
[2026-04-17 01:39:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:39:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776370087000,"timestamp_ms":1776370087000,"timestamp_seconds":1776370087,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e87458"} 
[2026-04-17 01:39:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:39:48] 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-04-17 01:39:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 01:39:48] 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-04-17 01:39:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:39:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:39:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:39:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:39:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:39:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:39:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:39:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:39:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:39:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750736896001,"66":28028,"7":206,"2":54272,"24":0,"16":106618783551979520,"44":-1574922832861384704},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,2,24,16,44]} 
[2026-04-17 01:39:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:39:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:39:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750736896001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:39:48] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-04-17 01:39:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:39:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1574922832861384704,"description":"Unknown IO ID 44"} 
[2026-04-17 01:39:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750736896001,"power":28028,"unknown_7":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1574922832861384704}} 
[2026-04-17 01:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":45490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18520,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:39:48] local.INFO: GPS data processed {"connection_id":45490,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:39:48] local.INFO: Acknowledgment sent {"connection_id":45490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:39:52] local.INFO: TCP Data received {"connection_id":45684,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:39:52] local.INFO: Processing buffer {"connection_id":45684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:39:52] local.INFO: IMEI packet received {"connection_id":45684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":45684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:39:57] local.INFO: TCP Data received {"connection_id":45684,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:39:57] local.INFO: Processing buffer {"connection_id":45684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:39:57] local.INFO: IMEI packet received {"connection_id":45684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":45684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:39:58] local.INFO: TCP Data received {"connection_id":45684,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e90cb0012d53db800647b3c0000500c932..."} 
[2026-04-17 01:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e90cb0012d53db800647b3c0000500c932..."} 
[2026-04-17 01:39:58] local.INFO: Processing buffer {"connection_id":45684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e90cb0012d53db800647b3c0000500c932..."} 
[2026-04-17 01:39:58] local.INFO: Packet analysis {"connection_id":45684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e9"} 
[2026-04-17 01:39:58] local.INFO: Extracted packet for processing {"connection_id":45684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e9"} 
[2026-04-17 01:39:58] local.INFO: GPS Element Parsed {"raw_longitude":760470400,"raw_latitude":105362368,"longitude_deg":76.04704,"latitude_deg":10.5362368,"altitude":5,"angle":201,"satellites":50,"speed":17,"hex_longitude":"2d53db80","hex_latitude":"0647b3c0","is_valid_coordinates":true} 
[2026-04-17 01:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750751744001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273515246964965376,"note":"Value kept but may cause issues"} 
[2026-04-17 01:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6043127039462375424,"note":"Value kept but may cause issues"} 
[2026-04-17 01:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776370126000,"timestamp_ms":1776370126000,"timestamp_seconds":1776370126,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e90cb0"} 
[2026-04-17 01:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:39: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-04-17 01:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-04-17 01:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750751744001,"66":27397,"99":206,"78":38912,"24":17,"16":273515246964965376,"45":6043127039462375424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-04-17 01:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750751744001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:39:58] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-04-17 01:39:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273515246964965376,"km_value":273515246964965.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6043127039462375424,"description":"Unknown IO ID 45"} 
[2026-04-17 01:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750751744001,"power":27397,"unknown_99":206,"unknown_78":38912,"ignition":17,"odometer":null,"unknown_45":6043127039462375424}} 
[2026-04-17 01:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":45684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:39:58] local.INFO: GPS data processed {"connection_id":45684,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:39:58] local.INFO: Acknowledgment sent {"connection_id":45684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:40:06] local.INFO: TCP Data received {"connection_id":45685,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45685,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:40:06] local.INFO: Processing buffer {"connection_id":45685,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:40:06] local.INFO: IMEI packet received {"connection_id":45685,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:40:06] local.INFO: IMEI acknowledgment sent {"connection_id":45685,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:40:11] local.INFO: TCP Data received {"connection_id":45685,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45685,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:40:11] local.INFO: Processing buffer {"connection_id":45685,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:40:11] local.INFO: IMEI packet received {"connection_id":45685,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:40:11] local.INFO: IMEI acknowledgment sent {"connection_id":45685,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:40:12] local.INFO: TCP Data received {"connection_id":45685,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e976280100000000000000000000000000..."} 
[2026-04-17 01:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e976280100000000000000000000000000..."} 
[2026-04-17 01:40:12] local.INFO: Processing buffer {"connection_id":45685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e976280100000000000000000000000000..."} 
[2026-04-17 01:40:12] local.INFO: Packet analysis {"connection_id":45685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e9"} 
[2026-04-17 01:40:12] local.INFO: Extracted packet for processing {"connection_id":45685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e9"} 
[2026-04-17 01:40: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-04-17 01: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-04-17 01:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750742272001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:40:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1578300532586883072,"note":"Value kept but may cause issues"} 
[2026-04-17 01:40:12] 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-04-17 01:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776370153000,"timestamp_ms":1776370153000,"timestamp_seconds":1776370153,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e97628"} 
[2026-04-17 01:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:40:12] 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-04-17 01: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 01:40: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-04-17 01: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-04-17 01:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45685,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45685,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":45685,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:40:12] local.INFO: GPS data processed {"connection_id":45685,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:40:12] local.INFO: Acknowledgment sent {"connection_id":45685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:40:29] local.INFO: TCP Data received {"connection_id":45684,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e91480012d53dac00647b048000500ba32..."} 
[2026-04-17 01:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e91480012d53dac00647b048000500ba32..."} 
[2026-04-17 01:40:29] local.INFO: Processing buffer {"connection_id":45684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e91480012d53dac00647b048000500ba32..."} 
[2026-04-17 01:40:29] local.INFO: Packet analysis {"connection_id":45684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e9"} 
[2026-04-17 01:40:29] local.INFO: Extracted packet for processing {"connection_id":45684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e9"} 
[2026-04-17 01:40:29] local.INFO: GPS Element Parsed {"raw_longitude":760470208,"raw_latitude":105361480,"longitude_deg":76.0470208,"latitude_deg":10.536148,"altitude":5,"angle":186,"satellites":50,"speed":19,"hex_longitude":"2d53dac0","hex_latitude":"0647b048","is_valid_coordinates":true} 
[2026-04-17 01:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750752256001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273515289914638336,"note":"Value kept but may cause issues"} 
[2026-04-17 01:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042564089508773888,"note":"Value kept but may cause issues"} 
[2026-04-17 01:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776370128000,"timestamp_ms":1776370128000,"timestamp_seconds":1776370128,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e91480"} 
[2026-04-17 01:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:40: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-04-17 01:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:40: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-04-17 01:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750752256001,"66":27332,"99":206,"78":38912,"24":19,"16":273515289914638336,"45":6042564089508773888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-04-17 01:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750752256001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:40:29] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-04-17 01:40:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273515289914638336,"km_value":273515289914638.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042564089508773888,"description":"Unknown IO ID 45"} 
[2026-04-17 01:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750752256001,"power":27332,"unknown_99":206,"unknown_78":38912,"ignition":19,"odometer":null,"unknown_45":6042564089508773888}} 
[2026-04-17 01:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":45684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:40:29] local.INFO: GPS data processed {"connection_id":45684,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:40:29] local.INFO: Acknowledgment sent {"connection_id":45684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:40:44] local.INFO: TCP Data received {"connection_id":45685,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e8e5a0012cea0dc0071dbba0000800b72d..."} 
[2026-04-17 01:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e8e5a0012cea0dc0071dbba0000800b72d..."} 
[2026-04-17 01:40:44] local.INFO: Processing buffer {"connection_id":45685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e8e5a0012cea0dc0071dbba0000800b72d..."} 
[2026-04-17 01:40:44] local.INFO: Packet analysis {"connection_id":45685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e8"} 
[2026-04-17 01:40:44] local.INFO: Extracted packet for processing {"connection_id":45685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e8"} 
[2026-04-17 01:40:44] local.INFO: GPS Element Parsed {"raw_longitude":753536448,"raw_latitude":119389088,"longitude_deg":75.3536448,"latitude_deg":11.9389088,"altitude":8,"angle":183,"satellites":45,"speed":44,"hex_longitude":"2cea0dc0","hex_latitude":"071dbba0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:40:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,165,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776370116000,"timestamp_ms":1776370116000,"timestamp_seconds":1776370116,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e8e5a0"} 
[2026-04-17 01:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:40:44] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 01:40:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45685,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45685,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28028,"165":206,"2":54272,"24":44,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16]} 
[2026-04-17 01:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:40:44] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-04-17 01:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:40:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28028,"unknown_165":206,"power_alt":54272,"ignition":44,"odometer":null}} 
[2026-04-17 01:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":45685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18523,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:40:44] local.INFO: GPS data processed {"connection_id":45685,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:40:44] local.INFO: Acknowledgment sent {"connection_id":45685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:40:52] local.INFO: TCP Data received {"connection_id":45491,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:40:52] local.INFO: Processing buffer {"connection_id":45491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:40:52] local.INFO: IMEI packet received {"connection_id":45491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":45491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:40:57] local.INFO: TCP Data received {"connection_id":45491,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:40:57] local.INFO: Processing buffer {"connection_id":45491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:40:57] local.INFO: IMEI packet received {"connection_id":45491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":45491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:40:59] local.INFO: TCP Data received {"connection_id":45491,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e95300012d53db00064792d8000600ae33..."} 
[2026-04-17 01:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e95300012d53db00064792d8000600ae33..."} 
[2026-04-17 01:40:59] local.INFO: Processing buffer {"connection_id":45491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e95300012d53db00064792d8000600ae33..."} 
[2026-04-17 01:40:59] local.INFO: Packet analysis {"connection_id":45491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e9"} 
[2026-04-17 01:40:59] local.INFO: Extracted packet for processing {"connection_id":45491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e9"} 
[2026-04-17 01:40:59] local.INFO: GPS Element Parsed {"raw_longitude":760470272,"raw_latitude":105353944,"longitude_deg":76.0470272,"latitude_deg":10.5353944,"altitude":6,"angle":174,"satellites":51,"speed":16,"hex_longitude":"2d53db00","hex_latitude":"064792d8","is_valid_coordinates":true} 
[2026-04-17 01:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750752768001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273515654986858496,"note":"Value kept but may cause issues"} 
[2026-04-17 01:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042352983276013568,"note":"Value kept but may cause issues"} 
[2026-04-17 01:40:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776370144000,"timestamp_ms":1776370144000,"timestamp_seconds":1776370144,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e95300"} 
[2026-04-17 01:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:40:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:40:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 01:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:40:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750752768001,"66":27484,"99":206,"78":38912,"24":16,"16":273515654986858496,"45":6042352983276013568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-04-17 01:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750752768001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:40:59] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-04-17 01:40:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273515654986858496,"km_value":273515654986858.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042352983276013568,"description":"Unknown IO ID 45"} 
[2026-04-17 01:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750752768001,"power":27484,"unknown_99":206,"unknown_78":38912,"ignition":16,"odometer":null,"unknown_45":6042352983276013568}} 
[2026-04-17 01:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":45491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:40:59] local.INFO: GPS data processed {"connection_id":45491,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:40:59] local.INFO: Acknowledgment sent {"connection_id":45491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:41:04] local.INFO: TCP Data received {"connection_id":45422,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:41:04] local.INFO: Processing buffer {"connection_id":45422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:41:04] local.INFO: IMEI packet received {"connection_id":45422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":45422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:41:06] local.INFO: TCP Data received {"connection_id":45422,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:41:06] local.INFO: Processing buffer {"connection_id":45422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:41:06] local.INFO: IMEI packet received {"connection_id":45422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":45422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:41:27] local.INFO: TCP Data received {"connection_id":45422,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:41:27] local.INFO: Processing buffer {"connection_id":45422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:41:27] local.INFO: IMEI packet received {"connection_id":45422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":45422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:41:29] local.INFO: TCP Data received {"connection_id":45422,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e937a8012cea0880071d6fe0000800b833..."} 
[2026-04-17 01:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e937a8012cea0880071d6fe0000800b833..."} 
[2026-04-17 01:41:29] local.INFO: Processing buffer {"connection_id":45422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e937a8012cea0880071d6fe0000800b833..."} 
[2026-04-17 01:41:29] local.INFO: Packet analysis {"connection_id":45422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e9"} 
[2026-04-17 01:41:29] local.INFO: Extracted packet for processing {"connection_id":45422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e9"} 
[2026-04-17 01:41:29] local.INFO: GPS Element Parsed {"raw_longitude":753535104,"raw_latitude":119369696,"longitude_deg":75.3535104,"latitude_deg":11.9369696,"altitude":8,"angle":184,"satellites":51,"speed":0,"hex_longitude":"2cea0880","hex_latitude":"071d6fe0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750749696001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:41:29] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1581396757341036544,"note":"Value kept but may cause issues"} 
[2026-04-17 01:41:29] 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-04-17 01:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776370137000,"timestamp_ms":1776370137000,"timestamp_seconds":1776370137,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e937a8"} 
[2026-04-17 01:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:41: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-04-17 01: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 01:41: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-04-17 01: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-04-17 01:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:41:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750749696001,"66":27952,"165":206,"2":54272,"24":0,"16":106618783551979520,"44":-1581396757341036544},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-04-17 01:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750749696001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:41:29] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-04-17 01:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:41:29] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1581396757341036544,"description":"Unknown IO ID 44"} 
[2026-04-17 01:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750749696001,"power":27952,"unknown_165":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1581396757341036544}} 
[2026-04-17 01:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":45422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18525,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:41:29] local.INFO: GPS data processed {"connection_id":45422,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:41:29] local.INFO: Acknowledgment sent {"connection_id":45422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:41:30] local.INFO: TCP Data received {"connection_id":45491,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e9a120012d53db8006476fa8000800b531..."} 
[2026-04-17 01:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e9a120012d53db8006476fa8000800b531..."} 
[2026-04-17 01:41:30] local.INFO: Processing buffer {"connection_id":45491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e9a120012d53db8006476fa8000800b531..."} 
[2026-04-17 01:41:30] local.INFO: Packet analysis {"connection_id":45491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e9"} 
[2026-04-17 01:41:30] local.INFO: Extracted packet for processing {"connection_id":45491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e9"} 
[2026-04-17 01:41:30] local.INFO: GPS Element Parsed {"raw_longitude":760470400,"raw_latitude":105344936,"longitude_deg":76.04704,"latitude_deg":10.5344936,"altitude":8,"angle":181,"satellites":49,"speed":18,"hex_longitude":"2d53db80","hex_latitude":"06476fa8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750756864001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273516093073522688,"note":"Value kept but may cause issues"} 
[2026-04-17 01:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042423352018262016,"note":"Value kept but may cause issues"} 
[2026-04-17 01:41:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776370164000,"timestamp_ms":1776370164000,"timestamp_seconds":1776370164,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e9a120"} 
[2026-04-17 01:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:41: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-04-17 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 01:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:41: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-04-17 01:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750756864001,"66":27484,"99":206,"78":38912,"24":18,"16":273516093073522688,"45":6042423352018262016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-04-17 01:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750756864001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:41:30] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-04-17 01:41:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273516093073522688,"km_value":273516093073522.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042423352018262016,"description":"Unknown IO ID 45"} 
[2026-04-17 01:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750756864001,"power":27484,"unknown_99":206,"unknown_78":38912,"ignition":18,"odometer":null,"unknown_45":6042423352018262016}} 
[2026-04-17 01:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":45491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:41:30] local.INFO: GPS data processed {"connection_id":45491,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:41:30] local.INFO: Acknowledgment sent {"connection_id":45491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:41:55] local.INFO: TCP Data received {"connection_id":45492,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:41:55] local.INFO: Processing buffer {"connection_id":45492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:41:55] local.INFO: IMEI packet received {"connection_id":45492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":45492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:41:57] local.INFO: TCP Data received {"connection_id":45492,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:41:57] local.INFO: Processing buffer {"connection_id":45492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:41:57] local.INFO: IMEI packet received {"connection_id":45492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":45492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:42:06] local.INFO: TCP Data received {"connection_id":46238,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:42:06] local.INFO: Processing buffer {"connection_id":46238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:42:06] local.INFO: IMEI packet received {"connection_id":46238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":46238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:42:06] local.INFO: TCP Data received {"connection_id":46238,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:42:06] local.INFO: Processing buffer {"connection_id":46238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:42:06] local.INFO: IMEI packet received {"connection_id":46238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":46238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:42:07] local.INFO: TCP Data received {"connection_id":45492,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:42:07] local.INFO: Processing buffer {"connection_id":45492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:42:07] local.INFO: IMEI packet received {"connection_id":45492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:42:07] local.INFO: IMEI acknowledgment sent {"connection_id":45492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:42:08] local.INFO: TCP Data received {"connection_id":45492,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e9ef40012d53db8006474b90000a00b22e..."} 
[2026-04-17 01:42:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e9ef40012d53db8006474b90000a00b22e..."} 
[2026-04-17 01:42:08] local.INFO: Processing buffer {"connection_id":45492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e9ef40012d53db8006474b90000a00b22e..."} 
[2026-04-17 01:42:08] local.INFO: Packet analysis {"connection_id":45492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e9"} 
[2026-04-17 01:42:08] local.INFO: Extracted packet for processing {"connection_id":45492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e9"} 
[2026-04-17 01:42:08] local.INFO: GPS Element Parsed {"raw_longitude":760470400,"raw_latitude":105335696,"longitude_deg":76.04704,"latitude_deg":10.5335696,"altitude":10,"angle":178,"satellites":46,"speed":22,"hex_longitude":"2d53db80","hex_latitude":"06474b90","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:42:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750761984001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:42:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273516544045088768,"note":"Value kept but may cause issues"} 
[2026-04-17 01:42:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6042564089504311296,"note":"Value kept but may cause issues"} 
[2026-04-17 01:42:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,99,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:42:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776370184000,"timestamp_ms":1776370184000,"timestamp_seconds":1776370184,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e9ef40"} 
[2026-04-17 01:42:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:42:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 01:42: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-04-17 01: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-04-17 01:42:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:42:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:42:08] local.INFO: Teltonika packet parsed successfully {"connection_id":45492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:42:08] local.INFO: Passing IMEI to GPS processor {"connection_id":45492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:42:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":45492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:42:08] 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-04-17 01:42:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:42:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:42:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750761984001,"66":27484,"99":206,"78":38912,"24":22,"16":273516544045088768,"45":6042564089504311296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,99,78,24,16,45]} 
[2026-04-17 01:42:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:42:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:42:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750761984001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:42:08] local.INFO: Unknown IO ID detected {"io_id":99,"value":206,"description":"Unknown IO ID 99"} 
[2026-04-17 01:42:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:42:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273516544045088768,"km_value":273516544045088.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:42:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6042564089504311296,"description":"Unknown IO ID 45"} 
[2026-04-17 01:42:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750761984001,"power":27484,"unknown_99":206,"unknown_78":38912,"ignition":22,"odometer":null,"unknown_45":6042564089504311296}} 
[2026-04-17 01:42:08] local.INFO: DEBUG: GPS processor result {"connection_id":45492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:42:08] local.INFO: GPS data processed {"connection_id":45492,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:42:08] local.INFO: Acknowledgment sent {"connection_id":45492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:42:11] local.INFO: TCP Data received {"connection_id":46238,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46238,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:42:11] local.INFO: Processing buffer {"connection_id":46238,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:42:11] local.INFO: IMEI packet received {"connection_id":46238,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":46238,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:42:13] local.INFO: TCP Data received {"connection_id":46238,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97e989b0012cea0340071d26f0000900b830..."} 
[2026-04-17 01:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97e989b0012cea0340071d26f0000900b830..."} 
[2026-04-17 01:42:13] local.INFO: Processing buffer {"connection_id":46238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97e989b0012cea0340071d26f0000900b830..."} 
[2026-04-17 01:42:13] local.INFO: Packet analysis {"connection_id":46238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97e9"} 
[2026-04-17 01:42:13] local.INFO: Extracted packet for processing {"connection_id":46238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97e9"} 
[2026-04-17 01:42:13] local.INFO: GPS Element Parsed {"raw_longitude":753533760,"raw_latitude":119351024,"longitude_deg":75.353376,"latitude_deg":11.9351024,"altitude":9,"angle":184,"satellites":48,"speed":0,"hex_longitude":"2cea0340","hex_latitude":"071d26f0","is_valid_coordinates":true} 
[2026-04-17 01:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750755072001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:42:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582874500973731840,"note":"Value kept but may cause issues"} 
[2026-04-17 01:42:13] 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-04-17 01:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776370158000,"timestamp_ms":1776370158000,"timestamp_seconds":1776370158,"priority":1,"record_length":96,"hex_timestamp":"0000019d97e989b0"} 
[2026-04-17 01:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:42:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 01:42:13] 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-04-17 01:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750755072001,"66":27767,"165":206,"2":54272,"24":0,"16":106618783551979520,"44":-1582874500973731840},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,2,24,16,44]} 
[2026-04-17 01:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750755072001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:42:13] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-04-17 01:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:42:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582874500973731840,"description":"Unknown IO ID 44"} 
[2026-04-17 01:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750755072001,"power":27767,"unknown_165":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1582874500973731840}} 
[2026-04-17 01:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":46238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18528,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:42:13] local.INFO: GPS data processed {"connection_id":46238,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:42:13] local.INFO: Acknowledgment sent {"connection_id":46238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:42:45] local.INFO: TCP Data received {"connection_id":46238,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ea8b800100000000000000000000000000..."} 
[2026-04-17 01:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ea8b800100000000000000000000000000..."} 
[2026-04-17 01:42:45] local.INFO: Processing buffer {"connection_id":46238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ea8b800100000000000000000000000000..."} 
[2026-04-17 01:42:45] local.INFO: Packet analysis {"connection_id":46238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ea"} 
[2026-04-17 01:42:45] local.INFO: Extracted packet for processing {"connection_id":46238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ea"} 
[2026-04-17 01:42: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-04-17 01:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750760448001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:42:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1584352244606242816,"note":"Value kept but may cause issues"} 
[2026-04-17 01:42: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-04-17 01:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776370224000,"timestamp_ms":1776370224000,"timestamp_seconds":1776370224,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ea8b80"} 
[2026-04-17 01:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:42: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-04-17 01:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-17 01:42: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-04-17 01:42:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46238,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":46238,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:42:45] local.INFO: GPS data processed {"connection_id":46238,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:42:45] local.INFO: Acknowledgment sent {"connection_id":46238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:42:52] local.INFO: TCP Data received {"connection_id":46239,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:42:52] local.INFO: Processing buffer {"connection_id":46239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:42:52] local.INFO: IMEI packet received {"connection_id":46239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":46239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:42:57] local.INFO: TCP Data received {"connection_id":46239,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:42:57] local.INFO: Processing buffer {"connection_id":46239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:42:57] local.INFO: IMEI packet received {"connection_id":46239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":46239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:42:58] local.INFO: TCP Data received {"connection_id":46239,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ebdb70012d5448800645f4180007009631..."} 
[2026-04-17 01:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ebdb70012d5448800645f4180007009631..."} 
[2026-04-17 01:42:58] local.INFO: Processing buffer {"connection_id":46239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ebdb70012d5448800645f4180007009631..."} 
[2026-04-17 01:42:58] local.INFO: Packet analysis {"connection_id":46239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97eb"} 
[2026-04-17 01:42:58] local.INFO: Extracted packet for processing {"connection_id":46239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97eb"} 
[2026-04-17 01:42:58] local.INFO: GPS Element Parsed {"raw_longitude":760498304,"raw_latitude":105247768,"longitude_deg":76.0498304,"latitude_deg":10.5247768,"altitude":7,"angle":150,"satellites":49,"speed":34,"hex_longitude":"2d544880","hex_latitude":"0645f418","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750796288001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273521135365128192,"note":"Value kept but may cause issues"} 
[2026-04-17 01:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6068248681106380800,"note":"Value kept but may cause issues"} 
[2026-04-17 01:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,232,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776370310000,"timestamp_ms":1776370310000,"timestamp_seconds":1776370310,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ebdb70"} 
[2026-04-17 01:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:42: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-04-17 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750796288001,"66":27321,"232":206,"78":38912,"24":34,"16":273521135365128192,"45":6068248681106380800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,232,78,24,16,45]} 
[2026-04-17 01:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750796288001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:42:58] local.INFO: Unknown IO ID detected {"io_id":232,"value":206,"description":"Unknown IO ID 232"} 
[2026-04-17 01:42:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273521135365128192,"km_value":273521135365128.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6068248681106380800,"description":"Unknown IO ID 45"} 
[2026-04-17 01:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750796288001,"power":27321,"unknown_232":206,"unknown_78":38912,"ignition":34,"odometer":null,"unknown_45":6068248681106380800}} 
[2026-04-17 01:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":46239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:42:58] local.INFO: GPS data processed {"connection_id":46239,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:42:58] local.INFO: Acknowledgment sent {"connection_id":46239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:43:10] local.INFO: TCP Data received {"connection_id":46240,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46240,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:43:10] local.INFO: Processing buffer {"connection_id":46240,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:43:10] local.INFO: IMEI packet received {"connection_id":46240,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":46240,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:43:11] local.INFO: TCP Data received {"connection_id":46240,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46240,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:43:11] local.INFO: Processing buffer {"connection_id":46240,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:43:11] local.INFO: IMEI packet received {"connection_id":46240,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":46240,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:43:16] local.INFO: TCP Data received {"connection_id":46240,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:43:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46240,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:43:16] local.INFO: Processing buffer {"connection_id":46240,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:43:16] local.INFO: IMEI packet received {"connection_id":46240,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:43:16] local.INFO: IMEI acknowledgment sent {"connection_id":46240,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:43:20] local.INFO: TCP Data received {"connection_id":46240,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ea02c8012ce9fa00071ca2b0000e00b534..."} 
[2026-04-17 01:43:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ea02c8012ce9fa00071ca2b0000e00b534..."} 
[2026-04-17 01:43:20] local.INFO: Processing buffer {"connection_id":46240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ea02c8012ce9fa00071ca2b0000e00b534..."} 
[2026-04-17 01:43:20] local.INFO: Packet analysis {"connection_id":46240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ea"} 
[2026-04-17 01:43:20] local.INFO: Extracted packet for processing {"connection_id":46240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ea"} 
[2026-04-17 01:43:20] local.INFO: GPS Element Parsed {"raw_longitude":753531392,"raw_latitude":119317168,"longitude_deg":75.3531392,"latitude_deg":11.9317168,"altitude":14,"angle":181,"satellites":52,"speed":38,"hex_longitude":"2ce9fa00","hex_latitude":"071ca2b0","is_valid_coordinates":true} 
[2026-04-17 01:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:43:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:43:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,162,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:43:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776370189000,"timestamp_ms":1776370189000,"timestamp_seconds":1776370189,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ea02c8"} 
[2026-04-17 01:43:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:43:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:43:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 01:43:20] 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-04-17 01:43:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:43:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:43:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:43:20] local.INFO: Teltonika packet parsed successfully {"connection_id":46240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:43:20] local.INFO: Passing IMEI to GPS processor {"connection_id":46240,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:43:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":46240,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:43:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:43:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:43:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:43:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27843,"162":206,"2":54272,"24":38,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16]} 
[2026-04-17 01:43:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:43:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:43:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:43:20] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-04-17 01:43:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:43:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27843,"unknown_162":206,"power_alt":54272,"ignition":38,"odometer":null}} 
[2026-04-17 01:43:20] local.INFO: DEBUG: GPS processor result {"connection_id":46240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:43:20] local.INFO: GPS data processed {"connection_id":46240,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:43:20] local.INFO: Acknowledgment sent {"connection_id":46240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:43:21] local.INFO: TCP Data received {"connection_id":46240,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ea54d0012ce9f480071c5938000700b930..."} 
[2026-04-17 01:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ea54d0012ce9f480071c5938000700b930..."} 
[2026-04-17 01:43:21] local.INFO: Processing buffer {"connection_id":46240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ea54d0012ce9f480071c5938000700b930..."} 
[2026-04-17 01:43:21] local.INFO: Packet analysis {"connection_id":46240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ea"} 
[2026-04-17 01:43:21] local.INFO: Extracted packet for processing {"connection_id":46240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ea"} 
[2026-04-17 01:43:21] local.INFO: GPS Element Parsed {"raw_longitude":753529984,"raw_latitude":119298360,"longitude_deg":75.3529984,"latitude_deg":11.929836,"altitude":7,"angle":185,"satellites":48,"speed":0,"hex_longitude":"2ce9f480","hex_latitude":"071c5938","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:43:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750768384001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:43:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:43:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1586955888149483520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:43:21] 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-04-17 01:43:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776370210000,"timestamp_ms":1776370210000,"timestamp_seconds":1776370210,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ea54d0"} 
[2026-04-17 01:43:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:43:21] 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-04-17 01:43:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 01:43:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:43:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:43:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:43:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:43:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46240,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:43:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46240,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:43:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:43:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:43:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:43:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750768384001,"66":27919,"162":206,"2":54272,"24":0,"16":106618783551979520,"44":-1586955888149483520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-04-17 01:43:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:43:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:43:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750768384001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:43:21] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-04-17 01:43:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:43:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1586955888149483520,"description":"Unknown IO ID 44"} 
[2026-04-17 01:43:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750768384001,"power":27919,"unknown_162":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1586955888149483520}} 
[2026-04-17 01:43:21] local.INFO: DEBUG: GPS processor result {"connection_id":46240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18531,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:43:21] local.INFO: GPS data processed {"connection_id":46240,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:43:21] local.INFO: Acknowledgment sent {"connection_id":46240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:43:30] local.INFO: TCP Data received {"connection_id":46239,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ec0280012d5458c00645d5780007009732..."} 
[2026-04-17 01:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ec0280012d5458c00645d5780007009732..."} 
[2026-04-17 01:43:30] local.INFO: Processing buffer {"connection_id":46239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ec0280012d5458c00645d5780007009732..."} 
[2026-04-17 01:43:30] local.INFO: Packet analysis {"connection_id":46239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ec"} 
[2026-04-17 01:43:30] local.INFO: Extracted packet for processing {"connection_id":46239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ec"} 
[2026-04-17 01:43:30] local.INFO: GPS Element Parsed {"raw_longitude":760502464,"raw_latitude":105239928,"longitude_deg":76.0502464,"latitude_deg":10.5239928,"altitude":7,"angle":151,"satellites":50,"speed":34,"hex_longitude":"2d5458c0","hex_latitude":"0645d578","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750799360001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273521564861857792,"note":"Value kept but may cause issues"} 
[2026-04-17 01:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6073244861940897792,"note":"Value kept but may cause issues"} 
[2026-04-17 01:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776370320000,"timestamp_ms":1776370320000,"timestamp_seconds":1776370320,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ec0280"} 
[2026-04-17 01:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01: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-04-17 01:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 01:43: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-04-17 01: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-04-17 01:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:43: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-04-17 01:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750799360001,"66":27365,"217":206,"78":38912,"24":34,"16":273521564861857792,"45":6073244861940897792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-04-17 01:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750799360001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:43:30] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 01:43:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273521564861857792,"km_value":273521564861857.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6073244861940897792,"description":"Unknown IO ID 45"} 
[2026-04-17 01:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750799360001,"power":27365,"unknown_217":206,"unknown_78":38912,"ignition":34,"odometer":null,"unknown_45":6073244861940897792}} 
[2026-04-17 01:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":46239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:43:30] local.INFO: GPS data processed {"connection_id":46239,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:43:30] local.INFO: Acknowledgment sent {"connection_id":46239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:43:52] local.INFO: TCP Data received {"connection_id":45493,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:43:52] local.INFO: Processing buffer {"connection_id":45493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:43:52] local.INFO: IMEI packet received {"connection_id":45493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":45493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:43:52] local.INFO: TCP Data received {"connection_id":45493,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:43:52] local.INFO: Processing buffer {"connection_id":45493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:43:52] local.INFO: IMEI packet received {"connection_id":45493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":45493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:43:57] local.INFO: TCP Data received {"connection_id":45493,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:43:57] local.INFO: Processing buffer {"connection_id":45493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:43:57] local.INFO: IMEI packet received {"connection_id":45493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":45493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:43:59] local.INFO: TCP Data received {"connection_id":45493,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ec2990012d546b400645b3c00007009733..."} 
[2026-04-17 01:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ec2990012d546b400645b3c00007009733..."} 
[2026-04-17 01:43:59] local.INFO: Processing buffer {"connection_id":45493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ec2990012d546b400645b3c00007009733..."} 
[2026-04-17 01:43:59] local.INFO: Packet analysis {"connection_id":45493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ec"} 
[2026-04-17 01:43:59] local.INFO: Extracted packet for processing {"connection_id":45493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ec"} 
[2026-04-17 01:43:59] local.INFO: GPS Element Parsed {"raw_longitude":760507200,"raw_latitude":105231296,"longitude_deg":76.05072,"latitude_deg":10.5231296,"altitude":7,"angle":151,"satellites":51,"speed":41,"hex_longitude":"2d546b40","hex_latitude":"0645b3c0","is_valid_coordinates":true} 
[2026-04-17 01:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750801920001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273522041603227648,"note":"Value kept but may cause issues"} 
[2026-04-17 01:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6077818830310438912,"note":"Value kept but may cause issues"} 
[2026-04-17 01:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776370330000,"timestamp_ms":1776370330000,"timestamp_seconds":1776370330,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ec2990"} 
[2026-04-17 01:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 01:43: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-04-17 01:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750801920001,"66":27234,"217":206,"78":38912,"24":41,"16":273522041603227648,"45":6077818830310438912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-04-17 01:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750801920001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:43:59] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 01:43:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273522041603227648,"km_value":273522041603227.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6077818830310438912,"description":"Unknown IO ID 45"} 
[2026-04-17 01:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750801920001,"power":27234,"unknown_217":206,"unknown_78":38912,"ignition":41,"odometer":null,"unknown_45":6077818830310438912}} 
[2026-04-17 01:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":45493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:43:59] local.INFO: GPS data processed {"connection_id":45493,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:43:59] local.INFO: Acknowledgment sent {"connection_id":45493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:44:06] local.INFO: TCP Data received {"connection_id":45423,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:44:06] local.INFO: Processing buffer {"connection_id":45423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:44:06] local.INFO: IMEI packet received {"connection_id":45423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":45423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:44:11] local.INFO: TCP Data received {"connection_id":45423,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:44:11] local.INFO: Processing buffer {"connection_id":45423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:44:11] local.INFO: IMEI packet received {"connection_id":45423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":45423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:44:12] local.INFO: TCP Data received {"connection_id":45423,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ea9350012ce9f700071c1a68000c00a929..."} 
[2026-04-17 01:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ea9350012ce9f700071c1a68000c00a929..."} 
[2026-04-17 01:44:12] local.INFO: Processing buffer {"connection_id":45423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ea9350012ce9f700071c1a68000c00a929..."} 
[2026-04-17 01:44:12] local.INFO: Packet analysis {"connection_id":45423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ea"} 
[2026-04-17 01:44:12] local.INFO: Extracted packet for processing {"connection_id":45423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ea"} 
[2026-04-17 01:44:12] local.INFO: GPS Element Parsed {"raw_longitude":753530624,"raw_latitude":119282280,"longitude_deg":75.3530624,"latitude_deg":11.928228,"altitude":12,"angle":169,"satellites":41,"speed":31,"hex_longitude":"2ce9f700","hex_latitude":"071c1a68","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750773760001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:44:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1588504000526206976,"note":"Value kept but may cause issues"} 
[2026-04-17 01:44:12] 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-04-17 01:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776370226000,"timestamp_ms":1776370226000,"timestamp_seconds":1776370226,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ea9350"} 
[2026-04-17 01:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:44: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-04-17 01: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 01:44:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750773760001,"66":27365,"162":206,"2":54272,"24":31,"16":106618783551979520,"44":-1588504000526206976},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-04-17 01:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750773760001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:44:12] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-04-17 01:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:44:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1588504000526206976,"description":"Unknown IO ID 44"} 
[2026-04-17 01:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750773760001,"power":27365,"unknown_162":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-1588504000526206976}} 
[2026-04-17 01:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":45423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18534,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:44:12] local.INFO: GPS data processed {"connection_id":45423,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:44:12] local.INFO: Acknowledgment sent {"connection_id":45423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:44:30] local.INFO: TCP Data received {"connection_id":45493,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97edac48012d54ee000644bb28000b00ac2a..."} 
[2026-04-17 01:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97edac48012d54ee000644bb28000b00ac2a..."} 
[2026-04-17 01:44:30] local.INFO: Processing buffer {"connection_id":45493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97edac48012d54ee000644bb28000b00ac2a..."} 
[2026-04-17 01:44:30] local.INFO: Packet analysis {"connection_id":45493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ed"} 
[2026-04-17 01:44:30] local.INFO: Extracted packet for processing {"connection_id":45493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ed"} 
[2026-04-17 01:44:30] local.INFO: GPS Element Parsed {"raw_longitude":760540672,"raw_latitude":105167656,"longitude_deg":76.0540672,"latitude_deg":10.5167656,"altitude":11,"angle":172,"satellites":42,"speed":10,"hex_longitude":"2d54ee00","hex_latitude":"0644bb28","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750829568001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273525645080788992,"note":"Value kept but may cause issues"} 
[2026-04-17 01:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6119969708054429696,"note":"Value kept but may cause issues"} 
[2026-04-17 01:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776370429000,"timestamp_ms":1776370429000,"timestamp_seconds":1776370429,"priority":1,"record_length":96,"hex_timestamp":"0000019d97edac48"} 
[2026-04-17 01:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:44: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-04-17 01:44:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 01:44: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-04-17 01: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-04-17 01:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:44: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-04-17 01:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750829568001,"66":27376,"217":206,"78":38912,"24":10,"16":273525645080788992,"45":6119969708054429696},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-04-17 01:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750829568001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:44:30] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 01:44:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273525645080788992,"km_value":273525645080789.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6119969708054429696,"description":"Unknown IO ID 45"} 
[2026-04-17 01:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750829568001,"power":27376,"unknown_217":206,"unknown_78":38912,"ignition":10,"odometer":null,"unknown_45":6119969708054429696}} 
[2026-04-17 01:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":45493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:44:30] local.INFO: GPS data processed {"connection_id":45493,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:44:30] local.INFO: Acknowledgment sent {"connection_id":45493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:44:45] local.INFO: TCP Data received {"connection_id":45423,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97eae170012cea0b80071bdd680013009d33..."} 
[2026-04-17 01:44:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97eae170012cea0b80071bdd680013009d33..."} 
[2026-04-17 01:44:45] local.INFO: Processing buffer {"connection_id":45423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97eae170012cea0b80071bdd680013009d33..."} 
[2026-04-17 01:44:45] local.INFO: Packet analysis {"connection_id":45423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ea"} 
[2026-04-17 01:44:45] local.INFO: Extracted packet for processing {"connection_id":45423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ea"} 
[2026-04-17 01:44:45] local.INFO: GPS Element Parsed {"raw_longitude":753535872,"raw_latitude":119266664,"longitude_deg":75.3535872,"latitude_deg":11.9266664,"altitude":19,"angle":157,"satellites":51,"speed":32,"hex_longitude":"2cea0b80","hex_latitude":"071bdd68","is_valid_coordinates":true} 
[2026-04-17 01:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:44:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750777856001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:44:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:44:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1587800313088546816,"note":"Value kept but may cause issues"} 
[2026-04-17 01:44: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-04-17 01:44:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776370246000,"timestamp_ms":1776370246000,"timestamp_seconds":1776370246,"priority":1,"record_length":96,"hex_timestamp":"0000019d97eae170"} 
[2026-04-17 01:44:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:44: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-04-17 01:44:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 01:44:45] 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-04-17 01:44:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:44:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:44:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:44:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:44:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:44:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:44:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:44:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:44:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:44:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750777856001,"66":27887,"162":206,"2":54272,"24":32,"16":106618783551979520,"44":-1587800313088546816},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,2,24,16,44]} 
[2026-04-17 01:44:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:44:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:44:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750777856001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:44:45] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-04-17 01:44:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:44:45] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1587800313088546816,"description":"Unknown IO ID 44"} 
[2026-04-17 01:44:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750777856001,"power":27887,"unknown_162":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-1587800313088546816}} 
[2026-04-17 01:44:45] local.INFO: DEBUG: GPS processor result {"connection_id":45423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18536,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:44:45] local.INFO: GPS data processed {"connection_id":45423,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:44:45] local.INFO: Acknowledgment sent {"connection_id":45423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:44:53] local.INFO: TCP Data received {"connection_id":46241,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:44:53] local.INFO: Processing buffer {"connection_id":46241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:44:53] local.INFO: IMEI packet received {"connection_id":46241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":46241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:44:57] local.INFO: TCP Data received {"connection_id":46241,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46241,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:44:57] local.INFO: Processing buffer {"connection_id":46241,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:44:57] local.INFO: IMEI packet received {"connection_id":46241,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":46241,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:44:58] local.INFO: TCP Data received {"connection_id":46241,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97edb030012d54ee000644b9f8000b009e2c..."} 
[2026-04-17 01:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97edb030012d54ee000644b9f8000b009e2c..."} 
[2026-04-17 01:44:58] local.INFO: Processing buffer {"connection_id":46241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97edb030012d54ee000644b9f8000b009e2c..."} 
[2026-04-17 01:44:58] local.INFO: Packet analysis {"connection_id":46241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ed"} 
[2026-04-17 01:44:58] local.INFO: Extracted packet for processing {"connection_id":46241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ed"} 
[2026-04-17 01:44:58] local.INFO: GPS Element Parsed {"raw_longitude":760540672,"raw_latitude":105167352,"longitude_deg":76.0540672,"latitude_deg":10.5167352,"altitude":11,"angle":158,"satellites":44,"speed":11,"hex_longitude":"2d54ee00","hex_latitude":"0644b9f8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750829824001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273525662260658176,"note":"Value kept but may cause issues"} 
[2026-04-17 01:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6119828970566002688,"note":"Value kept but may cause issues"} 
[2026-04-17 01:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776370430000,"timestamp_ms":1776370430000,"timestamp_seconds":1776370430,"priority":1,"record_length":96,"hex_timestamp":"0000019d97edb030"} 
[2026-04-17 01:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:44: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-04-17 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:44: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-04-17 01: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-04-17 01:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750829824001,"66":27376,"217":206,"78":38912,"24":11,"16":273525662260658176,"45":6119828970566002688},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-04-17 01:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750829824001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:44:58] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 01:44:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273525662260658176,"km_value":273525662260658.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6119828970566002688,"description":"Unknown IO ID 45"} 
[2026-04-17 01:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750829824001,"power":27376,"unknown_217":206,"unknown_78":38912,"ignition":11,"odometer":null,"unknown_45":6119828970566002688}} 
[2026-04-17 01:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":46241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:44:58] local.INFO: GPS data processed {"connection_id":46241,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:44:58] local.INFO: Acknowledgment sent {"connection_id":46241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:45:06] local.INFO: TCP Data received {"connection_id":45424,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:45:06] local.INFO: Processing buffer {"connection_id":45424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:45:06] local.INFO: IMEI packet received {"connection_id":45424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":45424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:45:10] local.INFO: TCP Data received {"connection_id":45424,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:45:10] local.INFO: Processing buffer {"connection_id":45424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:45:10] local.INFO: IMEI packet received {"connection_id":45424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":45424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:45:12] local.INFO: TCP Data received {"connection_id":45424,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97eb3378012cea2300071b9d40000e00a12d..."} 
[2026-04-17 01:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97eb3378012cea2300071b9d40000e00a12d..."} 
[2026-04-17 01:45:12] local.INFO: Processing buffer {"connection_id":45424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97eb3378012cea2300071b9d40000e00a12d..."} 
[2026-04-17 01:45:12] local.INFO: Packet analysis {"connection_id":45424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97eb"} 
[2026-04-17 01:45:12] local.INFO: Extracted packet for processing {"connection_id":45424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97eb"} 
[2026-04-17 01:45:12] local.INFO: GPS Element Parsed {"raw_longitude":753541888,"raw_latitude":119250240,"longitude_deg":75.3541888,"latitude_deg":11.925024,"altitude":14,"angle":161,"satellites":45,"speed":0,"hex_longitude":"2cea2300","hex_latitude":"071b9d40","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750782976001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:45:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1582030076069976064,"note":"Value kept but may cause issues"} 
[2026-04-17 01:45:12] 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-04-17 01:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776370267000,"timestamp_ms":1776370267000,"timestamp_seconds":1776370267,"priority":1,"record_length":96,"hex_timestamp":"0000019d97eb3378"} 
[2026-04-17 01:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:45: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-04-17 01: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 01:45:12] 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-04-17 01: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-04-17 01:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750782976001,"66":27984,"10":206,"2":54272,"24":0,"16":106618783551979520,"44":-1582030076069976064},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-04-17 01:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750782976001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:45:12] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 01:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:45:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1582030076069976064,"description":"Unknown IO ID 44"} 
[2026-04-17 01:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750782976001,"power":27984,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1582030076069976064}} 
[2026-04-17 01:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":45424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18538,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:45:12] local.INFO: GPS data processed {"connection_id":45424,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:45:12] local.INFO: Acknowledgment sent {"connection_id":45424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:45:29] local.INFO: TCP Data received {"connection_id":46241,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97edb418012d54ee800644b8c8000b00922d..."} 
[2026-04-17 01:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97edb418012d54ee800644b8c8000b00922d..."} 
[2026-04-17 01:45:29] local.INFO: Processing buffer {"connection_id":46241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97edb418012d54ee800644b8c8000b00922d..."} 
[2026-04-17 01:45:29] local.INFO: Packet analysis {"connection_id":46241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ed"} 
[2026-04-17 01:45:29] local.INFO: Extracted packet for processing {"connection_id":46241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ed"} 
[2026-04-17 01:45:29] local.INFO: GPS Element Parsed {"raw_longitude":760540800,"raw_latitude":105167048,"longitude_deg":76.05408,"latitude_deg":10.5167048,"altitude":11,"angle":146,"satellites":45,"speed":11,"hex_longitude":"2d54ee80","hex_latitude":"0644b8c8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750830080001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273525675145560064,"note":"Value kept but may cause issues"} 
[2026-04-17 01:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6119828970565924864,"note":"Value kept but may cause issues"} 
[2026-04-17 01:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776370431000,"timestamp_ms":1776370431000,"timestamp_seconds":1776370431,"priority":1,"record_length":96,"hex_timestamp":"0000019d97edb418"} 
[2026-04-17 01:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:45: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-04-17 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46241,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:45: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-04-17 01:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750830080001,"66":27365,"217":206,"78":38912,"24":11,"16":273525675145560064,"45":6119828970565924864},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-04-17 01:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750830080001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:45:29] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 01:45:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273525675145560064,"km_value":273525675145560.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6119828970565924864,"description":"Unknown IO ID 45"} 
[2026-04-17 01:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750830080001,"power":27365,"unknown_217":206,"unknown_78":38912,"ignition":11,"odometer":null,"unknown_45":6119828970565924864}} 
[2026-04-17 01:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":46241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:45:29] local.INFO: GPS data processed {"connection_id":46241,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:45:29] local.INFO: Acknowledgment sent {"connection_id":46241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:45:43] local.INFO: TCP Data received {"connection_id":45424,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97eb8580012cea3780071b5e10000b00a732..."} 
[2026-04-17 01:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97eb8580012cea3780071b5e10000b00a732..."} 
[2026-04-17 01:45:43] local.INFO: Processing buffer {"connection_id":45424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97eb8580012cea3780071b5e10000b00a732..."} 
[2026-04-17 01:45:43] local.INFO: Packet analysis {"connection_id":45424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97eb"} 
[2026-04-17 01:45:43] local.INFO: Extracted packet for processing {"connection_id":45424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97eb"} 
[2026-04-17 01:45:43] local.INFO: GPS Element Parsed {"raw_longitude":753547136,"raw_latitude":119234064,"longitude_deg":75.3547136,"latitude_deg":11.9234064,"altitude":11,"angle":167,"satellites":50,"speed":0,"hex_longitude":"2cea3780","hex_latitude":"071b5e10","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750788352001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:45:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1575415414121480192,"note":"Value kept but may cause issues"} 
[2026-04-17 01:45:43] 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-04-17 01:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776370288000,"timestamp_ms":1776370288000,"timestamp_seconds":1776370288,"priority":1,"record_length":96,"hex_timestamp":"0000019d97eb8580"} 
[2026-04-17 01:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:45: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-04-17 01: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 01:45:43] 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-04-17 01: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-04-17 01:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45424,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750788352001,"66":27745,"10":206,"2":54272,"24":0,"16":106618783551979520,"44":-1575415414121480192},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-04-17 01:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750788352001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:45:43] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 01:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:45:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1575415414121480192,"description":"Unknown IO ID 44"} 
[2026-04-17 01:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750788352001,"power":27745,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1575415414121480192}} 
[2026-04-17 01:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":45424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18540,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:45:43] local.INFO: GPS data processed {"connection_id":45424,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:45:43] local.INFO: Acknowledgment sent {"connection_id":45424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:45:52] local.INFO: TCP Data received {"connection_id":46242,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:45:52] local.INFO: Processing buffer {"connection_id":46242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:45:52] local.INFO: IMEI packet received {"connection_id":46242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":46242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:45:55] local.INFO: TCP Data received {"connection_id":46242,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:45:55] local.INFO: Processing buffer {"connection_id":46242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:45:55] local.INFO: IMEI packet received {"connection_id":46242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":46242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:45:57] local.INFO: TCP Data received {"connection_id":46242,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46242,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:45:57] local.INFO: Processing buffer {"connection_id":46242,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:45:57] local.INFO: IMEI packet received {"connection_id":46242,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":46242,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:45:58] local.INFO: TCP Data received {"connection_id":46242,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ee0238012d54ff0006449a280009009732..."} 
[2026-04-17 01:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ee0238012d54ff0006449a280009009732..."} 
[2026-04-17 01:45:58] local.INFO: Processing buffer {"connection_id":46242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ee0238012d54ff0006449a280009009732..."} 
[2026-04-17 01:45:58] local.INFO: Packet analysis {"connection_id":46242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ee"} 
[2026-04-17 01:45:58] local.INFO: Extracted packet for processing {"connection_id":46242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ee"} 
[2026-04-17 01:45:58] local.INFO: GPS Element Parsed {"raw_longitude":760545024,"raw_latitude":105159208,"longitude_deg":76.0545024,"latitude_deg":10.5159208,"altitude":9,"angle":151,"satellites":50,"speed":12,"hex_longitude":"2d54ff00","hex_latitude":"06449a28","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750830336001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273526108937256960,"note":"Value kept but may cause issues"} 
[2026-04-17 01:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6119969708054202368,"note":"Value kept but may cause issues"} 
[2026-04-17 01:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776370451000,"timestamp_ms":1776370451000,"timestamp_seconds":1776370451,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ee0238"} 
[2026-04-17 01:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:45: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-04-17 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 01:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750830336001,"66":27463,"217":206,"78":38912,"24":12,"16":273526108937256960,"45":6119969708054202368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-04-17 01:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750830336001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:45:58] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 01:45:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273526108937256960,"km_value":273526108937256.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6119969708054202368,"description":"Unknown IO ID 45"} 
[2026-04-17 01:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750830336001,"power":27463,"unknown_217":206,"unknown_78":38912,"ignition":12,"odometer":null,"unknown_45":6119969708054202368}} 
[2026-04-17 01:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":46242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18541,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:45:58] local.INFO: GPS data processed {"connection_id":46242,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:45:58] local.INFO: Acknowledgment sent {"connection_id":46242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:46:06] local.INFO: TCP Data received {"connection_id":45686,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:46:06] local.INFO: Processing buffer {"connection_id":45686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:46:06] local.INFO: IMEI packet received {"connection_id":45686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":45686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:46:11] local.INFO: TCP Data received {"connection_id":45686,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:46:11] local.INFO: Processing buffer {"connection_id":45686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:46:11] local.INFO: IMEI packet received {"connection_id":45686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":45686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:46:12] local.INFO: TCP Data received {"connection_id":45686,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ebd788012cea4ac0071b1c48000d00a533..."} 
[2026-04-17 01:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ebd788012cea4ac0071b1c48000d00a533..."} 
[2026-04-17 01:46:12] local.INFO: Processing buffer {"connection_id":45686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ebd788012cea4ac0071b1c48000d00a533..."} 
[2026-04-17 01:46:12] local.INFO: Packet analysis {"connection_id":45686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97eb"} 
[2026-04-17 01:46:12] local.INFO: Extracted packet for processing {"connection_id":45686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97eb"} 
[2026-04-17 01:46:12] local.INFO: GPS Element Parsed {"raw_longitude":753552064,"raw_latitude":119217224,"longitude_deg":75.3552064,"latitude_deg":11.9217224,"altitude":13,"angle":165,"satellites":51,"speed":0,"hex_longitude":"2cea4ac0","hex_latitude":"071b1c48","is_valid_coordinates":true} 
[2026-04-17 01:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750793728001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:46:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1569645177103052800,"note":"Value kept but may cause issues"} 
[2026-04-17 01:46:12] 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-04-17 01:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776370309000,"timestamp_ms":1776370309000,"timestamp_seconds":1776370309,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ebd788"} 
[2026-04-17 01:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:46: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-04-17 01:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 01:46: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-04-17 01:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750793728001,"66":27843,"10":206,"2":54272,"24":0,"16":106618783551979520,"44":-1569645177103052800},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,44]} 
[2026-04-17 01:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750793728001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:46:12] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 01:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:46:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1569645177103052800,"description":"Unknown IO ID 44"} 
[2026-04-17 01:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750793728001,"power":27843,"unknown_10":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1569645177103052800}} 
[2026-04-17 01:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":45686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18542,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:46:12] local.INFO: GPS data processed {"connection_id":45686,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:46:12] local.INFO: Acknowledgment sent {"connection_id":45686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:46:29] local.INFO: TCP Data received {"connection_id":46242,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ee3cd0012d55110006447a40000900992d..."} 
[2026-04-17 01:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ee3cd0012d55110006447a40000900992d..."} 
[2026-04-17 01:46:29] local.INFO: Processing buffer {"connection_id":46242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ee3cd0012d55110006447a40000900992d..."} 
[2026-04-17 01:46:29] local.INFO: Packet analysis {"connection_id":46242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ee"} 
[2026-04-17 01:46:29] local.INFO: Extracted packet for processing {"connection_id":46242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ee"} 
[2026-04-17 01:46:29] local.INFO: GPS Element Parsed {"raw_longitude":760549632,"raw_latitude":105151040,"longitude_deg":76.0549632,"latitude_deg":10.515104,"altitude":9,"angle":153,"satellites":45,"speed":32,"hex_longitude":"2d551100","hex_latitude":"06447a40","is_valid_coordinates":true} 
[2026-04-17 01:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750835456001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273526559908823040,"note":"Value kept but may cause issues"} 
[2026-04-17 01:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6124614045167921152,"note":"Value kept but may cause issues"} 
[2026-04-17 01:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776370466000,"timestamp_ms":1776370466000,"timestamp_seconds":1776370466,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ee3cd0"} 
[2026-04-17 01:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:46: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-04-17 01:46:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 01:46:29] 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-04-17 01:46:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46242,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:46: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-04-17 01:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:46:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750835456001,"66":27376,"217":206,"78":38912,"24":32,"16":273526559908823040,"45":6124614045167921152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-04-17 01:46:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:46:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:46:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750835456001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:46:29] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 01:46:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:46:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273526559908823040,"km_value":273526559908823.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:46:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6124614045167921152,"description":"Unknown IO ID 45"} 
[2026-04-17 01:46:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750835456001,"power":27376,"unknown_217":206,"unknown_78":38912,"ignition":32,"odometer":null,"unknown_45":6124614045167921152}} 
[2026-04-17 01:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":46242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:46:29] local.INFO: GPS data processed {"connection_id":46242,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:46:29] local.INFO: Acknowledgment sent {"connection_id":46242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:46:43] local.INFO: TCP Data received {"connection_id":45686,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97eef850012cebdf8007193dd0001c008e31..."} 
[2026-04-17 01:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97eef850012cebdf8007193dd0001c008e31..."} 
[2026-04-17 01:46:43] local.INFO: Processing buffer {"connection_id":45686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97eef850012cebdf8007193dd0001c008e31..."} 
[2026-04-17 01:46:43] local.INFO: Packet analysis {"connection_id":45686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ee"} 
[2026-04-17 01:46:43] local.INFO: Extracted packet for processing {"connection_id":45686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ee"} 
[2026-04-17 01:46:43] local.INFO: GPS Element Parsed {"raw_longitude":753655680,"raw_latitude":119094736,"longitude_deg":75.365568,"latitude_deg":11.9094736,"altitude":28,"angle":142,"satellites":49,"speed":0,"hex_longitude":"2cebdf80","hex_latitude":"07193dd0","is_valid_coordinates":true} 
[2026-04-17 01:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750846208001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:46:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1460081042450075648,"note":"Value kept but may cause issues"} 
[2026-04-17 01:46:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776370514000,"timestamp_ms":1776370514000,"timestamp_seconds":1776370514,"priority":1,"record_length":96,"hex_timestamp":"0000019d97eef850"} 
[2026-04-17 01:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:46: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-04-17 01:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 01:46: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-04-17 01:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750846208001,"66":27821,"174":206,"2":54272,"24":0,"16":106618783551979520,"44":-1460081042450075648},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-04-17 01:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750846208001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:46:43] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-04-17 01:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:46:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1460081042450075648,"description":"Unknown IO ID 44"} 
[2026-04-17 01:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750846208001,"power":27821,"unknown_174":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1460081042450075648}} 
[2026-04-17 01:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":45686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18544,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:46:43] local.INFO: GPS data processed {"connection_id":45686,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:46:43] local.INFO: Acknowledgment sent {"connection_id":45686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:46:52] local.INFO: TCP Data received {"connection_id":45494,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:46:52] local.INFO: Processing buffer {"connection_id":45494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:46:52] local.INFO: IMEI packet received {"connection_id":45494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":45494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:46:57] local.INFO: TCP Data received {"connection_id":45494,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:46:57] local.INFO: Processing buffer {"connection_id":45494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:46:57] local.INFO: IMEI packet received {"connection_id":45494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":45494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:47:00] local.INFO: TCP Data received {"connection_id":45494,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ee6f98012d552100064459780008009b28..."} 
[2026-04-17 01:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ee6f98012d552100064459780008009b28..."} 
[2026-04-17 01:47:00] local.INFO: Processing buffer {"connection_id":45494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ee6f98012d552100064459780008009b28..."} 
[2026-04-17 01:47:00] local.INFO: Packet analysis {"connection_id":45494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ee"} 
[2026-04-17 01:47:00] local.INFO: Extracted packet for processing {"connection_id":45494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ee"} 
[2026-04-17 01:47:00] local.INFO: GPS Element Parsed {"raw_longitude":760553728,"raw_latitude":105142648,"longitude_deg":76.0553728,"latitude_deg":10.5142648,"altitude":8,"angle":155,"satellites":40,"speed":19,"hex_longitude":"2d552100","hex_latitude":"06445978","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750839296001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273527015175356416,"note":"Value kept but may cause issues"} 
[2026-04-17 01:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6129680594746621952,"note":"Value kept but may cause issues"} 
[2026-04-17 01:47:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776370479000,"timestamp_ms":1776370479000,"timestamp_seconds":1776370479,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ee6f98"} 
[2026-04-17 01:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:47:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:47:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:47:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:47: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-04-17 01:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750839296001,"66":27397,"217":206,"78":38912,"24":19,"16":273527015175356416,"45":6129680594746621952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-04-17 01:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750839296001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:47:00] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 01:47:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273527015175356416,"km_value":273527015175356.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6129680594746621952,"description":"Unknown IO ID 45"} 
[2026-04-17 01:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750839296001,"power":27397,"unknown_217":206,"unknown_78":38912,"ignition":19,"odometer":null,"unknown_45":6129680594746621952}} 
[2026-04-17 01:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":45494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:47:00] local.INFO: GPS data processed {"connection_id":45494,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:47:00] local.INFO: Acknowledgment sent {"connection_id":45494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:47:06] local.INFO: TCP Data received {"connection_id":46243,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:47:06] local.INFO: Processing buffer {"connection_id":46243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:47:06] local.INFO: IMEI packet received {"connection_id":46243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":46243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:47:11] local.INFO: TCP Data received {"connection_id":46243,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46243,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:47:11] local.INFO: Processing buffer {"connection_id":46243,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:47:11] local.INFO: IMEI packet received {"connection_id":46243,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":46243,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:47:13] local.INFO: TCP Data received {"connection_id":46243,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97effa200100000000000000000000000000..."} 
[2026-04-17 01:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97effa200100000000000000000000000000..."} 
[2026-04-17 01:47:13] local.INFO: Processing buffer {"connection_id":46243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97effa200100000000000000000000000000..."} 
[2026-04-17 01:47:13] local.INFO: Packet analysis {"connection_id":46243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ef"} 
[2026-04-17 01:47:13] local.INFO: Extracted packet for processing {"connection_id":46243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ef"} 
[2026-04-17 01:47:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 01:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750851584001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:47:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1450299787013402624,"note":"Value kept but may cause issues"} 
[2026-04-17 01:47:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776370580000,"timestamp_ms":1776370580000,"timestamp_seconds":1776370580,"priority":1,"record_length":96,"hex_timestamp":"0000019d97effa20"} 
[2026-04-17 01:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:47:13] 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-04-17 01:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 01:47:13] 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-04-17 01:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":46243,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:47:13] local.INFO: GPS data processed {"connection_id":46243,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:47:13] local.INFO: Acknowledgment sent {"connection_id":46243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:47:31] local.INFO: TCP Data received {"connection_id":45494,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97eec1a0012d552a00064447700007009b2f..."} 
[2026-04-17 01:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97eec1a0012d552a00064447700007009b2f..."} 
[2026-04-17 01:47:31] local.INFO: Processing buffer {"connection_id":45494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97eec1a0012d552a00064447700007009b2f..."} 
[2026-04-17 01:47:31] local.INFO: Packet analysis {"connection_id":45494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ee"} 
[2026-04-17 01:47:31] local.INFO: Extracted packet for processing {"connection_id":45494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ee"} 
[2026-04-17 01:47:31] local.INFO: GPS Element Parsed {"raw_longitude":760556032,"raw_latitude":105138032,"longitude_deg":76.0556032,"latitude_deg":10.5138032,"altitude":7,"angle":155,"satellites":47,"speed":13,"hex_longitude":"2d552a00","hex_latitude":"06444770","is_valid_coordinates":true} 
[2026-04-17 01:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:47:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750842624001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:47:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273527264283459584,"note":"Value kept but may cause issues"} 
[2026-04-17 01:47:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6134184194371844096,"note":"Value kept but may cause issues"} 
[2026-04-17 01:47:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:47:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776370500000,"timestamp_ms":1776370500000,"timestamp_seconds":1776370500,"priority":1,"record_length":96,"hex_timestamp":"0000019d97eec1a0"} 
[2026-04-17 01:47:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:47:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:47:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:47: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-04-17 01:47:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:47:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:47:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:47:31] local.INFO: Teltonika packet parsed successfully {"connection_id":45494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:47:31] local.INFO: Passing IMEI to GPS processor {"connection_id":45494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:47:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":45494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:47:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:47:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:47:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:47:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750842624001,"66":27484,"217":206,"78":38912,"24":13,"16":273527264283459584,"45":6134184194371844096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,78,24,16,45]} 
[2026-04-17 01:47:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:47:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:47:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750842624001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:47:31] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 01:47:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:47:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273527264283459584,"km_value":273527264283459.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:47:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6134184194371844096,"description":"Unknown IO ID 45"} 
[2026-04-17 01:47:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750842624001,"power":27484,"unknown_217":206,"unknown_78":38912,"ignition":13,"odometer":null,"unknown_45":6134184194371844096}} 
[2026-04-17 01:47:31] local.INFO: DEBUG: GPS processor result {"connection_id":45494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:47:31] local.INFO: GPS data processed {"connection_id":45494,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:47:31] local.INFO: Acknowledgment sent {"connection_id":45494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:47:45] local.INFO: TCP Data received {"connection_id":46243,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ef6d80012cec46800718dbf0001c009430..."} 
[2026-04-17 01:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ef6d80012cec46800718dbf0001c009430..."} 
[2026-04-17 01:47:45] local.INFO: Processing buffer {"connection_id":46243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ef6d80012cec46800718dbf0001c009430..."} 
[2026-04-17 01:47:45] local.INFO: Packet analysis {"connection_id":46243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ef"} 
[2026-04-17 01:47:45] local.INFO: Extracted packet for processing {"connection_id":46243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ef"} 
[2026-04-17 01:47:45] local.INFO: GPS Element Parsed {"raw_longitude":753682048,"raw_latitude":119069680,"longitude_deg":75.3682048,"latitude_deg":11.906968,"altitude":28,"angle":148,"satellites":48,"speed":39,"hex_longitude":"2cec4680","hex_latitude":"0718dbf0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:47:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,174,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776370544000,"timestamp_ms":1776370544000,"timestamp_seconds":1776370544,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ef6d80"} 
[2026-04-17 01:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:47: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 01:47:45] 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-04-17 01: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-04-17 01:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46243,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28006,"174":206,"2":54272,"24":39,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16]} 
[2026-04-17 01:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:47:45] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-04-17 01:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:47:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28006,"unknown_174":206,"power_alt":54272,"ignition":39,"odometer":null}} 
[2026-04-17 01:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":46243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18547,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:47:45] local.INFO: GPS data processed {"connection_id":46243,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:47:45] local.INFO: Acknowledgment sent {"connection_id":46243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:47:59] local.INFO: TCP Data received {"connection_id":45687,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:47:59] local.INFO: Processing buffer {"connection_id":45687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:47:59] local.INFO: IMEI packet received {"connection_id":45687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":45687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:48:00] local.INFO: TCP Data received {"connection_id":45687,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 01:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45687,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 01:48:00] local.INFO: Processing buffer {"connection_id":45687,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 01:48:00] local.INFO: IMEI packet received {"connection_id":45687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:48:00] local.INFO: IMEI acknowledgment sent {"connection_id":45687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:48:02] local.INFO: TCP Data received {"connection_id":45687,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:48:02] local.INFO: Processing buffer {"connection_id":45687,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 01:48:02] local.INFO: IMEI packet received {"connection_id":45687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":45687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:48:03] local.INFO: TCP Data received {"connection_id":45687,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f09a48012d5598c0064386f8000b00e931..."} 
[2026-04-17 01:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f09a48012d5598c0064386f8000b00e931..."} 
[2026-04-17 01:48:03] local.INFO: Processing buffer {"connection_id":45687,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019d97..."} 
[2026-04-17 01:48:03] local.INFO: IMEI packet received {"connection_id":45687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":45687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:48:06] local.INFO: TCP Data received {"connection_id":45495,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:48:06] local.INFO: Processing buffer {"connection_id":45495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:48:06] local.INFO: IMEI packet received {"connection_id":45495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":45495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:48:08] local.INFO: TCP Data received {"connection_id":45687,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f0e098012d5597c0064388d0000b014531..."} 
[2026-04-17 01:48:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f0e098012d5597c0064388d0000b014531..."} 
[2026-04-17 01:48:08] local.INFO: Processing buffer {"connection_id":45687,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019d97f09a48012d5598c0064386f8000b00e931..."} 
[2026-04-17 01:48:08] local.INFO: Packet analysis {"connection_id":45687,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d97f0"} 
[2026-04-17 01:48:08] local.INFO: Extracted packet for processing {"connection_id":45687,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f0"} 
[2026-04-17 01:48:08] local.INFO: GPS Element Parsed {"raw_longitude":760584384,"raw_latitude":105088760,"longitude_deg":76.0584384,"latitude_deg":10.508876,"altitude":11,"angle":233,"satellites":49,"speed":0,"hex_longitude":"2d5598c0","hex_latitude":"064386f8","is_valid_coordinates":true} 
[2026-04-17 01:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750873600001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273530094666907648,"note":"Value kept but may cause issues"} 
[2026-04-17 01:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6168453772772526080,"note":"Value kept but may cause issues"} 
[2026-04-17 01:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776370621000,"timestamp_ms":1776370621000,"timestamp_seconds":1776370621,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f09a48"} 
[2026-04-17 01:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 01:48:08] 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-04-17 01:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":45687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":45687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":45687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:48:08] 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-04-17 01:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750873600001,"66":27321,"216":206,"78":38912,"24":0,"16":273530094666907648,"45":6168453772772526080},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-17 01:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750873600001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:48:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 01:48:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273530094666907648,"km_value":273530094666907.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6168453772772526080,"description":"Unknown IO ID 45"} 
[2026-04-17 01:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750873600001,"power":27321,"unknown_216":206,"unknown_78":38912,"ignition":0,"odometer":null,"unknown_45":6168453772772526080}} 
[2026-04-17 01:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":45687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:48:08] local.INFO: GPS data processed {"connection_id":45687,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:48:08] local.INFO: Acknowledgment sent {"connection_id":45687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:48:08] local.INFO: Packet analysis {"connection_id":45687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f0"} 
[2026-04-17 01:48:08] local.INFO: Extracted packet for processing {"connection_id":45687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f0"} 
[2026-04-17 01:48:08] local.INFO: GPS Element Parsed {"raw_longitude":760584128,"raw_latitude":105089232,"longitude_deg":76.0584128,"latitude_deg":10.5089232,"altitude":11,"angle":325,"satellites":49,"speed":9,"hex_longitude":"2d5597c0","hex_latitude":"064388d0","is_valid_coordinates":true} 
[2026-04-17 01:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:48:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750878976001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:48:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273530154796449792,"note":"Value kept but may cause issues"} 
[2026-04-17 01:48:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6167890822819149824,"note":"Value kept but may cause issues"} 
[2026-04-17 01:48:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:48:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776370639000,"timestamp_ms":1776370639000,"timestamp_seconds":1776370639,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f0e098"} 
[2026-04-17 01:48:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:48:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:48:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 01:48:08] 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-04-17 01:48:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:48:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:48:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:48:08] local.INFO: Teltonika packet parsed successfully {"connection_id":45687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:48:08] local.INFO: Passing IMEI to GPS processor {"connection_id":45687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:48:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":45687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:48:08] 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-04-17 01:48:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:48:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:48:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750878976001,"66":27245,"216":206,"78":38912,"24":9,"16":273530154796449792,"45":6167890822819149824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-17 01:48:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:48:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:48:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750878976001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:48:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 01:48:08] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:48:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273530154796449792,"km_value":273530154796449.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:48:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6167890822819149824,"description":"Unknown IO ID 45"} 
[2026-04-17 01:48:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750878976001,"power":27245,"unknown_216":206,"unknown_78":38912,"ignition":9,"odometer":null,"unknown_45":6167890822819149824}} 
[2026-04-17 01:48:08] local.INFO: DEBUG: GPS processor result {"connection_id":45687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:48:08] local.INFO: GPS data processed {"connection_id":45687,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:48:08] local.INFO: Acknowledgment sent {"connection_id":45687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:48:11] local.INFO: TCP Data received {"connection_id":45495,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:48:11] local.INFO: Processing buffer {"connection_id":45495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:48:11] local.INFO: IMEI packet received {"connection_id":45495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":45495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:48:12] local.INFO: TCP Data received {"connection_id":45495,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97efbf88012cec6200071897b8001f009830..."} 
[2026-04-17 01:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97efbf88012cec6200071897b8001f009830..."} 
[2026-04-17 01:48:12] local.INFO: Processing buffer {"connection_id":45495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97efbf88012cec6200071897b8001f009830..."} 
[2026-04-17 01:48:12] local.INFO: Packet analysis {"connection_id":45495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ef"} 
[2026-04-17 01:48:12] local.INFO: Extracted packet for processing {"connection_id":45495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ef"} 
[2026-04-17 01:48:12] local.INFO: GPS Element Parsed {"raw_longitude":753689088,"raw_latitude":119052216,"longitude_deg":75.3689088,"latitude_deg":11.9052216,"altitude":31,"angle":152,"satellites":48,"speed":0,"hex_longitude":"2cec6200","hex_latitude":"071897b8","is_valid_coordinates":true} 
[2026-04-17 01:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750859264001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:48:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1421307864418619392,"note":"Value kept but may cause issues"} 
[2026-04-17 01:48:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,174,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776370565000,"timestamp_ms":1776370565000,"timestamp_seconds":1776370565,"priority":1,"record_length":96,"hex_timestamp":"0000019d97efbf88"} 
[2026-04-17 01:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:48: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-04-17 01:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 01:48:12] 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-04-17 01:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750859264001,"66":27995,"174":206,"2":54272,"24":0,"16":106618783551979520,"44":-1421307864418619392},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,174,2,24,16,44]} 
[2026-04-17 01:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750859264001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:48:12] local.INFO: Unknown IO ID detected {"io_id":174,"value":206,"description":"Unknown IO ID 174"} 
[2026-04-17 01:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:48:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1421307864418619392,"description":"Unknown IO ID 44"} 
[2026-04-17 01:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750859264001,"power":27995,"unknown_174":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1421307864418619392}} 
[2026-04-17 01:48:12] local.INFO: TCP Data received {"connection_id":45687,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f0e480012d559740064389b8000b015431..."} 
[2026-04-17 01:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f0e480012d559740064389b8000b015431..."} 
[2026-04-17 01:48:13] local.INFO: Processing buffer {"connection_id":45687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f0e480012d559740064389b8000b015431..."} 
[2026-04-17 01:48:13] local.INFO: Packet analysis {"connection_id":45687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f0"} 
[2026-04-17 01:48:13] local.INFO: Extracted packet for processing {"connection_id":45687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f0"} 
[2026-04-17 01:48:13] local.INFO: GPS Element Parsed {"raw_longitude":760584000,"raw_latitude":105089464,"longitude_deg":76.0584,"latitude_deg":10.5089464,"altitude":11,"angle":340,"satellites":49,"speed":11,"hex_longitude":"2d559740","hex_latitude":"064389b8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:48:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750883584001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273530167681351680,"note":"Value kept but may cause issues"} 
[2026-04-17 01:48:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6167609347842560000,"note":"Value kept but may cause issues"} 
[2026-04-17 01:48:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776370640000,"timestamp_ms":1776370640000,"timestamp_seconds":1776370640,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f0e480"} 
[2026-04-17 01:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:48:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-17 01:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750883584001,"66":27245,"216":206,"78":38912,"24":11,"16":273530167681351680,"45":6167609347842560000},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-17 01:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750883584001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:48:13] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 01:48:13] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273530167681351680,"km_value":273530167681351.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:48:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6167609347842560000,"description":"Unknown IO ID 45"} 
[2026-04-17 01:48:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750883584001,"power":27245,"unknown_216":206,"unknown_78":38912,"ignition":11,"odometer":null,"unknown_45":6167609347842560000}} 
[2026-04-17 01:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":45687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:48:13] local.INFO: GPS data processed {"connection_id":45687,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:48:13] local.INFO: Acknowledgment sent {"connection_id":45687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":45495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18551,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:48:13] local.INFO: GPS data processed {"connection_id":45495,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:48:13] local.INFO: Acknowledgment sent {"connection_id":45495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:48:44] local.INFO: TCP Data received {"connection_id":45495,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f001f0012cec6dc007185298001d00bf2f..."} 
[2026-04-17 01:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f001f0012cec6dc007185298001d00bf2f..."} 
[2026-04-17 01:48:44] local.INFO: Processing buffer {"connection_id":45495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f001f0012cec6dc007185298001d00bf2f..."} 
[2026-04-17 01:48:44] local.INFO: Packet analysis {"connection_id":45495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f0"} 
[2026-04-17 01:48:44] local.INFO: Extracted packet for processing {"connection_id":45495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f0"} 
[2026-04-17 01:48:44] local.INFO: GPS Element Parsed {"raw_longitude":753692096,"raw_latitude":119034520,"longitude_deg":75.3692096,"latitude_deg":11.903452,"altitude":29,"angle":191,"satellites":47,"speed":42,"hex_longitude":"2cec6dc0","hex_latitude":"07185298","is_valid_coordinates":true} 
[2026-04-17 01:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750864640001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:48:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1413567302563547136,"note":"Value kept but may cause issues"} 
[2026-04-17 01:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776370582000,"timestamp_ms":1776370582000,"timestamp_seconds":1776370582,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f001f0"} 
[2026-04-17 01:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:48:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 01:48:44] 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-04-17 01:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750864640001,"66":27952,"159":206,"2":54272,"24":42,"16":106618783551979520,"44":-1413567302563547136},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-04-17 01:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750864640001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:48:44] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-04-17 01:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:48:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1413567302563547136,"description":"Unknown IO ID 44"} 
[2026-04-17 01:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750864640001,"power":27952,"unknown_159":206,"power_alt":54272,"ignition":42,"odometer":null,"unknown_44":-1413567302563547136}} 
[2026-04-17 01:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":45495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18552,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:48:44] local.INFO: GPS data processed {"connection_id":45495,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:48:44] local.INFO: Acknowledgment sent {"connection_id":45495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:48:53] local.INFO: TCP Data received {"connection_id":45425,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:48:53] local.INFO: Processing buffer {"connection_id":45425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:48:53] local.INFO: IMEI packet received {"connection_id":45425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":45425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:48:57] local.INFO: TCP Data received {"connection_id":45425,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45425,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:48:57] local.INFO: Processing buffer {"connection_id":45425,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:48:57] local.INFO: IMEI packet received {"connection_id":45425,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":45425,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:49:00] local.INFO: TCP Data received {"connection_id":45425,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f12300012d5588c00643a728000b014931..."} 
[2026-04-17 01:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f12300012d5588c00643a728000b014931..."} 
[2026-04-17 01:49:00] local.INFO: Processing buffer {"connection_id":45425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f12300012d5588c00643a728000b014931..."} 
[2026-04-17 01:49:00] local.INFO: Packet analysis {"connection_id":45425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f1"} 
[2026-04-17 01:49:00] local.INFO: Extracted packet for processing {"connection_id":45425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f1"} 
[2026-04-17 01:49:00] local.INFO: GPS Element Parsed {"raw_longitude":760580288,"raw_latitude":105097000,"longitude_deg":76.0580288,"latitude_deg":10.5097,"altitude":11,"angle":329,"satellites":49,"speed":27,"hex_longitude":"2d5588c0","hex_latitude":"0643a728","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750883840001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273530575703244800,"note":"Value kept but may cause issues"} 
[2026-04-17 01:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6167468610354264064,"note":"Value kept but may cause issues"} 
[2026-04-17 01:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776370656000,"timestamp_ms":1776370656000,"timestamp_seconds":1776370656,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f12300"} 
[2026-04-17 01:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-17 01:49:00] 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-04-17 01: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-04-17 01:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:49: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-04-17 01:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750883840001,"66":27517,"216":206,"78":38912,"24":27,"16":273530575703244800,"45":6167468610354264064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-17 01:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750883840001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:49:00] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 01:49:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273530575703244800,"km_value":273530575703244.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6167468610354264064,"description":"Unknown IO ID 45"} 
[2026-04-17 01:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750883840001,"power":27517,"unknown_216":206,"unknown_78":38912,"ignition":27,"odometer":null,"unknown_45":6167468610354264064}} 
[2026-04-17 01:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":45425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:49:00] local.INFO: GPS data processed {"connection_id":45425,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:49:00] local.INFO: Acknowledgment sent {"connection_id":45425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:49:11] local.INFO: TCP Data received {"connection_id":45688,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:49:11] local.INFO: Processing buffer {"connection_id":45688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:49:11] local.INFO: IMEI packet received {"connection_id":45688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":45688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:49:15] local.INFO: TCP Data received {"connection_id":45688,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:49:15] local.INFO: Processing buffer {"connection_id":45688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:49:15] local.INFO: IMEI packet received {"connection_id":45688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":45688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:49:16] local.INFO: TCP Data received {"connection_id":45688,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f053f8012cec5b80071809b8001d00bf2d..."} 
[2026-04-17 01:49:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f053f8012cec5b80071809b8001d00bf2d..."} 
[2026-04-17 01:49:16] local.INFO: Processing buffer {"connection_id":45688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f053f8012cec5b80071809b8001d00bf2d..."} 
[2026-04-17 01:49:16] local.INFO: Packet analysis {"connection_id":45688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f0"} 
[2026-04-17 01:49:16] local.INFO: Extracted packet for processing {"connection_id":45688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f0"} 
[2026-04-17 01:49:16] local.INFO: GPS Element Parsed {"raw_longitude":753687424,"raw_latitude":119015864,"longitude_deg":75.3687424,"latitude_deg":11.9015864,"altitude":29,"angle":191,"satellites":45,"speed":0,"hex_longitude":"2cec5b80","hex_latitude":"071809b8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:49:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750868992001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:49:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:49:16] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1410259971591727104,"note":"Value kept but may cause issues"} 
[2026-04-17 01:49:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:49:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776370603000,"timestamp_ms":1776370603000,"timestamp_seconds":1776370603,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f053f8"} 
[2026-04-17 01:49:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:49:16] 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-04-17 01: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 01:49:16] 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-04-17 01: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-04-17 01:49:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:49:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:49:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:49:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:49:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:49:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:49:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:49:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:49:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750868992001,"66":27930,"159":206,"2":54272,"24":0,"16":106618783551979520,"44":-1410259971591727104},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-04-17 01:49:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:49:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:49:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750868992001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:49:16] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-04-17 01:49:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:49:16] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1410259971591727104,"description":"Unknown IO ID 44"} 
[2026-04-17 01:49:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750868992001,"power":27930,"unknown_159":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1410259971591727104}} 
[2026-04-17 01:49:16] local.INFO: DEBUG: GPS processor result {"connection_id":45688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18554,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:49:16] local.INFO: GPS data processed {"connection_id":45688,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:49:16] local.INFO: Acknowledgment sent {"connection_id":45688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:49:18] local.INFO: TCP Data received {"connection_id":45688,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f0a600012cec52400717c598002000b72f..."} 
[2026-04-17 01:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f0a600012cec52400717c598002000b72f..."} 
[2026-04-17 01:49:18] local.INFO: Processing buffer {"connection_id":45688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f0a600012cec52400717c598002000b72f..."} 
[2026-04-17 01:49:18] local.INFO: Packet analysis {"connection_id":45688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f0"} 
[2026-04-17 01:49:18] local.INFO: Extracted packet for processing {"connection_id":45688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f0"} 
[2026-04-17 01:49:18] local.INFO: GPS Element Parsed {"raw_longitude":753685056,"raw_latitude":118998424,"longitude_deg":75.3685056,"latitude_deg":11.8998424,"altitude":32,"angle":183,"satellites":47,"speed":0,"hex_longitude":"2cec5240","hex_latitude":"0717c598","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750874368001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:49:18] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415396889921472512,"note":"Value kept but may cause issues"} 
[2026-04-17 01:49:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,159,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776370624000,"timestamp_ms":1776370624000,"timestamp_seconds":1776370624,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f0a600"} 
[2026-04-17 01:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:49: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-04-17 01: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-17 01:49: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-04-17 01: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-04-17 01:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750874368001,"66":27745,"159":206,"2":54272,"24":0,"16":106618783551979520,"44":-1415396889921472512},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,159,2,24,16,44]} 
[2026-04-17 01:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750874368001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:49:18] local.INFO: Unknown IO ID detected {"io_id":159,"value":206,"description":"Unknown IO ID 159"} 
[2026-04-17 01:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:49:18] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415396889921472512,"description":"Unknown IO ID 44"} 
[2026-04-17 01:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750874368001,"power":27745,"unknown_159":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1415396889921472512}} 
[2026-04-17 01:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":45688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18555,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:49:18] local.INFO: GPS data processed {"connection_id":45688,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:49:18] local.INFO: Acknowledgment sent {"connection_id":45688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:49:31] local.INFO: TCP Data received {"connection_id":45425,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f155c8012d5576400643c598000901482e..."} 
[2026-04-17 01:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f155c8012d5576400643c598000901482e..."} 
[2026-04-17 01:49:31] local.INFO: Processing buffer {"connection_id":45425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f155c8012d5576400643c598000901482e..."} 
[2026-04-17 01:49:31] local.INFO: Packet analysis {"connection_id":45425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f1"} 
[2026-04-17 01:49:31] local.INFO: Extracted packet for processing {"connection_id":45425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f1"} 
[2026-04-17 01:49:31] local.INFO: GPS Element Parsed {"raw_longitude":760575552,"raw_latitude":105104792,"longitude_deg":76.0575552,"latitude_deg":10.5104792,"altitude":9,"angle":328,"satellites":46,"speed":29,"hex_longitude":"2d557640","hex_latitude":"0643c598","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750887936001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273531013789908992,"note":"Value kept but may cause issues"} 
[2026-04-17 01:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6163387223193888768,"note":"Value kept but may cause issues"} 
[2026-04-17 01:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776370669000,"timestamp_ms":1776370669000,"timestamp_seconds":1776370669,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f155c8"} 
[2026-04-17 01:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 01:49: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-04-17 01: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-04-17 01:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":45425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":45425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":45425,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750887936001,"66":27376,"216":206,"78":38912,"24":29,"16":273531013789908992,"45":6163387223193888768},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-17 01:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750887936001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:49:31] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 01:49:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273531013789908992,"km_value":273531013789909.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6163387223193888768,"description":"Unknown IO ID 45"} 
[2026-04-17 01:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750887936001,"power":27376,"unknown_216":206,"unknown_78":38912,"ignition":29,"odometer":null,"unknown_45":6163387223193888768}} 
[2026-04-17 01:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":45425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:49:31] local.INFO: GPS data processed {"connection_id":45425,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:49:31] local.INFO: Acknowledgment sent {"connection_id":45425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:49:50] local.INFO: TCP Data received {"connection_id":45688,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f0f808012cec4fc0071780c8002100b62d..."} 
[2026-04-17 01:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f0f808012cec4fc0071780c8002100b62d..."} 
[2026-04-17 01:49:50] local.INFO: Processing buffer {"connection_id":45688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f0f808012cec4fc0071780c8002100b62d..."} 
[2026-04-17 01:49:50] local.INFO: Packet analysis {"connection_id":45688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f0"} 
[2026-04-17 01:49:50] local.INFO: Extracted packet for processing {"connection_id":45688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f0"} 
[2026-04-17 01:49:50] local.INFO: GPS Element Parsed {"raw_longitude":753684416,"raw_latitude":118980808,"longitude_deg":75.3684416,"latitude_deg":11.8980808,"altitude":33,"angle":182,"satellites":45,"speed":0,"hex_longitude":"2cec4fc0","hex_latitude":"071780c8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750879744001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:49:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418000533460510720,"note":"Value kept but may cause issues"} 
[2026-04-17 01:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776370645000,"timestamp_ms":1776370645000,"timestamp_seconds":1776370645,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f0f808"} 
[2026-04-17 01:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:49: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-04-17 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 01:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:49:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750879744001,"66":27745,"157":206,"2":54272,"24":0,"16":106618783551979520,"44":-1418000533460510720},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-04-17 01:49:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:49:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:49:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750879744001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:49:50] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-17 01:49:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:49:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418000533460510720,"description":"Unknown IO ID 44"} 
[2026-04-17 01:49:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750879744001,"power":27745,"unknown_157":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1418000533460510720}} 
[2026-04-17 01:49:51] local.INFO: DEBUG: GPS processor result {"connection_id":45688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:49:51] local.INFO: GPS data processed {"connection_id":45688,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:49:51] local.INFO: Acknowledgment sent {"connection_id":45688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:49:52] local.INFO: TCP Data received {"connection_id":45496,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:49:52] local.INFO: Processing buffer {"connection_id":45496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:49:52] local.INFO: IMEI packet received {"connection_id":45496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":45496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:49:52] local.INFO: TCP Data received {"connection_id":45496,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:49:52] local.INFO: Processing buffer {"connection_id":45496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:49:52] local.INFO: IMEI packet received {"connection_id":45496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":45496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:49:57] local.INFO: TCP Data received {"connection_id":45496,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:49:57] local.INFO: Processing buffer {"connection_id":45496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:49:57] local.INFO: IMEI packet received {"connection_id":45496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":45496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:50:00] local.INFO: TCP Data received {"connection_id":45496,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f18890012d5564000643e3800006014930..."} 
[2026-04-17 01:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f18890012d5564000643e3800006014930..."} 
[2026-04-17 01:50:00] local.INFO: Processing buffer {"connection_id":45496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f18890012d5564000643e3800006014930..."} 
[2026-04-17 01:50:00] local.INFO: Packet analysis {"connection_id":45496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f1"} 
[2026-04-17 01:50:00] local.INFO: Extracted packet for processing {"connection_id":45496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f1"} 
[2026-04-17 01:50:00] local.INFO: GPS Element Parsed {"raw_longitude":760570880,"raw_latitude":105112448,"longitude_deg":76.057088,"latitude_deg":10.5112448,"altitude":6,"angle":329,"satellites":48,"speed":22,"hex_longitude":"2d556400","hex_latitude":"0643e380","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750891264001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273531447581605888,"note":"Value kept but may cause issues"} 
[2026-04-17 01:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6158179936126736384,"note":"Value kept but may cause issues"} 
[2026-04-17 01:50:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776370682000,"timestamp_ms":1776370682000,"timestamp_seconds":1776370682,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f18890"} 
[2026-04-17 01:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:50:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01: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-04-17 01:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750891264001,"66":27267,"216":206,"78":38912,"24":22,"16":273531447581605888,"45":6158179936126736384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-17 01:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750891264001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:50:00] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 01:50:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273531447581605888,"km_value":273531447581605.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6158179936126736384,"description":"Unknown IO ID 45"} 
[2026-04-17 01:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750891264001,"power":27267,"unknown_216":206,"unknown_78":38912,"ignition":22,"odometer":null,"unknown_45":6158179936126736384}} 
[2026-04-17 01:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":45496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:50:00] local.INFO: GPS data processed {"connection_id":45496,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:50:00] local.INFO: Acknowledgment sent {"connection_id":45496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:50:06] local.INFO: TCP Data received {"connection_id":46244,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:50:06] local.INFO: Processing buffer {"connection_id":46244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:50:06] local.INFO: IMEI packet received {"connection_id":46244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":46244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:50:09] local.INFO: TCP Data received {"connection_id":46244,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46244,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:50:09] local.INFO: Processing buffer {"connection_id":46244,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:50:09] local.INFO: IMEI packet received {"connection_id":46244,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":46244,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:50:10] local.INFO: TCP Data received {"connection_id":46244,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f14a10012cec48c007173f58002400b928..."} 
[2026-04-17 01:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f14a10012cec48c007173f58002400b928..."} 
[2026-04-17 01:50:10] local.INFO: Processing buffer {"connection_id":46244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f14a10012cec48c007173f58002400b928..."} 
[2026-04-17 01:50:10] local.INFO: Packet analysis {"connection_id":46244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f1"} 
[2026-04-17 01:50:10] local.INFO: Extracted packet for processing {"connection_id":46244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f1"} 
[2026-04-17 01:50:10] local.INFO: GPS Element Parsed {"raw_longitude":753682624,"raw_latitude":118964056,"longitude_deg":75.3682624,"latitude_deg":11.8964056,"altitude":36,"angle":185,"satellites":40,"speed":0,"hex_longitude":"2cec48c0","hex_latitude":"07173f58","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:50:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750885120001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:50:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:50:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1418704220906797056,"note":"Value kept but may cause issues"} 
[2026-04-17 01:50:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:50:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776370666000,"timestamp_ms":1776370666000,"timestamp_seconds":1776370666,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f14a10"} 
[2026-04-17 01:50:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:50:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 01:50: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-04-17 01: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-04-17 01:50:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:50:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:50:10] local.INFO: Teltonika packet parsed successfully {"connection_id":46244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:50:10] local.INFO: Passing IMEI to GPS processor {"connection_id":46244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:50:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":46244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:50:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:50:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:50:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:50:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750885120001,"66":27984,"157":206,"2":54272,"24":0,"16":106618783551979520,"44":-1418704220906797056},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,2,24,16,44]} 
[2026-04-17 01:50:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:50:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:50:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750885120001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:50:10] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-17 01:50:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:50:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1418704220906797056,"description":"Unknown IO ID 44"} 
[2026-04-17 01:50:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750885120001,"power":27984,"unknown_157":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1418704220906797056}} 
[2026-04-17 01:50:10] local.INFO: DEBUG: GPS processor result {"connection_id":46244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18559,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:50:10] local.INFO: GPS data processed {"connection_id":46244,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:50:10] local.INFO: Acknowledgment sent {"connection_id":46244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:50:33] local.INFO: TCP Data received {"connection_id":45496,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f2d498012d5566800643d6880006009831..."} 
[2026-04-17 01:50:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f2d498012d5566800643d6880006009831..."} 
[2026-04-17 01:50:33] local.INFO: Processing buffer {"connection_id":45496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f2d498012d5566800643d6880006009831..."} 
[2026-04-17 01:50:33] local.INFO: Packet analysis {"connection_id":45496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f2"} 
[2026-04-17 01:50:33] local.INFO: Extracted packet for processing {"connection_id":45496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f2"} 
[2026-04-17 01:50:33] local.INFO: GPS Element Parsed {"raw_longitude":760571520,"raw_latitude":105109128,"longitude_deg":76.057152,"latitude_deg":10.5109128,"altitude":6,"angle":152,"satellites":49,"speed":24,"hex_longitude":"2d556680","hex_latitude":"0643d688","is_valid_coordinates":true} 
[2026-04-17 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-04-17 01:50:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750913024001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:50:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273533260057804800,"note":"Value kept but may cause issues"} 
[2026-04-17 01:50:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6148539418177529856,"note":"Value kept but may cause issues"} 
[2026-04-17 01:50:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:50:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776370767000,"timestamp_ms":1776370767000,"timestamp_seconds":1776370767,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f2d498"} 
[2026-04-17 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-04-17 01:50:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:50: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-04-17 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-04-17 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-04-17 01:50:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:50:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:50:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:50:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:50:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:50:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:50:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:50:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750913024001,"66":27267,"216":206,"78":38912,"24":24,"16":273533260057804800,"45":6148539418177529856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-17 01:50:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:50:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:50:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750913024001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:50:33] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 01:50:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:50:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273533260057804800,"km_value":273533260057804.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:50:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6148539418177529856,"description":"Unknown IO ID 45"} 
[2026-04-17 01:50:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750913024001,"power":27267,"unknown_216":206,"unknown_78":38912,"ignition":24,"odometer":null,"unknown_45":6148539418177529856}} 
[2026-04-17 01:50:33] local.INFO: DEBUG: GPS processor result {"connection_id":45496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:50:33] local.INFO: GPS data processed {"connection_id":45496,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:50:33] local.INFO: Acknowledgment sent {"connection_id":45496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:50:42] local.INFO: TCP Data received {"connection_id":46244,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f24be00100000000000000000000000000..."} 
[2026-04-17 01:50:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f24be00100000000000000000000000000..."} 
[2026-04-17 01:50:42] local.INFO: Processing buffer {"connection_id":46244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f24be00100000000000000000000000000..."} 
[2026-04-17 01:50:42] local.INFO: Packet analysis {"connection_id":46244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f2"} 
[2026-04-17 01:50:42] local.INFO: Extracted packet for processing {"connection_id":46244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f2"} 
[2026-04-17 01:50:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 01:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:50:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750890496001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:50:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:50:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1420674545748060160,"note":"Value kept but may cause issues"} 
[2026-04-17 01:50:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:50:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776370732000,"timestamp_ms":1776370732000,"timestamp_seconds":1776370732,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f24be0"} 
[2026-04-17 01:50:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:50:42] 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-04-17 01:50:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 01:50:42] 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-04-17 01:50:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:50:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:50:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:50:42] local.INFO: Teltonika packet parsed successfully {"connection_id":46244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:50:42] local.INFO: Passing IMEI to GPS processor {"connection_id":46244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:50:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":46244,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:50:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:50:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:50:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:50:42] local.INFO: DEBUG: GPS processor result {"connection_id":46244,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:50:42] local.INFO: GPS data processed {"connection_id":46244,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:50:42] local.INFO: Acknowledgment sent {"connection_id":46244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:50:55] local.INFO: TCP Data received {"connection_id":45689,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:50:55] local.INFO: Processing buffer {"connection_id":45689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:50:55] local.INFO: IMEI packet received {"connection_id":45689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":45689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:50:57] local.INFO: TCP Data received {"connection_id":45689,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:50:57] local.INFO: Processing buffer {"connection_id":45689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:50:57] local.INFO: IMEI packet received {"connection_id":45689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":45689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:51:02] local.INFO: TCP Data received {"connection_id":45689,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45689,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:51:02] local.INFO: Processing buffer {"connection_id":45689,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:51:02] local.INFO: IMEI packet received {"connection_id":45689,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":45689,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:51:03] local.INFO: TCP Data received {"connection_id":45689,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f30760012d5579000643b7f00005009730..."} 
[2026-04-17 01:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f30760012d5579000643b7f00005009730..."} 
[2026-04-17 01:51:03] local.INFO: Processing buffer {"connection_id":45689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f30760012d5579000643b7f00005009730..."} 
[2026-04-17 01:51:03] local.INFO: Packet analysis {"connection_id":45689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f3"} 
[2026-04-17 01:51:03] local.INFO: Extracted packet for processing {"connection_id":45689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f3"} 
[2026-04-17 01:51:03] local.INFO: GPS Element Parsed {"raw_longitude":760576256,"raw_latitude":105101296,"longitude_deg":76.0576256,"latitude_deg":10.5101296,"altitude":5,"angle":151,"satellites":48,"speed":29,"hex_longitude":"2d557900","hex_latitude":"0643b7f0","is_valid_coordinates":true} 
[2026-04-17 01:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750916352001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273533698144468992,"note":"Value kept but may cause issues"} 
[2026-04-17 01:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6153746705244653568,"note":"Value kept but may cause issues"} 
[2026-04-17 01:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776370780000,"timestamp_ms":1776370780000,"timestamp_seconds":1776370780,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f30760"} 
[2026-04-17 01:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 01:51:03] 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-04-17 01:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:51:03] 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-04-17 01:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750916352001,"66":27343,"216":206,"78":38912,"24":29,"16":273533698144468992,"45":6153746705244653568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-17 01:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750916352001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:51:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 01:51:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273533698144468992,"km_value":273533698144469.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6153746705244653568,"description":"Unknown IO ID 45"} 
[2026-04-17 01:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750916352001,"power":27343,"unknown_216":206,"unknown_78":38912,"ignition":29,"odometer":null,"unknown_45":6153746705244653568}} 
[2026-04-17 01:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":45689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:51:03] local.INFO: GPS data processed {"connection_id":45689,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:51:03] local.INFO: Acknowledgment sent {"connection_id":45689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:51:06] local.INFO: TCP Data received {"connection_id":45497,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:51:06] local.INFO: Processing buffer {"connection_id":45497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:51:06] local.INFO: IMEI packet received {"connection_id":45497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":45497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:51:11] local.INFO: TCP Data received {"connection_id":45497,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:51:11] local.INFO: Processing buffer {"connection_id":45497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:51:11] local.INFO: IMEI packet received {"connection_id":45497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":45497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:51:12] local.INFO: TCP Data received {"connection_id":45497,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f1bf40012cec5a000716b628001d00a033..."} 
[2026-04-17 01:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f1bf40012cec5a000716b628001d00a033..."} 
[2026-04-17 01:51:12] local.INFO: Processing buffer {"connection_id":45497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f1bf40012cec5a000716b628001d00a033..."} 
[2026-04-17 01:51:12] local.INFO: Packet analysis {"connection_id":45497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f1"} 
[2026-04-17 01:51:12] local.INFO: Extracted packet for processing {"connection_id":45497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f1"} 
[2026-04-17 01:51:12] local.INFO: GPS Element Parsed {"raw_longitude":753687040,"raw_latitude":118928936,"longitude_deg":75.368704,"latitude_deg":11.8928936,"altitude":29,"angle":160,"satellites":51,"speed":39,"hex_longitude":"2cec5a00","hex_latitude":"0716b628","is_valid_coordinates":true} 
[2026-04-17 01:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:51:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,34,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776370696000,"timestamp_ms":1776370696000,"timestamp_seconds":1776370696,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f1bf40"} 
[2026-04-17 01:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:51: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 01:51: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-04-17 01: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-04-17 01:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27745,"34":206,"2":54272,"24":39,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,2,24,16]} 
[2026-04-17 01:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:51:12] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-04-17 01:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:51:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27745,"unknown_34":206,"power_alt":54272,"ignition":39,"odometer":null}} 
[2026-04-17 01:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":45497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18562,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:51:12] local.INFO: GPS data processed {"connection_id":45497,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:51:12] local.INFO: Acknowledgment sent {"connection_id":45497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:51:35] local.INFO: TCP Data received {"connection_id":45689,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f33640012d558bc006439910000500982d..."} 
[2026-04-17 01:51:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f33640012d558bc006439910000500982d..."} 
[2026-04-17 01:51:35] local.INFO: Processing buffer {"connection_id":45689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f33640012d558bc006439910000500982d..."} 
[2026-04-17 01:51:35] local.INFO: Packet analysis {"connection_id":45689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f3"} 
[2026-04-17 01:51:35] local.INFO: Extracted packet for processing {"connection_id":45689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f3"} 
[2026-04-17 01:51:35] local.INFO: GPS Element Parsed {"raw_longitude":760581056,"raw_latitude":105093392,"longitude_deg":76.0581056,"latitude_deg":10.5093392,"altitude":5,"angle":152,"satellites":45,"speed":30,"hex_longitude":"2d558bc0","hex_latitude":"06439910","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:51:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750919680001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:51:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273534144821067776,"note":"Value kept but may cause issues"} 
[2026-04-17 01:51:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6158953992311795712,"note":"Value kept but may cause issues"} 
[2026-04-17 01:51:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:51:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776370792000,"timestamp_ms":1776370792000,"timestamp_seconds":1776370792,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f33640"} 
[2026-04-17 01:51:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:51:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 01:51:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:51:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:51:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:51:35] local.INFO: Teltonika packet parsed successfully {"connection_id":45689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:51:35] local.INFO: Passing IMEI to GPS processor {"connection_id":45689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:51:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":45689,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:51: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-04-17 01:51:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:51:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:51:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750919680001,"66":27332,"216":206,"78":38912,"24":30,"16":273534144821067776,"45":6158953992311795712},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-17 01:51:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:51:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:51:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750919680001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:51:35] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 01:51:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:51:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273534144821067776,"km_value":273534144821067.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:51:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6158953992311795712,"description":"Unknown IO ID 45"} 
[2026-04-17 01:51:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750919680001,"power":27332,"unknown_216":206,"unknown_78":38912,"ignition":30,"odometer":null,"unknown_45":6158953992311795712}} 
[2026-04-17 01:51:35] local.INFO: DEBUG: GPS processor result {"connection_id":45689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:51:35] local.INFO: GPS data processed {"connection_id":45689,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:51:35] local.INFO: Acknowledgment sent {"connection_id":45689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:51:49] local.INFO: TCP Data received {"connection_id":45426,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:51:49] local.INFO: Processing buffer {"connection_id":45426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:51:49] local.INFO: IMEI packet received {"connection_id":45426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":45426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:51:52] local.INFO: TCP Data received {"connection_id":45426,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:51:52] local.INFO: Processing buffer {"connection_id":45426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:51:52] local.INFO: IMEI packet received {"connection_id":45426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":45426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:51:53] local.INFO: TCP Data received {"connection_id":45497,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f21148012cec7540071670780015009e30..."} 
[2026-04-17 01:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f21148012cec7540071670780015009e30..."} 
[2026-04-17 01:51:53] local.INFO: Processing buffer {"connection_id":45497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f21148012cec7540071670780015009e30..."} 
[2026-04-17 01:51:53] local.INFO: Packet analysis {"connection_id":45497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f2"} 
[2026-04-17 01:51:53] local.INFO: Extracted packet for processing {"connection_id":45497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f2"} 
[2026-04-17 01:51:53] local.INFO: GPS Element Parsed {"raw_longitude":753694016,"raw_latitude":118911096,"longitude_deg":75.3694016,"latitude_deg":11.8911096,"altitude":21,"angle":158,"satellites":48,"speed":0,"hex_longitude":"2cec7540","hex_latitude":"07167078","is_valid_coordinates":true} 
[2026-04-17 01:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:51:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750898176001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:51:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:51:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1415819102408792064,"note":"Value kept but may cause issues"} 
[2026-04-17 01:51:53] 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-04-17 01:51:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776370717000,"timestamp_ms":1776370717000,"timestamp_seconds":1776370717,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f21148"} 
[2026-04-17 01:51:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:51:53] 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-04-17 01:51:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 01:51:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:51:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:51:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:51:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:51:53] local.INFO: Teltonika packet parsed successfully {"connection_id":45497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:51:53] local.INFO: Passing IMEI to GPS processor {"connection_id":45497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:51:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":45497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:51:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:51:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:51:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:51:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750898176001,"66":27930,"33":206,"2":54272,"24":0,"16":106618783551979520,"44":-1415819102408792064},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-04-17 01:51:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:51:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:51:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750898176001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:51:53] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-04-17 01:51:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:51:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1415819102408792064,"description":"Unknown IO ID 44"} 
[2026-04-17 01:51:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750898176001,"power":27930,"unknown_33":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1415819102408792064}} 
[2026-04-17 01:51:54] local.INFO: DEBUG: GPS processor result {"connection_id":45497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18564,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:51:54] local.INFO: GPS data processed {"connection_id":45497,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:51:54] local.INFO: Acknowledgment sent {"connection_id":45497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:51:57] local.INFO: TCP Data received {"connection_id":45426,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:51:57] local.INFO: Processing buffer {"connection_id":45426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:51:57] local.INFO: IMEI packet received {"connection_id":45426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":45426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:51:59] local.INFO: TCP Data received {"connection_id":45426,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f36520012d559d00064378d00006009a2c..."} 
[2026-04-17 01:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f36520012d559d00064378d00006009a2c..."} 
[2026-04-17 01:51:59] local.INFO: Processing buffer {"connection_id":45426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f36520012d559d00064378d00006009a2c..."} 
[2026-04-17 01:51:59] local.INFO: Packet analysis {"connection_id":45426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f3"} 
[2026-04-17 01:51:59] local.INFO: Extracted packet for processing {"connection_id":45426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f3"} 
[2026-04-17 01:51:59] local.INFO: GPS Element Parsed {"raw_longitude":760585472,"raw_latitude":105085136,"longitude_deg":76.0585472,"latitude_deg":10.5085136,"altitude":6,"angle":154,"satellites":44,"speed":32,"hex_longitude":"2d559d00","hex_latitude":"064378d0","is_valid_coordinates":true} 
[2026-04-17 01:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750922752001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273534600087601152,"note":"Value kept but may cause issues"} 
[2026-04-17 01:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6164231648123097088,"note":"Value kept but may cause issues"} 
[2026-04-17 01:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776370804000,"timestamp_ms":1776370804000,"timestamp_seconds":1776370804,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f36520"} 
[2026-04-17 01:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 01:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750922752001,"66":27463,"216":206,"78":38912,"24":32,"16":273534600087601152,"45":6164231648123097088},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-17 01:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750922752001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:51:59] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 01:51:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273534600087601152,"km_value":273534600087601.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6164231648123097088,"description":"Unknown IO ID 45"} 
[2026-04-17 01:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750922752001,"power":27463,"unknown_216":206,"unknown_78":38912,"ignition":32,"odometer":null,"unknown_45":6164231648123097088}} 
[2026-04-17 01:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":45426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18565,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:51:59] local.INFO: GPS data processed {"connection_id":45426,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:51:59] local.INFO: Acknowledgment sent {"connection_id":45426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:52:06] local.INFO: TCP Data received {"connection_id":45498,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:52:06] local.INFO: Processing buffer {"connection_id":45498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:52:06] local.INFO: IMEI packet received {"connection_id":45498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":45498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:52:11] local.INFO: TCP Data received {"connection_id":45498,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:52:11] local.INFO: Processing buffer {"connection_id":45498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:52:11] local.INFO: IMEI packet received {"connection_id":45498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":45498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:52:13] local.INFO: TCP Data received {"connection_id":45498,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f24be0012cec944007162ae00013008c32..."} 
[2026-04-17 01:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f24be0012cec944007162ae00013008c32..."} 
[2026-04-17 01:52:13] local.INFO: Processing buffer {"connection_id":45498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f24be0012cec944007162ae00013008c32..."} 
[2026-04-17 01:52:13] local.INFO: Packet analysis {"connection_id":45498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f2"} 
[2026-04-17 01:52:13] local.INFO: Extracted packet for processing {"connection_id":45498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f2"} 
[2026-04-17 01:52:13] local.INFO: GPS Element Parsed {"raw_longitude":753701952,"raw_latitude":118893280,"longitude_deg":75.3701952,"latitude_deg":11.889328,"altitude":19,"angle":140,"satellites":50,"speed":42,"hex_longitude":"2cec9440","hex_latitude":"07162ae0","is_valid_coordinates":true} 
[2026-04-17 01:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750903552001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:52:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1408148909297993728,"note":"Value kept but may cause issues"} 
[2026-04-17 01:52:13] 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-04-17 01:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776370732000,"timestamp_ms":1776370732000,"timestamp_seconds":1776370732,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f24be0"} 
[2026-04-17 01:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:52:13] 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-04-17 01:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-17 01:52:13] 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-04-17 01:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750903552001,"66":27908,"33":206,"2":54272,"24":42,"16":106618783551979520,"44":-1408148909297993728},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-04-17 01:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750903552001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:52:13] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-04-17 01:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:52:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1408148909297993728,"description":"Unknown IO ID 44"} 
[2026-04-17 01:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750903552001,"power":27908,"unknown_33":206,"power_alt":54272,"ignition":42,"odometer":null,"unknown_44":-1408148909297993728}} 
[2026-04-17 01:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":45498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18566,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:52:13] local.INFO: GPS data processed {"connection_id":45498,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:52:13] local.INFO: Acknowledgment sent {"connection_id":45498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:52:31] local.INFO: TCP Data received {"connection_id":45426,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f39400012d55acc0064358b80007009930..."} 
[2026-04-17 01:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f39400012d55acc0064358b80007009930..."} 
[2026-04-17 01:52:31] local.INFO: Processing buffer {"connection_id":45426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f39400012d55acc0064358b80007009930..."} 
[2026-04-17 01:52:31] local.INFO: Packet analysis {"connection_id":45426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f3"} 
[2026-04-17 01:52:31] local.INFO: Extracted packet for processing {"connection_id":45426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f3"} 
[2026-04-17 01:52:31] local.INFO: GPS Element Parsed {"raw_longitude":760589504,"raw_latitude":105076920,"longitude_deg":76.0589504,"latitude_deg":10.507692,"altitude":7,"angle":153,"satellites":48,"speed":29,"hex_longitude":"2d55acc0","hex_latitude":"064358b8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750925824001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273535042469232640,"note":"Value kept but may cause issues"} 
[2026-04-17 01:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6169087091469242368,"note":"Value kept but may cause issues"} 
[2026-04-17 01:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776370816000,"timestamp_ms":1776370816000,"timestamp_seconds":1776370816,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f39400"} 
[2026-04-17 01:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 01:52: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-04-17 01: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-04-17 01:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":45426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":45426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":45426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750925824001,"66":27376,"216":206,"78":38912,"24":29,"16":273535042469232640,"45":6169087091469242368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-17 01:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750925824001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:52:31] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 01:52:31] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273535042469232640,"km_value":273535042469232.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":6169087091469242368,"description":"Unknown IO ID 45"} 
[2026-04-17 01:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750925824001,"power":27376,"unknown_216":206,"unknown_78":38912,"ignition":29,"odometer":null,"unknown_45":6169087091469242368}} 
[2026-04-17 01:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":45426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:52:31] local.INFO: GPS data processed {"connection_id":45426,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:52:31] local.INFO: Acknowledgment sent {"connection_id":45426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:52:50] local.INFO: TCP Data received {"connection_id":45498,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f29230012cecc2000715ec780014009733..."} 
[2026-04-17 01:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f29230012cecc2000715ec780014009733..."} 
[2026-04-17 01:52:50] local.INFO: Processing buffer {"connection_id":45498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f29230012cecc2000715ec780014009733..."} 
[2026-04-17 01:52:50] local.INFO: Packet analysis {"connection_id":45498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f2"} 
[2026-04-17 01:52:50] local.INFO: Extracted packet for processing {"connection_id":45498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f2"} 
[2026-04-17 01:52:50] local.INFO: GPS Element Parsed {"raw_longitude":753713664,"raw_latitude":118877304,"longitude_deg":75.3713664,"latitude_deg":11.8877304,"altitude":20,"angle":151,"satellites":51,"speed":43,"hex_longitude":"2cecc200","hex_latitude":"0715ec78","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:52:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750907392001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:52:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:52:50] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1399423185024524288,"note":"Value kept but may cause issues"} 
[2026-04-17 01:52:50] 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-04-17 01:52:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776370750000,"timestamp_ms":1776370750000,"timestamp_seconds":1776370750,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f29230"} 
[2026-04-17 01:52:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01: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-04-17 01: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 01:52: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-04-17 01: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-04-17 01:52:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:52:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:52:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:52:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:52:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:52:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:52:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:52:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:52:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750907392001,"66":27952,"33":206,"2":54272,"24":43,"16":106618783551979520,"44":-1399423185024524288},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,2,24,16,44]} 
[2026-04-17 01:52:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:52:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:52:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750907392001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:52:50] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-04-17 01:52:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:52:50] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1399423185024524288,"description":"Unknown IO ID 44"} 
[2026-04-17 01:52:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750907392001,"power":27952,"unknown_33":206,"power_alt":54272,"ignition":43,"odometer":null,"unknown_44":-1399423185024524288}} 
[2026-04-17 01:52:50] local.INFO: DEBUG: GPS processor result {"connection_id":45498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18568,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:52:50] local.INFO: GPS data processed {"connection_id":45498,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:52:50] local.INFO: Acknowledgment sent {"connection_id":45498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:52:52] local.INFO: TCP Data received {"connection_id":45499,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:52:52] local.INFO: Processing buffer {"connection_id":45499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:52:52] local.INFO: IMEI packet received {"connection_id":45499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":45499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:52:57] local.INFO: TCP Data received {"connection_id":45499,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:52:57] local.INFO: Processing buffer {"connection_id":45499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:52:57] local.INFO: IMEI packet received {"connection_id":45499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":45499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:52:58] local.INFO: TCP Data received {"connection_id":45499,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f3e608012d55b8c0064340a80006009a2e..."} 
[2026-04-17 01:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f3e608012d55b8c0064340a80006009a2e..."} 
[2026-04-17 01:52:58] local.INFO: Processing buffer {"connection_id":45499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f3e608012d55b8c0064340a80006009a2e..."} 
[2026-04-17 01:52:58] local.INFO: Packet analysis {"connection_id":45499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f3"} 
[2026-04-17 01:52:58] local.INFO: Extracted packet for processing {"connection_id":45499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f3"} 
[2026-04-17 01:52:58] local.INFO: GPS Element Parsed {"raw_longitude":760592576,"raw_latitude":105070760,"longitude_deg":76.0592576,"latitude_deg":10.507076,"altitude":6,"angle":154,"satellites":46,"speed":9,"hex_longitude":"2d55b8c0","hex_latitude":"064340a8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750928896001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273535377476681728,"note":"Value kept but may cause issues"} 
[2026-04-17 01:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6173520322350331904,"note":"Value kept but may cause issues"} 
[2026-04-17 01:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776370837000,"timestamp_ms":1776370837000,"timestamp_seconds":1776370837,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f3e608"} 
[2026-04-17 01:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:52: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-04-17 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:52: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-04-17 01: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-04-17 01:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750928896001,"66":27365,"216":206,"78":38912,"24":9,"16":273535377476681728,"45":6173520322350331904},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,78,24,16,45]} 
[2026-04-17 01:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750928896001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:52:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 01:52:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273535377476681728,"km_value":273535377476681.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6173520322350331904,"description":"Unknown IO ID 45"} 
[2026-04-17 01:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750928896001,"power":27365,"unknown_216":206,"unknown_78":38912,"ignition":9,"odometer":null,"unknown_45":6173520322350331904}} 
[2026-04-17 01:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":45499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:52:58] local.INFO: GPS data processed {"connection_id":45499,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:52:58] local.INFO: Acknowledgment sent {"connection_id":45499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:53:11] local.INFO: TCP Data received {"connection_id":45500,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:53:11] local.INFO: Processing buffer {"connection_id":45500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:53:11] local.INFO: IMEI packet received {"connection_id":45500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":45500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:53:16] local.INFO: TCP Data received {"connection_id":45500,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:53:16] local.INFO: Processing buffer {"connection_id":45500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:53:16] local.INFO: IMEI packet received {"connection_id":45500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":45500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:53:17] local.INFO: TCP Data received {"connection_id":45500,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f2e438012cece3c00715a1980019009a30..."} 
[2026-04-17 01:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f2e438012cece3c00715a1980019009a30..."} 
[2026-04-17 01:53:17] local.INFO: Processing buffer {"connection_id":45500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f2e438012cece3c00715a1980019009a30..."} 
[2026-04-17 01:53:17] local.INFO: Packet analysis {"connection_id":45500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f2"} 
[2026-04-17 01:53:17] local.INFO: Extracted packet for processing {"connection_id":45500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f2"} 
[2026-04-17 01:53:17] local.INFO: GPS Element Parsed {"raw_longitude":753722304,"raw_latitude":118858136,"longitude_deg":75.3722304,"latitude_deg":11.8858136,"altitude":25,"angle":154,"satellites":48,"speed":0,"hex_longitude":"2cece3c0","hex_latitude":"0715a198","is_valid_coordinates":true} 
[2026-04-17 01:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750912000001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:53:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1386545704844101632,"note":"Value kept but may cause issues"} 
[2026-04-17 01:53:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776370771000,"timestamp_ms":1776370771000,"timestamp_seconds":1776370771,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f2e438"} 
[2026-04-17 01:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:53:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 01:53:17] 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-04-17 01:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750912000001,"66":27832,"87":206,"2":54272,"24":0,"16":106618783551979520,"44":-1386545704844101632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,2,24,16,44]} 
[2026-04-17 01:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750912000001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:53:17] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-04-17 01:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:53:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1386545704844101632,"description":"Unknown IO ID 44"} 
[2026-04-17 01:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750912000001,"power":27832,"unknown_87":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1386545704844101632}} 
[2026-04-17 01:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":45500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18570,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:53:17] local.INFO: GPS data processed {"connection_id":45500,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:53:17] local.INFO: Acknowledgment sent {"connection_id":45500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:53:22] local.INFO: TCP Data received {"connection_id":45500,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f33640012ced0a0007155d580018009d2f..."} 
[2026-04-17 01:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f33640012ced0a0007155d580018009d2f..."} 
[2026-04-17 01:53:22] local.INFO: Processing buffer {"connection_id":45500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f33640012ced0a0007155d580018009d2f..."} 
[2026-04-17 01:53:22] local.INFO: Packet analysis {"connection_id":45500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f3"} 
[2026-04-17 01:53:22] local.INFO: Extracted packet for processing {"connection_id":45500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f3"} 
[2026-04-17 01:53:22] local.INFO: GPS Element Parsed {"raw_longitude":753732096,"raw_latitude":118840664,"longitude_deg":75.3732096,"latitude_deg":11.8840664,"altitude":24,"angle":157,"satellites":47,"speed":0,"hex_longitude":"2ced0a00","hex_latitude":"07155d58","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:53:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750917376001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:53:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:53:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1377045924385024000,"note":"Value kept but may cause issues"} 
[2026-04-17 01:53:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,2,24,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:53:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776370792000,"timestamp_ms":1776370792000,"timestamp_seconds":1776370792,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f33640"} 
[2026-04-17 01:53:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01: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-04-17 01:53:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-17 01:53:22] 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-04-17 01: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-04-17 01:53:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:53:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:53:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:53:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:53:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:53:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:53:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:53:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:53:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750917376001,"66":27843,"2":54272,"24":0,"16":106618783551979520,"44":-1377045924385024000},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,44]} 
[2026-04-17 01:53:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:53:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:53:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750917376001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:53:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:53:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1377045924385024000,"description":"Unknown IO ID 44"} 
[2026-04-17 01:53:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454750917376001,"power":27843,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1377045924385024000}} 
[2026-04-17 01:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":45500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18571,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:53:22] local.INFO: GPS data processed {"connection_id":45500,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:53:22] local.INFO: Acknowledgment sent {"connection_id":45500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:53:30] local.INFO: TCP Data received {"connection_id":45499,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f43810012d55c80006431fc00008009b30..."} 
[2026-04-17 01:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f43810012d55c80006431fc00008009b30..."} 
[2026-04-17 01:53:30] local.INFO: Processing buffer {"connection_id":45499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f43810012d55c80006431fc00008009b30..."} 
[2026-04-17 01:53:30] local.INFO: Packet analysis {"connection_id":45499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f4"} 
[2026-04-17 01:53:30] local.INFO: Extracted packet for processing {"connection_id":45499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f4"} 
[2026-04-17 01:53:30] local.INFO: GPS Element Parsed {"raw_longitude":760596480,"raw_latitude":105062336,"longitude_deg":76.059648,"latitude_deg":10.5062336,"altitude":8,"angle":155,"satellites":48,"speed":26,"hex_longitude":"2d55c800","hex_latitude":"06431fc0","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750934272001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273535828448247808,"note":"Value kept but may cause issues"} 
[2026-04-17 01:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6176898022069282816,"note":"Value kept but may cause issues"} 
[2026-04-17 01:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776370858000,"timestamp_ms":1776370858000,"timestamp_seconds":1776370858,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f43810"} 
[2026-04-17 01:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:53: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-04-17 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 01:53: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-04-17 01: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-04-17 01:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:53: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-04-17 01:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750934272001,"66":27376,"251":206,"78":38912,"24":26,"16":273535828448247808,"45":6176898022069282816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,78,24,16,45]} 
[2026-04-17 01:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750934272001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:53:30] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-17 01:53:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273535828448247808,"km_value":273535828448247.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6176898022069282816,"description":"Unknown IO ID 45"} 
[2026-04-17 01:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750934272001,"power":27376,"unknown_251":206,"unknown_78":38912,"ignition":26,"odometer":null,"unknown_45":6176898022069282816}} 
[2026-04-17 01:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":45499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:53:30] local.INFO: GPS data processed {"connection_id":45499,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:53:30] local.INFO: Acknowledgment sent {"connection_id":45499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:53:53] local.INFO: TCP Data received {"connection_id":45690,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:53:53] local.INFO: Processing buffer {"connection_id":45690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:53:53] local.INFO: IMEI packet received {"connection_id":45690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":45690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:53:54] local.INFO: TCP Data received {"connection_id":45690,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:53:54] local.INFO: Processing buffer {"connection_id":45690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:53:54] local.INFO: IMEI packet received {"connection_id":45690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":45690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:53:57] local.INFO: TCP Data received {"connection_id":45690,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:53:57] local.INFO: Processing buffer {"connection_id":45690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:53:57] local.INFO: IMEI packet received {"connection_id":45690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":45690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:53:59] local.INFO: TCP Data received {"connection_id":45690,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f43810012d55c80006431fc00008009b30..."} 
[2026-04-17 01:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f43810012d55c80006431fc00008009b30..."} 
[2026-04-17 01:53:59] local.INFO: Processing buffer {"connection_id":45690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f43810012d55c80006431fc00008009b30..."} 
[2026-04-17 01:53:59] local.INFO: Packet analysis {"connection_id":45690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f4"} 
[2026-04-17 01:53:59] local.INFO: Extracted packet for processing {"connection_id":45690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f4"} 
[2026-04-17 01:53:59] local.INFO: GPS Element Parsed {"raw_longitude":760596480,"raw_latitude":105062336,"longitude_deg":76.059648,"latitude_deg":10.5062336,"altitude":8,"angle":155,"satellites":48,"speed":26,"hex_longitude":"2d55c800","hex_latitude":"06431fc0","is_valid_coordinates":true} 
[2026-04-17 01:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750939648001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273535828448247808,"note":"Value kept but may cause issues"} 
[2026-04-17 01:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6181190515461963776,"note":"Value kept but may cause issues"} 
[2026-04-17 01:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776370858000,"timestamp_ms":1776370858000,"timestamp_seconds":1776370858,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f43810"} 
[2026-04-17 01:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750939648001,"66":27376,"251":206,"78":38912,"24":26,"16":273535828448247808,"45":6181190515461963776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,78,24,16,45]} 
[2026-04-17 01:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750939648001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:53:59] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-17 01:53:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273535828448247808,"km_value":273535828448247.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6181190515461963776,"description":"Unknown IO ID 45"} 
[2026-04-17 01:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750939648001,"power":27376,"unknown_251":206,"unknown_78":38912,"ignition":26,"odometer":null,"unknown_45":6181190515461963776}} 
[2026-04-17 01:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":45690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18573,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:53:59] local.INFO: GPS data processed {"connection_id":45690,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:53:59] local.INFO: Acknowledgment sent {"connection_id":45690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:54:06] local.INFO: TCP Data received {"connection_id":45427,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:54:06] local.INFO: Processing buffer {"connection_id":45427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:54:06] local.INFO: IMEI packet received {"connection_id":45427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":45427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:54:07] local.INFO: TCP Data received {"connection_id":45427,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:54:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:54:07] local.INFO: Processing buffer {"connection_id":45427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:54:07] local.INFO: IMEI packet received {"connection_id":45427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:54:07] local.INFO: IMEI acknowledgment sent {"connection_id":45427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:54:11] local.INFO: TCP Data received {"connection_id":45427,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45427,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:54:11] local.INFO: Processing buffer {"connection_id":45427,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:54:11] local.INFO: IMEI packet received {"connection_id":45427,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":45427,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:54:12] local.INFO: TCP Data received {"connection_id":45427,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f5e1d8012cee26800713e4100024005e2f..."} 
[2026-04-17 01:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f5e1d8012cee26800713e4100024005e2f..."} 
[2026-04-17 01:54:12] local.INFO: Processing buffer {"connection_id":45427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f5e1d8012cee26800713e4100024005e2f..."} 
[2026-04-17 01:54:12] local.INFO: Packet analysis {"connection_id":45427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f5"} 
[2026-04-17 01:54:12] local.INFO: Extracted packet for processing {"connection_id":45427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f5"} 
[2026-04-17 01:54:12] local.INFO: GPS Element Parsed {"raw_longitude":753804928,"raw_latitude":118744080,"longitude_deg":75.3804928,"latitude_deg":11.874408,"altitude":36,"angle":94,"satellites":47,"speed":0,"hex_longitude":"2cee2680","hex_latitude":"0713e410","is_valid_coordinates":true} 
[2026-04-17 01:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750962176001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:54:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1307310498934093824,"note":"Value kept but may cause issues"} 
[2026-04-17 01:54:12] 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-04-17 01:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776370967000,"timestamp_ms":1776370967000,"timestamp_seconds":1776370967,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f5e1d8"} 
[2026-04-17 01:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01: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-04-17 01:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-17 01:54:12] 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-04-17 01:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750962176001,"66":27800,"206":206,"2":54272,"24":0,"16":106618783551979520,"44":-1307310498934093824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-04-17 01:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750962176001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:54:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 01:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:54:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1307310498934093824,"description":"Unknown IO ID 44"} 
[2026-04-17 01:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750962176001,"power":27800,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1307310498934093824}} 
[2026-04-17 01:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":45427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18574,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:54:12] local.INFO: GPS data processed {"connection_id":45427,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:54:12] local.INFO: Acknowledgment sent {"connection_id":45427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:54:19] local.INFO: TCP Data received {"connection_id":45427,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f633e0012cee76000713da580021005c30..."} 
[2026-04-17 01:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f633e0012cee76000713da580021005c30..."} 
[2026-04-17 01:54:19] local.INFO: Processing buffer {"connection_id":45427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f633e0012cee76000713da580021005c30..."} 
[2026-04-17 01:54:19] local.INFO: Packet analysis {"connection_id":45427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f6"} 
[2026-04-17 01:54:19] local.INFO: Extracted packet for processing {"connection_id":45427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f6"} 
[2026-04-17 01:54:19] local.INFO: GPS Element Parsed {"raw_longitude":753825280,"raw_latitude":118741592,"longitude_deg":75.382528,"latitude_deg":11.8741592,"altitude":33,"angle":92,"satellites":48,"speed":0,"hex_longitude":"2cee7600","hex_latitude":"0713da58","is_valid_coordinates":true} 
[2026-04-17 01:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:54:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750967552001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:54:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:54:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1286199875680858112,"note":"Value kept but may cause issues"} 
[2026-04-17 01:54:19] 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-04-17 01:54:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776370988000,"timestamp_ms":1776370988000,"timestamp_seconds":1776370988,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f633e0"} 
[2026-04-17 01:54:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:54:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:54:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 01:54:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:54:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:54:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:54:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:54:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:54:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:54:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:54:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:54:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:54:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:54:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750967552001,"66":27952,"206":206,"2":54272,"24":0,"16":106618783551979520,"44":-1286199875680858112},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,2,24,16,44]} 
[2026-04-17 01:54:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:54:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:54:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750967552001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:54:19] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 01:54:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:54:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1286199875680858112,"description":"Unknown IO ID 44"} 
[2026-04-17 01:54:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750967552001,"power":27952,"unknown_206":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1286199875680858112}} 
[2026-04-17 01:54:20] local.INFO: DEBUG: GPS processor result {"connection_id":45427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18575,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:54:20] local.INFO: GPS data processed {"connection_id":45427,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:54:20] local.INFO: Acknowledgment sent {"connection_id":45427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:54:32] local.INFO: TCP Data received {"connection_id":45690,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f46ad8012d55d7c00642ff18000700992f..."} 
[2026-04-17 01:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f46ad8012d55d7c00642ff18000700992f..."} 
[2026-04-17 01:54:32] local.INFO: Processing buffer {"connection_id":45690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f46ad8012d55d7c00642ff18000700992f..."} 
[2026-04-17 01:54:32] local.INFO: Packet analysis {"connection_id":45690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f4"} 
[2026-04-17 01:54:32] local.INFO: Extracted packet for processing {"connection_id":45690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f4"} 
[2026-04-17 01:54:32] local.INFO: GPS Element Parsed {"raw_longitude":760600512,"raw_latitude":105053976,"longitude_deg":76.0600512,"latitude_deg":10.5053976,"altitude":7,"angle":153,"satellites":47,"speed":27,"hex_longitude":"2d55d7c0","hex_latitude":"0642ff18","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750939648001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273536275124846592,"note":"Value kept but may cause issues"} 
[2026-04-17 01:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6181190515461963776,"note":"Value kept but may cause issues"} 
[2026-04-17 01:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776370871000,"timestamp_ms":1776370871000,"timestamp_seconds":1776370871,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f46ad8"} 
[2026-04-17 01:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:54:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 01:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750939648001,"66":27017,"251":206,"78":38912,"24":27,"16":273536275124846592,"45":6181190515461963776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,78,24,16,45]} 
[2026-04-17 01:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750939648001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:54:32] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-17 01:54:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273536275124846592,"km_value":273536275124846.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6181190515461963776,"description":"Unknown IO ID 45"} 
[2026-04-17 01:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750939648001,"power":27017,"unknown_251":206,"unknown_78":38912,"ignition":27,"odometer":null,"unknown_45":6181190515461963776}} 
[2026-04-17 01:54:32] local.INFO: DEBUG: GPS processor result {"connection_id":45690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18576,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:54:32] local.INFO: GPS data processed {"connection_id":45690,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:54:32] local.INFO: Acknowledgment sent {"connection_id":45690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:54:51] local.INFO: TCP Data received {"connection_id":45427,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f735b00100000000000000000000000000..."} 
[2026-04-17 01:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f735b00100000000000000000000000000..."} 
[2026-04-17 01:54:51] local.INFO: Processing buffer {"connection_id":45427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f735b00100000000000000000000000000..."} 
[2026-04-17 01:54:51] local.INFO: Packet analysis {"connection_id":45427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f7"} 
[2026-04-17 01:54:51] local.INFO: Extracted packet for processing {"connection_id":45427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f7"} 
[2026-04-17 01:54:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 01:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:54:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750972928001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:54:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:54:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1263822615032997888,"note":"Value kept but may cause issues"} 
[2026-04-17 01:54:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,71,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:54:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776371054000,"timestamp_ms":1776371054000,"timestamp_seconds":1776371054,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f735b0"} 
[2026-04-17 01:54:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:54: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-04-17 01:54:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 01:54:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:54:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:54:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:54:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:54:51] local.INFO: Teltonika packet parsed successfully {"connection_id":45427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:54:51] local.INFO: Passing IMEI to GPS processor {"connection_id":45427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:54:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":45427,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:54:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:54:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:54:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:54:51] local.INFO: DEBUG: GPS processor result {"connection_id":45427,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 01:54:51] local.INFO: GPS data processed {"connection_id":45427,"processed":0,"errors":0,"total":1} 
[2026-04-17 01:54:51] local.INFO: Acknowledgment sent {"connection_id":45427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:54:57] local.INFO: TCP Data received {"connection_id":45501,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:54:57] local.INFO: Processing buffer {"connection_id":45501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:54:57] local.INFO: IMEI packet received {"connection_id":45501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":45501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:55:02] local.INFO: TCP Data received {"connection_id":45501,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:55:02] local.INFO: Processing buffer {"connection_id":45501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:55:02] local.INFO: IMEI packet received {"connection_id":45501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:55:02] local.INFO: IMEI acknowledgment sent {"connection_id":45501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:55:03] local.INFO: TCP Data received {"connection_id":45501,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f4a958012d55e7800642df680007009a2f..."} 
[2026-04-17 01:55:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f4a958012d55e7800642df680007009a2f..."} 
[2026-04-17 01:55:03] local.INFO: Processing buffer {"connection_id":45501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f4a958012d55e7800642df680007009a2f..."} 
[2026-04-17 01:55:03] local.INFO: Packet analysis {"connection_id":45501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f4"} 
[2026-04-17 01:55:03] local.INFO: Extracted packet for processing {"connection_id":45501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f4"} 
[2026-04-17 01:55:03] local.INFO: GPS Element Parsed {"raw_longitude":760604544,"raw_latitude":105045864,"longitude_deg":76.0604544,"latitude_deg":10.5045864,"altitude":7,"angle":154,"satellites":47,"speed":16,"hex_longitude":"2d55e780","hex_latitude":"0642df68","is_valid_coordinates":true} 
[2026-04-17 01:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:55:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750942976001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:55:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273536713211510784,"note":"Value kept but may cause issues"} 
[2026-04-17 01:55:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6185623746343016448,"note":"Value kept but may cause issues"} 
[2026-04-17 01:55:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:55:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776370887000,"timestamp_ms":1776370887000,"timestamp_seconds":1776370887,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f4a958"} 
[2026-04-17 01:55:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:55: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-04-17 01:55:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-17 01:55:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:55:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:55:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:55:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:55:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:55:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:55:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:55:03] 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-04-17 01:55:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:55:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:55:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750942976001,"66":27365,"251":206,"78":38912,"24":16,"16":273536713211510784,"45":6185623746343016448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,78,24,16,45]} 
[2026-04-17 01:55:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:55:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:55:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750942976001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:55:03] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-17 01:55:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:55:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273536713211510784,"km_value":273536713211510.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:55:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6185623746343016448,"description":"Unknown IO ID 45"} 
[2026-04-17 01:55:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750942976001,"power":27365,"unknown_251":206,"unknown_78":38912,"ignition":16,"odometer":null,"unknown_45":6185623746343016448}} 
[2026-04-17 01:55:03] local.INFO: DEBUG: GPS processor result {"connection_id":45501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:55:03] local.INFO: GPS data processed {"connection_id":45501,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:55:03] local.INFO: Acknowledgment sent {"connection_id":45501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:55:07] local.INFO: TCP Data received {"connection_id":45501,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f4ebc0012d55f7400642be200006009a31..."} 
[2026-04-17 01:55:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f4ebc0012d55f7400642be200006009a31..."} 
[2026-04-17 01:55:07] local.INFO: Processing buffer {"connection_id":45501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f4ebc0012d55f7400642be200006009a31..."} 
[2026-04-17 01:55:07] local.INFO: Packet analysis {"connection_id":45501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f4"} 
[2026-04-17 01:55:07] local.INFO: Extracted packet for processing {"connection_id":45501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f4"} 
[2026-04-17 01:55:07] local.INFO: GPS Element Parsed {"raw_longitude":760608576,"raw_latitude":105037344,"longitude_deg":76.0608576,"latitude_deg":10.5037344,"altitude":6,"angle":154,"satellites":49,"speed":28,"hex_longitude":"2d55f740","hex_latitude":"0642be20","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:55:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750947072001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:55:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273537172773011456,"note":"Value kept but may cause issues"} 
[2026-04-17 01:55:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6190056977224132608,"note":"Value kept but may cause issues"} 
[2026-04-17 01:55:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:55:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776370904000,"timestamp_ms":1776370904000,"timestamp_seconds":1776370904,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f4ebc0"} 
[2026-04-17 01:55:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:55:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 01:55:07] 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-04-17 01: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-04-17 01:55:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:55:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:55:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:55:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:55:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:55:07] 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-04-17 01:55:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:55:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:55:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750947072001,"66":27539,"251":206,"78":38912,"24":28,"16":273537172773011456,"45":6190056977224132608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,78,24,16,45]} 
[2026-04-17 01:55:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:55:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:55:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750947072001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:55:07] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-17 01:55:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:55:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273537172773011456,"km_value":273537172773011.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:55:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6190056977224132608,"description":"Unknown IO ID 45"} 
[2026-04-17 01:55:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750947072001,"power":27539,"unknown_251":206,"unknown_78":38912,"ignition":28,"odometer":null,"unknown_45":6190056977224132608}} 
[2026-04-17 01:55:07] local.INFO: DEBUG: GPS processor result {"connection_id":45501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:55:07] local.INFO: GPS data processed {"connection_id":45501,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:55:07] local.INFO: Acknowledgment sent {"connection_id":45501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:55:08] local.INFO: TCP Data received {"connection_id":45691,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:55:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:55:08] local.INFO: Processing buffer {"connection_id":45691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:55:08] local.INFO: IMEI packet received {"connection_id":45691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:55:08] local.INFO: IMEI acknowledgment sent {"connection_id":45691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:55:11] local.INFO: TCP Data received {"connection_id":45691,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:55:11] local.INFO: Processing buffer {"connection_id":45691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:55:11] local.INFO: IMEI packet received {"connection_id":45691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":45691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:55:12] local.INFO: TCP Data received {"connection_id":45691,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f6acf8012cef0b000713db680025006130..."} 
[2026-04-17 01:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f6acf8012cef0b000713db680025006130..."} 
[2026-04-17 01:55:12] local.INFO: Processing buffer {"connection_id":45691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f6acf8012cef0b000713db680025006130..."} 
[2026-04-17 01:55:12] local.INFO: Packet analysis {"connection_id":45691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f6"} 
[2026-04-17 01:55:12] local.INFO: Extracted packet for processing {"connection_id":45691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f6"} 
[2026-04-17 01:55:12] local.INFO: GPS Element Parsed {"raw_longitude":753863424,"raw_latitude":118741864,"longitude_deg":75.3863424,"latitude_deg":11.8741864,"altitude":37,"angle":97,"satellites":48,"speed":45,"hex_longitude":"2cef0b00","hex_latitude":"0713db68","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:55:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,71,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 01:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776371019000,"timestamp_ms":1776371019000,"timestamp_seconds":1776371019,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f6acf8"} 
[2026-04-17 01:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:55: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-17 01:55: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-04-17 01: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-04-17 01:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"71":206,"2":54272,"24":45,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,71,2,24,16]} 
[2026-04-17 01:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 01:55:12] local.INFO: Unknown IO ID detected {"io_id":71,"value":206,"description":"Unknown IO ID 71"} 
[2026-04-17 01:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:55:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"unknown_71":206,"power_alt":54272,"ignition":45,"odometer":null}} 
[2026-04-17 01:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":45691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18579,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:55:12] local.INFO: GPS data processed {"connection_id":45691,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:55:12] local.INFO: Acknowledgment sent {"connection_id":45691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:55:13] local.INFO: TCP Data received {"connection_id":45691,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f6ff00012cef60c00713d5000024005d31..."} 
[2026-04-17 01:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f6ff00012cef60c00713d5000024005d31..."} 
[2026-04-17 01:55:13] local.INFO: Processing buffer {"connection_id":45691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f6ff00012cef60c00713d5000024005d31..."} 
[2026-04-17 01:55:13] local.INFO: Packet analysis {"connection_id":45691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f6"} 
[2026-04-17 01:55:13] local.INFO: Extracted packet for processing {"connection_id":45691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f6"} 
[2026-04-17 01:55:13] local.INFO: GPS Element Parsed {"raw_longitude":753885376,"raw_latitude":118740224,"longitude_deg":75.3885376,"latitude_deg":11.8740224,"altitude":36,"angle":93,"satellites":49,"speed":0,"hex_longitude":"2cef60c0","hex_latitude":"0713d500","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750980864001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:55:13] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1221882843503040512,"note":"Value kept but may cause issues"} 
[2026-04-17 01:55:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776371040000,"timestamp_ms":1776371040000,"timestamp_seconds":1776371040,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f6ff00"} 
[2026-04-17 01:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:55:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 01:55: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-04-17 01: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-04-17 01:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750980864001,"66":27995,"153":206,"2":54272,"24":0,"16":106618783551979520,"44":-1221882843503040512},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,2,24,16,44]} 
[2026-04-17 01:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750980864001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:55:13] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-04-17 01:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:55:13] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1221882843503040512,"description":"Unknown IO ID 44"} 
[2026-04-17 01:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750980864001,"power":27995,"unknown_153":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1221882843503040512}} 
[2026-04-17 01:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":45691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18580,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:55:13] local.INFO: GPS data processed {"connection_id":45691,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:55:13] local.INFO: Acknowledgment sent {"connection_id":45691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:55:48] local.INFO: TCP Data received {"connection_id":45691,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f735b0012cef9f400713aca80029007f2e..."} 
[2026-04-17 01:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f735b0012cef9f400713aca80029007f2e..."} 
[2026-04-17 01:55:48] local.INFO: Processing buffer {"connection_id":45691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f735b0012cef9f400713aca80029007f2e..."} 
[2026-04-17 01:55:48] local.INFO: Packet analysis {"connection_id":45691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f7"} 
[2026-04-17 01:55:48] local.INFO: Extracted packet for processing {"connection_id":45691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f7"} 
[2026-04-17 01:55:48] local.INFO: GPS Element Parsed {"raw_longitude":753901376,"raw_latitude":118729896,"longitude_deg":75.3901376,"latitude_deg":11.8729896,"altitude":41,"angle":127,"satellites":46,"speed":38,"hex_longitude":"2cef9f40","hex_latitude":"0713aca8","is_valid_coordinates":true} 
[2026-04-17 01:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:55:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750986240001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:55:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:55:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1197746364250521600,"note":"Value kept but may cause issues"} 
[2026-04-17 01:55:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:55:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776371054000,"timestamp_ms":1776371054000,"timestamp_seconds":1776371054,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f735b0"} 
[2026-04-17 01:55:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:55:48] 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-04-17 01:55:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 01:55:48] 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-04-17 01:55:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:55:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:55:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:55:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:55:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:55:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:55:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:55:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:55:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:55:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750986240001,"66":27821,"153":206,"2":54272,"24":38,"16":106618783551979520,"44":-1197746364250521600},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,2,24,16,44]} 
[2026-04-17 01:55:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:55:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:55:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750986240001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:55:48] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-04-17 01:55:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:55:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1197746364250521600,"description":"Unknown IO ID 44"} 
[2026-04-17 01:55:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750986240001,"power":27821,"unknown_153":206,"power_alt":54272,"ignition":38,"odometer":null,"unknown_44":-1197746364250521600}} 
[2026-04-17 01:55:48] local.INFO: DEBUG: GPS processor result {"connection_id":45691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18581,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:55:48] local.INFO: GPS data processed {"connection_id":45691,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:55:48] local.INFO: Acknowledgment sent {"connection_id":45691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:55:48] local.INFO: TCP Data received {"connection_id":46245,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:55:48] local.INFO: Processing buffer {"connection_id":46245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:55:48] local.INFO: IMEI packet received {"connection_id":46245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":46245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:55:52] local.INFO: TCP Data received {"connection_id":46245,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:55:52] local.INFO: Processing buffer {"connection_id":46245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:55:52] local.INFO: IMEI packet received {"connection_id":46245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":46245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:55:57] local.INFO: TCP Data received {"connection_id":46245,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46245,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:55:57] local.INFO: Processing buffer {"connection_id":46245,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:55:57] local.INFO: IMEI packet received {"connection_id":46245,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":46245,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:55:57] local.INFO: TCP Data received {"connection_id":46245,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f77430012d56b4c006416300000900922c..."} 
[2026-04-17 01:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f77430012d56b4c006416300000900922c..."} 
[2026-04-17 01:55:57] local.INFO: Processing buffer {"connection_id":46245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f77430012d56b4c006416300000900922c..."} 
[2026-04-17 01:55:57] local.INFO: Packet analysis {"connection_id":46245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f7"} 
[2026-04-17 01:55:57] local.INFO: Extracted packet for processing {"connection_id":46245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f7"} 
[2026-04-17 01:55:57] local.INFO: GPS Element Parsed {"raw_longitude":760657088,"raw_latitude":104948480,"longitude_deg":76.0657088,"latitude_deg":10.494848,"altitude":9,"angle":146,"satellites":44,"speed":13,"hex_longitude":"2d56b4c0","hex_latitude":"06416300","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750989568001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273542073330696192,"note":"Value kept but may cause issues"} 
[2026-04-17 01:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6243185379055376384,"note":"Value kept but may cause issues"} 
[2026-04-17 01:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776371070000,"timestamp_ms":1776371070000,"timestamp_seconds":1776371070,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f77430"} 
[2026-04-17 01:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:55: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-04-17 01: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 01:55:57] 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-04-17 01: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-04-17 01:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750989568001,"66":27397,"111":206,"78":38912,"24":13,"16":273542073330696192,"45":6243185379055376384},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-04-17 01:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750989568001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:55:57] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-04-17 01:55:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273542073330696192,"km_value":273542073330696.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6243185379055376384,"description":"Unknown IO ID 45"} 
[2026-04-17 01:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750989568001,"power":27397,"unknown_111":206,"unknown_78":38912,"ignition":13,"odometer":null,"unknown_45":6243185379055376384}} 
[2026-04-17 01:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":46245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:55:57] local.INFO: GPS data processed {"connection_id":46245,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:55:57] local.INFO: Acknowledgment sent {"connection_id":46245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:56:06] local.INFO: TCP Data received {"connection_id":45692,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:56:06] local.INFO: Processing buffer {"connection_id":45692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:56:06] local.INFO: IMEI packet received {"connection_id":45692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":45692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:56:10] local.INFO: TCP Data received {"connection_id":45692,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:56:10] local.INFO: Processing buffer {"connection_id":45692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:56:10] local.INFO: IMEI packet received {"connection_id":45692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":45692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:56:11] local.INFO: TCP Data received {"connection_id":45692,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f77fe8012cefe940071399a80023006830..."} 
[2026-04-17 01:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f77fe8012cefe940071399a80023006830..."} 
[2026-04-17 01:56:11] local.INFO: Processing buffer {"connection_id":45692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f77fe8012cefe940071399a80023006830..."} 
[2026-04-17 01:56:11] local.INFO: Packet analysis {"connection_id":45692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f7"} 
[2026-04-17 01:56:11] local.INFO: Extracted packet for processing {"connection_id":45692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f7"} 
[2026-04-17 01:56:11] local.INFO: GPS Element Parsed {"raw_longitude":753920320,"raw_latitude":118725032,"longitude_deg":75.392032,"latitude_deg":11.8725032,"altitude":35,"angle":104,"satellites":48,"speed":45,"hex_longitude":"2cefe940","hex_latitude":"071399a8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:56:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750989824001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:56:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:56:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1180154178208749568,"note":"Value kept but may cause issues"} 
[2026-04-17 01:56:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,153,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:56:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776371073000,"timestamp_ms":1776371073000,"timestamp_seconds":1776371073,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f77fe8"} 
[2026-04-17 01:56:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:56:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 01:56:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:56:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:56:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:56:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:56:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:56:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:56:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:56:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:56:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:56:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750989824001,"66":27887,"153":206,"2":54272,"24":45,"16":106618783551979520,"44":-1180154178208749568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,153,2,24,16,44]} 
[2026-04-17 01:56:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:56:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:56:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750989824001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:56:11] local.INFO: Unknown IO ID detected {"io_id":153,"value":206,"description":"Unknown IO ID 153"} 
[2026-04-17 01:56:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:56:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1180154178208749568,"description":"Unknown IO ID 44"} 
[2026-04-17 01:56:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750989824001,"power":27887,"unknown_153":206,"power_alt":54272,"ignition":45,"odometer":null,"unknown_44":-1180154178208749568}} 
[2026-04-17 01:56:11] local.INFO: DEBUG: GPS processor result {"connection_id":45692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18583,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:56:11] local.INFO: GPS data processed {"connection_id":45692,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:56:11] local.INFO: Acknowledgment sent {"connection_id":45692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:56:28] local.INFO: TCP Data received {"connection_id":46245,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f7c638012d56bf8006415170000900952b..."} 
[2026-04-17 01:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f7c638012d56bf8006415170000900952b..."} 
[2026-04-17 01:56:28] local.INFO: Processing buffer {"connection_id":46245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f7c638012d56bf8006415170000900952b..."} 
[2026-04-17 01:56:28] local.INFO: Packet analysis {"connection_id":46245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f7"} 
[2026-04-17 01:56:28] local.INFO: Extracted packet for processing {"connection_id":46245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f7"} 
[2026-04-17 01:56:28] local.INFO: GPS Element Parsed {"raw_longitude":760659840,"raw_latitude":104943984,"longitude_deg":76.065984,"latitude_deg":10.4943984,"altitude":9,"angle":149,"satellites":43,"speed":7,"hex_longitude":"2d56bf80","hex_latitude":"06415170","is_valid_coordinates":true} 
[2026-04-17 01:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750993920001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273542331028733952,"note":"Value kept but may cause issues"} 
[2026-04-17 01:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6247829716169064448,"note":"Value kept but may cause issues"} 
[2026-04-17 01:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776371091000,"timestamp_ms":1776371091000,"timestamp_seconds":1776371091,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f7c638"} 
[2026-04-17 01:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:56: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-04-17 01:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46245,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750993920001,"66":27397,"111":206,"78":38912,"24":7,"16":273542331028733952,"45":6247829716169064448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-04-17 01:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750993920001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:56:28] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-04-17 01:56:28] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273542331028733952,"km_value":273542331028733.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":6247829716169064448,"description":"Unknown IO ID 45"} 
[2026-04-17 01:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750993920001,"power":27397,"unknown_111":206,"unknown_78":38912,"ignition":7,"odometer":null,"unknown_45":6247829716169064448}} 
[2026-04-17 01:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":46245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:56:28] local.INFO: GPS data processed {"connection_id":46245,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:56:28] local.INFO: Acknowledgment sent {"connection_id":46245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:56:43] local.INFO: TCP Data received {"connection_id":45692,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f7c638012cf02d0007137868002200762f..."} 
[2026-04-17 01:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f7c638012cf02d0007137868002200762f..."} 
[2026-04-17 01:56:43] local.INFO: Processing buffer {"connection_id":45692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f7c638012cf02d0007137868002200762f..."} 
[2026-04-17 01:56:43] local.INFO: Packet analysis {"connection_id":45692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f7"} 
[2026-04-17 01:56:43] local.INFO: Extracted packet for processing {"connection_id":45692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f7"} 
[2026-04-17 01:56:43] local.INFO: GPS Element Parsed {"raw_longitude":753937664,"raw_latitude":118716520,"longitude_deg":75.3937664,"latitude_deg":11.871652,"altitude":34,"angle":118,"satellites":47,"speed":38,"hex_longitude":"2cf02d00","hex_latitude":"07137868","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750994688001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:56:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1159325029933406208,"note":"Value kept but may cause issues"} 
[2026-04-17 01:56:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776371091000,"timestamp_ms":1776371091000,"timestamp_seconds":1776371091,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f7c638"} 
[2026-04-17 01:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:56: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-04-17 01: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 01:56:43] 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-04-17 01:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750994688001,"66":27887,"64":206,"2":54272,"24":38,"16":106618783551979520,"44":-1159325029933406208},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-04-17 01:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750994688001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:56:43] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-17 01:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:56:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1159325029933406208,"description":"Unknown IO ID 44"} 
[2026-04-17 01:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750994688001,"power":27887,"unknown_64":206,"power_alt":54272,"ignition":38,"odometer":null,"unknown_44":-1159325029933406208}} 
[2026-04-17 01:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":45692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18585,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:56:43] local.INFO: GPS data processed {"connection_id":45692,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:56:43] local.INFO: Acknowledgment sent {"connection_id":45692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:56:52] local.INFO: TCP Data received {"connection_id":46246,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:56:52] local.INFO: Processing buffer {"connection_id":46246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:56:52] local.INFO: IMEI packet received {"connection_id":46246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":46246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:56:53] local.INFO: TCP Data received {"connection_id":46246,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:56:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:56:53] local.INFO: Processing buffer {"connection_id":46246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:56:53] local.INFO: IMEI packet received {"connection_id":46246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:56:53] local.INFO: IMEI acknowledgment sent {"connection_id":46246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:57:02] local.INFO: TCP Data received {"connection_id":46246,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:57:02] local.INFO: Processing buffer {"connection_id":46246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:57:02] local.INFO: IMEI packet received {"connection_id":46246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:57:02] local.INFO: IMEI acknowledgment sent {"connection_id":46246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:57:03] local.INFO: TCP Data received {"connection_id":46246,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f81070012d56d2c0064134280008009126..."} 
[2026-04-17 01:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f81070012d56d2c0064134280008009126..."} 
[2026-04-17 01:57:03] local.INFO: Processing buffer {"connection_id":46246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f81070012d56d2c0064134280008009126..."} 
[2026-04-17 01:57:03] local.INFO: Packet analysis {"connection_id":46246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f8"} 
[2026-04-17 01:57:03] local.INFO: Extracted packet for processing {"connection_id":46246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f8"} 
[2026-04-17 01:57:03] local.INFO: GPS Element Parsed {"raw_longitude":760664768,"raw_latitude":104936488,"longitude_deg":76.0664768,"latitude_deg":10.4936488,"altitude":8,"angle":145,"satellites":38,"speed":23,"hex_longitude":"2d56d2c0","hex_latitude":"06413428","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750999296001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273542760525463552,"note":"Value kept but may cause issues"} 
[2026-04-17 01:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6250855572167553024,"note":"Value kept but may cause issues"} 
[2026-04-17 01:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776371110000,"timestamp_ms":1776371110000,"timestamp_seconds":1776371110,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f81070"} 
[2026-04-17 01:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:57: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-04-17 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:57:03] 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-04-17 01:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750999296001,"66":27365,"111":206,"78":38912,"24":23,"16":273542760525463552,"45":6250855572167553024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-04-17 01:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750999296001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:57:03] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-04-17 01:57:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273542760525463552,"km_value":273542760525463.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6250855572167553024,"description":"Unknown IO ID 45"} 
[2026-04-17 01:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750999296001,"power":27365,"unknown_111":206,"unknown_78":38912,"ignition":23,"odometer":null,"unknown_45":6250855572167553024}} 
[2026-04-17 01:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":46246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:57:03] local.INFO: GPS data processed {"connection_id":46246,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:57:03] local.INFO: Acknowledgment sent {"connection_id":46246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:57:04] local.INFO: TCP Data received {"connection_id":46246,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f856c0012d56e880064118a80008008627..."} 
[2026-04-17 01:57:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f856c0012d56e880064118a80008008627..."} 
[2026-04-17 01:57:04] local.INFO: Processing buffer {"connection_id":46246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f856c0012d56e880064118a80008008627..."} 
[2026-04-17 01:57:04] local.INFO: Packet analysis {"connection_id":46246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f8"} 
[2026-04-17 01:57:04] local.INFO: Extracted packet for processing {"connection_id":46246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f8"} 
[2026-04-17 01:57:04] local.INFO: GPS Element Parsed {"raw_longitude":760670336,"raw_latitude":104929448,"longitude_deg":76.0670336,"latitude_deg":10.4929448,"altitude":8,"angle":134,"satellites":39,"speed":10,"hex_longitude":"2d56e880","hex_latitude":"064118a8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 01:57:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751004160001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:57:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273543194317160448,"note":"Value kept but may cause issues"} 
[2026-04-17 01:57:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6256273965467314176,"note":"Value kept but may cause issues"} 
[2026-04-17 01:57:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:57:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776371128000,"timestamp_ms":1776371128000,"timestamp_seconds":1776371128,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f856c0"} 
[2026-04-17 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-04-17 01:57:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 01:57: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-04-17 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-04-17 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-04-17 01:57:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:57:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:57:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:57:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:57:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:57:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:57:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:57:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751004160001,"66":27397,"111":206,"78":38912,"24":10,"16":273543194317160448,"45":6256273965467314176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-04-17 01:57:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:57:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:57:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751004160001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:57:04] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-04-17 01:57:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:57:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273543194317160448,"km_value":273543194317160.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:57:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6256273965467314176,"description":"Unknown IO ID 45"} 
[2026-04-17 01:57:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751004160001,"power":27397,"unknown_111":206,"unknown_78":38912,"ignition":10,"odometer":null,"unknown_45":6256273965467314176}} 
[2026-04-17 01:57:04] local.INFO: DEBUG: GPS processor result {"connection_id":46246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:57:04] local.INFO: GPS data processed {"connection_id":46246,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:57:04] local.INFO: Acknowledgment sent {"connection_id":46246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:57:06] local.INFO: TCP Data received {"connection_id":45502,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:57:06] local.INFO: Processing buffer {"connection_id":45502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:57:06] local.INFO: IMEI packet received {"connection_id":45502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":45502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:57:09] local.INFO: TCP Data received {"connection_id":45502,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:57:09] local.INFO: Processing buffer {"connection_id":45502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:57:09] local.INFO: IMEI packet received {"connection_id":45502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":45502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:57:10] local.INFO: TCP Data received {"connection_id":45502,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:57:10] local.INFO: Processing buffer {"connection_id":45502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:57:10] local.INFO: IMEI packet received {"connection_id":45502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":45502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:57:11] local.INFO: TCP Data received {"connection_id":45502,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45502,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:57:11] local.INFO: Processing buffer {"connection_id":45502,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:57:11] local.INFO: IMEI packet received {"connection_id":45502,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":45502,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:57:12] local.INFO: TCP Data received {"connection_id":45502,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f81458012cf06dc007136a900025004f32..."} 
[2026-04-17 01:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f81458012cf06dc007136a900025004f32..."} 
[2026-04-17 01:57:12] local.INFO: Processing buffer {"connection_id":45502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f81458012cf06dc007136a900025004f32..."} 
[2026-04-17 01:57:12] local.INFO: Packet analysis {"connection_id":45502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f8"} 
[2026-04-17 01:57:12] local.INFO: Extracted packet for processing {"connection_id":45502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f8"} 
[2026-04-17 01:57:12] local.INFO: GPS Element Parsed {"raw_longitude":753954240,"raw_latitude":118712976,"longitude_deg":75.395424,"latitude_deg":11.8712976,"altitude":37,"angle":79,"satellites":50,"speed":32,"hex_longitude":"2cf06dc0","hex_latitude":"07136a90","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454750999296001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:57:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1140255100263438336,"note":"Value kept but may cause issues"} 
[2026-04-17 01:57:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776371111000,"timestamp_ms":1776371111000,"timestamp_seconds":1776371111,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f81458"} 
[2026-04-17 01:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:57: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-04-17 01: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 01:57:12] 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-04-17 01: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-04-17 01:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454750999296001,"66":27789,"64":206,"2":54272,"24":32,"16":106618783551979520,"44":-1140255100263438336},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-04-17 01:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454750999296001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:57:12] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-17 01:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:57:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1140255100263438336,"description":"Unknown IO ID 44"} 
[2026-04-17 01:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454750999296001,"power":27789,"unknown_64":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-1140255100263438336}} 
[2026-04-17 01:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":45502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18588,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:57:12] local.INFO: GPS data processed {"connection_id":45502,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:57:12] local.INFO: Acknowledgment sent {"connection_id":45502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:57:17] local.INFO: TCP Data received {"connection_id":45502,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f86660012cf0a440071379180026004e32..."} 
[2026-04-17 01:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f86660012cf0a440071379180026004e32..."} 
[2026-04-17 01:57:17] local.INFO: Processing buffer {"connection_id":45502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f86660012cf0a440071379180026004e32..."} 
[2026-04-17 01:57:17] local.INFO: Packet analysis {"connection_id":45502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f8"} 
[2026-04-17 01:57:17] local.INFO: Extracted packet for processing {"connection_id":45502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f8"} 
[2026-04-17 01:57:17] local.INFO: GPS Element Parsed {"raw_longitude":753968192,"raw_latitude":118716696,"longitude_deg":75.3968192,"latitude_deg":11.8716696,"altitude":38,"angle":78,"satellites":50,"speed":11,"hex_longitude":"2cf0a440","hex_latitude":"07137918","is_valid_coordinates":true} 
[2026-04-17 01:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751004416001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:57:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1122029595522330624,"note":"Value kept but may cause issues"} 
[2026-04-17 01:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776371132000,"timestamp_ms":1776371132000,"timestamp_seconds":1776371132,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f86660"} 
[2026-04-17 01:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:57:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-17 01:57:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751004416001,"66":28050,"64":206,"2":54272,"24":11,"16":106618783551979520,"44":-1122029595522330624},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,2,24,16,44]} 
[2026-04-17 01:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751004416001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:57:17] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-17 01:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:57:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1122029595522330624,"description":"Unknown IO ID 44"} 
[2026-04-17 01:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751004416001,"power":28050,"unknown_64":206,"power_alt":54272,"ignition":11,"odometer":null,"unknown_44":-1122029595522330624}} 
[2026-04-17 01:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":45502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18589,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:57:17] local.INFO: GPS data processed {"connection_id":45502,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:57:17] local.INFO: Acknowledgment sent {"connection_id":45502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:57:34] local.INFO: TCP Data received {"connection_id":46246,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f856c0012d56e880064118a80008008627..."} 
[2026-04-17 01:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f856c0012d56e880064118a80008008627..."} 
[2026-04-17 01:57:34] local.INFO: Processing buffer {"connection_id":46246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f856c0012d56e880064118a80008008627..."} 
[2026-04-17 01:57:34] local.INFO: Packet analysis {"connection_id":46246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f8"} 
[2026-04-17 01:57:34] local.INFO: Extracted packet for processing {"connection_id":46246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f8"} 
[2026-04-17 01:57:34] local.INFO: GPS Element Parsed {"raw_longitude":760670336,"raw_latitude":104929448,"longitude_deg":76.0670336,"latitude_deg":10.4929448,"altitude":8,"angle":134,"satellites":39,"speed":10,"hex_longitude":"2d56e880","hex_latitude":"064118a8","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751008768001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273543194317160448,"note":"Value kept but may cause issues"} 
[2026-04-17 01:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6262396046208968704,"note":"Value kept but may cause issues"} 
[2026-04-17 01:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776371128000,"timestamp_ms":1776371128000,"timestamp_seconds":1776371128,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f856c0"} 
[2026-04-17 01:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:57: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-04-17 01: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:57:34] 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-04-17 01: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-04-17 01:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":46246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":46246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":46246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751008768001,"66":27397,"111":206,"78":38912,"24":10,"16":273543194317160448,"45":6262396046208968704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-04-17 01:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751008768001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:57:34] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-04-17 01:57:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273543194317160448,"km_value":273543194317160.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6262396046208968704,"description":"Unknown IO ID 45"} 
[2026-04-17 01:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751008768001,"power":27397,"unknown_111":206,"unknown_78":38912,"ignition":10,"odometer":null,"unknown_45":6262396046208968704}} 
[2026-04-17 01:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":46246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:57:34] local.INFO: GPS data processed {"connection_id":46246,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:57:34] local.INFO: Acknowledgment sent {"connection_id":46246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:57:48] local.INFO: TCP Data received {"connection_id":45502,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f8b868012cf0a440071379180026004e32..."} 
[2026-04-17 01:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f8b868012cf0a440071379180026004e32..."} 
[2026-04-17 01:57:48] local.INFO: Processing buffer {"connection_id":45502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f8b868012cf0a440071379180026004e32..."} 
[2026-04-17 01:57:48] local.INFO: Packet analysis {"connection_id":45502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f8"} 
[2026-04-17 01:57:48] local.INFO: Extracted packet for processing {"connection_id":45502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f8"} 
[2026-04-17 01:57:48] local.INFO: GPS Element Parsed {"raw_longitude":753968192,"raw_latitude":118716696,"longitude_deg":75.3968192,"latitude_deg":11.8716696,"altitude":38,"angle":78,"satellites":50,"speed":0,"hex_longitude":"2cf0a440","hex_latitude":"07137918","is_valid_coordinates":true} 
[2026-04-17 01:57: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-04-17 01:57:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751009792001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:57:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:57:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1106689209290647552,"note":"Value kept but may cause issues"} 
[2026-04-17 01:57:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:57:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776371153000,"timestamp_ms":1776371153000,"timestamp_seconds":1776371153,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f8b868"} 
[2026-04-17 01:57:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:57:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01:57: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-04-17 01:57: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-04-17 01:57: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-04-17 01:57:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:57:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:57:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:57:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:57:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45502,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:57:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:57:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:57:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:57:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751009792001,"66":27821,"63":206,"2":54272,"24":0,"16":106618783551979520,"44":-1106689209290647552},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,44]} 
[2026-04-17 01:57:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:57:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:57:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751009792001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:57:48] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-04-17 01:57:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:57:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1106689209290647552,"description":"Unknown IO ID 44"} 
[2026-04-17 01:57:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751009792001,"power":27821,"unknown_63":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1106689209290647552}} 
[2026-04-17 01:57:48] local.INFO: DEBUG: GPS processor result {"connection_id":45502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18591,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:57:48] local.INFO: GPS data processed {"connection_id":45502,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:57:48] local.INFO: Acknowledgment sent {"connection_id":45502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:58:02] local.INFO: TCP Data received {"connection_id":45503,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:58:02] local.INFO: Processing buffer {"connection_id":45503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:58:02] local.INFO: IMEI packet received {"connection_id":45503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":45503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:58:04] local.INFO: TCP Data received {"connection_id":45503,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:58:04] local.INFO: Processing buffer {"connection_id":45503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:58:04] local.INFO: IMEI packet received {"connection_id":45503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:58:04] local.INFO: IMEI acknowledgment sent {"connection_id":45503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:58:05] local.INFO: TCP Data received {"connection_id":45503,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f8a8c8012d56f70006410a000009008c2d..."} 
[2026-04-17 01:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f8a8c8012d56f70006410a000009008c2d..."} 
[2026-04-17 01:58:05] local.INFO: Processing buffer {"connection_id":45503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f8a8c8012d56f70006410a000009008c2d..."} 
[2026-04-17 01:58:05] local.INFO: Packet analysis {"connection_id":45503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f8"} 
[2026-04-17 01:58:05] local.INFO: Extracted packet for processing {"connection_id":45503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f8"} 
[2026-04-17 01:58:05] local.INFO: GPS Element Parsed {"raw_longitude":760674048,"raw_latitude":104925696,"longitude_deg":76.0674048,"latitude_deg":10.4925696,"altitude":9,"angle":140,"satellites":45,"speed":4,"hex_longitude":"2d56f700","hex_latitude":"06410a00","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751008768001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273543452015198208,"note":"Value kept but may cause issues"} 
[2026-04-17 01:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6262396046208968704,"note":"Value kept but may cause issues"} 
[2026-04-17 01:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776371149000,"timestamp_ms":1776371149000,"timestamp_seconds":1776371149,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f8a8c8"} 
[2026-04-17 01:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:58: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-04-17 01: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":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":45503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":45503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":45503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751008768001,"66":27517,"111":206,"78":38912,"24":4,"16":273543452015198208,"45":6262396046208968704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-04-17 01:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751008768001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:58:05] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-04-17 01:58:05] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273543452015198208,"km_value":273543452015198.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":6262396046208968704,"description":"Unknown IO ID 45"} 
[2026-04-17 01:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751008768001,"power":27517,"unknown_111":206,"unknown_78":38912,"ignition":4,"odometer":null,"unknown_45":6262396046208968704}} 
[2026-04-17 01:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":45503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:58:05] local.INFO: GPS data processed {"connection_id":45503,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:58:05] local.INFO: Acknowledgment sent {"connection_id":45503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:58:07] local.INFO: TCP Data received {"connection_id":45503,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f8c038012d56f8c0064107600009009a2b..."} 
[2026-04-17 01:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f8c038012d56f8c0064107600009009a2b..."} 
[2026-04-17 01:58:07] local.INFO: Processing buffer {"connection_id":45503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f8c038012d56f8c0064107600009009a2b..."} 
[2026-04-17 01:58:07] local.INFO: Packet analysis {"connection_id":45503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f8"} 
[2026-04-17 01:58:07] local.INFO: Extracted packet for processing {"connection_id":45503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f8"} 
[2026-04-17 01:58:07] local.INFO: GPS Element Parsed {"raw_longitude":760674496,"raw_latitude":104925024,"longitude_deg":76.0674496,"latitude_deg":10.4925024,"altitude":9,"angle":154,"satellites":43,"speed":5,"hex_longitude":"2d56f8c0","hex_latitude":"06410760","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751014144001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273543490669903872,"note":"Value kept but may cause issues"} 
[2026-04-17 01:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6266477433370312704,"note":"Value kept but may cause issues"} 
[2026-04-17 01:58:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,111,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776371155000,"timestamp_ms":1776371155000,"timestamp_seconds":1776371155,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f8c038"} 
[2026-04-17 01:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 01:58: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-04-17 01: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-04-17 01:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:58:07] 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-04-17 01:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751014144001,"66":27365,"111":206,"78":38912,"24":5,"16":273543490669903872,"45":6266477433370312704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,111,78,24,16,45]} 
[2026-04-17 01:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751014144001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:58:07] local.INFO: Unknown IO ID detected {"io_id":111,"value":206,"description":"Unknown IO ID 111"} 
[2026-04-17 01:58:07] local.INFO: Unknown IO ID detected {"io_id":78,"value":38912,"description":"Unknown IO ID 78"} 
[2026-04-17 01:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273543490669903872,"km_value":273543490669903.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":6266477433370312704,"description":"Unknown IO ID 45"} 
[2026-04-17 01:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751014144001,"power":27365,"unknown_111":206,"unknown_78":38912,"ignition":5,"odometer":null,"unknown_45":6266477433370312704}} 
[2026-04-17 01:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":45503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:58:07] local.INFO: GPS data processed {"connection_id":45503,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:58:07] local.INFO: Acknowledgment sent {"connection_id":45503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:58:09] local.INFO: TCP Data received {"connection_id":46247,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:58:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:58:09] local.INFO: Processing buffer {"connection_id":46247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:58:09] local.INFO: IMEI packet received {"connection_id":46247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:58:09] local.INFO: IMEI acknowledgment sent {"connection_id":46247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:58:11] local.INFO: TCP Data received {"connection_id":46247,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:58:11] local.INFO: Processing buffer {"connection_id":46247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:58:11] local.INFO: IMEI packet received {"connection_id":46247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":46247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:58:16] local.INFO: TCP Data received {"connection_id":46247,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:58:16] local.INFO: Processing buffer {"connection_id":46247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:58:16] local.INFO: IMEI packet received {"connection_id":46247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:58:16] local.INFO: IMEI acknowledgment sent {"connection_id":46247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:58:17] local.INFO: TCP Data received {"connection_id":46247,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f8fad0012cf0d6c007137a00002c005d34..."} 
[2026-04-17 01:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f8fad0012cf0d6c007137a00002c005d34..."} 
[2026-04-17 01:58:17] local.INFO: Processing buffer {"connection_id":46247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f8fad0012cf0d6c007137a00002c005d34..."} 
[2026-04-17 01:58:17] local.INFO: Packet analysis {"connection_id":46247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f8"} 
[2026-04-17 01:58:17] local.INFO: Extracted packet for processing {"connection_id":46247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f8"} 
[2026-04-17 01:58:17] local.INFO: GPS Element Parsed {"raw_longitude":753981120,"raw_latitude":118716928,"longitude_deg":75.398112,"latitude_deg":11.8716928,"altitude":44,"angle":93,"satellites":52,"speed":23,"hex_longitude":"2cf0d6c0","hex_latitude":"07137a00","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751015168001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:58:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1106689209290647552,"note":"Value kept but may cause issues"} 
[2026-04-17 01:58:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776371170000,"timestamp_ms":1776371170000,"timestamp_seconds":1776371170,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f8fad0"} 
[2026-04-17 01:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:58:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 01:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46247,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46247,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751015168001,"66":28028,"63":206,"2":54272,"24":23,"16":106618783551979520,"44":-1106689209290647552},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,44]} 
[2026-04-17 01:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751015168001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:58:17] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-04-17 01:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:58:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1106689209290647552,"description":"Unknown IO ID 44"} 
[2026-04-17 01:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751015168001,"power":28028,"unknown_63":206,"power_alt":54272,"ignition":23,"odometer":null,"unknown_44":-1106689209290647552}} 
[2026-04-17 01:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":46247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18594,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:58:17] local.INFO: GPS data processed {"connection_id":46247,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:58:17] local.INFO: Acknowledgment sent {"connection_id":46247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:58:49] local.INFO: TCP Data received {"connection_id":46247,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f94cd8012cf11a0007137120001c00732e..."} 
[2026-04-17 01:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f94cd8012cf11a0007137120001c00732e..."} 
[2026-04-17 01:58:49] local.INFO: Processing buffer {"connection_id":46247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f94cd8012cf11a0007137120001c00732e..."} 
[2026-04-17 01:58:49] local.INFO: Packet analysis {"connection_id":46247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f9"} 
[2026-04-17 01:58:49] local.INFO: Extracted packet for processing {"connection_id":46247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f9"} 
[2026-04-17 01:58:49] local.INFO: GPS Element Parsed {"raw_longitude":753998336,"raw_latitude":118714656,"longitude_deg":75.3998336,"latitude_deg":11.8714656,"altitude":28,"angle":115,"satellites":46,"speed":41,"hex_longitude":"2cf11a00","hex_latitude":"07137120","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:58:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751019520001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:58:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:58:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1092474722966700032,"note":"Value kept but may cause issues"} 
[2026-04-17 01:58:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:58:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776371191000,"timestamp_ms":1776371191000,"timestamp_seconds":1776371191,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f94cd8"} 
[2026-04-17 01:58:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:58:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 01: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 01:58:49] 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-04-17 01: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-04-17 01:58:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:58:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:58:49] local.INFO: Teltonika packet parsed successfully {"connection_id":46247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:58:49] local.INFO: Passing IMEI to GPS processor {"connection_id":46247,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:58:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":46247,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:58:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:58:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:58:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:58:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751019520001,"66":27887,"98":206,"2":54272,"24":41,"16":106618783551979520,"44":-1092474722966700032},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-17 01:58:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:58:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:58:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751019520001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:58:49] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-17 01:58:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:58:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1092474722966700032,"description":"Unknown IO ID 44"} 
[2026-04-17 01:58:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751019520001,"power":27887,"unknown_98":206,"power_alt":54272,"ignition":41,"odometer":null,"unknown_44":-1092474722966700032}} 
[2026-04-17 01:58:49] local.INFO: DEBUG: GPS processor result {"connection_id":46247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18595,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:58:49] local.INFO: GPS data processed {"connection_id":46247,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:58:49] local.INFO: Acknowledgment sent {"connection_id":46247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:58:51] local.INFO: TCP Data received {"connection_id":46248,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:58:51] local.INFO: Processing buffer {"connection_id":46248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:58:51] local.INFO: IMEI packet received {"connection_id":46248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":46248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:58:52] local.INFO: TCP Data received {"connection_id":46248,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:58:52] local.INFO: Processing buffer {"connection_id":46248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:58:52] local.INFO: IMEI packet received {"connection_id":46248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":46248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:58:57] local.INFO: TCP Data received {"connection_id":46248,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46248,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:58:57] local.INFO: Processing buffer {"connection_id":46248,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:58:57] local.INFO: IMEI packet received {"connection_id":46248,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":46248,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:58:58] local.INFO: TCP Data received {"connection_id":46248,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fa75b8012d57c3c0063fb0880009008f2d..."} 
[2026-04-17 01:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fa75b8012d57c3c0063fb0880009008f2d..."} 
[2026-04-17 01:58:58] local.INFO: Processing buffer {"connection_id":46248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fa75b8012d57c3c0063fb0880009008f2d..."} 
[2026-04-17 01:58:58] local.INFO: Packet analysis {"connection_id":46248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fa"} 
[2026-04-17 01:58:58] local.INFO: Extracted packet for processing {"connection_id":46248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fa"} 
[2026-04-17 01:58:58] local.INFO: GPS Element Parsed {"raw_longitude":760726464,"raw_latitude":104837256,"longitude_deg":76.0726464,"latitude_deg":10.4837256,"altitude":9,"angle":143,"satellites":45,"speed":38,"hex_longitude":"2d57c3c0","hex_latitude":"063fb088","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751041792001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273548434177261568,"note":"Value kept but may cause issues"} 
[2026-04-17 01:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6318902147762120704,"note":"Value kept but may cause issues"} 
[2026-04-17 01:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776371267000,"timestamp_ms":1776371267000,"timestamp_seconds":1776371267,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fa75b8"} 
[2026-04-17 01:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:58: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-04-17 01: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-17 01:58:58] 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-04-17 01: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-04-17 01:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751041792001,"66":27397,"29":206,"78":38656,"24":38,"16":273548434177261568,"45":6318902147762120704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,78,24,16,45]} 
[2026-04-17 01:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751041792001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:58:58] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-17 01:58:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 01:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273548434177261568,"km_value":273548434177261.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6318902147762120704,"description":"Unknown IO ID 45"} 
[2026-04-17 01:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751041792001,"power":27397,"unknown_29":206,"unknown_78":38656,"ignition":38,"odometer":null,"unknown_45":6318902147762120704}} 
[2026-04-17 01:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":46248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:58:58] local.INFO: GPS data processed {"connection_id":46248,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:58:58] local.INFO: Acknowledgment sent {"connection_id":46248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:59:06] local.INFO: TCP Data received {"connection_id":45428,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:59:06] local.INFO: Processing buffer {"connection_id":45428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:59:06] local.INFO: IMEI packet received {"connection_id":45428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 01:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":45428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:59:11] local.INFO: TCP Data received {"connection_id":45428,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:59:11] local.INFO: Processing buffer {"connection_id":45428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 01:59:11] local.INFO: IMEI packet received {"connection_id":45428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 01:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":45428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:59:12] local.INFO: TCP Data received {"connection_id":45428,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f94cd8012cf11a0007137120001c00732e..."} 
[2026-04-17 01:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f94cd8012cf11a0007137120001c00732e..."} 
[2026-04-17 01:59:12] local.INFO: Processing buffer {"connection_id":45428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f94cd8012cf11a0007137120001c00732e..."} 
[2026-04-17 01:59:12] local.INFO: Packet analysis {"connection_id":45428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f9"} 
[2026-04-17 01:59:12] local.INFO: Extracted packet for processing {"connection_id":45428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f9"} 
[2026-04-17 01:59:12] local.INFO: GPS Element Parsed {"raw_longitude":753998336,"raw_latitude":118714656,"longitude_deg":75.3998336,"latitude_deg":11.8714656,"altitude":28,"angle":115,"satellites":46,"speed":41,"hex_longitude":"2cf11a00","hex_latitude":"07137120","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751024896001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:59:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1073545530783490048,"note":"Value kept but may cause issues"} 
[2026-04-17 01:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776371191000,"timestamp_ms":1776371191000,"timestamp_seconds":1776371191,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f94cd8"} 
[2026-04-17 01:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:59: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-04-17 01: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 01:59:12] 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-04-17 01: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-04-17 01:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751024896001,"66":27887,"98":206,"2":54272,"24":41,"16":106618783551979520,"44":-1073545530783490048},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-17 01:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751024896001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:59:12] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-17 01:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:59:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1073545530783490048,"description":"Unknown IO ID 44"} 
[2026-04-17 01:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751024896001,"power":27887,"unknown_98":206,"power_alt":54272,"ignition":41,"odometer":null,"unknown_44":-1073545530783490048}} 
[2026-04-17 01:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":45428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18597,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:59:12] local.INFO: GPS data processed {"connection_id":45428,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:59:12] local.INFO: Acknowledgment sent {"connection_id":45428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:59:29] local.INFO: TCP Data received {"connection_id":46248,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fa75b8012d57c3c0063fb0880009008f2d..."} 
[2026-04-17 01:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fa75b8012d57c3c0063fb0880009008f2d..."} 
[2026-04-17 01:59:29] local.INFO: Processing buffer {"connection_id":46248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fa75b8012d57c3c0063fb0880009008f2d..."} 
[2026-04-17 01:59:29] local.INFO: Packet analysis {"connection_id":46248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fa"} 
[2026-04-17 01:59:29] local.INFO: Extracted packet for processing {"connection_id":46248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fa"} 
[2026-04-17 01:59:29] local.INFO: GPS Element Parsed {"raw_longitude":760726464,"raw_latitude":104837256,"longitude_deg":76.0726464,"latitude_deg":10.4837256,"altitude":9,"angle":143,"satellites":45,"speed":38,"hex_longitude":"2d57c3c0","hex_latitude":"063fb088","is_valid_coordinates":true} 
[2026-04-17 01: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-04-17 01:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751044352001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273548434177261568,"note":"Value kept but may cause issues"} 
[2026-04-17 01:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6324109434829178880,"note":"Value kept but may cause issues"} 
[2026-04-17 01:59:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776371267000,"timestamp_ms":1776371267000,"timestamp_seconds":1776371267,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fa75b8"} 
[2026-04-17 01:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:59: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-04-17 01: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":5,"data_length":795,"current_offset":136} 
[2026-04-17 01:59:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 01: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-04-17 01:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46248,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 01:59: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-04-17 01:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 01:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 01:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751044352001,"66":27397,"29":206,"78":38656,"24":38,"16":273548434177261568,"45":6324109434829178880},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,78,24,16,45]} 
[2026-04-17 01:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 01:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 01:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751044352001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:59:29] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-17 01:59:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 01:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273548434177261568,"km_value":273548434177261.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6324109434829178880,"description":"Unknown IO ID 45"} 
[2026-04-17 01:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751044352001,"power":27397,"unknown_29":206,"unknown_78":38656,"ignition":38,"odometer":null,"unknown_45":6324109434829178880}} 
[2026-04-17 01:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":46248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:59:29] local.INFO: GPS data processed {"connection_id":46248,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:59:29] local.INFO: Acknowledgment sent {"connection_id":46248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:59:46] local.INFO: TCP Data received {"connection_id":45428,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f99328012cf1584007134d28001200832e..."} 
[2026-04-17 01:59:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f99328012cf1584007134d28001200832e..."} 
[2026-04-17 01:59:46] local.INFO: Processing buffer {"connection_id":45428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f99328012cf1584007134d28001200832e..."} 
[2026-04-17 01:59:46] local.INFO: Packet analysis {"connection_id":45428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f9"} 
[2026-04-17 01:59:46] local.INFO: Extracted packet for processing {"connection_id":45428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f9"} 
[2026-04-17 01:59:46] local.INFO: GPS Element Parsed {"raw_longitude":754014272,"raw_latitude":118705448,"longitude_deg":75.4014272,"latitude_deg":11.8705448,"altitude":18,"angle":131,"satellites":46,"speed":41,"hex_longitude":"2cf15840","hex_latitude":"07134d28","is_valid_coordinates":true} 
[2026-04-17 01:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 01:59:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751024896001,"note":"Value kept but may cause issues"} 
[2026-04-17 01:59:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 01:59:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1073545530783490048,"note":"Value kept but may cause issues"} 
[2026-04-17 01:59:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,98,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 01:59:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776371209000,"timestamp_ms":1776371209000,"timestamp_seconds":1776371209,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f99328"} 
[2026-04-17 01:59:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 01:59:46] 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-04-17 01:59:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 01:59:46] 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-04-17 01:59:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 01:59:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 01:59:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 01:59:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 01:59:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:59:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 01:59:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 01:59:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 01:59:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 01:59:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751024896001,"66":27876,"98":206,"2":54272,"24":41,"16":106618783551979520,"44":-1073545530783490048},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,98,2,24,16,44]} 
[2026-04-17 01:59:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 01:59:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 01:59:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751024896001,"description":"Unknown IO ID 0"} 
[2026-04-17 01:59:46] local.INFO: Unknown IO ID detected {"io_id":98,"value":206,"description":"Unknown IO ID 98"} 
[2026-04-17 01:59:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 01:59:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1073545530783490048,"description":"Unknown IO ID 44"} 
[2026-04-17 01:59:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751024896001,"power":27876,"unknown_98":206,"power_alt":54272,"ignition":41,"odometer":null,"unknown_44":-1073545530783490048}} 
[2026-04-17 01:59:46] local.INFO: DEBUG: GPS processor result {"connection_id":45428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18599,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 01:59:46] local.INFO: GPS data processed {"connection_id":45428,"processed":1,"errors":0,"total":1} 
[2026-04-17 01:59:46] local.INFO: Acknowledgment sent {"connection_id":45428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 01:59:50] local.INFO: TCP Data received {"connection_id":46249,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:59:50] local.INFO: Processing buffer {"connection_id":46249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:59:50] local.INFO: IMEI packet received {"connection_id":46249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 01:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":46249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 01:59:54] local.INFO: TCP Data received {"connection_id":46249,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:59:54] local.INFO: Processing buffer {"connection_id":46249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:59:54] local.INFO: IMEI packet received {"connection_id":46249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":46249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 01:59:57] local.INFO: TCP Data received {"connection_id":46249,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:59:57] local.INFO: Processing buffer {"connection_id":46249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 01:59:57] local.INFO: IMEI packet received {"connection_id":46249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 01:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":46249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:00:00] local.INFO: TCP Data received {"connection_id":46249,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fa98e0012d57d980063f92c0000900902f..."} 
[2026-04-17 02:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fa98e0012d57d980063f92c0000900902f..."} 
[2026-04-17 02:00:00] local.INFO: Processing buffer {"connection_id":46249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fa98e0012d57d980063f92c0000900902f..."} 
[2026-04-17 02:00:00] local.INFO: Packet analysis {"connection_id":46249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fa"} 
[2026-04-17 02:00:00] local.INFO: Extracted packet for processing {"connection_id":46249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fa"} 
[2026-04-17 02:00:00] local.INFO: GPS Element Parsed {"raw_longitude":760732032,"raw_latitude":104829632,"longitude_deg":76.0732032,"latitude_deg":10.4829632,"altitude":9,"angle":144,"satellites":47,"speed":43,"hex_longitude":"2d57d980","hex_latitude":"063f92c0","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751044352001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273548889443794944,"note":"Value kept but may cause issues"} 
[2026-04-17 02:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6324109434829178880,"note":"Value kept but may cause issues"} 
[2026-04-17 02:00:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776371276000,"timestamp_ms":1776371276000,"timestamp_seconds":1776371276,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fa98e0"} 
[2026-04-17 02:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 02:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:00: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-04-17 02:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751044352001,"66":27463,"29":206,"78":38656,"24":43,"16":273548889443794944,"45":6324109434829178880},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,78,24,16,45]} 
[2026-04-17 02:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751044352001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:00:00] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-17 02:00:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273548889443794944,"km_value":273548889443794.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6324109434829178880,"description":"Unknown IO ID 45"} 
[2026-04-17 02:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751044352001,"power":27463,"unknown_29":206,"unknown_78":38656,"ignition":43,"odometer":null,"unknown_45":6324109434829178880}} 
[2026-04-17 02:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":46249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:00:00] local.INFO: GPS data processed {"connection_id":46249,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:00:00] local.INFO: Acknowledgment sent {"connection_id":46249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:00:01] local.INFO: TCP Data received {"connection_id":46249,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fab820012d57ef00063f76380009008e30..."} 
[2026-04-17 02:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fab820012d57ef00063f76380009008e30..."} 
[2026-04-17 02:00:01] local.INFO: Processing buffer {"connection_id":46249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fab820012d57ef00063f76380009008e30..."} 
[2026-04-17 02:00:01] local.INFO: Packet analysis {"connection_id":46249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fa"} 
[2026-04-17 02:00:01] local.INFO: Extracted packet for processing {"connection_id":46249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fa"} 
[2026-04-17 02:00:01] local.INFO: GPS Element Parsed {"raw_longitude":760737536,"raw_latitude":104822328,"longitude_deg":76.0737536,"latitude_deg":10.4822328,"altitude":9,"angle":142,"satellites":48,"speed":44,"hex_longitude":"2d57ef00","hex_latitude":"063f7638","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751046656001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273549327530459136,"note":"Value kept but may cause issues"} 
[2026-04-17 02:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6330231515570683904,"note":"Value kept but may cause issues"} 
[2026-04-17 02:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776371284000,"timestamp_ms":1776371284000,"timestamp_seconds":1776371284,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fab820"} 
[2026-04-17 02:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 02:00: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-04-17 02: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-04-17 02:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:00: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-04-17 02:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751046656001,"66":27397,"29":206,"78":38656,"24":44,"16":273549327530459136,"45":6330231515570683904},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,78,24,16,45]} 
[2026-04-17 02:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751046656001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:00:01] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-17 02:00:01] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273549327530459136,"km_value":273549327530459.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":6330231515570683904,"description":"Unknown IO ID 45"} 
[2026-04-17 02:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751046656001,"power":27397,"unknown_29":206,"unknown_78":38656,"ignition":44,"odometer":null,"unknown_45":6330231515570683904}} 
[2026-04-17 02:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":46249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:00:01] local.INFO: GPS data processed {"connection_id":46249,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:00:01] local.INFO: Acknowledgment sent {"connection_id":46249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:00:06] local.INFO: TCP Data received {"connection_id":45429,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:00:06] local.INFO: Processing buffer {"connection_id":45429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:00:06] local.INFO: IMEI packet received {"connection_id":45429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":45429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:00:11] local.INFO: TCP Data received {"connection_id":45429,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45429,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:00:11] local.INFO: Processing buffer {"connection_id":45429,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:00:11] local.INFO: IMEI packet received {"connection_id":45429,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":45429,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:00:14] local.INFO: TCP Data received {"connection_id":45429,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97f9e530012cf1928007131980000e00842f..."} 
[2026-04-17 02:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97f9e530012cf1928007131980000e00842f..."} 
[2026-04-17 02:00:14] local.INFO: Processing buffer {"connection_id":45429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97f9e530012cf1928007131980000e00842f..."} 
[2026-04-17 02:00:14] local.INFO: Packet analysis {"connection_id":45429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97f9"} 
[2026-04-17 02:00:14] local.INFO: Extracted packet for processing {"connection_id":45429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97f9"} 
[2026-04-17 02:00:14] local.INFO: GPS Element Parsed {"raw_longitude":754029184,"raw_latitude":118692224,"longitude_deg":75.4029184,"latitude_deg":11.8692224,"altitude":14,"angle":132,"satellites":47,"speed":0,"hex_longitude":"2cf19280","hex_latitude":"07131980","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:00:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751029504001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:00:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:00:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1056023713485608960,"note":"Value kept but may cause issues"} 
[2026-04-17 02:00:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:00:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776371230000,"timestamp_ms":1776371230000,"timestamp_seconds":1776371230,"priority":1,"record_length":96,"hex_timestamp":"0000019d97f9e530"} 
[2026-04-17 02:00:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:00:14] 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-04-17 02:00:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 02:00:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:00:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:00:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:00:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:00:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:00:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:00:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:00:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:00:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:00:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751029504001,"66":28006,"97":206,"2":54272,"24":0,"16":106618783551979520,"44":-1056023713485608960},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,2,24,16,44]} 
[2026-04-17 02:00:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:00:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:00:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751029504001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:00:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-17 02:00:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:00:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1056023713485608960,"description":"Unknown IO ID 44"} 
[2026-04-17 02:00:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751029504001,"power":28006,"unknown_97":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1056023713485608960}} 
[2026-04-17 02:00:14] local.INFO: DEBUG: GPS processor result {"connection_id":45429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18602,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:00:14] local.INFO: GPS data processed {"connection_id":45429,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:00:14] local.INFO: Acknowledgment sent {"connection_id":45429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:00:32] local.INFO: TCP Data received {"connection_id":46249,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fc3ad8012d58cb00063dfb10000b00822f..."} 
[2026-04-17 02:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fc3ad8012d58cb00063dfb10000b00822f..."} 
[2026-04-17 02:00:32] local.INFO: Processing buffer {"connection_id":46249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fc3ad8012d58cb00063dfb10000b00822f..."} 
[2026-04-17 02:00:32] local.INFO: Packet analysis {"connection_id":46249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fc"} 
[2026-04-17 02:00:32] local.INFO: Extracted packet for processing {"connection_id":46249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fc"} 
[2026-04-17 02:00:32] local.INFO: GPS Element Parsed {"raw_longitude":760793856,"raw_latitude":104725264,"longitude_deg":76.0793856,"latitude_deg":10.4725264,"altitude":11,"angle":130,"satellites":47,"speed":39,"hex_longitude":"2d58cb00","hex_latitude":"063dfb10","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751072000001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273554769254023168,"note":"Value kept but may cause issues"} 
[2026-04-17 02:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6391874535445196800,"note":"Value kept but may cause issues"} 
[2026-04-17 02:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776371383000,"timestamp_ms":1776371383000,"timestamp_seconds":1776371383,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fc3ad8"} 
[2026-04-17 02:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 02:00: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-04-17 02: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-04-17 02:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751072000001,"66":27343,"197":206,"78":38656,"24":39,"16":273554769254023168,"45":6391874535445196800},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,78,24,16,45]} 
[2026-04-17 02:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751072000001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:00:32] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 02:00:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273554769254023168,"km_value":273554769254023.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6391874535445196800,"description":"Unknown IO ID 45"} 
[2026-04-17 02:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751072000001,"power":27343,"unknown_197":206,"unknown_78":38656,"ignition":39,"odometer":null,"unknown_45":6391874535445196800}} 
[2026-04-17 02:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":46249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:00:32] local.INFO: GPS data processed {"connection_id":46249,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:00:32] local.INFO: Acknowledgment sent {"connection_id":46249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:00:47] local.INFO: TCP Data received {"connection_id":45429,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fa3738012cf1c6400712e8d0000a008730..."} 
[2026-04-17 02:00:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fa3738012cf1c6400712e8d0000a008730..."} 
[2026-04-17 02:00:47] local.INFO: Processing buffer {"connection_id":45429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fa3738012cf1c6400712e8d0000a008730..."} 
[2026-04-17 02:00:47] local.INFO: Packet analysis {"connection_id":45429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fa"} 
[2026-04-17 02:00:47] local.INFO: Extracted packet for processing {"connection_id":45429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fa"} 
[2026-04-17 02:00:47] local.INFO: GPS Element Parsed {"raw_longitude":754042432,"raw_latitude":118679760,"longitude_deg":75.4042432,"latitude_deg":11.867976,"altitude":10,"angle":135,"satellites":48,"speed":0,"hex_longitude":"2cf1c640","hex_latitude":"0712e8d0","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:00:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751034880001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:00:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:00:47] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1039627796095598592,"note":"Value kept but may cause issues"} 
[2026-04-17 02:00:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:00:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776371251000,"timestamp_ms":1776371251000,"timestamp_seconds":1776371251,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fa3738"} 
[2026-04-17 02:00:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:00:47] 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-04-17 02: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 02:00:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:00:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:00:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:00:47] local.INFO: Teltonika packet parsed successfully {"connection_id":45429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:00:47] local.INFO: Passing IMEI to GPS processor {"connection_id":45429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:00:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":45429,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:00:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:00:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:00:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:00:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751034880001,"66":27974,"97":206,"2":54272,"24":0,"16":106618783551979520,"44":-1039627796095598592},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,2,24,16,44]} 
[2026-04-17 02:00:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:00:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:00:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751034880001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:00:47] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-17 02:00:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:00:47] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1039627796095598592,"description":"Unknown IO ID 44"} 
[2026-04-17 02:00:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751034880001,"power":27974,"unknown_97":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-1039627796095598592}} 
[2026-04-17 02:00:47] local.INFO: DEBUG: GPS processor result {"connection_id":45429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18604,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:00:47] local.INFO: GPS data processed {"connection_id":45429,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:00:47] local.INFO: Acknowledgment sent {"connection_id":45429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:00:52] local.INFO: TCP Data received {"connection_id":45504,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:00:52] local.INFO: Processing buffer {"connection_id":45504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:00:52] local.INFO: IMEI packet received {"connection_id":45504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":45504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:00:54] local.INFO: TCP Data received {"connection_id":45504,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:00:54] local.INFO: Processing buffer {"connection_id":45504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:00:54] local.INFO: IMEI packet received {"connection_id":45504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":45504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:00:57] local.INFO: TCP Data received {"connection_id":45504,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:00:57] local.INFO: Processing buffer {"connection_id":45504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:00:57] local.INFO: IMEI packet received {"connection_id":45504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":45504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:00:58] local.INFO: TCP Data received {"connection_id":45504,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fc4e60012d58d8c0063dece8000b00902e..."} 
[2026-04-17 02:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fc4e60012d58d8c0063dece8000b00902e..."} 
[2026-04-17 02:00:58] local.INFO: Processing buffer {"connection_id":45504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fc4e60012d58d8c0063dece8000b00902e..."} 
[2026-04-17 02:00:58] local.INFO: Packet analysis {"connection_id":45504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fc"} 
[2026-04-17 02:00:58] local.INFO: Extracted packet for processing {"connection_id":45504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fc"} 
[2026-04-17 02:00:58] local.INFO: GPS Element Parsed {"raw_longitude":760797376,"raw_latitude":104721640,"longitude_deg":76.0797376,"latitude_deg":10.472164,"altitude":11,"angle":144,"satellites":46,"speed":40,"hex_longitude":"2d58d8c0","hex_latitude":"063dece8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751074048001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273555014067159040,"note":"Value kept but may cause issues"} 
[2026-04-17 02:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6398207722419589120,"note":"Value kept but may cause issues"} 
[2026-04-17 02:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776371388000,"timestamp_ms":1776371388000,"timestamp_seconds":1776371388,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fc4e60"} 
[2026-04-17 02:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:00: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-04-17 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:00:58] 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-04-17 02: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-04-17 02:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751074048001,"66":27397,"197":206,"78":38656,"24":40,"16":273555014067159040,"45":6398207722419589120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,78,24,16,45]} 
[2026-04-17 02:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751074048001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:00:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 02:00:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273555014067159040,"km_value":273555014067159.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6398207722419589120,"description":"Unknown IO ID 45"} 
[2026-04-17 02:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751074048001,"power":27397,"unknown_197":206,"unknown_78":38656,"ignition":40,"odometer":null,"unknown_45":6398207722419589120}} 
[2026-04-17 02:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":45504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:00:58] local.INFO: GPS data processed {"connection_id":45504,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:00:58] local.INFO: Acknowledgment sent {"connection_id":45504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:01:05] local.INFO: TCP Data received {"connection_id":46250,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:01:05] local.INFO: Processing buffer {"connection_id":46250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:01:05] local.INFO: IMEI packet received {"connection_id":46250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":46250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:01:07] local.INFO: TCP Data received {"connection_id":46250,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:01:07] local.INFO: Processing buffer {"connection_id":46250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:01:07] local.INFO: IMEI packet received {"connection_id":46250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:01:07] local.INFO: IMEI acknowledgment sent {"connection_id":46250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:01:11] local.INFO: TCP Data received {"connection_id":46250,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46250,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:01:11] local.INFO: Processing buffer {"connection_id":46250,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:01:11] local.INFO: IMEI packet received {"connection_id":46250,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":46250,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:01:14] local.INFO: TCP Data received {"connection_id":46250,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fa6230012cf203000712c758000c00732f..."} 
[2026-04-17 02:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fa6230012cf203000712c758000c00732f..."} 
[2026-04-17 02:01:14] local.INFO: Processing buffer {"connection_id":46250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fa6230012cf203000712c758000c00732f..."} 
[2026-04-17 02:01:14] local.INFO: Packet analysis {"connection_id":46250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fa"} 
[2026-04-17 02:01:14] local.INFO: Extracted packet for processing {"connection_id":46250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fa"} 
[2026-04-17 02:01:14] local.INFO: GPS Element Parsed {"raw_longitude":754057984,"raw_latitude":118671192,"longitude_deg":75.4057984,"latitude_deg":11.8671192,"altitude":12,"angle":115,"satellites":47,"speed":34,"hex_longitude":"2cf20300","hex_latitude":"0712c758","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:01:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751040256001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:01:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:01:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1025061466054012928,"note":"Value kept but may cause issues"} 
[2026-04-17 02:01:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:01:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776371262000,"timestamp_ms":1776371262000,"timestamp_seconds":1776371262,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fa6230"} 
[2026-04-17 02:01:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:01: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-04-17 02: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 02:01:14] 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-04-17 02: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-04-17 02:01:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:01:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:01:14] local.INFO: Teltonika packet parsed successfully {"connection_id":46250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:01:14] local.INFO: Passing IMEI to GPS processor {"connection_id":46250,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:01:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":46250,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:01:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:01:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:01:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:01:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751040256001,"66":27343,"97":206,"2":54272,"24":34,"16":106618783551979520,"44":-1025061466054012928},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,2,24,16,44]} 
[2026-04-17 02:01:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:01:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:01:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751040256001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:01:14] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-17 02:01:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:01:14] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1025061466054012928,"description":"Unknown IO ID 44"} 
[2026-04-17 02:01:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751040256001,"power":27343,"unknown_97":206,"power_alt":54272,"ignition":34,"odometer":null,"unknown_44":-1025061466054012928}} 
[2026-04-17 02:01:14] local.INFO: DEBUG: GPS processor result {"connection_id":46250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18606,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:01:14] local.INFO: GPS data processed {"connection_id":46250,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:01:14] local.INFO: Acknowledgment sent {"connection_id":46250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:01:29] local.INFO: TCP Data received {"connection_id":45504,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fc5630012d58dcc0063de640000a009b2e..."} 
[2026-04-17 02:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fc5630012d58dcc0063de640000a009b2e..."} 
[2026-04-17 02:01:29] local.INFO: Processing buffer {"connection_id":45504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fc5630012d58dcc0063de640000a009b2e..."} 
[2026-04-17 02:01:29] local.INFO: Packet analysis {"connection_id":45504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fc"} 
[2026-04-17 02:01:29] local.INFO: Extracted packet for processing {"connection_id":45504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fc"} 
[2026-04-17 02:01:29] local.INFO: GPS Element Parsed {"raw_longitude":760798400,"raw_latitude":104719936,"longitude_deg":76.07984,"latitude_deg":10.4719936,"altitude":10,"angle":155,"satellites":46,"speed":38,"hex_longitude":"2d58dcc0","hex_latitude":"063de640","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751075328001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273555112851406848,"note":"Value kept but may cause issues"} 
[2026-04-17 02:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6402078003348432896,"note":"Value kept but may cause issues"} 
[2026-04-17 02:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776371390000,"timestamp_ms":1776371390000,"timestamp_seconds":1776371390,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fc5630"} 
[2026-04-17 02:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:01: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-04-17 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 02:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:01: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-04-17 02:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751075328001,"66":27397,"197":206,"78":38656,"24":38,"16":273555112851406848,"45":6402078003348432896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,78,24,16,45]} 
[2026-04-17 02:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751075328001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:01:29] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 02:01:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273555112851406848,"km_value":273555112851406.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6402078003348432896,"description":"Unknown IO ID 45"} 
[2026-04-17 02:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751075328001,"power":27397,"unknown_197":206,"unknown_78":38656,"ignition":38,"odometer":null,"unknown_45":6402078003348432896}} 
[2026-04-17 02:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":45504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18607,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:01:29] local.INFO: GPS data processed {"connection_id":45504,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:01:29] local.INFO: Acknowledgment sent {"connection_id":45504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:01:46] local.INFO: TCP Data received {"connection_id":46250,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97faac68012cf23540071299e80009009032..."} 
[2026-04-17 02:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97faac68012cf23540071299e80009009032..."} 
[2026-04-17 02:01:46] local.INFO: Processing buffer {"connection_id":46250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97faac68012cf23540071299e80009009032..."} 
[2026-04-17 02:01:46] local.INFO: Packet analysis {"connection_id":46250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fa"} 
[2026-04-17 02:01:46] local.INFO: Extracted packet for processing {"connection_id":46250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fa"} 
[2026-04-17 02:01:46] local.INFO: GPS Element Parsed {"raw_longitude":754070848,"raw_latitude":118659560,"longitude_deg":75.4070848,"latitude_deg":11.865956,"altitude":9,"angle":144,"satellites":50,"speed":37,"hex_longitude":"2cf23540","hex_latitude":"071299e8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751043072001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:01:46] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-1007961861221033984,"note":"Value kept but may cause issues"} 
[2026-04-17 02:01:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776371281000,"timestamp_ms":1776371281000,"timestamp_seconds":1776371281,"priority":1,"record_length":96,"hex_timestamp":"0000019d97faac68"} 
[2026-04-17 02:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:01:46] 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-04-17 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:01:46] 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-04-17 02: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-04-17 02:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":46250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":46250,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":46250,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751043072001,"66":27843,"101":206,"2":54272,"24":37,"16":106618783551979520,"44":-1007961861221033984},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-04-17 02:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751043072001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:01:46] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-04-17 02:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:01:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":-1007961861221033984,"description":"Unknown IO ID 44"} 
[2026-04-17 02:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751043072001,"power":27843,"unknown_101":206,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-1007961861221033984}} 
[2026-04-17 02:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":46250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18608,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:01:46] local.INFO: GPS data processed {"connection_id":46250,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:01:46] local.INFO: Acknowledgment sent {"connection_id":46250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:01:52] local.INFO: TCP Data received {"connection_id":45505,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:01:52] local.INFO: Processing buffer {"connection_id":45505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:01:52] local.INFO: IMEI packet received {"connection_id":45505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":45505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:01:55] local.INFO: TCP Data received {"connection_id":45505,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:01:55] local.INFO: Processing buffer {"connection_id":45505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:01:55] local.INFO: IMEI packet received {"connection_id":45505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":45505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:01:57] local.INFO: TCP Data received {"connection_id":45505,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:01:57] local.INFO: Processing buffer {"connection_id":45505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:01:57] local.INFO: IMEI packet received {"connection_id":45505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":45505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:01:58] local.INFO: TCP Data received {"connection_id":45505,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fc7d40012d58e740063dc4f8000800a32d..."} 
[2026-04-17 02:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fc7d40012d58e740063dc4f8000800a32d..."} 
[2026-04-17 02:01:58] local.INFO: Processing buffer {"connection_id":45505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fc7d40012d58e740063dc4f8000800a32d..."} 
[2026-04-17 02:01:58] local.INFO: Packet analysis {"connection_id":45505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fc"} 
[2026-04-17 02:01:58] local.INFO: Extracted packet for processing {"connection_id":45505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fc"} 
[2026-04-17 02:01:58] local.INFO: GPS Element Parsed {"raw_longitude":760801088,"raw_latitude":104711416,"longitude_deg":76.0801088,"latitude_deg":10.4711416,"altitude":8,"angle":163,"satellites":45,"speed":34,"hex_longitude":"2d58e740","hex_latitude":"063dc4f8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751075840001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273555542348136448,"note":"Value kept but may cause issues"} 
[2026-04-17 02:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6403203903254839296,"note":"Value kept but may cause issues"} 
[2026-04-17 02:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776371400000,"timestamp_ms":1776371400000,"timestamp_seconds":1776371400,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fc7d40"} 
[2026-04-17 02:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:01: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-04-17 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 02:01:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751075840001,"66":27463,"197":206,"78":38656,"24":34,"16":273555542348136448,"45":6403203903254839296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,78,24,16,45]} 
[2026-04-17 02:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751075840001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:01:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 02:01:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273555542348136448,"km_value":273555542348136.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6403203903254839296,"description":"Unknown IO ID 45"} 
[2026-04-17 02:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751075840001,"power":27463,"unknown_197":206,"unknown_78":38656,"ignition":34,"odometer":null,"unknown_45":6403203903254839296}} 
[2026-04-17 02:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":45505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:01:58] local.INFO: GPS data processed {"connection_id":45505,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:01:58] local.INFO: Acknowledgment sent {"connection_id":45505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:02:03] local.INFO: TCP Data received {"connection_id":45505,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fca450012d58f280063da4300007009f2f..."} 
[2026-04-17 02:02:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fca450012d58f280063da4300007009f2f..."} 
[2026-04-17 02:02:03] local.INFO: Processing buffer {"connection_id":45505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fca450012d58f280063da4300007009f2f..."} 
[2026-04-17 02:02:03] local.INFO: Packet analysis {"connection_id":45505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fc"} 
[2026-04-17 02:02:03] local.INFO: Extracted packet for processing {"connection_id":45505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fc"} 
[2026-04-17 02:02:03] local.INFO: GPS Element Parsed {"raw_longitude":760803968,"raw_latitude":104703024,"longitude_deg":76.0803968,"latitude_deg":10.4703024,"altitude":7,"angle":159,"satellites":47,"speed":37,"hex_longitude":"2d58f280","hex_latitude":"063da430","is_valid_coordinates":true} 
[2026-04-17 02:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:02:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751078400001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:02:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273555976139833344,"note":"Value kept but may cause issues"} 
[2026-04-17 02:02:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6406159390508120064,"note":"Value kept but may cause issues"} 
[2026-04-17 02:02:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:02:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776371410000,"timestamp_ms":1776371410000,"timestamp_seconds":1776371410,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fca450"} 
[2026-04-17 02:02:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:02: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-04-17 02:02:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 02:02: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-04-17 02:02:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:02:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:02:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:02:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:02:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:02:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:02:03] 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-04-17 02:02:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:02:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:02:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751078400001,"66":27484,"197":206,"78":38656,"24":37,"16":273555976139833344,"45":6406159390508120064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,78,24,16,45]} 
[2026-04-17 02:02:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:02:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:02:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751078400001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:02:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 02:02:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:02:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273555976139833344,"km_value":273555976139833.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:02:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6406159390508120064,"description":"Unknown IO ID 45"} 
[2026-04-17 02:02:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751078400001,"power":27484,"unknown_197":206,"unknown_78":38656,"ignition":37,"odometer":null,"unknown_45":6406159390508120064}} 
[2026-04-17 02:02:03] local.INFO: DEBUG: GPS processor result {"connection_id":45505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:02:03] local.INFO: GPS data processed {"connection_id":45505,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:02:03] local.INFO: Acknowledgment sent {"connection_id":45505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:02:06] local.INFO: TCP Data received {"connection_id":45693,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:02:06] local.INFO: Processing buffer {"connection_id":45693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:02:06] local.INFO: IMEI packet received {"connection_id":45693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:02:06] local.INFO: IMEI acknowledgment sent {"connection_id":45693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:02:07] local.INFO: TCP Data received {"connection_id":45693,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:02:07] local.INFO: Processing buffer {"connection_id":45693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:02:07] local.INFO: IMEI packet received {"connection_id":45693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:02:07] local.INFO: IMEI acknowledgment sent {"connection_id":45693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:02:11] local.INFO: TCP Data received {"connection_id":45693,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:02:11] local.INFO: Processing buffer {"connection_id":45693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:02:11] local.INFO: IMEI packet received {"connection_id":45693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":45693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:02:12] local.INFO: TCP Data received {"connection_id":45693,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97faf6a0012cf26000071269e8000a007531..."} 
[2026-04-17 02:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97faf6a0012cf26000071269e8000a007531..."} 
[2026-04-17 02:02:12] local.INFO: Processing buffer {"connection_id":45693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97faf6a0012cf26000071269e8000a007531..."} 
[2026-04-17 02:02:12] local.INFO: Packet analysis {"connection_id":45693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fa"} 
[2026-04-17 02:02:12] local.INFO: Extracted packet for processing {"connection_id":45693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fa"} 
[2026-04-17 02:02:12] local.INFO: GPS Element Parsed {"raw_longitude":754081792,"raw_latitude":118647272,"longitude_deg":75.4081792,"latitude_deg":11.8647272,"altitude":10,"angle":117,"satellites":49,"speed":27,"hex_longitude":"2cf26000","hex_latitude":"071269e8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751047936001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:02:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-993817743644301312,"note":"Value kept but may cause issues"} 
[2026-04-17 02:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776371300000,"timestamp_ms":1776371300000,"timestamp_seconds":1776371300,"priority":1,"record_length":96,"hex_timestamp":"0000019d97faf6a0"} 
[2026-04-17 02:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:02: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-04-17 02: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 02:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751047936001,"66":27887,"101":206,"2":54272,"24":27,"16":106618783551979520,"44":-993817743644301312},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-04-17 02:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751047936001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:02:12] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-04-17 02:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:02:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-993817743644301312,"description":"Unknown IO ID 44"} 
[2026-04-17 02:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751047936001,"power":27887,"unknown_101":206,"power_alt":54272,"ignition":27,"odometer":null,"unknown_44":-993817743644301312}} 
[2026-04-17 02:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":45693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18611,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:02:12] local.INFO: GPS data processed {"connection_id":45693,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:02:12] local.INFO: Acknowledgment sent {"connection_id":45693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:02:34] local.INFO: TCP Data received {"connection_id":45505,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fde888012d598480063c5b68000900992f..."} 
[2026-04-17 02:02:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fde888012d598480063c5b68000900992f..."} 
[2026-04-17 02:02:34] local.INFO: Processing buffer {"connection_id":45505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fde888012d598480063c5b68000900992f..."} 
[2026-04-17 02:02:34] local.INFO: Packet analysis {"connection_id":45505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fd"} 
[2026-04-17 02:02:34] local.INFO: Extracted packet for processing {"connection_id":45505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fd"} 
[2026-04-17 02:02:34] local.INFO: GPS Element Parsed {"raw_longitude":760841344,"raw_latitude":104618856,"longitude_deg":76.0841344,"latitude_deg":10.4618856,"altitude":9,"angle":153,"satellites":47,"speed":44,"hex_longitude":"2d598480","hex_latitude":"063c5b68","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:02:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751100160001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:02:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273560481560526848,"note":"Value kept but may cause issues"} 
[2026-04-17 02:02:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6446199205923631104,"note":"Value kept but may cause issues"} 
[2026-04-17 02:02:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:02:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776371493000,"timestamp_ms":1776371493000,"timestamp_seconds":1776371493,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fde888"} 
[2026-04-17 02:02:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:02:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:02:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 02:02:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:02:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:02:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:02:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:02:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:02:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:02:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:02:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:02:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:02:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751100160001,"66":27463,"25":206,"78":38656,"24":44,"16":273560481560526848,"45":6446199205923631104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,78,24,16,45]} 
[2026-04-17 02:02:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:02:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:02:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751100160001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:02:34] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-17 02:02:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:02:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273560481560526848,"km_value":273560481560526.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:02:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6446199205923631104,"description":"Unknown IO ID 45"} 
[2026-04-17 02:02:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751100160001,"power":27463,"unknown_25":206,"unknown_78":38656,"ignition":44,"odometer":null,"unknown_45":6446199205923631104}} 
[2026-04-17 02:02:34] local.INFO: DEBUG: GPS processor result {"connection_id":45505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:02:34] local.INFO: GPS data processed {"connection_id":45505,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:02:34] local.INFO: Acknowledgment sent {"connection_id":45505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:02:44] local.INFO: TCP Data received {"connection_id":45693,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fb48a8012cf29b0007124790000a007930..."} 
[2026-04-17 02:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fb48a8012cf29b0007124790000a007930..."} 
[2026-04-17 02:02:44] local.INFO: Processing buffer {"connection_id":45693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fb48a8012cf29b0007124790000a007930..."} 
[2026-04-17 02:02:44] local.INFO: Packet analysis {"connection_id":45693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fb"} 
[2026-04-17 02:02:44] local.INFO: Extracted packet for processing {"connection_id":45693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fb"} 
[2026-04-17 02:02:44] local.INFO: GPS Element Parsed {"raw_longitude":754096896,"raw_latitude":118638480,"longitude_deg":75.4096896,"latitude_deg":11.863848,"altitude":10,"angle":121,"satellites":48,"speed":36,"hex_longitude":"2cf29b00","hex_latitude":"07124790","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751052800001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:02:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-981784688393066496,"note":"Value kept but may cause issues"} 
[2026-04-17 02:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,101,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776371321000,"timestamp_ms":1776371321000,"timestamp_seconds":1776371321,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fb48a8"} 
[2026-04-17 02:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:02:44] 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-04-17 02: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 02:02: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-04-17 02: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-04-17 02:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45693,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751052800001,"66":27767,"101":206,"2":54272,"24":36,"16":106618783551979520,"44":-981784688393066496},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,101,2,24,16,44]} 
[2026-04-17 02:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751052800001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:02:44] local.INFO: Unknown IO ID detected {"io_id":101,"value":206,"description":"Unknown IO ID 101"} 
[2026-04-17 02:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:02:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-981784688393066496,"description":"Unknown IO ID 44"} 
[2026-04-17 02:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751052800001,"power":27767,"unknown_101":206,"power_alt":54272,"ignition":36,"odometer":null,"unknown_44":-981784688393066496}} 
[2026-04-17 02:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":45693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18613,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:02:44] local.INFO: GPS data processed {"connection_id":45693,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:02:44] local.INFO: Acknowledgment sent {"connection_id":45693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:02:52] local.INFO: TCP Data received {"connection_id":46251,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:02:52] local.INFO: Processing buffer {"connection_id":46251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:02:52] local.INFO: IMEI packet received {"connection_id":46251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":46251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:02:57] local.INFO: TCP Data received {"connection_id":46251,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:02:57] local.INFO: Processing buffer {"connection_id":46251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:02:57] local.INFO: IMEI packet received {"connection_id":46251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":46251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:02:58] local.INFO: TCP Data received {"connection_id":46251,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fe0bb0012d599540063c38e00008009b2e..."} 
[2026-04-17 02:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fe0bb0012d599540063c38e00008009b2e..."} 
[2026-04-17 02:02:58] local.INFO: Processing buffer {"connection_id":46251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fe0bb0012d599540063c38e00008009b2e..."} 
[2026-04-17 02:02:58] local.INFO: Packet analysis {"connection_id":46251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fe"} 
[2026-04-17 02:02:58] local.INFO: Extracted packet for processing {"connection_id":46251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fe"} 
[2026-04-17 02:02:58] local.INFO: GPS Element Parsed {"raw_longitude":760845632,"raw_latitude":104610016,"longitude_deg":76.0845632,"latitude_deg":10.4610016,"altitude":8,"angle":155,"satellites":46,"speed":41,"hex_longitude":"2d599540","hex_latitude":"063c38e0","is_valid_coordinates":true} 
[2026-04-17 02:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751102208001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273560958301896704,"note":"Value kept but may cause issues"} 
[2026-04-17 02:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6450421330572175360,"note":"Value kept but may cause issues"} 
[2026-04-17 02:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776371502000,"timestamp_ms":1776371502000,"timestamp_seconds":1776371502,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fe0bb0"} 
[2026-04-17 02:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:02: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-04-17 02:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 02:02:58] 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-04-17 02:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751102208001,"66":27343,"25":206,"78":38656,"24":41,"16":273560958301896704,"45":6450421330572175360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,78,24,16,45]} 
[2026-04-17 02:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751102208001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:02:58] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-17 02:02:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273560958301896704,"km_value":273560958301896.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6450421330572175360,"description":"Unknown IO ID 45"} 
[2026-04-17 02:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751102208001,"power":27343,"unknown_25":206,"unknown_78":38656,"ignition":41,"odometer":null,"unknown_45":6450421330572175360}} 
[2026-04-17 02:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":46251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:02:58] local.INFO: GPS data processed {"connection_id":46251,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:02:58] local.INFO: Acknowledgment sent {"connection_id":46251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:03:15] local.INFO: TCP Data received {"connection_id":45694,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:03:15] local.INFO: Processing buffer {"connection_id":45694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:03:15] local.INFO: IMEI packet received {"connection_id":45694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":45694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:03:16] local.INFO: TCP Data received {"connection_id":45694,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:03:16] local.INFO: Processing buffer {"connection_id":45694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:03:16] local.INFO: IMEI packet received {"connection_id":45694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":45694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:03:18] local.INFO: TCP Data received {"connection_id":45694,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:03:18] local.INFO: Processing buffer {"connection_id":45694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:03:18] local.INFO: IMEI packet received {"connection_id":45694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:03:18] local.INFO: IMEI acknowledgment sent {"connection_id":45694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:03:21] local.INFO: TCP Data received {"connection_id":45694,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:03:21] local.INFO: Processing buffer {"connection_id":45694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:03:21] local.INFO: IMEI packet received {"connection_id":45694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":45694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:03:22] local.INFO: TCP Data received {"connection_id":45694,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fe32c0012cf442800710c5d8001a00852f..."} 
[2026-04-17 02:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fe32c0012cf442800710c5d8001a00852f..."} 
[2026-04-17 02:03:22] local.INFO: Processing buffer {"connection_id":45694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fe32c0012cf442800710c5d8001a00852f..."} 
[2026-04-17 02:03:22] local.INFO: Packet analysis {"connection_id":45694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fe"} 
[2026-04-17 02:03:22] local.INFO: Extracted packet for processing {"connection_id":45694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fe"} 
[2026-04-17 02:03:22] local.INFO: GPS Element Parsed {"raw_longitude":754205312,"raw_latitude":118539736,"longitude_deg":75.4205312,"latitude_deg":11.8539736,"altitude":26,"angle":133,"satellites":47,"speed":25,"hex_longitude":"2cf44280","hex_latitude":"0710c5d8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:03:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,108,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 02:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776371512000,"timestamp_ms":1776371512000,"timestamp_seconds":1776371512,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fe32c0"} 
[2026-04-17 02:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:03: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:03:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 02:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"108":206,"2":54272,"24":25,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16]} 
[2026-04-17 02:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 02:03:22] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-04-17 02:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:03:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_108":206,"power_alt":54272,"ignition":25,"odometer":null}} 
[2026-04-17 02:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":45694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18615,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:03:22] local.INFO: GPS data processed {"connection_id":45694,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:03:22] local.INFO: Acknowledgment sent {"connection_id":45694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:03:29] local.INFO: TCP Data received {"connection_id":46251,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fe2ed8012d59a400063c19100009009d2e..."} 
[2026-04-17 02:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fe2ed8012d59a400063c19100009009d2e..."} 
[2026-04-17 02:03:29] local.INFO: Processing buffer {"connection_id":46251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fe2ed8012d59a400063c19100009009d2e..."} 
[2026-04-17 02:03:29] local.INFO: Packet analysis {"connection_id":46251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fe"} 
[2026-04-17 02:03:29] local.INFO: Extracted packet for processing {"connection_id":46251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fe"} 
[2026-04-17 02:03:29] local.INFO: GPS Element Parsed {"raw_longitude":760849408,"raw_latitude":104601872,"longitude_deg":76.0849408,"latitude_deg":10.4601872,"altitude":9,"angle":157,"satellites":46,"speed":36,"hex_longitude":"2d59a400","hex_latitude":"063c1910","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751104512001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273561387798626304,"note":"Value kept but may cause issues"} 
[2026-04-17 02:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6455136036429815808,"note":"Value kept but may cause issues"} 
[2026-04-17 02:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776371511000,"timestamp_ms":1776371511000,"timestamp_seconds":1776371511,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fe2ed8"} 
[2026-04-17 02:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:03: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-04-17 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:03: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-04-17 02: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-04-17 02:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:03: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-04-17 02:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751104512001,"66":27463,"25":206,"78":38656,"24":36,"16":273561387798626304,"45":6455136036429815808},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,78,24,16,45]} 
[2026-04-17 02:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751104512001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:03:29] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-17 02:03:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273561387798626304,"km_value":273561387798626.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6455136036429815808,"description":"Unknown IO ID 45"} 
[2026-04-17 02:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751104512001,"power":27463,"unknown_25":206,"unknown_78":38656,"ignition":36,"odometer":null,"unknown_45":6455136036429815808}} 
[2026-04-17 02:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":46251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:03:29] local.INFO: GPS data processed {"connection_id":46251,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:03:29] local.INFO: Acknowledgment sent {"connection_id":46251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:03:56] local.INFO: TCP Data received {"connection_id":45506,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:03:56] local.INFO: Processing buffer {"connection_id":45506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:03:56] local.INFO: IMEI packet received {"connection_id":45506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":45506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:03:57] local.INFO: TCP Data received {"connection_id":45506,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:03:57] local.INFO: Processing buffer {"connection_id":45506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:03:57] local.INFO: IMEI packet received {"connection_id":45506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":45506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:04:02] local.INFO: TCP Data received {"connection_id":45506,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:04:02] local.INFO: Processing buffer {"connection_id":45506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:04:02] local.INFO: IMEI packet received {"connection_id":45506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:04:02] local.INFO: IMEI acknowledgment sent {"connection_id":45506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:04:03] local.INFO: TCP Data received {"connection_id":45506,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fe5db8012d59b2c0063bf9800007009a2f..."} 
[2026-04-17 02:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fe5db8012d59b2c0063bf9800007009a2f..."} 
[2026-04-17 02:04:03] local.INFO: Processing buffer {"connection_id":45506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fe5db8012d59b2c0063bf9800007009a2f..."} 
[2026-04-17 02:04:03] local.INFO: Packet analysis {"connection_id":45506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fe"} 
[2026-04-17 02:04:03] local.INFO: Extracted packet for processing {"connection_id":45506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fe"} 
[2026-04-17 02:04:03] local.INFO: GPS Element Parsed {"raw_longitude":760853184,"raw_latitude":104593792,"longitude_deg":76.0853184,"latitude_deg":10.4593792,"altitude":7,"angle":154,"satellites":47,"speed":33,"hex_longitude":"2d59b2c0","hex_latitude":"063bf980","is_valid_coordinates":true} 
[2026-04-17 02:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751106816001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273561821590323200,"note":"Value kept but may cause issues"} 
[2026-04-17 02:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6459287792334213120,"note":"Value kept but may cause issues"} 
[2026-04-17 02:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776371523000,"timestamp_ms":1776371523000,"timestamp_seconds":1776371523,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fe5db8"} 
[2026-04-17 02:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 02:04: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-04-17 02:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:04:03] 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-04-17 02:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751106816001,"66":27343,"25":206,"78":38656,"24":33,"16":273561821590323200,"45":6459287792334213120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,78,24,16,45]} 
[2026-04-17 02:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751106816001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:04:03] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-17 02:04:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273561821590323200,"km_value":273561821590323.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6459287792334213120,"description":"Unknown IO ID 45"} 
[2026-04-17 02:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751106816001,"power":27343,"unknown_25":206,"unknown_78":38656,"ignition":33,"odometer":null,"unknown_45":6459287792334213120}} 
[2026-04-17 02:04:03] local.INFO: DEBUG: GPS processor result {"connection_id":45506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:04:03] local.INFO: GPS data processed {"connection_id":45506,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:04:03] local.INFO: Acknowledgment sent {"connection_id":45506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:04:03] local.INFO: TCP Data received {"connection_id":45506,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fe84c8012d59c1c0063bd7580007009e2c..."} 
[2026-04-17 02:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fe84c8012d59c1c0063bd7580007009e2c..."} 
[2026-04-17 02:04:03] local.INFO: Processing buffer {"connection_id":45506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fe84c8012d59c1c0063bd7580007009e2c..."} 
[2026-04-17 02:04:03] local.INFO: Packet analysis {"connection_id":45506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fe"} 
[2026-04-17 02:04:03] local.INFO: Extracted packet for processing {"connection_id":45506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fe"} 
[2026-04-17 02:04:03] local.INFO: GPS Element Parsed {"raw_longitude":760857024,"raw_latitude":104585048,"longitude_deg":76.0857024,"latitude_deg":10.4585048,"altitude":7,"angle":158,"satellites":44,"speed":40,"hex_longitude":"2d59c1c0","hex_latitude":"063bd758","is_valid_coordinates":true} 
[2026-04-17 02:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:04:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751109888001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:04:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273562281151823872,"note":"Value kept but may cause issues"} 
[2026-04-17 02:04:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6463439548238626816,"note":"Value kept but may cause issues"} 
[2026-04-17 02:04:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:04:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776371533000,"timestamp_ms":1776371533000,"timestamp_seconds":1776371533,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fe84c8"} 
[2026-04-17 02:04:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:04:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:04:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:04: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-04-17 02:04:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:04:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:04:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:04:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:04:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:04:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:04:03] 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-04-17 02:04:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:04:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:04:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751109888001,"66":27463,"25":206,"78":38656,"24":40,"16":273562281151823872,"45":6463439548238626816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,78,24,16,45]} 
[2026-04-17 02:04:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:04:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:04:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751109888001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:04:03] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-17 02:04:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:04:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273562281151823872,"km_value":273562281151823.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:04:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6463439548238626816,"description":"Unknown IO ID 45"} 
[2026-04-17 02:04:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751109888001,"power":27463,"unknown_25":206,"unknown_78":38656,"ignition":40,"odometer":null,"unknown_45":6463439548238626816}} 
[2026-04-17 02:04:04] local.INFO: DEBUG: GPS processor result {"connection_id":45506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:04:04] local.INFO: GPS data processed {"connection_id":45506,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:04:04] local.INFO: Acknowledgment sent {"connection_id":45506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:04:06] local.INFO: TCP Data received {"connection_id":45430,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:04:06] local.INFO: Processing buffer {"connection_id":45430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:04:06] local.INFO: IMEI packet received {"connection_id":45430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":45430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:04:12] local.INFO: TCP Data received {"connection_id":45430,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:04:12] local.INFO: Processing buffer {"connection_id":45430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:04:12] local.INFO: IMEI packet received {"connection_id":45430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":45430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:04:14] local.INFO: TCP Data received {"connection_id":45430,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ff34900100000000000000000000000000..."} 
[2026-04-17 02:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ff34900100000000000000000000000000..."} 
[2026-04-17 02:04:14] local.INFO: Processing buffer {"connection_id":45430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ff34900100000000000000000000000000..."} 
[2026-04-17 02:04:14] local.INFO: Packet analysis {"connection_id":45430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ff"} 
[2026-04-17 02:04:14] local.INFO: Extracted packet for processing {"connection_id":45430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ff"} 
[2026-04-17 02:04: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-04-17 02: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-04-17 02:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751107072001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:04:14] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-845973012157704192,"note":"Value kept but may cause issues"} 
[2026-04-17 02:04:14] 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-04-17 02:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776371578000,"timestamp_ms":1776371578000,"timestamp_seconds":1776371578,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ff3490"} 
[2026-04-17 02:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:04: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-04-17 02: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 02:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":45430,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 02:04:14] local.INFO: GPS data processed {"connection_id":45430,"processed":0,"errors":0,"total":1} 
[2026-04-17 02:04:14] local.INFO: Acknowledgment sent {"connection_id":45430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:04:34] local.INFO: TCP Data received {"connection_id":45506,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fff3f8012d5a8840063a4a30000700972f..."} 
[2026-04-17 02:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fff3f8012d5a8840063a4a30000700972f..."} 
[2026-04-17 02:04:34] local.INFO: Processing buffer {"connection_id":45506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fff3f8012d5a8840063a4a30000700972f..."} 
[2026-04-17 02:04:34] local.INFO: Packet analysis {"connection_id":45506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ff"} 
[2026-04-17 02:04:34] local.INFO: Extracted packet for processing {"connection_id":45506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ff"} 
[2026-04-17 02:04:34] local.INFO: GPS Element Parsed {"raw_longitude":760907840,"raw_latitude":104483376,"longitude_deg":76.090784,"latitude_deg":10.4483376,"altitude":7,"angle":151,"satellites":47,"speed":43,"hex_longitude":"2d5a8840","hex_latitude":"063a4a30","is_valid_coordinates":true} 
[2026-04-17 02:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:04:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751134464001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:04:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273567838839504896,"note":"Value kept but may cause issues"} 
[2026-04-17 02:04:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6518327168671125504,"note":"Value kept but may cause issues"} 
[2026-04-17 02:04:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:04:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776371627000,"timestamp_ms":1776371627000,"timestamp_seconds":1776371627,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fff3f8"} 
[2026-04-17 02:04:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:04: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-04-17 02:04:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 02:04: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-04-17 02:04:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:04:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:04:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:04:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:04:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:04:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:04:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:04:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:04:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:04:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751134464001,"66":27397,"23":206,"78":38656,"24":43,"16":273567838839504896,"45":6518327168671125504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-04-17 02:04:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:04:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:04:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751134464001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:04:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-17 02:04:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:04:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273567838839504896,"km_value":273567838839504.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:04:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6518327168671125504,"description":"Unknown IO ID 45"} 
[2026-04-17 02:04:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751134464001,"power":27397,"unknown_23":206,"unknown_78":38656,"ignition":43,"odometer":null,"unknown_45":6518327168671125504}} 
[2026-04-17 02:04:34] local.INFO: DEBUG: GPS processor result {"connection_id":45506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:04:34] local.INFO: GPS data processed {"connection_id":45506,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:04:34] local.INFO: Acknowledgment sent {"connection_id":45506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:04:46] local.INFO: TCP Data received {"connection_id":45430,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97fe9080012cf466000710a390001f008430..."} 
[2026-04-17 02:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97fe9080012cf466000710a390001f008430..."} 
[2026-04-17 02:04:46] local.INFO: Processing buffer {"connection_id":45430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97fe9080012cf466000710a390001f008430..."} 
[2026-04-17 02:04:46] local.INFO: Packet analysis {"connection_id":45430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fe"} 
[2026-04-17 02:04:46] local.INFO: Extracted packet for processing {"connection_id":45430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fe"} 
[2026-04-17 02:04:46] local.INFO: GPS Element Parsed {"raw_longitude":754214400,"raw_latitude":118530960,"longitude_deg":75.42144,"latitude_deg":11.853096,"altitude":31,"angle":132,"satellites":48,"speed":21,"hex_longitude":"2cf46600","hex_latitude":"0710a390","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:04:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,108,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 02:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776371536000,"timestamp_ms":1776371536000,"timestamp_seconds":1776371536,"priority":1,"record_length":96,"hex_timestamp":"0000019d97fe9080"} 
[2026-04-17 02:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:04: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 02:04:46] 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-04-17 02: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-04-17 02:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45430,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27984,"108":206,"2":54272,"24":21,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,2,24,16]} 
[2026-04-17 02:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 02:04:46] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-04-17 02:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:04:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27984,"unknown_108":206,"power_alt":54272,"ignition":21,"odometer":null}} 
[2026-04-17 02:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":45430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18620,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:04:46] local.INFO: GPS data processed {"connection_id":45430,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:04:46] local.INFO: Acknowledgment sent {"connection_id":45430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:04:52] local.INFO: TCP Data received {"connection_id":45695,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:04:52] local.INFO: Processing buffer {"connection_id":45695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:04:52] local.INFO: IMEI packet received {"connection_id":45695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":45695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:04:57] local.INFO: TCP Data received {"connection_id":45695,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:04:57] local.INFO: Processing buffer {"connection_id":45695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:04:57] local.INFO: IMEI packet received {"connection_id":45695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":45695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:04:59] local.INFO: TCP Data received {"connection_id":45695,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98000b68012d5a9180063a3b50000700872f..."} 
[2026-04-17 02:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98000b68012d5a9180063a3b50000700872f..."} 
[2026-04-17 02:04:59] local.INFO: Processing buffer {"connection_id":45695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98000b68012d5a9180063a3b50000700872f..."} 
[2026-04-17 02:04:59] local.INFO: Packet analysis {"connection_id":45695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9800"} 
[2026-04-17 02:04:59] local.INFO: Extracted packet for processing {"connection_id":45695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9800"} 
[2026-04-17 02:04:59] local.INFO: GPS Element Parsed {"raw_longitude":760910208,"raw_latitude":104479568,"longitude_deg":76.0910208,"latitude_deg":10.4479568,"altitude":7,"angle":135,"satellites":47,"speed":18,"hex_longitude":"2d5a9180","hex_latitude":"063a3b50","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751136512001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273568057882836992,"note":"Value kept but may cause issues"} 
[2026-04-17 02:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6523534455738085376,"note":"Value kept but may cause issues"} 
[2026-04-17 02:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776371633000,"timestamp_ms":1776371633000,"timestamp_seconds":1776371633,"priority":1,"record_length":96,"hex_timestamp":"0000019d98000b68"} 
[2026-04-17 02:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 02:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751136512001,"66":27365,"23":206,"78":38656,"24":18,"16":273568057882836992,"45":6523534455738085376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-04-17 02:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751136512001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:04:59] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-17 02:04:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273568057882836992,"km_value":273568057882837.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6523534455738085376,"description":"Unknown IO ID 45"} 
[2026-04-17 02:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751136512001,"power":27365,"unknown_23":206,"unknown_78":38656,"ignition":18,"odometer":null,"unknown_45":6523534455738085376}} 
[2026-04-17 02:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":45695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:04:59] local.INFO: GPS data processed {"connection_id":45695,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:04:59] local.INFO: Acknowledgment sent {"connection_id":45695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:05:03] local.INFO: TCP Data received {"connection_id":45695,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98001338012d5a94c0063a3958000700722f..."} 
[2026-04-17 02:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98001338012d5a94c0063a3958000700722f..."} 
[2026-04-17 02:05:03] local.INFO: Processing buffer {"connection_id":45695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98001338012d5a94c0063a3958000700722f..."} 
[2026-04-17 02:05:03] local.INFO: Packet analysis {"connection_id":45695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9800"} 
[2026-04-17 02:05:03] local.INFO: Extracted packet for processing {"connection_id":45695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9800"} 
[2026-04-17 02:05:03] local.INFO: GPS Element Parsed {"raw_longitude":760911040,"raw_latitude":104479064,"longitude_deg":76.091104,"latitude_deg":10.4479064,"altitude":7,"angle":114,"satellites":47,"speed":18,"hex_longitude":"2d5a94c0","hex_latitude":"063a3958","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:05:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751138048001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:05:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273568105127477248,"note":"Value kept but may cause issues"} 
[2026-04-17 02:05:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6526138099271684096,"note":"Value kept but may cause issues"} 
[2026-04-17 02:05:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:05:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776371635000,"timestamp_ms":1776371635000,"timestamp_seconds":1776371635,"priority":1,"record_length":96,"hex_timestamp":"0000019d98001338"} 
[2026-04-17 02:05:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:05: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-04-17 02:05:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 02:05: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-04-17 02:05:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:05:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:05:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:05:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:05:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:05:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:05:03] 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-04-17 02:05:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:05:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:05:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751138048001,"66":27289,"23":206,"78":38656,"24":18,"16":273568105127477248,"45":6526138099271684096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-04-17 02:05:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:05:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:05:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751138048001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:05:03] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-17 02:05:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:05:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273568105127477248,"km_value":273568105127477.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:05:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6526138099271684096,"description":"Unknown IO ID 45"} 
[2026-04-17 02:05:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751138048001,"power":27289,"unknown_23":206,"unknown_78":38656,"ignition":18,"odometer":null,"unknown_45":6526138099271684096}} 
[2026-04-17 02:05:03] local.INFO: DEBUG: GPS processor result {"connection_id":45695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:05:03] local.INFO: GPS data processed {"connection_id":45695,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:05:03] local.INFO: Acknowledgment sent {"connection_id":45695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:05:06] local.INFO: TCP Data received {"connection_id":45431,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:05:06] local.INFO: Processing buffer {"connection_id":45431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:05:06] local.INFO: IMEI packet received {"connection_id":45431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":45431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:05:11] local.INFO: TCP Data received {"connection_id":45431,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:05:11] local.INFO: Processing buffer {"connection_id":45431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:05:11] local.INFO: IMEI packet received {"connection_id":45431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":45431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:05:12] local.INFO: TCP Data received {"connection_id":45431,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ff92500100000000000000000000000000..."} 
[2026-04-17 02:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ff92500100000000000000000000000000..."} 
[2026-04-17 02:05:12] local.INFO: Processing buffer {"connection_id":45431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ff92500100000000000000000000000000..."} 
[2026-04-17 02:05:12] local.INFO: Packet analysis {"connection_id":45431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ff"} 
[2026-04-17 02:05:12] local.INFO: Extracted packet for processing {"connection_id":45431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ff"} 
[2026-04-17 02:05: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-04-17 02: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-04-17 02:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751113216001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:05:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-835980650486722560,"note":"Value kept but may cause issues"} 
[2026-04-17 02:05:12] 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-04-17 02:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776371602000,"timestamp_ms":1776371602000,"timestamp_seconds":1776371602,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ff9250"} 
[2026-04-17 02:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:05: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-04-17 02: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 02:05:12] 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-04-17 02: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-04-17 02:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":45431,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 02:05:12] local.INFO: GPS data processed {"connection_id":45431,"processed":0,"errors":0,"total":1} 
[2026-04-17 02:05:12] local.INFO: Acknowledgment sent {"connection_id":45431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:05:14] local.INFO: TCP Data received {"connection_id":45431,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97feee40012cf49780071079a0002200852f..."} 
[2026-04-17 02:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97feee40012cf49780071079a0002200852f..."} 
[2026-04-17 02:05:14] local.INFO: Processing buffer {"connection_id":45431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97feee40012cf49780071079a0002200852f..."} 
[2026-04-17 02:05:14] local.INFO: Packet analysis {"connection_id":45431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97fe"} 
[2026-04-17 02:05:14] local.INFO: Extracted packet for processing {"connection_id":45431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97fe"} 
[2026-04-17 02:05:14] local.INFO: GPS Element Parsed {"raw_longitude":754227072,"raw_latitude":118520224,"longitude_deg":75.4227072,"latitude_deg":11.8520224,"altitude":34,"angle":133,"satellites":47,"speed":35,"hex_longitude":"2cf49780","hex_latitude":"071079a0","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:05:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:05:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,36,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 02:05:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776371560000,"timestamp_ms":1776371560000,"timestamp_seconds":1776371560,"priority":1,"record_length":96,"hex_timestamp":"0000019d97feee40"} 
[2026-04-17 02:05:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:05: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:05:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 02:05:14] 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-04-17 02: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-04-17 02:05:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:05:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:05:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:05:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:05:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:05:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:05:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:05:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:05:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27484,"36":206,"2":54272,"24":35,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16]} 
[2026-04-17 02:05:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:05:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:05:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 02:05:14] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 02:05:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:05:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27484,"unknown_36":206,"power_alt":54272,"ignition":35,"odometer":null}} 
[2026-04-17 02:05:14] local.INFO: DEBUG: GPS processor result {"connection_id":45431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18623,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:05:14] local.INFO: GPS data processed {"connection_id":45431,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:05:14] local.INFO: Acknowledgment sent {"connection_id":45431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:05:34] local.INFO: TCP Data received {"connection_id":45695,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98001b08012d5a9800063a3838000700662e..."} 
[2026-04-17 02:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98001b08012d5a9800063a3838000700662e..."} 
[2026-04-17 02:05:34] local.INFO: Processing buffer {"connection_id":45695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98001b08012d5a9800063a3838000700662e..."} 
[2026-04-17 02:05:34] local.INFO: Packet analysis {"connection_id":45695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9800"} 
[2026-04-17 02:05:34] local.INFO: Extracted packet for processing {"connection_id":45695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9800"} 
[2026-04-17 02:05:34] local.INFO: GPS Element Parsed {"raw_longitude":760911872,"raw_latitude":104478776,"longitude_deg":76.0911872,"latitude_deg":10.4478776,"altitude":7,"angle":102,"satellites":46,"speed":19,"hex_longitude":"2d5a9800","hex_latitude":"063a3838","is_valid_coordinates":true} 
[2026-04-17 02:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751138560001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273568148077150208,"note":"Value kept but may cause issues"} 
[2026-04-17 02:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6527052892945864704,"note":"Value kept but may cause issues"} 
[2026-04-17 02:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776371637000,"timestamp_ms":1776371637000,"timestamp_seconds":1776371637,"priority":1,"record_length":96,"hex_timestamp":"0000019d98001b08"} 
[2026-04-17 02:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:05: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-04-17 02:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-17 02:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2105,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751138560001,"66":27343,"23":206,"78":38656,"24":19,"16":273568148077150208,"45":6527052892945864704},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,78,24,16,45]} 
[2026-04-17 02:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751138560001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:05:34] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-17 02:05:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273568148077150208,"km_value":273568148077150.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6527052892945864704,"description":"Unknown IO ID 45"} 
[2026-04-17 02:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751138560001,"power":27343,"unknown_23":206,"unknown_78":38656,"ignition":19,"odometer":null,"unknown_45":6527052892945864704}} 
[2026-04-17 02:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":45695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:05:34] local.INFO: GPS data processed {"connection_id":45695,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:05:34] local.INFO: Acknowledgment sent {"connection_id":45695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:05:48] local.INFO: TCP Data received {"connection_id":45431,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ff4048012cf4be8007104f40001c006330..."} 
[2026-04-17 02:05:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ff4048012cf4be8007104f40001c006330..."} 
[2026-04-17 02:05:48] local.INFO: Processing buffer {"connection_id":45431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ff4048012cf4be8007104f40001c006330..."} 
[2026-04-17 02:05:48] local.INFO: Packet analysis {"connection_id":45431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ff"} 
[2026-04-17 02:05:48] local.INFO: Extracted packet for processing {"connection_id":45431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ff"} 
[2026-04-17 02:05:48] local.INFO: GPS Element Parsed {"raw_longitude":754237056,"raw_latitude":118509376,"longitude_deg":75.4237056,"latitude_deg":11.8509376,"altitude":28,"angle":99,"satellites":48,"speed":31,"hex_longitude":"2cf4be80","hex_latitude":"07104f40","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:05:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751119360001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:05:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:05:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-822047639142293504,"note":"Value kept but may cause issues"} 
[2026-04-17 02:05:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:05:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776371581000,"timestamp_ms":1776371581000,"timestamp_seconds":1776371581,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ff4048"} 
[2026-04-17 02:05:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:05:48] 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-04-17 02:05:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 02:05:48] 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-04-17 02: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-04-17 02:05:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:05:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:05:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:05:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:05:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45431,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:05:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:05:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:05:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:05:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751119360001,"66":27550,"36":206,"2":54272,"24":31,"16":106618783551979520,"44":-822047639142293504},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-04-17 02:05:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:05:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:05:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751119360001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:05:48] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 02:05:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:05:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-822047639142293504,"description":"Unknown IO ID 44"} 
[2026-04-17 02:05:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751119360001,"power":27550,"unknown_36":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-822047639142293504}} 
[2026-04-17 02:05:48] local.INFO: DEBUG: GPS processor result {"connection_id":45431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18625,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:05:48] local.INFO: GPS data processed {"connection_id":45431,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:05:48] local.INFO: Acknowledgment sent {"connection_id":45431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:05:49] local.INFO: TCP Data received {"connection_id":45507,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:05:49] local.INFO: Processing buffer {"connection_id":45507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:05:49] local.INFO: IMEI packet received {"connection_id":45507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":45507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:05:52] local.INFO: TCP Data received {"connection_id":45507,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:05:52] local.INFO: Processing buffer {"connection_id":45507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:05:52] local.INFO: IMEI packet received {"connection_id":45507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":45507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:05:57] local.INFO: TCP Data received {"connection_id":45507,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:05:57] local.INFO: Processing buffer {"connection_id":45507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:05:57] local.INFO: IMEI packet received {"connection_id":45507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":45507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:05:59] local.INFO: TCP Data received {"connection_id":45507,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98003278012d5aa100063a35e80007007628..."} 
[2026-04-17 02:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98003278012d5aa100063a35e80007007628..."} 
[2026-04-17 02:05:59] local.INFO: Processing buffer {"connection_id":45507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98003278012d5aa100063a35e80007007628..."} 
[2026-04-17 02:05:59] local.INFO: Packet analysis {"connection_id":45507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9800"} 
[2026-04-17 02:05:59] local.INFO: Extracted packet for processing {"connection_id":45507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9800"} 
[2026-04-17 02:05:59] local.INFO: GPS Element Parsed {"raw_longitude":760914176,"raw_latitude":104478184,"longitude_deg":76.0914176,"latitude_deg":10.4478184,"altitude":7,"angle":118,"satellites":40,"speed":11,"hex_longitude":"2d5aa100","hex_latitude":"063a35e8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751139072001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273568259746299904,"note":"Value kept but may cause issues"} 
[2026-04-17 02:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6527967686620100608,"note":"Value kept but may cause issues"} 
[2026-04-17 02:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776371643000,"timestamp_ms":1776371643000,"timestamp_seconds":1776371643,"priority":1,"record_length":96,"hex_timestamp":"0000019d98003278"} 
[2026-04-17 02:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751139072001,"66":27332,"85":206,"78":38656,"24":11,"16":273568259746299904,"45":6527967686620100608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,78,24,16,45]} 
[2026-04-17 02:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751139072001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:05:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-17 02:05:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273568259746299904,"km_value":273568259746299.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6527967686620100608,"description":"Unknown IO ID 45"} 
[2026-04-17 02:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751139072001,"power":27332,"unknown_85":206,"unknown_78":38656,"ignition":11,"odometer":null,"unknown_45":6527967686620100608}} 
[2026-04-17 02:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":45507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:05:59] local.INFO: GPS data processed {"connection_id":45507,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:05:59] local.INFO: Acknowledgment sent {"connection_id":45507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:06:06] local.INFO: TCP Data received {"connection_id":45696,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:06:06] local.INFO: Processing buffer {"connection_id":45696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:06:06] local.INFO: IMEI packet received {"connection_id":45696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":45696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:06:08] local.INFO: TCP Data received {"connection_id":45696,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:06:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:06:08] local.INFO: Processing buffer {"connection_id":45696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:06:08] local.INFO: IMEI packet received {"connection_id":45696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:06:08] local.INFO: IMEI acknowledgment sent {"connection_id":45696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:06:11] local.INFO: TCP Data received {"connection_id":45696,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:06:11] local.INFO: Processing buffer {"connection_id":45696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:06:11] local.INFO: IMEI packet received {"connection_id":45696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":45696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:06:12] local.INFO: TCP Data received {"connection_id":45696,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ff4048012cf4be8007104f40001c006330..."} 
[2026-04-17 02:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ff4048012cf4be8007104f40001c006330..."} 
[2026-04-17 02:06:12] local.INFO: Processing buffer {"connection_id":45696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ff4048012cf4be8007104f40001c006330..."} 
[2026-04-17 02:06:12] local.INFO: Packet analysis {"connection_id":45696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ff"} 
[2026-04-17 02:06:12] local.INFO: Extracted packet for processing {"connection_id":45696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ff"} 
[2026-04-17 02:06:12] local.INFO: GPS Element Parsed {"raw_longitude":754237056,"raw_latitude":118509376,"longitude_deg":75.4237056,"latitude_deg":11.8509376,"altitude":28,"angle":99,"satellites":48,"speed":31,"hex_longitude":"2cf4be80","hex_latitude":"07104f40","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751124736001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:06:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-811070115053355008,"note":"Value kept but may cause issues"} 
[2026-04-17 02:06:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776371581000,"timestamp_ms":1776371581000,"timestamp_seconds":1776371581,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ff4048"} 
[2026-04-17 02:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:06: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-04-17 02: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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-04-17 02:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751124736001,"66":27550,"36":206,"2":54272,"24":31,"16":106618783551979520,"44":-811070115053355008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-04-17 02:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751124736001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:06:12] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 02:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:06:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-811070115053355008,"description":"Unknown IO ID 44"} 
[2026-04-17 02:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751124736001,"power":27550,"unknown_36":206,"power_alt":54272,"ignition":31,"odometer":null,"unknown_44":-811070115053355008}} 
[2026-04-17 02:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":45696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18627,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:06:12] local.INFO: GPS data processed {"connection_id":45696,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:06:12] local.INFO: Acknowledgment sent {"connection_id":45696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:06:37] local.INFO: TCP Data received {"connection_id":45507,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98003a48012d5aa2c0063a34880006008528..."} 
[2026-04-17 02:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98003a48012d5aa2c0063a34880006008528..."} 
[2026-04-17 02:06:37] local.INFO: Processing buffer {"connection_id":45507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98003a48012d5aa2c0063a34880006008528..."} 
[2026-04-17 02:06:37] local.INFO: Packet analysis {"connection_id":45507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9800"} 
[2026-04-17 02:06:37] local.INFO: Extracted packet for processing {"connection_id":45507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9800"} 
[2026-04-17 02:06:37] local.INFO: GPS Element Parsed {"raw_longitude":760914624,"raw_latitude":104477832,"longitude_deg":76.0914624,"latitude_deg":10.4477832,"altitude":6,"angle":133,"satellites":40,"speed":9,"hex_longitude":"2d5aa2c0","hex_latitude":"063a3488","is_valid_coordinates":true} 
[2026-04-17 02:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751140608001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273568289811070976,"note":"Value kept but may cause issues"} 
[2026-04-17 02:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6530500961410344960,"note":"Value kept but may cause issues"} 
[2026-04-17 02:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776371645000,"timestamp_ms":1776371645000,"timestamp_seconds":1776371645,"priority":1,"record_length":96,"hex_timestamp":"0000019d98003a48"} 
[2026-04-17 02:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:06: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-04-17 02:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 02:06:37] 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-04-17 02:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":45507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":45507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":45507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:06:37] 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-04-17 02:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751140608001,"66":27463,"85":206,"78":38656,"24":9,"16":273568289811070976,"45":6530500961410344960},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,78,24,16,45]} 
[2026-04-17 02:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751140608001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:06:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-17 02:06:37] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273568289811070976,"km_value":273568289811070.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":6530500961410344960,"description":"Unknown IO ID 45"} 
[2026-04-17 02:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751140608001,"power":27463,"unknown_85":206,"unknown_78":38656,"ignition":9,"odometer":null,"unknown_45":6530500961410344960}} 
[2026-04-17 02:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":45507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:06:37] local.INFO: GPS data processed {"connection_id":45507,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:06:37] local.INFO: Acknowledgment sent {"connection_id":45507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:06:44] local.INFO: TCP Data received {"connection_id":45696,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ff9250012cf4fb0007103490001500812f..."} 
[2026-04-17 02:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ff9250012cf4fb0007103490001500812f..."} 
[2026-04-17 02:06:44] local.INFO: Processing buffer {"connection_id":45696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ff9250012cf4fb0007103490001500812f..."} 
[2026-04-17 02:06:44] local.INFO: Packet analysis {"connection_id":45696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ff"} 
[2026-04-17 02:06:44] local.INFO: Extracted packet for processing {"connection_id":45696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ff"} 
[2026-04-17 02:06:44] local.INFO: GPS Element Parsed {"raw_longitude":754252544,"raw_latitude":118502544,"longitude_deg":75.4252544,"latitude_deg":11.8502544,"altitude":21,"angle":129,"satellites":47,"speed":32,"hex_longitude":"2cf4fb00","hex_latitude":"07103490","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751124736001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:06:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-811070115053355008,"note":"Value kept but may cause issues"} 
[2026-04-17 02:06:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776371602000,"timestamp_ms":1776371602000,"timestamp_seconds":1776371602,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ff9250"} 
[2026-04-17 02:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:06:44] 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-04-17 02: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":107,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-04-17 02:06:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2155,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751124736001,"66":28050,"36":206,"2":54272,"24":32,"16":106618783551979520,"44":-811070115053355008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-04-17 02:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751124736001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:06:44] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 02:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:06:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-811070115053355008,"description":"Unknown IO ID 44"} 
[2026-04-17 02:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751124736001,"power":28050,"unknown_36":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-811070115053355008}} 
[2026-04-17 02:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":45696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18629,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:06:44] local.INFO: GPS data processed {"connection_id":45696,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:06:44] local.INFO: Acknowledgment sent {"connection_id":45696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:06:57] local.INFO: TCP Data received {"connection_id":45508,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:06:57] local.INFO: Processing buffer {"connection_id":45508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:06:57] local.INFO: IMEI packet received {"connection_id":45508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":45508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:07:02] local.INFO: TCP Data received {"connection_id":45508,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:07:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45508,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:07:02] local.INFO: Processing buffer {"connection_id":45508,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:07:02] local.INFO: IMEI packet received {"connection_id":45508,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:07:02] local.INFO: IMEI acknowledgment sent {"connection_id":45508,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:07:06] local.INFO: TCP Data received {"connection_id":45508,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98004218012d5aa440063a32f8000600962b..."} 
[2026-04-17 02:07:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98004218012d5aa440063a32f8000600962b..."} 
[2026-04-17 02:07:06] local.INFO: Processing buffer {"connection_id":45508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98004218012d5aa440063a32f8000600962b..."} 
[2026-04-17 02:07:06] local.INFO: Packet analysis {"connection_id":45508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9800"} 
[2026-04-17 02:07:06] local.INFO: Extracted packet for processing {"connection_id":45508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9800"} 
[2026-04-17 02:07:06] local.INFO: GPS Element Parsed {"raw_longitude":760915008,"raw_latitude":104477432,"longitude_deg":76.0915008,"latitude_deg":10.4477432,"altitude":6,"angle":150,"satellites":43,"speed":10,"hex_longitude":"2d5aa440","hex_latitude":"063a32f8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:07:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751141120001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:07:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273568315580874752,"note":"Value kept but may cause issues"} 
[2026-04-17 02:07:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6530993542619498496,"note":"Value kept but may cause issues"} 
[2026-04-17 02:07:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:07:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776371647000,"timestamp_ms":1776371647000,"timestamp_seconds":1776371647,"priority":1,"record_length":96,"hex_timestamp":"0000019d98004218"} 
[2026-04-17 02:07:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:07: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-04-17 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 02:07:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:07:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:07:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:07:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:07:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:07:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45508,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:07:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:07:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:07:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:07:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751141120001,"66":27365,"85":206,"78":38656,"24":10,"16":273568315580874752,"45":6530993542619498496},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,78,24,16,45]} 
[2026-04-17 02:07:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:07:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:07:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751141120001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:07:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-17 02:07:06] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:07:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273568315580874752,"km_value":273568315580874.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:07:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":6530993542619498496,"description":"Unknown IO ID 45"} 
[2026-04-17 02:07:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751141120001,"power":27365,"unknown_85":206,"unknown_78":38656,"ignition":10,"odometer":null,"unknown_45":6530993542619498496}} 
[2026-04-17 02:07:06] local.INFO: DEBUG: GPS processor result {"connection_id":45508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:07:06] local.INFO: GPS data processed {"connection_id":45508,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:07:06] local.INFO: Acknowledgment sent {"connection_id":45508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:07:11] local.INFO: TCP Data received {"connection_id":45432,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:07:11] local.INFO: Processing buffer {"connection_id":45432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:07:11] local.INFO: IMEI packet received {"connection_id":45432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":45432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:07:16] local.INFO: TCP Data received {"connection_id":45432,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:07:16] local.INFO: Processing buffer {"connection_id":45432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:07:16] local.INFO: IMEI packet received {"connection_id":45432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:07:16] local.INFO: IMEI acknowledgment sent {"connection_id":45432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:07:17] local.INFO: TCP Data received {"connection_id":45432,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ff9250012cf4fb0007103490001500812f..."} 
[2026-04-17 02:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ff9250012cf4fb0007103490001500812f..."} 
[2026-04-17 02:07:17] local.INFO: Processing buffer {"connection_id":45432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ff9250012cf4fb0007103490001500812f..."} 
[2026-04-17 02:07:17] local.INFO: Packet analysis {"connection_id":45432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ff"} 
[2026-04-17 02:07:17] local.INFO: Extracted packet for processing {"connection_id":45432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ff"} 
[2026-04-17 02:07:17] local.INFO: GPS Element Parsed {"raw_longitude":754252544,"raw_latitude":118502544,"longitude_deg":75.4252544,"latitude_deg":11.8502544,"altitude":21,"angle":129,"satellites":47,"speed":32,"hex_longitude":"2cf4fb00","hex_latitude":"07103490","is_valid_coordinates":true} 
[2026-04-17 02:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:07:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751130112001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:07:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:07:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-794040878964109312,"note":"Value kept but may cause issues"} 
[2026-04-17 02:07:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:07:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776371602000,"timestamp_ms":1776371602000,"timestamp_seconds":1776371602,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ff9250"} 
[2026-04-17 02:07:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:07:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:07:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-17 02:07:17] 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-04-17 02:07:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:07:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:07:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:07:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:07:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:07:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:07:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:07:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:07:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:07:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751130112001,"66":28050,"36":206,"2":54272,"24":32,"16":106618783551979520,"44":-794040878964109312},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-04-17 02:07:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:07:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:07:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751130112001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:07:17] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 02:07:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:07:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-794040878964109312,"description":"Unknown IO ID 44"} 
[2026-04-17 02:07:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751130112001,"power":28050,"unknown_36":206,"power_alt":54272,"ignition":32,"odometer":null,"unknown_44":-794040878964109312}} 
[2026-04-17 02:07:17] local.INFO: DEBUG: GPS processor result {"connection_id":45432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:07:17] local.INFO: GPS data processed {"connection_id":45432,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:07:17] local.INFO: Acknowledgment sent {"connection_id":45432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:07:20] local.INFO: TCP Data received {"connection_id":45432,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d97ffe070012cf53600071012a0001000742d..."} 
[2026-04-17 02:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d97ffe070012cf53600071012a0001000742d..."} 
[2026-04-17 02:07:20] local.INFO: Processing buffer {"connection_id":45432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d97ffe070012cf53600071012a0001000742d..."} 
[2026-04-17 02:07:20] local.INFO: Packet analysis {"connection_id":45432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d97ff"} 
[2026-04-17 02:07:20] local.INFO: Extracted packet for processing {"connection_id":45432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d97ff"} 
[2026-04-17 02:07:20] local.INFO: GPS Element Parsed {"raw_longitude":754267648,"raw_latitude":118493856,"longitude_deg":75.4267648,"latitude_deg":11.8493856,"altitude":16,"angle":116,"satellites":45,"speed":37,"hex_longitude":"2cf53600","hex_latitude":"071012a0","is_valid_coordinates":true} 
[2026-04-17 02:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:07:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751130112001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:07:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-794040878964109312,"note":"Value kept but may cause issues"} 
[2026-04-17 02:07:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776371622000,"timestamp_ms":1776371622000,"timestamp_seconds":1776371622,"priority":1,"record_length":96,"hex_timestamp":"0000019d97ffe070"} 
[2026-04-17 02:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:07:20] 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-04-17 02:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-17 02:07:20] 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-04-17 02:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":45432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":45432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":45432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751130112001,"66":27952,"36":206,"2":54272,"24":37,"16":106618783551979520,"44":-794040878964109312},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-04-17 02:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751130112001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:07:20] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 02:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:07:20] local.INFO: Unknown IO ID detected {"io_id":44,"value":-794040878964109312,"description":"Unknown IO ID 44"} 
[2026-04-17 02:07:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751130112001,"power":27952,"unknown_36":206,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-794040878964109312}} 
[2026-04-17 02:07:21] local.INFO: DEBUG: GPS processor result {"connection_id":45432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18632,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:07:21] local.INFO: GPS data processed {"connection_id":45432,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:07:21] local.INFO: Acknowledgment sent {"connection_id":45432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:08:06] local.INFO: TCP Data received {"connection_id":46252,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:08:06] local.INFO: Processing buffer {"connection_id":46252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:08:06] local.INFO: IMEI packet received {"connection_id":46252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:08:06] local.INFO: IMEI acknowledgment sent {"connection_id":46252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:08:09] local.INFO: TCP Data received {"connection_id":45697,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:08:09] local.INFO: Processing buffer {"connection_id":45697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:08:09] local.INFO: IMEI packet received {"connection_id":45697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":45697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:08:09] local.INFO: TCP Data received {"connection_id":45697,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:08:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:08:09] local.INFO: Processing buffer {"connection_id":45697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:08:09] local.INFO: IMEI packet received {"connection_id":45697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:08:09] local.INFO: IMEI acknowledgment sent {"connection_id":45697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:08:10] local.INFO: TCP Data received {"connection_id":45697,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98028ff0012d5b6dc00638b488000900902d..."} 
[2026-04-17 02:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98028ff0012d5b6dc00638b488000900902d..."} 
[2026-04-17 02:08:10] local.INFO: Processing buffer {"connection_id":45697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98028ff0012d5b6dc00638b488000900902d..."} 
[2026-04-17 02:08:10] local.INFO: Packet analysis {"connection_id":45697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9802"} 
[2026-04-17 02:08:10] local.INFO: Extracted packet for processing {"connection_id":45697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9802"} 
[2026-04-17 02:08:10] local.INFO: GPS Element Parsed {"raw_longitude":760966592,"raw_latitude":104379528,"longitude_deg":76.0966592,"latitude_deg":10.4379528,"altitude":9,"angle":144,"satellites":45,"speed":35,"hex_longitude":"2d5b6dc0","hex_latitude":"0638b488","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751177216001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273573701469863936,"note":"Value kept but may cause issues"} 
[2026-04-17 02:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6581729407148417024,"note":"Value kept but may cause issues"} 
[2026-04-17 02:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776371798000,"timestamp_ms":1776371798000,"timestamp_seconds":1776371798,"priority":1,"record_length":96,"hex_timestamp":"0000019d98028ff0"} 
[2026-04-17 02:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02: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-04-17 02: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-04-17 02:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751177216001,"66":27343,"175":206,"78":38656,"24":35,"16":273573701469863936,"45":6581729407148417024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-04-17 02:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751177216001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:08:10] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-17 02:08:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273573701469863936,"km_value":273573701469863.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6581729407148417024,"description":"Unknown IO ID 45"} 
[2026-04-17 02:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751177216001,"power":27343,"unknown_175":206,"unknown_78":38656,"ignition":35,"odometer":null,"unknown_45":6581729407148417024}} 
[2026-04-17 02:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":45697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:08:10] local.INFO: GPS data processed {"connection_id":45697,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:08:10] local.INFO: Acknowledgment sent {"connection_id":45697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:08:10] local.INFO: TCP Data received {"connection_id":45697,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9802bae8012d5b824006389580000800952e..."} 
[2026-04-17 02:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9802bae8012d5b824006389580000800952e..."} 
[2026-04-17 02:08:10] local.INFO: Processing buffer {"connection_id":45697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9802bae8012d5b824006389580000800952e..."} 
[2026-04-17 02:08:10] local.INFO: Packet analysis {"connection_id":45697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9802"} 
[2026-04-17 02:08:10] local.INFO: Extracted packet for processing {"connection_id":45697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9802"} 
[2026-04-17 02:08:10] local.INFO: GPS Element Parsed {"raw_longitude":760971840,"raw_latitude":104371584,"longitude_deg":76.097184,"latitude_deg":10.4371584,"altitude":8,"angle":149,"satellites":46,"speed":33,"hex_longitude":"2d5b8240","hex_latitude":"06389580","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:08:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751180288001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:08:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273574161031364608,"note":"Value kept but may cause issues"} 
[2026-04-17 02:08:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6588132962866595840,"note":"Value kept but may cause issues"} 
[2026-04-17 02:08:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:08:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776371809000,"timestamp_ms":1776371809000,"timestamp_seconds":1776371809,"priority":1,"record_length":96,"hex_timestamp":"0000019d9802bae8"} 
[2026-04-17 02:08:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:08:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:08:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:08:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:08:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:08:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:08:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:08:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:08:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:08:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:08:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:08:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751180288001,"66":27343,"219":206,"78":38656,"24":33,"16":273574161031364608,"45":6588132962866595840},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,78,24,16,45]} 
[2026-04-17 02:08:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:08:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:08:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751180288001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:08:10] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-04-17 02:08:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:08:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273574161031364608,"km_value":273574161031364.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:08:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6588132962866595840,"description":"Unknown IO ID 45"} 
[2026-04-17 02:08:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751180288001,"power":27343,"unknown_219":206,"unknown_78":38656,"ignition":33,"odometer":null,"unknown_45":6588132962866595840}} 
[2026-04-17 02:08:10] local.INFO: DEBUG: GPS processor result {"connection_id":45697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:08:10] local.INFO: GPS data processed {"connection_id":45697,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:08:10] local.INFO: Acknowledgment sent {"connection_id":45697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:08:11] local.INFO: TCP Data received {"connection_id":46252,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46252,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:08:11] local.INFO: Processing buffer {"connection_id":46252,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:08:11] local.INFO: IMEI packet received {"connection_id":46252,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":46252,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:08:12] local.INFO: TCP Data received {"connection_id":46252,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98002aa8012cf56f40070fecb80012008c32..."} 
[2026-04-17 02:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98002aa8012cf56f40070fecb80012008c32..."} 
[2026-04-17 02:08:12] local.INFO: Processing buffer {"connection_id":46252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98002aa8012cf56f40070fecb80012008c32..."} 
[2026-04-17 02:08:12] local.INFO: Packet analysis {"connection_id":46252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9800"} 
[2026-04-17 02:08:12] local.INFO: Extracted packet for processing {"connection_id":46252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9800"} 
[2026-04-17 02:08:12] local.INFO: GPS Element Parsed {"raw_longitude":754282304,"raw_latitude":118484152,"longitude_deg":75.4282304,"latitude_deg":11.8484152,"altitude":18,"angle":140,"satellites":50,"speed":37,"hex_longitude":"2cf56f40","hex_latitude":"070fecb8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751135232001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:08:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-777433855340404736,"note":"Value kept but may cause issues"} 
[2026-04-17 02:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,2,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776371641000,"timestamp_ms":1776371641000,"timestamp_seconds":1776371641,"priority":1,"record_length":96,"hex_timestamp":"0000019d98002aa8"} 
[2026-04-17 02:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:08: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-04-17 02: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 02:08:12] 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-04-17 02: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-04-17 02:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751135232001,"66":27952,"36":206,"2":54272,"24":37,"16":106618783551979520,"44":-777433855340404736},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,2,24,16,44]} 
[2026-04-17 02:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751135232001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:08:12] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 02:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:08:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-777433855340404736,"description":"Unknown IO ID 44"} 
[2026-04-17 02:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751135232001,"power":27952,"unknown_36":206,"power_alt":54272,"ignition":37,"odometer":null,"unknown_44":-777433855340404736}} 
[2026-04-17 02:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":46252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18635,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:08:12] local.INFO: GPS data processed {"connection_id":46252,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:08:12] local.INFO: Acknowledgment sent {"connection_id":46252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:08:45] local.INFO: TCP Data received {"connection_id":46252,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98041e600100000000000000000000000000..."} 
[2026-04-17 02:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98041e600100000000000000000000000000..."} 
[2026-04-17 02:08:45] local.INFO: Processing buffer {"connection_id":46252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98041e600100000000000000000000000000..."} 
[2026-04-17 02:08:45] local.INFO: Packet analysis {"connection_id":46252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9804"} 
[2026-04-17 02:08:45] local.INFO: Extracted packet for processing {"connection_id":46252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9804"} 
[2026-04-17 02:08: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-04-17 02: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-04-17 02:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751189504001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:08:45] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-711427973360089088,"note":"Value kept but may cause issues"} 
[2026-04-17 02:08:45] 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-04-17 02:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776371900000,"timestamp_ms":1776371900000,"timestamp_seconds":1776371900,"priority":1,"record_length":96,"hex_timestamp":"0000019d98041e60"} 
[2026-04-17 02:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:08: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-04-17 02: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 02:08:45] 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-04-17 02: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-04-17 02:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46252,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":46252,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 02:08:45] local.INFO: GPS data processed {"connection_id":46252,"processed":0,"errors":0,"total":1} 
[2026-04-17 02:08:45] local.INFO: Acknowledgment sent {"connection_id":46252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:08:52] local.INFO: TCP Data received {"connection_id":45433,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:08:52] local.INFO: Processing buffer {"connection_id":45433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:08:52] local.INFO: IMEI packet received {"connection_id":45433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":45433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:08:57] local.INFO: TCP Data received {"connection_id":45433,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:08:57] local.INFO: Processing buffer {"connection_id":45433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:08:57] local.INFO: IMEI packet received {"connection_id":45433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":45433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:08:58] local.INFO: TCP Data received {"connection_id":45433,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9802e1f8012d5b8f40063878b8000800a52d..."} 
[2026-04-17 02:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9802e1f8012d5b8f40063878b8000800a52d..."} 
[2026-04-17 02:08:58] local.INFO: Processing buffer {"connection_id":45433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9802e1f8012d5b8f40063878b8000800a52d..."} 
[2026-04-17 02:08:58] local.INFO: Packet analysis {"connection_id":45433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9802"} 
[2026-04-17 02:08:58] local.INFO: Extracted packet for processing {"connection_id":45433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9802"} 
[2026-04-17 02:08:58] local.INFO: GPS Element Parsed {"raw_longitude":760975168,"raw_latitude":104364216,"longitude_deg":76.0975168,"latitude_deg":10.4364216,"altitude":8,"angle":165,"satellites":45,"speed":31,"hex_longitude":"2d5b8f40","hex_latitude":"063878b8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751183104001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273574556168355840,"note":"Value kept but may cause issues"} 
[2026-04-17 02:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6593903199887130624,"note":"Value kept but may cause issues"} 
[2026-04-17 02:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776371819000,"timestamp_ms":1776371819000,"timestamp_seconds":1776371819,"priority":1,"record_length":96,"hex_timestamp":"0000019d9802e1f8"} 
[2026-04-17 02:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:08: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-04-17 02:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:08:58] 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-04-17 02: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-04-17 02:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751183104001,"66":27397,"219":206,"78":38656,"24":31,"16":273574556168355840,"45":6593903199887130624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,78,24,16,45]} 
[2026-04-17 02:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751183104001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:08:58] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-04-17 02:08:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273574556168355840,"km_value":273574556168355.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6593903199887130624,"description":"Unknown IO ID 45"} 
[2026-04-17 02:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751183104001,"power":27397,"unknown_219":206,"unknown_78":38656,"ignition":31,"odometer":null,"unknown_45":6593903199887130624}} 
[2026-04-17 02:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":45433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:08:58] local.INFO: GPS data processed {"connection_id":45433,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:08:58] local.INFO: Acknowledgment sent {"connection_id":45433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:09:00] local.INFO: TCP Data received {"connection_id":45433,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98030908012d5b9a40063856400006009f2d..."} 
[2026-04-17 02:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98030908012d5b9a40063856400006009f2d..."} 
[2026-04-17 02:09:00] local.INFO: Processing buffer {"connection_id":45433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98030908012d5b9a40063856400006009f2d..."} 
[2026-04-17 02:09:00] local.INFO: Packet analysis {"connection_id":45433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9803"} 
[2026-04-17 02:09:00] local.INFO: Extracted packet for processing {"connection_id":45433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9803"} 
[2026-04-17 02:09:00] local.INFO: GPS Element Parsed {"raw_longitude":760977984,"raw_latitude":104355392,"longitude_deg":76.0977984,"latitude_deg":10.4355392,"altitude":6,"angle":159,"satellites":45,"speed":41,"hex_longitude":"2d5b9a40","hex_latitude":"06385640","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751185664001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273575002844954624,"note":"Value kept but may cause issues"} 
[2026-04-17 02:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6597562374582482944,"note":"Value kept but may cause issues"} 
[2026-04-17 02:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776371829000,"timestamp_ms":1776371829000,"timestamp_seconds":1776371829,"priority":1,"record_length":96,"hex_timestamp":"0000019d98030908"} 
[2026-04-17 02:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 02:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:09: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-04-17 02:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751185664001,"66":27321,"219":206,"78":38656,"24":41,"16":273575002844954624,"45":6597562374582482944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,78,24,16,45]} 
[2026-04-17 02:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751185664001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:09:00] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-04-17 02:09:00] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273575002844954624,"km_value":273575002844954.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":6597562374582482944,"description":"Unknown IO ID 45"} 
[2026-04-17 02:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751185664001,"power":27321,"unknown_219":206,"unknown_78":38656,"ignition":41,"odometer":null,"unknown_45":6597562374582482944}} 
[2026-04-17 02:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":45433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:09:00] local.INFO: GPS data processed {"connection_id":45433,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:09:00] local.INFO: Acknowledgment sent {"connection_id":45433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:09:06] local.INFO: TCP Data received {"connection_id":46253,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:09:06] local.INFO: Processing buffer {"connection_id":46253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:09:06] local.INFO: IMEI packet received {"connection_id":46253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":46253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:09:11] local.INFO: TCP Data received {"connection_id":46253,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46253,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:09:11] local.INFO: Processing buffer {"connection_id":46253,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:09:11] local.INFO: IMEI packet received {"connection_id":46253,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":46253,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:09:12] local.INFO: TCP Data received {"connection_id":46253,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98038dd8012cf63ec0070bf930000d009d32..."} 
[2026-04-17 02:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98038dd8012cf63ec0070bf930000d009d32..."} 
[2026-04-17 02:09:12] local.INFO: Processing buffer {"connection_id":46253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98038dd8012cf63ec0070bf930000d009d32..."} 
[2026-04-17 02:09:12] local.INFO: Packet analysis {"connection_id":46253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9803"} 
[2026-04-17 02:09:12] local.INFO: Extracted packet for processing {"connection_id":46253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9803"} 
[2026-04-17 02:09:12] local.INFO: GPS Element Parsed {"raw_longitude":754335424,"raw_latitude":118225200,"longitude_deg":75.4335424,"latitude_deg":11.82252,"altitude":13,"angle":157,"satellites":50,"speed":43,"hex_longitude":"2cf63ec0","hex_latitude":"070bf930","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:09:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,32,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 02:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776371863000,"timestamp_ms":1776371863000,"timestamp_seconds":1776371863,"priority":1,"record_length":96,"hex_timestamp":"0000019d98038dd8"} 
[2026-04-17 02:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:09:12] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 02:09:12] 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-04-17 02: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-04-17 02:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"32":206,"2":54272,"24":43,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16]} 
[2026-04-17 02:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 02:09:12] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 02:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:09:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_32":206,"power_alt":54272,"ignition":43,"odometer":null}} 
[2026-04-17 02:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":46253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18638,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:09:13] local.INFO: GPS data processed {"connection_id":46253,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:09:13] local.INFO: Acknowledgment sent {"connection_id":46253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:09:32] local.INFO: TCP Data received {"connection_id":45433,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98032c30012d5ba8c0063832f80006009d2f..."} 
[2026-04-17 02:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98032c30012d5ba8c0063832f80006009d2f..."} 
[2026-04-17 02:09:32] local.INFO: Processing buffer {"connection_id":45433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98032c30012d5ba8c0063832f80006009d2f..."} 
[2026-04-17 02:09:32] local.INFO: Packet analysis {"connection_id":45433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9803"} 
[2026-04-17 02:09:32] local.INFO: Extracted packet for processing {"connection_id":45433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9803"} 
[2026-04-17 02:09:32] local.INFO: GPS Element Parsed {"raw_longitude":760981696,"raw_latitude":104346360,"longitude_deg":76.0981696,"latitude_deg":10.434636,"altitude":6,"angle":157,"satellites":47,"speed":44,"hex_longitude":"2d5ba8c0","hex_latitude":"063832f8","is_valid_coordinates":true} 
[2026-04-17 02:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:09:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751188224001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:09:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273575475291357184,"note":"Value kept but may cause issues"} 
[2026-04-17 02:09:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6600658599324041216,"note":"Value kept but may cause issues"} 
[2026-04-17 02:09:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:09:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776371838000,"timestamp_ms":1776371838000,"timestamp_seconds":1776371838,"priority":1,"record_length":96,"hex_timestamp":"0000019d98032c30"} 
[2026-04-17 02:09:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:09:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:09:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 02:09: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-04-17 02:09:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:09:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:09:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:09:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:09:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:09:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:09:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:09:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:09:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:09:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751188224001,"66":27484,"219":206,"78":38656,"24":44,"16":273575475291357184,"45":6600658599324041216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,78,24,16,45]} 
[2026-04-17 02:09:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:09:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:09:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751188224001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:09:32] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-04-17 02:09:32] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:09:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273575475291357184,"km_value":273575475291357.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:09:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":6600658599324041216,"description":"Unknown IO ID 45"} 
[2026-04-17 02:09:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751188224001,"power":27484,"unknown_219":206,"unknown_78":38656,"ignition":44,"odometer":null,"unknown_45":6600658599324041216}} 
[2026-04-17 02:09:32] local.INFO: DEBUG: GPS processor result {"connection_id":45433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:09:32] local.INFO: GPS data processed {"connection_id":45433,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:09:32] local.INFO: Acknowledgment sent {"connection_id":45433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:09:44] local.INFO: TCP Data received {"connection_id":46253,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9803dfe0012cf65e80070bab880008009d34..."} 
[2026-04-17 02:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9803dfe0012cf65e80070bab880008009d34..."} 
[2026-04-17 02:09:44] local.INFO: Processing buffer {"connection_id":46253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9803dfe0012cf65e80070bab880008009d34..."} 
[2026-04-17 02:09:44] local.INFO: Packet analysis {"connection_id":46253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9803"} 
[2026-04-17 02:09:44] local.INFO: Extracted packet for processing {"connection_id":46253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9803"} 
[2026-04-17 02:09:44] local.INFO: GPS Element Parsed {"raw_longitude":754343552,"raw_latitude":118205320,"longitude_deg":75.4343552,"latitude_deg":11.820532,"altitude":8,"angle":157,"satellites":52,"speed":0,"hex_longitude":"2cf65e80","hex_latitude":"070bab88","is_valid_coordinates":true} 
[2026-04-17 02:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751196928001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:09:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-702913355325034496,"note":"Value kept but may cause issues"} 
[2026-04-17 02:09:44] 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-04-17 02:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776371884000,"timestamp_ms":1776371884000,"timestamp_seconds":1776371884,"priority":1,"record_length":96,"hex_timestamp":"0000019d9803dfe0"} 
[2026-04-17 02:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:09:44] 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-04-17 02:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 02:09:44] 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-04-17 02:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46253,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751196928001,"66":27604,"32":206,"2":54272,"24":0,"16":106618783551979520,"44":-702913355325034496},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16,44]} 
[2026-04-17 02:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751196928001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:09:44] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 02:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:09:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-702913355325034496,"description":"Unknown IO ID 44"} 
[2026-04-17 02:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751196928001,"power":27604,"unknown_32":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-702913355325034496}} 
[2026-04-17 02:09:45] local.INFO: DEBUG: GPS processor result {"connection_id":46253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18640,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:09:45] local.INFO: GPS data processed {"connection_id":46253,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:09:45] local.INFO: Acknowledgment sent {"connection_id":46253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:09:52] local.INFO: TCP Data received {"connection_id":45434,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:09:52] local.INFO: Processing buffer {"connection_id":45434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:09:52] local.INFO: IMEI packet received {"connection_id":45434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":45434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:09:57] local.INFO: TCP Data received {"connection_id":45434,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:09:57] local.INFO: Processing buffer {"connection_id":45434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:09:57] local.INFO: IMEI packet received {"connection_id":45434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":45434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:09:59] local.INFO: TCP Data received {"connection_id":45434,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98034b70012d5bb6c0063812280005009c2f..."} 
[2026-04-17 02:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98034b70012d5bb6c0063812280005009c2f..."} 
[2026-04-17 02:09:59] local.INFO: Processing buffer {"connection_id":45434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98034b70012d5bb6c0063812280005009c2f..."} 
[2026-04-17 02:09:59] local.INFO: Packet analysis {"connection_id":45434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9803"} 
[2026-04-17 02:09:59] local.INFO: Extracted packet for processing {"connection_id":45434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9803"} 
[2026-04-17 02:09:59] local.INFO: GPS Element Parsed {"raw_longitude":760985280,"raw_latitude":104337960,"longitude_deg":76.098528,"latitude_deg":10.433796,"altitude":5,"angle":156,"satellites":47,"speed":46,"hex_longitude":"2d5bb6c0","hex_latitude":"06381228","is_valid_coordinates":true} 
[2026-04-17 02:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751190528001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273575917672988672,"note":"Value kept but may cause issues"} 
[2026-04-17 02:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6604739986484033536,"note":"Value kept but may cause issues"} 
[2026-04-17 02:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,219,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776371846000,"timestamp_ms":1776371846000,"timestamp_seconds":1776371846,"priority":1,"record_length":96,"hex_timestamp":"0000019d98034b70"} 
[2026-04-17 02:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 02:09: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-04-17 02:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751190528001,"66":27376,"219":206,"78":38656,"24":46,"16":273575917672988672,"45":6604739986484033536},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,219,78,24,16,45]} 
[2026-04-17 02:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751190528001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:09:59] local.INFO: Unknown IO ID detected {"io_id":219,"value":206,"description":"Unknown IO ID 219"} 
[2026-04-17 02:09:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273575917672988672,"km_value":273575917672988.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6604739986484033536,"description":"Unknown IO ID 45"} 
[2026-04-17 02:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751190528001,"power":27376,"unknown_219":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6604739986484033536}} 
[2026-04-17 02:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":45434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:09:59] local.INFO: GPS data processed {"connection_id":45434,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:09:59] local.INFO: Acknowledgment sent {"connection_id":45434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:10:06] local.INFO: TCP Data received {"connection_id":45435,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:10:06] local.INFO: Processing buffer {"connection_id":45435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:10:06] local.INFO: IMEI packet received {"connection_id":45435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:10:06] local.INFO: IMEI acknowledgment sent {"connection_id":45435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:10:16] local.INFO: TCP Data received {"connection_id":45435,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:10:16] local.INFO: Processing buffer {"connection_id":45435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:10:16] local.INFO: IMEI packet received {"connection_id":45435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":45435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:10:20] local.INFO: TCP Data received {"connection_id":45435,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9804e1b00100000000000000000000000000..."} 
[2026-04-17 02:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9804e1b00100000000000000000000000000..."} 
[2026-04-17 02:10:20] local.INFO: Processing buffer {"connection_id":45435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9804e1b00100000000000000000000000000..."} 
[2026-04-17 02:10:20] local.INFO: Packet analysis {"connection_id":45435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9804"} 
[2026-04-17 02:10:20] local.INFO: Extracted packet for processing {"connection_id":45435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9804"} 
[2026-04-17 02:10:20] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 02:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:10:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751202304001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:10:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:10:20] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-693976524819560448,"note":"Value kept but may cause issues"} 
[2026-04-17 02:10:20] 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-04-17 02:10:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776371950000,"timestamp_ms":1776371950000,"timestamp_seconds":1776371950,"priority":1,"record_length":96,"hex_timestamp":"0000019d9804e1b0"} 
[2026-04-17 02:10:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:10:20] 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-04-17 02:10:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-17 02:10:20] 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-04-17 02:10:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:10:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:10:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:10:20] local.INFO: Teltonika packet parsed successfully {"connection_id":45435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:10:20] local.INFO: Passing IMEI to GPS processor {"connection_id":45435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:10:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":45435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:10:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:10:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:10:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:10:20] local.INFO: DEBUG: GPS processor result {"connection_id":45435,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 02:10:20] local.INFO: GPS data processed {"connection_id":45435,"processed":0,"errors":0,"total":1} 
[2026-04-17 02:10:20] local.INFO: Acknowledgment sent {"connection_id":45435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:10:33] local.INFO: TCP Data received {"connection_id":45434,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98052fd0012d5c5cc00636b3680007009a2e..."} 
[2026-04-17 02:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98052fd0012d5c5cc00636b3680007009a2e..."} 
[2026-04-17 02:10:33] local.INFO: Processing buffer {"connection_id":45434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98052fd0012d5c5cc00636b3680007009a2e..."} 
[2026-04-17 02:10:33] local.INFO: Packet analysis {"connection_id":45434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9805"} 
[2026-04-17 02:10:33] local.INFO: Extracted packet for processing {"connection_id":45434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9805"} 
[2026-04-17 02:10:33] local.INFO: GPS Element Parsed {"raw_longitude":761027776,"raw_latitude":104248168,"longitude_deg":76.1027776,"latitude_deg":10.4248168,"altitude":7,"angle":154,"satellites":46,"speed":44,"hex_longitude":"2d5c5cc0","hex_latitude":"0636b368","is_valid_coordinates":true} 
[2026-04-17 02:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751222016001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273580732331327488,"note":"Value kept but may cause issues"} 
[2026-04-17 02:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6650761145153210368,"note":"Value kept but may cause issues"} 
[2026-04-17 02:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776371970000,"timestamp_ms":1776371970000,"timestamp_seconds":1776371970,"priority":1,"record_length":96,"hex_timestamp":"0000019d98052fd0"} 
[2026-04-17 02:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:10: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-04-17 02:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 02:10: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-04-17 02:10:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751222016001,"66":27463,"175":206,"78":38656,"24":44,"16":273580732331327488,"45":6650761145153210368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-04-17 02:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751222016001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:10:33] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-17 02:10:33] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273580732331327488,"km_value":273580732331327.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":6650761145153210368,"description":"Unknown IO ID 45"} 
[2026-04-17 02:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751222016001,"power":27463,"unknown_175":206,"unknown_78":38656,"ignition":44,"odometer":null,"unknown_45":6650761145153210368}} 
[2026-04-17 02:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":45434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:10:33] local.INFO: GPS data processed {"connection_id":45434,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:10:33] local.INFO: Acknowledgment sent {"connection_id":45434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:10:53] local.INFO: TCP Data received {"connection_id":45509,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:10:53] local.INFO: Processing buffer {"connection_id":45509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:10:53] local.INFO: IMEI packet received {"connection_id":45509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":45509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:10:53] local.INFO: TCP Data received {"connection_id":45509,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:10:53] local.INFO: Processing buffer {"connection_id":45509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:10:53] local.INFO: IMEI packet received {"connection_id":45509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":45509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:10:57] local.INFO: TCP Data received {"connection_id":45509,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:10:57] local.INFO: Processing buffer {"connection_id":45509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:10:57] local.INFO: IMEI packet received {"connection_id":45509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":45509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:10:59] local.INFO: TCP Data received {"connection_id":45509,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98054f10012d5c6c80063693600007009b2f..."} 
[2026-04-17 02:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98054f10012d5c6c80063693600007009b2f..."} 
[2026-04-17 02:10:59] local.INFO: Processing buffer {"connection_id":45509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98054f10012d5c6c80063693600007009b2f..."} 
[2026-04-17 02:10:59] local.INFO: Packet analysis {"connection_id":45509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9805"} 
[2026-04-17 02:10:59] local.INFO: Extracted packet for processing {"connection_id":45509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9805"} 
[2026-04-17 02:10:59] local.INFO: GPS Element Parsed {"raw_longitude":761031808,"raw_latitude":104239968,"longitude_deg":76.1031808,"latitude_deg":10.4239968,"altitude":7,"angle":155,"satellites":47,"speed":47,"hex_longitude":"2d5c6c80","hex_latitude":"06369360","is_valid_coordinates":true} 
[2026-04-17 02:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751224320001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273581174712958976,"note":"Value kept but may cause issues"} 
[2026-04-17 02:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6655405482266814464,"note":"Value kept but may cause issues"} 
[2026-04-17 02:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776371978000,"timestamp_ms":1776371978000,"timestamp_seconds":1776371978,"priority":1,"record_length":96,"hex_timestamp":"0000019d98054f10"} 
[2026-04-17 02:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 02:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751224320001,"66":27397,"175":206,"78":38656,"24":47,"16":273581174712958976,"45":6655405482266814464},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-04-17 02:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751224320001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:10:59] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-17 02:10:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273581174712958976,"km_value":273581174712958.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6655405482266814464,"description":"Unknown IO ID 45"} 
[2026-04-17 02:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751224320001,"power":27397,"unknown_175":206,"unknown_78":38656,"ignition":47,"odometer":null,"unknown_45":6655405482266814464}} 
[2026-04-17 02:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":45509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:10:59] local.INFO: GPS data processed {"connection_id":45509,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:10:59] local.INFO: Acknowledgment sent {"connection_id":45509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:11:05] local.INFO: TCP Data received {"connection_id":45436,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:11:05] local.INFO: Processing buffer {"connection_id":45436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:11:05] local.INFO: IMEI packet received {"connection_id":45436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":45436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:11:06] local.INFO: TCP Data received {"connection_id":45436,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:11:06] local.INFO: Processing buffer {"connection_id":45436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:11:06] local.INFO: IMEI packet received {"connection_id":45436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":45436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:11:11] local.INFO: TCP Data received {"connection_id":45436,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45436,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:11:11] local.INFO: Processing buffer {"connection_id":45436,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:11:11] local.INFO: IMEI packet received {"connection_id":45436,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":45436,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:11:13] local.INFO: TCP Data received {"connection_id":45436,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98045510012cf6a300070b20b80007008d34..."} 
[2026-04-17 02:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98045510012cf6a300070b20b80007008d34..."} 
[2026-04-17 02:11:13] local.INFO: Processing buffer {"connection_id":45436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98045510012cf6a300070b20b80007008d34..."} 
[2026-04-17 02:11:13] local.INFO: Packet analysis {"connection_id":45436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9804"} 
[2026-04-17 02:11:13] local.INFO: Extracted packet for processing {"connection_id":45436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9804"} 
[2026-04-17 02:11:13] local.INFO: GPS Element Parsed {"raw_longitude":754361088,"raw_latitude":118169784,"longitude_deg":75.4361088,"latitude_deg":11.8169784,"altitude":7,"angle":141,"satellites":52,"speed":40,"hex_longitude":"2cf6a300","hex_latitude":"070b20b8","is_valid_coordinates":true} 
[2026-04-17 02:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:11:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,32,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 02:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776371914000,"timestamp_ms":1776371914000,"timestamp_seconds":1776371914,"priority":1,"record_length":96,"hex_timestamp":"0000019d98045510"} 
[2026-04-17 02:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:11:13] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 02:11:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:11:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28050,"32":206,"2":54272,"24":40,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,2,24,16]} 
[2026-04-17 02:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 02:11:13] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 02:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:11:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28050,"unknown_32":206,"power_alt":54272,"ignition":40,"odometer":null}} 
[2026-04-17 02:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":45436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18644,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:11:13] local.INFO: GPS data processed {"connection_id":45436,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:11:13] local.INFO: Acknowledgment sent {"connection_id":45436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:11:29] local.INFO: TCP Data received {"connection_id":45509,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98056e50012d5c7d80063670700007009a2f..."} 
[2026-04-17 02:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98056e50012d5c7d80063670700007009a2f..."} 
[2026-04-17 02:11:29] local.INFO: Processing buffer {"connection_id":45509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98056e50012d5c7d80063670700007009a2f..."} 
[2026-04-17 02:11:29] local.INFO: Packet analysis {"connection_id":45509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9805"} 
[2026-04-17 02:11:29] local.INFO: Extracted packet for processing {"connection_id":45509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9805"} 
[2026-04-17 02:11:29] local.INFO: GPS Element Parsed {"raw_longitude":761036160,"raw_latitude":104231024,"longitude_deg":76.103616,"latitude_deg":10.4231024,"altitude":7,"angle":154,"satellites":47,"speed":51,"hex_longitude":"2d5c7d80","hex_latitude":"06367070","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751226368001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273581655749296128,"note":"Value kept but may cause issues"} 
[2026-04-17 02:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6659838713147908096,"note":"Value kept but may cause issues"} 
[2026-04-17 02:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776371986000,"timestamp_ms":1776371986000,"timestamp_seconds":1776371986,"priority":1,"record_length":96,"hex_timestamp":"0000019d98056e50"} 
[2026-04-17 02:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:11: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-04-17 02:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 02:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:11: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-04-17 02:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751226368001,"66":27463,"175":206,"78":38656,"24":51,"16":273581655749296128,"45":6659838713147908096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-04-17 02:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751226368001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:11:29] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-17 02:11:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273581655749296128,"km_value":273581655749296.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6659838713147908096,"description":"Unknown IO ID 45"} 
[2026-04-17 02:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751226368001,"power":27463,"unknown_175":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6659838713147908096}} 
[2026-04-17 02:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":45509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:11:29] local.INFO: GPS data processed {"connection_id":45509,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:11:29] local.INFO: Acknowledgment sent {"connection_id":45509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:11:44] local.INFO: TCP Data received {"connection_id":45436,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9804a718012cf6d240070ae7180009008f33..."} 
[2026-04-17 02:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9804a718012cf6d240070ae7180009008f33..."} 
[2026-04-17 02:11:44] local.INFO: Processing buffer {"connection_id":45436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9804a718012cf6d240070ae7180009008f33..."} 
[2026-04-17 02:11:44] local.INFO: Packet analysis {"connection_id":45436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9804"} 
[2026-04-17 02:11:44] local.INFO: Extracted packet for processing {"connection_id":45436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9804"} 
[2026-04-17 02:11:44] local.INFO: GPS Element Parsed {"raw_longitude":754373184,"raw_latitude":118155032,"longitude_deg":75.4373184,"latitude_deg":11.8155032,"altitude":9,"angle":143,"satellites":51,"speed":0,"hex_longitude":"2cf6d240","hex_latitude":"070ae718","is_valid_coordinates":true} 
[2026-04-17 02:11: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-04-17 02:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751209984001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:11:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-674695488923977728,"note":"Value kept but may cause issues"} 
[2026-04-17 02:11:44] 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-04-17 02:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776371935000,"timestamp_ms":1776371935000,"timestamp_seconds":1776371935,"priority":1,"record_length":96,"hex_timestamp":"0000019d9804a718"} 
[2026-04-17 02:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:11:44] 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-04-17 02:11: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-04-17 02:11: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-04-17 02:11: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-04-17 02:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45436,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751209984001,"66":27908,"31":206,"2":54272,"24":0,"16":106618783551979520,"44":-674695488923977728},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-04-17 02:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751209984001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:11:44] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-04-17 02:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:11:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-674695488923977728,"description":"Unknown IO ID 44"} 
[2026-04-17 02:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751209984001,"power":27908,"unknown_31":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-674695488923977728}} 
[2026-04-17 02:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":45436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18646,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:11:44] local.INFO: GPS data processed {"connection_id":45436,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:11:44] local.INFO: Acknowledgment sent {"connection_id":45436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:11:52] local.INFO: TCP Data received {"connection_id":46254,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:11:52] local.INFO: Processing buffer {"connection_id":46254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:11:52] local.INFO: IMEI packet received {"connection_id":46254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":46254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:11:54] local.INFO: TCP Data received {"connection_id":46254,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:11:54] local.INFO: Processing buffer {"connection_id":46254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:11:54] local.INFO: IMEI packet received {"connection_id":46254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":46254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:11:57] local.INFO: TCP Data received {"connection_id":46254,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:11:57] local.INFO: Processing buffer {"connection_id":46254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:11:57] local.INFO: IMEI packet received {"connection_id":46254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":46254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:11:59] local.INFO: TCP Data received {"connection_id":46254,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d980589a8012d5c8d8006365000000700992e..."} 
[2026-04-17 02:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980589a8012d5c8d8006365000000700992e..."} 
[2026-04-17 02:11:59] local.INFO: Processing buffer {"connection_id":46254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980589a8012d5c8d8006365000000700992e..."} 
[2026-04-17 02:11:59] local.INFO: Packet analysis {"connection_id":46254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9805"} 
[2026-04-17 02:11:59] local.INFO: Extracted packet for processing {"connection_id":46254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9805"} 
[2026-04-17 02:11:59] local.INFO: GPS Element Parsed {"raw_longitude":761040256,"raw_latitude":104222720,"longitude_deg":76.1040256,"latitude_deg":10.422272,"altitude":7,"angle":153,"satellites":46,"speed":53,"hex_longitude":"2d5c8d80","hex_latitude":"06365000","is_valid_coordinates":true} 
[2026-04-17 02:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751228416001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273582102425894912,"note":"Value kept but may cause issues"} 
[2026-04-17 02:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6664623787749699584,"note":"Value kept but may cause issues"} 
[2026-04-17 02:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776371993000,"timestamp_ms":1776371993000,"timestamp_seconds":1776371993,"priority":1,"record_length":96,"hex_timestamp":"0000019d980589a8"} 
[2026-04-17 02:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 02:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751228416001,"66":27397,"175":206,"78":38656,"24":53,"16":273582102425894912,"45":6664623787749699584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-04-17 02:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751228416001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:11:59] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-17 02:11:59] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273582102425894912,"km_value":273582102425894.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6664623787749699584,"description":"Unknown IO ID 45"} 
[2026-04-17 02:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751228416001,"power":27397,"unknown_175":206,"unknown_78":38656,"ignition":53,"odometer":null,"unknown_45":6664623787749699584}} 
[2026-04-17 02:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":46254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:11:59] local.INFO: GPS data processed {"connection_id":46254,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:11:59] local.INFO: Acknowledgment sent {"connection_id":46254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:12:03] local.INFO: TCP Data received {"connection_id":46254,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9805a500012d5c9e0006362ee8000800982f..."} 
[2026-04-17 02:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9805a500012d5c9e0006362ee8000800982f..."} 
[2026-04-17 02:12:03] local.INFO: Processing buffer {"connection_id":46254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9805a500012d5c9e0006362ee8000800982f..."} 
[2026-04-17 02:12:03] local.INFO: Packet analysis {"connection_id":46254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9805"} 
[2026-04-17 02:12:03] local.INFO: Extracted packet for processing {"connection_id":46254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9805"} 
[2026-04-17 02:12:03] local.INFO: GPS Element Parsed {"raw_longitude":761044480,"raw_latitude":104214248,"longitude_deg":76.104448,"latitude_deg":10.4214248,"altitude":8,"angle":152,"satellites":47,"speed":53,"hex_longitude":"2d5c9e00","hex_latitude":"06362ee8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751230208001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273582557692428288,"note":"Value kept but may cause issues"} 
[2026-04-17 02:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6669127387374944256,"note":"Value kept but may cause issues"} 
[2026-04-17 02:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,175,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776372000000,"timestamp_ms":1776372000000,"timestamp_seconds":1776372000,"priority":1,"record_length":96,"hex_timestamp":"0000019d9805a500"} 
[2026-04-17 02:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:12: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-04-17 02: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":5,"data_length":795,"current_offset":136} 
[2026-04-17 02:12:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:12:03] 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-04-17 02:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751230208001,"66":27463,"175":206,"78":38656,"24":53,"16":273582557692428288,"45":6669127387374944256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,175,78,24,16,45]} 
[2026-04-17 02:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751230208001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:12:03] local.INFO: Unknown IO ID detected {"io_id":175,"value":206,"description":"Unknown IO ID 175"} 
[2026-04-17 02:12:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273582557692428288,"km_value":273582557692428.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6669127387374944256,"description":"Unknown IO ID 45"} 
[2026-04-17 02:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751230208001,"power":27463,"unknown_175":206,"unknown_78":38656,"ignition":53,"odometer":null,"unknown_45":6669127387374944256}} 
[2026-04-17 02:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":46254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:12:03] local.INFO: GPS data processed {"connection_id":46254,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:12:03] local.INFO: Acknowledgment sent {"connection_id":46254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:12:06] local.INFO: TCP Data received {"connection_id":45698,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:12:06] local.INFO: Processing buffer {"connection_id":45698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:12:06] local.INFO: IMEI packet received {"connection_id":45698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":45698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:12:10] local.INFO: TCP Data received {"connection_id":45698,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45698,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:12:10] local.INFO: Processing buffer {"connection_id":45698,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:12:10] local.INFO: IMEI packet received {"connection_id":45698,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":45698,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:12:11] local.INFO: TCP Data received {"connection_id":45698,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9804f920012cf6fc40070aabb0000a009134..."} 
[2026-04-17 02:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9804f920012cf6fc40070aabb0000a009134..."} 
[2026-04-17 02:12:11] local.INFO: Processing buffer {"connection_id":45698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9804f920012cf6fc40070aabb0000a009134..."} 
[2026-04-17 02:12:11] local.INFO: Packet analysis {"connection_id":45698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9804"} 
[2026-04-17 02:12:11] local.INFO: Extracted packet for processing {"connection_id":45698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9804"} 
[2026-04-17 02:12:11] local.INFO: GPS Element Parsed {"raw_longitude":754383936,"raw_latitude":118139824,"longitude_deg":75.4383936,"latitude_deg":11.8139824,"altitude":10,"angle":145,"satellites":52,"speed":0,"hex_longitude":"2cf6fc40","hex_latitude":"070aabb0","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:12:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751215360001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:12:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:12:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-661395796278175744,"note":"Value kept but may cause issues"} 
[2026-04-17 02:12:11] 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-04-17 02:12:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776371956000,"timestamp_ms":1776371956000,"timestamp_seconds":1776371956,"priority":1,"record_length":96,"hex_timestamp":"0000019d9804f920"} 
[2026-04-17 02:12:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:12:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:12:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 02:12: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-04-17 02: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-04-17 02:12:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:12:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:12:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:12:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:12:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:12:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:12:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:12:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:12:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751215360001,"66":27865,"31":206,"2":54272,"24":0,"16":106618783551979520,"44":-661395796278175744},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-04-17 02:12:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:12:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:12:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751215360001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:12:11] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-04-17 02:12:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:12:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-661395796278175744,"description":"Unknown IO ID 44"} 
[2026-04-17 02:12:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751215360001,"power":27865,"unknown_31":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-661395796278175744}} 
[2026-04-17 02:12:11] local.INFO: DEBUG: GPS processor result {"connection_id":45698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18649,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:12:11] local.INFO: GPS data processed {"connection_id":45698,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:12:11] local.INFO: Acknowledgment sent {"connection_id":45698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:12:34] local.INFO: TCP Data received {"connection_id":46254,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d980723d0012d5d9840063496680008009930..."} 
[2026-04-17 02:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980723d0012d5d9840063496680008009930..."} 
[2026-04-17 02:12:34] local.INFO: Processing buffer {"connection_id":46254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980723d0012d5d9840063496680008009930..."} 
[2026-04-17 02:12:34] local.INFO: Packet analysis {"connection_id":46254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9807"} 
[2026-04-17 02:12:34] local.INFO: Extracted packet for processing {"connection_id":46254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9807"} 
[2026-04-17 02:12:34] local.INFO: GPS Element Parsed {"raw_longitude":761108544,"raw_latitude":104109672,"longitude_deg":76.1108544,"latitude_deg":10.4109672,"altitude":8,"angle":153,"satellites":48,"speed":53,"hex_longitude":"2d5d9840","hex_latitude":"06349668","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751255296001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273588501927165952,"note":"Value kept but may cause issues"} 
[2026-04-17 02:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6739707237758328832,"note":"Value kept but may cause issues"} 
[2026-04-17 02:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776372098000,"timestamp_ms":1776372098000,"timestamp_seconds":1776372098,"priority":1,"record_length":96,"hex_timestamp":"0000019d980723d0"} 
[2026-04-17 02:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 02:12: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-04-17 02: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-04-17 02:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":46254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":46254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":46254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751255296001,"66":27376,"190":206,"78":38656,"24":53,"16":273588501927165952,"45":6739707237758328832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-04-17 02:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751255296001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:12:34] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-04-17 02:12:34] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273588501927165952,"km_value":273588501927165.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6739707237758328832,"description":"Unknown IO ID 45"} 
[2026-04-17 02:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751255296001,"power":27376,"unknown_190":206,"unknown_78":38656,"ignition":53,"odometer":null,"unknown_45":6739707237758328832}} 
[2026-04-17 02:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":46254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:12:34] local.INFO: GPS data processed {"connection_id":46254,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:12:34] local.INFO: Acknowledgment sent {"connection_id":46254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:12:43] local.INFO: TCP Data received {"connection_id":45698,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98054b28012cf72840070a7220000d008b34..."} 
[2026-04-17 02:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98054b28012cf72840070a7220000d008b34..."} 
[2026-04-17 02:12:43] local.INFO: Processing buffer {"connection_id":45698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98054b28012cf72840070a7220000d008b34..."} 
[2026-04-17 02:12:43] local.INFO: Packet analysis {"connection_id":45698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9805"} 
[2026-04-17 02:12:43] local.INFO: Extracted packet for processing {"connection_id":45698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9805"} 
[2026-04-17 02:12:43] local.INFO: GPS Element Parsed {"raw_longitude":754395200,"raw_latitude":118125088,"longitude_deg":75.43952,"latitude_deg":11.8125088,"altitude":13,"angle":139,"satellites":52,"speed":0,"hex_longitude":"2cf72840","hex_latitude":"070a7220","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751220736001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:12:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-649573847260221440,"note":"Value kept but may cause issues"} 
[2026-04-17 02:12:43] 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-04-17 02:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776371977000,"timestamp_ms":1776371977000,"timestamp_seconds":1776371977,"priority":1,"record_length":96,"hex_timestamp":"0000019d98054b28"} 
[2026-04-17 02:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:12: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-04-17 02: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-17 02:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45698,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:12:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:12:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751220736001,"66":27821,"31":206,"2":54272,"24":0,"16":106618783551979520,"44":-649573847260221440},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16,44]} 
[2026-04-17 02:12:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:12:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:12:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751220736001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:12:43] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-04-17 02:12:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:12:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-649573847260221440,"description":"Unknown IO ID 44"} 
[2026-04-17 02:12:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751220736001,"power":27821,"unknown_31":206,"power_alt":54272,"ignition":0,"odometer":null,"unknown_44":-649573847260221440}} 
[2026-04-17 02:12:43] local.INFO: DEBUG: GPS processor result {"connection_id":45698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18651,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:12:43] local.INFO: GPS data processed {"connection_id":45698,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:12:43] local.INFO: Acknowledgment sent {"connection_id":45698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:12:52] local.INFO: TCP Data received {"connection_id":46255,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:12:52] local.INFO: Processing buffer {"connection_id":46255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:12:52] local.INFO: IMEI packet received {"connection_id":46255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":46255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:12:57] local.INFO: TCP Data received {"connection_id":46255,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:12:57] local.INFO: Processing buffer {"connection_id":46255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:12:57] local.INFO: IMEI packet received {"connection_id":46255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":46255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:12:58] local.INFO: TCP Data received {"connection_id":46255,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98073f28012d5da980063473b00005009930..."} 
[2026-04-17 02:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98073f28012d5da980063473b00005009930..."} 
[2026-04-17 02:12:58] local.INFO: Processing buffer {"connection_id":46255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98073f28012d5da980063473b00005009930..."} 
[2026-04-17 02:12:58] local.INFO: Packet analysis {"connection_id":46255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9807"} 
[2026-04-17 02:12:58] local.INFO: Extracted packet for processing {"connection_id":46255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9807"} 
[2026-04-17 02:12:58] local.INFO: GPS Element Parsed {"raw_longitude":761112960,"raw_latitude":104100784,"longitude_deg":76.111296,"latitude_deg":10.4100784,"altitude":5,"angle":153,"satellites":48,"speed":58,"hex_longitude":"2d5da980","hex_latitude":"063473b0","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751257088001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273588978668535808,"note":"Value kept but may cause issues"} 
[2026-04-17 02:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6744210837383571456,"note":"Value kept but may cause issues"} 
[2026-04-17 02:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776372105000,"timestamp_ms":1776372105000,"timestamp_seconds":1776372105,"priority":1,"record_length":96,"hex_timestamp":"0000019d98073f28"} 
[2026-04-17 02:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:12: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-04-17 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 02:12: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-04-17 02: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-04-17 02:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751257088001,"66":27365,"190":206,"78":38656,"24":58,"16":273588978668535808,"45":6744210837383571456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-04-17 02:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751257088001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:12:58] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-04-17 02:12:58] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273588978668535808,"km_value":273588978668535.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6744210837383571456,"description":"Unknown IO ID 45"} 
[2026-04-17 02:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751257088001,"power":27365,"unknown_190":206,"unknown_78":38656,"ignition":58,"odometer":null,"unknown_45":6744210837383571456}} 
[2026-04-17 02:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":46255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:12:58] local.INFO: GPS data processed {"connection_id":46255,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:12:58] local.INFO: Acknowledgment sent {"connection_id":46255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:13:01] local.INFO: TCP Data received {"connection_id":45510,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:13:01] local.INFO: Processing buffer {"connection_id":45510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:13:01] local.INFO: IMEI packet received {"connection_id":45510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":45510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:13:01] local.INFO: TCP Data received {"connection_id":45510,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:13:01] local.INFO: Processing buffer {"connection_id":45510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:13:01] local.INFO: IMEI packet received {"connection_id":45510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":45510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:13:06] local.INFO: TCP Data received {"connection_id":45510,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45510,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:13:06] local.INFO: Processing buffer {"connection_id":45510,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:13:06] local.INFO: IMEI packet received {"connection_id":45510,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":45510,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:13:07] local.INFO: TCP Data received {"connection_id":45510,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98064cf80100000000000000000000000000..."} 
[2026-04-17 02:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98064cf80100000000000000000000000000..."} 
[2026-04-17 02:13:07] local.INFO: Processing buffer {"connection_id":45510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98064cf80100000000000000000000000000..."} 
[2026-04-17 02:13:07] local.INFO: Packet analysis {"connection_id":45510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9806"} 
[2026-04-17 02:13:07] local.INFO: Extracted packet for processing {"connection_id":45510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9806"} 
[2026-04-17 02:13:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 02:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751226112001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:13:07] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-637188948288724992,"note":"Value kept but may cause issues"} 
[2026-04-17 02:13:07] 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-04-17 02:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776372043000,"timestamp_ms":1776372043000,"timestamp_seconds":1776372043,"priority":1,"record_length":96,"hex_timestamp":"0000019d98064cf8"} 
[2026-04-17 02:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:13:07] 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-04-17 02:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 02:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:13:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":45510,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 02:13:07] local.INFO: GPS data processed {"connection_id":45510,"processed":0,"errors":0,"total":1} 
[2026-04-17 02:13:07] local.INFO: Acknowledgment sent {"connection_id":45510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:13:30] local.INFO: TCP Data received {"connection_id":46255,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98075698012d5dbac0063454b0000400922e..."} 
[2026-04-17 02:13:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98075698012d5dbac0063454b0000400922e..."} 
[2026-04-17 02:13:30] local.INFO: Processing buffer {"connection_id":46255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98075698012d5dbac0063454b0000400922e..."} 
[2026-04-17 02:13:30] local.INFO: Packet analysis {"connection_id":46255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9807"} 
[2026-04-17 02:13:30] local.INFO: Extracted packet for processing {"connection_id":46255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9807"} 
[2026-04-17 02:13:30] local.INFO: GPS Element Parsed {"raw_longitude":761117376,"raw_latitude":104092848,"longitude_deg":76.1117376,"latitude_deg":10.4092848,"altitude":4,"angle":146,"satellites":46,"speed":59,"hex_longitude":"2d5dbac0","hex_latitude":"063454b0","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:13:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751258880001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:13:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273589416755200000,"note":"Value kept but may cause issues"} 
[2026-04-17 02:13:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6749066280729554944,"note":"Value kept but may cause issues"} 
[2026-04-17 02:13:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:13:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776372111000,"timestamp_ms":1776372111000,"timestamp_seconds":1776372111,"priority":1,"record_length":96,"hex_timestamp":"0000019d98075698"} 
[2026-04-17 02:13:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:13: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-04-17 02:13:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 02:13: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-04-17 02: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-04-17 02:13:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:13:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:13:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:13:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:13:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:13: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-04-17 02:13:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:13:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:13:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751258880001,"66":27376,"190":206,"78":38656,"24":59,"16":273589416755200000,"45":6749066280729554944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-04-17 02:13:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:13:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:13:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751258880001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:13:30] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-04-17 02:13:30] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:13:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273589416755200000,"km_value":273589416755200,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:13:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6749066280729554944,"description":"Unknown IO ID 45"} 
[2026-04-17 02:13:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751258880001,"power":27376,"unknown_190":206,"unknown_78":38656,"ignition":59,"odometer":null,"unknown_45":6749066280729554944}} 
[2026-04-17 02:13:30] local.INFO: DEBUG: GPS processor result {"connection_id":46255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:13:30] local.INFO: GPS data processed {"connection_id":46255,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:13:30] local.INFO: Acknowledgment sent {"connection_id":46255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:13:48] local.INFO: TCP Data received {"connection_id":45510,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9805bc70012cf78580070a0268000a008a32..."} 
[2026-04-17 02:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9805bc70012cf78580070a0268000a008a32..."} 
[2026-04-17 02:13:48] local.INFO: Processing buffer {"connection_id":45510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9805bc70012cf78580070a0268000a008a32..."} 
[2026-04-17 02:13:48] local.INFO: Packet analysis {"connection_id":45510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9805"} 
[2026-04-17 02:13:48] local.INFO: Extracted packet for processing {"connection_id":45510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9805"} 
[2026-04-17 02:13:48] local.INFO: GPS Element Parsed {"raw_longitude":754419072,"raw_latitude":118096488,"longitude_deg":75.4419072,"latitude_deg":11.8096488,"altitude":10,"angle":138,"satellites":50,"speed":46,"hex_longitude":"2cf78580","hex_latitude":"070a0268","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:13:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,31,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 02:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776372006000,"timestamp_ms":1776372006000,"timestamp_seconds":1776372006,"priority":1,"record_length":96,"hex_timestamp":"0000019d9805bc70"} 
[2026-04-17 02:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:13:48] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 02:13:48] 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-04-17 02: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-04-17 02:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45510,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27887,"31":206,"2":54272,"24":46,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,2,24,16]} 
[2026-04-17 02:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 02:13:48] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-04-17 02:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:13:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27887,"unknown_31":206,"power_alt":54272,"ignition":46,"odometer":null}} 
[2026-04-17 02:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":45510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18654,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:13:48] local.INFO: GPS data processed {"connection_id":45510,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:13:48] local.INFO: Acknowledgment sent {"connection_id":45510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:13:56] local.INFO: TCP Data received {"connection_id":45699,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:13:56] local.INFO: Processing buffer {"connection_id":45699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:13:56] local.INFO: IMEI packet received {"connection_id":45699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":45699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:13:57] local.INFO: TCP Data received {"connection_id":45699,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:13:57] local.INFO: Processing buffer {"connection_id":45699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:13:57] local.INFO: IMEI packet received {"connection_id":45699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":45699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:14:02] local.INFO: TCP Data received {"connection_id":45699,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:14:02] local.INFO: Processing buffer {"connection_id":45699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:14:02] local.INFO: IMEI packet received {"connection_id":45699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:14:02] local.INFO: IMEI acknowledgment sent {"connection_id":45699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:14:03] local.INFO: TCP Data received {"connection_id":45699,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d980771f0012d5dd28006343490000500922e..."} 
[2026-04-17 02:14:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980771f0012d5dd28006343490000500922e..."} 
[2026-04-17 02:14:03] local.INFO: Processing buffer {"connection_id":45699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980771f0012d5dd28006343490000500922e..."} 
[2026-04-17 02:14:03] local.INFO: Packet analysis {"connection_id":45699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9807"} 
[2026-04-17 02:14:03] local.INFO: Extracted packet for processing {"connection_id":45699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9807"} 
[2026-04-17 02:14:03] local.INFO: GPS Element Parsed {"raw_longitude":761123456,"raw_latitude":104084624,"longitude_deg":76.1123456,"latitude_deg":10.4084624,"altitude":5,"angle":146,"satellites":46,"speed":55,"hex_longitude":"2d5dd280","hex_latitude":"06343490","is_valid_coordinates":true} 
[2026-04-17 02:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:14:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751260416001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:14:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273589910676439040,"note":"Value kept but may cause issues"} 
[2026-04-17 02:14:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6753921724075782144,"note":"Value kept but may cause issues"} 
[2026-04-17 02:14:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,190,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:14:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776372118000,"timestamp_ms":1776372118000,"timestamp_seconds":1776372118,"priority":1,"record_length":96,"hex_timestamp":"0000019d980771f0"} 
[2026-04-17 02:14:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:14:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:14:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 02:14: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-04-17 02:14:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:14:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:14:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:14:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:14:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:14:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:14:03] 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-04-17 02:14:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:14:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:14:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751260416001,"66":27463,"190":206,"78":38656,"24":55,"16":273589910676439040,"45":6753921724075782144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,190,78,24,16,45]} 
[2026-04-17 02:14:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:14:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:14:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751260416001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:14:03] local.INFO: Unknown IO ID detected {"io_id":190,"value":206,"description":"Unknown IO ID 190"} 
[2026-04-17 02:14:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:14:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273589910676439040,"km_value":273589910676439.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:14:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6753921724075782144,"description":"Unknown IO ID 45"} 
[2026-04-17 02:14:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751260416001,"power":27463,"unknown_190":206,"unknown_78":38656,"ignition":55,"odometer":null,"unknown_45":6753921724075782144}} 
[2026-04-17 02:14:03] local.INFO: DEBUG: GPS processor result {"connection_id":45699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:14:03] local.INFO: GPS data processed {"connection_id":45699,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:14:03] local.INFO: Acknowledgment sent {"connection_id":45699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:14:06] local.INFO: TCP Data received {"connection_id":45511,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:14:06] local.INFO: Processing buffer {"connection_id":45511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:14:06] local.INFO: IMEI packet received {"connection_id":45511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:14:06] local.INFO: IMEI acknowledgment sent {"connection_id":45511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:14:09] local.INFO: TCP Data received {"connection_id":45511,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:14:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:14:09] local.INFO: Processing buffer {"connection_id":45511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:14:09] local.INFO: IMEI packet received {"connection_id":45511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:14:09] local.INFO: IMEI acknowledgment sent {"connection_id":45511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:14:10] local.INFO: TCP Data received {"connection_id":45511,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98060e78012cf7be000709c460000a008c2e..."} 
[2026-04-17 02:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98060e78012cf7be000709c460000a008c2e..."} 
[2026-04-17 02:14:10] local.INFO: Processing buffer {"connection_id":45511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98060e78012cf7be000709c460000a008c2e..."} 
[2026-04-17 02:14:10] local.INFO: Packet analysis {"connection_id":45511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9806"} 
[2026-04-17 02:14:10] local.INFO: Extracted packet for processing {"connection_id":45511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9806"} 
[2026-04-17 02:14:10] local.INFO: GPS Element Parsed {"raw_longitude":754433536,"raw_latitude":118080608,"longitude_deg":75.4433536,"latitude_deg":11.8080608,"altitude":10,"angle":140,"satellites":46,"speed":0,"hex_longitude":"2cf7be00","hex_latitude":"0709c460","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:14:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751233536001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:14:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:14:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-610941406717777920,"note":"Value kept but may cause issues"} 
[2026-04-17 02:14:10] 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-04-17 02:14:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776372027000,"timestamp_ms":1776372027000,"timestamp_seconds":1776372027,"priority":1,"record_length":96,"hex_timestamp":"0000019d98060e78"} 
[2026-04-17 02:14:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:14:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 02:14: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-04-17 02: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-04-17 02:14:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:14:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:14:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:14:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:14:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:14:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:14:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:14:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:14:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751233536001,"66":27887,"167":206,"28":32256,"24":0,"16":106618783551979520,"44":-610941406717777920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,44]} 
[2026-04-17 02:14:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:14:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:14:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751233536001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:14:10] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-17 02:14:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:14:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:14:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-610941406717777920,"description":"Unknown IO ID 44"} 
[2026-04-17 02:14:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751233536001,"power":27887,"unknown_167":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-610941406717777920}} 
[2026-04-17 02:14:10] local.INFO: DEBUG: GPS processor result {"connection_id":45511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18656,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:14:10] local.INFO: GPS data processed {"connection_id":45511,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:14:10] local.INFO: Acknowledgment sent {"connection_id":45511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:14:36] local.INFO: TCP Data received {"connection_id":45699,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9808fc78012d5eb38006325d400005009830..."} 
[2026-04-17 02:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9808fc78012d5eb38006325d400005009830..."} 
[2026-04-17 02:14:36] local.INFO: Processing buffer {"connection_id":45699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9808fc78012d5eb38006325d400005009830..."} 
[2026-04-17 02:14:36] local.INFO: Packet analysis {"connection_id":45699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9808"} 
[2026-04-17 02:14:36] local.INFO: Extracted packet for processing {"connection_id":45699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9808"} 
[2026-04-17 02:14:36] local.INFO: GPS Element Parsed {"raw_longitude":761181056,"raw_latitude":103963968,"longitude_deg":76.1181056,"latitude_deg":10.3963968,"altitude":5,"angle":152,"satellites":48,"speed":51,"hex_longitude":"2d5eb380","hex_latitude":"06325d40","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751286272001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273596378897186816,"note":"Value kept but may cause issues"} 
[2026-04-17 02:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6819294287385937920,"note":"Value kept but may cause issues"} 
[2026-04-17 02:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776372219000,"timestamp_ms":1776372219000,"timestamp_seconds":1776372219,"priority":1,"record_length":96,"hex_timestamp":"0000019d9808fc78"} 
[2026-04-17 02:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:14: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-04-17 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 02:14:36] 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-04-17 02: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-04-17 02:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":45699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":45699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":45699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751286272001,"66":27365,"143":206,"78":38656,"24":51,"16":273596378897186816,"45":6819294287385937920},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-04-17 02:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751286272001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:14:36] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-04-17 02:14:36] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273596378897186816,"km_value":273596378897186.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":6819294287385937920,"description":"Unknown IO ID 45"} 
[2026-04-17 02:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751286272001,"power":27365,"unknown_143":206,"unknown_78":38656,"ignition":51,"odometer":null,"unknown_45":6819294287385937920}} 
[2026-04-17 02:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":45699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:14:36] local.INFO: GPS data processed {"connection_id":45699,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:14:36] local.INFO: Acknowledgment sent {"connection_id":45699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:14:42] local.INFO: TCP Data received {"connection_id":45511,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d980710480100000000000000000000000000..."} 
[2026-04-17 02:14:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980710480100000000000000000000000000..."} 
[2026-04-17 02:14:42] local.INFO: Processing buffer {"connection_id":45511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980710480100000000000000000000000000..."} 
[2026-04-17 02:14:42] local.INFO: Packet analysis {"connection_id":45511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9807"} 
[2026-04-17 02:14:42] local.INFO: Extracted packet for processing {"connection_id":45511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9807"} 
[2026-04-17 02:14:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 02:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:14:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751238912001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:14:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:14:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-595038070537691136,"note":"Value kept but may cause issues"} 
[2026-04-17 02:14:42] 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-04-17 02:14:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776372093000,"timestamp_ms":1776372093000,"timestamp_seconds":1776372093,"priority":1,"record_length":96,"hex_timestamp":"0000019d98071048"} 
[2026-04-17 02:14:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:14:42] 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-04-17 02:14:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 02:14:42] 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-04-17 02:14:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:14:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:14:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:14:42] local.INFO: Teltonika packet parsed successfully {"connection_id":45511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:14:42] local.INFO: Passing IMEI to GPS processor {"connection_id":45511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:14:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":45511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:14:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:14:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:14:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:14:42] local.INFO: DEBUG: GPS processor result {"connection_id":45511,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 02:14:42] local.INFO: GPS data processed {"connection_id":45511,"processed":0,"errors":0,"total":1} 
[2026-04-17 02:14:42] local.INFO: Acknowledgment sent {"connection_id":45511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:14:53] local.INFO: TCP Data received {"connection_id":45700,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:14:53] local.INFO: Processing buffer {"connection_id":45700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:14:53] local.INFO: IMEI packet received {"connection_id":45700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:14:53] local.INFO: IMEI acknowledgment sent {"connection_id":45700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:14:55] local.INFO: TCP Data received {"connection_id":45700,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:14:55] local.INFO: Processing buffer {"connection_id":45700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:14:55] local.INFO: IMEI packet received {"connection_id":45700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":45700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:15:03] local.INFO: TCP Data received {"connection_id":45700,"ip":"42.106.6.18","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019d98..."} 
[2026-04-17 02:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45700,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019d98..."} 
[2026-04-17 02:15:03] local.INFO: Processing buffer {"connection_id":45700,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019d98..."} 
[2026-04-17 02:15:03] local.INFO: IMEI packet received {"connection_id":45700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:15:03] local.INFO: IMEI acknowledgment sent {"connection_id":45700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:15:03] local.INFO: TCP Data received {"connection_id":45700,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98093328012d5ed14006321cf80006009f30..."} 
[2026-04-17 02:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98093328012d5ed14006321cf80006009f30..."} 
[2026-04-17 02:15:03] local.INFO: Processing buffer {"connection_id":45700,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019d980917d0012d5ec34006323d800005009b30..."} 
[2026-04-17 02:15:03] local.INFO: Packet analysis {"connection_id":45700,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d9809"} 
[2026-04-17 02:15:03] local.INFO: Extracted packet for processing {"connection_id":45700,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9809"} 
[2026-04-17 02:15:03] local.INFO: GPS Element Parsed {"raw_longitude":761185088,"raw_latitude":103955840,"longitude_deg":76.1185088,"latitude_deg":10.395584,"altitude":5,"angle":155,"satellites":48,"speed":52,"hex_longitude":"2d5ec340","hex_latitude":"06323d80","is_valid_coordinates":true} 
[2026-04-17 02:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751288064001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273596821278818304,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6823938624499564544,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776372226000,"timestamp_ms":1776372226000,"timestamp_seconds":1776372226,"priority":1,"record_length":96,"hex_timestamp":"0000019d980917d0"} 
[2026-04-17 02:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:15: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-04-17 02:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 02:15: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-04-17 02:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:15:03] 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-04-17 02:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751288064001,"66":27365,"143":206,"78":38656,"24":52,"16":273596821278818304,"45":6823938624499564544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,78,24,16,45]} 
[2026-04-17 02:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751288064001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:15:03] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-04-17 02:15:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273596821278818304,"km_value":273596821278818.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6823938624499564544,"description":"Unknown IO ID 45"} 
[2026-04-17 02:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751288064001,"power":27365,"unknown_143":206,"unknown_78":38656,"ignition":52,"odometer":null,"unknown_45":6823938624499564544}} 
[2026-04-17 02:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":45700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:15:03] local.INFO: GPS data processed {"connection_id":45700,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:15:03] local.INFO: Acknowledgment sent {"connection_id":45700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:15:03] local.INFO: Packet analysis {"connection_id":45700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9809"} 
[2026-04-17 02:15:03] local.INFO: Extracted packet for processing {"connection_id":45700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9809"} 
[2026-04-17 02:15:03] local.INFO: GPS Element Parsed {"raw_longitude":761188672,"raw_latitude":103947512,"longitude_deg":76.1188672,"latitude_deg":10.3947512,"altitude":6,"angle":159,"satellites":48,"speed":50,"hex_longitude":"2d5ed140","hex_latitude":"06321cf8","is_valid_coordinates":true} 
[2026-04-17 02:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751289856001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273597259365482496,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6828371855380676608,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776372233000,"timestamp_ms":1776372233000,"timestamp_seconds":1776372233,"priority":1,"record_length":96,"hex_timestamp":"0000019d98093328"} 
[2026-04-17 02:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:15: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-04-17 02:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 02:15: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-04-17 02:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:15:03] 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-04-17 02:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751289856001,"66":27365,"144":206,"78":38656,"24":50,"16":273597259365482496,"45":6828371855380676608},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-04-17 02:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751289856001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:15:03] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-04-17 02:15:03] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273597259365482496,"km_value":273597259365482.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6828371855380676608,"description":"Unknown IO ID 45"} 
[2026-04-17 02:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751289856001,"power":27365,"unknown_144":206,"unknown_78":38656,"ignition":50,"odometer":null,"unknown_45":6828371855380676608}} 
[2026-04-17 02:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":45700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:15:03] local.INFO: GPS data processed {"connection_id":45700,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:15:03] local.INFO: Acknowledgment sent {"connection_id":45700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:15:04] local.INFO: TCP Data received {"connection_id":45700,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98094e80012d5ed9c00631fcb0000800ac30..."} 
[2026-04-17 02:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98094e80012d5ed9c00631fcb0000800ac30..."} 
[2026-04-17 02:15:04] local.INFO: Processing buffer {"connection_id":45700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98094e80012d5ed9c00631fcb0000800ac30..."} 
[2026-04-17 02:15:04] local.INFO: Packet analysis {"connection_id":45700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9809"} 
[2026-04-17 02:15:04] local.INFO: Extracted packet for processing {"connection_id":45700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9809"} 
[2026-04-17 02:15:04] local.INFO: GPS Element Parsed {"raw_longitude":761190848,"raw_latitude":103939248,"longitude_deg":76.1190848,"latitude_deg":10.3939248,"altitude":8,"angle":172,"satellites":48,"speed":46,"hex_longitude":"2d5ed9c0","hex_latitude":"0631fcb0","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:15:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751291648001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273597675977310208,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6832312505052493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:15:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776372240000,"timestamp_ms":1776372240000,"timestamp_seconds":1776372240,"priority":1,"record_length":96,"hex_timestamp":"0000019d98094e80"} 
[2026-04-17 02:15:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:15:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 02:15: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-04-17 02: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-04-17 02:15:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:15:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:15:04] local.INFO: Teltonika packet parsed successfully {"connection_id":45700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:15:04] local.INFO: Passing IMEI to GPS processor {"connection_id":45700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:15:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":45700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:15:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:15:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:15:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:15:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751291648001,"66":27321,"144":206,"78":38656,"24":46,"16":273597675977310208,"45":6832312505052493824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-04-17 02:15:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:15:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:15:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751291648001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:15:04] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-04-17 02:15:04] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:15:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273597675977310208,"km_value":273597675977310.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:15:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":6832312505052493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:15:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751291648001,"power":27321,"unknown_144":206,"unknown_78":38656,"ignition":46,"odometer":null,"unknown_45":6832312505052493824}} 
[2026-04-17 02:15:04] local.INFO: DEBUG: GPS processor result {"connection_id":45700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:15:04] local.INFO: GPS data processed {"connection_id":45700,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:15:04] local.INFO: Acknowledgment sent {"connection_id":45700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:15:06] local.INFO: TCP Data received {"connection_id":45512,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:15:06] local.INFO: Processing buffer {"connection_id":45512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:15:06] local.INFO: IMEI packet received {"connection_id":45512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:15:06] local.INFO: IMEI acknowledgment sent {"connection_id":45512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:15:09] local.INFO: TCP Data received {"connection_id":45512,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:15:09] local.INFO: Processing buffer {"connection_id":45512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:15:09] local.INFO: IMEI packet received {"connection_id":45512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:15:09] local.INFO: IMEI acknowledgment sent {"connection_id":45512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:15:10] local.INFO: TCP Data received {"connection_id":45512,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98092388012cf9ee000706ba200008006133..."} 
[2026-04-17 02:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98092388012cf9ee000706ba200008006133..."} 
[2026-04-17 02:15:10] local.INFO: Processing buffer {"connection_id":45512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98092388012cf9ee000706ba200008006133..."} 
[2026-04-17 02:15:10] local.INFO: Packet analysis {"connection_id":45512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9809"} 
[2026-04-17 02:15:10] local.INFO: Extracted packet for processing {"connection_id":45512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9809"} 
[2026-04-17 02:15:10] local.INFO: GPS Element Parsed {"raw_longitude":754576896,"raw_latitude":117881376,"longitude_deg":75.4576896,"latitude_deg":11.7881376,"altitude":8,"angle":97,"satellites":51,"speed":52,"hex_longitude":"2cf9ee00","hex_latitude":"0706ba20","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:15:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751286016001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-458311600649480192,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:10] 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-04-17 02:15:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776372229000,"timestamp_ms":1776372229000,"timestamp_seconds":1776372229,"priority":1,"record_length":96,"hex_timestamp":"0000019d98092388"} 
[2026-04-17 02:15:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:15:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 02:15:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:15:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:15:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:15:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:15:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:15:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:15:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:15:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:15:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:15:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751286016001,"66":28050,"166":206,"28":32256,"24":52,"16":106618783551979520,"44":-458311600649480192},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-04-17 02:15:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:15:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:15:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751286016001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:15:10] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-17 02:15:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:15:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:15:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-458311600649480192,"description":"Unknown IO ID 44"} 
[2026-04-17 02:15:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751286016001,"power":28050,"unknown_166":206,"unknown_28":32256,"ignition":52,"odometer":null,"unknown_44":-458311600649480192}} 
[2026-04-17 02:15:10] local.INFO: DEBUG: GPS processor result {"connection_id":45512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18661,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:15:10] local.INFO: GPS data processed {"connection_id":45512,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:15:10] local.INFO: Acknowledgment sent {"connection_id":45512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:15:35] local.INFO: TCP Data received {"connection_id":45700,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d980965f0012d5edb000631e240000a00b830..."} 
[2026-04-17 02:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980965f0012d5edb000631e240000a00b830..."} 
[2026-04-17 02:15:35] local.INFO: Processing buffer {"connection_id":45700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980965f0012d5edb000631e240000a00b830..."} 
[2026-04-17 02:15:35] local.INFO: Packet analysis {"connection_id":45700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9809"} 
[2026-04-17 02:15:35] local.INFO: Extracted packet for processing {"connection_id":45700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9809"} 
[2026-04-17 02:15:35] local.INFO: GPS Element Parsed {"raw_longitude":761191168,"raw_latitude":103932480,"longitude_deg":76.1191168,"latitude_deg":10.393248,"altitude":10,"angle":184,"satellites":48,"speed":43,"hex_longitude":"2d5edb00","hex_latitude":"0631e240","is_valid_coordinates":true} 
[2026-04-17 02:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:15:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751293440001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273598002394824704,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6834705042352418816,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:15:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776372246000,"timestamp_ms":1776372246000,"timestamp_seconds":1776372246,"priority":1,"record_length":96,"hex_timestamp":"0000019d980965f0"} 
[2026-04-17 02:15:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:15:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:15:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 02:15:35] 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-04-17 02:15:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:15:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:15:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:15:35] local.INFO: Teltonika packet parsed successfully {"connection_id":45700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:15:35] local.INFO: Passing IMEI to GPS processor {"connection_id":45700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:15:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":45700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:15: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-04-17 02:15:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:15:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:15:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751293440001,"66":27267,"144":206,"78":38656,"24":43,"16":273598002394824704,"45":6834705042352418816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-04-17 02:15:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:15:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:15:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751293440001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:15:35] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-04-17 02:15:35] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:15:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273598002394824704,"km_value":273598002394824.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:15:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":6834705042352418816,"description":"Unknown IO ID 45"} 
[2026-04-17 02:15:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751293440001,"power":27267,"unknown_144":206,"unknown_78":38656,"ignition":43,"odometer":null,"unknown_45":6834705042352418816}} 
[2026-04-17 02:15:35] local.INFO: DEBUG: GPS processor result {"connection_id":45700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:15:35] local.INFO: GPS data processed {"connection_id":45700,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:15:35] local.INFO: Acknowledgment sent {"connection_id":45700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:15:43] local.INFO: TCP Data received {"connection_id":45512,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98097590012cfa42c00706af700005005e34..."} 
[2026-04-17 02:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98097590012cfa42c00706af700005005e34..."} 
[2026-04-17 02:15:43] local.INFO: Processing buffer {"connection_id":45512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98097590012cfa42c00706af700005005e34..."} 
[2026-04-17 02:15:43] local.INFO: Packet analysis {"connection_id":45512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9809"} 
[2026-04-17 02:15:43] local.INFO: Extracted packet for processing {"connection_id":45512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9809"} 
[2026-04-17 02:15:43] local.INFO: GPS Element Parsed {"raw_longitude":754598592,"raw_latitude":117878640,"longitude_deg":75.4598592,"latitude_deg":11.787864,"altitude":5,"angle":94,"satellites":52,"speed":0,"hex_longitude":"2cfa42c0","hex_latitude":"0706af70","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:15:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751290624001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-437412083630727168,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:43] 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-04-17 02:15:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776372250000,"timestamp_ms":1776372250000,"timestamp_seconds":1776372250,"priority":1,"record_length":96,"hex_timestamp":"0000019d98097590"} 
[2026-04-17 02:15:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:15: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-04-17 02: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-17 02:15:43] 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-04-17 02: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-04-17 02:15:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:15:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:15:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:15:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:15:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:15:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:15:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:15:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:15:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751290624001,"66":27767,"166":206,"28":32256,"24":0,"16":106618783551979520,"44":-437412083630727168},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-04-17 02:15:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:15:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:15:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751290624001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:15:43] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-17 02:15:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:15:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:15:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-437412083630727168,"description":"Unknown IO ID 44"} 
[2026-04-17 02:15:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751290624001,"power":27767,"unknown_166":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-437412083630727168}} 
[2026-04-17 02:15:43] local.INFO: DEBUG: GPS processor result {"connection_id":45512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18663,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:15:43] local.INFO: GPS data processed {"connection_id":45512,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:15:43] local.INFO: Acknowledgment sent {"connection_id":45512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:15:52] local.INFO: TCP Data received {"connection_id":46256,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:15:52] local.INFO: Processing buffer {"connection_id":46256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:15:52] local.INFO: IMEI packet received {"connection_id":46256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":46256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:15:56] local.INFO: TCP Data received {"connection_id":46256,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46256,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:15:56] local.INFO: Processing buffer {"connection_id":46256,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:15:56] local.INFO: IMEI packet received {"connection_id":46256,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":46256,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:15:57] local.INFO: TCP Data received {"connection_id":46256,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98098918012d5ed8000631bd50000c00ba30..."} 
[2026-04-17 02:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98098918012d5ed8000631bd50000c00ba30..."} 
[2026-04-17 02:15:57] local.INFO: Processing buffer {"connection_id":46256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98098918012d5ed8000631bd50000c00ba30..."} 
[2026-04-17 02:15:57] local.INFO: Packet analysis {"connection_id":46256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9809"} 
[2026-04-17 02:15:57] local.INFO: Extracted packet for processing {"connection_id":46256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9809"} 
[2026-04-17 02:15:57] local.INFO: GPS Element Parsed {"raw_longitude":761190400,"raw_latitude":103923024,"longitude_deg":76.11904,"latitude_deg":10.3923024,"altitude":12,"angle":186,"satellites":48,"speed":40,"hex_longitude":"2d5ed800","hex_latitude":"0631bd50","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751294976001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273598461956325376,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6835056886071574528,"note":"Value kept but may cause issues"} 
[2026-04-17 02:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776372255000,"timestamp_ms":1776372255000,"timestamp_seconds":1776372255,"priority":1,"record_length":96,"hex_timestamp":"0000019d98098918"} 
[2026-04-17 02:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 02:15:57] 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-04-17 02:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751294976001,"66":27039,"144":206,"78":38656,"24":40,"16":273598461956325376,"45":6835056886071574528},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-04-17 02:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751294976001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:15:57] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-04-17 02:15:57] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273598461956325376,"km_value":273598461956325.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":6835056886071574528,"description":"Unknown IO ID 45"} 
[2026-04-17 02:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751294976001,"power":27039,"unknown_144":206,"unknown_78":38656,"ignition":40,"odometer":null,"unknown_45":6835056886071574528}} 
[2026-04-17 02:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":46256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:15:57] local.INFO: GPS data processed {"connection_id":46256,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:15:57] local.INFO: Acknowledgment sent {"connection_id":46256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:16:06] local.INFO: TCP Data received {"connection_id":45437,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:16:06] local.INFO: Processing buffer {"connection_id":45437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:16:06] local.INFO: IMEI packet received {"connection_id":45437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":45437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:16:11] local.INFO: TCP Data received {"connection_id":45437,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45437,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:16:11] local.INFO: Processing buffer {"connection_id":45437,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:16:11] local.INFO: IMEI packet received {"connection_id":45437,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":45437,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:16:12] local.INFO: TCP Data received {"connection_id":45437,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d980a77600100000000000000000000000000..."} 
[2026-04-17 02:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980a77600100000000000000000000000000..."} 
[2026-04-17 02:16:12] local.INFO: Processing buffer {"connection_id":45437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980a77600100000000000000000000000000..."} 
[2026-04-17 02:16:12] local.INFO: Packet analysis {"connection_id":45437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980a"} 
[2026-04-17 02:16:12] local.INFO: Extracted packet for processing {"connection_id":45437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980a"} 
[2026-04-17 02:16: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-04-17 02: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-04-17 02:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751296000001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:16:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-413557079355199488,"note":"Value kept but may cause issues"} 
[2026-04-17 02:16:12] 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-04-17 02:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776372316000,"timestamp_ms":1776372316000,"timestamp_seconds":1776372316,"priority":1,"record_length":96,"hex_timestamp":"0000019d980a7760"} 
[2026-04-17 02:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:16: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-04-17 02: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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-17 02:16: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-04-17 02: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-04-17 02:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":45437,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 02:16:12] local.INFO: GPS data processed {"connection_id":45437,"processed":0,"errors":0,"total":1} 
[2026-04-17 02:16:12] local.INFO: Acknowledgment sent {"connection_id":45437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:16:29] local.INFO: TCP Data received {"connection_id":46256,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9809ac40012d5ed54006319ab8000d00b830..."} 
[2026-04-17 02:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9809ac40012d5ed54006319ab8000d00b830..."} 
[2026-04-17 02:16:29] local.INFO: Processing buffer {"connection_id":46256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9809ac40012d5ed54006319ab8000d00b830..."} 
[2026-04-17 02:16:29] local.INFO: Packet analysis {"connection_id":46256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9809"} 
[2026-04-17 02:16:29] local.INFO: Extracted packet for processing {"connection_id":46256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9809"} 
[2026-04-17 02:16:29] local.INFO: GPS Element Parsed {"raw_longitude":761189696,"raw_latitude":103914168,"longitude_deg":76.1189696,"latitude_deg":10.3914168,"altitude":13,"angle":184,"satellites":48,"speed":39,"hex_longitude":"2d5ed540","hex_latitude":"06319ab8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751297280001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273598895748022272,"note":"Value kept but may cause issues"} 
[2026-04-17 02:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6834212461139021824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776372264000,"timestamp_ms":1776372264000,"timestamp_seconds":1776372264,"priority":1,"record_length":96,"hex_timestamp":"0000019d9809ac40"} 
[2026-04-17 02:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:16: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-04-17 02: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":105,"n8_eight_byte":159,"data_length":795,"current_offset":136} 
[2026-04-17 02:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2154,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46256,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:16: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-04-17 02:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751297280001,"66":27376,"144":206,"78":38656,"24":39,"16":273598895748022272,"45":6834212461139021824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,78,24,16,45]} 
[2026-04-17 02:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751297280001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:16:29] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-04-17 02:16:29] local.INFO: Unknown IO ID detected {"io_id":78,"value":38656,"description":"Unknown IO ID 78"} 
[2026-04-17 02:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273598895748022272,"km_value":273598895748022.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6834212461139021824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751297280001,"power":27376,"unknown_144":206,"unknown_78":38656,"ignition":39,"odometer":null,"unknown_45":6834212461139021824}} 
[2026-04-17 02:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":46256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:16:29] local.INFO: GPS data processed {"connection_id":46256,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:16:29] local.INFO: Acknowledgment sent {"connection_id":46256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:16:44] local.INFO: TCP Data received {"connection_id":45437,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9809eea8012cfad8c00706a0600008006035..."} 
[2026-04-17 02:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9809eea8012cfad8c00706a0600008006035..."} 
[2026-04-17 02:16:44] local.INFO: Processing buffer {"connection_id":45437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9809eea8012cfad8c00706a0600008006035..."} 
[2026-04-17 02:16:44] local.INFO: Packet analysis {"connection_id":45437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9809"} 
[2026-04-17 02:16:44] local.INFO: Extracted packet for processing {"connection_id":45437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9809"} 
[2026-04-17 02:16:44] local.INFO: GPS Element Parsed {"raw_longitude":754636992,"raw_latitude":117874784,"longitude_deg":75.4636992,"latitude_deg":11.7874784,"altitude":8,"angle":96,"satellites":53,"speed":44,"hex_longitude":"2cfad8c0","hex_latitude":"0706a060","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:16:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,166,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 02:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776372281000,"timestamp_ms":1776372281000,"timestamp_seconds":1776372281,"priority":1,"record_length":96,"hex_timestamp":"0000019d9809eea8"} 
[2026-04-17 02:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:16:44] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 02:16:44] 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-04-17 02: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-04-17 02:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45437,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27789,"166":206,"28":32256,"24":44,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16]} 
[2026-04-17 02:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 02:16:44] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-17 02:16:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:16:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27789,"unknown_166":206,"unknown_28":32256,"ignition":44,"odometer":null}} 
[2026-04-17 02:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":45437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18666,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:16:44] local.INFO: GPS data processed {"connection_id":45437,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:16:44] local.INFO: Acknowledgment sent {"connection_id":45437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:16:52] local.INFO: TCP Data received {"connection_id":45513,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:16:52] local.INFO: Processing buffer {"connection_id":45513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:16:52] local.INFO: IMEI packet received {"connection_id":45513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":45513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:16:55] local.INFO: TCP Data received {"connection_id":45513,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:16:55] local.INFO: Processing buffer {"connection_id":45513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:16:55] local.INFO: IMEI packet received {"connection_id":45513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":45513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:16:57] local.INFO: TCP Data received {"connection_id":45513,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:16:57] local.INFO: Processing buffer {"connection_id":45513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:16:57] local.INFO: IMEI packet received {"connection_id":45513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":45513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:16:58] local.INFO: TCP Data received {"connection_id":45513,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d980afc30012d5f31c006301aa8000500a82f..."} 
[2026-04-17 02:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980afc30012d5f31c006301aa8000500a82f..."} 
[2026-04-17 02:16:58] local.INFO: Processing buffer {"connection_id":45513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980afc30012d5f31c006301aa8000500a82f..."} 
[2026-04-17 02:16:58] local.INFO: Packet analysis {"connection_id":45513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980a"} 
[2026-04-17 02:16:58] local.INFO: Extracted packet for processing {"connection_id":45513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980a"} 
[2026-04-17 02:16:58] local.INFO: GPS Element Parsed {"raw_longitude":761213376,"raw_latitude":103815848,"longitude_deg":76.1213376,"latitude_deg":10.3815848,"altitude":5,"angle":168,"satellites":47,"speed":43,"hex_longitude":"2d5f31c0","hex_latitude":"06301aa8","is_valid_coordinates":true} 
[2026-04-17 02:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751319552001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273603826370478080,"note":"Value kept but may cause issues"} 
[2026-04-17 02:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6857293409204105216,"note":"Value kept but may cause issues"} 
[2026-04-17 02:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776372350000,"timestamp_ms":1776372350000,"timestamp_seconds":1776372350,"priority":1,"record_length":96,"hex_timestamp":"0000019d980afc30"} 
[2026-04-17 02:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:16: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-04-17 02:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 02:16:58] 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-04-17 02: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-04-17 02:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751319552001,"66":27376,"209":206,"79":20992,"24":43,"16":273603826370478080,"45":6857293409204105216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-04-17 02:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751319552001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:16:58] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-17 02:16:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273603826370478080,"km_value":273603826370478.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":6857293409204105216,"description":"Unknown IO ID 45"} 
[2026-04-17 02:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751319552001,"power":27376,"unknown_209":206,"unknown_79":20992,"ignition":43,"odometer":null,"unknown_45":6857293409204105216}} 
[2026-04-17 02:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":45513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:16:58] local.INFO: GPS data processed {"connection_id":45513,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:16:58] local.INFO: Acknowledgment sent {"connection_id":45513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:17:06] local.INFO: TCP Data received {"connection_id":45514,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:17:06] local.INFO: Processing buffer {"connection_id":45514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:17:06] local.INFO: IMEI packet received {"connection_id":45514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":45514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:17:11] local.INFO: TCP Data received {"connection_id":45514,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:17:11] local.INFO: Processing buffer {"connection_id":45514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:17:11] local.INFO: IMEI packet received {"connection_id":45514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:17:11] local.INFO: IMEI acknowledgment sent {"connection_id":45514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:17:29] local.INFO: TCP Data received {"connection_id":45513,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d980b1f58012d5f3a00062ff628000600a52f..."} 
[2026-04-17 02:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980b1f58012d5f3a00062ff628000600a52f..."} 
[2026-04-17 02:17:29] local.INFO: Processing buffer {"connection_id":45513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980b1f58012d5f3a00062ff628000600a52f..."} 
[2026-04-17 02:17:29] local.INFO: Packet analysis {"connection_id":45513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980b"} 
[2026-04-17 02:17:29] local.INFO: Extracted packet for processing {"connection_id":45513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980b"} 
[2026-04-17 02:17:29] local.INFO: GPS Element Parsed {"raw_longitude":761215488,"raw_latitude":103806504,"longitude_deg":76.1215488,"latitude_deg":10.3806504,"altitude":6,"angle":165,"satellites":47,"speed":41,"hex_longitude":"2d5f3a00","hex_latitude":"062ff628","is_valid_coordinates":true} 
[2026-04-17 02:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751321600001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273604290226946048,"note":"Value kept but may cause issues"} 
[2026-04-17 02:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6859474840271366144,"note":"Value kept but may cause issues"} 
[2026-04-17 02:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776372359000,"timestamp_ms":1776372359000,"timestamp_seconds":1776372359,"priority":1,"record_length":96,"hex_timestamp":"0000019d980b1f58"} 
[2026-04-17 02:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:17: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-04-17 02:17:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 02:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:17:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:17: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-04-17 02:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751321600001,"66":27343,"209":206,"79":20992,"24":41,"16":273604290226946048,"45":6859474840271366144},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-04-17 02:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751321600001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:17:29] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-17 02:17:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273604290226946048,"km_value":273604290226946.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":6859474840271366144,"description":"Unknown IO ID 45"} 
[2026-04-17 02:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751321600001,"power":27343,"unknown_209":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":6859474840271366144}} 
[2026-04-17 02:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":45513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:17:29] local.INFO: GPS data processed {"connection_id":45513,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:17:29] local.INFO: Acknowledgment sent {"connection_id":45513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:17:51] local.INFO: TCP Data received {"connection_id":45514,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45514,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:17:51] local.INFO: Processing buffer {"connection_id":45514,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:17:51] local.INFO: IMEI packet received {"connection_id":45514,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":45514,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:17:51] local.INFO: TCP Data received {"connection_id":45514,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d980a40b0012cfb2e80070697b80006005f35..."} 
[2026-04-17 02:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980a40b0012cfb2e80070697b80006005f35..."} 
[2026-04-17 02:17:51] local.INFO: Processing buffer {"connection_id":45514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980a40b0012cfb2e80070697b80006005f35..."} 
[2026-04-17 02:17:51] local.INFO: Packet analysis {"connection_id":45514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980a"} 
[2026-04-17 02:17:51] local.INFO: Extracted packet for processing {"connection_id":45514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980a"} 
[2026-04-17 02:17:51] local.INFO: GPS Element Parsed {"raw_longitude":754658944,"raw_latitude":117872568,"longitude_deg":75.4658944,"latitude_deg":11.7872568,"altitude":6,"angle":95,"satellites":53,"speed":0,"hex_longitude":"2cfb2e80","hex_latitude":"070697b8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:17:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751303936001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:17:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:17:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-371335832849588224,"note":"Value kept but may cause issues"} 
[2026-04-17 02:17:51] 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-04-17 02:17:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776372302000,"timestamp_ms":1776372302000,"timestamp_seconds":1776372302,"priority":1,"record_length":96,"hex_timestamp":"0000019d980a40b0"} 
[2026-04-17 02:17:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:17: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-04-17 02: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-17 02:17: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-04-17 02: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-04-17 02:17:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:17:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:17:51] local.INFO: Teltonika packet parsed successfully {"connection_id":45514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:17:51] local.INFO: Passing IMEI to GPS processor {"connection_id":45514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:17:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":45514,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:17:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:17:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:17:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:17:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751303936001,"66":27908,"166":206,"28":32256,"24":0,"16":106618783551979520,"44":-371335832849588224},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,44]} 
[2026-04-17 02:17:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:17:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:17:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751303936001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:17:51] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-17 02:17:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:17:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:17:51] local.INFO: Unknown IO ID detected {"io_id":44,"value":-371335832849588224,"description":"Unknown IO ID 44"} 
[2026-04-17 02:17:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751303936001,"power":27908,"unknown_166":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-371335832849588224}} 
[2026-04-17 02:17:52] local.INFO: DEBUG: GPS processor result {"connection_id":45514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18669,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:17:52] local.INFO: GPS data processed {"connection_id":45514,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:17:52] local.INFO: Acknowledgment sent {"connection_id":45514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:17:52] local.INFO: TCP Data received {"connection_id":45438,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:17:52] local.INFO: Processing buffer {"connection_id":45438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:17:52] local.INFO: IMEI packet received {"connection_id":45438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":45438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:17:57] local.INFO: TCP Data received {"connection_id":45438,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:17:57] local.INFO: Processing buffer {"connection_id":45438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:17:57] local.INFO: IMEI packet received {"connection_id":45438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":45438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:17:59] local.INFO: TCP Data received {"connection_id":45438,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d980b4280012d5f43c0062fd1d8000600a42f..."} 
[2026-04-17 02:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980b4280012d5f43c0062fd1d8000600a42f..."} 
[2026-04-17 02:17:59] local.INFO: Processing buffer {"connection_id":45438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980b4280012d5f43c0062fd1d8000600a42f..."} 
[2026-04-17 02:17:59] local.INFO: Packet analysis {"connection_id":45438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980b"} 
[2026-04-17 02:17:59] local.INFO: Extracted packet for processing {"connection_id":45438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980b"} 
[2026-04-17 02:17:59] local.INFO: GPS Element Parsed {"raw_longitude":761217984,"raw_latitude":103797208,"longitude_deg":76.1217984,"latitude_deg":10.3797208,"altitude":6,"angle":164,"satellites":47,"speed":43,"hex_longitude":"2d5f43c0","hex_latitude":"062fd1d8","is_valid_coordinates":true} 
[2026-04-17 02:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751323904001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273604758378381312,"note":"Value kept but may cause issues"} 
[2026-04-17 02:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6861797008826836992,"note":"Value kept but may cause issues"} 
[2026-04-17 02:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776372368000,"timestamp_ms":1776372368000,"timestamp_seconds":1776372368,"priority":1,"record_length":96,"hex_timestamp":"0000019d980b4280"} 
[2026-04-17 02:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751323904001,"66":27463,"209":206,"79":20992,"24":43,"16":273604758378381312,"45":6861797008826836992},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-04-17 02:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751323904001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:17:59] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-17 02:17:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273604758378381312,"km_value":273604758378381.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":6861797008826836992,"description":"Unknown IO ID 45"} 
[2026-04-17 02:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751323904001,"power":27463,"unknown_209":206,"unknown_79":20992,"ignition":43,"odometer":null,"unknown_45":6861797008826836992}} 
[2026-04-17 02:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":45438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:17:59] local.INFO: GPS data processed {"connection_id":45438,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:17:59] local.INFO: Acknowledgment sent {"connection_id":45438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:18:11] local.INFO: TCP Data received {"connection_id":46257,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:18:11] local.INFO: Processing buffer {"connection_id":46257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:18:11] local.INFO: IMEI packet received {"connection_id":46257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":46257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:18:12] local.INFO: TCP Data received {"connection_id":46257,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:18:12] local.INFO: Processing buffer {"connection_id":46257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:18:12] local.INFO: IMEI packet received {"connection_id":46257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":46257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:18:16] local.INFO: TCP Data received {"connection_id":46257,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46257,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:18:16] local.INFO: Processing buffer {"connection_id":46257,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:18:16] local.INFO: IMEI packet received {"connection_id":46257,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":46257,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:18:17] local.INFO: TCP Data received {"connection_id":46257,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d980b42800100000000000000000000000000..."} 
[2026-04-17 02:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980b42800100000000000000000000000000..."} 
[2026-04-17 02:18:17] local.INFO: Processing buffer {"connection_id":46257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980b42800100000000000000000000000000..."} 
[2026-04-17 02:18:17] local.INFO: Packet analysis {"connection_id":46257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980b"} 
[2026-04-17 02:18:17] local.INFO: Extracted packet for processing {"connection_id":46257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980b"} 
[2026-04-17 02:18: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-04-17 02:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751309312001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:18:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-347199353597216768,"note":"Value kept but may cause issues"} 
[2026-04-17 02:18:17] 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-04-17 02:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776372368000,"timestamp_ms":1776372368000,"timestamp_seconds":1776372368,"priority":1,"record_length":96,"hex_timestamp":"0000019d980b4280"} 
[2026-04-17 02:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 02:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":46257,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 02:18:17] local.INFO: GPS data processed {"connection_id":46257,"processed":0,"errors":0,"total":1} 
[2026-04-17 02:18:17] local.INFO: Acknowledgment sent {"connection_id":46257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:18:22] local.INFO: TCP Data received {"connection_id":46257,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d980ab9c8012cfbcf40070687880008005f35..."} 
[2026-04-17 02:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980ab9c8012cfbcf40070687880008005f35..."} 
[2026-04-17 02:18:22] local.INFO: Processing buffer {"connection_id":46257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980ab9c8012cfbcf40070687880008005f35..."} 
[2026-04-17 02:18:22] local.INFO: Packet analysis {"connection_id":46257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980a"} 
[2026-04-17 02:18:22] local.INFO: Extracted packet for processing {"connection_id":46257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980a"} 
[2026-04-17 02:18:22] local.INFO: GPS Element Parsed {"raw_longitude":754700096,"raw_latitude":117868424,"longitude_deg":75.4700096,"latitude_deg":11.7868424,"altitude":8,"angle":95,"satellites":53,"speed":50,"hex_longitude":"2cfbcf40","hex_latitude":"07068788","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:18:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,165,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 02:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776372333000,"timestamp_ms":1776372333000,"timestamp_seconds":1776372333,"priority":1,"record_length":96,"hex_timestamp":"0000019d980ab9c8"} 
[2026-04-17 02:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:18: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 02:18:22] 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-04-17 02: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-04-17 02:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":46257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":46257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":46257,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"165":206,"28":32256,"24":50,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,165,28,24,16]} 
[2026-04-17 02:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 02:18:22] local.INFO: Unknown IO ID detected {"io_id":165,"value":206,"description":"Unknown IO ID 165"} 
[2026-04-17 02:18:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:18:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_165":206,"unknown_28":32256,"ignition":50,"odometer":null}} 
[2026-04-17 02:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":46257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18671,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:18:22] local.INFO: GPS data processed {"connection_id":46257,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:18:22] local.INFO: Acknowledgment sent {"connection_id":46257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:18:30] local.INFO: TCP Data received {"connection_id":45438,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d980b65a8012d5f4f80062fad380005009e2f..."} 
[2026-04-17 02:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980b65a8012d5f4f80062fad380005009e2f..."} 
[2026-04-17 02:18:30] local.INFO: Processing buffer {"connection_id":45438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980b65a8012d5f4f80062fad380005009e2f..."} 
[2026-04-17 02:18:30] local.INFO: Packet analysis {"connection_id":45438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980b"} 
[2026-04-17 02:18:30] local.INFO: Extracted packet for processing {"connection_id":45438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980b"} 
[2026-04-17 02:18:30] local.INFO: GPS Element Parsed {"raw_longitude":761220992,"raw_latitude":103787832,"longitude_deg":76.1220992,"latitude_deg":10.3787832,"altitude":5,"angle":158,"satellites":47,"speed":44,"hex_longitude":"2d5f4f80","hex_latitude":"062fad38","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751326208001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273605235119751168,"note":"Value kept but may cause issues"} 
[2026-04-17 02:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6864541389847386112,"note":"Value kept but may cause issues"} 
[2026-04-17 02:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776372377000,"timestamp_ms":1776372377000,"timestamp_seconds":1776372377,"priority":1,"record_length":96,"hex_timestamp":"0000019d980b65a8"} 
[2026-04-17 02:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:18: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-04-17 02:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 02:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:18: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-04-17 02:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751326208001,"66":27213,"209":206,"79":20992,"24":44,"16":273605235119751168,"45":6864541389847386112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-04-17 02:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751326208001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:18:30] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-17 02:18:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273605235119751168,"km_value":273605235119751.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":6864541389847386112,"description":"Unknown IO ID 45"} 
[2026-04-17 02:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751326208001,"power":27213,"unknown_209":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":6864541389847386112}} 
[2026-04-17 02:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":45438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:18:30] local.INFO: GPS data processed {"connection_id":45438,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:18:30] local.INFO: Acknowledgment sent {"connection_id":45438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:18:56] local.INFO: TCP Data received {"connection_id":45701,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:18:56] local.INFO: Processing buffer {"connection_id":45701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:18:56] local.INFO: IMEI packet received {"connection_id":45701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":45701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:18:57] local.INFO: TCP Data received {"connection_id":45701,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:18:57] local.INFO: Processing buffer {"connection_id":45701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:18:57] local.INFO: IMEI packet received {"connection_id":45701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":45701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:19:02] local.INFO: TCP Data received {"connection_id":45701,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:19:02] local.INFO: Processing buffer {"connection_id":45701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:19:02] local.INFO: IMEI packet received {"connection_id":45701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:19:02] local.INFO: IMEI acknowledgment sent {"connection_id":45701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:19:02] local.INFO: TCP Data received {"connection_id":45701,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d980b88d0012d5f5dc0062f8a200006009c2f..."} 
[2026-04-17 02:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980b88d0012d5f5dc0062f8a200006009c2f..."} 
[2026-04-17 02:19:02] local.INFO: Processing buffer {"connection_id":45701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980b88d0012d5f5dc0062f8a200006009c2f..."} 
[2026-04-17 02:19:02] local.INFO: Packet analysis {"connection_id":45701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980b"} 
[2026-04-17 02:19:02] local.INFO: Extracted packet for processing {"connection_id":45701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980b"} 
[2026-04-17 02:19:02] local.INFO: GPS Element Parsed {"raw_longitude":761224640,"raw_latitude":103778848,"longitude_deg":76.122464,"latitude_deg":10.3778848,"altitude":6,"angle":156,"satellites":47,"speed":41,"hex_longitude":"2d5f5dc0","hex_latitude":"062f8a20","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751328512001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273605703271186432,"note":"Value kept but may cause issues"} 
[2026-04-17 02:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6867848720821336064,"note":"Value kept but may cause issues"} 
[2026-04-17 02:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776372386000,"timestamp_ms":1776372386000,"timestamp_seconds":1776372386,"priority":1,"record_length":96,"hex_timestamp":"0000019d980b88d0"} 
[2026-04-17 02:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:19:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-17 02:19:02] 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-04-17 02: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-04-17 02:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751328512001,"66":27321,"209":206,"79":20992,"24":41,"16":273605703271186432,"45":6867848720821336064},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,79,24,16,45]} 
[2026-04-17 02:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751328512001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:19:02] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-17 02:19:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273605703271186432,"km_value":273605703271186.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":6867848720821336064,"description":"Unknown IO ID 45"} 
[2026-04-17 02:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751328512001,"power":27321,"unknown_209":206,"unknown_79":20992,"ignition":41,"odometer":null,"unknown_45":6867848720821336064}} 
[2026-04-17 02:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":45701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:19:02] local.INFO: GPS data processed {"connection_id":45701,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:19:02] local.INFO: Acknowledgment sent {"connection_id":45701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:19:06] local.INFO: TCP Data received {"connection_id":45702,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:19:06] local.INFO: Processing buffer {"connection_id":45702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:19:06] local.INFO: IMEI packet received {"connection_id":45702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":45702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:19:11] local.INFO: TCP Data received {"connection_id":45702,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:19:11] local.INFO: Processing buffer {"connection_id":45702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:19:11] local.INFO: IMEI packet received {"connection_id":45702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":45702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:19:12] local.INFO: TCP Data received {"connection_id":45702,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d980b0bd0012cfc2740070680880005006133..."} 
[2026-04-17 02:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980b0bd0012cfc2740070680880005006133..."} 
[2026-04-17 02:19:12] local.INFO: Processing buffer {"connection_id":45702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980b0bd0012cfc2740070680880005006133..."} 
[2026-04-17 02:19:12] local.INFO: Packet analysis {"connection_id":45702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980b"} 
[2026-04-17 02:19:12] local.INFO: Extracted packet for processing {"connection_id":45702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980b"} 
[2026-04-17 02:19:12] local.INFO: GPS Element Parsed {"raw_longitude":754722624,"raw_latitude":117866632,"longitude_deg":75.4722624,"latitude_deg":11.7866632,"altitude":5,"angle":97,"satellites":51,"speed":0,"hex_longitude":"2cfc2740","hex_latitude":"07068088","is_valid_coordinates":true} 
[2026-04-17 02:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751317248001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:19:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-301952251092039680,"note":"Value kept but may cause issues"} 
[2026-04-17 02:19:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776372354000,"timestamp_ms":1776372354000,"timestamp_seconds":1776372354,"priority":1,"record_length":96,"hex_timestamp":"0000019d980b0bd0"} 
[2026-04-17 02:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:19: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-04-17 02:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 02:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751317248001,"66":27919,"55":206,"28":32256,"24":0,"16":106618783551979520,"44":-301952251092039680},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-04-17 02:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751317248001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:19:12] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-17 02:19:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:19:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-301952251092039680,"description":"Unknown IO ID 44"} 
[2026-04-17 02:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751317248001,"power":27919,"unknown_55":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-301952251092039680}} 
[2026-04-17 02:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":45702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18674,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:19:12] local.INFO: GPS data processed {"connection_id":45702,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:19:12] local.INFO: Acknowledgment sent {"connection_id":45702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:19:17] local.INFO: TCP Data received {"connection_id":45702,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d980b36c8012cfc758007066ed80009006c35..."} 
[2026-04-17 02:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980b36c8012cfc758007066ed80009006c35..."} 
[2026-04-17 02:19:17] local.INFO: Processing buffer {"connection_id":45702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980b36c8012cfc758007066ed80009006c35..."} 
[2026-04-17 02:19:17] local.INFO: Packet analysis {"connection_id":45702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980b"} 
[2026-04-17 02:19:17] local.INFO: Extracted packet for processing {"connection_id":45702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980b"} 
[2026-04-17 02:19:17] local.INFO: GPS Element Parsed {"raw_longitude":754742656,"raw_latitude":117862104,"longitude_deg":75.4742656,"latitude_deg":11.7862104,"altitude":9,"angle":108,"satellites":53,"speed":46,"hex_longitude":"2cfc7580","hex_latitude":"07066ed8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751322624001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:19:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-277182453141960704,"note":"Value kept but may cause issues"} 
[2026-04-17 02:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776372365000,"timestamp_ms":1776372365000,"timestamp_seconds":1776372365,"priority":1,"record_length":96,"hex_timestamp":"0000019d980b36c8"} 
[2026-04-17 02:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 02:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751322624001,"66":27984,"55":206,"28":32256,"24":46,"16":106618783551979520,"44":-277182453141960704},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-04-17 02:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751322624001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:19:17] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-17 02:19:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:19:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-277182453141960704,"description":"Unknown IO ID 44"} 
[2026-04-17 02:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751322624001,"power":27984,"unknown_55":206,"unknown_28":32256,"ignition":46,"odometer":null,"unknown_44":-277182453141960704}} 
[2026-04-17 02:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":45702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18675,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:19:17] local.INFO: GPS data processed {"connection_id":45702,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:19:17] local.INFO: Acknowledgment sent {"connection_id":45702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:19:34] local.INFO: TCP Data received {"connection_id":45701,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d980da7c8012d5fc300062e0ab8000600d828..."} 
[2026-04-17 02:19:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980da7c8012d5fc300062e0ab8000600d828..."} 
[2026-04-17 02:19:34] local.INFO: Processing buffer {"connection_id":45701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980da7c8012d5fc300062e0ab8000600d828..."} 
[2026-04-17 02:19:34] local.INFO: Packet analysis {"connection_id":45701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980d"} 
[2026-04-17 02:19:34] local.INFO: Extracted packet for processing {"connection_id":45701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980d"} 
[2026-04-17 02:19:34] local.INFO: GPS Element Parsed {"raw_longitude":761250560,"raw_latitude":103680696,"longitude_deg":76.125056,"latitude_deg":10.3680696,"altitude":6,"angle":216,"satellites":40,"speed":18,"hex_longitude":"2d5fc300","hex_latitude":"062e0ab8","is_valid_coordinates":true} 
[2026-04-17 02:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:19:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751365888001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:19:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273610672548347904,"note":"Value kept but may cause issues"} 
[2026-04-17 02:19:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6900851661813413888,"note":"Value kept but may cause issues"} 
[2026-04-17 02:19:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:19:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776372525000,"timestamp_ms":1776372525000,"timestamp_seconds":1776372525,"priority":1,"record_length":96,"hex_timestamp":"0000019d980da7c8"} 
[2026-04-17 02:19:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:19: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-04-17 02:19:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 02:19: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-04-17 02:19:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:19:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:19:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:19:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:19:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:19:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:19:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:19:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:19:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:19:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751365888001,"66":27310,"211":206,"79":20992,"24":18,"16":273610672548347904,"45":6900851661813413888},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-04-17 02:19:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:19:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:19:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751365888001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:19:34] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-04-17 02:19:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:19:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273610672548347904,"km_value":273610672548347.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:19:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":6900851661813413888,"description":"Unknown IO ID 45"} 
[2026-04-17 02:19:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751365888001,"power":27310,"unknown_211":206,"unknown_79":20992,"ignition":18,"odometer":null,"unknown_45":6900851661813413888}} 
[2026-04-17 02:19:34] local.INFO: DEBUG: GPS processor result {"connection_id":45701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:19:34] local.INFO: GPS data processed {"connection_id":45701,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:19:34] local.INFO: Acknowledgment sent {"connection_id":45701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:19:48] local.INFO: TCP Data received {"connection_id":45702,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d980b7930012cfcbdc007064c600009007936..."} 
[2026-04-17 02:19:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980b7930012cfcbdc007064c600009007936..."} 
[2026-04-17 02:19:48] local.INFO: Processing buffer {"connection_id":45702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980b7930012cfcbdc007064c600009007936..."} 
[2026-04-17 02:19:48] local.INFO: Packet analysis {"connection_id":45702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980b"} 
[2026-04-17 02:19:48] local.INFO: Extracted packet for processing {"connection_id":45702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980b"} 
[2026-04-17 02:19:48] local.INFO: GPS Element Parsed {"raw_longitude":754761152,"raw_latitude":117853280,"longitude_deg":75.4761152,"latitude_deg":11.785328,"altitude":9,"angle":121,"satellites":54,"speed":51,"hex_longitude":"2cfcbdc0","hex_latitude":"07064c60","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:19:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751325440001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:19:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:19:48] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-255157036215511040,"note":"Value kept but may cause issues"} 
[2026-04-17 02:19:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:19:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776372382000,"timestamp_ms":1776372382000,"timestamp_seconds":1776372382,"priority":1,"record_length":96,"hex_timestamp":"0000019d980b7930"} 
[2026-04-17 02:19:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:19:48] 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-04-17 02: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":80,"data_length":795,"current_offset":136} 
[2026-04-17 02:19:48] 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-04-17 02: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-04-17 02:19:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:19:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:19:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:19:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:19:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:19:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:19:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:19:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:19:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751325440001,"66":27984,"55":206,"28":32256,"24":51,"16":106618783551979520,"44":-255157036215511040},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-04-17 02:19:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:19:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:19:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751325440001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:19:48] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-17 02:19:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:19:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:19:48] local.INFO: Unknown IO ID detected {"io_id":44,"value":-255157036215511040,"description":"Unknown IO ID 44"} 
[2026-04-17 02:19:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751325440001,"power":27984,"unknown_55":206,"unknown_28":32256,"ignition":51,"odometer":null,"unknown_44":-255157036215511040}} 
[2026-04-17 02:19:48] local.INFO: DEBUG: GPS processor result {"connection_id":45702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18677,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:19:48] local.INFO: GPS data processed {"connection_id":45702,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:19:48] local.INFO: Acknowledgment sent {"connection_id":45702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:19:52] local.INFO: TCP Data received {"connection_id":45703,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:19:52] local.INFO: Processing buffer {"connection_id":45703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:19:52] local.INFO: IMEI packet received {"connection_id":45703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":45703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:19:55] local.INFO: TCP Data received {"connection_id":45703,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:19:55] local.INFO: Processing buffer {"connection_id":45703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:19:55] local.INFO: IMEI packet received {"connection_id":45703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":45703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:19:55] local.INFO: TCP Data received {"connection_id":45703,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d980db380012d5fbf40062e0840000600e81e..."} 
[2026-04-17 02:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980db380012d5fbf40062e0840000600e81e..."} 
[2026-04-17 02:19:55] local.INFO: Processing buffer {"connection_id":45703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980db380012d5fbf40062e0840000600e81e..."} 
[2026-04-17 02:19:55] local.INFO: Packet analysis {"connection_id":45703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980d"} 
[2026-04-17 02:19:55] local.INFO: Extracted packet for processing {"connection_id":45703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980d"} 
[2026-04-17 02:19:55] local.INFO: GPS Element Parsed {"raw_longitude":761249600,"raw_latitude":103680064,"longitude_deg":76.12496,"latitude_deg":10.3680064,"altitude":6,"angle":232,"satellites":30,"speed":15,"hex_longitude":"2d5fbf40","hex_latitude":"062e0840","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751366400001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273610728382922752,"note":"Value kept but may cause issues"} 
[2026-04-17 02:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6900359080603990016,"note":"Value kept but may cause issues"} 
[2026-04-17 02:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776372528000,"timestamp_ms":1776372528000,"timestamp_seconds":1776372528,"priority":1,"record_length":96,"hex_timestamp":"0000019d980db380"} 
[2026-04-17 02:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:19: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-04-17 02: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 02:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751366400001,"66":27365,"211":206,"79":20992,"24":15,"16":273610728382922752,"45":6900359080603990016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-04-17 02:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751366400001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:19:55] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-04-17 02:19:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273610728382922752,"km_value":273610728382922.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6900359080603990016,"description":"Unknown IO ID 45"} 
[2026-04-17 02:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751366400001,"power":27365,"unknown_211":206,"unknown_79":20992,"ignition":15,"odometer":null,"unknown_45":6900359080603990016}} 
[2026-04-17 02:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":45703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:19:55] local.INFO: GPS data processed {"connection_id":45703,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:19:55] local.INFO: Acknowledgment sent {"connection_id":45703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:20:06] local.INFO: TCP Data received {"connection_id":45704,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:20:07] local.INFO: Processing buffer {"connection_id":45704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:20:07] local.INFO: IMEI packet received {"connection_id":45704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":45704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:20:07] local.INFO: TCP Data received {"connection_id":45704,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:20:07] local.INFO: Processing buffer {"connection_id":45704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:20:07] local.INFO: IMEI packet received {"connection_id":45704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:20:07] local.INFO: IMEI acknowledgment sent {"connection_id":45704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:20:08] local.INFO: TCP Data received {"connection_id":45704,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:20:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:20:08] local.INFO: Processing buffer {"connection_id":45704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:20:08] local.INFO: IMEI packet received {"connection_id":45704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:20:08] local.INFO: IMEI acknowledgment sent {"connection_id":45704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:20:11] local.INFO: TCP Data received {"connection_id":45704,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:20:11] local.INFO: Processing buffer {"connection_id":45704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:20:11] local.INFO: IMEI packet received {"connection_id":45704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":45704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:20:11] local.INFO: TCP Data received {"connection_id":45704,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d980bcb38012cfd0100070617680009008434..."} 
[2026-04-17 02:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980bcb38012cfd0100070617680009008434..."} 
[2026-04-17 02:20:11] local.INFO: Processing buffer {"connection_id":45704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980bcb38012cfd0100070617680009008434..."} 
[2026-04-17 02:20:11] local.INFO: Packet analysis {"connection_id":45704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980b"} 
[2026-04-17 02:20:11] local.INFO: Extracted packet for processing {"connection_id":45704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980b"} 
[2026-04-17 02:20:11] local.INFO: GPS Element Parsed {"raw_longitude":754778368,"raw_latitude":117839720,"longitude_deg":75.4778368,"latitude_deg":11.783972,"altitude":9,"angle":132,"satellites":52,"speed":0,"hex_longitude":"2cfd0100","hex_latitude":"07061768","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751329792001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:20:11] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-234820469150425088,"note":"Value kept but may cause issues"} 
[2026-04-17 02:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776372403000,"timestamp_ms":1776372403000,"timestamp_seconds":1776372403,"priority":1,"record_length":96,"hex_timestamp":"0000019d980bcb38"} 
[2026-04-17 02:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 02:20:11] 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-04-17 02: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-04-17 02:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751329792001,"66":27843,"55":206,"28":32256,"24":0,"16":106618783551979520,"44":-234820469150425088},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-04-17 02:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751329792001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:20:11] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-17 02:20:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:20:11] local.INFO: Unknown IO ID detected {"io_id":44,"value":-234820469150425088,"description":"Unknown IO ID 44"} 
[2026-04-17 02:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751329792001,"power":27843,"unknown_55":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-234820469150425088}} 
[2026-04-17 02:20:12] local.INFO: DEBUG: GPS processor result {"connection_id":45704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18679,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:20:12] local.INFO: GPS data processed {"connection_id":45704,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:20:12] local.INFO: Acknowledgment sent {"connection_id":45704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:20:17] local.INFO: TCP Data received {"connection_id":45704,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d980ccd080100000000000000000000000000..."} 
[2026-04-17 02:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980ccd080100000000000000000000000000..."} 
[2026-04-17 02:20:17] local.INFO: Processing buffer {"connection_id":45704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980ccd080100000000000000000000000000..."} 
[2026-04-17 02:20:17] local.INFO: Packet analysis {"connection_id":45704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980c"} 
[2026-04-17 02:20:17] local.INFO: Extracted packet for processing {"connection_id":45704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980c"} 
[2026-04-17 02:20: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-04-17 02:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751335168001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:20:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-215891276970104832,"note":"Value kept but may cause issues"} 
[2026-04-17 02:20:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776372469000,"timestamp_ms":1776372469000,"timestamp_seconds":1776372469,"priority":1,"record_length":96,"hex_timestamp":"0000019d980ccd08"} 
[2026-04-17 02:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:20:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 02:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":45704,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 02:20:17] local.INFO: GPS data processed {"connection_id":45704,"processed":0,"errors":0,"total":1} 
[2026-04-17 02:20:17] local.INFO: Acknowledgment sent {"connection_id":45704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:20:26] local.INFO: TCP Data received {"connection_id":45703,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d980db768012d5fbcc0062e08a0000600fa25..."} 
[2026-04-17 02:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980db768012d5fbcc0062e08a0000600fa25..."} 
[2026-04-17 02:20:26] local.INFO: Processing buffer {"connection_id":45703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980db768012d5fbcc0062e08a0000600fa25..."} 
[2026-04-17 02:20:26] local.INFO: Packet analysis {"connection_id":45703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980d"} 
[2026-04-17 02:20:26] local.INFO: Extracted packet for processing {"connection_id":45703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980d"} 
[2026-04-17 02:20:26] local.INFO: GPS Element Parsed {"raw_longitude":761248960,"raw_latitude":103680160,"longitude_deg":76.124896,"latitude_deg":10.368016,"altitude":6,"angle":250,"satellites":37,"speed":18,"hex_longitude":"2d5fbcc0","hex_latitude":"062e08a0","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751367168001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273610762742661120,"note":"Value kept but may cause issues"} 
[2026-04-17 02:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6899303549441163264,"note":"Value kept but may cause issues"} 
[2026-04-17 02:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776372529000,"timestamp_ms":1776372529000,"timestamp_seconds":1776372529,"priority":1,"record_length":96,"hex_timestamp":"0000019d980db768"} 
[2026-04-17 02:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:20: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-04-17 02:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 02:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:20:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751367168001,"66":27343,"211":206,"79":20992,"24":18,"16":273610762742661120,"45":6899303549441163264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,79,24,16,45]} 
[2026-04-17 02:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751367168001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:20:26] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-04-17 02:20:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273610762742661120,"km_value":273610762742661.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6899303549441163264,"description":"Unknown IO ID 45"} 
[2026-04-17 02:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751367168001,"power":27343,"unknown_211":206,"unknown_79":20992,"ignition":18,"odometer":null,"unknown_45":6899303549441163264}} 
[2026-04-17 02:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":45703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:20:26] local.INFO: GPS data processed {"connection_id":45703,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:20:26] local.INFO: Acknowledgment sent {"connection_id":45703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:20:48] local.INFO: TCP Data received {"connection_id":45704,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d980c3c80012cfd83400705a660000c008333..."} 
[2026-04-17 02:20:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980c3c80012cfd83400705a660000c008333..."} 
[2026-04-17 02:20:48] local.INFO: Processing buffer {"connection_id":45704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980c3c80012cfd83400705a660000c008333..."} 
[2026-04-17 02:20:48] local.INFO: Packet analysis {"connection_id":45704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980c"} 
[2026-04-17 02:20:48] local.INFO: Extracted packet for processing {"connection_id":45704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980c"} 
[2026-04-17 02:20:48] local.INFO: GPS Element Parsed {"raw_longitude":754811712,"raw_latitude":117810784,"longitude_deg":75.4811712,"latitude_deg":11.7810784,"altitude":12,"angle":131,"satellites":51,"speed":50,"hex_longitude":"2cfd8340","hex_latitude":"0705a660","is_valid_coordinates":true} 
[2026-04-17 02:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:20:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:20:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,55,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 02:20:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776372432000,"timestamp_ms":1776372432000,"timestamp_seconds":1776372432,"priority":1,"record_length":96,"hex_timestamp":"0000019d980c3c80"} 
[2026-04-17 02:20:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:20:48] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:20:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 02:20:48] 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-04-17 02:20:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:20:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:20:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:20:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:20:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:20:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45704,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:20:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:20:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:20:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:20:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28028,"55":206,"28":32256,"24":50,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16]} 
[2026-04-17 02:20:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:20:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:20:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 02:20:48] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-17 02:20:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:20:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:20:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28028,"unknown_55":206,"unknown_28":32256,"ignition":50,"odometer":null}} 
[2026-04-17 02:20:48] local.INFO: DEBUG: GPS processor result {"connection_id":45704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18681,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:20:48] local.INFO: GPS data processed {"connection_id":45704,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:20:48] local.INFO: Acknowledgment sent {"connection_id":45704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:20:57] local.INFO: TCP Data received {"connection_id":45439,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:20:57] local.INFO: Processing buffer {"connection_id":45439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:20:57] local.INFO: IMEI packet received {"connection_id":45439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":45439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:21:01] local.INFO: TCP Data received {"connection_id":45439,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:21:01] local.INFO: Processing buffer {"connection_id":45439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:21:01] local.INFO: IMEI packet received {"connection_id":45439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:21:01] local.INFO: IMEI acknowledgment sent {"connection_id":45439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:21:02] local.INFO: TCP Data received {"connection_id":45439,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:21:02] local.INFO: Processing buffer {"connection_id":45439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:21:02] local.INFO: IMEI packet received {"connection_id":45439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":45439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:21:03] local.INFO: TCP Data received {"connection_id":45439,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d980dee18012d5f9980062dfbd8000800f52e..."} 
[2026-04-17 02:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980dee18012d5f9980062dfbd8000800f52e..."} 
[2026-04-17 02:21:03] local.INFO: Processing buffer {"connection_id":45439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980dee18012d5f9980062dfbd8000800f52e..."} 
[2026-04-17 02:21:03] local.INFO: Packet analysis {"connection_id":45439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980d"} 
[2026-04-17 02:21:03] local.INFO: Extracted packet for processing {"connection_id":45439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980d"} 
[2026-04-17 02:21:03] local.INFO: GPS Element Parsed {"raw_longitude":761239936,"raw_latitude":103676888,"longitude_deg":76.1239936,"latitude_deg":10.3676888,"altitude":8,"angle":245,"satellites":46,"speed":26,"hex_longitude":"2d5f9980","hex_latitude":"062dfbd8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751367424001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273611222304161792,"note":"Value kept but may cause issues"} 
[2026-04-17 02:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6898599861999411200,"note":"Value kept but may cause issues"} 
[2026-04-17 02:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776372543000,"timestamp_ms":1776372543000,"timestamp_seconds":1776372543,"priority":1,"record_length":96,"hex_timestamp":"0000019d980dee18"} 
[2026-04-17 02:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:21: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-04-17 02: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-04-17 02:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:21:03] 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-04-17 02:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751367424001,"66":27267,"215":206,"79":20992,"24":26,"16":273611222304161792,"45":6898599861999411200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,79,24,16,45]} 
[2026-04-17 02:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751367424001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:21:03] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-04-17 02:21:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273611222304161792,"km_value":273611222304161.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6898599861999411200,"description":"Unknown IO ID 45"} 
[2026-04-17 02:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751367424001,"power":27267,"unknown_215":206,"unknown_79":20992,"ignition":26,"odometer":null,"unknown_45":6898599861999411200}} 
[2026-04-17 02:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":45439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:21:03] local.INFO: GPS data processed {"connection_id":45439,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:21:03] local.INFO: Acknowledgment sent {"connection_id":45439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:21:05] local.INFO: TCP Data received {"connection_id":45705,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:21:05] local.INFO: Processing buffer {"connection_id":45705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:21:05] local.INFO: IMEI packet received {"connection_id":45705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":45705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:21:11] local.INFO: TCP Data received {"connection_id":45705,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:21:11] local.INFO: Processing buffer {"connection_id":45705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:21:11] local.INFO: IMEI packet received {"connection_id":45705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":45705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:21:12] local.INFO: TCP Data received {"connection_id":45705,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d980c8e88012cfdc28007056f60000d008332..."} 
[2026-04-17 02:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980c8e88012cfdc28007056f60000d008332..."} 
[2026-04-17 02:21:12] local.INFO: Processing buffer {"connection_id":45705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980c8e88012cfdc28007056f60000d008332..."} 
[2026-04-17 02:21:12] local.INFO: Packet analysis {"connection_id":45705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980c"} 
[2026-04-17 02:21:12] local.INFO: Extracted packet for processing {"connection_id":45705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980c"} 
[2026-04-17 02:21:12] local.INFO: GPS Element Parsed {"raw_longitude":754827904,"raw_latitude":117796704,"longitude_deg":75.4827904,"latitude_deg":11.7796704,"altitude":13,"angle":131,"satellites":50,"speed":0,"hex_longitude":"2cfdc280","hex_latitude":"07056f60","is_valid_coordinates":true} 
[2026-04-17 02:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751342592001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:21:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-179229161260949504,"note":"Value kept but may cause issues"} 
[2026-04-17 02:21:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776372453000,"timestamp_ms":1776372453000,"timestamp_seconds":1776372453,"priority":1,"record_length":96,"hex_timestamp":"0000019d980c8e88"} 
[2026-04-17 02:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:21: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-04-17 02: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 02:21: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-04-17 02: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-04-17 02:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751342592001,"66":27821,"55":206,"28":32256,"24":0,"16":106618783551979520,"44":-179229161260949504},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-04-17 02:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751342592001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:21:12] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-17 02:21:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:21:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-179229161260949504,"description":"Unknown IO ID 44"} 
[2026-04-17 02:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751342592001,"power":27821,"unknown_55":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-179229161260949504}} 
[2026-04-17 02:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":45705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18683,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:21:12] local.INFO: GPS data processed {"connection_id":45705,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:21:12] local.INFO: Acknowledgment sent {"connection_id":45705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:21:38] local.INFO: TCP Data received {"connection_id":45439,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d980f2698012d5fd800062d22800008008b2f..."} 
[2026-04-17 02:21:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980f2698012d5fd800062d22800008008b2f..."} 
[2026-04-17 02:21:38] local.INFO: Processing buffer {"connection_id":45439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980f2698012d5fd800062d22800008008b2f..."} 
[2026-04-17 02:21:38] local.INFO: Packet analysis {"connection_id":45439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980f"} 
[2026-04-17 02:21:38] local.INFO: Extracted packet for processing {"connection_id":45439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980f"} 
[2026-04-17 02:21:38] local.INFO: GPS Element Parsed {"raw_longitude":761255936,"raw_latitude":103621248,"longitude_deg":76.1255936,"latitude_deg":10.3621248,"altitude":8,"angle":139,"satellites":47,"speed":27,"hex_longitude":"2d5fd800","hex_latitude":"062d2280","is_valid_coordinates":true} 
[2026-04-17 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-04-17 02:21:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751388416001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:21:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273614387695058944,"note":"Value kept but may cause issues"} 
[2026-04-17 02:21:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6899303549427879936,"note":"Value kept but may cause issues"} 
[2026-04-17 02:21:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:21:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776372623000,"timestamp_ms":1776372623000,"timestamp_seconds":1776372623,"priority":1,"record_length":96,"hex_timestamp":"0000019d980f2698"} 
[2026-04-17 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-04-17 02:21:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:21: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-04-17 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-04-17 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-04-17 02:21:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:21:38] local.INFO: Teltonika packet parsed successfully {"connection_id":45439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:21:38] local.INFO: Passing IMEI to GPS processor {"connection_id":45439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:21:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":45439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:21:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:21:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:21:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:21:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751388416001,"66":27321,"215":206,"79":20992,"24":27,"16":273614387695058944,"45":6899303549427879936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,79,24,16,45]} 
[2026-04-17 02:21:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:21:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:21:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751388416001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:21:38] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-04-17 02:21:38] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:21:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273614387695058944,"km_value":273614387695058.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:21:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":6899303549427879936,"description":"Unknown IO ID 45"} 
[2026-04-17 02:21:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751388416001,"power":27321,"unknown_215":206,"unknown_79":20992,"ignition":27,"odometer":null,"unknown_45":6899303549427879936}} 
[2026-04-17 02:21:38] local.INFO: DEBUG: GPS processor result {"connection_id":45439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:21:38] local.INFO: GPS data processed {"connection_id":45439,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:21:38] local.INFO: Acknowledgment sent {"connection_id":45439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:21:44] local.INFO: TCP Data received {"connection_id":45705,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d980d90580100000000000000000000000000..."} 
[2026-04-17 02:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980d90580100000000000000000000000000..."} 
[2026-04-17 02:21:44] local.INFO: Processing buffer {"connection_id":45705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980d90580100000000000000000000000000..."} 
[2026-04-17 02:21:44] local.INFO: Packet analysis {"connection_id":45705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980d"} 
[2026-04-17 02:21:44] local.INFO: Extracted packet for processing {"connection_id":45705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980d"} 
[2026-04-17 02:21: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-04-17 02: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-04-17 02:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751347968001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:21:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-161425868987604992,"note":"Value kept but may cause issues"} 
[2026-04-17 02:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776372519000,"timestamp_ms":1776372519000,"timestamp_seconds":1776372519,"priority":1,"record_length":96,"hex_timestamp":"0000019d980d9058"} 
[2026-04-17 02:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:21:44] 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-04-17 02: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 02:21:44] 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-04-17 02: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-04-17 02:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":45705,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 02:21:44] local.INFO: GPS data processed {"connection_id":45705,"processed":0,"errors":0,"total":1} 
[2026-04-17 02:21:44] local.INFO: Acknowledgment sent {"connection_id":45705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:21:57] local.INFO: TCP Data received {"connection_id":46258,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:21:57] local.INFO: Processing buffer {"connection_id":46258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:21:57] local.INFO: IMEI packet received {"connection_id":46258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":46258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:21:58] local.INFO: TCP Data received {"connection_id":46258,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:21:58] local.INFO: Processing buffer {"connection_id":46258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:21:58] local.INFO: IMEI packet received {"connection_id":46258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:21:58] local.INFO: IMEI acknowledgment sent {"connection_id":46258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:22:02] local.INFO: TCP Data received {"connection_id":46258,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46258,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:22:02] local.INFO: Processing buffer {"connection_id":46258,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:22:02] local.INFO: IMEI packet received {"connection_id":46258,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":46258,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:22:03] local.INFO: TCP Data received {"connection_id":46258,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d980f5578012d5fedc0062d07100008008e2d..."} 
[2026-04-17 02:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980f5578012d5fedc0062d07100008008e2d..."} 
[2026-04-17 02:22:03] local.INFO: Processing buffer {"connection_id":46258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980f5578012d5fedc0062d07100008008e2d..."} 
[2026-04-17 02:22:03] local.INFO: Packet analysis {"connection_id":46258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980f"} 
[2026-04-17 02:22:03] local.INFO: Extracted packet for processing {"connection_id":46258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980f"} 
[2026-04-17 02:22:03] local.INFO: GPS Element Parsed {"raw_longitude":761261504,"raw_latitude":103614224,"longitude_deg":76.1261504,"latitude_deg":10.3614224,"altitude":8,"angle":142,"satellites":45,"speed":30,"hex_longitude":"2d5fedc0","hex_latitude":"062d0710","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751391488001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273614817191788544,"note":"Value kept but may cause issues"} 
[2026-04-17 02:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6906270055099695104,"note":"Value kept but may cause issues"} 
[2026-04-17 02:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776372635000,"timestamp_ms":1776372635000,"timestamp_seconds":1776372635,"priority":1,"record_length":96,"hex_timestamp":"0000019d980f5578"} 
[2026-04-17 02:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:22: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-04-17 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 02:22:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:22:03] 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-04-17 02:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751391488001,"66":27517,"216":206,"79":20992,"24":30,"16":273614817191788544,"45":6906270055099695104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,79,24,16,45]} 
[2026-04-17 02:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751391488001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:22:03] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 02:22:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273614817191788544,"km_value":273614817191788.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":6906270055099695104,"description":"Unknown IO ID 45"} 
[2026-04-17 02:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751391488001,"power":27517,"unknown_216":206,"unknown_79":20992,"ignition":30,"odometer":null,"unknown_45":6906270055099695104}} 
[2026-04-17 02:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":46258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:22:03] local.INFO: GPS data processed {"connection_id":46258,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:22:03] local.INFO: Acknowledgment sent {"connection_id":46258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:22:05] local.INFO: TCP Data received {"connection_id":46259,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:22:06] local.INFO: Processing buffer {"connection_id":46259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:22:06] local.INFO: IMEI packet received {"connection_id":46259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":46259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:22:08] local.INFO: TCP Data received {"connection_id":46258,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d980f74b8012d5ff980062cf4300007009a2e..."} 
[2026-04-17 02:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46258,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980f74b8012d5ff980062cf4300007009a2e..."} 
[2026-04-17 02:22:08] local.INFO: Processing buffer {"connection_id":46258,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980f74b8012d5ff980062cf4300007009a2e..."} 
[2026-04-17 02:22:08] local.INFO: Packet analysis {"connection_id":46258,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980f"} 
[2026-04-17 02:22:08] local.INFO: Extracted packet for processing {"connection_id":46258,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980f"} 
[2026-04-17 02:22:08] local.INFO: GPS Element Parsed {"raw_longitude":761264512,"raw_latitude":103609392,"longitude_deg":76.1264512,"latitude_deg":10.3609392,"altitude":7,"angle":154,"satellites":46,"speed":28,"hex_longitude":"2d5ff980","hex_latitude":"062cf430","is_valid_coordinates":true} 
[2026-04-17 02:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:22:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751394560001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:22:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273615092069695488,"note":"Value kept but may cause issues"} 
[2026-04-17 02:22:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6912392135841353728,"note":"Value kept but may cause issues"} 
[2026-04-17 02:22:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:22:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776372643000,"timestamp_ms":1776372643000,"timestamp_seconds":1776372643,"priority":1,"record_length":96,"hex_timestamp":"0000019d980f74b8"} 
[2026-04-17 02:22:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:22:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:22:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 02:22: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-04-17 02:22:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:22:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:22:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:22:08] local.INFO: Teltonika packet parsed successfully {"connection_id":46258,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:22:08] local.INFO: Passing IMEI to GPS processor {"connection_id":46258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:22:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":46258,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:22:08] 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-04-17 02:22:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:22:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:22:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751394560001,"66":27517,"216":206,"79":20992,"24":28,"16":273615092069695488,"45":6912392135841353728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,79,24,16,45]} 
[2026-04-17 02:22:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:22:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:22:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751394560001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:22:08] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 02:22:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:22:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273615092069695488,"km_value":273615092069695.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:22:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":6912392135841353728,"description":"Unknown IO ID 45"} 
[2026-04-17 02:22:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751394560001,"power":27517,"unknown_216":206,"unknown_79":20992,"ignition":28,"odometer":null,"unknown_45":6912392135841353728}} 
[2026-04-17 02:22:08] local.INFO: DEBUG: GPS processor result {"connection_id":46258,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:22:08] local.INFO: GPS data processed {"connection_id":46258,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:22:08] local.INFO: Acknowledgment sent {"connection_id":46258,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:22:11] local.INFO: TCP Data received {"connection_id":46259,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46259,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:22:11] local.INFO: Processing buffer {"connection_id":46259,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:22:11] local.INFO: IMEI packet received {"connection_id":46259,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":46259,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:22:12] local.INFO: TCP Data received {"connection_id":46259,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d980cffd0012cfe44400704fe680009008235..."} 
[2026-04-17 02:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980cffd0012cfe44400704fe680009008235..."} 
[2026-04-17 02:22:12] local.INFO: Processing buffer {"connection_id":46259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980cffd0012cfe44400704fe680009008235..."} 
[2026-04-17 02:22:12] local.INFO: Packet analysis {"connection_id":46259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980c"} 
[2026-04-17 02:22:12] local.INFO: Extracted packet for processing {"connection_id":46259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980c"} 
[2026-04-17 02:22:12] local.INFO: GPS Element Parsed {"raw_longitude":754861120,"raw_latitude":117767784,"longitude_deg":75.486112,"latitude_deg":11.7767784,"altitude":9,"angle":130,"satellites":53,"speed":55,"hex_longitude":"2cfe4440","hex_latitude":"0704fe68","is_valid_coordinates":true} 
[2026-04-17 02:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:22:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,55,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 02:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776372482000,"timestamp_ms":1776372482000,"timestamp_seconds":1776372482,"priority":1,"record_length":96,"hex_timestamp":"0000019d980cffd0"} 
[2026-04-17 02:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:22: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 02:22:12] 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-04-17 02:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"55":206,"28":32256,"24":55,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16]} 
[2026-04-17 02:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 02:22:12] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-17 02:22:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:22:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_55":206,"unknown_28":32256,"ignition":55,"odometer":null}} 
[2026-04-17 02:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":46259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18687,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:22:12] local.INFO: GPS data processed {"connection_id":46259,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:22:12] local.INFO: Acknowledgment sent {"connection_id":46259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:22:44] local.INFO: TCP Data received {"connection_id":46259,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98100d10012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98100d10012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:22:44] local.INFO: Processing buffer {"connection_id":46259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98100d10012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:22:44] local.INFO: Packet analysis {"connection_id":46259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9810"} 
[2026-04-17 02:22:44] local.INFO: Extracted packet for processing {"connection_id":46259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9810"} 
[2026-04-17 02:22:44] local.INFO: GPS Element Parsed {"raw_longitude":754936960,"raw_latitude":117717192,"longitude_deg":75.493696,"latitude_deg":11.7717192,"altitude":12,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2cff6c80","hex_latitude":"070438c8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751400960001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:22:44] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-41517528929220608,"note":"Value kept but may cause issues"} 
[2026-04-17 02:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776372682000,"timestamp_ms":1776372682000,"timestamp_seconds":1776372682,"priority":1,"record_length":96,"hex_timestamp":"0000019d98100d10"} 
[2026-04-17 02:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:22:44] 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-04-17 02: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 02:22:44] 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-04-17 02: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-04-17 02:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46259,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751400960001,"66":27984,"55":206,"28":32256,"24":0,"16":106618783551979520,"44":-41517528929220608},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-04-17 02:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751400960001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:22:44] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-17 02:22:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:22:44] local.INFO: Unknown IO ID detected {"io_id":44,"value":-41517528929220608,"description":"Unknown IO ID 44"} 
[2026-04-17 02:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751400960001,"power":27984,"unknown_55":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-41517528929220608}} 
[2026-04-17 02:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":46259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18688,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:22:44] local.INFO: GPS data processed {"connection_id":46259,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:22:44] local.INFO: Acknowledgment sent {"connection_id":46259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:22:52] local.INFO: TCP Data received {"connection_id":45515,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:22:52] local.INFO: Processing buffer {"connection_id":45515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:22:52] local.INFO: IMEI packet received {"connection_id":45515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":45515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:22:54] local.INFO: TCP Data received {"connection_id":45515,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:22:54] local.INFO: Processing buffer {"connection_id":45515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:22:54] local.INFO: IMEI packet received {"connection_id":45515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":45515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:22:55] local.INFO: TCP Data received {"connection_id":45515,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d980fa780012d600680062cd128000700a22e..."} 
[2026-04-17 02:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980fa780012d600680062cd128000700a22e..."} 
[2026-04-17 02:22:55] local.INFO: Processing buffer {"connection_id":45515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980fa780012d600680062cd128000700a22e..."} 
[2026-04-17 02:22:55] local.INFO: Packet analysis {"connection_id":45515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980f"} 
[2026-04-17 02:22:55] local.INFO: Extracted packet for processing {"connection_id":45515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980f"} 
[2026-04-17 02:22:55] local.INFO: GPS Element Parsed {"raw_longitude":761267840,"raw_latitude":103600424,"longitude_deg":76.126784,"latitude_deg":10.3600424,"altitude":7,"angle":162,"satellites":46,"speed":27,"hex_longitude":"2d600680","hex_latitude":"062cd128","is_valid_coordinates":true} 
[2026-04-17 02:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751396608001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273615555926163456,"note":"Value kept but may cause issues"} 
[2026-04-17 02:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6915699466816466944,"note":"Value kept but may cause issues"} 
[2026-04-17 02:22:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776372656000,"timestamp_ms":1776372656000,"timestamp_seconds":1776372656,"priority":1,"record_length":96,"hex_timestamp":"0000019d980fa780"} 
[2026-04-17 02:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:22: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-04-17 02:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 02:22:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751396608001,"66":27604,"216":206,"79":20992,"24":27,"16":273615555926163456,"45":6915699466816466944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,79,24,16,45]} 
[2026-04-17 02:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751396608001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:22:55] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 02:22:55] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273615555926163456,"km_value":273615555926163.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":6915699466816466944,"description":"Unknown IO ID 45"} 
[2026-04-17 02:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751396608001,"power":27604,"unknown_216":206,"unknown_79":20992,"ignition":27,"odometer":null,"unknown_45":6915699466816466944}} 
[2026-04-17 02:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":45515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:22:55] local.INFO: GPS data processed {"connection_id":45515,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:22:55] local.INFO: Acknowledgment sent {"connection_id":45515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:23:11] local.INFO: TCP Data received {"connection_id":45706,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:23:11] local.INFO: Processing buffer {"connection_id":45706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:23:11] local.INFO: IMEI packet received {"connection_id":45706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":45706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:23:16] local.INFO: TCP Data received {"connection_id":45706,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:23:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:23:16] local.INFO: Processing buffer {"connection_id":45706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:23:16] local.INFO: IMEI packet received {"connection_id":45706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:23:16] local.INFO: IMEI acknowledgment sent {"connection_id":45706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:23:17] local.INFO: TCP Data received {"connection_id":45706,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98106300012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98106300012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:23:17] local.INFO: Processing buffer {"connection_id":45706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98106300012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:23:17] local.INFO: Packet analysis {"connection_id":45706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9810"} 
[2026-04-17 02:23:17] local.INFO: Extracted packet for processing {"connection_id":45706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9810"} 
[2026-04-17 02:23:17] local.INFO: GPS Element Parsed {"raw_longitude":754936960,"raw_latitude":117717192,"longitude_deg":75.493696,"latitude_deg":11.7717192,"altitude":12,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2cff6c80","hex_latitude":"070438c8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751406592001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:23:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-41517528929220608,"note":"Value kept but may cause issues"} 
[2026-04-17 02:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776372704000,"timestamp_ms":1776372704000,"timestamp_seconds":1776372704,"priority":1,"record_length":96,"hex_timestamp":"0000019d98106300"} 
[2026-04-17 02:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:23:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 02:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751406592001,"66":27800,"55":206,"28":32256,"24":0,"16":106618783551979520,"44":-41517528929220608},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-04-17 02:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751406592001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:23:17] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-17 02:23:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:23:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-41517528929220608,"description":"Unknown IO ID 44"} 
[2026-04-17 02:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751406592001,"power":27800,"unknown_55":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-41517528929220608}} 
[2026-04-17 02:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":45706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18690,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:23:17] local.INFO: GPS data processed {"connection_id":45706,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:23:17] local.INFO: Acknowledgment sent {"connection_id":45706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:23:26] local.INFO: TCP Data received {"connection_id":45515,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d980fda48012d601140062caf68000600a02e..."} 
[2026-04-17 02:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d980fda48012d601140062caf68000600a02e..."} 
[2026-04-17 02:23:26] local.INFO: Processing buffer {"connection_id":45515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d980fda48012d601140062caf68000600a02e..."} 
[2026-04-17 02:23:26] local.INFO: Packet analysis {"connection_id":45515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d980f"} 
[2026-04-17 02:23:26] local.INFO: Extracted packet for processing {"connection_id":45515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d980f"} 
[2026-04-17 02:23:26] local.INFO: GPS Element Parsed {"raw_longitude":761270592,"raw_latitude":103591784,"longitude_deg":76.1270592,"latitude_deg":10.3591784,"altitude":6,"angle":160,"satellites":46,"speed":32,"hex_longitude":"2d601140","hex_latitude":"062caf68","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751399936001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273615994012827648,"note":"Value kept but may cause issues"} 
[2026-04-17 02:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6919358641511409664,"note":"Value kept but may cause issues"} 
[2026-04-17 02:23:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,97,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776372669000,"timestamp_ms":1776372669000,"timestamp_seconds":1776372669,"priority":1,"record_length":96,"hex_timestamp":"0000019d980fda48"} 
[2026-04-17 02:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:23: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-04-17 02: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-17 02:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751399936001,"66":27343,"97":206,"79":20992,"24":32,"16":273615994012827648,"45":6919358641511409664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,79,24,16,45]} 
[2026-04-17 02:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751399936001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:23:26] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-17 02:23:26] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273615994012827648,"km_value":273615994012827.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":6919358641511409664,"description":"Unknown IO ID 45"} 
[2026-04-17 02:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751399936001,"power":27343,"unknown_97":206,"unknown_79":20992,"ignition":32,"odometer":null,"unknown_45":6919358641511409664}} 
[2026-04-17 02:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":45515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:23:26] local.INFO: GPS data processed {"connection_id":45515,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:23:26] local.INFO: Acknowledgment sent {"connection_id":45515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:23:49] local.INFO: TCP Data received {"connection_id":45706,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9810b8f0012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9810b8f0012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:23:49] local.INFO: Processing buffer {"connection_id":45706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9810b8f0012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:23:49] local.INFO: Packet analysis {"connection_id":45706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9810"} 
[2026-04-17 02:23:49] local.INFO: Extracted packet for processing {"connection_id":45706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9810"} 
[2026-04-17 02:23:49] local.INFO: GPS Element Parsed {"raw_longitude":754936960,"raw_latitude":117717192,"longitude_deg":75.493696,"latitude_deg":11.7717192,"altitude":12,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2cff6c80","hex_latitude":"070438c8","is_valid_coordinates":true} 
[2026-04-17 02:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751412224001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:23:49] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-41517528929220608,"note":"Value kept but may cause issues"} 
[2026-04-17 02:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776372726000,"timestamp_ms":1776372726000,"timestamp_seconds":1776372726,"priority":1,"record_length":96,"hex_timestamp":"0000019d9810b8f0"} 
[2026-04-17 02:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:23:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":152,"data_length":795,"current_offset":136} 
[2026-04-17 02:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751412224001,"66":27821,"55":206,"28":32256,"24":0,"16":106618783551979520,"44":-41517528929220608},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-04-17 02:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751412224001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:23:49] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-17 02:23:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:23:49] local.INFO: Unknown IO ID detected {"io_id":44,"value":-41517528929220608,"description":"Unknown IO ID 44"} 
[2026-04-17 02:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751412224001,"power":27821,"unknown_55":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-41517528929220608}} 
[2026-04-17 02:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":45706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18692,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:23:49] local.INFO: GPS data processed {"connection_id":45706,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:23:49] local.INFO: Acknowledgment sent {"connection_id":45706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:23:56] local.INFO: TCP Data received {"connection_id":45440,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:23:56] local.INFO: Processing buffer {"connection_id":45440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:23:56] local.INFO: IMEI packet received {"connection_id":45440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":45440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:23:57] local.INFO: TCP Data received {"connection_id":45440,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:23:57] local.INFO: Processing buffer {"connection_id":45440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:23:57] local.INFO: IMEI packet received {"connection_id":45440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":45440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:23:58] local.INFO: TCP Data received {"connection_id":45440,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 02:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45440,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 02:23:58] local.INFO: Processing buffer {"connection_id":45440,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 02:23:58] local.INFO: IMEI packet received {"connection_id":45440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":45440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:24:06] local.INFO: TCP Data received {"connection_id":45441,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:24:06] local.INFO: Processing buffer {"connection_id":45441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:24:06] local.INFO: IMEI packet received {"connection_id":45441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":45441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:24:11] local.INFO: TCP Data received {"connection_id":45441,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45441,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:24:11] local.INFO: Processing buffer {"connection_id":45441,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:24:11] local.INFO: IMEI packet received {"connection_id":45441,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":45441,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:24:12] local.INFO: TCP Data received {"connection_id":45441,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98110af8012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98110af8012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:24:12] local.INFO: Processing buffer {"connection_id":45441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98110af8012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:24:12] local.INFO: Packet analysis {"connection_id":45441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9811"} 
[2026-04-17 02:24:12] local.INFO: Extracted packet for processing {"connection_id":45441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9811"} 
[2026-04-17 02:24:12] local.INFO: GPS Element Parsed {"raw_longitude":754936960,"raw_latitude":117717192,"longitude_deg":75.493696,"latitude_deg":11.7717192,"altitude":12,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2cff6c80","hex_latitude":"070438c8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751417856001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:24:12] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-41517528929220608,"note":"Value kept but may cause issues"} 
[2026-04-17 02:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776372747000,"timestamp_ms":1776372747000,"timestamp_seconds":1776372747,"priority":1,"record_length":96,"hex_timestamp":"0000019d98110af8"} 
[2026-04-17 02:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:24: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-04-17 02: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 02:24:12] 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-04-17 02: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-04-17 02:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751417856001,"66":27984,"55":206,"28":32256,"24":0,"16":106618783551979520,"44":-41517528929220608},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-04-17 02:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751417856001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:24:12] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-17 02:24:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:24:12] local.INFO: Unknown IO ID detected {"io_id":44,"value":-41517528929220608,"description":"Unknown IO ID 44"} 
[2026-04-17 02:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751417856001,"power":27984,"unknown_55":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-41517528929220608}} 
[2026-04-17 02:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":45441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18693,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:24:12] local.INFO: GPS data processed {"connection_id":45441,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:24:12] local.INFO: Acknowledgment sent {"connection_id":45441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:24:43] local.INFO: TCP Data received {"connection_id":45441,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d981160e8012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:24:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981160e8012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:24:43] local.INFO: Processing buffer {"connection_id":45441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981160e8012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:24:43] local.INFO: Packet analysis {"connection_id":45441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9811"} 
[2026-04-17 02:24:43] local.INFO: Extracted packet for processing {"connection_id":45441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9811"} 
[2026-04-17 02:24:43] local.INFO: GPS Element Parsed {"raw_longitude":754936960,"raw_latitude":117717192,"longitude_deg":75.493696,"latitude_deg":11.7717192,"altitude":12,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2cff6c80","hex_latitude":"070438c8","is_valid_coordinates":true} 
[2026-04-17 02:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:24:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751423232001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:24:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:24:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-41517528929220608,"note":"Value kept but may cause issues"} 
[2026-04-17 02:24:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:24:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776372769000,"timestamp_ms":1776372769000,"timestamp_seconds":1776372769,"priority":1,"record_length":96,"hex_timestamp":"0000019d981160e8"} 
[2026-04-17 02:24:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:24: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-04-17 02:24:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 02:24:43] 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-04-17 02:24:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:24:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:24:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:24:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:24:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:24:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45441,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:24:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:24:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:24:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:24:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751423232001,"66":27952,"55":206,"28":32256,"24":0,"16":106618783551979520,"44":-41517528929220608},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-04-17 02:24:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:24:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:24:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751423232001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:24:43] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-17 02:24:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:24:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:24:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-41517528929220608,"description":"Unknown IO ID 44"} 
[2026-04-17 02:24:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751423232001,"power":27952,"unknown_55":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-41517528929220608}} 
[2026-04-17 02:24:43] local.INFO: DEBUG: GPS processor result {"connection_id":45441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18694,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:24:43] local.INFO: GPS data processed {"connection_id":45441,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:24:43] local.INFO: Acknowledgment sent {"connection_id":45441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:25:06] local.INFO: TCP Data received {"connection_id":45442,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:25:06] local.INFO: Processing buffer {"connection_id":45442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:25:06] local.INFO: IMEI packet received {"connection_id":45442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":45442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:25:09] local.INFO: TCP Data received {"connection_id":45442,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:25:09] local.INFO: Processing buffer {"connection_id":45442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:25:09] local.INFO: IMEI packet received {"connection_id":45442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":45442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:25:10] local.INFO: TCP Data received {"connection_id":45442,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9811b6d8012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9811b6d8012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:25:10] local.INFO: Processing buffer {"connection_id":45442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9811b6d8012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:25:10] local.INFO: Packet analysis {"connection_id":45442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9811"} 
[2026-04-17 02:25:10] local.INFO: Extracted packet for processing {"connection_id":45442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9811"} 
[2026-04-17 02:25:10] local.INFO: GPS Element Parsed {"raw_longitude":754936960,"raw_latitude":117717192,"longitude_deg":75.493696,"latitude_deg":11.7717192,"altitude":12,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2cff6c80","hex_latitude":"070438c8","is_valid_coordinates":true} 
[2026-04-17 02:25:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:25:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751428864001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:25:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:25:10] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-41517528929220608,"note":"Value kept but may cause issues"} 
[2026-04-17 02:25:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:25:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776372791000,"timestamp_ms":1776372791000,"timestamp_seconds":1776372791,"priority":1,"record_length":96,"hex_timestamp":"0000019d9811b6d8"} 
[2026-04-17 02:25:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:25:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 02:25:10] 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-04-17 02: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-04-17 02:25:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:25:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:25:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:25:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:25:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:25:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:25:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:25:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:25:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751428864001,"66":27843,"55":206,"28":32256,"24":0,"16":106618783551979520,"44":-41517528929220608},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-04-17 02:25:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:25:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:25:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751428864001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:25:10] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-17 02:25:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:25:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:25:10] local.INFO: Unknown IO ID detected {"io_id":44,"value":-41517528929220608,"description":"Unknown IO ID 44"} 
[2026-04-17 02:25:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751428864001,"power":27843,"unknown_55":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-41517528929220608}} 
[2026-04-17 02:25:10] local.INFO: DEBUG: GPS processor result {"connection_id":45442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:25:10] local.INFO: GPS data processed {"connection_id":45442,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:25:10] local.INFO: Acknowledgment sent {"connection_id":45442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:25:42] local.INFO: TCP Data received {"connection_id":45442,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98120cc8012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:25:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98120cc8012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:25:42] local.INFO: Processing buffer {"connection_id":45442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98120cc8012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:25:42] local.INFO: Packet analysis {"connection_id":45442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9812"} 
[2026-04-17 02:25:42] local.INFO: Extracted packet for processing {"connection_id":45442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9812"} 
[2026-04-17 02:25:42] local.INFO: GPS Element Parsed {"raw_longitude":754936960,"raw_latitude":117717192,"longitude_deg":75.493696,"latitude_deg":11.7717192,"altitude":12,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2cff6c80","hex_latitude":"070438c8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:25:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751434496001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:25:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:25:42] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-41517528929220608,"note":"Value kept but may cause issues"} 
[2026-04-17 02:25:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:25:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776372813000,"timestamp_ms":1776372813000,"timestamp_seconds":1776372813,"priority":1,"record_length":96,"hex_timestamp":"0000019d98120cc8"} 
[2026-04-17 02:25:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:25:42] 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-04-17 02:25:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 02:25:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:25:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:25:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:25:42] local.INFO: Teltonika packet parsed successfully {"connection_id":45442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:25:42] local.INFO: Passing IMEI to GPS processor {"connection_id":45442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:25:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":45442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:25:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:25:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:25:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:25:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751434496001,"66":27908,"55":206,"28":32256,"24":0,"16":106618783551979520,"44":-41517528929220608},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-04-17 02:25:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:25:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:25:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751434496001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:25:42] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-17 02:25:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:25:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:25:42] local.INFO: Unknown IO ID detected {"io_id":44,"value":-41517528929220608,"description":"Unknown IO ID 44"} 
[2026-04-17 02:25:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751434496001,"power":27908,"unknown_55":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-41517528929220608}} 
[2026-04-17 02:25:42] local.INFO: DEBUG: GPS processor result {"connection_id":45442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18696,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:25:42] local.INFO: GPS data processed {"connection_id":45442,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:25:42] local.INFO: Acknowledgment sent {"connection_id":45442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:26:06] local.INFO: TCP Data received {"connection_id":46262,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:26:06] local.INFO: Processing buffer {"connection_id":46262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:26:06] local.INFO: IMEI packet received {"connection_id":46262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":46262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:26:11] local.INFO: TCP Data received {"connection_id":46262,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46262,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:26:11] local.INFO: Processing buffer {"connection_id":46262,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:26:11] local.INFO: IMEI packet received {"connection_id":46262,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":46262,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:26:19] local.INFO: TCP Data received {"connection_id":46262,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d981262b8012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981262b8012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:26:19] local.INFO: Processing buffer {"connection_id":46262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981262b8012cff6c80070438c8000c006c32..."} 
[2026-04-17 02:26:19] local.INFO: Packet analysis {"connection_id":46262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9812"} 
[2026-04-17 02:26:19] local.INFO: Extracted packet for processing {"connection_id":46262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9812"} 
[2026-04-17 02:26:19] local.INFO: GPS Element Parsed {"raw_longitude":754936960,"raw_latitude":117717192,"longitude_deg":75.493696,"latitude_deg":11.7717192,"altitude":12,"angle":108,"satellites":50,"speed":0,"hex_longitude":"2cff6c80","hex_latitude":"070438c8","is_valid_coordinates":true} 
[2026-04-17 02:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:26:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751440128001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:26:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:26:19] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-41517528929220608,"note":"Value kept but may cause issues"} 
[2026-04-17 02:26:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:26:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776372835000,"timestamp_ms":1776372835000,"timestamp_seconds":1776372835,"priority":1,"record_length":96,"hex_timestamp":"0000019d981262b8"} 
[2026-04-17 02:26:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:26:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:26:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 02:26: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-04-17 02:26:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:26:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:26:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:26:19] local.INFO: Teltonika packet parsed successfully {"connection_id":46262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:26:19] local.INFO: Passing IMEI to GPS processor {"connection_id":46262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:26:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":46262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:26:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:26:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:26:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:26:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751440128001,"66":27952,"55":206,"28":32256,"24":0,"16":106618783551979520,"44":-41517528929220608},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16,44]} 
[2026-04-17 02:26:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:26:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:26:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751440128001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:26:19] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-17 02:26:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:26:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:26:19] local.INFO: Unknown IO ID detected {"io_id":44,"value":-41517528929220608,"description":"Unknown IO ID 44"} 
[2026-04-17 02:26:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751440128001,"power":27952,"unknown_55":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-41517528929220608}} 
[2026-04-17 02:26:19] local.INFO: DEBUG: GPS processor result {"connection_id":46262,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18697,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:26:19] local.INFO: GPS data processed {"connection_id":46262,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:26:19] local.INFO: Acknowledgment sent {"connection_id":46262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:26:51] local.INFO: TCP Data received {"connection_id":46262,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d981331c00100000000000000000000000000..."} 
[2026-04-17 02:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46262,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981331c00100000000000000000000000000..."} 
[2026-04-17 02:26:51] local.INFO: Processing buffer {"connection_id":46262,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981331c00100000000000000000000000000..."} 
[2026-04-17 02:26:51] local.INFO: Packet analysis {"connection_id":46262,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9813"} 
[2026-04-17 02:26:51] local.INFO: Extracted packet for processing {"connection_id":46262,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9813"} 
[2026-04-17 02:26:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 02:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:26:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751445760001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:26:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:26:51] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-41517528929220608,"note":"Value kept but may cause issues"} 
[2026-04-17 02:26:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:26:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776372888000,"timestamp_ms":1776372888000,"timestamp_seconds":1776372888,"priority":1,"record_length":96,"hex_timestamp":"0000019d981331c0"} 
[2026-04-17 02:26:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:26: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-04-17 02:26:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 02:26:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:26:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:26:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:26:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:26:51] local.INFO: Teltonika packet parsed successfully {"connection_id":46262,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:26:51] local.INFO: Passing IMEI to GPS processor {"connection_id":46262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:26:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":46262,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:26:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:26:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:26:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:26:51] local.INFO: DEBUG: GPS processor result {"connection_id":46262,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 02:26:51] local.INFO: GPS data processed {"connection_id":46262,"processed":0,"errors":0,"total":1} 
[2026-04-17 02:26:51] local.INFO: Acknowledgment sent {"connection_id":46262,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:27:06] local.INFO: TCP Data received {"connection_id":45516,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:27:06] local.INFO: Processing buffer {"connection_id":45516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:27:06] local.INFO: IMEI packet received {"connection_id":45516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":45516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:27:10] local.INFO: TCP Data received {"connection_id":45516,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:27:10] local.INFO: Processing buffer {"connection_id":45516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:27:10] local.INFO: IMEI packet received {"connection_id":45516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":45516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:27:11] local.INFO: TCP Data received {"connection_id":45516,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9812d018012cffa40007042308000c006e32..."} 
[2026-04-17 02:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9812d018012cffa40007042308000c006e32..."} 
[2026-04-17 02:27:11] local.INFO: Processing buffer {"connection_id":45516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9812d018012cffa40007042308000c006e32..."} 
[2026-04-17 02:27:11] local.INFO: Packet analysis {"connection_id":45516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9812"} 
[2026-04-17 02:27:11] local.INFO: Extracted packet for processing {"connection_id":45516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9812"} 
[2026-04-17 02:27:11] local.INFO: GPS Element Parsed {"raw_longitude":754951168,"raw_latitude":117711624,"longitude_deg":75.4951168,"latitude_deg":11.7711624,"altitude":12,"angle":110,"satellites":50,"speed":31,"hex_longitude":"2cffa400","hex_latitude":"07042308","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:27:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,55,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 02:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776372863000,"timestamp_ms":1776372863000,"timestamp_seconds":1776372863,"priority":1,"record_length":96,"hex_timestamp":"0000019d9812d018"} 
[2026-04-17 02:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:27:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":113,"data_length":795,"current_offset":136} 
[2026-04-17 02:27:11] 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-04-17 02: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-04-17 02:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27691,"55":206,"28":32256,"24":31,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,28,24,16]} 
[2026-04-17 02:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 02:27:11] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-17 02:27:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:27:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27691,"unknown_55":206,"unknown_28":32256,"ignition":31,"odometer":null}} 
[2026-04-17 02:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":45516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18698,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:27:11] local.INFO: GPS data processed {"connection_id":45516,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:27:11] local.INFO: Acknowledgment sent {"connection_id":45516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:27:43] local.INFO: TCP Data received {"connection_id":45516,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98132608012cffea00070409500009006d32..."} 
[2026-04-17 02:27:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98132608012cffea00070409500009006d32..."} 
[2026-04-17 02:27:43] local.INFO: Processing buffer {"connection_id":45516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98132608012cffea00070409500009006d32..."} 
[2026-04-17 02:27:43] local.INFO: Packet analysis {"connection_id":45516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9813"} 
[2026-04-17 02:27:43] local.INFO: Extracted packet for processing {"connection_id":45516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9813"} 
[2026-04-17 02:27:43] local.INFO: GPS Element Parsed {"raw_longitude":754969088,"raw_latitude":117705040,"longitude_deg":75.4969088,"latitude_deg":11.770504,"altitude":9,"angle":109,"satellites":50,"speed":0,"hex_longitude":"2cffea00","hex_latitude":"07040950","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:27:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751452928001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:27:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:27:43] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-25895667723204608,"note":"Value kept but may cause issues"} 
[2026-04-17 02:27:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:27:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776372885000,"timestamp_ms":1776372885000,"timestamp_seconds":1776372885,"priority":1,"record_length":96,"hex_timestamp":"0000019d98132608"} 
[2026-04-17 02:27:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:27: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-04-17 02: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":43,"data_length":795,"current_offset":136} 
[2026-04-17 02:27:43] 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-04-17 02: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-04-17 02:27:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:27:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:27:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:27:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:27:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:27:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:27:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:27:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:27:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751452928001,"66":27800,"52":206,"28":32256,"24":0,"16":106618783551979520,"44":-25895667723204608},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,28,24,16,44]} 
[2026-04-17 02:27:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:27:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:27:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751452928001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:27:43] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-04-17 02:27:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:27:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:27:43] local.INFO: Unknown IO ID detected {"io_id":44,"value":-25895667723204608,"description":"Unknown IO ID 44"} 
[2026-04-17 02:27:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751452928001,"power":27800,"unknown_52":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-25895667723204608}} 
[2026-04-17 02:27:43] local.INFO: DEBUG: GPS processor result {"connection_id":45516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18699,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:27:43] local.INFO: GPS data processed {"connection_id":45516,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:27:43] local.INFO: Acknowledgment sent {"connection_id":45516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:28:10] local.INFO: TCP Data received {"connection_id":46264,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:28:10] local.INFO: Processing buffer {"connection_id":46264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:28:10] local.INFO: IMEI packet received {"connection_id":46264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":46264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:28:11] local.INFO: TCP Data received {"connection_id":46264,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:28:11] local.INFO: Processing buffer {"connection_id":46264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:28:11] local.INFO: IMEI packet received {"connection_id":46264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":46264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:28:16] local.INFO: TCP Data received {"connection_id":46264,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46264,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:28:16] local.INFO: Processing buffer {"connection_id":46264,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:28:16] local.INFO: IMEI packet received {"connection_id":46264,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":46264,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:28:17] local.INFO: TCP Data received {"connection_id":46264,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98137810012d0037400703edd0000b006e34..."} 
[2026-04-17 02:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98137810012d0037400703edd0000b006e34..."} 
[2026-04-17 02:28:17] local.INFO: Processing buffer {"connection_id":46264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98137810012d0037400703edd0000b006e34..."} 
[2026-04-17 02:28:17] local.INFO: Packet analysis {"connection_id":46264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9813"} 
[2026-04-17 02:28:17] local.INFO: Extracted packet for processing {"connection_id":46264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9813"} 
[2026-04-17 02:28:17] local.INFO: GPS Element Parsed {"raw_longitude":754988864,"raw_latitude":117698000,"longitude_deg":75.4988864,"latitude_deg":11.7698,"altitude":11,"angle":110,"satellites":52,"speed":0,"hex_longitude":"2d003740","hex_latitude":"0703edd0","is_valid_coordinates":true} 
[2026-04-17 02:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751458560001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:28:17] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-6192419355144192,"note":"Value kept but may cause issues"} 
[2026-04-17 02:28:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,28,24,16,44],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776372906000,"timestamp_ms":1776372906000,"timestamp_seconds":1776372906,"priority":1,"record_length":96,"hex_timestamp":"0000019d98137810"} 
[2026-04-17 02:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 02:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751458560001,"66":27821,"52":206,"28":32256,"24":0,"16":106618783551979520,"44":-6192419355144192},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,28,24,16,44]} 
[2026-04-17 02:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751458560001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:28:17] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-04-17 02:28:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:28:17] local.INFO: Unknown IO ID detected {"io_id":44,"value":-6192419355144192,"description":"Unknown IO ID 44"} 
[2026-04-17 02:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751458560001,"power":27821,"unknown_52":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_44":-6192419355144192}} 
[2026-04-17 02:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":46264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18700,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:28:18] local.INFO: GPS data processed {"connection_id":46264,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:28:18] local.INFO: Acknowledgment sent {"connection_id":46264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:28:50] local.INFO: TCP Data received {"connection_id":46264,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d981443300100000000000000000000000000..."} 
[2026-04-17 02:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981443300100000000000000000000000000..."} 
[2026-04-17 02:28:50] local.INFO: Processing buffer {"connection_id":46264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981443300100000000000000000000000000..."} 
[2026-04-17 02:28:50] local.INFO: Packet analysis {"connection_id":46264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9814"} 
[2026-04-17 02:28:50] local.INFO: Extracted packet for processing {"connection_id":46264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9814"} 
[2026-04-17 02:28:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751463936001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":15551522593951744,"note":"Value kept but may cause issues"} 
[2026-04-17 02:28:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776372958000,"timestamp_ms":1776372958000,"timestamp_seconds":1776372958,"priority":1,"record_length":96,"hex_timestamp":"0000019d98144330"} 
[2026-04-17 02:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:28: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-04-17 02:28:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 02:28:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":46264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":46264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":46264,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":46264,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 02:28:50] local.INFO: GPS data processed {"connection_id":46264,"processed":0,"errors":0,"total":1} 
[2026-04-17 02:28:50] local.INFO: Acknowledgment sent {"connection_id":46264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:29:01] local.INFO: TCP Data received {"connection_id":45444,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:29:01] local.INFO: Processing buffer {"connection_id":45444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:29:01] local.INFO: IMEI packet received {"connection_id":45444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":45444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:29:03] local.INFO: TCP Data received {"connection_id":45444,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d981521d8012d61c700062956c80008009f30..."} 
[2026-04-17 02:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981521d8012d61c700062956c80008009f30..."} 
[2026-04-17 02:29:03] local.INFO: Processing buffer {"connection_id":45444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981521d8012d61c700062956c80008009f30..."} 
[2026-04-17 02:29:03] local.INFO: Packet analysis {"connection_id":45444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9815"} 
[2026-04-17 02:29:03] local.INFO: Extracted packet for processing {"connection_id":45444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9815"} 
[2026-04-17 02:29:03] local.INFO: GPS Element Parsed {"raw_longitude":761382656,"raw_latitude":103372488,"longitude_deg":76.1382656,"latitude_deg":10.3372488,"altitude":8,"angle":159,"satellites":48,"speed":28,"hex_longitude":"2d61c700","hex_latitude":"062956c8","is_valid_coordinates":true} 
[2026-04-17 02:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751489024001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273628170245111808,"note":"Value kept but may cause issues"} 
[2026-04-17 02:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7042292837533624320,"note":"Value kept but may cause issues"} 
[2026-04-17 02:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776373015000,"timestamp_ms":1776373015000,"timestamp_seconds":1776373015,"priority":1,"record_length":96,"hex_timestamp":"0000019d981521d8"} 
[2026-04-17 02:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 02:29: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-04-17 02:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:29:03] 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-04-17 02:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751489024001,"66":27397,"229":206,"79":20992,"24":28,"16":273628170245111808,"45":7042292837533624320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-04-17 02:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751489024001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:29:03] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-17 02:29:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273628170245111808,"km_value":273628170245111.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7042292837533624320,"description":"Unknown IO ID 45"} 
[2026-04-17 02:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751489024001,"power":27397,"unknown_229":206,"unknown_79":20992,"ignition":28,"odometer":null,"unknown_45":7042292837533624320}} 
[2026-04-17 02:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":45444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:29:03] local.INFO: GPS data processed {"connection_id":45444,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:29:03] local.INFO: Acknowledgment sent {"connection_id":45444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:29:06] local.INFO: TCP Data received {"connection_id":45707,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:29:06] local.INFO: Processing buffer {"connection_id":45707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:29:06] local.INFO: IMEI packet received {"connection_id":45707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":45707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:29:11] local.INFO: TCP Data received {"connection_id":45707,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:29:11] local.INFO: Processing buffer {"connection_id":45707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:29:11] local.INFO: IMEI packet received {"connection_id":45707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":45707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:29:12] local.INFO: TCP Data received {"connection_id":45707,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9813f128012d00b9c00703bd800012006f32..."} 
[2026-04-17 02:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9813f128012d00b9c00703bd800012006f32..."} 
[2026-04-17 02:29:12] local.INFO: Processing buffer {"connection_id":45707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9813f128012d00b9c00703bd800012006f32..."} 
[2026-04-17 02:29:12] local.INFO: Packet analysis {"connection_id":45707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9813"} 
[2026-04-17 02:29:12] local.INFO: Extracted packet for processing {"connection_id":45707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9813"} 
[2026-04-17 02:29:12] local.INFO: GPS Element Parsed {"raw_longitude":755022272,"raw_latitude":117685632,"longitude_deg":75.5022272,"latitude_deg":11.7685632,"altitude":18,"angle":111,"satellites":50,"speed":34,"hex_longitude":"2d00b9c0","hex_latitude":"0703bd80","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:29:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,53,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 02:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776372937000,"timestamp_ms":1776372937000,"timestamp_seconds":1776372937,"priority":1,"record_length":96,"hex_timestamp":"0000019d9813f128"} 
[2026-04-17 02:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:29: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 02:29:12] 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-04-17 02: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-04-17 02:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27919,"53":206,"28":32256,"24":34,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,28,24,16]} 
[2026-04-17 02:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 02:29:12] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-17 02:29:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:29:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27919,"unknown_53":206,"unknown_28":32256,"ignition":34,"odometer":null}} 
[2026-04-17 02:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":45707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18702,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:29:12] local.INFO: GPS data processed {"connection_id":45707,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:29:12] local.INFO: Acknowledgment sent {"connection_id":45707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:29:34] local.INFO: TCP Data received {"connection_id":45444,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98155c70012d61d580062934780008009b30..."} 
[2026-04-17 02:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98155c70012d61d580062934780008009b30..."} 
[2026-04-17 02:29:34] local.INFO: Processing buffer {"connection_id":45444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98155c70012d61d580062934780008009b30..."} 
[2026-04-17 02:29:34] local.INFO: Packet analysis {"connection_id":45444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9815"} 
[2026-04-17 02:29:34] local.INFO: Extracted packet for processing {"connection_id":45444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9815"} 
[2026-04-17 02:29:34] local.INFO: GPS Element Parsed {"raw_longitude":761386368,"raw_latitude":103363704,"longitude_deg":76.1386368,"latitude_deg":10.3363704,"altitude":8,"angle":155,"satellites":48,"speed":26,"hex_longitude":"2d61d580","hex_latitude":"06293478","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751491840001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273628629806612480,"note":"Value kept but may cause issues"} 
[2026-04-17 02:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7045600168507787264,"note":"Value kept but may cause issues"} 
[2026-04-17 02:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776373030000,"timestamp_ms":1776373030000,"timestamp_seconds":1776373030,"priority":1,"record_length":96,"hex_timestamp":"0000019d98155c70"} 
[2026-04-17 02:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:29: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-04-17 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 02:29:34] 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-04-17 02: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-04-17 02:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751491840001,"66":27343,"229":206,"79":20992,"24":26,"16":273628629806612480,"45":7045600168507787264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-04-17 02:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751491840001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:29:34] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-17 02:29:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273628629806612480,"km_value":273628629806612.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7045600168507787264,"description":"Unknown IO ID 45"} 
[2026-04-17 02:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751491840001,"power":27343,"unknown_229":206,"unknown_79":20992,"ignition":26,"odometer":null,"unknown_45":7045600168507787264}} 
[2026-04-17 02:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":45444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:29:34] local.INFO: GPS data processed {"connection_id":45444,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:29:34] local.INFO: Acknowledgment sent {"connection_id":45444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:29:52] local.INFO: TCP Data received {"connection_id":45517,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:29:52] local.INFO: Processing buffer {"connection_id":45517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:29:52] local.INFO: IMEI packet received {"connection_id":45517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":45517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:29:53] local.INFO: TCP Data received {"connection_id":45707,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98144330012d00fd400703a4580012006f2e..."} 
[2026-04-17 02:29:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98144330012d00fd400703a4580012006f2e..."} 
[2026-04-17 02:29:53] local.INFO: Processing buffer {"connection_id":45707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98144330012d00fd400703a4580012006f2e..."} 
[2026-04-17 02:29:53] local.INFO: Packet analysis {"connection_id":45707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9814"} 
[2026-04-17 02:29:53] local.INFO: Extracted packet for processing {"connection_id":45707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9814"} 
[2026-04-17 02:29:53] local.INFO: GPS Element Parsed {"raw_longitude":755039552,"raw_latitude":117679192,"longitude_deg":75.5039552,"latitude_deg":11.7679192,"altitude":18,"angle":111,"satellites":46,"speed":0,"hex_longitude":"2d00fd40","hex_latitude":"0703a458","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:29:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751471872001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:29:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:29:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":52284007051526144,"note":"Value kept but may cause issues"} 
[2026-04-17 02:29:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:29:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776372958000,"timestamp_ms":1776372958000,"timestamp_seconds":1776372958,"priority":1,"record_length":96,"hex_timestamp":"0000019d98144330"} 
[2026-04-17 02:29:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:29:53] 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-04-17 02: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 02:29:53] 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-04-17 02: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-04-17 02:29:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:29:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:29:53] local.INFO: Teltonika packet parsed successfully {"connection_id":45707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:29:53] local.INFO: Passing IMEI to GPS processor {"connection_id":45707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:29:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":45707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:29:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:29:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:29:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:29:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751471872001,"66":27484,"53":206,"28":32256,"24":0,"16":106618783551979520,"45":52284007051526144},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,28,24,16,45]} 
[2026-04-17 02:29:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:29:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:29:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751471872001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:29:53] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-17 02:29:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:29:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:29:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":52284007051526144,"description":"Unknown IO ID 45"} 
[2026-04-17 02:29:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751471872001,"power":27484,"unknown_53":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":52284007051526144}} 
[2026-04-17 02:29:53] local.INFO: DEBUG: GPS processor result {"connection_id":45707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18704,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:29:53] local.INFO: GPS data processed {"connection_id":45707,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:29:53] local.INFO: Acknowledgment sent {"connection_id":45707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:29:57] local.INFO: TCP Data received {"connection_id":45517,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:29:57] local.INFO: Processing buffer {"connection_id":45517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:29:57] local.INFO: IMEI packet received {"connection_id":45517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":45517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:29:59] local.INFO: TCP Data received {"connection_id":45517,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98159320012d61e44006291378000a009930..."} 
[2026-04-17 02:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98159320012d61e44006291378000a009930..."} 
[2026-04-17 02:29:59] local.INFO: Processing buffer {"connection_id":45517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98159320012d61e44006291378000a009930..."} 
[2026-04-17 02:29:59] local.INFO: Packet analysis {"connection_id":45517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9815"} 
[2026-04-17 02:29:59] local.INFO: Extracted packet for processing {"connection_id":45517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9815"} 
[2026-04-17 02:29:59] local.INFO: GPS Element Parsed {"raw_longitude":761390144,"raw_latitude":103355256,"longitude_deg":76.1390144,"latitude_deg":10.3355256,"altitude":10,"angle":153,"satellites":48,"speed":25,"hex_longitude":"2d61e440","hex_latitude":"06291378","is_valid_coordinates":true} 
[2026-04-17 02:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751495680001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273629076483211264,"note":"Value kept but may cause issues"} 
[2026-04-17 02:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7049681555667843072,"note":"Value kept but may cause issues"} 
[2026-04-17 02:29:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776373044000,"timestamp_ms":1776373044000,"timestamp_seconds":1776373044,"priority":1,"record_length":96,"hex_timestamp":"0000019d98159320"} 
[2026-04-17 02:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:29:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751495680001,"66":27517,"229":206,"79":20992,"24":25,"16":273629076483211264,"45":7049681555667843072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-04-17 02:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751495680001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:29:59] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-17 02:29:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273629076483211264,"km_value":273629076483211.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7049681555667843072,"description":"Unknown IO ID 45"} 
[2026-04-17 02:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751495680001,"power":27517,"unknown_229":206,"unknown_79":20992,"ignition":25,"odometer":null,"unknown_45":7049681555667843072}} 
[2026-04-17 02:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":45517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:29:59] local.INFO: GPS data processed {"connection_id":45517,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:29:59] local.INFO: Acknowledgment sent {"connection_id":45517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:30:05] local.INFO: TCP Data received {"connection_id":45518,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:30:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:30:06] local.INFO: Processing buffer {"connection_id":45518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:30:06] local.INFO: IMEI packet received {"connection_id":45518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:30:06] local.INFO: IMEI acknowledgment sent {"connection_id":45518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:30:07] local.INFO: TCP Data received {"connection_id":45518,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:30:07] local.INFO: Processing buffer {"connection_id":45518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:30:07] local.INFO: IMEI packet received {"connection_id":45518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":45518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:30:11] local.INFO: TCP Data received {"connection_id":45518,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:30:11] local.INFO: Processing buffer {"connection_id":45518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:30:11] local.INFO: IMEI packet received {"connection_id":45518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":45518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:30:13] local.INFO: TCP Data received {"connection_id":45518,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d981719c0012d02c3000700cdc8000600a534..."} 
[2026-04-17 02:30:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981719c0012d02c3000700cdc8000600a534..."} 
[2026-04-17 02:30:13] local.INFO: Processing buffer {"connection_id":45518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981719c0012d02c3000700cdc8000600a534..."} 
[2026-04-17 02:30:13] local.INFO: Packet analysis {"connection_id":45518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9817"} 
[2026-04-17 02:30:13] local.INFO: Extracted packet for processing {"connection_id":45518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9817"} 
[2026-04-17 02:30:13] local.INFO: GPS Element Parsed {"raw_longitude":755155712,"raw_latitude":117493192,"longitude_deg":75.5155712,"latitude_deg":11.7493192,"altitude":6,"angle":165,"satellites":52,"speed":51,"hex_longitude":"2d02c300","hex_latitude":"0700cdc8","is_valid_coordinates":true} 
[2026-04-17 02:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:30:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:30:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,35,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 02:30:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776373144000,"timestamp_ms":1776373144000,"timestamp_seconds":1776373144,"priority":1,"record_length":96,"hex_timestamp":"0000019d981719c0"} 
[2026-04-17 02:30:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:30:13] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:30:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 02:30: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-04-17 02:30:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:30:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:30:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:30:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:30:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:30:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:30:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:30:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:30:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:30:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27843,"35":206,"28":32256,"24":51,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16]} 
[2026-04-17 02:30:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:30:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:30:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 02:30:13] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-17 02:30:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:30:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:30:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27843,"unknown_35":206,"unknown_28":32256,"ignition":51,"odometer":null}} 
[2026-04-17 02:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":45518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18706,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:30:13] local.INFO: GPS data processed {"connection_id":45518,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:30:13] local.INFO: Acknowledgment sent {"connection_id":45518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:30:16] local.INFO: TCP Data received {"connection_id":45518,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98176bc8012d02d8c0070084c0000900a234..."} 
[2026-04-17 02:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98176bc8012d02d8c0070084c0000900a234..."} 
[2026-04-17 02:30:16] local.INFO: Processing buffer {"connection_id":45518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98176bc8012d02d8c0070084c0000900a234..."} 
[2026-04-17 02:30:16] local.INFO: Packet analysis {"connection_id":45518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9817"} 
[2026-04-17 02:30:16] local.INFO: Extracted packet for processing {"connection_id":45518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9817"} 
[2026-04-17 02:30:16] local.INFO: GPS Element Parsed {"raw_longitude":755161280,"raw_latitude":117474496,"longitude_deg":75.516128,"latitude_deg":11.7474496,"altitude":9,"angle":162,"satellites":52,"speed":0,"hex_longitude":"2d02d8c0","hex_latitude":"070084c0","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751524864001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":199002838612690944,"note":"Value kept but may cause issues"} 
[2026-04-17 02:30:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776373165000,"timestamp_ms":1776373165000,"timestamp_seconds":1776373165,"priority":1,"record_length":96,"hex_timestamp":"0000019d98176bc8"} 
[2026-04-17 02:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:30:16] 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-04-17 02: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 02:30:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751524864001,"66":27887,"59":206,"28":32256,"24":0,"16":106618783551979520,"45":199002838612690944},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,28,24,16,45]} 
[2026-04-17 02:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751524864001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:30:16] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-17 02:30:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":199002838612690944,"description":"Unknown IO ID 45"} 
[2026-04-17 02:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751524864001,"power":27887,"unknown_59":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":199002838612690944}} 
[2026-04-17 02:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":45518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18707,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:30:16] local.INFO: GPS data processed {"connection_id":45518,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:30:16] local.INFO: Acknowledgment sent {"connection_id":45518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:30:30] local.INFO: TCP Data received {"connection_id":45517,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9815cdb8012d61f3800628f3e80009009630..."} 
[2026-04-17 02:30:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9815cdb8012d61f3800628f3e80009009630..."} 
[2026-04-17 02:30:30] local.INFO: Processing buffer {"connection_id":45517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9815cdb8012d61f3800628f3e80009009630..."} 
[2026-04-17 02:30:30] local.INFO: Packet analysis {"connection_id":45517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9815"} 
[2026-04-17 02:30:30] local.INFO: Extracted packet for processing {"connection_id":45517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9815"} 
[2026-04-17 02:30:30] local.INFO: GPS Element Parsed {"raw_longitude":761394048,"raw_latitude":103347176,"longitude_deg":76.1394048,"latitude_deg":10.3347176,"altitude":9,"angle":150,"satellites":48,"speed":20,"hex_longitude":"2d61f380","hex_latitude":"0628f3e8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:30:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751499264001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:30:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273629510274908160,"note":"Value kept but may cause issues"} 
[2026-04-17 02:30:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7053833311572162560,"note":"Value kept but may cause issues"} 
[2026-04-17 02:30:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:30:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776373059000,"timestamp_ms":1776373059000,"timestamp_seconds":1776373059,"priority":1,"record_length":96,"hex_timestamp":"0000019d9815cdb8"} 
[2026-04-17 02:30:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:30: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-04-17 02:30:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 02:30:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:30:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:30:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:30:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:30:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:30:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:30: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-04-17 02:30:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:30:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:30:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751499264001,"66":27397,"229":206,"79":20992,"24":20,"16":273629510274908160,"45":7053833311572162560},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-04-17 02:30:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:30:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:30:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751499264001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:30:30] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-17 02:30:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:30:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273629510274908160,"km_value":273629510274908.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:30:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7053833311572162560,"description":"Unknown IO ID 45"} 
[2026-04-17 02:30:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751499264001,"power":27397,"unknown_229":206,"unknown_79":20992,"ignition":20,"odometer":null,"unknown_45":7053833311572162560}} 
[2026-04-17 02:30:30] local.INFO: DEBUG: GPS processor result {"connection_id":45517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:30:30] local.INFO: GPS data processed {"connection_id":45517,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:30:30] local.INFO: Acknowledgment sent {"connection_id":45517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:30:48] local.INFO: TCP Data received {"connection_id":45518,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9817bdd0012d02ee0007004040000a00a334..."} 
[2026-04-17 02:30:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9817bdd0012d02ee0007004040000a00a334..."} 
[2026-04-17 02:30:48] local.INFO: Processing buffer {"connection_id":45518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9817bdd0012d02ee0007004040000a00a334..."} 
[2026-04-17 02:30:48] local.INFO: Packet analysis {"connection_id":45518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9817"} 
[2026-04-17 02:30:48] local.INFO: Extracted packet for processing {"connection_id":45518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9817"} 
[2026-04-17 02:30:48] local.INFO: GPS Element Parsed {"raw_longitude":755166720,"raw_latitude":117456960,"longitude_deg":75.516672,"latitude_deg":11.745696,"altitude":10,"angle":163,"satellites":52,"speed":0,"hex_longitude":"2d02ee00","hex_latitude":"07004040","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:30:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751530240001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:30:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:30:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":205124919351361536,"note":"Value kept but may cause issues"} 
[2026-04-17 02:30:48] 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-04-17 02:30:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776373186000,"timestamp_ms":1776373186000,"timestamp_seconds":1776373186,"priority":1,"record_length":96,"hex_timestamp":"0000019d9817bdd0"} 
[2026-04-17 02:30:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:30:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:30:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 02:30:48] 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-04-17 02: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-04-17 02:30:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:30:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:30:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:30:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:30:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45518,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:30:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:30:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:30:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:30:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751530240001,"66":27821,"185":206,"28":32256,"24":0,"16":106618783551979520,"45":205124919351361536},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16,45]} 
[2026-04-17 02:30:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:30:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:30:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751530240001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:30:48] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-17 02:30:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:30:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:30:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":205124919351361536,"description":"Unknown IO ID 45"} 
[2026-04-17 02:30:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751530240001,"power":27821,"unknown_185":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":205124919351361536}} 
[2026-04-17 02:30:48] local.INFO: DEBUG: GPS processor result {"connection_id":45518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18709,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:30:48] local.INFO: GPS data processed {"connection_id":45518,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:30:48] local.INFO: Acknowledgment sent {"connection_id":45518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:30:57] local.INFO: TCP Data received {"connection_id":45708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:30:57] local.INFO: Processing buffer {"connection_id":45708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:30:57] local.INFO: IMEI packet received {"connection_id":45708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":45708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:31:02] local.INFO: TCP Data received {"connection_id":45708,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:31:02] local.INFO: Processing buffer {"connection_id":45708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:31:02] local.INFO: IMEI packet received {"connection_id":45708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":45708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:31:03] local.INFO: TCP Data received {"connection_id":45708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98161408012d6204400628d4d00008009830..."} 
[2026-04-17 02:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98161408012d6204400628d4d00008009830..."} 
[2026-04-17 02:31:03] local.INFO: Processing buffer {"connection_id":45708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98161408012d6204400628d4d00008009830..."} 
[2026-04-17 02:31:03] local.INFO: Packet analysis {"connection_id":45708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9816"} 
[2026-04-17 02:31:03] local.INFO: Extracted packet for processing {"connection_id":45708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9816"} 
[2026-04-17 02:31:03] local.INFO: GPS Element Parsed {"raw_longitude":761398336,"raw_latitude":103339216,"longitude_deg":76.1398336,"latitude_deg":10.3339216,"altitude":8,"angle":152,"satellites":48,"speed":24,"hex_longitude":"2d620440","hex_latitude":"0628d4d0","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751503104001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273629948361572352,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7058125804964931584,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776373077000,"timestamp_ms":1776373077000,"timestamp_seconds":1776373077,"priority":1,"record_length":96,"hex_timestamp":"0000019d98161408"} 
[2026-04-17 02:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:31: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-04-17 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 02:31:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:31:03] 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-04-17 02:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751503104001,"66":27343,"229":206,"79":20992,"24":24,"16":273629948361572352,"45":7058125804964931584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-04-17 02:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751503104001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:31:03] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-17 02:31:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273629948361572352,"km_value":273629948361572.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7058125804964931584,"description":"Unknown IO ID 45"} 
[2026-04-17 02:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751503104001,"power":27343,"unknown_229":206,"unknown_79":20992,"ignition":24,"odometer":null,"unknown_45":7058125804964931584}} 
[2026-04-17 02:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":45708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:31:03] local.INFO: GPS data processed {"connection_id":45708,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:31:03] local.INFO: Acknowledgment sent {"connection_id":45708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:31:03] local.INFO: TCP Data received {"connection_id":45708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d981646d0012d6214000628b4b80007009831..."} 
[2026-04-17 02:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981646d0012d6214000628b4b80007009831..."} 
[2026-04-17 02:31:03] local.INFO: Processing buffer {"connection_id":45708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981646d0012d6214000628b4b80007009831..."} 
[2026-04-17 02:31:03] local.INFO: Packet analysis {"connection_id":45708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9816"} 
[2026-04-17 02:31:03] local.INFO: Extracted packet for processing {"connection_id":45708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9816"} 
[2026-04-17 02:31:03] local.INFO: GPS Element Parsed {"raw_longitude":761402368,"raw_latitude":103331000,"longitude_deg":76.1402368,"latitude_deg":10.3331,"altitude":7,"angle":152,"satellites":49,"speed":30,"hex_longitude":"2d621400","hex_latitude":"0628b4b8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751507712001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273630390743203840,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7062840510822797312,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776373090000,"timestamp_ms":1776373090000,"timestamp_seconds":1776373090,"priority":1,"record_length":96,"hex_timestamp":"0000019d981646d0"} 
[2026-04-17 02:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:31: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-04-17 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:31: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-04-17 02: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-04-17 02:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:31:03] 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-04-17 02:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751507712001,"66":27365,"229":206,"79":20992,"24":30,"16":273630390743203840,"45":7062840510822797312},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-04-17 02:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751507712001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:31:03] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-17 02:31:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273630390743203840,"km_value":273630390743203.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7062840510822797312,"description":"Unknown IO ID 45"} 
[2026-04-17 02:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751507712001,"power":27365,"unknown_229":206,"unknown_79":20992,"ignition":30,"odometer":null,"unknown_45":7062840510822797312}} 
[2026-04-17 02:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":45708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:31:03] local.INFO: GPS data processed {"connection_id":45708,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:31:03] local.INFO: Acknowledgment sent {"connection_id":45708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:31:06] local.INFO: TCP Data received {"connection_id":45445,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:31:06] local.INFO: Processing buffer {"connection_id":45445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:31:06] local.INFO: IMEI packet received {"connection_id":45445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:31:06] local.INFO: IMEI acknowledgment sent {"connection_id":45445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:31:11] local.INFO: TCP Data received {"connection_id":45445,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:31:11] local.INFO: Processing buffer {"connection_id":45445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:31:11] local.INFO: IMEI packet received {"connection_id":45445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":45445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:31:12] local.INFO: TCP Data received {"connection_id":45445,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d981813c0012d030140070001c8000b00a425..."} 
[2026-04-17 02:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981813c0012d030140070001c8000b00a425..."} 
[2026-04-17 02:31:12] local.INFO: Processing buffer {"connection_id":45445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981813c0012d030140070001c8000b00a425..."} 
[2026-04-17 02:31:12] local.INFO: Packet analysis {"connection_id":45445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9818"} 
[2026-04-17 02:31:12] local.INFO: Extracted packet for processing {"connection_id":45445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9818"} 
[2026-04-17 02:31:12] local.INFO: GPS Element Parsed {"raw_longitude":755171648,"raw_latitude":117440968,"longitude_deg":75.5171648,"latitude_deg":11.7440968,"altitude":11,"angle":164,"satellites":37,"speed":0,"hex_longitude":"2d030140","hex_latitude":"070001c8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751535616001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":211106262601973760,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:12] 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-04-17 02:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776373208000,"timestamp_ms":1776373208000,"timestamp_seconds":1776373208,"priority":1,"record_length":96,"hex_timestamp":"0000019d981813c0"} 
[2026-04-17 02:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:31: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-04-17 02: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 02:31:12] 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-04-17 02: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-04-17 02:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45445,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45445,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751535616001,"66":27745,"185":206,"28":32256,"24":0,"16":106618783551979520,"45":211106262601973760},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,28,24,16,45]} 
[2026-04-17 02:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751535616001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:31:12] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-17 02:31:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":211106262601973760,"description":"Unknown IO ID 45"} 
[2026-04-17 02:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751535616001,"power":27745,"unknown_185":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":211106262601973760}} 
[2026-04-17 02:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":45445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18712,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:31:12] local.INFO: GPS data processed {"connection_id":45445,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:31:12] local.INFO: Acknowledgment sent {"connection_id":45445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:31:34] local.INFO: TCP Data received {"connection_id":45708,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98167998012d622540062893180006009930..."} 
[2026-04-17 02:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98167998012d622540062893180006009930..."} 
[2026-04-17 02:31:34] local.INFO: Processing buffer {"connection_id":45708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98167998012d622540062893180006009930..."} 
[2026-04-17 02:31:34] local.INFO: Packet analysis {"connection_id":45708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9816"} 
[2026-04-17 02:31:34] local.INFO: Extracted packet for processing {"connection_id":45708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9816"} 
[2026-04-17 02:31:34] local.INFO: GPS Element Parsed {"raw_longitude":761406784,"raw_latitude":103322392,"longitude_deg":76.1406784,"latitude_deg":10.3322392,"altitude":6,"angle":153,"satellites":48,"speed":34,"hex_longitude":"2d622540","hex_latitude":"06289318","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751511040001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273630858894639104,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7067273741703886848,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776373103000,"timestamp_ms":1776373103000,"timestamp_seconds":1776373103,"priority":1,"record_length":96,"hex_timestamp":"0000019d98167998"} 
[2026-04-17 02:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:31: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-04-17 02: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":229,"data_length":795,"current_offset":136} 
[2026-04-17 02:31:34] 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-04-17 02: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-04-17 02:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:31:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751511040001,"66":27213,"229":206,"79":20992,"24":34,"16":273630858894639104,"45":7067273741703886848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,79,24,16,45]} 
[2026-04-17 02:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751511040001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:31:34] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-17 02:31:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273630858894639104,"km_value":273630858894639.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7067273741703886848,"description":"Unknown IO ID 45"} 
[2026-04-17 02:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751511040001,"power":27213,"unknown_229":206,"unknown_79":20992,"ignition":34,"odometer":null,"unknown_45":7067273741703886848}} 
[2026-04-17 02:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":45708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:31:34] local.INFO: GPS data processed {"connection_id":45708,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:31:34] local.INFO: Acknowledgment sent {"connection_id":45708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:31:45] local.INFO: TCP Data received {"connection_id":45445,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9818cf400100000000000000000000000000..."} 
[2026-04-17 02:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9818cf400100000000000000000000000000..."} 
[2026-04-17 02:31:45] local.INFO: Processing buffer {"connection_id":45445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9818cf400100000000000000000000000000..."} 
[2026-04-17 02:31:45] local.INFO: Packet analysis {"connection_id":45445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9818"} 
[2026-04-17 02:31:45] local.INFO: Extracted packet for processing {"connection_id":45445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9818"} 
[2026-04-17 02:31: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-04-17 02:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751541248001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":216524655899559936,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776373256000,"timestamp_ms":1776373256000,"timestamp_seconds":1776373256,"priority":1,"record_length":96,"hex_timestamp":"0000019d9818cf40"} 
[2026-04-17 02:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:31: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-04-17 02:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 02:31: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-04-17 02:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45445,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45445,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":45445,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 02:31:45] local.INFO: GPS data processed {"connection_id":45445,"processed":0,"errors":0,"total":1} 
[2026-04-17 02:31:45] local.INFO: Acknowledgment sent {"connection_id":45445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:31:52] local.INFO: TCP Data received {"connection_id":46265,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:31:52] local.INFO: Processing buffer {"connection_id":46265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:31:52] local.INFO: IMEI packet received {"connection_id":46265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":46265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:31:54] local.INFO: TCP Data received {"connection_id":46265,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:31:54] local.INFO: Processing buffer {"connection_id":46265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:31:54] local.INFO: IMEI packet received {"connection_id":46265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":46265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:31:56] local.INFO: TCP Data received {"connection_id":46265,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:31:56] local.INFO: Processing buffer {"connection_id":46265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:31:56] local.INFO: IMEI packet received {"connection_id":46265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":46265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:31:57] local.INFO: TCP Data received {"connection_id":46265,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9818daf8012d627dc0062797f00004009730..."} 
[2026-04-17 02:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9818daf8012d627dc0062797f00004009730..."} 
[2026-04-17 02:31:57] local.INFO: Processing buffer {"connection_id":46265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9818daf8012d627dc0062797f00004009730..."} 
[2026-04-17 02:31:57] local.INFO: Packet analysis {"connection_id":46265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9818"} 
[2026-04-17 02:31:57] local.INFO: Extracted packet for processing {"connection_id":46265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9818"} 
[2026-04-17 02:31:57] local.INFO: GPS Element Parsed {"raw_longitude":761429440,"raw_latitude":103258096,"longitude_deg":76.142944,"latitude_deg":10.3258096,"altitude":4,"angle":151,"satellites":48,"speed":8,"hex_longitude":"2d627dc0","hex_latitude":"062797f0","is_valid_coordinates":true} 
[2026-04-17 02:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751549184001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273634183199326208,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7095421239357730816,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:57] 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-04-17 02:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776373259000,"timestamp_ms":1776373259000,"timestamp_seconds":1776373259,"priority":1,"record_length":96,"hex_timestamp":"0000019d9818daf8"} 
[2026-04-17 02:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:31: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-04-17 02:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 02:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751549184001,"66":27397,"228":206,"79":20992,"24":8,"16":273634183199326208,"45":7095421239357730816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-04-17 02:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751549184001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:31:57] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-04-17 02:31:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273634183199326208,"km_value":273634183199326.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7095421239357730816,"description":"Unknown IO ID 45"} 
[2026-04-17 02:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751549184001,"power":27397,"unknown_228":206,"unknown_79":20992,"ignition":8,"odometer":null,"unknown_45":7095421239357730816}} 
[2026-04-17 02:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":46265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:31:57] local.INFO: GPS data processed {"connection_id":46265,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:31:57] local.INFO: Acknowledgment sent {"connection_id":46265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:31:58] local.INFO: TCP Data received {"connection_id":46265,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9818e2c8012d627ec0062796d0000500812f..."} 
[2026-04-17 02:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9818e2c8012d627ec0062796d0000500812f..."} 
[2026-04-17 02:31:58] local.INFO: Processing buffer {"connection_id":46265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9818e2c8012d627ec0062796d0000500812f..."} 
[2026-04-17 02:31:58] local.INFO: Packet analysis {"connection_id":46265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9818"} 
[2026-04-17 02:31:58] local.INFO: Extracted packet for processing {"connection_id":46265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9818"} 
[2026-04-17 02:31:58] local.INFO: GPS Element Parsed {"raw_longitude":761429696,"raw_latitude":103257808,"longitude_deg":76.1429696,"latitude_deg":10.3257808,"altitude":5,"angle":129,"satellites":47,"speed":7,"hex_longitude":"2d627ec0","hex_latitude":"062796d0","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751554304001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273634200379195392,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7097039720472375296,"note":"Value kept but may cause issues"} 
[2026-04-17 02:31:58] 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-04-17 02:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776373261000,"timestamp_ms":1776373261000,"timestamp_seconds":1776373261,"priority":1,"record_length":96,"hex_timestamp":"0000019d9818e2c8"} 
[2026-04-17 02:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:31: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-04-17 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 02:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751554304001,"66":27463,"228":206,"79":20992,"24":7,"16":273634200379195392,"45":7097039720472375296},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-04-17 02:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751554304001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:31:58] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-04-17 02:31:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273634200379195392,"km_value":273634200379195.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7097039720472375296,"description":"Unknown IO ID 45"} 
[2026-04-17 02:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751554304001,"power":27463,"unknown_228":206,"unknown_79":20992,"ignition":7,"odometer":null,"unknown_45":7097039720472375296}} 
[2026-04-17 02:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":46265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:31:58] local.INFO: GPS data processed {"connection_id":46265,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:31:58] local.INFO: Acknowledgment sent {"connection_id":46265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:32:00] local.INFO: TCP Data received {"connection_id":45709,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:32:00] local.INFO: Processing buffer {"connection_id":45709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:32:00] local.INFO: IMEI packet received {"connection_id":45709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":45709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:32:06] local.INFO: TCP Data received {"connection_id":45709,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45709,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:32:06] local.INFO: Processing buffer {"connection_id":45709,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:32:06] local.INFO: IMEI packet received {"connection_id":45709,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":45709,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:32:07] local.INFO: TCP Data received {"connection_id":45709,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98188508012d0337c006ff78780006009233..."} 
[2026-04-17 02:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98188508012d0337c006ff78780006009233..."} 
[2026-04-17 02:32:07] local.INFO: Processing buffer {"connection_id":45709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98188508012d0337c006ff78780006009233..."} 
[2026-04-17 02:32:07] local.INFO: Packet analysis {"connection_id":45709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9818"} 
[2026-04-17 02:32:07] local.INFO: Extracted packet for processing {"connection_id":45709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9818"} 
[2026-04-17 02:32:07] local.INFO: GPS Element Parsed {"raw_longitude":755185600,"raw_latitude":117405816,"longitude_deg":75.51856,"latitude_deg":11.7405816,"altitude":6,"angle":146,"satellites":51,"speed":52,"hex_longitude":"2d0337c0","hex_latitude":"06ff7878","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:32:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,44,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 02:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776373237000,"timestamp_ms":1776373237000,"timestamp_seconds":1776373237,"priority":1,"record_length":96,"hex_timestamp":"0000019d98188508"} 
[2026-04-17 02:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:32:07] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 02:32:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45709,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45709,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"44":206,"28":32256,"24":52,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16]} 
[2026-04-17 02:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 02:32:07] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-04-17 02:32:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:32:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_44":206,"unknown_28":32256,"ignition":52,"odometer":null}} 
[2026-04-17 02:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":45709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18716,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:32:07] local.INFO: GPS data processed {"connection_id":45709,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:32:07] local.INFO: Acknowledgment sent {"connection_id":45709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:32:29] local.INFO: TCP Data received {"connection_id":46265,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9818ee80012d6280c006279598000500752c..."} 
[2026-04-17 02:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9818ee80012d6280c006279598000500752c..."} 
[2026-04-17 02:32:29] local.INFO: Processing buffer {"connection_id":46265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9818ee80012d6280c006279598000500752c..."} 
[2026-04-17 02:32:29] local.INFO: Packet analysis {"connection_id":46265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9818"} 
[2026-04-17 02:32:29] local.INFO: Extracted packet for processing {"connection_id":46265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9818"} 
[2026-04-17 02:32:29] local.INFO: GPS Element Parsed {"raw_longitude":761430208,"raw_latitude":103257496,"longitude_deg":76.1430208,"latitude_deg":10.3257496,"altitude":5,"angle":117,"satellites":44,"speed":9,"hex_longitude":"2d6280c0","hex_latitude":"06279598","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751554816001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273634230443966464,"note":"Value kept but may cause issues"} 
[2026-04-17 02:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7097321195449012224,"note":"Value kept but may cause issues"} 
[2026-04-17 02:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776373264000,"timestamp_ms":1776373264000,"timestamp_seconds":1776373264,"priority":1,"record_length":96,"hex_timestamp":"0000019d9818ee80"} 
[2026-04-17 02:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:32: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-04-17 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 02:32:29] 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-04-17 02: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-04-17 02:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:32: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-04-17 02:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751554816001,"66":27267,"228":206,"79":20992,"24":9,"16":273634230443966464,"45":7097321195449012224},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-04-17 02:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751554816001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:32:29] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-04-17 02:32:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273634230443966464,"km_value":273634230443966.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7097321195449012224,"description":"Unknown IO ID 45"} 
[2026-04-17 02:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751554816001,"power":27267,"unknown_228":206,"unknown_79":20992,"ignition":9,"odometer":null,"unknown_45":7097321195449012224}} 
[2026-04-17 02:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":46265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:32:29] local.INFO: GPS data processed {"connection_id":46265,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:32:29] local.INFO: Acknowledgment sent {"connection_id":46265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:32:39] local.INFO: TCP Data received {"connection_id":45709,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9818c388012d0370c006ff38a80006008234..."} 
[2026-04-17 02:32:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9818c388012d0370c006ff38a80006008234..."} 
[2026-04-17 02:32:39] local.INFO: Processing buffer {"connection_id":45709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9818c388012d0370c006ff38a80006008234..."} 
[2026-04-17 02:32:39] local.INFO: Packet analysis {"connection_id":45709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9818"} 
[2026-04-17 02:32:39] local.INFO: Extracted packet for processing {"connection_id":45709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9818"} 
[2026-04-17 02:32:39] local.INFO: GPS Element Parsed {"raw_longitude":755200192,"raw_latitude":117389480,"longitude_deg":75.5200192,"latitude_deg":11.738948,"altitude":6,"angle":130,"satellites":52,"speed":51,"hex_longitude":"2d0370c0","hex_latitude":"06ff38a8","is_valid_coordinates":true} 
[2026-04-17 02:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:32:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751548672001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:32:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:32:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":231865042121291776,"note":"Value kept but may cause issues"} 
[2026-04-17 02:32:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:32:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776373253000,"timestamp_ms":1776373253000,"timestamp_seconds":1776373253,"priority":1,"record_length":96,"hex_timestamp":"0000019d9818c388"} 
[2026-04-17 02:32:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:32:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:32:39] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 02:32:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:32:39] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:32:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:32:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:32:39] local.INFO: Teltonika packet parsed successfully {"connection_id":45709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:32:39] local.INFO: Passing IMEI to GPS processor {"connection_id":45709,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:32:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":45709,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:32:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:32:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:32:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:32:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751548672001,"66":27876,"44":206,"28":32256,"24":51,"16":106618783551979520,"45":231865042121291776},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-04-17 02:32:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:32:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:32:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751548672001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:32:39] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-04-17 02:32:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:32:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:32:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":231865042121291776,"description":"Unknown IO ID 45"} 
[2026-04-17 02:32:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751548672001,"power":27876,"unknown_44":206,"unknown_28":32256,"ignition":51,"odometer":null,"unknown_45":231865042121291776}} 
[2026-04-17 02:32:39] local.INFO: DEBUG: GPS processor result {"connection_id":45709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18718,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:32:39] local.INFO: GPS data processed {"connection_id":45709,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:32:39] local.INFO: Acknowledgment sent {"connection_id":45709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:32:52] local.INFO: TCP Data received {"connection_id":45446,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:32:52] local.INFO: Processing buffer {"connection_id":45446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:32:52] local.INFO: IMEI packet received {"connection_id":45446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":45446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:32:55] local.INFO: TCP Data received {"connection_id":45446,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:32:55] local.INFO: Processing buffer {"connection_id":45446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:32:55] local.INFO: IMEI packet received {"connection_id":45446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":45446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:32:57] local.INFO: TCP Data received {"connection_id":45446,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45446,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:32:57] local.INFO: Processing buffer {"connection_id":45446,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:32:57] local.INFO: IMEI packet received {"connection_id":45446,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":45446,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:32:58] local.INFO: TCP Data received {"connection_id":45446,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9818f650012d62828006279548000500642a..."} 
[2026-04-17 02:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9818f650012d62828006279548000500642a..."} 
[2026-04-17 02:32:58] local.INFO: Processing buffer {"connection_id":45446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9818f650012d62828006279548000500642a..."} 
[2026-04-17 02:32:58] local.INFO: Packet analysis {"connection_id":45446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9818"} 
[2026-04-17 02:32:58] local.INFO: Extracted packet for processing {"connection_id":45446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9818"} 
[2026-04-17 02:32:58] local.INFO: GPS Element Parsed {"raw_longitude":761430656,"raw_latitude":103257416,"longitude_deg":76.1430656,"latitude_deg":10.3257416,"altitude":5,"angle":100,"satellites":42,"speed":7,"hex_longitude":"2d628280","hex_latitude":"06279548","is_valid_coordinates":true} 
[2026-04-17 02:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751555584001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273634256213770240,"note":"Value kept but may cause issues"} 
[2026-04-17 02:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7097884145402353664,"note":"Value kept but may cause issues"} 
[2026-04-17 02:32:58] 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-04-17 02:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776373266000,"timestamp_ms":1776373266000,"timestamp_seconds":1776373266,"priority":1,"record_length":96,"hex_timestamp":"0000019d9818f650"} 
[2026-04-17 02:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:32: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-04-17 02:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 02:32:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751555584001,"66":27267,"228":206,"79":20992,"24":7,"16":273634256213770240,"45":7097884145402353664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,79,24,16,45]} 
[2026-04-17 02:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751555584001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:32:58] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-04-17 02:32:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273634256213770240,"km_value":273634256213770.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7097884145402353664,"description":"Unknown IO ID 45"} 
[2026-04-17 02:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751555584001,"power":27267,"unknown_228":206,"unknown_79":20992,"ignition":7,"odometer":null,"unknown_45":7097884145402353664}} 
[2026-04-17 02:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":45446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:32:58] local.INFO: GPS data processed {"connection_id":45446,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:32:58] local.INFO: Acknowledgment sent {"connection_id":45446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:33:02] local.INFO: TCP Data received {"connection_id":45446,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98191d60012d628b80062794d0000500722e..."} 
[2026-04-17 02:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98191d60012d628b80062794d0000500722e..."} 
[2026-04-17 02:33:02] local.INFO: Processing buffer {"connection_id":45446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98191d60012d628b80062794d0000500722e..."} 
[2026-04-17 02:33:02] local.INFO: Packet analysis {"connection_id":45446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9819"} 
[2026-04-17 02:33:02] local.INFO: Extracted packet for processing {"connection_id":45446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9819"} 
[2026-04-17 02:33:02] local.INFO: GPS Element Parsed {"raw_longitude":761432960,"raw_latitude":103257296,"longitude_deg":76.143296,"latitude_deg":10.3257296,"altitude":5,"angle":114,"satellites":46,"speed":13,"hex_longitude":"2d628b80","hex_latitude":"062794d0","is_valid_coordinates":true} 
[2026-04-17 02:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751556096001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273634363587952640,"note":"Value kept but may cause issues"} 
[2026-04-17 02:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7098376726611576832,"note":"Value kept but may cause issues"} 
[2026-04-17 02:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776373276000,"timestamp_ms":1776373276000,"timestamp_seconds":1776373276,"priority":1,"record_length":96,"hex_timestamp":"0000019d98191d60"} 
[2026-04-17 02:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 02:33:02] 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-04-17 02:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751556096001,"66":27376,"87":206,"79":20992,"24":13,"16":273634363587952640,"45":7098376726611576832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,79,24,16,45]} 
[2026-04-17 02:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751556096001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:33:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-04-17 02:33:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273634363587952640,"km_value":273634363587952.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7098376726611576832,"description":"Unknown IO ID 45"} 
[2026-04-17 02:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751556096001,"power":27376,"unknown_87":206,"unknown_79":20992,"ignition":13,"odometer":null,"unknown_45":7098376726611576832}} 
[2026-04-17 02:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":45446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:33:02] local.INFO: GPS data processed {"connection_id":45446,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:33:02] local.INFO: Acknowledgment sent {"connection_id":45446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:33:05] local.INFO: TCP Data received {"connection_id":45710,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:33:05] local.INFO: Processing buffer {"connection_id":45710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:33:05] local.INFO: IMEI packet received {"connection_id":45710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":45710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:33:13] local.INFO: TCP Data received {"connection_id":45710,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:33:13] local.INFO: Processing buffer {"connection_id":45710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:33:13] local.INFO: IMEI packet received {"connection_id":45710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":45710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:33:15] local.INFO: TCP Data received {"connection_id":45710,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d981905f0012d03b2c006ff0f900009007235..."} 
[2026-04-17 02:33:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981905f0012d03b2c006ff0f900009007235..."} 
[2026-04-17 02:33:15] local.INFO: Processing buffer {"connection_id":45710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981905f0012d03b2c006ff0f900009007235..."} 
[2026-04-17 02:33:15] local.INFO: Packet analysis {"connection_id":45710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9819"} 
[2026-04-17 02:33:15] local.INFO: Extracted packet for processing {"connection_id":45710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9819"} 
[2026-04-17 02:33:15] local.INFO: GPS Element Parsed {"raw_longitude":755217088,"raw_latitude":117378960,"longitude_deg":75.5217088,"latitude_deg":11.737896,"altitude":9,"angle":114,"satellites":53,"speed":41,"hex_longitude":"2d03b2c0","hex_latitude":"06ff0f90","is_valid_coordinates":true} 
[2026-04-17 02:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:33:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751552768001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:33:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:33:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":247909115789617152,"note":"Value kept but may cause issues"} 
[2026-04-17 02:33:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:33:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776373270000,"timestamp_ms":1776373270000,"timestamp_seconds":1776373270,"priority":1,"record_length":96,"hex_timestamp":"0000019d981905f0"} 
[2026-04-17 02:33:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:33:15] 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-04-17 02:33:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 02:33:15] 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-04-17 02:33:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:33:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:33:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:33:15] local.INFO: Teltonika packet parsed successfully {"connection_id":45710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:33:15] local.INFO: Passing IMEI to GPS processor {"connection_id":45710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:33:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":45710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:33:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:33:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:33:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:33:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751552768001,"66":27952,"44":206,"28":32256,"24":41,"16":106618783551979520,"45":247909115789617152},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-04-17 02:33:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:33:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:33:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751552768001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:33:15] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-04-17 02:33:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:33:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:33:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":247909115789617152,"description":"Unknown IO ID 45"} 
[2026-04-17 02:33:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751552768001,"power":27952,"unknown_44":206,"unknown_28":32256,"ignition":41,"odometer":null,"unknown_45":247909115789617152}} 
[2026-04-17 02:33:15] local.INFO: DEBUG: GPS processor result {"connection_id":45710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18721,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:33:15] local.INFO: GPS data processed {"connection_id":45710,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:33:15] local.INFO: Acknowledgment sent {"connection_id":45710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:33:34] local.INFO: TCP Data received {"connection_id":45446,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98192530012d628d8006279350000500832e..."} 
[2026-04-17 02:33:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98192530012d628d8006279350000500832e..."} 
[2026-04-17 02:33:34] local.INFO: Processing buffer {"connection_id":45446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98192530012d628d8006279350000500832e..."} 
[2026-04-17 02:33:34] local.INFO: Packet analysis {"connection_id":45446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9819"} 
[2026-04-17 02:33:34] local.INFO: Extracted packet for processing {"connection_id":45446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9819"} 
[2026-04-17 02:33:34] local.INFO: GPS Element Parsed {"raw_longitude":761433472,"raw_latitude":103256912,"longitude_deg":76.1433472,"latitude_deg":10.3256912,"altitude":5,"angle":131,"satellites":46,"speed":14,"hex_longitude":"2d628d80","hex_latitude":"06279350","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:33:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751558656001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:33:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273634397947691008,"note":"Value kept but may cause issues"} 
[2026-04-17 02:33:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7100910001401942016,"note":"Value kept but may cause issues"} 
[2026-04-17 02:33:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:33:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776373278000,"timestamp_ms":1776373278000,"timestamp_seconds":1776373278,"priority":1,"record_length":96,"hex_timestamp":"0000019d98192530"} 
[2026-04-17 02:33:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:33: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-04-17 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 02:33: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-04-17 02: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-04-17 02:33:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:33:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:33:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:33:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:33:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45446,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:33:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:33:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:33:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:33:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751558656001,"66":27321,"87":206,"79":20992,"24":14,"16":273634397947691008,"45":7100910001401942016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,79,24,16,45]} 
[2026-04-17 02:33:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:33:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:33:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751558656001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:33:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-04-17 02:33:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:33:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273634397947691008,"km_value":273634397947691.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:33:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7100910001401942016,"description":"Unknown IO ID 45"} 
[2026-04-17 02:33:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751558656001,"power":27321,"unknown_87":206,"unknown_79":20992,"ignition":14,"odometer":null,"unknown_45":7100910001401942016}} 
[2026-04-17 02:33:34] local.INFO: DEBUG: GPS processor result {"connection_id":45446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:33:34] local.INFO: GPS data processed {"connection_id":45446,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:33:34] local.INFO: Acknowledgment sent {"connection_id":45446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:33:46] local.INFO: TCP Data received {"connection_id":45710,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98194c40012d03f90006fef9700009006535..."} 
[2026-04-17 02:33:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98194c40012d03f90006fef9700009006535..."} 
[2026-04-17 02:33:46] local.INFO: Processing buffer {"connection_id":45710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98194c40012d03f90006fef9700009006535..."} 
[2026-04-17 02:33:46] local.INFO: Packet analysis {"connection_id":45710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9819"} 
[2026-04-17 02:33:46] local.INFO: Extracted packet for processing {"connection_id":45710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9819"} 
[2026-04-17 02:33:46] local.INFO: GPS Element Parsed {"raw_longitude":755235072,"raw_latitude":117373296,"longitude_deg":75.5235072,"latitude_deg":11.7373296,"altitude":9,"angle":101,"satellites":53,"speed":40,"hex_longitude":"2d03f900","hex_latitude":"06fef970","is_valid_coordinates":true} 
[2026-04-17 02:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:33:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751557120001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:33:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:33:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":266486464249827328,"note":"Value kept but may cause issues"} 
[2026-04-17 02:33:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,44,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:33:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776373288000,"timestamp_ms":1776373288000,"timestamp_seconds":1776373288,"priority":1,"record_length":96,"hex_timestamp":"0000019d98194c40"} 
[2026-04-17 02:33:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:33:46] 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-04-17 02:33:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 02:33: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-04-17 02:33:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:33:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:33:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:33:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:33:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:33:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:33:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:33:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:33:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:33:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751557120001,"66":27463,"44":206,"28":32256,"24":40,"16":106618783551979520,"45":266486464249827328},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,44,28,24,16,45]} 
[2026-04-17 02:33:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:33:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:33:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751557120001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:33:46] local.INFO: Unknown IO ID detected {"io_id":44,"value":206,"description":"Unknown IO ID 44"} 
[2026-04-17 02:33:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:33:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:33:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":266486464249827328,"description":"Unknown IO ID 45"} 
[2026-04-17 02:33:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751557120001,"power":27463,"unknown_44":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_45":266486464249827328}} 
[2026-04-17 02:33:46] local.INFO: DEBUG: GPS processor result {"connection_id":45710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18723,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:33:46] local.INFO: GPS data processed {"connection_id":45710,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:33:46] local.INFO: Acknowledgment sent {"connection_id":45710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:33:52] local.INFO: TCP Data received {"connection_id":45711,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:33:52] local.INFO: Processing buffer {"connection_id":45711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:33:52] local.INFO: IMEI packet received {"connection_id":45711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":45711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:33:56] local.INFO: TCP Data received {"connection_id":45711,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:33:56] local.INFO: Processing buffer {"connection_id":45711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:33:56] local.INFO: IMEI packet received {"connection_id":45711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":45711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:33:57] local.INFO: TCP Data received {"connection_id":45711,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:33:57] local.INFO: Processing buffer {"connection_id":45711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:33:57] local.INFO: IMEI packet received {"connection_id":45711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":45711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:33:57] local.INFO: TCP Data received {"connection_id":45711,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98192918012d628ec0062792280005008e2e..."} 
[2026-04-17 02:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98192918012d628ec0062792280005008e2e..."} 
[2026-04-17 02:33:57] local.INFO: Processing buffer {"connection_id":45711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98192918012d628ec0062792280005008e2e..."} 
[2026-04-17 02:33:57] local.INFO: Packet analysis {"connection_id":45711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9819"} 
[2026-04-17 02:33:57] local.INFO: Extracted packet for processing {"connection_id":45711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9819"} 
[2026-04-17 02:33:57] local.INFO: GPS Element Parsed {"raw_longitude":761433792,"raw_latitude":103256616,"longitude_deg":76.1433792,"latitude_deg":10.3256616,"altitude":5,"angle":142,"satellites":46,"speed":15,"hex_longitude":"2d628ec0","hex_latitude":"06279228","is_valid_coordinates":true} 
[2026-04-17 02:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751559168001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273634419422527488,"note":"Value kept but may cause issues"} 
[2026-04-17 02:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7101472951355265024,"note":"Value kept but may cause issues"} 
[2026-04-17 02:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776373279000,"timestamp_ms":1776373279000,"timestamp_seconds":1776373279,"priority":1,"record_length":96,"hex_timestamp":"0000019d98192918"} 
[2026-04-17 02:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:33: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-04-17 02:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 02:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751559168001,"66":26702,"87":206,"79":20992,"24":15,"16":273634419422527488,"45":7101472951355265024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,79,24,16,45]} 
[2026-04-17 02:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751559168001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:33:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-04-17 02:33:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273634419422527488,"km_value":273634419422527.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7101472951355265024,"description":"Unknown IO ID 45"} 
[2026-04-17 02:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751559168001,"power":26702,"unknown_87":206,"unknown_79":20992,"ignition":15,"odometer":null,"unknown_45":7101472951355265024}} 
[2026-04-17 02:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":45711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:33:57] local.INFO: GPS data processed {"connection_id":45711,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:33:57] local.INFO: Acknowledgment sent {"connection_id":45711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:34:02] local.INFO: TCP Data received {"connection_id":45711,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98192d00012d628f40062790c8000600992f..."} 
[2026-04-17 02:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98192d00012d628f40062790c8000600992f..."} 
[2026-04-17 02:34:02] local.INFO: Processing buffer {"connection_id":45711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98192d00012d628f40062790c8000600992f..."} 
[2026-04-17 02:34:02] local.INFO: Packet analysis {"connection_id":45711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9819"} 
[2026-04-17 02:34:02] local.INFO: Extracted packet for processing {"connection_id":45711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9819"} 
[2026-04-17 02:34:02] local.INFO: GPS Element Parsed {"raw_longitude":761433920,"raw_latitude":103256264,"longitude_deg":76.143392,"latitude_deg":10.3256264,"altitude":6,"angle":153,"satellites":47,"speed":15,"hex_longitude":"2d628f40","hex_latitude":"062790c8","is_valid_coordinates":true} 
[2026-04-17 02:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:34:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751559424001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:34:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273634436602396672,"note":"Value kept but may cause issues"} 
[2026-04-17 02:34:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7101824795076077568,"note":"Value kept but may cause issues"} 
[2026-04-17 02:34:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:34:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776373280000,"timestamp_ms":1776373280000,"timestamp_seconds":1776373280,"priority":1,"record_length":96,"hex_timestamp":"0000019d98192d00"} 
[2026-04-17 02:34:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:34:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:34:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-17 02:34:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:34:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:34:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:34:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:34:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:34:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:34:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:34:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:34:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751559424001,"66":26702,"87":206,"79":20992,"24":15,"16":273634436602396672,"45":7101824795076077568},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,79,24,16,45]} 
[2026-04-17 02:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751559424001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:34:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-04-17 02:34:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273634436602396672,"km_value":273634436602396.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7101824795076077568,"description":"Unknown IO ID 45"} 
[2026-04-17 02:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751559424001,"power":26702,"unknown_87":206,"unknown_79":20992,"ignition":15,"odometer":null,"unknown_45":7101824795076077568}} 
[2026-04-17 02:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":45711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:34:02] local.INFO: GPS data processed {"connection_id":45711,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:34:02] local.INFO: Acknowledgment sent {"connection_id":45711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:34:06] local.INFO: TCP Data received {"connection_id":45519,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:34:06] local.INFO: Processing buffer {"connection_id":45519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:34:06] local.INFO: IMEI packet received {"connection_id":45519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:34:06] local.INFO: IMEI acknowledgment sent {"connection_id":45519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:34:11] local.INFO: TCP Data received {"connection_id":45519,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:34:11] local.INFO: Processing buffer {"connection_id":45519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:34:11] local.INFO: IMEI packet received {"connection_id":45519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":45519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:34:12] local.INFO: TCP Data received {"connection_id":45519,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98199e48012d043f4006feeed0000e006232..."} 
[2026-04-17 02:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98199e48012d043f4006feeed0000e006232..."} 
[2026-04-17 02:34:12] local.INFO: Processing buffer {"connection_id":45519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98199e48012d043f4006feeed0000e006232..."} 
[2026-04-17 02:34:12] local.INFO: Packet analysis {"connection_id":45519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9819"} 
[2026-04-17 02:34:12] local.INFO: Extracted packet for processing {"connection_id":45519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9819"} 
[2026-04-17 02:34:12] local.INFO: GPS Element Parsed {"raw_longitude":755253056,"raw_latitude":117370576,"longitude_deg":75.5253056,"latitude_deg":11.7370576,"altitude":14,"angle":98,"satellites":50,"speed":0,"hex_longitude":"2d043f40","hex_latitude":"06feeed0","is_valid_coordinates":true} 
[2026-04-17 02:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751561728001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":286260081362300928,"note":"Value kept but may cause issues"} 
[2026-04-17 02:34:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776373309000,"timestamp_ms":1776373309000,"timestamp_seconds":1776373309,"priority":1,"record_length":96,"hex_timestamp":"0000019d98199e48"} 
[2026-04-17 02:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:34: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-04-17 02:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 02:34:12] 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-04-17 02:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751561728001,"66":27995,"42":206,"28":32256,"24":0,"16":106618783551979520,"45":286260081362300928},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,45]} 
[2026-04-17 02:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751561728001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:34:12] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-17 02:34:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":286260081362300928,"description":"Unknown IO ID 45"} 
[2026-04-17 02:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751561728001,"power":27995,"unknown_42":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":286260081362300928}} 
[2026-04-17 02:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":45519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18726,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:34:12] local.INFO: GPS data processed {"connection_id":45519,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:34:12] local.INFO: Acknowledgment sent {"connection_id":45519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:34:34] local.INFO: TCP Data received {"connection_id":45711,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98196f68012d62a14006277090000700982f..."} 
[2026-04-17 02:34:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98196f68012d62a14006277090000700982f..."} 
[2026-04-17 02:34:34] local.INFO: Processing buffer {"connection_id":45711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98196f68012d62a14006277090000700982f..."} 
[2026-04-17 02:34:34] local.INFO: Packet analysis {"connection_id":45711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9819"} 
[2026-04-17 02:34:34] local.INFO: Extracted packet for processing {"connection_id":45711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9819"} 
[2026-04-17 02:34:34] local.INFO: GPS Element Parsed {"raw_longitude":761438528,"raw_latitude":103248016,"longitude_deg":76.1438528,"latitude_deg":10.3248016,"altitude":7,"angle":152,"satellites":47,"speed":26,"hex_longitude":"2d62a140","hex_latitude":"06277090","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:34:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751559680001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:34:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273634891868930048,"note":"Value kept but may cause issues"} 
[2026-04-17 02:34:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7101965532564342784,"note":"Value kept but may cause issues"} 
[2026-04-17 02:34:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,87,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:34:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776373297000,"timestamp_ms":1776373297000,"timestamp_seconds":1776373297,"priority":1,"record_length":96,"hex_timestamp":"0000019d98196f68"} 
[2026-04-17 02:34:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:34: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-04-17 02: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":104,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-17 02:34:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1420,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:34:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:34:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:34:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:34:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:34:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:34:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:34:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:34:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:34:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751559680001,"66":27365,"87":206,"79":20992,"24":26,"16":273634891868930048,"45":7101965532564342784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,79,24,16,45]} 
[2026-04-17 02:34:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:34:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:34:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751559680001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:34:34] local.INFO: Unknown IO ID detected {"io_id":87,"value":206,"description":"Unknown IO ID 87"} 
[2026-04-17 02:34:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:34:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273634891868930048,"km_value":273634891868930.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:34:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7101965532564342784,"description":"Unknown IO ID 45"} 
[2026-04-17 02:34:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751559680001,"power":27365,"unknown_87":206,"unknown_79":20992,"ignition":26,"odometer":null,"unknown_45":7101965532564342784}} 
[2026-04-17 02:34:34] local.INFO: DEBUG: GPS processor result {"connection_id":45711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:34:34] local.INFO: GPS data processed {"connection_id":45711,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:34:34] local.INFO: Acknowledgment sent {"connection_id":45711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:34:57] local.INFO: TCP Data received {"connection_id":46266,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:34:57] local.INFO: Processing buffer {"connection_id":46266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:34:57] local.INFO: IMEI packet received {"connection_id":46266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":46266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:34:57] local.INFO: TCP Data received {"connection_id":46266,"ip":"42.106.6.18","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 02:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46266,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 02:34:57] local.INFO: Processing buffer {"connection_id":46266,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 02:34:57] local.INFO: IMEI packet received {"connection_id":46266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":46266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:35:10] local.INFO: TCP Data received {"connection_id":45519,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9819f438012d04860006fee3a00010006333..."} 
[2026-04-17 02:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9819f438012d04860006fee3a00010006333..."} 
[2026-04-17 02:35:10] local.INFO: Processing buffer {"connection_id":45519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9819f438012d04860006fee3a00010006333..."} 
[2026-04-17 02:35:10] local.INFO: Packet analysis {"connection_id":45519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9819"} 
[2026-04-17 02:35:10] local.INFO: Extracted packet for processing {"connection_id":45519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9819"} 
[2026-04-17 02:35:10] local.INFO: GPS Element Parsed {"raw_longitude":755271168,"raw_latitude":117367712,"longitude_deg":75.5271168,"latitude_deg":11.7367712,"altitude":16,"angle":99,"satellites":51,"speed":0,"hex_longitude":"2d048600","hex_latitude":"06fee3a0","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751567104001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":306033698475528192,"note":"Value kept but may cause issues"} 
[2026-04-17 02:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776373331000,"timestamp_ms":1776373331000,"timestamp_seconds":1776373331,"priority":1,"record_length":96,"hex_timestamp":"0000019d9819f438"} 
[2026-04-17 02:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 02:35: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-04-17 02: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-04-17 02:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:35:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751567104001,"66":27941,"42":206,"28":32256,"24":0,"16":106618783551979520,"45":306033698475528192},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,28,24,16,45]} 
[2026-04-17 02:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751567104001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:35:10] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-17 02:35:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":306033698475528192,"description":"Unknown IO ID 45"} 
[2026-04-17 02:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751567104001,"power":27941,"unknown_42":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":306033698475528192}} 
[2026-04-17 02:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":45519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18728,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:35:10] local.INFO: GPS data processed {"connection_id":45519,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:35:10] local.INFO: Acknowledgment sent {"connection_id":45519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:35:15] local.INFO: TCP Data received {"connection_id":45447,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:35:15] local.INFO: Processing buffer {"connection_id":45447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:35:15] local.INFO: IMEI packet received {"connection_id":45447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":45447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:35:21] local.INFO: TCP Data received {"connection_id":45447,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:35:21] local.INFO: Processing buffer {"connection_id":45447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:35:21] local.INFO: IMEI packet received {"connection_id":45447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":45447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:35:23] local.INFO: TCP Data received {"connection_id":45447,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d981aa7e80100000000000000000000000000..."} 
[2026-04-17 02:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981aa7e80100000000000000000000000000..."} 
[2026-04-17 02:35:23] local.INFO: Processing buffer {"connection_id":45447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981aa7e80100000000000000000000000000..."} 
[2026-04-17 02:35:23] local.INFO: Packet analysis {"connection_id":45447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d981a"} 
[2026-04-17 02:35:23] local.INFO: Extracted packet for processing {"connection_id":45447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d981a"} 
[2026-04-17 02:35: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-04-17 02: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-04-17 02:35:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751572736001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:35:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:35:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":325948053077073920,"note":"Value kept but may cause issues"} 
[2026-04-17 02:35:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:35:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776373377000,"timestamp_ms":1776373377000,"timestamp_seconds":1776373377,"priority":1,"record_length":96,"hex_timestamp":"0000019d981aa7e8"} 
[2026-04-17 02:35:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:35: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-04-17 02: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 02:35:23] 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-04-17 02: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-04-17 02:35:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:35:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:35:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:35:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:35:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:35:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:35:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:35:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:35:23] local.INFO: DEBUG: GPS processor result {"connection_id":45447,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 02:35:23] local.INFO: GPS data processed {"connection_id":45447,"processed":0,"errors":0,"total":1} 
[2026-04-17 02:35:23] local.INFO: Acknowledgment sent {"connection_id":45447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:36:06] local.INFO: TCP Data received {"connection_id":46267,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:36:06] local.INFO: Processing buffer {"connection_id":46267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:36:06] local.INFO: IMEI packet received {"connection_id":46267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":46267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:36:07] local.INFO: TCP Data received {"connection_id":46267,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:36:07] local.INFO: Processing buffer {"connection_id":46267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:36:07] local.INFO: IMEI packet received {"connection_id":46267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":46267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:36:11] local.INFO: TCP Data received {"connection_id":46267,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46267,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:36:11] local.INFO: Processing buffer {"connection_id":46267,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:36:11] local.INFO: IMEI packet received {"connection_id":46267,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":46267,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:36:12] local.INFO: TCP Data received {"connection_id":46267,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d981a6d50012d0525c006feca980012006231..."} 
[2026-04-17 02:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981a6d50012d0525c006feca980012006231..."} 
[2026-04-17 02:36:12] local.INFO: Processing buffer {"connection_id":46267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981a6d50012d0525c006feca980012006231..."} 
[2026-04-17 02:36:12] local.INFO: Packet analysis {"connection_id":46267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d981a"} 
[2026-04-17 02:36:12] local.INFO: Extracted packet for processing {"connection_id":46267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d981a"} 
[2026-04-17 02:36:12] local.INFO: GPS Element Parsed {"raw_longitude":755312064,"raw_latitude":117361304,"longitude_deg":75.5312064,"latitude_deg":11.7361304,"altitude":18,"angle":98,"satellites":49,"speed":40,"hex_longitude":"2d0525c0","hex_latitude":"06feca98","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:36:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,226,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 02:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776373362000,"timestamp_ms":1776373362000,"timestamp_seconds":1776373362,"priority":1,"record_length":96,"hex_timestamp":"0000019d981a6d50"} 
[2026-04-17 02:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:36: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-17 02:36: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-04-17 02: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-04-17 02:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"226":206,"28":32256,"24":40,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,28,24,16]} 
[2026-04-17 02:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 02:36:12] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-04-17 02:36:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:36:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_226":206,"unknown_28":32256,"ignition":40,"odometer":null}} 
[2026-04-17 02:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":46267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18729,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:36:12] local.INFO: GPS data processed {"connection_id":46267,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:36:12] local.INFO: Acknowledgment sent {"connection_id":46267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:36:44] local.INFO: TCP Data received {"connection_id":46267,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d981ac340012d05658006febc680014006c35..."} 
[2026-04-17 02:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46267,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981ac340012d05658006febc680014006c35..."} 
[2026-04-17 02:36:44] local.INFO: Processing buffer {"connection_id":46267,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981ac340012d05658006febc680014006c35..."} 
[2026-04-17 02:36:44] local.INFO: Packet analysis {"connection_id":46267,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d981a"} 
[2026-04-17 02:36:44] local.INFO: Extracted packet for processing {"connection_id":46267,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d981a"} 
[2026-04-17 02:36:44] local.INFO: GPS Element Parsed {"raw_longitude":755328384,"raw_latitude":117357672,"longitude_deg":75.5328384,"latitude_deg":11.7357672,"altitude":20,"angle":108,"satellites":53,"speed":0,"hex_longitude":"2d056580","hex_latitude":"06febc68","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751580672001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":370913680604960768,"note":"Value kept but may cause issues"} 
[2026-04-17 02:36:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776373384000,"timestamp_ms":1776373384000,"timestamp_seconds":1776373384,"priority":1,"record_length":96,"hex_timestamp":"0000019d981ac340"} 
[2026-04-17 02:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:36:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 02:36:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46267,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46267,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751580672001,"66":27995,"226":206,"28":32256,"24":0,"16":106618783551979520,"45":370913680604960768},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,28,24,16,45]} 
[2026-04-17 02:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751580672001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:36:44] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-04-17 02:36:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":370913680604960768,"description":"Unknown IO ID 45"} 
[2026-04-17 02:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751580672001,"power":27995,"unknown_226":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":370913680604960768}} 
[2026-04-17 02:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":46267,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18730,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:36:44] local.INFO: GPS data processed {"connection_id":46267,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:36:44] local.INFO: Acknowledgment sent {"connection_id":46267,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:37:06] local.INFO: TCP Data received {"connection_id":45448,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:37:06] local.INFO: Processing buffer {"connection_id":45448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:37:06] local.INFO: IMEI packet received {"connection_id":45448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":45448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:37:11] local.INFO: TCP Data received {"connection_id":45448,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45448,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:37:11] local.INFO: Processing buffer {"connection_id":45448,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:37:11] local.INFO: IMEI packet received {"connection_id":45448,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":45448,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:37:12] local.INFO: TCP Data received {"connection_id":45448,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d981dad58012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981dad58012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:37:12] local.INFO: Processing buffer {"connection_id":45448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981dad58012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:37:12] local.INFO: Packet analysis {"connection_id":45448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d981d"} 
[2026-04-17 02:37:12] local.INFO: Extracted packet for processing {"connection_id":45448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d981d"} 
[2026-04-17 02:37:12] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":16,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751635200001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:37:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776373575000,"timestamp_ms":1776373575000,"timestamp_seconds":1776373575,"priority":1,"record_length":96,"hex_timestamp":"0000019d981dad58"} 
[2026-04-17 02:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:37:12] 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-04-17 02:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 02:37:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751635200001,"66":27908,"206":206,"28":32256,"24":16,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751635200001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:37:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:37:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751635200001,"power":27908,"unknown_206":206,"unknown_28":32256,"ignition":16,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":45448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18731,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:37:12] local.INFO: GPS data processed {"connection_id":45448,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:37:12] local.INFO: Acknowledgment sent {"connection_id":45448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:37:44] local.INFO: TCP Data received {"connection_id":45448,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d981e0348012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981e0348012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:37:44] local.INFO: Processing buffer {"connection_id":45448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981e0348012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:37:44] local.INFO: Packet analysis {"connection_id":45448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d981e"} 
[2026-04-17 02:37:44] local.INFO: Extracted packet for processing {"connection_id":45448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d981e"} 
[2026-04-17 02:37:44] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751635200001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:37:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776373597000,"timestamp_ms":1776373597000,"timestamp_seconds":1776373597,"priority":1,"record_length":96,"hex_timestamp":"0000019d981e0348"} 
[2026-04-17 02:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:37:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 02:37:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45448,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751635200001,"66":28256,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751635200001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:37:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:37:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751635200001,"power":28256,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":45448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18732,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:37:44] local.INFO: GPS data processed {"connection_id":45448,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:37:44] local.INFO: Acknowledgment sent {"connection_id":45448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:38:06] local.INFO: TCP Data received {"connection_id":45449,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:38:06] local.INFO: Processing buffer {"connection_id":45449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:38:06] local.INFO: IMEI packet received {"connection_id":45449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":45449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:38:11] local.INFO: TCP Data received {"connection_id":45449,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45449,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:38:11] local.INFO: Processing buffer {"connection_id":45449,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:38:11] local.INFO: IMEI packet received {"connection_id":45449,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":45449,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:38:12] local.INFO: TCP Data received {"connection_id":45449,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d981e0b18012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981e0b18012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:38:12] local.INFO: Processing buffer {"connection_id":45449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981e0b18012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:38:12] local.INFO: Packet analysis {"connection_id":45449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d981e"} 
[2026-04-17 02:38:12] local.INFO: Extracted packet for processing {"connection_id":45449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d981e"} 
[2026-04-17 02:38:12] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02:38: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-04-17 02:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751640832001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776373599000,"timestamp_ms":1776373599000,"timestamp_seconds":1776373599,"priority":1,"record_length":96,"hex_timestamp":"0000019d981e0b18"} 
[2026-04-17 02:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:38: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-04-17 02: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 02:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751640832001,"66":28398,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751640832001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:38:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:38:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751640832001,"power":28398,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":45449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18733,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:38:12] local.INFO: GPS data processed {"connection_id":45449,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:38:12] local.INFO: Acknowledgment sent {"connection_id":45449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:38:44] local.INFO: TCP Data received {"connection_id":45449,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d981e0b18012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981e0b18012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:38:44] local.INFO: Processing buffer {"connection_id":45449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981e0b18012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:38:44] local.INFO: Packet analysis {"connection_id":45449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d981e"} 
[2026-04-17 02:38:44] local.INFO: Extracted packet for processing {"connection_id":45449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d981e"} 
[2026-04-17 02:38:44] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02:38:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751640832001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:38:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776373599000,"timestamp_ms":1776373599000,"timestamp_seconds":1776373599,"priority":1,"record_length":96,"hex_timestamp":"0000019d981e0b18"} 
[2026-04-17 02:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:38:44] 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-04-17 02: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 02:38:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45449,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751640832001,"66":28398,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751640832001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:38:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:38:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751640832001,"power":28398,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":45449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18734,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:38:44] local.INFO: GPS data processed {"connection_id":45449,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:38:44] local.INFO: Acknowledgment sent {"connection_id":45449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:39:06] local.INFO: TCP Data received {"connection_id":45714,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:39:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:39:06] local.INFO: Processing buffer {"connection_id":45714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:39:06] local.INFO: IMEI packet received {"connection_id":45714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:39:06] local.INFO: IMEI acknowledgment sent {"connection_id":45714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:39:11] local.INFO: TCP Data received {"connection_id":45714,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:39:11] local.INFO: Processing buffer {"connection_id":45714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:39:11] local.INFO: IMEI packet received {"connection_id":45714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":45714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:39:12] local.INFO: TCP Data received {"connection_id":45714,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d981e0b18012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981e0b18012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:39:12] local.INFO: Processing buffer {"connection_id":45714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981e0b18012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:39:12] local.INFO: Packet analysis {"connection_id":45714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d981e"} 
[2026-04-17 02:39:12] local.INFO: Extracted packet for processing {"connection_id":45714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d981e"} 
[2026-04-17 02:39:12] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02:39: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-04-17 02:39:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751640832001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:39:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:39:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776373599000,"timestamp_ms":1776373599000,"timestamp_seconds":1776373599,"priority":1,"record_length":96,"hex_timestamp":"0000019d981e0b18"} 
[2026-04-17 02:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:39: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-04-17 02: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 02:39:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751640832001,"66":28398,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751640832001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:39:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:39:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:39:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:39:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751640832001,"power":28398,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":45714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18735,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:39:12] local.INFO: GPS data processed {"connection_id":45714,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:39:12] local.INFO: Acknowledgment sent {"connection_id":45714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:39:43] local.INFO: TCP Data received {"connection_id":45714,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d981e0b18012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:39:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981e0b18012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:39:43] local.INFO: Processing buffer {"connection_id":45714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981e0b18012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:39:43] local.INFO: Packet analysis {"connection_id":45714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d981e"} 
[2026-04-17 02:39:43] local.INFO: Extracted packet for processing {"connection_id":45714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d981e"} 
[2026-04-17 02:39:43] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02:39: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-04-17 02:39:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751640832001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:39:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:39:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:39:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:39:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776373599000,"timestamp_ms":1776373599000,"timestamp_seconds":1776373599,"priority":1,"record_length":96,"hex_timestamp":"0000019d981e0b18"} 
[2026-04-17 02:39:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:39: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-04-17 02: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 02:39:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:39:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:39:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:39:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:39:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:39:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:39:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:39:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:39:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:39:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751640832001,"66":28398,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:39:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:39:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:39:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751640832001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:39:43] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:39:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:39:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:39:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:39:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751640832001,"power":28398,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":45714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18736,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:39:44] local.INFO: GPS data processed {"connection_id":45714,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:39:44] local.INFO: Acknowledgment sent {"connection_id":45714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:40:00] local.INFO: TCP Data received {"connection_id":46270,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:40:00] local.INFO: Processing buffer {"connection_id":46270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:40:00] local.INFO: IMEI packet received {"connection_id":46270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":46270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:40:02] local.INFO: TCP Data received {"connection_id":46270,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98204180012d64cf400622bed0000600832c..."} 
[2026-04-17 02:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98204180012d64cf400622bed0000600832c..."} 
[2026-04-17 02:40:02] local.INFO: Processing buffer {"connection_id":46270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98204180012d64cf400622bed0000600832c..."} 
[2026-04-17 02:40:02] local.INFO: Packet analysis {"connection_id":46270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9820"} 
[2026-04-17 02:40:02] local.INFO: Extracted packet for processing {"connection_id":46270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9820"} 
[2026-04-17 02:40:02] local.INFO: GPS Element Parsed {"raw_longitude":761581376,"raw_latitude":102940368,"longitude_deg":76.1581376,"latitude_deg":10.2940368,"altitude":6,"angle":131,"satellites":44,"speed":45,"hex_longitude":"2d64cf40","hex_latitude":"0622bed0","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751677952001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273652557069418496,"note":"Value kept but may cause issues"} 
[2026-04-17 02:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7261984056743809024,"note":"Value kept but may cause issues"} 
[2026-04-17 02:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776373744000,"timestamp_ms":1776373744000,"timestamp_seconds":1776373744,"priority":1,"record_length":96,"hex_timestamp":"0000019d98204180"} 
[2026-04-17 02:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:40:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 02:40: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-04-17 02: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-04-17 02:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751677952001,"66":27180,"55":206,"79":20992,"24":45,"16":273652557069418496,"45":7261984056743809024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,79,24,16,45]} 
[2026-04-17 02:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751677952001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:40:02] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-17 02:40:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273652557069418496,"km_value":273652557069418.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7261984056743809024,"description":"Unknown IO ID 45"} 
[2026-04-17 02:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751677952001,"power":27180,"unknown_55":206,"unknown_79":20992,"ignition":45,"odometer":null,"unknown_45":7261984056743809024}} 
[2026-04-17 02:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":46270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:40:02] local.INFO: GPS data processed {"connection_id":46270,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:40:02] local.INFO: Acknowledgment sent {"connection_id":46270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:40:10] local.INFO: TCP Data received {"connection_id":45520,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:40:10] local.INFO: Processing buffer {"connection_id":45520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:40:10] local.INFO: IMEI packet received {"connection_id":45520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":45520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:40:16] local.INFO: TCP Data received {"connection_id":45520,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45520,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:40:16] local.INFO: Processing buffer {"connection_id":45520,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:40:16] local.INFO: IMEI packet received {"connection_id":45520,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":45520,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:40:17] local.INFO: TCP Data received {"connection_id":45520,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d981e0b18012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981e0b18012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:40:17] local.INFO: Processing buffer {"connection_id":45520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981e0b18012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:40:17] local.INFO: Packet analysis {"connection_id":45520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d981e"} 
[2026-04-17 02:40:17] local.INFO: Extracted packet for processing {"connection_id":45520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d981e"} 
[2026-04-17 02:40:17] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751640832001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776373599000,"timestamp_ms":1776373599000,"timestamp_seconds":1776373599,"priority":1,"record_length":96,"hex_timestamp":"0000019d981e0b18"} 
[2026-04-17 02:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 02:40:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751640832001,"66":28398,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751640832001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:40:17] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:40:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751640832001,"power":28398,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":45520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18738,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:40:17] local.INFO: GPS data processed {"connection_id":45520,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:40:17] local.INFO: Acknowledgment sent {"connection_id":45520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:40:22] local.INFO: TCP Data received {"connection_id":45520,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d981e0b18012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d981e0b18012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:40:22] local.INFO: Processing buffer {"connection_id":45520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d981e0b18012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:40:22] local.INFO: Packet analysis {"connection_id":45520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d981e"} 
[2026-04-17 02:40:22] local.INFO: Extracted packet for processing {"connection_id":45520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d981e"} 
[2026-04-17 02:40:22] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751640832001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776373599000,"timestamp_ms":1776373599000,"timestamp_seconds":1776373599,"priority":1,"record_length":96,"hex_timestamp":"0000019d981e0b18"} 
[2026-04-17 02:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:40: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-04-17 02: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 02:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45520,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751640832001,"66":28398,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751640832001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:40:22] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:40:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751640832001,"power":28398,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":45520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18739,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:40:22] local.INFO: GPS data processed {"connection_id":45520,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:40:22] local.INFO: Acknowledgment sent {"connection_id":45520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:40:33] local.INFO: TCP Data received {"connection_id":46270,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d982058f0012d64e2800622abb8000400762e..."} 
[2026-04-17 02:40:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982058f0012d64e2800622abb8000400762e..."} 
[2026-04-17 02:40:33] local.INFO: Processing buffer {"connection_id":46270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982058f0012d64e2800622abb8000400762e..."} 
[2026-04-17 02:40:33] local.INFO: Packet analysis {"connection_id":46270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9820"} 
[2026-04-17 02:40:33] local.INFO: Extracted packet for processing {"connection_id":46270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9820"} 
[2026-04-17 02:40:33] local.INFO: GPS Element Parsed {"raw_longitude":761586304,"raw_latitude":102935480,"longitude_deg":76.1586304,"latitude_deg":10.293548,"altitude":4,"angle":118,"satellites":46,"speed":46,"hex_longitude":"2d64e280","hex_latitude":"0622abb8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 02:40:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751678464001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:40:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273652896371834880,"note":"Value kept but may cause issues"} 
[2026-04-17 02:40:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7264095119068811264,"note":"Value kept but may cause issues"} 
[2026-04-17 02:40:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,55,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:40:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776373750000,"timestamp_ms":1776373750000,"timestamp_seconds":1776373750,"priority":1,"record_length":96,"hex_timestamp":"0000019d982058f0"} 
[2026-04-17 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-04-17 02:40: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-04-17 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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-17 02:40:33] 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-04-17 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-04-17 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-04-17 02:40:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:40:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:40:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:40:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:40:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:40:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:40:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:40:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751678464001,"66":27463,"55":206,"79":20992,"24":46,"16":273652896371834880,"45":7264095119068811264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,55,79,24,16,45]} 
[2026-04-17 02:40:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:40:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:40:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751678464001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:40:33] local.INFO: Unknown IO ID detected {"io_id":55,"value":206,"description":"Unknown IO ID 55"} 
[2026-04-17 02:40:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:40:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273652896371834880,"km_value":273652896371834.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:40:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7264095119068811264,"description":"Unknown IO ID 45"} 
[2026-04-17 02:40:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751678464001,"power":27463,"unknown_55":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":7264095119068811264}} 
[2026-04-17 02:40:33] local.INFO: DEBUG: GPS processor result {"connection_id":46270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:40:33] local.INFO: GPS data processed {"connection_id":46270,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:40:33] local.INFO: Acknowledgment sent {"connection_id":46270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:40:55] local.INFO: TCP Data received {"connection_id":45715,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:40:55] local.INFO: Processing buffer {"connection_id":45715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:40:55] local.INFO: IMEI packet received {"connection_id":45715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":45715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:40:59] local.INFO: TCP Data received {"connection_id":45715,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:40:59] local.INFO: Processing buffer {"connection_id":45715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:40:59] local.INFO: IMEI packet received {"connection_id":45715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:40:59] local.INFO: IMEI acknowledgment sent {"connection_id":45715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:41:03] local.INFO: TCP Data received {"connection_id":45715,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:41:03] local.INFO: Processing buffer {"connection_id":45715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:41:03] local.INFO: IMEI packet received {"connection_id":45715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":45715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:41:04] local.INFO: TCP Data received {"connection_id":45715,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98213798012d65e94006228628000700802c..."} 
[2026-04-17 02:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98213798012d65e94006228628000700802c..."} 
[2026-04-17 02:41:04] local.INFO: Processing buffer {"connection_id":45715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98213798012d65e94006228628000700802c..."} 
[2026-04-17 02:41:04] local.INFO: Packet analysis {"connection_id":45715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9821"} 
[2026-04-17 02:41:04] local.INFO: Extracted packet for processing {"connection_id":45715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9821"} 
[2026-04-17 02:41:04] local.INFO: GPS Element Parsed {"raw_longitude":761653568,"raw_latitude":102925864,"longitude_deg":76.1653568,"latitude_deg":10.2925864,"altitude":7,"angle":128,"satellites":44,"speed":46,"hex_longitude":"2d65e940","hex_latitude":"06228628","is_valid_coordinates":true} 
[2026-04-17 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-04-17 02:41:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751693824001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:41:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273656182021816320,"note":"Value kept but may cause issues"} 
[2026-04-17 02:41:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7340234100265789440,"note":"Value kept but may cause issues"} 
[2026-04-17 02:41:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:41:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776373807000,"timestamp_ms":1776373807000,"timestamp_seconds":1776373807,"priority":1,"record_length":96,"hex_timestamp":"0000019d98213798"} 
[2026-04-17 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-04-17 02:41:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:41:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 02:41:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:41:04] local.INFO: Teltonika packet parsed successfully {"connection_id":45715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:41:04] local.INFO: Passing IMEI to GPS processor {"connection_id":45715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:41:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":45715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:41:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:41:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:41:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:41:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751693824001,"66":27332,"12":206,"79":20992,"24":46,"16":273656182021816320,"45":7340234100265789440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-04-17 02:41:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:41:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:41:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751693824001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:41:04] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 02:41:04] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:41:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273656182021816320,"km_value":273656182021816.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:41:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":7340234100265789440,"description":"Unknown IO ID 45"} 
[2026-04-17 02:41:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751693824001,"power":27332,"unknown_12":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":7340234100265789440}} 
[2026-04-17 02:41:04] local.INFO: DEBUG: GPS processor result {"connection_id":45715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:41:04] local.INFO: GPS data processed {"connection_id":45715,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:41:04] local.INFO: Acknowledgment sent {"connection_id":45715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:41:06] local.INFO: TCP Data received {"connection_id":46271,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:41:06] local.INFO: Processing buffer {"connection_id":46271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:41:06] local.INFO: IMEI packet received {"connection_id":46271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":46271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:41:09] local.INFO: TCP Data received {"connection_id":45715,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98214350012d65f30006227c580008008d2d..."} 
[2026-04-17 02:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98214350012d65f30006227c580008008d2d..."} 
[2026-04-17 02:41:09] local.INFO: Processing buffer {"connection_id":45715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98214350012d65f30006227c580008008d2d..."} 
[2026-04-17 02:41:09] local.INFO: Packet analysis {"connection_id":45715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9821"} 
[2026-04-17 02:41:09] local.INFO: Extracted packet for processing {"connection_id":45715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9821"} 
[2026-04-17 02:41:09] local.INFO: GPS Element Parsed {"raw_longitude":761656064,"raw_latitude":102923352,"longitude_deg":76.1656064,"latitude_deg":10.2923352,"altitude":8,"angle":141,"satellites":45,"speed":46,"hex_longitude":"2d65f300","hex_latitude":"06227c58","is_valid_coordinates":true} 
[2026-04-17 02:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:41:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751694592001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:41:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273656353820508160,"note":"Value kept but may cause issues"} 
[2026-04-17 02:41:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7343471062497503232,"note":"Value kept but may cause issues"} 
[2026-04-17 02:41:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:41:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776373810000,"timestamp_ms":1776373810000,"timestamp_seconds":1776373810,"priority":1,"record_length":96,"hex_timestamp":"0000019d98214350"} 
[2026-04-17 02:41:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:41:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:41:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 02:41:09] 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-04-17 02:41:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:41:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:41:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:41:09] local.INFO: Teltonika packet parsed successfully {"connection_id":45715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:41:09] local.INFO: Passing IMEI to GPS processor {"connection_id":45715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:41:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":45715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:41:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:41:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:41:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:41:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751694592001,"66":27376,"12":206,"79":20992,"24":46,"16":273656353820508160,"45":7343471062497503232},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-04-17 02:41:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:41:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:41:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751694592001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:41:10] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 02:41:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:41:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273656353820508160,"km_value":273656353820508.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:41:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7343471062497503232,"description":"Unknown IO ID 45"} 
[2026-04-17 02:41:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751694592001,"power":27376,"unknown_12":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":7343471062497503232}} 
[2026-04-17 02:41:10] local.INFO: DEBUG: GPS processor result {"connection_id":45715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:41:10] local.INFO: GPS data processed {"connection_id":45715,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:41:10] local.INFO: Acknowledgment sent {"connection_id":45715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:41:11] local.INFO: TCP Data received {"connection_id":46271,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46271,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:41:11] local.INFO: Processing buffer {"connection_id":46271,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:41:11] local.INFO: IMEI packet received {"connection_id":46271,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":46271,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:41:12] local.INFO: TCP Data received {"connection_id":46271,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d982181d0012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982181d0012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:41:12] local.INFO: Processing buffer {"connection_id":46271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982181d0012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:41:12] local.INFO: Packet analysis {"connection_id":46271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9821"} 
[2026-04-17 02:41:12] local.INFO: Extracted packet for processing {"connection_id":46271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9821"} 
[2026-04-17 02:41:12] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02:41: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-04-17 02:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751641344001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776373826000,"timestamp_ms":1776373826000,"timestamp_seconds":1776373826,"priority":1,"record_length":96,"hex_timestamp":"0000019d982181d0"} 
[2026-04-17 02:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:41: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-04-17 02: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 02:41:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751641344001,"66":26006,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751641344001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:41:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:41:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751641344001,"power":26006,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":46271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18743,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:41:12] local.INFO: GPS data processed {"connection_id":46271,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:41:12] local.INFO: Acknowledgment sent {"connection_id":46271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:41:44] local.INFO: TCP Data received {"connection_id":46271,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9821dba8012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:41:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46271,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9821dba8012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:41:44] local.INFO: Processing buffer {"connection_id":46271,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9821dba8012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:41:44] local.INFO: Packet analysis {"connection_id":46271,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9821"} 
[2026-04-17 02:41:44] local.INFO: Extracted packet for processing {"connection_id":46271,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9821"} 
[2026-04-17 02:41:44] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:41:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751699456001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:41:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:41:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 02:41:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:41:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776373849000,"timestamp_ms":1776373849000,"timestamp_seconds":1776373849,"priority":1,"record_length":96,"hex_timestamp":"0000019d9821dba8"} 
[2026-04-17 02:41:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:41:44] 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-04-17 02: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 02:41:44] 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-04-17 02: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-04-17 02:41:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:41:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:41:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46271,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:41:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:41:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46271,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:41:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:41:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:41:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:41:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751699456001,"66":28202,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:41:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:41:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:41:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751699456001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:41:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:41:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:41:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:41:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 02:41:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751699456001,"power":28202,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 02:41:44] local.INFO: DEBUG: GPS processor result {"connection_id":46271,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18744,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:41:44] local.INFO: GPS data processed {"connection_id":46271,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:41:44] local.INFO: Acknowledgment sent {"connection_id":46271,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:41:52] local.INFO: TCP Data received {"connection_id":45450,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:41:52] local.INFO: Processing buffer {"connection_id":45450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:41:52] local.INFO: IMEI packet received {"connection_id":45450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":45450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:41:53] local.INFO: TCP Data received {"connection_id":45450,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:41:53] local.INFO: Processing buffer {"connection_id":45450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:41:53] local.INFO: IMEI packet received {"connection_id":45450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":45450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:41:57] local.INFO: TCP Data received {"connection_id":45450,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:41:57] local.INFO: Processing buffer {"connection_id":45450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:41:57] local.INFO: IMEI packet received {"connection_id":45450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":45450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:41:59] local.INFO: TCP Data received {"connection_id":45450,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98215ac0012d66068006226858000700812b..."} 
[2026-04-17 02:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98215ac0012d66068006226858000700812b..."} 
[2026-04-17 02:41:59] local.INFO: Processing buffer {"connection_id":45450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98215ac0012d66068006226858000700812b..."} 
[2026-04-17 02:41:59] local.INFO: Packet analysis {"connection_id":45450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9821"} 
[2026-04-17 02:41:59] local.INFO: Extracted packet for processing {"connection_id":45450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9821"} 
[2026-04-17 02:41:59] local.INFO: GPS Element Parsed {"raw_longitude":761661056,"raw_latitude":102918232,"longitude_deg":76.1661056,"latitude_deg":10.2918232,"altitude":7,"angle":129,"satellites":43,"speed":48,"hex_longitude":"2d660680","hex_latitude":"06226858","is_valid_coordinates":true} 
[2026-04-17 02:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751695360001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273656697417891840,"note":"Value kept but may cause issues"} 
[2026-04-17 02:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7346215443519789056,"note":"Value kept but may cause issues"} 
[2026-04-17 02:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776373816000,"timestamp_ms":1776373816000,"timestamp_seconds":1776373816,"priority":1,"record_length":96,"hex_timestamp":"0000019d98215ac0"} 
[2026-04-17 02:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 02:41:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:41:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751695360001,"66":27376,"12":206,"79":20992,"24":48,"16":273656697417891840,"45":7346215443519789056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-04-17 02:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751695360001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:41:59] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 02:41:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273656697417891840,"km_value":273656697417891.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7346215443519789056,"description":"Unknown IO ID 45"} 
[2026-04-17 02:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751695360001,"power":27376,"unknown_12":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7346215443519789056}} 
[2026-04-17 02:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":45450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:41:59] local.INFO: GPS data processed {"connection_id":45450,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:41:59] local.INFO: Acknowledgment sent {"connection_id":45450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:42:01] local.INFO: TCP Data received {"connection_id":45450,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98217a00012d66218006224da80007008c2c..."} 
[2026-04-17 02:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98217a00012d66218006224da80007008c2c..."} 
[2026-04-17 02:42:01] local.INFO: Processing buffer {"connection_id":45450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98217a00012d66218006224da80007008c2c..."} 
[2026-04-17 02:42:01] local.INFO: Packet analysis {"connection_id":45450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9821"} 
[2026-04-17 02:42:01] local.INFO: Extracted packet for processing {"connection_id":45450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9821"} 
[2026-04-17 02:42:01] local.INFO: GPS Element Parsed {"raw_longitude":761667968,"raw_latitude":102911400,"longitude_deg":76.1667968,"latitude_deg":10.29114,"altitude":7,"angle":140,"satellites":44,"speed":49,"hex_longitude":"2d662180","hex_latitude":"06224da8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751696896001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273657165569327104,"note":"Value kept but may cause issues"} 
[2026-04-17 02:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7351704205564336128,"note":"Value kept but may cause issues"} 
[2026-04-17 02:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776373824000,"timestamp_ms":1776373824000,"timestamp_seconds":1776373824,"priority":1,"record_length":96,"hex_timestamp":"0000019d98217a00"} 
[2026-04-17 02:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 02:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:42: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-04-17 02:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751696896001,"66":27376,"12":206,"79":20992,"24":49,"16":273657165569327104,"45":7351704205564336128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-04-17 02:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751696896001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:42:01] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 02:42:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273657165569327104,"km_value":273657165569327.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7351704205564336128,"description":"Unknown IO ID 45"} 
[2026-04-17 02:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751696896001,"power":27376,"unknown_12":206,"unknown_79":20992,"ignition":49,"odometer":null,"unknown_45":7351704205564336128}} 
[2026-04-17 02:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":45450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:42:01] local.INFO: GPS data processed {"connection_id":45450,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:42:01] local.INFO: Acknowledgment sent {"connection_id":45450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:42:02] local.INFO: TCP Data received {"connection_id":45450,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98219940012d663d8006223258000800842f..."} 
[2026-04-17 02:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98219940012d663d8006223258000800842f..."} 
[2026-04-17 02:42:02] local.INFO: Processing buffer {"connection_id":45450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98219940012d663d8006223258000800842f..."} 
[2026-04-17 02:42:02] local.INFO: Packet analysis {"connection_id":45450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9821"} 
[2026-04-17 02:42:02] local.INFO: Extracted packet for processing {"connection_id":45450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9821"} 
[2026-04-17 02:42:02] local.INFO: GPS Element Parsed {"raw_longitude":761675136,"raw_latitude":102904408,"longitude_deg":76.1675136,"latitude_deg":10.2904408,"altitude":8,"angle":132,"satellites":47,"speed":49,"hex_longitude":"2d663d80","hex_latitude":"06223258","is_valid_coordinates":true} 
[2026-04-17 02:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:42:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751698944001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:42:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273657646605664256,"note":"Value kept but may cause issues"} 
[2026-04-17 02:42:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7359304029933774848,"note":"Value kept but may cause issues"} 
[2026-04-17 02:42:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:42:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776373832000,"timestamp_ms":1776373832000,"timestamp_seconds":1776373832,"priority":1,"record_length":96,"hex_timestamp":"0000019d98219940"} 
[2026-04-17 02:42:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:42:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:42:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 02:42:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:42:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:42:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:42:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:42:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:42:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:42:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:42:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:42:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:42:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:42:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751698944001,"66":27484,"12":206,"79":20992,"24":49,"16":273657646605664256,"45":7359304029933774848},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-04-17 02:42:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:42:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:42:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751698944001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:42:02] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 02:42:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:42:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273657646605664256,"km_value":273657646605664.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:42:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7359304029933774848,"description":"Unknown IO ID 45"} 
[2026-04-17 02:42:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751698944001,"power":27484,"unknown_12":206,"unknown_79":20992,"ignition":49,"odometer":null,"unknown_45":7359304029933774848}} 
[2026-04-17 02:42:02] local.INFO: DEBUG: GPS processor result {"connection_id":45450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:42:02] local.INFO: GPS data processed {"connection_id":45450,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:42:02] local.INFO: Acknowledgment sent {"connection_id":45450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:42:06] local.INFO: TCP Data received {"connection_id":46272,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:42:06] local.INFO: Processing buffer {"connection_id":46272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:42:06] local.INFO: IMEI packet received {"connection_id":46272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:42:06] local.INFO: IMEI acknowledgment sent {"connection_id":46272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:42:11] local.INFO: TCP Data received {"connection_id":46272,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46272,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:42:11] local.INFO: Processing buffer {"connection_id":46272,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:42:11] local.INFO: IMEI packet received {"connection_id":46272,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":46272,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:42:12] local.INFO: TCP Data received {"connection_id":46272,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98222db0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98222db0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:42:12] local.INFO: Processing buffer {"connection_id":46272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98222db0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:42:12] local.INFO: Packet analysis {"connection_id":46272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9822"} 
[2026-04-17 02:42:12] local.INFO: Extracted packet for processing {"connection_id":46272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9822"} 
[2026-04-17 02:42:12] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751705344001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:42:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776373870000,"timestamp_ms":1776373870000,"timestamp_seconds":1776373870,"priority":1,"record_length":96,"hex_timestamp":"0000019d98222db0"} 
[2026-04-17 02:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:42: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-04-17 02: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-17 02:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751705344001,"66":28256,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751705344001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:42:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:42:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751705344001,"power":28256,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":46272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18748,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:42:12] local.INFO: GPS data processed {"connection_id":46272,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:42:12] local.INFO: Acknowledgment sent {"connection_id":46272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:42:33] local.INFO: TCP Data received {"connection_id":45450,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9821a8e0012d664a80062223d0000700902f..."} 
[2026-04-17 02:42:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9821a8e0012d664a80062223d0000700902f..."} 
[2026-04-17 02:42:33] local.INFO: Processing buffer {"connection_id":45450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9821a8e0012d664a80062223d0000700902f..."} 
[2026-04-17 02:42:33] local.INFO: Packet analysis {"connection_id":45450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9821"} 
[2026-04-17 02:42:33] local.INFO: Extracted packet for processing {"connection_id":45450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9821"} 
[2026-04-17 02:42:33] local.INFO: GPS Element Parsed {"raw_longitude":761678464,"raw_latitude":102900688,"longitude_deg":76.1678464,"latitude_deg":10.2900688,"altitude":7,"angle":144,"satellites":47,"speed":49,"hex_longitude":"2d664a80","hex_latitude":"062223d0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 02:42:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751700992001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:42:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273657887123832832,"note":"Value kept but may cause issues"} 
[2026-04-17 02:42:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7367185329279883264,"note":"Value kept but may cause issues"} 
[2026-04-17 02:42:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:42:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776373836000,"timestamp_ms":1776373836000,"timestamp_seconds":1776373836,"priority":1,"record_length":96,"hex_timestamp":"0000019d9821a8e0"} 
[2026-04-17 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-04-17 02:42: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-04-17 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 02:42: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-04-17 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-04-17 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-04-17 02:42:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:42:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:42:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:42:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:42:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:42:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:42:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:42:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751700992001,"66":27332,"12":206,"79":20992,"24":49,"16":273657887123832832,"45":7367185329279883264},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-04-17 02:42:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:42:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:42:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751700992001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:42:33] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 02:42:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:42:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273657887123832832,"km_value":273657887123832.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:42:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7367185329279883264,"description":"Unknown IO ID 45"} 
[2026-04-17 02:42:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751700992001,"power":27332,"unknown_12":206,"unknown_79":20992,"ignition":49,"odometer":null,"unknown_45":7367185329279883264}} 
[2026-04-17 02:42:33] local.INFO: DEBUG: GPS processor result {"connection_id":45450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:42:33] local.INFO: GPS data processed {"connection_id":45450,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:42:33] local.INFO: Acknowledgment sent {"connection_id":45450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:42:44] local.INFO: TCP Data received {"connection_id":46272,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d982283a0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982283a0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:42:44] local.INFO: Processing buffer {"connection_id":46272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982283a0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:42:44] local.INFO: Packet analysis {"connection_id":46272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9822"} 
[2026-04-17 02:42:44] local.INFO: Extracted packet for processing {"connection_id":46272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9822"} 
[2026-04-17 02:42:44] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751710720001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:42:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776373892000,"timestamp_ms":1776373892000,"timestamp_seconds":1776373892,"priority":1,"record_length":96,"hex_timestamp":"0000019d982283a0"} 
[2026-04-17 02:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:42:44] 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-04-17 02: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 02:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46272,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:42:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751710720001,"66":28332,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:42:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:42:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:42:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751710720001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:42:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:42:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:42:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:42:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:42:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751710720001,"power":28332,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":46272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:42:44] local.INFO: GPS data processed {"connection_id":46272,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:42:44] local.INFO: Acknowledgment sent {"connection_id":46272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:42:49] local.INFO: TCP Data received {"connection_id":45521,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:42:49] local.INFO: Processing buffer {"connection_id":45521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:42:49] local.INFO: IMEI packet received {"connection_id":45521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":45521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:42:52] local.INFO: TCP Data received {"connection_id":45521,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:42:52] local.INFO: Processing buffer {"connection_id":45521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:42:52] local.INFO: IMEI packet received {"connection_id":45521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":45521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:42:57] local.INFO: TCP Data received {"connection_id":45521,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:42:57] local.INFO: Processing buffer {"connection_id":45521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:42:57] local.INFO: IMEI packet received {"connection_id":45521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":45521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:42:58] local.INFO: TCP Data received {"connection_id":45521,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9822e930012d66c5000620d878000900a72f..."} 
[2026-04-17 02:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9822e930012d66c5000620d878000900a72f..."} 
[2026-04-17 02:42:58] local.INFO: Processing buffer {"connection_id":45521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9822e930012d66c5000620d878000900a72f..."} 
[2026-04-17 02:42:58] local.INFO: Packet analysis {"connection_id":45521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9822"} 
[2026-04-17 02:42:58] local.INFO: Extracted packet for processing {"connection_id":45521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9822"} 
[2026-04-17 02:42:58] local.INFO: GPS Element Parsed {"raw_longitude":761709824,"raw_latitude":102815864,"longitude_deg":76.1709824,"latitude_deg":10.2815864,"altitude":9,"angle":167,"satellites":47,"speed":46,"hex_longitude":"2d66c500","hex_latitude":"0620d878","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751720960001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273662371069689856,"note":"Value kept but may cause issues"} 
[2026-04-17 02:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7401454907674097664,"note":"Value kept but may cause issues"} 
[2026-04-17 02:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,94,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776373918000,"timestamp_ms":1776373918000,"timestamp_seconds":1776373918,"priority":1,"record_length":96,"hex_timestamp":"0000019d9822e930"} 
[2026-04-17 02:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:42: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-04-17 02: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 02:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751720960001,"66":27463,"94":206,"79":20992,"24":46,"16":273662371069689856,"45":7401454907674097664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,94,79,24,16,45]} 
[2026-04-17 02:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751720960001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:42:58] local.INFO: Unknown IO ID detected {"io_id":94,"value":206,"description":"Unknown IO ID 94"} 
[2026-04-17 02:42:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273662371069689856,"km_value":273662371069689.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7401454907674097664,"description":"Unknown IO ID 45"} 
[2026-04-17 02:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751720960001,"power":27463,"unknown_94":206,"unknown_79":20992,"ignition":46,"odometer":null,"unknown_45":7401454907674097664}} 
[2026-04-17 02:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":45521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:42:58] local.INFO: GPS data processed {"connection_id":45521,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:42:58] local.INFO: Acknowledgment sent {"connection_id":45521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:43:05] local.INFO: TCP Data received {"connection_id":45451,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:43:05] local.INFO: Processing buffer {"connection_id":45451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:43:05] local.INFO: IMEI packet received {"connection_id":45451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":45451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:43:11] local.INFO: TCP Data received {"connection_id":45451,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45451,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:43:11] local.INFO: Processing buffer {"connection_id":45451,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:43:11] local.INFO: IMEI packet received {"connection_id":45451,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":45451,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:43:12] local.INFO: TCP Data received {"connection_id":45451,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9822d5a8012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9822d5a8012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:43:12] local.INFO: Processing buffer {"connection_id":45451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9822d5a8012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:43:12] local.INFO: Packet analysis {"connection_id":45451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9822"} 
[2026-04-17 02:43:12] local.INFO: Extracted packet for processing {"connection_id":45451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9822"} 
[2026-04-17 02:43:12] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751716352001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:43:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776373913000,"timestamp_ms":1776373913000,"timestamp_seconds":1776373913,"priority":1,"record_length":96,"hex_timestamp":"0000019d9822d5a8"} 
[2026-04-17 02:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:43: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-04-17 02: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-17 02:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751716352001,"66":28332,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751716352001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:43:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:43:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751716352001,"power":28332,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":45451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18752,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:43:12] local.INFO: GPS data processed {"connection_id":45451,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:43:12] local.INFO: Acknowledgment sent {"connection_id":45451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:43:30] local.INFO: TCP Data received {"connection_id":45521,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9823b838012d66db00062023180006008a2e..."} 
[2026-04-17 02:43:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9823b838012d66db00062023180006008a2e..."} 
[2026-04-17 02:43:30] local.INFO: Processing buffer {"connection_id":45521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9823b838012d66db00062023180006008a2e..."} 
[2026-04-17 02:43:30] local.INFO: Packet analysis {"connection_id":45521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:43:30] local.INFO: Extracted packet for processing {"connection_id":45521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:43:30] local.INFO: GPS Element Parsed {"raw_longitude":761715456,"raw_latitude":102769432,"longitude_deg":76.1715456,"latitude_deg":10.2769432,"altitude":6,"angle":138,"satellites":46,"speed":25,"hex_longitude":"2d66db00","hex_latitude":"06202318","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:43:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751736320001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:43:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273664943755100160,"note":"Value kept but may cause issues"} 
[2026-04-17 02:43:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7410954688123936768,"note":"Value kept but may cause issues"} 
[2026-04-17 02:43:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:43:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776373971000,"timestamp_ms":1776373971000,"timestamp_seconds":1776373971,"priority":1,"record_length":96,"hex_timestamp":"0000019d9823b838"} 
[2026-04-17 02:43:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02: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-04-17 02:43:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 02:43:30] 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-04-17 02: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-04-17 02:43:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:43:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:43:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:43:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:43:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:43: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-04-17 02:43:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:43:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:43:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751736320001,"66":27310,"92":206,"79":20992,"24":25,"16":273664943755100160,"45":7410954688123936768},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-04-17 02:43:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:43:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:43:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751736320001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:43:30] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-17 02:43:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:43:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273664943755100160,"km_value":273664943755100.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:43:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7410954688123936768,"description":"Unknown IO ID 45"} 
[2026-04-17 02:43:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751736320001,"power":27310,"unknown_92":206,"unknown_79":20992,"ignition":25,"odometer":null,"unknown_45":7410954688123936768}} 
[2026-04-17 02:43:30] local.INFO: DEBUG: GPS processor result {"connection_id":45521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:43:30] local.INFO: GPS data processed {"connection_id":45521,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:43:30] local.INFO: Acknowledgment sent {"connection_id":45521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:43:44] local.INFO: TCP Data received {"connection_id":45451,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d982327b0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982327b0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:43:44] local.INFO: Processing buffer {"connection_id":45451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982327b0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:43:44] local.INFO: Packet analysis {"connection_id":45451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:43:44] local.INFO: Extracted packet for processing {"connection_id":45451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:43:44] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751721728001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:43:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776373934000,"timestamp_ms":1776373934000,"timestamp_seconds":1776373934,"priority":1,"record_length":96,"hex_timestamp":"0000019d982327b0"} 
[2026-04-17 02:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:43:44] 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-04-17 02:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-17 02:43:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45451,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751721728001,"66":28300,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751721728001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:43:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:43:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751721728001,"power":28300,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":45451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18754,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:43:44] local.INFO: GPS data processed {"connection_id":45451,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:43:44] local.INFO: Acknowledgment sent {"connection_id":45451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:43:52] local.INFO: TCP Data received {"connection_id":46273,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:43:52] local.INFO: Processing buffer {"connection_id":46273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:43:52] local.INFO: IMEI packet received {"connection_id":46273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":46273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:43:54] local.INFO: TCP Data received {"connection_id":46273,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:43:54] local.INFO: Processing buffer {"connection_id":46273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:43:54] local.INFO: IMEI packet received {"connection_id":46273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":46273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:43:57] local.INFO: TCP Data received {"connection_id":46273,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:43:57] local.INFO: Processing buffer {"connection_id":46273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:43:57] local.INFO: IMEI packet received {"connection_id":46273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":46273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:43:59] local.INFO: TCP Data received {"connection_id":46273,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9823bc20012d66dc4006202118000600992e..."} 
[2026-04-17 02:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9823bc20012d66dc4006202118000600992e..."} 
[2026-04-17 02:43:59] local.INFO: Processing buffer {"connection_id":46273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9823bc20012d66dc4006202118000600992e..."} 
[2026-04-17 02:43:59] local.INFO: Packet analysis {"connection_id":46273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:43:59] local.INFO: Extracted packet for processing {"connection_id":46273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:43:59] local.INFO: GPS Element Parsed {"raw_longitude":761715776,"raw_latitude":102768920,"longitude_deg":76.1715776,"latitude_deg":10.276892,"altitude":6,"angle":153,"satellites":46,"speed":25,"hex_longitude":"2d66dc40","hex_latitude":"06202118","is_valid_coordinates":true} 
[2026-04-17 02:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751736576001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273664973819871232,"note":"Value kept but may cause issues"} 
[2026-04-17 02:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7411517638077257728,"note":"Value kept but may cause issues"} 
[2026-04-17 02:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776373972000,"timestamp_ms":1776373972000,"timestamp_seconds":1776373972,"priority":1,"record_length":96,"hex_timestamp":"0000019d9823bc20"} 
[2026-04-17 02:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 02:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751736576001,"66":27376,"92":206,"79":20992,"24":25,"16":273664973819871232,"45":7411517638077257728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-04-17 02:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751736576001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:43:59] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-17 02:43:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273664973819871232,"km_value":273664973819871.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7411517638077257728,"description":"Unknown IO ID 45"} 
[2026-04-17 02:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751736576001,"power":27376,"unknown_92":206,"unknown_79":20992,"ignition":25,"odometer":null,"unknown_45":7411517638077257728}} 
[2026-04-17 02:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":46273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:43:59] local.INFO: GPS data processed {"connection_id":46273,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:43:59] local.INFO: Acknowledgment sent {"connection_id":46273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:44:02] local.INFO: TCP Data received {"connection_id":46273,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9823c3f0012d66de0006201c60000500aa2d..."} 
[2026-04-17 02:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9823c3f0012d66de0006201c60000500aa2d..."} 
[2026-04-17 02:44:02] local.INFO: Processing buffer {"connection_id":46273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9823c3f0012d66de0006201c60000500aa2d..."} 
[2026-04-17 02:44:02] local.INFO: Packet analysis {"connection_id":46273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:44:02] local.INFO: Extracted packet for processing {"connection_id":46273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:44:02] local.INFO: GPS Element Parsed {"raw_longitude":761716224,"raw_latitude":102767712,"longitude_deg":76.1716224,"latitude_deg":10.2767712,"altitude":5,"angle":170,"satellites":45,"speed":26,"hex_longitude":"2d66de00","hex_latitude":"06201c60","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751736832001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273665038244380672,"note":"Value kept but may cause issues"} 
[2026-04-17 02:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7411869481798014976,"note":"Value kept but may cause issues"} 
[2026-04-17 02:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776373974000,"timestamp_ms":1776373974000,"timestamp_seconds":1776373974,"priority":1,"record_length":96,"hex_timestamp":"0000019d9823c3f0"} 
[2026-04-17 02:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 02:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751736832001,"66":27463,"92":206,"79":20992,"24":26,"16":273665038244380672,"45":7411869481798014976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-04-17 02:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751736832001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:44:02] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-17 02:44:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273665038244380672,"km_value":273665038244380.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7411869481798014976,"description":"Unknown IO ID 45"} 
[2026-04-17 02:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751736832001,"power":27463,"unknown_92":206,"unknown_79":20992,"ignition":26,"odometer":null,"unknown_45":7411869481798014976}} 
[2026-04-17 02:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":46273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:44:02] local.INFO: GPS data processed {"connection_id":46273,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:44:02] local.INFO: Acknowledgment sent {"connection_id":46273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:44:11] local.INFO: TCP Data received {"connection_id":45452,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:44:11] local.INFO: Processing buffer {"connection_id":45452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:44:11] local.INFO: IMEI packet received {"connection_id":45452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":45452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:44:16] local.INFO: TCP Data received {"connection_id":45452,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45452,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:44:16] local.INFO: Processing buffer {"connection_id":45452,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:44:16] local.INFO: IMEI packet received {"connection_id":45452,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:44:16] local.INFO: IMEI acknowledgment sent {"connection_id":45452,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:44:17] local.INFO: TCP Data received {"connection_id":45452,"ip":"117.224.17.214","data_length":93,"data_hex":"00000000000000518e010000019d982379b8012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45452,"packet_length":93,"packet_hex":"00000000000000518e010000019d982379b8012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:44:17] local.INFO: Processing buffer {"connection_id":45452,"buffer_length":93,"buffer_hex":"00000000000000518e010000019d982379b8012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:44:17] local.INFO: Packet analysis {"connection_id":45452,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019d9823"} 
[2026-04-17 02:44:17] local.INFO: Extracted packet for processing {"connection_id":45452,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019d9823"} 
[2026-04-17 02:44:17] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-04-17 02:44:17] 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-04-17 02:44:17] 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-04-17 02:44:17] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:44:17] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-17 02:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45452,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-17 02:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45452,"device_imei":"862567071632322","avl_records_count":0} 
[2026-04-17 02:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45452,"device_imei":"862567071632322","avl_records_count":0} 
[2026-04-17 02:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-17 02:44:17] local.WARNING: DEBUG: No valid data to process  
[2026-04-17 02:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":45452,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-17 02:44:17] local.ERROR: GPS data processing failed {"connection_id":45452,"error":"No valid data to process"} 
[2026-04-17 02:44:17] local.INFO: Acknowledgment sent {"connection_id":45452,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-17 02:44:22] local.INFO: TCP Data received {"connection_id":45452,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9823c3f0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9823c3f0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:44:22] local.INFO: Processing buffer {"connection_id":45452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9823c3f0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:44:22] local.INFO: Packet analysis {"connection_id":45452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:44:22] local.INFO: Extracted packet for processing {"connection_id":45452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:44:22] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02:44: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-04-17 02:44:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751732480001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:44:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:44:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:44:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:44:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776373974000,"timestamp_ms":1776373974000,"timestamp_seconds":1776373974,"priority":1,"record_length":96,"hex_timestamp":"0000019d9823c3f0"} 
[2026-04-17 02:44:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:44: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-04-17 02: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 02:44:22] 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-04-17 02: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-04-17 02:44:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:44:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:44:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:44:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:44:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45452,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:44:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:44:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:44:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:44:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751732480001,"66":28202,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:44:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:44:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:44:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751732480001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:44:22] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:44:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:44:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:44:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:44:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751732480001,"power":28202,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:44:22] local.INFO: DEBUG: GPS processor result {"connection_id":45452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18757,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:44:22] local.INFO: GPS data processed {"connection_id":45452,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:44:22] local.INFO: Acknowledgment sent {"connection_id":45452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:44:33] local.INFO: TCP Data received {"connection_id":46273,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9823eb00012d66e440061ffd500005009e2e..."} 
[2026-04-17 02:44:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9823eb00012d66e440061ffd500005009e2e..."} 
[2026-04-17 02:44:33] local.INFO: Processing buffer {"connection_id":46273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9823eb00012d66e440061ffd500005009e2e..."} 
[2026-04-17 02:44:33] local.INFO: Packet analysis {"connection_id":46273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:44:33] local.INFO: Extracted packet for processing {"connection_id":46273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:44:33] local.INFO: GPS Element Parsed {"raw_longitude":761717824,"raw_latitude":102759760,"longitude_deg":76.1717824,"latitude_deg":10.275976,"altitude":5,"angle":158,"satellites":46,"speed":36,"hex_longitude":"2d66e440","hex_latitude":"061ffd50","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:44:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751737344001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:44:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273665429086404608,"note":"Value kept but may cause issues"} 
[2026-04-17 02:44:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7412362063006949376,"note":"Value kept but may cause issues"} 
[2026-04-17 02:44:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:44:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776373984000,"timestamp_ms":1776373984000,"timestamp_seconds":1776373984,"priority":1,"record_length":96,"hex_timestamp":"0000019d9823eb00"} 
[2026-04-17 02:44:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:44: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-04-17 02:44:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 02:44: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-04-17 02: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-04-17 02:44:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:44:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:44:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:44:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:44:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:44:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:44:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:44:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:44:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751737344001,"66":27463,"92":206,"79":20992,"24":36,"16":273665429086404608,"45":7412362063006949376},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-04-17 02:44:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:44:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:44:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751737344001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:44:33] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-17 02:44:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:44:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273665429086404608,"km_value":273665429086404.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:44:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7412362063006949376,"description":"Unknown IO ID 45"} 
[2026-04-17 02:44:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751737344001,"power":27463,"unknown_92":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":7412362063006949376}} 
[2026-04-17 02:44:33] local.INFO: DEBUG: GPS processor result {"connection_id":46273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:44:33] local.INFO: GPS data processed {"connection_id":46273,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:44:33] local.INFO: Acknowledgment sent {"connection_id":46273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:44:52] local.INFO: TCP Data received {"connection_id":45716,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:44:52] local.INFO: Processing buffer {"connection_id":45716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:44:52] local.INFO: IMEI packet received {"connection_id":45716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":45716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:44:53] local.INFO: TCP Data received {"connection_id":45716,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:44:53] local.INFO: Processing buffer {"connection_id":45716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:44:53] local.INFO: IMEI packet received {"connection_id":45716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":45716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:44:57] local.INFO: TCP Data received {"connection_id":45716,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45716,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:44:57] local.INFO: Processing buffer {"connection_id":45716,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:44:57] local.INFO: IMEI packet received {"connection_id":45716,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":45716,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:44:58] local.INFO: TCP Data received {"connection_id":45716,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98250440012d67c000061f2b80000200802a..."} 
[2026-04-17 02:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98250440012d67c000061f2b80000200802a..."} 
[2026-04-17 02:44:58] local.INFO: Processing buffer {"connection_id":45716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98250440012d67c000061f2b80000200802a..."} 
[2026-04-17 02:44:58] local.INFO: Packet analysis {"connection_id":45716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9825"} 
[2026-04-17 02:44:58] local.INFO: Extracted packet for processing {"connection_id":45716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9825"} 
[2026-04-17 02:44:58] local.INFO: GPS Element Parsed {"raw_longitude":761774080,"raw_latitude":102706048,"longitude_deg":76.177408,"latitude_deg":10.2706048,"altitude":2,"angle":128,"satellites":42,"speed":19,"hex_longitude":"2d67c000","hex_latitude":"061f2b80","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751757312001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273669204362657792,"note":"Value kept but may cause issues"} 
[2026-04-17 02:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7473582870425964544,"note":"Value kept but may cause issues"} 
[2026-04-17 02:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776374056000,"timestamp_ms":1776374056000,"timestamp_seconds":1776374056,"priority":1,"record_length":96,"hex_timestamp":"0000019d98250440"} 
[2026-04-17 02:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:44: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-04-17 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 02:44: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-04-17 02: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-04-17 02:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751757312001,"66":27376,"92":206,"79":20992,"24":19,"16":273669204362657792,"45":7473582870425964544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-04-17 02:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751757312001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:44:58] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-17 02:44:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273669204362657792,"km_value":273669204362657.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7473582870425964544,"description":"Unknown IO ID 45"} 
[2026-04-17 02:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751757312001,"power":27376,"unknown_92":206,"unknown_79":20992,"ignition":19,"odometer":null,"unknown_45":7473582870425964544}} 
[2026-04-17 02:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":45716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:44:58] local.INFO: GPS data processed {"connection_id":45716,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:44:58] local.INFO: Acknowledgment sent {"connection_id":45716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:45:06] local.INFO: TCP Data received {"connection_id":45717,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:45:06] local.INFO: Processing buffer {"connection_id":45717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:45:06] local.INFO: IMEI packet received {"connection_id":45717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":45717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:45:11] local.INFO: TCP Data received {"connection_id":45717,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45717,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:45:11] local.INFO: Processing buffer {"connection_id":45717,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:45:11] local.INFO: IMEI packet received {"connection_id":45717,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":45717,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:45:12] local.INFO: TCP Data received {"connection_id":45717,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9823cbc0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9823cbc0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:45:12] local.INFO: Processing buffer {"connection_id":45717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9823cbc0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:45:12] local.INFO: Packet analysis {"connection_id":45717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:45:12] local.INFO: Extracted packet for processing {"connection_id":45717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:45:12] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751737344001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776373976000,"timestamp_ms":1776373976000,"timestamp_seconds":1776373976,"priority":1,"record_length":96,"hex_timestamp":"0000019d9823cbc0"} 
[2026-04-17 02:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:45: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-04-17 02: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-17 02:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751737344001,"66":28430,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751737344001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:45:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:45:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751737344001,"power":28430,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":45717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18760,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:45:12] local.INFO: GPS data processed {"connection_id":45717,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:45:12] local.INFO: Acknowledgment sent {"connection_id":45717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:45:28] local.INFO: TCP Data received {"connection_id":45716,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98250c10012d67c240061f28b80003009029..."} 
[2026-04-17 02:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98250c10012d67c240061f28b80003009029..."} 
[2026-04-17 02:45:28] local.INFO: Processing buffer {"connection_id":45716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98250c10012d67c240061f28b80003009029..."} 
[2026-04-17 02:45:28] local.INFO: Packet analysis {"connection_id":45716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9825"} 
[2026-04-17 02:45:28] local.INFO: Extracted packet for processing {"connection_id":45716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9825"} 
[2026-04-17 02:45:28] local.INFO: GPS Element Parsed {"raw_longitude":761774656,"raw_latitude":102705336,"longitude_deg":76.1774656,"latitude_deg":10.2705336,"altitude":3,"angle":144,"satellites":41,"speed":18,"hex_longitude":"2d67c240","hex_latitude":"061f28b8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751758336001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273669251607298048,"note":"Value kept but may cause issues"} 
[2026-04-17 02:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7475975407727771648,"note":"Value kept but may cause issues"} 
[2026-04-17 02:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776374058000,"timestamp_ms":1776374058000,"timestamp_seconds":1776374058,"priority":1,"record_length":96,"hex_timestamp":"0000019d98250c10"} 
[2026-04-17 02:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:45: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-04-17 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 02:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45716,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751758336001,"66":27321,"92":206,"79":20992,"24":18,"16":273669251607298048,"45":7475975407727771648},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,79,24,16,45]} 
[2026-04-17 02:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751758336001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:45:28] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-17 02:45:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273669251607298048,"km_value":273669251607298.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7475975407727771648,"description":"Unknown IO ID 45"} 
[2026-04-17 02:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751758336001,"power":27321,"unknown_92":206,"unknown_79":20992,"ignition":18,"odometer":null,"unknown_45":7475975407727771648}} 
[2026-04-17 02:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":45716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:45:28] local.INFO: GPS data processed {"connection_id":45716,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:45:28] local.INFO: Acknowledgment sent {"connection_id":45716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:45:44] local.INFO: TCP Data received {"connection_id":45717,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9823cbc0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:45:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9823cbc0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:45:44] local.INFO: Processing buffer {"connection_id":45717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9823cbc0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:45:44] local.INFO: Packet analysis {"connection_id":45717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:45:44] local.INFO: Extracted packet for processing {"connection_id":45717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:45:44] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:45:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751737344001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:45:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:45:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:45:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:45:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776373976000,"timestamp_ms":1776373976000,"timestamp_seconds":1776373976,"priority":1,"record_length":96,"hex_timestamp":"0000019d9823cbc0"} 
[2026-04-17 02:45:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:45:44] 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-04-17 02: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-17 02:45:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:45:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:45:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:45:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:45:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:45:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45717,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:45:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:45:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:45:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:45:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751737344001,"66":28430,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:45:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:45:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:45:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751737344001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:45:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:45:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:45:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:45:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:45:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751737344001,"power":28430,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:45:44] local.INFO: DEBUG: GPS processor result {"connection_id":45717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18762,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:45:44] local.INFO: GPS data processed {"connection_id":45717,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:45:44] local.INFO: Acknowledgment sent {"connection_id":45717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:45:52] local.INFO: TCP Data received {"connection_id":46274,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:45:52] local.INFO: Processing buffer {"connection_id":46274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:45:52] local.INFO: IMEI packet received {"connection_id":46274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":46274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:45:57] local.INFO: TCP Data received {"connection_id":46274,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:45:57] local.INFO: Processing buffer {"connection_id":46274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:45:57] local.INFO: IMEI packet received {"connection_id":46274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":46274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:45:58] local.INFO: TCP Data received {"connection_id":46274,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98251bb0012d67c600061f21f80005009c2a..."} 
[2026-04-17 02:45:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98251bb0012d67c600061f21f80005009c2a..."} 
[2026-04-17 02:45:58] local.INFO: Processing buffer {"connection_id":46274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98251bb0012d67c600061f21f80005009c2a..."} 
[2026-04-17 02:45:58] local.INFO: Packet analysis {"connection_id":46274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9825"} 
[2026-04-17 02:45:58] local.INFO: Extracted packet for processing {"connection_id":46274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9825"} 
[2026-04-17 02:45:58] local.INFO: GPS Element Parsed {"raw_longitude":761775616,"raw_latitude":102703608,"longitude_deg":76.1775616,"latitude_deg":10.2703608,"altitude":5,"angle":156,"satellites":42,"speed":20,"hex_longitude":"2d67c600","hex_latitude":"061f21f8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:45:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751758848001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:45:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273669346096578560,"note":"Value kept but may cause issues"} 
[2026-04-17 02:45:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7476608726425188352,"note":"Value kept but may cause issues"} 
[2026-04-17 02:45:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:45:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776374062000,"timestamp_ms":1776374062000,"timestamp_seconds":1776374062,"priority":1,"record_length":96,"hex_timestamp":"0000019d98251bb0"} 
[2026-04-17 02:45:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:45: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-04-17 02: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 02:45:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:45:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:45:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:45:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:45:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:45:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:45:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:45:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:45:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:45:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751758848001,"66":27310,"85":206,"79":20992,"24":20,"16":273669346096578560,"45":7476608726425188352},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-04-17 02:45:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:45:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:45:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751758848001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:45:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-17 02:45:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:45:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273669346096578560,"km_value":273669346096578.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:45:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7476608726425188352,"description":"Unknown IO ID 45"} 
[2026-04-17 02:45:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751758848001,"power":27310,"unknown_85":206,"unknown_79":20992,"ignition":20,"odometer":null,"unknown_45":7476608726425188352}} 
[2026-04-17 02:45:58] local.INFO: DEBUG: GPS processor result {"connection_id":46274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:45:58] local.INFO: GPS data processed {"connection_id":46274,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:45:58] local.INFO: Acknowledgment sent {"connection_id":46274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:46:06] local.INFO: TCP Data received {"connection_id":45718,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:46:06] local.INFO: Processing buffer {"connection_id":45718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:46:06] local.INFO: IMEI packet received {"connection_id":45718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":45718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:46:11] local.INFO: TCP Data received {"connection_id":45718,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45718,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:46:11] local.INFO: Processing buffer {"connection_id":45718,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:46:11] local.INFO: IMEI packet received {"connection_id":45718,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":45718,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:46:12] local.INFO: TCP Data received {"connection_id":45718,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9823cbc0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9823cbc0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:46:12] local.INFO: Processing buffer {"connection_id":45718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9823cbc0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:46:12] local.INFO: Packet analysis {"connection_id":45718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:46:12] local.INFO: Extracted packet for processing {"connection_id":45718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:46:12] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751737344001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:46:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776373976000,"timestamp_ms":1776373976000,"timestamp_seconds":1776373976,"priority":1,"record_length":96,"hex_timestamp":"0000019d9823cbc0"} 
[2026-04-17 02:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:46: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-04-17 02:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-17 02:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751737344001,"66":28430,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751737344001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:46:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:46:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751737344001,"power":28430,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":45718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18764,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:46:13] local.INFO: GPS data processed {"connection_id":45718,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:46:13] local.INFO: Acknowledgment sent {"connection_id":45718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:46:28] local.INFO: TCP Data received {"connection_id":46274,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98252768012d67c940061f1c78000500912d..."} 
[2026-04-17 02:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98252768012d67c940061f1c78000500912d..."} 
[2026-04-17 02:46:28] local.INFO: Processing buffer {"connection_id":46274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98252768012d67c940061f1c78000500912d..."} 
[2026-04-17 02:46:28] local.INFO: Packet analysis {"connection_id":46274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9825"} 
[2026-04-17 02:46:28] local.INFO: Extracted packet for processing {"connection_id":46274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9825"} 
[2026-04-17 02:46:28] local.INFO: GPS Element Parsed {"raw_longitude":761776448,"raw_latitude":102702200,"longitude_deg":76.1776448,"latitude_deg":10.27022,"altitude":5,"angle":145,"satellites":45,"speed":22,"hex_longitude":"2d67c940","hex_latitude":"061f1c78","is_valid_coordinates":true} 
[2026-04-17 02:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751759872001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273669423405989888,"note":"Value kept but may cause issues"} 
[2026-04-17 02:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7477664257587410944,"note":"Value kept but may cause issues"} 
[2026-04-17 02:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776374065000,"timestamp_ms":1776374065000,"timestamp_seconds":1776374065,"priority":1,"record_length":96,"hex_timestamp":"0000019d98252768"} 
[2026-04-17 02:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:46: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-04-17 02:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 02:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751759872001,"66":27343,"85":206,"79":20992,"24":22,"16":273669423405989888,"45":7477664257587410944},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-04-17 02:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751759872001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-17 02:46:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273669423405989888,"km_value":273669423405989.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7477664257587410944,"description":"Unknown IO ID 45"} 
[2026-04-17 02:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751759872001,"power":27343,"unknown_85":206,"unknown_79":20992,"ignition":22,"odometer":null,"unknown_45":7477664257587410944}} 
[2026-04-17 02:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":46274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:46:28] local.INFO: GPS data processed {"connection_id":46274,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:46:28] local.INFO: Acknowledgment sent {"connection_id":46274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:46:44] local.INFO: TCP Data received {"connection_id":45718,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9823cbc0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9823cbc0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:46:44] local.INFO: Processing buffer {"connection_id":45718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9823cbc0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:46:44] local.INFO: Packet analysis {"connection_id":45718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:46:44] local.INFO: Extracted packet for processing {"connection_id":45718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:46:44] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751737344001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:46:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776373976000,"timestamp_ms":1776373976000,"timestamp_seconds":1776373976,"priority":1,"record_length":96,"hex_timestamp":"0000019d9823cbc0"} 
[2026-04-17 02:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:46:44] 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-04-17 02: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-17 02:46:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45718,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751737344001,"66":28430,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751737344001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:46:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:46:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751737344001,"power":28430,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":45718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18766,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:46:44] local.INFO: GPS data processed {"connection_id":45718,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:46:44] local.INFO: Acknowledgment sent {"connection_id":45718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:46:52] local.INFO: TCP Data received {"connection_id":45522,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:46:52] local.INFO: Processing buffer {"connection_id":45522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:46:52] local.INFO: IMEI packet received {"connection_id":45522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":45522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:46:57] local.INFO: TCP Data received {"connection_id":45522,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:46:57] local.INFO: Processing buffer {"connection_id":45522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:46:57] local.INFO: IMEI packet received {"connection_id":45522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":45522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:46:58] local.INFO: TCP Data received {"connection_id":45522,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d982565e8012d67df00061efe400007008f28..."} 
[2026-04-17 02:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982565e8012d67df00061efe400007008f28..."} 
[2026-04-17 02:46:58] local.INFO: Processing buffer {"connection_id":45522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982565e8012d67df00061efe400007008f28..."} 
[2026-04-17 02:46:58] local.INFO: Packet analysis {"connection_id":45522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9825"} 
[2026-04-17 02:46:58] local.INFO: Extracted packet for processing {"connection_id":45522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9825"} 
[2026-04-17 02:46:58] local.INFO: GPS Element Parsed {"raw_longitude":761782016,"raw_latitude":102694464,"longitude_deg":76.1782016,"latitude_deg":10.2694464,"altitude":7,"angle":143,"satellites":40,"speed":25,"hex_longitude":"2d67df00","hex_latitude":"061efe40","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751760640001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273669887262457856,"note":"Value kept but may cause issues"} 
[2026-04-17 02:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7478579051261360128,"note":"Value kept but may cause issues"} 
[2026-04-17 02:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776374081000,"timestamp_ms":1776374081000,"timestamp_seconds":1776374081,"priority":1,"record_length":96,"hex_timestamp":"0000019d982565e8"} 
[2026-04-17 02:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:46: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-04-17 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:46:58] 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-04-17 02: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-04-17 02:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751760640001,"66":27397,"85":206,"79":20992,"24":25,"16":273669887262457856,"45":7478579051261360128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-04-17 02:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751760640001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:46:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-17 02:46:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273669887262457856,"km_value":273669887262457.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7478579051261360128,"description":"Unknown IO ID 45"} 
[2026-04-17 02:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751760640001,"power":27397,"unknown_85":206,"unknown_79":20992,"ignition":25,"odometer":null,"unknown_45":7478579051261360128}} 
[2026-04-17 02:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":45522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:46:58] local.INFO: GPS data processed {"connection_id":45522,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:46:58] local.INFO: Acknowledgment sent {"connection_id":45522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:47:05] local.INFO: TCP Data received {"connection_id":45719,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:47:05] local.INFO: Processing buffer {"connection_id":45719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:47:05] local.INFO: IMEI packet received {"connection_id":45719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":45719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:47:11] local.INFO: TCP Data received {"connection_id":45719,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:47:11] local.INFO: Processing buffer {"connection_id":45719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:47:11] local.INFO: IMEI packet received {"connection_id":45719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":45719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:47:12] local.INFO: TCP Data received {"connection_id":45719,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9823cbc0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9823cbc0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:47:12] local.INFO: Processing buffer {"connection_id":45719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9823cbc0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:47:12] local.INFO: Packet analysis {"connection_id":45719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:47:12] local.INFO: Extracted packet for processing {"connection_id":45719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:47:12] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751737344001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:47:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776373976000,"timestamp_ms":1776373976000,"timestamp_seconds":1776373976,"priority":1,"record_length":96,"hex_timestamp":"0000019d9823cbc0"} 
[2026-04-17 02:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:47: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-04-17 02: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":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-17 02:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751737344001,"66":28430,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751737344001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:47:12] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:47:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751737344001,"power":28430,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":45719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18768,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:47:12] local.INFO: GPS data processed {"connection_id":45719,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:47:12] local.INFO: Acknowledgment sent {"connection_id":45719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:47:29] local.INFO: TCP Data received {"connection_id":45522,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98259c98012d67f4c0061ee0c80007008f2d..."} 
[2026-04-17 02:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98259c98012d67f4c0061ee0c80007008f2d..."} 
[2026-04-17 02:47:29] local.INFO: Processing buffer {"connection_id":45522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98259c98012d67f4c0061ee0c80007008f2d..."} 
[2026-04-17 02:47:29] local.INFO: Packet analysis {"connection_id":45522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9825"} 
[2026-04-17 02:47:29] local.INFO: Extracted packet for processing {"connection_id":45522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9825"} 
[2026-04-17 02:47:29] local.INFO: GPS Element Parsed {"raw_longitude":761787584,"raw_latitude":102686920,"longitude_deg":76.1787584,"latitude_deg":10.268692,"altitude":7,"angle":143,"satellites":45,"speed":25,"hex_longitude":"2d67f4c0","hex_latitude":"061ee0c8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751764736001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273670338234023936,"note":"Value kept but may cause issues"} 
[2026-04-17 02:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7484701132002836480,"note":"Value kept but may cause issues"} 
[2026-04-17 02:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776374095000,"timestamp_ms":1776374095000,"timestamp_seconds":1776374095,"priority":1,"record_length":96,"hex_timestamp":"0000019d98259c98"} 
[2026-04-17 02:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:47: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-04-17 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 02:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:47: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-04-17 02:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751764736001,"66":27343,"85":206,"79":20992,"24":25,"16":273670338234023936,"45":7484701132002836480},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-04-17 02:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751764736001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:47:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-17 02:47:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273670338234023936,"km_value":273670338234023.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7484701132002836480,"description":"Unknown IO ID 45"} 
[2026-04-17 02:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751764736001,"power":27343,"unknown_85":206,"unknown_79":20992,"ignition":25,"odometer":null,"unknown_45":7484701132002836480}} 
[2026-04-17 02:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":45522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:47:29] local.INFO: GPS data processed {"connection_id":45522,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:47:29] local.INFO: Acknowledgment sent {"connection_id":45522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:47:44] local.INFO: TCP Data received {"connection_id":45719,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9823cbc0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9823cbc0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:47:44] local.INFO: Processing buffer {"connection_id":45719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9823cbc0012d06ee8006fd0f30000b008233..."} 
[2026-04-17 02:47:44] local.INFO: Packet analysis {"connection_id":45719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:47:44] local.INFO: Extracted packet for processing {"connection_id":45719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9823"} 
[2026-04-17 02:47:44] local.INFO: GPS Element Parsed {"raw_longitude":755428992,"raw_latitude":117247792,"longitude_deg":75.5428992,"latitude_deg":11.7247792,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ee80","hex_latitude":"06fd0f30","is_valid_coordinates":true} 
[2026-04-17 02:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751737344001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:47:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776373976000,"timestamp_ms":1776373976000,"timestamp_seconds":1776373976,"priority":1,"record_length":96,"hex_timestamp":"0000019d9823cbc0"} 
[2026-04-17 02:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:47:44] 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-04-17 02:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":42,"data_length":795,"current_offset":136} 
[2026-04-17 02:47:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1126,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:47:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751737344001,"66":28430,"206":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,28,24,16,45]} 
[2026-04-17 02:47:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:47:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:47:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751737344001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:47:44] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 02:47:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:47:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:47:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:47:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751737344001,"power":28430,"unknown_206":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":45719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18770,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:47:44] local.INFO: GPS data processed {"connection_id":45719,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:47:44] local.INFO: Acknowledgment sent {"connection_id":45719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:47:52] local.INFO: TCP Data received {"connection_id":45720,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:47:52] local.INFO: Processing buffer {"connection_id":45720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:47:52] local.INFO: IMEI packet received {"connection_id":45720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":45720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:47:52] local.INFO: TCP Data received {"connection_id":45720,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:47:52] local.INFO: Processing buffer {"connection_id":45720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:47:52] local.INFO: IMEI packet received {"connection_id":45720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":45720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:47:57] local.INFO: TCP Data received {"connection_id":45720,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:47:57] local.INFO: Processing buffer {"connection_id":45720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:47:57] local.INFO: IMEI packet received {"connection_id":45720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":45720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:47:58] local.INFO: TCP Data received {"connection_id":45720,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9825d730012d6808c0061ec2f0000500962f..."} 
[2026-04-17 02:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9825d730012d6808c0061ec2f0000500962f..."} 
[2026-04-17 02:47:58] local.INFO: Processing buffer {"connection_id":45720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9825d730012d6808c0061ec2f0000500962f..."} 
[2026-04-17 02:47:58] local.INFO: Packet analysis {"connection_id":45720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9825"} 
[2026-04-17 02:47:58] local.INFO: Extracted packet for processing {"connection_id":45720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9825"} 
[2026-04-17 02:47:58] local.INFO: GPS Element Parsed {"raw_longitude":761792704,"raw_latitude":102679280,"longitude_deg":76.1792704,"latitude_deg":10.267928,"altitude":5,"angle":150,"satellites":47,"speed":25,"hex_longitude":"2d6808c0","hex_latitude":"061ec2f0","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751768320001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273670780615655424,"note":"Value kept but may cause issues"} 
[2026-04-17 02:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7490823212744361984,"note":"Value kept but may cause issues"} 
[2026-04-17 02:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776374110000,"timestamp_ms":1776374110000,"timestamp_seconds":1776374110,"priority":1,"record_length":96,"hex_timestamp":"0000019d9825d730"} 
[2026-04-17 02:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:47: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-04-17 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:47:58] 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-04-17 02: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-04-17 02:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751768320001,"66":27365,"85":206,"79":20992,"24":25,"16":273670780615655424,"45":7490823212744361984},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,79,24,16,45]} 
[2026-04-17 02:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751768320001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:47:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-17 02:47:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273670780615655424,"km_value":273670780615655.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7490823212744361984,"description":"Unknown IO ID 45"} 
[2026-04-17 02:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751768320001,"power":27365,"unknown_85":206,"unknown_79":20992,"ignition":25,"odometer":null,"unknown_45":7490823212744361984}} 
[2026-04-17 02:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":45720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:47:58] local.INFO: GPS data processed {"connection_id":45720,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:47:58] local.INFO: Acknowledgment sent {"connection_id":45720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:48:11] local.INFO: TCP Data received {"connection_id":45453,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:48:11] local.INFO: Processing buffer {"connection_id":45453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:48:11] local.INFO: IMEI packet received {"connection_id":45453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":45453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:48:16] local.INFO: TCP Data received {"connection_id":45453,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:48:16] local.INFO: Processing buffer {"connection_id":45453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:48:16] local.INFO: IMEI packet received {"connection_id":45453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":45453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:48:17] local.INFO: TCP Data received {"connection_id":45453,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:48:17] local.INFO: Processing buffer {"connection_id":45453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:48:17] local.INFO: Packet analysis {"connection_id":45453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:48:17] local.INFO: Extracted packet for processing {"connection_id":45453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:48:17] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751737856001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:48:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776374280000,"timestamp_ms":1776374280000,"timestamp_seconds":1776374280,"priority":1,"record_length":96,"hex_timestamp":"0000019d98286f40"} 
[2026-04-17 02:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:48:17] 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-04-17 02:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 02:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751737856001,"66":25647,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751737856001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:48:17] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:48:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751737856001,"power":25647,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":45453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18772,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:48:17] local.INFO: GPS data processed {"connection_id":45453,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:48:17] local.INFO: Acknowledgment sent {"connection_id":45453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:48:28] local.INFO: TCP Data received {"connection_id":45720,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d982809b0012d68bf40061d6880000700a22b..."} 
[2026-04-17 02:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982809b0012d68bf40061d6880000700a22b..."} 
[2026-04-17 02:48:28] local.INFO: Processing buffer {"connection_id":45720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982809b0012d68bf40061d6880000700a22b..."} 
[2026-04-17 02:48:28] local.INFO: Packet analysis {"connection_id":45720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:48:28] local.INFO: Extracted packet for processing {"connection_id":45720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:48:28] local.INFO: GPS Element Parsed {"raw_longitude":761839424,"raw_latitude":102590592,"longitude_deg":76.1839424,"latitude_deg":10.2590592,"altitude":7,"angle":162,"satellites":43,"speed":13,"hex_longitude":"2d68bf40","hex_latitude":"061d6880","is_valid_coordinates":true} 
[2026-04-17 02:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751805184001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273675646813601792,"note":"Value kept but may cause issues"} 
[2026-04-17 02:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7544233089552470016,"note":"Value kept but may cause issues"} 
[2026-04-17 02:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776374254000,"timestamp_ms":1776374254000,"timestamp_seconds":1776374254,"priority":1,"record_length":96,"hex_timestamp":"0000019d982809b0"} 
[2026-04-17 02:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:48: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-04-17 02:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 02:48: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-04-17 02:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751805184001,"66":27376,"86":206,"79":20992,"24":13,"16":273675646813601792,"45":7544233089552470016},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-04-17 02:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751805184001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:48:28] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-04-17 02:48:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273675646813601792,"km_value":273675646813601.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7544233089552470016,"description":"Unknown IO ID 45"} 
[2026-04-17 02:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751805184001,"power":27376,"unknown_86":206,"unknown_79":20992,"ignition":13,"odometer":null,"unknown_45":7544233089552470016}} 
[2026-04-17 02:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":45720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:48:28] local.INFO: GPS data processed {"connection_id":45720,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:48:28] local.INFO: Acknowledgment sent {"connection_id":45720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:48:49] local.INFO: TCP Data received {"connection_id":45453,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:48:49] local.INFO: Processing buffer {"connection_id":45453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:48:49] local.INFO: Packet analysis {"connection_id":45453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:48:49] local.INFO: Extracted packet for processing {"connection_id":45453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:48:49] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:48:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751737856001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:48:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:48:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776374280000,"timestamp_ms":1776374280000,"timestamp_seconds":1776374280,"priority":1,"record_length":96,"hex_timestamp":"0000019d98286f40"} 
[2026-04-17 02:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:48:49] 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-04-17 02: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 02:48:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751737856001,"66":25647,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751737856001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:48:49] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:48:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:48:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:48:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751737856001,"power":25647,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":45453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18774,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:48:49] local.INFO: GPS data processed {"connection_id":45453,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:48:49] local.INFO: Acknowledgment sent {"connection_id":45453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:48:56] local.INFO: TCP Data received {"connection_id":45523,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45523,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:48:56] local.INFO: Processing buffer {"connection_id":45523,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:48:56] local.INFO: IMEI packet received {"connection_id":45523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":45523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:49:06] local.INFO: TCP Data received {"connection_id":45524,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:49:06] local.INFO: Processing buffer {"connection_id":45524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:49:06] local.INFO: IMEI packet received {"connection_id":45524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":45524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:49:06] local.INFO: TCP Data received {"connection_id":45523,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 02:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45523,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 02:49:06] local.INFO: Processing buffer {"connection_id":45523,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 02:49:06] local.INFO: IMEI packet received {"connection_id":45523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":45523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:49:07] local.INFO: TCP Data received {"connection_id":45523,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98285fa0012d68c880061d4640000a00a52d..."} 
[2026-04-17 02:49:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98285fa0012d68c880061d4640000a00a52d..."} 
[2026-04-17 02:49:07] local.INFO: Processing buffer {"connection_id":45523,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019d98..."} 
[2026-04-17 02:49:07] local.INFO: IMEI packet received {"connection_id":45523,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:49:07] local.INFO: IMEI acknowledgment sent {"connection_id":45523,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:49:08] local.INFO: TCP Data received {"connection_id":45523,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98285fa0012d68c880061d4640000a00a52d..."} 
[2026-04-17 02:49:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98285fa0012d68c880061d4640000a00a52d..."} 
[2026-04-17 02:49:08] local.INFO: Processing buffer {"connection_id":45523,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019d98285fa0012d68c880061d4640000a00a52d..."} 
[2026-04-17 02:49:08] local.INFO: Packet analysis {"connection_id":45523,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:49:08] local.INFO: Extracted packet for processing {"connection_id":45523,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:49:08] local.INFO: GPS Element Parsed {"raw_longitude":761841792,"raw_latitude":102581824,"longitude_deg":76.1841792,"latitude_deg":10.2581824,"altitude":10,"angle":165,"satellites":45,"speed":18,"hex_longitude":"2d68c880","hex_latitude":"061d4640","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751809024001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273676089195233280,"note":"Value kept but may cause issues"} 
[2026-04-17 02:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7547821895503609856,"note":"Value kept but may cause issues"} 
[2026-04-17 02:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776374276000,"timestamp_ms":1776374276000,"timestamp_seconds":1776374276,"priority":1,"record_length":96,"hex_timestamp":"0000019d98285fa0"} 
[2026-04-17 02:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 02:49: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-04-17 02: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-04-17 02:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":45523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":45523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":45523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:49:08] 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-04-17 02:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751809024001,"66":27343,"86":206,"79":20992,"24":18,"16":273676089195233280,"45":7547821895503609856},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-04-17 02:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751809024001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:49:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-04-17 02:49:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273676089195233280,"km_value":273676089195233.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7547821895503609856,"description":"Unknown IO ID 45"} 
[2026-04-17 02:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751809024001,"power":27343,"unknown_86":206,"unknown_79":20992,"ignition":18,"odometer":null,"unknown_45":7547821895503609856}} 
[2026-04-17 02:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":45523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:49:08] local.INFO: GPS data processed {"connection_id":45523,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:49:08] local.INFO: Acknowledgment sent {"connection_id":45523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:49:08] local.INFO: Packet analysis {"connection_id":45523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:49:08] local.INFO: Extracted packet for processing {"connection_id":45523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:49:08] local.INFO: GPS Element Parsed {"raw_longitude":761841792,"raw_latitude":102581824,"longitude_deg":76.1841792,"latitude_deg":10.2581824,"altitude":10,"angle":165,"satellites":45,"speed":18,"hex_longitude":"2d68c880","hex_latitude":"061d4640","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:49:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751814656001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:49:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273676089195233280,"note":"Value kept but may cause issues"} 
[2026-04-17 02:49:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7550425539035938816,"note":"Value kept but may cause issues"} 
[2026-04-17 02:49:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:49:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776374276000,"timestamp_ms":1776374276000,"timestamp_seconds":1776374276,"priority":1,"record_length":96,"hex_timestamp":"0000019d98285fa0"} 
[2026-04-17 02:49:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:49:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:49: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-04-17 02: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-04-17 02:49:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:49:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:49:08] local.INFO: Teltonika packet parsed successfully {"connection_id":45523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:49:08] local.INFO: Passing IMEI to GPS processor {"connection_id":45523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:49:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":45523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:49:08] 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-04-17 02:49:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:49:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:49:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751814656001,"66":27343,"86":206,"79":20992,"24":18,"16":273676089195233280,"45":7550425539035938816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-04-17 02:49:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:49:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:49:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751814656001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:49:08] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-04-17 02:49:08] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:49:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273676089195233280,"km_value":273676089195233.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:49:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":7550425539035938816,"description":"Unknown IO ID 45"} 
[2026-04-17 02:49:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751814656001,"power":27343,"unknown_86":206,"unknown_79":20992,"ignition":18,"odometer":null,"unknown_45":7550425539035938816}} 
[2026-04-17 02:49:08] local.INFO: DEBUG: GPS processor result {"connection_id":45523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:49:08] local.INFO: GPS data processed {"connection_id":45523,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:49:08] local.INFO: Acknowledgment sent {"connection_id":45523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:49:09] local.INFO: TCP Data received {"connection_id":45523,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9828b590012d68ce00061d33a0000900a32e..."} 
[2026-04-17 02:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9828b590012d68ce00061d33a0000900a32e..."} 
[2026-04-17 02:49:09] local.INFO: Processing buffer {"connection_id":45523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9828b590012d68ce00061d33a0000900a32e..."} 
[2026-04-17 02:49:09] local.INFO: Packet analysis {"connection_id":45523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:49:09] local.INFO: Extracted packet for processing {"connection_id":45523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:49:09] local.INFO: GPS Element Parsed {"raw_longitude":761843200,"raw_latitude":102577056,"longitude_deg":76.18432,"latitude_deg":10.2577056,"altitude":9,"angle":163,"satellites":46,"speed":5,"hex_longitude":"2d68ce00","hex_latitude":"061d33a0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 02:49:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751814656001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:49:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273676334008369152,"note":"Value kept but may cause issues"} 
[2026-04-17 02:49:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7550425539035938816,"note":"Value kept but may cause issues"} 
[2026-04-17 02:49:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:49:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776374298000,"timestamp_ms":1776374298000,"timestamp_seconds":1776374298,"priority":1,"record_length":96,"hex_timestamp":"0000019d9828b590"} 
[2026-04-17 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-04-17 02:49:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:49: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-04-17 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-04-17 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-04-17 02:49:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:49:09] local.INFO: Teltonika packet parsed successfully {"connection_id":45523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:49:09] local.INFO: Passing IMEI to GPS processor {"connection_id":45523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:49:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":45523,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:49:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:49:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:49:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:49:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751814656001,"66":27397,"86":206,"79":20992,"24":5,"16":273676334008369152,"45":7550425539035938816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-04-17 02:49:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:49:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:49:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751814656001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:49:09] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-04-17 02:49:09] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:49:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273676334008369152,"km_value":273676334008369.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:49:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":7550425539035938816,"description":"Unknown IO ID 45"} 
[2026-04-17 02:49:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751814656001,"power":27397,"unknown_86":206,"unknown_79":20992,"ignition":5,"odometer":null,"unknown_45":7550425539035938816}} 
[2026-04-17 02:49:09] local.INFO: DEBUG: GPS processor result {"connection_id":45523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:49:09] local.INFO: GPS data processed {"connection_id":45523,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:49:09] local.INFO: Acknowledgment sent {"connection_id":45523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:49:11] local.INFO: TCP Data received {"connection_id":45524,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:49:11] local.INFO: Processing buffer {"connection_id":45524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:49:11] local.INFO: IMEI packet received {"connection_id":45524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":45524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:49:12] local.INFO: TCP Data received {"connection_id":45524,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:49:12] local.INFO: Processing buffer {"connection_id":45524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:49:12] local.INFO: Packet analysis {"connection_id":45524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:49:12] local.INFO: Extracted packet for processing {"connection_id":45524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:49:12] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751737856001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:49:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776374280000,"timestamp_ms":1776374280000,"timestamp_seconds":1776374280,"priority":1,"record_length":96,"hex_timestamp":"0000019d98286f40"} 
[2026-04-17 02:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:49: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-04-17 02: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 02:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45524,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45524,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751737856001,"66":25647,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751737856001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:49:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:49:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751737856001,"power":25647,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":45524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18778,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:49:12] local.INFO: GPS data processed {"connection_id":45524,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:49:12] local.INFO: Acknowledgment sent {"connection_id":45524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:49:44] local.INFO: TCP Data received {"connection_id":45524,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:49:44] local.INFO: Processing buffer {"connection_id":45524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:49:44] local.INFO: Packet analysis {"connection_id":45524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:49:44] local.INFO: Extracted packet for processing {"connection_id":45524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:49:44] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751737856001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:49:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776374280000,"timestamp_ms":1776374280000,"timestamp_seconds":1776374280,"priority":1,"record_length":96,"hex_timestamp":"0000019d98286f40"} 
[2026-04-17 02:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:49:44] 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-04-17 02: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 02:49:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45524,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45524,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751737856001,"66":25647,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751737856001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:49:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:49:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751737856001,"power":25647,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":45524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18779,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:49:44] local.INFO: GPS data processed {"connection_id":45524,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:49:44] local.INFO: Acknowledgment sent {"connection_id":45524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:49:50] local.INFO: TCP Data received {"connection_id":45721,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:49:50] local.INFO: Processing buffer {"connection_id":45721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:49:50] local.INFO: IMEI packet received {"connection_id":45721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":45721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:49:52] local.INFO: TCP Data received {"connection_id":45721,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:49:52] local.INFO: Processing buffer {"connection_id":45721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:49:52] local.INFO: IMEI packet received {"connection_id":45721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":45721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:49:57] local.INFO: TCP Data received {"connection_id":45721,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:49:57] local.INFO: Processing buffer {"connection_id":45721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:49:57] local.INFO: IMEI packet received {"connection_id":45721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":45721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:49:58] local.INFO: TCP Data received {"connection_id":45721,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98290b80012d68d280061d2340000900a62e..."} 
[2026-04-17 02:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98290b80012d68d280061d2340000900a62e..."} 
[2026-04-17 02:49:58] local.INFO: Processing buffer {"connection_id":45721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98290b80012d68d280061d2340000900a62e..."} 
[2026-04-17 02:49:58] local.INFO: Packet analysis {"connection_id":45721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9829"} 
[2026-04-17 02:49:58] local.INFO: Extracted packet for processing {"connection_id":45721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9829"} 
[2026-04-17 02:49:58] local.INFO: GPS Element Parsed {"raw_longitude":761844352,"raw_latitude":102572864,"longitude_deg":76.1844352,"latitude_deg":10.2572864,"altitude":9,"angle":166,"satellites":46,"speed":16,"hex_longitude":"2d68d280","hex_latitude":"061d2340","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751820288001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273676548756733952,"note":"Value kept but may cause issues"} 
[2026-04-17 02:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7551973651406626816,"note":"Value kept but may cause issues"} 
[2026-04-17 02:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776374320000,"timestamp_ms":1776374320000,"timestamp_seconds":1776374320,"priority":1,"record_length":96,"hex_timestamp":"0000019d98290b80"} 
[2026-04-17 02:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:49: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-04-17 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 02:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751820288001,"66":27365,"86":206,"79":20992,"24":16,"16":273676548756733952,"45":7551973651406626816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-04-17 02:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751820288001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:49:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-04-17 02:49:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273676548756733952,"km_value":273676548756733.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7551973651406626816,"description":"Unknown IO ID 45"} 
[2026-04-17 02:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751820288001,"power":27365,"unknown_86":206,"unknown_79":20992,"ignition":16,"odometer":null,"unknown_45":7551973651406626816}} 
[2026-04-17 02:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":45721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:49:58] local.INFO: GPS data processed {"connection_id":45721,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:49:58] local.INFO: Acknowledgment sent {"connection_id":45721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:50:06] local.INFO: TCP Data received {"connection_id":45454,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:50:06] local.INFO: Processing buffer {"connection_id":45454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:50:06] local.INFO: IMEI packet received {"connection_id":45454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:50:06] local.INFO: IMEI acknowledgment sent {"connection_id":45454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:50:11] local.INFO: TCP Data received {"connection_id":45454,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45454,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:50:11] local.INFO: Processing buffer {"connection_id":45454,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:50:11] local.INFO: IMEI packet received {"connection_id":45454,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":45454,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:50:12] local.INFO: TCP Data received {"connection_id":45454,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:50:12] local.INFO: Processing buffer {"connection_id":45454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:50:12] local.INFO: Packet analysis {"connection_id":45454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:50:12] local.INFO: Extracted packet for processing {"connection_id":45454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:50:12] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:50:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751737856001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:50:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:50:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776374280000,"timestamp_ms":1776374280000,"timestamp_seconds":1776374280,"priority":1,"record_length":96,"hex_timestamp":"0000019d98286f40"} 
[2026-04-17 02:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:50: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-04-17 02: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 02:50:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751737856001,"66":25647,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751737856001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:50:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:50:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:50:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:50:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751737856001,"power":25647,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":45454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18781,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:50:12] local.INFO: GPS data processed {"connection_id":45454,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:50:12] local.INFO: Acknowledgment sent {"connection_id":45454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:50:29] local.INFO: TCP Data received {"connection_id":45721,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98294618012d68db40061cff00000800a52c..."} 
[2026-04-17 02:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98294618012d68db40061cff00000800a52c..."} 
[2026-04-17 02:50:29] local.INFO: Processing buffer {"connection_id":45721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98294618012d68db40061cff00000800a52c..."} 
[2026-04-17 02:50:29] local.INFO: Packet analysis {"connection_id":45721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9829"} 
[2026-04-17 02:50:29] local.INFO: Extracted packet for processing {"connection_id":45721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9829"} 
[2026-04-17 02:50:29] local.INFO: GPS Element Parsed {"raw_longitude":761846592,"raw_latitude":102563584,"longitude_deg":76.1846592,"latitude_deg":10.2563584,"altitude":8,"angle":165,"satellites":44,"speed":34,"hex_longitude":"2d68db40","hex_latitude":"061cff00","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751825920001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273677008318234624,"note":"Value kept but may cause issues"} 
[2026-04-17 02:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7553240288800751616,"note":"Value kept but may cause issues"} 
[2026-04-17 02:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776374335000,"timestamp_ms":1776374335000,"timestamp_seconds":1776374335,"priority":1,"record_length":96,"hex_timestamp":"0000019d98294618"} 
[2026-04-17 02:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:50: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-04-17 02: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 02:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:50: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-04-17 02:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751825920001,"66":27365,"86":206,"79":20992,"24":34,"16":273677008318234624,"45":7553240288800751616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-04-17 02:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751825920001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:50:29] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-04-17 02:50:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273677008318234624,"km_value":273677008318234.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7553240288800751616,"description":"Unknown IO ID 45"} 
[2026-04-17 02:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751825920001,"power":27365,"unknown_86":206,"unknown_79":20992,"ignition":34,"odometer":null,"unknown_45":7553240288800751616}} 
[2026-04-17 02:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":45721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:50:29] local.INFO: GPS data processed {"connection_id":45721,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:50:29] local.INFO: Acknowledgment sent {"connection_id":45721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:50:44] local.INFO: TCP Data received {"connection_id":45454,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:50:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:50:44] local.INFO: Processing buffer {"connection_id":45454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:50:44] local.INFO: Packet analysis {"connection_id":45454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:50:44] local.INFO: Extracted packet for processing {"connection_id":45454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:50:44] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:50:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751737856001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:50:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:50:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:50:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:50:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776374280000,"timestamp_ms":1776374280000,"timestamp_seconds":1776374280,"priority":1,"record_length":96,"hex_timestamp":"0000019d98286f40"} 
[2026-04-17 02:50:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:50:44] 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-04-17 02:50:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 02:50:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:50:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:50:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:50:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:50:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:50:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:50:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45454,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:50:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:50:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:50:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:50:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751737856001,"66":25647,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:50:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:50:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:50:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751737856001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:50:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:50:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:50:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:50:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:50:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751737856001,"power":25647,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:50:44] local.INFO: DEBUG: GPS processor result {"connection_id":45454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18783,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:50:44] local.INFO: GPS data processed {"connection_id":45454,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:50:44] local.INFO: Acknowledgment sent {"connection_id":45454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:50:56] local.INFO: TCP Data received {"connection_id":46275,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:50:56] local.INFO: Processing buffer {"connection_id":46275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:50:56] local.INFO: IMEI packet received {"connection_id":46275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":46275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:50:57] local.INFO: TCP Data received {"connection_id":46275,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:50:57] local.INFO: Processing buffer {"connection_id":46275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:50:57] local.INFO: IMEI packet received {"connection_id":46275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":46275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:50:58] local.INFO: TCP Data received {"connection_id":46275,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98296d28012d68e680061cd9a8000600a02b..."} 
[2026-04-17 02:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98296d28012d68e680061cd9a8000600a02b..."} 
[2026-04-17 02:50:58] local.INFO: Processing buffer {"connection_id":46275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98296d28012d68e680061cd9a8000600a02b..."} 
[2026-04-17 02:50:58] local.INFO: Packet analysis {"connection_id":46275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9829"} 
[2026-04-17 02:50:58] local.INFO: Extracted packet for processing {"connection_id":46275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9829"} 
[2026-04-17 02:50:58] local.INFO: GPS Element Parsed {"raw_longitude":761849472,"raw_latitude":102554024,"longitude_deg":76.1849472,"latitude_deg":10.2554024,"altitude":6,"angle":160,"satellites":43,"speed":44,"hex_longitude":"2d68e680","hex_latitude":"061cd9a8","is_valid_coordinates":true} 
[2026-04-17 02:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751829760001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273677493649539072,"note":"Value kept but may cause issues"} 
[2026-04-17 02:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7555703194844594176,"note":"Value kept but may cause issues"} 
[2026-04-17 02:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776374345000,"timestamp_ms":1776374345000,"timestamp_seconds":1776374345,"priority":1,"record_length":96,"hex_timestamp":"0000019d98296d28"} 
[2026-04-17 02:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:50: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-04-17 02:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 02:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751829760001,"66":27463,"86":206,"79":20992,"24":44,"16":273677493649539072,"45":7555703194844594176},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-04-17 02:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751829760001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:50:58] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-04-17 02:50:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273677493649539072,"km_value":273677493649539.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7555703194844594176,"description":"Unknown IO ID 45"} 
[2026-04-17 02:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751829760001,"power":27463,"unknown_86":206,"unknown_79":20992,"ignition":44,"odometer":null,"unknown_45":7555703194844594176}} 
[2026-04-17 02:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":46275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:50:58] local.INFO: GPS data processed {"connection_id":46275,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:50:58] local.INFO: Acknowledgment sent {"connection_id":46275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:51:11] local.INFO: TCP Data received {"connection_id":46275,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98298c68012d68f400061cb7f00006009c2e..."} 
[2026-04-17 02:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98298c68012d68f400061cb7f00006009c2e..."} 
[2026-04-17 02:51:11] local.INFO: Processing buffer {"connection_id":46275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98298c68012d68f400061cb7f00006009c2e..."} 
[2026-04-17 02:51:11] local.INFO: Packet analysis {"connection_id":46275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9829"} 
[2026-04-17 02:51:11] local.INFO: Extracted packet for processing {"connection_id":46275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9829"} 
[2026-04-17 02:51:11] local.INFO: GPS Element Parsed {"raw_longitude":761852928,"raw_latitude":102545392,"longitude_deg":76.1852928,"latitude_deg":10.2545392,"altitude":6,"angle":156,"satellites":46,"speed":48,"hex_longitude":"2d68f400","hex_latitude":"061cb7f0","is_valid_coordinates":true} 
[2026-04-17 02:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751832320001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273677944621105152,"note":"Value kept but may cause issues"} 
[2026-04-17 02:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7558869788330141696,"note":"Value kept but may cause issues"} 
[2026-04-17 02:51:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,86,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776374353000,"timestamp_ms":1776374353000,"timestamp_seconds":1776374353,"priority":1,"record_length":96,"hex_timestamp":"0000019d98298c68"} 
[2026-04-17 02:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:51: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-04-17 02:51:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 02:51:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:51:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:51:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751832320001,"66":27343,"86":206,"79":20992,"24":48,"16":273677944621105152,"45":7558869788330141696},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,86,79,24,16,45]} 
[2026-04-17 02:51:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:51:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:51:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751832320001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:51:11] local.INFO: Unknown IO ID detected {"io_id":86,"value":206,"description":"Unknown IO ID 86"} 
[2026-04-17 02:51:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:51:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273677944621105152,"km_value":273677944621105.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:51:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7558869788330141696,"description":"Unknown IO ID 45"} 
[2026-04-17 02:51:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751832320001,"power":27343,"unknown_86":206,"unknown_79":20992,"ignition":48,"odometer":null,"unknown_45":7558869788330141696}} 
[2026-04-17 02:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":46275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:51:11] local.INFO: GPS data processed {"connection_id":46275,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:51:11] local.INFO: Acknowledgment sent {"connection_id":46275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:51:11] local.INFO: TCP Data received {"connection_id":45525,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:51:11] local.INFO: Processing buffer {"connection_id":45525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:51:11] local.INFO: IMEI packet received {"connection_id":45525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":45525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:51:16] local.INFO: TCP Data received {"connection_id":45525,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45525,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:51:16] local.INFO: Processing buffer {"connection_id":45525,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:51:16] local.INFO: IMEI packet received {"connection_id":45525,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":45525,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:51:16] local.INFO: TCP Data received {"connection_id":45525,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:51:16] local.INFO: Processing buffer {"connection_id":45525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:51:16] local.INFO: Packet analysis {"connection_id":45525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:51:16] local.INFO: Extracted packet for processing {"connection_id":45525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:51:16] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:51:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751737856001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:51:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:51:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:51:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:51:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776374280000,"timestamp_ms":1776374280000,"timestamp_seconds":1776374280,"priority":1,"record_length":96,"hex_timestamp":"0000019d98286f40"} 
[2026-04-17 02:51:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:51:16] 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-04-17 02:51:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 02:51:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:51:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:51:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:51:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:51:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:51:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:51:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:51:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:51:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:51:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:51:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751737856001,"66":25647,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:51:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:51:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:51:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751737856001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:51:17] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:51:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:51:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:51:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:51:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751737856001,"power":25647,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:51:17] local.INFO: DEBUG: GPS processor result {"connection_id":45525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18786,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:51:17] local.INFO: GPS data processed {"connection_id":45525,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:51:17] local.INFO: Acknowledgment sent {"connection_id":45525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:51:21] local.INFO: TCP Data received {"connection_id":45525,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:51:21] local.INFO: Processing buffer {"connection_id":45525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:51:21] local.INFO: Packet analysis {"connection_id":45525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:51:21] local.INFO: Extracted packet for processing {"connection_id":45525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:51:21] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:51:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751737856001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:51:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:51:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:51:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:51:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776374280000,"timestamp_ms":1776374280000,"timestamp_seconds":1776374280,"priority":1,"record_length":96,"hex_timestamp":"0000019d98286f40"} 
[2026-04-17 02:51:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:51:21] 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-04-17 02:51:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 02:51:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:51:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:51:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:51:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:51:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:51:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:51:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45525,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:51:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:51:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:51:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:51:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751737856001,"66":25647,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:51:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:51:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:51:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751737856001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:51:21] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:51:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:51:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:51:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:51:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751737856001,"power":25647,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:51:21] local.INFO: DEBUG: GPS processor result {"connection_id":45525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18787,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:51:21] local.INFO: GPS data processed {"connection_id":45525,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:51:21] local.INFO: Acknowledgment sent {"connection_id":45525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:51:52] local.INFO: TCP Data received {"connection_id":45455,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:51:52] local.INFO: Processing buffer {"connection_id":45455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:51:52] local.INFO: IMEI packet received {"connection_id":45455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":45455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:51:54] local.INFO: TCP Data received {"connection_id":45455,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:51:54] local.INFO: Processing buffer {"connection_id":45455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:51:54] local.INFO: IMEI packet received {"connection_id":45455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":45455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:51:57] local.INFO: TCP Data received {"connection_id":45455,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45455,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:51:57] local.INFO: Processing buffer {"connection_id":45455,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:51:57] local.INFO: IMEI packet received {"connection_id":45455,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":45455,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:51:58] local.INFO: TCP Data received {"connection_id":45455,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d982b2690012d69bf00061b25100008009b2d..."} 
[2026-04-17 02:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982b2690012d69bf00061b25100008009b2d..."} 
[2026-04-17 02:51:58] local.INFO: Processing buffer {"connection_id":45455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982b2690012d69bf00061b25100008009b2d..."} 
[2026-04-17 02:51:58] local.INFO: Packet analysis {"connection_id":45455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982b"} 
[2026-04-17 02:51:58] local.INFO: Extracted packet for processing {"connection_id":45455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982b"} 
[2026-04-17 02:51:58] local.INFO: GPS Element Parsed {"raw_longitude":761904896,"raw_latitude":102442256,"longitude_deg":76.1904896,"latitude_deg":10.2442256,"altitude":8,"angle":155,"satellites":45,"speed":38,"hex_longitude":"2d69bf00","hex_latitude":"061b2510","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751858688001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273683528078589952,"note":"Value kept but may cause issues"} 
[2026-04-17 02:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7615446258622535680,"note":"Value kept but may cause issues"} 
[2026-04-17 02:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776374458000,"timestamp_ms":1776374458000,"timestamp_seconds":1776374458,"priority":1,"record_length":96,"hex_timestamp":"0000019d982b2690"} 
[2026-04-17 02:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:51: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-04-17 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 02:51:58] 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-04-17 02: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-04-17 02:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751858688001,"66":27343,"128":206,"79":20992,"24":38,"16":273683528078589952,"45":7615446258622535680},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,79,24,16,45]} 
[2026-04-17 02:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751858688001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:51:58] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-04-17 02:51:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273683528078589952,"km_value":273683528078589.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7615446258622535680,"description":"Unknown IO ID 45"} 
[2026-04-17 02:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751858688001,"power":27343,"unknown_128":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7615446258622535680}} 
[2026-04-17 02:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":45455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18788,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:51:58] local.INFO: GPS data processed {"connection_id":45455,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:51:58] local.INFO: Acknowledgment sent {"connection_id":45455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:52:02] local.INFO: TCP Data received {"connection_id":45455,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d982b5188012d69cf80061b04880007009729..."} 
[2026-04-17 02:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982b5188012d69cf80061b04880007009729..."} 
[2026-04-17 02:52:02] local.INFO: Processing buffer {"connection_id":45455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982b5188012d69cf80061b04880007009729..."} 
[2026-04-17 02:52:02] local.INFO: Packet analysis {"connection_id":45455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982b"} 
[2026-04-17 02:52:02] local.INFO: Extracted packet for processing {"connection_id":45455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982b"} 
[2026-04-17 02:52:02] local.INFO: GPS Element Parsed {"raw_longitude":761909120,"raw_latitude":102433928,"longitude_deg":76.190912,"latitude_deg":10.2433928,"altitude":7,"angle":151,"satellites":41,"speed":19,"hex_longitude":"2d69cf80","hex_latitude":"061b0488","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751861248001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273683979050156032,"note":"Value kept but may cause issues"} 
[2026-04-17 02:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7619809120759386112,"note":"Value kept but may cause issues"} 
[2026-04-17 02:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776374469000,"timestamp_ms":1776374469000,"timestamp_seconds":1776374469,"priority":1,"record_length":96,"hex_timestamp":"0000019d982b5188"} 
[2026-04-17 02:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:52:02] 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-04-17 02: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-04-17 02:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751861248001,"66":27397,"126":206,"79":20992,"24":19,"16":273683979050156032,"45":7619809120759386112},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-04-17 02:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751861248001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:52:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-17 02:52:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273683979050156032,"km_value":273683979050156.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7619809120759386112,"description":"Unknown IO ID 45"} 
[2026-04-17 02:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751861248001,"power":27397,"unknown_126":206,"unknown_79":20992,"ignition":19,"odometer":null,"unknown_45":7619809120759386112}} 
[2026-04-17 02:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":45455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:52:02] local.INFO: GPS data processed {"connection_id":45455,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:52:02] local.INFO: Acknowledgment sent {"connection_id":45455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:52:06] local.INFO: TCP Data received {"connection_id":45722,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:52:06] local.INFO: Processing buffer {"connection_id":45722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:52:06] local.INFO: IMEI packet received {"connection_id":45722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":45722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:52:11] local.INFO: TCP Data received {"connection_id":45722,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45722,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:52:11] local.INFO: Processing buffer {"connection_id":45722,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:52:11] local.INFO: IMEI packet received {"connection_id":45722,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":45722,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:52:12] local.INFO: TCP Data received {"connection_id":45722,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:52:12] local.INFO: Processing buffer {"connection_id":45722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:52:12] local.INFO: Packet analysis {"connection_id":45722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:52:12] local.INFO: Extracted packet for processing {"connection_id":45722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:52:12] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751737856001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:52:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776374280000,"timestamp_ms":1776374280000,"timestamp_seconds":1776374280,"priority":1,"record_length":96,"hex_timestamp":"0000019d98286f40"} 
[2026-04-17 02:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:52: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-04-17 02:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 02:52:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751737856001,"66":25647,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751737856001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:52:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:52:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:52:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751737856001,"power":25647,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":45722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18790,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:52:12] local.INFO: GPS data processed {"connection_id":45722,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:52:12] local.INFO: Acknowledgment sent {"connection_id":45722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:52:40] local.INFO: TCP Data received {"connection_id":45455,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d982b93f0012d69e0c0061ae6500005009629..."} 
[2026-04-17 02:52:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982b93f0012d69e0c0061ae6500005009629..."} 
[2026-04-17 02:52:40] local.INFO: Processing buffer {"connection_id":45455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982b93f0012d69e0c0061ae6500005009629..."} 
[2026-04-17 02:52:40] local.INFO: Packet analysis {"connection_id":45455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982b"} 
[2026-04-17 02:52:40] local.INFO: Extracted packet for processing {"connection_id":45455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982b"} 
[2026-04-17 02:52:40] local.INFO: GPS Element Parsed {"raw_longitude":761913536,"raw_latitude":102426192,"longitude_deg":76.1913536,"latitude_deg":10.2426192,"altitude":5,"angle":150,"satellites":41,"speed":26,"hex_longitude":"2d69e0c0","hex_latitude":"061ae650","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:52:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751864064001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:52:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273684412841852928,"note":"Value kept but may cause issues"} 
[2026-04-17 02:52:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7624453457872979968,"note":"Value kept but may cause issues"} 
[2026-04-17 02:52:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:52:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776374486000,"timestamp_ms":1776374486000,"timestamp_seconds":1776374486,"priority":1,"record_length":96,"hex_timestamp":"0000019d982b93f0"} 
[2026-04-17 02:52:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:52: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-04-17 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 02:52:40] 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-04-17 02: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-04-17 02:52:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:52:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:52:40] local.INFO: Teltonika packet parsed successfully {"connection_id":45455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:52:40] local.INFO: Passing IMEI to GPS processor {"connection_id":45455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:52:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":45455,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:52:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:52:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:52:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:52:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751864064001,"66":27397,"126":206,"79":20992,"24":26,"16":273684412841852928,"45":7624453457872979968},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-04-17 02:52:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:52:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:52:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751864064001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:52:40] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-17 02:52:40] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:52:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273684412841852928,"km_value":273684412841852.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:52:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":7624453457872979968,"description":"Unknown IO ID 45"} 
[2026-04-17 02:52:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751864064001,"power":27397,"unknown_126":206,"unknown_79":20992,"ignition":26,"odometer":null,"unknown_45":7624453457872979968}} 
[2026-04-17 02:52:40] local.INFO: DEBUG: GPS processor result {"connection_id":45455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:52:40] local.INFO: GPS data processed {"connection_id":45455,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:52:40] local.INFO: Acknowledgment sent {"connection_id":45455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:52:44] local.INFO: TCP Data received {"connection_id":45722,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:52:44] local.INFO: Processing buffer {"connection_id":45722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98286f40012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:52:44] local.INFO: Packet analysis {"connection_id":45722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:52:44] local.INFO: Extracted packet for processing {"connection_id":45722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9828"} 
[2026-04-17 02:52:44] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751737856001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499477376188493824,"note":"Value kept but may cause issues"} 
[2026-04-17 02:52:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776374280000,"timestamp_ms":1776374280000,"timestamp_seconds":1776374280,"priority":1,"record_length":96,"hex_timestamp":"0000019d98286f40"} 
[2026-04-17 02:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:52:44] 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-04-17 02: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 02:52:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45722,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:52:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751737856001,"66":25647,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499477376188493824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:52:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:52:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:52:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751737856001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:52:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:52:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:52:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:52:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":499477376188493824,"description":"Unknown IO ID 45"} 
[2026-04-17 02:52:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751737856001,"power":25647,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499477376188493824}} 
[2026-04-17 02:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":45722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18792,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:52:44] local.INFO: GPS data processed {"connection_id":45722,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:52:44] local.INFO: Acknowledgment sent {"connection_id":45722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:52:52] local.INFO: TCP Data received {"connection_id":46276,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:52:52] local.INFO: Processing buffer {"connection_id":46276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:52:52] local.INFO: IMEI packet received {"connection_id":46276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":46276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:52:56] local.INFO: TCP Data received {"connection_id":46276,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:52:56] local.INFO: Processing buffer {"connection_id":46276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:52:56] local.INFO: IMEI packet received {"connection_id":46276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":46276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:52:57] local.INFO: TCP Data received {"connection_id":46276,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46276,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:52:57] local.INFO: Processing buffer {"connection_id":46276,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:52:57] local.INFO: IMEI packet received {"connection_id":46276,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":46276,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:52:57] local.INFO: TCP Data received {"connection_id":46276,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d982bc2d0012d69f300061ac7c00008009626..."} 
[2026-04-17 02:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982bc2d0012d69f300061ac7c00008009626..."} 
[2026-04-17 02:52:57] local.INFO: Processing buffer {"connection_id":46276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982bc2d0012d69f300061ac7c00008009626..."} 
[2026-04-17 02:52:57] local.INFO: Packet analysis {"connection_id":46276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982b"} 
[2026-04-17 02:52:57] local.INFO: Extracted packet for processing {"connection_id":46276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982b"} 
[2026-04-17 02:52:57] local.INFO: GPS Element Parsed {"raw_longitude":761918208,"raw_latitude":102418368,"longitude_deg":76.1918208,"latitude_deg":10.2418368,"altitude":8,"angle":150,"satellites":38,"speed":35,"hex_longitude":"2d69f300","hex_latitude":"061ac7c0","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751868416001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273684850928517120,"note":"Value kept but may cause issues"} 
[2026-04-17 02:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7629308901219258368,"note":"Value kept but may cause issues"} 
[2026-04-17 02:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776374498000,"timestamp_ms":1776374498000,"timestamp_seconds":1776374498,"priority":1,"record_length":96,"hex_timestamp":"0000019d982bc2d0"} 
[2026-04-17 02:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:52: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-04-17 02: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 02:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751868416001,"66":27332,"126":206,"79":20992,"24":35,"16":273684850928517120,"45":7629308901219258368},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-04-17 02:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751868416001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:52:57] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-17 02:52:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273684850928517120,"km_value":273684850928517.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7629308901219258368,"description":"Unknown IO ID 45"} 
[2026-04-17 02:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751868416001,"power":27332,"unknown_126":206,"unknown_79":20992,"ignition":35,"odometer":null,"unknown_45":7629308901219258368}} 
[2026-04-17 02:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":46276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:52:57] local.INFO: GPS data processed {"connection_id":46276,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:52:57] local.INFO: Acknowledgment sent {"connection_id":46276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:53:02] local.INFO: TCP Data received {"connection_id":46276,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d982be9e0012d6a0380061aa5480008009d2b..."} 
[2026-04-17 02:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982be9e0012d6a0380061aa5480008009d2b..."} 
[2026-04-17 02:53:02] local.INFO: Processing buffer {"connection_id":46276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982be9e0012d6a0380061aa5480008009d2b..."} 
[2026-04-17 02:53:02] local.INFO: Packet analysis {"connection_id":46276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982b"} 
[2026-04-17 02:53:02] local.INFO: Extracted packet for processing {"connection_id":46276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982b"} 
[2026-04-17 02:53:02] local.INFO: GPS Element Parsed {"raw_longitude":761922432,"raw_latitude":102409544,"longitude_deg":76.1922432,"latitude_deg":10.2409544,"altitude":8,"angle":157,"satellites":43,"speed":39,"hex_longitude":"2d6a0380","hex_latitude":"061aa548","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751871488001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273685327669886976,"note":"Value kept but may cause issues"} 
[2026-04-17 02:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7634445819542224896,"note":"Value kept but may cause issues"} 
[2026-04-17 02:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776374508000,"timestamp_ms":1776374508000,"timestamp_seconds":1776374508,"priority":1,"record_length":96,"hex_timestamp":"0000019d982be9e0"} 
[2026-04-17 02:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 02:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751871488001,"66":27245,"126":206,"79":20992,"24":39,"16":273685327669886976,"45":7634445819542224896},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-04-17 02:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751871488001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:53:02] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-17 02:53:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273685327669886976,"km_value":273685327669886.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7634445819542224896,"description":"Unknown IO ID 45"} 
[2026-04-17 02:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751871488001,"power":27245,"unknown_126":206,"unknown_79":20992,"ignition":39,"odometer":null,"unknown_45":7634445819542224896}} 
[2026-04-17 02:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":46276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:53:02] local.INFO: GPS data processed {"connection_id":46276,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:53:02] local.INFO: Acknowledgment sent {"connection_id":46276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:53:05] local.INFO: TCP Data received {"connection_id":45456,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:53:05] local.INFO: Processing buffer {"connection_id":45456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:53:05] local.INFO: IMEI packet received {"connection_id":45456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":45456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:53:11] local.INFO: TCP Data received {"connection_id":45456,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:53:11] local.INFO: Processing buffer {"connection_id":45456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:53:11] local.INFO: IMEI packet received {"connection_id":45456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":45456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:53:12] local.INFO: TCP Data received {"connection_id":45456,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:53:12] local.INFO: Processing buffer {"connection_id":45456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:53:12] local.INFO: Packet analysis {"connection_id":45456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982d"} 
[2026-04-17 02:53:12] local.INFO: Extracted packet for processing {"connection_id":45456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982d"} 
[2026-04-17 02:53:12] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751815680001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 02:53:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776374581000,"timestamp_ms":1776374581000,"timestamp_seconds":1776374581,"priority":1,"record_length":96,"hex_timestamp":"0000019d982d0708"} 
[2026-04-17 02:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:53: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-04-17 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 02:53:12] 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-04-17 02: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-04-17 02:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751815680001,"66":25321,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751815680001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:53:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:53:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 02:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751815680001,"power":25321,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 02:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":45456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18795,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:53:12] local.INFO: GPS data processed {"connection_id":45456,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:53:12] local.INFO: Acknowledgment sent {"connection_id":45456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:53:33] local.INFO: TCP Data received {"connection_id":46276,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d982c14d8012d6a1080061a8250000700a02e..."} 
[2026-04-17 02:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46276,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982c14d8012d6a1080061a8250000700a02e..."} 
[2026-04-17 02:53:33] local.INFO: Processing buffer {"connection_id":46276,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982c14d8012d6a1080061a8250000700a02e..."} 
[2026-04-17 02:53:33] local.INFO: Packet analysis {"connection_id":46276,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982c"} 
[2026-04-17 02:53:33] local.INFO: Extracted packet for processing {"connection_id":46276,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982c"} 
[2026-04-17 02:53:33] local.INFO: GPS Element Parsed {"raw_longitude":761925760,"raw_latitude":102400592,"longitude_deg":76.192576,"latitude_deg":10.2400592,"altitude":7,"angle":160,"satellites":46,"speed":33,"hex_longitude":"2d6a1080","hex_latitude":"061a8250","is_valid_coordinates":true} 
[2026-04-17 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-04-17 02:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751874048001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273685787231387648,"note":"Value kept but may cause issues"} 
[2026-04-17 02:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7639090156655691776,"note":"Value kept but may cause issues"} 
[2026-04-17 02:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776374519000,"timestamp_ms":1776374519000,"timestamp_seconds":1776374519,"priority":1,"record_length":96,"hex_timestamp":"0000019d982c14d8"} 
[2026-04-17 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-04-17 02:53: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-04-17 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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-17 02:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 02:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46276,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46276,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751874048001,"66":27267,"126":206,"79":20992,"24":33,"16":273685787231387648,"45":7639090156655691776},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-04-17 02:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751874048001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:53:33] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-17 02:53:33] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273685787231387648,"km_value":273685787231387.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7639090156655691776,"description":"Unknown IO ID 45"} 
[2026-04-17 02:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751874048001,"power":27267,"unknown_126":206,"unknown_79":20992,"ignition":33,"odometer":null,"unknown_45":7639090156655691776}} 
[2026-04-17 02:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":46276,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:53:33] local.INFO: GPS data processed {"connection_id":46276,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:53:33] local.INFO: Acknowledgment sent {"connection_id":46276,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:53:44] local.INFO: TCP Data received {"connection_id":45456,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:53:44] local.INFO: Processing buffer {"connection_id":45456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:53:44] local.INFO: Packet analysis {"connection_id":45456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982d"} 
[2026-04-17 02:53:44] local.INFO: Extracted packet for processing {"connection_id":45456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982d"} 
[2026-04-17 02:53:44] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751815680001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 02:53:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776374581000,"timestamp_ms":1776374581000,"timestamp_seconds":1776374581,"priority":1,"record_length":96,"hex_timestamp":"0000019d982d0708"} 
[2026-04-17 02:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:53:44] 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-04-17 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 02:53:44] 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-04-17 02: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-04-17 02:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751815680001,"66":25321,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751815680001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:53:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:53:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 02:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751815680001,"power":25321,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 02:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":45456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18797,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:53:44] local.INFO: GPS data processed {"connection_id":45456,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:53:44] local.INFO: Acknowledgment sent {"connection_id":45456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:53:55] local.INFO: TCP Data received {"connection_id":45457,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:53:55] local.INFO: Processing buffer {"connection_id":45457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:53:55] local.INFO: IMEI packet received {"connection_id":45457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":45457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:53:57] local.INFO: TCP Data received {"connection_id":45457,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:53:57] local.INFO: Processing buffer {"connection_id":45457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:53:57] local.INFO: IMEI packet received {"connection_id":45457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":45457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:54:02] local.INFO: TCP Data received {"connection_id":45457,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:54:02] local.INFO: Processing buffer {"connection_id":45457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:54:02] local.INFO: IMEI packet received {"connection_id":45457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:54:02] local.INFO: IMEI acknowledgment sent {"connection_id":45457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:54:03] local.INFO: TCP Data received {"connection_id":45457,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d982c3be8012d6a1c00061a61880005009f2e..."} 
[2026-04-17 02:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982c3be8012d6a1c00061a61880005009f2e..."} 
[2026-04-17 02:54:03] local.INFO: Processing buffer {"connection_id":45457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982c3be8012d6a1c00061a61880005009f2e..."} 
[2026-04-17 02:54:03] local.INFO: Packet analysis {"connection_id":45457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982c"} 
[2026-04-17 02:54:03] local.INFO: Extracted packet for processing {"connection_id":45457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982c"} 
[2026-04-17 02:54:03] local.INFO: GPS Element Parsed {"raw_longitude":761928704,"raw_latitude":102392200,"longitude_deg":76.1928704,"latitude_deg":10.23922,"altitude":5,"angle":159,"satellites":46,"speed":38,"hex_longitude":"2d6a1c00","hex_latitude":"061a6188","is_valid_coordinates":true} 
[2026-04-17 02:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751876864001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273686216728117248,"note":"Value kept but may cause issues"} 
[2026-04-17 02:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7642749331350638592,"note":"Value kept but may cause issues"} 
[2026-04-17 02:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776374529000,"timestamp_ms":1776374529000,"timestamp_seconds":1776374529,"priority":1,"record_length":96,"hex_timestamp":"0000019d982c3be8"} 
[2026-04-17 02:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 02:54:03] 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-04-17 02:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:54:03] 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-04-17 02:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751876864001,"66":27397,"126":206,"79":20992,"24":38,"16":273686216728117248,"45":7642749331350638592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-04-17 02:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751876864001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:54:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-17 02:54:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273686216728117248,"km_value":273686216728117.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7642749331350638592,"description":"Unknown IO ID 45"} 
[2026-04-17 02:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751876864001,"power":27397,"unknown_126":206,"unknown_79":20992,"ignition":38,"odometer":null,"unknown_45":7642749331350638592}} 
[2026-04-17 02:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":45457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:54:03] local.INFO: GPS data processed {"connection_id":45457,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:54:03] local.INFO: Acknowledgment sent {"connection_id":45457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:54:03] local.INFO: TCP Data received {"connection_id":45457,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d982c5f10012d6a2800061a4018000600a02c..."} 
[2026-04-17 02:54:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982c5f10012d6a2800061a4018000600a02c..."} 
[2026-04-17 02:54:03] local.INFO: Processing buffer {"connection_id":45457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982c5f10012d6a2800061a4018000600a02c..."} 
[2026-04-17 02:54:03] local.INFO: Packet analysis {"connection_id":45457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982c"} 
[2026-04-17 02:54:03] local.INFO: Extracted packet for processing {"connection_id":45457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982c"} 
[2026-04-17 02:54:03] local.INFO: GPS Element Parsed {"raw_longitude":761931776,"raw_latitude":102383640,"longitude_deg":76.1931776,"latitude_deg":10.238364,"altitude":6,"angle":160,"satellites":44,"speed":39,"hex_longitude":"2d6a2800","hex_latitude":"061a4018","is_valid_coordinates":true} 
[2026-04-17 02:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:54:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751879424001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:54:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273686659109748736,"note":"Value kept but may cause issues"} 
[2026-04-17 02:54:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7645986293580662784,"note":"Value kept but may cause issues"} 
[2026-04-17 02:54:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:54:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776374538000,"timestamp_ms":1776374538000,"timestamp_seconds":1776374538,"priority":1,"record_length":96,"hex_timestamp":"0000019d982c5f10"} 
[2026-04-17 02:54:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:54:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:54:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 02:54:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:54:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:54:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:54:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:54:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:54:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:54:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:54:03] 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-04-17 02:54:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:54:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:54:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751879424001,"66":27332,"126":206,"79":20992,"24":39,"16":273686659109748736,"45":7645986293580662784},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,79,24,16,45]} 
[2026-04-17 02:54:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:54:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:54:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751879424001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:54:03] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-17 02:54:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:54:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273686659109748736,"km_value":273686659109748.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:54:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7645986293580662784,"description":"Unknown IO ID 45"} 
[2026-04-17 02:54:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751879424001,"power":27332,"unknown_126":206,"unknown_79":20992,"ignition":39,"odometer":null,"unknown_45":7645986293580662784}} 
[2026-04-17 02:54:03] local.INFO: DEBUG: GPS processor result {"connection_id":45457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:54:03] local.INFO: GPS data processed {"connection_id":45457,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:54:03] local.INFO: Acknowledgment sent {"connection_id":45457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:54:05] local.INFO: TCP Data received {"connection_id":45723,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:54:05] local.INFO: Processing buffer {"connection_id":45723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:54:05] local.INFO: IMEI packet received {"connection_id":45723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":45723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:54:11] local.INFO: TCP Data received {"connection_id":45723,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45723,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:54:11] local.INFO: Processing buffer {"connection_id":45723,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:54:11] local.INFO: IMEI packet received {"connection_id":45723,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":45723,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:54:12] local.INFO: TCP Data received {"connection_id":45723,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:54:12] local.INFO: Processing buffer {"connection_id":45723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:54:12] local.INFO: Packet analysis {"connection_id":45723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982d"} 
[2026-04-17 02:54:12] local.INFO: Extracted packet for processing {"connection_id":45723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982d"} 
[2026-04-17 02:54:12] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751815680001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 02:54:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776374581000,"timestamp_ms":1776374581000,"timestamp_seconds":1776374581,"priority":1,"record_length":96,"hex_timestamp":"0000019d982d0708"} 
[2026-04-17 02:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:54: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-04-17 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 02:54:12] 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-04-17 02: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-04-17 02:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751815680001,"66":25321,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751815680001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:54:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:54:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 02:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751815680001,"power":25321,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 02:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":45723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18800,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:54:12] local.INFO: GPS data processed {"connection_id":45723,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:54:12] local.INFO: Acknowledgment sent {"connection_id":45723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:54:37] local.INFO: TCP Data received {"connection_id":45457,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d982e10a8012d6a8c000618ac98000500ac2e..."} 
[2026-04-17 02:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982e10a8012d6a8c000618ac98000500ac2e..."} 
[2026-04-17 02:54:37] local.INFO: Processing buffer {"connection_id":45457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982e10a8012d6a8c000618ac98000500ac2e..."} 
[2026-04-17 02:54:37] local.INFO: Packet analysis {"connection_id":45457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982e"} 
[2026-04-17 02:54:37] local.INFO: Extracted packet for processing {"connection_id":45457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982e"} 
[2026-04-17 02:54:37] local.INFO: GPS Element Parsed {"raw_longitude":761957376,"raw_latitude":102280344,"longitude_deg":76.1957376,"latitude_deg":10.2280344,"altitude":5,"angle":172,"satellites":46,"speed":45,"hex_longitude":"2d6a8c00","hex_latitude":"0618ac98","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751908096001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273691856020176896,"note":"Value kept but may cause issues"} 
[2026-04-17 02:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7676596697271613440,"note":"Value kept but may cause issues"} 
[2026-04-17 02:54:37] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,16,79,24,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 02:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776374649000,"timestamp_ms":1776374649000,"timestamp_seconds":1776374649,"priority":1,"record_length":96,"hex_timestamp":"0000019d982e10a8"} 
[2026-04-17 02:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:54:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 02:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":45457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":45457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":45457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:54:37] 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-04-17 02:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751908096001,"66":27213,"16":273691856020176896,"79":20992,"24":45,"45":7676596697271613440},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,16,79,24,45]} 
[2026-04-17 02:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751908096001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273691856020176896,"km_value":273691856020176.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:54:37] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":7676596697271613440,"description":"Unknown IO ID 45"} 
[2026-04-17 02:54:37] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454751908096001,"power":27213,"odometer":null,"unknown_79":20992,"ignition":45,"unknown_45":7676596697271613440}} 
[2026-04-17 02:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":45457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:54:37] local.INFO: GPS data processed {"connection_id":45457,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:54:37] local.INFO: Acknowledgment sent {"connection_id":45457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:54:44] local.INFO: TCP Data received {"connection_id":45723,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:54:44] local.INFO: Processing buffer {"connection_id":45723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:54:44] local.INFO: Packet analysis {"connection_id":45723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982d"} 
[2026-04-17 02:54:44] local.INFO: Extracted packet for processing {"connection_id":45723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982d"} 
[2026-04-17 02:54:44] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751815680001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 02:54:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776374581000,"timestamp_ms":1776374581000,"timestamp_seconds":1776374581,"priority":1,"record_length":96,"hex_timestamp":"0000019d982d0708"} 
[2026-04-17 02:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:54:44] 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-04-17 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 02:54:44] 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-04-17 02: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-04-17 02:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45723,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751815680001,"66":25321,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751815680001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:54:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:54:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 02:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751815680001,"power":25321,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 02:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":45723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18802,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:54:44] local.INFO: GPS data processed {"connection_id":45723,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:54:44] local.INFO: Acknowledgment sent {"connection_id":45723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:54:52] local.INFO: TCP Data received {"connection_id":46277,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:54:52] local.INFO: Processing buffer {"connection_id":46277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:54:52] local.INFO: IMEI packet received {"connection_id":46277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":46277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:54:57] local.INFO: TCP Data received {"connection_id":46277,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:54:57] local.INFO: Processing buffer {"connection_id":46277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:54:57] local.INFO: IMEI packet received {"connection_id":46277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":46277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:54:58] local.INFO: TCP Data received {"connection_id":46277,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d982e33d0012d6a91c006188910000500ab2c..."} 
[2026-04-17 02:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982e33d0012d6a91c006188910000500ab2c..."} 
[2026-04-17 02:54:58] local.INFO: Processing buffer {"connection_id":46277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982e33d0012d6a91c006188910000500ab2c..."} 
[2026-04-17 02:54:58] local.INFO: Packet analysis {"connection_id":46277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982e"} 
[2026-04-17 02:54:58] local.INFO: Extracted packet for processing {"connection_id":46277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982e"} 
[2026-04-17 02:54:58] local.INFO: GPS Element Parsed {"raw_longitude":761958848,"raw_latitude":102271248,"longitude_deg":76.1958848,"latitude_deg":10.2271248,"altitude":5,"angle":171,"satellites":44,"speed":39,"hex_longitude":"2d6a91c0","hex_latitude":"06188910","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751910144001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273692302696775680,"note":"Value kept but may cause issues"} 
[2026-04-17 02:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7677511490943621120,"note":"Value kept but may cause issues"} 
[2026-04-17 02:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776374658000,"timestamp_ms":1776374658000,"timestamp_seconds":1776374658,"priority":1,"record_length":96,"hex_timestamp":"0000019d982e33d0"} 
[2026-04-17 02:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:54: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-04-17 02: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-17 02:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751910144001,"66":27310,"20":206,"79":20992,"24":39,"16":273692302696775680,"45":7677511490943621120},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,79,24,16,45]} 
[2026-04-17 02:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751910144001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:54:58] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-04-17 02:54:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273692302696775680,"km_value":273692302696775.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7677511490943621120,"description":"Unknown IO ID 45"} 
[2026-04-17 02:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751910144001,"power":27310,"unknown_20":206,"unknown_79":20992,"ignition":39,"odometer":null,"unknown_45":7677511490943621120}} 
[2026-04-17 02:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":46277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:54:58] local.INFO: GPS data processed {"connection_id":46277,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:54:58] local.INFO: Acknowledgment sent {"connection_id":46277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:55:05] local.INFO: TCP Data received {"connection_id":45724,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:55:05] local.INFO: Processing buffer {"connection_id":45724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:55:05] local.INFO: IMEI packet received {"connection_id":45724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":45724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:55:11] local.INFO: TCP Data received {"connection_id":45724,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:55:11] local.INFO: Processing buffer {"connection_id":45724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:55:11] local.INFO: IMEI packet received {"connection_id":45724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":45724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:55:12] local.INFO: TCP Data received {"connection_id":45724,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:55:12] local.INFO: Processing buffer {"connection_id":45724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:55:12] local.INFO: Packet analysis {"connection_id":45724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982d"} 
[2026-04-17 02:55:12] local.INFO: Extracted packet for processing {"connection_id":45724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982d"} 
[2026-04-17 02:55:12] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751815680001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 02:55:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776374581000,"timestamp_ms":1776374581000,"timestamp_seconds":1776374581,"priority":1,"record_length":96,"hex_timestamp":"0000019d982d0708"} 
[2026-04-17 02:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:55: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-04-17 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 02:55:12] 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-04-17 02: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-04-17 02:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751815680001,"66":25321,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751815680001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:55:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:55:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 02:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751815680001,"power":25321,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 02:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":45724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18804,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:55:12] local.INFO: GPS data processed {"connection_id":45724,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:55:12] local.INFO: Acknowledgment sent {"connection_id":45724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:55:29] local.INFO: TCP Data received {"connection_id":46277,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d982e5ec8012d6a964006186b80000400b82e..."} 
[2026-04-17 02:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982e5ec8012d6a964006186b80000400b82e..."} 
[2026-04-17 02:55:29] local.INFO: Processing buffer {"connection_id":46277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982e5ec8012d6a964006186b80000400b82e..."} 
[2026-04-17 02:55:29] local.INFO: Packet analysis {"connection_id":46277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982e"} 
[2026-04-17 02:55:29] local.INFO: Extracted packet for processing {"connection_id":46277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982e"} 
[2026-04-17 02:55:29] local.INFO: GPS Element Parsed {"raw_longitude":761960000,"raw_latitude":102263680,"longitude_deg":76.196,"latitude_deg":10.226368,"altitude":4,"angle":184,"satellites":46,"speed":18,"hex_longitude":"2d6a9640","hex_latitude":"06186b80","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751912448001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273692676358930432,"note":"Value kept but may cause issues"} 
[2026-04-17 02:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7679129972057378816,"note":"Value kept but may cause issues"} 
[2026-04-17 02:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776374669000,"timestamp_ms":1776374669000,"timestamp_seconds":1776374669,"priority":1,"record_length":96,"hex_timestamp":"0000019d982e5ec8"} 
[2026-04-17 02:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:55: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-04-17 02: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 02:55:29] 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-04-17 02: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-04-17 02:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:55: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-04-17 02:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751912448001,"66":27463,"20":206,"79":20992,"24":18,"16":273692676358930432,"45":7679129972057378816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,79,24,16,45]} 
[2026-04-17 02:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751912448001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:55:29] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-04-17 02:55:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273692676358930432,"km_value":273692676358930.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7679129972057378816,"description":"Unknown IO ID 45"} 
[2026-04-17 02:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751912448001,"power":27463,"unknown_20":206,"unknown_79":20992,"ignition":18,"odometer":null,"unknown_45":7679129972057378816}} 
[2026-04-17 02:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":46277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18805,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:55:29] local.INFO: GPS data processed {"connection_id":46277,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:55:29] local.INFO: Acknowledgment sent {"connection_id":46277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:55:44] local.INFO: TCP Data received {"connection_id":45724,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:55:44] local.INFO: Processing buffer {"connection_id":45724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:55:44] local.INFO: Packet analysis {"connection_id":45724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982d"} 
[2026-04-17 02:55:44] local.INFO: Extracted packet for processing {"connection_id":45724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982d"} 
[2026-04-17 02:55:44] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751815680001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 02:55:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776374581000,"timestamp_ms":1776374581000,"timestamp_seconds":1776374581,"priority":1,"record_length":96,"hex_timestamp":"0000019d982d0708"} 
[2026-04-17 02:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:55:44] 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-04-17 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 02:55:44] 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-04-17 02: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-04-17 02:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751815680001,"66":25321,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751815680001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:55:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:55:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 02:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751815680001,"power":25321,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 02:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":45724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18806,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:55:44] local.INFO: GPS data processed {"connection_id":45724,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:55:44] local.INFO: Acknowledgment sent {"connection_id":45724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:55:50] local.INFO: TCP Data received {"connection_id":45458,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:55:50] local.INFO: Processing buffer {"connection_id":45458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:55:50] local.INFO: IMEI packet received {"connection_id":45458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":45458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:55:52] local.INFO: TCP Data received {"connection_id":45458,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:55:52] local.INFO: Processing buffer {"connection_id":45458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:55:52] local.INFO: IMEI packet received {"connection_id":45458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":45458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:55:57] local.INFO: TCP Data received {"connection_id":45458,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45458,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:55:57] local.INFO: Processing buffer {"connection_id":45458,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:55:57] local.INFO: IMEI packet received {"connection_id":45458,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":45458,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:55:58] local.INFO: TCP Data received {"connection_id":45458,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d982e85d8012d6a948006185a98000600ac2f..."} 
[2026-04-17 02:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982e85d8012d6a948006185a98000600ac2f..."} 
[2026-04-17 02:55:58] local.INFO: Processing buffer {"connection_id":45458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982e85d8012d6a948006185a98000600ac2f..."} 
[2026-04-17 02:55:58] local.INFO: Packet analysis {"connection_id":45458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982e"} 
[2026-04-17 02:55:58] local.INFO: Extracted packet for processing {"connection_id":45458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982e"} 
[2026-04-17 02:55:58] local.INFO: GPS Element Parsed {"raw_longitude":761959552,"raw_latitude":102259352,"longitude_deg":76.1959552,"latitude_deg":10.2259352,"altitude":6,"angle":172,"satellites":47,"speed":16,"hex_longitude":"2d6a9480","hex_latitude":"06185a98","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751915264001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273692886812327936,"note":"Value kept but may cause issues"} 
[2026-04-17 02:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7680396609450639360,"note":"Value kept but may cause issues"} 
[2026-04-17 02:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776374679000,"timestamp_ms":1776374679000,"timestamp_seconds":1776374679,"priority":1,"record_length":96,"hex_timestamp":"0000019d982e85d8"} 
[2026-04-17 02:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:55: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-04-17 02: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 02:55:58] 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-04-17 02: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-04-17 02:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751915264001,"66":27332,"2":206,"79":20992,"24":16,"16":273692886812327936,"45":7680396609450639360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,79,24,16,45]} 
[2026-04-17 02:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751915264001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:55:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273692886812327936,"km_value":273692886812327.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7680396609450639360,"description":"Unknown IO ID 45"} 
[2026-04-17 02:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751915264001,"power":27332,"power_alt":206,"unknown_79":20992,"ignition":16,"odometer":null,"unknown_45":7680396609450639360}} 
[2026-04-17 02:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":45458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:55:58] local.INFO: GPS data processed {"connection_id":45458,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:55:58] local.INFO: Acknowledgment sent {"connection_id":45458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:56:11] local.INFO: TCP Data received {"connection_id":45526,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:56:11] local.INFO: Processing buffer {"connection_id":45526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:56:11] local.INFO: IMEI packet received {"connection_id":45526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":45526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:56:16] local.INFO: TCP Data received {"connection_id":45526,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:56:16] local.INFO: Processing buffer {"connection_id":45526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:56:16] local.INFO: IMEI packet received {"connection_id":45526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":45526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:56:17] local.INFO: TCP Data received {"connection_id":45526,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:56:17] local.INFO: Processing buffer {"connection_id":45526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:56:17] local.INFO: Packet analysis {"connection_id":45526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982d"} 
[2026-04-17 02:56:17] local.INFO: Extracted packet for processing {"connection_id":45526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982d"} 
[2026-04-17 02:56:17] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:56:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751815680001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:56:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:56:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 02:56:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:56:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776374581000,"timestamp_ms":1776374581000,"timestamp_seconds":1776374581,"priority":1,"record_length":96,"hex_timestamp":"0000019d982d0708"} 
[2026-04-17 02:56:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:56:17] 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-04-17 02:56:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 02:56:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:56:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:56:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:56:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:56:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45526,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:56:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45526,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:56:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:56:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:56:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:56:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751815680001,"66":25321,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:56:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:56:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:56:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751815680001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:56:17] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:56:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:56:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:56:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 02:56:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751815680001,"power":25321,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 02:56:17] local.INFO: DEBUG: GPS processor result {"connection_id":45526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18808,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:56:17] local.INFO: GPS data processed {"connection_id":45526,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:56:17] local.INFO: Acknowledgment sent {"connection_id":45526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:56:22] local.INFO: TCP Data received {"connection_id":45526,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:56:22] local.INFO: Processing buffer {"connection_id":45526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982d0708012d06ef8006fd0f88000b008233..."} 
[2026-04-17 02:56:22] local.INFO: Packet analysis {"connection_id":45526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982d"} 
[2026-04-17 02:56:22] local.INFO: Extracted packet for processing {"connection_id":45526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982d"} 
[2026-04-17 02:56:22] local.INFO: GPS Element Parsed {"raw_longitude":755429248,"raw_latitude":117247880,"longitude_deg":75.5429248,"latitude_deg":11.724788,"altitude":11,"angle":130,"satellites":51,"speed":0,"hex_longitude":"2d06ef80","hex_latitude":"06fd0f88","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751815680001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 02:56:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776374581000,"timestamp_ms":1776374581000,"timestamp_seconds":1776374581,"priority":1,"record_length":96,"hex_timestamp":"0000019d982d0708"} 
[2026-04-17 02:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:56:22] 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-04-17 02: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 02:56:22] 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-04-17 02: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-04-17 02:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45526,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45526,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751815680001,"66":25321,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751815680001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:56:22] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:56:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 02:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751815680001,"power":25321,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 02:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":45526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18809,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:56:22] local.INFO: GPS data processed {"connection_id":45526,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:56:22] local.INFO: Acknowledgment sent {"connection_id":45526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:56:29] local.INFO: TCP Data received {"connection_id":45458,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d982e9d48012d6a958006185220000600bb2f..."} 
[2026-04-17 02:56:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d982e9d48012d6a958006185220000600bb2f..."} 
[2026-04-17 02:56:29] local.INFO: Processing buffer {"connection_id":45458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d982e9d48012d6a958006185220000600bb2f..."} 
[2026-04-17 02:56:29] local.INFO: Packet analysis {"connection_id":45458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d982e"} 
[2026-04-17 02:56:29] local.INFO: Extracted packet for processing {"connection_id":45458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d982e"} 
[2026-04-17 02:56:29] local.INFO: GPS Element Parsed {"raw_longitude":761959808,"raw_latitude":102257184,"longitude_deg":76.1959808,"latitude_deg":10.2257184,"altitude":6,"angle":187,"satellites":47,"speed":13,"hex_longitude":"2d6a9580","hex_latitude":"06185220","is_valid_coordinates":true} 
[2026-04-17 02:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:56:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751917824001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:56:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273692994186510336,"note":"Value kept but may cause issues"} 
[2026-04-17 02:56:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7679904028240287744,"note":"Value kept but may cause issues"} 
[2026-04-17 02:56:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:56:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776374685000,"timestamp_ms":1776374685000,"timestamp_seconds":1776374685,"priority":1,"record_length":96,"hex_timestamp":"0000019d982e9d48"} 
[2026-04-17 02:56:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:56: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-04-17 02:56:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 02:56:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:56:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:56:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:56:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:56:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:56:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:56:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45458,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:56: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-04-17 02:56:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:56:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751917824001,"66":27267,"2":206,"79":20992,"24":13,"16":273692994186510336,"45":7679904028240287744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,79,24,16,45]} 
[2026-04-17 02:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751917824001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:56:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273692994186510336,"km_value":273692994186510.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7679904028240287744,"description":"Unknown IO ID 45"} 
[2026-04-17 02:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751917824001,"power":27267,"power_alt":206,"unknown_79":20992,"ignition":13,"odometer":null,"unknown_45":7679904028240287744}} 
[2026-04-17 02:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":45458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:56:29] local.INFO: GPS data processed {"connection_id":45458,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:56:29] local.INFO: Acknowledgment sent {"connection_id":45458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:56:52] local.INFO: TCP Data received {"connection_id":45459,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:56:52] local.INFO: Processing buffer {"connection_id":45459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:56:52] local.INFO: IMEI packet received {"connection_id":45459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":45459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:56:54] local.INFO: TCP Data received {"connection_id":45459,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:56:54] local.INFO: Processing buffer {"connection_id":45459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:56:54] local.INFO: IMEI packet received {"connection_id":45459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":45459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:56:54] local.INFO: TCP Data received {"connection_id":45459,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98302000012d6acac00616c390000900a030..."} 
[2026-04-17 02:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98302000012d6acac00616c390000900a030..."} 
[2026-04-17 02:56:54] local.INFO: Processing buffer {"connection_id":45459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98302000012d6acac00616c390000900a030..."} 
[2026-04-17 02:56:54] local.INFO: Packet analysis {"connection_id":45459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:56:54] local.INFO: Extracted packet for processing {"connection_id":45459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:56:54] local.INFO: GPS Element Parsed {"raw_longitude":761973440,"raw_latitude":102155152,"longitude_deg":76.197344,"latitude_deg":10.2155152,"altitude":9,"angle":160,"satellites":48,"speed":56,"hex_longitude":"2d6acac0","hex_latitude":"0616c390","is_valid_coordinates":true} 
[2026-04-17 02:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:56:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751942912001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:56:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273698040773083136,"note":"Value kept but may cause issues"} 
[2026-04-17 02:56:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7691022289796141056,"note":"Value kept but may cause issues"} 
[2026-04-17 02:56:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:56:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776374784000,"timestamp_ms":1776374784000,"timestamp_seconds":1776374784,"priority":1,"record_length":96,"hex_timestamp":"0000019d98302000"} 
[2026-04-17 02:56:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:56: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-04-17 02:56:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 02:56:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:56:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:56:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:56:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:56:54] local.INFO: Teltonika packet parsed successfully {"connection_id":45459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:56:54] local.INFO: Passing IMEI to GPS processor {"connection_id":45459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:56:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":45459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:56:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:56:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:56:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:56:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751942912001,"66":27376,"249":206,"79":20992,"24":56,"16":273698040773083136,"45":7691022289796141056},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,79,24,16,45]} 
[2026-04-17 02:56:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:56:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:56:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751942912001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:56:54] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-17 02:56:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:56:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273698040773083136,"km_value":273698040773083.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:56:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":7691022289796141056,"description":"Unknown IO ID 45"} 
[2026-04-17 02:56:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751942912001,"power":27376,"unknown_249":206,"unknown_79":20992,"ignition":56,"odometer":null,"unknown_45":7691022289796141056}} 
[2026-04-17 02:56:54] local.INFO: DEBUG: GPS processor result {"connection_id":45459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:56:54] local.INFO: GPS data processed {"connection_id":45459,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:56:54] local.INFO: Acknowledgment sent {"connection_id":45459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:57:06] local.INFO: TCP Data received {"connection_id":46278,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:57:06] local.INFO: Processing buffer {"connection_id":46278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:57:06] local.INFO: IMEI packet received {"connection_id":46278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":46278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:57:09] local.INFO: TCP Data received {"connection_id":46278,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:57:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:57:09] local.INFO: Processing buffer {"connection_id":46278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:57:09] local.INFO: IMEI packet received {"connection_id":46278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:57:09] local.INFO: IMEI acknowledgment sent {"connection_id":46278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:57:10] local.INFO: TCP Data received {"connection_id":46278,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 02:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 02:57:10] local.INFO: Processing buffer {"connection_id":46278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 02:57:10] local.INFO: Packet analysis {"connection_id":46278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:57:10] local.INFO: Extracted packet for processing {"connection_id":46278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:57:10] local.INFO: GPS Element Parsed {"raw_longitude":755432640,"raw_latitude":117245272,"longitude_deg":75.543264,"latitude_deg":11.7245272,"altitude":11,"angle":286,"satellites":50,"speed":0,"hex_longitude":"2d06fcc0","hex_latitude":"06fd0558","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:57:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751892736001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:57:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:57:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 02:57:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:57:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776374827000,"timestamp_ms":1776374827000,"timestamp_seconds":1776374827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9830c7f8"} 
[2026-04-17 02:57:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:57:10] 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-04-17 02:57:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 02:57:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:57:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:57:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:57:10] local.INFO: Teltonika packet parsed successfully {"connection_id":46278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:57:10] local.INFO: Passing IMEI to GPS processor {"connection_id":46278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:57:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":46278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:57:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:57:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:57:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:57:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751892736001,"66":25223,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:57:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:57:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:57:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751892736001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:57:10] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:57:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:57:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:57:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 02:57:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751892736001,"power":25223,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 02:57:10] local.INFO: DEBUG: GPS processor result {"connection_id":46278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18812,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:57:10] local.INFO: GPS data processed {"connection_id":46278,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:57:10] local.INFO: Acknowledgment sent {"connection_id":46278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:57:25] local.INFO: TCP Data received {"connection_id":45459,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98303b58012d6ad78006169f90000a00a130..."} 
[2026-04-17 02:57:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98303b58012d6ad78006169f90000a00a130..."} 
[2026-04-17 02:57:25] local.INFO: Processing buffer {"connection_id":45459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98303b58012d6ad78006169f90000a00a130..."} 
[2026-04-17 02:57:25] local.INFO: Packet analysis {"connection_id":45459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:57:25] local.INFO: Extracted packet for processing {"connection_id":45459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:57:25] local.INFO: GPS Element Parsed {"raw_longitude":761976704,"raw_latitude":102145936,"longitude_deg":76.1976704,"latitude_deg":10.2145936,"altitude":10,"angle":161,"satellites":48,"speed":54,"hex_longitude":"2d6ad780","hex_latitude":"06169f90","is_valid_coordinates":true} 
[2026-04-17 02:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:57:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751944704001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:57:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273698513219485696,"note":"Value kept but may cause issues"} 
[2026-04-17 02:57:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7695174045700165632,"note":"Value kept but may cause issues"} 
[2026-04-17 02:57:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:57:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776374791000,"timestamp_ms":1776374791000,"timestamp_seconds":1776374791,"priority":1,"record_length":96,"hex_timestamp":"0000019d98303b58"} 
[2026-04-17 02:57:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:57:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02:57:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 02:57:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:57:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:57:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:57:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:57:25] local.INFO: Teltonika packet parsed successfully {"connection_id":45459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:57:25] local.INFO: Passing IMEI to GPS processor {"connection_id":45459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:57:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":45459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:57:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:57:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:57:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:57:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751944704001,"66":27343,"249":206,"79":20992,"24":54,"16":273698513219485696,"45":7695174045700165632},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,79,24,16,45]} 
[2026-04-17 02:57:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:57:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:57:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751944704001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:57:25] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-17 02:57:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:57:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273698513219485696,"km_value":273698513219485.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:57:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":7695174045700165632,"description":"Unknown IO ID 45"} 
[2026-04-17 02:57:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751944704001,"power":27343,"unknown_249":206,"unknown_79":20992,"ignition":54,"odometer":null,"unknown_45":7695174045700165632}} 
[2026-04-17 02:57:25] local.INFO: DEBUG: GPS processor result {"connection_id":45459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:57:25] local.INFO: GPS data processed {"connection_id":45459,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:57:25] local.INFO: Acknowledgment sent {"connection_id":45459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:57:42] local.INFO: TCP Data received {"connection_id":46278,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 02:57:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 02:57:42] local.INFO: Processing buffer {"connection_id":46278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 02:57:42] local.INFO: Packet analysis {"connection_id":46278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:57:42] local.INFO: Extracted packet for processing {"connection_id":46278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:57:42] local.INFO: GPS Element Parsed {"raw_longitude":755432640,"raw_latitude":117245272,"longitude_deg":75.543264,"latitude_deg":11.7245272,"altitude":11,"angle":286,"satellites":50,"speed":0,"hex_longitude":"2d06fcc0","hex_latitude":"06fd0558","is_valid_coordinates":true} 
[2026-04-17 02:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:57:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751892736001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:57:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:57:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 02:57:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:57:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776374827000,"timestamp_ms":1776374827000,"timestamp_seconds":1776374827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9830c7f8"} 
[2026-04-17 02:57:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:57:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 02:57:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 02:57:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:57:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:57:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:57:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:57:42] local.INFO: Teltonika packet parsed successfully {"connection_id":46278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:57:42] local.INFO: Passing IMEI to GPS processor {"connection_id":46278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:57:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":46278,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:57:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:57:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:57:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:57:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751892736001,"66":25223,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:57:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:57:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:57:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751892736001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:57:42] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:57:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:57:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:57:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 02:57:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751892736001,"power":25223,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 02:57:42] local.INFO: DEBUG: GPS processor result {"connection_id":46278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18814,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:57:42] local.INFO: GPS data processed {"connection_id":46278,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:57:42] local.INFO: Acknowledgment sent {"connection_id":46278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:57:52] local.INFO: TCP Data received {"connection_id":45527,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:57:52] local.INFO: Processing buffer {"connection_id":45527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:57:52] local.INFO: IMEI packet received {"connection_id":45527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":45527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:57:54] local.INFO: TCP Data received {"connection_id":45527,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:57:54] local.INFO: Processing buffer {"connection_id":45527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:57:54] local.INFO: IMEI packet received {"connection_id":45527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":45527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:57:57] local.INFO: TCP Data received {"connection_id":45527,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45527,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:57:57] local.INFO: Processing buffer {"connection_id":45527,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:57:57] local.INFO: IMEI packet received {"connection_id":45527,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":45527,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:57:58] local.INFO: TCP Data received {"connection_id":45527,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d983056b0012d6ae3c006167c78000b00a030..."} 
[2026-04-17 02:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983056b0012d6ae3c006167c78000b00a030..."} 
[2026-04-17 02:57:58] local.INFO: Processing buffer {"connection_id":45527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983056b0012d6ae3c006167c78000b00a030..."} 
[2026-04-17 02:57:58] local.INFO: Packet analysis {"connection_id":45527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:57:58] local.INFO: Extracted packet for processing {"connection_id":45527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:57:58] local.INFO: GPS Element Parsed {"raw_longitude":761979840,"raw_latitude":102136952,"longitude_deg":76.197984,"latitude_deg":10.2136952,"altitude":11,"angle":160,"satellites":48,"speed":53,"hex_longitude":"2d6ae3c0","hex_latitude":"06167c78","is_valid_coordinates":true} 
[2026-04-17 02:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751946496001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273698972780986368,"note":"Value kept but may cause issues"} 
[2026-04-17 02:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7698762851650867200,"note":"Value kept but may cause issues"} 
[2026-04-17 02:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776374798000,"timestamp_ms":1776374798000,"timestamp_seconds":1776374798,"priority":1,"record_length":96,"hex_timestamp":"0000019d983056b0"} 
[2026-04-17 02:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:57: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-04-17 02:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:57:58] 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-04-17 02:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751946496001,"66":27343,"249":206,"79":20992,"24":53,"16":273698972780986368,"45":7698762851650867200},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,79,24,16,45]} 
[2026-04-17 02:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751946496001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:57:58] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-17 02:57:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273698972780986368,"km_value":273698972780986.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7698762851650867200,"description":"Unknown IO ID 45"} 
[2026-04-17 02:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751946496001,"power":27343,"unknown_249":206,"unknown_79":20992,"ignition":53,"odometer":null,"unknown_45":7698762851650867200}} 
[2026-04-17 02:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":45527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:57:58] local.INFO: GPS data processed {"connection_id":45527,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:57:58] local.INFO: Acknowledgment sent {"connection_id":45527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:58:02] local.INFO: TCP Data received {"connection_id":45527,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98307208012d6af00006165928000c00a030..."} 
[2026-04-17 02:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98307208012d6af00006165928000c00a030..."} 
[2026-04-17 02:58:02] local.INFO: Processing buffer {"connection_id":45527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98307208012d6af00006165928000c00a030..."} 
[2026-04-17 02:58:02] local.INFO: Packet analysis {"connection_id":45527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:58:02] local.INFO: Extracted packet for processing {"connection_id":45527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:58:02] local.INFO: GPS Element Parsed {"raw_longitude":761982976,"raw_latitude":102127912,"longitude_deg":76.1982976,"latitude_deg":10.2127912,"altitude":12,"angle":160,"satellites":48,"speed":54,"hex_longitude":"2d6af000","hex_latitude":"06165928","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751948288001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273699436637454336,"note":"Value kept but may cause issues"} 
[2026-04-17 02:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7702210920113272832,"note":"Value kept but may cause issues"} 
[2026-04-17 02:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776374805000,"timestamp_ms":1776374805000,"timestamp_seconds":1776374805,"priority":1,"record_length":96,"hex_timestamp":"0000019d98307208"} 
[2026-04-17 02:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 02: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 02:58:02] 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-04-17 02: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-04-17 02:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751948288001,"66":27376,"249":206,"79":20992,"24":54,"16":273699436637454336,"45":7702210920113272832},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,79,24,16,45]} 
[2026-04-17 02:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751948288001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:58:02] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-17 02:58:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273699436637454336,"km_value":273699436637454.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7702210920113272832,"description":"Unknown IO ID 45"} 
[2026-04-17 02:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751948288001,"power":27376,"unknown_249":206,"unknown_79":20992,"ignition":54,"odometer":null,"unknown_45":7702210920113272832}} 
[2026-04-17 02:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":45527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:58:03] local.INFO: GPS data processed {"connection_id":45527,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:58:03] local.INFO: Acknowledgment sent {"connection_id":45527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:58:05] local.INFO: TCP Data received {"connection_id":45460,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:58:05] local.INFO: Processing buffer {"connection_id":45460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:58:05] local.INFO: IMEI packet received {"connection_id":45460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":45460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:58:11] local.INFO: TCP Data received {"connection_id":45460,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:58:11] local.INFO: Processing buffer {"connection_id":45460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:58:11] local.INFO: IMEI packet received {"connection_id":45460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":45460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:58:12] local.INFO: TCP Data received {"connection_id":45460,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 02:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 02:58:12] local.INFO: Processing buffer {"connection_id":45460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 02:58:12] local.INFO: Packet analysis {"connection_id":45460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:58:12] local.INFO: Extracted packet for processing {"connection_id":45460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:58:12] local.INFO: GPS Element Parsed {"raw_longitude":755432640,"raw_latitude":117245272,"longitude_deg":75.543264,"latitude_deg":11.7245272,"altitude":11,"angle":286,"satellites":50,"speed":0,"hex_longitude":"2d06fcc0","hex_latitude":"06fd0558","is_valid_coordinates":true} 
[2026-04-17 02:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751892736001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 02:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776374827000,"timestamp_ms":1776374827000,"timestamp_seconds":1776374827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9830c7f8"} 
[2026-04-17 02:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:58: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-04-17 02:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 02:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751892736001,"66":25223,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751892736001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:58:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:58:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 02:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751892736001,"power":25223,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 02:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":45460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18817,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:58:12] local.INFO: GPS data processed {"connection_id":45460,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:58:12] local.INFO: Acknowledgment sent {"connection_id":45460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:58:34] local.INFO: TCP Data received {"connection_id":45527,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98319700012d6b3d000614cce0000600ab2f..."} 
[2026-04-17 02:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98319700012d6b3d000614cce0000600ab2f..."} 
[2026-04-17 02:58:34] local.INFO: Processing buffer {"connection_id":45527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98319700012d6b3d000614cce0000600ab2f..."} 
[2026-04-17 02:58:34] local.INFO: Packet analysis {"connection_id":45527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9831"} 
[2026-04-17 02:58:34] local.INFO: Extracted packet for processing {"connection_id":45527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9831"} 
[2026-04-17 02:58:34] local.INFO: GPS Element Parsed {"raw_longitude":762002688,"raw_latitude":102026464,"longitude_deg":76.2002688,"latitude_deg":10.2026464,"altitude":6,"angle":171,"satellites":47,"speed":43,"hex_longitude":"2d6b3d00","hex_latitude":"0614cce0","is_valid_coordinates":true} 
[2026-04-17 02:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751967232001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273704487518994432,"note":"Value kept but may cause issues"} 
[2026-04-17 02:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7726277030596122624,"note":"Value kept but may cause issues"} 
[2026-04-17 02:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,3,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776374880000,"timestamp_ms":1776374880000,"timestamp_seconds":1776374880,"priority":1,"record_length":96,"hex_timestamp":"0000019d98319700"} 
[2026-04-17 02:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:58: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-04-17 02:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-17 02:58:34] 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-04-17 02:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45527,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751967232001,"66":27332,"3":206,"79":20992,"24":43,"16":273704487518994432,"45":7726277030596122624},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,79,24,16,45]} 
[2026-04-17 02:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751967232001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:58:34] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-04-17 02:58:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273704487518994432,"km_value":273704487518994.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7726277030596122624,"description":"Unknown IO ID 45"} 
[2026-04-17 02:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751967232001,"power":27332,"unknown_3":206,"unknown_79":20992,"ignition":43,"odometer":null,"unknown_45":7726277030596122624}} 
[2026-04-17 02:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":45527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:58:34] local.INFO: GPS data processed {"connection_id":45527,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:58:34] local.INFO: Acknowledgment sent {"connection_id":45527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:58:44] local.INFO: TCP Data received {"connection_id":45460,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 02:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 02:58:44] local.INFO: Processing buffer {"connection_id":45460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 02:58:44] local.INFO: Packet analysis {"connection_id":45460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:58:44] local.INFO: Extracted packet for processing {"connection_id":45460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:58:44] local.INFO: GPS Element Parsed {"raw_longitude":755432640,"raw_latitude":117245272,"longitude_deg":75.543264,"latitude_deg":11.7245272,"altitude":11,"angle":286,"satellites":50,"speed":0,"hex_longitude":"2d06fcc0","hex_latitude":"06fd0558","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751892736001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 02:58:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776374827000,"timestamp_ms":1776374827000,"timestamp_seconds":1776374827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9830c7f8"} 
[2026-04-17 02:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:58:44] 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-04-17 02:58:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 02:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45460,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751892736001,"66":25223,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751892736001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:58:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:58:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 02:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751892736001,"power":25223,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 02:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":45460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18819,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:58:44] local.INFO: GPS data processed {"connection_id":45460,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:58:44] local.INFO: Acknowledgment sent {"connection_id":45460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:58:52] local.INFO: TCP Data received {"connection_id":46279,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:58:52] local.INFO: Processing buffer {"connection_id":46279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:58:52] local.INFO: IMEI packet received {"connection_id":46279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":46279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:58:57] local.INFO: TCP Data received {"connection_id":46279,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46279,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:58:57] local.INFO: Processing buffer {"connection_id":46279,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:58:57] local.INFO: IMEI packet received {"connection_id":46279,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 02:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":46279,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:58:58] local.INFO: TCP Data received {"connection_id":46279,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9831ba28012d6b42000614a9f8000700b330..."} 
[2026-04-17 02:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9831ba28012d6b42000614a9f8000700b330..."} 
[2026-04-17 02:58:58] local.INFO: Processing buffer {"connection_id":46279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9831ba28012d6b42000614a9f8000700b330..."} 
[2026-04-17 02:58:58] local.INFO: Packet analysis {"connection_id":46279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9831"} 
[2026-04-17 02:58:58] local.INFO: Extracted packet for processing {"connection_id":46279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9831"} 
[2026-04-17 02:58:58] local.INFO: GPS Element Parsed {"raw_longitude":762003968,"raw_latitude":102017528,"longitude_deg":76.2003968,"latitude_deg":10.2017528,"altitude":7,"angle":179,"satellites":48,"speed":36,"hex_longitude":"2d6b4200","hex_latitude":"0614a9f8","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751969280001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273704925605658624,"note":"Value kept but may cause issues"} 
[2026-04-17 02:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7727332561756413952,"note":"Value kept but may cause issues"} 
[2026-04-17 02:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776374889000,"timestamp_ms":1776374889000,"timestamp_seconds":1776374889,"priority":1,"record_length":96,"hex_timestamp":"0000019d9831ba28"} 
[2026-04-17 02:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:58: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-04-17 02: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 02:58: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-04-17 02: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-04-17 02:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751969280001,"66":27365,"2":206,"79":20992,"24":36,"16":273704925605658624,"45":7727332561756413952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,79,24,16,45]} 
[2026-04-17 02:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751969280001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:58:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273704925605658624,"km_value":273704925605658.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7727332561756413952,"description":"Unknown IO ID 45"} 
[2026-04-17 02:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751969280001,"power":27365,"power_alt":206,"unknown_79":20992,"ignition":36,"odometer":null,"unknown_45":7727332561756413952}} 
[2026-04-17 02:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":46279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:58:58] local.INFO: GPS data processed {"connection_id":46279,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:58:58] local.INFO: Acknowledgment sent {"connection_id":46279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:59:10] local.INFO: TCP Data received {"connection_id":45725,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:59:10] local.INFO: Processing buffer {"connection_id":45725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:59:10] local.INFO: IMEI packet received {"connection_id":45725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 02:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":45725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 02:59:16] local.INFO: TCP Data received {"connection_id":45725,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:59:16] local.INFO: Processing buffer {"connection_id":45725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 02:59:16] local.INFO: IMEI packet received {"connection_id":45725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 02:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":45725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 02:59:17] local.INFO: TCP Data received {"connection_id":45725,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 02:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 02:59:17] local.INFO: Processing buffer {"connection_id":45725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 02:59:17] local.INFO: Packet analysis {"connection_id":45725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:59:17] local.INFO: Extracted packet for processing {"connection_id":45725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:59:17] local.INFO: GPS Element Parsed {"raw_longitude":755432640,"raw_latitude":117245272,"longitude_deg":75.543264,"latitude_deg":11.7245272,"altitude":11,"angle":286,"satellites":50,"speed":0,"hex_longitude":"2d06fcc0","hex_latitude":"06fd0558","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751892736001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 02:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776374827000,"timestamp_ms":1776374827000,"timestamp_seconds":1776374827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9830c7f8"} 
[2026-04-17 02:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:59:17] 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-04-17 02:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 02:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751892736001,"66":25223,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751892736001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:59:17] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:59:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 02:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751892736001,"power":25223,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 02:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":45725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18821,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:59:17] local.INFO: GPS data processed {"connection_id":45725,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:59:17] local.INFO: Acknowledgment sent {"connection_id":45725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:59:28] local.INFO: TCP Data received {"connection_id":46279,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9831e520012d6b454006148460000800b030..."} 
[2026-04-17 02:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9831e520012d6b454006148460000800b030..."} 
[2026-04-17 02:59:28] local.INFO: Processing buffer {"connection_id":46279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9831e520012d6b454006148460000800b030..."} 
[2026-04-17 02:59:28] local.INFO: Packet analysis {"connection_id":46279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9831"} 
[2026-04-17 02:59:28] local.INFO: Extracted packet for processing {"connection_id":46279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9831"} 
[2026-04-17 02:59:28] local.INFO: GPS Element Parsed {"raw_longitude":762004800,"raw_latitude":102007904,"longitude_deg":76.20048,"latitude_deg":10.2007904,"altitude":8,"angle":176,"satellites":48,"speed":32,"hex_longitude":"2d6b4540","hex_latitude":"06148460","is_valid_coordinates":true} 
[2026-04-17 02:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 02:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751971584001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273705393757093888,"note":"Value kept but may cause issues"} 
[2026-04-17 02:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7728739936637679616,"note":"Value kept but may cause issues"} 
[2026-04-17 02:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776374900000,"timestamp_ms":1776374900000,"timestamp_seconds":1776374900,"priority":1,"record_length":96,"hex_timestamp":"0000019d9831e520"} 
[2026-04-17 02:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:59: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-04-17 02:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 02:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02:59:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 02:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46279,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 02:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 02:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 02:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751971584001,"66":27517,"2":206,"79":20992,"24":32,"16":273705393757093888,"45":7728739936637679616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,79,24,16,45]} 
[2026-04-17 02:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 02:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 02:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751971584001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:59:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 02:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273705393757093888,"km_value":273705393757093.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7728739936637679616,"description":"Unknown IO ID 45"} 
[2026-04-17 02:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751971584001,"power":27517,"power_alt":206,"unknown_79":20992,"ignition":32,"odometer":null,"unknown_45":7728739936637679616}} 
[2026-04-17 02:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":46279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:59:28] local.INFO: GPS data processed {"connection_id":46279,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:59:28] local.INFO: Acknowledgment sent {"connection_id":46279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:59:49] local.INFO: TCP Data received {"connection_id":45725,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 02:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 02:59:49] local.INFO: Processing buffer {"connection_id":45725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 02:59:49] local.INFO: Packet analysis {"connection_id":45725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:59:49] local.INFO: Extracted packet for processing {"connection_id":45725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 02:59:49] local.INFO: GPS Element Parsed {"raw_longitude":755432640,"raw_latitude":117245272,"longitude_deg":75.543264,"latitude_deg":11.7245272,"altitude":11,"angle":286,"satellites":50,"speed":0,"hex_longitude":"2d06fcc0","hex_latitude":"06fd0558","is_valid_coordinates":true} 
[2026-04-17 02: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-04-17 02:59:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751892736001,"note":"Value kept but may cause issues"} 
[2026-04-17 02:59:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 02:59:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 02:59:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 02:59:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776374827000,"timestamp_ms":1776374827000,"timestamp_seconds":1776374827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9830c7f8"} 
[2026-04-17 02:59:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 02:59:49] 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-04-17 02:59:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 02:59:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 02: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-04-17 02:59:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 02:59:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 02:59:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 02:59:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:59:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 02:59:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 02:59:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 02:59:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 02:59:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751892736001,"66":25223,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 02:59:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 02:59:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 02:59:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751892736001,"description":"Unknown IO ID 0"} 
[2026-04-17 02:59:49] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 02:59:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 02:59:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 02:59:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 02:59:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751892736001,"power":25223,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 02:59:49] local.INFO: DEBUG: GPS processor result {"connection_id":45725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18823,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 02:59:49] local.INFO: GPS data processed {"connection_id":45725,"processed":1,"errors":0,"total":1} 
[2026-04-17 02:59:49] local.INFO: Acknowledgment sent {"connection_id":45725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 02:59:52] local.INFO: TCP Data received {"connection_id":45726,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:59:52] local.INFO: Processing buffer {"connection_id":45726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 02:59:52] local.INFO: IMEI packet received {"connection_id":45726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 02:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":45726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:00:02] local.INFO: TCP Data received {"connection_id":45726,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:00:02] local.INFO: Processing buffer {"connection_id":45726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:00:02] local.INFO: IMEI packet received {"connection_id":45726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:00:02] local.INFO: IMEI acknowledgment sent {"connection_id":45726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:00:03] local.INFO: TCP Data received {"connection_id":45726,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98321400012d6b490006146120000b00ac30..."} 
[2026-04-17 03:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98321400012d6b490006146120000b00ac30..."} 
[2026-04-17 03:00:03] local.INFO: Processing buffer {"connection_id":45726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98321400012d6b490006146120000b00ac30..."} 
[2026-04-17 03:00:03] local.INFO: Packet analysis {"connection_id":45726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9832"} 
[2026-04-17 03:00:03] local.INFO: Extracted packet for processing {"connection_id":45726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9832"} 
[2026-04-17 03:00:03] local.INFO: GPS Element Parsed {"raw_longitude":762005760,"raw_latitude":101998880,"longitude_deg":76.200576,"latitude_deg":10.199888,"altitude":11,"angle":172,"satellites":48,"speed":27,"hex_longitude":"2d6b4900","hex_latitude":"06146120","is_valid_coordinates":true} 
[2026-04-17 03:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:00:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751974400001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:00:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273705836138725376,"note":"Value kept but may cause issues"} 
[2026-04-17 03:00:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7729654730309525504,"note":"Value kept but may cause issues"} 
[2026-04-17 03:00:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:00:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776374912000,"timestamp_ms":1776374912000,"timestamp_seconds":1776374912,"priority":1,"record_length":96,"hex_timestamp":"0000019d98321400"} 
[2026-04-17 03:00:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:00: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-04-17 03:00:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 03:00:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:00:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:00:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:00:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:00:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:00:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:00:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:00:03] 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-04-17 03:00:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:00:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:00:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751974400001,"66":27463,"2":206,"79":20992,"24":27,"16":273705836138725376,"45":7729654730309525504},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,79,24,16,45]} 
[2026-04-17 03:00:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:00:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:00:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751974400001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:00:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 03:00:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273705836138725376,"km_value":273705836138725.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:00:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7729654730309525504,"description":"Unknown IO ID 45"} 
[2026-04-17 03:00:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751974400001,"power":27463,"power_alt":206,"unknown_79":20992,"ignition":27,"odometer":null,"unknown_45":7729654730309525504}} 
[2026-04-17 03:00:03] local.INFO: DEBUG: GPS processor result {"connection_id":45726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18824,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:00:03] local.INFO: GPS data processed {"connection_id":45726,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:00:03] local.INFO: Acknowledgment sent {"connection_id":45726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:00:06] local.INFO: TCP Data received {"connection_id":46280,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:00:06] local.INFO: Processing buffer {"connection_id":46280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:00:06] local.INFO: IMEI packet received {"connection_id":46280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:00:06] local.INFO: IMEI acknowledgment sent {"connection_id":46280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:00:11] local.INFO: TCP Data received {"connection_id":46280,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46280,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:00:11] local.INFO: Processing buffer {"connection_id":46280,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:00:11] local.INFO: IMEI packet received {"connection_id":46280,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":46280,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:00:12] local.INFO: TCP Data received {"connection_id":46280,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:00:12] local.INFO: Processing buffer {"connection_id":46280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:00:12] local.INFO: Packet analysis {"connection_id":46280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 03:00:12] local.INFO: Extracted packet for processing {"connection_id":46280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 03:00:12] local.INFO: GPS Element Parsed {"raw_longitude":755432640,"raw_latitude":117245272,"longitude_deg":75.543264,"latitude_deg":11.7245272,"altitude":11,"angle":286,"satellites":50,"speed":0,"hex_longitude":"2d06fcc0","hex_latitude":"06fd0558","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751892736001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 03:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776374827000,"timestamp_ms":1776374827000,"timestamp_seconds":1776374827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9830c7f8"} 
[2026-04-17 03:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:00: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-04-17 03:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 03:00:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46280,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46280,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751892736001,"66":25223,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 03:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751892736001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:00:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:00:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 03:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751892736001,"power":25223,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 03:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":46280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18825,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:00:12] local.INFO: GPS data processed {"connection_id":46280,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:00:12] local.INFO: Acknowledgment sent {"connection_id":46280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:00:34] local.INFO: TCP Data received {"connection_id":45726,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98324ab0012d6b4c8006143c50000b00ae30..."} 
[2026-04-17 03:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98324ab0012d6b4c8006143c50000b00ae30..."} 
[2026-04-17 03:00:34] local.INFO: Processing buffer {"connection_id":45726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98324ab0012d6b4c8006143c50000b00ae30..."} 
[2026-04-17 03:00:34] local.INFO: Packet analysis {"connection_id":45726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9832"} 
[2026-04-17 03:00:34] local.INFO: Extracted packet for processing {"connection_id":45726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9832"} 
[2026-04-17 03:00:34] local.INFO: GPS Element Parsed {"raw_longitude":762006656,"raw_latitude":101989456,"longitude_deg":76.2006656,"latitude_deg":10.1989456,"altitude":11,"angle":174,"satellites":48,"speed":29,"hex_longitude":"2d6b4c80","hex_latitude":"06143c50","is_valid_coordinates":true} 
[2026-04-17 03:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751977472001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273706291405258752,"note":"Value kept but may cause issues"} 
[2026-04-17 03:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7730710261469880320,"note":"Value kept but may cause issues"} 
[2026-04-17 03:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776374926000,"timestamp_ms":1776374926000,"timestamp_seconds":1776374926,"priority":1,"record_length":96,"hex_timestamp":"0000019d98324ab0"} 
[2026-04-17 03:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:00: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-04-17 03:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 03:00: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-04-17 03:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751977472001,"66":27365,"2":206,"79":20992,"24":29,"16":273706291405258752,"45":7730710261469880320},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,79,24,16,45]} 
[2026-04-17 03:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751977472001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:00:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 03:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273706291405258752,"km_value":273706291405258.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7730710261469880320,"description":"Unknown IO ID 45"} 
[2026-04-17 03:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751977472001,"power":27365,"power_alt":206,"unknown_79":20992,"ignition":29,"odometer":null,"unknown_45":7730710261469880320}} 
[2026-04-17 03:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":45726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:00:34] local.INFO: GPS data processed {"connection_id":45726,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:00:34] local.INFO: Acknowledgment sent {"connection_id":45726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:00:44] local.INFO: TCP Data received {"connection_id":46280,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:00:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:00:44] local.INFO: Processing buffer {"connection_id":46280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:00:44] local.INFO: Packet analysis {"connection_id":46280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 03:00:44] local.INFO: Extracted packet for processing {"connection_id":46280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 03:00:44] local.INFO: GPS Element Parsed {"raw_longitude":755432640,"raw_latitude":117245272,"longitude_deg":75.543264,"latitude_deg":11.7245272,"altitude":11,"angle":286,"satellites":50,"speed":0,"hex_longitude":"2d06fcc0","hex_latitude":"06fd0558","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:00:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751892736001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:00:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:00:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 03:00:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:00:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776374827000,"timestamp_ms":1776374827000,"timestamp_seconds":1776374827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9830c7f8"} 
[2026-04-17 03:00:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:00:44] 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-04-17 03:00:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 03:00:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:00:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:00:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:00:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:00:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46280,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:00:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46280,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:00:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:00:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:00:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:00:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751892736001,"66":25223,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 03:00:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:00:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:00:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751892736001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:00:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:00:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:00:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:00:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 03:00:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751892736001,"power":25223,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 03:00:44] local.INFO: DEBUG: GPS processor result {"connection_id":46280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18827,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:00:44] local.INFO: GPS data processed {"connection_id":46280,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:00:44] local.INFO: Acknowledgment sent {"connection_id":46280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:00:52] local.INFO: TCP Data received {"connection_id":45727,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:00:52] local.INFO: Processing buffer {"connection_id":45727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:00:52] local.INFO: IMEI packet received {"connection_id":45727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":45727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:00:57] local.INFO: TCP Data received {"connection_id":45727,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:00:57] local.INFO: Processing buffer {"connection_id":45727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:00:57] local.INFO: IMEI packet received {"connection_id":45727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":45727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:00:58] local.INFO: TCP Data received {"connection_id":45727,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98327990012d6b500006141800000900af31..."} 
[2026-04-17 03:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98327990012d6b500006141800000900af31..."} 
[2026-04-17 03:00:58] local.INFO: Processing buffer {"connection_id":45727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98327990012d6b500006141800000900af31..."} 
[2026-04-17 03:00:58] local.INFO: Packet analysis {"connection_id":45727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9832"} 
[2026-04-17 03:00:58] local.INFO: Extracted packet for processing {"connection_id":45727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9832"} 
[2026-04-17 03:00:58] local.INFO: GPS Element Parsed {"raw_longitude":762007552,"raw_latitude":101980160,"longitude_deg":76.2007552,"latitude_deg":10.198016,"altitude":9,"angle":175,"satellites":49,"speed":26,"hex_longitude":"2d6b5000","hex_latitude":"06141800","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751981056001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273706746671792128,"note":"Value kept but may cause issues"} 
[2026-04-17 03:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7731695423885955072,"note":"Value kept but may cause issues"} 
[2026-04-17 03:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776374938000,"timestamp_ms":1776374938000,"timestamp_seconds":1776374938,"priority":1,"record_length":96,"hex_timestamp":"0000019d98327990"} 
[2026-04-17 03:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:00: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-04-17 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 03:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751981056001,"66":27365,"2":206,"79":20992,"24":26,"16":273706746671792128,"45":7731695423885955072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,79,24,16,45]} 
[2026-04-17 03:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751981056001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:00:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":20992,"description":"Unknown IO ID 79"} 
[2026-04-17 03:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273706746671792128,"km_value":273706746671792.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7731695423885955072,"description":"Unknown IO ID 45"} 
[2026-04-17 03:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751981056001,"power":27365,"power_alt":206,"unknown_79":20992,"ignition":26,"odometer":null,"unknown_45":7731695423885955072}} 
[2026-04-17 03:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":45727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:00:58] local.INFO: GPS data processed {"connection_id":45727,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:00:58] local.INFO: Acknowledgment sent {"connection_id":45727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:01:06] local.INFO: TCP Data received {"connection_id":45461,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45461,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:01:06] local.INFO: Processing buffer {"connection_id":45461,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:01:06] local.INFO: IMEI packet received {"connection_id":45461,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":45461,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:01:10] local.INFO: TCP Data received {"connection_id":45461,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45461,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:01:10] local.INFO: Processing buffer {"connection_id":45461,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:01:10] local.INFO: IMEI packet received {"connection_id":45461,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":45461,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:01:12] local.INFO: TCP Data received {"connection_id":45461,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:01:12] local.INFO: Processing buffer {"connection_id":45461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:01:12] local.INFO: Packet analysis {"connection_id":45461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 03:01:12] local.INFO: Extracted packet for processing {"connection_id":45461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 03:01:12] local.INFO: GPS Element Parsed {"raw_longitude":755432640,"raw_latitude":117245272,"longitude_deg":75.543264,"latitude_deg":11.7245272,"altitude":11,"angle":286,"satellites":50,"speed":0,"hex_longitude":"2d06fcc0","hex_latitude":"06fd0558","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751892736001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 03:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776374827000,"timestamp_ms":1776374827000,"timestamp_seconds":1776374827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9830c7f8"} 
[2026-04-17 03:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03: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-04-17 03:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 03:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45461,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45461,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751892736001,"66":25223,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 03:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751892736001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:01:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:01:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 03:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751892736001,"power":25223,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 03:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":45461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18829,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:01:12] local.INFO: GPS data processed {"connection_id":45461,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:01:12] local.INFO: Acknowledgment sent {"connection_id":45461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:01:29] local.INFO: TCP Data received {"connection_id":45727,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98345a08012d6b79800612b4b80003008d31..."} 
[2026-04-17 03:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98345a08012d6b79800612b4b80003008d31..."} 
[2026-04-17 03:01:29] local.INFO: Processing buffer {"connection_id":45727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98345a08012d6b79800612b4b80003008d31..."} 
[2026-04-17 03:01:29] local.INFO: Packet analysis {"connection_id":45727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9834"} 
[2026-04-17 03:01:29] local.INFO: Extracted packet for processing {"connection_id":45727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9834"} 
[2026-04-17 03:01:29] local.INFO: GPS Element Parsed {"raw_longitude":762018176,"raw_latitude":101889208,"longitude_deg":76.2018176,"latitude_deg":10.1889208,"altitude":3,"angle":141,"satellites":49,"speed":22,"hex_longitude":"2d6b7980","hex_latitude":"0612b4b8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752014848001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273711196257910784,"note":"Value kept but may cause issues"} 
[2026-04-17 03:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7743587741626662912,"note":"Value kept but may cause issues"} 
[2026-04-17 03:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776375061000,"timestamp_ms":1776375061000,"timestamp_seconds":1776375061,"priority":1,"record_length":96,"hex_timestamp":"0000019d98345a08"} 
[2026-04-17 03:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:01: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-04-17 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 03:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:01: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-04-17 03:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752014848001,"66":27343,"137":206,"79":46336,"24":22,"16":273711196257910784,"45":7743587741626662912},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-04-17 03:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752014848001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:01:29] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-17 03:01:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273711196257910784,"km_value":273711196257910.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7743587741626662912,"description":"Unknown IO ID 45"} 
[2026-04-17 03:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752014848001,"power":27343,"unknown_137":206,"unknown_79":46336,"ignition":22,"odometer":null,"unknown_45":7743587741626662912}} 
[2026-04-17 03:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":45727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:01:29] local.INFO: GPS data processed {"connection_id":45727,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:01:29] local.INFO: Acknowledgment sent {"connection_id":45727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:01:43] local.INFO: TCP Data received {"connection_id":45461,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:01:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:01:43] local.INFO: Processing buffer {"connection_id":45461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9830c7f8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:01:43] local.INFO: Packet analysis {"connection_id":45461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 03:01:43] local.INFO: Extracted packet for processing {"connection_id":45461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9830"} 
[2026-04-17 03:01:43] local.INFO: GPS Element Parsed {"raw_longitude":755432640,"raw_latitude":117245272,"longitude_deg":75.543264,"latitude_deg":11.7245272,"altitude":11,"angle":286,"satellites":50,"speed":0,"hex_longitude":"2d06fcc0","hex_latitude":"06fd0558","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:01:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751892736001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:01:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:01:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":499758851165227008,"note":"Value kept but may cause issues"} 
[2026-04-17 03:01:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:01:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776374827000,"timestamp_ms":1776374827000,"timestamp_seconds":1776374827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9830c7f8"} 
[2026-04-17 03:01:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:01:43] 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-04-17 03:01:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 03:01:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:01:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:01:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:01:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:01:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45461,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:01:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45461,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:01:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:01:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:01:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:01:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751892736001,"66":25223,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":499758851165227008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 03:01:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:01:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:01:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751892736001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:01:43] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:01:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:01:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:01:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":499758851165227008,"description":"Unknown IO ID 45"} 
[2026-04-17 03:01:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751892736001,"power":25223,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":499758851165227008}} 
[2026-04-17 03:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":45461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18831,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:01:44] local.INFO: GPS data processed {"connection_id":45461,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:01:44] local.INFO: Acknowledgment sent {"connection_id":45461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:01:52] local.INFO: TCP Data received {"connection_id":45728,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:01:52] local.INFO: Processing buffer {"connection_id":45728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:01:52] local.INFO: IMEI packet received {"connection_id":45728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":45728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:01:54] local.INFO: TCP Data received {"connection_id":45728,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:01:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:01:54] local.INFO: Processing buffer {"connection_id":45728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:01:54] local.INFO: IMEI packet received {"connection_id":45728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:01:54] local.INFO: IMEI acknowledgment sent {"connection_id":45728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:01:58] local.INFO: TCP Data received {"connection_id":45728,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:01:58] local.INFO: Processing buffer {"connection_id":45728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:01:58] local.INFO: IMEI packet received {"connection_id":45728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:01:58] local.INFO: IMEI acknowledgment sent {"connection_id":45728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:01:59] local.INFO: TCP Data received {"connection_id":45728,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98348118012d6b8b800612a018000500a130..."} 
[2026-04-17 03:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98348118012d6b8b800612a018000500a130..."} 
[2026-04-17 03:01:59] local.INFO: Processing buffer {"connection_id":45728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98348118012d6b8b800612a018000500a130..."} 
[2026-04-17 03:01:59] local.INFO: Packet analysis {"connection_id":45728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9834"} 
[2026-04-17 03:01:59] local.INFO: Extracted packet for processing {"connection_id":45728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9834"} 
[2026-04-17 03:01:59] local.INFO: GPS Element Parsed {"raw_longitude":762022784,"raw_latitude":101883928,"longitude_deg":76.2022784,"latitude_deg":10.1883928,"altitude":5,"angle":161,"satellites":48,"speed":30,"hex_longitude":"2d6b8b80","hex_latitude":"0612a018","is_valid_coordinates":true} 
[2026-04-17 03:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752015616001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273711535560327168,"note":"Value kept but may cause issues"} 
[2026-04-17 03:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7744361797812271104,"note":"Value kept but may cause issues"} 
[2026-04-17 03:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776375071000,"timestamp_ms":1776375071000,"timestamp_seconds":1776375071,"priority":1,"record_length":96,"hex_timestamp":"0000019d98348118"} 
[2026-04-17 03:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752015616001,"66":27397,"137":206,"79":46336,"24":30,"16":273711535560327168,"45":7744361797812271104},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-04-17 03:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752015616001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:01:59] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-17 03:01:59] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273711535560327168,"km_value":273711535560327.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7744361797812271104,"description":"Unknown IO ID 45"} 
[2026-04-17 03:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752015616001,"power":27397,"unknown_137":206,"unknown_79":46336,"ignition":30,"odometer":null,"unknown_45":7744361797812271104}} 
[2026-04-17 03:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":45728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18832,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:01:59] local.INFO: GPS data processed {"connection_id":45728,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:01:59] local.INFO: Acknowledgment sent {"connection_id":45728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:02:05] local.INFO: TCP Data received {"connection_id":45729,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:02:05] local.INFO: Processing buffer {"connection_id":45729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:02:05] local.INFO: IMEI packet received {"connection_id":45729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":45729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:02:10] local.INFO: TCP Data received {"connection_id":45729,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:02:10] local.INFO: Processing buffer {"connection_id":45729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:02:10] local.INFO: IMEI packet received {"connection_id":45729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":45729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:02:11] local.INFO: TCP Data received {"connection_id":45729,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98355fc0012d06fc0006fd0578000b011e32..."} 
[2026-04-17 03:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98355fc0012d06fc0006fd0578000b011e32..."} 
[2026-04-17 03:02:11] local.INFO: Processing buffer {"connection_id":45729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98355fc0012d06fc0006fd0578000b011e32..."} 
[2026-04-17 03:02:11] local.INFO: Packet analysis {"connection_id":45729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9835"} 
[2026-04-17 03:02:11] local.INFO: Extracted packet for processing {"connection_id":45729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9835"} 
[2026-04-17 03:02:11] local.INFO: GPS Element Parsed {"raw_longitude":755432448,"raw_latitude":117245304,"longitude_deg":75.5432448,"latitude_deg":11.7245304,"altitude":11,"angle":286,"satellites":50,"speed":0,"hex_longitude":"2d06fc00","hex_latitude":"06fd0578","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:02:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751955712001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:02:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:02:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":503488394605975552,"note":"Value kept but may cause issues"} 
[2026-04-17 03:02:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:02:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776375128000,"timestamp_ms":1776375128000,"timestamp_seconds":1776375128,"priority":1,"record_length":96,"hex_timestamp":"0000019d98355fc0"} 
[2026-04-17 03:02:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:02:11] 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-04-17 03:02:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-04-17 03:02:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:02:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:02:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:02:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:02:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:02:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:02:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:02:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:02:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:02:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751955712001,"66":25147,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":503488394605975552},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 03:02:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:02:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:02:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751955712001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:02:11] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:02:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:02:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:02:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":503488394605975552,"description":"Unknown IO ID 45"} 
[2026-04-17 03:02:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751955712001,"power":25147,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":503488394605975552}} 
[2026-04-17 03:02:11] local.INFO: DEBUG: GPS processor result {"connection_id":45729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18833,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:02:11] local.INFO: GPS data processed {"connection_id":45729,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:02:11] local.INFO: Acknowledgment sent {"connection_id":45729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:02:30] local.INFO: TCP Data received {"connection_id":45728,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9834aff8012d6b92c006127c48000500a92f..."} 
[2026-04-17 03:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9834aff8012d6b92c006127c48000500a92f..."} 
[2026-04-17 03:02:30] local.INFO: Processing buffer {"connection_id":45728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9834aff8012d6b92c006127c48000500a92f..."} 
[2026-04-17 03:02:30] local.INFO: Packet analysis {"connection_id":45728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9834"} 
[2026-04-17 03:02:30] local.INFO: Extracted packet for processing {"connection_id":45728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9834"} 
[2026-04-17 03:02:30] local.INFO: GPS Element Parsed {"raw_longitude":762024640,"raw_latitude":101874760,"longitude_deg":76.202464,"latitude_deg":10.187476,"altitude":5,"angle":169,"satellites":47,"speed":29,"hex_longitude":"2d6b92c0","hex_latitude":"06127c48","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752018176001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273711990826860544,"note":"Value kept but may cause issues"} 
[2026-04-17 03:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7749428347391711232,"note":"Value kept but may cause issues"} 
[2026-04-17 03:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776375083000,"timestamp_ms":1776375083000,"timestamp_seconds":1776375083,"priority":1,"record_length":96,"hex_timestamp":"0000019d9834aff8"} 
[2026-04-17 03:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:02: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-04-17 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 03:02: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-04-17 03: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-04-17 03:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:02: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-04-17 03:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752018176001,"66":27245,"137":206,"79":46336,"24":29,"16":273711990826860544,"45":7749428347391711232},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,79,24,16,45]} 
[2026-04-17 03:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752018176001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:02:30] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-17 03:02:30] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273711990826860544,"km_value":273711990826860.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7749428347391711232,"description":"Unknown IO ID 45"} 
[2026-04-17 03:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752018176001,"power":27245,"unknown_137":206,"unknown_79":46336,"ignition":29,"odometer":null,"unknown_45":7749428347391711232}} 
[2026-04-17 03:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":45728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:02:30] local.INFO: GPS data processed {"connection_id":45728,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:02:30] local.INFO: Acknowledgment sent {"connection_id":45728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:02:42] local.INFO: TCP Data received {"connection_id":45729,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98355fc0012d06fc0006fd0578000b011e32..."} 
[2026-04-17 03:02:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98355fc0012d06fc0006fd0578000b011e32..."} 
[2026-04-17 03:02:42] local.INFO: Processing buffer {"connection_id":45729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98355fc0012d06fc0006fd0578000b011e32..."} 
[2026-04-17 03:02:42] local.INFO: Packet analysis {"connection_id":45729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9835"} 
[2026-04-17 03:02:42] local.INFO: Extracted packet for processing {"connection_id":45729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9835"} 
[2026-04-17 03:02:42] local.INFO: GPS Element Parsed {"raw_longitude":755432448,"raw_latitude":117245304,"longitude_deg":75.5432448,"latitude_deg":11.7245304,"altitude":11,"angle":286,"satellites":50,"speed":0,"hex_longitude":"2d06fc00","hex_latitude":"06fd0578","is_valid_coordinates":true} 
[2026-04-17 03:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:02:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751955712001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:02:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:02:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":503488394605975552,"note":"Value kept but may cause issues"} 
[2026-04-17 03:02:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:02:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776375128000,"timestamp_ms":1776375128000,"timestamp_seconds":1776375128,"priority":1,"record_length":96,"hex_timestamp":"0000019d98355fc0"} 
[2026-04-17 03:02:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:02:42] 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-04-17 03:02:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-04-17 03:02:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:02:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:02:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:02:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:02:42] local.INFO: Teltonika packet parsed successfully {"connection_id":45729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:02:42] local.INFO: Passing IMEI to GPS processor {"connection_id":45729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:02:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":45729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:02:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:02:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:02:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:02:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751955712001,"66":25147,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":503488394605975552},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 03:02:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:02:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:02:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751955712001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:02:42] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:02:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:02:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:02:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":503488394605975552,"description":"Unknown IO ID 45"} 
[2026-04-17 03:02:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751955712001,"power":25147,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":503488394605975552}} 
[2026-04-17 03:02:43] local.INFO: DEBUG: GPS processor result {"connection_id":45729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18835,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:02:43] local.INFO: GPS data processed {"connection_id":45729,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:02:43] local.INFO: Acknowledgment sent {"connection_id":45729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:02:52] local.INFO: TCP Data received {"connection_id":46281,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:02:52] local.INFO: Processing buffer {"connection_id":46281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:02:52] local.INFO: IMEI packet received {"connection_id":46281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":46281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:02:53] local.INFO: TCP Data received {"connection_id":46281,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:02:53] local.INFO: Processing buffer {"connection_id":46281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:02:53] local.INFO: IMEI packet received {"connection_id":46281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:02:53] local.INFO: IMEI acknowledgment sent {"connection_id":46281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:02:57] local.INFO: TCP Data received {"connection_id":46281,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:02:57] local.INFO: Processing buffer {"connection_id":46281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:02:57] local.INFO: IMEI packet received {"connection_id":46281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":46281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:02:58] local.INFO: TCP Data received {"connection_id":46281,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98358ab8012d6be5800611df60000100ae30..."} 
[2026-04-17 03:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98358ab8012d6be5800611df60000100ae30..."} 
[2026-04-17 03:02:58] local.INFO: Processing buffer {"connection_id":46281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98358ab8012d6be5800611df60000100ae30..."} 
[2026-04-17 03:02:58] local.INFO: Packet analysis {"connection_id":46281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9835"} 
[2026-04-17 03:02:58] local.INFO: Extracted packet for processing {"connection_id":46281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9835"} 
[2026-04-17 03:02:58] local.INFO: GPS Element Parsed {"raw_longitude":762045824,"raw_latitude":101834592,"longitude_deg":76.2045824,"latitude_deg":10.1834592,"altitude":1,"angle":174,"satellites":48,"speed":36,"hex_longitude":"2d6be580","hex_latitude":"0611df60","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752033024001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273714318699134976,"note":"Value kept but may cause issues"} 
[2026-04-17 03:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7774690726541166592,"note":"Value kept but may cause issues"} 
[2026-04-17 03:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776375139000,"timestamp_ms":1776375139000,"timestamp_seconds":1776375139,"priority":1,"record_length":96,"hex_timestamp":"0000019d98358ab8"} 
[2026-04-17 03:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:02: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-04-17 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:02: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-04-17 03: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-04-17 03:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752033024001,"66":27365,"138":206,"79":46336,"24":36,"16":273714318699134976,"45":7774690726541166592},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-04-17 03:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752033024001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:02:58] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-04-17 03:02:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273714318699134976,"km_value":273714318699134.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7774690726541166592,"description":"Unknown IO ID 45"} 
[2026-04-17 03:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752033024001,"power":27365,"unknown_138":206,"unknown_79":46336,"ignition":36,"odometer":null,"unknown_45":7774690726541166592}} 
[2026-04-17 03:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":46281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18836,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:02:58] local.INFO: GPS data processed {"connection_id":46281,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:02:58] local.INFO: Acknowledgment sent {"connection_id":46281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:03:10] local.INFO: TCP Data received {"connection_id":45528,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:03:10] local.INFO: Processing buffer {"connection_id":45528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:03:10] local.INFO: IMEI packet received {"connection_id":45528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":45528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:03:16] local.INFO: TCP Data received {"connection_id":45528,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45528,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:03:16] local.INFO: Processing buffer {"connection_id":45528,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:03:16] local.INFO: IMEI packet received {"connection_id":45528,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:03:16] local.INFO: IMEI acknowledgment sent {"connection_id":45528,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:03:17] local.INFO: TCP Data received {"connection_id":45528,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98355fc0012d06fc0006fd0578000b011e32..."} 
[2026-04-17 03:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98355fc0012d06fc0006fd0578000b011e32..."} 
[2026-04-17 03:03:17] local.INFO: Processing buffer {"connection_id":45528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98355fc0012d06fc0006fd0578000b011e32..."} 
[2026-04-17 03:03:17] local.INFO: Packet analysis {"connection_id":45528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9835"} 
[2026-04-17 03:03:17] local.INFO: Extracted packet for processing {"connection_id":45528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9835"} 
[2026-04-17 03:03:17] local.INFO: GPS Element Parsed {"raw_longitude":755432448,"raw_latitude":117245304,"longitude_deg":75.5432448,"latitude_deg":11.7245304,"altitude":11,"angle":286,"satellites":50,"speed":0,"hex_longitude":"2d06fc00","hex_latitude":"06fd0578","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454751955712001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":503488394605975552,"note":"Value kept but may cause issues"} 
[2026-04-17 03:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776375128000,"timestamp_ms":1776375128000,"timestamp_seconds":1776375128,"priority":1,"record_length":96,"hex_timestamp":"0000019d98355fc0"} 
[2026-04-17 03:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 03: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":98,"n8_eight_byte":135,"data_length":795,"current_offset":136} 
[2026-04-17 03:03:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1903,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454751955712001,"66":25147,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":503488394605975552},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 03:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454751955712001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:03:17] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:03:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":503488394605975552,"description":"Unknown IO ID 45"} 
[2026-04-17 03:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454751955712001,"power":25147,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":503488394605975552}} 
[2026-04-17 03:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":45528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18837,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:03:17] local.INFO: GPS data processed {"connection_id":45528,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:03:17] local.INFO: Acknowledgment sent {"connection_id":45528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:03:29] local.INFO: TCP Data received {"connection_id":46281,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9835b5b0012d6beb800611bca0000100a731..."} 
[2026-04-17 03:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9835b5b0012d6beb800611bca0000100a731..."} 
[2026-04-17 03:03:29] local.INFO: Processing buffer {"connection_id":46281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9835b5b0012d6beb800611bca0000100a731..."} 
[2026-04-17 03:03:29] local.INFO: Packet analysis {"connection_id":46281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9835"} 
[2026-04-17 03:03:29] local.INFO: Extracted packet for processing {"connection_id":46281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9835"} 
[2026-04-17 03:03:29] local.INFO: GPS Element Parsed {"raw_longitude":762047360,"raw_latitude":101825696,"longitude_deg":76.204736,"latitude_deg":10.1825696,"altitude":1,"angle":167,"satellites":49,"speed":22,"hex_longitude":"2d6beb80","hex_latitude":"0611bca0","is_valid_coordinates":true} 
[2026-04-17 03:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752035584001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273714756785799168,"note":"Value kept but may cause issues"} 
[2026-04-17 03:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7774761095283040256,"note":"Value kept but may cause issues"} 
[2026-04-17 03:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776375150000,"timestamp_ms":1776375150000,"timestamp_seconds":1776375150,"priority":1,"record_length":96,"hex_timestamp":"0000019d9835b5b0"} 
[2026-04-17 03:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:03: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-04-17 03:03:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 03:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:03:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:03: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-04-17 03:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752035584001,"66":27463,"138":206,"79":46336,"24":22,"16":273714756785799168,"45":7774761095283040256},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-04-17 03:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752035584001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:03:29] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-04-17 03:03:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273714756785799168,"km_value":273714756785799.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7774761095283040256,"description":"Unknown IO ID 45"} 
[2026-04-17 03:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752035584001,"power":27463,"unknown_138":206,"unknown_79":46336,"ignition":22,"odometer":null,"unknown_45":7774761095283040256}} 
[2026-04-17 03:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":46281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:03:29] local.INFO: GPS data processed {"connection_id":46281,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:03:29] local.INFO: Acknowledgment sent {"connection_id":46281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:03:49] local.INFO: TCP Data received {"connection_id":45528,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9836cef0012d06fc0006fd0578000b011e32..."} 
[2026-04-17 03:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9836cef0012d06fc0006fd0578000b011e32..."} 
[2026-04-17 03:03:49] local.INFO: Processing buffer {"connection_id":45528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9836cef0012d06fc0006fd0578000b011e32..."} 
[2026-04-17 03:03:49] local.INFO: Packet analysis {"connection_id":45528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9836"} 
[2026-04-17 03:03:49] local.INFO: Extracted packet for processing {"connection_id":45528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9836"} 
[2026-04-17 03:03:49] local.INFO: GPS Element Parsed {"raw_longitude":755432448,"raw_latitude":117245304,"longitude_deg":75.5432448,"latitude_deg":11.7245304,"altitude":11,"angle":286,"satellites":50,"speed":0,"hex_longitude":"2d06fc00","hex_latitude":"06fd0578","is_valid_coordinates":true} 
[2026-04-17 03:03: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-04-17 03:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752032768001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":503277288373450752,"note":"Value kept but may cause issues"} 
[2026-04-17 03:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776375222000,"timestamp_ms":1776375222000,"timestamp_seconds":1776375222,"priority":1,"record_length":96,"hex_timestamp":"0000019d9836cef0"} 
[2026-04-17 03:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:03:49] 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-04-17 03:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 03:03: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-04-17 03: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-04-17 03:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45528,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752032768001,"66":25191,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":503277288373450752},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 03:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752032768001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:03:49] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:03:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":503277288373450752,"description":"Unknown IO ID 45"} 
[2026-04-17 03:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752032768001,"power":25191,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":503277288373450752}} 
[2026-04-17 03:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":45528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18839,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:03:49] local.INFO: GPS data processed {"connection_id":45528,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:03:49] local.INFO: Acknowledgment sent {"connection_id":45528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:03:57] local.INFO: TCP Data received {"connection_id":45462,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:03:57] local.INFO: Processing buffer {"connection_id":45462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:03:57] local.INFO: IMEI packet received {"connection_id":45462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":45462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:03:58] local.INFO: TCP Data received {"connection_id":45462,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:03:58] local.INFO: Processing buffer {"connection_id":45462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:03:58] local.INFO: IMEI packet received {"connection_id":45462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:03:58] local.INFO: IMEI acknowledgment sent {"connection_id":45462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:03:59] local.INFO: TCP Data received {"connection_id":45462,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:03:59] local.INFO: Processing buffer {"connection_id":45462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:03:59] local.INFO: IMEI packet received {"connection_id":45462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:03:59] local.INFO: IMEI acknowledgment sent {"connection_id":45462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:04:01] local.INFO: TCP Data received {"connection_id":45462,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d983607b8012d6bef400611a790000200ab31..."} 
[2026-04-17 03:04:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983607b8012d6bef400611a790000200ab31..."} 
[2026-04-17 03:04:01] local.INFO: Processing buffer {"connection_id":45462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983607b8012d6bef400611a790000200ab31..."} 
[2026-04-17 03:04:01] local.INFO: Packet analysis {"connection_id":45462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9836"} 
[2026-04-17 03:04:01] local.INFO: Extracted packet for processing {"connection_id":45462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9836"} 
[2026-04-17 03:04:01] local.INFO: GPS Element Parsed {"raw_longitude":762048320,"raw_latitude":101820304,"longitude_deg":76.204832,"latitude_deg":10.1820304,"altitude":2,"angle":171,"satellites":49,"speed":13,"hex_longitude":"2d6bef40","hex_latitude":"0611a790","is_valid_coordinates":true} 
[2026-04-17 03:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:04:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752038400001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:04:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273715023073771520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:04:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7776449945141026816,"note":"Value kept but may cause issues"} 
[2026-04-17 03:04:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:04:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776375171000,"timestamp_ms":1776375171000,"timestamp_seconds":1776375171,"priority":1,"record_length":96,"hex_timestamp":"0000019d983607b8"} 
[2026-04-17 03:04:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:04:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:04:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 03:04: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-04-17 03:04:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:04:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:04:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:04:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:04:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:04:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:04: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-04-17 03:04:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:04:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:04:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752038400001,"66":27332,"138":206,"79":46336,"24":13,"16":273715023073771520,"45":7776449945141026816},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-04-17 03:04:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:04:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:04:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752038400001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:04:01] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-04-17 03:04:01] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:04:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273715023073771520,"km_value":273715023073771.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:04:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7776449945141026816,"description":"Unknown IO ID 45"} 
[2026-04-17 03:04:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752038400001,"power":27332,"unknown_138":206,"unknown_79":46336,"ignition":13,"odometer":null,"unknown_45":7776449945141026816}} 
[2026-04-17 03:04:01] local.INFO: DEBUG: GPS processor result {"connection_id":45462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:04:01] local.INFO: GPS data processed {"connection_id":45462,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:04:01] local.INFO: Acknowledgment sent {"connection_id":45462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:04:02] local.INFO: TCP Data received {"connection_id":45462,"ip":"42.106.6.18","data_length":1348,"data_hex":"000000000000030f8e0a0000019d98362310012d6bf18006119df8000400a031..."} 
[2026-04-17 03:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45462,"packet_length":1348,"packet_hex":"000000000000030f8e0a0000019d98362310012d6bf18006119df8000400a031..."} 
[2026-04-17 03:04:02] local.INFO: Processing buffer {"connection_id":45462,"buffer_length":1348,"buffer_hex":"000000000000030f8e0a0000019d98362310012d6bf18006119df8000400a031..."} 
[2026-04-17 03:04:02] local.INFO: Packet analysis {"connection_id":45462,"data_field_length":783,"total_packet_length":795,"buffer_length":1348,"packet_hex_start":"000000000000030f8e0a0000019d9836"} 
[2026-04-17 03:04:02] local.INFO: Extracted packet for processing {"connection_id":45462,"packet_length":795,"remaining_buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019d9836"} 
[2026-04-17 03:04:02] local.INFO: GPS Element Parsed {"raw_longitude":762048896,"raw_latitude":101817848,"longitude_deg":76.2048896,"latitude_deg":10.1817848,"altitude":4,"angle":160,"satellites":49,"speed":15,"hex_longitude":"2d6bf180","hex_latitude":"06119df8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752043776001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273715147627823104,"note":"Value kept but may cause issues"} 
[2026-04-17 03:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7777505476302311424,"note":"Value kept but may cause issues"} 
[2026-04-17 03:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,138,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776375178000,"timestamp_ms":1776375178000,"timestamp_seconds":1776375178,"priority":1,"record_length":96,"hex_timestamp":"0000019d98362310"} 
[2026-04-17 03:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 03:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752043776001,"66":27321,"138":206,"79":46336,"24":15,"16":273715147627823104,"45":7777505476302311424},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,138,79,24,16,45]} 
[2026-04-17 03:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752043776001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:04:02] local.INFO: Unknown IO ID detected {"io_id":138,"value":206,"description":"Unknown IO ID 138"} 
[2026-04-17 03:04:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273715147627823104,"km_value":273715147627823.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7777505476302311424,"description":"Unknown IO ID 45"} 
[2026-04-17 03:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752043776001,"power":27321,"unknown_138":206,"unknown_79":46336,"ignition":15,"odometer":null,"unknown_45":7777505476302311424}} 
[2026-04-17 03:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":45462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:04:02] local.INFO: GPS data processed {"connection_id":45462,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:04:02] local.INFO: Acknowledgment sent {"connection_id":45462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:04:02] local.INFO: Packet analysis {"connection_id":45462,"data_field_length":783,"total_packet_length":795,"buffer_length":553,"packet_hex_start":"000000000000030f8e0a0000019d9836"} 
[2026-04-17 03:04:02] local.INFO: Incomplete packet, waiting for more data {"connection_id":45462,"needed":795,"available":553} 
[2026-04-17 03:04:05] local.INFO: TCP Data received {"connection_id":45730,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:04:05] local.INFO: Processing buffer {"connection_id":45730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:04:05] local.INFO: IMEI packet received {"connection_id":45730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":45730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:04:07] local.INFO: TCP Data received {"connection_id":45730,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:04:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:04:07] local.INFO: Processing buffer {"connection_id":45730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:04:07] local.INFO: IMEI packet received {"connection_id":45730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:04:07] local.INFO: IMEI acknowledgment sent {"connection_id":45730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:04:11] local.INFO: TCP Data received {"connection_id":45730,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:04:11] local.INFO: Processing buffer {"connection_id":45730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:04:11] local.INFO: IMEI packet received {"connection_id":45730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":45730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:04:12] local.INFO: TCP Data received {"connection_id":45730,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d983728c8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983728c8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:04:12] local.INFO: Processing buffer {"connection_id":45730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983728c8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:04:12] local.INFO: Packet analysis {"connection_id":45730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9837"} 
[2026-04-17 03:04:12] local.INFO: Extracted packet for processing {"connection_id":45730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9837"} 
[2026-04-17 03:04:12] local.INFO: GPS Element Parsed {"raw_longitude":755432640,"raw_latitude":117245272,"longitude_deg":75.543264,"latitude_deg":11.7245272,"altitude":11,"angle":286,"satellites":50,"speed":0,"hex_longitude":"2d06fcc0","hex_latitude":"06fd0558","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752056832001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":503277288373450752,"note":"Value kept but may cause issues"} 
[2026-04-17 03:04:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776375245000,"timestamp_ms":1776375245000,"timestamp_seconds":1776375245,"priority":1,"record_length":96,"hex_timestamp":"0000019d983728c8"} 
[2026-04-17 03:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:04:12] 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-04-17 03:04:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":103,"data_length":795,"current_offset":136} 
[2026-04-17 03:04: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-04-17 03: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-04-17 03:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752056832001,"66":28115,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":503277288373450752},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 03:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752056832001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:04:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:04:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":503277288373450752,"description":"Unknown IO ID 45"} 
[2026-04-17 03:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752056832001,"power":28115,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":503277288373450752}} 
[2026-04-17 03:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":45730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18842,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:04:12] local.INFO: GPS data processed {"connection_id":45730,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:04:12] local.INFO: Acknowledgment sent {"connection_id":45730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:04:13] local.INFO: TCP Data received {"connection_id":45462,"ip":"42.106.6.18","data_length":242,"data_hex":"0000000000019d983534c8012d6bd64006122b280002009c3100280000000a00..."} 
[2026-04-17 03:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45462,"packet_length":242,"packet_hex":"0000000000019d983534c8012d6bd64006122b280002009c3100280000000a00..."} 
[2026-04-17 03:04:13] local.INFO: Processing buffer {"connection_id":45462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98366578012d6bfcc0061181300002009131..."} 
[2026-04-17 03:04:13] local.INFO: Packet analysis {"connection_id":45462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9836"} 
[2026-04-17 03:04:13] local.INFO: Extracted packet for processing {"connection_id":45462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9836"} 
[2026-04-17 03:04:13] local.INFO: GPS Element Parsed {"raw_longitude":762051776,"raw_latitude":101810480,"longitude_deg":76.2051776,"latitude_deg":10.181048,"altitude":2,"angle":145,"satellites":49,"speed":25,"hex_longitude":"2d6bfcc0","hex_latitude":"06118130","is_valid_coordinates":true} 
[2026-04-17 03:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:04:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752045568001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:04:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273715534174879744,"note":"Value kept but may cause issues"} 
[2026-04-17 03:04:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7778138794999281664,"note":"Value kept but may cause issues"} 
[2026-04-17 03:04:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,91,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:04:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776375195000,"timestamp_ms":1776375195000,"timestamp_seconds":1776375195,"priority":1,"record_length":96,"hex_timestamp":"0000019d98366578"} 
[2026-04-17 03:04:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:04:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:04:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 03:04:13] 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-04-17 03:04:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:04:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:04:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:04:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:04:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:04:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:04:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:04:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:04:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:04:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752045568001,"66":27463,"91":206,"79":46336,"24":25,"16":273715534174879744,"45":7778138794999281664},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,79,24,16,45]} 
[2026-04-17 03:04:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:04:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:04:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752045568001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:04:13] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-04-17 03:04:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:04:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273715534174879744,"km_value":273715534174879.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:04:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7778138794999281664,"description":"Unknown IO ID 45"} 
[2026-04-17 03:04:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752045568001,"power":27463,"unknown_91":206,"unknown_79":46336,"ignition":25,"odometer":null,"unknown_45":7778138794999281664}} 
[2026-04-17 03:04:13] local.INFO: DEBUG: GPS processor result {"connection_id":45462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:04:13] local.INFO: GPS data processed {"connection_id":45462,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:04:13] local.INFO: Acknowledgment sent {"connection_id":45462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:04:44] local.INFO: TCP Data received {"connection_id":45730,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d983776e8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983776e8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:04:44] local.INFO: Processing buffer {"connection_id":45730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983776e8012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:04:44] local.INFO: Packet analysis {"connection_id":45730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9837"} 
[2026-04-17 03:04:44] local.INFO: Extracted packet for processing {"connection_id":45730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9837"} 
[2026-04-17 03:04:44] local.INFO: GPS Element Parsed {"raw_longitude":755432640,"raw_latitude":117245272,"longitude_deg":75.543264,"latitude_deg":11.7245272,"altitude":11,"angle":286,"satellites":50,"speed":0,"hex_longitude":"2d06fcc0","hex_latitude":"06fd0558","is_valid_coordinates":true} 
[2026-04-17 03:04: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-04-17 03:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752062720001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":503488394605975552,"note":"Value kept but may cause issues"} 
[2026-04-17 03:04:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776375265000,"timestamp_ms":1776375265000,"timestamp_seconds":1776375265,"priority":1,"record_length":96,"hex_timestamp":"0000019d983776e8"} 
[2026-04-17 03:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:04:44] 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-04-17 03:04: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":211,"data_length":795,"current_offset":136} 
[2026-04-17 03:04:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2642,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:04: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-04-17 03:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752062720001,"66":28224,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":503488394605975552},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 03:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752062720001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:04:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:04:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":503488394605975552,"description":"Unknown IO ID 45"} 
[2026-04-17 03:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752062720001,"power":28224,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":503488394605975552}} 
[2026-04-17 03:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":45730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18844,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:04:44] local.INFO: GPS data processed {"connection_id":45730,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:04:44] local.INFO: Acknowledgment sent {"connection_id":45730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:04:48] local.INFO: TCP Data received {"connection_id":46282,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:04:48] local.INFO: Processing buffer {"connection_id":46282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:04:48] local.INFO: IMEI packet received {"connection_id":46282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":46282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:04:52] local.INFO: TCP Data received {"connection_id":46282,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:04:52] local.INFO: Processing buffer {"connection_id":46282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:04:52] local.INFO: IMEI packet received {"connection_id":46282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":46282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:04:57] local.INFO: TCP Data received {"connection_id":46282,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:04:57] local.INFO: Processing buffer {"connection_id":46282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:04:57] local.INFO: IMEI packet received {"connection_id":46282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":46282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:04:58] local.INFO: TCP Data received {"connection_id":46282,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98377ad0012d6cb6c006111fc80003005430..."} 
[2026-04-17 03:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98377ad0012d6cb6c006111fc80003005430..."} 
[2026-04-17 03:04:58] local.INFO: Processing buffer {"connection_id":46282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98377ad0012d6cb6c006111fc80003005430..."} 
[2026-04-17 03:04:58] local.INFO: Packet analysis {"connection_id":46282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9837"} 
[2026-04-17 03:04:58] local.INFO: Extracted packet for processing {"connection_id":46282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9837"} 
[2026-04-17 03:04:58] local.INFO: GPS Element Parsed {"raw_longitude":762099392,"raw_latitude":101785544,"longitude_deg":76.2099392,"latitude_deg":10.1785544,"altitude":3,"angle":84,"satellites":48,"speed":23,"hex_longitude":"2d6cb6c0","hex_latitude":"06111fc8","is_valid_coordinates":true} 
[2026-04-17 03:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752064000001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273718214234472448,"note":"Value kept but may cause issues"} 
[2026-04-17 03:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7823948847450843136,"note":"Value kept but may cause issues"} 
[2026-04-17 03:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776375266000,"timestamp_ms":1776375266000,"timestamp_seconds":1776375266,"priority":1,"record_length":96,"hex_timestamp":"0000019d98377ad0"} 
[2026-04-17 03:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:04: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-04-17 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:04: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-04-17 03:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752064000001,"66":27343,"193":206,"79":46336,"24":23,"16":273718214234472448,"45":7823948847450843136},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-04-17 03:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752064000001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:04:58] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-17 03:04:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273718214234472448,"km_value":273718214234472.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7823948847450843136,"description":"Unknown IO ID 45"} 
[2026-04-17 03:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752064000001,"power":27343,"unknown_193":206,"unknown_79":46336,"ignition":23,"odometer":null,"unknown_45":7823948847450843136}} 
[2026-04-17 03:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":46282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:04:58] local.INFO: GPS data processed {"connection_id":46282,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:04:58] local.INFO: Acknowledgment sent {"connection_id":46282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:05:02] local.INFO: TCP Data received {"connection_id":46282,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9837a9b0012d6cd1c0061120e0000400662f..."} 
[2026-04-17 03:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9837a9b0012d6cd1c0061120e0000400662f..."} 
[2026-04-17 03:05:02] local.INFO: Processing buffer {"connection_id":46282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9837a9b0012d6cd1c0061120e0000400662f..."} 
[2026-04-17 03:05:02] local.INFO: Packet analysis {"connection_id":46282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9837"} 
[2026-04-17 03:05:02] local.INFO: Extracted packet for processing {"connection_id":46282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9837"} 
[2026-04-17 03:05:02] local.INFO: GPS Element Parsed {"raw_longitude":762106304,"raw_latitude":101785824,"longitude_deg":76.2106304,"latitude_deg":10.1785824,"altitude":4,"angle":102,"satellites":47,"speed":16,"hex_longitude":"2d6cd1c0","hex_latitude":"061120e0","is_valid_coordinates":true} 
[2026-04-17 03:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:05:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752068096001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:05:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273718544946954240,"note":"Value kept but may cause issues"} 
[2026-04-17 03:05:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7833659734147188736,"note":"Value kept but may cause issues"} 
[2026-04-17 03:05:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:05:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776375278000,"timestamp_ms":1776375278000,"timestamp_seconds":1776375278,"priority":1,"record_length":96,"hex_timestamp":"0000019d9837a9b0"} 
[2026-04-17 03:05:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:05:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:05:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:05:02] 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-04-17 03:05:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:05:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:05:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:05:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:05:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:05:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:05:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:05:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:05:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:05:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752068096001,"66":27539,"193":206,"79":46336,"24":16,"16":273718544946954240,"45":7833659734147188736},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-04-17 03:05:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:05:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:05:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752068096001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:05:02] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-17 03:05:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:05:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273718544946954240,"km_value":273718544946954.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:05:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7833659734147188736,"description":"Unknown IO ID 45"} 
[2026-04-17 03:05:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752068096001,"power":27539,"unknown_193":206,"unknown_79":46336,"ignition":16,"odometer":null,"unknown_45":7833659734147188736}} 
[2026-04-17 03:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":46282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:05:02] local.INFO: GPS data processed {"connection_id":46282,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:05:02] local.INFO: Acknowledgment sent {"connection_id":46282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:05:05] local.INFO: TCP Data received {"connection_id":45463,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:05:05] local.INFO: Processing buffer {"connection_id":45463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:05:05] local.INFO: IMEI packet received {"connection_id":45463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":45463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:05:10] local.INFO: TCP Data received {"connection_id":45463,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45463,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:05:10] local.INFO: Processing buffer {"connection_id":45463,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:05:10] local.INFO: IMEI packet received {"connection_id":45463,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":45463,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:05:11] local.INFO: TCP Data received {"connection_id":45463,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9837c8f0012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9837c8f0012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:05:11] local.INFO: Processing buffer {"connection_id":45463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9837c8f0012d06fcc006fd0558000b011e32..."} 
[2026-04-17 03:05:11] local.INFO: Packet analysis {"connection_id":45463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9837"} 
[2026-04-17 03:05:11] local.INFO: Extracted packet for processing {"connection_id":45463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9837"} 
[2026-04-17 03:05:11] local.INFO: GPS Element Parsed {"raw_longitude":755432640,"raw_latitude":117245272,"longitude_deg":75.543264,"latitude_deg":11.7245272,"altitude":11,"angle":286,"satellites":50,"speed":0,"hex_longitude":"2d06fcc0","hex_latitude":"06fd0558","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752067840001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":503488394605975552,"note":"Value kept but may cause issues"} 
[2026-04-17 03:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776375286000,"timestamp_ms":1776375286000,"timestamp_seconds":1776375286,"priority":1,"record_length":96,"hex_timestamp":"0000019d9837c8f0"} 
[2026-04-17 03:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:05:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-04-17 03:05:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752067840001,"66":28278,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":503488394605975552},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 03:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752067840001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:05:11] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:05:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":503488394605975552,"description":"Unknown IO ID 45"} 
[2026-04-17 03:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752067840001,"power":28278,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":503488394605975552}} 
[2026-04-17 03:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":45463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18847,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:05:11] local.INFO: GPS data processed {"connection_id":45463,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:05:11] local.INFO: Acknowledgment sent {"connection_id":45463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:05:34] local.INFO: TCP Data received {"connection_id":46282,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9837b950012d6cd78006111ef80004007430..."} 
[2026-04-17 03:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9837b950012d6cd78006111ef80004007430..."} 
[2026-04-17 03:05:34] local.INFO: Processing buffer {"connection_id":46282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9837b950012d6cd78006111ef80004007430..."} 
[2026-04-17 03:05:34] local.INFO: Packet analysis {"connection_id":46282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9837"} 
[2026-04-17 03:05:34] local.INFO: Extracted packet for processing {"connection_id":46282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9837"} 
[2026-04-17 03:05:34] local.INFO: GPS Element Parsed {"raw_longitude":762107776,"raw_latitude":101785336,"longitude_deg":76.2107776,"latitude_deg":10.1785336,"altitude":4,"angle":116,"satellites":48,"speed":14,"hex_longitude":"2d6cd780","hex_latitude":"06111ef8","is_valid_coordinates":true} 
[2026-04-17 03:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:05:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752071168001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:05:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273718617961398272,"note":"Value kept but may cause issues"} 
[2026-04-17 03:05:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7841259558518448128,"note":"Value kept but may cause issues"} 
[2026-04-17 03:05:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:05:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776375282000,"timestamp_ms":1776375282000,"timestamp_seconds":1776375282,"priority":1,"record_length":96,"hex_timestamp":"0000019d9837b950"} 
[2026-04-17 03:05:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:05: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-04-17 03:05:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-17 03:05:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:05:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:05:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:05:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:05:34] local.INFO: Teltonika packet parsed successfully {"connection_id":46282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:05:34] local.INFO: Passing IMEI to GPS processor {"connection_id":46282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:05:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":46282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:05:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:05:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:05:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:05:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752071168001,"66":27463,"193":206,"79":46336,"24":14,"16":273718617961398272,"45":7841259558518448128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-04-17 03:05:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:05:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:05:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752071168001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:05:34] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-17 03:05:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:05:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273718617961398272,"km_value":273718617961398.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:05:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7841259558518448128,"description":"Unknown IO ID 45"} 
[2026-04-17 03:05:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752071168001,"power":27463,"unknown_193":206,"unknown_79":46336,"ignition":14,"odometer":null,"unknown_45":7841259558518448128}} 
[2026-04-17 03:05:34] local.INFO: DEBUG: GPS processor result {"connection_id":46282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18848,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:05:34] local.INFO: GPS data processed {"connection_id":46282,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:05:34] local.INFO: Acknowledgment sent {"connection_id":46282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:05:43] local.INFO: TCP Data received {"connection_id":45463,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d983842080100000000000000000000000000..."} 
[2026-04-17 03:05:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983842080100000000000000000000000000..."} 
[2026-04-17 03:05:43] local.INFO: Processing buffer {"connection_id":45463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983842080100000000000000000000000000..."} 
[2026-04-17 03:05:43] local.INFO: Packet analysis {"connection_id":45463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9838"} 
[2026-04-17 03:05:43] local.INFO: Extracted packet for processing {"connection_id":45463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9838"} 
[2026-04-17 03:05: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-04-17 03: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-04-17 03:05:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752073216001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:05:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:05:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":503488394605975552,"note":"Value kept but may cause issues"} 
[2026-04-17 03:05:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:05:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776375317000,"timestamp_ms":1776375317000,"timestamp_seconds":1776375317,"priority":1,"record_length":96,"hex_timestamp":"0000019d98384208"} 
[2026-04-17 03:05:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:05:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 03:05:43] 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-04-17 03: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-04-17 03:05:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:05:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:05:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:05:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:05:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45463,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:05:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:05:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:05:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:05:43] local.INFO: DEBUG: GPS processor result {"connection_id":45463,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:05:43] local.INFO: GPS data processed {"connection_id":45463,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:05:43] local.INFO: Acknowledgment sent {"connection_id":45463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:05:52] local.INFO: TCP Data received {"connection_id":45529,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:05:52] local.INFO: Processing buffer {"connection_id":45529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:05:52] local.INFO: IMEI packet received {"connection_id":45529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":45529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:05:55] local.INFO: TCP Data received {"connection_id":45529,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:05:55] local.INFO: Processing buffer {"connection_id":45529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:05:55] local.INFO: IMEI packet received {"connection_id":45529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":45529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:05:56] local.INFO: TCP Data received {"connection_id":45529,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9837c120012d6cd98006111d400005008830..."} 
[2026-04-17 03:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9837c120012d6cd98006111d400005008830..."} 
[2026-04-17 03:05:56] local.INFO: Processing buffer {"connection_id":45529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9837c120012d6cd98006111d400005008830..."} 
[2026-04-17 03:05:56] local.INFO: Packet analysis {"connection_id":45529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9837"} 
[2026-04-17 03:05:56] local.INFO: Extracted packet for processing {"connection_id":45529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9837"} 
[2026-04-17 03:05:56] local.INFO: GPS Element Parsed {"raw_longitude":762108288,"raw_latitude":101784896,"longitude_deg":76.2108288,"latitude_deg":10.1784896,"altitude":5,"angle":136,"satellites":48,"speed":14,"hex_longitude":"2d6cd980","hex_latitude":"06111d40","is_valid_coordinates":true} 
[2026-04-17 03:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752072192001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273718652321136640,"note":"Value kept but may cause issues"} 
[2026-04-17 03:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7842878039634409472,"note":"Value kept but may cause issues"} 
[2026-04-17 03:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,193,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776375284000,"timestamp_ms":1776375284000,"timestamp_seconds":1776375284,"priority":1,"record_length":96,"hex_timestamp":"0000019d9837c120"} 
[2026-04-17 03:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 03:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:05:56] 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-04-17 03:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752072192001,"66":27321,"193":206,"79":46336,"24":14,"16":273718652321136640,"45":7842878039634409472},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,79,24,16,45]} 
[2026-04-17 03:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752072192001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:05:56] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-17 03:05:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273718652321136640,"km_value":273718652321136.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7842878039634409472,"description":"Unknown IO ID 45"} 
[2026-04-17 03:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752072192001,"power":27321,"unknown_193":206,"unknown_79":46336,"ignition":14,"odometer":null,"unknown_45":7842878039634409472}} 
[2026-04-17 03:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":45529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:05:56] local.INFO: GPS data processed {"connection_id":45529,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:05:56] local.INFO: Acknowledgment sent {"connection_id":45529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:06:06] local.INFO: TCP Data received {"connection_id":46283,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:06:06] local.INFO: Processing buffer {"connection_id":46283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:06:06] local.INFO: IMEI packet received {"connection_id":46283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":46283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:06:10] local.INFO: TCP Data received {"connection_id":46283,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46283,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:06:10] local.INFO: Processing buffer {"connection_id":46283,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:06:10] local.INFO: IMEI packet received {"connection_id":46283,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":46283,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:06:12] local.INFO: TCP Data received {"connection_id":46283,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98382e80012d071d8006fcd7880008008634..."} 
[2026-04-17 03:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98382e80012d071d8006fcd7880008008634..."} 
[2026-04-17 03:06:12] local.INFO: Processing buffer {"connection_id":46283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98382e80012d071d8006fcd7880008008634..."} 
[2026-04-17 03:06:12] local.INFO: Packet analysis {"connection_id":46283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9838"} 
[2026-04-17 03:06:12] local.INFO: Extracted packet for processing {"connection_id":46283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9838"} 
[2026-04-17 03:06:12] local.INFO: GPS Element Parsed {"raw_longitude":755441024,"raw_latitude":117233544,"longitude_deg":75.5441024,"latitude_deg":11.7233544,"altitude":8,"angle":134,"satellites":52,"speed":7,"hex_longitude":"2d071d80","hex_latitude":"06fcd788","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:06:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,207,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776375312000,"timestamp_ms":1776375312000,"timestamp_seconds":1776375312,"priority":1,"record_length":96,"hex_timestamp":"0000019d98382e80"} 
[2026-04-17 03:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:06:12] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 03:06:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27974,"207":206,"28":32256,"24":7,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16]} 
[2026-04-17 03:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:06:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:06:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:06:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27974,"unknown_207":206,"unknown_28":32256,"ignition":7,"odometer":null}} 
[2026-04-17 03:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":46283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18850,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:06:12] local.INFO: GPS data processed {"connection_id":46283,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:06:12] local.INFO: Acknowledgment sent {"connection_id":46283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:06:27] local.INFO: TCP Data received {"connection_id":45529,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98391110012d6d0d40061034d8000100b230..."} 
[2026-04-17 03:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98391110012d6d0d40061034d8000100b230..."} 
[2026-04-17 03:06:27] local.INFO: Processing buffer {"connection_id":45529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98391110012d6d0d40061034d8000100b230..."} 
[2026-04-17 03:06:27] local.INFO: Packet analysis {"connection_id":45529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:06:27] local.INFO: Extracted packet for processing {"connection_id":45529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:06:27] local.INFO: GPS Element Parsed {"raw_longitude":762121536,"raw_latitude":101725400,"longitude_deg":76.2121536,"latitude_deg":10.17254,"altitude":1,"angle":178,"satellites":48,"speed":34,"hex_longitude":"2d6d0d40","hex_latitude":"061034d8","is_valid_coordinates":true} 
[2026-04-17 03:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752093184001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273721658798243840,"note":"Value kept but may cause issues"} 
[2026-04-17 03:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7856951788455960576,"note":"Value kept but may cause issues"} 
[2026-04-17 03:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776375370000,"timestamp_ms":1776375370000,"timestamp_seconds":1776375370,"priority":1,"record_length":96,"hex_timestamp":"0000019d98391110"} 
[2026-04-17 03:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752093184001,"66":27376,"207":206,"79":46336,"24":34,"16":273721658798243840,"45":7856951788455960576},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,79,24,16,45]} 
[2026-04-17 03:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752093184001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:06:27] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:06:27] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273721658798243840,"km_value":273721658798243.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":7856951788455960576,"description":"Unknown IO ID 45"} 
[2026-04-17 03:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752093184001,"power":27376,"unknown_207":206,"unknown_79":46336,"ignition":34,"odometer":null,"unknown_45":7856951788455960576}} 
[2026-04-17 03:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":45529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:06:27] local.INFO: GPS data processed {"connection_id":45529,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:06:27] local.INFO: Acknowledgment sent {"connection_id":45529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:06:43] local.INFO: TCP Data received {"connection_id":46283,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98388088012d071d8006fcd7880008008634..."} 
[2026-04-17 03:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46283,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98388088012d071d8006fcd7880008008634..."} 
[2026-04-17 03:06:43] local.INFO: Processing buffer {"connection_id":46283,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98388088012d071d8006fcd7880008008634..."} 
[2026-04-17 03:06:43] local.INFO: Packet analysis {"connection_id":46283,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9838"} 
[2026-04-17 03:06:43] local.INFO: Extracted packet for processing {"connection_id":46283,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9838"} 
[2026-04-17 03:06:43] local.INFO: GPS Element Parsed {"raw_longitude":755441024,"raw_latitude":117233544,"longitude_deg":75.5441024,"latitude_deg":11.7233544,"altitude":8,"angle":134,"satellites":52,"speed":0,"hex_longitude":"2d071d80","hex_latitude":"06fcd788","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752079872001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":512706700090247168,"note":"Value kept but may cause issues"} 
[2026-04-17 03:06:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776375333000,"timestamp_ms":1776375333000,"timestamp_seconds":1776375333,"priority":1,"record_length":96,"hex_timestamp":"0000019d98388088"} 
[2026-04-17 03:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 03:06: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-04-17 03: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-04-17 03:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46283,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46283,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752079872001,"66":28050,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":512706700090247168},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 03:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752079872001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:06:43] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:06:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":512706700090247168,"description":"Unknown IO ID 45"} 
[2026-04-17 03:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752079872001,"power":28050,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":512706700090247168}} 
[2026-04-17 03:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":46283,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18852,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:06:43] local.INFO: GPS data processed {"connection_id":46283,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:06:43] local.INFO: Acknowledgment sent {"connection_id":46283,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:06:52] local.INFO: TCP Data received {"connection_id":45464,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:06:52] local.INFO: Processing buffer {"connection_id":45464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:06:52] local.INFO: IMEI packet received {"connection_id":45464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":45464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:06:57] local.INFO: TCP Data received {"connection_id":45464,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:06:57] local.INFO: Processing buffer {"connection_id":45464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:06:57] local.INFO: IMEI packet received {"connection_id":45464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":45464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:06:58] local.INFO: TCP Data received {"connection_id":45464,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98391cc8012d6d0c4006102a80000200bf31..."} 
[2026-04-17 03:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98391cc8012d6d0c4006102a80000200bf31..."} 
[2026-04-17 03:06:58] local.INFO: Processing buffer {"connection_id":45464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98391cc8012d6d0c4006102a80000200bf31..."} 
[2026-04-17 03:06:58] local.INFO: Packet analysis {"connection_id":45464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:06:58] local.INFO: Extracted packet for processing {"connection_id":45464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:06:58] local.INFO: GPS Element Parsed {"raw_longitude":762121280,"raw_latitude":101722752,"longitude_deg":76.212128,"latitude_deg":10.1722752,"altitude":2,"angle":191,"satellites":49,"speed":35,"hex_longitude":"2d6d0c40","hex_latitude":"06102a80","is_valid_coordinates":true} 
[2026-04-17 03:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752094720001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273721787647262720,"note":"Value kept but may cause issues"} 
[2026-04-17 03:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7858007319617263616,"note":"Value kept but may cause issues"} 
[2026-04-17 03:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776375373000,"timestamp_ms":1776375373000,"timestamp_seconds":1776375373,"priority":1,"record_length":96,"hex_timestamp":"0000019d98391cc8"} 
[2026-04-17 03:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:06: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-04-17 03:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:06: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-04-17 03:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752094720001,"66":27484,"206":206,"79":46336,"24":35,"16":273721787647262720,"45":7858007319617263616},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,79,24,16,45]} 
[2026-04-17 03:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752094720001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:06:58] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 03:06:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273721787647262720,"km_value":273721787647262.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7858007319617263616,"description":"Unknown IO ID 45"} 
[2026-04-17 03:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752094720001,"power":27484,"unknown_206":206,"unknown_79":46336,"ignition":35,"odometer":null,"unknown_45":7858007319617263616}} 
[2026-04-17 03:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":45464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:06:58] local.INFO: GPS data processed {"connection_id":45464,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:06:58] local.INFO: Acknowledgment sent {"connection_id":45464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:07:05] local.INFO: TCP Data received {"connection_id":45731,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:07:05] local.INFO: Processing buffer {"connection_id":45731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:07:05] local.INFO: IMEI packet received {"connection_id":45731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":45731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:07:10] local.INFO: TCP Data received {"connection_id":45731,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45731,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:07:10] local.INFO: Processing buffer {"connection_id":45731,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:07:10] local.INFO: IMEI packet received {"connection_id":45731,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":45731,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:07:12] local.INFO: TCP Data received {"connection_id":45731,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9838d290012d07458006fca8000006008b37..."} 
[2026-04-17 03:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9838d290012d07458006fca8000006008b37..."} 
[2026-04-17 03:07:12] local.INFO: Processing buffer {"connection_id":45731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9838d290012d07458006fca8000006008b37..."} 
[2026-04-17 03:07:12] local.INFO: Packet analysis {"connection_id":45731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9838"} 
[2026-04-17 03:07:12] local.INFO: Extracted packet for processing {"connection_id":45731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9838"} 
[2026-04-17 03:07:12] local.INFO: GPS Element Parsed {"raw_longitude":755451264,"raw_latitude":117221376,"longitude_deg":75.5451264,"latitude_deg":11.7221376,"altitude":6,"angle":139,"satellites":55,"speed":0,"hex_longitude":"2d074580","hex_latitude":"06fca800","is_valid_coordinates":true} 
[2026-04-17 03:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752085248001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":512706700090247168,"note":"Value kept but may cause issues"} 
[2026-04-17 03:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776375354000,"timestamp_ms":1776375354000,"timestamp_seconds":1776375354,"priority":1,"record_length":96,"hex_timestamp":"0000019d9838d290"} 
[2026-04-17 03:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:07:12] 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-04-17 03:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-17 03:07:12] 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-04-17 03:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45731,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45731,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752085248001,"66":27865,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":512706700090247168},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 03:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752085248001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:07:12] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:07:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":512706700090247168,"description":"Unknown IO ID 45"} 
[2026-04-17 03:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752085248001,"power":27865,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":512706700090247168}} 
[2026-04-17 03:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":45731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18854,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:07:12] local.INFO: GPS data processed {"connection_id":45731,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:07:12] local.INFO: Acknowledgment sent {"connection_id":45731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:07:29] local.INFO: TCP Data received {"connection_id":45464,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98393438012d6d0900061014e8000300b331..."} 
[2026-04-17 03:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98393438012d6d0900061014e8000300b331..."} 
[2026-04-17 03:07:29] local.INFO: Processing buffer {"connection_id":45464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98393438012d6d0900061014e8000300b331..."} 
[2026-04-17 03:07:29] local.INFO: Packet analysis {"connection_id":45464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:07:29] local.INFO: Extracted packet for processing {"connection_id":45464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:07:29] local.INFO: GPS Element Parsed {"raw_longitude":762120448,"raw_latitude":101717224,"longitude_deg":76.2120448,"latitude_deg":10.1717224,"altitude":3,"angle":179,"satellites":49,"speed":37,"hex_longitude":"2d6d0900","hex_latitude":"061014e8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752095488001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273722058230202368,"note":"Value kept but may cause issues"} 
[2026-04-17 03:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7857725844639875072,"note":"Value kept but may cause issues"} 
[2026-04-17 03:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776375379000,"timestamp_ms":1776375379000,"timestamp_seconds":1776375379,"priority":1,"record_length":96,"hex_timestamp":"0000019d98393438"} 
[2026-04-17 03:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:07: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-04-17 03: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 03:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:07: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-04-17 03:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752095488001,"66":27463,"206":206,"79":46336,"24":37,"16":273722058230202368,"45":7857725844639875072},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,79,24,16,45]} 
[2026-04-17 03:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752095488001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:07:29] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 03:07:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273722058230202368,"km_value":273722058230202.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7857725844639875072,"description":"Unknown IO ID 45"} 
[2026-04-17 03:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752095488001,"power":27463,"unknown_206":206,"unknown_79":46336,"ignition":37,"odometer":null,"unknown_45":7857725844639875072}} 
[2026-04-17 03:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":45464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:07:29] local.INFO: GPS data processed {"connection_id":45464,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:07:29] local.INFO: Acknowledgment sent {"connection_id":45464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:07:43] local.INFO: TCP Data received {"connection_id":45731,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98392498012d07710006fc7588000b008b37..."} 
[2026-04-17 03:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98392498012d07710006fc7588000b008b37..."} 
[2026-04-17 03:07:43] local.INFO: Processing buffer {"connection_id":45731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98392498012d07710006fc7588000b008b37..."} 
[2026-04-17 03:07:43] local.INFO: Packet analysis {"connection_id":45731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:07:43] local.INFO: Extracted packet for processing {"connection_id":45731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:07:43] local.INFO: GPS Element Parsed {"raw_longitude":755462400,"raw_latitude":117208456,"longitude_deg":75.54624,"latitude_deg":11.7208456,"altitude":11,"angle":139,"satellites":55,"speed":0,"hex_longitude":"2d077100","hex_latitude":"06fc7588","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752090624001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":523965699155558400,"note":"Value kept but may cause issues"} 
[2026-04-17 03:07:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776375375000,"timestamp_ms":1776375375000,"timestamp_seconds":1776375375,"priority":1,"record_length":96,"hex_timestamp":"0000019d98392498"} 
[2026-04-17 03:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-17 03:07:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45731,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45731,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752090624001,"66":27843,"207":206,"28":32256,"24":0,"16":106618783551979520,"45":523965699155558400},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16,45]} 
[2026-04-17 03:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752090624001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:07:43] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:07:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":523965699155558400,"description":"Unknown IO ID 45"} 
[2026-04-17 03:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752090624001,"power":27843,"unknown_207":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":523965699155558400}} 
[2026-04-17 03:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":45731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18856,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:07:43] local.INFO: GPS data processed {"connection_id":45731,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:07:43] local.INFO: Acknowledgment sent {"connection_id":45731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:07:52] local.INFO: TCP Data received {"connection_id":46284,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:07:52] local.INFO: Processing buffer {"connection_id":46284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:07:52] local.INFO: IMEI packet received {"connection_id":46284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":46284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:07:56] local.INFO: TCP Data received {"connection_id":46284,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46284,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:07:56] local.INFO: Processing buffer {"connection_id":46284,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:07:56] local.INFO: IMEI packet received {"connection_id":46284,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":46284,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:07:56] local.INFO: TCP Data received {"connection_id":46284,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98395b48012d6d0bc0060ff170000600ae31..."} 
[2026-04-17 03:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98395b48012d6d0bc0060ff170000600ae31..."} 
[2026-04-17 03:07:56] local.INFO: Processing buffer {"connection_id":46284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98395b48012d6d0bc0060ff170000600ae31..."} 
[2026-04-17 03:07:56] local.INFO: Packet analysis {"connection_id":46284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:07:56] local.INFO: Extracted packet for processing {"connection_id":46284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:07:56] local.INFO: GPS Element Parsed {"raw_longitude":762121152,"raw_latitude":101708144,"longitude_deg":76.2121152,"latitude_deg":10.1708144,"altitude":6,"angle":174,"satellites":49,"speed":31,"hex_longitude":"2d6d0bc0","hex_latitude":"060ff170","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752097024001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273722500611833856,"note":"Value kept but may cause issues"} 
[2026-04-17 03:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7856811050964150272,"note":"Value kept but may cause issues"} 
[2026-04-17 03:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,206,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776375389000,"timestamp_ms":1776375389000,"timestamp_seconds":1776375389,"priority":1,"record_length":96,"hex_timestamp":"0000019d98395b48"} 
[2026-04-17 03:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 03:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:07:56] 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-04-17 03:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752097024001,"66":27376,"206":206,"79":46336,"24":31,"16":273722500611833856,"45":7856811050964150272},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,206,79,24,16,45]} 
[2026-04-17 03:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752097024001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:07:56] local.INFO: Unknown IO ID detected {"io_id":206,"value":206,"description":"Unknown IO ID 206"} 
[2026-04-17 03:07:56] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273722500611833856,"km_value":273722500611833.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7856811050964150272,"description":"Unknown IO ID 45"} 
[2026-04-17 03:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752097024001,"power":27376,"unknown_206":206,"unknown_79":46336,"ignition":31,"odometer":null,"unknown_45":7856811050964150272}} 
[2026-04-17 03:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":46284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:07:56] local.INFO: GPS data processed {"connection_id":46284,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:07:56] local.INFO: Acknowledgment sent {"connection_id":46284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:08:05] local.INFO: TCP Data received {"connection_id":45530,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:08:05] local.INFO: Processing buffer {"connection_id":45530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:08:05] local.INFO: IMEI packet received {"connection_id":45530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":45530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:08:11] local.INFO: TCP Data received {"connection_id":45530,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:08:11] local.INFO: Processing buffer {"connection_id":45530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:08:11] local.INFO: IMEI packet received {"connection_id":45530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":45530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:08:12] local.INFO: TCP Data received {"connection_id":45530,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98399db00100000000000000000000000000..."} 
[2026-04-17 03:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98399db00100000000000000000000000000..."} 
[2026-04-17 03:08:12] local.INFO: Processing buffer {"connection_id":45530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98399db00100000000000000000000000000..."} 
[2026-04-17 03:08:12] local.INFO: Packet analysis {"connection_id":45530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:08:12] local.INFO: Extracted packet for processing {"connection_id":45530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:08: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-04-17 03: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-04-17 03:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752096000001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":536209860639164416,"note":"Value kept but may cause issues"} 
[2026-04-17 03:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776375406000,"timestamp_ms":1776375406000,"timestamp_seconds":1776375406,"priority":1,"record_length":96,"hex_timestamp":"0000019d98399db0"} 
[2026-04-17 03:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:08:12] 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-04-17 03: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 03:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45530,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45530,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":45530,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:08:12] local.INFO: GPS data processed {"connection_id":45530,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:08:12] local.INFO: Acknowledgment sent {"connection_id":45530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:08:28] local.INFO: TCP Data received {"connection_id":46284,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98398e10012d6d0f40060fd5d0000500a031..."} 
[2026-04-17 03:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98398e10012d6d0f40060fd5d0000500a031..."} 
[2026-04-17 03:08:28] local.INFO: Processing buffer {"connection_id":46284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98398e10012d6d0f40060fd5d0000500a031..."} 
[2026-04-17 03:08:28] local.INFO: Packet analysis {"connection_id":46284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:08:28] local.INFO: Extracted packet for processing {"connection_id":46284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:08:28] local.INFO: GPS Element Parsed {"raw_longitude":762122048,"raw_latitude":101701072,"longitude_deg":76.2122048,"latitude_deg":10.1701072,"altitude":5,"angle":160,"satellites":49,"speed":20,"hex_longitude":"2d6d0f40","hex_latitude":"060fd5d0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752099584001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273722848504184832,"note":"Value kept but may cause issues"} 
[2026-04-17 03:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7857585107147780096,"note":"Value kept but may cause issues"} 
[2026-04-17 03:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,205,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776375402000,"timestamp_ms":1776375402000,"timestamp_seconds":1776375402,"priority":1,"record_length":96,"hex_timestamp":"0000019d98398e10"} 
[2026-04-17 03:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:08: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-04-17 03:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46284,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752099584001,"66":27484,"205":206,"79":46336,"24":20,"16":273722848504184832,"45":7857585107147780096},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,79,24,16,45]} 
[2026-04-17 03:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752099584001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:08:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273722848504184832,"km_value":273722848504184.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7857585107147780096,"description":"Unknown IO ID 45"} 
[2026-04-17 03:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752099584001,"power":27484,"cell_id":206,"unknown_79":46336,"ignition":20,"odometer":null,"unknown_45":7857585107147780096}} 
[2026-04-17 03:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":46284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:08:28] local.INFO: GPS data processed {"connection_id":46284,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:08:28] local.INFO: Acknowledgment sent {"connection_id":46284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:08:44] local.INFO: TCP Data received {"connection_id":45530,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98397e70012d078d8006fc54300014008b38..."} 
[2026-04-17 03:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98397e70012d078d8006fc54300014008b38..."} 
[2026-04-17 03:08:44] local.INFO: Processing buffer {"connection_id":45530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98397e70012d078d8006fc54300014008b38..."} 
[2026-04-17 03:08:44] local.INFO: Packet analysis {"connection_id":45530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:08:44] local.INFO: Extracted packet for processing {"connection_id":45530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:08:44] local.INFO: GPS Element Parsed {"raw_longitude":755469696,"raw_latitude":117199920,"longitude_deg":75.5469696,"latitude_deg":11.719992,"altitude":20,"angle":139,"satellites":56,"speed":15,"hex_longitude":"2d078d80","hex_latitude":"06fc5430","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:08:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,207,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776375398000,"timestamp_ms":1776375398000,"timestamp_seconds":1776375398,"priority":1,"record_length":96,"hex_timestamp":"0000019d98397e70"} 
[2026-04-17 03:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:08:44] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 03:08:44] 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-04-17 03: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-04-17 03:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45530,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45530,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28050,"207":206,"28":32256,"24":15,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16]} 
[2026-04-17 03:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:08:44] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:08:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:08:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28050,"unknown_207":206,"unknown_28":32256,"ignition":15,"odometer":null}} 
[2026-04-17 03:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":45530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18859,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:08:44] local.INFO: GPS data processed {"connection_id":45530,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:08:44] local.INFO: Acknowledgment sent {"connection_id":45530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:09:05] local.INFO: TCP Data received {"connection_id":46285,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:09:05] local.INFO: Processing buffer {"connection_id":46285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:09:05] local.INFO: IMEI packet received {"connection_id":46285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":46285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:09:07] local.INFO: TCP Data received {"connection_id":45732,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:09:07] local.INFO: Processing buffer {"connection_id":45732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:09:07] local.INFO: IMEI packet received {"connection_id":45732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:09:07] local.INFO: IMEI acknowledgment sent {"connection_id":45732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:09:08] local.INFO: TCP Data received {"connection_id":45732,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:09:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:09:08] local.INFO: Processing buffer {"connection_id":45732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:09:08] local.INFO: IMEI packet received {"connection_id":45732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:09:08] local.INFO: IMEI acknowledgment sent {"connection_id":45732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:09:11] local.INFO: TCP Data received {"connection_id":46285,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46285,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:09:11] local.INFO: Processing buffer {"connection_id":46285,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:09:11] local.INFO: IMEI packet received {"connection_id":46285,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":46285,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:09:12] local.INFO: TCP Data received {"connection_id":45732,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45732,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:09:12] local.INFO: Processing buffer {"connection_id":45732,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:09:12] local.INFO: IMEI packet received {"connection_id":45732,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":45732,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:09:12] local.INFO: TCP Data received {"connection_id":46285,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9839fb700100000000000000000000000000..."} 
[2026-04-17 03:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9839fb700100000000000000000000000000..."} 
[2026-04-17 03:09:12] local.INFO: Processing buffer {"connection_id":46285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9839fb700100000000000000000000000000..."} 
[2026-04-17 03:09:12] local.INFO: Packet analysis {"connection_id":46285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:09:12] local.INFO: Extracted packet for processing {"connection_id":46285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:09: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-04-17 03: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-04-17 03:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752101888001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":544231897473232896,"note":"Value kept but may cause issues"} 
[2026-04-17 03:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776375430000,"timestamp_ms":1776375430000,"timestamp_seconds":1776375430,"priority":1,"record_length":96,"hex_timestamp":"0000019d9839fb70"} 
[2026-04-17 03:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:09: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-04-17 03: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-17 03:09:12] 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-04-17 03: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-04-17 03:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":46285,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:09:12] local.INFO: GPS data processed {"connection_id":46285,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:09:12] local.INFO: Acknowledgment sent {"connection_id":46285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:09:13] local.INFO: TCP Data received {"connection_id":45732,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d983aeda0012d6d3c00060f31f8000100ab31..."} 
[2026-04-17 03:09:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983aeda0012d6d3c00060f31f8000100ab31..."} 
[2026-04-17 03:09:13] local.INFO: Processing buffer {"connection_id":45732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983aeda0012d6d3c00060f31f8000100ab31..."} 
[2026-04-17 03:09:13] local.INFO: Packet analysis {"connection_id":45732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983a"} 
[2026-04-17 03:09:13] local.INFO: Extracted packet for processing {"connection_id":45732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983a"} 
[2026-04-17 03:09:13] local.INFO: GPS Element Parsed {"raw_longitude":762133504,"raw_latitude":101659128,"longitude_deg":76.2133504,"latitude_deg":10.1659128,"altitude":1,"angle":171,"satellites":49,"speed":20,"hex_longitude":"2d6d3c00","hex_latitude":"060f31f8","is_valid_coordinates":true} 
[2026-04-17 03:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:09:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752121344001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:09:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273725008872734720,"note":"Value kept but may cause issues"} 
[2026-04-17 03:09:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7869195949926799360,"note":"Value kept but may cause issues"} 
[2026-04-17 03:09:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:09:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776375492000,"timestamp_ms":1776375492000,"timestamp_seconds":1776375492,"priority":1,"record_length":96,"hex_timestamp":"0000019d983aeda0"} 
[2026-04-17 03:09:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:09:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:09:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 03:09:13] 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-04-17 03:09:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:09:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:09:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:09:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:09:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:09:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45732,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:09:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:09:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:09:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:09:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752121344001,"66":27484,"13":206,"79":46336,"24":20,"16":273725008872734720,"45":7869195949926799360},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,79,24,16,45]} 
[2026-04-17 03:09:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:09:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:09:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752121344001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:09:13] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-04-17 03:09:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:09:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273725008872734720,"km_value":273725008872734.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:09:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":7869195949926799360,"description":"Unknown IO ID 45"} 
[2026-04-17 03:09:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752121344001,"power":27484,"unknown_13":206,"unknown_79":46336,"ignition":20,"odometer":null,"unknown_45":7869195949926799360}} 
[2026-04-17 03:09:13] local.INFO: DEBUG: GPS processor result {"connection_id":45732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:09:13] local.INFO: GPS data processed {"connection_id":45732,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:09:13] local.INFO: Acknowledgment sent {"connection_id":45732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:09:49] local.INFO: TCP Data received {"connection_id":46285,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9839efb8012d07b34006fc28c80014008b38..."} 
[2026-04-17 03:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9839efb8012d07b34006fc28c80014008b38..."} 
[2026-04-17 03:09:49] local.INFO: Processing buffer {"connection_id":46285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9839efb8012d07b34006fc28c80014008b38..."} 
[2026-04-17 03:09:49] local.INFO: Packet analysis {"connection_id":46285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:09:49] local.INFO: Extracted packet for processing {"connection_id":46285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9839"} 
[2026-04-17 03:09:49] local.INFO: GPS Element Parsed {"raw_longitude":755479360,"raw_latitude":117188808,"longitude_deg":75.547936,"latitude_deg":11.7188808,"altitude":20,"angle":139,"satellites":56,"speed":29,"hex_longitude":"2d07b340","hex_latitude":"06fc28c8","is_valid_coordinates":true} 
[2026-04-17 03:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:09:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:09:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,207,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:09:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776375427000,"timestamp_ms":1776375427000,"timestamp_seconds":1776375427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9839efb8"} 
[2026-04-17 03:09:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:09: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:09:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 03:09:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:09:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:09:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:09:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:09:49] local.INFO: Teltonika packet parsed successfully {"connection_id":46285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:09:49] local.INFO: Passing IMEI to GPS processor {"connection_id":46285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:09:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":46285,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:09:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:09:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:09:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:09:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28050,"207":206,"28":32256,"24":29,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16]} 
[2026-04-17 03:09:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:09:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:09:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:09:49] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:09:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:09:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:09:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28050,"unknown_207":206,"unknown_28":32256,"ignition":29,"odometer":null}} 
[2026-04-17 03:09:49] local.INFO: DEBUG: GPS processor result {"connection_id":46285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18861,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:09:49] local.INFO: GPS data processed {"connection_id":46285,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:09:49] local.INFO: Acknowledgment sent {"connection_id":46285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:09:52] local.INFO: TCP Data received {"connection_id":45465,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:09:52] local.INFO: Processing buffer {"connection_id":45465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:09:52] local.INFO: IMEI packet received {"connection_id":45465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":45465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:09:55] local.INFO: TCP Data received {"connection_id":45465,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:09:55] local.INFO: Processing buffer {"connection_id":45465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:09:55] local.INFO: IMEI packet received {"connection_id":45465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":45465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:09:57] local.INFO: TCP Data received {"connection_id":45465,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:09:57] local.INFO: Processing buffer {"connection_id":45465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:09:57] local.INFO: IMEI packet received {"connection_id":45465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":45465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:09:58] local.INFO: TCP Data received {"connection_id":45465,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d983b2450012d6d43c0060f1020000000a030..."} 
[2026-04-17 03:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983b2450012d6d43c0060f1020000000a030..."} 
[2026-04-17 03:09:58] local.INFO: Processing buffer {"connection_id":45465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983b2450012d6d43c0060f1020000000a030..."} 
[2026-04-17 03:09:58] local.INFO: Packet analysis {"connection_id":45465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983b"} 
[2026-04-17 03:09:58] local.INFO: Extracted packet for processing {"connection_id":45465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983b"} 
[2026-04-17 03:09:58] local.INFO: GPS Element Parsed {"raw_longitude":762135488,"raw_latitude":101650464,"longitude_deg":76.2135488,"latitude_deg":10.1650464,"altitude":0,"angle":160,"satellites":48,"speed":27,"hex_longitude":"2d6d43c0","hex_latitude":"060f1020","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752125952001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273725438369464320,"note":"Value kept but may cause issues"} 
[2026-04-17 03:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7871166274761521152,"note":"Value kept but may cause issues"} 
[2026-04-17 03:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,12,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776375506000,"timestamp_ms":1776375506000,"timestamp_seconds":1776375506,"priority":1,"record_length":96,"hex_timestamp":"0000019d983b2450"} 
[2026-04-17 03:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:09: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-04-17 03: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 03:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752125952001,"66":27376,"12":206,"79":46336,"24":27,"16":273725438369464320,"45":7871166274761521152},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,12,79,24,16,45]} 
[2026-04-17 03:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752125952001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:09:58] local.INFO: Unknown IO ID detected {"io_id":12,"value":206,"description":"Unknown IO ID 12"} 
[2026-04-17 03:09:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273725438369464320,"km_value":273725438369464.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7871166274761521152,"description":"Unknown IO ID 45"} 
[2026-04-17 03:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752125952001,"power":27376,"unknown_12":206,"unknown_79":46336,"ignition":27,"odometer":null,"unknown_45":7871166274761521152}} 
[2026-04-17 03:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":45465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18862,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:09:58] local.INFO: GPS data processed {"connection_id":45465,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:09:58] local.INFO: Acknowledgment sent {"connection_id":45465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:10:11] local.INFO: TCP Data received {"connection_id":45466,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:10:11] local.INFO: Processing buffer {"connection_id":45466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:10:11] local.INFO: IMEI packet received {"connection_id":45466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":45466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:10:16] local.INFO: TCP Data received {"connection_id":45466,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:10:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:10:16] local.INFO: Processing buffer {"connection_id":45466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:10:16] local.INFO: IMEI packet received {"connection_id":45466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:10:16] local.INFO: IMEI acknowledgment sent {"connection_id":45466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:10:17] local.INFO: TCP Data received {"connection_id":45466,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d983a70a00100000000000000000000000000..."} 
[2026-04-17 03:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983a70a00100000000000000000000000000..."} 
[2026-04-17 03:10:17] local.INFO: Processing buffer {"connection_id":45466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983a70a00100000000000000000000000000..."} 
[2026-04-17 03:10:17] local.INFO: Packet analysis {"connection_id":45466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983a"} 
[2026-04-17 03:10:17] local.INFO: Extracted packet for processing {"connection_id":45466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983a"} 
[2026-04-17 03:10: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-04-17 03:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:10:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752109312001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:10:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:10:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":554857577841215488,"note":"Value kept but may cause issues"} 
[2026-04-17 03:10:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,207,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:10:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776375460000,"timestamp_ms":1776375460000,"timestamp_seconds":1776375460,"priority":1,"record_length":96,"hex_timestamp":"0000019d983a70a0"} 
[2026-04-17 03:10:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:10:17] 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-04-17 03:10:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-17 03:10:17] 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-04-17 03:10:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:10:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:10:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:10:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:10:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:10:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:10:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:10:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:10:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:10:17] local.INFO: DEBUG: GPS processor result {"connection_id":45466,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:10:17] local.INFO: GPS data processed {"connection_id":45466,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:10:17] local.INFO: Acknowledgment sent {"connection_id":45466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:10:22] local.INFO: TCP Data received {"connection_id":45466,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d983a4990012d07d74006fbfef8000e008a34..."} 
[2026-04-17 03:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983a4990012d07d74006fbfef8000e008a34..."} 
[2026-04-17 03:10:22] local.INFO: Processing buffer {"connection_id":45466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983a4990012d07d74006fbfef8000e008a34..."} 
[2026-04-17 03:10:22] local.INFO: Packet analysis {"connection_id":45466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983a"} 
[2026-04-17 03:10:22] local.INFO: Extracted packet for processing {"connection_id":45466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983a"} 
[2026-04-17 03:10:22] local.INFO: GPS Element Parsed {"raw_longitude":755488576,"raw_latitude":117178104,"longitude_deg":75.5488576,"latitude_deg":11.7178104,"altitude":14,"angle":138,"satellites":52,"speed":30,"hex_longitude":"2d07d740","hex_latitude":"06fbfef8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:10:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:10:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,207,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:10:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776375450000,"timestamp_ms":1776375450000,"timestamp_seconds":1776375450,"priority":1,"record_length":96,"hex_timestamp":"0000019d983a4990"} 
[2026-04-17 03:10:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:10: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-17 03:10:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:10:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:10:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:10:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:10:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:10:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:10:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:10:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:10:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:10:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"207":206,"28":32256,"24":30,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,207,28,24,16]} 
[2026-04-17 03:10:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:10:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:10:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:10:22] local.INFO: Unknown IO ID detected {"io_id":207,"value":206,"description":"Unknown IO ID 207"} 
[2026-04-17 03:10:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:10:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:10:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_207":206,"unknown_28":32256,"ignition":30,"odometer":null}} 
[2026-04-17 03:10:22] local.INFO: DEBUG: GPS processor result {"connection_id":45466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18863,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:10:22] local.INFO: GPS data processed {"connection_id":45466,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:10:22] local.INFO: Acknowledgment sent {"connection_id":45466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:10:29] local.INFO: TCP Data received {"connection_id":45465,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d983cd5e8012d6d3940060e1618000000c030..."} 
[2026-04-17 03:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983cd5e8012d6d3940060e1618000000c030..."} 
[2026-04-17 03:10:29] local.INFO: Processing buffer {"connection_id":45465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983cd5e8012d6d3940060e1618000000c030..."} 
[2026-04-17 03:10:29] local.INFO: Packet analysis {"connection_id":45465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983c"} 
[2026-04-17 03:10:29] local.INFO: Extracted packet for processing {"connection_id":45465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983c"} 
[2026-04-17 03:10:29] local.INFO: GPS Element Parsed {"raw_longitude":762132800,"raw_latitude":101586456,"longitude_deg":76.21328,"latitude_deg":10.1586456,"altitude":0,"angle":192,"satellites":48,"speed":28,"hex_longitude":"2d6d3940","hex_latitude":"060e1618","is_valid_coordinates":true} 
[2026-04-17 03:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752156416001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872503280883283968,"note":"Value kept but may cause issues"} 
[2026-04-17 03:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273728711134543872,"note":"Value kept but may cause issues"} 
[2026-04-17 03:10:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776375617000,"timestamp_ms":1776375617000,"timestamp_seconds":1776375617,"priority":1,"record_length":96,"hex_timestamp":"0000019d983cd5e8"} 
[2026-04-17 03:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:10: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-04-17 03:10:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:10:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:10: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-04-17 03:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752156416001,"66":27463,"45":7872503280883283968,"79":46336,"24":28,"16":273728711134543872},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-04-17 03:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752156416001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872503280883283968,"description":"Unknown IO ID 45"} 
[2026-04-17 03:10:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273728711134543872,"km_value":273728711134543.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:10:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454752156416001,"power":27463,"unknown_45":7872503280883283968,"unknown_79":46336,"ignition":28,"odometer":null}} 
[2026-04-17 03:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":45465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:10:29] local.INFO: GPS data processed {"connection_id":45465,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:10:29] local.INFO: Acknowledgment sent {"connection_id":45465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:10:52] local.INFO: TCP Data received {"connection_id":45467,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:10:52] local.INFO: Processing buffer {"connection_id":45467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:10:52] local.INFO: IMEI packet received {"connection_id":45467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":45467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:10:57] local.INFO: TCP Data received {"connection_id":45467,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:10:57] local.INFO: Processing buffer {"connection_id":45467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:10:57] local.INFO: IMEI packet received {"connection_id":45467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":45467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:10:58] local.INFO: TCP Data received {"connection_id":45467,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d983ce1a0012d6d3800060e0db8000100b42e..."} 
[2026-04-17 03:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983ce1a0012d6d3800060e0db8000100b42e..."} 
[2026-04-17 03:10:58] local.INFO: Processing buffer {"connection_id":45467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983ce1a0012d6d3800060e0db8000100b42e..."} 
[2026-04-17 03:10:58] local.INFO: Packet analysis {"connection_id":45467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983c"} 
[2026-04-17 03:10:58] local.INFO: Extracted packet for processing {"connection_id":45467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983c"} 
[2026-04-17 03:10:58] local.INFO: GPS Element Parsed {"raw_longitude":762132480,"raw_latitude":101584312,"longitude_deg":76.213248,"latitude_deg":10.1584312,"altitude":1,"angle":180,"satellites":46,"speed":27,"hex_longitude":"2d6d3800","hex_latitude":"060e0db8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752157952001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870392218556962816,"note":"Value kept but may cause issues"} 
[2026-04-17 03:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273728814213758976,"note":"Value kept but may cause issues"} 
[2026-04-17 03:10:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776375620000,"timestamp_ms":1776375620000,"timestamp_seconds":1776375620,"priority":1,"record_length":96,"hex_timestamp":"0000019d983ce1a0"} 
[2026-04-17 03:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:10: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-04-17 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 03:10:58] 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-04-17 03: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-04-17 03:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752157952001,"66":27397,"45":7870392218556962816,"79":46336,"24":27,"16":273728814213758976},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-04-17 03:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752157952001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870392218556962816,"description":"Unknown IO ID 45"} 
[2026-04-17 03:10:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273728814213758976,"km_value":273728814213758.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:10:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454752157952001,"power":27397,"unknown_45":7870392218556962816,"unknown_79":46336,"ignition":27,"odometer":null}} 
[2026-04-17 03:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":45467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:10:58] local.INFO: GPS data processed {"connection_id":45467,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:10:58] local.INFO: Acknowledgment sent {"connection_id":45467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:11:06] local.INFO: TCP Data received {"connection_id":46286,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:11:06] local.INFO: Processing buffer {"connection_id":46286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:11:06] local.INFO: IMEI packet received {"connection_id":46286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":46286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:11:14] local.INFO: TCP Data received {"connection_id":46286,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:11:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46286,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:11:14] local.INFO: Processing buffer {"connection_id":46286,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:11:14] local.INFO: IMEI packet received {"connection_id":46286,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:11:14] local.INFO: IMEI acknowledgment sent {"connection_id":46286,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:11:15] local.INFO: TCP Data received {"connection_id":46286,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d983a9b98012d08070006fbc4c80007009235..."} 
[2026-04-17 03:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983a9b98012d08070006fbc4c80007009235..."} 
[2026-04-17 03:11:15] local.INFO: Processing buffer {"connection_id":46286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983a9b98012d08070006fbc4c80007009235..."} 
[2026-04-17 03:11:15] local.INFO: Packet analysis {"connection_id":46286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983a"} 
[2026-04-17 03:11:15] local.INFO: Extracted packet for processing {"connection_id":46286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983a"} 
[2026-04-17 03:11:15] local.INFO: GPS Element Parsed {"raw_longitude":755500800,"raw_latitude":117163208,"longitude_deg":75.55008,"latitude_deg":11.7163208,"altitude":7,"angle":146,"satellites":53,"speed":0,"hex_longitude":"2d080700","hex_latitude":"06fbc4c8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:11:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752115200001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:11:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:11:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":564990677000058880,"note":"Value kept but may cause issues"} 
[2026-04-17 03:11:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:11:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776375471000,"timestamp_ms":1776375471000,"timestamp_seconds":1776375471,"priority":1,"record_length":96,"hex_timestamp":"0000019d983a9b98"} 
[2026-04-17 03:11:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:11: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-04-17 03: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 03:11:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:11:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:11:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:11:15] local.INFO: Teltonika packet parsed successfully {"connection_id":46286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:11:15] local.INFO: Passing IMEI to GPS processor {"connection_id":46286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:11:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":46286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:11:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:11:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:11:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:11:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752115200001,"66":28093,"56":206,"28":32256,"24":0,"16":106618783551979520,"45":564990677000058880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,45]} 
[2026-04-17 03:11:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:11:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:11:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752115200001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:11:15] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-04-17 03:11:15] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:11:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:11:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":564990677000058880,"description":"Unknown IO ID 45"} 
[2026-04-17 03:11:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752115200001,"power":28093,"unknown_56":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":564990677000058880}} 
[2026-04-17 03:11:15] local.INFO: DEBUG: GPS processor result {"connection_id":46286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18866,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:11:15] local.INFO: GPS data processed {"connection_id":46286,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:11:15] local.INFO: Acknowledgment sent {"connection_id":46286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:11:16] local.INFO: TCP Data received {"connection_id":46286,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d983ada18012d0827c006fb8148000900a236..."} 
[2026-04-17 03:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983ada18012d0827c006fb8148000900a236..."} 
[2026-04-17 03:11:16] local.INFO: Processing buffer {"connection_id":46286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983ada18012d0827c006fb8148000900a236..."} 
[2026-04-17 03:11:16] local.INFO: Packet analysis {"connection_id":46286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983a"} 
[2026-04-17 03:11:16] local.INFO: Extracted packet for processing {"connection_id":46286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983a"} 
[2026-04-17 03:11:16] local.INFO: GPS Element Parsed {"raw_longitude":755509184,"raw_latitude":117145928,"longitude_deg":75.5509184,"latitude_deg":11.7145928,"altitude":9,"angle":162,"satellites":54,"speed":40,"hex_longitude":"2d0827c0","hex_latitude":"06fb8148","is_valid_coordinates":true} 
[2026-04-17 03:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752120576001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":578431107134179328,"note":"Value kept but may cause issues"} 
[2026-04-17 03:11:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776375487000,"timestamp_ms":1776375487000,"timestamp_seconds":1776375487,"priority":1,"record_length":96,"hex_timestamp":"0000019d983ada18"} 
[2026-04-17 03:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:11:16] 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-04-17 03:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-04-17 03:11:16] 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-04-17 03:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752120576001,"66":27908,"56":206,"28":32256,"24":40,"16":106618783551979520,"45":578431107134179328},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,45]} 
[2026-04-17 03:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752120576001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:11:16] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-04-17 03:11:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":578431107134179328,"description":"Unknown IO ID 45"} 
[2026-04-17 03:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752120576001,"power":27908,"unknown_56":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_45":578431107134179328}} 
[2026-04-17 03:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":46286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18867,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:11:16] local.INFO: GPS data processed {"connection_id":46286,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:11:16] local.INFO: Acknowledgment sent {"connection_id":46286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:11:28] local.INFO: TCP Data received {"connection_id":45467,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d983cf140012d6d3980060e02e8000100a62f..."} 
[2026-04-17 03:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983cf140012d6d3980060e02e8000100a62f..."} 
[2026-04-17 03:11:28] local.INFO: Processing buffer {"connection_id":45467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983cf140012d6d3980060e02e8000100a62f..."} 
[2026-04-17 03:11:28] local.INFO: Packet analysis {"connection_id":45467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983c"} 
[2026-04-17 03:11:28] local.INFO: Extracted packet for processing {"connection_id":45467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983c"} 
[2026-04-17 03:11:28] local.INFO: GPS Element Parsed {"raw_longitude":762132864,"raw_latitude":101581544,"longitude_deg":76.2132864,"latitude_deg":10.1581544,"altitude":1,"angle":166,"satellites":47,"speed":29,"hex_longitude":"2d6d3980","hex_latitude":"060e02e8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752158720001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870040374835525632,"note":"Value kept but may cause issues"} 
[2026-04-17 03:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273728951652712448,"note":"Value kept but may cause issues"} 
[2026-04-17 03:11:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776375624000,"timestamp_ms":1776375624000,"timestamp_seconds":1776375624,"priority":1,"record_length":96,"hex_timestamp":"0000019d983cf140"} 
[2026-04-17 03:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:11: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-04-17 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 03:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752158720001,"66":27343,"45":7870040374835525632,"79":46336,"24":29,"16":273728951652712448},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-04-17 03:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752158720001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870040374835525632,"description":"Unknown IO ID 45"} 
[2026-04-17 03:11:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273728951652712448,"km_value":273728951652712.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:11:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454752158720001,"power":27343,"unknown_45":7870040374835525632,"unknown_79":46336,"ignition":29,"odometer":null}} 
[2026-04-17 03:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":45467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:11:28] local.INFO: GPS data processed {"connection_id":45467,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:11:28] local.INFO: Acknowledgment sent {"connection_id":45467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:11:48] local.INFO: TCP Data received {"connection_id":46286,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d983b2838012d083a8006fb3cc0000a00a638..."} 
[2026-04-17 03:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983b2838012d083a8006fb3cc0000a00a638..."} 
[2026-04-17 03:11:48] local.INFO: Processing buffer {"connection_id":46286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983b2838012d083a8006fb3cc0000a00a638..."} 
[2026-04-17 03:11:48] local.INFO: Packet analysis {"connection_id":46286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983b"} 
[2026-04-17 03:11:48] local.INFO: Extracted packet for processing {"connection_id":46286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983b"} 
[2026-04-17 03:11:48] local.INFO: GPS Element Parsed {"raw_longitude":755513984,"raw_latitude":117128384,"longitude_deg":75.5513984,"latitude_deg":11.7128384,"altitude":10,"angle":166,"satellites":56,"speed":0,"hex_longitude":"2d083a80","hex_latitude":"06fb3cc0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:11:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752124672001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:11:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:11:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":587649412617029632,"note":"Value kept but may cause issues"} 
[2026-04-17 03:11:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:11:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776375507000,"timestamp_ms":1776375507000,"timestamp_seconds":1776375507,"priority":1,"record_length":96,"hex_timestamp":"0000019d983b2838"} 
[2026-04-17 03:11:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:11:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 03:11:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:11:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:11:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:11:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:11:48] local.INFO: Teltonika packet parsed successfully {"connection_id":46286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:11:48] local.INFO: Passing IMEI to GPS processor {"connection_id":46286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:11:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":46286,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:11:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:11:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:11:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:11:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752124672001,"66":28104,"56":206,"28":32256,"24":0,"16":106618783551979520,"45":587649412617029632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,45]} 
[2026-04-17 03:11:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:11:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:11:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752124672001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:11:48] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-04-17 03:11:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:11:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:11:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":587649412617029632,"description":"Unknown IO ID 45"} 
[2026-04-17 03:11:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752124672001,"power":28104,"unknown_56":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":587649412617029632}} 
[2026-04-17 03:11:48] local.INFO: DEBUG: GPS processor result {"connection_id":46286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:11:48] local.INFO: GPS data processed {"connection_id":46286,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:11:48] local.INFO: Acknowledgment sent {"connection_id":46286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:11:57] local.INFO: TCP Data received {"connection_id":45468,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:11:57] local.INFO: Processing buffer {"connection_id":45468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:11:57] local.INFO: IMEI packet received {"connection_id":45468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":45468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:12:01] local.INFO: TCP Data received {"connection_id":45468,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:12:01] local.INFO: Processing buffer {"connection_id":45468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:12:01] local.INFO: IMEI packet received {"connection_id":45468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":45468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:12:02] local.INFO: TCP Data received {"connection_id":45468,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d983d2408012d6d4180060ddf28000100aa2f..."} 
[2026-04-17 03:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983d2408012d6d4180060ddf28000100aa2f..."} 
[2026-04-17 03:12:02] local.INFO: Processing buffer {"connection_id":45468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983d2408012d6d4180060ddf28000100aa2f..."} 
[2026-04-17 03:12:02] local.INFO: Packet analysis {"connection_id":45468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983d"} 
[2026-04-17 03:12:02] local.INFO: Extracted packet for processing {"connection_id":45468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983d"} 
[2026-04-17 03:12:02] local.INFO: GPS Element Parsed {"raw_longitude":762134912,"raw_latitude":101572392,"longitude_deg":76.2134912,"latitude_deg":10.1572392,"altitude":1,"angle":170,"satellites":47,"speed":26,"hex_longitude":"2d6d4180","hex_latitude":"060ddf28","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752159744001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7870462587299883008,"note":"Value kept but may cause issues"} 
[2026-04-17 03:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273729406919245824,"note":"Value kept but may cause issues"} 
[2026-04-17 03:12:02] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776375637000,"timestamp_ms":1776375637000,"timestamp_seconds":1776375637,"priority":1,"record_length":96,"hex_timestamp":"0000019d983d2408"} 
[2026-04-17 03:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:12:02] 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-04-17 03: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-04-17 03:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752159744001,"66":27365,"45":7870462587299883008,"79":46336,"24":26,"16":273729406919245824},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-04-17 03:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752159744001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":7870462587299883008,"description":"Unknown IO ID 45"} 
[2026-04-17 03:12:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273729406919245824,"km_value":273729406919245.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:12:02] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454752159744001,"power":27365,"unknown_45":7870462587299883008,"unknown_79":46336,"ignition":26,"odometer":null}} 
[2026-04-17 03:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":45468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:12:02] local.INFO: GPS data processed {"connection_id":45468,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:12:02] local.INFO: Acknowledgment sent {"connection_id":45468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:12:03] local.INFO: TCP Data received {"connection_id":45468,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d983d4b18012d6d4400060dc790000000b731..."} 
[2026-04-17 03:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983d4b18012d6d4400060dc790000000b731..."} 
[2026-04-17 03:12:03] local.INFO: Processing buffer {"connection_id":45468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983d4b18012d6d4400060dc790000000b731..."} 
[2026-04-17 03:12:03] local.INFO: Packet analysis {"connection_id":45468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983d"} 
[2026-04-17 03:12:03] local.INFO: Extracted packet for processing {"connection_id":45468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983d"} 
[2026-04-17 03:12:03] local.INFO: GPS Element Parsed {"raw_longitude":762135552,"raw_latitude":101566352,"longitude_deg":76.2135552,"latitude_deg":10.1566352,"altitude":0,"angle":183,"satellites":49,"speed":23,"hex_longitude":"2d6d4400","hex_latitude":"060dc790","is_valid_coordinates":true} 
[2026-04-17 03:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752163072001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7872714387111225344,"note":"Value kept but may cause issues"} 
[2026-04-17 03:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273729698977021952,"note":"Value kept but may cause issues"} 
[2026-04-17 03:12:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,45,79,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776375647000,"timestamp_ms":1776375647000,"timestamp_seconds":1776375647,"priority":1,"record_length":96,"hex_timestamp":"0000019d983d4b18"} 
[2026-04-17 03:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:12: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-04-17 03:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 03:12: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-04-17 03:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:12:03] 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-04-17 03:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752163072001,"66":27463,"45":7872714387111225344,"79":46336,"24":23,"16":273729698977021952},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,79,24,16]} 
[2026-04-17 03:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752163072001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7872714387111225344,"description":"Unknown IO ID 45"} 
[2026-04-17 03:12:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273729698977021952,"km_value":273729698977021.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:12:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454752163072001,"power":27463,"unknown_45":7872714387111225344,"unknown_79":46336,"ignition":23,"odometer":null}} 
[2026-04-17 03:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":45468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:12:03] local.INFO: GPS data processed {"connection_id":45468,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:12:03] local.INFO: Acknowledgment sent {"connection_id":45468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:12:19] local.INFO: TCP Data received {"connection_id":46287,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:12:19] local.INFO: Processing buffer {"connection_id":46287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:12:19] local.INFO: IMEI packet received {"connection_id":46287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":46287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:12:22] local.INFO: TCP Data received {"connection_id":46287,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46287,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:12:22] local.INFO: Processing buffer {"connection_id":46287,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:12:22] local.INFO: IMEI packet received {"connection_id":46287,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":46287,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:12:26] local.INFO: TCP Data received {"connection_id":46287,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d983b7a40012d08488006faf830000d00aa37..."} 
[2026-04-17 03:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983b7a40012d08488006faf830000d00aa37..."} 
[2026-04-17 03:12:26] local.INFO: Processing buffer {"connection_id":46287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983b7a40012d08488006faf830000d00aa37..."} 
[2026-04-17 03:12:26] local.INFO: Packet analysis {"connection_id":46287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983b"} 
[2026-04-17 03:12:26] local.INFO: Extracted packet for processing {"connection_id":46287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983b"} 
[2026-04-17 03:12:26] local.INFO: GPS Element Parsed {"raw_longitude":755517568,"raw_latitude":117110832,"longitude_deg":75.5517568,"latitude_deg":11.7110832,"altitude":13,"angle":170,"satellites":55,"speed":0,"hex_longitude":"2d084880","hex_latitude":"06faf830","is_valid_coordinates":true} 
[2026-04-17 03:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752129792001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":592927068425863168,"note":"Value kept but may cause issues"} 
[2026-04-17 03:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776375528000,"timestamp_ms":1776375528000,"timestamp_seconds":1776375528,"priority":1,"record_length":96,"hex_timestamp":"0000019d983b7a40"} 
[2026-04-17 03:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:12: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-04-17 03:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-17 03:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2543,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752129792001,"66":27984,"56":206,"28":32256,"24":0,"16":106618783551979520,"45":592927068425863168},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,45]} 
[2026-04-17 03:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752129792001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:12:27] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-04-17 03:12:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":592927068425863168,"description":"Unknown IO ID 45"} 
[2026-04-17 03:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752129792001,"power":27984,"unknown_56":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":592927068425863168}} 
[2026-04-17 03:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":46287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18872,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:12:27] local.INFO: GPS data processed {"connection_id":46287,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:12:27] local.INFO: Acknowledgment sent {"connection_id":46287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:12:28] local.INFO: TCP Data received {"connection_id":46287,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d983bc860012d084e8006fab290000c00b337..."} 
[2026-04-17 03:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983bc860012d084e8006fab290000c00b337..."} 
[2026-04-17 03:12:28] local.INFO: Processing buffer {"connection_id":46287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983bc860012d084e8006fab290000c00b337..."} 
[2026-04-17 03:12:28] local.INFO: Packet analysis {"connection_id":46287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983b"} 
[2026-04-17 03:12:28] local.INFO: Extracted packet for processing {"connection_id":46287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983b"} 
[2026-04-17 03:12:28] local.INFO: GPS Element Parsed {"raw_longitude":755519104,"raw_latitude":117093008,"longitude_deg":75.5519104,"latitude_deg":11.7093008,"altitude":12,"angle":179,"satellites":55,"speed":0,"hex_longitude":"2d084e80","hex_latitude":"06fab290","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752135168001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":596867718095319040,"note":"Value kept but may cause issues"} 
[2026-04-17 03:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,56,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776375548000,"timestamp_ms":1776375548000,"timestamp_seconds":1776375548,"priority":1,"record_length":96,"hex_timestamp":"0000019d983bc860"} 
[2026-04-17 03:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 03:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46287,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752135168001,"66":27995,"56":206,"28":32256,"24":0,"16":106618783551979520,"45":596867718095319040},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,28,24,16,45]} 
[2026-04-17 03:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752135168001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:12:28] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-04-17 03:12:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":596867718095319040,"description":"Unknown IO ID 45"} 
[2026-04-17 03:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752135168001,"power":27995,"unknown_56":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":596867718095319040}} 
[2026-04-17 03:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":46287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18873,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:12:28] local.INFO: GPS data processed {"connection_id":46287,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:12:28] local.INFO: Acknowledgment sent {"connection_id":46287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:12:34] local.INFO: TCP Data received {"connection_id":45468,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d983d85b0012d6d4140060da538000200ae31..."} 
[2026-04-17 03:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983d85b0012d6d4140060da538000200ae31..."} 
[2026-04-17 03:12:34] local.INFO: Processing buffer {"connection_id":45468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983d85b0012d6d4140060da538000200ae31..."} 
[2026-04-17 03:12:34] local.INFO: Packet analysis {"connection_id":45468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983d"} 
[2026-04-17 03:12:34] local.INFO: Extracted packet for processing {"connection_id":45468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983d"} 
[2026-04-17 03:12:34] local.INFO: GPS Element Parsed {"raw_longitude":762134848,"raw_latitude":101557560,"longitude_deg":76.2134848,"latitude_deg":10.155756,"altitude":2,"angle":174,"satellites":49,"speed":25,"hex_longitude":"2d6d4140","hex_latitude":"060da538","is_valid_coordinates":true} 
[2026-04-17 03:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752165632001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273730132768718848,"note":"Value kept but may cause issues"} 
[2026-04-17 03:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7873418074551455744,"note":"Value kept but may cause issues"} 
[2026-04-17 03:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,46,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776375662000,"timestamp_ms":1776375662000,"timestamp_seconds":1776375662,"priority":1,"record_length":96,"hex_timestamp":"0000019d983d85b0"} 
[2026-04-17 03:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 03:12: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-04-17 03:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752165632001,"66":27267,"46":206,"79":46336,"24":25,"16":273730132768718848,"45":7873418074551455744},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,46,79,24,16,45]} 
[2026-04-17 03:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752165632001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:12:34] local.INFO: Unknown IO ID detected {"io_id":46,"value":206,"description":"Unknown IO ID 46"} 
[2026-04-17 03:12:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273730132768718848,"km_value":273730132768718.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7873418074551455744,"description":"Unknown IO ID 45"} 
[2026-04-17 03:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752165632001,"power":27267,"unknown_46":206,"unknown_79":46336,"ignition":25,"odometer":null,"unknown_45":7873418074551455744}} 
[2026-04-17 03:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":45468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:12:34] local.INFO: GPS data processed {"connection_id":45468,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:12:34] local.INFO: Acknowledgment sent {"connection_id":45468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:12:52] local.INFO: TCP Data received {"connection_id":45733,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:12:52] local.INFO: Processing buffer {"connection_id":45733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:12:52] local.INFO: IMEI packet received {"connection_id":45733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":45733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:13:01] local.INFO: TCP Data received {"connection_id":45733,"ip":"42.106.6.18","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 03:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45733,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 03:13:01] local.INFO: Processing buffer {"connection_id":45733,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 03:13:01] local.INFO: IMEI packet received {"connection_id":45733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":45733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:13:05] local.INFO: TCP Data received {"connection_id":45734,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:13:05] local.INFO: Processing buffer {"connection_id":45734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:13:05] local.INFO: IMEI packet received {"connection_id":45734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":45734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:13:09] local.INFO: TCP Data received {"connection_id":45733,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d983f1420012d6db480060ccaf80005006b32..."} 
[2026-04-17 03:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983f1420012d6db480060ccaf80005006b32..."} 
[2026-04-17 03:13:09] local.INFO: Processing buffer {"connection_id":45733,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 03:13:09] local.INFO: IMEI packet received {"connection_id":45733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":45733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:13:10] local.INFO: TCP Data received {"connection_id":45733,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d983f1420012d6db480060ccaf80005006b32..."} 
[2026-04-17 03:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983f1420012d6db480060ccaf80005006b32..."} 
[2026-04-17 03:13:10] local.INFO: Processing buffer {"connection_id":45733,"buffer_length":1607,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019d98..."} 
[2026-04-17 03:13:10] local.INFO: IMEI packet received {"connection_id":45733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":45733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:13:11] local.INFO: TCP Data received {"connection_id":45734,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:13:11] local.INFO: Processing buffer {"connection_id":45734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:13:11] local.INFO: IMEI packet received {"connection_id":45734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":45734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:13:11] local.INFO: TCP Data received {"connection_id":45733,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d983f1bf0012d6dbd80060cc8f00003006031..."} 
[2026-04-17 03:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983f1bf0012d6dbd80060cc8f00003006031..."} 
[2026-04-17 03:13:11] local.INFO: Processing buffer {"connection_id":45733,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019d983f1420012d6db480060ccaf80005006b32..."} 
[2026-04-17 03:13:11] local.INFO: Packet analysis {"connection_id":45733,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019d983f"} 
[2026-04-17 03:13:11] local.INFO: Extracted packet for processing {"connection_id":45733,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d983f"} 
[2026-04-17 03:13:11] local.INFO: GPS Element Parsed {"raw_longitude":762164352,"raw_latitude":101501688,"longitude_deg":76.2164352,"latitude_deg":10.1501688,"altitude":5,"angle":107,"satellites":50,"speed":43,"hex_longitude":"2d6db480","hex_latitude":"060ccaf8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752193280001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273733435598569472,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7896217547649548288,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776375764000,"timestamp_ms":1776375764000,"timestamp_seconds":1776375764,"priority":1,"record_length":96,"hex_timestamp":"0000019d983f1420"} 
[2026-04-17 03:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:13: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-04-17 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:13:11] 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-04-17 03: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-04-17 03:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752193280001,"66":27376,"83":206,"79":46336,"24":43,"16":273733435598569472,"45":7896217547649548288},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,79,24,16,45]} 
[2026-04-17 03:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752193280001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-17 03:13:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273733435598569472,"km_value":273733435598569.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7896217547649548288,"description":"Unknown IO ID 45"} 
[2026-04-17 03:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752193280001,"power":27376,"unknown_83":206,"unknown_79":46336,"ignition":43,"odometer":null,"unknown_45":7896217547649548288}} 
[2026-04-17 03:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":45733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:13:11] local.INFO: GPS data processed {"connection_id":45733,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:13:11] local.INFO: Acknowledgment sent {"connection_id":45733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:13:11] local.INFO: Packet analysis {"connection_id":45733,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d983f"} 
[2026-04-17 03:13:11] local.INFO: Extracted packet for processing {"connection_id":45733,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983f"} 
[2026-04-17 03:13:11] local.INFO: GPS Element Parsed {"raw_longitude":762164352,"raw_latitude":101501688,"longitude_deg":76.2164352,"latitude_deg":10.1501688,"altitude":5,"angle":107,"satellites":50,"speed":43,"hex_longitude":"2d6db480","hex_latitude":"060ccaf8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752195584001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273733435598569472,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7905084009414850560,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776375764000,"timestamp_ms":1776375764000,"timestamp_seconds":1776375764,"priority":1,"record_length":96,"hex_timestamp":"0000019d983f1420"} 
[2026-04-17 03:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:13: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-04-17 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752195584001,"66":27376,"83":206,"79":46336,"24":43,"16":273733435598569472,"45":7905084009414850560},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,79,24,16,45]} 
[2026-04-17 03:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752195584001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-17 03:13:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273733435598569472,"km_value":273733435598569.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7905084009414850560,"description":"Unknown IO ID 45"} 
[2026-04-17 03:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752195584001,"power":27376,"unknown_83":206,"unknown_79":46336,"ignition":43,"odometer":null,"unknown_45":7905084009414850560}} 
[2026-04-17 03:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":45733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:13:11] local.INFO: GPS data processed {"connection_id":45733,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:13:11] local.INFO: Acknowledgment sent {"connection_id":45733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:13:11] local.INFO: Packet analysis {"connection_id":45733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983f"} 
[2026-04-17 03:13:11] local.INFO: Extracted packet for processing {"connection_id":45733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983f"} 
[2026-04-17 03:13:11] local.INFO: GPS Element Parsed {"raw_longitude":762166656,"raw_latitude":101501168,"longitude_deg":76.2166656,"latitude_deg":10.1501168,"altitude":3,"angle":96,"satellites":49,"speed":46,"hex_longitude":"2d6dbd80","hex_latitude":"060cc8f0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:13:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752195584001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273733547267719168,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7905084009414850560,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:13:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776375766000,"timestamp_ms":1776375766000,"timestamp_seconds":1776375766,"priority":1,"record_length":96,"hex_timestamp":"0000019d983f1bf0"} 
[2026-04-17 03:13:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:13: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-04-17 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:13:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:13:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:13:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:13:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:13:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:13:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:13:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:13:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:13:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:13:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752195584001,"66":27267,"83":206,"79":46336,"24":46,"16":273733547267719168,"45":7905084009414850560},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,79,24,16,45]} 
[2026-04-17 03:13:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:13:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:13:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752195584001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:13:11] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-17 03:13:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:13:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273733547267719168,"km_value":273733547267719.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:13:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":7905084009414850560,"description":"Unknown IO ID 45"} 
[2026-04-17 03:13:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752195584001,"power":27267,"unknown_83":206,"unknown_79":46336,"ignition":46,"odometer":null,"unknown_45":7905084009414850560}} 
[2026-04-17 03:13:11] local.INFO: DEBUG: GPS processor result {"connection_id":45733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:13:11] local.INFO: GPS data processed {"connection_id":45733,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:13:11] local.INFO: Acknowledgment sent {"connection_id":45733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:13:12] local.INFO: TCP Data received {"connection_id":45733,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d983f2b90012d6dd100060cc8780002005231..."} 
[2026-04-17 03:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983f2b90012d6dd100060cc8780002005231..."} 
[2026-04-17 03:13:12] local.INFO: Processing buffer {"connection_id":45733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983f2b90012d6dd100060cc8780002005231..."} 
[2026-04-17 03:13:12] local.INFO: Packet analysis {"connection_id":45733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983f"} 
[2026-04-17 03:13:12] local.INFO: Extracted packet for processing {"connection_id":45733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983f"} 
[2026-04-17 03:13:12] local.INFO: GPS Element Parsed {"raw_longitude":762171648,"raw_latitude":101501048,"longitude_deg":76.2171648,"latitude_deg":10.1501048,"altitude":2,"angle":82,"satellites":49,"speed":48,"hex_longitude":"2d6dd100","hex_latitude":"060cc878","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752196096001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273733787785887744,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7907617284205113344,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776375770000,"timestamp_ms":1776375770000,"timestamp_seconds":1776375770,"priority":1,"record_length":96,"hex_timestamp":"0000019d983f2b90"} 
[2026-04-17 03:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:13:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 03:13: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-04-17 03: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-04-17 03:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752196096001,"66":27321,"83":206,"79":46336,"24":48,"16":273733787785887744,"45":7907617284205113344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,79,24,16,45]} 
[2026-04-17 03:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752196096001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:13:12] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-17 03:13:12] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273733787785887744,"km_value":273733787785887.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":7907617284205113344,"description":"Unknown IO ID 45"} 
[2026-04-17 03:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752196096001,"power":27321,"unknown_83":206,"unknown_79":46336,"ignition":48,"odometer":null,"unknown_45":7907617284205113344}} 
[2026-04-17 03:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":45733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:13:12] local.INFO: GPS data processed {"connection_id":45733,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:13:12] local.INFO: Acknowledgment sent {"connection_id":45733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:13:12] local.INFO: TCP Data received {"connection_id":45734,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d983ea6c0012d0764c006f775b8000e00c335..."} 
[2026-04-17 03:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983ea6c0012d0764c006f775b8000e00c335..."} 
[2026-04-17 03:13:12] local.INFO: Processing buffer {"connection_id":45734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983ea6c0012d0764c006f775b8000e00c335..."} 
[2026-04-17 03:13:12] local.INFO: Packet analysis {"connection_id":45734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983e"} 
[2026-04-17 03:13:12] local.INFO: Extracted packet for processing {"connection_id":45734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983e"} 
[2026-04-17 03:13:12] local.INFO: GPS Element Parsed {"raw_longitude":755459264,"raw_latitude":116880824,"longitude_deg":75.5459264,"latitude_deg":11.6880824,"altitude":14,"angle":195,"satellites":53,"speed":52,"hex_longitude":"2d0764c0","hex_latitude":"06f775b8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,155,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776375736000,"timestamp_ms":1776375736000,"timestamp_seconds":1776375736,"priority":1,"record_length":96,"hex_timestamp":"0000019d983ea6c0"} 
[2026-04-17 03:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:13:12] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:13:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 03:13:12] 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-04-17 03: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-04-17 03:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28104,"155":206,"28":32256,"24":52,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16]} 
[2026-04-17 03:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:13:12] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-17 03:13:12] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:13:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28104,"unknown_155":206,"unknown_28":32256,"ignition":52,"odometer":null}} 
[2026-04-17 03:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":45734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18879,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:13:12] local.INFO: GPS data processed {"connection_id":45734,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:13:12] local.INFO: Acknowledgment sent {"connection_id":45734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:13:43] local.INFO: TCP Data received {"connection_id":45734,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d983ee928012d07548006f72758001100b237..."} 
[2026-04-17 03:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983ee928012d07548006f72758001100b237..."} 
[2026-04-17 03:13:43] local.INFO: Processing buffer {"connection_id":45734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983ee928012d07548006f72758001100b237..."} 
[2026-04-17 03:13:43] local.INFO: Packet analysis {"connection_id":45734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983e"} 
[2026-04-17 03:13:43] local.INFO: Extracted packet for processing {"connection_id":45734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983e"} 
[2026-04-17 03:13:43] local.INFO: GPS Element Parsed {"raw_longitude":755455104,"raw_latitude":116860760,"longitude_deg":75.5455104,"latitude_deg":11.686076,"altitude":17,"angle":178,"satellites":55,"speed":44,"hex_longitude":"2d075480","hex_latitude":"06f72758","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752188416001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":532761792090585088,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:43] 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-04-17 03:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776375753000,"timestamp_ms":1776375753000,"timestamp_seconds":1776375753,"priority":1,"record_length":96,"hex_timestamp":"0000019d983ee928"} 
[2026-04-17 03:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:13:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-17 03:13:43] 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-04-17 03: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-04-17 03:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752188416001,"66":28082,"155":206,"28":32256,"24":44,"16":106618783551979520,"45":532761792090585088},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,28,24,16,45]} 
[2026-04-17 03:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752188416001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:13:43] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-17 03:13:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 03:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":532761792090585088,"description":"Unknown IO ID 45"} 
[2026-04-17 03:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752188416001,"power":28082,"unknown_155":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_45":532761792090585088}} 
[2026-04-17 03:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":45734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18880,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:13:44] local.INFO: GPS data processed {"connection_id":45734,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:13:44] local.INFO: Acknowledgment sent {"connection_id":45734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:13:52] local.INFO: TCP Data received {"connection_id":45735,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:13:52] local.INFO: Processing buffer {"connection_id":45735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:13:52] local.INFO: IMEI packet received {"connection_id":45735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":45735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:13:53] local.INFO: TCP Data received {"connection_id":45735,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:13:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:13:53] local.INFO: Processing buffer {"connection_id":45735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:13:53] local.INFO: IMEI packet received {"connection_id":45735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:13:53] local.INFO: IMEI acknowledgment sent {"connection_id":45735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:13:57] local.INFO: TCP Data received {"connection_id":45735,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:13:57] local.INFO: Processing buffer {"connection_id":45735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:13:57] local.INFO: IMEI packet received {"connection_id":45735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":45735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:13:58] local.INFO: TCP Data received {"connection_id":45735,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d983f4ad0012d6df500060cd0b8000100492f..."} 
[2026-04-17 03:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983f4ad0012d6df500060cd0b8000100492f..."} 
[2026-04-17 03:13:58] local.INFO: Processing buffer {"connection_id":45735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983f4ad0012d6df500060cd0b8000100492f..."} 
[2026-04-17 03:13:58] local.INFO: Packet analysis {"connection_id":45735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983f"} 
[2026-04-17 03:13:58] local.INFO: Extracted packet for processing {"connection_id":45735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983f"} 
[2026-04-17 03:13:58] local.INFO: GPS Element Parsed {"raw_longitude":762180864,"raw_latitude":101503160,"longitude_deg":76.2180864,"latitude_deg":10.150316,"altitude":1,"angle":73,"satellites":47,"speed":34,"hex_longitude":"2d6df500","hex_latitude":"060cd0b8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752197120001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273734238757453824,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7913106046250940416,"note":"Value kept but may cause issues"} 
[2026-04-17 03:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,83,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776375778000,"timestamp_ms":1776375778000,"timestamp_seconds":1776375778,"priority":1,"record_length":96,"hex_timestamp":"0000019d983f4ad0"} 
[2026-04-17 03:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:13: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-04-17 03: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 03:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752197120001,"66":27397,"83":206,"79":46336,"24":34,"16":273734238757453824,"45":7913106046250940416},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,83,79,24,16,45]} 
[2026-04-17 03:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752197120001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:13:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":206,"description":"Unknown IO ID 83"} 
[2026-04-17 03:13:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273734238757453824,"km_value":273734238757453.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7913106046250940416,"description":"Unknown IO ID 45"} 
[2026-04-17 03:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752197120001,"power":27397,"unknown_83":206,"unknown_79":46336,"ignition":34,"odometer":null,"unknown_45":7913106046250940416}} 
[2026-04-17 03:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":45735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:13:58] local.INFO: GPS data processed {"connection_id":45735,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:13:58] local.INFO: Acknowledgment sent {"connection_id":45735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:14:05] local.INFO: TCP Data received {"connection_id":45531,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:14:05] local.INFO: Processing buffer {"connection_id":45531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:14:05] local.INFO: IMEI packet received {"connection_id":45531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":45531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:14:11] local.INFO: TCP Data received {"connection_id":45531,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45531,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:14:11] local.INFO: Processing buffer {"connection_id":45531,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:14:11] local.INFO: IMEI packet received {"connection_id":45531,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":45531,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:14:13] local.INFO: TCP Data received {"connection_id":45531,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d983f2f78012d076b0006f6e2380014009239..."} 
[2026-04-17 03:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983f2f78012d076b0006f6e2380014009239..."} 
[2026-04-17 03:14:13] local.INFO: Processing buffer {"connection_id":45531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983f2f78012d076b0006f6e2380014009239..."} 
[2026-04-17 03:14:13] local.INFO: Packet analysis {"connection_id":45531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983f"} 
[2026-04-17 03:14:13] local.INFO: Extracted packet for processing {"connection_id":45531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983f"} 
[2026-04-17 03:14:13] local.INFO: GPS Element Parsed {"raw_longitude":755460864,"raw_latitude":116843064,"longitude_deg":75.5460864,"latitude_deg":11.6843064,"altitude":20,"angle":146,"satellites":57,"speed":42,"hex_longitude":"2d076b00","hex_latitude":"06f6e238","is_valid_coordinates":true} 
[2026-04-17 03:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:14:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752192768001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:14:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:14:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":528187823713900544,"note":"Value kept but may cause issues"} 
[2026-04-17 03:14:13] 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-04-17 03:14:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776375771000,"timestamp_ms":1776375771000,"timestamp_seconds":1776375771,"priority":1,"record_length":96,"hex_timestamp":"0000019d983f2f78"} 
[2026-04-17 03:14:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:14:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:14:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 03:14:13] 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-04-17 03:14:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:14:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:14:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:14:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:14:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:14:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:14:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:14:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:14:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:14:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752192768001,"66":28028,"69":206,"2":56576,"24":42,"16":106618783551979520,"45":528187823713900544},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-04-17 03:14:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:14:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:14:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752192768001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:14:13] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-04-17 03:14:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:14:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":528187823713900544,"description":"Unknown IO ID 45"} 
[2026-04-17 03:14:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752192768001,"power":28028,"unknown_69":206,"power_alt":56576,"ignition":42,"odometer":null,"unknown_45":528187823713900544}} 
[2026-04-17 03:14:13] local.INFO: DEBUG: GPS processor result {"connection_id":45531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18882,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:14:13] local.INFO: GPS data processed {"connection_id":45531,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:14:13] local.INFO: Acknowledgment sent {"connection_id":45531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:14:29] local.INFO: TCP Data received {"connection_id":45735,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98406028012d6ec480060cf730000800822e..."} 
[2026-04-17 03:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98406028012d6ec480060cf730000800822e..."} 
[2026-04-17 03:14:29] local.INFO: Processing buffer {"connection_id":45735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98406028012d6ec480060cf730000800822e..."} 
[2026-04-17 03:14:29] local.INFO: Packet analysis {"connection_id":45735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9840"} 
[2026-04-17 03:14:29] local.INFO: Extracted packet for processing {"connection_id":45735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9840"} 
[2026-04-17 03:14:29] local.INFO: GPS Element Parsed {"raw_longitude":762233984,"raw_latitude":101513008,"longitude_deg":76.2233984,"latitude_deg":10.1513008,"altitude":8,"angle":130,"satellites":46,"speed":14,"hex_longitude":"2d6ec480","hex_latitude":"060cf730","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752217088001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273736884457308160,"note":"Value kept but may cause issues"} 
[2026-04-17 03:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7981222990618032128,"note":"Value kept but may cause issues"} 
[2026-04-17 03:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,252,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776375849000,"timestamp_ms":1776375849000,"timestamp_seconds":1776375849,"priority":1,"record_length":96,"hex_timestamp":"0000019d98406028"} 
[2026-04-17 03:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:14: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-04-17 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 03:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:14: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-04-17 03:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752217088001,"66":27365,"252":206,"79":46336,"24":14,"16":273736884457308160,"45":7981222990618032128},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,252,79,24,16,45]} 
[2026-04-17 03:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752217088001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:14:29] local.INFO: Unknown IO ID detected {"io_id":252,"value":206,"description":"Unknown IO ID 252"} 
[2026-04-17 03:14:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":46336,"description":"Unknown IO ID 79"} 
[2026-04-17 03:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273736884457308160,"km_value":273736884457308.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":7981222990618032128,"description":"Unknown IO ID 45"} 
[2026-04-17 03:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752217088001,"power":27365,"unknown_252":206,"unknown_79":46336,"ignition":14,"odometer":null,"unknown_45":7981222990618032128}} 
[2026-04-17 03:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":45735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:14:29] local.INFO: GPS data processed {"connection_id":45735,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:14:29] local.INFO: Acknowledgment sent {"connection_id":45735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:14:45] local.INFO: TCP Data received {"connection_id":45531,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d983f7d98012d07a20006f6a058000f008b37..."} 
[2026-04-17 03:14:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983f7d98012d07a20006f6a058000f008b37..."} 
[2026-04-17 03:14:45] local.INFO: Processing buffer {"connection_id":45531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983f7d98012d07a20006f6a058000f008b37..."} 
[2026-04-17 03:14:45] local.INFO: Packet analysis {"connection_id":45531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983f"} 
[2026-04-17 03:14:45] local.INFO: Extracted packet for processing {"connection_id":45531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983f"} 
[2026-04-17 03:14:45] local.INFO: GPS Element Parsed {"raw_longitude":755474944,"raw_latitude":116826200,"longitude_deg":75.5474944,"latitude_deg":11.68262,"altitude":15,"angle":139,"satellites":55,"speed":0,"hex_longitude":"2d07a200","hex_latitude":"06f6a058","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:14:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752197376001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:14:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:14:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":534521010685360128,"note":"Value kept but may cause issues"} 
[2026-04-17 03:14:45] 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-04-17 03:14:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776375791000,"timestamp_ms":1776375791000,"timestamp_seconds":1776375791,"priority":1,"record_length":96,"hex_timestamp":"0000019d983f7d98"} 
[2026-04-17 03:14:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:14: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-04-17 03: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 03:14: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-04-17 03: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-04-17 03:14:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:14:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:14:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:14:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:14:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45531,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:14:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:14:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:14:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:14:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752197376001,"66":27713,"69":206,"2":56576,"24":0,"16":106618783551979520,"45":534521010685360128},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-04-17 03:14:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:14:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:14:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752197376001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:14:45] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-04-17 03:14:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:14:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":534521010685360128,"description":"Unknown IO ID 45"} 
[2026-04-17 03:14:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752197376001,"power":27713,"unknown_69":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":534521010685360128}} 
[2026-04-17 03:14:45] local.INFO: DEBUG: GPS processor result {"connection_id":45531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18884,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:14:45] local.INFO: GPS data processed {"connection_id":45531,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:14:45] local.INFO: Acknowledgment sent {"connection_id":45531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:15:02] local.INFO: TCP Data received {"connection_id":46288,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:15:02] local.INFO: Processing buffer {"connection_id":46288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:15:02] local.INFO: IMEI packet received {"connection_id":46288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":46288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:15:11] local.INFO: TCP Data received {"connection_id":45532,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:15:11] local.INFO: Processing buffer {"connection_id":45532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:15:11] local.INFO: IMEI packet received {"connection_id":45532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":45532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:15:15] local.INFO: TCP Data received {"connection_id":45532,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45532,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:15:15] local.INFO: Processing buffer {"connection_id":45532,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:15:15] local.INFO: IMEI packet received {"connection_id":45532,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":45532,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:15:17] local.INFO: TCP Data received {"connection_id":45532,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984019d80100000000000000000000000000..."} 
[2026-04-17 03:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984019d80100000000000000000000000000..."} 
[2026-04-17 03:15:17] local.INFO: Processing buffer {"connection_id":45532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984019d80100000000000000000000000000..."} 
[2026-04-17 03:15:17] local.INFO: Packet analysis {"connection_id":45532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9840"} 
[2026-04-17 03:15:17] local.INFO: Extracted packet for processing {"connection_id":45532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9840"} 
[2026-04-17 03:15: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-04-17 03:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752202496001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":550002134400129024,"note":"Value kept but may cause issues"} 
[2026-04-17 03:15:17] 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-04-17 03:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776375831000,"timestamp_ms":1776375831000,"timestamp_seconds":1776375831,"priority":1,"record_length":96,"hex_timestamp":"0000019d984019d8"} 
[2026-04-17 03:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:15:17] 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-04-17 03:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-04-17 03:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":45532,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:15:17] local.INFO: GPS data processed {"connection_id":45532,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:15:17] local.INFO: Acknowledgment sent {"connection_id":45532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:15:19] local.INFO: TCP Data received {"connection_id":45532,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d983ff6b0012d080b4006f625f00009008b36..."} 
[2026-04-17 03:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d983ff6b0012d080b4006f625f00009008b36..."} 
[2026-04-17 03:15:19] local.INFO: Processing buffer {"connection_id":45532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d983ff6b0012d080b4006f625f00009008b36..."} 
[2026-04-17 03:15:19] local.INFO: Packet analysis {"connection_id":45532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d983f"} 
[2026-04-17 03:15:19] local.INFO: Extracted packet for processing {"connection_id":45532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d983f"} 
[2026-04-17 03:15:19] local.INFO: GPS Element Parsed {"raw_longitude":755501888,"raw_latitude":116794864,"longitude_deg":75.5501888,"latitude_deg":11.6794864,"altitude":9,"angle":139,"satellites":54,"speed":43,"hex_longitude":"2d080b40","hex_latitude":"06f625f0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:15:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:15:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,69,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:15:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776375822000,"timestamp_ms":1776375822000,"timestamp_seconds":1776375822,"priority":1,"record_length":96,"hex_timestamp":"0000019d983ff6b0"} 
[2026-04-17 03:15:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:15:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":37,"data_length":795,"current_offset":136} 
[2026-04-17 03:15:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1076,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:15:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:15:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:15:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:15:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:15:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:15:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:15:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:15:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:15:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28050,"69":206,"2":56576,"24":43,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16]} 
[2026-04-17 03:15:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:15:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:15:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:15:19] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-04-17 03:15:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:15:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28050,"unknown_69":206,"power_alt":56576,"ignition":43,"odometer":null}} 
[2026-04-17 03:15:19] local.INFO: DEBUG: GPS processor result {"connection_id":45532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18885,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:15:19] local.INFO: GPS data processed {"connection_id":45532,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:15:19] local.INFO: Acknowledgment sent {"connection_id":45532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:15:37] local.INFO: TCP Data received {"connection_id":46288,"ip":"42.106.6.18","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 03:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46288,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 03:15:37] local.INFO: Processing buffer {"connection_id":46288,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 03:15:37] local.INFO: IMEI packet received {"connection_id":46288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":46288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:15:51] local.INFO: TCP Data received {"connection_id":45532,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984044d0012d083b4006f5f4c8000b008a31..."} 
[2026-04-17 03:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984044d0012d083b4006f5f4c8000b008a31..."} 
[2026-04-17 03:15:51] local.INFO: Processing buffer {"connection_id":45532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984044d0012d083b4006f5f4c8000b008a31..."} 
[2026-04-17 03:15:51] local.INFO: Packet analysis {"connection_id":45532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9840"} 
[2026-04-17 03:15:51] local.INFO: Extracted packet for processing {"connection_id":45532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9840"} 
[2026-04-17 03:15:51] local.INFO: GPS Element Parsed {"raw_longitude":755514176,"raw_latitude":116782280,"longitude_deg":75.5514176,"latitude_deg":11.678228,"altitude":11,"angle":138,"satellites":49,"speed":0,"hex_longitude":"2d083b40","hex_latitude":"06f5f4c8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752210432001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":579627375690903552,"note":"Value kept but may cause issues"} 
[2026-04-17 03:15:51] 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-04-17 03:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776375842000,"timestamp_ms":1776375842000,"timestamp_seconds":1776375842,"priority":1,"record_length":96,"hex_timestamp":"0000019d984044d0"} 
[2026-04-17 03:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:15: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-04-17 03: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-17 03:15:51] 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-04-17 03: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-04-17 03:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":45532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":45532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":45532,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752210432001,"66":28093,"69":206,"2":56576,"24":0,"16":106618783551979520,"45":579627375690903552},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-04-17 03:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752210432001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:15:51] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-04-17 03:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":579627375690903552,"description":"Unknown IO ID 45"} 
[2026-04-17 03:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752210432001,"power":28093,"unknown_69":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":579627375690903552}} 
[2026-04-17 03:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":45532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18886,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:15:51] local.INFO: GPS data processed {"connection_id":45532,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:15:51] local.INFO: Acknowledgment sent {"connection_id":45532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:15:52] local.INFO: TCP Data received {"connection_id":45469,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45469,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:15:52] local.INFO: Processing buffer {"connection_id":45469,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:15:52] local.INFO: IMEI packet received {"connection_id":45469,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":45469,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:16:06] local.INFO: TCP Data received {"connection_id":45736,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:16:06] local.INFO: Processing buffer {"connection_id":45736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:16:06] local.INFO: IMEI packet received {"connection_id":45736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":45736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:16:11] local.INFO: TCP Data received {"connection_id":45736,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:16:11] local.INFO: Processing buffer {"connection_id":45736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:16:11] local.INFO: IMEI packet received {"connection_id":45736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":45736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:16:13] local.INFO: TCP Data received {"connection_id":45736,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984096d8012d083b4006f5f4c8000b008a31..."} 
[2026-04-17 03:16:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984096d8012d083b4006f5f4c8000b008a31..."} 
[2026-04-17 03:16:13] local.INFO: Processing buffer {"connection_id":45736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984096d8012d083b4006f5f4c8000b008a31..."} 
[2026-04-17 03:16:13] local.INFO: Packet analysis {"connection_id":45736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9840"} 
[2026-04-17 03:16:13] local.INFO: Extracted packet for processing {"connection_id":45736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9840"} 
[2026-04-17 03:16:13] local.INFO: GPS Element Parsed {"raw_longitude":755514176,"raw_latitude":116782280,"longitude_deg":75.5514176,"latitude_deg":11.678228,"altitude":11,"angle":138,"satellites":49,"speed":0,"hex_longitude":"2d083b40","hex_latitude":"06f5f4c8","is_valid_coordinates":true} 
[2026-04-17 03:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:16:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752215552001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:16:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:16:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":593138174569793536,"note":"Value kept but may cause issues"} 
[2026-04-17 03:16:13] 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-04-17 03:16:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776375863000,"timestamp_ms":1776375863000,"timestamp_seconds":1776375863,"priority":1,"record_length":96,"hex_timestamp":"0000019d984096d8"} 
[2026-04-17 03:16:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:16:13] 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-04-17 03:16:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-04-17 03:16:13] 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-04-17 03:16:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:16:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:16:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:16:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:16:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:16:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:16:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:16:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:16:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:16:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752215552001,"66":28006,"69":206,"2":56576,"24":0,"16":106618783551979520,"45":593138174569793536},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-04-17 03:16:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:16:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:16:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752215552001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:16:13] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-04-17 03:16:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:16:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":593138174569793536,"description":"Unknown IO ID 45"} 
[2026-04-17 03:16:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752215552001,"power":28006,"unknown_69":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":593138174569793536}} 
[2026-04-17 03:16:13] local.INFO: DEBUG: GPS processor result {"connection_id":45736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18887,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:16:13] local.INFO: GPS data processed {"connection_id":45736,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:16:13] local.INFO: Acknowledgment sent {"connection_id":45736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:16:17] local.INFO: TCP Data received {"connection_id":45736,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9840e8e0012d085cc006f5cac8000b008e33..."} 
[2026-04-17 03:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9840e8e0012d085cc006f5cac8000b008e33..."} 
[2026-04-17 03:16:17] local.INFO: Processing buffer {"connection_id":45736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9840e8e0012d085cc006f5cac8000b008e33..."} 
[2026-04-17 03:16:17] local.INFO: Packet analysis {"connection_id":45736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9840"} 
[2026-04-17 03:16:17] local.INFO: Extracted packet for processing {"connection_id":45736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9840"} 
[2026-04-17 03:16:17] local.INFO: GPS Element Parsed {"raw_longitude":755522752,"raw_latitude":116771528,"longitude_deg":75.5522752,"latitude_deg":11.6771528,"altitude":11,"angle":142,"satellites":51,"speed":0,"hex_longitude":"2d085cc0","hex_latitude":"06f5cac8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752220928001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":593138174569793536,"note":"Value kept but may cause issues"} 
[2026-04-17 03:16:17] 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-04-17 03:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776375884000,"timestamp_ms":1776375884000,"timestamp_seconds":1776375884,"priority":1,"record_length":96,"hex_timestamp":"0000019d9840e8e0"} 
[2026-04-17 03:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 03:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752220928001,"66":28093,"69":206,"2":56576,"24":0,"16":106618783551979520,"45":593138174569793536},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-04-17 03:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752220928001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:16:17] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-04-17 03:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":593138174569793536,"description":"Unknown IO ID 45"} 
[2026-04-17 03:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752220928001,"power":28093,"unknown_69":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":593138174569793536}} 
[2026-04-17 03:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":45736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18888,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:16:17] local.INFO: GPS data processed {"connection_id":45736,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:16:17] local.INFO: Acknowledgment sent {"connection_id":45736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:16:48] local.INFO: TCP Data received {"connection_id":45736,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98413ae8012d0881c006f59790000a009135..."} 
[2026-04-17 03:16:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98413ae8012d0881c006f59790000a009135..."} 
[2026-04-17 03:16:48] local.INFO: Processing buffer {"connection_id":45736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98413ae8012d0881c006f59790000a009135..."} 
[2026-04-17 03:16:48] local.INFO: Packet analysis {"connection_id":45736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9841"} 
[2026-04-17 03:16:48] local.INFO: Extracted packet for processing {"connection_id":45736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9841"} 
[2026-04-17 03:16:48] local.INFO: GPS Element Parsed {"raw_longitude":755532224,"raw_latitude":116758416,"longitude_deg":75.5532224,"latitude_deg":11.6758416,"altitude":10,"angle":145,"satellites":53,"speed":0,"hex_longitude":"2d0881c0","hex_latitude":"06f59790","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:16:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752226304001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:16:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:16:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":602567586286848000,"note":"Value kept but may cause issues"} 
[2026-04-17 03:16:48] 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-04-17 03:16:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776375905000,"timestamp_ms":1776375905000,"timestamp_seconds":1776375905,"priority":1,"record_length":96,"hex_timestamp":"0000019d98413ae8"} 
[2026-04-17 03:16:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:16:48] 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-04-17 03: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":109,"n8_eight_byte":189,"data_length":795,"current_offset":136} 
[2026-04-17 03:16:48] 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-04-17 03: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-04-17 03:16:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:16:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:16:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:16:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:16:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45736,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:16:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:16:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:16:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:16:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752226304001,"66":27876,"69":206,"2":56576,"24":0,"16":106618783551979520,"45":602567586286848000},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-04-17 03:16:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:16:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:16:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752226304001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:16:48] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-04-17 03:16:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:16:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":602567586286848000,"description":"Unknown IO ID 45"} 
[2026-04-17 03:16:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752226304001,"power":27876,"unknown_69":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":602567586286848000}} 
[2026-04-17 03:16:48] local.INFO: DEBUG: GPS processor result {"connection_id":45736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18889,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:16:48] local.INFO: GPS data processed {"connection_id":45736,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:16:48] local.INFO: Acknowledgment sent {"connection_id":45736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:17:06] local.INFO: TCP Data received {"connection_id":45533,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:17:06] local.INFO: Processing buffer {"connection_id":45533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:17:06] local.INFO: IMEI packet received {"connection_id":45533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":45533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:17:06] local.INFO: TCP Data received {"connection_id":45533,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:17:06] local.INFO: Processing buffer {"connection_id":45533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:17:06] local.INFO: IMEI packet received {"connection_id":45533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:17:06] local.INFO: IMEI acknowledgment sent {"connection_id":45533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:17:10] local.INFO: TCP Data received {"connection_id":45533,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:17:10] local.INFO: Processing buffer {"connection_id":45533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:17:10] local.INFO: IMEI packet received {"connection_id":45533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":45533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:17:12] local.INFO: TCP Data received {"connection_id":45533,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98418908012d08a5c006f56490000d008f38..."} 
[2026-04-17 03:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98418908012d08a5c006f56490000d008f38..."} 
[2026-04-17 03:17:12] local.INFO: Processing buffer {"connection_id":45533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98418908012d08a5c006f56490000d008f38..."} 
[2026-04-17 03:17:12] local.INFO: Packet analysis {"connection_id":45533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9841"} 
[2026-04-17 03:17:12] local.INFO: Extracted packet for processing {"connection_id":45533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9841"} 
[2026-04-17 03:17:12] local.INFO: GPS Element Parsed {"raw_longitude":755541440,"raw_latitude":116745360,"longitude_deg":75.554144,"latitude_deg":11.674536,"altitude":13,"angle":143,"satellites":56,"speed":0,"hex_longitude":"2d08a5c0","hex_latitude":"06f56490","is_valid_coordinates":true} 
[2026-04-17 03:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:17:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752231680001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:17:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:17:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":612982160421785600,"note":"Value kept but may cause issues"} 
[2026-04-17 03:17:12] 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-04-17 03:17:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776375925000,"timestamp_ms":1776375925000,"timestamp_seconds":1776375925,"priority":1,"record_length":96,"hex_timestamp":"0000019d98418908"} 
[2026-04-17 03:17:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:17: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-04-17 03:17:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 03:17:12] 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-04-17 03:17:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:17:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:17:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:17:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:17:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:17:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:17:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:17:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:17:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:17:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752231680001,"66":27832,"69":206,"2":56576,"24":0,"16":106618783551979520,"45":612982160421785600},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-04-17 03:17:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:17:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:17:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752231680001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:17:12] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-04-17 03:17:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:17:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":612982160421785600,"description":"Unknown IO ID 45"} 
[2026-04-17 03:17:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752231680001,"power":27832,"unknown_69":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":612982160421785600}} 
[2026-04-17 03:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":45533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18890,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:17:13] local.INFO: GPS data processed {"connection_id":45533,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:17:13] local.INFO: Acknowledgment sent {"connection_id":45533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:17:45] local.INFO: TCP Data received {"connection_id":45533,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9841d728012d08bfc006f53110000d008e38..."} 
[2026-04-17 03:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9841d728012d08bfc006f53110000d008e38..."} 
[2026-04-17 03:17:45] local.INFO: Processing buffer {"connection_id":45533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9841d728012d08bfc006f53110000d008e38..."} 
[2026-04-17 03:17:45] local.INFO: Packet analysis {"connection_id":45533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9841"} 
[2026-04-17 03:17:45] local.INFO: Extracted packet for processing {"connection_id":45533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9841"} 
[2026-04-17 03:17:45] local.INFO: GPS Element Parsed {"raw_longitude":755548096,"raw_latitude":116732176,"longitude_deg":75.5548096,"latitude_deg":11.6732176,"altitude":13,"angle":142,"satellites":56,"speed":0,"hex_longitude":"2d08bfc0","hex_latitude":"06f53110","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752236800001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":623115259580026880,"note":"Value kept but may cause issues"} 
[2026-04-17 03:17:45] 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-04-17 03:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776375945000,"timestamp_ms":1776375945000,"timestamp_seconds":1776375945,"priority":1,"record_length":96,"hex_timestamp":"0000019d9841d728"} 
[2026-04-17 03:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:17: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-04-17 03: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":184,"data_length":795,"current_offset":136} 
[2026-04-17 03:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752236800001,"66":27952,"69":206,"2":56576,"24":0,"16":106618783551979520,"45":623115259580026880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-04-17 03:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752236800001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:17:45] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-04-17 03:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":623115259580026880,"description":"Unknown IO ID 45"} 
[2026-04-17 03:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752236800001,"power":27952,"unknown_69":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":623115259580026880}} 
[2026-04-17 03:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":45533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18891,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:17:45] local.INFO: GPS data processed {"connection_id":45533,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:17:45] local.INFO: Acknowledgment sent {"connection_id":45533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:18:06] local.INFO: TCP Data received {"connection_id":45470,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:18:06] local.INFO: Processing buffer {"connection_id":45470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:18:06] local.INFO: IMEI packet received {"connection_id":45470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:18:06] local.INFO: IMEI acknowledgment sent {"connection_id":45470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:18:08] local.INFO: TCP Data received {"connection_id":45470,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:18:08] local.INFO: Processing buffer {"connection_id":45470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:18:08] local.INFO: IMEI packet received {"connection_id":45470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":45470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:18:11] local.INFO: TCP Data received {"connection_id":45470,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45470,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:18:11] local.INFO: Processing buffer {"connection_id":45470,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:18:11] local.INFO: IMEI packet received {"connection_id":45470,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":45470,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:18:12] local.INFO: TCP Data received {"connection_id":45470,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98422930012d08e34006f50700000d008a36..."} 
[2026-04-17 03:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98422930012d08e34006f50700000d008a36..."} 
[2026-04-17 03:18:12] local.INFO: Processing buffer {"connection_id":45470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98422930012d08e34006f50700000d008a36..."} 
[2026-04-17 03:18:12] local.INFO: Packet analysis {"connection_id":45470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9842"} 
[2026-04-17 03:18:12] local.INFO: Extracted packet for processing {"connection_id":45470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9842"} 
[2026-04-17 03:18:12] local.INFO: GPS Element Parsed {"raw_longitude":755557184,"raw_latitude":116721408,"longitude_deg":75.5557184,"latitude_deg":11.6721408,"altitude":13,"angle":138,"satellites":54,"speed":26,"hex_longitude":"2d08e340","hex_latitude":"06f50700","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752241920001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":630433608971128832,"note":"Value kept but may cause issues"} 
[2026-04-17 03:18:12] 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-04-17 03:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776375966000,"timestamp_ms":1776375966000,"timestamp_seconds":1776375966,"priority":1,"record_length":96,"hex_timestamp":"0000019d98422930"} 
[2026-04-17 03:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:18: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-04-17 03: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 03:18:12] 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-04-17 03: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-04-17 03:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752241920001,"66":27876,"69":206,"2":56576,"24":26,"16":106618783551979520,"45":630433608971128832},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16,45]} 
[2026-04-17 03:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752241920001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:18:12] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-04-17 03:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":630433608971128832,"description":"Unknown IO ID 45"} 
[2026-04-17 03:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752241920001,"power":27876,"unknown_69":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":630433608971128832}} 
[2026-04-17 03:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":45470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18892,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:18:12] local.INFO: GPS data processed {"connection_id":45470,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:18:12] local.INFO: Acknowledgment sent {"connection_id":45470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:18:18] local.INFO: TCP Data received {"connection_id":45470,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9842d1280100000000000000000000000000..."} 
[2026-04-17 03:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9842d1280100000000000000000000000000..."} 
[2026-04-17 03:18:18] local.INFO: Processing buffer {"connection_id":45470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9842d1280100000000000000000000000000..."} 
[2026-04-17 03:18:18] local.INFO: Packet analysis {"connection_id":45470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9842"} 
[2026-04-17 03:18:18] local.INFO: Extracted packet for processing {"connection_id":45470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9842"} 
[2026-04-17 03:18: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-04-17 03:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:18:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752247296001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:18:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:18:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":640425970641600512,"note":"Value kept but may cause issues"} 
[2026-04-17 03:18:18] 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-04-17 03:18:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776376009000,"timestamp_ms":1776376009000,"timestamp_seconds":1776376009,"priority":1,"record_length":96,"hex_timestamp":"0000019d9842d128"} 
[2026-04-17 03:18:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:18: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-04-17 03:18:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 03:18:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:18:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:18:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:18:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:18:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:18:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:18:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:18:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:18:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:18:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:18:18] local.INFO: DEBUG: GPS processor result {"connection_id":45470,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:18:18] local.INFO: GPS data processed {"connection_id":45470,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:18:18] local.INFO: Acknowledgment sent {"connection_id":45470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:18:50] local.INFO: TCP Data received {"connection_id":45470,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98428308012d090d8006f4e2e0000d008d37..."} 
[2026-04-17 03:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98428308012d090d8006f4e2e0000d008d37..."} 
[2026-04-17 03:18:50] local.INFO: Processing buffer {"connection_id":45470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98428308012d090d8006f4e2e0000d008d37..."} 
[2026-04-17 03:18:50] local.INFO: Packet analysis {"connection_id":45470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9842"} 
[2026-04-17 03:18:50] local.INFO: Extracted packet for processing {"connection_id":45470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9842"} 
[2026-04-17 03:18:50] local.INFO: GPS Element Parsed {"raw_longitude":755568000,"raw_latitude":116712160,"longitude_deg":75.5568,"latitude_deg":11.671216,"altitude":13,"angle":141,"satellites":55,"speed":25,"hex_longitude":"2d090d80","hex_latitude":"06f4e2e0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:18:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:18:50] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,69,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:18:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776375989000,"timestamp_ms":1776375989000,"timestamp_seconds":1776375989,"priority":1,"record_length":96,"hex_timestamp":"0000019d98428308"} 
[2026-04-17 03:18:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:18: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 03:18:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:18:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:18:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:18:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:18:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:18:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45470,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:18:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:18:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:18:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:18:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"69":206,"2":56576,"24":25,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,69,2,24,16]} 
[2026-04-17 03:18:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:18:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:18:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:18:50] local.INFO: Unknown IO ID detected {"io_id":69,"value":206,"description":"Unknown IO ID 69"} 
[2026-04-17 03:18:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:18:50] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"unknown_69":206,"power_alt":56576,"ignition":25,"odometer":null}} 
[2026-04-17 03:18:50] local.INFO: DEBUG: GPS processor result {"connection_id":45470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18893,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:18:50] local.INFO: GPS data processed {"connection_id":45470,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:18:50] local.INFO: Acknowledgment sent {"connection_id":45470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:19:05] local.INFO: TCP Data received {"connection_id":45534,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:19:05] local.INFO: Processing buffer {"connection_id":45534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:19:05] local.INFO: IMEI packet received {"connection_id":45534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":45534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:19:09] local.INFO: TCP Data received {"connection_id":45534,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:19:09] local.INFO: Processing buffer {"connection_id":45534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:19:09] local.INFO: IMEI packet received {"connection_id":45534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":45534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:19:10] local.INFO: TCP Data received {"connection_id":45534,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:19:10] local.INFO: Processing buffer {"connection_id":45534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:19:10] local.INFO: IMEI packet received {"connection_id":45534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":45534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:19:12] local.INFO: TCP Data received {"connection_id":45534,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9842d510012d09348006f4afb8000c008e37..."} 
[2026-04-17 03:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9842d510012d09348006f4afb8000c008e37..."} 
[2026-04-17 03:19:12] local.INFO: Processing buffer {"connection_id":45534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9842d510012d09348006f4afb8000c008e37..."} 
[2026-04-17 03:19:12] local.INFO: Packet analysis {"connection_id":45534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9842"} 
[2026-04-17 03:19:12] local.INFO: Extracted packet for processing {"connection_id":45534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9842"} 
[2026-04-17 03:19:12] local.INFO: GPS Element Parsed {"raw_longitude":755577984,"raw_latitude":116699064,"longitude_deg":75.5577984,"latitude_deg":11.6699064,"altitude":12,"angle":142,"satellites":55,"speed":34,"hex_longitude":"2d093480","hex_latitude":"06f4afb8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752253184001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":652318288405258240,"note":"Value kept but may cause issues"} 
[2026-04-17 03:19:12] 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-04-17 03:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776376010000,"timestamp_ms":1776376010000,"timestamp_seconds":1776376010,"priority":1,"record_length":96,"hex_timestamp":"0000019d9842d510"} 
[2026-04-17 03:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:19: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-04-17 03:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 03:19: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-04-17 03: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-04-17 03:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752253184001,"66":206,"2":56576,"24":34,"16":106618783551979520,"45":652318288405258240},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-04-17 03:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752253184001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":652318288405258240,"description":"Unknown IO ID 45"} 
[2026-04-17 03:19:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454752253184001,"power":206,"power_alt":56576,"ignition":34,"odometer":null,"unknown_45":652318288405258240}} 
[2026-04-17 03:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":45534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18894,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:19:12] local.INFO: GPS data processed {"connection_id":45534,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:19:12] local.INFO: Acknowledgment sent {"connection_id":45534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:19:14] local.INFO: TCP Data received {"connection_id":45534,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98431f48012d09574006f47490000c009d34..."} 
[2026-04-17 03:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98431f48012d09574006f47490000c009d34..."} 
[2026-04-17 03:19:14] local.INFO: Processing buffer {"connection_id":45534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98431f48012d09574006f47490000c009d34..."} 
[2026-04-17 03:19:14] local.INFO: Packet analysis {"connection_id":45534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9843"} 
[2026-04-17 03:19:14] local.INFO: Extracted packet for processing {"connection_id":45534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9843"} 
[2026-04-17 03:19:14] local.INFO: GPS Element Parsed {"raw_longitude":755586880,"raw_latitude":116683920,"longitude_deg":75.558688,"latitude_deg":11.668392,"altitude":12,"angle":157,"satellites":52,"speed":38,"hex_longitude":"2d095740","hex_latitude":"06f47490","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:19:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752258560001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:19:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:19:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":663295812493621248,"note":"Value kept but may cause issues"} 
[2026-04-17 03:19:14] 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-04-17 03:19:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776376029000,"timestamp_ms":1776376029000,"timestamp_seconds":1776376029,"priority":1,"record_length":96,"hex_timestamp":"0000019d98431f48"} 
[2026-04-17 03:19:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:19: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-04-17 03: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 03:19: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-04-17 03: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-04-17 03:19:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:19:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:19:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:19:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:19:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:19:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:19:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:19:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:19:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752258560001,"66":27604,"67":206,"2":56576,"24":38,"16":106618783551979520,"45":663295812493621248},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-04-17 03:19:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:19:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:19:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752258560001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:19:14] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-04-17 03:19:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:19:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":663295812493621248,"description":"Unknown IO ID 45"} 
[2026-04-17 03:19:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752258560001,"power":27604,"unknown_67":206,"power_alt":56576,"ignition":38,"odometer":null,"unknown_45":663295812493621248}} 
[2026-04-17 03:19:14] local.INFO: DEBUG: GPS processor result {"connection_id":45534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18895,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:19:14] local.INFO: GPS data processed {"connection_id":45534,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:19:14] local.INFO: Acknowledgment sent {"connection_id":45534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:19:45] local.INFO: TCP Data received {"connection_id":45534,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98436d68012d096d4006f42e40000b00a334..."} 
[2026-04-17 03:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98436d68012d096d4006f42e40000b00a334..."} 
[2026-04-17 03:19:45] local.INFO: Processing buffer {"connection_id":45534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98436d68012d096d4006f42e40000b00a334..."} 
[2026-04-17 03:19:45] local.INFO: Packet analysis {"connection_id":45534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9843"} 
[2026-04-17 03:19:45] local.INFO: Extracted packet for processing {"connection_id":45534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9843"} 
[2026-04-17 03:19:45] local.INFO: GPS Element Parsed {"raw_longitude":755592512,"raw_latitude":116665920,"longitude_deg":75.5592512,"latitude_deg":11.666592,"altitude":11,"angle":163,"satellites":52,"speed":0,"hex_longitude":"2d096d40","hex_latitude":"06f42e40","is_valid_coordinates":true} 
[2026-04-17 03:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752263424001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":673077067930439680,"note":"Value kept but may cause issues"} 
[2026-04-17 03:19:45] 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-04-17 03:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776376049000,"timestamp_ms":1776376049000,"timestamp_seconds":1776376049,"priority":1,"record_length":96,"hex_timestamp":"0000019d98436d68"} 
[2026-04-17 03:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:19: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-04-17 03:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-17 03:19:45] 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-04-17 03:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752263424001,"66":27974,"67":206,"2":56576,"24":0,"16":106618783551979520,"45":673077067930439680},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-04-17 03:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752263424001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:19:45] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-04-17 03:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":673077067930439680,"description":"Unknown IO ID 45"} 
[2026-04-17 03:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752263424001,"power":27974,"unknown_67":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":673077067930439680}} 
[2026-04-17 03:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":45534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18896,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:19:45] local.INFO: GPS data processed {"connection_id":45534,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:19:45] local.INFO: Acknowledgment sent {"connection_id":45534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:20:05] local.INFO: TCP Data received {"connection_id":46292,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:20:05] local.INFO: Processing buffer {"connection_id":46292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:20:05] local.INFO: IMEI packet received {"connection_id":46292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":46292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:20:11] local.INFO: TCP Data received {"connection_id":46292,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:20:11] local.INFO: Processing buffer {"connection_id":46292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:20:11] local.INFO: IMEI packet received {"connection_id":46292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":46292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:20:13] local.INFO: TCP Data received {"connection_id":46292,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9843bf70012d09808006f3ec50000d00a335..."} 
[2026-04-17 03:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9843bf70012d09808006f3ec50000d00a335..."} 
[2026-04-17 03:20:13] local.INFO: Processing buffer {"connection_id":46292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9843bf70012d09808006f3ec50000d00a335..."} 
[2026-04-17 03:20:13] local.INFO: Packet analysis {"connection_id":46292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9843"} 
[2026-04-17 03:20:13] local.INFO: Extracted packet for processing {"connection_id":46292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9843"} 
[2026-04-17 03:20:13] local.INFO: GPS Element Parsed {"raw_longitude":755597440,"raw_latitude":116649040,"longitude_deg":75.559744,"latitude_deg":11.664904,"altitude":13,"angle":163,"satellites":53,"speed":0,"hex_longitude":"2d098080","hex_latitude":"06f3ec50","is_valid_coordinates":true} 
[2026-04-17 03:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752268544001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":679269517413466112,"note":"Value kept but may cause issues"} 
[2026-04-17 03:20:13] 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-04-17 03:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776376070000,"timestamp_ms":1776376070000,"timestamp_seconds":1776376070,"priority":1,"record_length":96,"hex_timestamp":"0000019d9843bf70"} 
[2026-04-17 03:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:20:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 03:20: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-04-17 03:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752268544001,"66":27952,"67":206,"2":56576,"24":0,"16":106618783551979520,"45":679269517413466112},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-04-17 03:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752268544001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:20:13] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-04-17 03:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":679269517413466112,"description":"Unknown IO ID 45"} 
[2026-04-17 03:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752268544001,"power":27952,"unknown_67":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":679269517413466112}} 
[2026-04-17 03:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":46292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18897,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:20:13] local.INFO: GPS data processed {"connection_id":46292,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:20:13] local.INFO: Acknowledgment sent {"connection_id":46292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:20:45] local.INFO: TCP Data received {"connection_id":46292,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9843fdf0012d098fc006f3b1d0001100b233..."} 
[2026-04-17 03:20:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9843fdf0012d098fc006f3b1d0001100b233..."} 
[2026-04-17 03:20:45] local.INFO: Processing buffer {"connection_id":46292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9843fdf0012d098fc006f3b1d0001100b233..."} 
[2026-04-17 03:20:45] local.INFO: Packet analysis {"connection_id":46292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9843"} 
[2026-04-17 03:20:45] local.INFO: Extracted packet for processing {"connection_id":46292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9843"} 
[2026-04-17 03:20:45] local.INFO: GPS Element Parsed {"raw_longitude":755601344,"raw_latitude":116634064,"longitude_deg":75.5601344,"latitude_deg":11.6634064,"altitude":17,"angle":178,"satellites":51,"speed":26,"hex_longitude":"2d098fc0","hex_latitude":"06f3b1d0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:20:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752273920001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:20:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:20:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":684687910710824960,"note":"Value kept but may cause issues"} 
[2026-04-17 03:20:45] 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-04-17 03:20:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776376086000,"timestamp_ms":1776376086000,"timestamp_seconds":1776376086,"priority":1,"record_length":96,"hex_timestamp":"0000019d9843fdf0"} 
[2026-04-17 03:20:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:20: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-04-17 03: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 03:20:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:20:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:20:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:20:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:20:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:20:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46292,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:20:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:20:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:20:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:20:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752273920001,"66":27984,"67":206,"2":56576,"24":26,"16":106618783551979520,"45":684687910710824960},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,2,24,16,45]} 
[2026-04-17 03:20:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:20:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:20:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752273920001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:20:45] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-04-17 03:20:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:20:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":684687910710824960,"description":"Unknown IO ID 45"} 
[2026-04-17 03:20:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752273920001,"power":27984,"unknown_67":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":684687910710824960}} 
[2026-04-17 03:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":46292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18898,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:20:45] local.INFO: GPS data processed {"connection_id":46292,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:20:45] local.INFO: Acknowledgment sent {"connection_id":46292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:20:57] local.INFO: TCP Data received {"connection_id":45535,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45535,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:20:57] local.INFO: Processing buffer {"connection_id":45535,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:20:57] local.INFO: IMEI packet received {"connection_id":45535,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":45535,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:20:58] local.INFO: TCP Data received {"connection_id":45535,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98453670012d70fd40060aef300004009830..."} 
[2026-04-17 03:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98453670012d70fd40060aef300004009830..."} 
[2026-04-17 03:20:58] local.INFO: Processing buffer {"connection_id":45535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98453670012d70fd40060aef300004009830..."} 
[2026-04-17 03:20:58] local.INFO: Packet analysis {"connection_id":45535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9845"} 
[2026-04-17 03:20:58] local.INFO: Extracted packet for processing {"connection_id":45535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9845"} 
[2026-04-17 03:20:58] local.INFO: GPS Element Parsed {"raw_longitude":762379584,"raw_latitude":101379888,"longitude_deg":76.2379584,"latitude_deg":10.1379888,"altitude":4,"angle":152,"satellites":48,"speed":38,"hex_longitude":"2d70fd40","hex_latitude":"060aef30","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752295936001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273748532408614912,"note":"Value kept but may cause issues"} 
[2026-04-17 03:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8138004552614086656,"note":"Value kept but may cause issues"} 
[2026-04-17 03:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776376166000,"timestamp_ms":1776376166000,"timestamp_seconds":1776376166,"priority":1,"record_length":96,"hex_timestamp":"0000019d98453670"} 
[2026-04-17 03:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:20: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-04-17 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 03:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752295936001,"66":27365,"72":206,"79":47616,"24":38,"16":273748532408614912,"45":8138004552614086656},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,79,24,16,45]} 
[2026-04-17 03:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752295936001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:20:58] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-04-17 03:20:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273748532408614912,"km_value":273748532408614.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8138004552614086656,"description":"Unknown IO ID 45"} 
[2026-04-17 03:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752295936001,"power":27365,"unknown_72":206,"unknown_79":47616,"ignition":38,"odometer":null,"unknown_45":8138004552614086656}} 
[2026-04-17 03:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":45535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:20:58] local.INFO: GPS data processed {"connection_id":45535,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:20:58] local.INFO: Acknowledgment sent {"connection_id":45535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:21:11] local.INFO: TCP Data received {"connection_id":46293,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46293,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:21:11] local.INFO: Processing buffer {"connection_id":46293,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:21:11] local.INFO: IMEI packet received {"connection_id":46293,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":46293,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:21:17] local.INFO: TCP Data received {"connection_id":46293,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46293,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:21:17] local.INFO: Processing buffer {"connection_id":46293,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:21:17] local.INFO: IMEI packet received {"connection_id":46293,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":46293,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:21:18] local.INFO: TCP Data received {"connection_id":46293,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9844b1a00100000000000000000000000000..."} 
[2026-04-17 03:21:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9844b1a00100000000000000000000000000..."} 
[2026-04-17 03:21:18] local.INFO: Processing buffer {"connection_id":46293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9844b1a00100000000000000000000000000..."} 
[2026-04-17 03:21:18] local.INFO: Packet analysis {"connection_id":46293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9844"} 
[2026-04-17 03:21:18] local.INFO: Extracted packet for processing {"connection_id":46293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9844"} 
[2026-04-17 03:21: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-04-17 03: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-04-17 03:21:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752278016001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:21:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:21:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":688980404101828608,"note":"Value kept but may cause issues"} 
[2026-04-17 03:21:18] 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-04-17 03:21:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776376132000,"timestamp_ms":1776376132000,"timestamp_seconds":1776376132,"priority":1,"record_length":96,"hex_timestamp":"0000019d9844b1a0"} 
[2026-04-17 03:21:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:21:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":80,"data_length":795,"current_offset":136} 
[2026-04-17 03:21:18] 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-04-17 03: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-04-17 03:21:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:21:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:21:18] local.INFO: Teltonika packet parsed successfully {"connection_id":46293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:21:18] local.INFO: Passing IMEI to GPS processor {"connection_id":46293,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:21:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":46293,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:21:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:21:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:21:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:21:18] local.INFO: DEBUG: GPS processor result {"connection_id":46293,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:21:18] local.INFO: GPS data processed {"connection_id":46293,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:21:18] local.INFO: Acknowledgment sent {"connection_id":46293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:21:22] local.INFO: TCP Data received {"connection_id":46293,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98445bb0012d099dc006f37910001300ab33..."} 
[2026-04-17 03:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98445bb0012d099dc006f37910001300ab33..."} 
[2026-04-17 03:21:22] local.INFO: Processing buffer {"connection_id":46293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98445bb0012d099dc006f37910001300ab33..."} 
[2026-04-17 03:21:22] local.INFO: Packet analysis {"connection_id":46293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9844"} 
[2026-04-17 03:21:22] local.INFO: Extracted packet for processing {"connection_id":46293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9844"} 
[2026-04-17 03:21:22] local.INFO: GPS Element Parsed {"raw_longitude":755604928,"raw_latitude":116619536,"longitude_deg":75.5604928,"latitude_deg":11.6619536,"altitude":19,"angle":171,"satellites":51,"speed":28,"hex_longitude":"2d099dc0","hex_latitude":"06f37910","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:21:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,119,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776376110000,"timestamp_ms":1776376110000,"timestamp_seconds":1776376110,"priority":1,"record_length":96,"hex_timestamp":"0000019d98445bb0"} 
[2026-04-17 03:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:21: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 03:21:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":46293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":46293,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":46293,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"119":206,"2":56576,"24":28,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16]} 
[2026-04-17 03:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:21:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:21:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:21:22] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-17 03:21:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:21:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_119":206,"power_alt":56576,"ignition":28,"odometer":null}} 
[2026-04-17 03:21:22] local.INFO: DEBUG: GPS processor result {"connection_id":46293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18900,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:21:22] local.INFO: GPS data processed {"connection_id":46293,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:21:22] local.INFO: Acknowledgment sent {"connection_id":46293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:21:29] local.INFO: TCP Data received {"connection_id":45535,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98455998012d7110c0060ad0e00004009532..."} 
[2026-04-17 03:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98455998012d7110c0060ad0e00004009532..."} 
[2026-04-17 03:21:29] local.INFO: Processing buffer {"connection_id":45535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98455998012d7110c0060ad0e00004009532..."} 
[2026-04-17 03:21:29] local.INFO: Packet analysis {"connection_id":45535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9845"} 
[2026-04-17 03:21:29] local.INFO: Extracted packet for processing {"connection_id":45535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9845"} 
[2026-04-17 03:21:29] local.INFO: GPS Element Parsed {"raw_longitude":762384576,"raw_latitude":101372128,"longitude_deg":76.2384576,"latitude_deg":10.1372128,"altitude":4,"angle":149,"satellites":50,"speed":41,"hex_longitude":"2d7110c0","hex_latitude":"060ad0e0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752298496001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273748979085213696,"note":"Value kept but may cause issues"} 
[2026-04-17 03:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8141734096053153792,"note":"Value kept but may cause issues"} 
[2026-04-17 03:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776376175000,"timestamp_ms":1776376175000,"timestamp_seconds":1776376175,"priority":1,"record_length":96,"hex_timestamp":"0000019d98455998"} 
[2026-04-17 03:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:21: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-04-17 03:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 03:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45535,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:21: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-04-17 03:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752298496001,"66":27343,"72":206,"79":47616,"24":41,"16":273748979085213696,"45":8141734096053153792},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,79,24,16,45]} 
[2026-04-17 03:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752298496001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:21:29] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-04-17 03:21:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273748979085213696,"km_value":273748979085213.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8141734096053153792,"description":"Unknown IO ID 45"} 
[2026-04-17 03:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752298496001,"power":27343,"unknown_72":206,"unknown_79":47616,"ignition":41,"odometer":null,"unknown_45":8141734096053153792}} 
[2026-04-17 03:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":45535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:21:29] local.INFO: GPS data processed {"connection_id":45535,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:21:29] local.INFO: Acknowledgment sent {"connection_id":45535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:21:54] local.INFO: TCP Data received {"connection_id":45738,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:21:54] local.INFO: Processing buffer {"connection_id":45738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:21:54] local.INFO: IMEI packet received {"connection_id":45738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":45738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:21:57] local.INFO: TCP Data received {"connection_id":45738,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:21:57] local.INFO: Processing buffer {"connection_id":45738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:21:57] local.INFO: IMEI packet received {"connection_id":45738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":45738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:22:02] local.INFO: TCP Data received {"connection_id":45738,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:22:02] local.INFO: Processing buffer {"connection_id":45738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:22:02] local.INFO: IMEI packet received {"connection_id":45738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:22:02] local.INFO: IMEI acknowledgment sent {"connection_id":45738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:22:03] local.INFO: TCP Data received {"connection_id":45738,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98457cc0012d7123c0060aaf600004009831..."} 
[2026-04-17 03:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98457cc0012d7123c0060aaf600004009831..."} 
[2026-04-17 03:22:03] local.INFO: Processing buffer {"connection_id":45738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98457cc0012d7123c0060aaf600004009831..."} 
[2026-04-17 03:22:03] local.INFO: Packet analysis {"connection_id":45738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9845"} 
[2026-04-17 03:22:03] local.INFO: Extracted packet for processing {"connection_id":45738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9845"} 
[2026-04-17 03:22:03] local.INFO: GPS Element Parsed {"raw_longitude":762389440,"raw_latitude":101363552,"longitude_deg":76.238944,"latitude_deg":10.1363552,"altitude":4,"angle":152,"satellites":49,"speed":44,"hex_longitude":"2d7123c0","hex_latitude":"060aaf60","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:22:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752300800001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:22:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273749451531616256,"note":"Value kept but may cause issues"} 
[2026-04-17 03:22:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8147222858097025024,"note":"Value kept but may cause issues"} 
[2026-04-17 03:22:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:22:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776376184000,"timestamp_ms":1776376184000,"timestamp_seconds":1776376184,"priority":1,"record_length":96,"hex_timestamp":"0000019d98457cc0"} 
[2026-04-17 03:22:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:22: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-04-17 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:22: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-04-17 03: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-04-17 03:22:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:22:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:22:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:22:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:22:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:22:03] 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-04-17 03:22:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:22:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:22:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752300800001,"66":26908,"72":206,"79":47616,"24":44,"16":273749451531616256,"45":8147222858097025024},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,79,24,16,45]} 
[2026-04-17 03:22:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:22:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:22:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752300800001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:22:03] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-04-17 03:22:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:22:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273749451531616256,"km_value":273749451531616.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:22:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8147222858097025024,"description":"Unknown IO ID 45"} 
[2026-04-17 03:22:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752300800001,"power":26908,"unknown_72":206,"unknown_79":47616,"ignition":44,"odometer":null,"unknown_45":8147222858097025024}} 
[2026-04-17 03:22:03] local.INFO: DEBUG: GPS processor result {"connection_id":45738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:22:03] local.INFO: GPS data processed {"connection_id":45738,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:22:03] local.INFO: Acknowledgment sent {"connection_id":45738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:22:06] local.INFO: TCP Data received {"connection_id":45471,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:22:06] local.INFO: Processing buffer {"connection_id":45471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:22:06] local.INFO: IMEI packet received {"connection_id":45471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":45471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:22:06] local.INFO: TCP Data received {"connection_id":45471,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:22:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:22:06] local.INFO: Processing buffer {"connection_id":45471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:22:06] local.INFO: IMEI packet received {"connection_id":45471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:22:06] local.INFO: IMEI acknowledgment sent {"connection_id":45471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:22:07] local.INFO: TCP Data received {"connection_id":45738,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98459c00012d713400060a8e900004009832..."} 
[2026-04-17 03:22:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98459c00012d713400060a8e900004009832..."} 
[2026-04-17 03:22:07] local.INFO: Processing buffer {"connection_id":45738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98459c00012d713400060a8e900004009832..."} 
[2026-04-17 03:22:07] local.INFO: Packet analysis {"connection_id":45738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9845"} 
[2026-04-17 03:22:07] local.INFO: Extracted packet for processing {"connection_id":45738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9845"} 
[2026-04-17 03:22:07] local.INFO: GPS Element Parsed {"raw_longitude":762393600,"raw_latitude":101355152,"longitude_deg":76.23936,"latitude_deg":10.1355152,"altitude":4,"angle":152,"satellites":50,"speed":48,"hex_longitude":"2d713400","hex_latitude":"060a8e90","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:22:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752303104001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:22:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273749906798149632,"note":"Value kept but may cause issues"} 
[2026-04-17 03:22:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8152570882652332032,"note":"Value kept but may cause issues"} 
[2026-04-17 03:22:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:22:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776376192000,"timestamp_ms":1776376192000,"timestamp_seconds":1776376192,"priority":1,"record_length":96,"hex_timestamp":"0000019d98459c00"} 
[2026-04-17 03:22:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:22:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":105,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-17 03:22:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":975,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:22:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:22:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:22:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:22:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:22:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:22:07] 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-04-17 03:22:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:22:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:22:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752303104001,"66":27213,"72":206,"79":47616,"24":48,"16":273749906798149632,"45":8152570882652332032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,79,24,16,45]} 
[2026-04-17 03:22:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:22:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:22:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752303104001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:22:07] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-04-17 03:22:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:22:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273749906798149632,"km_value":273749906798149.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:22:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8152570882652332032,"description":"Unknown IO ID 45"} 
[2026-04-17 03:22:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752303104001,"power":27213,"unknown_72":206,"unknown_79":47616,"ignition":48,"odometer":null,"unknown_45":8152570882652332032}} 
[2026-04-17 03:22:07] local.INFO: DEBUG: GPS processor result {"connection_id":45738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:22:07] local.INFO: GPS data processed {"connection_id":45738,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:22:07] local.INFO: Acknowledgment sent {"connection_id":45738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:22:10] local.INFO: TCP Data received {"connection_id":45471,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:22:10] local.INFO: Processing buffer {"connection_id":45471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:22:10] local.INFO: IMEI packet received {"connection_id":45471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":45471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:22:12] local.INFO: TCP Data received {"connection_id":45471,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984768f00100000000000000000000000000..."} 
[2026-04-17 03:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984768f00100000000000000000000000000..."} 
[2026-04-17 03:22:12] local.INFO: Processing buffer {"connection_id":45471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984768f00100000000000000000000000000..."} 
[2026-04-17 03:22:12] local.INFO: Packet analysis {"connection_id":45471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9847"} 
[2026-04-17 03:22:12] local.INFO: Extracted packet for processing {"connection_id":45471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9847"} 
[2026-04-17 03:22: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-04-17 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-04-17 03:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752323328001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":716916795508426752,"note":"Value kept but may cause issues"} 
[2026-04-17 03:22:12] 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-04-17 03:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776376310000,"timestamp_ms":1776376310000,"timestamp_seconds":1776376310,"priority":1,"record_length":96,"hex_timestamp":"0000019d984768f0"} 
[2026-04-17 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-04-17 03:22:12] 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-04-17 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 03:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 03:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":45471,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:22:12] local.INFO: GPS data processed {"connection_id":45471,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:22:12] local.INFO: Acknowledgment sent {"connection_id":45471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:22:43] local.INFO: TCP Data received {"connection_id":45471,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98470748012d0a13c006f19f00000e008635..."} 
[2026-04-17 03:22:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98470748012d0a13c006f19f00000e008635..."} 
[2026-04-17 03:22:43] local.INFO: Processing buffer {"connection_id":45471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98470748012d0a13c006f19f00000e008635..."} 
[2026-04-17 03:22:43] local.INFO: Packet analysis {"connection_id":45471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9847"} 
[2026-04-17 03:22:43] local.INFO: Extracted packet for processing {"connection_id":45471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9847"} 
[2026-04-17 03:22:43] local.INFO: GPS Element Parsed {"raw_longitude":755635136,"raw_latitude":116498176,"longitude_deg":75.5635136,"latitude_deg":11.6498176,"altitude":14,"angle":134,"satellites":53,"speed":20,"hex_longitude":"2d0a13c0","hex_latitude":"06f19f00","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:22:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:22:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,119,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:22:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776376285000,"timestamp_ms":1776376285000,"timestamp_seconds":1776376285,"priority":1,"record_length":96,"hex_timestamp":"0000019d98470748"} 
[2026-04-17 03:22:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:22: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 03:22:43] 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-04-17 03: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-04-17 03:22:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:22:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:22:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:22:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:22:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:22:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:22:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:22:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:22:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27887,"119":206,"2":56576,"24":20,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16]} 
[2026-04-17 03:22:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:22:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:22:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:22:43] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-17 03:22:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:22:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27887,"unknown_119":206,"power_alt":56576,"ignition":20,"odometer":null}} 
[2026-04-17 03:22:43] local.INFO: DEBUG: GPS processor result {"connection_id":45471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18904,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:22:43] local.INFO: GPS data processed {"connection_id":45471,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:22:43] local.INFO: Acknowledgment sent {"connection_id":45471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:22:50] local.INFO: TCP Data received {"connection_id":46294,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:22:50] local.INFO: Processing buffer {"connection_id":46294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:22:50] local.INFO: IMEI packet received {"connection_id":46294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":46294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:22:52] local.INFO: TCP Data received {"connection_id":46294,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:22:52] local.INFO: Processing buffer {"connection_id":46294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:22:52] local.INFO: IMEI packet received {"connection_id":46294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":46294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:22:53] local.INFO: TCP Data received {"connection_id":46294,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:22:53] local.INFO: Processing buffer {"connection_id":46294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:22:53] local.INFO: IMEI packet received {"connection_id":46294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":46294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:22:53] local.INFO: TCP Data received {"connection_id":46294,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98472a70012d71e24006092128000400a232..."} 
[2026-04-17 03:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98472a70012d71e24006092128000400a232..."} 
[2026-04-17 03:22:53] local.INFO: Processing buffer {"connection_id":46294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98472a70012d71e24006092128000400a232..."} 
[2026-04-17 03:22:53] local.INFO: Packet analysis {"connection_id":46294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9847"} 
[2026-04-17 03:22:53] local.INFO: Extracted packet for processing {"connection_id":46294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9847"} 
[2026-04-17 03:22:53] local.INFO: GPS Element Parsed {"raw_longitude":762438208,"raw_latitude":101261608,"longitude_deg":76.2438208,"latitude_deg":10.1261608,"altitude":4,"angle":162,"satellites":50,"speed":32,"hex_longitude":"2d71e240","hex_latitude":"06092128","is_valid_coordinates":true} 
[2026-04-17 03:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:22:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752328192001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:22:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273754936204853248,"note":"Value kept but may cause issues"} 
[2026-04-17 03:22:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8203025272203933696,"note":"Value kept but may cause issues"} 
[2026-04-17 03:22:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:22:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776376294000,"timestamp_ms":1776376294000,"timestamp_seconds":1776376294,"priority":1,"record_length":96,"hex_timestamp":"0000019d98472a70"} 
[2026-04-17 03:22:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:22: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-04-17 03:22:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 03:22:53] 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-04-17 03:22:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:22:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:22:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:22:53] local.INFO: Teltonika packet parsed successfully {"connection_id":46294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:22:53] local.INFO: Passing IMEI to GPS processor {"connection_id":46294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:22:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":46294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:22:53] 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-04-17 03:22:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:22:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:22:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752328192001,"66":27267,"149":206,"79":47616,"24":32,"16":273754936204853248,"45":8203025272203933696},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,79,24,16,45]} 
[2026-04-17 03:22:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:22:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:22:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752328192001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:22:53] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-04-17 03:22:53] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:22:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273754936204853248,"km_value":273754936204853.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:22:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8203025272203933696,"description":"Unknown IO ID 45"} 
[2026-04-17 03:22:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752328192001,"power":27267,"unknown_149":206,"unknown_79":47616,"ignition":32,"odometer":null,"unknown_45":8203025272203933696}} 
[2026-04-17 03:22:53] local.INFO: DEBUG: GPS processor result {"connection_id":46294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:22:53] local.INFO: GPS data processed {"connection_id":46294,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:22:53] local.INFO: Acknowledgment sent {"connection_id":46294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:22:54] local.INFO: TCP Data received {"connection_id":46294,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98475568012d71ea00060900c0000400b131..."} 
[2026-04-17 03:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98475568012d71ea00060900c0000400b131..."} 
[2026-04-17 03:22:54] local.INFO: Processing buffer {"connection_id":46294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98475568012d71ea00060900c0000400b131..."} 
[2026-04-17 03:22:54] local.INFO: Packet analysis {"connection_id":46294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9847"} 
[2026-04-17 03:22:54] local.INFO: Extracted packet for processing {"connection_id":46294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9847"} 
[2026-04-17 03:22:54] local.INFO: GPS Element Parsed {"raw_longitude":762440192,"raw_latitude":101253312,"longitude_deg":76.2440192,"latitude_deg":10.1253312,"altitude":4,"angle":177,"satellites":49,"speed":24,"hex_longitude":"2d71ea00","hex_latitude":"060900c0","is_valid_coordinates":true} 
[2026-04-17 03:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:22:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752331264001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:22:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273755348521713664,"note":"Value kept but may cause issues"} 
[2026-04-17 03:22:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8206191865689614336,"note":"Value kept but may cause issues"} 
[2026-04-17 03:22:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,149,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:22:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776376305000,"timestamp_ms":1776376305000,"timestamp_seconds":1776376305,"priority":1,"record_length":96,"hex_timestamp":"0000019d98475568"} 
[2026-04-17 03:22:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:22: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-04-17 03:22:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 03:22:54] 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-04-17 03:22:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:22:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:22:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:22:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:22:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:22:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:22:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:22:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:22:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:22:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752331264001,"66":27517,"149":206,"79":47616,"24":24,"16":273755348521713664,"45":8206191865689614336},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,149,79,24,16,45]} 
[2026-04-17 03:22:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:22:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:22:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752331264001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:22:54] local.INFO: Unknown IO ID detected {"io_id":149,"value":206,"description":"Unknown IO ID 149"} 
[2026-04-17 03:22:54] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:22:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273755348521713664,"km_value":273755348521713.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:22:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8206191865689614336,"description":"Unknown IO ID 45"} 
[2026-04-17 03:22:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752331264001,"power":27517,"unknown_149":206,"unknown_79":47616,"ignition":24,"odometer":null,"unknown_45":8206191865689614336}} 
[2026-04-17 03:22:54] local.INFO: DEBUG: GPS processor result {"connection_id":46294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:22:54] local.INFO: GPS data processed {"connection_id":46294,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:22:54] local.INFO: Acknowledgment sent {"connection_id":46294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:23:05] local.INFO: TCP Data received {"connection_id":45536,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:23:05] local.INFO: Processing buffer {"connection_id":45536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:23:05] local.INFO: IMEI packet received {"connection_id":45536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":45536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:23:11] local.INFO: TCP Data received {"connection_id":45536,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45536,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:23:11] local.INFO: Processing buffer {"connection_id":45536,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:23:11] local.INFO: IMEI packet received {"connection_id":45536,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":45536,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:23:12] local.INFO: TCP Data received {"connection_id":45536,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9847bee00100000000000000000000000000..."} 
[2026-04-17 03:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9847bee00100000000000000000000000000..."} 
[2026-04-17 03:23:12] local.INFO: Processing buffer {"connection_id":45536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9847bee00100000000000000000000000000..."} 
[2026-04-17 03:23:12] local.INFO: Packet analysis {"connection_id":45536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9847"} 
[2026-04-17 03:23:12] local.INFO: Extracted packet for processing {"connection_id":45536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9847"} 
[2026-04-17 03:23: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-04-17 03: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-04-17 03:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752328960001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":726135100992847872,"note":"Value kept but may cause issues"} 
[2026-04-17 03:23:12] 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-04-17 03:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776376332000,"timestamp_ms":1776376332000,"timestamp_seconds":1776376332,"priority":1,"record_length":96,"hex_timestamp":"0000019d9847bee0"} 
[2026-04-17 03:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:23: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-04-17 03: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":239,"data_length":795,"current_offset":136} 
[2026-04-17 03:23:12] 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-04-17 03: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-04-17 03:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45536,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45536,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":45536,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:23:12] local.INFO: GPS data processed {"connection_id":45536,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:23:12] local.INFO: Acknowledgment sent {"connection_id":45536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:23:25] local.INFO: TCP Data received {"connection_id":46294,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98483fc8012d721ec00608a7c00004006c32..."} 
[2026-04-17 03:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98483fc8012d721ec00608a7c00004006c32..."} 
[2026-04-17 03:23:25] local.INFO: Processing buffer {"connection_id":46294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98483fc8012d721ec00608a7c00004006c32..."} 
[2026-04-17 03:23:25] local.INFO: Packet analysis {"connection_id":46294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9848"} 
[2026-04-17 03:23:25] local.INFO: Extracted packet for processing {"connection_id":46294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9848"} 
[2026-04-17 03:23:25] local.INFO: GPS Element Parsed {"raw_longitude":762453696,"raw_latitude":101230528,"longitude_deg":76.2453696,"latitude_deg":10.1230528,"altitude":4,"angle":108,"satellites":50,"speed":16,"hex_longitude":"2d721ec0","hex_latitude":"0608a7c0","is_valid_coordinates":true} 
[2026-04-17 03:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:23:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752349184001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:23:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273756765860921344,"note":"Value kept but may cause issues"} 
[2026-04-17 03:23:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8222798889307637760,"note":"Value kept but may cause issues"} 
[2026-04-17 03:23:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:23:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776376365000,"timestamp_ms":1776376365000,"timestamp_seconds":1776376365,"priority":1,"record_length":96,"hex_timestamp":"0000019d98483fc8"} 
[2026-04-17 03:23:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:23:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:23:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:23:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:23:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:23:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:23:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:23:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:23:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:23:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:23:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:23:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:23:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:23:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752349184001,"66":27376,"147":206,"79":47616,"24":16,"16":273756765860921344,"45":8222798889307637760},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-04-17 03:23:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:23:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:23:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752349184001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:23:25] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-04-17 03:23:25] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:23:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273756765860921344,"km_value":273756765860921.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:23:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8222798889307637760,"description":"Unknown IO ID 45"} 
[2026-04-17 03:23:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752349184001,"power":27376,"unknown_147":206,"unknown_79":47616,"ignition":16,"odometer":null,"unknown_45":8222798889307637760}} 
[2026-04-17 03:23:25] local.INFO: DEBUG: GPS processor result {"connection_id":46294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:23:25] local.INFO: GPS data processed {"connection_id":46294,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:23:25] local.INFO: Acknowledgment sent {"connection_id":46294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:23:45] local.INFO: TCP Data received {"connection_id":45536,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984768f0012d0a420006f17f000011007a32..."} 
[2026-04-17 03:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984768f0012d0a420006f17f000011007a32..."} 
[2026-04-17 03:23:45] local.INFO: Processing buffer {"connection_id":45536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984768f0012d0a420006f17f000011007a32..."} 
[2026-04-17 03:23:45] local.INFO: Packet analysis {"connection_id":45536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9847"} 
[2026-04-17 03:23:45] local.INFO: Extracted packet for processing {"connection_id":45536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9847"} 
[2026-04-17 03:23:45] local.INFO: GPS Element Parsed {"raw_longitude":755646976,"raw_latitude":116489984,"longitude_deg":75.5646976,"latitude_deg":11.6489984,"altitude":17,"angle":122,"satellites":50,"speed":24,"hex_longitude":"2d0a4200","hex_latitude":"06f17f00","is_valid_coordinates":true} 
[2026-04-17 03:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:23:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,119,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776376310000,"timestamp_ms":1776376310000,"timestamp_seconds":1776376310,"priority":1,"record_length":96,"hex_timestamp":"0000019d984768f0"} 
[2026-04-17 03:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:23: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 03:23: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-04-17 03:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45536,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45536,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27995,"119":206,"2":56576,"24":24,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,2,24,16]} 
[2026-04-17 03:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:23:45] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-17 03:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:23:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27995,"unknown_119":206,"power_alt":56576,"ignition":24,"odometer":null}} 
[2026-04-17 03:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":45536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18908,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:23:45] local.INFO: GPS data processed {"connection_id":45536,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:23:45] local.INFO: Acknowledgment sent {"connection_id":45536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:23:52] local.INFO: TCP Data received {"connection_id":46295,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:23:52] local.INFO: Processing buffer {"connection_id":46295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:23:52] local.INFO: IMEI packet received {"connection_id":46295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":46295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:23:57] local.INFO: TCP Data received {"connection_id":46295,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:23:57] local.INFO: Processing buffer {"connection_id":46295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:23:57] local.INFO: IMEI packet received {"connection_id":46295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":46295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:23:58] local.INFO: TCP Data received {"connection_id":46295,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d984843b0012d7220400608a7700004005a32..."} 
[2026-04-17 03:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984843b0012d7220400608a7700004005a32..."} 
[2026-04-17 03:23:58] local.INFO: Processing buffer {"connection_id":46295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984843b0012d7220400608a7700004005a32..."} 
[2026-04-17 03:23:58] local.INFO: Packet analysis {"connection_id":46295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9848"} 
[2026-04-17 03:23:58] local.INFO: Extracted packet for processing {"connection_id":46295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9848"} 
[2026-04-17 03:23:58] local.INFO: GPS Element Parsed {"raw_longitude":762454080,"raw_latitude":101230448,"longitude_deg":76.245408,"latitude_deg":10.1230448,"altitude":4,"angle":90,"satellites":50,"speed":17,"hex_longitude":"2d722040","hex_latitude":"0608a770","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752349440001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273756783040790528,"note":"Value kept but may cause issues"} 
[2026-04-17 03:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8223221101772652544,"note":"Value kept but may cause issues"} 
[2026-04-17 03:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776376366000,"timestamp_ms":1776376366000,"timestamp_seconds":1776376366,"priority":1,"record_length":96,"hex_timestamp":"0000019d984843b0"} 
[2026-04-17 03:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:23: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-04-17 03:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:23: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-04-17 03: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-04-17 03:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752349440001,"66":27267,"147":206,"79":47616,"24":17,"16":273756783040790528,"45":8223221101772652544},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-04-17 03:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752349440001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:23:58] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-04-17 03:23:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273756783040790528,"km_value":273756783040790.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8223221101772652544,"description":"Unknown IO ID 45"} 
[2026-04-17 03:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752349440001,"power":27267,"unknown_147":206,"unknown_79":47616,"ignition":17,"odometer":null,"unknown_45":8223221101772652544}} 
[2026-04-17 03:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":46295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:23:58] local.INFO: GPS data processed {"connection_id":46295,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:23:58] local.INFO: Acknowledgment sent {"connection_id":46295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:24:11] local.INFO: TCP Data received {"connection_id":45739,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:24:11] local.INFO: Processing buffer {"connection_id":45739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:24:11] local.INFO: IMEI packet received {"connection_id":45739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":45739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:24:14] local.INFO: TCP Data received {"connection_id":45739,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45739,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:24:14] local.INFO: Processing buffer {"connection_id":45739,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:24:14] local.INFO: IMEI packet received {"connection_id":45739,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":45739,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:24:15] local.INFO: TCP Data received {"connection_id":45739,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984824700100000000000000000000000000..."} 
[2026-04-17 03:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984824700100000000000000000000000000..."} 
[2026-04-17 03:24:15] local.INFO: Processing buffer {"connection_id":45739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984824700100000000000000000000000000..."} 
[2026-04-17 03:24:15] local.INFO: Packet analysis {"connection_id":45739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9848"} 
[2026-04-17 03:24:15] local.INFO: Extracted packet for processing {"connection_id":45739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9848"} 
[2026-04-17 03:24: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-04-17 03:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:24:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752335360001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:24:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":739153318663618560,"note":"Value kept but may cause issues"} 
[2026-04-17 03:24:15] 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-04-17 03:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776376358000,"timestamp_ms":1776376358000,"timestamp_seconds":1776376358,"priority":1,"record_length":96,"hex_timestamp":"0000019d98482470"} 
[2026-04-17 03:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:24:15] 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-04-17 03: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":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 03:24:15] 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-04-17 03: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-04-17 03:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":45739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":45739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":45739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":45739,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:24:15] local.INFO: GPS data processed {"connection_id":45739,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:24:15] local.INFO: Acknowledgment sent {"connection_id":45739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:24:16] local.INFO: TCP Data received {"connection_id":45739,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9847bee0012d0a764006f15da00012007c2e..."} 
[2026-04-17 03:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9847bee0012d0a764006f15da00012007c2e..."} 
[2026-04-17 03:24:16] local.INFO: Processing buffer {"connection_id":45739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9847bee0012d0a764006f15da00012007c2e..."} 
[2026-04-17 03:24:16] local.INFO: Packet analysis {"connection_id":45739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9847"} 
[2026-04-17 03:24:16] local.INFO: Extracted packet for processing {"connection_id":45739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9847"} 
[2026-04-17 03:24:16] local.INFO: GPS Element Parsed {"raw_longitude":755660352,"raw_latitude":116481440,"longitude_deg":75.5660352,"latitude_deg":11.648144,"altitude":18,"angle":124,"satellites":46,"speed":31,"hex_longitude":"2d0a7640","hex_latitude":"06f15da0","is_valid_coordinates":true} 
[2026-04-17 03:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:24:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,118,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776376332000,"timestamp_ms":1776376332000,"timestamp_seconds":1776376332,"priority":1,"record_length":96,"hex_timestamp":"0000019d9847bee0"} 
[2026-04-17 03:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:24:16] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 03:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27843,"118":206,"2":56576,"24":31,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16]} 
[2026-04-17 03:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:24:16] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-04-17 03:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:24:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27843,"unknown_118":206,"power_alt":56576,"ignition":31,"odometer":null}} 
[2026-04-17 03:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":45739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18910,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:24:16] local.INFO: GPS data processed {"connection_id":45739,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:24:16] local.INFO: Acknowledgment sent {"connection_id":45739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:24:28] local.INFO: TCP Data received {"connection_id":46295,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98484798012d7222000608a7c00005004532..."} 
[2026-04-17 03:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98484798012d7222000608a7c00005004532..."} 
[2026-04-17 03:24:28] local.INFO: Processing buffer {"connection_id":46295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98484798012d7222000608a7c00005004532..."} 
[2026-04-17 03:24:28] local.INFO: Packet analysis {"connection_id":46295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9848"} 
[2026-04-17 03:24:28] local.INFO: Extracted packet for processing {"connection_id":46295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9848"} 
[2026-04-17 03:24:28] local.INFO: GPS Element Parsed {"raw_longitude":762454528,"raw_latitude":101230528,"longitude_deg":76.2454528,"latitude_deg":10.1230528,"altitude":5,"angle":69,"satellites":50,"speed":15,"hex_longitude":"2d722200","hex_latitude":"0608a7c0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752349696001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273756804515627008,"note":"Value kept but may cause issues"} 
[2026-04-17 03:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8223643314237698048,"note":"Value kept but may cause issues"} 
[2026-04-17 03:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,147,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776376367000,"timestamp_ms":1776376367000,"timestamp_seconds":1776376367,"priority":1,"record_length":96,"hex_timestamp":"0000019d98484798"} 
[2026-04-17 03:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:24: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-04-17 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 03:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752349696001,"66":27267,"147":206,"79":47616,"24":15,"16":273756804515627008,"45":8223643314237698048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,147,79,24,16,45]} 
[2026-04-17 03:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752349696001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:24:28] local.INFO: Unknown IO ID detected {"io_id":147,"value":206,"description":"Unknown IO ID 147"} 
[2026-04-17 03:24:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273756804515627008,"km_value":273756804515627.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8223643314237698048,"description":"Unknown IO ID 45"} 
[2026-04-17 03:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752349696001,"power":27267,"unknown_147":206,"unknown_79":47616,"ignition":15,"odometer":null,"unknown_45":8223643314237698048}} 
[2026-04-17 03:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":46295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:24:28] local.INFO: GPS data processed {"connection_id":46295,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:24:28] local.INFO: Acknowledgment sent {"connection_id":46295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:24:48] local.INFO: TCP Data received {"connection_id":45739,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984814d0012d0ab34006f137f80013007831..."} 
[2026-04-17 03:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45739,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984814d0012d0ab34006f137f80013007831..."} 
[2026-04-17 03:24:48] local.INFO: Processing buffer {"connection_id":45739,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984814d0012d0ab34006f137f80013007831..."} 
[2026-04-17 03:24:48] local.INFO: Packet analysis {"connection_id":45739,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9848"} 
[2026-04-17 03:24:48] local.INFO: Extracted packet for processing {"connection_id":45739,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9848"} 
[2026-04-17 03:24:48] local.INFO: GPS Element Parsed {"raw_longitude":755675968,"raw_latitude":116471800,"longitude_deg":75.5675968,"latitude_deg":11.64718,"altitude":19,"angle":120,"satellites":49,"speed":0,"hex_longitude":"2d0ab340","hex_latitude":"06f137f8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752340992001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":753860386194563072,"note":"Value kept but may cause issues"} 
[2026-04-17 03:24:48] 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-04-17 03:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776376354000,"timestamp_ms":1776376354000,"timestamp_seconds":1776376354,"priority":1,"record_length":96,"hex_timestamp":"0000019d984814d0"} 
[2026-04-17 03:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:24:48] 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-04-17 03: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 03:24: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-04-17 03: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-04-17 03:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45739,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45739,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752340992001,"66":27974,"118":206,"2":56576,"24":0,"16":106618783551979520,"45":753860386194563072},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-04-17 03:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752340992001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:24:48] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-04-17 03:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":753860386194563072,"description":"Unknown IO ID 45"} 
[2026-04-17 03:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752340992001,"power":27974,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":753860386194563072}} 
[2026-04-17 03:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":45739,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18912,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:24:48] local.INFO: GPS data processed {"connection_id":45739,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:24:48] local.INFO: Acknowledgment sent {"connection_id":45739,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:24:51] local.INFO: TCP Data received {"connection_id":45537,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:24:51] local.INFO: Processing buffer {"connection_id":45537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:24:51] local.INFO: IMEI packet received {"connection_id":45537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":45537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:24:52] local.INFO: TCP Data received {"connection_id":45537,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:24:52] local.INFO: Processing buffer {"connection_id":45537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:24:52] local.INFO: IMEI packet received {"connection_id":45537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":45537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:24:52] local.INFO: TCP Data received {"connection_id":45537,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:24:52] local.INFO: Processing buffer {"connection_id":45537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:24:52] local.INFO: IMEI packet received {"connection_id":45537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":45537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:24:57] local.INFO: TCP Data received {"connection_id":45537,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:24:57] local.INFO: Processing buffer {"connection_id":45537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:24:57] local.INFO: IMEI packet received {"connection_id":45537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":45537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:24:58] local.INFO: TCP Data received {"connection_id":45537,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98497078012d7341800608c2f80003006930..."} 
[2026-04-17 03:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98497078012d7341800608c2f80003006930..."} 
[2026-04-17 03:24:58] local.INFO: Processing buffer {"connection_id":45537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98497078012d7341800608c2f80003006930..."} 
[2026-04-17 03:24:58] local.INFO: Packet analysis {"connection_id":45537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9849"} 
[2026-04-17 03:24:58] local.INFO: Extracted packet for processing {"connection_id":45537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9849"} 
[2026-04-17 03:24:58] local.INFO: GPS Element Parsed {"raw_longitude":762528128,"raw_latitude":101237496,"longitude_deg":76.2528128,"latitude_deg":10.1237496,"altitude":3,"angle":105,"satellites":48,"speed":36,"hex_longitude":"2d734180","hex_latitude":"0608c2f8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752368128001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273760485302599680,"note":"Value kept but may cause issues"} 
[2026-04-17 03:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8300134139161067520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776376443000,"timestamp_ms":1776376443000,"timestamp_seconds":1776376443,"priority":1,"record_length":96,"hex_timestamp":"0000019d98497078"} 
[2026-04-17 03:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:24: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-04-17 03: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 03:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752368128001,"66":27332,"131":206,"79":47616,"24":36,"16":273760485302599680,"45":8300134139161067520},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-04-17 03:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752368128001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:24:58] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 03:24:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273760485302599680,"km_value":273760485302599.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8300134139161067520,"description":"Unknown IO ID 45"} 
[2026-04-17 03:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752368128001,"power":27332,"unknown_131":206,"unknown_79":47616,"ignition":36,"odometer":null,"unknown_45":8300134139161067520}} 
[2026-04-17 03:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":45537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:24:58] local.INFO: GPS data processed {"connection_id":45537,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:24:58] local.INFO: Acknowledgment sent {"connection_id":45537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:25:06] local.INFO: TCP Data received {"connection_id":46296,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:25:06] local.INFO: Processing buffer {"connection_id":46296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:25:06] local.INFO: IMEI packet received {"connection_id":46296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:25:06] local.INFO: IMEI acknowledgment sent {"connection_id":46296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:25:11] local.INFO: TCP Data received {"connection_id":46296,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:25:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46296,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:25:11] local.INFO: Processing buffer {"connection_id":46296,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:25:11] local.INFO: IMEI packet received {"connection_id":46296,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:25:11] local.INFO: IMEI acknowledgment sent {"connection_id":46296,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:25:12] local.INFO: TCP Data received {"connection_id":46296,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984862f0012d0ae4c006f10fd8000f008135..."} 
[2026-04-17 03:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984862f0012d0ae4c006f10fd8000f008135..."} 
[2026-04-17 03:25:12] local.INFO: Processing buffer {"connection_id":46296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984862f0012d0ae4c006f10fd8000f008135..."} 
[2026-04-17 03:25:12] local.INFO: Packet analysis {"connection_id":46296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9848"} 
[2026-04-17 03:25:12] local.INFO: Extracted packet for processing {"connection_id":46296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9848"} 
[2026-04-17 03:25:12] local.INFO: GPS Element Parsed {"raw_longitude":755688640,"raw_latitude":116461528,"longitude_deg":75.568864,"latitude_deg":11.6461528,"altitude":15,"angle":129,"satellites":53,"speed":0,"hex_longitude":"2d0ae4c0","hex_latitude":"06f10fd8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752346624001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":771030359771445248,"note":"Value kept but may cause issues"} 
[2026-04-17 03:25:12] 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-04-17 03:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776376374000,"timestamp_ms":1776376374000,"timestamp_seconds":1776376374,"priority":1,"record_length":96,"hex_timestamp":"0000019d984862f0"} 
[2026-04-17 03:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:25: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-04-17 03: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":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 03:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752346624001,"66":27908,"118":206,"2":56576,"24":0,"16":106618783551979520,"45":771030359771445248},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-04-17 03:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752346624001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:25:12] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-04-17 03:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":771030359771445248,"description":"Unknown IO ID 45"} 
[2026-04-17 03:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752346624001,"power":27908,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":771030359771445248}} 
[2026-04-17 03:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":46296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18914,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:25:12] local.INFO: GPS data processed {"connection_id":46296,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:25:12] local.INFO: Acknowledgment sent {"connection_id":46296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:25:29] local.INFO: TCP Data received {"connection_id":45537,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d984987e8012d7354c00608c0000003005e30..."} 
[2026-04-17 03:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984987e8012d7354c00608c0000003005e30..."} 
[2026-04-17 03:25:29] local.INFO: Processing buffer {"connection_id":45537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984987e8012d7354c00608c0000003005e30..."} 
[2026-04-17 03:25:29] local.INFO: Packet analysis {"connection_id":45537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9849"} 
[2026-04-17 03:25:29] local.INFO: Extracted packet for processing {"connection_id":45537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9849"} 
[2026-04-17 03:25:29] local.INFO: GPS Element Parsed {"raw_longitude":762533056,"raw_latitude":101236736,"longitude_deg":76.2533056,"latitude_deg":10.1236736,"altitude":3,"angle":94,"satellites":48,"speed":27,"hex_longitude":"2d7354c0","hex_latitude":"0608c000","is_valid_coordinates":true} 
[2026-04-17 03:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752369408001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273760721525800960,"note":"Value kept but may cause issues"} 
[2026-04-17 03:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8305059951253059584,"note":"Value kept but may cause issues"} 
[2026-04-17 03:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776376449000,"timestamp_ms":1776376449000,"timestamp_seconds":1776376449,"priority":1,"record_length":96,"hex_timestamp":"0000019d984987e8"} 
[2026-04-17 03:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:25: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-04-17 03:25:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 03:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:25:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:25: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-04-17 03:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752369408001,"66":27397,"131":206,"79":47616,"24":27,"16":273760721525800960,"45":8305059951253059584},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,79,24,16,45]} 
[2026-04-17 03:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752369408001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:25:29] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 03:25:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273760721525800960,"km_value":273760721525800.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8305059951253059584,"description":"Unknown IO ID 45"} 
[2026-04-17 03:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752369408001,"power":27397,"unknown_131":206,"unknown_79":47616,"ignition":27,"odometer":null,"unknown_45":8305059951253059584}} 
[2026-04-17 03:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":45537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18915,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:25:29] local.INFO: GPS data processed {"connection_id":45537,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:25:29] local.INFO: Acknowledgment sent {"connection_id":45537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:25:44] local.INFO: TCP Data received {"connection_id":46296,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9848b4f8012d0b100006f0eeb0000e007935..."} 
[2026-04-17 03:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9848b4f8012d0b100006f0eeb0000e007935..."} 
[2026-04-17 03:25:44] local.INFO: Processing buffer {"connection_id":46296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9848b4f8012d0b100006f0eeb0000e007935..."} 
[2026-04-17 03:25:44] local.INFO: Packet analysis {"connection_id":46296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9848"} 
[2026-04-17 03:25:44] local.INFO: Extracted packet for processing {"connection_id":46296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9848"} 
[2026-04-17 03:25:44] local.INFO: GPS Element Parsed {"raw_longitude":755699712,"raw_latitude":116453040,"longitude_deg":75.5699712,"latitude_deg":11.645304,"altitude":14,"angle":121,"satellites":53,"speed":0,"hex_longitude":"2d0b1000","hex_latitude":"06f0eeb0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752351744001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784963371115993088,"note":"Value kept but may cause issues"} 
[2026-04-17 03:25:44] 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-04-17 03:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776376395000,"timestamp_ms":1776376395000,"timestamp_seconds":1776376395,"priority":1,"record_length":96,"hex_timestamp":"0000019d9848b4f8"} 
[2026-04-17 03:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:25:44] 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-04-17 03: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 03:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46296,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752351744001,"66":27593,"118":206,"2":56576,"24":0,"16":106618783551979520,"45":784963371115993088},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-04-17 03:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752351744001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:25:44] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-04-17 03:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":784963371115993088,"description":"Unknown IO ID 45"} 
[2026-04-17 03:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752351744001,"power":27593,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":784963371115993088}} 
[2026-04-17 03:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":46296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18916,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:25:44] local.INFO: GPS data processed {"connection_id":46296,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:25:44] local.INFO: Acknowledgment sent {"connection_id":46296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:25:52] local.INFO: TCP Data received {"connection_id":45740,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:25:52] local.INFO: Processing buffer {"connection_id":45740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:25:52] local.INFO: IMEI packet received {"connection_id":45740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":45740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:25:57] local.INFO: TCP Data received {"connection_id":45740,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45740,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:25:57] local.INFO: Processing buffer {"connection_id":45740,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:25:57] local.INFO: IMEI packet received {"connection_id":45740,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":45740,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:26:06] local.INFO: TCP Data received {"connection_id":45472,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:26:06] local.INFO: Processing buffer {"connection_id":45472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:26:06] local.INFO: IMEI packet received {"connection_id":45472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":45472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:26:09] local.INFO: TCP Data received {"connection_id":45472,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45472,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:26:09] local.INFO: Processing buffer {"connection_id":45472,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:26:09] local.INFO: IMEI packet received {"connection_id":45472,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":45472,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:26:10] local.INFO: TCP Data received {"connection_id":45472,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9848f760012d0b390006f0b6e8000a009636..."} 
[2026-04-17 03:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9848f760012d0b390006f0b6e8000a009636..."} 
[2026-04-17 03:26:10] local.INFO: Processing buffer {"connection_id":45472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9848f760012d0b390006f0b6e8000a009636..."} 
[2026-04-17 03:26:10] local.INFO: Packet analysis {"connection_id":45472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9848"} 
[2026-04-17 03:26:10] local.INFO: Extracted packet for processing {"connection_id":45472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9848"} 
[2026-04-17 03:26:10] local.INFO: GPS Element Parsed {"raw_longitude":755710208,"raw_latitude":116438760,"longitude_deg":75.5710208,"latitude_deg":11.643876,"altitude":10,"angle":150,"satellites":54,"speed":39,"hex_longitude":"2d0b3900","hex_latitude":"06f0b6e8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:26:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752357120001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:26:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:26:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797137163856556032,"note":"Value kept but may cause issues"} 
[2026-04-17 03:26:10] 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-04-17 03:26:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776376412000,"timestamp_ms":1776376412000,"timestamp_seconds":1776376412,"priority":1,"record_length":96,"hex_timestamp":"0000019d9848f760"} 
[2026-04-17 03:26:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:26: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-04-17 03: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":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-04-17 03:26:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:26:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:26:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:26:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:26:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:26:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:26:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:26:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:26:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:26:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752357120001,"66":27376,"118":206,"2":56576,"24":39,"16":106618783551979520,"45":797137163856556032},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-04-17 03:26:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:26:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:26:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752357120001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:26:10] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-04-17 03:26:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:26:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":797137163856556032,"description":"Unknown IO ID 45"} 
[2026-04-17 03:26:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752357120001,"power":27376,"unknown_118":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":797137163856556032}} 
[2026-04-17 03:26:10] local.INFO: DEBUG: GPS processor result {"connection_id":45472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18917,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:26:10] local.INFO: GPS data processed {"connection_id":45472,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:26:10] local.INFO: Acknowledgment sent {"connection_id":45472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:26:13] local.INFO: TCP Data received {"connection_id":45740,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d984a5308012d73a54006083648000300822f..."} 
[2026-04-17 03:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984a5308012d73a54006083648000300822f..."} 
[2026-04-17 03:26:13] local.INFO: Processing buffer {"connection_id":45740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984a5308012d73a54006083648000300822f..."} 
[2026-04-17 03:26:13] local.INFO: Packet analysis {"connection_id":45740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984a"} 
[2026-04-17 03:26:13] local.INFO: Extracted packet for processing {"connection_id":45740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984a"} 
[2026-04-17 03:26:13] local.INFO: GPS Element Parsed {"raw_longitude":762553664,"raw_latitude":101201480,"longitude_deg":76.2553664,"latitude_deg":10.120148,"altitude":3,"angle":130,"satellites":47,"speed":23,"hex_longitude":"2d73a540","hex_latitude":"06083648","is_valid_coordinates":true} 
[2026-04-17 03:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752383744001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273762783110103040,"note":"Value kept but may cause issues"} 
[2026-04-17 03:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8331940811519987712,"note":"Value kept but may cause issues"} 
[2026-04-17 03:26:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776376501000,"timestamp_ms":1776376501000,"timestamp_seconds":1776376501,"priority":1,"record_length":96,"hex_timestamp":"0000019d984a5308"} 
[2026-04-17 03:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:26:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":99,"data_length":795,"current_offset":136} 
[2026-04-17 03:26:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1609,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45740,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752383744001,"66":27332,"130":206,"79":47616,"24":23,"16":273762783110103040,"45":8331940811519987712},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,79,24,16,45]} 
[2026-04-17 03:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752383744001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:26:13] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-17 03:26:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273762783110103040,"km_value":273762783110103.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8331940811519987712,"description":"Unknown IO ID 45"} 
[2026-04-17 03:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752383744001,"power":27332,"unknown_130":206,"unknown_79":47616,"ignition":23,"odometer":null,"unknown_45":8331940811519987712}} 
[2026-04-17 03:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":45740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:26:13] local.INFO: GPS data processed {"connection_id":45740,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:26:13] local.INFO: Acknowledgment sent {"connection_id":45740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:26:42] local.INFO: TCP Data received {"connection_id":45472,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98494968012d0b550006f078d8000b00a034..."} 
[2026-04-17 03:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98494968012d0b550006f078d8000b00a034..."} 
[2026-04-17 03:26:42] local.INFO: Processing buffer {"connection_id":45472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98494968012d0b550006f078d8000b00a034..."} 
[2026-04-17 03:26:42] local.INFO: Packet analysis {"connection_id":45472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9849"} 
[2026-04-17 03:26:42] local.INFO: Extracted packet for processing {"connection_id":45472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9849"} 
[2026-04-17 03:26:42] local.INFO: GPS Element Parsed {"raw_longitude":755717376,"raw_latitude":116422872,"longitude_deg":75.5717376,"latitude_deg":11.6422872,"altitude":11,"angle":160,"satellites":52,"speed":0,"hex_longitude":"2d0b5500","hex_latitude":"06f078d8","is_valid_coordinates":true} 
[2026-04-17 03:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752361472001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":808677637898037248,"note":"Value kept but may cause issues"} 
[2026-04-17 03:26:42] 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-04-17 03:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776376433000,"timestamp_ms":1776376433000,"timestamp_seconds":1776376433,"priority":1,"record_length":96,"hex_timestamp":"0000019d98494968"} 
[2026-04-17 03:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:26:42] 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-04-17 03:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:26: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-04-17 03:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":45472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":45472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":45472,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:26:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752361472001,"66":27745,"118":206,"2":56576,"24":0,"16":106618783551979520,"45":808677637898037248},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-04-17 03:26:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:26:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:26:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752361472001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:26:42] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-04-17 03:26:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:26:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":808677637898037248,"description":"Unknown IO ID 45"} 
[2026-04-17 03:26:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752361472001,"power":27745,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":808677637898037248}} 
[2026-04-17 03:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":45472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18919,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:26:42] local.INFO: GPS data processed {"connection_id":45472,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:26:42] local.INFO: Acknowledgment sent {"connection_id":45472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:27:04] local.INFO: TCP Data received {"connection_id":46297,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:27:04] local.INFO: Processing buffer {"connection_id":46297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:27:04] local.INFO: IMEI packet received {"connection_id":46297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:27:04] local.INFO: IMEI acknowledgment sent {"connection_id":46297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:27:05] local.INFO: TCP Data received {"connection_id":45741,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:27:05] local.INFO: Processing buffer {"connection_id":45741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:27:05] local.INFO: IMEI packet received {"connection_id":45741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":45741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:27:07] local.INFO: TCP Data received {"connection_id":46297,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:27:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:27:07] local.INFO: Processing buffer {"connection_id":46297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:27:07] local.INFO: IMEI packet received {"connection_id":46297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:27:07] local.INFO: IMEI acknowledgment sent {"connection_id":46297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:27:11] local.INFO: TCP Data received {"connection_id":45741,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45741,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:27:11] local.INFO: Processing buffer {"connection_id":45741,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:27:11] local.INFO: IMEI packet received {"connection_id":45741,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":45741,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:27:12] local.INFO: TCP Data received {"connection_id":46297,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:27:12] local.INFO: Processing buffer {"connection_id":46297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:27:12] local.INFO: IMEI packet received {"connection_id":46297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":46297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:27:12] local.INFO: TCP Data received {"connection_id":45741,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98499788012d0b674006f034e8000a00a737..."} 
[2026-04-17 03:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98499788012d0b674006f034e8000a00a737..."} 
[2026-04-17 03:27:12] local.INFO: Processing buffer {"connection_id":45741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98499788012d0b674006f034e8000a00a737..."} 
[2026-04-17 03:27:12] local.INFO: Packet analysis {"connection_id":45741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9849"} 
[2026-04-17 03:27:12] local.INFO: Extracted packet for processing {"connection_id":45741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9849"} 
[2026-04-17 03:27:12] local.INFO: GPS Element Parsed {"raw_longitude":755722048,"raw_latitude":116405480,"longitude_deg":75.5722048,"latitude_deg":11.640548,"altitude":10,"angle":167,"satellites":55,"speed":0,"hex_longitude":"2d0b6740","hex_latitude":"06f034e8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752366848001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816558937241868288,"note":"Value kept but may cause issues"} 
[2026-04-17 03:27:12] 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-04-17 03:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776376453000,"timestamp_ms":1776376453000,"timestamp_seconds":1776376453,"priority":1,"record_length":96,"hex_timestamp":"0000019d98499788"} 
[2026-04-17 03:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:27: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-04-17 03: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":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 03:27: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-04-17 03: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-04-17 03:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752366848001,"66":27952,"118":206,"2":56576,"24":0,"16":106618783551979520,"45":816558937241868288},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-04-17 03:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752366848001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:27:12] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-04-17 03:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":816558937241868288,"description":"Unknown IO ID 45"} 
[2026-04-17 03:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752366848001,"power":27952,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":816558937241868288}} 
[2026-04-17 03:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":45741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18920,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:27:12] local.INFO: GPS data processed {"connection_id":45741,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:27:12] local.INFO: Acknowledgment sent {"connection_id":45741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:27:13] local.INFO: TCP Data received {"connection_id":46297,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d984b3980012d73df800607c2c00002007330..."} 
[2026-04-17 03:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984b3980012d73df800607c2c00002007330..."} 
[2026-04-17 03:27:13] local.INFO: Processing buffer {"connection_id":46297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984b3980012d73df800607c2c00002007330..."} 
[2026-04-17 03:27:13] local.INFO: Packet analysis {"connection_id":46297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984b"} 
[2026-04-17 03:27:13] local.INFO: Extracted packet for processing {"connection_id":46297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984b"} 
[2026-04-17 03:27:13] local.INFO: GPS Element Parsed {"raw_longitude":762568576,"raw_latitude":101171904,"longitude_deg":76.2568576,"latitude_deg":10.1171904,"altitude":2,"angle":115,"satellites":48,"speed":31,"hex_longitude":"2d73df80","hex_latitude":"0607c2c0","is_valid_coordinates":true} 
[2026-04-17 03:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752398848001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273764432377544704,"note":"Value kept but may cause issues"} 
[2026-04-17 03:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8348055253929046016,"note":"Value kept but may cause issues"} 
[2026-04-17 03:27:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776376560000,"timestamp_ms":1776376560000,"timestamp_seconds":1776376560,"priority":1,"record_length":96,"hex_timestamp":"0000019d984b3980"} 
[2026-04-17 03:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:27:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 03:27:13] 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-04-17 03:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752398848001,"66":27245,"197":206,"79":47616,"24":31,"16":273764432377544704,"45":8348055253929046016},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-04-17 03:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752398848001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:27:13] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 03:27:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273764432377544704,"km_value":273764432377544.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8348055253929046016,"description":"Unknown IO ID 45"} 
[2026-04-17 03:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752398848001,"power":27245,"unknown_197":206,"unknown_79":47616,"ignition":31,"odometer":null,"unknown_45":8348055253929046016}} 
[2026-04-17 03:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":46297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:27:13] local.INFO: GPS data processed {"connection_id":46297,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:27:13] local.INFO: Acknowledgment sent {"connection_id":46297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:27:14] local.INFO: TCP Data received {"connection_id":46297,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d984b4920012d73ec400607bbe8000100812d..."} 
[2026-04-17 03:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984b4920012d73ec400607bbe8000100812d..."} 
[2026-04-17 03:27:14] local.INFO: Processing buffer {"connection_id":46297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984b4920012d73ec400607bbe8000100812d..."} 
[2026-04-17 03:27:14] local.INFO: Packet analysis {"connection_id":46297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984b"} 
[2026-04-17 03:27:14] local.INFO: Extracted packet for processing {"connection_id":46297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984b"} 
[2026-04-17 03:27:14] local.INFO: GPS Element Parsed {"raw_longitude":762571840,"raw_latitude":101170152,"longitude_deg":76.257184,"latitude_deg":10.1170152,"altitude":1,"angle":129,"satellites":45,"speed":39,"hex_longitude":"2d73ec40","hex_latitude":"0607bbe8","is_valid_coordinates":true} 
[2026-04-17 03:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752399360001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273764612766171136,"note":"Value kept but may cause issues"} 
[2026-04-17 03:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8349532997556551680,"note":"Value kept but may cause issues"} 
[2026-04-17 03:27:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776376564000,"timestamp_ms":1776376564000,"timestamp_seconds":1776376564,"priority":1,"record_length":96,"hex_timestamp":"0000019d984b4920"} 
[2026-04-17 03:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:27:14] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-17 03:27:14] 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-04-17 03:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":46297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":46297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":46297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:27:14] 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-04-17 03:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752399360001,"66":27463,"197":206,"79":47616,"24":39,"16":273764612766171136,"45":8349532997556551680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-04-17 03:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752399360001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:27:14] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 03:27:14] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273764612766171136,"km_value":273764612766171.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":8349532997556551680,"description":"Unknown IO ID 45"} 
[2026-04-17 03:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752399360001,"power":27463,"unknown_197":206,"unknown_79":47616,"ignition":39,"odometer":null,"unknown_45":8349532997556551680}} 
[2026-04-17 03:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":46297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:27:14] local.INFO: GPS data processed {"connection_id":46297,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:27:14] local.INFO: Acknowledgment sent {"connection_id":46297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:27:44] local.INFO: TCP Data received {"connection_id":45741,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9849e5a8012d0b768006efee98000c00a734..."} 
[2026-04-17 03:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9849e5a8012d0b768006efee98000c00a734..."} 
[2026-04-17 03:27:44] local.INFO: Processing buffer {"connection_id":45741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9849e5a8012d0b768006efee98000c00a734..."} 
[2026-04-17 03:27:44] local.INFO: Packet analysis {"connection_id":45741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9849"} 
[2026-04-17 03:27:44] local.INFO: Extracted packet for processing {"connection_id":45741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9849"} 
[2026-04-17 03:27:44] local.INFO: GPS Element Parsed {"raw_longitude":755725952,"raw_latitude":116387480,"longitude_deg":75.5725952,"latitude_deg":11.638748,"altitude":12,"angle":167,"satellites":52,"speed":0,"hex_longitude":"2d0b7680","hex_latitude":"06efee98","is_valid_coordinates":true} 
[2026-04-17 03:27: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-04-17 03:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752371968001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":821695855562385408,"note":"Value kept but may cause issues"} 
[2026-04-17 03:27:44] 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-04-17 03:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776376473000,"timestamp_ms":1776376473000,"timestamp_seconds":1776376473,"priority":1,"record_length":96,"hex_timestamp":"0000019d9849e5a8"} 
[2026-04-17 03:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:27:44] 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-04-17 03:27: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":48,"data_length":795,"current_offset":136} 
[2026-04-17 03:27:44] 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-04-17 03:27: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-04-17 03:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45741,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752371968001,"66":27876,"118":206,"2":56576,"24":0,"16":106618783551979520,"45":821695855562385408},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-04-17 03:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752371968001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:27:44] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-04-17 03:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":821695855562385408,"description":"Unknown IO ID 45"} 
[2026-04-17 03:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752371968001,"power":27876,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":821695855562385408}} 
[2026-04-17 03:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":45741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18923,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:27:44] local.INFO: GPS data processed {"connection_id":45741,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:27:44] local.INFO: Acknowledgment sent {"connection_id":45741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:27:51] local.INFO: TCP Data received {"connection_id":45473,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:27:51] local.INFO: Processing buffer {"connection_id":45473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:27:51] local.INFO: IMEI packet received {"connection_id":45473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":45473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:27:52] local.INFO: TCP Data received {"connection_id":45473,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:27:52] local.INFO: Processing buffer {"connection_id":45473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:27:52] local.INFO: IMEI packet received {"connection_id":45473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":45473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:27:57] local.INFO: TCP Data received {"connection_id":45473,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:27:57] local.INFO: Processing buffer {"connection_id":45473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:27:57] local.INFO: IMEI packet received {"connection_id":45473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":45473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:28:07] local.INFO: TCP Data received {"connection_id":45473,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d984b5ca8012d73fc800607b0a80001006e2f..."} 
[2026-04-17 03:28:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984b5ca8012d73fc800607b0a80001006e2f..."} 
[2026-04-17 03:28:07] local.INFO: Processing buffer {"connection_id":45473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984b5ca8012d73fc800607b0a80001006e2f..."} 
[2026-04-17 03:28:07] local.INFO: Packet analysis {"connection_id":45473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984b"} 
[2026-04-17 03:28:07] local.INFO: Extracted packet for processing {"connection_id":45473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984b"} 
[2026-04-17 03:28:07] local.INFO: GPS Element Parsed {"raw_longitude":762576000,"raw_latitude":101167272,"longitude_deg":76.2576,"latitude_deg":10.1167272,"altitude":1,"angle":110,"satellites":47,"speed":39,"hex_longitude":"2d73fc80","hex_latitude":"0607b0a8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:28:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752400384001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:28:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273764853284339712,"note":"Value kept but may cause issues"} 
[2026-04-17 03:28:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8353121803509164032,"note":"Value kept but may cause issues"} 
[2026-04-17 03:28:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:28:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776376569000,"timestamp_ms":1776376569000,"timestamp_seconds":1776376569,"priority":1,"record_length":96,"hex_timestamp":"0000019d984b5ca8"} 
[2026-04-17 03:28:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:28:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 03:28: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-04-17 03: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-04-17 03:28:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:28:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:28:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:28:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:28:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:28:07] 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-04-17 03:28:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:28:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:28:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752400384001,"66":27310,"197":206,"79":47616,"24":39,"16":273764853284339712,"45":8353121803509164032},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-04-17 03:28:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:28:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:28:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752400384001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:28:07] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 03:28:07] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:28:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273764853284339712,"km_value":273764853284339.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:28:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8353121803509164032,"description":"Unknown IO ID 45"} 
[2026-04-17 03:28:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752400384001,"power":27310,"unknown_197":206,"unknown_79":47616,"ignition":39,"odometer":null,"unknown_45":8353121803509164032}} 
[2026-04-17 03:28:07] local.INFO: DEBUG: GPS processor result {"connection_id":45473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:28:07] local.INFO: GPS data processed {"connection_id":45473,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:28:07] local.INFO: Acknowledgment sent {"connection_id":45473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:28:11] local.INFO: TCP Data received {"connection_id":45474,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:28:11] local.INFO: Processing buffer {"connection_id":45474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:28:11] local.INFO: IMEI packet received {"connection_id":45474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":45474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:28:16] local.INFO: TCP Data received {"connection_id":45474,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:28:16] local.INFO: Processing buffer {"connection_id":45474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:28:16] local.INFO: IMEI packet received {"connection_id":45474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:28:16] local.INFO: IMEI acknowledgment sent {"connection_id":45474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:28:17] local.INFO: TCP Data received {"connection_id":45474,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984aace00100000000000000000000000000..."} 
[2026-04-17 03:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984aace00100000000000000000000000000..."} 
[2026-04-17 03:28:17] local.INFO: Processing buffer {"connection_id":45474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984aace00100000000000000000000000000..."} 
[2026-04-17 03:28:17] local.INFO: Packet analysis {"connection_id":45474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984a"} 
[2026-04-17 03:28:17] local.INFO: Extracted packet for processing {"connection_id":45474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984a"} 
[2026-04-17 03:28: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-04-17 03:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752377088001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":825988348952614912,"note":"Value kept but may cause issues"} 
[2026-04-17 03:28:17] 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-04-17 03:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776376524000,"timestamp_ms":1776376524000,"timestamp_seconds":1776376524,"priority":1,"record_length":96,"hex_timestamp":"0000019d984aace0"} 
[2026-04-17 03:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:28:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 03:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":45474,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:28:17] local.INFO: GPS data processed {"connection_id":45474,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:28:17] local.INFO: Acknowledgment sent {"connection_id":45474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:28:18] local.INFO: TCP Data received {"connection_id":45474,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984a5ec0012d0b990006ef6128000a00a338..."} 
[2026-04-17 03:28:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984a5ec0012d0b990006ef6128000a00a338..."} 
[2026-04-17 03:28:18] local.INFO: Processing buffer {"connection_id":45474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984a5ec0012d0b990006ef6128000a00a338..."} 
[2026-04-17 03:28:18] local.INFO: Packet analysis {"connection_id":45474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984a"} 
[2026-04-17 03:28:18] local.INFO: Extracted packet for processing {"connection_id":45474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984a"} 
[2026-04-17 03:28:18] local.INFO: GPS Element Parsed {"raw_longitude":755734784,"raw_latitude":116351272,"longitude_deg":75.5734784,"latitude_deg":11.6351272,"altitude":10,"angle":163,"satellites":56,"speed":41,"hex_longitude":"2d0b9900","hex_latitude":"06ef6128","is_valid_coordinates":true} 
[2026-04-17 03:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:28:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:28:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,118,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:28:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776376504000,"timestamp_ms":1776376504000,"timestamp_seconds":1776376504,"priority":1,"record_length":96,"hex_timestamp":"0000019d984a5ec0"} 
[2026-04-17 03:28:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:28: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:28:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-17 03:28:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:28:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:28:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:28:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:28:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:28:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:28:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:28:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:28:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:28:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:28:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28028,"118":206,"2":56576,"24":41,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16]} 
[2026-04-17 03:28:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:28:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:28:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:28:18] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-04-17 03:28:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:28:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28028,"unknown_118":206,"power_alt":56576,"ignition":41,"odometer":null}} 
[2026-04-17 03:28:18] local.INFO: DEBUG: GPS processor result {"connection_id":45474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18925,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:28:18] local.INFO: GPS data processed {"connection_id":45474,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:28:18] local.INFO: Acknowledgment sent {"connection_id":45474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:28:50] local.INFO: TCP Data received {"connection_id":45474,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984aace0012d0bb24006ef1ad8000900a035..."} 
[2026-04-17 03:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984aace0012d0bb24006ef1ad8000900a035..."} 
[2026-04-17 03:28:50] local.INFO: Processing buffer {"connection_id":45474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984aace0012d0bb24006ef1ad8000900a035..."} 
[2026-04-17 03:28:50] local.INFO: Packet analysis {"connection_id":45474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984a"} 
[2026-04-17 03:28:50] local.INFO: Extracted packet for processing {"connection_id":45474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984a"} 
[2026-04-17 03:28:50] local.INFO: GPS Element Parsed {"raw_longitude":755741248,"raw_latitude":116333272,"longitude_deg":75.5741248,"latitude_deg":11.6333272,"altitude":9,"angle":160,"satellites":53,"speed":0,"hex_longitude":"2d0bb240","hex_latitude":"06ef1ad8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:28:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752385024001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:28:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:28:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835699235639863296,"note":"Value kept but may cause issues"} 
[2026-04-17 03:28:50] 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-04-17 03:28:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776376524000,"timestamp_ms":1776376524000,"timestamp_seconds":1776376524,"priority":1,"record_length":96,"hex_timestamp":"0000019d984aace0"} 
[2026-04-17 03:28:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:28: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-04-17 03: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":124,"data_length":795,"current_offset":136} 
[2026-04-17 03:28: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-04-17 03: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-04-17 03:28:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:28:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:28:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:28:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:28:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:28:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:28:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:28:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:28:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752385024001,"66":28071,"118":206,"2":56576,"24":0,"16":106618783551979520,"45":835699235639863296},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-04-17 03:28:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:28:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:28:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752385024001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:28:50] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-04-17 03:28:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:28:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":835699235639863296,"description":"Unknown IO ID 45"} 
[2026-04-17 03:28:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752385024001,"power":28071,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":835699235639863296}} 
[2026-04-17 03:28:50] local.INFO: DEBUG: GPS processor result {"connection_id":45474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18926,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:28:50] local.INFO: GPS data processed {"connection_id":45474,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:28:50] local.INFO: Acknowledgment sent {"connection_id":45474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:28:52] local.INFO: TCP Data received {"connection_id":45475,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:28:52] local.INFO: Processing buffer {"connection_id":45475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:28:52] local.INFO: IMEI packet received {"connection_id":45475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":45475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:28:54] local.INFO: TCP Data received {"connection_id":45475,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:28:54] local.INFO: Processing buffer {"connection_id":45475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:28:54] local.INFO: IMEI packet received {"connection_id":45475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":45475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:28:57] local.INFO: TCP Data received {"connection_id":45475,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45475,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:28:57] local.INFO: Processing buffer {"connection_id":45475,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:28:57] local.INFO: IMEI packet received {"connection_id":45475,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":45475,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:28:57] local.INFO: TCP Data received {"connection_id":45475,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d984cb080012d7499c006066b10000700a532..."} 
[2026-04-17 03:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984cb080012d7499c006066b10000700a532..."} 
[2026-04-17 03:28:57] local.INFO: Processing buffer {"connection_id":45475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984cb080012d7499c006066b10000700a532..."} 
[2026-04-17 03:28:57] local.INFO: Packet analysis {"connection_id":45475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984c"} 
[2026-04-17 03:28:57] local.INFO: Extracted packet for processing {"connection_id":45475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984c"} 
[2026-04-17 03:28:57] local.INFO: GPS Element Parsed {"raw_longitude":762616256,"raw_latitude":101083920,"longitude_deg":76.2616256,"latitude_deg":10.108392,"altitude":7,"angle":165,"satellites":50,"speed":56,"hex_longitude":"2d7499c0","hex_latitude":"06066b10","is_valid_coordinates":true} 
[2026-04-17 03:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752422144001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273769496143986688,"note":"Value kept but may cause issues"} 
[2026-04-17 03:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8399283699670046720,"note":"Value kept but may cause issues"} 
[2026-04-17 03:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776376656000,"timestamp_ms":1776376656000,"timestamp_seconds":1776376656,"priority":1,"record_length":96,"hex_timestamp":"0000019d984cb080"} 
[2026-04-17 03:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:28: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-04-17 03:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 03:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:28:57] 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-04-17 03:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752422144001,"66":27343,"199":206,"79":47616,"24":56,"16":273769496143986688,"45":8399283699670046720},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,79,24,16,45]} 
[2026-04-17 03:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752422144001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:28:57] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 03:28:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273769496143986688,"km_value":273769496143986.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8399283699670046720,"description":"Unknown IO ID 45"} 
[2026-04-17 03:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752422144001,"power":27343,"trip_odometer":0.206,"unknown_79":47616,"ignition":56,"odometer":null,"unknown_45":8399283699670046720}} 
[2026-04-17 03:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":45475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:28:57] local.INFO: GPS data processed {"connection_id":45475,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:28:57] local.INFO: Acknowledgment sent {"connection_id":45475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:29:02] local.INFO: TCP Data received {"connection_id":45475,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d984ccbd8012d74a48006064510000500a332..."} 
[2026-04-17 03:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984ccbd8012d74a48006064510000500a332..."} 
[2026-04-17 03:29:02] local.INFO: Processing buffer {"connection_id":45475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984ccbd8012d74a48006064510000500a332..."} 
[2026-04-17 03:29:02] local.INFO: Packet analysis {"connection_id":45475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984c"} 
[2026-04-17 03:29:02] local.INFO: Extracted packet for processing {"connection_id":45475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984c"} 
[2026-04-17 03:29:02] local.INFO: GPS Element Parsed {"raw_longitude":762619008,"raw_latitude":101074192,"longitude_deg":76.2619008,"latitude_deg":10.1074192,"altitude":5,"angle":163,"satellites":50,"speed":57,"hex_longitude":"2d74a480","hex_latitude":"06064510","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752423936001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273769985770258432,"note":"Value kept but may cause issues"} 
[2026-04-17 03:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8401957711946387456,"note":"Value kept but may cause issues"} 
[2026-04-17 03:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776376663000,"timestamp_ms":1776376663000,"timestamp_seconds":1776376663,"priority":1,"record_length":96,"hex_timestamp":"0000019d984ccbd8"} 
[2026-04-17 03:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:29:02] 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-04-17 03: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-04-17 03:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:29:02] 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-04-17 03:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752423936001,"66":27343,"197":206,"79":47616,"24":57,"16":273769985770258432,"45":8401957711946387456},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-04-17 03:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752423936001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:29:02] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 03:29:02] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273769985770258432,"km_value":273769985770258.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8401957711946387456,"description":"Unknown IO ID 45"} 
[2026-04-17 03:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752423936001,"power":27343,"unknown_197":206,"unknown_79":47616,"ignition":57,"odometer":null,"unknown_45":8401957711946387456}} 
[2026-04-17 03:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":45475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:29:02] local.INFO: GPS data processed {"connection_id":45475,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:29:02] local.INFO: Acknowledgment sent {"connection_id":45475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:29:06] local.INFO: TCP Data received {"connection_id":45476,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:29:06] local.INFO: Processing buffer {"connection_id":45476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:29:06] local.INFO: IMEI packet received {"connection_id":45476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":45476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:29:12] local.INFO: TCP Data received {"connection_id":45476,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45476,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:29:12] local.INFO: Processing buffer {"connection_id":45476,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:29:12] local.INFO: IMEI packet received {"connection_id":45476,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:29:12] local.INFO: IMEI acknowledgment sent {"connection_id":45476,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:29:13] local.INFO: TCP Data received {"connection_id":45476,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984afb00012d0bcf0006eed440000a009d36..."} 
[2026-04-17 03:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984afb00012d0bcf0006eed440000a009d36..."} 
[2026-04-17 03:29:13] local.INFO: Processing buffer {"connection_id":45476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984afb00012d0bcf0006eed440000a009d36..."} 
[2026-04-17 03:29:13] local.INFO: Packet analysis {"connection_id":45476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984a"} 
[2026-04-17 03:29:13] local.INFO: Extracted packet for processing {"connection_id":45476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984a"} 
[2026-04-17 03:29:13] local.INFO: GPS Element Parsed {"raw_longitude":755748608,"raw_latitude":116315200,"longitude_deg":75.5748608,"latitude_deg":11.63152,"altitude":10,"angle":157,"satellites":54,"speed":0,"hex_longitude":"2d0bcf00","hex_latitude":"06eed440","is_valid_coordinates":true} 
[2026-04-17 03:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752390144001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":842806478797199360,"note":"Value kept but may cause issues"} 
[2026-04-17 03:29:13] 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-04-17 03:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776376544000,"timestamp_ms":1776376544000,"timestamp_seconds":1776376544,"priority":1,"record_length":96,"hex_timestamp":"0000019d984afb00"} 
[2026-04-17 03:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:29:13] 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-04-17 03:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-17 03:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752390144001,"66":27995,"118":206,"2":56576,"24":0,"16":106618783551979520,"45":842806478797199360},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,118,2,24,16,45]} 
[2026-04-17 03:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752390144001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:29:13] local.INFO: Unknown IO ID detected {"io_id":118,"value":206,"description":"Unknown IO ID 118"} 
[2026-04-17 03:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:29:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":842806478797199360,"description":"Unknown IO ID 45"} 
[2026-04-17 03:29:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752390144001,"power":27995,"unknown_118":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":842806478797199360}} 
[2026-04-17 03:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":45476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18929,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:29:13] local.INFO: GPS data processed {"connection_id":45476,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:29:13] local.INFO: Acknowledgment sent {"connection_id":45476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:29:34] local.INFO: TCP Data received {"connection_id":45475,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d984ceb18012d74ae0006062258000600a532..."} 
[2026-04-17 03:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984ceb18012d74ae0006062258000600a532..."} 
[2026-04-17 03:29:34] local.INFO: Processing buffer {"connection_id":45475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984ceb18012d74ae0006062258000600a532..."} 
[2026-04-17 03:29:34] local.INFO: Packet analysis {"connection_id":45475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984c"} 
[2026-04-17 03:29:34] local.INFO: Extracted packet for processing {"connection_id":45475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984c"} 
[2026-04-17 03:29:34] local.INFO: GPS Element Parsed {"raw_longitude":762621440,"raw_latitude":101065304,"longitude_deg":76.262144,"latitude_deg":10.1065304,"altitude":6,"angle":165,"satellites":50,"speed":27,"hex_longitude":"2d74ae00","hex_latitude":"06062258","is_valid_coordinates":true} 
[2026-04-17 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-04-17 03:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752425728001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273770432446857216,"note":"Value kept but may cause issues"} 
[2026-04-17 03:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8404983567943536640,"note":"Value kept but may cause issues"} 
[2026-04-17 03:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776376671000,"timestamp_ms":1776376671000,"timestamp_seconds":1776376671,"priority":1,"record_length":96,"hex_timestamp":"0000019d984ceb18"} 
[2026-04-17 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-04-17 03:29: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-04-17 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 03:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45475,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:29: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-04-17 03:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752425728001,"66":27365,"197":206,"79":47616,"24":27,"16":273770432446857216,"45":8404983567943536640},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-04-17 03:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752425728001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:29:34] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 03:29:34] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273770432446857216,"km_value":273770432446857.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8404983567943536640,"description":"Unknown IO ID 45"} 
[2026-04-17 03:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752425728001,"power":27365,"unknown_197":206,"unknown_79":47616,"ignition":27,"odometer":null,"unknown_45":8404983567943536640}} 
[2026-04-17 03:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":45475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:29:34] local.INFO: GPS data processed {"connection_id":45475,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:29:34] local.INFO: Acknowledgment sent {"connection_id":45475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:29:45] local.INFO: TCP Data received {"connection_id":45476,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984ddd48012d0c468006ecc420000e00bc37..."} 
[2026-04-17 03:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984ddd48012d0c468006ecc420000e00bc37..."} 
[2026-04-17 03:29:45] local.INFO: Processing buffer {"connection_id":45476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984ddd48012d0c468006ecc420000e00bc37..."} 
[2026-04-17 03:29:45] local.INFO: Packet analysis {"connection_id":45476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984d"} 
[2026-04-17 03:29:45] local.INFO: Extracted packet for processing {"connection_id":45476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984d"} 
[2026-04-17 03:29:45] local.INFO: GPS Element Parsed {"raw_longitude":755779200,"raw_latitude":116180000,"longitude_deg":75.57792,"latitude_deg":11.618,"altitude":14,"angle":188,"satellites":55,"speed":26,"hex_longitude":"2d0c4680","hex_latitude":"06ecc420","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:29:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,158,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776376733000,"timestamp_ms":1776376733000,"timestamp_seconds":1776376733,"priority":1,"record_length":96,"hex_timestamp":"0000019d984ddd48"} 
[2026-04-17 03:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:29: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 03:29:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1175,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45476,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28082,"158":206,"2":56576,"24":26,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16]} 
[2026-04-17 03:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:29:45] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-04-17 03:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:29:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28082,"unknown_158":206,"power_alt":56576,"ignition":26,"odometer":null}} 
[2026-04-17 03:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":45476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18931,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:29:45] local.INFO: GPS data processed {"connection_id":45476,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:29:45] local.INFO: Acknowledgment sent {"connection_id":45476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:29:52] local.INFO: TCP Data received {"connection_id":45742,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:29:52] local.INFO: Processing buffer {"connection_id":45742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:29:52] local.INFO: IMEI packet received {"connection_id":45742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":45742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:29:57] local.INFO: TCP Data received {"connection_id":45742,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:29:57] local.INFO: Processing buffer {"connection_id":45742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:29:57] local.INFO: IMEI packet received {"connection_id":45742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":45742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:29:58] local.INFO: TCP Data received {"connection_id":45742,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d984d1228012d74b440060610900005009832..."} 
[2026-04-17 03:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984d1228012d74b440060610900005009832..."} 
[2026-04-17 03:29:58] local.INFO: Processing buffer {"connection_id":45742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984d1228012d74b440060610900005009832..."} 
[2026-04-17 03:29:58] local.INFO: Packet analysis {"connection_id":45742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984d"} 
[2026-04-17 03:29:58] local.INFO: Extracted packet for processing {"connection_id":45742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984d"} 
[2026-04-17 03:29:58] local.INFO: GPS Element Parsed {"raw_longitude":762623040,"raw_latitude":101060752,"longitude_deg":76.262304,"latitude_deg":10.1060752,"altitude":5,"angle":152,"satellites":50,"speed":18,"hex_longitude":"2d74b440","hex_latitude":"06061090","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752427776001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273770668670058496,"note":"Value kept but may cause issues"} 
[2026-04-17 03:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8407657580220012544,"note":"Value kept but may cause issues"} 
[2026-04-17 03:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776376681000,"timestamp_ms":1776376681000,"timestamp_seconds":1776376681,"priority":1,"record_length":96,"hex_timestamp":"0000019d984d1228"} 
[2026-04-17 03:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:29: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-04-17 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 03:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:29:58] 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-04-17 03:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752427776001,"66":27343,"197":206,"79":47616,"24":18,"16":273770668670058496,"45":8407657580220012544},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,79,24,16,45]} 
[2026-04-17 03:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752427776001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:29:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 03:29:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273770668670058496,"km_value":273770668670058.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8407657580220012544,"description":"Unknown IO ID 45"} 
[2026-04-17 03:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752427776001,"power":27343,"unknown_197":206,"unknown_79":47616,"ignition":18,"odometer":null,"unknown_45":8407657580220012544}} 
[2026-04-17 03:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":45742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:29:58] local.INFO: GPS data processed {"connection_id":45742,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:29:58] local.INFO: Acknowledgment sent {"connection_id":45742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:30:04] local.INFO: TCP Data received {"connection_id":46298,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46298,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:30:04] local.INFO: Processing buffer {"connection_id":46298,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:30:04] local.INFO: IMEI packet received {"connection_id":46298,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":46298,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:30:05] local.INFO: TCP Data received {"connection_id":46298,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46298,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:30:05] local.INFO: Processing buffer {"connection_id":46298,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:30:05] local.INFO: IMEI packet received {"connection_id":46298,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":46298,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:30:11] local.INFO: TCP Data received {"connection_id":46298,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46298,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:30:11] local.INFO: Processing buffer {"connection_id":46298,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:30:11] local.INFO: IMEI packet received {"connection_id":46298,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":46298,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:30:12] local.INFO: TCP Data received {"connection_id":46298,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984eb0380100000000000000000000000000..."} 
[2026-04-17 03:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984eb0380100000000000000000000000000..."} 
[2026-04-17 03:30:12] local.INFO: Processing buffer {"connection_id":46298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984eb0380100000000000000000000000000..."} 
[2026-04-17 03:30:12] local.INFO: Packet analysis {"connection_id":46298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984e"} 
[2026-04-17 03:30:12] local.INFO: Extracted packet for processing {"connection_id":46298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984e"} 
[2026-04-17 03:30: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-04-17 03: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-04-17 03:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752443648001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884535144055316480,"note":"Value kept but may cause issues"} 
[2026-04-17 03:30:12] 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-04-17 03:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776376787000,"timestamp_ms":1776376787000,"timestamp_seconds":1776376787,"priority":1,"record_length":96,"hex_timestamp":"0000019d984eb038"} 
[2026-04-17 03:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:30: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-04-17 03: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":178,"data_length":795,"current_offset":136} 
[2026-04-17 03:30:12] 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-04-17 03: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-04-17 03:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46298,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46298,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":46298,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:30:12] local.INFO: GPS data processed {"connection_id":46298,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:30:12] local.INFO: Acknowledgment sent {"connection_id":46298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:30:29] local.INFO: TCP Data received {"connection_id":45742,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d984e6218012d7511800604f3d00004009d32..."} 
[2026-04-17 03:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984e6218012d7511800604f3d00004009d32..."} 
[2026-04-17 03:30:29] local.INFO: Processing buffer {"connection_id":45742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984e6218012d7511800604f3d00004009d32..."} 
[2026-04-17 03:30:29] local.INFO: Packet analysis {"connection_id":45742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984e"} 
[2026-04-17 03:30:29] local.INFO: Extracted packet for processing {"connection_id":45742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984e"} 
[2026-04-17 03:30:29] local.INFO: GPS Element Parsed {"raw_longitude":762646912,"raw_latitude":100987856,"longitude_deg":76.2646912,"latitude_deg":10.0987856,"altitude":4,"angle":157,"satellites":50,"speed":50,"hex_longitude":"2d751180","hex_latitude":"0604f3d0","is_valid_coordinates":true} 
[2026-04-17 03:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752450304001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273774486895984640,"note":"Value kept but may cause issues"} 
[2026-04-17 03:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8431723690711287808,"note":"Value kept but may cause issues"} 
[2026-04-17 03:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776376767000,"timestamp_ms":1776376767000,"timestamp_seconds":1776376767,"priority":1,"record_length":96,"hex_timestamp":"0000019d984e6218"} 
[2026-04-17 03:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:30: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-04-17 03:30:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:30: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-04-17 03:30:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:30: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-04-17 03:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752450304001,"66":27484,"119":206,"79":47616,"24":50,"16":273774486895984640,"45":8431723690711287808},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,79,24,16,45]} 
[2026-04-17 03:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752450304001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:30:29] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-17 03:30:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273774486895984640,"km_value":273774486895984.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8431723690711287808,"description":"Unknown IO ID 45"} 
[2026-04-17 03:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752450304001,"power":27484,"unknown_119":206,"unknown_79":47616,"ignition":50,"odometer":null,"unknown_45":8431723690711287808}} 
[2026-04-17 03:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":45742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:30:29] local.INFO: GPS data processed {"connection_id":45742,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:30:29] local.INFO: Acknowledgment sent {"connection_id":45742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:30:44] local.INFO: TCP Data received {"connection_id":46298,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984e3720012d0c468006ec9618000d00af35..."} 
[2026-04-17 03:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984e3720012d0c468006ec9618000d00af35..."} 
[2026-04-17 03:30:44] local.INFO: Processing buffer {"connection_id":46298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984e3720012d0c468006ec9618000d00af35..."} 
[2026-04-17 03:30:44] local.INFO: Packet analysis {"connection_id":46298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984e"} 
[2026-04-17 03:30:44] local.INFO: Extracted packet for processing {"connection_id":46298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984e"} 
[2026-04-17 03:30:44] local.INFO: GPS Element Parsed {"raw_longitude":755779200,"raw_latitude":116168216,"longitude_deg":75.57792,"latitude_deg":11.6168216,"altitude":13,"angle":175,"satellites":53,"speed":10,"hex_longitude":"2d0c4680","hex_latitude":"06ec9618","is_valid_coordinates":true} 
[2026-04-17 03:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:30:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,158,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776376756000,"timestamp_ms":1776376756000,"timestamp_seconds":1776376756,"priority":1,"record_length":96,"hex_timestamp":"0000019d984e3720"} 
[2026-04-17 03:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:30:44] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 03:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46298,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46298,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"158":206,"2":56576,"24":10,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16]} 
[2026-04-17 03:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:30:44] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-04-17 03:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:30:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_158":206,"power_alt":56576,"ignition":10,"odometer":null}} 
[2026-04-17 03:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":46298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18934,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:30:44] local.INFO: GPS data processed {"connection_id":46298,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:30:44] local.INFO: Acknowledgment sent {"connection_id":46298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:30:52] local.INFO: TCP Data received {"connection_id":45538,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:30:52] local.INFO: Processing buffer {"connection_id":45538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:30:52] local.INFO: IMEI packet received {"connection_id":45538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":45538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:30:57] local.INFO: TCP Data received {"connection_id":45538,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:30:57] local.INFO: Processing buffer {"connection_id":45538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:30:57] local.INFO: IMEI packet received {"connection_id":45538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":45538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:30:58] local.INFO: TCP Data received {"connection_id":45538,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d984e7d70012d751f000604d3380004009e31..."} 
[2026-04-17 03:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984e7d70012d751f000604d3380004009e31..."} 
[2026-04-17 03:30:58] local.INFO: Processing buffer {"connection_id":45538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984e7d70012d751f000604d3380004009e31..."} 
[2026-04-17 03:30:58] local.INFO: Packet analysis {"connection_id":45538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984e"} 
[2026-04-17 03:30:58] local.INFO: Extracted packet for processing {"connection_id":45538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984e"} 
[2026-04-17 03:30:58] local.INFO: GPS Element Parsed {"raw_longitude":762650368,"raw_latitude":100979512,"longitude_deg":76.2650368,"latitude_deg":10.0979512,"altitude":4,"angle":158,"satellites":49,"speed":51,"hex_longitude":"2d751f00","hex_latitude":"0604d338","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752452352001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273774924982648832,"note":"Value kept but may cause issues"} 
[2026-04-17 03:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8435664340382896128,"note":"Value kept but may cause issues"} 
[2026-04-17 03:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776376774000,"timestamp_ms":1776376774000,"timestamp_seconds":1776376774,"priority":1,"record_length":96,"hex_timestamp":"0000019d984e7d70"} 
[2026-04-17 03:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:30: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-04-17 03:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 03:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:30:58] 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-04-17 03:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752452352001,"66":27463,"119":206,"79":47616,"24":51,"16":273774924982648832,"45":8435664340382896128},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,79,24,16,45]} 
[2026-04-17 03:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752452352001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:30:58] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-17 03:30:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273774924982648832,"km_value":273774924982648.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8435664340382896128,"description":"Unknown IO ID 45"} 
[2026-04-17 03:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752452352001,"power":27463,"unknown_119":206,"unknown_79":47616,"ignition":51,"odometer":null,"unknown_45":8435664340382896128}} 
[2026-04-17 03:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":45538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:30:58] local.INFO: GPS data processed {"connection_id":45538,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:30:58] local.INFO: Acknowledgment sent {"connection_id":45538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:31:05] local.INFO: TCP Data received {"connection_id":45743,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:31:05] local.INFO: Processing buffer {"connection_id":45743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:31:05] local.INFO: IMEI packet received {"connection_id":45743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":45743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:31:11] local.INFO: TCP Data received {"connection_id":45743,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:31:11] local.INFO: Processing buffer {"connection_id":45743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:31:11] local.INFO: IMEI packet received {"connection_id":45743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":45743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:31:12] local.INFO: TCP Data received {"connection_id":45743,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984e8928012d0c468006ec9618000d00af35..."} 
[2026-04-17 03:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984e8928012d0c468006ec9618000d00af35..."} 
[2026-04-17 03:31:12] local.INFO: Processing buffer {"connection_id":45743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984e8928012d0c468006ec9618000d00af35..."} 
[2026-04-17 03:31:12] local.INFO: Packet analysis {"connection_id":45743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984e"} 
[2026-04-17 03:31:12] local.INFO: Extracted packet for processing {"connection_id":45743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984e"} 
[2026-04-17 03:31:12] local.INFO: GPS Element Parsed {"raw_longitude":755779200,"raw_latitude":116168216,"longitude_deg":75.57792,"latitude_deg":11.6168216,"altitude":13,"angle":175,"satellites":53,"speed":0,"hex_longitude":"2d0c4680","hex_latitude":"06ec9618","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752449536001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884535144052299776,"note":"Value kept but may cause issues"} 
[2026-04-17 03:31:12] 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-04-17 03:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776376777000,"timestamp_ms":1776376777000,"timestamp_seconds":1776376777,"priority":1,"record_length":96,"hex_timestamp":"0000019d984e8928"} 
[2026-04-17 03:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:31: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-04-17 03:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 03:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752449536001,"66":27876,"158":206,"2":56576,"24":0,"16":106618783551979520,"45":884535144052299776},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,158,2,24,16,45]} 
[2026-04-17 03:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752449536001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:31:12] local.INFO: Unknown IO ID detected {"io_id":158,"value":206,"description":"Unknown IO ID 158"} 
[2026-04-17 03:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":884535144052299776,"description":"Unknown IO ID 45"} 
[2026-04-17 03:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752449536001,"power":27876,"unknown_158":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":884535144052299776}} 
[2026-04-17 03:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":45743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18936,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:31:12] local.INFO: GPS data processed {"connection_id":45743,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:31:12] local.INFO: Acknowledgment sent {"connection_id":45743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:31:28] local.INFO: TCP Data received {"connection_id":45538,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d984e9cb0012d752bc00604af38000400a432..."} 
[2026-04-17 03:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984e9cb0012d752bc00604af38000400a432..."} 
[2026-04-17 03:31:28] local.INFO: Processing buffer {"connection_id":45538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984e9cb0012d752bc00604af38000400a432..."} 
[2026-04-17 03:31:28] local.INFO: Packet analysis {"connection_id":45538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984e"} 
[2026-04-17 03:31:28] local.INFO: Extracted packet for processing {"connection_id":45538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984e"} 
[2026-04-17 03:31:28] local.INFO: GPS Element Parsed {"raw_longitude":762653632,"raw_latitude":100970296,"longitude_deg":76.2653632,"latitude_deg":10.0970296,"altitude":4,"angle":164,"satellites":50,"speed":41,"hex_longitude":"2d752bc0","hex_latitude":"0604af38","is_valid_coordinates":true} 
[2026-04-17 03:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752454144001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273775397429051392,"note":"Value kept but may cause issues"} 
[2026-04-17 03:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8439464252566353920,"note":"Value kept but may cause issues"} 
[2026-04-17 03:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776376782000,"timestamp_ms":1776376782000,"timestamp_seconds":1776376782,"priority":1,"record_length":96,"hex_timestamp":"0000019d984e9cb0"} 
[2026-04-17 03:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:31: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-04-17 03:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 03:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:31:28] 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-04-17 03:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752454144001,"66":27484,"119":206,"79":47616,"24":41,"16":273775397429051392,"45":8439464252566353920},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,79,24,16,45]} 
[2026-04-17 03:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752454144001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:31:28] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-17 03:31:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273775397429051392,"km_value":273775397429051.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8439464252566353920,"description":"Unknown IO ID 45"} 
[2026-04-17 03:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752454144001,"power":27484,"unknown_119":206,"unknown_79":47616,"ignition":41,"odometer":null,"unknown_45":8439464252566353920}} 
[2026-04-17 03:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":45538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:31:28] local.INFO: GPS data processed {"connection_id":45538,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:31:28] local.INFO: Acknowledgment sent {"connection_id":45538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:31:44] local.INFO: TCP Data received {"connection_id":45743,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984f60000100000000000000000000000000..."} 
[2026-04-17 03:31:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984f60000100000000000000000000000000..."} 
[2026-04-17 03:31:44] local.INFO: Processing buffer {"connection_id":45743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984f60000100000000000000000000000000..."} 
[2026-04-17 03:31:44] local.INFO: Packet analysis {"connection_id":45743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984f"} 
[2026-04-17 03:31:44] local.INFO: Extracted packet for processing {"connection_id":45743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984f"} 
[2026-04-17 03: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-04-17 03: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-04-17 03:31:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752454912001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:31:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:31:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884535144052299776,"note":"Value kept but may cause issues"} 
[2026-04-17 03:31:44] 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-04-17 03:31:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776376832000,"timestamp_ms":1776376832000,"timestamp_seconds":1776376832,"priority":1,"record_length":96,"hex_timestamp":"0000019d984f6000"} 
[2026-04-17 03:31:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:31:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 03:31:44] 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-04-17 03: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-04-17 03:31:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:31:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:31:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:31:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:31:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:31:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:31:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:31:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":45743,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:31:44] local.INFO: GPS data processed {"connection_id":45743,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:31:44] local.INFO: Acknowledgment sent {"connection_id":45743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:31:52] local.INFO: TCP Data received {"connection_id":45477,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:31:52] local.INFO: Processing buffer {"connection_id":45477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:31:52] local.INFO: IMEI packet received {"connection_id":45477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":45477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:31:56] local.INFO: TCP Data received {"connection_id":45477,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:31:56] local.INFO: Processing buffer {"connection_id":45477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:31:56] local.INFO: IMEI packet received {"connection_id":45477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":45477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:31:57] local.INFO: TCP Data received {"connection_id":45477,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d984ecb90012d7535c006048b98000300a332..."} 
[2026-04-17 03:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984ecb90012d7535c006048b98000300a332..."} 
[2026-04-17 03:31:57] local.INFO: Processing buffer {"connection_id":45477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984ecb90012d7535c006048b98000300a332..."} 
[2026-04-17 03:31:57] local.INFO: Packet analysis {"connection_id":45477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984e"} 
[2026-04-17 03:31:57] local.INFO: Extracted packet for processing {"connection_id":45477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984e"} 
[2026-04-17 03:31:57] local.INFO: GPS Element Parsed {"raw_longitude":762656192,"raw_latitude":100961176,"longitude_deg":76.2656192,"latitude_deg":10.0961176,"altitude":3,"angle":163,"satellites":50,"speed":33,"hex_longitude":"2d7535c0","hex_latitude":"06048b98","is_valid_coordinates":true} 
[2026-04-17 03:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752456192001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273775856990552064,"note":"Value kept but may cause issues"} 
[2026-04-17 03:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8443053058517055488,"note":"Value kept but may cause issues"} 
[2026-04-17 03:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776376794000,"timestamp_ms":1776376794000,"timestamp_seconds":1776376794,"priority":1,"record_length":96,"hex_timestamp":"0000019d984ecb90"} 
[2026-04-17 03:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:31: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-04-17 03:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 03:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:31:57] 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-04-17 03:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752456192001,"66":27397,"119":206,"79":47616,"24":33,"16":273775856990552064,"45":8443053058517055488},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,79,24,16,45]} 
[2026-04-17 03:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752456192001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:31:57] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-17 03:31:57] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273775856990552064,"km_value":273775856990552.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8443053058517055488,"description":"Unknown IO ID 45"} 
[2026-04-17 03:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752456192001,"power":27397,"unknown_119":206,"unknown_79":47616,"ignition":33,"odometer":null,"unknown_45":8443053058517055488}} 
[2026-04-17 03:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":45477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:31:57] local.INFO: GPS data processed {"connection_id":45477,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:31:57] local.INFO: Acknowledgment sent {"connection_id":45477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:32:06] local.INFO: TCP Data received {"connection_id":45478,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:32:06] local.INFO: Processing buffer {"connection_id":45478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:32:06] local.INFO: IMEI packet received {"connection_id":45478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":45478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:32:11] local.INFO: TCP Data received {"connection_id":45478,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:32:11] local.INFO: Processing buffer {"connection_id":45478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:32:11] local.INFO: IMEI packet received {"connection_id":45478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":45478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:32:12] local.INFO: TCP Data received {"connection_id":45478,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984ee6e8012d0c45c006ec69e8001200b133..."} 
[2026-04-17 03:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984ee6e8012d0c45c006ec69e8001200b133..."} 
[2026-04-17 03:32:12] local.INFO: Processing buffer {"connection_id":45478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984ee6e8012d0c45c006ec69e8001200b133..."} 
[2026-04-17 03:32:12] local.INFO: Packet analysis {"connection_id":45478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984e"} 
[2026-04-17 03:32:12] local.INFO: Extracted packet for processing {"connection_id":45478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984e"} 
[2026-04-17 03:32:12] local.INFO: GPS Element Parsed {"raw_longitude":755779008,"raw_latitude":116156904,"longitude_deg":75.5779008,"latitude_deg":11.6156904,"altitude":18,"angle":177,"satellites":51,"speed":15,"hex_longitude":"2d0c45c0","hex_latitude":"06ec69e8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 03:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:32:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,42,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776376801000,"timestamp_ms":1776376801000,"timestamp_seconds":1776376801,"priority":1,"record_length":96,"hex_timestamp":"0000019d984ee6e8"} 
[2026-04-17 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-04-17 03:32: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 03:32:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 03:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"42":206,"2":56576,"24":15,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16]} 
[2026-04-17 03:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:32:12] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-17 03:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:32:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_42":206,"power_alt":56576,"ignition":15,"odometer":null}} 
[2026-04-17 03:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":45478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18939,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:32:12] local.INFO: GPS data processed {"connection_id":45478,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:32:12] local.INFO: Acknowledgment sent {"connection_id":45478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:32:28] local.INFO: TCP Data received {"connection_id":45477,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98505de8012d75ae800602f3100005009032..."} 
[2026-04-17 03:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98505de8012d75ae800602f3100005009032..."} 
[2026-04-17 03:32:28] local.INFO: Processing buffer {"connection_id":45477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98505de8012d75ae800602f3100005009032..."} 
[2026-04-17 03:32:28] local.INFO: Packet analysis {"connection_id":45477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9850"} 
[2026-04-17 03:32:28] local.INFO: Extracted packet for processing {"connection_id":45477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9850"} 
[2026-04-17 03:32:28] local.INFO: GPS Element Parsed {"raw_longitude":762687104,"raw_latitude":100856592,"longitude_deg":76.2687104,"latitude_deg":10.0856592,"altitude":5,"angle":144,"satellites":50,"speed":19,"hex_longitude":"2d75ae80","hex_latitude":"0602f310","is_valid_coordinates":true} 
[2026-04-17 03:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752485120001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273781152685228032,"note":"Value kept but may cause issues"} 
[2026-04-17 03:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8479292961739661312,"note":"Value kept but may cause issues"} 
[2026-04-17 03:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776376897000,"timestamp_ms":1776376897000,"timestamp_seconds":1776376897,"priority":1,"record_length":96,"hex_timestamp":"0000019d98505de8"} 
[2026-04-17 03:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:32: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-04-17 03:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 03:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:32:28] 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-04-17 03:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752485120001,"66":27343,"21":206,"79":47616,"24":19,"16":273781152685228032,"45":8479292961739661312},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-04-17 03:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752485120001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:32:28] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-04-17 03:32:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273781152685228032,"km_value":273781152685228.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8479292961739661312,"description":"Unknown IO ID 45"} 
[2026-04-17 03:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752485120001,"power":27343,"unknown_21":206,"unknown_79":47616,"ignition":19,"odometer":null,"unknown_45":8479292961739661312}} 
[2026-04-17 03:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":45477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:32:28] local.INFO: GPS data processed {"connection_id":45477,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:32:28] local.INFO: Acknowledgment sent {"connection_id":45477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:32:44] local.INFO: TCP Data received {"connection_id":45478,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984fc1a80100000000000000000000000000..."} 
[2026-04-17 03:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984fc1a80100000000000000000000000000..."} 
[2026-04-17 03:32:44] local.INFO: Processing buffer {"connection_id":45478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984fc1a80100000000000000000000000000..."} 
[2026-04-17 03:32:44] local.INFO: Packet analysis {"connection_id":45478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984f"} 
[2026-04-17 03:32:44] local.INFO: Extracted packet for processing {"connection_id":45478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984f"} 
[2026-04-17 03:32: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-04-17 03: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-04-17 03:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752461056001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":884324037816870912,"note":"Value kept but may cause issues"} 
[2026-04-17 03:32:44] 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-04-17 03:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776376857000,"timestamp_ms":1776376857000,"timestamp_seconds":1776376857,"priority":1,"record_length":96,"hex_timestamp":"0000019d984fc1a8"} 
[2026-04-17 03:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:32:44] 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-04-17 03: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 03:32:44] 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-04-17 03: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-04-17 03:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":45478,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:32:44] local.INFO: GPS data processed {"connection_id":45478,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:32:44] local.INFO: Acknowledgment sent {"connection_id":45478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:32:52] local.INFO: TCP Data received {"connection_id":45479,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:32:52] local.INFO: Processing buffer {"connection_id":45479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:32:52] local.INFO: IMEI packet received {"connection_id":45479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":45479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:32:52] local.INFO: TCP Data received {"connection_id":45479,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:32:52] local.INFO: Processing buffer {"connection_id":45479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:32:52] local.INFO: IMEI packet received {"connection_id":45479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":45479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:32:57] local.INFO: TCP Data received {"connection_id":45479,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45479,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:32:57] local.INFO: Processing buffer {"connection_id":45479,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:32:57] local.INFO: IMEI packet received {"connection_id":45479,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:32:57] local.INFO: IMEI acknowledgment sent {"connection_id":45479,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:32:58] local.INFO: TCP Data received {"connection_id":45479,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d985069a0012d75b2000602ee500005009b32..."} 
[2026-04-17 03:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985069a0012d75b2000602ee500005009b32..."} 
[2026-04-17 03:32:58] local.INFO: Processing buffer {"connection_id":45479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985069a0012d75b2000602ee500005009b32..."} 
[2026-04-17 03:32:58] local.INFO: Packet analysis {"connection_id":45479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9850"} 
[2026-04-17 03:32:58] local.INFO: Extracted packet for processing {"connection_id":45479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9850"} 
[2026-04-17 03:32:58] local.INFO: GPS Element Parsed {"raw_longitude":762688000,"raw_latitude":100855376,"longitude_deg":76.2688,"latitude_deg":10.0855376,"altitude":5,"angle":155,"satellites":50,"speed":20,"hex_longitude":"2d75b200","hex_latitude":"0602ee50","is_valid_coordinates":true} 
[2026-04-17 03:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752485632001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273781225699672064,"note":"Value kept but may cause issues"} 
[2026-04-17 03:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8479855911692865536,"note":"Value kept but may cause issues"} 
[2026-04-17 03:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776376900000,"timestamp_ms":1776376900000,"timestamp_seconds":1776376900,"priority":1,"record_length":96,"hex_timestamp":"0000019d985069a0"} 
[2026-04-17 03:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:32: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-04-17 03:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:32:58] 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-04-17 03:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:32:58] 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-04-17 03:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752485632001,"66":27321,"21":206,"79":47616,"24":20,"16":273781225699672064,"45":8479855911692865536},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-04-17 03:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752485632001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:32:58] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-04-17 03:32:58] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273781225699672064,"km_value":273781225699672.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8479855911692865536,"description":"Unknown IO ID 45"} 
[2026-04-17 03:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752485632001,"power":27321,"unknown_21":206,"unknown_79":47616,"ignition":20,"odometer":null,"unknown_45":8479855911692865536}} 
[2026-04-17 03:32:58] local.INFO: DEBUG: GPS processor result {"connection_id":45479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:32:58] local.INFO: GPS data processed {"connection_id":45479,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:32:58] local.INFO: Acknowledgment sent {"connection_id":45479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:33:11] local.INFO: TCP Data received {"connection_id":45539,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:33:11] local.INFO: Processing buffer {"connection_id":45539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:33:11] local.INFO: IMEI packet received {"connection_id":45539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":45539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:33:16] local.INFO: TCP Data received {"connection_id":45539,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:33:16] local.INFO: Processing buffer {"connection_id":45539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:33:16] local.INFO: IMEI packet received {"connection_id":45539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":45539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:33:17] local.INFO: TCP Data received {"connection_id":45539,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984f5c18012d0c58c006ec33c80013009d35..."} 
[2026-04-17 03:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984f5c18012d0c58c006ec33c80013009d35..."} 
[2026-04-17 03:33:17] local.INFO: Processing buffer {"connection_id":45539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984f5c18012d0c58c006ec33c80013009d35..."} 
[2026-04-17 03:33:17] local.INFO: Packet analysis {"connection_id":45539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984f"} 
[2026-04-17 03:33:17] local.INFO: Extracted packet for processing {"connection_id":45539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984f"} 
[2026-04-17 03:33:17] local.INFO: GPS Element Parsed {"raw_longitude":755783872,"raw_latitude":116143048,"longitude_deg":75.5783872,"latitude_deg":11.6143048,"altitude":19,"angle":157,"satellites":53,"speed":27,"hex_longitude":"2d0c58c0","hex_latitude":"06ec33c8","is_valid_coordinates":true} 
[2026-04-17 03:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:33:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,42,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776376831000,"timestamp_ms":1776376831000,"timestamp_seconds":1776376831,"priority":1,"record_length":96,"hex_timestamp":"0000019d984f5c18"} 
[2026-04-17 03:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:33:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-17 03:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28006,"42":206,"2":56576,"24":27,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16]} 
[2026-04-17 03:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:33:17] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-17 03:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:33:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28006,"unknown_42":206,"power_alt":56576,"ignition":27,"odometer":null}} 
[2026-04-17 03:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":45539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18942,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:33:17] local.INFO: GPS data processed {"connection_id":45539,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:33:17] local.INFO: Acknowledgment sent {"connection_id":45539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:33:21] local.INFO: TCP Data received {"connection_id":45539,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98503ac00100000000000000000000000000..."} 
[2026-04-17 03:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98503ac00100000000000000000000000000..."} 
[2026-04-17 03:33:21] local.INFO: Processing buffer {"connection_id":45539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98503ac00100000000000000000000000000..."} 
[2026-04-17 03:33:21] local.INFO: Packet analysis {"connection_id":45539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9850"} 
[2026-04-17 03:33:21] local.INFO: Extracted packet for processing {"connection_id":45539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9850"} 
[2026-04-17 03: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-04-17 03: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-04-17 03:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752468736001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":889672062370826240,"note":"Value kept but may cause issues"} 
[2026-04-17 03:33:21] 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-04-17 03:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776376888000,"timestamp_ms":1776376888000,"timestamp_seconds":1776376888,"priority":1,"record_length":96,"hex_timestamp":"0000019d98503ac0"} 
[2026-04-17 03:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:33:21] 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-04-17 03: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 03:33:21] 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-04-17 03: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-04-17 03:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45539,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":45539,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:33:21] local.INFO: GPS data processed {"connection_id":45539,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:33:21] local.INFO: Acknowledgment sent {"connection_id":45539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:33:28] local.INFO: TCP Data received {"connection_id":45479,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98507170012d75b3400602ea68000500a732..."} 
[2026-04-17 03:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98507170012d75b3400602ea68000500a732..."} 
[2026-04-17 03:33:28] local.INFO: Processing buffer {"connection_id":45479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98507170012d75b3400602ea68000500a732..."} 
[2026-04-17 03:33:28] local.INFO: Packet analysis {"connection_id":45479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9850"} 
[2026-04-17 03:33:28] local.INFO: Extracted packet for processing {"connection_id":45479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9850"} 
[2026-04-17 03:33:28] local.INFO: GPS Element Parsed {"raw_longitude":762688320,"raw_latitude":100854376,"longitude_deg":76.268832,"latitude_deg":10.0854376,"altitude":5,"angle":167,"satellites":50,"speed":22,"hex_longitude":"2d75b340","hex_latitude":"0602ea68","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752486400001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273781277239279616,"note":"Value kept but may cause issues"} 
[2026-04-17 03:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8480841074111041536,"note":"Value kept but may cause issues"} 
[2026-04-17 03:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,21,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776376902000,"timestamp_ms":1776376902000,"timestamp_seconds":1776376902,"priority":1,"record_length":96,"hex_timestamp":"0000019d98507170"} 
[2026-04-17 03:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:33: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-04-17 03: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-04-17 03: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-04-17 03: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-04-17 03:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45479,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:33:28] 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-04-17 03:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752486400001,"66":27321,"21":206,"79":47616,"24":22,"16":273781277239279616,"45":8480841074111041536},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,21,79,24,16,45]} 
[2026-04-17 03:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752486400001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:33:28] local.INFO: Unknown IO ID detected {"io_id":21,"value":206,"description":"Unknown IO ID 21"} 
[2026-04-17 03:33:28] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273781277239279616,"km_value":273781277239279.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8480841074111041536,"description":"Unknown IO ID 45"} 
[2026-04-17 03:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752486400001,"power":27321,"unknown_21":206,"unknown_79":47616,"ignition":22,"odometer":null,"unknown_45":8480841074111041536}} 
[2026-04-17 03:33:29] local.INFO: DEBUG: GPS processor result {"connection_id":45479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:33:29] local.INFO: GPS data processed {"connection_id":45479,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:33:29] local.INFO: Acknowledgment sent {"connection_id":45479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:33:54] local.INFO: TCP Data received {"connection_id":45540,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:33:54] local.INFO: Processing buffer {"connection_id":45540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:33:54] local.INFO: IMEI packet received {"connection_id":45540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":45540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:33:57] local.INFO: TCP Data received {"connection_id":45540,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:33:57] local.INFO: Processing buffer {"connection_id":45540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:33:57] local.INFO: IMEI packet received {"connection_id":45540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":45540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:34:02] local.INFO: TCP Data received {"connection_id":45540,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:34:02] local.INFO: Processing buffer {"connection_id":45540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:34:02] local.INFO: IMEI packet received {"connection_id":45540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":45540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:34:03] local.INFO: TCP Data received {"connection_id":45540,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98518e98012d764640060222980007007533..."} 
[2026-04-17 03:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98518e98012d764640060222980007007533..."} 
[2026-04-17 03:34:03] local.INFO: Processing buffer {"connection_id":45540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98518e98012d764640060222980007007533..."} 
[2026-04-17 03:34:03] local.INFO: Packet analysis {"connection_id":45540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9851"} 
[2026-04-17 03:34:03] local.INFO: Extracted packet for processing {"connection_id":45540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9851"} 
[2026-04-17 03:34:03] local.INFO: GPS Element Parsed {"raw_longitude":762725952,"raw_latitude":100803224,"longitude_deg":76.2725952,"latitude_deg":10.0803224,"altitude":7,"angle":117,"satellites":51,"speed":25,"hex_longitude":"2d764640","hex_latitude":"06022298","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752504064001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273784408270438400,"note":"Value kept but may cause issues"} 
[2026-04-17 03:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8518840195954307072,"note":"Value kept but may cause issues"} 
[2026-04-17 03:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,187,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776376975000,"timestamp_ms":1776376975000,"timestamp_seconds":1776376975,"priority":1,"record_length":96,"hex_timestamp":"0000019d98518e98"} 
[2026-04-17 03:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:34: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-04-17 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 03:34: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-04-17 03: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-04-17 03:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:34:03] 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-04-17 03:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752504064001,"66":27397,"187":206,"79":47616,"24":25,"16":273784408270438400,"45":8518840195954307072},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,79,24,16,45]} 
[2026-04-17 03:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752504064001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:34:03] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-17 03:34:03] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273784408270438400,"km_value":273784408270438.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8518840195954307072,"description":"Unknown IO ID 45"} 
[2026-04-17 03:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752504064001,"power":27397,"unknown_187":206,"unknown_79":47616,"ignition":25,"odometer":null,"unknown_45":8518840195954307072}} 
[2026-04-17 03:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":45540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:34:03] local.INFO: GPS data processed {"connection_id":45540,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:34:03] local.INFO: Acknowledgment sent {"connection_id":45540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:34:07] local.INFO: TCP Data received {"connection_id":45480,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:34:07] local.INFO: Processing buffer {"connection_id":45480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:34:07] local.INFO: IMEI packet received {"connection_id":45480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:34:07] local.INFO: IMEI acknowledgment sent {"connection_id":45480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:34:11] local.INFO: TCP Data received {"connection_id":45480,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:34:11] local.INFO: Processing buffer {"connection_id":45480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:34:11] local.INFO: IMEI packet received {"connection_id":45480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":45480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:34:12] local.INFO: TCP Data received {"connection_id":45480,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:34:12] local.INFO: Processing buffer {"connection_id":45480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:34:12] local.INFO: IMEI packet received {"connection_id":45480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":45480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:34:16] local.INFO: TCP Data received {"connection_id":45480,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:34:16] local.INFO: Processing buffer {"connection_id":45480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:34:16] local.INFO: IMEI packet received {"connection_id":45480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:34:16] local.INFO: IMEI acknowledgment sent {"connection_id":45480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:34:19] local.INFO: TCP Data received {"connection_id":45480,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984fb208012d0c688006ebef28000e00b036..."} 
[2026-04-17 03:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984fb208012d0c688006ebef28000e00b036..."} 
[2026-04-17 03:34:19] local.INFO: Processing buffer {"connection_id":45480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984fb208012d0c688006ebef28000e00b036..."} 
[2026-04-17 03:34:19] local.INFO: Packet analysis {"connection_id":45480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984f"} 
[2026-04-17 03:34:19] local.INFO: Extracted packet for processing {"connection_id":45480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984f"} 
[2026-04-17 03:34:19] local.INFO: GPS Element Parsed {"raw_longitude":755787904,"raw_latitude":116125480,"longitude_deg":75.5787904,"latitude_deg":11.612548,"altitude":14,"angle":176,"satellites":54,"speed":42,"hex_longitude":"2d0c6880","hex_latitude":"06ebef28","is_valid_coordinates":true} 
[2026-04-17 03:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:34:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:34:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,42,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:34:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776376853000,"timestamp_ms":1776376853000,"timestamp_seconds":1776376853,"priority":1,"record_length":96,"hex_timestamp":"0000019d984fb208"} 
[2026-04-17 03:34:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:34:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:34:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 03:34:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:34:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:34:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:34:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:34:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:34:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:34:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:34:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:34:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:34:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:34:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27800,"42":206,"2":56576,"24":42,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16]} 
[2026-04-17 03:34:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:34:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:34:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:34:19] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-17 03:34:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:34:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27800,"unknown_42":206,"power_alt":56576,"ignition":42,"odometer":null}} 
[2026-04-17 03:34:19] local.INFO: DEBUG: GPS processor result {"connection_id":45480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:34:19] local.INFO: GPS data processed {"connection_id":45480,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:34:19] local.INFO: Acknowledgment sent {"connection_id":45480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:34:25] local.INFO: TCP Data received {"connection_id":45480,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d984ff858012d0c744006eba9b80010009e36..."} 
[2026-04-17 03:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d984ff858012d0c744006eba9b80010009e36..."} 
[2026-04-17 03:34:25] local.INFO: Processing buffer {"connection_id":45480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d984ff858012d0c744006eba9b80010009e36..."} 
[2026-04-17 03:34:25] local.INFO: Packet analysis {"connection_id":45480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d984f"} 
[2026-04-17 03:34:25] local.INFO: Extracted packet for processing {"connection_id":45480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d984f"} 
[2026-04-17 03:34:25] local.INFO: GPS Element Parsed {"raw_longitude":755790912,"raw_latitude":116107704,"longitude_deg":75.5790912,"latitude_deg":11.6107704,"altitude":16,"angle":158,"satellites":54,"speed":30,"hex_longitude":"2d0c7440","hex_latitude":"06eba9b8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752474368001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":894105293249521664,"note":"Value kept but may cause issues"} 
[2026-04-17 03:34:25] 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-04-17 03:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776376871000,"timestamp_ms":1776376871000,"timestamp_seconds":1776376871,"priority":1,"record_length":96,"hex_timestamp":"0000019d984ff858"} 
[2026-04-17 03:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:34:25] 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-04-17 03: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 03:34:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":45480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":45480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":45480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752474368001,"66":28104,"42":206,"2":56576,"24":30,"16":106618783551979520,"45":894105293249521664},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-04-17 03:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752474368001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:34:25] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-17 03:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":894105293249521664,"description":"Unknown IO ID 45"} 
[2026-04-17 03:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752474368001,"power":28104,"unknown_42":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":894105293249521664}} 
[2026-04-17 03:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":45480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18946,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:34:26] local.INFO: GPS data processed {"connection_id":45480,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:34:26] local.INFO: Acknowledgment sent {"connection_id":45480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:34:39] local.INFO: TCP Data received {"connection_id":45540,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98519a50012d764dc006021f780007006932..."} 
[2026-04-17 03:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98519a50012d764dc006021f780007006932..."} 
[2026-04-17 03:34:39] local.INFO: Processing buffer {"connection_id":45540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98519a50012d764dc006021f780007006932..."} 
[2026-04-17 03:34:39] local.INFO: Packet analysis {"connection_id":45540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9851"} 
[2026-04-17 03:34:39] local.INFO: Extracted packet for processing {"connection_id":45540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9851"} 
[2026-04-17 03:34:39] local.INFO: GPS Element Parsed {"raw_longitude":762727872,"raw_latitude":100802424,"longitude_deg":76.2727872,"latitude_deg":10.0802424,"altitude":7,"angle":105,"satellites":50,"speed":28,"hex_longitude":"2d764dc0","hex_latitude":"06021f78","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:34:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752505600001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:34:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273784507054686208,"note":"Value kept but may cause issues"} 
[2026-04-17 03:34:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8522569739395045376,"note":"Value kept but may cause issues"} 
[2026-04-17 03:34:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:34:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776376978000,"timestamp_ms":1776376978000,"timestamp_seconds":1776376978,"priority":1,"record_length":96,"hex_timestamp":"0000019d98519a50"} 
[2026-04-17 03:34:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:34: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-04-17 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 03:34:39] 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-04-17 03: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-04-17 03:34:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:34:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:34:39] local.INFO: Teltonika packet parsed successfully {"connection_id":45540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:34:39] local.INFO: Passing IMEI to GPS processor {"connection_id":45540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:34:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":45540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:34:39] 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-04-17 03:34:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:34:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:34:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752505600001,"66":27267,"188":206,"79":47616,"24":28,"16":273784507054686208,"45":8522569739395045376},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-04-17 03:34:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:34:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:34:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752505600001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:34:39] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-04-17 03:34:39] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:34:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273784507054686208,"km_value":273784507054686.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:34:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8522569739395045376,"description":"Unknown IO ID 45"} 
[2026-04-17 03:34:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752505600001,"power":27267,"unknown_188":206,"unknown_79":47616,"ignition":28,"odometer":null,"unknown_45":8522569739395045376}} 
[2026-04-17 03:34:39] local.INFO: DEBUG: GPS processor result {"connection_id":45540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:34:39] local.INFO: GPS data processed {"connection_id":45540,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:34:39] local.INFO: Acknowledgment sent {"connection_id":45540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:34:52] local.INFO: TCP Data received {"connection_id":45541,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:34:52] local.INFO: Processing buffer {"connection_id":45541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:34:52] local.INFO: IMEI packet received {"connection_id":45541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":45541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:35:04] local.INFO: TCP Data received {"connection_id":45541,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:35:04] local.INFO: Processing buffer {"connection_id":45541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:35:04] local.INFO: IMEI packet received {"connection_id":45541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":45541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:35:05] local.INFO: TCP Data received {"connection_id":45744,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:35:05] local.INFO: Processing buffer {"connection_id":45744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:35:05] local.INFO: IMEI packet received {"connection_id":45744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":45744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:35:10] local.INFO: TCP Data received {"connection_id":45541,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9851a220012d76538006021e980007005d32..."} 
[2026-04-17 03:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9851a220012d76538006021e980007005d32..."} 
[2026-04-17 03:35:10] local.INFO: Processing buffer {"connection_id":45541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9851a220012d76538006021e980007005d32..."} 
[2026-04-17 03:35:10] local.INFO: Packet analysis {"connection_id":45541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9851"} 
[2026-04-17 03:35:10] local.INFO: Extracted packet for processing {"connection_id":45541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9851"} 
[2026-04-17 03:35:10] local.INFO: GPS Element Parsed {"raw_longitude":762729344,"raw_latitude":100802200,"longitude_deg":76.2729344,"latitude_deg":10.08022,"altitude":7,"angle":93,"satellites":50,"speed":30,"hex_longitude":"2d765380","hex_latitude":"06021e98","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:35:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752506368001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:35:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273784580069130240,"note":"Value kept but may cause issues"} 
[2026-04-17 03:35:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8524680801720170496,"note":"Value kept but may cause issues"} 
[2026-04-17 03:35:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:35:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776376980000,"timestamp_ms":1776376980000,"timestamp_seconds":1776376980,"priority":1,"record_length":96,"hex_timestamp":"0000019d9851a220"} 
[2026-04-17 03:35:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:35:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 03:35:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:35:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:35:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:35:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:35:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:35:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:35:10] 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-04-17 03:35:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:35:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:35:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752506368001,"66":27463,"188":206,"79":47616,"24":30,"16":273784580069130240,"45":8524680801720170496},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-04-17 03:35:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:35:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:35:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752506368001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:35:10] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-04-17 03:35:10] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:35:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273784580069130240,"km_value":273784580069130.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:35:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8524680801720170496,"description":"Unknown IO ID 45"} 
[2026-04-17 03:35:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752506368001,"power":27463,"unknown_188":206,"unknown_79":47616,"ignition":30,"odometer":null,"unknown_45":8524680801720170496}} 
[2026-04-17 03:35:10] local.INFO: DEBUG: GPS processor result {"connection_id":45541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:35:10] local.INFO: GPS data processed {"connection_id":45541,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:35:10] local.INFO: Acknowledgment sent {"connection_id":45541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:35:11] local.INFO: TCP Data received {"connection_id":45744,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:35:11] local.INFO: Processing buffer {"connection_id":45744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:35:11] local.INFO: IMEI packet received {"connection_id":45744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":45744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:35:11] local.INFO: TCP Data received {"connection_id":45541,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9851a9f0012d76598006021da00007006b32..."} 
[2026-04-17 03:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9851a9f0012d76598006021da00007006b32..."} 
[2026-04-17 03:35:11] local.INFO: Processing buffer {"connection_id":45541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9851a9f0012d76598006021da00007006b32..."} 
[2026-04-17 03:35:11] local.INFO: Packet analysis {"connection_id":45541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9851"} 
[2026-04-17 03:35:11] local.INFO: Extracted packet for processing {"connection_id":45541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9851"} 
[2026-04-17 03:35:11] local.INFO: GPS Element Parsed {"raw_longitude":762730880,"raw_latitude":100801952,"longitude_deg":76.273088,"latitude_deg":10.0801952,"altitude":7,"angle":107,"satellites":50,"speed":30,"hex_longitude":"2d765980","hex_latitude":"06021da0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752506880001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273784653083574272,"note":"Value kept but may cause issues"} 
[2026-04-17 03:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8526299282836199424,"note":"Value kept but may cause issues"} 
[2026-04-17 03:35:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,188,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776376982000,"timestamp_ms":1776376982000,"timestamp_seconds":1776376982,"priority":1,"record_length":96,"hex_timestamp":"0000019d9851a9f0"} 
[2026-04-17 03:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:35: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-04-17 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 03:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752506880001,"66":27332,"188":206,"79":47616,"24":30,"16":273784653083574272,"45":8526299282836199424},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,188,79,24,16,45]} 
[2026-04-17 03:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752506880001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:35:11] local.INFO: Unknown IO ID detected {"io_id":188,"value":206,"description":"Unknown IO ID 188"} 
[2026-04-17 03:35:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":47616,"description":"Unknown IO ID 79"} 
[2026-04-17 03:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273784653083574272,"km_value":273784653083574.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:35:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8526299282836199424,"description":"Unknown IO ID 45"} 
[2026-04-17 03:35:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752506880001,"power":27332,"unknown_188":206,"unknown_79":47616,"ignition":30,"odometer":null,"unknown_45":8526299282836199424}} 
[2026-04-17 03:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":45541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:35:11] local.INFO: GPS data processed {"connection_id":45541,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:35:11] local.INFO: Acknowledgment sent {"connection_id":45541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:35:12] local.INFO: TCP Data received {"connection_id":45744,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98504a60012d0ca14006eb7ba80012008233..."} 
[2026-04-17 03:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98504a60012d0ca14006eb7ba80012008233..."} 
[2026-04-17 03:35:12] local.INFO: Processing buffer {"connection_id":45744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98504a60012d0ca14006eb7ba80012008233..."} 
[2026-04-17 03:35:12] local.INFO: Packet analysis {"connection_id":45744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9850"} 
[2026-04-17 03:35:12] local.INFO: Extracted packet for processing {"connection_id":45744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9850"} 
[2026-04-17 03:35:12] local.INFO: GPS Element Parsed {"raw_longitude":755802432,"raw_latitude":116095912,"longitude_deg":75.5802432,"latitude_deg":11.6095912,"altitude":18,"angle":130,"satellites":51,"speed":31,"hex_longitude":"2d0ca140","hex_latitude":"06eb7ba8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752478976001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":897412624221321216,"note":"Value kept but may cause issues"} 
[2026-04-17 03:35:12] 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-04-17 03:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776376892000,"timestamp_ms":1776376892000,"timestamp_seconds":1776376892,"priority":1,"record_length":96,"hex_timestamp":"0000019d98504a60"} 
[2026-04-17 03:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:35: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-04-17 03: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":109,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-17 03:35:12] 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-04-17 03: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-04-17 03:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752478976001,"66":27887,"42":206,"2":56576,"24":31,"16":106618783551979520,"45":897412624221321216},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-04-17 03:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752478976001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:35:12] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-17 03:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":897412624221321216,"description":"Unknown IO ID 45"} 
[2026-04-17 03:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752478976001,"power":27887,"unknown_42":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":897412624221321216}} 
[2026-04-17 03:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":45744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18950,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:35:12] local.INFO: GPS data processed {"connection_id":45744,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:35:12] local.INFO: Acknowledgment sent {"connection_id":45744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:35:44] local.INFO: TCP Data received {"connection_id":45744,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98509c68012d0cd80006eb57e80013007b2c..."} 
[2026-04-17 03:35:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98509c68012d0cd80006eb57e80013007b2c..."} 
[2026-04-17 03:35:44] local.INFO: Processing buffer {"connection_id":45744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98509c68012d0cd80006eb57e80013007b2c..."} 
[2026-04-17 03:35:44] local.INFO: Packet analysis {"connection_id":45744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9850"} 
[2026-04-17 03:35:44] local.INFO: Extracted packet for processing {"connection_id":45744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9850"} 
[2026-04-17 03:35:44] local.INFO: GPS Element Parsed {"raw_longitude":755816448,"raw_latitude":116086760,"longitude_deg":75.5816448,"latitude_deg":11.608676,"altitude":19,"angle":123,"satellites":44,"speed":30,"hex_longitude":"2d0cd800","hex_latitude":"06eb57e8","is_valid_coordinates":true} 
[2026-04-17 03:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:35:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752484352001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:35:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:35:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":910078998170281984,"note":"Value kept but may cause issues"} 
[2026-04-17 03:35:44] 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-04-17 03:35:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776376913000,"timestamp_ms":1776376913000,"timestamp_seconds":1776376913,"priority":1,"record_length":96,"hex_timestamp":"0000019d98509c68"} 
[2026-04-17 03:35:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:35:44] 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-04-17 03:35:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 03:35: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-04-17 03:35:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:35:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:35:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:35:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:35:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:35:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:35:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:35:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:35:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:35:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752484352001,"66":28017,"42":206,"2":56576,"24":30,"16":106618783551979520,"45":910078998170281984},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-04-17 03:35:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:35:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:35:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752484352001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:35:44] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-17 03:35:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:35:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":910078998170281984,"description":"Unknown IO ID 45"} 
[2026-04-17 03:35:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752484352001,"power":28017,"unknown_42":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":910078998170281984}} 
[2026-04-17 03:35:44] local.INFO: DEBUG: GPS processor result {"connection_id":45744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18951,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:35:44] local.INFO: GPS data processed {"connection_id":45744,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:35:44] local.INFO: Acknowledgment sent {"connection_id":45744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:35:49] local.INFO: TCP Data received {"connection_id":46299,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:35:49] local.INFO: Processing buffer {"connection_id":46299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:35:49] local.INFO: IMEI packet received {"connection_id":46299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":46299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:35:52] local.INFO: TCP Data received {"connection_id":46299,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:35:52] local.INFO: Processing buffer {"connection_id":46299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:35:52] local.INFO: IMEI packet received {"connection_id":46299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":46299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:35:56] local.INFO: TCP Data received {"connection_id":46299,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46299,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:35:56] local.INFO: Processing buffer {"connection_id":46299,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:35:56] local.INFO: IMEI packet received {"connection_id":46299,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":46299,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:35:57] local.INFO: TCP Data received {"connection_id":46299,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d985320f0012d776e00060125c8000e008331..."} 
[2026-04-17 03:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985320f0012d776e00060125c8000e008331..."} 
[2026-04-17 03:35:57] local.INFO: Processing buffer {"connection_id":46299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985320f0012d776e00060125c8000e008331..."} 
[2026-04-17 03:35:57] local.INFO: Packet analysis {"connection_id":46299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9853"} 
[2026-04-17 03:35:57] local.INFO: Extracted packet for processing {"connection_id":46299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9853"} 
[2026-04-17 03:35:57] local.INFO: GPS Element Parsed {"raw_longitude":762801664,"raw_latitude":100738504,"longitude_deg":76.2801664,"latitude_deg":10.0738504,"altitude":14,"angle":131,"satellites":49,"speed":41,"hex_longitude":"2d776e00","hex_latitude":"060125c8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752529664001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273789227223744512,"note":"Value kept but may cause issues"} 
[2026-04-17 03:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8598216139371061248,"note":"Value kept but may cause issues"} 
[2026-04-17 03:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776377078000,"timestamp_ms":1776377078000,"timestamp_seconds":1776377078,"priority":1,"record_length":96,"hex_timestamp":"0000019d985320f0"} 
[2026-04-17 03:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:35: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-04-17 03:35:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:35:57] 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-04-17 03:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752529664001,"66":27397,"117":206,"87":10752,"24":41,"16":273789227223744512,"45":8598216139371061248},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-04-17 03:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752529664001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:35:57] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-17 03:35:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273789227223744512,"km_value":273789227223744.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8598216139371061248,"description":"Unknown IO ID 45"} 
[2026-04-17 03:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752529664001,"power":27397,"unknown_117":206,"unknown_87":10752,"ignition":41,"odometer":null,"unknown_45":8598216139371061248}} 
[2026-04-17 03:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":46299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:35:57] local.INFO: GPS data processed {"connection_id":46299,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:35:57] local.INFO: Acknowledgment sent {"connection_id":46299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:36:05] local.INFO: TCP Data received {"connection_id":45481,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:36:05] local.INFO: Processing buffer {"connection_id":45481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:36:05] local.INFO: IMEI packet received {"connection_id":45481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":45481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:36:11] local.INFO: TCP Data received {"connection_id":45481,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45481,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:36:11] local.INFO: Processing buffer {"connection_id":45481,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:36:11] local.INFO: IMEI packet received {"connection_id":45481,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":45481,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:36:12] local.INFO: TCP Data received {"connection_id":45481,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9850ee70012d0d070006eb3400000e008235..."} 
[2026-04-17 03:36:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9850ee70012d0d070006eb3400000e008235..."} 
[2026-04-17 03:36:12] local.INFO: Processing buffer {"connection_id":45481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9850ee70012d0d070006eb3400000e008235..."} 
[2026-04-17 03:36:12] local.INFO: Packet analysis {"connection_id":45481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9850"} 
[2026-04-17 03:36:12] local.INFO: Extracted packet for processing {"connection_id":45481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9850"} 
[2026-04-17 03:36:12] local.INFO: GPS Element Parsed {"raw_longitude":755828480,"raw_latitude":116077568,"longitude_deg":75.582848,"latitude_deg":11.6077568,"altitude":14,"angle":130,"satellites":53,"speed":0,"hex_longitude":"2d0d0700","hex_latitude":"06eb3400","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:36:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752489728001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:36:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:36:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":925489753142847488,"note":"Value kept but may cause issues"} 
[2026-04-17 03:36:12] 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-04-17 03:36:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776376934000,"timestamp_ms":1776376934000,"timestamp_seconds":1776376934,"priority":1,"record_length":96,"hex_timestamp":"0000019d9850ee70"} 
[2026-04-17 03:36:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:36: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-04-17 03: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":109,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-17 03:36:12] 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-04-17 03: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-04-17 03:36:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:36:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:36:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:36:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:36:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:36:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:36:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:36:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:36:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752489728001,"66":27789,"42":206,"2":56576,"24":0,"16":106618783551979520,"45":925489753142847488},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,2,24,16,45]} 
[2026-04-17 03:36:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:36:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:36:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752489728001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:36:12] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-17 03:36:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:36:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":925489753142847488,"description":"Unknown IO ID 45"} 
[2026-04-17 03:36:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752489728001,"power":27789,"unknown_42":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":925489753142847488}} 
[2026-04-17 03:36:12] local.INFO: DEBUG: GPS processor result {"connection_id":45481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18953,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:36:12] local.INFO: GPS data processed {"connection_id":45481,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:36:12] local.INFO: Acknowledgment sent {"connection_id":45481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:36:28] local.INFO: TCP Data received {"connection_id":46299,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98534418012d778b0006010c50000e008331..."} 
[2026-04-17 03:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98534418012d778b0006010c50000e008331..."} 
[2026-04-17 03:36:28] local.INFO: Processing buffer {"connection_id":46299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98534418012d778b0006010c50000e008331..."} 
[2026-04-17 03:36:28] local.INFO: Packet analysis {"connection_id":46299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9853"} 
[2026-04-17 03:36:28] local.INFO: Extracted packet for processing {"connection_id":46299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9853"} 
[2026-04-17 03:36:28] local.INFO: GPS Element Parsed {"raw_longitude":762809088,"raw_latitude":100731984,"longitude_deg":76.2809088,"latitude_deg":10.0731984,"altitude":14,"angle":131,"satellites":49,"speed":45,"hex_longitude":"2d778b00","hex_latitude":"06010c50","is_valid_coordinates":true} 
[2026-04-17 03:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752531968001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273789703965114368,"note":"Value kept but may cause issues"} 
[2026-04-17 03:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8605815963740653568,"note":"Value kept but may cause issues"} 
[2026-04-17 03:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,117,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776377087000,"timestamp_ms":1776377087000,"timestamp_seconds":1776377087,"priority":1,"record_length":96,"hex_timestamp":"0000019d98534418"} 
[2026-04-17 03:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:36: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-04-17 03:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 03:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46299,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:36:28] 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-04-17 03:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752531968001,"66":27343,"117":206,"87":10752,"24":45,"16":273789703965114368,"45":8605815963740653568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,117,87,24,16,45]} 
[2026-04-17 03:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752531968001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:36:28] local.INFO: Unknown IO ID detected {"io_id":117,"value":206,"description":"Unknown IO ID 117"} 
[2026-04-17 03:36:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273789703965114368,"km_value":273789703965114.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8605815963740653568,"description":"Unknown IO ID 45"} 
[2026-04-17 03:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752531968001,"power":27343,"unknown_117":206,"unknown_87":10752,"ignition":45,"odometer":null,"unknown_45":8605815963740653568}} 
[2026-04-17 03:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":46299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:36:28] local.INFO: GPS data processed {"connection_id":46299,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:36:28] local.INFO: Acknowledgment sent {"connection_id":46299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:36:44] local.INFO: TCP Data received {"connection_id":45481,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98513c90012d0d404006eb19b80013006434..."} 
[2026-04-17 03:36:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98513c90012d0d404006eb19b80013006434..."} 
[2026-04-17 03:36:44] local.INFO: Processing buffer {"connection_id":45481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98513c90012d0d404006eb19b80013006434..."} 
[2026-04-17 03:36:44] local.INFO: Packet analysis {"connection_id":45481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9851"} 
[2026-04-17 03:36:44] local.INFO: Extracted packet for processing {"connection_id":45481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9851"} 
[2026-04-17 03:36:44] local.INFO: GPS Element Parsed {"raw_longitude":755843136,"raw_latitude":116070840,"longitude_deg":75.5843136,"latitude_deg":11.607084,"altitude":19,"angle":100,"satellites":52,"speed":20,"hex_longitude":"2d0d4040","hex_latitude":"06eb19b8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:36:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752495104001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:36:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:36:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":938719077045895168,"note":"Value kept but may cause issues"} 
[2026-04-17 03:36:44] 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-04-17 03:36:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776376954000,"timestamp_ms":1776376954000,"timestamp_seconds":1776376954,"priority":1,"record_length":96,"hex_timestamp":"0000019d98513c90"} 
[2026-04-17 03:36:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:36:44] 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-04-17 03: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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-17 03:36:44] 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-04-17 03: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-04-17 03:36:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:36:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:36:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:36:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:36:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45481,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:36:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:36:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:36:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:36:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752495104001,"66":27974,"40":206,"2":56576,"24":20,"16":106618783551979520,"45":938719077045895168},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,2,24,16,45]} 
[2026-04-17 03:36:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:36:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:36:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752495104001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:36:44] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-04-17 03:36:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:36:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":938719077045895168,"description":"Unknown IO ID 45"} 
[2026-04-17 03:36:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752495104001,"power":27974,"unknown_40":206,"power_alt":56576,"ignition":20,"odometer":null,"unknown_45":938719077045895168}} 
[2026-04-17 03:36:44] local.INFO: DEBUG: GPS processor result {"connection_id":45481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18955,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:36:44] local.INFO: GPS data processed {"connection_id":45481,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:36:44] local.INFO: Acknowledgment sent {"connection_id":45481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:36:52] local.INFO: TCP Data received {"connection_id":45745,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:36:52] local.INFO: Processing buffer {"connection_id":45745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:36:52] local.INFO: IMEI packet received {"connection_id":45745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":45745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:36:57] local.INFO: TCP Data received {"connection_id":45745,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45745,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:36:57] local.INFO: Processing buffer {"connection_id":45745,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:36:57] local.INFO: IMEI packet received {"connection_id":45745,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":45745,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:36:58] local.INFO: TCP Data received {"connection_id":45745,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98545588012d78754006001c380002009f31..."} 
[2026-04-17 03:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98545588012d78754006001c380002009f31..."} 
[2026-04-17 03:36:58] local.INFO: Processing buffer {"connection_id":45745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98545588012d78754006001c380002009f31..."} 
[2026-04-17 03:36:58] local.INFO: Packet analysis {"connection_id":45745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9854"} 
[2026-04-17 03:36:58] local.INFO: Extracted packet for processing {"connection_id":45745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9854"} 
[2026-04-17 03:36:58] local.INFO: GPS Element Parsed {"raw_longitude":762869056,"raw_latitude":100670520,"longitude_deg":76.2869056,"latitude_deg":10.067052,"altitude":2,"angle":159,"satellites":49,"speed":23,"hex_longitude":"2d787540","hex_latitude":"06001c38","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752551424001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273793895853195264,"note":"Value kept but may cause issues"} 
[2026-04-17 03:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8679562407621877760,"note":"Value kept but may cause issues"} 
[2026-04-17 03:36:58] 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-04-17 03:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776377157000,"timestamp_ms":1776377157000,"timestamp_seconds":1776377157,"priority":1,"record_length":96,"hex_timestamp":"0000019d98545588"} 
[2026-04-17 03:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:36: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-04-17 03:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 03:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:36:58] 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-04-17 03:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752551424001,"66":27343,"216":206,"87":10752,"24":23,"16":273793895853195264,"45":8679562407621877760},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-04-17 03:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752551424001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:36:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 03:36:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273793895853195264,"km_value":273793895853195.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8679562407621877760,"description":"Unknown IO ID 45"} 
[2026-04-17 03:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752551424001,"power":27343,"unknown_216":206,"unknown_87":10752,"ignition":23,"odometer":null,"unknown_45":8679562407621877760}} 
[2026-04-17 03:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":45745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:36:58] local.INFO: GPS data processed {"connection_id":45745,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:36:58] local.INFO: Acknowledgment sent {"connection_id":45745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:37:17] local.INFO: TCP Data received {"connection_id":45542,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:37:17] local.INFO: Processing buffer {"connection_id":45542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:37:17] local.INFO: IMEI packet received {"connection_id":45542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":45542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:37:20] local.INFO: TCP Data received {"connection_id":45542,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45542,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:37:20] local.INFO: Processing buffer {"connection_id":45542,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:37:20] local.INFO: IMEI packet received {"connection_id":45542,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":45542,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:37:29] local.INFO: TCP Data received {"connection_id":45745,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98546910012d787940060013300004009232..."} 
[2026-04-17 03:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98546910012d787940060013300004009232..."} 
[2026-04-17 03:37:29] local.INFO: Processing buffer {"connection_id":45745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98546910012d787940060013300004009232..."} 
[2026-04-17 03:37:29] local.INFO: Packet analysis {"connection_id":45745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9854"} 
[2026-04-17 03:37:29] local.INFO: Extracted packet for processing {"connection_id":45745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9854"} 
[2026-04-17 03:37:29] local.INFO: GPS Element Parsed {"raw_longitude":762870080,"raw_latitude":100668208,"longitude_deg":76.287008,"latitude_deg":10.0668208,"altitude":4,"angle":146,"satellites":50,"speed":16,"hex_longitude":"2d787940","hex_latitude":"06001330","is_valid_coordinates":true} 
[2026-04-17 03:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752552192001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273794020407246848,"note":"Value kept but may cause issues"} 
[2026-04-17 03:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8679914251342329856,"note":"Value kept but may cause issues"} 
[2026-04-17 03:37:29] 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-04-17 03:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776377162000,"timestamp_ms":1776377162000,"timestamp_seconds":1776377162,"priority":1,"record_length":96,"hex_timestamp":"0000019d98546910"} 
[2026-04-17 03:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:37: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-04-17 03:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:37: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-04-17 03:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45745,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03: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-04-17 03:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752552192001,"66":27484,"216":206,"87":10752,"24":16,"16":273794020407246848,"45":8679914251342329856},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,87,24,16,45]} 
[2026-04-17 03:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752552192001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:37:29] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 03:37:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273794020407246848,"km_value":273794020407246.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8679914251342329856,"description":"Unknown IO ID 45"} 
[2026-04-17 03:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752552192001,"power":27484,"unknown_216":206,"unknown_87":10752,"ignition":16,"odometer":null,"unknown_45":8679914251342329856}} 
[2026-04-17 03:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":45745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:37:29] local.INFO: GPS data processed {"connection_id":45745,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:37:29] local.INFO: Acknowledgment sent {"connection_id":45745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:37:52] local.INFO: TCP Data received {"connection_id":46300,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:37:52] local.INFO: Processing buffer {"connection_id":46300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:37:52] local.INFO: IMEI packet received {"connection_id":46300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":46300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:37:53] local.INFO: TCP Data received {"connection_id":46300,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:37:53] local.INFO: Processing buffer {"connection_id":46300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:37:53] local.INFO: IMEI packet received {"connection_id":46300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":46300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:37:54] local.INFO: TCP Data received {"connection_id":46300,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:37:54] local.INFO: Processing buffer {"connection_id":46300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:37:54] local.INFO: IMEI packet received {"connection_id":46300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":46300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:37:55] local.INFO: TCP Data received {"connection_id":46300,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46300,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:37:55] local.INFO: Processing buffer {"connection_id":46300,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:37:55] local.INFO: IMEI packet received {"connection_id":46300,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":46300,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:37:55] local.INFO: TCP Data received {"connection_id":46300,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d985572b0012d78ba0005ff53980003007a30..."} 
[2026-04-17 03:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985572b0012d78ba0005ff53980003007a30..."} 
[2026-04-17 03:37:55] local.INFO: Processing buffer {"connection_id":46300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985572b0012d78ba0005ff53980003007a30..."} 
[2026-04-17 03:37:55] local.INFO: Packet analysis {"connection_id":46300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9855"} 
[2026-04-17 03:37:55] local.INFO: Extracted packet for processing {"connection_id":46300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9855"} 
[2026-04-17 03:37:55] local.INFO: GPS Element Parsed {"raw_longitude":762886656,"raw_latitude":100619160,"longitude_deg":76.2886656,"latitude_deg":10.061916,"altitude":3,"angle":122,"satellites":48,"speed":25,"hex_longitude":"2d78ba00","hex_latitude":"05ff5398","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752570368001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273796584502722560,"note":"Value kept but may cause issues"} 
[2026-04-17 03:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698210124815583232,"note":"Value kept but may cause issues"} 
[2026-04-17 03:37:55] 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-04-17 03:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776377230000,"timestamp_ms":1776377230000,"timestamp_seconds":1776377230,"priority":1,"record_length":96,"hex_timestamp":"0000019d985572b0"} 
[2026-04-17 03:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:37: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-04-17 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 03:37:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:37:55] 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-04-17 03:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752570368001,"66":27017,"155":206,"87":10752,"24":25,"16":273796584502722560,"45":8698210124815583232},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-04-17 03:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752570368001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:37:55] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-17 03:37:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273796584502722560,"km_value":273796584502722.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698210124815583232,"description":"Unknown IO ID 45"} 
[2026-04-17 03:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752570368001,"power":27017,"unknown_155":206,"unknown_87":10752,"ignition":25,"odometer":null,"unknown_45":8698210124815583232}} 
[2026-04-17 03:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":46300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:37:55] local.INFO: GPS data processed {"connection_id":46300,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:37:55] local.INFO: Acknowledgment sent {"connection_id":46300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:38:07] local.INFO: TCP Data received {"connection_id":45542,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d985451a0012d0ea44006e9f5980010008433..."} 
[2026-04-17 03:38:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985451a0012d0ea44006e9f5980010008433..."} 
[2026-04-17 03:38:07] local.INFO: Processing buffer {"connection_id":45542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985451a0012d0ea44006e9f5980010008433..."} 
[2026-04-17 03:38:07] local.INFO: Packet analysis {"connection_id":45542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9854"} 
[2026-04-17 03:38:07] local.INFO: Extracted packet for processing {"connection_id":45542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9854"} 
[2026-04-17 03:38:07] local.INFO: GPS Element Parsed {"raw_longitude":755934272,"raw_latitude":115996056,"longitude_deg":75.5934272,"latitude_deg":11.5996056,"altitude":16,"angle":132,"satellites":51,"speed":19,"hex_longitude":"2d0ea440","hex_latitude":"06e9f598","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:38:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752549120001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:38:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:38:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046875836828907520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:38:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:38:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776377156000,"timestamp_ms":1776377156000,"timestamp_seconds":1776377156,"priority":1,"record_length":96,"hex_timestamp":"0000019d985451a0"} 
[2026-04-17 03:38:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:38:07] 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-04-17 03: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":26,"data_length":795,"current_offset":136} 
[2026-04-17 03:38: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-04-17 03: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-04-17 03:38:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:38:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:38:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:38:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:38:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45542,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:38:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:38:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:38:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:38:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752549120001,"66":27984,"70":206,"2":56576,"24":19,"16":106618783551979520,"45":1046875836828907520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,2,24,16,45]} 
[2026-04-17 03:38:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:38:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:38:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752549120001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:38:07] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 03:38:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:38:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1046875836828907520,"description":"Unknown IO ID 45"} 
[2026-04-17 03:38:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752549120001,"power":27984,"unknown_70":206,"power_alt":56576,"ignition":19,"odometer":null,"unknown_45":1046875836828907520}} 
[2026-04-17 03:38:07] local.INFO: DEBUG: GPS processor result {"connection_id":45542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18959,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:38:07] local.INFO: GPS data processed {"connection_id":45542,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:38:07] local.INFO: Acknowledgment sent {"connection_id":45542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:38:10] local.INFO: TCP Data received {"connection_id":46301,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:38:10] local.INFO: Processing buffer {"connection_id":46301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:38:10] local.INFO: IMEI packet received {"connection_id":46301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":46301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:38:16] local.INFO: TCP Data received {"connection_id":46301,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46301,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:38:16] local.INFO: Processing buffer {"connection_id":46301,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:38:16] local.INFO: IMEI packet received {"connection_id":46301,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:38:16] local.INFO: IMEI acknowledgment sent {"connection_id":46301,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:38:17] local.INFO: TCP Data received {"connection_id":46301,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9854b348012d0ec50006e9c608000e008e35..."} 
[2026-04-17 03:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9854b348012d0ec50006e9c608000e008e35..."} 
[2026-04-17 03:38:17] local.INFO: Processing buffer {"connection_id":46301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9854b348012d0ec50006e9c608000e008e35..."} 
[2026-04-17 03:38:17] local.INFO: Packet analysis {"connection_id":46301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9854"} 
[2026-04-17 03:38:17] local.INFO: Extracted packet for processing {"connection_id":46301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9854"} 
[2026-04-17 03:38:17] local.INFO: GPS Element Parsed {"raw_longitude":755942656,"raw_latitude":115983880,"longitude_deg":75.5942656,"latitude_deg":11.598388,"altitude":14,"angle":142,"satellites":53,"speed":25,"hex_longitude":"2d0ec500","hex_latitude":"06e9c608","is_valid_coordinates":true} 
[2026-04-17 03:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:38:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,70,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776377181000,"timestamp_ms":1776377181000,"timestamp_seconds":1776377181,"priority":1,"record_length":96,"hex_timestamp":"0000019d9854b348"} 
[2026-04-17 03:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:38:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 03:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27604,"70":206,"2":56576,"24":25,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,2,24,16]} 
[2026-04-17 03:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:38:17] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 03:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:38:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27604,"unknown_70":206,"power_alt":56576,"ignition":25,"odometer":null}} 
[2026-04-17 03:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":46301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18960,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:38:17] local.INFO: GPS data processed {"connection_id":46301,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:38:17] local.INFO: Acknowledgment sent {"connection_id":46301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:38:27] local.INFO: TCP Data received {"connection_id":46300,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98558638012d78c4c005ff4df80006008830..."} 
[2026-04-17 03:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98558638012d78c4c005ff4df80006008830..."} 
[2026-04-17 03:38:27] local.INFO: Processing buffer {"connection_id":46300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98558638012d78c4c005ff4df80006008830..."} 
[2026-04-17 03:38:27] local.INFO: Packet analysis {"connection_id":46300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9855"} 
[2026-04-17 03:38:27] local.INFO: Extracted packet for processing {"connection_id":46300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9855"} 
[2026-04-17 03:38:27] local.INFO: GPS Element Parsed {"raw_longitude":762889408,"raw_latitude":100617720,"longitude_deg":76.2889408,"latitude_deg":10.061772,"altitude":6,"angle":136,"satellites":48,"speed":20,"hex_longitude":"2d78c4c0","hex_latitude":"05ff4df8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752570880001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273796734826577920,"note":"Value kept but may cause issues"} 
[2026-04-17 03:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8699265655978039296,"note":"Value kept but may cause issues"} 
[2026-04-17 03:38:27] 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-04-17 03:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776377235000,"timestamp_ms":1776377235000,"timestamp_seconds":1776377235,"priority":1,"record_length":96,"hex_timestamp":"0000019d98558638"} 
[2026-04-17 03:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":105,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-17 03:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1956,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46300,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752570880001,"66":27343,"155":206,"87":10752,"24":20,"16":273796734826577920,"45":8699265655978039296},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-04-17 03:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752570880001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:38:27] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-17 03:38:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273796734826577920,"km_value":273796734826577.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8699265655978039296,"description":"Unknown IO ID 45"} 
[2026-04-17 03:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752570880001,"power":27343,"unknown_155":206,"unknown_87":10752,"ignition":20,"odometer":null,"unknown_45":8699265655978039296}} 
[2026-04-17 03:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":46300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:38:27] local.INFO: GPS data processed {"connection_id":46300,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:38:27] local.INFO: Acknowledgment sent {"connection_id":46300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:38:49] local.INFO: TCP Data received {"connection_id":46301,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9855a5780100000000000000000000000000..."} 
[2026-04-17 03:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9855a5780100000000000000000000000000..."} 
[2026-04-17 03:38:49] local.INFO: Processing buffer {"connection_id":46301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9855a5780100000000000000000000000000..."} 
[2026-04-17 03:38:49] local.INFO: Packet analysis {"connection_id":46301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9855"} 
[2026-04-17 03:38:49] local.INFO: Extracted packet for processing {"connection_id":46301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9855"} 
[2026-04-17 03:38: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-04-17 03: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-04-17 03:38:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752558336001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:38:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:38:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1064256916634863616,"note":"Value kept but may cause issues"} 
[2026-04-17 03:38:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:38:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776377243000,"timestamp_ms":1776377243000,"timestamp_seconds":1776377243,"priority":1,"record_length":96,"hex_timestamp":"0000019d9855a578"} 
[2026-04-17 03:38:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:38: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-04-17 03: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-17 03:38:49] 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-04-17 03: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-04-17 03:38:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:38:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:38:49] local.INFO: Teltonika packet parsed successfully {"connection_id":46301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:38:49] local.INFO: Passing IMEI to GPS processor {"connection_id":46301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:38:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":46301,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:38:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:38:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:38:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:38:49] local.INFO: DEBUG: GPS processor result {"connection_id":46301,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:38:49] local.INFO: GPS data processed {"connection_id":46301,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:38:49] local.INFO: Acknowledgment sent {"connection_id":46301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:38:51] local.INFO: TCP Data received {"connection_id":45482,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:38:51] local.INFO: Processing buffer {"connection_id":45482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:38:51] local.INFO: IMEI packet received {"connection_id":45482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":45482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:38:52] local.INFO: TCP Data received {"connection_id":45482,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:38:52] local.INFO: Processing buffer {"connection_id":45482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:38:52] local.INFO: IMEI packet received {"connection_id":45482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":45482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:38:57] local.INFO: TCP Data received {"connection_id":45482,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:38:57] local.INFO: Processing buffer {"connection_id":45482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:38:57] local.INFO: IMEI packet received {"connection_id":45482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":45482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:38:58] local.INFO: TCP Data received {"connection_id":45482,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98558a20012d78c5c005ff4c680006009a31..."} 
[2026-04-17 03:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98558a20012d78c5c005ff4c680006009a31..."} 
[2026-04-17 03:38:58] local.INFO: Processing buffer {"connection_id":45482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98558a20012d78c5c005ff4c680006009a31..."} 
[2026-04-17 03:38:58] local.INFO: Packet analysis {"connection_id":45482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9855"} 
[2026-04-17 03:38:58] local.INFO: Extracted packet for processing {"connection_id":45482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9855"} 
[2026-04-17 03:38:58] local.INFO: GPS Element Parsed {"raw_longitude":762889664,"raw_latitude":100617320,"longitude_deg":76.2889664,"latitude_deg":10.061732,"altitude":6,"angle":154,"satellites":49,"speed":19,"hex_longitude":"2d78c5c0","hex_latitude":"05ff4c68","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752572160001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273796756301414400,"note":"Value kept but may cause issues"} 
[2026-04-17 03:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8702291511977310208,"note":"Value kept but may cause issues"} 
[2026-04-17 03:38: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-04-17 03:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776377236000,"timestamp_ms":1776377236000,"timestamp_seconds":1776377236,"priority":1,"record_length":96,"hex_timestamp":"0000019d98558a20"} 
[2026-04-17 03:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:38: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-04-17 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:38:58] 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-04-17 03: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-04-17 03:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:38:58] 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-04-17 03:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752572160001,"66":27343,"155":206,"87":10752,"24":19,"16":273796756301414400,"45":8702291511977310208},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,155,87,24,16,45]} 
[2026-04-17 03:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752572160001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:38:58] local.INFO: Unknown IO ID detected {"io_id":155,"value":206,"description":"Unknown IO ID 155"} 
[2026-04-17 03:38:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273796756301414400,"km_value":273796756301414.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8702291511977310208,"description":"Unknown IO ID 45"} 
[2026-04-17 03:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752572160001,"power":27343,"unknown_155":206,"unknown_87":10752,"ignition":19,"odometer":null,"unknown_45":8702291511977310208}} 
[2026-04-17 03:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":45482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:38:58] local.INFO: GPS data processed {"connection_id":45482,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:38:58] local.INFO: Acknowledgment sent {"connection_id":45482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:39:05] local.INFO: TCP Data received {"connection_id":45483,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:39:05] local.INFO: Processing buffer {"connection_id":45483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:39:05] local.INFO: IMEI packet received {"connection_id":45483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":45483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:39:11] local.INFO: TCP Data received {"connection_id":45483,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45483,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:39:11] local.INFO: Processing buffer {"connection_id":45483,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:39:11] local.INFO: IMEI packet received {"connection_id":45483,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:39:11] local.INFO: IMEI acknowledgment sent {"connection_id":45483,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:39:12] local.INFO: TCP Data received {"connection_id":45483,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98551108012d0ee08006e98e50000900a830..."} 
[2026-04-17 03:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98551108012d0ee08006e98e50000900a830..."} 
[2026-04-17 03:39:12] local.INFO: Processing buffer {"connection_id":45483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98551108012d0ee08006e98e50000900a830..."} 
[2026-04-17 03:39:12] local.INFO: Packet analysis {"connection_id":45483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9855"} 
[2026-04-17 03:39:12] local.INFO: Extracted packet for processing {"connection_id":45483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9855"} 
[2026-04-17 03:39:12] local.INFO: GPS Element Parsed {"raw_longitude":755949696,"raw_latitude":115969616,"longitude_deg":75.5949696,"latitude_deg":11.5969616,"altitude":9,"angle":168,"satellites":48,"speed":29,"hex_longitude":"2d0ee080","hex_latitude":"06e98e50","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:39:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:39:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,70,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:39:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776377205000,"timestamp_ms":1776377205000,"timestamp_seconds":1776377205,"priority":1,"record_length":96,"hex_timestamp":"0000019d98551108"} 
[2026-04-17 03:39:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:39:12] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 03:39: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-04-17 03: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-04-17 03:39:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:39:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:39:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:39:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:39:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:39:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:39:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:39:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:39:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"70":206,"2":56576,"24":29,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,2,24,16]} 
[2026-04-17 03:39:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:39:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:39:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:39:12] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 03:39:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:39:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_70":206,"power_alt":56576,"ignition":29,"odometer":null}} 
[2026-04-17 03:39:12] local.INFO: DEBUG: GPS processor result {"connection_id":45483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18963,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:39:12] local.INFO: GPS data processed {"connection_id":45483,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:39:12] local.INFO: Acknowledgment sent {"connection_id":45483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:39:29] local.INFO: TCP Data received {"connection_id":45482,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9856a748012d7940c005fe58b80004009d32..."} 
[2026-04-17 03:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9856a748012d7940c005fe58b80004009d32..."} 
[2026-04-17 03:39:29] local.INFO: Processing buffer {"connection_id":45482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9856a748012d7940c005fe58b80004009d32..."} 
[2026-04-17 03:39:29] local.INFO: Packet analysis {"connection_id":45482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9856"} 
[2026-04-17 03:39:29] local.INFO: Extracted packet for processing {"connection_id":45482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9856"} 
[2026-04-17 03:39:29] local.INFO: GPS Element Parsed {"raw_longitude":762921152,"raw_latitude":100554936,"longitude_deg":76.2921152,"latitude_deg":10.0554936,"altitude":4,"angle":157,"satellites":50,"speed":48,"hex_longitude":"2d7940c0","hex_latitude":"05fe58b8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752589056001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273800170800414720,"note":"Value kept but may cause issues"} 
[2026-04-17 03:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8733183390657497088,"note":"Value kept but may cause issues"} 
[2026-04-17 03:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776377309000,"timestamp_ms":1776377309000,"timestamp_seconds":1776377309,"priority":1,"record_length":96,"hex_timestamp":"0000019d9856a748"} 
[2026-04-17 03:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:39: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-04-17 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 03:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:39: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-04-17 03:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752589056001,"66":27376,"7":206,"87":10752,"24":48,"16":273800170800414720,"45":8733183390657497088},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,87,24,16,45]} 
[2026-04-17 03:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752589056001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:39:29] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-04-17 03:39:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273800170800414720,"km_value":273800170800414.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8733183390657497088,"description":"Unknown IO ID 45"} 
[2026-04-17 03:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752589056001,"power":27376,"unknown_7":206,"unknown_87":10752,"ignition":48,"odometer":null,"unknown_45":8733183390657497088}} 
[2026-04-17 03:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":45482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:39:29] local.INFO: GPS data processed {"connection_id":45482,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:39:29] local.INFO: Acknowledgment sent {"connection_id":45482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:39:44] local.INFO: TCP Data received {"connection_id":45483,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98556310012d0ee1c006e95668000200bf30..."} 
[2026-04-17 03:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98556310012d0ee1c006e95668000200bf30..."} 
[2026-04-17 03:39:44] local.INFO: Processing buffer {"connection_id":45483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98556310012d0ee1c006e95668000200bf30..."} 
[2026-04-17 03:39:44] local.INFO: Packet analysis {"connection_id":45483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9855"} 
[2026-04-17 03:39:44] local.INFO: Extracted packet for processing {"connection_id":45483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9855"} 
[2026-04-17 03:39:44] local.INFO: GPS Element Parsed {"raw_longitude":755950016,"raw_latitude":115955304,"longitude_deg":75.5950016,"latitude_deg":11.5955304,"altitude":2,"angle":191,"satellites":48,"speed":21,"hex_longitude":"2d0ee1c0","hex_latitude":"06e95668","is_valid_coordinates":true} 
[2026-04-17 03:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:39:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752564480001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:39:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:39:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1071997478490755072,"note":"Value kept but may cause issues"} 
[2026-04-17 03:39:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:39:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776377226000,"timestamp_ms":1776377226000,"timestamp_seconds":1776377226,"priority":1,"record_length":96,"hex_timestamp":"0000019d98556310"} 
[2026-04-17 03:39:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:39:44] 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-04-17 03:39:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 03:39:44] 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-04-17 03:39:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:39:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:39:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:39:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:39:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:39:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45483,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:39:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:39:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:39:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:39:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752564480001,"66":28028,"70":206,"2":56576,"24":21,"16":106618783551979520,"45":1071997478490755072},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,2,24,16,45]} 
[2026-04-17 03:39:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:39:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:39:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752564480001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:39:44] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 03:39:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:39:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1071997478490755072,"description":"Unknown IO ID 45"} 
[2026-04-17 03:39:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752564480001,"power":28028,"unknown_70":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":1071997478490755072}} 
[2026-04-17 03:39:44] local.INFO: DEBUG: GPS processor result {"connection_id":45483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18965,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:39:44] local.INFO: GPS data processed {"connection_id":45483,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:39:44] local.INFO: Acknowledgment sent {"connection_id":45483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:40:02] local.INFO: TCP Data received {"connection_id":46302,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:40:02] local.INFO: Processing buffer {"connection_id":46302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:40:02] local.INFO: IMEI packet received {"connection_id":46302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":46302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:40:05] local.INFO: TCP Data received {"connection_id":46302,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:40:05] local.INFO: Processing buffer {"connection_id":46302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:40:05] local.INFO: IMEI packet received {"connection_id":46302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":46302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:40:06] local.INFO: TCP Data received {"connection_id":46302,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9856c688012d794f4005fe35a80005009d2e..."} 
[2026-04-17 03:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9856c688012d794f4005fe35a80005009d2e..."} 
[2026-04-17 03:40:06] local.INFO: Processing buffer {"connection_id":46302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9856c688012d794f4005fe35a80005009d2e..."} 
[2026-04-17 03:40:06] local.INFO: Packet analysis {"connection_id":46302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9856"} 
[2026-04-17 03:40:06] local.INFO: Extracted packet for processing {"connection_id":46302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9856"} 
[2026-04-17 03:40:06] local.INFO: GPS Element Parsed {"raw_longitude":762924864,"raw_latitude":100545960,"longitude_deg":76.2924864,"latitude_deg":10.054596,"altitude":5,"angle":157,"satellites":46,"speed":48,"hex_longitude":"2d794f40","hex_latitude":"05fe35a8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752591104001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273800638951849984,"note":"Value kept but may cause issues"} 
[2026-04-17 03:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8737194409073358848,"note":"Value kept but may cause issues"} 
[2026-04-17 03:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776377317000,"timestamp_ms":1776377317000,"timestamp_seconds":1776377317,"priority":1,"record_length":96,"hex_timestamp":"0000019d9856c688"} 
[2026-04-17 03:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:40: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-04-17 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:40:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:40:06] 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-04-17 03:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752591104001,"66":27343,"7":206,"87":10752,"24":48,"16":273800638951849984,"45":8737194409073358848},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,87,24,16,45]} 
[2026-04-17 03:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752591104001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:40:06] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-04-17 03:40:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273800638951849984,"km_value":273800638951849.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8737194409073358848,"description":"Unknown IO ID 45"} 
[2026-04-17 03:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752591104001,"power":27343,"unknown_7":206,"unknown_87":10752,"ignition":48,"odometer":null,"unknown_45":8737194409073358848}} 
[2026-04-17 03:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":46302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:40:06] local.INFO: GPS data processed {"connection_id":46302,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:40:06] local.INFO: Acknowledgment sent {"connection_id":46302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:40:10] local.INFO: TCP Data received {"connection_id":45543,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:40:10] local.INFO: Processing buffer {"connection_id":45543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:40:10] local.INFO: IMEI packet received {"connection_id":45543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":45543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:40:16] local.INFO: TCP Data received {"connection_id":45543,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45543,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:40:16] local.INFO: Processing buffer {"connection_id":45543,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:40:16] local.INFO: IMEI packet received {"connection_id":45543,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:40:16] local.INFO: IMEI acknowledgment sent {"connection_id":45543,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:40:17] local.INFO: TCP Data received {"connection_id":45543,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98556310012d0ee1c006e95668000200bf30..."} 
[2026-04-17 03:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98556310012d0ee1c006e95668000200bf30..."} 
[2026-04-17 03:40:17] local.INFO: Processing buffer {"connection_id":45543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98556310012d0ee1c006e95668000200bf30..."} 
[2026-04-17 03:40:17] local.INFO: Packet analysis {"connection_id":45543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9855"} 
[2026-04-17 03:40:17] local.INFO: Extracted packet for processing {"connection_id":45543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9855"} 
[2026-04-17 03:40:17] local.INFO: GPS Element Parsed {"raw_longitude":755950016,"raw_latitude":115955304,"longitude_deg":75.5950016,"latitude_deg":11.5955304,"altitude":2,"angle":191,"satellites":48,"speed":21,"hex_longitude":"2d0ee1c0","hex_latitude":"06e95668","is_valid_coordinates":true} 
[2026-04-17 03:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:40:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752569856001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:40:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:40:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1072349322207979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:40:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,70,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:40:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776377226000,"timestamp_ms":1776377226000,"timestamp_seconds":1776377226,"priority":1,"record_length":96,"hex_timestamp":"0000019d98556310"} 
[2026-04-17 03:40:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:40:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:40:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 03:40:17] 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-04-17 03:40:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:40:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:40:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:40:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:40:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45543,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:40:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45543,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:40:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:40:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:40:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:40:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752569856001,"66":28028,"70":206,"2":56576,"24":21,"16":106618783551979520,"45":1072349322207979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,2,24,16,45]} 
[2026-04-17 03:40:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:40:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:40:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752569856001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:40:17] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 03:40:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:40:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1072349322207979520,"description":"Unknown IO ID 45"} 
[2026-04-17 03:40:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752569856001,"power":28028,"unknown_70":206,"power_alt":56576,"ignition":21,"odometer":null,"unknown_45":1072349322207979520}} 
[2026-04-17 03:40:17] local.INFO: DEBUG: GPS processor result {"connection_id":45543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18967,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:40:17] local.INFO: GPS data processed {"connection_id":45543,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:40:17] local.INFO: Acknowledgment sent {"connection_id":45543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:40:37] local.INFO: TCP Data received {"connection_id":46302,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9856e5c8012d795d8005fe13480006009c2d..."} 
[2026-04-17 03:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9856e5c8012d795d8005fe13480006009c2d..."} 
[2026-04-17 03:40:37] local.INFO: Processing buffer {"connection_id":46302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9856e5c8012d795d8005fe13480006009c2d..."} 
[2026-04-17 03:40:37] local.INFO: Packet analysis {"connection_id":46302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9856"} 
[2026-04-17 03:40:37] local.INFO: Extracted packet for processing {"connection_id":46302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9856"} 
[2026-04-17 03:40:37] local.INFO: GPS Element Parsed {"raw_longitude":762928512,"raw_latitude":100537160,"longitude_deg":76.2928512,"latitude_deg":10.053716,"altitude":6,"angle":156,"satellites":45,"speed":46,"hex_longitude":"2d795d80","hex_latitude":"05fe1348","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752593152001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273801098513350656,"note":"Value kept but may cause issues"} 
[2026-04-17 03:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8741275796233365504,"note":"Value kept but may cause issues"} 
[2026-04-17 03:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776377325000,"timestamp_ms":1776377325000,"timestamp_seconds":1776377325,"priority":1,"record_length":96,"hex_timestamp":"0000019d9856e5c8"} 
[2026-04-17 03:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:40:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:40: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-04-17 03: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-04-17 03:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:40:37] 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-04-17 03:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752593152001,"66":27343,"7":206,"87":10752,"24":46,"16":273801098513350656,"45":8741275796233365504},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,87,24,16,45]} 
[2026-04-17 03:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752593152001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:40:37] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-04-17 03:40:37] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273801098513350656,"km_value":273801098513350.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8741275796233365504,"description":"Unknown IO ID 45"} 
[2026-04-17 03:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752593152001,"power":27343,"unknown_7":206,"unknown_87":10752,"ignition":46,"odometer":null,"unknown_45":8741275796233365504}} 
[2026-04-17 03:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":46302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:40:37] local.INFO: GPS data processed {"connection_id":46302,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:40:37] local.INFO: Acknowledgment sent {"connection_id":46302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:40:49] local.INFO: TCP Data received {"connection_id":45543,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d985791a8012d0e728006e82310000700bc33..."} 
[2026-04-17 03:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985791a8012d0e728006e82310000700bc33..."} 
[2026-04-17 03:40:49] local.INFO: Processing buffer {"connection_id":45543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985791a8012d0e728006e82310000700bc33..."} 
[2026-04-17 03:40:49] local.INFO: Packet analysis {"connection_id":45543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9857"} 
[2026-04-17 03:40:49] local.INFO: Extracted packet for processing {"connection_id":45543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9857"} 
[2026-04-17 03:40:49] local.INFO: GPS Element Parsed {"raw_longitude":755921536,"raw_latitude":115876624,"longitude_deg":75.5921536,"latitude_deg":11.5876624,"altitude":7,"angle":188,"satellites":51,"speed":5,"hex_longitude":"2d0e7280","hex_latitude":"06e82310","is_valid_coordinates":true} 
[2026-04-17 03:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:40:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:40:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,218,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:40:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776377369000,"timestamp_ms":1776377369000,"timestamp_seconds":1776377369,"priority":1,"record_length":96,"hex_timestamp":"0000019d985791a8"} 
[2026-04-17 03:40:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:40:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:40:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 03:40:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:40:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:40:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:40:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:40:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:40:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45543,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:40:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45543,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:40:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:40:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:40:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:40:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"218":206,"2":56576,"24":5,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,218,2,24,16]} 
[2026-04-17 03:40:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:40:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:40:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:40:49] local.INFO: Unknown IO ID detected {"io_id":218,"value":206,"description":"Unknown IO ID 218"} 
[2026-04-17 03:40:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:40:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_218":206,"power_alt":56576,"ignition":5,"odometer":null}} 
[2026-04-17 03:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":45543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18969,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:40:50] local.INFO: GPS data processed {"connection_id":45543,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:40:50] local.INFO: Acknowledgment sent {"connection_id":45543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:41:01] local.INFO: TCP Data received {"connection_id":46303,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:41:01] local.INFO: Processing buffer {"connection_id":46303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:41:01] local.INFO: IMEI packet received {"connection_id":46303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":46303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:41:04] local.INFO: TCP Data received {"connection_id":46303,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:41:04] local.INFO: Processing buffer {"connection_id":46303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:41:04] local.INFO: IMEI packet received {"connection_id":46303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":46303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:41:05] local.INFO: TCP Data received {"connection_id":45544,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:41:05] local.INFO: Processing buffer {"connection_id":45544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:41:05] local.INFO: IMEI packet received {"connection_id":45544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":45544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:41:07] local.INFO: TCP Data received {"connection_id":46303,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:41:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:41:07] local.INFO: Processing buffer {"connection_id":46303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:41:07] local.INFO: IMEI packet received {"connection_id":46303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:41:07] local.INFO: IMEI acknowledgment sent {"connection_id":46303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:41:08] local.INFO: TCP Data received {"connection_id":45544,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:41:08] local.INFO: Processing buffer {"connection_id":45544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:41:08] local.INFO: IMEI packet received {"connection_id":45544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:41:08] local.INFO: IMEI acknowledgment sent {"connection_id":45544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:41:08] local.INFO: TCP Data received {"connection_id":46303,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98570508012d796b4005fdf2e80006009c31..."} 
[2026-04-17 03:41:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98570508012d796b4005fdf2e80006009c31..."} 
[2026-04-17 03:41:08] local.INFO: Processing buffer {"connection_id":46303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98570508012d796b4005fdf2e80006009c31..."} 
[2026-04-17 03:41:08] local.INFO: Packet analysis {"connection_id":46303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9857"} 
[2026-04-17 03:41:08] local.INFO: Extracted packet for processing {"connection_id":46303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9857"} 
[2026-04-17 03:41:08] local.INFO: GPS Element Parsed {"raw_longitude":762932032,"raw_latitude":100528872,"longitude_deg":76.2932032,"latitude_deg":10.0528872,"altitude":6,"angle":156,"satellites":49,"speed":44,"hex_longitude":"2d796b40","hex_latitude":"05fdf2e8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:41:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752595200001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:41:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273801536600014848,"note":"Value kept but may cause issues"} 
[2026-04-17 03:41:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8745286814649239552,"note":"Value kept but may cause issues"} 
[2026-04-17 03:41:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:41:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776377333000,"timestamp_ms":1776377333000,"timestamp_seconds":1776377333,"priority":1,"record_length":96,"hex_timestamp":"0000019d98570508"} 
[2026-04-17 03:41:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:41:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:41: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-04-17 03: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-04-17 03:41:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:41:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:41:08] local.INFO: Teltonika packet parsed successfully {"connection_id":46303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:41:08] local.INFO: Passing IMEI to GPS processor {"connection_id":46303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:41:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":46303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:41:08] 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-04-17 03:41:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:41:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:41:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752595200001,"66":27310,"7":206,"87":10752,"24":44,"16":273801536600014848,"45":8745286814649239552},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,87,24,16,45]} 
[2026-04-17 03:41:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:41:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:41:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752595200001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:41:08] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-04-17 03:41:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:41:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273801536600014848,"km_value":273801536600014.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:41:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8745286814649239552,"description":"Unknown IO ID 45"} 
[2026-04-17 03:41:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752595200001,"power":27310,"unknown_7":206,"unknown_87":10752,"ignition":44,"odometer":null,"unknown_45":8745286814649239552}} 
[2026-04-17 03:41:08] local.INFO: DEBUG: GPS processor result {"connection_id":46303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:41:08] local.INFO: GPS data processed {"connection_id":46303,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:41:08] local.INFO: Acknowledgment sent {"connection_id":46303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:41:11] local.INFO: TCP Data received {"connection_id":45544,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45544,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:41:11] local.INFO: Processing buffer {"connection_id":45544,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:41:11] local.INFO: IMEI packet received {"connection_id":45544,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:41:11] local.INFO: IMEI acknowledgment sent {"connection_id":45544,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:41:12] local.INFO: TCP Data received {"connection_id":46303,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98572448012d79794005fdd1f00006009e32..."} 
[2026-04-17 03:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98572448012d79794005fdd1f00006009e32..."} 
[2026-04-17 03:41:12] local.INFO: Processing buffer {"connection_id":46303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98572448012d79794005fdd1f00006009e32..."} 
[2026-04-17 03:41:12] local.INFO: Packet analysis {"connection_id":46303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9857"} 
[2026-04-17 03:41:12] local.INFO: Extracted packet for processing {"connection_id":46303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9857"} 
[2026-04-17 03:41:12] local.INFO: GPS Element Parsed {"raw_longitude":762935616,"raw_latitude":100520432,"longitude_deg":76.2935616,"latitude_deg":10.0520432,"altitude":6,"angle":158,"satellites":50,"speed":46,"hex_longitude":"2d797940","hex_latitude":"05fdd1f0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752597248001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273801978981646336,"note":"Value kept but may cause issues"} 
[2026-04-17 03:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8749157095576889344,"note":"Value kept but may cause issues"} 
[2026-04-17 03:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,7,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776377341000,"timestamp_ms":1776377341000,"timestamp_seconds":1776377341,"priority":1,"record_length":96,"hex_timestamp":"0000019d98572448"} 
[2026-04-17 03:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 03:41:12] 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-04-17 03: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-04-17 03:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752597248001,"66":27267,"7":206,"87":10752,"24":46,"16":273801978981646336,"45":8749157095576889344},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,7,87,24,16,45]} 
[2026-04-17 03:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752597248001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:41:12] local.INFO: Unknown IO ID detected {"io_id":7,"value":206,"description":"Unknown IO ID 7"} 
[2026-04-17 03:41:12] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273801978981646336,"km_value":273801978981646.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":8749157095576889344,"description":"Unknown IO ID 45"} 
[2026-04-17 03:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752597248001,"power":27267,"unknown_7":206,"unknown_87":10752,"ignition":46,"odometer":null,"unknown_45":8749157095576889344}} 
[2026-04-17 03:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":46303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:41:12] local.INFO: GPS data processed {"connection_id":46303,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:41:12] local.INFO: Acknowledgment sent {"connection_id":46303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:41:13] local.INFO: TCP Data received {"connection_id":45544,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9857e3b0012d0e728006e82310000700bc33..."} 
[2026-04-17 03:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9857e3b0012d0e728006e82310000700bc33..."} 
[2026-04-17 03:41:13] local.INFO: Processing buffer {"connection_id":45544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9857e3b0012d0e728006e82310000700bc33..."} 
[2026-04-17 03:41:13] local.INFO: Packet analysis {"connection_id":45544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9857"} 
[2026-04-17 03:41:13] local.INFO: Extracted packet for processing {"connection_id":45544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9857"} 
[2026-04-17 03:41:13] local.INFO: GPS Element Parsed {"raw_longitude":755921536,"raw_latitude":115876624,"longitude_deg":75.5921536,"latitude_deg":11.5876624,"altitude":7,"angle":188,"satellites":51,"speed":0,"hex_longitude":"2d0e7280","hex_latitude":"06e82310","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752606464001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1041035231028776960,"note":"Value kept but may cause issues"} 
[2026-04-17 03:41:13] 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-04-17 03:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776377390000,"timestamp_ms":1776377390000,"timestamp_seconds":1776377390,"priority":1,"record_length":96,"hex_timestamp":"0000019d9857e3b0"} 
[2026-04-17 03:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 03:41:13] 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-04-17 03: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-04-17 03:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752606464001,"66":28071,"217":206,"2":56576,"24":0,"16":106618783551979520,"45":1041035231028776960},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-04-17 03:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752606464001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:41:13] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 03:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1041035231028776960,"description":"Unknown IO ID 45"} 
[2026-04-17 03:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752606464001,"power":28071,"unknown_217":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1041035231028776960}} 
[2026-04-17 03:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":45544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18972,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:41:13] local.INFO: GPS data processed {"connection_id":45544,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:41:13] local.INFO: Acknowledgment sent {"connection_id":45544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:41:14] local.INFO: TCP Data received {"connection_id":45544,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98582de8012d0e7d4006e7f1000006008b33..."} 
[2026-04-17 03:41:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98582de8012d0e7d4006e7f1000006008b33..."} 
[2026-04-17 03:41:14] local.INFO: Processing buffer {"connection_id":45544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98582de8012d0e7d4006e7f1000006008b33..."} 
[2026-04-17 03:41:14] local.INFO: Packet analysis {"connection_id":45544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9858"} 
[2026-04-17 03:41:14] local.INFO: Extracted packet for processing {"connection_id":45544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9858"} 
[2026-04-17 03:41:14] local.INFO: GPS Element Parsed {"raw_longitude":755924288,"raw_latitude":115863808,"longitude_deg":75.5924288,"latitude_deg":11.5863808,"altitude":6,"angle":139,"satellites":51,"speed":26,"hex_longitude":"2d0e7d40","hex_latitude":"06e7f100","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:41:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752611840001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:41:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:41:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1041035231028776960,"note":"Value kept but may cause issues"} 
[2026-04-17 03:41:14] 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-04-17 03:41:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776377409000,"timestamp_ms":1776377409000,"timestamp_seconds":1776377409,"priority":1,"record_length":96,"hex_timestamp":"0000019d98582de8"} 
[2026-04-17 03:41:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:41: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-04-17 03: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":109,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-17 03:41:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2246,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:41:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:41:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:41:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:41:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:41:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:41:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:41:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:41:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:41:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752611840001,"66":27887,"217":206,"2":56576,"24":26,"16":106618783551979520,"45":1041035231028776960},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16,45]} 
[2026-04-17 03:41:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:41:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:41:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752611840001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:41:14] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 03:41:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:41:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1041035231028776960,"description":"Unknown IO ID 45"} 
[2026-04-17 03:41:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752611840001,"power":27887,"unknown_217":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":1041035231028776960}} 
[2026-04-17 03:41:14] local.INFO: DEBUG: GPS processor result {"connection_id":45544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18973,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:41:14] local.INFO: GPS data processed {"connection_id":45544,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:41:14] local.INFO: Acknowledgment sent {"connection_id":45544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:41:45] local.INFO: TCP Data received {"connection_id":45544,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98592fb80100000000000000000000000000..."} 
[2026-04-17 03:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98592fb80100000000000000000000000000..."} 
[2026-04-17 03:41:45] local.INFO: Processing buffer {"connection_id":45544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98592fb80100000000000000000000000000..."} 
[2026-04-17 03:41:45] local.INFO: Packet analysis {"connection_id":45544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9859"} 
[2026-04-17 03:41:45] local.INFO: Extracted packet for processing {"connection_id":45544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9859"} 
[2026-04-17 03:41: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-04-17 03: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-04-17 03:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752616704001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1044061087025135616,"note":"Value kept but may cause issues"} 
[2026-04-17 03:41:45] 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-04-17 03:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776377475000,"timestamp_ms":1776377475000,"timestamp_seconds":1776377475,"priority":1,"record_length":96,"hex_timestamp":"0000019d98592fb8"} 
[2026-04-17 03:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:41: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-04-17 03:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 03:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2889,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45544,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":45544,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:41:45] local.INFO: GPS data processed {"connection_id":45544,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:41:45] local.INFO: Acknowledgment sent {"connection_id":45544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:41:57] local.INFO: TCP Data received {"connection_id":45484,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:41:57] local.INFO: Processing buffer {"connection_id":45484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:41:57] local.INFO: IMEI packet received {"connection_id":45484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":45484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:42:02] local.INFO: TCP Data received {"connection_id":45484,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:42:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45484,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:42:02] local.INFO: Processing buffer {"connection_id":45484,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:42:02] local.INFO: IMEI packet received {"connection_id":45484,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:42:02] local.INFO: IMEI acknowledgment sent {"connection_id":45484,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:42:03] local.INFO: TCP Data received {"connection_id":45484,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9858a700012d7a53c005fc71a0000300ac32..."} 
[2026-04-17 03:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9858a700012d7a53c005fc71a0000300ac32..."} 
[2026-04-17 03:42:03] local.INFO: Processing buffer {"connection_id":45484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9858a700012d7a53c005fc71a0000300ac32..."} 
[2026-04-17 03:42:03] local.INFO: Packet analysis {"connection_id":45484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9858"} 
[2026-04-17 03:42:03] local.INFO: Extracted packet for processing {"connection_id":45484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9858"} 
[2026-04-17 03:42:03] local.INFO: GPS Element Parsed {"raw_longitude":762991552,"raw_latitude":100430240,"longitude_deg":76.2991552,"latitude_deg":10.043024,"altitude":3,"angle":172,"satellites":50,"speed":21,"hex_longitude":"2d7a53c0","hex_latitude":"05fc71a0","is_valid_coordinates":true} 
[2026-04-17 03:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752623872001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273807150122270720,"note":"Value kept but may cause issues"} 
[2026-04-17 03:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814670396381437952,"note":"Value kept but may cause issues"} 
[2026-04-17 03:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776377440000,"timestamp_ms":1776377440000,"timestamp_seconds":1776377440,"priority":1,"record_length":96,"hex_timestamp":"0000019d9858a700"} 
[2026-04-17 03:42:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:42: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-04-17 03:42:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:42: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-04-17 03:42:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:42:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:42:03] 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-04-17 03:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752623872001,"66":27365,"211":206,"87":10752,"24":21,"16":273807150122270720,"45":8814670396381437952},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,87,24,16,45]} 
[2026-04-17 03:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752623872001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:42:03] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-04-17 03:42:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273807150122270720,"km_value":273807150122270.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814670396381437952,"description":"Unknown IO ID 45"} 
[2026-04-17 03:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752623872001,"power":27365,"unknown_211":206,"unknown_87":10752,"ignition":21,"odometer":null,"unknown_45":8814670396381437952}} 
[2026-04-17 03:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":45484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:42:03] local.INFO: GPS data processed {"connection_id":45484,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:42:03] local.INFO: Acknowledgment sent {"connection_id":45484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:42:05] local.INFO: TCP Data received {"connection_id":45746,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:42:05] local.INFO: Processing buffer {"connection_id":45746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:42:05] local.INFO: IMEI packet received {"connection_id":45746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":45746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:42:11] local.INFO: TCP Data received {"connection_id":45746,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45746,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:42:11] local.INFO: Processing buffer {"connection_id":45746,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:42:11] local.INFO: IMEI packet received {"connection_id":45746,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":45746,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:42:13] local.INFO: TCP Data received {"connection_id":45746,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98588ba8012d0e850006e7b8f0000500ad35..."} 
[2026-04-17 03:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98588ba8012d0e850006e7b8f0000500ad35..."} 
[2026-04-17 03:42:13] local.INFO: Processing buffer {"connection_id":45746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98588ba8012d0e850006e7b8f0000500ad35..."} 
[2026-04-17 03:42:13] local.INFO: Packet analysis {"connection_id":45746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9858"} 
[2026-04-17 03:42:13] local.INFO: Extracted packet for processing {"connection_id":45746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9858"} 
[2026-04-17 03:42:13] local.INFO: GPS Element Parsed {"raw_longitude":755926272,"raw_latitude":115849456,"longitude_deg":75.5926272,"latitude_deg":11.5849456,"altitude":5,"angle":173,"satellites":53,"speed":26,"hex_longitude":"2d0e8500","hex_latitude":"06e7b8f0","is_valid_coordinates":true} 
[2026-04-17 03:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:42:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776377433000,"timestamp_ms":1776377433000,"timestamp_seconds":1776377433,"priority":1,"record_length":96,"hex_timestamp":"0000019d98588ba8"} 
[2026-04-17 03:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:42:13] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 03:42: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-04-17 03:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27800,"217":206,"2":56576,"24":26,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16]} 
[2026-04-17 03:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:42:13] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 03:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:42:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27800,"unknown_217":206,"power_alt":56576,"ignition":26,"odometer":null}} 
[2026-04-17 03:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":45746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18975,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:42:13] local.INFO: GPS data processed {"connection_id":45746,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:42:13] local.INFO: Acknowledgment sent {"connection_id":45746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:42:36] local.INFO: TCP Data received {"connection_id":45484,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9858b2b8012d7a554005fc6b400003009f32..."} 
[2026-04-17 03:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9858b2b8012d7a554005fc6b400003009f32..."} 
[2026-04-17 03:42:36] local.INFO: Processing buffer {"connection_id":45484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9858b2b8012d7a554005fc6b400003009f32..."} 
[2026-04-17 03:42:36] local.INFO: Packet analysis {"connection_id":45484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9858"} 
[2026-04-17 03:42:36] local.INFO: Extracted packet for processing {"connection_id":45484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9858"} 
[2026-04-17 03:42:36] local.INFO: GPS Element Parsed {"raw_longitude":762991936,"raw_latitude":100428608,"longitude_deg":76.2991936,"latitude_deg":10.0428608,"altitude":3,"angle":159,"satellites":50,"speed":23,"hex_longitude":"2d7a5540","hex_latitude":"05fc6b40","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752624640001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273807231726649344,"note":"Value kept but may cause issues"} 
[2026-04-17 03:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8814600027636867072,"note":"Value kept but may cause issues"} 
[2026-04-17 03:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776377443000,"timestamp_ms":1776377443000,"timestamp_seconds":1776377443,"priority":1,"record_length":96,"hex_timestamp":"0000019d9858b2b8"} 
[2026-04-17 03:42:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:42: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-04-17 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 03:42:36] 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-04-17 03: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-04-17 03:42:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":45484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":45484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":45484,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:42:36] 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-04-17 03:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752624640001,"66":27365,"211":206,"87":10752,"24":23,"16":273807231726649344,"45":8814600027636867072},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,87,24,16,45]} 
[2026-04-17 03:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752624640001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:42:36] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-04-17 03:42:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273807231726649344,"km_value":273807231726649.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8814600027636867072,"description":"Unknown IO ID 45"} 
[2026-04-17 03:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752624640001,"power":27365,"unknown_211":206,"unknown_87":10752,"ignition":23,"odometer":null,"unknown_45":8814600027636867072}} 
[2026-04-17 03:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":45484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:42:36] local.INFO: GPS data processed {"connection_id":45484,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:42:36] local.INFO: Acknowledgment sent {"connection_id":45484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:42:44] local.INFO: TCP Data received {"connection_id":45746,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98598d780100000000000000000000000000..."} 
[2026-04-17 03:42:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98598d780100000000000000000000000000..."} 
[2026-04-17 03:42:44] local.INFO: Processing buffer {"connection_id":45746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98598d780100000000000000000000000000..."} 
[2026-04-17 03:42:44] local.INFO: Packet analysis {"connection_id":45746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9859"} 
[2026-04-17 03:42:44] local.INFO: Extracted packet for processing {"connection_id":45746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9859"} 
[2026-04-17 03:42: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-04-17 03: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-04-17 03:42:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752622848001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:42:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:42:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1046242518090969088,"note":"Value kept but may cause issues"} 
[2026-04-17 03:42:44] 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-04-17 03:42:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776377499000,"timestamp_ms":1776377499000,"timestamp_seconds":1776377499,"priority":1,"record_length":96,"hex_timestamp":"0000019d98598d78"} 
[2026-04-17 03:42:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:42:44] 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-04-17 03: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 03:42:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:42:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:42:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:42:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:42:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:42:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45746,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:42:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:42:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:42:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:42:44] local.INFO: DEBUG: GPS processor result {"connection_id":45746,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:42:44] local.INFO: GPS data processed {"connection_id":45746,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:42:44] local.INFO: Acknowledgment sent {"connection_id":45746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:42:52] local.INFO: TCP Data received {"connection_id":45485,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:42:52] local.INFO: Processing buffer {"connection_id":45485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:42:52] local.INFO: IMEI packet received {"connection_id":45485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":45485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:42:52] local.INFO: TCP Data received {"connection_id":45485,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:42:52] local.INFO: Processing buffer {"connection_id":45485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:42:52] local.INFO: IMEI packet received {"connection_id":45485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":45485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:42:57] local.INFO: TCP Data received {"connection_id":45485,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:42:57] local.INFO: Processing buffer {"connection_id":45485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:42:57] local.INFO: IMEI packet received {"connection_id":45485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":45485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:42:58] local.INFO: TCP Data received {"connection_id":45485,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9858e580012d7a664005fc4a680004009731..."} 
[2026-04-17 03:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9858e580012d7a664005fc4a680004009731..."} 
[2026-04-17 03:42:58] local.INFO: Processing buffer {"connection_id":45485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9858e580012d7a664005fc4a680004009731..."} 
[2026-04-17 03:42:58] local.INFO: Packet analysis {"connection_id":45485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9858"} 
[2026-04-17 03:42:58] local.INFO: Extracted packet for processing {"connection_id":45485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9858"} 
[2026-04-17 03:42:58] local.INFO: GPS Element Parsed {"raw_longitude":762996288,"raw_latitude":100420200,"longitude_deg":76.2996288,"latitude_deg":10.04202,"altitude":4,"angle":151,"satellites":49,"speed":34,"hex_longitude":"2d7a6640","hex_latitude":"05fc4a68","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752625408001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273807691288150016,"note":"Value kept but may cause issues"} 
[2026-04-17 03:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8815022240101515264,"note":"Value kept but may cause issues"} 
[2026-04-17 03:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776377456000,"timestamp_ms":1776377456000,"timestamp_seconds":1776377456,"priority":1,"record_length":96,"hex_timestamp":"0000019d9858e580"} 
[2026-04-17 03:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:42: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-04-17 03: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 03:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:42:58] 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-04-17 03:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752625408001,"66":27463,"211":206,"87":10752,"24":34,"16":273807691288150016,"45":8815022240101515264},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,87,24,16,45]} 
[2026-04-17 03:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752625408001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:42:58] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-04-17 03:42:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273807691288150016,"km_value":273807691288150.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8815022240101515264,"description":"Unknown IO ID 45"} 
[2026-04-17 03:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752625408001,"power":27463,"unknown_211":206,"unknown_87":10752,"ignition":34,"odometer":null,"unknown_45":8815022240101515264}} 
[2026-04-17 03:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":45485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:42:58] local.INFO: GPS data processed {"connection_id":45485,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:42:58] local.INFO: Acknowledgment sent {"connection_id":45485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:43:05] local.INFO: TCP Data received {"connection_id":45545,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:43:05] local.INFO: Processing buffer {"connection_id":45545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:43:05] local.INFO: IMEI packet received {"connection_id":45545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":45545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:43:11] local.INFO: TCP Data received {"connection_id":45545,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45545,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:43:11] local.INFO: Processing buffer {"connection_id":45545,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:43:11] local.INFO: IMEI packet received {"connection_id":45545,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":45545,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:43:12] local.INFO: TCP Data received {"connection_id":45545,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9858e968012d0eaa8006e78b800005007c34..."} 
[2026-04-17 03:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9858e968012d0eaa8006e78b800005007c34..."} 
[2026-04-17 03:43:12] local.INFO: Processing buffer {"connection_id":45545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9858e968012d0eaa8006e78b800005007c34..."} 
[2026-04-17 03:43:12] local.INFO: Packet analysis {"connection_id":45545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9858"} 
[2026-04-17 03:43:12] local.INFO: Extracted packet for processing {"connection_id":45545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9858"} 
[2026-04-17 03:43:12] local.INFO: GPS Element Parsed {"raw_longitude":755935872,"raw_latitude":115837824,"longitude_deg":75.5935872,"latitude_deg":11.5837824,"altitude":5,"angle":124,"satellites":52,"speed":26,"hex_longitude":"2d0eaa80","hex_latitude":"06e78b80","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:43:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776377457000,"timestamp_ms":1776377457000,"timestamp_seconds":1776377457,"priority":1,"record_length":96,"hex_timestamp":"0000019d9858e968"} 
[2026-04-17 03:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:43: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 03:43:12] 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-04-17 03: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-04-17 03:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"217":206,"2":56576,"24":26,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16]} 
[2026-04-17 03:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:43:12] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 03:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:43:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_217":206,"power_alt":56576,"ignition":26,"odometer":null}} 
[2026-04-17 03:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":45545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18978,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:43:12] local.INFO: GPS data processed {"connection_id":45545,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:43:12] local.INFO: Acknowledgment sent {"connection_id":45545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:43:29] local.INFO: TCP Data received {"connection_id":45485,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98590c90012d7a784005fc2a780003009932..."} 
[2026-04-17 03:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98590c90012d7a784005fc2a780003009932..."} 
[2026-04-17 03:43:29] local.INFO: Processing buffer {"connection_id":45485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98590c90012d7a784005fc2a780003009932..."} 
[2026-04-17 03:43:29] local.INFO: Packet analysis {"connection_id":45485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9859"} 
[2026-04-17 03:43:29] local.INFO: Extracted packet for processing {"connection_id":45485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9859"} 
[2026-04-17 03:43:29] local.INFO: GPS Element Parsed {"raw_longitude":763000896,"raw_latitude":100412024,"longitude_deg":76.3000896,"latitude_deg":10.0412024,"altitude":3,"angle":153,"satellites":50,"speed":38,"hex_longitude":"2d7a7840","hex_latitude":"05fc2a78","is_valid_coordinates":true} 
[2026-04-17 03:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752628736001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273808142259716096,"note":"Value kept but may cause issues"} 
[2026-04-17 03:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8819807314703443968,"note":"Value kept but may cause issues"} 
[2026-04-17 03:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776377466000,"timestamp_ms":1776377466000,"timestamp_seconds":1776377466,"priority":1,"record_length":96,"hex_timestamp":"0000019d98590c90"} 
[2026-04-17 03:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:43: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-04-17 03:43:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 03:43:29] 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-04-17 03:43:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:43: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-04-17 03:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752628736001,"66":27321,"211":206,"87":10752,"24":38,"16":273808142259716096,"45":8819807314703443968},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,87,24,16,45]} 
[2026-04-17 03:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752628736001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:43:29] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-04-17 03:43:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273808142259716096,"km_value":273808142259716.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8819807314703443968,"description":"Unknown IO ID 45"} 
[2026-04-17 03:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752628736001,"power":27321,"unknown_211":206,"unknown_87":10752,"ignition":38,"odometer":null,"unknown_45":8819807314703443968}} 
[2026-04-17 03:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":45485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:43:29] local.INFO: GPS data processed {"connection_id":45485,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:43:29] local.INFO: Acknowledgment sent {"connection_id":45485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:43:44] local.INFO: TCP Data received {"connection_id":45545,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9859eb380100000000000000000000000000..."} 
[2026-04-17 03:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9859eb380100000000000000000000000000..."} 
[2026-04-17 03:43:44] local.INFO: Processing buffer {"connection_id":45545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9859eb380100000000000000000000000000..."} 
[2026-04-17 03:43:44] local.INFO: Packet analysis {"connection_id":45545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9859"} 
[2026-04-17 03:43:44] local.INFO: Extracted packet for processing {"connection_id":45545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9859"} 
[2026-04-17 03:43: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-04-17 03:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752628992001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1056797829714640896,"note":"Value kept but may cause issues"} 
[2026-04-17 03:43:44] 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-04-17 03:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776377523000,"timestamp_ms":1776377523000,"timestamp_seconds":1776377523,"priority":1,"record_length":96,"hex_timestamp":"0000019d9859eb38"} 
[2026-04-17 03:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:43:44] 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-04-17 03:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 03:43:44] 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-04-17 03:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45545,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":45545,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:43:44] local.INFO: GPS data processed {"connection_id":45545,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:43:44] local.INFO: Acknowledgment sent {"connection_id":45545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:43:52] local.INFO: TCP Data received {"connection_id":45486,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:43:52] local.INFO: Processing buffer {"connection_id":45486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:43:52] local.INFO: IMEI packet received {"connection_id":45486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":45486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:43:53] local.INFO: TCP Data received {"connection_id":45486,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:43:53] local.INFO: Processing buffer {"connection_id":45486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:43:53] local.INFO: IMEI packet received {"connection_id":45486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":45486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:43:57] local.INFO: TCP Data received {"connection_id":45486,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:43:57] local.INFO: Processing buffer {"connection_id":45486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:43:57] local.INFO: IMEI packet received {"connection_id":45486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":45486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:43:58] local.INFO: TCP Data received {"connection_id":45486,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d985933a0012d7a894005fc08f80005009931..."} 
[2026-04-17 03:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985933a0012d7a894005fc08f80005009931..."} 
[2026-04-17 03:43:58] local.INFO: Processing buffer {"connection_id":45486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985933a0012d7a894005fc08f80005009931..."} 
[2026-04-17 03:43:58] local.INFO: Packet analysis {"connection_id":45486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9859"} 
[2026-04-17 03:43:58] local.INFO: Extracted packet for processing {"connection_id":45486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9859"} 
[2026-04-17 03:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763005248,"raw_latitude":100403448,"longitude_deg":76.3005248,"latitude_deg":10.0403448,"altitude":5,"angle":153,"satellites":49,"speed":36,"hex_longitude":"2d7a8940","hex_latitude":"05fc08f8","is_valid_coordinates":true} 
[2026-04-17 03:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752631296001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273808606116184064,"note":"Value kept but may cause issues"} 
[2026-04-17 03:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8824873864282142720,"note":"Value kept but may cause issues"} 
[2026-04-17 03:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,211,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776377476000,"timestamp_ms":1776377476000,"timestamp_seconds":1776377476,"priority":1,"record_length":96,"hex_timestamp":"0000019d985933a0"} 
[2026-04-17 03:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:43: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-04-17 03:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 03:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:43:58] 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-04-17 03:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752631296001,"66":27343,"211":206,"87":10752,"24":36,"16":273808606116184064,"45":8824873864282142720},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,211,87,24,16,45]} 
[2026-04-17 03:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752631296001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:43:58] local.INFO: Unknown IO ID detected {"io_id":211,"value":206,"description":"Unknown IO ID 211"} 
[2026-04-17 03:43:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273808606116184064,"km_value":273808606116184.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8824873864282142720,"description":"Unknown IO ID 45"} 
[2026-04-17 03:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752631296001,"power":27343,"unknown_211":206,"unknown_87":10752,"ignition":36,"odometer":null,"unknown_45":8824873864282142720}} 
[2026-04-17 03:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":45486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:43:58] local.INFO: GPS data processed {"connection_id":45486,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:43:58] local.INFO: Acknowledgment sent {"connection_id":45486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:44:11] local.INFO: TCP Data received {"connection_id":45487,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:44:11] local.INFO: Processing buffer {"connection_id":45487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:44:11] local.INFO: IMEI packet received {"connection_id":45487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":45487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:44:17] local.INFO: TCP Data received {"connection_id":45487,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45487,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:44:17] local.INFO: Processing buffer {"connection_id":45487,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:44:17] local.INFO: IMEI packet received {"connection_id":45487,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":45487,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:44:18] local.INFO: TCP Data received {"connection_id":45487,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98593f58012d0ed84006e75a980006008b35..."} 
[2026-04-17 03:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98593f58012d0ed84006e75a980006008b35..."} 
[2026-04-17 03:44:18] local.INFO: Processing buffer {"connection_id":45487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98593f58012d0ed84006e75a980006008b35..."} 
[2026-04-17 03:44:18] local.INFO: Packet analysis {"connection_id":45487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9859"} 
[2026-04-17 03:44:18] local.INFO: Extracted packet for processing {"connection_id":45487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9859"} 
[2026-04-17 03:44:18] local.INFO: GPS Element Parsed {"raw_longitude":755947584,"raw_latitude":115825304,"longitude_deg":75.5947584,"latitude_deg":11.5825304,"altitude":6,"angle":139,"satellites":53,"speed":32,"hex_longitude":"2d0ed840","hex_latitude":"06e75a98","is_valid_coordinates":true} 
[2026-04-17 03:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:44:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:44:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,217,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:44:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776377479000,"timestamp_ms":1776377479000,"timestamp_seconds":1776377479,"priority":1,"record_length":96,"hex_timestamp":"0000019d98593f58"} 
[2026-04-17 03:44:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:44:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:44:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 03:44:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:44:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:44:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:44:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:44:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:44:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:44:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:44:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:44:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:44:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:44:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"217":206,"2":56576,"24":32,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,2,24,16]} 
[2026-04-17 03:44:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:44:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:44:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:44:18] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 03:44:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:44:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_217":206,"power_alt":56576,"ignition":32,"odometer":null}} 
[2026-04-17 03:44:18] local.INFO: DEBUG: GPS processor result {"connection_id":45487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18981,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:44:18] local.INFO: GPS data processed {"connection_id":45487,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:44:18] local.INFO: Acknowledgment sent {"connection_id":45487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:44:21] local.INFO: TCP Data received {"connection_id":45487,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98599160012d0f020006e73060000c008333..."} 
[2026-04-17 03:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98599160012d0f020006e73060000c008333..."} 
[2026-04-17 03:44:21] local.INFO: Processing buffer {"connection_id":45487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98599160012d0f020006e73060000c008333..."} 
[2026-04-17 03:44:21] local.INFO: Packet analysis {"connection_id":45487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9859"} 
[2026-04-17 03:44:21] local.INFO: Extracted packet for processing {"connection_id":45487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9859"} 
[2026-04-17 03:44:21] local.INFO: GPS Element Parsed {"raw_longitude":755958272,"raw_latitude":115814496,"longitude_deg":75.5958272,"latitude_deg":11.5814496,"altitude":12,"angle":131,"satellites":51,"speed":26,"hex_longitude":"2d0f0200","hex_latitude":"06e73060","is_valid_coordinates":true} 
[2026-04-17 03:44: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-04-17 03:44:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752634624001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:44:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:44:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1069675309895948288,"note":"Value kept but may cause issues"} 
[2026-04-17 03:44:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:44:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776377500000,"timestamp_ms":1776377500000,"timestamp_seconds":1776377500,"priority":1,"record_length":96,"hex_timestamp":"0000019d98599160"} 
[2026-04-17 03:44:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:44: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-04-17 03:44:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 03:44:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:44:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:44:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:44:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:44:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:44:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:44:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45487,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:44:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:44:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:44:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:44:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752634624001,"66":27941,"128":206,"2":56576,"24":26,"16":106618783551979520,"45":1069675309895948288},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,2,24,16,45]} 
[2026-04-17 03:44:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:44:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:44:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752634624001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:44:21] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-04-17 03:44:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:44:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1069675309895948288,"description":"Unknown IO ID 45"} 
[2026-04-17 03:44:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752634624001,"power":27941,"unknown_128":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":1069675309895948288}} 
[2026-04-17 03:44:21] local.INFO: DEBUG: GPS processor result {"connection_id":45487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18982,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:44:21] local.INFO: GPS data processed {"connection_id":45487,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:44:21] local.INFO: Acknowledgment sent {"connection_id":45487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:44:29] local.INFO: TCP Data received {"connection_id":45486,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d985b27a0012d7b3c8005fa7df8000600a731..."} 
[2026-04-17 03:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985b27a0012d7b3c8005fa7df8000600a731..."} 
[2026-04-17 03:44:29] local.INFO: Processing buffer {"connection_id":45486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985b27a0012d7b3c8005fa7df8000600a731..."} 
[2026-04-17 03:44:29] local.INFO: Packet analysis {"connection_id":45486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985b"} 
[2026-04-17 03:44:29] local.INFO: Extracted packet for processing {"connection_id":45486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985b"} 
[2026-04-17 03:44:29] local.INFO: GPS Element Parsed {"raw_longitude":763051136,"raw_latitude":100302328,"longitude_deg":76.3051136,"latitude_deg":10.0302328,"altitude":6,"angle":167,"satellites":49,"speed":37,"hex_longitude":"2d7b3c80","hex_latitude":"05fa7df8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752664320001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273813996300140544,"note":"Value kept but may cause issues"} 
[2026-04-17 03:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8877861528622075904,"note":"Value kept but may cause issues"} 
[2026-04-17 03:44:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,87,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776377604000,"timestamp_ms":1776377604000,"timestamp_seconds":1776377604,"priority":1,"record_length":96,"hex_timestamp":"0000019d985b27a0"} 
[2026-04-17 03:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:44: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-04-17 03:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 03:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:44: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-04-17 03:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752664320001,"66":27376,"87":10752,"24":37,"16":273813996300140544,"45":8877861528622075904},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-04-17 03:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752664320001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:44:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273813996300140544,"km_value":273813996300140.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8877861528622075904,"description":"Unknown IO ID 45"} 
[2026-04-17 03:44:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454752664320001,"power":27376,"unknown_87":10752,"ignition":37,"odometer":null,"unknown_45":8877861528622075904}} 
[2026-04-17 03:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":45486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:44:29] local.INFO: GPS data processed {"connection_id":45486,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:44:29] local.INFO: Acknowledgment sent {"connection_id":45486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:44:52] local.INFO: TCP Data received {"connection_id":46304,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:44:52] local.INFO: Processing buffer {"connection_id":46304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:44:52] local.INFO: IMEI packet received {"connection_id":46304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":46304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:44:57] local.INFO: TCP Data received {"connection_id":46304,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46304,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:44:57] local.INFO: Processing buffer {"connection_id":46304,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:44:57] local.INFO: IMEI packet received {"connection_id":46304,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":46304,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:44:58] local.INFO: TCP Data received {"connection_id":46304,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d985b3f10012d7b424005fa6bd00007009630..."} 
[2026-04-17 03:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985b3f10012d7b424005fa6bd00007009630..."} 
[2026-04-17 03:44:58] local.INFO: Processing buffer {"connection_id":46304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985b3f10012d7b424005fa6bd00007009630..."} 
[2026-04-17 03:44:58] local.INFO: Packet analysis {"connection_id":46304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985b"} 
[2026-04-17 03:44:58] local.INFO: Extracted packet for processing {"connection_id":46304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985b"} 
[2026-04-17 03:44:58] local.INFO: GPS Element Parsed {"raw_longitude":763052608,"raw_latitude":100297680,"longitude_deg":76.3052608,"latitude_deg":10.029768,"altitude":7,"angle":150,"satellites":48,"speed":26,"hex_longitude":"2d7b4240","hex_latitude":"05fa6bd0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752666624001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273814232523341824,"note":"Value kept but may cause issues"} 
[2026-04-17 03:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8880113328433526784,"note":"Value kept but may cause issues"} 
[2026-04-17 03:44:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,87,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776377610000,"timestamp_ms":1776377610000,"timestamp_seconds":1776377610,"priority":1,"record_length":96,"hex_timestamp":"0000019d985b3f10"} 
[2026-04-17 03:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:44: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-04-17 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:44: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-04-17 03: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-04-17 03:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:44:58] 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-04-17 03:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752666624001,"66":27223,"87":10752,"24":26,"16":273814232523341824,"45":8880113328433526784},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-04-17 03:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752666624001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:44:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273814232523341824,"km_value":273814232523341.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8880113328433526784,"description":"Unknown IO ID 45"} 
[2026-04-17 03:44:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454752666624001,"power":27223,"unknown_87":10752,"ignition":26,"odometer":null,"unknown_45":8880113328433526784}} 
[2026-04-17 03:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":46304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:44:58] local.INFO: GPS data processed {"connection_id":46304,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:44:58] local.INFO: Acknowledgment sent {"connection_id":46304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:45:06] local.INFO: TCP Data received {"connection_id":46305,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:45:06] local.INFO: Processing buffer {"connection_id":46305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:45:06] local.INFO: IMEI packet received {"connection_id":46305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":46305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:45:11] local.INFO: TCP Data received {"connection_id":46305,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46305,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:45:11] local.INFO: Processing buffer {"connection_id":46305,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:45:11] local.INFO: IMEI packet received {"connection_id":46305,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":46305,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:45:12] local.INFO: TCP Data received {"connection_id":46305,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d985a93300100000000000000000000000000..."} 
[2026-04-17 03:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985a93300100000000000000000000000000..."} 
[2026-04-17 03:45:12] local.INFO: Processing buffer {"connection_id":46305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985a93300100000000000000000000000000..."} 
[2026-04-17 03:45:12] local.INFO: Packet analysis {"connection_id":46305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985a"} 
[2026-04-17 03:45:12] local.INFO: Extracted packet for processing {"connection_id":46305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985a"} 
[2026-04-17 03:45: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-04-17 03: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-04-17 03:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752640000001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1081426890170851328,"note":"Value kept but may cause issues"} 
[2026-04-17 03:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776377566000,"timestamp_ms":1776377566000,"timestamp_seconds":1776377566,"priority":1,"record_length":96,"hex_timestamp":"0000019d985a9330"} 
[2026-04-17 03:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:45:12] 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-04-17 03: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 03:45:12] 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-04-17 03: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-04-17 03:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":46305,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:45:12] local.INFO: GPS data processed {"connection_id":46305,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:45:12] local.INFO: Acknowledgment sent {"connection_id":46305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:45:16] local.INFO: TCP Data received {"connection_id":46305,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9859e750012d0f308006e70940000d008434..."} 
[2026-04-17 03:45:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9859e750012d0f308006e70940000d008434..."} 
[2026-04-17 03:45:16] local.INFO: Processing buffer {"connection_id":46305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9859e750012d0f308006e70940000d008434..."} 
[2026-04-17 03:45:16] local.INFO: Packet analysis {"connection_id":46305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9859"} 
[2026-04-17 03:45:16] local.INFO: Extracted packet for processing {"connection_id":46305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9859"} 
[2026-04-17 03:45:16] local.INFO: GPS Element Parsed {"raw_longitude":755970176,"raw_latitude":115804480,"longitude_deg":75.5970176,"latitude_deg":11.580448,"altitude":13,"angle":132,"satellites":52,"speed":34,"hex_longitude":"2d0f3080","hex_latitude":"06e70940","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:45:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:45:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,130,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:45:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776377522000,"timestamp_ms":1776377522000,"timestamp_seconds":1776377522,"priority":1,"record_length":96,"hex_timestamp":"0000019d9859e750"} 
[2026-04-17 03:45:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:45:16] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:45:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 03:45:16] 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-04-17 03: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-04-17 03:45:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:45:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:45:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:45:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:45:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:45:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:45:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:45:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:45:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27821,"130":206,"2":56576,"24":34,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,2,24,16]} 
[2026-04-17 03:45:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:45:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:45:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:45:16] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-17 03:45:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:45:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27821,"unknown_130":206,"power_alt":56576,"ignition":34,"odometer":null}} 
[2026-04-17 03:45:16] local.INFO: DEBUG: GPS processor result {"connection_id":46305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18985,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:45:16] local.INFO: GPS data processed {"connection_id":46305,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:45:16] local.INFO: Acknowledgment sent {"connection_id":46305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:45:41] local.INFO: TCP Data received {"connection_id":46304,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d985b5680012d7b494005fa60f0000700a42e..."} 
[2026-04-17 03:45:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985b5680012d7b494005fa60f0000700a42e..."} 
[2026-04-17 03:45:41] local.INFO: Processing buffer {"connection_id":46304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985b5680012d7b494005fa60f0000700a42e..."} 
[2026-04-17 03:45:41] local.INFO: Packet analysis {"connection_id":46304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985b"} 
[2026-04-17 03:45:41] local.INFO: Extracted packet for processing {"connection_id":46304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985b"} 
[2026-04-17 03:45:41] local.INFO: GPS Element Parsed {"raw_longitude":763054400,"raw_latitude":100294896,"longitude_deg":76.30544,"latitude_deg":10.0294896,"altitude":7,"angle":164,"satellites":46,"speed":17,"hex_longitude":"2d7b4940","hex_latitude":"05fa60f0","is_valid_coordinates":true} 
[2026-04-17 03:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:45:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752668160001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:45:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273814395732099072,"note":"Value kept but may cause issues"} 
[2026-04-17 03:45:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8881731809548423168,"note":"Value kept but may cause issues"} 
[2026-04-17 03:45:41] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,87,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:45:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776377616000,"timestamp_ms":1776377616000,"timestamp_seconds":1776377616,"priority":1,"record_length":96,"hex_timestamp":"0000019d985b5680"} 
[2026-04-17 03:45:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:45: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-04-17 03:45:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":87,"data_length":795,"current_offset":136} 
[2026-04-17 03:45:41] 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-04-17 03:45:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:45:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:45:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:45:41] local.INFO: Teltonika packet parsed successfully {"connection_id":46304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:45:41] local.INFO: Passing IMEI to GPS processor {"connection_id":46304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:45:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":46304,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:45:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:45:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:45:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:45:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752668160001,"66":27343,"87":10752,"24":17,"16":273814395732099072,"45":8881731809548423168},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-04-17 03:45:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:45:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:45:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752668160001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:45:41] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:45:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273814395732099072,"km_value":273814395732099.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:45:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":8881731809548423168,"description":"Unknown IO ID 45"} 
[2026-04-17 03:45:41] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454752668160001,"power":27343,"unknown_87":10752,"ignition":17,"odometer":null,"unknown_45":8881731809548423168}} 
[2026-04-17 03:45:41] local.INFO: DEBUG: GPS processor result {"connection_id":46304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:45:41] local.INFO: GPS data processed {"connection_id":46304,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:45:41] local.INFO: Acknowledgment sent {"connection_id":46304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:45:48] local.INFO: TCP Data received {"connection_id":46305,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d985a3958012d0f6e0006e6d7a00007007931..."} 
[2026-04-17 03:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46305,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985a3958012d0f6e0006e6d7a00007007931..."} 
[2026-04-17 03:45:48] local.INFO: Processing buffer {"connection_id":46305,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985a3958012d0f6e0006e6d7a00007007931..."} 
[2026-04-17 03:45:48] local.INFO: Packet analysis {"connection_id":46305,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985a"} 
[2026-04-17 03:45:48] local.INFO: Extracted packet for processing {"connection_id":46305,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985a"} 
[2026-04-17 03:45:48] local.INFO: GPS Element Parsed {"raw_longitude":755985920,"raw_latitude":115791776,"longitude_deg":75.598592,"latitude_deg":11.5791776,"altitude":7,"angle":121,"satellites":49,"speed":0,"hex_longitude":"2d0f6e00","hex_latitude":"06e6d7a0","is_valid_coordinates":true} 
[2026-04-17 03:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752645632001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1094515476585332736,"note":"Value kept but may cause issues"} 
[2026-04-17 03:45:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776377543000,"timestamp_ms":1776377543000,"timestamp_seconds":1776377543,"priority":1,"record_length":96,"hex_timestamp":"0000019d985a3958"} 
[2026-04-17 03:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:45:48] 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-04-17 03:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 03:45:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":46305,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":46305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":46305,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752645632001,"66":27974,"130":206,"2":56576,"24":0,"16":106618783551979520,"45":1094515476585332736},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,2,24,16,45]} 
[2026-04-17 03:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752645632001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:45:48] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-17 03:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1094515476585332736,"description":"Unknown IO ID 45"} 
[2026-04-17 03:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752645632001,"power":27974,"unknown_130":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1094515476585332736}} 
[2026-04-17 03:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":46305,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18987,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:45:48] local.INFO: GPS data processed {"connection_id":46305,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:45:48] local.INFO: Acknowledgment sent {"connection_id":46305,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:45:59] local.INFO: TCP Data received {"connection_id":45546,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:45:59] local.INFO: Processing buffer {"connection_id":45546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:45:59] local.INFO: IMEI packet received {"connection_id":45546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:45:59] local.INFO: IMEI acknowledgment sent {"connection_id":45546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:46:02] local.INFO: TCP Data received {"connection_id":45546,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:46:02] local.INFO: Processing buffer {"connection_id":45546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:46:02] local.INFO: IMEI packet received {"connection_id":45546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":45546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:46:06] local.INFO: TCP Data received {"connection_id":45488,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:46:06] local.INFO: Processing buffer {"connection_id":45488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:46:06] local.INFO: IMEI packet received {"connection_id":45488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":45488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:46:07] local.INFO: TCP Data received {"connection_id":45546,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:46:07] local.INFO: Processing buffer {"connection_id":45546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:46:07] local.INFO: IMEI packet received {"connection_id":45546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:46:07] local.INFO: IMEI acknowledgment sent {"connection_id":45546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:46:08] local.INFO: TCP Data received {"connection_id":45546,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d985b9118012d7b4ec005fa49e0000700af31..."} 
[2026-04-17 03:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985b9118012d7b4ec005fa49e0000700af31..."} 
[2026-04-17 03:46:08] local.INFO: Processing buffer {"connection_id":45546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985b9118012d7b4ec005fa49e0000700af31..."} 
[2026-04-17 03:46:08] local.INFO: Packet analysis {"connection_id":45546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985b"} 
[2026-04-17 03:46:08] local.INFO: Extracted packet for processing {"connection_id":45546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985b"} 
[2026-04-17 03:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763055808,"raw_latitude":100288992,"longitude_deg":76.3055808,"latitude_deg":10.0288992,"altitude":7,"angle":175,"satellites":49,"speed":21,"hex_longitude":"2d7b4ec0","hex_latitude":"05fa49e0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752669696001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273814692084842496,"note":"Value kept but may cause issues"} 
[2026-04-17 03:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8883702134384685056,"note":"Value kept but may cause issues"} 
[2026-04-17 03:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776377631000,"timestamp_ms":1776377631000,"timestamp_seconds":1776377631,"priority":1,"record_length":96,"hex_timestamp":"0000019d985b9118"} 
[2026-04-17 03:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:46: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-04-17 03:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":45546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":45546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":45546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:46:08] 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-04-17 03:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752669696001,"66":27463,"14":206,"87":10752,"24":21,"16":273814692084842496,"45":8883702134384685056},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-04-17 03:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752669696001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:46:08] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-04-17 03:46:08] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273814692084842496,"km_value":273814692084842.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":8883702134384685056,"description":"Unknown IO ID 45"} 
[2026-04-17 03:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752669696001,"power":27463,"unknown_14":206,"unknown_87":10752,"ignition":21,"odometer":null,"unknown_45":8883702134384685056}} 
[2026-04-17 03:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":45546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:46:08] local.INFO: GPS data processed {"connection_id":45546,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:46:08] local.INFO: Acknowledgment sent {"connection_id":45546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:46:10] local.INFO: TCP Data received {"connection_id":45488,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:46:10] local.INFO: Processing buffer {"connection_id":45488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:46:10] local.INFO: IMEI packet received {"connection_id":45488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":45488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:46:12] local.INFO: TCP Data received {"connection_id":45488,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d985a8b60012d0fae0006e6b8e80009007031..."} 
[2026-04-17 03:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985a8b60012d0fae0006e6b8e80009007031..."} 
[2026-04-17 03:46:12] local.INFO: Processing buffer {"connection_id":45488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985a8b60012d0fae0006e6b8e80009007031..."} 
[2026-04-17 03:46:12] local.INFO: Packet analysis {"connection_id":45488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985a"} 
[2026-04-17 03:46:12] local.INFO: Extracted packet for processing {"connection_id":45488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985a"} 
[2026-04-17 03:46:12] local.INFO: GPS Element Parsed {"raw_longitude":756002304,"raw_latitude":115783912,"longitude_deg":75.6002304,"latitude_deg":11.5783912,"altitude":9,"angle":112,"satellites":49,"speed":0,"hex_longitude":"2d0fae00","hex_latitude":"06e6b8e8","is_valid_coordinates":true} 
[2026-04-17 03:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752651008001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1111826187649785856,"note":"Value kept but may cause issues"} 
[2026-04-17 03:46:12] 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-04-17 03:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776377564000,"timestamp_ms":1776377564000,"timestamp_seconds":1776377564,"priority":1,"record_length":96,"hex_timestamp":"0000019d985a8b60"} 
[2026-04-17 03:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:46: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-04-17 03:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 03:46:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752651008001,"66":27952,"129":206,"2":56576,"24":0,"16":106618783551979520,"45":1111826187649785856},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-04-17 03:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752651008001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:46:12] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 03:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1111826187649785856,"description":"Unknown IO ID 45"} 
[2026-04-17 03:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752651008001,"power":27952,"unknown_129":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1111826187649785856}} 
[2026-04-17 03:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":45488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18989,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:46:12] local.INFO: GPS data processed {"connection_id":45488,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:46:12] local.INFO: Acknowledgment sent {"connection_id":45488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:46:13] local.INFO: TCP Data received {"connection_id":45546,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d985bd380012d7b524005fa2758000600a532..."} 
[2026-04-17 03:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985bd380012d7b524005fa2758000600a532..."} 
[2026-04-17 03:46:13] local.INFO: Processing buffer {"connection_id":45546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985bd380012d7b524005fa2758000600a532..."} 
[2026-04-17 03:46:13] local.INFO: Packet analysis {"connection_id":45546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985b"} 
[2026-04-17 03:46:13] local.INFO: Extracted packet for processing {"connection_id":45546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985b"} 
[2026-04-17 03:46:13] local.INFO: GPS Element Parsed {"raw_longitude":763056704,"raw_latitude":100280152,"longitude_deg":76.3056704,"latitude_deg":10.0280152,"altitude":6,"angle":165,"satellites":50,"speed":24,"hex_longitude":"2d7b5240","hex_latitude":"05fa2758","is_valid_coordinates":true} 
[2026-04-17 03:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752673536001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273815125876539392,"note":"Value kept but may cause issues"} 
[2026-04-17 03:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8885250246755082240,"note":"Value kept but may cause issues"} 
[2026-04-17 03:46:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776377648000,"timestamp_ms":1776377648000,"timestamp_seconds":1776377648,"priority":1,"record_length":96,"hex_timestamp":"0000019d985bd380"} 
[2026-04-17 03:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 03:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752673536001,"66":27484,"14":206,"87":10752,"24":24,"16":273815125876539392,"45":8885250246755082240},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-04-17 03:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752673536001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:46:13] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-04-17 03:46:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273815125876539392,"km_value":273815125876539.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8885250246755082240,"description":"Unknown IO ID 45"} 
[2026-04-17 03:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752673536001,"power":27484,"unknown_14":206,"unknown_87":10752,"ignition":24,"odometer":null,"unknown_45":8885250246755082240}} 
[2026-04-17 03:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":45546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:46:13] local.INFO: GPS data processed {"connection_id":45546,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:46:13] local.INFO: Acknowledgment sent {"connection_id":45546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:46:43] local.INFO: TCP Data received {"connection_id":45488,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d985add68012d0fe98006e69ba8000a007332..."} 
[2026-04-17 03:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985add68012d0fe98006e69ba8000a007332..."} 
[2026-04-17 03:46:43] local.INFO: Processing buffer {"connection_id":45488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985add68012d0fe98006e69ba8000a007332..."} 
[2026-04-17 03:46:43] local.INFO: Packet analysis {"connection_id":45488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985a"} 
[2026-04-17 03:46:43] local.INFO: Extracted packet for processing {"connection_id":45488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985a"} 
[2026-04-17 03:46:43] local.INFO: GPS Element Parsed {"raw_longitude":756017536,"raw_latitude":115776424,"longitude_deg":75.6017536,"latitude_deg":11.5776424,"altitude":10,"angle":115,"satellites":50,"speed":0,"hex_longitude":"2d0fe980","hex_latitude":"06e69ba8","is_valid_coordinates":true} 
[2026-04-17 03:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:46:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752656384001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:46:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:46:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1129840586157254656,"note":"Value kept but may cause issues"} 
[2026-04-17 03:46: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-04-17 03:46:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776377585000,"timestamp_ms":1776377585000,"timestamp_seconds":1776377585,"priority":1,"record_length":96,"hex_timestamp":"0000019d985add68"} 
[2026-04-17 03:46:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:46: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-04-17 03:46:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 03:46:43] 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-04-17 03:46:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:46:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:46:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:46:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:46:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:46:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45488,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:46:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:46:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:46:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:46:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752656384001,"66":27908,"129":206,"2":56576,"24":0,"16":106618783551979520,"45":1129840586157254656},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-04-17 03:46:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:46:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:46:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752656384001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:46:43] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 03:46:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:46:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1129840586157254656,"description":"Unknown IO ID 45"} 
[2026-04-17 03:46:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752656384001,"power":27908,"unknown_129":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1129840586157254656}} 
[2026-04-17 03:46:43] local.INFO: DEBUG: GPS processor result {"connection_id":45488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18991,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:46:43] local.INFO: GPS data processed {"connection_id":45488,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:46:43] local.INFO: Acknowledgment sent {"connection_id":45488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:46:52] local.INFO: TCP Data received {"connection_id":45747,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:46:52] local.INFO: Processing buffer {"connection_id":45747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:46:52] local.INFO: IMEI packet received {"connection_id":45747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":45747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:46:56] local.INFO: TCP Data received {"connection_id":45747,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:46:56] local.INFO: Processing buffer {"connection_id":45747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:46:56] local.INFO: IMEI packet received {"connection_id":45747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":45747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:46:57] local.INFO: TCP Data received {"connection_id":45747,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:46:57] local.INFO: Processing buffer {"connection_id":45747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:46:57] local.INFO: IMEI packet received {"connection_id":45747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":45747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:46:58] local.INFO: TCP Data received {"connection_id":45747,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d985c0648012d7b5ec005fa05480007009c33..."} 
[2026-04-17 03:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985c0648012d7b5ec005fa05480007009c33..."} 
[2026-04-17 03:46:58] local.INFO: Processing buffer {"connection_id":45747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985c0648012d7b5ec005fa05480007009c33..."} 
[2026-04-17 03:46:58] local.INFO: Packet analysis {"connection_id":45747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985c"} 
[2026-04-17 03:46:58] local.INFO: Extracted packet for processing {"connection_id":45747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985c"} 
[2026-04-17 03:46:58] local.INFO: GPS Element Parsed {"raw_longitude":763059904,"raw_latitude":100271432,"longitude_deg":76.3059904,"latitude_deg":10.0271432,"altitude":7,"angle":156,"satellites":51,"speed":27,"hex_longitude":"2d7b5ec0","hex_latitude":"05fa0548","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752677888001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273815576848105472,"note":"Value kept but may cause issues"} 
[2026-04-17 03:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8886235409171306496,"note":"Value kept but may cause issues"} 
[2026-04-17 03:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776377661000,"timestamp_ms":1776377661000,"timestamp_seconds":1776377661,"priority":1,"record_length":96,"hex_timestamp":"0000019d985c0648"} 
[2026-04-17 03:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:46: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-04-17 03: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 03:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:46:58] 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-04-17 03:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752677888001,"66":27397,"14":206,"87":10752,"24":27,"16":273815576848105472,"45":8886235409171306496},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-04-17 03:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752677888001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:46:58] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-04-17 03:46:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273815576848105472,"km_value":273815576848105.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8886235409171306496,"description":"Unknown IO ID 45"} 
[2026-04-17 03:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752677888001,"power":27397,"unknown_14":206,"unknown_87":10752,"ignition":27,"odometer":null,"unknown_45":8886235409171306496}} 
[2026-04-17 03:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":45747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:46:58] local.INFO: GPS data processed {"connection_id":45747,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:46:58] local.INFO: Acknowledgment sent {"connection_id":45747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:47:02] local.INFO: TCP Data received {"connection_id":45747,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d985c3910012d7b714005f9e5c00007009132..."} 
[2026-04-17 03:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985c3910012d7b714005f9e5c00007009132..."} 
[2026-04-17 03:47:02] local.INFO: Processing buffer {"connection_id":45747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985c3910012d7b714005f9e5c00007009132..."} 
[2026-04-17 03:47:02] local.INFO: Packet analysis {"connection_id":45747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985c"} 
[2026-04-17 03:47:02] local.INFO: Extracted packet for processing {"connection_id":45747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985c"} 
[2026-04-17 03:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763064640,"raw_latitude":100263360,"longitude_deg":76.306464,"latitude_deg":10.026336,"altitude":7,"angle":145,"satellites":50,"speed":30,"hex_longitude":"2d7b7140","hex_latitude":"05f9e5c0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752681216001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273816027819671552,"note":"Value kept but may cause issues"} 
[2026-04-17 03:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889753846377957376,"note":"Value kept but may cause issues"} 
[2026-04-17 03:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776377674000,"timestamp_ms":1776377674000,"timestamp_seconds":1776377674,"priority":1,"record_length":96,"hex_timestamp":"0000019d985c3910"} 
[2026-04-17 03:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 03:47: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-04-17 03: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-04-17 03:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:47:02] 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-04-17 03:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752681216001,"66":27376,"14":206,"87":10752,"24":30,"16":273816027819671552,"45":8889753846377957376},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,87,24,16,45]} 
[2026-04-17 03:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752681216001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:47:02] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-04-17 03:47:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":10752,"description":"Unknown IO ID 87"} 
[2026-04-17 03:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273816027819671552,"km_value":273816027819671.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889753846377957376,"description":"Unknown IO ID 45"} 
[2026-04-17 03:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752681216001,"power":27376,"unknown_14":206,"unknown_87":10752,"ignition":30,"odometer":null,"unknown_45":8889753846377957376}} 
[2026-04-17 03:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":45747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:47:02] local.INFO: GPS data processed {"connection_id":45747,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:47:02] local.INFO: Acknowledgment sent {"connection_id":45747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:47:05] local.INFO: TCP Data received {"connection_id":45547,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:47:05] local.INFO: Processing buffer {"connection_id":45547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:47:05] local.INFO: IMEI packet received {"connection_id":45547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":45547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:47:10] local.INFO: TCP Data received {"connection_id":45547,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:47:10] local.INFO: Processing buffer {"connection_id":45547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:47:10] local.INFO: IMEI packet received {"connection_id":45547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":45547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:47:12] local.INFO: TCP Data received {"connection_id":45547,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d985b2f70012d10258006e673d80009007c34..."} 
[2026-04-17 03:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985b2f70012d10258006e673d80009007c34..."} 
[2026-04-17 03:47:12] local.INFO: Processing buffer {"connection_id":45547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985b2f70012d10258006e673d80009007c34..."} 
[2026-04-17 03:47:12] local.INFO: Packet analysis {"connection_id":45547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985b"} 
[2026-04-17 03:47:12] local.INFO: Extracted packet for processing {"connection_id":45547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985b"} 
[2026-04-17 03:47:12] local.INFO: GPS Element Parsed {"raw_longitude":756032896,"raw_latitude":115766232,"longitude_deg":75.6032896,"latitude_deg":11.5766232,"altitude":9,"angle":124,"satellites":52,"speed":0,"hex_longitude":"2d102580","hex_latitude":"06e673d8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752661760001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1146588347269621760,"note":"Value kept but may cause issues"} 
[2026-04-17 03:47:12] 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-04-17 03:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776377606000,"timestamp_ms":1776377606000,"timestamp_seconds":1776377606,"priority":1,"record_length":96,"hex_timestamp":"0000019d985b2f70"} 
[2026-04-17 03:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:47: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-04-17 03: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 03:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752661760001,"66":27484,"129":206,"2":56576,"24":0,"16":106618783551979520,"45":1146588347269621760},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-04-17 03:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752661760001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:47:12] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 03:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1146588347269621760,"description":"Unknown IO ID 45"} 
[2026-04-17 03:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752661760001,"power":27484,"unknown_129":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1146588347269621760}} 
[2026-04-17 03:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":45547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18994,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:47:12] local.INFO: GPS data processed {"connection_id":45547,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:47:12] local.INFO: Acknowledgment sent {"connection_id":45547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:47:33] local.INFO: TCP Data received {"connection_id":45747,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d985e09e8012d7c220005f8a160000700ae32..."} 
[2026-04-17 03:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985e09e8012d7c220005f8a160000700ae32..."} 
[2026-04-17 03:47:33] local.INFO: Processing buffer {"connection_id":45747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985e09e8012d7c220005f8a160000700ae32..."} 
[2026-04-17 03:47:33] local.INFO: Packet analysis {"connection_id":45747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985e"} 
[2026-04-17 03:47:33] local.INFO: Extracted packet for processing {"connection_id":45747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985e"} 
[2026-04-17 03:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763109888,"raw_latitude":100180320,"longitude_deg":76.3109888,"latitude_deg":10.018032,"altitude":7,"angle":174,"satellites":50,"speed":38,"hex_longitude":"2d7c2200","hex_latitude":"05f8a160","is_valid_coordinates":true} 
[2026-04-17 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-04-17 03:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752714240001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273820735103827968,"note":"Value kept but may cause issues"} 
[2026-04-17 03:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944782204302307328,"note":"Value kept but may cause issues"} 
[2026-04-17 03:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776377793000,"timestamp_ms":1776377793000,"timestamp_seconds":1776377793,"priority":1,"record_length":96,"hex_timestamp":"0000019d985e09e8"} 
[2026-04-17 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-04-17 03:47: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-04-17 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:47: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-04-17 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-04-17 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-04-17 03:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:47:33] 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-04-17 03:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752714240001,"66":27397,"142":206,"87":12800,"24":38,"16":273820735103827968,"45":8944782204302307328},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-04-17 03:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752714240001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:47:33] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-04-17 03:47:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-17 03:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273820735103827968,"km_value":273820735103827.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944782204302307328,"description":"Unknown IO ID 45"} 
[2026-04-17 03:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752714240001,"power":27397,"unknown_142":206,"unknown_87":12800,"ignition":38,"odometer":null,"unknown_45":8944782204302307328}} 
[2026-04-17 03:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":45747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:47:33] local.INFO: GPS data processed {"connection_id":45747,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:47:33] local.INFO: Acknowledgment sent {"connection_id":45747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:47:44] local.INFO: TCP Data received {"connection_id":45547,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d985c31400100000000000000000000000000..."} 
[2026-04-17 03:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985c31400100000000000000000000000000..."} 
[2026-04-17 03:47:44] local.INFO: Processing buffer {"connection_id":45547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985c31400100000000000000000000000000..."} 
[2026-04-17 03:47:44] local.INFO: Packet analysis {"connection_id":45547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985c"} 
[2026-04-17 03:47:44] local.INFO: Extracted packet for processing {"connection_id":45547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985c"} 
[2026-04-17 03:47:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 03:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:47:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752667136001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:47:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:47:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1163476845869651968,"note":"Value kept but may cause issues"} 
[2026-04-17 03:47:44] 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-04-17 03:47:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776377672000,"timestamp_ms":1776377672000,"timestamp_seconds":1776377672,"priority":1,"record_length":96,"hex_timestamp":"0000019d985c3140"} 
[2026-04-17 03:47:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:47:44] 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-04-17 03:47:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 03:47:44] 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-04-17 03:47:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:47:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:47:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:47:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:47:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:47:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:47:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:47:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:47:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:47:44] local.INFO: DEBUG: GPS processor result {"connection_id":45547,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:47:44] local.INFO: GPS data processed {"connection_id":45547,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:47:44] local.INFO: Acknowledgment sent {"connection_id":45547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:47:53] local.INFO: TCP Data received {"connection_id":45489,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:47:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:47:53] local.INFO: Processing buffer {"connection_id":45489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:47:53] local.INFO: IMEI packet received {"connection_id":45489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:47:53] local.INFO: IMEI acknowledgment sent {"connection_id":45489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:47:57] local.INFO: TCP Data received {"connection_id":45489,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:47:57] local.INFO: Processing buffer {"connection_id":45489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:47:57] local.INFO: IMEI packet received {"connection_id":45489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":45489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:48:02] local.INFO: TCP Data received {"connection_id":45489,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:48:02] local.INFO: Processing buffer {"connection_id":45489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:48:02] local.INFO: IMEI packet received {"connection_id":45489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":45489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:48:03] local.INFO: TCP Data received {"connection_id":45489,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d985e2d10012d7c27c005f87db8000700aa32..."} 
[2026-04-17 03:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985e2d10012d7c27c005f87db8000700aa32..."} 
[2026-04-17 03:48:03] local.INFO: Processing buffer {"connection_id":45489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985e2d10012d7c27c005f87db8000700aa32..."} 
[2026-04-17 03:48:03] local.INFO: Packet analysis {"connection_id":45489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985e"} 
[2026-04-17 03:48:03] local.INFO: Extracted packet for processing {"connection_id":45489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985e"} 
[2026-04-17 03:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763111360,"raw_latitude":100171192,"longitude_deg":76.311136,"latitude_deg":10.0171192,"altitude":7,"angle":170,"satellites":50,"speed":42,"hex_longitude":"2d7c27c0","hex_latitude":"05f87db8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752715008001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273821181780426752,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8944711835557388288,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776377802000,"timestamp_ms":1776377802000,"timestamp_seconds":1776377802,"priority":1,"record_length":96,"hex_timestamp":"0000019d985e2d10"} 
[2026-04-17 03:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:48: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-04-17 03: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":5,"data_length":795,"current_offset":136} 
[2026-04-17 03:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:48:03] 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-04-17 03:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752715008001,"66":27376,"142":206,"87":12800,"24":42,"16":273821181780426752,"45":8944711835557388288},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-04-17 03:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752715008001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:48:03] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-04-17 03:48:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-17 03:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273821181780426752,"km_value":273821181780426.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8944711835557388288,"description":"Unknown IO ID 45"} 
[2026-04-17 03:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752715008001,"power":27376,"unknown_142":206,"unknown_87":12800,"ignition":42,"odometer":null,"unknown_45":8944711835557388288}} 
[2026-04-17 03:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":45489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:48:03] local.INFO: GPS data processed {"connection_id":45489,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:48:03] local.INFO: Acknowledgment sent {"connection_id":45489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:48:04] local.INFO: TCP Data received {"connection_id":45489,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d985e5038012d7c2d4005f85778000700ab32..."} 
[2026-04-17 03:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985e5038012d7c2d4005f85778000700ab32..."} 
[2026-04-17 03:48:04] local.INFO: Processing buffer {"connection_id":45489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985e5038012d7c2d4005f85778000700ab32..."} 
[2026-04-17 03:48:04] local.INFO: Packet analysis {"connection_id":45489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985e"} 
[2026-04-17 03:48:04] local.INFO: Extracted packet for processing {"connection_id":45489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985e"} 
[2026-04-17 03:48:04] local.INFO: GPS Element Parsed {"raw_longitude":763112768,"raw_latitude":100161400,"longitude_deg":76.3112768,"latitude_deg":10.01614,"altitude":7,"angle":171,"satellites":50,"speed":44,"hex_longitude":"2d7c2d40","hex_latitude":"05f85778","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:48:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752717312001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273821662816763904,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8946330316671137792,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:48:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776377811000,"timestamp_ms":1776377811000,"timestamp_seconds":1776377811,"priority":1,"record_length":96,"hex_timestamp":"0000019d985e5038"} 
[2026-04-17 03:48:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:48:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:48:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:48: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-04-17 03: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-04-17 03:48:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:48:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:48:04] local.INFO: Teltonika packet parsed successfully {"connection_id":45489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:48:04] local.INFO: Passing IMEI to GPS processor {"connection_id":45489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:48:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":45489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:48:04] 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-04-17 03:48:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:48:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:48:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752717312001,"66":27343,"142":206,"87":12800,"24":44,"16":273821662816763904,"45":8946330316671137792},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-04-17 03:48:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:48:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:48:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752717312001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:48:04] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-04-17 03:48:04] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-17 03:48:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273821662816763904,"km_value":273821662816763.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:48:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8946330316671137792,"description":"Unknown IO ID 45"} 
[2026-04-17 03:48:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752717312001,"power":27343,"unknown_142":206,"unknown_87":12800,"ignition":44,"odometer":null,"unknown_45":8946330316671137792}} 
[2026-04-17 03:48:04] local.INFO: DEBUG: GPS processor result {"connection_id":45489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:48:04] local.INFO: GPS data processed {"connection_id":45489,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:48:04] local.INFO: Acknowledgment sent {"connection_id":45489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:48:05] local.INFO: TCP Data received {"connection_id":45548,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:48:05] local.INFO: Processing buffer {"connection_id":45548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:48:05] local.INFO: IMEI packet received {"connection_id":45548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":45548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:48:11] local.INFO: TCP Data received {"connection_id":45548,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45548,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:48:11] local.INFO: Processing buffer {"connection_id":45548,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:48:11] local.INFO: IMEI packet received {"connection_id":45548,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":45548,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:48:13] local.INFO: TCP Data received {"connection_id":45548,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d985ba0b8012d10914006e610d8000a009935..."} 
[2026-04-17 03:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985ba0b8012d10914006e610d8000a009935..."} 
[2026-04-17 03:48:13] local.INFO: Processing buffer {"connection_id":45548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985ba0b8012d10914006e610d8000a009935..."} 
[2026-04-17 03:48:13] local.INFO: Packet analysis {"connection_id":45548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985b"} 
[2026-04-17 03:48:13] local.INFO: Extracted packet for processing {"connection_id":45548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985b"} 
[2026-04-17 03:48:13] local.INFO: GPS Element Parsed {"raw_longitude":756060480,"raw_latitude":115740888,"longitude_deg":75.606048,"latitude_deg":11.5740888,"altitude":10,"angle":153,"satellites":53,"speed":40,"hex_longitude":"2d109140","hex_latitude":"06e610d8","is_valid_coordinates":true} 
[2026-04-17 03:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:48:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,129,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:48:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776377635000,"timestamp_ms":1776377635000,"timestamp_seconds":1776377635,"priority":1,"record_length":96,"hex_timestamp":"0000019d985ba0b8"} 
[2026-04-17 03:48:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:48:13] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:48:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 03:48:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:48:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:48:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:48:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:48:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:48:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:48:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:48:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:48:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:48:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:48:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"129":206,"2":56576,"24":40,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16]} 
[2026-04-17 03:48:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:48:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:48:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:48:13] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 03:48:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:48:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_129":206,"power_alt":56576,"ignition":40,"odometer":null}} 
[2026-04-17 03:48:13] local.INFO: DEBUG: GPS processor result {"connection_id":45548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18998,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:48:13] local.INFO: GPS data processed {"connection_id":45548,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:48:13] local.INFO: Acknowledgment sent {"connection_id":45548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:48:36] local.INFO: TCP Data received {"connection_id":45489,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d985e6f78012d7c32c005f83398000800aa34..."} 
[2026-04-17 03:48:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985e6f78012d7c32c005f83398000800aa34..."} 
[2026-04-17 03:48:36] local.INFO: Processing buffer {"connection_id":45489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985e6f78012d7c32c005f83398000800aa34..."} 
[2026-04-17 03:48:36] local.INFO: Packet analysis {"connection_id":45489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985e"} 
[2026-04-17 03:48:36] local.INFO: Extracted packet for processing {"connection_id":45489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985e"} 
[2026-04-17 03:48:36] local.INFO: GPS Element Parsed {"raw_longitude":763114176,"raw_latitude":100152216,"longitude_deg":76.3114176,"latitude_deg":10.0152216,"altitude":8,"angle":170,"satellites":52,"speed":46,"hex_longitude":"2d7c32c0","hex_latitude":"05f83398","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:48:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752719616001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273822109493362688,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947878429040539648,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:48:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776377819000,"timestamp_ms":1776377819000,"timestamp_seconds":1776377819,"priority":1,"record_length":96,"hex_timestamp":"0000019d985e6f78"} 
[2026-04-17 03:48:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:48: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-04-17 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:48:36] 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-04-17 03: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-04-17 03:48:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:48:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:48:36] local.INFO: Teltonika packet parsed successfully {"connection_id":45489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:48:36] local.INFO: Passing IMEI to GPS processor {"connection_id":45489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:48:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":45489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:48:36] 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-04-17 03:48:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:48:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:48:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752719616001,"66":27267,"142":206,"87":12800,"24":46,"16":273822109493362688,"45":8947878429040539648},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-04-17 03:48:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:48:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:48:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752719616001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:48:36] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-04-17 03:48:36] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-17 03:48:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273822109493362688,"km_value":273822109493362.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:48:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947878429040539648,"description":"Unknown IO ID 45"} 
[2026-04-17 03:48:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752719616001,"power":27267,"unknown_142":206,"unknown_87":12800,"ignition":46,"odometer":null,"unknown_45":8947878429040539648}} 
[2026-04-17 03:48:36] local.INFO: DEBUG: GPS processor result {"connection_id":45489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":18999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:48:36] local.INFO: GPS data processed {"connection_id":45489,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:48:36] local.INFO: Acknowledgment sent {"connection_id":45489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:48:44] local.INFO: TCP Data received {"connection_id":45548,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d985ecd38012d1160c006e39850000700b135..."} 
[2026-04-17 03:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985ecd38012d1160c006e39850000700b135..."} 
[2026-04-17 03:48:44] local.INFO: Processing buffer {"connection_id":45548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985ecd38012d1160c006e39850000700b135..."} 
[2026-04-17 03:48:44] local.INFO: Packet analysis {"connection_id":45548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985e"} 
[2026-04-17 03:48:44] local.INFO: Extracted packet for processing {"connection_id":45548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985e"} 
[2026-04-17 03:48:44] local.INFO: GPS Element Parsed {"raw_longitude":756113600,"raw_latitude":115578960,"longitude_deg":75.61136,"latitude_deg":11.557896,"altitude":7,"angle":177,"satellites":53,"speed":0,"hex_longitude":"2d1160c0","hex_latitude":"06e39850","is_valid_coordinates":true} 
[2026-04-17 03:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752722432001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1251015563582081024,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776377843000,"timestamp_ms":1776377843000,"timestamp_seconds":1776377843,"priority":1,"record_length":96,"hex_timestamp":"0000019d985ecd38"} 
[2026-04-17 03:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:48:44] 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-04-17 03:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 03:48:44] 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-04-17 03:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45548,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752722432001,"66":27800,"100":206,"2":56576,"24":0,"16":106618783551979520,"45":1251015563582081024},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,45]} 
[2026-04-17 03:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752722432001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:48:44] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-04-17 03:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1251015563582081024,"description":"Unknown IO ID 45"} 
[2026-04-17 03:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752722432001,"power":27800,"unknown_100":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1251015563582081024}} 
[2026-04-17 03:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":45548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19000,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:48:44] local.INFO: GPS data processed {"connection_id":45548,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:48:44] local.INFO: Acknowledgment sent {"connection_id":45548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:48:52] local.INFO: TCP Data received {"connection_id":46306,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:48:52] local.INFO: Processing buffer {"connection_id":46306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:48:52] local.INFO: IMEI packet received {"connection_id":46306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":46306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:48:53] local.INFO: TCP Data received {"connection_id":46306,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:48:53] local.INFO: Processing buffer {"connection_id":46306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:48:53] local.INFO: IMEI packet received {"connection_id":46306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":46306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:48:53] local.INFO: TCP Data received {"connection_id":46306,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d985e8eb8012d7c384005f80f50000900ac32..."} 
[2026-04-17 03:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985e8eb8012d7c384005f80f50000900ac32..."} 
[2026-04-17 03:48:53] local.INFO: Processing buffer {"connection_id":46306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985e8eb8012d7c384005f80f50000900ac32..."} 
[2026-04-17 03:48:53] local.INFO: Packet analysis {"connection_id":46306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985e"} 
[2026-04-17 03:48:53] local.INFO: Extracted packet for processing {"connection_id":46306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985e"} 
[2026-04-17 03:48:53] local.INFO: GPS Element Parsed {"raw_longitude":763115584,"raw_latitude":100142928,"longitude_deg":76.3115584,"latitude_deg":10.0142928,"altitude":9,"angle":172,"satellites":50,"speed":46,"hex_longitude":"2d7c3840","hex_latitude":"05f80f50","is_valid_coordinates":true} 
[2026-04-17 03:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:48:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752721664001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273822569054863360,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8949426541410097152,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,142,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:48:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776377827000,"timestamp_ms":1776377827000,"timestamp_seconds":1776377827,"priority":1,"record_length":96,"hex_timestamp":"0000019d985e8eb8"} 
[2026-04-17 03:48:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:48: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-04-17 03:48:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 03:48:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:48:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:48:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:48:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:48:53] local.INFO: Teltonika packet parsed successfully {"connection_id":46306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:48:53] local.INFO: Passing IMEI to GPS processor {"connection_id":46306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:48:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":46306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:48:53] 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-04-17 03:48:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:48:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:48:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752721664001,"66":27376,"142":206,"87":12800,"24":46,"16":273822569054863360,"45":8949426541410097152},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,142,87,24,16,45]} 
[2026-04-17 03:48:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:48:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:48:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752721664001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:48:53] local.INFO: Unknown IO ID detected {"io_id":142,"value":206,"description":"Unknown IO ID 142"} 
[2026-04-17 03:48:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-17 03:48:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273822569054863360,"km_value":273822569054863.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:48:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8949426541410097152,"description":"Unknown IO ID 45"} 
[2026-04-17 03:48:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752721664001,"power":27376,"unknown_142":206,"unknown_87":12800,"ignition":46,"odometer":null,"unknown_45":8949426541410097152}} 
[2026-04-17 03:48:53] local.INFO: DEBUG: GPS processor result {"connection_id":46306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:48:53] local.INFO: GPS data processed {"connection_id":46306,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:48:53] local.INFO: Acknowledgment sent {"connection_id":46306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:48:58] local.INFO: TCP Data received {"connection_id":46306,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d985eadf8012d7c3e0005f7ead0000900ab33..."} 
[2026-04-17 03:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985eadf8012d7c3e0005f7ead0000900ab33..."} 
[2026-04-17 03:48:58] local.INFO: Processing buffer {"connection_id":46306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985eadf8012d7c3e0005f7ead0000900ab33..."} 
[2026-04-17 03:48:58] local.INFO: Packet analysis {"connection_id":46306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985e"} 
[2026-04-17 03:48:58] local.INFO: Extracted packet for processing {"connection_id":46306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985e"} 
[2026-04-17 03:48:58] local.INFO: GPS Element Parsed {"raw_longitude":763117056,"raw_latitude":100133584,"longitude_deg":76.3117056,"latitude_deg":10.0133584,"altitude":9,"angle":171,"satellites":51,"speed":46,"hex_longitude":"2d7c3e00","hex_latitude":"05f7ead0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752723712001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273823024321396736,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8950974653779628032,"note":"Value kept but may cause issues"} 
[2026-04-17 03:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776377835000,"timestamp_ms":1776377835000,"timestamp_seconds":1776377835,"priority":1,"record_length":96,"hex_timestamp":"0000019d985eadf8"} 
[2026-04-17 03:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:48: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-04-17 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:48: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-04-17 03: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-04-17 03:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:48:58] 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-04-17 03:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752723712001,"66":27321,"144":206,"87":12800,"24":46,"16":273823024321396736,"45":8950974653779628032},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-04-17 03:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752723712001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:48:58] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-04-17 03:48:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-17 03:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273823024321396736,"km_value":273823024321396.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8950974653779628032,"description":"Unknown IO ID 45"} 
[2026-04-17 03:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752723712001,"power":27321,"unknown_144":206,"unknown_87":12800,"ignition":46,"odometer":null,"unknown_45":8950974653779628032}} 
[2026-04-17 03:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":46306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:48:58] local.INFO: GPS data processed {"connection_id":46306,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:48:58] local.INFO: Acknowledgment sent {"connection_id":46306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:49:05] local.INFO: TCP Data received {"connection_id":45748,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:49:05] local.INFO: Processing buffer {"connection_id":45748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:49:05] local.INFO: IMEI packet received {"connection_id":45748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":45748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:49:11] local.INFO: TCP Data received {"connection_id":45748,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45748,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:49:11] local.INFO: Processing buffer {"connection_id":45748,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:49:11] local.INFO: IMEI packet received {"connection_id":45748,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":45748,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:49:13] local.INFO: TCP Data received {"connection_id":45748,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d985fcf080100000000000000000000000000..."} 
[2026-04-17 03:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985fcf080100000000000000000000000000..."} 
[2026-04-17 03:49:13] local.INFO: Processing buffer {"connection_id":45748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985fcf080100000000000000000000000000..."} 
[2026-04-17 03:49:13] local.INFO: Packet analysis {"connection_id":45748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985f"} 
[2026-04-17 03:49:13] local.INFO: Extracted packet for processing {"connection_id":45748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985f"} 
[2026-04-17 03:49:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 03:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752727808001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1252211832229744640,"note":"Value kept but may cause issues"} 
[2026-04-17 03:49:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776377909000,"timestamp_ms":1776377909000,"timestamp_seconds":1776377909,"priority":1,"record_length":96,"hex_timestamp":"0000019d985fcf08"} 
[2026-04-17 03:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:49:13] 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-04-17 03:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 03:49:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":45748,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:49:13] local.INFO: GPS data processed {"connection_id":45748,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:49:13] local.INFO: Acknowledgment sent {"connection_id":45748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:49:32] local.INFO: TCP Data received {"connection_id":46306,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d985ecd38012d7c440005f7c600000900ac33..."} 
[2026-04-17 03:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985ecd38012d7c440005f7c600000900ac33..."} 
[2026-04-17 03:49:32] local.INFO: Processing buffer {"connection_id":46306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985ecd38012d7c440005f7c600000900ac33..."} 
[2026-04-17 03:49:32] local.INFO: Packet analysis {"connection_id":46306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985e"} 
[2026-04-17 03:49:32] local.INFO: Extracted packet for processing {"connection_id":46306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985e"} 
[2026-04-17 03:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763118592,"raw_latitude":100124160,"longitude_deg":76.3118592,"latitude_deg":10.012416,"altitude":9,"angle":172,"satellites":51,"speed":47,"hex_longitude":"2d7c4400","hex_latitude":"05f7c600","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752725760001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273823488177864704,"note":"Value kept but may cause issues"} 
[2026-04-17 03:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952593134893322240,"note":"Value kept but may cause issues"} 
[2026-04-17 03:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,144,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776377843000,"timestamp_ms":1776377843000,"timestamp_seconds":1776377843,"priority":1,"record_length":96,"hex_timestamp":"0000019d985ecd38"} 
[2026-04-17 03:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":185,"data_length":795,"current_offset":136} 
[2026-04-17 03:49: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-04-17 03: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-04-17 03:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:49:32] 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-04-17 03:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752725760001,"66":27463,"144":206,"87":12800,"24":47,"16":273823488177864704,"45":8952593134893322240},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,144,87,24,16,45]} 
[2026-04-17 03:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752725760001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:49:32] local.INFO: Unknown IO ID detected {"io_id":144,"value":206,"description":"Unknown IO ID 144"} 
[2026-04-17 03:49:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-17 03:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273823488177864704,"km_value":273823488177864.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952593134893322240,"description":"Unknown IO ID 45"} 
[2026-04-17 03:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752725760001,"power":27463,"unknown_144":206,"unknown_87":12800,"ignition":47,"odometer":null,"unknown_45":8952593134893322240}} 
[2026-04-17 03:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":46306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:49:32] local.INFO: GPS data processed {"connection_id":46306,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:49:32] local.INFO: Acknowledgment sent {"connection_id":46306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:49:45] local.INFO: TCP Data received {"connection_id":45748,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d985f32c8012d11640006e36980000e00af31..."} 
[2026-04-17 03:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985f32c8012d11640006e36980000e00af31..."} 
[2026-04-17 03:49:45] local.INFO: Processing buffer {"connection_id":45748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985f32c8012d11640006e36980000e00af31..."} 
[2026-04-17 03:49:45] local.INFO: Packet analysis {"connection_id":45748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985f"} 
[2026-04-17 03:49:45] local.INFO: Extracted packet for processing {"connection_id":45748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985f"} 
[2026-04-17 03:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756114432,"raw_latitude":115566976,"longitude_deg":75.6114432,"latitude_deg":11.5566976,"altitude":14,"angle":175,"satellites":49,"speed":0,"hex_longitude":"2d116400","hex_latitude":"06e36980","is_valid_coordinates":true} 
[2026-04-17 03:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:49:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776377869000,"timestamp_ms":1776377869000,"timestamp_seconds":1776377869,"priority":1,"record_length":96,"hex_timestamp":"0000019d985f32c8"} 
[2026-04-17 03:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:49: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-17 03:49:45] 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-04-17 03:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45748,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27908,"100":206,"2":56576,"24":0,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16]} 
[2026-04-17 03:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:49:45] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-04-17 03:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:49:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27908,"unknown_100":206,"power_alt":56576,"ignition":0,"odometer":null}} 
[2026-04-17 03:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":45748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19004,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:49:45] local.INFO: GPS data processed {"connection_id":45748,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:49:45] local.INFO: Acknowledgment sent {"connection_id":45748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:49:52] local.INFO: TCP Data received {"connection_id":45749,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:49:52] local.INFO: Processing buffer {"connection_id":45749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:49:52] local.INFO: IMEI packet received {"connection_id":45749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":45749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:49:52] local.INFO: TCP Data received {"connection_id":45749,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:49:52] local.INFO: Processing buffer {"connection_id":45749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:49:52] local.INFO: IMEI packet received {"connection_id":45749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":45749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:49:57] local.INFO: TCP Data received {"connection_id":45749,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45749,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:49:57] local.INFO: Processing buffer {"connection_id":45749,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:49:57] local.INFO: IMEI packet received {"connection_id":45749,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":45749,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:49:58] local.INFO: TCP Data received {"connection_id":45749,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98601170012d7c844005f634c0000700aa33..."} 
[2026-04-17 03:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98601170012d7c844005f634c0000700aa33..."} 
[2026-04-17 03:49:58] local.INFO: Processing buffer {"connection_id":45749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98601170012d7c844005f634c0000700aa33..."} 
[2026-04-17 03:49:58] local.INFO: Packet analysis {"connection_id":45749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9860"} 
[2026-04-17 03:49:58] local.INFO: Extracted packet for processing {"connection_id":45749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9860"} 
[2026-04-17 03:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763135040,"raw_latitude":100021440,"longitude_deg":76.313504,"latitude_deg":10.002144,"altitude":7,"angle":170,"satellites":51,"speed":58,"hex_longitude":"2d7c8440","hex_latitude":"05f634c0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752747264001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273828530469470208,"note":"Value kept but may cause issues"} 
[2026-04-17 03:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970607533376653312,"note":"Value kept but may cause issues"} 
[2026-04-17 03:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776377926000,"timestamp_ms":1776377926000,"timestamp_seconds":1776377926,"priority":1,"record_length":96,"hex_timestamp":"0000019d98601170"} 
[2026-04-17 03:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:49: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-04-17 03: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 03:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:49:58] 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-04-17 03:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752747264001,"66":27484,"166":206,"87":12800,"24":58,"16":273828530469470208,"45":8970607533376653312},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,87,24,16,45]} 
[2026-04-17 03:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752747264001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:49:58] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-17 03:49:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-17 03:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273828530469470208,"km_value":273828530469470.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970607533376653312,"description":"Unknown IO ID 45"} 
[2026-04-17 03:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752747264001,"power":27484,"unknown_166":206,"unknown_87":12800,"ignition":58,"odometer":null,"unknown_45":8970607533376653312}} 
[2026-04-17 03:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":45749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:49:58] local.INFO: GPS data processed {"connection_id":45749,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:49:58] local.INFO: Acknowledgment sent {"connection_id":45749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:50:11] local.INFO: TCP Data received {"connection_id":45750,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:50:11] local.INFO: Processing buffer {"connection_id":45750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:50:11] local.INFO: IMEI packet received {"connection_id":45750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:50:11] local.INFO: IMEI acknowledgment sent {"connection_id":45750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:50:16] local.INFO: TCP Data received {"connection_id":45750,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:50:16] local.INFO: Processing buffer {"connection_id":45750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:50:16] local.INFO: IMEI packet received {"connection_id":45750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":45750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:50:17] local.INFO: TCP Data received {"connection_id":45750,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986034980100000000000000000000000000..."} 
[2026-04-17 03:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986034980100000000000000000000000000..."} 
[2026-04-17 03:50:17] local.INFO: Processing buffer {"connection_id":45750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986034980100000000000000000000000000..."} 
[2026-04-17 03:50:17] local.INFO: Packet analysis {"connection_id":45750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9860"} 
[2026-04-17 03:50:17] local.INFO: Extracted packet for processing {"connection_id":45750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9860"} 
[2026-04-17 03:50: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-04-17 03:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752734464001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1253126625900986368,"note":"Value kept but may cause issues"} 
[2026-04-17 03:50:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776377935000,"timestamp_ms":1776377935000,"timestamp_seconds":1776377935,"priority":1,"record_length":96,"hex_timestamp":"0000019d98603498"} 
[2026-04-17 03:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:50:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 03:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":45750,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:50:17] local.INFO: GPS data processed {"connection_id":45750,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:50:17] local.INFO: Acknowledgment sent {"connection_id":45750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:50:19] local.INFO: TCP Data received {"connection_id":45750,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d985fa410012d116bc006e33870001200a634..."} 
[2026-04-17 03:50:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985fa410012d116bc006e33870001200a634..."} 
[2026-04-17 03:50:19] local.INFO: Processing buffer {"connection_id":45750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985fa410012d116bc006e33870001200a634..."} 
[2026-04-17 03:50:19] local.INFO: Packet analysis {"connection_id":45750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985f"} 
[2026-04-17 03:50:19] local.INFO: Extracted packet for processing {"connection_id":45750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985f"} 
[2026-04-17 03:50:19] local.INFO: GPS Element Parsed {"raw_longitude":756116416,"raw_latitude":115554416,"longitude_deg":75.6116416,"latitude_deg":11.5554416,"altitude":18,"angle":166,"satellites":52,"speed":21,"hex_longitude":"2d116bc0","hex_latitude":"06e33870","is_valid_coordinates":true} 
[2026-04-17 03:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:50:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:50:19] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,100,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:50:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776377898000,"timestamp_ms":1776377898000,"timestamp_seconds":1776377898,"priority":1,"record_length":96,"hex_timestamp":"0000019d985fa410"} 
[2026-04-17 03:50:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:50:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:50:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 03:50:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:50:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:50:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:50:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:50:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:50:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:50:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:50:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:50:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:50:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:50:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27843,"100":206,"2":56576,"24":21,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16]} 
[2026-04-17 03:50:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:50:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:50:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:50:19] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-04-17 03:50:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:50:19] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27843,"unknown_100":206,"power_alt":56576,"ignition":21,"odometer":null}} 
[2026-04-17 03:50:19] local.INFO: DEBUG: GPS processor result {"connection_id":45750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19006,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:50:19] local.INFO: GPS data processed {"connection_id":45750,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:50:19] local.INFO: Acknowledgment sent {"connection_id":45750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:50:29] local.INFO: TCP Data received {"connection_id":45749,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98602cc8012d7c8b4005f60d30000600aa31..."} 
[2026-04-17 03:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98602cc8012d7c8b4005f60d30000600aa31..."} 
[2026-04-17 03:50:29] local.INFO: Processing buffer {"connection_id":45749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98602cc8012d7c8b4005f60d30000600aa31..."} 
[2026-04-17 03:50:29] local.INFO: Packet analysis {"connection_id":45749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9860"} 
[2026-04-17 03:50:29] local.INFO: Extracted packet for processing {"connection_id":45749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9860"} 
[2026-04-17 03:50:29] local.INFO: GPS Element Parsed {"raw_longitude":763136832,"raw_latitude":100011312,"longitude_deg":76.3136832,"latitude_deg":10.0011312,"altitude":6,"angle":170,"satellites":49,"speed":57,"hex_longitude":"2d7c8b40","hex_latitude":"05f60d30","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752749056001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273829028685676544,"note":"Value kept but may cause issues"} 
[2026-04-17 03:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972366751978536960,"note":"Value kept but may cause issues"} 
[2026-04-17 03:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776377933000,"timestamp_ms":1776377933000,"timestamp_seconds":1776377933,"priority":1,"record_length":96,"hex_timestamp":"0000019d98602cc8"} 
[2026-04-17 03:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:50: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-04-17 03: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 03:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45749,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:50: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-04-17 03:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752749056001,"66":27463,"166":206,"87":12800,"24":57,"16":273829028685676544,"45":8972366751978536960},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,87,24,16,45]} 
[2026-04-17 03:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752749056001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:50:29] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-17 03:50:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-17 03:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273829028685676544,"km_value":273829028685676.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972366751978536960,"description":"Unknown IO ID 45"} 
[2026-04-17 03:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752749056001,"power":27463,"unknown_166":206,"unknown_87":12800,"ignition":57,"odometer":null,"unknown_45":8972366751978536960}} 
[2026-04-17 03:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":45749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:50:29] local.INFO: GPS data processed {"connection_id":45749,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:50:29] local.INFO: Acknowledgment sent {"connection_id":45749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:50:50] local.INFO: TCP Data received {"connection_id":45750,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d985ff618012d11810006e2f518000b00a232..."} 
[2026-04-17 03:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d985ff618012d11810006e2f518000b00a232..."} 
[2026-04-17 03:50:50] local.INFO: Processing buffer {"connection_id":45750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d985ff618012d11810006e2f518000b00a232..."} 
[2026-04-17 03:50:50] local.INFO: Packet analysis {"connection_id":45750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d985f"} 
[2026-04-17 03:50:50] local.INFO: Extracted packet for processing {"connection_id":45750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d985f"} 
[2026-04-17 03:50:50] local.INFO: GPS Element Parsed {"raw_longitude":756121856,"raw_latitude":115537176,"longitude_deg":75.6121856,"latitude_deg":11.5537176,"altitude":11,"angle":162,"satellites":50,"speed":41,"hex_longitude":"2d118100","hex_latitude":"06e2f518","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752741888001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1255308056967278592,"note":"Value kept but may cause issues"} 
[2026-04-17 03:50:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,100,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776377919000,"timestamp_ms":1776377919000,"timestamp_seconds":1776377919,"priority":1,"record_length":96,"hex_timestamp":"0000019d985ff618"} 
[2026-04-17 03:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:50: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-04-17 03:50:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 03:50:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752741888001,"66":28028,"100":206,"2":56576,"24":41,"16":106618783551979520,"45":1255308056967278592},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,100,2,24,16,45]} 
[2026-04-17 03:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752741888001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:50:50] local.INFO: Unknown IO ID detected {"io_id":100,"value":206,"description":"Unknown IO ID 100"} 
[2026-04-17 03:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1255308056967278592,"description":"Unknown IO ID 45"} 
[2026-04-17 03:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752741888001,"power":28028,"unknown_100":206,"power_alt":56576,"ignition":41,"odometer":null,"unknown_45":1255308056967278592}} 
[2026-04-17 03:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":45750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19008,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:50:50] local.INFO: GPS data processed {"connection_id":45750,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:50:50] local.INFO: Acknowledgment sent {"connection_id":45750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:50:52] local.INFO: TCP Data received {"connection_id":46307,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:50:52] local.INFO: Processing buffer {"connection_id":46307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:50:52] local.INFO: IMEI packet received {"connection_id":46307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":46307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:50:55] local.INFO: TCP Data received {"connection_id":46307,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46307,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:50:55] local.INFO: Processing buffer {"connection_id":46307,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:50:55] local.INFO: IMEI packet received {"connection_id":46307,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":46307,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:50:56] local.INFO: TCP Data received {"connection_id":46307,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98604820012d7c918005f5e6d8000600aa33..."} 
[2026-04-17 03:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98604820012d7c918005f5e6d8000600aa33..."} 
[2026-04-17 03:50:56] local.INFO: Processing buffer {"connection_id":46307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98604820012d7c918005f5e6d8000600aa33..."} 
[2026-04-17 03:50:56] local.INFO: Packet analysis {"connection_id":46307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9860"} 
[2026-04-17 03:50:56] local.INFO: Extracted packet for processing {"connection_id":46307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9860"} 
[2026-04-17 03:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763138432,"raw_latitude":100001496,"longitude_deg":76.3138432,"latitude_deg":10.0001496,"altitude":6,"angle":170,"satellites":51,"speed":55,"hex_longitude":"2d7c9180","hex_latitude":"05f5e6d8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752750848001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273829509722013696,"note":"Value kept but may cause issues"} 
[2026-04-17 03:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974337076812918784,"note":"Value kept but may cause issues"} 
[2026-04-17 03:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776377940000,"timestamp_ms":1776377940000,"timestamp_seconds":1776377940,"priority":1,"record_length":96,"hex_timestamp":"0000019d98604820"} 
[2026-04-17 03:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 03:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:50:56] 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-04-17 03:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752750848001,"66":27397,"166":206,"87":12800,"24":55,"16":273829509722013696,"45":8974337076812918784},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,87,24,16,45]} 
[2026-04-17 03:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752750848001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:50:56] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-17 03:50:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":12800,"description":"Unknown IO ID 87"} 
[2026-04-17 03:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273829509722013696,"km_value":273829509722013.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974337076812918784,"description":"Unknown IO ID 45"} 
[2026-04-17 03:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752750848001,"power":27397,"unknown_166":206,"unknown_87":12800,"ignition":55,"odometer":null,"unknown_45":8974337076812918784}} 
[2026-04-17 03:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":46307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:50:56] local.INFO: GPS data processed {"connection_id":46307,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:50:56] local.INFO: Acknowledgment sent {"connection_id":46307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:51:06] local.INFO: TCP Data received {"connection_id":45490,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:51:06] local.INFO: Processing buffer {"connection_id":45490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:51:06] local.INFO: IMEI packet received {"connection_id":45490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":45490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:51:09] local.INFO: TCP Data received {"connection_id":45490,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:51:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45490,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:51:09] local.INFO: Processing buffer {"connection_id":45490,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:51:09] local.INFO: IMEI packet received {"connection_id":45490,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:51:09] local.INFO: IMEI acknowledgment sent {"connection_id":45490,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:51:10] local.INFO: TCP Data received {"connection_id":45490,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98603c68012d11910006e2a9b8000700b034..."} 
[2026-04-17 03:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98603c68012d11910006e2a9b8000700b034..."} 
[2026-04-17 03:51:10] local.INFO: Processing buffer {"connection_id":45490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98603c68012d11910006e2a9b8000700b034..."} 
[2026-04-17 03:51:10] local.INFO: Packet analysis {"connection_id":45490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9860"} 
[2026-04-17 03:51:10] local.INFO: Extracted packet for processing {"connection_id":45490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9860"} 
[2026-04-17 03:51:10] local.INFO: GPS Element Parsed {"raw_longitude":756125952,"raw_latitude":115517880,"longitude_deg":75.6125952,"latitude_deg":11.551788,"altitude":7,"angle":176,"satellites":52,"speed":42,"hex_longitude":"2d119100","hex_latitude":"06e2a9b8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752747264001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1261289400217966592,"note":"Value kept but may cause issues"} 
[2026-04-17 03:51:10] 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-04-17 03:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776377937000,"timestamp_ms":1776377937000,"timestamp_seconds":1776377937,"priority":1,"record_length":96,"hex_timestamp":"0000019d98603c68"} 
[2026-04-17 03:51:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:51: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-04-17 03: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 03:51:10] 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-04-17 03: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-04-17 03:51:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752747264001,"66":27876,"102":206,"2":56576,"24":42,"16":106618783551979520,"45":1261289400217966592},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,2,24,16,45]} 
[2026-04-17 03:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752747264001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:51:10] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-04-17 03:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1261289400217966592,"description":"Unknown IO ID 45"} 
[2026-04-17 03:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752747264001,"power":27876,"unknown_102":206,"power_alt":56576,"ignition":42,"odometer":null,"unknown_45":1261289400217966592}} 
[2026-04-17 03:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":45490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19010,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:51:10] local.INFO: GPS data processed {"connection_id":45490,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:51:10] local.INFO: Acknowledgment sent {"connection_id":45490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:51:27] local.INFO: TCP Data received {"connection_id":46307,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9861ab98012d7ce14005f40958000900aa32..."} 
[2026-04-17 03:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9861ab98012d7ce14005f40958000900aa32..."} 
[2026-04-17 03:51:27] local.INFO: Processing buffer {"connection_id":46307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9861ab98012d7ce14005f40958000900aa32..."} 
[2026-04-17 03:51:27] local.INFO: Packet analysis {"connection_id":46307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9861"} 
[2026-04-17 03:51:27] local.INFO: Extracted packet for processing {"connection_id":46307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9861"} 
[2026-04-17 03:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763158848,"raw_latitude":99879256,"longitude_deg":76.3158848,"latitude_deg":9.9879256,"altitude":9,"angle":170,"satellites":50,"speed":53,"hex_longitude":"2d7ce140","hex_latitude":"05f40958","is_valid_coordinates":true} 
[2026-04-17 03:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752774144001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273835518381260800,"note":"Value kept but may cause issues"} 
[2026-04-17 03:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8996925443662512128,"note":"Value kept but may cause issues"} 
[2026-04-17 03:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776378031000,"timestamp_ms":1776378031000,"timestamp_seconds":1776378031,"priority":1,"record_length":96,"hex_timestamp":"0000019d9861ab98"} 
[2026-04-17 03:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 03:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46307,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752774144001,"66":27376,"250":206,"87":13056,"24":53,"16":273835518381260800,"45":8996925443662512128},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-04-17 03:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752774144001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:51:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 03:51:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-04-17 03:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273835518381260800,"km_value":273835518381260.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8996925443662512128,"description":"Unknown IO ID 45"} 
[2026-04-17 03:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752774144001,"power":27376,"unknown_250":206,"unknown_87":13056,"ignition":53,"odometer":null,"unknown_45":8996925443662512128}} 
[2026-04-17 03:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":46307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:51:27] local.INFO: GPS data processed {"connection_id":46307,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:51:27] local.INFO: Acknowledgment sent {"connection_id":46307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:51:41] local.INFO: TCP Data received {"connection_id":45490,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98608e70012d118a8006e25ce8000800ba30..."} 
[2026-04-17 03:51:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98608e70012d118a8006e25ce8000800ba30..."} 
[2026-04-17 03:51:41] local.INFO: Processing buffer {"connection_id":45490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98608e70012d118a8006e25ce8000800ba30..."} 
[2026-04-17 03:51:41] local.INFO: Packet analysis {"connection_id":45490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9860"} 
[2026-04-17 03:51:41] local.INFO: Extracted packet for processing {"connection_id":45490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9860"} 
[2026-04-17 03:51:41] local.INFO: GPS Element Parsed {"raw_longitude":756124288,"raw_latitude":115498216,"longitude_deg":75.6124288,"latitude_deg":11.5498216,"altitude":8,"angle":186,"satellites":48,"speed":0,"hex_longitude":"2d118a80","hex_latitude":"06e25ce8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:51:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752751872001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:51:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:51:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1265792999840397312,"note":"Value kept but may cause issues"} 
[2026-04-17 03:51:41] 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-04-17 03:51:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776377958000,"timestamp_ms":1776377958000,"timestamp_seconds":1776377958,"priority":1,"record_length":96,"hex_timestamp":"0000019d98608e70"} 
[2026-04-17 03:51:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:51:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 03:51:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:51:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:51:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:51:41] local.INFO: Teltonika packet parsed successfully {"connection_id":45490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:51:41] local.INFO: Passing IMEI to GPS processor {"connection_id":45490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:51:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":45490,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:51:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:51:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:51:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:51:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752751872001,"66":27745,"102":206,"2":56576,"24":0,"16":106618783551979520,"45":1265792999840397312},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,2,24,16,45]} 
[2026-04-17 03:51:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:51:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:51:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752751872001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:51:41] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-04-17 03:51:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:51:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1265792999840397312,"description":"Unknown IO ID 45"} 
[2026-04-17 03:51:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752751872001,"power":27745,"unknown_102":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1265792999840397312}} 
[2026-04-17 03:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":45490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19012,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:51:42] local.INFO: GPS data processed {"connection_id":45490,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:51:42] local.INFO: Acknowledgment sent {"connection_id":45490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:51:58] local.INFO: TCP Data received {"connection_id":46308,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:51:58] local.INFO: Processing buffer {"connection_id":46308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:51:58] local.INFO: IMEI packet received {"connection_id":46308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:51:58] local.INFO: IMEI acknowledgment sent {"connection_id":46308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:51:59] local.INFO: TCP Data received {"connection_id":46308,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46308,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:51:59] local.INFO: Processing buffer {"connection_id":46308,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:51:59] local.INFO: IMEI packet received {"connection_id":46308,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:51:59] local.INFO: IMEI acknowledgment sent {"connection_id":46308,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:52:01] local.INFO: TCP Data received {"connection_id":46308,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9861c6f0012d7ce78005f3e518000800aa33..."} 
[2026-04-17 03:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9861c6f0012d7ce78005f3e518000800aa33..."} 
[2026-04-17 03:52:01] local.INFO: Processing buffer {"connection_id":46308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9861c6f0012d7ce78005f3e518000800aa33..."} 
[2026-04-17 03:52:01] local.INFO: Packet analysis {"connection_id":46308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9861"} 
[2026-04-17 03:52:01] local.INFO: Extracted packet for processing {"connection_id":46308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9861"} 
[2026-04-17 03:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763160448,"raw_latitude":99869976,"longitude_deg":76.3160448,"latitude_deg":9.9869976,"altitude":8,"angle":170,"satellites":51,"speed":52,"hex_longitude":"2d7ce780","hex_latitude":"05f3e518","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752775936001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273835973647794176,"note":"Value kept but may cause issues"} 
[2026-04-17 03:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8998543924776228864,"note":"Value kept but may cause issues"} 
[2026-04-17 03:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776378038000,"timestamp_ms":1776378038000,"timestamp_seconds":1776378038,"priority":1,"record_length":96,"hex_timestamp":"0000019d9861c6f0"} 
[2026-04-17 03:52:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:52:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:52:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:52: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-04-17 03:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752775936001,"66":27376,"250":206,"87":13056,"24":52,"16":273835973647794176,"45":8998543924776228864},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,87,24,16,45]} 
[2026-04-17 03:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752775936001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:52:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 03:52:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-04-17 03:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273835973647794176,"km_value":273835973647794.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8998543924776228864,"description":"Unknown IO ID 45"} 
[2026-04-17 03:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752775936001,"power":27376,"unknown_250":206,"unknown_87":13056,"ignition":52,"odometer":null,"unknown_45":8998543924776228864}} 
[2026-04-17 03:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":46308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:52:01] local.INFO: GPS data processed {"connection_id":46308,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:52:01] local.INFO: Acknowledgment sent {"connection_id":46308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:52:02] local.INFO: TCP Data received {"connection_id":46308,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9861e248012d7ced8005f3c1a8000800ab33..."} 
[2026-04-17 03:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9861e248012d7ced8005f3c1a8000800ab33..."} 
[2026-04-17 03:52:02] local.INFO: Processing buffer {"connection_id":46308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9861e248012d7ced8005f3c1a8000800ab33..."} 
[2026-04-17 03:52:02] local.INFO: Packet analysis {"connection_id":46308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9861"} 
[2026-04-17 03:52:02] local.INFO: Extracted packet for processing {"connection_id":46308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9861"} 
[2026-04-17 03:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763161984,"raw_latitude":99860904,"longitude_deg":76.3161984,"latitude_deg":9.9860904,"altitude":8,"angle":171,"satellites":51,"speed":51,"hex_longitude":"2d7ced80","hex_latitude":"05f3c1a8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752777728001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273836420324392960,"note":"Value kept but may cause issues"} 
[2026-04-17 03:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9000303143378294784,"note":"Value kept but may cause issues"} 
[2026-04-17 03:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776378045000,"timestamp_ms":1776378045000,"timestamp_seconds":1776378045,"priority":1,"record_length":96,"hex_timestamp":"0000019d9861e248"} 
[2026-04-17 03:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:52:02] 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-04-17 03:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752777728001,"66":27300,"249":206,"87":13056,"24":51,"16":273836420324392960,"45":9000303143378294784},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,87,24,16,45]} 
[2026-04-17 03:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752777728001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:52:02] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-17 03:52:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-04-17 03:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273836420324392960,"km_value":273836420324392.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9000303143378294784,"description":"Unknown IO ID 45"} 
[2026-04-17 03:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752777728001,"power":27300,"unknown_249":206,"unknown_87":13056,"ignition":51,"odometer":null,"unknown_45":9000303143378294784}} 
[2026-04-17 03:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":46308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:52:02] local.INFO: GPS data processed {"connection_id":46308,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:52:02] local.INFO: Acknowledgment sent {"connection_id":46308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:52:06] local.INFO: TCP Data received {"connection_id":45751,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:52:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:52:06] local.INFO: Processing buffer {"connection_id":45751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:52:06] local.INFO: IMEI packet received {"connection_id":45751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:52:06] local.INFO: IMEI acknowledgment sent {"connection_id":45751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:52:11] local.INFO: TCP Data received {"connection_id":45751,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:52:11] local.INFO: Processing buffer {"connection_id":45751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:52:11] local.INFO: IMEI packet received {"connection_id":45751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":45751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:52:12] local.INFO: TCP Data received {"connection_id":45751,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9860e078012d11838006e215b0000a00b331..."} 
[2026-04-17 03:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9860e078012d11838006e215b0000a00b331..."} 
[2026-04-17 03:52:12] local.INFO: Processing buffer {"connection_id":45751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9860e078012d11838006e215b0000a00b331..."} 
[2026-04-17 03:52:12] local.INFO: Packet analysis {"connection_id":45751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9860"} 
[2026-04-17 03:52:12] local.INFO: Extracted packet for processing {"connection_id":45751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9860"} 
[2026-04-17 03:52:12] local.INFO: GPS Element Parsed {"raw_longitude":756122496,"raw_latitude":115479984,"longitude_deg":75.6122496,"latitude_deg":11.5479984,"altitude":10,"angle":179,"satellites":49,"speed":0,"hex_longitude":"2d118380","hex_latitude":"06e215b0","is_valid_coordinates":true} 
[2026-04-17 03:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:52:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752757248001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:52:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:52:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1263963412486744064,"note":"Value kept but may cause issues"} 
[2026-04-17 03:52:12] 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-04-17 03:52:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776377979000,"timestamp_ms":1776377979000,"timestamp_seconds":1776377979,"priority":1,"record_length":96,"hex_timestamp":"0000019d9860e078"} 
[2026-04-17 03:52:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:52: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-04-17 03:52:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 03:52: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-04-17 03:52:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:52:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:52:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:52:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:52:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:52:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:52:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:52:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:52:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:52:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752757248001,"66":27821,"2":56576,"24":0,"16":106618783551979520,"45":1263963412486744064},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-04-17 03:52:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:52:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:52:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752757248001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:52:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:52:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1263963412486744064,"description":"Unknown IO ID 45"} 
[2026-04-17 03:52:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454752757248001,"power":27821,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1263963412486744064}} 
[2026-04-17 03:52:12] local.INFO: DEBUG: GPS processor result {"connection_id":45751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19015,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:52:12] local.INFO: GPS data processed {"connection_id":45751,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:52:12] local.INFO: Acknowledgment sent {"connection_id":45751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:52:33] local.INFO: TCP Data received {"connection_id":46308,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9861fda0012d7cf30005f39eb8000700aa34..."} 
[2026-04-17 03:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9861fda0012d7cf30005f39eb8000700aa34..."} 
[2026-04-17 03:52:33] local.INFO: Processing buffer {"connection_id":46308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9861fda0012d7cf30005f39eb8000700aa34..."} 
[2026-04-17 03:52:33] local.INFO: Packet analysis {"connection_id":46308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9861"} 
[2026-04-17 03:52:33] local.INFO: Extracted packet for processing {"connection_id":46308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9861"} 
[2026-04-17 03:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763163392,"raw_latitude":99851960,"longitude_deg":76.3163392,"latitude_deg":9.985196,"altitude":7,"angle":170,"satellites":52,"speed":51,"hex_longitude":"2d7cf300","hex_latitude":"05f39eb8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752779520001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273836858411057152,"note":"Value kept but may cause issues"} 
[2026-04-17 03:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001991993236236288,"note":"Value kept but may cause issues"} 
[2026-04-17 03:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776378052000,"timestamp_ms":1776378052000,"timestamp_seconds":1776378052,"priority":1,"record_length":96,"hex_timestamp":"0000019d9861fda0"} 
[2026-04-17 03:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:52: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-04-17 03: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 03:52: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-04-17 03: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-04-17 03:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46308,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:52:33] 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-04-17 03:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752779520001,"66":27343,"249":206,"87":13056,"24":51,"16":273836858411057152,"45":9001991993236236288},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,87,24,16,45]} 
[2026-04-17 03:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752779520001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:52:33] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-17 03:52:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-04-17 03:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273836858411057152,"km_value":273836858411057.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001991993236236288,"description":"Unknown IO ID 45"} 
[2026-04-17 03:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752779520001,"power":27343,"unknown_249":206,"unknown_87":13056,"ignition":51,"odometer":null,"unknown_45":9001991993236236288}} 
[2026-04-17 03:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":46308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:52:33] local.INFO: GPS data processed {"connection_id":46308,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:52:33] local.INFO: Acknowledgment sent {"connection_id":46308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:52:44] local.INFO: TCP Data received {"connection_id":45751,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9861e2480100000000000000000000000000..."} 
[2026-04-17 03:52:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9861e2480100000000000000000000000000..."} 
[2026-04-17 03:52:44] local.INFO: Processing buffer {"connection_id":45751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9861e2480100000000000000000000000000..."} 
[2026-04-17 03:52:44] local.INFO: Packet analysis {"connection_id":45751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9861"} 
[2026-04-17 03:52:44] local.INFO: Extracted packet for processing {"connection_id":45751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9861"} 
[2026-04-17 03:52:44] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:52:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752762624001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:52:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:52:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1261993087645102080,"note":"Value kept but may cause issues"} 
[2026-04-17 03:52:44] 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-04-17 03:52:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776378045000,"timestamp_ms":1776378045000,"timestamp_seconds":1776378045,"priority":1,"record_length":96,"hex_timestamp":"0000019d9861e248"} 
[2026-04-17 03:52:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:52:44] 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-04-17 03: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 03:52:44] 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-04-17 03: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-04-17 03:52:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:52:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:52:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:52:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:52:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:52:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:52:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:52:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:52:44] local.INFO: DEBUG: GPS processor result {"connection_id":45751,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:52:44] local.INFO: GPS data processed {"connection_id":45751,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:52:44] local.INFO: Acknowledgment sent {"connection_id":45751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:52:50] local.INFO: TCP Data received {"connection_id":45752,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:52:50] local.INFO: Processing buffer {"connection_id":45752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:52:50] local.INFO: IMEI packet received {"connection_id":45752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":45752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:52:52] local.INFO: TCP Data received {"connection_id":45752,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:52:52] local.INFO: Processing buffer {"connection_id":45752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:52:52] local.INFO: IMEI packet received {"connection_id":45752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":45752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:52:57] local.INFO: TCP Data received {"connection_id":45752,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45752,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:52:57] local.INFO: Processing buffer {"connection_id":45752,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:52:57] local.INFO: IMEI packet received {"connection_id":45752,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":45752,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:52:58] local.INFO: TCP Data received {"connection_id":45752,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d986218f8012d7cf90005f37c10000700aa33..."} 
[2026-04-17 03:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986218f8012d7cf90005f37c10000700aa33..."} 
[2026-04-17 03:52:58] local.INFO: Processing buffer {"connection_id":45752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986218f8012d7cf90005f37c10000700aa33..."} 
[2026-04-17 03:52:58] local.INFO: Packet analysis {"connection_id":45752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9862"} 
[2026-04-17 03:52:58] local.INFO: Extracted packet for processing {"connection_id":45752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9862"} 
[2026-04-17 03:52:58] local.INFO: GPS Element Parsed {"raw_longitude":763164928,"raw_latitude":99843088,"longitude_deg":76.3164928,"latitude_deg":9.9843088,"altitude":7,"angle":170,"satellites":51,"speed":50,"hex_longitude":"2d7cf900","hex_latitude":"05f37c10","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752781312001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273837296497721344,"note":"Value kept but may cause issues"} 
[2026-04-17 03:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003540105605855232,"note":"Value kept but may cause issues"} 
[2026-04-17 03:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776378059000,"timestamp_ms":1776378059000,"timestamp_seconds":1776378059,"priority":1,"record_length":96,"hex_timestamp":"0000019d986218f8"} 
[2026-04-17 03:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:52: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-04-17 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:52:58] 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-04-17 03: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-04-17 03:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:52:58] 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-04-17 03:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752781312001,"66":27463,"249":206,"87":13056,"24":50,"16":273837296497721344,"45":9003540105605855232},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,87,24,16,45]} 
[2026-04-17 03:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752781312001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:52:58] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-17 03:52:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-04-17 03:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273837296497721344,"km_value":273837296497721.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003540105605855232,"description":"Unknown IO ID 45"} 
[2026-04-17 03:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752781312001,"power":27463,"unknown_249":206,"unknown_87":13056,"ignition":50,"odometer":null,"unknown_45":9003540105605855232}} 
[2026-04-17 03:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":45752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:52:58] local.INFO: GPS data processed {"connection_id":45752,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:52:58] local.INFO: Acknowledgment sent {"connection_id":45752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:53:06] local.INFO: TCP Data received {"connection_id":45549,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:53:06] local.INFO: Processing buffer {"connection_id":45549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:53:06] local.INFO: IMEI packet received {"connection_id":45549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":45549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:53:11] local.INFO: TCP Data received {"connection_id":45549,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:53:11] local.INFO: Processing buffer {"connection_id":45549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:53:11] local.INFO: IMEI packet received {"connection_id":45549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":45549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:53:12] local.INFO: TCP Data received {"connection_id":45549,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98615990012d11944006e199a0000700ac2e..."} 
[2026-04-17 03:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98615990012d11944006e199a0000700ac2e..."} 
[2026-04-17 03:53:12] local.INFO: Processing buffer {"connection_id":45549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98615990012d11944006e199a0000700ac2e..."} 
[2026-04-17 03:53:12] local.INFO: Packet analysis {"connection_id":45549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9861"} 
[2026-04-17 03:53:12] local.INFO: Extracted packet for processing {"connection_id":45549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9861"} 
[2026-04-17 03:53:12] local.INFO: GPS Element Parsed {"raw_longitude":756126784,"raw_latitude":115448224,"longitude_deg":75.6126784,"latitude_deg":11.5448224,"altitude":7,"angle":172,"satellites":46,"speed":5,"hex_longitude":"2d119440","hex_latitude":"06e199a0","is_valid_coordinates":true} 
[2026-04-17 03:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:53:12] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,2,24,16],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-04-17 03:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776378010000,"timestamp_ms":1776378010000,"timestamp_seconds":1776378010,"priority":1,"record_length":96,"hex_timestamp":"0000019d98615990"} 
[2026-04-17 03:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:53: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 03:53:12] 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-04-17 03:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27876,"2":56576,"24":5,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16]} 
[2026-04-17 03:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:53:12] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":0,"power":27876,"power_alt":56576,"ignition":5,"odometer":null}} 
[2026-04-17 03:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":45549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19018,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:53:12] local.INFO: GPS data processed {"connection_id":45549,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:53:12] local.INFO: Acknowledgment sent {"connection_id":45549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:53:29] local.INFO: TCP Data received {"connection_id":45752,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d986374a0012d7d31c005f1cab0000c00ae33..."} 
[2026-04-17 03:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986374a0012d7d31c005f1cab0000c00ae33..."} 
[2026-04-17 03:53:29] local.INFO: Processing buffer {"connection_id":45752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986374a0012d7d31c005f1cab0000c00ae33..."} 
[2026-04-17 03:53:29] local.INFO: Packet analysis {"connection_id":45752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9863"} 
[2026-04-17 03:53:29] local.INFO: Extracted packet for processing {"connection_id":45752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9863"} 
[2026-04-17 03:53:29] local.INFO: GPS Element Parsed {"raw_longitude":763179456,"raw_latitude":99732144,"longitude_deg":76.3179456,"latitude_deg":9.9732144,"altitude":12,"angle":174,"satellites":51,"speed":46,"hex_longitude":"2d7d31c0","hex_latitude":"05f1cab0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752803840001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273842721041416192,"note":"Value kept but may cause issues"} 
[2026-04-17 03:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020217497947666432,"note":"Value kept but may cause issues"} 
[2026-04-17 03:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776378148000,"timestamp_ms":1776378148000,"timestamp_seconds":1776378148,"priority":1,"record_length":96,"hex_timestamp":"0000019d986374a0"} 
[2026-04-17 03:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:53: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-04-17 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45752,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:53: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-04-17 03:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752803840001,"66":27365,"137":206,"87":13056,"24":46,"16":273842721041416192,"45":9020217497947666432},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-04-17 03:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752803840001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:53:29] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-17 03:53:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-04-17 03:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273842721041416192,"km_value":273842721041416.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020217497947666432,"description":"Unknown IO ID 45"} 
[2026-04-17 03:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752803840001,"power":27365,"unknown_137":206,"unknown_87":13056,"ignition":46,"odometer":null,"unknown_45":9020217497947666432}} 
[2026-04-17 03:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":45752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:53:29] local.INFO: GPS data processed {"connection_id":45752,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:53:29] local.INFO: Acknowledgment sent {"connection_id":45752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:53:45] local.INFO: TCP Data received {"connection_id":45549,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9861ab98012d11944006e199a0000700ac2e..."} 
[2026-04-17 03:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9861ab98012d11944006e199a0000700ac2e..."} 
[2026-04-17 03:53:45] local.INFO: Processing buffer {"connection_id":45549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9861ab98012d11944006e199a0000700ac2e..."} 
[2026-04-17 03:53:45] local.INFO: Packet analysis {"connection_id":45549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9861"} 
[2026-04-17 03:53:45] local.INFO: Extracted packet for processing {"connection_id":45549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9861"} 
[2026-04-17 03:53:45] local.INFO: GPS Element Parsed {"raw_longitude":756126784,"raw_latitude":115448224,"longitude_deg":75.6126784,"latitude_deg":11.5448224,"altitude":7,"angle":172,"satellites":46,"speed":0,"hex_longitude":"2d119440","hex_latitude":"06e199a0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752770560001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1266707793496875008,"note":"Value kept but may cause issues"} 
[2026-04-17 03:53:45] 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-04-17 03:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776378031000,"timestamp_ms":1776378031000,"timestamp_seconds":1776378031,"priority":1,"record_length":96,"hex_timestamp":"0000019d9861ab98"} 
[2026-04-17 03:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:53: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-04-17 03: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-04-17 03: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-04-17 03: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-04-17 03:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752770560001,"66":27908,"2":56576,"24":0,"16":106618783551979520,"45":1266707793496875008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16,45]} 
[2026-04-17 03:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752770560001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1266707793496875008,"description":"Unknown IO ID 45"} 
[2026-04-17 03:53:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454752770560001,"power":27908,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1266707793496875008}} 
[2026-04-17 03:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":45549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19020,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:53:45] local.INFO: GPS data processed {"connection_id":45549,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:53:45] local.INFO: Acknowledgment sent {"connection_id":45549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:53:57] local.INFO: TCP Data received {"connection_id":45753,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:53:57] local.INFO: Processing buffer {"connection_id":45753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:53:57] local.INFO: IMEI packet received {"connection_id":45753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":45753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:53:58] local.INFO: TCP Data received {"connection_id":45753,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:53:58] local.INFO: Processing buffer {"connection_id":45753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:53:58] local.INFO: IMEI packet received {"connection_id":45753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:53:58] local.INFO: IMEI acknowledgment sent {"connection_id":45753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:53:59] local.INFO: TCP Data received {"connection_id":45753,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d986393e0012d7d350005f1a4b0000900b031..."} 
[2026-04-17 03:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986393e0012d7d350005f1a4b0000900b031..."} 
[2026-04-17 03:53:59] local.INFO: Processing buffer {"connection_id":45753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986393e0012d7d350005f1a4b0000900b031..."} 
[2026-04-17 03:53:59] local.INFO: Packet analysis {"connection_id":45753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9863"} 
[2026-04-17 03:53:59] local.INFO: Extracted packet for processing {"connection_id":45753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9863"} 
[2026-04-17 03:53:59] local.INFO: GPS Element Parsed {"raw_longitude":763180288,"raw_latitude":99722416,"longitude_deg":76.3180288,"latitude_deg":9.9722416,"altitude":9,"angle":176,"satellites":49,"speed":46,"hex_longitude":"2d7d3500","hex_latitude":"05f1a4b0","is_valid_coordinates":true} 
[2026-04-17 03:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752805888001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273843193487818752,"note":"Value kept but may cause issues"} 
[2026-04-17 03:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021202660363776000,"note":"Value kept but may cause issues"} 
[2026-04-17 03:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776378156000,"timestamp_ms":1776378156000,"timestamp_seconds":1776378156,"priority":1,"record_length":96,"hex_timestamp":"0000019d986393e0"} 
[2026-04-17 03:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 03:53: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-04-17 03:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752805888001,"66":27267,"137":206,"87":13056,"24":46,"16":273843193487818752,"45":9021202660363776000},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,87,24,16,45]} 
[2026-04-17 03:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752805888001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:53:59] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-17 03:53:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13056,"description":"Unknown IO ID 87"} 
[2026-04-17 03:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273843193487818752,"km_value":273843193487818.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021202660363776000,"description":"Unknown IO ID 45"} 
[2026-04-17 03:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752805888001,"power":27267,"unknown_137":206,"unknown_87":13056,"ignition":46,"odometer":null,"unknown_45":9021202660363776000}} 
[2026-04-17 03:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":45753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:53:59] local.INFO: GPS data processed {"connection_id":45753,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:53:59] local.INFO: Acknowledgment sent {"connection_id":45753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:54:02] local.INFO: TCP Data received {"connection_id":45753,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9863b320012d7d374005f180f8000800af32..."} 
[2026-04-17 03:54:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9863b320012d7d374005f180f8000800af32..."} 
[2026-04-17 03:54:02] local.INFO: Processing buffer {"connection_id":45753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9863b320012d7d374005f180f8000800af32..."} 
[2026-04-17 03:54:02] local.INFO: Packet analysis {"connection_id":45753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9863"} 
[2026-04-17 03:54:02] local.INFO: Extracted packet for processing {"connection_id":45753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9863"} 
[2026-04-17 03:54:02] local.INFO: GPS Element Parsed {"raw_longitude":763180864,"raw_latitude":99713272,"longitude_deg":76.3180864,"latitude_deg":9.9713272,"altitude":8,"angle":175,"satellites":50,"speed":47,"hex_longitude":"2d7d3740","hex_latitude":"05f180f8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:54:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752807936001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:54:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273843640164417536,"note":"Value kept but may cause issues"} 
[2026-04-17 03:54:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022117454035595264,"note":"Value kept but may cause issues"} 
[2026-04-17 03:54:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:54:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776378164000,"timestamp_ms":1776378164000,"timestamp_seconds":1776378164,"priority":1,"record_length":96,"hex_timestamp":"0000019d9863b320"} 
[2026-04-17 03:54:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:54:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:54:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 03:54:02] 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-04-17 03: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-04-17 03:54:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:54:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:54:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:54:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:54:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:54:02] 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-04-17 03:54:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:54:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:54:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752807936001,"66":27397,"116":206,"87":11264,"24":47,"16":273843640164417536,"45":9022117454035595264},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-04-17 03:54:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:54:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:54:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752807936001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:54:02] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-04-17 03:54:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-04-17 03:54:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273843640164417536,"km_value":273843640164417.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:54:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022117454035595264,"description":"Unknown IO ID 45"} 
[2026-04-17 03:54:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752807936001,"power":27397,"unknown_116":206,"unknown_87":11264,"ignition":47,"odometer":null,"unknown_45":9022117454035595264}} 
[2026-04-17 03:54:02] local.INFO: DEBUG: GPS processor result {"connection_id":45753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19022,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:54:02] local.INFO: GPS data processed {"connection_id":45753,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:54:02] local.INFO: Acknowledgment sent {"connection_id":45753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:54:05] local.INFO: TCP Data received {"connection_id":45491,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:54:05] local.INFO: Processing buffer {"connection_id":45491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:54:05] local.INFO: IMEI packet received {"connection_id":45491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":45491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:54:08] local.INFO: TCP Data received {"connection_id":45491,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:54:08] local.INFO: Processing buffer {"connection_id":45491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:54:08] local.INFO: IMEI packet received {"connection_id":45491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":45491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:54:10] local.INFO: TCP Data received {"connection_id":45491,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45491,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:54:10] local.INFO: Processing buffer {"connection_id":45491,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:54:10] local.INFO: IMEI packet received {"connection_id":45491,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":45491,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:54:12] local.INFO: TCP Data received {"connection_id":45491,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9862ad680100000000000000000000000000..."} 
[2026-04-17 03:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9862ad680100000000000000000000000000..."} 
[2026-04-17 03:54:12] local.INFO: Processing buffer {"connection_id":45491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9862ad680100000000000000000000000000..."} 
[2026-04-17 03:54:12] local.INFO: Packet analysis {"connection_id":45491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9862"} 
[2026-04-17 03:54:12] local.INFO: Extracted packet for processing {"connection_id":45491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9862"} 
[2026-04-17 03:54: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-04-17 03: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-04-17 03:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752775936001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1266707793496875008,"note":"Value kept but may cause issues"} 
[2026-04-17 03:54:12] 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-04-17 03:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776378097000,"timestamp_ms":1776378097000,"timestamp_seconds":1776378097,"priority":1,"record_length":96,"hex_timestamp":"0000019d9862ad68"} 
[2026-04-17 03:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:54:12] 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-04-17 03: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 03:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":45491,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:54:12] local.INFO: GPS data processed {"connection_id":45491,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:54:12] local.INFO: Acknowledgment sent {"connection_id":45491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:54:42] local.INFO: TCP Data received {"connection_id":45753,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9863da30012d7d39c005f15c58000a00af32..."} 
[2026-04-17 03:54:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9863da30012d7d39c005f15c58000a00af32..."} 
[2026-04-17 03:54:42] local.INFO: Processing buffer {"connection_id":45753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9863da30012d7d39c005f15c58000a00af32..."} 
[2026-04-17 03:54:42] local.INFO: Packet analysis {"connection_id":45753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9863"} 
[2026-04-17 03:54:42] local.INFO: Extracted packet for processing {"connection_id":45753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9863"} 
[2026-04-17 03:54:42] local.INFO: GPS Element Parsed {"raw_longitude":763181504,"raw_latitude":99703896,"longitude_deg":76.3181504,"latitude_deg":9.9703896,"altitude":10,"angle":175,"satellites":50,"speed":28,"hex_longitude":"2d7d39c0","hex_latitude":"05f15c58","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:54:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752809984001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:54:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273844095430950912,"note":"Value kept but may cause issues"} 
[2026-04-17 03:54:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022750772730853376,"note":"Value kept but may cause issues"} 
[2026-04-17 03:54:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:54:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776378174000,"timestamp_ms":1776378174000,"timestamp_seconds":1776378174,"priority":1,"record_length":96,"hex_timestamp":"0000019d9863da30"} 
[2026-04-17 03:54:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:54:42] 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-04-17 03: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":5,"data_length":795,"current_offset":136} 
[2026-04-17 03:54:42] 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-04-17 03: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-04-17 03:54:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:54:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:54:42] local.INFO: Teltonika packet parsed successfully {"connection_id":45753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:54:42] local.INFO: Passing IMEI to GPS processor {"connection_id":45753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:54:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":45753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:54:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:54:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:54:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:54:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752809984001,"66":27267,"116":206,"87":11264,"24":28,"16":273844095430950912,"45":9022750772730853376},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-04-17 03:54:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:54:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:54:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752809984001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:54:42] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-04-17 03:54:42] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-04-17 03:54:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273844095430950912,"km_value":273844095430950.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:54:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022750772730853376,"description":"Unknown IO ID 45"} 
[2026-04-17 03:54:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752809984001,"power":27267,"unknown_116":206,"unknown_87":11264,"ignition":28,"odometer":null,"unknown_45":9022750772730853376}} 
[2026-04-17 03:54:42] local.INFO: DEBUG: GPS processor result {"connection_id":45753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:54:42] local.INFO: GPS data processed {"connection_id":45753,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:54:42] local.INFO: Acknowledgment sent {"connection_id":45753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:54:52] local.INFO: TCP Data received {"connection_id":45492,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:54:52] local.INFO: Processing buffer {"connection_id":45492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:54:52] local.INFO: IMEI packet received {"connection_id":45492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":45492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:54:53] local.INFO: TCP Data received {"connection_id":45492,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:54:53] local.INFO: Processing buffer {"connection_id":45492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:54:53] local.INFO: IMEI packet received {"connection_id":45492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":45492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:54:54] local.INFO: TCP Data received {"connection_id":45492,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98640cf8012d7d3c4005f13928000d00af34..."} 
[2026-04-17 03:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98640cf8012d7d3c4005f13928000d00af34..."} 
[2026-04-17 03:54:54] local.INFO: Processing buffer {"connection_id":45492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98640cf8012d7d3c4005f13928000d00af34..."} 
[2026-04-17 03:54:54] local.INFO: Packet analysis {"connection_id":45492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9864"} 
[2026-04-17 03:54:54] local.INFO: Extracted packet for processing {"connection_id":45492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9864"} 
[2026-04-17 03:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763182144,"raw_latitude":99694888,"longitude_deg":76.3182144,"latitude_deg":9.9694888,"altitude":13,"angle":175,"satellites":52,"speed":27,"hex_longitude":"2d7d3c40","hex_latitude":"05f13928","is_valid_coordinates":true} 
[2026-04-17 03:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752812544001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273844533517615104,"note":"Value kept but may cause issues"} 
[2026-04-17 03:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023454460170229760,"note":"Value kept but may cause issues"} 
[2026-04-17 03:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,116,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776378187000,"timestamp_ms":1776378187000,"timestamp_seconds":1776378187,"priority":1,"record_length":96,"hex_timestamp":"0000019d98640cf8"} 
[2026-04-17 03:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:54: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-04-17 03:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 03:54:54] 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-04-17 03:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":45492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":45492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":45492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:54:54] 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-04-17 03:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752812544001,"66":27397,"116":206,"87":11264,"24":27,"16":273844533517615104,"45":9023454460170229760},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,116,87,24,16,45]} 
[2026-04-17 03:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752812544001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:54:54] local.INFO: Unknown IO ID detected {"io_id":116,"value":206,"description":"Unknown IO ID 116"} 
[2026-04-17 03:54:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-04-17 03:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273844533517615104,"km_value":273844533517615.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023454460170229760,"description":"Unknown IO ID 45"} 
[2026-04-17 03:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752812544001,"power":27397,"unknown_116":206,"unknown_87":11264,"ignition":27,"odometer":null,"unknown_45":9023454460170229760}} 
[2026-04-17 03:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":45492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:54:54] local.INFO: GPS data processed {"connection_id":45492,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:54:54] local.INFO: Acknowledgment sent {"connection_id":45492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:54:56] local.INFO: TCP Data received {"connection_id":45491,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98620188012d11a2c006e16478000800a12e..."} 
[2026-04-17 03:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98620188012d11a2c006e16478000800a12e..."} 
[2026-04-17 03:54:56] local.INFO: Processing buffer {"connection_id":45491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98620188012d11a2c006e16478000800a12e..."} 
[2026-04-17 03:54:56] local.INFO: Packet analysis {"connection_id":45491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9862"} 
[2026-04-17 03:54:56] local.INFO: Extracted packet for processing {"connection_id":45491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9862"} 
[2026-04-17 03:54:56] local.INFO: GPS Element Parsed {"raw_longitude":756130496,"raw_latitude":115434616,"longitude_deg":75.6130496,"latitude_deg":11.5434616,"altitude":8,"angle":161,"satellites":46,"speed":24,"hex_longitude":"2d11a2c0","hex_latitude":"06e16478","is_valid_coordinates":true} 
[2026-04-17 03:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:54:56] local.INFO: IO Element Parsed {"io_data_count":5,"io_data_keys":[0,66,2,24,16],"length":72,"final_offset":106,"validated_count":5,"validation_warnings":[]} 
[2026-04-17 03:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776378053000,"timestamp_ms":1776378053000,"timestamp_seconds":1776378053,"priority":1,"record_length":96,"hex_timestamp":"0000019d98620188"} 
[2026-04-17 03:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 03:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45491,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27767,"2":56576,"24":24,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,24,16]} 
[2026-04-17 03:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:54:56] local.INFO: IO Data Validated and Processed {"original_count":5,"validated_count":5,"validated_data":{"unknown_0":0,"power":27767,"power_alt":56576,"ignition":24,"odometer":null}} 
[2026-04-17 03:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":45491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19025,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:54:56] local.INFO: GPS data processed {"connection_id":45491,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:54:56] local.INFO: Acknowledgment sent {"connection_id":45491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:54:58] local.INFO: TCP Data received {"connection_id":45492,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98643fc0012d7d3ec005f114b0000e00b132..."} 
[2026-04-17 03:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98643fc0012d7d3ec005f114b0000e00b132..."} 
[2026-04-17 03:54:58] local.INFO: Processing buffer {"connection_id":45492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98643fc0012d7d3ec005f114b0000e00b132..."} 
[2026-04-17 03:54:58] local.INFO: Packet analysis {"connection_id":45492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9864"} 
[2026-04-17 03:54:58] local.INFO: Extracted packet for processing {"connection_id":45492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9864"} 
[2026-04-17 03:54:58] local.INFO: GPS Element Parsed {"raw_longitude":763182784,"raw_latitude":99685552,"longitude_deg":76.3182784,"latitude_deg":9.9685552,"altitude":14,"angle":177,"satellites":50,"speed":31,"hex_longitude":"2d7d3ec0","hex_latitude":"05f114b0","is_valid_coordinates":true} 
[2026-04-17 03:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752815872001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273844984489181184,"note":"Value kept but may cause issues"} 
[2026-04-17 03:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024158147609700352,"note":"Value kept but may cause issues"} 
[2026-04-17 03:54: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-04-17 03:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776378200000,"timestamp_ms":1776378200000,"timestamp_seconds":1776378200,"priority":1,"record_length":96,"hex_timestamp":"0000019d98643fc0"} 
[2026-04-17 03:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:54: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-04-17 03:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 03:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:54:58] 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-04-17 03:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752815872001,"66":27517,"110":206,"87":11264,"24":31,"16":273844984489181184,"45":9024158147609700352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-04-17 03:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752815872001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:54:58] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-17 03:54:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-04-17 03:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273844984489181184,"km_value":273844984489181.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024158147609700352,"description":"Unknown IO ID 45"} 
[2026-04-17 03:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752815872001,"power":27517,"unknown_110":206,"unknown_87":11264,"ignition":31,"odometer":null,"unknown_45":9024158147609700352}} 
[2026-04-17 03:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":45492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:54:58] local.INFO: GPS data processed {"connection_id":45492,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:54:58] local.INFO: Acknowledgment sent {"connection_id":45492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:55:05] local.INFO: TCP Data received {"connection_id":46309,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:55:05] local.INFO: Processing buffer {"connection_id":46309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:55:05] local.INFO: IMEI packet received {"connection_id":46309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":46309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:55:12] local.INFO: TCP Data received {"connection_id":46309,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46309,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:55:12] local.INFO: Processing buffer {"connection_id":46309,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:55:12] local.INFO: IMEI packet received {"connection_id":46309,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":46309,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:55:14] local.INFO: TCP Data received {"connection_id":46309,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986303580100000000000000000000000000..."} 
[2026-04-17 03:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986303580100000000000000000000000000..."} 
[2026-04-17 03:55:14] local.INFO: Processing buffer {"connection_id":46309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986303580100000000000000000000000000..."} 
[2026-04-17 03:55:14] local.INFO: Packet analysis {"connection_id":46309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9863"} 
[2026-04-17 03:55:14] local.INFO: Extracted packet for processing {"connection_id":46309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9863"} 
[2026-04-17 03:55: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-04-17 03: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-04-17 03:55:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752781568001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:55:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:55:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1270789180655695872,"note":"Value kept but may cause issues"} 
[2026-04-17 03:55:14] 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-04-17 03:55:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776378119000,"timestamp_ms":1776378119000,"timestamp_seconds":1776378119,"priority":1,"record_length":96,"hex_timestamp":"0000019d98630358"} 
[2026-04-17 03:55:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03: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-04-17 03:55:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-17 03:55: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-04-17 03: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-04-17 03:55:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:55:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:55:14] local.INFO: Teltonika packet parsed successfully {"connection_id":46309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:55:14] local.INFO: Passing IMEI to GPS processor {"connection_id":46309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:55:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":46309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:55:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:55:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:55:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:55:14] local.INFO: DEBUG: GPS processor result {"connection_id":46309,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:55:14] local.INFO: GPS data processed {"connection_id":46309,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:55:14] local.INFO: Acknowledgment sent {"connection_id":46309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:55:29] local.INFO: TCP Data received {"connection_id":45492,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d986466d0012d7d3fc005f0f060000c00b033..."} 
[2026-04-17 03:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986466d0012d7d3fc005f0f060000c00b033..."} 
[2026-04-17 03:55:29] local.INFO: Processing buffer {"connection_id":45492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986466d0012d7d3fc005f0f060000c00b033..."} 
[2026-04-17 03:55:29] local.INFO: Packet analysis {"connection_id":45492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9864"} 
[2026-04-17 03:55:29] local.INFO: Extracted packet for processing {"connection_id":45492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9864"} 
[2026-04-17 03:55:29] local.INFO: GPS Element Parsed {"raw_longitude":763183040,"raw_latitude":99676256,"longitude_deg":76.318304,"latitude_deg":9.9676256,"altitude":12,"angle":176,"satellites":51,"speed":42,"hex_longitude":"2d7d3fc0","hex_latitude":"05f0f060","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752819200001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273845439755714560,"note":"Value kept but may cause issues"} 
[2026-04-17 03:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861835049086976,"note":"Value kept but may cause issues"} 
[2026-04-17 03:55: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-04-17 03:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776378210000,"timestamp_ms":1776378210000,"timestamp_seconds":1776378210,"priority":1,"record_length":96,"hex_timestamp":"0000019d986466d0"} 
[2026-04-17 03:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:55: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-04-17 03: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":125,"data_length":795,"current_offset":136} 
[2026-04-17 03:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:55: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-04-17 03:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752819200001,"66":27463,"110":206,"87":11264,"24":42,"16":273845439755714560,"45":9024861835049086976},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,87,24,16,45]} 
[2026-04-17 03:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752819200001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:55:29] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-17 03:55:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-04-17 03:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273845439755714560,"km_value":273845439755714.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861835049086976,"description":"Unknown IO ID 45"} 
[2026-04-17 03:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752819200001,"power":27463,"unknown_110":206,"unknown_87":11264,"ignition":42,"odometer":null,"unknown_45":9024861835049086976}} 
[2026-04-17 03:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":45492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:55:29] local.INFO: GPS data processed {"connection_id":45492,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:55:29] local.INFO: Acknowledgment sent {"connection_id":45492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:55:45] local.INFO: TCP Data received {"connection_id":46309,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98660cb00100000000000000000000000000..."} 
[2026-04-17 03:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98660cb00100000000000000000000000000..."} 
[2026-04-17 03:55:45] local.INFO: Processing buffer {"connection_id":46309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98660cb00100000000000000000000000000..."} 
[2026-04-17 03:55:45] local.INFO: Packet analysis {"connection_id":46309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9866"} 
[2026-04-17 03:55:45] local.INFO: Extracted packet for processing {"connection_id":46309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9866"} 
[2026-04-17 03:55: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-04-17 03: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-04-17 03:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752832512001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1308788302473969664,"note":"Value kept but may cause issues"} 
[2026-04-17 03:55:45] 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-04-17 03:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776378318000,"timestamp_ms":1776378318000,"timestamp_seconds":1776378318,"priority":1,"record_length":96,"hex_timestamp":"0000019d98660cb0"} 
[2026-04-17 03:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03: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-04-17 03: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 03:55: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-04-17 03: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-04-17 03:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46309,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":46309,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:55:45] local.INFO: GPS data processed {"connection_id":46309,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:55:45] local.INFO: Acknowledgment sent {"connection_id":46309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:55:52] local.INFO: TCP Data received {"connection_id":45493,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:55:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:55:52] local.INFO: Processing buffer {"connection_id":45493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:55:52] local.INFO: IMEI packet received {"connection_id":45493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:55:52] local.INFO: IMEI acknowledgment sent {"connection_id":45493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:55:57] local.INFO: TCP Data received {"connection_id":45493,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45493,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:55:57] local.INFO: Processing buffer {"connection_id":45493,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:55:57] local.INFO: IMEI packet received {"connection_id":45493,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":45493,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:55:58] local.INFO: TCP Data received {"connection_id":45493,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9865b2d8012d7d4a0005ef52f8000700b334..."} 
[2026-04-17 03:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9865b2d8012d7d4a0005ef52f8000700b334..."} 
[2026-04-17 03:55:58] local.INFO: Processing buffer {"connection_id":45493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9865b2d8012d7d4a0005ef52f8000700b334..."} 
[2026-04-17 03:55:58] local.INFO: Packet analysis {"connection_id":45493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9865"} 
[2026-04-17 03:55:58] local.INFO: Extracted packet for processing {"connection_id":45493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9865"} 
[2026-04-17 03:55:58] local.INFO: GPS Element Parsed {"raw_longitude":763185664,"raw_latitude":99570424,"longitude_deg":76.3185664,"latitude_deg":9.9570424,"altitude":7,"angle":179,"satellites":52,"speed":45,"hex_longitude":"2d7d4a00","hex_latitude":"05ef52f8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752841472001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273850572241633280,"note":"Value kept but may cause issues"} 
[2026-04-17 03:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027958059765850112,"note":"Value kept but may cause issues"} 
[2026-04-17 03:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776378295000,"timestamp_ms":1776378295000,"timestamp_seconds":1776378295,"priority":1,"record_length":96,"hex_timestamp":"0000019d9865b2d8"} 
[2026-04-17 03:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:55: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-04-17 03: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":229,"data_length":795,"current_offset":136} 
[2026-04-17 03:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:55:58] 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-04-17 03:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752841472001,"66":27376,"92":206,"87":11264,"24":45,"16":273850572241633280,"45":9027958059765850112},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,87,24,16,45]} 
[2026-04-17 03:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752841472001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:55:58] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-17 03:55:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-04-17 03:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273850572241633280,"km_value":273850572241633.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027958059765850112,"description":"Unknown IO ID 45"} 
[2026-04-17 03:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752841472001,"power":27376,"unknown_92":206,"unknown_87":11264,"ignition":45,"odometer":null,"unknown_45":9027958059765850112}} 
[2026-04-17 03:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":45493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:55:58] local.INFO: GPS data processed {"connection_id":45493,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:55:58] local.INFO: Acknowledgment sent {"connection_id":45493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:56:11] local.INFO: TCP Data received {"connection_id":46310,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:56:11] local.INFO: Processing buffer {"connection_id":46310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:56:11] local.INFO: IMEI packet received {"connection_id":46310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":46310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:56:16] local.INFO: TCP Data received {"connection_id":46310,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46310,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:56:16] local.INFO: Processing buffer {"connection_id":46310,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:56:16] local.INFO: IMEI packet received {"connection_id":46310,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:56:16] local.INFO: IMEI acknowledgment sent {"connection_id":46310,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:56:18] local.INFO: TCP Data received {"connection_id":46310,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98657c28012d12540006de8fb8000a00a230..."} 
[2026-04-17 03:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98657c28012d12540006de8fb8000a00a230..."} 
[2026-04-17 03:56:18] local.INFO: Processing buffer {"connection_id":46310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98657c28012d12540006de8fb8000a00a230..."} 
[2026-04-17 03:56:18] local.INFO: Packet analysis {"connection_id":46310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9865"} 
[2026-04-17 03:56:18] local.INFO: Extracted packet for processing {"connection_id":46310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9865"} 
[2026-04-17 03:56:18] local.INFO: GPS Element Parsed {"raw_longitude":756175872,"raw_latitude":115249080,"longitude_deg":75.6175872,"latitude_deg":11.524908,"altitude":10,"angle":162,"satellites":48,"speed":34,"hex_longitude":"2d125400","hex_latitude":"06de8fb8","is_valid_coordinates":true} 
[2026-04-17 03:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:56:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:56:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,129,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:56:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776378281000,"timestamp_ms":1776378281000,"timestamp_seconds":1776378281,"priority":1,"record_length":96,"hex_timestamp":"0000019d98657c28"} 
[2026-04-17 03:56:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:56: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:56:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 03:56:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1373,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:56:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:56:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:56:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:56:18] local.INFO: Teltonika packet parsed successfully {"connection_id":46310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:56:18] local.INFO: Passing IMEI to GPS processor {"connection_id":46310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:56:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":46310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:56:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:56:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:56:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:56:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27876,"129":206,"2":56576,"24":34,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16]} 
[2026-04-17 03:56:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:56:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:56:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:56:18] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 03:56:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:56:18] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27876,"unknown_129":206,"power_alt":56576,"ignition":34,"odometer":null}} 
[2026-04-17 03:56:18] local.INFO: DEBUG: GPS processor result {"connection_id":46310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19029,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:56:18] local.INFO: GPS data processed {"connection_id":46310,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:56:18] local.INFO: Acknowledgment sent {"connection_id":46310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:56:22] local.INFO: TCP Data received {"connection_id":46310,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9865ce30012d12630006de4da0000a00aa31..."} 
[2026-04-17 03:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9865ce30012d12630006de4da0000a00aa31..."} 
[2026-04-17 03:56:22] local.INFO: Processing buffer {"connection_id":46310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9865ce30012d12630006de4da0000a00aa31..."} 
[2026-04-17 03:56:22] local.INFO: Packet analysis {"connection_id":46310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9865"} 
[2026-04-17 03:56:22] local.INFO: Extracted packet for processing {"connection_id":46310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9865"} 
[2026-04-17 03:56:22] local.INFO: GPS Element Parsed {"raw_longitude":756179712,"raw_latitude":115232160,"longitude_deg":75.6179712,"latitude_deg":11.523216,"altitude":10,"angle":170,"satellites":49,"speed":0,"hex_longitude":"2d126300","hex_latitude":"06de4da0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:56:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752839936001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:56:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:56:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1320680620230162432,"note":"Value kept but may cause issues"} 
[2026-04-17 03:56:22] 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-04-17 03:56:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776378302000,"timestamp_ms":1776378302000,"timestamp_seconds":1776378302,"priority":1,"record_length":96,"hex_timestamp":"0000019d9865ce30"} 
[2026-04-17 03:56:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:56: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-04-17 03:56:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 03:56:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:56:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:56:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:56:22] local.INFO: Teltonika packet parsed successfully {"connection_id":46310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:56:22] local.INFO: Passing IMEI to GPS processor {"connection_id":46310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:56:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":46310,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:56:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:56:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:56:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:56:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752839936001,"66":27908,"129":206,"2":56576,"24":0,"16":106618783551979520,"45":1320680620230162432},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-04-17 03:56:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:56:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:56:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752839936001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:56:22] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 03:56:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:56:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1320680620230162432,"description":"Unknown IO ID 45"} 
[2026-04-17 03:56:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752839936001,"power":27908,"unknown_129":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1320680620230162432}} 
[2026-04-17 03:56:22] local.INFO: DEBUG: GPS processor result {"connection_id":46310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19030,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:56:22] local.INFO: GPS data processed {"connection_id":46310,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:56:22] local.INFO: Acknowledgment sent {"connection_id":46310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:56:28] local.INFO: TCP Data received {"connection_id":45493,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9865d218012d7d49c005ef3050000900b633..."} 
[2026-04-17 03:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9865d218012d7d49c005ef3050000900b633..."} 
[2026-04-17 03:56:28] local.INFO: Processing buffer {"connection_id":45493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9865d218012d7d49c005ef3050000900b633..."} 
[2026-04-17 03:56:28] local.INFO: Packet analysis {"connection_id":45493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9865"} 
[2026-04-17 03:56:28] local.INFO: Extracted packet for processing {"connection_id":45493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9865"} 
[2026-04-17 03:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763185600,"raw_latitude":99561552,"longitude_deg":76.31856,"latitude_deg":9.9561552,"altitude":9,"angle":182,"satellites":51,"speed":42,"hex_longitude":"2d7d49c0","hex_latitude":"05ef3050","is_valid_coordinates":true} 
[2026-04-17 03:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752843520001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273851001738362880,"note":"Value kept but may cause issues"} 
[2026-04-17 03:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028028428507609088,"note":"Value kept but may cause issues"} 
[2026-04-17 03:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776378303000,"timestamp_ms":1776378303000,"timestamp_seconds":1776378303,"priority":1,"record_length":96,"hex_timestamp":"0000019d9865d218"} 
[2026-04-17 03:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:56: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-04-17 03:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45493,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:56:28] 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-04-17 03:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752843520001,"66":27300,"92":206,"87":11264,"24":42,"16":273851001738362880,"45":9028028428507609088},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,87,24,16,45]} 
[2026-04-17 03:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752843520001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:56:28] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-17 03:56:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-04-17 03:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273851001738362880,"km_value":273851001738362.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028028428507609088,"description":"Unknown IO ID 45"} 
[2026-04-17 03:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752843520001,"power":27300,"unknown_92":206,"unknown_87":11264,"ignition":42,"odometer":null,"unknown_45":9028028428507609088}} 
[2026-04-17 03:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":45493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:56:28] local.INFO: GPS data processed {"connection_id":45493,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:56:28] local.INFO: Acknowledgment sent {"connection_id":45493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:56:52] local.INFO: TCP Data received {"connection_id":45754,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:56:52] local.INFO: Processing buffer {"connection_id":45754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:56:52] local.INFO: IMEI packet received {"connection_id":45754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":45754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:56:54] local.INFO: TCP Data received {"connection_id":45754,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:56:54] local.INFO: Processing buffer {"connection_id":45754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:56:54] local.INFO: IMEI packet received {"connection_id":45754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":45754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:56:57] local.INFO: TCP Data received {"connection_id":45754,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45754,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:56:57] local.INFO: Processing buffer {"connection_id":45754,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:56:57] local.INFO: IMEI packet received {"connection_id":45754,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":45754,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:56:58] local.INFO: TCP Data received {"connection_id":45754,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9865f540012d7d484005ef0a70000900b734..."} 
[2026-04-17 03:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9865f540012d7d484005ef0a70000900b734..."} 
[2026-04-17 03:56:58] local.INFO: Processing buffer {"connection_id":45754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9865f540012d7d484005ef0a70000900b734..."} 
[2026-04-17 03:56:58] local.INFO: Packet analysis {"connection_id":45754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9865"} 
[2026-04-17 03:56:58] local.INFO: Extracted packet for processing {"connection_id":45754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9865"} 
[2026-04-17 03:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763185216,"raw_latitude":99551856,"longitude_deg":76.3185216,"latitude_deg":9.9551856,"altitude":9,"angle":183,"satellites":52,"speed":42,"hex_longitude":"2d7d4840","hex_latitude":"05ef0a70","is_valid_coordinates":true} 
[2026-04-17 03:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752845568001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273851474184765440,"note":"Value kept but may cause issues"} 
[2026-04-17 03:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027958059761160192,"note":"Value kept but may cause issues"} 
[2026-04-17 03:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776378312000,"timestamp_ms":1776378312000,"timestamp_seconds":1776378312,"priority":1,"record_length":96,"hex_timestamp":"0000019d9865f540"} 
[2026-04-17 03:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:56: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-04-17 03:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 03:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:56:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:56:58] 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-04-17 03:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752845568001,"66":27463,"92":206,"87":11264,"24":42,"16":273851474184765440,"45":9027958059761160192},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,87,24,16,45]} 
[2026-04-17 03:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752845568001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:56:58] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-17 03:56:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":11264,"description":"Unknown IO ID 87"} 
[2026-04-17 03:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273851474184765440,"km_value":273851474184765.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027958059761160192,"description":"Unknown IO ID 45"} 
[2026-04-17 03:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752845568001,"power":27463,"unknown_92":206,"unknown_87":11264,"ignition":42,"odometer":null,"unknown_45":9027958059761160192}} 
[2026-04-17 03:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":45754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:56:58] local.INFO: GPS data processed {"connection_id":45754,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:56:58] local.INFO: Acknowledgment sent {"connection_id":45754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:57:06] local.INFO: TCP Data received {"connection_id":46311,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:57:06] local.INFO: Processing buffer {"connection_id":46311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:57:06] local.INFO: IMEI packet received {"connection_id":46311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":46311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:57:10] local.INFO: TCP Data received {"connection_id":46311,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:57:10] local.INFO: Processing buffer {"connection_id":46311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:57:10] local.INFO: IMEI packet received {"connection_id":46311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":46311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:57:12] local.INFO: TCP Data received {"connection_id":46311,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98662038012d126ec006de0a68000900ae33..."} 
[2026-04-17 03:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98662038012d126ec006de0a68000900ae33..."} 
[2026-04-17 03:57:12] local.INFO: Processing buffer {"connection_id":46311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98662038012d126ec006de0a68000900ae33..."} 
[2026-04-17 03:57:12] local.INFO: Packet analysis {"connection_id":46311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9866"} 
[2026-04-17 03:57:12] local.INFO: Extracted packet for processing {"connection_id":46311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9866"} 
[2026-04-17 03:57:12] local.INFO: GPS Element Parsed {"raw_longitude":756182720,"raw_latitude":115214952,"longitude_deg":75.618272,"latitude_deg":11.5214952,"altitude":9,"angle":174,"satellites":51,"speed":0,"hex_longitude":"2d126ec0","hex_latitude":"06de0a68","is_valid_coordinates":true} 
[2026-04-17 03:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752845312001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1324902744876490752,"note":"Value kept but may cause issues"} 
[2026-04-17 03:57:12] 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-04-17 03:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776378323000,"timestamp_ms":1776378323000,"timestamp_seconds":1776378323,"priority":1,"record_length":96,"hex_timestamp":"0000019d98662038"} 
[2026-04-17 03:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:57: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-04-17 03:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 03:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752845312001,"66":27952,"129":206,"2":56576,"24":0,"16":106618783551979520,"45":1324902744876490752},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-04-17 03:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752845312001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:57:12] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 03:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1324902744876490752,"description":"Unknown IO ID 45"} 
[2026-04-17 03:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752845312001,"power":27952,"unknown_129":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1324902744876490752}} 
[2026-04-17 03:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":46311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19033,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:57:12] local.INFO: GPS data processed {"connection_id":46311,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:57:12] local.INFO: Acknowledgment sent {"connection_id":46311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:57:29] local.INFO: TCP Data received {"connection_id":45754,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98661868012d7d468005eee748000900b633..."} 
[2026-04-17 03:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98661868012d7d468005eee748000900b633..."} 
[2026-04-17 03:57:29] local.INFO: Processing buffer {"connection_id":45754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98661868012d7d468005eee748000900b633..."} 
[2026-04-17 03:57:29] local.INFO: Packet analysis {"connection_id":45754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9866"} 
[2026-04-17 03:57:29] local.INFO: Extracted packet for processing {"connection_id":45754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9866"} 
[2026-04-17 03:57:29] local.INFO: GPS Element Parsed {"raw_longitude":763184768,"raw_latitude":99542856,"longitude_deg":76.3184768,"latitude_deg":9.9542856,"altitude":9,"angle":182,"satellites":51,"speed":38,"hex_longitude":"2d7d4680","hex_latitude":"05eee748","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752847872001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273851907976462336,"note":"Value kept but may cause issues"} 
[2026-04-17 03:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027535847293612032,"note":"Value kept but may cause issues"} 
[2026-04-17 03:57:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,87,24,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776378321000,"timestamp_ms":1776378321000,"timestamp_seconds":1776378321,"priority":1,"record_length":96,"hex_timestamp":"0000019d98661868"} 
[2026-04-17 03:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:57: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-04-17 03: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 03:57:29] 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-04-17 03: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-04-17 03:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45754,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:57: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-04-17 03:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752847872001,"66":27321,"87":13824,"24":38,"16":273851907976462336,"45":9027535847293612032},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,87,24,16,45]} 
[2026-04-17 03:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752847872001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:57:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 03:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273851907976462336,"km_value":273851907976462.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027535847293612032,"description":"Unknown IO ID 45"} 
[2026-04-17 03:57:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454752847872001,"power":27321,"unknown_87":13824,"ignition":38,"odometer":null,"unknown_45":9027535847293612032}} 
[2026-04-17 03:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":45754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:57:29] local.INFO: GPS data processed {"connection_id":45754,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:57:29] local.INFO: Acknowledgment sent {"connection_id":45754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:57:43] local.INFO: TCP Data received {"connection_id":46311,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98666e58012d1273c006ddc498000800a932..."} 
[2026-04-17 03:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98666e58012d1273c006ddc498000800a932..."} 
[2026-04-17 03:57:43] local.INFO: Processing buffer {"connection_id":46311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98666e58012d1273c006ddc498000800a932..."} 
[2026-04-17 03:57:43] local.INFO: Packet analysis {"connection_id":46311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9866"} 
[2026-04-17 03:57:43] local.INFO: Extracted packet for processing {"connection_id":46311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9866"} 
[2026-04-17 03:57:43] local.INFO: GPS Element Parsed {"raw_longitude":756184000,"raw_latitude":115197080,"longitude_deg":75.6184,"latitude_deg":11.519708,"altitude":8,"angle":169,"satellites":50,"speed":0,"hex_longitude":"2d1273c0","hex_latitude":"06ddc498","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752850688001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1328210075848435712,"note":"Value kept but may cause issues"} 
[2026-04-17 03:57: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-04-17 03:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776378343000,"timestamp_ms":1776378343000,"timestamp_seconds":1776378343,"priority":1,"record_length":96,"hex_timestamp":"0000019d98666e58"} 
[2026-04-17 03:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:57:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 03:57:43] 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-04-17 03: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-04-17 03:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46311,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752850688001,"66":27789,"129":206,"2":56576,"24":0,"16":106618783551979520,"45":1328210075848435712},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-04-17 03:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752850688001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:57:43] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 03:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1328210075848435712,"description":"Unknown IO ID 45"} 
[2026-04-17 03:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752850688001,"power":27789,"unknown_129":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1328210075848435712}} 
[2026-04-17 03:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":46311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19035,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:57:43] local.INFO: GPS data processed {"connection_id":46311,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:57:43] local.INFO: Acknowledgment sent {"connection_id":46311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:57:59] local.INFO: TCP Data received {"connection_id":45494,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:57:59] local.INFO: Processing buffer {"connection_id":45494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:57:59] local.INFO: IMEI packet received {"connection_id":45494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":45494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:58:00] local.INFO: TCP Data received {"connection_id":45494,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45494,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:58:00] local.INFO: Processing buffer {"connection_id":45494,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:58:00] local.INFO: IMEI packet received {"connection_id":45494,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":45494,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:58:01] local.INFO: TCP Data received {"connection_id":45494,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98676470012d7d3ec005ed56c0000200b533..."} 
[2026-04-17 03:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98676470012d7d3ec005ed56c0000200b533..."} 
[2026-04-17 03:58:01] local.INFO: Processing buffer {"connection_id":45494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98676470012d7d3ec005ed56c0000200b533..."} 
[2026-04-17 03:58:01] local.INFO: Packet analysis {"connection_id":45494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9867"} 
[2026-04-17 03:58:01] local.INFO: Extracted packet for processing {"connection_id":45494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9867"} 
[2026-04-17 03:58:01] local.INFO: GPS Element Parsed {"raw_longitude":763182784,"raw_latitude":99440320,"longitude_deg":76.3182784,"latitude_deg":9.944032,"altitude":2,"angle":181,"satellites":51,"speed":54,"hex_longitude":"2d7d3ec0","hex_latitude":"05ed56c0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752870144001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273856881548591104,"note":"Value kept but may cause issues"} 
[2026-04-17 03:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025002572477052928,"note":"Value kept but may cause issues"} 
[2026-04-17 03:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776378406000,"timestamp_ms":1776378406000,"timestamp_seconds":1776378406,"priority":1,"record_length":96,"hex_timestamp":"0000019d98676470"} 
[2026-04-17 03:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 03:58:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:58: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-04-17 03:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752870144001,"66":27397,"172":206,"87":13824,"24":54,"16":273856881548591104,"45":9025002572477052928},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-04-17 03:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752870144001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:58:01] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-04-17 03:58:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 03:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273856881548591104,"km_value":273856881548591.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025002572477052928,"description":"Unknown IO ID 45"} 
[2026-04-17 03:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752870144001,"power":27397,"unknown_172":206,"unknown_87":13824,"ignition":54,"odometer":null,"unknown_45":9025002572477052928}} 
[2026-04-17 03:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":45494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19036,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:58:01] local.INFO: GPS data processed {"connection_id":45494,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:58:01] local.INFO: Acknowledgment sent {"connection_id":45494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:58:02] local.INFO: TCP Data received {"connection_id":45494,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98677fc8012d7d3d8005ed3168000200b534..."} 
[2026-04-17 03:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98677fc8012d7d3d8005ed3168000200b534..."} 
[2026-04-17 03:58:02] local.INFO: Processing buffer {"connection_id":45494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98677fc8012d7d3d8005ed3168000200b534..."} 
[2026-04-17 03:58:02] local.INFO: Packet analysis {"connection_id":45494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9867"} 
[2026-04-17 03:58:02] local.INFO: Extracted packet for processing {"connection_id":45494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9867"} 
[2026-04-17 03:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763182464,"raw_latitude":99430760,"longitude_deg":76.3182464,"latitude_deg":9.943076,"altitude":2,"angle":181,"satellites":52,"speed":54,"hex_longitude":"2d7d3d80","hex_latitude":"05ed3168","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752871936001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273857345405059072,"note":"Value kept but may cause issues"} 
[2026-04-17 03:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024861834986307584,"note":"Value kept but may cause issues"} 
[2026-04-17 03:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,172,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 03:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776378413000,"timestamp_ms":1776378413000,"timestamp_seconds":1776378413,"priority":1,"record_length":96,"hex_timestamp":"0000019d98677fc8"} 
[2026-04-17 03:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 03:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:58:02] 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-04-17 03:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752871936001,"66":27332,"172":206,"87":13824,"24":54,"16":273857345405059072,"45":9024861834986307584},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,87,24,16,45]} 
[2026-04-17 03:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752871936001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:58:02] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-04-17 03:58:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 03:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273857345405059072,"km_value":273857345405059.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024861834986307584,"description":"Unknown IO ID 45"} 
[2026-04-17 03:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752871936001,"power":27332,"unknown_172":206,"unknown_87":13824,"ignition":54,"odometer":null,"unknown_45":9024861834986307584}} 
[2026-04-17 03:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":45494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:58:02] local.INFO: GPS data processed {"connection_id":45494,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:58:02] local.INFO: Acknowledgment sent {"connection_id":45494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:58:06] local.INFO: TCP Data received {"connection_id":45550,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:58:06] local.INFO: Processing buffer {"connection_id":45550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:58:06] local.INFO: IMEI packet received {"connection_id":45550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":45550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:58:11] local.INFO: TCP Data received {"connection_id":45550,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:58:11] local.INFO: Processing buffer {"connection_id":45550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:58:11] local.INFO: IMEI packet received {"connection_id":45550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":45550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:58:12] local.INFO: TCP Data received {"connection_id":45550,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9866a8f0012d128d0006dd88c80006009735..."} 
[2026-04-17 03:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9866a8f0012d128d0006dd88c80006009735..."} 
[2026-04-17 03:58:12] local.INFO: Processing buffer {"connection_id":45550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9866a8f0012d128d0006dd88c80006009735..."} 
[2026-04-17 03:58:12] local.INFO: Packet analysis {"connection_id":45550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9866"} 
[2026-04-17 03:58:12] local.INFO: Extracted packet for processing {"connection_id":45550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9866"} 
[2026-04-17 03:58:12] local.INFO: GPS Element Parsed {"raw_longitude":756190464,"raw_latitude":115181768,"longitude_deg":75.6190464,"latitude_deg":11.5181768,"altitude":6,"angle":151,"satellites":53,"speed":32,"hex_longitude":"2d128d00","hex_latitude":"06dd88c8","is_valid_coordinates":true} 
[2026-04-17 03:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752855808001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1329617450727413760,"note":"Value kept but may cause issues"} 
[2026-04-17 03:58:12] 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-04-17 03:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776378358000,"timestamp_ms":1776378358000,"timestamp_seconds":1776378358,"priority":1,"record_length":96,"hex_timestamp":"0000019d9866a8f0"} 
[2026-04-17 03:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:58: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-04-17 03:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-17 03:58:12] 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-04-17 03:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752855808001,"66":27908,"129":206,"2":56576,"24":32,"16":106618783551979520,"45":1329617450727413760},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-04-17 03:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752855808001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:58:12] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 03:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1329617450727413760,"description":"Unknown IO ID 45"} 
[2026-04-17 03:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752855808001,"power":27908,"unknown_129":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":1329617450727413760}} 
[2026-04-17 03:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":45550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19038,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:58:12] local.INFO: GPS data processed {"connection_id":45550,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:58:12] local.INFO: Acknowledgment sent {"connection_id":45550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:58:33] local.INFO: TCP Data received {"connection_id":45494,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98679b20012d7d3cc005ed0cf8000300b431..."} 
[2026-04-17 03:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98679b20012d7d3cc005ed0cf8000300b431..."} 
[2026-04-17 03:58:33] local.INFO: Processing buffer {"connection_id":45494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98679b20012d7d3cc005ed0cf8000300b431..."} 
[2026-04-17 03:58:33] local.INFO: Packet analysis {"connection_id":45494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9867"} 
[2026-04-17 03:58:33] local.INFO: Extracted packet for processing {"connection_id":45494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9867"} 
[2026-04-17 03:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763182272,"raw_latitude":99421432,"longitude_deg":76.3182272,"latitude_deg":9.9421432,"altitude":3,"angle":180,"satellites":49,"speed":51,"hex_longitude":"2d7d3cc0","hex_latitude":"05ed0cf8","is_valid_coordinates":true} 
[2026-04-17 03:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752873728001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273857800671592448,"note":"Value kept but may cause issues"} 
[2026-04-17 03:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024509991262971904,"note":"Value kept but may cause issues"} 
[2026-04-17 03:58:33] 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-04-17 03:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776378420000,"timestamp_ms":1776378420000,"timestamp_seconds":1776378420,"priority":1,"record_length":96,"hex_timestamp":"0000019d98679b20"} 
[2026-04-17 03:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03:58:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 03:58:33] 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-04-17 03:58:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45494,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:58:33] 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-04-17 03:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752873728001,"66":27332,"108":206,"87":13824,"24":51,"16":273857800671592448,"45":9024509991262971904},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-04-17 03:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752873728001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:58:33] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-04-17 03:58:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 03:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273857800671592448,"km_value":273857800671592.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024509991262971904,"description":"Unknown IO ID 45"} 
[2026-04-17 03:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752873728001,"power":27332,"unknown_108":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":9024509991262971904}} 
[2026-04-17 03:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":45494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:58:33] local.INFO: GPS data processed {"connection_id":45494,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:58:33] local.INFO: Acknowledgment sent {"connection_id":45494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:58:44] local.INFO: TCP Data received {"connection_id":45550,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9866fee0012d12ae8006dd4d280005009731..."} 
[2026-04-17 03:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9866fee0012d12ae8006dd4d280005009731..."} 
[2026-04-17 03:58:44] local.INFO: Processing buffer {"connection_id":45550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9866fee0012d12ae8006dd4d280005009731..."} 
[2026-04-17 03:58:44] local.INFO: Packet analysis {"connection_id":45550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9866"} 
[2026-04-17 03:58:44] local.INFO: Extracted packet for processing {"connection_id":45550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9866"} 
[2026-04-17 03:58:44] local.INFO: GPS Element Parsed {"raw_longitude":756199040,"raw_latitude":115166504,"longitude_deg":75.619904,"latitude_deg":11.5166504,"altitude":5,"angle":151,"satellites":49,"speed":0,"hex_longitude":"2d12ae80","hex_latitude":"06dd4d28","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752859648001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1336724693885437952,"note":"Value kept but may cause issues"} 
[2026-04-17 03:58:44] 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-04-17 03:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776378380000,"timestamp_ms":1776378380000,"timestamp_seconds":1776378380,"priority":1,"record_length":96,"hex_timestamp":"0000019d9866fee0"} 
[2026-04-17 03:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:58:44] 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-04-17 03: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 03:58:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752859648001,"66":27843,"129":206,"2":56576,"24":0,"16":106618783551979520,"45":1336724693885437952},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16,45]} 
[2026-04-17 03:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752859648001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:58:44] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 03:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1336724693885437952,"description":"Unknown IO ID 45"} 
[2026-04-17 03:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752859648001,"power":27843,"unknown_129":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1336724693885437952}} 
[2026-04-17 03:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":45550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19040,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:58:44] local.INFO: GPS data processed {"connection_id":45550,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:58:44] local.INFO: Acknowledgment sent {"connection_id":45550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:58:52] local.INFO: TCP Data received {"connection_id":45551,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:58:52] local.INFO: Processing buffer {"connection_id":45551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:58:52] local.INFO: IMEI packet received {"connection_id":45551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":45551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:58:57] local.INFO: TCP Data received {"connection_id":45551,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:58:57] local.INFO: Processing buffer {"connection_id":45551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:58:57] local.INFO: IMEI packet received {"connection_id":45551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":45551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:58:58] local.INFO: TCP Data received {"connection_id":45551,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9867b678012d7d3c4005ece9d8000300b532..."} 
[2026-04-17 03:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9867b678012d7d3c4005ece9d8000300b532..."} 
[2026-04-17 03:58:58] local.INFO: Processing buffer {"connection_id":45551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9867b678012d7d3c4005ece9d8000300b532..."} 
[2026-04-17 03:58:58] local.INFO: Packet analysis {"connection_id":45551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9867"} 
[2026-04-17 03:58:58] local.INFO: Extracted packet for processing {"connection_id":45551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9867"} 
[2026-04-17 03:58:58] local.INFO: GPS Element Parsed {"raw_longitude":763182144,"raw_latitude":99412440,"longitude_deg":76.3182144,"latitude_deg":9.941244,"altitude":3,"angle":181,"satellites":50,"speed":50,"hex_longitude":"2d7d3c40","hex_latitude":"05ece9d8","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752875520001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273858234463289344,"note":"Value kept but may cause issues"} 
[2026-04-17 03:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024298885028050944,"note":"Value kept but may cause issues"} 
[2026-04-17 03:58:58] 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-04-17 03:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776378427000,"timestamp_ms":1776378427000,"timestamp_seconds":1776378427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9867b678"} 
[2026-04-17 03:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:58: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-04-17 03: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 03:58: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-04-17 03: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-04-17 03:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:58:58] 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-04-17 03:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752875520001,"66":27343,"108":206,"87":13824,"24":50,"16":273858234463289344,"45":9024298885028050944},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-04-17 03:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752875520001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:58:58] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-04-17 03:58:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 03:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273858234463289344,"km_value":273858234463289.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024298885028050944,"description":"Unknown IO ID 45"} 
[2026-04-17 03:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752875520001,"power":27343,"unknown_108":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":9024298885028050944}} 
[2026-04-17 03:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":45551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:58:58] local.INFO: GPS data processed {"connection_id":45551,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:58:58] local.INFO: Acknowledgment sent {"connection_id":45551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:59:00] local.INFO: TCP Data received {"connection_id":45495,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:59:00] local.INFO: Processing buffer {"connection_id":45495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:59:00] local.INFO: IMEI packet received {"connection_id":45495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 03:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":45495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:59:06] local.INFO: TCP Data received {"connection_id":45495,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:59:06] local.INFO: Processing buffer {"connection_id":45495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 03:59:06] local.INFO: IMEI packet received {"connection_id":45495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 03:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":45495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:59:08] local.INFO: TCP Data received {"connection_id":45495,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986800b00100000000000000000000000000..."} 
[2026-04-17 03:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986800b00100000000000000000000000000..."} 
[2026-04-17 03:59:08] local.INFO: Processing buffer {"connection_id":45495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986800b00100000000000000000000000000..."} 
[2026-04-17 03:59:08] local.INFO: Packet analysis {"connection_id":45495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9868"} 
[2026-04-17 03:59:08] local.INFO: Extracted packet for processing {"connection_id":45495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9868"} 
[2026-04-17 03:59:08] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752865280001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1346154105601337344,"note":"Value kept but may cause issues"} 
[2026-04-17 03:59: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-04-17 03:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776378446000,"timestamp_ms":1776378446000,"timestamp_seconds":1776378446,"priority":1,"record_length":96,"hex_timestamp":"0000019d986800b0"} 
[2026-04-17 03:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":195,"data_length":795,"current_offset":136} 
[2026-04-17 03:59: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-04-17 03: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-04-17 03:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":45495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":45495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":45495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":45495,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 03:59:08] local.INFO: GPS data processed {"connection_id":45495,"processed":0,"errors":0,"total":1} 
[2026-04-17 03:59:08] local.INFO: Acknowledgment sent {"connection_id":45495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:59:29] local.INFO: TCP Data received {"connection_id":45551,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9867d1d0012d7d3b0005ecc6f0000300b433..."} 
[2026-04-17 03:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9867d1d0012d7d3b0005ecc6f0000300b433..."} 
[2026-04-17 03:59:29] local.INFO: Processing buffer {"connection_id":45551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9867d1d0012d7d3b0005ecc6f0000300b433..."} 
[2026-04-17 03:59:29] local.INFO: Packet analysis {"connection_id":45551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9867"} 
[2026-04-17 03:59:29] local.INFO: Extracted packet for processing {"connection_id":45551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9867"} 
[2026-04-17 03:59:29] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":99403504,"longitude_deg":76.3181824,"latitude_deg":9.9403504,"altitude":3,"angle":180,"satellites":51,"speed":51,"hex_longitude":"2d7d3b00","hex_latitude":"05ecc6f0","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:59:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752877312001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:59:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273858668254986240,"note":"Value kept but may cause issues"} 
[2026-04-17 03:59:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024158147537393664,"note":"Value kept but may cause issues"} 
[2026-04-17 03:59:29] 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-04-17 03:59:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776378434000,"timestamp_ms":1776378434000,"timestamp_seconds":1776378434,"priority":1,"record_length":96,"hex_timestamp":"0000019d9867d1d0"} 
[2026-04-17 03:59:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:59: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-04-17 03: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:59: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-04-17 03: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-04-17 03:59:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:59:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:59:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:59:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:59:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:59: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-04-17 03:59:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752877312001,"66":27343,"108":206,"87":13824,"24":51,"16":273858668254986240,"45":9024158147537393664},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-04-17 03:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752877312001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:59:29] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-04-17 03:59:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 03:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273858668254986240,"km_value":273858668254986.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024158147537393664,"description":"Unknown IO ID 45"} 
[2026-04-17 03:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752877312001,"power":27343,"unknown_108":206,"unknown_87":13824,"ignition":51,"odometer":null,"unknown_45":9024158147537393664}} 
[2026-04-17 03:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":45551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:59:29] local.INFO: GPS data processed {"connection_id":45551,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:59:29] local.INFO: Acknowledgment sent {"connection_id":45551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:59:40] local.INFO: TCP Data received {"connection_id":45495,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98677028012d12c4c006dd20680008009c31..."} 
[2026-04-17 03:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98677028012d12c4c006dd20680008009c31..."} 
[2026-04-17 03:59:40] local.INFO: Processing buffer {"connection_id":45495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98677028012d12c4c006dd20680008009c31..."} 
[2026-04-17 03:59:40] local.INFO: Packet analysis {"connection_id":45495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9867"} 
[2026-04-17 03:59:40] local.INFO: Extracted packet for processing {"connection_id":45495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9867"} 
[2026-04-17 03:59:40] local.INFO: GPS Element Parsed {"raw_longitude":756204736,"raw_latitude":115155048,"longitude_deg":75.6204736,"latitude_deg":11.5155048,"altitude":8,"angle":156,"satellites":49,"speed":21,"hex_longitude":"2d12c4c0","hex_latitude":"06dd2068","is_valid_coordinates":true} 
[2026-04-17 03: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-04-17 03:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 03:59:40] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,129,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 03:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776378409000,"timestamp_ms":1776378409000,"timestamp_seconds":1776378409,"priority":1,"record_length":96,"hex_timestamp":"0000019d98677028"} 
[2026-04-17 03:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:59:40] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 03: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 03:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1463,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 03: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-04-17 03:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":45495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":45495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":45495,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 03:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 03:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 03:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 03:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27832,"129":206,"2":56576,"24":21,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,2,24,16]} 
[2026-04-17 03:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 03:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 03:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 03:59:40] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 03:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:59:40] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27832,"unknown_129":206,"power_alt":56576,"ignition":21,"odometer":null}} 
[2026-04-17 03:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":45495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19043,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:59:40] local.INFO: GPS data processed {"connection_id":45495,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:59:40] local.INFO: Acknowledgment sent {"connection_id":45495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 03:59:52] local.INFO: TCP Data received {"connection_id":46312,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:59:52] local.INFO: Processing buffer {"connection_id":46312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:59:52] local.INFO: IMEI packet received {"connection_id":46312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 03:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":46312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 03:59:57] local.INFO: TCP Data received {"connection_id":46312,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46312,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:59:57] local.INFO: Processing buffer {"connection_id":46312,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 03:59:57] local.INFO: IMEI packet received {"connection_id":46312,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 03:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":46312,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 03:59:58] local.INFO: TCP Data received {"connection_id":46312,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9867ed28012d7d3a4005eca3e0000400b534..."} 
[2026-04-17 03:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9867ed28012d7d3a4005eca3e0000400b534..."} 
[2026-04-17 03:59:58] local.INFO: Processing buffer {"connection_id":46312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9867ed28012d7d3a4005eca3e0000400b534..."} 
[2026-04-17 03:59:58] local.INFO: Packet analysis {"connection_id":46312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9867"} 
[2026-04-17 03:59:58] local.INFO: Extracted packet for processing {"connection_id":46312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9867"} 
[2026-04-17 03:59:58] local.INFO: GPS Element Parsed {"raw_longitude":763181632,"raw_latitude":99394528,"longitude_deg":76.3181632,"latitude_deg":9.9394528,"altitude":4,"angle":181,"satellites":52,"speed":50,"hex_longitude":"2d7d3a40","hex_latitude":"05eca3e0","is_valid_coordinates":true} 
[2026-04-17 03:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 03:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752879104001,"note":"Value kept but may cause issues"} 
[2026-04-17 03:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273859106341650432,"note":"Value kept but may cause issues"} 
[2026-04-17 03:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303814217728,"note":"Value kept but may cause issues"} 
[2026-04-17 03:59:58] 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-04-17 03:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776378441000,"timestamp_ms":1776378441000,"timestamp_seconds":1776378441,"priority":1,"record_length":96,"hex_timestamp":"0000019d9867ed28"} 
[2026-04-17 03:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 03:59: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-04-17 03:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 03:59:58] 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-04-17 03:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 03:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 03:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 03:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 03:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 03:59:58] 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-04-17 03:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 03:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 03:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752879104001,"66":27332,"108":206,"87":13824,"24":50,"16":273859106341650432,"45":9023806303814217728},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,87,24,16,45]} 
[2026-04-17 03:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 03:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 03:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752879104001,"description":"Unknown IO ID 0"} 
[2026-04-17 03:59:58] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-04-17 03:59:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 03:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273859106341650432,"km_value":273859106341650.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 03:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303814217728,"description":"Unknown IO ID 45"} 
[2026-04-17 03:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752879104001,"power":27332,"unknown_108":206,"unknown_87":13824,"ignition":50,"odometer":null,"unknown_45":9023806303814217728}} 
[2026-04-17 03:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":46312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 03:59:58] local.INFO: GPS data processed {"connection_id":46312,"processed":1,"errors":0,"total":1} 
[2026-04-17 03:59:58] local.INFO: Acknowledgment sent {"connection_id":46312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:00:11] local.INFO: TCP Data received {"connection_id":45552,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:00:11] local.INFO: Processing buffer {"connection_id":45552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:00:11] local.INFO: IMEI packet received {"connection_id":45552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":45552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:00:16] local.INFO: TCP Data received {"connection_id":45552,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:00:16] local.INFO: Processing buffer {"connection_id":45552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:00:16] local.INFO: IMEI packet received {"connection_id":45552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":45552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:00:17] local.INFO: TCP Data received {"connection_id":45552,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986875e00100000000000000000000000000..."} 
[2026-04-17 04:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986875e00100000000000000000000000000..."} 
[2026-04-17 04:00:17] local.INFO: Processing buffer {"connection_id":45552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986875e00100000000000000000000000000..."} 
[2026-04-17 04:00:17] local.INFO: Packet analysis {"connection_id":45552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9868"} 
[2026-04-17 04:00:17] local.INFO: Extracted packet for processing {"connection_id":45552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9868"} 
[2026-04-17 04:00: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-04-17 04: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-04-17 04:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752872704001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1352416923830216704,"note":"Value kept but may cause issues"} 
[2026-04-17 04:00:17] 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-04-17 04:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776378476000,"timestamp_ms":1776378476000,"timestamp_seconds":1776378476,"priority":1,"record_length":96,"hex_timestamp":"0000019d986875e0"} 
[2026-04-17 04:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-17 04:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":45552,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 04:00:17] local.INFO: GPS data processed {"connection_id":45552,"processed":0,"errors":0,"total":1} 
[2026-04-17 04:00:17] local.INFO: Acknowledgment sent {"connection_id":45552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:00:20] local.INFO: TCP Data received {"connection_id":45552,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9867ca00012d12dc0006dce3b0000a009832..."} 
[2026-04-17 04:00:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9867ca00012d12dc0006dce3b0000a009832..."} 
[2026-04-17 04:00:20] local.INFO: Processing buffer {"connection_id":45552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9867ca00012d12dc0006dce3b0000a009832..."} 
[2026-04-17 04:00:20] local.INFO: Packet analysis {"connection_id":45552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9867"} 
[2026-04-17 04:00:20] local.INFO: Extracted packet for processing {"connection_id":45552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9867"} 
[2026-04-17 04:00:20] local.INFO: GPS Element Parsed {"raw_longitude":756210688,"raw_latitude":115139504,"longitude_deg":75.6210688,"latitude_deg":11.5139504,"altitude":10,"angle":152,"satellites":50,"speed":35,"hex_longitude":"2d12dc00","hex_latitude":"06dce3b0","is_valid_coordinates":true} 
[2026-04-17 04:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:00:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:00:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,126,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 04:00:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776378432000,"timestamp_ms":1776378432000,"timestamp_seconds":1776378432,"priority":1,"record_length":96,"hex_timestamp":"0000019d9867ca00"} 
[2026-04-17 04:00:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:00:20] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:00:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 04:00:20] 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-04-17 04:00:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:00:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:00:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:00:20] local.INFO: Teltonika packet parsed successfully {"connection_id":45552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:00:20] local.INFO: Passing IMEI to GPS processor {"connection_id":45552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:00:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":45552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:00:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:00:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:00:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:00:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27984,"126":206,"2":56576,"24":35,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,2,24,16]} 
[2026-04-17 04:00:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:00:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:00:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 04:00:20] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-17 04:00:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:00:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27984,"unknown_126":206,"power_alt":56576,"ignition":35,"odometer":null}} 
[2026-04-17 04:00:20] local.INFO: DEBUG: GPS processor result {"connection_id":45552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19045,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:00:20] local.INFO: GPS data processed {"connection_id":45552,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:00:20] local.INFO: Acknowledgment sent {"connection_id":45552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:00:29] local.INFO: TCP Data received {"connection_id":46312,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9869d958012d7d288005eac4d8000300b633..."} 
[2026-04-17 04:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9869d958012d7d288005eac4d8000300b633..."} 
[2026-04-17 04:00:29] local.INFO: Processing buffer {"connection_id":46312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9869d958012d7d288005eac4d8000300b633..."} 
[2026-04-17 04:00:29] local.INFO: Packet analysis {"connection_id":46312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9869"} 
[2026-04-17 04:00:29] local.INFO: Extracted packet for processing {"connection_id":46312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9869"} 
[2026-04-17 04:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763177088,"raw_latitude":99271896,"longitude_deg":76.3177088,"latitude_deg":9.9271896,"altitude":3,"angle":182,"satellites":51,"speed":45,"hex_longitude":"2d7d2880","hex_latitude":"05eac4d8","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752911104001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273865054871355392,"note":"Value kept but may cause issues"} 
[2026-04-17 04:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9019091597923069952,"note":"Value kept but may cause issues"} 
[2026-04-17 04:00: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-04-17 04:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776378567000,"timestamp_ms":1776378567000,"timestamp_seconds":1776378567,"priority":1,"record_length":96,"hex_timestamp":"0000019d9869d958"} 
[2026-04-17 04:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:00: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-04-17 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46312,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:00: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-04-17 04:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752911104001,"66":27397,"154":206,"87":13824,"24":45,"16":273865054871355392,"45":9019091597923069952},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-04-17 04:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752911104001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:00:29] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-04-17 04:00:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 04:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273865054871355392,"km_value":273865054871355.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9019091597923069952,"description":"Unknown IO ID 45"} 
[2026-04-17 04:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752911104001,"power":27397,"unknown_154":206,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":9019091597923069952}} 
[2026-04-17 04:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":46312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:00:29] local.INFO: GPS data processed {"connection_id":46312,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:00:29] local.INFO: Acknowledgment sent {"connection_id":46312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:00:53] local.INFO: TCP Data received {"connection_id":45553,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:00:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:00:53] local.INFO: Processing buffer {"connection_id":45553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:00:53] local.INFO: IMEI packet received {"connection_id":45553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:00:53] local.INFO: IMEI acknowledgment sent {"connection_id":45553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:00:57] local.INFO: TCP Data received {"connection_id":45553,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:00:57] local.INFO: Processing buffer {"connection_id":45553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:00:57] local.INFO: IMEI packet received {"connection_id":45553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":45553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:01:01] local.INFO: TCP Data received {"connection_id":45553,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:01:01] local.INFO: Processing buffer {"connection_id":45553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:01:01] local.INFO: IMEI packet received {"connection_id":45553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":45553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:01:02] local.INFO: TCP Data received {"connection_id":45553,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9869f898012d7d268005eaa1b0000200b634..."} 
[2026-04-17 04:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9869f898012d7d268005eaa1b0000200b634..."} 
[2026-04-17 04:01:02] local.INFO: Processing buffer {"connection_id":45553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9869f898012d7d268005eaa1b0000200b634..."} 
[2026-04-17 04:01:02] local.INFO: Packet analysis {"connection_id":45553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9869"} 
[2026-04-17 04:01:02] local.INFO: Extracted packet for processing {"connection_id":45553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9869"} 
[2026-04-17 04:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763176576,"raw_latitude":99262896,"longitude_deg":76.3176576,"latitude_deg":9.9262896,"altitude":2,"angle":182,"satellites":52,"speed":44,"hex_longitude":"2d7d2680","hex_latitude":"05eaa1b0","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752913152001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273865492958019584,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018599016711378944,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:02] 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-04-17 04:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776378575000,"timestamp_ms":1776378575000,"timestamp_seconds":1776378575,"priority":1,"record_length":96,"hex_timestamp":"0000019d9869f898"} 
[2026-04-17 04:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 04:01: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-04-17 04: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-04-17 04:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:01:02] 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-04-17 04:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752913152001,"66":27376,"154":206,"87":13824,"24":44,"16":273865492958019584,"45":9018599016711378944},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-04-17 04:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752913152001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:01:02] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-04-17 04:01:02] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 04:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273865492958019584,"km_value":273865492958019.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018599016711378944,"description":"Unknown IO ID 45"} 
[2026-04-17 04:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752913152001,"power":27376,"unknown_154":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":9018599016711378944}} 
[2026-04-17 04:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":45553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:01:02] local.INFO: GPS data processed {"connection_id":45553,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:01:02] local.INFO: Acknowledgment sent {"connection_id":45553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:01:03] local.INFO: TCP Data received {"connection_id":45553,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d986a17d8012d7d250005ea7dc8000200b634..."} 
[2026-04-17 04:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986a17d8012d7d250005ea7dc8000200b634..."} 
[2026-04-17 04:01:03] local.INFO: Processing buffer {"connection_id":45553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986a17d8012d7d250005ea7dc8000200b634..."} 
[2026-04-17 04:01:03] local.INFO: Packet analysis {"connection_id":45553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986a"} 
[2026-04-17 04:01:03] local.INFO: Extracted packet for processing {"connection_id":45553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986a"} 
[2026-04-17 04:01:03] local.INFO: GPS Element Parsed {"raw_longitude":763176192,"raw_latitude":99253704,"longitude_deg":76.3176192,"latitude_deg":9.9253704,"altitude":2,"angle":182,"satellites":52,"speed":46,"hex_longitude":"2d7d2500","hex_latitude":"05ea7dc8","is_valid_coordinates":true} 
[2026-04-17 04:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752915200001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273865939634618368,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018036066755653632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:03] 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-04-17 04:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776378583000,"timestamp_ms":1776378583000,"timestamp_seconds":1776378583,"priority":1,"record_length":96,"hex_timestamp":"0000019d986a17d8"} 
[2026-04-17 04:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 04:01: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-04-17 04:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:01:03] 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-04-17 04:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752915200001,"66":27267,"154":206,"87":13824,"24":46,"16":273865939634618368,"45":9018036066755653632},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-04-17 04:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752915200001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:01:03] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-04-17 04:01:03] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 04:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273865939634618368,"km_value":273865939634618.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018036066755653632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752915200001,"power":27267,"unknown_154":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":9018036066755653632}} 
[2026-04-17 04:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":45553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19048,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:01:03] local.INFO: GPS data processed {"connection_id":45553,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:01:03] local.INFO: Acknowledgment sent {"connection_id":45553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:01:05] local.INFO: TCP Data received {"connection_id":46313,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:01:05] local.INFO: Processing buffer {"connection_id":46313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:01:05] local.INFO: IMEI packet received {"connection_id":46313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":46313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:01:06] local.INFO: TCP Data received {"connection_id":46313,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:01:06] local.INFO: Processing buffer {"connection_id":46313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:01:06] local.INFO: IMEI packet received {"connection_id":46313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:01:06] local.INFO: IMEI acknowledgment sent {"connection_id":46313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:01:11] local.INFO: TCP Data received {"connection_id":46313,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46313,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:01:11] local.INFO: Processing buffer {"connection_id":46313,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:01:11] local.INFO: IMEI packet received {"connection_id":46313,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":46313,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:01:13] local.INFO: TCP Data received {"connection_id":46313,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98681c08012d12fec006dcae300008009333..."} 
[2026-04-17 04:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98681c08012d12fec006dcae300008009333..."} 
[2026-04-17 04:01:13] local.INFO: Processing buffer {"connection_id":46313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98681c08012d12fec006dcae300008009333..."} 
[2026-04-17 04:01:13] local.INFO: Packet analysis {"connection_id":46313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9868"} 
[2026-04-17 04:01:13] local.INFO: Extracted packet for processing {"connection_id":46313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9868"} 
[2026-04-17 04:01:13] local.INFO: GPS Element Parsed {"raw_longitude":756219584,"raw_latitude":115125808,"longitude_deg":75.6219584,"latitude_deg":11.5125808,"altitude":8,"angle":147,"satellites":51,"speed":0,"hex_longitude":"2d12fec0","hex_latitude":"06dcae30","is_valid_coordinates":true} 
[2026-04-17 04:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752878592001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1358961217034760192,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776378453000,"timestamp_ms":1776378453000,"timestamp_seconds":1776378453,"priority":1,"record_length":96,"hex_timestamp":"0000019d98681c08"} 
[2026-04-17 04:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:01:13] 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-04-17 04:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 04:01:13] 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-04-17 04:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46313,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46313,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752878592001,"66":27930,"126":206,"2":56576,"24":0,"16":106618783551979520,"45":1358961217034760192},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,2,24,16,45]} 
[2026-04-17 04:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752878592001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:01:13] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-17 04:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1358961217034760192,"description":"Unknown IO ID 45"} 
[2026-04-17 04:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752878592001,"power":27930,"unknown_126":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1358961217034760192}} 
[2026-04-17 04:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":46313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19049,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:01:13] local.INFO: GPS data processed {"connection_id":46313,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:01:13] local.INFO: Acknowledgment sent {"connection_id":46313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:01:35] local.INFO: TCP Data received {"connection_id":45553,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d986a3718012d7d238005ea5990000200b634..."} 
[2026-04-17 04:01:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986a3718012d7d238005ea5990000200b634..."} 
[2026-04-17 04:01:35] local.INFO: Processing buffer {"connection_id":45553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986a3718012d7d238005ea5990000200b634..."} 
[2026-04-17 04:01:35] local.INFO: Packet analysis {"connection_id":45553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986a"} 
[2026-04-17 04:01:35] local.INFO: Extracted packet for processing {"connection_id":45553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986a"} 
[2026-04-17 04:01:35] local.INFO: GPS Element Parsed {"raw_longitude":763175808,"raw_latitude":99244432,"longitude_deg":76.3175808,"latitude_deg":9.9244432,"altitude":2,"angle":182,"satellites":52,"speed":45,"hex_longitude":"2d7d2380","hex_latitude":"05ea5990","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:01:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752917248001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273866390606184448,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017613854288234496,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:35] 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-04-17 04:01:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776378591000,"timestamp_ms":1776378591000,"timestamp_seconds":1776378591,"priority":1,"record_length":96,"hex_timestamp":"0000019d986a3718"} 
[2026-04-17 04:01:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:01:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:01:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 04:01: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-04-17 04: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-04-17 04:01:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:01:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:01:35] local.INFO: Teltonika packet parsed successfully {"connection_id":45553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:01:35] local.INFO: Passing IMEI to GPS processor {"connection_id":45553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:01:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":45553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:01:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:01:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:01:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:01:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752917248001,"66":27245,"154":206,"87":13824,"24":45,"16":273866390606184448,"45":9017613854288234496},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-04-17 04:01:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:01:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:01:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752917248001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:01:35] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-04-17 04:01:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 04:01:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273866390606184448,"km_value":273866390606184.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:01:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017613854288234496,"description":"Unknown IO ID 45"} 
[2026-04-17 04:01:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752917248001,"power":27245,"unknown_154":206,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":9017613854288234496}} 
[2026-04-17 04:01:35] local.INFO: DEBUG: GPS processor result {"connection_id":45553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:01:35] local.INFO: GPS data processed {"connection_id":45553,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:01:35] local.INFO: Acknowledgment sent {"connection_id":45553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:01:45] local.INFO: TCP Data received {"connection_id":46313,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98686e10012d13234006dc74280007009533..."} 
[2026-04-17 04:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98686e10012d13234006dc74280007009533..."} 
[2026-04-17 04:01:45] local.INFO: Processing buffer {"connection_id":46313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98686e10012d13234006dc74280007009533..."} 
[2026-04-17 04:01:45] local.INFO: Packet analysis {"connection_id":46313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9868"} 
[2026-04-17 04:01:45] local.INFO: Extracted packet for processing {"connection_id":46313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9868"} 
[2026-04-17 04:01:45] local.INFO: GPS Element Parsed {"raw_longitude":756228928,"raw_latitude":115110952,"longitude_deg":75.6228928,"latitude_deg":11.5110952,"altitude":7,"angle":149,"satellites":51,"speed":0,"hex_longitude":"2d132340","hex_latitude":"06dc7428","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752883968001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1368742472471949312,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,126,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776378474000,"timestamp_ms":1776378474000,"timestamp_seconds":1776378474,"priority":1,"record_length":96,"hex_timestamp":"0000019d98686e10"} 
[2026-04-17 04:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:01: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-04-17 04: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":26,"data_length":795,"current_offset":136} 
[2026-04-17 04:01: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-04-17 04: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-04-17 04:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46313,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46313,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752883968001,"66":28006,"126":206,"2":56576,"24":0,"16":106618783551979520,"45":1368742472471949312},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,126,2,24,16,45]} 
[2026-04-17 04:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752883968001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:01:45] local.INFO: Unknown IO ID detected {"io_id":126,"value":206,"description":"Unknown IO ID 126"} 
[2026-04-17 04:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1368742472471949312,"description":"Unknown IO ID 45"} 
[2026-04-17 04:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752883968001,"power":28006,"unknown_126":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1368742472471949312}} 
[2026-04-17 04:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":46313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19051,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:01:45] local.INFO: GPS data processed {"connection_id":46313,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:01:45] local.INFO: Acknowledgment sent {"connection_id":46313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:01:52] local.INFO: TCP Data received {"connection_id":45496,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:01:52] local.INFO: Processing buffer {"connection_id":45496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:01:52] local.INFO: IMEI packet received {"connection_id":45496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":45496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:01:52] local.INFO: TCP Data received {"connection_id":45496,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:01:52] local.INFO: Processing buffer {"connection_id":45496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:01:52] local.INFO: IMEI packet received {"connection_id":45496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":45496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:01:57] local.INFO: TCP Data received {"connection_id":45496,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:01:57] local.INFO: Processing buffer {"connection_id":45496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:01:57] local.INFO: IMEI packet received {"connection_id":45496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":45496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:01:58] local.INFO: TCP Data received {"connection_id":45496,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d986a5658012d7d218005ea3578000300b733..."} 
[2026-04-17 04:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986a5658012d7d218005ea3578000300b733..."} 
[2026-04-17 04:01:58] local.INFO: Processing buffer {"connection_id":45496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986a5658012d7d218005ea3578000300b733..."} 
[2026-04-17 04:01:58] local.INFO: Packet analysis {"connection_id":45496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986a"} 
[2026-04-17 04:01:58] local.INFO: Extracted packet for processing {"connection_id":45496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986a"} 
[2026-04-17 04:01:58] local.INFO: GPS Element Parsed {"raw_longitude":763175296,"raw_latitude":99235192,"longitude_deg":76.3175296,"latitude_deg":9.9235192,"altitude":3,"angle":183,"satellites":51,"speed":45,"hex_longitude":"2d7d2180","hex_latitude":"05ea3578","is_valid_coordinates":true} 
[2026-04-17 04:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752919296001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273866837282783232,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017191641820794880,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01: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-04-17 04:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776378599000,"timestamp_ms":1776378599000,"timestamp_seconds":1776378599,"priority":1,"record_length":96,"hex_timestamp":"0000019d986a5658"} 
[2026-04-17 04:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:01: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-04-17 04:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-17 04:01:58] 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-04-17 04:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:01:58] 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-04-17 04:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752919296001,"66":27376,"154":206,"87":13824,"24":45,"16":273866837282783232,"45":9017191641820794880},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-04-17 04:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752919296001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:01:58] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-04-17 04:01:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 04:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273866837282783232,"km_value":273866837282783.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017191641820794880,"description":"Unknown IO ID 45"} 
[2026-04-17 04:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752919296001,"power":27376,"unknown_154":206,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":9017191641820794880}} 
[2026-04-17 04:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":45496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:01:58] local.INFO: GPS data processed {"connection_id":45496,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:01:58] local.INFO: Acknowledgment sent {"connection_id":45496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:01:59] local.INFO: TCP Data received {"connection_id":45496,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d986a7598012d7d1fc005ea1140000400b834..."} 
[2026-04-17 04:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986a7598012d7d1fc005ea1140000400b834..."} 
[2026-04-17 04:01:59] local.INFO: Processing buffer {"connection_id":45496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986a7598012d7d1fc005ea1140000400b834..."} 
[2026-04-17 04:01:59] local.INFO: Packet analysis {"connection_id":45496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986a"} 
[2026-04-17 04:01:59] local.INFO: Extracted packet for processing {"connection_id":45496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986a"} 
[2026-04-17 04:01:59] local.INFO: GPS Element Parsed {"raw_longitude":763174848,"raw_latitude":99225920,"longitude_deg":76.3174848,"latitude_deg":9.922592,"altitude":4,"angle":184,"satellites":52,"speed":45,"hex_longitude":"2d7d1fc0","hex_latitude":"05ea1140","is_valid_coordinates":true} 
[2026-04-17 04:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752921344001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273867288254349312,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016628691865008128,"note":"Value kept but may cause issues"} 
[2026-04-17 04:01:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776378607000,"timestamp_ms":1776378607000,"timestamp_seconds":1776378607,"priority":1,"record_length":96,"hex_timestamp":"0000019d986a7598"} 
[2026-04-17 04:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 04:01:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752921344001,"66":27365,"154":206,"87":13824,"24":45,"16":273867288254349312,"45":9016628691865008128},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-04-17 04:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752921344001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:01:59] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-04-17 04:01:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 04:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273867288254349312,"km_value":273867288254349.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016628691865008128,"description":"Unknown IO ID 45"} 
[2026-04-17 04:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752921344001,"power":27365,"unknown_154":206,"unknown_87":13824,"ignition":45,"odometer":null,"unknown_45":9016628691865008128}} 
[2026-04-17 04:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":45496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:01:59] local.INFO: GPS data processed {"connection_id":45496,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:01:59] local.INFO: Acknowledgment sent {"connection_id":45496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:02:05] local.INFO: TCP Data received {"connection_id":45497,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:02:05] local.INFO: Processing buffer {"connection_id":45497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:02:05] local.INFO: IMEI packet received {"connection_id":45497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":45497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:02:10] local.INFO: TCP Data received {"connection_id":45497,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45497,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:02:10] local.INFO: Processing buffer {"connection_id":45497,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:02:10] local.INFO: IMEI packet received {"connection_id":45497,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":45497,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:02:12] local.INFO: TCP Data received {"connection_id":45497,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986b0df0012d13b88006da9b98000800a237..."} 
[2026-04-17 04:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986b0df0012d13b88006da9b98000800a237..."} 
[2026-04-17 04:02:12] local.INFO: Processing buffer {"connection_id":45497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986b0df0012d13b88006da9b98000800a237..."} 
[2026-04-17 04:02:12] local.INFO: Packet analysis {"connection_id":45497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986b"} 
[2026-04-17 04:02:12] local.INFO: Extracted packet for processing {"connection_id":45497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986b"} 
[2026-04-17 04:02:12] local.INFO: GPS Element Parsed {"raw_longitude":756267136,"raw_latitude":114989976,"longitude_deg":75.6267136,"latitude_deg":11.4989976,"altitude":8,"angle":162,"satellites":55,"speed":39,"hex_longitude":"2d13b880","hex_latitude":"06da9b98","is_valid_coordinates":true} 
[2026-04-17 04:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752928768001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1418211699598696448,"note":"Value kept but may cause issues"} 
[2026-04-17 04:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776378646000,"timestamp_ms":1776378646000,"timestamp_seconds":1776378646,"priority":1,"record_length":96,"hex_timestamp":"0000019d986b0df0"} 
[2026-04-17 04:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:02: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-04-17 04:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 04:02:12] 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-04-17 04:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752928768001,"66":27843,"127":206,"2":56576,"24":39,"16":106618783551979520,"45":1418211699598696448},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-04-17 04:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752928768001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:02:12] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-17 04:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1418211699598696448,"description":"Unknown IO ID 45"} 
[2026-04-17 04:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752928768001,"power":27843,"unknown_127":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":1418211699598696448}} 
[2026-04-17 04:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":45497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19054,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:02:12] local.INFO: GPS data processed {"connection_id":45497,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:02:12] local.INFO: Acknowledgment sent {"connection_id":45497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:02:30] local.INFO: TCP Data received {"connection_id":45496,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d986a94d8012d7d1d8005e9ebd8000300b734..."} 
[2026-04-17 04:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986a94d8012d7d1d8005e9ebd8000300b734..."} 
[2026-04-17 04:02:30] local.INFO: Processing buffer {"connection_id":45496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986a94d8012d7d1d8005e9ebd8000300b734..."} 
[2026-04-17 04:02:30] local.INFO: Packet analysis {"connection_id":45496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986a"} 
[2026-04-17 04:02:30] local.INFO: Extracted packet for processing {"connection_id":45496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986a"} 
[2026-04-17 04:02:30] local.INFO: GPS Element Parsed {"raw_longitude":763174272,"raw_latitude":99216344,"longitude_deg":76.3174272,"latitude_deg":9.9216344,"altitude":3,"angle":183,"satellites":52,"speed":48,"hex_longitude":"2d7d1d80","hex_latitude":"05e9ebd8","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752923392001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273867752110817280,"note":"Value kept but may cause issues"} 
[2026-04-17 04:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016136110653390848,"note":"Value kept but may cause issues"} 
[2026-04-17 04:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776378615000,"timestamp_ms":1776378615000,"timestamp_seconds":1776378615,"priority":1,"record_length":96,"hex_timestamp":"0000019d986a94d8"} 
[2026-04-17 04:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:02: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-04-17 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:02: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-04-17 04: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-04-17 04:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04: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-04-17 04:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752923392001,"66":27463,"154":206,"87":13824,"24":48,"16":273867752110817280,"45":9016136110653390848},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,87,24,16,45]} 
[2026-04-17 04:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752923392001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:02:30] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-04-17 04:02:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 04:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273867752110817280,"km_value":273867752110817.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016136110653390848,"description":"Unknown IO ID 45"} 
[2026-04-17 04:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752923392001,"power":27463,"unknown_154":206,"unknown_87":13824,"ignition":48,"odometer":null,"unknown_45":9016136110653390848}} 
[2026-04-17 04:02:31] local.INFO: DEBUG: GPS processor result {"connection_id":45496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:02:31] local.INFO: GPS data processed {"connection_id":45496,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:02:31] local.INFO: Acknowledgment sent {"connection_id":45496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:02:46] local.INFO: TCP Data received {"connection_id":45497,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986b5ff8012d13cf8006da5838000700a835..."} 
[2026-04-17 04:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986b5ff8012d13cf8006da5838000700a835..."} 
[2026-04-17 04:02:46] local.INFO: Processing buffer {"connection_id":45497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986b5ff8012d13cf8006da5838000700a835..."} 
[2026-04-17 04:02:46] local.INFO: Packet analysis {"connection_id":45497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986b"} 
[2026-04-17 04:02:46] local.INFO: Extracted packet for processing {"connection_id":45497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986b"} 
[2026-04-17 04:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756273024,"raw_latitude":114972728,"longitude_deg":75.6273024,"latitude_deg":11.4972728,"altitude":7,"angle":168,"satellites":53,"speed":0,"hex_longitude":"2d13cf80","hex_latitude":"06da5838","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752933376001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1421026449361180672,"note":"Value kept but may cause issues"} 
[2026-04-17 04:02:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776378667000,"timestamp_ms":1776378667000,"timestamp_seconds":1776378667,"priority":1,"record_length":96,"hex_timestamp":"0000019d986b5ff8"} 
[2026-04-17 04:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:02:46] 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-04-17 04: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 04:02:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45497,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752933376001,"66":27887,"127":206,"2":56576,"24":0,"16":106618783551979520,"45":1421026449361180672},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-04-17 04:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752933376001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:02:46] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-17 04:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1421026449361180672,"description":"Unknown IO ID 45"} 
[2026-04-17 04:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752933376001,"power":27887,"unknown_127":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1421026449361180672}} 
[2026-04-17 04:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":45497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19056,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:02:46] local.INFO: GPS data processed {"connection_id":45497,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:02:46] local.INFO: Acknowledgment sent {"connection_id":45497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:02:52] local.INFO: TCP Data received {"connection_id":45755,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:02:52] local.INFO: Processing buffer {"connection_id":45755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:02:52] local.INFO: IMEI packet received {"connection_id":45755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":45755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:02:55] local.INFO: TCP Data received {"connection_id":45755,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:02:55] local.INFO: Processing buffer {"connection_id":45755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:02:55] local.INFO: IMEI packet received {"connection_id":45755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":45755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:02:56] local.INFO: TCP Data received {"connection_id":45755,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d986bf468012d7d058005e85328000300b634..."} 
[2026-04-17 04:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986bf468012d7d058005e85328000300b634..."} 
[2026-04-17 04:02:56] local.INFO: Processing buffer {"connection_id":45755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986bf468012d7d058005e85328000300b634..."} 
[2026-04-17 04:02:56] local.INFO: Packet analysis {"connection_id":45755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986b"} 
[2026-04-17 04:02:56] local.INFO: Extracted packet for processing {"connection_id":45755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986b"} 
[2026-04-17 04:02:56] local.INFO: GPS Element Parsed {"raw_longitude":763168128,"raw_latitude":99111720,"longitude_deg":76.3168128,"latitude_deg":9.911172,"altitude":3,"angle":182,"satellites":52,"speed":44,"hex_longitude":"2d7d0580","hex_latitude":"05e85328","is_valid_coordinates":true} 
[2026-04-17 04:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752946432001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273872837352095744,"note":"Value kept but may cause issues"} 
[2026-04-17 04:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009310342441211904,"note":"Value kept but may cause issues"} 
[2026-04-17 04:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776378705000,"timestamp_ms":1776378705000,"timestamp_seconds":1776378705,"priority":1,"record_length":96,"hex_timestamp":"0000019d986bf468"} 
[2026-04-17 04:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 04:02:56] 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-04-17 04:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:02:56] 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-04-17 04:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752946432001,"66":27376,"31":206,"87":13824,"24":44,"16":273872837352095744,"45":9009310342441211904},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-04-17 04:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752946432001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:02:56] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-04-17 04:02:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 04:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273872837352095744,"km_value":273872837352095.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009310342441211904,"description":"Unknown IO ID 45"} 
[2026-04-17 04:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752946432001,"power":27376,"unknown_31":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":9009310342441211904}} 
[2026-04-17 04:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":45755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:02:56] local.INFO: GPS data processed {"connection_id":45755,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:02:56] local.INFO: Acknowledgment sent {"connection_id":45755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:03:05] local.INFO: TCP Data received {"connection_id":45756,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:03:05] local.INFO: Processing buffer {"connection_id":45756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:03:05] local.INFO: IMEI packet received {"connection_id":45756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":45756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:03:10] local.INFO: TCP Data received {"connection_id":45756,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45756,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:03:10] local.INFO: Processing buffer {"connection_id":45756,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:03:10] local.INFO: IMEI packet received {"connection_id":45756,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":45756,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:03:12] local.INFO: TCP Data received {"connection_id":45756,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986b9e78012d13d34006da2460000800b533..."} 
[2026-04-17 04:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986b9e78012d13d34006da2460000800b533..."} 
[2026-04-17 04:03:12] local.INFO: Processing buffer {"connection_id":45756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986b9e78012d13d34006da2460000800b533..."} 
[2026-04-17 04:03:12] local.INFO: Packet analysis {"connection_id":45756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986b"} 
[2026-04-17 04:03:12] local.INFO: Extracted packet for processing {"connection_id":45756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986b"} 
[2026-04-17 04:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756273984,"raw_latitude":114959456,"longitude_deg":75.6273984,"latitude_deg":11.4959456,"altitude":8,"angle":181,"satellites":51,"speed":12,"hex_longitude":"2d13d340","hex_latitude":"06da2460","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752938752001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1427500373821110272,"note":"Value kept but may cause issues"} 
[2026-04-17 04:03:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776378683000,"timestamp_ms":1776378683000,"timestamp_seconds":1776378683,"priority":1,"record_length":96,"hex_timestamp":"0000019d986b9e78"} 
[2026-04-17 04:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:03: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-04-17 04: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":108,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 04:03:12] 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-04-17 04: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-04-17 04:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752938752001,"66":27821,"127":206,"2":56576,"24":12,"16":106618783551979520,"45":1427500373821110272},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-04-17 04:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752938752001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:03:12] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-17 04:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1427500373821110272,"description":"Unknown IO ID 45"} 
[2026-04-17 04:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752938752001,"power":27821,"unknown_127":206,"power_alt":56576,"ignition":12,"odometer":null,"unknown_45":1427500373821110272}} 
[2026-04-17 04:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":45756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:03:12] local.INFO: GPS data processed {"connection_id":45756,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:03:12] local.INFO: Acknowledgment sent {"connection_id":45756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:03:27] local.INFO: TCP Data received {"connection_id":45755,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d986c13a8012d7d030005e83080000300ba34..."} 
[2026-04-17 04:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986c13a8012d7d030005e83080000300ba34..."} 
[2026-04-17 04:03:27] local.INFO: Processing buffer {"connection_id":45755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986c13a8012d7d030005e83080000300ba34..."} 
[2026-04-17 04:03:27] local.INFO: Packet analysis {"connection_id":45755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986c"} 
[2026-04-17 04:03:27] local.INFO: Extracted packet for processing {"connection_id":45755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986c"} 
[2026-04-17 04:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763167488,"raw_latitude":99102848,"longitude_deg":76.3167488,"latitude_deg":9.9102848,"altitude":3,"angle":186,"satellites":52,"speed":44,"hex_longitude":"2d7d0300","hex_latitude":"05e83080","is_valid_coordinates":true} 
[2026-04-17 04:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752948480001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273873266848825344,"note":"Value kept but may cause issues"} 
[2026-04-17 04:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008747392485500928,"note":"Value kept but may cause issues"} 
[2026-04-17 04:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776378713000,"timestamp_ms":1776378713000,"timestamp_seconds":1776378713,"priority":1,"record_length":96,"hex_timestamp":"0000019d986c13a8"} 
[2026-04-17 04:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 04:03:27] 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-04-17 04:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752948480001,"66":27332,"31":206,"87":13824,"24":44,"16":273873266848825344,"45":9008747392485500928},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-04-17 04:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752948480001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:03:27] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-04-17 04:03:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 04:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273873266848825344,"km_value":273873266848825.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008747392485500928,"description":"Unknown IO ID 45"} 
[2026-04-17 04:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752948480001,"power":27332,"unknown_31":206,"unknown_87":13824,"ignition":44,"odometer":null,"unknown_45":9008747392485500928}} 
[2026-04-17 04:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":45755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:03:27] local.INFO: GPS data processed {"connection_id":45755,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:03:27] local.INFO: Acknowledgment sent {"connection_id":45755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:03:44] local.INFO: TCP Data received {"connection_id":45756,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986bec98012d13d34006da2460000800b533..."} 
[2026-04-17 04:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986bec98012d13d34006da2460000800b533..."} 
[2026-04-17 04:03:44] local.INFO: Processing buffer {"connection_id":45756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986bec98012d13d34006da2460000800b533..."} 
[2026-04-17 04:03:44] local.INFO: Packet analysis {"connection_id":45756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986b"} 
[2026-04-17 04:03:44] local.INFO: Extracted packet for processing {"connection_id":45756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986b"} 
[2026-04-17 04:03:44] local.INFO: GPS Element Parsed {"raw_longitude":756273984,"raw_latitude":114959456,"longitude_deg":75.6273984,"latitude_deg":11.4959456,"altitude":8,"angle":181,"satellites":51,"speed":0,"hex_longitude":"2d13d340","hex_latitude":"06da2460","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752942848001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1428555904980377600,"note":"Value kept but may cause issues"} 
[2026-04-17 04:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776378703000,"timestamp_ms":1776378703000,"timestamp_seconds":1776378703,"priority":1,"record_length":96,"hex_timestamp":"0000019d986bec98"} 
[2026-04-17 04:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:03:44] 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-04-17 04: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":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 04:03:44] 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-04-17 04: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-04-17 04:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45756,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752942848001,"66":27832,"127":206,"2":56576,"24":0,"16":106618783551979520,"45":1428555904980377600},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-04-17 04:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752942848001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:03:44] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-17 04:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1428555904980377600,"description":"Unknown IO ID 45"} 
[2026-04-17 04:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752942848001,"power":27832,"unknown_127":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1428555904980377600}} 
[2026-04-17 04:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":45756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19060,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:03:44] local.INFO: GPS data processed {"connection_id":45756,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:03:44] local.INFO: Acknowledgment sent {"connection_id":45756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:03:52] local.INFO: TCP Data received {"connection_id":45554,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:03:52] local.INFO: Processing buffer {"connection_id":45554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:03:52] local.INFO: IMEI packet received {"connection_id":45554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":45554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:03:52] local.INFO: TCP Data received {"connection_id":45554,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:03:52] local.INFO: Processing buffer {"connection_id":45554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:03:52] local.INFO: IMEI packet received {"connection_id":45554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":45554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:03:57] local.INFO: TCP Data received {"connection_id":45554,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:03:57] local.INFO: Processing buffer {"connection_id":45554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:03:57] local.INFO: IMEI packet received {"connection_id":45554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":45554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:03:58] local.INFO: TCP Data received {"connection_id":45554,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d986c32e8012d7cfdc005e80d18000200bf33..."} 
[2026-04-17 04:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986c32e8012d7cfdc005e80d18000200bf33..."} 
[2026-04-17 04:03:58] local.INFO: Processing buffer {"connection_id":45554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986c32e8012d7cfdc005e80d18000200bf33..."} 
[2026-04-17 04:03:58] local.INFO: Packet analysis {"connection_id":45554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986c"} 
[2026-04-17 04:03:58] local.INFO: Extracted packet for processing {"connection_id":45554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986c"} 
[2026-04-17 04:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763166144,"raw_latitude":99093784,"longitude_deg":76.3166144,"latitude_deg":9.9093784,"altitude":2,"angle":191,"satellites":51,"speed":46,"hex_longitude":"2d7cfdc0","hex_latitude":"05e80d18","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752950528001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273873713525424128,"note":"Value kept but may cause issues"} 
[2026-04-17 04:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9008043705041453056,"note":"Value kept but may cause issues"} 
[2026-04-17 04:03:58] 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-04-17 04:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776378721000,"timestamp_ms":1776378721000,"timestamp_seconds":1776378721,"priority":1,"record_length":96,"hex_timestamp":"0000019d986c32e8"} 
[2026-04-17 04:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:03: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-04-17 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 04:03: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-04-17 04: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-04-17 04:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:03:58] 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-04-17 04:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752950528001,"66":27365,"31":206,"87":13824,"24":46,"16":273873713525424128,"45":9008043705041453056},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-04-17 04:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752950528001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:03:58] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-04-17 04:03:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 04:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273873713525424128,"km_value":273873713525424.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9008043705041453056,"description":"Unknown IO ID 45"} 
[2026-04-17 04:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752950528001,"power":27365,"unknown_31":206,"unknown_87":13824,"ignition":46,"odometer":null,"unknown_45":9008043705041453056}} 
[2026-04-17 04:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":45554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:03:58] local.INFO: GPS data processed {"connection_id":45554,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:03:58] local.INFO: Acknowledgment sent {"connection_id":45554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:04:11] local.INFO: TCP Data received {"connection_id":45498,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:04:11] local.INFO: Processing buffer {"connection_id":45498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:04:11] local.INFO: IMEI packet received {"connection_id":45498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":45498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:04:16] local.INFO: TCP Data received {"connection_id":45498,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:04:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45498,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:04:16] local.INFO: Processing buffer {"connection_id":45498,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:04:16] local.INFO: IMEI packet received {"connection_id":45498,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:04:16] local.INFO: IMEI acknowledgment sent {"connection_id":45498,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:04:17] local.INFO: TCP Data received {"connection_id":45498,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986c3ea0012d13d68006d9ed48000a00b135..."} 
[2026-04-17 04:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986c3ea0012d13d68006d9ed48000a00b135..."} 
[2026-04-17 04:04:17] local.INFO: Processing buffer {"connection_id":45498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986c3ea0012d13d68006d9ed48000a00b135..."} 
[2026-04-17 04:04:17] local.INFO: Packet analysis {"connection_id":45498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986c"} 
[2026-04-17 04:04:17] local.INFO: Extracted packet for processing {"connection_id":45498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986c"} 
[2026-04-17 04:04:17] local.INFO: GPS Element Parsed {"raw_longitude":756274816,"raw_latitude":114945352,"longitude_deg":75.6274816,"latitude_deg":11.4945352,"altitude":10,"angle":177,"satellites":53,"speed":0,"hex_longitude":"2d13d680","hex_latitude":"06d9ed48","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752947968001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1428555904980377600,"note":"Value kept but may cause issues"} 
[2026-04-17 04:04:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776378724000,"timestamp_ms":1776378724000,"timestamp_seconds":1776378724,"priority":1,"record_length":96,"hex_timestamp":"0000019d986c3ea0"} 
[2026-04-17 04:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:04:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:04:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-17 04:04:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2394,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752947968001,"66":28006,"127":206,"2":56576,"24":0,"16":106618783551979520,"45":1428555904980377600},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,2,24,16,45]} 
[2026-04-17 04:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752947968001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:04:17] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-17 04:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1428555904980377600,"description":"Unknown IO ID 45"} 
[2026-04-17 04:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752947968001,"power":28006,"unknown_127":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1428555904980377600}} 
[2026-04-17 04:04:18] local.INFO: DEBUG: GPS processor result {"connection_id":45498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19062,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:04:18] local.INFO: GPS data processed {"connection_id":45498,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:04:18] local.INFO: Acknowledgment sent {"connection_id":45498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:04:21] local.INFO: TCP Data received {"connection_id":45498,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986c90a8012d13d74006d9ac50000a00b534..."} 
[2026-04-17 04:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986c90a8012d13d74006d9ac50000a00b534..."} 
[2026-04-17 04:04:21] local.INFO: Processing buffer {"connection_id":45498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986c90a8012d13d74006d9ac50000a00b534..."} 
[2026-04-17 04:04:21] local.INFO: Packet analysis {"connection_id":45498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986c"} 
[2026-04-17 04:04:21] local.INFO: Extracted packet for processing {"connection_id":45498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986c"} 
[2026-04-17 04:04:21] local.INFO: GPS Element Parsed {"raw_longitude":756275008,"raw_latitude":114928720,"longitude_deg":75.6275008,"latitude_deg":11.492872,"altitude":10,"angle":181,"satellites":52,"speed":0,"hex_longitude":"2d13d740","hex_latitude":"06d9ac50","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:04:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752953344001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:04:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:04:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1429470698651076608,"note":"Value kept but may cause issues"} 
[2026-04-17 04:04:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:04:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776378745000,"timestamp_ms":1776378745000,"timestamp_seconds":1776378745,"priority":1,"record_length":96,"hex_timestamp":"0000019d986c90a8"} 
[2026-04-17 04:04:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:04:21] 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-04-17 04: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 04:04:21] 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-04-17 04: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-04-17 04:04:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:04:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:04:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:04:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:04:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45498,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:04:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:04:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:04:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:04:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752953344001,"66":27984,"192":206,"2":56576,"24":0,"16":106618783551979520,"45":1429470698651076608},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-04-17 04:04:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:04:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:04:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752953344001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:04:21] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-04-17 04:04:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:04:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1429470698651076608,"description":"Unknown IO ID 45"} 
[2026-04-17 04:04:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752953344001,"power":27984,"unknown_192":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1429470698651076608}} 
[2026-04-17 04:04:22] local.INFO: DEBUG: GPS processor result {"connection_id":45498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19063,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:04:22] local.INFO: GPS data processed {"connection_id":45498,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:04:22] local.INFO: Acknowledgment sent {"connection_id":45498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:04:29] local.INFO: TCP Data received {"connection_id":45554,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d986c5228012d7cf68005e7e8d8000200c035..."} 
[2026-04-17 04:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986c5228012d7cf68005e7e8d8000200c035..."} 
[2026-04-17 04:04:29] local.INFO: Processing buffer {"connection_id":45554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986c5228012d7cf68005e7e8d8000200c035..."} 
[2026-04-17 04:04:29] local.INFO: Packet analysis {"connection_id":45554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986c"} 
[2026-04-17 04:04:29] local.INFO: Extracted packet for processing {"connection_id":45554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986c"} 
[2026-04-17 04:04:29] local.INFO: GPS Element Parsed {"raw_longitude":763164288,"raw_latitude":99084504,"longitude_deg":76.3164288,"latitude_deg":9.9084504,"altitude":2,"angle":192,"satellites":53,"speed":47,"hex_longitude":"2d7cf680","hex_latitude":"05e7e8d8","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752952576001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273874168791957504,"note":"Value kept but may cause issues"} 
[2026-04-17 04:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006565961411401728,"note":"Value kept but may cause issues"} 
[2026-04-17 04:04:29] 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-04-17 04:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776378729000,"timestamp_ms":1776378729000,"timestamp_seconds":1776378729,"priority":1,"record_length":96,"hex_timestamp":"0000019d986c5228"} 
[2026-04-17 04:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:04: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-04-17 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:04: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-04-17 04:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752952576001,"66":27484,"31":206,"87":13824,"24":47,"16":273874168791957504,"45":9006565961411401728},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-04-17 04:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752952576001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:04:29] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-04-17 04:04:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 04:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273874168791957504,"km_value":273874168791957.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006565961411401728,"description":"Unknown IO ID 45"} 
[2026-04-17 04:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752952576001,"power":27484,"unknown_31":206,"unknown_87":13824,"ignition":47,"odometer":null,"unknown_45":9006565961411401728}} 
[2026-04-17 04:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":45554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:04:29] local.INFO: GPS data processed {"connection_id":45554,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:04:29] local.INFO: Acknowledgment sent {"connection_id":45554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:04:52] local.INFO: TCP Data received {"connection_id":45757,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:04:52] local.INFO: Processing buffer {"connection_id":45757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:04:52] local.INFO: IMEI packet received {"connection_id":45757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":45757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:04:57] local.INFO: TCP Data received {"connection_id":45757,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:04:57] local.INFO: Processing buffer {"connection_id":45757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:04:57] local.INFO: IMEI packet received {"connection_id":45757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":45757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:04:58] local.INFO: TCP Data received {"connection_id":45757,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d986c7168012d7cefc005e7c620000300bf33..."} 
[2026-04-17 04:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986c7168012d7cefc005e7c620000300bf33..."} 
[2026-04-17 04:04:58] local.INFO: Processing buffer {"connection_id":45757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986c7168012d7cefc005e7c620000300bf33..."} 
[2026-04-17 04:04:58] local.INFO: Packet analysis {"connection_id":45757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986c"} 
[2026-04-17 04:04:58] local.INFO: Extracted packet for processing {"connection_id":45757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986c"} 
[2026-04-17 04:04:58] local.INFO: GPS Element Parsed {"raw_longitude":763162560,"raw_latitude":99075616,"longitude_deg":76.316256,"latitude_deg":9.9075616,"altitude":3,"angle":191,"satellites":51,"speed":40,"hex_longitude":"2d7cefc0","hex_latitude":"05e7c620","is_valid_coordinates":true} 
[2026-04-17 04:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752954624001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273874611173588992,"note":"Value kept but may cause issues"} 
[2026-04-17 04:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004525267827873792,"note":"Value kept but may cause issues"} 
[2026-04-17 04:04:58] 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-04-17 04:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776378737000,"timestamp_ms":1776378737000,"timestamp_seconds":1776378737,"priority":1,"record_length":96,"hex_timestamp":"0000019d986c7168"} 
[2026-04-17 04:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:04: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-04-17 04: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 04:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:04:58] 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-04-17 04:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752954624001,"66":27321,"31":206,"87":13824,"24":40,"16":273874611173588992,"45":9004525267827873792},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,87,24,16,45]} 
[2026-04-17 04:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752954624001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:04:58] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-04-17 04:04:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 04:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273874611173588992,"km_value":273874611173589.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004525267827873792,"description":"Unknown IO ID 45"} 
[2026-04-17 04:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752954624001,"power":27321,"unknown_31":206,"unknown_87":13824,"ignition":40,"odometer":null,"unknown_45":9004525267827873792}} 
[2026-04-17 04:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":45757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:04:58] local.INFO: GPS data processed {"connection_id":45757,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:04:58] local.INFO: Acknowledgment sent {"connection_id":45757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:05:06] local.INFO: TCP Data received {"connection_id":45758,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:05:06] local.INFO: Processing buffer {"connection_id":45758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:05:06] local.INFO: IMEI packet received {"connection_id":45758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":45758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:05:08] local.INFO: TCP Data received {"connection_id":45758,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:05:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:05:08] local.INFO: Processing buffer {"connection_id":45758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:05:08] local.INFO: IMEI packet received {"connection_id":45758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:05:08] local.INFO: IMEI acknowledgment sent {"connection_id":45758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:05:11] local.INFO: TCP Data received {"connection_id":45758,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:05:11] local.INFO: Processing buffer {"connection_id":45758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:05:11] local.INFO: IMEI packet received {"connection_id":45758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":45758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:05:12] local.INFO: TCP Data received {"connection_id":45758,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986ce2b0012d13d44006d972a0000a00ae37..."} 
[2026-04-17 04:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986ce2b0012d13d44006d972a0000a00ae37..."} 
[2026-04-17 04:05:12] local.INFO: Processing buffer {"connection_id":45758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986ce2b0012d13d44006d972a0000a00ae37..."} 
[2026-04-17 04:05:12] local.INFO: Packet analysis {"connection_id":45758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986c"} 
[2026-04-17 04:05:12] local.INFO: Extracted packet for processing {"connection_id":45758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986c"} 
[2026-04-17 04:05:12] local.INFO: GPS Element Parsed {"raw_longitude":756274240,"raw_latitude":114913952,"longitude_deg":75.627424,"latitude_deg":11.4913952,"altitude":10,"angle":174,"satellites":55,"speed":0,"hex_longitude":"2d13d440","hex_latitude":"06d972a0","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752958720001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1429681804879351808,"note":"Value kept but may cause issues"} 
[2026-04-17 04:05:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776378766000,"timestamp_ms":1776378766000,"timestamp_seconds":1776378766,"priority":1,"record_length":96,"hex_timestamp":"0000019d986ce2b0"} 
[2026-04-17 04:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:05: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-04-17 04: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 04:05:12] 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-04-17 04: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-04-17 04:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752958720001,"66":27995,"192":206,"2":56576,"24":0,"16":106618783551979520,"45":1429681804879351808},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-04-17 04:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752958720001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:05:12] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-04-17 04:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1429681804879351808,"description":"Unknown IO ID 45"} 
[2026-04-17 04:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752958720001,"power":27995,"unknown_192":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1429681804879351808}} 
[2026-04-17 04:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":45758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19066,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:05:12] local.INFO: GPS data processed {"connection_id":45758,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:05:12] local.INFO: Acknowledgment sent {"connection_id":45758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:05:18] local.INFO: TCP Data received {"connection_id":45758,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986d2ce8012d13e38006d93520000b009a33..."} 
[2026-04-17 04:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986d2ce8012d13e38006d93520000b009a33..."} 
[2026-04-17 04:05:18] local.INFO: Processing buffer {"connection_id":45758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986d2ce8012d13e38006d93520000b009a33..."} 
[2026-04-17 04:05:18] local.INFO: Packet analysis {"connection_id":45758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986d"} 
[2026-04-17 04:05:18] local.INFO: Extracted packet for processing {"connection_id":45758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986d"} 
[2026-04-17 04:05:18] local.INFO: GPS Element Parsed {"raw_longitude":756278144,"raw_latitude":114898208,"longitude_deg":75.6278144,"latitude_deg":11.4898208,"altitude":11,"angle":154,"satellites":51,"speed":31,"hex_longitude":"2d13e380","hex_latitude":"06d93520","is_valid_coordinates":true} 
[2026-04-17 04:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752964096001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1428837379945439232,"note":"Value kept but may cause issues"} 
[2026-04-17 04:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776378785000,"timestamp_ms":1776378785000,"timestamp_seconds":1776378785,"priority":1,"record_length":96,"hex_timestamp":"0000019d986d2ce8"} 
[2026-04-17 04:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:05: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-04-17 04:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 04:05:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1562,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752964096001,"66":27876,"192":206,"2":56576,"24":31,"16":106618783551979520,"45":1428837379945439232},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-04-17 04:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752964096001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:05:18] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-04-17 04:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1428837379945439232,"description":"Unknown IO ID 45"} 
[2026-04-17 04:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752964096001,"power":27876,"unknown_192":206,"power_alt":56576,"ignition":31,"odometer":null,"unknown_45":1428837379945439232}} 
[2026-04-17 04:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":45758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19067,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:05:18] local.INFO: GPS data processed {"connection_id":45758,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:05:18] local.INFO: Acknowledgment sent {"connection_id":45758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:05:29] local.INFO: TCP Data received {"connection_id":45757,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d986e51e0012d7c9ac005e64250000200bd36..."} 
[2026-04-17 04:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986e51e0012d7c9ac005e64250000200bd36..."} 
[2026-04-17 04:05:29] local.INFO: Processing buffer {"connection_id":45757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986e51e0012d7c9ac005e64250000200bd36..."} 
[2026-04-17 04:05:29] local.INFO: Packet analysis {"connection_id":45757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986e"} 
[2026-04-17 04:05:29] local.INFO: Extracted packet for processing {"connection_id":45757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986e"} 
[2026-04-17 04:05:29] local.INFO: GPS Element Parsed {"raw_longitude":763140800,"raw_latitude":98976336,"longitude_deg":76.31408,"latitude_deg":9.8976336,"altitude":2,"angle":189,"satellites":54,"speed":39,"hex_longitude":"2d7c9ac0","hex_latitude":"05e64250","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752985856001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273879537501077504,"note":"Value kept but may cause issues"} 
[2026-04-17 04:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8980811001014599680,"note":"Value kept but may cause issues"} 
[2026-04-17 04:05:29] 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-04-17 04:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776378860000,"timestamp_ms":1776378860000,"timestamp_seconds":1776378860,"priority":1,"record_length":96,"hex_timestamp":"0000019d986e51e0"} 
[2026-04-17 04:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:05: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-04-17 04:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-17 04:05: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-04-17 04: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-04-17 04:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:05: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-04-17 04:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752985856001,"66":27332,"38":206,"87":13824,"24":39,"16":273879537501077504,"45":8980811001014599680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-04-17 04:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752985856001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:05:29] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-04-17 04:05:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 04:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273879537501077504,"km_value":273879537501077.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8980811001014599680,"description":"Unknown IO ID 45"} 
[2026-04-17 04:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752985856001,"power":27332,"unknown_38":206,"unknown_87":13824,"ignition":39,"odometer":null,"unknown_45":8980811001014599680}} 
[2026-04-17 04:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":45757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:05:29] local.INFO: GPS data processed {"connection_id":45757,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:05:29] local.INFO: Acknowledgment sent {"connection_id":45757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:05:49] local.INFO: TCP Data received {"connection_id":45758,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986d7ef0012d1401c006d90300000c009235..."} 
[2026-04-17 04:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986d7ef0012d1401c006d90300000c009235..."} 
[2026-04-17 04:05:49] local.INFO: Processing buffer {"connection_id":45758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986d7ef0012d1401c006d90300000c009235..."} 
[2026-04-17 04:05:49] local.INFO: Packet analysis {"connection_id":45758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986d"} 
[2026-04-17 04:05:49] local.INFO: Extracted packet for processing {"connection_id":45758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986d"} 
[2026-04-17 04:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756285888,"raw_latitude":114885376,"longitude_deg":75.6285888,"latitude_deg":11.4885376,"altitude":12,"angle":146,"satellites":53,"speed":29,"hex_longitude":"2d1401c0","hex_latitude":"06d90300","is_valid_coordinates":true} 
[2026-04-17 04:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752968960001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1433129873336246272,"note":"Value kept but may cause issues"} 
[2026-04-17 04:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776378806000,"timestamp_ms":1776378806000,"timestamp_seconds":1776378806,"priority":1,"record_length":96,"hex_timestamp":"0000019d986d7ef0"} 
[2026-04-17 04:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 04:05:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752968960001,"66":28050,"192":206,"2":56576,"24":29,"16":106618783551979520,"45":1433129873336246272},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-04-17 04:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752968960001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:05:49] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-04-17 04:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1433129873336246272,"description":"Unknown IO ID 45"} 
[2026-04-17 04:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752968960001,"power":28050,"unknown_192":206,"power_alt":56576,"ignition":29,"odometer":null,"unknown_45":1433129873336246272}} 
[2026-04-17 04:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":45758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19069,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:05:49] local.INFO: GPS data processed {"connection_id":45758,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:05:49] local.INFO: Acknowledgment sent {"connection_id":45758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:05:52] local.INFO: TCP Data received {"connection_id":46314,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:05:52] local.INFO: Processing buffer {"connection_id":46314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:05:52] local.INFO: IMEI packet received {"connection_id":46314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":46314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:05:57] local.INFO: TCP Data received {"connection_id":46314,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46314,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:05:57] local.INFO: Processing buffer {"connection_id":46314,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:05:57] local.INFO: IMEI packet received {"connection_id":46314,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":46314,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:05:58] local.INFO: TCP Data received {"connection_id":46314,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d986e78f0012d7c938005e61cf8000200c036..."} 
[2026-04-17 04:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986e78f0012d7c938005e61cf8000200c036..."} 
[2026-04-17 04:05:58] local.INFO: Processing buffer {"connection_id":46314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986e78f0012d7c938005e61cf8000200c036..."} 
[2026-04-17 04:05:58] local.INFO: Packet analysis {"connection_id":46314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986e"} 
[2026-04-17 04:05:58] local.INFO: Extracted packet for processing {"connection_id":46314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986e"} 
[2026-04-17 04:05:58] local.INFO: GPS Element Parsed {"raw_longitude":763138944,"raw_latitude":98966776,"longitude_deg":76.3138944,"latitude_deg":9.8966776,"altitude":2,"angle":192,"satellites":54,"speed":37,"hex_longitude":"2d7c9380","hex_latitude":"05e61cf8","is_valid_coordinates":true} 
[2026-04-17 04:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752988160001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273880009947480064,"note":"Value kept but may cause issues"} 
[2026-04-17 04:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978699938686980096,"note":"Value kept but may cause issues"} 
[2026-04-17 04:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776378870000,"timestamp_ms":1776378870000,"timestamp_seconds":1776378870,"priority":1,"record_length":96,"hex_timestamp":"0000019d986e78f0"} 
[2026-04-17 04:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:05: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-04-17 04:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 04:05: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-04-17 04:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:05:58] 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-04-17 04:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752988160001,"66":27397,"38":206,"87":13824,"24":37,"16":273880009947480064,"45":8978699938686980096},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-04-17 04:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752988160001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:05:58] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-04-17 04:05:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 04:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273880009947480064,"km_value":273880009947480.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978699938686980096,"description":"Unknown IO ID 45"} 
[2026-04-17 04:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752988160001,"power":27397,"unknown_38":206,"unknown_87":13824,"ignition":37,"odometer":null,"unknown_45":8978699938686980096}} 
[2026-04-17 04:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":46314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:05:58] local.INFO: GPS data processed {"connection_id":46314,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:05:58] local.INFO: Acknowledgment sent {"connection_id":46314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:06:10] local.INFO: TCP Data received {"connection_id":46315,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46315,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:06:10] local.INFO: Processing buffer {"connection_id":46315,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:06:10] local.INFO: IMEI packet received {"connection_id":46315,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":46315,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:06:16] local.INFO: TCP Data received {"connection_id":46315,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46315,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:06:16] local.INFO: Processing buffer {"connection_id":46315,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:06:16] local.INFO: IMEI packet received {"connection_id":46315,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:06:16] local.INFO: IMEI acknowledgment sent {"connection_id":46315,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:06:20] local.INFO: TCP Data received {"connection_id":46315,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986dd4e0012d14228006d8cab8000c009a36..."} 
[2026-04-17 04:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986dd4e0012d14228006d8cab8000c009a36..."} 
[2026-04-17 04:06:20] local.INFO: Processing buffer {"connection_id":46315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986dd4e0012d14228006d8cab8000c009a36..."} 
[2026-04-17 04:06:20] local.INFO: Packet analysis {"connection_id":46315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986d"} 
[2026-04-17 04:06:20] local.INFO: Extracted packet for processing {"connection_id":46315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986d"} 
[2026-04-17 04:06:20] local.INFO: GPS Element Parsed {"raw_longitude":756294272,"raw_latitude":114870968,"longitude_deg":75.6294272,"latitude_deg":11.4870968,"altitude":12,"angle":154,"satellites":54,"speed":0,"hex_longitude":"2d142280","hex_latitude":"06d8cab8","is_valid_coordinates":true} 
[2026-04-17 04:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:06:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752974336001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:06:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:06:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1441644491378458624,"note":"Value kept but may cause issues"} 
[2026-04-17 04:06:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:06:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776378828000,"timestamp_ms":1776378828000,"timestamp_seconds":1776378828,"priority":1,"record_length":96,"hex_timestamp":"0000019d986dd4e0"} 
[2026-04-17 04:06:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:06:20] 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-04-17 04:06:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-17 04:06:20] 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-04-17 04:06:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:06:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:06:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:06:20] local.INFO: Teltonika packet parsed successfully {"connection_id":46315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:06:20] local.INFO: Passing IMEI to GPS processor {"connection_id":46315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:06:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":46315,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:06:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:06:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:06:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:06:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752974336001,"66":27876,"192":206,"2":56576,"24":0,"16":106618783551979520,"45":1441644491378458624},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-04-17 04:06:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:06:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:06:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752974336001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:06:20] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-04-17 04:06:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:06:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1441644491378458624,"description":"Unknown IO ID 45"} 
[2026-04-17 04:06:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752974336001,"power":27876,"unknown_192":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1441644491378458624}} 
[2026-04-17 04:06:20] local.INFO: DEBUG: GPS processor result {"connection_id":46315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19071,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:06:20] local.INFO: GPS data processed {"connection_id":46315,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:06:20] local.INFO: Acknowledgment sent {"connection_id":46315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:06:29] local.INFO: TCP Data received {"connection_id":46314,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d986ea3e8012d7c8c8005e5f938000300be35..."} 
[2026-04-17 04:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986ea3e8012d7c8c8005e5f938000300be35..."} 
[2026-04-17 04:06:29] local.INFO: Processing buffer {"connection_id":46314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986ea3e8012d7c8c8005e5f938000300be35..."} 
[2026-04-17 04:06:29] local.INFO: Packet analysis {"connection_id":46314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986e"} 
[2026-04-17 04:06:29] local.INFO: Extracted packet for processing {"connection_id":46314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986e"} 
[2026-04-17 04:06:29] local.INFO: GPS Element Parsed {"raw_longitude":763137152,"raw_latitude":98957624,"longitude_deg":76.3137152,"latitude_deg":9.8957624,"altitude":3,"angle":190,"satellites":53,"speed":24,"hex_longitude":"2d7c8c80","hex_latitude":"05e5f938","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752990720001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273880460919046144,"note":"Value kept but may cause issues"} 
[2026-04-17 04:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976659245103380480,"note":"Value kept but may cause issues"} 
[2026-04-17 04:06:29] 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-04-17 04:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776378881000,"timestamp_ms":1776378881000,"timestamp_seconds":1776378881,"priority":1,"record_length":96,"hex_timestamp":"0000019d986ea3e8"} 
[2026-04-17 04:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:06: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-04-17 04:06:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 04:06:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46314,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:06: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-04-17 04:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752990720001,"66":27267,"38":206,"87":13824,"24":24,"16":273880460919046144,"45":8976659245103380480},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-04-17 04:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752990720001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:06:29] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-04-17 04:06:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 04:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273880460919046144,"km_value":273880460919046.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976659245103380480,"description":"Unknown IO ID 45"} 
[2026-04-17 04:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752990720001,"power":27267,"unknown_38":206,"unknown_87":13824,"ignition":24,"odometer":null,"unknown_45":8976659245103380480}} 
[2026-04-17 04:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":46314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:06:29] local.INFO: GPS data processed {"connection_id":46314,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:06:29] local.INFO: Acknowledgment sent {"connection_id":46314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:07:05] local.INFO: TCP Data received {"connection_id":45499,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:07:05] local.INFO: Processing buffer {"connection_id":45499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:07:05] local.INFO: IMEI packet received {"connection_id":45499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":45499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:07:07] local.INFO: TCP Data received {"connection_id":45555,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:07:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:07:07] local.INFO: Processing buffer {"connection_id":45555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:07:07] local.INFO: IMEI packet received {"connection_id":45555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:07:07] local.INFO: IMEI acknowledgment sent {"connection_id":45555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:07:11] local.INFO: TCP Data received {"connection_id":45499,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45499,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:07:11] local.INFO: Processing buffer {"connection_id":45499,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:07:11] local.INFO: IMEI packet received {"connection_id":45499,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":45499,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:07:12] local.INFO: TCP Data received {"connection_id":45555,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:07:12] local.INFO: Processing buffer {"connection_id":45555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:07:12] local.INFO: IMEI packet received {"connection_id":45555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":45555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:07:12] local.INFO: TCP Data received {"connection_id":45499,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986e26e8012d14228006d8cab8000c009a36..."} 
[2026-04-17 04:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986e26e8012d14228006d8cab8000c009a36..."} 
[2026-04-17 04:07:12] local.INFO: Processing buffer {"connection_id":45499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986e26e8012d14228006d8cab8000c009a36..."} 
[2026-04-17 04:07:12] local.INFO: Packet analysis {"connection_id":45499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986e"} 
[2026-04-17 04:07:12] local.INFO: Extracted packet for processing {"connection_id":45499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986e"} 
[2026-04-17 04:07:12] local.INFO: GPS Element Parsed {"raw_longitude":756294272,"raw_latitude":114870968,"longitude_deg":75.6294272,"latitude_deg":11.4870968,"altitude":12,"angle":154,"satellites":54,"speed":0,"hex_longitude":"2d142280","hex_latitude":"06d8cab8","is_valid_coordinates":true} 
[2026-04-17 04:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752979968001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1450862796862044160,"note":"Value kept but may cause issues"} 
[2026-04-17 04:07:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776378849000,"timestamp_ms":1776378849000,"timestamp_seconds":1776378849,"priority":1,"record_length":96,"hex_timestamp":"0000019d986e26e8"} 
[2026-04-17 04:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:07: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-04-17 04:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 04:07:12] 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-04-17 04:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752979968001,"66":27865,"192":206,"2":56576,"24":0,"16":106618783551979520,"45":1450862796862044160},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-04-17 04:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752979968001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:07:12] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-04-17 04:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1450862796862044160,"description":"Unknown IO ID 45"} 
[2026-04-17 04:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752979968001,"power":27865,"unknown_192":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1450862796862044160}} 
[2026-04-17 04:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":45499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19073,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:07:12] local.INFO: GPS data processed {"connection_id":45499,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:07:12] local.INFO: Acknowledgment sent {"connection_id":45499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:07:13] local.INFO: TCP Data received {"connection_id":45555,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d986ef5f0012d7c898005e5e970000500be35..."} 
[2026-04-17 04:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986ef5f0012d7c898005e5e970000500be35..."} 
[2026-04-17 04:07:13] local.INFO: Processing buffer {"connection_id":45555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986ef5f0012d7c898005e5e970000500be35..."} 
[2026-04-17 04:07:13] local.INFO: Packet analysis {"connection_id":45555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986e"} 
[2026-04-17 04:07:13] local.INFO: Extracted packet for processing {"connection_id":45555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986e"} 
[2026-04-17 04:07:13] local.INFO: GPS Element Parsed {"raw_longitude":763136384,"raw_latitude":98953584,"longitude_deg":76.3136384,"latitude_deg":9.8953584,"altitude":5,"angle":190,"satellites":53,"speed":0,"hex_longitude":"2d7c8980","hex_latitude":"05e5e970","is_valid_coordinates":true} 
[2026-04-17 04:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752993536001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273880667077476352,"note":"Value kept but may cause issues"} 
[2026-04-17 04:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8974688920264062976,"note":"Value kept but may cause issues"} 
[2026-04-17 04:07:13] 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-04-17 04:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776378902000,"timestamp_ms":1776378902000,"timestamp_seconds":1776378902,"priority":1,"record_length":96,"hex_timestamp":"0000019d986ef5f0"} 
[2026-04-17 04:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:07:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 04:07:13] 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-04-17 04:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752993536001,"66":27376,"38":206,"87":13824,"24":0,"16":273880667077476352,"45":8974688920264062976},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,87,24,16,45]} 
[2026-04-17 04:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752993536001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:07:13] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-04-17 04:07:13] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 04:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273880667077476352,"km_value":273880667077476.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":8974688920264062976,"description":"Unknown IO ID 45"} 
[2026-04-17 04:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752993536001,"power":27376,"unknown_38":206,"unknown_87":13824,"ignition":0,"odometer":null,"unknown_45":8974688920264062976}} 
[2026-04-17 04:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":45555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:07:13] local.INFO: GPS data processed {"connection_id":45555,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:07:13] local.INFO: Acknowledgment sent {"connection_id":45555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:07:44] local.INFO: TCP Data received {"connection_id":45499,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986e78f0012d1439c006d89790000c009b34..."} 
[2026-04-17 04:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986e78f0012d1439c006d89790000c009b34..."} 
[2026-04-17 04:07:44] local.INFO: Processing buffer {"connection_id":45499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986e78f0012d1439c006d89790000c009b34..."} 
[2026-04-17 04:07:44] local.INFO: Packet analysis {"connection_id":45499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986e"} 
[2026-04-17 04:07:44] local.INFO: Extracted packet for processing {"connection_id":45499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986e"} 
[2026-04-17 04:07:44] local.INFO: GPS Element Parsed {"raw_longitude":756300224,"raw_latitude":114857872,"longitude_deg":75.6300224,"latitude_deg":11.4857872,"altitude":12,"angle":155,"satellites":52,"speed":0,"hex_longitude":"2d1439c0","hex_latitude":"06d89790","is_valid_coordinates":true} 
[2026-04-17 04:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752985344001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1450862796862044160,"note":"Value kept but may cause issues"} 
[2026-04-17 04:07:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776378870000,"timestamp_ms":1776378870000,"timestamp_seconds":1776378870,"priority":1,"record_length":96,"hex_timestamp":"0000019d986e78f0"} 
[2026-04-17 04:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:07:44] 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-04-17 04:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-17 04:07:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45499,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752985344001,"66":27952,"192":206,"2":56576,"24":0,"16":106618783551979520,"45":1450862796862044160},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-04-17 04:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752985344001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:07:44] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-04-17 04:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1450862796862044160,"description":"Unknown IO ID 45"} 
[2026-04-17 04:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752985344001,"power":27952,"unknown_192":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1450862796862044160}} 
[2026-04-17 04:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":45499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19075,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:07:44] local.INFO: GPS data processed {"connection_id":45499,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:07:44] local.INFO: Acknowledgment sent {"connection_id":45499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:07:51] local.INFO: TCP Data received {"connection_id":45556,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:07:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:07:52] local.INFO: Processing buffer {"connection_id":45556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:07:52] local.INFO: IMEI packet received {"connection_id":45556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:07:52] local.INFO: IMEI acknowledgment sent {"connection_id":45556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:07:55] local.INFO: TCP Data received {"connection_id":45556,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:07:55] local.INFO: Processing buffer {"connection_id":45556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:07:55] local.INFO: IMEI packet received {"connection_id":45556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":45556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:07:57] local.INFO: TCP Data received {"connection_id":45556,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:07:57] local.INFO: Processing buffer {"connection_id":45556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:07:57] local.INFO: IMEI packet received {"connection_id":45556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":45556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:07:57] local.INFO: TCP Data received {"connection_id":45556,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9870a788012d7c178005e4d738000800d734..."} 
[2026-04-17 04:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9870a788012d7c178005e4d738000800d734..."} 
[2026-04-17 04:07:57] local.INFO: Processing buffer {"connection_id":45556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9870a788012d7c178005e4d738000800d734..."} 
[2026-04-17 04:07:57] local.INFO: Packet analysis {"connection_id":45556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9870"} 
[2026-04-17 04:07:57] local.INFO: Extracted packet for processing {"connection_id":45556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9870"} 
[2026-04-17 04:07:57] local.INFO: GPS Element Parsed {"raw_longitude":763107200,"raw_latitude":98883384,"longitude_deg":76.31072,"latitude_deg":9.8883384,"altitude":8,"angle":215,"satellites":52,"speed":32,"hex_longitude":"2d7c1780","hex_latitude":"05e4d738","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753025024001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273884386519154688,"note":"Value kept but may cause issues"} 
[2026-04-17 04:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8947315478761918464,"note":"Value kept but may cause issues"} 
[2026-04-17 04:07:57] 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-04-17 04:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776379013000,"timestamp_ms":1776379013000,"timestamp_seconds":1776379013,"priority":1,"record_length":96,"hex_timestamp":"0000019d9870a788"} 
[2026-04-17 04:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:07: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-04-17 04: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 04:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:07:57] 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-04-17 04:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753025024001,"66":27321,"95":206,"85":15104,"24":32,"16":273884386519154688,"45":8947315478761918464},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-04-17 04:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753025024001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:07:57] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-17 04:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273884386519154688,"km_value":273884386519154.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8947315478761918464,"description":"Unknown IO ID 45"} 
[2026-04-17 04:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753025024001,"power":27321,"unknown_95":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8947315478761918464}} 
[2026-04-17 04:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":45556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:07:57] local.INFO: GPS data processed {"connection_id":45556,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:07:57] local.INFO: Acknowledgment sent {"connection_id":45556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:08:11] local.INFO: TCP Data received {"connection_id":46316,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:08:11] local.INFO: Processing buffer {"connection_id":46316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:08:11] local.INFO: IMEI packet received {"connection_id":46316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":46316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:08:16] local.INFO: TCP Data received {"connection_id":46316,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46316,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:08:16] local.INFO: Processing buffer {"connection_id":46316,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:08:16] local.INFO: IMEI packet received {"connection_id":46316,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:08:16] local.INFO: IMEI acknowledgment sent {"connection_id":46316,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:08:17] local.INFO: TCP Data received {"connection_id":46316,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986f7ac00100000000000000000000000000..."} 
[2026-04-17 04:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986f7ac00100000000000000000000000000..."} 
[2026-04-17 04:08:17] local.INFO: Processing buffer {"connection_id":46316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986f7ac00100000000000000000000000000..."} 
[2026-04-17 04:08:17] local.INFO: Packet analysis {"connection_id":46316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986f"} 
[2026-04-17 04:08:17] local.INFO: Extracted packet for processing {"connection_id":46316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986f"} 
[2026-04-17 04:08: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-04-17 04:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752990720001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1457407090067214336,"note":"Value kept but may cause issues"} 
[2026-04-17 04:08:17] 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-04-17 04:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776378936000,"timestamp_ms":1776378936000,"timestamp_seconds":1776378936,"priority":1,"record_length":96,"hex_timestamp":"0000019d986f7ac0"} 
[2026-04-17 04:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:08:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 04:08:17] 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-04-17 04:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46316,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46316,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":46316,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 04:08:17] local.INFO: GPS data processed {"connection_id":46316,"processed":0,"errors":0,"total":1} 
[2026-04-17 04:08:17] local.INFO: Acknowledgment sent {"connection_id":46316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:08:22] local.INFO: TCP Data received {"connection_id":46316,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986ef208012d1483c006d821d0000e008735..."} 
[2026-04-17 04:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986ef208012d1483c006d821d0000e008735..."} 
[2026-04-17 04:08:22] local.INFO: Processing buffer {"connection_id":46316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986ef208012d1483c006d821d0000e008735..."} 
[2026-04-17 04:08:22] local.INFO: Packet analysis {"connection_id":46316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986e"} 
[2026-04-17 04:08:22] local.INFO: Extracted packet for processing {"connection_id":46316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986e"} 
[2026-04-17 04:08:22] local.INFO: GPS Element Parsed {"raw_longitude":756319168,"raw_latitude":114827728,"longitude_deg":75.6319168,"latitude_deg":11.4827728,"altitude":14,"angle":135,"satellites":53,"speed":40,"hex_longitude":"2d1483c0","hex_latitude":"06d821d0","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:08:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,191,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 04:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776378901000,"timestamp_ms":1776378901000,"timestamp_seconds":1776378901,"priority":1,"record_length":96,"hex_timestamp":"0000019d986ef208"} 
[2026-04-17 04:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:08: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 04:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":46316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":46316,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":46316,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27952,"191":206,"2":56576,"24":40,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16]} 
[2026-04-17 04:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 04:08:22] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-17 04:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:08:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27952,"unknown_191":206,"power_alt":56576,"ignition":40,"odometer":null}} 
[2026-04-17 04:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":46316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19077,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:08:22] local.INFO: GPS data processed {"connection_id":46316,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:08:22] local.INFO: Acknowledgment sent {"connection_id":46316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:08:28] local.INFO: TCP Data received {"connection_id":45556,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9870d668012d7c034005e4b850000800d634..."} 
[2026-04-17 04:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9870d668012d7c034005e4b850000800d634..."} 
[2026-04-17 04:08:28] local.INFO: Processing buffer {"connection_id":45556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9870d668012d7c034005e4b850000800d634..."} 
[2026-04-17 04:08:28] local.INFO: Packet analysis {"connection_id":45556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9870"} 
[2026-04-17 04:08:28] local.INFO: Extracted packet for processing {"connection_id":45556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9870"} 
[2026-04-17 04:08:28] local.INFO: GPS Element Parsed {"raw_longitude":763102016,"raw_latitude":98875472,"longitude_deg":76.3102016,"latitude_deg":9.8875472,"altitude":8,"angle":214,"satellites":52,"speed":30,"hex_longitude":"2d7c0340","hex_latitude":"05e4b850","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753027328001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273884841785688064,"note":"Value kept but may cause issues"} 
[2026-04-17 04:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8941756347969910784,"note":"Value kept but may cause issues"} 
[2026-04-17 04:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,95,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776379025000,"timestamp_ms":1776379025000,"timestamp_seconds":1776379025,"priority":1,"record_length":96,"hex_timestamp":"0000019d9870d668"} 
[2026-04-17 04:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:08: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-04-17 04:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 04:08: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-04-17 04: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-04-17 04:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:08:28] 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-04-17 04:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753027328001,"66":27463,"95":206,"85":15104,"24":30,"16":273884841785688064,"45":8941756347969910784},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-04-17 04:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753027328001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:08:28] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-17 04:08:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273884841785688064,"km_value":273884841785688.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8941756347969910784,"description":"Unknown IO ID 45"} 
[2026-04-17 04:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753027328001,"power":27463,"unknown_95":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8941756347969910784}} 
[2026-04-17 04:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":45556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:08:28] local.INFO: GPS data processed {"connection_id":45556,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:08:28] local.INFO: Acknowledgment sent {"connection_id":45556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:08:57] local.INFO: TCP Data received {"connection_id":45759,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:08:57] local.INFO: Processing buffer {"connection_id":45759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:08:57] local.INFO: IMEI packet received {"connection_id":45759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":45759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:09:00] local.INFO: TCP Data received {"connection_id":45759,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45759,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:09:00] local.INFO: Processing buffer {"connection_id":45759,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:09:00] local.INFO: IMEI packet received {"connection_id":45759,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":45759,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:09:01] local.INFO: TCP Data received {"connection_id":45759,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98710548012d7bef0005e49968000900d532..."} 
[2026-04-17 04:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98710548012d7bef0005e49968000900d532..."} 
[2026-04-17 04:09:01] local.INFO: Processing buffer {"connection_id":45759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98710548012d7bef0005e49968000900d532..."} 
[2026-04-17 04:09:01] local.INFO: Packet analysis {"connection_id":45759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9871"} 
[2026-04-17 04:09:01] local.INFO: Extracted packet for processing {"connection_id":45759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9871"} 
[2026-04-17 04:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763096832,"raw_latitude":98867560,"longitude_deg":76.3096832,"latitude_deg":9.886756,"altitude":9,"angle":213,"satellites":50,"speed":33,"hex_longitude":"2d7bef00","hex_latitude":"05e49968","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753030400001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273885297052221440,"note":"Value kept but may cause issues"} 
[2026-04-17 04:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8936056479689494528,"note":"Value kept but may cause issues"} 
[2026-04-17 04:09:01] 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-04-17 04:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776379037000,"timestamp_ms":1776379037000,"timestamp_seconds":1776379037,"priority":1,"record_length":96,"hex_timestamp":"0000019d98710548"} 
[2026-04-17 04:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:09:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 04:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:09: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-04-17 04:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753030400001,"66":27321,"95":206,"85":15104,"24":33,"16":273885297052221440,"45":8936056479689494528},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-04-17 04:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753030400001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:09:01] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-17 04:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273885297052221440,"km_value":273885297052221.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8936056479689494528,"description":"Unknown IO ID 45"} 
[2026-04-17 04:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753030400001,"power":27321,"unknown_95":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8936056479689494528}} 
[2026-04-17 04:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":45759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:09:01] local.INFO: GPS data processed {"connection_id":45759,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:09:01] local.INFO: Acknowledgment sent {"connection_id":45759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:09:02] local.INFO: TCP Data received {"connection_id":45759,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98713040012d7bdb0005e47ad8000a00d533..."} 
[2026-04-17 04:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98713040012d7bdb0005e47ad8000a00d533..."} 
[2026-04-17 04:09:02] local.INFO: Processing buffer {"connection_id":45759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98713040012d7bdb0005e47ad8000a00d533..."} 
[2026-04-17 04:09:02] local.INFO: Packet analysis {"connection_id":45759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9871"} 
[2026-04-17 04:09:02] local.INFO: Extracted packet for processing {"connection_id":45759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9871"} 
[2026-04-17 04:09:02] local.INFO: GPS Element Parsed {"raw_longitude":763091712,"raw_latitude":98859736,"longitude_deg":76.3091712,"latitude_deg":9.8859736,"altitude":10,"angle":213,"satellites":51,"speed":33,"hex_longitude":"2d7bdb00","hex_latitude":"05e47ad8","is_valid_coordinates":true} 
[2026-04-17 04:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:09:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753033472001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:09:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273885748023787520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:09:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930356611409078272,"note":"Value kept but may cause issues"} 
[2026-04-17 04:09:02] 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-04-17 04:09:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776379048000,"timestamp_ms":1776379048000,"timestamp_seconds":1776379048,"priority":1,"record_length":96,"hex_timestamp":"0000019d98713040"} 
[2026-04-17 04:09:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:09:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:09:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 04:09:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:09:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:09:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:09:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:09:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:09:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:09:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:09:02] 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-04-17 04:09:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:09:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:09:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753033472001,"66":27397,"95":206,"85":15104,"24":33,"16":273885748023787520,"45":8930356611409078272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-04-17 04:09:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:09:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:09:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753033472001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:09:02] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-17 04:09:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:09:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273885748023787520,"km_value":273885748023787.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:09:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930356611409078272,"description":"Unknown IO ID 45"} 
[2026-04-17 04:09:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753033472001,"power":27397,"unknown_95":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8930356611409078272}} 
[2026-04-17 04:09:02] local.INFO: DEBUG: GPS processor result {"connection_id":45759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:09:02] local.INFO: GPS data processed {"connection_id":45759,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:09:02] local.INFO: Acknowledgment sent {"connection_id":45759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:09:06] local.INFO: TCP Data received {"connection_id":46317,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:09:06] local.INFO: Processing buffer {"connection_id":46317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:09:06] local.INFO: IMEI packet received {"connection_id":46317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:09:06] local.INFO: IMEI acknowledgment sent {"connection_id":46317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:09:11] local.INFO: TCP Data received {"connection_id":46317,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:09:11] local.INFO: Processing buffer {"connection_id":46317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:09:11] local.INFO: IMEI packet received {"connection_id":46317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":46317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:09:12] local.INFO: TCP Data received {"connection_id":46317,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d986f4028012d14b94006d7ec28000f008733..."} 
[2026-04-17 04:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d986f4028012d14b94006d7ec28000f008733..."} 
[2026-04-17 04:09:12] local.INFO: Processing buffer {"connection_id":46317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d986f4028012d14b94006d7ec28000f008733..."} 
[2026-04-17 04:09:12] local.INFO: Packet analysis {"connection_id":46317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d986f"} 
[2026-04-17 04:09:12] local.INFO: Extracted packet for processing {"connection_id":46317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d986f"} 
[2026-04-17 04:09:12] local.INFO: GPS Element Parsed {"raw_longitude":756332864,"raw_latitude":114813992,"longitude_deg":75.6332864,"latitude_deg":11.4813992,"altitude":15,"angle":135,"satellites":51,"speed":0,"hex_longitude":"2d14b940","hex_latitude":"06d7ec28","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454752998656001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1478236238336086016,"note":"Value kept but may cause issues"} 
[2026-04-17 04:09:12] 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-04-17 04:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776378921000,"timestamp_ms":1776378921000,"timestamp_seconds":1776378921,"priority":1,"record_length":96,"hex_timestamp":"0000019d986f4028"} 
[2026-04-17 04:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:09:12] 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-04-17 04: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 04:09:12] 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-04-17 04: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-04-17 04:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454752998656001,"66":27876,"191":206,"2":56576,"24":0,"16":106618783551979520,"45":1478236238336086016},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-04-17 04:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454752998656001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:09:12] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-17 04:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1478236238336086016,"description":"Unknown IO ID 45"} 
[2026-04-17 04:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454752998656001,"power":27876,"unknown_191":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1478236238336086016}} 
[2026-04-17 04:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":46317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19081,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:09:12] local.INFO: GPS data processed {"connection_id":46317,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:09:12] local.INFO: Acknowledgment sent {"connection_id":46317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:09:33] local.INFO: TCP Data received {"connection_id":45759,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98715b38012d7bc74005e45d10000b00d333..."} 
[2026-04-17 04:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98715b38012d7bc74005e45d10000b00d333..."} 
[2026-04-17 04:09:33] local.INFO: Processing buffer {"connection_id":45759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98715b38012d7bc74005e45d10000b00d333..."} 
[2026-04-17 04:09:33] local.INFO: Packet analysis {"connection_id":45759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9871"} 
[2026-04-17 04:09:33] local.INFO: Extracted packet for processing {"connection_id":45759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9871"} 
[2026-04-17 04:09:33] local.INFO: GPS Element Parsed {"raw_longitude":763086656,"raw_latitude":98852112,"longitude_deg":76.3086656,"latitude_deg":9.8852112,"altitude":11,"angle":211,"satellites":51,"speed":33,"hex_longitude":"2d7bc740","hex_latitude":"05e45d10","is_valid_coordinates":true} 
[2026-04-17 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-04-17 04:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753036288001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273886194700386304,"note":"Value kept but may cause issues"} 
[2026-04-17 04:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8924727111872862208,"note":"Value kept but may cause issues"} 
[2026-04-17 04:09:33] 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-04-17 04:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776379059000,"timestamp_ms":1776379059000,"timestamp_seconds":1776379059,"priority":1,"record_length":96,"hex_timestamp":"0000019d98715b38"} 
[2026-04-17 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-04-17 04:09: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-04-17 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 04:09: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-04-17 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-04-17 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-04-17 04:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45759,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:09:33] 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-04-17 04:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753036288001,"66":27463,"95":206,"85":15104,"24":33,"16":273886194700386304,"45":8924727111872862208},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-04-17 04:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753036288001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:09:33] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-17 04:09:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273886194700386304,"km_value":273886194700386.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8924727111872862208,"description":"Unknown IO ID 45"} 
[2026-04-17 04:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753036288001,"power":27463,"unknown_95":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8924727111872862208}} 
[2026-04-17 04:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":45759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:09:33] local.INFO: GPS data processed {"connection_id":45759,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:09:33] local.INFO: Acknowledgment sent {"connection_id":45759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:09:44] local.INFO: TCP Data received {"connection_id":46317,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9871ebc0012d161b4006d68f580017008032..."} 
[2026-04-17 04:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46317,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9871ebc0012d161b4006d68f580017008032..."} 
[2026-04-17 04:09:44] local.INFO: Processing buffer {"connection_id":46317,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9871ebc0012d161b4006d68f580017008032..."} 
[2026-04-17 04:09:44] local.INFO: Packet analysis {"connection_id":46317,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9871"} 
[2026-04-17 04:09:44] local.INFO: Extracted packet for processing {"connection_id":46317,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9871"} 
[2026-04-17 04:09:44] local.INFO: GPS Element Parsed {"raw_longitude":756423488,"raw_latitude":114724696,"longitude_deg":75.6423488,"latitude_deg":11.4724696,"altitude":23,"angle":128,"satellites":50,"speed":17,"hex_longitude":"2d161b40","hex_latitude":"06d68f58","is_valid_coordinates":true} 
[2026-04-17 04:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:09:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,193,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 04:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776379096000,"timestamp_ms":1776379096000,"timestamp_seconds":1776379096,"priority":1,"record_length":96,"hex_timestamp":"0000019d9871ebc0"} 
[2026-04-17 04:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:09:44] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 04:09:44] 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-04-17 04:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46317,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46317,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27843,"193":206,"2":56576,"24":17,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16]} 
[2026-04-17 04:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 04:09:44] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-17 04:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:09:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27843,"unknown_193":206,"power_alt":56576,"ignition":17,"odometer":null}} 
[2026-04-17 04:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":46317,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19083,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:09:44] local.INFO: GPS data processed {"connection_id":46317,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:09:44] local.INFO: Acknowledgment sent {"connection_id":46317,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:09:50] local.INFO: TCP Data received {"connection_id":45760,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:09:50] local.INFO: Processing buffer {"connection_id":45760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:09:50] local.INFO: IMEI packet received {"connection_id":45760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":45760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:09:52] local.INFO: TCP Data received {"connection_id":45760,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:09:52] local.INFO: Processing buffer {"connection_id":45760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:09:52] local.INFO: IMEI packet received {"connection_id":45760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":45760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:09:57] local.INFO: TCP Data received {"connection_id":45760,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:09:57] local.INFO: Processing buffer {"connection_id":45760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:09:57] local.INFO: IMEI packet received {"connection_id":45760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":45760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:09:58] local.INFO: TCP Data received {"connection_id":45760,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98718630012d7bb3c005e43ed0000b00d532..."} 
[2026-04-17 04:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98718630012d7bb3c005e43ed0000b00d532..."} 
[2026-04-17 04:09:58] local.INFO: Processing buffer {"connection_id":45760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98718630012d7bb3c005e43ed0000b00d532..."} 
[2026-04-17 04:09:58] local.INFO: Packet analysis {"connection_id":45760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9871"} 
[2026-04-17 04:09:58] local.INFO: Extracted packet for processing {"connection_id":45760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9871"} 
[2026-04-17 04:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763081664,"raw_latitude":98844368,"longitude_deg":76.3081664,"latitude_deg":9.8844368,"altitude":11,"angle":213,"satellites":50,"speed":33,"hex_longitude":"2d7bb3c0","hex_latitude":"05e43ed0","is_valid_coordinates":true} 
[2026-04-17 04:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753039104001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273886637082017792,"note":"Value kept but may cause issues"} 
[2026-04-17 04:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919167981080875008,"note":"Value kept but may cause issues"} 
[2026-04-17 04:09: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-04-17 04:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776379070000,"timestamp_ms":1776379070000,"timestamp_seconds":1776379070,"priority":1,"record_length":96,"hex_timestamp":"0000019d98718630"} 
[2026-04-17 04:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:09: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-04-17 04:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 04:09:58] 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-04-17 04:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:09:58] 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-04-17 04:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753039104001,"66":27463,"95":206,"85":15104,"24":33,"16":273886637082017792,"45":8919167981080875008},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-04-17 04:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753039104001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:09:58] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-17 04:09:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273886637082017792,"km_value":273886637082017.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919167981080875008,"description":"Unknown IO ID 45"} 
[2026-04-17 04:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753039104001,"power":27463,"unknown_95":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8919167981080875008}} 
[2026-04-17 04:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":45760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:09:58] local.INFO: GPS data processed {"connection_id":45760,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:09:58] local.INFO: Acknowledgment sent {"connection_id":45760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:10:05] local.INFO: TCP Data received {"connection_id":45500,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:10:05] local.INFO: Processing buffer {"connection_id":45500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:10:05] local.INFO: IMEI packet received {"connection_id":45500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":45500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:10:11] local.INFO: TCP Data received {"connection_id":45500,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45500,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:10:11] local.INFO: Processing buffer {"connection_id":45500,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:10:11] local.INFO: IMEI packet received {"connection_id":45500,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":45500,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:10:12] local.INFO: TCP Data received {"connection_id":45500,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9872f1780100000000000000000000000000..."} 
[2026-04-17 04:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9872f1780100000000000000000000000000..."} 
[2026-04-17 04:10:12] local.INFO: Processing buffer {"connection_id":45500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9872f1780100000000000000000000000000..."} 
[2026-04-17 04:10:12] local.INFO: Packet analysis {"connection_id":45500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9872"} 
[2026-04-17 04:10:12] local.INFO: Extracted packet for processing {"connection_id":45500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9872"} 
[2026-04-17 04:10: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-04-17 04: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-04-17 04:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753048576001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1592937291319302144,"note":"Value kept but may cause issues"} 
[2026-04-17 04:10:12] 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-04-17 04:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776379163000,"timestamp_ms":1776379163000,"timestamp_seconds":1776379163,"priority":1,"record_length":96,"hex_timestamp":"0000019d9872f178"} 
[2026-04-17 04:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:10: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-04-17 04: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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 04:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":45500,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 04:10:12] local.INFO: GPS data processed {"connection_id":45500,"processed":0,"errors":0,"total":1} 
[2026-04-17 04:10:12] local.INFO: Acknowledgment sent {"connection_id":45500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:10:29] local.INFO: TCP Data received {"connection_id":45760,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98730cd0012d7b0f4005e32610000500ac2c..."} 
[2026-04-17 04:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98730cd0012d7b0f4005e32610000500ac2c..."} 
[2026-04-17 04:10:29] local.INFO: Processing buffer {"connection_id":45760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98730cd0012d7b0f4005e32610000500ac2c..."} 
[2026-04-17 04:10:29] local.INFO: Packet analysis {"connection_id":45760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:10:29] local.INFO: Extracted packet for processing {"connection_id":45760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:10:29] local.INFO: GPS Element Parsed {"raw_longitude":763039552,"raw_latitude":98772496,"longitude_deg":76.3039552,"latitude_deg":9.8772496,"altitude":5,"angle":172,"satellites":44,"speed":27,"hex_longitude":"2d7b0f40","hex_latitude":"05e32610","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753065728001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273890704416047104,"note":"Value kept but may cause issues"} 
[2026-04-17 04:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867446954091208704,"note":"Value kept but may cause issues"} 
[2026-04-17 04: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-04-17 04:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776379170000,"timestamp_ms":1776379170000,"timestamp_seconds":1776379170,"priority":1,"record_length":96,"hex_timestamp":"0000019d98730cd0"} 
[2026-04-17 04:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:10: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-04-17 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 04:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:10: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-04-17 04:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753065728001,"66":27267,"97":206,"85":15104,"24":27,"16":273890704416047104,"45":8867446954091208704},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-17 04:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753065728001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:10:29] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-17 04:10:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273890704416047104,"km_value":273890704416047.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867446954091208704,"description":"Unknown IO ID 45"} 
[2026-04-17 04:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753065728001,"power":27267,"unknown_97":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8867446954091208704}} 
[2026-04-17 04:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":45760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:10:29] local.INFO: GPS data processed {"connection_id":45760,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:10:29] local.INFO: Acknowledgment sent {"connection_id":45760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:10:44] local.INFO: TCP Data received {"connection_id":45500,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98725d08012d1641c006d674e80013006e35..."} 
[2026-04-17 04:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98725d08012d1641c006d674e80013006e35..."} 
[2026-04-17 04:10:44] local.INFO: Processing buffer {"connection_id":45500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98725d08012d1641c006d674e80013006e35..."} 
[2026-04-17 04:10:44] local.INFO: Packet analysis {"connection_id":45500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9872"} 
[2026-04-17 04:10:44] local.INFO: Extracted packet for processing {"connection_id":45500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9872"} 
[2026-04-17 04:10:44] local.INFO: GPS Element Parsed {"raw_longitude":756433344,"raw_latitude":114717928,"longitude_deg":75.6433344,"latitude_deg":11.4717928,"altitude":19,"angle":110,"satellites":53,"speed":15,"hex_longitude":"2d1641c0","hex_latitude":"06d674e8","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:10:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,193,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 04:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776379125000,"timestamp_ms":1776379125000,"timestamp_seconds":1776379125,"priority":1,"record_length":96,"hex_timestamp":"0000019d98725d08"} 
[2026-04-17 04:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:10:44] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 04:10:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45500,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27832,"193":206,"2":56576,"24":15,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,2,24,16]} 
[2026-04-17 04:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 04:10:44] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-17 04:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:10:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27832,"unknown_193":206,"power_alt":56576,"ignition":15,"odometer":null}} 
[2026-04-17 04:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":45500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19086,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:10:44] local.INFO: GPS data processed {"connection_id":45500,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:10:44] local.INFO: Acknowledgment sent {"connection_id":45500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:10:52] local.INFO: TCP Data received {"connection_id":45761,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:10:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:10:52] local.INFO: Processing buffer {"connection_id":45761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:10:52] local.INFO: IMEI packet received {"connection_id":45761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:10:52] local.INFO: IMEI acknowledgment sent {"connection_id":45761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:10:57] local.INFO: TCP Data received {"connection_id":45761,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45761,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:10:57] local.INFO: Processing buffer {"connection_id":45761,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:10:57] local.INFO: IMEI packet received {"connection_id":45761,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":45761,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:10:58] local.INFO: TCP Data received {"connection_id":45761,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98732c10012d7b138005e31058000400a030..."} 
[2026-04-17 04:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98732c10012d7b138005e31058000400a030..."} 
[2026-04-17 04:10:58] local.INFO: Processing buffer {"connection_id":45761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98732c10012d7b138005e31058000400a030..."} 
[2026-04-17 04:10:58] local.INFO: Packet analysis {"connection_id":45761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:10:58] local.INFO: Extracted packet for processing {"connection_id":45761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:10:58] local.INFO: GPS Element Parsed {"raw_longitude":763040640,"raw_latitude":98766936,"longitude_deg":76.304064,"latitude_deg":9.8766936,"altitude":4,"angle":160,"satellites":48,"speed":30,"hex_longitude":"2d7b1380","hex_latitude":"05e31058","is_valid_coordinates":true} 
[2026-04-17 04:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753067520001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273890979293954048,"note":"Value kept but may cause issues"} 
[2026-04-17 04:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8867376585345732608,"note":"Value kept but may cause issues"} 
[2026-04-17 04:10: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-04-17 04:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776379178000,"timestamp_ms":1776379178000,"timestamp_seconds":1776379178,"priority":1,"record_length":96,"hex_timestamp":"0000019d98732c10"} 
[2026-04-17 04:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:10: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-04-17 04:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 04:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:10:58] 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-04-17 04:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753067520001,"66":27376,"96":206,"85":15104,"24":30,"16":273890979293954048,"45":8867376585345732608},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-17 04:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753067520001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:10:58] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-17 04:10:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273890979293954048,"km_value":273890979293954.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8867376585345732608,"description":"Unknown IO ID 45"} 
[2026-04-17 04:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753067520001,"power":27376,"unknown_96":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":8867376585345732608}} 
[2026-04-17 04:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":45761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19087,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:10:58] local.INFO: GPS data processed {"connection_id":45761,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:10:58] local.INFO: Acknowledgment sent {"connection_id":45761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:11:05] local.INFO: TCP Data received {"connection_id":46318,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:11:05] local.INFO: Processing buffer {"connection_id":46318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:11:05] local.INFO: IMEI packet received {"connection_id":46318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":46318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:11:11] local.INFO: TCP Data received {"connection_id":46318,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46318,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:11:11] local.INFO: Processing buffer {"connection_id":46318,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:11:11] local.INFO: IMEI packet received {"connection_id":46318,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":46318,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:11:13] local.INFO: TCP Data received {"connection_id":46318,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9872af10012d1641c006d674e80013006e35..."} 
[2026-04-17 04:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9872af10012d1641c006d674e80013006e35..."} 
[2026-04-17 04:11:13] local.INFO: Processing buffer {"connection_id":46318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9872af10012d1641c006d674e80013006e35..."} 
[2026-04-17 04:11:13] local.INFO: Packet analysis {"connection_id":46318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9872"} 
[2026-04-17 04:11:13] local.INFO: Extracted packet for processing {"connection_id":46318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9872"} 
[2026-04-17 04:11:13] local.INFO: GPS Element Parsed {"raw_longitude":756433344,"raw_latitude":114717928,"longitude_deg":75.6433344,"latitude_deg":11.4717928,"altitude":19,"angle":110,"satellites":53,"speed":0,"hex_longitude":"2d1641c0","hex_latitude":"06d674e8","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:11:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753056000001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:11:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:11:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1603774077920929792,"note":"Value kept but may cause issues"} 
[2026-04-17 04:11:13] 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-04-17 04:11:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776379146000,"timestamp_ms":1776379146000,"timestamp_seconds":1776379146,"priority":1,"record_length":96,"hex_timestamp":"0000019d9872af10"} 
[2026-04-17 04:11:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:11:13] 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-04-17 04:11:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":184,"data_length":795,"current_offset":136} 
[2026-04-17 04:11:13] 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-04-17 04: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-04-17 04:11:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:11:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:11:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:11:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:11:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:11:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:11:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:11:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:11:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753056000001,"66":27876,"191":206,"2":56576,"24":0,"16":106618783551979520,"45":1603774077920929792},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-04-17 04:11:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:11:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:11:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753056000001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:11:13] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-17 04:11:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:11:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1603774077920929792,"description":"Unknown IO ID 45"} 
[2026-04-17 04:11:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753056000001,"power":27876,"unknown_191":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1603774077920929792}} 
[2026-04-17 04:11:13] local.INFO: DEBUG: GPS processor result {"connection_id":46318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19088,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:11:13] local.INFO: GPS data processed {"connection_id":46318,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:11:13] local.INFO: Acknowledgment sent {"connection_id":46318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:11:29] local.INFO: TCP Data received {"connection_id":45761,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98733f98012d7b16c005e30180000300ac31..."} 
[2026-04-17 04:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98733f98012d7b16c005e30180000300ac31..."} 
[2026-04-17 04:11:29] local.INFO: Processing buffer {"connection_id":45761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98733f98012d7b16c005e30180000300ac31..."} 
[2026-04-17 04:11:29] local.INFO: Packet analysis {"connection_id":45761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:11:29] local.INFO: Extracted packet for processing {"connection_id":45761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:11:29] local.INFO: GPS Element Parsed {"raw_longitude":763041472,"raw_latitude":98763136,"longitude_deg":76.3041472,"latitude_deg":9.8763136,"altitude":3,"angle":172,"satellites":49,"speed":31,"hex_longitude":"2d7b16c0","hex_latitude":"05e30180","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753069568001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273891168272515072,"note":"Value kept but may cause issues"} 
[2026-04-17 04:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868572853995329536,"note":"Value kept but may cause issues"} 
[2026-04-17 04:11: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-04-17 04:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776379183000,"timestamp_ms":1776379183000,"timestamp_seconds":1776379183,"priority":1,"record_length":96,"hex_timestamp":"0000019d98733f98"} 
[2026-04-17 04:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:11: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-04-17 04: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 04:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45761,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:11: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-04-17 04:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753069568001,"66":27321,"96":206,"85":15104,"24":31,"16":273891168272515072,"45":8868572853995329536},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-17 04:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753069568001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:11:29] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-17 04:11:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273891168272515072,"km_value":273891168272515.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868572853995329536,"description":"Unknown IO ID 45"} 
[2026-04-17 04:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753069568001,"power":27321,"unknown_96":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8868572853995329536}} 
[2026-04-17 04:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":45761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:11:29] local.INFO: GPS data processed {"connection_id":45761,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:11:29] local.INFO: Acknowledgment sent {"connection_id":45761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:11:44] local.INFO: TCP Data received {"connection_id":46318,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9872e1d8012d1679c006d66e80000e005d34..."} 
[2026-04-17 04:11:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9872e1d8012d1679c006d66e80000e005d34..."} 
[2026-04-17 04:11:44] local.INFO: Processing buffer {"connection_id":46318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9872e1d8012d1679c006d66e80000e005d34..."} 
[2026-04-17 04:11:44] local.INFO: Packet analysis {"connection_id":46318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9872"} 
[2026-04-17 04:11:44] local.INFO: Extracted packet for processing {"connection_id":46318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9872"} 
[2026-04-17 04:11:44] local.INFO: GPS Element Parsed {"raw_longitude":756447680,"raw_latitude":114716288,"longitude_deg":75.644768,"latitude_deg":11.4716288,"altitude":14,"angle":93,"satellites":52,"speed":26,"hex_longitude":"2d1679c0","hex_latitude":"06d66e80","is_valid_coordinates":true} 
[2026-04-17 04:11: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-04-17 04:11:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753061376001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:11:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:11:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1603774077920929792,"note":"Value kept but may cause issues"} 
[2026-04-17 04:11:44] 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-04-17 04:11:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776379159000,"timestamp_ms":1776379159000,"timestamp_seconds":1776379159,"priority":1,"record_length":96,"hex_timestamp":"0000019d9872e1d8"} 
[2026-04-17 04:11:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:11:44] 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-04-17 04:11: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":228,"data_length":795,"current_offset":136} 
[2026-04-17 04:11:44] 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-04-17 04:11: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-04-17 04:11:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:11:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:11:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:11:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:11:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46318,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:11:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:11:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:11:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:11:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753061376001,"66":28006,"191":206,"2":56576,"24":26,"16":106618783551979520,"45":1603774077920929792},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-04-17 04:11:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:11:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:11:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753061376001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:11:44] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-17 04:11:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:11:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1603774077920929792,"description":"Unknown IO ID 45"} 
[2026-04-17 04:11:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753061376001,"power":28006,"unknown_191":206,"power_alt":56576,"ignition":26,"odometer":null,"unknown_45":1603774077920929792}} 
[2026-04-17 04:11:44] local.INFO: DEBUG: GPS processor result {"connection_id":46318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19090,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:11:44] local.INFO: GPS data processed {"connection_id":46318,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:11:44] local.INFO: Acknowledgment sent {"connection_id":46318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:11:51] local.INFO: TCP Data received {"connection_id":45557,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:11:51] local.INFO: Processing buffer {"connection_id":45557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:11:51] local.INFO: IMEI packet received {"connection_id":45557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":45557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:11:52] local.INFO: TCP Data received {"connection_id":45557,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:11:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:11:52] local.INFO: Processing buffer {"connection_id":45557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:11:52] local.INFO: IMEI packet received {"connection_id":45557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:11:52] local.INFO: IMEI acknowledgment sent {"connection_id":45557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:11:57] local.INFO: TCP Data received {"connection_id":45557,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45557,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:11:57] local.INFO: Processing buffer {"connection_id":45557,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:11:57] local.INFO: IMEI packet received {"connection_id":45557,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":45557,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:11:58] local.INFO: TCP Data received {"connection_id":45557,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98736a90012d7b1c4005e2dde8000400aa29..."} 
[2026-04-17 04:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98736a90012d7b1c4005e2dde8000400aa29..."} 
[2026-04-17 04:11:58] local.INFO: Processing buffer {"connection_id":45557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98736a90012d7b1c4005e2dde8000400aa29..."} 
[2026-04-17 04:11:58] local.INFO: Packet analysis {"connection_id":45557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:11:58] local.INFO: Extracted packet for processing {"connection_id":45557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:11:58] local.INFO: GPS Element Parsed {"raw_longitude":763042880,"raw_latitude":98754024,"longitude_deg":76.304288,"latitude_deg":9.8754024,"altitude":4,"angle":170,"satellites":41,"speed":32,"hex_longitude":"2d7b1c40","hex_latitude":"05e2dde8","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753070848001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273891619244081152,"note":"Value kept but may cause issues"} 
[2026-04-17 04:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869487647668666368,"note":"Value kept but may cause issues"} 
[2026-04-17 04:11: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-04-17 04:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776379194000,"timestamp_ms":1776379194000,"timestamp_seconds":1776379194,"priority":1,"record_length":96,"hex_timestamp":"0000019d98736a90"} 
[2026-04-17 04:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:11: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-04-17 04:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 04:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:11:58] 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-04-17 04:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753070848001,"66":27517,"96":206,"85":15104,"24":32,"16":273891619244081152,"45":8869487647668666368},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-17 04:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753070848001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:11:58] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-17 04:11:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273891619244081152,"km_value":273891619244081.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869487647668666368,"description":"Unknown IO ID 45"} 
[2026-04-17 04:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753070848001,"power":27517,"unknown_96":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8869487647668666368}} 
[2026-04-17 04:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":45557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19091,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:11:58] local.INFO: GPS data processed {"connection_id":45557,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:11:58] local.INFO: Acknowledgment sent {"connection_id":45557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:12:00] local.INFO: TCP Data received {"connection_id":45501,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:12:00] local.INFO: Processing buffer {"connection_id":45501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:12:00] local.INFO: IMEI packet received {"connection_id":45501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":45501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:12:05] local.INFO: TCP Data received {"connection_id":45501,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:12:05] local.INFO: Processing buffer {"connection_id":45501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:12:05] local.INFO: IMEI packet received {"connection_id":45501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":45501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:12:07] local.INFO: TCP Data received {"connection_id":45501,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d987333e0012d16b64006d669300008006033..."} 
[2026-04-17 04:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987333e0012d16b64006d669300008006033..."} 
[2026-04-17 04:12:07] local.INFO: Processing buffer {"connection_id":45501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987333e0012d16b64006d669300008006033..."} 
[2026-04-17 04:12:07] local.INFO: Packet analysis {"connection_id":45501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:12:07] local.INFO: Extracted packet for processing {"connection_id":45501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:12:07] local.INFO: GPS Element Parsed {"raw_longitude":756463168,"raw_latitude":114714928,"longitude_deg":75.6463168,"latitude_deg":11.4714928,"altitude":8,"angle":96,"satellites":51,"speed":30,"hex_longitude":"2d16b640","hex_latitude":"06d66930","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753064704001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1619536676616306688,"note":"Value kept but may cause issues"} 
[2026-04-17 04:12:07] 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-04-17 04:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776379180000,"timestamp_ms":1776379180000,"timestamp_seconds":1776379180,"priority":1,"record_length":96,"hex_timestamp":"0000019d987333e0"} 
[2026-04-17 04:12:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:12:07] 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-04-17 04:12:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 04:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1661,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:12:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45501,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45501,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:12:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753064704001,"66":27821,"191":206,"2":56576,"24":30,"16":106618783551979520,"45":1619536676616306688},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-04-17 04:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753064704001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:12:07] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-17 04:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1619536676616306688,"description":"Unknown IO ID 45"} 
[2026-04-17 04:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753064704001,"power":27821,"unknown_191":206,"power_alt":56576,"ignition":30,"odometer":null,"unknown_45":1619536676616306688}} 
[2026-04-17 04:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":45501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19092,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:12:07] local.INFO: GPS data processed {"connection_id":45501,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:12:07] local.INFO: Acknowledgment sent {"connection_id":45501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:12:37] local.INFO: TCP Data received {"connection_id":45557,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98739d58012d7b21c005e2bad8000200ab2c..."} 
[2026-04-17 04:12:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98739d58012d7b21c005e2bad8000200ab2c..."} 
[2026-04-17 04:12:37] local.INFO: Processing buffer {"connection_id":45557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98739d58012d7b21c005e2bad8000200ab2c..."} 
[2026-04-17 04:12:37] local.INFO: Packet analysis {"connection_id":45557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:12:37] local.INFO: Extracted packet for processing {"connection_id":45557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:12:37] local.INFO: GPS Element Parsed {"raw_longitude":763044288,"raw_latitude":98745048,"longitude_deg":76.3044288,"latitude_deg":9.8745048,"altitude":2,"angle":171,"satellites":44,"speed":24,"hex_longitude":"2d7b21c0","hex_latitude":"05e2bad8","is_valid_coordinates":true} 
[2026-04-17 04:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:12:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753073664001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:12:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273892057330745344,"note":"Value kept but may cause issues"} 
[2026-04-17 04:12:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871035760038242304,"note":"Value kept but may cause issues"} 
[2026-04-17 04:12:37] 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-04-17 04:12:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776379207000,"timestamp_ms":1776379207000,"timestamp_seconds":1776379207,"priority":1,"record_length":96,"hex_timestamp":"0000019d98739d58"} 
[2026-04-17 04:12:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:12:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:12:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 04:12:37] 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-04-17 04:12:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:12:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:12:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:12:37] local.INFO: Teltonika packet parsed successfully {"connection_id":45557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:12:37] local.INFO: Passing IMEI to GPS processor {"connection_id":45557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:12:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":45557,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:12:37] 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-04-17 04:12:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:12:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:12:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753073664001,"66":27397,"96":206,"85":15104,"24":24,"16":273892057330745344,"45":8871035760038242304},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-17 04:12:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:12:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:12:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753073664001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:12:37] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-17 04:12:37] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:12:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273892057330745344,"km_value":273892057330745.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:12:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871035760038242304,"description":"Unknown IO ID 45"} 
[2026-04-17 04:12:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753073664001,"power":27397,"unknown_96":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8871035760038242304}} 
[2026-04-17 04:12:37] local.INFO: DEBUG: GPS processor result {"connection_id":45557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:12:37] local.INFO: GPS data processed {"connection_id":45557,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:12:37] local.INFO: Acknowledgment sent {"connection_id":45557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:12:48] local.INFO: TCP Data received {"connection_id":45501,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d987385e8012d16f8c006d661b0000900662f..."} 
[2026-04-17 04:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987385e8012d16f8c006d661b0000900662f..."} 
[2026-04-17 04:12:48] local.INFO: Processing buffer {"connection_id":45501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987385e8012d16f8c006d661b0000900662f..."} 
[2026-04-17 04:12:48] local.INFO: Packet analysis {"connection_id":45501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:12:48] local.INFO: Extracted packet for processing {"connection_id":45501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756480192,"raw_latitude":114713008,"longitude_deg":75.6480192,"latitude_deg":11.4713008,"altitude":9,"angle":102,"satellites":47,"speed":32,"hex_longitude":"2d16f8c0","hex_latitude":"06d661b0","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753070080001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1636565912706953216,"note":"Value kept but may cause issues"} 
[2026-04-17 04:12:48] 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-04-17 04:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776379201000,"timestamp_ms":1776379201000,"timestamp_seconds":1776379201,"priority":1,"record_length":96,"hex_timestamp":"0000019d987385e8"} 
[2026-04-17 04:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:12:48] 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-04-17 04: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":173,"data_length":795,"current_offset":136} 
[2026-04-17 04:12:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2295,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45501,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45501,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753070080001,"66":27952,"191":206,"2":56576,"24":32,"16":106618783551979520,"45":1636565912706953216},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-04-17 04:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753070080001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:12:48] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-17 04:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1636565912706953216,"description":"Unknown IO ID 45"} 
[2026-04-17 04:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753070080001,"power":27952,"unknown_191":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":1636565912706953216}} 
[2026-04-17 04:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":45501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19094,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:12:48] local.INFO: GPS data processed {"connection_id":45501,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:12:48] local.INFO: Acknowledgment sent {"connection_id":45501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:12:51] local.INFO: TCP Data received {"connection_id":46319,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:12:51] local.INFO: Processing buffer {"connection_id":46319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:12:51] local.INFO: IMEI packet received {"connection_id":46319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":46319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:12:55] local.INFO: TCP Data received {"connection_id":46319,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:12:55] local.INFO: Processing buffer {"connection_id":46319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:12:55] local.INFO: IMEI packet received {"connection_id":46319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":46319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:12:57] local.INFO: TCP Data received {"connection_id":46319,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:12:57] local.INFO: Processing buffer {"connection_id":46319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:12:57] local.INFO: IMEI packet received {"connection_id":46319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":46319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:12:57] local.INFO: TCP Data received {"connection_id":46319,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9873cc38012d7b268005e29800000000a82a..."} 
[2026-04-17 04:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9873cc38012d7b268005e29800000000a82a..."} 
[2026-04-17 04:12:57] local.INFO: Processing buffer {"connection_id":46319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9873cc38012d7b268005e29800000000a82a..."} 
[2026-04-17 04:12:57] local.INFO: Packet analysis {"connection_id":46319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:12:57] local.INFO: Extracted packet for processing {"connection_id":46319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763045504,"raw_latitude":98736128,"longitude_deg":76.3045504,"latitude_deg":9.8736128,"altitude":0,"angle":168,"satellites":42,"speed":33,"hex_longitude":"2d7b2680","hex_latitude":"05e29800","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753076992001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273892495417409536,"note":"Value kept but may cause issues"} 
[2026-04-17 04:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872583872407853056,"note":"Value kept but may cause issues"} 
[2026-04-17 04:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776379219000,"timestamp_ms":1776379219000,"timestamp_seconds":1776379219,"priority":1,"record_length":96,"hex_timestamp":"0000019d9873cc38"} 
[2026-04-17 04:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:12: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-04-17 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 04:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:12:57] 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-04-17 04:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753076992001,"66":27463,"96":206,"85":15104,"24":33,"16":273892495417409536,"45":8872583872407853056},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-17 04:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753076992001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:12:57] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-17 04:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273892495417409536,"km_value":273892495417409.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872583872407853056,"description":"Unknown IO ID 45"} 
[2026-04-17 04:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753076992001,"power":27463,"unknown_96":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8872583872407853056}} 
[2026-04-17 04:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":46319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:12:57] local.INFO: GPS data processed {"connection_id":46319,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:12:57] local.INFO: Acknowledgment sent {"connection_id":46319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:13:02] local.INFO: TCP Data received {"connection_id":46319,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9873f730012d7b2b8005e27350000000ab2a..."} 
[2026-04-17 04:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9873f730012d7b2b8005e27350000000ab2a..."} 
[2026-04-17 04:13:02] local.INFO: Processing buffer {"connection_id":46319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9873f730012d7b2b8005e27350000000ab2a..."} 
[2026-04-17 04:13:02] local.INFO: Packet analysis {"connection_id":46319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:13:02] local.INFO: Extracted packet for processing {"connection_id":46319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763046784,"raw_latitude":98726736,"longitude_deg":76.3046784,"latitude_deg":9.8726736,"altitude":0,"angle":171,"satellites":42,"speed":32,"hex_longitude":"2d7b2b80","hex_latitude":"05e27350","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753080064001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273892954978910208,"note":"Value kept but may cause issues"} 
[2026-04-17 04:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8873920878544945152,"note":"Value kept but may cause issues"} 
[2026-04-17 04:13:02] 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-04-17 04:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776379230000,"timestamp_ms":1776379230000,"timestamp_seconds":1776379230,"priority":1,"record_length":96,"hex_timestamp":"0000019d9873f730"} 
[2026-04-17 04:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 04:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:13:02] 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-04-17 04:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753080064001,"66":26691,"96":206,"85":15104,"24":32,"16":273892954978910208,"45":8873920878544945152},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-17 04:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753080064001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:13:02] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-17 04:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273892954978910208,"km_value":273892954978910.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8873920878544945152,"description":"Unknown IO ID 45"} 
[2026-04-17 04:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753080064001,"power":26691,"unknown_96":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8873920878544945152}} 
[2026-04-17 04:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":46319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:13:02] local.INFO: GPS data processed {"connection_id":46319,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:13:02] local.INFO: Acknowledgment sent {"connection_id":46319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:13:11] local.INFO: TCP Data received {"connection_id":45558,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:13:11] local.INFO: Processing buffer {"connection_id":45558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:13:11] local.INFO: IMEI packet received {"connection_id":45558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":45558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:13:16] local.INFO: TCP Data received {"connection_id":45558,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:13:16] local.INFO: Processing buffer {"connection_id":45558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:13:16] local.INFO: IMEI packet received {"connection_id":45558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:13:16] local.INFO: IMEI acknowledgment sent {"connection_id":45558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:13:17] local.INFO: TCP Data received {"connection_id":45558,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9873d7f0012d1735c006d653480008006830..."} 
[2026-04-17 04:13:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9873d7f0012d1735c006d653480008006830..."} 
[2026-04-17 04:13:17] local.INFO: Processing buffer {"connection_id":45558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9873d7f0012d1735c006d653480008006830..."} 
[2026-04-17 04:13:17] local.INFO: Packet analysis {"connection_id":45558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:13:17] local.INFO: Extracted packet for processing {"connection_id":45558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9873"} 
[2026-04-17 04:13:17] local.INFO: GPS Element Parsed {"raw_longitude":756495808,"raw_latitude":114709320,"longitude_deg":75.6495808,"latitude_deg":11.470932,"altitude":8,"angle":104,"satellites":48,"speed":27,"hex_longitude":"2d1735c0","hex_latitude":"06d65348","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:13:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753075456001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:13:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:13:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1655283998657720320,"note":"Value kept but may cause issues"} 
[2026-04-17 04:13:17] 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-04-17 04:13:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776379222000,"timestamp_ms":1776379222000,"timestamp_seconds":1776379222,"priority":1,"record_length":96,"hex_timestamp":"0000019d9873d7f0"} 
[2026-04-17 04:13:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:13:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:13:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 04:13:17] 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-04-17 04: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-04-17 04:13:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:13:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:13:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:13:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:13:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:13:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:13:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:13:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:13:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753075456001,"66":28006,"191":206,"2":56576,"24":27,"16":106618783551979520,"45":1655283998657720320},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-04-17 04:13:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:13:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:13:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753075456001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:13:17] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-17 04:13:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:13:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1655283998657720320,"description":"Unknown IO ID 45"} 
[2026-04-17 04:13:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753075456001,"power":28006,"unknown_191":206,"power_alt":56576,"ignition":27,"odometer":null,"unknown_45":1655283998657720320}} 
[2026-04-17 04:13:17] local.INFO: DEBUG: GPS processor result {"connection_id":45558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19097,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:13:17] local.INFO: GPS data processed {"connection_id":45558,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:13:17] local.INFO: Acknowledgment sent {"connection_id":45558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:13:22] local.INFO: TCP Data received {"connection_id":45558,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9874d9c00100000000000000000000000000..."} 
[2026-04-17 04:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9874d9c00100000000000000000000000000..."} 
[2026-04-17 04:13:22] local.INFO: Processing buffer {"connection_id":45558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9874d9c00100000000000000000000000000..."} 
[2026-04-17 04:13:22] local.INFO: Packet analysis {"connection_id":45558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9874"} 
[2026-04-17 04:13:22] local.INFO: Extracted packet for processing {"connection_id":45558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9874"} 
[2026-04-17 04:13:22] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 04:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:13:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753080832001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:13:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:13:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1672453972236126208,"note":"Value kept but may cause issues"} 
[2026-04-17 04:13:22] 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-04-17 04:13:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776379288000,"timestamp_ms":1776379288000,"timestamp_seconds":1776379288,"priority":1,"record_length":96,"hex_timestamp":"0000019d9874d9c0"} 
[2026-04-17 04:13:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:13: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-04-17 04:13:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 04:13:22] 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-04-17 04:13:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:13:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:13:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:13:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:13:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:13:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:13:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:13:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:13:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:13:22] local.INFO: DEBUG: GPS processor result {"connection_id":45558,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 04:13:22] local.INFO: GPS data processed {"connection_id":45558,"processed":0,"errors":0,"total":1} 
[2026-04-17 04:13:22] local.INFO: Acknowledgment sent {"connection_id":45558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:13:33] local.INFO: TCP Data received {"connection_id":46319,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9875f300012d7b69c005e0a208000200ab30..."} 
[2026-04-17 04:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9875f300012d7b69c005e0a208000200ab30..."} 
[2026-04-17 04:13:33] local.INFO: Processing buffer {"connection_id":46319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9875f300012d7b69c005e0a208000200ab30..."} 
[2026-04-17 04:13:33] local.INFO: Packet analysis {"connection_id":46319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9875"} 
[2026-04-17 04:13:33] local.INFO: Extracted packet for processing {"connection_id":46319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9875"} 
[2026-04-17 04:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763062720,"raw_latitude":98607624,"longitude_deg":76.306272,"latitude_deg":9.8607624,"altitude":2,"angle":171,"satellites":48,"speed":52,"hex_longitude":"2d7b69c0","hex_latitude":"05e0a208","is_valid_coordinates":true} 
[2026-04-17 04:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753114368001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273898787544498176,"note":"Value kept but may cause issues"} 
[2026-04-17 04:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8891301958326237184,"note":"Value kept but may cause issues"} 
[2026-04-17 04:13:33] 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-04-17 04:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776379360000,"timestamp_ms":1776379360000,"timestamp_seconds":1776379360,"priority":1,"record_length":96,"hex_timestamp":"0000019d9875f300"} 
[2026-04-17 04:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:13: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-04-17 04:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 04:13: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-04-17 04:13:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:13:33] 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-04-17 04:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753114368001,"66":27321,"35":206,"85":15104,"24":52,"16":273898787544498176,"45":8891301958326237184},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-04-17 04:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753114368001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:13:33] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-17 04:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273898787544498176,"km_value":273898787544498.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8891301958326237184,"description":"Unknown IO ID 45"} 
[2026-04-17 04:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753114368001,"power":27321,"unknown_35":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8891301958326237184}} 
[2026-04-17 04:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":46319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:13:33] local.INFO: GPS data processed {"connection_id":46319,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:13:33] local.INFO: Acknowledgment sent {"connection_id":46319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:13:51] local.INFO: TCP Data received {"connection_id":45502,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:13:51] local.INFO: Processing buffer {"connection_id":45502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:13:51] local.INFO: IMEI packet received {"connection_id":45502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":45502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:13:57] local.INFO: TCP Data received {"connection_id":45502,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:13:57] local.INFO: Processing buffer {"connection_id":45502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:13:57] local.INFO: IMEI packet received {"connection_id":45502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":45502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:13:58] local.INFO: TCP Data received {"connection_id":45502,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98760e58012d7b6f4005e07d28000000ac32..."} 
[2026-04-17 04:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98760e58012d7b6f4005e07d28000000ac32..."} 
[2026-04-17 04:13:58] local.INFO: Processing buffer {"connection_id":45502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98760e58012d7b6f4005e07d28000000ac32..."} 
[2026-04-17 04:13:58] local.INFO: Packet analysis {"connection_id":45502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9876"} 
[2026-04-17 04:13:58] local.INFO: Extracted packet for processing {"connection_id":45502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9876"} 
[2026-04-17 04:13:58] local.INFO: GPS Element Parsed {"raw_longitude":763064128,"raw_latitude":98598184,"longitude_deg":76.3064128,"latitude_deg":9.8598184,"altitude":0,"angle":172,"satellites":50,"speed":53,"hex_longitude":"2d7b6f40","hex_latitude":"05e07d28","is_valid_coordinates":true} 
[2026-04-17 04:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753116160001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273899247105998848,"note":"Value kept but may cause issues"} 
[2026-04-17 04:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892850070695839744,"note":"Value kept but may cause issues"} 
[2026-04-17 04:13:58] 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-04-17 04:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776379367000,"timestamp_ms":1776379367000,"timestamp_seconds":1776379367,"priority":1,"record_length":96,"hex_timestamp":"0000019d98760e58"} 
[2026-04-17 04:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:13: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-04-17 04:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 04:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:13:58] 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-04-17 04:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753116160001,"66":27300,"35":206,"85":15104,"24":53,"16":273899247105998848,"45":8892850070695839744},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,85,24,16,45]} 
[2026-04-17 04:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753116160001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:13:58] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-17 04:13:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273899247105998848,"km_value":273899247105998.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892850070695839744,"description":"Unknown IO ID 45"} 
[2026-04-17 04:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753116160001,"power":27300,"unknown_35":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8892850070695839744}} 
[2026-04-17 04:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":45502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:13:58] local.INFO: GPS data processed {"connection_id":45502,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:13:58] local.INFO: Acknowledgment sent {"connection_id":45502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:14:05] local.INFO: TCP Data received {"connection_id":45503,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:14:05] local.INFO: Processing buffer {"connection_id":45503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:14:05] local.INFO: IMEI packet received {"connection_id":45503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":45503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:14:11] local.INFO: TCP Data received {"connection_id":45503,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45503,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:14:11] local.INFO: Processing buffer {"connection_id":45503,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:14:11] local.INFO: IMEI packet received {"connection_id":45503,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":45503,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:14:12] local.INFO: TCP Data received {"connection_id":45503,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98742de0012d17738006d641700008006a33..."} 
[2026-04-17 04:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98742de0012d17738006d641700008006a33..."} 
[2026-04-17 04:14:12] local.INFO: Processing buffer {"connection_id":45503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98742de0012d17738006d641700008006a33..."} 
[2026-04-17 04:14:12] local.INFO: Packet analysis {"connection_id":45503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9874"} 
[2026-04-17 04:14:12] local.INFO: Extracted packet for processing {"connection_id":45503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9874"} 
[2026-04-17 04:14:12] local.INFO: GPS Element Parsed {"raw_longitude":756511616,"raw_latitude":114704752,"longitude_deg":75.6511616,"latitude_deg":11.4704752,"altitude":8,"angle":106,"satellites":51,"speed":32,"hex_longitude":"2d177380","hex_latitude":"06d64170","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:14:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,191,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 04:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776379244000,"timestamp_ms":1776379244000,"timestamp_seconds":1776379244,"priority":1,"record_length":96,"hex_timestamp":"0000019d98742de0"} 
[2026-04-17 04:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:14: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 04:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27604,"191":206,"2":56576,"24":32,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16]} 
[2026-04-17 04:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 04:14:12] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-17 04:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:14:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27604,"unknown_191":206,"power_alt":56576,"ignition":32,"odometer":null}} 
[2026-04-17 04:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":45503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19100,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:14:12] local.INFO: GPS data processed {"connection_id":45503,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:14:12] local.INFO: Acknowledgment sent {"connection_id":45503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:14:30] local.INFO: TCP Data received {"connection_id":45502,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d987629b0012d7b738005e05850000000ae2f..."} 
[2026-04-17 04:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987629b0012d7b738005e05850000000ae2f..."} 
[2026-04-17 04:14:30] local.INFO: Processing buffer {"connection_id":45502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987629b0012d7b738005e05850000000ae2f..."} 
[2026-04-17 04:14:30] local.INFO: Packet analysis {"connection_id":45502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9876"} 
[2026-04-17 04:14:30] local.INFO: Extracted packet for processing {"connection_id":45502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9876"} 
[2026-04-17 04:14:30] local.INFO: GPS Element Parsed {"raw_longitude":763065216,"raw_latitude":98588752,"longitude_deg":76.3065216,"latitude_deg":9.8588752,"altitude":0,"angle":174,"satellites":47,"speed":51,"hex_longitude":"2d7b7380","hex_latitude":"05e05850","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:14:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753117952001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:14:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273899710962466816,"note":"Value kept but may cause issues"} 
[2026-04-17 04:14:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894398183065331712,"note":"Value kept but may cause issues"} 
[2026-04-17 04:14:30] 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-04-17 04:14:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776379374000,"timestamp_ms":1776379374000,"timestamp_seconds":1776379374,"priority":1,"record_length":96,"hex_timestamp":"0000019d987629b0"} 
[2026-04-17 04:14:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:14: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-04-17 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 04:14:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:14:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:14:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:14:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:14:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:14:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:14: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-04-17 04:14:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:14:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:14:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753117952001,"66":27267,"36":206,"85":15104,"24":51,"16":273899710962466816,"45":8894398183065331712},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-17 04:14:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:14:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:14:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753117952001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:14:30] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 04:14:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:14:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273899710962466816,"km_value":273899710962466.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:14:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894398183065331712,"description":"Unknown IO ID 45"} 
[2026-04-17 04:14:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753117952001,"power":27267,"unknown_36":206,"unknown_85":15104,"ignition":51,"odometer":null,"unknown_45":8894398183065331712}} 
[2026-04-17 04:14:30] local.INFO: DEBUG: GPS processor result {"connection_id":45502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:14:30] local.INFO: GPS data processed {"connection_id":45502,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:14:30] local.INFO: Acknowledgment sent {"connection_id":45502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:14:43] local.INFO: TCP Data received {"connection_id":45503,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98747fe8012d17b44006d631c8000800662e..."} 
[2026-04-17 04:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98747fe8012d17b44006d631c8000800662e..."} 
[2026-04-17 04:14:43] local.INFO: Processing buffer {"connection_id":45503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98747fe8012d17b44006d631c8000800662e..."} 
[2026-04-17 04:14:43] local.INFO: Packet analysis {"connection_id":45503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9874"} 
[2026-04-17 04:14:43] local.INFO: Extracted packet for processing {"connection_id":45503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9874"} 
[2026-04-17 04:14:43] local.INFO: GPS Element Parsed {"raw_longitude":756528192,"raw_latitude":114700744,"longitude_deg":75.6528192,"latitude_deg":11.4700744,"altitude":8,"angle":102,"satellites":46,"speed":0,"hex_longitude":"2d17b440","hex_latitude":"06d631c8","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753086464001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1689835052046839808,"note":"Value kept but may cause issues"} 
[2026-04-17 04:14:43] 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-04-17 04:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776379265000,"timestamp_ms":1776379265000,"timestamp_seconds":1776379265,"priority":1,"record_length":96,"hex_timestamp":"0000019d98747fe8"} 
[2026-04-17 04:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:14: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-04-17 04: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-17 04:14:43] 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-04-17 04: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-04-17 04:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45503,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753086464001,"66":27908,"191":206,"2":56576,"24":0,"16":106618783551979520,"45":1689835052046839808},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-04-17 04:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753086464001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:14:43] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-17 04:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1689835052046839808,"description":"Unknown IO ID 45"} 
[2026-04-17 04:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753086464001,"power":27908,"unknown_191":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1689835052046839808}} 
[2026-04-17 04:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":45503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19102,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:14:43] local.INFO: GPS data processed {"connection_id":45503,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:14:43] local.INFO: Acknowledgment sent {"connection_id":45503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:14:57] local.INFO: TCP Data received {"connection_id":45762,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:14:57] local.INFO: Processing buffer {"connection_id":45762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:14:57] local.INFO: IMEI packet received {"connection_id":45762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":45762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:15:02] local.INFO: TCP Data received {"connection_id":45762,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:15:02] local.INFO: Processing buffer {"connection_id":45762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:15:02] local.INFO: IMEI packet received {"connection_id":45762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:15:02] local.INFO: IMEI acknowledgment sent {"connection_id":45762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:15:03] local.INFO: TCP Data received {"connection_id":45762,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d987648f0012d7b77c005e03158000000ab30..."} 
[2026-04-17 04:15:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987648f0012d7b77c005e03158000000ab30..."} 
[2026-04-17 04:15:03] local.INFO: Processing buffer {"connection_id":45762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987648f0012d7b77c005e03158000000ab30..."} 
[2026-04-17 04:15:03] local.INFO: Packet analysis {"connection_id":45762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9876"} 
[2026-04-17 04:15:03] local.INFO: Extracted packet for processing {"connection_id":45762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9876"} 
[2026-04-17 04:15:03] local.INFO: GPS Element Parsed {"raw_longitude":763066304,"raw_latitude":98578776,"longitude_deg":76.3066304,"latitude_deg":9.8578776,"altitude":0,"angle":171,"satellites":48,"speed":49,"hex_longitude":"2d7b77c0","hex_latitude":"05e03158","is_valid_coordinates":true} 
[2026-04-17 04:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:15:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753119744001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:15:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273900196293771264,"note":"Value kept but may cause issues"} 
[2026-04-17 04:15:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8895594451713937408,"note":"Value kept but may cause issues"} 
[2026-04-17 04:15:03] 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-04-17 04:15:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776379382000,"timestamp_ms":1776379382000,"timestamp_seconds":1776379382,"priority":1,"record_length":96,"hex_timestamp":"0000019d987648f0"} 
[2026-04-17 04:15:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:15: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-04-17 04:15:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 04:15:03] 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-04-17 04:15:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:15:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:15:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:15:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:15:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:15:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:15:03] 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-04-17 04:15:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:15:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:15:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753119744001,"66":27365,"36":206,"85":15104,"24":49,"16":273900196293771264,"45":8895594451713937408},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-17 04:15:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:15:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:15:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753119744001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:15:03] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 04:15:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:15:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273900196293771264,"km_value":273900196293771.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:15:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8895594451713937408,"description":"Unknown IO ID 45"} 
[2026-04-17 04:15:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753119744001,"power":27365,"unknown_36":206,"unknown_85":15104,"ignition":49,"odometer":null,"unknown_45":8895594451713937408}} 
[2026-04-17 04:15:03] local.INFO: DEBUG: GPS processor result {"connection_id":45762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:15:03] local.INFO: GPS data processed {"connection_id":45762,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:15:03] local.INFO: Acknowledgment sent {"connection_id":45762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:15:05] local.INFO: TCP Data received {"connection_id":45559,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:15:05] local.INFO: Processing buffer {"connection_id":45559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:15:05] local.INFO: IMEI packet received {"connection_id":45559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":45559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:15:07] local.INFO: TCP Data received {"connection_id":45762,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98766830012d7b7c4005e00b88000000ab2f..."} 
[2026-04-17 04:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98766830012d7b7c4005e00b88000000ab2f..."} 
[2026-04-17 04:15:07] local.INFO: Processing buffer {"connection_id":45762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98766830012d7b7c4005e00b88000000ab2f..."} 
[2026-04-17 04:15:07] local.INFO: Packet analysis {"connection_id":45762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9876"} 
[2026-04-17 04:15:07] local.INFO: Extracted packet for processing {"connection_id":45762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9876"} 
[2026-04-17 04:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763067456,"raw_latitude":98569096,"longitude_deg":76.3067456,"latitude_deg":9.8569096,"altitude":0,"angle":171,"satellites":47,"speed":46,"hex_longitude":"2d7b7c40","hex_latitude":"05e00b88","is_valid_coordinates":true} 
[2026-04-17 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-04-17 04:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753121792001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273900668740173824,"note":"Value kept but may cause issues"} 
[2026-04-17 04:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8896790720362403840,"note":"Value kept but may cause issues"} 
[2026-04-17 04:15:07] 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-04-17 04:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776379390000,"timestamp_ms":1776379390000,"timestamp_seconds":1776379390,"priority":1,"record_length":96,"hex_timestamp":"0000019d98766830"} 
[2026-04-17 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-04-17 04:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:15:07] 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-04-17 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-04-17 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-04-17 04:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:15:07] 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-04-17 04:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753121792001,"66":27213,"36":206,"85":15104,"24":46,"16":273900668740173824,"45":8896790720362403840},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-17 04:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753121792001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:15:07] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 04:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273900668740173824,"km_value":273900668740173.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8896790720362403840,"description":"Unknown IO ID 45"} 
[2026-04-17 04:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753121792001,"power":27213,"unknown_36":206,"unknown_85":15104,"ignition":46,"odometer":null,"unknown_45":8896790720362403840}} 
[2026-04-17 04:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":45762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:15:07] local.INFO: GPS data processed {"connection_id":45762,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:15:07] local.INFO: Acknowledgment sent {"connection_id":45762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:15:11] local.INFO: TCP Data received {"connection_id":45559,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:15:11] local.INFO: Processing buffer {"connection_id":45559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:15:11] local.INFO: IMEI packet received {"connection_id":45559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":45559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:15:12] local.INFO: TCP Data received {"connection_id":45559,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9874d1f0012d17f34006d620a00009006a32..."} 
[2026-04-17 04:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9874d1f0012d17f34006d620a00009006a32..."} 
[2026-04-17 04:15:12] local.INFO: Processing buffer {"connection_id":45559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9874d1f0012d17f34006d620a00009006a32..."} 
[2026-04-17 04:15:12] local.INFO: Packet analysis {"connection_id":45559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9874"} 
[2026-04-17 04:15:12] local.INFO: Extracted packet for processing {"connection_id":45559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9874"} 
[2026-04-17 04:15:12] local.INFO: GPS Element Parsed {"raw_longitude":756544320,"raw_latitude":114696352,"longitude_deg":75.654432,"latitude_deg":11.4696352,"altitude":9,"angle":106,"satellites":50,"speed":0,"hex_longitude":"2d17f340","hex_latitude":"06d620a0","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753091840001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1708060556787828736,"note":"Value kept but may cause issues"} 
[2026-04-17 04:15:12] 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-04-17 04:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776379286000,"timestamp_ms":1776379286000,"timestamp_seconds":1776379286,"priority":1,"record_length":96,"hex_timestamp":"0000019d9874d1f0"} 
[2026-04-17 04:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:15: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-04-17 04: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 04:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753091840001,"66":27876,"191":206,"2":56576,"24":0,"16":106618783551979520,"45":1708060556787828736},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-04-17 04:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753091840001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:15:12] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-17 04:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1708060556787828736,"description":"Unknown IO ID 45"} 
[2026-04-17 04:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753091840001,"power":27876,"unknown_191":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1708060556787828736}} 
[2026-04-17 04:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":45559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19105,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:15:12] local.INFO: GPS data processed {"connection_id":45559,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:15:12] local.INFO: Acknowledgment sent {"connection_id":45559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:15:47] local.INFO: TCP Data received {"connection_id":45559,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d987523f8012d182fc006d611b0000c006534..."} 
[2026-04-17 04:15:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987523f8012d182fc006d611b0000c006534..."} 
[2026-04-17 04:15:47] local.INFO: Processing buffer {"connection_id":45559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987523f8012d182fc006d611b0000c006534..."} 
[2026-04-17 04:15:47] local.INFO: Packet analysis {"connection_id":45559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9875"} 
[2026-04-17 04:15:47] local.INFO: Extracted packet for processing {"connection_id":45559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9875"} 
[2026-04-17 04:15:47] local.INFO: GPS Element Parsed {"raw_longitude":756559808,"raw_latitude":114692528,"longitude_deg":75.6559808,"latitude_deg":11.4692528,"altitude":12,"angle":101,"satellites":52,"speed":0,"hex_longitude":"2d182fc0","hex_latitude":"06d611b0","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:15:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753097216001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:15:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:15:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725793480319475712,"note":"Value kept but may cause issues"} 
[2026-04-17 04:15:47] 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-04-17 04:15:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776379307000,"timestamp_ms":1776379307000,"timestamp_seconds":1776379307,"priority":1,"record_length":96,"hex_timestamp":"0000019d987523f8"} 
[2026-04-17 04:15:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:15:47] 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-04-17 04: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 04:15:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:15:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:15:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:15:47] local.INFO: Teltonika packet parsed successfully {"connection_id":45559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:15:47] local.INFO: Passing IMEI to GPS processor {"connection_id":45559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:15:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":45559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:15:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:15:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:15:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:15:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753097216001,"66":27952,"191":206,"2":56576,"24":0,"16":106618783551979520,"45":1725793480319475712},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,2,24,16,45]} 
[2026-04-17 04:15:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:15:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:15:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753097216001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:15:47] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-17 04:15:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:15:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725793480319475712,"description":"Unknown IO ID 45"} 
[2026-04-17 04:15:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753097216001,"power":27952,"unknown_191":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1725793480319475712}} 
[2026-04-17 04:15:47] local.INFO: DEBUG: GPS processor result {"connection_id":45559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19106,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:15:47] local.INFO: GPS data processed {"connection_id":45559,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:15:47] local.INFO: Acknowledgment sent {"connection_id":45559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:15:52] local.INFO: TCP Data received {"connection_id":45504,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:15:52] local.INFO: Processing buffer {"connection_id":45504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:15:52] local.INFO: IMEI packet received {"connection_id":45504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":45504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:15:57] local.INFO: TCP Data received {"connection_id":45504,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45504,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:15:57] local.INFO: Processing buffer {"connection_id":45504,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:15:57] local.INFO: IMEI packet received {"connection_id":45504,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":45504,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:15:58] local.INFO: TCP Data received {"connection_id":45504,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98768b58012d7b81c005dfe908000000ac32..."} 
[2026-04-17 04:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98768b58012d7b81c005dfe908000000ac32..."} 
[2026-04-17 04:15:58] local.INFO: Processing buffer {"connection_id":45504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98768b58012d7b81c005dfe908000000ac32..."} 
[2026-04-17 04:15:58] local.INFO: Packet analysis {"connection_id":45504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9876"} 
[2026-04-17 04:15:58] local.INFO: Extracted packet for processing {"connection_id":45504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9876"} 
[2026-04-17 04:15:58] local.INFO: GPS Element Parsed {"raw_longitude":763068864,"raw_latitude":98560264,"longitude_deg":76.3068864,"latitude_deg":9.8560264,"altitude":0,"angle":172,"satellites":50,"speed":38,"hex_longitude":"2d7b81c0","hex_latitude":"05dfe908","is_valid_coordinates":true} 
[2026-04-17 04:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753123840001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273901102531870720,"note":"Value kept but may cause issues"} 
[2026-04-17 04:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8898057357755123712,"note":"Value kept but may cause issues"} 
[2026-04-17 04:15:58] 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-04-17 04:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776379399000,"timestamp_ms":1776379399000,"timestamp_seconds":1776379399,"priority":1,"record_length":96,"hex_timestamp":"0000019d98768b58"} 
[2026-04-17 04:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:15: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-04-17 04:15:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-17 04:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:15:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:15:58] 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-04-17 04:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753123840001,"66":27376,"36":206,"85":15104,"24":38,"16":273901102531870720,"45":8898057357755123712},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,85,24,16,45]} 
[2026-04-17 04:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753123840001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:15:58] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 04:15:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273901102531870720,"km_value":273901102531870.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8898057357755123712,"description":"Unknown IO ID 45"} 
[2026-04-17 04:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753123840001,"power":27376,"unknown_36":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8898057357755123712}} 
[2026-04-17 04:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":45504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:15:58] local.INFO: GPS data processed {"connection_id":45504,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:15:58] local.INFO: Acknowledgment sent {"connection_id":45504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:16:29] local.INFO: TCP Data received {"connection_id":45504,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98788340012d7baa4005de6008000000ab2d..."} 
[2026-04-17 04:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98788340012d7baa4005de6008000000ab2d..."} 
[2026-04-17 04:16:29] local.INFO: Processing buffer {"connection_id":45504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98788340012d7baa4005de6008000000ab2d..."} 
[2026-04-17 04:16:29] local.INFO: Packet analysis {"connection_id":45504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9878"} 
[2026-04-17 04:16:29] local.INFO: Extracted packet for processing {"connection_id":45504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9878"} 
[2026-04-17 04:16:29] local.INFO: GPS Element Parsed {"raw_longitude":763079232,"raw_latitude":98459656,"longitude_deg":76.3079232,"latitude_deg":9.8459656,"altitude":0,"angle":171,"satellites":45,"speed":40,"hex_longitude":"2d7baa40","hex_latitude":"05de6008","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753156864001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273906011679490048,"note":"Value kept but may cause issues"} 
[2026-04-17 04:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909597831774492672,"note":"Value kept but may cause issues"} 
[2026-04-17 04:16:29] 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-04-17 04:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776379528000,"timestamp_ms":1776379528000,"timestamp_seconds":1776379528,"priority":1,"record_length":96,"hex_timestamp":"0000019d98788340"} 
[2026-04-17 04:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:16: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-04-17 04: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":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45504,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:16: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-04-17 04:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753156864001,"66":27332,"50":206,"85":15104,"24":40,"16":273906011679490048,"45":8909597831774492672},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-17 04:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753156864001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:16:29] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-17 04:16:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273906011679490048,"km_value":273906011679490.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909597831774492672,"description":"Unknown IO ID 45"} 
[2026-04-17 04:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753156864001,"power":27332,"unknown_50":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8909597831774492672}} 
[2026-04-17 04:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":45504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:16:29] local.INFO: GPS data processed {"connection_id":45504,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:16:29] local.INFO: Acknowledgment sent {"connection_id":45504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:16:52] local.INFO: TCP Data received {"connection_id":45560,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:16:52] local.INFO: Processing buffer {"connection_id":45560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:16:52] local.INFO: IMEI packet received {"connection_id":45560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":45560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:16:57] local.INFO: TCP Data received {"connection_id":45560,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:16:57] local.INFO: Processing buffer {"connection_id":45560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:16:57] local.INFO: IMEI packet received {"connection_id":45560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":45560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:16:58] local.INFO: TCP Data received {"connection_id":45560,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9878a668012d7bb10005de3cf8000000a92d..."} 
[2026-04-17 04:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9878a668012d7bb10005de3cf8000000a92d..."} 
[2026-04-17 04:16:58] local.INFO: Processing buffer {"connection_id":45560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9878a668012d7bb10005de3cf8000000a92d..."} 
[2026-04-17 04:16:58] local.INFO: Packet analysis {"connection_id":45560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9878"} 
[2026-04-17 04:16:58] local.INFO: Extracted packet for processing {"connection_id":45560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9878"} 
[2026-04-17 04:16:58] local.INFO: GPS Element Parsed {"raw_longitude":763080960,"raw_latitude":98450680,"longitude_deg":76.308096,"latitude_deg":9.845068,"altitude":0,"angle":169,"satellites":45,"speed":41,"hex_longitude":"2d7bb100","hex_latitude":"05de3cf8","is_valid_coordinates":true} 
[2026-04-17 04:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753159168001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273906458356088832,"note":"Value kept but may cause issues"} 
[2026-04-17 04:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911005206655797248,"note":"Value kept but may cause issues"} 
[2026-04-17 04:16:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776379537000,"timestamp_ms":1776379537000,"timestamp_seconds":1776379537,"priority":1,"record_length":96,"hex_timestamp":"0000019d9878a668"} 
[2026-04-17 04:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:16: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-04-17 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 04:16: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-04-17 04: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-04-17 04:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:16:58] 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-04-17 04:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753159168001,"66":27365,"50":206,"85":15104,"24":41,"16":273906458356088832,"45":8911005206655797248},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-17 04:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753159168001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:16:58] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-17 04:16:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273906458356088832,"km_value":273906458356088.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911005206655797248,"description":"Unknown IO ID 45"} 
[2026-04-17 04:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753159168001,"power":27365,"unknown_50":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8911005206655797248}} 
[2026-04-17 04:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":45560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:16:58] local.INFO: GPS data processed {"connection_id":45560,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:16:58] local.INFO: Acknowledgment sent {"connection_id":45560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:17:25] local.INFO: TCP Data received {"connection_id":45561,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:17:25] local.INFO: Processing buffer {"connection_id":45561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:17:25] local.INFO: IMEI packet received {"connection_id":45561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":45561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:17:28] local.INFO: TCP Data received {"connection_id":45560,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9878c990012d7bb88005de18b8000000a82e..."} 
[2026-04-17 04:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9878c990012d7bb88005de18b8000000a82e..."} 
[2026-04-17 04:17:28] local.INFO: Processing buffer {"connection_id":45560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9878c990012d7bb88005de18b8000000a82e..."} 
[2026-04-17 04:17:28] local.INFO: Packet analysis {"connection_id":45560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9878"} 
[2026-04-17 04:17:28] local.INFO: Extracted packet for processing {"connection_id":45560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9878"} 
[2026-04-17 04:17:28] local.INFO: GPS Element Parsed {"raw_longitude":763082880,"raw_latitude":98441400,"longitude_deg":76.308288,"latitude_deg":9.84414,"altitude":0,"angle":168,"satellites":46,"speed":41,"hex_longitude":"2d7bb880","hex_latitude":"05de18b8","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753161472001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273906913622622208,"note":"Value kept but may cause issues"} 
[2026-04-17 04:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8912905162746296320,"note":"Value kept but may cause issues"} 
[2026-04-17 04:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776379546000,"timestamp_ms":1776379546000,"timestamp_seconds":1776379546,"priority":1,"record_length":96,"hex_timestamp":"0000019d9878c990"} 
[2026-04-17 04:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:17: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-04-17 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:17:28] 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-04-17 04:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753161472001,"66":27365,"169":206,"85":15104,"24":41,"16":273906913622622208,"45":8912905162746296320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-17 04:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753161472001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:17:28] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-17 04:17:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273906913622622208,"km_value":273906913622622.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8912905162746296320,"description":"Unknown IO ID 45"} 
[2026-04-17 04:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753161472001,"power":27365,"unknown_169":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8912905162746296320}} 
[2026-04-17 04:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":45560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:17:28] local.INFO: GPS data processed {"connection_id":45560,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:17:28] local.INFO: Acknowledgment sent {"connection_id":45560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:17:32] local.INFO: TCP Data received {"connection_id":45561,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:17:32] local.INFO: Processing buffer {"connection_id":45561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:17:32] local.INFO: IMEI packet received {"connection_id":45561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:17:32] local.INFO: IMEI acknowledgment sent {"connection_id":45561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:17:33] local.INFO: TCP Data received {"connection_id":45561,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98785848012d1aff4006d4f958000b007933..."} 
[2026-04-17 04:17:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98785848012d1aff4006d4f958000b007933..."} 
[2026-04-17 04:17:33] local.INFO: Processing buffer {"connection_id":45561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98785848012d1aff4006d4f958000b007933..."} 
[2026-04-17 04:17:33] local.INFO: Packet analysis {"connection_id":45561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9878"} 
[2026-04-17 04:17:33] local.INFO: Extracted packet for processing {"connection_id":45561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9878"} 
[2026-04-17 04:17:33] local.INFO: GPS Element Parsed {"raw_longitude":756744000,"raw_latitude":114620760,"longitude_deg":75.6744,"latitude_deg":11.462076,"altitude":11,"angle":121,"satellites":51,"speed":0,"hex_longitude":"2d1aff40","hex_latitude":"06d4f958","is_valid_coordinates":true} 
[2026-04-17 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-04-17 04:17:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753150720001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:17:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:17:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1927540669859813376,"note":"Value kept but may cause issues"} 
[2026-04-17 04:17:33] 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-04-17 04:17:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776379517000,"timestamp_ms":1776379517000,"timestamp_seconds":1776379517,"priority":1,"record_length":96,"hex_timestamp":"0000019d98785848"} 
[2026-04-17 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-04-17 04:17:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-17 04: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-04-17 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-04-17 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-04-17 04:17:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:17:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:17:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:17:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:17:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:17:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:17:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:17:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753150720001,"66":28354,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1927540669859813376},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:17:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:17:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:17:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753150720001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:17:33] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:17:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:17:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1927540669859813376,"description":"Unknown IO ID 45"} 
[2026-04-17 04:17:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753150720001,"power":28354,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1927540669859813376}} 
[2026-04-17 04:17:33] local.INFO: DEBUG: GPS processor result {"connection_id":45561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19111,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:17:33] local.INFO: GPS data processed {"connection_id":45561,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:17:33] local.INFO: Acknowledgment sent {"connection_id":45561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:17:52] local.INFO: TCP Data received {"connection_id":45562,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:17:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:17:52] local.INFO: Processing buffer {"connection_id":45562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:17:52] local.INFO: IMEI packet received {"connection_id":45562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:17:52] local.INFO: IMEI acknowledgment sent {"connection_id":45562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:17:57] local.INFO: TCP Data received {"connection_id":45562,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:17:57] local.INFO: Processing buffer {"connection_id":45562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:17:57] local.INFO: IMEI packet received {"connection_id":45562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":45562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:17:58] local.INFO: TCP Data received {"connection_id":45562,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9878f0a0012d7bc08005ddf418000000a531..."} 
[2026-04-17 04:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9878f0a0012d7bc08005ddf418000000a531..."} 
[2026-04-17 04:17:58] local.INFO: Processing buffer {"connection_id":45562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9878f0a0012d7bc08005ddf418000000a531..."} 
[2026-04-17 04:17:58] local.INFO: Packet analysis {"connection_id":45562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9878"} 
[2026-04-17 04:17:58] local.INFO: Extracted packet for processing {"connection_id":45562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9878"} 
[2026-04-17 04:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763084928,"raw_latitude":98432024,"longitude_deg":76.3084928,"latitude_deg":9.8432024,"altitude":0,"angle":165,"satellites":49,"speed":35,"hex_longitude":"2d7bc080","hex_latitude":"05ddf418","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753163776001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273907381774057472,"note":"Value kept but may cause issues"} 
[2026-04-17 04:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8915016225069250560,"note":"Value kept but may cause issues"} 
[2026-04-17 04:17: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-04-17 04:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776379556000,"timestamp_ms":1776379556000,"timestamp_seconds":1776379556,"priority":1,"record_length":96,"hex_timestamp":"0000019d9878f0a0"} 
[2026-04-17 04:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:17: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-04-17 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:17:58] 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-04-17 04:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753163776001,"66":27365,"169":206,"85":15104,"24":35,"16":273907381774057472,"45":8915016225069250560},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-17 04:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753163776001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:17:58] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-17 04:17:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273907381774057472,"km_value":273907381774057.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8915016225069250560,"description":"Unknown IO ID 45"} 
[2026-04-17 04:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753163776001,"power":27365,"unknown_169":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8915016225069250560}} 
[2026-04-17 04:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":45562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:17:58] local.INFO: GPS data processed {"connection_id":45562,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:17:58] local.INFO: Acknowledgment sent {"connection_id":45562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:18:12] local.INFO: TCP Data received {"connection_id":46320,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:18:12] local.INFO: Processing buffer {"connection_id":46320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:18:12] local.INFO: IMEI packet received {"connection_id":46320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:18:12] local.INFO: IMEI acknowledgment sent {"connection_id":46320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:18:16] local.INFO: TCP Data received {"connection_id":46320,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46320,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:18:16] local.INFO: Processing buffer {"connection_id":46320,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:18:16] local.INFO: IMEI packet received {"connection_id":46320,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":46320,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:18:17] local.INFO: TCP Data received {"connection_id":46320,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9878aa50012d1b398006d4dcf0000e006f34..."} 
[2026-04-17 04:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9878aa50012d1b398006d4dcf0000e006f34..."} 
[2026-04-17 04:18:17] local.INFO: Processing buffer {"connection_id":46320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9878aa50012d1b398006d4dcf0000e006f34..."} 
[2026-04-17 04:18:17] local.INFO: Packet analysis {"connection_id":46320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9878"} 
[2026-04-17 04:18:17] local.INFO: Extracted packet for processing {"connection_id":46320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9878"} 
[2026-04-17 04:18:17] local.INFO: GPS Element Parsed {"raw_longitude":756758912,"raw_latitude":114613488,"longitude_deg":75.6758912,"latitude_deg":11.4613488,"altitude":14,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d1b3980","hex_latitude":"06d4dcf0","is_valid_coordinates":true} 
[2026-04-17 04:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753156352001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945343962134435840,"note":"Value kept but may cause issues"} 
[2026-04-17 04:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776379538000,"timestamp_ms":1776379538000,"timestamp_seconds":1776379538,"priority":1,"record_length":96,"hex_timestamp":"0000019d9878aa50"} 
[2026-04-17 04:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 04:18:17] 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-04-17 04:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753156352001,"66":28430,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1945343962134435840},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 04:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753156352001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:18:17] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 04:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945343962134435840,"description":"Unknown IO ID 45"} 
[2026-04-17 04:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753156352001,"power":28430,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1945343962134435840}} 
[2026-04-17 04:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":46320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19113,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:18:17] local.INFO: GPS data processed {"connection_id":46320,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:18:17] local.INFO: Acknowledgment sent {"connection_id":46320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:18:29] local.INFO: TCP Data received {"connection_id":45562,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98791b98012d7bc7c005ddd160000000a932..."} 
[2026-04-17 04:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98791b98012d7bc7c005ddd160000000a932..."} 
[2026-04-17 04:18:29] local.INFO: Processing buffer {"connection_id":45562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98791b98012d7bc7c005ddd160000000a932..."} 
[2026-04-17 04:18:29] local.INFO: Packet analysis {"connection_id":45562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9879"} 
[2026-04-17 04:18:29] local.INFO: Extracted packet for processing {"connection_id":45562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9879"} 
[2026-04-17 04:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763086784,"raw_latitude":98423136,"longitude_deg":76.3086784,"latitude_deg":9.8423136,"altitude":0,"angle":169,"satellites":50,"speed":28,"hex_longitude":"2d7bc7c0","hex_latitude":"05ddd160","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753166336001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273907819860721664,"note":"Value kept but may cause issues"} 
[2026-04-17 04:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8917268024880535552,"note":"Value kept but may cause issues"} 
[2026-04-17 04:18:29] 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-04-17 04:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776379567000,"timestamp_ms":1776379567000,"timestamp_seconds":1776379567,"priority":1,"record_length":96,"hex_timestamp":"0000019d98791b98"} 
[2026-04-17 04:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:18: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-04-17 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:18: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-04-17 04:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753166336001,"66":27376,"169":206,"85":15104,"24":28,"16":273907819860721664,"45":8917268024880535552},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-17 04:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753166336001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:18:29] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-17 04:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273907819860721664,"km_value":273907819860721.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8917268024880535552,"description":"Unknown IO ID 45"} 
[2026-04-17 04:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753166336001,"power":27376,"unknown_169":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8917268024880535552}} 
[2026-04-17 04:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":45562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:18:29] local.INFO: GPS data processed {"connection_id":45562,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:18:29] local.INFO: Acknowledgment sent {"connection_id":45562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:18:38] local.INFO: TCP Data received {"connection_id":46320,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9878dd18012d1b398006d4dcf0000e006f34..."} 
[2026-04-17 04:18:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9878dd18012d1b398006d4dcf0000e006f34..."} 
[2026-04-17 04:18:38] local.INFO: Processing buffer {"connection_id":46320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9878dd18012d1b398006d4dcf0000e006f34..."} 
[2026-04-17 04:18:38] local.INFO: Packet analysis {"connection_id":46320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9878"} 
[2026-04-17 04:18:38] local.INFO: Extracted packet for processing {"connection_id":46320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9878"} 
[2026-04-17 04:18:38] local.INFO: GPS Element Parsed {"raw_longitude":756758912,"raw_latitude":114613488,"longitude_deg":75.6758912,"latitude_deg":11.4613488,"altitude":14,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d1b3980","hex_latitude":"06d4dcf0","is_valid_coordinates":true} 
[2026-04-17 04:18: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-04-17 04:18:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753161728001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:18:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:18:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961739879525969920,"note":"Value kept but may cause issues"} 
[2026-04-17 04:18:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:18:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776379551000,"timestamp_ms":1776379551000,"timestamp_seconds":1776379551,"priority":1,"record_length":96,"hex_timestamp":"0000019d9878dd18"} 
[2026-04-17 04:18:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:18:38] 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-04-17 04:18:38] 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":14,"data_length":795,"current_offset":136} 
[2026-04-17 04:18:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:18: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-04-17 04:18:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:18:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:18:38] local.INFO: Teltonika packet parsed successfully {"connection_id":46320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:18:38] local.INFO: Passing IMEI to GPS processor {"connection_id":46320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:18:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":46320,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:18:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:18:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:18:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:18:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753161728001,"66":28343,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1961739879525969920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 04:18:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:18:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:18:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753161728001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:18:38] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 04:18:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:18:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961739879525969920,"description":"Unknown IO ID 45"} 
[2026-04-17 04:18:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753161728001,"power":28343,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1961739879525969920}} 
[2026-04-17 04:18:38] local.INFO: DEBUG: GPS processor result {"connection_id":46320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19115,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:18:38] local.INFO: GPS data processed {"connection_id":46320,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:18:38] local.INFO: Acknowledgment sent {"connection_id":46320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:18:52] local.INFO: TCP Data received {"connection_id":45763,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:18:52] local.INFO: Processing buffer {"connection_id":45763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:18:52] local.INFO: IMEI packet received {"connection_id":45763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":45763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:18:52] local.INFO: TCP Data received {"connection_id":45763,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:18:52] local.INFO: Processing buffer {"connection_id":45763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:18:52] local.INFO: IMEI packet received {"connection_id":45763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":45763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:18:57] local.INFO: TCP Data received {"connection_id":45763,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45763,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:18:57] local.INFO: Processing buffer {"connection_id":45763,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:18:57] local.INFO: IMEI packet received {"connection_id":45763,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":45763,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:18:58] local.INFO: TCP Data received {"connection_id":45763,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98794e60012d7bce4005ddae70000300aa30..."} 
[2026-04-17 04:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98794e60012d7bce4005ddae70000300aa30..."} 
[2026-04-17 04:18:58] local.INFO: Processing buffer {"connection_id":45763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98794e60012d7bce4005ddae70000300aa30..."} 
[2026-04-17 04:18:58] local.INFO: Packet analysis {"connection_id":45763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9879"} 
[2026-04-17 04:18:58] local.INFO: Extracted packet for processing {"connection_id":45763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9879"} 
[2026-04-17 04:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763088448,"raw_latitude":98414192,"longitude_deg":76.3088448,"latitude_deg":9.8414192,"altitude":3,"angle":170,"satellites":48,"speed":27,"hex_longitude":"2d7bce40","hex_latitude":"05ddae70","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753169152001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273908262242353152,"note":"Value kept but may cause issues"} 
[2026-04-17 04:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8919308718459412480,"note":"Value kept but may cause issues"} 
[2026-04-17 04:18: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-04-17 04:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776379580000,"timestamp_ms":1776379580000,"timestamp_seconds":1776379580,"priority":1,"record_length":96,"hex_timestamp":"0000019d98794e60"} 
[2026-04-17 04:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:18: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-04-17 04: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 04:18: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-04-17 04: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-04-17 04:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:18:58] 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-04-17 04:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753169152001,"66":27321,"169":206,"85":15104,"24":27,"16":273908262242353152,"45":8919308718459412480},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-17 04:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753169152001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:18:58] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-17 04:18:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273908262242353152,"km_value":273908262242353.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8919308718459412480,"description":"Unknown IO ID 45"} 
[2026-04-17 04:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753169152001,"power":27321,"unknown_169":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":8919308718459412480}} 
[2026-04-17 04:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":45763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:18:58] local.INFO: GPS data processed {"connection_id":45763,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:18:58] local.INFO: Acknowledgment sent {"connection_id":45763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:19:28] local.INFO: TCP Data received {"connection_id":45763,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d987b5200012d7bef4005dc0200000000aa2f..."} 
[2026-04-17 04:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987b5200012d7bef4005dc0200000000aa2f..."} 
[2026-04-17 04:19:28] local.INFO: Processing buffer {"connection_id":45763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987b5200012d7bef4005dc0200000000aa2f..."} 
[2026-04-17 04:19:28] local.INFO: Packet analysis {"connection_id":45763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d987b"} 
[2026-04-17 04:19:28] local.INFO: Extracted packet for processing {"connection_id":45763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d987b"} 
[2026-04-17 04:19:28] local.INFO: GPS Element Parsed {"raw_longitude":763096896,"raw_latitude":98304512,"longitude_deg":76.3096896,"latitude_deg":9.8304512,"altitude":0,"angle":170,"satellites":47,"speed":43,"hex_longitude":"2d7bef40","hex_latitude":"05dc0200","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753203968001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273913609476636672,"note":"Value kept but may cause issues"} 
[2026-04-17 04:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8929723292569679872,"note":"Value kept but may cause issues"} 
[2026-04-17 04:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776379712000,"timestamp_ms":1776379712000,"timestamp_seconds":1776379712,"priority":1,"record_length":96,"hex_timestamp":"0000019d987b5200"} 
[2026-04-17 04:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:19: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-04-17 04:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 04:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45763,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:19:28] 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-04-17 04:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753203968001,"66":27343,"185":206,"85":15104,"24":43,"16":273913609476636672,"45":8929723292569679872},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-04-17 04:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753203968001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:19:28] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-17 04:19:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273913609476636672,"km_value":273913609476636.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8929723292569679872,"description":"Unknown IO ID 45"} 
[2026-04-17 04:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753203968001,"power":27343,"unknown_185":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":8929723292569679872}} 
[2026-04-17 04:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":45763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:19:28] local.INFO: GPS data processed {"connection_id":45763,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:19:28] local.INFO: Acknowledgment sent {"connection_id":45763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:19:31] local.INFO: TCP Data received {"connection_id":45563,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:19:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:19:31] local.INFO: Processing buffer {"connection_id":45563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:19:31] local.INFO: IMEI packet received {"connection_id":45563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:19:31] local.INFO: IMEI acknowledgment sent {"connection_id":45563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:19:52] local.INFO: TCP Data received {"connection_id":46321,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:19:52] local.INFO: Processing buffer {"connection_id":46321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:19:52] local.INFO: IMEI packet received {"connection_id":46321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":46321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:19:52] local.INFO: TCP Data received {"connection_id":45563,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45563,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:19:52] local.INFO: Processing buffer {"connection_id":45563,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:19:52] local.INFO: IMEI packet received {"connection_id":45563,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":45563,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:19:55] local.INFO: TCP Data received {"connection_id":46321,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:19:55] local.INFO: Processing buffer {"connection_id":46321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:19:55] local.INFO: IMEI packet received {"connection_id":46321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":46321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:19:56] local.INFO: TCP Data received {"connection_id":46321,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d987b7528012d7bf38005dbdd90000200ac2e..."} 
[2026-04-17 04:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987b7528012d7bf38005dbdd90000200ac2e..."} 
[2026-04-17 04:19:56] local.INFO: Processing buffer {"connection_id":46321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987b7528012d7bf38005dbdd90000200ac2e..."} 
[2026-04-17 04:19:56] local.INFO: Packet analysis {"connection_id":46321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d987b"} 
[2026-04-17 04:19:56] local.INFO: Extracted packet for processing {"connection_id":46321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d987b"} 
[2026-04-17 04:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763097984,"raw_latitude":98295184,"longitude_deg":76.3097984,"latitude_deg":9.8295184,"altitude":2,"angle":172,"satellites":46,"speed":41,"hex_longitude":"2d7bf380","hex_latitude":"05dbdd90","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753206272001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273914064743170048,"note":"Value kept but may cause issues"} 
[2026-04-17 04:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8930426980009115648,"note":"Value kept but may cause issues"} 
[2026-04-17 04:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776379721000,"timestamp_ms":1776379721000,"timestamp_seconds":1776379721,"priority":1,"record_length":96,"hex_timestamp":"0000019d987b7528"} 
[2026-04-17 04:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 04:19:56] 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-04-17 04:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:19:56] 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-04-17 04:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753206272001,"66":27365,"185":206,"85":15104,"24":41,"16":273914064743170048,"45":8930426980009115648},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-04-17 04:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753206272001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:19:56] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-17 04:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273914064743170048,"km_value":273914064743170.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8930426980009115648,"description":"Unknown IO ID 45"} 
[2026-04-17 04:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753206272001,"power":27365,"unknown_185":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8930426980009115648}} 
[2026-04-17 04:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":46321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:19:56] local.INFO: GPS data processed {"connection_id":46321,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:19:56] local.INFO: Acknowledgment sent {"connection_id":46321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:20:05] local.INFO: TCP Data received {"connection_id":46322,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:20:05] local.INFO: Processing buffer {"connection_id":46322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:20:05] local.INFO: IMEI packet received {"connection_id":46322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":46322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:20:26] local.INFO: TCP Data received {"connection_id":46321,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d987b9850012d7bfac005dbb930000200a62c..."} 
[2026-04-17 04:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987b9850012d7bfac005dbb930000200a62c..."} 
[2026-04-17 04:20:26] local.INFO: Processing buffer {"connection_id":46321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987b9850012d7bfac005dbb930000200a62c..."} 
[2026-04-17 04:20:26] local.INFO: Packet analysis {"connection_id":46321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d987b"} 
[2026-04-17 04:20:26] local.INFO: Extracted packet for processing {"connection_id":46321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d987b"} 
[2026-04-17 04:20:26] local.INFO: GPS Element Parsed {"raw_longitude":763099840,"raw_latitude":98285872,"longitude_deg":76.309984,"latitude_deg":9.8285872,"altitude":2,"angle":166,"satellites":44,"speed":42,"hex_longitude":"2d7bfac0","hex_latitude":"05dbb930","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753208576001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273914524304670720,"note":"Value kept but may cause issues"} 
[2026-04-17 04:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8931623248657747968,"note":"Value kept but may cause issues"} 
[2026-04-17 04:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776379730000,"timestamp_ms":1776379730000,"timestamp_seconds":1776379730,"priority":1,"record_length":96,"hex_timestamp":"0000019d987b9850"} 
[2026-04-17 04:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:20: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-04-17 04:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:20:26] 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-04-17 04:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753208576001,"66":27300,"185":206,"85":15104,"24":42,"16":273914524304670720,"45":8931623248657747968},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-04-17 04:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753208576001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:20:26] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-17 04:20:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273914524304670720,"km_value":273914524304670.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8931623248657747968,"description":"Unknown IO ID 45"} 
[2026-04-17 04:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753208576001,"power":27300,"unknown_185":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8931623248657747968}} 
[2026-04-17 04:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":46321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:20:26] local.INFO: GPS data processed {"connection_id":46321,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:20:26] local.INFO: Acknowledgment sent {"connection_id":46321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:20:30] local.INFO: TCP Data received {"connection_id":46322,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:20:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:20:30] local.INFO: Processing buffer {"connection_id":46322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:20:30] local.INFO: IMEI packet received {"connection_id":46322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:20:30] local.INFO: IMEI acknowledgment sent {"connection_id":46322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:20:31] local.INFO: TCP Data received {"connection_id":46322,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9878dd18012d1b398006d4dcf0000e006f34..."} 
[2026-04-17 04:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46322,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9878dd18012d1b398006d4dcf0000e006f34..."} 
[2026-04-17 04:20:31] local.INFO: Processing buffer {"connection_id":46322,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9878dd18012d1b398006d4dcf0000e006f34..."} 
[2026-04-17 04:20:31] local.INFO: Packet analysis {"connection_id":46322,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9878"} 
[2026-04-17 04:20:31] local.INFO: Extracted packet for processing {"connection_id":46322,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9878"} 
[2026-04-17 04:20:31] local.INFO: GPS Element Parsed {"raw_longitude":756758912,"raw_latitude":114613488,"longitude_deg":75.6758912,"latitude_deg":11.4613488,"altitude":14,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d1b3980","hex_latitude":"06d4dcf0","is_valid_coordinates":true} 
[2026-04-17 04:20: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-04-17 04:20:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753161728001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:20:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:20:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961739879525969920,"note":"Value kept but may cause issues"} 
[2026-04-17 04:20:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:20:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776379551000,"timestamp_ms":1776379551000,"timestamp_seconds":1776379551,"priority":1,"record_length":96,"hex_timestamp":"0000019d9878dd18"} 
[2026-04-17 04:20:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:20:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 04:20:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:20:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:20:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:20:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46322,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:20:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46322,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:20:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46322,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:20:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:20:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:20:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:20:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753161728001,"66":28343,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1961739879525969920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 04:20:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:20:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:20:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753161728001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:20:31] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 04:20:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:20:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961739879525969920,"description":"Unknown IO ID 45"} 
[2026-04-17 04:20:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753161728001,"power":28343,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1961739879525969920}} 
[2026-04-17 04:20:32] local.INFO: DEBUG: GPS processor result {"connection_id":46322,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19120,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:20:32] local.INFO: GPS data processed {"connection_id":46322,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:20:32] local.INFO: Acknowledgment sent {"connection_id":46322,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:20:52] local.INFO: TCP Data received {"connection_id":45505,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:20:52] local.INFO: Processing buffer {"connection_id":45505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:20:52] local.INFO: IMEI packet received {"connection_id":45505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":45505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:20:57] local.INFO: TCP Data received {"connection_id":45505,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:20:57] local.INFO: Processing buffer {"connection_id":45505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:20:57] local.INFO: IMEI packet received {"connection_id":45505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":45505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:20:58] local.INFO: TCP Data received {"connection_id":45505,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d987bbb78012d7c02c005db94e8000300a72d..."} 
[2026-04-17 04:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987bbb78012d7c02c005db94e8000300a72d..."} 
[2026-04-17 04:20:58] local.INFO: Processing buffer {"connection_id":45505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987bbb78012d7c02c005db94e8000300a72d..."} 
[2026-04-17 04:20:58] local.INFO: Packet analysis {"connection_id":45505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d987b"} 
[2026-04-17 04:20:58] local.INFO: Extracted packet for processing {"connection_id":45505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d987b"} 
[2026-04-17 04:20:58] local.INFO: GPS Element Parsed {"raw_longitude":763101888,"raw_latitude":98276584,"longitude_deg":76.3101888,"latitude_deg":9.8276584,"altitude":3,"angle":167,"satellites":45,"speed":41,"hex_longitude":"2d7c02c0","hex_latitude":"05db94e8","is_valid_coordinates":true} 
[2026-04-17 04:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753210880001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273914983866171392,"note":"Value kept but may cause issues"} 
[2026-04-17 04:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8933663942236516352,"note":"Value kept but may cause issues"} 
[2026-04-17 04:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776379739000,"timestamp_ms":1776379739000,"timestamp_seconds":1776379739,"priority":1,"record_length":96,"hex_timestamp":"0000019d987bbb78"} 
[2026-04-17 04:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:20: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-04-17 04:20:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 04:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:20:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:20:58] 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-04-17 04:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753210880001,"66":27343,"185":206,"85":15104,"24":41,"16":273914983866171392,"45":8933663942236516352},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-04-17 04:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753210880001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:20:58] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-17 04:20:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273914983866171392,"km_value":273914983866171.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8933663942236516352,"description":"Unknown IO ID 45"} 
[2026-04-17 04:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753210880001,"power":27343,"unknown_185":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8933663942236516352}} 
[2026-04-17 04:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":45505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:20:58] local.INFO: GPS data processed {"connection_id":45505,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:20:58] local.INFO: Acknowledgment sent {"connection_id":45505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:21:29] local.INFO: TCP Data received {"connection_id":45505,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d987bdea0012d7c0ac005db70a8000400aa2f..."} 
[2026-04-17 04:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987bdea0012d7c0ac005db70a8000400aa2f..."} 
[2026-04-17 04:21:29] local.INFO: Processing buffer {"connection_id":45505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987bdea0012d7c0ac005db70a8000400aa2f..."} 
[2026-04-17 04:21:29] local.INFO: Packet analysis {"connection_id":45505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d987b"} 
[2026-04-17 04:21:29] local.INFO: Extracted packet for processing {"connection_id":45505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d987b"} 
[2026-04-17 04:21:29] local.INFO: GPS Element Parsed {"raw_longitude":763103936,"raw_latitude":98267304,"longitude_deg":76.3103936,"latitude_deg":9.8267304,"altitude":4,"angle":170,"satellites":47,"speed":42,"hex_longitude":"2d7c0ac0","hex_latitude":"05db70a8","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753213184001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273915443427672064,"note":"Value kept but may cause issues"} 
[2026-04-17 04:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8935915742047823872,"note":"Value kept but may cause issues"} 
[2026-04-17 04:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776379748000,"timestamp_ms":1776379748000,"timestamp_seconds":1776379748,"priority":1,"record_length":96,"hex_timestamp":"0000019d987bdea0"} 
[2026-04-17 04:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:21: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-04-17 04:21:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 04:21: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-04-17 04: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-04-17 04:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:21: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-04-17 04:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753213184001,"66":27267,"185":206,"85":15104,"24":42,"16":273915443427672064,"45":8935915742047823872},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,85,24,16,45]} 
[2026-04-17 04:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753213184001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:21:29] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-17 04:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273915443427672064,"km_value":273915443427672.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8935915742047823872,"description":"Unknown IO ID 45"} 
[2026-04-17 04:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753213184001,"power":27267,"unknown_185":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8935915742047823872}} 
[2026-04-17 04:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":45505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:21:29] local.INFO: GPS data processed {"connection_id":45505,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:21:29] local.INFO: Acknowledgment sent {"connection_id":45505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:21:45] local.INFO: TCP Data received {"connection_id":46323,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:21:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46323,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:21:45] local.INFO: Processing buffer {"connection_id":46323,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:21:45] local.INFO: IMEI packet received {"connection_id":46323,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:21:45] local.INFO: IMEI acknowledgment sent {"connection_id":46323,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:21:51] local.INFO: TCP Data received {"connection_id":45764,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:21:51] local.INFO: Processing buffer {"connection_id":45764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:21:51] local.INFO: IMEI packet received {"connection_id":45764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":45764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:21:55] local.INFO: TCP Data received {"connection_id":45764,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:21:55] local.INFO: Processing buffer {"connection_id":45764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:21:55] local.INFO: IMEI packet received {"connection_id":45764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":45764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:21:56] local.INFO: TCP Data received {"connection_id":45764,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:21:57] local.INFO: Processing buffer {"connection_id":45764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:21:57] local.INFO: IMEI packet received {"connection_id":45764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":45764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:21:57] local.INFO: TCP Data received {"connection_id":45764,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d987d6d10012d7c7a0005d9eb90000200ab2b..."} 
[2026-04-17 04:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987d6d10012d7c7a0005d9eb90000200ab2b..."} 
[2026-04-17 04:21:57] local.INFO: Processing buffer {"connection_id":45764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987d6d10012d7c7a0005d9eb90000200ab2b..."} 
[2026-04-17 04:21:57] local.INFO: Packet analysis {"connection_id":45764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d987d"} 
[2026-04-17 04:21:57] local.INFO: Extracted packet for processing {"connection_id":45764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d987d"} 
[2026-04-17 04:21:57] local.INFO: GPS Element Parsed {"raw_longitude":763132416,"raw_latitude":98167696,"longitude_deg":76.3132416,"latitude_deg":9.8167696,"altitude":2,"angle":171,"satellites":43,"speed":36,"hex_longitude":"2d7c7a00","hex_latitude":"05d9eb90","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753239040001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273920468539408384,"note":"Value kept but may cause issues"} 
[2026-04-17 04:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967370570669750272,"note":"Value kept but may cause issues"} 
[2026-04-17 04:21:57] 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-04-17 04:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776379850000,"timestamp_ms":1776379850000,"timestamp_seconds":1776379850,"priority":1,"record_length":96,"hex_timestamp":"0000019d987d6d10"} 
[2026-04-17 04:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:21: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-04-17 04: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 04:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:21:57] 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-04-17 04:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753239040001,"66":27267,"245":206,"85":15104,"24":36,"16":273920468539408384,"45":8967370570669750272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-17 04:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753239040001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:21:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273920468539408384,"km_value":273920468539408.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967370570669750272,"description":"Unknown IO ID 45"} 
[2026-04-17 04:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753239040001,"power":27267,"geofence_id":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8967370570669750272}} 
[2026-04-17 04:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":45764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:21:57] local.INFO: GPS data processed {"connection_id":45764,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:21:57] local.INFO: Acknowledgment sent {"connection_id":45764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:22:28] local.INFO: TCP Data received {"connection_id":45764,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d987d9bf0012d7c7ec005d9c8b0000400ad2c..."} 
[2026-04-17 04:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987d9bf0012d7c7ec005d9c8b0000400ad2c..."} 
[2026-04-17 04:22:28] local.INFO: Processing buffer {"connection_id":45764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987d9bf0012d7c7ec005d9c8b0000400ad2c..."} 
[2026-04-17 04:22:28] local.INFO: Packet analysis {"connection_id":45764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d987d"} 
[2026-04-17 04:22:28] local.INFO: Extracted packet for processing {"connection_id":45764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d987d"} 
[2026-04-17 04:22:28] local.INFO: GPS Element Parsed {"raw_longitude":763133632,"raw_latitude":98158768,"longitude_deg":76.3133632,"latitude_deg":9.8158768,"altitude":4,"angle":173,"satellites":44,"speed":25,"hex_longitude":"2d7c7ec0","hex_latitude":"05d9c8b0","is_valid_coordinates":true} 
[2026-04-17 04:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753241600001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273920906626072576,"note":"Value kept but may cause issues"} 
[2026-04-17 04:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8969481632992694272,"note":"Value kept but may cause issues"} 
[2026-04-17 04:22:28] 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-04-17 04:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776379862000,"timestamp_ms":1776379862000,"timestamp_seconds":1776379862,"priority":1,"record_length":96,"hex_timestamp":"0000019d987d9bf0"} 
[2026-04-17 04:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:22: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-04-17 04:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 04:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:22:28] 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-04-17 04:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753241600001,"66":27397,"245":206,"85":15104,"24":25,"16":273920906626072576,"45":8969481632992694272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,245,85,24,16,45]} 
[2026-04-17 04:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753241600001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:22:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273920906626072576,"km_value":273920906626072.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8969481632992694272,"description":"Unknown IO ID 45"} 
[2026-04-17 04:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753241600001,"power":27397,"geofence_id":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8969481632992694272}} 
[2026-04-17 04:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":45764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:22:28] local.INFO: GPS data processed {"connection_id":45764,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:22:28] local.INFO: Acknowledgment sent {"connection_id":45764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:22:51] local.INFO: TCP Data received {"connection_id":45506,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:22:51] local.INFO: Processing buffer {"connection_id":45506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:22:51] local.INFO: IMEI packet received {"connection_id":45506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":45506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:22:57] local.INFO: TCP Data received {"connection_id":45506,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:22:57] local.INFO: Processing buffer {"connection_id":45506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:22:57] local.INFO: IMEI packet received {"connection_id":45506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":45506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:22:57] local.INFO: TCP Data received {"connection_id":45506,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45506,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:22:57] local.INFO: Processing buffer {"connection_id":45506,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:22:57] local.INFO: IMEI packet received {"connection_id":45506,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":45506,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:22:58] local.INFO: TCP Data received {"connection_id":45506,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d987dd688012d7c83c005d9a450000400a827..."} 
[2026-04-17 04:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987dd688012d7c83c005d9a450000400a827..."} 
[2026-04-17 04:22:58] local.INFO: Processing buffer {"connection_id":45506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987dd688012d7c83c005d9a450000400a827..."} 
[2026-04-17 04:22:58] local.INFO: Packet analysis {"connection_id":45506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d987d"} 
[2026-04-17 04:22:58] local.INFO: Extracted packet for processing {"connection_id":45506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d987d"} 
[2026-04-17 04:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763134912,"raw_latitude":98149456,"longitude_deg":76.3134912,"latitude_deg":9.8149456,"altitude":4,"angle":168,"satellites":39,"speed":26,"hex_longitude":"2d7c83c0","hex_latitude":"05d9a450","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753244672001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273921366187573248,"note":"Value kept but may cause issues"} 
[2026-04-17 04:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8970818639129784320,"note":"Value kept but may cause issues"} 
[2026-04-17 04:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776379877000,"timestamp_ms":1776379877000,"timestamp_seconds":1776379877,"priority":1,"record_length":96,"hex_timestamp":"0000019d987dd688"} 
[2026-04-17 04:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:22: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-04-17 04:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 04:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:22:58] 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-04-17 04:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753244672001,"66":27376,"244":206,"85":15104,"24":26,"16":273921366187573248,"45":8970818639129784320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-04-17 04:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753244672001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:22:58] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-04-17 04:22:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273921366187573248,"km_value":273921366187573.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8970818639129784320,"description":"Unknown IO ID 45"} 
[2026-04-17 04:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753244672001,"power":27376,"unknown_244":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":8970818639129784320}} 
[2026-04-17 04:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":45506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:22:58] local.INFO: GPS data processed {"connection_id":45506,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:22:58] local.INFO: Acknowledgment sent {"connection_id":45506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:23:02] local.INFO: TCP Data received {"connection_id":45506,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d987e0d38012d7c868005d98078000500ad27..."} 
[2026-04-17 04:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987e0d38012d7c868005d98078000500ad27..."} 
[2026-04-17 04:23:02] local.INFO: Processing buffer {"connection_id":45506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987e0d38012d7c868005d98078000500ad27..."} 
[2026-04-17 04:23:02] local.INFO: Packet analysis {"connection_id":45506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d987e"} 
[2026-04-17 04:23:02] local.INFO: Extracted packet for processing {"connection_id":45506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d987e"} 
[2026-04-17 04:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763135616,"raw_latitude":98140280,"longitude_deg":76.3135616,"latitude_deg":9.814028,"altitude":5,"angle":173,"satellites":39,"speed":25,"hex_longitude":"2d7c8680","hex_latitude":"05d98078","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753248512001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273921812864172032,"note":"Value kept but may cause issues"} 
[2026-04-17 04:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8972226014010953728,"note":"Value kept but may cause issues"} 
[2026-04-17 04:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,244,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776379891000,"timestamp_ms":1776379891000,"timestamp_seconds":1776379891,"priority":1,"record_length":96,"hex_timestamp":"0000019d987e0d38"} 
[2026-04-17 04:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 04:23:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:23:02] 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-04-17 04:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753248512001,"66":27343,"244":206,"85":15104,"24":25,"16":273921812864172032,"45":8972226014010953728},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,244,85,24,16,45]} 
[2026-04-17 04:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753248512001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:23:02] local.INFO: Unknown IO ID detected {"io_id":244,"value":206,"description":"Unknown IO ID 244"} 
[2026-04-17 04:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273921812864172032,"km_value":273921812864172.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8972226014010953728,"description":"Unknown IO ID 45"} 
[2026-04-17 04:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753248512001,"power":27343,"unknown_244":206,"unknown_85":15104,"ignition":25,"odometer":null,"unknown_45":8972226014010953728}} 
[2026-04-17 04:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":45506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:23:02] local.INFO: GPS data processed {"connection_id":45506,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:23:02] local.INFO: Acknowledgment sent {"connection_id":45506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:23:33] local.INFO: TCP Data received {"connection_id":45506,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d987e4000012d7c89c005d95db8000400af2a..."} 
[2026-04-17 04:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987e4000012d7c89c005d95db8000400af2a..."} 
[2026-04-17 04:23:33] local.INFO: Processing buffer {"connection_id":45506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987e4000012d7c89c005d95db8000400af2a..."} 
[2026-04-17 04:23:33] local.INFO: Packet analysis {"connection_id":45506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d987e"} 
[2026-04-17 04:23:33] local.INFO: Extracted packet for processing {"connection_id":45506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d987e"} 
[2026-04-17 04:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763136448,"raw_latitude":98131384,"longitude_deg":76.3136448,"latitude_deg":9.8131384,"altitude":4,"angle":175,"satellites":42,"speed":29,"hex_longitude":"2d7c89c0","hex_latitude":"05d95db8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 04:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753252096001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273922246655868928,"note":"Value kept but may cause issues"} 
[2026-04-17 04:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973000070194558976,"note":"Value kept but may cause issues"} 
[2026-04-17 04:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776379904000,"timestamp_ms":1776379904000,"timestamp_seconds":1776379904,"priority":1,"record_length":96,"hex_timestamp":"0000019d987e4000"} 
[2026-04-17 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-04-17 04:23: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-04-17 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 04:23: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-04-17 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-04-17 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-04-17 04:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45506,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:23:33] 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-04-17 04:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753252096001,"66":27376,"197":206,"85":15104,"24":29,"16":273922246655868928,"45":8973000070194558976},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-17 04:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753252096001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:23:33] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 04:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273922246655868928,"km_value":273922246655868.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973000070194558976,"description":"Unknown IO ID 45"} 
[2026-04-17 04:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753252096001,"power":27376,"unknown_197":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8973000070194558976}} 
[2026-04-17 04:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":45506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:23:33] local.INFO: GPS data processed {"connection_id":45506,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:23:33] local.INFO: Acknowledgment sent {"connection_id":45506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:23:57] local.INFO: TCP Data received {"connection_id":45565,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:23:57] local.INFO: Processing buffer {"connection_id":45565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:23:57] local.INFO: IMEI packet received {"connection_id":45565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":45565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:24:02] local.INFO: TCP Data received {"connection_id":45565,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:24:02] local.INFO: Processing buffer {"connection_id":45565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:24:02] local.INFO: IMEI packet received {"connection_id":45565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":45565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:24:03] local.INFO: TCP Data received {"connection_id":45565,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d987e6ee0012d7c8e0005d939c0000400ab2b..."} 
[2026-04-17 04:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987e6ee0012d7c8e0005d939c0000400ab2b..."} 
[2026-04-17 04:24:03] local.INFO: Processing buffer {"connection_id":45565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987e6ee0012d7c8e0005d939c0000400ab2b..."} 
[2026-04-17 04:24:03] local.INFO: Packet analysis {"connection_id":45565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d987e"} 
[2026-04-17 04:24:03] local.INFO: Extracted packet for processing {"connection_id":45565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d987e"} 
[2026-04-17 04:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763137536,"raw_latitude":98122176,"longitude_deg":76.3137536,"latitude_deg":9.8122176,"altitude":4,"angle":171,"satellites":43,"speed":34,"hex_longitude":"2d7c8e00","hex_latitude":"05d939c0","is_valid_coordinates":true} 
[2026-04-17 04:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753255424001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273922693332467712,"note":"Value kept but may cause issues"} 
[2026-04-17 04:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8973914863866591232,"note":"Value kept but may cause issues"} 
[2026-04-17 04:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776379916000,"timestamp_ms":1776379916000,"timestamp_seconds":1776379916,"priority":1,"record_length":96,"hex_timestamp":"0000019d987e6ee0"} 
[2026-04-17 04:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:24: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-04-17 04:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 04:24: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-04-17 04:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:24:03] 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-04-17 04:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753255424001,"66":27376,"197":206,"85":15104,"24":34,"16":273922693332467712,"45":8973914863866591232},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-17 04:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753255424001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:24:03] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 04:24:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273922693332467712,"km_value":273922693332467.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":8973914863866591232,"description":"Unknown IO ID 45"} 
[2026-04-17 04:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753255424001,"power":27376,"unknown_197":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8973914863866591232}} 
[2026-04-17 04:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":45565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:24:03] local.INFO: GPS data processed {"connection_id":45565,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:24:03] local.INFO: Acknowledgment sent {"connection_id":45565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:24:34] local.INFO: TCP Data received {"connection_id":45565,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d987e99d8012d7c908005d914e0000500ae31..."} 
[2026-04-17 04:24:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987e99d8012d7c908005d914e0000500ae31..."} 
[2026-04-17 04:24:34] local.INFO: Processing buffer {"connection_id":45565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987e99d8012d7c908005d914e0000500ae31..."} 
[2026-04-17 04:24:34] local.INFO: Packet analysis {"connection_id":45565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d987e"} 
[2026-04-17 04:24:34] local.INFO: Extracted packet for processing {"connection_id":45565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d987e"} 
[2026-04-17 04:24:34] local.INFO: GPS Element Parsed {"raw_longitude":763138176,"raw_latitude":98112736,"longitude_deg":76.3138176,"latitude_deg":9.8112736,"altitude":5,"angle":174,"satellites":49,"speed":33,"hex_longitude":"2d7c9080","hex_latitude":"05d914e0","is_valid_coordinates":true} 
[2026-04-17 04:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:24:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753258496001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:24:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273923152893968384,"note":"Value kept but may cause issues"} 
[2026-04-17 04:24:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975111132515254272,"note":"Value kept but may cause issues"} 
[2026-04-17 04:24:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:24:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776379927000,"timestamp_ms":1776379927000,"timestamp_seconds":1776379927,"priority":1,"record_length":96,"hex_timestamp":"0000019d987e99d8"} 
[2026-04-17 04:24:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:24: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-04-17 04:24:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 04:24: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-04-17 04:24:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:24:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:24:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:24:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:24:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:24:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:24: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-04-17 04:24:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:24:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:24:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753258496001,"66":27397,"197":206,"85":15104,"24":33,"16":273923152893968384,"45":8975111132515254272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-17 04:24:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:24:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:24:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753258496001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:24:34] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 04:24:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:24:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273923152893968384,"km_value":273923152893968.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:24:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975111132515254272,"description":"Unknown IO ID 45"} 
[2026-04-17 04:24:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753258496001,"power":27397,"unknown_197":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8975111132515254272}} 
[2026-04-17 04:24:34] local.INFO: DEBUG: GPS processor result {"connection_id":45565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:24:34] local.INFO: GPS data processed {"connection_id":45565,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:24:34] local.INFO: Acknowledgment sent {"connection_id":45565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:24:52] local.INFO: TCP Data received {"connection_id":46324,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:24:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:24:52] local.INFO: Processing buffer {"connection_id":46324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:24:52] local.INFO: IMEI packet received {"connection_id":46324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:24:52] local.INFO: IMEI acknowledgment sent {"connection_id":46324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:24:53] local.INFO: TCP Data received {"connection_id":46324,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:24:53] local.INFO: Processing buffer {"connection_id":46324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:24:53] local.INFO: IMEI packet received {"connection_id":46324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":46324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:24:57] local.INFO: TCP Data received {"connection_id":46324,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:24:57] local.INFO: Processing buffer {"connection_id":46324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:24:57] local.INFO: IMEI packet received {"connection_id":46324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":46324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:24:58] local.INFO: TCP Data received {"connection_id":46324,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d987ec4d0012d7c938005d8f130000400ac30..."} 
[2026-04-17 04:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987ec4d0012d7c938005d8f130000400ac30..."} 
[2026-04-17 04:24:58] local.INFO: Processing buffer {"connection_id":46324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987ec4d0012d7c938005d8f130000400ac30..."} 
[2026-04-17 04:24:58] local.INFO: Packet analysis {"connection_id":46324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d987e"} 
[2026-04-17 04:24:58] local.INFO: Extracted packet for processing {"connection_id":46324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d987e"} 
[2026-04-17 04:24:58] local.INFO: GPS Element Parsed {"raw_longitude":763138944,"raw_latitude":98103600,"longitude_deg":76.3138944,"latitude_deg":9.81036,"altitude":4,"angle":172,"satellites":48,"speed":31,"hex_longitude":"2d7c9380","hex_latitude":"05d8f130","is_valid_coordinates":true} 
[2026-04-17 04:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753261312001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273923599570567168,"note":"Value kept but may cause issues"} 
[2026-04-17 04:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8975814819954614272,"note":"Value kept but may cause issues"} 
[2026-04-17 04:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776379938000,"timestamp_ms":1776379938000,"timestamp_seconds":1776379938,"priority":1,"record_length":96,"hex_timestamp":"0000019d987ec4d0"} 
[2026-04-17 04:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:24: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-04-17 04:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 04:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:24:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:24:58] 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-04-17 04:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753261312001,"66":27365,"197":206,"85":15104,"24":31,"16":273923599570567168,"45":8975814819954614272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-17 04:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753261312001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:24:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 04:24:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273923599570567168,"km_value":273923599570567.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8975814819954614272,"description":"Unknown IO ID 45"} 
[2026-04-17 04:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753261312001,"power":27365,"unknown_197":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8975814819954614272}} 
[2026-04-17 04:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":46324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:24:58] local.INFO: GPS data processed {"connection_id":46324,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:24:58] local.INFO: Acknowledgment sent {"connection_id":46324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:25:02] local.INFO: TCP Data received {"connection_id":46324,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d987ef3b0012d7c97c005d8ce28000100ad30..."} 
[2026-04-17 04:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987ef3b0012d7c97c005d8ce28000100ad30..."} 
[2026-04-17 04:25:02] local.INFO: Processing buffer {"connection_id":46324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987ef3b0012d7c97c005d8ce28000100ad30..."} 
[2026-04-17 04:25:02] local.INFO: Packet analysis {"connection_id":46324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d987e"} 
[2026-04-17 04:25:02] local.INFO: Extracted packet for processing {"connection_id":46324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d987e"} 
[2026-04-17 04:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763140032,"raw_latitude":98094632,"longitude_deg":76.3140032,"latitude_deg":9.8094632,"altitude":1,"angle":173,"satellites":48,"speed":29,"hex_longitude":"2d7c97c0","hex_latitude":"05d8ce28","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753264128001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273924037657231360,"note":"Value kept but may cause issues"} 
[2026-04-17 04:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8976659244882407424,"note":"Value kept but may cause issues"} 
[2026-04-17 04:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776379950000,"timestamp_ms":1776379950000,"timestamp_seconds":1776379950,"priority":1,"record_length":96,"hex_timestamp":"0000019d987ef3b0"} 
[2026-04-17 04:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:25:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:25:02] 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-04-17 04:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753264128001,"66":27343,"197":206,"85":15104,"24":29,"16":273924037657231360,"45":8976659244882407424},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-17 04:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753264128001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:25:02] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 04:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273924037657231360,"km_value":273924037657231.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":8976659244882407424,"description":"Unknown IO ID 45"} 
[2026-04-17 04:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753264128001,"power":27343,"unknown_197":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8976659244882407424}} 
[2026-04-17 04:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":46324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:25:02] local.INFO: GPS data processed {"connection_id":46324,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:25:02] local.INFO: Acknowledgment sent {"connection_id":46324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:25:15] local.INFO: TCP Data received {"connection_id":45566,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:25:15] local.INFO: Processing buffer {"connection_id":45566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:25:15] local.INFO: IMEI packet received {"connection_id":45566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":45566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:25:30] local.INFO: TCP Data received {"connection_id":45566,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:25:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:25:30] local.INFO: Processing buffer {"connection_id":45566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:25:30] local.INFO: IMEI packet received {"connection_id":45566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:25:30] local.INFO: IMEI acknowledgment sent {"connection_id":45566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:25:32] local.INFO: TCP Data received {"connection_id":45566,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d987d7cb0012d1b374006d4dce0000e006f34..."} 
[2026-04-17 04:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987d7cb0012d1b374006d4dce0000e006f34..."} 
[2026-04-17 04:25:32] local.INFO: Processing buffer {"connection_id":45566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987d7cb0012d1b374006d4dce0000e006f34..."} 
[2026-04-17 04:25:32] local.INFO: Packet analysis {"connection_id":45566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d987d"} 
[2026-04-17 04:25:32] local.INFO: Extracted packet for processing {"connection_id":45566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d987d"} 
[2026-04-17 04:25:32] local.INFO: GPS Element Parsed {"raw_longitude":756758336,"raw_latitude":114613472,"longitude_deg":75.6758336,"latitude_deg":11.4613472,"altitude":14,"angle":111,"satellites":52,"speed":0,"hex_longitude":"2d1b3740","hex_latitude":"06d4dce0","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753165056001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961739879525969920,"note":"Value kept but may cause issues"} 
[2026-04-17 04:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776379854000,"timestamp_ms":1776379854000,"timestamp_seconds":1776379854,"priority":1,"record_length":96,"hex_timestamp":"0000019d987d7cb0"} 
[2026-04-17 04:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:25:32] 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-04-17 04: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":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-17 04:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2395,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753165056001,"66":26419,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1961739879525969920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 04:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753165056001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:25:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 04:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961739879525969920,"description":"Unknown IO ID 45"} 
[2026-04-17 04:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753165056001,"power":26419,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1961739879525969920}} 
[2026-04-17 04:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":45566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19132,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:25:32] local.INFO: GPS data processed {"connection_id":45566,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:25:32] local.INFO: Acknowledgment sent {"connection_id":45566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:25:34] local.INFO: TCP Data received {"connection_id":46324,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d987f2678012d7c9b4005d8aad0000200b131..."} 
[2026-04-17 04:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987f2678012d7c9b4005d8aad0000200b131..."} 
[2026-04-17 04:25:34] local.INFO: Processing buffer {"connection_id":46324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987f2678012d7c9b4005d8aad0000200b131..."} 
[2026-04-17 04:25:34] local.INFO: Packet analysis {"connection_id":46324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d987f"} 
[2026-04-17 04:25:34] local.INFO: Extracted packet for processing {"connection_id":46324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d987f"} 
[2026-04-17 04:25:34] local.INFO: GPS Element Parsed {"raw_longitude":763140928,"raw_latitude":98085584,"longitude_deg":76.3140928,"latitude_deg":9.8085584,"altitude":2,"angle":177,"satellites":49,"speed":23,"hex_longitude":"2d7c9b40","hex_latitude":"05d8aad0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 04:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753267200001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273924475743895552,"note":"Value kept but may cause issues"} 
[2026-04-17 04:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977855513531131904,"note":"Value kept but may cause issues"} 
[2026-04-17 04:25:34] 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-04-17 04:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776379963000,"timestamp_ms":1776379963000,"timestamp_seconds":1776379963,"priority":1,"record_length":96,"hex_timestamp":"0000019d987f2678"} 
[2026-04-17 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-04-17 04: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-04-17 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 04:25:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 04:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":46324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":46324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":46324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:25: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-04-17 04:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753267200001,"66":27234,"196":206,"85":15104,"24":23,"16":273924475743895552,"45":8977855513531131904},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-17 04:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753267200001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:25:34] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-17 04:25:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273924475743895552,"km_value":273924475743895.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977855513531131904,"description":"Unknown IO ID 45"} 
[2026-04-17 04:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753267200001,"power":27234,"unknown_196":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":8977855513531131904}} 
[2026-04-17 04:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":46324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:25:34] local.INFO: GPS data processed {"connection_id":46324,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:25:34] local.INFO: Acknowledgment sent {"connection_id":46324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:25:52] local.INFO: TCP Data received {"connection_id":45507,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:25:52] local.INFO: Processing buffer {"connection_id":45507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:25:52] local.INFO: IMEI packet received {"connection_id":45507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":45507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:25:57] local.INFO: TCP Data received {"connection_id":45507,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:25:57] local.INFO: Processing buffer {"connection_id":45507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:25:57] local.INFO: IMEI packet received {"connection_id":45507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":45507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:25:58] local.INFO: TCP Data received {"connection_id":45507,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d987f64f8012d7c9c8005d886a8000200b131..."} 
[2026-04-17 04:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987f64f8012d7c9c8005d886a8000200b131..."} 
[2026-04-17 04:25:58] local.INFO: Processing buffer {"connection_id":45507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987f64f8012d7c9c8005d886a8000200b131..."} 
[2026-04-17 04:25:58] local.INFO: Packet analysis {"connection_id":45507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d987f"} 
[2026-04-17 04:25:58] local.INFO: Extracted packet for processing {"connection_id":45507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d987f"} 
[2026-04-17 04:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763141248,"raw_latitude":98076328,"longitude_deg":76.3141248,"latitude_deg":9.8076328,"altitude":2,"angle":177,"satellites":49,"speed":21,"hex_longitude":"2d7c9c80","hex_latitude":"05d886a8","is_valid_coordinates":true} 
[2026-04-17 04:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753270528001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273924926715461632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978840675947302912,"note":"Value kept but may cause issues"} 
[2026-04-17 04:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,196,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776379979000,"timestamp_ms":1776379979000,"timestamp_seconds":1776379979,"priority":1,"record_length":96,"hex_timestamp":"0000019d987f64f8"} 
[2026-04-17 04:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:25: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-04-17 04:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 04:25:58] 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-04-17 04:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:25:58] 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-04-17 04:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753270528001,"66":27463,"196":206,"85":15104,"24":21,"16":273924926715461632,"45":8978840675947302912},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-17 04:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753270528001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:25:58] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-17 04:25:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273924926715461632,"km_value":273924926715461.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978840675947302912,"description":"Unknown IO ID 45"} 
[2026-04-17 04:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753270528001,"power":27463,"unknown_196":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":8978840675947302912}} 
[2026-04-17 04:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":45507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19134,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:25:58] local.INFO: GPS data processed {"connection_id":45507,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:25:58] local.INFO: Acknowledgment sent {"connection_id":45507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:26:29] local.INFO: TCP Data received {"connection_id":45507,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98819390012d7cdf4005d6de580001009b2d..."} 
[2026-04-17 04:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98819390012d7cdf4005d6de580001009b2d..."} 
[2026-04-17 04:26:29] local.INFO: Processing buffer {"connection_id":45507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98819390012d7cdf4005d6de580001009b2d..."} 
[2026-04-17 04:26:29] local.INFO: Packet analysis {"connection_id":45507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9881"} 
[2026-04-17 04:26:29] local.INFO: Extracted packet for processing {"connection_id":45507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9881"} 
[2026-04-17 04:26:29] local.INFO: GPS Element Parsed {"raw_longitude":763158336,"raw_latitude":97967704,"longitude_deg":76.3158336,"latitude_deg":9.7967704,"altitude":1,"angle":155,"satellites":45,"speed":29,"hex_longitude":"2d7cdf40","hex_latitude":"05d6de58","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753307648001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273930291129614336,"note":"Value kept but may cause issues"} 
[2026-04-17 04:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8994603274615222272,"note":"Value kept but may cause issues"} 
[2026-04-17 04:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776380122000,"timestamp_ms":1776380122000,"timestamp_seconds":1776380122,"priority":1,"record_length":96,"hex_timestamp":"0000019d98819390"} 
[2026-04-17 04:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:26: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-04-17 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 04:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:26: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-04-17 04:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753307648001,"66":27365,"30":206,"85":15104,"24":29,"16":273930291129614336,"45":8994603274615222272},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-17 04:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753307648001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:26:29] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-17 04:26:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273930291129614336,"km_value":273930291129614.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8994603274615222272,"description":"Unknown IO ID 45"} 
[2026-04-17 04:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753307648001,"power":27365,"unknown_30":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8994603274615222272}} 
[2026-04-17 04:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":45507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:26:29] local.INFO: GPS data processed {"connection_id":45507,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:26:29] local.INFO: Acknowledgment sent {"connection_id":45507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:26:40] local.INFO: TCP Data received {"connection_id":45508,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:26:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:26:40] local.INFO: Processing buffer {"connection_id":45508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:26:40] local.INFO: IMEI packet received {"connection_id":45508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:26:40] local.INFO: IMEI acknowledgment sent {"connection_id":45508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:26:52] local.INFO: TCP Data received {"connection_id":45567,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:26:52] local.INFO: Processing buffer {"connection_id":45567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:26:52] local.INFO: IMEI packet received {"connection_id":45567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":45567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:26:57] local.INFO: TCP Data received {"connection_id":45567,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45567,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:26:57] local.INFO: Processing buffer {"connection_id":45567,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:26:57] local.INFO: IMEI packet received {"connection_id":45567,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":45567,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:26:59] local.INFO: TCP Data received {"connection_id":45567,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9881ab00012d7ce3c005d6ce00000200a72d..."} 
[2026-04-17 04:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9881ab00012d7ce3c005d6ce00000200a72d..."} 
[2026-04-17 04:26:59] local.INFO: Processing buffer {"connection_id":45567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9881ab00012d7ce3c005d6ce00000200a72d..."} 
[2026-04-17 04:26:59] local.INFO: Packet analysis {"connection_id":45567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9881"} 
[2026-04-17 04:26:59] local.INFO: Extracted packet for processing {"connection_id":45567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9881"} 
[2026-04-17 04:26:59] local.INFO: GPS Element Parsed {"raw_longitude":763159488,"raw_latitude":97963520,"longitude_deg":76.3159488,"latitude_deg":9.796352,"altitude":2,"angle":167,"satellites":45,"speed":29,"hex_longitude":"2d7ce3c0","hex_latitude":"05d6ce00","is_valid_coordinates":true} 
[2026-04-17 04:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753311232001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273930501583011840,"note":"Value kept but may cause issues"} 
[2026-04-17 04:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8997980974333450240,"note":"Value kept but may cause issues"} 
[2026-04-17 04:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776380128000,"timestamp_ms":1776380128000,"timestamp_seconds":1776380128,"priority":1,"record_length":96,"hex_timestamp":"0000019d9881ab00"} 
[2026-04-17 04:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:26: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-04-17 04:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753311232001,"66":27365,"30":206,"85":15104,"24":29,"16":273930501583011840,"45":8997980974333450240},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-17 04:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753311232001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:26:59] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-17 04:26:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273930501583011840,"km_value":273930501583011.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8997980974333450240,"description":"Unknown IO ID 45"} 
[2026-04-17 04:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753311232001,"power":27365,"unknown_30":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8997980974333450240}} 
[2026-04-17 04:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":45567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:26:59] local.INFO: GPS data processed {"connection_id":45567,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:26:59] local.INFO: Acknowledgment sent {"connection_id":45567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:27:33] local.INFO: TCP Data received {"connection_id":45567,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9881d9e0012d7ceb4005d6aa68000200ab30..."} 
[2026-04-17 04:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9881d9e0012d7ceb4005d6aa68000200ab30..."} 
[2026-04-17 04:27:33] local.INFO: Processing buffer {"connection_id":45567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9881d9e0012d7ceb4005d6aa68000200ab30..."} 
[2026-04-17 04:27:33] local.INFO: Packet analysis {"connection_id":45567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9881"} 
[2026-04-17 04:27:33] local.INFO: Extracted packet for processing {"connection_id":45567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9881"} 
[2026-04-17 04:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763161408,"raw_latitude":97954408,"longitude_deg":76.3161408,"latitude_deg":9.7954408,"altitude":2,"angle":171,"satellites":48,"speed":31,"hex_longitude":"2d7ceb40","hex_latitude":"05d6aa68","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753312768001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273930952554577920,"note":"Value kept but may cause issues"} 
[2026-04-17 04:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8999247611727577088,"note":"Value kept but may cause issues"} 
[2026-04-17 04:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776380140000,"timestamp_ms":1776380140000,"timestamp_seconds":1776380140,"priority":1,"record_length":96,"hex_timestamp":"0000019d9881d9e0"} 
[2026-04-17 04:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:27: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-04-17 04:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45567,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:27:33] 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-04-17 04:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753312768001,"66":27463,"30":206,"85":15104,"24":31,"16":273930952554577920,"45":8999247611727577088},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,85,24,16,45]} 
[2026-04-17 04:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753312768001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:27:33] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-17 04:27:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273930952554577920,"km_value":273930952554577.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8999247611727577088,"description":"Unknown IO ID 45"} 
[2026-04-17 04:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753312768001,"power":27463,"unknown_30":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":8999247611727577088}} 
[2026-04-17 04:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":45567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:27:33] local.INFO: GPS data processed {"connection_id":45567,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:27:33] local.INFO: Acknowledgment sent {"connection_id":45567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:27:37] local.INFO: TCP Data received {"connection_id":45508,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:27:37] local.INFO: Processing buffer {"connection_id":45508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:27:37] local.INFO: IMEI packet received {"connection_id":45508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:27:37] local.INFO: IMEI acknowledgment sent {"connection_id":45508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:27:52] local.INFO: TCP Data received {"connection_id":45765,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:27:52] local.INFO: Processing buffer {"connection_id":45765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:27:52] local.INFO: IMEI packet received {"connection_id":45765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":45765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:27:57] local.INFO: TCP Data received {"connection_id":45765,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:27:57] local.INFO: Processing buffer {"connection_id":45765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:27:57] local.INFO: IMEI packet received {"connection_id":45765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":45765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:27:58] local.INFO: TCP Data received {"connection_id":45765,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d988208c0012d7cef4005d685f8000300ad30..."} 
[2026-04-17 04:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988208c0012d7cef4005d685f8000300ad30..."} 
[2026-04-17 04:27:58] local.INFO: Processing buffer {"connection_id":45765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988208c0012d7cef4005d685f8000300ad30..."} 
[2026-04-17 04:27:58] local.INFO: Packet analysis {"connection_id":45765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9882"} 
[2026-04-17 04:27:58] local.INFO: Extracted packet for processing {"connection_id":45765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9882"} 
[2026-04-17 04:27:58] local.INFO: GPS Element Parsed {"raw_longitude":763162432,"raw_latitude":97945080,"longitude_deg":76.3162432,"latitude_deg":9.794508,"altitude":3,"angle":173,"satellites":48,"speed":29,"hex_longitude":"2d7cef40","hex_latitude":"05d685f8","is_valid_coordinates":true} 
[2026-04-17 04:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753315840001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273931407821111296,"note":"Value kept but may cause issues"} 
[2026-04-17 04:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9001358674050574336,"note":"Value kept but may cause issues"} 
[2026-04-17 04:27:58] 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-04-17 04:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776380152000,"timestamp_ms":1776380152000,"timestamp_seconds":1776380152,"priority":1,"record_length":96,"hex_timestamp":"0000019d988208c0"} 
[2026-04-17 04:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:27:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 04:27:58] 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-04-17 04:27:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:27:58] 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-04-17 04:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753315840001,"66":27376,"29":206,"85":15104,"24":29,"16":273931407821111296,"45":9001358674050574336},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-04-17 04:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753315840001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:27:58] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-17 04:27:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273931407821111296,"km_value":273931407821111.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9001358674050574336,"description":"Unknown IO ID 45"} 
[2026-04-17 04:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753315840001,"power":27376,"unknown_29":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9001358674050574336}} 
[2026-04-17 04:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":45765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:27:58] local.INFO: GPS data processed {"connection_id":45765,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:27:58] local.INFO: Acknowledgment sent {"connection_id":45765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:28:29] local.INFO: TCP Data received {"connection_id":45765,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98823f70012d7cf30005d66220000400af2d..."} 
[2026-04-17 04:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98823f70012d7cf30005d66220000400af2d..."} 
[2026-04-17 04:28:29] local.INFO: Processing buffer {"connection_id":45765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98823f70012d7cf30005d66220000400af2d..."} 
[2026-04-17 04:28:29] local.INFO: Packet analysis {"connection_id":45765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9882"} 
[2026-04-17 04:28:29] local.INFO: Extracted packet for processing {"connection_id":45765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9882"} 
[2026-04-17 04:28:29] local.INFO: GPS Element Parsed {"raw_longitude":763163392,"raw_latitude":97935904,"longitude_deg":76.3163392,"latitude_deg":9.7935904,"altitude":4,"angle":175,"satellites":45,"speed":22,"hex_longitude":"2d7cf300","hex_latitude":"05d66220","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753318912001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273931854497710080,"note":"Value kept but may cause issues"} 
[2026-04-17 04:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9002484573955028992,"note":"Value kept but may cause issues"} 
[2026-04-17 04:28:29] 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-04-17 04:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776380166000,"timestamp_ms":1776380166000,"timestamp_seconds":1776380166,"priority":1,"record_length":96,"hex_timestamp":"0000019d98823f70"} 
[2026-04-17 04:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:28: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-04-17 04: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 04:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:28: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-04-17 04:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753318912001,"66":27321,"29":206,"85":15104,"24":22,"16":273931854497710080,"45":9002484573955028992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-04-17 04:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753318912001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:28:29] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-17 04:28:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273931854497710080,"km_value":273931854497710.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9002484573955028992,"description":"Unknown IO ID 45"} 
[2026-04-17 04:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753318912001,"power":27321,"unknown_29":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9002484573955028992}} 
[2026-04-17 04:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":45765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:28:29] local.INFO: GPS data processed {"connection_id":45765,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:28:29] local.INFO: Acknowledgment sent {"connection_id":45765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:28:51] local.INFO: TCP Data received {"connection_id":45766,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:28:51] local.INFO: Processing buffer {"connection_id":45766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:28:51] local.INFO: IMEI packet received {"connection_id":45766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":45766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:28:52] local.INFO: TCP Data received {"connection_id":45766,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:28:52] local.INFO: Processing buffer {"connection_id":45766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:28:52] local.INFO: IMEI packet received {"connection_id":45766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":45766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:28:57] local.INFO: TCP Data received {"connection_id":45766,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:28:57] local.INFO: Processing buffer {"connection_id":45766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:28:57] local.INFO: IMEI packet received {"connection_id":45766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":45766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:28:58] local.INFO: TCP Data received {"connection_id":45766,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98827df0012d7cf6c005d63f88000600ae2d..."} 
[2026-04-17 04:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98827df0012d7cf6c005d63f88000600ae2d..."} 
[2026-04-17 04:28:58] local.INFO: Processing buffer {"connection_id":45766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98827df0012d7cf6c005d63f88000600ae2d..."} 
[2026-04-17 04:28:58] local.INFO: Packet analysis {"connection_id":45766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9882"} 
[2026-04-17 04:28:58] local.INFO: Extracted packet for processing {"connection_id":45766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9882"} 
[2026-04-17 04:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763164352,"raw_latitude":97927048,"longitude_deg":76.3164352,"latitude_deg":9.7927048,"altitude":6,"angle":174,"satellites":45,"speed":23,"hex_longitude":"2d7cf6c0","hex_latitude":"05d63f88","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753322496001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273932288289406976,"note":"Value kept but may cause issues"} 
[2026-04-17 04:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003540105115344896,"note":"Value kept but may cause issues"} 
[2026-04-17 04:28:58] 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-04-17 04:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776380182000,"timestamp_ms":1776380182000,"timestamp_seconds":1776380182,"priority":1,"record_length":96,"hex_timestamp":"0000019d98827df0"} 
[2026-04-17 04:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:28: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-04-17 04:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 04:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:28:58] 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-04-17 04:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753322496001,"66":27397,"29":206,"85":15104,"24":23,"16":273932288289406976,"45":9003540105115344896},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-04-17 04:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753322496001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:28:58] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-17 04:28:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273932288289406976,"km_value":273932288289406.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003540105115344896,"description":"Unknown IO ID 45"} 
[2026-04-17 04:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753322496001,"power":27397,"unknown_29":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9003540105115344896}} 
[2026-04-17 04:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":45766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:28:58] local.INFO: GPS data processed {"connection_id":45766,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:28:58] local.INFO: Acknowledgment sent {"connection_id":45766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:29:16] local.INFO: TCP Data received {"connection_id":46325,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:29:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:29:16] local.INFO: Processing buffer {"connection_id":46325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:29:16] local.INFO: IMEI packet received {"connection_id":46325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:29:16] local.INFO: IMEI acknowledgment sent {"connection_id":46325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:29:29] local.INFO: TCP Data received {"connection_id":45766,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9882bc70012d7cfac005d61bb0000300ad30..."} 
[2026-04-17 04:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9882bc70012d7cfac005d61bb0000300ad30..."} 
[2026-04-17 04:29:29] local.INFO: Processing buffer {"connection_id":45766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9882bc70012d7cfac005d61bb0000300ad30..."} 
[2026-04-17 04:29:29] local.INFO: Packet analysis {"connection_id":45766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9882"} 
[2026-04-17 04:29:29] local.INFO: Extracted packet for processing {"connection_id":45766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9882"} 
[2026-04-17 04:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763165376,"raw_latitude":97917872,"longitude_deg":76.3165376,"latitude_deg":9.7917872,"altitude":3,"angle":173,"satellites":48,"speed":22,"hex_longitude":"2d7cfac0","hex_latitude":"05d61bb0","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753326592001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273932734966005760,"note":"Value kept but may cause issues"} 
[2026-04-17 04:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004595636275742720,"note":"Value kept but may cause issues"} 
[2026-04-17 04:29:29] 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-04-17 04:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776380198000,"timestamp_ms":1776380198000,"timestamp_seconds":1776380198,"priority":1,"record_length":96,"hex_timestamp":"0000019d9882bc70"} 
[2026-04-17 04:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:29: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-04-17 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 04:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:29: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-04-17 04:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753326592001,"66":27321,"29":206,"85":15104,"24":22,"16":273932734966005760,"45":9004595636275742720},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-04-17 04:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753326592001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:29:29] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-17 04:29:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273932734966005760,"km_value":273932734966005.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004595636275742720,"description":"Unknown IO ID 45"} 
[2026-04-17 04:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753326592001,"power":27321,"unknown_29":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9004595636275742720}} 
[2026-04-17 04:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":45766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:29:29] local.INFO: GPS data processed {"connection_id":45766,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:29:29] local.INFO: Acknowledgment sent {"connection_id":45766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:29:51] local.INFO: TCP Data received {"connection_id":46326,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:29:51] local.INFO: Processing buffer {"connection_id":46326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:29:51] local.INFO: IMEI packet received {"connection_id":46326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":46326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:29:54] local.INFO: TCP Data received {"connection_id":46326,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:29:54] local.INFO: Processing buffer {"connection_id":46326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:29:54] local.INFO: IMEI packet received {"connection_id":46326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":46326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:29:57] local.INFO: TCP Data received {"connection_id":46326,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46326,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:29:57] local.INFO: Processing buffer {"connection_id":46326,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:29:57] local.INFO: IMEI packet received {"connection_id":46326,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":46326,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:29:58] local.INFO: TCP Data received {"connection_id":46326,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9884a8a0012d7d3a8005d497f8000400aa2f..."} 
[2026-04-17 04:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9884a8a0012d7d3a8005d497f8000400aa2f..."} 
[2026-04-17 04:29:58] local.INFO: Processing buffer {"connection_id":46326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9884a8a0012d7d3a8005d497f8000400aa2f..."} 
[2026-04-17 04:29:58] local.INFO: Packet analysis {"connection_id":46326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9884"} 
[2026-04-17 04:29:58] local.INFO: Extracted packet for processing {"connection_id":46326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9884"} 
[2026-04-17 04:29:58] local.INFO: GPS Element Parsed {"raw_longitude":763181696,"raw_latitude":97818616,"longitude_deg":76.3181696,"latitude_deg":9.7818616,"altitude":4,"angle":170,"satellites":47,"speed":34,"hex_longitude":"2d7d3a80","hex_latitude":"05d497f8","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753360384001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273937656998526976,"note":"Value kept but may cause issues"} 
[2026-04-17 04:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047084806307840,"note":"Value kept but may cause issues"} 
[2026-04-17 04:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776380324000,"timestamp_ms":1776380324000,"timestamp_seconds":1776380324,"priority":1,"record_length":96,"hex_timestamp":"0000019d9884a8a0"} 
[2026-04-17 04:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:29: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-04-17 04: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 04:29: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-04-17 04: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-04-17 04:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:29:58] 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-04-17 04:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753360384001,"66":27300,"81":206,"85":15104,"24":34,"16":273937656998526976,"45":9022047084806307840},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-04-17 04:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753360384001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:29:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 04:29:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273937656998526976,"km_value":273937656998526.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047084806307840,"description":"Unknown IO ID 45"} 
[2026-04-17 04:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753360384001,"power":27300,"unknown_81":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9022047084806307840}} 
[2026-04-17 04:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":46326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:29:58] local.INFO: GPS data processed {"connection_id":46326,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:29:58] local.INFO: Acknowledgment sent {"connection_id":46326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:30:14] local.INFO: TCP Data received {"connection_id":46325,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46325,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:30:14] local.INFO: Processing buffer {"connection_id":46325,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:30:14] local.INFO: IMEI packet received {"connection_id":46325,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":46325,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:30:29] local.INFO: TCP Data received {"connection_id":46326,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9884cfb0012d7d414005d475f0000500ab32..."} 
[2026-04-17 04:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46326,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9884cfb0012d7d414005d475f0000500ab32..."} 
[2026-04-17 04:30:29] local.INFO: Processing buffer {"connection_id":46326,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9884cfb0012d7d414005d475f0000500ab32..."} 
[2026-04-17 04:30:29] local.INFO: Packet analysis {"connection_id":46326,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9884"} 
[2026-04-17 04:30:29] local.INFO: Extracted packet for processing {"connection_id":46326,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9884"} 
[2026-04-17 04:30:29] local.INFO: GPS Element Parsed {"raw_longitude":763183424,"raw_latitude":97809904,"longitude_deg":76.3183424,"latitude_deg":9.7809904,"altitude":5,"angle":171,"satellites":50,"speed":31,"hex_longitude":"2d7d4140","hex_latitude":"05d475f0","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:30:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753362944001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:30:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273938086495256576,"note":"Value kept but may cause issues"} 
[2026-04-17 04:30:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023665565920131072,"note":"Value kept but may cause issues"} 
[2026-04-17 04:30:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:30:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776380334000,"timestamp_ms":1776380334000,"timestamp_seconds":1776380334,"priority":1,"record_length":96,"hex_timestamp":"0000019d9884cfb0"} 
[2026-04-17 04:30:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:30: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-04-17 04: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-04-17 04: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-04-17 04: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-04-17 04:30:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:30:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:30:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46326,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:30:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:30:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46326,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:30: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-04-17 04:30:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:30:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:30:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753362944001,"66":27463,"81":206,"85":15104,"24":31,"16":273938086495256576,"45":9023665565920131072},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-04-17 04:30:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:30:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:30:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753362944001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:30:29] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 04:30:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:30:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273938086495256576,"km_value":273938086495256.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:30:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023665565920131072,"description":"Unknown IO ID 45"} 
[2026-04-17 04:30:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753362944001,"power":27463,"unknown_81":206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9023665565920131072}} 
[2026-04-17 04:30:29] local.INFO: DEBUG: GPS processor result {"connection_id":46326,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:30:29] local.INFO: GPS data processed {"connection_id":46326,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:30:29] local.INFO: Acknowledgment sent {"connection_id":46326,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:30:57] local.INFO: TCP Data received {"connection_id":45509,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:30:57] local.INFO: Processing buffer {"connection_id":45509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:30:57] local.INFO: IMEI packet received {"connection_id":45509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":45509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:31:02] local.INFO: TCP Data received {"connection_id":45509,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:31:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:31:02] local.INFO: Processing buffer {"connection_id":45509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:31:02] local.INFO: IMEI packet received {"connection_id":45509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:31:02] local.INFO: IMEI acknowledgment sent {"connection_id":45509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:31:03] local.INFO: TCP Data received {"connection_id":45509,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9884fe90012d7d444005d450e8000600b22e..."} 
[2026-04-17 04:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9884fe90012d7d444005d450e8000600b22e..."} 
[2026-04-17 04:31:03] local.INFO: Processing buffer {"connection_id":45509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9884fe90012d7d444005d450e8000600b22e..."} 
[2026-04-17 04:31:03] local.INFO: Packet analysis {"connection_id":45509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9884"} 
[2026-04-17 04:31:03] local.INFO: Extracted packet for processing {"connection_id":45509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9884"} 
[2026-04-17 04:31:03] local.INFO: GPS Element Parsed {"raw_longitude":763184192,"raw_latitude":97800424,"longitude_deg":76.3184192,"latitude_deg":9.7800424,"altitude":6,"angle":178,"satellites":46,"speed":35,"hex_longitude":"2d7d4440","hex_latitude":"05d450e8","is_valid_coordinates":true} 
[2026-04-17 04:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753365504001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273938550351724544,"note":"Value kept but may cause issues"} 
[2026-04-17 04:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025565522010697728,"note":"Value kept but may cause issues"} 
[2026-04-17 04:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776380346000,"timestamp_ms":1776380346000,"timestamp_seconds":1776380346,"priority":1,"record_length":96,"hex_timestamp":"0000019d9884fe90"} 
[2026-04-17 04:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:31: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-04-17 04:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 04:31: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-04-17 04:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:31:03] 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-04-17 04:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753365504001,"66":27365,"81":206,"85":15104,"24":35,"16":273938550351724544,"45":9025565522010697728},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-04-17 04:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753365504001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 04:31:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273938550351724544,"km_value":273938550351724.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025565522010697728,"description":"Unknown IO ID 45"} 
[2026-04-17 04:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753365504001,"power":27365,"unknown_81":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9025565522010697728}} 
[2026-04-17 04:31:03] local.INFO: DEBUG: GPS processor result {"connection_id":45509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:31:03] local.INFO: GPS data processed {"connection_id":45509,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:31:03] local.INFO: Acknowledgment sent {"connection_id":45509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:31:03] local.INFO: TCP Data received {"connection_id":45509,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d988525a0012d7d450005d42bd0000400b630..."} 
[2026-04-17 04:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988525a0012d7d450005d42bd0000400b630..."} 
[2026-04-17 04:31:03] local.INFO: Processing buffer {"connection_id":45509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988525a0012d7d450005d42bd0000400b630..."} 
[2026-04-17 04:31:03] local.INFO: Packet analysis {"connection_id":45509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9885"} 
[2026-04-17 04:31:03] local.INFO: Extracted packet for processing {"connection_id":45509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9885"} 
[2026-04-17 04:31:03] local.INFO: GPS Element Parsed {"raw_longitude":763184384,"raw_latitude":97790928,"longitude_deg":76.3184384,"latitude_deg":9.7790928,"altitude":4,"angle":182,"satellites":48,"speed":37,"hex_longitude":"2d7d4500","hex_latitude":"05d42bd0","is_valid_coordinates":true} 
[2026-04-17 04:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:31:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753368576001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:31:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273939009913225216,"note":"Value kept but may cause issues"} 
[2026-04-17 04:31:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026409946938402816,"note":"Value kept but may cause issues"} 
[2026-04-17 04:31:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:31:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776380356000,"timestamp_ms":1776380356000,"timestamp_seconds":1776380356,"priority":1,"record_length":96,"hex_timestamp":"0000019d988525a0"} 
[2026-04-17 04:31:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:31: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-04-17 04:31:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:31: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-04-17 04:31:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:31:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:31:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:31:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:31:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:31:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:31:03] 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-04-17 04:31:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:31:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:31:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753368576001,"66":27343,"81":206,"85":15104,"24":37,"16":273939009913225216,"45":9026409946938402816},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-04-17 04:31:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:31:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:31:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753368576001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:31:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 04:31:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:31:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273939009913225216,"km_value":273939009913225.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:31:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026409946938402816,"description":"Unknown IO ID 45"} 
[2026-04-17 04:31:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753368576001,"power":27343,"unknown_81":206,"unknown_85":15104,"ignition":37,"odometer":null,"unknown_45":9026409946938402816}} 
[2026-04-17 04:31:04] local.INFO: DEBUG: GPS processor result {"connection_id":45509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:31:04] local.INFO: GPS data processed {"connection_id":45509,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:31:04] local.INFO: Acknowledgment sent {"connection_id":45509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:31:34] local.INFO: TCP Data received {"connection_id":45509,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98854cb0012d7d428005d408a8000400b62f..."} 
[2026-04-17 04:31:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98854cb0012d7d428005d408a8000400b62f..."} 
[2026-04-17 04:31:34] local.INFO: Processing buffer {"connection_id":45509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98854cb0012d7d428005d408a8000400b62f..."} 
[2026-04-17 04:31:34] local.INFO: Packet analysis {"connection_id":45509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9885"} 
[2026-04-17 04:31:34] local.INFO: Extracted packet for processing {"connection_id":45509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9885"} 
[2026-04-17 04:31:34] local.INFO: GPS Element Parsed {"raw_longitude":763183744,"raw_latitude":97781928,"longitude_deg":76.3183744,"latitude_deg":9.7781928,"altitude":4,"angle":182,"satellites":47,"speed":33,"hex_longitude":"2d7d4280","hex_latitude":"05d408a8","is_valid_coordinates":true} 
[2026-04-17 04:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:31:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753371136001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:31:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273939447999889408,"note":"Value kept but may cause issues"} 
[2026-04-17 04:31:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026621053168504832,"note":"Value kept but may cause issues"} 
[2026-04-17 04:31:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:31:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776380366000,"timestamp_ms":1776380366000,"timestamp_seconds":1776380366,"priority":1,"record_length":96,"hex_timestamp":"0000019d98854cb0"} 
[2026-04-17 04:31:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:31: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-04-17 04:31:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 04:31:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:31:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:31:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:31:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:31:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:31:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:31:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:31: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-04-17 04:31:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:31:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:31:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753371136001,"66":27484,"81":206,"85":15104,"24":33,"16":273939447999889408,"45":9026621053168504832},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-04-17 04:31:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:31:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:31:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753371136001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:31:34] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 04:31:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:31:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273939447999889408,"km_value":273939447999889.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:31:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026621053168504832,"description":"Unknown IO ID 45"} 
[2026-04-17 04:31:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753371136001,"power":27484,"unknown_81":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9026621053168504832}} 
[2026-04-17 04:31:34] local.INFO: DEBUG: GPS processor result {"connection_id":45509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:31:34] local.INFO: GPS data processed {"connection_id":45509,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:31:34] local.INFO: Acknowledgment sent {"connection_id":45509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:31:49] local.INFO: TCP Data received {"connection_id":45767,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:31:49] local.INFO: Processing buffer {"connection_id":45767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:31:49] local.INFO: IMEI packet received {"connection_id":45767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":45767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:31:52] local.INFO: TCP Data received {"connection_id":45767,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:31:52] local.INFO: Processing buffer {"connection_id":45767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:31:52] local.INFO: IMEI packet received {"connection_id":45767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":45767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:31:57] local.INFO: TCP Data received {"connection_id":45767,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45767,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:31:57] local.INFO: Processing buffer {"connection_id":45767,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:31:57] local.INFO: IMEI packet received {"connection_id":45767,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":45767,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:31:58] local.INFO: TCP Data received {"connection_id":45767,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98857f78012d7d3f4005d3e3d0000300ba30..."} 
[2026-04-17 04:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98857f78012d7d3f4005d3e3d0000300ba30..."} 
[2026-04-17 04:31:58] local.INFO: Processing buffer {"connection_id":45767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98857f78012d7d3f4005d3e3d0000300ba30..."} 
[2026-04-17 04:31:58] local.INFO: Packet analysis {"connection_id":45767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9885"} 
[2026-04-17 04:31:58] local.INFO: Extracted packet for processing {"connection_id":45767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9885"} 
[2026-04-17 04:31:58] local.INFO: GPS Element Parsed {"raw_longitude":763182912,"raw_latitude":97772496,"longitude_deg":76.3182912,"latitude_deg":9.7772496,"altitude":3,"angle":186,"satellites":48,"speed":26,"hex_longitude":"2d7d3f40","hex_latitude":"05d3e3d0","is_valid_coordinates":true} 
[2026-04-17 04:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753373696001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273939907561390080,"note":"Value kept but may cause issues"} 
[2026-04-17 04:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025917365724424192,"note":"Value kept but may cause issues"} 
[2026-04-17 04:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776380379000,"timestamp_ms":1776380379000,"timestamp_seconds":1776380379,"priority":1,"record_length":96,"hex_timestamp":"0000019d98857f78"} 
[2026-04-17 04:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:31: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-04-17 04:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 04:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:31:58] 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-04-17 04:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753373696001,"66":27484,"81":206,"85":15104,"24":26,"16":273939907561390080,"45":9025917365724424192},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-04-17 04:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753373696001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:31:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 04:31:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273939907561390080,"km_value":273939907561390.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025917365724424192,"description":"Unknown IO ID 45"} 
[2026-04-17 04:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753373696001,"power":27484,"unknown_81":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9025917365724424192}} 
[2026-04-17 04:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":45767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:31:58] local.INFO: GPS data processed {"connection_id":45767,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:31:58] local.INFO: Acknowledgment sent {"connection_id":45767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:32:36] local.INFO: TCP Data received {"connection_id":45767,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9885bdf8012d7d3d4005d3c108000300b531..."} 
[2026-04-17 04:32:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9885bdf8012d7d3d4005d3c108000300b531..."} 
[2026-04-17 04:32:36] local.INFO: Processing buffer {"connection_id":45767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9885bdf8012d7d3d4005d3c108000300b531..."} 
[2026-04-17 04:32:36] local.INFO: Packet analysis {"connection_id":45767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9885"} 
[2026-04-17 04:32:36] local.INFO: Extracted packet for processing {"connection_id":45767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9885"} 
[2026-04-17 04:32:36] local.INFO: GPS Element Parsed {"raw_longitude":763182400,"raw_latitude":97763592,"longitude_deg":76.31824,"latitude_deg":9.7763592,"altitude":3,"angle":181,"satellites":49,"speed":17,"hex_longitude":"2d7d3d40","hex_latitude":"05d3c108","is_valid_coordinates":true} 
[2026-04-17 04:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:32:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753377024001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:32:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273940341353086976,"note":"Value kept but may cause issues"} 
[2026-04-17 04:32:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025002572047699968,"note":"Value kept but may cause issues"} 
[2026-04-17 04:32: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-04-17 04:32:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776380395000,"timestamp_ms":1776380395000,"timestamp_seconds":1776380395,"priority":1,"record_length":96,"hex_timestamp":"0000019d9885bdf8"} 
[2026-04-17 04:32:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:32: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-04-17 04:32:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 04:32: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-04-17 04:32:36] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:32:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:32:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:32:36] local.INFO: Teltonika packet parsed successfully {"connection_id":45767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:32:36] local.INFO: Passing IMEI to GPS processor {"connection_id":45767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:32:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":45767,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:32:36] 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-04-17 04:32:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:32:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:32:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753377024001,"66":27463,"81":206,"85":15104,"24":17,"16":273940341353086976,"45":9025002572047699968},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-04-17 04:32:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:32:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:32:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753377024001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:32:36] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 04:32:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:32:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273940341353086976,"km_value":273940341353086.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:32:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025002572047699968,"description":"Unknown IO ID 45"} 
[2026-04-17 04:32:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753377024001,"power":27463,"unknown_81":206,"unknown_85":15104,"ignition":17,"odometer":null,"unknown_45":9025002572047699968}} 
[2026-04-17 04:32:36] local.INFO: DEBUG: GPS processor result {"connection_id":45767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:32:36] local.INFO: GPS data processed {"connection_id":45767,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:32:36] local.INFO: Acknowledgment sent {"connection_id":45767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:32:52] local.INFO: TCP Data received {"connection_id":45569,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:32:52] local.INFO: Processing buffer {"connection_id":45569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:32:52] local.INFO: IMEI packet received {"connection_id":45569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":45569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:32:54] local.INFO: TCP Data received {"connection_id":45569,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:32:54] local.INFO: Processing buffer {"connection_id":45569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:32:54] local.INFO: IMEI packet received {"connection_id":45569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":45569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:32:56] local.INFO: TCP Data received {"connection_id":45569,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45569,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:32:56] local.INFO: Processing buffer {"connection_id":45569,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:32:56] local.INFO: IMEI packet received {"connection_id":45569,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":45569,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:32:57] local.INFO: TCP Data received {"connection_id":45569,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98879a88012d7d3c8005d273f0000800ba32..."} 
[2026-04-17 04:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98879a88012d7d3c8005d273f0000800ba32..."} 
[2026-04-17 04:32:57] local.INFO: Processing buffer {"connection_id":45569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98879a88012d7d3c8005d273f0000800ba32..."} 
[2026-04-17 04:32:57] local.INFO: Packet analysis {"connection_id":45569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9887"} 
[2026-04-17 04:32:57] local.INFO: Extracted packet for processing {"connection_id":45569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9887"} 
[2026-04-17 04:32:57] local.INFO: GPS Element Parsed {"raw_longitude":763182208,"raw_latitude":97678320,"longitude_deg":76.3182208,"latitude_deg":9.767832,"altitude":8,"angle":186,"satellites":50,"speed":31,"hex_longitude":"2d7d3c80","hex_latitude":"05d273f0","is_valid_coordinates":true} 
[2026-04-17 04:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753409024001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273944494586462208,"note":"Value kept but may cause issues"} 
[2026-04-17 04:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025846996956071936,"note":"Value kept but may cause issues"} 
[2026-04-17 04:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776380517000,"timestamp_ms":1776380517000,"timestamp_seconds":1776380517,"priority":1,"record_length":96,"hex_timestamp":"0000019d98879a88"} 
[2026-04-17 04:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:32: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-04-17 04:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:32:57] 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-04-17 04:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753409024001,"66":27300,"199":206,"85":15104,"24":31,"16":273944494586462208,"45":9025846996956071936},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 04:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753409024001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:32:57] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 04:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273944494586462208,"km_value":273944494586462.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025846996956071936,"description":"Unknown IO ID 45"} 
[2026-04-17 04:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753409024001,"power":27300,"trip_odometer":0.206,"unknown_85":15104,"ignition":31,"odometer":null,"unknown_45":9025846996956071936}} 
[2026-04-17 04:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":45569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:32:57] local.INFO: GPS data processed {"connection_id":45569,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:32:57] local.INFO: Acknowledgment sent {"connection_id":45569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:33:02] local.INFO: TCP Data received {"connection_id":45569,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9887c198012d7d370005d25120000700bd31..."} 
[2026-04-17 04:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9887c198012d7d370005d25120000700bd31..."} 
[2026-04-17 04:33:02] local.INFO: Processing buffer {"connection_id":45569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9887c198012d7d370005d25120000700bd31..."} 
[2026-04-17 04:33:02] local.INFO: Packet analysis {"connection_id":45569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9887"} 
[2026-04-17 04:33:02] local.INFO: Extracted packet for processing {"connection_id":45569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9887"} 
[2026-04-17 04:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":97669408,"longitude_deg":76.31808,"latitude_deg":9.7669408,"altitude":7,"angle":189,"satellites":49,"speed":38,"hex_longitude":"2d7d3700","hex_latitude":"05d25120","is_valid_coordinates":true} 
[2026-04-17 04:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753412352001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273944932673126400,"note":"Value kept but may cause issues"} 
[2026-04-17 04:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024228515837636608,"note":"Value kept but may cause issues"} 
[2026-04-17 04:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776380527000,"timestamp_ms":1776380527000,"timestamp_seconds":1776380527,"priority":1,"record_length":96,"hex_timestamp":"0000019d9887c198"} 
[2026-04-17 04:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:33:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 04:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:33:02] 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-04-17 04:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753412352001,"66":27365,"199":206,"85":15104,"24":38,"16":273944932673126400,"45":9024228515837636608},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 04:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753412352001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:33:02] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 04:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273944932673126400,"km_value":273944932673126.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024228515837636608,"description":"Unknown IO ID 45"} 
[2026-04-17 04:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753412352001,"power":27365,"trip_odometer":0.206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9024228515837636608}} 
[2026-04-17 04:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":45569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:33:02] local.INFO: GPS data processed {"connection_id":45569,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:33:02] local.INFO: Acknowledgment sent {"connection_id":45569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:33:38] local.INFO: TCP Data received {"connection_id":45569,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9887e4c0012d7d300005d22dc0000600bc32..."} 
[2026-04-17 04:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9887e4c0012d7d300005d22dc0000600bc32..."} 
[2026-04-17 04:33:38] local.INFO: Processing buffer {"connection_id":45569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9887e4c0012d7d300005d22dc0000600bc32..."} 
[2026-04-17 04:33:38] local.INFO: Packet analysis {"connection_id":45569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9887"} 
[2026-04-17 04:33:38] local.INFO: Extracted packet for processing {"connection_id":45569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9887"} 
[2026-04-17 04:33:38] local.INFO: GPS Element Parsed {"raw_longitude":763179008,"raw_latitude":97660352,"longitude_deg":76.3179008,"latitude_deg":9.7660352,"altitude":6,"angle":188,"satellites":50,"speed":40,"hex_longitude":"2d7d3000","hex_latitude":"05d22dc0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 04:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753414912001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273945379349725184,"note":"Value kept but may cause issues"} 
[2026-04-17 04:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403463446528,"note":"Value kept but may cause issues"} 
[2026-04-17 04:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776380536000,"timestamp_ms":1776380536000,"timestamp_seconds":1776380536,"priority":1,"record_length":96,"hex_timestamp":"0000019d9887e4c0"} 
[2026-04-17 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-04-17 04:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:33: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-04-17 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-04-17 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-04-17 04:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":45569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":45569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":45569,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:33:38] 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-04-17 04:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753414912001,"66":27332,"23":206,"85":15104,"24":40,"16":273945379349725184,"45":9022680403463446528},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-04-17 04:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753414912001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:33:38] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-17 04:33:38] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273945379349725184,"km_value":273945379349725.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403463446528,"description":"Unknown IO ID 45"} 
[2026-04-17 04:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753414912001,"power":27332,"unknown_23":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":9022680403463446528}} 
[2026-04-17 04:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":45569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:33:38] local.INFO: GPS data processed {"connection_id":45569,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:33:38] local.INFO: Acknowledgment sent {"connection_id":45569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:33:52] local.INFO: TCP Data received {"connection_id":46328,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:33:52] local.INFO: Processing buffer {"connection_id":46328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:33:52] local.INFO: IMEI packet received {"connection_id":46328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":46328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:33:57] local.INFO: TCP Data received {"connection_id":46328,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:33:57] local.INFO: Processing buffer {"connection_id":46328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:33:57] local.INFO: IMEI packet received {"connection_id":46328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":46328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:33:58] local.INFO: TCP Data received {"connection_id":46328,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d988807e8012d7d2a4005d20850000500b932..."} 
[2026-04-17 04:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988807e8012d7d2a4005d20850000500b932..."} 
[2026-04-17 04:33:58] local.INFO: Processing buffer {"connection_id":46328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988807e8012d7d2a4005d20850000500b932..."} 
[2026-04-17 04:33:58] local.INFO: Packet analysis {"connection_id":46328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9888"} 
[2026-04-17 04:33:58] local.INFO: Extracted packet for processing {"connection_id":46328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9888"} 
[2026-04-17 04:33:58] local.INFO: GPS Element Parsed {"raw_longitude":763177536,"raw_latitude":97650768,"longitude_deg":76.3177536,"latitude_deg":9.7650768,"altitude":5,"angle":185,"satellites":50,"speed":44,"hex_longitude":"2d7d2a40","hex_latitude":"05d20850","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753417216001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273945847501160448,"note":"Value kept but may cause issues"} 
[2026-04-17 04:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020710078624153600,"note":"Value kept but may cause issues"} 
[2026-04-17 04:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776380545000,"timestamp_ms":1776380545000,"timestamp_seconds":1776380545,"priority":1,"record_length":96,"hex_timestamp":"0000019d988807e8"} 
[2026-04-17 04:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:33: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-04-17 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 04:33: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-04-17 04: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-04-17 04:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:33:58] 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-04-17 04:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753417216001,"66":27365,"23":206,"85":15104,"24":44,"16":273945847501160448,"45":9020710078624153600},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-04-17 04:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753417216001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:33:58] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-17 04:33:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273945847501160448,"km_value":273945847501160.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020710078624153600,"description":"Unknown IO ID 45"} 
[2026-04-17 04:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753417216001,"power":27365,"unknown_23":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9020710078624153600}} 
[2026-04-17 04:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":46328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:33:58] local.INFO: GPS data processed {"connection_id":46328,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:33:58] local.INFO: Acknowledgment sent {"connection_id":46328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:34:29] local.INFO: TCP Data received {"connection_id":46328,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98890da0012d7d378005d13888000900b131..."} 
[2026-04-17 04:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98890da0012d7d378005d13888000900b131..."} 
[2026-04-17 04:34:29] local.INFO: Processing buffer {"connection_id":46328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98890da0012d7d378005d13888000900b131..."} 
[2026-04-17 04:34:29] local.INFO: Packet analysis {"connection_id":46328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9889"} 
[2026-04-17 04:34:29] local.INFO: Extracted packet for processing {"connection_id":46328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9889"} 
[2026-04-17 04:34:29] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":97597576,"longitude_deg":76.3180928,"latitude_deg":9.7597576,"altitude":9,"angle":177,"satellites":49,"speed":38,"hex_longitude":"2d7d3780","hex_latitude":"05d13888","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753434112001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273948454546309120,"note":"Value kept but may cause issues"} 
[2026-04-17 04:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022539665959202816,"note":"Value kept but may cause issues"} 
[2026-04-17 04:34:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 04:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776380612000,"timestamp_ms":1776380612000,"timestamp_seconds":1776380612,"priority":1,"record_length":96,"hex_timestamp":"0000019d98890da0"} 
[2026-04-17 04:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:34: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-04-17 04: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 04:34:29] 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-04-17 04: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-04-17 04:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04: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-04-17 04:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753434112001,"66":27376,"24":38,"85":15104,"16":273948454546309120,"45":9022539665959202816},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-04-17 04:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753434112001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:34:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273948454546309120,"km_value":273948454546309.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022539665959202816,"description":"Unknown IO ID 45"} 
[2026-04-17 04:34:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454753434112001,"power":27376,"ignition":38,"unknown_85":15104,"odometer":null,"unknown_45":9022539665959202816}} 
[2026-04-17 04:34:29] local.INFO: DEBUG: GPS processor result {"connection_id":46328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:34:29] local.INFO: GPS data processed {"connection_id":46328,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:34:29] local.INFO: Acknowledgment sent {"connection_id":46328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:34:56] local.INFO: TCP Data received {"connection_id":45769,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:34:56] local.INFO: Processing buffer {"connection_id":45769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:34:56] local.INFO: IMEI packet received {"connection_id":45769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":45769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:34:56] local.INFO: TCP Data received {"connection_id":45769,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:34:56] local.INFO: Processing buffer {"connection_id":45769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:34:56] local.INFO: IMEI packet received {"connection_id":45769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":45769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:35:02] local.INFO: TCP Data received {"connection_id":45769,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:35:02] local.INFO: Processing buffer {"connection_id":45769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:35:02] local.INFO: IMEI packet received {"connection_id":45769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:35:02] local.INFO: IMEI acknowledgment sent {"connection_id":45769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:35:03] local.INFO: TCP Data received {"connection_id":45769,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d988930c8012d7d398005d115c8000b00b131..."} 
[2026-04-17 04:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988930c8012d7d398005d115c8000b00b131..."} 
[2026-04-17 04:35:03] local.INFO: Processing buffer {"connection_id":45769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988930c8012d7d398005d115c8000b00b131..."} 
[2026-04-17 04:35:03] local.INFO: Packet analysis {"connection_id":45769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9889"} 
[2026-04-17 04:35:03] local.INFO: Extracted packet for processing {"connection_id":45769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9889"} 
[2026-04-17 04:35:03] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":97588680,"longitude_deg":76.318144,"latitude_deg":9.758868,"altitude":11,"angle":177,"satellites":49,"speed":39,"hex_longitude":"2d7d3980","hex_latitude":"05d115c8","is_valid_coordinates":true} 
[2026-04-17 04:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753436672001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273948884043038720,"note":"Value kept but may cause issues"} 
[2026-04-17 04:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821140933412864,"note":"Value kept but may cause issues"} 
[2026-04-17 04:35:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 04:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776380621000,"timestamp_ms":1776380621000,"timestamp_seconds":1776380621,"priority":1,"record_length":96,"hex_timestamp":"0000019d988930c8"} 
[2026-04-17 04:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:35: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-04-17 04:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 04:35: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-04-17 04:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:35:03] 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-04-17 04:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753436672001,"66":27300,"24":39,"85":15104,"16":273948884043038720,"45":9022821140933412864},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-04-17 04:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753436672001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:35:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273948884043038720,"km_value":273948884043038.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821140933412864,"description":"Unknown IO ID 45"} 
[2026-04-17 04:35:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454753436672001,"power":27300,"ignition":39,"unknown_85":15104,"odometer":null,"unknown_45":9022821140933412864}} 
[2026-04-17 04:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":45769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:35:03] local.INFO: GPS data processed {"connection_id":45769,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:35:03] local.INFO: Acknowledgment sent {"connection_id":45769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:35:34] local.INFO: TCP Data received {"connection_id":46329,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:35:34] local.INFO: Processing buffer {"connection_id":46329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:35:34] local.INFO: IMEI packet received {"connection_id":46329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":46329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:35:34] local.INFO: TCP Data received {"connection_id":45769,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d988953f0012d7d3c4005d0f240000b00b233..."} 
[2026-04-17 04:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988953f0012d7d3c4005d0f240000b00b233..."} 
[2026-04-17 04:35:34] local.INFO: Processing buffer {"connection_id":45769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988953f0012d7d3c4005d0f240000b00b233..."} 
[2026-04-17 04:35:34] local.INFO: Packet analysis {"connection_id":45769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9889"} 
[2026-04-17 04:35:34] local.INFO: Extracted packet for processing {"connection_id":45769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9889"} 
[2026-04-17 04:35:34] local.INFO: GPS Element Parsed {"raw_longitude":763182144,"raw_latitude":97579584,"longitude_deg":76.3182144,"latitude_deg":9.7579584,"altitude":11,"angle":178,"satellites":51,"speed":39,"hex_longitude":"2d7d3c40","hex_latitude":"05d0f240","is_valid_coordinates":true} 
[2026-04-17 04:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:35:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753438976001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:35:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273949326424670208,"note":"Value kept but may cause issues"} 
[2026-04-17 04:35:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384090884556800,"note":"Value kept but may cause issues"} 
[2026-04-17 04:35:34] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 04:35:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776380630000,"timestamp_ms":1776380630000,"timestamp_seconds":1776380630,"priority":1,"record_length":96,"hex_timestamp":"0000019d988953f0"} 
[2026-04-17 04:35:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:35: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-04-17 04:35:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 04:35:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:35:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:35:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:35:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:35:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:35:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:35:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:35: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-04-17 04:35:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:35:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:35:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753438976001,"66":27365,"24":39,"85":15104,"16":273949326424670208,"45":9023384090884556800},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-04-17 04:35:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:35:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:35:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753438976001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:35:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:35:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273949326424670208,"km_value":273949326424670.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:35:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384090884556800,"description":"Unknown IO ID 45"} 
[2026-04-17 04:35:34] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454753438976001,"power":27365,"ignition":39,"unknown_85":15104,"odometer":null,"unknown_45":9023384090884556800}} 
[2026-04-17 04:35:34] local.INFO: DEBUG: GPS processor result {"connection_id":45769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:35:34] local.INFO: GPS data processed {"connection_id":45769,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:35:34] local.INFO: Acknowledgment sent {"connection_id":45769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:35:34] local.INFO: TCP Data received {"connection_id":46329,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:35:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46329,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:35:34] local.INFO: Processing buffer {"connection_id":46329,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:35:34] local.INFO: IMEI packet received {"connection_id":46329,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:35:34] local.INFO: IMEI acknowledgment sent {"connection_id":46329,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:35:36] local.INFO: TCP Data received {"connection_id":46329,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d987e95f0012d1b580006d4d5800011013831..."} 
[2026-04-17 04:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d987e95f0012d1b580006d4d5800011013831..."} 
[2026-04-17 04:35:36] local.INFO: Processing buffer {"connection_id":46329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d987e95f0012d1b580006d4d5800011013831..."} 
[2026-04-17 04:35:36] local.INFO: Packet analysis {"connection_id":46329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d987e"} 
[2026-04-17 04:35:36] local.INFO: Extracted packet for processing {"connection_id":46329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d987e"} 
[2026-04-17 04:35:36] local.INFO: GPS Element Parsed {"raw_longitude":756766720,"raw_latitude":114611584,"longitude_deg":75.676672,"latitude_deg":11.4611584,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5800","hex_latitude":"06d4d580","is_valid_coordinates":true} 
[2026-04-17 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-04-17 04:35:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753242624001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:35:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:35:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961106560828366848,"note":"Value kept but may cause issues"} 
[2026-04-17 04:35:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:35:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776379926000,"timestamp_ms":1776379926000,"timestamp_seconds":1776379926,"priority":1,"record_length":96,"hex_timestamp":"0000019d987e95f0"} 
[2026-04-17 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-04-17 04:35:36] 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-04-17 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":103,"n8_eight_byte":51,"data_length":795,"current_offset":136} 
[2026-04-17 04:35:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1172,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 04:35:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:35:36] local.INFO: Teltonika packet parsed successfully {"connection_id":46329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:35:36] local.INFO: Passing IMEI to GPS processor {"connection_id":46329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:35:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":46329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:35:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:35:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:35:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:35:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753242624001,"66":26376,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1961106560828366848},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 04:35:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:35:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:35:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753242624001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:35:36] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 04:35:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:35:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961106560828366848,"description":"Unknown IO ID 45"} 
[2026-04-17 04:35:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753242624001,"power":26376,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1961106560828366848}} 
[2026-04-17 04:35:36] local.INFO: DEBUG: GPS processor result {"connection_id":46329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19156,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:35:36] local.INFO: GPS data processed {"connection_id":46329,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:35:36] local.INFO: Acknowledgment sent {"connection_id":46329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:35:37] local.INFO: TCP Data received {"connection_id":46329,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98832db8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98832db8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:35:37] local.INFO: Processing buffer {"connection_id":46329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98832db8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:35:37] local.INFO: Packet analysis {"connection_id":46329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9883"} 
[2026-04-17 04:35:37] local.INFO: Extracted packet for processing {"connection_id":46329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9883"} 
[2026-04-17 04:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753261056001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970324866315157504,"note":"Value kept but may cause issues"} 
[2026-04-17 04: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-04-17 04:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776380227000,"timestamp_ms":1776380227000,"timestamp_seconds":1776380227,"priority":1,"record_length":96,"hex_timestamp":"0000019d98832db8"} 
[2026-04-17 04:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 04: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":103,"n8_eight_byte":8,"data_length":795,"current_offset":136} 
[2026-04-17 04:35:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46329,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753261056001,"66":26180,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970324866315157504},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753261056001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:35:37] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970324866315157504,"description":"Unknown IO ID 45"} 
[2026-04-17 04:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753261056001,"power":26180,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970324866315157504}} 
[2026-04-17 04:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":46329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19157,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:35:37] local.INFO: GPS data processed {"connection_id":46329,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:35:37] local.INFO: Acknowledgment sent {"connection_id":46329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:35:50] local.INFO: TCP Data received {"connection_id":45570,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:35:50] local.INFO: Processing buffer {"connection_id":45570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:35:50] local.INFO: IMEI packet received {"connection_id":45570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":45570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:35:54] local.INFO: TCP Data received {"connection_id":45570,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:35:54] local.INFO: Processing buffer {"connection_id":45570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:35:54] local.INFO: IMEI packet received {"connection_id":45570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":45570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:36:07] local.INFO: TCP Data received {"connection_id":45570,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45570,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:36:07] local.INFO: Processing buffer {"connection_id":45570,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:36:07] local.INFO: IMEI packet received {"connection_id":45570,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:36:07] local.INFO: IMEI acknowledgment sent {"connection_id":45570,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:36:08] local.INFO: TCP Data received {"connection_id":45570,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98897718012d7d3dc005d0cf00000b00b034..."} 
[2026-04-17 04:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98897718012d7d3dc005d0cf00000b00b034..."} 
[2026-04-17 04:36:08] local.INFO: Processing buffer {"connection_id":45570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98897718012d7d3dc005d0cf00000b00b034..."} 
[2026-04-17 04:36:08] local.INFO: Packet analysis {"connection_id":45570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9889"} 
[2026-04-17 04:36:08] local.INFO: Extracted packet for processing {"connection_id":45570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9889"} 
[2026-04-17 04:36:08] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":97570560,"longitude_deg":76.3182528,"latitude_deg":9.757056,"altitude":11,"angle":176,"satellites":52,"speed":40,"hex_longitude":"2d7d3dc0","hex_latitude":"05d0cf00","is_valid_coordinates":true} 
[2026-04-17 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-04-17 04:36:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753441280001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:36:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273949764511334400,"note":"Value kept but may cause issues"} 
[2026-04-17 04:36:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024158147068182528,"note":"Value kept but may cause issues"} 
[2026-04-17 04:36:08] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 04:36:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776380639000,"timestamp_ms":1776380639000,"timestamp_seconds":1776380639,"priority":1,"record_length":96,"hex_timestamp":"0000019d98897718"} 
[2026-04-17 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-04-17 04:36:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:36:08] 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-04-17 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-04-17 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-04-17 04:36:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:36:08] local.INFO: Teltonika packet parsed successfully {"connection_id":45570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:36:08] local.INFO: Passing IMEI to GPS processor {"connection_id":45570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:36:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":45570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:36:08] 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-04-17 04:36:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:36:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:36:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753441280001,"66":27310,"24":40,"85":15104,"16":273949764511334400,"45":9024158147068182528},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-04-17 04:36:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:36:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:36:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753441280001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:36:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:36:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273949764511334400,"km_value":273949764511334.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:36:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024158147068182528,"description":"Unknown IO ID 45"} 
[2026-04-17 04:36:08] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454753441280001,"power":27310,"ignition":40,"unknown_85":15104,"odometer":null,"unknown_45":9024158147068182528}} 
[2026-04-17 04:36:08] local.INFO: DEBUG: GPS processor result {"connection_id":45570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:36:08] local.INFO: GPS data processed {"connection_id":45570,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:36:08] local.INFO: Acknowledgment sent {"connection_id":45570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:36:09] local.INFO: TCP Data received {"connection_id":45570,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98899a40012d7d40c005d0ab40000b00af34..."} 
[2026-04-17 04:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98899a40012d7d40c005d0ab40000b00af34..."} 
[2026-04-17 04:36:09] local.INFO: Processing buffer {"connection_id":45570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98899a40012d7d40c005d0ab40000b00af34..."} 
[2026-04-17 04:36:09] local.INFO: Packet analysis {"connection_id":45570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9889"} 
[2026-04-17 04:36:09] local.INFO: Extracted packet for processing {"connection_id":45570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9889"} 
[2026-04-17 04:36:09] local.INFO: GPS Element Parsed {"raw_longitude":763183296,"raw_latitude":97561408,"longitude_deg":76.3183296,"latitude_deg":9.7561408,"altitude":11,"angle":175,"satellites":52,"speed":39,"hex_longitude":"2d7d40c0","hex_latitude":"05d0ab40","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:36:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753443584001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:36:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273950211187933184,"note":"Value kept but may cause issues"} 
[2026-04-17 04:36:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024580359530938368,"note":"Value kept but may cause issues"} 
[2026-04-17 04:36:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,85,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 04:36:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776380648000,"timestamp_ms":1776380648000,"timestamp_seconds":1776380648,"priority":1,"record_length":96,"hex_timestamp":"0000019d98899a40"} 
[2026-04-17 04:36:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:36:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 04:36:09] 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-04-17 04: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-04-17 04:36:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:36:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:36:09] local.INFO: Teltonika packet parsed successfully {"connection_id":45570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:36:09] local.INFO: Passing IMEI to GPS processor {"connection_id":45570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:36:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":45570,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:36:09] 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-04-17 04:36:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:36:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:36:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753443584001,"66":27310,"24":39,"85":15104,"16":273950211187933184,"45":9024580359530938368},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,85,16,45]} 
[2026-04-17 04:36:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:36:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:36:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753443584001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:36:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:36:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273950211187933184,"km_value":273950211187933.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:36:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024580359530938368,"description":"Unknown IO ID 45"} 
[2026-04-17 04:36:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454753443584001,"power":27310,"ignition":39,"unknown_85":15104,"odometer":null,"unknown_45":9024580359530938368}} 
[2026-04-17 04:36:09] local.INFO: DEBUG: GPS processor result {"connection_id":45570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:36:09] local.INFO: GPS data processed {"connection_id":45570,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:36:09] local.INFO: Acknowledgment sent {"connection_id":45570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:36:20] local.INFO: TCP Data received {"connection_id":46330,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:36:20] local.INFO: Processing buffer {"connection_id":46330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:36:20] local.INFO: IMEI packet received {"connection_id":46330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":46330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:36:39] local.INFO: TCP Data received {"connection_id":46330,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:36:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:36:39] local.INFO: Processing buffer {"connection_id":46330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:36:39] local.INFO: IMEI packet received {"connection_id":46330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:36:39] local.INFO: IMEI acknowledgment sent {"connection_id":46330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:36:47] local.INFO: TCP Data received {"connection_id":46330,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9887c580012d1b598006d4d5980011013831..."} 
[2026-04-17 04:36:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9887c580012d1b598006d4d5980011013831..."} 
[2026-04-17 04:36:47] local.INFO: Processing buffer {"connection_id":46330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9887c580012d1b598006d4d5980011013831..."} 
[2026-04-17 04:36:47] local.INFO: Packet analysis {"connection_id":46330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9887"} 
[2026-04-17 04:36:47] local.INFO: Extracted packet for processing {"connection_id":46330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9887"} 
[2026-04-17 04:36:47] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:36:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753338112001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:36:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:36:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:36:47] 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-04-17 04:36:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776380528000,"timestamp_ms":1776380528000,"timestamp_seconds":1776380528,"priority":1,"record_length":96,"hex_timestamp":"0000019d9887c580"} 
[2026-04-17 04:36:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:36:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 04: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":102,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-04-17 04:36:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1320,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:36:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:36:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:36:47] local.INFO: Teltonika packet parsed successfully {"connection_id":46330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:36:47] local.INFO: Passing IMEI to GPS processor {"connection_id":46330,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:36:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":46330,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:36:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:36:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:36:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:36:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753338112001,"66":26071,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:36:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:36:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:36:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753338112001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:36:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:36:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:36:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:36:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753338112001,"power":26071,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:36:47] local.INFO: DEBUG: GPS processor result {"connection_id":46330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19160,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:36:47] local.INFO: GPS data processed {"connection_id":46330,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:36:47] local.INFO: Acknowledgment sent {"connection_id":46330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:36:52] local.INFO: TCP Data received {"connection_id":45770,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:36:52] local.INFO: Processing buffer {"connection_id":45770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:36:52] local.INFO: IMEI packet received {"connection_id":45770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":45770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:36:57] local.INFO: TCP Data received {"connection_id":45770,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:36:57] local.INFO: Processing buffer {"connection_id":45770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:36:57] local.INFO: IMEI packet received {"connection_id":45770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":45770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:36:58] local.INFO: TCP Data received {"connection_id":45770,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9889c150012d7d438005d086c8000a00ae34..."} 
[2026-04-17 04:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9889c150012d7d438005d086c8000a00ae34..."} 
[2026-04-17 04:36:58] local.INFO: Processing buffer {"connection_id":45770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9889c150012d7d438005d086c8000a00ae34..."} 
[2026-04-17 04:36:58] local.INFO: Packet analysis {"connection_id":45770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9889"} 
[2026-04-17 04:36:58] local.INFO: Extracted packet for processing {"connection_id":45770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9889"} 
[2026-04-17 04:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763184000,"raw_latitude":97552072,"longitude_deg":76.3184,"latitude_deg":9.7552072,"altitude":10,"angle":174,"satellites":52,"speed":36,"hex_longitude":"2d7d4380","hex_latitude":"05d086c8","is_valid_coordinates":true} 
[2026-04-17 04:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753445888001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273950666454466560,"note":"Value kept but may cause issues"} 
[2026-04-17 04:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025424784458727424,"note":"Value kept but may cause issues"} 
[2026-04-17 04:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776380658000,"timestamp_ms":1776380658000,"timestamp_seconds":1776380658,"priority":1,"record_length":96,"hex_timestamp":"0000019d9889c150"} 
[2026-04-17 04:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:36: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-04-17 04:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 04:36:58] 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-04-17 04:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:36:58] 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-04-17 04:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753445888001,"66":26658,"197":206,"85":15104,"24":36,"16":273950666454466560,"45":9025424784458727424},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,85,24,16,45]} 
[2026-04-17 04:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753445888001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:36:58] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 04:36:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273950666454466560,"km_value":273950666454466.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025424784458727424,"description":"Unknown IO ID 45"} 
[2026-04-17 04:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753445888001,"power":26658,"unknown_197":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9025424784458727424}} 
[2026-04-17 04:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":45770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:36:58] local.INFO: GPS data processed {"connection_id":45770,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:36:58] local.INFO: Acknowledgment sent {"connection_id":45770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:37:29] local.INFO: TCP Data received {"connection_id":45770,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d988b6b18012d7d528005cef460000600b331..."} 
[2026-04-17 04:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988b6b18012d7d528005cef460000600b331..."} 
[2026-04-17 04:37:29] local.INFO: Processing buffer {"connection_id":45770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988b6b18012d7d528005cef460000600b331..."} 
[2026-04-17 04:37:29] local.INFO: Packet analysis {"connection_id":45770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988b"} 
[2026-04-17 04:37:29] local.INFO: Extracted packet for processing {"connection_id":45770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988b"} 
[2026-04-17 04:37:29] local.INFO: GPS Element Parsed {"raw_longitude":763187840,"raw_latitude":97449056,"longitude_deg":76.318784,"latitude_deg":9.7449056,"altitude":6,"angle":179,"satellites":49,"speed":30,"hex_longitude":"2d7d5280","hex_latitude":"05cef460","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753473280001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273955670091366400,"note":"Value kept but may cause issues"} 
[2026-04-17 04:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030420965268912128,"note":"Value kept but may cause issues"} 
[2026-04-17 04:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776380767000,"timestamp_ms":1776380767000,"timestamp_seconds":1776380767,"priority":1,"record_length":96,"hex_timestamp":"0000019d988b6b18"} 
[2026-04-17 04:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:37: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-04-17 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 04:37: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-04-17 04: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-04-17 04:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04: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-04-17 04:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753473280001,"66":27245,"237":206,"85":15104,"24":30,"16":273955670091366400,"45":9030420965268912128},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-17 04:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753473280001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:37:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-17 04:37:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273955670091366400,"km_value":273955670091366.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030420965268912128,"description":"Unknown IO ID 45"} 
[2026-04-17 04:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753473280001,"power":27245,"unknown_237":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9030420965268912128}} 
[2026-04-17 04:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":45770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:37:29] local.INFO: GPS data processed {"connection_id":45770,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:37:29] local.INFO: Acknowledgment sent {"connection_id":45770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:37:44] local.INFO: TCP Data received {"connection_id":45511,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:37:44] local.INFO: Processing buffer {"connection_id":45511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:37:44] local.INFO: IMEI packet received {"connection_id":45511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:37:44] local.INFO: IMEI acknowledgment sent {"connection_id":45511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:37:45] local.INFO: TCP Data received {"connection_id":45511,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:37:45] local.INFO: Processing buffer {"connection_id":45511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:37:45] local.INFO: IMEI packet received {"connection_id":45511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:37:45] local.INFO: IMEI acknowledgment sent {"connection_id":45511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:37:46] local.INFO: TCP Data received {"connection_id":45511,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:37:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:37:46] local.INFO: Processing buffer {"connection_id":45511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:37:46] local.INFO: IMEI packet received {"connection_id":45511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:37:46] local.INFO: IMEI acknowledgment sent {"connection_id":45511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:37:47] local.INFO: TCP Data received {"connection_id":45511,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45511,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:37:47] local.INFO: Processing buffer {"connection_id":45511,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:37:47] local.INFO: IMEI packet received {"connection_id":45511,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:37:47] local.INFO: IMEI acknowledgment sent {"connection_id":45511,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:37:49] local.INFO: TCP Data received {"connection_id":45511,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:37:49] local.INFO: Processing buffer {"connection_id":45511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:37:49] local.INFO: Packet analysis {"connection_id":45511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:37:49] local.INFO: Extracted packet for processing {"connection_id":45511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:37:49] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753415168001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:37:49] 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-04-17 04:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776380829000,"timestamp_ms":1776380829000,"timestamp_seconds":1776380829,"priority":1,"record_length":96,"hex_timestamp":"0000019d988c5d48"} 
[2026-04-17 04:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:37:49] 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-04-17 04:37:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-17 04:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45511,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753415168001,"66":25647,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753415168001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:37:49] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753415168001,"power":25647,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":45511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:37:49] local.INFO: GPS data processed {"connection_id":45511,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:37:49] local.INFO: Acknowledgment sent {"connection_id":45511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:37:51] local.INFO: TCP Data received {"connection_id":45771,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:37:51] local.INFO: Processing buffer {"connection_id":45771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:37:51] local.INFO: IMEI packet received {"connection_id":45771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":45771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:37:57] local.INFO: TCP Data received {"connection_id":45771,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:37:57] local.INFO: Processing buffer {"connection_id":45771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:37:57] local.INFO: IMEI packet received {"connection_id":45771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":45771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:37:58] local.INFO: TCP Data received {"connection_id":45771,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d988b99f8012d7d534005cecef0000600b331..."} 
[2026-04-17 04:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988b99f8012d7d534005cecef0000600b331..."} 
[2026-04-17 04:37:58] local.INFO: Processing buffer {"connection_id":45771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988b99f8012d7d534005cecef0000600b331..."} 
[2026-04-17 04:37:58] local.INFO: Packet analysis {"connection_id":45771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988b"} 
[2026-04-17 04:37:58] local.INFO: Extracted packet for processing {"connection_id":45771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988b"} 
[2026-04-17 04:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763188032,"raw_latitude":97439472,"longitude_deg":76.3188032,"latitude_deg":9.7439472,"altitude":6,"angle":179,"satellites":49,"speed":29,"hex_longitude":"2d7d5340","hex_latitude":"05cecef0","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753476352001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273956138242801664,"note":"Value kept but may cause issues"} 
[2026-04-17 04:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030420965266579456,"note":"Value kept but may cause issues"} 
[2026-04-17 04:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776380779000,"timestamp_ms":1776380779000,"timestamp_seconds":1776380779,"priority":1,"record_length":96,"hex_timestamp":"0000019d988b99f8"} 
[2026-04-17 04:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:37: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-04-17 04: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-17 04:37:58] 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-04-17 04: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-04-17 04:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:37:58] 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-04-17 04:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753476352001,"66":27397,"237":206,"85":15104,"24":29,"16":273956138242801664,"45":9030420965266579456},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-17 04:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753476352001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:37:58] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-17 04:37:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273956138242801664,"km_value":273956138242801.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030420965266579456,"description":"Unknown IO ID 45"} 
[2026-04-17 04:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753476352001,"power":27397,"unknown_237":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9030420965266579456}} 
[2026-04-17 04:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":45771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:37:58] local.INFO: GPS data processed {"connection_id":45771,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:37:58] local.INFO: Acknowledgment sent {"connection_id":45771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:38:06] local.INFO: TCP Data received {"connection_id":45512,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:38:06] local.INFO: Processing buffer {"connection_id":45512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:38:06] local.INFO: IMEI packet received {"connection_id":45512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:38:06] local.INFO: IMEI acknowledgment sent {"connection_id":45512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:38:26] local.INFO: TCP Data received {"connection_id":45512,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45512,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:38:26] local.INFO: Processing buffer {"connection_id":45512,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:38:26] local.INFO: IMEI packet received {"connection_id":45512,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":45512,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:38:27] local.INFO: TCP Data received {"connection_id":45512,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:38:27] local.INFO: Processing buffer {"connection_id":45512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:38:27] local.INFO: Packet analysis {"connection_id":45512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:38:27] local.INFO: Extracted packet for processing {"connection_id":45512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753415168001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:38:27] 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-04-17 04:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776380829000,"timestamp_ms":1776380829000,"timestamp_seconds":1776380829,"priority":1,"record_length":96,"hex_timestamp":"0000019d988c5d48"} 
[2026-04-17 04:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:38:27] 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-04-17 04:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-17 04:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45512,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753415168001,"66":25647,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753415168001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:38:27] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753415168001,"power":25647,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":45512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:38:27] local.INFO: GPS data processed {"connection_id":45512,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:38:27] local.INFO: Acknowledgment sent {"connection_id":45512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:38:29] local.INFO: TCP Data received {"connection_id":45771,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d988be818012d7d53c005ceaad8000600b32d..."} 
[2026-04-17 04:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988be818012d7d53c005ceaad8000600b32d..."} 
[2026-04-17 04:38:29] local.INFO: Processing buffer {"connection_id":45771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988be818012d7d53c005ceaad8000600b32d..."} 
[2026-04-17 04:38:29] local.INFO: Packet analysis {"connection_id":45771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988b"} 
[2026-04-17 04:38:29] local.INFO: Extracted packet for processing {"connection_id":45771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988b"} 
[2026-04-17 04:38:29] local.INFO: GPS Element Parsed {"raw_longitude":763188160,"raw_latitude":97430232,"longitude_deg":76.318816,"latitude_deg":9.7430232,"altitude":6,"angle":179,"satellites":45,"speed":20,"hex_longitude":"2d7d53c0","hex_latitude":"05ceaad8","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753479424001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273956584919400448,"note":"Value kept but may cause issues"} 
[2026-04-17 04:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030632071496658944,"note":"Value kept but may cause issues"} 
[2026-04-17 04:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776380799000,"timestamp_ms":1776380799000,"timestamp_seconds":1776380799,"priority":1,"record_length":96,"hex_timestamp":"0000019d988be818"} 
[2026-04-17 04:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:38: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-04-17 04:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 04:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:38: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-04-17 04:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753479424001,"66":27484,"237":206,"85":15104,"24":20,"16":273956584919400448,"45":9030632071496658944},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-17 04:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753479424001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:38:29] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-17 04:38:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273956584919400448,"km_value":273956584919400.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030632071496658944,"description":"Unknown IO ID 45"} 
[2026-04-17 04:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753479424001,"power":27484,"unknown_237":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":9030632071496658944}} 
[2026-04-17 04:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":45771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:38:29] local.INFO: GPS data processed {"connection_id":45771,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:38:29] local.INFO: Acknowledgment sent {"connection_id":45771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:38:51] local.INFO: TCP Data received {"connection_id":46331,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:38:51] local.INFO: Processing buffer {"connection_id":46331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:38:51] local.INFO: IMEI packet received {"connection_id":46331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":46331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:38:52] local.INFO: TCP Data received {"connection_id":46331,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:38:52] local.INFO: Processing buffer {"connection_id":46331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:38:52] local.INFO: IMEI packet received {"connection_id":46331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":46331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:38:57] local.INFO: TCP Data received {"connection_id":46331,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46331,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:38:57] local.INFO: Processing buffer {"connection_id":46331,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:38:57] local.INFO: IMEI packet received {"connection_id":46331,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":46331,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:38:58] local.INFO: TCP Data received {"connection_id":46331,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d988c22b0012d7d528005ce86c8000400b630..."} 
[2026-04-17 04:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988c22b0012d7d528005ce86c8000400b630..."} 
[2026-04-17 04:38:58] local.INFO: Processing buffer {"connection_id":46331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988c22b0012d7d528005ce86c8000400b630..."} 
[2026-04-17 04:38:58] local.INFO: Packet analysis {"connection_id":46331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:38:58] local.INFO: Extracted packet for processing {"connection_id":46331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:38:58] local.INFO: GPS Element Parsed {"raw_longitude":763187840,"raw_latitude":97421000,"longitude_deg":76.318784,"latitude_deg":9.7421,"altitude":4,"angle":182,"satellites":48,"speed":26,"hex_longitude":"2d7d5280","hex_latitude":"05ce86c8","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753484544001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273957035890966528,"note":"Value kept but may cause issues"} 
[2026-04-17 04:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030772808982648832,"note":"Value kept but may cause issues"} 
[2026-04-17 04:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776380814000,"timestamp_ms":1776380814000,"timestamp_seconds":1776380814,"priority":1,"record_length":96,"hex_timestamp":"0000019d988c22b0"} 
[2026-04-17 04:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:38: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-04-17 04: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 04:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:38:58] 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-04-17 04:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753484544001,"66":27300,"237":206,"85":15104,"24":26,"16":273957035890966528,"45":9030772808982648832},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-17 04:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753484544001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:38:58] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-17 04:38:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273957035890966528,"km_value":273957035890966.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030772808982648832,"description":"Unknown IO ID 45"} 
[2026-04-17 04:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753484544001,"power":27300,"unknown_237":206,"unknown_85":15104,"ignition":26,"odometer":null,"unknown_45":9030772808982648832}} 
[2026-04-17 04:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":46331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:38:58] local.INFO: GPS data processed {"connection_id":46331,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:38:58] local.INFO: Acknowledgment sent {"connection_id":46331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:39:05] local.INFO: TCP Data received {"connection_id":45571,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:39:05] local.INFO: Processing buffer {"connection_id":45571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:39:05] local.INFO: IMEI packet received {"connection_id":45571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":45571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:39:12] local.INFO: TCP Data received {"connection_id":45571,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:39:12] local.INFO: Processing buffer {"connection_id":45571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:39:12] local.INFO: IMEI packet received {"connection_id":45571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":45571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:39:13] local.INFO: TCP Data received {"connection_id":45571,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:39:13] local.INFO: Processing buffer {"connection_id":45571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:39:13] local.INFO: Packet analysis {"connection_id":45571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:39:13] local.INFO: Extracted packet for processing {"connection_id":45571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:39:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753415168001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:39:13] 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-04-17 04:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776380829000,"timestamp_ms":1776380829000,"timestamp_seconds":1776380829,"priority":1,"record_length":96,"hex_timestamp":"0000019d988c5d48"} 
[2026-04-17 04:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:39:13] 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-04-17 04:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-17 04:39:13] 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-04-17 04:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753415168001,"66":25647,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753415168001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:39:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753415168001,"power":25647,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":45571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19168,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:39:13] local.INFO: GPS data processed {"connection_id":45571,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:39:13] local.INFO: Acknowledgment sent {"connection_id":45571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:39:29] local.INFO: TCP Data received {"connection_id":46331,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d988c5d48012d7d4f8005ce6228000400b92e..."} 
[2026-04-17 04:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988c5d48012d7d4f8005ce6228000400b92e..."} 
[2026-04-17 04:39:29] local.INFO: Processing buffer {"connection_id":46331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988c5d48012d7d4f8005ce6228000400b92e..."} 
[2026-04-17 04:39:29] local.INFO: Packet analysis {"connection_id":46331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:39:29] local.INFO: Extracted packet for processing {"connection_id":46331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:39:29] local.INFO: GPS Element Parsed {"raw_longitude":763187072,"raw_latitude":97411624,"longitude_deg":76.3187072,"latitude_deg":9.7411624,"altitude":4,"angle":185,"satellites":46,"speed":23,"hex_longitude":"2d7d4f80","hex_latitude":"05ce6228","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753488384001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273957491157499904,"note":"Value kept but may cause issues"} 
[2026-04-17 04:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030420965259397120,"note":"Value kept but may cause issues"} 
[2026-04-17 04:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776380829000,"timestamp_ms":1776380829000,"timestamp_seconds":1776380829,"priority":1,"record_length":96,"hex_timestamp":"0000019d988c5d48"} 
[2026-04-17 04:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:39: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-04-17 04: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 04:39: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-04-17 04: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-04-17 04:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46331,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:39: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-04-17 04:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753488384001,"66":27484,"235":206,"85":15104,"24":23,"16":273957491157499904,"45":9030420965259397120},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-17 04:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753488384001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:39:29] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 04:39:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273957491157499904,"km_value":273957491157499.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030420965259397120,"description":"Unknown IO ID 45"} 
[2026-04-17 04:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753488384001,"power":27484,"unknown_235":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9030420965259397120}} 
[2026-04-17 04:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":46331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:39:29] local.INFO: GPS data processed {"connection_id":46331,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:39:29] local.INFO: Acknowledgment sent {"connection_id":46331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:39:50] local.INFO: TCP Data received {"connection_id":45571,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:39:50] local.INFO: Processing buffer {"connection_id":45571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:39:50] local.INFO: Packet analysis {"connection_id":45571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:39:50] local.INFO: Extracted packet for processing {"connection_id":45571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753415168001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:39:50] 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-04-17 04:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776380829000,"timestamp_ms":1776380829000,"timestamp_seconds":1776380829,"priority":1,"record_length":96,"hex_timestamp":"0000019d988c5d48"} 
[2026-04-17 04:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:39:50] 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-04-17 04:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-17 04:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753415168001,"66":25647,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753415168001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:39:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753415168001,"power":25647,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":45571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:39:50] local.INFO: GPS data processed {"connection_id":45571,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:39:50] local.INFO: Acknowledgment sent {"connection_id":45571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:39:57] local.INFO: TCP Data received {"connection_id":45572,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:39:57] local.INFO: Processing buffer {"connection_id":45572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:39:57] local.INFO: IMEI packet received {"connection_id":45572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":45572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:40:02] local.INFO: TCP Data received {"connection_id":45572,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:40:02] local.INFO: Processing buffer {"connection_id":45572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:40:02] local.INFO: IMEI packet received {"connection_id":45572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:40:02] local.INFO: IMEI acknowledgment sent {"connection_id":45572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:40:03] local.INFO: TCP Data received {"connection_id":45572,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d988c9010012d7d4cc005ce3e80000600b82e..."} 
[2026-04-17 04:40:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988c9010012d7d4cc005ce3e80000600b82e..."} 
[2026-04-17 04:40:03] local.INFO: Processing buffer {"connection_id":45572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988c9010012d7d4cc005ce3e80000600b82e..."} 
[2026-04-17 04:40:03] local.INFO: Packet analysis {"connection_id":45572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:40:03] local.INFO: Extracted packet for processing {"connection_id":45572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:40:03] local.INFO: GPS Element Parsed {"raw_longitude":763186368,"raw_latitude":97402496,"longitude_deg":76.3186368,"latitude_deg":9.7402496,"altitude":6,"angle":184,"satellites":46,"speed":32,"hex_longitude":"2d7d4cc0","hex_latitude":"05ce3e80","is_valid_coordinates":true} 
[2026-04-17 04:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:40:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753492224001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:40:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273957937834098688,"note":"Value kept but may cause issues"} 
[2026-04-17 04:40:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9029576540326864896,"note":"Value kept but may cause issues"} 
[2026-04-17 04:40:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:40:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776380842000,"timestamp_ms":1776380842000,"timestamp_seconds":1776380842,"priority":1,"record_length":96,"hex_timestamp":"0000019d988c9010"} 
[2026-04-17 04:40:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:40: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-04-17 04:40:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 04:40: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-04-17 04:40:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:40:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:40:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:40:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:40:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:40:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:40:03] 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-04-17 04:40:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:40:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:40:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753492224001,"66":27169,"235":206,"85":15104,"24":32,"16":273957937834098688,"45":9029576540326864896},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-17 04:40:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:40:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:40:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753492224001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:40:03] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 04:40:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:40:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273957937834098688,"km_value":273957937834098.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:40:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9029576540326864896,"description":"Unknown IO ID 45"} 
[2026-04-17 04:40:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753492224001,"power":27169,"unknown_235":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9029576540326864896}} 
[2026-04-17 04:40:03] local.INFO: DEBUG: GPS processor result {"connection_id":45572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:40:03] local.INFO: GPS data processed {"connection_id":45572,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:40:03] local.INFO: Acknowledgment sent {"connection_id":45572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:40:05] local.INFO: TCP Data received {"connection_id":45572,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d988cbb08012d7d4a8005ce1b10000700b62f..."} 
[2026-04-17 04:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988cbb08012d7d4a8005ce1b10000700b62f..."} 
[2026-04-17 04:40:05] local.INFO: Processing buffer {"connection_id":45572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988cbb08012d7d4a8005ce1b10000700b62f..."} 
[2026-04-17 04:40:05] local.INFO: Packet analysis {"connection_id":45572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:40:05] local.INFO: Extracted packet for processing {"connection_id":45572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:40:05] local.INFO: GPS Element Parsed {"raw_longitude":763185792,"raw_latitude":97393424,"longitude_deg":76.3185792,"latitude_deg":9.7393424,"altitude":7,"angle":182,"satellites":47,"speed":29,"hex_longitude":"2d7d4a80","hex_latitude":"05ce1b10","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:40:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753495552001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:40:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273958375920762880,"note":"Value kept but may cause issues"} 
[2026-04-17 04:40:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028802484138573824,"note":"Value kept but may cause issues"} 
[2026-04-17 04:40:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:40:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776380853000,"timestamp_ms":1776380853000,"timestamp_seconds":1776380853,"priority":1,"record_length":96,"hex_timestamp":"0000019d988cbb08"} 
[2026-04-17 04:40:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:40: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-04-17 04: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-04-17 04:40: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-04-17 04: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-04-17 04:40:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:40:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:40:05] local.INFO: Teltonika packet parsed successfully {"connection_id":45572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:40:05] local.INFO: Passing IMEI to GPS processor {"connection_id":45572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:40:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":45572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:40: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-04-17 04:40:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:40:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:40:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753495552001,"66":27332,"235":206,"85":15104,"24":29,"16":273958375920762880,"45":9028802484138573824},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-17 04:40:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:40:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:40:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753495552001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:40:05] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 04:40:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:40:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273958375920762880,"km_value":273958375920762.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:40:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028802484138573824,"description":"Unknown IO ID 45"} 
[2026-04-17 04:40:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753495552001,"power":27332,"unknown_235":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9028802484138573824}} 
[2026-04-17 04:40:05] local.INFO: DEBUG: GPS processor result {"connection_id":45572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:40:05] local.INFO: GPS data processed {"connection_id":45572,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:40:05] local.INFO: Acknowledgment sent {"connection_id":45572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:40:10] local.INFO: TCP Data received {"connection_id":45573,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:40:10] local.INFO: Processing buffer {"connection_id":45573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:40:10] local.INFO: IMEI packet received {"connection_id":45573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":45573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:40:17] local.INFO: TCP Data received {"connection_id":45573,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:40:17] local.INFO: Processing buffer {"connection_id":45573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:40:17] local.INFO: IMEI packet received {"connection_id":45573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":45573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:40:18] local.INFO: TCP Data received {"connection_id":45573,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:40:18] local.INFO: Processing buffer {"connection_id":45573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:40:18] local.INFO: Packet analysis {"connection_id":45573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:40:18] local.INFO: Extracted packet for processing {"connection_id":45573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753415168001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:40:18] 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-04-17 04:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776380829000,"timestamp_ms":1776380829000,"timestamp_seconds":1776380829,"priority":1,"record_length":96,"hex_timestamp":"0000019d988c5d48"} 
[2026-04-17 04:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:40:18] 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-04-17 04:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-17 04:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753415168001,"66":25647,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753415168001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:40:18] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753415168001,"power":25647,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":45573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19173,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:40:18] local.INFO: GPS data processed {"connection_id":45573,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:40:18] local.INFO: Acknowledgment sent {"connection_id":45573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:40:36] local.INFO: TCP Data received {"connection_id":45572,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d988cf5a0012d7d47c005cdf758000600b62f..."} 
[2026-04-17 04:40:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988cf5a0012d7d47c005cdf758000600b62f..."} 
[2026-04-17 04:40:36] local.INFO: Processing buffer {"connection_id":45572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988cf5a0012d7d47c005cdf758000600b62f..."} 
[2026-04-17 04:40:36] local.INFO: Packet analysis {"connection_id":45572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:40:36] local.INFO: Extracted packet for processing {"connection_id":45572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:40:36] local.INFO: GPS Element Parsed {"raw_longitude":763185088,"raw_latitude":97384280,"longitude_deg":76.3185088,"latitude_deg":9.738428,"altitude":6,"angle":182,"satellites":47,"speed":28,"hex_longitude":"2d7d47c0","hex_latitude":"05cdf758","is_valid_coordinates":true} 
[2026-04-17 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-04-17 04:40:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753498368001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:40:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273958822597361664,"note":"Value kept but may cause issues"} 
[2026-04-17 04:40:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169165438652416,"note":"Value kept but may cause issues"} 
[2026-04-17 04:40:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:40:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776380868000,"timestamp_ms":1776380868000,"timestamp_seconds":1776380868,"priority":1,"record_length":96,"hex_timestamp":"0000019d988cf5a0"} 
[2026-04-17 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-04-17 04:40: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-04-17 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 04:40:36] 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-04-17 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-04-17 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-04-17 04:40:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:40:36] local.INFO: Teltonika packet parsed successfully {"connection_id":45572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:40:36] local.INFO: Passing IMEI to GPS processor {"connection_id":45572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:40:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":45572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:40:36] 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-04-17 04:40:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:40:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:40:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753498368001,"66":27343,"235":206,"85":15104,"24":28,"16":273958822597361664,"45":9028169165438652416},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-17 04:40:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:40:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:40:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753498368001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:40:36] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 04:40:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:40:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273958822597361664,"km_value":273958822597361.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:40:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169165438652416,"description":"Unknown IO ID 45"} 
[2026-04-17 04:40:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753498368001,"power":27343,"unknown_235":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":9028169165438652416}} 
[2026-04-17 04:40:36] local.INFO: DEBUG: GPS processor result {"connection_id":45572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:40:36] local.INFO: GPS data processed {"connection_id":45572,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:40:36] local.INFO: Acknowledgment sent {"connection_id":45572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:40:50] local.INFO: TCP Data received {"connection_id":45573,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:40:50] local.INFO: Processing buffer {"connection_id":45573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:40:50] local.INFO: Packet analysis {"connection_id":45573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:40:50] local.INFO: Extracted packet for processing {"connection_id":45573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:40:50] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753415168001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:40:50] 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-04-17 04:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776380829000,"timestamp_ms":1776380829000,"timestamp_seconds":1776380829,"priority":1,"record_length":96,"hex_timestamp":"0000019d988c5d48"} 
[2026-04-17 04:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:40:50] 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-04-17 04:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-17 04:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2638,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753415168001,"66":25647,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753415168001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:40:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753415168001,"power":25647,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":45573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19175,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:40:50] local.INFO: GPS data processed {"connection_id":45573,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:40:50] local.INFO: Acknowledgment sent {"connection_id":45573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:40:52] local.INFO: TCP Data received {"connection_id":45513,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:40:52] local.INFO: Processing buffer {"connection_id":45513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:40:52] local.INFO: IMEI packet received {"connection_id":45513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":45513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:40:57] local.INFO: TCP Data received {"connection_id":45513,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:40:57] local.INFO: Processing buffer {"connection_id":45513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:40:57] local.INFO: IMEI packet received {"connection_id":45513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":45513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:40:58] local.INFO: TCP Data received {"connection_id":45513,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d988d2480012d7d470005cdd4a0000500b42f..."} 
[2026-04-17 04:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988d2480012d7d470005cdd4a0000500b42f..."} 
[2026-04-17 04:40:58] local.INFO: Processing buffer {"connection_id":45513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988d2480012d7d470005cdd4a0000500b42f..."} 
[2026-04-17 04:40:58] local.INFO: Packet analysis {"connection_id":45513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988d"} 
[2026-04-17 04:40:58] local.INFO: Extracted packet for processing {"connection_id":45513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988d"} 
[2026-04-17 04:40:58] local.INFO: GPS Element Parsed {"raw_longitude":763184896,"raw_latitude":97375392,"longitude_deg":76.3184896,"latitude_deg":9.7375392,"altitude":5,"angle":180,"satellites":47,"speed":30,"hex_longitude":"2d7d4700","hex_latitude":"05cdd4a0","is_valid_coordinates":true} 
[2026-04-17 04:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753502208001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273959252094091264,"note":"Value kept but may cause issues"} 
[2026-04-17 04:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027395109250357248,"note":"Value kept but may cause issues"} 
[2026-04-17 04:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776380880000,"timestamp_ms":1776380880000,"timestamp_seconds":1776380880,"priority":1,"record_length":96,"hex_timestamp":"0000019d988d2480"} 
[2026-04-17 04:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:40: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-04-17 04:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 04:40:58] 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-04-17 04:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:40:58] 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-04-17 04:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753502208001,"66":27115,"235":206,"85":15104,"24":30,"16":273959252094091264,"45":9027395109250357248},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-17 04:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753502208001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:40:58] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 04:40:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273959252094091264,"km_value":273959252094091.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027395109250357248,"description":"Unknown IO ID 45"} 
[2026-04-17 04:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753502208001,"power":27115,"unknown_235":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9027395109250357248}} 
[2026-04-17 04:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":45513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:40:58] local.INFO: GPS data processed {"connection_id":45513,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:40:58] local.INFO: Acknowledgment sent {"connection_id":45513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:41:15] local.INFO: TCP Data received {"connection_id":45772,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:41:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:41:15] local.INFO: Processing buffer {"connection_id":45772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:41:15] local.INFO: IMEI packet received {"connection_id":45772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:41:15] local.INFO: IMEI acknowledgment sent {"connection_id":45772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:41:16] local.INFO: TCP Data received {"connection_id":45772,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:41:16] local.INFO: Processing buffer {"connection_id":45772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:41:16] local.INFO: IMEI packet received {"connection_id":45772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":45772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:41:17] local.INFO: TCP Data received {"connection_id":45772,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:41:17] local.INFO: Processing buffer {"connection_id":45772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:41:17] local.INFO: Packet analysis {"connection_id":45772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:41:17] local.INFO: Extracted packet for processing {"connection_id":45772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:41:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753415168001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:41:17] 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-04-17 04:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776380829000,"timestamp_ms":1776380829000,"timestamp_seconds":1776380829,"priority":1,"record_length":96,"hex_timestamp":"0000019d988c5d48"} 
[2026-04-17 04:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:41:17] 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-04-17 04:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-17 04:41:17] 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-04-17 04:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753415168001,"66":25647,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753415168001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:41:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753415168001,"power":25647,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:41:17] local.INFO: DEBUG: GPS processor result {"connection_id":45772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19177,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:41:17] local.INFO: GPS data processed {"connection_id":45772,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:41:17] local.INFO: Acknowledgment sent {"connection_id":45772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:41:21] local.INFO: TCP Data received {"connection_id":45772,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:41:21] local.INFO: Processing buffer {"connection_id":45772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:41:21] local.INFO: Packet analysis {"connection_id":45772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:41:21] local.INFO: Extracted packet for processing {"connection_id":45772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:41:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:41:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753415168001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:41:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:41:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:41:21] 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-04-17 04:41:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776380829000,"timestamp_ms":1776380829000,"timestamp_seconds":1776380829,"priority":1,"record_length":96,"hex_timestamp":"0000019d988c5d48"} 
[2026-04-17 04:41:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:41:21] 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-04-17 04:41:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-17 04:41:21] 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-04-17 04: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-04-17 04:41:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:41:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:41:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:41:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:41:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:41:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:41:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:41:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:41:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753415168001,"66":25647,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:41:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:41:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:41:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753415168001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:41:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:41:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:41:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:41:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753415168001,"power":25647,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:41:21] local.INFO: DEBUG: GPS processor result {"connection_id":45772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19178,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:41:21] local.INFO: GPS data processed {"connection_id":45772,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:41:21] local.INFO: Acknowledgment sent {"connection_id":45772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:41:28] local.INFO: TCP Data received {"connection_id":45513,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d988d5b30012d7d47c005cdb208000500b232..."} 
[2026-04-17 04:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988d5b30012d7d47c005cdb208000500b232..."} 
[2026-04-17 04:41:28] local.INFO: Processing buffer {"connection_id":45513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988d5b30012d7d47c005cdb208000500b232..."} 
[2026-04-17 04:41:28] local.INFO: Packet analysis {"connection_id":45513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988d"} 
[2026-04-17 04:41:28] local.INFO: Extracted packet for processing {"connection_id":45513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988d"} 
[2026-04-17 04:41:28] local.INFO: GPS Element Parsed {"raw_longitude":763185088,"raw_latitude":97366536,"longitude_deg":76.3185088,"latitude_deg":9.7366536,"altitude":5,"angle":178,"satellites":50,"speed":21,"hex_longitude":"2d7d47c0","hex_latitude":"05cdb208","is_valid_coordinates":true} 
[2026-04-17 04:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753505280001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273959685885788160,"note":"Value kept but may cause issues"} 
[2026-04-17 04:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027184003015548928,"note":"Value kept but may cause issues"} 
[2026-04-17 04:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776380894000,"timestamp_ms":1776380894000,"timestamp_seconds":1776380894,"priority":1,"record_length":96,"hex_timestamp":"0000019d988d5b30"} 
[2026-04-17 04:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:41: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-04-17 04:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":235,"data_length":795,"current_offset":136} 
[2026-04-17 04:41:28] 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-04-17 04:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:41:28] 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-04-17 04:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753505280001,"66":27332,"235":206,"85":15104,"24":21,"16":273959685885788160,"45":9027184003015548928},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-17 04:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753505280001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:41:28] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 04:41:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273959685885788160,"km_value":273959685885788.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027184003015548928,"description":"Unknown IO ID 45"} 
[2026-04-17 04:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753505280001,"power":27332,"unknown_235":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9027184003015548928}} 
[2026-04-17 04:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":45513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:41:28] local.INFO: GPS data processed {"connection_id":45513,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:41:28] local.INFO: Acknowledgment sent {"connection_id":45513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:41:52] local.INFO: TCP Data received {"connection_id":45514,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:41:52] local.INFO: Processing buffer {"connection_id":45514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:41:52] local.INFO: IMEI packet received {"connection_id":45514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":45514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:41:53] local.INFO: TCP Data received {"connection_id":45514,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:41:53] local.INFO: Processing buffer {"connection_id":45514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:41:53] local.INFO: IMEI packet received {"connection_id":45514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":45514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:41:57] local.INFO: TCP Data received {"connection_id":45514,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:41:57] local.INFO: Processing buffer {"connection_id":45514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:41:57] local.INFO: IMEI packet received {"connection_id":45514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":45514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:41:58] local.INFO: TCP Data received {"connection_id":45514,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d988fbc90012d7d518005cc2768000600ba34..."} 
[2026-04-17 04:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988fbc90012d7d518005cc2768000600ba34..."} 
[2026-04-17 04:41:58] local.INFO: Processing buffer {"connection_id":45514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988fbc90012d7d518005cc2768000600ba34..."} 
[2026-04-17 04:41:58] local.INFO: Packet analysis {"connection_id":45514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988f"} 
[2026-04-17 04:41:58] local.INFO: Extracted packet for processing {"connection_id":45514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988f"} 
[2026-04-17 04:41:58] local.INFO: GPS Element Parsed {"raw_longitude":763187584,"raw_latitude":97265512,"longitude_deg":76.3187584,"latitude_deg":9.7265512,"altitude":6,"angle":186,"satellites":52,"speed":27,"hex_longitude":"2d7d5180","hex_latitude":"05cc2768","is_valid_coordinates":true} 
[2026-04-17 04:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753545216001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273964603623342080,"note":"Value kept but may cause issues"} 
[2026-04-17 04:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030702440198731776,"note":"Value kept but may cause issues"} 
[2026-04-17 04:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776381050000,"timestamp_ms":1776381050000,"timestamp_seconds":1776381050,"priority":1,"record_length":96,"hex_timestamp":"0000019d988fbc90"} 
[2026-04-17 04:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:41: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-04-17 04:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 04:41: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-04-17 04:41:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:41:58] 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-04-17 04:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753545216001,"66":27213,"129":206,"85":15104,"24":27,"16":273964603623342080,"45":9030702440198731776},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-17 04:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753545216001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:41:58] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 04:41:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273964603623342080,"km_value":273964603623342.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030702440198731776,"description":"Unknown IO ID 45"} 
[2026-04-17 04:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753545216001,"power":27213,"unknown_129":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9030702440198731776}} 
[2026-04-17 04:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":45514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19180,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:41:58] local.INFO: GPS data processed {"connection_id":45514,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:41:58] local.INFO: Acknowledgment sent {"connection_id":45514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:42:10] local.INFO: TCP Data received {"connection_id":46332,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:42:10] local.INFO: Processing buffer {"connection_id":46332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:42:10] local.INFO: IMEI packet received {"connection_id":46332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":46332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:42:11] local.INFO: TCP Data received {"connection_id":46332,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:42:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46332,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:42:11] local.INFO: Processing buffer {"connection_id":46332,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:42:11] local.INFO: IMEI packet received {"connection_id":46332,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:42:11] local.INFO: IMEI acknowledgment sent {"connection_id":46332,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:42:12] local.INFO: TCP Data received {"connection_id":46332,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:42:12] local.INFO: Processing buffer {"connection_id":46332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:42:12] local.INFO: Packet analysis {"connection_id":46332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:42:12] local.INFO: Extracted packet for processing {"connection_id":46332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:42:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753415168001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:42:12] 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-04-17 04:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776380829000,"timestamp_ms":1776380829000,"timestamp_seconds":1776380829,"priority":1,"record_length":96,"hex_timestamp":"0000019d988c5d48"} 
[2026-04-17 04:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:42: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-04-17 04:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-17 04:42:12] 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-04-17 04:42:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753415168001,"66":25647,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753415168001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:42:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753415168001,"power":25647,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":46332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19181,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:42:12] local.INFO: GPS data processed {"connection_id":46332,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:42:12] local.INFO: Acknowledgment sent {"connection_id":46332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:42:17] local.INFO: TCP Data received {"connection_id":46332,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:42:17] local.INFO: Processing buffer {"connection_id":46332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:42:17] local.INFO: Packet analysis {"connection_id":46332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:42:17] local.INFO: Extracted packet for processing {"connection_id":46332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:42:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753415168001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:42:17] 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-04-17 04:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776380829000,"timestamp_ms":1776380829000,"timestamp_seconds":1776380829,"priority":1,"record_length":96,"hex_timestamp":"0000019d988c5d48"} 
[2026-04-17 04:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:42:17] 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-04-17 04:42:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-17 04:42:17] 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-04-17 04: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-04-17 04:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753415168001,"66":25647,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753415168001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:42:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753415168001,"power":25647,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":46332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19182,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:42:17] local.INFO: GPS data processed {"connection_id":46332,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:42:17] local.INFO: Acknowledgment sent {"connection_id":46332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:42:29] local.INFO: TCP Data received {"connection_id":45514,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d988feb70012d7d4b8005cc03e8000500bc32..."} 
[2026-04-17 04:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988feb70012d7d4b8005cc03e8000500bc32..."} 
[2026-04-17 04:42:29] local.INFO: Processing buffer {"connection_id":45514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988feb70012d7d4b8005cc03e8000500bc32..."} 
[2026-04-17 04:42:29] local.INFO: Packet analysis {"connection_id":45514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988f"} 
[2026-04-17 04:42:29] local.INFO: Extracted packet for processing {"connection_id":45514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988f"} 
[2026-04-17 04:42:29] local.INFO: GPS Element Parsed {"raw_longitude":763186048,"raw_latitude":97256424,"longitude_deg":76.3186048,"latitude_deg":9.7256424,"altitude":5,"angle":188,"satellites":50,"speed":30,"hex_longitude":"2d7d4b80","hex_latitude":"05cc03e8","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753548800001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273965050299940864,"note":"Value kept but may cause issues"} 
[2026-04-17 04:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9030139490242881536,"note":"Value kept but may cause issues"} 
[2026-04-17 04:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776381062000,"timestamp_ms":1776381062000,"timestamp_seconds":1776381062,"priority":1,"record_length":96,"hex_timestamp":"0000019d988feb70"} 
[2026-04-17 04:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:42: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-04-17 04: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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-17 04:42: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-04-17 04: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-04-17 04:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:42: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-04-17 04:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753548800001,"66":27300,"129":206,"85":15104,"24":30,"16":273965050299940864,"45":9030139490242881536},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-17 04:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753548800001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:42:29] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 04:42:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273965050299940864,"km_value":273965050299940.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9030139490242881536,"description":"Unknown IO ID 45"} 
[2026-04-17 04:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753548800001,"power":27300,"unknown_129":206,"unknown_85":15104,"ignition":30,"odometer":null,"unknown_45":9030139490242881536}} 
[2026-04-17 04:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":45514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:42:29] local.INFO: GPS data processed {"connection_id":45514,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:42:29] local.INFO: Acknowledgment sent {"connection_id":45514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:42:52] local.INFO: TCP Data received {"connection_id":45773,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:42:52] local.INFO: Processing buffer {"connection_id":45773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:42:52] local.INFO: IMEI packet received {"connection_id":45773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":45773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:42:54] local.INFO: TCP Data received {"connection_id":45773,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:42:54] local.INFO: Processing buffer {"connection_id":45773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:42:54] local.INFO: IMEI packet received {"connection_id":45773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":45773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:42:57] local.INFO: TCP Data received {"connection_id":45773,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:42:57] local.INFO: Processing buffer {"connection_id":45773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:42:57] local.INFO: IMEI packet received {"connection_id":45773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":45773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:42:58] local.INFO: TCP Data received {"connection_id":45773,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98901e38012d7d458005cbe190000500be31..."} 
[2026-04-17 04:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98901e38012d7d458005cbe190000500be31..."} 
[2026-04-17 04:42:58] local.INFO: Processing buffer {"connection_id":45773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98901e38012d7d458005cbe190000500be31..."} 
[2026-04-17 04:42:58] local.INFO: Packet analysis {"connection_id":45773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:42:58] local.INFO: Extracted packet for processing {"connection_id":45773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:42:58] local.INFO: GPS Element Parsed {"raw_longitude":763184512,"raw_latitude":97247632,"longitude_deg":76.3184512,"latitude_deg":9.7247632,"altitude":5,"angle":190,"satellites":49,"speed":22,"hex_longitude":"2d7d4580","hex_latitude":"05cbe190","is_valid_coordinates":true} 
[2026-04-17 04:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753551872001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273965484091637760,"note":"Value kept but may cause issues"} 
[2026-04-17 04:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028450640380291072,"note":"Value kept but may cause issues"} 
[2026-04-17 04:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776381075000,"timestamp_ms":1776381075000,"timestamp_seconds":1776381075,"priority":1,"record_length":96,"hex_timestamp":"0000019d98901e38"} 
[2026-04-17 04:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:42: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-04-17 04:42:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 04:42:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:42:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:42:58] 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-04-17 04:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753551872001,"66":27234,"129":206,"85":15104,"24":22,"16":273965484091637760,"45":9028450640380291072},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-17 04:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753551872001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:42:58] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 04:42:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273965484091637760,"km_value":273965484091637.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028450640380291072,"description":"Unknown IO ID 45"} 
[2026-04-17 04:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753551872001,"power":27234,"unknown_129":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9028450640380291072}} 
[2026-04-17 04:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":45773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:42:58] local.INFO: GPS data processed {"connection_id":45773,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:42:58] local.INFO: Acknowledgment sent {"connection_id":45773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:43:02] local.INFO: TCP Data received {"connection_id":45773,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98905cb8012d7d400005cbbde8000500ba32..."} 
[2026-04-17 04:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98905cb8012d7d400005cbbde8000500ba32..."} 
[2026-04-17 04:43:02] local.INFO: Processing buffer {"connection_id":45773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98905cb8012d7d400005cbbde8000500ba32..."} 
[2026-04-17 04:43:02] local.INFO: Packet analysis {"connection_id":45773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:43:02] local.INFO: Extracted packet for processing {"connection_id":45773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763183104,"raw_latitude":97238504,"longitude_deg":76.3183104,"latitude_deg":9.7238504,"altitude":5,"angle":186,"satellites":50,"speed":19,"hex_longitude":"2d7d4000","hex_latitude":"05cbbde8","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753555200001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273965930768236544,"note":"Value kept but may cause issues"} 
[2026-04-17 04:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026761790517776384,"note":"Value kept but may cause issues"} 
[2026-04-17 04:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776381091000,"timestamp_ms":1776381091000,"timestamp_seconds":1776381091,"priority":1,"record_length":96,"hex_timestamp":"0000019d98905cb8"} 
[2026-04-17 04:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 04:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:43:02] 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-04-17 04:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753555200001,"66":27267,"129":206,"85":15104,"24":19,"16":273965930768236544,"45":9026761790517776384},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,85,24,16,45]} 
[2026-04-17 04:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753555200001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:43:02] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 04:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273965930768236544,"km_value":273965930768236.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026761790517776384,"description":"Unknown IO ID 45"} 
[2026-04-17 04:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753555200001,"power":27267,"unknown_129":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":9026761790517776384}} 
[2026-04-17 04:43:02] local.INFO: DEBUG: GPS processor result {"connection_id":45773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:43:02] local.INFO: GPS data processed {"connection_id":45773,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:43:02] local.INFO: Acknowledgment sent {"connection_id":45773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:43:09] local.INFO: TCP Data received {"connection_id":46332,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:43:09] local.INFO: Processing buffer {"connection_id":46332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d988c5d48012d1b598006d4d5980011013831..."} 
[2026-04-17 04:43:09] local.INFO: Packet analysis {"connection_id":46332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:43:09] local.INFO: Extracted packet for processing {"connection_id":46332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d988c"} 
[2026-04-17 04:43:09] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:43:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753415168001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:43:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:43:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:43: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-04-17 04:43:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776380829000,"timestamp_ms":1776380829000,"timestamp_seconds":1776380829,"priority":1,"record_length":96,"hex_timestamp":"0000019d988c5d48"} 
[2026-04-17 04:43:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:43:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 04:43:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-17 04:43:09] 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-04-17 04:43:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:43:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:43:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:43:09] local.INFO: Teltonika packet parsed successfully {"connection_id":46332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:43:09] local.INFO: Passing IMEI to GPS processor {"connection_id":46332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:43:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":46332,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:43:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:43:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:43:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:43:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753415168001,"66":25647,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:43:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:43:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:43:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753415168001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:43:09] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:43:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:43:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:43:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753415168001,"power":25647,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:43:09] local.INFO: DEBUG: GPS processor result {"connection_id":46332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19186,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:43:09] local.INFO: GPS data processed {"connection_id":46332,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:43:09] local.INFO: Acknowledgment sent {"connection_id":46332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:43:15] local.INFO: TCP Data received {"connection_id":45574,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:43:15] local.INFO: Processing buffer {"connection_id":45574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:43:15] local.INFO: IMEI packet received {"connection_id":45574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":45574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:43:22] local.INFO: TCP Data received {"connection_id":45574,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:43:22] local.INFO: Processing buffer {"connection_id":45574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:43:22] local.INFO: IMEI packet received {"connection_id":45574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":45574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:43:23] local.INFO: TCP Data received {"connection_id":45574,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:43:23] local.INFO: Processing buffer {"connection_id":45574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:43:23] local.INFO: Packet analysis {"connection_id":45574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:43:23] local.INFO: Extracted packet for processing {"connection_id":45574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:43:23] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:43:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753492224001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:43:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:43:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:43:23] 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-04-17 04:43:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776381130000,"timestamp_ms":1776381130000,"timestamp_seconds":1776381130,"priority":1,"record_length":96,"hex_timestamp":"0000019d9890f510"} 
[2026-04-17 04:43:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:43:23] 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-04-17 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 04:43:23] 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-04-17 04: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-04-17 04:43:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:43:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:43:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:43:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:43:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:43:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:43:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:43:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:43:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753492224001,"66":25908,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:43:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:43:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:43:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753492224001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:43:23] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:43:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:43:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:43:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753492224001,"power":25908,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:43:23] local.INFO: DEBUG: GPS processor result {"connection_id":45574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19187,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:43:23] local.INFO: GPS data processed {"connection_id":45574,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:43:23] local.INFO: Acknowledgment sent {"connection_id":45574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:43:33] local.INFO: TCP Data received {"connection_id":45773,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98909750012d7d3c0005cb9b00000500b831..."} 
[2026-04-17 04:43:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98909750012d7d3c0005cb9b00000500b831..."} 
[2026-04-17 04:43:33] local.INFO: Processing buffer {"connection_id":45773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98909750012d7d3c0005cb9b00000500b831..."} 
[2026-04-17 04:43:33] local.INFO: Packet analysis {"connection_id":45773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:43:33] local.INFO: Extracted packet for processing {"connection_id":45773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:43:33] local.INFO: GPS Element Parsed {"raw_longitude":763182080,"raw_latitude":97229568,"longitude_deg":76.318208,"latitude_deg":9.7229568,"altitude":5,"angle":184,"satellites":49,"speed":27,"hex_longitude":"2d7d3c00","hex_latitude":"05cb9b00","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:43:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753559296001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:43:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273966368854900736,"note":"Value kept but may cause issues"} 
[2026-04-17 04:43:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025213678143531008,"note":"Value kept but may cause issues"} 
[2026-04-17 04:43:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:43:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776381106000,"timestamp_ms":1776381106000,"timestamp_seconds":1776381106,"priority":1,"record_length":96,"hex_timestamp":"0000019d98909750"} 
[2026-04-17 04:43:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:43:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:43:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 04:43:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:43:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:43:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:43:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:43:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:43:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:43:33] 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-04-17 04:43:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:43:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:43:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753559296001,"66":27365,"131":206,"85":15104,"24":27,"16":273966368854900736,"45":9025213678143531008},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-17 04:43:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:43:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:43:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753559296001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:43:33] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 04:43:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:43:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273966368854900736,"km_value":273966368854900.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:43:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025213678143531008,"description":"Unknown IO ID 45"} 
[2026-04-17 04:43:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753559296001,"power":27365,"unknown_131":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9025213678143531008}} 
[2026-04-17 04:43:33] local.INFO: DEBUG: GPS processor result {"connection_id":45773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:43:33] local.INFO: GPS data processed {"connection_id":45773,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:43:33] local.INFO: Acknowledgment sent {"connection_id":45773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:43:51] local.INFO: TCP Data received {"connection_id":45515,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:43:51] local.INFO: Processing buffer {"connection_id":45515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:43:51] local.INFO: IMEI packet received {"connection_id":45515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":45515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:43:57] local.INFO: TCP Data received {"connection_id":45515,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:43:57] local.INFO: Processing buffer {"connection_id":45515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:43:57] local.INFO: IMEI packet received {"connection_id":45515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:43:57] local.INFO: IMEI acknowledgment sent {"connection_id":45515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:43:58] local.INFO: TCP Data received {"connection_id":45515,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9890ce00012d7d398005cb7818000400b731..."} 
[2026-04-17 04:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9890ce00012d7d398005cb7818000400b731..."} 
[2026-04-17 04:43:58] local.INFO: Processing buffer {"connection_id":45515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9890ce00012d7d398005cb7818000400b731..."} 
[2026-04-17 04:43:58] local.INFO: Packet analysis {"connection_id":45515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:43:58] local.INFO: Extracted packet for processing {"connection_id":45515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763181440,"raw_latitude":97220632,"longitude_deg":76.318144,"latitude_deg":9.7220632,"altitude":4,"angle":183,"satellites":49,"speed":22,"hex_longitude":"2d7d3980","hex_latitude":"05cb7818","is_valid_coordinates":true} 
[2026-04-17 04:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753563136001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273966802646597632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024087778234400768,"note":"Value kept but may cause issues"} 
[2026-04-17 04:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776381120000,"timestamp_ms":1776381120000,"timestamp_seconds":1776381120,"priority":1,"record_length":96,"hex_timestamp":"0000019d9890ce00"} 
[2026-04-17 04:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:43: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-04-17 04:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:43:58] 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-04-17 04:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753563136001,"66":27376,"131":206,"85":15104,"24":22,"16":273966802646597632,"45":9024087778234400768},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-17 04:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753563136001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:43:58] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 04:43:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273966802646597632,"km_value":273966802646597.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024087778234400768,"description":"Unknown IO ID 45"} 
[2026-04-17 04:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753563136001,"power":27376,"unknown_131":206,"unknown_85":15104,"ignition":22,"odometer":null,"unknown_45":9024087778234400768}} 
[2026-04-17 04:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":45515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:43:58] local.INFO: GPS data processed {"connection_id":45515,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:43:58] local.INFO: Acknowledgment sent {"connection_id":45515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:44:05] local.INFO: TCP Data received {"connection_id":45774,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:44:05] local.INFO: Processing buffer {"connection_id":45774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:44:05] local.INFO: IMEI packet received {"connection_id":45774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":45774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:44:11] local.INFO: TCP Data received {"connection_id":45774,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:44:11] local.INFO: Processing buffer {"connection_id":45774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:44:11] local.INFO: IMEI packet received {"connection_id":45774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":45774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:44:12] local.INFO: TCP Data received {"connection_id":45774,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:44:12] local.INFO: Processing buffer {"connection_id":45774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:44:12] local.INFO: Packet analysis {"connection_id":45774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:44:12] local.INFO: Extracted packet for processing {"connection_id":45774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:44:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753492224001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:44:12] 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-04-17 04:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776381130000,"timestamp_ms":1776381130000,"timestamp_seconds":1776381130,"priority":1,"record_length":96,"hex_timestamp":"0000019d9890f510"} 
[2026-04-17 04:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:44: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-04-17 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 04:44:12] 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-04-17 04: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-04-17 04:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753492224001,"66":25908,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753492224001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:44:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753492224001,"power":25908,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":45774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19190,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:44:12] local.INFO: GPS data processed {"connection_id":45774,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:44:12] local.INFO: Acknowledgment sent {"connection_id":45774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:44:29] local.INFO: TCP Data received {"connection_id":45515,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98910c80012d7d370005cb5440000400b733..."} 
[2026-04-17 04:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98910c80012d7d370005cb5440000400b733..."} 
[2026-04-17 04:44:29] local.INFO: Processing buffer {"connection_id":45515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98910c80012d7d370005cb5440000400b733..."} 
[2026-04-17 04:44:29] local.INFO: Packet analysis {"connection_id":45515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9891"} 
[2026-04-17 04:44:29] local.INFO: Extracted packet for processing {"connection_id":45515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9891"} 
[2026-04-17 04:44:29] local.INFO: GPS Element Parsed {"raw_longitude":763180800,"raw_latitude":97211456,"longitude_deg":76.31808,"latitude_deg":9.7211456,"altitude":4,"angle":183,"satellites":51,"speed":23,"hex_longitude":"2d7d3700","hex_latitude":"05cb5440","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753566720001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273967249323196416,"note":"Value kept but may cause issues"} 
[2026-04-17 04:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023384090790336512,"note":"Value kept but may cause issues"} 
[2026-04-17 04:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776381136000,"timestamp_ms":1776381136000,"timestamp_seconds":1776381136,"priority":1,"record_length":96,"hex_timestamp":"0000019d98910c80"} 
[2026-04-17 04:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:44: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-04-17 04:44:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 04:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:44: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-04-17 04:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753566720001,"66":27267,"131":206,"85":15104,"24":23,"16":273967249323196416,"45":9023384090790336512},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-17 04:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753566720001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:44:29] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 04:44:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273967249323196416,"km_value":273967249323196.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023384090790336512,"description":"Unknown IO ID 45"} 
[2026-04-17 04:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753566720001,"power":27267,"unknown_131":206,"unknown_85":15104,"ignition":23,"odometer":null,"unknown_45":9023384090790336512}} 
[2026-04-17 04:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":45515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:44:29] local.INFO: GPS data processed {"connection_id":45515,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:44:29] local.INFO: Acknowledgment sent {"connection_id":45515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:44:44] local.INFO: TCP Data received {"connection_id":45774,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:44:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:44:44] local.INFO: Processing buffer {"connection_id":45774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:44:44] local.INFO: Packet analysis {"connection_id":45774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:44:44] local.INFO: Extracted packet for processing {"connection_id":45774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:44:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:44:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753492224001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:44:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:44:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:44:44] 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-04-17 04:44:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776381130000,"timestamp_ms":1776381130000,"timestamp_seconds":1776381130,"priority":1,"record_length":96,"hex_timestamp":"0000019d9890f510"} 
[2026-04-17 04:44:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:44:44] 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-04-17 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 04:44:44] 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-04-17 04: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-04-17 04:44:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:44:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:44:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:44:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:44:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:44:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:44:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:44:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:44:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753492224001,"66":25908,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:44:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:44:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:44:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753492224001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:44:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:44:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:44:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:44:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753492224001,"power":25908,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:44:44] local.INFO: DEBUG: GPS processor result {"connection_id":45774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19192,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:44:44] local.INFO: GPS data processed {"connection_id":45774,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:44:44] local.INFO: Acknowledgment sent {"connection_id":45774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:44:54] local.INFO: TCP Data received {"connection_id":45516,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:44:54] local.INFO: Processing buffer {"connection_id":45516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:44:54] local.INFO: IMEI packet received {"connection_id":45516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:44:54] local.INFO: IMEI acknowledgment sent {"connection_id":45516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:44:57] local.INFO: TCP Data received {"connection_id":45516,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:44:57] local.INFO: Processing buffer {"connection_id":45516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:44:57] local.INFO: IMEI packet received {"connection_id":45516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":45516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:45:02] local.INFO: TCP Data received {"connection_id":45516,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45516,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:45:02] local.INFO: Processing buffer {"connection_id":45516,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:45:02] local.INFO: IMEI packet received {"connection_id":45516,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:45:02] local.INFO: IMEI acknowledgment sent {"connection_id":45516,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:45:02] local.INFO: TCP Data received {"connection_id":45516,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98913778012d7d348005cb3cb8000400c432..."} 
[2026-04-17 04:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98913778012d7d348005cb3cb8000400c432..."} 
[2026-04-17 04:45:02] local.INFO: Processing buffer {"connection_id":45516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98913778012d7d348005cb3cb8000400c432..."} 
[2026-04-17 04:45:02] local.INFO: Packet analysis {"connection_id":45516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9891"} 
[2026-04-17 04:45:02] local.INFO: Extracted packet for processing {"connection_id":45516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9891"} 
[2026-04-17 04:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763180160,"raw_latitude":97205432,"longitude_deg":76.318016,"latitude_deg":9.7205432,"altitude":4,"angle":196,"satellites":50,"speed":16,"hex_longitude":"2d7d3480","hex_latitude":"05cb3cb8","is_valid_coordinates":true} 
[2026-04-17 04:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753570816001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273967545675939840,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022680403346210816,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776381147000,"timestamp_ms":1776381147000,"timestamp_seconds":1776381147,"priority":1,"record_length":96,"hex_timestamp":"0000019d98913778"} 
[2026-04-17 04:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:45:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 04:45:02] 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-04-17 04:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:45:02] 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-04-17 04:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753570816001,"66":27397,"131":206,"85":15104,"24":16,"16":273967545675939840,"45":9022680403346210816},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-17 04:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753570816001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:45:02] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 04:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273967545675939840,"km_value":273967545675939.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022680403346210816,"description":"Unknown IO ID 45"} 
[2026-04-17 04:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753570816001,"power":27397,"unknown_131":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9022680403346210816}} 
[2026-04-17 04:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":45516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:45:02] local.INFO: GPS data processed {"connection_id":45516,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:45:02] local.INFO: Acknowledgment sent {"connection_id":45516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:45:05] local.INFO: TCP Data received {"connection_id":45516,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98915aa0012d7d320005cb2ff8000500b731..."} 
[2026-04-17 04:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98915aa0012d7d320005cb2ff8000500b731..."} 
[2026-04-17 04:45:05] local.INFO: Processing buffer {"connection_id":45516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98915aa0012d7d320005cb2ff8000500b731..."} 
[2026-04-17 04:45:05] local.INFO: Packet analysis {"connection_id":45516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9891"} 
[2026-04-17 04:45:05] local.INFO: Extracted packet for processing {"connection_id":45516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9891"} 
[2026-04-17 04:45:05] local.INFO: GPS Element Parsed {"raw_longitude":763179520,"raw_latitude":97202168,"longitude_deg":76.317952,"latitude_deg":9.7202168,"altitude":5,"angle":183,"satellites":49,"speed":16,"hex_longitude":"2d7d3200","hex_latitude":"05cb2ff8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 04:45:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753573632001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273967704589729792,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021976715902892032,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:45:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776381156000,"timestamp_ms":1776381156000,"timestamp_seconds":1776381156,"priority":1,"record_length":96,"hex_timestamp":"0000019d98915aa0"} 
[2026-04-17 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-04-17 04:45: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-04-17 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 04:45:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 04:45:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:45:05] local.INFO: Teltonika packet parsed successfully {"connection_id":45516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:45:05] local.INFO: Passing IMEI to GPS processor {"connection_id":45516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:45:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":45516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:45: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-04-17 04:45:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:45:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:45:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753573632001,"66":27343,"131":206,"85":15104,"24":16,"16":273967704589729792,"45":9021976715902892032},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-17 04:45:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:45:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:45:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753573632001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:45:05] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 04:45:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:45:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273967704589729792,"km_value":273967704589729.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:45:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021976715902892032,"description":"Unknown IO ID 45"} 
[2026-04-17 04:45:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753573632001,"power":27343,"unknown_131":206,"unknown_85":15104,"ignition":16,"odometer":null,"unknown_45":9021976715902892032}} 
[2026-04-17 04:45:05] local.INFO: DEBUG: GPS processor result {"connection_id":45516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:45:05] local.INFO: GPS data processed {"connection_id":45516,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:45:05] local.INFO: Acknowledgment sent {"connection_id":45516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:45:13] local.INFO: TCP Data received {"connection_id":46333,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:45:13] local.INFO: Processing buffer {"connection_id":46333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:45:13] local.INFO: IMEI packet received {"connection_id":46333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:45:13] local.INFO: IMEI acknowledgment sent {"connection_id":46333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:45:15] local.INFO: TCP Data received {"connection_id":46333,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46333,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:45:15] local.INFO: Processing buffer {"connection_id":46333,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:45:15] local.INFO: IMEI packet received {"connection_id":46333,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":46333,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:45:17] local.INFO: TCP Data received {"connection_id":46333,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:45:17] local.INFO: Processing buffer {"connection_id":46333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:45:17] local.INFO: Packet analysis {"connection_id":46333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:45:17] local.INFO: Extracted packet for processing {"connection_id":46333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753492224001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:17] 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-04-17 04:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776381130000,"timestamp_ms":1776381130000,"timestamp_seconds":1776381130,"priority":1,"record_length":96,"hex_timestamp":"0000019d9890f510"} 
[2026-04-17 04:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:45:17] 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-04-17 04:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 04:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753492224001,"66":25908,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753492224001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:45:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753492224001,"power":25908,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":46333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19195,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:45:17] local.INFO: GPS data processed {"connection_id":46333,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:45:17] local.INFO: Acknowledgment sent {"connection_id":46333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:45:21] local.INFO: TCP Data received {"connection_id":46333,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:45:21] local.INFO: Processing buffer {"connection_id":46333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:45:21] local.INFO: Packet analysis {"connection_id":46333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:45:21] local.INFO: Extracted packet for processing {"connection_id":46333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:45:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:45:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753492224001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:21] 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-04-17 04:45:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776381130000,"timestamp_ms":1776381130000,"timestamp_seconds":1776381130,"priority":1,"record_length":96,"hex_timestamp":"0000019d9890f510"} 
[2026-04-17 04:45:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:45:21] 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-04-17 04:45:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 04:45:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:45:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:45:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:45:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:45:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:45:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:45:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46333,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:45:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:45:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:45:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:45:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753492224001,"66":25908,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:45:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:45:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:45:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753492224001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:45:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:45:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:45:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:45:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753492224001,"power":25908,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:45:21] local.INFO: DEBUG: GPS processor result {"connection_id":46333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19196,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:45:21] local.INFO: GPS data processed {"connection_id":46333,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:45:21] local.INFO: Acknowledgment sent {"connection_id":46333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:45:36] local.INFO: TCP Data received {"connection_id":45516,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98919920012d7d2fc005cb0d80000600b932..."} 
[2026-04-17 04:45:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98919920012d7d2fc005cb0d80000600b932..."} 
[2026-04-17 04:45:36] local.INFO: Processing buffer {"connection_id":45516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98919920012d7d2fc005cb0d80000600b932..."} 
[2026-04-17 04:45:36] local.INFO: Packet analysis {"connection_id":45516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9891"} 
[2026-04-17 04:45:36] local.INFO: Extracted packet for processing {"connection_id":45516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9891"} 
[2026-04-17 04:45:36] local.INFO: GPS Element Parsed {"raw_longitude":763178944,"raw_latitude":97193344,"longitude_deg":76.3178944,"latitude_deg":9.7193344,"altitude":6,"angle":185,"satellites":50,"speed":24,"hex_longitude":"2d7d2fc0","hex_latitude":"05cb0d80","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:45:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753575936001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273968134086459392,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021273028460279808,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:45:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776381172000,"timestamp_ms":1776381172000,"timestamp_seconds":1776381172,"priority":1,"record_length":96,"hex_timestamp":"0000019d98919920"} 
[2026-04-17 04:45:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:45: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-04-17 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 04:45:36] 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-04-17 04: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-04-17 04:45:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:45:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:45:36] local.INFO: Teltonika packet parsed successfully {"connection_id":45516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:45:36] local.INFO: Passing IMEI to GPS processor {"connection_id":45516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:45:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":45516,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:45:36] 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-04-17 04:45:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:45:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:45:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753575936001,"66":27376,"131":206,"85":15104,"24":24,"16":273968134086459392,"45":9021273028460279808},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-17 04:45:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:45:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:45:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753575936001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:45:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 04:45:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 04:45:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273968134086459392,"km_value":273968134086459.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:45:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021273028460279808,"description":"Unknown IO ID 45"} 
[2026-04-17 04:45:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753575936001,"power":27376,"unknown_131":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":9021273028460279808}} 
[2026-04-17 04:45:36] local.INFO: DEBUG: GPS processor result {"connection_id":45516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:45:36] local.INFO: GPS data processed {"connection_id":45516,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:45:36] local.INFO: Acknowledgment sent {"connection_id":45516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:45:52] local.INFO: TCP Data received {"connection_id":46334,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:45:52] local.INFO: Processing buffer {"connection_id":46334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:45:52] local.INFO: IMEI packet received {"connection_id":46334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":46334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:45:56] local.INFO: TCP Data received {"connection_id":46334,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:45:56] local.INFO: Processing buffer {"connection_id":46334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:45:56] local.INFO: IMEI packet received {"connection_id":46334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":46334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:45:57] local.INFO: TCP Data received {"connection_id":46334,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98938168012d7d0b4005c97ba8000500b732..."} 
[2026-04-17 04:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98938168012d7d0b4005c97ba8000500b732..."} 
[2026-04-17 04:45:57] local.INFO: Processing buffer {"connection_id":46334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98938168012d7d0b4005c97ba8000500b732..."} 
[2026-04-17 04:45:57] local.INFO: Packet analysis {"connection_id":46334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9893"} 
[2026-04-17 04:45:57] local.INFO: Extracted packet for processing {"connection_id":46334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9893"} 
[2026-04-17 04:45:57] local.INFO: GPS Element Parsed {"raw_longitude":763169600,"raw_latitude":97090472,"longitude_deg":76.31696,"latitude_deg":9.7090472,"altitude":5,"angle":183,"satellites":50,"speed":37,"hex_longitude":"2d7d0b40","hex_latitude":"05c97ba8","is_valid_coordinates":true} 
[2026-04-17 04:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753609472001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273973146313293824,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011069560528377856,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:57] 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-04-17 04:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776381297000,"timestamp_ms":1776381297000,"timestamp_seconds":1776381297,"priority":1,"record_length":96,"hex_timestamp":"0000019d98938168"} 
[2026-04-17 04:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:45: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-04-17 04:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 04:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:45:57] 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-04-17 04:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753609472001,"66":27484,"205":206,"85":12288,"24":37,"16":273973146313293824,"45":9011069560528377856},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-04-17 04:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753609472001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:45:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273973146313293824,"km_value":273973146313293.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011069560528377856,"description":"Unknown IO ID 45"} 
[2026-04-17 04:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753609472001,"power":27484,"cell_id":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9011069560528377856}} 
[2026-04-17 04:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":46334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:45:57] local.INFO: GPS data processed {"connection_id":46334,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:45:57] local.INFO: Acknowledgment sent {"connection_id":46334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:45:57] local.INFO: TCP Data received {"connection_id":46334,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9893a0a8012d7d0b0005c96038000500ab33..."} 
[2026-04-17 04:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9893a0a8012d7d0b0005c96038000500ab33..."} 
[2026-04-17 04:45:57] local.INFO: Processing buffer {"connection_id":46334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9893a0a8012d7d0b0005c96038000500ab33..."} 
[2026-04-17 04:45:57] local.INFO: Packet analysis {"connection_id":46334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9893"} 
[2026-04-17 04:45:57] local.INFO: Extracted packet for processing {"connection_id":46334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9893"} 
[2026-04-17 04:45:57] local.INFO: GPS Element Parsed {"raw_longitude":763169536,"raw_latitude":97083448,"longitude_deg":76.3169536,"latitude_deg":9.7083448,"altitude":5,"angle":171,"satellites":51,"speed":32,"hex_longitude":"2d7d0b00","hex_latitude":"05c96038","is_valid_coordinates":true} 
[2026-04-17 04:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753612032001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273973489910677504,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010365873084147712,"note":"Value kept but may cause issues"} 
[2026-04-17 04:45:57] 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-04-17 04:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776381305000,"timestamp_ms":1776381305000,"timestamp_seconds":1776381305,"priority":1,"record_length":96,"hex_timestamp":"0000019d9893a0a8"} 
[2026-04-17 04:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:45: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-04-17 04:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 04:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:45:57] 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-04-17 04:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753612032001,"66":27441,"205":206,"85":12288,"24":32,"16":273973489910677504,"45":9010365873084147712},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-04-17 04:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753612032001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:45:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273973489910677504,"km_value":273973489910677.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010365873084147712,"description":"Unknown IO ID 45"} 
[2026-04-17 04:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753612032001,"power":27441,"cell_id":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9010365873084147712}} 
[2026-04-17 04:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":46334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:45:57] local.INFO: GPS data processed {"connection_id":46334,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:45:57] local.INFO: Acknowledgment sent {"connection_id":46334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:46:05] local.INFO: TCP Data received {"connection_id":45775,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:46:05] local.INFO: Processing buffer {"connection_id":45775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:46:05] local.INFO: IMEI packet received {"connection_id":45775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":45775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:46:11] local.INFO: TCP Data received {"connection_id":45775,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:46:11] local.INFO: Processing buffer {"connection_id":45775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:46:11] local.INFO: IMEI packet received {"connection_id":45775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":45775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:46:12] local.INFO: TCP Data received {"connection_id":45775,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:46:12] local.INFO: Processing buffer {"connection_id":45775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:46:12] local.INFO: Packet analysis {"connection_id":45775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:46:12] local.INFO: Extracted packet for processing {"connection_id":45775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:46:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753492224001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:46:12] 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-04-17 04:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776381130000,"timestamp_ms":1776381130000,"timestamp_seconds":1776381130,"priority":1,"record_length":96,"hex_timestamp":"0000019d9890f510"} 
[2026-04-17 04:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:46: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-04-17 04:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 04:46:12] 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-04-17 04:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753492224001,"66":25908,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753492224001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:46:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753492224001,"power":25908,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":45775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19200,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:46:12] local.INFO: GPS data processed {"connection_id":45775,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:46:12] local.INFO: Acknowledgment sent {"connection_id":45775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:46:28] local.INFO: TCP Data received {"connection_id":46334,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9893d370012d7d104005c93ca8000600b033..."} 
[2026-04-17 04:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9893d370012d7d104005c93ca8000600b033..."} 
[2026-04-17 04:46:28] local.INFO: Processing buffer {"connection_id":46334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9893d370012d7d104005c93ca8000600b033..."} 
[2026-04-17 04:46:28] local.INFO: Packet analysis {"connection_id":46334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9893"} 
[2026-04-17 04:46:28] local.INFO: Extracted packet for processing {"connection_id":46334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9893"} 
[2026-04-17 04:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763170880,"raw_latitude":97074344,"longitude_deg":76.317088,"latitude_deg":9.7074344,"altitude":6,"angle":176,"satellites":51,"speed":24,"hex_longitude":"2d7d1040","hex_latitude":"05c93ca8","is_valid_coordinates":true} 
[2026-04-17 04:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753614080001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273973936587276288,"note":"Value kept but may cause issues"} 
[2026-04-17 04:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010295504338171904,"note":"Value kept but may cause issues"} 
[2026-04-17 04:46: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-04-17 04:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776381318000,"timestamp_ms":1776381318000,"timestamp_seconds":1776381318,"priority":1,"record_length":96,"hex_timestamp":"0000019d9893d370"} 
[2026-04-17 04:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:46: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-04-17 04:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-04-17 04:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:46:28] 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-04-17 04:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753614080001,"66":27321,"205":206,"85":12288,"24":24,"16":273973936587276288,"45":9010295504338171904},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-04-17 04:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753614080001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273973936587276288,"km_value":273973936587276.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010295504338171904,"description":"Unknown IO ID 45"} 
[2026-04-17 04:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753614080001,"power":27321,"cell_id":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9010295504338171904}} 
[2026-04-17 04:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":46334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:46:28] local.INFO: GPS data processed {"connection_id":46334,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:46:28] local.INFO: Acknowledgment sent {"connection_id":46334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:46:44] local.INFO: TCP Data received {"connection_id":45775,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:46:44] local.INFO: Processing buffer {"connection_id":45775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:46:44] local.INFO: Packet analysis {"connection_id":45775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:46:44] local.INFO: Extracted packet for processing {"connection_id":45775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:46:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753492224001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:46:44] 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-04-17 04:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776381130000,"timestamp_ms":1776381130000,"timestamp_seconds":1776381130,"priority":1,"record_length":96,"hex_timestamp":"0000019d9890f510"} 
[2026-04-17 04:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:46:44] 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-04-17 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 04:46:44] 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-04-17 04: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-04-17 04:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753492224001,"66":25908,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753492224001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:46:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753492224001,"power":25908,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":45775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19202,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:46:44] local.INFO: GPS data processed {"connection_id":45775,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:46:44] local.INFO: Acknowledgment sent {"connection_id":45775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:46:52] local.INFO: TCP Data received {"connection_id":46335,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:46:52] local.INFO: Processing buffer {"connection_id":46335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:46:52] local.INFO: IMEI packet received {"connection_id":46335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":46335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:46:57] local.INFO: TCP Data received {"connection_id":46335,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:46:57] local.INFO: Processing buffer {"connection_id":46335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:46:57] local.INFO: IMEI packet received {"connection_id":46335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":46335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:46:58] local.INFO: TCP Data received {"connection_id":46335,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d989415d8012d7d128005c91a08000600b032..."} 
[2026-04-17 04:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989415d8012d7d128005c91a08000600b032..."} 
[2026-04-17 04:46:58] local.INFO: Processing buffer {"connection_id":46335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989415d8012d7d128005c91a08000600b032..."} 
[2026-04-17 04:46:58] local.INFO: Packet analysis {"connection_id":46335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9894"} 
[2026-04-17 04:46:58] local.INFO: Extracted packet for processing {"connection_id":46335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9894"} 
[2026-04-17 04:46:58] local.INFO: GPS Element Parsed {"raw_longitude":763171456,"raw_latitude":97065480,"longitude_deg":76.3171456,"latitude_deg":9.706548,"altitude":6,"angle":176,"satellites":50,"speed":16,"hex_longitude":"2d7d1280","hex_latitude":"05c91a08","is_valid_coordinates":true} 
[2026-04-17 04:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753617408001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273974366084005888,"note":"Value kept but may cause issues"} 
[2026-04-17 04:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9011773247963572224,"note":"Value kept but may cause issues"} 
[2026-04-17 04:46: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-04-17 04:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776381335000,"timestamp_ms":1776381335000,"timestamp_seconds":1776381335,"priority":1,"record_length":96,"hex_timestamp":"0000019d989415d8"} 
[2026-04-17 04:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:46: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-04-17 04:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 04:46:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:46:58] 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-04-17 04:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753617408001,"66":27397,"205":206,"85":12288,"24":16,"16":273974366084005888,"45":9011773247963572224},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-04-17 04:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753617408001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:46:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273974366084005888,"km_value":273974366084005.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9011773247963572224,"description":"Unknown IO ID 45"} 
[2026-04-17 04:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753617408001,"power":27397,"cell_id":206,"unknown_85":12288,"ignition":16,"odometer":null,"unknown_45":9011773247963572224}} 
[2026-04-17 04:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":46335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:46:58] local.INFO: GPS data processed {"connection_id":46335,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:46:58] local.INFO: Acknowledgment sent {"connection_id":46335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:47:05] local.INFO: TCP Data received {"connection_id":45575,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:47:05] local.INFO: Processing buffer {"connection_id":45575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:47:05] local.INFO: IMEI packet received {"connection_id":45575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":45575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:47:12] local.INFO: TCP Data received {"connection_id":45575,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:47:12] local.INFO: Processing buffer {"connection_id":45575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:47:12] local.INFO: IMEI packet received {"connection_id":45575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":45575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:47:13] local.INFO: TCP Data received {"connection_id":45575,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:47:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:47:13] local.INFO: Processing buffer {"connection_id":45575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:47:13] local.INFO: Packet analysis {"connection_id":45575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:47:13] local.INFO: Extracted packet for processing {"connection_id":45575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:47:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:47:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753492224001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:47:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:47:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:47:13] 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-04-17 04:47:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776381130000,"timestamp_ms":1776381130000,"timestamp_seconds":1776381130,"priority":1,"record_length":96,"hex_timestamp":"0000019d9890f510"} 
[2026-04-17 04:47:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:47:13] 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-04-17 04:47:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 04:47:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:47:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:47:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:47:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:47:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:47:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:47:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:47:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:47:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:47:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:47:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753492224001,"66":25908,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:47:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:47:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:47:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753492224001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:47:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:47:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:47:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:47:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753492224001,"power":25908,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:47:13] local.INFO: DEBUG: GPS processor result {"connection_id":45575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19204,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:47:13] local.INFO: GPS data processed {"connection_id":45575,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:47:13] local.INFO: Acknowledgment sent {"connection_id":45575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:47:29] local.INFO: TCP Data received {"connection_id":46335,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98945458012d7d154005c8f750000500b030..."} 
[2026-04-17 04:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98945458012d7d154005c8f750000500b030..."} 
[2026-04-17 04:47:29] local.INFO: Processing buffer {"connection_id":46335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98945458012d7d154005c8f750000500b030..."} 
[2026-04-17 04:47:29] local.INFO: Packet analysis {"connection_id":46335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9894"} 
[2026-04-17 04:47:29] local.INFO: Extracted packet for processing {"connection_id":46335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9894"} 
[2026-04-17 04:47:29] local.INFO: GPS Element Parsed {"raw_longitude":763172160,"raw_latitude":97056592,"longitude_deg":76.317216,"latitude_deg":9.7056592,"altitude":5,"angle":176,"satellites":48,"speed":28,"hex_longitude":"2d7d1540","hex_latitude":"05c8f750","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753621760001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273974799875702784,"note":"Value kept but may cause issues"} 
[2026-04-17 04:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9012406566658902016,"note":"Value kept but may cause issues"} 
[2026-04-17 04:47:29] 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-04-17 04:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776381351000,"timestamp_ms":1776381351000,"timestamp_seconds":1776381351,"priority":1,"record_length":96,"hex_timestamp":"0000019d98945458"} 
[2026-04-17 04:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:47: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-04-17 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 04:47:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:47: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-04-17 04:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753621760001,"66":27365,"205":206,"85":12288,"24":28,"16":273974799875702784,"45":9012406566658902016},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,205,85,24,16,45]} 
[2026-04-17 04:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753621760001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:47:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273974799875702784,"km_value":273974799875702.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9012406566658902016,"description":"Unknown IO ID 45"} 
[2026-04-17 04:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753621760001,"power":27365,"cell_id":206,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9012406566658902016}} 
[2026-04-17 04:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":46335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:47:29] local.INFO: GPS data processed {"connection_id":46335,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:47:29] local.INFO: Acknowledgment sent {"connection_id":46335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:47:45] local.INFO: TCP Data received {"connection_id":45575,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:47:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:47:45] local.INFO: Processing buffer {"connection_id":45575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9890f510012d1b598006d4d5980011013831..."} 
[2026-04-17 04:47:45] local.INFO: Packet analysis {"connection_id":45575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:47:45] local.INFO: Extracted packet for processing {"connection_id":45575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9890"} 
[2026-04-17 04:47:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:47:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753492224001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:47:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:47:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:47:45] 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-04-17 04:47:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776381130000,"timestamp_ms":1776381130000,"timestamp_seconds":1776381130,"priority":1,"record_length":96,"hex_timestamp":"0000019d9890f510"} 
[2026-04-17 04:47:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:47:45] 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-04-17 04: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 04:47:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:47:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:47:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:47:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:47:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:47:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:47:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:47:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:47:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:47:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753492224001,"66":25908,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:47:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:47:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:47:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753492224001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:47:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:47:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:47:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:47:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753492224001,"power":25908,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:47:45] local.INFO: DEBUG: GPS processor result {"connection_id":45575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19206,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:47:45] local.INFO: GPS data processed {"connection_id":45575,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:47:45] local.INFO: Acknowledgment sent {"connection_id":45575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:47:52] local.INFO: TCP Data received {"connection_id":45576,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:47:52] local.INFO: Processing buffer {"connection_id":45576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:47:52] local.INFO: IMEI packet received {"connection_id":45576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":45576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:47:55] local.INFO: TCP Data received {"connection_id":45576,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:47:55] local.INFO: Processing buffer {"connection_id":45576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:47:55] local.INFO: IMEI packet received {"connection_id":45576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":45576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:47:56] local.INFO: TCP Data received {"connection_id":45576,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98948b08012d7d170005c8d2c0000500b434..."} 
[2026-04-17 04:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98948b08012d7d170005c8d2c0000500b434..."} 
[2026-04-17 04:47:56] local.INFO: Processing buffer {"connection_id":45576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98948b08012d7d170005c8d2c0000500b434..."} 
[2026-04-17 04:47:56] local.INFO: Packet analysis {"connection_id":45576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9894"} 
[2026-04-17 04:47:56] local.INFO: Extracted packet for processing {"connection_id":45576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9894"} 
[2026-04-17 04:47:56] local.INFO: GPS Element Parsed {"raw_longitude":763172608,"raw_latitude":97047232,"longitude_deg":76.3172608,"latitude_deg":9.7047232,"altitude":5,"angle":180,"satellites":52,"speed":24,"hex_longitude":"2d7d1700","hex_latitude":"05c8d2c0","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753625856001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273975255142236160,"note":"Value kept but may cause issues"} 
[2026-04-17 04:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013180622842580992,"note":"Value kept but may cause issues"} 
[2026-04-17 04:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776381365000,"timestamp_ms":1776381365000,"timestamp_seconds":1776381365,"priority":1,"record_length":96,"hex_timestamp":"0000019d98948b08"} 
[2026-04-17 04:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:47:56] 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-04-17 04:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753625856001,"66":27463,"199":206,"85":12288,"24":24,"16":273975255142236160,"45":9013180622842580992},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 04:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753625856001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:47:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 04:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273975255142236160,"km_value":273975255142236.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013180622842580992,"description":"Unknown IO ID 45"} 
[2026-04-17 04:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753625856001,"power":27463,"trip_odometer":0.206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9013180622842580992}} 
[2026-04-17 04:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":45576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19207,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:47:56] local.INFO: GPS data processed {"connection_id":45576,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:47:56] local.INFO: Acknowledgment sent {"connection_id":45576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:48:12] local.INFO: TCP Data received {"connection_id":45517,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:48:12] local.INFO: Processing buffer {"connection_id":45517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:48:12] local.INFO: IMEI packet received {"connection_id":45517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:48:12] local.INFO: IMEI acknowledgment sent {"connection_id":45517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:48:16] local.INFO: TCP Data received {"connection_id":45517,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45517,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:48:16] local.INFO: Processing buffer {"connection_id":45517,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:48:16] local.INFO: IMEI packet received {"connection_id":45517,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":45517,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:48:17] local.INFO: TCP Data received {"connection_id":45517,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:48:17] local.INFO: Processing buffer {"connection_id":45517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:48:17] local.INFO: Packet analysis {"connection_id":45517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:48:17] local.INFO: Extracted packet for processing {"connection_id":45517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:48:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753569280001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:48:17] 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-04-17 04:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776381431000,"timestamp_ms":1776381431000,"timestamp_seconds":1776381431,"priority":1,"record_length":96,"hex_timestamp":"0000019d98958cd8"} 
[2026-04-17 04:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:48:17] 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-04-17 04:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 04:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753569280001,"66":25799,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753569280001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:48:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753569280001,"power":25799,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":45517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19208,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:48:17] local.INFO: GPS data processed {"connection_id":45517,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:48:17] local.INFO: Acknowledgment sent {"connection_id":45517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:48:21] local.INFO: TCP Data received {"connection_id":45517,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:48:21] local.INFO: Processing buffer {"connection_id":45517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:48:21] local.INFO: Packet analysis {"connection_id":45517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:48:21] local.INFO: Extracted packet for processing {"connection_id":45517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:48:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:48: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-04-17 04:48:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753569280001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:48:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:48:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:48:21] 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-04-17 04:48:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776381431000,"timestamp_ms":1776381431000,"timestamp_seconds":1776381431,"priority":1,"record_length":96,"hex_timestamp":"0000019d98958cd8"} 
[2026-04-17 04:48:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:48:21] 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-04-17 04:48:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 04:48:21] 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-04-17 04:48:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:48:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:48:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:48:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:48:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:48:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45517,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:48:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:48:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:48:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:48:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753569280001,"66":25799,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:48:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:48:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:48:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753569280001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:48:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:48:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:48:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:48:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753569280001,"power":25799,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:48:21] local.INFO: DEBUG: GPS processor result {"connection_id":45517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19209,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:48:21] local.INFO: GPS data processed {"connection_id":45517,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:48:21] local.INFO: Acknowledgment sent {"connection_id":45517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:48:27] local.INFO: TCP Data received {"connection_id":45576,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9894c5a0012d7d18c005c8ae18000400b134..."} 
[2026-04-17 04:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9894c5a0012d7d18c005c8ae18000400b134..."} 
[2026-04-17 04:48:27] local.INFO: Processing buffer {"connection_id":45576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9894c5a0012d7d18c005c8ae18000400b134..."} 
[2026-04-17 04:48:27] local.INFO: Packet analysis {"connection_id":45576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9894"} 
[2026-04-17 04:48:27] local.INFO: Extracted packet for processing {"connection_id":45576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9894"} 
[2026-04-17 04:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763173056,"raw_latitude":97037848,"longitude_deg":76.3173056,"latitude_deg":9.7037848,"altitude":4,"angle":177,"satellites":52,"speed":25,"hex_longitude":"2d7d18c0","hex_latitude":"05c8ae18","is_valid_coordinates":true} 
[2026-04-17 04:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753629440001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273975710408769536,"note":"Value kept but may cause issues"} 
[2026-04-17 04:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9013673204049428480,"note":"Value kept but may cause issues"} 
[2026-04-17 04:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776381380000,"timestamp_ms":1776381380000,"timestamp_seconds":1776381380,"priority":1,"record_length":96,"hex_timestamp":"0000019d9894c5a0"} 
[2026-04-17 04:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 04:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753629440001,"66":27365,"199":206,"85":12288,"24":25,"16":273975710408769536,"45":9013673204049428480},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 04:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753629440001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:48:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 04:48:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273975710408769536,"km_value":273975710408769.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9013673204049428480,"description":"Unknown IO ID 45"} 
[2026-04-17 04:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753629440001,"power":27365,"trip_odometer":0.206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":9013673204049428480}} 
[2026-04-17 04:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":45576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:48:27] local.INFO: GPS data processed {"connection_id":45576,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:48:27] local.INFO: Acknowledgment sent {"connection_id":45576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:48:52] local.INFO: TCP Data received {"connection_id":45776,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:48:52] local.INFO: Processing buffer {"connection_id":45776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:48:52] local.INFO: IMEI packet received {"connection_id":45776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":45776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:48:53] local.INFO: TCP Data received {"connection_id":45776,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:48:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:48:53] local.INFO: Processing buffer {"connection_id":45776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:48:53] local.INFO: IMEI packet received {"connection_id":45776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:48:53] local.INFO: IMEI acknowledgment sent {"connection_id":45776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:48:57] local.INFO: TCP Data received {"connection_id":45776,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:48:57] local.INFO: Processing buffer {"connection_id":45776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:48:57] local.INFO: IMEI packet received {"connection_id":45776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":45776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:48:58] local.INFO: TCP Data received {"connection_id":45776,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9894f868012d7d1d0005c88a08000500aa31..."} 
[2026-04-17 04:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9894f868012d7d1d0005c88a08000500aa31..."} 
[2026-04-17 04:48:58] local.INFO: Processing buffer {"connection_id":45776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9894f868012d7d1d0005c88a08000500aa31..."} 
[2026-04-17 04:48:58] local.INFO: Packet analysis {"connection_id":45776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9894"} 
[2026-04-17 04:48:58] local.INFO: Extracted packet for processing {"connection_id":45776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9894"} 
[2026-04-17 04:48:58] local.INFO: GPS Element Parsed {"raw_longitude":763174144,"raw_latitude":97028616,"longitude_deg":76.3174144,"latitude_deg":9.7028616,"altitude":5,"angle":170,"satellites":49,"speed":32,"hex_longitude":"2d7d1d00","hex_latitude":"05c88a08","is_valid_coordinates":true} 
[2026-04-17 04:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753633280001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273976161380335616,"note":"Value kept but may cause issues"} 
[2026-04-17 04:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9014165785256269824,"note":"Value kept but may cause issues"} 
[2026-04-17 04:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776381393000,"timestamp_ms":1776381393000,"timestamp_seconds":1776381393,"priority":1,"record_length":96,"hex_timestamp":"0000019d9894f868"} 
[2026-04-17 04:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:48: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-04-17 04:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:48:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:48:58] 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-04-17 04:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753633280001,"66":27343,"199":206,"85":12288,"24":32,"16":273976161380335616,"45":9014165785256269824},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 04:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753633280001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:48:58] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 04:48:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273976161380335616,"km_value":273976161380335.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9014165785256269824,"description":"Unknown IO ID 45"} 
[2026-04-17 04:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753633280001,"power":27343,"trip_odometer":0.206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9014165785256269824}} 
[2026-04-17 04:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":45776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19211,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:48:58] local.INFO: GPS data processed {"connection_id":45776,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:48:58] local.INFO: Acknowledgment sent {"connection_id":45776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:49:06] local.INFO: TCP Data received {"connection_id":45777,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:49:06] local.INFO: Processing buffer {"connection_id":45777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:49:06] local.INFO: IMEI packet received {"connection_id":45777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:49:06] local.INFO: IMEI acknowledgment sent {"connection_id":45777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:49:11] local.INFO: TCP Data received {"connection_id":45777,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:49:11] local.INFO: Processing buffer {"connection_id":45777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:49:11] local.INFO: IMEI packet received {"connection_id":45777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:49:11] local.INFO: IMEI acknowledgment sent {"connection_id":45777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:49:12] local.INFO: TCP Data received {"connection_id":45777,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:49:12] local.INFO: Processing buffer {"connection_id":45777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:49:12] local.INFO: Packet analysis {"connection_id":45777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:49:12] local.INFO: Extracted packet for processing {"connection_id":45777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753569280001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:49:12] 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-04-17 04:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776381431000,"timestamp_ms":1776381431000,"timestamp_seconds":1776381431,"priority":1,"record_length":96,"hex_timestamp":"0000019d98958cd8"} 
[2026-04-17 04:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:49: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-04-17 04: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 04:49:12] 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-04-17 04: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-04-17 04:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753569280001,"66":25799,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753569280001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:49:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753569280001,"power":25799,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":45777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19212,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:49:13] local.INFO: GPS data processed {"connection_id":45777,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:49:13] local.INFO: Acknowledgment sent {"connection_id":45777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:49:29] local.INFO: TCP Data received {"connection_id":45776,"ip":"42.106.6.50","data_length":93,"data_hex":"00000000000000518e010000019d98952f18012d7d21c005c865c8000500ad32..."} 
[2026-04-17 04:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45776,"packet_length":93,"packet_hex":"00000000000000518e010000019d98952f18012d7d21c005c865c8000500ad32..."} 
[2026-04-17 04:49:29] local.INFO: Processing buffer {"connection_id":45776,"buffer_length":93,"buffer_hex":"00000000000000518e010000019d98952f18012d7d21c005c865c8000500ad32..."} 
[2026-04-17 04:49:29] local.INFO: Packet analysis {"connection_id":45776,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019d9895"} 
[2026-04-17 04:49:29] local.INFO: Extracted packet for processing {"connection_id":45776,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019d9895"} 
[2026-04-17 04:49:29] local.INFO: GPS Element Parsed {"raw_longitude":763175360,"raw_latitude":97019336,"longitude_deg":76.317536,"latitude_deg":9.7019336,"altitude":5,"angle":173,"satellites":50,"speed":25,"hex_longitude":"2d7d21c0","hex_latitude":"05c865c8","is_valid_coordinates":true} 
[2026-04-17 04: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":93,"current_offset":40} 
[2026-04-17 04:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:49:29] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:49:29] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-17 04:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45776,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-17 04:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45776,"device_imei":"862567074773115","avl_records_count":0} 
[2026-04-17 04:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45776,"device_imei":"862567074773115","avl_records_count":0} 
[2026-04-17 04:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-17 04:49:29] local.WARNING: DEBUG: No valid data to process  
[2026-04-17 04:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":45776,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-17 04:49:29] local.ERROR: GPS data processing failed {"connection_id":45776,"error":"No valid data to process"} 
[2026-04-17 04:49:29] local.INFO: Acknowledgment sent {"connection_id":45776,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-17 04:49:44] local.INFO: TCP Data received {"connection_id":45777,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:49:44] local.INFO: Processing buffer {"connection_id":45777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:49:44] local.INFO: Packet analysis {"connection_id":45777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:49:44] local.INFO: Extracted packet for processing {"connection_id":45777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:49:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753569280001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:49:44] 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-04-17 04:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776381431000,"timestamp_ms":1776381431000,"timestamp_seconds":1776381431,"priority":1,"record_length":96,"hex_timestamp":"0000019d98958cd8"} 
[2026-04-17 04:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:49:44] 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-04-17 04: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 04:49: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-04-17 04: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-04-17 04:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45777,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753569280001,"66":25799,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753569280001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:49:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753569280001,"power":25799,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":45777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19213,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:49:44] local.INFO: GPS data processed {"connection_id":45777,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:49:44] local.INFO: Acknowledgment sent {"connection_id":45777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:49:51] local.INFO: TCP Data received {"connection_id":45518,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:49:51] local.INFO: Processing buffer {"connection_id":45518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:49:51] local.INFO: IMEI packet received {"connection_id":45518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":45518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:49:57] local.INFO: TCP Data received {"connection_id":45518,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45518,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:49:57] local.INFO: Processing buffer {"connection_id":45518,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:49:57] local.INFO: IMEI packet received {"connection_id":45518,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":45518,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:49:58] local.INFO: TCP Data received {"connection_id":45518,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d989565c8012d7d264005c84270000500ad32..."} 
[2026-04-17 04:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989565c8012d7d264005c84270000500ad32..."} 
[2026-04-17 04:49:58] local.INFO: Processing buffer {"connection_id":45518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989565c8012d7d264005c84270000500ad32..."} 
[2026-04-17 04:49:58] local.INFO: Packet analysis {"connection_id":45518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:49:58] local.INFO: Extracted packet for processing {"connection_id":45518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763176512,"raw_latitude":97010288,"longitude_deg":76.3176512,"latitude_deg":9.7010288,"altitude":5,"angle":173,"satellites":50,"speed":21,"hex_longitude":"2d7d2640","hex_latitude":"05c84270","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753640192001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:49:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 04:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273977059028500480,"note":"Value kept but may cause issues"} 
[2026-04-17 04:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9016699060041926656,"note":"Value kept but may cause issues"} 
[2026-04-17 04:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 04:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776381421000,"timestamp_ms":1776381421000,"timestamp_seconds":1776381421,"priority":1,"record_length":96,"hex_timestamp":"0000019d989565c8"} 
[2026-04-17 04:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:49: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-04-17 04: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":104,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-17 04:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2788,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:49:58] 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-04-17 04:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753640192001,"66":27376,"200":0,"85":12288,"24":21,"16":273977059028500480,"45":9016699060041926656},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-17 04:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753640192001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:49:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273977059028500480,"km_value":273977059028500.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9016699060041926656,"description":"Unknown IO ID 45"} 
[2026-04-17 04:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753640192001,"power":27376,"gsm_signal":0,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":9016699060041926656}} 
[2026-04-17 04:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":45518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:49:58] local.INFO: GPS data processed {"connection_id":45518,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:49:58] local.INFO: Acknowledgment sent {"connection_id":45518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:50:16] local.INFO: TCP Data received {"connection_id":45577,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:50:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:50:16] local.INFO: Processing buffer {"connection_id":45577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:50:16] local.INFO: IMEI packet received {"connection_id":45577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:50:16] local.INFO: IMEI acknowledgment sent {"connection_id":45577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:50:21] local.INFO: TCP Data received {"connection_id":45577,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:50:21] local.INFO: Processing buffer {"connection_id":45577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:50:21] local.INFO: IMEI packet received {"connection_id":45577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":45577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:50:22] local.INFO: TCP Data received {"connection_id":45577,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:50:22] local.INFO: Processing buffer {"connection_id":45577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:50:22] local.INFO: Packet analysis {"connection_id":45577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:50:22] local.INFO: Extracted packet for processing {"connection_id":45577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:50:22] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:50:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753569280001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:50:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:50:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:50:22] 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-04-17 04:50:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776381431000,"timestamp_ms":1776381431000,"timestamp_seconds":1776381431,"priority":1,"record_length":96,"hex_timestamp":"0000019d98958cd8"} 
[2026-04-17 04:50:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:50:22] 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-04-17 04:50:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 04:50:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:50:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:50:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:50:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:50:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:50:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:50:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:50:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:50:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:50:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753569280001,"66":25799,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:50:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:50:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:50:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753569280001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:50:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:50:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:50:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:50:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753569280001,"power":25799,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:50:22] local.INFO: DEBUG: GPS processor result {"connection_id":45577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19215,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:50:22] local.INFO: GPS data processed {"connection_id":45577,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:50:22] local.INFO: Acknowledgment sent {"connection_id":45577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:50:29] local.INFO: TCP Data received {"connection_id":45518,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9895a448012d7d2b0005c82008000600ab30..."} 
[2026-04-17 04:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9895a448012d7d2b0005c82008000600ab30..."} 
[2026-04-17 04:50:29] local.INFO: Processing buffer {"connection_id":45518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9895a448012d7d2b0005c82008000600ab30..."} 
[2026-04-17 04:50:29] local.INFO: Packet analysis {"connection_id":45518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:50:29] local.INFO: Extracted packet for processing {"connection_id":45518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:50:29] local.INFO: GPS Element Parsed {"raw_longitude":763177728,"raw_latitude":97001480,"longitude_deg":76.3177728,"latitude_deg":9.700148,"altitude":6,"angle":171,"satellites":48,"speed":27,"hex_longitude":"2d7d2b00","hex_latitude":"05c82008","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753643776001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:50:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 04:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273977488525230080,"note":"Value kept but may cause issues"} 
[2026-04-17 04:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9017965697434808320,"note":"Value kept but may cause issues"} 
[2026-04-17 04:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 04:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776381437000,"timestamp_ms":1776381437000,"timestamp_seconds":1776381437,"priority":1,"record_length":96,"hex_timestamp":"0000019d9895a448"} 
[2026-04-17 04:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:50: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-04-17 04: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 04:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45518,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:50: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-04-17 04:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753643776001,"66":27213,"200":0,"85":12288,"24":27,"16":273977488525230080,"45":9017965697434808320},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-17 04:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753643776001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273977488525230080,"km_value":273977488525230.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9017965697434808320,"description":"Unknown IO ID 45"} 
[2026-04-17 04:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753643776001,"power":27213,"gsm_signal":0,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":9017965697434808320}} 
[2026-04-17 04:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":45518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:50:29] local.INFO: GPS data processed {"connection_id":45518,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:50:29] local.INFO: Acknowledgment sent {"connection_id":45518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:50:52] local.INFO: TCP Data received {"connection_id":45778,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:50:52] local.INFO: Processing buffer {"connection_id":45778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:50:52] local.INFO: IMEI packet received {"connection_id":45778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":45778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:50:57] local.INFO: TCP Data received {"connection_id":45778,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:50:57] local.INFO: Processing buffer {"connection_id":45778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:50:57] local.INFO: IMEI packet received {"connection_id":45778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":45778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:50:58] local.INFO: TCP Data received {"connection_id":45778,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9897cef8012d7dfac005c71fb80004007e30..."} 
[2026-04-17 04:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9897cef8012d7dfac005c71fb80004007e30..."} 
[2026-04-17 04:50:58] local.INFO: Processing buffer {"connection_id":45778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9897cef8012d7dfac005c71fb80004007e30..."} 
[2026-04-17 04:50:58] local.INFO: Packet analysis {"connection_id":45778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9897"} 
[2026-04-17 04:50:58] local.INFO: Extracted packet for processing {"connection_id":45778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9897"} 
[2026-04-17 04:50:58] local.INFO: GPS Element Parsed {"raw_longitude":763230912,"raw_latitude":96935864,"longitude_deg":76.3230912,"latitude_deg":9.6935864,"altitude":4,"angle":126,"satellites":48,"speed":26,"hex_longitude":"2d7dfac0","hex_latitude":"05c71fb8","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753679872001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:50:58] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 04:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273981714773049344,"note":"Value kept but may cause issues"} 
[2026-04-17 04:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9069897830620246016,"note":"Value kept but may cause issues"} 
[2026-04-17 04:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 04:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776381579000,"timestamp_ms":1776381579000,"timestamp_seconds":1776381579,"priority":1,"record_length":96,"hex_timestamp":"0000019d9897cef8"} 
[2026-04-17 04:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:50: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-04-17 04:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 04:50:58] 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-04-17 04: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-04-17 04:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:50:58] 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-04-17 04:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753679872001,"66":27343,"200":0,"85":12288,"24":26,"16":273981714773049344,"45":9069897830620246016},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-17 04:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753679872001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:50:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273981714773049344,"km_value":273981714773049.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9069897830620246016,"description":"Unknown IO ID 45"} 
[2026-04-17 04:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753679872001,"power":27343,"gsm_signal":0,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":9069897830620246016}} 
[2026-04-17 04:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":45778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:50:58] local.INFO: GPS data processed {"connection_id":45778,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:50:58] local.INFO: Acknowledgment sent {"connection_id":45778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:51:05] local.INFO: TCP Data received {"connection_id":45578,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:51:05] local.INFO: Processing buffer {"connection_id":45578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:51:05] local.INFO: IMEI packet received {"connection_id":45578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":45578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:51:11] local.INFO: TCP Data received {"connection_id":45578,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:51:11] local.INFO: Processing buffer {"connection_id":45578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:51:11] local.INFO: IMEI packet received {"connection_id":45578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":45578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:51:12] local.INFO: TCP Data received {"connection_id":45578,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:51:12] local.INFO: Processing buffer {"connection_id":45578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:51:12] local.INFO: Packet analysis {"connection_id":45578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:51:12] local.INFO: Extracted packet for processing {"connection_id":45578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:51:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753569280001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:51:12] 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-04-17 04:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776381431000,"timestamp_ms":1776381431000,"timestamp_seconds":1776381431,"priority":1,"record_length":96,"hex_timestamp":"0000019d98958cd8"} 
[2026-04-17 04:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:51: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-04-17 04:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 04:51:12] 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-04-17 04:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753569280001,"66":25799,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753569280001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:51:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753569280001,"power":25799,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":45578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19218,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:51:12] local.INFO: GPS data processed {"connection_id":45578,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:51:12] local.INFO: Acknowledgment sent {"connection_id":45578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:51:29] local.INFO: TCP Data received {"connection_id":45778,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9897fdd8012d7e184005c70b600004007d31..."} 
[2026-04-17 04:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9897fdd8012d7e184005c70b600004007d31..."} 
[2026-04-17 04:51:29] local.INFO: Processing buffer {"connection_id":45778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9897fdd8012d7e184005c70b600004007d31..."} 
[2026-04-17 04:51:29] local.INFO: Packet analysis {"connection_id":45778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9897"} 
[2026-04-17 04:51:29] local.INFO: Extracted packet for processing {"connection_id":45778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9897"} 
[2026-04-17 04:51:29] local.INFO: GPS Element Parsed {"raw_longitude":763238464,"raw_latitude":96930656,"longitude_deg":76.3238464,"latitude_deg":9.6930656,"altitude":4,"angle":125,"satellites":49,"speed":32,"hex_longitude":"2d7e1840","hex_latitude":"05c70b60","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753684224001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:51:29] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 04:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273982152859713536,"note":"Value kept but may cause issues"} 
[2026-04-17 04:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9077779129966770176,"note":"Value kept but may cause issues"} 
[2026-04-17 04:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 04:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776381591000,"timestamp_ms":1776381591000,"timestamp_seconds":1776381591,"priority":1,"record_length":96,"hex_timestamp":"0000019d9897fdd8"} 
[2026-04-17 04:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:51: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-04-17 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 04:51: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-04-17 04: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-04-17 04:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:51: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-04-17 04:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753684224001,"66":27397,"200":0,"85":12288,"24":32,"16":273982152859713536,"45":9077779129966770176},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-17 04:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753684224001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273982152859713536,"km_value":273982152859713.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9077779129966770176,"description":"Unknown IO ID 45"} 
[2026-04-17 04:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753684224001,"power":27397,"gsm_signal":0,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9077779129966770176}} 
[2026-04-17 04:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":45778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:51:29] local.INFO: GPS data processed {"connection_id":45778,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:51:29] local.INFO: Acknowledgment sent {"connection_id":45778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:51:47] local.INFO: TCP Data received {"connection_id":45578,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:51:47] local.INFO: Processing buffer {"connection_id":45578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:51:47] local.INFO: Packet analysis {"connection_id":45578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:51:47] local.INFO: Extracted packet for processing {"connection_id":45578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:51:47] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:51:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753569280001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:51:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:51:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:51:47] 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-04-17 04:51:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776381431000,"timestamp_ms":1776381431000,"timestamp_seconds":1776381431,"priority":1,"record_length":96,"hex_timestamp":"0000019d98958cd8"} 
[2026-04-17 04:51:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:51:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 04:51:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 04:51: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-04-17 04:51:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:51:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:51:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:51:47] local.INFO: Teltonika packet parsed successfully {"connection_id":45578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:51:47] local.INFO: Passing IMEI to GPS processor {"connection_id":45578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:51:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":45578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:51:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:51:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:51:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:51:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753569280001,"66":25799,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:51:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:51:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:51:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753569280001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:51:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:51:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:51:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:51:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753569280001,"power":25799,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:51:47] local.INFO: DEBUG: GPS processor result {"connection_id":45578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19220,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:51:47] local.INFO: GPS data processed {"connection_id":45578,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:51:47] local.INFO: Acknowledgment sent {"connection_id":45578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:51:54] local.INFO: TCP Data received {"connection_id":45579,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:51:54] local.INFO: Processing buffer {"connection_id":45579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:51:54] local.INFO: IMEI packet received {"connection_id":45579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":45579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:51:57] local.INFO: TCP Data received {"connection_id":45579,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:51:57] local.INFO: Processing buffer {"connection_id":45579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:51:57] local.INFO: IMEI packet received {"connection_id":45579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":45579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:52:00] local.INFO: TCP Data received {"connection_id":45579,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:52:00] local.INFO: Processing buffer {"connection_id":45579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:52:00] local.INFO: IMEI packet received {"connection_id":45579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":45579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:52:02] local.INFO: TCP Data received {"connection_id":45579,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d989828d0012d7e35c005c6f6280003007e31..."} 
[2026-04-17 04:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989828d0012d7e35c005c6f6280003007e31..."} 
[2026-04-17 04:52:02] local.INFO: Processing buffer {"connection_id":45579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989828d0012d7e35c005c6f6280003007e31..."} 
[2026-04-17 04:52:02] local.INFO: Packet analysis {"connection_id":45579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9898"} 
[2026-04-17 04:52:02] local.INFO: Extracted packet for processing {"connection_id":45579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9898"} 
[2026-04-17 04:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763246016,"raw_latitude":96925224,"longitude_deg":76.3246016,"latitude_deg":9.6925224,"altitude":3,"angle":126,"satellites":49,"speed":35,"hex_longitude":"2d7e35c0","hex_latitude":"05c6f628","is_valid_coordinates":true} 
[2026-04-17 04:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753687296001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273982599536312320,"note":"Value kept but may cause issues"} 
[2026-04-17 04:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9086082641778401280,"note":"Value kept but may cause issues"} 
[2026-04-17 04:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776381602000,"timestamp_ms":1776381602000,"timestamp_seconds":1776381602,"priority":1,"record_length":96,"hex_timestamp":"0000019d989828d0"} 
[2026-04-17 04:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 04:52: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-04-17 04:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:52:02] 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-04-17 04:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753687296001,"66":27484,"89":206,"85":12288,"24":35,"16":273982599536312320,"45":9086082641778401280},"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,45]} 
[2026-04-17 04:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753687296001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:52:02] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-17 04:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273982599536312320,"km_value":273982599536312.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9086082641778401280,"description":"Unknown IO ID 45"} 
[2026-04-17 04:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753687296001,"power":27484,"unknown_89":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9086082641778401280}} 
[2026-04-17 04:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":45579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:52:02] local.INFO: GPS data processed {"connection_id":45579,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:52:02] local.INFO: Acknowledgment sent {"connection_id":45579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:52:02] local.INFO: TCP Data received {"connection_id":45579,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d989853c8012d7e550005c6e0300005007e31..."} 
[2026-04-17 04:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989853c8012d7e550005c6e0300005007e31..."} 
[2026-04-17 04:52:02] local.INFO: Processing buffer {"connection_id":45579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989853c8012d7e550005c6e0300005007e31..."} 
[2026-04-17 04:52:02] local.INFO: Packet analysis {"connection_id":45579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9898"} 
[2026-04-17 04:52:02] local.INFO: Extracted packet for processing {"connection_id":45579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9898"} 
[2026-04-17 04:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763254016,"raw_latitude":96919600,"longitude_deg":76.3254016,"latitude_deg":9.69196,"altitude":5,"angle":126,"satellites":49,"speed":35,"hex_longitude":"2d7e5500","hex_latitude":"05c6e030","is_valid_coordinates":true} 
[2026-04-17 04:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753690112001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273983071982714880,"note":"Value kept but may cause issues"} 
[2026-04-17 04:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9094386153589975040,"note":"Value kept but may cause issues"} 
[2026-04-17 04:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776381613000,"timestamp_ms":1776381613000,"timestamp_seconds":1776381613,"priority":1,"record_length":96,"hex_timestamp":"0000019d989853c8"} 
[2026-04-17 04:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 04:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:52:02] 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-04-17 04:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753690112001,"66":27397,"89":206,"85":12288,"24":35,"16":273983071982714880,"45":9094386153589975040},"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,45]} 
[2026-04-17 04:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753690112001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:52:02] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-17 04:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273983071982714880,"km_value":273983071982714.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9094386153589975040,"description":"Unknown IO ID 45"} 
[2026-04-17 04:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753690112001,"power":27397,"unknown_89":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9094386153589975040}} 
[2026-04-17 04:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":45579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:52:02] local.INFO: GPS data processed {"connection_id":45579,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:52:02] local.INFO: Acknowledgment sent {"connection_id":45579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:52:11] local.INFO: TCP Data received {"connection_id":45580,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:52:11] local.INFO: Processing buffer {"connection_id":45580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:52:11] local.INFO: IMEI packet received {"connection_id":45580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":45580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:52:16] local.INFO: TCP Data received {"connection_id":45580,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:52:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:52:16] local.INFO: Processing buffer {"connection_id":45580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:52:16] local.INFO: IMEI packet received {"connection_id":45580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:52:16] local.INFO: IMEI acknowledgment sent {"connection_id":45580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:52:17] local.INFO: TCP Data received {"connection_id":45580,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:52:17] local.INFO: Processing buffer {"connection_id":45580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:52:17] local.INFO: Packet analysis {"connection_id":45580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:52:17] local.INFO: Extracted packet for processing {"connection_id":45580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:52:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753569280001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:52:17] 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-04-17 04:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776381431000,"timestamp_ms":1776381431000,"timestamp_seconds":1776381431,"priority":1,"record_length":96,"hex_timestamp":"0000019d98958cd8"} 
[2026-04-17 04:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:52:17] 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-04-17 04:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 04:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753569280001,"66":25799,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753569280001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:52:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753569280001,"power":25799,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":45580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19223,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:52:17] local.INFO: GPS data processed {"connection_id":45580,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:52:17] local.INFO: Acknowledgment sent {"connection_id":45580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:52:21] local.INFO: TCP Data received {"connection_id":45580,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:52:21] local.INFO: Processing buffer {"connection_id":45580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98958cd8012d1b598006d4d5980011013831..."} 
[2026-04-17 04:52:21] local.INFO: Packet analysis {"connection_id":45580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:52:21] local.INFO: Extracted packet for processing {"connection_id":45580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9895"} 
[2026-04-17 04:52:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753569280001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:52:21] 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-04-17 04:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776381431000,"timestamp_ms":1776381431000,"timestamp_seconds":1776381431,"priority":1,"record_length":96,"hex_timestamp":"0000019d98958cd8"} 
[2026-04-17 04:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:52:21] 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-04-17 04:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 04:52:21] 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-04-17 04:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753569280001,"66":25799,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753569280001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:52:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753569280001,"power":25799,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":45580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19224,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:52:21] local.INFO: GPS data processed {"connection_id":45580,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:52:21] local.INFO: Acknowledgment sent {"connection_id":45580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:52:33] local.INFO: TCP Data received {"connection_id":45579,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98987ec0012d7e714005c6cad80006007c30..."} 
[2026-04-17 04:52:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98987ec0012d7e714005c6cad80006007c30..."} 
[2026-04-17 04:52:33] local.INFO: Processing buffer {"connection_id":45579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98987ec0012d7e714005c6cad80006007c30..."} 
[2026-04-17 04:52:33] local.INFO: Packet analysis {"connection_id":45579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9898"} 
[2026-04-17 04:52:33] local.INFO: Extracted packet for processing {"connection_id":45579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9898"} 
[2026-04-17 04:52:33] local.INFO: GPS Element Parsed {"raw_longitude":763261248,"raw_latitude":96914136,"longitude_deg":76.3261248,"latitude_deg":9.6914136,"altitude":6,"angle":124,"satellites":48,"speed":29,"hex_longitude":"2d7e7140","hex_latitude":"05c6cad8","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:52:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753692928001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:52:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273983505774411776,"note":"Value kept but may cause issues"} 
[2026-04-17 04:52:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9103182246610743296,"note":"Value kept but may cause issues"} 
[2026-04-17 04:52:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:52:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776381624000,"timestamp_ms":1776381624000,"timestamp_seconds":1776381624,"priority":1,"record_length":96,"hex_timestamp":"0000019d98987ec0"} 
[2026-04-17 04:52:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:52: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-04-17 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 04:52: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-04-17 04: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-04-17 04:52:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:52:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:52:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:52:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:52:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:52:33] 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-04-17 04:52:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:52:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:52:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753692928001,"66":27365,"89":206,"85":12288,"24":29,"16":273983505774411776,"45":9103182246610743296},"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,45]} 
[2026-04-17 04:52:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:52:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:52:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753692928001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:52:33] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-17 04:52:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:52:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273983505774411776,"km_value":273983505774411.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:52:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9103182246610743296,"description":"Unknown IO ID 45"} 
[2026-04-17 04:52:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753692928001,"power":27365,"unknown_89":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":9103182246610743296}} 
[2026-04-17 04:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":45579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:52:33] local.INFO: GPS data processed {"connection_id":45579,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:52:33] local.INFO: Acknowledgment sent {"connection_id":45579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:52:51] local.INFO: TCP Data received {"connection_id":45779,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:52:51] local.INFO: Processing buffer {"connection_id":45779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:52:51] local.INFO: IMEI packet received {"connection_id":45779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":45779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:52:51] local.INFO: TCP Data received {"connection_id":45779,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:52:51] local.INFO: Processing buffer {"connection_id":45779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:52:51] local.INFO: IMEI packet received {"connection_id":45779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":45779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:52:57] local.INFO: TCP Data received {"connection_id":45779,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:52:57] local.INFO: Processing buffer {"connection_id":45779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:52:57] local.INFO: IMEI packet received {"connection_id":45779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":45779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:52:57] local.INFO: TCP Data received {"connection_id":45779,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9898ada0012d7e904005c6b5600005007c31..."} 
[2026-04-17 04:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9898ada0012d7e904005c6b5600005007c31..."} 
[2026-04-17 04:52:57] local.INFO: Processing buffer {"connection_id":45779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9898ada0012d7e904005c6b5600005007c31..."} 
[2026-04-17 04:52:57] local.INFO: Packet analysis {"connection_id":45779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9898"} 
[2026-04-17 04:52:57] local.INFO: Extracted packet for processing {"connection_id":45779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9898"} 
[2026-04-17 04:52:57] local.INFO: GPS Element Parsed {"raw_longitude":763269184,"raw_latitude":96908640,"longitude_deg":76.3269184,"latitude_deg":9.690864,"altitude":5,"angle":124,"satellites":49,"speed":32,"hex_longitude":"2d7e9040","hex_latitude":"05c6b560","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753695744001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273983969630879744,"note":"Value kept but may cause issues"} 
[2026-04-17 04:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9111133914701420544,"note":"Value kept but may cause issues"} 
[2026-04-17 04:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,89,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776381636000,"timestamp_ms":1776381636000,"timestamp_seconds":1776381636,"priority":1,"record_length":96,"hex_timestamp":"0000019d9898ada0"} 
[2026-04-17 04:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:52: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-04-17 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:52:57] 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-04-17 04:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753695744001,"66":27397,"89":206,"85":12288,"24":32,"16":273983969630879744,"45":9111133914701420544},"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,45]} 
[2026-04-17 04:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753695744001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:52:57] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-17 04:52:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273983969630879744,"km_value":273983969630879.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9111133914701420544,"description":"Unknown IO ID 45"} 
[2026-04-17 04:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753695744001,"power":27397,"unknown_89":206,"unknown_85":12288,"ignition":32,"odometer":null,"unknown_45":9111133914701420544}} 
[2026-04-17 04:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":45779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:52:57] local.INFO: GPS data processed {"connection_id":45779,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:52:57] local.INFO: Acknowledgment sent {"connection_id":45779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:53:06] local.INFO: TCP Data received {"connection_id":46336,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:53:06] local.INFO: Processing buffer {"connection_id":46336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:53:06] local.INFO: IMEI packet received {"connection_id":46336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":46336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:53:11] local.INFO: TCP Data received {"connection_id":46336,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:53:11] local.INFO: Processing buffer {"connection_id":46336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:53:11] local.INFO: IMEI packet received {"connection_id":46336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":46336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:53:12] local.INFO: TCP Data received {"connection_id":46336,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:53:12] local.INFO: Processing buffer {"connection_id":46336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:53:12] local.INFO: Packet analysis {"connection_id":46336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:53:12] local.INFO: Extracted packet for processing {"connection_id":46336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:53:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753646336001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:53:12] 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-04-17 04:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776381732000,"timestamp_ms":1776381732000,"timestamp_seconds":1776381732,"priority":1,"record_length":96,"hex_timestamp":"0000019d989a24a0"} 
[2026-04-17 04:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:53: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-04-17 04:53:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-17 04:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2489,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:53:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753646336001,"66":25778,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753646336001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:53:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753646336001,"power":25778,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":46336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19227,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:53:12] local.INFO: GPS data processed {"connection_id":46336,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:53:12] local.INFO: Acknowledgment sent {"connection_id":46336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:53:30] local.INFO: TCP Data received {"connection_id":45779,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9898e068012d7eb00005c6a1180005007b30..."} 
[2026-04-17 04:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9898e068012d7eb00005c6a1180005007b30..."} 
[2026-04-17 04:53:30] local.INFO: Processing buffer {"connection_id":45779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9898e068012d7eb00005c6a1180005007b30..."} 
[2026-04-17 04:53:30] local.INFO: Packet analysis {"connection_id":45779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9898"} 
[2026-04-17 04:53:30] local.INFO: Extracted packet for processing {"connection_id":45779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9898"} 
[2026-04-17 04:53:30] local.INFO: GPS Element Parsed {"raw_longitude":763277312,"raw_latitude":96903448,"longitude_deg":76.3277312,"latitude_deg":9.6903448,"altitude":5,"angle":123,"satellites":48,"speed":27,"hex_longitude":"2d7eb000","hex_latitude":"05c6a118","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753698816001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273984433487347712,"note":"Value kept but may cause issues"} 
[2026-04-17 04:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9119859638978043904,"note":"Value kept but may cause issues"} 
[2026-04-17 04:53: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-04-17 04:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776381649000,"timestamp_ms":1776381649000,"timestamp_seconds":1776381649,"priority":1,"record_length":96,"hex_timestamp":"0000019d9898e068"} 
[2026-04-17 04:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:53: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-04-17 04: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 04:53: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-04-17 04: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-04-17 04:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04: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-04-17 04:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753698816001,"66":27343,"95":206,"85":12288,"24":27,"16":273984433487347712,"45":9119859638978043904},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-04-17 04:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753698816001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:53:30] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-17 04:53:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273984433487347712,"km_value":273984433487347.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9119859638978043904,"description":"Unknown IO ID 45"} 
[2026-04-17 04:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753698816001,"power":27343,"unknown_95":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":9119859638978043904}} 
[2026-04-17 04:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":45779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:53:30] local.INFO: GPS data processed {"connection_id":45779,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:53:30] local.INFO: Acknowledgment sent {"connection_id":45779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:53:47] local.INFO: TCP Data received {"connection_id":46336,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:53:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46336,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:53:47] local.INFO: Processing buffer {"connection_id":46336,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:53:47] local.INFO: Packet analysis {"connection_id":46336,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:53:47] local.INFO: Extracted packet for processing {"connection_id":46336,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:53:47] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:53:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753646336001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:53:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:53:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:53:47] 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-04-17 04:53:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776381732000,"timestamp_ms":1776381732000,"timestamp_seconds":1776381732,"priority":1,"record_length":96,"hex_timestamp":"0000019d989a24a0"} 
[2026-04-17 04:53:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:53:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 04: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":199,"data_length":795,"current_offset":136} 
[2026-04-17 04:53:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2489,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:53:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:53:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:53:47] local.INFO: Teltonika packet parsed successfully {"connection_id":46336,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:53:47] local.INFO: Passing IMEI to GPS processor {"connection_id":46336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:53:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":46336,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:53:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:53:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:53:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:53:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753646336001,"66":25778,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:53:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:53:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:53:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753646336001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:53:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:53:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:53:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:53:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753646336001,"power":25778,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:53:47] local.INFO: DEBUG: GPS processor result {"connection_id":46336,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19229,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:53:47] local.INFO: GPS data processed {"connection_id":46336,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:53:47] local.INFO: Acknowledgment sent {"connection_id":46336,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:53:52] local.INFO: TCP Data received {"connection_id":45780,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:53:52] local.INFO: Processing buffer {"connection_id":45780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:53:52] local.INFO: IMEI packet received {"connection_id":45780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":45780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:53:52] local.INFO: TCP Data received {"connection_id":45780,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:53:52] local.INFO: Processing buffer {"connection_id":45780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:53:52] local.INFO: IMEI packet received {"connection_id":45780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":45780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:53:57] local.INFO: TCP Data received {"connection_id":45780,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:53:57] local.INFO: Processing buffer {"connection_id":45780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:53:57] local.INFO: IMEI packet received {"connection_id":45780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":45780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:53:58] local.INFO: TCP Data received {"connection_id":45780,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98991718012d7ecf8005c68c780006007f31..."} 
[2026-04-17 04:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98991718012d7ecf8005c68c780006007f31..."} 
[2026-04-17 04:53:58] local.INFO: Processing buffer {"connection_id":45780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98991718012d7ecf8005c68c780006007f31..."} 
[2026-04-17 04:53:58] local.INFO: Packet analysis {"connection_id":45780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9899"} 
[2026-04-17 04:53:58] local.INFO: Extracted packet for processing {"connection_id":45780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9899"} 
[2026-04-17 04:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763285376,"raw_latitude":96898168,"longitude_deg":76.3285376,"latitude_deg":9.6898168,"altitude":6,"angle":127,"satellites":49,"speed":27,"hex_longitude":"2d7ecf80","hex_latitude":"05c68c78","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753702144001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273984897343815680,"note":"Value kept but may cause issues"} 
[2026-04-17 04:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128796469487278080,"note":"Value kept but may cause issues"} 
[2026-04-17 04:53: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-04-17 04:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776381663000,"timestamp_ms":1776381663000,"timestamp_seconds":1776381663,"priority":1,"record_length":96,"hex_timestamp":"0000019d98991718"} 
[2026-04-17 04:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:53: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-04-17 04: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 04:53:58] 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-04-17 04: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-04-17 04:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:53:58] 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-04-17 04:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753702144001,"66":27332,"95":206,"85":12288,"24":27,"16":273984897343815680,"45":9128796469487278080},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-04-17 04:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753702144001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:53:58] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-17 04:53:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273984897343815680,"km_value":273984897343815.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128796469487278080,"description":"Unknown IO ID 45"} 
[2026-04-17 04:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753702144001,"power":27332,"unknown_95":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":9128796469487278080}} 
[2026-04-17 04:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":45780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:53:58] local.INFO: GPS data processed {"connection_id":45780,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:53:58] local.INFO: Acknowledgment sent {"connection_id":45780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:54:06] local.INFO: TCP Data received {"connection_id":45781,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:54:06] local.INFO: Processing buffer {"connection_id":45781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:54:06] local.INFO: IMEI packet received {"connection_id":45781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":45781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:54:11] local.INFO: TCP Data received {"connection_id":45781,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45781,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:54:11] local.INFO: Processing buffer {"connection_id":45781,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:54:11] local.INFO: IMEI packet received {"connection_id":45781,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":45781,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:54:12] local.INFO: TCP Data received {"connection_id":45781,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:54:12] local.INFO: Processing buffer {"connection_id":45781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:54:12] local.INFO: Packet analysis {"connection_id":45781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:54:12] local.INFO: Extracted packet for processing {"connection_id":45781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:54:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753646336001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:54:12] 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-04-17 04:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776381732000,"timestamp_ms":1776381732000,"timestamp_seconds":1776381732,"priority":1,"record_length":96,"hex_timestamp":"0000019d989a24a0"} 
[2026-04-17 04:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:54: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-04-17 04: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":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-17 04:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2489,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753646336001,"66":25778,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753646336001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:54:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753646336001,"power":25778,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":45781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19231,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:54:12] local.INFO: GPS data processed {"connection_id":45781,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:54:12] local.INFO: Acknowledgment sent {"connection_id":45781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:54:29] local.INFO: TCP Data received {"connection_id":45780,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d989b3de0012d7fc9c005c55ab00005008f32..."} 
[2026-04-17 04:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989b3de0012d7fc9c005c55ab00005008f32..."} 
[2026-04-17 04:54:29] local.INFO: Processing buffer {"connection_id":45780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989b3de0012d7fc9c005c55ab00005008f32..."} 
[2026-04-17 04:54:29] local.INFO: Packet analysis {"connection_id":45780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989b"} 
[2026-04-17 04:54:29] local.INFO: Extracted packet for processing {"connection_id":45780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989b"} 
[2026-04-17 04:54:29] local.INFO: GPS Element Parsed {"raw_longitude":763349440,"raw_latitude":96819888,"longitude_deg":76.334944,"latitude_deg":9.6819888,"altitude":5,"angle":143,"satellites":50,"speed":39,"hex_longitude":"2d7fc9c0","hex_latitude":"05c55ab0","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753739264001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273989806491435008,"note":"Value kept but may cause issues"} 
[2026-04-17 04:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9202050332156743680,"note":"Value kept but may cause issues"} 
[2026-04-17 04:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776381804000,"timestamp_ms":1776381804000,"timestamp_seconds":1776381804,"priority":1,"record_length":96,"hex_timestamp":"0000019d989b3de0"} 
[2026-04-17 04:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:54: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-04-17 04: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 04:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04: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-04-17 04:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753739264001,"66":27332,"93":206,"85":12288,"24":39,"16":273989806491435008,"45":9202050332156743680},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-17 04:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753739264001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:54:29] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-17 04:54:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273989806491435008,"km_value":273989806491435.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9202050332156743680,"description":"Unknown IO ID 45"} 
[2026-04-17 04:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753739264001,"power":27332,"unknown_93":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":9202050332156743680}} 
[2026-04-17 04:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":45780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:54:29] local.INFO: GPS data processed {"connection_id":45780,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:54:29] local.INFO: Acknowledgment sent {"connection_id":45780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:54:44] local.INFO: TCP Data received {"connection_id":45781,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:54:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:54:44] local.INFO: Processing buffer {"connection_id":45781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:54:44] local.INFO: Packet analysis {"connection_id":45781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:54:44] local.INFO: Extracted packet for processing {"connection_id":45781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:54:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:54:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753646336001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:54:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:54:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:54:44] 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-04-17 04:54:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776381732000,"timestamp_ms":1776381732000,"timestamp_seconds":1776381732,"priority":1,"record_length":96,"hex_timestamp":"0000019d989a24a0"} 
[2026-04-17 04:54:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:54:44] 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-04-17 04: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":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-17 04:54:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2489,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:54:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:54:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:54:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:54:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:54:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45781,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:54:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:54:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:54:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:54:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753646336001,"66":25778,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:54:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:54:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:54:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753646336001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:54:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:54:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:54:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:54:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753646336001,"power":25778,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:54:44] local.INFO: DEBUG: GPS processor result {"connection_id":45781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19233,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:54:44] local.INFO: GPS data processed {"connection_id":45781,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:54:44] local.INFO: Acknowledgment sent {"connection_id":45781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:54:52] local.INFO: TCP Data received {"connection_id":45519,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:54:52] local.INFO: Processing buffer {"connection_id":45519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:54:52] local.INFO: IMEI packet received {"connection_id":45519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":45519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:54:53] local.INFO: TCP Data received {"connection_id":45519,"ip":"42.106.6.50","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 04:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45519,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 04:54:53] local.INFO: Processing buffer {"connection_id":45519,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 04:54:53] local.INFO: IMEI packet received {"connection_id":45519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":45519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:54:57] local.INFO: TCP Data received {"connection_id":45519,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:54:57] local.INFO: Processing buffer {"connection_id":45519,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 04:54:57] local.INFO: IMEI packet received {"connection_id":45519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":45519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:54:58] local.INFO: TCP Data received {"connection_id":45519,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d989b64f0012d7fdf8005c53da00005008d30..."} 
[2026-04-17 04:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989b64f0012d7fdf8005c53da00005008d30..."} 
[2026-04-17 04:54:58] local.INFO: Processing buffer {"connection_id":45519,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019d98..."} 
[2026-04-17 04:54:58] local.INFO: IMEI packet received {"connection_id":45519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:54:58] local.INFO: IMEI acknowledgment sent {"connection_id":45519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:55:00] local.INFO: TCP Data received {"connection_id":45519,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d989b97b8012d7ff58005c520480005008f33..."} 
[2026-04-17 04:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989b97b8012d7ff58005c520480005008f33..."} 
[2026-04-17 04:55:00] local.INFO: Processing buffer {"connection_id":45519,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019d989b64f0012d7fdf8005c53da00005008d30..."} 
[2026-04-17 04:55:00] local.INFO: Packet analysis {"connection_id":45519,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d989b"} 
[2026-04-17 04:55:00] local.INFO: Extracted packet for processing {"connection_id":45519,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989b"} 
[2026-04-17 04:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763355008,"raw_latitude":96812448,"longitude_deg":76.3355008,"latitude_deg":9.6812448,"altitude":5,"angle":141,"satellites":48,"speed":33,"hex_longitude":"2d7fdf80","hex_latitude":"05c53da0","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753741824001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273990253168033792,"note":"Value kept but may cause issues"} 
[2026-04-17 04:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9208102044154114048,"note":"Value kept but may cause issues"} 
[2026-04-17 04:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776381814000,"timestamp_ms":1776381814000,"timestamp_seconds":1776381814,"priority":1,"record_length":96,"hex_timestamp":"0000019d989b64f0"} 
[2026-04-17 04:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 04:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:55: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-04-17 04:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753741824001,"66":27267,"93":206,"85":12288,"24":33,"16":273990253168033792,"45":9208102044154114048},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-17 04:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753741824001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:55:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-17 04:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273990253168033792,"km_value":273990253168033.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9208102044154114048,"description":"Unknown IO ID 45"} 
[2026-04-17 04:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753741824001,"power":27267,"unknown_93":206,"unknown_85":12288,"ignition":33,"odometer":null,"unknown_45":9208102044154114048}} 
[2026-04-17 04:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":45519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:55:00] local.INFO: GPS data processed {"connection_id":45519,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:55:00] local.INFO: Acknowledgment sent {"connection_id":45519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:55:00] local.INFO: Packet analysis {"connection_id":45519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989b"} 
[2026-04-17 04:55:00] local.INFO: Extracted packet for processing {"connection_id":45519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989b"} 
[2026-04-17 04:55:00] local.INFO: GPS Element Parsed {"raw_longitude":763360640,"raw_latitude":96804936,"longitude_deg":76.336064,"latitude_deg":9.6804936,"altitude":5,"angle":143,"satellites":51,"speed":31,"hex_longitude":"2d7ff580","hex_latitude":"05c52048","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753744384001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273990708434567168,"note":"Value kept but may cause issues"} 
[2026-04-17 04:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9214224124895666176,"note":"Value kept but may cause issues"} 
[2026-04-17 04:55:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776381827000,"timestamp_ms":1776381827000,"timestamp_seconds":1776381827,"priority":1,"record_length":96,"hex_timestamp":"0000019d989b97b8"} 
[2026-04-17 04:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 04:55:00] 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-04-17 04: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-04-17 04:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:55: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-04-17 04:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753744384001,"66":27365,"93":206,"85":12288,"24":31,"16":273990708434567168,"45":9214224124895666176},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-17 04:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753744384001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:55:00] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-17 04:55:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273990708434567168,"km_value":273990708434567.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9214224124895666176,"description":"Unknown IO ID 45"} 
[2026-04-17 04:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753744384001,"power":27365,"unknown_93":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":9214224124895666176}} 
[2026-04-17 04:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":45519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19235,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:55:00] local.INFO: GPS data processed {"connection_id":45519,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:55:00] local.INFO: Acknowledgment sent {"connection_id":45519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:55:05] local.INFO: TCP Data received {"connection_id":45581,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:55:05] local.INFO: Processing buffer {"connection_id":45581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:55:05] local.INFO: IMEI packet received {"connection_id":45581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":45581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:55:12] local.INFO: TCP Data received {"connection_id":45581,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:55:12] local.INFO: Processing buffer {"connection_id":45581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:55:12] local.INFO: IMEI packet received {"connection_id":45581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:55:12] local.INFO: IMEI acknowledgment sent {"connection_id":45581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:55:13] local.INFO: TCP Data received {"connection_id":45581,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:55:13] local.INFO: Processing buffer {"connection_id":45581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:55:13] local.INFO: Packet analysis {"connection_id":45581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:55:13] local.INFO: Extracted packet for processing {"connection_id":45581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:55:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753646336001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:55:13] 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-04-17 04:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776381732000,"timestamp_ms":1776381732000,"timestamp_seconds":1776381732,"priority":1,"record_length":96,"hex_timestamp":"0000019d989a24a0"} 
[2026-04-17 04:55:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:55:13] 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-04-17 04: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":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-17 04:55:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2489,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:55:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753646336001,"66":25778,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753646336001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:55:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753646336001,"power":25778,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":45581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19236,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:55:13] local.INFO: GPS data processed {"connection_id":45581,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:55:13] local.INFO: Acknowledgment sent {"connection_id":45581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:55:31] local.INFO: TCP Data received {"connection_id":45519,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d989bc2b0012d800bc005c502f80005008f30..."} 
[2026-04-17 04:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989bc2b0012d800bc005c502f80005008f30..."} 
[2026-04-17 04:55:31] local.INFO: Processing buffer {"connection_id":45519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989bc2b0012d800bc005c502f80005008f30..."} 
[2026-04-17 04:55:31] local.INFO: Packet analysis {"connection_id":45519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989b"} 
[2026-04-17 04:55:31] local.INFO: Extracted packet for processing {"connection_id":45519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989b"} 
[2026-04-17 04:55:31] local.INFO: GPS Element Parsed {"raw_longitude":763366336,"raw_latitude":96797432,"longitude_deg":76.3366336,"latitude_deg":9.6797432,"altitude":5,"angle":143,"satellites":48,"speed":29,"hex_longitude":"2d800bc0","hex_latitude":"05c502f8","is_valid_coordinates":true} 
[2026-04-17 04:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:55:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753747712001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:55:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273991159406133248,"note":"Value kept but may cause issues"} 
[2026-04-17 04:55:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9220416574381377536,"note":"Value kept but may cause issues"} 
[2026-04-17 04:55:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:55:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776381838000,"timestamp_ms":1776381838000,"timestamp_seconds":1776381838,"priority":1,"record_length":96,"hex_timestamp":"0000019d989bc2b0"} 
[2026-04-17 04:55:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:55:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04:55:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:55:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:55:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:55:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:55:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:55:31] local.INFO: Teltonika packet parsed successfully {"connection_id":45519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:55:31] local.INFO: Passing IMEI to GPS processor {"connection_id":45519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:55:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":45519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:55:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:55:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:55:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:55:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753747712001,"66":27365,"93":206,"85":12288,"24":29,"16":273991159406133248,"45":9220416574381377536},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-17 04:55:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:55:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:55:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753747712001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:55:31] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-17 04:55:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:55:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273991159406133248,"km_value":273991159406133.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:55:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9220416574381377536,"description":"Unknown IO ID 45"} 
[2026-04-17 04:55:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753747712001,"power":27365,"unknown_93":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":9220416574381377536}} 
[2026-04-17 04:55:31] local.INFO: DEBUG: GPS processor result {"connection_id":45519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:55:31] local.INFO: GPS data processed {"connection_id":45519,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:55:31] local.INFO: Acknowledgment sent {"connection_id":45519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:55:46] local.INFO: TCP Data received {"connection_id":45581,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:55:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45581,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:55:46] local.INFO: Processing buffer {"connection_id":45581,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:55:46] local.INFO: Packet analysis {"connection_id":45581,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:55:46] local.INFO: Extracted packet for processing {"connection_id":45581,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:55:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:55:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753646336001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:55:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:55:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:55:46] 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-04-17 04:55:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776381732000,"timestamp_ms":1776381732000,"timestamp_seconds":1776381732,"priority":1,"record_length":96,"hex_timestamp":"0000019d989a24a0"} 
[2026-04-17 04:55:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:55:46] 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-04-17 04: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":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-17 04:55:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2489,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:55:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:55:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:55:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45581,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:55:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:55:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45581,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:55:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:55:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:55:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:55:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753646336001,"66":25778,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:55:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:55:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:55:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753646336001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:55:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:55:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:55:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:55:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753646336001,"power":25778,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:55:46] local.INFO: DEBUG: GPS processor result {"connection_id":45581,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19238,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:55:46] local.INFO: GPS data processed {"connection_id":45581,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:55:46] local.INFO: Acknowledgment sent {"connection_id":45581,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:55:51] local.INFO: TCP Data received {"connection_id":45782,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:55:51] local.INFO: Processing buffer {"connection_id":45782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:55:51] local.INFO: IMEI packet received {"connection_id":45782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":45782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:55:56] local.INFO: TCP Data received {"connection_id":45782,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:55:56] local.INFO: Processing buffer {"connection_id":45782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:55:56] local.INFO: IMEI packet received {"connection_id":45782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":45782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:55:57] local.INFO: TCP Data received {"connection_id":45782,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d989c0130012d801d8005c4eb30000600a434..."} 
[2026-04-17 04:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989c0130012d801d8005c4eb30000600a434..."} 
[2026-04-17 04:55:57] local.INFO: Processing buffer {"connection_id":45782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989c0130012d801d8005c4eb30000600a434..."} 
[2026-04-17 04:55:57] local.INFO: Packet analysis {"connection_id":45782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989c"} 
[2026-04-17 04:55:57] local.INFO: Extracted packet for processing {"connection_id":45782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989c"} 
[2026-04-17 04:55:57] local.INFO: GPS Element Parsed {"raw_longitude":763370880,"raw_latitude":96791344,"longitude_deg":76.337088,"latitude_deg":9.6791344,"altitude":6,"angle":164,"satellites":52,"speed":15,"hex_longitude":"2d801d80","hex_latitude":"05c4eb30","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753750528001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273991528773320704,"note":"Value kept but may cause issues"} 
[2026-04-17 04:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220064681098283008,"note":"Value kept but may cause issues"} 
[2026-04-17 04:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776381854000,"timestamp_ms":1776381854000,"timestamp_seconds":1776381854,"priority":1,"record_length":96,"hex_timestamp":"0000019d989c0130"} 
[2026-04-17 04:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:55: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-04-17 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:55:57] 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-04-17 04:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753750528001,"66":27245,"235":206,"85":12288,"24":15,"16":273991528773320704,"45":-9220064681098283008},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-17 04:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753750528001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:55:57] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 04:55:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273991528773320704,"km_value":273991528773320.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9220064681098283008,"description":"Unknown IO ID 45"} 
[2026-04-17 04:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753750528001,"power":27245,"unknown_235":206,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":-9220064681098283008}} 
[2026-04-17 04:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":45782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19239,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:55:57] local.INFO: GPS data processed {"connection_id":45782,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:55:57] local.INFO: Acknowledgment sent {"connection_id":45782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:56:05] local.INFO: TCP Data received {"connection_id":45582,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:56:05] local.INFO: Processing buffer {"connection_id":45582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:56:05] local.INFO: IMEI packet received {"connection_id":45582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":45582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:56:11] local.INFO: TCP Data received {"connection_id":45582,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45582,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:56:11] local.INFO: Processing buffer {"connection_id":45582,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:56:11] local.INFO: IMEI packet received {"connection_id":45582,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":45582,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:56:13] local.INFO: TCP Data received {"connection_id":45582,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:56:13] local.INFO: Processing buffer {"connection_id":45582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:56:13] local.INFO: Packet analysis {"connection_id":45582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:56:13] local.INFO: Extracted packet for processing {"connection_id":45582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:56:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753646336001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:56:13] 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-04-17 04:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776381732000,"timestamp_ms":1776381732000,"timestamp_seconds":1776381732,"priority":1,"record_length":96,"hex_timestamp":"0000019d989a24a0"} 
[2026-04-17 04:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:56:13] 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-04-17 04:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-17 04:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2489,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753646336001,"66":25778,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753646336001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:56:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753646336001,"power":25778,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":45582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19240,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:56:13] local.INFO: GPS data processed {"connection_id":45582,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:56:13] local.INFO: Acknowledgment sent {"connection_id":45582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:56:28] local.INFO: TCP Data received {"connection_id":45782,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d989c0518012d801dc005c4e9c8000600af33..."} 
[2026-04-17 04:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989c0518012d801dc005c4e9c8000600af33..."} 
[2026-04-17 04:56:28] local.INFO: Processing buffer {"connection_id":45782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989c0518012d801dc005c4e9c8000600af33..."} 
[2026-04-17 04:56:28] local.INFO: Packet analysis {"connection_id":45782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989c"} 
[2026-04-17 04:56:28] local.INFO: Extracted packet for processing {"connection_id":45782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989c"} 
[2026-04-17 04:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763370944,"raw_latitude":96790984,"longitude_deg":76.3370944,"latitude_deg":9.6790984,"altitude":6,"angle":175,"satellites":51,"speed":14,"hex_longitude":"2d801dc0","hex_latitude":"05c4e9c8","is_valid_coordinates":true} 
[2026-04-17 04:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753754624001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273991545953189888,"note":"Value kept but may cause issues"} 
[2026-04-17 04:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215068500263227392,"note":"Value kept but may cause issues"} 
[2026-04-17 04:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776381855000,"timestamp_ms":1776381855000,"timestamp_seconds":1776381855,"priority":1,"record_length":96,"hex_timestamp":"0000019d989c0518"} 
[2026-04-17 04:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:56: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-04-17 04:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-17 04:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:56:28] 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-04-17 04:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753754624001,"66":27267,"235":206,"85":12288,"24":14,"16":273991545953189888,"45":-9215068500263227392},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-17 04:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753754624001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:56:28] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 04:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273991545953189888,"km_value":273991545953189.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215068500263227392,"description":"Unknown IO ID 45"} 
[2026-04-17 04:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753754624001,"power":27267,"unknown_235":206,"unknown_85":12288,"ignition":14,"odometer":null,"unknown_45":-9215068500263227392}} 
[2026-04-17 04:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":45782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:56:28] local.INFO: GPS data processed {"connection_id":45782,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:56:28] local.INFO: Acknowledgment sent {"connection_id":45782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:56:44] local.INFO: TCP Data received {"connection_id":45582,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:56:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:56:44] local.INFO: Processing buffer {"connection_id":45582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:56:44] local.INFO: Packet analysis {"connection_id":45582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:56:44] local.INFO: Extracted packet for processing {"connection_id":45582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:56:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:56:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753646336001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:56:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:56:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:56:44] 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-04-17 04:56:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776381732000,"timestamp_ms":1776381732000,"timestamp_seconds":1776381732,"priority":1,"record_length":96,"hex_timestamp":"0000019d989a24a0"} 
[2026-04-17 04:56:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:56:44] 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-04-17 04:56:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-17 04:56:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2489,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:56:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:56:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:56:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:56:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:56:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:56:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45582,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:56:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:56:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:56:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:56:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753646336001,"66":25778,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:56:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:56:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:56:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753646336001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:56:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:56:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:56:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:56:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753646336001,"power":25778,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":45582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19242,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:56:45] local.INFO: GPS data processed {"connection_id":45582,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:56:45] local.INFO: Acknowledgment sent {"connection_id":45582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:56:51] local.INFO: TCP Data received {"connection_id":45520,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:56:51] local.INFO: Processing buffer {"connection_id":45520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:56:51] local.INFO: IMEI packet received {"connection_id":45520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":45520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:56:52] local.INFO: TCP Data received {"connection_id":45520,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:56:52] local.INFO: Processing buffer {"connection_id":45520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:56:52] local.INFO: IMEI packet received {"connection_id":45520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":45520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:56:57] local.INFO: TCP Data received {"connection_id":45520,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45520,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:56:57] local.INFO: Processing buffer {"connection_id":45520,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:56:57] local.INFO: IMEI packet received {"connection_id":45520,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":45520,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:56:58] local.INFO: TCP Data received {"connection_id":45520,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d989d6c78012d80974005c41e48000600b232..."} 
[2026-04-17 04:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989d6c78012d80974005c41e48000600b232..."} 
[2026-04-17 04:56:58] local.INFO: Processing buffer {"connection_id":45520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989d6c78012d80974005c41e48000600b232..."} 
[2026-04-17 04:56:58] local.INFO: Packet analysis {"connection_id":45520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989d"} 
[2026-04-17 04:56:58] local.INFO: Extracted packet for processing {"connection_id":45520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989d"} 
[2026-04-17 04:56:58] local.INFO: GPS Element Parsed {"raw_longitude":763402048,"raw_latitude":96738888,"longitude_deg":76.3402048,"latitude_deg":9.6738888,"altitude":6,"angle":178,"satellites":50,"speed":24,"hex_longitude":"2d809740","hex_latitude":"05c41e48","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753777664001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273994509480624128,"note":"Value kept but may cause issues"} 
[2026-04-17 04:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9181150765582573568,"note":"Value kept but may cause issues"} 
[2026-04-17 04:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776381947000,"timestamp_ms":1776381947000,"timestamp_seconds":1776381947,"priority":1,"record_length":96,"hex_timestamp":"0000019d989d6c78"} 
[2026-04-17 04:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:56: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-04-17 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45520,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:56:58] 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-04-17 04:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753777664001,"66":27365,"156":206,"85":12288,"24":24,"16":273994509480624128,"45":-9181150765582573568},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-04-17 04:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753777664001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:56:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-04-17 04:56:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273994509480624128,"km_value":273994509480624.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9181150765582573568,"description":"Unknown IO ID 45"} 
[2026-04-17 04:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753777664001,"power":27365,"unknown_156":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":-9181150765582573568}} 
[2026-04-17 04:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":45520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:56:58] local.INFO: GPS data processed {"connection_id":45520,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:56:58] local.INFO: Acknowledgment sent {"connection_id":45520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:57:11] local.INFO: TCP Data received {"connection_id":45783,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:57:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:57:11] local.INFO: Processing buffer {"connection_id":45783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:57:11] local.INFO: IMEI packet received {"connection_id":45783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:57:11] local.INFO: IMEI acknowledgment sent {"connection_id":45783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:57:33] local.INFO: TCP Data received {"connection_id":45783,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:57:33] local.INFO: Processing buffer {"connection_id":45783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:57:33] local.INFO: IMEI packet received {"connection_id":45783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":45783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:57:34] local.INFO: TCP Data received {"connection_id":45783,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:57:34] local.INFO: Processing buffer {"connection_id":45783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:57:34] local.INFO: Packet analysis {"connection_id":45783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:57:34] local.INFO: Extracted packet for processing {"connection_id":45783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:57:34] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753646336001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:57:34] 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-04-17 04:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776381732000,"timestamp_ms":1776381732000,"timestamp_seconds":1776381732,"priority":1,"record_length":96,"hex_timestamp":"0000019d989a24a0"} 
[2026-04-17 04:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:57: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-04-17 04:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-17 04:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2489,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:57:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753646336001,"66":25778,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753646336001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:57:34] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753646336001,"power":25778,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":45783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19244,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:57:34] local.INFO: GPS data processed {"connection_id":45783,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:57:34] local.INFO: Acknowledgment sent {"connection_id":45783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:57:45] local.INFO: TCP Data received {"connection_id":45783,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:57:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:57:45] local.INFO: Processing buffer {"connection_id":45783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989a24a0012d1b598006d4d5980011013831..."} 
[2026-04-17 04:57:45] local.INFO: Packet analysis {"connection_id":45783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:57:45] local.INFO: Extracted packet for processing {"connection_id":45783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989a"} 
[2026-04-17 04:57:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:57:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753646336001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:57:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:57:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:57:45] 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-04-17 04:57:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776381732000,"timestamp_ms":1776381732000,"timestamp_seconds":1776381732,"priority":1,"record_length":96,"hex_timestamp":"0000019d989a24a0"} 
[2026-04-17 04:57:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:57:45] 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-04-17 04: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":100,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-17 04:57:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2489,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:57:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:57:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:57:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:57:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:57:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45783,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:57:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:57:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:57:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:57:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753646336001,"66":25778,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:57:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:57:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:57:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753646336001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:57:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:57:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:57:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:57:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753646336001,"power":25778,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:57:45] local.INFO: DEBUG: GPS processor result {"connection_id":45783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19245,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:57:45] local.INFO: GPS data processed {"connection_id":45783,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:57:45] local.INFO: Acknowledgment sent {"connection_id":45783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:57:55] local.INFO: TCP Data received {"connection_id":45583,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:57:55] local.INFO: Processing buffer {"connection_id":45583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:57:55] local.INFO: IMEI packet received {"connection_id":45583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":45583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:57:56] local.INFO: TCP Data received {"connection_id":45583,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:57:56] local.INFO: Processing buffer {"connection_id":45583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:57:56] local.INFO: IMEI packet received {"connection_id":45583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":45583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:57:57] local.INFO: TCP Data received {"connection_id":45583,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:57:57] local.INFO: Processing buffer {"connection_id":45583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:57:57] local.INFO: IMEI packet received {"connection_id":45583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":45583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:58:01] local.INFO: TCP Data received {"connection_id":45583,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:58:01] local.INFO: Processing buffer {"connection_id":45583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:58:01] local.INFO: IMEI packet received {"connection_id":45583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:58:01] local.INFO: IMEI acknowledgment sent {"connection_id":45583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:58:02] local.INFO: TCP Data received {"connection_id":45583,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d989d9b58012d8094c005c402e8000500be32..."} 
[2026-04-17 04:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989d9b58012d8094c005c402e8000500be32..."} 
[2026-04-17 04:58:02] local.INFO: Processing buffer {"connection_id":45583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989d9b58012d8094c005c402e8000500be32..."} 
[2026-04-17 04:58:02] local.INFO: Packet analysis {"connection_id":45583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989d"} 
[2026-04-17 04:58:02] local.INFO: Extracted packet for processing {"connection_id":45583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989d"} 
[2026-04-17 04:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763401408,"raw_latitude":96731880,"longitude_deg":76.3401408,"latitude_deg":9.673188,"altitude":5,"angle":190,"satellites":50,"speed":22,"hex_longitude":"2d8094c0","hex_latitude":"05c402e8","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753778432001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273994853078007808,"note":"Value kept but may cause issues"} 
[2026-04-17 04:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9180798921862133760,"note":"Value kept but may cause issues"} 
[2026-04-17 04:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776381959000,"timestamp_ms":1776381959000,"timestamp_seconds":1776381959,"priority":1,"record_length":96,"hex_timestamp":"0000019d989d9b58"} 
[2026-04-17 04:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:58:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 04:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:58:02] 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-04-17 04:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753778432001,"66":27463,"156":206,"85":12288,"24":22,"16":273994853078007808,"45":-9180798921862133760},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-04-17 04:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753778432001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:58:02] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-04-17 04:58:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273994853078007808,"km_value":273994853078007.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9180798921862133760,"description":"Unknown IO ID 45"} 
[2026-04-17 04:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753778432001,"power":27463,"unknown_156":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":-9180798921862133760}} 
[2026-04-17 04:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":45583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:58:02] local.INFO: GPS data processed {"connection_id":45583,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:58:02] local.INFO: Acknowledgment sent {"connection_id":45583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:58:05] local.INFO: TCP Data received {"connection_id":46337,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:58:05] local.INFO: Processing buffer {"connection_id":46337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:58:05] local.INFO: IMEI packet received {"connection_id":46337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":46337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:58:07] local.INFO: TCP Data received {"connection_id":45583,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d989dd5f0012d808fc005c3dfd0000500bd32..."} 
[2026-04-17 04:58:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989dd5f0012d808fc005c3dfd0000500bd32..."} 
[2026-04-17 04:58:07] local.INFO: Processing buffer {"connection_id":45583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989dd5f0012d808fc005c3dfd0000500bd32..."} 
[2026-04-17 04:58:07] local.INFO: Packet analysis {"connection_id":45583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989d"} 
[2026-04-17 04:58:07] local.INFO: Extracted packet for processing {"connection_id":45583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989d"} 
[2026-04-17 04:58:07] local.INFO: GPS Element Parsed {"raw_longitude":763400128,"raw_latitude":96722896,"longitude_deg":76.3400128,"latitude_deg":9.6722896,"altitude":5,"angle":189,"satellites":50,"speed":26,"hex_longitude":"2d808fc0","hex_latitude":"05c3dfd0","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:58:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753781504001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:58:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273995291164672000,"note":"Value kept but may cause issues"} 
[2026-04-17 04:58:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9181502609305704448,"note":"Value kept but may cause issues"} 
[2026-04-17 04:58:07] 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-04-17 04:58:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776381974000,"timestamp_ms":1776381974000,"timestamp_seconds":1776381974,"priority":1,"record_length":96,"hex_timestamp":"0000019d989dd5f0"} 
[2026-04-17 04:58:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:58:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 04: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 04:58: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-04-17 04: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-04-17 04:58:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:58:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:58:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:58:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:58:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:58:07] 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-04-17 04:58:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:58:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:58:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753781504001,"66":27332,"156":206,"85":12288,"24":26,"16":273995291164672000,"45":-9181502609305704448},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-04-17 04:58:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:58:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:58:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753781504001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:58:07] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-04-17 04:58:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:58:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273995291164672000,"km_value":273995291164672,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:58:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9181502609305704448,"description":"Unknown IO ID 45"} 
[2026-04-17 04:58:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753781504001,"power":27332,"unknown_156":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":-9181502609305704448}} 
[2026-04-17 04:58:07] local.INFO: DEBUG: GPS processor result {"connection_id":45583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:58:07] local.INFO: GPS data processed {"connection_id":45583,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:58:07] local.INFO: Acknowledgment sent {"connection_id":45583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:58:10] local.INFO: TCP Data received {"connection_id":46337,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46337,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:58:10] local.INFO: Processing buffer {"connection_id":46337,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:58:10] local.INFO: IMEI packet received {"connection_id":46337,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":46337,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:58:11] local.INFO: TCP Data received {"connection_id":46337,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 04:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 04:58:11] local.INFO: Processing buffer {"connection_id":46337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 04:58:11] local.INFO: Packet analysis {"connection_id":46337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 04:58:11] local.INFO: Extracted packet for processing {"connection_id":46337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 04:58:11] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:58:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753723392001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:58:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:58:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:58:11] 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-04-17 04:58:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776382033000,"timestamp_ms":1776382033000,"timestamp_seconds":1776382033,"priority":1,"record_length":96,"hex_timestamp":"0000019d989ebc68"} 
[2026-04-17 04:58:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:58:11] 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-04-17 04: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 04:58:11] 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-04-17 04: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-04-17 04:58:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:58:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:58:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:58:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:58:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:58:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:58:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:58:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:58:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753723392001,"66":25756,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:58:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:58:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:58:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753723392001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:58:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:58:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:58:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:58:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753723392001,"power":25756,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:58:11] local.INFO: DEBUG: GPS processor result {"connection_id":46337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19248,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:58:11] local.INFO: GPS data processed {"connection_id":46337,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:58:11] local.INFO: Acknowledgment sent {"connection_id":46337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:58:43] local.INFO: TCP Data received {"connection_id":46337,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 04:58:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 04:58:43] local.INFO: Processing buffer {"connection_id":46337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 04:58:43] local.INFO: Packet analysis {"connection_id":46337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 04:58:43] local.INFO: Extracted packet for processing {"connection_id":46337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 04:58:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:58: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-04-17 04:58:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753723392001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:58:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:58:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:58:43] 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-04-17 04:58:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776382033000,"timestamp_ms":1776382033000,"timestamp_seconds":1776382033,"priority":1,"record_length":96,"hex_timestamp":"0000019d989ebc68"} 
[2026-04-17 04:58:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:58:43] 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-04-17 04:58: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-04-17 04:58: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-04-17 04:58: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-04-17 04:58:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:58:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:58:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:58:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:58:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46337,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:58:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:58:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:58:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:58:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753723392001,"66":25756,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:58:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:58:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:58:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753723392001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:58:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:58:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:58:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:58:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753723392001,"power":25756,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:58:43] local.INFO: DEBUG: GPS processor result {"connection_id":46337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19249,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:58:43] local.INFO: GPS data processed {"connection_id":46337,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:58:43] local.INFO: Acknowledgment sent {"connection_id":46337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:58:52] local.INFO: TCP Data received {"connection_id":45521,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:58:52] local.INFO: Processing buffer {"connection_id":45521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:58:52] local.INFO: IMEI packet received {"connection_id":45521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":45521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:58:57] local.INFO: TCP Data received {"connection_id":45521,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:58:57] local.INFO: Processing buffer {"connection_id":45521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:58:57] local.INFO: IMEI packet received {"connection_id":45521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":45521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:58:57] local.INFO: TCP Data received {"connection_id":45521,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d989e08b8012d8089c005c3bd70000600be32..."} 
[2026-04-17 04:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989e08b8012d8089c005c3bd70000600be32..."} 
[2026-04-17 04:58:57] local.INFO: Processing buffer {"connection_id":45521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989e08b8012d8089c005c3bd70000600be32..."} 
[2026-04-17 04:58:57] local.INFO: Packet analysis {"connection_id":45521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 04:58:57] local.INFO: Extracted packet for processing {"connection_id":45521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 04:58:57] local.INFO: GPS Element Parsed {"raw_longitude":763398592,"raw_latitude":96714096,"longitude_deg":76.3398592,"latitude_deg":9.6714096,"altitude":6,"angle":190,"satellites":50,"speed":25,"hex_longitude":"2d8089c0","hex_latitude":"05c3bd70","is_valid_coordinates":true} 
[2026-04-17 04:58: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-04-17 04:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753785344001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273995724956368896,"note":"Value kept but may cause issues"} 
[2026-04-17 04:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9182909984191557632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776381987000,"timestamp_ms":1776381987000,"timestamp_seconds":1776381987,"priority":1,"record_length":96,"hex_timestamp":"0000019d989e08b8"} 
[2026-04-17 04:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:58: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-04-17 04:58:57] local.INFO: IO Element 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-04-17 04:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:58: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-04-17 04:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753785344001,"66":27310,"156":206,"85":12288,"24":25,"16":273995724956368896,"45":-9182909984191557632},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-04-17 04:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753785344001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:58:57] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-04-17 04:58:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273995724956368896,"km_value":273995724956368.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9182909984191557632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753785344001,"power":27310,"unknown_156":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":-9182909984191557632}} 
[2026-04-17 04:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":45521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:58:57] local.INFO: GPS data processed {"connection_id":45521,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:58:57] local.INFO: Acknowledgment sent {"connection_id":45521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:59:16] local.INFO: TCP Data received {"connection_id":45584,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:59:16] local.INFO: Processing buffer {"connection_id":45584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:59:16] local.INFO: IMEI packet received {"connection_id":45584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 04:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":45584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:59:25] local.INFO: TCP Data received {"connection_id":45584,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:59:25] local.INFO: Processing buffer {"connection_id":45584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 04:59:25] local.INFO: IMEI packet received {"connection_id":45584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 04:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":45584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:59:26] local.INFO: TCP Data received {"connection_id":45584,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 04:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 04:59:26] local.INFO: Processing buffer {"connection_id":45584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 04:59:26] local.INFO: Packet analysis {"connection_id":45584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 04:59:26] local.INFO: Extracted packet for processing {"connection_id":45584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 04:59:26] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753723392001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:59:26] 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-04-17 04:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776382033000,"timestamp_ms":1776382033000,"timestamp_seconds":1776382033,"priority":1,"record_length":96,"hex_timestamp":"0000019d989ebc68"} 
[2026-04-17 04:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:59:26] 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-04-17 04:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 04:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753723392001,"66":25756,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753723392001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:59:26] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753723392001,"power":25756,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":45584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19251,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:59:26] local.INFO: GPS data processed {"connection_id":45584,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:59:26] local.INFO: Acknowledgment sent {"connection_id":45584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:59:27] local.INFO: TCP Data received {"connection_id":45584,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 04:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 04:59:27] local.INFO: Processing buffer {"connection_id":45584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 04:59:27] local.INFO: Packet analysis {"connection_id":45584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 04:59:27] local.INFO: Extracted packet for processing {"connection_id":45584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 04:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 04:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753723392001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 04:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 04:59:27] 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-04-17 04:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776382033000,"timestamp_ms":1776382033000,"timestamp_seconds":1776382033,"priority":1,"record_length":96,"hex_timestamp":"0000019d989ebc68"} 
[2026-04-17 04:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:59:27] 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-04-17 04:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 04:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 04:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 04:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 04:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 04:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753723392001,"66":25756,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 04:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 04:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 04:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753723392001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:59:27] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 04:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 04:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753723392001,"power":25756,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 04:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":45584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19252,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:59:27] local.INFO: GPS data processed {"connection_id":45584,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:59:27] local.INFO: Acknowledgment sent {"connection_id":45584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:59:28] local.INFO: TCP Data received {"connection_id":45521,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d989e2028012d8087c005c3b070000600b134..."} 
[2026-04-17 04:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989e2028012d8087c005c3b070000600b134..."} 
[2026-04-17 04:59:28] local.INFO: Processing buffer {"connection_id":45521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989e2028012d8087c005c3b070000600b134..."} 
[2026-04-17 04:59:28] local.INFO: Packet analysis {"connection_id":45521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 04:59:28] local.INFO: Extracted packet for processing {"connection_id":45521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 04:59:28] local.INFO: GPS Element Parsed {"raw_longitude":763398080,"raw_latitude":96710768,"longitude_deg":76.339808,"latitude_deg":9.6710768,"altitude":6,"angle":177,"satellites":52,"speed":19,"hex_longitude":"2d8087c0","hex_latitude":"05c3b070","is_valid_coordinates":true} 
[2026-04-17 04:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 04:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753788672001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273995888165126144,"note":"Value kept but may cause issues"} 
[2026-04-17 04:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184598834054074368,"note":"Value kept but may cause issues"} 
[2026-04-17 04:59:28] 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-04-17 04:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776381993000,"timestamp_ms":1776381993000,"timestamp_seconds":1776381993,"priority":1,"record_length":96,"hex_timestamp":"0000019d989e2028"} 
[2026-04-17 04:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:59: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-04-17 04:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 04:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753788672001,"66":27267,"156":206,"85":12288,"24":19,"16":273995888165126144,"45":-9184598834054074368},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-04-17 04:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753788672001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:59:28] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-04-17 04:59:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273995888165126144,"km_value":273995888165126.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184598834054074368,"description":"Unknown IO ID 45"} 
[2026-04-17 04:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753788672001,"power":27267,"unknown_156":206,"unknown_85":12288,"ignition":19,"odometer":null,"unknown_45":-9184598834054074368}} 
[2026-04-17 04:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":45521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19253,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:59:28] local.INFO: GPS data processed {"connection_id":45521,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:59:28] local.INFO: Acknowledgment sent {"connection_id":45521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 04:59:52] local.INFO: TCP Data received {"connection_id":45522,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:59:52] local.INFO: Processing buffer {"connection_id":45522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:59:52] local.INFO: IMEI packet received {"connection_id":45522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 04:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":45522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 04:59:57] local.INFO: TCP Data received {"connection_id":45522,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:59:57] local.INFO: Processing buffer {"connection_id":45522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 04:59:57] local.INFO: IMEI packet received {"connection_id":45522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 04:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":45522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 04:59:58] local.INFO: TCP Data received {"connection_id":45522,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d989e27f8012d80884005c3ad20000600a333..."} 
[2026-04-17 04:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989e27f8012d80884005c3ad20000600a333..."} 
[2026-04-17 04:59:58] local.INFO: Processing buffer {"connection_id":45522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989e27f8012d80884005c3ad20000600a333..."} 
[2026-04-17 04:59:58] local.INFO: Packet analysis {"connection_id":45522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 04:59:58] local.INFO: Extracted packet for processing {"connection_id":45522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 04:59:58] local.INFO: GPS Element Parsed {"raw_longitude":763398208,"raw_latitude":96709920,"longitude_deg":76.3398208,"latitude_deg":9.670992,"altitude":6,"angle":163,"satellites":51,"speed":15,"hex_longitude":"2d808840","hex_latitude":"05c3ad20","is_valid_coordinates":true} 
[2026-04-17 04: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-04-17 04:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753790208001,"note":"Value kept but may cause issues"} 
[2026-04-17 04:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273995931114799104,"note":"Value kept but may cause issues"} 
[2026-04-17 04:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185161784008347648,"note":"Value kept but may cause issues"} 
[2026-04-17 04:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 04:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776381995000,"timestamp_ms":1776381995000,"timestamp_seconds":1776381995,"priority":1,"record_length":96,"hex_timestamp":"0000019d989e27f8"} 
[2026-04-17 04:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 04:59: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-04-17 04: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 04:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 04: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-04-17 04:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 04:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 04:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 04:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 04:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 04:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 04:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 04:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753790208001,"66":27365,"156":206,"85":12288,"24":15,"16":273995931114799104,"45":-9185161784008347648},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-04-17 04:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 04:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 04:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753790208001,"description":"Unknown IO ID 0"} 
[2026-04-17 04:59:58] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-04-17 04:59:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 04:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273995931114799104,"km_value":273995931114799.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 04:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185161784008347648,"description":"Unknown IO ID 45"} 
[2026-04-17 04:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753790208001,"power":27365,"unknown_156":206,"unknown_85":12288,"ignition":15,"odometer":null,"unknown_45":-9185161784008347648}} 
[2026-04-17 04:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":45522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 04:59:58] local.INFO: GPS data processed {"connection_id":45522,"processed":1,"errors":0,"total":1} 
[2026-04-17 04:59:58] local.INFO: Acknowledgment sent {"connection_id":45522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:00:11] local.INFO: TCP Data received {"connection_id":45585,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:00:11] local.INFO: Processing buffer {"connection_id":45585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:00:11] local.INFO: IMEI packet received {"connection_id":45585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":45585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:00:16] local.INFO: TCP Data received {"connection_id":45585,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:00:16] local.INFO: Processing buffer {"connection_id":45585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:00:16] local.INFO: IMEI packet received {"connection_id":45585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:00:16] local.INFO: IMEI acknowledgment sent {"connection_id":45585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:00:17] local.INFO: TCP Data received {"connection_id":45585,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 05:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 05:00:17] local.INFO: Processing buffer {"connection_id":45585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 05:00:17] local.INFO: Packet analysis {"connection_id":45585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:00:17] local.INFO: Extracted packet for processing {"connection_id":45585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:00:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753723392001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:00:17] 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-04-17 05:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776382033000,"timestamp_ms":1776382033000,"timestamp_seconds":1776382033,"priority":1,"record_length":96,"hex_timestamp":"0000019d989ebc68"} 
[2026-04-17 05:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:00:17] 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-04-17 05: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 05:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753723392001,"66":25756,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753723392001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:00:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753723392001,"power":25756,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":45585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19255,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:00:17] local.INFO: GPS data processed {"connection_id":45585,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:00:17] local.INFO: Acknowledgment sent {"connection_id":45585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:00:29] local.INFO: TCP Data received {"connection_id":45522,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d989e3b80012d808a0005c3a520000500b133..."} 
[2026-04-17 05:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989e3b80012d808a0005c3a520000500b133..."} 
[2026-04-17 05:00:29] local.INFO: Processing buffer {"connection_id":45522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989e3b80012d808a0005c3a520000500b133..."} 
[2026-04-17 05:00:29] local.INFO: Packet analysis {"connection_id":45522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:00:29] local.INFO: Extracted packet for processing {"connection_id":45522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763398656,"raw_latitude":96707872,"longitude_deg":76.3398656,"latitude_deg":9.6707872,"altitude":5,"angle":177,"satellites":51,"speed":18,"hex_longitude":"2d808a00","hex_latitude":"05c3a520","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753790720001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273996034194014208,"note":"Value kept but may cause issues"} 
[2026-04-17 05:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9185021046520209408,"note":"Value kept but may cause issues"} 
[2026-04-17 05:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,156,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776382000000,"timestamp_ms":1776382000000,"timestamp_seconds":1776382000,"priority":1,"record_length":96,"hex_timestamp":"0000019d989e3b80"} 
[2026-04-17 05:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:00: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-04-17 05: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 05:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:00: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-04-17 05:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753790720001,"66":27376,"156":206,"85":12288,"24":18,"16":273996034194014208,"45":-9185021046520209408},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,156,85,24,16,45]} 
[2026-04-17 05:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753790720001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:00:29] local.INFO: Unknown IO ID detected {"io_id":156,"value":206,"description":"Unknown IO ID 156"} 
[2026-04-17 05:00:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273996034194014208,"km_value":273996034194014.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9185021046520209408,"description":"Unknown IO ID 45"} 
[2026-04-17 05:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753790720001,"power":27376,"unknown_156":206,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":-9185021046520209408}} 
[2026-04-17 05:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":45522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:00:29] local.INFO: GPS data processed {"connection_id":45522,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:00:29] local.INFO: Acknowledgment sent {"connection_id":45522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:00:49] local.INFO: TCP Data received {"connection_id":45585,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 05:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 05:00:49] local.INFO: Processing buffer {"connection_id":45585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 05:00:49] local.INFO: Packet analysis {"connection_id":45585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:00:49] local.INFO: Extracted packet for processing {"connection_id":45585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:00:49] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753723392001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:00:49] 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-04-17 05:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776382033000,"timestamp_ms":1776382033000,"timestamp_seconds":1776382033,"priority":1,"record_length":96,"hex_timestamp":"0000019d989ebc68"} 
[2026-04-17 05:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:00:49] 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-04-17 05:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 05:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753723392001,"66":25756,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753723392001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:00:49] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753723392001,"power":25756,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":45585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19257,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:00:49] local.INFO: GPS data processed {"connection_id":45585,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:00:49] local.INFO: Acknowledgment sent {"connection_id":45585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:00:52] local.INFO: TCP Data received {"connection_id":46338,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:00:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:00:52] local.INFO: Processing buffer {"connection_id":46338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:00:52] local.INFO: IMEI packet received {"connection_id":46338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:00:52] local.INFO: IMEI acknowledgment sent {"connection_id":46338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:00:57] local.INFO: TCP Data received {"connection_id":46338,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:00:57] local.INFO: Processing buffer {"connection_id":46338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:00:57] local.INFO: IMEI packet received {"connection_id":46338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":46338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:00:57] local.INFO: TCP Data received {"connection_id":46338,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d989e4738012d8089c005c39f40000600bc34..."} 
[2026-04-17 05:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989e4738012d8089c005c39f40000600bc34..."} 
[2026-04-17 05:00:57] local.INFO: Processing buffer {"connection_id":46338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989e4738012d8089c005c39f40000600bc34..."} 
[2026-04-17 05:00:57] local.INFO: Packet analysis {"connection_id":46338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:00:57] local.INFO: Extracted packet for processing {"connection_id":46338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:00:57] local.INFO: GPS Element Parsed {"raw_longitude":763398592,"raw_latitude":96706368,"longitude_deg":76.3398592,"latitude_deg":9.6706368,"altitude":6,"angle":188,"satellites":52,"speed":21,"hex_longitude":"2d8089c0","hex_latitude":"05c39f40","is_valid_coordinates":true} 
[2026-04-17 05:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753792000001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273996107208458240,"note":"Value kept but may cause issues"} 
[2026-04-17 05:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184528465311490048,"note":"Value kept but may cause issues"} 
[2026-04-17 05:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776382003000,"timestamp_ms":1776382003000,"timestamp_seconds":1776382003,"priority":1,"record_length":96,"hex_timestamp":"0000019d989e4738"} 
[2026-04-17 05:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:00: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-04-17 05:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 05:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753792000001,"66":27300,"179":206,"85":12288,"24":21,"16":273996107208458240,"45":-9184528465311490048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-17 05:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753792000001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:00:57] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-17 05:00:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273996107208458240,"km_value":273996107208458.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184528465311490048,"description":"Unknown IO ID 45"} 
[2026-04-17 05:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753792000001,"power":27300,"unknown_179":206,"unknown_85":12288,"ignition":21,"odometer":null,"unknown_45":-9184528465311490048}} 
[2026-04-17 05:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":46338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:00:58] local.INFO: GPS data processed {"connection_id":46338,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:00:58] local.INFO: Acknowledgment sent {"connection_id":46338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:01:05] local.INFO: TCP Data received {"connection_id":45523,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:01:05] local.INFO: Processing buffer {"connection_id":45523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:01:05] local.INFO: IMEI packet received {"connection_id":45523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":45523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:01:12] local.INFO: TCP Data received {"connection_id":45523,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:01:12] local.INFO: Processing buffer {"connection_id":45523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:01:12] local.INFO: IMEI packet received {"connection_id":45523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:01:12] local.INFO: IMEI acknowledgment sent {"connection_id":45523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:01:13] local.INFO: TCP Data received {"connection_id":45523,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 05:01:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 05:01:13] local.INFO: Processing buffer {"connection_id":45523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 05:01:13] local.INFO: Packet analysis {"connection_id":45523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:01:13] local.INFO: Extracted packet for processing {"connection_id":45523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:01:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:01:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753723392001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:01:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:01:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:01:13] 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-04-17 05:01:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776382033000,"timestamp_ms":1776382033000,"timestamp_seconds":1776382033,"priority":1,"record_length":96,"hex_timestamp":"0000019d989ebc68"} 
[2026-04-17 05:01:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:01:13] 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-04-17 05:01:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 05:01:13] 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-04-17 05:01:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:01:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:01:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:01:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:01:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45523,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:01:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45523,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:01:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:01:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:01:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:01:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753723392001,"66":25756,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:01:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:01:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:01:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753723392001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:01:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:01:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:01:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:01:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753723392001,"power":25756,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:01:13] local.INFO: DEBUG: GPS processor result {"connection_id":45523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19259,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:01:13] local.INFO: GPS data processed {"connection_id":45523,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:01:13] local.INFO: Acknowledgment sent {"connection_id":45523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:01:29] local.INFO: TCP Data received {"connection_id":46338,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d989e81d0012d80840005c37bb8000500bc33..."} 
[2026-04-17 05:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989e81d0012d80840005c37bb8000500bc33..."} 
[2026-04-17 05:01:29] local.INFO: Processing buffer {"connection_id":46338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989e81d0012d80840005c37bb8000500bc33..."} 
[2026-04-17 05:01:29] local.INFO: Packet analysis {"connection_id":46338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:01:29] local.INFO: Extracted packet for processing {"connection_id":46338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:01:29] local.INFO: GPS Element Parsed {"raw_longitude":763397120,"raw_latitude":96697272,"longitude_deg":76.339712,"latitude_deg":9.6697272,"altitude":5,"angle":188,"satellites":51,"speed":22,"hex_longitude":"2d808400","hex_latitude":"05c37bb8","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753792768001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273996553885057024,"note":"Value kept but may cause issues"} 
[2026-04-17 05:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9184598834056052736,"note":"Value kept but may cause issues"} 
[2026-04-17 05:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776382018000,"timestamp_ms":1776382018000,"timestamp_seconds":1776382018,"priority":1,"record_length":96,"hex_timestamp":"0000019d989e81d0"} 
[2026-04-17 05:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:01: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-04-17 05: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 05:01: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-04-17 05: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-04-17 05:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:01: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-04-17 05:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753792768001,"66":27484,"179":206,"85":12288,"24":22,"16":273996553885057024,"45":-9184598834056052736},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-17 05:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753792768001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:01:29] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-17 05:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273996553885057024,"km_value":273996553885057.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9184598834056052736,"description":"Unknown IO ID 45"} 
[2026-04-17 05:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753792768001,"power":27484,"unknown_179":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":-9184598834056052736}} 
[2026-04-17 05:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":46338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19260,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:01:29] local.INFO: GPS data processed {"connection_id":46338,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:01:29] local.INFO: Acknowledgment sent {"connection_id":46338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:01:45] local.INFO: TCP Data received {"connection_id":45523,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 05:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 05:01:45] local.INFO: Processing buffer {"connection_id":45523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 05:01:45] local.INFO: Packet analysis {"connection_id":45523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:01:45] local.INFO: Extracted packet for processing {"connection_id":45523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:01:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753723392001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:01:45] 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-04-17 05:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776382033000,"timestamp_ms":1776382033000,"timestamp_seconds":1776382033,"priority":1,"record_length":96,"hex_timestamp":"0000019d989ebc68"} 
[2026-04-17 05:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:01:45] 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-04-17 05: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 05:01:45] 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-04-17 05: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-04-17 05:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45523,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45523,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753723392001,"66":25756,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753723392001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:01:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753723392001,"power":25756,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":45523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19261,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:01:45] local.INFO: GPS data processed {"connection_id":45523,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:01:45] local.INFO: Acknowledgment sent {"connection_id":45523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:01:52] local.INFO: TCP Data received {"connection_id":45524,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:01:52] local.INFO: Processing buffer {"connection_id":45524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:01:52] local.INFO: IMEI packet received {"connection_id":45524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":45524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:01:57] local.INFO: TCP Data received {"connection_id":45524,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45524,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:01:57] local.INFO: Processing buffer {"connection_id":45524,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:01:57] local.INFO: IMEI packet received {"connection_id":45524,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":45524,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:01:57] local.INFO: TCP Data received {"connection_id":45524,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d989ec050012d807e8005c358d8000500c432..."} 
[2026-04-17 05:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989ec050012d807e8005c358d8000500c432..."} 
[2026-04-17 05:01:57] local.INFO: Processing buffer {"connection_id":45524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989ec050012d807e8005c358d8000500c432..."} 
[2026-04-17 05:01:57] local.INFO: Packet analysis {"connection_id":45524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:01:57] local.INFO: Extracted packet for processing {"connection_id":45524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:01:57] local.INFO: GPS Element Parsed {"raw_longitude":763395712,"raw_latitude":96688344,"longitude_deg":76.3395712,"latitude_deg":9.6688344,"altitude":5,"angle":196,"satellites":50,"speed":22,"hex_longitude":"2d807e80","hex_latitude":"05c358d8","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753796608001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273996991971721216,"note":"Value kept but may cause issues"} 
[2026-04-17 05:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9186217315174467584,"note":"Value kept but may cause issues"} 
[2026-04-17 05:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776382034000,"timestamp_ms":1776382034000,"timestamp_seconds":1776382034,"priority":1,"record_length":96,"hex_timestamp":"0000019d989ec050"} 
[2026-04-17 05:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:01: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-04-17 05: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 05:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753796608001,"66":27604,"179":206,"85":12288,"24":22,"16":273996991971721216,"45":-9186217315174467584},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-17 05:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753796608001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:01:57] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-17 05:01:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273996991971721216,"km_value":273996991971721.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9186217315174467584,"description":"Unknown IO ID 45"} 
[2026-04-17 05:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753796608001,"power":27604,"unknown_179":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":-9186217315174467584}} 
[2026-04-17 05:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":45524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:01:57] local.INFO: GPS data processed {"connection_id":45524,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:01:57] local.INFO: Acknowledgment sent {"connection_id":45524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:02:16] local.INFO: TCP Data received {"connection_id":46339,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:02:16] local.INFO: Processing buffer {"connection_id":46339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:02:16] local.INFO: IMEI packet received {"connection_id":46339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":46339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:02:17] local.INFO: TCP Data received {"connection_id":46339,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46339,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:02:17] local.INFO: Processing buffer {"connection_id":46339,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:02:17] local.INFO: IMEI packet received {"connection_id":46339,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":46339,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:02:18] local.INFO: TCP Data received {"connection_id":46339,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 05:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 05:02:18] local.INFO: Processing buffer {"connection_id":46339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 05:02:18] local.INFO: Packet analysis {"connection_id":46339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:02:18] local.INFO: Extracted packet for processing {"connection_id":46339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:02:18] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:02:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753723392001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:02:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:02:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:02:18] 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-04-17 05:02:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776382033000,"timestamp_ms":1776382033000,"timestamp_seconds":1776382033,"priority":1,"record_length":96,"hex_timestamp":"0000019d989ebc68"} 
[2026-04-17 05:02:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:02:18] 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-04-17 05:02:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 05:02:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:02:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:02:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:02:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:02:18] local.INFO: Teltonika packet parsed successfully {"connection_id":46339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:02:18] local.INFO: Passing IMEI to GPS processor {"connection_id":46339,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:02:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":46339,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:02:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:02:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:02:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:02:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753723392001,"66":25756,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:02:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:02:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:02:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753723392001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:02:18] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:02:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:02:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:02:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753723392001,"power":25756,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:02:18] local.INFO: DEBUG: GPS processor result {"connection_id":46339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19263,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:02:18] local.INFO: GPS data processed {"connection_id":46339,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:02:18] local.INFO: Acknowledgment sent {"connection_id":46339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:02:21] local.INFO: TCP Data received {"connection_id":46339,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 05:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 05:02:21] local.INFO: Processing buffer {"connection_id":46339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989ebc68012d1b598006d4d5980011013831..."} 
[2026-04-17 05:02:21] local.INFO: Packet analysis {"connection_id":46339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:02:21] local.INFO: Extracted packet for processing {"connection_id":46339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:02:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753723392001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:02:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:02:21] 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-04-17 05:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776382033000,"timestamp_ms":1776382033000,"timestamp_seconds":1776382033,"priority":1,"record_length":96,"hex_timestamp":"0000019d989ebc68"} 
[2026-04-17 05:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:02:21] 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-04-17 05:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 05:02:21] 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-04-17 05:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46339,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46339,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753723392001,"66":25756,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753723392001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:02:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:02:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:02:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753723392001,"power":25756,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:02:21] local.INFO: DEBUG: GPS processor result {"connection_id":46339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19264,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:02:21] local.INFO: GPS data processed {"connection_id":46339,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:02:21] local.INFO: Acknowledgment sent {"connection_id":46339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:02:29] local.INFO: TCP Data received {"connection_id":45524,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d989ecc08012d807bc005c352c0000500cb30..."} 
[2026-04-17 05:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989ecc08012d807bc005c352c0000500cb30..."} 
[2026-04-17 05:02:29] local.INFO: Processing buffer {"connection_id":45524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989ecc08012d807bc005c352c0000500cb30..."} 
[2026-04-17 05:02:29] local.INFO: Packet analysis {"connection_id":45524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:02:29] local.INFO: Extracted packet for processing {"connection_id":45524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:02:29] local.INFO: GPS Element Parsed {"raw_longitude":763395008,"raw_latitude":96686784,"longitude_deg":76.3395008,"latitude_deg":9.6686784,"altitude":5,"angle":203,"satellites":48,"speed":22,"hex_longitude":"2d807bc0","hex_latitude":"05c352c0","is_valid_coordinates":true} 
[2026-04-17 05:02: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-04-17 05:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753800704001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273997073576099840,"note":"Value kept but may cause issues"} 
[2026-04-17 05:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9187765427548661760,"note":"Value kept but may cause issues"} 
[2026-04-17 05:02:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776382037000,"timestamp_ms":1776382037000,"timestamp_seconds":1776382037,"priority":1,"record_length":96,"hex_timestamp":"0000019d989ecc08"} 
[2026-04-17 05:02:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:02: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-04-17 05: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":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-17 05:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:02:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45524,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:02: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-04-17 05:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753800704001,"66":27745,"179":206,"85":12288,"24":22,"16":273997073576099840,"45":-9187765427548661760},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-17 05:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753800704001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:02:29] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-17 05:02:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273997073576099840,"km_value":273997073576099.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9187765427548661760,"description":"Unknown IO ID 45"} 
[2026-04-17 05:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753800704001,"power":27745,"unknown_179":206,"unknown_85":12288,"ignition":22,"odometer":null,"unknown_45":-9187765427548661760}} 
[2026-04-17 05:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":45524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:02:29] local.INFO: GPS data processed {"connection_id":45524,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:02:29] local.INFO: Acknowledgment sent {"connection_id":45524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:02:51] local.INFO: TCP Data received {"connection_id":45525,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:02:51] local.INFO: Processing buffer {"connection_id":45525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:02:51] local.INFO: IMEI packet received {"connection_id":45525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":45525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:02:57] local.INFO: TCP Data received {"connection_id":45525,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45525,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:02:57] local.INFO: Processing buffer {"connection_id":45525,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:02:57] local.INFO: IMEI packet received {"connection_id":45525,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":45525,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:02:57] local.INFO: TCP Data received {"connection_id":45525,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d989ed3d8012d807a8005c34ea8000600bc33..."} 
[2026-04-17 05:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d989ed3d8012d807a8005c34ea8000600bc33..."} 
[2026-04-17 05:02:57] local.INFO: Processing buffer {"connection_id":45525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d989ed3d8012d807a8005c34ea8000600bc33..."} 
[2026-04-17 05:02:57] local.INFO: Packet analysis {"connection_id":45525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:02:57] local.INFO: Extracted packet for processing {"connection_id":45525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d989e"} 
[2026-04-17 05:02:57] local.INFO: GPS Element Parsed {"raw_longitude":763394688,"raw_latitude":96685736,"longitude_deg":76.3394688,"latitude_deg":9.6685736,"altitude":6,"angle":188,"satellites":51,"speed":20,"hex_longitude":"2d807a80","hex_latitude":"05c34ea8","is_valid_coordinates":true} 
[2026-04-17 05:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753801472001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273997073576099840,"note":"Value kept but may cause issues"} 
[2026-04-17 05:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188539483735015424,"note":"Value kept but may cause issues"} 
[2026-04-17 05:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776382039000,"timestamp_ms":1776382039000,"timestamp_seconds":1776382039,"priority":1,"record_length":96,"hex_timestamp":"0000019d989ed3d8"} 
[2026-04-17 05:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 05:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753801472001,"66":27930,"179":206,"85":12288,"24":20,"16":273997073576099840,"45":-9188539483735015424},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-17 05:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753801472001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:02:57] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-17 05:02:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273997073576099840,"km_value":273997073576099.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188539483735015424,"description":"Unknown IO ID 45"} 
[2026-04-17 05:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753801472001,"power":27930,"unknown_179":206,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":-9188539483735015424}} 
[2026-04-17 05:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":45525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:02:57] local.INFO: GPS data processed {"connection_id":45525,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:02:57] local.INFO: Acknowledgment sent {"connection_id":45525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:03:05] local.INFO: TCP Data received {"connection_id":45586,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:03:05] local.INFO: Processing buffer {"connection_id":45586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:03:05] local.INFO: IMEI packet received {"connection_id":45586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":45586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:03:11] local.INFO: TCP Data received {"connection_id":45586,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45586,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:03:11] local.INFO: Processing buffer {"connection_id":45586,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:03:11] local.INFO: IMEI packet received {"connection_id":45586,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":45586,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:03:12] local.INFO: TCP Data received {"connection_id":45586,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:03:12] local.INFO: Processing buffer {"connection_id":45586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:03:12] local.INFO: Packet analysis {"connection_id":45586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:03:12] local.INFO: Extracted packet for processing {"connection_id":45586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753800448001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:03:12] 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-04-17 05:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776382334000,"timestamp_ms":1776382334000,"timestamp_seconds":1776382334,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a35430"} 
[2026-04-17 05:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:03: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-04-17 05:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 05:03:12] 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-04-17 05:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753800448001,"66":25702,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753800448001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:03:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753800448001,"power":25702,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":45586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19267,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:03:12] local.INFO: GPS data processed {"connection_id":45586,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:03:12] local.INFO: Acknowledgment sent {"connection_id":45586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:03:29] local.INFO: TCP Data received {"connection_id":45525,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a36ba0012d8076c005c32ec8000600b933..."} 
[2026-04-17 05:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a36ba0012d8076c005c32ec8000600b933..."} 
[2026-04-17 05:03:29] local.INFO: Processing buffer {"connection_id":45525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a36ba0012d8076c005c32ec8000600b933..."} 
[2026-04-17 05:03:29] local.INFO: Packet analysis {"connection_id":45525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:03:29] local.INFO: Extracted packet for processing {"connection_id":45525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:03:29] local.INFO: GPS Element Parsed {"raw_longitude":763393728,"raw_latitude":96677576,"longitude_deg":76.3393728,"latitude_deg":9.6677576,"altitude":6,"angle":185,"satellites":51,"speed":0,"hex_longitude":"2d8076c0","hex_latitude":"05c32ec8","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:03:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753801984001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:03:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273997073576099840,"note":"Value kept but may cause issues"} 
[2026-04-17 05:03:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188891327456172032,"note":"Value kept but may cause issues"} 
[2026-04-17 05:03:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:03:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776382340000,"timestamp_ms":1776382340000,"timestamp_seconds":1776382340,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a36ba0"} 
[2026-04-17 05:03:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:03:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-17 05:03:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:03:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:03:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:03:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:03:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:03:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45525,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:03: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-04-17 05:03:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:03:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:03:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753801984001,"66":25419,"179":206,"85":12288,"24":0,"16":273997073576099840,"45":-9188891327456172032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-17 05:03:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:03:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:03:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753801984001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:03:29] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-17 05:03:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:03:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273997073576099840,"km_value":273997073576099.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:03:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188891327456172032,"description":"Unknown IO ID 45"} 
[2026-04-17 05:03:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753801984001,"power":25419,"unknown_179":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9188891327456172032}} 
[2026-04-17 05:03:29] local.INFO: DEBUG: GPS processor result {"connection_id":45525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:03:29] local.INFO: GPS data processed {"connection_id":45525,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:03:29] local.INFO: Acknowledgment sent {"connection_id":45525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:03:45] local.INFO: TCP Data received {"connection_id":45586,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:03:45] local.INFO: Processing buffer {"connection_id":45586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:03:45] local.INFO: Packet analysis {"connection_id":45586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:03:45] local.INFO: Extracted packet for processing {"connection_id":45586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:03:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753800448001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:03:45] 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-04-17 05:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776382334000,"timestamp_ms":1776382334000,"timestamp_seconds":1776382334,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a35430"} 
[2026-04-17 05:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:03:45] 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-04-17 05:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 05:03:45] 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-04-17 05:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45586,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753800448001,"66":25702,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753800448001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:03:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753800448001,"power":25702,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":45586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19269,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:03:45] local.INFO: GPS data processed {"connection_id":45586,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:03:45] local.INFO: Acknowledgment sent {"connection_id":45586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:03:52] local.INFO: TCP Data received {"connection_id":45784,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:03:52] local.INFO: Processing buffer {"connection_id":45784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:03:52] local.INFO: IMEI packet received {"connection_id":45784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":45784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:03:57] local.INFO: TCP Data received {"connection_id":45784,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45784,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:03:57] local.INFO: Processing buffer {"connection_id":45784,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:03:57] local.INFO: IMEI packet received {"connection_id":45784,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":45784,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:03:58] local.INFO: TCP Data received {"connection_id":45784,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a36ba0012d8076c005c32ec8000600b933..."} 
[2026-04-17 05:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a36ba0012d8076c005c32ec8000600b933..."} 
[2026-04-17 05:03:58] local.INFO: Processing buffer {"connection_id":45784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a36ba0012d8076c005c32ec8000600b933..."} 
[2026-04-17 05:03:58] local.INFO: Packet analysis {"connection_id":45784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:03:58] local.INFO: Extracted packet for processing {"connection_id":45784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763393728,"raw_latitude":96677576,"longitude_deg":76.3393728,"latitude_deg":9.6677576,"altitude":6,"angle":185,"satellites":51,"speed":0,"hex_longitude":"2d8076c0","hex_latitude":"05c32ec8","is_valid_coordinates":true} 
[2026-04-17 05:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753801984001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273997073576099840,"note":"Value kept but may cause issues"} 
[2026-04-17 05:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188891327456172032,"note":"Value kept but may cause issues"} 
[2026-04-17 05:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776382340000,"timestamp_ms":1776382340000,"timestamp_seconds":1776382340,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a36ba0"} 
[2026-04-17 05:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-17 05:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753801984001,"66":25419,"179":206,"85":12288,"24":0,"16":273997073576099840,"45":-9188891327456172032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-17 05:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753801984001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:03:58] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-17 05:03:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273997073576099840,"km_value":273997073576099.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188891327456172032,"description":"Unknown IO ID 45"} 
[2026-04-17 05:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753801984001,"power":25419,"unknown_179":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9188891327456172032}} 
[2026-04-17 05:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":45784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:03:58] local.INFO: GPS data processed {"connection_id":45784,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:03:58] local.INFO: Acknowledgment sent {"connection_id":45784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:04:06] local.INFO: TCP Data received {"connection_id":45587,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:04:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:04:06] local.INFO: Processing buffer {"connection_id":45587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:04:06] local.INFO: IMEI packet received {"connection_id":45587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:04:06] local.INFO: IMEI acknowledgment sent {"connection_id":45587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:04:12] local.INFO: TCP Data received {"connection_id":45587,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45587,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:04:12] local.INFO: Processing buffer {"connection_id":45587,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:04:12] local.INFO: IMEI packet received {"connection_id":45587,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:04:12] local.INFO: IMEI acknowledgment sent {"connection_id":45587,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:04:14] local.INFO: TCP Data received {"connection_id":45587,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:04:14] local.INFO: Processing buffer {"connection_id":45587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:04:14] local.INFO: Packet analysis {"connection_id":45587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:04:14] local.INFO: Extracted packet for processing {"connection_id":45587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:04:14] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:04:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753800448001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:04:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:04:14] 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-04-17 05:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776382334000,"timestamp_ms":1776382334000,"timestamp_seconds":1776382334,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a35430"} 
[2026-04-17 05:04:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:04:14] 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-04-17 05: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 05:04:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:04:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753800448001,"66":25702,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753800448001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:04:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:04:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:04:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753800448001,"power":25702,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":45587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19271,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:04:14] local.INFO: GPS data processed {"connection_id":45587,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:04:14] local.INFO: Acknowledgment sent {"connection_id":45587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:04:29] local.INFO: TCP Data received {"connection_id":45784,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a36ba0012d8076c005c32ec8000600b933..."} 
[2026-04-17 05:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a36ba0012d8076c005c32ec8000600b933..."} 
[2026-04-17 05:04:29] local.INFO: Processing buffer {"connection_id":45784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a36ba0012d8076c005c32ec8000600b933..."} 
[2026-04-17 05:04:29] local.INFO: Packet analysis {"connection_id":45784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:04:29] local.INFO: Extracted packet for processing {"connection_id":45784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:04:29] local.INFO: GPS Element Parsed {"raw_longitude":763393728,"raw_latitude":96677576,"longitude_deg":76.3393728,"latitude_deg":9.6677576,"altitude":6,"angle":185,"satellites":51,"speed":0,"hex_longitude":"2d8076c0","hex_latitude":"05c32ec8","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753801984001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273997073576099840,"note":"Value kept but may cause issues"} 
[2026-04-17 05:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9188891327456172032,"note":"Value kept but may cause issues"} 
[2026-04-17 05:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776382340000,"timestamp_ms":1776382340000,"timestamp_seconds":1776382340,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a36ba0"} 
[2026-04-17 05:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-17 05:04:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":977,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45784,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:04: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-04-17 05:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753801984001,"66":25419,"179":206,"85":12288,"24":0,"16":273997073576099840,"45":-9188891327456172032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-17 05:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753801984001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:04:29] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-17 05:04:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273997073576099840,"km_value":273997073576099.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9188891327456172032,"description":"Unknown IO ID 45"} 
[2026-04-17 05:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753801984001,"power":25419,"unknown_179":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9188891327456172032}} 
[2026-04-17 05:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":45784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:04:29] local.INFO: GPS data processed {"connection_id":45784,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:04:29] local.INFO: Acknowledgment sent {"connection_id":45784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:04:46] local.INFO: TCP Data received {"connection_id":45587,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:04:46] local.INFO: Processing buffer {"connection_id":45587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:04:46] local.INFO: Packet analysis {"connection_id":45587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:04:46] local.INFO: Extracted packet for processing {"connection_id":45587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:04:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753800448001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:04:46] 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-04-17 05:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776382334000,"timestamp_ms":1776382334000,"timestamp_seconds":1776382334,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a35430"} 
[2026-04-17 05:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:04:46] 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-04-17 05:04:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 05:04:46] 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-04-17 05:04:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45587,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753800448001,"66":25702,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753800448001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:04:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753800448001,"power":25702,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":45587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19273,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:04:46] local.INFO: GPS data processed {"connection_id":45587,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:04:46] local.INFO: Acknowledgment sent {"connection_id":45587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:04:52] local.INFO: TCP Data received {"connection_id":46340,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:04:52] local.INFO: Processing buffer {"connection_id":46340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:04:52] local.INFO: IMEI packet received {"connection_id":46340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":46340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:04:57] local.INFO: TCP Data received {"connection_id":46340,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46340,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:04:57] local.INFO: Processing buffer {"connection_id":46340,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:04:57] local.INFO: IMEI packet received {"connection_id":46340,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":46340,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:04:57] local.INFO: TCP Data received {"connection_id":46340,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a501e0012d8076c005c32ec8000600b935..."} 
[2026-04-17 05:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a501e0012d8076c005c32ec8000600b935..."} 
[2026-04-17 05:04:57] local.INFO: Processing buffer {"connection_id":46340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a501e0012d8076c005c32ec8000600b935..."} 
[2026-04-17 05:04:57] local.INFO: Packet analysis {"connection_id":46340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a5"} 
[2026-04-17 05:04:57] local.INFO: Extracted packet for processing {"connection_id":46340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a5"} 
[2026-04-17 05:04:57] local.INFO: GPS Element Parsed {"raw_longitude":763393728,"raw_latitude":96677576,"longitude_deg":76.3393728,"latitude_deg":9.6677576,"altitude":6,"angle":185,"satellites":53,"speed":0,"hex_longitude":"2d8076c0","hex_latitude":"05c32ec8","is_valid_coordinates":true} 
[2026-04-17 05:04: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-04-17 05:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753879040001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273997073576099840,"note":"Value kept but may cause issues"} 
[2026-04-17 05:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189946858620925952,"note":"Value kept but may cause issues"} 
[2026-04-17 05:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776382444000,"timestamp_ms":1776382444000,"timestamp_seconds":1776382444,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a501e0"} 
[2026-04-17 05:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 05:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753879040001,"66":25158,"179":206,"85":12288,"24":0,"16":273997073576099840,"45":-9189946858620925952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-17 05:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753879040001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:04:57] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-17 05:04:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273997073576099840,"km_value":273997073576099.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189946858620925952,"description":"Unknown IO ID 45"} 
[2026-04-17 05:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753879040001,"power":25158,"unknown_179":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9189946858620925952}} 
[2026-04-17 05:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":46340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:04:57] local.INFO: GPS data processed {"connection_id":46340,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:04:57] local.INFO: Acknowledgment sent {"connection_id":46340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:05:11] local.INFO: TCP Data received {"connection_id":45526,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:05:11] local.INFO: Processing buffer {"connection_id":45526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:05:11] local.INFO: IMEI packet received {"connection_id":45526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":45526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:05:19] local.INFO: TCP Data received {"connection_id":45526,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45526,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:05:19] local.INFO: Processing buffer {"connection_id":45526,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:05:19] local.INFO: IMEI packet received {"connection_id":45526,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:05:19] local.INFO: IMEI acknowledgment sent {"connection_id":45526,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:05:20] local.INFO: TCP Data received {"connection_id":45526,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:05:20] local.INFO: Processing buffer {"connection_id":45526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:05:20] local.INFO: Packet analysis {"connection_id":45526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:05:20] local.INFO: Extracted packet for processing {"connection_id":45526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:05:20] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:05:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753800448001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:05:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:05:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:05:20] 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-04-17 05:05:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776382334000,"timestamp_ms":1776382334000,"timestamp_seconds":1776382334,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a35430"} 
[2026-04-17 05:05:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:05:20] 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-04-17 05: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 05:05:20] 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-04-17 05: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-04-17 05:05:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:05:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:05:20] local.INFO: Teltonika packet parsed successfully {"connection_id":45526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:05:20] local.INFO: Passing IMEI to GPS processor {"connection_id":45526,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:05:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":45526,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:05:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:05:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:05:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:05:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753800448001,"66":25702,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:05:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:05:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:05:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753800448001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:05:20] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:05:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:05:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:05:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753800448001,"power":25702,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:05:20] local.INFO: DEBUG: GPS processor result {"connection_id":45526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19275,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:05:20] local.INFO: GPS data processed {"connection_id":45526,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:05:20] local.INFO: Acknowledgment sent {"connection_id":45526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:05:29] local.INFO: TCP Data received {"connection_id":46340,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a56770012d80748005c326c8000600bc33..."} 
[2026-04-17 05:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46340,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a56770012d80748005c326c8000600bc33..."} 
[2026-04-17 05:05:29] local.INFO: Processing buffer {"connection_id":46340,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a56770012d80748005c326c8000600bc33..."} 
[2026-04-17 05:05:29] local.INFO: Packet analysis {"connection_id":46340,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a5"} 
[2026-04-17 05:05:29] local.INFO: Extracted packet for processing {"connection_id":46340,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a5"} 
[2026-04-17 05:05:29] local.INFO: GPS Element Parsed {"raw_longitude":763393152,"raw_latitude":96675528,"longitude_deg":76.3393152,"latitude_deg":9.6675528,"altitude":6,"angle":188,"satellites":51,"speed":0,"hex_longitude":"2d807480","hex_latitude":"05c326c8","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753905664001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273997073576099840,"note":"Value kept but may cause issues"} 
[2026-04-17 05:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9189946858620925952,"note":"Value kept but may cause issues"} 
[2026-04-17 05:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776382470000,"timestamp_ms":1776382470000,"timestamp_seconds":1776382470,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a56770"} 
[2026-04-17 05:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:05: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-04-17 05: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 05:05:29] 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-04-17 05: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-04-17 05:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46340,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46340,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:05:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753905664001,"66":27376,"179":206,"85":12288,"24":0,"16":273997073576099840,"45":-9189946858620925952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-17 05:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753905664001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:05:29] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-17 05:05:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273997073576099840,"km_value":273997073576099.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9189946858620925952,"description":"Unknown IO ID 45"} 
[2026-04-17 05:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753905664001,"power":27376,"unknown_179":206,"unknown_85":12288,"ignition":0,"odometer":null,"unknown_45":-9189946858620925952}} 
[2026-04-17 05:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":46340,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:05:29] local.INFO: GPS data processed {"connection_id":46340,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:05:29] local.INFO: Acknowledgment sent {"connection_id":46340,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:05:57] local.INFO: TCP Data received {"connection_id":45785,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:05:57] local.INFO: Processing buffer {"connection_id":45785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:05:57] local.INFO: IMEI packet received {"connection_id":45785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":45785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:06:00] local.INFO: TCP Data received {"connection_id":45785,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45785,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:06:00] local.INFO: Processing buffer {"connection_id":45785,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:06:00] local.INFO: IMEI packet received {"connection_id":45785,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":45785,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:06:00] local.INFO: TCP Data received {"connection_id":45785,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a5b978012d80748005c325f0000700c135..."} 
[2026-04-17 05:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a5b978012d80748005c325f0000700c135..."} 
[2026-04-17 05:06:00] local.INFO: Processing buffer {"connection_id":45785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a5b978012d80748005c325f0000700c135..."} 
[2026-04-17 05:06:00] local.INFO: Packet analysis {"connection_id":45785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a5"} 
[2026-04-17 05:06:00] local.INFO: Extracted packet for processing {"connection_id":45785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a5"} 
[2026-04-17 05:06:00] local.INFO: GPS Element Parsed {"raw_longitude":763393152,"raw_latitude":96675312,"longitude_deg":76.3393152,"latitude_deg":9.6675312,"altitude":7,"angle":193,"satellites":53,"speed":4,"hex_longitude":"2d807480","hex_latitude":"05c325f0","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753912320001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273997086461001728,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190580177319049216,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776382491000,"timestamp_ms":1776382491000,"timestamp_seconds":1776382491,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a5b978"} 
[2026-04-17 05:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 05:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753912320001,"66":27310,"179":206,"85":12288,"24":4,"16":273997086461001728,"45":-9190580177319049216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-17 05:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753912320001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:06:00] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-17 05:06:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273997086461001728,"km_value":273997086461001.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190580177319049216,"description":"Unknown IO ID 45"} 
[2026-04-17 05:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753912320001,"power":27310,"unknown_179":206,"unknown_85":12288,"ignition":4,"odometer":null,"unknown_45":-9190580177319049216}} 
[2026-04-17 05:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":45785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:06:01] local.INFO: GPS data processed {"connection_id":45785,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:06:01] local.INFO: Acknowledgment sent {"connection_id":45785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:06:02] local.INFO: TCP Data received {"connection_id":45785,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a603b0012d806dc005c30238000700bd35..."} 
[2026-04-17 05:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a603b0012d806dc005c30238000700bd35..."} 
[2026-04-17 05:06:02] local.INFO: Processing buffer {"connection_id":45785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a603b0012d806dc005c30238000700bd35..."} 
[2026-04-17 05:06:02] local.INFO: Packet analysis {"connection_id":45785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a6"} 
[2026-04-17 05:06:02] local.INFO: Extracted packet for processing {"connection_id":45785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a6"} 
[2026-04-17 05:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763391424,"raw_latitude":96666168,"longitude_deg":76.3391424,"latitude_deg":9.6666168,"altitude":7,"angle":189,"satellites":53,"speed":27,"hex_longitude":"2d806dc0","hex_latitude":"05c30238","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753917696001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273997537432567808,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190580177319104512,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776382510000,"timestamp_ms":1776382510000,"timestamp_seconds":1776382510,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a603b0"} 
[2026-04-17 05:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 05: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":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 05:06:02] 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-04-17 05: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-04-17 05:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753917696001,"66":27463,"179":206,"85":12288,"24":27,"16":273997537432567808,"45":-9190580177319104512},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-17 05:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753917696001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:06:02] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-17 05:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273997537432567808,"km_value":273997537432567.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190580177319104512,"description":"Unknown IO ID 45"} 
[2026-04-17 05:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753917696001,"power":27463,"unknown_179":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":-9190580177319104512}} 
[2026-04-17 05:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":45785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:06:02] local.INFO: GPS data processed {"connection_id":45785,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:06:02] local.INFO: Acknowledgment sent {"connection_id":45785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:06:12] local.INFO: TCP Data received {"connection_id":45527,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:06:12] local.INFO: Processing buffer {"connection_id":45527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:06:12] local.INFO: IMEI packet received {"connection_id":45527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:06:12] local.INFO: IMEI acknowledgment sent {"connection_id":45527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:06:20] local.INFO: TCP Data received {"connection_id":45527,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45527,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:06:20] local.INFO: Processing buffer {"connection_id":45527,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:06:20] local.INFO: IMEI packet received {"connection_id":45527,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":45527,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:06:21] local.INFO: TCP Data received {"connection_id":45527,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:06:21] local.INFO: Processing buffer {"connection_id":45527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:06:21] local.INFO: Packet analysis {"connection_id":45527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:06:21] local.INFO: Extracted packet for processing {"connection_id":45527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:06:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753800448001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:21] 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-04-17 05:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776382334000,"timestamp_ms":1776382334000,"timestamp_seconds":1776382334,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a35430"} 
[2026-04-17 05:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:06:21] 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-04-17 05: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 05:06:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753800448001,"66":25702,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753800448001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:06:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753800448001,"power":25702,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":45527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19279,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:06:21] local.INFO: GPS data processed {"connection_id":45527,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:06:21] local.INFO: Acknowledgment sent {"connection_id":45527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:06:22] local.INFO: TCP Data received {"connection_id":45527,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:06:22] local.INFO: Processing buffer {"connection_id":45527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:06:22] local.INFO: Packet analysis {"connection_id":45527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:06:22] local.INFO: Extracted packet for processing {"connection_id":45527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:06:22] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753800448001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:22] 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-04-17 05:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776382334000,"timestamp_ms":1776382334000,"timestamp_seconds":1776382334,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a35430"} 
[2026-04-17 05:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:06:22] 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-04-17 05: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 05:06:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45527,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753800448001,"66":25702,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753800448001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:06:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:06:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:06:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753800448001,"power":25702,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":45527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:06:22] local.INFO: GPS data processed {"connection_id":45527,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:06:22] local.INFO: Acknowledgment sent {"connection_id":45527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:06:33] local.INFO: TCP Data received {"connection_id":45785,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a63290012d80680005c2de38000700be35..."} 
[2026-04-17 05:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a63290012d80680005c2de38000700be35..."} 
[2026-04-17 05:06:33] local.INFO: Processing buffer {"connection_id":45785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a63290012d80680005c2de38000700be35..."} 
[2026-04-17 05:06:33] local.INFO: Packet analysis {"connection_id":45785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a6"} 
[2026-04-17 05:06:33] local.INFO: Extracted packet for processing {"connection_id":45785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a6"} 
[2026-04-17 05:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763389952,"raw_latitude":96656952,"longitude_deg":76.3389952,"latitude_deg":9.6656952,"altitude":7,"angle":190,"satellites":53,"speed":34,"hex_longitude":"2d806800","hex_latitude":"05c2de38","is_valid_coordinates":true} 
[2026-04-17 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-04-17 05:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753922560001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273997988404133888,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192480133414242304,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776382522000,"timestamp_ms":1776382522000,"timestamp_seconds":1776382522,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a63290"} 
[2026-04-17 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-04-17 05:06: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-04-17 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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 05:06: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-04-17 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-04-17 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-04-17 05:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45785,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753922560001,"66":27365,"179":206,"85":12288,"24":34,"16":273997988404133888,"45":-9192480133414242304},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-17 05:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753922560001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:06:33] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-17 05:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273997988404133888,"km_value":273997988404133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192480133414242304,"description":"Unknown IO ID 45"} 
[2026-04-17 05:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753922560001,"power":27365,"unknown_179":206,"unknown_85":12288,"ignition":34,"odometer":null,"unknown_45":-9192480133414242304}} 
[2026-04-17 05:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":45785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:06:33] local.INFO: GPS data processed {"connection_id":45785,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:06:33] local.INFO: Acknowledgment sent {"connection_id":45785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:06:52] local.INFO: TCP Data received {"connection_id":45588,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:06:52] local.INFO: Processing buffer {"connection_id":45588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:06:52] local.INFO: IMEI packet received {"connection_id":45588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":45588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:06:57] local.INFO: TCP Data received {"connection_id":45588,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45588,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:06:57] local.INFO: Processing buffer {"connection_id":45588,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:06:57] local.INFO: IMEI packet received {"connection_id":45588,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":45588,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:06:58] local.INFO: TCP Data received {"connection_id":45588,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a659a0012d80630005c2ba68000700b935..."} 
[2026-04-17 05:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a659a0012d80630005c2ba68000700b935..."} 
[2026-04-17 05:06:58] local.INFO: Processing buffer {"connection_id":45588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a659a0012d80630005c2ba68000700b935..."} 
[2026-04-17 05:06:58] local.INFO: Packet analysis {"connection_id":45588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a6"} 
[2026-04-17 05:06:58] local.INFO: Extracted packet for processing {"connection_id":45588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a6"} 
[2026-04-17 05:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763388672,"raw_latitude":96647784,"longitude_deg":76.3388672,"latitude_deg":9.6647784,"altitude":7,"angle":185,"satellites":53,"speed":39,"hex_longitude":"2d806300","hex_latitude":"05c2ba68","is_valid_coordinates":true} 
[2026-04-17 05:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753925632001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273998439375699968,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194098614532687872,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776382532000,"timestamp_ms":1776382532000,"timestamp_seconds":1776382532,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a659a0"} 
[2026-04-17 05:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:06: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-04-17 05:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 05:06:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753925632001,"66":27463,"179":206,"85":12288,"24":39,"16":273998439375699968,"45":-9194098614532687872},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-17 05:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753925632001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:06:58] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-17 05:06:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273998439375699968,"km_value":273998439375699.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194098614532687872,"description":"Unknown IO ID 45"} 
[2026-04-17 05:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753925632001,"power":27463,"unknown_179":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":-9194098614532687872}} 
[2026-04-17 05:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":45588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:06:58] local.INFO: GPS data processed {"connection_id":45588,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:06:58] local.INFO: Acknowledgment sent {"connection_id":45588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:06:58] local.INFO: TCP Data received {"connection_id":45588,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a67cc8012d805e4005c29680000700ba34..."} 
[2026-04-17 05:06:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a67cc8012d805e4005c29680000700ba34..."} 
[2026-04-17 05:06:58] local.INFO: Processing buffer {"connection_id":45588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a67cc8012d805e4005c29680000700ba34..."} 
[2026-04-17 05:06:58] local.INFO: Packet analysis {"connection_id":45588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a6"} 
[2026-04-17 05:06:58] local.INFO: Extracted packet for processing {"connection_id":45588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a6"} 
[2026-04-17 05:06:58] local.INFO: GPS Element Parsed {"raw_longitude":763387456,"raw_latitude":96638592,"longitude_deg":76.3387456,"latitude_deg":9.6638592,"altitude":7,"angle":186,"satellites":52,"speed":41,"hex_longitude":"2d805e40","hex_latitude":"05c29680","is_valid_coordinates":true} 
[2026-04-17 05:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:06:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753928192001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273998890347266048,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195505989418588160,"note":"Value kept but may cause issues"} 
[2026-04-17 05:06:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:06:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776382541000,"timestamp_ms":1776382541000,"timestamp_seconds":1776382541,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a67cc8"} 
[2026-04-17 05:06:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:06: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-04-17 05:06:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 05:06:58] 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-04-17 05:06:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:06:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:06:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:06:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:06:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:06:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:06:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:06:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:06:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:06:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753928192001,"66":27365,"179":206,"85":12288,"24":41,"16":273998890347266048,"45":-9195505989418588160},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-17 05:06:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:06:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:06:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753928192001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:06:58] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-17 05:06:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:06:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273998890347266048,"km_value":273998890347266.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:06:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195505989418588160,"description":"Unknown IO ID 45"} 
[2026-04-17 05:06:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753928192001,"power":27365,"unknown_179":206,"unknown_85":12288,"ignition":41,"odometer":null,"unknown_45":-9195505989418588160}} 
[2026-04-17 05:06:58] local.INFO: DEBUG: GPS processor result {"connection_id":45588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:06:58] local.INFO: GPS data processed {"connection_id":45588,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:06:58] local.INFO: Acknowledgment sent {"connection_id":45588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:07:05] local.INFO: TCP Data received {"connection_id":45589,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:07:05] local.INFO: Processing buffer {"connection_id":45589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:07:05] local.INFO: IMEI packet received {"connection_id":45589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":45589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:07:11] local.INFO: TCP Data received {"connection_id":45589,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45589,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:07:11] local.INFO: Processing buffer {"connection_id":45589,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:07:11] local.INFO: IMEI packet received {"connection_id":45589,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":45589,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:07:12] local.INFO: TCP Data received {"connection_id":45589,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:07:12] local.INFO: Processing buffer {"connection_id":45589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:07:12] local.INFO: Packet analysis {"connection_id":45589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:07:12] local.INFO: Extracted packet for processing {"connection_id":45589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:07:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753800448001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:07:12] 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-04-17 05:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776382334000,"timestamp_ms":1776382334000,"timestamp_seconds":1776382334,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a35430"} 
[2026-04-17 05:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:07: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-04-17 05:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 05:07:12] 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-04-17 05:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753800448001,"66":25702,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753800448001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:07:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753800448001,"power":25702,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":45589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:07:12] local.INFO: GPS data processed {"connection_id":45589,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:07:12] local.INFO: Acknowledgment sent {"connection_id":45589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:07:29] local.INFO: TCP Data received {"connection_id":45588,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a69ff0012d80598005c27318000700bf35..."} 
[2026-04-17 05:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a69ff0012d80598005c27318000700bf35..."} 
[2026-04-17 05:07:29] local.INFO: Processing buffer {"connection_id":45588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a69ff0012d80598005c27318000700bf35..."} 
[2026-04-17 05:07:29] local.INFO: Packet analysis {"connection_id":45588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a6"} 
[2026-04-17 05:07:29] local.INFO: Extracted packet for processing {"connection_id":45588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a6"} 
[2026-04-17 05:07:29] local.INFO: GPS Element Parsed {"raw_longitude":763386240,"raw_latitude":96629528,"longitude_deg":76.338624,"latitude_deg":9.6629528,"altitude":7,"angle":191,"satellites":53,"speed":39,"hex_longitude":"2d805980","hex_latitude":"05c27318","is_valid_coordinates":true} 
[2026-04-17 05:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753930496001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273999332728897536,"note":"Value kept but may cause issues"} 
[2026-04-17 05:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9196842995560316928,"note":"Value kept but may cause issues"} 
[2026-04-17 05:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,179,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776382550000,"timestamp_ms":1776382550000,"timestamp_seconds":1776382550,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a69ff0"} 
[2026-04-17 05:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:07: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-04-17 05:07:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 05:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:07:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45588,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753930496001,"66":27365,"179":206,"85":12288,"24":39,"16":273999332728897536,"45":-9196842995560316928},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,85,24,16,45]} 
[2026-04-17 05:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753930496001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:07:29] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-17 05:07:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273999332728897536,"km_value":273999332728897.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9196842995560316928,"description":"Unknown IO ID 45"} 
[2026-04-17 05:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753930496001,"power":27365,"unknown_179":206,"unknown_85":12288,"ignition":39,"odometer":null,"unknown_45":-9196842995560316928}} 
[2026-04-17 05:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":45588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:07:29] local.INFO: GPS data processed {"connection_id":45588,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:07:29] local.INFO: Acknowledgment sent {"connection_id":45588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:07:51] local.INFO: TCP Data received {"connection_id":45528,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:07:51] local.INFO: Processing buffer {"connection_id":45528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:07:51] local.INFO: IMEI packet received {"connection_id":45528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":45528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:07:51] local.INFO: TCP Data received {"connection_id":45528,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:07:51] local.INFO: Processing buffer {"connection_id":45528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:07:51] local.INFO: IMEI packet received {"connection_id":45528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":45528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:07:57] local.INFO: TCP Data received {"connection_id":45528,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45528,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:07:57] local.INFO: Processing buffer {"connection_id":45528,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:07:57] local.INFO: IMEI packet received {"connection_id":45528,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":45528,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:07:58] local.INFO: TCP Data received {"connection_id":45528,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a6c318012d80540005c24f40000600bb33..."} 
[2026-04-17 05:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a6c318012d80540005c24f40000600bb33..."} 
[2026-04-17 05:07:58] local.INFO: Processing buffer {"connection_id":45528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a6c318012d80540005c24f40000600bb33..."} 
[2026-04-17 05:07:58] local.INFO: Packet analysis {"connection_id":45528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a6"} 
[2026-04-17 05:07:58] local.INFO: Extracted packet for processing {"connection_id":45528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a6"} 
[2026-04-17 05:07:58] local.INFO: GPS Element Parsed {"raw_longitude":763384832,"raw_latitude":96620352,"longitude_deg":76.3384832,"latitude_deg":9.6620352,"altitude":6,"angle":187,"satellites":51,"speed":40,"hex_longitude":"2d805400","hex_latitude":"05c24f40","is_valid_coordinates":true} 
[2026-04-17 05:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753932800001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":273999783700463616,"note":"Value kept but may cause issues"} 
[2026-04-17 05:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9198180001702012928,"note":"Value kept but may cause issues"} 
[2026-04-17 05:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776382559000,"timestamp_ms":1776382559000,"timestamp_seconds":1776382559,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a6c318"} 
[2026-04-17 05:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:07: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-04-17 05: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 05:07:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753932800001,"66":27376,"235":206,"85":12288,"24":40,"16":273999783700463616,"45":-9198180001702012928},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-17 05:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753932800001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:07:58] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 05:07:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":273999783700463616,"km_value":273999783700463.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9198180001702012928,"description":"Unknown IO ID 45"} 
[2026-04-17 05:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753932800001,"power":27376,"unknown_235":206,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":-9198180001702012928}} 
[2026-04-17 05:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":45528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:07:58] local.INFO: GPS data processed {"connection_id":45528,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:07:58] local.INFO: Acknowledgment sent {"connection_id":45528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:08:00] local.INFO: TCP Data received {"connection_id":45589,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:08:00] local.INFO: Processing buffer {"connection_id":45589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a35430012d1b598006d4d5980011013831..."} 
[2026-04-17 05:08:00] local.INFO: Packet analysis {"connection_id":45589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:08:00] local.INFO: Extracted packet for processing {"connection_id":45589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a3"} 
[2026-04-17 05:08:00] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753800448001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:08:00] 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-04-17 05:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776382334000,"timestamp_ms":1776382334000,"timestamp_seconds":1776382334,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a35430"} 
[2026-04-17 05:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 05:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45589,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753800448001,"66":25702,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753800448001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:08:00] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753800448001,"power":25702,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":45589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19287,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:08:00] local.INFO: GPS data processed {"connection_id":45589,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:08:00] local.INFO: Acknowledgment sent {"connection_id":45589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:08:05] local.INFO: TCP Data received {"connection_id":45786,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:08:05] local.INFO: Processing buffer {"connection_id":45786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:08:05] local.INFO: IMEI packet received {"connection_id":45786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":45786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:08:10] local.INFO: TCP Data received {"connection_id":45786,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:08:10] local.INFO: Processing buffer {"connection_id":45786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:08:10] local.INFO: IMEI packet received {"connection_id":45786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":45786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:08:12] local.INFO: TCP Data received {"connection_id":45786,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:08:12] local.INFO: Processing buffer {"connection_id":45786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:08:12] local.INFO: Packet analysis {"connection_id":45786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a7"} 
[2026-04-17 05:08:12] local.INFO: Extracted packet for processing {"connection_id":45786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a7"} 
[2026-04-17 05:08:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753877504001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:08:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776382635000,"timestamp_ms":1776382635000,"timestamp_seconds":1776382635,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a7ebf8"} 
[2026-04-17 05:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:08: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-04-17 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 05:08:12] 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-04-17 05: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-04-17 05:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753877504001,"66":25691,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 05:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753877504001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:08:12] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 05:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753877504001,"power":25691,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":45786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19288,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:08:12] local.INFO: GPS data processed {"connection_id":45786,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:08:12] local.INFO: Acknowledgment sent {"connection_id":45786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:08:28] local.INFO: TCP Data received {"connection_id":45528,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a84da0012d80214005c0cc10000600bb35..."} 
[2026-04-17 05:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a84da0012d80214005c0cc10000600bb35..."} 
[2026-04-17 05:08:28] local.INFO: Processing buffer {"connection_id":45528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a84da0012d80214005c0cc10000600bb35..."} 
[2026-04-17 05:08:28] local.INFO: Packet analysis {"connection_id":45528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a8"} 
[2026-04-17 05:08:28] local.INFO: Extracted packet for processing {"connection_id":45528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a8"} 
[2026-04-17 05:08:28] local.INFO: GPS Element Parsed {"raw_longitude":763371840,"raw_latitude":96521232,"longitude_deg":76.337184,"latitude_deg":9.6521232,"altitude":6,"angle":187,"satellites":53,"speed":44,"hex_longitude":"2d802140","hex_latitude":"05c0cc10","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753958912001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274004632718540800,"note":"Value kept but may cause issues"} 
[2026-04-17 05:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9212605594283870208,"note":"Value kept but may cause issues"} 
[2026-04-17 05:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776382660000,"timestamp_ms":1776382660000,"timestamp_seconds":1776382660,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a84da0"} 
[2026-04-17 05:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:08: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-04-17 05:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 05:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45528,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753958912001,"66":27484,"225":206,"85":12288,"24":44,"16":274004632718540800,"45":-9212605594283870208},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-17 05:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753958912001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:08:28] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-17 05:08:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274004632718540800,"km_value":274004632718540.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9212605594283870208,"description":"Unknown IO ID 45"} 
[2026-04-17 05:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753958912001,"power":27484,"unknown_225":206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":-9212605594283870208}} 
[2026-04-17 05:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":45528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:08:28] local.INFO: GPS data processed {"connection_id":45528,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:08:28] local.INFO: Acknowledgment sent {"connection_id":45528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:08:43] local.INFO: TCP Data received {"connection_id":45786,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:08:43] local.INFO: Processing buffer {"connection_id":45786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:08:43] local.INFO: Packet analysis {"connection_id":45786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a7"} 
[2026-04-17 05:08:43] local.INFO: Extracted packet for processing {"connection_id":45786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a7"} 
[2026-04-17 05:08:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753877504001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:08:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776382635000,"timestamp_ms":1776382635000,"timestamp_seconds":1776382635,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a7ebf8"} 
[2026-04-17 05:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:08:43] 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-04-17 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 05:08:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753877504001,"66":25691,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 05:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753877504001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:08:43] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 05:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753877504001,"power":25691,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":45786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19290,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:08:43] local.INFO: GPS data processed {"connection_id":45786,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:08:43] local.INFO: Acknowledgment sent {"connection_id":45786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:08:51] local.INFO: TCP Data received {"connection_id":46341,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:08:51] local.INFO: Processing buffer {"connection_id":46341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:08:51] local.INFO: IMEI packet received {"connection_id":46341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":46341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:08:52] local.INFO: TCP Data received {"connection_id":46341,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:08:52] local.INFO: Processing buffer {"connection_id":46341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:08:52] local.INFO: IMEI packet received {"connection_id":46341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":46341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:08:57] local.INFO: TCP Data received {"connection_id":46341,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46341,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:08:57] local.INFO: Processing buffer {"connection_id":46341,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:08:57] local.INFO: IMEI packet received {"connection_id":46341,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":46341,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:08:58] local.INFO: TCP Data received {"connection_id":46341,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a85d40012d801d8005c0bb60000700c734..."} 
[2026-04-17 05:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a85d40012d801d8005c0bb60000700c734..."} 
[2026-04-17 05:08:58] local.INFO: Processing buffer {"connection_id":46341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a85d40012d801d8005c0bb60000700c734..."} 
[2026-04-17 05:08:58] local.INFO: Packet analysis {"connection_id":46341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a8"} 
[2026-04-17 05:08:58] local.INFO: Extracted packet for processing {"connection_id":46341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a8"} 
[2026-04-17 05:08:58] local.INFO: GPS Element Parsed {"raw_longitude":763370880,"raw_latitude":96516960,"longitude_deg":76.337088,"latitude_deg":9.651696,"altitude":7,"angle":199,"satellites":52,"speed":42,"hex_longitude":"2d801d80","hex_latitude":"05c0bb60","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753960960001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274004847466905600,"note":"Value kept but may cause issues"} 
[2026-04-17 05:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9214012969169711104,"note":"Value kept but may cause issues"} 
[2026-04-17 05:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776382664000,"timestamp_ms":1776382664000,"timestamp_seconds":1776382664,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a85d40"} 
[2026-04-17 05:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:08: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-04-17 05: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 05:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753960960001,"66":27365,"225":206,"85":12288,"24":42,"16":274004847466905600,"45":-9214012969169711104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-17 05:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753960960001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:08:58] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-17 05:08:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274004847466905600,"km_value":274004847466905.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9214012969169711104,"description":"Unknown IO ID 45"} 
[2026-04-17 05:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753960960001,"power":27365,"unknown_225":206,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":-9214012969169711104}} 
[2026-04-17 05:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":46341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:08:58] local.INFO: GPS data processed {"connection_id":46341,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:08:58] local.INFO: Acknowledgment sent {"connection_id":46341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:09:21] local.INFO: TCP Data received {"connection_id":45590,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:09:21] local.INFO: Processing buffer {"connection_id":45590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:09:21] local.INFO: IMEI packet received {"connection_id":45590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":45590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:09:31] local.INFO: TCP Data received {"connection_id":46341,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a874b0012d80174005c0a2b8000700bb34..."} 
[2026-04-17 05:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a874b0012d80174005c0a2b8000700bb34..."} 
[2026-04-17 05:09:31] local.INFO: Processing buffer {"connection_id":46341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a874b0012d80174005c0a2b8000700bb34..."} 
[2026-04-17 05:09:31] local.INFO: Packet analysis {"connection_id":46341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a8"} 
[2026-04-17 05:09:31] local.INFO: Extracted packet for processing {"connection_id":46341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a8"} 
[2026-04-17 05:09:31] local.INFO: GPS Element Parsed {"raw_longitude":763369280,"raw_latitude":96510648,"longitude_deg":76.336928,"latitude_deg":9.6510648,"altitude":7,"angle":187,"satellites":52,"speed":44,"hex_longitude":"2d801740","hex_latitude":"05c0a2b8","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753961984001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274005160999518208,"note":"Value kept but may cause issues"} 
[2026-04-17 05:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215068500333469696,"note":"Value kept but may cause issues"} 
[2026-04-17 05:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776382670000,"timestamp_ms":1776382670000,"timestamp_seconds":1776382670,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a874b0"} 
[2026-04-17 05:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 05: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 05:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46341,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753961984001,"66":27463,"225":206,"85":12288,"24":44,"16":274005160999518208,"45":-9215068500333469696},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-17 05:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753961984001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:09:31] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-17 05:09:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274005160999518208,"km_value":274005160999518.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215068500333469696,"description":"Unknown IO ID 45"} 
[2026-04-17 05:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753961984001,"power":27463,"unknown_225":206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":-9215068500333469696}} 
[2026-04-17 05:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":46341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:09:31] local.INFO: GPS data processed {"connection_id":46341,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:09:31] local.INFO: Acknowledgment sent {"connection_id":46341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:09:42] local.INFO: TCP Data received {"connection_id":45590,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:09:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:09:42] local.INFO: Processing buffer {"connection_id":45590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:09:42] local.INFO: IMEI packet received {"connection_id":45590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:09:42] local.INFO: IMEI acknowledgment sent {"connection_id":45590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:09:44] local.INFO: TCP Data received {"connection_id":45590,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:09:44] local.INFO: Processing buffer {"connection_id":45590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:09:44] local.INFO: Packet analysis {"connection_id":45590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a7"} 
[2026-04-17 05:09:44] local.INFO: Extracted packet for processing {"connection_id":45590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a7"} 
[2026-04-17 05:09:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753877504001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:09:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776382635000,"timestamp_ms":1776382635000,"timestamp_seconds":1776382635,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a7ebf8"} 
[2026-04-17 05:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:09:44] 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-04-17 05:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 05:09:44] 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-04-17 05:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753877504001,"66":25691,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 05:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753877504001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:09:44] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 05:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753877504001,"power":25691,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":45590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19293,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:09:44] local.INFO: GPS data processed {"connection_id":45590,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:09:44] local.INFO: Acknowledgment sent {"connection_id":45590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:09:52] local.INFO: TCP Data received {"connection_id":45529,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:09:52] local.INFO: Processing buffer {"connection_id":45529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:09:52] local.INFO: IMEI packet received {"connection_id":45529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":45529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:09:54] local.INFO: TCP Data received {"connection_id":45529,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:09:54] local.INFO: Processing buffer {"connection_id":45529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:09:54] local.INFO: IMEI packet received {"connection_id":45529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":45529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:09:57] local.INFO: TCP Data received {"connection_id":45529,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:09:57] local.INFO: Processing buffer {"connection_id":45529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:09:57] local.INFO: IMEI packet received {"connection_id":45529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":45529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:09:58] local.INFO: TCP Data received {"connection_id":45529,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a893f0012d8011c005c07ea8000800bd33..."} 
[2026-04-17 05:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a893f0012d8011c005c07ea8000800bd33..."} 
[2026-04-17 05:09:58] local.INFO: Processing buffer {"connection_id":45529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a893f0012d8011c005c07ea8000800bd33..."} 
[2026-04-17 05:09:58] local.INFO: Packet analysis {"connection_id":45529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a8"} 
[2026-04-17 05:09:58] local.INFO: Extracted packet for processing {"connection_id":45529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a8"} 
[2026-04-17 05:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763367872,"raw_latitude":96501416,"longitude_deg":76.3367872,"latitude_deg":9.6501416,"altitude":8,"angle":189,"satellites":51,"speed":48,"hex_longitude":"2d8011c0","hex_latitude":"05c07ea8","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753963520001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274005616266051584,"note":"Value kept but may cause issues"} 
[2026-04-17 05:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9216827718939527168,"note":"Value kept but may cause issues"} 
[2026-04-17 05:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776382678000,"timestamp_ms":1776382678000,"timestamp_seconds":1776382678,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a893f0"} 
[2026-04-17 05:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:09: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-04-17 05: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 05:09:58] 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-04-17 05: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-04-17 05:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753963520001,"66":27463,"51":206,"85":12288,"24":48,"16":274005616266051584,"45":-9216827718939527168},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,85,24,16,45]} 
[2026-04-17 05:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753963520001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:09:58] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-04-17 05:09:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274005616266051584,"km_value":274005616266051.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9216827718939527168,"description":"Unknown IO ID 45"} 
[2026-04-17 05:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753963520001,"power":27463,"unknown_51":206,"unknown_85":12288,"ignition":48,"odometer":null,"unknown_45":-9216827718939527168}} 
[2026-04-17 05:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":45529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:09:58] local.INFO: GPS data processed {"connection_id":45529,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:09:58] local.INFO: Acknowledgment sent {"connection_id":45529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:10:02] local.INFO: TCP Data received {"connection_id":45529,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a8b330012d800ac005c05788000700bd35..."} 
[2026-04-17 05:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a8b330012d800ac005c05788000700bd35..."} 
[2026-04-17 05:10:02] local.INFO: Processing buffer {"connection_id":45529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a8b330012d800ac005c05788000700bd35..."} 
[2026-04-17 05:10:02] local.INFO: Packet analysis {"connection_id":45529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a8"} 
[2026-04-17 05:10:02] local.INFO: Extracted packet for processing {"connection_id":45529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a8"} 
[2026-04-17 05:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763366080,"raw_latitude":96491400,"longitude_deg":76.336608,"latitude_deg":9.64914,"altitude":7,"angle":189,"satellites":53,"speed":52,"hex_longitude":"2d800ac0","hex_latitude":"05c05788","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753965568001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274006110187290624,"note":"Value kept but may cause issues"} 
[2026-04-17 05:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9218375831313799168,"note":"Value kept but may cause issues"} 
[2026-04-17 05:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,51,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776382686000,"timestamp_ms":1776382686000,"timestamp_seconds":1776382686,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a8b330"} 
[2026-04-17 05:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 05: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 05:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753965568001,"66":27484,"51":206,"85":12288,"24":52,"16":274006110187290624,"45":-9218375831313799168},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,51,85,24,16,45]} 
[2026-04-17 05:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753965568001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:10:02] local.INFO: Unknown IO ID detected {"io_id":51,"value":206,"description":"Unknown IO ID 51"} 
[2026-04-17 05:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 05:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274006110187290624,"km_value":274006110187290.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9218375831313799168,"description":"Unknown IO ID 45"} 
[2026-04-17 05:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753965568001,"power":27484,"unknown_51":206,"unknown_85":12288,"ignition":52,"odometer":null,"unknown_45":-9218375831313799168}} 
[2026-04-17 05:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":45529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:10:02] local.INFO: GPS data processed {"connection_id":45529,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:10:02] local.INFO: Acknowledgment sent {"connection_id":45529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:10:05] local.INFO: TCP Data received {"connection_id":45530,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:10:05] local.INFO: Processing buffer {"connection_id":45530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:10:05] local.INFO: IMEI packet received {"connection_id":45530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":45530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:10:11] local.INFO: TCP Data received {"connection_id":45530,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45530,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:10:11] local.INFO: Processing buffer {"connection_id":45530,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:10:11] local.INFO: IMEI packet received {"connection_id":45530,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:10:11] local.INFO: IMEI acknowledgment sent {"connection_id":45530,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:10:12] local.INFO: TCP Data received {"connection_id":45530,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:10:12] local.INFO: Processing buffer {"connection_id":45530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:10:12] local.INFO: Packet analysis {"connection_id":45530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a7"} 
[2026-04-17 05:10:12] local.INFO: Extracted packet for processing {"connection_id":45530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a7"} 
[2026-04-17 05:10:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753877504001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776382635000,"timestamp_ms":1776382635000,"timestamp_seconds":1776382635,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a7ebf8"} 
[2026-04-17 05:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:10: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-04-17 05:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 05:10:12] 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-04-17 05:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45530,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45530,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753877504001,"66":25691,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 05:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753877504001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:10:12] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 05:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753877504001,"power":25691,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":45530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19296,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:10:12] local.INFO: GPS data processed {"connection_id":45530,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:10:12] local.INFO: Acknowledgment sent {"connection_id":45530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:10:33] local.INFO: TCP Data received {"connection_id":45529,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98aa2648012d7fc50005be8ff8000600c835..."} 
[2026-04-17 05:10:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98aa2648012d7fc50005be8ff8000600c835..."} 
[2026-04-17 05:10:33] local.INFO: Processing buffer {"connection_id":45529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98aa2648012d7fc50005be8ff8000600c835..."} 
[2026-04-17 05:10:33] local.INFO: Packet analysis {"connection_id":45529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98aa"} 
[2026-04-17 05:10:33] local.INFO: Extracted packet for processing {"connection_id":45529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98aa"} 
[2026-04-17 05:10:33] local.INFO: GPS Element Parsed {"raw_longitude":763348224,"raw_latitude":96374776,"longitude_deg":76.3348224,"latitude_deg":9.6374776,"altitude":6,"angle":200,"satellites":53,"speed":16,"hex_longitude":"2d7fc500","hex_latitude":"05be8ff8","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:10:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753989632001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:10:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274011831083728896,"note":"Value kept but may cause issues"} 
[2026-04-17 05:10:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9207890937809063936,"note":"Value kept but may cause issues"} 
[2026-04-17 05:10:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:10:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776382781000,"timestamp_ms":1776382781000,"timestamp_seconds":1776382781,"priority":1,"record_length":96,"hex_timestamp":"0000019d98aa2648"} 
[2026-04-17 05:10:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:10: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-04-17 05:10:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 05:10: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-04-17 05: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-04-17 05:10:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:10:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:10:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:10:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:10:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:10:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:10:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:10:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:10:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753989632001,"66":27463,"119":206,"85":12544,"24":16,"16":274011831083728896,"45":9207890937809063936},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-17 05:10:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:10:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:10:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753989632001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:10:33] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-17 05:10:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:10:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274011831083728896,"km_value":274011831083728.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:10:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9207890937809063936,"description":"Unknown IO ID 45"} 
[2026-04-17 05:10:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753989632001,"power":27463,"unknown_119":206,"unknown_85":12544,"ignition":16,"odometer":null,"unknown_45":9207890937809063936}} 
[2026-04-17 05:10:33] local.INFO: DEBUG: GPS processor result {"connection_id":45529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:10:33] local.INFO: GPS data processed {"connection_id":45529,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:10:33] local.INFO: Acknowledgment sent {"connection_id":45529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:10:44] local.INFO: TCP Data received {"connection_id":45530,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:10:44] local.INFO: Processing buffer {"connection_id":45530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:10:44] local.INFO: Packet analysis {"connection_id":45530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a7"} 
[2026-04-17 05:10:44] local.INFO: Extracted packet for processing {"connection_id":45530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a7"} 
[2026-04-17 05:10:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753877504001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:10:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776382635000,"timestamp_ms":1776382635000,"timestamp_seconds":1776382635,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a7ebf8"} 
[2026-04-17 05:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:10:44] 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-04-17 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 05:10:44] 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-04-17 05: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-04-17 05:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45530,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45530,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753877504001,"66":25691,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 05:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753877504001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:10:44] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 05:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753877504001,"power":25691,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":45530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19298,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:10:44] local.INFO: GPS data processed {"connection_id":45530,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:10:44] local.INFO: Acknowledgment sent {"connection_id":45530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:10:51] local.INFO: TCP Data received {"connection_id":45531,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:10:51] local.INFO: Processing buffer {"connection_id":45531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:10:51] local.INFO: IMEI packet received {"connection_id":45531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":45531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:10:53] local.INFO: TCP Data received {"connection_id":45531,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:10:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:10:53] local.INFO: Processing buffer {"connection_id":45531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:10:53] local.INFO: IMEI packet received {"connection_id":45531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:10:53] local.INFO: IMEI acknowledgment sent {"connection_id":45531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:10:57] local.INFO: TCP Data received {"connection_id":45531,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:10:57] local.INFO: Processing buffer {"connection_id":45531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:10:57] local.INFO: IMEI packet received {"connection_id":45531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":45531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:10:57] local.INFO: TCP Data received {"connection_id":45531,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98aa2e18012d7fc34005be8d08000600d835..."} 
[2026-04-17 05:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98aa2e18012d7fc34005be8d08000600d835..."} 
[2026-04-17 05:10:57] local.INFO: Processing buffer {"connection_id":45531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98aa2e18012d7fc34005be8d08000600d835..."} 
[2026-04-17 05:10:57] local.INFO: Packet analysis {"connection_id":45531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98aa"} 
[2026-04-17 05:10:57] local.INFO: Extracted packet for processing {"connection_id":45531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98aa"} 
[2026-04-17 05:10:57] local.INFO: GPS Element Parsed {"raw_longitude":763347776,"raw_latitude":96374024,"longitude_deg":76.3347776,"latitude_deg":9.6374024,"altitude":6,"angle":216,"satellites":53,"speed":18,"hex_longitude":"2d7fc340","hex_latitude":"05be8d08","is_valid_coordinates":true} 
[2026-04-17 05:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753991936001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274011874033401856,"note":"Value kept but may cause issues"} 
[2026-04-17 05:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9206765037900789760,"note":"Value kept but may cause issues"} 
[2026-04-17 05:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776382783000,"timestamp_ms":1776382783000,"timestamp_seconds":1776382783,"priority":1,"record_length":96,"hex_timestamp":"0000019d98aa2e18"} 
[2026-04-17 05:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:10: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-04-17 05:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 05:10:57] 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-04-17 05:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753991936001,"66":27071,"119":206,"85":12544,"24":18,"16":274011874033401856,"45":9206765037900789760},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-17 05:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753991936001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:10:57] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-17 05:10:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274011874033401856,"km_value":274011874033401.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9206765037900789760,"description":"Unknown IO ID 45"} 
[2026-04-17 05:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753991936001,"power":27071,"unknown_119":206,"unknown_85":12544,"ignition":18,"odometer":null,"unknown_45":9206765037900789760}} 
[2026-04-17 05:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":45531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:10:58] local.INFO: GPS data processed {"connection_id":45531,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:10:58] local.INFO: Acknowledgment sent {"connection_id":45531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:11:05] local.INFO: TCP Data received {"connection_id":45591,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:11:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:11:05] local.INFO: Processing buffer {"connection_id":45591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:11:05] local.INFO: IMEI packet received {"connection_id":45591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:11:05] local.INFO: IMEI acknowledgment sent {"connection_id":45591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:11:11] local.INFO: TCP Data received {"connection_id":45591,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:11:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:11:11] local.INFO: Processing buffer {"connection_id":45591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:11:11] local.INFO: IMEI packet received {"connection_id":45591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:11:11] local.INFO: IMEI acknowledgment sent {"connection_id":45591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:11:12] local.INFO: TCP Data received {"connection_id":45591,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:11:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:11:12] local.INFO: Processing buffer {"connection_id":45591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:11:12] local.INFO: Packet analysis {"connection_id":45591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a7"} 
[2026-04-17 05:11:12] local.INFO: Extracted packet for processing {"connection_id":45591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a7"} 
[2026-04-17 05:11:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:11:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753877504001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:11:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:11:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:11:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:11:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776382635000,"timestamp_ms":1776382635000,"timestamp_seconds":1776382635,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a7ebf8"} 
[2026-04-17 05:11:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:11: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-04-17 05:11:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 05:11:12] 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-04-17 05:11:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:11:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:11:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:11:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:11:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:11:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:11:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:11:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:11:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:11:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753877504001,"66":25691,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 05:11:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:11:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:11:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753877504001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:11:12] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 05:11:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:11:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:11:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753877504001,"power":25691,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:11:12] local.INFO: DEBUG: GPS processor result {"connection_id":45591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19300,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:11:12] local.INFO: GPS data processed {"connection_id":45591,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:11:12] local.INFO: Acknowledgment sent {"connection_id":45591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:11:28] local.INFO: TCP Data received {"connection_id":45531,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98aa3db8012d7fbf0005be8678000500ca33..."} 
[2026-04-17 05:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98aa3db8012d7fbf0005be8678000500ca33..."} 
[2026-04-17 05:11:28] local.INFO: Processing buffer {"connection_id":45531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98aa3db8012d7fbf0005be8678000500ca33..."} 
[2026-04-17 05:11:28] local.INFO: Packet analysis {"connection_id":45531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98aa"} 
[2026-04-17 05:11:28] local.INFO: Extracted packet for processing {"connection_id":45531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98aa"} 
[2026-04-17 05:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763346688,"raw_latitude":96372344,"longitude_deg":76.3346688,"latitude_deg":9.6372344,"altitude":5,"angle":202,"satellites":51,"speed":21,"hex_longitude":"2d7fbf00","hex_latitude":"05be8678","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753992448001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274011972817649664,"note":"Value kept but may cause issues"} 
[2026-04-17 05:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9206272456691353600,"note":"Value kept but may cause issues"} 
[2026-04-17 05:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776382787000,"timestamp_ms":1776382787000,"timestamp_seconds":1776382787,"priority":1,"record_length":96,"hex_timestamp":"0000019d98aa3db8"} 
[2026-04-17 05:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:11: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-04-17 05: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":105,"n8_eight_byte":191,"data_length":795,"current_offset":136} 
[2026-04-17 05:11:28] 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-04-17 05: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-04-17 05:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753992448001,"66":27484,"119":206,"85":12544,"24":21,"16":274011972817649664,"45":9206272456691353600},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-17 05:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753992448001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:11:28] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-17 05:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274011972817649664,"km_value":274011972817649.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9206272456691353600,"description":"Unknown IO ID 45"} 
[2026-04-17 05:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753992448001,"power":27484,"unknown_119":206,"unknown_85":12544,"ignition":21,"odometer":null,"unknown_45":9206272456691353600}} 
[2026-04-17 05:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":45531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:11:28] local.INFO: GPS data processed {"connection_id":45531,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:11:28] local.INFO: Acknowledgment sent {"connection_id":45531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:11:45] local.INFO: TCP Data received {"connection_id":45591,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:11:45] local.INFO: Processing buffer {"connection_id":45591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:11:45] local.INFO: Packet analysis {"connection_id":45591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a7"} 
[2026-04-17 05:11:45] local.INFO: Extracted packet for processing {"connection_id":45591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a7"} 
[2026-04-17 05:11:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:11:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753877504001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:11:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:11:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:11:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:11:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776382635000,"timestamp_ms":1776382635000,"timestamp_seconds":1776382635,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a7ebf8"} 
[2026-04-17 05:11:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:11:45] 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-04-17 05: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 05:11:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:11:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:11:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:11:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:11:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:11:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:11:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:11:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:11:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:11:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753877504001,"66":25691,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 05:11:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:11:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:11:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753877504001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:11:45] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 05:11:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:11:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:11:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753877504001,"power":25691,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:11:45] local.INFO: DEBUG: GPS processor result {"connection_id":45591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19302,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:11:45] local.INFO: GPS data processed {"connection_id":45591,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:11:45] local.INFO: Acknowledgment sent {"connection_id":45591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:11:51] local.INFO: TCP Data received {"connection_id":45592,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:11:51] local.INFO: Processing buffer {"connection_id":45592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:11:51] local.INFO: IMEI packet received {"connection_id":45592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":45592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:12:01] local.INFO: TCP Data received {"connection_id":45592,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:12:01] local.INFO: Processing buffer {"connection_id":45592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:12:01] local.INFO: IMEI packet received {"connection_id":45592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":45592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:12:01] local.INFO: TCP Data received {"connection_id":45592,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:12:01] local.INFO: Processing buffer {"connection_id":45592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:12:01] local.INFO: IMEI packet received {"connection_id":45592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":45592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:12:02] local.INFO: TCP Data received {"connection_id":45592,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98aa60e0012d7fb98005be70d8000600bf2f..."} 
[2026-04-17 05:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98aa60e0012d7fb98005be70d8000600bf2f..."} 
[2026-04-17 05:12:02] local.INFO: Processing buffer {"connection_id":45592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98aa60e0012d7fb98005be70d8000600bf2f..."} 
[2026-04-17 05:12:02] local.INFO: Packet analysis {"connection_id":45592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98aa"} 
[2026-04-17 05:12:02] local.INFO: Extracted packet for processing {"connection_id":45592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98aa"} 
[2026-04-17 05:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763345280,"raw_latitude":96366808,"longitude_deg":76.334528,"latitude_deg":9.6366808,"altitude":6,"angle":191,"satellites":47,"speed":26,"hex_longitude":"2d7fb980","hex_latitude":"05be70d8","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753993472001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274012247695556608,"note":"Value kept but may cause issues"} 
[2026-04-17 05:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9205076188039903232,"note":"Value kept but may cause issues"} 
[2026-04-17 05:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776382796000,"timestamp_ms":1776382796000,"timestamp_seconds":1776382796,"priority":1,"record_length":96,"hex_timestamp":"0000019d98aa60e0"} 
[2026-04-17 05:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 05: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 05:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753993472001,"66":27463,"119":206,"85":12544,"24":26,"16":274012247695556608,"45":9205076188039903232},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-17 05:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753993472001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:12:02] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-17 05:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274012247695556608,"km_value":274012247695556.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9205076188039903232,"description":"Unknown IO ID 45"} 
[2026-04-17 05:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753993472001,"power":27463,"unknown_119":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9205076188039903232}} 
[2026-04-17 05:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":45592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:12:02] local.INFO: GPS data processed {"connection_id":45592,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:12:02] local.INFO: Acknowledgment sent {"connection_id":45592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:12:03] local.INFO: TCP Data received {"connection_id":45592,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98aaab18012d7fb34005be4e08000600ba35..."} 
[2026-04-17 05:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98aaab18012d7fb34005be4e08000600ba35..."} 
[2026-04-17 05:12:03] local.INFO: Processing buffer {"connection_id":45592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98aaab18012d7fb34005be4e08000600ba35..."} 
[2026-04-17 05:12:03] local.INFO: Packet analysis {"connection_id":45592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98aa"} 
[2026-04-17 05:12:03] local.INFO: Extracted packet for processing {"connection_id":45592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98aa"} 
[2026-04-17 05:12:03] local.INFO: GPS Element Parsed {"raw_longitude":763343680,"raw_latitude":96357896,"longitude_deg":76.334368,"latitude_deg":9.6357896,"altitude":6,"angle":186,"satellites":53,"speed":16,"hex_longitude":"2d7fb340","hex_latitude":"05be4e08","is_valid_coordinates":true} 
[2026-04-17 05:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:12:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753995776001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:12:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274012690077188096,"note":"Value kept but may cause issues"} 
[2026-04-17 05:12:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9203528075666577408,"note":"Value kept but may cause issues"} 
[2026-04-17 05:12:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:12:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776382815000,"timestamp_ms":1776382815000,"timestamp_seconds":1776382815,"priority":1,"record_length":96,"hex_timestamp":"0000019d98aaab18"} 
[2026-04-17 05:12:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:12: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-04-17 05:12:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 05:12: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-04-17 05:12:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:12:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:12:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:12:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:12:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:12:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:12:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:12:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:12:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:12:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753995776001,"66":27397,"119":206,"85":12544,"24":16,"16":274012690077188096,"45":9203528075666577408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-17 05:12:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:12:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:12:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753995776001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:12:03] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-17 05:12:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:12:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274012690077188096,"km_value":274012690077188.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:12:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9203528075666577408,"description":"Unknown IO ID 45"} 
[2026-04-17 05:12:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753995776001,"power":27397,"unknown_119":206,"unknown_85":12544,"ignition":16,"odometer":null,"unknown_45":9203528075666577408}} 
[2026-04-17 05:12:03] local.INFO: DEBUG: GPS processor result {"connection_id":45592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:12:03] local.INFO: GPS data processed {"connection_id":45592,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:12:03] local.INFO: Acknowledgment sent {"connection_id":45592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:12:11] local.INFO: TCP Data received {"connection_id":45787,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:12:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:12:11] local.INFO: Processing buffer {"connection_id":45787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:12:11] local.INFO: IMEI packet received {"connection_id":45787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:12:11] local.INFO: IMEI acknowledgment sent {"connection_id":45787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:12:16] local.INFO: TCP Data received {"connection_id":45787,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:12:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:12:16] local.INFO: Processing buffer {"connection_id":45787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:12:16] local.INFO: IMEI packet received {"connection_id":45787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:12:16] local.INFO: IMEI acknowledgment sent {"connection_id":45787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:12:17] local.INFO: TCP Data received {"connection_id":45787,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:12:17] local.INFO: Processing buffer {"connection_id":45787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:12:17] local.INFO: Packet analysis {"connection_id":45787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a7"} 
[2026-04-17 05:12:17] local.INFO: Extracted packet for processing {"connection_id":45787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a7"} 
[2026-04-17 05:12:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:12:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753877504001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:12:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:12:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:12:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:12:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776382635000,"timestamp_ms":1776382635000,"timestamp_seconds":1776382635,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a7ebf8"} 
[2026-04-17 05:12:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:12:17] 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-04-17 05:12:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 05:12:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:12:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:12:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:12:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:12:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:12:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:12:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:12:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:12:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:12:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:12:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753877504001,"66":25691,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 05:12:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:12:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:12:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753877504001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:12:17] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 05:12:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:12:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:12:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753877504001,"power":25691,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:12:17] local.INFO: DEBUG: GPS processor result {"connection_id":45787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19305,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:12:17] local.INFO: GPS data processed {"connection_id":45787,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:12:17] local.INFO: Acknowledgment sent {"connection_id":45787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:12:21] local.INFO: TCP Data received {"connection_id":45787,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:12:21] local.INFO: Processing buffer {"connection_id":45787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98a7ebf8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:12:21] local.INFO: Packet analysis {"connection_id":45787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98a7"} 
[2026-04-17 05:12:21] local.INFO: Extracted packet for processing {"connection_id":45787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98a7"} 
[2026-04-17 05:12:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:12:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753877504001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:12:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:12:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:12:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:12:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776382635000,"timestamp_ms":1776382635000,"timestamp_seconds":1776382635,"priority":1,"record_length":96,"hex_timestamp":"0000019d98a7ebf8"} 
[2026-04-17 05:12:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:12:21] 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-04-17 05:12:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 05:12:21] 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-04-17 05:12:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:12:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:12:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:12:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:12:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:12:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:12:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:12:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:12:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:12:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753877504001,"66":25691,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 05:12:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:12:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:12:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753877504001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:12:21] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 05:12:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:12:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:12:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753877504001,"power":25691,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:12:21] local.INFO: DEBUG: GPS processor result {"connection_id":45787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:12:21] local.INFO: GPS data processed {"connection_id":45787,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:12:21] local.INFO: Acknowledgment sent {"connection_id":45787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:12:34] local.INFO: TCP Data received {"connection_id":45592,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98aae5b0012d7fad4005be29f8000600be35..."} 
[2026-04-17 05:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98aae5b0012d7fad4005be29f8000600be35..."} 
[2026-04-17 05:12:34] local.INFO: Processing buffer {"connection_id":45592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98aae5b0012d7fad4005be29f8000600be35..."} 
[2026-04-17 05:12:34] local.INFO: Packet analysis {"connection_id":45592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98aa"} 
[2026-04-17 05:12:34] local.INFO: Extracted packet for processing {"connection_id":45592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98aa"} 
[2026-04-17 05:12:34] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":96348664,"longitude_deg":76.3342144,"latitude_deg":9.6348664,"altitude":6,"angle":190,"satellites":53,"speed":34,"hex_longitude":"2d7fad40","hex_latitude":"05be29f8","is_valid_coordinates":true} 
[2026-04-17 05:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754000640001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274013145343721472,"note":"Value kept but may cause issues"} 
[2026-04-17 05:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201768857059854336,"note":"Value kept but may cause issues"} 
[2026-04-17 05:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776382830000,"timestamp_ms":1776382830000,"timestamp_seconds":1776382830,"priority":1,"record_length":96,"hex_timestamp":"0000019d98aae5b0"} 
[2026-04-17 05:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 05:12:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 05:12:34] 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-04-17 05:12:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754000640001,"66":27365,"119":206,"85":12544,"24":34,"16":274013145343721472,"45":9201768857059854336},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-17 05:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754000640001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:12:34] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-17 05:12:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274013145343721472,"km_value":274013145343721.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201768857059854336,"description":"Unknown IO ID 45"} 
[2026-04-17 05:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754000640001,"power":27365,"unknown_119":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9201768857059854336}} 
[2026-04-17 05:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":45592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:12:34] local.INFO: GPS data processed {"connection_id":45592,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:12:34] local.INFO: Acknowledgment sent {"connection_id":45592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:12:51] local.INFO: TCP Data received {"connection_id":45532,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:12:51] local.INFO: Processing buffer {"connection_id":45532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:12:51] local.INFO: IMEI packet received {"connection_id":45532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":45532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:12:57] local.INFO: TCP Data received {"connection_id":45532,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:12:57] local.INFO: Processing buffer {"connection_id":45532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:12:57] local.INFO: IMEI packet received {"connection_id":45532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":45532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:12:57] local.INFO: TCP Data received {"connection_id":45532,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ac35a0012d7f6c8005bcac68000600bf33..."} 
[2026-04-17 05:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ac35a0012d7f6c8005bcac68000600bf33..."} 
[2026-04-17 05:12:57] local.INFO: Processing buffer {"connection_id":45532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ac35a0012d7f6c8005bcac68000600bf33..."} 
[2026-04-17 05:12:57] local.INFO: Packet analysis {"connection_id":45532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:12:57] local.INFO: Extracted packet for processing {"connection_id":45532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763325568,"raw_latitude":96250984,"longitude_deg":76.3325568,"latitude_deg":9.6250984,"altitude":6,"angle":191,"satellites":51,"speed":51,"hex_longitude":"2d7f6c80","hex_latitude":"05bcac68","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754024704001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274017951412125696,"note":"Value kept but may cause issues"} 
[2026-04-17 05:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183895196013604864,"note":"Value kept but may cause issues"} 
[2026-04-17 05:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776382916000,"timestamp_ms":1776382916000,"timestamp_seconds":1776382916,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ac35a0"} 
[2026-04-17 05:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:12: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-04-17 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 05:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754024704001,"66":27343,"121":206,"85":12544,"24":51,"16":274017951412125696,"45":9183895196013604864},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 05:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754024704001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:12:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 05:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274017951412125696,"km_value":274017951412125.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183895196013604864,"description":"Unknown IO ID 45"} 
[2026-04-17 05:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754024704001,"power":27343,"unknown_121":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9183895196013604864}} 
[2026-04-17 05:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":45532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:12:57] local.INFO: GPS data processed {"connection_id":45532,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:12:57] local.INFO: Acknowledgment sent {"connection_id":45532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:13:06] local.INFO: TCP Data received {"connection_id":45593,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:13:06] local.INFO: Processing buffer {"connection_id":45593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:13:06] local.INFO: IMEI packet received {"connection_id":45593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":45593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:13:11] local.INFO: TCP Data received {"connection_id":45593,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45593,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:13:11] local.INFO: Processing buffer {"connection_id":45593,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:13:11] local.INFO: IMEI packet received {"connection_id":45593,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":45593,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:13:12] local.INFO: TCP Data received {"connection_id":45593,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:13:12] local.INFO: Processing buffer {"connection_id":45593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:13:12] local.INFO: Packet analysis {"connection_id":45593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:13:12] local.INFO: Extracted packet for processing {"connection_id":45593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:13:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753954560001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:13:12] 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-04-17 05:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776382936000,"timestamp_ms":1776382936000,"timestamp_seconds":1776382936,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ac83c0"} 
[2026-04-17 05:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:13: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-04-17 05: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 05:13:12] 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-04-17 05: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-04-17 05:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753954560001,"66":25680,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753954560001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:13:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753954560001,"power":25680,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":45593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:13:12] local.INFO: GPS data processed {"connection_id":45593,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:13:12] local.INFO: Acknowledgment sent {"connection_id":45593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:13:28] local.INFO: TCP Data received {"connection_id":45532,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ac54e0012d7f648005bc85e8000700c834..."} 
[2026-04-17 05:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ac54e0012d7f648005bc85e8000700c834..."} 
[2026-04-17 05:13:28] local.INFO: Processing buffer {"connection_id":45532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ac54e0012d7f648005bc85e8000700c834..."} 
[2026-04-17 05:13:28] local.INFO: Packet analysis {"connection_id":45532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:13:28] local.INFO: Extracted packet for processing {"connection_id":45532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763323520,"raw_latitude":96241128,"longitude_deg":76.332352,"latitude_deg":9.6241128,"altitude":7,"angle":200,"satellites":52,"speed":48,"hex_longitude":"2d7f6480","hex_latitude":"05bc85e8","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754026496001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274018436743430144,"note":"Value kept but may cause issues"} 
[2026-04-17 05:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181854502430205952,"note":"Value kept but may cause issues"} 
[2026-04-17 05:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776382924000,"timestamp_ms":1776382924000,"timestamp_seconds":1776382924,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ac54e0"} 
[2026-04-17 05:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:13: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-04-17 05:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 05:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754026496001,"66":27397,"121":206,"85":12544,"24":48,"16":274018436743430144,"45":9181854502430205952},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 05:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754026496001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:13:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 05:13:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274018436743430144,"km_value":274018436743430.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181854502430205952,"description":"Unknown IO ID 45"} 
[2026-04-17 05:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754026496001,"power":27397,"unknown_121":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9181854502430205952}} 
[2026-04-17 05:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":45532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:13:28] local.INFO: GPS data processed {"connection_id":45532,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:13:28] local.INFO: Acknowledgment sent {"connection_id":45532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:13:43] local.INFO: TCP Data received {"connection_id":45593,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:13:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:13:43] local.INFO: Processing buffer {"connection_id":45593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:13:43] local.INFO: Packet analysis {"connection_id":45593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:13:43] local.INFO: Extracted packet for processing {"connection_id":45593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:13:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:13:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753954560001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:13:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:13:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:13:43] 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-04-17 05:13:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776382936000,"timestamp_ms":1776382936000,"timestamp_seconds":1776382936,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ac83c0"} 
[2026-04-17 05:13:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:13:43] 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-04-17 05: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 05:13:43] 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-04-17 05: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-04-17 05:13:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:13:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:13:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:13:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:13:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45593,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:13:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:13:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:13:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:13:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753954560001,"66":25680,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:13:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:13:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:13:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753954560001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:13:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:13:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:13:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:13:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753954560001,"power":25680,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:13:43] local.INFO: DEBUG: GPS processor result {"connection_id":45593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19311,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:13:43] local.INFO: GPS data processed {"connection_id":45593,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:13:43] local.INFO: Acknowledgment sent {"connection_id":45593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:13:52] local.INFO: TCP Data received {"connection_id":45533,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:13:52] local.INFO: Processing buffer {"connection_id":45533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:13:52] local.INFO: IMEI packet received {"connection_id":45533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":45533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:13:55] local.INFO: TCP Data received {"connection_id":45533,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:13:55] local.INFO: Processing buffer {"connection_id":45533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:13:55] local.INFO: IMEI packet received {"connection_id":45533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":45533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:13:56] local.INFO: TCP Data received {"connection_id":45533,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:13:56] local.INFO: Processing buffer {"connection_id":45533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:13:56] local.INFO: IMEI packet received {"connection_id":45533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":45533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:14:00] local.INFO: TCP Data received {"connection_id":45533,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45533,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:14:00] local.INFO: Processing buffer {"connection_id":45533,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:14:00] local.INFO: IMEI packet received {"connection_id":45533,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":45533,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:14:01] local.INFO: TCP Data received {"connection_id":45533,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ac7420012d7f594005bc61b8000700c336..."} 
[2026-04-17 05:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ac7420012d7f594005bc61b8000700c336..."} 
[2026-04-17 05:14:01] local.INFO: Processing buffer {"connection_id":45533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ac7420012d7f594005bc61b8000700c336..."} 
[2026-04-17 05:14:01] local.INFO: Packet analysis {"connection_id":45533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:14:01] local.INFO: Extracted packet for processing {"connection_id":45533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763320640,"raw_latitude":96231864,"longitude_deg":76.332064,"latitude_deg":9.6231864,"altitude":7,"angle":195,"satellites":54,"speed":48,"hex_longitude":"2d7f5940","hex_latitude":"05bc61b8","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754028544001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274018909189832704,"note":"Value kept but may cause issues"} 
[2026-04-17 05:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9179602702613997568,"note":"Value kept but may cause issues"} 
[2026-04-17 05:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776382932000,"timestamp_ms":1776382932000,"timestamp_seconds":1776382932,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ac7420"} 
[2026-04-17 05:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 05:14: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-04-17 05: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-04-17 05:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:14: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-04-17 05:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754028544001,"66":27343,"121":206,"85":12544,"24":48,"16":274018909189832704,"45":9179602702613997568},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 05:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754028544001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:14:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 05:14:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274018909189832704,"km_value":274018909189832.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9179602702613997568,"description":"Unknown IO ID 45"} 
[2026-04-17 05:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754028544001,"power":27343,"unknown_121":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9179602702613997568}} 
[2026-04-17 05:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":45533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:14:01] local.INFO: GPS data processed {"connection_id":45533,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:14:01] local.INFO: Acknowledgment sent {"connection_id":45533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:14:05] local.INFO: TCP Data received {"connection_id":45534,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:14:05] local.INFO: Processing buffer {"connection_id":45534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:14:05] local.INFO: IMEI packet received {"connection_id":45534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":45534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:14:11] local.INFO: TCP Data received {"connection_id":45534,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45534,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:14:11] local.INFO: Processing buffer {"connection_id":45534,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:14:11] local.INFO: IMEI packet received {"connection_id":45534,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:14:11] local.INFO: IMEI acknowledgment sent {"connection_id":45534,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:14:12] local.INFO: TCP Data received {"connection_id":45534,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:14:12] local.INFO: Processing buffer {"connection_id":45534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:14:12] local.INFO: Packet analysis {"connection_id":45534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:14:12] local.INFO: Extracted packet for processing {"connection_id":45534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:14:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753954560001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:14:12] 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-04-17 05:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776382936000,"timestamp_ms":1776382936000,"timestamp_seconds":1776382936,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ac83c0"} 
[2026-04-17 05:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:14: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-04-17 05: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 05:14:12] 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-04-17 05: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-04-17 05:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753954560001,"66":25680,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753954560001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:14:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753954560001,"power":25680,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":45534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19313,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:14:12] local.INFO: GPS data processed {"connection_id":45534,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:14:12] local.INFO: Acknowledgment sent {"connection_id":45534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:14:32] local.INFO: TCP Data received {"connection_id":45533,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ac8f78012d7f524005bc3fa0000700bd35..."} 
[2026-04-17 05:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ac8f78012d7f524005bc3fa0000700bd35..."} 
[2026-04-17 05:14:32] local.INFO: Processing buffer {"connection_id":45533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ac8f78012d7f524005bc3fa0000700bd35..."} 
[2026-04-17 05:14:32] local.INFO: Packet analysis {"connection_id":45533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:14:32] local.INFO: Extracted packet for processing {"connection_id":45533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:14:32] local.INFO: GPS Element Parsed {"raw_longitude":763318848,"raw_latitude":96223136,"longitude_deg":76.3318848,"latitude_deg":9.6223136,"altitude":7,"angle":189,"satellites":53,"speed":51,"hex_longitude":"2d7f5240","hex_latitude":"05bc3fa0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 05:14:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754030592001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:14:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274019338686562304,"note":"Value kept but may cause issues"} 
[2026-04-17 05:14:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9176436109123631104,"note":"Value kept but may cause issues"} 
[2026-04-17 05:14:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:14:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776382939000,"timestamp_ms":1776382939000,"timestamp_seconds":1776382939,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ac8f78"} 
[2026-04-17 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-04-17 05:14:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 05:14: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-04-17 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-04-17 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-04-17 05:14:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:14:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:14:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:14:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45533,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:14:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:14:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:14:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:14:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754030592001,"66":27397,"121":206,"85":12544,"24":51,"16":274019338686562304,"45":9176436109123631104},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 05:14:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:14:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:14:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754030592001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:14:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 05:14:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:14:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274019338686562304,"km_value":274019338686562.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:14:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9176436109123631104,"description":"Unknown IO ID 45"} 
[2026-04-17 05:14:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754030592001,"power":27397,"unknown_121":206,"unknown_85":12544,"ignition":51,"odometer":null,"unknown_45":9176436109123631104}} 
[2026-04-17 05:14:32] local.INFO: DEBUG: GPS processor result {"connection_id":45533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:14:32] local.INFO: GPS data processed {"connection_id":45533,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:14:32] local.INFO: Acknowledgment sent {"connection_id":45533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:14:44] local.INFO: TCP Data received {"connection_id":45534,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:14:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:14:44] local.INFO: Processing buffer {"connection_id":45534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:14:44] local.INFO: Packet analysis {"connection_id":45534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:14:44] local.INFO: Extracted packet for processing {"connection_id":45534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:14:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:14:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753954560001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:14:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:14:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:14:44] 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-04-17 05:14:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776382936000,"timestamp_ms":1776382936000,"timestamp_seconds":1776382936,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ac83c0"} 
[2026-04-17 05:14:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:14:44] 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-04-17 05: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 05:14:44] 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-04-17 05: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-04-17 05:14:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:14:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:14:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:14:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:14:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45534,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:14:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:14:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:14:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:14:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753954560001,"66":25680,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:14:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:14:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:14:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753954560001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:14:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:14:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:14:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:14:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753954560001,"power":25680,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:14:44] local.INFO: DEBUG: GPS processor result {"connection_id":45534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:14:44] local.INFO: GPS data processed {"connection_id":45534,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:14:44] local.INFO: Acknowledgment sent {"connection_id":45534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:14:52] local.INFO: TCP Data received {"connection_id":45594,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:14:52] local.INFO: Processing buffer {"connection_id":45594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:14:52] local.INFO: IMEI packet received {"connection_id":45594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":45594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:14:52] local.INFO: TCP Data received {"connection_id":45594,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:14:52] local.INFO: Processing buffer {"connection_id":45594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:14:52] local.INFO: IMEI packet received {"connection_id":45594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":45594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:14:57] local.INFO: TCP Data received {"connection_id":45594,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:14:57] local.INFO: Processing buffer {"connection_id":45594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:14:57] local.INFO: IMEI packet received {"connection_id":45594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":45594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:14:57] local.INFO: TCP Data received {"connection_id":45594,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ade350012d7f1d0005bae170000500bf31..."} 
[2026-04-17 05:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ade350012d7f1d0005bae170000500bf31..."} 
[2026-04-17 05:14:57] local.INFO: Processing buffer {"connection_id":45594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ade350012d7f1d0005bae170000500bf31..."} 
[2026-04-17 05:14:57] local.INFO: Packet analysis {"connection_id":45594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ad"} 
[2026-04-17 05:14:57] local.INFO: Extracted packet for processing {"connection_id":45594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ad"} 
[2026-04-17 05:14:57] local.INFO: GPS Element Parsed {"raw_longitude":763305216,"raw_latitude":96133488,"longitude_deg":76.3305216,"latitude_deg":9.6133488,"altitude":5,"angle":191,"satellites":49,"speed":38,"hex_longitude":"2d7f1d00","hex_latitude":"05bae170","is_valid_coordinates":true} 
[2026-04-17 05:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754051840001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274023749617975296,"note":"Value kept but may cause issues"} 
[2026-04-17 05:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161306829102714880,"note":"Value kept but may cause issues"} 
[2026-04-17 05:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776383026000,"timestamp_ms":1776383026000,"timestamp_seconds":1776383026,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ade350"} 
[2026-04-17 05:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:14: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-04-17 05:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 05:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754051840001,"66":27343,"121":206,"85":12544,"24":38,"16":274023749617975296,"45":9161306829102714880},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 05:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754051840001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:14:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 05:14:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274023749617975296,"km_value":274023749617975.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161306829102714880,"description":"Unknown IO ID 45"} 
[2026-04-17 05:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754051840001,"power":27343,"unknown_121":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9161306829102714880}} 
[2026-04-17 05:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":45594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:14:57] local.INFO: GPS data processed {"connection_id":45594,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:14:57] local.INFO: Acknowledgment sent {"connection_id":45594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:15:05] local.INFO: TCP Data received {"connection_id":45535,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:15:05] local.INFO: Processing buffer {"connection_id":45535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:15:05] local.INFO: IMEI packet received {"connection_id":45535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":45535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:15:11] local.INFO: TCP Data received {"connection_id":45535,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:15:11] local.INFO: Processing buffer {"connection_id":45535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:15:11] local.INFO: IMEI packet received {"connection_id":45535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":45535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:15:13] local.INFO: TCP Data received {"connection_id":45535,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:15:13] local.INFO: Processing buffer {"connection_id":45535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:15:13] local.INFO: Packet analysis {"connection_id":45535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:15:13] local.INFO: Extracted packet for processing {"connection_id":45535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:15:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753954560001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:15:13] 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-04-17 05:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776382936000,"timestamp_ms":1776382936000,"timestamp_seconds":1776382936,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ac83c0"} 
[2026-04-17 05:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:15:13] 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-04-17 05:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 05:15:13] 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-04-17 05:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753954560001,"66":25680,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753954560001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:15:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753954560001,"power":25680,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":45535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19317,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:15:13] local.INFO: GPS data processed {"connection_id":45535,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:15:13] local.INFO: Acknowledgment sent {"connection_id":45535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:15:28] local.INFO: TCP Data received {"connection_id":45594,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ae0a60012d7f168005babb60000400bc2f..."} 
[2026-04-17 05:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ae0a60012d7f168005babb60000400bc2f..."} 
[2026-04-17 05:15:28] local.INFO: Processing buffer {"connection_id":45594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ae0a60012d7f168005babb60000400bc2f..."} 
[2026-04-17 05:15:28] local.INFO: Packet analysis {"connection_id":45594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ae"} 
[2026-04-17 05:15:28] local.INFO: Extracted packet for processing {"connection_id":45594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ae"} 
[2026-04-17 05:15:28] local.INFO: GPS Element Parsed {"raw_longitude":763303552,"raw_latitude":96123744,"longitude_deg":76.3303552,"latitude_deg":9.6123744,"altitude":4,"angle":188,"satellites":47,"speed":41,"hex_longitude":"2d7f1680","hex_latitude":"05babb60","is_valid_coordinates":true} 
[2026-04-17 05:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754054656001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274024230654312448,"note":"Value kept but may cause issues"} 
[2026-04-17 05:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159477241751629824,"note":"Value kept but may cause issues"} 
[2026-04-17 05:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776383036000,"timestamp_ms":1776383036000,"timestamp_seconds":1776383036,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ae0a60"} 
[2026-04-17 05:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:15: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-04-17 05:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 05:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754054656001,"66":27343,"121":206,"85":12544,"24":41,"16":274024230654312448,"45":9159477241751629824},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 05:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754054656001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:15:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 05:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274024230654312448,"km_value":274024230654312.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159477241751629824,"description":"Unknown IO ID 45"} 
[2026-04-17 05:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754054656001,"power":27343,"unknown_121":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9159477241751629824}} 
[2026-04-17 05:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":45594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:15:28] local.INFO: GPS data processed {"connection_id":45594,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:15:28] local.INFO: Acknowledgment sent {"connection_id":45594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:15:44] local.INFO: TCP Data received {"connection_id":45535,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:15:44] local.INFO: Processing buffer {"connection_id":45535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:15:44] local.INFO: Packet analysis {"connection_id":45535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:15:44] local.INFO: Extracted packet for processing {"connection_id":45535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:15:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753954560001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:15:44] 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-04-17 05:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776382936000,"timestamp_ms":1776382936000,"timestamp_seconds":1776382936,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ac83c0"} 
[2026-04-17 05:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:15:44] 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-04-17 05: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 05:15:44] 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-04-17 05: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-04-17 05:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753954560001,"66":25680,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753954560001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:15:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753954560001,"power":25680,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":45535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:15:44] local.INFO: GPS data processed {"connection_id":45535,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:15:44] local.INFO: Acknowledgment sent {"connection_id":45535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:15:52] local.INFO: TCP Data received {"connection_id":45788,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:15:52] local.INFO: Processing buffer {"connection_id":45788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:15:52] local.INFO: IMEI packet received {"connection_id":45788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":45788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:15:53] local.INFO: TCP Data received {"connection_id":45788,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:15:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:15:53] local.INFO: Processing buffer {"connection_id":45788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:15:53] local.INFO: IMEI packet received {"connection_id":45788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:15:53] local.INFO: IMEI acknowledgment sent {"connection_id":45788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:15:57] local.INFO: TCP Data received {"connection_id":45788,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:15:57] local.INFO: Processing buffer {"connection_id":45788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:15:57] local.INFO: IMEI packet received {"connection_id":45788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":45788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:15:57] local.INFO: TCP Data received {"connection_id":45788,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ae2d88012d7f104005ba97b8000300bd33..."} 
[2026-04-17 05:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ae2d88012d7f104005ba97b8000300bd33..."} 
[2026-04-17 05:15:57] local.INFO: Processing buffer {"connection_id":45788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ae2d88012d7f104005ba97b8000300bd33..."} 
[2026-04-17 05:15:57] local.INFO: Packet analysis {"connection_id":45788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ae"} 
[2026-04-17 05:15:57] local.INFO: Extracted packet for processing {"connection_id":45788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ae"} 
[2026-04-17 05:15:57] local.INFO: GPS Element Parsed {"raw_longitude":763301952,"raw_latitude":96114616,"longitude_deg":76.3301952,"latitude_deg":9.6114616,"altitude":3,"angle":189,"satellites":51,"speed":40,"hex_longitude":"2d7f1040","hex_latitude":"05ba97b8","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754057216001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274024677330911232,"note":"Value kept but may cause issues"} 
[2026-04-17 05:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9157647654400516096,"note":"Value kept but may cause issues"} 
[2026-04-17 05:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776383045000,"timestamp_ms":1776383045000,"timestamp_seconds":1776383045,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ae2d88"} 
[2026-04-17 05:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 05: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 05:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754057216001,"66":27376,"121":206,"85":12544,"24":40,"16":274024677330911232,"45":9157647654400516096},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 05:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754057216001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:15:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 05:15:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274024677330911232,"km_value":274024677330911.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9157647654400516096,"description":"Unknown IO ID 45"} 
[2026-04-17 05:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754057216001,"power":27376,"unknown_121":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9157647654400516096}} 
[2026-04-17 05:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":45788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:15:57] local.INFO: GPS data processed {"connection_id":45788,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:15:57] local.INFO: Acknowledgment sent {"connection_id":45788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:16:11] local.INFO: TCP Data received {"connection_id":45595,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:16:11] local.INFO: Processing buffer {"connection_id":45595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:16:11] local.INFO: IMEI packet received {"connection_id":45595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":45595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:16:16] local.INFO: TCP Data received {"connection_id":45595,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:16:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45595,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:16:16] local.INFO: Processing buffer {"connection_id":45595,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:16:16] local.INFO: IMEI packet received {"connection_id":45595,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:16:16] local.INFO: IMEI acknowledgment sent {"connection_id":45595,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:16:17] local.INFO: TCP Data received {"connection_id":45595,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:16:17] local.INFO: Processing buffer {"connection_id":45595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:16:17] local.INFO: Packet analysis {"connection_id":45595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:16:17] local.INFO: Extracted packet for processing {"connection_id":45595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:16:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753954560001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:16:17] 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-04-17 05:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776382936000,"timestamp_ms":1776382936000,"timestamp_seconds":1776382936,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ac83c0"} 
[2026-04-17 05:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:16:17] 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-04-17 05:16:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 05:16:17] 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-04-17 05: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-04-17 05:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753954560001,"66":25680,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753954560001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:16:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753954560001,"power":25680,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":45595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19321,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:16:17] local.INFO: GPS data processed {"connection_id":45595,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:16:17] local.INFO: Acknowledgment sent {"connection_id":45595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:16:22] local.INFO: TCP Data received {"connection_id":45595,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:16:22] local.INFO: Processing buffer {"connection_id":45595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:16:22] local.INFO: Packet analysis {"connection_id":45595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:16:22] local.INFO: Extracted packet for processing {"connection_id":45595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:16:22] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:16:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753954560001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:16:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:16:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:16:22] 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-04-17 05:16:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776382936000,"timestamp_ms":1776382936000,"timestamp_seconds":1776382936,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ac83c0"} 
[2026-04-17 05:16:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:16:22] 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-04-17 05: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 05:16:22] 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-04-17 05: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-04-17 05:16:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:16:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:16:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:16:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:16:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45595,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:16:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:16:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:16:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:16:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753954560001,"66":25680,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:16:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:16:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:16:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753954560001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:16:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:16:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:16:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:16:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753954560001,"power":25680,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:16:22] local.INFO: DEBUG: GPS processor result {"connection_id":45595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19322,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:16:22] local.INFO: GPS data processed {"connection_id":45595,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:16:22] local.INFO: Acknowledgment sent {"connection_id":45595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:16:29] local.INFO: TCP Data received {"connection_id":45788,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ae50b0012d7f0b8005ba7330000300bc31..."} 
[2026-04-17 05:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ae50b0012d7f0b8005ba7330000300bc31..."} 
[2026-04-17 05:16:29] local.INFO: Processing buffer {"connection_id":45788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ae50b0012d7f0b8005ba7330000300bc31..."} 
[2026-04-17 05:16:29] local.INFO: Packet analysis {"connection_id":45788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ae"} 
[2026-04-17 05:16:29] local.INFO: Extracted packet for processing {"connection_id":45788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ae"} 
[2026-04-17 05:16:29] local.INFO: GPS Element Parsed {"raw_longitude":763300736,"raw_latitude":96105264,"longitude_deg":76.3300736,"latitude_deg":9.6105264,"altitude":3,"angle":188,"satellites":49,"speed":41,"hex_longitude":"2d7f0b80","hex_latitude":"05ba7330","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754059520001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274025136892411904,"note":"Value kept but may cause issues"} 
[2026-04-17 05:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9155888435793737728,"note":"Value kept but may cause issues"} 
[2026-04-17 05:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776383054000,"timestamp_ms":1776383054000,"timestamp_seconds":1776383054,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ae50b0"} 
[2026-04-17 05:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:16: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-04-17 05: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":240,"data_length":795,"current_offset":136} 
[2026-04-17 05:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754059520001,"66":27463,"121":206,"85":12544,"24":41,"16":274025136892411904,"45":9155888435793737728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 05:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754059520001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:16:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 05:16:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274025136892411904,"km_value":274025136892411.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9155888435793737728,"description":"Unknown IO ID 45"} 
[2026-04-17 05:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754059520001,"power":27463,"unknown_121":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9155888435793737728}} 
[2026-04-17 05:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":45788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:16:29] local.INFO: GPS data processed {"connection_id":45788,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:16:29] local.INFO: Acknowledgment sent {"connection_id":45788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:16:52] local.INFO: TCP Data received {"connection_id":45536,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:16:52] local.INFO: Processing buffer {"connection_id":45536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:16:52] local.INFO: IMEI packet received {"connection_id":45536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":45536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:16:52] local.INFO: TCP Data received {"connection_id":45536,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:16:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:16:52] local.INFO: Processing buffer {"connection_id":45536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:16:52] local.INFO: IMEI packet received {"connection_id":45536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:16:52] local.INFO: IMEI acknowledgment sent {"connection_id":45536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:16:57] local.INFO: TCP Data received {"connection_id":45536,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45536,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:16:57] local.INFO: Processing buffer {"connection_id":45536,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:16:57] local.INFO: IMEI packet received {"connection_id":45536,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":45536,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:16:57] local.INFO: TCP Data received {"connection_id":45536,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98afbbf8012d7ec98005b8fe98000300bb33..."} 
[2026-04-17 05:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98afbbf8012d7ec98005b8fe98000300bb33..."} 
[2026-04-17 05:16:57] local.INFO: Processing buffer {"connection_id":45536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98afbbf8012d7ec98005b8fe98000300bb33..."} 
[2026-04-17 05:16:57] local.INFO: Packet analysis {"connection_id":45536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98af"} 
[2026-04-17 05:16:57] local.INFO: Extracted packet for processing {"connection_id":45536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98af"} 
[2026-04-17 05:16:57] local.INFO: GPS Element Parsed {"raw_longitude":763283840,"raw_latitude":96009880,"longitude_deg":76.328384,"latitude_deg":9.600988,"altitude":3,"angle":187,"satellites":51,"speed":35,"hex_longitude":"2d7ec980","hex_latitude":"05b8fe98","is_valid_coordinates":true} 
[2026-04-17 05:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754082816001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274029839881601024,"note":"Value kept but may cause issues"} 
[2026-04-17 05:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137522193538940928,"note":"Value kept but may cause issues"} 
[2026-04-17 05:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776383147000,"timestamp_ms":1776383147000,"timestamp_seconds":1776383147,"priority":1,"record_length":96,"hex_timestamp":"0000019d98afbbf8"} 
[2026-04-17 05:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:16: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-04-17 05:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 05:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754082816001,"66":27397,"121":206,"85":12544,"24":35,"16":274029839881601024,"45":9137522193538940928},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 05:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754082816001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:16:57] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 05:16:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274029839881601024,"km_value":274029839881601.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137522193538940928,"description":"Unknown IO ID 45"} 
[2026-04-17 05:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754082816001,"power":27397,"unknown_121":206,"unknown_85":12544,"ignition":35,"odometer":null,"unknown_45":9137522193538940928}} 
[2026-04-17 05:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":45536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:16:57] local.INFO: GPS data processed {"connection_id":45536,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:16:57] local.INFO: Acknowledgment sent {"connection_id":45536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:17:05] local.INFO: TCP Data received {"connection_id":45537,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:17:05] local.INFO: Processing buffer {"connection_id":45537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:17:05] local.INFO: IMEI packet received {"connection_id":45537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":45537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:17:12] local.INFO: TCP Data received {"connection_id":45537,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45537,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:17:12] local.INFO: Processing buffer {"connection_id":45537,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:17:12] local.INFO: IMEI packet received {"connection_id":45537,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":45537,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:17:13] local.INFO: TCP Data received {"connection_id":45537,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:17:13] local.INFO: Processing buffer {"connection_id":45537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:17:13] local.INFO: Packet analysis {"connection_id":45537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:17:13] local.INFO: Extracted packet for processing {"connection_id":45537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:17:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753954560001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:17:13] 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-04-17 05:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776382936000,"timestamp_ms":1776382936000,"timestamp_seconds":1776382936,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ac83c0"} 
[2026-04-17 05:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:17:13] 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-04-17 05: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 05:17:13] 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-04-17 05: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-04-17 05:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45537,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45537,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753954560001,"66":25680,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753954560001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:17:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753954560001,"power":25680,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":45537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:17:13] local.INFO: GPS data processed {"connection_id":45537,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:17:13] local.INFO: Acknowledgment sent {"connection_id":45537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:17:29] local.INFO: TCP Data received {"connection_id":45536,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98afe308012d7ec50005b8daa0000300ba34..."} 
[2026-04-17 05:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98afe308012d7ec50005b8daa0000300ba34..."} 
[2026-04-17 05:17:29] local.INFO: Processing buffer {"connection_id":45536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98afe308012d7ec50005b8daa0000300ba34..."} 
[2026-04-17 05:17:29] local.INFO: Packet analysis {"connection_id":45536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98af"} 
[2026-04-17 05:17:29] local.INFO: Extracted packet for processing {"connection_id":45536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98af"} 
[2026-04-17 05:17:29] local.INFO: GPS Element Parsed {"raw_longitude":763282688,"raw_latitude":96000672,"longitude_deg":76.3282688,"latitude_deg":9.6000672,"altitude":3,"angle":186,"satellites":52,"speed":39,"hex_longitude":"2d7ec500","hex_latitude":"05b8daa0","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:17:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754085632001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:17:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274030286558199808,"note":"Value kept but may cause issues"} 
[2026-04-17 05:17:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135974081164646400,"note":"Value kept but may cause issues"} 
[2026-04-17 05:17:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:17:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776383157000,"timestamp_ms":1776383157000,"timestamp_seconds":1776383157,"priority":1,"record_length":96,"hex_timestamp":"0000019d98afe308"} 
[2026-04-17 05:17:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:17: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-04-17 05: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 05:17:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:17:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:17:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:17:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:17:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:17:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45536,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:17:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:17:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:17:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:17:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754085632001,"66":27332,"121":206,"85":12544,"24":39,"16":274030286558199808,"45":9135974081164646400},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 05:17:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:17:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:17:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754085632001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:17:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 05:17:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:17:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274030286558199808,"km_value":274030286558199.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:17:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135974081164646400,"description":"Unknown IO ID 45"} 
[2026-04-17 05:17:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754085632001,"power":27332,"unknown_121":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":9135974081164646400}} 
[2026-04-17 05:17:29] local.INFO: DEBUG: GPS processor result {"connection_id":45536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:17:29] local.INFO: GPS data processed {"connection_id":45536,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:17:29] local.INFO: Acknowledgment sent {"connection_id":45536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:17:45] local.INFO: TCP Data received {"connection_id":45537,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:17:45] local.INFO: Processing buffer {"connection_id":45537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ac83c0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:17:45] local.INFO: Packet analysis {"connection_id":45537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:17:45] local.INFO: Extracted packet for processing {"connection_id":45537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ac"} 
[2026-04-17 05:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454753954560001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:17:45] 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-04-17 05:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776382936000,"timestamp_ms":1776382936000,"timestamp_seconds":1776382936,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ac83c0"} 
[2026-04-17 05:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:17:45] 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-04-17 05: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 05:17:45] 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-04-17 05: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-04-17 05:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45537,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45537,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454753954560001,"66":25680,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454753954560001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:17:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454753954560001,"power":25680,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":45537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19327,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:17:45] local.INFO: GPS data processed {"connection_id":45537,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:17:45] local.INFO: Acknowledgment sent {"connection_id":45537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:17:57] local.INFO: TCP Data received {"connection_id":45789,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:17:57] local.INFO: Processing buffer {"connection_id":45789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:17:57] local.INFO: IMEI packet received {"connection_id":45789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":45789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:17:57] local.INFO: TCP Data received {"connection_id":45789,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:17:57] local.INFO: Processing buffer {"connection_id":45789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:17:57] local.INFO: IMEI packet received {"connection_id":45789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":45789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:17:58] local.INFO: TCP Data received {"connection_id":45789,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b00a18012d7ec08005b8b658000400b735..."} 
[2026-04-17 05:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b00a18012d7ec08005b8b658000400b735..."} 
[2026-04-17 05:17:58] local.INFO: Processing buffer {"connection_id":45789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b00a18012d7ec08005b8b658000400b735..."} 
[2026-04-17 05:17:58] local.INFO: Packet analysis {"connection_id":45789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b0"} 
[2026-04-17 05:17:58] local.INFO: Extracted packet for processing {"connection_id":45789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b0"} 
[2026-04-17 05:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763281536,"raw_latitude":95991384,"longitude_deg":76.3281536,"latitude_deg":9.5991384,"altitude":4,"angle":183,"satellites":53,"speed":33,"hex_longitude":"2d7ec080","hex_latitude":"05b8b658","is_valid_coordinates":true} 
[2026-04-17 05:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754088192001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274030741824733184,"note":"Value kept but may cause issues"} 
[2026-04-17 05:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9134707443767091200,"note":"Value kept but may cause issues"} 
[2026-04-17 05:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776383167000,"timestamp_ms":1776383167000,"timestamp_seconds":1776383167,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b00a18"} 
[2026-04-17 05:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:17: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-04-17 05:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 05:17: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-04-17 05:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754088192001,"66":27397,"121":206,"85":12544,"24":33,"16":274030741824733184,"45":9134707443767091200},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 05:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754088192001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:17:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 05:17:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274030741824733184,"km_value":274030741824733.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9134707443767091200,"description":"Unknown IO ID 45"} 
[2026-04-17 05:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754088192001,"power":27397,"unknown_121":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9134707443767091200}} 
[2026-04-17 05:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":45789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:17:58] local.INFO: GPS data processed {"connection_id":45789,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:17:58] local.INFO: Acknowledgment sent {"connection_id":45789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:17:59] local.INFO: TCP Data received {"connection_id":45789,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b015d0012d7ec14005b8ace0000400a734..."} 
[2026-04-17 05:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b015d0012d7ec14005b8ace0000400a734..."} 
[2026-04-17 05:17:59] local.INFO: Processing buffer {"connection_id":45789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b015d0012d7ec14005b8ace0000400a734..."} 
[2026-04-17 05:17:59] local.INFO: Packet analysis {"connection_id":45789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b0"} 
[2026-04-17 05:17:59] local.INFO: Extracted packet for processing {"connection_id":45789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b0"} 
[2026-04-17 05:17:59] local.INFO: GPS Element Parsed {"raw_longitude":763281728,"raw_latitude":95988960,"longitude_deg":76.3281728,"latitude_deg":9.598896,"altitude":4,"angle":167,"satellites":52,"speed":30,"hex_longitude":"2d7ec140","hex_latitude":"05b8ace0","is_valid_coordinates":true} 
[2026-04-17 05:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754090752001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274030862083817472,"note":"Value kept but may cause issues"} 
[2026-04-17 05:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133440806369515520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:17:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776383170000,"timestamp_ms":1776383170000,"timestamp_seconds":1776383170,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b015d0"} 
[2026-04-17 05:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:17:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 05:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 05:17:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754090752001,"66":27234,"121":206,"85":12544,"24":30,"16":274030862083817472,"45":9133440806369515520},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 05:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754090752001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:17:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 05:17:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274030862083817472,"km_value":274030862083817.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133440806369515520,"description":"Unknown IO ID 45"} 
[2026-04-17 05:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754090752001,"power":27234,"unknown_121":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9133440806369515520}} 
[2026-04-17 05:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":45789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:17:59] local.INFO: GPS data processed {"connection_id":45789,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:17:59] local.INFO: Acknowledgment sent {"connection_id":45789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:18:11] local.INFO: TCP Data received {"connection_id":45790,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:18:11] local.INFO: Processing buffer {"connection_id":45790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:18:11] local.INFO: IMEI packet received {"connection_id":45790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:18:11] local.INFO: IMEI acknowledgment sent {"connection_id":45790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:18:16] local.INFO: TCP Data received {"connection_id":45790,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:18:16] local.INFO: Processing buffer {"connection_id":45790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:18:16] local.INFO: IMEI packet received {"connection_id":45790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":45790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:18:17] local.INFO: TCP Data received {"connection_id":45790,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:18:17] local.INFO: Processing buffer {"connection_id":45790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:18:17] local.INFO: Packet analysis {"connection_id":45790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:18:17] local.INFO: Extracted packet for processing {"connection_id":45790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:18:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754031616001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:18:17] 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-04-17 05:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776383237000,"timestamp_ms":1776383237000,"timestamp_seconds":1776383237,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b11b88"} 
[2026-04-17 05:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:18:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 05:18:17] 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-04-17 05:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754031616001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754031616001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:18:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754031616001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":45790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19330,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:18:17] local.INFO: GPS data processed {"connection_id":45790,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:18:17] local.INFO: Acknowledgment sent {"connection_id":45790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:18:22] local.INFO: TCP Data received {"connection_id":45790,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:18:22] local.INFO: Processing buffer {"connection_id":45790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:18:22] local.INFO: Packet analysis {"connection_id":45790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:18:22] local.INFO: Extracted packet for processing {"connection_id":45790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:18:22] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:18:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754031616001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:18:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:18:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:18:22] 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-04-17 05:18:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776383237000,"timestamp_ms":1776383237000,"timestamp_seconds":1776383237,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b11b88"} 
[2026-04-17 05:18:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:18:22] 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-04-17 05:18:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 05:18:22] 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-04-17 05: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-04-17 05:18:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:18:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:18:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:18:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:18:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:18:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:18:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:18:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:18:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754031616001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:18:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:18:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:18:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754031616001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:18:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:18:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:18:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:18:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754031616001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:18:22] local.INFO: DEBUG: GPS processor result {"connection_id":45790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19331,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:18:22] local.INFO: GPS data processed {"connection_id":45790,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:18:22] local.INFO: Acknowledgment sent {"connection_id":45790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:18:30] local.INFO: TCP Data received {"connection_id":45789,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b02570012d7ec34005b8a128000400b333..."} 
[2026-04-17 05:18:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b02570012d7ec34005b8a128000400b333..."} 
[2026-04-17 05:18:30] local.INFO: Processing buffer {"connection_id":45789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b02570012d7ec34005b8a128000400b333..."} 
[2026-04-17 05:18:30] local.INFO: Packet analysis {"connection_id":45789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b0"} 
[2026-04-17 05:18:30] local.INFO: Extracted packet for processing {"connection_id":45789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b0"} 
[2026-04-17 05:18:30] local.INFO: GPS Element Parsed {"raw_longitude":763282240,"raw_latitude":95985960,"longitude_deg":76.328224,"latitude_deg":9.598596,"altitude":4,"angle":179,"satellites":51,"speed":30,"hex_longitude":"2d7ec340","hex_latitude":"05b8a128","is_valid_coordinates":true} 
[2026-04-17 05:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:18:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754091520001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:18:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274031008112705536,"note":"Value kept but may cause issues"} 
[2026-04-17 05:18:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133651912601427968,"note":"Value kept but may cause issues"} 
[2026-04-17 05:18:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:18:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776383174000,"timestamp_ms":1776383174000,"timestamp_seconds":1776383174,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b02570"} 
[2026-04-17 05:18:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:18: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-04-17 05:18:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 05:18:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:18:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:18:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:18:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:18:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:18:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:18:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:18: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-04-17 05:18:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:18:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:18:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754091520001,"66":27267,"121":206,"85":12544,"24":30,"16":274031008112705536,"45":9133651912601427968},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 05:18:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:18:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:18:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754091520001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:18:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 05:18:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:18:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274031008112705536,"km_value":274031008112705.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:18:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133651912601427968,"description":"Unknown IO ID 45"} 
[2026-04-17 05:18:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754091520001,"power":27267,"unknown_121":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9133651912601427968}} 
[2026-04-17 05:18:30] local.INFO: DEBUG: GPS processor result {"connection_id":45789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:18:30] local.INFO: GPS data processed {"connection_id":45789,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:18:30] local.INFO: Acknowledgment sent {"connection_id":45789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:18:51] local.INFO: TCP Data received {"connection_id":45596,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:18:51] local.INFO: Processing buffer {"connection_id":45596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:18:51] local.INFO: IMEI packet received {"connection_id":45596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":45596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:18:57] local.INFO: TCP Data received {"connection_id":45596,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:18:57] local.INFO: Processing buffer {"connection_id":45596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:18:57] local.INFO: IMEI packet received {"connection_id":45596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":45596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:18:57] local.INFO: TCP Data received {"connection_id":45596,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b1b3e0012d7eb54005b70bf0000600b534..."} 
[2026-04-17 05:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b1b3e0012d7eb54005b70bf0000600b534..."} 
[2026-04-17 05:18:57] local.INFO: Processing buffer {"connection_id":45596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b1b3e0012d7eb54005b70bf0000600b534..."} 
[2026-04-17 05:18:57] local.INFO: Packet analysis {"connection_id":45596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:18:57] local.INFO: Extracted packet for processing {"connection_id":45596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:18:57] local.INFO: GPS Element Parsed {"raw_longitude":763278656,"raw_latitude":95882224,"longitude_deg":76.3278656,"latitude_deg":9.5882224,"altitude":6,"angle":181,"satellites":52,"speed":45,"hex_longitude":"2d7eb540","hex_latitude":"05b70bf0","is_valid_coordinates":true} 
[2026-04-17 05:18: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-04-17 05:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754116608001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274036046109343744,"note":"Value kept but may cause issues"} 
[2026-04-17 05:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130626056576798720,"note":"Value kept but may cause issues"} 
[2026-04-17 05:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776383276000,"timestamp_ms":1776383276000,"timestamp_seconds":1776383276,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b1b3e0"} 
[2026-04-17 05:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:18: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-04-17 05:18:57] local.INFO: IO Element 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-04-17 05:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:18: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-04-17 05:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754116608001,"66":27332,"59":206,"85":12544,"24":45,"16":274036046109343744,"45":9130626056576798720},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-17 05:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754116608001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:18:57] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-17 05:18:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274036046109343744,"km_value":274036046109343.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130626056576798720,"description":"Unknown IO ID 45"} 
[2026-04-17 05:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754116608001,"power":27332,"unknown_59":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9130626056576798720}} 
[2026-04-17 05:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":45596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:18:57] local.INFO: GPS data processed {"connection_id":45596,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:18:57] local.INFO: Acknowledgment sent {"connection_id":45596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:19:06] local.INFO: TCP Data received {"connection_id":45791,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:19:06] local.INFO: Processing buffer {"connection_id":45791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:19:06] local.INFO: IMEI packet received {"connection_id":45791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:19:06] local.INFO: IMEI acknowledgment sent {"connection_id":45791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:19:11] local.INFO: TCP Data received {"connection_id":45791,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:19:11] local.INFO: Processing buffer {"connection_id":45791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:19:11] local.INFO: IMEI packet received {"connection_id":45791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":45791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:19:12] local.INFO: TCP Data received {"connection_id":45791,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:19:12] local.INFO: Processing buffer {"connection_id":45791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:19:12] local.INFO: Packet analysis {"connection_id":45791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:19:12] local.INFO: Extracted packet for processing {"connection_id":45791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754031616001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:19:12] 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-04-17 05:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776383237000,"timestamp_ms":1776383237000,"timestamp_seconds":1776383237,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b11b88"} 
[2026-04-17 05:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:19: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-04-17 05:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 05:19:12] 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-04-17 05:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754031616001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754031616001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:19:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754031616001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":45791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19334,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:19:12] local.INFO: GPS data processed {"connection_id":45791,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:19:12] local.INFO: Acknowledgment sent {"connection_id":45791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:19:28] local.INFO: TCP Data received {"connection_id":45596,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b1d320012d7eb44005b6e910000700b635..."} 
[2026-04-17 05:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b1d320012d7eb44005b6e910000700b635..."} 
[2026-04-17 05:19:28] local.INFO: Processing buffer {"connection_id":45596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b1d320012d7eb44005b6e910000700b635..."} 
[2026-04-17 05:19:28] local.INFO: Packet analysis {"connection_id":45596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:19:28] local.INFO: Extracted packet for processing {"connection_id":45596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:19:28] local.INFO: GPS Element Parsed {"raw_longitude":763278400,"raw_latitude":95873296,"longitude_deg":76.32784,"latitude_deg":9.5873296,"altitude":7,"angle":182,"satellites":53,"speed":42,"hex_longitude":"2d7eb440","hex_latitude":"05b6e910","is_valid_coordinates":true} 
[2026-04-17 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-04-17 05:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754118656001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274036475606073344,"note":"Value kept but may cause issues"} 
[2026-04-17 05:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130274212853575680,"note":"Value kept but may cause issues"} 
[2026-04-17 05:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776383284000,"timestamp_ms":1776383284000,"timestamp_seconds":1776383284,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b1d320"} 
[2026-04-17 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-04-17 05:19: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-04-17 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 05:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 05:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754118656001,"66":27365,"59":206,"85":12544,"24":42,"16":274036475606073344,"45":9130274212853575680},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-17 05:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754118656001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:19:28] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-17 05:19:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274036475606073344,"km_value":274036475606073.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130274212853575680,"description":"Unknown IO ID 45"} 
[2026-04-17 05:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754118656001,"power":27365,"unknown_59":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9130274212853575680}} 
[2026-04-17 05:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":45596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:19:28] local.INFO: GPS data processed {"connection_id":45596,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:19:28] local.INFO: Acknowledgment sent {"connection_id":45596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:19:45] local.INFO: TCP Data received {"connection_id":45791,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:19:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:19:45] local.INFO: Processing buffer {"connection_id":45791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:19:45] local.INFO: Packet analysis {"connection_id":45791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:19:45] local.INFO: Extracted packet for processing {"connection_id":45791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:19:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:19:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754031616001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:19:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:19:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:19:45] 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-04-17 05:19:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776383237000,"timestamp_ms":1776383237000,"timestamp_seconds":1776383237,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b11b88"} 
[2026-04-17 05:19:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:19:45] 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-04-17 05:19:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 05:19:45] 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-04-17 05:19:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:19:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:19:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:19:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:19:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:19:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:19:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:19:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:19:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:19:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754031616001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:19:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:19:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:19:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754031616001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:19:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:19:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:19:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:19:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754031616001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:19:45] local.INFO: DEBUG: GPS processor result {"connection_id":45791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19336,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:19:45] local.INFO: GPS data processed {"connection_id":45791,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:19:45] local.INFO: Acknowledgment sent {"connection_id":45791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:19:51] local.INFO: TCP Data received {"connection_id":45597,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:19:51] local.INFO: Processing buffer {"connection_id":45597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:19:51] local.INFO: IMEI packet received {"connection_id":45597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":45597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:19:53] local.INFO: TCP Data received {"connection_id":45597,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:19:53] local.INFO: Processing buffer {"connection_id":45597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:19:53] local.INFO: IMEI packet received {"connection_id":45597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:19:53] local.INFO: IMEI acknowledgment sent {"connection_id":45597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:19:57] local.INFO: TCP Data received {"connection_id":45597,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:19:57] local.INFO: Processing buffer {"connection_id":45597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:19:57] local.INFO: IMEI packet received {"connection_id":45597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":45597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:19:57] local.INFO: TCP Data received {"connection_id":45597,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b1f648012d7eb28005b6c520000800b535..."} 
[2026-04-17 05:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b1f648012d7eb28005b6c520000800b535..."} 
[2026-04-17 05:19:57] local.INFO: Processing buffer {"connection_id":45597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b1f648012d7eb28005b6c520000800b535..."} 
[2026-04-17 05:19:57] local.INFO: Packet analysis {"connection_id":45597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:19:57] local.INFO: Extracted packet for processing {"connection_id":45597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:19:57] local.INFO: GPS Element Parsed {"raw_longitude":763277952,"raw_latitude":95864096,"longitude_deg":76.3277952,"latitude_deg":9.5864096,"altitude":8,"angle":181,"satellites":53,"speed":37,"hex_longitude":"2d7eb280","hex_latitude":"05b6c520","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754120704001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274036922282672128,"note":"Value kept but may cause issues"} 
[2026-04-17 05:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129992737874579456,"note":"Value kept but may cause issues"} 
[2026-04-17 05:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776383293000,"timestamp_ms":1776383293000,"timestamp_seconds":1776383293,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b1f648"} 
[2026-04-17 05:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:19: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-04-17 05: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 05:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754120704001,"66":27397,"59":206,"85":12544,"24":37,"16":274036922282672128,"45":9129992737874579456},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-17 05:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754120704001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:19:57] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-17 05:19:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274036922282672128,"km_value":274036922282672.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129992737874579456,"description":"Unknown IO ID 45"} 
[2026-04-17 05:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754120704001,"power":27397,"unknown_59":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9129992737874579456}} 
[2026-04-17 05:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":45597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:19:57] local.INFO: GPS data processed {"connection_id":45597,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:19:57] local.INFO: Acknowledgment sent {"connection_id":45597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:20:12] local.INFO: TCP Data received {"connection_id":45538,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:20:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:20:12] local.INFO: Processing buffer {"connection_id":45538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:20:12] local.INFO: IMEI packet received {"connection_id":45538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:20:12] local.INFO: IMEI acknowledgment sent {"connection_id":45538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:20:28] local.INFO: TCP Data received {"connection_id":45597,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b22140012d7eb1c005b6a0a0000700b435..."} 
[2026-04-17 05:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b22140012d7eb1c005b6a0a0000700b435..."} 
[2026-04-17 05:20:28] local.INFO: Processing buffer {"connection_id":45597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b22140012d7eb1c005b6a0a0000700b435..."} 
[2026-04-17 05:20:28] local.INFO: Packet analysis {"connection_id":45597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b2"} 
[2026-04-17 05:20:28] local.INFO: Extracted packet for processing {"connection_id":45597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b2"} 
[2026-04-17 05:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763277760,"raw_latitude":95854752,"longitude_deg":76.327776,"latitude_deg":9.5854752,"altitude":7,"angle":180,"satellites":53,"speed":33,"hex_longitude":"2d7eb1c0","hex_latitude":"05b6a0a0","is_valid_coordinates":true} 
[2026-04-17 05:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754123008001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274037377549205504,"note":"Value kept but may cause issues"} 
[2026-04-17 05:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129500156662980608,"note":"Value kept but may cause issues"} 
[2026-04-17 05:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776383304000,"timestamp_ms":1776383304000,"timestamp_seconds":1776383304,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b22140"} 
[2026-04-17 05:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:20: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-04-17 05:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 05:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754123008001,"66":27376,"59":206,"85":12544,"24":33,"16":274037377549205504,"45":9129500156662980608},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-17 05:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754123008001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:20:28] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-17 05:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274037377549205504,"km_value":274037377549205.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129500156662980608,"description":"Unknown IO ID 45"} 
[2026-04-17 05:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754123008001,"power":27376,"unknown_59":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9129500156662980608}} 
[2026-04-17 05:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":45597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:20:28] local.INFO: GPS data processed {"connection_id":45597,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:20:28] local.INFO: Acknowledgment sent {"connection_id":45597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:20:32] local.INFO: TCP Data received {"connection_id":45538,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45538,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:20:32] local.INFO: Processing buffer {"connection_id":45538,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:20:32] local.INFO: IMEI packet received {"connection_id":45538,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:20:32] local.INFO: IMEI acknowledgment sent {"connection_id":45538,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:20:33] local.INFO: TCP Data received {"connection_id":45538,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:20:33] local.INFO: Processing buffer {"connection_id":45538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:20:33] local.INFO: Packet analysis {"connection_id":45538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:20:33] local.INFO: Extracted packet for processing {"connection_id":45538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:20:33] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 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-04-17 05:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754031616001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:20:33] 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-04-17 05:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776383237000,"timestamp_ms":1776383237000,"timestamp_seconds":1776383237,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b11b88"} 
[2026-04-17 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-04-17 05:20: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-04-17 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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 05:20:33] 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-04-17 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-04-17 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-04-17 05:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754031616001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754031616001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:20:33] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754031616001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":45538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:20:33] local.INFO: GPS data processed {"connection_id":45538,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:20:33] local.INFO: Acknowledgment sent {"connection_id":45538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:20:34] local.INFO: TCP Data received {"connection_id":45538,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:20:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:20:34] local.INFO: Processing buffer {"connection_id":45538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:20:34] local.INFO: Packet analysis {"connection_id":45538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:20:34] local.INFO: Extracted packet for processing {"connection_id":45538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:20:34] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:20:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754031616001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:20:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:20:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:20:34] 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-04-17 05:20:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776383237000,"timestamp_ms":1776383237000,"timestamp_seconds":1776383237,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b11b88"} 
[2026-04-17 05:20:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:20: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-04-17 05:20:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 05:20:34] 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-04-17 05:20:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:20:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:20:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:20:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:20:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:20:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45538,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:20:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:20:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:20:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:20:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754031616001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:20:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:20:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:20:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754031616001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:20:34] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:20:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:20:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:20:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754031616001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:20:34] local.INFO: DEBUG: GPS processor result {"connection_id":45538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19340,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:20:34] local.INFO: GPS data processed {"connection_id":45538,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:20:34] local.INFO: Acknowledgment sent {"connection_id":45538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:20:57] local.INFO: TCP Data received {"connection_id":45792,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:20:57] local.INFO: Processing buffer {"connection_id":45792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:20:57] local.INFO: IMEI packet received {"connection_id":45792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":45792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:20:57] local.INFO: TCP Data received {"connection_id":45792,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:20:57] local.INFO: Processing buffer {"connection_id":45792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:20:57] local.INFO: IMEI packet received {"connection_id":45792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":45792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:21:02] local.INFO: TCP Data received {"connection_id":45792,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:21:02] local.INFO: Processing buffer {"connection_id":45792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:21:02] local.INFO: IMEI packet received {"connection_id":45792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":45792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:21:03] local.INFO: TCP Data received {"connection_id":45792,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b24c38012d7eb10005b67c48000700b435..."} 
[2026-04-17 05:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b24c38012d7eb10005b67c48000700b435..."} 
[2026-04-17 05:21:03] local.INFO: Processing buffer {"connection_id":45792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b24c38012d7eb10005b67c48000700b435..."} 
[2026-04-17 05:21:03] local.INFO: Packet analysis {"connection_id":45792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b2"} 
[2026-04-17 05:21:03] local.INFO: Extracted packet for processing {"connection_id":45792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b2"} 
[2026-04-17 05:21:03] local.INFO: GPS Element Parsed {"raw_longitude":763277568,"raw_latitude":95845448,"longitude_deg":76.3277568,"latitude_deg":9.5845448,"altitude":7,"angle":180,"satellites":53,"speed":32,"hex_longitude":"2d7eb100","hex_latitude":"05b67c48","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754125824001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274037828520771584,"note":"Value kept but may cause issues"} 
[2026-04-17 05:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129289050428055552,"note":"Value kept but may cause issues"} 
[2026-04-17 05:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776383315000,"timestamp_ms":1776383315000,"timestamp_seconds":1776383315,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b24c38"} 
[2026-04-17 05:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:21: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-04-17 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 05:21: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-04-17 05: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-04-17 05:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754125824001,"66":27397,"59":206,"85":12544,"24":32,"16":274037828520771584,"45":9129289050428055552},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-17 05:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754125824001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:21:03] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-17 05:21:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274037828520771584,"km_value":274037828520771.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129289050428055552,"description":"Unknown IO ID 45"} 
[2026-04-17 05:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754125824001,"power":27397,"unknown_59":206,"unknown_85":12544,"ignition":32,"odometer":null,"unknown_45":9129289050428055552}} 
[2026-04-17 05:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":45792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:21:03] local.INFO: GPS data processed {"connection_id":45792,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:21:03] local.INFO: Acknowledgment sent {"connection_id":45792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:21:06] local.INFO: TCP Data received {"connection_id":46342,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:21:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:21:06] local.INFO: Processing buffer {"connection_id":46342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:21:06] local.INFO: IMEI packet received {"connection_id":46342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:21:06] local.INFO: IMEI acknowledgment sent {"connection_id":46342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:21:07] local.INFO: TCP Data received {"connection_id":45792,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b25bd8012d7eb00005b67168000700c535..."} 
[2026-04-17 05:21:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b25bd8012d7eb00005b67168000700c535..."} 
[2026-04-17 05:21:07] local.INFO: Processing buffer {"connection_id":45792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b25bd8012d7eb00005b67168000700c535..."} 
[2026-04-17 05:21:07] local.INFO: Packet analysis {"connection_id":45792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b2"} 
[2026-04-17 05:21:07] local.INFO: Extracted packet for processing {"connection_id":45792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b2"} 
[2026-04-17 05:21:07] local.INFO: GPS Element Parsed {"raw_longitude":763277312,"raw_latitude":95842664,"longitude_deg":76.3277312,"latitude_deg":9.5842664,"altitude":7,"angle":197,"satellites":53,"speed":25,"hex_longitude":"2d7eb000","hex_latitude":"05b67168","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:21:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754128640001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:21:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274037965959725056,"note":"Value kept but may cause issues"} 
[2026-04-17 05:21:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129077944193140736,"note":"Value kept but may cause issues"} 
[2026-04-17 05:21:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:21:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776383319000,"timestamp_ms":1776383319000,"timestamp_seconds":1776383319,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b25bd8"} 
[2026-04-17 05:21:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:21:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 05:21:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 05:21:07] 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-04-17 05: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-04-17 05:21:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:21:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:21:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:21:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:21:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:21:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:21:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:21:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:21:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754128640001,"66":27397,"59":206,"85":12544,"24":25,"16":274037965959725056,"45":9129077944193140736},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-17 05:21:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:21:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:21:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754128640001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:21:07] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-17 05:21:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:21:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274037965959725056,"km_value":274037965959725.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:21:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129077944193140736,"description":"Unknown IO ID 45"} 
[2026-04-17 05:21:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754128640001,"power":27397,"unknown_59":206,"unknown_85":12544,"ignition":25,"odometer":null,"unknown_45":9129077944193140736}} 
[2026-04-17 05:21:07] local.INFO: DEBUG: GPS processor result {"connection_id":45792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:21:07] local.INFO: GPS data processed {"connection_id":45792,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:21:07] local.INFO: Acknowledgment sent {"connection_id":45792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:21:12] local.INFO: TCP Data received {"connection_id":46342,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46342,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:21:12] local.INFO: Processing buffer {"connection_id":46342,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:21:12] local.INFO: IMEI packet received {"connection_id":46342,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:21:12] local.INFO: IMEI acknowledgment sent {"connection_id":46342,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:21:14] local.INFO: TCP Data received {"connection_id":46342,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:21:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:21:14] local.INFO: Processing buffer {"connection_id":46342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:21:14] local.INFO: Packet analysis {"connection_id":46342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:21:14] local.INFO: Extracted packet for processing {"connection_id":46342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:21:14] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:21:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754031616001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:21:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:21:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:21:14] 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-04-17 05:21:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776383237000,"timestamp_ms":1776383237000,"timestamp_seconds":1776383237,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b11b88"} 
[2026-04-17 05:21:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:21:14] 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-04-17 05:21:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 05:21:14] 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-04-17 05: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-04-17 05:21:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:21:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:21:14] local.INFO: Teltonika packet parsed successfully {"connection_id":46342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:21:14] local.INFO: Passing IMEI to GPS processor {"connection_id":46342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:21:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":46342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:21:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:21:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:21:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:21:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754031616001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:21:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:21:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:21:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754031616001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:21:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:21:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:21:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:21:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754031616001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:21:14] local.INFO: DEBUG: GPS processor result {"connection_id":46342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:21:14] local.INFO: GPS data processed {"connection_id":46342,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:21:14] local.INFO: Acknowledgment sent {"connection_id":46342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:21:46] local.INFO: TCP Data received {"connection_id":46342,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:21:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:21:46] local.INFO: Processing buffer {"connection_id":46342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:21:46] local.INFO: Packet analysis {"connection_id":46342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:21:46] local.INFO: Extracted packet for processing {"connection_id":46342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:21:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:21:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754031616001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:21:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:21:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:21:46] 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-04-17 05:21:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776383237000,"timestamp_ms":1776383237000,"timestamp_seconds":1776383237,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b11b88"} 
[2026-04-17 05:21:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:21:46] 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-04-17 05:21:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 05:21:46] 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-04-17 05: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-04-17 05:21:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:21:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:21:46] local.INFO: Teltonika packet parsed successfully {"connection_id":46342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:21:46] local.INFO: Passing IMEI to GPS processor {"connection_id":46342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:21:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":46342,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:21:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:21:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:21:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:21:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754031616001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:21:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:21:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:21:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754031616001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:21:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:21:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:21:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:21:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754031616001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:21:46] local.INFO: DEBUG: GPS processor result {"connection_id":46342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19344,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:21:46] local.INFO: GPS data processed {"connection_id":46342,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:21:46] local.INFO: Acknowledgment sent {"connection_id":46342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:21:52] local.INFO: TCP Data received {"connection_id":45539,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:21:52] local.INFO: Processing buffer {"connection_id":45539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:21:52] local.INFO: IMEI packet received {"connection_id":45539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":45539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:21:52] local.INFO: TCP Data received {"connection_id":45539,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:21:52] local.INFO: Processing buffer {"connection_id":45539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:21:52] local.INFO: IMEI packet received {"connection_id":45539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":45539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:21:57] local.INFO: TCP Data received {"connection_id":45539,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45539,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:21:57] local.INFO: Processing buffer {"connection_id":45539,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:21:57] local.INFO: IMEI packet received {"connection_id":45539,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":45539,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:21:57] local.INFO: TCP Data received {"connection_id":45539,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b40988012d7eaac005b4f970000700a932..."} 
[2026-04-17 05:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b40988012d7eaac005b4f970000700a932..."} 
[2026-04-17 05:21:57] local.INFO: Processing buffer {"connection_id":45539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b40988012d7eaac005b4f970000700a932..."} 
[2026-04-17 05:21:57] local.INFO: Packet analysis {"connection_id":45539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b4"} 
[2026-04-17 05:21:57] local.INFO: Extracted packet for processing {"connection_id":45539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b4"} 
[2026-04-17 05:21:57] local.INFO: GPS Element Parsed {"raw_longitude":763275968,"raw_latitude":95746416,"longitude_deg":76.3275968,"latitude_deg":9.5746416,"altitude":7,"angle":169,"satellites":50,"speed":34,"hex_longitude":"2d7eaac0","hex_latitude":"05b4f970","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754155264001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274042647474077696,"note":"Value kept but may cause issues"} 
[2026-04-17 05:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126896513100574720,"note":"Value kept but may cause issues"} 
[2026-04-17 05:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776383429000,"timestamp_ms":1776383429000,"timestamp_seconds":1776383429,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b40988"} 
[2026-04-17 05:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:21: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-04-17 05: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 05:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754155264001,"66":27376,"59":206,"85":12544,"24":34,"16":274042647474077696,"45":9126896513100574720},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-17 05:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754155264001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:21:57] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-17 05:21:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274042647474077696,"km_value":274042647474077.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126896513100574720,"description":"Unknown IO ID 45"} 
[2026-04-17 05:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754155264001,"power":27376,"unknown_59":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9126896513100574720}} 
[2026-04-17 05:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":45539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:21:57] local.INFO: GPS data processed {"connection_id":45539,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:21:57] local.INFO: Acknowledgment sent {"connection_id":45539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:22:02] local.INFO: TCP Data received {"connection_id":45539,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b43480012d7eae0005b4d638000500b131..."} 
[2026-04-17 05:22:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b43480012d7eae0005b4d638000500b131..."} 
[2026-04-17 05:22:02] local.INFO: Processing buffer {"connection_id":45539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b43480012d7eae0005b4d638000500b131..."} 
[2026-04-17 05:22:02] local.INFO: Packet analysis {"connection_id":45539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b4"} 
[2026-04-17 05:22:02] local.INFO: Extracted packet for processing {"connection_id":45539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b4"} 
[2026-04-17 05:22:02] local.INFO: GPS Element Parsed {"raw_longitude":763276800,"raw_latitude":95737400,"longitude_deg":76.32768,"latitude_deg":9.57374,"altitude":5,"angle":177,"satellites":49,"speed":33,"hex_longitude":"2d7eae00","hex_latitude":"05b4d638","is_valid_coordinates":true} 
[2026-04-17 05:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:22:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754157824001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:22:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274043089855709184,"note":"Value kept but may cause issues"} 
[2026-04-17 05:22:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127318725563346944,"note":"Value kept but may cause issues"} 
[2026-04-17 05:22:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:22:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776383440000,"timestamp_ms":1776383440000,"timestamp_seconds":1776383440,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b43480"} 
[2026-04-17 05:22:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:22:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 05:22:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 05:22:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:22:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:22:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:22:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:22:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:22:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:22:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:22:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:22:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:22:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:22:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754157824001,"66":27376,"59":206,"85":12544,"24":33,"16":274043089855709184,"45":9127318725563346944},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,85,24,16,45]} 
[2026-04-17 05:22:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:22:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:22:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754157824001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:22:02] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-17 05:22:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:22:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274043089855709184,"km_value":274043089855709.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:22:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127318725563346944,"description":"Unknown IO ID 45"} 
[2026-04-17 05:22:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754157824001,"power":27376,"unknown_59":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9127318725563346944}} 
[2026-04-17 05:22:02] local.INFO: DEBUG: GPS processor result {"connection_id":45539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:22:02] local.INFO: GPS data processed {"connection_id":45539,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:22:02] local.INFO: Acknowledgment sent {"connection_id":45539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:22:05] local.INFO: TCP Data received {"connection_id":45793,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:22:05] local.INFO: Processing buffer {"connection_id":45793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:22:05] local.INFO: IMEI packet received {"connection_id":45793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":45793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:22:14] local.INFO: TCP Data received {"connection_id":45793,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:22:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:22:14] local.INFO: Processing buffer {"connection_id":45793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:22:14] local.INFO: IMEI packet received {"connection_id":45793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:22:14] local.INFO: IMEI acknowledgment sent {"connection_id":45793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:22:15] local.INFO: TCP Data received {"connection_id":45793,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:22:15] local.INFO: Processing buffer {"connection_id":45793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:22:15] local.INFO: Packet analysis {"connection_id":45793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:22:15] local.INFO: Extracted packet for processing {"connection_id":45793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:22:15] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754031616001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:22:15] 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-04-17 05:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776383237000,"timestamp_ms":1776383237000,"timestamp_seconds":1776383237,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b11b88"} 
[2026-04-17 05:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:22:15] 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-04-17 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 05:22:15] 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-04-17 05: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-04-17 05:22:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":45793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":45793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":45793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:22:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754031616001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:22:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:22:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:22:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754031616001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:22:15] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:22:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:22:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:22:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754031616001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":45793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19347,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:22:16] local.INFO: GPS data processed {"connection_id":45793,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:22:16] local.INFO: Acknowledgment sent {"connection_id":45793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:22:33] local.INFO: TCP Data received {"connection_id":45539,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b46360012d7eb00005b4b228000600af31..."} 
[2026-04-17 05:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45539,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b46360012d7eb00005b4b228000600af31..."} 
[2026-04-17 05:22:33] local.INFO: Processing buffer {"connection_id":45539,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b46360012d7eb00005b4b228000600af31..."} 
[2026-04-17 05:22:33] local.INFO: Packet analysis {"connection_id":45539,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b4"} 
[2026-04-17 05:22:33] local.INFO: Extracted packet for processing {"connection_id":45539,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b4"} 
[2026-04-17 05:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763277312,"raw_latitude":95728168,"longitude_deg":76.3277312,"latitude_deg":9.5728168,"altitude":6,"angle":175,"satellites":49,"speed":29,"hex_longitude":"2d7eb000","hex_latitude":"05b4b228","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754160640001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274043536532307968,"note":"Value kept but may cause issues"} 
[2026-04-17 05:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128233519235348480,"note":"Value kept but may cause issues"} 
[2026-04-17 05:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776383452000,"timestamp_ms":1776383452000,"timestamp_seconds":1776383452,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b46360"} 
[2026-04-17 05:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:22: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-04-17 05: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":240,"data_length":795,"current_offset":136} 
[2026-04-17 05:22: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-04-17 05: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-04-17 05:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45539,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45539,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754160640001,"66":27376,"11":206,"85":12544,"24":29,"16":274043536532307968,"45":9128233519235348480},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-17 05:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754160640001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:22:33] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:22:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274043536532307968,"km_value":274043536532307.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128233519235348480,"description":"Unknown IO ID 45"} 
[2026-04-17 05:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754160640001,"power":27376,"unknown_11":206,"unknown_85":12544,"ignition":29,"odometer":null,"unknown_45":9128233519235348480}} 
[2026-04-17 05:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":45539,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:22:33] local.INFO: GPS data processed {"connection_id":45539,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:22:33] local.INFO: Acknowledgment sent {"connection_id":45539,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:22:47] local.INFO: TCP Data received {"connection_id":45793,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:22:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:22:47] local.INFO: Processing buffer {"connection_id":45793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b11b88012d1b598006d4d5980011013831..."} 
[2026-04-17 05:22:47] local.INFO: Packet analysis {"connection_id":45793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:22:47] local.INFO: Extracted packet for processing {"connection_id":45793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b1"} 
[2026-04-17 05:22:47] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:22:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754031616001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:22:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:22:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:22:47] 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-04-17 05:22:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776383237000,"timestamp_ms":1776383237000,"timestamp_seconds":1776383237,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b11b88"} 
[2026-04-17 05:22:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:22:47] 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-04-17 05: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":100,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 05:22:47] 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-04-17 05: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-04-17 05:22:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:22:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:22:47] local.INFO: Teltonika packet parsed successfully {"connection_id":45793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:22:47] local.INFO: Passing IMEI to GPS processor {"connection_id":45793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:22:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":45793,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:22:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:22:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:22:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:22:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754031616001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:22:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:22:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:22:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754031616001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:22:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:22:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:22:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:22:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754031616001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:22:47] local.INFO: DEBUG: GPS processor result {"connection_id":45793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19349,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:22:47] local.INFO: GPS data processed {"connection_id":45793,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:22:47] local.INFO: Acknowledgment sent {"connection_id":45793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:22:52] local.INFO: TCP Data received {"connection_id":45598,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:22:52] local.INFO: Processing buffer {"connection_id":45598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:22:52] local.INFO: IMEI packet received {"connection_id":45598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":45598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:22:54] local.INFO: TCP Data received {"connection_id":45598,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:22:54] local.INFO: Processing buffer {"connection_id":45598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:22:54] local.INFO: IMEI packet received {"connection_id":45598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":45598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:22:57] local.INFO: TCP Data received {"connection_id":45598,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:22:57] local.INFO: Processing buffer {"connection_id":45598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:22:57] local.INFO: IMEI packet received {"connection_id":45598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":45598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:22:58] local.INFO: TCP Data received {"connection_id":45598,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b49240012d7eb20005b48d60000600b12c..."} 
[2026-04-17 05:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b49240012d7eb20005b48d60000600b12c..."} 
[2026-04-17 05:22:58] local.INFO: Processing buffer {"connection_id":45598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b49240012d7eb20005b48d60000600b12c..."} 
[2026-04-17 05:22:58] local.INFO: Packet analysis {"connection_id":45598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b4"} 
[2026-04-17 05:22:58] local.INFO: Extracted packet for processing {"connection_id":45598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b4"} 
[2026-04-17 05:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763277824,"raw_latitude":95718752,"longitude_deg":76.3277824,"latitude_deg":9.5718752,"altitude":6,"angle":177,"satellites":44,"speed":32,"hex_longitude":"2d7eb200","hex_latitude":"05b48d60","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754163712001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274043996093808640,"note":"Value kept but may cause issues"} 
[2026-04-17 05:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9128796469186406400,"note":"Value kept but may cause issues"} 
[2026-04-17 05:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776383464000,"timestamp_ms":1776383464000,"timestamp_seconds":1776383464,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b49240"} 
[2026-04-17 05:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:22: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-04-17 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 05:22: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-04-17 05: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-04-17 05:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754163712001,"66":27343,"11":206,"85":12544,"24":32,"16":274043996093808640,"45":9128796469186406400},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-17 05:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754163712001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:22:58] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:22:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274043996093808640,"km_value":274043996093808.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9128796469186406400,"description":"Unknown IO ID 45"} 
[2026-04-17 05:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754163712001,"power":27343,"unknown_11":206,"unknown_85":12544,"ignition":32,"odometer":null,"unknown_45":9128796469186406400}} 
[2026-04-17 05:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":45598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:22:58] local.INFO: GPS data processed {"connection_id":45598,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:22:58] local.INFO: Acknowledgment sent {"connection_id":45598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:23:02] local.INFO: TCP Data received {"connection_id":45598,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b4bd38012d7eb44005b467f0000500af33..."} 
[2026-04-17 05:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b4bd38012d7eb44005b467f0000500af33..."} 
[2026-04-17 05:23:02] local.INFO: Processing buffer {"connection_id":45598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b4bd38012d7eb44005b467f0000500af33..."} 
[2026-04-17 05:23:02] local.INFO: Packet analysis {"connection_id":45598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b4"} 
[2026-04-17 05:23:02] local.INFO: Extracted packet for processing {"connection_id":45598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b4"} 
[2026-04-17 05:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763278400,"raw_latitude":95709168,"longitude_deg":76.32784,"latitude_deg":9.5709168,"altitude":5,"angle":175,"satellites":51,"speed":34,"hex_longitude":"2d7eb440","hex_latitude":"05b467f0","is_valid_coordinates":true} 
[2026-04-17 05:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754166784001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274044459950276608,"note":"Value kept but may cause issues"} 
[2026-04-17 05:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129359419137417216,"note":"Value kept but may cause issues"} 
[2026-04-17 05:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776383475000,"timestamp_ms":1776383475000,"timestamp_seconds":1776383475,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b4bd38"} 
[2026-04-17 05:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 05:23:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 05:23:02] 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-04-17 05:23:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:23:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754166784001,"66":27332,"11":206,"85":12544,"24":34,"16":274044459950276608,"45":9129359419137417216},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-17 05:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754166784001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:23:02] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274044459950276608,"km_value":274044459950276.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129359419137417216,"description":"Unknown IO ID 45"} 
[2026-04-17 05:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754166784001,"power":27332,"unknown_11":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9129359419137417216}} 
[2026-04-17 05:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":45598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:23:02] local.INFO: GPS data processed {"connection_id":45598,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:23:02] local.INFO: Acknowledgment sent {"connection_id":45598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:23:05] local.INFO: TCP Data received {"connection_id":45540,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:23:05] local.INFO: Processing buffer {"connection_id":45540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:23:05] local.INFO: IMEI packet received {"connection_id":45540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":45540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:23:11] local.INFO: TCP Data received {"connection_id":45540,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45540,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:23:11] local.INFO: Processing buffer {"connection_id":45540,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:23:11] local.INFO: IMEI packet received {"connection_id":45540,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:23:11] local.INFO: IMEI acknowledgment sent {"connection_id":45540,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:23:12] local.INFO: TCP Data received {"connection_id":45540,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:23:12] local.INFO: Processing buffer {"connection_id":45540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:23:12] local.INFO: Packet analysis {"connection_id":45540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:23:12] local.INFO: Extracted packet for processing {"connection_id":45540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:23:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754108672001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:23:12] 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-04-17 05:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776383538000,"timestamp_ms":1776383538000,"timestamp_seconds":1776383538,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b5b350"} 
[2026-04-17 05:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:23: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-04-17 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 05:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754108672001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754108672001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:23:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754108672001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":45540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19352,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:23:12] local.INFO: GPS data processed {"connection_id":45540,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:23:12] local.INFO: Acknowledgment sent {"connection_id":45540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:23:33] local.INFO: TCP Data received {"connection_id":45598,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b4e830012d7eb70005b444a8000600b02e..."} 
[2026-04-17 05:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b4e830012d7eb70005b444a8000600b02e..."} 
[2026-04-17 05:23:33] local.INFO: Processing buffer {"connection_id":45598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b4e830012d7eb70005b444a8000600b02e..."} 
[2026-04-17 05:23:33] local.INFO: Packet analysis {"connection_id":45598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b4"} 
[2026-04-17 05:23:33] local.INFO: Extracted packet for processing {"connection_id":45598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b4"} 
[2026-04-17 05:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763279104,"raw_latitude":95700136,"longitude_deg":76.3279104,"latitude_deg":9.5700136,"altitude":6,"angle":176,"satellites":46,"speed":34,"hex_longitude":"2d7eb700","hex_latitude":"05b444a8","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754169600001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274044902331908096,"note":"Value kept but may cause issues"} 
[2026-04-17 05:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9129992737832562688,"note":"Value kept but may cause issues"} 
[2026-04-17 05:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776383486000,"timestamp_ms":1776383486000,"timestamp_seconds":1776383486,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b4e830"} 
[2026-04-17 05:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:23: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-04-17 05: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":196,"data_length":795,"current_offset":136} 
[2026-04-17 05:23:33] 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-04-17 05: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-04-17 05:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754169600001,"66":27343,"11":206,"85":12544,"24":34,"16":274044902331908096,"45":9129992737832562688},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-17 05:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754169600001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:23:33] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274044902331908096,"km_value":274044902331908.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9129992737832562688,"description":"Unknown IO ID 45"} 
[2026-04-17 05:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754169600001,"power":27343,"unknown_11":206,"unknown_85":12544,"ignition":34,"odometer":null,"unknown_45":9129992737832562688}} 
[2026-04-17 05:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":45598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:23:33] local.INFO: GPS data processed {"connection_id":45598,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:23:33] local.INFO: Acknowledgment sent {"connection_id":45598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:23:44] local.INFO: TCP Data received {"connection_id":45540,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:23:44] local.INFO: Processing buffer {"connection_id":45540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:23:44] local.INFO: Packet analysis {"connection_id":45540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:23:44] local.INFO: Extracted packet for processing {"connection_id":45540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:23:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754108672001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:23:44] 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-04-17 05:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776383538000,"timestamp_ms":1776383538000,"timestamp_seconds":1776383538,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b5b350"} 
[2026-04-17 05:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:23:44] 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-04-17 05:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 05:23:44] 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-04-17 05:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45540,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754108672001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754108672001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:23:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754108672001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":45540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19354,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:23:44] local.INFO: GPS data processed {"connection_id":45540,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:23:44] local.INFO: Acknowledgment sent {"connection_id":45540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:23:52] local.INFO: TCP Data received {"connection_id":46343,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:23:52] local.INFO: Processing buffer {"connection_id":46343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:23:52] local.INFO: IMEI packet received {"connection_id":46343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":46343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:23:52] local.INFO: TCP Data received {"connection_id":46343,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:23:52] local.INFO: Processing buffer {"connection_id":46343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:23:52] local.INFO: IMEI packet received {"connection_id":46343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":46343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:23:57] local.INFO: TCP Data received {"connection_id":46343,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:23:57] local.INFO: Processing buffer {"connection_id":46343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:23:57] local.INFO: IMEI packet received {"connection_id":46343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":46343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:23:57] local.INFO: TCP Data received {"connection_id":46343,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b51710012d7eb8c005b41f38000500b12f..."} 
[2026-04-17 05:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b51710012d7eb8c005b41f38000500b12f..."} 
[2026-04-17 05:23:57] local.INFO: Processing buffer {"connection_id":46343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b51710012d7eb8c005b41f38000500b12f..."} 
[2026-04-17 05:23:57] local.INFO: Packet analysis {"connection_id":46343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:23:57] local.INFO: Extracted packet for processing {"connection_id":46343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:23:57] local.INFO: GPS Element Parsed {"raw_longitude":763279552,"raw_latitude":95690552,"longitude_deg":76.3279552,"latitude_deg":9.5690552,"altitude":5,"angle":177,"satellites":47,"speed":30,"hex_longitude":"2d7eb8c0","hex_latitude":"05b41f38","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754172416001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274045366188376064,"note":"Value kept but may cause issues"} 
[2026-04-17 05:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130766794016204800,"note":"Value kept but may cause issues"} 
[2026-04-17 05:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,11,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776383498000,"timestamp_ms":1776383498000,"timestamp_seconds":1776383498,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b51710"} 
[2026-04-17 05:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:23: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-04-17 05: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 05:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754172416001,"66":27365,"11":206,"85":12544,"24":30,"16":274045366188376064,"45":9130766794016204800},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,85,24,16,45]} 
[2026-04-17 05:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754172416001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:23:57] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:23:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274045366188376064,"km_value":274045366188376.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130766794016204800,"description":"Unknown IO ID 45"} 
[2026-04-17 05:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754172416001,"power":27365,"unknown_11":206,"unknown_85":12544,"ignition":30,"odometer":null,"unknown_45":9130766794016204800}} 
[2026-04-17 05:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":46343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:23:57] local.INFO: GPS data processed {"connection_id":46343,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:23:57] local.INFO: Acknowledgment sent {"connection_id":46343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:24:06] local.INFO: TCP Data received {"connection_id":45794,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:24:06] local.INFO: Processing buffer {"connection_id":45794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:24:06] local.INFO: IMEI packet received {"connection_id":45794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":45794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:24:11] local.INFO: TCP Data received {"connection_id":45794,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:24:11] local.INFO: Processing buffer {"connection_id":45794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:24:11] local.INFO: IMEI packet received {"connection_id":45794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":45794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:24:12] local.INFO: TCP Data received {"connection_id":45794,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:24:12] local.INFO: Processing buffer {"connection_id":45794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:24:12] local.INFO: Packet analysis {"connection_id":45794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:24:12] local.INFO: Extracted packet for processing {"connection_id":45794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:24:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754108672001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:24:12] 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-04-17 05:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776383538000,"timestamp_ms":1776383538000,"timestamp_seconds":1776383538,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b5b350"} 
[2026-04-17 05:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:24: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-04-17 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 05:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754108672001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754108672001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:24:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754108672001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":45794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19356,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:24:12] local.INFO: GPS data processed {"connection_id":45794,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:24:12] local.INFO: Acknowledgment sent {"connection_id":45794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:24:29] local.INFO: TCP Data received {"connection_id":46343,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b6b908012d7ebe4005b2a9c0000600b234..."} 
[2026-04-17 05:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b6b908012d7ebe4005b2a9c0000600b234..."} 
[2026-04-17 05:24:29] local.INFO: Processing buffer {"connection_id":46343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b6b908012d7ebe4005b2a9c0000600b234..."} 
[2026-04-17 05:24:29] local.INFO: Packet analysis {"connection_id":46343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b6"} 
[2026-04-17 05:24:29] local.INFO: Extracted packet for processing {"connection_id":46343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b6"} 
[2026-04-17 05:24:29] local.INFO: GPS Element Parsed {"raw_longitude":763280960,"raw_latitude":95594944,"longitude_deg":76.328096,"latitude_deg":9.5594944,"altitude":6,"angle":178,"satellites":52,"speed":38,"hex_longitude":"2d7ebe40","hex_latitude":"05b2a9c0","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754200320001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274050004753055744,"note":"Value kept but may cause issues"} 
[2026-04-17 05:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132737118828738560,"note":"Value kept but may cause issues"} 
[2026-04-17 05:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776383605000,"timestamp_ms":1776383605000,"timestamp_seconds":1776383605,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b6b908"} 
[2026-04-17 05:24:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:24: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-04-17 05: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 05:24: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-04-17 05: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-04-17 05:24:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754200320001,"66":27397,"93":206,"85":12544,"24":38,"16":274050004753055744,"45":9132737118828738560},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-17 05:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754200320001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:24:29] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-17 05:24:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274050004753055744,"km_value":274050004753055.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132737118828738560,"description":"Unknown IO ID 45"} 
[2026-04-17 05:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754200320001,"power":27397,"unknown_93":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9132737118828738560}} 
[2026-04-17 05:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":46343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:24:29] local.INFO: GPS data processed {"connection_id":46343,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:24:29] local.INFO: Acknowledgment sent {"connection_id":46343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:24:44] local.INFO: TCP Data received {"connection_id":45794,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:24:44] local.INFO: Processing buffer {"connection_id":45794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:24:44] local.INFO: Packet analysis {"connection_id":45794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:24:44] local.INFO: Extracted packet for processing {"connection_id":45794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:24:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754108672001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:24:44] 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-04-17 05:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776383538000,"timestamp_ms":1776383538000,"timestamp_seconds":1776383538,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b5b350"} 
[2026-04-17 05:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:24:44] 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-04-17 05:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 05:24:44] 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-04-17 05:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754108672001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754108672001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:24:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754108672001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":45794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19358,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:24:44] local.INFO: GPS data processed {"connection_id":45794,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:24:44] local.INFO: Acknowledgment sent {"connection_id":45794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:24:51] local.INFO: TCP Data received {"connection_id":45795,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:24:51] local.INFO: Processing buffer {"connection_id":45795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:24:51] local.INFO: IMEI packet received {"connection_id":45795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":45795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:24:55] local.INFO: TCP Data received {"connection_id":45795,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:24:55] local.INFO: Processing buffer {"connection_id":45795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:24:55] local.INFO: IMEI packet received {"connection_id":45795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":45795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:24:56] local.INFO: TCP Data received {"connection_id":45795,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:24:56] local.INFO: Processing buffer {"connection_id":45795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:24:56] local.INFO: IMEI packet received {"connection_id":45795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":45795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:24:57] local.INFO: TCP Data received {"connection_id":45795,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b6e018012d7ebf8005b284f8000500b434..."} 
[2026-04-17 05:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b6e018012d7ebf8005b284f8000500b434..."} 
[2026-04-17 05:24:57] local.INFO: Processing buffer {"connection_id":45795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b6e018012d7ebf8005b284f8000500b434..."} 
[2026-04-17 05:24:57] local.INFO: Packet analysis {"connection_id":45795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b6"} 
[2026-04-17 05:24:57] local.INFO: Extracted packet for processing {"connection_id":45795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b6"} 
[2026-04-17 05:24:57] local.INFO: GPS Element Parsed {"raw_longitude":763281280,"raw_latitude":95585528,"longitude_deg":76.328128,"latitude_deg":9.5585528,"altitude":5,"angle":180,"satellites":52,"speed":37,"hex_longitude":"2d7ebf80","hex_latitude":"05b284f8","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754202880001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274050464314556416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132807487570427904,"note":"Value kept but may cause issues"} 
[2026-04-17 05:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776383615000,"timestamp_ms":1776383615000,"timestamp_seconds":1776383615,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b6e018"} 
[2026-04-17 05:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:24: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-04-17 05:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 05:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754202880001,"66":27376,"93":206,"85":12544,"24":37,"16":274050464314556416,"45":9132807487570427904},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-17 05:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754202880001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:24:57] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-17 05:24:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274050464314556416,"km_value":274050464314556.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132807487570427904,"description":"Unknown IO ID 45"} 
[2026-04-17 05:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754202880001,"power":27376,"unknown_93":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9132807487570427904}} 
[2026-04-17 05:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":45795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:24:57] local.INFO: GPS data processed {"connection_id":45795,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:24:57] local.INFO: Acknowledgment sent {"connection_id":45795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:25:03] local.INFO: TCP Data received {"connection_id":45795,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b70728012d7ebe8005b26150000500b034..."} 
[2026-04-17 05:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b70728012d7ebe8005b26150000500b034..."} 
[2026-04-17 05:25:03] local.INFO: Processing buffer {"connection_id":45795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b70728012d7ebe8005b26150000500b034..."} 
[2026-04-17 05:25:03] local.INFO: Packet analysis {"connection_id":45795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b7"} 
[2026-04-17 05:25:03] local.INFO: Extracted packet for processing {"connection_id":45795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b7"} 
[2026-04-17 05:25:03] local.INFO: GPS Element Parsed {"raw_longitude":763281024,"raw_latitude":95576400,"longitude_deg":76.3281024,"latitude_deg":9.55764,"altitude":5,"angle":176,"satellites":52,"speed":35,"hex_longitude":"2d7ebe80","hex_latitude":"05b26150","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:25:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754205440001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:25:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274050906696187904,"note":"Value kept but may cause issues"} 
[2026-04-17 05:25:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133159331288905728,"note":"Value kept but may cause issues"} 
[2026-04-17 05:25:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:25:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776383625000,"timestamp_ms":1776383625000,"timestamp_seconds":1776383625,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b70728"} 
[2026-04-17 05:25:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05: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-04-17 05: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 05:25: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-04-17 05: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-04-17 05:25:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:25:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:25:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:25:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:25:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:25:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:25:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:25:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:25:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754205440001,"66":27332,"93":206,"85":12544,"24":35,"16":274050906696187904,"45":9133159331288905728},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-17 05:25:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:25:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:25:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754205440001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:25:03] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-17 05:25:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:25:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274050906696187904,"km_value":274050906696187.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:25:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133159331288905728,"description":"Unknown IO ID 45"} 
[2026-04-17 05:25:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754205440001,"power":27332,"unknown_93":206,"unknown_85":12544,"ignition":35,"odometer":null,"unknown_45":9133159331288905728}} 
[2026-04-17 05:25:03] local.INFO: DEBUG: GPS processor result {"connection_id":45795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:25:03] local.INFO: GPS data processed {"connection_id":45795,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:25:03] local.INFO: Acknowledgment sent {"connection_id":45795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:25:05] local.INFO: TCP Data received {"connection_id":46344,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:25:05] local.INFO: Processing buffer {"connection_id":46344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:25:05] local.INFO: IMEI packet received {"connection_id":46344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":46344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:25:12] local.INFO: TCP Data received {"connection_id":46344,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46344,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:25:12] local.INFO: Processing buffer {"connection_id":46344,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:25:12] local.INFO: IMEI packet received {"connection_id":46344,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:25:12] local.INFO: IMEI acknowledgment sent {"connection_id":46344,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:25:13] local.INFO: TCP Data received {"connection_id":46344,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:25:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:25:13] local.INFO: Processing buffer {"connection_id":46344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:25:13] local.INFO: Packet analysis {"connection_id":46344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:25:13] local.INFO: Extracted packet for processing {"connection_id":46344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:25:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:25:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754108672001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:25:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:25:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:25:13] 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-04-17 05:25:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776383538000,"timestamp_ms":1776383538000,"timestamp_seconds":1776383538,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b5b350"} 
[2026-04-17 05:25:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:25:13] 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-04-17 05:25:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 05:25:13] 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-04-17 05:25:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:25:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:25:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:25:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:25:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:25:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:25:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:25:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:25:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:25:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754108672001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:25:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:25:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:25:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754108672001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:25:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:25:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:25:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:25:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754108672001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:25:13] local.INFO: DEBUG: GPS processor result {"connection_id":46344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19361,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:25:13] local.INFO: GPS data processed {"connection_id":46344,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:25:13] local.INFO: Acknowledgment sent {"connection_id":46344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:25:34] local.INFO: TCP Data received {"connection_id":45795,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b72e38012d7ebd8005b23df8000500b534..."} 
[2026-04-17 05:25:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b72e38012d7ebd8005b23df8000500b534..."} 
[2026-04-17 05:25:34] local.INFO: Processing buffer {"connection_id":45795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b72e38012d7ebd8005b23df8000500b534..."} 
[2026-04-17 05:25:34] local.INFO: Packet analysis {"connection_id":45795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b7"} 
[2026-04-17 05:25:34] local.INFO: Extracted packet for processing {"connection_id":45795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b7"} 
[2026-04-17 05:25:34] local.INFO: GPS Element Parsed {"raw_longitude":763280768,"raw_latitude":95567352,"longitude_deg":76.3280768,"latitude_deg":9.5567352,"altitude":5,"angle":181,"satellites":52,"speed":35,"hex_longitude":"2d7ebd80","hex_latitude":"05b23df8","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:25:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754208000001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:25:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274051344782852096,"note":"Value kept but may cause issues"} 
[2026-04-17 05:25:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132877856309858304,"note":"Value kept but may cause issues"} 
[2026-04-17 05:25:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:25:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776383635000,"timestamp_ms":1776383635000,"timestamp_seconds":1776383635,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b72e38"} 
[2026-04-17 05:25:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05: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-04-17 05: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 05:25: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-04-17 05: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-04-17 05:25:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:25:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:25:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:25:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:25:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:25:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:25:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:25:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:25:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754208000001,"66":27321,"93":206,"85":12544,"24":35,"16":274051344782852096,"45":9132877856309858304},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-17 05:25:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:25:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:25:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754208000001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:25:34] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-17 05:25:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:25:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274051344782852096,"km_value":274051344782852.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:25:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132877856309858304,"description":"Unknown IO ID 45"} 
[2026-04-17 05:25:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754208000001,"power":27321,"unknown_93":206,"unknown_85":12544,"ignition":35,"odometer":null,"unknown_45":9132877856309858304}} 
[2026-04-17 05:25:34] local.INFO: DEBUG: GPS processor result {"connection_id":45795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:25:34] local.INFO: GPS data processed {"connection_id":45795,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:25:34] local.INFO: Acknowledgment sent {"connection_id":45795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:25:45] local.INFO: TCP Data received {"connection_id":46344,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:25:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46344,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:25:45] local.INFO: Processing buffer {"connection_id":46344,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:25:45] local.INFO: Packet analysis {"connection_id":46344,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:25:45] local.INFO: Extracted packet for processing {"connection_id":46344,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:25:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:25:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754108672001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:25:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:25:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:25:45] 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-04-17 05:25:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776383538000,"timestamp_ms":1776383538000,"timestamp_seconds":1776383538,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b5b350"} 
[2026-04-17 05:25:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:25:45] 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-04-17 05:25:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 05:25: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-04-17 05:25: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-04-17 05:25:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:25:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:25:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46344,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:25:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:25:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46344,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:25:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:25:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:25:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:25:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754108672001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:25:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:25:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:25:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754108672001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:25:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:25:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:25:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:25:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754108672001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:25:45] local.INFO: DEBUG: GPS processor result {"connection_id":46344,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19363,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:25:45] local.INFO: GPS data processed {"connection_id":46344,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:25:45] local.INFO: Acknowledgment sent {"connection_id":46344,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:25:51] local.INFO: TCP Data received {"connection_id":46345,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:25:51] local.INFO: Processing buffer {"connection_id":46345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:25:51] local.INFO: IMEI packet received {"connection_id":46345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":46345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:25:57] local.INFO: TCP Data received {"connection_id":46345,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:25:57] local.INFO: Processing buffer {"connection_id":46345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:25:57] local.INFO: IMEI packet received {"connection_id":46345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":46345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:25:58] local.INFO: TCP Data received {"connection_id":46345,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b75930012d7ebd4005b21b18000600ba2e..."} 
[2026-04-17 05:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b75930012d7ebd4005b21b18000600ba2e..."} 
[2026-04-17 05:25:58] local.INFO: Processing buffer {"connection_id":46345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b75930012d7ebd4005b21b18000600ba2e..."} 
[2026-04-17 05:25:58] local.INFO: Packet analysis {"connection_id":46345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b7"} 
[2026-04-17 05:25:58] local.INFO: Extracted packet for processing {"connection_id":46345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b7"} 
[2026-04-17 05:25:58] local.INFO: GPS Element Parsed {"raw_longitude":763280704,"raw_latitude":95558424,"longitude_deg":76.3280704,"latitude_deg":9.5558424,"altitude":6,"angle":186,"satellites":46,"speed":32,"hex_longitude":"2d7ebd40","hex_latitude":"05b21b18","is_valid_coordinates":true} 
[2026-04-17 05:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754210560001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274051778574548992,"note":"Value kept but may cause issues"} 
[2026-04-17 05:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132596381330831360,"note":"Value kept but may cause issues"} 
[2026-04-17 05:25:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776383646000,"timestamp_ms":1776383646000,"timestamp_seconds":1776383646,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b75930"} 
[2026-04-17 05:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:25: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-04-17 05:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 05:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:25:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754210560001,"66":27300,"93":206,"85":12544,"24":32,"16":274051778574548992,"45":9132596381330831360},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-17 05:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754210560001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:25:58] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-17 05:25:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274051778574548992,"km_value":274051778574549.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132596381330831360,"description":"Unknown IO ID 45"} 
[2026-04-17 05:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754210560001,"power":27300,"unknown_93":206,"unknown_85":12544,"ignition":32,"odometer":null,"unknown_45":9132596381330831360}} 
[2026-04-17 05:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":46345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:25:58] local.INFO: GPS data processed {"connection_id":46345,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:25:58] local.INFO: Acknowledgment sent {"connection_id":46345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:26:05] local.INFO: TCP Data received {"connection_id":46346,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:26:05] local.INFO: Processing buffer {"connection_id":46346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:26:05] local.INFO: IMEI packet received {"connection_id":46346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":46346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:26:11] local.INFO: TCP Data received {"connection_id":46346,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46346,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:26:11] local.INFO: Processing buffer {"connection_id":46346,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:26:11] local.INFO: IMEI packet received {"connection_id":46346,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":46346,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:26:13] local.INFO: TCP Data received {"connection_id":46346,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:26:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:26:13] local.INFO: Processing buffer {"connection_id":46346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:26:13] local.INFO: Packet analysis {"connection_id":46346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:26:13] local.INFO: Extracted packet for processing {"connection_id":46346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:26:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:26:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754108672001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:26:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:26:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:26:13] 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-04-17 05:26:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776383538000,"timestamp_ms":1776383538000,"timestamp_seconds":1776383538,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b5b350"} 
[2026-04-17 05:26:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:26:13] 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-04-17 05:26:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 05:26:13] 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-04-17 05:26:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:26:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:26:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:26:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:26:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46346,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:26:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46346,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:26:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:26:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:26:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:26:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754108672001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:26:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:26:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:26:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754108672001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:26:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:26:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:26:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:26:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754108672001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:26:13] local.INFO: DEBUG: GPS processor result {"connection_id":46346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19365,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:26:13] local.INFO: GPS data processed {"connection_id":46346,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:26:13] local.INFO: Acknowledgment sent {"connection_id":46346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:26:29] local.INFO: TCP Data received {"connection_id":46345,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b78428012d7eb90005b1f5a0000500ba2e..."} 
[2026-04-17 05:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b78428012d7eb90005b1f5a0000500ba2e..."} 
[2026-04-17 05:26:29] local.INFO: Processing buffer {"connection_id":46345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b78428012d7eb90005b1f5a0000500ba2e..."} 
[2026-04-17 05:26:29] local.INFO: Packet analysis {"connection_id":46345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b7"} 
[2026-04-17 05:26:29] local.INFO: Extracted packet for processing {"connection_id":46345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b7"} 
[2026-04-17 05:26:29] local.INFO: GPS Element Parsed {"raw_longitude":763279616,"raw_latitude":95548832,"longitude_deg":76.3279616,"latitude_deg":9.5548832,"altitude":5,"angle":186,"satellites":46,"speed":36,"hex_longitude":"2d7eb900","hex_latitude":"05b1f5a0","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754213376001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274052246725984256,"note":"Value kept but may cause issues"} 
[2026-04-17 05:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9132526012584368128,"note":"Value kept but may cause issues"} 
[2026-04-17 05:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776383657000,"timestamp_ms":1776383657000,"timestamp_seconds":1776383657,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b78428"} 
[2026-04-17 05:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:26: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-04-17 05: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 05:26: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-04-17 05: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-04-17 05:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:26:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754213376001,"66":27397,"93":206,"85":12544,"24":36,"16":274052246725984256,"45":9132526012584368128},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-17 05:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754213376001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:26:29] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-17 05:26:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274052246725984256,"km_value":274052246725984.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9132526012584368128,"description":"Unknown IO ID 45"} 
[2026-04-17 05:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754213376001,"power":27397,"unknown_93":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9132526012584368128}} 
[2026-04-17 05:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":46345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:26:29] local.INFO: GPS data processed {"connection_id":46345,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:26:29] local.INFO: Acknowledgment sent {"connection_id":46345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:26:44] local.INFO: TCP Data received {"connection_id":46346,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:26:44] local.INFO: Processing buffer {"connection_id":46346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:26:44] local.INFO: Packet analysis {"connection_id":46346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:26:44] local.INFO: Extracted packet for processing {"connection_id":46346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754108672001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:26:44] 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-04-17 05:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776383538000,"timestamp_ms":1776383538000,"timestamp_seconds":1776383538,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b5b350"} 
[2026-04-17 05:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:26:44] 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-04-17 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 05:26:44] 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-04-17 05: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-04-17 05:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46346,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46346,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754108672001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754108672001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:26:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754108672001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:26:45] local.INFO: DEBUG: GPS processor result {"connection_id":46346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19367,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:26:45] local.INFO: GPS data processed {"connection_id":46346,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:26:45] local.INFO: Acknowledgment sent {"connection_id":46346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:26:56] local.INFO: TCP Data received {"connection_id":45599,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:26:56] local.INFO: Processing buffer {"connection_id":45599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:26:56] local.INFO: IMEI packet received {"connection_id":45599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":45599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:26:56] local.INFO: TCP Data received {"connection_id":45599,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:26:56] local.INFO: Processing buffer {"connection_id":45599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:26:56] local.INFO: IMEI packet received {"connection_id":45599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":45599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:27:02] local.INFO: TCP Data received {"connection_id":45599,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:27:02] local.INFO: Processing buffer {"connection_id":45599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:27:02] local.INFO: IMEI packet received {"connection_id":45599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":45599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:27:03] local.INFO: TCP Data received {"connection_id":45599,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b7af20012d7eb58005b1d138000500b932..."} 
[2026-04-17 05:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b7af20012d7eb58005b1d138000500b932..."} 
[2026-04-17 05:27:03] local.INFO: Processing buffer {"connection_id":45599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b7af20012d7eb58005b1d138000500b932..."} 
[2026-04-17 05:27:03] local.INFO: Packet analysis {"connection_id":45599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b7"} 
[2026-04-17 05:27:03] local.INFO: Extracted packet for processing {"connection_id":45599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b7"} 
[2026-04-17 05:27:03] local.INFO: GPS Element Parsed {"raw_longitude":763278720,"raw_latitude":95539512,"longitude_deg":76.327872,"latitude_deg":9.5539512,"altitude":5,"angle":185,"satellites":50,"speed":31,"hex_longitude":"2d7eb580","hex_latitude":"05b1d138","is_valid_coordinates":true} 
[2026-04-17 05:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754216192001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274052701992517632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131329743930892288,"note":"Value kept but may cause issues"} 
[2026-04-17 05:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776383668000,"timestamp_ms":1776383668000,"timestamp_seconds":1776383668,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b7af20"} 
[2026-04-17 05:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:27: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-04-17 05:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 05:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754216192001,"66":27343,"92":206,"85":12544,"24":31,"16":274052701992517632,"45":9131329743930892288},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-17 05:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754216192001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:27:03] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-17 05:27:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274052701992517632,"km_value":274052701992517.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131329743930892288,"description":"Unknown IO ID 45"} 
[2026-04-17 05:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754216192001,"power":27343,"unknown_92":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9131329743930892288}} 
[2026-04-17 05:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":45599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:27:03] local.INFO: GPS data processed {"connection_id":45599,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:27:03] local.INFO: Acknowledgment sent {"connection_id":45599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:27:11] local.INFO: TCP Data received {"connection_id":46347,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:27:11] local.INFO: Processing buffer {"connection_id":46347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:27:11] local.INFO: IMEI packet received {"connection_id":46347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":46347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:27:16] local.INFO: TCP Data received {"connection_id":46347,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46347,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:27:16] local.INFO: Processing buffer {"connection_id":46347,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:27:16] local.INFO: IMEI packet received {"connection_id":46347,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:27:16] local.INFO: IMEI acknowledgment sent {"connection_id":46347,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:27:17] local.INFO: TCP Data received {"connection_id":46347,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:27:17] local.INFO: Processing buffer {"connection_id":46347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:27:17] local.INFO: Packet analysis {"connection_id":46347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:27:17] local.INFO: Extracted packet for processing {"connection_id":46347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:27:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754108672001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:27:17] 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-04-17 05:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776383538000,"timestamp_ms":1776383538000,"timestamp_seconds":1776383538,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b5b350"} 
[2026-04-17 05:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:27:17] 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-04-17 05:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 05:27:17] 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-04-17 05:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46347,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46347,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754108672001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754108672001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:27:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754108672001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":46347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19369,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:27:17] local.INFO: GPS data processed {"connection_id":46347,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:27:17] local.INFO: Acknowledgment sent {"connection_id":46347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:27:21] local.INFO: TCP Data received {"connection_id":46347,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46347,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:27:21] local.INFO: Processing buffer {"connection_id":46347,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b5b350012d1b598006d4d5980011013831..."} 
[2026-04-17 05:27:21] local.INFO: Packet analysis {"connection_id":46347,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:27:21] local.INFO: Extracted packet for processing {"connection_id":46347,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b5"} 
[2026-04-17 05:27:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754108672001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:27:21] 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-04-17 05:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776383538000,"timestamp_ms":1776383538000,"timestamp_seconds":1776383538,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b5b350"} 
[2026-04-17 05:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:27:21] 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-04-17 05:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 05:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46347,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46347,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46347,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754108672001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754108672001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:27:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754108672001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":46347,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19370,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:27:21] local.INFO: GPS data processed {"connection_id":46347,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:27:21] local.INFO: Acknowledgment sent {"connection_id":46347,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:27:33] local.INFO: TCP Data received {"connection_id":45599,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b9a320012d7ea54005b01ca8000600b632..."} 
[2026-04-17 05:27:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b9a320012d7ea54005b01ca8000600b632..."} 
[2026-04-17 05:27:33] local.INFO: Processing buffer {"connection_id":45599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b9a320012d7ea54005b01ca8000600b632..."} 
[2026-04-17 05:27:33] local.INFO: Packet analysis {"connection_id":45599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b9"} 
[2026-04-17 05:27:33] local.INFO: Extracted packet for processing {"connection_id":45599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b9"} 
[2026-04-17 05:27:33] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95427752,"longitude_deg":76.327456,"latitude_deg":9.5427752,"altitude":6,"angle":182,"satellites":50,"speed":39,"hex_longitude":"2d7ea540","hex_latitude":"05b01ca8","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:27:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754249472001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:27:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274058130831179776,"note":"Value kept but may cause issues"} 
[2026-04-17 05:27:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126052088088913920,"note":"Value kept but may cause issues"} 
[2026-04-17 05:27:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:27:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776383796000,"timestamp_ms":1776383796000,"timestamp_seconds":1776383796,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b9a320"} 
[2026-04-17 05:27:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:27: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-04-17 05:27:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 05:27:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:27:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:27:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:27:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:27:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:27:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:27:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:27:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:27:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:27:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754249472001,"66":27310,"27":206,"85":12544,"24":39,"16":274058130831179776,"45":9126052088088913920},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-17 05:27:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:27:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:27:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754249472001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:27:33] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-17 05:27:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:27:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274058130831179776,"km_value":274058130831179.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:27:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126052088088913920,"description":"Unknown IO ID 45"} 
[2026-04-17 05:27:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754249472001,"power":27310,"unknown_27":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":9126052088088913920}} 
[2026-04-17 05:27:33] local.INFO: DEBUG: GPS processor result {"connection_id":45599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:27:33] local.INFO: GPS data processed {"connection_id":45599,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:27:33] local.INFO: Acknowledgment sent {"connection_id":45599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:27:52] local.INFO: TCP Data received {"connection_id":45541,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:27:52] local.INFO: Processing buffer {"connection_id":45541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:27:52] local.INFO: IMEI packet received {"connection_id":45541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":45541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:27:52] local.INFO: TCP Data received {"connection_id":45541,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:27:52] local.INFO: Processing buffer {"connection_id":45541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:27:52] local.INFO: IMEI packet received {"connection_id":45541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":45541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:27:57] local.INFO: TCP Data received {"connection_id":45541,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45541,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:27:57] local.INFO: Processing buffer {"connection_id":45541,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:27:57] local.INFO: IMEI packet received {"connection_id":45541,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":45541,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:27:57] local.INFO: TCP Data received {"connection_id":45541,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b9c648012d7ea44005aff988000600b633..."} 
[2026-04-17 05:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b9c648012d7ea44005aff988000600b633..."} 
[2026-04-17 05:27:57] local.INFO: Processing buffer {"connection_id":45541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b9c648012d7ea44005aff988000600b633..."} 
[2026-04-17 05:27:57] local.INFO: Packet analysis {"connection_id":45541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b9"} 
[2026-04-17 05:27:57] local.INFO: Extracted packet for processing {"connection_id":45541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b9"} 
[2026-04-17 05:27:57] local.INFO: GPS Element Parsed {"raw_longitude":763274304,"raw_latitude":95418760,"longitude_deg":76.3274304,"latitude_deg":9.541876,"altitude":6,"angle":182,"satellites":51,"speed":39,"hex_longitude":"2d7ea440","hex_latitude":"05aff988","is_valid_coordinates":true} 
[2026-04-17 05:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754251776001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274058564622876672,"note":"Value kept but may cause issues"} 
[2026-04-17 05:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613109860352,"note":"Value kept but may cause issues"} 
[2026-04-17 05:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776383805000,"timestamp_ms":1776383805000,"timestamp_seconds":1776383805,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b9c648"} 
[2026-04-17 05:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:27: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-04-17 05:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 05:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754251776001,"66":27267,"27":206,"85":12544,"24":39,"16":274058564622876672,"45":9125770613109860352},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-17 05:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754251776001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:27:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-17 05:27:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274058564622876672,"km_value":274058564622876.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613109860352,"description":"Unknown IO ID 45"} 
[2026-04-17 05:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754251776001,"power":27267,"unknown_27":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":9125770613109860352}} 
[2026-04-17 05:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":45541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:27:57] local.INFO: GPS data processed {"connection_id":45541,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:27:57] local.INFO: Acknowledgment sent {"connection_id":45541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:28:06] local.INFO: TCP Data received {"connection_id":46348,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:28:06] local.INFO: Processing buffer {"connection_id":46348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:28:06] local.INFO: IMEI packet received {"connection_id":46348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":46348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:28:11] local.INFO: TCP Data received {"connection_id":46348,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46348,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:28:11] local.INFO: Processing buffer {"connection_id":46348,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:28:11] local.INFO: IMEI packet received {"connection_id":46348,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:28:11] local.INFO: IMEI acknowledgment sent {"connection_id":46348,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:28:12] local.INFO: TCP Data received {"connection_id":46348,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:28:12] local.INFO: Processing buffer {"connection_id":46348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:28:12] local.INFO: Packet analysis {"connection_id":46348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:28:12] local.INFO: Extracted packet for processing {"connection_id":46348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:28:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754185728001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:28:12] 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-04-17 05:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776383839000,"timestamp_ms":1776383839000,"timestamp_seconds":1776383839,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ba4b18"} 
[2026-04-17 05:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:28: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-04-17 05:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 05:28: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-04-17 05:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754185728001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754185728001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:28:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754185728001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":46348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19373,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:28:12] local.INFO: GPS data processed {"connection_id":46348,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:28:12] local.INFO: Acknowledgment sent {"connection_id":46348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:28:29] local.INFO: TCP Data received {"connection_id":45541,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98b9e970012d7ea30005afd6d0000600b633..."} 
[2026-04-17 05:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45541,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98b9e970012d7ea30005afd6d0000600b633..."} 
[2026-04-17 05:28:29] local.INFO: Processing buffer {"connection_id":45541,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98b9e970012d7ea30005afd6d0000600b633..."} 
[2026-04-17 05:28:29] local.INFO: Packet analysis {"connection_id":45541,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98b9"} 
[2026-04-17 05:28:29] local.INFO: Extracted packet for processing {"connection_id":45541,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98b9"} 
[2026-04-17 05:28:29] local.INFO: GPS Element Parsed {"raw_longitude":763273984,"raw_latitude":95409872,"longitude_deg":76.3273984,"latitude_deg":9.5409872,"altitude":6,"angle":182,"satellites":51,"speed":39,"hex_longitude":"2d7ea300","hex_latitude":"05afd6d0","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754254080001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274058998414573568,"note":"Value kept but may cause issues"} 
[2026-04-17 05:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125489138130847744,"note":"Value kept but may cause issues"} 
[2026-04-17 05:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776383814000,"timestamp_ms":1776383814000,"timestamp_seconds":1776383814,"priority":1,"record_length":96,"hex_timestamp":"0000019d98b9e970"} 
[2026-04-17 05:28:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:28: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-04-17 05: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 05:28:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:28:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45541,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45541,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:28:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754254080001,"66":27517,"27":206,"85":12544,"24":39,"16":274058998414573568,"45":9125489138130847744},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-17 05:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754254080001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:28:29] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-17 05:28:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274058998414573568,"km_value":274058998414573.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125489138130847744,"description":"Unknown IO ID 45"} 
[2026-04-17 05:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754254080001,"power":27517,"unknown_27":206,"unknown_85":12544,"ignition":39,"odometer":null,"unknown_45":9125489138130847744}} 
[2026-04-17 05:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":45541,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:28:29] local.INFO: GPS data processed {"connection_id":45541,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:28:29] local.INFO: Acknowledgment sent {"connection_id":45541,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:28:43] local.INFO: TCP Data received {"connection_id":46348,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46348,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:28:43] local.INFO: Processing buffer {"connection_id":46348,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:28:43] local.INFO: Packet analysis {"connection_id":46348,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:28:43] local.INFO: Extracted packet for processing {"connection_id":46348,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:28:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754185728001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:28:43] 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-04-17 05:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776383839000,"timestamp_ms":1776383839000,"timestamp_seconds":1776383839,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ba4b18"} 
[2026-04-17 05:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:28:43] 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-04-17 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 05:28:43] 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-04-17 05: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-04-17 05:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46348,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46348,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754185728001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754185728001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:28:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754185728001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":46348,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19375,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:28:43] local.INFO: GPS data processed {"connection_id":46348,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:28:43] local.INFO: Acknowledgment sent {"connection_id":46348,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:28:52] local.INFO: TCP Data received {"connection_id":45600,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:28:52] local.INFO: Processing buffer {"connection_id":45600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:28:52] local.INFO: IMEI packet received {"connection_id":45600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":45600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:28:52] local.INFO: TCP Data received {"connection_id":45600,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:28:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:28:52] local.INFO: Processing buffer {"connection_id":45600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:28:52] local.INFO: IMEI packet received {"connection_id":45600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:28:52] local.INFO: IMEI acknowledgment sent {"connection_id":45600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:28:56] local.INFO: TCP Data received {"connection_id":45600,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:28:56] local.INFO: Processing buffer {"connection_id":45600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:28:56] local.INFO: IMEI packet received {"connection_id":45600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":45600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:28:57] local.INFO: TCP Data received {"connection_id":45600,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ba1080012d7ea14005afb0d0000600b532..."} 
[2026-04-17 05:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ba1080012d7ea14005afb0d0000600b532..."} 
[2026-04-17 05:28:57] local.INFO: Processing buffer {"connection_id":45600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ba1080012d7ea14005afb0d0000600b532..."} 
[2026-04-17 05:28:57] local.INFO: Packet analysis {"connection_id":45600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:28:57] local.INFO: Extracted packet for processing {"connection_id":45600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:28:57] local.INFO: GPS Element Parsed {"raw_longitude":763273536,"raw_latitude":95400144,"longitude_deg":76.3273536,"latitude_deg":9.5400144,"altitude":6,"angle":181,"satellites":50,"speed":38,"hex_longitude":"2d7ea140","hex_latitude":"05afb0d0","is_valid_coordinates":true} 
[2026-04-17 05:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754256384001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274059470860976128,"note":"Value kept but may cause issues"} 
[2026-04-17 05:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125137294407684096,"note":"Value kept but may cause issues"} 
[2026-04-17 05:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776383824000,"timestamp_ms":1776383824000,"timestamp_seconds":1776383824,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ba1080"} 
[2026-04-17 05:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:28: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-04-17 05:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 05:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754256384001,"66":27397,"27":206,"85":12544,"24":38,"16":274059470860976128,"45":9125137294407684096},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-17 05:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754256384001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:28:57] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-17 05:28:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274059470860976128,"km_value":274059470860976.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125137294407684096,"description":"Unknown IO ID 45"} 
[2026-04-17 05:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754256384001,"power":27397,"unknown_27":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9125137294407684096}} 
[2026-04-17 05:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":45600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:28:57] local.INFO: GPS data processed {"connection_id":45600,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:28:57] local.INFO: Acknowledgment sent {"connection_id":45600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:29:05] local.INFO: TCP Data received {"connection_id":46349,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:29:05] local.INFO: Processing buffer {"connection_id":46349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:29:05] local.INFO: IMEI packet received {"connection_id":46349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":46349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:29:11] local.INFO: TCP Data received {"connection_id":46349,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46349,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:29:11] local.INFO: Processing buffer {"connection_id":46349,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:29:11] local.INFO: IMEI packet received {"connection_id":46349,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":46349,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:29:12] local.INFO: TCP Data received {"connection_id":46349,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:29:12] local.INFO: Processing buffer {"connection_id":46349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:29:12] local.INFO: Packet analysis {"connection_id":46349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:29:12] local.INFO: Extracted packet for processing {"connection_id":46349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:29:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754185728001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:29:12] 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-04-17 05:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776383839000,"timestamp_ms":1776383839000,"timestamp_seconds":1776383839,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ba4b18"} 
[2026-04-17 05:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:29: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-04-17 05: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":205,"data_length":795,"current_offset":136} 
[2026-04-17 05:29: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-04-17 05: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-04-17 05:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754185728001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754185728001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:29:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754185728001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":46349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19377,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:29:13] local.INFO: GPS data processed {"connection_id":46349,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:29:13] local.INFO: Acknowledgment sent {"connection_id":46349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:29:28] local.INFO: TCP Data received {"connection_id":45600,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98bb8b68012d7f328005af57000005001c34..."} 
[2026-04-17 05:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98bb8b68012d7f328005af57000005001c34..."} 
[2026-04-17 05:29:28] local.INFO: Processing buffer {"connection_id":45600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98bb8b68012d7f328005af57000005001c34..."} 
[2026-04-17 05:29:28] local.INFO: Packet analysis {"connection_id":45600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98bb"} 
[2026-04-17 05:29:28] local.INFO: Extracted packet for processing {"connection_id":45600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98bb"} 
[2026-04-17 05:29:28] local.INFO: GPS Element Parsed {"raw_longitude":763310720,"raw_latitude":95377152,"longitude_deg":76.331072,"latitude_deg":9.5377152,"altitude":5,"angle":28,"satellites":52,"speed":12,"hex_longitude":"2d7f3280","hex_latitude":"05af5700","is_valid_coordinates":true} 
[2026-04-17 05:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754283520001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274062301244424192,"note":"Value kept but may cause issues"} 
[2026-04-17 05:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165247478580514816,"note":"Value kept but may cause issues"} 
[2026-04-17 05:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776383921000,"timestamp_ms":1776383921000,"timestamp_seconds":1776383921,"priority":1,"record_length":96,"hex_timestamp":"0000019d98bb8b68"} 
[2026-04-17 05:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:29: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-04-17 05:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 05:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754283520001,"66":27267,"28":206,"85":12544,"24":12,"16":274062301244424192,"45":9165247478580514816},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 05:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754283520001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:29:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 05:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274062301244424192,"km_value":274062301244424.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165247478580514816,"description":"Unknown IO ID 45"} 
[2026-04-17 05:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754283520001,"power":27267,"unknown_28":206,"unknown_85":12544,"ignition":12,"odometer":null,"unknown_45":9165247478580514816}} 
[2026-04-17 05:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":45600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:29:28] local.INFO: GPS data processed {"connection_id":45600,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:29:28] local.INFO: Acknowledgment sent {"connection_id":45600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:29:44] local.INFO: TCP Data received {"connection_id":46349,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46349,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:29:44] local.INFO: Processing buffer {"connection_id":46349,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:29:44] local.INFO: Packet analysis {"connection_id":46349,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:29:44] local.INFO: Extracted packet for processing {"connection_id":46349,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:29:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754185728001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:29:44] 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-04-17 05:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776383839000,"timestamp_ms":1776383839000,"timestamp_seconds":1776383839,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ba4b18"} 
[2026-04-17 05:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:29:44] 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-04-17 05: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":205,"data_length":795,"current_offset":136} 
[2026-04-17 05:29:44] 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-04-17 05: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-04-17 05:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46349,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46349,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754185728001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754185728001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:29:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754185728001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":46349,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19379,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:29:44] local.INFO: GPS data processed {"connection_id":46349,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:29:44] local.INFO: Acknowledgment sent {"connection_id":46349,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:29:52] local.INFO: TCP Data received {"connection_id":45796,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:29:52] local.INFO: Processing buffer {"connection_id":45796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:29:52] local.INFO: IMEI packet received {"connection_id":45796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":45796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:29:57] local.INFO: TCP Data received {"connection_id":45796,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:29:57] local.INFO: Processing buffer {"connection_id":45796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:29:57] local.INFO: IMEI packet received {"connection_id":45796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":45796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:29:57] local.INFO: TCP Data received {"connection_id":45796,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98bb8f50012d7f32c005af58080005000a34..."} 
[2026-04-17 05:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98bb8f50012d7f32c005af58080005000a34..."} 
[2026-04-17 05:29:57] local.INFO: Processing buffer {"connection_id":45796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98bb8f50012d7f32c005af58080005000a34..."} 
[2026-04-17 05:29:57] local.INFO: Packet analysis {"connection_id":45796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98bb"} 
[2026-04-17 05:29:57] local.INFO: Extracted packet for processing {"connection_id":45796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98bb"} 
[2026-04-17 05:29:57] local.INFO: GPS Element Parsed {"raw_longitude":763310784,"raw_latitude":95377416,"longitude_deg":76.3310784,"latitude_deg":9.5377416,"altitude":5,"angle":10,"satellites":52,"speed":10,"hex_longitude":"2d7f32c0","hex_latitude":"05af5808","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754283776001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274062314129326080,"note":"Value kept but may cause issues"} 
[2026-04-17 05:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165528953557286912,"note":"Value kept but may cause issues"} 
[2026-04-17 05:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776383922000,"timestamp_ms":1776383922000,"timestamp_seconds":1776383922,"priority":1,"record_length":96,"hex_timestamp":"0000019d98bb8f50"} 
[2026-04-17 05:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:29: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-04-17 05: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 05:29:57] 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-04-17 05: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-04-17 05:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754283776001,"66":27267,"28":206,"85":12544,"24":10,"16":274062314129326080,"45":9165528953557286912},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 05:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754283776001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:29:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 05:29:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274062314129326080,"km_value":274062314129326.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165528953557286912,"description":"Unknown IO ID 45"} 
[2026-04-17 05:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754283776001,"power":27267,"unknown_28":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9165528953557286912}} 
[2026-04-17 05:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":45796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:29:57] local.INFO: GPS data processed {"connection_id":45796,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:29:57] local.INFO: Acknowledgment sent {"connection_id":45796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:30:05] local.INFO: TCP Data received {"connection_id":45601,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:30:05] local.INFO: Processing buffer {"connection_id":45601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:30:05] local.INFO: IMEI packet received {"connection_id":45601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":45601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:30:11] local.INFO: TCP Data received {"connection_id":45601,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45601,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:30:11] local.INFO: Processing buffer {"connection_id":45601,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:30:11] local.INFO: IMEI packet received {"connection_id":45601,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":45601,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:30:12] local.INFO: TCP Data received {"connection_id":45601,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:30:12] local.INFO: Processing buffer {"connection_id":45601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:30:12] local.INFO: Packet analysis {"connection_id":45601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:30:12] local.INFO: Extracted packet for processing {"connection_id":45601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:30:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754185728001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:30:12] 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-04-17 05:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776383839000,"timestamp_ms":1776383839000,"timestamp_seconds":1776383839,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ba4b18"} 
[2026-04-17 05:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:30: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-04-17 05:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 05:30: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-04-17 05:30:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754185728001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754185728001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:30:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754185728001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:30:13] local.INFO: DEBUG: GPS processor result {"connection_id":45601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19381,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:30:13] local.INFO: GPS data processed {"connection_id":45601,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:30:13] local.INFO: Acknowledgment sent {"connection_id":45601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:30:28] local.INFO: TCP Data received {"connection_id":45796,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98bb9ef0012d7f334005af5bb80005016533..."} 
[2026-04-17 05:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98bb9ef0012d7f334005af5bb80005016533..."} 
[2026-04-17 05:30:28] local.INFO: Processing buffer {"connection_id":45796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98bb9ef0012d7f334005af5bb80005016533..."} 
[2026-04-17 05:30:28] local.INFO: Packet analysis {"connection_id":45796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98bb"} 
[2026-04-17 05:30:28] local.INFO: Extracted packet for processing {"connection_id":45796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98bb"} 
[2026-04-17 05:30:28] local.INFO: GPS Element Parsed {"raw_longitude":763310912,"raw_latitude":95378360,"longitude_deg":76.3310912,"latitude_deg":9.537836,"altitude":5,"angle":357,"satellites":51,"speed":10,"hex_longitude":"2d7f3340","hex_latitude":"05af5bb8","is_valid_coordinates":true} 
[2026-04-17 05:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754284032001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274062361373966336,"note":"Value kept but may cause issues"} 
[2026-04-17 05:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9165599322301532160,"note":"Value kept but may cause issues"} 
[2026-04-17 05:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776383926000,"timestamp_ms":1776383926000,"timestamp_seconds":1776383926,"priority":1,"record_length":96,"hex_timestamp":"0000019d98bb9ef0"} 
[2026-04-17 05:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:30: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-04-17 05:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 05:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754284032001,"66":27321,"28":206,"85":12544,"24":10,"16":274062361373966336,"45":9165599322301532160},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 05:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754284032001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:30:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 05:30:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274062361373966336,"km_value":274062361373966.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9165599322301532160,"description":"Unknown IO ID 45"} 
[2026-04-17 05:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754284032001,"power":27321,"unknown_28":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9165599322301532160}} 
[2026-04-17 05:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":45796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:30:28] local.INFO: GPS data processed {"connection_id":45796,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:30:28] local.INFO: Acknowledgment sent {"connection_id":45796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:30:44] local.INFO: TCP Data received {"connection_id":45601,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:30:44] local.INFO: Processing buffer {"connection_id":45601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:30:44] local.INFO: Packet analysis {"connection_id":45601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:30:44] local.INFO: Extracted packet for processing {"connection_id":45601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:30:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754185728001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:30:44] 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-04-17 05:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776383839000,"timestamp_ms":1776383839000,"timestamp_seconds":1776383839,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ba4b18"} 
[2026-04-17 05:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:30:44] 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-04-17 05:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 05:30:44] 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-04-17 05:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45601,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754185728001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754185728001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:30:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754185728001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":45601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19383,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:30:44] local.INFO: GPS data processed {"connection_id":45601,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:30:44] local.INFO: Acknowledgment sent {"connection_id":45601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:30:50] local.INFO: TCP Data received {"connection_id":46350,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:30:50] local.INFO: Processing buffer {"connection_id":46350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:30:50] local.INFO: IMEI packet received {"connection_id":46350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":46350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:30:51] local.INFO: TCP Data received {"connection_id":46350,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:30:51] local.INFO: Processing buffer {"connection_id":46350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:30:51] local.INFO: IMEI packet received {"connection_id":46350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":46350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:30:52] local.INFO: TCP Data received {"connection_id":46350,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:30:52] local.INFO: Processing buffer {"connection_id":46350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:30:52] local.INFO: IMEI packet received {"connection_id":46350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":46350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:30:52] local.INFO: TCP Data received {"connection_id":46350,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46350,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:30:52] local.INFO: Processing buffer {"connection_id":46350,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:30:52] local.INFO: IMEI packet received {"connection_id":46350,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":46350,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:31:11] local.INFO: TCP Data received {"connection_id":45797,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:31:11] local.INFO: Processing buffer {"connection_id":45797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:31:11] local.INFO: IMEI packet received {"connection_id":45797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":45797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:31:16] local.INFO: TCP Data received {"connection_id":45797,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:31:16] local.INFO: Processing buffer {"connection_id":45797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:31:16] local.INFO: IMEI packet received {"connection_id":45797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":45797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:31:17] local.INFO: TCP Data received {"connection_id":45797,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:31:17] local.INFO: Processing buffer {"connection_id":45797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:31:17] local.INFO: Packet analysis {"connection_id":45797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:31:17] local.INFO: Extracted packet for processing {"connection_id":45797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:31:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:31:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754185728001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:31:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:31:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:31:17] 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-04-17 05:31:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776383839000,"timestamp_ms":1776383839000,"timestamp_seconds":1776383839,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ba4b18"} 
[2026-04-17 05:31:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:31:17] 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-04-17 05:31:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 05:31:17] 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-04-17 05:31:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:31:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:31:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:31:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:31:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:31:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:31:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:31:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:31:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:31:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754185728001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:31:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:31:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:31:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754185728001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:31:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:31:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:31:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:31:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754185728001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":45797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19384,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:31:17] local.INFO: GPS data processed {"connection_id":45797,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:31:17] local.INFO: Acknowledgment sent {"connection_id":45797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:31:21] local.INFO: TCP Data received {"connection_id":45797,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:31:21] local.INFO: Processing buffer {"connection_id":45797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:31:21] local.INFO: Packet analysis {"connection_id":45797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:31:21] local.INFO: Extracted packet for processing {"connection_id":45797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:31:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754185728001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:31:21] 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-04-17 05:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776383839000,"timestamp_ms":1776383839000,"timestamp_seconds":1776383839,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ba4b18"} 
[2026-04-17 05:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:31:21] 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-04-17 05:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 05:31:21] 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-04-17 05:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754185728001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754185728001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:31:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754185728001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":45797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19385,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:31:21] local.INFO: GPS data processed {"connection_id":45797,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:31:21] local.INFO: Acknowledgment sent {"connection_id":45797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:32:20] local.INFO: TCP Data received {"connection_id":46351,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:32:20] local.INFO: Processing buffer {"connection_id":46351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:32:20] local.INFO: IMEI packet received {"connection_id":46351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":46351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:32:26] local.INFO: TCP Data received {"connection_id":46351,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46351,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:32:26] local.INFO: Processing buffer {"connection_id":46351,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:32:26] local.INFO: IMEI packet received {"connection_id":46351,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":46351,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:32:27] local.INFO: TCP Data received {"connection_id":46351,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:32:27] local.INFO: Processing buffer {"connection_id":46351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ba4b18012d1b598006d4d5980011013831..."} 
[2026-04-17 05:32:27] local.INFO: Packet analysis {"connection_id":46351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:32:27] local.INFO: Extracted packet for processing {"connection_id":46351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ba"} 
[2026-04-17 05:32:27] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754185728001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:32:27] 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-04-17 05:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776383839000,"timestamp_ms":1776383839000,"timestamp_seconds":1776383839,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ba4b18"} 
[2026-04-17 05:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:32:27] 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-04-17 05:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 05:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46351,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754185728001,"66":25625,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754185728001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:32:27] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754185728001,"power":25625,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":46351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19386,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:32:27] local.INFO: GPS data processed {"connection_id":46351,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:32:27] local.INFO: Acknowledgment sent {"connection_id":46351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:33:11] local.INFO: TCP Data received {"connection_id":45603,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:33:11] local.INFO: Processing buffer {"connection_id":45603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:33:11] local.INFO: IMEI packet received {"connection_id":45603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":45603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:33:17] local.INFO: TCP Data received {"connection_id":45603,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45603,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:33:17] local.INFO: Processing buffer {"connection_id":45603,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:33:17] local.INFO: IMEI packet received {"connection_id":45603,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":45603,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:33:18] local.INFO: TCP Data received {"connection_id":45603,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:33:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:33:18] local.INFO: Processing buffer {"connection_id":45603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:33:18] local.INFO: Packet analysis {"connection_id":45603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:33:18] local.INFO: Extracted packet for processing {"connection_id":45603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:33:18] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:33:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754262784001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:33:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:33:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:33:18] 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-04-17 05:33:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776384140000,"timestamp_ms":1776384140000,"timestamp_seconds":1776384140,"priority":1,"record_length":96,"hex_timestamp":"0000019d98bee2e0"} 
[2026-04-17 05:33:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:33:18] 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-04-17 05:33:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 05:33:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:33:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:33:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:33:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:33:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:33:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:33:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:33:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:33:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:33:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:33:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754262784001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:33:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:33:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:33:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754262784001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:33:18] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:33:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:33:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:33:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754262784001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:33:18] local.INFO: DEBUG: GPS processor result {"connection_id":45603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19387,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:33:18] local.INFO: GPS data processed {"connection_id":45603,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:33:18] local.INFO: Acknowledgment sent {"connection_id":45603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:33:50] local.INFO: TCP Data received {"connection_id":45603,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:33:50] local.INFO: Processing buffer {"connection_id":45603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:33:50] local.INFO: Packet analysis {"connection_id":45603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:33:50] local.INFO: Extracted packet for processing {"connection_id":45603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:33:50] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:33:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754262784001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:33:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:33:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:33:50] 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-04-17 05:33:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776384140000,"timestamp_ms":1776384140000,"timestamp_seconds":1776384140,"priority":1,"record_length":96,"hex_timestamp":"0000019d98bee2e0"} 
[2026-04-17 05:33:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:33:50] 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-04-17 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 05:33:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:33:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:33:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:33:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:33:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:33:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45603,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:33:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:33:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:33:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:33:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754262784001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:33:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:33:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:33:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754262784001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:33:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:33:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:33:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:33:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754262784001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:33:50] local.INFO: DEBUG: GPS processor result {"connection_id":45603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19388,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:33:50] local.INFO: GPS data processed {"connection_id":45603,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:33:50] local.INFO: Acknowledgment sent {"connection_id":45603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:34:05] local.INFO: TCP Data received {"connection_id":45604,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:34:05] local.INFO: Processing buffer {"connection_id":45604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:34:05] local.INFO: IMEI packet received {"connection_id":45604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":45604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:34:11] local.INFO: TCP Data received {"connection_id":45604,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:34:11] local.INFO: Processing buffer {"connection_id":45604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:34:11] local.INFO: IMEI packet received {"connection_id":45604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:34:11] local.INFO: IMEI acknowledgment sent {"connection_id":45604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:34:12] local.INFO: TCP Data received {"connection_id":45604,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:34:12] local.INFO: Processing buffer {"connection_id":45604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:34:12] local.INFO: Packet analysis {"connection_id":45604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:34:12] local.INFO: Extracted packet for processing {"connection_id":45604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:34:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754262784001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:34:12] 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-04-17 05:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776384140000,"timestamp_ms":1776384140000,"timestamp_seconds":1776384140,"priority":1,"record_length":96,"hex_timestamp":"0000019d98bee2e0"} 
[2026-04-17 05:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:34: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-04-17 05:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 05:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754262784001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754262784001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:34:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754262784001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":45604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19389,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:34:12] local.INFO: GPS data processed {"connection_id":45604,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:34:12] local.INFO: Acknowledgment sent {"connection_id":45604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:34:45] local.INFO: TCP Data received {"connection_id":45604,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:34:45] local.INFO: Processing buffer {"connection_id":45604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:34:45] local.INFO: Packet analysis {"connection_id":45604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:34:45] local.INFO: Extracted packet for processing {"connection_id":45604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:34:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754262784001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:34:45] 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-04-17 05:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776384140000,"timestamp_ms":1776384140000,"timestamp_seconds":1776384140,"priority":1,"record_length":96,"hex_timestamp":"0000019d98bee2e0"} 
[2026-04-17 05:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:34:45] 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-04-17 05:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 05:34: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-04-17 05:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754262784001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754262784001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:34:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754262784001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":45604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19390,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:34:45] local.INFO: GPS data processed {"connection_id":45604,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:34:45] local.INFO: Acknowledgment sent {"connection_id":45604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:35:55] local.INFO: TCP Data received {"connection_id":46352,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:35:55] local.INFO: Processing buffer {"connection_id":46352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:35:55] local.INFO: IMEI packet received {"connection_id":46352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":46352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:35:56] local.INFO: TCP Data received {"connection_id":45799,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:35:56] local.INFO: Processing buffer {"connection_id":45799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:35:56] local.INFO: IMEI packet received {"connection_id":45799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":45799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:35:57] local.INFO: TCP Data received {"connection_id":45799,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d98be7968012d7fa20005afbd50000600182e..."} 
[2026-04-17 05:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98be7968012d7fa20005afbd50000600182e..."} 
[2026-04-17 05:35:57] local.INFO: Processing buffer {"connection_id":45799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98be7968012d7fa20005afbd50000600182e..."} 
[2026-04-17 05:35:57] local.INFO: Packet analysis {"connection_id":45799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:35:57] local.INFO: Extracted packet for processing {"connection_id":45799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:35:57] local.INFO: GPS Element Parsed {"raw_longitude":763339264,"raw_latitude":95403344,"longitude_deg":76.3339264,"latitude_deg":9.5403344,"altitude":6,"angle":24,"satellites":46,"speed":5,"hex_longitude":"2d7fa200","hex_latitude":"05afbd50","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754330112001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064809505325056,"note":"Value kept but may cause issues"} 
[2026-04-17 05:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196561569746225152,"note":"Value kept but may cause issues"} 
[2026-04-17 05:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776384113000,"timestamp_ms":1776384113000,"timestamp_seconds":1776384113,"priority":1,"record_length":96,"hex_timestamp":"0000019d98be7968"} 
[2026-04-17 05:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:35: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-04-17 05: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 05:35:57] 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-04-17 05: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-04-17 05:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754330112001,"66":27517,"250":206,"85":12544,"24":5,"16":274064809505325056,"45":9196561569746225152},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754330112001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:35:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:35:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064809505325056,"km_value":274064809505325.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196561569746225152,"description":"Unknown IO ID 45"} 
[2026-04-17 05:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754330112001,"power":27517,"unknown_250":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":9196561569746225152}} 
[2026-04-17 05:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":45799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:35:57] local.INFO: GPS data processed {"connection_id":45799,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:35:57] local.INFO: Acknowledgment sent {"connection_id":45799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:36:04] local.INFO: TCP Data received {"connection_id":46352,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46352,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:36:04] local.INFO: Processing buffer {"connection_id":46352,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:36:04] local.INFO: IMEI packet received {"connection_id":46352,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":46352,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:36:05] local.INFO: TCP Data received {"connection_id":46352,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:36:05] local.INFO: Processing buffer {"connection_id":46352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:36:05] local.INFO: Packet analysis {"connection_id":46352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:36:05] local.INFO: Extracted packet for processing {"connection_id":46352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:36:05] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754262784001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:36:05] 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-04-17 05:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776384140000,"timestamp_ms":1776384140000,"timestamp_seconds":1776384140,"priority":1,"record_length":96,"hex_timestamp":"0000019d98bee2e0"} 
[2026-04-17 05:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:36:05] 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-04-17 05:36:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 05:36:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754262784001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754262784001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:36:05] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754262784001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":46352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19392,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:36:05] local.INFO: GPS data processed {"connection_id":46352,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:36:05] local.INFO: Acknowledgment sent {"connection_id":46352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:36:28] local.INFO: TCP Data received {"connection_id":45799,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d98be8138012d7fa28005afbea80007000b30..."} 
[2026-04-17 05:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98be8138012d7fa28005afbea80007000b30..."} 
[2026-04-17 05:36:28] local.INFO: Processing buffer {"connection_id":45799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98be8138012d7fa28005afbea80007000b30..."} 
[2026-04-17 05:36:28] local.INFO: Packet analysis {"connection_id":45799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:36:28] local.INFO: Extracted packet for processing {"connection_id":45799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763339392,"raw_latitude":95403688,"longitude_deg":76.3339392,"latitude_deg":9.5403688,"altitude":7,"angle":11,"satellites":48,"speed":8,"hex_longitude":"2d7fa280","hex_latitude":"05afbea8","is_valid_coordinates":true} 
[2026-04-17 05:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754332928001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064830980161536,"note":"Value kept but may cause issues"} 
[2026-04-17 05:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196913413467230208,"note":"Value kept but may cause issues"} 
[2026-04-17 05:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776384115000,"timestamp_ms":1776384115000,"timestamp_seconds":1776384115,"priority":1,"record_length":96,"hex_timestamp":"0000019d98be8138"} 
[2026-04-17 05:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:36: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-04-17 05:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 05:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754332928001,"66":27310,"250":206,"85":12544,"24":8,"16":274064830980161536,"45":9196913413467230208},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754332928001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:36:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064830980161536,"km_value":274064830980161.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196913413467230208,"description":"Unknown IO ID 45"} 
[2026-04-17 05:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754332928001,"power":27310,"unknown_250":206,"unknown_85":12544,"ignition":8,"odometer":null,"unknown_45":9196913413467230208}} 
[2026-04-17 05:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":45799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:36:28] local.INFO: GPS data processed {"connection_id":45799,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:36:28] local.INFO: Acknowledgment sent {"connection_id":45799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:36:37] local.INFO: TCP Data received {"connection_id":46352,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:36:37] local.INFO: Processing buffer {"connection_id":46352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:36:37] local.INFO: Packet analysis {"connection_id":46352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:36:37] local.INFO: Extracted packet for processing {"connection_id":46352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754262784001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:36: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-04-17 05:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776384140000,"timestamp_ms":1776384140000,"timestamp_seconds":1776384140,"priority":1,"record_length":96,"hex_timestamp":"0000019d98bee2e0"} 
[2026-04-17 05:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 05:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46352,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754262784001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754262784001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:36:37] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754262784001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":46352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19394,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:36:37] local.INFO: GPS data processed {"connection_id":46352,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:36:37] local.INFO: Acknowledgment sent {"connection_id":46352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:36:51] local.INFO: TCP Data received {"connection_id":45800,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:36:51] local.INFO: Processing buffer {"connection_id":45800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:36:51] local.INFO: IMEI packet received {"connection_id":45800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":45800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:36:57] local.INFO: TCP Data received {"connection_id":45800,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:36:57] local.INFO: Processing buffer {"connection_id":45800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:36:57] local.INFO: IMEI packet received {"connection_id":45800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":45800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:36:58] local.INFO: TCP Data received {"connection_id":45800,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d98be8908012d7fa28005afc098000701612e..."} 
[2026-04-17 05:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98be8908012d7fa28005afc098000701612e..."} 
[2026-04-17 05:36:58] local.INFO: Processing buffer {"connection_id":45800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98be8908012d7fa28005afc098000701612e..."} 
[2026-04-17 05:36:58] local.INFO: Packet analysis {"connection_id":45800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:36:58] local.INFO: Extracted packet for processing {"connection_id":45800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763339392,"raw_latitude":95404184,"longitude_deg":76.3339392,"latitude_deg":9.5404184,"altitude":7,"angle":353,"satellites":46,"speed":11,"hex_longitude":"2d7fa280","hex_latitude":"05afc098","is_valid_coordinates":true} 
[2026-04-17 05:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754333440001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064852454998016,"note":"Value kept but may cause issues"} 
[2026-04-17 05:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150955673600,"note":"Value kept but may cause issues"} 
[2026-04-17 05:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776384117000,"timestamp_ms":1776384117000,"timestamp_seconds":1776384117,"priority":1,"record_length":96,"hex_timestamp":"0000019d98be8908"} 
[2026-04-17 05:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:36: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-04-17 05:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 05:36:58] 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-04-17 05:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754333440001,"66":27876,"250":206,"85":12544,"24":11,"16":274064852454998016,"45":9197054150955673600},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754333440001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:36:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:36:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064852454998016,"km_value":274064852454998.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150955673600,"description":"Unknown IO ID 45"} 
[2026-04-17 05:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754333440001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9197054150955673600}} 
[2026-04-17 05:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":45800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:36:58] local.INFO: GPS data processed {"connection_id":45800,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:36:58] local.INFO: Acknowledgment sent {"connection_id":45800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:37:05] local.INFO: TCP Data received {"connection_id":45605,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:37:05] local.INFO: Processing buffer {"connection_id":45605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:37:05] local.INFO: IMEI packet received {"connection_id":45605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":45605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:37:13] local.INFO: TCP Data received {"connection_id":45605,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45605,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:37:13] local.INFO: Processing buffer {"connection_id":45605,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:37:13] local.INFO: IMEI packet received {"connection_id":45605,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":45605,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:37:14] local.INFO: TCP Data received {"connection_id":45605,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:37:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:37:14] local.INFO: Processing buffer {"connection_id":45605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:37:14] local.INFO: Packet analysis {"connection_id":45605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:37:14] local.INFO: Extracted packet for processing {"connection_id":45605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:37:14] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:37:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754262784001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:37:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:37:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:37:14] 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-04-17 05:37:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776384140000,"timestamp_ms":1776384140000,"timestamp_seconds":1776384140,"priority":1,"record_length":96,"hex_timestamp":"0000019d98bee2e0"} 
[2026-04-17 05:37:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:37:14] 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-04-17 05:37:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 05:37:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:37:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:37:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:37:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:37:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:37:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:37:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:37:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:37:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:37:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:37:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754262784001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:37:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:37:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:37:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754262784001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:37:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:37:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:37:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:37:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754262784001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:37:14] local.INFO: DEBUG: GPS processor result {"connection_id":45605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19396,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:37:14] local.INFO: GPS data processed {"connection_id":45605,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:37:14] local.INFO: Acknowledgment sent {"connection_id":45605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:37:29] local.INFO: TCP Data received {"connection_id":45800,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d98be94c0012d7fa28005afc498000700042f..."} 
[2026-04-17 05:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98be94c0012d7fa28005afc498000700042f..."} 
[2026-04-17 05:37:29] local.INFO: Processing buffer {"connection_id":45800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98be94c0012d7fa28005afc498000700042f..."} 
[2026-04-17 05:37:29] local.INFO: Packet analysis {"connection_id":45800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:37:29] local.INFO: Extracted packet for processing {"connection_id":45800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:37:29] local.INFO: GPS Element Parsed {"raw_longitude":763339392,"raw_latitude":95405208,"longitude_deg":76.3339392,"latitude_deg":9.5405208,"altitude":7,"angle":4,"satellites":47,"speed":14,"hex_longitude":"2d7fa280","hex_latitude":"05afc498","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754333952001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064903994605568,"note":"Value kept but may cause issues"} 
[2026-04-17 05:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150955800576,"note":"Value kept but may cause issues"} 
[2026-04-17 05:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776384120000,"timestamp_ms":1776384120000,"timestamp_seconds":1776384120,"priority":1,"record_length":96,"hex_timestamp":"0000019d98be94c0"} 
[2026-04-17 05:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:37: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-04-17 05: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 05:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05: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-04-17 05:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754333952001,"66":27691,"250":206,"85":12544,"24":14,"16":274064903994605568,"45":9197054150955800576},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754333952001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:37:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:37:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064903994605568,"km_value":274064903994605.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150955800576,"description":"Unknown IO ID 45"} 
[2026-04-17 05:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754333952001,"power":27691,"unknown_250":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":9197054150955800576}} 
[2026-04-17 05:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":45800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19397,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:37:29] local.INFO: GPS data processed {"connection_id":45800,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:37:29] local.INFO: Acknowledgment sent {"connection_id":45800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:37:47] local.INFO: TCP Data received {"connection_id":45605,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:37:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:37:47] local.INFO: Processing buffer {"connection_id":45605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98bee2e0012d1b598006d4d5980011013831..."} 
[2026-04-17 05:37:47] local.INFO: Packet analysis {"connection_id":45605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:37:47] local.INFO: Extracted packet for processing {"connection_id":45605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:37:47] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:37:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754262784001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:37:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:37:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:37:47] 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-04-17 05:37:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776384140000,"timestamp_ms":1776384140000,"timestamp_seconds":1776384140,"priority":1,"record_length":96,"hex_timestamp":"0000019d98bee2e0"} 
[2026-04-17 05:37:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:37:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:37:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 05:37:47] 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-04-17 05:37:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:37:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:37:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:37:47] local.INFO: Teltonika packet parsed successfully {"connection_id":45605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:37:47] local.INFO: Passing IMEI to GPS processor {"connection_id":45605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:37:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":45605,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:37:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:37:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:37:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:37:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754262784001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:37:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:37:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:37:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754262784001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:37:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:37:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:37:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:37:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754262784001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:37:47] local.INFO: DEBUG: GPS processor result {"connection_id":45605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19398,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:37:47] local.INFO: GPS data processed {"connection_id":45605,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:37:47] local.INFO: Acknowledgment sent {"connection_id":45605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:37:51] local.INFO: TCP Data received {"connection_id":46353,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:37:51] local.INFO: Processing buffer {"connection_id":46353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:37:51] local.INFO: IMEI packet received {"connection_id":46353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":46353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:37:57] local.INFO: TCP Data received {"connection_id":46353,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:37:57] local.INFO: Processing buffer {"connection_id":46353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:37:57] local.INFO: IMEI packet received {"connection_id":46353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":46353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:37:58] local.INFO: TCP Data received {"connection_id":46353,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d98bea078012d7fa2c005afc8e80007000830..."} 
[2026-04-17 05:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98bea078012d7fa2c005afc8e80007000830..."} 
[2026-04-17 05:37:58] local.INFO: Processing buffer {"connection_id":46353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98bea078012d7fa2c005afc8e80007000830..."} 
[2026-04-17 05:37:58] local.INFO: Packet analysis {"connection_id":46353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:37:58] local.INFO: Extracted packet for processing {"connection_id":46353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98be"} 
[2026-04-17 05:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763339456,"raw_latitude":95406312,"longitude_deg":76.3339456,"latitude_deg":9.5406312,"altitude":7,"angle":8,"satellites":48,"speed":14,"hex_longitude":"2d7fa2c0","hex_latitude":"05afc8e8","is_valid_coordinates":true} 
[2026-04-17 05:37: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-04-17 05:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754334720001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197054150956062720,"note":"Value kept but may cause issues"} 
[2026-04-17 05:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776384123000,"timestamp_ms":1776384123000,"timestamp_seconds":1776384123,"priority":1,"record_length":96,"hex_timestamp":"0000019d98bea078"} 
[2026-04-17 05:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:37: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-04-17 05:37:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-17 05:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1125,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:37:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754334720001,"66":27908,"250":206,"85":12544,"24":14,"16":274064959829180416,"45":9197054150956062720},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754334720001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:37:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:37:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197054150956062720,"description":"Unknown IO ID 45"} 
[2026-04-17 05:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754334720001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":14,"odometer":null,"unknown_45":9197054150956062720}} 
[2026-04-17 05:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":46353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:37:58] local.INFO: GPS data processed {"connection_id":46353,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:37:58] local.INFO: Acknowledgment sent {"connection_id":46353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:38:10] local.INFO: TCP Data received {"connection_id":45801,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:38:10] local.INFO: Processing buffer {"connection_id":45801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:38:10] local.INFO: IMEI packet received {"connection_id":45801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":45801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:38:15] local.INFO: TCP Data received {"connection_id":45801,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:38:15] local.INFO: Processing buffer {"connection_id":45801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:38:15] local.INFO: IMEI packet received {"connection_id":45801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":45801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:38:16] local.INFO: TCP Data received {"connection_id":45801,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c37aa8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:38:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c37aa8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:38:16] local.INFO: Processing buffer {"connection_id":45801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c37aa8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:38:16] local.INFO: Packet analysis {"connection_id":45801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:38:16] local.INFO: Extracted packet for processing {"connection_id":45801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:38:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:38: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-04-17 05:38:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754339840001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:38:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:38:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:38:16] 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-04-17 05:38:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776384441000,"timestamp_ms":1776384441000,"timestamp_seconds":1776384441,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c37aa8"} 
[2026-04-17 05:38:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:38:16] 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-04-17 05:38: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":205,"data_length":795,"current_offset":136} 
[2026-04-17 05:38:16] 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-04-17 05:38: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-04-17 05:38:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:38:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:38:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:38:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:38:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:38:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:38:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:38:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:38:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754339840001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:38:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:38:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:38:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754339840001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:38:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:38:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:38:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:38:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754339840001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":45801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19400,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:38:17] local.INFO: GPS data processed {"connection_id":45801,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:38:17] local.INFO: Acknowledgment sent {"connection_id":45801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:38:29] local.INFO: TCP Data received {"connection_id":46353,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:38:29] local.INFO: Processing buffer {"connection_id":46353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:38:29] local.INFO: Packet analysis {"connection_id":46353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:38:29] local.INFO: Extracted packet for processing {"connection_id":46353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:38:29] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95411552,"longitude_deg":76.3341312,"latitude_deg":9.5411552,"altitude":7,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afdd60","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754335488001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700523008,"note":"Value kept but may cause issues"} 
[2026-04-17 05:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776384425000,"timestamp_ms":1776384425000,"timestamp_seconds":1776384425,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c33c28"} 
[2026-04-17 05:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":4,"data_length":795,"current_offset":136} 
[2026-04-17 05:38: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-04-17 05: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-04-17 05:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:38: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-04-17 05:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754335488001,"66":26223,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9197124519700523008},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754335488001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:38:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:38:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700523008,"description":"Unknown IO ID 45"} 
[2026-04-17 05:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754335488001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700523008}} 
[2026-04-17 05:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":46353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:38:29] local.INFO: GPS data processed {"connection_id":46353,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:38:29] local.INFO: Acknowledgment sent {"connection_id":46353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:38:52] local.INFO: TCP Data received {"connection_id":45606,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:38:52] local.INFO: Processing buffer {"connection_id":45606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:38:52] local.INFO: IMEI packet received {"connection_id":45606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":45606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:38:57] local.INFO: TCP Data received {"connection_id":45606,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:38:57] local.INFO: Processing buffer {"connection_id":45606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:38:57] local.INFO: IMEI packet received {"connection_id":45606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":45606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:38:58] local.INFO: TCP Data received {"connection_id":45606,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:38:58] local.INFO: Processing buffer {"connection_id":45606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:38:58] local.INFO: Packet analysis {"connection_id":45606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:38:58] local.INFO: Extracted packet for processing {"connection_id":45606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:38:58] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95411552,"longitude_deg":76.3341312,"latitude_deg":9.5411552,"altitude":7,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afdd60","is_valid_coordinates":true} 
[2026-04-17 05:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754335488001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700523008,"note":"Value kept but may cause issues"} 
[2026-04-17 05:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776384425000,"timestamp_ms":1776384425000,"timestamp_seconds":1776384425,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c33c28"} 
[2026-04-17 05:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:38:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:38:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 05:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:38:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754335488001,"66":26223,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9197124519700523008},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754335488001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:38:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:38:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700523008,"description":"Unknown IO ID 45"} 
[2026-04-17 05:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754335488001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700523008}} 
[2026-04-17 05:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":45606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:38:58] local.INFO: GPS data processed {"connection_id":45606,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:38:58] local.INFO: Acknowledgment sent {"connection_id":45606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:39:07] local.INFO: TCP Data received {"connection_id":45801,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c37aa8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c37aa8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:39:07] local.INFO: Processing buffer {"connection_id":45801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c37aa8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:39:07] local.INFO: Packet analysis {"connection_id":45801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:39:07] local.INFO: Extracted packet for processing {"connection_id":45801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:39:07] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:39:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754339840001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:39:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:39:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:39: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-04-17 05:39:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776384441000,"timestamp_ms":1776384441000,"timestamp_seconds":1776384441,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c37aa8"} 
[2026-04-17 05:39:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:39: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-04-17 05: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":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 05:39:07] 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-04-17 05: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-04-17 05:39:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:39:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:39:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:39:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:39:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:39:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:39:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:39:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:39:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754339840001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:39:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:39:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:39:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754339840001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:39:07] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:39:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:39:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:39:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754339840001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:39:07] local.INFO: DEBUG: GPS processor result {"connection_id":45801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19403,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:39:07] local.INFO: GPS data processed {"connection_id":45801,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:39:07] local.INFO: Acknowledgment sent {"connection_id":45801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:39:10] local.INFO: TCP Data received {"connection_id":46354,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:39:10] local.INFO: Processing buffer {"connection_id":46354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:39:10] local.INFO: IMEI packet received {"connection_id":46354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":46354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:39:17] local.INFO: TCP Data received {"connection_id":46354,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46354,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:39:17] local.INFO: Processing buffer {"connection_id":46354,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:39:17] local.INFO: IMEI packet received {"connection_id":46354,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":46354,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:39:18] local.INFO: TCP Data received {"connection_id":46354,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c37aa8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c37aa8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:39:18] local.INFO: Processing buffer {"connection_id":46354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c37aa8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:39:18] local.INFO: Packet analysis {"connection_id":46354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:39:18] local.INFO: Extracted packet for processing {"connection_id":46354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:39:18] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:39:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754339840001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:39:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:39:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:39:18] 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-04-17 05:39:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776384441000,"timestamp_ms":1776384441000,"timestamp_seconds":1776384441,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c37aa8"} 
[2026-04-17 05:39:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:39:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:39:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 05:39:18] 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-04-17 05:39:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:39:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:39:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:39:18] local.INFO: Teltonika packet parsed successfully {"connection_id":46354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:39:18] local.INFO: Passing IMEI to GPS processor {"connection_id":46354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:39:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":46354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:39:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:39:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:39:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:39:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754339840001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:39:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:39:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:39:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754339840001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:39:18] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:39:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:39:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:39:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754339840001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:39:18] local.INFO: DEBUG: GPS processor result {"connection_id":46354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19404,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:39:18] local.INFO: GPS data processed {"connection_id":46354,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:39:18] local.INFO: Acknowledgment sent {"connection_id":46354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:39:29] local.INFO: TCP Data received {"connection_id":45606,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:39:29] local.INFO: Processing buffer {"connection_id":45606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:39:29] local.INFO: Packet analysis {"connection_id":45606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:39:29] local.INFO: Extracted packet for processing {"connection_id":45606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:39:29] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95411552,"longitude_deg":76.3341312,"latitude_deg":9.5411552,"altitude":7,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afdd60","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754335488001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700523008,"note":"Value kept but may cause issues"} 
[2026-04-17 05:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776384425000,"timestamp_ms":1776384425000,"timestamp_seconds":1776384425,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c33c28"} 
[2026-04-17 05:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 05:39: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-04-17 05: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-04-17 05:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:39:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754335488001,"66":26223,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9197124519700523008},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754335488001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:39:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:39:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700523008,"description":"Unknown IO ID 45"} 
[2026-04-17 05:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754335488001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700523008}} 
[2026-04-17 05:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":45606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:39:29] local.INFO: GPS data processed {"connection_id":45606,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:39:29] local.INFO: Acknowledgment sent {"connection_id":45606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:39:50] local.INFO: TCP Data received {"connection_id":46354,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c37aa8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46354,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c37aa8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:39:50] local.INFO: Processing buffer {"connection_id":46354,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c37aa8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:39:50] local.INFO: Packet analysis {"connection_id":46354,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:39:50] local.INFO: Extracted packet for processing {"connection_id":46354,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:39:50] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:39:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754339840001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:39:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:39:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:39:50] 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-04-17 05:39:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776384441000,"timestamp_ms":1776384441000,"timestamp_seconds":1776384441,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c37aa8"} 
[2026-04-17 05:39:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:39:50] 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-04-17 05:39:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 05:39:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:39:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:39:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:39:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:39:50] local.INFO: Teltonika packet parsed successfully {"connection_id":46354,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:39:50] local.INFO: Passing IMEI to GPS processor {"connection_id":46354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:39:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":46354,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:39:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:39:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:39:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:39:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754339840001,"66":25549,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:39:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:39:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:39:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754339840001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:39:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:39:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:39:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:39:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754339840001,"power":25549,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:39:50] local.INFO: DEBUG: GPS processor result {"connection_id":46354,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19406,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:39:50] local.INFO: GPS data processed {"connection_id":46354,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:39:50] local.INFO: Acknowledgment sent {"connection_id":46354,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:39:52] local.INFO: TCP Data received {"connection_id":46355,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:39:52] local.INFO: Processing buffer {"connection_id":46355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:39:52] local.INFO: IMEI packet received {"connection_id":46355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":46355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:39:57] local.INFO: TCP Data received {"connection_id":46355,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46355,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:39:57] local.INFO: Processing buffer {"connection_id":46355,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:39:57] local.INFO: IMEI packet received {"connection_id":46355,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":46355,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:39:58] local.INFO: TCP Data received {"connection_id":46355,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:39:58] local.INFO: Processing buffer {"connection_id":46355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:39:58] local.INFO: Packet analysis {"connection_id":46355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:39:58] local.INFO: Extracted packet for processing {"connection_id":46355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:39:58] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95411552,"longitude_deg":76.3341312,"latitude_deg":9.5411552,"altitude":7,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afdd60","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754335488001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700523008,"note":"Value kept but may cause issues"} 
[2026-04-17 05:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776384425000,"timestamp_ms":1776384425000,"timestamp_seconds":1776384425,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c33c28"} 
[2026-04-17 05:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 05:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754335488001,"66":26223,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9197124519700523008},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754335488001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:39:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:39:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700523008,"description":"Unknown IO ID 45"} 
[2026-04-17 05:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754335488001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700523008}} 
[2026-04-17 05:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":46355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:39:58] local.INFO: GPS data processed {"connection_id":46355,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:39:58] local.INFO: Acknowledgment sent {"connection_id":46355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:40:29] local.INFO: TCP Data received {"connection_id":46355,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:40:29] local.INFO: Processing buffer {"connection_id":46355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:40:29] local.INFO: Packet analysis {"connection_id":46355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:40:29] local.INFO: Extracted packet for processing {"connection_id":46355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:40:29] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95411552,"longitude_deg":76.3341312,"latitude_deg":9.5411552,"altitude":7,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afdd60","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754335488001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700523008,"note":"Value kept but may cause issues"} 
[2026-04-17 05:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776384425000,"timestamp_ms":1776384425000,"timestamp_seconds":1776384425,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c33c28"} 
[2026-04-17 05:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 05:40: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-04-17 05: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-04-17 05:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46355,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754335488001,"66":26223,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9197124519700523008},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754335488001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:40:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:40:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700523008,"description":"Unknown IO ID 45"} 
[2026-04-17 05:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754335488001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700523008}} 
[2026-04-17 05:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":46355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:40:29] local.INFO: GPS data processed {"connection_id":46355,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:40:29] local.INFO: Acknowledgment sent {"connection_id":46355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:40:52] local.INFO: TCP Data received {"connection_id":45607,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:40:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:40:52] local.INFO: Processing buffer {"connection_id":45607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:40:52] local.INFO: IMEI packet received {"connection_id":45607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:40:52] local.INFO: IMEI acknowledgment sent {"connection_id":45607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:40:57] local.INFO: TCP Data received {"connection_id":45607,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:40:57] local.INFO: Processing buffer {"connection_id":45607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:40:57] local.INFO: IMEI packet received {"connection_id":45607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":45607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:40:58] local.INFO: TCP Data received {"connection_id":45607,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:40:58] local.INFO: Processing buffer {"connection_id":45607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:40:58] local.INFO: Packet analysis {"connection_id":45607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:40:58] local.INFO: Extracted packet for processing {"connection_id":45607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:40:58] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95411552,"longitude_deg":76.3341312,"latitude_deg":9.5411552,"altitude":7,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afdd60","is_valid_coordinates":true} 
[2026-04-17 05:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754335488001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700523008,"note":"Value kept but may cause issues"} 
[2026-04-17 05:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776384425000,"timestamp_ms":1776384425000,"timestamp_seconds":1776384425,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c33c28"} 
[2026-04-17 05:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 05:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:40:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754335488001,"66":26223,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9197124519700523008},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754335488001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:40:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:40:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700523008,"description":"Unknown IO ID 45"} 
[2026-04-17 05:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754335488001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700523008}} 
[2026-04-17 05:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":45607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:40:58] local.INFO: GPS data processed {"connection_id":45607,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:40:58] local.INFO: Acknowledgment sent {"connection_id":45607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:41:29] local.INFO: TCP Data received {"connection_id":45607,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:41:29] local.INFO: Processing buffer {"connection_id":45607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:41:29] local.INFO: Packet analysis {"connection_id":45607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:41:29] local.INFO: Extracted packet for processing {"connection_id":45607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:41:29] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95411552,"longitude_deg":76.3341312,"latitude_deg":9.5411552,"altitude":7,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afdd60","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754335488001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700523008,"note":"Value kept but may cause issues"} 
[2026-04-17 05:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776384425000,"timestamp_ms":1776384425000,"timestamp_seconds":1776384425,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c33c28"} 
[2026-04-17 05:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 05:41: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-04-17 05: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-04-17 05:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:41: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-04-17 05:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754335488001,"66":26223,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9197124519700523008},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754335488001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:41:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:41:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700523008,"description":"Unknown IO ID 45"} 
[2026-04-17 05:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754335488001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700523008}} 
[2026-04-17 05:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":45607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:41:29] local.INFO: GPS data processed {"connection_id":45607,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:41:29] local.INFO: Acknowledgment sent {"connection_id":45607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:41:51] local.INFO: TCP Data received {"connection_id":45802,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:41:51] local.INFO: Processing buffer {"connection_id":45802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:41:51] local.INFO: IMEI packet received {"connection_id":45802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":45802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:41:57] local.INFO: TCP Data received {"connection_id":45802,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:41:57] local.INFO: Processing buffer {"connection_id":45802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:41:57] local.INFO: IMEI packet received {"connection_id":45802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":45802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:41:57] local.INFO: TCP Data received {"connection_id":45802,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:41:57] local.INFO: Processing buffer {"connection_id":45802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:41:57] local.INFO: Packet analysis {"connection_id":45802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:41:57] local.INFO: Extracted packet for processing {"connection_id":45802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:41:57] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95411552,"longitude_deg":76.3341312,"latitude_deg":9.5411552,"altitude":7,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afdd60","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754335488001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700523008,"note":"Value kept but may cause issues"} 
[2026-04-17 05:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776384425000,"timestamp_ms":1776384425000,"timestamp_seconds":1776384425,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c33c28"} 
[2026-04-17 05:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 05:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754335488001,"66":26223,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9197124519700523008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754335488001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:41:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700523008,"description":"Unknown IO ID 45"} 
[2026-04-17 05:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754335488001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700523008}} 
[2026-04-17 05:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":45802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:41:57] local.INFO: GPS data processed {"connection_id":45802,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:41:57] local.INFO: Acknowledgment sent {"connection_id":45802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:42:28] local.INFO: TCP Data received {"connection_id":45802,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:42:28] local.INFO: Processing buffer {"connection_id":45802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c33c28012d7faa0005afdd600007000a2d..."} 
[2026-04-17 05:42:28] local.INFO: Packet analysis {"connection_id":45802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:42:28] local.INFO: Extracted packet for processing {"connection_id":45802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c3"} 
[2026-04-17 05:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95411552,"longitude_deg":76.3341312,"latitude_deg":9.5411552,"altitude":7,"angle":10,"satellites":45,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afdd60","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754335488001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197124519700523008,"note":"Value kept but may cause issues"} 
[2026-04-17 05:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776384425000,"timestamp_ms":1776384425000,"timestamp_seconds":1776384425,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c33c28"} 
[2026-04-17 05:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 05:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754335488001,"66":26223,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9197124519700523008},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754335488001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:42:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:42:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197124519700523008,"description":"Unknown IO ID 45"} 
[2026-04-17 05:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754335488001,"power":26223,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197124519700523008}} 
[2026-04-17 05:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":45802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:42:28] local.INFO: GPS data processed {"connection_id":45802,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:42:28] local.INFO: Acknowledgment sent {"connection_id":45802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:42:51] local.INFO: TCP Data received {"connection_id":45545,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:42:51] local.INFO: Processing buffer {"connection_id":45545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:42:51] local.INFO: IMEI packet received {"connection_id":45545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":45545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:42:57] local.INFO: TCP Data received {"connection_id":45545,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45545,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:42:57] local.INFO: Processing buffer {"connection_id":45545,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:42:57] local.INFO: IMEI packet received {"connection_id":45545,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":45545,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:42:57] local.INFO: TCP Data received {"connection_id":45545,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:42:57] local.INFO: Processing buffer {"connection_id":45545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:42:57] local.INFO: Packet analysis {"connection_id":45545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:42:57] local.INFO: Extracted packet for processing {"connection_id":45545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:42: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-04-17 05:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754412800001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283016704,"note":"Value kept but may cause issues"} 
[2026-04-17 05:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776384763000,"timestamp_ms":1776384763000,"timestamp_seconds":1776384763,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c86478"} 
[2026-04-17 05:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 05:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":45545,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 05:42:57] local.INFO: GPS data processed {"connection_id":45545,"processed":0,"errors":0,"total":1} 
[2026-04-17 05:42:57] local.INFO: Acknowledgment sent {"connection_id":45545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:43:29] local.INFO: TCP Data received {"connection_id":45545,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:43:29] local.INFO: Processing buffer {"connection_id":45545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:43:29] local.INFO: Packet analysis {"connection_id":45545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:43:29] local.INFO: Extracted packet for processing {"connection_id":45545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:43: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-04-17 05: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-04-17 05:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754412800001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283016704,"note":"Value kept but may cause issues"} 
[2026-04-17 05:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776384763000,"timestamp_ms":1776384763000,"timestamp_seconds":1776384763,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c86478"} 
[2026-04-17 05:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 05:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45545,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05: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-04-17 05:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":45545,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 05:43:29] local.INFO: GPS data processed {"connection_id":45545,"processed":0,"errors":0,"total":1} 
[2026-04-17 05:43:29] local.INFO: Acknowledgment sent {"connection_id":45545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:43:52] local.INFO: TCP Data received {"connection_id":46359,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:43:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:43:52] local.INFO: Processing buffer {"connection_id":46359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:43:52] local.INFO: IMEI packet received {"connection_id":46359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:43:52] local.INFO: IMEI acknowledgment sent {"connection_id":46359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:43:58] local.INFO: TCP Data received {"connection_id":46359,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46359,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:43:58] local.INFO: Processing buffer {"connection_id":46359,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:43:58] local.INFO: IMEI packet received {"connection_id":46359,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:43:58] local.INFO: IMEI acknowledgment sent {"connection_id":46359,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:43:59] local.INFO: TCP Data received {"connection_id":46359,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:43:59] local.INFO: Processing buffer {"connection_id":46359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:43:59] local.INFO: Packet analysis {"connection_id":46359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:43:59] local.INFO: Extracted packet for processing {"connection_id":46359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:43:59] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 05:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754412800001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283016704,"note":"Value kept but may cause issues"} 
[2026-04-17 05:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776384763000,"timestamp_ms":1776384763000,"timestamp_seconds":1776384763,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c86478"} 
[2026-04-17 05:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 05:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":46359,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 05:43:59] local.INFO: GPS data processed {"connection_id":46359,"processed":0,"errors":0,"total":1} 
[2026-04-17 05:43:59] local.INFO: Acknowledgment sent {"connection_id":46359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:44:30] local.INFO: TCP Data received {"connection_id":46359,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:44:30] local.INFO: Processing buffer {"connection_id":46359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:44:30] local.INFO: Packet analysis {"connection_id":46359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:44:30] local.INFO: Extracted packet for processing {"connection_id":46359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:44:30] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754412800001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283016704,"note":"Value kept but may cause issues"} 
[2026-04-17 05:44:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776384763000,"timestamp_ms":1776384763000,"timestamp_seconds":1776384763,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c86478"} 
[2026-04-17 05:44:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":111,"data_length":795,"current_offset":136} 
[2026-04-17 05:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:44:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46359,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:44: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-04-17 05:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":46359,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 05:44:30] local.INFO: GPS data processed {"connection_id":46359,"processed":0,"errors":0,"total":1} 
[2026-04-17 05:44:30] local.INFO: Acknowledgment sent {"connection_id":46359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:44:52] local.INFO: TCP Data received {"connection_id":45804,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:44:52] local.INFO: Processing buffer {"connection_id":45804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:44:52] local.INFO: IMEI packet received {"connection_id":45804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":45804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:44:57] local.INFO: TCP Data received {"connection_id":45804,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:44:57] local.INFO: Processing buffer {"connection_id":45804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:44:57] local.INFO: IMEI packet received {"connection_id":45804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":45804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:44:58] local.INFO: TCP Data received {"connection_id":45804,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:44:58] local.INFO: Processing buffer {"connection_id":45804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:44:58] local.INFO: Packet analysis {"connection_id":45804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:44:58] local.INFO: Extracted packet for processing {"connection_id":45804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:44:58] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754412800001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283016704,"note":"Value kept but may cause issues"} 
[2026-04-17 05:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776384763000,"timestamp_ms":1776384763000,"timestamp_seconds":1776384763,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c86478"} 
[2026-04-17 05:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 05:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":45804,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 05:44:58] local.INFO: GPS data processed {"connection_id":45804,"processed":0,"errors":0,"total":1} 
[2026-04-17 05:44:58] local.INFO: Acknowledgment sent {"connection_id":45804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:45:30] local.INFO: TCP Data received {"connection_id":45804,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:45:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:45:30] local.INFO: Processing buffer {"connection_id":45804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:45:30] local.INFO: Packet analysis {"connection_id":45804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:45:30] local.INFO: Extracted packet for processing {"connection_id":45804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:45:30] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:45:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754412800001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:45:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:45:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283016704,"note":"Value kept but may cause issues"} 
[2026-04-17 05:45:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:45:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776384763000,"timestamp_ms":1776384763000,"timestamp_seconds":1776384763,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c86478"} 
[2026-04-17 05:45:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:45:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 05:45:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:45:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:45:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:45:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:45:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:45:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:45: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-04-17 05:45:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:45:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:45:30] local.INFO: DEBUG: GPS processor result {"connection_id":45804,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 05:45:30] local.INFO: GPS data processed {"connection_id":45804,"processed":0,"errors":0,"total":1} 
[2026-04-17 05:45:30] local.INFO: Acknowledgment sent {"connection_id":45804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:45:46] local.INFO: TCP Data received {"connection_id":45608,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:45:46] local.INFO: Processing buffer {"connection_id":45608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:45:46] local.INFO: IMEI packet received {"connection_id":45608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:45:46] local.INFO: IMEI acknowledgment sent {"connection_id":45608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:45:47] local.INFO: TCP Data received {"connection_id":45608,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c81270012d1b598006d4d5980011013831..."} 
[2026-04-17 05:45:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c81270012d1b598006d4d5980011013831..."} 
[2026-04-17 05:45:47] local.INFO: Processing buffer {"connection_id":45608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c81270012d1b598006d4d5980011013831..."} 
[2026-04-17 05:45:47] local.INFO: Packet analysis {"connection_id":45608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:45:47] local.INFO: Extracted packet for processing {"connection_id":45608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:45:47] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:45:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754416896001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:45:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:45:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:45:47] 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-04-17 05:45:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776384742000,"timestamp_ms":1776384742000,"timestamp_seconds":1776384742,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c81270"} 
[2026-04-17 05:45:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:45:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:45:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 05:45:47] 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-04-17 05:45:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:45:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:45:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:45:47] local.INFO: Teltonika packet parsed successfully {"connection_id":45608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:45:47] local.INFO: Passing IMEI to GPS processor {"connection_id":45608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:45:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":45608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:45:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:45:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:45:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:45:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754416896001,"66":25538,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:45:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:45:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:45:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754416896001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:45:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:45:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:45:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:45:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754416896001,"power":25538,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:45:47] local.INFO: DEBUG: GPS processor result {"connection_id":45608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19413,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:45:47] local.INFO: GPS data processed {"connection_id":45608,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:45:47] local.INFO: Acknowledgment sent {"connection_id":45608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:45:51] local.INFO: TCP Data received {"connection_id":46360,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:45:51] local.INFO: Processing buffer {"connection_id":46360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:45:51] local.INFO: IMEI packet received {"connection_id":46360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":46360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:45:57] local.INFO: TCP Data received {"connection_id":46360,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:45:57] local.INFO: Processing buffer {"connection_id":46360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:45:57] local.INFO: IMEI packet received {"connection_id":46360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":46360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:45:57] local.INFO: TCP Data received {"connection_id":46360,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:45:57] local.INFO: Processing buffer {"connection_id":46360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:45:57] local.INFO: Packet analysis {"connection_id":46360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:45:57] local.INFO: Extracted packet for processing {"connection_id":46360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:45: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-04-17 05:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754412800001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283016704,"note":"Value kept but may cause issues"} 
[2026-04-17 05:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776384763000,"timestamp_ms":1776384763000,"timestamp_seconds":1776384763,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c86478"} 
[2026-04-17 05:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 05:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":46360,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 05:45:57] local.INFO: GPS data processed {"connection_id":46360,"processed":0,"errors":0,"total":1} 
[2026-04-17 05:45:57] local.INFO: Acknowledgment sent {"connection_id":46360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:46:06] local.INFO: TCP Data received {"connection_id":45805,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:46:06] local.INFO: Processing buffer {"connection_id":45805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:46:06] local.INFO: IMEI packet received {"connection_id":45805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":45805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:46:11] local.INFO: TCP Data received {"connection_id":45805,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45805,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:46:11] local.INFO: Processing buffer {"connection_id":45805,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:46:11] local.INFO: IMEI packet received {"connection_id":45805,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":45805,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:46:12] local.INFO: TCP Data received {"connection_id":45805,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c81270012d1b598006d4d5980011013831..."} 
[2026-04-17 05:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c81270012d1b598006d4d5980011013831..."} 
[2026-04-17 05:46:12] local.INFO: Processing buffer {"connection_id":45805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c81270012d1b598006d4d5980011013831..."} 
[2026-04-17 05:46:12] local.INFO: Packet analysis {"connection_id":45805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:46:12] local.INFO: Extracted packet for processing {"connection_id":45805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:46:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:46:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754416896001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:46:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:46:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:46:12] 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-04-17 05:46:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776384742000,"timestamp_ms":1776384742000,"timestamp_seconds":1776384742,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c81270"} 
[2026-04-17 05:46:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:46: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-04-17 05:46:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 05:46: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-04-17 05:46:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:46:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:46:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:46:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:46:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:46:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:46:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:46:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:46:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:46:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754416896001,"66":25538,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:46:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:46:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:46:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754416896001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:46:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:46:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:46:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:46:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754416896001,"power":25538,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:46:12] local.INFO: DEBUG: GPS processor result {"connection_id":45805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19414,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:46:12] local.INFO: GPS data processed {"connection_id":45805,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:46:12] local.INFO: Acknowledgment sent {"connection_id":45805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:46:29] local.INFO: TCP Data received {"connection_id":46360,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:46:29] local.INFO: Processing buffer {"connection_id":46360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:46:29] local.INFO: Packet analysis {"connection_id":46360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:46:29] local.INFO: Extracted packet for processing {"connection_id":46360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:46:29] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:46:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754412800001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:46:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:46:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283016704,"note":"Value kept but may cause issues"} 
[2026-04-17 05:46:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:46:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776384763000,"timestamp_ms":1776384763000,"timestamp_seconds":1776384763,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c86478"} 
[2026-04-17 05:46:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:46:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 05:46:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:46:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:46:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:46:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:46:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:46:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:46: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-04-17 05:46:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:46:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:46:29] local.INFO: DEBUG: GPS processor result {"connection_id":46360,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 05:46:29] local.INFO: GPS data processed {"connection_id":46360,"processed":0,"errors":0,"total":1} 
[2026-04-17 05:46:29] local.INFO: Acknowledgment sent {"connection_id":46360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:46:44] local.INFO: TCP Data received {"connection_id":45805,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c81270012d1b598006d4d5980011013831..."} 
[2026-04-17 05:46:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c81270012d1b598006d4d5980011013831..."} 
[2026-04-17 05:46:44] local.INFO: Processing buffer {"connection_id":45805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c81270012d1b598006d4d5980011013831..."} 
[2026-04-17 05:46:44] local.INFO: Packet analysis {"connection_id":45805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:46:44] local.INFO: Extracted packet for processing {"connection_id":45805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:46:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:46:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754416896001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:46:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:46:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:46:44] 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-04-17 05:46:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776384742000,"timestamp_ms":1776384742000,"timestamp_seconds":1776384742,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c81270"} 
[2026-04-17 05:46:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:46:44] 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-04-17 05: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":205,"data_length":795,"current_offset":136} 
[2026-04-17 05:46:44] 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-04-17 05: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-04-17 05:46:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:46:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:46:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:46:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:46:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45805,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:46:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:46:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:46:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:46:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754416896001,"66":25538,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:46:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:46:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:46:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754416896001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:46:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:46:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:46:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:46:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754416896001,"power":25538,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:46:44] local.INFO: DEBUG: GPS processor result {"connection_id":45805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19415,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:46:44] local.INFO: GPS data processed {"connection_id":45805,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:46:44] local.INFO: Acknowledgment sent {"connection_id":45805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:46:57] local.INFO: TCP Data received {"connection_id":45806,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:46:57] local.INFO: Processing buffer {"connection_id":45806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:46:57] local.INFO: IMEI packet received {"connection_id":45806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":45806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:47:02] local.INFO: TCP Data received {"connection_id":45806,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45806,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:47:02] local.INFO: Processing buffer {"connection_id":45806,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:47:02] local.INFO: IMEI packet received {"connection_id":45806,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:47:02] local.INFO: IMEI acknowledgment sent {"connection_id":45806,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:47:02] local.INFO: TCP Data received {"connection_id":45806,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:47:02] local.INFO: Processing buffer {"connection_id":45806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:47:02] local.INFO: Packet analysis {"connection_id":45806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:47:02] local.INFO: Extracted packet for processing {"connection_id":45806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:47:02] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754412800001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283016704,"note":"Value kept but may cause issues"} 
[2026-04-17 05:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776384763000,"timestamp_ms":1776384763000,"timestamp_seconds":1776384763,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c86478"} 
[2026-04-17 05:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:47:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 05:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":45806,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 05:47:02] local.INFO: GPS data processed {"connection_id":45806,"processed":0,"errors":0,"total":1} 
[2026-04-17 05:47:02] local.INFO: Acknowledgment sent {"connection_id":45806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:47:05] local.INFO: TCP Data received {"connection_id":45609,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:47:05] local.INFO: Processing buffer {"connection_id":45609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:47:05] local.INFO: IMEI packet received {"connection_id":45609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":45609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:47:07] local.INFO: TCP Data received {"connection_id":45806,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:47:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:47:07] local.INFO: Processing buffer {"connection_id":45806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c864780100000000000000000000000000..."} 
[2026-04-17 05:47:07] local.INFO: Packet analysis {"connection_id":45806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:47:07] local.INFO: Extracted packet for processing {"connection_id":45806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:47:07] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:47:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754412800001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:47:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:47:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213283016704,"note":"Value kept but may cause issues"} 
[2026-04-17 05:47:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:47:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776384763000,"timestamp_ms":1776384763000,"timestamp_seconds":1776384763,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c86478"} 
[2026-04-17 05:47:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:47:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 05:47:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:47:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:47:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:47:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:47:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:47:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45806,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:47:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:47:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:47:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:47:07] local.INFO: DEBUG: GPS processor result {"connection_id":45806,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 05:47:07] local.INFO: GPS data processed {"connection_id":45806,"processed":0,"errors":0,"total":1} 
[2026-04-17 05:47:07] local.INFO: Acknowledgment sent {"connection_id":45806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:47:12] local.INFO: TCP Data received {"connection_id":45609,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:47:12] local.INFO: Processing buffer {"connection_id":45609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:47:12] local.INFO: IMEI packet received {"connection_id":45609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:47:12] local.INFO: IMEI acknowledgment sent {"connection_id":45609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:47:14] local.INFO: TCP Data received {"connection_id":45609,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c81270012d1b598006d4d5980011013831..."} 
[2026-04-17 05:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c81270012d1b598006d4d5980011013831..."} 
[2026-04-17 05:47:14] local.INFO: Processing buffer {"connection_id":45609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c81270012d1b598006d4d5980011013831..."} 
[2026-04-17 05:47:14] local.INFO: Packet analysis {"connection_id":45609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:47:14] local.INFO: Extracted packet for processing {"connection_id":45609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:47:14] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:47:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754416896001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:47:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:47:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:47:14] 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-04-17 05:47:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776384742000,"timestamp_ms":1776384742000,"timestamp_seconds":1776384742,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c81270"} 
[2026-04-17 05:47:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:47:14] 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-04-17 05:47:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":205,"data_length":795,"current_offset":136} 
[2026-04-17 05:47:14] 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-04-17 05:47:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:47:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:47:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:47:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:47:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:47:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:47:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:47:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:47:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:47:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754416896001,"66":25538,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:47:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:47:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:47:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754416896001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:47:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:47:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:47:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:47:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754416896001,"power":25538,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:47:14] local.INFO: DEBUG: GPS processor result {"connection_id":45609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19416,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:47:14] local.INFO: GPS data processed {"connection_id":45609,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:47:14] local.INFO: Acknowledgment sent {"connection_id":45609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:47:46] local.INFO: TCP Data received {"connection_id":45609,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98c81270012d1b598006d4d5980011013831..."} 
[2026-04-17 05:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98c81270012d1b598006d4d5980011013831..."} 
[2026-04-17 05:47:46] local.INFO: Processing buffer {"connection_id":45609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98c81270012d1b598006d4d5980011013831..."} 
[2026-04-17 05:47:46] local.INFO: Packet analysis {"connection_id":45609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:47:46] local.INFO: Extracted packet for processing {"connection_id":45609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98c8"} 
[2026-04-17 05:47:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:47:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754416896001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:47:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:47:46] 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-04-17 05:47:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776384742000,"timestamp_ms":1776384742000,"timestamp_seconds":1776384742,"priority":1,"record_length":96,"hex_timestamp":"0000019d98c81270"} 
[2026-04-17 05:47:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:47:46] 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-04-17 05: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":205,"data_length":795,"current_offset":136} 
[2026-04-17 05:47:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2538,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:47:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:47:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:47:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:47:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754416896001,"66":25538,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:47:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:47:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:47:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754416896001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:47:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:47:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:47:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:47:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754416896001,"power":25538,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":45609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19417,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:47:46] local.INFO: GPS data processed {"connection_id":45609,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:47:46] local.INFO: Acknowledgment sent {"connection_id":45609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:47:52] local.INFO: TCP Data received {"connection_id":45610,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:47:52] local.INFO: Processing buffer {"connection_id":45610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:47:52] local.INFO: IMEI packet received {"connection_id":45610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":45610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:47:57] local.INFO: TCP Data received {"connection_id":45610,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:47:57] local.INFO: Processing buffer {"connection_id":45610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:47:57] local.INFO: IMEI packet received {"connection_id":45610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":45610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:47:57] local.INFO: TCP Data received {"connection_id":45610,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:47:57] local.INFO: Processing buffer {"connection_id":45610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:47:57] local.INFO: Packet analysis {"connection_id":45610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:47:57] local.INFO: Extracted packet for processing {"connection_id":45610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:47:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":4,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:47:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,250,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 05:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776385031000,"timestamp_ms":1776385031000,"timestamp_seconds":1776385031,"priority":1,"record_length":96,"hex_timestamp":"0000019d98cc7b58"} 
[2026-04-17 05:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-17 05:47:57] 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-04-17 05:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25778,"250":206,"85":12544,"24":0,"16":274064959829180416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16]} 
[2026-04-17 05:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 05:47:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:47:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:47:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null}} 
[2026-04-17 05:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":45610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:47:57] local.INFO: GPS data processed {"connection_id":45610,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:47:57] local.INFO: Acknowledgment sent {"connection_id":45610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:48:05] local.INFO: TCP Data received {"connection_id":45807,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:48:05] local.INFO: Processing buffer {"connection_id":45807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:48:05] local.INFO: IMEI packet received {"connection_id":45807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":45807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:48:13] local.INFO: TCP Data received {"connection_id":45807,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:48:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45807,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:48:13] local.INFO: Processing buffer {"connection_id":45807,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:48:13] local.INFO: IMEI packet received {"connection_id":45807,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:48:13] local.INFO: IMEI acknowledgment sent {"connection_id":45807,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:48:14] local.INFO: TCP Data received {"connection_id":45807,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:48:14] local.INFO: Processing buffer {"connection_id":45807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:48:14] local.INFO: Packet analysis {"connection_id":45807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:48:14] local.INFO: Extracted packet for processing {"connection_id":45807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:48:14] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:48:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754493952001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:48:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:48:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:48:14] 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-04-17 05:48:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776385043000,"timestamp_ms":1776385043000,"timestamp_seconds":1776385043,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ccaa38"} 
[2026-04-17 05:48:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:48:14] 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-04-17 05:48:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:48:14] 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-04-17 05: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-04-17 05:48:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:48:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:48:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:48:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:48:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:48:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:48:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:48:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:48:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754493952001,"66":25538,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:48:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:48:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:48:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754493952001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:48:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:48:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:48:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:48:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754493952001,"power":25538,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:48:14] local.INFO: DEBUG: GPS processor result {"connection_id":45807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19419,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:48:14] local.INFO: GPS data processed {"connection_id":45807,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:48:14] local.INFO: Acknowledgment sent {"connection_id":45807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:48:28] local.INFO: TCP Data received {"connection_id":45610,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:48:28] local.INFO: Processing buffer {"connection_id":45610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:48:28] local.INFO: Packet analysis {"connection_id":45610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:48:28] local.INFO: Extracted packet for processing {"connection_id":45610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:48:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":4,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:48:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,250,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 05:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776385031000,"timestamp_ms":1776385031000,"timestamp_seconds":1776385031,"priority":1,"record_length":96,"hex_timestamp":"0000019d98cc7b58"} 
[2026-04-17 05:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-17 05:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25778,"250":206,"85":12544,"24":0,"16":274064959829180416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16]} 
[2026-04-17 05:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 05:48:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:48:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:48:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null}} 
[2026-04-17 05:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":45610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:48:28] local.INFO: GPS data processed {"connection_id":45610,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:48:28] local.INFO: Acknowledgment sent {"connection_id":45610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:48:46] local.INFO: TCP Data received {"connection_id":45807,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:48:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:48:46] local.INFO: Processing buffer {"connection_id":45807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:48:46] local.INFO: Packet analysis {"connection_id":45807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:48:46] local.INFO: Extracted packet for processing {"connection_id":45807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:48:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:48:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754493952001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:48:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:48:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:48:46] 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-04-17 05:48:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776385043000,"timestamp_ms":1776385043000,"timestamp_seconds":1776385043,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ccaa38"} 
[2026-04-17 05:48:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:48:46] 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-04-17 05:48:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:48: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-04-17 05:48:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:48:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:48:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:48:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:48:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:48:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45807,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:48:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:48:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:48:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:48:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754493952001,"66":25538,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:48:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:48:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:48:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754493952001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:48:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:48:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:48:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:48:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754493952001,"power":25538,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:48:46] local.INFO: DEBUG: GPS processor result {"connection_id":45807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19421,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:48:46] local.INFO: GPS data processed {"connection_id":45807,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:48:46] local.INFO: Acknowledgment sent {"connection_id":45807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:48:52] local.INFO: TCP Data received {"connection_id":45546,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:48:52] local.INFO: Processing buffer {"connection_id":45546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:48:52] local.INFO: IMEI packet received {"connection_id":45546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":45546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:48:57] local.INFO: TCP Data received {"connection_id":45546,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:48:57] local.INFO: Processing buffer {"connection_id":45546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:48:57] local.INFO: IMEI packet received {"connection_id":45546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":45546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:48:58] local.INFO: TCP Data received {"connection_id":45546,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:48:58] local.INFO: Processing buffer {"connection_id":45546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:48:58] local.INFO: Packet analysis {"connection_id":45546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:48:58] local.INFO: Extracted packet for processing {"connection_id":45546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:48:58] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":4,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:48:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,250,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 05:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776385031000,"timestamp_ms":1776385031000,"timestamp_seconds":1776385031,"priority":1,"record_length":96,"hex_timestamp":"0000019d98cc7b58"} 
[2026-04-17 05:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:48:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-17 05:48:58] 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-04-17 05:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25778,"250":206,"85":12544,"24":0,"16":274064959829180416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16]} 
[2026-04-17 05:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 05:48:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:48:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:48:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null}} 
[2026-04-17 05:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":45546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:48:58] local.INFO: GPS data processed {"connection_id":45546,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:48:58] local.INFO: Acknowledgment sent {"connection_id":45546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:49:28] local.INFO: TCP Data received {"connection_id":45808,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:49:28] local.INFO: Processing buffer {"connection_id":45808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:49:28] local.INFO: IMEI packet received {"connection_id":45808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:49:28] local.INFO: IMEI acknowledgment sent {"connection_id":45808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:49:29] local.INFO: TCP Data received {"connection_id":45808,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:49:29] local.INFO: Processing buffer {"connection_id":45808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:49:29] local.INFO: IMEI packet received {"connection_id":45808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:49:29] local.INFO: IMEI acknowledgment sent {"connection_id":45808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:49:29] local.INFO: TCP Data received {"connection_id":45546,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:49:29] local.INFO: Processing buffer {"connection_id":45546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:49:29] local.INFO: Packet analysis {"connection_id":45546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:49:29] local.INFO: Extracted packet for processing {"connection_id":45546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:49:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":4,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:49:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,250,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 05:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776385031000,"timestamp_ms":1776385031000,"timestamp_seconds":1776385031,"priority":1,"record_length":96,"hex_timestamp":"0000019d98cc7b58"} 
[2026-04-17 05:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-17 05:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:49: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-04-17 05:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25778,"250":206,"85":12544,"24":0,"16":274064959829180416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16]} 
[2026-04-17 05:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 05:49:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:49:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:49:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null}} 
[2026-04-17 05:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":45546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19423,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:49:29] local.INFO: GPS data processed {"connection_id":45546,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:49:29] local.INFO: Acknowledgment sent {"connection_id":45546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:49:30] local.INFO: TCP Data received {"connection_id":45808,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:49:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:49:30] local.INFO: Processing buffer {"connection_id":45808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:49:30] local.INFO: Packet analysis {"connection_id":45808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:49:30] local.INFO: Extracted packet for processing {"connection_id":45808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:49:30] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:49:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754493952001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:49:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:49:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:49:30] 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-04-17 05:49:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776385043000,"timestamp_ms":1776385043000,"timestamp_seconds":1776385043,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ccaa38"} 
[2026-04-17 05:49:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:49:30] 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-04-17 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:49:30] 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-04-17 05: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-04-17 05:49:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:49:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:49:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:49:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:49:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:49:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:49:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:49:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:49:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754493952001,"66":25538,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:49:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:49:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:49:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754493952001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:49:30] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:49:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:49:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:49:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754493952001,"power":25538,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":45808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19424,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:49:30] local.INFO: GPS data processed {"connection_id":45808,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:49:30] local.INFO: Acknowledgment sent {"connection_id":45808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:49:31] local.INFO: TCP Data received {"connection_id":45808,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:49:31] local.INFO: Processing buffer {"connection_id":45808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:49:31] local.INFO: Packet analysis {"connection_id":45808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:49:31] local.INFO: Extracted packet for processing {"connection_id":45808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:49:31] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754493952001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:49:31] 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-04-17 05:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776385043000,"timestamp_ms":1776385043000,"timestamp_seconds":1776385043,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ccaa38"} 
[2026-04-17 05:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:49:31] 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-04-17 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:49:31] 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-04-17 05: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-04-17 05:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":45808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":45808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":45808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754493952001,"66":25538,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754493952001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:49:31] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754493952001,"power":25538,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":45808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19425,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:49:32] local.INFO: GPS data processed {"connection_id":45808,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:49:32] local.INFO: Acknowledgment sent {"connection_id":45808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:49:52] local.INFO: TCP Data received {"connection_id":45809,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:49:52] local.INFO: Processing buffer {"connection_id":45809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:49:52] local.INFO: IMEI packet received {"connection_id":45809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":45809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:49:57] local.INFO: TCP Data received {"connection_id":45809,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:49:57] local.INFO: Processing buffer {"connection_id":45809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:49:57] local.INFO: IMEI packet received {"connection_id":45809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":45809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:49:57] local.INFO: TCP Data received {"connection_id":45809,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:49:58] local.INFO: Processing buffer {"connection_id":45809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:49:58] local.INFO: Packet analysis {"connection_id":45809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:49:58] local.INFO: Extracted packet for processing {"connection_id":45809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:49:58] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":4,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:49:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,250,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 05:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776385031000,"timestamp_ms":1776385031000,"timestamp_seconds":1776385031,"priority":1,"record_length":96,"hex_timestamp":"0000019d98cc7b58"} 
[2026-04-17 05:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:49:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-17 05:49:58] 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-04-17 05: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-04-17 05:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25778,"250":206,"85":12544,"24":0,"16":274064959829180416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16]} 
[2026-04-17 05:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 05:49:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:49:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:49:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null}} 
[2026-04-17 05:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":45809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:49:58] local.INFO: GPS data processed {"connection_id":45809,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:49:58] local.INFO: Acknowledgment sent {"connection_id":45809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:50:17] local.INFO: TCP Data received {"connection_id":45611,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:50:17] local.INFO: Processing buffer {"connection_id":45611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:50:17] local.INFO: IMEI packet received {"connection_id":45611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:50:17] local.INFO: IMEI acknowledgment sent {"connection_id":45611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:50:23] local.INFO: TCP Data received {"connection_id":45611,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:50:23] local.INFO: Processing buffer {"connection_id":45611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:50:23] local.INFO: IMEI packet received {"connection_id":45611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":45611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:50:24] local.INFO: TCP Data received {"connection_id":45611,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:50:24] local.INFO: Processing buffer {"connection_id":45611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:50:24] local.INFO: Packet analysis {"connection_id":45611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:50:24] local.INFO: Extracted packet for processing {"connection_id":45611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:50:24] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754493952001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:50:24] 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-04-17 05:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776385043000,"timestamp_ms":1776385043000,"timestamp_seconds":1776385043,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ccaa38"} 
[2026-04-17 05:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:50:24] 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-04-17 05:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:50:24] 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-04-17 05:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754493952001,"66":25538,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754493952001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:50:24] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754493952001,"power":25538,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":45611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19427,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:50:24] local.INFO: GPS data processed {"connection_id":45611,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:50:24] local.INFO: Acknowledgment sent {"connection_id":45611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:50:26] local.INFO: TCP Data received {"connection_id":45611,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:50:26] local.INFO: Processing buffer {"connection_id":45611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:50:26] local.INFO: Packet analysis {"connection_id":45611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:50:26] local.INFO: Extracted packet for processing {"connection_id":45611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:50:26] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:50:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754493952001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:50:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:50:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:50:26] 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-04-17 05:50:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776385043000,"timestamp_ms":1776385043000,"timestamp_seconds":1776385043,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ccaa38"} 
[2026-04-17 05:50:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:50:26] 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-04-17 05:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:50:26] 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-04-17 05:50:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:50:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:50:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:50:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:50:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:50:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754493952001,"66":25538,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:50:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:50:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:50:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754493952001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:50:26] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:50:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:50:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:50:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754493952001,"power":25538,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":45611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19428,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:50:26] local.INFO: GPS data processed {"connection_id":45611,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:50:26] local.INFO: Acknowledgment sent {"connection_id":45611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:50:29] local.INFO: TCP Data received {"connection_id":45809,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:50:29] local.INFO: Processing buffer {"connection_id":45809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:50:29] local.INFO: Packet analysis {"connection_id":45809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:50:29] local.INFO: Extracted packet for processing {"connection_id":45809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:50:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":4,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:50:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,250,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 05:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776385031000,"timestamp_ms":1776385031000,"timestamp_seconds":1776385031,"priority":1,"record_length":96,"hex_timestamp":"0000019d98cc7b58"} 
[2026-04-17 05:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-17 05:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05: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-04-17 05:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25778,"250":206,"85":12544,"24":0,"16":274064959829180416},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16]} 
[2026-04-17 05:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 05:50:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:50:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null}} 
[2026-04-17 05:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":45809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:50:29] local.INFO: GPS data processed {"connection_id":45809,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:50:29] local.INFO: Acknowledgment sent {"connection_id":45809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:50:51] local.INFO: TCP Data received {"connection_id":46361,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:50:51] local.INFO: Processing buffer {"connection_id":46361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:50:51] local.INFO: IMEI packet received {"connection_id":46361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":46361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:50:57] local.INFO: TCP Data received {"connection_id":46361,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:50:57] local.INFO: Processing buffer {"connection_id":46361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:50:57] local.INFO: IMEI packet received {"connection_id":46361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":46361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:50:58] local.INFO: TCP Data received {"connection_id":46361,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:50:58] local.INFO: Processing buffer {"connection_id":46361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:50:58] local.INFO: Packet analysis {"connection_id":46361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:50:58] local.INFO: Extracted packet for processing {"connection_id":46361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:50:58] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":4,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:50:58] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,250,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 05:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776385031000,"timestamp_ms":1776385031000,"timestamp_seconds":1776385031,"priority":1,"record_length":96,"hex_timestamp":"0000019d98cc7b58"} 
[2026-04-17 05:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:50:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-17 05:50:58] 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-04-17 05:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25778,"250":206,"85":12544,"24":0,"16":274064959829180416},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16]} 
[2026-04-17 05:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 05:50:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:50:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:50:58] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null}} 
[2026-04-17 05:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":46361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:50:58] local.INFO: GPS data processed {"connection_id":46361,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:50:58] local.INFO: Acknowledgment sent {"connection_id":46361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:51:05] local.INFO: TCP Data received {"connection_id":45810,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:51:05] local.INFO: Processing buffer {"connection_id":45810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:51:05] local.INFO: IMEI packet received {"connection_id":45810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":45810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:51:11] local.INFO: TCP Data received {"connection_id":45810,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:51:11] local.INFO: Processing buffer {"connection_id":45810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:51:11] local.INFO: IMEI packet received {"connection_id":45810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:51:11] local.INFO: IMEI acknowledgment sent {"connection_id":45810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:51:12] local.INFO: TCP Data received {"connection_id":45810,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:51:12] local.INFO: Processing buffer {"connection_id":45810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:51:12] local.INFO: Packet analysis {"connection_id":45810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:51:12] local.INFO: Extracted packet for processing {"connection_id":45810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:51:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754493952001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:51:12] 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-04-17 05:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776385043000,"timestamp_ms":1776385043000,"timestamp_seconds":1776385043,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ccaa38"} 
[2026-04-17 05:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:51: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-04-17 05:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:51: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-04-17 05: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-04-17 05:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45810,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45810,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754493952001,"66":25538,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754493952001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:51:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754493952001,"power":25538,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":45810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19431,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:51:13] local.INFO: GPS data processed {"connection_id":45810,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:51:13] local.INFO: Acknowledgment sent {"connection_id":45810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:51:29] local.INFO: TCP Data received {"connection_id":46361,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:51:29] local.INFO: Processing buffer {"connection_id":46361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:51:29] local.INFO: Packet analysis {"connection_id":46361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:51:29] local.INFO: Extracted packet for processing {"connection_id":46361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:51:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":4,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:51:29] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,250,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 05:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776385031000,"timestamp_ms":1776385031000,"timestamp_seconds":1776385031,"priority":1,"record_length":96,"hex_timestamp":"0000019d98cc7b58"} 
[2026-04-17 05:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-17 05:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:51: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-04-17 05:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25778,"250":206,"85":12544,"24":0,"16":274064959829180416},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16]} 
[2026-04-17 05:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 05:51:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:51:29] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null}} 
[2026-04-17 05:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":46361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:51:29] local.INFO: GPS data processed {"connection_id":46361,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:51:29] local.INFO: Acknowledgment sent {"connection_id":46361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:51:48] local.INFO: TCP Data received {"connection_id":45810,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:51:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:51:48] local.INFO: Processing buffer {"connection_id":45810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:51:48] local.INFO: Packet analysis {"connection_id":45810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:51:48] local.INFO: Extracted packet for processing {"connection_id":45810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:51:48] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:51:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754493952001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:51:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:51:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:51:48] 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-04-17 05:51:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776385043000,"timestamp_ms":1776385043000,"timestamp_seconds":1776385043,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ccaa38"} 
[2026-04-17 05:51:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:51:48] 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-04-17 05: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":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:51: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-04-17 05: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-04-17 05:51:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:51:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:51:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:51:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45810,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:51:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45810,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:51:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:51:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:51:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:51:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754493952001,"66":25538,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:51:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:51:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:51:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754493952001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:51:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:51:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:51:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:51:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754493952001,"power":25538,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:51:48] local.INFO: DEBUG: GPS processor result {"connection_id":45810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19433,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:51:48] local.INFO: GPS data processed {"connection_id":45810,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:51:48] local.INFO: Acknowledgment sent {"connection_id":45810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:51:57] local.INFO: TCP Data received {"connection_id":46362,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:51:57] local.INFO: Processing buffer {"connection_id":46362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:51:57] local.INFO: IMEI packet received {"connection_id":46362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":46362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:52:02] local.INFO: TCP Data received {"connection_id":46362,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46362,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:52:02] local.INFO: Processing buffer {"connection_id":46362,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:52:02] local.INFO: IMEI packet received {"connection_id":46362,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:52:02] local.INFO: IMEI acknowledgment sent {"connection_id":46362,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:52:03] local.INFO: TCP Data received {"connection_id":46362,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:52:03] local.INFO: Processing buffer {"connection_id":46362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:52:03] local.INFO: Packet analysis {"connection_id":46362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:52:03] local.INFO: Extracted packet for processing {"connection_id":46362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:52:03] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":4,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:52:03] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,250,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 05:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776385031000,"timestamp_ms":1776385031000,"timestamp_seconds":1776385031,"priority":1,"record_length":96,"hex_timestamp":"0000019d98cc7b58"} 
[2026-04-17 05:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:52:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:52:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-17 05:52:03] 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-04-17 05:52:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:52:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25778,"250":206,"85":12544,"24":0,"16":274064959829180416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16]} 
[2026-04-17 05:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 05:52:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:52:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:52:03] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null}} 
[2026-04-17 05:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":46362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:52:03] local.INFO: GPS data processed {"connection_id":46362,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:52:03] local.INFO: Acknowledgment sent {"connection_id":46362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:52:05] local.INFO: TCP Data received {"connection_id":46363,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:52:05] local.INFO: Processing buffer {"connection_id":46363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:52:05] local.INFO: IMEI packet received {"connection_id":46363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":46363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:52:07] local.INFO: TCP Data received {"connection_id":46362,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46362,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:52:07] local.INFO: Processing buffer {"connection_id":46362,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98cc7b58012d7fac4005afe1100004000030..."} 
[2026-04-17 05:52:07] local.INFO: Packet analysis {"connection_id":46362,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:52:07] local.INFO: Extracted packet for processing {"connection_id":46362,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:52:07] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":4,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:52:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,250,85,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 05:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776385031000,"timestamp_ms":1776385031000,"timestamp_seconds":1776385031,"priority":1,"record_length":96,"hex_timestamp":"0000019d98cc7b58"} 
[2026-04-17 05:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:52:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-17 05:52:07] 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-04-17 05: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-04-17 05:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":46362,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":46362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":46362,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":25778,"250":206,"85":12544,"24":0,"16":274064959829180416},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16]} 
[2026-04-17 05:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 05:52:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:52:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:52:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null}} 
[2026-04-17 05:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":46362,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:52:07] local.INFO: GPS data processed {"connection_id":46362,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:52:07] local.INFO: Acknowledgment sent {"connection_id":46362,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:52:12] local.INFO: TCP Data received {"connection_id":46363,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46363,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:52:12] local.INFO: Processing buffer {"connection_id":46363,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:52:12] local.INFO: IMEI packet received {"connection_id":46363,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":46363,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:52:13] local.INFO: TCP Data received {"connection_id":46363,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:52:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:52:13] local.INFO: Processing buffer {"connection_id":46363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:52:13] local.INFO: Packet analysis {"connection_id":46363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:52:13] local.INFO: Extracted packet for processing {"connection_id":46363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:52:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:52:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754493952001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:52:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:52:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:52:13] 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-04-17 05:52:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776385043000,"timestamp_ms":1776385043000,"timestamp_seconds":1776385043,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ccaa38"} 
[2026-04-17 05:52:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:52:13] 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-04-17 05:52:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:52:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:52:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:52:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:52:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:52:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:52:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:52:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:52:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:52:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:52:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:52:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754493952001,"66":25538,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:52:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:52:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:52:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754493952001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:52:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:52:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:52:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:52:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754493952001,"power":25538,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:52:13] local.INFO: DEBUG: GPS processor result {"connection_id":46363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19436,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:52:13] local.INFO: GPS data processed {"connection_id":46363,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:52:13] local.INFO: Acknowledgment sent {"connection_id":46363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:52:46] local.INFO: TCP Data received {"connection_id":46363,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:52:46] local.INFO: Processing buffer {"connection_id":46363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ccaa38012d1b598006d4d5980011013831..."} 
[2026-04-17 05:52:46] local.INFO: Packet analysis {"connection_id":46363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:52:46] local.INFO: Extracted packet for processing {"connection_id":46363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98cc"} 
[2026-04-17 05:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754493952001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:52:46] 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-04-17 05:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776385043000,"timestamp_ms":1776385043000,"timestamp_seconds":1776385043,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ccaa38"} 
[2026-04-17 05:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:52:46] 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-04-17 05:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:52: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-04-17 05:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":46363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":46363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":46363,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754493952001,"66":25538,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754493952001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:52:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754493952001,"power":25538,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":46363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19437,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:52:46] local.INFO: GPS data processed {"connection_id":46363,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:52:46] local.INFO: Acknowledgment sent {"connection_id":46363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:52:52] local.INFO: TCP Data received {"connection_id":45811,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:52:52] local.INFO: Processing buffer {"connection_id":45811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:52:52] local.INFO: IMEI packet received {"connection_id":45811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":45811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:52:57] local.INFO: TCP Data received {"connection_id":45811,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:52:57] local.INFO: Processing buffer {"connection_id":45811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:52:57] local.INFO: IMEI packet received {"connection_id":45811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":45811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:52:57] local.INFO: TCP Data received {"connection_id":45811,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:52:57] local.INFO: Processing buffer {"connection_id":45811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:52:57] local.INFO: Packet analysis {"connection_id":45811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:52:57] local.INFO: Extracted packet for processing {"connection_id":45811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:52:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":0,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754567936001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 05:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776385328000,"timestamp_ms":1776385328000,"timestamp_seconds":1776385328,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d10380"} 
[2026-04-17 05:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 05:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754567936001,"66":25702,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754567936001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:52:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:52:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 05:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754567936001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 05:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":45811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:52:57] local.INFO: GPS data processed {"connection_id":45811,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:52:57] local.INFO: Acknowledgment sent {"connection_id":45811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:53:03] local.INFO: TCP Data received {"connection_id":45811,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:53:03] local.INFO: Processing buffer {"connection_id":45811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:53:03] local.INFO: Packet analysis {"connection_id":45811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:53:03] local.INFO: Extracted packet for processing {"connection_id":45811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:53:03] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":0,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:53:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754567936001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:53:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:53:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 05:53:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:53:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776385328000,"timestamp_ms":1776385328000,"timestamp_seconds":1776385328,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d10380"} 
[2026-04-17 05:53:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:53:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 05:53:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:53:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:53:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:53:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:53:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:53:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:53:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:53:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:53:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:53:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754567936001,"66":25702,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:53:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:53:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:53:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754567936001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:53:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:53:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:53:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:53:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 05:53:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754567936001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 05:53:03] local.INFO: DEBUG: GPS processor result {"connection_id":45811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:53:03] local.INFO: GPS data processed {"connection_id":45811,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:53:03] local.INFO: Acknowledgment sent {"connection_id":45811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:53:11] local.INFO: TCP Data received {"connection_id":45612,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:53:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:53:11] local.INFO: Processing buffer {"connection_id":45612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:53:11] local.INFO: IMEI packet received {"connection_id":45612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:53:11] local.INFO: IMEI acknowledgment sent {"connection_id":45612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:53:16] local.INFO: TCP Data received {"connection_id":45612,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:53:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:53:16] local.INFO: Processing buffer {"connection_id":45612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:53:16] local.INFO: IMEI packet received {"connection_id":45612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:53:16] local.INFO: IMEI acknowledgment sent {"connection_id":45612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:53:17] local.INFO: TCP Data received {"connection_id":45612,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:53:17] local.INFO: Processing buffer {"connection_id":45612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:53:17] local.INFO: Packet analysis {"connection_id":45612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:53:17] local.INFO: Extracted packet for processing {"connection_id":45612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:53:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:53:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754571008001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:53:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:53:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:53:17] 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-04-17 05:53:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776385344000,"timestamp_ms":1776385344000,"timestamp_seconds":1776385344,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d14200"} 
[2026-04-17 05:53:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:53:17] 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-04-17 05:53:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:53:17] 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-04-17 05:53:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:53:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:53:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:53:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:53:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:53:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:53:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:53:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:53:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:53:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754571008001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:53:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:53:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:53:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754571008001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:53:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:53:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:53:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:53:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754571008001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:53:17] local.INFO: DEBUG: GPS processor result {"connection_id":45612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19440,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:53:17] local.INFO: GPS data processed {"connection_id":45612,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:53:17] local.INFO: Acknowledgment sent {"connection_id":45612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:53:21] local.INFO: TCP Data received {"connection_id":45612,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:53:21] local.INFO: Processing buffer {"connection_id":45612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:53:21] local.INFO: Packet analysis {"connection_id":45612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:53:21] local.INFO: Extracted packet for processing {"connection_id":45612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:53:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:53:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754571008001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:53:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:53:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:53:21] 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-04-17 05:53:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776385344000,"timestamp_ms":1776385344000,"timestamp_seconds":1776385344,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d14200"} 
[2026-04-17 05:53:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:53:21] 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-04-17 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:53:21] 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-04-17 05: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-04-17 05:53:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:53:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:53:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:53:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:53:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:53:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:53:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:53:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:53:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754571008001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:53:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:53:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:53:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754571008001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:53:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:53:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:53:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:53:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754571008001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:53:22] local.INFO: DEBUG: GPS processor result {"connection_id":45612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19441,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:53:22] local.INFO: GPS data processed {"connection_id":45612,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:53:22] local.INFO: Acknowledgment sent {"connection_id":45612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:53:35] local.INFO: TCP Data received {"connection_id":45811,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:53:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:53:35] local.INFO: Processing buffer {"connection_id":45811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:53:35] local.INFO: Packet analysis {"connection_id":45811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:53:35] local.INFO: Extracted packet for processing {"connection_id":45811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:53:35] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":0,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:53:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754567936001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:53:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:53:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 05:53:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:53:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776385328000,"timestamp_ms":1776385328000,"timestamp_seconds":1776385328,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d10380"} 
[2026-04-17 05:53:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:53:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":178,"data_length":795,"current_offset":136} 
[2026-04-17 05:53:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:53:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:53:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:53:35] local.INFO: Teltonika packet parsed successfully {"connection_id":45811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:53:35] local.INFO: Passing IMEI to GPS processor {"connection_id":45811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:53:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":45811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:53:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:53:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:53:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:53:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754567936001,"66":25702,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:53:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:53:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:53:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754567936001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:53:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:53:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:53:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:53:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 05:53:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754567936001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 05:53:35] local.INFO: DEBUG: GPS processor result {"connection_id":45811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:53:35] local.INFO: GPS data processed {"connection_id":45811,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:53:35] local.INFO: Acknowledgment sent {"connection_id":45811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:53:52] local.INFO: TCP Data received {"connection_id":46364,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:53:52] local.INFO: Processing buffer {"connection_id":46364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:53:52] local.INFO: IMEI packet received {"connection_id":46364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":46364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:53:57] local.INFO: TCP Data received {"connection_id":46364,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46364,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:53:57] local.INFO: Processing buffer {"connection_id":46364,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:53:57] local.INFO: IMEI packet received {"connection_id":46364,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:53:57] local.INFO: IMEI acknowledgment sent {"connection_id":46364,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:54:00] local.INFO: TCP Data received {"connection_id":46364,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:54:00] local.INFO: Processing buffer {"connection_id":46364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:54:00] local.INFO: Packet analysis {"connection_id":46364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:54:00] local.INFO: Extracted packet for processing {"connection_id":46364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:54:00] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":0,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754567936001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 05:54:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776385328000,"timestamp_ms":1776385328000,"timestamp_seconds":1776385328,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d10380"} 
[2026-04-17 05:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 05:54:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754567936001,"66":25702,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754567936001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:54:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:54:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 05:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754567936001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 05:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":46364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:54:00] local.INFO: GPS data processed {"connection_id":46364,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:54:00] local.INFO: Acknowledgment sent {"connection_id":46364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:54:05] local.INFO: TCP Data received {"connection_id":45547,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:54:05] local.INFO: Processing buffer {"connection_id":45547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:54:05] local.INFO: IMEI packet received {"connection_id":45547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":45547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:54:11] local.INFO: TCP Data received {"connection_id":45547,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:54:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45547,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:54:11] local.INFO: Processing buffer {"connection_id":45547,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:54:11] local.INFO: IMEI packet received {"connection_id":45547,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:54:11] local.INFO: IMEI acknowledgment sent {"connection_id":45547,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:54:12] local.INFO: TCP Data received {"connection_id":45547,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:54:12] local.INFO: Processing buffer {"connection_id":45547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:54:12] local.INFO: Packet analysis {"connection_id":45547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:54:12] local.INFO: Extracted packet for processing {"connection_id":45547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:54:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754571008001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:54:12] 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-04-17 05:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776385344000,"timestamp_ms":1776385344000,"timestamp_seconds":1776385344,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d14200"} 
[2026-04-17 05:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:54: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-04-17 05:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:54: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-04-17 05:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754571008001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754571008001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:54:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754571008001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":45547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19444,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:54:12] local.INFO: GPS data processed {"connection_id":45547,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:54:12] local.INFO: Acknowledgment sent {"connection_id":45547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:54:31] local.INFO: TCP Data received {"connection_id":46364,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46364,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:54:31] local.INFO: Processing buffer {"connection_id":46364,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:54:31] local.INFO: Packet analysis {"connection_id":46364,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:54:31] local.INFO: Extracted packet for processing {"connection_id":46364,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:54:31] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":0,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:54:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754567936001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:54:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:54:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 05:54:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:54:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776385328000,"timestamp_ms":1776385328000,"timestamp_seconds":1776385328,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d10380"} 
[2026-04-17 05:54:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:54:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 05:54:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:54:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:54:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:54:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46364,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:54:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:54:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46364,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:54:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:54:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:54:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:54:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754567936001,"66":25702,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:54:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:54:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:54:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754567936001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:54:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:54:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:54:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:54:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 05:54:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754567936001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 05:54:31] local.INFO: DEBUG: GPS processor result {"connection_id":46364,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:54:31] local.INFO: GPS data processed {"connection_id":46364,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:54:31] local.INFO: Acknowledgment sent {"connection_id":46364,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:54:45] local.INFO: TCP Data received {"connection_id":45547,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:54:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:54:45] local.INFO: Processing buffer {"connection_id":45547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:54:45] local.INFO: Packet analysis {"connection_id":45547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:54:45] local.INFO: Extracted packet for processing {"connection_id":45547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:54:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:54:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754571008001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:54:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:54:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:54:45] 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-04-17 05:54:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776385344000,"timestamp_ms":1776385344000,"timestamp_seconds":1776385344,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d14200"} 
[2026-04-17 05:54:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:54:45] 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-04-17 05:54:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:54: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-04-17 05:54:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:54:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:54:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:54:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:54:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:54:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45547,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:54:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:54:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:54:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:54:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754571008001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:54:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:54:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:54:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754571008001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:54:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:54:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:54:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:54:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754571008001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:54:45] local.INFO: DEBUG: GPS processor result {"connection_id":45547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19446,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:54:45] local.INFO: GPS data processed {"connection_id":45547,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:54:45] local.INFO: Acknowledgment sent {"connection_id":45547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:54:52] local.INFO: TCP Data received {"connection_id":45613,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:54:52] local.INFO: Processing buffer {"connection_id":45613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:54:52] local.INFO: IMEI packet received {"connection_id":45613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":45613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:54:57] local.INFO: TCP Data received {"connection_id":45613,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:54:57] local.INFO: Processing buffer {"connection_id":45613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:54:57] local.INFO: IMEI packet received {"connection_id":45613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:54:57] local.INFO: IMEI acknowledgment sent {"connection_id":45613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:54:57] local.INFO: TCP Data received {"connection_id":45613,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:54:57] local.INFO: Processing buffer {"connection_id":45613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:54:57] local.INFO: Packet analysis {"connection_id":45613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:54:57] local.INFO: Extracted packet for processing {"connection_id":45613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:54:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":0,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754567936001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 05:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776385328000,"timestamp_ms":1776385328000,"timestamp_seconds":1776385328,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d10380"} 
[2026-04-17 05:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 05:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754567936001,"66":25702,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754567936001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:54:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:54:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 05:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754567936001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 05:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":45613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:54:57] local.INFO: GPS data processed {"connection_id":45613,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:54:57] local.INFO: Acknowledgment sent {"connection_id":45613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:55:11] local.INFO: TCP Data received {"connection_id":45614,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:55:11] local.INFO: Processing buffer {"connection_id":45614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:55:11] local.INFO: IMEI packet received {"connection_id":45614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":45614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:55:17] local.INFO: TCP Data received {"connection_id":45614,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45614,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:55:17] local.INFO: Processing buffer {"connection_id":45614,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:55:17] local.INFO: IMEI packet received {"connection_id":45614,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":45614,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:55:19] local.INFO: TCP Data received {"connection_id":45614,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:55:19] local.INFO: Processing buffer {"connection_id":45614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:55:19] local.INFO: Packet analysis {"connection_id":45614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:55:19] local.INFO: Extracted packet for processing {"connection_id":45614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754571008001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:55:19] 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-04-17 05:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776385344000,"timestamp_ms":1776385344000,"timestamp_seconds":1776385344,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d14200"} 
[2026-04-17 05:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:55:19] 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-04-17 05:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:55:19] 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-04-17 05:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754571008001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754571008001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:55:19] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754571008001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":45614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19448,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:55:19] local.INFO: GPS data processed {"connection_id":45614,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:55:19] local.INFO: Acknowledgment sent {"connection_id":45614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:55:22] local.INFO: TCP Data received {"connection_id":45614,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:55:22] local.INFO: Processing buffer {"connection_id":45614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:55:22] local.INFO: Packet analysis {"connection_id":45614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:55:22] local.INFO: Extracted packet for processing {"connection_id":45614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:55:22] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:55:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754571008001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:55:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:55:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:55:22] 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-04-17 05:55:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776385344000,"timestamp_ms":1776385344000,"timestamp_seconds":1776385344,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d14200"} 
[2026-04-17 05:55:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:55:22] 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-04-17 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:55:22] 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-04-17 05: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-04-17 05:55:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:55:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:55:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:55:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:55:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45614,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:55:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:55:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:55:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:55:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754571008001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:55:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:55:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:55:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754571008001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:55:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:55:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:55:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:55:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754571008001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:55:22] local.INFO: DEBUG: GPS processor result {"connection_id":45614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19449,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:55:22] local.INFO: GPS data processed {"connection_id":45614,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:55:22] local.INFO: Acknowledgment sent {"connection_id":45614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:55:28] local.INFO: TCP Data received {"connection_id":45613,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:55:28] local.INFO: Processing buffer {"connection_id":45613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:55:28] local.INFO: Packet analysis {"connection_id":45613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:55:28] local.INFO: Extracted packet for processing {"connection_id":45613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:55:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":0,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754567936001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 05:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776385328000,"timestamp_ms":1776385328000,"timestamp_seconds":1776385328,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d10380"} 
[2026-04-17 05:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 05:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754567936001,"66":25702,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754567936001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:55:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:55:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 05:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754567936001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 05:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":45613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:55:28] local.INFO: GPS data processed {"connection_id":45613,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:55:28] local.INFO: Acknowledgment sent {"connection_id":45613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:55:51] local.INFO: TCP Data received {"connection_id":45812,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:55:51] local.INFO: Processing buffer {"connection_id":45812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:55:51] local.INFO: IMEI packet received {"connection_id":45812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":45812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:55:57] local.INFO: TCP Data received {"connection_id":45812,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45812,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:55:57] local.INFO: Processing buffer {"connection_id":45812,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:55:57] local.INFO: IMEI packet received {"connection_id":45812,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":45812,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:55:57] local.INFO: TCP Data received {"connection_id":45812,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:55:57] local.INFO: Processing buffer {"connection_id":45812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:55:57] local.INFO: Packet analysis {"connection_id":45812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:55:57] local.INFO: Extracted packet for processing {"connection_id":45812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:55:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":0,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754567936001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 05:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776385328000,"timestamp_ms":1776385328000,"timestamp_seconds":1776385328,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d10380"} 
[2026-04-17 05:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 05:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754567936001,"66":25702,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754567936001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:55:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:55:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 05:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754567936001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 05:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":45812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:55:57] local.INFO: GPS data processed {"connection_id":45812,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:55:57] local.INFO: Acknowledgment sent {"connection_id":45812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:56:07] local.INFO: TCP Data received {"connection_id":46365,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:56:07] local.INFO: Processing buffer {"connection_id":46365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:56:07] local.INFO: IMEI packet received {"connection_id":46365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:56:07] local.INFO: IMEI acknowledgment sent {"connection_id":46365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:56:12] local.INFO: TCP Data received {"connection_id":46365,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46365,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:56:12] local.INFO: Processing buffer {"connection_id":46365,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:56:12] local.INFO: IMEI packet received {"connection_id":46365,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":46365,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:56:13] local.INFO: TCP Data received {"connection_id":46365,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:56:13] local.INFO: Processing buffer {"connection_id":46365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:56:13] local.INFO: Packet analysis {"connection_id":46365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:56:13] local.INFO: Extracted packet for processing {"connection_id":46365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:56:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754571008001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:56:13] 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-04-17 05:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776385344000,"timestamp_ms":1776385344000,"timestamp_seconds":1776385344,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d14200"} 
[2026-04-17 05:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:56:13] 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-04-17 05:56:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:56:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754571008001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754571008001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:56:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754571008001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":46365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19452,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:56:13] local.INFO: GPS data processed {"connection_id":46365,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:56:13] local.INFO: Acknowledgment sent {"connection_id":46365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:56:16] local.INFO: TCP Data received {"connection_id":46365,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:56:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:56:16] local.INFO: Processing buffer {"connection_id":46365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:56:16] local.INFO: Packet analysis {"connection_id":46365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:56:16] local.INFO: Extracted packet for processing {"connection_id":46365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:56:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:56:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754571008001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:56:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:56:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:56:16] 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-04-17 05:56:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776385344000,"timestamp_ms":1776385344000,"timestamp_seconds":1776385344,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d14200"} 
[2026-04-17 05:56:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:56:16] 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-04-17 05: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:56: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-04-17 05: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-04-17 05:56:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:56:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:56:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:56:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:56:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:56:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:56:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:56:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:56:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754571008001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:56:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:56:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:56:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754571008001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:56:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:56:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:56:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:56:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754571008001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:56:16] local.INFO: DEBUG: GPS processor result {"connection_id":46365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19453,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:56:16] local.INFO: GPS data processed {"connection_id":46365,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:56:16] local.INFO: Acknowledgment sent {"connection_id":46365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:56:28] local.INFO: TCP Data received {"connection_id":45812,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:56:28] local.INFO: Processing buffer {"connection_id":45812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:56:28] local.INFO: Packet analysis {"connection_id":45812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:56:28] local.INFO: Extracted packet for processing {"connection_id":45812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":0,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754567936001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 05:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776385328000,"timestamp_ms":1776385328000,"timestamp_seconds":1776385328,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d10380"} 
[2026-04-17 05:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 05:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45812,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:56:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754567936001,"66":25702,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:56:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:56:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:56:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754567936001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:56:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:56:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:56:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:56:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 05:56:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754567936001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 05:56:29] local.INFO: DEBUG: GPS processor result {"connection_id":45812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:56:29] local.INFO: GPS data processed {"connection_id":45812,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:56:29] local.INFO: Acknowledgment sent {"connection_id":45812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:56:48] local.INFO: TCP Data received {"connection_id":46365,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:56:48] local.INFO: Processing buffer {"connection_id":46365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:56:48] local.INFO: Packet analysis {"connection_id":46365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:56:48] local.INFO: Extracted packet for processing {"connection_id":46365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:56:48] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:56:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754571008001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:56:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:56:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:56:48] 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-04-17 05:56:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776385344000,"timestamp_ms":1776385344000,"timestamp_seconds":1776385344,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d14200"} 
[2026-04-17 05:56:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:56:48] 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-04-17 05:56:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:56: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-04-17 05:56:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:56:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:56:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:56:48] local.INFO: Teltonika packet parsed successfully {"connection_id":46365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:56:48] local.INFO: Passing IMEI to GPS processor {"connection_id":46365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:56:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":46365,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:56:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:56:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:56:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:56:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754571008001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:56:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:56:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:56:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754571008001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:56:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:56:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:56:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:56:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754571008001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:56:48] local.INFO: DEBUG: GPS processor result {"connection_id":46365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19455,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:56:48] local.INFO: GPS data processed {"connection_id":46365,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:56:48] local.INFO: Acknowledgment sent {"connection_id":46365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:56:51] local.INFO: TCP Data received {"connection_id":45548,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:56:51] local.INFO: Processing buffer {"connection_id":45548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:56:51] local.INFO: IMEI packet received {"connection_id":45548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":45548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:56:57] local.INFO: TCP Data received {"connection_id":45548,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:56:57] local.INFO: Processing buffer {"connection_id":45548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:56:57] local.INFO: IMEI packet received {"connection_id":45548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":45548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:56:57] local.INFO: TCP Data received {"connection_id":45548,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:56:57] local.INFO: Processing buffer {"connection_id":45548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:56:57] local.INFO: Packet analysis {"connection_id":45548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:56:57] local.INFO: Extracted packet for processing {"connection_id":45548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:56:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":0,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754567936001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 05:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776385328000,"timestamp_ms":1776385328000,"timestamp_seconds":1776385328,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d10380"} 
[2026-04-17 05:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 05:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:56:57] 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-04-17 05:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754567936001,"66":25702,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754567936001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:56:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:56:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 05:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754567936001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 05:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":45548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:56:57] local.INFO: GPS data processed {"connection_id":45548,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:56:57] local.INFO: Acknowledgment sent {"connection_id":45548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:57:05] local.INFO: TCP Data received {"connection_id":45615,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:57:05] local.INFO: Processing buffer {"connection_id":45615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:57:05] local.INFO: IMEI packet received {"connection_id":45615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":45615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:57:13] local.INFO: TCP Data received {"connection_id":45615,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:57:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:57:13] local.INFO: Processing buffer {"connection_id":45615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:57:13] local.INFO: IMEI packet received {"connection_id":45615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:57:13] local.INFO: IMEI acknowledgment sent {"connection_id":45615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:57:14] local.INFO: TCP Data received {"connection_id":45615,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:57:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:57:14] local.INFO: Processing buffer {"connection_id":45615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:57:14] local.INFO: Packet analysis {"connection_id":45615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:57:14] local.INFO: Extracted packet for processing {"connection_id":45615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:57:14] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:57:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754571008001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:57:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:57:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:57:14] 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-04-17 05:57:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776385344000,"timestamp_ms":1776385344000,"timestamp_seconds":1776385344,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d14200"} 
[2026-04-17 05:57:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:57:14] 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-04-17 05:57:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:57:14] 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-04-17 05: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-04-17 05:57:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:57:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:57:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:57:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:57:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:57:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:57:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:57:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:57:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754571008001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:57:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:57:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:57:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754571008001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:57:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:57:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:57:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:57:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754571008001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:57:14] local.INFO: DEBUG: GPS processor result {"connection_id":45615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19457,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:57:14] local.INFO: GPS data processed {"connection_id":45615,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:57:14] local.INFO: Acknowledgment sent {"connection_id":45615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:57:29] local.INFO: TCP Data received {"connection_id":45548,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:57:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:57:29] local.INFO: Processing buffer {"connection_id":45548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d10380012d7fac4005afe1100000000030..."} 
[2026-04-17 05:57:29] local.INFO: Packet analysis {"connection_id":45548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:57:29] local.INFO: Extracted packet for processing {"connection_id":45548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:57:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":0,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:57:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754567936001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:57:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:57:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 05:57:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:57:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776385328000,"timestamp_ms":1776385328000,"timestamp_seconds":1776385328,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d10380"} 
[2026-04-17 05:57:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:57:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 05:57:29] 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-04-17 05: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-04-17 05:57:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:57:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:57:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:57:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:57:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:57: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-04-17 05:57:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:57:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:57:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754567936001,"66":25702,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:57:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:57:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754567936001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:57:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 05:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754567936001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 05:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":45548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:57:29] local.INFO: GPS data processed {"connection_id":45548,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:57:29] local.INFO: Acknowledgment sent {"connection_id":45548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:57:46] local.INFO: TCP Data received {"connection_id":45615,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:57:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:57:46] local.INFO: Processing buffer {"connection_id":45615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d14200012d1b598006d4d5980011013831..."} 
[2026-04-17 05:57:46] local.INFO: Packet analysis {"connection_id":45615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:57:46] local.INFO: Extracted packet for processing {"connection_id":45615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d1"} 
[2026-04-17 05:57:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:57:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754571008001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:57:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:57:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:57:46] 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-04-17 05:57:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776385344000,"timestamp_ms":1776385344000,"timestamp_seconds":1776385344,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d14200"} 
[2026-04-17 05:57:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:57:46] 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-04-17 05:57:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 05:57: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-04-17 05:57:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:57:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:57:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:57:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:57:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:57:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:57:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:57:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:57:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:57:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754571008001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:57:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:57:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:57:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754571008001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:57:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:57:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:57:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:57:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754571008001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:57:46] local.INFO: DEBUG: GPS processor result {"connection_id":45615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19459,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:57:46] local.INFO: GPS data processed {"connection_id":45615,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:57:46] local.INFO: Acknowledgment sent {"connection_id":45615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:57:57] local.INFO: TCP Data received {"connection_id":45813,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:57:57] local.INFO: Processing buffer {"connection_id":45813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:57:57] local.INFO: IMEI packet received {"connection_id":45813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":45813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:58:02] local.INFO: TCP Data received {"connection_id":45813,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:58:02] local.INFO: Processing buffer {"connection_id":45813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:58:02] local.INFO: IMEI packet received {"connection_id":45813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:58:02] local.INFO: IMEI acknowledgment sent {"connection_id":45813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:58:03] local.INFO: TCP Data received {"connection_id":45813,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 05:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 05:58:03] local.INFO: Processing buffer {"connection_id":45813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 05:58:03] local.INFO: Packet analysis {"connection_id":45813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 05:58:03] local.INFO: Extracted packet for processing {"connection_id":45813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 05:58:03] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754643968001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 05:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776385629000,"timestamp_ms":1776385629000,"timestamp_seconds":1776385629,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d59b48"} 
[2026-04-17 05:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:58:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 05:58:03] 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-04-17 05:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754643968001,"66":25615,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754643968001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:58:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:58:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 05:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754643968001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 05:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":45813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:58:03] local.INFO: GPS data processed {"connection_id":45813,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:58:03] local.INFO: Acknowledgment sent {"connection_id":45813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:58:05] local.INFO: TCP Data received {"connection_id":46366,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:58:05] local.INFO: Processing buffer {"connection_id":46366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:58:05] local.INFO: IMEI packet received {"connection_id":46366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":46366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:58:11] local.INFO: TCP Data received {"connection_id":46366,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:58:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46366,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:58:11] local.INFO: Processing buffer {"connection_id":46366,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:58:11] local.INFO: IMEI packet received {"connection_id":46366,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:58:11] local.INFO: IMEI acknowledgment sent {"connection_id":46366,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:58:12] local.INFO: TCP Data received {"connection_id":46366,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:58:12] local.INFO: Processing buffer {"connection_id":46366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:58:12] local.INFO: Packet analysis {"connection_id":46366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 05:58:12] local.INFO: Extracted packet for processing {"connection_id":46366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 05:58:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754648064001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:58:12] 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-04-17 05:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776385645000,"timestamp_ms":1776385645000,"timestamp_seconds":1776385645,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d5d9c8"} 
[2026-04-17 05:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:58: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-04-17 05:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 05: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-04-17 05:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754648064001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754648064001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:58:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754648064001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":46366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19461,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:58:12] local.INFO: GPS data processed {"connection_id":46366,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:58:12] local.INFO: Acknowledgment sent {"connection_id":46366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:58:34] local.INFO: TCP Data received {"connection_id":45813,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 05:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 05:58:34] local.INFO: Processing buffer {"connection_id":45813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 05:58:34] local.INFO: Packet analysis {"connection_id":45813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 05:58:34] local.INFO: Extracted packet for processing {"connection_id":45813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 05:58:34] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:58:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754643968001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:58:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:58:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 05:58:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:58:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776385629000,"timestamp_ms":1776385629000,"timestamp_seconds":1776385629,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d59b48"} 
[2026-04-17 05:58:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:58:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:58:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 05:58:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:58:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:58:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:58:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:58:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:58:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:58:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:58:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:58:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:58:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:58:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754643968001,"66":25615,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:58:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:58:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:58:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754643968001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:58:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:58:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:58:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:58:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 05:58:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754643968001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 05:58:34] local.INFO: DEBUG: GPS processor result {"connection_id":45813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:58:34] local.INFO: GPS data processed {"connection_id":45813,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:58:34] local.INFO: Acknowledgment sent {"connection_id":45813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:58:44] local.INFO: TCP Data received {"connection_id":46366,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:58:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46366,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:58:44] local.INFO: Processing buffer {"connection_id":46366,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:58:44] local.INFO: Packet analysis {"connection_id":46366,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 05:58:44] local.INFO: Extracted packet for processing {"connection_id":46366,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 05:58:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:58:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754648064001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:58:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:58:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:58:44] 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-04-17 05:58:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776385645000,"timestamp_ms":1776385645000,"timestamp_seconds":1776385645,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d5d9c8"} 
[2026-04-17 05:58:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:58:44] 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-04-17 05: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":151,"data_length":795,"current_offset":136} 
[2026-04-17 05:58: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-04-17 05: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-04-17 05:58:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:58:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:58:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46366,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:58:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:58:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46366,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:58:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:58:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:58:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:58:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754648064001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:58:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:58:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:58:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754648064001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:58:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:58:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:58:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:58:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754648064001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:58:44] local.INFO: DEBUG: GPS processor result {"connection_id":46366,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19463,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:58:44] local.INFO: GPS data processed {"connection_id":46366,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:58:44] local.INFO: Acknowledgment sent {"connection_id":46366,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:58:52] local.INFO: TCP Data received {"connection_id":45616,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:58:52] local.INFO: Processing buffer {"connection_id":45616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:58:52] local.INFO: IMEI packet received {"connection_id":45616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:58:52] local.INFO: IMEI acknowledgment sent {"connection_id":45616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:58:57] local.INFO: TCP Data received {"connection_id":45616,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:58:57] local.INFO: Processing buffer {"connection_id":45616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:58:57] local.INFO: IMEI packet received {"connection_id":45616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:58:57] local.INFO: IMEI acknowledgment sent {"connection_id":45616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:59:01] local.INFO: TCP Data received {"connection_id":45616,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 05:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 05:59:01] local.INFO: Processing buffer {"connection_id":45616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 05:59:01] local.INFO: Packet analysis {"connection_id":45616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 05:59:01] local.INFO: Extracted packet for processing {"connection_id":45616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 05:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754643968001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 05:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776385629000,"timestamp_ms":1776385629000,"timestamp_seconds":1776385629,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d59b48"} 
[2026-04-17 05:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 05:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:59: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-04-17 05:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754643968001,"66":25615,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754643968001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:59:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 05:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754643968001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 05:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":45616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:59:01] local.INFO: GPS data processed {"connection_id":45616,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:59:01] local.INFO: Acknowledgment sent {"connection_id":45616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:59:06] local.INFO: TCP Data received {"connection_id":46367,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:59:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:59:06] local.INFO: Processing buffer {"connection_id":46367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:59:06] local.INFO: IMEI packet received {"connection_id":46367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 05:59:06] local.INFO: IMEI acknowledgment sent {"connection_id":46367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:59:11] local.INFO: TCP Data received {"connection_id":46367,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46367,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:59:11] local.INFO: Processing buffer {"connection_id":46367,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 05:59:11] local.INFO: IMEI packet received {"connection_id":46367,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 05:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":46367,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:59:12] local.INFO: TCP Data received {"connection_id":46367,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:59:12] local.INFO: Processing buffer {"connection_id":46367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:59:12] local.INFO: Packet analysis {"connection_id":46367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 05:59:12] local.INFO: Extracted packet for processing {"connection_id":46367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 05:59:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754648064001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:59:12] 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-04-17 05:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776385645000,"timestamp_ms":1776385645000,"timestamp_seconds":1776385645,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d5d9c8"} 
[2026-04-17 05:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:59: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-04-17 05:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 05:59: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-04-17 05:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754648064001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754648064001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:59:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754648064001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":46367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19465,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:59:12] local.INFO: GPS data processed {"connection_id":46367,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:59:12] local.INFO: Acknowledgment sent {"connection_id":46367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:59:32] local.INFO: TCP Data received {"connection_id":45616,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 05:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 05:59:32] local.INFO: Processing buffer {"connection_id":45616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 05:59:32] local.INFO: Packet analysis {"connection_id":45616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 05:59:32] local.INFO: Extracted packet for processing {"connection_id":45616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 05:59:32] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05: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-04-17 05:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754643968001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 05:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776385629000,"timestamp_ms":1776385629000,"timestamp_seconds":1776385629,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d59b48"} 
[2026-04-17 05:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:59:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 05:59:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05: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-04-17 05:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754643968001,"66":25615,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754643968001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:59:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:59:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 05:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754643968001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 05:59:32] local.INFO: DEBUG: GPS processor result {"connection_id":45616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:59:32] local.INFO: GPS data processed {"connection_id":45616,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:59:32] local.INFO: Acknowledgment sent {"connection_id":45616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:59:44] local.INFO: TCP Data received {"connection_id":46367,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46367,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:59:44] local.INFO: Processing buffer {"connection_id":46367,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 05:59:44] local.INFO: Packet analysis {"connection_id":46367,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 05:59:44] local.INFO: Extracted packet for processing {"connection_id":46367,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 05:59:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 05:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754648064001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 05:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 05:59:44] 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-04-17 05:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776385645000,"timestamp_ms":1776385645000,"timestamp_seconds":1776385645,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d5d9c8"} 
[2026-04-17 05:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:59:44] 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-04-17 05:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 05:59: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-04-17 05:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46367,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46367,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 05:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 05:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 05:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754648064001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 05:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 05:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 05:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754648064001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:59:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 05:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 05:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754648064001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 05:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":46367,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19467,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:59:44] local.INFO: GPS data processed {"connection_id":46367,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:59:44] local.INFO: Acknowledgment sent {"connection_id":46367,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 05:59:52] local.INFO: TCP Data received {"connection_id":45617,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:59:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:59:52] local.INFO: Processing buffer {"connection_id":45617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:59:52] local.INFO: IMEI packet received {"connection_id":45617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 05:59:52] local.INFO: IMEI acknowledgment sent {"connection_id":45617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 05:59:57] local.INFO: TCP Data received {"connection_id":45617,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:59:57] local.INFO: Processing buffer {"connection_id":45617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 05:59:57] local.INFO: IMEI packet received {"connection_id":45617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 05:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":45617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 05:59:58] local.INFO: TCP Data received {"connection_id":45617,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 05:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 05:59:58] local.INFO: Processing buffer {"connection_id":45617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 05:59:58] local.INFO: Packet analysis {"connection_id":45617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 05:59:58] local.INFO: Extracted packet for processing {"connection_id":45617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 05:59:58] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 05:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 05:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754643968001,"note":"Value kept but may cause issues"} 
[2026-04-17 05:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 05:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 05:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 05:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776385629000,"timestamp_ms":1776385629000,"timestamp_seconds":1776385629,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d59b48"} 
[2026-04-17 05:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 05:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 05:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 05:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 05:59:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 05:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 05:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 05:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 05:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 05:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 05:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 05:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 05:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754643968001,"66":25615,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 05:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 05:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 05:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754643968001,"description":"Unknown IO ID 0"} 
[2026-04-17 05:59:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 05:59:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 05:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 05:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 05:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754643968001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 05:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":45617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 05:59:58] local.INFO: GPS data processed {"connection_id":45617,"processed":1,"errors":0,"total":1} 
[2026-04-17 05:59:58] local.INFO: Acknowledgment sent {"connection_id":45617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:00:05] local.INFO: TCP Data received {"connection_id":46368,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:00:05] local.INFO: Processing buffer {"connection_id":46368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:00:05] local.INFO: IMEI packet received {"connection_id":46368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":46368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:00:12] local.INFO: TCP Data received {"connection_id":46368,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46368,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:00:12] local.INFO: Processing buffer {"connection_id":46368,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:00:12] local.INFO: IMEI packet received {"connection_id":46368,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":46368,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:00:13] local.INFO: TCP Data received {"connection_id":46368,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:00:13] local.INFO: Processing buffer {"connection_id":46368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:00:13] local.INFO: Packet analysis {"connection_id":46368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:00:13] local.INFO: Extracted packet for processing {"connection_id":46368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:00:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754648064001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:00:13] 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-04-17 06:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776385645000,"timestamp_ms":1776385645000,"timestamp_seconds":1776385645,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d5d9c8"} 
[2026-04-17 06:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:00:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:00: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-04-17 06:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754648064001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754648064001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:00:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754648064001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":46368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19469,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:00:13] local.INFO: GPS data processed {"connection_id":46368,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:00:13] local.INFO: Acknowledgment sent {"connection_id":46368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:00:29] local.INFO: TCP Data received {"connection_id":45617,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 06:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 06:00:29] local.INFO: Processing buffer {"connection_id":45617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 06:00:29] local.INFO: Packet analysis {"connection_id":45617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:00:29] local.INFO: Extracted packet for processing {"connection_id":45617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754643968001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776385629000,"timestamp_ms":1776385629000,"timestamp_seconds":1776385629,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d59b48"} 
[2026-04-17 06:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 06:00:29] 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-04-17 06: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-04-17 06:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:00: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-04-17 06:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754643968001,"66":25615,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754643968001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:00:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:00:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754643968001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":45617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:00:29] local.INFO: GPS data processed {"connection_id":45617,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:00:29] local.INFO: Acknowledgment sent {"connection_id":45617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:00:45] local.INFO: TCP Data received {"connection_id":46368,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:00:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:00:45] local.INFO: Processing buffer {"connection_id":46368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:00:45] local.INFO: Packet analysis {"connection_id":46368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:00:45] local.INFO: Extracted packet for processing {"connection_id":46368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:00:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:00:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754648064001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:00:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:00:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:00:45] 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-04-17 06:00:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776385645000,"timestamp_ms":1776385645000,"timestamp_seconds":1776385645,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d5d9c8"} 
[2026-04-17 06:00:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:00:45] 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-04-17 06: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":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:00: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-04-17 06: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-04-17 06:00:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:00:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:00:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:00:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:00:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46368,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:00:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:00:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:00:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:00:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754648064001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:00:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:00:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:00:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754648064001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:00:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:00:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:00:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:00:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754648064001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:00:45] local.INFO: DEBUG: GPS processor result {"connection_id":46368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19471,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:00:45] local.INFO: GPS data processed {"connection_id":46368,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:00:45] local.INFO: Acknowledgment sent {"connection_id":46368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:00:51] local.INFO: TCP Data received {"connection_id":45814,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:00:51] local.INFO: Processing buffer {"connection_id":45814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:00:51] local.INFO: IMEI packet received {"connection_id":45814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":45814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:00:57] local.INFO: TCP Data received {"connection_id":45814,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:00:57] local.INFO: Processing buffer {"connection_id":45814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:00:57] local.INFO: IMEI packet received {"connection_id":45814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":45814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:00:58] local.INFO: TCP Data received {"connection_id":45814,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 06:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 06:00:58] local.INFO: Processing buffer {"connection_id":45814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 06:00:58] local.INFO: Packet analysis {"connection_id":45814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:00:58] local.INFO: Extracted packet for processing {"connection_id":45814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:00:58] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754643968001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776385629000,"timestamp_ms":1776385629000,"timestamp_seconds":1776385629,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d59b48"} 
[2026-04-17 06:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 06:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:00: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-04-17 06:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754643968001,"66":25615,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754643968001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:00:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:00:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754643968001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":45814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:00:58] local.INFO: GPS data processed {"connection_id":45814,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:00:58] local.INFO: Acknowledgment sent {"connection_id":45814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:01:05] local.INFO: TCP Data received {"connection_id":45549,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:01:05] local.INFO: Processing buffer {"connection_id":45549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:01:05] local.INFO: IMEI packet received {"connection_id":45549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":45549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:01:11] local.INFO: TCP Data received {"connection_id":45549,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:01:11] local.INFO: Processing buffer {"connection_id":45549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:01:11] local.INFO: IMEI packet received {"connection_id":45549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":45549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:01:12] local.INFO: TCP Data received {"connection_id":45549,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:01:12] local.INFO: Processing buffer {"connection_id":45549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:01:12] local.INFO: Packet analysis {"connection_id":45549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:01:12] local.INFO: Extracted packet for processing {"connection_id":45549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:01:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754648064001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:01:12] 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-04-17 06:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776385645000,"timestamp_ms":1776385645000,"timestamp_seconds":1776385645,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d5d9c8"} 
[2026-04-17 06:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:01: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-04-17 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:01: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-04-17 06: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-04-17 06:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754648064001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754648064001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:01:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754648064001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":45549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19473,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:01:12] local.INFO: GPS data processed {"connection_id":45549,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:01:12] local.INFO: Acknowledgment sent {"connection_id":45549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:01:29] local.INFO: TCP Data received {"connection_id":45814,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 06:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 06:01:29] local.INFO: Processing buffer {"connection_id":45814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 06:01:29] local.INFO: Packet analysis {"connection_id":45814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:01:29] local.INFO: Extracted packet for processing {"connection_id":45814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:01:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754643968001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776385629000,"timestamp_ms":1776385629000,"timestamp_seconds":1776385629,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d59b48"} 
[2026-04-17 06:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 06:01:29] 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-04-17 06: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-04-17 06:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:01: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-04-17 06:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754643968001,"66":25615,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754643968001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:01:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754643968001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":45814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:01:29] local.INFO: GPS data processed {"connection_id":45814,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:01:29] local.INFO: Acknowledgment sent {"connection_id":45814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:01:44] local.INFO: TCP Data received {"connection_id":45549,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:01:44] local.INFO: Processing buffer {"connection_id":45549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:01:44] local.INFO: Packet analysis {"connection_id":45549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:01:44] local.INFO: Extracted packet for processing {"connection_id":45549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:01:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754648064001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:01:44] 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-04-17 06:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776385645000,"timestamp_ms":1776385645000,"timestamp_seconds":1776385645,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d5d9c8"} 
[2026-04-17 06:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:01:44] 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-04-17 06: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":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:01: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-04-17 06: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-04-17 06:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754648064001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754648064001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:01:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754648064001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":45549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19475,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:01:44] local.INFO: GPS data processed {"connection_id":45549,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:01:44] local.INFO: Acknowledgment sent {"connection_id":45549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:01:51] local.INFO: TCP Data received {"connection_id":45815,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:01:51] local.INFO: Processing buffer {"connection_id":45815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:01:51] local.INFO: IMEI packet received {"connection_id":45815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":45815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:01:57] local.INFO: TCP Data received {"connection_id":45815,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45815,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:01:57] local.INFO: Processing buffer {"connection_id":45815,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:01:57] local.INFO: IMEI packet received {"connection_id":45815,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":45815,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:01:57] local.INFO: TCP Data received {"connection_id":45815,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 06:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 06:01:57] local.INFO: Processing buffer {"connection_id":45815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 06:01:57] local.INFO: Packet analysis {"connection_id":45815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:01:57] local.INFO: Extracted packet for processing {"connection_id":45815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:01:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754643968001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776385629000,"timestamp_ms":1776385629000,"timestamp_seconds":1776385629,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d59b48"} 
[2026-04-17 06:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 06:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754643968001,"66":25615,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754643968001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:01:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:01:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754643968001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":45815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:01:57] local.INFO: GPS data processed {"connection_id":45815,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:01:57] local.INFO: Acknowledgment sent {"connection_id":45815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:02:11] local.INFO: TCP Data received {"connection_id":45618,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:02:11] local.INFO: Processing buffer {"connection_id":45618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:02:11] local.INFO: IMEI packet received {"connection_id":45618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":45618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:02:16] local.INFO: TCP Data received {"connection_id":45618,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:02:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:02:16] local.INFO: Processing buffer {"connection_id":45618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:02:16] local.INFO: IMEI packet received {"connection_id":45618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:02:16] local.INFO: IMEI acknowledgment sent {"connection_id":45618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:02:17] local.INFO: TCP Data received {"connection_id":45618,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:02:17] local.INFO: Processing buffer {"connection_id":45618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:02:17] local.INFO: Packet analysis {"connection_id":45618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:02:17] local.INFO: Extracted packet for processing {"connection_id":45618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:02:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:02:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754648064001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:02:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:02:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:02:17] 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-04-17 06:02:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776385645000,"timestamp_ms":1776385645000,"timestamp_seconds":1776385645,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d5d9c8"} 
[2026-04-17 06:02:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:02:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:02: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-04-17 06: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-04-17 06:02:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:02:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:02:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:02:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45618,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:02:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45618,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:02:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:02:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:02:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:02:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754648064001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:02:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:02:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:02:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754648064001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:02:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:02:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:02:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:02:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754648064001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:02:17] local.INFO: DEBUG: GPS processor result {"connection_id":45618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19477,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:02:17] local.INFO: GPS data processed {"connection_id":45618,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:02:17] local.INFO: Acknowledgment sent {"connection_id":45618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:02:22] local.INFO: TCP Data received {"connection_id":45618,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:02:22] local.INFO: Processing buffer {"connection_id":45618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d5d9c8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:02:22] local.INFO: Packet analysis {"connection_id":45618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:02:22] local.INFO: Extracted packet for processing {"connection_id":45618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:02:22] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:02:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754648064001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:02:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:02:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:02:22] 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-04-17 06:02:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776385645000,"timestamp_ms":1776385645000,"timestamp_seconds":1776385645,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d5d9c8"} 
[2026-04-17 06:02:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:02:22] 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-04-17 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:02:22] 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-04-17 06: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-04-17 06:02:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:02:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:02:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:02:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45618,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:02:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45618,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:02:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:02:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:02:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:02:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754648064001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:02:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:02:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:02:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754648064001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:02:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:02:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:02:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:02:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754648064001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":45618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19478,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:02:22] local.INFO: GPS data processed {"connection_id":45618,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:02:22] local.INFO: Acknowledgment sent {"connection_id":45618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:02:28] local.INFO: TCP Data received {"connection_id":45815,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 06:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 06:02:28] local.INFO: Processing buffer {"connection_id":45815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98d59b48012d7fac4005afe1100005000030..."} 
[2026-04-17 06:02:28] local.INFO: Packet analysis {"connection_id":45815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:02:28] local.INFO: Extracted packet for processing {"connection_id":45815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98d5"} 
[2026-04-17 06:02:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754643968001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776385629000,"timestamp_ms":1776385629000,"timestamp_seconds":1776385629,"priority":1,"record_length":96,"hex_timestamp":"0000019d98d59b48"} 
[2026-04-17 06:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 06:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45815,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754643968001,"66":25615,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754643968001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:02:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:02:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754643968001,"power":25615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":45815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:02:28] local.INFO: GPS data processed {"connection_id":45815,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:02:28] local.INFO: Acknowledgment sent {"connection_id":45815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:02:57] local.INFO: TCP Data received {"connection_id":46369,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:02:57] local.INFO: Processing buffer {"connection_id":46369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:02:57] local.INFO: IMEI packet received {"connection_id":46369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:02:57] local.INFO: IMEI acknowledgment sent {"connection_id":46369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:03:02] local.INFO: TCP Data received {"connection_id":46369,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46369,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:03:02] local.INFO: Processing buffer {"connection_id":46369,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:03:02] local.INFO: IMEI packet received {"connection_id":46369,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:03:02] local.INFO: IMEI acknowledgment sent {"connection_id":46369,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:03:02] local.INFO: TCP Data received {"connection_id":46369,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:03:02] local.INFO: Processing buffer {"connection_id":46369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:03:02] local.INFO: Packet analysis {"connection_id":46369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:03:02] local.INFO: Extracted packet for processing {"connection_id":46369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754721024001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776385930000,"timestamp_ms":1776385930000,"timestamp_seconds":1776385930,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da3310"} 
[2026-04-17 06:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":15,"data_length":795,"current_offset":136} 
[2026-04-17 06:03:02] 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-04-17 06: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-04-17 06:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754721024001,"66":25582,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754721024001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:03:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754721024001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":46369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:03:02] local.INFO: GPS data processed {"connection_id":46369,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:03:02] local.INFO: Acknowledgment sent {"connection_id":46369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:03:05] local.INFO: TCP Data received {"connection_id":45550,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:03:05] local.INFO: Processing buffer {"connection_id":45550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:03:05] local.INFO: IMEI packet received {"connection_id":45550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":45550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:03:06] local.INFO: TCP Data received {"connection_id":46369,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:03:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46369,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:03:07] local.INFO: Processing buffer {"connection_id":46369,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:03:07] local.INFO: Packet analysis {"connection_id":46369,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:03:07] local.INFO: Extracted packet for processing {"connection_id":46369,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:03:07] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:03:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754721024001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:03:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:03:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:03:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:03:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776385930000,"timestamp_ms":1776385930000,"timestamp_seconds":1776385930,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da3310"} 
[2026-04-17 06:03:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:03:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:03:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 06:03:07] 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-04-17 06:03:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:03:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:03:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:03:07] local.INFO: Teltonika packet parsed successfully {"connection_id":46369,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:03:07] local.INFO: Passing IMEI to GPS processor {"connection_id":46369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:03:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":46369,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:03:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:03:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:03:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:03:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754721024001,"66":25582,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:03:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:03:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:03:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754721024001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:03:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:03:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:03:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:03:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:03:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754721024001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:03:07] local.INFO: DEBUG: GPS processor result {"connection_id":46369,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:03:07] local.INFO: GPS data processed {"connection_id":46369,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:03:07] local.INFO: Acknowledgment sent {"connection_id":46369,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:03:11] local.INFO: TCP Data received {"connection_id":45550,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:03:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:03:11] local.INFO: Processing buffer {"connection_id":45550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:03:11] local.INFO: IMEI packet received {"connection_id":45550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:03:11] local.INFO: IMEI acknowledgment sent {"connection_id":45550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:03:12] local.INFO: TCP Data received {"connection_id":45550,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:03:12] local.INFO: Processing buffer {"connection_id":45550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:03:12] local.INFO: Packet analysis {"connection_id":45550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:03:12] local.INFO: Extracted packet for processing {"connection_id":45550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754725120001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:03:12] 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-04-17 06:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776385946000,"timestamp_ms":1776385946000,"timestamp_seconds":1776385946,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da7190"} 
[2026-04-17 06:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:03: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-04-17 06:03:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:03: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-04-17 06:03:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754725120001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754725120001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:03:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754725120001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":45550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19482,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:03:13] local.INFO: GPS data processed {"connection_id":45550,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:03:13] local.INFO: Acknowledgment sent {"connection_id":45550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:03:44] local.INFO: TCP Data received {"connection_id":45550,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:03:44] local.INFO: Processing buffer {"connection_id":45550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:03:44] local.INFO: Packet analysis {"connection_id":45550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:03:44] local.INFO: Extracted packet for processing {"connection_id":45550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:03:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754725120001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:03:44] 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-04-17 06:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776385946000,"timestamp_ms":1776385946000,"timestamp_seconds":1776385946,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da7190"} 
[2026-04-17 06:03:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:03:44] 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-04-17 06: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":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:03: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-04-17 06: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-04-17 06:03:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45550,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754725120001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754725120001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:03:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754725120001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":45550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19483,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:03:44] local.INFO: GPS data processed {"connection_id":45550,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:03:44] local.INFO: Acknowledgment sent {"connection_id":45550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:03:52] local.INFO: TCP Data received {"connection_id":45619,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:03:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:03:52] local.INFO: Processing buffer {"connection_id":45619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:03:52] local.INFO: IMEI packet received {"connection_id":45619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:03:52] local.INFO: IMEI acknowledgment sent {"connection_id":45619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:03:57] local.INFO: TCP Data received {"connection_id":45619,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45619,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:03:57] local.INFO: Processing buffer {"connection_id":45619,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:03:57] local.INFO: IMEI packet received {"connection_id":45619,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":45619,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:03:57] local.INFO: TCP Data received {"connection_id":45619,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:03:57] local.INFO: Processing buffer {"connection_id":45619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:03:57] local.INFO: Packet analysis {"connection_id":45619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:03:57] local.INFO: Extracted packet for processing {"connection_id":45619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:03:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754721024001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776385930000,"timestamp_ms":1776385930000,"timestamp_seconds":1776385930,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da3310"} 
[2026-04-17 06:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 06:03:57] 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-04-17 06:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:03:57] 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-04-17 06:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754721024001,"66":25582,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754721024001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:03:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:03:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754721024001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":45619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:03:57] local.INFO: GPS data processed {"connection_id":45619,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:03:57] local.INFO: Acknowledgment sent {"connection_id":45619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:04:05] local.INFO: TCP Data received {"connection_id":45551,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:04:05] local.INFO: Processing buffer {"connection_id":45551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:04:05] local.INFO: IMEI packet received {"connection_id":45551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":45551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:04:11] local.INFO: TCP Data received {"connection_id":45551,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:04:11] local.INFO: Processing buffer {"connection_id":45551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:04:11] local.INFO: IMEI packet received {"connection_id":45551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":45551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:04:12] local.INFO: TCP Data received {"connection_id":45551,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:04:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:04:12] local.INFO: Processing buffer {"connection_id":45551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:04:12] local.INFO: Packet analysis {"connection_id":45551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:04:12] local.INFO: Extracted packet for processing {"connection_id":45551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:04:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:04:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754725120001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:04:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:04:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:04:12] 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-04-17 06:04:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776385946000,"timestamp_ms":1776385946000,"timestamp_seconds":1776385946,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da7190"} 
[2026-04-17 06:04:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:04: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-04-17 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:04: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-04-17 06: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-04-17 06:04:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:04:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:04:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:04:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:04:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:04:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:04:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:04:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:04:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754725120001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:04:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:04:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:04:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754725120001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:04:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:04:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:04:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:04:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754725120001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:04:12] local.INFO: DEBUG: GPS processor result {"connection_id":45551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19485,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:04:12] local.INFO: GPS data processed {"connection_id":45551,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:04:12] local.INFO: Acknowledgment sent {"connection_id":45551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:04:29] local.INFO: TCP Data received {"connection_id":45619,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:04:29] local.INFO: Processing buffer {"connection_id":45619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:04:29] local.INFO: Packet analysis {"connection_id":45619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:04:29] local.INFO: Extracted packet for processing {"connection_id":45619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:04:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:04:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754721024001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:04:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:04:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:04:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:04:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776385930000,"timestamp_ms":1776385930000,"timestamp_seconds":1776385930,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da3310"} 
[2026-04-17 06:04:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:04:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:04:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 06:04:29] 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-04-17 06:04:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:04:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:04:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:04:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:04:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:04:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45619,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:04: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-04-17 06:04:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:04:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:04:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754721024001,"66":25582,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:04:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:04:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:04:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754721024001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:04:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:04:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:04:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:04:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:04:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754721024001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:04:29] local.INFO: DEBUG: GPS processor result {"connection_id":45619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:04:29] local.INFO: GPS data processed {"connection_id":45619,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:04:29] local.INFO: Acknowledgment sent {"connection_id":45619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:04:44] local.INFO: TCP Data received {"connection_id":45551,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:04:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:04:44] local.INFO: Processing buffer {"connection_id":45551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:04:44] local.INFO: Packet analysis {"connection_id":45551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:04:44] local.INFO: Extracted packet for processing {"connection_id":45551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:04:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:04: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-04-17 06:04:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754725120001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:04:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:04:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:04:44] 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-04-17 06:04:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776385946000,"timestamp_ms":1776385946000,"timestamp_seconds":1776385946,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da7190"} 
[2026-04-17 06:04:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:04:44] 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-04-17 06:04: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-04-17 06:04: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-04-17 06:04: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-04-17 06:04:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:04:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:04:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:04:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:04:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:04:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:04:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:04:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:04:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754725120001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:04:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:04:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:04:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754725120001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:04:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:04:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:04:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:04:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754725120001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:04:44] local.INFO: DEBUG: GPS processor result {"connection_id":45551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19487,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:04:44] local.INFO: GPS data processed {"connection_id":45551,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:04:44] local.INFO: Acknowledgment sent {"connection_id":45551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:04:52] local.INFO: TCP Data received {"connection_id":45620,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:04:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:04:52] local.INFO: Processing buffer {"connection_id":45620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:04:52] local.INFO: IMEI packet received {"connection_id":45620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:04:52] local.INFO: IMEI acknowledgment sent {"connection_id":45620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:04:57] local.INFO: TCP Data received {"connection_id":45620,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:04:57] local.INFO: Processing buffer {"connection_id":45620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:04:57] local.INFO: IMEI packet received {"connection_id":45620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:04:57] local.INFO: IMEI acknowledgment sent {"connection_id":45620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:04:58] local.INFO: TCP Data received {"connection_id":45620,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:04:58] local.INFO: Processing buffer {"connection_id":45620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:04:58] local.INFO: Packet analysis {"connection_id":45620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:04:58] local.INFO: Extracted packet for processing {"connection_id":45620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:04:58] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754721024001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776385930000,"timestamp_ms":1776385930000,"timestamp_seconds":1776385930,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da3310"} 
[2026-04-17 06:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 06:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754721024001,"66":25582,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754721024001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:04:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:04:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754721024001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":45620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19488,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:04:58] local.INFO: GPS data processed {"connection_id":45620,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:04:58] local.INFO: Acknowledgment sent {"connection_id":45620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:05:11] local.INFO: TCP Data received {"connection_id":45552,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:05:11] local.INFO: Processing buffer {"connection_id":45552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:05:11] local.INFO: IMEI packet received {"connection_id":45552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:05:11] local.INFO: IMEI acknowledgment sent {"connection_id":45552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:05:18] local.INFO: TCP Data received {"connection_id":45552,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:05:18] local.INFO: Processing buffer {"connection_id":45552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:05:18] local.INFO: IMEI packet received {"connection_id":45552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:05:18] local.INFO: IMEI acknowledgment sent {"connection_id":45552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:05:19] local.INFO: TCP Data received {"connection_id":45552,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:05:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:05:19] local.INFO: Processing buffer {"connection_id":45552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:05:19] local.INFO: Packet analysis {"connection_id":45552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:05:19] local.INFO: Extracted packet for processing {"connection_id":45552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:05:19] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:05:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754725120001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:05:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:05:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:05:19] 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-04-17 06:05:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776385946000,"timestamp_ms":1776385946000,"timestamp_seconds":1776385946,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da7190"} 
[2026-04-17 06:05:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:05:19] 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-04-17 06:05:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:05:19] 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-04-17 06:05:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:05:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:05:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:05:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:05:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:05:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:05:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:05:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:05:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:05:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754725120001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:05:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:05:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:05:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754725120001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:05:19] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:05:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:05:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:05:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754725120001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:05:19] local.INFO: DEBUG: GPS processor result {"connection_id":45552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19489,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:05:19] local.INFO: GPS data processed {"connection_id":45552,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:05:19] local.INFO: Acknowledgment sent {"connection_id":45552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:05:21] local.INFO: TCP Data received {"connection_id":45552,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:05:21] local.INFO: Processing buffer {"connection_id":45552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:05:21] local.INFO: Packet analysis {"connection_id":45552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:05:21] local.INFO: Extracted packet for processing {"connection_id":45552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754725120001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:05:21] 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-04-17 06:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776385946000,"timestamp_ms":1776385946000,"timestamp_seconds":1776385946,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da7190"} 
[2026-04-17 06:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:05:21] 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-04-17 06:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45552,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754725120001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754725120001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:05:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754725120001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":45552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19490,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:05:21] local.INFO: GPS data processed {"connection_id":45552,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:05:21] local.INFO: Acknowledgment sent {"connection_id":45552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:05:29] local.INFO: TCP Data received {"connection_id":45620,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:05:29] local.INFO: Processing buffer {"connection_id":45620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:05:29] local.INFO: Packet analysis {"connection_id":45620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:05:29] local.INFO: Extracted packet for processing {"connection_id":45620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:05:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754721024001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776385930000,"timestamp_ms":1776385930000,"timestamp_seconds":1776385930,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da3310"} 
[2026-04-17 06:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 06:05:29] 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-04-17 06: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-04-17 06:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:05: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-04-17 06:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754721024001,"66":25582,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754721024001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:05:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:05:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754721024001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":45620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:05:29] local.INFO: GPS data processed {"connection_id":45620,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:05:29] local.INFO: Acknowledgment sent {"connection_id":45620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:05:51] local.INFO: TCP Data received {"connection_id":45553,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:05:51] local.INFO: Processing buffer {"connection_id":45553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:05:51] local.INFO: IMEI packet received {"connection_id":45553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":45553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:05:57] local.INFO: TCP Data received {"connection_id":45553,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:05:57] local.INFO: Processing buffer {"connection_id":45553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:05:57] local.INFO: IMEI packet received {"connection_id":45553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":45553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:05:57] local.INFO: TCP Data received {"connection_id":45553,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:05:57] local.INFO: Processing buffer {"connection_id":45553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:05:57] local.INFO: Packet analysis {"connection_id":45553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:05:57] local.INFO: Extracted packet for processing {"connection_id":45553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:05:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754721024001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776385930000,"timestamp_ms":1776385930000,"timestamp_seconds":1776385930,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da3310"} 
[2026-04-17 06:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 06:05:57] 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-04-17 06:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:05:57] 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-04-17 06:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754721024001,"66":25582,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754721024001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:05:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:05:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754721024001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":45553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:05:57] local.INFO: GPS data processed {"connection_id":45553,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:05:57] local.INFO: Acknowledgment sent {"connection_id":45553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:06:06] local.INFO: TCP Data received {"connection_id":45816,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:06:06] local.INFO: Processing buffer {"connection_id":45816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:06:06] local.INFO: IMEI packet received {"connection_id":45816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":45816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:06:11] local.INFO: TCP Data received {"connection_id":45816,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:06:11] local.INFO: Processing buffer {"connection_id":45816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:06:11] local.INFO: IMEI packet received {"connection_id":45816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":45816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:06:12] local.INFO: TCP Data received {"connection_id":45816,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:06:12] local.INFO: Processing buffer {"connection_id":45816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:06:12] local.INFO: Packet analysis {"connection_id":45816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:06:12] local.INFO: Extracted packet for processing {"connection_id":45816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:06:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754725120001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:06:12] 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-04-17 06:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776385946000,"timestamp_ms":1776385946000,"timestamp_seconds":1776385946,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da7190"} 
[2026-04-17 06:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:06: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-04-17 06:06:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:06: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-04-17 06:06:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754725120001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754725120001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:06:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754725120001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":45816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19493,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:06:12] local.INFO: GPS data processed {"connection_id":45816,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:06:12] local.INFO: Acknowledgment sent {"connection_id":45816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:06:29] local.INFO: TCP Data received {"connection_id":45553,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:06:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:06:29] local.INFO: Processing buffer {"connection_id":45553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:06:29] local.INFO: Packet analysis {"connection_id":45553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:06:29] local.INFO: Extracted packet for processing {"connection_id":45553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:06:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:06:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754721024001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:06:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:06:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:06:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:06:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776385930000,"timestamp_ms":1776385930000,"timestamp_seconds":1776385930,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da3310"} 
[2026-04-17 06:06:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:06:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 06:06:29] 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-04-17 06: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-04-17 06:06:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:06:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:06:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:06:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:06:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:06: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-04-17 06:06:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:06:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:06:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754721024001,"66":25582,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:06:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:06:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:06:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754721024001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:06:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:06:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:06:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:06:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:06:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754721024001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:06:29] local.INFO: DEBUG: GPS processor result {"connection_id":45553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:06:29] local.INFO: GPS data processed {"connection_id":45553,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:06:29] local.INFO: Acknowledgment sent {"connection_id":45553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:06:43] local.INFO: TCP Data received {"connection_id":45816,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:06:44] local.INFO: Processing buffer {"connection_id":45816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:06:44] local.INFO: Packet analysis {"connection_id":45816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:06:44] local.INFO: Extracted packet for processing {"connection_id":45816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754725120001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:06:44] 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-04-17 06:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776385946000,"timestamp_ms":1776385946000,"timestamp_seconds":1776385946,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da7190"} 
[2026-04-17 06:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:06:44] 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-04-17 06: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-04-17 06: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-04-17 06: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-04-17 06:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754725120001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754725120001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:06:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754725120001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":45816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19495,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:06:44] local.INFO: GPS data processed {"connection_id":45816,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:06:44] local.INFO: Acknowledgment sent {"connection_id":45816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:06:51] local.INFO: TCP Data received {"connection_id":45554,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:06:51] local.INFO: Processing buffer {"connection_id":45554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:06:51] local.INFO: IMEI packet received {"connection_id":45554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":45554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:06:57] local.INFO: TCP Data received {"connection_id":45554,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:06:57] local.INFO: Processing buffer {"connection_id":45554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:06:57] local.INFO: IMEI packet received {"connection_id":45554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":45554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:06:59] local.INFO: TCP Data received {"connection_id":45554,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:06:59] local.INFO: Processing buffer {"connection_id":45554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:06:59] local.INFO: Packet analysis {"connection_id":45554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:06:59] local.INFO: Extracted packet for processing {"connection_id":45554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:06:59] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754721024001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776385930000,"timestamp_ms":1776385930000,"timestamp_seconds":1776385930,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da3310"} 
[2026-04-17 06:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 06:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":833,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754721024001,"66":25582,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754721024001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:06:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:06:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754721024001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":45554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:06:59] local.INFO: GPS data processed {"connection_id":45554,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:06:59] local.INFO: Acknowledgment sent {"connection_id":45554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:07:05] local.INFO: TCP Data received {"connection_id":45817,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45817,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:07:05] local.INFO: Processing buffer {"connection_id":45817,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:07:05] local.INFO: IMEI packet received {"connection_id":45817,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":45817,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:07:11] local.INFO: TCP Data received {"connection_id":45817,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45817,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:07:11] local.INFO: Processing buffer {"connection_id":45817,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:07:11] local.INFO: IMEI packet received {"connection_id":45817,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":45817,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:07:12] local.INFO: TCP Data received {"connection_id":45817,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:07:12] local.INFO: Processing buffer {"connection_id":45817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:07:12] local.INFO: Packet analysis {"connection_id":45817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:07:12] local.INFO: Extracted packet for processing {"connection_id":45817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:07:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754725120001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:07:12] 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-04-17 06:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776385946000,"timestamp_ms":1776385946000,"timestamp_seconds":1776385946,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da7190"} 
[2026-04-17 06:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:07: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-04-17 06:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:07: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-04-17 06:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45817,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45817,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754725120001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754725120001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:07:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754725120001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":45817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19497,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:07:12] local.INFO: GPS data processed {"connection_id":45817,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:07:12] local.INFO: Acknowledgment sent {"connection_id":45817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:07:31] local.INFO: TCP Data received {"connection_id":45554,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:07:31] local.INFO: Processing buffer {"connection_id":45554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da3310012d7fac4005afe1100005000033..."} 
[2026-04-17 06:07:31] local.INFO: Packet analysis {"connection_id":45554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:07:31] local.INFO: Extracted packet for processing {"connection_id":45554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:07:31] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:07:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754721024001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:07:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:07:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:07:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:07:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776385930000,"timestamp_ms":1776385930000,"timestamp_seconds":1776385930,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da3310"} 
[2026-04-17 06:07:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:07:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":100,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 06:07:31] 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-04-17 06: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-04-17 06:07:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:07:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:07:31] local.INFO: Teltonika packet parsed successfully {"connection_id":45554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:07:31] local.INFO: Passing IMEI to GPS processor {"connection_id":45554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:07:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":45554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:07:31] 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-04-17 06:07:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:07:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:07:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754721024001,"66":25582,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:07:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:07:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:07:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754721024001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:07:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:07:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:07:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:07:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:07:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754721024001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:07:31] local.INFO: DEBUG: GPS processor result {"connection_id":45554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:07:31] local.INFO: GPS data processed {"connection_id":45554,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:07:31] local.INFO: Acknowledgment sent {"connection_id":45554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:07:44] local.INFO: TCP Data received {"connection_id":45817,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:07:44] local.INFO: Processing buffer {"connection_id":45817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98da7190012d1b598006d4d5980011013831..."} 
[2026-04-17 06:07:44] local.INFO: Packet analysis {"connection_id":45817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:07:44] local.INFO: Extracted packet for processing {"connection_id":45817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98da"} 
[2026-04-17 06:07:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754725120001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:07:44] 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-04-17 06:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776385946000,"timestamp_ms":1776385946000,"timestamp_seconds":1776385946,"priority":1,"record_length":96,"hex_timestamp":"0000019d98da7190"} 
[2026-04-17 06:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:07:44] 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-04-17 06:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:07: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-04-17 06:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45817,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45817,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754725120001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754725120001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:07:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754725120001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":45817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19499,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:07:44] local.INFO: GPS data processed {"connection_id":45817,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:07:44] local.INFO: Acknowledgment sent {"connection_id":45817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:07:57] local.INFO: TCP Data received {"connection_id":45818,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:07:57] local.INFO: Processing buffer {"connection_id":45818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:07:57] local.INFO: IMEI packet received {"connection_id":45818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:07:57] local.INFO: IMEI acknowledgment sent {"connection_id":45818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:08:02] local.INFO: TCP Data received {"connection_id":45818,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:08:02] local.INFO: Processing buffer {"connection_id":45818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:08:02] local.INFO: IMEI packet received {"connection_id":45818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:08:02] local.INFO: IMEI acknowledgment sent {"connection_id":45818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:08:03] local.INFO: TCP Data received {"connection_id":45818,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:08:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:08:03] local.INFO: Processing buffer {"connection_id":45818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:08:03] local.INFO: Packet analysis {"connection_id":45818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:08:03] local.INFO: Extracted packet for processing {"connection_id":45818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:08:03] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:08:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754798080001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:08:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:08:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:08:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:08:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776386231000,"timestamp_ms":1776386231000,"timestamp_seconds":1776386231,"priority":1,"record_length":96,"hex_timestamp":"0000019d98decad8"} 
[2026-04-17 06:08:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:08:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:08:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 06:08:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:08:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:08:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:08:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:08:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:08:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:08:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:08:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:08:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:08:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754798080001,"66":25517,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:08:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:08:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:08:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754798080001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:08:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:08:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:08:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:08:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:08:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754798080001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:08:03] local.INFO: DEBUG: GPS processor result {"connection_id":45818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:08:03] local.INFO: GPS data processed {"connection_id":45818,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:08:03] local.INFO: Acknowledgment sent {"connection_id":45818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:08:07] local.INFO: TCP Data received {"connection_id":45818,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:08:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:08:07] local.INFO: Processing buffer {"connection_id":45818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:08:07] local.INFO: Packet analysis {"connection_id":45818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:08:07] local.INFO: Extracted packet for processing {"connection_id":45818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:08:07] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:08:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754798080001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:08:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:08:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:08:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:08:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776386231000,"timestamp_ms":1776386231000,"timestamp_seconds":1776386231,"priority":1,"record_length":96,"hex_timestamp":"0000019d98decad8"} 
[2026-04-17 06:08:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:08:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 06:08:07] 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-04-17 06: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-04-17 06:08:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:08:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:08:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:08:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:08:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:08:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:08:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:08:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:08:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754798080001,"66":25517,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:08:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:08:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:08:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754798080001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:08:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:08:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:08:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:08:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:08:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754798080001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:08:07] local.INFO: DEBUG: GPS processor result {"connection_id":45818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:08:07] local.INFO: GPS data processed {"connection_id":45818,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:08:07] local.INFO: Acknowledgment sent {"connection_id":45818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:08:11] local.INFO: TCP Data received {"connection_id":45555,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:08:11] local.INFO: Processing buffer {"connection_id":45555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:08:11] local.INFO: IMEI packet received {"connection_id":45555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":45555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:08:18] local.INFO: TCP Data received {"connection_id":45555,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45555,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:08:18] local.INFO: Processing buffer {"connection_id":45555,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:08:18] local.INFO: IMEI packet received {"connection_id":45555,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:08:18] local.INFO: IMEI acknowledgment sent {"connection_id":45555,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:08:19] local.INFO: TCP Data received {"connection_id":45555,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:08:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:08:19] local.INFO: Processing buffer {"connection_id":45555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:08:19] local.INFO: Packet analysis {"connection_id":45555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:08:19] local.INFO: Extracted packet for processing {"connection_id":45555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:08:19] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:08:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754802176001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:08:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:08:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:08:19] 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-04-17 06:08:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776386247000,"timestamp_ms":1776386247000,"timestamp_seconds":1776386247,"priority":1,"record_length":96,"hex_timestamp":"0000019d98df0958"} 
[2026-04-17 06:08:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:08:19] 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-04-17 06:08:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:08:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:08:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:08:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:08:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:08:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:08:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:08:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:08:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:08:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:08:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:08:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754802176001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:08:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:08:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:08:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754802176001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:08:19] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:08:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:08:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:08:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754802176001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:08:19] local.INFO: DEBUG: GPS processor result {"connection_id":45555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19502,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:08:19] local.INFO: GPS data processed {"connection_id":45555,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:08:19] local.INFO: Acknowledgment sent {"connection_id":45555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:08:21] local.INFO: TCP Data received {"connection_id":45555,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:08:21] local.INFO: Processing buffer {"connection_id":45555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:08:21] local.INFO: Packet analysis {"connection_id":45555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:08:21] local.INFO: Extracted packet for processing {"connection_id":45555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:08:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:08:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754802176001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:08:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:08:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:08:21] 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-04-17 06:08:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776386247000,"timestamp_ms":1776386247000,"timestamp_seconds":1776386247,"priority":1,"record_length":96,"hex_timestamp":"0000019d98df0958"} 
[2026-04-17 06:08:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:08:21] 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-04-17 06:08:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:08:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:08:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:08:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:08:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:08:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:08:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:08:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45555,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:08:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:08:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:08:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:08:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754802176001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:08:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:08:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:08:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754802176001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:08:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:08:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:08:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:08:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754802176001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:08:21] local.INFO: DEBUG: GPS processor result {"connection_id":45555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19503,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:08:21] local.INFO: GPS data processed {"connection_id":45555,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:08:21] local.INFO: Acknowledgment sent {"connection_id":45555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:08:52] local.INFO: TCP Data received {"connection_id":45621,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:08:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:08:52] local.INFO: Processing buffer {"connection_id":45621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:08:52] local.INFO: IMEI packet received {"connection_id":45621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:08:52] local.INFO: IMEI acknowledgment sent {"connection_id":45621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:08:57] local.INFO: TCP Data received {"connection_id":45621,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45621,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:08:57] local.INFO: Processing buffer {"connection_id":45621,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:08:57] local.INFO: IMEI packet received {"connection_id":45621,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":45621,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:08:57] local.INFO: TCP Data received {"connection_id":45621,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:08:58] local.INFO: Processing buffer {"connection_id":45621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:08:58] local.INFO: Packet analysis {"connection_id":45621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:08:58] local.INFO: Extracted packet for processing {"connection_id":45621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:08:58] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754798080001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776386231000,"timestamp_ms":1776386231000,"timestamp_seconds":1776386231,"priority":1,"record_length":96,"hex_timestamp":"0000019d98decad8"} 
[2026-04-17 06:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:08:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 06:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:08:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754798080001,"66":25517,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754798080001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:08:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:08:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754798080001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":45621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19504,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:08:58] local.INFO: GPS data processed {"connection_id":45621,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:08:58] local.INFO: Acknowledgment sent {"connection_id":45621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:09:11] local.INFO: TCP Data received {"connection_id":46370,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:09:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:09:11] local.INFO: Processing buffer {"connection_id":46370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:09:11] local.INFO: IMEI packet received {"connection_id":46370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:09:11] local.INFO: IMEI acknowledgment sent {"connection_id":46370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:09:16] local.INFO: TCP Data received {"connection_id":46370,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:09:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46370,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:09:16] local.INFO: Processing buffer {"connection_id":46370,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:09:16] local.INFO: IMEI packet received {"connection_id":46370,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:09:16] local.INFO: IMEI acknowledgment sent {"connection_id":46370,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:09:20] local.INFO: TCP Data received {"connection_id":46370,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:09:20] local.INFO: Processing buffer {"connection_id":46370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:09:20] local.INFO: Packet analysis {"connection_id":46370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:09:20] local.INFO: Extracted packet for processing {"connection_id":46370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:09:20] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:09:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754802176001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:09:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:09:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:09:20] 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-04-17 06:09:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776386247000,"timestamp_ms":1776386247000,"timestamp_seconds":1776386247,"priority":1,"record_length":96,"hex_timestamp":"0000019d98df0958"} 
[2026-04-17 06:09:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:09:20] 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-04-17 06:09:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:09:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:09:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:09:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:09:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:09:20] local.INFO: Teltonika packet parsed successfully {"connection_id":46370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:09:20] local.INFO: Passing IMEI to GPS processor {"connection_id":46370,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:09:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":46370,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:09:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:09:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:09:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:09:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754802176001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:09:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:09:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:09:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754802176001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:09:20] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:09:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:09:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:09:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754802176001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:09:20] local.INFO: DEBUG: GPS processor result {"connection_id":46370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19505,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:09:20] local.INFO: GPS data processed {"connection_id":46370,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:09:20] local.INFO: Acknowledgment sent {"connection_id":46370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:09:24] local.INFO: TCP Data received {"connection_id":46370,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:09:24] local.INFO: Processing buffer {"connection_id":46370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:09:24] local.INFO: Packet analysis {"connection_id":46370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:09:24] local.INFO: Extracted packet for processing {"connection_id":46370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:09:24] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754802176001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:09:24] 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-04-17 06:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776386247000,"timestamp_ms":1776386247000,"timestamp_seconds":1776386247,"priority":1,"record_length":96,"hex_timestamp":"0000019d98df0958"} 
[2026-04-17 06:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:09:24] 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-04-17 06:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:09:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46370,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46370,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754802176001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754802176001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:09:24] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754802176001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":46370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19506,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:09:24] local.INFO: GPS data processed {"connection_id":46370,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:09:24] local.INFO: Acknowledgment sent {"connection_id":46370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:09:29] local.INFO: TCP Data received {"connection_id":45621,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:09:29] local.INFO: Processing buffer {"connection_id":45621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:09:29] local.INFO: Packet analysis {"connection_id":45621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:09:29] local.INFO: Extracted packet for processing {"connection_id":45621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:09:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754798080001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776386231000,"timestamp_ms":1776386231000,"timestamp_seconds":1776386231,"priority":1,"record_length":96,"hex_timestamp":"0000019d98decad8"} 
[2026-04-17 06:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":238,"data_length":795,"current_offset":136} 
[2026-04-17 06:09: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-04-17 06: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-04-17 06:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45621,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:09:29] 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-04-17 06:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754798080001,"66":25517,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754798080001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:09:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:09:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754798080001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":45621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:09:29] local.INFO: GPS data processed {"connection_id":45621,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:09:29] local.INFO: Acknowledgment sent {"connection_id":45621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:09:52] local.INFO: TCP Data received {"connection_id":45819,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:09:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:09:52] local.INFO: Processing buffer {"connection_id":45819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:09:52] local.INFO: IMEI packet received {"connection_id":45819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:09:52] local.INFO: IMEI acknowledgment sent {"connection_id":45819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:09:57] local.INFO: TCP Data received {"connection_id":45819,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:09:57] local.INFO: Processing buffer {"connection_id":45819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:09:57] local.INFO: IMEI packet received {"connection_id":45819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:09:57] local.INFO: IMEI acknowledgment sent {"connection_id":45819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:09:57] local.INFO: TCP Data received {"connection_id":45819,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:09:57] local.INFO: Processing buffer {"connection_id":45819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:09:57] local.INFO: Packet analysis {"connection_id":45819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:09:57] local.INFO: Extracted packet for processing {"connection_id":45819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754798080001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776386231000,"timestamp_ms":1776386231000,"timestamp_seconds":1776386231,"priority":1,"record_length":96,"hex_timestamp":"0000019d98decad8"} 
[2026-04-17 06:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 06:09:57] 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-04-17 06:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754798080001,"66":25517,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754798080001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:09:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:09:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754798080001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":45819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19508,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:09:57] local.INFO: GPS data processed {"connection_id":45819,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:09:57] local.INFO: Acknowledgment sent {"connection_id":45819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:10:05] local.INFO: TCP Data received {"connection_id":45556,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:10:05] local.INFO: Processing buffer {"connection_id":45556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:10:05] local.INFO: IMEI packet received {"connection_id":45556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":45556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:10:12] local.INFO: TCP Data received {"connection_id":45556,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45556,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:10:12] local.INFO: Processing buffer {"connection_id":45556,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:10:12] local.INFO: IMEI packet received {"connection_id":45556,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:10:12] local.INFO: IMEI acknowledgment sent {"connection_id":45556,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:10:13] local.INFO: TCP Data received {"connection_id":45556,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:10:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:10:13] local.INFO: Processing buffer {"connection_id":45556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:10:13] local.INFO: Packet analysis {"connection_id":45556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:10:13] local.INFO: Extracted packet for processing {"connection_id":45556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:10:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:10:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754802176001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:10:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:10:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:10:13] 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-04-17 06:10:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776386247000,"timestamp_ms":1776386247000,"timestamp_seconds":1776386247,"priority":1,"record_length":96,"hex_timestamp":"0000019d98df0958"} 
[2026-04-17 06:10:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:10:13] 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-04-17 06:10:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:10:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:10:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:10:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:10:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:10:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:10:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:10:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:10:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:10:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:10:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754802176001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:10:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:10:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:10:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754802176001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:10:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:10:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:10:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:10:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754802176001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:10:13] local.INFO: DEBUG: GPS processor result {"connection_id":45556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19509,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:10:13] local.INFO: GPS data processed {"connection_id":45556,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:10:13] local.INFO: Acknowledgment sent {"connection_id":45556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:10:28] local.INFO: TCP Data received {"connection_id":45819,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:10:28] local.INFO: Processing buffer {"connection_id":45819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:10:28] local.INFO: Packet analysis {"connection_id":45819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:10:28] local.INFO: Extracted packet for processing {"connection_id":45819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754798080001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776386231000,"timestamp_ms":1776386231000,"timestamp_seconds":1776386231,"priority":1,"record_length":96,"hex_timestamp":"0000019d98decad8"} 
[2026-04-17 06:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 06:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754798080001,"66":25517,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754798080001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:10:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754798080001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":45819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:10:28] local.INFO: GPS data processed {"connection_id":45819,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:10:28] local.INFO: Acknowledgment sent {"connection_id":45819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:10:45] local.INFO: TCP Data received {"connection_id":45556,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:10:45] local.INFO: Processing buffer {"connection_id":45556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:10:45] local.INFO: Packet analysis {"connection_id":45556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:10:45] local.INFO: Extracted packet for processing {"connection_id":45556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:10:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754802176001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:10:45] 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-04-17 06:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776386247000,"timestamp_ms":1776386247000,"timestamp_seconds":1776386247,"priority":1,"record_length":96,"hex_timestamp":"0000019d98df0958"} 
[2026-04-17 06:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:10:45] 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-04-17 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:10: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-04-17 06: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-04-17 06:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45556,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754802176001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754802176001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:10:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754802176001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":45556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19511,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:10:45] local.INFO: GPS data processed {"connection_id":45556,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:10:45] local.INFO: Acknowledgment sent {"connection_id":45556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:10:51] local.INFO: TCP Data received {"connection_id":45622,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:10:51] local.INFO: Processing buffer {"connection_id":45622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:10:51] local.INFO: IMEI packet received {"connection_id":45622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":45622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:10:57] local.INFO: TCP Data received {"connection_id":45622,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45622,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:10:57] local.INFO: Processing buffer {"connection_id":45622,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:10:57] local.INFO: IMEI packet received {"connection_id":45622,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":45622,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:10:58] local.INFO: TCP Data received {"connection_id":45622,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:10:58] local.INFO: Processing buffer {"connection_id":45622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:10:58] local.INFO: Packet analysis {"connection_id":45622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:10:58] local.INFO: Extracted packet for processing {"connection_id":45622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:10:58] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754798080001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776386231000,"timestamp_ms":1776386231000,"timestamp_seconds":1776386231,"priority":1,"record_length":96,"hex_timestamp":"0000019d98decad8"} 
[2026-04-17 06:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:10:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 06:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754798080001,"66":25517,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754798080001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:10:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:10:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754798080001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":45622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:10:58] local.INFO: GPS data processed {"connection_id":45622,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:10:58] local.INFO: Acknowledgment sent {"connection_id":45622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:11:23] local.INFO: TCP Data received {"connection_id":45557,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:11:23] local.INFO: Processing buffer {"connection_id":45557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:11:23] local.INFO: IMEI packet received {"connection_id":45557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":45557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:11:23] local.INFO: TCP Data received {"connection_id":45557,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45557,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:11:23] local.INFO: Processing buffer {"connection_id":45557,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:11:23] local.INFO: IMEI packet received {"connection_id":45557,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":45557,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:11:25] local.INFO: TCP Data received {"connection_id":45557,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:11:25] local.INFO: Processing buffer {"connection_id":45557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:11:25] local.INFO: Packet analysis {"connection_id":45557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:11:25] local.INFO: Extracted packet for processing {"connection_id":45557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:11:25] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754802176001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:11:25] 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-04-17 06:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776386247000,"timestamp_ms":1776386247000,"timestamp_seconds":1776386247,"priority":1,"record_length":96,"hex_timestamp":"0000019d98df0958"} 
[2026-04-17 06:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:11:25] 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-04-17 06:11:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":45557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":45557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":45557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754802176001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754802176001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:11:25] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754802176001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":45557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19513,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:11:25] local.INFO: GPS data processed {"connection_id":45557,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:11:25] local.INFO: Acknowledgment sent {"connection_id":45557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:11:26] local.INFO: TCP Data received {"connection_id":45557,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:11:26] local.INFO: Processing buffer {"connection_id":45557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:11:26] local.INFO: Packet analysis {"connection_id":45557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:11:26] local.INFO: Extracted packet for processing {"connection_id":45557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:11:26] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754802176001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:11:26] 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-04-17 06:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776386247000,"timestamp_ms":1776386247000,"timestamp_seconds":1776386247,"priority":1,"record_length":96,"hex_timestamp":"0000019d98df0958"} 
[2026-04-17 06:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:11:26] 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-04-17 06:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:11:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45557,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754802176001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754802176001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:11:26] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754802176001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":45557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19514,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:11:26] local.INFO: GPS data processed {"connection_id":45557,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:11:26] local.INFO: Acknowledgment sent {"connection_id":45557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:11:30] local.INFO: TCP Data received {"connection_id":45622,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:11:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:11:30] local.INFO: Processing buffer {"connection_id":45622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:11:30] local.INFO: Packet analysis {"connection_id":45622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:11:30] local.INFO: Extracted packet for processing {"connection_id":45622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:11:30] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:11:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754798080001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:11:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:11:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:11:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:11:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776386231000,"timestamp_ms":1776386231000,"timestamp_seconds":1776386231,"priority":1,"record_length":96,"hex_timestamp":"0000019d98decad8"} 
[2026-04-17 06:11:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:11:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":238,"data_length":795,"current_offset":136} 
[2026-04-17 06:11: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-04-17 06: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-04-17 06:11:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:11:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:11:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:11:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:11:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45622,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:11: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-04-17 06:11:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:11:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:11:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754798080001,"66":25517,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:11:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:11:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:11:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754798080001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:11:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:11:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:11:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:11:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:11:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754798080001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:11:30] local.INFO: DEBUG: GPS processor result {"connection_id":45622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:11:30] local.INFO: GPS data processed {"connection_id":45622,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:11:30] local.INFO: Acknowledgment sent {"connection_id":45622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:11:51] local.INFO: TCP Data received {"connection_id":46371,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:11:51] local.INFO: Processing buffer {"connection_id":46371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:11:51] local.INFO: IMEI packet received {"connection_id":46371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":46371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:11:57] local.INFO: TCP Data received {"connection_id":46371,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46371,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:11:57] local.INFO: Processing buffer {"connection_id":46371,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:11:57] local.INFO: IMEI packet received {"connection_id":46371,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":46371,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:11:57] local.INFO: TCP Data received {"connection_id":46371,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:11:57] local.INFO: Processing buffer {"connection_id":46371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:11:57] local.INFO: Packet analysis {"connection_id":46371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:11:57] local.INFO: Extracted packet for processing {"connection_id":46371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:11:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754798080001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776386231000,"timestamp_ms":1776386231000,"timestamp_seconds":1776386231,"priority":1,"record_length":96,"hex_timestamp":"0000019d98decad8"} 
[2026-04-17 06:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 06:11:57] 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-04-17 06: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-04-17 06:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754798080001,"66":25517,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754798080001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:11:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:11:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754798080001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":46371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:11:57] local.INFO: GPS data processed {"connection_id":46371,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:11:57] local.INFO: Acknowledgment sent {"connection_id":46371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:12:06] local.INFO: TCP Data received {"connection_id":45623,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:12:06] local.INFO: Processing buffer {"connection_id":45623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:12:06] local.INFO: IMEI packet received {"connection_id":45623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":45623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:12:13] local.INFO: TCP Data received {"connection_id":45623,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45623,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:12:13] local.INFO: Processing buffer {"connection_id":45623,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:12:13] local.INFO: IMEI packet received {"connection_id":45623,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:12:13] local.INFO: IMEI acknowledgment sent {"connection_id":45623,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:12:14] local.INFO: TCP Data received {"connection_id":45623,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:12:14] local.INFO: Processing buffer {"connection_id":45623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:12:14] local.INFO: Packet analysis {"connection_id":45623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:12:14] local.INFO: Extracted packet for processing {"connection_id":45623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:12:14] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754802176001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:12:14] 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-04-17 06:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776386247000,"timestamp_ms":1776386247000,"timestamp_seconds":1776386247,"priority":1,"record_length":96,"hex_timestamp":"0000019d98df0958"} 
[2026-04-17 06:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:12:14] 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-04-17 06:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754802176001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754802176001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:12:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754802176001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":45623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19517,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:12:14] local.INFO: GPS data processed {"connection_id":45623,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:12:14] local.INFO: Acknowledgment sent {"connection_id":45623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:12:29] local.INFO: TCP Data received {"connection_id":46371,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46371,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:12:29] local.INFO: Processing buffer {"connection_id":46371,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98decad8012d7fac4005afe1100005000031..."} 
[2026-04-17 06:12:29] local.INFO: Packet analysis {"connection_id":46371,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:12:29] local.INFO: Extracted packet for processing {"connection_id":46371,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98de"} 
[2026-04-17 06:12:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":5,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754798080001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776386231000,"timestamp_ms":1776386231000,"timestamp_seconds":1776386231,"priority":1,"record_length":96,"hex_timestamp":"0000019d98decad8"} 
[2026-04-17 06:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":238,"data_length":795,"current_offset":136} 
[2026-04-17 06:12: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-04-17 06: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-04-17 06:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46371,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46371,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:12: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-04-17 06:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754798080001,"66":25517,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754798080001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:12:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:12:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754798080001,"power":25517,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":46371,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:12:29] local.INFO: GPS data processed {"connection_id":46371,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:12:29] local.INFO: Acknowledgment sent {"connection_id":46371,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:12:48] local.INFO: TCP Data received {"connection_id":45623,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:12:48] local.INFO: Processing buffer {"connection_id":45623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98df0958012d1b598006d4d5980011013831..."} 
[2026-04-17 06:12:48] local.INFO: Packet analysis {"connection_id":45623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:12:48] local.INFO: Extracted packet for processing {"connection_id":45623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98df"} 
[2026-04-17 06:12:48] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:12:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754802176001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:12:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:12:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:12:48] 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-04-17 06:12:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776386247000,"timestamp_ms":1776386247000,"timestamp_seconds":1776386247,"priority":1,"record_length":96,"hex_timestamp":"0000019d98df0958"} 
[2026-04-17 06:12:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:12:48] 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-04-17 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:12: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-04-17 06: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-04-17 06:12:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:12:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:12:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:12:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:12:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45623,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:12:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:12:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:12:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:12:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754802176001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:12:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:12:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:12:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754802176001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:12:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:12:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:12:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:12:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754802176001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:12:48] local.INFO: DEBUG: GPS processor result {"connection_id":45623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19519,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:12:48] local.INFO: GPS data processed {"connection_id":45623,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:12:48] local.INFO: Acknowledgment sent {"connection_id":45623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:12:57] local.INFO: TCP Data received {"connection_id":45820,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:12:57] local.INFO: Processing buffer {"connection_id":45820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:12:57] local.INFO: IMEI packet received {"connection_id":45820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:12:57] local.INFO: IMEI acknowledgment sent {"connection_id":45820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:13:02] local.INFO: TCP Data received {"connection_id":45820,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45820,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:13:02] local.INFO: Processing buffer {"connection_id":45820,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:13:02] local.INFO: IMEI packet received {"connection_id":45820,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:13:02] local.INFO: IMEI acknowledgment sent {"connection_id":45820,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:13:02] local.INFO: TCP Data received {"connection_id":45820,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:13:02] local.INFO: Processing buffer {"connection_id":45820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:13:02] local.INFO: Packet analysis {"connection_id":45820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:13:02] local.INFO: Extracted packet for processing {"connection_id":45820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":2,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 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-04-17 06:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754875136001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776386532000,"timestamp_ms":1776386532000,"timestamp_seconds":1776386532,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e362a0"} 
[2026-04-17 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-04-17 06:13:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 06:13:02] 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-04-17 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-04-17 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-04-17 06:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754875136001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754875136001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:13:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754875136001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":45820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:13:02] local.INFO: GPS data processed {"connection_id":45820,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:13:02] local.INFO: Acknowledgment sent {"connection_id":45820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:13:05] local.INFO: TCP Data received {"connection_id":45624,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:13:05] local.INFO: Processing buffer {"connection_id":45624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:13:05] local.INFO: IMEI packet received {"connection_id":45624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":45624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:13:06] local.INFO: TCP Data received {"connection_id":45624,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:13:06] local.INFO: Processing buffer {"connection_id":45624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:13:06] local.INFO: IMEI packet received {"connection_id":45624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:13:06] local.INFO: IMEI acknowledgment sent {"connection_id":45624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:13:27] local.INFO: TCP Data received {"connection_id":45624,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:13:27] local.INFO: Processing buffer {"connection_id":45624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:13:27] local.INFO: IMEI packet received {"connection_id":45624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":45624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:13:31] local.INFO: TCP Data received {"connection_id":45624,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:13:31] local.INFO: Processing buffer {"connection_id":45624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:13:31] local.INFO: Packet analysis {"connection_id":45624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:13:31] local.INFO: Extracted packet for processing {"connection_id":45624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754879232001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:13:31] 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-04-17 06:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776386548000,"timestamp_ms":1776386548000,"timestamp_seconds":1776386548,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e3a120"} 
[2026-04-17 06:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:13:31] 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-04-17 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":45624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":45624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":45624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754879232001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754879232001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:13:31] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754879232001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":45624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19521,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:13:31] local.INFO: GPS data processed {"connection_id":45624,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:13:31] local.INFO: Acknowledgment sent {"connection_id":45624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:13:33] local.INFO: TCP Data received {"connection_id":45820,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:13:33] local.INFO: Processing buffer {"connection_id":45820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:13:33] local.INFO: Packet analysis {"connection_id":45820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:13:33] local.INFO: Extracted packet for processing {"connection_id":45820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":2,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754875136001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776386532000,"timestamp_ms":1776386532000,"timestamp_seconds":1776386532,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e362a0"} 
[2026-04-17 06:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:13: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-04-17 06:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 06:13:33] 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-04-17 06: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-04-17 06:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45820,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754875136001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754875136001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:13:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754875136001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":45820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:13:33] local.INFO: GPS data processed {"connection_id":45820,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:13:33] local.INFO: Acknowledgment sent {"connection_id":45820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:13:52] local.INFO: TCP Data received {"connection_id":46372,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:13:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:13:52] local.INFO: Processing buffer {"connection_id":46372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:13:52] local.INFO: IMEI packet received {"connection_id":46372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:13:52] local.INFO: IMEI acknowledgment sent {"connection_id":46372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:13:57] local.INFO: TCP Data received {"connection_id":46372,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46372,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:13:57] local.INFO: Processing buffer {"connection_id":46372,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:13:57] local.INFO: IMEI packet received {"connection_id":46372,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":46372,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:13:57] local.INFO: TCP Data received {"connection_id":46372,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:13:57] local.INFO: Processing buffer {"connection_id":46372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:13:57] local.INFO: Packet analysis {"connection_id":46372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:13:57] local.INFO: Extracted packet for processing {"connection_id":46372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:13:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":2,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754875136001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776386532000,"timestamp_ms":1776386532000,"timestamp_seconds":1776386532,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e362a0"} 
[2026-04-17 06:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 06:13:57] 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-04-17 06:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:13:57] 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-04-17 06:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754875136001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754875136001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:13:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:13:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754875136001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":46372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19523,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:13:57] local.INFO: GPS data processed {"connection_id":46372,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:13:57] local.INFO: Acknowledgment sent {"connection_id":46372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:14:05] local.INFO: TCP Data received {"connection_id":45625,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:14:05] local.INFO: Processing buffer {"connection_id":45625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:14:05] local.INFO: IMEI packet received {"connection_id":45625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":45625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:14:13] local.INFO: TCP Data received {"connection_id":45625,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:14:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:14:13] local.INFO: Processing buffer {"connection_id":45625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:14:13] local.INFO: IMEI packet received {"connection_id":45625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:14:13] local.INFO: IMEI acknowledgment sent {"connection_id":45625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:14:14] local.INFO: TCP Data received {"connection_id":45625,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:14:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:14:14] local.INFO: Processing buffer {"connection_id":45625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:14:14] local.INFO: Packet analysis {"connection_id":45625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:14:14] local.INFO: Extracted packet for processing {"connection_id":45625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:14:14] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:14:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754879232001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:14:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:14:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:14:14] 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-04-17 06:14:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776386548000,"timestamp_ms":1776386548000,"timestamp_seconds":1776386548,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e3a120"} 
[2026-04-17 06:14:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:14:14] 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-04-17 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:14:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:14:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:14:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:14:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:14:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:14:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:14:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:14:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:14:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:14:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754879232001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:14:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:14:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:14:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754879232001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:14:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:14:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:14:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:14:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754879232001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:14:14] local.INFO: DEBUG: GPS processor result {"connection_id":45625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19524,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:14:14] local.INFO: GPS data processed {"connection_id":45625,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:14:14] local.INFO: Acknowledgment sent {"connection_id":45625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:14:28] local.INFO: TCP Data received {"connection_id":46372,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:14:28] local.INFO: Processing buffer {"connection_id":46372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:14:28] local.INFO: Packet analysis {"connection_id":46372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:14:28] local.INFO: Extracted packet for processing {"connection_id":46372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:14:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":2,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754875136001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776386532000,"timestamp_ms":1776386532000,"timestamp_seconds":1776386532,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e362a0"} 
[2026-04-17 06:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 06:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46372,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754875136001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754875136001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:14:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:14:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754875136001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":46372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19525,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:14:29] local.INFO: GPS data processed {"connection_id":46372,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:14:29] local.INFO: Acknowledgment sent {"connection_id":46372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:14:46] local.INFO: TCP Data received {"connection_id":45625,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:14:46] local.INFO: Processing buffer {"connection_id":45625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:14:46] local.INFO: Packet analysis {"connection_id":45625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:14:46] local.INFO: Extracted packet for processing {"connection_id":45625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:14:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754879232001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:14:46] 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-04-17 06:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776386548000,"timestamp_ms":1776386548000,"timestamp_seconds":1776386548,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e3a120"} 
[2026-04-17 06:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:14:46] 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-04-17 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:14: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-04-17 06: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-04-17 06:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754879232001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754879232001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:14:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754879232001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:14:47] local.INFO: DEBUG: GPS processor result {"connection_id":45625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19526,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:14:47] local.INFO: GPS data processed {"connection_id":45625,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:14:47] local.INFO: Acknowledgment sent {"connection_id":45625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:14:51] local.INFO: TCP Data received {"connection_id":45821,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:14:51] local.INFO: Processing buffer {"connection_id":45821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:14:51] local.INFO: IMEI packet received {"connection_id":45821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":45821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:14:57] local.INFO: TCP Data received {"connection_id":45821,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:14:57] local.INFO: Processing buffer {"connection_id":45821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:14:57] local.INFO: IMEI packet received {"connection_id":45821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":45821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:14:57] local.INFO: TCP Data received {"connection_id":45821,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:14:57] local.INFO: Processing buffer {"connection_id":45821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:14:57] local.INFO: Packet analysis {"connection_id":45821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:14:57] local.INFO: Extracted packet for processing {"connection_id":45821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:14:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":2,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754875136001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776386532000,"timestamp_ms":1776386532000,"timestamp_seconds":1776386532,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e362a0"} 
[2026-04-17 06:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 06:14:57] 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-04-17 06:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754875136001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754875136001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:14:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:14:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754875136001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":45821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:14:57] local.INFO: GPS data processed {"connection_id":45821,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:14:57] local.INFO: Acknowledgment sent {"connection_id":45821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:15:05] local.INFO: TCP Data received {"connection_id":45558,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:15:05] local.INFO: Processing buffer {"connection_id":45558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:15:05] local.INFO: IMEI packet received {"connection_id":45558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":45558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:15:11] local.INFO: TCP Data received {"connection_id":45558,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45558,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:15:11] local.INFO: Processing buffer {"connection_id":45558,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:15:11] local.INFO: IMEI packet received {"connection_id":45558,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":45558,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:15:13] local.INFO: TCP Data received {"connection_id":45558,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:15:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:15:13] local.INFO: Processing buffer {"connection_id":45558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:15:13] local.INFO: Packet analysis {"connection_id":45558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:15:13] local.INFO: Extracted packet for processing {"connection_id":45558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:15:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:15:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754879232001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:15:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:15:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:15:13] 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-04-17 06:15:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776386548000,"timestamp_ms":1776386548000,"timestamp_seconds":1776386548,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e3a120"} 
[2026-04-17 06:15:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:15:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:15:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:15: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-04-17 06:15:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:15:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:15:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:15:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:15:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:15:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:15:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:15:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:15:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:15:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754879232001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:15:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:15:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:15:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754879232001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:15:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:15:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:15:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:15:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754879232001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:15:13] local.INFO: DEBUG: GPS processor result {"connection_id":45558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19528,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:15:13] local.INFO: GPS data processed {"connection_id":45558,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:15:13] local.INFO: Acknowledgment sent {"connection_id":45558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:15:29] local.INFO: TCP Data received {"connection_id":45821,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:15:29] local.INFO: Processing buffer {"connection_id":45821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:15:29] local.INFO: Packet analysis {"connection_id":45821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:15:29] local.INFO: Extracted packet for processing {"connection_id":45821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:15:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":2,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754875136001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776386532000,"timestamp_ms":1776386532000,"timestamp_seconds":1776386532,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e362a0"} 
[2026-04-17 06:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":173,"data_length":795,"current_offset":136} 
[2026-04-17 06:15:29] 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-04-17 06: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-04-17 06:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:15:29] 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-04-17 06:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754875136001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754875136001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:15:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:15:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754875136001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":45821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:15:29] local.INFO: GPS data processed {"connection_id":45821,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:15:29] local.INFO: Acknowledgment sent {"connection_id":45821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:15:45] local.INFO: TCP Data received {"connection_id":45558,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:15:45] local.INFO: Processing buffer {"connection_id":45558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:15:45] local.INFO: Packet analysis {"connection_id":45558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:15:45] local.INFO: Extracted packet for processing {"connection_id":45558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754879232001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:15:45] 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-04-17 06:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776386548000,"timestamp_ms":1776386548000,"timestamp_seconds":1776386548,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e3a120"} 
[2026-04-17 06:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:15:45] 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-04-17 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:15: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-04-17 06: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-04-17 06:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45558,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754879232001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754879232001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:15:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754879232001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":45558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:15:45] local.INFO: GPS data processed {"connection_id":45558,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:15:45] local.INFO: Acknowledgment sent {"connection_id":45558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:15:51] local.INFO: TCP Data received {"connection_id":46373,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:15:51] local.INFO: Processing buffer {"connection_id":46373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:15:51] local.INFO: IMEI packet received {"connection_id":46373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":46373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:15:57] local.INFO: TCP Data received {"connection_id":46373,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:15:57] local.INFO: Processing buffer {"connection_id":46373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:15:57] local.INFO: IMEI packet received {"connection_id":46373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:15:57] local.INFO: IMEI acknowledgment sent {"connection_id":46373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:15:57] local.INFO: TCP Data received {"connection_id":46373,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:15:57] local.INFO: Processing buffer {"connection_id":46373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:15:57] local.INFO: Packet analysis {"connection_id":46373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:15:57] local.INFO: Extracted packet for processing {"connection_id":46373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:15:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":2,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754875136001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776386532000,"timestamp_ms":1776386532000,"timestamp_seconds":1776386532,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e362a0"} 
[2026-04-17 06:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 06:15:57] 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-04-17 06:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754875136001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754875136001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:15:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:15:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754875136001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":46373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:15:57] local.INFO: GPS data processed {"connection_id":46373,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:15:57] local.INFO: Acknowledgment sent {"connection_id":46373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:16:05] local.INFO: TCP Data received {"connection_id":45559,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:16:05] local.INFO: Processing buffer {"connection_id":45559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:16:05] local.INFO: IMEI packet received {"connection_id":45559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":45559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:16:11] local.INFO: TCP Data received {"connection_id":45559,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:16:11] local.INFO: Processing buffer {"connection_id":45559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:16:11] local.INFO: IMEI packet received {"connection_id":45559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:16:11] local.INFO: IMEI acknowledgment sent {"connection_id":45559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:16:12] local.INFO: TCP Data received {"connection_id":45559,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:16:12] local.INFO: Processing buffer {"connection_id":45559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:16:12] local.INFO: Packet analysis {"connection_id":45559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:16:12] local.INFO: Extracted packet for processing {"connection_id":45559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:16:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754879232001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:16:12] 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-04-17 06:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776386548000,"timestamp_ms":1776386548000,"timestamp_seconds":1776386548,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e3a120"} 
[2026-04-17 06:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:16: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-04-17 06:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:16: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-04-17 06:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754879232001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754879232001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:16:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754879232001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":45559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19532,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:16:12] local.INFO: GPS data processed {"connection_id":45559,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:16:12] local.INFO: Acknowledgment sent {"connection_id":45559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:16:28] local.INFO: TCP Data received {"connection_id":46373,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:16:28] local.INFO: Processing buffer {"connection_id":46373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:16:28] local.INFO: Packet analysis {"connection_id":46373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:16:28] local.INFO: Extracted packet for processing {"connection_id":46373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:16:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":2,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754875136001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776386532000,"timestamp_ms":1776386532000,"timestamp_seconds":1776386532,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e362a0"} 
[2026-04-17 06:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 06:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2250,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754875136001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754875136001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:16:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:16:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754875136001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":46373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:16:28] local.INFO: GPS data processed {"connection_id":46373,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:16:28] local.INFO: Acknowledgment sent {"connection_id":46373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:16:44] local.INFO: TCP Data received {"connection_id":45559,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:16:44] local.INFO: Processing buffer {"connection_id":45559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:16:44] local.INFO: Packet analysis {"connection_id":45559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:16:44] local.INFO: Extracted packet for processing {"connection_id":45559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:16:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754879232001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:16:44] 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-04-17 06:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776386548000,"timestamp_ms":1776386548000,"timestamp_seconds":1776386548,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e3a120"} 
[2026-04-17 06:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:16:44] 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-04-17 06: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":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:16: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-04-17 06: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-04-17 06:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754879232001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754879232001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:16:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754879232001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":45559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19534,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:16:44] local.INFO: GPS data processed {"connection_id":45559,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:16:44] local.INFO: Acknowledgment sent {"connection_id":45559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:16:57] local.INFO: TCP Data received {"connection_id":46374,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:16:57] local.INFO: Processing buffer {"connection_id":46374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:16:57] local.INFO: IMEI packet received {"connection_id":46374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:16:57] local.INFO: IMEI acknowledgment sent {"connection_id":46374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:17:02] local.INFO: TCP Data received {"connection_id":46374,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:17:02] local.INFO: Processing buffer {"connection_id":46374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:17:02] local.INFO: IMEI packet received {"connection_id":46374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:17:02] local.INFO: IMEI acknowledgment sent {"connection_id":46374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:17:02] local.INFO: TCP Data received {"connection_id":46374,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:17:02] local.INFO: Processing buffer {"connection_id":46374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:17:02] local.INFO: Packet analysis {"connection_id":46374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:17:02] local.INFO: Extracted packet for processing {"connection_id":46374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":2,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754875136001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776386532000,"timestamp_ms":1776386532000,"timestamp_seconds":1776386532,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e362a0"} 
[2026-04-17 06:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 06:17:02] 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-04-17 06:17:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754875136001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754875136001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:17:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754875136001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":46374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:17:02] local.INFO: GPS data processed {"connection_id":46374,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:17:02] local.INFO: Acknowledgment sent {"connection_id":46374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:17:07] local.INFO: TCP Data received {"connection_id":46374,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:17:07] local.INFO: Processing buffer {"connection_id":46374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e362a0012d7fac4005afe1100002000032..."} 
[2026-04-17 06:17:07] local.INFO: Packet analysis {"connection_id":46374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:17:07] local.INFO: Extracted packet for processing {"connection_id":46374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":2,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754875136001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776386532000,"timestamp_ms":1776386532000,"timestamp_seconds":1776386532,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e362a0"} 
[2026-04-17 06:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":99,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 06:17:07] 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-04-17 06: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-04-17 06:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":46374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":46374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":46374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754875136001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754875136001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:17:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:17:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754875136001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":46374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:17:07] local.INFO: GPS data processed {"connection_id":46374,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:17:07] local.INFO: Acknowledgment sent {"connection_id":46374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:17:13] local.INFO: TCP Data received {"connection_id":45626,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:17:13] local.INFO: Processing buffer {"connection_id":45626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:17:13] local.INFO: IMEI packet received {"connection_id":45626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:17:13] local.INFO: IMEI acknowledgment sent {"connection_id":45626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:17:15] local.INFO: TCP Data received {"connection_id":45626,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45626,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:17:15] local.INFO: Processing buffer {"connection_id":45626,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:17:15] local.INFO: IMEI packet received {"connection_id":45626,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":45626,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:17:17] local.INFO: TCP Data received {"connection_id":45626,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:17:17] local.INFO: Processing buffer {"connection_id":45626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:17:17] local.INFO: Packet analysis {"connection_id":45626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:17:17] local.INFO: Extracted packet for processing {"connection_id":45626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:17:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:17:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754879232001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:17:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:17:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:17:17] 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-04-17 06:17:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776386548000,"timestamp_ms":1776386548000,"timestamp_seconds":1776386548,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e3a120"} 
[2026-04-17 06:17:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:17:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:17:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:17: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-04-17 06:17:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:17:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:17:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:17:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:17:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:17:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:17:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:17:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:17:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:17:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754879232001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:17:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:17:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:17:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754879232001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:17:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:17:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:17:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:17:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754879232001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:17:17] local.INFO: DEBUG: GPS processor result {"connection_id":45626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19537,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:17:17] local.INFO: GPS data processed {"connection_id":45626,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:17:17] local.INFO: Acknowledgment sent {"connection_id":45626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:17:21] local.INFO: TCP Data received {"connection_id":45626,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:17:21] local.INFO: Processing buffer {"connection_id":45626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e3a120012d1b598006d4d5980011013831..."} 
[2026-04-17 06:17:21] local.INFO: Packet analysis {"connection_id":45626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:17:21] local.INFO: Extracted packet for processing {"connection_id":45626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e3"} 
[2026-04-17 06:17:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754879232001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:17:21] 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-04-17 06:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776386548000,"timestamp_ms":1776386548000,"timestamp_seconds":1776386548,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e3a120"} 
[2026-04-17 06:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:17:21] 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-04-17 06:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:17:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45626,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754879232001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754879232001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:17:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754879232001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:17:21] local.INFO: DEBUG: GPS processor result {"connection_id":45626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19538,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:17:21] local.INFO: GPS data processed {"connection_id":45626,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:17:21] local.INFO: Acknowledgment sent {"connection_id":45626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:17:51] local.INFO: TCP Data received {"connection_id":45560,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:17:51] local.INFO: Processing buffer {"connection_id":45560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:17:51] local.INFO: IMEI packet received {"connection_id":45560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":45560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:17:51] local.INFO: TCP Data received {"connection_id":45560,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:17:51] local.INFO: Processing buffer {"connection_id":45560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:17:51] local.INFO: IMEI packet received {"connection_id":45560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":45560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:17:57] local.INFO: TCP Data received {"connection_id":45560,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:17:57] local.INFO: Processing buffer {"connection_id":45560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:17:57] local.INFO: IMEI packet received {"connection_id":45560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":45560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:17:57] local.INFO: TCP Data received {"connection_id":45560,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:17:57] local.INFO: Processing buffer {"connection_id":45560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:17:57] local.INFO: Packet analysis {"connection_id":45560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:17:57] local.INFO: Extracted packet for processing {"connection_id":45560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:17:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":14,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754952192001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776386833000,"timestamp_ms":1776386833000,"timestamp_seconds":1776386833,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e7fa68"} 
[2026-04-17 06:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754952192001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754952192001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:17:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:17:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754952192001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":45560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:17:57] local.INFO: GPS data processed {"connection_id":45560,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:17:57] local.INFO: Acknowledgment sent {"connection_id":45560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:18:07] local.INFO: TCP Data received {"connection_id":45822,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:18:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:18:07] local.INFO: Processing buffer {"connection_id":45822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:18:07] local.INFO: IMEI packet received {"connection_id":45822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:18:07] local.INFO: IMEI acknowledgment sent {"connection_id":45822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:18:08] local.INFO: TCP Data received {"connection_id":45822,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:18:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:18:08] local.INFO: Processing buffer {"connection_id":45822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:18:08] local.INFO: IMEI packet received {"connection_id":45822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:18:08] local.INFO: IMEI acknowledgment sent {"connection_id":45822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:18:10] local.INFO: TCP Data received {"connection_id":45822,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:18:10] local.INFO: Processing buffer {"connection_id":45822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:18:10] local.INFO: IMEI packet received {"connection_id":45822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":45822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:18:12] local.INFO: TCP Data received {"connection_id":45822,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:18:12] local.INFO: Processing buffer {"connection_id":45822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:18:12] local.INFO: Packet analysis {"connection_id":45822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:18:12] local.INFO: Extracted packet for processing {"connection_id":45822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:18:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754956288001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:18:12] 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-04-17 06:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776386849000,"timestamp_ms":1776386849000,"timestamp_seconds":1776386849,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e838e8"} 
[2026-04-17 06:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:18: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-04-17 06: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-04-17 06: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-04-17 06: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-04-17 06:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754956288001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754956288001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:18:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754956288001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":45822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19540,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:18:12] local.INFO: GPS data processed {"connection_id":45822,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:18:12] local.INFO: Acknowledgment sent {"connection_id":45822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:18:19] local.INFO: TCP Data received {"connection_id":45822,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:18:19] local.INFO: Processing buffer {"connection_id":45822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:18:19] local.INFO: Packet analysis {"connection_id":45822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:18:19] local.INFO: Extracted packet for processing {"connection_id":45822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:18:19] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:18:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754956288001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:18:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:18:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:18:19] 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-04-17 06:18:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776386849000,"timestamp_ms":1776386849000,"timestamp_seconds":1776386849,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e838e8"} 
[2026-04-17 06:18:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:18:19] 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-04-17 06:18:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 06:18:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:18:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:18:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:18:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:18:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:18:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:18:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:18:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:18:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:18:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:18:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754956288001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:18:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:18:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:18:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754956288001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:18:19] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:18:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:18:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:18:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754956288001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:18:19] local.INFO: DEBUG: GPS processor result {"connection_id":45822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19541,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:18:19] local.INFO: GPS data processed {"connection_id":45822,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:18:19] local.INFO: Acknowledgment sent {"connection_id":45822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:18:28] local.INFO: TCP Data received {"connection_id":45560,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:18:28] local.INFO: Processing buffer {"connection_id":45560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:18:28] local.INFO: Packet analysis {"connection_id":45560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:18:28] local.INFO: Extracted packet for processing {"connection_id":45560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:18:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":14,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754952192001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776386833000,"timestamp_ms":1776386833000,"timestamp_seconds":1776386833,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e7fa68"} 
[2026-04-17 06:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:18:28] 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-04-17 06: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-04-17 06:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754952192001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754952192001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:18:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754952192001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":45560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:18:28] local.INFO: GPS data processed {"connection_id":45560,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:18:28] local.INFO: Acknowledgment sent {"connection_id":45560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:18:51] local.INFO: TCP Data received {"connection_id":45822,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:18:51] local.INFO: Processing buffer {"connection_id":45822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:18:51] local.INFO: Packet analysis {"connection_id":45822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:18:51] local.INFO: Extracted packet for processing {"connection_id":45822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:18:51] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:18:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754956288001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:18:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:18:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:18:51] 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-04-17 06:18:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776386849000,"timestamp_ms":1776386849000,"timestamp_seconds":1776386849,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e838e8"} 
[2026-04-17 06:18:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:18:51] 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-04-17 06:18:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 06:18:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:18:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:18:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:18:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:18:51] local.INFO: Teltonika packet parsed successfully {"connection_id":45822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:18:51] local.INFO: Passing IMEI to GPS processor {"connection_id":45822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:18:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":45822,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:18:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:18:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:18:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:18:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754956288001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:18:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:18:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:18:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754956288001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:18:51] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:18:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:18:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:18:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754956288001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:18:51] local.INFO: DEBUG: GPS processor result {"connection_id":45822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19543,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:18:51] local.INFO: GPS data processed {"connection_id":45822,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:18:51] local.INFO: Acknowledgment sent {"connection_id":45822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:18:52] local.INFO: TCP Data received {"connection_id":45627,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:18:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:18:52] local.INFO: Processing buffer {"connection_id":45627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:18:52] local.INFO: IMEI packet received {"connection_id":45627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:18:52] local.INFO: IMEI acknowledgment sent {"connection_id":45627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:18:57] local.INFO: TCP Data received {"connection_id":45627,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:18:57] local.INFO: Processing buffer {"connection_id":45627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:18:57] local.INFO: IMEI packet received {"connection_id":45627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":45627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:18:57] local.INFO: TCP Data received {"connection_id":45627,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:18:57] local.INFO: Processing buffer {"connection_id":45627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:18:57] local.INFO: Packet analysis {"connection_id":45627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:18:57] local.INFO: Extracted packet for processing {"connection_id":45627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:18:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":14,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:18: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-04-17 06:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754952192001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776386833000,"timestamp_ms":1776386833000,"timestamp_seconds":1776386833,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e7fa68"} 
[2026-04-17 06:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:18:57] local.INFO: IO Element 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-04-17 06:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:18: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-04-17 06:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754952192001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754952192001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:18:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:18:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754952192001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":45627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:18:57] local.INFO: GPS data processed {"connection_id":45627,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:18:57] local.INFO: Acknowledgment sent {"connection_id":45627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:19:05] local.INFO: TCP Data received {"connection_id":46375,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:19:05] local.INFO: Processing buffer {"connection_id":46375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:19:05] local.INFO: IMEI packet received {"connection_id":46375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":46375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:19:11] local.INFO: TCP Data received {"connection_id":46375,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46375,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:19:11] local.INFO: Processing buffer {"connection_id":46375,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:19:11] local.INFO: IMEI packet received {"connection_id":46375,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":46375,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:19:12] local.INFO: TCP Data received {"connection_id":46375,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:19:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:19:12] local.INFO: Processing buffer {"connection_id":46375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:19:12] local.INFO: Packet analysis {"connection_id":46375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:19:12] local.INFO: Extracted packet for processing {"connection_id":46375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:19:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:19:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754956288001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:19:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:19:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:19:12] 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-04-17 06:19:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776386849000,"timestamp_ms":1776386849000,"timestamp_seconds":1776386849,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e838e8"} 
[2026-04-17 06:19:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:19: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-04-17 06:19:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 06:19:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:19:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:19:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:19:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:19:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:19:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:19:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:19:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:19:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:19:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:19:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754956288001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:19:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:19:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:19:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754956288001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:19:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:19:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:19:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:19:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754956288001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:19:12] local.INFO: DEBUG: GPS processor result {"connection_id":46375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19545,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:19:12] local.INFO: GPS data processed {"connection_id":46375,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:19:12] local.INFO: Acknowledgment sent {"connection_id":46375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:19:29] local.INFO: TCP Data received {"connection_id":45627,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:19:29] local.INFO: Processing buffer {"connection_id":45627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:19:29] local.INFO: Packet analysis {"connection_id":45627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:19:29] local.INFO: Extracted packet for processing {"connection_id":45627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:19:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":14,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754952192001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776386833000,"timestamp_ms":1776386833000,"timestamp_seconds":1776386833,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e7fa68"} 
[2026-04-17 06:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:19: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-04-17 06:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:19: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-04-17 06:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754952192001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754952192001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:19:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754952192001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":45627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:19:29] local.INFO: GPS data processed {"connection_id":45627,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:19:29] local.INFO: Acknowledgment sent {"connection_id":45627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:19:44] local.INFO: TCP Data received {"connection_id":46375,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46375,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:19:44] local.INFO: Processing buffer {"connection_id":46375,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:19:44] local.INFO: Packet analysis {"connection_id":46375,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:19:44] local.INFO: Extracted packet for processing {"connection_id":46375,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:19:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:19:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754956288001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:19:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:19:44] 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-04-17 06:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776386849000,"timestamp_ms":1776386849000,"timestamp_seconds":1776386849,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e838e8"} 
[2026-04-17 06:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:19:44] 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-04-17 06: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 06:19: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-04-17 06: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-04-17 06:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46375,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46375,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754956288001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754956288001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:19:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:19:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:19:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754956288001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":46375,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19547,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:19:44] local.INFO: GPS data processed {"connection_id":46375,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:19:44] local.INFO: Acknowledgment sent {"connection_id":46375,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:19:51] local.INFO: TCP Data received {"connection_id":45628,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:19:51] local.INFO: Processing buffer {"connection_id":45628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:19:51] local.INFO: IMEI packet received {"connection_id":45628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":45628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:19:57] local.INFO: TCP Data received {"connection_id":45628,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:19:57] local.INFO: Processing buffer {"connection_id":45628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:19:57] local.INFO: IMEI packet received {"connection_id":45628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":45628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:19:57] local.INFO: TCP Data received {"connection_id":45628,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:19:57] local.INFO: Processing buffer {"connection_id":45628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:19:57] local.INFO: Packet analysis {"connection_id":45628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:19:57] local.INFO: Extracted packet for processing {"connection_id":45628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:19:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":14,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754952192001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776386833000,"timestamp_ms":1776386833000,"timestamp_seconds":1776386833,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e7fa68"} 
[2026-04-17 06:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754952192001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754952192001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:19:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:19:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754952192001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":45628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:19:57] local.INFO: GPS data processed {"connection_id":45628,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:19:57] local.INFO: Acknowledgment sent {"connection_id":45628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:20:11] local.INFO: TCP Data received {"connection_id":45629,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:20:11] local.INFO: Processing buffer {"connection_id":45629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:20:11] local.INFO: IMEI packet received {"connection_id":45629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":45629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:20:16] local.INFO: TCP Data received {"connection_id":45629,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:20:16] local.INFO: Processing buffer {"connection_id":45629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:20:16] local.INFO: IMEI packet received {"connection_id":45629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:20:16] local.INFO: IMEI acknowledgment sent {"connection_id":45629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:20:17] local.INFO: TCP Data received {"connection_id":45629,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:20:17] local.INFO: Processing buffer {"connection_id":45629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:20:17] local.INFO: Packet analysis {"connection_id":45629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:20:17] local.INFO: Extracted packet for processing {"connection_id":45629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:20:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:20:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754956288001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:20:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:20:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:20:17] 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-04-17 06:20:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776386849000,"timestamp_ms":1776386849000,"timestamp_seconds":1776386849,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e838e8"} 
[2026-04-17 06:20:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:20:17] 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-04-17 06:20:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 06:20:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:20:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:20:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:20:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:20:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:20:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:20:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:20:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:20:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:20:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:20:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754956288001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:20:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:20:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:20:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754956288001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:20:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:20:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:20:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:20:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754956288001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":45629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19549,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:20:17] local.INFO: GPS data processed {"connection_id":45629,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:20:17] local.INFO: Acknowledgment sent {"connection_id":45629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:20:24] local.INFO: TCP Data received {"connection_id":45629,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:20:24] local.INFO: Processing buffer {"connection_id":45629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:20:24] local.INFO: Packet analysis {"connection_id":45629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:20:24] local.INFO: Extracted packet for processing {"connection_id":45629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:20:24] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:20:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754956288001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:20:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:20:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:20:24] 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-04-17 06:20:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776386849000,"timestamp_ms":1776386849000,"timestamp_seconds":1776386849,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e838e8"} 
[2026-04-17 06:20:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:20:24] 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-04-17 06:20:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 06:20:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:20:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:20:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:20:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:20:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:20:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:20:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:20:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:20:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:20:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754956288001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:20:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:20:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:20:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754956288001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:20:24] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:20:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:20:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:20:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754956288001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:20:24] local.INFO: DEBUG: GPS processor result {"connection_id":45629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19550,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:20:24] local.INFO: GPS data processed {"connection_id":45629,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:20:24] local.INFO: Acknowledgment sent {"connection_id":45629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:20:28] local.INFO: TCP Data received {"connection_id":45628,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:20:28] local.INFO: Processing buffer {"connection_id":45628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:20:28] local.INFO: Packet analysis {"connection_id":45628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:20:28] local.INFO: Extracted packet for processing {"connection_id":45628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":14,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754952192001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776386833000,"timestamp_ms":1776386833000,"timestamp_seconds":1776386833,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e7fa68"} 
[2026-04-17 06:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:20:28] 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-04-17 06:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754952192001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754952192001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:20:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754952192001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":45628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:20:28] local.INFO: GPS data processed {"connection_id":45628,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:20:28] local.INFO: Acknowledgment sent {"connection_id":45628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:20:52] local.INFO: TCP Data received {"connection_id":45561,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:20:52] local.INFO: Processing buffer {"connection_id":45561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:20:52] local.INFO: IMEI packet received {"connection_id":45561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":45561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:20:57] local.INFO: TCP Data received {"connection_id":45561,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45561,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:20:57] local.INFO: Processing buffer {"connection_id":45561,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:20:57] local.INFO: IMEI packet received {"connection_id":45561,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":45561,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:20:57] local.INFO: TCP Data received {"connection_id":45561,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:20:57] local.INFO: Processing buffer {"connection_id":45561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:20:57] local.INFO: Packet analysis {"connection_id":45561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:20:57] local.INFO: Extracted packet for processing {"connection_id":45561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:20:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":14,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754952192001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776386833000,"timestamp_ms":1776386833000,"timestamp_seconds":1776386833,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e7fa68"} 
[2026-04-17 06:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754952192001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754952192001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:20:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:20:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754952192001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":45561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:20:57] local.INFO: GPS data processed {"connection_id":45561,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:20:57] local.INFO: Acknowledgment sent {"connection_id":45561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:21:05] local.INFO: TCP Data received {"connection_id":45630,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:21:05] local.INFO: Processing buffer {"connection_id":45630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:21:05] local.INFO: IMEI packet received {"connection_id":45630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":45630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:21:11] local.INFO: TCP Data received {"connection_id":45630,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45630,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:21:11] local.INFO: Processing buffer {"connection_id":45630,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:21:11] local.INFO: IMEI packet received {"connection_id":45630,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:21:11] local.INFO: IMEI acknowledgment sent {"connection_id":45630,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:21:13] local.INFO: TCP Data received {"connection_id":45630,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:21:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:21:13] local.INFO: Processing buffer {"connection_id":45630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:21:13] local.INFO: Packet analysis {"connection_id":45630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:21:13] local.INFO: Extracted packet for processing {"connection_id":45630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:21:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:21:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754956288001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:21:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:21:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:21:13] 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-04-17 06:21:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776386849000,"timestamp_ms":1776386849000,"timestamp_seconds":1776386849,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e838e8"} 
[2026-04-17 06:21:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:21:13] 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-04-17 06: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 06:21:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:21:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:21:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:21:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:21:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:21:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:21:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:21:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:21:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:21:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754956288001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:21:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:21:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:21:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754956288001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:21:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:21:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:21:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:21:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754956288001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:21:13] local.INFO: DEBUG: GPS processor result {"connection_id":45630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:21:13] local.INFO: GPS data processed {"connection_id":45630,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:21:13] local.INFO: Acknowledgment sent {"connection_id":45630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:21:28] local.INFO: TCP Data received {"connection_id":45561,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:21:28] local.INFO: Processing buffer {"connection_id":45561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:21:28] local.INFO: Packet analysis {"connection_id":45561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:21:28] local.INFO: Extracted packet for processing {"connection_id":45561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:21:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":14,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754952192001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776386833000,"timestamp_ms":1776386833000,"timestamp_seconds":1776386833,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e7fa68"} 
[2026-04-17 06:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:21:28] 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-04-17 06: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-04-17 06:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45561,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754952192001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754952192001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:21:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:21:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754952192001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":45561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:21:28] local.INFO: GPS data processed {"connection_id":45561,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:21:28] local.INFO: Acknowledgment sent {"connection_id":45561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:21:44] local.INFO: TCP Data received {"connection_id":45630,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:21:44] local.INFO: Processing buffer {"connection_id":45630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:21:44] local.INFO: Packet analysis {"connection_id":45630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:21:44] local.INFO: Extracted packet for processing {"connection_id":45630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:21:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754956288001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:21:44] 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-04-17 06:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776386849000,"timestamp_ms":1776386849000,"timestamp_seconds":1776386849,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e838e8"} 
[2026-04-17 06:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:21:44] 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-04-17 06: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 06:21: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-04-17 06: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-04-17 06:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45630,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754956288001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754956288001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:21:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754956288001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":45630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19555,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:21:44] local.INFO: GPS data processed {"connection_id":45630,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:21:44] local.INFO: Acknowledgment sent {"connection_id":45630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:21:52] local.INFO: TCP Data received {"connection_id":46376,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:21:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:21:52] local.INFO: Processing buffer {"connection_id":46376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:21:52] local.INFO: IMEI packet received {"connection_id":46376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:21:52] local.INFO: IMEI acknowledgment sent {"connection_id":46376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:21:57] local.INFO: TCP Data received {"connection_id":46376,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:21:57] local.INFO: Processing buffer {"connection_id":46376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:21:57] local.INFO: IMEI packet received {"connection_id":46376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":46376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:21:57] local.INFO: TCP Data received {"connection_id":46376,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:21:57] local.INFO: Processing buffer {"connection_id":46376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:21:57] local.INFO: Packet analysis {"connection_id":46376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:21:57] local.INFO: Extracted packet for processing {"connection_id":46376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:21:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":14,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754952192001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776386833000,"timestamp_ms":1776386833000,"timestamp_seconds":1776386833,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e7fa68"} 
[2026-04-17 06:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754952192001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754952192001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:21:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:21:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754952192001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":46376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:21:57] local.INFO: GPS data processed {"connection_id":46376,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:21:57] local.INFO: Acknowledgment sent {"connection_id":46376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:22:05] local.INFO: TCP Data received {"connection_id":45631,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:22:05] local.INFO: Processing buffer {"connection_id":45631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:22:05] local.INFO: IMEI packet received {"connection_id":45631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":45631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:22:11] local.INFO: TCP Data received {"connection_id":45631,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:22:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:22:11] local.INFO: Processing buffer {"connection_id":45631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:22:11] local.INFO: IMEI packet received {"connection_id":45631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:22:11] local.INFO: IMEI acknowledgment sent {"connection_id":45631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:22:12] local.INFO: TCP Data received {"connection_id":45631,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:22:12] local.INFO: Processing buffer {"connection_id":45631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:22:12] local.INFO: Packet analysis {"connection_id":45631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:22:12] local.INFO: Extracted packet for processing {"connection_id":45631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:22:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754956288001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:22:12] 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-04-17 06:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776386849000,"timestamp_ms":1776386849000,"timestamp_seconds":1776386849,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e838e8"} 
[2026-04-17 06:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:22: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-04-17 06:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 06:22: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-04-17 06:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754956288001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754956288001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:22:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754956288001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":45631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:22:12] local.INFO: GPS data processed {"connection_id":45631,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:22:12] local.INFO: Acknowledgment sent {"connection_id":45631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:22:28] local.INFO: TCP Data received {"connection_id":46376,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:22:28] local.INFO: Processing buffer {"connection_id":46376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e7fa68012d7fac4005afe110000e000033..."} 
[2026-04-17 06:22:28] local.INFO: Packet analysis {"connection_id":46376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:22:28] local.INFO: Extracted packet for processing {"connection_id":46376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e7"} 
[2026-04-17 06:22:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":14,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754952192001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776386833000,"timestamp_ms":1776386833000,"timestamp_seconds":1776386833,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e7fa68"} 
[2026-04-17 06:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:22:28] 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-04-17 06:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754952192001,"66":25495,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754952192001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:22:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:22:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754952192001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":46376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:22:28] local.INFO: GPS data processed {"connection_id":46376,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:22:28] local.INFO: Acknowledgment sent {"connection_id":46376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:22:45] local.INFO: TCP Data received {"connection_id":45631,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:22:45] local.INFO: Processing buffer {"connection_id":45631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98e838e8012d1b598006d4d5980011013831..."} 
[2026-04-17 06:22:45] local.INFO: Packet analysis {"connection_id":45631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:22:45] local.INFO: Extracted packet for processing {"connection_id":45631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98e8"} 
[2026-04-17 06:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454754956288001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:22:45] 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-04-17 06:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776386849000,"timestamp_ms":1776386849000,"timestamp_seconds":1776386849,"priority":1,"record_length":96,"hex_timestamp":"0000019d98e838e8"} 
[2026-04-17 06:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:22:45] 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-04-17 06:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 06:22:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454754956288001,"66":25495,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454754956288001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:22:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454754956288001,"power":25495,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:22:45] local.INFO: DEBUG: GPS processor result {"connection_id":45631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19559,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:22:45] local.INFO: GPS data processed {"connection_id":45631,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:22:45] local.INFO: Acknowledgment sent {"connection_id":45631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:22:52] local.INFO: TCP Data received {"connection_id":45562,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:22:52] local.INFO: Processing buffer {"connection_id":45562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:22:52] local.INFO: IMEI packet received {"connection_id":45562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":45562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:22:52] local.INFO: TCP Data received {"connection_id":45562,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:22:52] local.INFO: Processing buffer {"connection_id":45562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:22:52] local.INFO: IMEI packet received {"connection_id":45562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":45562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:22:57] local.INFO: TCP Data received {"connection_id":45562,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:22:57] local.INFO: Processing buffer {"connection_id":45562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:22:57] local.INFO: IMEI packet received {"connection_id":45562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:22:57] local.INFO: IMEI acknowledgment sent {"connection_id":45562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:22:58] local.INFO: TCP Data received {"connection_id":45562,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:22:58] local.INFO: Processing buffer {"connection_id":45562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:22:58] local.INFO: Packet analysis {"connection_id":45562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:22:58] local.INFO: Extracted packet for processing {"connection_id":45562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755029248001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776387133000,"timestamp_ms":1776387133000,"timestamp_seconds":1776387133,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ec8e48"} 
[2026-04-17 06:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:22:58] 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-04-17 06:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755029248001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755029248001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:22:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:22:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755029248001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":45562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19560,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:22:58] local.INFO: GPS data processed {"connection_id":45562,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:22:58] local.INFO: Acknowledgment sent {"connection_id":45562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:23:05] local.INFO: TCP Data received {"connection_id":46377,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:23:05] local.INFO: Processing buffer {"connection_id":46377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:23:05] local.INFO: IMEI packet received {"connection_id":46377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":46377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:23:09] local.INFO: TCP Data received {"connection_id":46377,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:23:09] local.INFO: Processing buffer {"connection_id":46377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:23:09] local.INFO: IMEI packet received {"connection_id":46377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":46377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:23:10] local.INFO: TCP Data received {"connection_id":46377,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46377,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:23:10] local.INFO: Processing buffer {"connection_id":46377,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:23:10] local.INFO: IMEI packet received {"connection_id":46377,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":46377,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:23:13] local.INFO: TCP Data received {"connection_id":46377,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:23:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:23:13] local.INFO: Processing buffer {"connection_id":46377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:23:13] local.INFO: Packet analysis {"connection_id":46377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:23:13] local.INFO: Extracted packet for processing {"connection_id":46377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:23:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:23:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755033344001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:23:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:23:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:23:13] 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-04-17 06:23:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776387150000,"timestamp_ms":1776387150000,"timestamp_seconds":1776387150,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ecd0b0"} 
[2026-04-17 06:23:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:23:13] 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-04-17 06:23:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:23:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:23:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:23:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:23:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:23:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:23:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:23:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:23:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:23:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:23:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755033344001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:23:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:23:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:23:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755033344001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:23:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:23:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:23:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:23:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755033344001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:23:13] local.INFO: DEBUG: GPS processor result {"connection_id":46377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19561,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:23:13] local.INFO: GPS data processed {"connection_id":46377,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:23:13] local.INFO: Acknowledgment sent {"connection_id":46377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:23:29] local.INFO: TCP Data received {"connection_id":45562,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:23:29] local.INFO: Processing buffer {"connection_id":45562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:23:29] local.INFO: Packet analysis {"connection_id":45562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:23:29] local.INFO: Extracted packet for processing {"connection_id":45562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755029248001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776387133000,"timestamp_ms":1776387133000,"timestamp_seconds":1776387133,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ec8e48"} 
[2026-04-17 06:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:23: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-04-17 06: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-04-17 06:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:23: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-04-17 06:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755029248001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755029248001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:23:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755029248001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":45562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:23:29] local.INFO: GPS data processed {"connection_id":45562,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:23:29] local.INFO: Acknowledgment sent {"connection_id":45562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:23:45] local.INFO: TCP Data received {"connection_id":46377,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:23:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:23:45] local.INFO: Processing buffer {"connection_id":46377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:23:45] local.INFO: Packet analysis {"connection_id":46377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:23:45] local.INFO: Extracted packet for processing {"connection_id":46377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:23:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:23:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755033344001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:23:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:23:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:23:45] 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-04-17 06:23:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776387150000,"timestamp_ms":1776387150000,"timestamp_seconds":1776387150,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ecd0b0"} 
[2026-04-17 06:23:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:23:45] 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-04-17 06:23:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:23: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-04-17 06:23:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:23:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:23:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:23:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:23:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:23:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46377,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:23:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:23:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:23:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:23:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755033344001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:23:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:23:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:23:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755033344001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:23:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:23:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:23:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:23:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755033344001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:23:45] local.INFO: DEBUG: GPS processor result {"connection_id":46377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19563,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:23:45] local.INFO: GPS data processed {"connection_id":46377,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:23:45] local.INFO: Acknowledgment sent {"connection_id":46377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:23:52] local.INFO: TCP Data received {"connection_id":45823,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:23:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:23:52] local.INFO: Processing buffer {"connection_id":45823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:23:52] local.INFO: IMEI packet received {"connection_id":45823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:23:52] local.INFO: IMEI acknowledgment sent {"connection_id":45823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:23:57] local.INFO: TCP Data received {"connection_id":45823,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45823,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:23:57] local.INFO: Processing buffer {"connection_id":45823,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:23:57] local.INFO: IMEI packet received {"connection_id":45823,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":45823,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:23:57] local.INFO: TCP Data received {"connection_id":45823,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:23:57] local.INFO: Processing buffer {"connection_id":45823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:23:57] local.INFO: Packet analysis {"connection_id":45823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:23:57] local.INFO: Extracted packet for processing {"connection_id":45823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:23:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755029248001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776387133000,"timestamp_ms":1776387133000,"timestamp_seconds":1776387133,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ec8e48"} 
[2026-04-17 06:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:23:57] 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-04-17 06:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755029248001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755029248001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:23:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:23:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755029248001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":45823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:23:57] local.INFO: GPS data processed {"connection_id":45823,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:23:57] local.INFO: Acknowledgment sent {"connection_id":45823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:24:06] local.INFO: TCP Data received {"connection_id":46378,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:24:06] local.INFO: Processing buffer {"connection_id":46378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:24:06] local.INFO: IMEI packet received {"connection_id":46378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":46378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:24:11] local.INFO: TCP Data received {"connection_id":46378,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46378,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:24:11] local.INFO: Processing buffer {"connection_id":46378,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:24:11] local.INFO: IMEI packet received {"connection_id":46378,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":46378,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:24:12] local.INFO: TCP Data received {"connection_id":46378,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:24:12] local.INFO: Processing buffer {"connection_id":46378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:24:12] local.INFO: Packet analysis {"connection_id":46378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:24:12] local.INFO: Extracted packet for processing {"connection_id":46378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:24:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755033344001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:24:12] 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-04-17 06:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776387150000,"timestamp_ms":1776387150000,"timestamp_seconds":1776387150,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ecd0b0"} 
[2026-04-17 06:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:24: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-04-17 06:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06: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-04-17 06:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755033344001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755033344001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:24:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755033344001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":46378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19565,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:24:12] local.INFO: GPS data processed {"connection_id":46378,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:24:12] local.INFO: Acknowledgment sent {"connection_id":46378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:24:28] local.INFO: TCP Data received {"connection_id":45823,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45823,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:24:28] local.INFO: Processing buffer {"connection_id":45823,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:24:28] local.INFO: Packet analysis {"connection_id":45823,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:24:28] local.INFO: Extracted packet for processing {"connection_id":45823,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:24:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755029248001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776387133000,"timestamp_ms":1776387133000,"timestamp_seconds":1776387133,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ec8e48"} 
[2026-04-17 06:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:24:28] 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-04-17 06: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-04-17 06:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45823,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45823,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755029248001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755029248001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:24:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755029248001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":45823,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:24:28] local.INFO: GPS data processed {"connection_id":45823,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:24:28] local.INFO: Acknowledgment sent {"connection_id":45823,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:24:47] local.INFO: TCP Data received {"connection_id":46378,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:24:47] local.INFO: Processing buffer {"connection_id":46378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:24:47] local.INFO: Packet analysis {"connection_id":46378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:24:47] local.INFO: Extracted packet for processing {"connection_id":46378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:24:47] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755033344001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:24:47] 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-04-17 06:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776387150000,"timestamp_ms":1776387150000,"timestamp_seconds":1776387150,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ecd0b0"} 
[2026-04-17 06:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:24:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:24: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-04-17 06:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":46378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":46378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":46378,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755033344001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755033344001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:24:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755033344001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":46378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19567,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:24:47] local.INFO: GPS data processed {"connection_id":46378,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:24:47] local.INFO: Acknowledgment sent {"connection_id":46378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:24:51] local.INFO: TCP Data received {"connection_id":45632,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:24:51] local.INFO: Processing buffer {"connection_id":45632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:24:51] local.INFO: IMEI packet received {"connection_id":45632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":45632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:24:57] local.INFO: TCP Data received {"connection_id":45632,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:24:57] local.INFO: Processing buffer {"connection_id":45632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:24:57] local.INFO: IMEI packet received {"connection_id":45632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:24:57] local.INFO: IMEI acknowledgment sent {"connection_id":45632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:24:57] local.INFO: TCP Data received {"connection_id":45632,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:24:57] local.INFO: Processing buffer {"connection_id":45632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:24:57] local.INFO: Packet analysis {"connection_id":45632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:24:57] local.INFO: Extracted packet for processing {"connection_id":45632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:24:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755029248001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776387133000,"timestamp_ms":1776387133000,"timestamp_seconds":1776387133,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ec8e48"} 
[2026-04-17 06:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755029248001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755029248001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:24:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:24:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755029248001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":45632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:24:57] local.INFO: GPS data processed {"connection_id":45632,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:24:57] local.INFO: Acknowledgment sent {"connection_id":45632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:25:05] local.INFO: TCP Data received {"connection_id":45824,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45824,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:25:05] local.INFO: Processing buffer {"connection_id":45824,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:25:05] local.INFO: IMEI packet received {"connection_id":45824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":45824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:25:27] local.INFO: TCP Data received {"connection_id":45824,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45824,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:25:27] local.INFO: Processing buffer {"connection_id":45824,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:25:27] local.INFO: IMEI packet received {"connection_id":45824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":45824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:25:28] local.INFO: TCP Data received {"connection_id":45632,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:25:28] local.INFO: Processing buffer {"connection_id":45632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:25:28] local.INFO: Packet analysis {"connection_id":45632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:25:28] local.INFO: Extracted packet for processing {"connection_id":45632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:25:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755029248001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776387133000,"timestamp_ms":1776387133000,"timestamp_seconds":1776387133,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ec8e48"} 
[2026-04-17 06:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:25:28] 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-04-17 06:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755029248001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755029248001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:25:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:25:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755029248001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":45632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19569,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:25:28] local.INFO: GPS data processed {"connection_id":45632,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:25:28] local.INFO: Acknowledgment sent {"connection_id":45632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:25:29] local.INFO: TCP Data received {"connection_id":45824,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:25:29] local.INFO: Processing buffer {"connection_id":45824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:25:29] local.INFO: Packet analysis {"connection_id":45824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:25:29] local.INFO: Extracted packet for processing {"connection_id":45824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:25:29] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755033344001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:25:29] 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-04-17 06:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776387150000,"timestamp_ms":1776387150000,"timestamp_seconds":1776387150,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ecd0b0"} 
[2026-04-17 06:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:25: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-04-17 06: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":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:25: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-04-17 06: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-04-17 06:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45824,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45824,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:25:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755033344001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755033344001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:25:29] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755033344001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":45824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19570,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:25:29] local.INFO: GPS data processed {"connection_id":45824,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:25:29] local.INFO: Acknowledgment sent {"connection_id":45824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:25:57] local.INFO: TCP Data received {"connection_id":46379,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:25:57] local.INFO: Processing buffer {"connection_id":46379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:25:57] local.INFO: IMEI packet received {"connection_id":46379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:25:57] local.INFO: IMEI acknowledgment sent {"connection_id":46379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:26:02] local.INFO: TCP Data received {"connection_id":46379,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46379,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:26:02] local.INFO: Processing buffer {"connection_id":46379,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:26:02] local.INFO: IMEI packet received {"connection_id":46379,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:26:02] local.INFO: IMEI acknowledgment sent {"connection_id":46379,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:26:02] local.INFO: TCP Data received {"connection_id":46379,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:26:02] local.INFO: Processing buffer {"connection_id":46379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:26:02] local.INFO: Packet analysis {"connection_id":46379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:26:02] local.INFO: Extracted packet for processing {"connection_id":46379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755029248001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776387133000,"timestamp_ms":1776387133000,"timestamp_seconds":1776387133,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ec8e48"} 
[2026-04-17 06:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:26: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-04-17 06:26:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:26:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755029248001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755029248001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:26:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755029248001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":46379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19571,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:26:02] local.INFO: GPS data processed {"connection_id":46379,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:26:02] local.INFO: Acknowledgment sent {"connection_id":46379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:26:07] local.INFO: TCP Data received {"connection_id":46379,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46379,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:26:07] local.INFO: Processing buffer {"connection_id":46379,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:26:07] local.INFO: Packet analysis {"connection_id":46379,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:26:07] local.INFO: Extracted packet for processing {"connection_id":46379,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755029248001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776387133000,"timestamp_ms":1776387133000,"timestamp_seconds":1776387133,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ec8e48"} 
[2026-04-17 06:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:26:07] 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-04-17 06: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-04-17 06:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":46379,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":46379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":46379,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:26:07] 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-04-17 06:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755029248001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755029248001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:26:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:26:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755029248001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":46379,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:26:07] local.INFO: GPS data processed {"connection_id":46379,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:26:07] local.INFO: Acknowledgment sent {"connection_id":46379,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:26:11] local.INFO: TCP Data received {"connection_id":45633,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:26:11] local.INFO: Processing buffer {"connection_id":45633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:26:11] local.INFO: IMEI packet received {"connection_id":45633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:26:11] local.INFO: IMEI acknowledgment sent {"connection_id":45633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:26:16] local.INFO: TCP Data received {"connection_id":45633,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:26:16] local.INFO: Processing buffer {"connection_id":45633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:26:16] local.INFO: IMEI packet received {"connection_id":45633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":45633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:26:17] local.INFO: TCP Data received {"connection_id":45633,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:26:17] local.INFO: Processing buffer {"connection_id":45633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:26:17] local.INFO: Packet analysis {"connection_id":45633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:26:17] local.INFO: Extracted packet for processing {"connection_id":45633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755033344001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:26:17] 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-04-17 06:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776387150000,"timestamp_ms":1776387150000,"timestamp_seconds":1776387150,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ecd0b0"} 
[2026-04-17 06:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:26:17] 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-04-17 06:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:26: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-04-17 06:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755033344001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755033344001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:26:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755033344001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":45633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19573,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:26:17] local.INFO: GPS data processed {"connection_id":45633,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:26:17] local.INFO: Acknowledgment sent {"connection_id":45633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:26:21] local.INFO: TCP Data received {"connection_id":45633,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:26:21] local.INFO: Processing buffer {"connection_id":45633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:26:21] local.INFO: Packet analysis {"connection_id":45633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:26:21] local.INFO: Extracted packet for processing {"connection_id":45633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:26:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:26:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755033344001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:26:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:26:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:26:21] 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-04-17 06:26:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776387150000,"timestamp_ms":1776387150000,"timestamp_seconds":1776387150,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ecd0b0"} 
[2026-04-17 06:26:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:26:21] 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-04-17 06:26:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:26:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:26:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:26:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:26:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:26:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:26:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:26:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:26:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:26:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:26:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:26:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755033344001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:26:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:26:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:26:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755033344001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:26:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:26:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:26:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:26:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755033344001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:26:21] local.INFO: DEBUG: GPS processor result {"connection_id":45633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19574,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:26:21] local.INFO: GPS data processed {"connection_id":45633,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:26:21] local.INFO: Acknowledgment sent {"connection_id":45633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:26:52] local.INFO: TCP Data received {"connection_id":45563,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:26:52] local.INFO: Processing buffer {"connection_id":45563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:26:52] local.INFO: IMEI packet received {"connection_id":45563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":45563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:26:57] local.INFO: TCP Data received {"connection_id":45563,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45563,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:26:57] local.INFO: Processing buffer {"connection_id":45563,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:26:57] local.INFO: IMEI packet received {"connection_id":45563,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":45563,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:26:57] local.INFO: TCP Data received {"connection_id":45563,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:26:57] local.INFO: Processing buffer {"connection_id":45563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:26:57] local.INFO: Packet analysis {"connection_id":45563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:26:57] local.INFO: Extracted packet for processing {"connection_id":45563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:26:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755029248001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776387133000,"timestamp_ms":1776387133000,"timestamp_seconds":1776387133,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ec8e48"} 
[2026-04-17 06:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:26:57] 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-04-17 06:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755029248001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755029248001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:26:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:26:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755029248001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":45563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:26:57] local.INFO: GPS data processed {"connection_id":45563,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:26:57] local.INFO: Acknowledgment sent {"connection_id":45563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:27:06] local.INFO: TCP Data received {"connection_id":45825,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:27:06] local.INFO: Processing buffer {"connection_id":45825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:27:06] local.INFO: IMEI packet received {"connection_id":45825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:27:06] local.INFO: IMEI acknowledgment sent {"connection_id":45825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:27:11] local.INFO: TCP Data received {"connection_id":45825,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45825,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:27:11] local.INFO: Processing buffer {"connection_id":45825,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:27:11] local.INFO: IMEI packet received {"connection_id":45825,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:27:11] local.INFO: IMEI acknowledgment sent {"connection_id":45825,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:27:12] local.INFO: TCP Data received {"connection_id":45825,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:27:12] local.INFO: Processing buffer {"connection_id":45825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:27:12] local.INFO: Packet analysis {"connection_id":45825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:27:12] local.INFO: Extracted packet for processing {"connection_id":45825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:27:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755033344001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:27:12] 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-04-17 06:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776387150000,"timestamp_ms":1776387150000,"timestamp_seconds":1776387150,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ecd0b0"} 
[2026-04-17 06:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:27: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-04-17 06: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":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:27: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-04-17 06: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-04-17 06:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755033344001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755033344001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:27:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755033344001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":45825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19576,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:27:12] local.INFO: GPS data processed {"connection_id":45825,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:27:12] local.INFO: Acknowledgment sent {"connection_id":45825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:27:29] local.INFO: TCP Data received {"connection_id":45563,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:27:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:27:29] local.INFO: Processing buffer {"connection_id":45563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ec8e48012d7fac4005afe1100011000030..."} 
[2026-04-17 06:27:29] local.INFO: Packet analysis {"connection_id":45563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:27:29] local.INFO: Extracted packet for processing {"connection_id":45563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:27:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:27:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755029248001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:27:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:27:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:27:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:27:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776387133000,"timestamp_ms":1776387133000,"timestamp_seconds":1776387133,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ec8e48"} 
[2026-04-17 06:27:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:27:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":151,"data_length":795,"current_offset":136} 
[2026-04-17 06:27: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-04-17 06: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-04-17 06:27:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:27:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:27:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:27:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:27:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45563,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:27: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-04-17 06:27:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:27:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:27:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755029248001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:27:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:27:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:27:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755029248001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:27:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:27:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:27:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:27:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:27:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755029248001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:27:29] local.INFO: DEBUG: GPS processor result {"connection_id":45563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:27:29] local.INFO: GPS data processed {"connection_id":45563,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:27:29] local.INFO: Acknowledgment sent {"connection_id":45563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:27:44] local.INFO: TCP Data received {"connection_id":45825,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:27:44] local.INFO: Processing buffer {"connection_id":45825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ecd0b0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:27:44] local.INFO: Packet analysis {"connection_id":45825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:27:44] local.INFO: Extracted packet for processing {"connection_id":45825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ec"} 
[2026-04-17 06:27:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:27: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-04-17 06:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755033344001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:27:44] 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-04-17 06:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776387150000,"timestamp_ms":1776387150000,"timestamp_seconds":1776387150,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ecd0b0"} 
[2026-04-17 06:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:27:44] 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-04-17 06:27: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-04-17 06:27: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-04-17 06:27: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-04-17 06:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45825,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755033344001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755033344001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:27:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755033344001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":45825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19578,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:27:44] local.INFO: GPS data processed {"connection_id":45825,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:27:44] local.INFO: Acknowledgment sent {"connection_id":45825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:27:52] local.INFO: TCP Data received {"connection_id":45634,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:27:52] local.INFO: Processing buffer {"connection_id":45634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:27:52] local.INFO: IMEI packet received {"connection_id":45634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":45634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:27:52] local.INFO: TCP Data received {"connection_id":45634,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:27:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:27:52] local.INFO: Processing buffer {"connection_id":45634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:27:52] local.INFO: IMEI packet received {"connection_id":45634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:27:52] local.INFO: IMEI acknowledgment sent {"connection_id":45634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:27:57] local.INFO: TCP Data received {"connection_id":45634,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:27:57] local.INFO: Processing buffer {"connection_id":45634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:27:57] local.INFO: IMEI packet received {"connection_id":45634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:27:57] local.INFO: IMEI acknowledgment sent {"connection_id":45634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:27:57] local.INFO: TCP Data received {"connection_id":45634,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:27:57] local.INFO: Processing buffer {"connection_id":45634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:27:57] local.INFO: Packet analysis {"connection_id":45634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:27:57] local.INFO: Extracted packet for processing {"connection_id":45634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:27:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":25,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755106048001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776387434000,"timestamp_ms":1776387434000,"timestamp_seconds":1776387434,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f12610"} 
[2026-04-17 06:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 06:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755106048001,"66":25375,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755106048001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:27:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:27:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755106048001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":45634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:27:57] local.INFO: GPS data processed {"connection_id":45634,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:27:57] local.INFO: Acknowledgment sent {"connection_id":45634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:28:06] local.INFO: TCP Data received {"connection_id":45826,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:28:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:28:06] local.INFO: Processing buffer {"connection_id":45826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:28:06] local.INFO: IMEI packet received {"connection_id":45826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:28:06] local.INFO: IMEI acknowledgment sent {"connection_id":45826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:28:10] local.INFO: TCP Data received {"connection_id":45826,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45826,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:28:10] local.INFO: Processing buffer {"connection_id":45826,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:28:10] local.INFO: IMEI packet received {"connection_id":45826,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":45826,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:28:12] local.INFO: TCP Data received {"connection_id":45826,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:28:12] local.INFO: Processing buffer {"connection_id":45826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:28:12] local.INFO: Packet analysis {"connection_id":45826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:28:12] local.INFO: Extracted packet for processing {"connection_id":45826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:28:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755110400001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:28:12] 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-04-17 06:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776387451000,"timestamp_ms":1776387451000,"timestamp_seconds":1776387451,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f16878"} 
[2026-04-17 06:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:28: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-04-17 06:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:28: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-04-17 06:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755110400001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755110400001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:28:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755110400001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":45826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19580,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:28:12] local.INFO: GPS data processed {"connection_id":45826,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:28:12] local.INFO: Acknowledgment sent {"connection_id":45826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:28:28] local.INFO: TCP Data received {"connection_id":45634,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:28:28] local.INFO: Processing buffer {"connection_id":45634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:28:28] local.INFO: Packet analysis {"connection_id":45634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:28:28] local.INFO: Extracted packet for processing {"connection_id":45634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:28:28] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":25,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755106048001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776387434000,"timestamp_ms":1776387434000,"timestamp_seconds":1776387434,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f12610"} 
[2026-04-17 06:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 06:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755106048001,"66":25375,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755106048001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:28:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:28:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755106048001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":45634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:28:28] local.INFO: GPS data processed {"connection_id":45634,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:28:28] local.INFO: Acknowledgment sent {"connection_id":45634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:28:43] local.INFO: TCP Data received {"connection_id":45826,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:28:43] local.INFO: Processing buffer {"connection_id":45826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:28:43] local.INFO: Packet analysis {"connection_id":45826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:28:43] local.INFO: Extracted packet for processing {"connection_id":45826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:28:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755110400001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:28:43] 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-04-17 06:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776387451000,"timestamp_ms":1776387451000,"timestamp_seconds":1776387451,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f16878"} 
[2026-04-17 06:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:28:43] 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-04-17 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:28: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-04-17 06: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-04-17 06:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45826,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755110400001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755110400001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:28:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755110400001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":45826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19582,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:28:43] local.INFO: GPS data processed {"connection_id":45826,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:28:43] local.INFO: Acknowledgment sent {"connection_id":45826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:28:51] local.INFO: TCP Data received {"connection_id":45564,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:28:51] local.INFO: Processing buffer {"connection_id":45564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:28:51] local.INFO: IMEI packet received {"connection_id":45564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":45564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:28:57] local.INFO: TCP Data received {"connection_id":45564,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45564,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:28:57] local.INFO: Processing buffer {"connection_id":45564,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:28:57] local.INFO: IMEI packet received {"connection_id":45564,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":45564,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:28:58] local.INFO: TCP Data received {"connection_id":45564,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:28:58] local.INFO: Processing buffer {"connection_id":45564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:28:58] local.INFO: Packet analysis {"connection_id":45564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:28:58] local.INFO: Extracted packet for processing {"connection_id":45564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":25,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755106048001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776387434000,"timestamp_ms":1776387434000,"timestamp_seconds":1776387434,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f12610"} 
[2026-04-17 06:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 06:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:28:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755106048001,"66":25375,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755106048001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:28:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:28:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755106048001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":45564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19583,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:28:58] local.INFO: GPS data processed {"connection_id":45564,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:28:58] local.INFO: Acknowledgment sent {"connection_id":45564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:29:05] local.INFO: TCP Data received {"connection_id":45635,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:29:05] local.INFO: Processing buffer {"connection_id":45635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:29:05] local.INFO: IMEI packet received {"connection_id":45635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":45635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:29:11] local.INFO: TCP Data received {"connection_id":45635,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:29:11] local.INFO: Processing buffer {"connection_id":45635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:29:11] local.INFO: IMEI packet received {"connection_id":45635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":45635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:29:12] local.INFO: TCP Data received {"connection_id":45635,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:29:12] local.INFO: Processing buffer {"connection_id":45635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:29:12] local.INFO: Packet analysis {"connection_id":45635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:29:12] local.INFO: Extracted packet for processing {"connection_id":45635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:29:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755110400001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:29:12] 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-04-17 06:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776387451000,"timestamp_ms":1776387451000,"timestamp_seconds":1776387451,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f16878"} 
[2026-04-17 06:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:29: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-04-17 06:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:29: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-04-17 06:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755110400001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755110400001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:29:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755110400001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":45635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19584,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:29:12] local.INFO: GPS data processed {"connection_id":45635,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:29:12] local.INFO: Acknowledgment sent {"connection_id":45635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:29:29] local.INFO: TCP Data received {"connection_id":45564,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45564,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:29:29] local.INFO: Processing buffer {"connection_id":45564,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:29:29] local.INFO: Packet analysis {"connection_id":45564,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:29:29] local.INFO: Extracted packet for processing {"connection_id":45564,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":25,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755106048001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776387434000,"timestamp_ms":1776387434000,"timestamp_seconds":1776387434,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f12610"} 
[2026-04-17 06:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:29:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 06:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:29:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45564,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45564,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:29: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-04-17 06:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755106048001,"66":25375,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755106048001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:29:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:29:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755106048001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":45564,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:29:29] local.INFO: GPS data processed {"connection_id":45564,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:29:29] local.INFO: Acknowledgment sent {"connection_id":45564,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:29:44] local.INFO: TCP Data received {"connection_id":45635,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:29:44] local.INFO: Processing buffer {"connection_id":45635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:29:44] local.INFO: Packet analysis {"connection_id":45635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:29:44] local.INFO: Extracted packet for processing {"connection_id":45635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:29:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755110400001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:29:44] 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-04-17 06:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776387451000,"timestamp_ms":1776387451000,"timestamp_seconds":1776387451,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f16878"} 
[2026-04-17 06:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:29:44] 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-04-17 06: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":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:29: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-04-17 06: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-04-17 06:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755110400001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755110400001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:29:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755110400001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":45635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19586,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:29:44] local.INFO: GPS data processed {"connection_id":45635,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:29:44] local.INFO: Acknowledgment sent {"connection_id":45635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:29:57] local.INFO: TCP Data received {"connection_id":45827,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:29:57] local.INFO: Processing buffer {"connection_id":45827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:29:57] local.INFO: IMEI packet received {"connection_id":45827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":45827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:30:02] local.INFO: TCP Data received {"connection_id":45827,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:30:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:30:02] local.INFO: Processing buffer {"connection_id":45827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:30:02] local.INFO: IMEI packet received {"connection_id":45827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:30:02] local.INFO: IMEI acknowledgment sent {"connection_id":45827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:30:03] local.INFO: TCP Data received {"connection_id":45827,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:30:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:30:03] local.INFO: Processing buffer {"connection_id":45827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:30:03] local.INFO: Packet analysis {"connection_id":45827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:30:03] local.INFO: Extracted packet for processing {"connection_id":45827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:30:03] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":25,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:30:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755106048001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:30:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:30:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:30:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:30:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776387434000,"timestamp_ms":1776387434000,"timestamp_seconds":1776387434,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f12610"} 
[2026-04-17 06:30:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:30:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:30:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 06:30:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:30:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:30:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:30:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:30:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:30:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:30:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:30:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:30:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:30:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755106048001,"66":25375,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:30:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:30:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:30:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755106048001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:30:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:30:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:30:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:30:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:30:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755106048001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:30:03] local.INFO: DEBUG: GPS processor result {"connection_id":45827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:30:03] local.INFO: GPS data processed {"connection_id":45827,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:30:03] local.INFO: Acknowledgment sent {"connection_id":45827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:30:07] local.INFO: TCP Data received {"connection_id":45827,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:30:07] local.INFO: Processing buffer {"connection_id":45827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:30:07] local.INFO: Packet analysis {"connection_id":45827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:30:07] local.INFO: Extracted packet for processing {"connection_id":45827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:30:07] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":25,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:30:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755106048001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:30:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:30:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:30:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:30:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776387434000,"timestamp_ms":1776387434000,"timestamp_seconds":1776387434,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f12610"} 
[2026-04-17 06:30:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:30:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 06:30:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:30:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:30:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:30:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:30:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:30:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:30:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:30:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:30:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:30:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755106048001,"66":25375,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:30:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:30:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:30:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755106048001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:30:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:30:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:30:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:30:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:30:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755106048001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:30:07] local.INFO: DEBUG: GPS processor result {"connection_id":45827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:30:07] local.INFO: GPS data processed {"connection_id":45827,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:30:07] local.INFO: Acknowledgment sent {"connection_id":45827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:30:11] local.INFO: TCP Data received {"connection_id":45565,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:30:11] local.INFO: Processing buffer {"connection_id":45565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:30:11] local.INFO: IMEI packet received {"connection_id":45565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:30:11] local.INFO: IMEI acknowledgment sent {"connection_id":45565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:30:16] local.INFO: TCP Data received {"connection_id":45565,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45565,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:30:16] local.INFO: Processing buffer {"connection_id":45565,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:30:16] local.INFO: IMEI packet received {"connection_id":45565,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":45565,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:30:17] local.INFO: TCP Data received {"connection_id":45565,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:30:17] local.INFO: Processing buffer {"connection_id":45565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:30:17] local.INFO: Packet analysis {"connection_id":45565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:30:17] local.INFO: Extracted packet for processing {"connection_id":45565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:30:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:30:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755110400001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:30:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:30:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:30:17] 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-04-17 06:30:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776387451000,"timestamp_ms":1776387451000,"timestamp_seconds":1776387451,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f16878"} 
[2026-04-17 06:30:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:30:17] 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-04-17 06:30:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:30: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-04-17 06:30:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:30:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:30:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:30:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:30:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:30:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:30:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:30:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:30:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:30:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755110400001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:30:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:30:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:30:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755110400001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:30:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:30:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:30:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:30:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755110400001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:30:17] local.INFO: DEBUG: GPS processor result {"connection_id":45565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19589,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:30:17] local.INFO: GPS data processed {"connection_id":45565,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:30:17] local.INFO: Acknowledgment sent {"connection_id":45565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:30:21] local.INFO: TCP Data received {"connection_id":45565,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:30:21] local.INFO: Processing buffer {"connection_id":45565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:30:21] local.INFO: Packet analysis {"connection_id":45565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:30:21] local.INFO: Extracted packet for processing {"connection_id":45565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:30:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755110400001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:30:21] 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-04-17 06:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776387451000,"timestamp_ms":1776387451000,"timestamp_seconds":1776387451,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f16878"} 
[2026-04-17 06:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:30:21] 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-04-17 06:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45565,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755110400001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755110400001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:30:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755110400001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":45565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19590,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:30:21] local.INFO: GPS data processed {"connection_id":45565,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:30:21] local.INFO: Acknowledgment sent {"connection_id":45565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:30:52] local.INFO: TCP Data received {"connection_id":45828,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:30:52] local.INFO: Processing buffer {"connection_id":45828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:30:52] local.INFO: IMEI packet received {"connection_id":45828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:30:52] local.INFO: IMEI acknowledgment sent {"connection_id":45828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:30:57] local.INFO: TCP Data received {"connection_id":45828,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:30:57] local.INFO: Processing buffer {"connection_id":45828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:30:57] local.INFO: IMEI packet received {"connection_id":45828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:30:57] local.INFO: IMEI acknowledgment sent {"connection_id":45828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:30:57] local.INFO: TCP Data received {"connection_id":45828,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:30:57] local.INFO: Processing buffer {"connection_id":45828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:30:57] local.INFO: Packet analysis {"connection_id":45828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:30:57] local.INFO: Extracted packet for processing {"connection_id":45828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:30:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":25,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755106048001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776387434000,"timestamp_ms":1776387434000,"timestamp_seconds":1776387434,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f12610"} 
[2026-04-17 06:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 06:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755106048001,"66":25375,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755106048001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:30:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:30:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755106048001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":45828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:30:58] local.INFO: GPS data processed {"connection_id":45828,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:30:58] local.INFO: Acknowledgment sent {"connection_id":45828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:31:07] local.INFO: TCP Data received {"connection_id":46380,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:31:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:31:07] local.INFO: Processing buffer {"connection_id":46380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:31:07] local.INFO: IMEI packet received {"connection_id":46380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:31:07] local.INFO: IMEI acknowledgment sent {"connection_id":46380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:31:11] local.INFO: TCP Data received {"connection_id":46380,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46380,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:31:11] local.INFO: Processing buffer {"connection_id":46380,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:31:11] local.INFO: IMEI packet received {"connection_id":46380,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:31:11] local.INFO: IMEI acknowledgment sent {"connection_id":46380,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:31:12] local.INFO: TCP Data received {"connection_id":46380,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:31:12] local.INFO: Processing buffer {"connection_id":46380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:31:12] local.INFO: Packet analysis {"connection_id":46380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:31:12] local.INFO: Extracted packet for processing {"connection_id":46380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:31:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755110400001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:31:12] 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-04-17 06:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776387451000,"timestamp_ms":1776387451000,"timestamp_seconds":1776387451,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f16878"} 
[2026-04-17 06:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:31: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-04-17 06: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":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:31: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-04-17 06: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-04-17 06:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755110400001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755110400001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:31:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755110400001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":46380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19592,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:31:12] local.INFO: GPS data processed {"connection_id":46380,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:31:12] local.INFO: Acknowledgment sent {"connection_id":46380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:31:16] local.INFO: TCP Data received {"connection_id":46380,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:31:16] local.INFO: Processing buffer {"connection_id":46380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:31:16] local.INFO: Packet analysis {"connection_id":46380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:31:16] local.INFO: Extracted packet for processing {"connection_id":46380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:31:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755110400001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:31:16] 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-04-17 06:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776387451000,"timestamp_ms":1776387451000,"timestamp_seconds":1776387451,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f16878"} 
[2026-04-17 06:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:31:16] 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-04-17 06: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":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:31: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-04-17 06: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-04-17 06:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755110400001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755110400001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:31:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755110400001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:31:17] local.INFO: DEBUG: GPS processor result {"connection_id":46380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19593,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:31:17] local.INFO: GPS data processed {"connection_id":46380,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:31:17] local.INFO: Acknowledgment sent {"connection_id":46380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:31:29] local.INFO: TCP Data received {"connection_id":45828,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:31:29] local.INFO: Processing buffer {"connection_id":45828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:31:29] local.INFO: Packet analysis {"connection_id":45828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:31:29] local.INFO: Extracted packet for processing {"connection_id":45828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:31:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":25,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755106048001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776387434000,"timestamp_ms":1776387434000,"timestamp_seconds":1776387434,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f12610"} 
[2026-04-17 06:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 06:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:31: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-04-17 06:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755106048001,"66":25375,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755106048001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:31:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:31:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755106048001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":45828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:31:29] local.INFO: GPS data processed {"connection_id":45828,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:31:29] local.INFO: Acknowledgment sent {"connection_id":45828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:31:49] local.INFO: TCP Data received {"connection_id":46380,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46380,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:31:49] local.INFO: Processing buffer {"connection_id":46380,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:31:49] local.INFO: Packet analysis {"connection_id":46380,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:31:49] local.INFO: Extracted packet for processing {"connection_id":46380,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:31:49] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:31:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755110400001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:31:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:31:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:31:49] 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-04-17 06:31:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776387451000,"timestamp_ms":1776387451000,"timestamp_seconds":1776387451,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f16878"} 
[2026-04-17 06:31:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:31:49] 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-04-17 06: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-04-17 06: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-04-17 06: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-04-17 06:31:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:31:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:31:49] local.INFO: Teltonika packet parsed successfully {"connection_id":46380,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:31:49] local.INFO: Passing IMEI to GPS processor {"connection_id":46380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:31:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":46380,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:31:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:31:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:31:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:31:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755110400001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:31:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:31:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:31:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755110400001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:31:49] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:31:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:31:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:31:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755110400001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:31:49] local.INFO: DEBUG: GPS processor result {"connection_id":46380,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19595,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:31:49] local.INFO: GPS data processed {"connection_id":46380,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:31:49] local.INFO: Acknowledgment sent {"connection_id":46380,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:31:52] local.INFO: TCP Data received {"connection_id":45636,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:31:52] local.INFO: Processing buffer {"connection_id":45636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:31:52] local.INFO: IMEI packet received {"connection_id":45636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":45636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:31:57] local.INFO: TCP Data received {"connection_id":45636,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:31:57] local.INFO: Processing buffer {"connection_id":45636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:31:57] local.INFO: IMEI packet received {"connection_id":45636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:31:57] local.INFO: IMEI acknowledgment sent {"connection_id":45636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:31:57] local.INFO: TCP Data received {"connection_id":45636,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:31:57] local.INFO: Processing buffer {"connection_id":45636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:31:57] local.INFO: Packet analysis {"connection_id":45636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:31:57] local.INFO: Extracted packet for processing {"connection_id":45636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":25,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755106048001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776387434000,"timestamp_ms":1776387434000,"timestamp_seconds":1776387434,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f12610"} 
[2026-04-17 06:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 06:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:31:57] 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-04-17 06:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755106048001,"66":25375,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755106048001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:31:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:31:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755106048001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":45636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:31:57] local.INFO: GPS data processed {"connection_id":45636,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:31:57] local.INFO: Acknowledgment sent {"connection_id":45636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:32:05] local.INFO: TCP Data received {"connection_id":45566,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:32:05] local.INFO: Processing buffer {"connection_id":45566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:32:05] local.INFO: IMEI packet received {"connection_id":45566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":45566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:32:11] local.INFO: TCP Data received {"connection_id":45566,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:32:11] local.INFO: Processing buffer {"connection_id":45566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:32:11] local.INFO: IMEI packet received {"connection_id":45566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:32:11] local.INFO: IMEI acknowledgment sent {"connection_id":45566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:32:12] local.INFO: TCP Data received {"connection_id":45566,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:32:12] local.INFO: Processing buffer {"connection_id":45566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:32:12] local.INFO: Packet analysis {"connection_id":45566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:32:12] local.INFO: Extracted packet for processing {"connection_id":45566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:32:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755110400001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:32:12] 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-04-17 06:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776387451000,"timestamp_ms":1776387451000,"timestamp_seconds":1776387451,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f16878"} 
[2026-04-17 06:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:32: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-04-17 06:32:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:32: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-04-17 06:32:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755110400001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755110400001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:32:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755110400001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":45566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19597,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:32:13] local.INFO: GPS data processed {"connection_id":45566,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:32:13] local.INFO: Acknowledgment sent {"connection_id":45566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:32:29] local.INFO: TCP Data received {"connection_id":45636,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:32:29] local.INFO: Processing buffer {"connection_id":45636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f12610012d7fac4005afe1100019000032..."} 
[2026-04-17 06:32:29] local.INFO: Packet analysis {"connection_id":45636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:32:29] local.INFO: Extracted packet for processing {"connection_id":45636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":25,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755106048001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776387434000,"timestamp_ms":1776387434000,"timestamp_seconds":1776387434,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f12610"} 
[2026-04-17 06:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 06:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:32: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-04-17 06:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755106048001,"66":25375,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755106048001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:32:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:32:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755106048001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":45636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19598,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:32:29] local.INFO: GPS data processed {"connection_id":45636,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:32:29] local.INFO: Acknowledgment sent {"connection_id":45636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:32:44] local.INFO: TCP Data received {"connection_id":45566,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:32:44] local.INFO: Processing buffer {"connection_id":45566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f16878012d1b598006d4d5980011013831..."} 
[2026-04-17 06:32:44] local.INFO: Packet analysis {"connection_id":45566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:32:44] local.INFO: Extracted packet for processing {"connection_id":45566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f1"} 
[2026-04-17 06:32:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755110400001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:32:44] 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-04-17 06:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776387451000,"timestamp_ms":1776387451000,"timestamp_seconds":1776387451,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f16878"} 
[2026-04-17 06:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:32:44] 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-04-17 06: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":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:32: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-04-17 06: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-04-17 06:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755110400001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755110400001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:32:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755110400001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":45566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19599,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:32:44] local.INFO: GPS data processed {"connection_id":45566,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:32:44] local.INFO: Acknowledgment sent {"connection_id":45566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:32:52] local.INFO: TCP Data received {"connection_id":45637,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:32:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:32:52] local.INFO: Processing buffer {"connection_id":45637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:32:52] local.INFO: IMEI packet received {"connection_id":45637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:32:52] local.INFO: IMEI acknowledgment sent {"connection_id":45637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:32:55] local.INFO: TCP Data received {"connection_id":45637,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:32:55] local.INFO: Processing buffer {"connection_id":45637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:32:55] local.INFO: IMEI packet received {"connection_id":45637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":45637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:32:56] local.INFO: TCP Data received {"connection_id":45637,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:32:56] local.INFO: Processing buffer {"connection_id":45637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:32:56] local.INFO: IMEI packet received {"connection_id":45637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":45637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:32:57] local.INFO: TCP Data received {"connection_id":45637,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:32:57] local.INFO: Processing buffer {"connection_id":45637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:32:57] local.INFO: Packet analysis {"connection_id":45637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:32:57] local.INFO: Extracted packet for processing {"connection_id":45637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:32:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":16,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755183104001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776387735000,"timestamp_ms":1776387735000,"timestamp_seconds":1776387735,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f5bdd8"} 
[2026-04-17 06:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755183104001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755183104001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:32:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755183104001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":45637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:32:57] local.INFO: GPS data processed {"connection_id":45637,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:32:57] local.INFO: Acknowledgment sent {"connection_id":45637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:33:02] local.INFO: TCP Data received {"connection_id":45637,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:33:02] local.INFO: Processing buffer {"connection_id":45637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:33:02] local.INFO: Packet analysis {"connection_id":45637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:33:02] local.INFO: Extracted packet for processing {"connection_id":45637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":16,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755183104001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776387735000,"timestamp_ms":1776387735000,"timestamp_seconds":1776387735,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f5bdd8"} 
[2026-04-17 06:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:33: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-04-17 06:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:33:02] 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-04-17 06:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755183104001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755183104001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:33:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755183104001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":45637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:33:02] local.INFO: GPS data processed {"connection_id":45637,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:33:02] local.INFO: Acknowledgment sent {"connection_id":45637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:33:12] local.INFO: TCP Data received {"connection_id":45829,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:33:12] local.INFO: Processing buffer {"connection_id":45829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:33:12] local.INFO: IMEI packet received {"connection_id":45829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":45829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:33:12] local.INFO: TCP Data received {"connection_id":45829,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:33:12] local.INFO: Processing buffer {"connection_id":45829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:33:12] local.INFO: IMEI packet received {"connection_id":45829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":45829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:33:16] local.INFO: TCP Data received {"connection_id":45829,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45829,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:33:16] local.INFO: Processing buffer {"connection_id":45829,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:33:16] local.INFO: IMEI packet received {"connection_id":45829,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":45829,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:33:17] local.INFO: TCP Data received {"connection_id":45829,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:33:17] local.INFO: Processing buffer {"connection_id":45829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:33:17] local.INFO: Packet analysis {"connection_id":45829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f6"} 
[2026-04-17 06:33:17] local.INFO: Extracted packet for processing {"connection_id":45829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f6"} 
[2026-04-17 06:33:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755187456001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:33:17] 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-04-17 06:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776387752000,"timestamp_ms":1776387752000,"timestamp_seconds":1776387752,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f60040"} 
[2026-04-17 06:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:33:17] 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-04-17 06:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755187456001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755187456001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:33:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755187456001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":45829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19602,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:33:17] local.INFO: GPS data processed {"connection_id":45829,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:33:17] local.INFO: Acknowledgment sent {"connection_id":45829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:33:22] local.INFO: TCP Data received {"connection_id":45829,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:33:22] local.INFO: Processing buffer {"connection_id":45829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:33:22] local.INFO: Packet analysis {"connection_id":45829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f6"} 
[2026-04-17 06:33:22] local.INFO: Extracted packet for processing {"connection_id":45829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f6"} 
[2026-04-17 06:33:22] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755187456001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:33:22] 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-04-17 06:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776387752000,"timestamp_ms":1776387752000,"timestamp_seconds":1776387752,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f60040"} 
[2026-04-17 06:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:33:22] 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-04-17 06:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45829,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755187456001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755187456001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:33:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755187456001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":45829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19603,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:33:22] local.INFO: GPS data processed {"connection_id":45829,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:33:22] local.INFO: Acknowledgment sent {"connection_id":45829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:33:33] local.INFO: TCP Data received {"connection_id":45637,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:33:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:33:33] local.INFO: Processing buffer {"connection_id":45637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:33:33] local.INFO: Packet analysis {"connection_id":45637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:33:33] local.INFO: Extracted packet for processing {"connection_id":45637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:33:33] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":16,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:33:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755183104001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:33:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:33:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:33:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:33:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776387735000,"timestamp_ms":1776387735000,"timestamp_seconds":1776387735,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f5bdd8"} 
[2026-04-17 06:33:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:33:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:33:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:33:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:33:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:33:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:33:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:33:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:33: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-04-17 06:33:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:33:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:33:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755183104001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:33:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:33:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:33:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755183104001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:33:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:33:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:33:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:33:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:33:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755183104001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":45637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:33:33] local.INFO: GPS data processed {"connection_id":45637,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:33:33] local.INFO: Acknowledgment sent {"connection_id":45637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:33:57] local.INFO: TCP Data received {"connection_id":45638,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:33:57] local.INFO: Processing buffer {"connection_id":45638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:33:57] local.INFO: IMEI packet received {"connection_id":45638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":45638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:34:02] local.INFO: TCP Data received {"connection_id":45638,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:34:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:34:02] local.INFO: Processing buffer {"connection_id":45638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:34:02] local.INFO: IMEI packet received {"connection_id":45638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:34:02] local.INFO: IMEI acknowledgment sent {"connection_id":45638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:34:03] local.INFO: TCP Data received {"connection_id":45638,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:34:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:34:03] local.INFO: Processing buffer {"connection_id":45638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:34:03] local.INFO: Packet analysis {"connection_id":45638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:34:03] local.INFO: Extracted packet for processing {"connection_id":45638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:34:03] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":16,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:34:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755183104001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:34:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:34:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:34:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:34:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776387735000,"timestamp_ms":1776387735000,"timestamp_seconds":1776387735,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f5bdd8"} 
[2026-04-17 06:34:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:34:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:34:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:34:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:34:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:34:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:34:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:34:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:34:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:34:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:34:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:34:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:34:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755183104001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:34:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:34:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:34:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755183104001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:34:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:34:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:34:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:34:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:34:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755183104001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:34:03] local.INFO: DEBUG: GPS processor result {"connection_id":45638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:34:03] local.INFO: GPS data processed {"connection_id":45638,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:34:03] local.INFO: Acknowledgment sent {"connection_id":45638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:34:05] local.INFO: TCP Data received {"connection_id":46381,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:34:05] local.INFO: Processing buffer {"connection_id":46381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:34:05] local.INFO: IMEI packet received {"connection_id":46381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":46381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:34:07] local.INFO: TCP Data received {"connection_id":45638,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:34:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:34:07] local.INFO: Processing buffer {"connection_id":45638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:34:07] local.INFO: Packet analysis {"connection_id":45638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:34:07] local.INFO: Extracted packet for processing {"connection_id":45638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:34:07] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":16,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 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-04-17 06:34:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755183104001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:34:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:34:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:34:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:34:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776387735000,"timestamp_ms":1776387735000,"timestamp_seconds":1776387735,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f5bdd8"} 
[2026-04-17 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-04-17 06:34:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:34:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 06:34:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:34:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:34:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:34:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:34:07] 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-04-17 06:34:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:34:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:34:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755183104001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:34:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:34:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:34:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755183104001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:34:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:34:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:34:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:34:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:34:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755183104001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:34:07] local.INFO: DEBUG: GPS processor result {"connection_id":45638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:34:07] local.INFO: GPS data processed {"connection_id":45638,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:34:07] local.INFO: Acknowledgment sent {"connection_id":45638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:34:10] local.INFO: TCP Data received {"connection_id":46381,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46381,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:34:10] local.INFO: Processing buffer {"connection_id":46381,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:34:10] local.INFO: IMEI packet received {"connection_id":46381,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":46381,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:34:12] local.INFO: TCP Data received {"connection_id":46381,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:34:12] local.INFO: Processing buffer {"connection_id":46381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:34:12] local.INFO: Packet analysis {"connection_id":46381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f6"} 
[2026-04-17 06:34:12] local.INFO: Extracted packet for processing {"connection_id":46381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f6"} 
[2026-04-17 06:34:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:34:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755187456001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:34:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:34:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:34:12] 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-04-17 06:34:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776387752000,"timestamp_ms":1776387752000,"timestamp_seconds":1776387752,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f60040"} 
[2026-04-17 06:34:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:34: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-04-17 06:34:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:34:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:34:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:34:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:34:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:34:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:34:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:34:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:34:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:34:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:34:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:34:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755187456001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:34:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:34:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:34:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755187456001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:34:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:34:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:34:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:34:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755187456001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:34:12] local.INFO: DEBUG: GPS processor result {"connection_id":46381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19607,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:34:12] local.INFO: GPS data processed {"connection_id":46381,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:34:12] local.INFO: Acknowledgment sent {"connection_id":46381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:34:43] local.INFO: TCP Data received {"connection_id":46381,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:34:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:34:43] local.INFO: Processing buffer {"connection_id":46381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:34:43] local.INFO: Packet analysis {"connection_id":46381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f6"} 
[2026-04-17 06:34:43] local.INFO: Extracted packet for processing {"connection_id":46381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f6"} 
[2026-04-17 06:34:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:34:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755187456001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:34:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:34:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:34:43] 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-04-17 06:34:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776387752000,"timestamp_ms":1776387752000,"timestamp_seconds":1776387752,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f60040"} 
[2026-04-17 06:34:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:34:43] 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-04-17 06:34:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:34:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:34:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:34:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:34:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:34:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:34:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:34:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46381,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:34:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:34:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:34:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:34:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755187456001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:34:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:34:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:34:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755187456001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:34:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:34:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:34:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:34:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755187456001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:34:43] local.INFO: DEBUG: GPS processor result {"connection_id":46381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19608,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:34:43] local.INFO: GPS data processed {"connection_id":46381,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:34:43] local.INFO: Acknowledgment sent {"connection_id":46381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:34:52] local.INFO: TCP Data received {"connection_id":45830,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:34:52] local.INFO: Processing buffer {"connection_id":45830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:34:52] local.INFO: IMEI packet received {"connection_id":45830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":45830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:34:57] local.INFO: TCP Data received {"connection_id":45830,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:34:57] local.INFO: Processing buffer {"connection_id":45830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:34:57] local.INFO: IMEI packet received {"connection_id":45830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:34:57] local.INFO: IMEI acknowledgment sent {"connection_id":45830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:34:58] local.INFO: TCP Data received {"connection_id":45830,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:34:58] local.INFO: Processing buffer {"connection_id":45830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:34:58] local.INFO: Packet analysis {"connection_id":45830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:34:58] local.INFO: Extracted packet for processing {"connection_id":45830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:34:58] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":16,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755183104001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776387735000,"timestamp_ms":1776387735000,"timestamp_seconds":1776387735,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f5bdd8"} 
[2026-04-17 06:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:34:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:34: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-04-17 06:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755183104001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755183104001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:34:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:34:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755183104001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":45830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:34:58] local.INFO: GPS data processed {"connection_id":45830,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:34:58] local.INFO: Acknowledgment sent {"connection_id":45830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:35:10] local.INFO: TCP Data received {"connection_id":45639,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:35:10] local.INFO: Processing buffer {"connection_id":45639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:35:10] local.INFO: IMEI packet received {"connection_id":45639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":45639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:35:18] local.INFO: TCP Data received {"connection_id":45639,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:35:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45639,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:35:18] local.INFO: Processing buffer {"connection_id":45639,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:35:18] local.INFO: IMEI packet received {"connection_id":45639,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:35:18] local.INFO: IMEI acknowledgment sent {"connection_id":45639,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:35:19] local.INFO: TCP Data received {"connection_id":45639,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:35:19] local.INFO: Processing buffer {"connection_id":45639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:35:19] local.INFO: Packet analysis {"connection_id":45639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f6"} 
[2026-04-17 06:35:19] local.INFO: Extracted packet for processing {"connection_id":45639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f6"} 
[2026-04-17 06:35:19] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755187456001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:35:19] 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-04-17 06:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776387752000,"timestamp_ms":1776387752000,"timestamp_seconds":1776387752,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f60040"} 
[2026-04-17 06:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:35:19] 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-04-17 06:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755187456001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755187456001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:35:19] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755187456001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":45639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19610,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:35:19] local.INFO: GPS data processed {"connection_id":45639,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:35:19] local.INFO: Acknowledgment sent {"connection_id":45639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:35:29] local.INFO: TCP Data received {"connection_id":45830,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:35:29] local.INFO: Processing buffer {"connection_id":45830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:35:29] local.INFO: Packet analysis {"connection_id":45830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:35:29] local.INFO: Extracted packet for processing {"connection_id":45830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:35:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":16,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755183104001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776387735000,"timestamp_ms":1776387735000,"timestamp_seconds":1776387735,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f5bdd8"} 
[2026-04-17 06:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:35: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-04-17 06:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755183104001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755183104001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:35:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:35:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755183104001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":45830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:35:29] local.INFO: GPS data processed {"connection_id":45830,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:35:29] local.INFO: Acknowledgment sent {"connection_id":45830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:35:50] local.INFO: TCP Data received {"connection_id":45639,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:35:50] local.INFO: Processing buffer {"connection_id":45639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:35:50] local.INFO: Packet analysis {"connection_id":45639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f6"} 
[2026-04-17 06:35:50] local.INFO: Extracted packet for processing {"connection_id":45639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f6"} 
[2026-04-17 06:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755187456001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:35:50] 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-04-17 06:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776387752000,"timestamp_ms":1776387752000,"timestamp_seconds":1776387752,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f60040"} 
[2026-04-17 06:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:35:50] 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-04-17 06:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45639,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755187456001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755187456001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:35:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755187456001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":45639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19612,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:35:50] local.INFO: GPS data processed {"connection_id":45639,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:35:50] local.INFO: Acknowledgment sent {"connection_id":45639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:35:52] local.INFO: TCP Data received {"connection_id":46382,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:35:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:35:52] local.INFO: Processing buffer {"connection_id":46382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:35:52] local.INFO: IMEI packet received {"connection_id":46382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:35:52] local.INFO: IMEI acknowledgment sent {"connection_id":46382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:35:57] local.INFO: TCP Data received {"connection_id":46382,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46382,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:35:57] local.INFO: Processing buffer {"connection_id":46382,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:35:57] local.INFO: IMEI packet received {"connection_id":46382,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:35:57] local.INFO: IMEI acknowledgment sent {"connection_id":46382,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:35:57] local.INFO: TCP Data received {"connection_id":46382,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:35:57] local.INFO: Processing buffer {"connection_id":46382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:35:57] local.INFO: Packet analysis {"connection_id":46382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:35:57] local.INFO: Extracted packet for processing {"connection_id":46382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:35:57] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":16,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755183104001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776387735000,"timestamp_ms":1776387735000,"timestamp_seconds":1776387735,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f5bdd8"} 
[2026-04-17 06:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755183104001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755183104001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:35:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:35:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755183104001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":46382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:35:57] local.INFO: GPS data processed {"connection_id":46382,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:35:57] local.INFO: Acknowledgment sent {"connection_id":46382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:36:11] local.INFO: TCP Data received {"connection_id":45567,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:36:11] local.INFO: Processing buffer {"connection_id":45567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:36:11] local.INFO: IMEI packet received {"connection_id":45567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":45567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:36:18] local.INFO: TCP Data received {"connection_id":45567,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:36:18] local.INFO: Processing buffer {"connection_id":45567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:36:18] local.INFO: IMEI packet received {"connection_id":45567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":45567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:36:20] local.INFO: TCP Data received {"connection_id":45567,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:36:20] local.INFO: Processing buffer {"connection_id":45567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:36:20] local.INFO: Packet analysis {"connection_id":45567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f6"} 
[2026-04-17 06:36:20] local.INFO: Extracted packet for processing {"connection_id":45567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f6"} 
[2026-04-17 06:36:20] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755187456001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:36:20] 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-04-17 06:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776387752000,"timestamp_ms":1776387752000,"timestamp_seconds":1776387752,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f60040"} 
[2026-04-17 06:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:36:20] 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-04-17 06:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:36:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":45567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":45567,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":45567,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755187456001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755187456001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:36:20] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755187456001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:36:20] local.INFO: DEBUG: GPS processor result {"connection_id":45567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19614,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:36:20] local.INFO: GPS data processed {"connection_id":45567,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:36:20] local.INFO: Acknowledgment sent {"connection_id":45567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:36:21] local.INFO: TCP Data received {"connection_id":45567,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:36:21] local.INFO: Processing buffer {"connection_id":45567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:36:21] local.INFO: Packet analysis {"connection_id":45567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f6"} 
[2026-04-17 06:36:21] local.INFO: Extracted packet for processing {"connection_id":45567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f6"} 
[2026-04-17 06:36:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755187456001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:36:21] 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-04-17 06:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776387752000,"timestamp_ms":1776387752000,"timestamp_seconds":1776387752,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f60040"} 
[2026-04-17 06:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:36:21] 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-04-17 06:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:36:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45567,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45567,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755187456001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755187456001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:36:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755187456001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":45567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19615,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:36:21] local.INFO: GPS data processed {"connection_id":45567,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:36:21] local.INFO: Acknowledgment sent {"connection_id":45567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:36:29] local.INFO: TCP Data received {"connection_id":46382,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:36:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:36:29] local.INFO: Processing buffer {"connection_id":46382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:36:29] local.INFO: Packet analysis {"connection_id":46382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:36:29] local.INFO: Extracted packet for processing {"connection_id":46382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:36:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":16,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:36:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755183104001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:36:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:36:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:36:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:36:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776387735000,"timestamp_ms":1776387735000,"timestamp_seconds":1776387735,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f5bdd8"} 
[2026-04-17 06:36:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:36:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:36:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:36:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:36:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:36:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:36:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:36:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46382,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:36:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:36:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:36:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:36:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755183104001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:36:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:36:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:36:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755183104001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:36:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:36:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:36:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:36:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:36:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755183104001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:36:29] local.INFO: DEBUG: GPS processor result {"connection_id":46382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:36:29] local.INFO: GPS data processed {"connection_id":46382,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:36:29] local.INFO: Acknowledgment sent {"connection_id":46382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:36:52] local.INFO: TCP Data received {"connection_id":45568,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:36:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:36:52] local.INFO: Processing buffer {"connection_id":45568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:36:52] local.INFO: IMEI packet received {"connection_id":45568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:36:52] local.INFO: IMEI acknowledgment sent {"connection_id":45568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:36:57] local.INFO: TCP Data received {"connection_id":45568,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45568,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:36:57] local.INFO: Processing buffer {"connection_id":45568,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:36:57] local.INFO: IMEI packet received {"connection_id":45568,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:36:57] local.INFO: IMEI acknowledgment sent {"connection_id":45568,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:36:58] local.INFO: TCP Data received {"connection_id":45568,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:36:58] local.INFO: Processing buffer {"connection_id":45568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:36:58] local.INFO: Packet analysis {"connection_id":45568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:36:58] local.INFO: Extracted packet for processing {"connection_id":45568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":16,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755183104001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776387735000,"timestamp_ms":1776387735000,"timestamp_seconds":1776387735,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f5bdd8"} 
[2026-04-17 06:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755183104001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755183104001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:36:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:36:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755183104001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":45568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:36:58] local.INFO: GPS data processed {"connection_id":45568,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:36:58] local.INFO: Acknowledgment sent {"connection_id":45568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:37:20] local.INFO: TCP Data received {"connection_id":46383,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:37:20] local.INFO: Processing buffer {"connection_id":46383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:37:20] local.INFO: IMEI packet received {"connection_id":46383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":46383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:37:25] local.INFO: TCP Data received {"connection_id":46383,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:37:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46383,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:37:25] local.INFO: Processing buffer {"connection_id":46383,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:37:25] local.INFO: IMEI packet received {"connection_id":46383,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:37:25] local.INFO: IMEI acknowledgment sent {"connection_id":46383,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:37:27] local.INFO: TCP Data received {"connection_id":46383,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:37:27] local.INFO: Processing buffer {"connection_id":46383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f60040012d1b598006d4d5980011013831..."} 
[2026-04-17 06:37:27] local.INFO: Packet analysis {"connection_id":46383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f6"} 
[2026-04-17 06:37:27] local.INFO: Extracted packet for processing {"connection_id":46383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f6"} 
[2026-04-17 06:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755187456001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:37:27] 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-04-17 06:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776387752000,"timestamp_ms":1776387752000,"timestamp_seconds":1776387752,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f60040"} 
[2026-04-17 06:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:37:27] 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-04-17 06:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:37:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46383,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755187456001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755187456001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:37:27] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755187456001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":46383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19618,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:37:27] local.INFO: GPS data processed {"connection_id":46383,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:37:27] local.INFO: Acknowledgment sent {"connection_id":46383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:37:29] local.INFO: TCP Data received {"connection_id":45568,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:37:29] local.INFO: Processing buffer {"connection_id":45568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98f5bdd8012d7fac4005afe1100010000031..."} 
[2026-04-17 06:37:29] local.INFO: Packet analysis {"connection_id":45568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:37:29] local.INFO: Extracted packet for processing {"connection_id":45568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98f5"} 
[2026-04-17 06:37:29] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":16,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755183104001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776387735000,"timestamp_ms":1776387735000,"timestamp_seconds":1776387735,"priority":1,"record_length":96,"hex_timestamp":"0000019d98f5bdd8"} 
[2026-04-17 06:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 06:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45568,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06: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-04-17 06:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755183104001,"66":25462,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755183104001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:37:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:37:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755183104001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":45568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:37:29] local.INFO: GPS data processed {"connection_id":45568,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:37:29] local.INFO: Acknowledgment sent {"connection_id":45568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:37:52] local.INFO: TCP Data received {"connection_id":45831,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:37:52] local.INFO: Processing buffer {"connection_id":45831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:37:52] local.INFO: IMEI packet received {"connection_id":45831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":45831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:37:55] local.INFO: TCP Data received {"connection_id":45831,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:37:55] local.INFO: Processing buffer {"connection_id":45831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:37:55] local.INFO: IMEI packet received {"connection_id":45831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":45831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:37:57] local.INFO: TCP Data received {"connection_id":45831,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:37:57] local.INFO: Processing buffer {"connection_id":45831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:37:57] local.INFO: IMEI packet received {"connection_id":45831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:37:57] local.INFO: IMEI acknowledgment sent {"connection_id":45831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:37:58] local.INFO: TCP Data received {"connection_id":45831,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fa55a0012d7fac4005afe110000c000030..."} 
[2026-04-17 06:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fa55a0012d7fac4005afe110000c000030..."} 
[2026-04-17 06:37:58] local.INFO: Processing buffer {"connection_id":45831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fa55a0012d7fac4005afe110000c000030..."} 
[2026-04-17 06:37:58] local.INFO: Packet analysis {"connection_id":45831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:37:58] local.INFO: Extracted packet for processing {"connection_id":45831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:37:58] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755260160001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776388036000,"timestamp_ms":1776388036000,"timestamp_seconds":1776388036,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fa55a0"} 
[2026-04-17 06:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:37:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 06:37:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755260160001,"66":25430,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755260160001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:37:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:37:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755260160001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":45831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:37:58] local.INFO: GPS data processed {"connection_id":45831,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:37:58] local.INFO: Acknowledgment sent {"connection_id":45831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:38:02] local.INFO: TCP Data received {"connection_id":45831,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fa55a0012d7fac4005afe110000c000030..."} 
[2026-04-17 06:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fa55a0012d7fac4005afe110000c000030..."} 
[2026-04-17 06:38:02] local.INFO: Processing buffer {"connection_id":45831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fa55a0012d7fac4005afe110000c000030..."} 
[2026-04-17 06:38:02] local.INFO: Packet analysis {"connection_id":45831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:38:02] local.INFO: Extracted packet for processing {"connection_id":45831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755260160001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776388036000,"timestamp_ms":1776388036000,"timestamp_seconds":1776388036,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fa55a0"} 
[2026-04-17 06:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 06:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:38:02] 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-04-17 06:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755260160001,"66":25430,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755260160001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:38:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755260160001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":45831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:38:02] local.INFO: GPS data processed {"connection_id":45831,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:38:02] local.INFO: Acknowledgment sent {"connection_id":45831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:38:05] local.INFO: TCP Data received {"connection_id":45832,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:38:05] local.INFO: Processing buffer {"connection_id":45832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:38:05] local.INFO: IMEI packet received {"connection_id":45832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":45832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:38:10] local.INFO: TCP Data received {"connection_id":45832,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:38:10] local.INFO: Processing buffer {"connection_id":45832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:38:10] local.INFO: IMEI packet received {"connection_id":45832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":45832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:38:12] local.INFO: TCP Data received {"connection_id":45832,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:38:12] local.INFO: Processing buffer {"connection_id":45832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:38:12] local.INFO: Packet analysis {"connection_id":45832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:38:12] local.INFO: Extracted packet for processing {"connection_id":45832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755264512001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:38:12] 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-04-17 06:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776388053000,"timestamp_ms":1776388053000,"timestamp_seconds":1776388053,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fa9808"} 
[2026-04-17 06:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:38: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-04-17 06: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:38: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-04-17 06: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-04-17 06:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755264512001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755264512001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:38:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755264512001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":45832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19622,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:38:12] local.INFO: GPS data processed {"connection_id":45832,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:38:12] local.INFO: Acknowledgment sent {"connection_id":45832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:38:33] local.INFO: TCP Data received {"connection_id":45831,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fa55a0012d7fac4005afe110000c000030..."} 
[2026-04-17 06:38:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fa55a0012d7fac4005afe110000c000030..."} 
[2026-04-17 06:38:33] local.INFO: Processing buffer {"connection_id":45831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fa55a0012d7fac4005afe110000c000030..."} 
[2026-04-17 06:38:33] local.INFO: Packet analysis {"connection_id":45831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:38:33] local.INFO: Extracted packet for processing {"connection_id":45831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:38:33] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:38:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755260160001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:38:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:38:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:38:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:38:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776388036000,"timestamp_ms":1776388036000,"timestamp_seconds":1776388036,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fa55a0"} 
[2026-04-17 06:38:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:38:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:38:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 06:38:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:38:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:38:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:38:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:38:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:38:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:38:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:38:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:38:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:38:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:38:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755260160001,"66":25430,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:38:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:38:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:38:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755260160001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:38:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:38:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:38:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:38:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:38:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755260160001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:38:33] local.INFO: DEBUG: GPS processor result {"connection_id":45831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:38:33] local.INFO: GPS data processed {"connection_id":45831,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:38:33] local.INFO: Acknowledgment sent {"connection_id":45831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:38:44] local.INFO: TCP Data received {"connection_id":45832,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:38:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:38:44] local.INFO: Processing buffer {"connection_id":45832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:38:44] local.INFO: Packet analysis {"connection_id":45832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:38:44] local.INFO: Extracted packet for processing {"connection_id":45832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:38:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:38:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755264512001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:38:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:38:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:38:44] 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-04-17 06:38:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776388053000,"timestamp_ms":1776388053000,"timestamp_seconds":1776388053,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fa9808"} 
[2026-04-17 06:38:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:38:44] 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-04-17 06: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-04-17 06: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-04-17 06: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-04-17 06:38:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:38:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:38:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:38:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:38:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:38:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:38:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:38:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:38:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755264512001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:38:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:38:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:38:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755264512001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:38:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:38:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:38:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:38:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755264512001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:38:44] local.INFO: DEBUG: GPS processor result {"connection_id":45832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19624,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:38:44] local.INFO: GPS data processed {"connection_id":45832,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:38:44] local.INFO: Acknowledgment sent {"connection_id":45832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:38:57] local.INFO: TCP Data received {"connection_id":45640,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:38:57] local.INFO: Processing buffer {"connection_id":45640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:38:57] local.INFO: IMEI packet received {"connection_id":45640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":45640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:38:57] local.INFO: TCP Data received {"connection_id":45640,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:38:57] local.INFO: Processing buffer {"connection_id":45640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:38:57] local.INFO: IMEI packet received {"connection_id":45640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:38:57] local.INFO: IMEI acknowledgment sent {"connection_id":45640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:39:02] local.INFO: TCP Data received {"connection_id":45640,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45640,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:39:02] local.INFO: Processing buffer {"connection_id":45640,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:39:02] local.INFO: IMEI packet received {"connection_id":45640,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:39:02] local.INFO: IMEI acknowledgment sent {"connection_id":45640,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:39:02] local.INFO: TCP Data received {"connection_id":45640,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d98faf5c8012d7fac4005afe110000b000030..."} 
[2026-04-17 06:39:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98faf5c8012d7fac4005afe110000b000030..."} 
[2026-04-17 06:39:03] local.INFO: Processing buffer {"connection_id":45640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98faf5c8012d7fac4005afe110000b000030..."} 
[2026-04-17 06:39:03] local.INFO: Packet analysis {"connection_id":45640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:39:03] local.INFO: Extracted packet for processing {"connection_id":45640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:39:03] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95412496,"longitude_deg":76.3341888,"latitude_deg":9.5412496,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe110","is_valid_coordinates":true} 
[2026-04-17 06:39: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-04-17 06:39:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755337216001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:39:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064959829180416,"note":"Value kept but may cause issues"} 
[2026-04-17 06:39:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:39:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:39:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776388077000,"timestamp_ms":1776388077000,"timestamp_seconds":1776388077,"priority":1,"record_length":96,"hex_timestamp":"0000019d98faf5c8"} 
[2026-04-17 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-04-17 06:39:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:39:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 06:39:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:39:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:39:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:39:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:39:03] 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-04-17 06:39:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:39:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:39:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755337216001,"66":25430,"250":206,"85":12544,"24":0,"16":274064959829180416,"45":9199798531980857344},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:39:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:39:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:39:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755337216001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:39:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:39:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:39:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064959829180416,"km_value":274064959829180.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:39:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:39:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755337216001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:39:03] local.INFO: DEBUG: GPS processor result {"connection_id":45640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:39:03] local.INFO: GPS data processed {"connection_id":45640,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:39:03] local.INFO: Acknowledgment sent {"connection_id":45640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:39:05] local.INFO: TCP Data received {"connection_id":45641,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:39:05] local.INFO: Processing buffer {"connection_id":45641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:39:05] local.INFO: IMEI packet received {"connection_id":45641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":45641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:39:12] local.INFO: TCP Data received {"connection_id":45641,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:39:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:39:12] local.INFO: Processing buffer {"connection_id":45641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:39:12] local.INFO: IMEI packet received {"connection_id":45641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:39:12] local.INFO: IMEI acknowledgment sent {"connection_id":45641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:39:13] local.INFO: TCP Data received {"connection_id":45641,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:39:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:39:13] local.INFO: Processing buffer {"connection_id":45641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:39:13] local.INFO: Packet analysis {"connection_id":45641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:39:13] local.INFO: Extracted packet for processing {"connection_id":45641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:39:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:39:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755264512001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:39:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:39:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:39:13] 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-04-17 06:39:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776388053000,"timestamp_ms":1776388053000,"timestamp_seconds":1776388053,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fa9808"} 
[2026-04-17 06:39:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:39:13] 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-04-17 06:39:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:39: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-04-17 06:39:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:39:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:39:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:39:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:39:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:39:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:39:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:39:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:39:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:39:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755264512001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:39:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:39:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:39:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755264512001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:39:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:39:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:39:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:39:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755264512001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:39:13] local.INFO: DEBUG: GPS processor result {"connection_id":45641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19626,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:39:13] local.INFO: GPS data processed {"connection_id":45641,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:39:13] local.INFO: Acknowledgment sent {"connection_id":45641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:39:34] local.INFO: TCP Data received {"connection_id":45640,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fb4bb8012d7fac8005afe1b0000a000032..."} 
[2026-04-17 06:39:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fb4bb8012d7fac8005afe1b0000a000032..."} 
[2026-04-17 06:39:34] local.INFO: Processing buffer {"connection_id":45640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fb4bb8012d7fac8005afe1b0000a000032..."} 
[2026-04-17 06:39:34] local.INFO: Packet analysis {"connection_id":45640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fb"} 
[2026-04-17 06:39:34] local.INFO: Extracted packet for processing {"connection_id":45640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fb"} 
[2026-04-17 06:39:34] local.INFO: GPS Element Parsed {"raw_longitude":763341952,"raw_latitude":95412656,"longitude_deg":76.3341952,"latitude_deg":9.5412656,"altitude":10,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fac80","hex_latitude":"05afe1b0","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:39:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755347712001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:39:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064972714082304,"note":"Value kept but may cause issues"} 
[2026-04-17 06:39:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531980857344,"note":"Value kept but may cause issues"} 
[2026-04-17 06:39:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:39:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776388099000,"timestamp_ms":1776388099000,"timestamp_seconds":1776388099,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fb4bb8"} 
[2026-04-17 06:39:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:39: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-04-17 06: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":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:39:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:39:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:39:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:39:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:39:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:39:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45640,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:39: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-04-17 06:39:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:39:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:39:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755347712001,"66":27843,"250":206,"85":12544,"24":0,"16":274064972714082304,"45":9199798531980857344},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:39:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:39:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:39:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755347712001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:39:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:39:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:39:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064972714082304,"km_value":274064972714082.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:39:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531980857344,"description":"Unknown IO ID 45"} 
[2026-04-17 06:39:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755347712001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531980857344}} 
[2026-04-17 06:39:34] local.INFO: DEBUG: GPS processor result {"connection_id":45640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:39:34] local.INFO: GPS data processed {"connection_id":45640,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:39:34] local.INFO: Acknowledgment sent {"connection_id":45640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:39:45] local.INFO: TCP Data received {"connection_id":45641,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:39:45] local.INFO: Processing buffer {"connection_id":45641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:39:45] local.INFO: Packet analysis {"connection_id":45641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:39:45] local.INFO: Extracted packet for processing {"connection_id":45641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:39:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:39:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755264512001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:39:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:39:45] 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-04-17 06:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776388053000,"timestamp_ms":1776388053000,"timestamp_seconds":1776388053,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fa9808"} 
[2026-04-17 06:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:39:45] 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-04-17 06: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":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:39: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-04-17 06: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-04-17 06:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755264512001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755264512001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:39:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:39:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:39:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755264512001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:39:45] local.INFO: DEBUG: GPS processor result {"connection_id":45641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19628,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:39:45] local.INFO: GPS data processed {"connection_id":45641,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:39:45] local.INFO: Acknowledgment sent {"connection_id":45641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:39:52] local.INFO: TCP Data received {"connection_id":46384,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:39:52] local.INFO: Processing buffer {"connection_id":46384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:39:52] local.INFO: IMEI packet received {"connection_id":46384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":46384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:39:56] local.INFO: TCP Data received {"connection_id":46384,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46384,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:39:56] local.INFO: Processing buffer {"connection_id":46384,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:39:56] local.INFO: IMEI packet received {"connection_id":46384,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":46384,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:39:57] local.INFO: TCP Data received {"connection_id":46384,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fb9dc0012d7fad0005afe2080009000032..."} 
[2026-04-17 06:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fb9dc0012d7fad0005afe2080009000032..."} 
[2026-04-17 06:39:57] local.INFO: Processing buffer {"connection_id":46384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fb9dc0012d7fad0005afe2080009000032..."} 
[2026-04-17 06:39:57] local.INFO: Packet analysis {"connection_id":46384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fb"} 
[2026-04-17 06:39:57] local.INFO: Extracted packet for processing {"connection_id":46384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fb"} 
[2026-04-17 06:39:57] local.INFO: GPS Element Parsed {"raw_longitude":763342080,"raw_latitude":95412744,"longitude_deg":76.334208,"latitude_deg":9.5412744,"altitude":9,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7fad00","hex_latitude":"05afe208","is_valid_coordinates":true} 
[2026-04-17 06:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755353344001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064981304016896,"note":"Value kept but may cause issues"} 
[2026-04-17 06:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199868900725075968,"note":"Value kept but may cause issues"} 
[2026-04-17 06:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776388120000,"timestamp_ms":1776388120000,"timestamp_seconds":1776388120,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fb9dc0"} 
[2026-04-17 06:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 06:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 06:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:39:57] 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-04-17 06:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755353344001,"66":27876,"250":206,"85":12544,"24":0,"16":274064981304016896,"45":9199868900725075968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755353344001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:39:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:39:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064981304016896,"km_value":274064981304016.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199868900725075968,"description":"Unknown IO ID 45"} 
[2026-04-17 06:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755353344001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199868900725075968}} 
[2026-04-17 06:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":46384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:39:57] local.INFO: GPS data processed {"connection_id":46384,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:39:57] local.INFO: Acknowledgment sent {"connection_id":46384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:40:10] local.INFO: TCP Data received {"connection_id":45833,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:40:10] local.INFO: Processing buffer {"connection_id":45833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:40:10] local.INFO: IMEI packet received {"connection_id":45833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":45833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:40:17] local.INFO: TCP Data received {"connection_id":45833,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:40:17] local.INFO: Processing buffer {"connection_id":45833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:40:17] local.INFO: IMEI packet received {"connection_id":45833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":45833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:40:18] local.INFO: TCP Data received {"connection_id":45833,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:40:18] local.INFO: Processing buffer {"connection_id":45833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:40:18] local.INFO: Packet analysis {"connection_id":45833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:40:18] local.INFO: Extracted packet for processing {"connection_id":45833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:40:18] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755264512001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:40:18] 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-04-17 06:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776388053000,"timestamp_ms":1776388053000,"timestamp_seconds":1776388053,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fa9808"} 
[2026-04-17 06:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:40:18] 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-04-17 06:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:40:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755264512001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755264512001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:40:18] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755264512001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":45833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19630,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:40:18] local.INFO: GPS data processed {"connection_id":45833,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:40:18] local.INFO: Acknowledgment sent {"connection_id":45833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:40:28] local.INFO: TCP Data received {"connection_id":46384,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fbefc8012d7fad4005afe2280009000031..."} 
[2026-04-17 06:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46384,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fbefc8012d7fad4005afe2280009000031..."} 
[2026-04-17 06:40:28] local.INFO: Processing buffer {"connection_id":46384,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fbefc8012d7fad4005afe2280009000031..."} 
[2026-04-17 06:40:28] local.INFO: Packet analysis {"connection_id":46384,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fb"} 
[2026-04-17 06:40:28] local.INFO: Extracted packet for processing {"connection_id":46384,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fb"} 
[2026-04-17 06:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95412776,"longitude_deg":76.3342144,"latitude_deg":9.5412776,"altitude":9,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe228","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755358720001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274064989893951488,"note":"Value kept but may cause issues"} 
[2026-04-17 06:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200009638213453824,"note":"Value kept but may cause issues"} 
[2026-04-17 06:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776388141000,"timestamp_ms":1776388141000,"timestamp_seconds":1776388141,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fbefc8"} 
[2026-04-17 06:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:40: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-04-17 06: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 06:40: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-04-17 06: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-04-17 06:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46384,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46384,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:40:28] 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-04-17 06:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755358720001,"66":27767,"250":206,"85":12544,"24":0,"16":274064989893951488,"45":9200009638213453824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755358720001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:40:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274064989893951488,"km_value":274064989893951.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200009638213453824,"description":"Unknown IO ID 45"} 
[2026-04-17 06:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755358720001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200009638213453824}} 
[2026-04-17 06:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":46384,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:40:28] local.INFO: GPS data processed {"connection_id":46384,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:40:28] local.INFO: Acknowledgment sent {"connection_id":46384,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:40:51] local.INFO: TCP Data received {"connection_id":45833,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:40:51] local.INFO: Processing buffer {"connection_id":45833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:40:51] local.INFO: Packet analysis {"connection_id":45833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:40:51] local.INFO: Extracted packet for processing {"connection_id":45833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:40:51] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:40:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755264512001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:40:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:40:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:40:51] 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-04-17 06:40:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776388053000,"timestamp_ms":1776388053000,"timestamp_seconds":1776388053,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fa9808"} 
[2026-04-17 06:40:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:40:51] 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-04-17 06:40:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:40:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:40:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:40:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:40:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:40:51] local.INFO: Teltonika packet parsed successfully {"connection_id":45833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:40:51] local.INFO: Passing IMEI to GPS processor {"connection_id":45833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:40:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":45833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:40:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:40:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:40:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:40:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755264512001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:40:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:40:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:40:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755264512001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:40:51] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:40:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:40:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:40:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755264512001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:40:51] local.INFO: TCP Data received {"connection_id":45642,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:40:51] local.INFO: Processing buffer {"connection_id":45642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:40:51] local.INFO: IMEI packet received {"connection_id":45642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":45642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:40:51] local.INFO: DEBUG: GPS processor result {"connection_id":45833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19632,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:40:51] local.INFO: GPS data processed {"connection_id":45833,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:40:51] local.INFO: Acknowledgment sent {"connection_id":45833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:40:57] local.INFO: TCP Data received {"connection_id":45642,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:40:57] local.INFO: Processing buffer {"connection_id":45642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:40:57] local.INFO: IMEI packet received {"connection_id":45642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:40:57] local.INFO: IMEI acknowledgment sent {"connection_id":45642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:40:57] local.INFO: TCP Data received {"connection_id":45642,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fcaf30012d7faf8005afe348000c005a32..."} 
[2026-04-17 06:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fcaf30012d7faf8005afe348000c005a32..."} 
[2026-04-17 06:40:57] local.INFO: Processing buffer {"connection_id":45642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fcaf30012d7faf8005afe348000c005a32..."} 
[2026-04-17 06:40:57] local.INFO: Packet analysis {"connection_id":45642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:40:57] local.INFO: Extracted packet for processing {"connection_id":45642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:40:57] local.INFO: GPS Element Parsed {"raw_longitude":763342720,"raw_latitude":95413064,"longitude_deg":76.334272,"latitude_deg":9.5413064,"altitude":12,"angle":90,"satellites":50,"speed":2,"hex_longitude":"2d7faf80","hex_latitude":"05afe348","is_valid_coordinates":true} 
[2026-04-17 06:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755375872001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200572588166950912,"note":"Value kept but may cause issues"} 
[2026-04-17 06:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776388190000,"timestamp_ms":1776388190000,"timestamp_seconds":1776388190,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fcaf30"} 
[2026-04-17 06:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:40: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-04-17 06:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-17 06:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:40:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755375872001,"66":27919,"250":206,"85":12544,"24":2,"16":274065097268133888,"45":9200572588166950912},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755375872001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:40:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:40:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200572588166950912,"description":"Unknown IO ID 45"} 
[2026-04-17 06:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755375872001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":2,"odometer":null,"unknown_45":9200572588166950912}} 
[2026-04-17 06:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":45642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:40:57] local.INFO: GPS data processed {"connection_id":45642,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:40:57] local.INFO: Acknowledgment sent {"connection_id":45642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:41:05] local.INFO: TCP Data received {"connection_id":45569,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:41:05] local.INFO: Processing buffer {"connection_id":45569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:41:05] local.INFO: IMEI packet received {"connection_id":45569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":45569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:41:12] local.INFO: TCP Data received {"connection_id":45569,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:41:12] local.INFO: Processing buffer {"connection_id":45569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:41:12] local.INFO: IMEI packet received {"connection_id":45569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:41:12] local.INFO: IMEI acknowledgment sent {"connection_id":45569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:41:13] local.INFO: TCP Data received {"connection_id":45569,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:41:13] local.INFO: Processing buffer {"connection_id":45569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:41:13] local.INFO: Packet analysis {"connection_id":45569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:41:13] local.INFO: Extracted packet for processing {"connection_id":45569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:41:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755264512001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:41:13] 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-04-17 06:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776388053000,"timestamp_ms":1776388053000,"timestamp_seconds":1776388053,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fa9808"} 
[2026-04-17 06:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:41:13] 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-04-17 06:41:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:41: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-04-17 06:41:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:41:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755264512001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:41:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:41:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:41:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755264512001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:41:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:41:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:41:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:41:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755264512001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":45569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:41:13] local.INFO: GPS data processed {"connection_id":45569,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:41:13] local.INFO: Acknowledgment sent {"connection_id":45569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:41:28] local.INFO: TCP Data received {"connection_id":45642,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fcb700012d7faf8005afe348000d00a032..."} 
[2026-04-17 06:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fcb700012d7faf8005afe348000d00a032..."} 
[2026-04-17 06:41:28] local.INFO: Processing buffer {"connection_id":45642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fcb700012d7faf8005afe348000d00a032..."} 
[2026-04-17 06:41:28] local.INFO: Packet analysis {"connection_id":45642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:41:28] local.INFO: Extracted packet for processing {"connection_id":45642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:41:28] local.INFO: GPS Element Parsed {"raw_longitude":763342720,"raw_latitude":95413064,"longitude_deg":76.334272,"latitude_deg":9.5413064,"altitude":13,"angle":160,"satellites":50,"speed":1,"hex_longitude":"2d7faf80","hex_latitude":"05afe348","is_valid_coordinates":true} 
[2026-04-17 06:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755376640001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655312384,"note":"Value kept but may cause issues"} 
[2026-04-17 06:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776388192000,"timestamp_ms":1776388192000,"timestamp_seconds":1776388192,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fcb700"} 
[2026-04-17 06:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:41: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-04-17 06:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 06:41: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-04-17 06:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755376640001,"66":27908,"250":206,"85":12544,"24":1,"16":274065097268133888,"45":9200713325655312384},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755376640001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:41:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:41:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655312384,"description":"Unknown IO ID 45"} 
[2026-04-17 06:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755376640001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9200713325655312384}} 
[2026-04-17 06:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":45642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:41:28] local.INFO: GPS data processed {"connection_id":45642,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:41:28] local.INFO: Acknowledgment sent {"connection_id":45642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:41:45] local.INFO: TCP Data received {"connection_id":45569,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:41:45] local.INFO: Processing buffer {"connection_id":45569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:41:45] local.INFO: Packet analysis {"connection_id":45569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:41:45] local.INFO: Extracted packet for processing {"connection_id":45569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:41:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755264512001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:41:45] 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-04-17 06:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776388053000,"timestamp_ms":1776388053000,"timestamp_seconds":1776388053,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fa9808"} 
[2026-04-17 06:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:41:45] 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-04-17 06:41:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:41: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-04-17 06:41:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755264512001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755264512001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:41:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:41:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:41:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755264512001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":45569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19636,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:41:46] local.INFO: GPS data processed {"connection_id":45569,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:41:46] local.INFO: Acknowledgment sent {"connection_id":45569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:41:51] local.INFO: TCP Data received {"connection_id":45834,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:41:51] local.INFO: Processing buffer {"connection_id":45834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:41:51] local.INFO: IMEI packet received {"connection_id":45834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":45834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:41:57] local.INFO: TCP Data received {"connection_id":45834,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:41:57] local.INFO: Processing buffer {"connection_id":45834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:41:57] local.INFO: IMEI packet received {"connection_id":45834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:41:57] local.INFO: IMEI acknowledgment sent {"connection_id":45834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:41:57] local.INFO: TCP Data received {"connection_id":45834,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:41:57] local.INFO: Processing buffer {"connection_id":45834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:41:57] local.INFO: Packet analysis {"connection_id":45834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:41:57] local.INFO: Extracted packet for processing {"connection_id":45834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:41:57] local.INFO: GPS Element Parsed {"raw_longitude":763342720,"raw_latitude":95413072,"longitude_deg":76.334272,"latitude_deg":9.5413072,"altitude":13,"angle":156,"satellites":50,"speed":1,"hex_longitude":"2d7faf80","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:41: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-04-17 06:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755377152001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655312384,"note":"Value kept but may cause issues"} 
[2026-04-17 06:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776388193000,"timestamp_ms":1776388193000,"timestamp_seconds":1776388193,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fcbae8"} 
[2026-04-17 06:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 06:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755377152001,"66":27908,"250":206,"85":12544,"24":1,"16":274065097268133888,"45":9200713325655312384},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755377152001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:41:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655312384,"description":"Unknown IO ID 45"} 
[2026-04-17 06:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755377152001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9200713325655312384}} 
[2026-04-17 06:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":45834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:41:57] local.INFO: GPS data processed {"connection_id":45834,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:41:57] local.INFO: Acknowledgment sent {"connection_id":45834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:42:05] local.INFO: TCP Data received {"connection_id":45835,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:42:05] local.INFO: Processing buffer {"connection_id":45835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:42:05] local.INFO: IMEI packet received {"connection_id":45835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":45835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:42:12] local.INFO: TCP Data received {"connection_id":45835,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45835,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:42:12] local.INFO: Processing buffer {"connection_id":45835,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:42:12] local.INFO: IMEI packet received {"connection_id":45835,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:42:12] local.INFO: IMEI acknowledgment sent {"connection_id":45835,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:42:13] local.INFO: TCP Data received {"connection_id":45835,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:42:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:42:13] local.INFO: Processing buffer {"connection_id":45835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:42:13] local.INFO: Packet analysis {"connection_id":45835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:42:13] local.INFO: Extracted packet for processing {"connection_id":45835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:42:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:42:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755264512001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:42:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:42:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:42:13] 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-04-17 06:42:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776388053000,"timestamp_ms":1776388053000,"timestamp_seconds":1776388053,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fa9808"} 
[2026-04-17 06:42:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:42:13] 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-04-17 06:42:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:42: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-04-17 06:42:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:42:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:42:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:42:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:42:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45835,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:42:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45835,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:42:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:42:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:42:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:42:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755264512001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:42:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:42:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:42:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755264512001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:42:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:42:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:42:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:42:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755264512001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:42:13] local.INFO: DEBUG: GPS processor result {"connection_id":45835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19638,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:42:13] local.INFO: GPS data processed {"connection_id":45835,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:42:13] local.INFO: Acknowledgment sent {"connection_id":45835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:42:28] local.INFO: TCP Data received {"connection_id":45834,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:42:28] local.INFO: Processing buffer {"connection_id":45834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:42:28] local.INFO: Packet analysis {"connection_id":45834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:42:28] local.INFO: Extracted packet for processing {"connection_id":45834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763342720,"raw_latitude":95413072,"longitude_deg":76.334272,"latitude_deg":9.5413072,"altitude":13,"angle":156,"satellites":50,"speed":1,"hex_longitude":"2d7faf80","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755377152001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655312384,"note":"Value kept but may cause issues"} 
[2026-04-17 06:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776388193000,"timestamp_ms":1776388193000,"timestamp_seconds":1776388193,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fcbae8"} 
[2026-04-17 06:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:42: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-04-17 06:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 06:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:42:28] 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-04-17 06:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755377152001,"66":27908,"250":206,"85":12544,"24":1,"16":274065097268133888,"45":9200713325655312384},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755377152001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:42:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:42:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655312384,"description":"Unknown IO ID 45"} 
[2026-04-17 06:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755377152001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9200713325655312384}} 
[2026-04-17 06:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":45834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:42:28] local.INFO: GPS data processed {"connection_id":45834,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:42:28] local.INFO: Acknowledgment sent {"connection_id":45834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:42:46] local.INFO: TCP Data received {"connection_id":45835,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:42:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:42:46] local.INFO: Processing buffer {"connection_id":45835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:42:46] local.INFO: Packet analysis {"connection_id":45835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:42:46] local.INFO: Extracted packet for processing {"connection_id":45835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:42:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:42:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755264512001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:42:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:42:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:42:46] 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-04-17 06:42:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776388053000,"timestamp_ms":1776388053000,"timestamp_seconds":1776388053,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fa9808"} 
[2026-04-17 06:42:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:42:46] 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-04-17 06:42:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:42: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-04-17 06:42:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:42:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:42:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:42:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:42:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45835,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:42:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45835,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:42:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:42:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:42:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:42:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755264512001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:42:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:42:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:42:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755264512001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:42:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:42:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:42:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:42:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755264512001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:42:46] local.INFO: DEBUG: GPS processor result {"connection_id":45835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19640,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:42:46] local.INFO: GPS data processed {"connection_id":45835,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:42:46] local.INFO: Acknowledgment sent {"connection_id":45835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:42:57] local.INFO: TCP Data received {"connection_id":45643,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:42:57] local.INFO: Processing buffer {"connection_id":45643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:42:57] local.INFO: IMEI packet received {"connection_id":45643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:42:57] local.INFO: IMEI acknowledgment sent {"connection_id":45643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:43:02] local.INFO: TCP Data received {"connection_id":45643,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:43:02] local.INFO: Processing buffer {"connection_id":45643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:43:02] local.INFO: IMEI packet received {"connection_id":45643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:43:02] local.INFO: IMEI acknowledgment sent {"connection_id":45643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:43:02] local.INFO: TCP Data received {"connection_id":45643,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:43:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:43:02] local.INFO: Processing buffer {"connection_id":45643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:43:02] local.INFO: Packet analysis {"connection_id":45643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:43:02] local.INFO: Extracted packet for processing {"connection_id":45643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:43:02] local.INFO: GPS Element Parsed {"raw_longitude":763342720,"raw_latitude":95413072,"longitude_deg":76.334272,"latitude_deg":9.5413072,"altitude":13,"angle":156,"satellites":50,"speed":1,"hex_longitude":"2d7faf80","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:43: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-04-17 06:43:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755377152001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:43:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:43:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655312384,"note":"Value kept but may cause issues"} 
[2026-04-17 06:43:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:43:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776388193000,"timestamp_ms":1776388193000,"timestamp_seconds":1776388193,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fcbae8"} 
[2026-04-17 06:43:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:43:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 06:43:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 06:43:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:43:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:43:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:43:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:43:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:43:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:43:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:43:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:43:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:43:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755377152001,"66":27908,"250":206,"85":12544,"24":1,"16":274065097268133888,"45":9200713325655312384},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:43:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:43:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:43:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755377152001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:43:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:43:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:43:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:43:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655312384,"description":"Unknown IO ID 45"} 
[2026-04-17 06:43:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755377152001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9200713325655312384}} 
[2026-04-17 06:43:03] local.INFO: DEBUG: GPS processor result {"connection_id":45643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:43:03] local.INFO: GPS data processed {"connection_id":45643,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:43:03] local.INFO: Acknowledgment sent {"connection_id":45643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:43:05] local.INFO: TCP Data received {"connection_id":45570,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:43:05] local.INFO: Processing buffer {"connection_id":45570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:43:05] local.INFO: IMEI packet received {"connection_id":45570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":45570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:43:07] local.INFO: TCP Data received {"connection_id":45643,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:43:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:43:07] local.INFO: Processing buffer {"connection_id":45643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:43:07] local.INFO: Packet analysis {"connection_id":45643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:43:07] local.INFO: Extracted packet for processing {"connection_id":45643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:43:07] local.INFO: GPS Element Parsed {"raw_longitude":763342720,"raw_latitude":95413072,"longitude_deg":76.334272,"latitude_deg":9.5413072,"altitude":13,"angle":156,"satellites":50,"speed":1,"hex_longitude":"2d7faf80","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:43: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-04-17 06:43:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755377152001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:43:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:43:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655312384,"note":"Value kept but may cause issues"} 
[2026-04-17 06:43:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:43:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776388193000,"timestamp_ms":1776388193000,"timestamp_seconds":1776388193,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fcbae8"} 
[2026-04-17 06:43:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:43: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-04-17 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 06:43: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-04-17 06: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-04-17 06:43:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:43:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:43:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:43:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:43:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:43:07] 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-04-17 06:43:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:43:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:43:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755377152001,"66":27908,"250":206,"85":12544,"24":1,"16":274065097268133888,"45":9200713325655312384},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:43:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:43:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:43:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755377152001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:43:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:43:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:43:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:43:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655312384,"description":"Unknown IO ID 45"} 
[2026-04-17 06:43:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755377152001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9200713325655312384}} 
[2026-04-17 06:43:07] local.INFO: DEBUG: GPS processor result {"connection_id":45643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:43:07] local.INFO: GPS data processed {"connection_id":45643,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:43:07] local.INFO: Acknowledgment sent {"connection_id":45643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:43:10] local.INFO: TCP Data received {"connection_id":45570,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45570,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:43:10] local.INFO: Processing buffer {"connection_id":45570,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:43:10] local.INFO: IMEI packet received {"connection_id":45570,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":45570,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:43:13] local.INFO: TCP Data received {"connection_id":45570,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:43:13] local.INFO: Processing buffer {"connection_id":45570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fa9808012d1b598006d4d5980011013831..."} 
[2026-04-17 06:43:13] local.INFO: Packet analysis {"connection_id":45570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:43:13] local.INFO: Extracted packet for processing {"connection_id":45570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fa"} 
[2026-04-17 06:43:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755264512001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:43:13] 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-04-17 06:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776388053000,"timestamp_ms":1776388053000,"timestamp_seconds":1776388053,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fa9808"} 
[2026-04-17 06:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:43:13] 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-04-17 06:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:43: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-04-17 06:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755264512001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755264512001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:43:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755264512001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":45570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19643,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:43:13] local.INFO: GPS data processed {"connection_id":45570,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:43:13] local.INFO: Acknowledgment sent {"connection_id":45570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:43:45] local.INFO: TCP Data received {"connection_id":45570,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:43:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:43:45] local.INFO: Processing buffer {"connection_id":45570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:43:45] local.INFO: Packet analysis {"connection_id":45570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:43:45] local.INFO: Extracted packet for processing {"connection_id":45570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:43:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:43:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755341568001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:43:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:43:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:43:45] 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-04-17 06:43:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776388354000,"timestamp_ms":1776388354000,"timestamp_seconds":1776388354,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ff2fd0"} 
[2026-04-17 06:43:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:43:45] 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-04-17 06:43:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:43: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-04-17 06:43:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:43:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:43:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:43:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:43:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:43:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45570,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:43:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:43:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:43:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:43:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755341568001,"66":25441,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:43:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:43:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:43:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755341568001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:43:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:43:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:43:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:43:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755341568001,"power":25441,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:43:46] local.INFO: DEBUG: GPS processor result {"connection_id":45570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19644,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:43:46] local.INFO: GPS data processed {"connection_id":45570,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:43:46] local.INFO: Acknowledgment sent {"connection_id":45570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:43:51] local.INFO: TCP Data received {"connection_id":45836,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:43:51] local.INFO: Processing buffer {"connection_id":45836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:43:51] local.INFO: IMEI packet received {"connection_id":45836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":45836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:43:56] local.INFO: TCP Data received {"connection_id":45836,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:43:56] local.INFO: Processing buffer {"connection_id":45836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:43:56] local.INFO: IMEI packet received {"connection_id":45836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":45836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:43:57] local.INFO: TCP Data received {"connection_id":45836,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:43:57] local.INFO: Processing buffer {"connection_id":45836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:43:57] local.INFO: Packet analysis {"connection_id":45836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:43:57] local.INFO: Extracted packet for processing {"connection_id":45836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:43:57] local.INFO: GPS Element Parsed {"raw_longitude":763342720,"raw_latitude":95413072,"longitude_deg":76.334272,"latitude_deg":9.5413072,"altitude":13,"angle":156,"satellites":50,"speed":1,"hex_longitude":"2d7faf80","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:43: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-04-17 06:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755377152001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655312384,"note":"Value kept but may cause issues"} 
[2026-04-17 06:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776388193000,"timestamp_ms":1776388193000,"timestamp_seconds":1776388193,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fcbae8"} 
[2026-04-17 06:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 06:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755377152001,"66":27908,"250":206,"85":12544,"24":1,"16":274065097268133888,"45":9200713325655312384},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755377152001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:43:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:43:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655312384,"description":"Unknown IO ID 45"} 
[2026-04-17 06:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755377152001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9200713325655312384}} 
[2026-04-17 06:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":45836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:43:57] local.INFO: GPS data processed {"connection_id":45836,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:43:57] local.INFO: Acknowledgment sent {"connection_id":45836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:44:06] local.INFO: TCP Data received {"connection_id":45571,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:44:06] local.INFO: Processing buffer {"connection_id":45571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:44:06] local.INFO: IMEI packet received {"connection_id":45571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:44:06] local.INFO: IMEI acknowledgment sent {"connection_id":45571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:44:11] local.INFO: TCP Data received {"connection_id":45571,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45571,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:44:11] local.INFO: Processing buffer {"connection_id":45571,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:44:11] local.INFO: IMEI packet received {"connection_id":45571,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":45571,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:44:13] local.INFO: TCP Data received {"connection_id":45571,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:44:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:44:13] local.INFO: Processing buffer {"connection_id":45571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:44:13] local.INFO: Packet analysis {"connection_id":45571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:44:13] local.INFO: Extracted packet for processing {"connection_id":45571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:44:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:44:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755341568001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:44:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:44:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:44:13] 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-04-17 06:44:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776388354000,"timestamp_ms":1776388354000,"timestamp_seconds":1776388354,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ff2fd0"} 
[2026-04-17 06:44:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:44:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:44:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:44: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-04-17 06:44:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:44:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:44:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:44:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:44:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:44:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:44:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:44:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:44:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:44:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755341568001,"66":25441,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:44:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:44:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:44:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755341568001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:44:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:44:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:44:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:44:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755341568001,"power":25441,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:44:13] local.INFO: DEBUG: GPS processor result {"connection_id":45571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19646,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:44:13] local.INFO: GPS data processed {"connection_id":45571,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:44:13] local.INFO: Acknowledgment sent {"connection_id":45571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:44:28] local.INFO: TCP Data received {"connection_id":45836,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:44:28] local.INFO: Processing buffer {"connection_id":45836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:44:28] local.INFO: Packet analysis {"connection_id":45836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:44:28] local.INFO: Extracted packet for processing {"connection_id":45836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:44:28] local.INFO: GPS Element Parsed {"raw_longitude":763342720,"raw_latitude":95413072,"longitude_deg":76.334272,"latitude_deg":9.5413072,"altitude":13,"angle":156,"satellites":50,"speed":1,"hex_longitude":"2d7faf80","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755377152001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655312384,"note":"Value kept but may cause issues"} 
[2026-04-17 06:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776388193000,"timestamp_ms":1776388193000,"timestamp_seconds":1776388193,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fcbae8"} 
[2026-04-17 06:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:44: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-04-17 06:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 06:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:44:28] 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-04-17 06:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755377152001,"66":27908,"250":206,"85":12544,"24":1,"16":274065097268133888,"45":9200713325655312384},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755377152001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:44:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655312384,"description":"Unknown IO ID 45"} 
[2026-04-17 06:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755377152001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9200713325655312384}} 
[2026-04-17 06:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":45836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:44:28] local.INFO: GPS data processed {"connection_id":45836,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:44:28] local.INFO: Acknowledgment sent {"connection_id":45836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:44:46] local.INFO: TCP Data received {"connection_id":45571,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:44:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:44:46] local.INFO: Processing buffer {"connection_id":45571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:44:46] local.INFO: Packet analysis {"connection_id":45571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:44:46] local.INFO: Extracted packet for processing {"connection_id":45571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:44:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:44:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755341568001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:44:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:44:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:44:46] 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-04-17 06:44:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776388354000,"timestamp_ms":1776388354000,"timestamp_seconds":1776388354,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ff2fd0"} 
[2026-04-17 06:44:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:44:46] 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-04-17 06:44:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:44: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-04-17 06: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-04-17 06:44:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:44:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:44:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:44:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:44:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45571,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:44:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:44:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:44:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:44:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755341568001,"66":25441,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:44:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:44:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:44:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755341568001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:44:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:44:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:44:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:44:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755341568001,"power":25441,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:44:46] local.INFO: DEBUG: GPS processor result {"connection_id":45571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19648,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:44:46] local.INFO: GPS data processed {"connection_id":45571,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:44:46] local.INFO: Acknowledgment sent {"connection_id":45571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:44:52] local.INFO: TCP Data received {"connection_id":45644,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:44:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:44:52] local.INFO: Processing buffer {"connection_id":45644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:44:52] local.INFO: IMEI packet received {"connection_id":45644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:44:52] local.INFO: IMEI acknowledgment sent {"connection_id":45644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:44:57] local.INFO: TCP Data received {"connection_id":45644,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:44:57] local.INFO: Processing buffer {"connection_id":45644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:44:57] local.INFO: IMEI packet received {"connection_id":45644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":45644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:44:58] local.INFO: TCP Data received {"connection_id":45644,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:44:58] local.INFO: Processing buffer {"connection_id":45644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:44:58] local.INFO: Packet analysis {"connection_id":45644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:44:58] local.INFO: Extracted packet for processing {"connection_id":45644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:44:58] local.INFO: GPS Element Parsed {"raw_longitude":763342720,"raw_latitude":95413072,"longitude_deg":76.334272,"latitude_deg":9.5413072,"altitude":13,"angle":156,"satellites":50,"speed":1,"hex_longitude":"2d7faf80","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:44: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-04-17 06:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755377152001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655312384,"note":"Value kept but may cause issues"} 
[2026-04-17 06:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776388193000,"timestamp_ms":1776388193000,"timestamp_seconds":1776388193,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fcbae8"} 
[2026-04-17 06:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:44: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-04-17 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 06:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:44:58] 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-04-17 06:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755377152001,"66":27908,"250":206,"85":12544,"24":1,"16":274065097268133888,"45":9200713325655312384},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755377152001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:44:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:44:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655312384,"description":"Unknown IO ID 45"} 
[2026-04-17 06:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755377152001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9200713325655312384}} 
[2026-04-17 06:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":45644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:44:58] local.INFO: GPS data processed {"connection_id":45644,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:44:58] local.INFO: Acknowledgment sent {"connection_id":45644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:45:06] local.INFO: TCP Data received {"connection_id":45837,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:45:06] local.INFO: Processing buffer {"connection_id":45837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:45:06] local.INFO: IMEI packet received {"connection_id":45837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:45:06] local.INFO: IMEI acknowledgment sent {"connection_id":45837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:45:11] local.INFO: TCP Data received {"connection_id":45837,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:45:11] local.INFO: Processing buffer {"connection_id":45837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:45:11] local.INFO: IMEI packet received {"connection_id":45837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:45:11] local.INFO: IMEI acknowledgment sent {"connection_id":45837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:45:13] local.INFO: TCP Data received {"connection_id":45837,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:45:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:45:13] local.INFO: Processing buffer {"connection_id":45837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:45:13] local.INFO: Packet analysis {"connection_id":45837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:45:13] local.INFO: Extracted packet for processing {"connection_id":45837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:45:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:45:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755341568001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:45:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:45:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:45:13] 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-04-17 06:45:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776388354000,"timestamp_ms":1776388354000,"timestamp_seconds":1776388354,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ff2fd0"} 
[2026-04-17 06:45:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:45:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:45:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:45: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-04-17 06:45:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:45:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:45:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:45:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:45:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:45:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:45:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:45:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:45:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:45:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755341568001,"66":25441,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:45:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:45:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:45:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755341568001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:45:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:45:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:45:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:45:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755341568001,"power":25441,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":45837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19650,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:45:13] local.INFO: GPS data processed {"connection_id":45837,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:45:13] local.INFO: Acknowledgment sent {"connection_id":45837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:45:29] local.INFO: TCP Data received {"connection_id":45644,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:45:29] local.INFO: Processing buffer {"connection_id":45644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98fcbae8012d7faf8005afe350000d009c32..."} 
[2026-04-17 06:45:29] local.INFO: Packet analysis {"connection_id":45644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:45:29] local.INFO: Extracted packet for processing {"connection_id":45644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98fc"} 
[2026-04-17 06:45:29] local.INFO: GPS Element Parsed {"raw_longitude":763342720,"raw_latitude":95413072,"longitude_deg":76.334272,"latitude_deg":9.5413072,"altitude":13,"angle":156,"satellites":50,"speed":1,"hex_longitude":"2d7faf80","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:45: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-04-17 06:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755377152001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655312384,"note":"Value kept but may cause issues"} 
[2026-04-17 06:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776388193000,"timestamp_ms":1776388193000,"timestamp_seconds":1776388193,"priority":1,"record_length":96,"hex_timestamp":"0000019d98fcbae8"} 
[2026-04-17 06:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:45: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-04-17 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 06:45: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-04-17 06: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-04-17 06:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:45: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-04-17 06:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755377152001,"66":27908,"250":206,"85":12544,"24":1,"16":274065097268133888,"45":9200713325655312384},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755377152001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:45:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655312384,"description":"Unknown IO ID 45"} 
[2026-04-17 06:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755377152001,"power":27908,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9200713325655312384}} 
[2026-04-17 06:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":45644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:45:29] local.INFO: GPS data processed {"connection_id":45644,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:45:29] local.INFO: Acknowledgment sent {"connection_id":45644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:45:48] local.INFO: TCP Data received {"connection_id":45837,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:45:48] local.INFO: Processing buffer {"connection_id":45837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:45:48] local.INFO: Packet analysis {"connection_id":45837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:45:48] local.INFO: Extracted packet for processing {"connection_id":45837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:45:48] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:45:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755341568001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:45:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:45:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:45:48] 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-04-17 06:45:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776388354000,"timestamp_ms":1776388354000,"timestamp_seconds":1776388354,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ff2fd0"} 
[2026-04-17 06:45:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:45:48] 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-04-17 06:45:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:45: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-04-17 06:45:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:45:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:45:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:45:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:45:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:45:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45837,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:45:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:45:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:45:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:45:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755341568001,"66":25441,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:45:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:45:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:45:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755341568001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:45:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:45:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:45:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:45:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755341568001,"power":25441,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:45:48] local.INFO: DEBUG: GPS processor result {"connection_id":45837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19652,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:45:48] local.INFO: GPS data processed {"connection_id":45837,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:45:48] local.INFO: Acknowledgment sent {"connection_id":45837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:45:56] local.INFO: TCP Data received {"connection_id":46385,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:45:57] local.INFO: Processing buffer {"connection_id":46385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:45:57] local.INFO: IMEI packet received {"connection_id":46385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:45:57] local.INFO: IMEI acknowledgment sent {"connection_id":46385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:46:02] local.INFO: TCP Data received {"connection_id":46385,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46385,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:46:02] local.INFO: Processing buffer {"connection_id":46385,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:46:02] local.INFO: IMEI packet received {"connection_id":46385,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:46:02] local.INFO: IMEI acknowledgment sent {"connection_id":46385,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:46:02] local.INFO: TCP Data received {"connection_id":46385,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:46:02] local.INFO: Processing buffer {"connection_id":46385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:46:02] local.INFO: Packet analysis {"connection_id":46385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:46:02] local.INFO: Extracted packet for processing {"connection_id":46385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":49,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755377408001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655314432,"note":"Value kept but may cause issues"} 
[2026-04-17 06:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776388494000,"timestamp_ms":1776388494000,"timestamp_seconds":1776388494,"priority":1,"record_length":96,"hex_timestamp":"0000019d990152b0"} 
[2026-04-17 06:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 06:46: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-04-17 06:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:46:02] 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-04-17 06:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755377408001,"66":25702,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200713325655314432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755377408001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:46:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:46:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655314432,"description":"Unknown IO ID 45"} 
[2026-04-17 06:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755377408001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200713325655314432}} 
[2026-04-17 06:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":46385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:46:02] local.INFO: GPS data processed {"connection_id":46385,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:46:02] local.INFO: Acknowledgment sent {"connection_id":46385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:46:07] local.INFO: TCP Data received {"connection_id":46385,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46385,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:46:07] local.INFO: Processing buffer {"connection_id":46385,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:46:07] local.INFO: Packet analysis {"connection_id":46385,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:46:07] local.INFO: Extracted packet for processing {"connection_id":46385,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:46:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":49,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755377408001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655314432,"note":"Value kept but may cause issues"} 
[2026-04-17 06:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776388494000,"timestamp_ms":1776388494000,"timestamp_seconds":1776388494,"priority":1,"record_length":96,"hex_timestamp":"0000019d990152b0"} 
[2026-04-17 06:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:46:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 06:46: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-04-17 06:46:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":46385,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":46385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":46385,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:46:07] 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-04-17 06:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755377408001,"66":25702,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200713325655314432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755377408001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:46:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:46:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655314432,"description":"Unknown IO ID 45"} 
[2026-04-17 06:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755377408001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200713325655314432}} 
[2026-04-17 06:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":46385,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:46:07] local.INFO: GPS data processed {"connection_id":46385,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:46:07] local.INFO: Acknowledgment sent {"connection_id":46385,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:46:16] local.INFO: TCP Data received {"connection_id":45645,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:46:16] local.INFO: Processing buffer {"connection_id":45645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:46:16] local.INFO: IMEI packet received {"connection_id":45645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:46:16] local.INFO: IMEI acknowledgment sent {"connection_id":45645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:46:21] local.INFO: TCP Data received {"connection_id":45645,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45645,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:46:21] local.INFO: Processing buffer {"connection_id":45645,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:46:21] local.INFO: IMEI packet received {"connection_id":45645,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":45645,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:46:23] local.INFO: TCP Data received {"connection_id":45645,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:46:23] local.INFO: Processing buffer {"connection_id":45645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:46:23] local.INFO: Packet analysis {"connection_id":45645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:46:23] local.INFO: Extracted packet for processing {"connection_id":45645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755341568001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:46:23] 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-04-17 06:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776388354000,"timestamp_ms":1776388354000,"timestamp_seconds":1776388354,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ff2fd0"} 
[2026-04-17 06:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:46:23] 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-04-17 06:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45645,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45645,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755341568001,"66":25441,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755341568001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:46:23] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755341568001,"power":25441,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":45645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19655,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:46:23] local.INFO: GPS data processed {"connection_id":45645,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:46:23] local.INFO: Acknowledgment sent {"connection_id":45645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:46:26] local.INFO: TCP Data received {"connection_id":45645,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:46:26] local.INFO: Processing buffer {"connection_id":45645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:46:26] local.INFO: Packet analysis {"connection_id":45645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:46:26] local.INFO: Extracted packet for processing {"connection_id":45645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:46:26] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755341568001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:46:26] 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-04-17 06:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776388354000,"timestamp_ms":1776388354000,"timestamp_seconds":1776388354,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ff2fd0"} 
[2026-04-17 06:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:46:26] 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-04-17 06:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45645,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45645,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755341568001,"66":25441,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755341568001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:46:26] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755341568001,"power":25441,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":45645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19656,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:46:26] local.INFO: GPS data processed {"connection_id":45645,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:46:26] local.INFO: Acknowledgment sent {"connection_id":45645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:46:52] local.INFO: TCP Data received {"connection_id":46386,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:46:52] local.INFO: Processing buffer {"connection_id":46386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:46:52] local.INFO: IMEI packet received {"connection_id":46386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":46386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:46:56] local.INFO: TCP Data received {"connection_id":46386,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:46:57] local.INFO: Processing buffer {"connection_id":46386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:46:57] local.INFO: IMEI packet received {"connection_id":46386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:46:57] local.INFO: IMEI acknowledgment sent {"connection_id":46386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:46:57] local.INFO: TCP Data received {"connection_id":46386,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:46:57] local.INFO: Processing buffer {"connection_id":46386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:46:57] local.INFO: Packet analysis {"connection_id":46386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:46:57] local.INFO: Extracted packet for processing {"connection_id":46386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:46:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":49,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755377408001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655314432,"note":"Value kept but may cause issues"} 
[2026-04-17 06:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776388494000,"timestamp_ms":1776388494000,"timestamp_seconds":1776388494,"priority":1,"record_length":96,"hex_timestamp":"0000019d990152b0"} 
[2026-04-17 06:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 06:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:46:57] 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-04-17 06:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755377408001,"66":25702,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200713325655314432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755377408001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:46:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655314432,"description":"Unknown IO ID 45"} 
[2026-04-17 06:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755377408001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200713325655314432}} 
[2026-04-17 06:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":46386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:46:57] local.INFO: GPS data processed {"connection_id":46386,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:46:57] local.INFO: Acknowledgment sent {"connection_id":46386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:47:06] local.INFO: TCP Data received {"connection_id":45572,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:47:06] local.INFO: Processing buffer {"connection_id":45572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:47:06] local.INFO: IMEI packet received {"connection_id":45572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":45572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:47:14] local.INFO: TCP Data received {"connection_id":45572,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:47:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45572,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:47:14] local.INFO: Processing buffer {"connection_id":45572,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:47:14] local.INFO: IMEI packet received {"connection_id":45572,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:47:14] local.INFO: IMEI acknowledgment sent {"connection_id":45572,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:47:16] local.INFO: TCP Data received {"connection_id":45572,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:47:16] local.INFO: Processing buffer {"connection_id":45572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:47:16] local.INFO: Packet analysis {"connection_id":45572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:47:16] local.INFO: Extracted packet for processing {"connection_id":45572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755341568001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:47:16] 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-04-17 06:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776388354000,"timestamp_ms":1776388354000,"timestamp_seconds":1776388354,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ff2fd0"} 
[2026-04-17 06:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:47:16] 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-04-17 06: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":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:47: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-04-17 06: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-04-17 06:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755341568001,"66":25441,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755341568001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:47:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755341568001,"power":25441,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":45572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19658,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:47:16] local.INFO: GPS data processed {"connection_id":45572,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:47:16] local.INFO: Acknowledgment sent {"connection_id":45572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:47:29] local.INFO: TCP Data received {"connection_id":46386,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:47:29] local.INFO: Processing buffer {"connection_id":46386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:47:29] local.INFO: Packet analysis {"connection_id":46386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:47:29] local.INFO: Extracted packet for processing {"connection_id":46386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:47:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":49,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:47:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755377408001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:47:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:47:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655314432,"note":"Value kept but may cause issues"} 
[2026-04-17 06:47:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:47:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776388494000,"timestamp_ms":1776388494000,"timestamp_seconds":1776388494,"priority":1,"record_length":96,"hex_timestamp":"0000019d990152b0"} 
[2026-04-17 06:47:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:47:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 06:47: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-04-17 06: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-04-17 06:47:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:47:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:47:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:47:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:47:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:47: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-04-17 06:47:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:47:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:47:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755377408001,"66":25702,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200713325655314432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:47:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:47:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:47:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755377408001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:47:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:47:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:47:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:47:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655314432,"description":"Unknown IO ID 45"} 
[2026-04-17 06:47:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755377408001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200713325655314432}} 
[2026-04-17 06:47:29] local.INFO: DEBUG: GPS processor result {"connection_id":46386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:47:29] local.INFO: GPS data processed {"connection_id":46386,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:47:29] local.INFO: Acknowledgment sent {"connection_id":46386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:47:48] local.INFO: TCP Data received {"connection_id":45572,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:47:48] local.INFO: Processing buffer {"connection_id":45572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:47:48] local.INFO: Packet analysis {"connection_id":45572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:47:48] local.INFO: Extracted packet for processing {"connection_id":45572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:47:48] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:47:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755341568001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:47:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:47:48] 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-04-17 06:47:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776388354000,"timestamp_ms":1776388354000,"timestamp_seconds":1776388354,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ff2fd0"} 
[2026-04-17 06:47:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:47:48] 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-04-17 06:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06:47: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-04-17 06:47:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:47:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45572,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:47:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:47:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:47:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755341568001,"66":25441,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:47:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:47:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:47:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755341568001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:47:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:47:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:47:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:47:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755341568001,"power":25441,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":45572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19660,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:47:48] local.INFO: GPS data processed {"connection_id":45572,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:47:48] local.INFO: Acknowledgment sent {"connection_id":45572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:47:52] local.INFO: TCP Data received {"connection_id":46387,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:47:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:47:52] local.INFO: Processing buffer {"connection_id":46387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:47:52] local.INFO: IMEI packet received {"connection_id":46387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:47:52] local.INFO: IMEI acknowledgment sent {"connection_id":46387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:47:57] local.INFO: TCP Data received {"connection_id":46387,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46387,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:47:57] local.INFO: Processing buffer {"connection_id":46387,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:47:57] local.INFO: IMEI packet received {"connection_id":46387,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:47:57] local.INFO: IMEI acknowledgment sent {"connection_id":46387,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:47:57] local.INFO: TCP Data received {"connection_id":46387,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:47:57] local.INFO: Processing buffer {"connection_id":46387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:47:57] local.INFO: Packet analysis {"connection_id":46387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:47:57] local.INFO: Extracted packet for processing {"connection_id":46387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:47:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":49,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755377408001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655314432,"note":"Value kept but may cause issues"} 
[2026-04-17 06:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776388494000,"timestamp_ms":1776388494000,"timestamp_seconds":1776388494,"priority":1,"record_length":96,"hex_timestamp":"0000019d990152b0"} 
[2026-04-17 06:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 06:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:47:57] 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-04-17 06:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755377408001,"66":25702,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200713325655314432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755377408001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:47:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:47:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655314432,"description":"Unknown IO ID 45"} 
[2026-04-17 06:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755377408001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200713325655314432}} 
[2026-04-17 06:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":46387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:47:57] local.INFO: GPS data processed {"connection_id":46387,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:47:57] local.INFO: Acknowledgment sent {"connection_id":46387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:48:05] local.INFO: TCP Data received {"connection_id":45573,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:48:05] local.INFO: Processing buffer {"connection_id":45573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:48:05] local.INFO: IMEI packet received {"connection_id":45573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":45573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:48:11] local.INFO: TCP Data received {"connection_id":45573,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45573,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:48:11] local.INFO: Processing buffer {"connection_id":45573,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:48:11] local.INFO: IMEI packet received {"connection_id":45573,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":45573,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:48:12] local.INFO: TCP Data received {"connection_id":45573,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:48:12] local.INFO: Processing buffer {"connection_id":45573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d98ff2fd0012d1b598006d4d5980011013831..."} 
[2026-04-17 06:48:12] local.INFO: Packet analysis {"connection_id":45573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:48:12] local.INFO: Extracted packet for processing {"connection_id":45573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d98ff"} 
[2026-04-17 06:48:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755341568001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:48:12] 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-04-17 06:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776388354000,"timestamp_ms":1776388354000,"timestamp_seconds":1776388354,"priority":1,"record_length":96,"hex_timestamp":"0000019d98ff2fd0"} 
[2026-04-17 06:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:48: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-04-17 06:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 06: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-04-17 06:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755341568001,"66":25441,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755341568001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:48:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755341568001,"power":25441,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":45573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19662,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:48:12] local.INFO: GPS data processed {"connection_id":45573,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:48:12] local.INFO: Acknowledgment sent {"connection_id":45573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:48:29] local.INFO: TCP Data received {"connection_id":46387,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:48:29] local.INFO: Processing buffer {"connection_id":46387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:48:29] local.INFO: Packet analysis {"connection_id":46387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:48:29] local.INFO: Extracted packet for processing {"connection_id":46387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:48:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":49,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755377408001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655314432,"note":"Value kept but may cause issues"} 
[2026-04-17 06:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776388494000,"timestamp_ms":1776388494000,"timestamp_seconds":1776388494,"priority":1,"record_length":96,"hex_timestamp":"0000019d990152b0"} 
[2026-04-17 06:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 06:48: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-04-17 06: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-04-17 06:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46387,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:48: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-04-17 06:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755377408001,"66":25702,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200713325655314432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755377408001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:48:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655314432,"description":"Unknown IO ID 45"} 
[2026-04-17 06:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755377408001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200713325655314432}} 
[2026-04-17 06:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":46387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:48:29] local.INFO: GPS data processed {"connection_id":46387,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:48:29] local.INFO: Acknowledgment sent {"connection_id":46387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:48:44] local.INFO: TCP Data received {"connection_id":45573,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:48:44] local.INFO: Processing buffer {"connection_id":45573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:48:44] local.INFO: Packet analysis {"connection_id":45573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:48:44] local.INFO: Extracted packet for processing {"connection_id":45573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:48:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755418624001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:48:44] 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-04-17 06:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776388655000,"timestamp_ms":1776388655000,"timestamp_seconds":1776388655,"priority":1,"record_length":96,"hex_timestamp":"0000019d9903c798"} 
[2026-04-17 06:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:48:44] 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-04-17 06:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 06:48: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-04-17 06:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45573,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755418624001,"66":25299,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755418624001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:48:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755418624001,"power":25299,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":45573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19664,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:48:44] local.INFO: GPS data processed {"connection_id":45573,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:48:44] local.INFO: Acknowledgment sent {"connection_id":45573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:48:52] local.INFO: TCP Data received {"connection_id":45646,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:48:52] local.INFO: Processing buffer {"connection_id":45646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:48:52] local.INFO: IMEI packet received {"connection_id":45646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:48:52] local.INFO: IMEI acknowledgment sent {"connection_id":45646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:48:57] local.INFO: TCP Data received {"connection_id":45646,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:48:57] local.INFO: Processing buffer {"connection_id":45646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:48:57] local.INFO: IMEI packet received {"connection_id":45646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:48:57] local.INFO: IMEI acknowledgment sent {"connection_id":45646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:48:57] local.INFO: TCP Data received {"connection_id":45646,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:48:57] local.INFO: Processing buffer {"connection_id":45646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:48:57] local.INFO: Packet analysis {"connection_id":45646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:48:57] local.INFO: Extracted packet for processing {"connection_id":45646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":49,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755377408001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655314432,"note":"Value kept but may cause issues"} 
[2026-04-17 06:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776388494000,"timestamp_ms":1776388494000,"timestamp_seconds":1776388494,"priority":1,"record_length":96,"hex_timestamp":"0000019d990152b0"} 
[2026-04-17 06:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 06:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:48:57] 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-04-17 06:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755377408001,"66":25702,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200713325655314432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755377408001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:48:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655314432,"description":"Unknown IO ID 45"} 
[2026-04-17 06:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755377408001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200713325655314432}} 
[2026-04-17 06:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":45646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:48:57] local.INFO: GPS data processed {"connection_id":45646,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:48:57] local.INFO: Acknowledgment sent {"connection_id":45646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:49:05] local.INFO: TCP Data received {"connection_id":45838,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:49:05] local.INFO: Processing buffer {"connection_id":45838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:49:05] local.INFO: IMEI packet received {"connection_id":45838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":45838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:49:10] local.INFO: TCP Data received {"connection_id":45838,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45838,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:49:10] local.INFO: Processing buffer {"connection_id":45838,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:49:10] local.INFO: IMEI packet received {"connection_id":45838,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":45838,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:49:12] local.INFO: TCP Data received {"connection_id":45838,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:49:12] local.INFO: Processing buffer {"connection_id":45838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:49:12] local.INFO: Packet analysis {"connection_id":45838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:49:12] local.INFO: Extracted packet for processing {"connection_id":45838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755418624001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:49:12] 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-04-17 06:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776388655000,"timestamp_ms":1776388655000,"timestamp_seconds":1776388655,"priority":1,"record_length":96,"hex_timestamp":"0000019d9903c798"} 
[2026-04-17 06:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:49: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-04-17 06:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 06:49:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755418624001,"66":25299,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755418624001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:49:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755418624001,"power":25299,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":45838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19666,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:49:12] local.INFO: GPS data processed {"connection_id":45838,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:49:12] local.INFO: Acknowledgment sent {"connection_id":45838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:49:29] local.INFO: TCP Data received {"connection_id":45646,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:49:29] local.INFO: Processing buffer {"connection_id":45646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:49:29] local.INFO: Packet analysis {"connection_id":45646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:49:29] local.INFO: Extracted packet for processing {"connection_id":45646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:49:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":49,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755377408001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655314432,"note":"Value kept but may cause issues"} 
[2026-04-17 06:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776388494000,"timestamp_ms":1776388494000,"timestamp_seconds":1776388494,"priority":1,"record_length":96,"hex_timestamp":"0000019d990152b0"} 
[2026-04-17 06:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:49:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:49:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 06:49: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-04-17 06:49:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:49: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-04-17 06:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755377408001,"66":25702,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200713325655314432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755377408001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:49:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:49:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655314432,"description":"Unknown IO ID 45"} 
[2026-04-17 06:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755377408001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200713325655314432}} 
[2026-04-17 06:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":45646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:49:29] local.INFO: GPS data processed {"connection_id":45646,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:49:29] local.INFO: Acknowledgment sent {"connection_id":45646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:49:44] local.INFO: TCP Data received {"connection_id":45838,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:49:44] local.INFO: Processing buffer {"connection_id":45838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:49:44] local.INFO: Packet analysis {"connection_id":45838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:49:44] local.INFO: Extracted packet for processing {"connection_id":45838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:49:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755418624001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:49:44] 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-04-17 06:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776388655000,"timestamp_ms":1776388655000,"timestamp_seconds":1776388655,"priority":1,"record_length":96,"hex_timestamp":"0000019d9903c798"} 
[2026-04-17 06:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:49:44] 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-04-17 06: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":97,"data_length":795,"current_offset":136} 
[2026-04-17 06:49: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-04-17 06: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-04-17 06:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45838,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755418624001,"66":25299,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755418624001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:49:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755418624001,"power":25299,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":45838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19668,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:49:44] local.INFO: GPS data processed {"connection_id":45838,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:49:44] local.INFO: Acknowledgment sent {"connection_id":45838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:49:51] local.INFO: TCP Data received {"connection_id":45647,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:49:51] local.INFO: Processing buffer {"connection_id":45647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:49:51] local.INFO: IMEI packet received {"connection_id":45647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":45647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:49:57] local.INFO: TCP Data received {"connection_id":45647,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45647,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:49:57] local.INFO: Processing buffer {"connection_id":45647,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:49:57] local.INFO: IMEI packet received {"connection_id":45647,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:49:57] local.INFO: IMEI acknowledgment sent {"connection_id":45647,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:49:57] local.INFO: TCP Data received {"connection_id":45647,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:49:57] local.INFO: Processing buffer {"connection_id":45647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:49:57] local.INFO: Packet analysis {"connection_id":45647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:49:57] local.INFO: Extracted packet for processing {"connection_id":45647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:49:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":49,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755377408001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655314432,"note":"Value kept but may cause issues"} 
[2026-04-17 06:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776388494000,"timestamp_ms":1776388494000,"timestamp_seconds":1776388494,"priority":1,"record_length":96,"hex_timestamp":"0000019d990152b0"} 
[2026-04-17 06:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 06:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:49:57] 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-04-17 06:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755377408001,"66":25702,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200713325655314432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755377408001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:49:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:49:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655314432,"description":"Unknown IO ID 45"} 
[2026-04-17 06:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755377408001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200713325655314432}} 
[2026-04-17 06:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":45647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:49:57] local.INFO: GPS data processed {"connection_id":45647,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:49:57] local.INFO: Acknowledgment sent {"connection_id":45647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:50:05] local.INFO: TCP Data received {"connection_id":45574,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:50:05] local.INFO: Processing buffer {"connection_id":45574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:50:05] local.INFO: IMEI packet received {"connection_id":45574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":45574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:50:12] local.INFO: TCP Data received {"connection_id":45574,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:50:12] local.INFO: Processing buffer {"connection_id":45574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:50:12] local.INFO: IMEI packet received {"connection_id":45574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:50:12] local.INFO: IMEI acknowledgment sent {"connection_id":45574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:50:13] local.INFO: TCP Data received {"connection_id":45574,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:50:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:50:13] local.INFO: Processing buffer {"connection_id":45574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:50:13] local.INFO: Packet analysis {"connection_id":45574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:50:13] local.INFO: Extracted packet for processing {"connection_id":45574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:50:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:50:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755418624001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:50:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:50:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:50:13] 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-04-17 06:50:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776388655000,"timestamp_ms":1776388655000,"timestamp_seconds":1776388655,"priority":1,"record_length":96,"hex_timestamp":"0000019d9903c798"} 
[2026-04-17 06:50:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:50:13] 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-04-17 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 06:50:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:50:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:50:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:50:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:50:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:50:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:50:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:50:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:50:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:50:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755418624001,"66":25299,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:50:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:50:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:50:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755418624001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:50:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:50:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:50:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:50:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755418624001,"power":25299,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:50:13] local.INFO: DEBUG: GPS processor result {"connection_id":45574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19670,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:50:13] local.INFO: GPS data processed {"connection_id":45574,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:50:13] local.INFO: Acknowledgment sent {"connection_id":45574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:50:28] local.INFO: TCP Data received {"connection_id":45647,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:50:28] local.INFO: Processing buffer {"connection_id":45647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990152b0012d7fad4005afe3500000009431..."} 
[2026-04-17 06:50:28] local.INFO: Packet analysis {"connection_id":45647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:50:28] local.INFO: Extracted packet for processing {"connection_id":45647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9901"} 
[2026-04-17 06:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":49,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755377408001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200713325655314432,"note":"Value kept but may cause issues"} 
[2026-04-17 06:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776388494000,"timestamp_ms":1776388494000,"timestamp_seconds":1776388494,"priority":1,"record_length":96,"hex_timestamp":"0000019d990152b0"} 
[2026-04-17 06:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 06:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45647,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:50:28] 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-04-17 06:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755377408001,"66":25702,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200713325655314432},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755377408001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:50:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200713325655314432,"description":"Unknown IO ID 45"} 
[2026-04-17 06:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755377408001,"power":25702,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200713325655314432}} 
[2026-04-17 06:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":45647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:50:28] local.INFO: GPS data processed {"connection_id":45647,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:50:28] local.INFO: Acknowledgment sent {"connection_id":45647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:50:45] local.INFO: TCP Data received {"connection_id":45574,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:50:45] local.INFO: Processing buffer {"connection_id":45574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:50:45] local.INFO: Packet analysis {"connection_id":45574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:50:45] local.INFO: Extracted packet for processing {"connection_id":45574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:50:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755418624001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:50:45] 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-04-17 06:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776388655000,"timestamp_ms":1776388655000,"timestamp_seconds":1776388655,"priority":1,"record_length":96,"hex_timestamp":"0000019d9903c798"} 
[2026-04-17 06:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:50:45] 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-04-17 06: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 06:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45574,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755418624001,"66":25299,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755418624001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:50:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755418624001,"power":25299,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":45574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19672,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:50:45] local.INFO: GPS data processed {"connection_id":45574,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:50:45] local.INFO: Acknowledgment sent {"connection_id":45574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:50:57] local.INFO: TCP Data received {"connection_id":45648,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:50:57] local.INFO: Processing buffer {"connection_id":45648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:50:57] local.INFO: IMEI packet received {"connection_id":45648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":45648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:51:02] local.INFO: TCP Data received {"connection_id":45648,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:51:02] local.INFO: Processing buffer {"connection_id":45648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:51:02] local.INFO: IMEI packet received {"connection_id":45648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:51:02] local.INFO: IMEI acknowledgment sent {"connection_id":45648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:51:03] local.INFO: TCP Data received {"connection_id":45648,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:51:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:51:03] local.INFO: Processing buffer {"connection_id":45648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:51:03] local.INFO: Packet analysis {"connection_id":45648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:51:03] local.INFO: Extracted packet for processing {"connection_id":45648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:51:03] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:51:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755454464001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:51:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:51:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:51:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:51:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776388795000,"timestamp_ms":1776388795000,"timestamp_seconds":1776388795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9905ea78"} 
[2026-04-17 06:51:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:51:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:51:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 06:51:03] 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-04-17 06:51:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:51:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:51:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:51:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:51:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:51:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:51:03] 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-04-17 06:51:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:51:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:51:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755454464001,"66":25952,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:51:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:51:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:51:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755454464001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:51:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:51:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:51:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:51:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:51:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755454464001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:51:03] local.INFO: DEBUG: GPS processor result {"connection_id":45648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:51:03] local.INFO: GPS data processed {"connection_id":45648,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:51:03] local.INFO: Acknowledgment sent {"connection_id":45648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:51:05] local.INFO: TCP Data received {"connection_id":46388,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:51:05] local.INFO: Processing buffer {"connection_id":46388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:51:05] local.INFO: IMEI packet received {"connection_id":46388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":46388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:51:07] local.INFO: TCP Data received {"connection_id":45648,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:51:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:51:07] local.INFO: Processing buffer {"connection_id":45648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:51:07] local.INFO: Packet analysis {"connection_id":45648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:51:07] local.INFO: Extracted packet for processing {"connection_id":45648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:51:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:51:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755454464001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:51:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:51:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:51:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:51:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776388795000,"timestamp_ms":1776388795000,"timestamp_seconds":1776388795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9905ea78"} 
[2026-04-17 06:51:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:51:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 06:51:07] 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-04-17 06: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-04-17 06:51:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:51:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:51:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:51:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:51:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:51:07] 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-04-17 06:51:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:51:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:51:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755454464001,"66":25952,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:51:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:51:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:51:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755454464001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:51:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:51:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:51:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:51:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:51:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755454464001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:51:07] local.INFO: DEBUG: GPS processor result {"connection_id":45648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:51:07] local.INFO: GPS data processed {"connection_id":45648,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:51:07] local.INFO: Acknowledgment sent {"connection_id":45648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:51:10] local.INFO: TCP Data received {"connection_id":46388,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46388,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:51:10] local.INFO: Processing buffer {"connection_id":46388,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:51:10] local.INFO: IMEI packet received {"connection_id":46388,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":46388,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:51:12] local.INFO: TCP Data received {"connection_id":46388,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:51:12] local.INFO: Processing buffer {"connection_id":46388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:51:12] local.INFO: Packet analysis {"connection_id":46388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:51:12] local.INFO: Extracted packet for processing {"connection_id":46388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:51:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755418624001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:51:12] 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-04-17 06:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776388655000,"timestamp_ms":1776388655000,"timestamp_seconds":1776388655,"priority":1,"record_length":96,"hex_timestamp":"0000019d9903c798"} 
[2026-04-17 06:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:51: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-04-17 06:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 06:51:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755418624001,"66":25299,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755418624001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:51:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755418624001,"power":25299,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":46388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19675,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:51:12] local.INFO: GPS data processed {"connection_id":46388,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:51:12] local.INFO: Acknowledgment sent {"connection_id":46388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:51:44] local.INFO: TCP Data received {"connection_id":46388,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:51:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:51:44] local.INFO: Processing buffer {"connection_id":46388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:51:44] local.INFO: Packet analysis {"connection_id":46388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:51:44] local.INFO: Extracted packet for processing {"connection_id":46388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:51:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:51:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755418624001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:51:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:51:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:51:44] 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-04-17 06:51:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776388655000,"timestamp_ms":1776388655000,"timestamp_seconds":1776388655,"priority":1,"record_length":96,"hex_timestamp":"0000019d9903c798"} 
[2026-04-17 06:51:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:51:44] 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-04-17 06:51:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 06:51: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-04-17 06:51:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:51:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:51:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:51:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:51:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:51:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46388,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:51:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:51:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:51:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:51:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755418624001,"66":25299,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:51:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:51:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:51:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755418624001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:51:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:51:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:51:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:51:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755418624001,"power":25299,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:51:44] local.INFO: DEBUG: GPS processor result {"connection_id":46388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19676,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:51:44] local.INFO: GPS data processed {"connection_id":46388,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:51:44] local.INFO: Acknowledgment sent {"connection_id":46388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:51:52] local.INFO: TCP Data received {"connection_id":45839,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:51:52] local.INFO: Processing buffer {"connection_id":45839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:51:52] local.INFO: IMEI packet received {"connection_id":45839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":45839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:51:57] local.INFO: TCP Data received {"connection_id":45839,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45839,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:51:57] local.INFO: Processing buffer {"connection_id":45839,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:51:57] local.INFO: IMEI packet received {"connection_id":45839,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:51:57] local.INFO: IMEI acknowledgment sent {"connection_id":45839,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:51:57] local.INFO: TCP Data received {"connection_id":45839,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:51:57] local.INFO: Processing buffer {"connection_id":45839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:51:57] local.INFO: Packet analysis {"connection_id":45839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:51:57] local.INFO: Extracted packet for processing {"connection_id":45839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:51:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755454464001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776388795000,"timestamp_ms":1776388795000,"timestamp_seconds":1776388795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9905ea78"} 
[2026-04-17 06:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 06:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:51:57] 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-04-17 06:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755454464001,"66":25952,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755454464001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:51:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:51:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755454464001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":45839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:51:57] local.INFO: GPS data processed {"connection_id":45839,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:51:57] local.INFO: Acknowledgment sent {"connection_id":45839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:52:10] local.INFO: TCP Data received {"connection_id":46389,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:52:10] local.INFO: Processing buffer {"connection_id":46389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:52:10] local.INFO: IMEI packet received {"connection_id":46389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":46389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:52:15] local.INFO: TCP Data received {"connection_id":46389,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46389,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:52:15] local.INFO: Processing buffer {"connection_id":46389,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:52:15] local.INFO: IMEI packet received {"connection_id":46389,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":46389,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:52:17] local.INFO: TCP Data received {"connection_id":46389,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:52:17] local.INFO: Processing buffer {"connection_id":46389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:52:17] local.INFO: Packet analysis {"connection_id":46389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:52:17] local.INFO: Extracted packet for processing {"connection_id":46389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:52:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755418624001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:52:17] 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-04-17 06:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776388655000,"timestamp_ms":1776388655000,"timestamp_seconds":1776388655,"priority":1,"record_length":96,"hex_timestamp":"0000019d9903c798"} 
[2026-04-17 06:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:52:17] 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-04-17 06:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 06:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755418624001,"66":25299,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755418624001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:52:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755418624001,"power":25299,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":46389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19678,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:52:17] local.INFO: GPS data processed {"connection_id":46389,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:52:17] local.INFO: Acknowledgment sent {"connection_id":46389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:52:21] local.INFO: TCP Data received {"connection_id":46389,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:52:21] local.INFO: Processing buffer {"connection_id":46389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:52:21] local.INFO: Packet analysis {"connection_id":46389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:52:21] local.INFO: Extracted packet for processing {"connection_id":46389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:52:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755418624001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:52:21] 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-04-17 06:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776388655000,"timestamp_ms":1776388655000,"timestamp_seconds":1776388655,"priority":1,"record_length":96,"hex_timestamp":"0000019d9903c798"} 
[2026-04-17 06:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:52:21] 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-04-17 06:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 06:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46389,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755418624001,"66":25299,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755418624001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:52:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755418624001,"power":25299,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":46389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19679,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:52:21] local.INFO: GPS data processed {"connection_id":46389,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:52:21] local.INFO: Acknowledgment sent {"connection_id":46389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:52:29] local.INFO: TCP Data received {"connection_id":45839,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:52:29] local.INFO: Processing buffer {"connection_id":45839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:52:29] local.INFO: Packet analysis {"connection_id":45839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:52:29] local.INFO: Extracted packet for processing {"connection_id":45839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:52:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755454464001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776388795000,"timestamp_ms":1776388795000,"timestamp_seconds":1776388795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9905ea78"} 
[2026-04-17 06:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:52:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:52:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 06:52:29] 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-04-17 06:52:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45839,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:52: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-04-17 06:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755454464001,"66":25952,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755454464001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:52:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:52:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755454464001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":45839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:52:29] local.INFO: GPS data processed {"connection_id":45839,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:52:29] local.INFO: Acknowledgment sent {"connection_id":45839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:52:52] local.INFO: TCP Data received {"connection_id":45840,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:52:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:52:52] local.INFO: Processing buffer {"connection_id":45840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:52:52] local.INFO: IMEI packet received {"connection_id":45840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:52:52] local.INFO: IMEI acknowledgment sent {"connection_id":45840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:52:57] local.INFO: TCP Data received {"connection_id":45840,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:52:57] local.INFO: Processing buffer {"connection_id":45840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:52:57] local.INFO: IMEI packet received {"connection_id":45840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:52:57] local.INFO: IMEI acknowledgment sent {"connection_id":45840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:52:58] local.INFO: TCP Data received {"connection_id":45840,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:52:58] local.INFO: Processing buffer {"connection_id":45840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:52:58] local.INFO: Packet analysis {"connection_id":45840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:52:58] local.INFO: Extracted packet for processing {"connection_id":45840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:52:58] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755454464001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776388795000,"timestamp_ms":1776388795000,"timestamp_seconds":1776388795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9905ea78"} 
[2026-04-17 06:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 06:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:52:58] 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-04-17 06:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755454464001,"66":25952,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755454464001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:52:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:52:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755454464001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":45840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:52:58] local.INFO: GPS data processed {"connection_id":45840,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:52:58] local.INFO: Acknowledgment sent {"connection_id":45840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:53:06] local.INFO: TCP Data received {"connection_id":45649,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:53:06] local.INFO: Processing buffer {"connection_id":45649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:53:06] local.INFO: IMEI packet received {"connection_id":45649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":45649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:53:10] local.INFO: TCP Data received {"connection_id":45649,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:53:10] local.INFO: Processing buffer {"connection_id":45649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:53:10] local.INFO: IMEI packet received {"connection_id":45649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":45649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:53:12] local.INFO: TCP Data received {"connection_id":45649,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:53:12] local.INFO: Processing buffer {"connection_id":45649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9903c798012d1b598006d4d5980011013831..."} 
[2026-04-17 06:53:12] local.INFO: Packet analysis {"connection_id":45649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:53:12] local.INFO: Extracted packet for processing {"connection_id":45649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9903"} 
[2026-04-17 06:53:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755418624001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:53:12] 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-04-17 06:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776388655000,"timestamp_ms":1776388655000,"timestamp_seconds":1776388655,"priority":1,"record_length":96,"hex_timestamp":"0000019d9903c798"} 
[2026-04-17 06:53:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:53: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-04-17 06: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":97,"data_length":795,"current_offset":136} 
[2026-04-17 06:53:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:53:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755418624001,"66":25299,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755418624001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:53:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755418624001,"power":25299,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":45649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19682,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:53:12] local.INFO: GPS data processed {"connection_id":45649,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:53:12] local.INFO: Acknowledgment sent {"connection_id":45649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:53:29] local.INFO: TCP Data received {"connection_id":45840,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:53:29] local.INFO: Processing buffer {"connection_id":45840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:53:29] local.INFO: Packet analysis {"connection_id":45840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:53:29] local.INFO: Extracted packet for processing {"connection_id":45840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:53:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755454464001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776388795000,"timestamp_ms":1776388795000,"timestamp_seconds":1776388795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9905ea78"} 
[2026-04-17 06:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":102,"data_length":795,"current_offset":136} 
[2026-04-17 06:53:29] 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-04-17 06: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-04-17 06:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:53: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-04-17 06:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755454464001,"66":25952,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755454464001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:53:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:53:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755454464001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":45840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:53:29] local.INFO: GPS data processed {"connection_id":45840,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:53:29] local.INFO: Acknowledgment sent {"connection_id":45840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:53:44] local.INFO: TCP Data received {"connection_id":45649,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:53:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:53:44] local.INFO: Processing buffer {"connection_id":45649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:53:44] local.INFO: Packet analysis {"connection_id":45649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9908"} 
[2026-04-17 06:53:44] local.INFO: Extracted packet for processing {"connection_id":45649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9908"} 
[2026-04-17 06:53:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:53:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755495680001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:53:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:53:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:53:44] 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-04-17 06:53:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776388956000,"timestamp_ms":1776388956000,"timestamp_seconds":1776388956,"priority":1,"record_length":96,"hex_timestamp":"0000019d99085f60"} 
[2026-04-17 06:53:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:53:44] 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-04-17 06:53:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 06:53:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:53:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:53:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:53:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:53:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:53:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:53:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:53:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:53:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:53:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755495680001,"66":24984,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:53:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:53:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:53:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755495680001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:53:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:53:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:53:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:53:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755495680001,"power":24984,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:53:44] local.INFO: DEBUG: GPS processor result {"connection_id":45649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19684,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:53:44] local.INFO: GPS data processed {"connection_id":45649,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:53:44] local.INFO: Acknowledgment sent {"connection_id":45649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:53:53] local.INFO: TCP Data received {"connection_id":46390,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:53:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:53:53] local.INFO: Processing buffer {"connection_id":46390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:53:53] local.INFO: IMEI packet received {"connection_id":46390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:53:53] local.INFO: IMEI acknowledgment sent {"connection_id":46390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:53:56] local.INFO: TCP Data received {"connection_id":46390,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:53:56] local.INFO: Processing buffer {"connection_id":46390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:53:56] local.INFO: IMEI packet received {"connection_id":46390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":46390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:53:57] local.INFO: TCP Data received {"connection_id":46390,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:53:57] local.INFO: Processing buffer {"connection_id":46390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:53:57] local.INFO: Packet analysis {"connection_id":46390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:53:57] local.INFO: Extracted packet for processing {"connection_id":46390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:53:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755454464001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776388795000,"timestamp_ms":1776388795000,"timestamp_seconds":1776388795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9905ea78"} 
[2026-04-17 06:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 06:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755454464001,"66":25952,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755454464001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:53:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:53:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755454464001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":46390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:53:57] local.INFO: GPS data processed {"connection_id":46390,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:53:57] local.INFO: Acknowledgment sent {"connection_id":46390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:54:10] local.INFO: TCP Data received {"connection_id":45575,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:54:10] local.INFO: Processing buffer {"connection_id":45575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:54:10] local.INFO: IMEI packet received {"connection_id":45575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":45575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:54:15] local.INFO: TCP Data received {"connection_id":45575,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:54:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45575,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:54:15] local.INFO: Processing buffer {"connection_id":45575,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:54:15] local.INFO: IMEI packet received {"connection_id":45575,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:54:15] local.INFO: IMEI acknowledgment sent {"connection_id":45575,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:54:17] local.INFO: TCP Data received {"connection_id":45575,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:54:17] local.INFO: Processing buffer {"connection_id":45575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:54:17] local.INFO: Packet analysis {"connection_id":45575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9908"} 
[2026-04-17 06:54:17] local.INFO: Extracted packet for processing {"connection_id":45575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9908"} 
[2026-04-17 06:54:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:54:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755495680001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:54:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:54:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:54:17] 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-04-17 06:54:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776388956000,"timestamp_ms":1776388956000,"timestamp_seconds":1776388956,"priority":1,"record_length":96,"hex_timestamp":"0000019d99085f60"} 
[2026-04-17 06:54:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:54:17] 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-04-17 06:54:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 06:54:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:54:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:54:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:54:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:54:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:54:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:54:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:54:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:54:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:54:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755495680001,"66":24984,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:54:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:54:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:54:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755495680001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:54:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:54:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:54:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:54:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755495680001,"power":24984,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:54:17] local.INFO: DEBUG: GPS processor result {"connection_id":45575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19686,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:54:17] local.INFO: GPS data processed {"connection_id":45575,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:54:17] local.INFO: Acknowledgment sent {"connection_id":45575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:54:29] local.INFO: TCP Data received {"connection_id":46390,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:54:29] local.INFO: Processing buffer {"connection_id":46390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:54:29] local.INFO: Packet analysis {"connection_id":46390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:54:29] local.INFO: Extracted packet for processing {"connection_id":46390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:54:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755454464001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776388795000,"timestamp_ms":1776388795000,"timestamp_seconds":1776388795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9905ea78"} 
[2026-04-17 06:54:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 06:54:29] 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-04-17 06: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-04-17 06:54:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:54: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-04-17 06:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755454464001,"66":25952,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755454464001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:54:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:54:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755454464001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":46390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:54:29] local.INFO: GPS data processed {"connection_id":46390,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:54:29] local.INFO: Acknowledgment sent {"connection_id":46390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:54:49] local.INFO: TCP Data received {"connection_id":45575,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:54:49] local.INFO: Processing buffer {"connection_id":45575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:54:49] local.INFO: Packet analysis {"connection_id":45575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9908"} 
[2026-04-17 06:54:49] local.INFO: Extracted packet for processing {"connection_id":45575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9908"} 
[2026-04-17 06:54:49] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:54:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755495680001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:54:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:54:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:54:49] 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-04-17 06:54:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776388956000,"timestamp_ms":1776388956000,"timestamp_seconds":1776388956,"priority":1,"record_length":96,"hex_timestamp":"0000019d99085f60"} 
[2026-04-17 06:54:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:54:49] 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-04-17 06:54:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 06:54:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:54:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:54:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:54:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:54:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:54:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:54:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45575,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:54:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:54:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:54:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:54:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755495680001,"66":24984,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:54:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:54:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:54:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755495680001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:54:49] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:54:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:54:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:54:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755495680001,"power":24984,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:54:49] local.INFO: DEBUG: GPS processor result {"connection_id":45575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19688,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:54:49] local.INFO: GPS data processed {"connection_id":45575,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:54:49] local.INFO: Acknowledgment sent {"connection_id":45575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:54:51] local.INFO: TCP Data received {"connection_id":46391,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:54:51] local.INFO: Processing buffer {"connection_id":46391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:54:51] local.INFO: IMEI packet received {"connection_id":46391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":46391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:54:56] local.INFO: TCP Data received {"connection_id":46391,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46391,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:54:56] local.INFO: Processing buffer {"connection_id":46391,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:54:56] local.INFO: IMEI packet received {"connection_id":46391,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":46391,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:54:57] local.INFO: TCP Data received {"connection_id":46391,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:54:57] local.INFO: Processing buffer {"connection_id":46391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:54:57] local.INFO: Packet analysis {"connection_id":46391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:54:57] local.INFO: Extracted packet for processing {"connection_id":46391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:54:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755454464001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776388795000,"timestamp_ms":1776388795000,"timestamp_seconds":1776388795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9905ea78"} 
[2026-04-17 06:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 06:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755454464001,"66":25952,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755454464001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:54:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:54:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755454464001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":46391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:54:58] local.INFO: GPS data processed {"connection_id":46391,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:54:58] local.INFO: Acknowledgment sent {"connection_id":46391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:55:05] local.INFO: TCP Data received {"connection_id":45650,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:55:05] local.INFO: Processing buffer {"connection_id":45650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:55:05] local.INFO: IMEI packet received {"connection_id":45650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":45650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:55:10] local.INFO: TCP Data received {"connection_id":45650,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45650,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:55:10] local.INFO: Processing buffer {"connection_id":45650,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:55:10] local.INFO: IMEI packet received {"connection_id":45650,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":45650,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:55:12] local.INFO: TCP Data received {"connection_id":45650,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:55:12] local.INFO: Processing buffer {"connection_id":45650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:55:12] local.INFO: Packet analysis {"connection_id":45650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9908"} 
[2026-04-17 06:55:12] local.INFO: Extracted packet for processing {"connection_id":45650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9908"} 
[2026-04-17 06:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755495680001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:55:12] 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-04-17 06:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776388956000,"timestamp_ms":1776388956000,"timestamp_seconds":1776388956,"priority":1,"record_length":96,"hex_timestamp":"0000019d99085f60"} 
[2026-04-17 06:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:55: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-04-17 06:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 06:55:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755495680001,"66":24984,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755495680001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:55:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755495680001,"power":24984,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":45650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19690,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:55:12] local.INFO: GPS data processed {"connection_id":45650,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:55:12] local.INFO: Acknowledgment sent {"connection_id":45650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:55:29] local.INFO: TCP Data received {"connection_id":46391,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46391,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:55:29] local.INFO: Processing buffer {"connection_id":46391,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9905ea78012d7fad4005afe350000000942d..."} 
[2026-04-17 06:55:29] local.INFO: Packet analysis {"connection_id":46391,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:55:29] local.INFO: Extracted packet for processing {"connection_id":46391,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9905"} 
[2026-04-17 06:55:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755454464001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776388795000,"timestamp_ms":1776388795000,"timestamp_seconds":1776388795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9905ea78"} 
[2026-04-17 06:55:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 06:55:29] 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-04-17 06: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-04-17 06:55:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46391,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46391,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:55: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-04-17 06:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755454464001,"66":25952,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755454464001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:55:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:55:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755454464001,"power":25952,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":46391,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:55:29] local.INFO: GPS data processed {"connection_id":46391,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:55:29] local.INFO: Acknowledgment sent {"connection_id":46391,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:55:45] local.INFO: TCP Data received {"connection_id":45650,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:55:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:55:45] local.INFO: Processing buffer {"connection_id":45650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:55:45] local.INFO: Packet analysis {"connection_id":45650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9908"} 
[2026-04-17 06:55:45] local.INFO: Extracted packet for processing {"connection_id":45650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9908"} 
[2026-04-17 06:55:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:55:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755495680001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:55:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:55:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:55:45] 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-04-17 06:55:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776388956000,"timestamp_ms":1776388956000,"timestamp_seconds":1776388956,"priority":1,"record_length":96,"hex_timestamp":"0000019d99085f60"} 
[2026-04-17 06:55:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:55:45] 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-04-17 06:55:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 06:55:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:55:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:55:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:55:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:55:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:55:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45650,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:55:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:55:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:55:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:55:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755495680001,"66":24984,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:55:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:55:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:55:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755495680001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:55:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:55:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:55:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:55:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755495680001,"power":24984,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:55:45] local.INFO: DEBUG: GPS processor result {"connection_id":45650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19692,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:55:45] local.INFO: GPS data processed {"connection_id":45650,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:55:45] local.INFO: Acknowledgment sent {"connection_id":45650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:55:57] local.INFO: TCP Data received {"connection_id":46392,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:55:57] local.INFO: Processing buffer {"connection_id":46392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:55:57] local.INFO: IMEI packet received {"connection_id":46392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:55:57] local.INFO: IMEI acknowledgment sent {"connection_id":46392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:56:01] local.INFO: TCP Data received {"connection_id":46392,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46392,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:56:01] local.INFO: Processing buffer {"connection_id":46392,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:56:01] local.INFO: IMEI packet received {"connection_id":46392,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":46392,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:56:02] local.INFO: TCP Data received {"connection_id":46392,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:56:02] local.INFO: Processing buffer {"connection_id":46392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:56:02] local.INFO: Packet analysis {"connection_id":46392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 06:56:02] local.INFO: Extracted packet for processing {"connection_id":46392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 06:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755531520001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776389096000,"timestamp_ms":1776389096000,"timestamp_seconds":1776389096,"priority":1,"record_length":96,"hex_timestamp":"0000019d990a8240"} 
[2026-04-17 06:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 06:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:56:02] 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-04-17 06:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755531520001,"66":25778,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755531520001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:56:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755531520001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":46392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:56:02] local.INFO: GPS data processed {"connection_id":46392,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:56:02] local.INFO: Acknowledgment sent {"connection_id":46392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:56:05] local.INFO: TCP Data received {"connection_id":46393,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:56:05] local.INFO: Processing buffer {"connection_id":46393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:56:05] local.INFO: IMEI packet received {"connection_id":46393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":46393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:56:07] local.INFO: TCP Data received {"connection_id":46392,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:56:07] local.INFO: Processing buffer {"connection_id":46392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:56:07] local.INFO: Packet analysis {"connection_id":46392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 06:56:07] local.INFO: Extracted packet for processing {"connection_id":46392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 06:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755531520001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776389096000,"timestamp_ms":1776389096000,"timestamp_seconds":1776389096,"priority":1,"record_length":96,"hex_timestamp":"0000019d990a8240"} 
[2026-04-17 06:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 06:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":46392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":46392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":46392,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755531520001,"66":25778,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755531520001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:56:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:56:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755531520001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":46392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:56:07] local.INFO: GPS data processed {"connection_id":46392,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:56:07] local.INFO: Acknowledgment sent {"connection_id":46392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:56:10] local.INFO: TCP Data received {"connection_id":46393,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46393,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:56:10] local.INFO: Processing buffer {"connection_id":46393,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:56:10] local.INFO: IMEI packet received {"connection_id":46393,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":46393,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:56:12] local.INFO: TCP Data received {"connection_id":46393,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:56:12] local.INFO: Processing buffer {"connection_id":46393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:56:12] local.INFO: Packet analysis {"connection_id":46393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9908"} 
[2026-04-17 06:56:12] local.INFO: Extracted packet for processing {"connection_id":46393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9908"} 
[2026-04-17 06:56:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:56:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755495680001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:56:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:56:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:56:12] 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-04-17 06:56:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776388956000,"timestamp_ms":1776388956000,"timestamp_seconds":1776388956,"priority":1,"record_length":96,"hex_timestamp":"0000019d99085f60"} 
[2026-04-17 06:56:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:56: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-04-17 06:56:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 06:56:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:56:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:56:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:56:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:56:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:56:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:56:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:56:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:56:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:56:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:56:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755495680001,"66":24984,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:56:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:56:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:56:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755495680001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:56:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:56:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:56:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:56:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755495680001,"power":24984,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:56:12] local.INFO: DEBUG: GPS processor result {"connection_id":46393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19695,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:56:12] local.INFO: GPS data processed {"connection_id":46393,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:56:12] local.INFO: Acknowledgment sent {"connection_id":46393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:56:43] local.INFO: TCP Data received {"connection_id":46393,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:56:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46393,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:56:43] local.INFO: Processing buffer {"connection_id":46393,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:56:43] local.INFO: Packet analysis {"connection_id":46393,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9908"} 
[2026-04-17 06:56:43] local.INFO: Extracted packet for processing {"connection_id":46393,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9908"} 
[2026-04-17 06:56:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:56:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755495680001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:56:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:56:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:56:43] 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-04-17 06:56:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776388956000,"timestamp_ms":1776388956000,"timestamp_seconds":1776388956,"priority":1,"record_length":96,"hex_timestamp":"0000019d99085f60"} 
[2026-04-17 06:56:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:56:43] 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-04-17 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 06:56:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:56:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:56:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:56:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:56:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46393,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:56:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:56:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46393,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:56:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:56:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:56:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:56:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755495680001,"66":24984,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:56:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:56:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:56:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755495680001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:56:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:56:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:56:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:56:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755495680001,"power":24984,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:56:43] local.INFO: DEBUG: GPS processor result {"connection_id":46393,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19696,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:56:43] local.INFO: GPS data processed {"connection_id":46393,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:56:43] local.INFO: Acknowledgment sent {"connection_id":46393,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:56:51] local.INFO: TCP Data received {"connection_id":45576,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:56:51] local.INFO: Processing buffer {"connection_id":45576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:56:51] local.INFO: IMEI packet received {"connection_id":45576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":45576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:56:56] local.INFO: TCP Data received {"connection_id":45576,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:56:56] local.INFO: Processing buffer {"connection_id":45576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:56:56] local.INFO: IMEI packet received {"connection_id":45576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":45576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:56:57] local.INFO: TCP Data received {"connection_id":45576,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:56:57] local.INFO: Processing buffer {"connection_id":45576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:56:57] local.INFO: Packet analysis {"connection_id":45576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 06:56:57] local.INFO: Extracted packet for processing {"connection_id":45576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 06:56:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755531520001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776389096000,"timestamp_ms":1776389096000,"timestamp_seconds":1776389096,"priority":1,"record_length":96,"hex_timestamp":"0000019d990a8240"} 
[2026-04-17 06:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 06:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755531520001,"66":25778,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755531520001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:56:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:56:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755531520001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":45576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:56:57] local.INFO: GPS data processed {"connection_id":45576,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:56:57] local.INFO: Acknowledgment sent {"connection_id":45576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:57:05] local.INFO: TCP Data received {"connection_id":45651,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:57:05] local.INFO: Processing buffer {"connection_id":45651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:57:05] local.INFO: IMEI packet received {"connection_id":45651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":45651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:57:10] local.INFO: TCP Data received {"connection_id":45651,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45651,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:57:10] local.INFO: Processing buffer {"connection_id":45651,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:57:10] local.INFO: IMEI packet received {"connection_id":45651,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":45651,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:57:12] local.INFO: TCP Data received {"connection_id":45651,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:57:12] local.INFO: Processing buffer {"connection_id":45651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:57:12] local.INFO: Packet analysis {"connection_id":45651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9908"} 
[2026-04-17 06:57:12] local.INFO: Extracted packet for processing {"connection_id":45651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9908"} 
[2026-04-17 06:57:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755495680001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:57:12] 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-04-17 06:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776388956000,"timestamp_ms":1776388956000,"timestamp_seconds":1776388956,"priority":1,"record_length":96,"hex_timestamp":"0000019d99085f60"} 
[2026-04-17 06:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:57: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-04-17 06:57:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 06:57:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:57:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755495680001,"66":24984,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755495680001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:57:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755495680001,"power":24984,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":45651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19698,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:57:12] local.INFO: GPS data processed {"connection_id":45651,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:57:12] local.INFO: Acknowledgment sent {"connection_id":45651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:57:28] local.INFO: TCP Data received {"connection_id":45576,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:57:28] local.INFO: Processing buffer {"connection_id":45576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:57:28] local.INFO: Packet analysis {"connection_id":45576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 06:57:28] local.INFO: Extracted packet for processing {"connection_id":45576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 06:57:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755531520001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776389096000,"timestamp_ms":1776389096000,"timestamp_seconds":1776389096,"priority":1,"record_length":96,"hex_timestamp":"0000019d990a8240"} 
[2026-04-17 06:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 06:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755531520001,"66":25778,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:57:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755531520001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:57:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:57:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:57:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:57:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:57:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755531520001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:57:29] local.INFO: DEBUG: GPS processor result {"connection_id":45576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:57:29] local.INFO: GPS data processed {"connection_id":45576,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:57:29] local.INFO: Acknowledgment sent {"connection_id":45576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:57:44] local.INFO: TCP Data received {"connection_id":45651,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:57:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:57:44] local.INFO: Processing buffer {"connection_id":45651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99085f60012d1b598006d4d5980011013831..."} 
[2026-04-17 06:57:44] local.INFO: Packet analysis {"connection_id":45651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9908"} 
[2026-04-17 06:57:44] local.INFO: Extracted packet for processing {"connection_id":45651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9908"} 
[2026-04-17 06:57:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:57:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755495680001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:57:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:57:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:57:44] 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-04-17 06:57:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776388956000,"timestamp_ms":1776388956000,"timestamp_seconds":1776388956,"priority":1,"record_length":96,"hex_timestamp":"0000019d99085f60"} 
[2026-04-17 06:57:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:57:44] 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-04-17 06: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 06:57:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:57:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:57:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:57:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:57:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:57:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45651,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:57:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:57:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:57:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:57:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755495680001,"66":24984,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 06:57:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:57:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:57:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755495680001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:57:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 06:57:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:57:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:57:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755495680001,"power":24984,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:57:44] local.INFO: DEBUG: GPS processor result {"connection_id":45651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19700,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:57:44] local.INFO: GPS data processed {"connection_id":45651,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:57:44] local.INFO: Acknowledgment sent {"connection_id":45651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:57:51] local.INFO: TCP Data received {"connection_id":45841,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:57:52] local.INFO: Processing buffer {"connection_id":45841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:57:52] local.INFO: IMEI packet received {"connection_id":45841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":45841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:57:56] local.INFO: TCP Data received {"connection_id":45841,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:57:56] local.INFO: Processing buffer {"connection_id":45841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:57:56] local.INFO: IMEI packet received {"connection_id":45841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":45841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:57:57] local.INFO: TCP Data received {"connection_id":45841,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:57:57] local.INFO: Processing buffer {"connection_id":45841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:57:57] local.INFO: Packet analysis {"connection_id":45841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 06:57:57] local.INFO: Extracted packet for processing {"connection_id":45841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 06:57:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755531520001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776389096000,"timestamp_ms":1776389096000,"timestamp_seconds":1776389096,"priority":1,"record_length":96,"hex_timestamp":"0000019d990a8240"} 
[2026-04-17 06:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 06:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755531520001,"66":25778,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755531520001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:57:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:57:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755531520001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":45841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:57:57] local.INFO: GPS data processed {"connection_id":45841,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:57:57] local.INFO: Acknowledgment sent {"connection_id":45841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:58:26] local.INFO: TCP Data received {"connection_id":46394,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:58:26] local.INFO: Processing buffer {"connection_id":46394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:58:26] local.INFO: IMEI packet received {"connection_id":46394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":46394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:58:28] local.INFO: TCP Data received {"connection_id":45841,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:58:28] local.INFO: Processing buffer {"connection_id":45841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:58:28] local.INFO: Packet analysis {"connection_id":45841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 06:58:28] local.INFO: Extracted packet for processing {"connection_id":45841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 06:58:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755531520001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776389096000,"timestamp_ms":1776389096000,"timestamp_seconds":1776389096,"priority":1,"record_length":96,"hex_timestamp":"0000019d990a8240"} 
[2026-04-17 06:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 06:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755531520001,"66":25778,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755531520001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:58:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755531520001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":45841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:58:28] local.INFO: GPS data processed {"connection_id":45841,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:58:28] local.INFO: Acknowledgment sent {"connection_id":45841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:58:30] local.INFO: TCP Data received {"connection_id":46394,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46394,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:58:30] local.INFO: Processing buffer {"connection_id":46394,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:58:30] local.INFO: IMEI packet received {"connection_id":46394,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:58:30] local.INFO: IMEI acknowledgment sent {"connection_id":46394,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:58:32] local.INFO: TCP Data received {"connection_id":46394,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 06:58:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 06:58:32] local.INFO: Processing buffer {"connection_id":46394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 06:58:32] local.INFO: Packet analysis {"connection_id":46394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990c"} 
[2026-04-17 06:58:32] local.INFO: Extracted packet for processing {"connection_id":46394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990c"} 
[2026-04-17 06:58:32] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 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-04-17 06:58:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755572736001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:58:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:58:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:58:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:58:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776389257000,"timestamp_ms":1776389257000,"timestamp_seconds":1776389257,"priority":1,"record_length":96,"hex_timestamp":"0000019d990cf728"} 
[2026-04-17 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-04-17 06:58:32] 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-04-17 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":152,"data_length":795,"current_offset":136} 
[2026-04-17 06:58:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 06:58:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:58:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:58:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:58:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46394,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:58:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:58:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:58:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:58:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755572736001,"66":25430,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 06:58:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:58:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:58:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755572736001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:58:32] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 06:58:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:58:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:58:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755572736001,"power":25430,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:58:32] local.INFO: DEBUG: GPS processor result {"connection_id":46394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19703,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:58:32] local.INFO: GPS data processed {"connection_id":46394,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:58:32] local.INFO: Acknowledgment sent {"connection_id":46394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:58:51] local.INFO: TCP Data received {"connection_id":45652,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:58:51] local.INFO: Processing buffer {"connection_id":45652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:58:51] local.INFO: IMEI packet received {"connection_id":45652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":45652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:58:56] local.INFO: TCP Data received {"connection_id":45652,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:58:56] local.INFO: Processing buffer {"connection_id":45652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:58:56] local.INFO: IMEI packet received {"connection_id":45652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":45652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:58:57] local.INFO: TCP Data received {"connection_id":45652,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:58:57] local.INFO: Processing buffer {"connection_id":45652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:58:57] local.INFO: Packet analysis {"connection_id":45652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 06:58:57] local.INFO: Extracted packet for processing {"connection_id":45652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 06:58:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:58: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-04-17 06:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755531520001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776389096000,"timestamp_ms":1776389096000,"timestamp_seconds":1776389096,"priority":1,"record_length":96,"hex_timestamp":"0000019d990a8240"} 
[2026-04-17 06:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 06:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:58: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-04-17 06:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755531520001,"66":25778,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755531520001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:58:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:58:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755531520001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":45652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:58:57] local.INFO: GPS data processed {"connection_id":45652,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:58:57] local.INFO: Acknowledgment sent {"connection_id":45652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:59:05] local.INFO: TCP Data received {"connection_id":45577,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:59:05] local.INFO: Processing buffer {"connection_id":45577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:59:05] local.INFO: IMEI packet received {"connection_id":45577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 06:59:05] local.INFO: IMEI acknowledgment sent {"connection_id":45577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:59:10] local.INFO: TCP Data received {"connection_id":45577,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45577,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:59:10] local.INFO: Processing buffer {"connection_id":45577,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 06:59:10] local.INFO: IMEI packet received {"connection_id":45577,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 06:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":45577,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:59:12] local.INFO: TCP Data received {"connection_id":45577,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 06:59:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 06:59:12] local.INFO: Processing buffer {"connection_id":45577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 06:59:12] local.INFO: Packet analysis {"connection_id":45577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990c"} 
[2026-04-17 06:59:12] local.INFO: Extracted packet for processing {"connection_id":45577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990c"} 
[2026-04-17 06:59:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 06:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:59:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755572736001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:59:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 06:59:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 06:59:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:59:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776389257000,"timestamp_ms":1776389257000,"timestamp_seconds":1776389257,"priority":1,"record_length":96,"hex_timestamp":"0000019d990cf728"} 
[2026-04-17 06:59:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:59: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-04-17 06:59:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 06:59:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06:59:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 06:59:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:59:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:59:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:59:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:59:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 06:59:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:59:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 06:59:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 06:59:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755572736001,"66":25430,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 06:59:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 06:59:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 06:59:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755572736001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:59:12] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 06:59:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:59:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 06:59:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755572736001,"power":25430,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 06:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":45577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19705,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:59:12] local.INFO: GPS data processed {"connection_id":45577,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:59:12] local.INFO: Acknowledgment sent {"connection_id":45577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:59:28] local.INFO: TCP Data received {"connection_id":45652,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:59:28] local.INFO: Processing buffer {"connection_id":45652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:59:28] local.INFO: Packet analysis {"connection_id":45652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 06:59:28] local.INFO: Extracted packet for processing {"connection_id":45652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 06:59:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 06:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755531520001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776389096000,"timestamp_ms":1776389096000,"timestamp_seconds":1776389096,"priority":1,"record_length":96,"hex_timestamp":"0000019d990a8240"} 
[2026-04-17 06:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 06:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755531520001,"66":25778,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755531520001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:59:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:59:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755531520001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":45652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:59:29] local.INFO: GPS data processed {"connection_id":45652,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:59:29] local.INFO: Acknowledgment sent {"connection_id":45652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 06:59:51] local.INFO: TCP Data received {"connection_id":45653,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:59:51] local.INFO: Processing buffer {"connection_id":45653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:59:51] local.INFO: IMEI packet received {"connection_id":45653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 06:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":45653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 06:59:57] local.INFO: TCP Data received {"connection_id":45653,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45653,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:59:57] local.INFO: Processing buffer {"connection_id":45653,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 06:59:57] local.INFO: IMEI packet received {"connection_id":45653,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 06:59:57] local.INFO: IMEI acknowledgment sent {"connection_id":45653,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 06:59:58] local.INFO: TCP Data received {"connection_id":45653,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:59:58] local.INFO: Processing buffer {"connection_id":45653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 06:59:58] local.INFO: Packet analysis {"connection_id":45653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 06:59:58] local.INFO: Extracted packet for processing {"connection_id":45653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 06:59:58] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 06: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-04-17 06:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755531520001,"note":"Value kept but may cause issues"} 
[2026-04-17 06:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 06:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 06:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 06:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776389096000,"timestamp_ms":1776389096000,"timestamp_seconds":1776389096,"priority":1,"record_length":96,"hex_timestamp":"0000019d990a8240"} 
[2026-04-17 06:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 06:59:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 06: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":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 06:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 06: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-04-17 06:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 06:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 06:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 06:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 06:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 06:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 06:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 06:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755531520001,"66":25778,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 06:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 06:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 06:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755531520001,"description":"Unknown IO ID 0"} 
[2026-04-17 06:59:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 06:59:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 06:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 06:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 06:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755531520001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 06:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":45653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 06:59:58] local.INFO: GPS data processed {"connection_id":45653,"processed":1,"errors":0,"total":1} 
[2026-04-17 06:59:58] local.INFO: Acknowledgment sent {"connection_id":45653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:00:02] local.INFO: TCP Data received {"connection_id":45577,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:00:02] local.INFO: Processing buffer {"connection_id":45577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:00:02] local.INFO: Packet analysis {"connection_id":45577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990c"} 
[2026-04-17 07:00:02] local.INFO: Extracted packet for processing {"connection_id":45577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990c"} 
[2026-04-17 07:00:02] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755572736001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776389257000,"timestamp_ms":1776389257000,"timestamp_seconds":1776389257,"priority":1,"record_length":96,"hex_timestamp":"0000019d990cf728"} 
[2026-04-17 07:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:00: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-04-17 07: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":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 07:00:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45577,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:00:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755572736001,"66":25430,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 07:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755572736001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:00:02] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 07:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755572736001,"power":25430,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":45577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19708,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:00:02] local.INFO: GPS data processed {"connection_id":45577,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:00:02] local.INFO: Acknowledgment sent {"connection_id":45577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:00:10] local.INFO: TCP Data received {"connection_id":45578,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:00:10] local.INFO: Processing buffer {"connection_id":45578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:00:10] local.INFO: IMEI packet received {"connection_id":45578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":45578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:00:15] local.INFO: TCP Data received {"connection_id":45578,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:00:15] local.INFO: Processing buffer {"connection_id":45578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:00:15] local.INFO: IMEI packet received {"connection_id":45578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":45578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:00:17] local.INFO: TCP Data received {"connection_id":45578,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:00:17] local.INFO: Processing buffer {"connection_id":45578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:00:17] local.INFO: Packet analysis {"connection_id":45578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990c"} 
[2026-04-17 07:00:17] local.INFO: Extracted packet for processing {"connection_id":45578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990c"} 
[2026-04-17 07:00:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755572736001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:00:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776389257000,"timestamp_ms":1776389257000,"timestamp_seconds":1776389257,"priority":1,"record_length":96,"hex_timestamp":"0000019d990cf728"} 
[2026-04-17 07:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:00:17] 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-04-17 07:00:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 07:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755572736001,"66":25430,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 07:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755572736001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:00:17] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 07:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755572736001,"power":25430,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":45578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19709,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:00:17] local.INFO: GPS data processed {"connection_id":45578,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:00:17] local.INFO: Acknowledgment sent {"connection_id":45578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:00:21] local.INFO: TCP Data received {"connection_id":45578,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:00:21] local.INFO: Processing buffer {"connection_id":45578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:00:21] local.INFO: Packet analysis {"connection_id":45578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990c"} 
[2026-04-17 07:00:21] local.INFO: Extracted packet for processing {"connection_id":45578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990c"} 
[2026-04-17 07:00:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:00: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-04-17 07:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755572736001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:00:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776389257000,"timestamp_ms":1776389257000,"timestamp_seconds":1776389257,"priority":1,"record_length":96,"hex_timestamp":"0000019d990cf728"} 
[2026-04-17 07:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:00:21] 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-04-17 07:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 07:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:00: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-04-17 07:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755572736001,"66":25430,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 07:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755572736001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:00:21] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 07:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755572736001,"power":25430,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":45578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19710,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:00:21] local.INFO: GPS data processed {"connection_id":45578,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:00:21] local.INFO: Acknowledgment sent {"connection_id":45578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:00:29] local.INFO: TCP Data received {"connection_id":45653,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 07:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 07:00:29] local.INFO: Processing buffer {"connection_id":45653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990a8240012d7fad4005afe350000000942b..."} 
[2026-04-17 07:00:29] local.INFO: Packet analysis {"connection_id":45653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 07:00:29] local.INFO: Extracted packet for processing {"connection_id":45653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990a"} 
[2026-04-17 07:00:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755531520001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:00:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776389096000,"timestamp_ms":1776389096000,"timestamp_seconds":1776389096,"priority":1,"record_length":96,"hex_timestamp":"0000019d990a8240"} 
[2026-04-17 07:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:00:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:00:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 07:00:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1567,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:00:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45653,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:00: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-04-17 07:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755531520001,"66":25778,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755531520001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:00:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:00:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755531520001,"power":25778,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":45653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:00:29] local.INFO: GPS data processed {"connection_id":45653,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:00:29] local.INFO: Acknowledgment sent {"connection_id":45653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:00:57] local.INFO: TCP Data received {"connection_id":45579,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:00:57] local.INFO: Processing buffer {"connection_id":45579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:00:57] local.INFO: IMEI packet received {"connection_id":45579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":45579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:01:02] local.INFO: TCP Data received {"connection_id":45579,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45579,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:01:02] local.INFO: Processing buffer {"connection_id":45579,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:01:02] local.INFO: IMEI packet received {"connection_id":45579,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":45579,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:01:03] local.INFO: TCP Data received {"connection_id":45579,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:01:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:01:03] local.INFO: Processing buffer {"connection_id":45579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:01:03] local.INFO: Packet analysis {"connection_id":45579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:01:03] local.INFO: Extracted packet for processing {"connection_id":45579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:01:03] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:01:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755608576001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:01:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:01:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:01:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:01:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776389397000,"timestamp_ms":1776389397000,"timestamp_seconds":1776389397,"priority":1,"record_length":96,"hex_timestamp":"0000019d990f1a08"} 
[2026-04-17 07:01:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:01:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:01:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 07:01:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:01:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:01:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:01:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:01:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:01:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:01:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:01:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:01:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:01:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:01:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755608576001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:01:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:01:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:01:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755608576001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:01:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:01:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:01:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:01:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:01:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755608576001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:01:03] local.INFO: DEBUG: GPS processor result {"connection_id":45579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:01:03] local.INFO: GPS data processed {"connection_id":45579,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:01:03] local.INFO: Acknowledgment sent {"connection_id":45579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:01:05] local.INFO: TCP Data received {"connection_id":45842,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:01:05] local.INFO: Processing buffer {"connection_id":45842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:01:05] local.INFO: IMEI packet received {"connection_id":45842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":45842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:01:07] local.INFO: TCP Data received {"connection_id":45579,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:01:07] local.INFO: Processing buffer {"connection_id":45579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:01:07] local.INFO: Packet analysis {"connection_id":45579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:01:07] local.INFO: Extracted packet for processing {"connection_id":45579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:01:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755608576001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776389397000,"timestamp_ms":1776389397000,"timestamp_seconds":1776389397,"priority":1,"record_length":96,"hex_timestamp":"0000019d990f1a08"} 
[2026-04-17 07:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:01:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 07:01: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-04-17 07:01:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45579,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:01:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755608576001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755608576001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:01:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:01:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755608576001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":45579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:01:07] local.INFO: GPS data processed {"connection_id":45579,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:01:07] local.INFO: Acknowledgment sent {"connection_id":45579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:01:14] local.INFO: TCP Data received {"connection_id":45842,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:01:14] local.INFO: Processing buffer {"connection_id":45842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:01:14] local.INFO: IMEI packet received {"connection_id":45842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":45842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:01:15] local.INFO: TCP Data received {"connection_id":45842,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:01:15] local.INFO: Processing buffer {"connection_id":45842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:01:15] local.INFO: Packet analysis {"connection_id":45842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990c"} 
[2026-04-17 07:01:15] local.INFO: Extracted packet for processing {"connection_id":45842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990c"} 
[2026-04-17 07:01:15] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:01:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755572736001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:01:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:01:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:01:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:01:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776389257000,"timestamp_ms":1776389257000,"timestamp_seconds":1776389257,"priority":1,"record_length":96,"hex_timestamp":"0000019d990cf728"} 
[2026-04-17 07:01:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:01:15] 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-04-17 07:01:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 07:01:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:01:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:01:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:01:15] local.INFO: Teltonika packet parsed successfully {"connection_id":45842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:01:15] local.INFO: Passing IMEI to GPS processor {"connection_id":45842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:01:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":45842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:01:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:01:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:01:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:01:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755572736001,"66":25430,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 07:01:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:01:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:01:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755572736001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:01:15] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 07:01:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:01:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:01:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755572736001,"power":25430,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:01:15] local.INFO: DEBUG: GPS processor result {"connection_id":45842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19714,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:01:15] local.INFO: GPS data processed {"connection_id":45842,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:01:15] local.INFO: Acknowledgment sent {"connection_id":45842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:01:47] local.INFO: TCP Data received {"connection_id":45842,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:01:47] local.INFO: Processing buffer {"connection_id":45842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:01:47] local.INFO: Packet analysis {"connection_id":45842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990c"} 
[2026-04-17 07:01:47] local.INFO: Extracted packet for processing {"connection_id":45842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990c"} 
[2026-04-17 07:01:47] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755572736001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:01:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776389257000,"timestamp_ms":1776389257000,"timestamp_seconds":1776389257,"priority":1,"record_length":96,"hex_timestamp":"0000019d990cf728"} 
[2026-04-17 07:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 07:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":45842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":45842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":45842,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755572736001,"66":25430,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 07:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755572736001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:01:47] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 07:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755572736001,"power":25430,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":45842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19715,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:01:47] local.INFO: GPS data processed {"connection_id":45842,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:01:47] local.INFO: Acknowledgment sent {"connection_id":45842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:01:52] local.INFO: TCP Data received {"connection_id":46395,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:01:52] local.INFO: Processing buffer {"connection_id":46395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:01:52] local.INFO: IMEI packet received {"connection_id":46395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":46395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:01:56] local.INFO: TCP Data received {"connection_id":46395,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46395,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:01:57] local.INFO: Processing buffer {"connection_id":46395,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:01:57] local.INFO: IMEI packet received {"connection_id":46395,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:01:57] local.INFO: IMEI acknowledgment sent {"connection_id":46395,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:01:57] local.INFO: TCP Data received {"connection_id":46395,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:01:57] local.INFO: Processing buffer {"connection_id":46395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:01:57] local.INFO: Packet analysis {"connection_id":46395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:01:57] local.INFO: Extracted packet for processing {"connection_id":46395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:01:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755608576001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776389397000,"timestamp_ms":1776389397000,"timestamp_seconds":1776389397,"priority":1,"record_length":96,"hex_timestamp":"0000019d990f1a08"} 
[2026-04-17 07:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 07:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755608576001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755608576001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:01:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:01:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755608576001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":46395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:01:57] local.INFO: GPS data processed {"connection_id":46395,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:01:57] local.INFO: Acknowledgment sent {"connection_id":46395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:02:05] local.INFO: TCP Data received {"connection_id":46396,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:02:05] local.INFO: Processing buffer {"connection_id":46396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:02:05] local.INFO: IMEI packet received {"connection_id":46396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":46396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:02:11] local.INFO: TCP Data received {"connection_id":46396,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:02:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46396,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:02:11] local.INFO: Processing buffer {"connection_id":46396,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:02:11] local.INFO: IMEI packet received {"connection_id":46396,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:02:11] local.INFO: IMEI acknowledgment sent {"connection_id":46396,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:02:12] local.INFO: TCP Data received {"connection_id":46396,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:02:12] local.INFO: Processing buffer {"connection_id":46396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:02:12] local.INFO: Packet analysis {"connection_id":46396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990c"} 
[2026-04-17 07:02:12] local.INFO: Extracted packet for processing {"connection_id":46396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990c"} 
[2026-04-17 07:02:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755572736001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:02:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776389257000,"timestamp_ms":1776389257000,"timestamp_seconds":1776389257,"priority":1,"record_length":96,"hex_timestamp":"0000019d990cf728"} 
[2026-04-17 07:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:02: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-04-17 07:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 07:02:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755572736001,"66":25430,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 07:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755572736001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:02:12] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 07:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755572736001,"power":25430,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":46396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19717,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:02:12] local.INFO: GPS data processed {"connection_id":46396,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:02:12] local.INFO: Acknowledgment sent {"connection_id":46396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:02:30] local.INFO: TCP Data received {"connection_id":46395,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46395,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:02:30] local.INFO: Processing buffer {"connection_id":46395,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:02:30] local.INFO: Packet analysis {"connection_id":46395,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:02:30] local.INFO: Extracted packet for processing {"connection_id":46395,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:02:30] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755608576001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776389397000,"timestamp_ms":1776389397000,"timestamp_seconds":1776389397,"priority":1,"record_length":96,"hex_timestamp":"0000019d990f1a08"} 
[2026-04-17 07:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:02:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":178,"data_length":795,"current_offset":136} 
[2026-04-17 07:02:30] 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-04-17 07: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-04-17 07:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46395,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46395,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07: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-04-17 07:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755608576001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755608576001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:02:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:02:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755608576001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":46395,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:02:30] local.INFO: GPS data processed {"connection_id":46395,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:02:30] local.INFO: Acknowledgment sent {"connection_id":46395,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:02:44] local.INFO: TCP Data received {"connection_id":46396,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:02:44] local.INFO: Processing buffer {"connection_id":46396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990cf728012d1b598006d4d5980011013831..."} 
[2026-04-17 07:02:44] local.INFO: Packet analysis {"connection_id":46396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990c"} 
[2026-04-17 07:02:44] local.INFO: Extracted packet for processing {"connection_id":46396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990c"} 
[2026-04-17 07:02:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755572736001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:02:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776389257000,"timestamp_ms":1776389257000,"timestamp_seconds":1776389257,"priority":1,"record_length":96,"hex_timestamp":"0000019d990cf728"} 
[2026-04-17 07:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:02:44] 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-04-17 07:02:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 07:02:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2051,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46396,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755572736001,"66":25430,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 07:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755572736001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:02:44] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 07:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755572736001,"power":25430,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":46396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19719,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:02:44] local.INFO: GPS data processed {"connection_id":46396,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:02:44] local.INFO: Acknowledgment sent {"connection_id":46396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:02:52] local.INFO: TCP Data received {"connection_id":45654,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:02:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:02:52] local.INFO: Processing buffer {"connection_id":45654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:02:52] local.INFO: IMEI packet received {"connection_id":45654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:02:52] local.INFO: IMEI acknowledgment sent {"connection_id":45654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:02:56] local.INFO: TCP Data received {"connection_id":45654,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:02:56] local.INFO: Processing buffer {"connection_id":45654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:02:56] local.INFO: IMEI packet received {"connection_id":45654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":45654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:02:57] local.INFO: TCP Data received {"connection_id":45654,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:02:57] local.INFO: Processing buffer {"connection_id":45654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:02:57] local.INFO: Packet analysis {"connection_id":45654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:02:57] local.INFO: Extracted packet for processing {"connection_id":45654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:02:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755608576001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776389397000,"timestamp_ms":1776389397000,"timestamp_seconds":1776389397,"priority":1,"record_length":96,"hex_timestamp":"0000019d990f1a08"} 
[2026-04-17 07:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 07:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755608576001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755608576001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:02:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:02:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755608576001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":45654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:02:57] local.INFO: GPS data processed {"connection_id":45654,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:02:57] local.INFO: Acknowledgment sent {"connection_id":45654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:03:10] local.INFO: TCP Data received {"connection_id":45580,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:03:10] local.INFO: Processing buffer {"connection_id":45580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:03:10] local.INFO: IMEI packet received {"connection_id":45580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":45580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:03:15] local.INFO: TCP Data received {"connection_id":45580,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45580,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:03:15] local.INFO: Processing buffer {"connection_id":45580,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:03:15] local.INFO: IMEI packet received {"connection_id":45580,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":45580,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:03:17] local.INFO: TCP Data received {"connection_id":45580,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:03:17] local.INFO: Processing buffer {"connection_id":45580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:03:17] local.INFO: Packet analysis {"connection_id":45580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:03:17] local.INFO: Extracted packet for processing {"connection_id":45580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:03:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755649792001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:03:17] 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-04-17 07:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776389558000,"timestamp_ms":1776389558000,"timestamp_seconds":1776389558,"priority":1,"record_length":96,"hex_timestamp":"0000019d99118ef0"} 
[2026-04-17 07:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:03:17] 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-04-17 07:03:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:03: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-04-17 07:03:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755649792001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755649792001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:03:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755649792001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:03:17] local.INFO: DEBUG: GPS processor result {"connection_id":45580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19721,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:03:17] local.INFO: GPS data processed {"connection_id":45580,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:03:17] local.INFO: Acknowledgment sent {"connection_id":45580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:03:28] local.INFO: TCP Data received {"connection_id":45654,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:03:28] local.INFO: Processing buffer {"connection_id":45654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:03:28] local.INFO: Packet analysis {"connection_id":45654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:03:28] local.INFO: Extracted packet for processing {"connection_id":45654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:03:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755608576001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776389397000,"timestamp_ms":1776389397000,"timestamp_seconds":1776389397,"priority":1,"record_length":96,"hex_timestamp":"0000019d990f1a08"} 
[2026-04-17 07:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 07:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755608576001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755608576001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:03:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:03:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755608576001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":45654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:03:28] local.INFO: GPS data processed {"connection_id":45654,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:03:28] local.INFO: Acknowledgment sent {"connection_id":45654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:03:51] local.INFO: TCP Data received {"connection_id":46397,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:03:51] local.INFO: Processing buffer {"connection_id":46397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:03:51] local.INFO: IMEI packet received {"connection_id":46397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":46397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:03:56] local.INFO: TCP Data received {"connection_id":45580,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:03:56] local.INFO: Processing buffer {"connection_id":45580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:03:56] local.INFO: Packet analysis {"connection_id":45580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:03:56] local.INFO: Extracted packet for processing {"connection_id":45580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:03:56] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755649792001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:03:56] 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-04-17 07:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776389558000,"timestamp_ms":1776389558000,"timestamp_seconds":1776389558,"priority":1,"record_length":96,"hex_timestamp":"0000019d99118ef0"} 
[2026-04-17 07:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:03:56] 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-04-17 07:03:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:03:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45580,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755649792001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755649792001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:03:56] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755649792001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":45580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19723,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:03:56] local.INFO: GPS data processed {"connection_id":45580,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:03:56] local.INFO: Acknowledgment sent {"connection_id":45580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:03:56] local.INFO: TCP Data received {"connection_id":46397,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46397,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:03:56] local.INFO: Processing buffer {"connection_id":46397,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:03:56] local.INFO: IMEI packet received {"connection_id":46397,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":46397,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:03:57] local.INFO: TCP Data received {"connection_id":46397,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:03:57] local.INFO: Processing buffer {"connection_id":46397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:03:57] local.INFO: Packet analysis {"connection_id":46397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:03:57] local.INFO: Extracted packet for processing {"connection_id":46397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:03:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755608576001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776389397000,"timestamp_ms":1776389397000,"timestamp_seconds":1776389397,"priority":1,"record_length":96,"hex_timestamp":"0000019d990f1a08"} 
[2026-04-17 07:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 07:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755608576001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755608576001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:03:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:03:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755608576001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":46397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:03:57] local.INFO: GPS data processed {"connection_id":46397,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:03:57] local.INFO: Acknowledgment sent {"connection_id":46397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:04:10] local.INFO: TCP Data received {"connection_id":45655,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:04:10] local.INFO: Processing buffer {"connection_id":45655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:04:10] local.INFO: IMEI packet received {"connection_id":45655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":45655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:04:15] local.INFO: TCP Data received {"connection_id":45655,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:04:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45655,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:04:15] local.INFO: Processing buffer {"connection_id":45655,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:04:15] local.INFO: IMEI packet received {"connection_id":45655,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:04:15] local.INFO: IMEI acknowledgment sent {"connection_id":45655,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:04:17] local.INFO: TCP Data received {"connection_id":45655,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:04:17] local.INFO: Processing buffer {"connection_id":45655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:04:17] local.INFO: Packet analysis {"connection_id":45655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:04:17] local.INFO: Extracted packet for processing {"connection_id":45655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:04:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:04:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755649792001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:04:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:04:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:04:17] 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-04-17 07:04:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776389558000,"timestamp_ms":1776389558000,"timestamp_seconds":1776389558,"priority":1,"record_length":96,"hex_timestamp":"0000019d99118ef0"} 
[2026-04-17 07:04:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:04:17] 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-04-17 07: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-04-17 07: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-04-17 07: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-04-17 07:04:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:04:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:04:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:04:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:04:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:04:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:04:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:04:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:04:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755649792001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:04:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:04:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:04:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755649792001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:04:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:04:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:04:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:04:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755649792001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:04:17] local.INFO: DEBUG: GPS processor result {"connection_id":45655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19725,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:04:17] local.INFO: GPS data processed {"connection_id":45655,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:04:17] local.INFO: Acknowledgment sent {"connection_id":45655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:04:28] local.INFO: TCP Data received {"connection_id":46397,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46397,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:04:28] local.INFO: Processing buffer {"connection_id":46397,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:04:28] local.INFO: Packet analysis {"connection_id":46397,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:04:28] local.INFO: Extracted packet for processing {"connection_id":46397,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:04:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755608576001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776389397000,"timestamp_ms":1776389397000,"timestamp_seconds":1776389397,"priority":1,"record_length":96,"hex_timestamp":"0000019d990f1a08"} 
[2026-04-17 07:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 07:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46397,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46397,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755608576001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755608576001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:04:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:04:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755608576001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":46397,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:04:28] local.INFO: GPS data processed {"connection_id":46397,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:04:28] local.INFO: Acknowledgment sent {"connection_id":46397,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:04:51] local.INFO: TCP Data received {"connection_id":45843,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:04:51] local.INFO: Processing buffer {"connection_id":45843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:04:51] local.INFO: IMEI packet received {"connection_id":45843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":45843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:04:55] local.INFO: TCP Data received {"connection_id":45655,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:04:55] local.INFO: Processing buffer {"connection_id":45655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:04:55] local.INFO: Packet analysis {"connection_id":45655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:04:55] local.INFO: Extracted packet for processing {"connection_id":45655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:04:55] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755649792001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:04:55] 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-04-17 07:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776389558000,"timestamp_ms":1776389558000,"timestamp_seconds":1776389558,"priority":1,"record_length":96,"hex_timestamp":"0000019d99118ef0"} 
[2026-04-17 07:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:04:55] 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-04-17 07:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:04:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45655,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755649792001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755649792001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:04:55] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755649792001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":45655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19727,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:04:55] local.INFO: GPS data processed {"connection_id":45655,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:04:55] local.INFO: Acknowledgment sent {"connection_id":45655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:04:56] local.INFO: TCP Data received {"connection_id":45843,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:04:56] local.INFO: Processing buffer {"connection_id":45843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:04:56] local.INFO: IMEI packet received {"connection_id":45843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":45843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:04:58] local.INFO: TCP Data received {"connection_id":45843,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:04:58] local.INFO: Processing buffer {"connection_id":45843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:04:58] local.INFO: Packet analysis {"connection_id":45843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:04:58] local.INFO: Extracted packet for processing {"connection_id":45843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:04:58] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755608576001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776389397000,"timestamp_ms":1776389397000,"timestamp_seconds":1776389397,"priority":1,"record_length":96,"hex_timestamp":"0000019d990f1a08"} 
[2026-04-17 07:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 07:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755608576001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755608576001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:04:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:04:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755608576001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":45843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:04:58] local.INFO: GPS data processed {"connection_id":45843,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:04:58] local.INFO: Acknowledgment sent {"connection_id":45843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:05:10] local.INFO: TCP Data received {"connection_id":46398,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:05:10] local.INFO: Processing buffer {"connection_id":46398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:05:10] local.INFO: IMEI packet received {"connection_id":46398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":46398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:05:15] local.INFO: TCP Data received {"connection_id":46398,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:05:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46398,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:05:15] local.INFO: Processing buffer {"connection_id":46398,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:05:15] local.INFO: IMEI packet received {"connection_id":46398,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:05:15] local.INFO: IMEI acknowledgment sent {"connection_id":46398,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:05:17] local.INFO: TCP Data received {"connection_id":46398,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:05:17] local.INFO: Processing buffer {"connection_id":46398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:05:17] local.INFO: Packet analysis {"connection_id":46398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:05:17] local.INFO: Extracted packet for processing {"connection_id":46398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:05:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:05:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755649792001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:05:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:05:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:05:17] 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-04-17 07:05:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776389558000,"timestamp_ms":1776389558000,"timestamp_seconds":1776389558,"priority":1,"record_length":96,"hex_timestamp":"0000019d99118ef0"} 
[2026-04-17 07:05:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:05:17] 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-04-17 07:05:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:05: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-04-17 07:05:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:05:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:05:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:05:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:05:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:05:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:05:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:05:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:05:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:05:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755649792001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:05:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:05:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:05:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755649792001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:05:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:05:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:05:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:05:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755649792001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:05:17] local.INFO: DEBUG: GPS processor result {"connection_id":46398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19729,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:05:17] local.INFO: GPS data processed {"connection_id":46398,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:05:17] local.INFO: Acknowledgment sent {"connection_id":46398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:05:21] local.INFO: TCP Data received {"connection_id":46398,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46398,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:05:21] local.INFO: Processing buffer {"connection_id":46398,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:05:21] local.INFO: Packet analysis {"connection_id":46398,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:05:21] local.INFO: Extracted packet for processing {"connection_id":46398,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:05:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755649792001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:05:21] 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-04-17 07:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776389558000,"timestamp_ms":1776389558000,"timestamp_seconds":1776389558,"priority":1,"record_length":96,"hex_timestamp":"0000019d99118ef0"} 
[2026-04-17 07:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:05:21] 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-04-17 07:05:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:05:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46398,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46398,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755649792001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755649792001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:05:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755649792001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":46398,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19730,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:05:21] local.INFO: GPS data processed {"connection_id":46398,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:05:21] local.INFO: Acknowledgment sent {"connection_id":46398,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:05:29] local.INFO: TCP Data received {"connection_id":45843,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:05:29] local.INFO: Processing buffer {"connection_id":45843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d990f1a08012d7fad4005afe350000000942d..."} 
[2026-04-17 07:05:29] local.INFO: Packet analysis {"connection_id":45843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:05:29] local.INFO: Extracted packet for processing {"connection_id":45843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d990f"} 
[2026-04-17 07:05:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755608576001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776389397000,"timestamp_ms":1776389397000,"timestamp_seconds":1776389397,"priority":1,"record_length":96,"hex_timestamp":"0000019d990f1a08"} 
[2026-04-17 07:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 07:05:29] 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-04-17 07: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-04-17 07:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:05: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-04-17 07:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755608576001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755608576001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:05:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:05:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755608576001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":45843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:05:29] local.INFO: GPS data processed {"connection_id":45843,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:05:29] local.INFO: Acknowledgment sent {"connection_id":45843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:05:51] local.INFO: TCP Data received {"connection_id":45656,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:05:51] local.INFO: Processing buffer {"connection_id":45656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:05:51] local.INFO: IMEI packet received {"connection_id":45656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":45656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:05:56] local.INFO: TCP Data received {"connection_id":45656,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45656,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:05:56] local.INFO: Processing buffer {"connection_id":45656,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:05:56] local.INFO: IMEI packet received {"connection_id":45656,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":45656,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:05:57] local.INFO: TCP Data received {"connection_id":45656,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:05:57] local.INFO: Processing buffer {"connection_id":45656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:05:57] local.INFO: Packet analysis {"connection_id":45656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:05:57] local.INFO: Extracted packet for processing {"connection_id":45656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:05:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755685632001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776389698000,"timestamp_ms":1776389698000,"timestamp_seconds":1776389698,"priority":1,"record_length":96,"hex_timestamp":"0000019d9913b1d0"} 
[2026-04-17 07:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755685632001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755685632001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:05:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:05:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755685632001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":45656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:05:57] local.INFO: GPS data processed {"connection_id":45656,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:05:57] local.INFO: Acknowledgment sent {"connection_id":45656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:06:06] local.INFO: TCP Data received {"connection_id":45657,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45657,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:06:06] local.INFO: Processing buffer {"connection_id":45657,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:06:06] local.INFO: IMEI packet received {"connection_id":45657,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:06:06] local.INFO: IMEI acknowledgment sent {"connection_id":45657,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:06:11] local.INFO: TCP Data received {"connection_id":45657,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45657,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:06:11] local.INFO: Processing buffer {"connection_id":45657,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:06:11] local.INFO: IMEI packet received {"connection_id":45657,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":45657,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:06:13] local.INFO: TCP Data received {"connection_id":45657,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:06:13] local.INFO: Processing buffer {"connection_id":45657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:06:13] local.INFO: Packet analysis {"connection_id":45657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:06:13] local.INFO: Extracted packet for processing {"connection_id":45657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:06:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755649792001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:06:13] 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-04-17 07:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776389558000,"timestamp_ms":1776389558000,"timestamp_seconds":1776389558,"priority":1,"record_length":96,"hex_timestamp":"0000019d99118ef0"} 
[2026-04-17 07:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:06:13] 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-04-17 07:06:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:06: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-04-17 07: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-04-17 07:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45657,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45657,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755649792001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755649792001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:06:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755649792001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":45657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19733,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:06:13] local.INFO: GPS data processed {"connection_id":45657,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:06:13] local.INFO: Acknowledgment sent {"connection_id":45657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:06:30] local.INFO: TCP Data received {"connection_id":45656,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:06:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:06:30] local.INFO: Processing buffer {"connection_id":45656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:06:30] local.INFO: Packet analysis {"connection_id":45656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:06:30] local.INFO: Extracted packet for processing {"connection_id":45656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:06:30] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:06:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755685632001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:06:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:06:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:06:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:06:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776389698000,"timestamp_ms":1776389698000,"timestamp_seconds":1776389698,"priority":1,"record_length":96,"hex_timestamp":"0000019d9913b1d0"} 
[2026-04-17 07:06:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:06:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:06:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:06: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-04-17 07:06:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:06:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:06:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:06:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:06:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:06:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45656,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07: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-04-17 07:06:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:06:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:06:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755685632001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:06:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:06:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:06:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755685632001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:06:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:06:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:06:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:06:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:06:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755685632001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:06:30] local.INFO: DEBUG: GPS processor result {"connection_id":45656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:06:30] local.INFO: GPS data processed {"connection_id":45656,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:06:30] local.INFO: Acknowledgment sent {"connection_id":45656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:06:48] local.INFO: TCP Data received {"connection_id":45657,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:06:48] local.INFO: Processing buffer {"connection_id":45657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:06:48] local.INFO: Packet analysis {"connection_id":45657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:06:48] local.INFO: Extracted packet for processing {"connection_id":45657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:06:48] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755649792001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:06:48] 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-04-17 07:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776389558000,"timestamp_ms":1776389558000,"timestamp_seconds":1776389558,"priority":1,"record_length":96,"hex_timestamp":"0000019d99118ef0"} 
[2026-04-17 07:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:06:48] 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-04-17 07: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-04-17 07: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-04-17 07: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-04-17 07:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45657,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45657,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755649792001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755649792001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:06:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755649792001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":45657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19735,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:06:48] local.INFO: GPS data processed {"connection_id":45657,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:06:48] local.INFO: Acknowledgment sent {"connection_id":45657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:06:52] local.INFO: TCP Data received {"connection_id":46399,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:06:52] local.INFO: Processing buffer {"connection_id":46399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:06:52] local.INFO: IMEI packet received {"connection_id":46399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":46399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:06:57] local.INFO: TCP Data received {"connection_id":46399,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46399,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:06:57] local.INFO: Processing buffer {"connection_id":46399,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:06:57] local.INFO: IMEI packet received {"connection_id":46399,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":46399,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:06:57] local.INFO: TCP Data received {"connection_id":46399,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:06:57] local.INFO: Processing buffer {"connection_id":46399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:06:57] local.INFO: Packet analysis {"connection_id":46399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:06:57] local.INFO: Extracted packet for processing {"connection_id":46399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:06:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 07:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755685632001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776389698000,"timestamp_ms":1776389698000,"timestamp_seconds":1776389698,"priority":1,"record_length":96,"hex_timestamp":"0000019d9913b1d0"} 
[2026-04-17 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-04-17 07:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 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-04-17 07:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755685632001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755685632001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:06:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:06:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755685632001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":46399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:06:57] local.INFO: GPS data processed {"connection_id":46399,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:06:57] local.INFO: Acknowledgment sent {"connection_id":46399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:07:05] local.INFO: TCP Data received {"connection_id":46400,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46400,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:07:05] local.INFO: Processing buffer {"connection_id":46400,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:07:05] local.INFO: IMEI packet received {"connection_id":46400,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":46400,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:07:10] local.INFO: TCP Data received {"connection_id":46400,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46400,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:07:10] local.INFO: Processing buffer {"connection_id":46400,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:07:10] local.INFO: IMEI packet received {"connection_id":46400,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":46400,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:07:12] local.INFO: TCP Data received {"connection_id":46400,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:07:12] local.INFO: Processing buffer {"connection_id":46400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:07:12] local.INFO: Packet analysis {"connection_id":46400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:07:12] local.INFO: Extracted packet for processing {"connection_id":46400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:07:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:07:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755649792001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:07:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:07:12] 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-04-17 07:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776389558000,"timestamp_ms":1776389558000,"timestamp_seconds":1776389558,"priority":1,"record_length":96,"hex_timestamp":"0000019d99118ef0"} 
[2026-04-17 07:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:07: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-04-17 07:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:07: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-04-17 07:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755649792001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755649792001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:07:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:07:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:07:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755649792001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":46400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19737,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:07:12] local.INFO: GPS data processed {"connection_id":46400,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:07:12] local.INFO: Acknowledgment sent {"connection_id":46400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:07:29] local.INFO: TCP Data received {"connection_id":46399,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:07:29] local.INFO: Processing buffer {"connection_id":46399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:07:29] local.INFO: Packet analysis {"connection_id":46399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:07:29] local.INFO: Extracted packet for processing {"connection_id":46399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:07:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755685632001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776389698000,"timestamp_ms":1776389698000,"timestamp_seconds":1776389698,"priority":1,"record_length":96,"hex_timestamp":"0000019d9913b1d0"} 
[2026-04-17 07:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:07:29] 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-04-17 07: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-04-17 07:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46399,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:07: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-04-17 07:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755685632001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755685632001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:07:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:07:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755685632001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":46399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:07:29] local.INFO: GPS data processed {"connection_id":46399,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:07:29] local.INFO: Acknowledgment sent {"connection_id":46399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:07:37] local.INFO: TCP Data received {"connection_id":46401,"ip":"193.32.162.28","data_length":936,"data_hex":"504f5354202f20485454502f312e310d0a486f73743a2033372e32372e39322e..."} 
[2026-04-17 07:07:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46401,"packet_length":936,"packet_hex":"504f5354202f20485454502f312e310d0a486f73743a2033372e32372e39322e..."} 
[2026-04-17 07:07:37] local.INFO: Processing buffer {"connection_id":46401,"buffer_length":936,"buffer_hex":"504f5354202f20485454502f312e310d0a486f73743a2033372e32372e39322e..."} 
[2026-04-17 07:07:37] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":46401,"buffer_length":936,"first_bytes_hex":"504f5354202f20485454502f312e310d"} 
[2026-04-17 07:07:43] local.INFO: TCP Data received {"connection_id":46400,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:07:43] local.INFO: Processing buffer {"connection_id":46400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:07:43] local.INFO: Packet analysis {"connection_id":46400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:07:43] local.INFO: Extracted packet for processing {"connection_id":46400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:07:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755649792001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:07:43] 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-04-17 07:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776389558000,"timestamp_ms":1776389558000,"timestamp_seconds":1776389558,"priority":1,"record_length":96,"hex_timestamp":"0000019d99118ef0"} 
[2026-04-17 07:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:07:43] 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-04-17 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:07: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-04-17 07: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-04-17 07:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46400,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755649792001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755649792001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:07:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755649792001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:07:44] local.INFO: DEBUG: GPS processor result {"connection_id":46400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19739,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:07:44] local.INFO: GPS data processed {"connection_id":46400,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:07:44] local.INFO: Acknowledgment sent {"connection_id":46400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:07:49] local.INFO: TCP Data received {"connection_id":45660,"ip":"193.32.162.28","data_length":972,"data_hex":"504f5354202f5f6e65787420485454502f312e310d0a486f73743a2033372e32..."} 
[2026-04-17 07:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45660,"packet_length":972,"packet_hex":"504f5354202f5f6e65787420485454502f312e310d0a486f73743a2033372e32..."} 
[2026-04-17 07:07:49] local.INFO: Processing buffer {"connection_id":45660,"buffer_length":972,"buffer_hex":"504f5354202f5f6e65787420485454502f312e310d0a486f73743a2033372e32..."} 
[2026-04-17 07:07:49] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":45660,"buffer_length":972,"first_bytes_hex":"504f5354202f5f6e6578742048545450"} 
[2026-04-17 07:07:51] local.INFO: TCP Data received {"connection_id":45659,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:07:51] local.INFO: Processing buffer {"connection_id":45659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:07:51] local.INFO: IMEI packet received {"connection_id":45659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":45659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:07:56] local.INFO: TCP Data received {"connection_id":45659,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45659,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:07:56] local.INFO: Processing buffer {"connection_id":45659,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:07:56] local.INFO: IMEI packet received {"connection_id":45659,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":45659,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:07:57] local.INFO: TCP Data received {"connection_id":45659,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:07:57] local.INFO: Processing buffer {"connection_id":45659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:07:57] local.INFO: Packet analysis {"connection_id":45659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:07:57] local.INFO: Extracted packet for processing {"connection_id":45659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:07:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755685632001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776389698000,"timestamp_ms":1776389698000,"timestamp_seconds":1776389698,"priority":1,"record_length":96,"hex_timestamp":"0000019d9913b1d0"} 
[2026-04-17 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-04-17 07:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 07:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755685632001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755685632001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:07:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755685632001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":45659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:07:57] local.INFO: GPS data processed {"connection_id":45659,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:07:57] local.INFO: Acknowledgment sent {"connection_id":45659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:08:01] local.INFO: TCP Data received {"connection_id":45581,"ip":"193.32.162.28","data_length":939,"data_hex":"504f5354202f61706920485454502f312e310d0a486f73743a2033372e32372e..."} 
[2026-04-17 07:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45581,"packet_length":939,"packet_hex":"504f5354202f61706920485454502f312e310d0a486f73743a2033372e32372e..."} 
[2026-04-17 07:08:01] local.INFO: Processing buffer {"connection_id":45581,"buffer_length":939,"buffer_hex":"504f5354202f61706920485454502f312e310d0a486f73743a2033372e32372e..."} 
[2026-04-17 07:08:01] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":45581,"buffer_length":939,"first_bytes_hex":"504f5354202f61706920485454502f31"} 
[2026-04-17 07:08:10] local.INFO: TCP Data received {"connection_id":46402,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:08:10] local.INFO: Processing buffer {"connection_id":46402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:08:10] local.INFO: IMEI packet received {"connection_id":46402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":46402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:08:13] local.INFO: TCP Data received {"connection_id":45582,"ip":"193.32.162.28","data_length":961,"data_hex":"504f5354202f5f6e6578742f73657276657220485454502f312e310d0a486f73..."} 
[2026-04-17 07:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45582,"packet_length":961,"packet_hex":"504f5354202f5f6e6578742f73657276657220485454502f312e310d0a486f73..."} 
[2026-04-17 07:08:13] local.INFO: Processing buffer {"connection_id":45582,"buffer_length":961,"buffer_hex":"504f5354202f5f6e6578742f73657276657220485454502f312e310d0a486f73..."} 
[2026-04-17 07:08:13] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":45582,"buffer_length":961,"first_bytes_hex":"504f5354202f5f6e6578742f73657276"} 
[2026-04-17 07:08:15] local.INFO: TCP Data received {"connection_id":46402,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46402,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:08:15] local.INFO: Processing buffer {"connection_id":46402,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:08:15] local.INFO: IMEI packet received {"connection_id":46402,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":46402,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:08:17] local.INFO: TCP Data received {"connection_id":46402,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:08:17] local.INFO: Processing buffer {"connection_id":46402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99118ef0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:08:17] local.INFO: Packet analysis {"connection_id":46402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:08:17] local.INFO: Extracted packet for processing {"connection_id":46402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9911"} 
[2026-04-17 07:08:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:08:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755649792001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:08:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:08:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:08:17] 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-04-17 07:08:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776389558000,"timestamp_ms":1776389558000,"timestamp_seconds":1776389558,"priority":1,"record_length":96,"hex_timestamp":"0000019d99118ef0"} 
[2026-04-17 07:08:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:08:17] 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-04-17 07:08:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:08: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-04-17 07:08:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:08:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:08:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:08:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:08:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:08:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:08:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:08:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:08:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:08:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755649792001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:08:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:08:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:08:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755649792001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:08:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:08:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:08:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:08:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755649792001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:08:17] local.INFO: DEBUG: GPS processor result {"connection_id":46402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19741,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:08:17] local.INFO: GPS data processed {"connection_id":46402,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:08:17] local.INFO: Acknowledgment sent {"connection_id":46402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:08:18] local.INFO: TCP Data received {"connection_id":46402,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:08:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:08:18] local.INFO: Processing buffer {"connection_id":46402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:08:18] local.INFO: Packet analysis {"connection_id":46402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:08:18] local.INFO: Extracted packet for processing {"connection_id":46402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:08:18] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:08:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755726848001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:08:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:08:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:08:18] 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-04-17 07:08:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776389859000,"timestamp_ms":1776389859000,"timestamp_seconds":1776389859,"priority":1,"record_length":96,"hex_timestamp":"0000019d991626b8"} 
[2026-04-17 07:08:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:08:18] 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-04-17 07:08:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 07:08:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:08:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:08:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:08:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:08:18] local.INFO: Teltonika packet parsed successfully {"connection_id":46402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:08:18] local.INFO: Passing IMEI to GPS processor {"connection_id":46402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:08:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":46402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:08:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:08:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:08:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:08:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755726848001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:08:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:08:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:08:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755726848001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:08:18] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:08:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:08:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:08:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755726848001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:08:18] local.INFO: DEBUG: GPS processor result {"connection_id":46402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19742,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:08:18] local.INFO: GPS data processed {"connection_id":46402,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:08:18] local.INFO: Acknowledgment sent {"connection_id":46402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:08:25] local.INFO: TCP Data received {"connection_id":45583,"ip":"193.32.162.28","data_length":986,"data_hex":"504f5354202f61707020485454502f312e310d0a486f73743a2033372e32372e..."} 
[2026-04-17 07:08:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45583,"packet_length":986,"packet_hex":"504f5354202f61707020485454502f312e310d0a486f73743a2033372e32372e..."} 
[2026-04-17 07:08:25] local.INFO: Processing buffer {"connection_id":45583,"buffer_length":986,"buffer_hex":"504f5354202f61707020485454502f312e310d0a486f73743a2033372e32372e..."} 
[2026-04-17 07:08:25] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":45583,"buffer_length":986,"first_bytes_hex":"504f5354202f61707020485454502f31"} 
[2026-04-17 07:08:28] local.INFO: TCP Data received {"connection_id":45659,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:08:28] local.INFO: Processing buffer {"connection_id":45659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:08:28] local.INFO: Packet analysis {"connection_id":45659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:08:28] local.INFO: Extracted packet for processing {"connection_id":45659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:08:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755685632001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776389698000,"timestamp_ms":1776389698000,"timestamp_seconds":1776389698,"priority":1,"record_length":96,"hex_timestamp":"0000019d9913b1d0"} 
[2026-04-17 07:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45659,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755685632001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755685632001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:08:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:08:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755685632001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":45659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:08:28] local.INFO: GPS data processed {"connection_id":45659,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:08:28] local.INFO: Acknowledgment sent {"connection_id":45659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:08:37] local.INFO: TCP Data received {"connection_id":45844,"ip":"193.32.162.28","data_length":950,"data_hex":"504f5354202f6170692f726f75746520485454502f312e310d0a486f73743a20..."} 
[2026-04-17 07:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45844,"packet_length":950,"packet_hex":"504f5354202f6170692f726f75746520485454502f312e310d0a486f73743a20..."} 
[2026-04-17 07:08:37] local.INFO: Processing buffer {"connection_id":45844,"buffer_length":950,"buffer_hex":"504f5354202f6170692f726f75746520485454502f312e310d0a486f73743a20..."} 
[2026-04-17 07:08:37] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":45844,"buffer_length":950,"first_bytes_hex":"504f5354202f6170692f726f75746520"} 
[2026-04-17 07:08:50] local.INFO: TCP Data received {"connection_id":46402,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46402,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:08:50] local.INFO: Processing buffer {"connection_id":46402,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:08:50] local.INFO: Packet analysis {"connection_id":46402,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:08:50] local.INFO: Extracted packet for processing {"connection_id":46402,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:08:50] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:08:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755726848001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:08:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:08:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:08:50] 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-04-17 07:08:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776389859000,"timestamp_ms":1776389859000,"timestamp_seconds":1776389859,"priority":1,"record_length":96,"hex_timestamp":"0000019d991626b8"} 
[2026-04-17 07:08:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:08:50] 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-04-17 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 07:08:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:08:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:08:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:08:50] local.INFO: Teltonika packet parsed successfully {"connection_id":46402,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:08:50] local.INFO: Passing IMEI to GPS processor {"connection_id":46402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:08:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":46402,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:08:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:08:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:08:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:08:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755726848001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:08:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:08:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:08:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755726848001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:08:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:08:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:08:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:08:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755726848001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:08:50] local.INFO: DEBUG: GPS processor result {"connection_id":46402,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19744,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:08:50] local.INFO: GPS data processed {"connection_id":46402,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:08:50] local.INFO: Acknowledgment sent {"connection_id":46402,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:08:51] local.INFO: TCP Data received {"connection_id":45661,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:08:51] local.INFO: Processing buffer {"connection_id":45661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:08:51] local.INFO: IMEI packet received {"connection_id":45661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":45661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:08:56] local.INFO: TCP Data received {"connection_id":45661,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:08:56] local.INFO: Processing buffer {"connection_id":45661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:08:56] local.INFO: IMEI packet received {"connection_id":45661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":45661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:08:58] local.INFO: TCP Data received {"connection_id":45661,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:08:58] local.INFO: Processing buffer {"connection_id":45661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:08:58] local.INFO: Packet analysis {"connection_id":45661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:08:58] local.INFO: Extracted packet for processing {"connection_id":45661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:08:58] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 07:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755685632001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776389698000,"timestamp_ms":1776389698000,"timestamp_seconds":1776389698,"priority":1,"record_length":96,"hex_timestamp":"0000019d9913b1d0"} 
[2026-04-17 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-04-17 07:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 07:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755685632001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755685632001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:08:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:08:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755685632001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":45661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:08:58] local.INFO: GPS data processed {"connection_id":45661,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:08:58] local.INFO: Acknowledgment sent {"connection_id":45661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:09:05] local.INFO: TCP Data received {"connection_id":45584,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:09:05] local.INFO: Processing buffer {"connection_id":45584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:09:05] local.INFO: IMEI packet received {"connection_id":45584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":45584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:09:10] local.INFO: TCP Data received {"connection_id":45584,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45584,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:09:10] local.INFO: Processing buffer {"connection_id":45584,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:09:10] local.INFO: IMEI packet received {"connection_id":45584,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":45584,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:09:12] local.INFO: TCP Data received {"connection_id":45584,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:09:12] local.INFO: Processing buffer {"connection_id":45584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:09:12] local.INFO: Packet analysis {"connection_id":45584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:09:12] local.INFO: Extracted packet for processing {"connection_id":45584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:09:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755726848001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:09:12] 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-04-17 07:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776389859000,"timestamp_ms":1776389859000,"timestamp_seconds":1776389859,"priority":1,"record_length":96,"hex_timestamp":"0000019d991626b8"} 
[2026-04-17 07:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:09: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-04-17 07:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 07:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755726848001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755726848001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:09:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755726848001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":45584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19746,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:09:12] local.INFO: GPS data processed {"connection_id":45584,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:09:12] local.INFO: Acknowledgment sent {"connection_id":45584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:09:35] local.INFO: TCP Data received {"connection_id":45661,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:09:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:09:35] local.INFO: Processing buffer {"connection_id":45661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:09:35] local.INFO: Packet analysis {"connection_id":45661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:09:35] local.INFO: Extracted packet for processing {"connection_id":45661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:09:35] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:09:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755685632001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:09:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:09:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:09:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:09:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776389698000,"timestamp_ms":1776389698000,"timestamp_seconds":1776389698,"priority":1,"record_length":96,"hex_timestamp":"0000019d9913b1d0"} 
[2026-04-17 07:09:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:09:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:09: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-04-17 07: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-04-17 07:09:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:09:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:09:35] local.INFO: Teltonika packet parsed successfully {"connection_id":45661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:09:35] local.INFO: Passing IMEI to GPS processor {"connection_id":45661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:09:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":45661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:09:35] 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-04-17 07:09:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:09:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:09:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755685632001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:09:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:09:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:09:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755685632001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:09:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:09:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:09:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:09:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:09:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755685632001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:09:35] local.INFO: DEBUG: GPS processor result {"connection_id":45661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:09:35] local.INFO: GPS data processed {"connection_id":45661,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:09:35] local.INFO: Acknowledgment sent {"connection_id":45661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:09:44] local.INFO: TCP Data received {"connection_id":45584,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:09:44] local.INFO: Processing buffer {"connection_id":45584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:09:44] local.INFO: Packet analysis {"connection_id":45584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:09:44] local.INFO: Extracted packet for processing {"connection_id":45584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:09:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755726848001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:09:44] 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-04-17 07:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776389859000,"timestamp_ms":1776389859000,"timestamp_seconds":1776389859,"priority":1,"record_length":96,"hex_timestamp":"0000019d991626b8"} 
[2026-04-17 07:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:09:44] 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-04-17 07:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 07:09: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-04-17 07:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45584,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755726848001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755726848001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:09:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755726848001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":45584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19748,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:09:44] local.INFO: GPS data processed {"connection_id":45584,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:09:44] local.INFO: Acknowledgment sent {"connection_id":45584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:09:51] local.INFO: TCP Data received {"connection_id":45845,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:09:51] local.INFO: Processing buffer {"connection_id":45845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:09:51] local.INFO: IMEI packet received {"connection_id":45845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":45845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:09:56] local.INFO: TCP Data received {"connection_id":45845,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:09:56] local.INFO: Processing buffer {"connection_id":45845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:09:56] local.INFO: IMEI packet received {"connection_id":45845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":45845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:09:58] local.INFO: TCP Data received {"connection_id":45845,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:09:58] local.INFO: Processing buffer {"connection_id":45845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:09:58] local.INFO: Packet analysis {"connection_id":45845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:09:58] local.INFO: Extracted packet for processing {"connection_id":45845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 07:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755685632001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776389698000,"timestamp_ms":1776389698000,"timestamp_seconds":1776389698,"priority":1,"record_length":96,"hex_timestamp":"0000019d9913b1d0"} 
[2026-04-17 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-04-17 07:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 07:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755685632001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755685632001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:09:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:09:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755685632001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":45845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:09:58] local.INFO: GPS data processed {"connection_id":45845,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:09:58] local.INFO: Acknowledgment sent {"connection_id":45845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:10:05] local.INFO: TCP Data received {"connection_id":46403,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46403,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:10:05] local.INFO: Processing buffer {"connection_id":46403,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:10:05] local.INFO: IMEI packet received {"connection_id":46403,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":46403,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:10:10] local.INFO: TCP Data received {"connection_id":46403,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46403,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:10:10] local.INFO: Processing buffer {"connection_id":46403,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:10:10] local.INFO: IMEI packet received {"connection_id":46403,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":46403,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:10:12] local.INFO: TCP Data received {"connection_id":46403,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:10:12] local.INFO: Processing buffer {"connection_id":46403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:10:12] local.INFO: Packet analysis {"connection_id":46403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:10:12] local.INFO: Extracted packet for processing {"connection_id":46403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:10:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755726848001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:10:12] 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-04-17 07:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776389859000,"timestamp_ms":1776389859000,"timestamp_seconds":1776389859,"priority":1,"record_length":96,"hex_timestamp":"0000019d991626b8"} 
[2026-04-17 07:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:10: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-04-17 07:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 07:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755726848001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755726848001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:10:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755726848001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":46403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:10:12] local.INFO: GPS data processed {"connection_id":46403,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:10:12] local.INFO: Acknowledgment sent {"connection_id":46403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:10:29] local.INFO: TCP Data received {"connection_id":45845,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:10:29] local.INFO: Processing buffer {"connection_id":45845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9913b1d0012d7fad4005afe350000000942d..."} 
[2026-04-17 07:10:29] local.INFO: Packet analysis {"connection_id":45845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:10:29] local.INFO: Extracted packet for processing {"connection_id":45845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9913"} 
[2026-04-17 07:10:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 07:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755685632001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776389698000,"timestamp_ms":1776389698000,"timestamp_seconds":1776389698,"priority":1,"record_length":96,"hex_timestamp":"0000019d9913b1d0"} 
[2026-04-17 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-04-17 07:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:10:29] 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-04-17 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-04-17 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-04-17 07:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:10: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-04-17 07:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755685632001,"66":25625,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755685632001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:10:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:10:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755685632001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":45845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:10:29] local.INFO: GPS data processed {"connection_id":45845,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:10:29] local.INFO: Acknowledgment sent {"connection_id":45845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:10:44] local.INFO: TCP Data received {"connection_id":46403,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:10:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:10:44] local.INFO: Processing buffer {"connection_id":46403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:10:44] local.INFO: Packet analysis {"connection_id":46403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:10:44] local.INFO: Extracted packet for processing {"connection_id":46403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:10:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:10:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755726848001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:10:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:10:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:10:44] 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-04-17 07:10:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776389859000,"timestamp_ms":1776389859000,"timestamp_seconds":1776389859,"priority":1,"record_length":96,"hex_timestamp":"0000019d991626b8"} 
[2026-04-17 07:10:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:10:44] 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-04-17 07:10:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 07:10: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-04-17 07: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-04-17 07:10:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:10:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:10:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:10:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:10:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46403,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:10:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:10:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:10:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:10:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755726848001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:10:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:10:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:10:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755726848001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:10:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:10:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:10:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:10:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755726848001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:10:44] local.INFO: DEBUG: GPS processor result {"connection_id":46403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19752,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:10:44] local.INFO: GPS data processed {"connection_id":46403,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:10:44] local.INFO: Acknowledgment sent {"connection_id":46403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:10:56] local.INFO: TCP Data received {"connection_id":45662,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:10:56] local.INFO: Processing buffer {"connection_id":45662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:10:56] local.INFO: IMEI packet received {"connection_id":45662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":45662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:11:02] local.INFO: TCP Data received {"connection_id":45662,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45662,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:11:02] local.INFO: Processing buffer {"connection_id":45662,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:11:02] local.INFO: IMEI packet received {"connection_id":45662,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:11:02] local.INFO: IMEI acknowledgment sent {"connection_id":45662,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:11:03] local.INFO: TCP Data received {"connection_id":45662,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:11:03] local.INFO: Processing buffer {"connection_id":45662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:11:03] local.INFO: Packet analysis {"connection_id":45662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:11:03] local.INFO: Extracted packet for processing {"connection_id":45662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:11:03] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 07:11:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755762688001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:11:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:11:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:11:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:11:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776389999000,"timestamp_ms":1776389999000,"timestamp_seconds":1776389999,"priority":1,"record_length":96,"hex_timestamp":"0000019d99184998"} 
[2026-04-17 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-04-17 07:11:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:11:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 07:11:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:11:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:11:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:11:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:11:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:11:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:11:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:11:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755762688001,"66":25582,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:11:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:11:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:11:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755762688001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:11:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:11:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:11:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:11:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:11:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755762688001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:11:03] local.INFO: DEBUG: GPS processor result {"connection_id":45662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:11:03] local.INFO: GPS data processed {"connection_id":45662,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:11:03] local.INFO: Acknowledgment sent {"connection_id":45662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:11:07] local.INFO: TCP Data received {"connection_id":45662,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:11:07] local.INFO: Processing buffer {"connection_id":45662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:11:07] local.INFO: Packet analysis {"connection_id":45662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:11:07] local.INFO: Extracted packet for processing {"connection_id":45662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755762688001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776389999000,"timestamp_ms":1776389999000,"timestamp_seconds":1776389999,"priority":1,"record_length":96,"hex_timestamp":"0000019d99184998"} 
[2026-04-17 07:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:11:07] 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-04-17 07: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-04-17 07:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45662,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:11:07] 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-04-17 07:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755762688001,"66":25582,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755762688001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:11:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755762688001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":45662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:11:07] local.INFO: GPS data processed {"connection_id":45662,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:11:07] local.INFO: Acknowledgment sent {"connection_id":45662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:11:10] local.INFO: TCP Data received {"connection_id":46404,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:11:10] local.INFO: Processing buffer {"connection_id":46404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:11:10] local.INFO: IMEI packet received {"connection_id":46404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":46404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:11:15] local.INFO: TCP Data received {"connection_id":46404,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46404,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:11:15] local.INFO: Processing buffer {"connection_id":46404,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:11:15] local.INFO: IMEI packet received {"connection_id":46404,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":46404,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:11:17] local.INFO: TCP Data received {"connection_id":46404,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:11:17] local.INFO: Processing buffer {"connection_id":46404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:11:17] local.INFO: Packet analysis {"connection_id":46404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:11:17] local.INFO: Extracted packet for processing {"connection_id":46404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:11:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755726848001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:11:17] 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-04-17 07:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776389859000,"timestamp_ms":1776389859000,"timestamp_seconds":1776389859,"priority":1,"record_length":96,"hex_timestamp":"0000019d991626b8"} 
[2026-04-17 07:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:11:17] 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-04-17 07:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 07:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755726848001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755726848001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:11:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755726848001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":46404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19755,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:11:17] local.INFO: GPS data processed {"connection_id":46404,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:11:17] local.INFO: Acknowledgment sent {"connection_id":46404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:11:50] local.INFO: TCP Data received {"connection_id":46404,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:11:50] local.INFO: Processing buffer {"connection_id":46404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:11:50] local.INFO: Packet analysis {"connection_id":46404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:11:50] local.INFO: Extracted packet for processing {"connection_id":46404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:11:50] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:11:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755726848001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:11:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:11:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:11:50] 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-04-17 07:11:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776389859000,"timestamp_ms":1776389859000,"timestamp_seconds":1776389859,"priority":1,"record_length":96,"hex_timestamp":"0000019d991626b8"} 
[2026-04-17 07:11:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:11:50] 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-04-17 07:11:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 07:11:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:11:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:11:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:11:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:11:50] local.INFO: Teltonika packet parsed successfully {"connection_id":46404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:11:50] local.INFO: Passing IMEI to GPS processor {"connection_id":46404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:11:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":46404,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:11:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:11:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:11:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:11:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755726848001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:11:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:11:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:11:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755726848001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:11:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:11:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:11:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:11:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755726848001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:11:50] local.INFO: DEBUG: GPS processor result {"connection_id":46404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19756,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:11:50] local.INFO: GPS data processed {"connection_id":46404,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:11:50] local.INFO: Acknowledgment sent {"connection_id":46404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:11:51] local.INFO: TCP Data received {"connection_id":45663,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:11:51] local.INFO: Processing buffer {"connection_id":45663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:11:51] local.INFO: IMEI packet received {"connection_id":45663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":45663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:11:56] local.INFO: TCP Data received {"connection_id":45663,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:11:56] local.INFO: Processing buffer {"connection_id":45663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:11:56] local.INFO: IMEI packet received {"connection_id":45663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":45663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:11:57] local.INFO: TCP Data received {"connection_id":45663,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:11:57] local.INFO: Processing buffer {"connection_id":45663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:11:57] local.INFO: Packet analysis {"connection_id":45663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:11:57] local.INFO: Extracted packet for processing {"connection_id":45663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:11:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755762688001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776389999000,"timestamp_ms":1776389999000,"timestamp_seconds":1776389999,"priority":1,"record_length":96,"hex_timestamp":"0000019d99184998"} 
[2026-04-17 07:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755762688001,"66":25582,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755762688001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:11:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:11:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755762688001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":45663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:11:57] local.INFO: GPS data processed {"connection_id":45663,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:11:57] local.INFO: Acknowledgment sent {"connection_id":45663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:12:05] local.INFO: TCP Data received {"connection_id":46405,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:12:05] local.INFO: Processing buffer {"connection_id":46405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:12:05] local.INFO: IMEI packet received {"connection_id":46405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":46405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:12:10] local.INFO: TCP Data received {"connection_id":46405,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:12:10] local.INFO: Processing buffer {"connection_id":46405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:12:10] local.INFO: IMEI packet received {"connection_id":46405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":46405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:12:12] local.INFO: TCP Data received {"connection_id":46405,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:12:12] local.INFO: Processing buffer {"connection_id":46405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:12:12] local.INFO: Packet analysis {"connection_id":46405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:12:12] local.INFO: Extracted packet for processing {"connection_id":46405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:12:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755726848001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:12:12] 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-04-17 07:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776389859000,"timestamp_ms":1776389859000,"timestamp_seconds":1776389859,"priority":1,"record_length":96,"hex_timestamp":"0000019d991626b8"} 
[2026-04-17 07:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:12: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-04-17 07:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 07:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755726848001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755726848001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:12:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755726848001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":46405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19758,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:12:12] local.INFO: GPS data processed {"connection_id":46405,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:12:12] local.INFO: Acknowledgment sent {"connection_id":46405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:12:28] local.INFO: TCP Data received {"connection_id":45663,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:12:28] local.INFO: Processing buffer {"connection_id":45663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:12:28] local.INFO: Packet analysis {"connection_id":45663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:12:28] local.INFO: Extracted packet for processing {"connection_id":45663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:12:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755762688001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776389999000,"timestamp_ms":1776389999000,"timestamp_seconds":1776389999,"priority":1,"record_length":96,"hex_timestamp":"0000019d99184998"} 
[2026-04-17 07:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:12:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:12:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755762688001,"66":25582,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755762688001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:12:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:12:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755762688001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":45663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:12:28] local.INFO: GPS data processed {"connection_id":45663,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:12:28] local.INFO: Acknowledgment sent {"connection_id":45663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:12:43] local.INFO: TCP Data received {"connection_id":46405,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:12:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46405,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:12:43] local.INFO: Processing buffer {"connection_id":46405,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:12:43] local.INFO: Packet analysis {"connection_id":46405,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:12:43] local.INFO: Extracted packet for processing {"connection_id":46405,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:12:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:12:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755726848001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:12:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:12:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:12:43] 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-04-17 07:12:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776389859000,"timestamp_ms":1776389859000,"timestamp_seconds":1776389859,"priority":1,"record_length":96,"hex_timestamp":"0000019d991626b8"} 
[2026-04-17 07:12:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:12:43] 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-04-17 07: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 07:12:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:12:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:12:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:12:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46405,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:12:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:12:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46405,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:12:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:12:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:12:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:12:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755726848001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:12:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:12:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:12:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755726848001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:12:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:12:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:12:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:12:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755726848001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:12:44] local.INFO: DEBUG: GPS processor result {"connection_id":46405,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19760,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:12:44] local.INFO: GPS data processed {"connection_id":46405,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:12:44] local.INFO: Acknowledgment sent {"connection_id":46405,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:12:51] local.INFO: TCP Data received {"connection_id":45664,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:12:51] local.INFO: Processing buffer {"connection_id":45664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:12:51] local.INFO: IMEI packet received {"connection_id":45664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":45664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:12:56] local.INFO: TCP Data received {"connection_id":45664,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:12:56] local.INFO: Processing buffer {"connection_id":45664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:12:56] local.INFO: IMEI packet received {"connection_id":45664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":45664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:12:57] local.INFO: TCP Data received {"connection_id":45664,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:12:57] local.INFO: Processing buffer {"connection_id":45664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:12:57] local.INFO: Packet analysis {"connection_id":45664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:12:57] local.INFO: Extracted packet for processing {"connection_id":45664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755762688001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776389999000,"timestamp_ms":1776389999000,"timestamp_seconds":1776389999,"priority":1,"record_length":96,"hex_timestamp":"0000019d99184998"} 
[2026-04-17 07:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755762688001,"66":25582,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755762688001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:12:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755762688001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":45664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:12:57] local.INFO: GPS data processed {"connection_id":45664,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:12:57] local.INFO: Acknowledgment sent {"connection_id":45664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:13:05] local.INFO: TCP Data received {"connection_id":45846,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:13:05] local.INFO: Processing buffer {"connection_id":45846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:13:05] local.INFO: IMEI packet received {"connection_id":45846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":45846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:13:11] local.INFO: TCP Data received {"connection_id":45846,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:13:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:13:11] local.INFO: Processing buffer {"connection_id":45846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:13:11] local.INFO: IMEI packet received {"connection_id":45846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:13:11] local.INFO: IMEI acknowledgment sent {"connection_id":45846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:13:13] local.INFO: TCP Data received {"connection_id":45846,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:13:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:13:13] local.INFO: Processing buffer {"connection_id":45846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991626b8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:13:13] local.INFO: Packet analysis {"connection_id":45846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:13:13] local.INFO: Extracted packet for processing {"connection_id":45846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9916"} 
[2026-04-17 07:13:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:13:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755726848001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:13:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:13:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:13:13] 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-04-17 07:13:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776389859000,"timestamp_ms":1776389859000,"timestamp_seconds":1776389859,"priority":1,"record_length":96,"hex_timestamp":"0000019d991626b8"} 
[2026-04-17 07:13:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:13:13] 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-04-17 07:13:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 07:13:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:13:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:13:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:13:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:13:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:13:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:13:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:13:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:13:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:13:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:13:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755726848001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:13:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:13:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:13:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755726848001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:13:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:13:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:13:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:13:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755726848001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:13:13] local.INFO: DEBUG: GPS processor result {"connection_id":45846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19762,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:13:13] local.INFO: GPS data processed {"connection_id":45846,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:13:13] local.INFO: Acknowledgment sent {"connection_id":45846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:13:29] local.INFO: TCP Data received {"connection_id":45664,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:13:29] local.INFO: Processing buffer {"connection_id":45664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:13:29] local.INFO: Packet analysis {"connection_id":45664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:13:29] local.INFO: Extracted packet for processing {"connection_id":45664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:13:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755762688001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776389999000,"timestamp_ms":1776389999000,"timestamp_seconds":1776389999,"priority":1,"record_length":96,"hex_timestamp":"0000019d99184998"} 
[2026-04-17 07:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:13:29] 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-04-17 07: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-04-17 07:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:13: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-04-17 07:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755762688001,"66":25582,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755762688001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:13:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:13:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755762688001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":45664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:13:29] local.INFO: GPS data processed {"connection_id":45664,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:13:29] local.INFO: Acknowledgment sent {"connection_id":45664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:13:44] local.INFO: TCP Data received {"connection_id":45846,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:13:44] local.INFO: Processing buffer {"connection_id":45846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:13:44] local.INFO: Packet analysis {"connection_id":45846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991a"} 
[2026-04-17 07:13:44] local.INFO: Extracted packet for processing {"connection_id":45846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991a"} 
[2026-04-17 07:13:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755803904001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:13:44] 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-04-17 07:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776390160000,"timestamp_ms":1776390160000,"timestamp_seconds":1776390160,"priority":1,"record_length":96,"hex_timestamp":"0000019d991abe80"} 
[2026-04-17 07:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:13:44] 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-04-17 07: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:13: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-04-17 07: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-04-17 07:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755803904001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755803904001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:13:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755803904001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:13:45] local.INFO: DEBUG: GPS processor result {"connection_id":45846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19764,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:13:45] local.INFO: GPS data processed {"connection_id":45846,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:13:45] local.INFO: Acknowledgment sent {"connection_id":45846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:13:51] local.INFO: TCP Data received {"connection_id":45665,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:13:51] local.INFO: Processing buffer {"connection_id":45665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:13:51] local.INFO: IMEI packet received {"connection_id":45665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":45665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:13:56] local.INFO: TCP Data received {"connection_id":45665,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:13:56] local.INFO: Processing buffer {"connection_id":45665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:13:56] local.INFO: IMEI packet received {"connection_id":45665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":45665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:13:57] local.INFO: TCP Data received {"connection_id":45665,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:13:57] local.INFO: Processing buffer {"connection_id":45665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:13:57] local.INFO: Packet analysis {"connection_id":45665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:13:57] local.INFO: Extracted packet for processing {"connection_id":45665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:13:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755762688001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776389999000,"timestamp_ms":1776389999000,"timestamp_seconds":1776389999,"priority":1,"record_length":96,"hex_timestamp":"0000019d99184998"} 
[2026-04-17 07:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755762688001,"66":25582,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755762688001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:13:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:13:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755762688001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":45665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:13:57] local.INFO: GPS data processed {"connection_id":45665,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:13:57] local.INFO: Acknowledgment sent {"connection_id":45665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:14:12] local.INFO: TCP Data received {"connection_id":46406,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:14:12] local.INFO: Processing buffer {"connection_id":46406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:14:12] local.INFO: IMEI packet received {"connection_id":46406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:14:12] local.INFO: IMEI acknowledgment sent {"connection_id":46406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:14:28] local.INFO: TCP Data received {"connection_id":45665,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:14:28] local.INFO: Processing buffer {"connection_id":45665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:14:28] local.INFO: Packet analysis {"connection_id":45665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:14:28] local.INFO: Extracted packet for processing {"connection_id":45665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:14:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755762688001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776389999000,"timestamp_ms":1776389999000,"timestamp_seconds":1776389999,"priority":1,"record_length":96,"hex_timestamp":"0000019d99184998"} 
[2026-04-17 07:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755762688001,"66":25582,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755762688001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:14:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:14:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755762688001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":45665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:14:28] local.INFO: GPS data processed {"connection_id":45665,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:14:28] local.INFO: Acknowledgment sent {"connection_id":45665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:14:36] local.INFO: TCP Data received {"connection_id":46406,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46406,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:14:36] local.INFO: Processing buffer {"connection_id":46406,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:14:36] local.INFO: IMEI packet received {"connection_id":46406,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:14:36] local.INFO: IMEI acknowledgment sent {"connection_id":46406,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:14:38] local.INFO: TCP Data received {"connection_id":46406,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:14:38] local.INFO: Processing buffer {"connection_id":46406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:14:38] local.INFO: Packet analysis {"connection_id":46406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991a"} 
[2026-04-17 07:14:38] local.INFO: Extracted packet for processing {"connection_id":46406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991a"} 
[2026-04-17 07:14:38] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 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-04-17 07:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755803904001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:14:38] 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-04-17 07:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776390160000,"timestamp_ms":1776390160000,"timestamp_seconds":1776390160,"priority":1,"record_length":96,"hex_timestamp":"0000019d991abe80"} 
[2026-04-17 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-04-17 07:14:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 07:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":46406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":46406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":46406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:14:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755803904001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:14:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:14:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:14:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755803904001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:14:38] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:14:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:14:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:14:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755803904001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":46406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19767,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:14:38] local.INFO: GPS data processed {"connection_id":46406,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:14:38] local.INFO: Acknowledgment sent {"connection_id":46406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:14:39] local.INFO: TCP Data received {"connection_id":46406,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:14:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:14:39] local.INFO: Processing buffer {"connection_id":46406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:14:39] local.INFO: Packet analysis {"connection_id":46406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991a"} 
[2026-04-17 07:14:39] local.INFO: Extracted packet for processing {"connection_id":46406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991a"} 
[2026-04-17 07:14:39] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:14:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755803904001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:14:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:14:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:14: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-04-17 07:14:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776390160000,"timestamp_ms":1776390160000,"timestamp_seconds":1776390160,"priority":1,"record_length":96,"hex_timestamp":"0000019d991abe80"} 
[2026-04-17 07:14:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:14:39] 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-04-17 07: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-04-17 07: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-04-17 07: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-04-17 07:14:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:14:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:14:39] local.INFO: Teltonika packet parsed successfully {"connection_id":46406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:14:39] local.INFO: Passing IMEI to GPS processor {"connection_id":46406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:14:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":46406,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:14:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:14:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:14:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:14:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755803904001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:14:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:14:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:14:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755803904001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:14:39] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:14:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:14:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:14:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755803904001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:14:39] local.INFO: DEBUG: GPS processor result {"connection_id":46406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19768,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:14:39] local.INFO: GPS data processed {"connection_id":46406,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:14:39] local.INFO: Acknowledgment sent {"connection_id":46406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:14:51] local.INFO: TCP Data received {"connection_id":46407,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:14:51] local.INFO: Processing buffer {"connection_id":46407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:14:51] local.INFO: IMEI packet received {"connection_id":46407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":46407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:14:56] local.INFO: TCP Data received {"connection_id":46407,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46407,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:14:56] local.INFO: Processing buffer {"connection_id":46407,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:14:56] local.INFO: IMEI packet received {"connection_id":46407,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":46407,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:14:57] local.INFO: TCP Data received {"connection_id":46407,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:14:57] local.INFO: Processing buffer {"connection_id":46407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:14:57] local.INFO: Packet analysis {"connection_id":46407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:14:57] local.INFO: Extracted packet for processing {"connection_id":46407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:14:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755762688001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776389999000,"timestamp_ms":1776389999000,"timestamp_seconds":1776389999,"priority":1,"record_length":96,"hex_timestamp":"0000019d99184998"} 
[2026-04-17 07:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755762688001,"66":25582,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755762688001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:14:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:14:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755762688001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":46407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:14:57] local.INFO: GPS data processed {"connection_id":46407,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:14:57] local.INFO: Acknowledgment sent {"connection_id":46407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:15:10] local.INFO: TCP Data received {"connection_id":46408,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:15:10] local.INFO: Processing buffer {"connection_id":46408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:15:10] local.INFO: IMEI packet received {"connection_id":46408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":46408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:15:19] local.INFO: TCP Data received {"connection_id":46408,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46408,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:15:19] local.INFO: Processing buffer {"connection_id":46408,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:15:19] local.INFO: IMEI packet received {"connection_id":46408,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":46408,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:15:20] local.INFO: TCP Data received {"connection_id":46408,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:15:20] local.INFO: Processing buffer {"connection_id":46408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:15:20] local.INFO: Packet analysis {"connection_id":46408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991a"} 
[2026-04-17 07:15:20] local.INFO: Extracted packet for processing {"connection_id":46408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991a"} 
[2026-04-17 07:15:20] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755803904001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:15:20] 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-04-17 07:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776390160000,"timestamp_ms":1776390160000,"timestamp_seconds":1776390160,"priority":1,"record_length":96,"hex_timestamp":"0000019d991abe80"} 
[2026-04-17 07:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:15:20] 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-04-17 07:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:15:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":46408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":46408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":46408,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755803904001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755803904001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:15:20] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755803904001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":46408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19770,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:15:20] local.INFO: GPS data processed {"connection_id":46408,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:15:20] local.INFO: Acknowledgment sent {"connection_id":46408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:15:28] local.INFO: TCP Data received {"connection_id":46407,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:15:28] local.INFO: Processing buffer {"connection_id":46407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99184998012d7fad4005afe350000000942e..."} 
[2026-04-17 07:15:28] local.INFO: Packet analysis {"connection_id":46407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:15:28] local.INFO: Extracted packet for processing {"connection_id":46407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9918"} 
[2026-04-17 07:15:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755762688001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776389999000,"timestamp_ms":1776389999000,"timestamp_seconds":1776389999,"priority":1,"record_length":96,"hex_timestamp":"0000019d99184998"} 
[2026-04-17 07:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 07:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46407,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755762688001,"66":25582,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755762688001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:15:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755762688001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":46407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:15:28] local.INFO: GPS data processed {"connection_id":46407,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:15:28] local.INFO: Acknowledgment sent {"connection_id":46407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:15:56] local.INFO: TCP Data received {"connection_id":45847,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:15:56] local.INFO: Processing buffer {"connection_id":45847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:15:56] local.INFO: IMEI packet received {"connection_id":45847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":45847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:16:01] local.INFO: TCP Data received {"connection_id":45847,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:16:01] local.INFO: Processing buffer {"connection_id":45847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:16:01] local.INFO: IMEI packet received {"connection_id":45847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":45847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:16:02] local.INFO: TCP Data received {"connection_id":45847,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:16:02] local.INFO: Processing buffer {"connection_id":45847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:16:02] local.INFO: Packet analysis {"connection_id":45847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:16:02] local.INFO: Extracted packet for processing {"connection_id":45847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:16:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755839744001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776390300000,"timestamp_ms":1776390300000,"timestamp_seconds":1776390300,"priority":1,"record_length":96,"hex_timestamp":"0000019d991ce160"} 
[2026-04-17 07:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 07:16:02] 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-04-17 07: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-04-17 07:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755839744001,"66":25495,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755839744001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:16:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:16:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755839744001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":45847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:16:02] local.INFO: GPS data processed {"connection_id":45847,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:16:02] local.INFO: Acknowledgment sent {"connection_id":45847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:16:07] local.INFO: TCP Data received {"connection_id":45847,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:16:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:16:07] local.INFO: Processing buffer {"connection_id":45847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:16:07] local.INFO: Packet analysis {"connection_id":45847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:16:07] local.INFO: Extracted packet for processing {"connection_id":45847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:16:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:16:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755839744001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:16:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:16:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:16:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:16:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776390300000,"timestamp_ms":1776390300000,"timestamp_seconds":1776390300,"priority":1,"record_length":96,"hex_timestamp":"0000019d991ce160"} 
[2026-04-17 07:16:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:16:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 07:16:07] 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-04-17 07: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-04-17 07:16:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:16:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:16:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:16:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:16:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:16:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:16:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:16:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:16:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755839744001,"66":25495,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:16:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:16:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:16:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755839744001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:16:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:16:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:16:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:16:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:16:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755839744001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:16:07] local.INFO: DEBUG: GPS processor result {"connection_id":45847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:16:07] local.INFO: GPS data processed {"connection_id":45847,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:16:07] local.INFO: Acknowledgment sent {"connection_id":45847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:16:10] local.INFO: TCP Data received {"connection_id":46409,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:16:10] local.INFO: Processing buffer {"connection_id":46409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:16:10] local.INFO: IMEI packet received {"connection_id":46409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":46409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:16:18] local.INFO: TCP Data received {"connection_id":46409,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:16:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46409,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:16:18] local.INFO: Processing buffer {"connection_id":46409,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:16:18] local.INFO: IMEI packet received {"connection_id":46409,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:16:18] local.INFO: IMEI acknowledgment sent {"connection_id":46409,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:16:19] local.INFO: TCP Data received {"connection_id":46409,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:16:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:16:19] local.INFO: Processing buffer {"connection_id":46409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:16:19] local.INFO: Packet analysis {"connection_id":46409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991a"} 
[2026-04-17 07:16:19] local.INFO: Extracted packet for processing {"connection_id":46409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991a"} 
[2026-04-17 07:16:19] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:16:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755803904001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:16:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:16:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:16:19] 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-04-17 07:16:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776390160000,"timestamp_ms":1776390160000,"timestamp_seconds":1776390160,"priority":1,"record_length":96,"hex_timestamp":"0000019d991abe80"} 
[2026-04-17 07:16:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:16:19] 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-04-17 07:16:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:16:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:16:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:16:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:16:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:16:19] local.INFO: Teltonika packet parsed successfully {"connection_id":46409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:16:19] local.INFO: Passing IMEI to GPS processor {"connection_id":46409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:16:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":46409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:16:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:16:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:16:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:16:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755803904001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:16:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:16:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:16:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755803904001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:16:19] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:16:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:16:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:16:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755803904001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:16:19] local.INFO: DEBUG: GPS processor result {"connection_id":46409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19774,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:16:19] local.INFO: GPS data processed {"connection_id":46409,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:16:19] local.INFO: Acknowledgment sent {"connection_id":46409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:16:51] local.INFO: TCP Data received {"connection_id":45666,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:16:51] local.INFO: Processing buffer {"connection_id":45666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:16:51] local.INFO: IMEI packet received {"connection_id":45666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":45666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:16:53] local.INFO: TCP Data received {"connection_id":46409,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:16:53] local.INFO: Processing buffer {"connection_id":46409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:16:53] local.INFO: Packet analysis {"connection_id":46409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991a"} 
[2026-04-17 07:16:53] local.INFO: Extracted packet for processing {"connection_id":46409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991a"} 
[2026-04-17 07:16:53] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:16:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755803904001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:16:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:16:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:16:53] 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-04-17 07:16:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776390160000,"timestamp_ms":1776390160000,"timestamp_seconds":1776390160,"priority":1,"record_length":96,"hex_timestamp":"0000019d991abe80"} 
[2026-04-17 07:16:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:16:53] 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-04-17 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:16: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-04-17 07: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-04-17 07:16:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:16:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:16:53] local.INFO: Teltonika packet parsed successfully {"connection_id":46409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:16:53] local.INFO: Passing IMEI to GPS processor {"connection_id":46409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:16:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":46409,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:16:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:16:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:16:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:16:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755803904001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:16:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:16:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:16:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755803904001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:16:53] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:16:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:16:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:16:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755803904001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:16:53] local.INFO: DEBUG: GPS processor result {"connection_id":46409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19775,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:16:53] local.INFO: GPS data processed {"connection_id":46409,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:16:53] local.INFO: Acknowledgment sent {"connection_id":46409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:16:56] local.INFO: TCP Data received {"connection_id":45666,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:16:56] local.INFO: Processing buffer {"connection_id":45666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:16:56] local.INFO: IMEI packet received {"connection_id":45666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":45666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:16:57] local.INFO: TCP Data received {"connection_id":45666,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:16:57] local.INFO: Processing buffer {"connection_id":45666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:16:57] local.INFO: Packet analysis {"connection_id":45666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:16:57] local.INFO: Extracted packet for processing {"connection_id":45666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:16:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755839744001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776390300000,"timestamp_ms":1776390300000,"timestamp_seconds":1776390300,"priority":1,"record_length":96,"hex_timestamp":"0000019d991ce160"} 
[2026-04-17 07:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 07:16:57] 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-04-17 07:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:16:57] 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-04-17 07:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755839744001,"66":25495,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755839744001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:16:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:16:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755839744001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":45666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:16:57] local.INFO: GPS data processed {"connection_id":45666,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:16:57] local.INFO: Acknowledgment sent {"connection_id":45666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:17:05] local.INFO: TCP Data received {"connection_id":45667,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:17:05] local.INFO: Processing buffer {"connection_id":45667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:17:05] local.INFO: IMEI packet received {"connection_id":45667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":45667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:17:12] local.INFO: TCP Data received {"connection_id":45667,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:17:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:17:12] local.INFO: Processing buffer {"connection_id":45667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:17:12] local.INFO: IMEI packet received {"connection_id":45667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:17:12] local.INFO: IMEI acknowledgment sent {"connection_id":45667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:17:13] local.INFO: TCP Data received {"connection_id":45667,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:17:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:17:13] local.INFO: Processing buffer {"connection_id":45667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:17:13] local.INFO: Packet analysis {"connection_id":45667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991a"} 
[2026-04-17 07:17:13] local.INFO: Extracted packet for processing {"connection_id":45667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991a"} 
[2026-04-17 07:17:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:17:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755803904001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:17:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:17:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:17:13] 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-04-17 07:17:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776390160000,"timestamp_ms":1776390160000,"timestamp_seconds":1776390160,"priority":1,"record_length":96,"hex_timestamp":"0000019d991abe80"} 
[2026-04-17 07:17:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:17:13] 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-04-17 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:17:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:17:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:17:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:17:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:17:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:17:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:17:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:17:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:17:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:17:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755803904001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:17:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:17:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:17:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755803904001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:17:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:17:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:17:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:17:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755803904001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:17:13] local.INFO: DEBUG: GPS processor result {"connection_id":45667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19777,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:17:13] local.INFO: GPS data processed {"connection_id":45667,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:17:13] local.INFO: Acknowledgment sent {"connection_id":45667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:17:28] local.INFO: TCP Data received {"connection_id":45666,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:17:28] local.INFO: Processing buffer {"connection_id":45666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:17:28] local.INFO: Packet analysis {"connection_id":45666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:17:28] local.INFO: Extracted packet for processing {"connection_id":45666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:17:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755839744001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776390300000,"timestamp_ms":1776390300000,"timestamp_seconds":1776390300,"priority":1,"record_length":96,"hex_timestamp":"0000019d991ce160"} 
[2026-04-17 07:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 07:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:17:28] 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-04-17 07:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755839744001,"66":25495,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755839744001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:17:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:17:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755839744001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":45666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:17:28] local.INFO: GPS data processed {"connection_id":45666,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:17:28] local.INFO: Acknowledgment sent {"connection_id":45666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:17:45] local.INFO: TCP Data received {"connection_id":45667,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:17:45] local.INFO: Processing buffer {"connection_id":45667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:17:45] local.INFO: Packet analysis {"connection_id":45667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991a"} 
[2026-04-17 07:17:45] local.INFO: Extracted packet for processing {"connection_id":45667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991a"} 
[2026-04-17 07:17:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755803904001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:17:45] 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-04-17 07:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776390160000,"timestamp_ms":1776390160000,"timestamp_seconds":1776390160,"priority":1,"record_length":96,"hex_timestamp":"0000019d991abe80"} 
[2026-04-17 07:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:17:45] 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-04-17 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:17:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755803904001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755803904001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:17:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755803904001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":45667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19779,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:17:45] local.INFO: GPS data processed {"connection_id":45667,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:17:45] local.INFO: Acknowledgment sent {"connection_id":45667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:17:51] local.INFO: TCP Data received {"connection_id":45848,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:17:51] local.INFO: Processing buffer {"connection_id":45848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:17:51] local.INFO: IMEI packet received {"connection_id":45848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":45848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:17:56] local.INFO: TCP Data received {"connection_id":45848,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:17:56] local.INFO: Processing buffer {"connection_id":45848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:17:56] local.INFO: IMEI packet received {"connection_id":45848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":45848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:17:57] local.INFO: TCP Data received {"connection_id":45848,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:17:57] local.INFO: Processing buffer {"connection_id":45848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:17:57] local.INFO: Packet analysis {"connection_id":45848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:17:57] local.INFO: Extracted packet for processing {"connection_id":45848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:17:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755839744001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776390300000,"timestamp_ms":1776390300000,"timestamp_seconds":1776390300,"priority":1,"record_length":96,"hex_timestamp":"0000019d991ce160"} 
[2026-04-17 07:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 07:17:57] 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-04-17 07:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755839744001,"66":25495,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755839744001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:17:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:17:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755839744001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":45848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:17:57] local.INFO: GPS data processed {"connection_id":45848,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:17:57] local.INFO: Acknowledgment sent {"connection_id":45848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:18:10] local.INFO: TCP Data received {"connection_id":45585,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:18:10] local.INFO: Processing buffer {"connection_id":45585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:18:10] local.INFO: IMEI packet received {"connection_id":45585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":45585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:18:29] local.INFO: TCP Data received {"connection_id":45848,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:18:29] local.INFO: Processing buffer {"connection_id":45848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:18:29] local.INFO: Packet analysis {"connection_id":45848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:18:29] local.INFO: Extracted packet for processing {"connection_id":45848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755839744001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776390300000,"timestamp_ms":1776390300000,"timestamp_seconds":1776390300,"priority":1,"record_length":96,"hex_timestamp":"0000019d991ce160"} 
[2026-04-17 07:18:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07: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-04-17 07: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-04-17 07:18:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07: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-04-17 07:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755839744001,"66":25495,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755839744001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:18:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755839744001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":45848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19781,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:18:29] local.INFO: GPS data processed {"connection_id":45848,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:18:29] local.INFO: Acknowledgment sent {"connection_id":45848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:18:31] local.INFO: TCP Data received {"connection_id":45585,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:18:31] local.INFO: Processing buffer {"connection_id":45585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:18:31] local.INFO: IMEI packet received {"connection_id":45585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":45585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:18:34] local.INFO: TCP Data received {"connection_id":45585,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:18:34] local.INFO: Processing buffer {"connection_id":45585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991abe80012d1b598006d4d5980011013831..."} 
[2026-04-17 07:18:34] local.INFO: Packet analysis {"connection_id":45585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991a"} 
[2026-04-17 07:18:34] local.INFO: Extracted packet for processing {"connection_id":45585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991a"} 
[2026-04-17 07:18:34] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:18:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755803904001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:18:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:18:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:18:34] 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-04-17 07:18:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776390160000,"timestamp_ms":1776390160000,"timestamp_seconds":1776390160,"priority":1,"record_length":96,"hex_timestamp":"0000019d991abe80"} 
[2026-04-17 07:18:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:18: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-04-17 07:18:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:18:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:18:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:18:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:18:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:18:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:18:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:18:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:18:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:18:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:18:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755803904001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:18:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:18:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:18:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755803904001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:18:34] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:18:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:18:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:18:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755803904001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:18:34] local.INFO: DEBUG: GPS processor result {"connection_id":45585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19782,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:18:34] local.INFO: GPS data processed {"connection_id":45585,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:18:34] local.INFO: Acknowledgment sent {"connection_id":45585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:18:37] local.INFO: TCP Data received {"connection_id":45585,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:18:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:18:37] local.INFO: Processing buffer {"connection_id":45585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:18:37] local.INFO: Packet analysis {"connection_id":45585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991f"} 
[2026-04-17 07:18:37] local.INFO: Extracted packet for processing {"connection_id":45585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991f"} 
[2026-04-17 07:18:37] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:18:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755880960001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:18:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:18:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:18: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-04-17 07:18:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776390461000,"timestamp_ms":1776390461000,"timestamp_seconds":1776390461,"priority":1,"record_length":96,"hex_timestamp":"0000019d991f5648"} 
[2026-04-17 07:18:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:18:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:18:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:18:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:18:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:18:37] local.INFO: Teltonika packet parsed successfully {"connection_id":45585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:18:37] local.INFO: Passing IMEI to GPS processor {"connection_id":45585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:18:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":45585,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:18:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:18:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:18:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:18:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755880960001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:18:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:18:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:18:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755880960001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:18:37] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:18:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:18:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:18:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755880960001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:18:37] local.INFO: DEBUG: GPS processor result {"connection_id":45585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19783,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:18:37] local.INFO: GPS data processed {"connection_id":45585,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:18:37] local.INFO: Acknowledgment sent {"connection_id":45585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:18:51] local.INFO: TCP Data received {"connection_id":45586,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:18:51] local.INFO: Processing buffer {"connection_id":45586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:18:51] local.INFO: IMEI packet received {"connection_id":45586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":45586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:18:56] local.INFO: TCP Data received {"connection_id":45586,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:18:56] local.INFO: Processing buffer {"connection_id":45586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:18:56] local.INFO: IMEI packet received {"connection_id":45586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":45586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:18:57] local.INFO: TCP Data received {"connection_id":45586,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:18:57] local.INFO: Processing buffer {"connection_id":45586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:18:57] local.INFO: Packet analysis {"connection_id":45586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:18:57] local.INFO: Extracted packet for processing {"connection_id":45586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:18:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:18: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-04-17 07:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755839744001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776390300000,"timestamp_ms":1776390300000,"timestamp_seconds":1776390300,"priority":1,"record_length":96,"hex_timestamp":"0000019d991ce160"} 
[2026-04-17 07:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:18:57] local.INFO: IO Element 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-04-17 07:18:57] 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-04-17 07:18: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-04-17 07:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:18:57] 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-04-17 07:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755839744001,"66":25495,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755839744001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:18:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:18:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755839744001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":45586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:18:57] local.INFO: GPS data processed {"connection_id":45586,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:18:57] local.INFO: Acknowledgment sent {"connection_id":45586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:19:20] local.INFO: TCP Data received {"connection_id":45849,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:19:20] local.INFO: Processing buffer {"connection_id":45849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:19:20] local.INFO: IMEI packet received {"connection_id":45849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":45849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:19:27] local.INFO: TCP Data received {"connection_id":45849,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45849,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:19:27] local.INFO: Processing buffer {"connection_id":45849,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:19:27] local.INFO: IMEI packet received {"connection_id":45849,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":45849,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:19:29] local.INFO: TCP Data received {"connection_id":45586,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:19:29] local.INFO: Processing buffer {"connection_id":45586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:19:29] local.INFO: Packet analysis {"connection_id":45586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:19:29] local.INFO: Extracted packet for processing {"connection_id":45586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:19:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755839744001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776390300000,"timestamp_ms":1776390300000,"timestamp_seconds":1776390300,"priority":1,"record_length":96,"hex_timestamp":"0000019d991ce160"} 
[2026-04-17 07:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 07: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-04-17 07:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:19: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-04-17 07:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755839744001,"66":25495,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755839744001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:19:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755839744001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":45586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:19:29] local.INFO: GPS data processed {"connection_id":45586,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:19:29] local.INFO: Acknowledgment sent {"connection_id":45586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:19:29] local.INFO: TCP Data received {"connection_id":45849,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:19:29] local.INFO: Processing buffer {"connection_id":45849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:19:29] local.INFO: Packet analysis {"connection_id":45849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991f"} 
[2026-04-17 07:19:29] local.INFO: Extracted packet for processing {"connection_id":45849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991f"} 
[2026-04-17 07:19:29] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755880960001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:19:29] 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-04-17 07:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776390461000,"timestamp_ms":1776390461000,"timestamp_seconds":1776390461,"priority":1,"record_length":96,"hex_timestamp":"0000019d991f5648"} 
[2026-04-17 07:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:19: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-04-17 07:19:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:19:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45849,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:19:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755880960001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755880960001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:19:29] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755880960001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":45849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19786,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:19:29] local.INFO: GPS data processed {"connection_id":45849,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:19:29] local.INFO: Acknowledgment sent {"connection_id":45849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:19:51] local.INFO: TCP Data received {"connection_id":46410,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:19:51] local.INFO: Processing buffer {"connection_id":46410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:19:51] local.INFO: IMEI packet received {"connection_id":46410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":46410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:19:56] local.INFO: TCP Data received {"connection_id":46410,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46410,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:19:56] local.INFO: Processing buffer {"connection_id":46410,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:19:56] local.INFO: IMEI packet received {"connection_id":46410,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":46410,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:19:57] local.INFO: TCP Data received {"connection_id":46410,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:19:57] local.INFO: Processing buffer {"connection_id":46410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:19:57] local.INFO: Packet analysis {"connection_id":46410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:19:57] local.INFO: Extracted packet for processing {"connection_id":46410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:19:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755839744001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776390300000,"timestamp_ms":1776390300000,"timestamp_seconds":1776390300,"priority":1,"record_length":96,"hex_timestamp":"0000019d991ce160"} 
[2026-04-17 07:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 07:19:57] 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-04-17 07: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-04-17 07:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755839744001,"66":25495,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755839744001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:19:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:19:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755839744001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":46410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:19:57] local.INFO: GPS data processed {"connection_id":46410,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:19:57] local.INFO: Acknowledgment sent {"connection_id":46410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:20:10] local.INFO: TCP Data received {"connection_id":45668,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:20:10] local.INFO: Processing buffer {"connection_id":45668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:20:10] local.INFO: IMEI packet received {"connection_id":45668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":45668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:20:18] local.INFO: TCP Data received {"connection_id":45668,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45668,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:20:18] local.INFO: Processing buffer {"connection_id":45668,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:20:18] local.INFO: IMEI packet received {"connection_id":45668,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":45668,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:20:19] local.INFO: TCP Data received {"connection_id":45668,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:20:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:20:19] local.INFO: Processing buffer {"connection_id":45668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:20:19] local.INFO: Packet analysis {"connection_id":45668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991f"} 
[2026-04-17 07:20:19] local.INFO: Extracted packet for processing {"connection_id":45668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991f"} 
[2026-04-17 07:20:19] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:20:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755880960001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:20:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:20:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:20:19] 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-04-17 07:20:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776390461000,"timestamp_ms":1776390461000,"timestamp_seconds":1776390461,"priority":1,"record_length":96,"hex_timestamp":"0000019d991f5648"} 
[2026-04-17 07:20:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:20:19] 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-04-17 07:20:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:20: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-04-17 07:20:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:20:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:20:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:20:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:20:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:20:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:20:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:20:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:20:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:20:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755880960001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:20:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:20:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:20:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755880960001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:20:19] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:20:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:20:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:20:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755880960001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:20:19] local.INFO: DEBUG: GPS processor result {"connection_id":45668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19788,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:20:19] local.INFO: GPS data processed {"connection_id":45668,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:20:19] local.INFO: Acknowledgment sent {"connection_id":45668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:20:28] local.INFO: TCP Data received {"connection_id":46410,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:20:28] local.INFO: Processing buffer {"connection_id":46410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991ce160012d7fad4005afe350000000942f..."} 
[2026-04-17 07:20:28] local.INFO: Packet analysis {"connection_id":46410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:20:28] local.INFO: Extracted packet for processing {"connection_id":46410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991c"} 
[2026-04-17 07:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755839744001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776390300000,"timestamp_ms":1776390300000,"timestamp_seconds":1776390300,"priority":1,"record_length":96,"hex_timestamp":"0000019d991ce160"} 
[2026-04-17 07:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 07:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46410,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755839744001,"66":25495,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755839744001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:20:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755839744001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":46410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:20:28] local.INFO: GPS data processed {"connection_id":46410,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:20:28] local.INFO: Acknowledgment sent {"connection_id":46410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:20:51] local.INFO: TCP Data received {"connection_id":45669,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:20:52] local.INFO: Processing buffer {"connection_id":45669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:20:52] local.INFO: IMEI packet received {"connection_id":45669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":45669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:20:52] local.INFO: TCP Data received {"connection_id":45668,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:20:52] local.INFO: Processing buffer {"connection_id":45668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:20:52] local.INFO: Packet analysis {"connection_id":45668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991f"} 
[2026-04-17 07:20:52] local.INFO: Extracted packet for processing {"connection_id":45668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991f"} 
[2026-04-17 07:20:52] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:20:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755880960001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:20:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:20:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:20:52] 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-04-17 07:20:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776390461000,"timestamp_ms":1776390461000,"timestamp_seconds":1776390461,"priority":1,"record_length":96,"hex_timestamp":"0000019d991f5648"} 
[2026-04-17 07:20:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:20:52] 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-04-17 07:20:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:20:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:20:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:20:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:20:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:20:52] local.INFO: Teltonika packet parsed successfully {"connection_id":45668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:20:52] local.INFO: Passing IMEI to GPS processor {"connection_id":45668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:20:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":45668,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:20:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:20:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:20:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:20:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755880960001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:20:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:20:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:20:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755880960001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:20:52] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:20:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:20:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:20:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755880960001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:20:52] local.INFO: DEBUG: GPS processor result {"connection_id":45668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19790,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:20:52] local.INFO: GPS data processed {"connection_id":45668,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:20:52] local.INFO: Acknowledgment sent {"connection_id":45668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:20:56] local.INFO: TCP Data received {"connection_id":45669,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:20:57] local.INFO: Processing buffer {"connection_id":45669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:20:57] local.INFO: IMEI packet received {"connection_id":45669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":45669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:20:57] local.INFO: TCP Data received {"connection_id":45669,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:20:57] local.INFO: Processing buffer {"connection_id":45669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:20:57] local.INFO: Packet analysis {"connection_id":45669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:20:57] local.INFO: Extracted packet for processing {"connection_id":45669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:20:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755916800001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776390601000,"timestamp_ms":1776390601000,"timestamp_seconds":1776390601,"priority":1,"record_length":96,"hex_timestamp":"0000019d99217928"} 
[2026-04-17 07:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 07:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:20:57] 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-04-17 07:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755916800001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755916800001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:20:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:20:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755916800001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":45669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:20:57] local.INFO: GPS data processed {"connection_id":45669,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:20:57] local.INFO: Acknowledgment sent {"connection_id":45669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:21:10] local.INFO: TCP Data received {"connection_id":46411,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:21:10] local.INFO: Processing buffer {"connection_id":46411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:21:10] local.INFO: IMEI packet received {"connection_id":46411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":46411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:21:15] local.INFO: TCP Data received {"connection_id":46411,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46411,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:21:15] local.INFO: Processing buffer {"connection_id":46411,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:21:15] local.INFO: IMEI packet received {"connection_id":46411,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":46411,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:21:17] local.INFO: TCP Data received {"connection_id":46411,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:21:17] local.INFO: Processing buffer {"connection_id":46411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:21:17] local.INFO: Packet analysis {"connection_id":46411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991f"} 
[2026-04-17 07:21:17] local.INFO: Extracted packet for processing {"connection_id":46411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991f"} 
[2026-04-17 07:21:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:21:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755880960001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:21:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:21:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:21:17] 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-04-17 07:21:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776390461000,"timestamp_ms":1776390461000,"timestamp_seconds":1776390461,"priority":1,"record_length":96,"hex_timestamp":"0000019d991f5648"} 
[2026-04-17 07:21:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:21:17] 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-04-17 07: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:21: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-04-17 07: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-04-17 07:21:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:21:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:21:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:21:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:21:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:21:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:21:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:21:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:21:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755880960001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:21:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:21:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:21:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755880960001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:21:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:21:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:21:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:21:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755880960001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:21:17] local.INFO: DEBUG: GPS processor result {"connection_id":46411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19792,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:21:17] local.INFO: GPS data processed {"connection_id":46411,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:21:17] local.INFO: Acknowledgment sent {"connection_id":46411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:21:29] local.INFO: TCP Data received {"connection_id":45669,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:21:29] local.INFO: Processing buffer {"connection_id":45669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:21:29] local.INFO: Packet analysis {"connection_id":45669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:21:29] local.INFO: Extracted packet for processing {"connection_id":45669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:21:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755916800001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776390601000,"timestamp_ms":1776390601000,"timestamp_seconds":1776390601,"priority":1,"record_length":96,"hex_timestamp":"0000019d99217928"} 
[2026-04-17 07:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":151,"data_length":795,"current_offset":136} 
[2026-04-17 07:21: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-04-17 07: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-04-17 07:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:21: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-04-17 07:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755916800001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755916800001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:21:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755916800001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":45669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:21:29] local.INFO: GPS data processed {"connection_id":45669,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:21:29] local.INFO: Acknowledgment sent {"connection_id":45669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:21:49] local.INFO: TCP Data received {"connection_id":46411,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46411,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:21:49] local.INFO: Processing buffer {"connection_id":46411,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:21:49] local.INFO: Packet analysis {"connection_id":46411,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991f"} 
[2026-04-17 07:21:49] local.INFO: Extracted packet for processing {"connection_id":46411,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991f"} 
[2026-04-17 07:21:49] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:21:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755880960001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:21:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:21:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:21:49] 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-04-17 07:21:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776390461000,"timestamp_ms":1776390461000,"timestamp_seconds":1776390461,"priority":1,"record_length":96,"hex_timestamp":"0000019d991f5648"} 
[2026-04-17 07:21:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:21:49] 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-04-17 07: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":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:21: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-04-17 07: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-04-17 07:21:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:21:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:21:49] local.INFO: Teltonika packet parsed successfully {"connection_id":46411,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:21:49] local.INFO: Passing IMEI to GPS processor {"connection_id":46411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:21:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":46411,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:21:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:21:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:21:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:21:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755880960001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:21:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:21:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:21:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755880960001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:21:49] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:21:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:21:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:21:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755880960001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:21:49] local.INFO: DEBUG: GPS processor result {"connection_id":46411,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19794,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:21:49] local.INFO: GPS data processed {"connection_id":46411,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:21:49] local.INFO: Acknowledgment sent {"connection_id":46411,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:21:51] local.INFO: TCP Data received {"connection_id":46412,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:21:51] local.INFO: Processing buffer {"connection_id":46412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:21:51] local.INFO: IMEI packet received {"connection_id":46412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":46412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:21:56] local.INFO: TCP Data received {"connection_id":46412,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46412,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:21:56] local.INFO: Processing buffer {"connection_id":46412,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:21:56] local.INFO: IMEI packet received {"connection_id":46412,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":46412,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:21:57] local.INFO: TCP Data received {"connection_id":46412,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:21:57] local.INFO: Processing buffer {"connection_id":46412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:21:57] local.INFO: Packet analysis {"connection_id":46412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:21:57] local.INFO: Extracted packet for processing {"connection_id":46412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:21:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755916800001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776390601000,"timestamp_ms":1776390601000,"timestamp_seconds":1776390601,"priority":1,"record_length":96,"hex_timestamp":"0000019d99217928"} 
[2026-04-17 07:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 07:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755916800001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755916800001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:21:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:21:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755916800001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":46412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:21:57] local.INFO: GPS data processed {"connection_id":46412,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:21:57] local.INFO: Acknowledgment sent {"connection_id":46412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:22:05] local.INFO: TCP Data received {"connection_id":46413,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:22:05] local.INFO: Processing buffer {"connection_id":46413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:22:05] local.INFO: IMEI packet received {"connection_id":46413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":46413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:22:12] local.INFO: TCP Data received {"connection_id":46413,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46413,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:22:12] local.INFO: Processing buffer {"connection_id":46413,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:22:12] local.INFO: IMEI packet received {"connection_id":46413,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":46413,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:22:13] local.INFO: TCP Data received {"connection_id":46413,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:22:13] local.INFO: Processing buffer {"connection_id":46413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:22:13] local.INFO: Packet analysis {"connection_id":46413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991f"} 
[2026-04-17 07:22:13] local.INFO: Extracted packet for processing {"connection_id":46413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991f"} 
[2026-04-17 07:22:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755880960001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:22:13] 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-04-17 07:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776390461000,"timestamp_ms":1776390461000,"timestamp_seconds":1776390461,"priority":1,"record_length":96,"hex_timestamp":"0000019d991f5648"} 
[2026-04-17 07:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:22:13] 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-04-17 07:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:22: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-04-17 07:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755880960001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755880960001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:22:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755880960001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":46413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19796,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:22:13] local.INFO: GPS data processed {"connection_id":46413,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:22:13] local.INFO: Acknowledgment sent {"connection_id":46413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:22:29] local.INFO: TCP Data received {"connection_id":46412,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:22:29] local.INFO: Processing buffer {"connection_id":46412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:22:29] local.INFO: Packet analysis {"connection_id":46412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:22:29] local.INFO: Extracted packet for processing {"connection_id":46412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:22:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755916800001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776390601000,"timestamp_ms":1776390601000,"timestamp_seconds":1776390601,"priority":1,"record_length":96,"hex_timestamp":"0000019d99217928"} 
[2026-04-17 07:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":151,"data_length":795,"current_offset":136} 
[2026-04-17 07:22: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-04-17 07: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-04-17 07:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46412,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:22: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-04-17 07:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755916800001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755916800001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:22:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:22:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755916800001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":46412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:22:29] local.INFO: GPS data processed {"connection_id":46412,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:22:29] local.INFO: Acknowledgment sent {"connection_id":46412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:22:45] local.INFO: TCP Data received {"connection_id":46413,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46413,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:22:45] local.INFO: Processing buffer {"connection_id":46413,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:22:45] local.INFO: Packet analysis {"connection_id":46413,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991f"} 
[2026-04-17 07:22:45] local.INFO: Extracted packet for processing {"connection_id":46413,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991f"} 
[2026-04-17 07:22:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:22:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755880960001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:22:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:22:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:22:45] 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-04-17 07:22:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776390461000,"timestamp_ms":1776390461000,"timestamp_seconds":1776390461,"priority":1,"record_length":96,"hex_timestamp":"0000019d991f5648"} 
[2026-04-17 07:22:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:22:45] 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-04-17 07:22:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:22: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-04-17 07:22:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:22:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:22:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:22:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46413,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:22:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:22:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46413,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:22:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:22:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:22:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:22:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755880960001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:22:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:22:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:22:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755880960001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:22:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:22:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:22:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:22:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755880960001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":46413,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19798,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:22:46] local.INFO: GPS data processed {"connection_id":46413,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:22:46] local.INFO: Acknowledgment sent {"connection_id":46413,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:22:51] local.INFO: TCP Data received {"connection_id":45670,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:22:51] local.INFO: Processing buffer {"connection_id":45670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:22:51] local.INFO: IMEI packet received {"connection_id":45670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":45670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:22:56] local.INFO: TCP Data received {"connection_id":45670,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:22:56] local.INFO: Processing buffer {"connection_id":45670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:22:56] local.INFO: IMEI packet received {"connection_id":45670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":45670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:22:57] local.INFO: TCP Data received {"connection_id":45670,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:22:57] local.INFO: Processing buffer {"connection_id":45670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:22:57] local.INFO: Packet analysis {"connection_id":45670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:22:57] local.INFO: Extracted packet for processing {"connection_id":45670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:22:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755916800001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776390601000,"timestamp_ms":1776390601000,"timestamp_seconds":1776390601,"priority":1,"record_length":96,"hex_timestamp":"0000019d99217928"} 
[2026-04-17 07:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 07:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755916800001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755916800001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:22:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755916800001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":45670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:22:57] local.INFO: GPS data processed {"connection_id":45670,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:22:57] local.INFO: Acknowledgment sent {"connection_id":45670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:23:10] local.INFO: TCP Data received {"connection_id":46414,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:23:10] local.INFO: Processing buffer {"connection_id":46414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:23:10] local.INFO: IMEI packet received {"connection_id":46414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":46414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:23:18] local.INFO: TCP Data received {"connection_id":46414,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46414,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:23:18] local.INFO: Processing buffer {"connection_id":46414,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:23:18] local.INFO: IMEI packet received {"connection_id":46414,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":46414,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:23:19] local.INFO: TCP Data received {"connection_id":46414,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:23:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:23:19] local.INFO: Processing buffer {"connection_id":46414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d991f5648012d1b598006d4d5980011013831..."} 
[2026-04-17 07:23:19] local.INFO: Packet analysis {"connection_id":46414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d991f"} 
[2026-04-17 07:23:19] local.INFO: Extracted packet for processing {"connection_id":46414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d991f"} 
[2026-04-17 07:23:19] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:23:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755880960001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:23:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:23:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:23:19] 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-04-17 07:23:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776390461000,"timestamp_ms":1776390461000,"timestamp_seconds":1776390461,"priority":1,"record_length":96,"hex_timestamp":"0000019d991f5648"} 
[2026-04-17 07:23:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:23:19] 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-04-17 07:23:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:23: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-04-17 07:23:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:23:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:23:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:23:19] local.INFO: Teltonika packet parsed successfully {"connection_id":46414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:23:19] local.INFO: Passing IMEI to GPS processor {"connection_id":46414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:23:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":46414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:23:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:23:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:23:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:23:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755880960001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:23:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:23:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:23:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755880960001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:23:19] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:23:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:23:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:23:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755880960001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:23:19] local.INFO: DEBUG: GPS processor result {"connection_id":46414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19800,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:23:19] local.INFO: GPS data processed {"connection_id":46414,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:23:19] local.INFO: Acknowledgment sent {"connection_id":46414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:23:29] local.INFO: TCP Data received {"connection_id":45670,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:23:29] local.INFO: Processing buffer {"connection_id":45670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:23:29] local.INFO: Packet analysis {"connection_id":45670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:23:29] local.INFO: Extracted packet for processing {"connection_id":45670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755916800001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776390601000,"timestamp_ms":1776390601000,"timestamp_seconds":1776390601,"priority":1,"record_length":96,"hex_timestamp":"0000019d99217928"} 
[2026-04-17 07:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":151,"data_length":795,"current_offset":136} 
[2026-04-17 07:23: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-04-17 07: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-04-17 07:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:23: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-04-17 07:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755916800001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755916800001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:23:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755916800001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":45670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:23:29] local.INFO: GPS data processed {"connection_id":45670,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:23:29] local.INFO: Acknowledgment sent {"connection_id":45670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:23:51] local.INFO: TCP Data received {"connection_id":46414,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:23:51] local.INFO: Processing buffer {"connection_id":46414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:23:51] local.INFO: Packet analysis {"connection_id":46414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9923"} 
[2026-04-17 07:23:51] local.INFO: Extracted packet for processing {"connection_id":46414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9923"} 
[2026-04-17 07:23:51] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:23:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755958016001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:23:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:23:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:23:51] 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-04-17 07:23:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776390762000,"timestamp_ms":1776390762000,"timestamp_seconds":1776390762,"priority":1,"record_length":96,"hex_timestamp":"0000019d9923ee10"} 
[2026-04-17 07:23:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:23:51] 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-04-17 07:23:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:23:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:23:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:23:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:23:51] local.INFO: Teltonika packet parsed successfully {"connection_id":46414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:23:51] local.INFO: Passing IMEI to GPS processor {"connection_id":46414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:23:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":46414,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:23:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:23:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:23:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:23:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755958016001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:23:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:23:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:23:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755958016001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:23:51] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:23:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:23:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:23:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755958016001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:23:51] local.INFO: DEBUG: GPS processor result {"connection_id":46414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19802,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:23:51] local.INFO: GPS data processed {"connection_id":46414,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:23:51] local.INFO: Acknowledgment sent {"connection_id":46414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:23:56] local.INFO: TCP Data received {"connection_id":45587,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:23:56] local.INFO: Processing buffer {"connection_id":45587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:23:56] local.INFO: IMEI packet received {"connection_id":45587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":45587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:24:01] local.INFO: TCP Data received {"connection_id":45587,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45587,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:24:01] local.INFO: Processing buffer {"connection_id":45587,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:24:01] local.INFO: IMEI packet received {"connection_id":45587,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":45587,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:24:03] local.INFO: TCP Data received {"connection_id":45587,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:24:03] local.INFO: Processing buffer {"connection_id":45587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:24:03] local.INFO: Packet analysis {"connection_id":45587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:24:03] local.INFO: Extracted packet for processing {"connection_id":45587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755916800001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776390601000,"timestamp_ms":1776390601000,"timestamp_seconds":1776390601,"priority":1,"record_length":96,"hex_timestamp":"0000019d99217928"} 
[2026-04-17 07:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 07:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:24:03] 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-04-17 07:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755916800001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755916800001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:24:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:24:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755916800001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":45587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19803,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:24:03] local.INFO: GPS data processed {"connection_id":45587,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:24:03] local.INFO: Acknowledgment sent {"connection_id":45587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:24:05] local.INFO: TCP Data received {"connection_id":45588,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:24:05] local.INFO: Processing buffer {"connection_id":45588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:24:05] local.INFO: IMEI packet received {"connection_id":45588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":45588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:24:07] local.INFO: TCP Data received {"connection_id":45587,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:24:07] local.INFO: Processing buffer {"connection_id":45587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:24:07] local.INFO: Packet analysis {"connection_id":45587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:24:07] local.INFO: Extracted packet for processing {"connection_id":45587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755916800001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776390601000,"timestamp_ms":1776390601000,"timestamp_seconds":1776390601,"priority":1,"record_length":96,"hex_timestamp":"0000019d99217928"} 
[2026-04-17 07:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 07:24:07] 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-04-17 07: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-04-17 07:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45587,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:24:07] 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-04-17 07:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755916800001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755916800001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:24:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:24:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755916800001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":45587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:24:07] local.INFO: GPS data processed {"connection_id":45587,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:24:07] local.INFO: Acknowledgment sent {"connection_id":45587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:24:14] local.INFO: TCP Data received {"connection_id":45588,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:24:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:24:14] local.INFO: Processing buffer {"connection_id":45588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:24:14] local.INFO: IMEI packet received {"connection_id":45588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:24:14] local.INFO: IMEI acknowledgment sent {"connection_id":45588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:24:16] local.INFO: TCP Data received {"connection_id":45588,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:24:16] local.INFO: Processing buffer {"connection_id":45588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:24:16] local.INFO: Packet analysis {"connection_id":45588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9923"} 
[2026-04-17 07:24:16] local.INFO: Extracted packet for processing {"connection_id":45588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9923"} 
[2026-04-17 07:24:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:24:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755958016001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:24:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:24:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:24:16] 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-04-17 07:24:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776390762000,"timestamp_ms":1776390762000,"timestamp_seconds":1776390762,"priority":1,"record_length":96,"hex_timestamp":"0000019d9923ee10"} 
[2026-04-17 07:24:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:24:16] 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-04-17 07:24:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:24:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:24:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:24:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:24:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:24:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:24:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:24:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:24:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:24:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:24:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:24:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755958016001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:24:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:24:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:24:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755958016001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:24:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:24:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:24:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:24:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755958016001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:24:16] local.INFO: DEBUG: GPS processor result {"connection_id":45588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19805,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:24:16] local.INFO: GPS data processed {"connection_id":45588,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:24:16] local.INFO: Acknowledgment sent {"connection_id":45588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:24:48] local.INFO: TCP Data received {"connection_id":45588,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:24:48] local.INFO: Processing buffer {"connection_id":45588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:24:48] local.INFO: Packet analysis {"connection_id":45588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9923"} 
[2026-04-17 07:24:48] local.INFO: Extracted packet for processing {"connection_id":45588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9923"} 
[2026-04-17 07:24:48] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755958016001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:24:48] 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-04-17 07:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776390762000,"timestamp_ms":1776390762000,"timestamp_seconds":1776390762,"priority":1,"record_length":96,"hex_timestamp":"0000019d9923ee10"} 
[2026-04-17 07:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:24:48] 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-04-17 07: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:24: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-04-17 07: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-04-17 07:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755958016001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755958016001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:24:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755958016001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":45588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19806,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:24:48] local.INFO: GPS data processed {"connection_id":45588,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:24:48] local.INFO: Acknowledgment sent {"connection_id":45588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:24:51] local.INFO: TCP Data received {"connection_id":45671,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:24:51] local.INFO: Processing buffer {"connection_id":45671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:24:51] local.INFO: IMEI packet received {"connection_id":45671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":45671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:24:56] local.INFO: TCP Data received {"connection_id":45671,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:24:56] local.INFO: Processing buffer {"connection_id":45671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:24:56] local.INFO: IMEI packet received {"connection_id":45671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":45671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:24:57] local.INFO: TCP Data received {"connection_id":45671,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:24:57] local.INFO: Processing buffer {"connection_id":45671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:24:57] local.INFO: Packet analysis {"connection_id":45671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:24:57] local.INFO: Extracted packet for processing {"connection_id":45671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:24:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755916800001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776390601000,"timestamp_ms":1776390601000,"timestamp_seconds":1776390601,"priority":1,"record_length":96,"hex_timestamp":"0000019d99217928"} 
[2026-04-17 07:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 07:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755916800001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755916800001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:24:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:24:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755916800001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":45671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:24:57] local.INFO: GPS data processed {"connection_id":45671,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:24:57] local.INFO: Acknowledgment sent {"connection_id":45671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:25:05] local.INFO: TCP Data received {"connection_id":46415,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:25:05] local.INFO: Processing buffer {"connection_id":46415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:25:05] local.INFO: IMEI packet received {"connection_id":46415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":46415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:25:10] local.INFO: TCP Data received {"connection_id":46415,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:25:10] local.INFO: Processing buffer {"connection_id":46415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:25:10] local.INFO: IMEI packet received {"connection_id":46415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":46415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:25:12] local.INFO: TCP Data received {"connection_id":46415,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:25:12] local.INFO: Processing buffer {"connection_id":46415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:25:12] local.INFO: Packet analysis {"connection_id":46415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9923"} 
[2026-04-17 07:25:12] local.INFO: Extracted packet for processing {"connection_id":46415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9923"} 
[2026-04-17 07:25:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755958016001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:25:12] 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-04-17 07:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776390762000,"timestamp_ms":1776390762000,"timestamp_seconds":1776390762,"priority":1,"record_length":96,"hex_timestamp":"0000019d9923ee10"} 
[2026-04-17 07:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:25: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-04-17 07:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755958016001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755958016001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:25:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755958016001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":46415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19808,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:25:12] local.INFO: GPS data processed {"connection_id":46415,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:25:12] local.INFO: Acknowledgment sent {"connection_id":46415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:25:28] local.INFO: TCP Data received {"connection_id":45671,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:25:28] local.INFO: Processing buffer {"connection_id":45671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99217928012d7fad4005afe350000000942e..."} 
[2026-04-17 07:25:28] local.INFO: Packet analysis {"connection_id":45671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:25:28] local.INFO: Extracted packet for processing {"connection_id":45671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9921"} 
[2026-04-17 07:25:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755916800001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776390601000,"timestamp_ms":1776390601000,"timestamp_seconds":1776390601,"priority":1,"record_length":96,"hex_timestamp":"0000019d99217928"} 
[2026-04-17 07:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 07:25:28] 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-04-17 07:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755916800001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755916800001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:25:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:25:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755916800001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":45671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19809,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:25:28] local.INFO: GPS data processed {"connection_id":45671,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:25:28] local.INFO: Acknowledgment sent {"connection_id":45671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:25:44] local.INFO: TCP Data received {"connection_id":46415,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46415,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:25:44] local.INFO: Processing buffer {"connection_id":46415,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:25:44] local.INFO: Packet analysis {"connection_id":46415,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9923"} 
[2026-04-17 07:25:44] local.INFO: Extracted packet for processing {"connection_id":46415,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9923"} 
[2026-04-17 07:25:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755958016001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:25:44] 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-04-17 07:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776390762000,"timestamp_ms":1776390762000,"timestamp_seconds":1776390762,"priority":1,"record_length":96,"hex_timestamp":"0000019d9923ee10"} 
[2026-04-17 07:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:25:44] 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-04-17 07: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:25: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-04-17 07: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-04-17 07:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46415,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46415,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755958016001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755958016001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:25:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755958016001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":46415,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19810,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:25:44] local.INFO: GPS data processed {"connection_id":46415,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:25:44] local.INFO: Acknowledgment sent {"connection_id":46415,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:25:51] local.INFO: TCP Data received {"connection_id":45589,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:25:51] local.INFO: Processing buffer {"connection_id":45589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:25:51] local.INFO: IMEI packet received {"connection_id":45589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":45589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:25:56] local.INFO: TCP Data received {"connection_id":45589,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:25:56] local.INFO: Processing buffer {"connection_id":45589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:25:56] local.INFO: IMEI packet received {"connection_id":45589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":45589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:25:57] local.INFO: TCP Data received {"connection_id":45589,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:25:57] local.INFO: Processing buffer {"connection_id":45589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:25:57] local.INFO: Packet analysis {"connection_id":45589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:25:57] local.INFO: Extracted packet for processing {"connection_id":45589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:25:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":11,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755993856001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776390902000,"timestamp_ms":1776390902000,"timestamp_seconds":1776390902,"priority":1,"record_length":96,"hex_timestamp":"0000019d992610f0"} 
[2026-04-17 07:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755993856001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755993856001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:25:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:25:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755993856001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":45589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:25:57] local.INFO: GPS data processed {"connection_id":45589,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:25:57] local.INFO: Acknowledgment sent {"connection_id":45589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:26:10] local.INFO: TCP Data received {"connection_id":46416,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:26:10] local.INFO: Processing buffer {"connection_id":46416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:26:10] local.INFO: IMEI packet received {"connection_id":46416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":46416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:26:15] local.INFO: TCP Data received {"connection_id":46416,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46416,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:26:15] local.INFO: Processing buffer {"connection_id":46416,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:26:15] local.INFO: IMEI packet received {"connection_id":46416,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":46416,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:26:17] local.INFO: TCP Data received {"connection_id":46416,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:26:17] local.INFO: Processing buffer {"connection_id":46416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:26:17] local.INFO: Packet analysis {"connection_id":46416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9923"} 
[2026-04-17 07:26:17] local.INFO: Extracted packet for processing {"connection_id":46416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9923"} 
[2026-04-17 07:26:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:26:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755958016001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:26:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:26:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:26:17] 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-04-17 07:26:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776390762000,"timestamp_ms":1776390762000,"timestamp_seconds":1776390762,"priority":1,"record_length":96,"hex_timestamp":"0000019d9923ee10"} 
[2026-04-17 07:26:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:26:17] 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-04-17 07:26:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:26:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:26:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:26:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:26:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:26:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:26:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:26:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:26:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:26:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:26:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:26:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755958016001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:26:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:26:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:26:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755958016001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:26:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:26:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:26:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:26:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755958016001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:26:17] local.INFO: DEBUG: GPS processor result {"connection_id":46416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19812,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:26:17] local.INFO: GPS data processed {"connection_id":46416,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:26:17] local.INFO: Acknowledgment sent {"connection_id":46416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:26:23] local.INFO: TCP Data received {"connection_id":46416,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:26:23] local.INFO: Processing buffer {"connection_id":46416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:26:23] local.INFO: Packet analysis {"connection_id":46416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9923"} 
[2026-04-17 07:26:23] local.INFO: Extracted packet for processing {"connection_id":46416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9923"} 
[2026-04-17 07:26:23] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755958016001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:26:23] 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-04-17 07:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776390762000,"timestamp_ms":1776390762000,"timestamp_seconds":1776390762,"priority":1,"record_length":96,"hex_timestamp":"0000019d9923ee10"} 
[2026-04-17 07:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:26:23] 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-04-17 07:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:26:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":46416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":46416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":46416,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755958016001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755958016001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:26:23] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755958016001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":46416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19813,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:26:23] local.INFO: GPS data processed {"connection_id":46416,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:26:23] local.INFO: Acknowledgment sent {"connection_id":46416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:26:29] local.INFO: TCP Data received {"connection_id":45589,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:26:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:26:29] local.INFO: Processing buffer {"connection_id":45589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:26:29] local.INFO: Packet analysis {"connection_id":45589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:26:29] local.INFO: Extracted packet for processing {"connection_id":45589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:26:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":11,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:26:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755993856001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:26:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:26:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:26:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:26:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776390902000,"timestamp_ms":1776390902000,"timestamp_seconds":1776390902,"priority":1,"record_length":96,"hex_timestamp":"0000019d992610f0"} 
[2026-04-17 07:26:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:26:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:26:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:26:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:26:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:26:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:26:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:26:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:26:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:26: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-04-17 07:26:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:26:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:26:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755993856001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:26:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:26:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:26:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755993856001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:26:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:26:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:26:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:26:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:26:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755993856001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":45589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:26:29] local.INFO: GPS data processed {"connection_id":45589,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:26:29] local.INFO: Acknowledgment sent {"connection_id":45589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:26:51] local.INFO: TCP Data received {"connection_id":45850,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:26:51] local.INFO: Processing buffer {"connection_id":45850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:26:51] local.INFO: IMEI packet received {"connection_id":45850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":45850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:26:56] local.INFO: TCP Data received {"connection_id":45850,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45850,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:26:56] local.INFO: Processing buffer {"connection_id":45850,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:26:56] local.INFO: IMEI packet received {"connection_id":45850,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":45850,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:26:57] local.INFO: TCP Data received {"connection_id":45850,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:26:57] local.INFO: Processing buffer {"connection_id":45850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:26:57] local.INFO: Packet analysis {"connection_id":45850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:26:57] local.INFO: Extracted packet for processing {"connection_id":45850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:26:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":11,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755993856001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776390902000,"timestamp_ms":1776390902000,"timestamp_seconds":1776390902,"priority":1,"record_length":96,"hex_timestamp":"0000019d992610f0"} 
[2026-04-17 07:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45850,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755993856001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755993856001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:26:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:26:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755993856001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":45850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:26:57] local.INFO: GPS data processed {"connection_id":45850,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:26:57] local.INFO: Acknowledgment sent {"connection_id":45850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:27:05] local.INFO: TCP Data received {"connection_id":45851,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:27:05] local.INFO: Processing buffer {"connection_id":45851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:27:05] local.INFO: IMEI packet received {"connection_id":45851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":45851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:27:10] local.INFO: TCP Data received {"connection_id":45851,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45851,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:27:10] local.INFO: Processing buffer {"connection_id":45851,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:27:10] local.INFO: IMEI packet received {"connection_id":45851,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":45851,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:27:12] local.INFO: TCP Data received {"connection_id":45851,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:27:12] local.INFO: Processing buffer {"connection_id":45851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:27:12] local.INFO: Packet analysis {"connection_id":45851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9923"} 
[2026-04-17 07:27:12] local.INFO: Extracted packet for processing {"connection_id":45851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9923"} 
[2026-04-17 07:27:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:27:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755958016001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:27:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:27:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:27:12] 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-04-17 07:27:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776390762000,"timestamp_ms":1776390762000,"timestamp_seconds":1776390762,"priority":1,"record_length":96,"hex_timestamp":"0000019d9923ee10"} 
[2026-04-17 07:27:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:27: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-04-17 07: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:27: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-04-17 07: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-04-17 07:27:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:27:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:27:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:27:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:27:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:27:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:27:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:27:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:27:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755958016001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:27:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:27:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:27:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755958016001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:27:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:27:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:27:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:27:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755958016001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:27:12] local.INFO: DEBUG: GPS processor result {"connection_id":45851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19816,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:27:12] local.INFO: GPS data processed {"connection_id":45851,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:27:12] local.INFO: Acknowledgment sent {"connection_id":45851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:27:26] local.INFO: TCP Data received {"connection_id":46417,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:27:26] local.INFO: Processing buffer {"connection_id":46417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:27:26] local.INFO: IMEI packet received {"connection_id":46417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":46417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:27:31] local.INFO: TCP Data received {"connection_id":46417,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:27:31] local.INFO: Processing buffer {"connection_id":46417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:27:31] local.INFO: IMEI packet received {"connection_id":46417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":46417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:27:32] local.INFO: TCP Data received {"connection_id":46417,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:27:32] local.INFO: Processing buffer {"connection_id":46417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:27:32] local.INFO: Packet analysis {"connection_id":46417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:27:32] local.INFO: Extracted packet for processing {"connection_id":46417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:27:32] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":11,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755993856001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776390902000,"timestamp_ms":1776390902000,"timestamp_seconds":1776390902,"priority":1,"record_length":96,"hex_timestamp":"0000019d992610f0"} 
[2026-04-17 07:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755993856001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755993856001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:27:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:27:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755993856001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":46417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:27:32] local.INFO: GPS data processed {"connection_id":46417,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:27:32] local.INFO: Acknowledgment sent {"connection_id":46417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:27:44] local.INFO: TCP Data received {"connection_id":45851,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:27:44] local.INFO: Processing buffer {"connection_id":45851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9923ee10012d1b598006d4d5980011013831..."} 
[2026-04-17 07:27:44] local.INFO: Packet analysis {"connection_id":45851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9923"} 
[2026-04-17 07:27:44] local.INFO: Extracted packet for processing {"connection_id":45851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9923"} 
[2026-04-17 07:27:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:27: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-04-17 07:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755958016001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:27:44] 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-04-17 07:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776390762000,"timestamp_ms":1776390762000,"timestamp_seconds":1776390762,"priority":1,"record_length":96,"hex_timestamp":"0000019d9923ee10"} 
[2026-04-17 07:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:27:44] 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-04-17 07:27: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-04-17 07:27: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-04-17 07:27: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-04-17 07:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45851,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755958016001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755958016001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:27:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755958016001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":45851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19818,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:27:44] local.INFO: GPS data processed {"connection_id":45851,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:27:44] local.INFO: Acknowledgment sent {"connection_id":45851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:27:56] local.INFO: TCP Data received {"connection_id":45672,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:27:56] local.INFO: Processing buffer {"connection_id":45672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:27:56] local.INFO: IMEI packet received {"connection_id":45672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":45672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:28:01] local.INFO: TCP Data received {"connection_id":45672,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45672,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:28:01] local.INFO: Processing buffer {"connection_id":45672,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:28:01] local.INFO: IMEI packet received {"connection_id":45672,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":45672,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:28:02] local.INFO: TCP Data received {"connection_id":45672,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:28:02] local.INFO: Processing buffer {"connection_id":45672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:28:02] local.INFO: Packet analysis {"connection_id":45672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:28:02] local.INFO: Extracted packet for processing {"connection_id":45672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":11,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755993856001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776390902000,"timestamp_ms":1776390902000,"timestamp_seconds":1776390902,"priority":1,"record_length":96,"hex_timestamp":"0000019d992610f0"} 
[2026-04-17 07:28:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:28: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-04-17 07:28:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:28:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:28:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755993856001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755993856001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:28:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:28:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755993856001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":45672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:28:02] local.INFO: GPS data processed {"connection_id":45672,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:28:02] local.INFO: Acknowledgment sent {"connection_id":45672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:28:23] local.INFO: TCP Data received {"connection_id":46418,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:28:23] local.INFO: Processing buffer {"connection_id":46418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:28:23] local.INFO: IMEI packet received {"connection_id":46418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":46418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:28:23] local.INFO: TCP Data received {"connection_id":46418,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46418,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:28:23] local.INFO: Processing buffer {"connection_id":46418,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:28:23] local.INFO: IMEI packet received {"connection_id":46418,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:28:23] local.INFO: IMEI acknowledgment sent {"connection_id":46418,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:28:25] local.INFO: TCP Data received {"connection_id":46418,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:28:25] local.INFO: Processing buffer {"connection_id":46418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:28:25] local.INFO: Packet analysis {"connection_id":46418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:28:25] local.INFO: Extracted packet for processing {"connection_id":46418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:28:25] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:28:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756035072001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:28:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:28:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:28:25] 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-04-17 07:28:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776391063000,"timestamp_ms":1776391063000,"timestamp_seconds":1776391063,"priority":1,"record_length":96,"hex_timestamp":"0000019d992885d8"} 
[2026-04-17 07:28:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:28:25] 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-04-17 07:28:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:28:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:28:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:28:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:28:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:28:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:28:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:28:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:28:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:28:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:28:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756035072001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:28:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:28:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:28:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756035072001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:28:25] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:28:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:28:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:28:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756035072001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:28:25] local.INFO: DEBUG: GPS processor result {"connection_id":46418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19820,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:28:25] local.INFO: GPS data processed {"connection_id":46418,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:28:25] local.INFO: Acknowledgment sent {"connection_id":46418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:28:26] local.INFO: TCP Data received {"connection_id":46418,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46418,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:28:26] local.INFO: Processing buffer {"connection_id":46418,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:28:26] local.INFO: Packet analysis {"connection_id":46418,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:28:26] local.INFO: Extracted packet for processing {"connection_id":46418,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:28:26] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756035072001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:28:26] 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-04-17 07:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776391063000,"timestamp_ms":1776391063000,"timestamp_seconds":1776391063,"priority":1,"record_length":96,"hex_timestamp":"0000019d992885d8"} 
[2026-04-17 07:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:28:26] 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-04-17 07:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:28:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46418,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46418,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756035072001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756035072001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:28:26] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756035072001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:28:26] local.INFO: DEBUG: GPS processor result {"connection_id":46418,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19821,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:28:26] local.INFO: GPS data processed {"connection_id":46418,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:28:26] local.INFO: Acknowledgment sent {"connection_id":46418,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:28:33] local.INFO: TCP Data received {"connection_id":45672,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:28:33] local.INFO: Processing buffer {"connection_id":45672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:28:33] local.INFO: Packet analysis {"connection_id":45672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:28:33] local.INFO: Extracted packet for processing {"connection_id":45672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":11,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755993856001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776390902000,"timestamp_ms":1776390902000,"timestamp_seconds":1776390902,"priority":1,"record_length":96,"hex_timestamp":"0000019d992610f0"} 
[2026-04-17 07:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45672,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755993856001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755993856001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:28:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755993856001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":45672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:28:33] local.INFO: GPS data processed {"connection_id":45672,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:28:33] local.INFO: Acknowledgment sent {"connection_id":45672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:28:51] local.INFO: TCP Data received {"connection_id":45673,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:28:51] local.INFO: Processing buffer {"connection_id":45673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:28:51] local.INFO: IMEI packet received {"connection_id":45673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":45673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:28:56] local.INFO: TCP Data received {"connection_id":45673,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45673,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:28:56] local.INFO: Processing buffer {"connection_id":45673,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:28:56] local.INFO: IMEI packet received {"connection_id":45673,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":45673,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:28:57] local.INFO: TCP Data received {"connection_id":45673,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:28:57] local.INFO: Processing buffer {"connection_id":45673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:28:57] local.INFO: Packet analysis {"connection_id":45673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:28:57] local.INFO: Extracted packet for processing {"connection_id":45673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:28:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":11,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755993856001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776390902000,"timestamp_ms":1776390902000,"timestamp_seconds":1776390902,"priority":1,"record_length":96,"hex_timestamp":"0000019d992610f0"} 
[2026-04-17 07:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:28:57] 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-04-17 07:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755993856001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755993856001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:28:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:28:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755993856001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":45673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:28:57] local.INFO: GPS data processed {"connection_id":45673,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:28:57] local.INFO: Acknowledgment sent {"connection_id":45673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:29:05] local.INFO: TCP Data received {"connection_id":45590,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:29:05] local.INFO: Processing buffer {"connection_id":45590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:29:05] local.INFO: IMEI packet received {"connection_id":45590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":45590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:29:10] local.INFO: TCP Data received {"connection_id":45590,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:29:10] local.INFO: Processing buffer {"connection_id":45590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:29:10] local.INFO: IMEI packet received {"connection_id":45590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":45590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:29:12] local.INFO: TCP Data received {"connection_id":45590,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:29:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:29:12] local.INFO: Processing buffer {"connection_id":45590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:29:12] local.INFO: Packet analysis {"connection_id":45590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:29:12] local.INFO: Extracted packet for processing {"connection_id":45590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:29:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:29:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756035072001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:29:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:29:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:29:12] 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-04-17 07:29:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776391063000,"timestamp_ms":1776391063000,"timestamp_seconds":1776391063,"priority":1,"record_length":96,"hex_timestamp":"0000019d992885d8"} 
[2026-04-17 07:29:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:29: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-04-17 07:29:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:29: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-04-17 07:29:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:29:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:29:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:29:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:29:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:29:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:29:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:29:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:29:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:29:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756035072001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:29:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:29:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:29:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756035072001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:29:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:29:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:29:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:29:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756035072001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:29:12] local.INFO: DEBUG: GPS processor result {"connection_id":45590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19824,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:29:12] local.INFO: GPS data processed {"connection_id":45590,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:29:12] local.INFO: Acknowledgment sent {"connection_id":45590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:29:28] local.INFO: TCP Data received {"connection_id":45673,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:29:28] local.INFO: Processing buffer {"connection_id":45673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:29:28] local.INFO: Packet analysis {"connection_id":45673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:29:28] local.INFO: Extracted packet for processing {"connection_id":45673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:29:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":11,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755993856001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776390902000,"timestamp_ms":1776390902000,"timestamp_seconds":1776390902,"priority":1,"record_length":96,"hex_timestamp":"0000019d992610f0"} 
[2026-04-17 07:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45673,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:29:28] 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-04-17 07:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755993856001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755993856001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:29:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755993856001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":45673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:29:28] local.INFO: GPS data processed {"connection_id":45673,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:29:28] local.INFO: Acknowledgment sent {"connection_id":45673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:29:44] local.INFO: TCP Data received {"connection_id":45590,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:29:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:29:44] local.INFO: Processing buffer {"connection_id":45590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:29:44] local.INFO: Packet analysis {"connection_id":45590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:29:44] local.INFO: Extracted packet for processing {"connection_id":45590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:29:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:29:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756035072001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:29:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:29:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:29:44] 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-04-17 07:29:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776391063000,"timestamp_ms":1776391063000,"timestamp_seconds":1776391063,"priority":1,"record_length":96,"hex_timestamp":"0000019d992885d8"} 
[2026-04-17 07:29:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:29:44] 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-04-17 07: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:29: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-04-17 07: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-04-17 07:29:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:29:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:29:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:29:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:29:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:29:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:29:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:29:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:29:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756035072001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:29:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:29:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:29:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756035072001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:29:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:29:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:29:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:29:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756035072001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:29:44] local.INFO: DEBUG: GPS processor result {"connection_id":45590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19826,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:29:44] local.INFO: GPS data processed {"connection_id":45590,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:29:44] local.INFO: Acknowledgment sent {"connection_id":45590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:29:51] local.INFO: TCP Data received {"connection_id":46419,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:29:51] local.INFO: Processing buffer {"connection_id":46419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:29:51] local.INFO: IMEI packet received {"connection_id":46419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":46419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:29:56] local.INFO: TCP Data received {"connection_id":46419,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:29:56] local.INFO: Processing buffer {"connection_id":46419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:29:56] local.INFO: IMEI packet received {"connection_id":46419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":46419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:29:57] local.INFO: TCP Data received {"connection_id":46419,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:29:57] local.INFO: Processing buffer {"connection_id":46419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:29:57] local.INFO: Packet analysis {"connection_id":46419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:29:57] local.INFO: Extracted packet for processing {"connection_id":46419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:29:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":11,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755993856001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776390902000,"timestamp_ms":1776390902000,"timestamp_seconds":1776390902,"priority":1,"record_length":96,"hex_timestamp":"0000019d992610f0"} 
[2026-04-17 07:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755993856001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755993856001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:29:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:29:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755993856001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":46419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:29:57] local.INFO: GPS data processed {"connection_id":46419,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:29:57] local.INFO: Acknowledgment sent {"connection_id":46419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:30:10] local.INFO: TCP Data received {"connection_id":45674,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:30:10] local.INFO: Processing buffer {"connection_id":45674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:30:10] local.INFO: IMEI packet received {"connection_id":45674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":45674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:30:16] local.INFO: TCP Data received {"connection_id":45674,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:30:16] local.INFO: Processing buffer {"connection_id":45674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:30:16] local.INFO: IMEI packet received {"connection_id":45674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:30:16] local.INFO: IMEI acknowledgment sent {"connection_id":45674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:30:18] local.INFO: TCP Data received {"connection_id":45674,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:30:18] local.INFO: Processing buffer {"connection_id":45674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:30:18] local.INFO: Packet analysis {"connection_id":45674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:30:18] local.INFO: Extracted packet for processing {"connection_id":45674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:30:18] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756035072001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:30:18] 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-04-17 07:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776391063000,"timestamp_ms":1776391063000,"timestamp_seconds":1776391063,"priority":1,"record_length":96,"hex_timestamp":"0000019d992885d8"} 
[2026-04-17 07:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:30:18] 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-04-17 07:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:30:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756035072001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756035072001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:30:18] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756035072001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":45674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19828,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:30:18] local.INFO: GPS data processed {"connection_id":45674,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:30:18] local.INFO: Acknowledgment sent {"connection_id":45674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:30:21] local.INFO: TCP Data received {"connection_id":45674,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:30:21] local.INFO: Processing buffer {"connection_id":45674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:30:21] local.INFO: Packet analysis {"connection_id":45674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:30:21] local.INFO: Extracted packet for processing {"connection_id":45674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:30:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756035072001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:30:21] 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-04-17 07:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776391063000,"timestamp_ms":1776391063000,"timestamp_seconds":1776391063,"priority":1,"record_length":96,"hex_timestamp":"0000019d992885d8"} 
[2026-04-17 07:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:30:21] 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-04-17 07:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:30:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756035072001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756035072001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:30:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756035072001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":45674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19829,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:30:21] local.INFO: GPS data processed {"connection_id":45674,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:30:21] local.INFO: Acknowledgment sent {"connection_id":45674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:30:28] local.INFO: TCP Data received {"connection_id":46419,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:30:28] local.INFO: Processing buffer {"connection_id":46419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992610f0012d7fad4005afe350000b00942f..."} 
[2026-04-17 07:30:28] local.INFO: Packet analysis {"connection_id":46419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:30:28] local.INFO: Extracted packet for processing {"connection_id":46419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9926"} 
[2026-04-17 07:30:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":11,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454755993856001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776390902000,"timestamp_ms":1776390902000,"timestamp_seconds":1776390902,"priority":1,"record_length":96,"hex_timestamp":"0000019d992610f0"} 
[2026-04-17 07:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454755993856001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454755993856001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:30:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:30:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454755993856001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":46419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:30:28] local.INFO: GPS data processed {"connection_id":46419,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:30:28] local.INFO: Acknowledgment sent {"connection_id":46419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:30:51] local.INFO: TCP Data received {"connection_id":45852,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:30:51] local.INFO: Processing buffer {"connection_id":45852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:30:51] local.INFO: IMEI packet received {"connection_id":45852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":45852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:30:56] local.INFO: TCP Data received {"connection_id":45852,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:30:56] local.INFO: Processing buffer {"connection_id":45852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:30:56] local.INFO: IMEI packet received {"connection_id":45852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":45852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:30:57] local.INFO: TCP Data received {"connection_id":45852,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:30:57] local.INFO: Processing buffer {"connection_id":45852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:30:57] local.INFO: Packet analysis {"connection_id":45852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:30:57] local.INFO: Extracted packet for processing {"connection_id":45852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:30:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756070912001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776391203000,"timestamp_ms":1776391203000,"timestamp_seconds":1776391203,"priority":1,"record_length":96,"hex_timestamp":"0000019d992aa8b8"} 
[2026-04-17 07:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756070912001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756070912001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:30:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:30:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756070912001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":45852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:30:57] local.INFO: GPS data processed {"connection_id":45852,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:30:57] local.INFO: Acknowledgment sent {"connection_id":45852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:31:05] local.INFO: TCP Data received {"connection_id":45675,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:31:05] local.INFO: Processing buffer {"connection_id":45675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:31:05] local.INFO: IMEI packet received {"connection_id":45675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":45675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:31:13] local.INFO: TCP Data received {"connection_id":45675,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:31:13] local.INFO: Processing buffer {"connection_id":45675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:31:13] local.INFO: IMEI packet received {"connection_id":45675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:31:13] local.INFO: IMEI acknowledgment sent {"connection_id":45675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:31:14] local.INFO: TCP Data received {"connection_id":45675,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:31:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:31:14] local.INFO: Processing buffer {"connection_id":45675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:31:14] local.INFO: Packet analysis {"connection_id":45675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:31:14] local.INFO: Extracted packet for processing {"connection_id":45675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:31:14] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:31:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756035072001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:31:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:31:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:31:14] 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-04-17 07:31:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776391063000,"timestamp_ms":1776391063000,"timestamp_seconds":1776391063,"priority":1,"record_length":96,"hex_timestamp":"0000019d992885d8"} 
[2026-04-17 07:31:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:31:14] 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-04-17 07:31:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:31: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-04-17 07: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-04-17 07:31:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:31:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:31:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:31:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:31:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:31:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:31:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:31:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:31:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756035072001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:31:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:31:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:31:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756035072001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:31:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:31:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:31:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:31:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756035072001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:31:14] local.INFO: DEBUG: GPS processor result {"connection_id":45675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19832,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:31:14] local.INFO: GPS data processed {"connection_id":45675,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:31:14] local.INFO: Acknowledgment sent {"connection_id":45675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:31:28] local.INFO: TCP Data received {"connection_id":45852,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:31:28] local.INFO: Processing buffer {"connection_id":45852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:31:28] local.INFO: Packet analysis {"connection_id":45852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:31:28] local.INFO: Extracted packet for processing {"connection_id":45852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:31:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756070912001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776391203000,"timestamp_ms":1776391203000,"timestamp_seconds":1776391203,"priority":1,"record_length":96,"hex_timestamp":"0000019d992aa8b8"} 
[2026-04-17 07:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756070912001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756070912001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:31:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:31:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756070912001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":45852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:31:28] local.INFO: GPS data processed {"connection_id":45852,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:31:28] local.INFO: Acknowledgment sent {"connection_id":45852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:31:46] local.INFO: TCP Data received {"connection_id":45675,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:31:46] local.INFO: Processing buffer {"connection_id":45675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:31:46] local.INFO: Packet analysis {"connection_id":45675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:31:46] local.INFO: Extracted packet for processing {"connection_id":45675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:31:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756035072001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:31:46] 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-04-17 07:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776391063000,"timestamp_ms":1776391063000,"timestamp_seconds":1776391063,"priority":1,"record_length":96,"hex_timestamp":"0000019d992885d8"} 
[2026-04-17 07:31:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:31:46] 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-04-17 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:31:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756035072001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756035072001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:31:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756035072001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":45675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19834,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:31:46] local.INFO: GPS data processed {"connection_id":45675,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:31:46] local.INFO: Acknowledgment sent {"connection_id":45675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:31:51] local.INFO: TCP Data received {"connection_id":45676,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:31:51] local.INFO: Processing buffer {"connection_id":45676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:31:51] local.INFO: IMEI packet received {"connection_id":45676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":45676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:31:56] local.INFO: TCP Data received {"connection_id":45676,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45676,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:31:56] local.INFO: Processing buffer {"connection_id":45676,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:31:56] local.INFO: IMEI packet received {"connection_id":45676,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":45676,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:31:57] local.INFO: TCP Data received {"connection_id":45676,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:31:57] local.INFO: Processing buffer {"connection_id":45676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:31:57] local.INFO: Packet analysis {"connection_id":45676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:31:57] local.INFO: Extracted packet for processing {"connection_id":45676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756070912001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776391203000,"timestamp_ms":1776391203000,"timestamp_seconds":1776391203,"priority":1,"record_length":96,"hex_timestamp":"0000019d992aa8b8"} 
[2026-04-17 07:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756070912001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756070912001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:31:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:31:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756070912001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":45676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:31:57] local.INFO: GPS data processed {"connection_id":45676,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:31:57] local.INFO: Acknowledgment sent {"connection_id":45676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:32:05] local.INFO: TCP Data received {"connection_id":45591,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:32:05] local.INFO: Processing buffer {"connection_id":45591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:32:05] local.INFO: IMEI packet received {"connection_id":45591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":45591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:32:10] local.INFO: TCP Data received {"connection_id":45591,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45591,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:32:10] local.INFO: Processing buffer {"connection_id":45591,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:32:10] local.INFO: IMEI packet received {"connection_id":45591,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":45591,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:32:12] local.INFO: TCP Data received {"connection_id":45591,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:32:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:32:12] local.INFO: Processing buffer {"connection_id":45591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:32:12] local.INFO: Packet analysis {"connection_id":45591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:32:12] local.INFO: Extracted packet for processing {"connection_id":45591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:32:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:32:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756035072001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:32:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:32:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:32:12] 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-04-17 07:32:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776391063000,"timestamp_ms":1776391063000,"timestamp_seconds":1776391063,"priority":1,"record_length":96,"hex_timestamp":"0000019d992885d8"} 
[2026-04-17 07:32:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:32: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-04-17 07: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:32: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-04-17 07: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-04-17 07:32:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:32:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:32:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:32:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:32:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:32:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:32:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:32:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:32:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756035072001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:32:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:32:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:32:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756035072001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:32:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:32:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:32:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:32:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756035072001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:32:12] local.INFO: DEBUG: GPS processor result {"connection_id":45591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19836,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:32:12] local.INFO: GPS data processed {"connection_id":45591,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:32:12] local.INFO: Acknowledgment sent {"connection_id":45591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:32:29] local.INFO: TCP Data received {"connection_id":45676,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:32:29] local.INFO: Processing buffer {"connection_id":45676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:32:29] local.INFO: Packet analysis {"connection_id":45676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:32:29] local.INFO: Extracted packet for processing {"connection_id":45676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756070912001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776391203000,"timestamp_ms":1776391203000,"timestamp_seconds":1776391203,"priority":1,"record_length":96,"hex_timestamp":"0000019d992aa8b8"} 
[2026-04-17 07:32:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:32:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45676,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:32: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-04-17 07:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756070912001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756070912001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:32:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:32:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756070912001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":45676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:32:29] local.INFO: GPS data processed {"connection_id":45676,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:32:29] local.INFO: Acknowledgment sent {"connection_id":45676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:32:44] local.INFO: TCP Data received {"connection_id":45591,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:32:44] local.INFO: Processing buffer {"connection_id":45591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:32:44] local.INFO: Packet analysis {"connection_id":45591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:32:44] local.INFO: Extracted packet for processing {"connection_id":45591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:32:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756035072001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:32:44] 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-04-17 07:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776391063000,"timestamp_ms":1776391063000,"timestamp_seconds":1776391063,"priority":1,"record_length":96,"hex_timestamp":"0000019d992885d8"} 
[2026-04-17 07:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:32:44] 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-04-17 07:32:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:32: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-04-17 07:32:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45591,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756035072001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756035072001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:32:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756035072001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":45591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19838,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:32:44] local.INFO: GPS data processed {"connection_id":45591,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:32:44] local.INFO: Acknowledgment sent {"connection_id":45591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:32:51] local.INFO: TCP Data received {"connection_id":45592,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:32:51] local.INFO: Processing buffer {"connection_id":45592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:32:51] local.INFO: IMEI packet received {"connection_id":45592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":45592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:32:56] local.INFO: TCP Data received {"connection_id":45592,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45592,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:32:56] local.INFO: Processing buffer {"connection_id":45592,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:32:56] local.INFO: IMEI packet received {"connection_id":45592,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":45592,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:32:57] local.INFO: TCP Data received {"connection_id":45592,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:32:57] local.INFO: Processing buffer {"connection_id":45592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:32:57] local.INFO: Packet analysis {"connection_id":45592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:32:57] local.INFO: Extracted packet for processing {"connection_id":45592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:32:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756070912001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776391203000,"timestamp_ms":1776391203000,"timestamp_seconds":1776391203,"priority":1,"record_length":96,"hex_timestamp":"0000019d992aa8b8"} 
[2026-04-17 07:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:32:57] 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-04-17 07:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756070912001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756070912001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:32:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756070912001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":45592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:32:57] local.INFO: GPS data processed {"connection_id":45592,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:32:57] local.INFO: Acknowledgment sent {"connection_id":45592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:33:12] local.INFO: TCP Data received {"connection_id":45853,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:33:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:33:12] local.INFO: Processing buffer {"connection_id":45853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:33:12] local.INFO: IMEI packet received {"connection_id":45853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:33:12] local.INFO: IMEI acknowledgment sent {"connection_id":45853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:33:16] local.INFO: TCP Data received {"connection_id":45853,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45853,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:33:16] local.INFO: Processing buffer {"connection_id":45853,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:33:16] local.INFO: IMEI packet received {"connection_id":45853,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:33:16] local.INFO: IMEI acknowledgment sent {"connection_id":45853,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:33:17] local.INFO: TCP Data received {"connection_id":45853,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:33:17] local.INFO: Processing buffer {"connection_id":45853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:33:17] local.INFO: Packet analysis {"connection_id":45853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:33:17] local.INFO: Extracted packet for processing {"connection_id":45853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:33:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:33:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756035072001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:33:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:33:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:33:17] 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-04-17 07:33:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776391063000,"timestamp_ms":1776391063000,"timestamp_seconds":1776391063,"priority":1,"record_length":96,"hex_timestamp":"0000019d992885d8"} 
[2026-04-17 07:33:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:33:17] 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-04-17 07:33:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:33:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:33:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:33:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:33:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:33:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:33:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:33:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:33:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:33:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:33:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:33:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756035072001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:33:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:33:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:33:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756035072001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:33:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:33:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:33:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:33:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756035072001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:33:17] local.INFO: DEBUG: GPS processor result {"connection_id":45853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19840,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:33:17] local.INFO: GPS data processed {"connection_id":45853,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:33:17] local.INFO: Acknowledgment sent {"connection_id":45853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:33:22] local.INFO: TCP Data received {"connection_id":45853,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:33:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:33:22] local.INFO: Processing buffer {"connection_id":45853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992885d8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:33:22] local.INFO: Packet analysis {"connection_id":45853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:33:22] local.INFO: Extracted packet for processing {"connection_id":45853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9928"} 
[2026-04-17 07:33:22] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:33:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756035072001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:33:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:33:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:33:22] 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-04-17 07:33:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776391063000,"timestamp_ms":1776391063000,"timestamp_seconds":1776391063,"priority":1,"record_length":96,"hex_timestamp":"0000019d992885d8"} 
[2026-04-17 07:33:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:33:22] 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-04-17 07:33:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:33:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:33:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:33:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:33:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:33:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:33:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:33:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45853,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:33:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:33:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:33:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:33:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756035072001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:33:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:33:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:33:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756035072001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:33:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:33:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:33:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:33:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756035072001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:33:22] local.INFO: DEBUG: GPS processor result {"connection_id":45853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19841,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:33:22] local.INFO: GPS data processed {"connection_id":45853,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:33:22] local.INFO: Acknowledgment sent {"connection_id":45853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:33:28] local.INFO: TCP Data received {"connection_id":45592,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:33:28] local.INFO: Processing buffer {"connection_id":45592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:33:28] local.INFO: Packet analysis {"connection_id":45592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:33:28] local.INFO: Extracted packet for processing {"connection_id":45592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:33:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756070912001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776391203000,"timestamp_ms":1776391203000,"timestamp_seconds":1776391203,"priority":1,"record_length":96,"hex_timestamp":"0000019d992aa8b8"} 
[2026-04-17 07:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45592,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:33:28] 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-04-17 07:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756070912001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756070912001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:33:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756070912001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":45592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19842,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:33:28] local.INFO: GPS data processed {"connection_id":45592,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:33:28] local.INFO: Acknowledgment sent {"connection_id":45592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:33:51] local.INFO: TCP Data received {"connection_id":45854,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:33:51] local.INFO: Processing buffer {"connection_id":45854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:33:51] local.INFO: IMEI packet received {"connection_id":45854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":45854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:33:56] local.INFO: TCP Data received {"connection_id":45854,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:33:56] local.INFO: Processing buffer {"connection_id":45854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:33:56] local.INFO: IMEI packet received {"connection_id":45854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":45854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:33:57] local.INFO: TCP Data received {"connection_id":45854,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:33:57] local.INFO: Processing buffer {"connection_id":45854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:33:57] local.INFO: Packet analysis {"connection_id":45854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:33:57] local.INFO: Extracted packet for processing {"connection_id":45854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:33:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756070912001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776391203000,"timestamp_ms":1776391203000,"timestamp_seconds":1776391203,"priority":1,"record_length":96,"hex_timestamp":"0000019d992aa8b8"} 
[2026-04-17 07:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756070912001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756070912001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:33:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:33:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756070912001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":45854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:33:57] local.INFO: GPS data processed {"connection_id":45854,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:33:57] local.INFO: Acknowledgment sent {"connection_id":45854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:34:10] local.INFO: TCP Data received {"connection_id":46420,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:34:10] local.INFO: Processing buffer {"connection_id":46420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:34:10] local.INFO: IMEI packet received {"connection_id":46420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":46420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:34:17] local.INFO: TCP Data received {"connection_id":46420,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46420,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:34:17] local.INFO: Processing buffer {"connection_id":46420,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:34:17] local.INFO: IMEI packet received {"connection_id":46420,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":46420,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:34:18] local.INFO: TCP Data received {"connection_id":46420,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:34:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:34:18] local.INFO: Processing buffer {"connection_id":46420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:34:18] local.INFO: Packet analysis {"connection_id":46420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992d"} 
[2026-04-17 07:34:18] local.INFO: Extracted packet for processing {"connection_id":46420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992d"} 
[2026-04-17 07:34:18] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:34:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756112128001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:34:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:34:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:34:18] 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-04-17 07:34:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776391364000,"timestamp_ms":1776391364000,"timestamp_seconds":1776391364,"priority":1,"record_length":96,"hex_timestamp":"0000019d992d1da0"} 
[2026-04-17 07:34:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:34:18] 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-04-17 07:34:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:34:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:34:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:34:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:34:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:34:18] local.INFO: Teltonika packet parsed successfully {"connection_id":46420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:34:18] local.INFO: Passing IMEI to GPS processor {"connection_id":46420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:34:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":46420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:34:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:34:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:34:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:34:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756112128001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:34:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:34:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:34:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756112128001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:34:18] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:34:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:34:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:34:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756112128001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:34:18] local.INFO: DEBUG: GPS processor result {"connection_id":46420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19844,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:34:18] local.INFO: GPS data processed {"connection_id":46420,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:34:18] local.INFO: Acknowledgment sent {"connection_id":46420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:34:28] local.INFO: TCP Data received {"connection_id":45854,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:34:28] local.INFO: Processing buffer {"connection_id":45854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:34:28] local.INFO: Packet analysis {"connection_id":45854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:34:28] local.INFO: Extracted packet for processing {"connection_id":45854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:34:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756070912001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776391203000,"timestamp_ms":1776391203000,"timestamp_seconds":1776391203,"priority":1,"record_length":96,"hex_timestamp":"0000019d992aa8b8"} 
[2026-04-17 07:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756070912001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756070912001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:34:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756070912001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":45854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:34:28] local.INFO: GPS data processed {"connection_id":45854,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:34:28] local.INFO: Acknowledgment sent {"connection_id":45854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:34:50] local.INFO: TCP Data received {"connection_id":46420,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46420,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:34:50] local.INFO: Processing buffer {"connection_id":46420,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:34:50] local.INFO: Packet analysis {"connection_id":46420,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992d"} 
[2026-04-17 07:34:50] local.INFO: Extracted packet for processing {"connection_id":46420,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992d"} 
[2026-04-17 07:34:50] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756112128001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:34:50] 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-04-17 07:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776391364000,"timestamp_ms":1776391364000,"timestamp_seconds":1776391364,"priority":1,"record_length":96,"hex_timestamp":"0000019d992d1da0"} 
[2026-04-17 07:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:34:50] 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-04-17 07:34:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:34:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:34:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":46420,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":46420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":46420,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:34:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756112128001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:34:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:34:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:34:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756112128001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:34:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:34:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:34:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:34:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756112128001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":46420,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19846,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:34:50] local.INFO: GPS data processed {"connection_id":46420,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:34:50] local.INFO: Acknowledgment sent {"connection_id":46420,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:34:52] local.INFO: TCP Data received {"connection_id":45593,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:34:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:34:52] local.INFO: Processing buffer {"connection_id":45593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:34:52] local.INFO: IMEI packet received {"connection_id":45593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:34:52] local.INFO: IMEI acknowledgment sent {"connection_id":45593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:34:56] local.INFO: TCP Data received {"connection_id":45593,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45593,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:34:56] local.INFO: Processing buffer {"connection_id":45593,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:34:56] local.INFO: IMEI packet received {"connection_id":45593,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":45593,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:34:57] local.INFO: TCP Data received {"connection_id":45593,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:34:57] local.INFO: Processing buffer {"connection_id":45593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:34:57] local.INFO: Packet analysis {"connection_id":45593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:34:57] local.INFO: Extracted packet for processing {"connection_id":45593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:34:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756070912001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776391203000,"timestamp_ms":1776391203000,"timestamp_seconds":1776391203,"priority":1,"record_length":96,"hex_timestamp":"0000019d992aa8b8"} 
[2026-04-17 07:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756070912001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756070912001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:34:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:34:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756070912001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":45593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:34:57] local.INFO: GPS data processed {"connection_id":45593,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:34:57] local.INFO: Acknowledgment sent {"connection_id":45593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:35:11] local.INFO: TCP Data received {"connection_id":45677,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:35:11] local.INFO: Processing buffer {"connection_id":45677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:35:11] local.INFO: IMEI packet received {"connection_id":45677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:35:11] local.INFO: IMEI acknowledgment sent {"connection_id":45677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:35:16] local.INFO: TCP Data received {"connection_id":45677,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45677,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:35:16] local.INFO: Processing buffer {"connection_id":45677,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:35:16] local.INFO: IMEI packet received {"connection_id":45677,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:35:16] local.INFO: IMEI acknowledgment sent {"connection_id":45677,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:35:19] local.INFO: TCP Data received {"connection_id":45677,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:35:19] local.INFO: Processing buffer {"connection_id":45677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:35:19] local.INFO: Packet analysis {"connection_id":45677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992d"} 
[2026-04-17 07:35:19] local.INFO: Extracted packet for processing {"connection_id":45677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992d"} 
[2026-04-17 07:35:19] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:35:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756112128001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:35:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:35:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:35:19] 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-04-17 07:35:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776391364000,"timestamp_ms":1776391364000,"timestamp_seconds":1776391364,"priority":1,"record_length":96,"hex_timestamp":"0000019d992d1da0"} 
[2026-04-17 07:35:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:35:19] 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-04-17 07:35:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:35:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:35:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:35:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:35:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:35:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:35:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:35:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:35:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:35:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:35:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:35:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756112128001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:35:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:35:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:35:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756112128001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:35:19] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:35:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:35:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:35:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756112128001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:35:19] local.INFO: DEBUG: GPS processor result {"connection_id":45677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19848,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:35:19] local.INFO: GPS data processed {"connection_id":45677,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:35:19] local.INFO: Acknowledgment sent {"connection_id":45677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:35:21] local.INFO: TCP Data received {"connection_id":45677,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:35:21] local.INFO: Processing buffer {"connection_id":45677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:35:21] local.INFO: Packet analysis {"connection_id":45677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992d"} 
[2026-04-17 07:35:21] local.INFO: Extracted packet for processing {"connection_id":45677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992d"} 
[2026-04-17 07:35:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 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-04-17 07:35:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756112128001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:35:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:35:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:35:21] 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-04-17 07:35:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776391364000,"timestamp_ms":1776391364000,"timestamp_seconds":1776391364,"priority":1,"record_length":96,"hex_timestamp":"0000019d992d1da0"} 
[2026-04-17 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-04-17 07:35:21] 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-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:35:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 07:35:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:35:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:35:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:35:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45677,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:35:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:35:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:35:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:35:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756112128001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:35:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:35:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:35:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756112128001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:35:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:35:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:35:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:35:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756112128001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:35:21] local.INFO: DEBUG: GPS processor result {"connection_id":45677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19849,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:35:21] local.INFO: GPS data processed {"connection_id":45677,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:35:21] local.INFO: Acknowledgment sent {"connection_id":45677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:35:28] local.INFO: TCP Data received {"connection_id":45593,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:35:28] local.INFO: Processing buffer {"connection_id":45593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992aa8b8012d7fad4005afe350000000942c..."} 
[2026-04-17 07:35:28] local.INFO: Packet analysis {"connection_id":45593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:35:28] local.INFO: Extracted packet for processing {"connection_id":45593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992a"} 
[2026-04-17 07:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756070912001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776391203000,"timestamp_ms":1776391203000,"timestamp_seconds":1776391203,"priority":1,"record_length":96,"hex_timestamp":"0000019d992aa8b8"} 
[2026-04-17 07:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45593,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756070912001,"66":25462,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756070912001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:35:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756070912001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":45593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:35:28] local.INFO: GPS data processed {"connection_id":45593,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:35:28] local.INFO: Acknowledgment sent {"connection_id":45593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:35:51] local.INFO: TCP Data received {"connection_id":46421,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:35:51] local.INFO: Processing buffer {"connection_id":46421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:35:51] local.INFO: IMEI packet received {"connection_id":46421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":46421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:35:56] local.INFO: TCP Data received {"connection_id":46421,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:35:56] local.INFO: Processing buffer {"connection_id":46421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:35:56] local.INFO: IMEI packet received {"connection_id":46421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":46421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:35:57] local.INFO: TCP Data received {"connection_id":46421,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:35:57] local.INFO: Processing buffer {"connection_id":46421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:35:57] local.INFO: Packet analysis {"connection_id":46421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:35:57] local.INFO: Extracted packet for processing {"connection_id":46421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:35:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756147968001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776391504000,"timestamp_ms":1776391504000,"timestamp_seconds":1776391504,"priority":1,"record_length":96,"hex_timestamp":"0000019d992f4080"} 
[2026-04-17 07:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:35:57] 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-04-17 07:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756147968001,"66":25419,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756147968001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:35:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:35:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756147968001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":46421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:35:57] local.INFO: GPS data processed {"connection_id":46421,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:35:57] local.INFO: Acknowledgment sent {"connection_id":46421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:36:08] local.INFO: TCP Data received {"connection_id":45594,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:36:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:36:08] local.INFO: Processing buffer {"connection_id":45594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:36:08] local.INFO: IMEI packet received {"connection_id":45594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:36:08] local.INFO: IMEI acknowledgment sent {"connection_id":45594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:36:10] local.INFO: TCP Data received {"connection_id":45594,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45594,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:36:10] local.INFO: Processing buffer {"connection_id":45594,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:36:10] local.INFO: IMEI packet received {"connection_id":45594,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":45594,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:36:11] local.INFO: TCP Data received {"connection_id":45594,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:36:11] local.INFO: Processing buffer {"connection_id":45594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:36:11] local.INFO: Packet analysis {"connection_id":45594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992d"} 
[2026-04-17 07:36:11] local.INFO: Extracted packet for processing {"connection_id":45594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992d"} 
[2026-04-17 07:36:11] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:36:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756112128001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:36:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:36:11] 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-04-17 07:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776391364000,"timestamp_ms":1776391364000,"timestamp_seconds":1776391364,"priority":1,"record_length":96,"hex_timestamp":"0000019d992d1da0"} 
[2026-04-17 07:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:36:11] 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-04-17 07: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:36: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-04-17 07: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-04-17 07:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756112128001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756112128001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:36:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:36:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:36:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756112128001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":45594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19852,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:36:11] local.INFO: GPS data processed {"connection_id":45594,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:36:11] local.INFO: Acknowledgment sent {"connection_id":45594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:36:28] local.INFO: TCP Data received {"connection_id":46421,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:36:28] local.INFO: Processing buffer {"connection_id":46421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:36:28] local.INFO: Packet analysis {"connection_id":46421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:36:28] local.INFO: Extracted packet for processing {"connection_id":46421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756147968001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776391504000,"timestamp_ms":1776391504000,"timestamp_seconds":1776391504,"priority":1,"record_length":96,"hex_timestamp":"0000019d992f4080"} 
[2026-04-17 07:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756147968001,"66":25419,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756147968001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:36:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756147968001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":46421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:36:28] local.INFO: GPS data processed {"connection_id":46421,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:36:28] local.INFO: Acknowledgment sent {"connection_id":46421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:36:36] local.INFO: TCP Data received {"connection_id":45594,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:36:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:36:36] local.INFO: Processing buffer {"connection_id":45594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:36:36] local.INFO: Packet analysis {"connection_id":45594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992d"} 
[2026-04-17 07:36:36] local.INFO: Extracted packet for processing {"connection_id":45594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992d"} 
[2026-04-17 07:36:36] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:36:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756112128001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:36:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:36:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:36: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-04-17 07:36:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776391364000,"timestamp_ms":1776391364000,"timestamp_seconds":1776391364,"priority":1,"record_length":96,"hex_timestamp":"0000019d992d1da0"} 
[2026-04-17 07:36:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:36:36] 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-04-17 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:36:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:36:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:36:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:36:36] local.INFO: Teltonika packet parsed successfully {"connection_id":45594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:36:36] local.INFO: Passing IMEI to GPS processor {"connection_id":45594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:36:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":45594,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:36:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:36:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:36:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:36:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756112128001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:36:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:36:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:36:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756112128001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:36:36] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:36:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:36:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:36:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756112128001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:36:36] local.INFO: DEBUG: GPS processor result {"connection_id":45594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19854,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:36:36] local.INFO: GPS data processed {"connection_id":45594,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:36:36] local.INFO: Acknowledgment sent {"connection_id":45594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:36:51] local.INFO: TCP Data received {"connection_id":45595,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:36:51] local.INFO: Processing buffer {"connection_id":45595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:36:51] local.INFO: IMEI packet received {"connection_id":45595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":45595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:36:56] local.INFO: TCP Data received {"connection_id":45595,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45595,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:36:56] local.INFO: Processing buffer {"connection_id":45595,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:36:56] local.INFO: IMEI packet received {"connection_id":45595,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":45595,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:36:57] local.INFO: TCP Data received {"connection_id":45595,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:36:57] local.INFO: Processing buffer {"connection_id":45595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:36:57] local.INFO: Packet analysis {"connection_id":45595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:36:57] local.INFO: Extracted packet for processing {"connection_id":45595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:36:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756147968001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776391504000,"timestamp_ms":1776391504000,"timestamp_seconds":1776391504,"priority":1,"record_length":96,"hex_timestamp":"0000019d992f4080"} 
[2026-04-17 07:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756147968001,"66":25419,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756147968001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:36:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:36:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756147968001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":45595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:36:57] local.INFO: GPS data processed {"connection_id":45595,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:36:57] local.INFO: Acknowledgment sent {"connection_id":45595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:37:05] local.INFO: TCP Data received {"connection_id":45855,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:37:05] local.INFO: Processing buffer {"connection_id":45855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:37:05] local.INFO: IMEI packet received {"connection_id":45855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":45855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:37:10] local.INFO: TCP Data received {"connection_id":45855,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45855,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:37:10] local.INFO: Processing buffer {"connection_id":45855,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:37:10] local.INFO: IMEI packet received {"connection_id":45855,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":45855,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:37:12] local.INFO: TCP Data received {"connection_id":45855,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:37:12] local.INFO: Processing buffer {"connection_id":45855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:37:12] local.INFO: Packet analysis {"connection_id":45855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992d"} 
[2026-04-17 07:37:12] local.INFO: Extracted packet for processing {"connection_id":45855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992d"} 
[2026-04-17 07:37:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756112128001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:37:12] 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-04-17 07:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776391364000,"timestamp_ms":1776391364000,"timestamp_seconds":1776391364,"priority":1,"record_length":96,"hex_timestamp":"0000019d992d1da0"} 
[2026-04-17 07:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:37: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-04-17 07:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:37: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-04-17 07:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756112128001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756112128001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:37:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756112128001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":45855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19856,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:37:12] local.INFO: GPS data processed {"connection_id":45855,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:37:12] local.INFO: Acknowledgment sent {"connection_id":45855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:37:29] local.INFO: TCP Data received {"connection_id":45595,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:37:29] local.INFO: Processing buffer {"connection_id":45595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:37:29] local.INFO: Packet analysis {"connection_id":45595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:37:29] local.INFO: Extracted packet for processing {"connection_id":45595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:37:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756147968001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776391504000,"timestamp_ms":1776391504000,"timestamp_seconds":1776391504,"priority":1,"record_length":96,"hex_timestamp":"0000019d992f4080"} 
[2026-04-17 07:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45595,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756147968001,"66":25419,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756147968001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:37:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:37:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756147968001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":45595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:37:29] local.INFO: GPS data processed {"connection_id":45595,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:37:29] local.INFO: Acknowledgment sent {"connection_id":45595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:37:43] local.INFO: TCP Data received {"connection_id":45855,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:37:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:37:43] local.INFO: Processing buffer {"connection_id":45855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:37:43] local.INFO: Packet analysis {"connection_id":45855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992d"} 
[2026-04-17 07:37:43] local.INFO: Extracted packet for processing {"connection_id":45855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992d"} 
[2026-04-17 07:37:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:37:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756112128001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:37:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:37:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:37:43] 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-04-17 07:37:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776391364000,"timestamp_ms":1776391364000,"timestamp_seconds":1776391364,"priority":1,"record_length":96,"hex_timestamp":"0000019d992d1da0"} 
[2026-04-17 07:37:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:37:43] 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-04-17 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:37: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-04-17 07: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-04-17 07:37:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:37:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:37:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:37:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:37:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45855,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:37:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:37:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:37:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:37:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756112128001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:37:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:37:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:37:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756112128001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:37:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:37:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:37:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:37:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756112128001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":45855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19858,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:37:44] local.INFO: GPS data processed {"connection_id":45855,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:37:44] local.INFO: Acknowledgment sent {"connection_id":45855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:37:51] local.INFO: TCP Data received {"connection_id":45596,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:37:51] local.INFO: Processing buffer {"connection_id":45596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:37:51] local.INFO: IMEI packet received {"connection_id":45596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":45596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:37:56] local.INFO: TCP Data received {"connection_id":45596,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45596,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:37:56] local.INFO: Processing buffer {"connection_id":45596,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:37:56] local.INFO: IMEI packet received {"connection_id":45596,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":45596,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:37:57] local.INFO: TCP Data received {"connection_id":45596,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:37:57] local.INFO: Processing buffer {"connection_id":45596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:37:57] local.INFO: Packet analysis {"connection_id":45596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:37:57] local.INFO: Extracted packet for processing {"connection_id":45596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:37:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756147968001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776391504000,"timestamp_ms":1776391504000,"timestamp_seconds":1776391504,"priority":1,"record_length":96,"hex_timestamp":"0000019d992f4080"} 
[2026-04-17 07:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756147968001,"66":25419,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756147968001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:37:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:37:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756147968001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":45596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:37:57] local.INFO: GPS data processed {"connection_id":45596,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:37:57] local.INFO: Acknowledgment sent {"connection_id":45596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:38:05] local.INFO: TCP Data received {"connection_id":46422,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:38:05] local.INFO: Processing buffer {"connection_id":46422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:38:05] local.INFO: IMEI packet received {"connection_id":46422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":46422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:38:10] local.INFO: TCP Data received {"connection_id":46422,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46422,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:38:10] local.INFO: Processing buffer {"connection_id":46422,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:38:10] local.INFO: IMEI packet received {"connection_id":46422,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":46422,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:38:12] local.INFO: TCP Data received {"connection_id":46422,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:38:12] local.INFO: Processing buffer {"connection_id":46422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992d1da0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:38:12] local.INFO: Packet analysis {"connection_id":46422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992d"} 
[2026-04-17 07:38:12] local.INFO: Extracted packet for processing {"connection_id":46422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992d"} 
[2026-04-17 07:38:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756112128001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:38:12] 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-04-17 07:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776391364000,"timestamp_ms":1776391364000,"timestamp_seconds":1776391364,"priority":1,"record_length":96,"hex_timestamp":"0000019d992d1da0"} 
[2026-04-17 07:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:38: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-04-17 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:38: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-04-17 07: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-04-17 07:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756112128001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756112128001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:38:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756112128001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:38:13] local.INFO: DEBUG: GPS processor result {"connection_id":46422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19860,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:38:13] local.INFO: GPS data processed {"connection_id":46422,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:38:13] local.INFO: Acknowledgment sent {"connection_id":46422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:38:28] local.INFO: TCP Data received {"connection_id":45596,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:38:28] local.INFO: Processing buffer {"connection_id":45596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:38:28] local.INFO: Packet analysis {"connection_id":45596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:38:28] local.INFO: Extracted packet for processing {"connection_id":45596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:38:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756147968001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776391504000,"timestamp_ms":1776391504000,"timestamp_seconds":1776391504,"priority":1,"record_length":96,"hex_timestamp":"0000019d992f4080"} 
[2026-04-17 07:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45596,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756147968001,"66":25419,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756147968001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:38:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:38:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756147968001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":45596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:38:28] local.INFO: GPS data processed {"connection_id":45596,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:38:28] local.INFO: Acknowledgment sent {"connection_id":45596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:38:45] local.INFO: TCP Data received {"connection_id":46422,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46422,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:38:45] local.INFO: Processing buffer {"connection_id":46422,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:38:45] local.INFO: Packet analysis {"connection_id":46422,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:38:45] local.INFO: Extracted packet for processing {"connection_id":46422,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:38:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756189184001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:38:45] 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-04-17 07:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776391665000,"timestamp_ms":1776391665000,"timestamp_seconds":1776391665,"priority":1,"record_length":96,"hex_timestamp":"0000019d9931b568"} 
[2026-04-17 07:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:38:45] 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-04-17 07:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:38:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46422,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46422,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756189184001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756189184001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:38:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756189184001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":46422,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19862,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:38:45] local.INFO: GPS data processed {"connection_id":46422,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:38:45] local.INFO: Acknowledgment sent {"connection_id":46422,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:38:52] local.INFO: TCP Data received {"connection_id":45856,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:38:52] local.INFO: Processing buffer {"connection_id":45856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:38:52] local.INFO: IMEI packet received {"connection_id":45856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:38:52] local.INFO: IMEI acknowledgment sent {"connection_id":45856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:38:56] local.INFO: TCP Data received {"connection_id":45856,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:38:56] local.INFO: Processing buffer {"connection_id":45856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:38:56] local.INFO: IMEI packet received {"connection_id":45856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":45856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:38:57] local.INFO: TCP Data received {"connection_id":45856,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:38:57] local.INFO: Processing buffer {"connection_id":45856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:38:57] local.INFO: Packet analysis {"connection_id":45856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:38:57] local.INFO: Extracted packet for processing {"connection_id":45856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 07:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756147968001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776391504000,"timestamp_ms":1776391504000,"timestamp_seconds":1776391504,"priority":1,"record_length":96,"hex_timestamp":"0000019d992f4080"} 
[2026-04-17 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-04-17 07:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 07:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756147968001,"66":25419,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756147968001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:38:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756147968001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":45856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:38:57] local.INFO: GPS data processed {"connection_id":45856,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:38:57] local.INFO: Acknowledgment sent {"connection_id":45856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:39:08] local.INFO: TCP Data received {"connection_id":46423,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:39:08] local.INFO: Processing buffer {"connection_id":46423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:39:08] local.INFO: IMEI packet received {"connection_id":46423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":46423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:39:10] local.INFO: TCP Data received {"connection_id":46423,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:39:10] local.INFO: Processing buffer {"connection_id":46423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:39:10] local.INFO: IMEI packet received {"connection_id":46423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":46423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:39:11] local.INFO: TCP Data received {"connection_id":46423,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:39:11] local.INFO: Processing buffer {"connection_id":46423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:39:11] local.INFO: Packet analysis {"connection_id":46423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:39:11] local.INFO: Extracted packet for processing {"connection_id":46423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:39:11] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756189184001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:39:11] 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-04-17 07:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776391665000,"timestamp_ms":1776391665000,"timestamp_seconds":1776391665,"priority":1,"record_length":96,"hex_timestamp":"0000019d9931b568"} 
[2026-04-17 07:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:39:11] 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-04-17 07: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:39: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-04-17 07: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-04-17 07:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756189184001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756189184001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:39:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756189184001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":46423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19864,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:39:11] local.INFO: GPS data processed {"connection_id":46423,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:39:11] local.INFO: Acknowledgment sent {"connection_id":46423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:39:16] local.INFO: TCP Data received {"connection_id":46423,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:39:16] local.INFO: Processing buffer {"connection_id":46423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:39:16] local.INFO: Packet analysis {"connection_id":46423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:39:16] local.INFO: Extracted packet for processing {"connection_id":46423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:39:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756189184001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:39:16] 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-04-17 07:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776391665000,"timestamp_ms":1776391665000,"timestamp_seconds":1776391665,"priority":1,"record_length":96,"hex_timestamp":"0000019d9931b568"} 
[2026-04-17 07:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:39:16] 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-04-17 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:39:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:39:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756189184001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:39:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:39:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:39:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756189184001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:39:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:39:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:39:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:39:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756189184001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":46423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19865,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:39:16] local.INFO: GPS data processed {"connection_id":46423,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:39:16] local.INFO: Acknowledgment sent {"connection_id":46423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:39:29] local.INFO: TCP Data received {"connection_id":45856,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:39:29] local.INFO: Processing buffer {"connection_id":45856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:39:29] local.INFO: Packet analysis {"connection_id":45856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:39:29] local.INFO: Extracted packet for processing {"connection_id":45856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:39:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756147968001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776391504000,"timestamp_ms":1776391504000,"timestamp_seconds":1776391504,"priority":1,"record_length":96,"hex_timestamp":"0000019d992f4080"} 
[2026-04-17 07:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07: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-04-17 07:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756147968001,"66":25419,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756147968001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:39:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:39:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756147968001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":45856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19866,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:39:29] local.INFO: GPS data processed {"connection_id":45856,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:39:29] local.INFO: Acknowledgment sent {"connection_id":45856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:39:47] local.INFO: TCP Data received {"connection_id":46423,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46423,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:39:47] local.INFO: Processing buffer {"connection_id":46423,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:39:47] local.INFO: Packet analysis {"connection_id":46423,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:39:47] local.INFO: Extracted packet for processing {"connection_id":46423,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:39:47] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 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-04-17 07:39:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756189184001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:39:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:39:47] 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-04-17 07:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776391665000,"timestamp_ms":1776391665000,"timestamp_seconds":1776391665,"priority":1,"record_length":96,"hex_timestamp":"0000019d9931b568"} 
[2026-04-17 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-04-17 07:39:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 07:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":46423,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":46423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":46423,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756189184001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756189184001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:39:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:39:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:39:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756189184001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:39:48] local.INFO: DEBUG: GPS processor result {"connection_id":46423,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19867,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:39:48] local.INFO: GPS data processed {"connection_id":46423,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:39:48] local.INFO: Acknowledgment sent {"connection_id":46423,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:39:51] local.INFO: TCP Data received {"connection_id":45857,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:39:51] local.INFO: Processing buffer {"connection_id":45857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:39:51] local.INFO: IMEI packet received {"connection_id":45857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":45857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:39:56] local.INFO: TCP Data received {"connection_id":45857,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:39:56] local.INFO: Processing buffer {"connection_id":45857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:39:56] local.INFO: IMEI packet received {"connection_id":45857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":45857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:39:58] local.INFO: TCP Data received {"connection_id":45857,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:39:58] local.INFO: Processing buffer {"connection_id":45857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:39:58] local.INFO: Packet analysis {"connection_id":45857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:39:58] local.INFO: Extracted packet for processing {"connection_id":45857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:39:58] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 07:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756147968001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776391504000,"timestamp_ms":1776391504000,"timestamp_seconds":1776391504,"priority":1,"record_length":96,"hex_timestamp":"0000019d992f4080"} 
[2026-04-17 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-04-17 07:39:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 07:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756147968001,"66":25419,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756147968001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:39:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:39:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756147968001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":45857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:39:58] local.INFO: GPS data processed {"connection_id":45857,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:39:58] local.INFO: Acknowledgment sent {"connection_id":45857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:40:05] local.INFO: TCP Data received {"connection_id":45678,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:40:05] local.INFO: Processing buffer {"connection_id":45678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:40:05] local.INFO: IMEI packet received {"connection_id":45678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":45678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:40:10] local.INFO: TCP Data received {"connection_id":45678,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45678,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:40:10] local.INFO: Processing buffer {"connection_id":45678,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:40:10] local.INFO: IMEI packet received {"connection_id":45678,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":45678,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:40:12] local.INFO: TCP Data received {"connection_id":45678,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:40:12] local.INFO: Processing buffer {"connection_id":45678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:40:12] local.INFO: Packet analysis {"connection_id":45678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:40:12] local.INFO: Extracted packet for processing {"connection_id":45678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:40:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756189184001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:40:12] 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-04-17 07:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776391665000,"timestamp_ms":1776391665000,"timestamp_seconds":1776391665,"priority":1,"record_length":96,"hex_timestamp":"0000019d9931b568"} 
[2026-04-17 07:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:40: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-04-17 07:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756189184001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756189184001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:40:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756189184001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":45678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:40:12] local.INFO: GPS data processed {"connection_id":45678,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:40:12] local.INFO: Acknowledgment sent {"connection_id":45678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:40:29] local.INFO: TCP Data received {"connection_id":45857,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:40:29] local.INFO: Processing buffer {"connection_id":45857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d992f4080012d7fad4005afe350000000942d..."} 
[2026-04-17 07:40:29] local.INFO: Packet analysis {"connection_id":45857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:40:29] local.INFO: Extracted packet for processing {"connection_id":45857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d992f"} 
[2026-04-17 07:40:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":45,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756147968001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776391504000,"timestamp_ms":1776391504000,"timestamp_seconds":1776391504,"priority":1,"record_length":96,"hex_timestamp":"0000019d992f4080"} 
[2026-04-17 07:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:40:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 07:40:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:40: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-04-17 07:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756147968001,"66":25419,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756147968001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:40:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:40:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756147968001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":45857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:40:29] local.INFO: GPS data processed {"connection_id":45857,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:40:29] local.INFO: Acknowledgment sent {"connection_id":45857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:40:46] local.INFO: TCP Data received {"connection_id":45678,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:40:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:40:46] local.INFO: Processing buffer {"connection_id":45678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:40:46] local.INFO: Packet analysis {"connection_id":45678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:40:46] local.INFO: Extracted packet for processing {"connection_id":45678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:40:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:40:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756189184001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:40:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:40:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:40:46] 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-04-17 07:40:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776391665000,"timestamp_ms":1776391665000,"timestamp_seconds":1776391665,"priority":1,"record_length":96,"hex_timestamp":"0000019d9931b568"} 
[2026-04-17 07:40:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:40:46] 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-04-17 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:40:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:40:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:40:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:40:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:40:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:40:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45678,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:40:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:40:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:40:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:40:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756189184001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:40:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:40:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:40:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756189184001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:40:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:40:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:40:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:40:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756189184001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:40:46] local.INFO: DEBUG: GPS processor result {"connection_id":45678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19871,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:40:46] local.INFO: GPS data processed {"connection_id":45678,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:40:46] local.INFO: Acknowledgment sent {"connection_id":45678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:40:51] local.INFO: TCP Data received {"connection_id":46424,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:40:51] local.INFO: Processing buffer {"connection_id":46424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:40:51] local.INFO: IMEI packet received {"connection_id":46424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":46424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:40:56] local.INFO: TCP Data received {"connection_id":46424,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46424,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:40:56] local.INFO: Processing buffer {"connection_id":46424,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:40:56] local.INFO: IMEI packet received {"connection_id":46424,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":46424,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:40:58] local.INFO: TCP Data received {"connection_id":46424,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:40:58] local.INFO: Processing buffer {"connection_id":46424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:40:58] local.INFO: Packet analysis {"connection_id":46424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:40:58] local.INFO: Extracted packet for processing {"connection_id":46424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:40:58] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756225024001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776391805000,"timestamp_ms":1776391805000,"timestamp_seconds":1776391805,"priority":1,"record_length":96,"hex_timestamp":"0000019d9933d848"} 
[2026-04-17 07:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:40:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:40:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756225024001,"66":25430,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756225024001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:40:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:40:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756225024001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":46424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:40:58] local.INFO: GPS data processed {"connection_id":46424,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:40:58] local.INFO: Acknowledgment sent {"connection_id":46424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:41:05] local.INFO: TCP Data received {"connection_id":45858,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:41:05] local.INFO: Processing buffer {"connection_id":45858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:41:05] local.INFO: IMEI packet received {"connection_id":45858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":45858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:41:10] local.INFO: TCP Data received {"connection_id":45858,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:41:10] local.INFO: Processing buffer {"connection_id":45858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:41:10] local.INFO: IMEI packet received {"connection_id":45858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":45858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:41:12] local.INFO: TCP Data received {"connection_id":45858,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:41:12] local.INFO: Processing buffer {"connection_id":45858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:41:12] local.INFO: Packet analysis {"connection_id":45858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:41:12] local.INFO: Extracted packet for processing {"connection_id":45858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:41:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756189184001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:41:12] 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-04-17 07:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776391665000,"timestamp_ms":1776391665000,"timestamp_seconds":1776391665,"priority":1,"record_length":96,"hex_timestamp":"0000019d9931b568"} 
[2026-04-17 07:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:41: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-04-17 07:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:41: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-04-17 07:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756189184001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756189184001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:41:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756189184001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":45858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19873,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:41:12] local.INFO: GPS data processed {"connection_id":45858,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:41:12] local.INFO: Acknowledgment sent {"connection_id":45858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:41:29] local.INFO: TCP Data received {"connection_id":46424,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46424,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:41:29] local.INFO: Processing buffer {"connection_id":46424,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:41:29] local.INFO: Packet analysis {"connection_id":46424,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:41:29] local.INFO: Extracted packet for processing {"connection_id":46424,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:41:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:41:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756225024001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:41:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:41:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:41:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:41:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776391805000,"timestamp_ms":1776391805000,"timestamp_seconds":1776391805,"priority":1,"record_length":96,"hex_timestamp":"0000019d9933d848"} 
[2026-04-17 07:41:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:41:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:41:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:41:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:41:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:41:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46424,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:41:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:41:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46424,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:41: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-04-17 07:41:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:41:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:41:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756225024001,"66":25430,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:41:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:41:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:41:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756225024001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:41:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:41:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:41:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:41:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:41:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756225024001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:41:29] local.INFO: DEBUG: GPS processor result {"connection_id":46424,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19874,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:41:29] local.INFO: GPS data processed {"connection_id":46424,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:41:29] local.INFO: Acknowledgment sent {"connection_id":46424,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:41:43] local.INFO: TCP Data received {"connection_id":45858,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:41:43] local.INFO: Processing buffer {"connection_id":45858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:41:43] local.INFO: Packet analysis {"connection_id":45858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:41:43] local.INFO: Extracted packet for processing {"connection_id":45858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:41:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756189184001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:41:43] 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-04-17 07:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776391665000,"timestamp_ms":1776391665000,"timestamp_seconds":1776391665,"priority":1,"record_length":96,"hex_timestamp":"0000019d9931b568"} 
[2026-04-17 07:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:41:43] 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-04-17 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:41: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-04-17 07: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-04-17 07:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45858,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756189184001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756189184001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:41:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756189184001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":45858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19875,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:41:43] local.INFO: GPS data processed {"connection_id":45858,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:41:43] local.INFO: Acknowledgment sent {"connection_id":45858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:41:51] local.INFO: TCP Data received {"connection_id":45597,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:41:51] local.INFO: Processing buffer {"connection_id":45597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:41:51] local.INFO: IMEI packet received {"connection_id":45597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":45597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:41:56] local.INFO: TCP Data received {"connection_id":45597,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:41:56] local.INFO: Processing buffer {"connection_id":45597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:41:56] local.INFO: IMEI packet received {"connection_id":45597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":45597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:41:57] local.INFO: TCP Data received {"connection_id":45597,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:41:57] local.INFO: Processing buffer {"connection_id":45597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:41:57] local.INFO: Packet analysis {"connection_id":45597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:41:57] local.INFO: Extracted packet for processing {"connection_id":45597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:41:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 07:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756225024001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776391805000,"timestamp_ms":1776391805000,"timestamp_seconds":1776391805,"priority":1,"record_length":96,"hex_timestamp":"0000019d9933d848"} 
[2026-04-17 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-04-17 07:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 07:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756225024001,"66":25430,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756225024001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:41:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756225024001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":45597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:41:57] local.INFO: GPS data processed {"connection_id":45597,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:41:57] local.INFO: Acknowledgment sent {"connection_id":45597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:42:05] local.INFO: TCP Data received {"connection_id":46425,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:42:05] local.INFO: Processing buffer {"connection_id":46425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:42:05] local.INFO: IMEI packet received {"connection_id":46425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":46425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:42:10] local.INFO: TCP Data received {"connection_id":46425,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:42:10] local.INFO: Processing buffer {"connection_id":46425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:42:10] local.INFO: IMEI packet received {"connection_id":46425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":46425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:42:12] local.INFO: TCP Data received {"connection_id":46425,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:42:12] local.INFO: Processing buffer {"connection_id":46425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:42:12] local.INFO: Packet analysis {"connection_id":46425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:42:12] local.INFO: Extracted packet for processing {"connection_id":46425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:42:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756189184001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:42:12] 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-04-17 07:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776391665000,"timestamp_ms":1776391665000,"timestamp_seconds":1776391665,"priority":1,"record_length":96,"hex_timestamp":"0000019d9931b568"} 
[2026-04-17 07:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:42: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-04-17 07:42:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:42:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756189184001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756189184001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:42:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756189184001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":46425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19877,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:42:12] local.INFO: GPS data processed {"connection_id":46425,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:42:12] local.INFO: Acknowledgment sent {"connection_id":46425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:42:28] local.INFO: TCP Data received {"connection_id":45597,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:42:28] local.INFO: Processing buffer {"connection_id":45597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:42:28] local.INFO: Packet analysis {"connection_id":45597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:42:28] local.INFO: Extracted packet for processing {"connection_id":45597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 07:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756225024001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776391805000,"timestamp_ms":1776391805000,"timestamp_seconds":1776391805,"priority":1,"record_length":96,"hex_timestamp":"0000019d9933d848"} 
[2026-04-17 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-04-17 07:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 07:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756225024001,"66":25430,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756225024001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:42:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:42:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756225024001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":45597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19878,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:42:28] local.INFO: GPS data processed {"connection_id":45597,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:42:28] local.INFO: Acknowledgment sent {"connection_id":45597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:42:43] local.INFO: TCP Data received {"connection_id":46425,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46425,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:42:43] local.INFO: Processing buffer {"connection_id":46425,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:42:43] local.INFO: Packet analysis {"connection_id":46425,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:42:43] local.INFO: Extracted packet for processing {"connection_id":46425,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:42:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756189184001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:42:43] 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-04-17 07:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776391665000,"timestamp_ms":1776391665000,"timestamp_seconds":1776391665,"priority":1,"record_length":96,"hex_timestamp":"0000019d9931b568"} 
[2026-04-17 07:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:42:43] 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-04-17 07:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:42: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-04-17 07:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46425,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46425,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756189184001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756189184001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:42:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756189184001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":46425,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19879,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:42:43] local.INFO: GPS data processed {"connection_id":46425,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:42:43] local.INFO: Acknowledgment sent {"connection_id":46425,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:42:51] local.INFO: TCP Data received {"connection_id":45598,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:42:51] local.INFO: Processing buffer {"connection_id":45598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:42:51] local.INFO: IMEI packet received {"connection_id":45598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":45598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:42:56] local.INFO: TCP Data received {"connection_id":45598,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:42:56] local.INFO: Processing buffer {"connection_id":45598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:42:56] local.INFO: IMEI packet received {"connection_id":45598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":45598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:42:57] local.INFO: TCP Data received {"connection_id":45598,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:42:57] local.INFO: Processing buffer {"connection_id":45598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:42:57] local.INFO: Packet analysis {"connection_id":45598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:42:57] local.INFO: Extracted packet for processing {"connection_id":45598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:42:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756225024001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776391805000,"timestamp_ms":1776391805000,"timestamp_seconds":1776391805,"priority":1,"record_length":96,"hex_timestamp":"0000019d9933d848"} 
[2026-04-17 07:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756225024001,"66":25430,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756225024001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:42:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:42:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756225024001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":45598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:42:57] local.INFO: GPS data processed {"connection_id":45598,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:42:57] local.INFO: Acknowledgment sent {"connection_id":45598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:43:10] local.INFO: TCP Data received {"connection_id":45679,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:43:10] local.INFO: Processing buffer {"connection_id":45679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:43:10] local.INFO: IMEI packet received {"connection_id":45679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":45679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:43:15] local.INFO: TCP Data received {"connection_id":45679,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45679,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:43:15] local.INFO: Processing buffer {"connection_id":45679,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:43:15] local.INFO: IMEI packet received {"connection_id":45679,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:43:15] local.INFO: IMEI acknowledgment sent {"connection_id":45679,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:43:18] local.INFO: TCP Data received {"connection_id":45679,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:43:18] local.INFO: Processing buffer {"connection_id":45679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9931b568012d1b598006d4d5980011013831..."} 
[2026-04-17 07:43:18] local.INFO: Packet analysis {"connection_id":45679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:43:18] local.INFO: Extracted packet for processing {"connection_id":45679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9931"} 
[2026-04-17 07:43:18] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:43:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756189184001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:43:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:43:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:43:18] 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-04-17 07:43:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776391665000,"timestamp_ms":1776391665000,"timestamp_seconds":1776391665,"priority":1,"record_length":96,"hex_timestamp":"0000019d9931b568"} 
[2026-04-17 07:43:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:43:18] 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-04-17 07:43:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:43:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:43:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:43:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:43:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:43:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:43:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:43:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:43:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:43:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:43:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:43:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756189184001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:43:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:43:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:43:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756189184001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:43:18] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:43:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:43:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:43:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756189184001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:43:18] local.INFO: DEBUG: GPS processor result {"connection_id":45679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19881,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:43:18] local.INFO: GPS data processed {"connection_id":45679,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:43:18] local.INFO: Acknowledgment sent {"connection_id":45679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:43:29] local.INFO: TCP Data received {"connection_id":45598,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:43:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:43:29] local.INFO: Processing buffer {"connection_id":45598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:43:29] local.INFO: Packet analysis {"connection_id":45598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:43:29] local.INFO: Extracted packet for processing {"connection_id":45598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:43:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:43:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756225024001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:43:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:43:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:43:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:43:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776391805000,"timestamp_ms":1776391805000,"timestamp_seconds":1776391805,"priority":1,"record_length":96,"hex_timestamp":"0000019d9933d848"} 
[2026-04-17 07:43:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:43:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:43:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:43:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:43:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:43:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:43:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:43:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:43: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-04-17 07:43:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:43:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:43:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756225024001,"66":25430,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:43:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:43:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:43:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756225024001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:43:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:43:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:43:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:43:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:43:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756225024001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":45598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:43:29] local.INFO: GPS data processed {"connection_id":45598,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:43:29] local.INFO: Acknowledgment sent {"connection_id":45598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:43:50] local.INFO: TCP Data received {"connection_id":45679,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:43:50] local.INFO: Processing buffer {"connection_id":45679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:43:50] local.INFO: Packet analysis {"connection_id":45679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:43:50] local.INFO: Extracted packet for processing {"connection_id":45679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:43:50] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:43:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756266240001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:43:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:43:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:43:50] 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-04-17 07:43:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776391966000,"timestamp_ms":1776391966000,"timestamp_seconds":1776391966,"priority":1,"record_length":96,"hex_timestamp":"0000019d99364d30"} 
[2026-04-17 07:43:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:43:50] 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-04-17 07:43:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:43:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:43:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:43:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:43:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:43:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:43:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45679,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:43:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:43:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:43:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:43:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756266240001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:43:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:43:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:43:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756266240001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:43:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:43:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:43:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:43:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756266240001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:43:50] local.INFO: DEBUG: GPS processor result {"connection_id":45679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19883,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:43:50] local.INFO: GPS data processed {"connection_id":45679,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:43:50] local.INFO: Acknowledgment sent {"connection_id":45679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:43:51] local.INFO: TCP Data received {"connection_id":45859,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:43:51] local.INFO: Processing buffer {"connection_id":45859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:43:51] local.INFO: IMEI packet received {"connection_id":45859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":45859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:43:56] local.INFO: TCP Data received {"connection_id":45859,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:43:56] local.INFO: Processing buffer {"connection_id":45859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:43:56] local.INFO: IMEI packet received {"connection_id":45859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":45859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:43:57] local.INFO: TCP Data received {"connection_id":45859,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:43:57] local.INFO: Processing buffer {"connection_id":45859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:43:57] local.INFO: Packet analysis {"connection_id":45859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:43:57] local.INFO: Extracted packet for processing {"connection_id":45859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:43:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 07:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756225024001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776391805000,"timestamp_ms":1776391805000,"timestamp_seconds":1776391805,"priority":1,"record_length":96,"hex_timestamp":"0000019d9933d848"} 
[2026-04-17 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-04-17 07:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 07:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:43:57] 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-04-17 07:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756225024001,"66":25430,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756225024001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:43:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:43:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756225024001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":45859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:43:57] local.INFO: GPS data processed {"connection_id":45859,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:43:57] local.INFO: Acknowledgment sent {"connection_id":45859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:44:05] local.INFO: TCP Data received {"connection_id":45680,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:44:05] local.INFO: Processing buffer {"connection_id":45680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:44:05] local.INFO: IMEI packet received {"connection_id":45680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":45680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:44:10] local.INFO: TCP Data received {"connection_id":45680,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45680,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:44:10] local.INFO: Processing buffer {"connection_id":45680,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:44:10] local.INFO: IMEI packet received {"connection_id":45680,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":45680,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:44:12] local.INFO: TCP Data received {"connection_id":45680,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:44:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:44:12] local.INFO: Processing buffer {"connection_id":45680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:44:12] local.INFO: Packet analysis {"connection_id":45680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:44:12] local.INFO: Extracted packet for processing {"connection_id":45680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:44:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:44:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756266240001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:44:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:44:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:44:12] 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-04-17 07:44:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776391966000,"timestamp_ms":1776391966000,"timestamp_seconds":1776391966,"priority":1,"record_length":96,"hex_timestamp":"0000019d99364d30"} 
[2026-04-17 07:44:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:44: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-04-17 07: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":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:44: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-04-17 07: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-04-17 07:44:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:44:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:44:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:44:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:44:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:44:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:44:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:44:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:44:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756266240001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:44:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:44:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:44:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756266240001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:44:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:44:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:44:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:44:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756266240001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:44:12] local.INFO: DEBUG: GPS processor result {"connection_id":45680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19885,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:44:12] local.INFO: GPS data processed {"connection_id":45680,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:44:12] local.INFO: Acknowledgment sent {"connection_id":45680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:44:28] local.INFO: TCP Data received {"connection_id":45859,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:44:29] local.INFO: Processing buffer {"connection_id":45859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:44:29] local.INFO: Packet analysis {"connection_id":45859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:44:29] local.INFO: Extracted packet for processing {"connection_id":45859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:44:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756225024001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776391805000,"timestamp_ms":1776391805000,"timestamp_seconds":1776391805,"priority":1,"record_length":96,"hex_timestamp":"0000019d9933d848"} 
[2026-04-17 07:44:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:44:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:44: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-04-17 07:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756225024001,"66":25430,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756225024001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:44:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:44:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756225024001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":45859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:44:29] local.INFO: GPS data processed {"connection_id":45859,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:44:29] local.INFO: Acknowledgment sent {"connection_id":45859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:44:43] local.INFO: TCP Data received {"connection_id":45680,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:44:43] local.INFO: Processing buffer {"connection_id":45680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:44:43] local.INFO: Packet analysis {"connection_id":45680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:44:43] local.INFO: Extracted packet for processing {"connection_id":45680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:44:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756266240001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:44:43] 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-04-17 07:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776391966000,"timestamp_ms":1776391966000,"timestamp_seconds":1776391966,"priority":1,"record_length":96,"hex_timestamp":"0000019d99364d30"} 
[2026-04-17 07:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:44:43] 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-04-17 07: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":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:44: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-04-17 07: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-04-17 07:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45680,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756266240001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756266240001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:44:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756266240001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":45680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19887,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:44:43] local.INFO: GPS data processed {"connection_id":45680,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:44:43] local.INFO: Acknowledgment sent {"connection_id":45680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:44:51] local.INFO: TCP Data received {"connection_id":46426,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:44:51] local.INFO: Processing buffer {"connection_id":46426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:44:51] local.INFO: IMEI packet received {"connection_id":46426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":46426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:44:56] local.INFO: TCP Data received {"connection_id":46426,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46426,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:44:56] local.INFO: Processing buffer {"connection_id":46426,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:44:56] local.INFO: IMEI packet received {"connection_id":46426,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":46426,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:44:58] local.INFO: TCP Data received {"connection_id":46426,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:44:58] local.INFO: Processing buffer {"connection_id":46426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:44:58] local.INFO: Packet analysis {"connection_id":46426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:44:58] local.INFO: Extracted packet for processing {"connection_id":46426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:44:58] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756225024001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776391805000,"timestamp_ms":1776391805000,"timestamp_seconds":1776391805,"priority":1,"record_length":96,"hex_timestamp":"0000019d9933d848"} 
[2026-04-17 07:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756225024001,"66":25430,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756225024001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:44:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:44:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756225024001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":46426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19888,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:44:58] local.INFO: GPS data processed {"connection_id":46426,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:44:58] local.INFO: Acknowledgment sent {"connection_id":46426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:45:05] local.INFO: TCP Data received {"connection_id":45860,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:45:05] local.INFO: Processing buffer {"connection_id":45860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:45:05] local.INFO: IMEI packet received {"connection_id":45860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":45860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:45:10] local.INFO: TCP Data received {"connection_id":45860,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:45:10] local.INFO: Processing buffer {"connection_id":45860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:45:10] local.INFO: IMEI packet received {"connection_id":45860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":45860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:45:12] local.INFO: TCP Data received {"connection_id":45860,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:45:12] local.INFO: Processing buffer {"connection_id":45860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:45:12] local.INFO: Packet analysis {"connection_id":45860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:45:12] local.INFO: Extracted packet for processing {"connection_id":45860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:45:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756266240001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:45:12] 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-04-17 07:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776391966000,"timestamp_ms":1776391966000,"timestamp_seconds":1776391966,"priority":1,"record_length":96,"hex_timestamp":"0000019d99364d30"} 
[2026-04-17 07:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:45: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-04-17 07:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07: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-04-17 07:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756266240001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756266240001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:45:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756266240001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":45860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19889,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:45:12] local.INFO: GPS data processed {"connection_id":45860,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:45:12] local.INFO: Acknowledgment sent {"connection_id":45860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:45:29] local.INFO: TCP Data received {"connection_id":46426,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46426,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:45:29] local.INFO: Processing buffer {"connection_id":46426,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9933d848012d7fad4005afe350000000942e..."} 
[2026-04-17 07:45:29] local.INFO: Packet analysis {"connection_id":46426,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:45:29] local.INFO: Extracted packet for processing {"connection_id":46426,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9933"} 
[2026-04-17 07:45:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":46,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756225024001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776391805000,"timestamp_ms":1776391805000,"timestamp_seconds":1776391805,"priority":1,"record_length":96,"hex_timestamp":"0000019d9933d848"} 
[2026-04-17 07:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46426,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46426,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:45: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-04-17 07:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756225024001,"66":25430,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 07:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756225024001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:45:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 07:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756225024001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":46426,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:45:29] local.INFO: GPS data processed {"connection_id":46426,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:45:29] local.INFO: Acknowledgment sent {"connection_id":46426,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:45:46] local.INFO: TCP Data received {"connection_id":45860,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:45:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:45:46] local.INFO: Processing buffer {"connection_id":45860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:45:46] local.INFO: Packet analysis {"connection_id":45860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:45:46] local.INFO: Extracted packet for processing {"connection_id":45860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:45:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:45:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756266240001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:45:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:45:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:45:46] 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-04-17 07:45:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776391966000,"timestamp_ms":1776391966000,"timestamp_seconds":1776391966,"priority":1,"record_length":96,"hex_timestamp":"0000019d99364d30"} 
[2026-04-17 07:45:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:45:46] 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-04-17 07:45:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07: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-04-17 07:45:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:45:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:45:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:45:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:45:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:45:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:45:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:45:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:45:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:45:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756266240001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:45:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:45:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:45:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756266240001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:45:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:45:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:45:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:45:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756266240001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":45860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19891,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:45:46] local.INFO: GPS data processed {"connection_id":45860,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:45:46] local.INFO: Acknowledgment sent {"connection_id":45860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:45:56] local.INFO: TCP Data received {"connection_id":46427,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:45:56] local.INFO: Processing buffer {"connection_id":46427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:45:56] local.INFO: IMEI packet received {"connection_id":46427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":46427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:46:01] local.INFO: TCP Data received {"connection_id":46427,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:46:01] local.INFO: Processing buffer {"connection_id":46427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:46:01] local.INFO: IMEI packet received {"connection_id":46427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":46427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:46:02] local.INFO: TCP Data received {"connection_id":46427,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:46:02] local.INFO: Processing buffer {"connection_id":46427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:46:02] local.INFO: Packet analysis {"connection_id":46427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:46:02] local.INFO: Extracted packet for processing {"connection_id":46427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756302080001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776392106000,"timestamp_ms":1776392106000,"timestamp_seconds":1776392106,"priority":1,"record_length":96,"hex_timestamp":"0000019d99387010"} 
[2026-04-17 07:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:46:02] 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-04-17 07:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756302080001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756302080001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:46:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:46:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756302080001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":46427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19892,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:46:02] local.INFO: GPS data processed {"connection_id":46427,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:46:02] local.INFO: Acknowledgment sent {"connection_id":46427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:46:08] local.INFO: TCP Data received {"connection_id":46427,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:46:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:46:08] local.INFO: Processing buffer {"connection_id":46427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:46:08] local.INFO: Packet analysis {"connection_id":46427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:46:08] local.INFO: Extracted packet for processing {"connection_id":46427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:46:08] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:46:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756302080001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:46:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:46:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:46:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:46:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776392106000,"timestamp_ms":1776392106000,"timestamp_seconds":1776392106,"priority":1,"record_length":96,"hex_timestamp":"0000019d99387010"} 
[2026-04-17 07:46:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:46:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:46:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:46:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:46:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:46:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:46:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:46:08] local.INFO: Teltonika packet parsed successfully {"connection_id":46427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:46:08] local.INFO: Passing IMEI to GPS processor {"connection_id":46427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:46:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":46427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:46:08] 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-04-17 07:46:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:46:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:46:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756302080001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:46:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:46:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:46:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756302080001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:46:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:46:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:46:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:46:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:46:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756302080001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:46:08] local.INFO: DEBUG: GPS processor result {"connection_id":46427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:46:08] local.INFO: GPS data processed {"connection_id":46427,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:46:08] local.INFO: Acknowledgment sent {"connection_id":46427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:46:10] local.INFO: TCP Data received {"connection_id":45681,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:46:10] local.INFO: Processing buffer {"connection_id":45681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:46:10] local.INFO: IMEI packet received {"connection_id":45681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":45681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:46:15] local.INFO: TCP Data received {"connection_id":45681,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45681,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:46:15] local.INFO: Processing buffer {"connection_id":45681,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:46:15] local.INFO: IMEI packet received {"connection_id":45681,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":45681,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:46:17] local.INFO: TCP Data received {"connection_id":45681,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:46:17] local.INFO: Processing buffer {"connection_id":45681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:46:17] local.INFO: Packet analysis {"connection_id":45681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:46:17] local.INFO: Extracted packet for processing {"connection_id":45681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:46:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:46:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756266240001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:46:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:46:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:46:17] 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-04-17 07:46:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776391966000,"timestamp_ms":1776391966000,"timestamp_seconds":1776391966,"priority":1,"record_length":96,"hex_timestamp":"0000019d99364d30"} 
[2026-04-17 07:46:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:46:17] 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-04-17 07:46:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:46: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-04-17 07:46:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:46:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:46:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:46:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:46:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:46:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:46:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:46:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:46:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:46:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756266240001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:46:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:46:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:46:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756266240001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:46:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:46:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:46:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:46:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756266240001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:46:17] local.INFO: DEBUG: GPS processor result {"connection_id":45681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19894,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:46:17] local.INFO: GPS data processed {"connection_id":45681,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:46:17] local.INFO: Acknowledgment sent {"connection_id":45681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:46:22] local.INFO: TCP Data received {"connection_id":45681,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:46:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:46:22] local.INFO: Processing buffer {"connection_id":45681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:46:22] local.INFO: Packet analysis {"connection_id":45681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:46:22] local.INFO: Extracted packet for processing {"connection_id":45681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:46:22] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:46:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756266240001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:46:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:46:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:46:22] 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-04-17 07:46:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776391966000,"timestamp_ms":1776391966000,"timestamp_seconds":1776391966,"priority":1,"record_length":96,"hex_timestamp":"0000019d99364d30"} 
[2026-04-17 07:46:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:46:22] 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-04-17 07: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:46:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:46:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:46:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:46:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:46:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:46:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45681,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:46:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:46:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:46:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:46:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756266240001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:46:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:46:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:46:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756266240001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:46:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:46:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:46:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:46:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756266240001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:46:22] local.INFO: DEBUG: GPS processor result {"connection_id":45681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19895,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:46:22] local.INFO: GPS data processed {"connection_id":45681,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:46:22] local.INFO: Acknowledgment sent {"connection_id":45681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:46:55] local.INFO: TCP Data received {"connection_id":45599,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:46:55] local.INFO: Processing buffer {"connection_id":45599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:46:55] local.INFO: IMEI packet received {"connection_id":45599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":45599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:46:56] local.INFO: TCP Data received {"connection_id":45599,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:46:56] local.INFO: Processing buffer {"connection_id":45599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:46:56] local.INFO: IMEI packet received {"connection_id":45599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":45599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:46:57] local.INFO: TCP Data received {"connection_id":45599,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:46:57] local.INFO: Processing buffer {"connection_id":45599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:46:57] local.INFO: Packet analysis {"connection_id":45599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:46:57] local.INFO: Extracted packet for processing {"connection_id":45599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:46:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756302080001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776392106000,"timestamp_ms":1776392106000,"timestamp_seconds":1776392106,"priority":1,"record_length":96,"hex_timestamp":"0000019d99387010"} 
[2026-04-17 07:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:46: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-04-17 07:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756302080001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756302080001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:46:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756302080001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":45599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:46:57] local.INFO: GPS data processed {"connection_id":45599,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:46:57] local.INFO: Acknowledgment sent {"connection_id":45599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:47:02] local.INFO: TCP Data received {"connection_id":45599,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:47:02] local.INFO: Processing buffer {"connection_id":45599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:47:02] local.INFO: Packet analysis {"connection_id":45599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:47:02] local.INFO: Extracted packet for processing {"connection_id":45599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756302080001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776392106000,"timestamp_ms":1776392106000,"timestamp_seconds":1776392106,"priority":1,"record_length":96,"hex_timestamp":"0000019d99387010"} 
[2026-04-17 07:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756302080001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756302080001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:47:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:47:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756302080001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":45599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:47:02] local.INFO: GPS data processed {"connection_id":45599,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:47:02] local.INFO: Acknowledgment sent {"connection_id":45599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:47:06] local.INFO: TCP Data received {"connection_id":46428,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:47:06] local.INFO: Processing buffer {"connection_id":46428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:47:06] local.INFO: IMEI packet received {"connection_id":46428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":46428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:47:10] local.INFO: TCP Data received {"connection_id":46428,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46428,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:47:10] local.INFO: Processing buffer {"connection_id":46428,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:47:10] local.INFO: IMEI packet received {"connection_id":46428,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":46428,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:47:12] local.INFO: TCP Data received {"connection_id":46428,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:47:12] local.INFO: Processing buffer {"connection_id":46428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:47:12] local.INFO: Packet analysis {"connection_id":46428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:47:12] local.INFO: Extracted packet for processing {"connection_id":46428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:47:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756266240001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:47:12] 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-04-17 07:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776391966000,"timestamp_ms":1776391966000,"timestamp_seconds":1776391966,"priority":1,"record_length":96,"hex_timestamp":"0000019d99364d30"} 
[2026-04-17 07:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:47: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-04-17 07:47:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:47: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-04-17 07:47:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756266240001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756266240001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:47:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756266240001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":46428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19898,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:47:12] local.INFO: GPS data processed {"connection_id":46428,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:47:12] local.INFO: Acknowledgment sent {"connection_id":46428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:47:33] local.INFO: TCP Data received {"connection_id":45599,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:47:33] local.INFO: Processing buffer {"connection_id":45599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:47:33] local.INFO: Packet analysis {"connection_id":45599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:47:33] local.INFO: Extracted packet for processing {"connection_id":45599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:47:33] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756302080001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776392106000,"timestamp_ms":1776392106000,"timestamp_seconds":1776392106,"priority":1,"record_length":96,"hex_timestamp":"0000019d99387010"} 
[2026-04-17 07:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:47:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:47:33] 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-04-17 07:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756302080001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756302080001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:47:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:47:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756302080001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":45599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:47:33] local.INFO: GPS data processed {"connection_id":45599,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:47:33] local.INFO: Acknowledgment sent {"connection_id":45599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:47:43] local.INFO: TCP Data received {"connection_id":46428,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46428,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:47:43] local.INFO: Processing buffer {"connection_id":46428,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:47:43] local.INFO: Packet analysis {"connection_id":46428,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:47:43] local.INFO: Extracted packet for processing {"connection_id":46428,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:47:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756266240001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:47:43] 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-04-17 07:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776391966000,"timestamp_ms":1776391966000,"timestamp_seconds":1776391966,"priority":1,"record_length":96,"hex_timestamp":"0000019d99364d30"} 
[2026-04-17 07:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:47:43] 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-04-17 07:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:47: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-04-17 07: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-04-17 07:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46428,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46428,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756266240001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756266240001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:47:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756266240001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":46428,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19900,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:47:43] local.INFO: GPS data processed {"connection_id":46428,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:47:43] local.INFO: Acknowledgment sent {"connection_id":46428,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:47:51] local.INFO: TCP Data received {"connection_id":46429,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:47:51] local.INFO: Processing buffer {"connection_id":46429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:47:51] local.INFO: IMEI packet received {"connection_id":46429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":46429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:47:56] local.INFO: TCP Data received {"connection_id":46429,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46429,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:47:56] local.INFO: Processing buffer {"connection_id":46429,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:47:56] local.INFO: IMEI packet received {"connection_id":46429,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":46429,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:47:57] local.INFO: TCP Data received {"connection_id":46429,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:47:57] local.INFO: Processing buffer {"connection_id":46429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:47:57] local.INFO: Packet analysis {"connection_id":46429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:47:57] local.INFO: Extracted packet for processing {"connection_id":46429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:47:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756302080001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776392106000,"timestamp_ms":1776392106000,"timestamp_seconds":1776392106,"priority":1,"record_length":96,"hex_timestamp":"0000019d99387010"} 
[2026-04-17 07:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:47: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-04-17 07:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756302080001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756302080001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:47:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:47:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756302080001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":46429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:47:57] local.INFO: GPS data processed {"connection_id":46429,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:47:57] local.INFO: Acknowledgment sent {"connection_id":46429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:48:05] local.INFO: TCP Data received {"connection_id":45861,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:48:05] local.INFO: Processing buffer {"connection_id":45861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:48:05] local.INFO: IMEI packet received {"connection_id":45861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":45861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:48:11] local.INFO: TCP Data received {"connection_id":45861,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45861,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:48:11] local.INFO: Processing buffer {"connection_id":45861,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:48:11] local.INFO: IMEI packet received {"connection_id":45861,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:48:11] local.INFO: IMEI acknowledgment sent {"connection_id":45861,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:48:19] local.INFO: TCP Data received {"connection_id":45861,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:48:19] local.INFO: Processing buffer {"connection_id":45861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99364d30012d1b598006d4d5980011013831..."} 
[2026-04-17 07:48:19] local.INFO: Packet analysis {"connection_id":45861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:48:19] local.INFO: Extracted packet for processing {"connection_id":45861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9936"} 
[2026-04-17 07:48:19] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:48:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756266240001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:48:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:48:19] 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-04-17 07:48:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776391966000,"timestamp_ms":1776391966000,"timestamp_seconds":1776391966,"priority":1,"record_length":96,"hex_timestamp":"0000019d99364d30"} 
[2026-04-17 07:48:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:48:19] 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-04-17 07:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:48:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:48:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:48:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:48:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:48:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:48:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756266240001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:48:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:48:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:48:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756266240001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:48:19] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:48:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:48:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:48:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756266240001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":45861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19902,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:48:19] local.INFO: GPS data processed {"connection_id":45861,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:48:19] local.INFO: Acknowledgment sent {"connection_id":45861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:48:28] local.INFO: TCP Data received {"connection_id":46429,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46429,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:48:28] local.INFO: Processing buffer {"connection_id":46429,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:48:28] local.INFO: Packet analysis {"connection_id":46429,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:48:28] local.INFO: Extracted packet for processing {"connection_id":46429,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:48:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756302080001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776392106000,"timestamp_ms":1776392106000,"timestamp_seconds":1776392106,"priority":1,"record_length":96,"hex_timestamp":"0000019d99387010"} 
[2026-04-17 07:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46429,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46429,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756302080001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756302080001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:48:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:48:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756302080001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":46429,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:48:28] local.INFO: GPS data processed {"connection_id":46429,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:48:28] local.INFO: Acknowledgment sent {"connection_id":46429,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:48:51] local.INFO: TCP Data received {"connection_id":45861,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:48:51] local.INFO: Processing buffer {"connection_id":45861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:48:51] local.INFO: Packet analysis {"connection_id":45861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:48:51] local.INFO: Extracted packet for processing {"connection_id":45861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:48:51] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:48:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756343296001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:48:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:48:51] 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-04-17 07:48:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776392267000,"timestamp_ms":1776392267000,"timestamp_seconds":1776392267,"priority":1,"record_length":96,"hex_timestamp":"0000019d993ae4f8"} 
[2026-04-17 07:48:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:48:51] 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-04-17 07:48:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:48:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:48:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":45861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":45861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":45861,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:48:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:48:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:48:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756343296001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:48:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:48:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:48:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756343296001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:48:51] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:48:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:48:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:48:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756343296001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":45861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19904,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:48:51] local.INFO: GPS data processed {"connection_id":45861,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:48:51] local.INFO: Acknowledgment sent {"connection_id":45861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:48:51] local.INFO: TCP Data received {"connection_id":46430,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:48:51] local.INFO: Processing buffer {"connection_id":46430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:48:51] local.INFO: IMEI packet received {"connection_id":46430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":46430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:48:56] local.INFO: TCP Data received {"connection_id":46430,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46430,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:48:56] local.INFO: Processing buffer {"connection_id":46430,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:48:56] local.INFO: IMEI packet received {"connection_id":46430,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":46430,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:48:57] local.INFO: TCP Data received {"connection_id":46430,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:48:57] local.INFO: Processing buffer {"connection_id":46430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:48:57] local.INFO: Packet analysis {"connection_id":46430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:48:57] local.INFO: Extracted packet for processing {"connection_id":46430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756302080001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776392106000,"timestamp_ms":1776392106000,"timestamp_seconds":1776392106,"priority":1,"record_length":96,"hex_timestamp":"0000019d99387010"} 
[2026-04-17 07:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:48: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-04-17 07:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756302080001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756302080001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:48:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756302080001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":46430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:48:57] local.INFO: GPS data processed {"connection_id":46430,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:48:57] local.INFO: Acknowledgment sent {"connection_id":46430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:49:05] local.INFO: TCP Data received {"connection_id":45862,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:49:05] local.INFO: Processing buffer {"connection_id":45862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:49:05] local.INFO: IMEI packet received {"connection_id":45862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":45862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:49:10] local.INFO: TCP Data received {"connection_id":45862,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45862,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:49:10] local.INFO: Processing buffer {"connection_id":45862,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:49:10] local.INFO: IMEI packet received {"connection_id":45862,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":45862,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:49:12] local.INFO: TCP Data received {"connection_id":45862,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:49:12] local.INFO: Processing buffer {"connection_id":45862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:49:12] local.INFO: Packet analysis {"connection_id":45862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:49:12] local.INFO: Extracted packet for processing {"connection_id":45862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756343296001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:49:12] 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-04-17 07:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776392267000,"timestamp_ms":1776392267000,"timestamp_seconds":1776392267,"priority":1,"record_length":96,"hex_timestamp":"0000019d993ae4f8"} 
[2026-04-17 07:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:49: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-04-17 07: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:49: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-04-17 07: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-04-17 07:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756343296001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756343296001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:49:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756343296001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":45862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19906,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:49:12] local.INFO: GPS data processed {"connection_id":45862,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:49:12] local.INFO: Acknowledgment sent {"connection_id":45862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:49:28] local.INFO: TCP Data received {"connection_id":46430,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46430,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:49:28] local.INFO: Processing buffer {"connection_id":46430,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:49:28] local.INFO: Packet analysis {"connection_id":46430,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:49:28] local.INFO: Extracted packet for processing {"connection_id":46430,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756302080001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776392106000,"timestamp_ms":1776392106000,"timestamp_seconds":1776392106,"priority":1,"record_length":96,"hex_timestamp":"0000019d99387010"} 
[2026-04-17 07:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46430,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46430,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756302080001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756302080001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:49:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756302080001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":46430,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:49:28] local.INFO: GPS data processed {"connection_id":46430,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:49:28] local.INFO: Acknowledgment sent {"connection_id":46430,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:49:45] local.INFO: TCP Data received {"connection_id":45862,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:49:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:49:45] local.INFO: Processing buffer {"connection_id":45862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:49:45] local.INFO: Packet analysis {"connection_id":45862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:49:45] local.INFO: Extracted packet for processing {"connection_id":45862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:49:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:49:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756343296001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:49:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:49:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:49:45] 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-04-17 07:49:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776392267000,"timestamp_ms":1776392267000,"timestamp_seconds":1776392267,"priority":1,"record_length":96,"hex_timestamp":"0000019d993ae4f8"} 
[2026-04-17 07:49:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:49:45] 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-04-17 07:49:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:49:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:49:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:49:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:49:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:49:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:49:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:49:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45862,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:49:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:49:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:49:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:49:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756343296001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:49:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:49:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:49:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756343296001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:49:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:49:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:49:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:49:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756343296001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:49:45] local.INFO: DEBUG: GPS processor result {"connection_id":45862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19908,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:49:45] local.INFO: GPS data processed {"connection_id":45862,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:49:45] local.INFO: Acknowledgment sent {"connection_id":45862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:49:51] local.INFO: TCP Data received {"connection_id":46431,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:49:51] local.INFO: Processing buffer {"connection_id":46431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:49:51] local.INFO: IMEI packet received {"connection_id":46431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":46431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:49:56] local.INFO: TCP Data received {"connection_id":46431,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46431,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:49:56] local.INFO: Processing buffer {"connection_id":46431,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:49:56] local.INFO: IMEI packet received {"connection_id":46431,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":46431,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:49:57] local.INFO: TCP Data received {"connection_id":46431,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:49:57] local.INFO: Processing buffer {"connection_id":46431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:49:57] local.INFO: Packet analysis {"connection_id":46431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:49:57] local.INFO: Extracted packet for processing {"connection_id":46431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:49:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756302080001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776392106000,"timestamp_ms":1776392106000,"timestamp_seconds":1776392106,"priority":1,"record_length":96,"hex_timestamp":"0000019d99387010"} 
[2026-04-17 07:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:49: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-04-17 07:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756302080001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756302080001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:49:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:49:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756302080001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":46431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:49:57] local.INFO: GPS data processed {"connection_id":46431,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:49:57] local.INFO: Acknowledgment sent {"connection_id":46431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:50:10] local.INFO: TCP Data received {"connection_id":45682,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:50:10] local.INFO: Processing buffer {"connection_id":45682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:50:10] local.INFO: IMEI packet received {"connection_id":45682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":45682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:50:15] local.INFO: TCP Data received {"connection_id":45682,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:50:15] local.INFO: Processing buffer {"connection_id":45682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:50:15] local.INFO: IMEI packet received {"connection_id":45682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":45682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:50:18] local.INFO: TCP Data received {"connection_id":45682,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:50:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:50:18] local.INFO: Processing buffer {"connection_id":45682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:50:18] local.INFO: Packet analysis {"connection_id":45682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:50:18] local.INFO: Extracted packet for processing {"connection_id":45682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:50:18] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:50:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756343296001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:50:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:50:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:50:18] 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-04-17 07:50:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776392267000,"timestamp_ms":1776392267000,"timestamp_seconds":1776392267,"priority":1,"record_length":96,"hex_timestamp":"0000019d993ae4f8"} 
[2026-04-17 07:50:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:50:18] 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-04-17 07:50:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:50:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:50:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:50:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:50:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:50:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:50:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:50:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:50:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:50:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:50:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:50:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756343296001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:50:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:50:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:50:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756343296001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:50:18] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:50:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:50:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:50:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756343296001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:50:18] local.INFO: DEBUG: GPS processor result {"connection_id":45682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19910,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:50:18] local.INFO: GPS data processed {"connection_id":45682,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:50:18] local.INFO: Acknowledgment sent {"connection_id":45682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:50:21] local.INFO: TCP Data received {"connection_id":45682,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:50:21] local.INFO: Processing buffer {"connection_id":45682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:50:21] local.INFO: Packet analysis {"connection_id":45682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:50:21] local.INFO: Extracted packet for processing {"connection_id":45682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:50:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:50:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756343296001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:50:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:50:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:50:21] 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-04-17 07:50:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776392267000,"timestamp_ms":1776392267000,"timestamp_seconds":1776392267,"priority":1,"record_length":96,"hex_timestamp":"0000019d993ae4f8"} 
[2026-04-17 07:50:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:50:21] 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-04-17 07:50:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:50:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:50:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:50:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:50:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:50:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:50:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:50:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:50:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:50:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:50:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:50:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756343296001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:50:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:50:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:50:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756343296001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:50:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:50:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:50:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:50:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756343296001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:50:21] local.INFO: DEBUG: GPS processor result {"connection_id":45682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19911,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:50:21] local.INFO: GPS data processed {"connection_id":45682,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:50:21] local.INFO: Acknowledgment sent {"connection_id":45682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:50:28] local.INFO: TCP Data received {"connection_id":46431,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46431,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:50:28] local.INFO: Processing buffer {"connection_id":46431,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99387010012d7fad4005afe3500000009429..."} 
[2026-04-17 07:50:28] local.INFO: Packet analysis {"connection_id":46431,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:50:28] local.INFO: Extracted packet for processing {"connection_id":46431,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9938"} 
[2026-04-17 07:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 07:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756302080001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776392106000,"timestamp_ms":1776392106000,"timestamp_seconds":1776392106,"priority":1,"record_length":96,"hex_timestamp":"0000019d99387010"} 
[2026-04-17 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-04-17 07:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 07:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 07:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46431,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46431,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756302080001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756302080001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:50:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756302080001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":46431,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:50:28] local.INFO: GPS data processed {"connection_id":46431,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:50:28] local.INFO: Acknowledgment sent {"connection_id":46431,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:50:56] local.INFO: TCP Data received {"connection_id":45600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:50:56] local.INFO: Processing buffer {"connection_id":45600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:50:56] local.INFO: IMEI packet received {"connection_id":45600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":45600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:51:01] local.INFO: TCP Data received {"connection_id":45600,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:51:01] local.INFO: Processing buffer {"connection_id":45600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:51:01] local.INFO: IMEI packet received {"connection_id":45600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:51:01] local.INFO: IMEI acknowledgment sent {"connection_id":45600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:51:02] local.INFO: TCP Data received {"connection_id":45600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:51:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:51:02] local.INFO: Processing buffer {"connection_id":45600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:51:02] local.INFO: Packet analysis {"connection_id":45600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:51:02] local.INFO: Extracted packet for processing {"connection_id":45600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:51:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:51:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756379136001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:51:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:51:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:51:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:51:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776392407000,"timestamp_ms":1776392407000,"timestamp_seconds":1776392407,"priority":1,"record_length":96,"hex_timestamp":"0000019d993d07d8"} 
[2026-04-17 07:51:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:51:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:51:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:51:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:51:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:51:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:51:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:51:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:51:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:51:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:51:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:51:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:51:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:51:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756379136001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:51:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:51:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:51:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756379136001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:51:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:51:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:51:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:51:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:51:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756379136001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:51:02] local.INFO: DEBUG: GPS processor result {"connection_id":45600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:51:02] local.INFO: GPS data processed {"connection_id":45600,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:51:02] local.INFO: Acknowledgment sent {"connection_id":45600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:51:06] local.INFO: TCP Data received {"connection_id":45863,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:51:06] local.INFO: Processing buffer {"connection_id":45863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:51:06] local.INFO: IMEI packet received {"connection_id":45863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":45863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:51:10] local.INFO: TCP Data received {"connection_id":45600,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:51:10] local.INFO: Processing buffer {"connection_id":45600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:51:10] local.INFO: Packet analysis {"connection_id":45600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:51:10] local.INFO: Extracted packet for processing {"connection_id":45600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:51:10] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 07:51:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756379136001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:51:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:51:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:51:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:51:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776392407000,"timestamp_ms":1776392407000,"timestamp_seconds":1776392407,"priority":1,"record_length":96,"hex_timestamp":"0000019d993d07d8"} 
[2026-04-17 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-04-17 07:51:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:51: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-04-17 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-04-17 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-04-17 07:51:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:51:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:51:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:51:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:51:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:51:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:51:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:51:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756379136001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:51:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:51:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:51:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756379136001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:51:10] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:51:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:51:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:51:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:51:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756379136001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:51:10] local.INFO: DEBUG: GPS processor result {"connection_id":45600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:51:10] local.INFO: GPS data processed {"connection_id":45600,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:51:10] local.INFO: Acknowledgment sent {"connection_id":45600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:51:10] local.INFO: TCP Data received {"connection_id":45863,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:51:10] local.INFO: Processing buffer {"connection_id":45863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:51:10] local.INFO: IMEI packet received {"connection_id":45863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":45863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:51:12] local.INFO: TCP Data received {"connection_id":45863,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:51:12] local.INFO: Processing buffer {"connection_id":45863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:51:12] local.INFO: Packet analysis {"connection_id":45863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:51:12] local.INFO: Extracted packet for processing {"connection_id":45863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:51:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756343296001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:51:12] 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-04-17 07:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776392267000,"timestamp_ms":1776392267000,"timestamp_seconds":1776392267,"priority":1,"record_length":96,"hex_timestamp":"0000019d993ae4f8"} 
[2026-04-17 07:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:51: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-04-17 07:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:51: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-04-17 07:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756343296001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756343296001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:51:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756343296001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":45863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19915,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:51:12] local.INFO: GPS data processed {"connection_id":45863,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:51:12] local.INFO: Acknowledgment sent {"connection_id":45863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:51:46] local.INFO: TCP Data received {"connection_id":45863,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:51:46] local.INFO: Processing buffer {"connection_id":45863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:51:46] local.INFO: Packet analysis {"connection_id":45863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:51:46] local.INFO: Extracted packet for processing {"connection_id":45863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:51:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756343296001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:51:46] 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-04-17 07:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776392267000,"timestamp_ms":1776392267000,"timestamp_seconds":1776392267,"priority":1,"record_length":96,"hex_timestamp":"0000019d993ae4f8"} 
[2026-04-17 07:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:51:46] 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-04-17 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756343296001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756343296001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:51:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756343296001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":45863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19916,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:51:46] local.INFO: GPS data processed {"connection_id":45863,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:51:46] local.INFO: Acknowledgment sent {"connection_id":45863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:51:51] local.INFO: TCP Data received {"connection_id":45601,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:51:51] local.INFO: Processing buffer {"connection_id":45601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:51:51] local.INFO: IMEI packet received {"connection_id":45601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":45601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:51:56] local.INFO: TCP Data received {"connection_id":45601,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:51:56] local.INFO: Processing buffer {"connection_id":45601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:51:56] local.INFO: IMEI packet received {"connection_id":45601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":45601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:51:57] local.INFO: TCP Data received {"connection_id":45601,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:51:57] local.INFO: Processing buffer {"connection_id":45601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:51:57] local.INFO: Packet analysis {"connection_id":45601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:51:57] local.INFO: Extracted packet for processing {"connection_id":45601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:51:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756379136001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776392407000,"timestamp_ms":1776392407000,"timestamp_seconds":1776392407,"priority":1,"record_length":96,"hex_timestamp":"0000019d993d07d8"} 
[2026-04-17 07:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756379136001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756379136001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:51:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:51:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756379136001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":45601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:51:57] local.INFO: GPS data processed {"connection_id":45601,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:51:57] local.INFO: Acknowledgment sent {"connection_id":45601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:52:05] local.INFO: TCP Data received {"connection_id":45683,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:52:05] local.INFO: Processing buffer {"connection_id":45683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:52:05] local.INFO: IMEI packet received {"connection_id":45683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:52:05] local.INFO: IMEI acknowledgment sent {"connection_id":45683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:52:11] local.INFO: TCP Data received {"connection_id":45683,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:52:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:52:12] local.INFO: Processing buffer {"connection_id":45683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:52:12] local.INFO: IMEI packet received {"connection_id":45683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:52:12] local.INFO: IMEI acknowledgment sent {"connection_id":45683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:52:14] local.INFO: TCP Data received {"connection_id":45683,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:52:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:52:14] local.INFO: Processing buffer {"connection_id":45683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:52:14] local.INFO: Packet analysis {"connection_id":45683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:52:14] local.INFO: Extracted packet for processing {"connection_id":45683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:52:14] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:52:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756343296001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:52:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:52:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:52:14] 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-04-17 07:52:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776392267000,"timestamp_ms":1776392267000,"timestamp_seconds":1776392267,"priority":1,"record_length":96,"hex_timestamp":"0000019d993ae4f8"} 
[2026-04-17 07:52:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:52:14] 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-04-17 07: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:52: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-04-17 07: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-04-17 07:52:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:52:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:52:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:52:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:52:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:52:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:52:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:52:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:52:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756343296001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:52:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:52:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:52:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756343296001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:52:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:52:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:52:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:52:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756343296001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:52:14] local.INFO: DEBUG: GPS processor result {"connection_id":45683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19918,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:52:14] local.INFO: GPS data processed {"connection_id":45683,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:52:14] local.INFO: Acknowledgment sent {"connection_id":45683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:52:28] local.INFO: TCP Data received {"connection_id":45601,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:52:28] local.INFO: Processing buffer {"connection_id":45601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:52:28] local.INFO: Packet analysis {"connection_id":45601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:52:28] local.INFO: Extracted packet for processing {"connection_id":45601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:52:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756379136001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776392407000,"timestamp_ms":1776392407000,"timestamp_seconds":1776392407,"priority":1,"record_length":96,"hex_timestamp":"0000019d993d07d8"} 
[2026-04-17 07:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756379136001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756379136001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:52:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:52:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756379136001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":45601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:52:28] local.INFO: GPS data processed {"connection_id":45601,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:52:28] local.INFO: Acknowledgment sent {"connection_id":45601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:52:46] local.INFO: TCP Data received {"connection_id":45683,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:52:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:52:46] local.INFO: Processing buffer {"connection_id":45683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:52:46] local.INFO: Packet analysis {"connection_id":45683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:52:46] local.INFO: Extracted packet for processing {"connection_id":45683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:52:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:52:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756343296001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:52:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:52:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:52:46] 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-04-17 07:52:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776392267000,"timestamp_ms":1776392267000,"timestamp_seconds":1776392267,"priority":1,"record_length":96,"hex_timestamp":"0000019d993ae4f8"} 
[2026-04-17 07:52:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:52:46] 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-04-17 07:52:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:52:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:52:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:52:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:52:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:52:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:52:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:52:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:52:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:52:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:52:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:52:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756343296001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:52:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:52:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:52:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756343296001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:52:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:52:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:52:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:52:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756343296001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:52:46] local.INFO: DEBUG: GPS processor result {"connection_id":45683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19920,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:52:46] local.INFO: GPS data processed {"connection_id":45683,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:52:46] local.INFO: Acknowledgment sent {"connection_id":45683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:52:51] local.INFO: TCP Data received {"connection_id":45602,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:52:51] local.INFO: Processing buffer {"connection_id":45602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:52:51] local.INFO: IMEI packet received {"connection_id":45602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":45602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:52:56] local.INFO: TCP Data received {"connection_id":45602,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:52:56] local.INFO: Processing buffer {"connection_id":45602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:52:56] local.INFO: IMEI packet received {"connection_id":45602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":45602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:52:57] local.INFO: TCP Data received {"connection_id":45602,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:52:57] local.INFO: Processing buffer {"connection_id":45602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:52:57] local.INFO: Packet analysis {"connection_id":45602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:52:57] local.INFO: Extracted packet for processing {"connection_id":45602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:52:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756379136001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776392407000,"timestamp_ms":1776392407000,"timestamp_seconds":1776392407,"priority":1,"record_length":96,"hex_timestamp":"0000019d993d07d8"} 
[2026-04-17 07:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756379136001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756379136001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:52:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:52:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756379136001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":45602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19921,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:52:57] local.INFO: GPS data processed {"connection_id":45602,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:52:57] local.INFO: Acknowledgment sent {"connection_id":45602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:53:05] local.INFO: TCP Data received {"connection_id":45864,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:53:05] local.INFO: Processing buffer {"connection_id":45864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:53:05] local.INFO: IMEI packet received {"connection_id":45864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":45864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:53:10] local.INFO: TCP Data received {"connection_id":45864,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:53:10] local.INFO: Processing buffer {"connection_id":45864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:53:10] local.INFO: IMEI packet received {"connection_id":45864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":45864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:53:12] local.INFO: TCP Data received {"connection_id":45864,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:53:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:53:12] local.INFO: Processing buffer {"connection_id":45864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993ae4f8012d1b598006d4d5980011013831..."} 
[2026-04-17 07:53:12] local.INFO: Packet analysis {"connection_id":45864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:53:12] local.INFO: Extracted packet for processing {"connection_id":45864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993a"} 
[2026-04-17 07:53:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 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-04-17 07:53:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756343296001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:53:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:53:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:53:12] 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-04-17 07:53:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776392267000,"timestamp_ms":1776392267000,"timestamp_seconds":1776392267,"priority":1,"record_length":96,"hex_timestamp":"0000019d993ae4f8"} 
[2026-04-17 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-04-17 07:53: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-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07: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-04-17 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-04-17 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-04-17 07:53:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:53:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:53:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:53:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:53:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:53:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:53:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:53:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756343296001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:53:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:53:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:53:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756343296001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:53:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:53:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:53:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:53:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756343296001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:53:12] local.INFO: DEBUG: GPS processor result {"connection_id":45864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19922,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:53:12] local.INFO: GPS data processed {"connection_id":45864,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:53:12] local.INFO: Acknowledgment sent {"connection_id":45864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:53:28] local.INFO: TCP Data received {"connection_id":45602,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:53:28] local.INFO: Processing buffer {"connection_id":45602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:53:28] local.INFO: Packet analysis {"connection_id":45602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:53:28] local.INFO: Extracted packet for processing {"connection_id":45602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:53:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756379136001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776392407000,"timestamp_ms":1776392407000,"timestamp_seconds":1776392407,"priority":1,"record_length":96,"hex_timestamp":"0000019d993d07d8"} 
[2026-04-17 07:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756379136001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756379136001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:53:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:53:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756379136001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":45602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:53:28] local.INFO: GPS data processed {"connection_id":45602,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:53:28] local.INFO: Acknowledgment sent {"connection_id":45602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:53:45] local.INFO: TCP Data received {"connection_id":45864,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:53:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:53:45] local.INFO: Processing buffer {"connection_id":45864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:53:45] local.INFO: Packet analysis {"connection_id":45864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:53:45] local.INFO: Extracted packet for processing {"connection_id":45864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:53:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:53:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756420352001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:53:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:53:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:53:45] 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-04-17 07:53:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776392568000,"timestamp_ms":1776392568000,"timestamp_seconds":1776392568,"priority":1,"record_length":96,"hex_timestamp":"0000019d993f7cc0"} 
[2026-04-17 07:53:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:53:45] 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-04-17 07: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:53:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:53:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:53:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:53:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:53:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:53:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:53:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:53:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:53:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:53:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756420352001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:53:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:53:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:53:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756420352001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:53:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:53:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:53:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:53:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756420352001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:53:45] local.INFO: DEBUG: GPS processor result {"connection_id":45864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19924,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:53:45] local.INFO: GPS data processed {"connection_id":45864,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:53:45] local.INFO: Acknowledgment sent {"connection_id":45864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:53:51] local.INFO: TCP Data received {"connection_id":45603,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:53:51] local.INFO: Processing buffer {"connection_id":45603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:53:51] local.INFO: IMEI packet received {"connection_id":45603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":45603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:53:56] local.INFO: TCP Data received {"connection_id":45603,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:53:56] local.INFO: Processing buffer {"connection_id":45603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:53:56] local.INFO: IMEI packet received {"connection_id":45603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":45603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:53:57] local.INFO: TCP Data received {"connection_id":45603,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:53:57] local.INFO: Processing buffer {"connection_id":45603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:53:57] local.INFO: Packet analysis {"connection_id":45603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:53:57] local.INFO: Extracted packet for processing {"connection_id":45603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:53:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756379136001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776392407000,"timestamp_ms":1776392407000,"timestamp_seconds":1776392407,"priority":1,"record_length":96,"hex_timestamp":"0000019d993d07d8"} 
[2026-04-17 07:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:53:57] 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-04-17 07:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756379136001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756379136001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:53:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:53:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756379136001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":45603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:53:57] local.INFO: GPS data processed {"connection_id":45603,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:53:57] local.INFO: Acknowledgment sent {"connection_id":45603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:54:06] local.INFO: TCP Data received {"connection_id":45604,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:54:06] local.INFO: Processing buffer {"connection_id":45604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:54:06] local.INFO: IMEI packet received {"connection_id":45604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:54:06] local.INFO: IMEI acknowledgment sent {"connection_id":45604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:54:10] local.INFO: TCP Data received {"connection_id":45604,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:54:10] local.INFO: Processing buffer {"connection_id":45604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:54:10] local.INFO: IMEI packet received {"connection_id":45604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":45604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:54:12] local.INFO: TCP Data received {"connection_id":45604,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:54:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:54:12] local.INFO: Processing buffer {"connection_id":45604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:54:12] local.INFO: Packet analysis {"connection_id":45604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:54:12] local.INFO: Extracted packet for processing {"connection_id":45604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:54:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:54:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756420352001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:54:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:54:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:54:12] 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-04-17 07:54:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776392568000,"timestamp_ms":1776392568000,"timestamp_seconds":1776392568,"priority":1,"record_length":96,"hex_timestamp":"0000019d993f7cc0"} 
[2026-04-17 07:54:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:54: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-04-17 07:54:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:54:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:54:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:54:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:54:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:54:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:54:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:54:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:54:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:54:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:54:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:54:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756420352001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:54:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:54:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:54:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756420352001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:54:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:54:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:54:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:54:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756420352001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:54:12] local.INFO: DEBUG: GPS processor result {"connection_id":45604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19926,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:54:12] local.INFO: GPS data processed {"connection_id":45604,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:54:12] local.INFO: Acknowledgment sent {"connection_id":45604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:54:28] local.INFO: TCP Data received {"connection_id":45603,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:54:28] local.INFO: Processing buffer {"connection_id":45603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:54:28] local.INFO: Packet analysis {"connection_id":45603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:54:28] local.INFO: Extracted packet for processing {"connection_id":45603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:54:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756379136001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776392407000,"timestamp_ms":1776392407000,"timestamp_seconds":1776392407,"priority":1,"record_length":96,"hex_timestamp":"0000019d993d07d8"} 
[2026-04-17 07:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:54:28] 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-04-17 07:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756379136001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756379136001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:54:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:54:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756379136001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":45603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:54:28] local.INFO: GPS data processed {"connection_id":45603,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:54:28] local.INFO: Acknowledgment sent {"connection_id":45603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:54:43] local.INFO: TCP Data received {"connection_id":45604,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:54:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:54:43] local.INFO: Processing buffer {"connection_id":45604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:54:43] local.INFO: Packet analysis {"connection_id":45604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:54:43] local.INFO: Extracted packet for processing {"connection_id":45604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:54:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:54:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756420352001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:54:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:54:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:54:43] 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-04-17 07:54:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776392568000,"timestamp_ms":1776392568000,"timestamp_seconds":1776392568,"priority":1,"record_length":96,"hex_timestamp":"0000019d993f7cc0"} 
[2026-04-17 07:54:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:54:43] 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-04-17 07: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:54: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-04-17 07: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-04-17 07:54:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:54:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:54:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:54:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:54:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:54:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:54:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:54:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:54:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756420352001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:54:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:54:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:54:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756420352001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:54:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:54:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:54:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:54:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756420352001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:54:43] local.INFO: DEBUG: GPS processor result {"connection_id":45604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19928,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:54:43] local.INFO: GPS data processed {"connection_id":45604,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:54:43] local.INFO: Acknowledgment sent {"connection_id":45604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:54:51] local.INFO: TCP Data received {"connection_id":45865,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:54:51] local.INFO: Processing buffer {"connection_id":45865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:54:51] local.INFO: IMEI packet received {"connection_id":45865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":45865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:54:56] local.INFO: TCP Data received {"connection_id":45865,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45865,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:54:56] local.INFO: Processing buffer {"connection_id":45865,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:54:56] local.INFO: IMEI packet received {"connection_id":45865,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":45865,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:54:57] local.INFO: TCP Data received {"connection_id":45865,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:54:57] local.INFO: Processing buffer {"connection_id":45865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:54:57] local.INFO: Packet analysis {"connection_id":45865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:54:57] local.INFO: Extracted packet for processing {"connection_id":45865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:54:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756379136001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776392407000,"timestamp_ms":1776392407000,"timestamp_seconds":1776392407,"priority":1,"record_length":96,"hex_timestamp":"0000019d993d07d8"} 
[2026-04-17 07:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756379136001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756379136001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:54:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:54:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756379136001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":45865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19929,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:54:57] local.INFO: GPS data processed {"connection_id":45865,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:54:57] local.INFO: Acknowledgment sent {"connection_id":45865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:55:10] local.INFO: TCP Data received {"connection_id":46432,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:55:10] local.INFO: Processing buffer {"connection_id":46432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:55:10] local.INFO: IMEI packet received {"connection_id":46432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":46432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:55:17] local.INFO: TCP Data received {"connection_id":46432,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46432,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:55:17] local.INFO: Processing buffer {"connection_id":46432,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:55:17] local.INFO: IMEI packet received {"connection_id":46432,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":46432,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:55:19] local.INFO: TCP Data received {"connection_id":46432,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:55:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:55:19] local.INFO: Processing buffer {"connection_id":46432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:55:19] local.INFO: Packet analysis {"connection_id":46432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:55:19] local.INFO: Extracted packet for processing {"connection_id":46432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:55:19] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:55:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756420352001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:55:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:55:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:55:19] 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-04-17 07:55:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776392568000,"timestamp_ms":1776392568000,"timestamp_seconds":1776392568,"priority":1,"record_length":96,"hex_timestamp":"0000019d993f7cc0"} 
[2026-04-17 07:55:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:55:19] 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-04-17 07:55:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:55:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:55:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:55:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:55:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:55:19] local.INFO: Teltonika packet parsed successfully {"connection_id":46432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:55:19] local.INFO: Passing IMEI to GPS processor {"connection_id":46432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:55:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":46432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:55:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:55:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:55:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:55:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756420352001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:55:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:55:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:55:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756420352001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:55:19] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:55:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:55:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:55:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756420352001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:55:19] local.INFO: DEBUG: GPS processor result {"connection_id":46432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19930,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:55:19] local.INFO: GPS data processed {"connection_id":46432,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:55:19] local.INFO: Acknowledgment sent {"connection_id":46432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:55:28] local.INFO: TCP Data received {"connection_id":45865,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:55:28] local.INFO: Processing buffer {"connection_id":45865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993d07d8012d7fad4005afe350000000942a..."} 
[2026-04-17 07:55:28] local.INFO: Packet analysis {"connection_id":45865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:55:28] local.INFO: Extracted packet for processing {"connection_id":45865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993d"} 
[2026-04-17 07:55:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756379136001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776392407000,"timestamp_ms":1776392407000,"timestamp_seconds":1776392407,"priority":1,"record_length":96,"hex_timestamp":"0000019d993d07d8"} 
[2026-04-17 07:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45865,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:55: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-04-17 07:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756379136001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756379136001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:55:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:55:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756379136001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":45865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19931,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:55:28] local.INFO: GPS data processed {"connection_id":45865,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:55:28] local.INFO: Acknowledgment sent {"connection_id":45865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:55:50] local.INFO: TCP Data received {"connection_id":46432,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:55:50] local.INFO: Processing buffer {"connection_id":46432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:55:50] local.INFO: Packet analysis {"connection_id":46432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:55:50] local.INFO: Extracted packet for processing {"connection_id":46432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:55:50] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:55:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756420352001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:55:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:55:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:55:50] 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-04-17 07:55:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776392568000,"timestamp_ms":1776392568000,"timestamp_seconds":1776392568,"priority":1,"record_length":96,"hex_timestamp":"0000019d993f7cc0"} 
[2026-04-17 07:55:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:55:50] 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-04-17 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:55:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:55:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:55:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:55:50] local.INFO: Teltonika packet parsed successfully {"connection_id":46432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:55:50] local.INFO: Passing IMEI to GPS processor {"connection_id":46432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:55:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":46432,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:55:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:55:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:55:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:55:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756420352001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:55:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:55:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:55:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756420352001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:55:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:55:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:55:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:55:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756420352001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:55:51] local.INFO: DEBUG: GPS processor result {"connection_id":46432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19932,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:55:51] local.INFO: GPS data processed {"connection_id":46432,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:55:51] local.INFO: Acknowledgment sent {"connection_id":46432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:55:56] local.INFO: TCP Data received {"connection_id":45684,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:55:56] local.INFO: Processing buffer {"connection_id":45684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:55:56] local.INFO: IMEI packet received {"connection_id":45684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":45684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:56:01] local.INFO: TCP Data received {"connection_id":45684,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:56:01] local.INFO: Processing buffer {"connection_id":45684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:56:01] local.INFO: IMEI packet received {"connection_id":45684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":45684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:56:02] local.INFO: TCP Data received {"connection_id":45684,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:56:02] local.INFO: Processing buffer {"connection_id":45684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:56:02] local.INFO: Packet analysis {"connection_id":45684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 07:56:02] local.INFO: Extracted packet for processing {"connection_id":45684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 07:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756456192001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776392708000,"timestamp_ms":1776392708000,"timestamp_seconds":1776392708,"priority":1,"record_length":96,"hex_timestamp":"0000019d99419fa0"} 
[2026-04-17 07:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 07:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:56:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756456192001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756456192001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:56:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756456192001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":45684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:56:02] local.INFO: GPS data processed {"connection_id":45684,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:56:02] local.INFO: Acknowledgment sent {"connection_id":45684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:56:05] local.INFO: TCP Data received {"connection_id":45866,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:56:05] local.INFO: Processing buffer {"connection_id":45866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:56:05] local.INFO: IMEI packet received {"connection_id":45866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":45866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:56:07] local.INFO: TCP Data received {"connection_id":45684,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:56:07] local.INFO: Processing buffer {"connection_id":45684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:56:07] local.INFO: Packet analysis {"connection_id":45684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 07:56:07] local.INFO: Extracted packet for processing {"connection_id":45684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 07:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756456192001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776392708000,"timestamp_ms":1776392708000,"timestamp_seconds":1776392708,"priority":1,"record_length":96,"hex_timestamp":"0000019d99419fa0"} 
[2026-04-17 07:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 07:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:56:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756456192001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756456192001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:56:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:56:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756456192001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":45684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19934,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:56:07] local.INFO: GPS data processed {"connection_id":45684,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:56:07] local.INFO: Acknowledgment sent {"connection_id":45684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:56:11] local.INFO: TCP Data received {"connection_id":45866,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:56:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:56:11] local.INFO: Processing buffer {"connection_id":45866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:56:11] local.INFO: IMEI packet received {"connection_id":45866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:56:11] local.INFO: IMEI acknowledgment sent {"connection_id":45866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:56:13] local.INFO: TCP Data received {"connection_id":45866,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:56:13] local.INFO: Processing buffer {"connection_id":45866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:56:13] local.INFO: Packet analysis {"connection_id":45866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:56:13] local.INFO: Extracted packet for processing {"connection_id":45866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:56:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756420352001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:56:13] 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-04-17 07:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776392568000,"timestamp_ms":1776392568000,"timestamp_seconds":1776392568,"priority":1,"record_length":96,"hex_timestamp":"0000019d993f7cc0"} 
[2026-04-17 07:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:56:13] 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-04-17 07: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:56:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756420352001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756420352001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:56:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756420352001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":45866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19935,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:56:13] local.INFO: GPS data processed {"connection_id":45866,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:56:13] local.INFO: Acknowledgment sent {"connection_id":45866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:56:45] local.INFO: TCP Data received {"connection_id":45866,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:56:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:56:45] local.INFO: Processing buffer {"connection_id":45866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:56:45] local.INFO: Packet analysis {"connection_id":45866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:56:45] local.INFO: Extracted packet for processing {"connection_id":45866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:56:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:56:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756420352001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:56:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:56:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:56:45] 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-04-17 07:56:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776392568000,"timestamp_ms":1776392568000,"timestamp_seconds":1776392568,"priority":1,"record_length":96,"hex_timestamp":"0000019d993f7cc0"} 
[2026-04-17 07:56:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:56:45] 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-04-17 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:56:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:56:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:56:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:56:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:56:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:56:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:56:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:56:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:56:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:56:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756420352001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:56:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:56:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:56:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756420352001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:56:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:56:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:56:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:56:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756420352001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:56:45] local.INFO: DEBUG: GPS processor result {"connection_id":45866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19936,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:56:45] local.INFO: GPS data processed {"connection_id":45866,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:56:45] local.INFO: Acknowledgment sent {"connection_id":45866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:56:51] local.INFO: TCP Data received {"connection_id":45867,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:56:51] local.INFO: Processing buffer {"connection_id":45867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:56:51] local.INFO: IMEI packet received {"connection_id":45867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":45867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:56:56] local.INFO: TCP Data received {"connection_id":45867,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45867,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:56:56] local.INFO: Processing buffer {"connection_id":45867,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:56:56] local.INFO: IMEI packet received {"connection_id":45867,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":45867,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:56:57] local.INFO: TCP Data received {"connection_id":45867,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:56:57] local.INFO: Processing buffer {"connection_id":45867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:56:57] local.INFO: Packet analysis {"connection_id":45867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 07:56:57] local.INFO: Extracted packet for processing {"connection_id":45867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 07:56:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756456192001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776392708000,"timestamp_ms":1776392708000,"timestamp_seconds":1776392708,"priority":1,"record_length":96,"hex_timestamp":"0000019d99419fa0"} 
[2026-04-17 07:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 07:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756456192001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756456192001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:56:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:56:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756456192001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":45867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19937,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:56:57] local.INFO: GPS data processed {"connection_id":45867,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:56:57] local.INFO: Acknowledgment sent {"connection_id":45867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:57:05] local.INFO: TCP Data received {"connection_id":46433,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:57:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:57:05] local.INFO: Processing buffer {"connection_id":46433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:57:05] local.INFO: IMEI packet received {"connection_id":46433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:57:05] local.INFO: IMEI acknowledgment sent {"connection_id":46433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:57:10] local.INFO: TCP Data received {"connection_id":46433,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46433,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:57:10] local.INFO: Processing buffer {"connection_id":46433,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:57:10] local.INFO: IMEI packet received {"connection_id":46433,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":46433,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:57:12] local.INFO: TCP Data received {"connection_id":46433,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:57:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:57:12] local.INFO: Processing buffer {"connection_id":46433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:57:12] local.INFO: Packet analysis {"connection_id":46433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:57:12] local.INFO: Extracted packet for processing {"connection_id":46433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:57:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:57:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756420352001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:57:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:57:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:57:12] 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-04-17 07:57:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776392568000,"timestamp_ms":1776392568000,"timestamp_seconds":1776392568,"priority":1,"record_length":96,"hex_timestamp":"0000019d993f7cc0"} 
[2026-04-17 07:57:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:57: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-04-17 07: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:57: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-04-17 07: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-04-17 07:57:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:57:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:57:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:57:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:57:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:57:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:57:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:57:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:57:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756420352001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:57:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:57:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:57:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756420352001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:57:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:57:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:57:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:57:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756420352001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:57:12] local.INFO: DEBUG: GPS processor result {"connection_id":46433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19938,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:57:12] local.INFO: GPS data processed {"connection_id":46433,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:57:12] local.INFO: Acknowledgment sent {"connection_id":46433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:57:28] local.INFO: TCP Data received {"connection_id":45867,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:57:28] local.INFO: Processing buffer {"connection_id":45867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:57:28] local.INFO: Packet analysis {"connection_id":45867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 07:57:28] local.INFO: Extracted packet for processing {"connection_id":45867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 07:57:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756456192001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776392708000,"timestamp_ms":1776392708000,"timestamp_seconds":1776392708,"priority":1,"record_length":96,"hex_timestamp":"0000019d99419fa0"} 
[2026-04-17 07:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 07:57:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45867,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756456192001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756456192001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:57:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:57:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756456192001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":45867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:57:28] local.INFO: GPS data processed {"connection_id":45867,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:57:28] local.INFO: Acknowledgment sent {"connection_id":45867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:57:43] local.INFO: TCP Data received {"connection_id":46433,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:57:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:57:43] local.INFO: Processing buffer {"connection_id":46433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:57:43] local.INFO: Packet analysis {"connection_id":46433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:57:43] local.INFO: Extracted packet for processing {"connection_id":46433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:57:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:57:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756420352001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:57:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:57:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:57:43] 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-04-17 07:57:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776392568000,"timestamp_ms":1776392568000,"timestamp_seconds":1776392568,"priority":1,"record_length":96,"hex_timestamp":"0000019d993f7cc0"} 
[2026-04-17 07:57:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:57:43] 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-04-17 07:57:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:57: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-04-17 07: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-04-17 07:57:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:57:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:57:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:57:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:57:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46433,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:57:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:57:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:57:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:57:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756420352001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:57:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:57:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:57:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756420352001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:57:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:57:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:57:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:57:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756420352001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:57:43] local.INFO: DEBUG: GPS processor result {"connection_id":46433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19940,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:57:43] local.INFO: GPS data processed {"connection_id":46433,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:57:43] local.INFO: Acknowledgment sent {"connection_id":46433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:57:51] local.INFO: TCP Data received {"connection_id":45605,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:57:51] local.INFO: Processing buffer {"connection_id":45605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:57:51] local.INFO: IMEI packet received {"connection_id":45605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":45605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:57:56] local.INFO: TCP Data received {"connection_id":45605,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:57:56] local.INFO: Processing buffer {"connection_id":45605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:57:56] local.INFO: IMEI packet received {"connection_id":45605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":45605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:57:57] local.INFO: TCP Data received {"connection_id":45605,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:57:57] local.INFO: Processing buffer {"connection_id":45605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:57:57] local.INFO: Packet analysis {"connection_id":45605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 07:57:57] local.INFO: Extracted packet for processing {"connection_id":45605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 07:57:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756456192001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776392708000,"timestamp_ms":1776392708000,"timestamp_seconds":1776392708,"priority":1,"record_length":96,"hex_timestamp":"0000019d99419fa0"} 
[2026-04-17 07:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 07:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756456192001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756456192001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:57:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:57:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756456192001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":45605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:57:57] local.INFO: GPS data processed {"connection_id":45605,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:57:57] local.INFO: Acknowledgment sent {"connection_id":45605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:58:10] local.INFO: TCP Data received {"connection_id":45685,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45685,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:58:10] local.INFO: Processing buffer {"connection_id":45685,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:58:10] local.INFO: IMEI packet received {"connection_id":45685,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":45685,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:58:15] local.INFO: TCP Data received {"connection_id":45685,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45685,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:58:15] local.INFO: Processing buffer {"connection_id":45685,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:58:15] local.INFO: IMEI packet received {"connection_id":45685,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":45685,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:58:17] local.INFO: TCP Data received {"connection_id":45685,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:58:17] local.INFO: Processing buffer {"connection_id":45685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d993f7cc0012d1b598006d4d5980011013831..."} 
[2026-04-17 07:58:17] local.INFO: Packet analysis {"connection_id":45685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:58:17] local.INFO: Extracted packet for processing {"connection_id":45685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d993f"} 
[2026-04-17 07:58:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:58:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756420352001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:58:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:58:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:58:17] 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-04-17 07:58:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776392568000,"timestamp_ms":1776392568000,"timestamp_seconds":1776392568,"priority":1,"record_length":96,"hex_timestamp":"0000019d993f7cc0"} 
[2026-04-17 07:58:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:58:17] 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-04-17 07: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 07:58:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:58:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:58:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:58:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:58:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45685,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:58:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45685,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:58:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:58:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:58:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:58:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756420352001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:58:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:58:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:58:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756420352001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:58:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:58:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:58:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:58:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756420352001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:58:17] local.INFO: DEBUG: GPS processor result {"connection_id":45685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19942,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:58:17] local.INFO: GPS data processed {"connection_id":45685,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:58:17] local.INFO: Acknowledgment sent {"connection_id":45685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:58:28] local.INFO: TCP Data received {"connection_id":45605,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:58:28] local.INFO: Processing buffer {"connection_id":45605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:58:28] local.INFO: Packet analysis {"connection_id":45605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 07:58:28] local.INFO: Extracted packet for processing {"connection_id":45605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 07:58:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756456192001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776392708000,"timestamp_ms":1776392708000,"timestamp_seconds":1776392708,"priority":1,"record_length":96,"hex_timestamp":"0000019d99419fa0"} 
[2026-04-17 07:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 07:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756456192001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756456192001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:58:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756456192001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":45605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:58:28] local.INFO: GPS data processed {"connection_id":45605,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:58:28] local.INFO: Acknowledgment sent {"connection_id":45605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:58:48] local.INFO: TCP Data received {"connection_id":45685,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 07:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 07:58:48] local.INFO: Processing buffer {"connection_id":45685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 07:58:48] local.INFO: Packet analysis {"connection_id":45685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 07:58:48] local.INFO: Extracted packet for processing {"connection_id":45685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 07:58:48] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756497408001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:58:48] 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-04-17 07:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776392869000,"timestamp_ms":1776392869000,"timestamp_seconds":1776392869,"priority":1,"record_length":96,"hex_timestamp":"0000019d99441488"} 
[2026-04-17 07:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:58:48] 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-04-17 07: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":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:58: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-04-17 07: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-04-17 07:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45685,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45685,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756497408001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756497408001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:58:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756497408001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":45685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19944,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:58:48] local.INFO: GPS data processed {"connection_id":45685,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:58:48] local.INFO: Acknowledgment sent {"connection_id":45685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:58:51] local.INFO: TCP Data received {"connection_id":46434,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:58:51] local.INFO: Processing buffer {"connection_id":46434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:58:51] local.INFO: IMEI packet received {"connection_id":46434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":46434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:58:56] local.INFO: TCP Data received {"connection_id":46434,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46434,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:58:56] local.INFO: Processing buffer {"connection_id":46434,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:58:56] local.INFO: IMEI packet received {"connection_id":46434,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":46434,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:58:57] local.INFO: TCP Data received {"connection_id":46434,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:58:57] local.INFO: Processing buffer {"connection_id":46434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:58:57] local.INFO: Packet analysis {"connection_id":46434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 07:58:57] local.INFO: Extracted packet for processing {"connection_id":46434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 07:58:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:58: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-04-17 07:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756456192001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776392708000,"timestamp_ms":1776392708000,"timestamp_seconds":1776392708,"priority":1,"record_length":96,"hex_timestamp":"0000019d99419fa0"} 
[2026-04-17 07:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:58:57] local.INFO: IO Element 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-04-17 07:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:58: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-04-17 07:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756456192001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756456192001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:58:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:58:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756456192001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":46434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19945,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:58:57] local.INFO: GPS data processed {"connection_id":46434,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:58:57] local.INFO: Acknowledgment sent {"connection_id":46434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:59:10] local.INFO: TCP Data received {"connection_id":45686,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:59:10] local.INFO: Processing buffer {"connection_id":45686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:59:10] local.INFO: IMEI packet received {"connection_id":45686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 07:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":45686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:59:15] local.INFO: TCP Data received {"connection_id":45686,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45686,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:59:15] local.INFO: Processing buffer {"connection_id":45686,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 07:59:15] local.INFO: IMEI packet received {"connection_id":45686,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 07:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":45686,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:59:16] local.INFO: TCP Data received {"connection_id":45686,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 07:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 07:59:16] local.INFO: Processing buffer {"connection_id":45686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 07:59:16] local.INFO: Packet analysis {"connection_id":45686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 07:59:16] local.INFO: Extracted packet for processing {"connection_id":45686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 07:59:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:59:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756497408001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:59:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:59:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:59:16] 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-04-17 07:59:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776392869000,"timestamp_ms":1776392869000,"timestamp_seconds":1776392869,"priority":1,"record_length":96,"hex_timestamp":"0000019d99441488"} 
[2026-04-17 07:59:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:59:16] 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-04-17 07: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:59: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-04-17 07: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-04-17 07:59:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:59:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:59:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:59:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:59:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:59:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:59:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:59:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:59:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756497408001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:59:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:59:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:59:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756497408001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:59:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:59:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:59:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:59:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756497408001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:59:16] local.INFO: DEBUG: GPS processor result {"connection_id":45686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19946,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:59:16] local.INFO: GPS data processed {"connection_id":45686,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:59:16] local.INFO: Acknowledgment sent {"connection_id":45686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:59:21] local.INFO: TCP Data received {"connection_id":45686,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 07:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 07:59:21] local.INFO: Processing buffer {"connection_id":45686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 07:59:21] local.INFO: Packet analysis {"connection_id":45686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 07:59:21] local.INFO: Extracted packet for processing {"connection_id":45686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 07:59:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 07: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-04-17 07:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756497408001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 07:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 07:59:21] 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-04-17 07:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776392869000,"timestamp_ms":1776392869000,"timestamp_seconds":1776392869,"priority":1,"record_length":96,"hex_timestamp":"0000019d99441488"} 
[2026-04-17 07:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:59:21] 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-04-17 07: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 07:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45686,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 07:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 07:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 07:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756497408001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 07:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 07:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 07:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756497408001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:59:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 07:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 07:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756497408001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 07:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":45686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19947,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:59:21] local.INFO: GPS data processed {"connection_id":45686,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:59:21] local.INFO: Acknowledgment sent {"connection_id":45686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:59:28] local.INFO: TCP Data received {"connection_id":46434,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46434,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:59:28] local.INFO: Processing buffer {"connection_id":46434,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:59:28] local.INFO: Packet analysis {"connection_id":46434,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 07:59:28] local.INFO: Extracted packet for processing {"connection_id":46434,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 07:59:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756456192001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776392708000,"timestamp_ms":1776392708000,"timestamp_seconds":1776392708,"priority":1,"record_length":96,"hex_timestamp":"0000019d99419fa0"} 
[2026-04-17 07:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 07:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07: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-04-17 07:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46434,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46434,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756456192001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756456192001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:59:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:59:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756456192001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":46434,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:59:28] local.INFO: GPS data processed {"connection_id":46434,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:59:28] local.INFO: Acknowledgment sent {"connection_id":46434,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 07:59:51] local.INFO: TCP Data received {"connection_id":45868,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:59:51] local.INFO: Processing buffer {"connection_id":45868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:59:51] local.INFO: IMEI packet received {"connection_id":45868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 07:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":45868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 07:59:56] local.INFO: TCP Data received {"connection_id":45868,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45868,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:59:56] local.INFO: Processing buffer {"connection_id":45868,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 07:59:56] local.INFO: IMEI packet received {"connection_id":45868,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 07:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":45868,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 07:59:57] local.INFO: TCP Data received {"connection_id":45868,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:59:57] local.INFO: Processing buffer {"connection_id":45868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 07:59:57] local.INFO: Packet analysis {"connection_id":45868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 07:59:57] local.INFO: Extracted packet for processing {"connection_id":45868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 07:59:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 07:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 07:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756456192001,"note":"Value kept but may cause issues"} 
[2026-04-17 07:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 07:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 07:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 07:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776392708000,"timestamp_ms":1776392708000,"timestamp_seconds":1776392708,"priority":1,"record_length":96,"hex_timestamp":"0000019d99419fa0"} 
[2026-04-17 07:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 07:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 07:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 07:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 07:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 07:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 07:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 07:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 07:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 07:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 07:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 07:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 07:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756456192001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 07:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 07:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 07:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756456192001,"description":"Unknown IO ID 0"} 
[2026-04-17 07:59:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 07:59:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 07:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 07:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 07:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756456192001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 07:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":45868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 07:59:57] local.INFO: GPS data processed {"connection_id":45868,"processed":1,"errors":0,"total":1} 
[2026-04-17 07:59:57] local.INFO: Acknowledgment sent {"connection_id":45868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:00:05] local.INFO: TCP Data received {"connection_id":46435,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:00:05] local.INFO: Processing buffer {"connection_id":46435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:00:05] local.INFO: IMEI packet received {"connection_id":46435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":46435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:00:10] local.INFO: TCP Data received {"connection_id":46435,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46435,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:00:10] local.INFO: Processing buffer {"connection_id":46435,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:00:10] local.INFO: IMEI packet received {"connection_id":46435,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":46435,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:00:13] local.INFO: TCP Data received {"connection_id":46435,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:00:13] local.INFO: Processing buffer {"connection_id":46435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:00:13] local.INFO: Packet analysis {"connection_id":46435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 08:00:13] local.INFO: Extracted packet for processing {"connection_id":46435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 08:00:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:00:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756497408001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:00:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:00:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:00:13] 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-04-17 08:00:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776392869000,"timestamp_ms":1776392869000,"timestamp_seconds":1776392869,"priority":1,"record_length":96,"hex_timestamp":"0000019d99441488"} 
[2026-04-17 08:00:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:00:13] 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-04-17 08:00:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:00: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-04-17 08:00:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:00:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:00:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:00:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:00:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:00:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:00:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:00:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:00:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:00:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756497408001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:00:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:00:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:00:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756497408001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:00:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:00:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:00:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:00:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756497408001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:00:13] local.INFO: DEBUG: GPS processor result {"connection_id":46435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19950,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:00:13] local.INFO: GPS data processed {"connection_id":46435,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:00:13] local.INFO: Acknowledgment sent {"connection_id":46435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:00:16] local.INFO: TCP Data received {"connection_id":46435,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:00:16] local.INFO: Processing buffer {"connection_id":46435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:00:16] local.INFO: Packet analysis {"connection_id":46435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 08:00:16] local.INFO: Extracted packet for processing {"connection_id":46435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 08:00:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756497408001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:00:16] 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-04-17 08:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776392869000,"timestamp_ms":1776392869000,"timestamp_seconds":1776392869,"priority":1,"record_length":96,"hex_timestamp":"0000019d99441488"} 
[2026-04-17 08:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:00:16] 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-04-17 08:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:00: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-04-17 08:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756497408001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756497408001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:00:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756497408001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":46435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19951,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:00:16] local.INFO: GPS data processed {"connection_id":46435,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:00:16] local.INFO: Acknowledgment sent {"connection_id":46435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:00:28] local.INFO: TCP Data received {"connection_id":45868,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 08:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 08:00:28] local.INFO: Processing buffer {"connection_id":45868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99419fa0012d7fad4005afe3500000009426..."} 
[2026-04-17 08:00:28] local.INFO: Packet analysis {"connection_id":45868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 08:00:28] local.INFO: Extracted packet for processing {"connection_id":45868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9941"} 
[2026-04-17 08:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756456192001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776392708000,"timestamp_ms":1776392708000,"timestamp_seconds":1776392708,"priority":1,"record_length":96,"hex_timestamp":"0000019d99419fa0"} 
[2026-04-17 08:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 08:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45868,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756456192001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756456192001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:00:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:00:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756456192001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":45868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19952,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:00:28] local.INFO: GPS data processed {"connection_id":45868,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:00:28] local.INFO: Acknowledgment sent {"connection_id":45868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:00:48] local.INFO: TCP Data received {"connection_id":46435,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46435,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:00:48] local.INFO: Processing buffer {"connection_id":46435,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:00:48] local.INFO: Packet analysis {"connection_id":46435,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 08:00:48] local.INFO: Extracted packet for processing {"connection_id":46435,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 08:00:48] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756497408001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:00:48] 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-04-17 08:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776392869000,"timestamp_ms":1776392869000,"timestamp_seconds":1776392869,"priority":1,"record_length":96,"hex_timestamp":"0000019d99441488"} 
[2026-04-17 08:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:00:48] 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-04-17 08:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:00: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-04-17 08:00: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-04-17 08:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":46435,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":46435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":46435,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756497408001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756497408001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:00:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756497408001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":46435,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19953,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:00:48] local.INFO: GPS data processed {"connection_id":46435,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:00:48] local.INFO: Acknowledgment sent {"connection_id":46435,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:00:56] local.INFO: TCP Data received {"connection_id":46436,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:00:56] local.INFO: Processing buffer {"connection_id":46436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:00:56] local.INFO: IMEI packet received {"connection_id":46436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":46436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:01:01] local.INFO: TCP Data received {"connection_id":46436,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46436,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:01:01] local.INFO: Processing buffer {"connection_id":46436,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:01:01] local.INFO: IMEI packet received {"connection_id":46436,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":46436,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:01:02] local.INFO: TCP Data received {"connection_id":46436,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:01:02] local.INFO: Processing buffer {"connection_id":46436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:01:02] local.INFO: Packet analysis {"connection_id":46436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:01:02] local.INFO: Extracted packet for processing {"connection_id":46436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756533248001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776393009000,"timestamp_ms":1776393009000,"timestamp_seconds":1776393009,"priority":1,"record_length":96,"hex_timestamp":"0000019d99463768"} 
[2026-04-17 08:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:01:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:01:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756533248001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756533248001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:01:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756533248001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":46436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:01:02] local.INFO: GPS data processed {"connection_id":46436,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:01:02] local.INFO: Acknowledgment sent {"connection_id":46436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:01:05] local.INFO: TCP Data received {"connection_id":45687,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:01:05] local.INFO: Processing buffer {"connection_id":45687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:01:05] local.INFO: IMEI packet received {"connection_id":45687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":45687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:01:07] local.INFO: TCP Data received {"connection_id":46436,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:01:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:01:07] local.INFO: Processing buffer {"connection_id":46436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:01:07] local.INFO: Packet analysis {"connection_id":46436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:01:07] local.INFO: Extracted packet for processing {"connection_id":46436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:01:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:01:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756533248001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:01:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:01:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:01:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:01:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776393009000,"timestamp_ms":1776393009000,"timestamp_seconds":1776393009,"priority":1,"record_length":96,"hex_timestamp":"0000019d99463768"} 
[2026-04-17 08:01:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:01:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:01:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:01:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:01:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:01:07] local.INFO: Teltonika packet parsed successfully {"connection_id":46436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:01:07] local.INFO: Passing IMEI to GPS processor {"connection_id":46436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:01:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":46436,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:01:07] 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-04-17 08:01:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:01:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:01:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756533248001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:01:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:01:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:01:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756533248001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:01:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:01:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:01:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:01:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:01:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756533248001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:01:07] local.INFO: DEBUG: GPS processor result {"connection_id":46436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:01:07] local.INFO: GPS data processed {"connection_id":46436,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:01:07] local.INFO: Acknowledgment sent {"connection_id":46436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:01:10] local.INFO: TCP Data received {"connection_id":45687,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:01:10] local.INFO: Processing buffer {"connection_id":45687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:01:10] local.INFO: IMEI packet received {"connection_id":45687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":45687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:01:12] local.INFO: TCP Data received {"connection_id":45687,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:01:12] local.INFO: Processing buffer {"connection_id":45687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:01:12] local.INFO: Packet analysis {"connection_id":45687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 08:01:12] local.INFO: Extracted packet for processing {"connection_id":45687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 08:01:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756497408001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:01:12] 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-04-17 08:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776392869000,"timestamp_ms":1776392869000,"timestamp_seconds":1776392869,"priority":1,"record_length":96,"hex_timestamp":"0000019d99441488"} 
[2026-04-17 08:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08: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-04-17 08:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:01: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-04-17 08:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756497408001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756497408001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:01:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756497408001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":45687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19956,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:01:12] local.INFO: GPS data processed {"connection_id":45687,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:01:12] local.INFO: Acknowledgment sent {"connection_id":45687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:01:45] local.INFO: TCP Data received {"connection_id":45687,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:01:45] local.INFO: Processing buffer {"connection_id":45687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:01:45] local.INFO: Packet analysis {"connection_id":45687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 08:01:45] local.INFO: Extracted packet for processing {"connection_id":45687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 08:01:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:01:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756497408001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:01:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:01:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:01:45] 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-04-17 08:01:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776392869000,"timestamp_ms":1776392869000,"timestamp_seconds":1776392869,"priority":1,"record_length":96,"hex_timestamp":"0000019d99441488"} 
[2026-04-17 08:01:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:01:45] 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-04-17 08: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-04-17 08: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-04-17 08: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-04-17 08:01:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:01:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:01:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:01:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:01:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:01:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:01:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:01:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:01:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756497408001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:01:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:01:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:01:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756497408001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:01:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:01:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:01:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:01:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756497408001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:01:45] local.INFO: DEBUG: GPS processor result {"connection_id":45687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19957,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:01:45] local.INFO: GPS data processed {"connection_id":45687,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:01:45] local.INFO: Acknowledgment sent {"connection_id":45687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:01:51] local.INFO: TCP Data received {"connection_id":45606,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:01:51] local.INFO: Processing buffer {"connection_id":45606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:01:51] local.INFO: IMEI packet received {"connection_id":45606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":45606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:01:56] local.INFO: TCP Data received {"connection_id":45606,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:01:56] local.INFO: Processing buffer {"connection_id":45606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:01:56] local.INFO: IMEI packet received {"connection_id":45606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":45606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:01:57] local.INFO: TCP Data received {"connection_id":45606,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:01:57] local.INFO: Processing buffer {"connection_id":45606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:01:57] local.INFO: Packet analysis {"connection_id":45606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:01:57] local.INFO: Extracted packet for processing {"connection_id":45606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:01:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756533248001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776393009000,"timestamp_ms":1776393009000,"timestamp_seconds":1776393009,"priority":1,"record_length":96,"hex_timestamp":"0000019d99463768"} 
[2026-04-17 08:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756533248001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756533248001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:01:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:01:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756533248001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":45606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19958,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:01:57] local.INFO: GPS data processed {"connection_id":45606,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:01:57] local.INFO: Acknowledgment sent {"connection_id":45606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:02:05] local.INFO: TCP Data received {"connection_id":45688,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:02:05] local.INFO: Processing buffer {"connection_id":45688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:02:05] local.INFO: IMEI packet received {"connection_id":45688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":45688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:02:10] local.INFO: TCP Data received {"connection_id":45688,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45688,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:02:10] local.INFO: Processing buffer {"connection_id":45688,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:02:10] local.INFO: IMEI packet received {"connection_id":45688,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":45688,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:02:12] local.INFO: TCP Data received {"connection_id":45688,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:02:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:02:12] local.INFO: Processing buffer {"connection_id":45688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:02:12] local.INFO: Packet analysis {"connection_id":45688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 08:02:12] local.INFO: Extracted packet for processing {"connection_id":45688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 08:02:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:02:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756497408001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:02:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:02:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:02:12] 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-04-17 08:02:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776392869000,"timestamp_ms":1776392869000,"timestamp_seconds":1776392869,"priority":1,"record_length":96,"hex_timestamp":"0000019d99441488"} 
[2026-04-17 08:02:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:02: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-04-17 08:02:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:02: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-04-17 08:02:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:02:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:02:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:02:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:02:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:02:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:02:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:02:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:02:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:02:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756497408001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:02:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:02:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:02:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756497408001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:02:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:02:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:02:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:02:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756497408001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:02:12] local.INFO: DEBUG: GPS processor result {"connection_id":45688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19959,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:02:12] local.INFO: GPS data processed {"connection_id":45688,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:02:12] local.INFO: Acknowledgment sent {"connection_id":45688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:02:28] local.INFO: TCP Data received {"connection_id":45606,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:02:28] local.INFO: Processing buffer {"connection_id":45606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:02:28] local.INFO: Packet analysis {"connection_id":45606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:02:28] local.INFO: Extracted packet for processing {"connection_id":45606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:02:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 08:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756533248001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776393009000,"timestamp_ms":1776393009000,"timestamp_seconds":1776393009,"priority":1,"record_length":96,"hex_timestamp":"0000019d99463768"} 
[2026-04-17 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-04-17 08:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 08:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756533248001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756533248001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:02:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:02:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756533248001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":45606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:02:28] local.INFO: GPS data processed {"connection_id":45606,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:02:28] local.INFO: Acknowledgment sent {"connection_id":45606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:02:44] local.INFO: TCP Data received {"connection_id":45688,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:02:44] local.INFO: Processing buffer {"connection_id":45688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:02:44] local.INFO: Packet analysis {"connection_id":45688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 08:02:44] local.INFO: Extracted packet for processing {"connection_id":45688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 08:02:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:02:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756497408001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:02:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:02:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:02:44] 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-04-17 08:02:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776392869000,"timestamp_ms":1776392869000,"timestamp_seconds":1776392869,"priority":1,"record_length":96,"hex_timestamp":"0000019d99441488"} 
[2026-04-17 08:02:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:02:44] 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-04-17 08: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":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:02: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-04-17 08: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-04-17 08:02:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:02:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:02:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:02:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:02:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45688,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:02:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:02:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:02:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:02:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756497408001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:02:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:02:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:02:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756497408001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:02:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:02:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:02:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:02:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756497408001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:02:44] local.INFO: DEBUG: GPS processor result {"connection_id":45688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19961,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:02:44] local.INFO: GPS data processed {"connection_id":45688,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:02:44] local.INFO: Acknowledgment sent {"connection_id":45688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:02:51] local.INFO: TCP Data received {"connection_id":46437,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:02:51] local.INFO: Processing buffer {"connection_id":46437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:02:51] local.INFO: IMEI packet received {"connection_id":46437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":46437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:02:56] local.INFO: TCP Data received {"connection_id":46437,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:02:56] local.INFO: Processing buffer {"connection_id":46437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:02:56] local.INFO: IMEI packet received {"connection_id":46437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":46437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:02:57] local.INFO: TCP Data received {"connection_id":46437,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:02:57] local.INFO: Processing buffer {"connection_id":46437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:02:57] local.INFO: Packet analysis {"connection_id":46437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:02:57] local.INFO: Extracted packet for processing {"connection_id":46437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:02:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756533248001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776393009000,"timestamp_ms":1776393009000,"timestamp_seconds":1776393009,"priority":1,"record_length":96,"hex_timestamp":"0000019d99463768"} 
[2026-04-17 08:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756533248001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756533248001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:02:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:02:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756533248001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":46437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:02:57] local.INFO: GPS data processed {"connection_id":46437,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:02:57] local.INFO: Acknowledgment sent {"connection_id":46437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:03:05] local.INFO: TCP Data received {"connection_id":45607,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:03:05] local.INFO: Processing buffer {"connection_id":45607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:03:05] local.INFO: IMEI packet received {"connection_id":45607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":45607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:03:10] local.INFO: TCP Data received {"connection_id":45607,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45607,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:03:10] local.INFO: Processing buffer {"connection_id":45607,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:03:10] local.INFO: IMEI packet received {"connection_id":45607,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":45607,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:03:13] local.INFO: TCP Data received {"connection_id":45607,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:03:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:03:13] local.INFO: Processing buffer {"connection_id":45607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99441488012d1b598006d4d5980011013831..."} 
[2026-04-17 08:03:13] local.INFO: Packet analysis {"connection_id":45607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 08:03:13] local.INFO: Extracted packet for processing {"connection_id":45607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9944"} 
[2026-04-17 08:03:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:03:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756497408001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:03:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:03:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:03:13] 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-04-17 08:03:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776392869000,"timestamp_ms":1776392869000,"timestamp_seconds":1776392869,"priority":1,"record_length":96,"hex_timestamp":"0000019d99441488"} 
[2026-04-17 08:03:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:03:13] 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-04-17 08: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:03: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-04-17 08: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-04-17 08:03:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:03:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:03:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:03:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:03:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:03:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:03:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:03:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:03:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756497408001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:03:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:03:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:03:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756497408001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:03:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:03:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:03:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:03:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756497408001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:03:13] local.INFO: DEBUG: GPS processor result {"connection_id":45607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19963,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:03:13] local.INFO: GPS data processed {"connection_id":45607,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:03:13] local.INFO: Acknowledgment sent {"connection_id":45607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:03:28] local.INFO: TCP Data received {"connection_id":46437,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:03:28] local.INFO: Processing buffer {"connection_id":46437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:03:28] local.INFO: Packet analysis {"connection_id":46437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:03:28] local.INFO: Extracted packet for processing {"connection_id":46437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:03:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756533248001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776393009000,"timestamp_ms":1776393009000,"timestamp_seconds":1776393009,"priority":1,"record_length":96,"hex_timestamp":"0000019d99463768"} 
[2026-04-17 08:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756533248001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756533248001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:03:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:03:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756533248001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":46437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19964,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:03:28] local.INFO: GPS data processed {"connection_id":46437,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:03:28] local.INFO: Acknowledgment sent {"connection_id":46437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:03:45] local.INFO: TCP Data received {"connection_id":45607,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:03:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:03:45] local.INFO: Processing buffer {"connection_id":45607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:03:45] local.INFO: Packet analysis {"connection_id":45607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:03:45] local.INFO: Extracted packet for processing {"connection_id":45607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:03:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:03:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756574464001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:03:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:03:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:03:45] 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-04-17 08:03:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776393170000,"timestamp_ms":1776393170000,"timestamp_seconds":1776393170,"priority":1,"record_length":96,"hex_timestamp":"0000019d9948ac50"} 
[2026-04-17 08:03:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:03:45] 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-04-17 08:03:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:03:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:03:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:03:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:03:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:03:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:03:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:03:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45607,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:03:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:03:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:03:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:03:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756574464001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:03:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:03:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:03:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756574464001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:03:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:03:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:03:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:03:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756574464001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:03:45] local.INFO: DEBUG: GPS processor result {"connection_id":45607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19965,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:03:45] local.INFO: GPS data processed {"connection_id":45607,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:03:45] local.INFO: Acknowledgment sent {"connection_id":45607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:03:51] local.INFO: TCP Data received {"connection_id":46438,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:03:51] local.INFO: Processing buffer {"connection_id":46438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:03:51] local.INFO: IMEI packet received {"connection_id":46438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":46438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:03:56] local.INFO: TCP Data received {"connection_id":46438,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:03:56] local.INFO: Processing buffer {"connection_id":46438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:03:56] local.INFO: IMEI packet received {"connection_id":46438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":46438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:03:57] local.INFO: TCP Data received {"connection_id":46438,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:03:57] local.INFO: Processing buffer {"connection_id":46438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:03:57] local.INFO: Packet analysis {"connection_id":46438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:03:57] local.INFO: Extracted packet for processing {"connection_id":46438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:03:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756533248001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776393009000,"timestamp_ms":1776393009000,"timestamp_seconds":1776393009,"priority":1,"record_length":96,"hex_timestamp":"0000019d99463768"} 
[2026-04-17 08:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756533248001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756533248001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:03:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:03:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756533248001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":46438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:03:57] local.INFO: GPS data processed {"connection_id":46438,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:03:57] local.INFO: Acknowledgment sent {"connection_id":46438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:04:05] local.INFO: TCP Data received {"connection_id":45689,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:04:05] local.INFO: Processing buffer {"connection_id":45689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:04:05] local.INFO: IMEI packet received {"connection_id":45689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":45689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:04:10] local.INFO: TCP Data received {"connection_id":45689,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:04:10] local.INFO: Processing buffer {"connection_id":45689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:04:10] local.INFO: IMEI packet received {"connection_id":45689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":45689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:04:11] local.INFO: TCP Data received {"connection_id":45689,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:04:11] local.INFO: Processing buffer {"connection_id":45689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:04:11] local.INFO: Packet analysis {"connection_id":45689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:04:11] local.INFO: Extracted packet for processing {"connection_id":45689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756574464001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:04:11] 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-04-17 08:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776393170000,"timestamp_ms":1776393170000,"timestamp_seconds":1776393170,"priority":1,"record_length":96,"hex_timestamp":"0000019d9948ac50"} 
[2026-04-17 08:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:04:11] 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-04-17 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:04: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-04-17 08: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-04-17 08:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756574464001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756574464001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:04:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756574464001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":45689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19967,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:04:11] local.INFO: GPS data processed {"connection_id":45689,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:04:11] local.INFO: Acknowledgment sent {"connection_id":45689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:04:28] local.INFO: TCP Data received {"connection_id":46438,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:04:28] local.INFO: Processing buffer {"connection_id":46438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:04:28] local.INFO: Packet analysis {"connection_id":46438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:04:28] local.INFO: Extracted packet for processing {"connection_id":46438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:04:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756533248001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776393009000,"timestamp_ms":1776393009000,"timestamp_seconds":1776393009,"priority":1,"record_length":96,"hex_timestamp":"0000019d99463768"} 
[2026-04-17 08:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756533248001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756533248001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:04:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:04:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756533248001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":46438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19968,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:04:28] local.INFO: GPS data processed {"connection_id":46438,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:04:28] local.INFO: Acknowledgment sent {"connection_id":46438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:04:43] local.INFO: TCP Data received {"connection_id":45689,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:04:43] local.INFO: Processing buffer {"connection_id":45689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:04:43] local.INFO: Packet analysis {"connection_id":45689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:04:43] local.INFO: Extracted packet for processing {"connection_id":45689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:04:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756574464001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:04:43] 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-04-17 08:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776393170000,"timestamp_ms":1776393170000,"timestamp_seconds":1776393170,"priority":1,"record_length":96,"hex_timestamp":"0000019d9948ac50"} 
[2026-04-17 08:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:04:43] 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-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:04: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-04-17 08: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-04-17 08:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756574464001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756574464001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:04:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756574464001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":45689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19969,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:04:43] local.INFO: GPS data processed {"connection_id":45689,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:04:43] local.INFO: Acknowledgment sent {"connection_id":45689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:04:51] local.INFO: TCP Data received {"connection_id":46439,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:04:51] local.INFO: Processing buffer {"connection_id":46439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:04:51] local.INFO: IMEI packet received {"connection_id":46439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":46439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:04:56] local.INFO: TCP Data received {"connection_id":46439,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46439,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:04:56] local.INFO: Processing buffer {"connection_id":46439,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:04:56] local.INFO: IMEI packet received {"connection_id":46439,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":46439,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:04:57] local.INFO: TCP Data received {"connection_id":46439,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:04:57] local.INFO: Processing buffer {"connection_id":46439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:04:57] local.INFO: Packet analysis {"connection_id":46439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:04:57] local.INFO: Extracted packet for processing {"connection_id":46439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:04:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756533248001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776393009000,"timestamp_ms":1776393009000,"timestamp_seconds":1776393009,"priority":1,"record_length":96,"hex_timestamp":"0000019d99463768"} 
[2026-04-17 08:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756533248001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756533248001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:04:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:04:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756533248001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":46439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:04:57] local.INFO: GPS data processed {"connection_id":46439,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:04:57] local.INFO: Acknowledgment sent {"connection_id":46439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:05:06] local.INFO: TCP Data received {"connection_id":45869,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:05:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:05:06] local.INFO: Processing buffer {"connection_id":45869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:05:06] local.INFO: IMEI packet received {"connection_id":45869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:05:06] local.INFO: IMEI acknowledgment sent {"connection_id":45869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:05:10] local.INFO: TCP Data received {"connection_id":45869,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:05:10] local.INFO: Processing buffer {"connection_id":45869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:05:10] local.INFO: IMEI packet received {"connection_id":45869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":45869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:05:12] local.INFO: TCP Data received {"connection_id":45869,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:05:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:05:12] local.INFO: Processing buffer {"connection_id":45869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:05:12] local.INFO: Packet analysis {"connection_id":45869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:05:12] local.INFO: Extracted packet for processing {"connection_id":45869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:05:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:05:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756574464001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:05:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:05:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:05:12] 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-04-17 08:05:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776393170000,"timestamp_ms":1776393170000,"timestamp_seconds":1776393170,"priority":1,"record_length":96,"hex_timestamp":"0000019d9948ac50"} 
[2026-04-17 08:05:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:05: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-04-17 08:05:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:05:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:05:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:05:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:05:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:05:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:05:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:05:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:05:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:05:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:05:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:05:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756574464001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:05:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:05:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:05:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756574464001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:05:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:05:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:05:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:05:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756574464001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:05:12] local.INFO: DEBUG: GPS processor result {"connection_id":45869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19971,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:05:12] local.INFO: GPS data processed {"connection_id":45869,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:05:12] local.INFO: Acknowledgment sent {"connection_id":45869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:05:28] local.INFO: TCP Data received {"connection_id":46439,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:05:28] local.INFO: Processing buffer {"connection_id":46439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99463768012d7fad4005afe350000000942c..."} 
[2026-04-17 08:05:28] local.INFO: Packet analysis {"connection_id":46439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:05:28] local.INFO: Extracted packet for processing {"connection_id":46439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9946"} 
[2026-04-17 08:05:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756533248001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776393009000,"timestamp_ms":1776393009000,"timestamp_seconds":1776393009,"priority":1,"record_length":96,"hex_timestamp":"0000019d99463768"} 
[2026-04-17 08:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46439,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756533248001,"66":25419,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756533248001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:05:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:05:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756533248001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":46439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:05:28] local.INFO: GPS data processed {"connection_id":46439,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:05:28] local.INFO: Acknowledgment sent {"connection_id":46439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:05:46] local.INFO: TCP Data received {"connection_id":45869,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:05:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:05:46] local.INFO: Processing buffer {"connection_id":45869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:05:46] local.INFO: Packet analysis {"connection_id":45869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:05:46] local.INFO: Extracted packet for processing {"connection_id":45869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:05:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:05:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756574464001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:05:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:05:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:05:46] 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-04-17 08:05:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776393170000,"timestamp_ms":1776393170000,"timestamp_seconds":1776393170,"priority":1,"record_length":96,"hex_timestamp":"0000019d9948ac50"} 
[2026-04-17 08:05:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:05:46] 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-04-17 08:05:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:05:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:05:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:05:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:05:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:05:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:05:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:05:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:05:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:05:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:05:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:05:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756574464001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:05:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:05:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:05:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756574464001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:05:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:05:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:05:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:05:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756574464001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:05:46] local.INFO: DEBUG: GPS processor result {"connection_id":45869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19973,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:05:46] local.INFO: GPS data processed {"connection_id":45869,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:05:46] local.INFO: Acknowledgment sent {"connection_id":45869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:05:56] local.INFO: TCP Data received {"connection_id":46440,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:05:56] local.INFO: Processing buffer {"connection_id":46440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:05:56] local.INFO: IMEI packet received {"connection_id":46440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":46440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:06:01] local.INFO: TCP Data received {"connection_id":46440,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:06:01] local.INFO: Processing buffer {"connection_id":46440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:06:01] local.INFO: IMEI packet received {"connection_id":46440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":46440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:06:02] local.INFO: TCP Data received {"connection_id":46440,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:06:02] local.INFO: Processing buffer {"connection_id":46440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:06:02] local.INFO: Packet analysis {"connection_id":46440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:06:02] local.INFO: Extracted packet for processing {"connection_id":46440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756610304001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776393310000,"timestamp_ms":1776393310000,"timestamp_seconds":1776393310,"priority":1,"record_length":96,"hex_timestamp":"0000019d994acf30"} 
[2026-04-17 08:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756610304001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756610304001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:06:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756610304001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":46440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:06:02] local.INFO: GPS data processed {"connection_id":46440,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:06:02] local.INFO: Acknowledgment sent {"connection_id":46440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:06:05] local.INFO: TCP Data received {"connection_id":45690,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:06:05] local.INFO: Processing buffer {"connection_id":45690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:06:05] local.INFO: IMEI packet received {"connection_id":45690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":45690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:06:07] local.INFO: TCP Data received {"connection_id":46440,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:06:07] local.INFO: Processing buffer {"connection_id":46440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:06:07] local.INFO: Packet analysis {"connection_id":46440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:06:07] local.INFO: Extracted packet for processing {"connection_id":46440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756610304001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776393310000,"timestamp_ms":1776393310000,"timestamp_seconds":1776393310,"priority":1,"record_length":96,"hex_timestamp":"0000019d994acf30"} 
[2026-04-17 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-04-17 08:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 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-04-17 08:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":46440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":46440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":46440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:06:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756610304001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756610304001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:06:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756610304001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":46440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:06:07] local.INFO: GPS data processed {"connection_id":46440,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:06:07] local.INFO: Acknowledgment sent {"connection_id":46440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:06:10] local.INFO: TCP Data received {"connection_id":45690,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45690,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:06:10] local.INFO: Processing buffer {"connection_id":45690,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:06:10] local.INFO: IMEI packet received {"connection_id":45690,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":45690,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:06:12] local.INFO: TCP Data received {"connection_id":45690,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:06:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:06:12] local.INFO: Processing buffer {"connection_id":45690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:06:12] local.INFO: Packet analysis {"connection_id":45690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:06:12] local.INFO: Extracted packet for processing {"connection_id":45690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:06:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:06:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756574464001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:06:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:06:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:06:12] 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-04-17 08:06:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776393170000,"timestamp_ms":1776393170000,"timestamp_seconds":1776393170,"priority":1,"record_length":96,"hex_timestamp":"0000019d9948ac50"} 
[2026-04-17 08:06:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:06: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-04-17 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:06: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-04-17 08: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-04-17 08:06:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:06:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:06:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:06:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:06:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:06:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:06:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:06:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:06:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756574464001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:06:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:06:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:06:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756574464001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:06:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:06:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:06:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:06:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756574464001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:06:12] local.INFO: DEBUG: GPS processor result {"connection_id":45690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19976,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:06:12] local.INFO: GPS data processed {"connection_id":45690,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:06:12] local.INFO: Acknowledgment sent {"connection_id":45690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:06:44] local.INFO: TCP Data received {"connection_id":45690,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:06:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:06:44] local.INFO: Processing buffer {"connection_id":45690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:06:44] local.INFO: Packet analysis {"connection_id":45690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:06:44] local.INFO: Extracted packet for processing {"connection_id":45690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:06:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:06:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756574464001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:06:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:06:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:06:44] 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-04-17 08:06:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776393170000,"timestamp_ms":1776393170000,"timestamp_seconds":1776393170,"priority":1,"record_length":96,"hex_timestamp":"0000019d9948ac50"} 
[2026-04-17 08:06:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:06:44] 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-04-17 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:06: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-04-17 08: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-04-17 08:06:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:06:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:06:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:06:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:06:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45690,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:06:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:06:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:06:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:06:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756574464001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:06:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:06:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:06:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756574464001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:06:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:06:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:06:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:06:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756574464001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:06:44] local.INFO: DEBUG: GPS processor result {"connection_id":45690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19977,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:06:44] local.INFO: GPS data processed {"connection_id":45690,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:06:44] local.INFO: Acknowledgment sent {"connection_id":45690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:06:51] local.INFO: TCP Data received {"connection_id":45870,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:06:51] local.INFO: Processing buffer {"connection_id":45870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:06:51] local.INFO: IMEI packet received {"connection_id":45870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":45870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:06:56] local.INFO: TCP Data received {"connection_id":45870,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:06:56] local.INFO: Processing buffer {"connection_id":45870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:06:56] local.INFO: IMEI packet received {"connection_id":45870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":45870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:06:57] local.INFO: TCP Data received {"connection_id":45870,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:06:57] local.INFO: Processing buffer {"connection_id":45870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:06:57] local.INFO: Packet analysis {"connection_id":45870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:06:57] local.INFO: Extracted packet for processing {"connection_id":45870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:06:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756610304001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776393310000,"timestamp_ms":1776393310000,"timestamp_seconds":1776393310,"priority":1,"record_length":96,"hex_timestamp":"0000019d994acf30"} 
[2026-04-17 08:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756610304001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756610304001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:06:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:06:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756610304001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":45870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:06:57] local.INFO: GPS data processed {"connection_id":45870,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:06:57] local.INFO: Acknowledgment sent {"connection_id":45870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:07:05] local.INFO: TCP Data received {"connection_id":45608,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:07:05] local.INFO: Processing buffer {"connection_id":45608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:07:05] local.INFO: IMEI packet received {"connection_id":45608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":45608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:07:11] local.INFO: TCP Data received {"connection_id":45608,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:07:11] local.INFO: Processing buffer {"connection_id":45608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:07:11] local.INFO: IMEI packet received {"connection_id":45608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:07:11] local.INFO: IMEI acknowledgment sent {"connection_id":45608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:07:13] local.INFO: TCP Data received {"connection_id":45608,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:07:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:07:13] local.INFO: Processing buffer {"connection_id":45608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:07:13] local.INFO: Packet analysis {"connection_id":45608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:07:13] local.INFO: Extracted packet for processing {"connection_id":45608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:07:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:07:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756574464001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:07:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:07:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:07:13] 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-04-17 08:07:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776393170000,"timestamp_ms":1776393170000,"timestamp_seconds":1776393170,"priority":1,"record_length":96,"hex_timestamp":"0000019d9948ac50"} 
[2026-04-17 08:07:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:07:13] 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-04-17 08:07:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:07:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:07:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:07:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:07:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:07:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:07:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:07:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:07:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:07:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:07:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:07:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756574464001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:07:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:07:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:07:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756574464001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:07:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:07:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:07:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:07:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756574464001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:07:13] local.INFO: DEBUG: GPS processor result {"connection_id":45608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19979,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:07:13] local.INFO: GPS data processed {"connection_id":45608,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:07:13] local.INFO: Acknowledgment sent {"connection_id":45608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:07:28] local.INFO: TCP Data received {"connection_id":45870,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:07:28] local.INFO: Processing buffer {"connection_id":45870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:07:28] local.INFO: Packet analysis {"connection_id":45870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:07:28] local.INFO: Extracted packet for processing {"connection_id":45870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756610304001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776393310000,"timestamp_ms":1776393310000,"timestamp_seconds":1776393310,"priority":1,"record_length":96,"hex_timestamp":"0000019d994acf30"} 
[2026-04-17 08:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756610304001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756610304001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:07:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756610304001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":45870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:07:28] local.INFO: GPS data processed {"connection_id":45870,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:07:28] local.INFO: Acknowledgment sent {"connection_id":45870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:07:44] local.INFO: TCP Data received {"connection_id":45608,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:07:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:07:44] local.INFO: Processing buffer {"connection_id":45608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:07:44] local.INFO: Packet analysis {"connection_id":45608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:07:44] local.INFO: Extracted packet for processing {"connection_id":45608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:07:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:07:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756574464001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:07:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:07:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:07:44] 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-04-17 08:07:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776393170000,"timestamp_ms":1776393170000,"timestamp_seconds":1776393170,"priority":1,"record_length":96,"hex_timestamp":"0000019d9948ac50"} 
[2026-04-17 08:07:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:07:44] 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-04-17 08:07:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:07: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-04-17 08:07:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:07:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:07:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:07:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:07:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:07:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:07:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:07:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:07:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:07:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756574464001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:07:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:07:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:07:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756574464001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:07:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:07:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:07:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:07:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756574464001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":45608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19981,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:07:45] local.INFO: GPS data processed {"connection_id":45608,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:07:45] local.INFO: Acknowledgment sent {"connection_id":45608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:07:51] local.INFO: TCP Data received {"connection_id":45691,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:07:51] local.INFO: Processing buffer {"connection_id":45691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:07:51] local.INFO: IMEI packet received {"connection_id":45691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":45691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:07:56] local.INFO: TCP Data received {"connection_id":45691,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:07:56] local.INFO: Processing buffer {"connection_id":45691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:07:56] local.INFO: IMEI packet received {"connection_id":45691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":45691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:07:57] local.INFO: TCP Data received {"connection_id":45691,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:07:57] local.INFO: Processing buffer {"connection_id":45691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:07:57] local.INFO: Packet analysis {"connection_id":45691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:07:57] local.INFO: Extracted packet for processing {"connection_id":45691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:07:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756610304001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776393310000,"timestamp_ms":1776393310000,"timestamp_seconds":1776393310,"priority":1,"record_length":96,"hex_timestamp":"0000019d994acf30"} 
[2026-04-17 08:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756610304001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756610304001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:07:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756610304001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":45691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:07:57] local.INFO: GPS data processed {"connection_id":45691,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:07:57] local.INFO: Acknowledgment sent {"connection_id":45691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:08:05] local.INFO: TCP Data received {"connection_id":45871,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:08:05] local.INFO: Processing buffer {"connection_id":45871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:08:05] local.INFO: IMEI packet received {"connection_id":45871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":45871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:08:10] local.INFO: TCP Data received {"connection_id":45871,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:08:10] local.INFO: Processing buffer {"connection_id":45871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:08:10] local.INFO: IMEI packet received {"connection_id":45871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":45871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:08:13] local.INFO: TCP Data received {"connection_id":45871,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:08:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:08:13] local.INFO: Processing buffer {"connection_id":45871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9948ac50012d1b598006d4d5980011013831..."} 
[2026-04-17 08:08:13] local.INFO: Packet analysis {"connection_id":45871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:08:13] local.INFO: Extracted packet for processing {"connection_id":45871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9948"} 
[2026-04-17 08:08:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:08:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756574464001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:08:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:08:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:08:13] 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-04-17 08:08:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776393170000,"timestamp_ms":1776393170000,"timestamp_seconds":1776393170,"priority":1,"record_length":96,"hex_timestamp":"0000019d9948ac50"} 
[2026-04-17 08:08:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:08:13] 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-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:08:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:08:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:08:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:08:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:08:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:08:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:08:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:08:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:08:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:08:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756574464001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:08:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:08:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:08:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756574464001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:08:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:08:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:08:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:08:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756574464001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:08:13] local.INFO: DEBUG: GPS processor result {"connection_id":45871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19983,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:08:13] local.INFO: GPS data processed {"connection_id":45871,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:08:13] local.INFO: Acknowledgment sent {"connection_id":45871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:08:28] local.INFO: TCP Data received {"connection_id":45691,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:08:28] local.INFO: Processing buffer {"connection_id":45691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:08:28] local.INFO: Packet analysis {"connection_id":45691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:08:28] local.INFO: Extracted packet for processing {"connection_id":45691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:08:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756610304001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776393310000,"timestamp_ms":1776393310000,"timestamp_seconds":1776393310,"priority":1,"record_length":96,"hex_timestamp":"0000019d994acf30"} 
[2026-04-17 08:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756610304001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756610304001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:08:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:08:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756610304001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":45691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:08:28] local.INFO: GPS data processed {"connection_id":45691,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:08:28] local.INFO: Acknowledgment sent {"connection_id":45691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:08:44] local.INFO: TCP Data received {"connection_id":45871,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:08:44] local.INFO: Processing buffer {"connection_id":45871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:08:44] local.INFO: Packet analysis {"connection_id":45871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994d"} 
[2026-04-17 08:08:44] local.INFO: Extracted packet for processing {"connection_id":45871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994d"} 
[2026-04-17 08:08:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756651520001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:08:44] 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-04-17 08:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776393471000,"timestamp_ms":1776393471000,"timestamp_seconds":1776393471,"priority":1,"record_length":96,"hex_timestamp":"0000019d994d4418"} 
[2026-04-17 08:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:08:44] 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-04-17 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:08: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-04-17 08: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-04-17 08:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756651520001,"66":24973,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756651520001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:08:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756651520001,"power":24973,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":45871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19985,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:08:44] local.INFO: GPS data processed {"connection_id":45871,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:08:44] local.INFO: Acknowledgment sent {"connection_id":45871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:08:51] local.INFO: TCP Data received {"connection_id":45692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:08:51] local.INFO: Processing buffer {"connection_id":45692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:08:51] local.INFO: IMEI packet received {"connection_id":45692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":45692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:08:56] local.INFO: TCP Data received {"connection_id":45692,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:08:56] local.INFO: Processing buffer {"connection_id":45692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:08:56] local.INFO: IMEI packet received {"connection_id":45692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":45692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:08:57] local.INFO: TCP Data received {"connection_id":45692,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:08:57] local.INFO: Processing buffer {"connection_id":45692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:08:57] local.INFO: Packet analysis {"connection_id":45692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:08:57] local.INFO: Extracted packet for processing {"connection_id":45692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:08:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756610304001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776393310000,"timestamp_ms":1776393310000,"timestamp_seconds":1776393310,"priority":1,"record_length":96,"hex_timestamp":"0000019d994acf30"} 
[2026-04-17 08:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756610304001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756610304001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:08:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:08:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756610304001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":45692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:08:57] local.INFO: GPS data processed {"connection_id":45692,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:08:57] local.INFO: Acknowledgment sent {"connection_id":45692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:09:05] local.INFO: TCP Data received {"connection_id":45609,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:09:05] local.INFO: Processing buffer {"connection_id":45609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:09:05] local.INFO: IMEI packet received {"connection_id":45609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":45609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:09:10] local.INFO: TCP Data received {"connection_id":45609,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45609,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:09:10] local.INFO: Processing buffer {"connection_id":45609,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:09:10] local.INFO: IMEI packet received {"connection_id":45609,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":45609,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:09:12] local.INFO: TCP Data received {"connection_id":45609,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:09:12] local.INFO: Processing buffer {"connection_id":45609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:09:12] local.INFO: Packet analysis {"connection_id":45609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994d"} 
[2026-04-17 08:09:12] local.INFO: Extracted packet for processing {"connection_id":45609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994d"} 
[2026-04-17 08:09:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756651520001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:09:12] 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-04-17 08:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776393471000,"timestamp_ms":1776393471000,"timestamp_seconds":1776393471,"priority":1,"record_length":96,"hex_timestamp":"0000019d994d4418"} 
[2026-04-17 08:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:09: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-04-17 08:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:09: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-04-17 08:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756651520001,"66":24973,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756651520001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:09:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756651520001,"power":24973,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":45609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19987,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:09:12] local.INFO: GPS data processed {"connection_id":45609,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:09:12] local.INFO: Acknowledgment sent {"connection_id":45609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:09:28] local.INFO: TCP Data received {"connection_id":45692,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:09:28] local.INFO: Processing buffer {"connection_id":45692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:09:28] local.INFO: Packet analysis {"connection_id":45692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:09:28] local.INFO: Extracted packet for processing {"connection_id":45692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:09:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 08:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756610304001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776393310000,"timestamp_ms":1776393310000,"timestamp_seconds":1776393310,"priority":1,"record_length":96,"hex_timestamp":"0000019d994acf30"} 
[2026-04-17 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-04-17 08:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 08:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756610304001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756610304001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:09:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:09:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756610304001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":45692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:09:28] local.INFO: GPS data processed {"connection_id":45692,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:09:28] local.INFO: Acknowledgment sent {"connection_id":45692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:09:44] local.INFO: TCP Data received {"connection_id":45609,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:09:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:09:44] local.INFO: Processing buffer {"connection_id":45609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:09:44] local.INFO: Packet analysis {"connection_id":45609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994d"} 
[2026-04-17 08:09:44] local.INFO: Extracted packet for processing {"connection_id":45609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994d"} 
[2026-04-17 08:09:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:09:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756651520001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:09:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:09:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:09:44] 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-04-17 08:09:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776393471000,"timestamp_ms":1776393471000,"timestamp_seconds":1776393471,"priority":1,"record_length":96,"hex_timestamp":"0000019d994d4418"} 
[2026-04-17 08:09:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:09:44] 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-04-17 08:09:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:09: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-04-17 08:09:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:09:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:09:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:09:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:09:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:09:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45609,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:09:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:09:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:09:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:09:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756651520001,"66":24973,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:09:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:09:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:09:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756651520001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:09:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:09:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:09:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:09:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756651520001,"power":24973,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:09:44] local.INFO: DEBUG: GPS processor result {"connection_id":45609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19989,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:09:44] local.INFO: GPS data processed {"connection_id":45609,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:09:44] local.INFO: Acknowledgment sent {"connection_id":45609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:09:51] local.INFO: TCP Data received {"connection_id":46441,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:09:51] local.INFO: Processing buffer {"connection_id":46441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:09:51] local.INFO: IMEI packet received {"connection_id":46441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":46441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:09:56] local.INFO: TCP Data received {"connection_id":46441,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46441,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:09:56] local.INFO: Processing buffer {"connection_id":46441,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:09:56] local.INFO: IMEI packet received {"connection_id":46441,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":46441,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:09:57] local.INFO: TCP Data received {"connection_id":46441,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:09:57] local.INFO: Processing buffer {"connection_id":46441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:09:57] local.INFO: Packet analysis {"connection_id":46441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:09:57] local.INFO: Extracted packet for processing {"connection_id":46441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756610304001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776393310000,"timestamp_ms":1776393310000,"timestamp_seconds":1776393310,"priority":1,"record_length":96,"hex_timestamp":"0000019d994acf30"} 
[2026-04-17 08:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:09:57] 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-04-17 08:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756610304001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756610304001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:09:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:09:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756610304001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":46441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:09:57] local.INFO: GPS data processed {"connection_id":46441,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:09:57] local.INFO: Acknowledgment sent {"connection_id":46441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:10:05] local.INFO: TCP Data received {"connection_id":45872,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:10:05] local.INFO: Processing buffer {"connection_id":45872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:10:05] local.INFO: IMEI packet received {"connection_id":45872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":45872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:10:10] local.INFO: TCP Data received {"connection_id":45872,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45872,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:10:10] local.INFO: Processing buffer {"connection_id":45872,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:10:10] local.INFO: IMEI packet received {"connection_id":45872,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":45872,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:10:12] local.INFO: TCP Data received {"connection_id":45872,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:10:12] local.INFO: Processing buffer {"connection_id":45872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:10:12] local.INFO: Packet analysis {"connection_id":45872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994d"} 
[2026-04-17 08:10:12] local.INFO: Extracted packet for processing {"connection_id":45872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994d"} 
[2026-04-17 08:10:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756651520001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:10:12] 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-04-17 08:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776393471000,"timestamp_ms":1776393471000,"timestamp_seconds":1776393471,"priority":1,"record_length":96,"hex_timestamp":"0000019d994d4418"} 
[2026-04-17 08:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:10: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-04-17 08:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756651520001,"66":24973,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756651520001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:10:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756651520001,"power":24973,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":45872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19991,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:10:12] local.INFO: GPS data processed {"connection_id":45872,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:10:12] local.INFO: Acknowledgment sent {"connection_id":45872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:10:28] local.INFO: TCP Data received {"connection_id":46441,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46441,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:10:28] local.INFO: Processing buffer {"connection_id":46441,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994acf30012d7fad4005afe350000000942a..."} 
[2026-04-17 08:10:28] local.INFO: Packet analysis {"connection_id":46441,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:10:28] local.INFO: Extracted packet for processing {"connection_id":46441,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994a"} 
[2026-04-17 08:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756610304001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776393310000,"timestamp_ms":1776393310000,"timestamp_seconds":1776393310,"priority":1,"record_length":96,"hex_timestamp":"0000019d994acf30"} 
[2026-04-17 08:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 08:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46441,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46441,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:10:28] 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-04-17 08:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756610304001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756610304001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:10:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756610304001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":46441,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:10:28] local.INFO: GPS data processed {"connection_id":46441,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:10:28] local.INFO: Acknowledgment sent {"connection_id":46441,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:10:45] local.INFO: TCP Data received {"connection_id":45872,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:10:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:10:45] local.INFO: Processing buffer {"connection_id":45872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:10:45] local.INFO: Packet analysis {"connection_id":45872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994d"} 
[2026-04-17 08:10:45] local.INFO: Extracted packet for processing {"connection_id":45872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994d"} 
[2026-04-17 08:10:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:10:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756651520001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:10:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:10:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:10:45] 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-04-17 08:10:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776393471000,"timestamp_ms":1776393471000,"timestamp_seconds":1776393471,"priority":1,"record_length":96,"hex_timestamp":"0000019d994d4418"} 
[2026-04-17 08:10:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:10:45] 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-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:10:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:10:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:10:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:10:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:10:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:10:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45872,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:10:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:10:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:10:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:10:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756651520001,"66":24973,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:10:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:10:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:10:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756651520001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:10:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:10:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:10:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:10:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756651520001,"power":24973,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:10:45] local.INFO: DEBUG: GPS processor result {"connection_id":45872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19993,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:10:45] local.INFO: GPS data processed {"connection_id":45872,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:10:45] local.INFO: Acknowledgment sent {"connection_id":45872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:10:56] local.INFO: TCP Data received {"connection_id":45693,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:10:56] local.INFO: Processing buffer {"connection_id":45693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:10:56] local.INFO: IMEI packet received {"connection_id":45693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":45693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:11:01] local.INFO: TCP Data received {"connection_id":45693,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45693,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:11:01] local.INFO: Processing buffer {"connection_id":45693,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:11:01] local.INFO: IMEI packet received {"connection_id":45693,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":45693,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:11:02] local.INFO: TCP Data received {"connection_id":45693,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:11:02] local.INFO: Processing buffer {"connection_id":45693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:11:02] local.INFO: Packet analysis {"connection_id":45693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:11:02] local.INFO: Extracted packet for processing {"connection_id":45693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756687360001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776393611000,"timestamp_ms":1776393611000,"timestamp_seconds":1776393611,"priority":1,"record_length":96,"hex_timestamp":"0000019d994f66f8"} 
[2026-04-17 08:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756687360001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756687360001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:11:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756687360001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":45693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:11:02] local.INFO: GPS data processed {"connection_id":45693,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:11:02] local.INFO: Acknowledgment sent {"connection_id":45693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:11:07] local.INFO: TCP Data received {"connection_id":45693,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:11:07] local.INFO: Processing buffer {"connection_id":45693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:11:07] local.INFO: Packet analysis {"connection_id":45693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:11:07] local.INFO: Extracted packet for processing {"connection_id":45693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:11:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:11:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756687360001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:11:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:11:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:11:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:11:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776393611000,"timestamp_ms":1776393611000,"timestamp_seconds":1776393611,"priority":1,"record_length":96,"hex_timestamp":"0000019d994f66f8"} 
[2026-04-17 08:11:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:11:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:11:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:11:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:11:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:11:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:11:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:11:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45693,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:11:07] 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-04-17 08:11:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:11:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:11:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756687360001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:11:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:11:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:11:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756687360001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:11:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:11:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:11:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:11:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:11:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756687360001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:11:07] local.INFO: DEBUG: GPS processor result {"connection_id":45693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:11:07] local.INFO: GPS data processed {"connection_id":45693,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:11:07] local.INFO: Acknowledgment sent {"connection_id":45693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:11:40] local.INFO: TCP Data received {"connection_id":46442,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:11:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:11:40] local.INFO: Processing buffer {"connection_id":46442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:11:40] local.INFO: IMEI packet received {"connection_id":46442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:11:40] local.INFO: IMEI acknowledgment sent {"connection_id":46442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:11:45] local.INFO: TCP Data received {"connection_id":46442,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:11:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:11:45] local.INFO: Processing buffer {"connection_id":46442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:11:45] local.INFO: IMEI packet received {"connection_id":46442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:11:45] local.INFO: IMEI acknowledgment sent {"connection_id":46442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:11:47] local.INFO: TCP Data received {"connection_id":46442,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:11:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46442,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:11:47] local.INFO: Processing buffer {"connection_id":46442,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:11:47] local.INFO: Packet analysis {"connection_id":46442,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994d"} 
[2026-04-17 08:11:47] local.INFO: Extracted packet for processing {"connection_id":46442,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994d"} 
[2026-04-17 08:11:47] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:11:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756651520001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:11:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:11:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:11:47] 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-04-17 08:11:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776393471000,"timestamp_ms":1776393471000,"timestamp_seconds":1776393471,"priority":1,"record_length":96,"hex_timestamp":"0000019d994d4418"} 
[2026-04-17 08:11:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:11:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:11:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:11:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:11:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:11:47] local.INFO: Teltonika packet parsed successfully {"connection_id":46442,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:11:47] local.INFO: Passing IMEI to GPS processor {"connection_id":46442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:11:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":46442,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:11:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:11:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:11:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:11:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756651520001,"66":24973,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:11:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:11:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:11:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756651520001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:11:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:11:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:11:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:11:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756651520001,"power":24973,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:11:47] local.INFO: DEBUG: GPS processor result {"connection_id":46442,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19996,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:11:47] local.INFO: GPS data processed {"connection_id":46442,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:11:47] local.INFO: Acknowledgment sent {"connection_id":46442,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:11:51] local.INFO: TCP Data received {"connection_id":45610,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:11:51] local.INFO: Processing buffer {"connection_id":45610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:11:51] local.INFO: IMEI packet received {"connection_id":45610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":45610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:11:58] local.INFO: TCP Data received {"connection_id":45610,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45610,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:11:58] local.INFO: Processing buffer {"connection_id":45610,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:11:58] local.INFO: IMEI packet received {"connection_id":45610,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:11:58] local.INFO: IMEI acknowledgment sent {"connection_id":45610,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:11:58] local.INFO: TCP Data received {"connection_id":45610,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:11:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:11:58] local.INFO: Processing buffer {"connection_id":45610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:11:58] local.INFO: Packet analysis {"connection_id":45610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:11:58] local.INFO: Extracted packet for processing {"connection_id":45610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:11:58] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:11:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756687360001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:11:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:11:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:11:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:11:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776393611000,"timestamp_ms":1776393611000,"timestamp_seconds":1776393611,"priority":1,"record_length":96,"hex_timestamp":"0000019d994f66f8"} 
[2026-04-17 08:11:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:11:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:11:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:11:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:11:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:11:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:11:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:11:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:11:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:11:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:11:58] 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-04-17 08:11:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:11:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:11:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756687360001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:11:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:11:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:11:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756687360001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:11:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:11:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:11:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:11:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:11:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756687360001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:11:58] local.INFO: DEBUG: GPS processor result {"connection_id":45610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:11:58] local.INFO: GPS data processed {"connection_id":45610,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:11:58] local.INFO: Acknowledgment sent {"connection_id":45610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:12:01] local.INFO: TCP Data received {"connection_id":45610,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:12:01] local.INFO: Processing buffer {"connection_id":45610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:12:01] local.INFO: Packet analysis {"connection_id":45610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:12:01] local.INFO: Extracted packet for processing {"connection_id":45610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:12:01] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756687360001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776393611000,"timestamp_ms":1776393611000,"timestamp_seconds":1776393611,"priority":1,"record_length":96,"hex_timestamp":"0000019d994f66f8"} 
[2026-04-17 08:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:12:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:12:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:12: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-04-17 08:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756687360001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756687360001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:12:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756687360001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":45610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:12:01] local.INFO: GPS data processed {"connection_id":45610,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:12:01] local.INFO: Acknowledgment sent {"connection_id":45610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:12:15] local.INFO: TCP Data received {"connection_id":46443,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:12:15] local.INFO: Processing buffer {"connection_id":46443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:12:15] local.INFO: IMEI packet received {"connection_id":46443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":46443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:12:20] local.INFO: TCP Data received {"connection_id":46443,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:12:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46443,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:12:20] local.INFO: Processing buffer {"connection_id":46443,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:12:20] local.INFO: IMEI packet received {"connection_id":46443,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:12:20] local.INFO: IMEI acknowledgment sent {"connection_id":46443,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:12:22] local.INFO: TCP Data received {"connection_id":46443,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:12:22] local.INFO: Processing buffer {"connection_id":46443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:12:22] local.INFO: Packet analysis {"connection_id":46443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994d"} 
[2026-04-17 08:12:22] local.INFO: Extracted packet for processing {"connection_id":46443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994d"} 
[2026-04-17 08:12:22] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:12:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756651520001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:12:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:12:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:12:22] 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-04-17 08:12:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776393471000,"timestamp_ms":1776393471000,"timestamp_seconds":1776393471,"priority":1,"record_length":96,"hex_timestamp":"0000019d994d4418"} 
[2026-04-17 08:12:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:12:22] 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-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:12:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:12:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:12:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:12:22] local.INFO: Teltonika packet parsed successfully {"connection_id":46443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:12:22] local.INFO: Passing IMEI to GPS processor {"connection_id":46443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:12:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":46443,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:12:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:12:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:12:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:12:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756651520001,"66":24973,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:12:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:12:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:12:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756651520001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:12:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:12:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:12:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:12:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756651520001,"power":24973,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:12:22] local.INFO: DEBUG: GPS processor result {"connection_id":46443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":19999,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:12:22] local.INFO: GPS data processed {"connection_id":46443,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:12:22] local.INFO: Acknowledgment sent {"connection_id":46443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:12:32] local.INFO: TCP Data received {"connection_id":45610,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:12:32] local.INFO: Processing buffer {"connection_id":45610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:12:32] local.INFO: Packet analysis {"connection_id":45610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:12:32] local.INFO: Extracted packet for processing {"connection_id":45610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:12:32] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:12:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756687360001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:12:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:12:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:12:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:12:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776393611000,"timestamp_ms":1776393611000,"timestamp_seconds":1776393611,"priority":1,"record_length":96,"hex_timestamp":"0000019d994f66f8"} 
[2026-04-17 08:12:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:12:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:12:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:12:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:12:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:12:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:12:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:12:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:12:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:12:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45610,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:12:32] 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-04-17 08:12:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:12:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:12:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756687360001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:12:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:12:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:12:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756687360001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:12:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:12:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:12:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:12:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:12:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756687360001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:12:32] local.INFO: DEBUG: GPS processor result {"connection_id":45610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:12:32] local.INFO: GPS data processed {"connection_id":45610,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:12:32] local.INFO: Acknowledgment sent {"connection_id":45610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:12:51] local.INFO: TCP Data received {"connection_id":45611,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:12:51] local.INFO: Processing buffer {"connection_id":45611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:12:51] local.INFO: IMEI packet received {"connection_id":45611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":45611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:12:56] local.INFO: TCP Data received {"connection_id":45611,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45611,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:12:56] local.INFO: Processing buffer {"connection_id":45611,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:12:56] local.INFO: IMEI packet received {"connection_id":45611,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":45611,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:12:57] local.INFO: TCP Data received {"connection_id":45611,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:12:57] local.INFO: Processing buffer {"connection_id":45611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:12:57] local.INFO: Packet analysis {"connection_id":45611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:12:57] local.INFO: Extracted packet for processing {"connection_id":45611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 08:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756687360001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776393611000,"timestamp_ms":1776393611000,"timestamp_seconds":1776393611,"priority":1,"record_length":96,"hex_timestamp":"0000019d994f66f8"} 
[2026-04-17 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-04-17 08:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 08:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756687360001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756687360001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:12:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756687360001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":45611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:12:57] local.INFO: GPS data processed {"connection_id":45611,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:12:57] local.INFO: Acknowledgment sent {"connection_id":45611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:13:05] local.INFO: TCP Data received {"connection_id":45612,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:13:05] local.INFO: Processing buffer {"connection_id":45612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:13:05] local.INFO: IMEI packet received {"connection_id":45612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":45612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:13:10] local.INFO: TCP Data received {"connection_id":45612,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:13:10] local.INFO: Processing buffer {"connection_id":45612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:13:10] local.INFO: IMEI packet received {"connection_id":45612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:13:10] local.INFO: IMEI acknowledgment sent {"connection_id":45612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:13:12] local.INFO: TCP Data received {"connection_id":45612,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:13:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:13:12] local.INFO: Processing buffer {"connection_id":45612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994d4418012d1b598006d4d5980011013831..."} 
[2026-04-17 08:13:12] local.INFO: Packet analysis {"connection_id":45612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994d"} 
[2026-04-17 08:13:12] local.INFO: Extracted packet for processing {"connection_id":45612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994d"} 
[2026-04-17 08:13:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:13:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756651520001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:13:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:13:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:13:12] 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-04-17 08:13:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776393471000,"timestamp_ms":1776393471000,"timestamp_seconds":1776393471,"priority":1,"record_length":96,"hex_timestamp":"0000019d994d4418"} 
[2026-04-17 08:13:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:13: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-04-17 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:13: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-04-17 08: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-04-17 08:13:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:13:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:13:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:13:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:13:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:13:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:13:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:13:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:13:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756651520001,"66":24973,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:13:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:13:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:13:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756651520001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:13:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:13:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:13:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:13:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756651520001,"power":24973,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:13:12] local.INFO: DEBUG: GPS processor result {"connection_id":45612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20002,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:13:12] local.INFO: GPS data processed {"connection_id":45612,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:13:12] local.INFO: Acknowledgment sent {"connection_id":45612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:13:28] local.INFO: TCP Data received {"connection_id":45611,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:13:28] local.INFO: Processing buffer {"connection_id":45611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:13:28] local.INFO: Packet analysis {"connection_id":45611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:13:28] local.INFO: Extracted packet for processing {"connection_id":45611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 08:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756687360001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776393611000,"timestamp_ms":1776393611000,"timestamp_seconds":1776393611,"priority":1,"record_length":96,"hex_timestamp":"0000019d994f66f8"} 
[2026-04-17 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-04-17 08:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:13: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-04-17 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-04-17 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-04-17 08:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45611,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756687360001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756687360001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:13:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:13:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756687360001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":45611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20003,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:13:28] local.INFO: GPS data processed {"connection_id":45611,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:13:28] local.INFO: Acknowledgment sent {"connection_id":45611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:13:44] local.INFO: TCP Data received {"connection_id":45612,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:13:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:13:44] local.INFO: Processing buffer {"connection_id":45612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:13:44] local.INFO: Packet analysis {"connection_id":45612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:13:44] local.INFO: Extracted packet for processing {"connection_id":45612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:13:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:13:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756728576001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:13:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:13:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:13:44] 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-04-17 08:13:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776393772000,"timestamp_ms":1776393772000,"timestamp_seconds":1776393772,"priority":1,"record_length":96,"hex_timestamp":"0000019d9951dbe0"} 
[2026-04-17 08:13:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:13:44] 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-04-17 08: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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-17 08:13:44] 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-04-17 08: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-04-17 08:13:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:13:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:13:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:13:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:13:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:13:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:13:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:13:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:13:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756728576001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:13:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:13:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:13:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756728576001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:13:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:13:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:13:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:13:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756728576001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:13:44] local.INFO: DEBUG: GPS processor result {"connection_id":45612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20004,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:13:44] local.INFO: GPS data processed {"connection_id":45612,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:13:44] local.INFO: Acknowledgment sent {"connection_id":45612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:13:51] local.INFO: TCP Data received {"connection_id":45613,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:13:51] local.INFO: Processing buffer {"connection_id":45613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:13:51] local.INFO: IMEI packet received {"connection_id":45613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":45613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:13:56] local.INFO: TCP Data received {"connection_id":45613,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45613,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:13:56] local.INFO: Processing buffer {"connection_id":45613,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:13:56] local.INFO: IMEI packet received {"connection_id":45613,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":45613,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:13:57] local.INFO: TCP Data received {"connection_id":45613,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:13:57] local.INFO: Processing buffer {"connection_id":45613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:13:57] local.INFO: Packet analysis {"connection_id":45613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:13:57] local.INFO: Extracted packet for processing {"connection_id":45613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:13:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756687360001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776393611000,"timestamp_ms":1776393611000,"timestamp_seconds":1776393611,"priority":1,"record_length":96,"hex_timestamp":"0000019d994f66f8"} 
[2026-04-17 08:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756687360001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756687360001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:13:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:13:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756687360001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":45613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:13:57] local.INFO: GPS data processed {"connection_id":45613,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:13:57] local.INFO: Acknowledgment sent {"connection_id":45613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:14:05] local.INFO: TCP Data received {"connection_id":45694,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:14:05] local.INFO: Processing buffer {"connection_id":45694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:14:05] local.INFO: IMEI packet received {"connection_id":45694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":45694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:14:10] local.INFO: TCP Data received {"connection_id":45694,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:14:10] local.INFO: Processing buffer {"connection_id":45694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:14:10] local.INFO: IMEI packet received {"connection_id":45694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":45694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:14:12] local.INFO: TCP Data received {"connection_id":45694,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:14:12] local.INFO: Processing buffer {"connection_id":45694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:14:12] local.INFO: Packet analysis {"connection_id":45694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:14:12] local.INFO: Extracted packet for processing {"connection_id":45694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:14:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756728576001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:14:12] 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-04-17 08:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776393772000,"timestamp_ms":1776393772000,"timestamp_seconds":1776393772,"priority":1,"record_length":96,"hex_timestamp":"0000019d9951dbe0"} 
[2026-04-17 08:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:14: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-04-17 08:14:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-17 08:14:12] 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-04-17 08:14:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756728576001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756728576001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:14:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756728576001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":45694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20006,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:14:12] local.INFO: GPS data processed {"connection_id":45694,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:14:12] local.INFO: Acknowledgment sent {"connection_id":45694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:14:28] local.INFO: TCP Data received {"connection_id":45613,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:14:28] local.INFO: Processing buffer {"connection_id":45613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:14:28] local.INFO: Packet analysis {"connection_id":45613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:14:28] local.INFO: Extracted packet for processing {"connection_id":45613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:14:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756687360001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776393611000,"timestamp_ms":1776393611000,"timestamp_seconds":1776393611,"priority":1,"record_length":96,"hex_timestamp":"0000019d994f66f8"} 
[2026-04-17 08:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:14: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-04-17 08:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45613,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756687360001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756687360001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:14:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:14:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756687360001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":45613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20007,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:14:28] local.INFO: GPS data processed {"connection_id":45613,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:14:28] local.INFO: Acknowledgment sent {"connection_id":45613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:14:43] local.INFO: TCP Data received {"connection_id":45694,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:14:43] local.INFO: Processing buffer {"connection_id":45694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:14:43] local.INFO: Packet analysis {"connection_id":45694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:14:43] local.INFO: Extracted packet for processing {"connection_id":45694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:14:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756728576001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:14:43] 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-04-17 08:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776393772000,"timestamp_ms":1776393772000,"timestamp_seconds":1776393772,"priority":1,"record_length":96,"hex_timestamp":"0000019d9951dbe0"} 
[2026-04-17 08:14:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:14:43] 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-04-17 08:14:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-17 08:14:43] 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-04-17 08:14:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:14:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756728576001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756728576001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:14:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756728576001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":45694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20008,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:14:43] local.INFO: GPS data processed {"connection_id":45694,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:14:43] local.INFO: Acknowledgment sent {"connection_id":45694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:14:56] local.INFO: TCP Data received {"connection_id":45695,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:14:56] local.INFO: Processing buffer {"connection_id":45695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:14:56] local.INFO: IMEI packet received {"connection_id":45695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":45695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:15:01] local.INFO: TCP Data received {"connection_id":45695,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45695,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:15:01] local.INFO: Processing buffer {"connection_id":45695,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:15:01] local.INFO: IMEI packet received {"connection_id":45695,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:15:01] local.INFO: IMEI acknowledgment sent {"connection_id":45695,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:15:02] local.INFO: TCP Data received {"connection_id":45695,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:15:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:15:02] local.INFO: Processing buffer {"connection_id":45695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:15:02] local.INFO: Packet analysis {"connection_id":45695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:15:02] local.INFO: Extracted packet for processing {"connection_id":45695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:15:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:15:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756687360001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:15:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:15:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:15:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:15:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776393611000,"timestamp_ms":1776393611000,"timestamp_seconds":1776393611,"priority":1,"record_length":96,"hex_timestamp":"0000019d994f66f8"} 
[2026-04-17 08:15:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:15:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:15:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:15:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:15:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:15:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:15:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:15:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:15:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:15:02] 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-04-17 08:15:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:15:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:15:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756687360001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:15:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:15:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:15:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756687360001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:15:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:15:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:15:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:15:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:15:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756687360001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:15:02] local.INFO: DEBUG: GPS processor result {"connection_id":45695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:15:02] local.INFO: GPS data processed {"connection_id":45695,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:15:02] local.INFO: Acknowledgment sent {"connection_id":45695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:15:07] local.INFO: TCP Data received {"connection_id":45695,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:15:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:15:07] local.INFO: Processing buffer {"connection_id":45695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d994f66f8012d7fad4005afe3500000009427..."} 
[2026-04-17 08:15:07] local.INFO: Packet analysis {"connection_id":45695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:15:07] local.INFO: Extracted packet for processing {"connection_id":45695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d994f"} 
[2026-04-17 08:15:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 08:15:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756687360001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:15:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:15:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:15:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:15:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776393611000,"timestamp_ms":1776393611000,"timestamp_seconds":1776393611,"priority":1,"record_length":96,"hex_timestamp":"0000019d994f66f8"} 
[2026-04-17 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-04-17 08:15:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:15:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 08:15:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:15:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:15:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:15:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45695,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:15:07] 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-04-17 08:15:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:15:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:15:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756687360001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:15:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:15:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:15:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756687360001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:15:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:15:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:15:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:15:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:15:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756687360001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:15:07] local.INFO: DEBUG: GPS processor result {"connection_id":45695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:15:07] local.INFO: GPS data processed {"connection_id":45695,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:15:07] local.INFO: Acknowledgment sent {"connection_id":45695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:15:12] local.INFO: TCP Data received {"connection_id":46444,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:15:12] local.INFO: Processing buffer {"connection_id":46444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:15:12] local.INFO: IMEI packet received {"connection_id":46444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:15:12] local.INFO: IMEI acknowledgment sent {"connection_id":46444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:15:15] local.INFO: TCP Data received {"connection_id":46444,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46444,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:15:15] local.INFO: Processing buffer {"connection_id":46444,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:15:15] local.INFO: IMEI packet received {"connection_id":46444,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":46444,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:15:17] local.INFO: TCP Data received {"connection_id":46444,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:15:17] local.INFO: Processing buffer {"connection_id":46444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:15:17] local.INFO: Packet analysis {"connection_id":46444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:15:17] local.INFO: Extracted packet for processing {"connection_id":46444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:15:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:15:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756728576001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:15:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:15:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:15:17] 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-04-17 08:15:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776393772000,"timestamp_ms":1776393772000,"timestamp_seconds":1776393772,"priority":1,"record_length":96,"hex_timestamp":"0000019d9951dbe0"} 
[2026-04-17 08:15:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:15:17] 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-04-17 08:15:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-17 08:15:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:15:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:15:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:15:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:15:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:15:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:15:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:15:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:15:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:15:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:15:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756728576001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:15:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:15:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:15:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756728576001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:15:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:15:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:15:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:15:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756728576001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":46444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20011,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:15:17] local.INFO: GPS data processed {"connection_id":46444,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:15:17] local.INFO: Acknowledgment sent {"connection_id":46444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:15:21] local.INFO: TCP Data received {"connection_id":46444,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:15:21] local.INFO: Processing buffer {"connection_id":46444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:15:21] local.INFO: Packet analysis {"connection_id":46444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:15:21] local.INFO: Extracted packet for processing {"connection_id":46444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:15:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:15:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756728576001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:15:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:15:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:15:21] 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-04-17 08:15:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776393772000,"timestamp_ms":1776393772000,"timestamp_seconds":1776393772,"priority":1,"record_length":96,"hex_timestamp":"0000019d9951dbe0"} 
[2026-04-17 08:15:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:15:21] 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-04-17 08:15:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-17 08:15:21] 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-04-17 08:15:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:15:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:15:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:15:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:15:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:15:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46444,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:15:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:15:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:15:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:15:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756728576001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:15:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:15:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:15:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756728576001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:15:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:15:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:15:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:15:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756728576001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:15:21] local.INFO: DEBUG: GPS processor result {"connection_id":46444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20012,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:15:21] local.INFO: GPS data processed {"connection_id":46444,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:15:21] local.INFO: Acknowledgment sent {"connection_id":46444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:15:50] local.INFO: TCP Data received {"connection_id":45614,"ip":"42.106.6.210","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:15:50] local.INFO: Processing buffer {"connection_id":45614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:15:50] local.INFO: IMEI packet received {"connection_id":45614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":45614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:15:51] local.INFO: TCP Data received {"connection_id":45614,"ip":"42.106.6.210","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:15:51] local.INFO: Processing buffer {"connection_id":45614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:15:51] local.INFO: IMEI packet received {"connection_id":45614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":45614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:15:56] local.INFO: TCP Data received {"connection_id":45614,"ip":"42.106.6.210","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45614,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:15:56] local.INFO: Processing buffer {"connection_id":45614,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:15:56] local.INFO: IMEI packet received {"connection_id":45614,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":45614,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:15:57] local.INFO: TCP Data received {"connection_id":45614,"ip":"42.106.6.210","data_length":795,"data_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:15:57] local.INFO: Processing buffer {"connection_id":45614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:15:57] local.INFO: Packet analysis {"connection_id":45614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:15:57] local.INFO: Extracted packet for processing {"connection_id":45614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:15:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756764416001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776393912000,"timestamp_ms":1776393912000,"timestamp_seconds":1776393912,"priority":1,"record_length":96,"hex_timestamp":"0000019d9953fec0"} 
[2026-04-17 08:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.210","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756764416001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.210","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756764416001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:15:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:15:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756764416001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":45614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:15:57] local.INFO: GPS data processed {"connection_id":45614,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:15:57] local.INFO: Acknowledgment sent {"connection_id":45614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:16:05] local.INFO: TCP Data received {"connection_id":45696,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:16:05] local.INFO: Processing buffer {"connection_id":45696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:16:05] local.INFO: IMEI packet received {"connection_id":45696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":45696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:16:10] local.INFO: TCP Data received {"connection_id":45696,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45696,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:16:10] local.INFO: Processing buffer {"connection_id":45696,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:16:10] local.INFO: IMEI packet received {"connection_id":45696,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":45696,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:16:11] local.INFO: TCP Data received {"connection_id":45696,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:16:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:16:11] local.INFO: Processing buffer {"connection_id":45696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:16:11] local.INFO: Packet analysis {"connection_id":45696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:16:11] local.INFO: Extracted packet for processing {"connection_id":45696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:16:11] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:16:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756728576001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:16:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:16:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:16:11] 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-04-17 08:16:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776393772000,"timestamp_ms":1776393772000,"timestamp_seconds":1776393772,"priority":1,"record_length":96,"hex_timestamp":"0000019d9951dbe0"} 
[2026-04-17 08:16:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:16:11] 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-04-17 08: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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-17 08:16:11] 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-04-17 08: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-04-17 08:16:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:16:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:16:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:16:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:16:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:16:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:16:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:16:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:16:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756728576001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:16:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:16:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:16:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756728576001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:16:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:16:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:16:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:16:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756728576001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:16:11] local.INFO: DEBUG: GPS processor result {"connection_id":45696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20014,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:16:11] local.INFO: GPS data processed {"connection_id":45696,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:16:11] local.INFO: Acknowledgment sent {"connection_id":45696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:16:28] local.INFO: TCP Data received {"connection_id":45614,"ip":"42.106.6.210","data_length":795,"data_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:16:28] local.INFO: Processing buffer {"connection_id":45614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:16:28] local.INFO: Packet analysis {"connection_id":45614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:16:28] local.INFO: Extracted packet for processing {"connection_id":45614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:16:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756764416001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776393912000,"timestamp_ms":1776393912000,"timestamp_seconds":1776393912,"priority":1,"record_length":96,"hex_timestamp":"0000019d9953fec0"} 
[2026-04-17 08:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:16: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-04-17 08: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-04-17 08:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45614,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.210","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756764416001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.210","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756764416001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:16:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:16:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756764416001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":45614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:16:28] local.INFO: GPS data processed {"connection_id":45614,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:16:28] local.INFO: Acknowledgment sent {"connection_id":45614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:16:43] local.INFO: TCP Data received {"connection_id":45696,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:16:43] local.INFO: Processing buffer {"connection_id":45696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:16:43] local.INFO: Packet analysis {"connection_id":45696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:16:43] local.INFO: Extracted packet for processing {"connection_id":45696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:16:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:16:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756728576001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:16:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:16:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:16:43] 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-04-17 08:16:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776393772000,"timestamp_ms":1776393772000,"timestamp_seconds":1776393772,"priority":1,"record_length":96,"hex_timestamp":"0000019d9951dbe0"} 
[2026-04-17 08:16:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:16:43] 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-04-17 08: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":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-17 08:16:43] 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-04-17 08: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-04-17 08:16:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:16:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:16:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:16:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:16:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45696,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:16:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:16:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:16:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:16:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756728576001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:16:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:16:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:16:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756728576001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:16:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:16:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:16:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:16:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756728576001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:16:43] local.INFO: DEBUG: GPS processor result {"connection_id":45696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20016,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:16:43] local.INFO: GPS data processed {"connection_id":45696,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:16:43] local.INFO: Acknowledgment sent {"connection_id":45696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:16:51] local.INFO: TCP Data received {"connection_id":45873,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:16:51] local.INFO: Processing buffer {"connection_id":45873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:16:51] local.INFO: IMEI packet received {"connection_id":45873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":45873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:16:56] local.INFO: TCP Data received {"connection_id":45873,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:16:56] local.INFO: Processing buffer {"connection_id":45873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:16:56] local.INFO: IMEI packet received {"connection_id":45873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":45873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:16:57] local.INFO: TCP Data received {"connection_id":45873,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:16:57] local.INFO: Processing buffer {"connection_id":45873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:16:57] local.INFO: Packet analysis {"connection_id":45873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:16:57] local.INFO: Extracted packet for processing {"connection_id":45873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:16:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756764416001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776393912000,"timestamp_ms":1776393912000,"timestamp_seconds":1776393912,"priority":1,"record_length":96,"hex_timestamp":"0000019d9953fec0"} 
[2026-04-17 08:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756764416001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756764416001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:16:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:16:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756764416001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":45873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:16:57] local.INFO: GPS data processed {"connection_id":45873,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:16:57] local.INFO: Acknowledgment sent {"connection_id":45873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:17:10] local.INFO: TCP Data received {"connection_id":45874,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:17:10] local.INFO: Processing buffer {"connection_id":45874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:17:10] local.INFO: IMEI packet received {"connection_id":45874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":45874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:17:15] local.INFO: TCP Data received {"connection_id":45874,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:17:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:17:15] local.INFO: Processing buffer {"connection_id":45874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:17:15] local.INFO: IMEI packet received {"connection_id":45874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:17:15] local.INFO: IMEI acknowledgment sent {"connection_id":45874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:17:18] local.INFO: TCP Data received {"connection_id":45874,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:17:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:17:18] local.INFO: Processing buffer {"connection_id":45874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:17:18] local.INFO: Packet analysis {"connection_id":45874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:17:18] local.INFO: Extracted packet for processing {"connection_id":45874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:17:18] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:17:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756728576001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:17:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:17:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:17:18] 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-04-17 08:17:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776393772000,"timestamp_ms":1776393772000,"timestamp_seconds":1776393772,"priority":1,"record_length":96,"hex_timestamp":"0000019d9951dbe0"} 
[2026-04-17 08:17:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:17:18] 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-04-17 08:17:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-17 08:17:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:17:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:17:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:17:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:17:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:17:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:17:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:17:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:17:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:17:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:17:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756728576001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:17:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:17:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:17:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756728576001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:17:18] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:17:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:17:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:17:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756728576001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:17:18] local.INFO: DEBUG: GPS processor result {"connection_id":45874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20018,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:17:18] local.INFO: GPS data processed {"connection_id":45874,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:17:18] local.INFO: Acknowledgment sent {"connection_id":45874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:17:21] local.INFO: TCP Data received {"connection_id":45874,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:17:21] local.INFO: Processing buffer {"connection_id":45874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:17:21] local.INFO: Packet analysis {"connection_id":45874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:17:21] local.INFO: Extracted packet for processing {"connection_id":45874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:17:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:17:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756728576001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:17:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:17:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:17:21] 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-04-17 08:17:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776393772000,"timestamp_ms":1776393772000,"timestamp_seconds":1776393772,"priority":1,"record_length":96,"hex_timestamp":"0000019d9951dbe0"} 
[2026-04-17 08:17:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:17:21] 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-04-17 08:17:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-17 08:17:21] 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-04-17 08:17:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:17:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:17:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:17:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:17:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:17:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:17:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:17:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:17:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:17:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756728576001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:17:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:17:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:17:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756728576001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:17:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:17:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:17:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:17:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756728576001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:17:22] local.INFO: DEBUG: GPS processor result {"connection_id":45874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20019,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:17:22] local.INFO: GPS data processed {"connection_id":45874,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:17:22] local.INFO: Acknowledgment sent {"connection_id":45874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:17:28] local.INFO: TCP Data received {"connection_id":45873,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:17:28] local.INFO: Processing buffer {"connection_id":45873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:17:28] local.INFO: Packet analysis {"connection_id":45873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:17:28] local.INFO: Extracted packet for processing {"connection_id":45873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:17:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756764416001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776393912000,"timestamp_ms":1776393912000,"timestamp_seconds":1776393912,"priority":1,"record_length":96,"hex_timestamp":"0000019d9953fec0"} 
[2026-04-17 08:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:17: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-04-17 08: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-04-17 08:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756764416001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756764416001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:17:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:17:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756764416001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":45873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:17:28] local.INFO: GPS data processed {"connection_id":45873,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:17:28] local.INFO: Acknowledgment sent {"connection_id":45873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:17:51] local.INFO: TCP Data received {"connection_id":45875,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:17:51] local.INFO: Processing buffer {"connection_id":45875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:17:51] local.INFO: IMEI packet received {"connection_id":45875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":45875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:17:56] local.INFO: TCP Data received {"connection_id":45875,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:17:56] local.INFO: Processing buffer {"connection_id":45875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:17:56] local.INFO: IMEI packet received {"connection_id":45875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":45875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:17:57] local.INFO: TCP Data received {"connection_id":45875,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:17:57] local.INFO: Processing buffer {"connection_id":45875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:17:57] local.INFO: Packet analysis {"connection_id":45875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:17:57] local.INFO: Extracted packet for processing {"connection_id":45875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:17:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756764416001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776393912000,"timestamp_ms":1776393912000,"timestamp_seconds":1776393912,"priority":1,"record_length":96,"hex_timestamp":"0000019d9953fec0"} 
[2026-04-17 08:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756764416001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756764416001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:17:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:17:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756764416001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":45875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:17:57] local.INFO: GPS data processed {"connection_id":45875,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:17:57] local.INFO: Acknowledgment sent {"connection_id":45875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:18:10] local.INFO: TCP Data received {"connection_id":45697,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:18:10] local.INFO: Processing buffer {"connection_id":45697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:18:10] local.INFO: IMEI packet received {"connection_id":45697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":45697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:18:15] local.INFO: TCP Data received {"connection_id":45697,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:18:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45697,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:18:15] local.INFO: Processing buffer {"connection_id":45697,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:18:15] local.INFO: IMEI packet received {"connection_id":45697,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:18:15] local.INFO: IMEI acknowledgment sent {"connection_id":45697,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:18:17] local.INFO: TCP Data received {"connection_id":45697,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:18:17] local.INFO: Processing buffer {"connection_id":45697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9951dbe0012d1b598006d4d5980011013831..."} 
[2026-04-17 08:18:17] local.INFO: Packet analysis {"connection_id":45697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:18:17] local.INFO: Extracted packet for processing {"connection_id":45697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9951"} 
[2026-04-17 08:18:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756728576001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:18:17] 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-04-17 08:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776393772000,"timestamp_ms":1776393772000,"timestamp_seconds":1776393772,"priority":1,"record_length":96,"hex_timestamp":"0000019d9951dbe0"} 
[2026-04-17 08:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:18:17] 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-04-17 08:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-17 08:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1952,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45697,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45697,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:18:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756728576001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:18:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:18:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:18:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756728576001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:18:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:18:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:18:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:18:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756728576001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":45697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20022,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:18:17] local.INFO: GPS data processed {"connection_id":45697,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:18:17] local.INFO: Acknowledgment sent {"connection_id":45697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:18:28] local.INFO: TCP Data received {"connection_id":45875,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:18:28] local.INFO: Processing buffer {"connection_id":45875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:18:28] local.INFO: Packet analysis {"connection_id":45875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:18:28] local.INFO: Extracted packet for processing {"connection_id":45875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:18:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756764416001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776393912000,"timestamp_ms":1776393912000,"timestamp_seconds":1776393912,"priority":1,"record_length":96,"hex_timestamp":"0000019d9953fec0"} 
[2026-04-17 08:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:18: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-04-17 08: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-04-17 08:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756764416001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756764416001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:18:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756764416001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":45875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:18:28] local.INFO: GPS data processed {"connection_id":45875,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:18:28] local.INFO: Acknowledgment sent {"connection_id":45875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:18:51] local.INFO: TCP Data received {"connection_id":45876,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:18:51] local.INFO: Processing buffer {"connection_id":45876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:18:51] local.INFO: IMEI packet received {"connection_id":45876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":45876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:18:53] local.INFO: TCP Data received {"connection_id":45697,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:18:53] local.INFO: Processing buffer {"connection_id":45697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:18:53] local.INFO: Packet analysis {"connection_id":45697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:18:53] local.INFO: Extracted packet for processing {"connection_id":45697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:18:53] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:18: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-04-17 08:18:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756805632001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:18:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:18:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:18:53] 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-04-17 08:18:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776394073000,"timestamp_ms":1776394073000,"timestamp_seconds":1776394073,"priority":1,"record_length":96,"hex_timestamp":"0000019d995673a8"} 
[2026-04-17 08:18:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:18:53] 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-04-17 08:18: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-04-17 08:18: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-04-17 08:18: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-04-17 08:18:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:18:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:18:53] local.INFO: Teltonika packet parsed successfully {"connection_id":45697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:18:53] local.INFO: Passing IMEI to GPS processor {"connection_id":45697,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:18:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":45697,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:18:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:18:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:18:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:18:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756805632001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:18:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:18:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:18:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756805632001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:18:53] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:18:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:18:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:18:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756805632001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:18:53] local.INFO: DEBUG: GPS processor result {"connection_id":45697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20024,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:18:53] local.INFO: GPS data processed {"connection_id":45697,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:18:53] local.INFO: Acknowledgment sent {"connection_id":45697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:18:56] local.INFO: TCP Data received {"connection_id":45876,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:18:56] local.INFO: Processing buffer {"connection_id":45876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:18:56] local.INFO: IMEI packet received {"connection_id":45876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":45876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:18:57] local.INFO: TCP Data received {"connection_id":45876,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:18:57] local.INFO: Processing buffer {"connection_id":45876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:18:57] local.INFO: Packet analysis {"connection_id":45876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:18:57] local.INFO: Extracted packet for processing {"connection_id":45876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:18:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:18: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-04-17 08:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756764416001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776393912000,"timestamp_ms":1776393912000,"timestamp_seconds":1776393912,"priority":1,"record_length":96,"hex_timestamp":"0000019d9953fec0"} 
[2026-04-17 08:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:18: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-04-17 08:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756764416001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756764416001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:18:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:18:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756764416001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":45876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20025,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:18:57] local.INFO: GPS data processed {"connection_id":45876,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:18:57] local.INFO: Acknowledgment sent {"connection_id":45876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:19:10] local.INFO: TCP Data received {"connection_id":45615,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:19:10] local.INFO: Processing buffer {"connection_id":45615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:19:10] local.INFO: IMEI packet received {"connection_id":45615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":45615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:19:15] local.INFO: TCP Data received {"connection_id":45615,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45615,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:19:15] local.INFO: Processing buffer {"connection_id":45615,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:19:15] local.INFO: IMEI packet received {"connection_id":45615,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":45615,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:19:17] local.INFO: TCP Data received {"connection_id":45615,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:19:17] local.INFO: Processing buffer {"connection_id":45615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:19:17] local.INFO: Packet analysis {"connection_id":45615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:19:17] local.INFO: Extracted packet for processing {"connection_id":45615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:19:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756805632001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:19:17] 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-04-17 08:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776394073000,"timestamp_ms":1776394073000,"timestamp_seconds":1776394073,"priority":1,"record_length":96,"hex_timestamp":"0000019d995673a8"} 
[2026-04-17 08:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:19:17] 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-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756805632001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756805632001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:19:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756805632001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":45615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20026,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:19:17] local.INFO: GPS data processed {"connection_id":45615,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:19:17] local.INFO: Acknowledgment sent {"connection_id":45615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:19:28] local.INFO: TCP Data received {"connection_id":45876,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:19:28] local.INFO: Processing buffer {"connection_id":45876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:19:28] local.INFO: Packet analysis {"connection_id":45876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:19:28] local.INFO: Extracted packet for processing {"connection_id":45876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:19:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756764416001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776393912000,"timestamp_ms":1776393912000,"timestamp_seconds":1776393912,"priority":1,"record_length":96,"hex_timestamp":"0000019d9953fec0"} 
[2026-04-17 08:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:19: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-04-17 08:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756764416001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756764416001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:19:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:19:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756764416001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":45876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:19:28] local.INFO: GPS data processed {"connection_id":45876,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:19:28] local.INFO: Acknowledgment sent {"connection_id":45876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:19:49] local.INFO: TCP Data received {"connection_id":45615,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:19:49] local.INFO: Processing buffer {"connection_id":45615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:19:49] local.INFO: Packet analysis {"connection_id":45615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:19:49] local.INFO: Extracted packet for processing {"connection_id":45615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:19:49] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:19:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756805632001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:19:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:19:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:19:49] 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-04-17 08:19:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776394073000,"timestamp_ms":1776394073000,"timestamp_seconds":1776394073,"priority":1,"record_length":96,"hex_timestamp":"0000019d995673a8"} 
[2026-04-17 08:19:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:19:49] 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-04-17 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:19: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-04-17 08: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-04-17 08:19:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:19:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:19:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:19:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:19:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45615,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:19:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:19:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:19:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:19:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756805632001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:19:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:19:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:19:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756805632001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:19:49] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:19:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:19:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:19:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756805632001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:19:49] local.INFO: DEBUG: GPS processor result {"connection_id":45615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20028,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:19:49] local.INFO: GPS data processed {"connection_id":45615,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:19:49] local.INFO: Acknowledgment sent {"connection_id":45615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:19:56] local.INFO: TCP Data received {"connection_id":46445,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:19:56] local.INFO: Processing buffer {"connection_id":46445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:19:56] local.INFO: IMEI packet received {"connection_id":46445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":46445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:20:01] local.INFO: TCP Data received {"connection_id":46445,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46445,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:20:01] local.INFO: Processing buffer {"connection_id":46445,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:20:01] local.INFO: IMEI packet received {"connection_id":46445,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":46445,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:20:02] local.INFO: TCP Data received {"connection_id":46445,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:20:02] local.INFO: Processing buffer {"connection_id":46445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:20:02] local.INFO: Packet analysis {"connection_id":46445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:20:02] local.INFO: Extracted packet for processing {"connection_id":46445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756764416001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776393912000,"timestamp_ms":1776393912000,"timestamp_seconds":1776393912,"priority":1,"record_length":96,"hex_timestamp":"0000019d9953fec0"} 
[2026-04-17 08:20:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:20:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:20:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:20:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756764416001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756764416001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:20:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:20:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756764416001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":46445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:20:02] local.INFO: GPS data processed {"connection_id":46445,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:20:02] local.INFO: Acknowledgment sent {"connection_id":46445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:20:05] local.INFO: TCP Data received {"connection_id":45877,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:20:05] local.INFO: Processing buffer {"connection_id":45877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:20:05] local.INFO: IMEI packet received {"connection_id":45877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":45877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:20:07] local.INFO: TCP Data received {"connection_id":46445,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:20:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46445,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:20:07] local.INFO: Processing buffer {"connection_id":46445,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9953fec0012d7fad4005afe3500000009428..."} 
[2026-04-17 08:20:07] local.INFO: Packet analysis {"connection_id":46445,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:20:07] local.INFO: Extracted packet for processing {"connection_id":46445,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9953"} 
[2026-04-17 08:20:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:20:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756764416001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:20:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:20:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:20:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:20:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776393912000,"timestamp_ms":1776393912000,"timestamp_seconds":1776393912,"priority":1,"record_length":96,"hex_timestamp":"0000019d9953fec0"} 
[2026-04-17 08:20:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:20:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:20:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:20:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:20:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:20:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:20:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:20:07] local.INFO: Teltonika packet parsed successfully {"connection_id":46445,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:20:07] local.INFO: Passing IMEI to GPS processor {"connection_id":46445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:20:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":46445,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:20:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:20:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:20:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:20:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756764416001,"66":25397,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:20:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:20:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:20:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756764416001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:20:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:20:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:20:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:20:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:20:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756764416001,"power":25397,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:20:07] local.INFO: DEBUG: GPS processor result {"connection_id":46445,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:20:07] local.INFO: GPS data processed {"connection_id":46445,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:20:07] local.INFO: Acknowledgment sent {"connection_id":46445,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:20:10] local.INFO: TCP Data received {"connection_id":45877,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:20:10] local.INFO: Processing buffer {"connection_id":45877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:20:10] local.INFO: IMEI packet received {"connection_id":45877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":45877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:20:13] local.INFO: TCP Data received {"connection_id":45877,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:20:13] local.INFO: Processing buffer {"connection_id":45877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:20:13] local.INFO: Packet analysis {"connection_id":45877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:20:13] local.INFO: Extracted packet for processing {"connection_id":45877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:20:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756805632001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:20:13] 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-04-17 08:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776394073000,"timestamp_ms":1776394073000,"timestamp_seconds":1776394073,"priority":1,"record_length":96,"hex_timestamp":"0000019d995673a8"} 
[2026-04-17 08:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:20:13] 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-04-17 08:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756805632001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756805632001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:20:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756805632001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":45877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20031,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:20:13] local.INFO: GPS data processed {"connection_id":45877,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:20:13] local.INFO: Acknowledgment sent {"connection_id":45877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:20:44] local.INFO: TCP Data received {"connection_id":45877,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:20:44] local.INFO: Processing buffer {"connection_id":45877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:20:44] local.INFO: Packet analysis {"connection_id":45877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:20:44] local.INFO: Extracted packet for processing {"connection_id":45877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:20:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756805632001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:20:44] 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-04-17 08:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776394073000,"timestamp_ms":1776394073000,"timestamp_seconds":1776394073,"priority":1,"record_length":96,"hex_timestamp":"0000019d995673a8"} 
[2026-04-17 08:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:20:44] 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-04-17 08: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-04-17 08: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-04-17 08: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-04-17 08:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756805632001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756805632001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:20:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756805632001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:20:45] local.INFO: DEBUG: GPS processor result {"connection_id":45877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20032,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:20:45] local.INFO: GPS data processed {"connection_id":45877,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:20:45] local.INFO: Acknowledgment sent {"connection_id":45877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:20:51] local.INFO: TCP Data received {"connection_id":45616,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:20:51] local.INFO: Processing buffer {"connection_id":45616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:20:51] local.INFO: IMEI packet received {"connection_id":45616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":45616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:20:51] local.INFO: TCP Data received {"connection_id":45616,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:20:51] local.INFO: Processing buffer {"connection_id":45616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:20:51] local.INFO: IMEI packet received {"connection_id":45616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":45616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:20:56] local.INFO: TCP Data received {"connection_id":45616,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45616,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:20:56] local.INFO: Processing buffer {"connection_id":45616,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:20:56] local.INFO: IMEI packet received {"connection_id":45616,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":45616,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:20:57] local.INFO: TCP Data received {"connection_id":45616,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:20:57] local.INFO: Processing buffer {"connection_id":45616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:20:57] local.INFO: Packet analysis {"connection_id":45616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:20:57] local.INFO: Extracted packet for processing {"connection_id":45616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:20:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756841472001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776394213000,"timestamp_ms":1776394213000,"timestamp_seconds":1776394213,"priority":1,"record_length":96,"hex_timestamp":"0000019d99589688"} 
[2026-04-17 08:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756841472001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756841472001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:20:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:20:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756841472001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":45616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:20:57] local.INFO: GPS data processed {"connection_id":45616,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:20:57] local.INFO: Acknowledgment sent {"connection_id":45616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:21:05] local.INFO: TCP Data received {"connection_id":45878,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:21:05] local.INFO: Processing buffer {"connection_id":45878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:21:05] local.INFO: IMEI packet received {"connection_id":45878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":45878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:21:10] local.INFO: TCP Data received {"connection_id":45878,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45878,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:21:10] local.INFO: Processing buffer {"connection_id":45878,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:21:10] local.INFO: IMEI packet received {"connection_id":45878,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":45878,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:21:12] local.INFO: TCP Data received {"connection_id":45878,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:21:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:21:12] local.INFO: Processing buffer {"connection_id":45878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:21:12] local.INFO: Packet analysis {"connection_id":45878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:21:12] local.INFO: Extracted packet for processing {"connection_id":45878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:21:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:21:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756805632001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:21:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:21:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:21:12] 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-04-17 08:21:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776394073000,"timestamp_ms":1776394073000,"timestamp_seconds":1776394073,"priority":1,"record_length":96,"hex_timestamp":"0000019d995673a8"} 
[2026-04-17 08:21:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:21: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-04-17 08:21:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:21:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:21:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:21:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:21:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:21:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:21:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:21:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:21:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:21:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:21:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756805632001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:21:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:21:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:21:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756805632001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:21:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:21:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:21:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:21:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756805632001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:21:12] local.INFO: DEBUG: GPS processor result {"connection_id":45878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20034,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:21:12] local.INFO: GPS data processed {"connection_id":45878,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:21:12] local.INFO: Acknowledgment sent {"connection_id":45878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:21:27] local.INFO: TCP Data received {"connection_id":45616,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:21:27] local.INFO: Processing buffer {"connection_id":45616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:21:27] local.INFO: Packet analysis {"connection_id":45616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:21:27] local.INFO: Extracted packet for processing {"connection_id":45616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756841472001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776394213000,"timestamp_ms":1776394213000,"timestamp_seconds":1776394213,"priority":1,"record_length":96,"hex_timestamp":"0000019d99589688"} 
[2026-04-17 08:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45616,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756841472001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756841472001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:21:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:21:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756841472001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":45616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:21:28] local.INFO: GPS data processed {"connection_id":45616,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:21:28] local.INFO: Acknowledgment sent {"connection_id":45616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:21:44] local.INFO: TCP Data received {"connection_id":45878,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:21:44] local.INFO: Processing buffer {"connection_id":45878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:21:44] local.INFO: Packet analysis {"connection_id":45878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:21:44] local.INFO: Extracted packet for processing {"connection_id":45878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:21:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756805632001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:21:44] 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-04-17 08:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776394073000,"timestamp_ms":1776394073000,"timestamp_seconds":1776394073,"priority":1,"record_length":96,"hex_timestamp":"0000019d995673a8"} 
[2026-04-17 08:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:21:44] 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-04-17 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:21: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-04-17 08: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-04-17 08:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45878,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756805632001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756805632001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:21:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756805632001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":45878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20036,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:21:44] local.INFO: GPS data processed {"connection_id":45878,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:21:44] local.INFO: Acknowledgment sent {"connection_id":45878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:21:51] local.INFO: TCP Data received {"connection_id":45879,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:21:51] local.INFO: Processing buffer {"connection_id":45879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:21:51] local.INFO: IMEI packet received {"connection_id":45879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":45879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:21:56] local.INFO: TCP Data received {"connection_id":45879,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45879,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:21:56] local.INFO: Processing buffer {"connection_id":45879,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:21:56] local.INFO: IMEI packet received {"connection_id":45879,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":45879,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:21:57] local.INFO: TCP Data received {"connection_id":45879,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:21:57] local.INFO: Processing buffer {"connection_id":45879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:21:57] local.INFO: Packet analysis {"connection_id":45879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:21:57] local.INFO: Extracted packet for processing {"connection_id":45879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:21:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756841472001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776394213000,"timestamp_ms":1776394213000,"timestamp_seconds":1776394213,"priority":1,"record_length":96,"hex_timestamp":"0000019d99589688"} 
[2026-04-17 08:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756841472001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756841472001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:21:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:21:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756841472001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":45879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:21:57] local.INFO: GPS data processed {"connection_id":45879,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:21:57] local.INFO: Acknowledgment sent {"connection_id":45879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:22:10] local.INFO: TCP Data received {"connection_id":46446,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:22:10] local.INFO: Processing buffer {"connection_id":46446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:22:10] local.INFO: IMEI packet received {"connection_id":46446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":46446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:22:19] local.INFO: TCP Data received {"connection_id":46446,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:22:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46446,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:22:19] local.INFO: Processing buffer {"connection_id":46446,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:22:19] local.INFO: IMEI packet received {"connection_id":46446,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:22:19] local.INFO: IMEI acknowledgment sent {"connection_id":46446,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:22:20] local.INFO: TCP Data received {"connection_id":46446,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:22:20] local.INFO: Processing buffer {"connection_id":46446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:22:20] local.INFO: Packet analysis {"connection_id":46446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:22:20] local.INFO: Extracted packet for processing {"connection_id":46446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:22:20] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:22:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756805632001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:22:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:22:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:22:20] 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-04-17 08:22:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776394073000,"timestamp_ms":1776394073000,"timestamp_seconds":1776394073,"priority":1,"record_length":96,"hex_timestamp":"0000019d995673a8"} 
[2026-04-17 08:22:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:22:20] 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-04-17 08:22:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:22:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:22:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:22:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:22:20] local.INFO: Teltonika packet parsed successfully {"connection_id":46446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:22:20] local.INFO: Passing IMEI to GPS processor {"connection_id":46446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:22:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":46446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:22:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:22:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:22:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:22:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756805632001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:22:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:22:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:22:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756805632001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:22:20] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:22:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:22:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:22:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756805632001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:22:20] local.INFO: DEBUG: GPS processor result {"connection_id":46446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20038,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:22:20] local.INFO: GPS data processed {"connection_id":46446,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:22:20] local.INFO: Acknowledgment sent {"connection_id":46446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:22:21] local.INFO: TCP Data received {"connection_id":46446,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46446,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:22:21] local.INFO: Processing buffer {"connection_id":46446,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:22:21] local.INFO: Packet analysis {"connection_id":46446,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:22:21] local.INFO: Extracted packet for processing {"connection_id":46446,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:22:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:22:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756805632001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:22:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:22:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:22:21] 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-04-17 08:22:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776394073000,"timestamp_ms":1776394073000,"timestamp_seconds":1776394073,"priority":1,"record_length":96,"hex_timestamp":"0000019d995673a8"} 
[2026-04-17 08:22:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:22:21] 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-04-17 08:22:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:22:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:22:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:22:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:22:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:22:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46446,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:22:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:22:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46446,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:22:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:22:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:22:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:22:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756805632001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:22:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:22:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:22:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756805632001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:22:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:22:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:22:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:22:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756805632001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:22:21] local.INFO: DEBUG: GPS processor result {"connection_id":46446,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20039,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:22:21] local.INFO: GPS data processed {"connection_id":46446,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:22:21] local.INFO: Acknowledgment sent {"connection_id":46446,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:22:28] local.INFO: TCP Data received {"connection_id":45879,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:22:28] local.INFO: Processing buffer {"connection_id":45879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:22:28] local.INFO: Packet analysis {"connection_id":45879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:22:28] local.INFO: Extracted packet for processing {"connection_id":45879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:22:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756841472001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776394213000,"timestamp_ms":1776394213000,"timestamp_seconds":1776394213,"priority":1,"record_length":96,"hex_timestamp":"0000019d99589688"} 
[2026-04-17 08:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:22: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-04-17 08:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45879,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756841472001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756841472001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:22:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:22:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756841472001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":45879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:22:28] local.INFO: GPS data processed {"connection_id":45879,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:22:28] local.INFO: Acknowledgment sent {"connection_id":45879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:22:51] local.INFO: TCP Data received {"connection_id":45617,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:22:51] local.INFO: Processing buffer {"connection_id":45617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:22:51] local.INFO: IMEI packet received {"connection_id":45617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":45617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:22:56] local.INFO: TCP Data received {"connection_id":45617,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:22:56] local.INFO: Processing buffer {"connection_id":45617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:22:56] local.INFO: IMEI packet received {"connection_id":45617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":45617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:22:57] local.INFO: TCP Data received {"connection_id":45617,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:22:57] local.INFO: Processing buffer {"connection_id":45617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:22:57] local.INFO: Packet analysis {"connection_id":45617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:22:57] local.INFO: Extracted packet for processing {"connection_id":45617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:22:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756841472001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776394213000,"timestamp_ms":1776394213000,"timestamp_seconds":1776394213,"priority":1,"record_length":96,"hex_timestamp":"0000019d99589688"} 
[2026-04-17 08:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756841472001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756841472001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:22:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756841472001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":45617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:22:57] local.INFO: GPS data processed {"connection_id":45617,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:22:57] local.INFO: Acknowledgment sent {"connection_id":45617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:23:05] local.INFO: TCP Data received {"connection_id":45618,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:23:05] local.INFO: Processing buffer {"connection_id":45618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:23:05] local.INFO: IMEI packet received {"connection_id":45618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":45618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:23:10] local.INFO: TCP Data received {"connection_id":45618,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45618,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:23:10] local.INFO: Processing buffer {"connection_id":45618,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:23:10] local.INFO: IMEI packet received {"connection_id":45618,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":45618,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:23:12] local.INFO: TCP Data received {"connection_id":45618,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:23:12] local.INFO: Processing buffer {"connection_id":45618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995673a8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:23:12] local.INFO: Packet analysis {"connection_id":45618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:23:12] local.INFO: Extracted packet for processing {"connection_id":45618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9956"} 
[2026-04-17 08:23:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756805632001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:23:12] 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-04-17 08:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776394073000,"timestamp_ms":1776394073000,"timestamp_seconds":1776394073,"priority":1,"record_length":96,"hex_timestamp":"0000019d995673a8"} 
[2026-04-17 08:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:23: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-04-17 08:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:23: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-04-17 08:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45618,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45618,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756805632001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756805632001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:23:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756805632001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":45618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20042,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:23:12] local.INFO: GPS data processed {"connection_id":45618,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:23:12] local.INFO: Acknowledgment sent {"connection_id":45618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:23:27] local.INFO: TCP Data received {"connection_id":45617,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:23:27] local.INFO: Processing buffer {"connection_id":45617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:23:27] local.INFO: Packet analysis {"connection_id":45617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:23:27] local.INFO: Extracted packet for processing {"connection_id":45617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756841472001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776394213000,"timestamp_ms":1776394213000,"timestamp_seconds":1776394213,"priority":1,"record_length":96,"hex_timestamp":"0000019d99589688"} 
[2026-04-17 08:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756841472001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756841472001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:23:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:23:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756841472001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":45617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:23:27] local.INFO: GPS data processed {"connection_id":45617,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:23:27] local.INFO: Acknowledgment sent {"connection_id":45617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:23:44] local.INFO: TCP Data received {"connection_id":45618,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:23:44] local.INFO: Processing buffer {"connection_id":45618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:23:44] local.INFO: Packet analysis {"connection_id":45618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:23:44] local.INFO: Extracted packet for processing {"connection_id":45618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:23:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756882688001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:23:44] 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-04-17 08:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776394374000,"timestamp_ms":1776394374000,"timestamp_seconds":1776394374,"priority":1,"record_length":96,"hex_timestamp":"0000019d995b0b70"} 
[2026-04-17 08:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:23:44] 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-04-17 08:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:23: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-04-17 08:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45618,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45618,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756882688001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756882688001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:23:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756882688001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":45618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20044,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:23:44] local.INFO: GPS data processed {"connection_id":45618,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:23:44] local.INFO: Acknowledgment sent {"connection_id":45618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:23:51] local.INFO: TCP Data received {"connection_id":45698,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:23:51] local.INFO: Processing buffer {"connection_id":45698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:23:51] local.INFO: IMEI packet received {"connection_id":45698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":45698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:23:56] local.INFO: TCP Data received {"connection_id":45698,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:23:56] local.INFO: Processing buffer {"connection_id":45698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:23:56] local.INFO: IMEI packet received {"connection_id":45698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":45698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:23:57] local.INFO: TCP Data received {"connection_id":45698,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:23:57] local.INFO: Processing buffer {"connection_id":45698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:23:57] local.INFO: Packet analysis {"connection_id":45698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:23:57] local.INFO: Extracted packet for processing {"connection_id":45698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:23:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756841472001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776394213000,"timestamp_ms":1776394213000,"timestamp_seconds":1776394213,"priority":1,"record_length":96,"hex_timestamp":"0000019d99589688"} 
[2026-04-17 08:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:23:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756841472001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756841472001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:23:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:23:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756841472001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":45698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:23:57] local.INFO: GPS data processed {"connection_id":45698,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:23:57] local.INFO: Acknowledgment sent {"connection_id":45698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:24:10] local.INFO: TCP Data received {"connection_id":45880,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:24:10] local.INFO: Processing buffer {"connection_id":45880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:24:10] local.INFO: IMEI packet received {"connection_id":45880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":45880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:24:15] local.INFO: TCP Data received {"connection_id":45880,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:24:15] local.INFO: Processing buffer {"connection_id":45880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:24:15] local.INFO: IMEI packet received {"connection_id":45880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:24:15] local.INFO: IMEI acknowledgment sent {"connection_id":45880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:24:17] local.INFO: TCP Data received {"connection_id":45880,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:24:17] local.INFO: Processing buffer {"connection_id":45880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:24:17] local.INFO: Packet analysis {"connection_id":45880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:24:17] local.INFO: Extracted packet for processing {"connection_id":45880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:24:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:24:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756882688001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:24:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:24:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:24:17] 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-04-17 08:24:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776394374000,"timestamp_ms":1776394374000,"timestamp_seconds":1776394374,"priority":1,"record_length":96,"hex_timestamp":"0000019d995b0b70"} 
[2026-04-17 08:24:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:24:17] 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-04-17 08:24:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:24:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:24:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:24:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:24:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:24:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:24:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:24:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:24:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:24:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:24:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:24:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756882688001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:24:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:24:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:24:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756882688001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:24:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:24:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:24:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:24:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756882688001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:24:17] local.INFO: DEBUG: GPS processor result {"connection_id":45880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20046,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:24:17] local.INFO: GPS data processed {"connection_id":45880,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:24:17] local.INFO: Acknowledgment sent {"connection_id":45880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:24:28] local.INFO: TCP Data received {"connection_id":45698,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:24:28] local.INFO: Processing buffer {"connection_id":45698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:24:28] local.INFO: Packet analysis {"connection_id":45698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:24:28] local.INFO: Extracted packet for processing {"connection_id":45698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:24:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756841472001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776394213000,"timestamp_ms":1776394213000,"timestamp_seconds":1776394213,"priority":1,"record_length":96,"hex_timestamp":"0000019d99589688"} 
[2026-04-17 08:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:24: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-04-17 08: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-04-17 08:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756841472001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756841472001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:24:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756841472001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":45698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:24:28] local.INFO: GPS data processed {"connection_id":45698,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:24:28] local.INFO: Acknowledgment sent {"connection_id":45698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:24:48] local.INFO: TCP Data received {"connection_id":45880,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:24:48] local.INFO: Processing buffer {"connection_id":45880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:24:48] local.INFO: Packet analysis {"connection_id":45880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:24:48] local.INFO: Extracted packet for processing {"connection_id":45880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:24:48] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:24:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756882688001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:24:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:24:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:24:48] 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-04-17 08:24:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776394374000,"timestamp_ms":1776394374000,"timestamp_seconds":1776394374,"priority":1,"record_length":96,"hex_timestamp":"0000019d995b0b70"} 
[2026-04-17 08:24:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:24:48] 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-04-17 08: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:24: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-04-17 08: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-04-17 08:24:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:24:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:24:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:24:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:24:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45880,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:24:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:24:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:24:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:24:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756882688001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:24:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:24:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:24:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756882688001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:24:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:24:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:24:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:24:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756882688001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:24:48] local.INFO: DEBUG: GPS processor result {"connection_id":45880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20048,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:24:48] local.INFO: GPS data processed {"connection_id":45880,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:24:48] local.INFO: Acknowledgment sent {"connection_id":45880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:24:56] local.INFO: TCP Data received {"connection_id":45699,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:24:56] local.INFO: Processing buffer {"connection_id":45699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:24:56] local.INFO: IMEI packet received {"connection_id":45699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":45699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:25:01] local.INFO: TCP Data received {"connection_id":45699,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:25:01] local.INFO: Processing buffer {"connection_id":45699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:25:01] local.INFO: IMEI packet received {"connection_id":45699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:25:01] local.INFO: IMEI acknowledgment sent {"connection_id":45699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:25:02] local.INFO: TCP Data received {"connection_id":45699,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:25:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:25:02] local.INFO: Processing buffer {"connection_id":45699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:25:02] local.INFO: Packet analysis {"connection_id":45699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:25:02] local.INFO: Extracted packet for processing {"connection_id":45699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:25:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:25:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756841472001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:25:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:25:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:25:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:25:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776394213000,"timestamp_ms":1776394213000,"timestamp_seconds":1776394213,"priority":1,"record_length":96,"hex_timestamp":"0000019d99589688"} 
[2026-04-17 08:25:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:25: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-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:25:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:25:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:25:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:25:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:25:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:25:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:25:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:25:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:25:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:25:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756841472001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:25:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:25:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:25:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756841472001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:25:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:25:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:25:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:25:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:25:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756841472001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:25:02] local.INFO: DEBUG: GPS processor result {"connection_id":45699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20049,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:25:02] local.INFO: GPS data processed {"connection_id":45699,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:25:02] local.INFO: Acknowledgment sent {"connection_id":45699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:25:05] local.INFO: TCP Data received {"connection_id":45881,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:25:05] local.INFO: Processing buffer {"connection_id":45881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:25:05] local.INFO: IMEI packet received {"connection_id":45881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":45881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:25:06] local.INFO: TCP Data received {"connection_id":45699,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:25:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:25:06] local.INFO: Processing buffer {"connection_id":45699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99589688012d7fad4005afe3500000009429..."} 
[2026-04-17 08:25:06] local.INFO: Packet analysis {"connection_id":45699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:25:06] local.INFO: Extracted packet for processing {"connection_id":45699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9958"} 
[2026-04-17 08:25:06] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:25:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756841472001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:25:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:25:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:25:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:25:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776394213000,"timestamp_ms":1776394213000,"timestamp_seconds":1776394213,"priority":1,"record_length":96,"hex_timestamp":"0000019d99589688"} 
[2026-04-17 08:25:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:25:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:25:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:25:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:25:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:25:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:25:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:25:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:25:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:25:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:25:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:25:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756841472001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:25:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:25:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:25:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756841472001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:25:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:25:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:25:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:25:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:25:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756841472001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":45699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:25:06] local.INFO: GPS data processed {"connection_id":45699,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:25:06] local.INFO: Acknowledgment sent {"connection_id":45699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:25:10] local.INFO: TCP Data received {"connection_id":45881,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:25:10] local.INFO: Processing buffer {"connection_id":45881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:25:10] local.INFO: IMEI packet received {"connection_id":45881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":45881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:25:12] local.INFO: TCP Data received {"connection_id":45881,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:25:12] local.INFO: Processing buffer {"connection_id":45881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:25:12] local.INFO: Packet analysis {"connection_id":45881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:25:12] local.INFO: Extracted packet for processing {"connection_id":45881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:25:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756882688001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:25:12] 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-04-17 08:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776394374000,"timestamp_ms":1776394374000,"timestamp_seconds":1776394374,"priority":1,"record_length":96,"hex_timestamp":"0000019d995b0b70"} 
[2026-04-17 08:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:25: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-04-17 08:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756882688001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756882688001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:25:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756882688001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":45881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20051,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:25:12] local.INFO: GPS data processed {"connection_id":45881,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:25:12] local.INFO: Acknowledgment sent {"connection_id":45881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:25:43] local.INFO: TCP Data received {"connection_id":45881,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:25:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:25:43] local.INFO: Processing buffer {"connection_id":45881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:25:43] local.INFO: Packet analysis {"connection_id":45881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:25:43] local.INFO: Extracted packet for processing {"connection_id":45881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:25:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:25:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756882688001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:25:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:25:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:25:43] 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-04-17 08:25:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776394374000,"timestamp_ms":1776394374000,"timestamp_seconds":1776394374,"priority":1,"record_length":96,"hex_timestamp":"0000019d995b0b70"} 
[2026-04-17 08:25:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:25:43] 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-04-17 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:25:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:25:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:25:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:25:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:25:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:25:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:25:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:25:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:25:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:25:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756882688001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:25:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:25:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:25:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756882688001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:25:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:25:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:25:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:25:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756882688001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:25:43] local.INFO: DEBUG: GPS processor result {"connection_id":45881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20052,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:25:43] local.INFO: GPS data processed {"connection_id":45881,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:25:43] local.INFO: Acknowledgment sent {"connection_id":45881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:25:51] local.INFO: TCP Data received {"connection_id":45882,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:25:51] local.INFO: Processing buffer {"connection_id":45882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:25:51] local.INFO: IMEI packet received {"connection_id":45882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":45882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:25:52] local.INFO: TCP Data received {"connection_id":45882,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45882,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:25:52] local.INFO: Processing buffer {"connection_id":45882,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:25:52] local.INFO: IMEI packet received {"connection_id":45882,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":45882,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:25:53] local.INFO: TCP Data received {"connection_id":45882,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:25:53] local.INFO: Processing buffer {"connection_id":45882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:25:53] local.INFO: Packet analysis {"connection_id":45882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:25:53] local.INFO: Extracted packet for processing {"connection_id":45882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:25:53] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:25:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:25:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756918528001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:25:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:25:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:25:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:25:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776394514000,"timestamp_ms":1776394514000,"timestamp_seconds":1776394514,"priority":1,"record_length":96,"hex_timestamp":"0000019d995d2e50"} 
[2026-04-17 08:25:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:25:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:25:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:25:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:25:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:25:53] local.INFO: Teltonika packet parsed successfully {"connection_id":45882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:25:53] local.INFO: Passing IMEI to GPS processor {"connection_id":45882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:25:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":45882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:25:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:25:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:25:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:25:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756918528001,"66":24440,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:25:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:25:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:25:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756918528001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:25:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:25:53] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:25:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:25:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:25:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756918528001,"power":24440,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:25:53] local.INFO: DEBUG: GPS processor result {"connection_id":45882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:25:53] local.INFO: GPS data processed {"connection_id":45882,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:25:53] local.INFO: Acknowledgment sent {"connection_id":45882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:26:05] local.INFO: TCP Data received {"connection_id":45619,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:26:05] local.INFO: Processing buffer {"connection_id":45619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:26:05] local.INFO: IMEI packet received {"connection_id":45619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":45619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:26:10] local.INFO: TCP Data received {"connection_id":45619,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45619,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:26:10] local.INFO: Processing buffer {"connection_id":45619,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:26:10] local.INFO: IMEI packet received {"connection_id":45619,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":45619,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:26:12] local.INFO: TCP Data received {"connection_id":45619,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:26:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:26:12] local.INFO: Processing buffer {"connection_id":45619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:26:12] local.INFO: Packet analysis {"connection_id":45619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:26:12] local.INFO: Extracted packet for processing {"connection_id":45619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:26:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:26:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756882688001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:26:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:26:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:26:12] 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-04-17 08:26:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776394374000,"timestamp_ms":1776394374000,"timestamp_seconds":1776394374,"priority":1,"record_length":96,"hex_timestamp":"0000019d995b0b70"} 
[2026-04-17 08:26:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:26: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-04-17 08:26:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:26:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:26:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:26:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:26:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:26:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:26:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:26:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:26:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:26:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:26:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:26:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756882688001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:26:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:26:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:26:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756882688001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:26:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:26:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:26:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:26:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756882688001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:26:12] local.INFO: DEBUG: GPS processor result {"connection_id":45619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20054,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:26:12] local.INFO: GPS data processed {"connection_id":45619,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:26:12] local.INFO: Acknowledgment sent {"connection_id":45619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:26:24] local.INFO: TCP Data received {"connection_id":45882,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:26:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:26:24] local.INFO: Processing buffer {"connection_id":45882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:26:24] local.INFO: Packet analysis {"connection_id":45882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:26:24] local.INFO: Extracted packet for processing {"connection_id":45882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:26:24] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:26:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756918528001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:26:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:26:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:26:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:26:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776394514000,"timestamp_ms":1776394514000,"timestamp_seconds":1776394514,"priority":1,"record_length":96,"hex_timestamp":"0000019d995d2e50"} 
[2026-04-17 08:26:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:26:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:26:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:26:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:26:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:26:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:26:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:26:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:26:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:26:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45882,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:26:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:26:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:26:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:26:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756918528001,"66":24440,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:26:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:26:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:26:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756918528001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:26:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:26:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:26:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:26:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:26:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756918528001,"power":24440,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:26:24] local.INFO: DEBUG: GPS processor result {"connection_id":45882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:26:24] local.INFO: GPS data processed {"connection_id":45882,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:26:24] local.INFO: Acknowledgment sent {"connection_id":45882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:26:44] local.INFO: TCP Data received {"connection_id":45619,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:26:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:26:44] local.INFO: Processing buffer {"connection_id":45619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:26:44] local.INFO: Packet analysis {"connection_id":45619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:26:44] local.INFO: Extracted packet for processing {"connection_id":45619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:26:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:26:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756882688001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:26:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:26:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:26:44] 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-04-17 08:26:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776394374000,"timestamp_ms":1776394374000,"timestamp_seconds":1776394374,"priority":1,"record_length":96,"hex_timestamp":"0000019d995b0b70"} 
[2026-04-17 08:26:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:26:44] 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-04-17 08:26:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:26: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-04-17 08:26:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:26:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:26:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:26:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:26:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:26:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45619,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:26:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:26:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:26:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:26:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756882688001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:26:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:26:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:26:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756882688001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:26:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:26:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:26:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:26:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756882688001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:26:44] local.INFO: DEBUG: GPS processor result {"connection_id":45619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20056,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:26:44] local.INFO: GPS data processed {"connection_id":45619,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:26:44] local.INFO: Acknowledgment sent {"connection_id":45619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:26:51] local.INFO: TCP Data received {"connection_id":45700,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:26:51] local.INFO: Processing buffer {"connection_id":45700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:26:51] local.INFO: IMEI packet received {"connection_id":45700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":45700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:26:56] local.INFO: TCP Data received {"connection_id":45700,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:26:56] local.INFO: Processing buffer {"connection_id":45700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:26:56] local.INFO: IMEI packet received {"connection_id":45700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":45700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:26:57] local.INFO: TCP Data received {"connection_id":45700,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:26:57] local.INFO: Processing buffer {"connection_id":45700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:26:57] local.INFO: Packet analysis {"connection_id":45700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:26:57] local.INFO: Extracted packet for processing {"connection_id":45700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:26:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756918528001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776394514000,"timestamp_ms":1776394514000,"timestamp_seconds":1776394514,"priority":1,"record_length":96,"hex_timestamp":"0000019d995d2e50"} 
[2026-04-17 08:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756918528001,"66":24440,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756918528001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:26:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:26:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756918528001,"power":24440,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":45700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:26:57] local.INFO: GPS data processed {"connection_id":45700,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:26:57] local.INFO: Acknowledgment sent {"connection_id":45700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:27:05] local.INFO: TCP Data received {"connection_id":45883,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:27:05] local.INFO: Processing buffer {"connection_id":45883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:27:05] local.INFO: IMEI packet received {"connection_id":45883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":45883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:27:10] local.INFO: TCP Data received {"connection_id":45883,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45883,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:27:10] local.INFO: Processing buffer {"connection_id":45883,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:27:10] local.INFO: IMEI packet received {"connection_id":45883,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":45883,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:27:13] local.INFO: TCP Data received {"connection_id":45883,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:27:13] local.INFO: Processing buffer {"connection_id":45883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:27:13] local.INFO: Packet analysis {"connection_id":45883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:27:13] local.INFO: Extracted packet for processing {"connection_id":45883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:27:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:27:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756882688001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:27:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:27:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:27:13] 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-04-17 08:27:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776394374000,"timestamp_ms":1776394374000,"timestamp_seconds":1776394374,"priority":1,"record_length":96,"hex_timestamp":"0000019d995b0b70"} 
[2026-04-17 08:27:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:27:13] 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-04-17 08:27:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:27:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:27:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:27:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:27:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:27:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:27:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:27:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:27:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:27:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:27:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:27:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756882688001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:27:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:27:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:27:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756882688001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:27:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:27:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:27:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:27:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756882688001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:27:13] local.INFO: DEBUG: GPS processor result {"connection_id":45883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:27:13] local.INFO: GPS data processed {"connection_id":45883,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:27:13] local.INFO: Acknowledgment sent {"connection_id":45883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:27:27] local.INFO: TCP Data received {"connection_id":45700,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:27:27] local.INFO: Processing buffer {"connection_id":45700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:27:27] local.INFO: Packet analysis {"connection_id":45700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:27:27] local.INFO: Extracted packet for processing {"connection_id":45700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756918528001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776394514000,"timestamp_ms":1776394514000,"timestamp_seconds":1776394514,"priority":1,"record_length":96,"hex_timestamp":"0000019d995d2e50"} 
[2026-04-17 08:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756918528001,"66":24440,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756918528001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:27:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756918528001,"power":24440,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":45700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:27:27] local.INFO: GPS data processed {"connection_id":45700,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:27:27] local.INFO: Acknowledgment sent {"connection_id":45700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:27:45] local.INFO: TCP Data received {"connection_id":45883,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:27:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:27:45] local.INFO: Processing buffer {"connection_id":45883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:27:45] local.INFO: Packet analysis {"connection_id":45883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:27:45] local.INFO: Extracted packet for processing {"connection_id":45883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:27:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:27:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756882688001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:27:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:27:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:27:45] 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-04-17 08:27:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776394374000,"timestamp_ms":1776394374000,"timestamp_seconds":1776394374,"priority":1,"record_length":96,"hex_timestamp":"0000019d995b0b70"} 
[2026-04-17 08:27:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:27:45] 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-04-17 08:27:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:27: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-04-17 08:27:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:27:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:27:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:27:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:27:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:27:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45883,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:27:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:27:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:27:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:27:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756882688001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:27:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:27:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:27:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756882688001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:27:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:27:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:27:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:27:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756882688001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:27:45] local.INFO: DEBUG: GPS processor result {"connection_id":45883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20060,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:27:45] local.INFO: GPS data processed {"connection_id":45883,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:27:45] local.INFO: Acknowledgment sent {"connection_id":45883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:27:51] local.INFO: TCP Data received {"connection_id":45884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:27:51] local.INFO: Processing buffer {"connection_id":45884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:27:51] local.INFO: IMEI packet received {"connection_id":45884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":45884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:27:56] local.INFO: TCP Data received {"connection_id":45884,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:27:56] local.INFO: Processing buffer {"connection_id":45884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:27:56] local.INFO: IMEI packet received {"connection_id":45884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":45884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:27:57] local.INFO: TCP Data received {"connection_id":45884,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:27:57] local.INFO: Processing buffer {"connection_id":45884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:27:57] local.INFO: Packet analysis {"connection_id":45884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:27:57] local.INFO: Extracted packet for processing {"connection_id":45884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:27:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756918528001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776394514000,"timestamp_ms":1776394514000,"timestamp_seconds":1776394514,"priority":1,"record_length":96,"hex_timestamp":"0000019d995d2e50"} 
[2026-04-17 08:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756918528001,"66":24440,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756918528001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:27:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:27:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756918528001,"power":24440,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":45884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20061,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:27:57] local.INFO: GPS data processed {"connection_id":45884,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:27:57] local.INFO: Acknowledgment sent {"connection_id":45884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:28:10] local.INFO: TCP Data received {"connection_id":46447,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:28:10] local.INFO: Processing buffer {"connection_id":46447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:28:10] local.INFO: IMEI packet received {"connection_id":46447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":46447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:28:15] local.INFO: TCP Data received {"connection_id":46447,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:28:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46447,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:28:15] local.INFO: Processing buffer {"connection_id":46447,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:28:15] local.INFO: IMEI packet received {"connection_id":46447,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:28:15] local.INFO: IMEI acknowledgment sent {"connection_id":46447,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:28:17] local.INFO: TCP Data received {"connection_id":46447,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:28:17] local.INFO: Processing buffer {"connection_id":46447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:28:17] local.INFO: Packet analysis {"connection_id":46447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:28:17] local.INFO: Extracted packet for processing {"connection_id":46447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:28:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:28:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756882688001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:28:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:28:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:28:17] 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-04-17 08:28:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776394374000,"timestamp_ms":1776394374000,"timestamp_seconds":1776394374,"priority":1,"record_length":96,"hex_timestamp":"0000019d995b0b70"} 
[2026-04-17 08:28:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:28:17] 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-04-17 08:28:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:28:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:28:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:28:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:28:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:28:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:28:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:28:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:28:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:28:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:28:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:28:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756882688001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:28:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:28:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:28:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756882688001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:28:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:28:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:28:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:28:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756882688001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:28:17] local.INFO: DEBUG: GPS processor result {"connection_id":46447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20062,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:28:17] local.INFO: GPS data processed {"connection_id":46447,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:28:17] local.INFO: Acknowledgment sent {"connection_id":46447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:28:21] local.INFO: TCP Data received {"connection_id":46447,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:28:21] local.INFO: Processing buffer {"connection_id":46447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995b0b70012d1b598006d4d5980011013831..."} 
[2026-04-17 08:28:21] local.INFO: Packet analysis {"connection_id":46447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:28:21] local.INFO: Extracted packet for processing {"connection_id":46447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995b"} 
[2026-04-17 08:28:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:28: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-04-17 08:28:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756882688001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:28:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:28:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:28:21] 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-04-17 08:28:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776394374000,"timestamp_ms":1776394374000,"timestamp_seconds":1776394374,"priority":1,"record_length":96,"hex_timestamp":"0000019d995b0b70"} 
[2026-04-17 08:28:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:28:21] 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-04-17 08:28:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:28:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:28: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-04-17 08:28:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:28:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:28:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:28:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:28:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46447,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:28:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:28:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:28:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:28:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756882688001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:28:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:28:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:28:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756882688001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:28:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:28:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:28:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:28:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756882688001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:28:21] local.INFO: DEBUG: GPS processor result {"connection_id":46447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20063,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:28:21] local.INFO: GPS data processed {"connection_id":46447,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:28:21] local.INFO: Acknowledgment sent {"connection_id":46447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:28:28] local.INFO: TCP Data received {"connection_id":45884,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:28:28] local.INFO: Processing buffer {"connection_id":45884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:28:28] local.INFO: Packet analysis {"connection_id":45884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:28:28] local.INFO: Extracted packet for processing {"connection_id":45884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:28:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756918528001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776394514000,"timestamp_ms":1776394514000,"timestamp_seconds":1776394514,"priority":1,"record_length":96,"hex_timestamp":"0000019d995d2e50"} 
[2026-04-17 08:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756918528001,"66":24440,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756918528001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:28:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:28:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756918528001,"power":24440,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":45884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:28:28] local.INFO: GPS data processed {"connection_id":45884,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:28:28] local.INFO: Acknowledgment sent {"connection_id":45884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:28:51] local.INFO: TCP Data received {"connection_id":45885,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:28:51] local.INFO: Processing buffer {"connection_id":45885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:28:51] local.INFO: IMEI packet received {"connection_id":45885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":45885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:28:56] local.INFO: TCP Data received {"connection_id":45885,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:28:56] local.INFO: Processing buffer {"connection_id":45885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:28:56] local.INFO: IMEI packet received {"connection_id":45885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":45885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:28:57] local.INFO: TCP Data received {"connection_id":45885,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:28:57] local.INFO: Processing buffer {"connection_id":45885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:28:57] local.INFO: Packet analysis {"connection_id":45885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:28:57] local.INFO: Extracted packet for processing {"connection_id":45885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:28:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756918528001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776394514000,"timestamp_ms":1776394514000,"timestamp_seconds":1776394514,"priority":1,"record_length":96,"hex_timestamp":"0000019d995d2e50"} 
[2026-04-17 08:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:28:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756918528001,"66":24440,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756918528001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:28:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:28:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756918528001,"power":24440,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":45885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:28:57] local.INFO: GPS data processed {"connection_id":45885,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:28:57] local.INFO: Acknowledgment sent {"connection_id":45885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:29:11] local.INFO: TCP Data received {"connection_id":45620,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:29:11] local.INFO: Processing buffer {"connection_id":45620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:29:11] local.INFO: IMEI packet received {"connection_id":45620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":45620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:29:18] local.INFO: TCP Data received {"connection_id":45620,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:29:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45620,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:29:18] local.INFO: Processing buffer {"connection_id":45620,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:29:18] local.INFO: IMEI packet received {"connection_id":45620,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:29:18] local.INFO: IMEI acknowledgment sent {"connection_id":45620,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:29:20] local.INFO: TCP Data received {"connection_id":45620,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:29:20] local.INFO: Processing buffer {"connection_id":45620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:29:20] local.INFO: Packet analysis {"connection_id":45620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:29:20] local.INFO: Extracted packet for processing {"connection_id":45620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:29:20] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:29:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756959744001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:29:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:29:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:29:20] 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-04-17 08:29:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776394675000,"timestamp_ms":1776394675000,"timestamp_seconds":1776394675,"priority":1,"record_length":96,"hex_timestamp":"0000019d995fa338"} 
[2026-04-17 08:29:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:29:20] 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-04-17 08:29:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:29:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:29:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:29:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:29:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:29:20] local.INFO: Teltonika packet parsed successfully {"connection_id":45620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:29:20] local.INFO: Passing IMEI to GPS processor {"connection_id":45620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:29:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":45620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:29:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:29:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:29:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:29:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756959744001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:29:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:29:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:29:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756959744001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:29:20] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:29:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:29:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:29:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756959744001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:29:20] local.INFO: DEBUG: GPS processor result {"connection_id":45620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20066,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:29:20] local.INFO: GPS data processed {"connection_id":45620,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:29:20] local.INFO: Acknowledgment sent {"connection_id":45620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:29:21] local.INFO: TCP Data received {"connection_id":45620,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:29:21] local.INFO: Processing buffer {"connection_id":45620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:29:21] local.INFO: Packet analysis {"connection_id":45620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:29:21] local.INFO: Extracted packet for processing {"connection_id":45620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:29:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:29:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756959744001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:29:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:29:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:29:21] 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-04-17 08:29:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776394675000,"timestamp_ms":1776394675000,"timestamp_seconds":1776394675,"priority":1,"record_length":96,"hex_timestamp":"0000019d995fa338"} 
[2026-04-17 08:29:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:29:21] 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-04-17 08:29:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:29:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:29:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:29:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:29:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:29:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:29:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:29:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45620,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:29:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:29:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:29:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:29:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756959744001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:29:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:29:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:29:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756959744001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:29:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:29:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:29:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:29:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756959744001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:29:21] local.INFO: DEBUG: GPS processor result {"connection_id":45620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20067,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:29:21] local.INFO: GPS data processed {"connection_id":45620,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:29:21] local.INFO: Acknowledgment sent {"connection_id":45620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:29:28] local.INFO: TCP Data received {"connection_id":45885,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:29:28] local.INFO: Processing buffer {"connection_id":45885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:29:28] local.INFO: Packet analysis {"connection_id":45885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:29:28] local.INFO: Extracted packet for processing {"connection_id":45885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:29:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756918528001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776394514000,"timestamp_ms":1776394514000,"timestamp_seconds":1776394514,"priority":1,"record_length":96,"hex_timestamp":"0000019d995d2e50"} 
[2026-04-17 08:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756918528001,"66":24440,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756918528001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:29:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756918528001,"power":24440,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":45885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:29:28] local.INFO: GPS data processed {"connection_id":45885,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:29:28] local.INFO: Acknowledgment sent {"connection_id":45885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:29:51] local.INFO: TCP Data received {"connection_id":46448,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:29:51] local.INFO: Processing buffer {"connection_id":46448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:29:51] local.INFO: IMEI packet received {"connection_id":46448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":46448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:29:56] local.INFO: TCP Data received {"connection_id":46448,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46448,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:29:56] local.INFO: Processing buffer {"connection_id":46448,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:29:56] local.INFO: IMEI packet received {"connection_id":46448,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":46448,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:29:57] local.INFO: TCP Data received {"connection_id":46448,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:29:57] local.INFO: Processing buffer {"connection_id":46448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:29:57] local.INFO: Packet analysis {"connection_id":46448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:29:57] local.INFO: Extracted packet for processing {"connection_id":46448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:29:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756918528001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776394514000,"timestamp_ms":1776394514000,"timestamp_seconds":1776394514,"priority":1,"record_length":96,"hex_timestamp":"0000019d995d2e50"} 
[2026-04-17 08:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756918528001,"66":24440,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756918528001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:29:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:29:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756918528001,"power":24440,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":46448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:29:57] local.INFO: GPS data processed {"connection_id":46448,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:29:57] local.INFO: Acknowledgment sent {"connection_id":46448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:30:05] local.INFO: TCP Data received {"connection_id":45621,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:30:05] local.INFO: Processing buffer {"connection_id":45621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:30:05] local.INFO: IMEI packet received {"connection_id":45621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":45621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:30:10] local.INFO: TCP Data received {"connection_id":45621,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:30:10] local.INFO: Processing buffer {"connection_id":45621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:30:10] local.INFO: IMEI packet received {"connection_id":45621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":45621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:30:12] local.INFO: TCP Data received {"connection_id":45621,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:30:12] local.INFO: Processing buffer {"connection_id":45621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:30:12] local.INFO: Packet analysis {"connection_id":45621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:30:12] local.INFO: Extracted packet for processing {"connection_id":45621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:30:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756959744001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:30:12] 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-04-17 08:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776394675000,"timestamp_ms":1776394675000,"timestamp_seconds":1776394675,"priority":1,"record_length":96,"hex_timestamp":"0000019d995fa338"} 
[2026-04-17 08:30:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:30: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-04-17 08:30:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:30:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756959744001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756959744001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:30:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756959744001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":45621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20070,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:30:12] local.INFO: GPS data processed {"connection_id":45621,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:30:12] local.INFO: Acknowledgment sent {"connection_id":45621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:30:28] local.INFO: TCP Data received {"connection_id":46448,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46448,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:30:28] local.INFO: Processing buffer {"connection_id":46448,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995d2e50012d7fad4005afe350000000942a..."} 
[2026-04-17 08:30:28] local.INFO: Packet analysis {"connection_id":46448,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:30:28] local.INFO: Extracted packet for processing {"connection_id":46448,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995d"} 
[2026-04-17 08:30:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756918528001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776394514000,"timestamp_ms":1776394514000,"timestamp_seconds":1776394514,"priority":1,"record_length":96,"hex_timestamp":"0000019d995d2e50"} 
[2026-04-17 08:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46448,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46448,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756918528001,"66":24440,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756918528001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:30:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:30:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756918528001,"power":24440,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":46448,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:30:28] local.INFO: GPS data processed {"connection_id":46448,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:30:28] local.INFO: Acknowledgment sent {"connection_id":46448,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:30:44] local.INFO: TCP Data received {"connection_id":45621,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:30:44] local.INFO: Processing buffer {"connection_id":45621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:30:44] local.INFO: Packet analysis {"connection_id":45621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:30:44] local.INFO: Extracted packet for processing {"connection_id":45621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:30:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756959744001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:30:44] 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-04-17 08:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776394675000,"timestamp_ms":1776394675000,"timestamp_seconds":1776394675,"priority":1,"record_length":96,"hex_timestamp":"0000019d995fa338"} 
[2026-04-17 08:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:30:44] 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-04-17 08:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:30: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-04-17 08:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756959744001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756959744001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:30:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756959744001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":45621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20072,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:30:44] local.INFO: GPS data processed {"connection_id":45621,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:30:44] local.INFO: Acknowledgment sent {"connection_id":45621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:30:51] local.INFO: TCP Data received {"connection_id":46449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:30:51] local.INFO: Processing buffer {"connection_id":46449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:30:51] local.INFO: IMEI packet received {"connection_id":46449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":46449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:30:53] local.INFO: TCP Data received {"connection_id":46449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:30:53] local.INFO: Processing buffer {"connection_id":46449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:30:53] local.INFO: IMEI packet received {"connection_id":46449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":46449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:30:56] local.INFO: TCP Data received {"connection_id":46449,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46449,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:30:56] local.INFO: Processing buffer {"connection_id":46449,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:30:56] local.INFO: IMEI packet received {"connection_id":46449,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":46449,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:30:57] local.INFO: TCP Data received {"connection_id":46449,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:30:57] local.INFO: Processing buffer {"connection_id":46449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:30:57] local.INFO: Packet analysis {"connection_id":46449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:30:57] local.INFO: Extracted packet for processing {"connection_id":46449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:30:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756995584001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776394815000,"timestamp_ms":1776394815000,"timestamp_seconds":1776394815,"priority":1,"record_length":96,"hex_timestamp":"0000019d9961c618"} 
[2026-04-17 08:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-04-17 08:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756995584001,"66":24506,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756995584001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:30:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:30:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756995584001,"power":24506,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":46449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:30:57] local.INFO: GPS data processed {"connection_id":46449,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:30:57] local.INFO: Acknowledgment sent {"connection_id":46449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:31:05] local.INFO: TCP Data received {"connection_id":45622,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:31:05] local.INFO: Processing buffer {"connection_id":45622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:31:05] local.INFO: IMEI packet received {"connection_id":45622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":45622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:31:10] local.INFO: TCP Data received {"connection_id":45622,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:31:10] local.INFO: Processing buffer {"connection_id":45622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:31:10] local.INFO: IMEI packet received {"connection_id":45622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":45622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:31:12] local.INFO: TCP Data received {"connection_id":45622,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:31:12] local.INFO: Processing buffer {"connection_id":45622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:31:12] local.INFO: Packet analysis {"connection_id":45622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:31:12] local.INFO: Extracted packet for processing {"connection_id":45622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:31:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756959744001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:31:12] 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-04-17 08:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776394675000,"timestamp_ms":1776394675000,"timestamp_seconds":1776394675,"priority":1,"record_length":96,"hex_timestamp":"0000019d995fa338"} 
[2026-04-17 08:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:31: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-04-17 08:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:31: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-04-17 08:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756959744001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756959744001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:31:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756959744001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":45622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20074,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:31:12] local.INFO: GPS data processed {"connection_id":45622,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:31:12] local.INFO: Acknowledgment sent {"connection_id":45622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:31:27] local.INFO: TCP Data received {"connection_id":46449,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46449,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:31:27] local.INFO: Processing buffer {"connection_id":46449,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:31:27] local.INFO: Packet analysis {"connection_id":46449,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:31:27] local.INFO: Extracted packet for processing {"connection_id":46449,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756995584001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776394815000,"timestamp_ms":1776394815000,"timestamp_seconds":1776394815,"priority":1,"record_length":96,"hex_timestamp":"0000019d9961c618"} 
[2026-04-17 08:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-04-17 08:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46449,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46449,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756995584001,"66":24506,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756995584001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:31:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756995584001,"power":24506,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":46449,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20075,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:31:27] local.INFO: GPS data processed {"connection_id":46449,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:31:27] local.INFO: Acknowledgment sent {"connection_id":46449,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:31:46] local.INFO: TCP Data received {"connection_id":45622,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:31:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:31:46] local.INFO: Processing buffer {"connection_id":45622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:31:46] local.INFO: Packet analysis {"connection_id":45622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:31:46] local.INFO: Extracted packet for processing {"connection_id":45622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:31:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:31:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:31:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756959744001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:31:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:31:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:31:46] 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-04-17 08:31:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776394675000,"timestamp_ms":1776394675000,"timestamp_seconds":1776394675,"priority":1,"record_length":96,"hex_timestamp":"0000019d995fa338"} 
[2026-04-17 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-04-17 08:31:46] 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-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:31:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 08:31:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:31:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:31:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:31:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:31:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:31:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:31:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:31:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756959744001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:31:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:31:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:31:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756959744001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:31:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:31:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:31:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:31:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756959744001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":45622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20076,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:31:46] local.INFO: GPS data processed {"connection_id":45622,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:31:46] local.INFO: Acknowledgment sent {"connection_id":45622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:31:51] local.INFO: TCP Data received {"connection_id":45623,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:31:51] local.INFO: Processing buffer {"connection_id":45623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:31:51] local.INFO: IMEI packet received {"connection_id":45623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":45623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:31:56] local.INFO: TCP Data received {"connection_id":45623,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:31:56] local.INFO: Processing buffer {"connection_id":45623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:31:56] local.INFO: IMEI packet received {"connection_id":45623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":45623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:31:57] local.INFO: TCP Data received {"connection_id":45623,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:31:57] local.INFO: Processing buffer {"connection_id":45623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:31:57] local.INFO: Packet analysis {"connection_id":45623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:31:57] local.INFO: Extracted packet for processing {"connection_id":45623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756995584001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776394815000,"timestamp_ms":1776394815000,"timestamp_seconds":1776394815,"priority":1,"record_length":96,"hex_timestamp":"0000019d9961c618"} 
[2026-04-17 08:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-04-17 08:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756995584001,"66":24506,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756995584001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:31:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:31:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756995584001,"power":24506,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":45623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:31:57] local.INFO: GPS data processed {"connection_id":45623,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:31:57] local.INFO: Acknowledgment sent {"connection_id":45623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:32:10] local.INFO: TCP Data received {"connection_id":45701,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:32:10] local.INFO: Processing buffer {"connection_id":45701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:32:10] local.INFO: IMEI packet received {"connection_id":45701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":45701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:32:20] local.INFO: TCP Data received {"connection_id":45701,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45701,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:32:20] local.INFO: Processing buffer {"connection_id":45701,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:32:20] local.INFO: IMEI packet received {"connection_id":45701,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":45701,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:32:21] local.INFO: TCP Data received {"connection_id":45701,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:32:21] local.INFO: Processing buffer {"connection_id":45701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:32:21] local.INFO: Packet analysis {"connection_id":45701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:32:21] local.INFO: Extracted packet for processing {"connection_id":45701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:32:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:32: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-04-17 08:32:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756959744001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:32:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:32:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:32:21] 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-04-17 08:32:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776394675000,"timestamp_ms":1776394675000,"timestamp_seconds":1776394675,"priority":1,"record_length":96,"hex_timestamp":"0000019d995fa338"} 
[2026-04-17 08:32:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:32:21] 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-04-17 08:32:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:32:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:32: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-04-17 08:32:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:32:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:32:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:32:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45701,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:32:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45701,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:32:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:32:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:32:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:32:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756959744001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:32:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:32:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:32:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756959744001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:32:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:32:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:32:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:32:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756959744001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:32:21] local.INFO: DEBUG: GPS processor result {"connection_id":45701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20078,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:32:21] local.INFO: GPS data processed {"connection_id":45701,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:32:21] local.INFO: Acknowledgment sent {"connection_id":45701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:32:23] local.INFO: TCP Data received {"connection_id":45701,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:32:23] local.INFO: Processing buffer {"connection_id":45701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:32:23] local.INFO: Packet analysis {"connection_id":45701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:32:23] local.INFO: Extracted packet for processing {"connection_id":45701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:32:23] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756959744001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:32:23] 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-04-17 08:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776394675000,"timestamp_ms":1776394675000,"timestamp_seconds":1776394675,"priority":1,"record_length":96,"hex_timestamp":"0000019d995fa338"} 
[2026-04-17 08:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:32:23] 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-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45701,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45701,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756959744001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756959744001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:32:23] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756959744001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":45701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20079,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:32:23] local.INFO: GPS data processed {"connection_id":45701,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:32:23] local.INFO: Acknowledgment sent {"connection_id":45701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:32:28] local.INFO: TCP Data received {"connection_id":45623,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:32:28] local.INFO: Processing buffer {"connection_id":45623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:32:28] local.INFO: Packet analysis {"connection_id":45623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:32:28] local.INFO: Extracted packet for processing {"connection_id":45623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:32:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756995584001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776394815000,"timestamp_ms":1776394815000,"timestamp_seconds":1776394815,"priority":1,"record_length":96,"hex_timestamp":"0000019d9961c618"} 
[2026-04-17 08:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-04-17 08:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756995584001,"66":24506,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756995584001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:32:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:32:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756995584001,"power":24506,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":45623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:32:28] local.INFO: GPS data processed {"connection_id":45623,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:32:28] local.INFO: Acknowledgment sent {"connection_id":45623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:32:51] local.INFO: TCP Data received {"connection_id":46450,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:32:51] local.INFO: Processing buffer {"connection_id":46450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:32:51] local.INFO: IMEI packet received {"connection_id":46450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":46450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:32:56] local.INFO: TCP Data received {"connection_id":46450,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46450,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:32:56] local.INFO: Processing buffer {"connection_id":46450,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:32:56] local.INFO: IMEI packet received {"connection_id":46450,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":46450,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:32:57] local.INFO: TCP Data received {"connection_id":46450,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:32:57] local.INFO: Processing buffer {"connection_id":46450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:32:57] local.INFO: Packet analysis {"connection_id":46450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:32:57] local.INFO: Extracted packet for processing {"connection_id":46450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:32:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756995584001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776394815000,"timestamp_ms":1776394815000,"timestamp_seconds":1776394815,"priority":1,"record_length":96,"hex_timestamp":"0000019d9961c618"} 
[2026-04-17 08:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-04-17 08:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756995584001,"66":24506,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756995584001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:32:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756995584001,"power":24506,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":46450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:32:57] local.INFO: GPS data processed {"connection_id":46450,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:32:57] local.INFO: Acknowledgment sent {"connection_id":46450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:33:07] local.INFO: TCP Data received {"connection_id":45624,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:33:07] local.INFO: Processing buffer {"connection_id":45624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:33:07] local.INFO: IMEI packet received {"connection_id":45624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:33:07] local.INFO: IMEI acknowledgment sent {"connection_id":45624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:33:27] local.INFO: TCP Data received {"connection_id":45624,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45624,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:33:27] local.INFO: Processing buffer {"connection_id":45624,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:33:27] local.INFO: IMEI packet received {"connection_id":45624,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":45624,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:33:28] local.INFO: TCP Data received {"connection_id":46450,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46450,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:33:28] local.INFO: Processing buffer {"connection_id":46450,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:33:28] local.INFO: Packet analysis {"connection_id":46450,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:33:28] local.INFO: Extracted packet for processing {"connection_id":46450,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:33:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756995584001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776394815000,"timestamp_ms":1776394815000,"timestamp_seconds":1776394815,"priority":1,"record_length":96,"hex_timestamp":"0000019d9961c618"} 
[2026-04-17 08:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-04-17 08:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46450,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46450,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756995584001,"66":24506,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756995584001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:33:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756995584001,"power":24506,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":46450,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:33:28] local.INFO: GPS data processed {"connection_id":46450,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:33:28] local.INFO: Acknowledgment sent {"connection_id":46450,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:33:28] local.INFO: TCP Data received {"connection_id":45624,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:33:28] local.INFO: Processing buffer {"connection_id":45624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:33:28] local.INFO: Packet analysis {"connection_id":45624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:33:28] local.INFO: Extracted packet for processing {"connection_id":45624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756959744001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:33:28] 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-04-17 08:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776394675000,"timestamp_ms":1776394675000,"timestamp_seconds":1776394675,"priority":1,"record_length":96,"hex_timestamp":"0000019d995fa338"} 
[2026-04-17 08:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:33:28] 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-04-17 08:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:33: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-04-17 08: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-04-17 08:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756959744001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756959744001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:33:28] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756959744001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":45624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20083,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:33:28] local.INFO: GPS data processed {"connection_id":45624,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:33:28] local.INFO: Acknowledgment sent {"connection_id":45624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:33:30] local.INFO: TCP Data received {"connection_id":45624,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:33:30] local.INFO: Processing buffer {"connection_id":45624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d995fa338012d1b598006d4d5980011013831..."} 
[2026-04-17 08:33:30] local.INFO: Packet analysis {"connection_id":45624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:33:30] local.INFO: Extracted packet for processing {"connection_id":45624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d995f"} 
[2026-04-17 08:33:30] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756959744001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:33:30] 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-04-17 08:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776394675000,"timestamp_ms":1776394675000,"timestamp_seconds":1776394675,"priority":1,"record_length":96,"hex_timestamp":"0000019d995fa338"} 
[2026-04-17 08:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:33:30] 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-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:33:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45624,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756959744001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756959744001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:33:30] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756959744001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":45624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20084,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:33:30] local.INFO: GPS data processed {"connection_id":45624,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:33:30] local.INFO: Acknowledgment sent {"connection_id":45624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:33:51] local.INFO: TCP Data received {"connection_id":45886,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:33:51] local.INFO: Processing buffer {"connection_id":45886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:33:51] local.INFO: IMEI packet received {"connection_id":45886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":45886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:33:56] local.INFO: TCP Data received {"connection_id":45886,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45886,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:33:56] local.INFO: Processing buffer {"connection_id":45886,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:33:56] local.INFO: IMEI packet received {"connection_id":45886,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":45886,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:33:57] local.INFO: TCP Data received {"connection_id":45886,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:33:57] local.INFO: Processing buffer {"connection_id":45886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:33:57] local.INFO: Packet analysis {"connection_id":45886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:33:57] local.INFO: Extracted packet for processing {"connection_id":45886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:33:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756995584001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776394815000,"timestamp_ms":1776394815000,"timestamp_seconds":1776394815,"priority":1,"record_length":96,"hex_timestamp":"0000019d9961c618"} 
[2026-04-17 08:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-04-17 08:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756995584001,"66":24506,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756995584001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:33:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:33:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756995584001,"power":24506,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":45886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:33:57] local.INFO: GPS data processed {"connection_id":45886,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:33:57] local.INFO: Acknowledgment sent {"connection_id":45886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:34:12] local.INFO: TCP Data received {"connection_id":45702,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:34:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:34:12] local.INFO: Processing buffer {"connection_id":45702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:34:12] local.INFO: IMEI packet received {"connection_id":45702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:34:12] local.INFO: IMEI acknowledgment sent {"connection_id":45702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:34:15] local.INFO: TCP Data received {"connection_id":45702,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45702,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:34:15] local.INFO: Processing buffer {"connection_id":45702,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:34:15] local.INFO: IMEI packet received {"connection_id":45702,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:34:15] local.INFO: IMEI acknowledgment sent {"connection_id":45702,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:34:16] local.INFO: TCP Data received {"connection_id":45702,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:34:16] local.INFO: Processing buffer {"connection_id":45702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:34:16] local.INFO: Packet analysis {"connection_id":45702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9964"} 
[2026-04-17 08:34:16] local.INFO: Extracted packet for processing {"connection_id":45702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9964"} 
[2026-04-17 08:34:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757036800001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:34:16] 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-04-17 08:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776394976000,"timestamp_ms":1776394976000,"timestamp_seconds":1776394976,"priority":1,"record_length":96,"hex_timestamp":"0000019d99643b00"} 
[2026-04-17 08:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:34:16] 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-04-17 08:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:34:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757036800001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757036800001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:34:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757036800001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:34:17] local.INFO: DEBUG: GPS processor result {"connection_id":45702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20086,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:34:17] local.INFO: GPS data processed {"connection_id":45702,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:34:17] local.INFO: Acknowledgment sent {"connection_id":45702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:34:22] local.INFO: TCP Data received {"connection_id":45702,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:34:22] local.INFO: Processing buffer {"connection_id":45702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:34:22] local.INFO: Packet analysis {"connection_id":45702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9964"} 
[2026-04-17 08:34:22] local.INFO: Extracted packet for processing {"connection_id":45702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9964"} 
[2026-04-17 08:34:22] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:34:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757036800001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:34:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:34:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:34:22] 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-04-17 08:34:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776394976000,"timestamp_ms":1776394976000,"timestamp_seconds":1776394976,"priority":1,"record_length":96,"hex_timestamp":"0000019d99643b00"} 
[2026-04-17 08:34:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:34:22] 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-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:34:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:34:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:34:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:34:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:34:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:34:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45702,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:34:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:34:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:34:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:34:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757036800001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:34:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:34:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:34:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757036800001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:34:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:34:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:34:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:34:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757036800001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:34:22] local.INFO: DEBUG: GPS processor result {"connection_id":45702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20087,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:34:22] local.INFO: GPS data processed {"connection_id":45702,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:34:22] local.INFO: Acknowledgment sent {"connection_id":45702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:34:28] local.INFO: TCP Data received {"connection_id":45886,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:34:28] local.INFO: Processing buffer {"connection_id":45886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:34:28] local.INFO: Packet analysis {"connection_id":45886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:34:28] local.INFO: Extracted packet for processing {"connection_id":45886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:34:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756995584001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776394815000,"timestamp_ms":1776394815000,"timestamp_seconds":1776394815,"priority":1,"record_length":96,"hex_timestamp":"0000019d9961c618"} 
[2026-04-17 08:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-04-17 08:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45886,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756995584001,"66":24506,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756995584001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:34:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756995584001,"power":24506,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":45886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:34:28] local.INFO: GPS data processed {"connection_id":45886,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:34:28] local.INFO: Acknowledgment sent {"connection_id":45886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:34:51] local.INFO: TCP Data received {"connection_id":45703,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:34:51] local.INFO: Processing buffer {"connection_id":45703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:34:51] local.INFO: IMEI packet received {"connection_id":45703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":45703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:34:56] local.INFO: TCP Data received {"connection_id":45703,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:34:56] local.INFO: Processing buffer {"connection_id":45703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:34:56] local.INFO: IMEI packet received {"connection_id":45703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":45703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:34:57] local.INFO: TCP Data received {"connection_id":45703,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:34:57] local.INFO: Processing buffer {"connection_id":45703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:34:57] local.INFO: Packet analysis {"connection_id":45703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:34:57] local.INFO: Extracted packet for processing {"connection_id":45703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:34:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756995584001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776394815000,"timestamp_ms":1776394815000,"timestamp_seconds":1776394815,"priority":1,"record_length":96,"hex_timestamp":"0000019d9961c618"} 
[2026-04-17 08:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-04-17 08:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756995584001,"66":24506,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756995584001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:34:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:34:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756995584001,"power":24506,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":45703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:34:57] local.INFO: GPS data processed {"connection_id":45703,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:34:57] local.INFO: Acknowledgment sent {"connection_id":45703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:35:05] local.INFO: TCP Data received {"connection_id":45887,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:35:05] local.INFO: Processing buffer {"connection_id":45887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:35:05] local.INFO: IMEI packet received {"connection_id":45887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":45887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:35:10] local.INFO: TCP Data received {"connection_id":45887,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:35:10] local.INFO: Processing buffer {"connection_id":45887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:35:10] local.INFO: IMEI packet received {"connection_id":45887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":45887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:35:12] local.INFO: TCP Data received {"connection_id":45887,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:35:12] local.INFO: Processing buffer {"connection_id":45887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:35:12] local.INFO: Packet analysis {"connection_id":45887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9964"} 
[2026-04-17 08:35:12] local.INFO: Extracted packet for processing {"connection_id":45887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9964"} 
[2026-04-17 08:35:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:35:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757036800001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:35:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:35:12] 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-04-17 08:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776394976000,"timestamp_ms":1776394976000,"timestamp_seconds":1776394976,"priority":1,"record_length":96,"hex_timestamp":"0000019d99643b00"} 
[2026-04-17 08:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:35: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-04-17 08:35:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:35:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:35:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757036800001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757036800001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:35:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:35:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:35:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757036800001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":45887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20090,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:35:12] local.INFO: GPS data processed {"connection_id":45887,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:35:12] local.INFO: Acknowledgment sent {"connection_id":45887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:35:16] local.INFO: TCP Data received {"connection_id":45887,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:35:16] local.INFO: Processing buffer {"connection_id":45887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:35:16] local.INFO: Packet analysis {"connection_id":45887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9964"} 
[2026-04-17 08:35:16] local.INFO: Extracted packet for processing {"connection_id":45887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9964"} 
[2026-04-17 08:35:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:35:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757036800001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:35:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:35:16] 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-04-17 08:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776394976000,"timestamp_ms":1776394976000,"timestamp_seconds":1776394976,"priority":1,"record_length":96,"hex_timestamp":"0000019d99643b00"} 
[2026-04-17 08:35:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:35:16] 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-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:35:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:35:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757036800001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757036800001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:35:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:35:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:35:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757036800001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":45887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20091,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:35:16] local.INFO: GPS data processed {"connection_id":45887,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:35:16] local.INFO: Acknowledgment sent {"connection_id":45887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:35:28] local.INFO: TCP Data received {"connection_id":45703,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:35:28] local.INFO: Processing buffer {"connection_id":45703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9961c618012d7fad4005afe3500000009427..."} 
[2026-04-17 08:35:28] local.INFO: Packet analysis {"connection_id":45703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:35:28] local.INFO: Extracted packet for processing {"connection_id":45703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9961"} 
[2026-04-17 08:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454756995584001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776394815000,"timestamp_ms":1776394815000,"timestamp_seconds":1776394815,"priority":1,"record_length":96,"hex_timestamp":"0000019d9961c618"} 
[2026-04-17 08:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":95,"n8_eight_byte":120,"data_length":795,"current_offset":136} 
[2026-04-17 08:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1753,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454756995584001,"66":24506,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454756995584001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:35:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454756995584001,"power":24506,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":45703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:35:28] local.INFO: GPS data processed {"connection_id":45703,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:35:28] local.INFO: Acknowledgment sent {"connection_id":45703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:35:50] local.INFO: TCP Data received {"connection_id":45887,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:35:50] local.INFO: Processing buffer {"connection_id":45887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:35:50] local.INFO: Packet analysis {"connection_id":45887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9964"} 
[2026-04-17 08:35:50] local.INFO: Extracted packet for processing {"connection_id":45887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9964"} 
[2026-04-17 08:35:50] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:35:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757036800001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:35:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:35:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:35:50] 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-04-17 08:35:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776394976000,"timestamp_ms":1776394976000,"timestamp_seconds":1776394976,"priority":1,"record_length":96,"hex_timestamp":"0000019d99643b00"} 
[2026-04-17 08:35:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:35:50] 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-04-17 08:35:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:35:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:35:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:35:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:35:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:35:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:35:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:35:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:35:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:35:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:35:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:35:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757036800001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:35:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:35:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:35:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757036800001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:35:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:35:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:35:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:35:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757036800001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:35:50] local.INFO: DEBUG: GPS processor result {"connection_id":45887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20093,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:35:50] local.INFO: GPS data processed {"connection_id":45887,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:35:50] local.INFO: Acknowledgment sent {"connection_id":45887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:35:51] local.INFO: TCP Data received {"connection_id":46451,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:35:51] local.INFO: Processing buffer {"connection_id":46451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:35:51] local.INFO: IMEI packet received {"connection_id":46451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":46451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:35:54] local.INFO: TCP Data received {"connection_id":46451,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:35:54] local.INFO: Processing buffer {"connection_id":46451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:35:54] local.INFO: IMEI packet received {"connection_id":46451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":46451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:35:56] local.INFO: TCP Data received {"connection_id":46451,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46451,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:35:56] local.INFO: Processing buffer {"connection_id":46451,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:35:56] local.INFO: IMEI packet received {"connection_id":46451,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":46451,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:35:57] local.INFO: TCP Data received {"connection_id":46451,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:35:57] local.INFO: Processing buffer {"connection_id":46451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:35:57] local.INFO: Packet analysis {"connection_id":46451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:35:57] local.INFO: Extracted packet for processing {"connection_id":46451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:35:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757072640001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776395116000,"timestamp_ms":1776395116000,"timestamp_seconds":1776395116,"priority":1,"record_length":96,"hex_timestamp":"0000019d99665de0"} 
[2026-04-17 08:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-04-17 08:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757072640001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757072640001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:35:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:35:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757072640001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":46451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20094,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:35:57] local.INFO: GPS data processed {"connection_id":46451,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:35:57] local.INFO: Acknowledgment sent {"connection_id":46451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:36:06] local.INFO: TCP Data received {"connection_id":45625,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:36:06] local.INFO: Processing buffer {"connection_id":45625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:36:06] local.INFO: IMEI packet received {"connection_id":45625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:36:06] local.INFO: IMEI acknowledgment sent {"connection_id":45625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:36:11] local.INFO: TCP Data received {"connection_id":45625,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45625,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:36:11] local.INFO: Processing buffer {"connection_id":45625,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:36:11] local.INFO: IMEI packet received {"connection_id":45625,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:36:11] local.INFO: IMEI acknowledgment sent {"connection_id":45625,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:36:13] local.INFO: TCP Data received {"connection_id":45625,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:36:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:36:13] local.INFO: Processing buffer {"connection_id":45625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:36:13] local.INFO: Packet analysis {"connection_id":45625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9964"} 
[2026-04-17 08:36:13] local.INFO: Extracted packet for processing {"connection_id":45625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9964"} 
[2026-04-17 08:36:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:36:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757036800001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:36:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:36:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:36:13] 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-04-17 08:36:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776394976000,"timestamp_ms":1776394976000,"timestamp_seconds":1776394976,"priority":1,"record_length":96,"hex_timestamp":"0000019d99643b00"} 
[2026-04-17 08:36:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:36:13] 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-04-17 08:36:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:36:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:36:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:36:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:36:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:36:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:36:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:36:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:36:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:36:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:36:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:36:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757036800001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:36:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:36:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:36:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757036800001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:36:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:36:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:36:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:36:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757036800001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:36:13] local.INFO: DEBUG: GPS processor result {"connection_id":45625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20095,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:36:13] local.INFO: GPS data processed {"connection_id":45625,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:36:13] local.INFO: Acknowledgment sent {"connection_id":45625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:36:28] local.INFO: TCP Data received {"connection_id":46451,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:36:28] local.INFO: Processing buffer {"connection_id":46451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:36:28] local.INFO: Packet analysis {"connection_id":46451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:36:28] local.INFO: Extracted packet for processing {"connection_id":46451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757072640001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776395116000,"timestamp_ms":1776395116000,"timestamp_seconds":1776395116,"priority":1,"record_length":96,"hex_timestamp":"0000019d99665de0"} 
[2026-04-17 08:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-04-17 08:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46451,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757072640001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757072640001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:36:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757072640001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":46451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20096,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:36:28] local.INFO: GPS data processed {"connection_id":46451,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:36:28] local.INFO: Acknowledgment sent {"connection_id":46451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:36:46] local.INFO: TCP Data received {"connection_id":45625,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:36:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:36:46] local.INFO: Processing buffer {"connection_id":45625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:36:46] local.INFO: Packet analysis {"connection_id":45625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9964"} 
[2026-04-17 08:36:46] local.INFO: Extracted packet for processing {"connection_id":45625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9964"} 
[2026-04-17 08:36:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:36:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757036800001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:36:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:36:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:36:46] 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-04-17 08:36:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776394976000,"timestamp_ms":1776394976000,"timestamp_seconds":1776394976,"priority":1,"record_length":96,"hex_timestamp":"0000019d99643b00"} 
[2026-04-17 08:36:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:36:46] 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-04-17 08:36:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:36:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:36:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:36:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:36:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:36:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:36:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:36:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45625,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:36:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:36:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:36:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:36:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757036800001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:36:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:36:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:36:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757036800001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:36:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:36:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:36:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:36:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757036800001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:36:46] local.INFO: DEBUG: GPS processor result {"connection_id":45625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20097,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:36:46] local.INFO: GPS data processed {"connection_id":45625,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:36:46] local.INFO: Acknowledgment sent {"connection_id":45625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:36:51] local.INFO: TCP Data received {"connection_id":46452,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:36:51] local.INFO: Processing buffer {"connection_id":46452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:36:51] local.INFO: IMEI packet received {"connection_id":46452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":46452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:36:56] local.INFO: TCP Data received {"connection_id":46452,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46452,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:36:56] local.INFO: Processing buffer {"connection_id":46452,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:36:56] local.INFO: IMEI packet received {"connection_id":46452,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":46452,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:36:57] local.INFO: TCP Data received {"connection_id":46452,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:36:57] local.INFO: Processing buffer {"connection_id":46452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:36:57] local.INFO: Packet analysis {"connection_id":46452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:36:57] local.INFO: Extracted packet for processing {"connection_id":46452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:36:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757072640001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776395116000,"timestamp_ms":1776395116000,"timestamp_seconds":1776395116,"priority":1,"record_length":96,"hex_timestamp":"0000019d99665de0"} 
[2026-04-17 08:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-04-17 08:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757072640001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757072640001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:36:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:36:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757072640001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":46452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:36:57] local.INFO: GPS data processed {"connection_id":46452,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:36:57] local.INFO: Acknowledgment sent {"connection_id":46452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:37:05] local.INFO: TCP Data received {"connection_id":46453,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:37:05] local.INFO: Processing buffer {"connection_id":46453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:37:05] local.INFO: IMEI packet received {"connection_id":46453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":46453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:37:10] local.INFO: TCP Data received {"connection_id":46453,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46453,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:37:10] local.INFO: Processing buffer {"connection_id":46453,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:37:10] local.INFO: IMEI packet received {"connection_id":46453,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":46453,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:37:12] local.INFO: TCP Data received {"connection_id":46453,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:37:12] local.INFO: Processing buffer {"connection_id":46453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:37:12] local.INFO: Packet analysis {"connection_id":46453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9964"} 
[2026-04-17 08:37:12] local.INFO: Extracted packet for processing {"connection_id":46453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9964"} 
[2026-04-17 08:37:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757036800001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:37:12] 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-04-17 08:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776394976000,"timestamp_ms":1776394976000,"timestamp_seconds":1776394976,"priority":1,"record_length":96,"hex_timestamp":"0000019d99643b00"} 
[2026-04-17 08:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:37: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-04-17 08:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:37: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-04-17 08:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757036800001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757036800001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:37:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757036800001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:37:13] local.INFO: DEBUG: GPS processor result {"connection_id":46453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20099,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:37:13] local.INFO: GPS data processed {"connection_id":46453,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:37:13] local.INFO: Acknowledgment sent {"connection_id":46453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:37:28] local.INFO: TCP Data received {"connection_id":46452,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:37:28] local.INFO: Processing buffer {"connection_id":46452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:37:28] local.INFO: Packet analysis {"connection_id":46452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:37:28] local.INFO: Extracted packet for processing {"connection_id":46452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:37:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757072640001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776395116000,"timestamp_ms":1776395116000,"timestamp_seconds":1776395116,"priority":1,"record_length":96,"hex_timestamp":"0000019d99665de0"} 
[2026-04-17 08:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-04-17 08:37:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46452,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757072640001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757072640001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:37:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:37:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757072640001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":46452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20100,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:37:28] local.INFO: GPS data processed {"connection_id":46452,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:37:28] local.INFO: Acknowledgment sent {"connection_id":46452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:37:45] local.INFO: TCP Data received {"connection_id":46453,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:37:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46453,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:37:45] local.INFO: Processing buffer {"connection_id":46453,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99643b00012d1b598006d4d5980011013831..."} 
[2026-04-17 08:37:45] local.INFO: Packet analysis {"connection_id":46453,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9964"} 
[2026-04-17 08:37:45] local.INFO: Extracted packet for processing {"connection_id":46453,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9964"} 
[2026-04-17 08:37:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:37:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757036800001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:37:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:37:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:37:45] 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-04-17 08:37:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776394976000,"timestamp_ms":1776394976000,"timestamp_seconds":1776394976,"priority":1,"record_length":96,"hex_timestamp":"0000019d99643b00"} 
[2026-04-17 08:37:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:37:45] 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-04-17 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:37:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:37:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:37:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:37:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46453,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:37:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:37:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46453,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:37:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:37:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:37:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:37:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757036800001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:37:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:37:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:37:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757036800001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:37:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:37:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:37:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:37:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757036800001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:37:45] local.INFO: DEBUG: GPS processor result {"connection_id":46453,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20101,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:37:45] local.INFO: GPS data processed {"connection_id":46453,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:37:45] local.INFO: Acknowledgment sent {"connection_id":46453,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:37:51] local.INFO: TCP Data received {"connection_id":45704,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:37:51] local.INFO: Processing buffer {"connection_id":45704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:37:51] local.INFO: IMEI packet received {"connection_id":45704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":45704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:37:56] local.INFO: TCP Data received {"connection_id":45704,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45704,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:37:56] local.INFO: Processing buffer {"connection_id":45704,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:37:56] local.INFO: IMEI packet received {"connection_id":45704,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":45704,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:37:57] local.INFO: TCP Data received {"connection_id":45704,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:37:57] local.INFO: Processing buffer {"connection_id":45704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:37:57] local.INFO: Packet analysis {"connection_id":45704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:37:57] local.INFO: Extracted packet for processing {"connection_id":45704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:37:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757072640001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776395116000,"timestamp_ms":1776395116000,"timestamp_seconds":1776395116,"priority":1,"record_length":96,"hex_timestamp":"0000019d99665de0"} 
[2026-04-17 08:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-04-17 08:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757072640001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757072640001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:37:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:37:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757072640001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":45704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20102,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:37:57] local.INFO: GPS data processed {"connection_id":45704,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:37:57] local.INFO: Acknowledgment sent {"connection_id":45704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:38:29] local.INFO: TCP Data received {"connection_id":45704,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:38:29] local.INFO: Processing buffer {"connection_id":45704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:38:29] local.INFO: Packet analysis {"connection_id":45704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:38:29] local.INFO: Extracted packet for processing {"connection_id":45704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:38:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757072640001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776395116000,"timestamp_ms":1776395116000,"timestamp_seconds":1776395116,"priority":1,"record_length":96,"hex_timestamp":"0000019d99665de0"} 
[2026-04-17 08:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:38:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-04-17 08:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45704,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757072640001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757072640001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:38:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:38:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757072640001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":45704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:38:29] local.INFO: GPS data processed {"connection_id":45704,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:38:29] local.INFO: Acknowledgment sent {"connection_id":45704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:38:41] local.INFO: TCP Data received {"connection_id":45705,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:38:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:38:41] local.INFO: Processing buffer {"connection_id":45705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:38:41] local.INFO: IMEI packet received {"connection_id":45705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:38:41] local.INFO: IMEI acknowledgment sent {"connection_id":45705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:38:46] local.INFO: TCP Data received {"connection_id":45705,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:38:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45705,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:38:46] local.INFO: Processing buffer {"connection_id":45705,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:38:46] local.INFO: IMEI packet received {"connection_id":45705,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:38:46] local.INFO: IMEI acknowledgment sent {"connection_id":45705,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:38:48] local.INFO: TCP Data received {"connection_id":45705,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9968d2c8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9968d2c8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:38:48] local.INFO: Processing buffer {"connection_id":45705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9968d2c8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:38:48] local.INFO: Packet analysis {"connection_id":45705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9968"} 
[2026-04-17 08:38:48] local.INFO: Extracted packet for processing {"connection_id":45705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9968"} 
[2026-04-17 08:38:48] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:38:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757113856001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:38:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:38:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:38:48] 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-04-17 08:38:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776395277000,"timestamp_ms":1776395277000,"timestamp_seconds":1776395277,"priority":1,"record_length":96,"hex_timestamp":"0000019d9968d2c8"} 
[2026-04-17 08:38:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:38:48] 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-04-17 08:38:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:38: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-04-17 08:38:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:38:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:38:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:38:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:38:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:38:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45705,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:38:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:38:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:38:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:38:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757113856001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:38:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:38:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:38:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757113856001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:38:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:38:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:38:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:38:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757113856001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:38:48] local.INFO: DEBUG: GPS processor result {"connection_id":45705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20104,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:38:48] local.INFO: GPS data processed {"connection_id":45705,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:38:48] local.INFO: Acknowledgment sent {"connection_id":45705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:38:51] local.INFO: TCP Data received {"connection_id":46454,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:38:51] local.INFO: Processing buffer {"connection_id":46454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:38:51] local.INFO: IMEI packet received {"connection_id":46454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":46454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:38:56] local.INFO: TCP Data received {"connection_id":46454,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46454,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:38:56] local.INFO: Processing buffer {"connection_id":46454,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:38:56] local.INFO: IMEI packet received {"connection_id":46454,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":46454,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:38:57] local.INFO: TCP Data received {"connection_id":46454,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:38:57] local.INFO: Processing buffer {"connection_id":46454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:38:57] local.INFO: Packet analysis {"connection_id":46454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:38:57] local.INFO: Extracted packet for processing {"connection_id":46454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757072640001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776395116000,"timestamp_ms":1776395116000,"timestamp_seconds":1776395116,"priority":1,"record_length":96,"hex_timestamp":"0000019d99665de0"} 
[2026-04-17 08:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-04-17 08:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757072640001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757072640001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:38:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757072640001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":46454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:38:57] local.INFO: GPS data processed {"connection_id":46454,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:38:57] local.INFO: Acknowledgment sent {"connection_id":46454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:39:28] local.INFO: TCP Data received {"connection_id":46454,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:39:28] local.INFO: Processing buffer {"connection_id":46454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:39:28] local.INFO: Packet analysis {"connection_id":46454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:39:28] local.INFO: Extracted packet for processing {"connection_id":46454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757072640001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776395116000,"timestamp_ms":1776395116000,"timestamp_seconds":1776395116,"priority":1,"record_length":96,"hex_timestamp":"0000019d99665de0"} 
[2026-04-17 08:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-04-17 08:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46454,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757072640001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757072640001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:39:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757072640001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":46454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:39:28] local.INFO: GPS data processed {"connection_id":46454,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:39:28] local.INFO: Acknowledgment sent {"connection_id":46454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:39:51] local.INFO: TCP Data received {"connection_id":45888,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:39:51] local.INFO: Processing buffer {"connection_id":45888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:39:51] local.INFO: IMEI packet received {"connection_id":45888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":45888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:39:56] local.INFO: TCP Data received {"connection_id":45888,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:39:56] local.INFO: Processing buffer {"connection_id":45888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:39:56] local.INFO: IMEI packet received {"connection_id":45888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":45888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:39:57] local.INFO: TCP Data received {"connection_id":45888,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:39:57] local.INFO: Processing buffer {"connection_id":45888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:39:57] local.INFO: Packet analysis {"connection_id":45888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:39:57] local.INFO: Extracted packet for processing {"connection_id":45888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:39:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757072640001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776395116000,"timestamp_ms":1776395116000,"timestamp_seconds":1776395116,"priority":1,"record_length":96,"hex_timestamp":"0000019d99665de0"} 
[2026-04-17 08:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-04-17 08:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757072640001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757072640001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:39:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:39:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757072640001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":45888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:39:57] local.INFO: GPS data processed {"connection_id":45888,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:39:57] local.INFO: Acknowledgment sent {"connection_id":45888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:40:00] local.INFO: TCP Data received {"connection_id":45706,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:40:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:40:00] local.INFO: Processing buffer {"connection_id":45706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:40:00] local.INFO: IMEI packet received {"connection_id":45706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:40:00] local.INFO: IMEI acknowledgment sent {"connection_id":45706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:40:07] local.INFO: TCP Data received {"connection_id":45706,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:40:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45706,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:40:07] local.INFO: Processing buffer {"connection_id":45706,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:40:07] local.INFO: IMEI packet received {"connection_id":45706,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:40:07] local.INFO: IMEI acknowledgment sent {"connection_id":45706,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:40:10] local.INFO: TCP Data received {"connection_id":45706,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9968d2c8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9968d2c8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:40:10] local.INFO: Processing buffer {"connection_id":45706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9968d2c8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:40:10] local.INFO: Packet analysis {"connection_id":45706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9968"} 
[2026-04-17 08:40:10] local.INFO: Extracted packet for processing {"connection_id":45706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9968"} 
[2026-04-17 08:40:10] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:40:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757113856001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:40:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:40:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:40: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-04-17 08:40:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776395277000,"timestamp_ms":1776395277000,"timestamp_seconds":1776395277,"priority":1,"record_length":96,"hex_timestamp":"0000019d9968d2c8"} 
[2026-04-17 08:40:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:40:10] 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-04-17 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:40:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:40:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:40:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:40:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:40:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:40:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:40:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:40:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:40:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:40:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757113856001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:40:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:40:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:40:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757113856001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:40:10] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:40:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:40:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:40:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757113856001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:40:10] local.INFO: DEBUG: GPS processor result {"connection_id":45706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20108,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:40:10] local.INFO: GPS data processed {"connection_id":45706,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:40:10] local.INFO: Acknowledgment sent {"connection_id":45706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:40:28] local.INFO: TCP Data received {"connection_id":45888,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:40:28] local.INFO: Processing buffer {"connection_id":45888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99665de0012d7fad4005afe350000000942a..."} 
[2026-04-17 08:40:28] local.INFO: Packet analysis {"connection_id":45888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:40:28] local.INFO: Extracted packet for processing {"connection_id":45888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9966"} 
[2026-04-17 08:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757072640001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776395116000,"timestamp_ms":1776395116000,"timestamp_seconds":1776395116,"priority":1,"record_length":96,"hex_timestamp":"0000019d99665de0"} 
[2026-04-17 08:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":95,"n8_eight_byte":186,"data_length":795,"current_offset":136} 
[2026-04-17 08:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2347,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757072640001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757072640001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:40:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757072640001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":45888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20109,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:40:28] local.INFO: GPS data processed {"connection_id":45888,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:40:28] local.INFO: Acknowledgment sent {"connection_id":45888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:40:42] local.INFO: TCP Data received {"connection_id":45706,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9968d2c8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:40:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9968d2c8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:40:42] local.INFO: Processing buffer {"connection_id":45706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9968d2c8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:40:42] local.INFO: Packet analysis {"connection_id":45706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9968"} 
[2026-04-17 08:40:42] local.INFO: Extracted packet for processing {"connection_id":45706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9968"} 
[2026-04-17 08:40:42] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:40:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757113856001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:40:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:40:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:40:42] 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-04-17 08:40:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776395277000,"timestamp_ms":1776395277000,"timestamp_seconds":1776395277,"priority":1,"record_length":96,"hex_timestamp":"0000019d9968d2c8"} 
[2026-04-17 08:40:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:40:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:40:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:40:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:40:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:40:42] local.INFO: Teltonika packet parsed successfully {"connection_id":45706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:40:42] local.INFO: Passing IMEI to GPS processor {"connection_id":45706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:40:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":45706,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:40:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:40:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:40:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:40:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757113856001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:40:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:40:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:40:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757113856001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:40:42] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:40:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:40:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:40:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757113856001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:40:42] local.INFO: DEBUG: GPS processor result {"connection_id":45706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20110,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:40:42] local.INFO: GPS data processed {"connection_id":45706,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:40:42] local.INFO: Acknowledgment sent {"connection_id":45706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:40:51] local.INFO: TCP Data received {"connection_id":45626,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:40:51] local.INFO: Processing buffer {"connection_id":45626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:40:51] local.INFO: IMEI packet received {"connection_id":45626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":45626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:40:55] local.INFO: TCP Data received {"connection_id":45626,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:40:55] local.INFO: Processing buffer {"connection_id":45626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:40:55] local.INFO: IMEI packet received {"connection_id":45626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":45626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:40:56] local.INFO: TCP Data received {"connection_id":45626,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45626,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:40:56] local.INFO: Processing buffer {"connection_id":45626,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:40:56] local.INFO: IMEI packet received {"connection_id":45626,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":45626,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:40:57] local.INFO: TCP Data received {"connection_id":45626,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:40:57] local.INFO: Processing buffer {"connection_id":45626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:40:57] local.INFO: Packet analysis {"connection_id":45626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:40:57] local.INFO: Extracted packet for processing {"connection_id":45626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:40:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757149696001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776395417000,"timestamp_ms":1776395417000,"timestamp_seconds":1776395417,"priority":1,"record_length":96,"hex_timestamp":"0000019d996af5a8"} 
[2026-04-17 08:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:40:57] 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-04-17 08:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757149696001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757149696001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:40:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:40:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757149696001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":45626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:40:57] local.INFO: GPS data processed {"connection_id":45626,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:40:57] local.INFO: Acknowledgment sent {"connection_id":45626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:41:28] local.INFO: TCP Data received {"connection_id":45626,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45626,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:41:28] local.INFO: Processing buffer {"connection_id":45626,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:41:28] local.INFO: Packet analysis {"connection_id":45626,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:41:28] local.INFO: Extracted packet for processing {"connection_id":45626,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:41:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757149696001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776395417000,"timestamp_ms":1776395417000,"timestamp_seconds":1776395417,"priority":1,"record_length":96,"hex_timestamp":"0000019d996af5a8"} 
[2026-04-17 08:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45626,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45626,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:41:28] 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-04-17 08:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757149696001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757149696001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:41:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:41:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757149696001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":45626,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:41:28] local.INFO: GPS data processed {"connection_id":45626,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:41:28] local.INFO: Acknowledgment sent {"connection_id":45626,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:41:40] local.INFO: TCP Data received {"connection_id":46455,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:41:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:41:40] local.INFO: Processing buffer {"connection_id":46455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:41:40] local.INFO: IMEI packet received {"connection_id":46455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:41:40] local.INFO: IMEI acknowledgment sent {"connection_id":46455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:41:46] local.INFO: TCP Data received {"connection_id":46455,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:41:46] local.INFO: Processing buffer {"connection_id":46455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:41:46] local.INFO: IMEI packet received {"connection_id":46455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:41:46] local.INFO: IMEI acknowledgment sent {"connection_id":46455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:41:48] local.INFO: TCP Data received {"connection_id":46455,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9968d2c8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46455,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9968d2c8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:41:48] local.INFO: Processing buffer {"connection_id":46455,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9968d2c8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:41:48] local.INFO: Packet analysis {"connection_id":46455,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9968"} 
[2026-04-17 08:41:48] local.INFO: Extracted packet for processing {"connection_id":46455,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9968"} 
[2026-04-17 08:41:48] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:41:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757113856001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:41:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:41:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:41:48] 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-04-17 08:41:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776395277000,"timestamp_ms":1776395277000,"timestamp_seconds":1776395277,"priority":1,"record_length":96,"hex_timestamp":"0000019d9968d2c8"} 
[2026-04-17 08:41:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:41:48] 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-04-17 08: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:41: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-04-17 08: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-04-17 08:41:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:41:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:41:48] local.INFO: Teltonika packet parsed successfully {"connection_id":46455,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:41:48] local.INFO: Passing IMEI to GPS processor {"connection_id":46455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:41:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":46455,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:41:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:41:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:41:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:41:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757113856001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:41:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:41:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:41:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757113856001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:41:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:41:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:41:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:41:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757113856001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:41:48] local.INFO: DEBUG: GPS processor result {"connection_id":46455,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20113,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:41:48] local.INFO: GPS data processed {"connection_id":46455,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:41:48] local.INFO: Acknowledgment sent {"connection_id":46455,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:41:51] local.INFO: TCP Data received {"connection_id":45627,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:41:51] local.INFO: Processing buffer {"connection_id":45627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:41:51] local.INFO: IMEI packet received {"connection_id":45627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":45627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:41:56] local.INFO: TCP Data received {"connection_id":45627,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:41:56] local.INFO: Processing buffer {"connection_id":45627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:41:56] local.INFO: IMEI packet received {"connection_id":45627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":45627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:42:00] local.INFO: TCP Data received {"connection_id":45627,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:42:00] local.INFO: Processing buffer {"connection_id":45627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:42:00] local.INFO: Packet analysis {"connection_id":45627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:42:00] local.INFO: Extracted packet for processing {"connection_id":45627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:42:00] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757149696001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:42:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776395417000,"timestamp_ms":1776395417000,"timestamp_seconds":1776395417,"priority":1,"record_length":96,"hex_timestamp":"0000019d996af5a8"} 
[2026-04-17 08:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:42: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-04-17 08:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757149696001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757149696001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:42:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:42:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757149696001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":45627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:42:00] local.INFO: GPS data processed {"connection_id":45627,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:42:00] local.INFO: Acknowledgment sent {"connection_id":45627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:42:10] local.INFO: TCP Data received {"connection_id":45707,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:42:10] local.INFO: Processing buffer {"connection_id":45707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:42:10] local.INFO: IMEI packet received {"connection_id":45707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":45707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:42:19] local.INFO: TCP Data received {"connection_id":45707,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:42:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45707,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:42:19] local.INFO: Processing buffer {"connection_id":45707,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:42:19] local.INFO: IMEI packet received {"connection_id":45707,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:42:19] local.INFO: IMEI acknowledgment sent {"connection_id":45707,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:42:20] local.INFO: TCP Data received {"connection_id":45707,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9968d2c8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9968d2c8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:42:20] local.INFO: Processing buffer {"connection_id":45707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9968d2c8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:42:20] local.INFO: Packet analysis {"connection_id":45707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9968"} 
[2026-04-17 08:42:20] local.INFO: Extracted packet for processing {"connection_id":45707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9968"} 
[2026-04-17 08:42:20] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:42:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757113856001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:42:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:42:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:42:20] 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-04-17 08:42:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776395277000,"timestamp_ms":1776395277000,"timestamp_seconds":1776395277,"priority":1,"record_length":96,"hex_timestamp":"0000019d9968d2c8"} 
[2026-04-17 08:42:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:42:20] 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-04-17 08:42:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:42:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:42:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:42:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:42:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:42:20] local.INFO: Teltonika packet parsed successfully {"connection_id":45707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:42:20] local.INFO: Passing IMEI to GPS processor {"connection_id":45707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:42:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":45707,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:42:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:42:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:42:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:42:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757113856001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:42:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:42:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:42:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757113856001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:42:20] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:42:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:42:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:42:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757113856001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:42:20] local.INFO: DEBUG: GPS processor result {"connection_id":45707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20115,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:42:20] local.INFO: GPS data processed {"connection_id":45707,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:42:20] local.INFO: Acknowledgment sent {"connection_id":45707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:42:31] local.INFO: TCP Data received {"connection_id":45627,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:42:31] local.INFO: Processing buffer {"connection_id":45627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:42:31] local.INFO: Packet analysis {"connection_id":45627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:42:31] local.INFO: Extracted packet for processing {"connection_id":45627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:42:31] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:42:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757149696001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:42:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:42:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:42:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:42:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776395417000,"timestamp_ms":1776395417000,"timestamp_seconds":1776395417,"priority":1,"record_length":96,"hex_timestamp":"0000019d996af5a8"} 
[2026-04-17 08:42:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:42:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:42:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:42:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:42:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:42:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:42:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:42:31] local.INFO: Teltonika packet parsed successfully {"connection_id":45627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:42:31] local.INFO: Passing IMEI to GPS processor {"connection_id":45627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:42:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":45627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:42:31] 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-04-17 08:42:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:42:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:42:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757149696001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:42:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:42:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:42:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757149696001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:42:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:42:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:42:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:42:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:42:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757149696001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:42:31] local.INFO: DEBUG: GPS processor result {"connection_id":45627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:42:31] local.INFO: GPS data processed {"connection_id":45627,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:42:31] local.INFO: Acknowledgment sent {"connection_id":45627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:42:51] local.INFO: TCP Data received {"connection_id":45628,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:42:51] local.INFO: Processing buffer {"connection_id":45628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:42:51] local.INFO: IMEI packet received {"connection_id":45628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":45628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:42:56] local.INFO: TCP Data received {"connection_id":45628,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45628,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:42:56] local.INFO: Processing buffer {"connection_id":45628,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:42:56] local.INFO: IMEI packet received {"connection_id":45628,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":45628,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:42:57] local.INFO: TCP Data received {"connection_id":45628,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:42:57] local.INFO: Processing buffer {"connection_id":45628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:42:57] local.INFO: Packet analysis {"connection_id":45628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:42:57] local.INFO: Extracted packet for processing {"connection_id":45628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:42:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757149696001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776395417000,"timestamp_ms":1776395417000,"timestamp_seconds":1776395417,"priority":1,"record_length":96,"hex_timestamp":"0000019d996af5a8"} 
[2026-04-17 08:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757149696001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757149696001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:42:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:42:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757149696001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":45628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:42:57] local.INFO: GPS data processed {"connection_id":45628,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:42:57] local.INFO: Acknowledgment sent {"connection_id":45628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:43:05] local.INFO: TCP Data received {"connection_id":45889,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:43:05] local.INFO: Processing buffer {"connection_id":45889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:43:05] local.INFO: IMEI packet received {"connection_id":45889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":45889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:43:10] local.INFO: TCP Data received {"connection_id":45889,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:43:10] local.INFO: Processing buffer {"connection_id":45889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:43:10] local.INFO: IMEI packet received {"connection_id":45889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":45889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:43:12] local.INFO: TCP Data received {"connection_id":45889,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9968d2c8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9968d2c8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:43:12] local.INFO: Processing buffer {"connection_id":45889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9968d2c8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:43:12] local.INFO: Packet analysis {"connection_id":45889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9968"} 
[2026-04-17 08:43:12] local.INFO: Extracted packet for processing {"connection_id":45889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9968"} 
[2026-04-17 08:43:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757113856001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:43:12] 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-04-17 08:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776395277000,"timestamp_ms":1776395277000,"timestamp_seconds":1776395277,"priority":1,"record_length":96,"hex_timestamp":"0000019d9968d2c8"} 
[2026-04-17 08:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:43: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-04-17 08:43:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:43:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757113856001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757113856001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:43:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757113856001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":45889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20118,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:43:12] local.INFO: GPS data processed {"connection_id":45889,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:43:12] local.INFO: Acknowledgment sent {"connection_id":45889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:43:28] local.INFO: TCP Data received {"connection_id":45628,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:43:28] local.INFO: Processing buffer {"connection_id":45628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:43:28] local.INFO: Packet analysis {"connection_id":45628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:43:28] local.INFO: Extracted packet for processing {"connection_id":45628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:43:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757149696001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776395417000,"timestamp_ms":1776395417000,"timestamp_seconds":1776395417,"priority":1,"record_length":96,"hex_timestamp":"0000019d996af5a8"} 
[2026-04-17 08:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:43:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:43:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45628,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757149696001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757149696001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:43:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:43:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757149696001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:43:29] local.INFO: DEBUG: GPS processor result {"connection_id":45628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:43:29] local.INFO: GPS data processed {"connection_id":45628,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:43:29] local.INFO: Acknowledgment sent {"connection_id":45628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:43:44] local.INFO: TCP Data received {"connection_id":45889,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:43:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:43:44] local.INFO: Processing buffer {"connection_id":45889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:43:44] local.INFO: Packet analysis {"connection_id":45889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996d"} 
[2026-04-17 08:43:44] local.INFO: Extracted packet for processing {"connection_id":45889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996d"} 
[2026-04-17 08:43:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:43:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757190912001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:43:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:43:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:43:44] 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-04-17 08:43:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776395578000,"timestamp_ms":1776395578000,"timestamp_seconds":1776395578,"priority":1,"record_length":96,"hex_timestamp":"0000019d996d6a90"} 
[2026-04-17 08:43:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:43:44] 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-04-17 08:43:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:43: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-04-17 08:43:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:43:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:43:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:43:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:43:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:43:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:43:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:43:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:43:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:43:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757190912001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:43:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:43:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:43:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757190912001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:43:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:43:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:43:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:43:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757190912001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:43:44] local.INFO: DEBUG: GPS processor result {"connection_id":45889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20120,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:43:44] local.INFO: GPS data processed {"connection_id":45889,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:43:44] local.INFO: Acknowledgment sent {"connection_id":45889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:43:51] local.INFO: TCP Data received {"connection_id":45708,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:43:51] local.INFO: Processing buffer {"connection_id":45708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:43:51] local.INFO: IMEI packet received {"connection_id":45708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":45708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:43:56] local.INFO: TCP Data received {"connection_id":45708,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45708,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:43:56] local.INFO: Processing buffer {"connection_id":45708,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:43:56] local.INFO: IMEI packet received {"connection_id":45708,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":45708,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:43:57] local.INFO: TCP Data received {"connection_id":45708,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:43:57] local.INFO: Processing buffer {"connection_id":45708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:43:57] local.INFO: Packet analysis {"connection_id":45708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:43:57] local.INFO: Extracted packet for processing {"connection_id":45708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:43:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757149696001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776395417000,"timestamp_ms":1776395417000,"timestamp_seconds":1776395417,"priority":1,"record_length":96,"hex_timestamp":"0000019d996af5a8"} 
[2026-04-17 08:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757149696001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757149696001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:43:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:43:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757149696001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":45708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:43:57] local.INFO: GPS data processed {"connection_id":45708,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:43:57] local.INFO: Acknowledgment sent {"connection_id":45708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:44:10] local.INFO: TCP Data received {"connection_id":46456,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:44:10] local.INFO: Processing buffer {"connection_id":46456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:44:10] local.INFO: IMEI packet received {"connection_id":46456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":46456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:44:28] local.INFO: TCP Data received {"connection_id":45708,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:44:28] local.INFO: Processing buffer {"connection_id":45708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:44:28] local.INFO: Packet analysis {"connection_id":45708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:44:28] local.INFO: Extracted packet for processing {"connection_id":45708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:44:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757149696001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776395417000,"timestamp_ms":1776395417000,"timestamp_seconds":1776395417,"priority":1,"record_length":96,"hex_timestamp":"0000019d996af5a8"} 
[2026-04-17 08:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45708,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757149696001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757149696001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:44:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757149696001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":45708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:44:28] local.INFO: GPS data processed {"connection_id":45708,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:44:28] local.INFO: Acknowledgment sent {"connection_id":45708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:44:31] local.INFO: TCP Data received {"connection_id":46456,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46456,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:44:31] local.INFO: Processing buffer {"connection_id":46456,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:44:31] local.INFO: IMEI packet received {"connection_id":46456,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":46456,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:44:32] local.INFO: TCP Data received {"connection_id":46456,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:44:32] local.INFO: Processing buffer {"connection_id":46456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:44:32] local.INFO: Packet analysis {"connection_id":46456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996d"} 
[2026-04-17 08:44:32] local.INFO: Extracted packet for processing {"connection_id":46456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996d"} 
[2026-04-17 08:44:32] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757190912001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:44:32] 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-04-17 08:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776395578000,"timestamp_ms":1776395578000,"timestamp_seconds":1776395578,"priority":1,"record_length":96,"hex_timestamp":"0000019d996d6a90"} 
[2026-04-17 08:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:44:32] 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-04-17 08:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46456,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757190912001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757190912001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:44:32] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757190912001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":46456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:44:32] local.INFO: GPS data processed {"connection_id":46456,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:44:32] local.INFO: Acknowledgment sent {"connection_id":46456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:44:51] local.INFO: TCP Data received {"connection_id":45709,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:44:51] local.INFO: Processing buffer {"connection_id":45709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:44:51] local.INFO: IMEI packet received {"connection_id":45709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":45709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:44:56] local.INFO: TCP Data received {"connection_id":45709,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45709,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:44:56] local.INFO: Processing buffer {"connection_id":45709,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:44:56] local.INFO: IMEI packet received {"connection_id":45709,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":45709,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:44:57] local.INFO: TCP Data received {"connection_id":45709,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:44:57] local.INFO: Processing buffer {"connection_id":45709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:44:57] local.INFO: Packet analysis {"connection_id":45709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:44:57] local.INFO: Extracted packet for processing {"connection_id":45709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:44:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757149696001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776395417000,"timestamp_ms":1776395417000,"timestamp_seconds":1776395417,"priority":1,"record_length":96,"hex_timestamp":"0000019d996af5a8"} 
[2026-04-17 08:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757149696001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757149696001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:44:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:44:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757149696001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":45709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:44:57] local.INFO: GPS data processed {"connection_id":45709,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:44:57] local.INFO: Acknowledgment sent {"connection_id":45709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:45:10] local.INFO: TCP Data received {"connection_id":45890,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:45:10] local.INFO: Processing buffer {"connection_id":45890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:45:10] local.INFO: IMEI packet received {"connection_id":45890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":45890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:45:15] local.INFO: TCP Data received {"connection_id":45890,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:45:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45890,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:45:15] local.INFO: Processing buffer {"connection_id":45890,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:45:15] local.INFO: IMEI packet received {"connection_id":45890,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:45:15] local.INFO: IMEI acknowledgment sent {"connection_id":45890,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:45:17] local.INFO: TCP Data received {"connection_id":45890,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:45:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:45:17] local.INFO: Processing buffer {"connection_id":45890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:45:17] local.INFO: Packet analysis {"connection_id":45890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996d"} 
[2026-04-17 08:45:17] local.INFO: Extracted packet for processing {"connection_id":45890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996d"} 
[2026-04-17 08:45:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:45:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757190912001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:45:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:45:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:45:17] 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-04-17 08:45:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776395578000,"timestamp_ms":1776395578000,"timestamp_seconds":1776395578,"priority":1,"record_length":96,"hex_timestamp":"0000019d996d6a90"} 
[2026-04-17 08:45:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:45:17] 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-04-17 08:45:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:45:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:45:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:45:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:45:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:45:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:45:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:45:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:45:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:45:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:45:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:45:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757190912001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:45:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:45:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:45:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757190912001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:45:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:45:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:45:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:45:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757190912001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:45:17] local.INFO: DEBUG: GPS processor result {"connection_id":45890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20125,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:45:17] local.INFO: GPS data processed {"connection_id":45890,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:45:17] local.INFO: Acknowledgment sent {"connection_id":45890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:45:29] local.INFO: TCP Data received {"connection_id":45709,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:45:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:45:29] local.INFO: Processing buffer {"connection_id":45709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996af5a8012d7fad4005afe350000000942a..."} 
[2026-04-17 08:45:29] local.INFO: Packet analysis {"connection_id":45709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:45:29] local.INFO: Extracted packet for processing {"connection_id":45709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996a"} 
[2026-04-17 08:45:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:45:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757149696001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:45:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:45:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:45:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:45:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776395417000,"timestamp_ms":1776395417000,"timestamp_seconds":1776395417,"priority":1,"record_length":96,"hex_timestamp":"0000019d996af5a8"} 
[2026-04-17 08:45:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:45:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:45:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:45:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:45:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:45:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:45:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:45:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45709,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:45: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-04-17 08:45:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:45:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:45:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757149696001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:45:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:45:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:45:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757149696001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:45:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:45:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:45:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:45:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:45:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757149696001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:45:29] local.INFO: DEBUG: GPS processor result {"connection_id":45709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:45:29] local.INFO: GPS data processed {"connection_id":45709,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:45:29] local.INFO: Acknowledgment sent {"connection_id":45709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:45:49] local.INFO: TCP Data received {"connection_id":45890,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:45:49] local.INFO: Processing buffer {"connection_id":45890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:45:49] local.INFO: Packet analysis {"connection_id":45890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996d"} 
[2026-04-17 08:45:49] local.INFO: Extracted packet for processing {"connection_id":45890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996d"} 
[2026-04-17 08:45:49] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:45:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757190912001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:45:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:45:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:45:49] 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-04-17 08:45:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776395578000,"timestamp_ms":1776395578000,"timestamp_seconds":1776395578,"priority":1,"record_length":96,"hex_timestamp":"0000019d996d6a90"} 
[2026-04-17 08:45:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:45:49] 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-04-17 08: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:45: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-04-17 08: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-04-17 08:45:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:45:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:45:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:45:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:45:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45890,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:45:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:45:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:45:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:45:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757190912001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:45:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:45:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:45:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757190912001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:45:49] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:45:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:45:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:45:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757190912001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:45:49] local.INFO: DEBUG: GPS processor result {"connection_id":45890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20127,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:45:49] local.INFO: GPS data processed {"connection_id":45890,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:45:49] local.INFO: Acknowledgment sent {"connection_id":45890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:45:56] local.INFO: TCP Data received {"connection_id":46457,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:45:56] local.INFO: Processing buffer {"connection_id":46457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:45:56] local.INFO: IMEI packet received {"connection_id":46457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":46457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:45:56] local.INFO: TCP Data received {"connection_id":46457,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:45:56] local.INFO: Processing buffer {"connection_id":46457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:45:56] local.INFO: IMEI packet received {"connection_id":46457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":46457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:46:01] local.INFO: TCP Data received {"connection_id":46457,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:46:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46457,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:46:01] local.INFO: Processing buffer {"connection_id":46457,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:46:01] local.INFO: IMEI packet received {"connection_id":46457,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:46:01] local.INFO: IMEI acknowledgment sent {"connection_id":46457,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:46:02] local.INFO: TCP Data received {"connection_id":46457,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:46:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:46:02] local.INFO: Processing buffer {"connection_id":46457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:46:02] local.INFO: Packet analysis {"connection_id":46457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:46:02] local.INFO: Extracted packet for processing {"connection_id":46457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:46:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:46:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757226752001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:46:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:46:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:46:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:46:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776395718000,"timestamp_ms":1776395718000,"timestamp_seconds":1776395718,"priority":1,"record_length":96,"hex_timestamp":"0000019d996f8d70"} 
[2026-04-17 08:46:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:46:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:46:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 08:46:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:46:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:46:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:46:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:46:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:46:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:46:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46457,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:46:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:46:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:46:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:46:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757226752001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:46:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:46:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:46:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757226752001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:46:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:46:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:46:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:46:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:46:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757226752001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:46:02] local.INFO: DEBUG: GPS processor result {"connection_id":46457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:46:02] local.INFO: GPS data processed {"connection_id":46457,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:46:02] local.INFO: Acknowledgment sent {"connection_id":46457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:46:15] local.INFO: TCP Data received {"connection_id":46458,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:46:15] local.INFO: Processing buffer {"connection_id":46458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:46:15] local.INFO: IMEI packet received {"connection_id":46458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":46458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:46:15] local.INFO: TCP Data received {"connection_id":46458,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46458,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:46:15] local.INFO: Processing buffer {"connection_id":46458,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:46:15] local.INFO: IMEI packet received {"connection_id":46458,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":46458,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:46:16] local.INFO: TCP Data received {"connection_id":46458,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:46:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:46:16] local.INFO: Processing buffer {"connection_id":46458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:46:16] local.INFO: Packet analysis {"connection_id":46458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996d"} 
[2026-04-17 08:46:16] local.INFO: Extracted packet for processing {"connection_id":46458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996d"} 
[2026-04-17 08:46:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:46:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757190912001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:46:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:46:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:46:16] 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-04-17 08:46:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776395578000,"timestamp_ms":1776395578000,"timestamp_seconds":1776395578,"priority":1,"record_length":96,"hex_timestamp":"0000019d996d6a90"} 
[2026-04-17 08:46:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:46:16] 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-04-17 08: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:46: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-04-17 08: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-04-17 08:46:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:46:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:46:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:46:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:46:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:46:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:46:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:46:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:46:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757190912001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:46:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:46:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:46:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757190912001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:46:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:46:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:46:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:46:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757190912001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:46:16] local.INFO: DEBUG: GPS processor result {"connection_id":46458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20129,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:46:16] local.INFO: GPS data processed {"connection_id":46458,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:46:16] local.INFO: Acknowledgment sent {"connection_id":46458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:46:23] local.INFO: TCP Data received {"connection_id":46458,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:46:23] local.INFO: Processing buffer {"connection_id":46458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:46:23] local.INFO: Packet analysis {"connection_id":46458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996d"} 
[2026-04-17 08:46:23] local.INFO: Extracted packet for processing {"connection_id":46458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996d"} 
[2026-04-17 08:46:23] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:46:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757190912001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:46:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:46:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:46:23] 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-04-17 08:46:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776395578000,"timestamp_ms":1776395578000,"timestamp_seconds":1776395578,"priority":1,"record_length":96,"hex_timestamp":"0000019d996d6a90"} 
[2026-04-17 08:46:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:46:23] 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-04-17 08:46:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:46:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:46:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:46:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:46:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:46:23] local.INFO: Teltonika packet parsed successfully {"connection_id":46458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:46:23] local.INFO: Passing IMEI to GPS processor {"connection_id":46458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:46:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":46458,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:46:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:46:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:46:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:46:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757190912001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:46:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:46:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:46:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757190912001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:46:23] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:46:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:46:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:46:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757190912001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:46:23] local.INFO: DEBUG: GPS processor result {"connection_id":46458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20130,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:46:23] local.INFO: GPS data processed {"connection_id":46458,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:46:23] local.INFO: Acknowledgment sent {"connection_id":46458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:46:51] local.INFO: TCP Data received {"connection_id":46459,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:46:51] local.INFO: Processing buffer {"connection_id":46459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:46:51] local.INFO: IMEI packet received {"connection_id":46459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":46459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:46:56] local.INFO: TCP Data received {"connection_id":46459,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46459,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:46:56] local.INFO: Processing buffer {"connection_id":46459,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:46:56] local.INFO: IMEI packet received {"connection_id":46459,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":46459,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:46:57] local.INFO: TCP Data received {"connection_id":46459,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:46:57] local.INFO: Processing buffer {"connection_id":46459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:46:57] local.INFO: Packet analysis {"connection_id":46459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:46:57] local.INFO: Extracted packet for processing {"connection_id":46459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:46:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757226752001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776395718000,"timestamp_ms":1776395718000,"timestamp_seconds":1776395718,"priority":1,"record_length":96,"hex_timestamp":"0000019d996f8d70"} 
[2026-04-17 08:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 08:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757226752001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757226752001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:46:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757226752001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":46459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:46:57] local.INFO: GPS data processed {"connection_id":46459,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:46:57] local.INFO: Acknowledgment sent {"connection_id":46459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:47:06] local.INFO: TCP Data received {"connection_id":45710,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:47:06] local.INFO: Processing buffer {"connection_id":45710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:47:06] local.INFO: IMEI packet received {"connection_id":45710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:47:06] local.INFO: IMEI acknowledgment sent {"connection_id":45710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:47:10] local.INFO: TCP Data received {"connection_id":45710,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45710,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:47:10] local.INFO: Processing buffer {"connection_id":45710,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:47:10] local.INFO: IMEI packet received {"connection_id":45710,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":45710,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:47:12] local.INFO: TCP Data received {"connection_id":45710,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:47:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:47:12] local.INFO: Processing buffer {"connection_id":45710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:47:12] local.INFO: Packet analysis {"connection_id":45710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996d"} 
[2026-04-17 08:47:12] local.INFO: Extracted packet for processing {"connection_id":45710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996d"} 
[2026-04-17 08:47:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:47:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757190912001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:47:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:47:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:47:12] 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-04-17 08:47:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776395578000,"timestamp_ms":1776395578000,"timestamp_seconds":1776395578,"priority":1,"record_length":96,"hex_timestamp":"0000019d996d6a90"} 
[2026-04-17 08:47:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:47: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-04-17 08: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:47:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:47:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:47:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:47:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:47:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:47:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:47:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:47:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:47:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:47:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757190912001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:47:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:47:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:47:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757190912001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:47:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:47:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:47:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:47:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757190912001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:47:12] local.INFO: DEBUG: GPS processor result {"connection_id":45710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20132,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:47:12] local.INFO: GPS data processed {"connection_id":45710,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:47:12] local.INFO: Acknowledgment sent {"connection_id":45710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:47:28] local.INFO: TCP Data received {"connection_id":46459,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46459,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:47:28] local.INFO: Processing buffer {"connection_id":46459,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:47:28] local.INFO: Packet analysis {"connection_id":46459,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:47:28] local.INFO: Extracted packet for processing {"connection_id":46459,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:47:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757226752001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776395718000,"timestamp_ms":1776395718000,"timestamp_seconds":1776395718,"priority":1,"record_length":96,"hex_timestamp":"0000019d996f8d70"} 
[2026-04-17 08:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 08:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46459,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46459,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757226752001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757226752001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:47:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:47:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757226752001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":46459,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20133,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:47:28] local.INFO: GPS data processed {"connection_id":46459,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:47:28] local.INFO: Acknowledgment sent {"connection_id":46459,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:47:43] local.INFO: TCP Data received {"connection_id":45710,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:47:43] local.INFO: Processing buffer {"connection_id":45710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:47:43] local.INFO: Packet analysis {"connection_id":45710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996d"} 
[2026-04-17 08:47:43] local.INFO: Extracted packet for processing {"connection_id":45710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996d"} 
[2026-04-17 08:47:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:47:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757190912001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:47:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:47:43] 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-04-17 08:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776395578000,"timestamp_ms":1776395578000,"timestamp_seconds":1776395578,"priority":1,"record_length":96,"hex_timestamp":"0000019d996d6a90"} 
[2026-04-17 08:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:47:43] 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-04-17 08:47:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:47:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45710,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757190912001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757190912001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:47:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:47:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:47:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757190912001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":45710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20134,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:47:43] local.INFO: GPS data processed {"connection_id":45710,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:47:43] local.INFO: Acknowledgment sent {"connection_id":45710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:47:56] local.INFO: TCP Data received {"connection_id":45711,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:47:56] local.INFO: Processing buffer {"connection_id":45711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:47:56] local.INFO: IMEI packet received {"connection_id":45711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":45711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:48:01] local.INFO: TCP Data received {"connection_id":45711,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:48:01] local.INFO: Processing buffer {"connection_id":45711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:48:01] local.INFO: IMEI packet received {"connection_id":45711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":45711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:48:02] local.INFO: TCP Data received {"connection_id":45711,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:48:02] local.INFO: Processing buffer {"connection_id":45711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:48:02] local.INFO: Packet analysis {"connection_id":45711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:48:02] local.INFO: Extracted packet for processing {"connection_id":45711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:48:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 08:48:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757226752001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:48:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:48:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:48:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:48:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776395718000,"timestamp_ms":1776395718000,"timestamp_seconds":1776395718,"priority":1,"record_length":96,"hex_timestamp":"0000019d996f8d70"} 
[2026-04-17 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-04-17 08:48:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 08:48:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 08:48:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:48:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:48:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:48:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:48:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:48:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:48:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:48:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757226752001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:48:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:48:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:48:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757226752001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:48:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:48:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:48:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:48:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:48:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757226752001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:48:02] local.INFO: DEBUG: GPS processor result {"connection_id":45711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:48:02] local.INFO: GPS data processed {"connection_id":45711,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:48:02] local.INFO: Acknowledgment sent {"connection_id":45711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:48:05] local.INFO: TCP Data received {"connection_id":45629,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:48:05] local.INFO: Processing buffer {"connection_id":45629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:48:05] local.INFO: IMEI packet received {"connection_id":45629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":45629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:48:06] local.INFO: TCP Data received {"connection_id":45711,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:48:06] local.INFO: Processing buffer {"connection_id":45711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:48:06] local.INFO: Packet analysis {"connection_id":45711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:48:06] local.INFO: Extracted packet for processing {"connection_id":45711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757226752001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776395718000,"timestamp_ms":1776395718000,"timestamp_seconds":1776395718,"priority":1,"record_length":96,"hex_timestamp":"0000019d996f8d70"} 
[2026-04-17 08:48:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:48:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 08:48:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:48:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:48:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:48:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:48:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:48:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:48:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:48:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:48:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:48:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757226752001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:48:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:48:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:48:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757226752001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:48:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:48:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:48:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:48:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:48:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757226752001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:48:07] local.INFO: DEBUG: GPS processor result {"connection_id":45711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:48:07] local.INFO: GPS data processed {"connection_id":45711,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:48:07] local.INFO: Acknowledgment sent {"connection_id":45711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:48:10] local.INFO: TCP Data received {"connection_id":45629,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:48:10] local.INFO: Processing buffer {"connection_id":45629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:48:10] local.INFO: IMEI packet received {"connection_id":45629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":45629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:48:12] local.INFO: TCP Data received {"connection_id":45629,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:48:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:48:12] local.INFO: Processing buffer {"connection_id":45629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996d6a90012d1b598006d4d5980011013831..."} 
[2026-04-17 08:48:12] local.INFO: Packet analysis {"connection_id":45629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996d"} 
[2026-04-17 08:48:12] local.INFO: Extracted packet for processing {"connection_id":45629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996d"} 
[2026-04-17 08:48:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:48:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757190912001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:48:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:48:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:48:12] 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-04-17 08:48:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776395578000,"timestamp_ms":1776395578000,"timestamp_seconds":1776395578,"priority":1,"record_length":96,"hex_timestamp":"0000019d996d6a90"} 
[2026-04-17 08:48:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:48: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-04-17 08:48:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:48:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:48:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:48:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:48:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:48:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:48:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:48:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:48:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:48:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:48:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:48:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757190912001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:48:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:48:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:48:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757190912001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:48:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:48:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:48:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:48:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757190912001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:48:12] local.INFO: DEBUG: GPS processor result {"connection_id":45629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20137,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:48:12] local.INFO: GPS data processed {"connection_id":45629,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:48:12] local.INFO: Acknowledgment sent {"connection_id":45629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:48:44] local.INFO: TCP Data received {"connection_id":45629,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:48:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:48:44] local.INFO: Processing buffer {"connection_id":45629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:48:44] local.INFO: Packet analysis {"connection_id":45629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:48:44] local.INFO: Extracted packet for processing {"connection_id":45629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:48:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:48:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757267968001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:48:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:48:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:48:44] 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-04-17 08:48:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776395879000,"timestamp_ms":1776395879000,"timestamp_seconds":1776395879,"priority":1,"record_length":96,"hex_timestamp":"0000019d99720258"} 
[2026-04-17 08:48:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:48:44] 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-04-17 08:48:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:48: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-04-17 08:48:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:48:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:48:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:48:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:48:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:48:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:48:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:48:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:48:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:48:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757267968001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:48:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:48:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:48:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757267968001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:48:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:48:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:48:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:48:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757267968001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:48:44] local.INFO: DEBUG: GPS processor result {"connection_id":45629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20138,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:48:44] local.INFO: GPS data processed {"connection_id":45629,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:48:44] local.INFO: Acknowledgment sent {"connection_id":45629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:48:51] local.INFO: TCP Data received {"connection_id":46460,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:48:51] local.INFO: Processing buffer {"connection_id":46460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:48:51] local.INFO: IMEI packet received {"connection_id":46460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":46460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:48:56] local.INFO: TCP Data received {"connection_id":46460,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46460,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:48:56] local.INFO: Processing buffer {"connection_id":46460,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:48:56] local.INFO: IMEI packet received {"connection_id":46460,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":46460,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:48:57] local.INFO: TCP Data received {"connection_id":46460,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:48:57] local.INFO: Processing buffer {"connection_id":46460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:48:57] local.INFO: Packet analysis {"connection_id":46460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:48:57] local.INFO: Extracted packet for processing {"connection_id":46460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757226752001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776395718000,"timestamp_ms":1776395718000,"timestamp_seconds":1776395718,"priority":1,"record_length":96,"hex_timestamp":"0000019d996f8d70"} 
[2026-04-17 08:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 08:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757226752001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757226752001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:48:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757226752001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":46460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:48:57] local.INFO: GPS data processed {"connection_id":46460,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:48:57] local.INFO: Acknowledgment sent {"connection_id":46460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:49:01] local.INFO: TCP Data received {"connection_id":46460,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:49:02] local.INFO: Processing buffer {"connection_id":46460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:49:02] local.INFO: Packet analysis {"connection_id":46460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:49:02] local.INFO: Extracted packet for processing {"connection_id":46460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:49:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:49:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757226752001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:49:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:49:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:49:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:49:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776395718000,"timestamp_ms":1776395718000,"timestamp_seconds":1776395718,"priority":1,"record_length":96,"hex_timestamp":"0000019d996f8d70"} 
[2026-04-17 08:49:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:49: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-04-17 08:49:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 08:49:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:49:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:49:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:49:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:49:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:49:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:49:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:49:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:49:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:49:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:49:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757226752001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:49:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:49:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:49:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757226752001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:49:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:49:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:49:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:49:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:49:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757226752001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:49:02] local.INFO: DEBUG: GPS processor result {"connection_id":46460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20140,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:49:02] local.INFO: GPS data processed {"connection_id":46460,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:49:02] local.INFO: Acknowledgment sent {"connection_id":46460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:49:05] local.INFO: TCP Data received {"connection_id":45891,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:49:05] local.INFO: Processing buffer {"connection_id":45891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:49:05] local.INFO: IMEI packet received {"connection_id":45891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":45891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:49:10] local.INFO: TCP Data received {"connection_id":45891,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:49:10] local.INFO: Processing buffer {"connection_id":45891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:49:10] local.INFO: IMEI packet received {"connection_id":45891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":45891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:49:12] local.INFO: TCP Data received {"connection_id":45891,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:49:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:49:12] local.INFO: Processing buffer {"connection_id":45891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:49:12] local.INFO: Packet analysis {"connection_id":45891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:49:12] local.INFO: Extracted packet for processing {"connection_id":45891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:49:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:49:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757267968001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:49:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:49:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:49:12] 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-04-17 08:49:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776395879000,"timestamp_ms":1776395879000,"timestamp_seconds":1776395879,"priority":1,"record_length":96,"hex_timestamp":"0000019d99720258"} 
[2026-04-17 08:49:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:49: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-04-17 08:49:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:49: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-04-17 08:49:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:49:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:49:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:49:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:49:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:49:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:49:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:49:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:49:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:49:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757267968001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:49:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:49:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:49:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757267968001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:49:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:49:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:49:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:49:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757267968001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:49:12] local.INFO: DEBUG: GPS processor result {"connection_id":45891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20141,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:49:12] local.INFO: GPS data processed {"connection_id":45891,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:49:12] local.INFO: Acknowledgment sent {"connection_id":45891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:49:33] local.INFO: TCP Data received {"connection_id":46460,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46460,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:49:33] local.INFO: Processing buffer {"connection_id":46460,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:49:33] local.INFO: Packet analysis {"connection_id":46460,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:49:33] local.INFO: Extracted packet for processing {"connection_id":46460,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:49:33] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757226752001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776395718000,"timestamp_ms":1776395718000,"timestamp_seconds":1776395718,"priority":1,"record_length":96,"hex_timestamp":"0000019d996f8d70"} 
[2026-04-17 08:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:49:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 08:49:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:49:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46460,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46460,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757226752001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757226752001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:49:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:49:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757226752001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":46460,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:49:33] local.INFO: GPS data processed {"connection_id":46460,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:49:33] local.INFO: Acknowledgment sent {"connection_id":46460,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:49:43] local.INFO: TCP Data received {"connection_id":45891,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:49:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:49:43] local.INFO: Processing buffer {"connection_id":45891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:49:43] local.INFO: Packet analysis {"connection_id":45891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:49:43] local.INFO: Extracted packet for processing {"connection_id":45891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:49:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:49:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757267968001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:49:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:49:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:49:43] 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-04-17 08:49:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776395879000,"timestamp_ms":1776395879000,"timestamp_seconds":1776395879,"priority":1,"record_length":96,"hex_timestamp":"0000019d99720258"} 
[2026-04-17 08:49:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:49:43] 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-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:49: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-04-17 08: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-04-17 08:49:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:49:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:49:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:49:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:49:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45891,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:49:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:49:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:49:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:49:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757267968001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:49:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:49:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:49:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757267968001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:49:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:49:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:49:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:49:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757267968001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":45891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20143,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:49:44] local.INFO: GPS data processed {"connection_id":45891,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:49:44] local.INFO: Acknowledgment sent {"connection_id":45891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:49:51] local.INFO: TCP Data received {"connection_id":46461,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:49:51] local.INFO: Processing buffer {"connection_id":46461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:49:51] local.INFO: IMEI packet received {"connection_id":46461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":46461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:49:56] local.INFO: TCP Data received {"connection_id":46461,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:49:56] local.INFO: Processing buffer {"connection_id":46461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:49:56] local.INFO: IMEI packet received {"connection_id":46461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":46461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:49:57] local.INFO: TCP Data received {"connection_id":46461,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:49:57] local.INFO: Processing buffer {"connection_id":46461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:49:57] local.INFO: Packet analysis {"connection_id":46461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:49:57] local.INFO: Extracted packet for processing {"connection_id":46461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:49:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757226752001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776395718000,"timestamp_ms":1776395718000,"timestamp_seconds":1776395718,"priority":1,"record_length":96,"hex_timestamp":"0000019d996f8d70"} 
[2026-04-17 08:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 08:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757226752001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757226752001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:49:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:49:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757226752001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":46461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20144,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:49:57] local.INFO: GPS data processed {"connection_id":46461,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:49:57] local.INFO: Acknowledgment sent {"connection_id":46461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:50:10] local.INFO: TCP Data received {"connection_id":45892,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:50:10] local.INFO: Processing buffer {"connection_id":45892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:50:10] local.INFO: IMEI packet received {"connection_id":45892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":45892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:50:15] local.INFO: TCP Data received {"connection_id":45892,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:50:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:50:15] local.INFO: Processing buffer {"connection_id":45892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:50:15] local.INFO: IMEI packet received {"connection_id":45892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:50:15] local.INFO: IMEI acknowledgment sent {"connection_id":45892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:50:17] local.INFO: TCP Data received {"connection_id":45892,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:50:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:50:17] local.INFO: Processing buffer {"connection_id":45892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:50:17] local.INFO: Packet analysis {"connection_id":45892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:50:17] local.INFO: Extracted packet for processing {"connection_id":45892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:50:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:50:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757267968001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:50:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:50:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:50:17] 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-04-17 08:50:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776395879000,"timestamp_ms":1776395879000,"timestamp_seconds":1776395879,"priority":1,"record_length":96,"hex_timestamp":"0000019d99720258"} 
[2026-04-17 08:50:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:50:17] 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-04-17 08:50:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:50:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:50:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:50:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:50:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:50:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:50:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:50:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:50:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:50:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:50:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:50:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757267968001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:50:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:50:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:50:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757267968001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:50:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:50:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:50:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:50:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757267968001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:50:17] local.INFO: DEBUG: GPS processor result {"connection_id":45892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20145,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:50:17] local.INFO: GPS data processed {"connection_id":45892,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:50:17] local.INFO: Acknowledgment sent {"connection_id":45892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:50:28] local.INFO: TCP Data received {"connection_id":46461,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:50:28] local.INFO: Processing buffer {"connection_id":46461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:50:28] local.INFO: Packet analysis {"connection_id":46461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:50:28] local.INFO: Extracted packet for processing {"connection_id":46461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757226752001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776395718000,"timestamp_ms":1776395718000,"timestamp_seconds":1776395718,"priority":1,"record_length":96,"hex_timestamp":"0000019d996f8d70"} 
[2026-04-17 08:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 08:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757226752001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757226752001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:50:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757226752001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":46461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:50:28] local.INFO: GPS data processed {"connection_id":46461,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:50:28] local.INFO: Acknowledgment sent {"connection_id":46461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:50:48] local.INFO: TCP Data received {"connection_id":45892,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:50:48] local.INFO: Processing buffer {"connection_id":45892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:50:48] local.INFO: Packet analysis {"connection_id":45892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:50:48] local.INFO: Extracted packet for processing {"connection_id":45892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:50:48] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:50:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757267968001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:50:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:50:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:50:48] 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-04-17 08:50:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776395879000,"timestamp_ms":1776395879000,"timestamp_seconds":1776395879,"priority":1,"record_length":96,"hex_timestamp":"0000019d99720258"} 
[2026-04-17 08:50:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:50:48] 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-04-17 08:50:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:50: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-04-17 08:50:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:50:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:50:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:50:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:50:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:50:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:50:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:50:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:50:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:50:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757267968001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:50:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:50:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:50:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757267968001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:50:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:50:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:50:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:50:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757267968001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:50:48] local.INFO: DEBUG: GPS processor result {"connection_id":45892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20147,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:50:48] local.INFO: GPS data processed {"connection_id":45892,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:50:48] local.INFO: Acknowledgment sent {"connection_id":45892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:50:51] local.INFO: TCP Data received {"connection_id":45630,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:50:51] local.INFO: Processing buffer {"connection_id":45630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:50:51] local.INFO: IMEI packet received {"connection_id":45630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":45630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:50:56] local.INFO: TCP Data received {"connection_id":45630,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:50:56] local.INFO: Processing buffer {"connection_id":45630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:50:56] local.INFO: IMEI packet received {"connection_id":45630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":45630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:50:57] local.INFO: TCP Data received {"connection_id":45630,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:50:57] local.INFO: Processing buffer {"connection_id":45630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d996f8d70012d7fad4005afe3500000009428..."} 
[2026-04-17 08:50:57] local.INFO: Packet analysis {"connection_id":45630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:50:57] local.INFO: Extracted packet for processing {"connection_id":45630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d996f"} 
[2026-04-17 08:50:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757226752001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776395718000,"timestamp_ms":1776395718000,"timestamp_seconds":1776395718,"priority":1,"record_length":96,"hex_timestamp":"0000019d996f8d70"} 
[2026-04-17 08:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 08:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757226752001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757226752001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:50:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:50:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757226752001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":45630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:50:57] local.INFO: GPS data processed {"connection_id":45630,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:50:57] local.INFO: Acknowledgment sent {"connection_id":45630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:51:05] local.INFO: TCP Data received {"connection_id":45631,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:51:05] local.INFO: Processing buffer {"connection_id":45631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:51:05] local.INFO: IMEI packet received {"connection_id":45631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":45631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:51:10] local.INFO: TCP Data received {"connection_id":45631,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:51:10] local.INFO: Processing buffer {"connection_id":45631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:51:10] local.INFO: IMEI packet received {"connection_id":45631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":45631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:51:11] local.INFO: TCP Data received {"connection_id":45631,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:51:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:51:12] local.INFO: Processing buffer {"connection_id":45631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:51:12] local.INFO: Packet analysis {"connection_id":45631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:51:12] local.INFO: Extracted packet for processing {"connection_id":45631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:51:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:51:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757267968001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:51:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:51:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:51:12] 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-04-17 08:51:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776395879000,"timestamp_ms":1776395879000,"timestamp_seconds":1776395879,"priority":1,"record_length":96,"hex_timestamp":"0000019d99720258"} 
[2026-04-17 08:51:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:51: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-04-17 08:51:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:51: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-04-17 08:51:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:51:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:51:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:51:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:51:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:51:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:51:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:51:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:51:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:51:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757267968001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:51:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:51:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:51:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757267968001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:51:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:51:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:51:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:51:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757267968001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:51:12] local.INFO: DEBUG: GPS processor result {"connection_id":45631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20149,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:51:12] local.INFO: GPS data processed {"connection_id":45631,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:51:12] local.INFO: Acknowledgment sent {"connection_id":45631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:51:28] local.INFO: TCP Data received {"connection_id":45630,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:51:28] local.INFO: Processing buffer {"connection_id":45630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:51:28] local.INFO: Packet analysis {"connection_id":45630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:51:28] local.INFO: Extracted packet for processing {"connection_id":45630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:51:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757303808001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776396019000,"timestamp_ms":1776396019000,"timestamp_seconds":1776396019,"priority":1,"record_length":96,"hex_timestamp":"0000019d99742538"} 
[2026-04-17 08:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 08:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757303808001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757303808001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:51:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:51:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757303808001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":45630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:51:28] local.INFO: GPS data processed {"connection_id":45630,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:51:28] local.INFO: Acknowledgment sent {"connection_id":45630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:51:43] local.INFO: TCP Data received {"connection_id":45631,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45631,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:51:43] local.INFO: Processing buffer {"connection_id":45631,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:51:43] local.INFO: Packet analysis {"connection_id":45631,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:51:43] local.INFO: Extracted packet for processing {"connection_id":45631,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:51:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:51:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757267968001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:51:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:51:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:51:43] 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-04-17 08:51:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776395879000,"timestamp_ms":1776395879000,"timestamp_seconds":1776395879,"priority":1,"record_length":96,"hex_timestamp":"0000019d99720258"} 
[2026-04-17 08:51:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:51:43] 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-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:51: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-04-17 08: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-04-17 08:51:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:51:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:51:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45631,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:51:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:51:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45631,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:51:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:51:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:51:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:51:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757267968001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:51:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:51:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:51:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757267968001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:51:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:51:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:51:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:51:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757267968001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:51:43] local.INFO: DEBUG: GPS processor result {"connection_id":45631,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20151,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:51:43] local.INFO: GPS data processed {"connection_id":45631,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:51:43] local.INFO: Acknowledgment sent {"connection_id":45631,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:51:51] local.INFO: TCP Data received {"connection_id":45632,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:51:51] local.INFO: Processing buffer {"connection_id":45632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:51:51] local.INFO: IMEI packet received {"connection_id":45632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":45632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:51:56] local.INFO: TCP Data received {"connection_id":45632,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:51:56] local.INFO: Processing buffer {"connection_id":45632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:51:56] local.INFO: IMEI packet received {"connection_id":45632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":45632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:51:57] local.INFO: TCP Data received {"connection_id":45632,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:51:57] local.INFO: Processing buffer {"connection_id":45632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:51:57] local.INFO: Packet analysis {"connection_id":45632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:51:57] local.INFO: Extracted packet for processing {"connection_id":45632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:51:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 08:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757303808001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776396019000,"timestamp_ms":1776396019000,"timestamp_seconds":1776396019,"priority":1,"record_length":96,"hex_timestamp":"0000019d99742538"} 
[2026-04-17 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-04-17 08:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 08:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 08:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757303808001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757303808001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:51:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:51:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757303808001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":45632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20152,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:51:57] local.INFO: GPS data processed {"connection_id":45632,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:51:57] local.INFO: Acknowledgment sent {"connection_id":45632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:52:11] local.INFO: TCP Data received {"connection_id":45633,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:52:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:52:11] local.INFO: Processing buffer {"connection_id":45633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:52:11] local.INFO: IMEI packet received {"connection_id":45633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:52:11] local.INFO: IMEI acknowledgment sent {"connection_id":45633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:52:15] local.INFO: TCP Data received {"connection_id":45633,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:52:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:52:15] local.INFO: Processing buffer {"connection_id":45633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:52:15] local.INFO: IMEI packet received {"connection_id":45633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:52:15] local.INFO: IMEI acknowledgment sent {"connection_id":45633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:52:17] local.INFO: TCP Data received {"connection_id":45633,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:52:17] local.INFO: Processing buffer {"connection_id":45633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:52:17] local.INFO: Packet analysis {"connection_id":45633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:52:17] local.INFO: Extracted packet for processing {"connection_id":45633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:52:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:52:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757267968001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:52:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:52:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:52:17] 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-04-17 08:52:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776395879000,"timestamp_ms":1776395879000,"timestamp_seconds":1776395879,"priority":1,"record_length":96,"hex_timestamp":"0000019d99720258"} 
[2026-04-17 08:52:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:52:17] 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-04-17 08:52:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:52:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:52:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:52:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:52:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:52:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:52:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:52:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:52:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:52:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:52:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:52:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757267968001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:52:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:52:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:52:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757267968001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:52:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:52:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:52:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:52:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757267968001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:52:17] local.INFO: DEBUG: GPS processor result {"connection_id":45633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20153,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:52:17] local.INFO: GPS data processed {"connection_id":45633,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:52:17] local.INFO: Acknowledgment sent {"connection_id":45633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:52:21] local.INFO: TCP Data received {"connection_id":45633,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:52:21] local.INFO: Processing buffer {"connection_id":45633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:52:21] local.INFO: Packet analysis {"connection_id":45633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:52:21] local.INFO: Extracted packet for processing {"connection_id":45633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:52:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:52:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757267968001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:52:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:52:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:52:21] 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-04-17 08:52:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776395879000,"timestamp_ms":1776395879000,"timestamp_seconds":1776395879,"priority":1,"record_length":96,"hex_timestamp":"0000019d99720258"} 
[2026-04-17 08:52:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:52:21] 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-04-17 08:52:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:52:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:52:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:52:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:52:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:52:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:52:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:52:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:52:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:52:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:52:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:52:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757267968001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:52:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:52:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:52:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757267968001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:52:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:52:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:52:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:52:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757267968001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:52:21] local.INFO: DEBUG: GPS processor result {"connection_id":45633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20154,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:52:21] local.INFO: GPS data processed {"connection_id":45633,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:52:21] local.INFO: Acknowledgment sent {"connection_id":45633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:52:28] local.INFO: TCP Data received {"connection_id":45632,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:52:28] local.INFO: Processing buffer {"connection_id":45632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:52:28] local.INFO: Packet analysis {"connection_id":45632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:52:28] local.INFO: Extracted packet for processing {"connection_id":45632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:52:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 08:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757303808001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776396019000,"timestamp_ms":1776396019000,"timestamp_seconds":1776396019,"priority":1,"record_length":96,"hex_timestamp":"0000019d99742538"} 
[2026-04-17 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-04-17 08:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 08:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 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-04-17 08:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757303808001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757303808001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:52:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:52:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757303808001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":45632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:52:28] local.INFO: GPS data processed {"connection_id":45632,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:52:28] local.INFO: Acknowledgment sent {"connection_id":45632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:52:56] local.INFO: TCP Data received {"connection_id":46462,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:52:56] local.INFO: Processing buffer {"connection_id":46462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:52:56] local.INFO: IMEI packet received {"connection_id":46462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":46462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:53:01] local.INFO: TCP Data received {"connection_id":46462,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46462,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:53:01] local.INFO: Processing buffer {"connection_id":46462,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:53:01] local.INFO: IMEI packet received {"connection_id":46462,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":46462,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:53:02] local.INFO: TCP Data received {"connection_id":46462,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:53:02] local.INFO: Processing buffer {"connection_id":46462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:53:02] local.INFO: Packet analysis {"connection_id":46462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:53:02] local.INFO: Extracted packet for processing {"connection_id":46462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757303808001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776396019000,"timestamp_ms":1776396019000,"timestamp_seconds":1776396019,"priority":1,"record_length":96,"hex_timestamp":"0000019d99742538"} 
[2026-04-17 08:53:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08: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-04-17 08:53:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 08:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:53:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757303808001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757303808001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:53:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:53:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757303808001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":46462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:53:02] local.INFO: GPS data processed {"connection_id":46462,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:53:02] local.INFO: Acknowledgment sent {"connection_id":46462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:53:05] local.INFO: TCP Data received {"connection_id":45893,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:53:05] local.INFO: Processing buffer {"connection_id":45893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:53:05] local.INFO: IMEI packet received {"connection_id":45893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":45893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:53:07] local.INFO: TCP Data received {"connection_id":46462,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:53:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:53:07] local.INFO: Processing buffer {"connection_id":46462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:53:07] local.INFO: Packet analysis {"connection_id":46462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:53:07] local.INFO: Extracted packet for processing {"connection_id":46462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:53:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:53:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757303808001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:53:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:53:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:53:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:53:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776396019000,"timestamp_ms":1776396019000,"timestamp_seconds":1776396019,"priority":1,"record_length":96,"hex_timestamp":"0000019d99742538"} 
[2026-04-17 08:53:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:53:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 08:53:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:53:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:53:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:53:07] local.INFO: Teltonika packet parsed successfully {"connection_id":46462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:53:07] local.INFO: Passing IMEI to GPS processor {"connection_id":46462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:53:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":46462,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:53:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:53:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:53:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:53:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757303808001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:53:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:53:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:53:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757303808001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:53:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:53:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:53:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:53:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:53:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757303808001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:53:07] local.INFO: DEBUG: GPS processor result {"connection_id":46462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20157,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:53:07] local.INFO: GPS data processed {"connection_id":46462,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:53:07] local.INFO: Acknowledgment sent {"connection_id":46462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:53:27] local.INFO: TCP Data received {"connection_id":45893,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:53:27] local.INFO: Processing buffer {"connection_id":45893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:53:27] local.INFO: IMEI packet received {"connection_id":45893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":45893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:53:28] local.INFO: TCP Data received {"connection_id":45893,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:53:28] local.INFO: Processing buffer {"connection_id":45893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:53:28] local.INFO: Packet analysis {"connection_id":45893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:53:28] local.INFO: Extracted packet for processing {"connection_id":45893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757267968001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:53:28] 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-04-17 08:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776395879000,"timestamp_ms":1776395879000,"timestamp_seconds":1776395879,"priority":1,"record_length":96,"hex_timestamp":"0000019d99720258"} 
[2026-04-17 08:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:53:28] 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-04-17 08:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:53: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-04-17 08:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757267968001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757267968001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:53:28] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757267968001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":45893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20158,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:53:28] local.INFO: GPS data processed {"connection_id":45893,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:53:28] local.INFO: Acknowledgment sent {"connection_id":45893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:53:29] local.INFO: TCP Data received {"connection_id":45893,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:53:29] local.INFO: Processing buffer {"connection_id":45893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99720258012d1b598006d4d5980011013831..."} 
[2026-04-17 08:53:29] local.INFO: Packet analysis {"connection_id":45893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:53:29] local.INFO: Extracted packet for processing {"connection_id":45893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9972"} 
[2026-04-17 08:53:29] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 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-04-17 08:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757267968001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:53:29] 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-04-17 08:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776395879000,"timestamp_ms":1776395879000,"timestamp_seconds":1776395879,"priority":1,"record_length":96,"hex_timestamp":"0000019d99720258"} 
[2026-04-17 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-04-17 08:53: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-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 08:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757267968001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757267968001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:53:29] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757267968001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":45893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20159,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:53:29] local.INFO: GPS data processed {"connection_id":45893,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:53:29] local.INFO: Acknowledgment sent {"connection_id":45893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:53:51] local.INFO: TCP Data received {"connection_id":45634,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:53:51] local.INFO: Processing buffer {"connection_id":45634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:53:51] local.INFO: IMEI packet received {"connection_id":45634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":45634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:53:56] local.INFO: TCP Data received {"connection_id":45634,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45634,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:53:56] local.INFO: Processing buffer {"connection_id":45634,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:53:56] local.INFO: IMEI packet received {"connection_id":45634,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":45634,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:53:57] local.INFO: TCP Data received {"connection_id":45634,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:53:57] local.INFO: Processing buffer {"connection_id":45634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:53:57] local.INFO: Packet analysis {"connection_id":45634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:53:57] local.INFO: Extracted packet for processing {"connection_id":45634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:53:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 08:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757303808001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776396019000,"timestamp_ms":1776396019000,"timestamp_seconds":1776396019,"priority":1,"record_length":96,"hex_timestamp":"0000019d99742538"} 
[2026-04-17 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-04-17 08:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 08:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 08:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757303808001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757303808001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:53:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:53:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757303808001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":45634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:53:57] local.INFO: GPS data processed {"connection_id":45634,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:53:57] local.INFO: Acknowledgment sent {"connection_id":45634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:54:05] local.INFO: TCP Data received {"connection_id":45635,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:54:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:54:05] local.INFO: Processing buffer {"connection_id":45635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:54:05] local.INFO: IMEI packet received {"connection_id":45635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:54:05] local.INFO: IMEI acknowledgment sent {"connection_id":45635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:54:10] local.INFO: TCP Data received {"connection_id":45635,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:54:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45635,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:54:10] local.INFO: Processing buffer {"connection_id":45635,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:54:10] local.INFO: IMEI packet received {"connection_id":45635,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:54:10] local.INFO: IMEI acknowledgment sent {"connection_id":45635,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:54:14] local.INFO: TCP Data received {"connection_id":45635,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:54:14] local.INFO: Processing buffer {"connection_id":45635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:54:14] local.INFO: Packet analysis {"connection_id":45635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9976"} 
[2026-04-17 08:54:14] local.INFO: Extracted packet for processing {"connection_id":45635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9976"} 
[2026-04-17 08:54:14] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757345024001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:54:14] 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-04-17 08:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776396180000,"timestamp_ms":1776396180000,"timestamp_seconds":1776396180,"priority":1,"record_length":96,"hex_timestamp":"0000019d99769a20"} 
[2026-04-17 08:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:54:14] 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-04-17 08: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:54: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-04-17 08: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-04-17 08:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757345024001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757345024001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:54:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757345024001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":45635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20161,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:54:14] local.INFO: GPS data processed {"connection_id":45635,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:54:14] local.INFO: Acknowledgment sent {"connection_id":45635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:54:28] local.INFO: TCP Data received {"connection_id":45634,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:54:28] local.INFO: Processing buffer {"connection_id":45634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:54:28] local.INFO: Packet analysis {"connection_id":45634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:54:28] local.INFO: Extracted packet for processing {"connection_id":45634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:54:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 08:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757303808001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776396019000,"timestamp_ms":1776396019000,"timestamp_seconds":1776396019,"priority":1,"record_length":96,"hex_timestamp":"0000019d99742538"} 
[2026-04-17 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-04-17 08:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 08:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 08:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45634,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757303808001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757303808001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:54:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:54:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757303808001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":45634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:54:28] local.INFO: GPS data processed {"connection_id":45634,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:54:28] local.INFO: Acknowledgment sent {"connection_id":45634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:54:46] local.INFO: TCP Data received {"connection_id":45635,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:54:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:54:46] local.INFO: Processing buffer {"connection_id":45635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:54:46] local.INFO: Packet analysis {"connection_id":45635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9976"} 
[2026-04-17 08:54:46] local.INFO: Extracted packet for processing {"connection_id":45635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9976"} 
[2026-04-17 08:54:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 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-04-17 08:54:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757345024001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:54:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:54:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:54:46] 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-04-17 08:54:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776396180000,"timestamp_ms":1776396180000,"timestamp_seconds":1776396180,"priority":1,"record_length":96,"hex_timestamp":"0000019d99769a20"} 
[2026-04-17 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-04-17 08:54:46] 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-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:54:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 08:54:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:54:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:54:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:54:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45635,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:54:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:54:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:54:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:54:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757345024001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:54:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:54:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:54:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757345024001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:54:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:54:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:54:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:54:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757345024001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:54:46] local.INFO: DEBUG: GPS processor result {"connection_id":45635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:54:46] local.INFO: GPS data processed {"connection_id":45635,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:54:46] local.INFO: Acknowledgment sent {"connection_id":45635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:54:51] local.INFO: TCP Data received {"connection_id":46463,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:54:51] local.INFO: Processing buffer {"connection_id":46463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:54:51] local.INFO: IMEI packet received {"connection_id":46463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":46463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:54:56] local.INFO: TCP Data received {"connection_id":46463,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:54:56] local.INFO: Processing buffer {"connection_id":46463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:54:56] local.INFO: IMEI packet received {"connection_id":46463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":46463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:54:58] local.INFO: TCP Data received {"connection_id":46463,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:54:58] local.INFO: Processing buffer {"connection_id":46463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:54:58] local.INFO: Packet analysis {"connection_id":46463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:54:58] local.INFO: Extracted packet for processing {"connection_id":46463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:54:58] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 08:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757303808001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776396019000,"timestamp_ms":1776396019000,"timestamp_seconds":1776396019,"priority":1,"record_length":96,"hex_timestamp":"0000019d99742538"} 
[2026-04-17 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-04-17 08:54:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 08:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 08:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757303808001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757303808001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:54:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:54:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757303808001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":46463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:54:58] local.INFO: GPS data processed {"connection_id":46463,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:54:58] local.INFO: Acknowledgment sent {"connection_id":46463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:55:05] local.INFO: TCP Data received {"connection_id":46464,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:55:05] local.INFO: Processing buffer {"connection_id":46464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:55:05] local.INFO: IMEI packet received {"connection_id":46464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:55:05] local.INFO: IMEI acknowledgment sent {"connection_id":46464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:55:10] local.INFO: TCP Data received {"connection_id":46464,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:55:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46464,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:55:10] local.INFO: Processing buffer {"connection_id":46464,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:55:10] local.INFO: IMEI packet received {"connection_id":46464,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:55:10] local.INFO: IMEI acknowledgment sent {"connection_id":46464,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:55:12] local.INFO: TCP Data received {"connection_id":46464,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:55:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:55:12] local.INFO: Processing buffer {"connection_id":46464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:55:12] local.INFO: Packet analysis {"connection_id":46464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9976"} 
[2026-04-17 08:55:12] local.INFO: Extracted packet for processing {"connection_id":46464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9976"} 
[2026-04-17 08:55:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:55:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757345024001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:55:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:55:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:55:12] 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-04-17 08:55:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776396180000,"timestamp_ms":1776396180000,"timestamp_seconds":1776396180,"priority":1,"record_length":96,"hex_timestamp":"0000019d99769a20"} 
[2026-04-17 08:55:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:55: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-04-17 08:55:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:55: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-04-17 08:55:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:55:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:55:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:55:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:55:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:55:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:55:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:55:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:55:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:55:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757345024001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:55:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:55:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:55:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757345024001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:55:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:55:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:55:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:55:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757345024001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:55:12] local.INFO: DEBUG: GPS processor result {"connection_id":46464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20165,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:55:12] local.INFO: GPS data processed {"connection_id":46464,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:55:12] local.INFO: Acknowledgment sent {"connection_id":46464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:55:29] local.INFO: TCP Data received {"connection_id":46463,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:55:29] local.INFO: Processing buffer {"connection_id":46463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:55:29] local.INFO: Packet analysis {"connection_id":46463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:55:29] local.INFO: Extracted packet for processing {"connection_id":46463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:55:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 08:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757303808001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776396019000,"timestamp_ms":1776396019000,"timestamp_seconds":1776396019,"priority":1,"record_length":96,"hex_timestamp":"0000019d99742538"} 
[2026-04-17 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-04-17 08:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 08:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 08:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:55: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-04-17 08:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757303808001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757303808001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:55:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:55:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757303808001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":46463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:55:29] local.INFO: GPS data processed {"connection_id":46463,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:55:29] local.INFO: Acknowledgment sent {"connection_id":46463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:55:44] local.INFO: TCP Data received {"connection_id":46464,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:55:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:55:44] local.INFO: Processing buffer {"connection_id":46464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:55:44] local.INFO: Packet analysis {"connection_id":46464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9976"} 
[2026-04-17 08:55:44] local.INFO: Extracted packet for processing {"connection_id":46464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9976"} 
[2026-04-17 08:55:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:55:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757345024001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:55:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:55:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:55:44] 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-04-17 08:55:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776396180000,"timestamp_ms":1776396180000,"timestamp_seconds":1776396180,"priority":1,"record_length":96,"hex_timestamp":"0000019d99769a20"} 
[2026-04-17 08:55:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:55:44] 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-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:55: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-04-17 08: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-04-17 08:55:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:55:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:55:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:55:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:55:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46464,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:55:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:55:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:55:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:55:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757345024001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:55:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:55:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:55:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757345024001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:55:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:55:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:55:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:55:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757345024001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:55:44] local.INFO: DEBUG: GPS processor result {"connection_id":46464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20167,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:55:44] local.INFO: GPS data processed {"connection_id":46464,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:55:44] local.INFO: Acknowledgment sent {"connection_id":46464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:55:51] local.INFO: TCP Data received {"connection_id":46465,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:55:51] local.INFO: Processing buffer {"connection_id":46465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:55:51] local.INFO: IMEI packet received {"connection_id":46465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":46465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:55:56] local.INFO: TCP Data received {"connection_id":46465,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46465,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:55:56] local.INFO: Processing buffer {"connection_id":46465,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:55:56] local.INFO: IMEI packet received {"connection_id":46465,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":46465,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:55:57] local.INFO: TCP Data received {"connection_id":46465,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:55:57] local.INFO: Processing buffer {"connection_id":46465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99742538012d7fad4005afe3500000009428..."} 
[2026-04-17 08:55:57] local.INFO: Packet analysis {"connection_id":46465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:55:57] local.INFO: Extracted packet for processing {"connection_id":46465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9974"} 
[2026-04-17 08:55:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757303808001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776396019000,"timestamp_ms":1776396019000,"timestamp_seconds":1776396019,"priority":1,"record_length":96,"hex_timestamp":"0000019d99742538"} 
[2026-04-17 08:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 08:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757303808001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757303808001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:55:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:55:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757303808001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":46465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:55:57] local.INFO: GPS data processed {"connection_id":46465,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:55:57] local.INFO: Acknowledgment sent {"connection_id":46465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:56:10] local.INFO: TCP Data received {"connection_id":45894,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:56:10] local.INFO: Processing buffer {"connection_id":45894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:56:10] local.INFO: IMEI packet received {"connection_id":45894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":45894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:56:17] local.INFO: TCP Data received {"connection_id":45894,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45894,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:56:17] local.INFO: Processing buffer {"connection_id":45894,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:56:17] local.INFO: IMEI packet received {"connection_id":45894,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":45894,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:56:18] local.INFO: TCP Data received {"connection_id":45894,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:56:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:56:19] local.INFO: Processing buffer {"connection_id":45894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:56:19] local.INFO: Packet analysis {"connection_id":45894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9976"} 
[2026-04-17 08:56:19] local.INFO: Extracted packet for processing {"connection_id":45894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9976"} 
[2026-04-17 08:56:19] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:56:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757345024001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:56:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:56:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:56:19] 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-04-17 08:56:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776396180000,"timestamp_ms":1776396180000,"timestamp_seconds":1776396180,"priority":1,"record_length":96,"hex_timestamp":"0000019d99769a20"} 
[2026-04-17 08:56:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:56:19] 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-04-17 08:56:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:56:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:56:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:56:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:56:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:56:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:56:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:56:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:56:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:56:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:56:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:56:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757345024001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:56:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:56:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:56:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757345024001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:56:19] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:56:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:56:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:56:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757345024001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:56:19] local.INFO: DEBUG: GPS processor result {"connection_id":45894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20169,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:56:19] local.INFO: GPS data processed {"connection_id":45894,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:56:19] local.INFO: Acknowledgment sent {"connection_id":45894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:56:28] local.INFO: TCP Data received {"connection_id":46465,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:56:28] local.INFO: Processing buffer {"connection_id":46465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:56:28] local.INFO: Packet analysis {"connection_id":46465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 08:56:28] local.INFO: Extracted packet for processing {"connection_id":46465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 08:56:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:56:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757380864001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:56:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:56:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:56:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:56:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776396320000,"timestamp_ms":1776396320000,"timestamp_seconds":1776396320,"priority":1,"record_length":96,"hex_timestamp":"0000019d9978bd00"} 
[2026-04-17 08:56:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:56:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:56:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:56:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:56:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:56:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:56:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:56:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:56:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:56:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46465,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:56:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:56:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:56:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:56:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757380864001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:56:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:56:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:56:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757380864001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:56:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:56:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:56:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:56:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:56:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757380864001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":46465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:56:28] local.INFO: GPS data processed {"connection_id":46465,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:56:28] local.INFO: Acknowledgment sent {"connection_id":46465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:56:50] local.INFO: TCP Data received {"connection_id":45894,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:56:50] local.INFO: Processing buffer {"connection_id":45894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:56:50] local.INFO: Packet analysis {"connection_id":45894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9976"} 
[2026-04-17 08:56:50] local.INFO: Extracted packet for processing {"connection_id":45894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9976"} 
[2026-04-17 08:56:50] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757345024001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:56:50] 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-04-17 08:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776396180000,"timestamp_ms":1776396180000,"timestamp_seconds":1776396180,"priority":1,"record_length":96,"hex_timestamp":"0000019d99769a20"} 
[2026-04-17 08:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:56:50] 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-04-17 08:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:56:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45894,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757345024001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757345024001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:56:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757345024001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":45894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20171,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:56:50] local.INFO: GPS data processed {"connection_id":45894,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:56:50] local.INFO: Acknowledgment sent {"connection_id":45894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:56:56] local.INFO: TCP Data received {"connection_id":45895,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:56:56] local.INFO: Processing buffer {"connection_id":45895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:56:56] local.INFO: IMEI packet received {"connection_id":45895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":45895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:57:01] local.INFO: TCP Data received {"connection_id":45895,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:57:01] local.INFO: Processing buffer {"connection_id":45895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:57:01] local.INFO: IMEI packet received {"connection_id":45895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":45895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:57:02] local.INFO: TCP Data received {"connection_id":45895,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:57:02] local.INFO: Processing buffer {"connection_id":45895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:57:02] local.INFO: Packet analysis {"connection_id":45895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 08:57:02] local.INFO: Extracted packet for processing {"connection_id":45895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 08:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757380864001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776396320000,"timestamp_ms":1776396320000,"timestamp_seconds":1776396320,"priority":1,"record_length":96,"hex_timestamp":"0000019d9978bd00"} 
[2026-04-17 08:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:57: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-04-17 08:57:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:57:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757380864001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757380864001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:57:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:57:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757380864001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":45895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:57:02] local.INFO: GPS data processed {"connection_id":45895,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:57:02] local.INFO: Acknowledgment sent {"connection_id":45895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:57:07] local.INFO: TCP Data received {"connection_id":45895,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:57:07] local.INFO: Processing buffer {"connection_id":45895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:57:07] local.INFO: Packet analysis {"connection_id":45895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 08:57:07] local.INFO: Extracted packet for processing {"connection_id":45895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 08:57:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757380864001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776396320000,"timestamp_ms":1776396320000,"timestamp_seconds":1776396320,"priority":1,"record_length":96,"hex_timestamp":"0000019d9978bd00"} 
[2026-04-17 08:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:57:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:57:07] 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-04-17 08:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757380864001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757380864001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:57:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:57:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757380864001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":45895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:57:07] local.INFO: GPS data processed {"connection_id":45895,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:57:07] local.INFO: Acknowledgment sent {"connection_id":45895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:57:26] local.INFO: TCP Data received {"connection_id":45896,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:57:26] local.INFO: Processing buffer {"connection_id":45896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:57:26] local.INFO: IMEI packet received {"connection_id":45896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":45896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:57:33] local.INFO: TCP Data received {"connection_id":45896,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45896,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:57:33] local.INFO: Processing buffer {"connection_id":45896,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:57:33] local.INFO: IMEI packet received {"connection_id":45896,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:57:33] local.INFO: IMEI acknowledgment sent {"connection_id":45896,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:57:34] local.INFO: TCP Data received {"connection_id":45896,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:57:34] local.INFO: Processing buffer {"connection_id":45896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:57:34] local.INFO: Packet analysis {"connection_id":45896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9976"} 
[2026-04-17 08:57:34] local.INFO: Extracted packet for processing {"connection_id":45896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9976"} 
[2026-04-17 08:57:34] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757345024001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:57:34] 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-04-17 08:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776396180000,"timestamp_ms":1776396180000,"timestamp_seconds":1776396180,"priority":1,"record_length":96,"hex_timestamp":"0000019d99769a20"} 
[2026-04-17 08:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08: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-04-17 08:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45896,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45896,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757345024001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757345024001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:57:34] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757345024001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":45896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20174,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:57:34] local.INFO: GPS data processed {"connection_id":45896,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:57:34] local.INFO: Acknowledgment sent {"connection_id":45896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:57:35] local.INFO: TCP Data received {"connection_id":45896,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:57:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:57:35] local.INFO: Processing buffer {"connection_id":45896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:57:35] local.INFO: Packet analysis {"connection_id":45896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9976"} 
[2026-04-17 08:57:35] local.INFO: Extracted packet for processing {"connection_id":45896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9976"} 
[2026-04-17 08:57:35] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:57:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757345024001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:57:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:57:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:57:35] 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-04-17 08:57:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776396180000,"timestamp_ms":1776396180000,"timestamp_seconds":1776396180,"priority":1,"record_length":96,"hex_timestamp":"0000019d99769a20"} 
[2026-04-17 08:57:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:57:35] 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-04-17 08:57:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:57:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:57:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:57:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:57:35] local.INFO: Teltonika packet parsed successfully {"connection_id":45896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:57:35] local.INFO: Passing IMEI to GPS processor {"connection_id":45896,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:57:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":45896,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:57:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:57:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:57:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:57:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757345024001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:57:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:57:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:57:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757345024001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:57:35] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:57:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:57:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:57:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757345024001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:57:36] local.INFO: DEBUG: GPS processor result {"connection_id":45896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20175,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:57:36] local.INFO: GPS data processed {"connection_id":45896,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:57:36] local.INFO: Acknowledgment sent {"connection_id":45896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:57:52] local.INFO: TCP Data received {"connection_id":45636,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:57:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:57:52] local.INFO: Processing buffer {"connection_id":45636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:57:52] local.INFO: IMEI packet received {"connection_id":45636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:57:52] local.INFO: IMEI acknowledgment sent {"connection_id":45636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:57:56] local.INFO: TCP Data received {"connection_id":45636,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:57:56] local.INFO: Processing buffer {"connection_id":45636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:57:56] local.INFO: IMEI packet received {"connection_id":45636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":45636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:57:58] local.INFO: TCP Data received {"connection_id":45636,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:57:58] local.INFO: Processing buffer {"connection_id":45636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:57:58] local.INFO: Packet analysis {"connection_id":45636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 08:57:58] local.INFO: Extracted packet for processing {"connection_id":45636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 08:57:58] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757380864001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776396320000,"timestamp_ms":1776396320000,"timestamp_seconds":1776396320,"priority":1,"record_length":96,"hex_timestamp":"0000019d9978bd00"} 
[2026-04-17 08:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757380864001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757380864001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:57:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:57:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757380864001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":45636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20176,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:57:58] local.INFO: GPS data processed {"connection_id":45636,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:57:58] local.INFO: Acknowledgment sent {"connection_id":45636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:58:02] local.INFO: TCP Data received {"connection_id":45636,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:58:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:58:02] local.INFO: Processing buffer {"connection_id":45636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:58:02] local.INFO: Packet analysis {"connection_id":45636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 08:58:02] local.INFO: Extracted packet for processing {"connection_id":45636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 08:58:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:58:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757380864001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:58:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:58:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:58:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:58:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776396320000,"timestamp_ms":1776396320000,"timestamp_seconds":1776396320,"priority":1,"record_length":96,"hex_timestamp":"0000019d9978bd00"} 
[2026-04-17 08:58:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:58: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-04-17 08:58:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:58:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:58:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:58:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:58:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:58:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:58:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:58:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:58:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:58:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:58:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:58:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757380864001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:58:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:58:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:58:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757380864001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:58:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:58:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:58:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:58:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:58:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757380864001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:58:02] local.INFO: DEBUG: GPS processor result {"connection_id":45636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:58:02] local.INFO: GPS data processed {"connection_id":45636,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:58:02] local.INFO: Acknowledgment sent {"connection_id":45636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:58:06] local.INFO: TCP Data received {"connection_id":45897,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:58:06] local.INFO: Processing buffer {"connection_id":45897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:58:06] local.INFO: IMEI packet received {"connection_id":45897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":45897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:58:10] local.INFO: TCP Data received {"connection_id":45897,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:58:10] local.INFO: Processing buffer {"connection_id":45897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:58:10] local.INFO: IMEI packet received {"connection_id":45897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":45897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:58:12] local.INFO: TCP Data received {"connection_id":45897,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:58:12] local.INFO: Processing buffer {"connection_id":45897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99769a20012d1b598006d4d5980011013831..."} 
[2026-04-17 08:58:12] local.INFO: Packet analysis {"connection_id":45897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9976"} 
[2026-04-17 08:58:12] local.INFO: Extracted packet for processing {"connection_id":45897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9976"} 
[2026-04-17 08:58:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757345024001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:58:12] 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-04-17 08:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776396180000,"timestamp_ms":1776396180000,"timestamp_seconds":1776396180,"priority":1,"record_length":96,"hex_timestamp":"0000019d99769a20"} 
[2026-04-17 08:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:58: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-04-17 08:58:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:58: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-04-17 08:58:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757345024001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757345024001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:58:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757345024001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":45897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20178,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:58:12] local.INFO: GPS data processed {"connection_id":45897,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:58:12] local.INFO: Acknowledgment sent {"connection_id":45897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:58:33] local.INFO: TCP Data received {"connection_id":45636,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:58:33] local.INFO: Processing buffer {"connection_id":45636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:58:33] local.INFO: Packet analysis {"connection_id":45636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 08:58:33] local.INFO: Extracted packet for processing {"connection_id":45636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 08:58:33] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757380864001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:58:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776396320000,"timestamp_ms":1776396320000,"timestamp_seconds":1776396320,"priority":1,"record_length":96,"hex_timestamp":"0000019d9978bd00"} 
[2026-04-17 08:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:58:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757380864001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757380864001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:58:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:58:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757380864001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":45636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:58:33] local.INFO: GPS data processed {"connection_id":45636,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:58:33] local.INFO: Acknowledgment sent {"connection_id":45636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:58:51] local.INFO: TCP Data received {"connection_id":45898,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:58:51] local.INFO: Processing buffer {"connection_id":45898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:58:51] local.INFO: IMEI packet received {"connection_id":45898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":45898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:58:52] local.INFO: TCP Data received {"connection_id":45897,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:58:52] local.INFO: Processing buffer {"connection_id":45897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:58:52] local.INFO: Packet analysis {"connection_id":45897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997b"} 
[2026-04-17 08:58:52] local.INFO: Extracted packet for processing {"connection_id":45897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997b"} 
[2026-04-17 08:58:52] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757422080001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:58:52] 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-04-17 08:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776396481000,"timestamp_ms":1776396481000,"timestamp_seconds":1776396481,"priority":1,"record_length":96,"hex_timestamp":"0000019d997b31e8"} 
[2026-04-17 08:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:58:52] 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-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:58:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":45897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":45897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":45897,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757422080001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757422080001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:58:52] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757422080001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":45897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20180,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:58:52] local.INFO: GPS data processed {"connection_id":45897,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:58:52] local.INFO: Acknowledgment sent {"connection_id":45897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:58:56] local.INFO: TCP Data received {"connection_id":45898,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:58:56] local.INFO: Processing buffer {"connection_id":45898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:58:56] local.INFO: IMEI packet received {"connection_id":45898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":45898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:58:57] local.INFO: TCP Data received {"connection_id":45898,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:58:57] local.INFO: Processing buffer {"connection_id":45898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:58:57] local.INFO: Packet analysis {"connection_id":45898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 08:58:57] local.INFO: Extracted packet for processing {"connection_id":45898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 08:58:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:58: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-04-17 08:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757380864001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776396320000,"timestamp_ms":1776396320000,"timestamp_seconds":1776396320,"priority":1,"record_length":96,"hex_timestamp":"0000019d9978bd00"} 
[2026-04-17 08:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:58: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-04-17 08:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:58:57] 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-04-17 08:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757380864001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757380864001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:58:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:58:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757380864001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":45898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:58:57] local.INFO: GPS data processed {"connection_id":45898,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:58:57] local.INFO: Acknowledgment sent {"connection_id":45898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:59:11] local.INFO: TCP Data received {"connection_id":46466,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:59:11] local.INFO: Processing buffer {"connection_id":46466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:59:11] local.INFO: IMEI packet received {"connection_id":46466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 08:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":46466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:59:19] local.INFO: TCP Data received {"connection_id":46466,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46466,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:59:19] local.INFO: Processing buffer {"connection_id":46466,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 08:59:19] local.INFO: IMEI packet received {"connection_id":46466,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 08:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":46466,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:59:20] local.INFO: TCP Data received {"connection_id":46466,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:59:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:59:20] local.INFO: Processing buffer {"connection_id":46466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:59:20] local.INFO: Packet analysis {"connection_id":46466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997b"} 
[2026-04-17 08:59:20] local.INFO: Extracted packet for processing {"connection_id":46466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997b"} 
[2026-04-17 08:59:20] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:59:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757422080001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:59:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:59:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:59:20] 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-04-17 08:59:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776396481000,"timestamp_ms":1776396481000,"timestamp_seconds":1776396481,"priority":1,"record_length":96,"hex_timestamp":"0000019d997b31e8"} 
[2026-04-17 08:59:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:59:20] 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-04-17 08:59:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:59:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:59:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:59:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:59:20] local.INFO: Teltonika packet parsed successfully {"connection_id":46466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:59:20] local.INFO: Passing IMEI to GPS processor {"connection_id":46466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:59:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":46466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:59:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:59:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:59:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:59:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757422080001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:59:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:59:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:59:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757422080001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:59:20] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:59:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:59:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:59:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757422080001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:59:20] local.INFO: DEBUG: GPS processor result {"connection_id":46466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20182,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:59:20] local.INFO: GPS data processed {"connection_id":46466,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:59:20] local.INFO: Acknowledgment sent {"connection_id":46466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:59:21] local.INFO: TCP Data received {"connection_id":46466,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:59:21] local.INFO: Processing buffer {"connection_id":46466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 08:59:21] local.INFO: Packet analysis {"connection_id":46466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997b"} 
[2026-04-17 08:59:21] local.INFO: Extracted packet for processing {"connection_id":46466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997b"} 
[2026-04-17 08:59:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 08: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-04-17 08:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757422080001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 08:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 08:59:21] 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-04-17 08:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776396481000,"timestamp_ms":1776396481000,"timestamp_seconds":1776396481,"priority":1,"record_length":96,"hex_timestamp":"0000019d997b31e8"} 
[2026-04-17 08:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:59:21] 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-04-17 08: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 08:59:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46466,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 08:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 08:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 08:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757422080001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 08:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 08:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 08:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757422080001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:59:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 08:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 08:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757422080001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 08:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":46466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20183,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:59:21] local.INFO: GPS data processed {"connection_id":46466,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:59:21] local.INFO: Acknowledgment sent {"connection_id":46466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:59:28] local.INFO: TCP Data received {"connection_id":45898,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:59:28] local.INFO: Processing buffer {"connection_id":45898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:59:28] local.INFO: Packet analysis {"connection_id":45898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 08:59:28] local.INFO: Extracted packet for processing {"connection_id":45898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 08:59:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757380864001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776396320000,"timestamp_ms":1776396320000,"timestamp_seconds":1776396320,"priority":1,"record_length":96,"hex_timestamp":"0000019d9978bd00"} 
[2026-04-17 08:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08: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-04-17 08:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:59:28] 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-04-17 08:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757380864001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757380864001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:59:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:59:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757380864001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":45898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:59:28] local.INFO: GPS data processed {"connection_id":45898,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:59:28] local.INFO: Acknowledgment sent {"connection_id":45898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 08:59:51] local.INFO: TCP Data received {"connection_id":46467,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:59:51] local.INFO: Processing buffer {"connection_id":46467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:59:51] local.INFO: IMEI packet received {"connection_id":46467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 08:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":46467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 08:59:56] local.INFO: TCP Data received {"connection_id":46467,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:59:56] local.INFO: Processing buffer {"connection_id":46467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 08:59:56] local.INFO: IMEI packet received {"connection_id":46467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 08:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":46467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 08:59:57] local.INFO: TCP Data received {"connection_id":46467,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:59:57] local.INFO: Processing buffer {"connection_id":46467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 08:59:57] local.INFO: Packet analysis {"connection_id":46467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 08:59:57] local.INFO: Extracted packet for processing {"connection_id":46467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 08:59:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 08:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 08:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757380864001,"note":"Value kept but may cause issues"} 
[2026-04-17 08:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 08:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 08:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 08:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776396320000,"timestamp_ms":1776396320000,"timestamp_seconds":1776396320,"priority":1,"record_length":96,"hex_timestamp":"0000019d9978bd00"} 
[2026-04-17 08:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 08:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 08:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 08:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 08:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 08:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 08:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 08:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 08:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 08:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 08:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 08:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 08:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757380864001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 08:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 08:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 08:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757380864001,"description":"Unknown IO ID 0"} 
[2026-04-17 08:59:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 08:59:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 08:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 08:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 08:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757380864001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 08:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":46467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 08:59:57] local.INFO: GPS data processed {"connection_id":46467,"processed":1,"errors":0,"total":1} 
[2026-04-17 08:59:57] local.INFO: Acknowledgment sent {"connection_id":46467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:00:13] local.INFO: TCP Data received {"connection_id":45637,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:00:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:00:13] local.INFO: Processing buffer {"connection_id":45637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:00:13] local.INFO: IMEI packet received {"connection_id":45637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:00:13] local.INFO: IMEI acknowledgment sent {"connection_id":45637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:00:15] local.INFO: TCP Data received {"connection_id":45637,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45637,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:00:15] local.INFO: Processing buffer {"connection_id":45637,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:00:15] local.INFO: IMEI packet received {"connection_id":45637,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":45637,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:00:17] local.INFO: TCP Data received {"connection_id":45637,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 09:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 09:00:17] local.INFO: Processing buffer {"connection_id":45637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 09:00:17] local.INFO: Packet analysis {"connection_id":45637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997b"} 
[2026-04-17 09:00:17] local.INFO: Extracted packet for processing {"connection_id":45637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997b"} 
[2026-04-17 09:00:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757422080001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:00:17] 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-04-17 09:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776396481000,"timestamp_ms":1776396481000,"timestamp_seconds":1776396481,"priority":1,"record_length":96,"hex_timestamp":"0000019d997b31e8"} 
[2026-04-17 09:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:00:17] 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-04-17 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 09:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757422080001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757422080001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:00:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757422080001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":45637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20186,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:00:17] local.INFO: GPS data processed {"connection_id":45637,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:00:17] local.INFO: Acknowledgment sent {"connection_id":45637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:00:21] local.INFO: TCP Data received {"connection_id":45637,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 09:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 09:00:21] local.INFO: Processing buffer {"connection_id":45637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 09:00:21] local.INFO: Packet analysis {"connection_id":45637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997b"} 
[2026-04-17 09:00:21] local.INFO: Extracted packet for processing {"connection_id":45637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997b"} 
[2026-04-17 09:00:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:00: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-04-17 09:00:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757422080001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:00:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:00:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:00:21] 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-04-17 09:00:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776396481000,"timestamp_ms":1776396481000,"timestamp_seconds":1776396481,"priority":1,"record_length":96,"hex_timestamp":"0000019d997b31e8"} 
[2026-04-17 09:00:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:00:21] 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-04-17 09:00:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 09:00:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:00: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-04-17 09:00:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:00:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:00:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:00:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:00:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45637,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:00:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:00:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:00:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:00:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757422080001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:00:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:00:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:00:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757422080001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:00:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:00:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:00:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:00:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757422080001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:00:21] local.INFO: DEBUG: GPS processor result {"connection_id":45637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20187,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:00:21] local.INFO: GPS data processed {"connection_id":45637,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:00:21] local.INFO: Acknowledgment sent {"connection_id":45637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:00:28] local.INFO: TCP Data received {"connection_id":46467,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 09:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 09:00:28] local.INFO: Processing buffer {"connection_id":46467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 09:00:28] local.INFO: Packet analysis {"connection_id":46467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 09:00:28] local.INFO: Extracted packet for processing {"connection_id":46467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 09:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757380864001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776396320000,"timestamp_ms":1776396320000,"timestamp_seconds":1776396320,"priority":1,"record_length":96,"hex_timestamp":"0000019d9978bd00"} 
[2026-04-17 09:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757380864001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757380864001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:00:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:00:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757380864001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":46467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:00:28] local.INFO: GPS data processed {"connection_id":46467,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:00:28] local.INFO: Acknowledgment sent {"connection_id":46467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:00:51] local.INFO: TCP Data received {"connection_id":45638,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:00:51] local.INFO: Processing buffer {"connection_id":45638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:00:51] local.INFO: IMEI packet received {"connection_id":45638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":45638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:00:56] local.INFO: TCP Data received {"connection_id":45638,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45638,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:00:56] local.INFO: Processing buffer {"connection_id":45638,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:00:56] local.INFO: IMEI packet received {"connection_id":45638,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":45638,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:00:57] local.INFO: TCP Data received {"connection_id":45638,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 09:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 09:00:57] local.INFO: Processing buffer {"connection_id":45638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9978bd00012d7fad4005afe3500000009429..."} 
[2026-04-17 09:00:57] local.INFO: Packet analysis {"connection_id":45638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 09:00:57] local.INFO: Extracted packet for processing {"connection_id":45638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9978"} 
[2026-04-17 09:00:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":41,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757380864001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776396320000,"timestamp_ms":1776396320000,"timestamp_seconds":1776396320,"priority":1,"record_length":96,"hex_timestamp":"0000019d9978bd00"} 
[2026-04-17 09:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757380864001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757380864001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:00:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:00:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757380864001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":45638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:00:57] local.INFO: GPS data processed {"connection_id":45638,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:00:57] local.INFO: Acknowledgment sent {"connection_id":45638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:01:05] local.INFO: TCP Data received {"connection_id":45899,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:01:05] local.INFO: Processing buffer {"connection_id":45899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:01:05] local.INFO: IMEI packet received {"connection_id":45899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":45899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:01:28] local.INFO: TCP Data received {"connection_id":45638,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:01:28] local.INFO: Processing buffer {"connection_id":45638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:01:28] local.INFO: Packet analysis {"connection_id":45638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:01:28] local.INFO: Extracted packet for processing {"connection_id":45638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:01:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757457920001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776396621000,"timestamp_ms":1776396621000,"timestamp_seconds":1776396621,"priority":1,"record_length":96,"hex_timestamp":"0000019d997d54c8"} 
[2026-04-17 09:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45638,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757457920001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757457920001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:01:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:01:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757457920001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":45638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:01:28] local.INFO: GPS data processed {"connection_id":45638,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:01:28] local.INFO: Acknowledgment sent {"connection_id":45638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:01:44] local.INFO: TCP Data received {"connection_id":45899,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:01:44] local.INFO: Processing buffer {"connection_id":45899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:01:44] local.INFO: IMEI packet received {"connection_id":45899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:01:44] local.INFO: IMEI acknowledgment sent {"connection_id":45899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:01:45] local.INFO: TCP Data received {"connection_id":45899,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:01:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:01:45] local.INFO: Processing buffer {"connection_id":45899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:01:45] local.INFO: IMEI packet received {"connection_id":45899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:01:45] local.INFO: IMEI acknowledgment sent {"connection_id":45899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:01:46] local.INFO: TCP Data received {"connection_id":45899,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 09:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 09:01:46] local.INFO: Processing buffer {"connection_id":45899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 09:01:46] local.INFO: Packet analysis {"connection_id":45899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997b"} 
[2026-04-17 09:01:46] local.INFO: Extracted packet for processing {"connection_id":45899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997b"} 
[2026-04-17 09:01:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:01:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757422080001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:01:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:01:46] 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-04-17 09:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776396481000,"timestamp_ms":1776396481000,"timestamp_seconds":1776396481,"priority":1,"record_length":96,"hex_timestamp":"0000019d997b31e8"} 
[2026-04-17 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-04-17 09:01:46] 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-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 09:01:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757422080001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757422080001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:01:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:01:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:01:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757422080001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:01:46] local.INFO: DEBUG: GPS processor result {"connection_id":45899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20191,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:01:46] local.INFO: GPS data processed {"connection_id":45899,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:01:46] local.INFO: Acknowledgment sent {"connection_id":45899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:01:47] local.INFO: TCP Data received {"connection_id":45899,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 09:01:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 09:01:47] local.INFO: Processing buffer {"connection_id":45899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997b31e8012d1b598006d4d5980011013831..."} 
[2026-04-17 09:01:47] local.INFO: Packet analysis {"connection_id":45899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997b"} 
[2026-04-17 09:01:47] local.INFO: Extracted packet for processing {"connection_id":45899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997b"} 
[2026-04-17 09:01:47] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:01:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757422080001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:01:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:01:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:01:47] 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-04-17 09:01:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776396481000,"timestamp_ms":1776396481000,"timestamp_seconds":1776396481,"priority":1,"record_length":96,"hex_timestamp":"0000019d997b31e8"} 
[2026-04-17 09:01:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:01:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:01:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 09:01:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:01:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:01:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:01:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:01:47] local.INFO: Teltonika packet parsed successfully {"connection_id":45899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:01:47] local.INFO: Passing IMEI to GPS processor {"connection_id":45899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:01:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":45899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:01:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:01:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:01:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:01:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757422080001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:01:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:01:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:01:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757422080001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:01:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:01:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:01:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:01:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757422080001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":45899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20192,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:01:47] local.INFO: GPS data processed {"connection_id":45899,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:01:47] local.INFO: Acknowledgment sent {"connection_id":45899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:01:51] local.INFO: TCP Data received {"connection_id":46468,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:01:51] local.INFO: Processing buffer {"connection_id":46468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:01:51] local.INFO: IMEI packet received {"connection_id":46468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":46468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:01:56] local.INFO: TCP Data received {"connection_id":46468,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46468,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:01:56] local.INFO: Processing buffer {"connection_id":46468,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:01:56] local.INFO: IMEI packet received {"connection_id":46468,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":46468,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:01:57] local.INFO: TCP Data received {"connection_id":46468,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:01:57] local.INFO: Processing buffer {"connection_id":46468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:01:57] local.INFO: Packet analysis {"connection_id":46468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:01:57] local.INFO: Extracted packet for processing {"connection_id":46468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:01:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757457920001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776396621000,"timestamp_ms":1776396621000,"timestamp_seconds":1776396621,"priority":1,"record_length":96,"hex_timestamp":"0000019d997d54c8"} 
[2026-04-17 09:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:01:57] 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-04-17 09:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757457920001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757457920001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:01:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:01:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757457920001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":46468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:01:57] local.INFO: GPS data processed {"connection_id":46468,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:01:57] local.INFO: Acknowledgment sent {"connection_id":46468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:02:28] local.INFO: TCP Data received {"connection_id":46468,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:02:28] local.INFO: Processing buffer {"connection_id":46468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:02:28] local.INFO: Packet analysis {"connection_id":46468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:02:28] local.INFO: Extracted packet for processing {"connection_id":46468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:02:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757457920001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776396621000,"timestamp_ms":1776396621000,"timestamp_seconds":1776396621,"priority":1,"record_length":96,"hex_timestamp":"0000019d997d54c8"} 
[2026-04-17 09:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:02:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46468,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757457920001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757457920001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:02:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:02:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757457920001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":46468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:02:28] local.INFO: GPS data processed {"connection_id":46468,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:02:28] local.INFO: Acknowledgment sent {"connection_id":46468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:02:51] local.INFO: TCP Data received {"connection_id":45713,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:02:51] local.INFO: Processing buffer {"connection_id":45713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:02:51] local.INFO: IMEI packet received {"connection_id":45713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":45713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:02:56] local.INFO: TCP Data received {"connection_id":45713,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:02:56] local.INFO: Processing buffer {"connection_id":45713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:02:56] local.INFO: IMEI packet received {"connection_id":45713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":45713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:02:57] local.INFO: TCP Data received {"connection_id":45713,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:02:57] local.INFO: Processing buffer {"connection_id":45713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:02:57] local.INFO: Packet analysis {"connection_id":45713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:02:57] local.INFO: Extracted packet for processing {"connection_id":45713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:02:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757457920001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776396621000,"timestamp_ms":1776396621000,"timestamp_seconds":1776396621,"priority":1,"record_length":96,"hex_timestamp":"0000019d997d54c8"} 
[2026-04-17 09:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757457920001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757457920001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:02:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:02:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757457920001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":45713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20195,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:02:57] local.INFO: GPS data processed {"connection_id":45713,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:02:57] local.INFO: Acknowledgment sent {"connection_id":45713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:03:00] local.INFO: TCP Data received {"connection_id":45712,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:03:00] local.INFO: Processing buffer {"connection_id":45712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:03:00] local.INFO: IMEI packet received {"connection_id":45712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":45712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:03:01] local.INFO: TCP Data received {"connection_id":45712,"ip":"117.224.17.214","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 09:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45712,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 09:03:01] local.INFO: Processing buffer {"connection_id":45712,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 09:03:01] local.INFO: IMEI packet received {"connection_id":45712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":45712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:03:05] local.INFO: TCP Data received {"connection_id":45900,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:03:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45900,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:03:05] local.INFO: Processing buffer {"connection_id":45900,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:03:05] local.INFO: IMEI packet received {"connection_id":45900,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:03:05] local.INFO: IMEI acknowledgment sent {"connection_id":45900,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:03:28] local.INFO: TCP Data received {"connection_id":45713,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:03:28] local.INFO: Processing buffer {"connection_id":45713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:03:28] local.INFO: Packet analysis {"connection_id":45713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:03:28] local.INFO: Extracted packet for processing {"connection_id":45713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:03:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757457920001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776396621000,"timestamp_ms":1776396621000,"timestamp_seconds":1776396621,"priority":1,"record_length":96,"hex_timestamp":"0000019d997d54c8"} 
[2026-04-17 09:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:03:28] 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-04-17 09:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757457920001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757457920001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:03:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:03:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757457920001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":45713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:03:28] local.INFO: GPS data processed {"connection_id":45713,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:03:28] local.INFO: Acknowledgment sent {"connection_id":45713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:03:51] local.INFO: TCP Data received {"connection_id":45639,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:03:51] local.INFO: Processing buffer {"connection_id":45639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:03:51] local.INFO: IMEI packet received {"connection_id":45639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":45639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:03:56] local.INFO: TCP Data received {"connection_id":45639,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45639,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:03:56] local.INFO: Processing buffer {"connection_id":45639,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:03:56] local.INFO: IMEI packet received {"connection_id":45639,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":45639,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:03:58] local.INFO: TCP Data received {"connection_id":45639,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:03:58] local.INFO: Processing buffer {"connection_id":45639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:03:58] local.INFO: Packet analysis {"connection_id":45639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:03:58] local.INFO: Extracted packet for processing {"connection_id":45639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757457920001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776396621000,"timestamp_ms":1776396621000,"timestamp_seconds":1776396621,"priority":1,"record_length":96,"hex_timestamp":"0000019d997d54c8"} 
[2026-04-17 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-04-17 09:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757457920001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757457920001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:03:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:03:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757457920001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":45639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:03:58] local.INFO: GPS data processed {"connection_id":45639,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:03:58] local.INFO: Acknowledgment sent {"connection_id":45639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:04:02] local.INFO: TCP Data received {"connection_id":45639,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:04:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:04:02] local.INFO: Processing buffer {"connection_id":45639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:04:02] local.INFO: Packet analysis {"connection_id":45639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:04:02] local.INFO: Extracted packet for processing {"connection_id":45639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:04:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:04:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757457920001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:04:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:04:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:04:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:04:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776396621000,"timestamp_ms":1776396621000,"timestamp_seconds":1776396621,"priority":1,"record_length":96,"hex_timestamp":"0000019d997d54c8"} 
[2026-04-17 09:04:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:04:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:04:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:04:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:04:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:04:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:04:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:04:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:04:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:04:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:04:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:04:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:04:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:04:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757457920001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:04:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:04:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:04:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757457920001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:04:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:04:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:04:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:04:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:04:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757457920001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:04:02] local.INFO: DEBUG: GPS processor result {"connection_id":45639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:04:02] local.INFO: GPS data processed {"connection_id":45639,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:04:02] local.INFO: Acknowledgment sent {"connection_id":45639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:04:32] local.INFO: TCP Data received {"connection_id":45639,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:04:32] local.INFO: Processing buffer {"connection_id":45639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:04:32] local.INFO: Packet analysis {"connection_id":45639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:04:32] local.INFO: Extracted packet for processing {"connection_id":45639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:04:32] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757457920001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776396621000,"timestamp_ms":1776396621000,"timestamp_seconds":1776396621,"priority":1,"record_length":96,"hex_timestamp":"0000019d997d54c8"} 
[2026-04-17 09:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:04:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45639,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757457920001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757457920001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:04:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:04:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757457920001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:04:32] local.INFO: DEBUG: GPS processor result {"connection_id":45639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:04:32] local.INFO: GPS data processed {"connection_id":45639,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:04:32] local.INFO: Acknowledgment sent {"connection_id":45639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:04:51] local.INFO: TCP Data received {"connection_id":45641,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:04:51] local.INFO: Processing buffer {"connection_id":45641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:04:51] local.INFO: IMEI packet received {"connection_id":45641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":45641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:04:56] local.INFO: TCP Data received {"connection_id":45641,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45641,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:04:56] local.INFO: Processing buffer {"connection_id":45641,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:04:56] local.INFO: IMEI packet received {"connection_id":45641,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":45641,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:04:57] local.INFO: TCP Data received {"connection_id":45641,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:04:57] local.INFO: Processing buffer {"connection_id":45641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:04:57] local.INFO: Packet analysis {"connection_id":45641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:04:57] local.INFO: Extracted packet for processing {"connection_id":45641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:04:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757457920001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776396621000,"timestamp_ms":1776396621000,"timestamp_seconds":1776396621,"priority":1,"record_length":96,"hex_timestamp":"0000019d997d54c8"} 
[2026-04-17 09:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:04:57] 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-04-17 09:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757457920001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757457920001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:04:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:04:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757457920001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":45641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:04:57] local.INFO: GPS data processed {"connection_id":45641,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:04:57] local.INFO: Acknowledgment sent {"connection_id":45641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:05:28] local.INFO: TCP Data received {"connection_id":45641,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:05:28] local.INFO: Processing buffer {"connection_id":45641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:05:28] local.INFO: Packet analysis {"connection_id":45641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:05:28] local.INFO: Extracted packet for processing {"connection_id":45641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:05:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757457920001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776396621000,"timestamp_ms":1776396621000,"timestamp_seconds":1776396621,"priority":1,"record_length":96,"hex_timestamp":"0000019d997d54c8"} 
[2026-04-17 09:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45641,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:05:28] 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-04-17 09:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757457920001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757457920001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:05:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:05:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757457920001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":45641,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:05:28] local.INFO: GPS data processed {"connection_id":45641,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:05:28] local.INFO: Acknowledgment sent {"connection_id":45641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:05:51] local.INFO: TCP Data received {"connection_id":45901,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:05:51] local.INFO: Processing buffer {"connection_id":45901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:05:51] local.INFO: IMEI packet received {"connection_id":45901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":45901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:05:56] local.INFO: TCP Data received {"connection_id":45901,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:05:56] local.INFO: Processing buffer {"connection_id":45901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:05:56] local.INFO: IMEI packet received {"connection_id":45901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":45901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:05:57] local.INFO: TCP Data received {"connection_id":45901,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:05:57] local.INFO: Processing buffer {"connection_id":45901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997d54c8012d7fad4005afe350000000942c..."} 
[2026-04-17 09:05:57] local.INFO: Packet analysis {"connection_id":45901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:05:57] local.INFO: Extracted packet for processing {"connection_id":45901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997d"} 
[2026-04-17 09:05:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":44,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757457920001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776396621000,"timestamp_ms":1776396621000,"timestamp_seconds":1776396621,"priority":1,"record_length":96,"hex_timestamp":"0000019d997d54c8"} 
[2026-04-17 09:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757457920001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757457920001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:05:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:05:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757457920001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":45901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:05:57] local.INFO: GPS data processed {"connection_id":45901,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:05:57] local.INFO: Acknowledgment sent {"connection_id":45901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:06:28] local.INFO: TCP Data received {"connection_id":45901,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:06:28] local.INFO: Processing buffer {"connection_id":45901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:06:28] local.INFO: Packet analysis {"connection_id":45901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:06:28] local.INFO: Extracted packet for processing {"connection_id":45901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:06:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757534976001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776396922000,"timestamp_ms":1776396922000,"timestamp_seconds":1776396922,"priority":1,"record_length":96,"hex_timestamp":"0000019d9981ec90"} 
[2026-04-17 09:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757534976001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757534976001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:06:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:06:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757534976001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":45901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:06:28] local.INFO: GPS data processed {"connection_id":45901,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:06:28] local.INFO: Acknowledgment sent {"connection_id":45901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:06:51] local.INFO: TCP Data received {"connection_id":45902,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:06:51] local.INFO: Processing buffer {"connection_id":45902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:06:51] local.INFO: IMEI packet received {"connection_id":45902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":45902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:06:56] local.INFO: TCP Data received {"connection_id":45902,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:06:56] local.INFO: Processing buffer {"connection_id":45902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:06:56] local.INFO: IMEI packet received {"connection_id":45902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":45902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:06:57] local.INFO: TCP Data received {"connection_id":45902,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:06:57] local.INFO: Processing buffer {"connection_id":45902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:06:57] local.INFO: Packet analysis {"connection_id":45902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:06:57] local.INFO: Extracted packet for processing {"connection_id":45902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:06:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757534976001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776396922000,"timestamp_ms":1776396922000,"timestamp_seconds":1776396922,"priority":1,"record_length":96,"hex_timestamp":"0000019d9981ec90"} 
[2026-04-17 09:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757534976001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757534976001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:06:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:06:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757534976001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":45902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:06:57] local.INFO: GPS data processed {"connection_id":45902,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:06:57] local.INFO: Acknowledgment sent {"connection_id":45902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:07:28] local.INFO: TCP Data received {"connection_id":45902,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:07:28] local.INFO: Processing buffer {"connection_id":45902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:07:28] local.INFO: Packet analysis {"connection_id":45902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:07:28] local.INFO: Extracted packet for processing {"connection_id":45902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757534976001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776396922000,"timestamp_ms":1776396922000,"timestamp_seconds":1776396922,"priority":1,"record_length":96,"hex_timestamp":"0000019d9981ec90"} 
[2026-04-17 09:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757534976001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757534976001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:07:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757534976001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":45902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20205,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:07:28] local.INFO: GPS data processed {"connection_id":45902,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:07:28] local.INFO: Acknowledgment sent {"connection_id":45902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:07:51] local.INFO: TCP Data received {"connection_id":45643,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:07:51] local.INFO: Processing buffer {"connection_id":45643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:07:51] local.INFO: IMEI packet received {"connection_id":45643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":45643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:07:56] local.INFO: TCP Data received {"connection_id":45643,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45643,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:07:56] local.INFO: Processing buffer {"connection_id":45643,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:07:56] local.INFO: IMEI packet received {"connection_id":45643,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":45643,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:07:57] local.INFO: TCP Data received {"connection_id":45643,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:07:57] local.INFO: Processing buffer {"connection_id":45643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:07:57] local.INFO: Packet analysis {"connection_id":45643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:07:57] local.INFO: Extracted packet for processing {"connection_id":45643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:07:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757534976001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776396922000,"timestamp_ms":1776396922000,"timestamp_seconds":1776396922,"priority":1,"record_length":96,"hex_timestamp":"0000019d9981ec90"} 
[2026-04-17 09:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757534976001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757534976001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:07:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757534976001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":45643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:07:57] local.INFO: GPS data processed {"connection_id":45643,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:07:57] local.INFO: Acknowledgment sent {"connection_id":45643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:08:10] local.INFO: TCP Data received {"connection_id":45903,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:08:10] local.INFO: Processing buffer {"connection_id":45903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:08:10] local.INFO: IMEI packet received {"connection_id":45903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":45903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:08:12] local.INFO: TCP Data received {"connection_id":45903,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d997fc9b0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:08:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d997fc9b0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:08:12] local.INFO: Processing buffer {"connection_id":45903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d997fc9b0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:08:12] local.INFO: Packet analysis {"connection_id":45903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d997f"} 
[2026-04-17 09:08:12] local.INFO: Extracted packet for processing {"connection_id":45903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d997f"} 
[2026-04-17 09:08:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:08:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757499136001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:08:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:08:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:08:12] 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-04-17 09:08:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776396782000,"timestamp_ms":1776396782000,"timestamp_seconds":1776396782,"priority":1,"record_length":96,"hex_timestamp":"0000019d997fc9b0"} 
[2026-04-17 09:08:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:08: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-04-17 09:08:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:08:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:08:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:08:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:08:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:08:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:08:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:08:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:08:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:08:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:08:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:08:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757499136001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:08:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:08:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:08:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757499136001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:08:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:08:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:08:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:08:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757499136001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:08:12] local.INFO: DEBUG: GPS processor result {"connection_id":45903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:08:12] local.INFO: GPS data processed {"connection_id":45903,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:08:12] local.INFO: Acknowledgment sent {"connection_id":45903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:08:28] local.INFO: TCP Data received {"connection_id":45643,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:08:28] local.INFO: Processing buffer {"connection_id":45643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:08:28] local.INFO: Packet analysis {"connection_id":45643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:08:28] local.INFO: Extracted packet for processing {"connection_id":45643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:08:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757534976001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776396922000,"timestamp_ms":1776396922000,"timestamp_seconds":1776396922,"priority":1,"record_length":96,"hex_timestamp":"0000019d9981ec90"} 
[2026-04-17 09:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45643,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757534976001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757534976001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:08:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:08:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757534976001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":45643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:08:28] local.INFO: GPS data processed {"connection_id":45643,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:08:28] local.INFO: Acknowledgment sent {"connection_id":45643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:08:43] local.INFO: TCP Data received {"connection_id":45903,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99846178012d1b598006d4d5980011013831..."} 
[2026-04-17 09:08:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99846178012d1b598006d4d5980011013831..."} 
[2026-04-17 09:08:43] local.INFO: Processing buffer {"connection_id":45903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99846178012d1b598006d4d5980011013831..."} 
[2026-04-17 09:08:43] local.INFO: Packet analysis {"connection_id":45903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9984"} 
[2026-04-17 09:08:43] local.INFO: Extracted packet for processing {"connection_id":45903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9984"} 
[2026-04-17 09:08:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:08:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757576192001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:08:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:08:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:08:43] 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-04-17 09:08:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776397083000,"timestamp_ms":1776397083000,"timestamp_seconds":1776397083,"priority":1,"record_length":96,"hex_timestamp":"0000019d99846178"} 
[2026-04-17 09:08:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:08:43] 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-04-17 09:08:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 09:08: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-04-17 09:08:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:08:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:08:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:08:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:08:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:08:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45903,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:08:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:08:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:08:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:08:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757576192001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:08:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:08:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:08:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757576192001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:08:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:08:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:08:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:08:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757576192001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:08:43] local.INFO: DEBUG: GPS processor result {"connection_id":45903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20209,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:08:43] local.INFO: GPS data processed {"connection_id":45903,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:08:43] local.INFO: Acknowledgment sent {"connection_id":45903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:08:51] local.INFO: TCP Data received {"connection_id":45904,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:08:51] local.INFO: Processing buffer {"connection_id":45904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:08:51] local.INFO: IMEI packet received {"connection_id":45904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":45904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:08:56] local.INFO: TCP Data received {"connection_id":45904,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:08:56] local.INFO: Processing buffer {"connection_id":45904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:08:56] local.INFO: IMEI packet received {"connection_id":45904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":45904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:08:57] local.INFO: TCP Data received {"connection_id":45904,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:08:57] local.INFO: Processing buffer {"connection_id":45904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:08:57] local.INFO: Packet analysis {"connection_id":45904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:08:57] local.INFO: Extracted packet for processing {"connection_id":45904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:08:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757534976001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776396922000,"timestamp_ms":1776396922000,"timestamp_seconds":1776396922,"priority":1,"record_length":96,"hex_timestamp":"0000019d9981ec90"} 
[2026-04-17 09:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757534976001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757534976001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:08:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:08:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757534976001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":45904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:08:57] local.INFO: GPS data processed {"connection_id":45904,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:08:57] local.INFO: Acknowledgment sent {"connection_id":45904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:09:12] local.INFO: TCP Data received {"connection_id":45716,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:09:12] local.INFO: Processing buffer {"connection_id":45716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:09:12] local.INFO: IMEI packet received {"connection_id":45716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:09:12] local.INFO: IMEI acknowledgment sent {"connection_id":45716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:09:15] local.INFO: TCP Data received {"connection_id":45716,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:09:15] local.INFO: Processing buffer {"connection_id":45716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:09:15] local.INFO: IMEI packet received {"connection_id":45716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":45716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:09:17] local.INFO: TCP Data received {"connection_id":45716,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99846178012d1b598006d4d5980011013831..."} 
[2026-04-17 09:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99846178012d1b598006d4d5980011013831..."} 
[2026-04-17 09:09:17] local.INFO: Processing buffer {"connection_id":45716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99846178012d1b598006d4d5980011013831..."} 
[2026-04-17 09:09:17] local.INFO: Packet analysis {"connection_id":45716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9984"} 
[2026-04-17 09:09:17] local.INFO: Extracted packet for processing {"connection_id":45716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9984"} 
[2026-04-17 09:09:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757576192001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:09:17] 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-04-17 09:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776397083000,"timestamp_ms":1776397083000,"timestamp_seconds":1776397083,"priority":1,"record_length":96,"hex_timestamp":"0000019d99846178"} 
[2026-04-17 09:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 09:09:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:09:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757576192001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:09:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:09:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:09:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757576192001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:09:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:09:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:09:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:09:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757576192001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":45716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20211,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:09:17] local.INFO: GPS data processed {"connection_id":45716,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:09:17] local.INFO: Acknowledgment sent {"connection_id":45716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:09:21] local.INFO: TCP Data received {"connection_id":45716,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99846178012d1b598006d4d5980011013831..."} 
[2026-04-17 09:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99846178012d1b598006d4d5980011013831..."} 
[2026-04-17 09:09:21] local.INFO: Processing buffer {"connection_id":45716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99846178012d1b598006d4d5980011013831..."} 
[2026-04-17 09:09:21] local.INFO: Packet analysis {"connection_id":45716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9984"} 
[2026-04-17 09:09:21] local.INFO: Extracted packet for processing {"connection_id":45716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9984"} 
[2026-04-17 09:09:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:09:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757576192001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:09:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:09:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:09:21] 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-04-17 09:09:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776397083000,"timestamp_ms":1776397083000,"timestamp_seconds":1776397083,"priority":1,"record_length":96,"hex_timestamp":"0000019d99846178"} 
[2026-04-17 09:09:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:09:21] 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-04-17 09:09:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 09:09:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:09:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:09:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:09:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:09:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:09:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:09:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:09:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:09:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:09:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:09:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757576192001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:09:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:09:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:09:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757576192001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:09:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:09:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:09:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:09:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757576192001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:09:21] local.INFO: DEBUG: GPS processor result {"connection_id":45716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20212,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:09:21] local.INFO: GPS data processed {"connection_id":45716,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:09:21] local.INFO: Acknowledgment sent {"connection_id":45716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:09:28] local.INFO: TCP Data received {"connection_id":45904,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:09:28] local.INFO: Processing buffer {"connection_id":45904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:09:28] local.INFO: Packet analysis {"connection_id":45904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:09:28] local.INFO: Extracted packet for processing {"connection_id":45904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:09:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757534976001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776396922000,"timestamp_ms":1776396922000,"timestamp_seconds":1776396922,"priority":1,"record_length":96,"hex_timestamp":"0000019d9981ec90"} 
[2026-04-17 09:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757534976001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757534976001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:09:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:09:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757534976001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":45904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:09:28] local.INFO: GPS data processed {"connection_id":45904,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:09:28] local.INFO: Acknowledgment sent {"connection_id":45904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:09:56] local.INFO: TCP Data received {"connection_id":45717,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:09:56] local.INFO: Processing buffer {"connection_id":45717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:09:56] local.INFO: IMEI packet received {"connection_id":45717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":45717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:10:01] local.INFO: TCP Data received {"connection_id":45717,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45717,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:10:01] local.INFO: Processing buffer {"connection_id":45717,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:10:01] local.INFO: IMEI packet received {"connection_id":45717,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":45717,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:10:02] local.INFO: TCP Data received {"connection_id":45717,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:10:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:10:02] local.INFO: Processing buffer {"connection_id":45717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:10:02] local.INFO: Packet analysis {"connection_id":45717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:10:02] local.INFO: Extracted packet for processing {"connection_id":45717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:10:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:10:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757534976001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:10:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:10:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:10:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:10:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776396922000,"timestamp_ms":1776396922000,"timestamp_seconds":1776396922,"priority":1,"record_length":96,"hex_timestamp":"0000019d9981ec90"} 
[2026-04-17 09:10:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:10:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:10:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:10:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:10:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:10:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:10:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:10:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:10:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:10:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:10:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:10:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757534976001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:10:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:10:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:10:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757534976001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:10:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:10:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:10:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:10:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:10:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757534976001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:10:02] local.INFO: DEBUG: GPS processor result {"connection_id":45717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20214,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:10:02] local.INFO: GPS data processed {"connection_id":45717,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:10:02] local.INFO: Acknowledgment sent {"connection_id":45717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:10:07] local.INFO: TCP Data received {"connection_id":45717,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:10:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:10:07] local.INFO: Processing buffer {"connection_id":45717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:10:07] local.INFO: Packet analysis {"connection_id":45717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:10:07] local.INFO: Extracted packet for processing {"connection_id":45717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:10:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:10:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757534976001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:10:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:10:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:10:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:10:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776396922000,"timestamp_ms":1776396922000,"timestamp_seconds":1776396922,"priority":1,"record_length":96,"hex_timestamp":"0000019d9981ec90"} 
[2026-04-17 09:10:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:10:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:10:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:10:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:10:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:10:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:10:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:10:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45717,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:10:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:10:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:10:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:10:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757534976001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:10:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:10:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:10:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757534976001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:10:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:10:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:10:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:10:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:10:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757534976001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:10:07] local.INFO: DEBUG: GPS processor result {"connection_id":45717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:10:07] local.INFO: GPS data processed {"connection_id":45717,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:10:07] local.INFO: Acknowledgment sent {"connection_id":45717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:10:51] local.INFO: TCP Data received {"connection_id":45644,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:10:51] local.INFO: Processing buffer {"connection_id":45644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:10:51] local.INFO: IMEI packet received {"connection_id":45644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":45644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:10:56] local.INFO: TCP Data received {"connection_id":45644,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45644,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:10:56] local.INFO: Processing buffer {"connection_id":45644,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:10:56] local.INFO: IMEI packet received {"connection_id":45644,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":45644,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:10:57] local.INFO: TCP Data received {"connection_id":45644,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:10:57] local.INFO: Processing buffer {"connection_id":45644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9981ec90012d7fad4005afe350000000942a..."} 
[2026-04-17 09:10:57] local.INFO: Packet analysis {"connection_id":45644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:10:57] local.INFO: Extracted packet for processing {"connection_id":45644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9981"} 
[2026-04-17 09:10:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757534976001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776396922000,"timestamp_ms":1776396922000,"timestamp_seconds":1776396922,"priority":1,"record_length":96,"hex_timestamp":"0000019d9981ec90"} 
[2026-04-17 09:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 09:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757534976001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757534976001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:10:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:10:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757534976001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":45644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:10:57] local.INFO: GPS data processed {"connection_id":45644,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:10:57] local.INFO: Acknowledgment sent {"connection_id":45644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:11:28] local.INFO: TCP Data received {"connection_id":45644,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:11:28] local.INFO: Processing buffer {"connection_id":45644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:11:28] local.INFO: Packet analysis {"connection_id":45644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:11:28] local.INFO: Extracted packet for processing {"connection_id":45644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757612032001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776397223000,"timestamp_ms":1776397223000,"timestamp_seconds":1776397223,"priority":1,"record_length":96,"hex_timestamp":"0000019d99868458"} 
[2026-04-17 09:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45644,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757612032001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757612032001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:11:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757612032001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":45644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:11:28] local.INFO: GPS data processed {"connection_id":45644,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:11:28] local.INFO: Acknowledgment sent {"connection_id":45644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:11:51] local.INFO: TCP Data received {"connection_id":45718,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:11:51] local.INFO: Processing buffer {"connection_id":45718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:11:51] local.INFO: IMEI packet received {"connection_id":45718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":45718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:11:56] local.INFO: TCP Data received {"connection_id":45718,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45718,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:11:56] local.INFO: Processing buffer {"connection_id":45718,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:11:56] local.INFO: IMEI packet received {"connection_id":45718,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":45718,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:11:57] local.INFO: TCP Data received {"connection_id":45718,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:11:57] local.INFO: Processing buffer {"connection_id":45718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:11:57] local.INFO: Packet analysis {"connection_id":45718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:11:57] local.INFO: Extracted packet for processing {"connection_id":45718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:11:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757612032001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776397223000,"timestamp_ms":1776397223000,"timestamp_seconds":1776397223,"priority":1,"record_length":96,"hex_timestamp":"0000019d99868458"} 
[2026-04-17 09:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757612032001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757612032001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:11:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:11:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757612032001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":45718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:11:57] local.INFO: GPS data processed {"connection_id":45718,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:11:57] local.INFO: Acknowledgment sent {"connection_id":45718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:12:29] local.INFO: TCP Data received {"connection_id":45718,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:12:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:12:29] local.INFO: Processing buffer {"connection_id":45718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:12:29] local.INFO: Packet analysis {"connection_id":45718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:12:29] local.INFO: Extracted packet for processing {"connection_id":45718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:12:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:12:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757612032001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:12:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:12:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:12:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:12:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776397223000,"timestamp_ms":1776397223000,"timestamp_seconds":1776397223,"priority":1,"record_length":96,"hex_timestamp":"0000019d99868458"} 
[2026-04-17 09:12:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:12:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:12:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:12:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:12:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:12:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:12:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:12:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:12:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:12:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45718,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:12: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-04-17 09:12:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:12:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:12:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757612032001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:12:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:12:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:12:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757612032001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:12:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:12:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:12:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:12:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:12:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757612032001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:12:29] local.INFO: DEBUG: GPS processor result {"connection_id":45718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20219,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:12:29] local.INFO: GPS data processed {"connection_id":45718,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:12:29] local.INFO: Acknowledgment sent {"connection_id":45718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:12:51] local.INFO: TCP Data received {"connection_id":46470,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:12:51] local.INFO: Processing buffer {"connection_id":46470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:12:51] local.INFO: IMEI packet received {"connection_id":46470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":46470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:12:56] local.INFO: TCP Data received {"connection_id":46470,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46470,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:12:56] local.INFO: Processing buffer {"connection_id":46470,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:12:56] local.INFO: IMEI packet received {"connection_id":46470,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":46470,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:12:57] local.INFO: TCP Data received {"connection_id":46470,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:12:57] local.INFO: Processing buffer {"connection_id":46470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:12:57] local.INFO: Packet analysis {"connection_id":46470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:12:57] local.INFO: Extracted packet for processing {"connection_id":46470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757612032001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776397223000,"timestamp_ms":1776397223000,"timestamp_seconds":1776397223,"priority":1,"record_length":96,"hex_timestamp":"0000019d99868458"} 
[2026-04-17 09:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757612032001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757612032001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:12:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757612032001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":46470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:12:57] local.INFO: GPS data processed {"connection_id":46470,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:12:57] local.INFO: Acknowledgment sent {"connection_id":46470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:13:29] local.INFO: TCP Data received {"connection_id":46470,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:13:29] local.INFO: Processing buffer {"connection_id":46470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:13:29] local.INFO: Packet analysis {"connection_id":46470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:13:29] local.INFO: Extracted packet for processing {"connection_id":46470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:13:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757612032001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776397223000,"timestamp_ms":1776397223000,"timestamp_seconds":1776397223,"priority":1,"record_length":96,"hex_timestamp":"0000019d99868458"} 
[2026-04-17 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-04-17 09:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46470,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:13: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-04-17 09:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757612032001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757612032001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:13:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:13:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757612032001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":46470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20221,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:13:29] local.INFO: GPS data processed {"connection_id":46470,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:13:29] local.INFO: Acknowledgment sent {"connection_id":46470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:13:56] local.INFO: TCP Data received {"connection_id":45907,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:13:56] local.INFO: Processing buffer {"connection_id":45907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:13:56] local.INFO: IMEI packet received {"connection_id":45907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":45907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:14:01] local.INFO: TCP Data received {"connection_id":45907,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:14:01] local.INFO: Processing buffer {"connection_id":45907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:14:01] local.INFO: IMEI packet received {"connection_id":45907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":45907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:14:02] local.INFO: TCP Data received {"connection_id":45907,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:14:02] local.INFO: Processing buffer {"connection_id":45907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:14:02] local.INFO: Packet analysis {"connection_id":45907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:14:02] local.INFO: Extracted packet for processing {"connection_id":45907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:14:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757612032001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776397223000,"timestamp_ms":1776397223000,"timestamp_seconds":1776397223,"priority":1,"record_length":96,"hex_timestamp":"0000019d99868458"} 
[2026-04-17 09:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:14:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757612032001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757612032001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:14:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:14:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757612032001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":45907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:14:02] local.INFO: GPS data processed {"connection_id":45907,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:14:02] local.INFO: Acknowledgment sent {"connection_id":45907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:14:06] local.INFO: TCP Data received {"connection_id":45907,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:14:06] local.INFO: Processing buffer {"connection_id":45907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:14:06] local.INFO: Packet analysis {"connection_id":45907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:14:06] local.INFO: Extracted packet for processing {"connection_id":45907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757612032001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776397223000,"timestamp_ms":1776397223000,"timestamp_seconds":1776397223,"priority":1,"record_length":96,"hex_timestamp":"0000019d99868458"} 
[2026-04-17 09:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:14: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-04-17 09:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757612032001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757612032001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:14:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757612032001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":45907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:14:06] local.INFO: GPS data processed {"connection_id":45907,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:14:06] local.INFO: Acknowledgment sent {"connection_id":45907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:14:52] local.INFO: TCP Data received {"connection_id":45645,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:14:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:14:52] local.INFO: Processing buffer {"connection_id":45645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:14:52] local.INFO: IMEI packet received {"connection_id":45645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:14:52] local.INFO: IMEI acknowledgment sent {"connection_id":45645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:14:56] local.INFO: TCP Data received {"connection_id":45645,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:14:56] local.INFO: Processing buffer {"connection_id":45645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:14:56] local.INFO: IMEI packet received {"connection_id":45645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":45645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:14:57] local.INFO: TCP Data received {"connection_id":45645,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:14:57] local.INFO: Processing buffer {"connection_id":45645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:14:57] local.INFO: Packet analysis {"connection_id":45645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:14:57] local.INFO: Extracted packet for processing {"connection_id":45645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:14:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757612032001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776397223000,"timestamp_ms":1776397223000,"timestamp_seconds":1776397223,"priority":1,"record_length":96,"hex_timestamp":"0000019d99868458"} 
[2026-04-17 09:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757612032001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757612032001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:14:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:14:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757612032001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":45645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:14:57] local.INFO: GPS data processed {"connection_id":45645,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:14:57] local.INFO: Acknowledgment sent {"connection_id":45645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:15:01] local.INFO: TCP Data received {"connection_id":45645,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:15:01] local.INFO: Processing buffer {"connection_id":45645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:15:01] local.INFO: Packet analysis {"connection_id":45645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:15:01] local.INFO: Extracted packet for processing {"connection_id":45645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757612032001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776397223000,"timestamp_ms":1776397223000,"timestamp_seconds":1776397223,"priority":1,"record_length":96,"hex_timestamp":"0000019d99868458"} 
[2026-04-17 09:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:15: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-04-17 09:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757612032001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757612032001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:15:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757612032001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":45645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:15:01] local.INFO: GPS data processed {"connection_id":45645,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:15:01] local.INFO: Acknowledgment sent {"connection_id":45645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:15:33] local.INFO: TCP Data received {"connection_id":45645,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:15:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:15:33] local.INFO: Processing buffer {"connection_id":45645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:15:33] local.INFO: Packet analysis {"connection_id":45645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:15:33] local.INFO: Extracted packet for processing {"connection_id":45645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:15:33] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:15:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757612032001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:15:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:15:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:15:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:15:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776397223000,"timestamp_ms":1776397223000,"timestamp_seconds":1776397223,"priority":1,"record_length":96,"hex_timestamp":"0000019d99868458"} 
[2026-04-17 09:15:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:15: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-04-17 09:15:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:15:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:15:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:15:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:15:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:15:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:15:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:15:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:15:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:15:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:15:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:15:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757612032001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:15:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:15:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:15:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757612032001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:15:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:15:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:15:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:15:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:15:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757612032001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:15:33] local.INFO: DEBUG: GPS processor result {"connection_id":45645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:15:33] local.INFO: GPS data processed {"connection_id":45645,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:15:33] local.INFO: Acknowledgment sent {"connection_id":45645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:15:43] local.INFO: TCP Data received {"connection_id":46471,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:15:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:15:43] local.INFO: Processing buffer {"connection_id":46471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:15:43] local.INFO: IMEI packet received {"connection_id":46471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:15:43] local.INFO: IMEI acknowledgment sent {"connection_id":46471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:15:45] local.INFO: TCP Data received {"connection_id":46471,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:15:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46471,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:15:45] local.INFO: Processing buffer {"connection_id":46471,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:15:45] local.INFO: Packet analysis {"connection_id":46471,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9988"} 
[2026-04-17 09:15:45] local.INFO: Extracted packet for processing {"connection_id":46471,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9988"} 
[2026-04-17 09:15:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:15:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757653248001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:15:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:15:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:15:45] 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-04-17 09:15:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776397384000,"timestamp_ms":1776397384000,"timestamp_seconds":1776397384,"priority":1,"record_length":96,"hex_timestamp":"0000019d9988f940"} 
[2026-04-17 09:15:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:15:45] 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-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:15: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-04-17 09: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-04-17 09:15:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:15:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:15:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46471,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:15:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:15:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46471,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:15:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:15:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:15:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:15:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757653248001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:15:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:15:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:15:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757653248001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:15:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:15:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:15:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:15:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757653248001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:15:45] local.INFO: DEBUG: GPS processor result {"connection_id":46471,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20227,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:15:45] local.INFO: GPS data processed {"connection_id":46471,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:15:45] local.INFO: Acknowledgment sent {"connection_id":46471,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:15:51] local.INFO: TCP Data received {"connection_id":46472,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:15:51] local.INFO: Processing buffer {"connection_id":46472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:15:51] local.INFO: IMEI packet received {"connection_id":46472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":46472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:15:56] local.INFO: TCP Data received {"connection_id":46472,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:15:56] local.INFO: Processing buffer {"connection_id":46472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:15:56] local.INFO: IMEI packet received {"connection_id":46472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":46472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:15:57] local.INFO: TCP Data received {"connection_id":46472,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:15:57] local.INFO: Processing buffer {"connection_id":46472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99868458012d7fad4005afe350000000942b..."} 
[2026-04-17 09:15:57] local.INFO: Packet analysis {"connection_id":46472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:15:57] local.INFO: Extracted packet for processing {"connection_id":46472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9986"} 
[2026-04-17 09:15:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757612032001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776397223000,"timestamp_ms":1776397223000,"timestamp_seconds":1776397223,"priority":1,"record_length":96,"hex_timestamp":"0000019d99868458"} 
[2026-04-17 09:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757612032001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757612032001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:15:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:15:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757612032001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":46472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:15:57] local.INFO: GPS data processed {"connection_id":46472,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:15:57] local.INFO: Acknowledgment sent {"connection_id":46472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:16:05] local.INFO: TCP Data received {"connection_id":45909,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:16:05] local.INFO: Processing buffer {"connection_id":45909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:16:05] local.INFO: IMEI packet received {"connection_id":45909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":45909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:16:10] local.INFO: TCP Data received {"connection_id":45909,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45909,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:16:10] local.INFO: Processing buffer {"connection_id":45909,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:16:10] local.INFO: IMEI packet received {"connection_id":45909,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":45909,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:16:12] local.INFO: TCP Data received {"connection_id":45909,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:16:12] local.INFO: Processing buffer {"connection_id":45909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:16:12] local.INFO: Packet analysis {"connection_id":45909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9988"} 
[2026-04-17 09:16:12] local.INFO: Extracted packet for processing {"connection_id":45909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9988"} 
[2026-04-17 09:16:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757653248001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:16:12] 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-04-17 09:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776397384000,"timestamp_ms":1776397384000,"timestamp_seconds":1776397384,"priority":1,"record_length":96,"hex_timestamp":"0000019d9988f940"} 
[2026-04-17 09:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:16: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-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:16:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757653248001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757653248001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:16:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757653248001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":45909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20229,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:16:12] local.INFO: GPS data processed {"connection_id":45909,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:16:12] local.INFO: Acknowledgment sent {"connection_id":45909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:16:28] local.INFO: TCP Data received {"connection_id":46472,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:16:28] local.INFO: Processing buffer {"connection_id":46472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:16:28] local.INFO: Packet analysis {"connection_id":46472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:16:28] local.INFO: Extracted packet for processing {"connection_id":46472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:16:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757689088001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776397524000,"timestamp_ms":1776397524000,"timestamp_seconds":1776397524,"priority":1,"record_length":96,"hex_timestamp":"0000019d998b1c20"} 
[2026-04-17 09:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:16: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-04-17 09:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757689088001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757689088001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:16:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:16:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757689088001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":46472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:16:28] local.INFO: GPS data processed {"connection_id":46472,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:16:28] local.INFO: Acknowledgment sent {"connection_id":46472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:16:44] local.INFO: TCP Data received {"connection_id":45909,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:16:44] local.INFO: Processing buffer {"connection_id":45909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:16:44] local.INFO: Packet analysis {"connection_id":45909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9988"} 
[2026-04-17 09:16:44] local.INFO: Extracted packet for processing {"connection_id":45909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9988"} 
[2026-04-17 09:16:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757653248001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:16:44] 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-04-17 09:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776397384000,"timestamp_ms":1776397384000,"timestamp_seconds":1776397384,"priority":1,"record_length":96,"hex_timestamp":"0000019d9988f940"} 
[2026-04-17 09:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:16:44] 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-04-17 09:16:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:16: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-04-17 09:16:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45909,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757653248001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757653248001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:16:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757653248001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":45909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20231,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:16:44] local.INFO: GPS data processed {"connection_id":45909,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:16:44] local.INFO: Acknowledgment sent {"connection_id":45909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:16:56] local.INFO: TCP Data received {"connection_id":46473,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:16:56] local.INFO: Processing buffer {"connection_id":46473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:16:56] local.INFO: IMEI packet received {"connection_id":46473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":46473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:17:01] local.INFO: TCP Data received {"connection_id":46473,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:17:01] local.INFO: Processing buffer {"connection_id":46473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:17:01] local.INFO: IMEI packet received {"connection_id":46473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":46473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:17:02] local.INFO: TCP Data received {"connection_id":46473,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:17:02] local.INFO: Processing buffer {"connection_id":46473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:17:02] local.INFO: Packet analysis {"connection_id":46473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:17:02] local.INFO: Extracted packet for processing {"connection_id":46473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757689088001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776397524000,"timestamp_ms":1776397524000,"timestamp_seconds":1776397524,"priority":1,"record_length":96,"hex_timestamp":"0000019d998b1c20"} 
[2026-04-17 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-04-17 09:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757689088001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757689088001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:17:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757689088001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":46473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:17:02] local.INFO: GPS data processed {"connection_id":46473,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:17:02] local.INFO: Acknowledgment sent {"connection_id":46473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:17:06] local.INFO: TCP Data received {"connection_id":46473,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:17:06] local.INFO: Processing buffer {"connection_id":46473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:17:06] local.INFO: Packet analysis {"connection_id":46473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:17:06] local.INFO: Extracted packet for processing {"connection_id":46473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757689088001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776397524000,"timestamp_ms":1776397524000,"timestamp_seconds":1776397524,"priority":1,"record_length":96,"hex_timestamp":"0000019d998b1c20"} 
[2026-04-17 09:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757689088001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757689088001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:17:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757689088001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":46473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:17:06] local.INFO: GPS data processed {"connection_id":46473,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:17:06] local.INFO: Acknowledgment sent {"connection_id":46473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:17:10] local.INFO: TCP Data received {"connection_id":45719,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:17:10] local.INFO: Processing buffer {"connection_id":45719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:17:10] local.INFO: IMEI packet received {"connection_id":45719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":45719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:17:17] local.INFO: TCP Data received {"connection_id":45719,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:17:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45719,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:17:17] local.INFO: Processing buffer {"connection_id":45719,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:17:17] local.INFO: IMEI packet received {"connection_id":45719,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:17:17] local.INFO: IMEI acknowledgment sent {"connection_id":45719,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:17:19] local.INFO: TCP Data received {"connection_id":45719,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:17:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:17:19] local.INFO: Processing buffer {"connection_id":45719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:17:19] local.INFO: Packet analysis {"connection_id":45719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9988"} 
[2026-04-17 09:17:19] local.INFO: Extracted packet for processing {"connection_id":45719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9988"} 
[2026-04-17 09:17:19] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:17:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757653248001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:17:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:17:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:17:19] 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-04-17 09:17:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776397384000,"timestamp_ms":1776397384000,"timestamp_seconds":1776397384,"priority":1,"record_length":96,"hex_timestamp":"0000019d9988f940"} 
[2026-04-17 09:17:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:17:19] 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-04-17 09:17:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:17:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:17:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:17:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:17:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:17:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:17:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:17:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:17:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:17:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:17:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:17:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757653248001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:17:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:17:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:17:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757653248001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:17:19] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:17:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:17:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:17:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757653248001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:17:19] local.INFO: DEBUG: GPS processor result {"connection_id":45719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20234,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:17:19] local.INFO: GPS data processed {"connection_id":45719,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:17:19] local.INFO: Acknowledgment sent {"connection_id":45719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:17:20] local.INFO: TCP Data received {"connection_id":45719,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:17:20] local.INFO: Processing buffer {"connection_id":45719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:17:20] local.INFO: Packet analysis {"connection_id":45719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9988"} 
[2026-04-17 09:17:20] local.INFO: Extracted packet for processing {"connection_id":45719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9988"} 
[2026-04-17 09:17:20] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:17:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757653248001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:17:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:17:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:17:20] 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-04-17 09:17:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776397384000,"timestamp_ms":1776397384000,"timestamp_seconds":1776397384,"priority":1,"record_length":96,"hex_timestamp":"0000019d9988f940"} 
[2026-04-17 09:17:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:17:20] 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-04-17 09:17:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:17:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:17:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:17:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:17:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:17:20] local.INFO: Teltonika packet parsed successfully {"connection_id":45719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:17:20] local.INFO: Passing IMEI to GPS processor {"connection_id":45719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:17:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":45719,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:17:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:17:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:17:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:17:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757653248001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:17:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:17:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:17:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757653248001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:17:20] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:17:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:17:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:17:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757653248001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:17:20] local.INFO: DEBUG: GPS processor result {"connection_id":45719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20235,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:17:20] local.INFO: GPS data processed {"connection_id":45719,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:17:20] local.INFO: Acknowledgment sent {"connection_id":45719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:17:51] local.INFO: TCP Data received {"connection_id":45720,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:17:51] local.INFO: Processing buffer {"connection_id":45720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:17:51] local.INFO: IMEI packet received {"connection_id":45720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":45720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:17:56] local.INFO: TCP Data received {"connection_id":45720,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45720,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:17:56] local.INFO: Processing buffer {"connection_id":45720,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:17:56] local.INFO: IMEI packet received {"connection_id":45720,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":45720,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:17:57] local.INFO: TCP Data received {"connection_id":45720,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:17:57] local.INFO: Processing buffer {"connection_id":45720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:17:57] local.INFO: Packet analysis {"connection_id":45720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:17:57] local.INFO: Extracted packet for processing {"connection_id":45720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:17:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757689088001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776397524000,"timestamp_ms":1776397524000,"timestamp_seconds":1776397524,"priority":1,"record_length":96,"hex_timestamp":"0000019d998b1c20"} 
[2026-04-17 09:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:17:57] 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-04-17 09:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757689088001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757689088001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:17:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:17:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757689088001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":45720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:17:57] local.INFO: GPS data processed {"connection_id":45720,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:17:57] local.INFO: Acknowledgment sent {"connection_id":45720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:18:05] local.INFO: TCP Data received {"connection_id":45910,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:18:05] local.INFO: Processing buffer {"connection_id":45910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:18:05] local.INFO: IMEI packet received {"connection_id":45910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":45910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:18:10] local.INFO: TCP Data received {"connection_id":45910,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:18:10] local.INFO: Processing buffer {"connection_id":45910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:18:10] local.INFO: IMEI packet received {"connection_id":45910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":45910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:18:12] local.INFO: TCP Data received {"connection_id":45910,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:18:12] local.INFO: Processing buffer {"connection_id":45910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:18:12] local.INFO: Packet analysis {"connection_id":45910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9988"} 
[2026-04-17 09:18:12] local.INFO: Extracted packet for processing {"connection_id":45910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9988"} 
[2026-04-17 09:18:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757653248001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:18:12] 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-04-17 09:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776397384000,"timestamp_ms":1776397384000,"timestamp_seconds":1776397384,"priority":1,"record_length":96,"hex_timestamp":"0000019d9988f940"} 
[2026-04-17 09:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:18: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-04-17 09:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:18:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45910,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45910,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757653248001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757653248001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:18:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757653248001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":45910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20237,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:18:12] local.INFO: GPS data processed {"connection_id":45910,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:18:12] local.INFO: Acknowledgment sent {"connection_id":45910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:18:29] local.INFO: TCP Data received {"connection_id":45720,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:18:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:18:29] local.INFO: Processing buffer {"connection_id":45720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:18:29] local.INFO: Packet analysis {"connection_id":45720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:18:29] local.INFO: Extracted packet for processing {"connection_id":45720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:18:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:18:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757689088001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:18:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:18:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:18:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:18:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776397524000,"timestamp_ms":1776397524000,"timestamp_seconds":1776397524,"priority":1,"record_length":96,"hex_timestamp":"0000019d998b1c20"} 
[2026-04-17 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-04-17 09:18:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:18:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:18:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:18:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:18:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:18:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45720,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 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-04-17 09:18:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:18:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:18:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757689088001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:18:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:18:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:18:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757689088001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:18:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:18:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:18:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:18:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:18:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757689088001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:18:29] local.INFO: DEBUG: GPS processor result {"connection_id":45720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:18:29] local.INFO: GPS data processed {"connection_id":45720,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:18:29] local.INFO: Acknowledgment sent {"connection_id":45720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:18:44] local.INFO: TCP Data received {"connection_id":45910,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:18:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:18:44] local.INFO: Processing buffer {"connection_id":45910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9988f940012d1b598006d4d5980011013831..."} 
[2026-04-17 09:18:44] local.INFO: Packet analysis {"connection_id":45910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9988"} 
[2026-04-17 09:18:44] local.INFO: Extracted packet for processing {"connection_id":45910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9988"} 
[2026-04-17 09:18:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:18:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757653248001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:18:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:18:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:18:44] 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-04-17 09:18:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776397384000,"timestamp_ms":1776397384000,"timestamp_seconds":1776397384,"priority":1,"record_length":96,"hex_timestamp":"0000019d9988f940"} 
[2026-04-17 09:18:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:18:44] 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-04-17 09:18:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:18:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:18:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:18:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:18:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:18:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:18:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45910,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:18:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45910,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:18:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:18:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:18:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:18:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757653248001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:18:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:18:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:18:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757653248001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:18:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:18:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:18:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:18:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757653248001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:18:44] local.INFO: DEBUG: GPS processor result {"connection_id":45910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20239,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:18:44] local.INFO: GPS data processed {"connection_id":45910,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:18:44] local.INFO: Acknowledgment sent {"connection_id":45910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:18:51] local.INFO: TCP Data received {"connection_id":45721,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:18:51] local.INFO: Processing buffer {"connection_id":45721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:18:51] local.INFO: IMEI packet received {"connection_id":45721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":45721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:18:56] local.INFO: TCP Data received {"connection_id":45721,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45721,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:18:56] local.INFO: Processing buffer {"connection_id":45721,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:18:56] local.INFO: IMEI packet received {"connection_id":45721,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":45721,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:18:57] local.INFO: TCP Data received {"connection_id":45721,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:18:57] local.INFO: Processing buffer {"connection_id":45721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:18:57] local.INFO: Packet analysis {"connection_id":45721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:18:57] local.INFO: Extracted packet for processing {"connection_id":45721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:18:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:18: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-04-17 09:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757689088001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776397524000,"timestamp_ms":1776397524000,"timestamp_seconds":1776397524,"priority":1,"record_length":96,"hex_timestamp":"0000019d998b1c20"} 
[2026-04-17 09:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:18:57] local.INFO: IO Element 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-04-17 09:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:18: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-04-17 09:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757689088001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757689088001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:18:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:18:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757689088001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":45721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:18:57] local.INFO: GPS data processed {"connection_id":45721,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:18:57] local.INFO: Acknowledgment sent {"connection_id":45721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:19:10] local.INFO: TCP Data received {"connection_id":46474,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:19:10] local.INFO: Processing buffer {"connection_id":46474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:19:10] local.INFO: IMEI packet received {"connection_id":46474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":46474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:19:20] local.INFO: TCP Data received {"connection_id":46474,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46474,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:19:20] local.INFO: Processing buffer {"connection_id":46474,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:19:20] local.INFO: IMEI packet received {"connection_id":46474,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":46474,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:19:21] local.INFO: TCP Data received {"connection_id":46474,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:19:21] local.INFO: Processing buffer {"connection_id":46474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:19:21] local.INFO: Packet analysis {"connection_id":46474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998d"} 
[2026-04-17 09:19:21] local.INFO: Extracted packet for processing {"connection_id":46474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998d"} 
[2026-04-17 09:19:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:19:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757730304001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:19:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:19:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:19:21] 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-04-17 09:19:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776397685000,"timestamp_ms":1776397685000,"timestamp_seconds":1776397685,"priority":1,"record_length":96,"hex_timestamp":"0000019d998d9108"} 
[2026-04-17 09:19:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:19:21] 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-04-17 09:19:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:19:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:19:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:19:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:19:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:19:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:19:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:19:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46474,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:19:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:19:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:19:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:19:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757730304001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:19:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:19:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:19:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757730304001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:19:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:19:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:19:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:19:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757730304001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:19:21] local.INFO: DEBUG: GPS processor result {"connection_id":46474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20241,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:19:21] local.INFO: GPS data processed {"connection_id":46474,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:19:21] local.INFO: Acknowledgment sent {"connection_id":46474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:19:28] local.INFO: TCP Data received {"connection_id":45721,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:19:28] local.INFO: Processing buffer {"connection_id":45721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:19:28] local.INFO: Packet analysis {"connection_id":45721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:19:28] local.INFO: Extracted packet for processing {"connection_id":45721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:19:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757689088001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776397524000,"timestamp_ms":1776397524000,"timestamp_seconds":1776397524,"priority":1,"record_length":96,"hex_timestamp":"0000019d998b1c20"} 
[2026-04-17 09:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45721,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757689088001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757689088001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:19:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:19:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757689088001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":45721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:19:28] local.INFO: GPS data processed {"connection_id":45721,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:19:28] local.INFO: Acknowledgment sent {"connection_id":45721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:19:51] local.INFO: TCP Data received {"connection_id":45646,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:19:51] local.INFO: Processing buffer {"connection_id":45646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:19:51] local.INFO: IMEI packet received {"connection_id":45646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":45646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:19:56] local.INFO: TCP Data received {"connection_id":45646,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45646,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:19:56] local.INFO: Processing buffer {"connection_id":45646,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:19:56] local.INFO: IMEI packet received {"connection_id":45646,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":45646,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:19:57] local.INFO: TCP Data received {"connection_id":45646,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:19:57] local.INFO: Processing buffer {"connection_id":45646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:19:57] local.INFO: Packet analysis {"connection_id":45646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:19:57] local.INFO: Extracted packet for processing {"connection_id":45646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:19:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757689088001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776397524000,"timestamp_ms":1776397524000,"timestamp_seconds":1776397524,"priority":1,"record_length":96,"hex_timestamp":"0000019d998b1c20"} 
[2026-04-17 09:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757689088001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757689088001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:19:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:19:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757689088001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":45646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:19:57] local.INFO: GPS data processed {"connection_id":45646,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:19:57] local.INFO: Acknowledgment sent {"connection_id":45646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:20:05] local.INFO: TCP Data received {"connection_id":45647,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:20:05] local.INFO: Processing buffer {"connection_id":45647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:20:05] local.INFO: IMEI packet received {"connection_id":45647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":45647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:20:11] local.INFO: TCP Data received {"connection_id":45647,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45647,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:20:11] local.INFO: Processing buffer {"connection_id":45647,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:20:11] local.INFO: IMEI packet received {"connection_id":45647,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:20:11] local.INFO: IMEI acknowledgment sent {"connection_id":45647,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:20:13] local.INFO: TCP Data received {"connection_id":45647,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:20:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:20:13] local.INFO: Processing buffer {"connection_id":45647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:20:13] local.INFO: Packet analysis {"connection_id":45647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998d"} 
[2026-04-17 09:20:13] local.INFO: Extracted packet for processing {"connection_id":45647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998d"} 
[2026-04-17 09:20:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:20:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757730304001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:20:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:20:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:20:13] 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-04-17 09:20:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776397685000,"timestamp_ms":1776397685000,"timestamp_seconds":1776397685,"priority":1,"record_length":96,"hex_timestamp":"0000019d998d9108"} 
[2026-04-17 09:20:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:20:13] 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-04-17 09:20:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:20:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:20:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:20:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:20:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:20:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:20:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:20:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:20:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:20:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:20:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:20:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757730304001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:20:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:20:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:20:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757730304001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:20:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:20:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:20:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:20:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757730304001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:20:13] local.INFO: DEBUG: GPS processor result {"connection_id":45647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20244,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:20:13] local.INFO: GPS data processed {"connection_id":45647,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:20:13] local.INFO: Acknowledgment sent {"connection_id":45647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:20:28] local.INFO: TCP Data received {"connection_id":45646,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:20:28] local.INFO: Processing buffer {"connection_id":45646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:20:28] local.INFO: Packet analysis {"connection_id":45646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:20:28] local.INFO: Extracted packet for processing {"connection_id":45646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757689088001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776397524000,"timestamp_ms":1776397524000,"timestamp_seconds":1776397524,"priority":1,"record_length":96,"hex_timestamp":"0000019d998b1c20"} 
[2026-04-17 09:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45646,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:20:28] 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-04-17 09:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757689088001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757689088001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:20:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757689088001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":45646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:20:28] local.INFO: GPS data processed {"connection_id":45646,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:20:28] local.INFO: Acknowledgment sent {"connection_id":45646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:20:44] local.INFO: TCP Data received {"connection_id":45647,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:20:44] local.INFO: Processing buffer {"connection_id":45647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:20:44] local.INFO: Packet analysis {"connection_id":45647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998d"} 
[2026-04-17 09:20:44] local.INFO: Extracted packet for processing {"connection_id":45647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998d"} 
[2026-04-17 09:20:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757730304001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:20:44] 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-04-17 09:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776397685000,"timestamp_ms":1776397685000,"timestamp_seconds":1776397685,"priority":1,"record_length":96,"hex_timestamp":"0000019d998d9108"} 
[2026-04-17 09:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:20:44] 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-04-17 09: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:20: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-04-17 09: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-04-17 09:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45647,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757730304001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757730304001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:20:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757730304001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":45647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20246,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:20:44] local.INFO: GPS data processed {"connection_id":45647,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:20:44] local.INFO: Acknowledgment sent {"connection_id":45647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:20:51] local.INFO: TCP Data received {"connection_id":45722,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:20:51] local.INFO: Processing buffer {"connection_id":45722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:20:51] local.INFO: IMEI packet received {"connection_id":45722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":45722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:20:56] local.INFO: TCP Data received {"connection_id":45722,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:20:56] local.INFO: Processing buffer {"connection_id":45722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:20:56] local.INFO: IMEI packet received {"connection_id":45722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":45722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:20:57] local.INFO: TCP Data received {"connection_id":45722,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:20:57] local.INFO: Processing buffer {"connection_id":45722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998b1c20012d7fad4005afe350000000942b..."} 
[2026-04-17 09:20:57] local.INFO: Packet analysis {"connection_id":45722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:20:57] local.INFO: Extracted packet for processing {"connection_id":45722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998b"} 
[2026-04-17 09:20:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757689088001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776397524000,"timestamp_ms":1776397524000,"timestamp_seconds":1776397524,"priority":1,"record_length":96,"hex_timestamp":"0000019d998b1c20"} 
[2026-04-17 09:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757689088001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757689088001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:20:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:20:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757689088001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":45722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:20:57] local.INFO: GPS data processed {"connection_id":45722,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:20:57] local.INFO: Acknowledgment sent {"connection_id":45722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:21:27] local.INFO: TCP Data received {"connection_id":45648,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:21:27] local.INFO: Processing buffer {"connection_id":45648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:21:27] local.INFO: IMEI packet received {"connection_id":45648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":45648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:21:28] local.INFO: TCP Data received {"connection_id":45722,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:21:28] local.INFO: Processing buffer {"connection_id":45722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:21:28] local.INFO: Packet analysis {"connection_id":45722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:21:28] local.INFO: Extracted packet for processing {"connection_id":45722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:21:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757766144001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776397825000,"timestamp_ms":1776397825000,"timestamp_seconds":1776397825,"priority":1,"record_length":96,"hex_timestamp":"0000019d998fb3e8"} 
[2026-04-17 09:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:21:28] 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-04-17 09:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757766144001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757766144001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:21:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:21:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757766144001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":45722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:21:28] local.INFO: GPS data processed {"connection_id":45722,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:21:28] local.INFO: Acknowledgment sent {"connection_id":45722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:21:28] local.INFO: TCP Data received {"connection_id":45648,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45648,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:21:28] local.INFO: Processing buffer {"connection_id":45648,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:21:28] local.INFO: IMEI packet received {"connection_id":45648,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:21:28] local.INFO: IMEI acknowledgment sent {"connection_id":45648,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:21:29] local.INFO: TCP Data received {"connection_id":45648,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:21:29] local.INFO: Processing buffer {"connection_id":45648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:21:29] local.INFO: Packet analysis {"connection_id":45648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998d"} 
[2026-04-17 09:21:29] local.INFO: Extracted packet for processing {"connection_id":45648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998d"} 
[2026-04-17 09:21:29] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757730304001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:21:29] 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-04-17 09:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776397685000,"timestamp_ms":1776397685000,"timestamp_seconds":1776397685,"priority":1,"record_length":96,"hex_timestamp":"0000019d998d9108"} 
[2026-04-17 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-04-17 09:21: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-04-17 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:21:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757730304001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757730304001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:21:29] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757730304001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":45648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20249,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:21:29] local.INFO: GPS data processed {"connection_id":45648,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:21:29] local.INFO: Acknowledgment sent {"connection_id":45648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:21:31] local.INFO: TCP Data received {"connection_id":45648,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:21:31] local.INFO: Processing buffer {"connection_id":45648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:21:31] local.INFO: Packet analysis {"connection_id":45648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998d"} 
[2026-04-17 09:21:31] local.INFO: Extracted packet for processing {"connection_id":45648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998d"} 
[2026-04-17 09:21:31] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757730304001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:21:31] 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-04-17 09:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776397685000,"timestamp_ms":1776397685000,"timestamp_seconds":1776397685,"priority":1,"record_length":96,"hex_timestamp":"0000019d998d9108"} 
[2026-04-17 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-04-17 09:21:31] 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-04-17 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":45648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":45648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":45648,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757730304001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757730304001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:21:31] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757730304001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":45648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20250,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:21:31] local.INFO: GPS data processed {"connection_id":45648,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:21:31] local.INFO: Acknowledgment sent {"connection_id":45648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:21:51] local.INFO: TCP Data received {"connection_id":45723,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:21:51] local.INFO: Processing buffer {"connection_id":45723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:21:51] local.INFO: IMEI packet received {"connection_id":45723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":45723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:21:56] local.INFO: TCP Data received {"connection_id":45723,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45723,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:21:56] local.INFO: Processing buffer {"connection_id":45723,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:21:56] local.INFO: IMEI packet received {"connection_id":45723,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":45723,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:21:57] local.INFO: TCP Data received {"connection_id":45723,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:21:57] local.INFO: Processing buffer {"connection_id":45723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:21:57] local.INFO: Packet analysis {"connection_id":45723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:21:57] local.INFO: Extracted packet for processing {"connection_id":45723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:21:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757766144001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776397825000,"timestamp_ms":1776397825000,"timestamp_seconds":1776397825,"priority":1,"record_length":96,"hex_timestamp":"0000019d998fb3e8"} 
[2026-04-17 09:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757766144001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757766144001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:21:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:21:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757766144001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":45723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:21:57] local.INFO: GPS data processed {"connection_id":45723,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:21:57] local.INFO: Acknowledgment sent {"connection_id":45723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:22:10] local.INFO: TCP Data received {"connection_id":46475,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:22:10] local.INFO: Processing buffer {"connection_id":46475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:22:10] local.INFO: IMEI packet received {"connection_id":46475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":46475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:22:15] local.INFO: TCP Data received {"connection_id":46475,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:22:15] local.INFO: Processing buffer {"connection_id":46475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:22:15] local.INFO: IMEI packet received {"connection_id":46475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":46475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:22:16] local.INFO: TCP Data received {"connection_id":46475,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:22:16] local.INFO: Processing buffer {"connection_id":46475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:22:16] local.INFO: Packet analysis {"connection_id":46475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998d"} 
[2026-04-17 09:22:16] local.INFO: Extracted packet for processing {"connection_id":46475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998d"} 
[2026-04-17 09:22:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:22: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-04-17 09:22:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757730304001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:22:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:22:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:22:16] 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-04-17 09:22:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776397685000,"timestamp_ms":1776397685000,"timestamp_seconds":1776397685,"priority":1,"record_length":96,"hex_timestamp":"0000019d998d9108"} 
[2026-04-17 09:22:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:22:16] 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-04-17 09:22: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-04-17 09:22: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-04-17 09:22: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-04-17 09:22:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:22:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:22:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:22:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:22:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:22:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:22:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:22:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:22:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757730304001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:22:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:22:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:22:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757730304001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:22:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:22:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:22:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:22:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757730304001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:22:16] local.INFO: DEBUG: GPS processor result {"connection_id":46475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20252,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:22:16] local.INFO: GPS data processed {"connection_id":46475,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:22:16] local.INFO: Acknowledgment sent {"connection_id":46475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:22:22] local.INFO: TCP Data received {"connection_id":46475,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46475,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:22:22] local.INFO: Processing buffer {"connection_id":46475,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:22:22] local.INFO: Packet analysis {"connection_id":46475,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998d"} 
[2026-04-17 09:22:22] local.INFO: Extracted packet for processing {"connection_id":46475,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998d"} 
[2026-04-17 09:22:22] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:22:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757730304001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:22:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:22:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:22:22] 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-04-17 09:22:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776397685000,"timestamp_ms":1776397685000,"timestamp_seconds":1776397685,"priority":1,"record_length":96,"hex_timestamp":"0000019d998d9108"} 
[2026-04-17 09:22:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:22:22] 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-04-17 09:22:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:22:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:22:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:22:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:22:22] local.INFO: Teltonika packet parsed successfully {"connection_id":46475,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:22:22] local.INFO: Passing IMEI to GPS processor {"connection_id":46475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:22:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":46475,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:22:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:22:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:22:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:22:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757730304001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:22:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:22:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:22:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757730304001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:22:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:22:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:22:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:22:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757730304001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:22:22] local.INFO: DEBUG: GPS processor result {"connection_id":46475,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20253,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:22:22] local.INFO: GPS data processed {"connection_id":46475,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:22:22] local.INFO: Acknowledgment sent {"connection_id":46475,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:22:28] local.INFO: TCP Data received {"connection_id":45723,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:22:28] local.INFO: Processing buffer {"connection_id":45723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:22:28] local.INFO: Packet analysis {"connection_id":45723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:22:28] local.INFO: Extracted packet for processing {"connection_id":45723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:22:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757766144001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776397825000,"timestamp_ms":1776397825000,"timestamp_seconds":1776397825,"priority":1,"record_length":96,"hex_timestamp":"0000019d998fb3e8"} 
[2026-04-17 09:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45723,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757766144001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757766144001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:22:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:22:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757766144001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":45723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:22:28] local.INFO: GPS data processed {"connection_id":45723,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:22:28] local.INFO: Acknowledgment sent {"connection_id":45723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:22:51] local.INFO: TCP Data received {"connection_id":46476,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:22:51] local.INFO: Processing buffer {"connection_id":46476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:22:51] local.INFO: IMEI packet received {"connection_id":46476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":46476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:22:56] local.INFO: TCP Data received {"connection_id":46476,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46476,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:22:56] local.INFO: Processing buffer {"connection_id":46476,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:22:56] local.INFO: IMEI packet received {"connection_id":46476,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":46476,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:22:57] local.INFO: TCP Data received {"connection_id":46476,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:22:57] local.INFO: Processing buffer {"connection_id":46476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:22:57] local.INFO: Packet analysis {"connection_id":46476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:22:57] local.INFO: Extracted packet for processing {"connection_id":46476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:22:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757766144001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776397825000,"timestamp_ms":1776397825000,"timestamp_seconds":1776397825,"priority":1,"record_length":96,"hex_timestamp":"0000019d998fb3e8"} 
[2026-04-17 09:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:22:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757766144001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757766144001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:22:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757766144001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":46476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:22:57] local.INFO: GPS data processed {"connection_id":46476,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:22:57] local.INFO: Acknowledgment sent {"connection_id":46476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:23:10] local.INFO: TCP Data received {"connection_id":45911,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:23:10] local.INFO: Processing buffer {"connection_id":45911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:23:10] local.INFO: IMEI packet received {"connection_id":45911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":45911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:23:15] local.INFO: TCP Data received {"connection_id":45911,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:23:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:23:15] local.INFO: Processing buffer {"connection_id":45911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:23:15] local.INFO: IMEI packet received {"connection_id":45911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:23:15] local.INFO: IMEI acknowledgment sent {"connection_id":45911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:23:17] local.INFO: TCP Data received {"connection_id":45911,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:23:17] local.INFO: Processing buffer {"connection_id":45911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:23:17] local.INFO: Packet analysis {"connection_id":45911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998d"} 
[2026-04-17 09:23:17] local.INFO: Extracted packet for processing {"connection_id":45911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998d"} 
[2026-04-17 09:23:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757730304001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:23:17] 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-04-17 09:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776397685000,"timestamp_ms":1776397685000,"timestamp_seconds":1776397685,"priority":1,"record_length":96,"hex_timestamp":"0000019d998d9108"} 
[2026-04-17 09:23:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:23:17] 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-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:23:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757730304001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757730304001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:23:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757730304001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":45911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20256,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:23:17] local.INFO: GPS data processed {"connection_id":45911,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:23:17] local.INFO: Acknowledgment sent {"connection_id":45911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:23:21] local.INFO: TCP Data received {"connection_id":45911,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:23:21] local.INFO: Processing buffer {"connection_id":45911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998d9108012d1b598006d4d5980011013831..."} 
[2026-04-17 09:23:21] local.INFO: Packet analysis {"connection_id":45911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998d"} 
[2026-04-17 09:23:21] local.INFO: Extracted packet for processing {"connection_id":45911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998d"} 
[2026-04-17 09:23:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:23:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757730304001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:23:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:23:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:23:21] 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-04-17 09:23:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776397685000,"timestamp_ms":1776397685000,"timestamp_seconds":1776397685,"priority":1,"record_length":96,"hex_timestamp":"0000019d998d9108"} 
[2026-04-17 09:23:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:23:21] 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-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:23:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:23:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:23:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:23:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:23:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:23:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:23:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:23:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:23:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:23:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757730304001,"66":25397,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:23:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:23:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:23:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757730304001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:23:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:23:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:23:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:23:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757730304001,"power":25397,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:23:21] local.INFO: DEBUG: GPS processor result {"connection_id":45911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20257,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:23:21] local.INFO: GPS data processed {"connection_id":45911,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:23:21] local.INFO: Acknowledgment sent {"connection_id":45911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:23:29] local.INFO: TCP Data received {"connection_id":46476,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:23:29] local.INFO: Processing buffer {"connection_id":46476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:23:29] local.INFO: Packet analysis {"connection_id":46476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:23:29] local.INFO: Extracted packet for processing {"connection_id":46476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757766144001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776397825000,"timestamp_ms":1776397825000,"timestamp_seconds":1776397825,"priority":1,"record_length":96,"hex_timestamp":"0000019d998fb3e8"} 
[2026-04-17 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-04-17 09:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:23:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46476,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:23: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-04-17 09:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757766144001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757766144001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:23:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757766144001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":46476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20258,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:23:29] local.INFO: GPS data processed {"connection_id":46476,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:23:29] local.INFO: Acknowledgment sent {"connection_id":46476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:23:51] local.INFO: TCP Data received {"connection_id":46477,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:23:51] local.INFO: Processing buffer {"connection_id":46477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:23:51] local.INFO: IMEI packet received {"connection_id":46477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":46477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:23:57] local.INFO: TCP Data received {"connection_id":46477,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46477,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:23:57] local.INFO: Processing buffer {"connection_id":46477,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:23:57] local.INFO: IMEI packet received {"connection_id":46477,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:23:57] local.INFO: IMEI acknowledgment sent {"connection_id":46477,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:23:58] local.INFO: TCP Data received {"connection_id":46477,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:23:58] local.INFO: Processing buffer {"connection_id":46477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:23:58] local.INFO: Packet analysis {"connection_id":46477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:23:58] local.INFO: Extracted packet for processing {"connection_id":46477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:23:58] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757766144001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:23:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776397825000,"timestamp_ms":1776397825000,"timestamp_seconds":1776397825,"priority":1,"record_length":96,"hex_timestamp":"0000019d998fb3e8"} 
[2026-04-17 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-04-17 09:23:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757766144001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757766144001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:23:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:23:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757766144001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":46477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:23:58] local.INFO: GPS data processed {"connection_id":46477,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:23:58] local.INFO: Acknowledgment sent {"connection_id":46477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:24:05] local.INFO: TCP Data received {"connection_id":45649,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:24:05] local.INFO: Processing buffer {"connection_id":45649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:24:05] local.INFO: IMEI packet received {"connection_id":45649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":45649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:24:10] local.INFO: TCP Data received {"connection_id":45649,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45649,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:24:10] local.INFO: Processing buffer {"connection_id":45649,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:24:10] local.INFO: IMEI packet received {"connection_id":45649,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":45649,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:24:12] local.INFO: TCP Data received {"connection_id":45649,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:24:12] local.INFO: Processing buffer {"connection_id":45649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:24:12] local.INFO: Packet analysis {"connection_id":45649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:24:12] local.INFO: Extracted packet for processing {"connection_id":45649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:24:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757807360001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:24:12] 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-04-17 09:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776397986000,"timestamp_ms":1776397986000,"timestamp_seconds":1776397986,"priority":1,"record_length":96,"hex_timestamp":"0000019d999228d0"} 
[2026-04-17 09:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:24: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-04-17 09:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 09:24: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-04-17 09:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757807360001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757807360001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:24:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757807360001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":45649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20260,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:24:12] local.INFO: GPS data processed {"connection_id":45649,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:24:12] local.INFO: Acknowledgment sent {"connection_id":45649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:24:29] local.INFO: TCP Data received {"connection_id":46477,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:24:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46477,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:24:29] local.INFO: Processing buffer {"connection_id":46477,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:24:29] local.INFO: Packet analysis {"connection_id":46477,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:24:29] local.INFO: Extracted packet for processing {"connection_id":46477,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:24:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:24:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757766144001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:24:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:24:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:24:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:24:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776397825000,"timestamp_ms":1776397825000,"timestamp_seconds":1776397825,"priority":1,"record_length":96,"hex_timestamp":"0000019d998fb3e8"} 
[2026-04-17 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-04-17 09:24:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:24:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:24:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:24:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46477,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:24:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:24:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46477,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:24:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:24:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:24:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:24:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757766144001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:24:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:24:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:24:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757766144001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:24:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:24:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:24:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:24:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:24:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757766144001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:24:29] local.INFO: DEBUG: GPS processor result {"connection_id":46477,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:24:29] local.INFO: GPS data processed {"connection_id":46477,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:24:29] local.INFO: Acknowledgment sent {"connection_id":46477,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:24:44] local.INFO: TCP Data received {"connection_id":45649,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:24:44] local.INFO: Processing buffer {"connection_id":45649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:24:44] local.INFO: Packet analysis {"connection_id":45649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:24:44] local.INFO: Extracted packet for processing {"connection_id":45649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:24:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757807360001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:24:44] 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-04-17 09:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776397986000,"timestamp_ms":1776397986000,"timestamp_seconds":1776397986,"priority":1,"record_length":96,"hex_timestamp":"0000019d999228d0"} 
[2026-04-17 09:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:24:44] 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-04-17 09:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 09:24: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-04-17 09:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45649,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757807360001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757807360001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:24:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757807360001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":45649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20262,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:24:44] local.INFO: GPS data processed {"connection_id":45649,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:24:44] local.INFO: Acknowledgment sent {"connection_id":45649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:24:51] local.INFO: TCP Data received {"connection_id":45912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:24:51] local.INFO: Processing buffer {"connection_id":45912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:24:51] local.INFO: IMEI packet received {"connection_id":45912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":45912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:24:56] local.INFO: TCP Data received {"connection_id":45912,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:24:56] local.INFO: Processing buffer {"connection_id":45912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:24:56] local.INFO: IMEI packet received {"connection_id":45912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":45912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:24:57] local.INFO: TCP Data received {"connection_id":45912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:24:57] local.INFO: Processing buffer {"connection_id":45912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:24:57] local.INFO: Packet analysis {"connection_id":45912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:24:57] local.INFO: Extracted packet for processing {"connection_id":45912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:24:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757766144001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776397825000,"timestamp_ms":1776397825000,"timestamp_seconds":1776397825,"priority":1,"record_length":96,"hex_timestamp":"0000019d998fb3e8"} 
[2026-04-17 09:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757766144001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757766144001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:24:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:24:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757766144001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":45912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:24:57] local.INFO: GPS data processed {"connection_id":45912,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:24:57] local.INFO: Acknowledgment sent {"connection_id":45912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:25:05] local.INFO: TCP Data received {"connection_id":45913,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:25:05] local.INFO: Processing buffer {"connection_id":45913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:25:05] local.INFO: IMEI packet received {"connection_id":45913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":45913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:25:10] local.INFO: TCP Data received {"connection_id":45913,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:25:10] local.INFO: Processing buffer {"connection_id":45913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:25:10] local.INFO: IMEI packet received {"connection_id":45913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":45913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:25:12] local.INFO: TCP Data received {"connection_id":45913,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:25:12] local.INFO: Processing buffer {"connection_id":45913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:25:12] local.INFO: Packet analysis {"connection_id":45913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:25:12] local.INFO: Extracted packet for processing {"connection_id":45913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:25:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757807360001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:25:12] 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-04-17 09:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776397986000,"timestamp_ms":1776397986000,"timestamp_seconds":1776397986,"priority":1,"record_length":96,"hex_timestamp":"0000019d999228d0"} 
[2026-04-17 09:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:25: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-04-17 09:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 09:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757807360001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757807360001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:25:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757807360001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":45913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20264,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:25:12] local.INFO: GPS data processed {"connection_id":45913,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:25:12] local.INFO: Acknowledgment sent {"connection_id":45913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:25:29] local.INFO: TCP Data received {"connection_id":45912,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:25:29] local.INFO: Processing buffer {"connection_id":45912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:25:29] local.INFO: Packet analysis {"connection_id":45912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:25:29] local.INFO: Extracted packet for processing {"connection_id":45912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:25:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757766144001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776397825000,"timestamp_ms":1776397825000,"timestamp_seconds":1776397825,"priority":1,"record_length":96,"hex_timestamp":"0000019d998fb3e8"} 
[2026-04-17 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-04-17 09:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09: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-04-17 09:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757766144001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757766144001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:25:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757766144001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":45912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:25:29] local.INFO: GPS data processed {"connection_id":45912,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:25:29] local.INFO: Acknowledgment sent {"connection_id":45912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:25:44] local.INFO: TCP Data received {"connection_id":45913,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:25:44] local.INFO: Processing buffer {"connection_id":45913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:25:44] local.INFO: Packet analysis {"connection_id":45913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:25:44] local.INFO: Extracted packet for processing {"connection_id":45913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:25:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757807360001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:25:44] 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-04-17 09:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776397986000,"timestamp_ms":1776397986000,"timestamp_seconds":1776397986,"priority":1,"record_length":96,"hex_timestamp":"0000019d999228d0"} 
[2026-04-17 09:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:25:44] 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-04-17 09: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 09:25: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-04-17 09: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-04-17 09:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757807360001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757807360001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:25:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757807360001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":45913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20266,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:25:44] local.INFO: GPS data processed {"connection_id":45913,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:25:44] local.INFO: Acknowledgment sent {"connection_id":45913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:25:56] local.INFO: TCP Data received {"connection_id":45650,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:25:56] local.INFO: Processing buffer {"connection_id":45650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:25:56] local.INFO: IMEI packet received {"connection_id":45650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":45650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:26:01] local.INFO: TCP Data received {"connection_id":45650,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45650,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:26:01] local.INFO: Processing buffer {"connection_id":45650,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:26:01] local.INFO: IMEI packet received {"connection_id":45650,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":45650,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:26:02] local.INFO: TCP Data received {"connection_id":45650,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:26:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:26:02] local.INFO: Processing buffer {"connection_id":45650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d998fb3e8012d7fad4005afe350000000942a..."} 
[2026-04-17 09:26:02] local.INFO: Packet analysis {"connection_id":45650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:26:02] local.INFO: Extracted packet for processing {"connection_id":45650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d998f"} 
[2026-04-17 09:26:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":42,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:26:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757766144001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:26:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:26:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:26:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:26:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776397825000,"timestamp_ms":1776397825000,"timestamp_seconds":1776397825,"priority":1,"record_length":96,"hex_timestamp":"0000019d998fb3e8"} 
[2026-04-17 09:26:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:26:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:26:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:26:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:26:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:26:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:26:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:26:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:26:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:26:02] 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-04-17 09:26:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:26:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:26:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757766144001,"66":25375,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:26:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:26:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:26:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757766144001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:26:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:26:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:26:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:26:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:26:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757766144001,"power":25375,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:26:02] local.INFO: DEBUG: GPS processor result {"connection_id":45650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:26:02] local.INFO: GPS data processed {"connection_id":45650,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:26:02] local.INFO: Acknowledgment sent {"connection_id":45650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:26:04] local.INFO: TCP Data received {"connection_id":45650,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:26:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:26:04] local.INFO: Processing buffer {"connection_id":45650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:26:04] local.INFO: Packet analysis {"connection_id":45650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:26:04] local.INFO: Extracted packet for processing {"connection_id":45650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:26:04] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:26:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757843200001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:26:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:26:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:26:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:26:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776398126000,"timestamp_ms":1776398126000,"timestamp_seconds":1776398126,"priority":1,"record_length":96,"hex_timestamp":"0000019d99944bb0"} 
[2026-04-17 09:26:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:26:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:26:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:26:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:26:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:26:04] local.INFO: Teltonika packet parsed successfully {"connection_id":45650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:26:04] local.INFO: Passing IMEI to GPS processor {"connection_id":45650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:26:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":45650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:26:04] 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-04-17 09:26:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:26:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:26:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757843200001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:26:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:26:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:26:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757843200001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:26:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:26:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:26:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:26:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:26:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757843200001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:26:04] local.INFO: DEBUG: GPS processor result {"connection_id":45650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:26:04] local.INFO: GPS data processed {"connection_id":45650,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:26:04] local.INFO: Acknowledgment sent {"connection_id":45650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:26:10] local.INFO: TCP Data received {"connection_id":46478,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:26:10] local.INFO: Processing buffer {"connection_id":46478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:26:10] local.INFO: IMEI packet received {"connection_id":46478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":46478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:26:16] local.INFO: TCP Data received {"connection_id":46478,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46478,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:26:16] local.INFO: Processing buffer {"connection_id":46478,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:26:16] local.INFO: IMEI packet received {"connection_id":46478,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:26:16] local.INFO: IMEI acknowledgment sent {"connection_id":46478,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:26:18] local.INFO: TCP Data received {"connection_id":46478,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:26:18] local.INFO: Processing buffer {"connection_id":46478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:26:18] local.INFO: Packet analysis {"connection_id":46478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:26:18] local.INFO: Extracted packet for processing {"connection_id":46478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:26:18] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:26:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757807360001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:26:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:26:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:26:18] 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-04-17 09:26:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776397986000,"timestamp_ms":1776397986000,"timestamp_seconds":1776397986,"priority":1,"record_length":96,"hex_timestamp":"0000019d999228d0"} 
[2026-04-17 09:26:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:26:18] 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-04-17 09: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 09:26:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:26:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:26:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:26:18] local.INFO: Teltonika packet parsed successfully {"connection_id":46478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:26:18] local.INFO: Passing IMEI to GPS processor {"connection_id":46478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:26:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":46478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:26:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:26:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:26:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:26:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757807360001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:26:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:26:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:26:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757807360001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:26:18] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:26:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:26:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:26:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757807360001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:26:18] local.INFO: DEBUG: GPS processor result {"connection_id":46478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20269,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:26:18] local.INFO: GPS data processed {"connection_id":46478,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:26:18] local.INFO: Acknowledgment sent {"connection_id":46478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:26:20] local.INFO: TCP Data received {"connection_id":46478,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:26:20] local.INFO: Processing buffer {"connection_id":46478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:26:20] local.INFO: Packet analysis {"connection_id":46478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:26:20] local.INFO: Extracted packet for processing {"connection_id":46478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:26:20] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757807360001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:26:20] 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-04-17 09:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776397986000,"timestamp_ms":1776397986000,"timestamp_seconds":1776397986,"priority":1,"record_length":96,"hex_timestamp":"0000019d999228d0"} 
[2026-04-17 09:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:26:20] 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-04-17 09:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 09:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":46478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":46478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":46478,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757807360001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757807360001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:26:20] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757807360001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":46478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20270,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:26:20] local.INFO: GPS data processed {"connection_id":46478,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:26:20] local.INFO: Acknowledgment sent {"connection_id":46478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:26:35] local.INFO: TCP Data received {"connection_id":45650,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:26:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:26:35] local.INFO: Processing buffer {"connection_id":45650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:26:35] local.INFO: Packet analysis {"connection_id":45650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:26:35] local.INFO: Extracted packet for processing {"connection_id":45650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:26:35] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:26:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757843200001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:26:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:26:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:26:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:26:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776398126000,"timestamp_ms":1776398126000,"timestamp_seconds":1776398126,"priority":1,"record_length":96,"hex_timestamp":"0000019d99944bb0"} 
[2026-04-17 09:26:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:26:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:26:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:26:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:26:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:26:35] local.INFO: Teltonika packet parsed successfully {"connection_id":45650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:26:35] local.INFO: Passing IMEI to GPS processor {"connection_id":45650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:26:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":45650,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:26:35] 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-04-17 09:26:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:26:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:26:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757843200001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:26:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:26:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:26:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757843200001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:26:35] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:26:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:26:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:26:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:26:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757843200001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:26:35] local.INFO: DEBUG: GPS processor result {"connection_id":45650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:26:35] local.INFO: GPS data processed {"connection_id":45650,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:26:35] local.INFO: Acknowledgment sent {"connection_id":45650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:26:52] local.INFO: TCP Data received {"connection_id":45724,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:26:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:26:52] local.INFO: Processing buffer {"connection_id":45724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:26:52] local.INFO: IMEI packet received {"connection_id":45724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:26:52] local.INFO: IMEI acknowledgment sent {"connection_id":45724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:26:56] local.INFO: TCP Data received {"connection_id":45724,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45724,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:26:56] local.INFO: Processing buffer {"connection_id":45724,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:26:56] local.INFO: IMEI packet received {"connection_id":45724,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":45724,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:26:57] local.INFO: TCP Data received {"connection_id":45724,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:26:57] local.INFO: Processing buffer {"connection_id":45724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:26:57] local.INFO: Packet analysis {"connection_id":45724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:26:57] local.INFO: Extracted packet for processing {"connection_id":45724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:26:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757843200001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776398126000,"timestamp_ms":1776398126000,"timestamp_seconds":1776398126,"priority":1,"record_length":96,"hex_timestamp":"0000019d99944bb0"} 
[2026-04-17 09:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757843200001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757843200001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:26:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:26:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757843200001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":45724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:26:57] local.INFO: GPS data processed {"connection_id":45724,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:26:57] local.INFO: Acknowledgment sent {"connection_id":45724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:27:05] local.INFO: TCP Data received {"connection_id":46479,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:27:05] local.INFO: Processing buffer {"connection_id":46479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:27:05] local.INFO: IMEI packet received {"connection_id":46479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":46479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:27:12] local.INFO: TCP Data received {"connection_id":46479,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:27:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46479,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:27:12] local.INFO: Processing buffer {"connection_id":46479,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:27:12] local.INFO: IMEI packet received {"connection_id":46479,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:27:12] local.INFO: IMEI acknowledgment sent {"connection_id":46479,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:27:14] local.INFO: TCP Data received {"connection_id":46479,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:27:14] local.INFO: Processing buffer {"connection_id":46479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:27:14] local.INFO: Packet analysis {"connection_id":46479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:27:14] local.INFO: Extracted packet for processing {"connection_id":46479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:27:14] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:27:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757807360001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:27:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:27:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:27:14] 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-04-17 09:27:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776397986000,"timestamp_ms":1776397986000,"timestamp_seconds":1776397986,"priority":1,"record_length":96,"hex_timestamp":"0000019d999228d0"} 
[2026-04-17 09:27:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:27:14] 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-04-17 09:27:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 09:27: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-04-17 09:27:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:27:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:27:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:27:14] local.INFO: Teltonika packet parsed successfully {"connection_id":46479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:27:14] local.INFO: Passing IMEI to GPS processor {"connection_id":46479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:27:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":46479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:27:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:27:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:27:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:27:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757807360001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:27:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:27:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:27:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757807360001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:27:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:27:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:27:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:27:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757807360001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:27:14] local.INFO: DEBUG: GPS processor result {"connection_id":46479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20273,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:27:14] local.INFO: GPS data processed {"connection_id":46479,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:27:14] local.INFO: Acknowledgment sent {"connection_id":46479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:27:16] local.INFO: TCP Data received {"connection_id":46479,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:27:16] local.INFO: Processing buffer {"connection_id":46479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:27:16] local.INFO: Packet analysis {"connection_id":46479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:27:16] local.INFO: Extracted packet for processing {"connection_id":46479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:27:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757807360001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:27:16] 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-04-17 09:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776397986000,"timestamp_ms":1776397986000,"timestamp_seconds":1776397986,"priority":1,"record_length":96,"hex_timestamp":"0000019d999228d0"} 
[2026-04-17 09:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:27:16] 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-04-17 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 09:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757807360001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757807360001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:27:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757807360001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":46479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20274,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:27:16] local.INFO: GPS data processed {"connection_id":46479,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:27:16] local.INFO: Acknowledgment sent {"connection_id":46479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:27:28] local.INFO: TCP Data received {"connection_id":45724,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:27:28] local.INFO: Processing buffer {"connection_id":45724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:27:28] local.INFO: Packet analysis {"connection_id":45724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:27:28] local.INFO: Extracted packet for processing {"connection_id":45724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:27:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757843200001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776398126000,"timestamp_ms":1776398126000,"timestamp_seconds":1776398126,"priority":1,"record_length":96,"hex_timestamp":"0000019d99944bb0"} 
[2026-04-17 09:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45724,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757843200001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757843200001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:27:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:27:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757843200001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":45724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:27:28] local.INFO: GPS data processed {"connection_id":45724,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:27:28] local.INFO: Acknowledgment sent {"connection_id":45724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:27:47] local.INFO: TCP Data received {"connection_id":46479,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:27:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46479,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:27:47] local.INFO: Processing buffer {"connection_id":46479,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:27:47] local.INFO: Packet analysis {"connection_id":46479,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:27:47] local.INFO: Extracted packet for processing {"connection_id":46479,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:27:47] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:27:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757807360001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:27:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:27:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:27:47] 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-04-17 09:27:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776397986000,"timestamp_ms":1776397986000,"timestamp_seconds":1776397986,"priority":1,"record_length":96,"hex_timestamp":"0000019d999228d0"} 
[2026-04-17 09:27:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:27:47] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 09:27:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:27:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:27:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:27:47] local.INFO: Teltonika packet parsed successfully {"connection_id":46479,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:27:47] local.INFO: Passing IMEI to GPS processor {"connection_id":46479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:27:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":46479,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:27:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:27:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:27:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:27:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757807360001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:27:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:27:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:27:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757807360001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:27:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:27:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:27:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:27:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757807360001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:27:47] local.INFO: DEBUG: GPS processor result {"connection_id":46479,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20276,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:27:47] local.INFO: GPS data processed {"connection_id":46479,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:27:47] local.INFO: Acknowledgment sent {"connection_id":46479,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:27:51] local.INFO: TCP Data received {"connection_id":45651,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:27:51] local.INFO: Processing buffer {"connection_id":45651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:27:51] local.INFO: IMEI packet received {"connection_id":45651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":45651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:28:01] local.INFO: TCP Data received {"connection_id":45651,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:28:01] local.INFO: Processing buffer {"connection_id":45651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:28:01] local.INFO: IMEI packet received {"connection_id":45651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:28:01] local.INFO: IMEI acknowledgment sent {"connection_id":45651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:28:02] local.INFO: TCP Data received {"connection_id":45651,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:28:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:28:02] local.INFO: Processing buffer {"connection_id":45651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:28:02] local.INFO: Packet analysis {"connection_id":45651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:28:02] local.INFO: Extracted packet for processing {"connection_id":45651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:28:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:28:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757843200001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:28:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:28:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:28:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:28:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776398126000,"timestamp_ms":1776398126000,"timestamp_seconds":1776398126,"priority":1,"record_length":96,"hex_timestamp":"0000019d99944bb0"} 
[2026-04-17 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-04-17 09:28: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-04-17 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:28:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:28:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:28:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:28:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:28:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:28:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:28:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:28:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:28:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757843200001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:28:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:28:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:28:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757843200001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:28:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:28:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:28:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:28:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:28:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757843200001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:28:02] local.INFO: DEBUG: GPS processor result {"connection_id":45651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:28:02] local.INFO: GPS data processed {"connection_id":45651,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:28:02] local.INFO: Acknowledgment sent {"connection_id":45651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:28:05] local.INFO: TCP Data received {"connection_id":45725,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:28:05] local.INFO: Processing buffer {"connection_id":45725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:28:05] local.INFO: IMEI packet received {"connection_id":45725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":45725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:28:10] local.INFO: TCP Data received {"connection_id":45725,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:28:10] local.INFO: Processing buffer {"connection_id":45725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:28:10] local.INFO: IMEI packet received {"connection_id":45725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":45725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:28:12] local.INFO: TCP Data received {"connection_id":45725,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:28:12] local.INFO: Processing buffer {"connection_id":45725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:28:12] local.INFO: Packet analysis {"connection_id":45725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:28:12] local.INFO: Extracted packet for processing {"connection_id":45725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:28:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757807360001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:28:12] 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-04-17 09:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776397986000,"timestamp_ms":1776397986000,"timestamp_seconds":1776397986,"priority":1,"record_length":96,"hex_timestamp":"0000019d999228d0"} 
[2026-04-17 09:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:28: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-04-17 09:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 09:28: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-04-17 09:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757807360001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757807360001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:28:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757807360001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":45725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20278,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:28:12] local.INFO: GPS data processed {"connection_id":45725,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:28:12] local.INFO: Acknowledgment sent {"connection_id":45725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:28:33] local.INFO: TCP Data received {"connection_id":45651,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:28:33] local.INFO: Processing buffer {"connection_id":45651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:28:33] local.INFO: Packet analysis {"connection_id":45651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:28:33] local.INFO: Extracted packet for processing {"connection_id":45651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:28:33] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757843200001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:28:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776398126000,"timestamp_ms":1776398126000,"timestamp_seconds":1776398126,"priority":1,"record_length":96,"hex_timestamp":"0000019d99944bb0"} 
[2026-04-17 09:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:28:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:28:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:28:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757843200001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757843200001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:28:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:28:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757843200001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":45651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:28:33] local.INFO: GPS data processed {"connection_id":45651,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:28:33] local.INFO: Acknowledgment sent {"connection_id":45651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:28:43] local.INFO: TCP Data received {"connection_id":45725,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:28:43] local.INFO: Processing buffer {"connection_id":45725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999228d0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:28:43] local.INFO: Packet analysis {"connection_id":45725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:28:43] local.INFO: Extracted packet for processing {"connection_id":45725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9992"} 
[2026-04-17 09:28:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757807360001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:28:43] 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-04-17 09:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776397986000,"timestamp_ms":1776397986000,"timestamp_seconds":1776397986,"priority":1,"record_length":96,"hex_timestamp":"0000019d999228d0"} 
[2026-04-17 09:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:28:43] 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-04-17 09: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 09:28: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-04-17 09: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-04-17 09:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757807360001,"66":25419,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757807360001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:28:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757807360001,"power":25419,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":45725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20280,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:28:43] local.INFO: GPS data processed {"connection_id":45725,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:28:43] local.INFO: Acknowledgment sent {"connection_id":45725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:28:56] local.INFO: TCP Data received {"connection_id":45914,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:28:56] local.INFO: Processing buffer {"connection_id":45914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:28:56] local.INFO: IMEI packet received {"connection_id":45914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":45914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:29:01] local.INFO: TCP Data received {"connection_id":45914,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:29:01] local.INFO: Processing buffer {"connection_id":45914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:29:01] local.INFO: IMEI packet received {"connection_id":45914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":45914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:29:02] local.INFO: TCP Data received {"connection_id":45914,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:29:02] local.INFO: Processing buffer {"connection_id":45914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:29:02] local.INFO: Packet analysis {"connection_id":45914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:29:02] local.INFO: Extracted packet for processing {"connection_id":45914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757843200001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776398126000,"timestamp_ms":1776398126000,"timestamp_seconds":1776398126,"priority":1,"record_length":96,"hex_timestamp":"0000019d99944bb0"} 
[2026-04-17 09:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:29:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:29:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757843200001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757843200001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:29:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:29:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757843200001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":45914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:29:02] local.INFO: GPS data processed {"connection_id":45914,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:29:02] local.INFO: Acknowledgment sent {"connection_id":45914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:29:07] local.INFO: TCP Data received {"connection_id":45914,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:29:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:29:07] local.INFO: Processing buffer {"connection_id":45914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:29:07] local.INFO: Packet analysis {"connection_id":45914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:29:07] local.INFO: Extracted packet for processing {"connection_id":45914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:29:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:29:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757843200001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:29:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:29:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:29:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:29:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776398126000,"timestamp_ms":1776398126000,"timestamp_seconds":1776398126,"priority":1,"record_length":96,"hex_timestamp":"0000019d99944bb0"} 
[2026-04-17 09:29:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:29:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:29:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:29:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:29:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:29:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:29:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:29:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:29:07] 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-04-17 09:29:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:29:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:29:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757843200001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:29:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:29:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:29:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757843200001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:29:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:29:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:29:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:29:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:29:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757843200001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:29:07] local.INFO: DEBUG: GPS processor result {"connection_id":45914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:29:07] local.INFO: GPS data processed {"connection_id":45914,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:29:07] local.INFO: Acknowledgment sent {"connection_id":45914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:29:45] local.INFO: TCP Data received {"connection_id":45652,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45652,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:29:45] local.INFO: Processing buffer {"connection_id":45652,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:29:45] local.INFO: IMEI packet received {"connection_id":45652,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:29:45] local.INFO: IMEI acknowledgment sent {"connection_id":45652,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:29:51] local.INFO: TCP Data received {"connection_id":45726,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:29:51] local.INFO: Processing buffer {"connection_id":45726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:29:51] local.INFO: IMEI packet received {"connection_id":45726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":45726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:29:56] local.INFO: TCP Data received {"connection_id":45726,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:29:56] local.INFO: Processing buffer {"connection_id":45726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:29:56] local.INFO: IMEI packet received {"connection_id":45726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":45726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:29:57] local.INFO: TCP Data received {"connection_id":45726,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:29:57] local.INFO: Processing buffer {"connection_id":45726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:29:57] local.INFO: Packet analysis {"connection_id":45726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:29:57] local.INFO: Extracted packet for processing {"connection_id":45726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:29:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757843200001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776398126000,"timestamp_ms":1776398126000,"timestamp_seconds":1776398126,"priority":1,"record_length":96,"hex_timestamp":"0000019d99944bb0"} 
[2026-04-17 09:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757843200001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757843200001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:29:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:29:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757843200001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":45726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:29:57] local.INFO: GPS data processed {"connection_id":45726,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:29:57] local.INFO: Acknowledgment sent {"connection_id":45726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:30:10] local.INFO: TCP Data received {"connection_id":45653,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:30:10] local.INFO: Processing buffer {"connection_id":45653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:30:10] local.INFO: IMEI packet received {"connection_id":45653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":45653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:30:15] local.INFO: TCP Data received {"connection_id":45653,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45653,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:30:15] local.INFO: Processing buffer {"connection_id":45653,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:30:15] local.INFO: IMEI packet received {"connection_id":45653,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":45653,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:30:16] local.INFO: TCP Data received {"connection_id":45653,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:30:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:30:16] local.INFO: Processing buffer {"connection_id":45653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:30:16] local.INFO: Packet analysis {"connection_id":45653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9996"} 
[2026-04-17 09:30:16] local.INFO: Extracted packet for processing {"connection_id":45653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9996"} 
[2026-04-17 09:30:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:30:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757884416001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:30:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:30:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:30:16] 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-04-17 09:30:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776398287000,"timestamp_ms":1776398287000,"timestamp_seconds":1776398287,"priority":1,"record_length":96,"hex_timestamp":"0000019d9996c098"} 
[2026-04-17 09:30:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:30:16] 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-04-17 09: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 09:30: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-04-17 09: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-04-17 09:30:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:30:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:30:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:30:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:30:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:30:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:30:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:30:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:30:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757884416001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:30:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:30:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:30:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757884416001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:30:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:30:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:30:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:30:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757884416001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:30:16] local.INFO: DEBUG: GPS processor result {"connection_id":45653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20284,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:30:16] local.INFO: GPS data processed {"connection_id":45653,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:30:16] local.INFO: Acknowledgment sent {"connection_id":45653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:30:28] local.INFO: TCP Data received {"connection_id":45726,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:30:28] local.INFO: Processing buffer {"connection_id":45726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:30:28] local.INFO: Packet analysis {"connection_id":45726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:30:28] local.INFO: Extracted packet for processing {"connection_id":45726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:30:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757843200001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776398126000,"timestamp_ms":1776398126000,"timestamp_seconds":1776398126,"priority":1,"record_length":96,"hex_timestamp":"0000019d99944bb0"} 
[2026-04-17 09:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757843200001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757843200001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:30:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:30:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757843200001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":45726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:30:28] local.INFO: GPS data processed {"connection_id":45726,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:30:28] local.INFO: Acknowledgment sent {"connection_id":45726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:30:51] local.INFO: TCP Data received {"connection_id":45915,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:30:51] local.INFO: Processing buffer {"connection_id":45915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:30:51] local.INFO: IMEI packet received {"connection_id":45915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":45915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:30:52] local.INFO: TCP Data received {"connection_id":45653,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:30:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:30:52] local.INFO: Processing buffer {"connection_id":45653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:30:52] local.INFO: Packet analysis {"connection_id":45653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9996"} 
[2026-04-17 09:30:52] local.INFO: Extracted packet for processing {"connection_id":45653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9996"} 
[2026-04-17 09:30:52] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:30:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757884416001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:30:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:30:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:30:52] 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-04-17 09:30:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776398287000,"timestamp_ms":1776398287000,"timestamp_seconds":1776398287,"priority":1,"record_length":96,"hex_timestamp":"0000019d9996c098"} 
[2026-04-17 09:30:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:30:52] 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-04-17 09:30:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 09:30:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:30:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:30:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:30:52] local.INFO: Teltonika packet parsed successfully {"connection_id":45653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:30:52] local.INFO: Passing IMEI to GPS processor {"connection_id":45653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:30:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":45653,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:30:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:30:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:30:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:30:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757884416001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:30:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:30:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:30:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757884416001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:30:52] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:30:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:30:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:30:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757884416001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:30:52] local.INFO: DEBUG: GPS processor result {"connection_id":45653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20286,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:30:52] local.INFO: GPS data processed {"connection_id":45653,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:30:52] local.INFO: Acknowledgment sent {"connection_id":45653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:30:56] local.INFO: TCP Data received {"connection_id":45915,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45915,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:30:56] local.INFO: Processing buffer {"connection_id":45915,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:30:56] local.INFO: IMEI packet received {"connection_id":45915,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":45915,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:30:57] local.INFO: TCP Data received {"connection_id":45915,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:30:57] local.INFO: Processing buffer {"connection_id":45915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99944bb0012d7fad4005afe350000000942b..."} 
[2026-04-17 09:30:57] local.INFO: Packet analysis {"connection_id":45915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:30:57] local.INFO: Extracted packet for processing {"connection_id":45915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9994"} 
[2026-04-17 09:30:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757843200001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776398126000,"timestamp_ms":1776398126000,"timestamp_seconds":1776398126,"priority":1,"record_length":96,"hex_timestamp":"0000019d99944bb0"} 
[2026-04-17 09:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:30:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757843200001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 09:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757843200001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:30:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 09:30:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757843200001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":45915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:30:57] local.INFO: GPS data processed {"connection_id":45915,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:30:57] local.INFO: Acknowledgment sent {"connection_id":45915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:31:12] local.INFO: TCP Data received {"connection_id":46480,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:31:12] local.INFO: Processing buffer {"connection_id":46480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:31:12] local.INFO: IMEI packet received {"connection_id":46480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:31:12] local.INFO: IMEI acknowledgment sent {"connection_id":46480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:31:15] local.INFO: TCP Data received {"connection_id":46480,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:31:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46480,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:31:15] local.INFO: Processing buffer {"connection_id":46480,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:31:15] local.INFO: IMEI packet received {"connection_id":46480,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:31:15] local.INFO: IMEI acknowledgment sent {"connection_id":46480,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:31:16] local.INFO: TCP Data received {"connection_id":46480,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:31:16] local.INFO: Processing buffer {"connection_id":46480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:31:16] local.INFO: Packet analysis {"connection_id":46480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9996"} 
[2026-04-17 09:31:16] local.INFO: Extracted packet for processing {"connection_id":46480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9996"} 
[2026-04-17 09:31:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:31:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757884416001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:31:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:31:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:31:16] 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-04-17 09:31:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776398287000,"timestamp_ms":1776398287000,"timestamp_seconds":1776398287,"priority":1,"record_length":96,"hex_timestamp":"0000019d9996c098"} 
[2026-04-17 09:31:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:31:16] 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-04-17 09: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":75,"data_length":795,"current_offset":136} 
[2026-04-17 09:31: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-04-17 09: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-04-17 09:31:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:31:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:31:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:31:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:31:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:31:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:31:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:31:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:31:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757884416001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:31:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:31:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:31:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757884416001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:31:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:31:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:31:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:31:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757884416001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:31:16] local.INFO: DEBUG: GPS processor result {"connection_id":46480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20288,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:31:16] local.INFO: GPS data processed {"connection_id":46480,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:31:16] local.INFO: Acknowledgment sent {"connection_id":46480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:31:21] local.INFO: TCP Data received {"connection_id":46480,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46480,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:31:21] local.INFO: Processing buffer {"connection_id":46480,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:31:21] local.INFO: Packet analysis {"connection_id":46480,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9996"} 
[2026-04-17 09:31:21] local.INFO: Extracted packet for processing {"connection_id":46480,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9996"} 
[2026-04-17 09:31:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:31:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757884416001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:31:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:31:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:31:21] 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-04-17 09:31:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776398287000,"timestamp_ms":1776398287000,"timestamp_seconds":1776398287,"priority":1,"record_length":96,"hex_timestamp":"0000019d9996c098"} 
[2026-04-17 09:31:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:31:21] 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-04-17 09:31:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 09:31:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:31:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:31:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:31:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:31:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46480,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:31:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:31:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46480,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:31:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:31:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:31:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:31:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757884416001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:31:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:31:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:31:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757884416001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:31:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:31:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:31:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:31:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757884416001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:31:21] local.INFO: DEBUG: GPS processor result {"connection_id":46480,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20289,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:31:21] local.INFO: GPS data processed {"connection_id":46480,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:31:21] local.INFO: Acknowledgment sent {"connection_id":46480,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:31:28] local.INFO: TCP Data received {"connection_id":45915,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45915,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:31:28] local.INFO: Processing buffer {"connection_id":45915,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:31:28] local.INFO: Packet analysis {"connection_id":45915,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:31:28] local.INFO: Extracted packet for processing {"connection_id":45915,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:31:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757920256001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776398427000,"timestamp_ms":1776398427000,"timestamp_seconds":1776398427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9998e378"} 
[2026-04-17 09:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:31:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45915,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45915,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757920256001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757920256001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:31:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:31:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757920256001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":45915,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:31:28] local.INFO: GPS data processed {"connection_id":45915,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:31:28] local.INFO: Acknowledgment sent {"connection_id":45915,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:31:51] local.INFO: TCP Data received {"connection_id":46481,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:31:51] local.INFO: Processing buffer {"connection_id":46481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:31:51] local.INFO: IMEI packet received {"connection_id":46481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":46481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:31:56] local.INFO: TCP Data received {"connection_id":46481,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:31:56] local.INFO: Processing buffer {"connection_id":46481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:31:56] local.INFO: IMEI packet received {"connection_id":46481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":46481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:31:57] local.INFO: TCP Data received {"connection_id":46481,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:31:57] local.INFO: Processing buffer {"connection_id":46481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:31:57] local.INFO: Packet analysis {"connection_id":46481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:31:57] local.INFO: Extracted packet for processing {"connection_id":46481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757920256001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776398427000,"timestamp_ms":1776398427000,"timestamp_seconds":1776398427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9998e378"} 
[2026-04-17 09:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757920256001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757920256001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:31:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:31:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757920256001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":46481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:31:57] local.INFO: GPS data processed {"connection_id":46481,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:31:57] local.INFO: Acknowledgment sent {"connection_id":46481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:32:25] local.INFO: TCP Data received {"connection_id":45916,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:32:25] local.INFO: Processing buffer {"connection_id":45916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:32:25] local.INFO: IMEI packet received {"connection_id":45916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":45916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:32:29] local.INFO: TCP Data received {"connection_id":46481,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:32:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:32:29] local.INFO: Processing buffer {"connection_id":46481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:32:29] local.INFO: Packet analysis {"connection_id":46481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:32:29] local.INFO: Extracted packet for processing {"connection_id":46481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:32:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:32:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757920256001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:32:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:32:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:32:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:32:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776398427000,"timestamp_ms":1776398427000,"timestamp_seconds":1776398427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9998e378"} 
[2026-04-17 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-04-17 09:32:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:32:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:32:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:32:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:32:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:32:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:32: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-04-17 09:32:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:32:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:32:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757920256001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:32:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:32:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:32:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757920256001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:32:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:32:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:32:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:32:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:32:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757920256001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:32:29] local.INFO: DEBUG: GPS processor result {"connection_id":46481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:32:29] local.INFO: GPS data processed {"connection_id":46481,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:32:29] local.INFO: Acknowledgment sent {"connection_id":46481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:32:48] local.INFO: TCP Data received {"connection_id":45916,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:32:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45916,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:32:48] local.INFO: Processing buffer {"connection_id":45916,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:32:48] local.INFO: IMEI packet received {"connection_id":45916,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:32:48] local.INFO: IMEI acknowledgment sent {"connection_id":45916,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:32:53] local.INFO: TCP Data received {"connection_id":45916,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:32:53] local.INFO: Processing buffer {"connection_id":45916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:32:53] local.INFO: Packet analysis {"connection_id":45916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9996"} 
[2026-04-17 09:32:53] local.INFO: Extracted packet for processing {"connection_id":45916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9996"} 
[2026-04-17 09:32:53] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:32:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757884416001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:32:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:32:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:32:53] 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-04-17 09:32:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776398287000,"timestamp_ms":1776398287000,"timestamp_seconds":1776398287,"priority":1,"record_length":96,"hex_timestamp":"0000019d9996c098"} 
[2026-04-17 09:32:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:32:53] 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-04-17 09:32:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 09:32: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-04-17 09:32:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:32:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:32:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:32:53] local.INFO: Teltonika packet parsed successfully {"connection_id":45916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:32:53] local.INFO: Passing IMEI to GPS processor {"connection_id":45916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:32:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":45916,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:32:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:32:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:32:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:32:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757884416001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:32:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:32:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:32:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757884416001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:32:53] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:32:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:32:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:32:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757884416001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:32:53] local.INFO: DEBUG: GPS processor result {"connection_id":45916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20293,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:32:53] local.INFO: GPS data processed {"connection_id":45916,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:32:53] local.INFO: Acknowledgment sent {"connection_id":45916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:32:56] local.INFO: TCP Data received {"connection_id":45727,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:32:56] local.INFO: Processing buffer {"connection_id":45727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:32:56] local.INFO: IMEI packet received {"connection_id":45727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":45727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:33:01] local.INFO: TCP Data received {"connection_id":45727,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45727,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:33:01] local.INFO: Processing buffer {"connection_id":45727,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:33:01] local.INFO: IMEI packet received {"connection_id":45727,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:33:01] local.INFO: IMEI acknowledgment sent {"connection_id":45727,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:33:02] local.INFO: TCP Data received {"connection_id":45727,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:33:02] local.INFO: Processing buffer {"connection_id":45727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:33:02] local.INFO: Packet analysis {"connection_id":45727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:33:02] local.INFO: Extracted packet for processing {"connection_id":45727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:33:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757920256001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776398427000,"timestamp_ms":1776398427000,"timestamp_seconds":1776398427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9998e378"} 
[2026-04-17 09:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:33: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-04-17 09:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:33:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757920256001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757920256001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:33:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:33:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757920256001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":45727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:33:02] local.INFO: GPS data processed {"connection_id":45727,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:33:02] local.INFO: Acknowledgment sent {"connection_id":45727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:33:07] local.INFO: TCP Data received {"connection_id":45727,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:33:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45727,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:33:07] local.INFO: Processing buffer {"connection_id":45727,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:33:07] local.INFO: Packet analysis {"connection_id":45727,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:33:07] local.INFO: Extracted packet for processing {"connection_id":45727,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:33:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:33:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757920256001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:33:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:33:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:33:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:33:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776398427000,"timestamp_ms":1776398427000,"timestamp_seconds":1776398427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9998e378"} 
[2026-04-17 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-04-17 09:33:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:33:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:33:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:33:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45727,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:33:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:33:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45727,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:33:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:33:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:33:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:33:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757920256001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:33:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:33:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:33:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757920256001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:33:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:33:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:33:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:33:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:33:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757920256001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:33:07] local.INFO: DEBUG: GPS processor result {"connection_id":45727,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:33:07] local.INFO: GPS data processed {"connection_id":45727,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:33:07] local.INFO: Acknowledgment sent {"connection_id":45727,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:33:10] local.INFO: TCP Data received {"connection_id":45654,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:33:10] local.INFO: Processing buffer {"connection_id":45654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:33:10] local.INFO: IMEI packet received {"connection_id":45654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":45654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:33:17] local.INFO: TCP Data received {"connection_id":45654,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45654,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:33:17] local.INFO: Processing buffer {"connection_id":45654,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:33:17] local.INFO: IMEI packet received {"connection_id":45654,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":45654,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:33:19] local.INFO: TCP Data received {"connection_id":45654,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:33:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:33:19] local.INFO: Processing buffer {"connection_id":45654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:33:19] local.INFO: Packet analysis {"connection_id":45654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9996"} 
[2026-04-17 09:33:19] local.INFO: Extracted packet for processing {"connection_id":45654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9996"} 
[2026-04-17 09:33:19] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:33:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757884416001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:33:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:33:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:33:19] 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-04-17 09:33:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776398287000,"timestamp_ms":1776398287000,"timestamp_seconds":1776398287,"priority":1,"record_length":96,"hex_timestamp":"0000019d9996c098"} 
[2026-04-17 09:33:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:33:19] 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-04-17 09:33:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 09:33: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-04-17 09:33:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:33:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:33:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:33:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:33:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:33:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:33:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:33:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:33:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:33:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757884416001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:33:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:33:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:33:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757884416001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:33:19] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:33:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:33:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:33:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757884416001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:33:19] local.INFO: DEBUG: GPS processor result {"connection_id":45654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20296,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:33:19] local.INFO: GPS data processed {"connection_id":45654,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:33:19] local.INFO: Acknowledgment sent {"connection_id":45654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:33:20] local.INFO: TCP Data received {"connection_id":45654,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:33:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:33:20] local.INFO: Processing buffer {"connection_id":45654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9996c098012d1b598006d4d5980011013831..."} 
[2026-04-17 09:33:20] local.INFO: Packet analysis {"connection_id":45654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9996"} 
[2026-04-17 09:33:20] local.INFO: Extracted packet for processing {"connection_id":45654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9996"} 
[2026-04-17 09:33:20] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:33:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757884416001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:33:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:33:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:33:20] 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-04-17 09:33:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776398287000,"timestamp_ms":1776398287000,"timestamp_seconds":1776398287,"priority":1,"record_length":96,"hex_timestamp":"0000019d9996c098"} 
[2026-04-17 09:33:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:33:20] 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-04-17 09:33:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 09:33:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:33:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:33:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:33:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:33:20] local.INFO: Teltonika packet parsed successfully {"connection_id":45654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:33:20] local.INFO: Passing IMEI to GPS processor {"connection_id":45654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:33:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":45654,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:33:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:33:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:33:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:33:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757884416001,"66":25375,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:33:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:33:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:33:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757884416001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:33:20] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:33:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:33:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:33:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757884416001,"power":25375,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:33:20] local.INFO: DEBUG: GPS processor result {"connection_id":45654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20297,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:33:20] local.INFO: GPS data processed {"connection_id":45654,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:33:20] local.INFO: Acknowledgment sent {"connection_id":45654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:33:51] local.INFO: TCP Data received {"connection_id":46482,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:33:51] local.INFO: Processing buffer {"connection_id":46482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:33:51] local.INFO: IMEI packet received {"connection_id":46482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":46482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:33:56] local.INFO: TCP Data received {"connection_id":46482,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:33:56] local.INFO: Processing buffer {"connection_id":46482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:33:56] local.INFO: IMEI packet received {"connection_id":46482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":46482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:33:57] local.INFO: TCP Data received {"connection_id":46482,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:33:57] local.INFO: Processing buffer {"connection_id":46482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:33:57] local.INFO: Packet analysis {"connection_id":46482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:33:57] local.INFO: Extracted packet for processing {"connection_id":46482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:33:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757920256001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776398427000,"timestamp_ms":1776398427000,"timestamp_seconds":1776398427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9998e378"} 
[2026-04-17 09:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757920256001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757920256001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:33:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:33:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757920256001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":46482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:33:57] local.INFO: GPS data processed {"connection_id":46482,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:33:57] local.INFO: Acknowledgment sent {"connection_id":46482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:34:05] local.INFO: TCP Data received {"connection_id":45917,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:34:05] local.INFO: Processing buffer {"connection_id":45917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:34:05] local.INFO: IMEI packet received {"connection_id":45917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":45917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:34:10] local.INFO: TCP Data received {"connection_id":45917,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45917,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:34:10] local.INFO: Processing buffer {"connection_id":45917,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:34:10] local.INFO: IMEI packet received {"connection_id":45917,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":45917,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:34:13] local.INFO: TCP Data received {"connection_id":45917,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:34:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:34:13] local.INFO: Processing buffer {"connection_id":45917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:34:13] local.INFO: Packet analysis {"connection_id":45917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999b"} 
[2026-04-17 09:34:13] local.INFO: Extracted packet for processing {"connection_id":45917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999b"} 
[2026-04-17 09:34:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:34:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757961472001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:34:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:34:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:34:13] 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-04-17 09:34:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776398588000,"timestamp_ms":1776398588000,"timestamp_seconds":1776398588,"priority":1,"record_length":96,"hex_timestamp":"0000019d999b5860"} 
[2026-04-17 09:34:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:34:13] 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-04-17 09:34:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:34:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:34:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:34:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:34:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:34:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:34:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:34:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:34:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:34:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:34:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:34:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757961472001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:34:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:34:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:34:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757961472001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:34:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:34:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:34:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:34:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757961472001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:34:13] local.INFO: DEBUG: GPS processor result {"connection_id":45917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20299,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:34:13] local.INFO: GPS data processed {"connection_id":45917,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:34:13] local.INFO: Acknowledgment sent {"connection_id":45917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:34:28] local.INFO: TCP Data received {"connection_id":46482,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:34:28] local.INFO: Processing buffer {"connection_id":46482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:34:28] local.INFO: Packet analysis {"connection_id":46482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:34:28] local.INFO: Extracted packet for processing {"connection_id":46482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:34:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757920256001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776398427000,"timestamp_ms":1776398427000,"timestamp_seconds":1776398427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9998e378"} 
[2026-04-17 09:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:34:28] 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-04-17 09:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757920256001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757920256001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:34:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757920256001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":46482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:34:28] local.INFO: GPS data processed {"connection_id":46482,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:34:28] local.INFO: Acknowledgment sent {"connection_id":46482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:34:45] local.INFO: TCP Data received {"connection_id":45917,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:34:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:34:45] local.INFO: Processing buffer {"connection_id":45917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:34:45] local.INFO: Packet analysis {"connection_id":45917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999b"} 
[2026-04-17 09:34:45] local.INFO: Extracted packet for processing {"connection_id":45917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999b"} 
[2026-04-17 09:34:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:34:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757961472001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:34:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:34:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:34:45] 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-04-17 09:34:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776398588000,"timestamp_ms":1776398588000,"timestamp_seconds":1776398588,"priority":1,"record_length":96,"hex_timestamp":"0000019d999b5860"} 
[2026-04-17 09:34:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:34:45] 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-04-17 09:34:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:34: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-04-17 09:34:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:34:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:34:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:34:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:34:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:34:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45917,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:34:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:34:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:34:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:34:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757961472001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:34:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:34:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:34:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757961472001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:34:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:34:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:34:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:34:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757961472001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:34:45] local.INFO: DEBUG: GPS processor result {"connection_id":45917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20301,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:34:45] local.INFO: GPS data processed {"connection_id":45917,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:34:45] local.INFO: Acknowledgment sent {"connection_id":45917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:34:51] local.INFO: TCP Data received {"connection_id":45728,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:34:51] local.INFO: Processing buffer {"connection_id":45728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:34:51] local.INFO: IMEI packet received {"connection_id":45728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":45728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:34:56] local.INFO: TCP Data received {"connection_id":45728,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45728,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:34:56] local.INFO: Processing buffer {"connection_id":45728,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:34:56] local.INFO: IMEI packet received {"connection_id":45728,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":45728,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:34:57] local.INFO: TCP Data received {"connection_id":45728,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:34:57] local.INFO: Processing buffer {"connection_id":45728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:34:57] local.INFO: Packet analysis {"connection_id":45728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:34:57] local.INFO: Extracted packet for processing {"connection_id":45728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:34:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757920256001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776398427000,"timestamp_ms":1776398427000,"timestamp_seconds":1776398427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9998e378"} 
[2026-04-17 09:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757920256001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757920256001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:34:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:34:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757920256001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":45728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:34:57] local.INFO: GPS data processed {"connection_id":45728,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:34:57] local.INFO: Acknowledgment sent {"connection_id":45728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:35:10] local.INFO: TCP Data received {"connection_id":45918,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:35:10] local.INFO: Processing buffer {"connection_id":45918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:35:10] local.INFO: IMEI packet received {"connection_id":45918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":45918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:35:15] local.INFO: TCP Data received {"connection_id":45918,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:35:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45918,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:35:15] local.INFO: Processing buffer {"connection_id":45918,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:35:15] local.INFO: IMEI packet received {"connection_id":45918,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:35:15] local.INFO: IMEI acknowledgment sent {"connection_id":45918,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:35:17] local.INFO: TCP Data received {"connection_id":45918,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:35:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:35:17] local.INFO: Processing buffer {"connection_id":45918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:35:17] local.INFO: Packet analysis {"connection_id":45918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999b"} 
[2026-04-17 09:35:17] local.INFO: Extracted packet for processing {"connection_id":45918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999b"} 
[2026-04-17 09:35:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:35:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757961472001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:35:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:35:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:35:17] 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-04-17 09:35:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776398588000,"timestamp_ms":1776398588000,"timestamp_seconds":1776398588,"priority":1,"record_length":96,"hex_timestamp":"0000019d999b5860"} 
[2026-04-17 09:35:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:35:17] 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-04-17 09: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:35:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:35:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:35:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:35:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:35:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:35:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:35:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:35:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:35:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:35:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757961472001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:35:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:35:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:35:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757961472001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:35:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:35:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:35:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:35:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757961472001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:35:17] local.INFO: DEBUG: GPS processor result {"connection_id":45918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20303,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:35:17] local.INFO: GPS data processed {"connection_id":45918,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:35:17] local.INFO: Acknowledgment sent {"connection_id":45918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:35:28] local.INFO: TCP Data received {"connection_id":45728,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:35:28] local.INFO: Processing buffer {"connection_id":45728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:35:28] local.INFO: Packet analysis {"connection_id":45728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:35:28] local.INFO: Extracted packet for processing {"connection_id":45728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757920256001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776398427000,"timestamp_ms":1776398427000,"timestamp_seconds":1776398427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9998e378"} 
[2026-04-17 09:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45728,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757920256001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757920256001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:35:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757920256001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":45728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:35:28] local.INFO: GPS data processed {"connection_id":45728,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:35:28] local.INFO: Acknowledgment sent {"connection_id":45728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:35:48] local.INFO: TCP Data received {"connection_id":45918,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:35:48] local.INFO: Processing buffer {"connection_id":45918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:35:48] local.INFO: Packet analysis {"connection_id":45918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999b"} 
[2026-04-17 09:35:48] local.INFO: Extracted packet for processing {"connection_id":45918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999b"} 
[2026-04-17 09:35:48] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:35:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757961472001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:35:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:35:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:35:48] 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-04-17 09:35:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776398588000,"timestamp_ms":1776398588000,"timestamp_seconds":1776398588,"priority":1,"record_length":96,"hex_timestamp":"0000019d999b5860"} 
[2026-04-17 09:35:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:35:48] 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-04-17 09:35:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:35: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-04-17 09:35:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:35:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:35:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:35:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:35:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:35:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45918,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:35:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:35:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:35:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:35:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757961472001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:35:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:35:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:35:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757961472001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:35:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:35:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:35:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:35:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757961472001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:35:48] local.INFO: DEBUG: GPS processor result {"connection_id":45918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20305,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:35:48] local.INFO: GPS data processed {"connection_id":45918,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:35:48] local.INFO: Acknowledgment sent {"connection_id":45918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:35:51] local.INFO: TCP Data received {"connection_id":46483,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:35:51] local.INFO: Processing buffer {"connection_id":46483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:35:51] local.INFO: IMEI packet received {"connection_id":46483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":46483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:35:56] local.INFO: TCP Data received {"connection_id":46483,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46483,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:35:56] local.INFO: Processing buffer {"connection_id":46483,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:35:56] local.INFO: IMEI packet received {"connection_id":46483,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":46483,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:35:57] local.INFO: TCP Data received {"connection_id":46483,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:35:57] local.INFO: Processing buffer {"connection_id":46483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9998e378012d7fad4005afe3500000009427..."} 
[2026-04-17 09:35:57] local.INFO: Packet analysis {"connection_id":46483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:35:57] local.INFO: Extracted packet for processing {"connection_id":46483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9998"} 
[2026-04-17 09:35:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757920256001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776398427000,"timestamp_ms":1776398427000,"timestamp_seconds":1776398427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9998e378"} 
[2026-04-17 09:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:35:57] 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-04-17 09:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757920256001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757920256001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:35:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:35:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757920256001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":46483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:35:57] local.INFO: GPS data processed {"connection_id":46483,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:35:57] local.INFO: Acknowledgment sent {"connection_id":46483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:36:05] local.INFO: TCP Data received {"connection_id":46484,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:36:05] local.INFO: Processing buffer {"connection_id":46484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:36:05] local.INFO: IMEI packet received {"connection_id":46484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":46484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:36:27] local.INFO: TCP Data received {"connection_id":46484,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46484,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:36:27] local.INFO: Processing buffer {"connection_id":46484,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:36:27] local.INFO: IMEI packet received {"connection_id":46484,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":46484,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:36:28] local.INFO: TCP Data received {"connection_id":46484,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46484,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:36:28] local.INFO: Processing buffer {"connection_id":46484,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:36:28] local.INFO: Packet analysis {"connection_id":46484,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999b"} 
[2026-04-17 09:36:28] local.INFO: Extracted packet for processing {"connection_id":46484,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999b"} 
[2026-04-17 09:36:28] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757961472001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:36:28] 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-04-17 09:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776398588000,"timestamp_ms":1776398588000,"timestamp_seconds":1776398588,"priority":1,"record_length":96,"hex_timestamp":"0000019d999b5860"} 
[2026-04-17 09:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:36:28] 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-04-17 09:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46484,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46484,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757961472001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757961472001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:36:28] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757961472001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":46484,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20307,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:36:28] local.INFO: GPS data processed {"connection_id":46484,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:36:28] local.INFO: Acknowledgment sent {"connection_id":46484,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:36:28] local.INFO: TCP Data received {"connection_id":46483,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46483,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:36:28] local.INFO: Processing buffer {"connection_id":46483,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:36:28] local.INFO: Packet analysis {"connection_id":46483,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:36:28] local.INFO: Extracted packet for processing {"connection_id":46483,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757997312001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776398728000,"timestamp_ms":1776398728000,"timestamp_seconds":1776398728,"priority":1,"record_length":96,"hex_timestamp":"0000019d999d7b40"} 
[2026-04-17 09:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46483,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46483,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757997312001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757997312001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:36:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757997312001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":46483,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:36:28] local.INFO: GPS data processed {"connection_id":46483,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:36:28] local.INFO: Acknowledgment sent {"connection_id":46483,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:36:51] local.INFO: TCP Data received {"connection_id":46485,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:36:51] local.INFO: Processing buffer {"connection_id":46485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:36:51] local.INFO: IMEI packet received {"connection_id":46485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":46485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:36:56] local.INFO: TCP Data received {"connection_id":46485,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46485,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:36:56] local.INFO: Processing buffer {"connection_id":46485,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:36:56] local.INFO: IMEI packet received {"connection_id":46485,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":46485,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:36:58] local.INFO: TCP Data received {"connection_id":46485,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:36:58] local.INFO: Processing buffer {"connection_id":46485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:36:58] local.INFO: Packet analysis {"connection_id":46485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:36:58] local.INFO: Extracted packet for processing {"connection_id":46485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757997312001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776398728000,"timestamp_ms":1776398728000,"timestamp_seconds":1776398728,"priority":1,"record_length":96,"hex_timestamp":"0000019d999d7b40"} 
[2026-04-17 09:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757997312001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757997312001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:36:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:36:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757997312001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":46485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:36:58] local.INFO: GPS data processed {"connection_id":46485,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:36:58] local.INFO: Acknowledgment sent {"connection_id":46485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:37:15] local.INFO: TCP Data received {"connection_id":46486,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:37:15] local.INFO: Processing buffer {"connection_id":46486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:37:15] local.INFO: IMEI packet received {"connection_id":46486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":46486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:37:20] local.INFO: TCP Data received {"connection_id":46486,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:37:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46486,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:37:20] local.INFO: Processing buffer {"connection_id":46486,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:37:20] local.INFO: IMEI packet received {"connection_id":46486,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:37:20] local.INFO: IMEI acknowledgment sent {"connection_id":46486,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:37:21] local.INFO: TCP Data received {"connection_id":46486,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:37:21] local.INFO: Processing buffer {"connection_id":46486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:37:21] local.INFO: Packet analysis {"connection_id":46486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999b"} 
[2026-04-17 09:37:21] local.INFO: Extracted packet for processing {"connection_id":46486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999b"} 
[2026-04-17 09:37:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757961472001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:37:21] 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-04-17 09:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776398588000,"timestamp_ms":1776398588000,"timestamp_seconds":1776398588,"priority":1,"record_length":96,"hex_timestamp":"0000019d999b5860"} 
[2026-04-17 09:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:37:21] 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-04-17 09:37:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:37:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:37:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46486,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757961472001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757961472001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:37:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:37:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757961472001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":46486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20310,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:37:21] local.INFO: GPS data processed {"connection_id":46486,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:37:21] local.INFO: Acknowledgment sent {"connection_id":46486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:37:29] local.INFO: TCP Data received {"connection_id":46485,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:37:29] local.INFO: Processing buffer {"connection_id":46485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:37:29] local.INFO: Packet analysis {"connection_id":46485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:37:29] local.INFO: Extracted packet for processing {"connection_id":46485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:37:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757997312001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776398728000,"timestamp_ms":1776398728000,"timestamp_seconds":1776398728,"priority":1,"record_length":96,"hex_timestamp":"0000019d999d7b40"} 
[2026-04-17 09:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46485,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:37: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-04-17 09:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757997312001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757997312001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:37:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:37:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757997312001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":46485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:37:29] local.INFO: GPS data processed {"connection_id":46485,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:37:29] local.INFO: Acknowledgment sent {"connection_id":46485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:37:56] local.INFO: TCP Data received {"connection_id":45919,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:37:56] local.INFO: Processing buffer {"connection_id":45919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:37:56] local.INFO: IMEI packet received {"connection_id":45919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":45919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:38:01] local.INFO: TCP Data received {"connection_id":45919,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45919,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:38:01] local.INFO: Processing buffer {"connection_id":45919,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:38:01] local.INFO: IMEI packet received {"connection_id":45919,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":45919,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:38:02] local.INFO: TCP Data received {"connection_id":45919,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:38:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:38:02] local.INFO: Processing buffer {"connection_id":45919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:38:02] local.INFO: Packet analysis {"connection_id":45919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:38:02] local.INFO: Extracted packet for processing {"connection_id":45919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:38:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:38:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757997312001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:38:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:38:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:38:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:38:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776398728000,"timestamp_ms":1776398728000,"timestamp_seconds":1776398728,"priority":1,"record_length":96,"hex_timestamp":"0000019d999d7b40"} 
[2026-04-17 09:38:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:38:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:38:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:38:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:38:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:38:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:38:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:38:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:38:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:38:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:38:02] 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-04-17 09:38:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:38:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:38:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757997312001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:38:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:38:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:38:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757997312001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:38:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:38:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:38:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:38:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:38:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757997312001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:38:02] local.INFO: DEBUG: GPS processor result {"connection_id":45919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:38:02] local.INFO: GPS data processed {"connection_id":45919,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:38:02] local.INFO: Acknowledgment sent {"connection_id":45919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:38:06] local.INFO: TCP Data received {"connection_id":45919,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:38:06] local.INFO: Processing buffer {"connection_id":45919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:38:06] local.INFO: Packet analysis {"connection_id":45919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:38:06] local.INFO: Extracted packet for processing {"connection_id":45919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757997312001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776398728000,"timestamp_ms":1776398728000,"timestamp_seconds":1776398728,"priority":1,"record_length":96,"hex_timestamp":"0000019d999d7b40"} 
[2026-04-17 09:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45919,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:38: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-04-17 09:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757997312001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757997312001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:38:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:38:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757997312001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":45919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:38:06] local.INFO: GPS data processed {"connection_id":45919,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:38:06] local.INFO: Acknowledgment sent {"connection_id":45919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:38:11] local.INFO: TCP Data received {"connection_id":45920,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:38:11] local.INFO: Processing buffer {"connection_id":45920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:38:11] local.INFO: IMEI packet received {"connection_id":45920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:38:11] local.INFO: IMEI acknowledgment sent {"connection_id":45920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:38:15] local.INFO: TCP Data received {"connection_id":45920,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:38:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:38:15] local.INFO: Processing buffer {"connection_id":45920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:38:15] local.INFO: IMEI packet received {"connection_id":45920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:38:15] local.INFO: IMEI acknowledgment sent {"connection_id":45920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:38:17] local.INFO: TCP Data received {"connection_id":45920,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:38:17] local.INFO: Processing buffer {"connection_id":45920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:38:17] local.INFO: Packet analysis {"connection_id":45920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999b"} 
[2026-04-17 09:38:17] local.INFO: Extracted packet for processing {"connection_id":45920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999b"} 
[2026-04-17 09:38:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757961472001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:38:17] 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-04-17 09:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776398588000,"timestamp_ms":1776398588000,"timestamp_seconds":1776398588,"priority":1,"record_length":96,"hex_timestamp":"0000019d999b5860"} 
[2026-04-17 09:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:38:17] 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-04-17 09:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757961472001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757961472001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:38:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757961472001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":45920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20314,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:38:17] local.INFO: GPS data processed {"connection_id":45920,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:38:17] local.INFO: Acknowledgment sent {"connection_id":45920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:38:21] local.INFO: TCP Data received {"connection_id":45920,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:38:21] local.INFO: Processing buffer {"connection_id":45920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999b5860012d1b598006d4d5980011013831..."} 
[2026-04-17 09:38:21] local.INFO: Packet analysis {"connection_id":45920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999b"} 
[2026-04-17 09:38:21] local.INFO: Extracted packet for processing {"connection_id":45920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999b"} 
[2026-04-17 09:38:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:38:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757961472001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:38:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:38:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:38:21] 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-04-17 09:38:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776398588000,"timestamp_ms":1776398588000,"timestamp_seconds":1776398588,"priority":1,"record_length":96,"hex_timestamp":"0000019d999b5860"} 
[2026-04-17 09:38:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:38:21] 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-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:38:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:38:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:38:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:38:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:38:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:38:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45920,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:38:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:38:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:38:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:38:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757961472001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:38:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:38:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:38:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757961472001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:38:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:38:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:38:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:38:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757961472001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:38:21] local.INFO: DEBUG: GPS processor result {"connection_id":45920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20315,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:38:21] local.INFO: GPS data processed {"connection_id":45920,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:38:21] local.INFO: Acknowledgment sent {"connection_id":45920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:38:51] local.INFO: TCP Data received {"connection_id":45921,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:38:51] local.INFO: Processing buffer {"connection_id":45921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:38:51] local.INFO: IMEI packet received {"connection_id":45921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":45921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:38:56] local.INFO: TCP Data received {"connection_id":45921,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45921,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:38:56] local.INFO: Processing buffer {"connection_id":45921,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:38:56] local.INFO: IMEI packet received {"connection_id":45921,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":45921,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:38:57] local.INFO: TCP Data received {"connection_id":45921,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:38:57] local.INFO: Processing buffer {"connection_id":45921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:38:57] local.INFO: Packet analysis {"connection_id":45921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:38:57] local.INFO: Extracted packet for processing {"connection_id":45921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757997312001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776398728000,"timestamp_ms":1776398728000,"timestamp_seconds":1776398728,"priority":1,"record_length":96,"hex_timestamp":"0000019d999d7b40"} 
[2026-04-17 09:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757997312001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757997312001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:38:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757997312001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":45921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:38:57] local.INFO: GPS data processed {"connection_id":45921,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:38:57] local.INFO: Acknowledgment sent {"connection_id":45921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:39:05] local.INFO: TCP Data received {"connection_id":45729,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:39:05] local.INFO: Processing buffer {"connection_id":45729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:39:05] local.INFO: IMEI packet received {"connection_id":45729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":45729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:39:29] local.INFO: TCP Data received {"connection_id":45921,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45921,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:39:29] local.INFO: Processing buffer {"connection_id":45921,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:39:29] local.INFO: Packet analysis {"connection_id":45921,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:39:29] local.INFO: Extracted packet for processing {"connection_id":45921,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:39:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:39:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757997312001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:39:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:39:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:39:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:39:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776398728000,"timestamp_ms":1776398728000,"timestamp_seconds":1776398728,"priority":1,"record_length":96,"hex_timestamp":"0000019d999d7b40"} 
[2026-04-17 09:39:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:39:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:39:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:39:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:39:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:39:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:39:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:39:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45921,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:39:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:39:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45921,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:39: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-04-17 09:39:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:39:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:39:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757997312001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:39:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:39:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:39:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757997312001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:39:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:39:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:39:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:39:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:39:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757997312001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:39:29] local.INFO: DEBUG: GPS processor result {"connection_id":45921,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:39:29] local.INFO: GPS data processed {"connection_id":45921,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:39:29] local.INFO: Acknowledgment sent {"connection_id":45921,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:39:45] local.INFO: TCP Data received {"connection_id":45729,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:39:45] local.INFO: Processing buffer {"connection_id":45729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:39:45] local.INFO: IMEI packet received {"connection_id":45729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:39:45] local.INFO: IMEI acknowledgment sent {"connection_id":45729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:39:46] local.INFO: TCP Data received {"connection_id":45729,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:39:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:39:46] local.INFO: Processing buffer {"connection_id":45729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:39:46] local.INFO: IMEI packet received {"connection_id":45729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:39:46] local.INFO: IMEI acknowledgment sent {"connection_id":45729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:39:51] local.INFO: TCP Data received {"connection_id":45730,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:39:51] local.INFO: Processing buffer {"connection_id":45730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:39:51] local.INFO: IMEI packet received {"connection_id":45730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":45730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:39:52] local.INFO: TCP Data received {"connection_id":45729,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:39:52] local.INFO: Processing buffer {"connection_id":45729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:39:52] local.INFO: Packet analysis {"connection_id":45729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:39:52] local.INFO: Extracted packet for processing {"connection_id":45729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:39:52] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:39: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-04-17 09:39:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758038528001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:39:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:39:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:39:52] 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-04-17 09:39:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776398889000,"timestamp_ms":1776398889000,"timestamp_seconds":1776398889,"priority":1,"record_length":96,"hex_timestamp":"0000019d999ff028"} 
[2026-04-17 09:39:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:39:52] 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-04-17 09:39:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 09:39:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:39: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-04-17 09:39:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:39:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:39:52] local.INFO: Teltonika packet parsed successfully {"connection_id":45729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:39:52] local.INFO: Passing IMEI to GPS processor {"connection_id":45729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:39:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":45729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:39:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:39:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:39:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:39:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758038528001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:39:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:39:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:39:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758038528001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:39:52] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:39:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:39:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:39:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758038528001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:39:52] local.INFO: DEBUG: GPS processor result {"connection_id":45729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20318,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:39:52] local.INFO: GPS data processed {"connection_id":45729,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:39:52] local.INFO: Acknowledgment sent {"connection_id":45729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:39:53] local.INFO: TCP Data received {"connection_id":45729,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:39:53] local.INFO: Processing buffer {"connection_id":45729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:39:53] local.INFO: Packet analysis {"connection_id":45729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:39:53] local.INFO: Extracted packet for processing {"connection_id":45729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:39:53] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758038528001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:39:53] 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-04-17 09:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776398889000,"timestamp_ms":1776398889000,"timestamp_seconds":1776398889,"priority":1,"record_length":96,"hex_timestamp":"0000019d999ff028"} 
[2026-04-17 09:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:39:53] 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-04-17 09:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 09:39:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":45729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":45729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":45729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758038528001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758038528001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:39:53] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758038528001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":45729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:39:53] local.INFO: GPS data processed {"connection_id":45729,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:39:53] local.INFO: Acknowledgment sent {"connection_id":45729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:39:56] local.INFO: TCP Data received {"connection_id":45730,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45730,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:39:56] local.INFO: Processing buffer {"connection_id":45730,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:39:56] local.INFO: IMEI packet received {"connection_id":45730,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":45730,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:39:57] local.INFO: TCP Data received {"connection_id":45730,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:39:57] local.INFO: Processing buffer {"connection_id":45730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:39:57] local.INFO: Packet analysis {"connection_id":45730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:39:57] local.INFO: Extracted packet for processing {"connection_id":45730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:39:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757997312001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776398728000,"timestamp_ms":1776398728000,"timestamp_seconds":1776398728,"priority":1,"record_length":96,"hex_timestamp":"0000019d999d7b40"} 
[2026-04-17 09:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757997312001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757997312001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:39:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:39:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757997312001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":45730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:39:57] local.INFO: GPS data processed {"connection_id":45730,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:39:57] local.INFO: Acknowledgment sent {"connection_id":45730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:40:05] local.INFO: TCP Data received {"connection_id":45922,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:40:05] local.INFO: Processing buffer {"connection_id":45922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:40:05] local.INFO: IMEI packet received {"connection_id":45922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":45922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:40:10] local.INFO: TCP Data received {"connection_id":45922,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45922,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:40:10] local.INFO: Processing buffer {"connection_id":45922,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:40:10] local.INFO: IMEI packet received {"connection_id":45922,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":45922,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:40:11] local.INFO: TCP Data received {"connection_id":45922,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:40:11] local.INFO: Processing buffer {"connection_id":45922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:40:11] local.INFO: Packet analysis {"connection_id":45922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:40:11] local.INFO: Extracted packet for processing {"connection_id":45922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:40:11] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758038528001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:40:11] 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-04-17 09:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776398889000,"timestamp_ms":1776398889000,"timestamp_seconds":1776398889,"priority":1,"record_length":96,"hex_timestamp":"0000019d999ff028"} 
[2026-04-17 09:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:40:11] 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-04-17 09: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-04-17 09: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-04-17 09: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-04-17 09:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758038528001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758038528001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:40:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758038528001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":45922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20321,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:40:12] local.INFO: GPS data processed {"connection_id":45922,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:40:12] local.INFO: Acknowledgment sent {"connection_id":45922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:40:28] local.INFO: TCP Data received {"connection_id":45730,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:40:28] local.INFO: Processing buffer {"connection_id":45730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:40:28] local.INFO: Packet analysis {"connection_id":45730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:40:28] local.INFO: Extracted packet for processing {"connection_id":45730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757997312001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776398728000,"timestamp_ms":1776398728000,"timestamp_seconds":1776398728,"priority":1,"record_length":96,"hex_timestamp":"0000019d999d7b40"} 
[2026-04-17 09:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45730,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757997312001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757997312001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:40:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757997312001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":45730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:40:28] local.INFO: GPS data processed {"connection_id":45730,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:40:28] local.INFO: Acknowledgment sent {"connection_id":45730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:40:44] local.INFO: TCP Data received {"connection_id":45922,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:40:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:40:44] local.INFO: Processing buffer {"connection_id":45922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:40:44] local.INFO: Packet analysis {"connection_id":45922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:40:44] local.INFO: Extracted packet for processing {"connection_id":45922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:40:44] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:40:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758038528001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:40:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:40:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:40:44] 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-04-17 09:40:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776398889000,"timestamp_ms":1776398889000,"timestamp_seconds":1776398889,"priority":1,"record_length":96,"hex_timestamp":"0000019d999ff028"} 
[2026-04-17 09:40:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:40:44] 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-04-17 09: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":86,"data_length":795,"current_offset":136} 
[2026-04-17 09:40: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-04-17 09: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-04-17 09:40:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:40:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:40:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:40:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:40:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45922,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:40:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:40:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:40:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:40:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758038528001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:40:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:40:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:40:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758038528001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:40:44] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:40:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:40:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:40:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758038528001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:40:44] local.INFO: DEBUG: GPS processor result {"connection_id":45922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20323,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:40:44] local.INFO: GPS data processed {"connection_id":45922,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:40:44] local.INFO: Acknowledgment sent {"connection_id":45922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:40:51] local.INFO: TCP Data received {"connection_id":46487,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:40:51] local.INFO: Processing buffer {"connection_id":46487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:40:51] local.INFO: IMEI packet received {"connection_id":46487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":46487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:40:56] local.INFO: TCP Data received {"connection_id":46487,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46487,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:40:56] local.INFO: Processing buffer {"connection_id":46487,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:40:56] local.INFO: IMEI packet received {"connection_id":46487,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":46487,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:40:57] local.INFO: TCP Data received {"connection_id":46487,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:40:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:40:57] local.INFO: Processing buffer {"connection_id":46487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999d7b40012d7fad4005afe3500000009426..."} 
[2026-04-17 09:40:57] local.INFO: Packet analysis {"connection_id":46487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:40:57] local.INFO: Extracted packet for processing {"connection_id":46487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999d"} 
[2026-04-17 09:40:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:40:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454757997312001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:40:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:40:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:40:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:40:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776398728000,"timestamp_ms":1776398728000,"timestamp_seconds":1776398728,"priority":1,"record_length":96,"hex_timestamp":"0000019d999d7b40"} 
[2026-04-17 09:40:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:40:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:40:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:40:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:40:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:40:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:40:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:40:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:40:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:40:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:40:57] 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-04-17 09:40:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:40:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:40:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454757997312001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:40:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:40:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:40:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454757997312001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:40:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:40:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:40:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:40:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:40:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454757997312001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:40:57] local.INFO: DEBUG: GPS processor result {"connection_id":46487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:40:57] local.INFO: GPS data processed {"connection_id":46487,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:40:57] local.INFO: Acknowledgment sent {"connection_id":46487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:41:10] local.INFO: TCP Data received {"connection_id":45923,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:41:10] local.INFO: Processing buffer {"connection_id":45923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:41:10] local.INFO: IMEI packet received {"connection_id":45923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":45923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:41:16] local.INFO: TCP Data received {"connection_id":45923,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:41:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:41:16] local.INFO: Processing buffer {"connection_id":45923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:41:16] local.INFO: IMEI packet received {"connection_id":45923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:41:16] local.INFO: IMEI acknowledgment sent {"connection_id":45923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:41:17] local.INFO: TCP Data received {"connection_id":45923,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:41:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:41:17] local.INFO: Processing buffer {"connection_id":45923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:41:17] local.INFO: Packet analysis {"connection_id":45923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:41:17] local.INFO: Extracted packet for processing {"connection_id":45923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:41:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:41:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758038528001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:41:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:41:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:41:17] 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-04-17 09:41:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776398889000,"timestamp_ms":1776398889000,"timestamp_seconds":1776398889,"priority":1,"record_length":96,"hex_timestamp":"0000019d999ff028"} 
[2026-04-17 09:41:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:41:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:41:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 09:41: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-04-17 09:41:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:41:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:41:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:41:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:41:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:41:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:41:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:41:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:41:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:41:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758038528001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:41:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:41:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:41:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758038528001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:41:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:41:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:41:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:41:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758038528001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:41:18] local.INFO: DEBUG: GPS processor result {"connection_id":45923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:41:18] local.INFO: GPS data processed {"connection_id":45923,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:41:18] local.INFO: Acknowledgment sent {"connection_id":45923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:41:28] local.INFO: TCP Data received {"connection_id":46487,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:41:28] local.INFO: Processing buffer {"connection_id":46487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:41:28] local.INFO: Packet analysis {"connection_id":46487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:41:28] local.INFO: Extracted packet for processing {"connection_id":46487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:41:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758074368001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776399029000,"timestamp_ms":1776399029000,"timestamp_seconds":1776399029,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a21308"} 
[2026-04-17 09:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46487,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758074368001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758074368001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:41:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:41:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758074368001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":46487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:41:28] local.INFO: GPS data processed {"connection_id":46487,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:41:28] local.INFO: Acknowledgment sent {"connection_id":46487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:41:50] local.INFO: TCP Data received {"connection_id":45923,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:41:50] local.INFO: Processing buffer {"connection_id":45923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:41:50] local.INFO: Packet analysis {"connection_id":45923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:41:50] local.INFO: Extracted packet for processing {"connection_id":45923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:41:50] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:41:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758038528001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:41:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:41:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:41:50] 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-04-17 09:41:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776398889000,"timestamp_ms":1776398889000,"timestamp_seconds":1776398889,"priority":1,"record_length":96,"hex_timestamp":"0000019d999ff028"} 
[2026-04-17 09:41:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:41:50] 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-04-17 09:41:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 09:41:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:41:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:41:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:41:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:41:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:41:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:41:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45923,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:41:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:41:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:41:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:41:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758038528001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:41:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:41:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:41:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758038528001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:41:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:41:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:41:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:41:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758038528001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:41:50] local.INFO: DEBUG: GPS processor result {"connection_id":45923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20327,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:41:50] local.INFO: GPS data processed {"connection_id":45923,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:41:50] local.INFO: Acknowledgment sent {"connection_id":45923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:41:56] local.INFO: TCP Data received {"connection_id":45655,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:41:56] local.INFO: Processing buffer {"connection_id":45655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:41:56] local.INFO: IMEI packet received {"connection_id":45655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":45655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:42:01] local.INFO: TCP Data received {"connection_id":45655,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:42:01] local.INFO: Processing buffer {"connection_id":45655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:42:01] local.INFO: IMEI packet received {"connection_id":45655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:42:01] local.INFO: IMEI acknowledgment sent {"connection_id":45655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:42:03] local.INFO: TCP Data received {"connection_id":45655,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:42:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:42:03] local.INFO: Processing buffer {"connection_id":45655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:42:03] local.INFO: Packet analysis {"connection_id":45655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:42:03] local.INFO: Extracted packet for processing {"connection_id":45655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:42:03] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:42:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758074368001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:42:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:42:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:42:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:42:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776399029000,"timestamp_ms":1776399029000,"timestamp_seconds":1776399029,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a21308"} 
[2026-04-17 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-04-17 09:42:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:42:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:42:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:42:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:42:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:42:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:42:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:42:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:42:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:42:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758074368001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:42:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:42:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:42:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758074368001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:42:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:42:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:42:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:42:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:42:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758074368001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:42:03] local.INFO: DEBUG: GPS processor result {"connection_id":45655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:42:03] local.INFO: GPS data processed {"connection_id":45655,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:42:03] local.INFO: Acknowledgment sent {"connection_id":45655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:42:07] local.INFO: TCP Data received {"connection_id":45655,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:42:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:42:07] local.INFO: Processing buffer {"connection_id":45655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:42:07] local.INFO: Packet analysis {"connection_id":45655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:42:07] local.INFO: Extracted packet for processing {"connection_id":45655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:42:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:42:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758074368001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:42:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:42:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:42:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:42:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776399029000,"timestamp_ms":1776399029000,"timestamp_seconds":1776399029,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a21308"} 
[2026-04-17 09:42:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:42:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:42:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:42:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:42:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:42:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:42:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:42:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:42:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:42:07] 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-04-17 09:42:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:42:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:42:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758074368001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:42:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:42:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:42:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758074368001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:42:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:42:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:42:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:42:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:42:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758074368001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:42:07] local.INFO: DEBUG: GPS processor result {"connection_id":45655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:42:07] local.INFO: GPS data processed {"connection_id":45655,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:42:07] local.INFO: Acknowledgment sent {"connection_id":45655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:42:10] local.INFO: TCP Data received {"connection_id":45656,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:42:10] local.INFO: Processing buffer {"connection_id":45656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:42:10] local.INFO: IMEI packet received {"connection_id":45656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":45656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:42:15] local.INFO: TCP Data received {"connection_id":45656,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45656,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:42:15] local.INFO: Processing buffer {"connection_id":45656,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:42:15] local.INFO: IMEI packet received {"connection_id":45656,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":45656,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:42:17] local.INFO: TCP Data received {"connection_id":45656,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:42:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:42:17] local.INFO: Processing buffer {"connection_id":45656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:42:17] local.INFO: Packet analysis {"connection_id":45656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:42:17] local.INFO: Extracted packet for processing {"connection_id":45656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:42:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:42:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758038528001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:42:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:42:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:42:17] 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-04-17 09:42:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776398889000,"timestamp_ms":1776398889000,"timestamp_seconds":1776398889,"priority":1,"record_length":96,"hex_timestamp":"0000019d999ff028"} 
[2026-04-17 09:42:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:42:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 09:42: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-04-17 09: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-04-17 09:42:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:42:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:42:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:42:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:42:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:42:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:42:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:42:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:42:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758038528001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:42:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:42:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:42:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758038528001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:42:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:42:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:42:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:42:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758038528001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:42:17] local.INFO: DEBUG: GPS processor result {"connection_id":45656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20330,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:42:17] local.INFO: GPS data processed {"connection_id":45656,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:42:17] local.INFO: Acknowledgment sent {"connection_id":45656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:42:49] local.INFO: TCP Data received {"connection_id":45656,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:42:49] local.INFO: Processing buffer {"connection_id":45656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:42:49] local.INFO: Packet analysis {"connection_id":45656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:42:49] local.INFO: Extracted packet for processing {"connection_id":45656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:42:49] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:42:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758038528001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:42:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:42:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:42:49] 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-04-17 09:42:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776398889000,"timestamp_ms":1776398889000,"timestamp_seconds":1776398889,"priority":1,"record_length":96,"hex_timestamp":"0000019d999ff028"} 
[2026-04-17 09:42:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:42:49] 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-04-17 09: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":86,"data_length":795,"current_offset":136} 
[2026-04-17 09:42: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-04-17 09: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-04-17 09:42:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:42:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:42:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:42:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:42:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45656,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:42:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:42:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:42:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:42:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758038528001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:42:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:42:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:42:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758038528001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:42:49] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:42:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:42:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:42:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758038528001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:42:49] local.INFO: DEBUG: GPS processor result {"connection_id":45656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20331,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:42:49] local.INFO: GPS data processed {"connection_id":45656,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:42:49] local.INFO: Acknowledgment sent {"connection_id":45656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:42:51] local.INFO: TCP Data received {"connection_id":46488,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:42:51] local.INFO: Processing buffer {"connection_id":46488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:42:51] local.INFO: IMEI packet received {"connection_id":46488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":46488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:42:56] local.INFO: TCP Data received {"connection_id":46488,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46488,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:42:56] local.INFO: Processing buffer {"connection_id":46488,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:42:56] local.INFO: IMEI packet received {"connection_id":46488,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":46488,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:42:57] local.INFO: TCP Data received {"connection_id":46488,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:42:57] local.INFO: Processing buffer {"connection_id":46488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:42:57] local.INFO: Packet analysis {"connection_id":46488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:42:57] local.INFO: Extracted packet for processing {"connection_id":46488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:42:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758074368001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776399029000,"timestamp_ms":1776399029000,"timestamp_seconds":1776399029,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a21308"} 
[2026-04-17 09:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:42:57] 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-04-17 09:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758074368001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758074368001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:42:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:42:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758074368001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":46488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:42:57] local.INFO: GPS data processed {"connection_id":46488,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:42:57] local.INFO: Acknowledgment sent {"connection_id":46488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:43:05] local.INFO: TCP Data received {"connection_id":45924,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:43:05] local.INFO: Processing buffer {"connection_id":45924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:43:05] local.INFO: IMEI packet received {"connection_id":45924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":45924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:43:11] local.INFO: TCP Data received {"connection_id":45924,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45924,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:43:11] local.INFO: Processing buffer {"connection_id":45924,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:43:11] local.INFO: IMEI packet received {"connection_id":45924,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":45924,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:43:13] local.INFO: TCP Data received {"connection_id":45924,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:43:13] local.INFO: Processing buffer {"connection_id":45924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:43:13] local.INFO: Packet analysis {"connection_id":45924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:43:13] local.INFO: Extracted packet for processing {"connection_id":45924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:43:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758038528001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:43:13] 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-04-17 09:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776398889000,"timestamp_ms":1776398889000,"timestamp_seconds":1776398889,"priority":1,"record_length":96,"hex_timestamp":"0000019d999ff028"} 
[2026-04-17 09:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 09:43: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-04-17 09:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758038528001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758038528001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:43:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758038528001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":45924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20333,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:43:13] local.INFO: GPS data processed {"connection_id":45924,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:43:13] local.INFO: Acknowledgment sent {"connection_id":45924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:43:22] local.INFO: TCP Data received {"connection_id":45731,"ip":"204.76.203.73","data_length":211,"data_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-04-17 09:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45731,"packet_length":211,"packet_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-04-17 09:43:22] local.INFO: Processing buffer {"connection_id":45731,"buffer_length":211,"buffer_hex":"474554202f2e2e2532462e2e2532462e2e2532462e2e2532462e2e2532462e2e..."} 
[2026-04-17 09:43:22] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":45731,"buffer_length":211,"first_bytes_hex":"474554202f2e2e2532462e2e2532462e"} 
[2026-04-17 09:43:28] local.INFO: TCP Data received {"connection_id":46488,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46488,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:43:28] local.INFO: Processing buffer {"connection_id":46488,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:43:28] local.INFO: Packet analysis {"connection_id":46488,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:43:28] local.INFO: Extracted packet for processing {"connection_id":46488,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:43:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758074368001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776399029000,"timestamp_ms":1776399029000,"timestamp_seconds":1776399029,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a21308"} 
[2026-04-17 09:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46488,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46488,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:43:28] 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-04-17 09:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758074368001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758074368001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:43:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:43:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758074368001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":46488,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:43:28] local.INFO: GPS data processed {"connection_id":46488,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:43:28] local.INFO: Acknowledgment sent {"connection_id":46488,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:43:49] local.INFO: TCP Data received {"connection_id":45924,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:43:49] local.INFO: Processing buffer {"connection_id":45924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d999ff028012d1b598006d4d5980011013831..."} 
[2026-04-17 09:43:49] local.INFO: Packet analysis {"connection_id":45924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:43:49] local.INFO: Extracted packet for processing {"connection_id":45924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d999f"} 
[2026-04-17 09:43:49] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:43:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:43:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758038528001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:43:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:43:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:43:49] 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-04-17 09:43:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776398889000,"timestamp_ms":1776398889000,"timestamp_seconds":1776398889,"priority":1,"record_length":96,"hex_timestamp":"0000019d999ff028"} 
[2026-04-17 09:43:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:43:49] 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-04-17 09: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 09:43: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-04-17 09: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-04-17 09:43:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:43:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:43:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:43:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:43:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45924,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:43:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:43:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:43:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:43:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758038528001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:43:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:43:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:43:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758038528001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:43:49] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:43:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:43:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:43:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758038528001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:43:49] local.INFO: DEBUG: GPS processor result {"connection_id":45924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:43:49] local.INFO: GPS data processed {"connection_id":45924,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:43:49] local.INFO: Acknowledgment sent {"connection_id":45924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:43:51] local.INFO: TCP Data received {"connection_id":45657,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:43:51] local.INFO: Processing buffer {"connection_id":45657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:43:51] local.INFO: IMEI packet received {"connection_id":45657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":45657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:43:56] local.INFO: TCP Data received {"connection_id":45657,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45657,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:43:56] local.INFO: Processing buffer {"connection_id":45657,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:43:56] local.INFO: IMEI packet received {"connection_id":45657,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":45657,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:43:58] local.INFO: TCP Data received {"connection_id":45657,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:43:58] local.INFO: Processing buffer {"connection_id":45657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:43:58] local.INFO: Packet analysis {"connection_id":45657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:43:58] local.INFO: Extracted packet for processing {"connection_id":45657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:43:58] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758074368001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776399029000,"timestamp_ms":1776399029000,"timestamp_seconds":1776399029,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a21308"} 
[2026-04-17 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-04-17 09:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758074368001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758074368001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:43:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:43:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758074368001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":45657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:43:58] local.INFO: GPS data processed {"connection_id":45657,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:43:58] local.INFO: Acknowledgment sent {"connection_id":45657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:44:10] local.INFO: TCP Data received {"connection_id":45732,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:44:10] local.INFO: Processing buffer {"connection_id":45732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:44:10] local.INFO: IMEI packet received {"connection_id":45732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":45732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:44:15] local.INFO: TCP Data received {"connection_id":45732,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:44:15] local.INFO: Processing buffer {"connection_id":45732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:44:15] local.INFO: IMEI packet received {"connection_id":45732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":45732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:44:17] local.INFO: TCP Data received {"connection_id":45732,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:44:17] local.INFO: Processing buffer {"connection_id":45732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:44:17] local.INFO: Packet analysis {"connection_id":45732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:44:17] local.INFO: Extracted packet for processing {"connection_id":45732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:44:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:44:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758115584001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:44:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:44:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:44:17] 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-04-17 09:44:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776399190000,"timestamp_ms":1776399190000,"timestamp_seconds":1776399190,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a487f0"} 
[2026-04-17 09:44:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:44:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:44:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:44:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:44:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:44:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:44:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:44:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:44:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:44:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:44:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:44:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:44:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:44:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758115584001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:44:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:44:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:44:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758115584001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:44:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:44:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:44:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:44:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758115584001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:44:17] local.INFO: DEBUG: GPS processor result {"connection_id":45732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20337,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:44:17] local.INFO: GPS data processed {"connection_id":45732,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:44:17] local.INFO: Acknowledgment sent {"connection_id":45732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:44:29] local.INFO: TCP Data received {"connection_id":45657,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:44:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:44:29] local.INFO: Processing buffer {"connection_id":45657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:44:29] local.INFO: Packet analysis {"connection_id":45657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:44:29] local.INFO: Extracted packet for processing {"connection_id":45657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:44:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:44:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758074368001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:44:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:44:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:44:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:44:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776399029000,"timestamp_ms":1776399029000,"timestamp_seconds":1776399029,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a21308"} 
[2026-04-17 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-04-17 09:44:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:44:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:44:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:44:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:44:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:44:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45657,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:44: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-04-17 09:44:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:44:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:44:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758074368001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:44:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:44:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:44:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758074368001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:44:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:44:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:44:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:44:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:44:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758074368001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:44:29] local.INFO: DEBUG: GPS processor result {"connection_id":45657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:44:29] local.INFO: GPS data processed {"connection_id":45657,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:44:29] local.INFO: Acknowledgment sent {"connection_id":45657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:44:48] local.INFO: TCP Data received {"connection_id":45732,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:44:49] local.INFO: Processing buffer {"connection_id":45732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:44:49] local.INFO: Packet analysis {"connection_id":45732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:44:49] local.INFO: Extracted packet for processing {"connection_id":45732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:44:49] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:44:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758115584001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:44:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:44:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:44:49] 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-04-17 09:44:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776399190000,"timestamp_ms":1776399190000,"timestamp_seconds":1776399190,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a487f0"} 
[2026-04-17 09:44:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:44:49] 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-04-17 09: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:44: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-04-17 09: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-04-17 09:44:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:44:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:44:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:44:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:44:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45732,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:44:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:44:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:44:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:44:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758115584001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:44:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:44:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:44:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758115584001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:44:49] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:44:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:44:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:44:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758115584001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:44:49] local.INFO: DEBUG: GPS processor result {"connection_id":45732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20339,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:44:49] local.INFO: GPS data processed {"connection_id":45732,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:44:49] local.INFO: Acknowledgment sent {"connection_id":45732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:44:51] local.INFO: TCP Data received {"connection_id":46489,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:44:51] local.INFO: Processing buffer {"connection_id":46489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:44:51] local.INFO: IMEI packet received {"connection_id":46489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":46489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:44:56] local.INFO: TCP Data received {"connection_id":46489,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46489,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:44:56] local.INFO: Processing buffer {"connection_id":46489,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:44:56] local.INFO: IMEI packet received {"connection_id":46489,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":46489,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:44:57] local.INFO: TCP Data received {"connection_id":46489,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:44:57] local.INFO: Processing buffer {"connection_id":46489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:44:57] local.INFO: Packet analysis {"connection_id":46489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:44:57] local.INFO: Extracted packet for processing {"connection_id":46489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:44:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758074368001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776399029000,"timestamp_ms":1776399029000,"timestamp_seconds":1776399029,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a21308"} 
[2026-04-17 09:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758074368001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758074368001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:44:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:44:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758074368001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":46489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:44:57] local.INFO: GPS data processed {"connection_id":46489,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:44:57] local.INFO: Acknowledgment sent {"connection_id":46489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:45:05] local.INFO: TCP Data received {"connection_id":45925,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:45:05] local.INFO: Processing buffer {"connection_id":45925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:45:05] local.INFO: IMEI packet received {"connection_id":45925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":45925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:45:10] local.INFO: TCP Data received {"connection_id":45925,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:45:10] local.INFO: Processing buffer {"connection_id":45925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:45:10] local.INFO: IMEI packet received {"connection_id":45925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":45925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:45:12] local.INFO: TCP Data received {"connection_id":45925,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:45:12] local.INFO: Processing buffer {"connection_id":45925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:45:12] local.INFO: Packet analysis {"connection_id":45925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:45:12] local.INFO: Extracted packet for processing {"connection_id":45925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:45:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758115584001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:45:12] 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-04-17 09:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776399190000,"timestamp_ms":1776399190000,"timestamp_seconds":1776399190,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a487f0"} 
[2026-04-17 09:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:45: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-04-17 09:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:45: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-04-17 09:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758115584001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758115584001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:45:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758115584001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":45925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20341,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:45:12] local.INFO: GPS data processed {"connection_id":45925,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:45:12] local.INFO: Acknowledgment sent {"connection_id":45925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:45:28] local.INFO: TCP Data received {"connection_id":46489,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:45:28] local.INFO: Processing buffer {"connection_id":46489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:45:28] local.INFO: Packet analysis {"connection_id":46489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:45:28] local.INFO: Extracted packet for processing {"connection_id":46489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:45:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758074368001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776399029000,"timestamp_ms":1776399029000,"timestamp_seconds":1776399029,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a21308"} 
[2026-04-17 09:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46489,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:45:28] 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-04-17 09:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758074368001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758074368001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:45:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:45:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758074368001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":46489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:45:28] local.INFO: GPS data processed {"connection_id":46489,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:45:28] local.INFO: Acknowledgment sent {"connection_id":46489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:45:45] local.INFO: TCP Data received {"connection_id":45925,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:45:45] local.INFO: Processing buffer {"connection_id":45925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:45:45] local.INFO: Packet analysis {"connection_id":45925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:45:45] local.INFO: Extracted packet for processing {"connection_id":45925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:45:45] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758115584001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:45:45] 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-04-17 09:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776399190000,"timestamp_ms":1776399190000,"timestamp_seconds":1776399190,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a487f0"} 
[2026-04-17 09:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:45:45] 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-04-17 09:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:45: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-04-17 09:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45925,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758115584001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758115584001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:45:45] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758115584001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:45:46] local.INFO: DEBUG: GPS processor result {"connection_id":45925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20343,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:45:46] local.INFO: GPS data processed {"connection_id":45925,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:45:46] local.INFO: Acknowledgment sent {"connection_id":45925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:45:52] local.INFO: TCP Data received {"connection_id":45733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:45:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:45:52] local.INFO: Processing buffer {"connection_id":45733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:45:52] local.INFO: IMEI packet received {"connection_id":45733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:45:52] local.INFO: IMEI acknowledgment sent {"connection_id":45733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:45:56] local.INFO: TCP Data received {"connection_id":45733,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45733,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:45:56] local.INFO: Processing buffer {"connection_id":45733,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:45:56] local.INFO: IMEI packet received {"connection_id":45733,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":45733,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:45:57] local.INFO: TCP Data received {"connection_id":45733,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:45:57] local.INFO: Processing buffer {"connection_id":45733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a21308012d7fad4005afe3500000009427..."} 
[2026-04-17 09:45:57] local.INFO: Packet analysis {"connection_id":45733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:45:57] local.INFO: Extracted packet for processing {"connection_id":45733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a2"} 
[2026-04-17 09:45:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758074368001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776399029000,"timestamp_ms":1776399029000,"timestamp_seconds":1776399029,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a21308"} 
[2026-04-17 09:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758074368001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758074368001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:45:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:45:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758074368001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":45733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:45:57] local.INFO: GPS data processed {"connection_id":45733,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:45:57] local.INFO: Acknowledgment sent {"connection_id":45733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:46:05] local.INFO: TCP Data received {"connection_id":45734,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:46:05] local.INFO: Processing buffer {"connection_id":45734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:46:05] local.INFO: IMEI packet received {"connection_id":45734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":45734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:46:12] local.INFO: TCP Data received {"connection_id":45734,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:46:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45734,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:46:12] local.INFO: Processing buffer {"connection_id":45734,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:46:12] local.INFO: IMEI packet received {"connection_id":45734,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:46:12] local.INFO: IMEI acknowledgment sent {"connection_id":45734,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:46:13] local.INFO: TCP Data received {"connection_id":45734,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:46:13] local.INFO: Processing buffer {"connection_id":45734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:46:13] local.INFO: Packet analysis {"connection_id":45734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:46:13] local.INFO: Extracted packet for processing {"connection_id":45734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:46:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758115584001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:46:13] 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-04-17 09:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776399190000,"timestamp_ms":1776399190000,"timestamp_seconds":1776399190,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a487f0"} 
[2026-04-17 09:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:46:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:46:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:46:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758115584001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758115584001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:46:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758115584001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":45734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20345,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:46:13] local.INFO: GPS data processed {"connection_id":45734,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:46:13] local.INFO: Acknowledgment sent {"connection_id":45734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:46:28] local.INFO: TCP Data received {"connection_id":45733,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:46:28] local.INFO: Processing buffer {"connection_id":45733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:46:28] local.INFO: Packet analysis {"connection_id":45733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:46:28] local.INFO: Extracted packet for processing {"connection_id":45733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758151424001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776399330000,"timestamp_ms":1776399330000,"timestamp_seconds":1776399330,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a6aad0"} 
[2026-04-17 09:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45733,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758151424001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758151424001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:46:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758151424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":45733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20346,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:46:28] local.INFO: GPS data processed {"connection_id":45733,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:46:28] local.INFO: Acknowledgment sent {"connection_id":45733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:46:37] local.INFO: TCP Data received {"connection_id":46490,"ip":"117.224.192.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:46:37] local.INFO: Processing buffer {"connection_id":46490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:46:37] local.INFO: IMEI packet received {"connection_id":46490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 09:46:37] local.INFO: IMEI acknowledgment sent {"connection_id":46490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:46:40] local.INFO: TCP Data received {"connection_id":46490,"ip":"117.224.192.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:46:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:46:40] local.INFO: Processing buffer {"connection_id":46490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:46:40] local.INFO: IMEI packet received {"connection_id":46490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 09:46:40] local.INFO: IMEI acknowledgment sent {"connection_id":46490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:46:43] local.INFO: TCP Data received {"connection_id":46490,"ip":"117.224.192.221","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:46:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46490,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:46:43] local.INFO: Processing buffer {"connection_id":46490,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:46:43] local.INFO: IMEI packet received {"connection_id":46490,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 09:46:43] local.INFO: IMEI acknowledgment sent {"connection_id":46490,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:46:46] local.INFO: TCP Data received {"connection_id":45734,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:46:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:46:46] local.INFO: Processing buffer {"connection_id":45734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:46:46] local.INFO: Packet analysis {"connection_id":45734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:46:46] local.INFO: Extracted packet for processing {"connection_id":45734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:46:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:46:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758115584001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:46:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:46:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:46:46] 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-04-17 09:46:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776399190000,"timestamp_ms":1776399190000,"timestamp_seconds":1776399190,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a487f0"} 
[2026-04-17 09:46:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:46:46] 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-04-17 09:46:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:46: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-04-17 09:46:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:46:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:46:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:46:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:46:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:46:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45734,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:46:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:46:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:46:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:46:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758115584001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:46:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:46:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:46:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758115584001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:46:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:46:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:46:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:46:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758115584001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:46:46] local.INFO: DEBUG: GPS processor result {"connection_id":45734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20347,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:46:46] local.INFO: GPS data processed {"connection_id":45734,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:46:46] local.INFO: Acknowledgment sent {"connection_id":45734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:46:56] local.INFO: TCP Data received {"connection_id":45735,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:46:56] local.INFO: Processing buffer {"connection_id":45735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:46:56] local.INFO: IMEI packet received {"connection_id":45735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":45735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:47:01] local.INFO: TCP Data received {"connection_id":45735,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:47:01] local.INFO: Processing buffer {"connection_id":45735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:47:01] local.INFO: IMEI packet received {"connection_id":45735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:47:01] local.INFO: IMEI acknowledgment sent {"connection_id":45735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:47:02] local.INFO: TCP Data received {"connection_id":45735,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:47:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:47:02] local.INFO: Processing buffer {"connection_id":45735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:47:02] local.INFO: Packet analysis {"connection_id":45735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:47:02] local.INFO: Extracted packet for processing {"connection_id":45735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:47:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:47:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758151424001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:47:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:47:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:47:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:47:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776399330000,"timestamp_ms":1776399330000,"timestamp_seconds":1776399330,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a6aad0"} 
[2026-04-17 09:47:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:47:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:47:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:47:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:47:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:47:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:47:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:47:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:47:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:47:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:47:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:47:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758151424001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:47:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:47:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:47:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758151424001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:47:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:47:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:47:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:47:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:47:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758151424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:47:02] local.INFO: DEBUG: GPS processor result {"connection_id":45735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:47:02] local.INFO: GPS data processed {"connection_id":45735,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:47:02] local.INFO: Acknowledgment sent {"connection_id":45735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:47:06] local.INFO: TCP Data received {"connection_id":45735,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:47:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:47:06] local.INFO: Processing buffer {"connection_id":45735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:47:06] local.INFO: Packet analysis {"connection_id":45735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:47:06] local.INFO: Extracted packet for processing {"connection_id":45735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:47:06] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:47:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758151424001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:47:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:47:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:47:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:47:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776399330000,"timestamp_ms":1776399330000,"timestamp_seconds":1776399330,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a6aad0"} 
[2026-04-17 09:47:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:47:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:47:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:47:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:47:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:47:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:47:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:47:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:47:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:47:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:47:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:47:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758151424001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:47:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:47:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:47:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758151424001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:47:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:47:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:47:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:47:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:47:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758151424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:47:06] local.INFO: DEBUG: GPS processor result {"connection_id":45735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:47:06] local.INFO: GPS data processed {"connection_id":45735,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:47:06] local.INFO: Acknowledgment sent {"connection_id":45735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:47:11] local.INFO: TCP Data received {"connection_id":45658,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:47:11] local.INFO: Processing buffer {"connection_id":45658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:47:11] local.INFO: IMEI packet received {"connection_id":45658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:47:11] local.INFO: IMEI acknowledgment sent {"connection_id":45658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:47:15] local.INFO: TCP Data received {"connection_id":45658,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45658,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:47:15] local.INFO: Processing buffer {"connection_id":45658,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:47:15] local.INFO: IMEI packet received {"connection_id":45658,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":45658,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:47:16] local.INFO: TCP Data received {"connection_id":45658,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:47:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:47:16] local.INFO: Processing buffer {"connection_id":45658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:47:16] local.INFO: Packet analysis {"connection_id":45658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:47:16] local.INFO: Extracted packet for processing {"connection_id":45658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:47:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:47:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758115584001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:47:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:47:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:47:16] 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-04-17 09:47:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776399190000,"timestamp_ms":1776399190000,"timestamp_seconds":1776399190,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a487f0"} 
[2026-04-17 09:47:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:47:16] 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-04-17 09: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:47: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-04-17 09: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-04-17 09:47:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:47:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:47:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:47:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45658,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:47:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45658,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:47:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:47:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:47:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:47:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758115584001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:47:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:47:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:47:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758115584001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:47:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:47:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:47:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:47:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758115584001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:47:16] local.INFO: DEBUG: GPS processor result {"connection_id":45658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20350,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:47:16] local.INFO: GPS data processed {"connection_id":45658,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:47:16] local.INFO: Acknowledgment sent {"connection_id":45658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:47:21] local.INFO: TCP Data received {"connection_id":45658,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:47:21] local.INFO: Processing buffer {"connection_id":45658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:47:21] local.INFO: Packet analysis {"connection_id":45658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:47:21] local.INFO: Extracted packet for processing {"connection_id":45658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:47:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:47:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758115584001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:47:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:47:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:47:21] 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-04-17 09:47:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776399190000,"timestamp_ms":1776399190000,"timestamp_seconds":1776399190,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a487f0"} 
[2026-04-17 09:47:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:47:21] 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-04-17 09: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:47:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:47:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:47:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:47:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:47:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45658,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:47:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45658,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:47:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:47:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:47:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:47:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758115584001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:47:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:47:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:47:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758115584001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:47:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:47:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:47:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:47:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758115584001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:47:21] local.INFO: DEBUG: GPS processor result {"connection_id":45658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20351,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:47:21] local.INFO: GPS data processed {"connection_id":45658,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:47:21] local.INFO: Acknowledgment sent {"connection_id":45658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:47:35] local.INFO: TCP Data received {"connection_id":46490,"ip":"117.224.192.221","data_length":795,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-17 09:47:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46490,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-17 09:47:35] local.INFO: Processing buffer {"connection_id":46490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-17 09:47:35] local.INFO: Packet analysis {"connection_id":46490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-17 09:47:35] local.INFO: Extracted packet for processing {"connection_id":46490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-17 09:47: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-04-17 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-04-17 09:47:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113187579548925952,"note":"Value kept but may cause issues"} 
[2026-04-17 09:47:35] 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-04-17 09:47:35] 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-04-17 09:47:35] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:47:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-17 09:47:35] local.INFO: Teltonika packet parsed successfully {"connection_id":46490,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:47:35] local.INFO: Passing IMEI to GPS processor {"connection_id":46490,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 09:47:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":46490,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 09:47:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.192.221","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-17 09:47:35] local.WARNING: DEBUG: No valid data to process  
[2026-04-17 09:47:35] local.INFO: DEBUG: GPS processor result {"connection_id":46490,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-17 09:47:35] local.ERROR: GPS data processing failed {"connection_id":46490,"error":"No valid data to process"} 
[2026-04-17 09:47:35] local.INFO: Acknowledgment sent {"connection_id":46490,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-17 09:47:46] local.INFO: TCP Data received {"connection_id":46490,"ip":"117.224.192.221","data_length":1360,"data_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-17 09:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46490,"packet_length":1360,"packet_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-17 09:47:46] local.INFO: Processing buffer {"connection_id":46490,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a000000000000bb800100000000000000000000000000..."} 
[2026-04-17 09:47:46] local.INFO: Packet analysis {"connection_id":46490,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-17 09:47:46] local.INFO: Extracted packet for processing {"connection_id":46490,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a000000000000"} 
[2026-04-17 09:47: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-04-17 09: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-04-17 09:47:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113187579548925952,"note":"Value kept but may cause issues"} 
[2026-04-17 09:47:46] 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-04-17 09:47:46] 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-04-17 09:47:46] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:47:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-17 09:47:46] local.INFO: Teltonika packet parsed successfully {"connection_id":46490,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:47:46] local.INFO: Passing IMEI to GPS processor {"connection_id":46490,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 09:47:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":46490,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 09:47:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.192.221","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-17 09:47:46] local.WARNING: DEBUG: No valid data to process  
[2026-04-17 09:47:46] local.INFO: DEBUG: GPS processor result {"connection_id":46490,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-17 09:47:46] local.ERROR: GPS data processing failed {"connection_id":46490,"error":"No valid data to process"} 
[2026-04-17 09:47:46] local.INFO: Acknowledgment sent {"connection_id":46490,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-17 09:47:46] local.INFO: Packet analysis {"connection_id":46490,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-17 09:47:46] local.INFO: Incomplete packet, waiting for more data {"connection_id":46490,"needed":795,"available":565} 
[2026-04-17 09:47:48] local.INFO: TCP Data received {"connection_id":46490,"ip":"117.224.192.221","data_length":230,"data_hex":"2d196540071ff038004801092800000000000a000400ef0000711100f0000045..."} 
[2026-04-17 09:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46490,"packet_length":230,"packet_hex":"2d196540071ff038004801092800000000000a000400ef0000711100f0000045..."} 
[2026-04-17 09:47:48] local.INFO: Processing buffer {"connection_id":46490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-04-17 09:47:48] local.INFO: Packet analysis {"connection_id":46490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-17 09:47:48] local.INFO: Extracted packet for processing {"connection_id":46490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-17 09:47: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-04-17 09:47:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:47:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113187579548925952,"note":"Value kept but may cause issues"} 
[2026-04-17 09:47:48] 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-04-17 09:47:48] 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-04-17 09:47:48] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:47:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-17 09:47:48] local.INFO: Teltonika packet parsed successfully {"connection_id":46490,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:47:48] local.INFO: Passing IMEI to GPS processor {"connection_id":46490,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 09:47:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":46490,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 09:47:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.192.221","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-17 09:47:48] local.WARNING: DEBUG: No valid data to process  
[2026-04-17 09:47:48] local.INFO: DEBUG: GPS processor result {"connection_id":46490,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-17 09:47:48] local.ERROR: GPS data processing failed {"connection_id":46490,"error":"No valid data to process"} 
[2026-04-17 09:47:48] local.INFO: Acknowledgment sent {"connection_id":46490,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-17 09:47:51] local.INFO: TCP Data received {"connection_id":46491,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:47:51] local.INFO: Processing buffer {"connection_id":46491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:47:51] local.INFO: IMEI packet received {"connection_id":46491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":46491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:47:56] local.INFO: TCP Data received {"connection_id":46491,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:47:56] local.INFO: Processing buffer {"connection_id":46491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:47:56] local.INFO: IMEI packet received {"connection_id":46491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":46491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:47:57] local.INFO: TCP Data received {"connection_id":46491,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:47:57] local.INFO: Processing buffer {"connection_id":46491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:47:57] local.INFO: Packet analysis {"connection_id":46491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:47:57] local.INFO: Extracted packet for processing {"connection_id":46491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:47:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758151424001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776399330000,"timestamp_ms":1776399330000,"timestamp_seconds":1776399330,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a6aad0"} 
[2026-04-17 09:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758151424001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758151424001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:47:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:47:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758151424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":46491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:47:57] local.INFO: GPS data processed {"connection_id":46491,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:47:57] local.INFO: Acknowledgment sent {"connection_id":46491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:48:15] local.INFO: TCP Data received {"connection_id":45659,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:48:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:48:15] local.INFO: Processing buffer {"connection_id":45659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:48:15] local.INFO: IMEI packet received {"connection_id":45659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:48:15] local.INFO: IMEI acknowledgment sent {"connection_id":45659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:48:16] local.INFO: TCP Data received {"connection_id":45659,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45659,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:48:16] local.INFO: Processing buffer {"connection_id":45659,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:48:16] local.INFO: IMEI packet received {"connection_id":45659,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:48:16] local.INFO: IMEI acknowledgment sent {"connection_id":45659,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:48:17] local.INFO: TCP Data received {"connection_id":45659,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:48:17] local.INFO: Processing buffer {"connection_id":45659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:48:17] local.INFO: Packet analysis {"connection_id":45659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:48:17] local.INFO: Extracted packet for processing {"connection_id":45659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:48:17] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758115584001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:48:17] 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-04-17 09:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776399190000,"timestamp_ms":1776399190000,"timestamp_seconds":1776399190,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a487f0"} 
[2026-04-17 09:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:48:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:48:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:48:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758115584001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:48:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:48:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:48:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758115584001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:48:17] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:48:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:48:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:48:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758115584001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":45659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20353,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:48:17] local.INFO: GPS data processed {"connection_id":45659,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:48:17] local.INFO: Acknowledgment sent {"connection_id":45659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:48:19] local.INFO: TCP Data received {"connection_id":46490,"ip":"117.224.192.221","data_length":795,"data_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-04-17 09:48:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-04-17 09:48:19] local.INFO: Processing buffer {"connection_id":46490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-04-17 09:48:19] local.INFO: Packet analysis {"connection_id":46490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-17 09:48:19] local.INFO: Extracted packet for processing {"connection_id":46490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-17 09:48: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-04-17 09:48:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:48:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113187579548925952,"note":"Value kept but may cause issues"} 
[2026-04-17 09:48:19] 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-04-17 09:48:19] 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-04-17 09:48:19] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:48:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-17 09:48:19] local.INFO: Teltonika packet parsed successfully {"connection_id":46490,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:48:19] local.INFO: Passing IMEI to GPS processor {"connection_id":46490,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 09:48:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":46490,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 09:48:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.192.221","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-17 09:48:19] local.WARNING: DEBUG: No valid data to process  
[2026-04-17 09:48:19] local.INFO: DEBUG: GPS processor result {"connection_id":46490,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-17 09:48:19] local.ERROR: GPS data processing failed {"connection_id":46490,"error":"No valid data to process"} 
[2026-04-17 09:48:19] local.INFO: Acknowledgment sent {"connection_id":46490,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-17 09:48:28] local.INFO: TCP Data received {"connection_id":46491,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:48:28] local.INFO: Processing buffer {"connection_id":46491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:48:28] local.INFO: Packet analysis {"connection_id":46491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:48:28] local.INFO: Extracted packet for processing {"connection_id":46491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:48:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758151424001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776399330000,"timestamp_ms":1776399330000,"timestamp_seconds":1776399330,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a6aad0"} 
[2026-04-17 09:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758151424001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758151424001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:48:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:48:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758151424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":46491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20354,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:48:28] local.INFO: GPS data processed {"connection_id":46491,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:48:28] local.INFO: Acknowledgment sent {"connection_id":46491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:48:51] local.INFO: TCP Data received {"connection_id":46490,"ip":"117.224.192.221","data_length":795,"data_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-04-17 09:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46490,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-04-17 09:48:51] local.INFO: Processing buffer {"connection_id":46490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-04-17 09:48:51] local.INFO: Packet analysis {"connection_id":46490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-17 09:48:51] local.INFO: Extracted packet for processing {"connection_id":46490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-17 09:48:51] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:48:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113187579548925952,"note":"Value kept but may cause issues"} 
[2026-04-17 09:48:51] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,70,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 09:48:51] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":111000,"timestamp_seconds":111,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 09:48:51] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:48:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-17 09:48:51] local.INFO: Teltonika packet parsed successfully {"connection_id":46490,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:48:51] local.INFO: Passing IMEI to GPS processor {"connection_id":46490,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 09:48:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":46490,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 09:48:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.192.221","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-17 09:48:51] local.WARNING: DEBUG: No valid data to process  
[2026-04-17 09:48:51] local.INFO: DEBUG: GPS processor result {"connection_id":46490,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-17 09:48:51] local.ERROR: GPS data processing failed {"connection_id":46490,"error":"No valid data to process"} 
[2026-04-17 09:48:51] local.INFO: Acknowledgment sent {"connection_id":46490,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-17 09:48:51] local.INFO: TCP Data received {"connection_id":45926,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:48:51] local.INFO: Processing buffer {"connection_id":45926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:48:51] local.INFO: IMEI packet received {"connection_id":45926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":45926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:48:52] local.INFO: TCP Data received {"connection_id":45659,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:48:52] local.INFO: Processing buffer {"connection_id":45659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a487f0012d1b598006d4d5980011013831..."} 
[2026-04-17 09:48:52] local.INFO: Packet analysis {"connection_id":45659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:48:52] local.INFO: Extracted packet for processing {"connection_id":45659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a4"} 
[2026-04-17 09:48:52] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:48:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758115584001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:48:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:48:52] 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-04-17 09:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776399190000,"timestamp_ms":1776399190000,"timestamp_seconds":1776399190,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a487f0"} 
[2026-04-17 09:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:48:52] 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-04-17 09: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":45659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":45659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":45659,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758115584001,"66":25430,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758115584001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:48:52] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:48:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:48:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758115584001,"power":25430,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":45659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20355,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:48:52] local.INFO: GPS data processed {"connection_id":45659,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:48:52] local.INFO: Acknowledgment sent {"connection_id":45659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:48:56] local.INFO: TCP Data received {"connection_id":45926,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45926,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:48:56] local.INFO: Processing buffer {"connection_id":45926,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:48:56] local.INFO: IMEI packet received {"connection_id":45926,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":45926,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:48:57] local.INFO: TCP Data received {"connection_id":45926,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:48:57] local.INFO: Processing buffer {"connection_id":45926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:48:57] local.INFO: Packet analysis {"connection_id":45926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:48:57] local.INFO: Extracted packet for processing {"connection_id":45926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758151424001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776399330000,"timestamp_ms":1776399330000,"timestamp_seconds":1776399330,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a6aad0"} 
[2026-04-17 09:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:48:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:48:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758151424001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758151424001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:48:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758151424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":45926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20356,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:48:57] local.INFO: GPS data processed {"connection_id":45926,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:48:57] local.INFO: Acknowledgment sent {"connection_id":45926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:49:23] local.INFO: TCP Data received {"connection_id":46490,"ip":"117.224.192.221","data_length":795,"data_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-04-17 09:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46490,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-04-17 09:49:23] local.INFO: Processing buffer {"connection_id":46490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-04-17 09:49:23] local.INFO: Packet analysis {"connection_id":46490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-04-17 09:49:23] local.INFO: Extracted packet for processing {"connection_id":46490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-04-17 09:49: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-04-17 09:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113187579548925952,"note":"Value kept but may cause issues"} 
[2026-04-17 09:49:23] 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-04-17 09:49:23] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":132000,"timestamp_seconds":132,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 09:49:23] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-17 09:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":46490,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":46490,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 09:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":46490,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 09:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.192.221","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-17 09:49:23] local.WARNING: DEBUG: No valid data to process  
[2026-04-17 09:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":46490,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-17 09:49:23] local.ERROR: GPS data processing failed {"connection_id":46490,"error":"No valid data to process"} 
[2026-04-17 09:49:23] local.INFO: Acknowledgment sent {"connection_id":46490,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-17 09:49:28] local.INFO: TCP Data received {"connection_id":45926,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:49:28] local.INFO: Processing buffer {"connection_id":45926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:49:28] local.INFO: Packet analysis {"connection_id":45926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:49:28] local.INFO: Extracted packet for processing {"connection_id":45926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758151424001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776399330000,"timestamp_ms":1776399330000,"timestamp_seconds":1776399330,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a6aad0"} 
[2026-04-17 09:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45926,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758151424001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758151424001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:49:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758151424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":45926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:49:29] local.INFO: GPS data processed {"connection_id":45926,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:49:29] local.INFO: Acknowledgment sent {"connection_id":45926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:49:35] local.INFO: TCP Data received {"connection_id":45736,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:49:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:49:35] local.INFO: Processing buffer {"connection_id":45736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:49:35] local.INFO: IMEI packet received {"connection_id":45736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:49:35] local.INFO: IMEI acknowledgment sent {"connection_id":45736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:49:51] local.INFO: TCP Data received {"connection_id":46492,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:49:51] local.INFO: Processing buffer {"connection_id":46492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:49:51] local.INFO: IMEI packet received {"connection_id":46492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":46492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:49:54] local.INFO: TCP Data received {"connection_id":46490,"ip":"117.224.192.221","data_length":795,"data_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-04-17 09:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46490,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-04-17 09:49:54] local.INFO: Processing buffer {"connection_id":46490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-04-17 09:49:54] local.INFO: Packet analysis {"connection_id":46490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-04-17 09:49:54] local.INFO: Extracted packet for processing {"connection_id":46490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-04-17 09:49: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-04-17 09:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113187579548925952,"note":"Value kept but may cause issues"} 
[2026-04-17 09:49:54] 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-04-17 09:49:54] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":153000,"timestamp_seconds":153,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 09:49:54] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-17 09:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46490,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46490,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 09:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46490,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 09:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.192.221","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-17 09:49:54] local.WARNING: DEBUG: No valid data to process  
[2026-04-17 09:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":46490,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-17 09:49:54] local.ERROR: GPS data processing failed {"connection_id":46490,"error":"No valid data to process"} 
[2026-04-17 09:49:54] local.INFO: Acknowledgment sent {"connection_id":46490,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-17 09:49:55] local.INFO: TCP Data received {"connection_id":45736,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:49:55] local.INFO: Processing buffer {"connection_id":45736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:49:55] local.INFO: IMEI packet received {"connection_id":45736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":45736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:49:56] local.INFO: TCP Data received {"connection_id":46492,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46492,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:49:56] local.INFO: Processing buffer {"connection_id":46492,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:49:56] local.INFO: IMEI packet received {"connection_id":46492,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":46492,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:49:57] local.INFO: TCP Data received {"connection_id":46492,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:49:57] local.INFO: Processing buffer {"connection_id":46492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:49:57] local.INFO: Packet analysis {"connection_id":46492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:49:57] local.INFO: Extracted packet for processing {"connection_id":46492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:49:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758151424001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776399330000,"timestamp_ms":1776399330000,"timestamp_seconds":1776399330,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a6aad0"} 
[2026-04-17 09:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758151424001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758151424001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:49:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:49:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758151424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":46492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:49:57] local.INFO: GPS data processed {"connection_id":46492,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:49:57] local.INFO: Acknowledgment sent {"connection_id":46492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:50:05] local.INFO: TCP Data received {"connection_id":45927,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45927,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:50:05] local.INFO: Processing buffer {"connection_id":45927,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:50:05] local.INFO: IMEI packet received {"connection_id":45927,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":45927,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:50:27] local.INFO: TCP Data received {"connection_id":46490,"ip":"117.224.192.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ab0800012d199200071fbd08002800a60e..."} 
[2026-04-17 09:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46490,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ab0800012d199200071fbd08002800a60e..."} 
[2026-04-17 09:50:27] local.INFO: Processing buffer {"connection_id":46490,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ab0800012d199200071fbd08002800a60e..."} 
[2026-04-17 09:50:27] local.INFO: Packet analysis {"connection_id":46490,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:50:27] local.INFO: Extracted packet for processing {"connection_id":46490,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:50:27] local.INFO: GPS Element Parsed {"raw_longitude":756650496,"raw_latitude":119520520,"longitude_deg":75.6650496,"latitude_deg":11.952052,"altitude":40,"angle":166,"satellites":14,"speed":3,"hex_longitude":"2d199200","hex_latitude":"071fbd08","is_valid_coordinates":true} 
[2026-04-17 09:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758301440001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113187811477159936,"note":"Value kept but may cause issues"} 
[2026-04-17 09:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842394490656851968,"note":"Value kept but may cause issues"} 
[2026-04-17 09:50: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-04-17 09:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776399616000,"timestamp_ms":1776399616000,"timestamp_seconds":1776399616,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ab0800"} 
[2026-04-17 09:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:50:27] 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-04-17 09:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 09:50:27] 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-04-17 09:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46490,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 09:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46490,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 09:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.192.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 09:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 09:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758301440001,"66":14048,"121":206,"28":31744,"24":3,"16":113187811477159936,"45":1842394490656851968},"client_ip":"117.224.192.221","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 09:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 09:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 09:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758301440001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:50:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 09:50:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 09:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113187811477159936,"km_value":113187811477159.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842394490656851968,"description":"Unknown IO ID 45"} 
[2026-04-17 09:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758301440001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1842394490656851968}} 
[2026-04-17 09:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":46490,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:50:27] local.INFO: GPS data processed {"connection_id":46490,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:50:27] local.INFO: Acknowledgment sent {"connection_id":46490,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:50:29] local.INFO: TCP Data received {"connection_id":46492,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46492,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:50:29] local.INFO: Processing buffer {"connection_id":46492,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:50:29] local.INFO: Packet analysis {"connection_id":46492,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:50:29] local.INFO: Extracted packet for processing {"connection_id":46492,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:50:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758151424001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:50:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776399330000,"timestamp_ms":1776399330000,"timestamp_seconds":1776399330,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a6aad0"} 
[2026-04-17 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-04-17 09:50:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46492,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46492,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09: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-04-17 09:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758151424001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758151424001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:50:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:50:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758151424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":46492,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:50:29] local.INFO: GPS data processed {"connection_id":46492,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:50:29] local.INFO: Acknowledgment sent {"connection_id":46492,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:50:52] local.INFO: TCP Data received {"connection_id":45737,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:50:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:50:52] local.INFO: Processing buffer {"connection_id":45737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:50:52] local.INFO: IMEI packet received {"connection_id":45737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:50:52] local.INFO: IMEI acknowledgment sent {"connection_id":45737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:50:56] local.INFO: TCP Data received {"connection_id":45737,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:50:56] local.INFO: Processing buffer {"connection_id":45737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:50:56] local.INFO: IMEI packet received {"connection_id":45737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":45737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:50:57] local.INFO: TCP Data received {"connection_id":45737,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:50:57] local.INFO: Processing buffer {"connection_id":45737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a6aad0012d7fad4005afe3500000009426..."} 
[2026-04-17 09:50:57] local.INFO: Packet analysis {"connection_id":45737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:50:57] local.INFO: Extracted packet for processing {"connection_id":45737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a6"} 
[2026-04-17 09:50:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758151424001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776399330000,"timestamp_ms":1776399330000,"timestamp_seconds":1776399330,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a6aad0"} 
[2026-04-17 09:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:50:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 09:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:50:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758151424001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758151424001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:50:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:50:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758151424001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":45737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:50:57] local.INFO: GPS data processed {"connection_id":45737,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:50:57] local.INFO: Acknowledgment sent {"connection_id":45737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:51:28] local.INFO: TCP Data received {"connection_id":45737,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:51:28] local.INFO: Processing buffer {"connection_id":45737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:51:28] local.INFO: Packet analysis {"connection_id":45737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:51:28] local.INFO: Extracted packet for processing {"connection_id":45737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:51:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758228480001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776399631000,"timestamp_ms":1776399631000,"timestamp_seconds":1776399631,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ab4298"} 
[2026-04-17 09:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758228480001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758228480001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:51:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:51:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758228480001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":45737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:51:28] local.INFO: GPS data processed {"connection_id":45737,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:51:28] local.INFO: Acknowledgment sent {"connection_id":45737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:51:51] local.INFO: TCP Data received {"connection_id":46494,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:51:51] local.INFO: Processing buffer {"connection_id":46494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:51:51] local.INFO: IMEI packet received {"connection_id":46494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 09:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":46494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:51:52] local.INFO: TCP Data received {"connection_id":46494,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:51:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:51:52] local.INFO: Processing buffer {"connection_id":46494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:51:52] local.INFO: IMEI packet received {"connection_id":46494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 09:51:52] local.INFO: IMEI acknowledgment sent {"connection_id":46494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:51:53] local.INFO: TCP Data received {"connection_id":46494,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:51:53] local.INFO: Processing buffer {"connection_id":46494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:51:53] local.INFO: IMEI packet received {"connection_id":46494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 09:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":46494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:51:56] local.INFO: TCP Data received {"connection_id":46495,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:51:56] local.INFO: Processing buffer {"connection_id":46495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:51:56] local.INFO: IMEI packet received {"connection_id":46495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":46495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:52:01] local.INFO: TCP Data received {"connection_id":46495,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46495,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:52:01] local.INFO: Processing buffer {"connection_id":46495,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:52:01] local.INFO: IMEI packet received {"connection_id":46495,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":46495,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:52:02] local.INFO: TCP Data received {"connection_id":46495,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:52:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:52:02] local.INFO: Processing buffer {"connection_id":46495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:52:02] local.INFO: Packet analysis {"connection_id":46495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:52:02] local.INFO: Extracted packet for processing {"connection_id":46495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:52:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:52:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758228480001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:52:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:52:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:52:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:52:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776399631000,"timestamp_ms":1776399631000,"timestamp_seconds":1776399631,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ab4298"} 
[2026-04-17 09:52:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:52:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:52:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:52:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:52:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:52:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:52:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:52:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:52:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:52:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:52:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:52:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:52:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:52:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758228480001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:52:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:52:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:52:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758228480001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:52:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:52:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:52:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:52:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:52:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758228480001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:52:02] local.INFO: DEBUG: GPS processor result {"connection_id":46495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:52:02] local.INFO: GPS data processed {"connection_id":46495,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:52:02] local.INFO: Acknowledgment sent {"connection_id":46495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:52:07] local.INFO: TCP Data received {"connection_id":46495,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46495,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:52:07] local.INFO: Processing buffer {"connection_id":46495,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:52:07] local.INFO: Packet analysis {"connection_id":46495,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:52:07] local.INFO: Extracted packet for processing {"connection_id":46495,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:52:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758228480001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776399631000,"timestamp_ms":1776399631000,"timestamp_seconds":1776399631,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ab4298"} 
[2026-04-17 09:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:52:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":46495,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":46495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":46495,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:52:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758228480001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758228480001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:52:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:52:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758228480001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":46495,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:52:07] local.INFO: GPS data processed {"connection_id":46495,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:52:07] local.INFO: Acknowledgment sent {"connection_id":46495,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:52:51] local.INFO: TCP Data received {"connection_id":45738,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:52:51] local.INFO: Processing buffer {"connection_id":45738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:52:51] local.INFO: IMEI packet received {"connection_id":45738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":45738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:52:56] local.INFO: TCP Data received {"connection_id":45738,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:52:56] local.INFO: Processing buffer {"connection_id":45738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:52:56] local.INFO: IMEI packet received {"connection_id":45738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":45738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:52:57] local.INFO: TCP Data received {"connection_id":45738,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:52:57] local.INFO: Processing buffer {"connection_id":45738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:52:57] local.INFO: Packet analysis {"connection_id":45738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:52:57] local.INFO: Extracted packet for processing {"connection_id":45738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:52:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758228480001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776399631000,"timestamp_ms":1776399631000,"timestamp_seconds":1776399631,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ab4298"} 
[2026-04-17 09:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758228480001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758228480001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:52:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:52:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758228480001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":45738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:52:57] local.INFO: GPS data processed {"connection_id":45738,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:52:57] local.INFO: Acknowledgment sent {"connection_id":45738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:53:28] local.INFO: TCP Data received {"connection_id":45738,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:53:28] local.INFO: Processing buffer {"connection_id":45738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:53:28] local.INFO: Packet analysis {"connection_id":45738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:53:28] local.INFO: Extracted packet for processing {"connection_id":45738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:53:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758228480001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776399631000,"timestamp_ms":1776399631000,"timestamp_seconds":1776399631,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ab4298"} 
[2026-04-17 09:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758228480001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758228480001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:53:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:53:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758228480001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":45738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:53:28] local.INFO: GPS data processed {"connection_id":45738,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:53:28] local.INFO: Acknowledgment sent {"connection_id":45738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:53:51] local.INFO: TCP Data received {"connection_id":45661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:53:51] local.INFO: Processing buffer {"connection_id":45661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:53:51] local.INFO: IMEI packet received {"connection_id":45661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":45661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:53:56] local.INFO: TCP Data received {"connection_id":45661,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45661,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:53:56] local.INFO: Processing buffer {"connection_id":45661,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:53:56] local.INFO: IMEI packet received {"connection_id":45661,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":45661,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:53:57] local.INFO: TCP Data received {"connection_id":45661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:53:57] local.INFO: Processing buffer {"connection_id":45661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:53:57] local.INFO: Packet analysis {"connection_id":45661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:53:57] local.INFO: Extracted packet for processing {"connection_id":45661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:53:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758228480001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776399631000,"timestamp_ms":1776399631000,"timestamp_seconds":1776399631,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ab4298"} 
[2026-04-17 09:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758228480001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758228480001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:53:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:53:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758228480001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":45661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:53:57] local.INFO: GPS data processed {"connection_id":45661,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:53:57] local.INFO: Acknowledgment sent {"connection_id":45661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:54:29] local.INFO: TCP Data received {"connection_id":45661,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:54:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:54:29] local.INFO: Processing buffer {"connection_id":45661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:54:29] local.INFO: Packet analysis {"connection_id":45661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:54:29] local.INFO: Extracted packet for processing {"connection_id":45661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:54:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:54:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758228480001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:54:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:54:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:54:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:54:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776399631000,"timestamp_ms":1776399631000,"timestamp_seconds":1776399631,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ab4298"} 
[2026-04-17 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-04-17 09:54:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:54:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:54:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:54:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:54:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:54:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45661,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:54: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-04-17 09:54:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:54:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:54:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758228480001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:54:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:54:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:54:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758228480001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:54:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:54:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:54:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:54:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:54:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758228480001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:54:29] local.INFO: DEBUG: GPS processor result {"connection_id":45661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20368,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:54:29] local.INFO: GPS data processed {"connection_id":45661,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:54:29] local.INFO: Acknowledgment sent {"connection_id":45661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:54:51] local.INFO: TCP Data received {"connection_id":45741,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:54:51] local.INFO: Processing buffer {"connection_id":45741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:54:51] local.INFO: IMEI packet received {"connection_id":45741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":45741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:54:56] local.INFO: TCP Data received {"connection_id":45741,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:54:56] local.INFO: Processing buffer {"connection_id":45741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:54:56] local.INFO: IMEI packet received {"connection_id":45741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":45741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:54:57] local.INFO: TCP Data received {"connection_id":45741,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:54:57] local.INFO: Processing buffer {"connection_id":45741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:54:57] local.INFO: Packet analysis {"connection_id":45741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:54:57] local.INFO: Extracted packet for processing {"connection_id":45741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:54:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758228480001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776399631000,"timestamp_ms":1776399631000,"timestamp_seconds":1776399631,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ab4298"} 
[2026-04-17 09:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758228480001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758228480001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:54:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:54:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758228480001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":45741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:54:57] local.INFO: GPS data processed {"connection_id":45741,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:54:57] local.INFO: Acknowledgment sent {"connection_id":45741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:55:11] local.INFO: TCP Data received {"connection_id":45662,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45662,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:55:11] local.INFO: Processing buffer {"connection_id":45662,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:55:11] local.INFO: IMEI packet received {"connection_id":45662,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":45662,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:55:13] local.INFO: TCP Data received {"connection_id":45662,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99a91fb8012d1b598006d4d5980011013831..."} 
[2026-04-17 09:55:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99a91fb8012d1b598006d4d5980011013831..."} 
[2026-04-17 09:55:13] local.INFO: Processing buffer {"connection_id":45662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99a91fb8012d1b598006d4d5980011013831..."} 
[2026-04-17 09:55:13] local.INFO: Packet analysis {"connection_id":45662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99a9"} 
[2026-04-17 09:55:13] local.INFO: Extracted packet for processing {"connection_id":45662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99a9"} 
[2026-04-17 09:55:13] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:55:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758192640001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:55:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:55:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:55:13] 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-04-17 09:55:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776399491000,"timestamp_ms":1776399491000,"timestamp_seconds":1776399491,"priority":1,"record_length":96,"hex_timestamp":"0000019d99a91fb8"} 
[2026-04-17 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-04-17 09:55:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 09:55: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-04-17 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-04-17 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-04-17 09:55:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:55:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:55:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:55:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:55:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:55:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:55:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:55:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758192640001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:55:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:55:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:55:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758192640001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:55:13] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:55:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:55:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:55:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758192640001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:55:13] local.INFO: DEBUG: GPS processor result {"connection_id":45662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20370,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:55:13] local.INFO: GPS data processed {"connection_id":45662,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:55:13] local.INFO: Acknowledgment sent {"connection_id":45662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:55:28] local.INFO: TCP Data received {"connection_id":45741,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:55:28] local.INFO: Processing buffer {"connection_id":45741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:55:28] local.INFO: Packet analysis {"connection_id":45741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:55:28] local.INFO: Extracted packet for processing {"connection_id":45741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:55:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758228480001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776399631000,"timestamp_ms":1776399631000,"timestamp_seconds":1776399631,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ab4298"} 
[2026-04-17 09:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:55:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758228480001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758228480001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:55:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:55:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758228480001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":45741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20371,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:55:28] local.INFO: GPS data processed {"connection_id":45741,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:55:28] local.INFO: Acknowledgment sent {"connection_id":45741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:55:51] local.INFO: TCP Data received {"connection_id":45742,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:55:51] local.INFO: Processing buffer {"connection_id":45742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:55:51] local.INFO: IMEI packet received {"connection_id":45742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":45742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:55:56] local.INFO: TCP Data received {"connection_id":45742,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:55:56] local.INFO: Processing buffer {"connection_id":45742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:55:56] local.INFO: IMEI packet received {"connection_id":45742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":45742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:55:57] local.INFO: TCP Data received {"connection_id":45742,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:55:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:55:57] local.INFO: Processing buffer {"connection_id":45742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ab4298012d7fad4005afe350000000942b..."} 
[2026-04-17 09:55:57] local.INFO: Packet analysis {"connection_id":45742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:55:57] local.INFO: Extracted packet for processing {"connection_id":45742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ab"} 
[2026-04-17 09:55:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":43,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:55:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758228480001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:55:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:55:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:55:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:55:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776399631000,"timestamp_ms":1776399631000,"timestamp_seconds":1776399631,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ab4298"} 
[2026-04-17 09:55:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:55:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:55:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:55:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:55:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:55:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:55:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:55:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:55:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:55:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:55:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:55:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:55:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758228480001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:55:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:55:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:55:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758228480001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:55:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:55:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:55:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:55:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:55:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758228480001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:55:57] local.INFO: DEBUG: GPS processor result {"connection_id":45742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:55:57] local.INFO: GPS data processed {"connection_id":45742,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:55:57] local.INFO: Acknowledgment sent {"connection_id":45742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:55:58] local.INFO: TCP Data received {"connection_id":45662,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:55:58] local.INFO: Processing buffer {"connection_id":45662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:55:58] local.INFO: Packet analysis {"connection_id":45662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ad"} 
[2026-04-17 09:55:58] local.INFO: Extracted packet for processing {"connection_id":45662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ad"} 
[2026-04-17 09:55:58] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758269696001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:55:58] 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-04-17 09:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776399792000,"timestamp_ms":1776399792000,"timestamp_seconds":1776399792,"priority":1,"record_length":96,"hex_timestamp":"0000019d99adb780"} 
[2026-04-17 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-04-17 09:55:58] 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-04-17 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45662,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758269696001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758269696001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:55:58] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758269696001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":45662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20373,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:55:58] local.INFO: GPS data processed {"connection_id":45662,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:55:58] local.INFO: Acknowledgment sent {"connection_id":45662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:56:05] local.INFO: TCP Data received {"connection_id":45928,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:56:05] local.INFO: Processing buffer {"connection_id":45928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:56:05] local.INFO: IMEI packet received {"connection_id":45928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:56:05] local.INFO: IMEI acknowledgment sent {"connection_id":45928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:56:12] local.INFO: TCP Data received {"connection_id":45928,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45928,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:56:12] local.INFO: Processing buffer {"connection_id":45928,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:56:12] local.INFO: IMEI packet received {"connection_id":45928,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":45928,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:56:14] local.INFO: TCP Data received {"connection_id":45928,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:56:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:56:14] local.INFO: Processing buffer {"connection_id":45928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:56:14] local.INFO: Packet analysis {"connection_id":45928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ad"} 
[2026-04-17 09:56:14] local.INFO: Extracted packet for processing {"connection_id":45928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ad"} 
[2026-04-17 09:56:14] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:56:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758269696001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:56:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:56:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:56:14] 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-04-17 09:56:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776399792000,"timestamp_ms":1776399792000,"timestamp_seconds":1776399792,"priority":1,"record_length":96,"hex_timestamp":"0000019d99adb780"} 
[2026-04-17 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-04-17 09:56:14] 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-04-17 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:56: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-04-17 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-04-17 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-04-17 09:56:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:56:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:56:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:56:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:56:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:56:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:56:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:56:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758269696001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:56:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:56:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:56:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758269696001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:56:14] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:56:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:56:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:56:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758269696001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":45928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20374,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:56:15] local.INFO: GPS data processed {"connection_id":45928,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:56:15] local.INFO: Acknowledgment sent {"connection_id":45928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:56:27] local.INFO: TCP Data received {"connection_id":45742,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:56:27] local.INFO: Processing buffer {"connection_id":45742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:56:27] local.INFO: Packet analysis {"connection_id":45742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:56:27] local.INFO: Extracted packet for processing {"connection_id":45742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758305536001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776399932000,"timestamp_ms":1776399932000,"timestamp_seconds":1776399932,"priority":1,"record_length":96,"hex_timestamp":"0000019d99afda60"} 
[2026-04-17 09:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758305536001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758305536001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:56:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758305536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":45742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20375,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:56:27] local.INFO: GPS data processed {"connection_id":45742,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:56:27] local.INFO: Acknowledgment sent {"connection_id":45742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:56:50] local.INFO: TCP Data received {"connection_id":45928,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:56:50] local.INFO: Processing buffer {"connection_id":45928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:56:50] local.INFO: Packet analysis {"connection_id":45928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ad"} 
[2026-04-17 09:56:50] local.INFO: Extracted packet for processing {"connection_id":45928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ad"} 
[2026-04-17 09:56:50] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:56:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758269696001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:56:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:56:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:56:50] 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-04-17 09:56:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776399792000,"timestamp_ms":1776399792000,"timestamp_seconds":1776399792,"priority":1,"record_length":96,"hex_timestamp":"0000019d99adb780"} 
[2026-04-17 09:56:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:56:50] 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-04-17 09:56:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:56:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:56:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:56:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:56:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:56:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:56:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45928,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:56:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:56:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:56:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:56:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758269696001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:56:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:56:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:56:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758269696001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:56:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:56:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:56:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:56:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758269696001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:56:50] local.INFO: DEBUG: GPS processor result {"connection_id":45928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20376,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:56:50] local.INFO: GPS data processed {"connection_id":45928,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:56:50] local.INFO: Acknowledgment sent {"connection_id":45928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:56:51] local.INFO: TCP Data received {"connection_id":46497,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:56:51] local.INFO: Processing buffer {"connection_id":46497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:56:51] local.INFO: IMEI packet received {"connection_id":46497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":46497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:56:56] local.INFO: TCP Data received {"connection_id":46497,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46497,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:56:56] local.INFO: Processing buffer {"connection_id":46497,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:56:56] local.INFO: IMEI packet received {"connection_id":46497,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":46497,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:56:57] local.INFO: TCP Data received {"connection_id":46497,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:56:57] local.INFO: Processing buffer {"connection_id":46497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:56:57] local.INFO: Packet analysis {"connection_id":46497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:56:57] local.INFO: Extracted packet for processing {"connection_id":46497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:56:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758305536001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776399932000,"timestamp_ms":1776399932000,"timestamp_seconds":1776399932,"priority":1,"record_length":96,"hex_timestamp":"0000019d99afda60"} 
[2026-04-17 09:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758305536001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758305536001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:56:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:56:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758305536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":46497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:56:57] local.INFO: GPS data processed {"connection_id":46497,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:56:57] local.INFO: Acknowledgment sent {"connection_id":46497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:56:57] local.INFO: TCP Data received {"connection_id":46496,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46496,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:56:57] local.INFO: Processing buffer {"connection_id":46496,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 09:56:57] local.INFO: IMEI packet received {"connection_id":46496,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 09:56:57] local.INFO: IMEI acknowledgment sent {"connection_id":46496,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:56:58] local.INFO: TCP Data received {"connection_id":46496,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99afa3b0012d180140071fb720002a00eb10..."} 
[2026-04-17 09:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99afa3b0012d180140071fb720002a00eb10..."} 
[2026-04-17 09:56:58] local.INFO: Processing buffer {"connection_id":46496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99afa3b0012d180140071fb720002a00eb10..."} 
[2026-04-17 09:56:58] local.INFO: Packet analysis {"connection_id":46496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:56:58] local.INFO: Extracted packet for processing {"connection_id":46496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:56:58] local.INFO: GPS Element Parsed {"raw_longitude":756547904,"raw_latitude":119519008,"longitude_deg":75.6547904,"latitude_deg":11.9519008,"altitude":42,"angle":235,"satellites":16,"speed":35,"hex_longitude":"2d180140","hex_latitude":"071fb720","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758377472001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113195168756137984,"note":"Value kept but may cause issues"} 
[2026-04-17 09:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1734026624623773696,"note":"Value kept but may cause issues"} 
[2026-04-17 09:56: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-04-17 09:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776399918000,"timestamp_ms":1776399918000,"timestamp_seconds":1776399918,"priority":1,"record_length":96,"hex_timestamp":"0000019d99afa3b0"} 
[2026-04-17 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-04-17 09:56:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":5376,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 09:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 09:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 09:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 09:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 09:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758377472001,"66":14265,"121":206,"28":31744,"24":35,"16":113195168756137984,"45":1734026624623773696},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 09:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 09:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 09:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758377472001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:56:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 09:56:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 09:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113195168756137984,"km_value":113195168756137.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1734026624623773696,"description":"Unknown IO ID 45"} 
[2026-04-17 09:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758377472001,"power":14265,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1734026624623773696}} 
[2026-04-17 09:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":46496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:56:59] local.INFO: GPS data processed {"connection_id":46496,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:56:59] local.INFO: Acknowledgment sent {"connection_id":46496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:57:01] local.INFO: TCP Data received {"connection_id":46497,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:57:01] local.INFO: Processing buffer {"connection_id":46497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:57:01] local.INFO: Packet analysis {"connection_id":46497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:57:01] local.INFO: Extracted packet for processing {"connection_id":46497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:57:01] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758305536001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776399932000,"timestamp_ms":1776399932000,"timestamp_seconds":1776399932,"priority":1,"record_length":96,"hex_timestamp":"0000019d99afda60"} 
[2026-04-17 09:57:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:57:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:57:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:57:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:57:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:57:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:57: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-04-17 09:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758305536001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:57:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:57:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758305536001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:57:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:57:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:57:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:57:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:57:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758305536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:57:01] local.INFO: DEBUG: GPS processor result {"connection_id":46497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:57:01] local.INFO: GPS data processed {"connection_id":46497,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:57:01] local.INFO: Acknowledgment sent {"connection_id":46497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:57:10] local.INFO: TCP Data received {"connection_id":45929,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:57:10] local.INFO: Processing buffer {"connection_id":45929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:57:10] local.INFO: IMEI packet received {"connection_id":45929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":45929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:57:15] local.INFO: TCP Data received {"connection_id":45929,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45929,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:57:15] local.INFO: Processing buffer {"connection_id":45929,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:57:15] local.INFO: IMEI packet received {"connection_id":45929,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":45929,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:57:16] local.INFO: TCP Data received {"connection_id":45929,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:57:16] local.INFO: Processing buffer {"connection_id":45929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:57:16] local.INFO: Packet analysis {"connection_id":45929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ad"} 
[2026-04-17 09:57:16] local.INFO: Extracted packet for processing {"connection_id":45929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ad"} 
[2026-04-17 09:57:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758269696001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:57:16] 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-04-17 09:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776399792000,"timestamp_ms":1776399792000,"timestamp_seconds":1776399792,"priority":1,"record_length":96,"hex_timestamp":"0000019d99adb780"} 
[2026-04-17 09:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:57:16] 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-04-17 09:57:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:57: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-04-17 09:57:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758269696001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758269696001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:57:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758269696001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":45929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20380,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:57:16] local.INFO: GPS data processed {"connection_id":45929,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:57:16] local.INFO: Acknowledgment sent {"connection_id":45929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:57:24] local.INFO: TCP Data received {"connection_id":45929,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:57:24] local.INFO: Processing buffer {"connection_id":45929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:57:24] local.INFO: Packet analysis {"connection_id":45929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ad"} 
[2026-04-17 09:57:24] local.INFO: Extracted packet for processing {"connection_id":45929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ad"} 
[2026-04-17 09:57:24] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758269696001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:57:24] 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-04-17 09:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776399792000,"timestamp_ms":1776399792000,"timestamp_seconds":1776399792,"priority":1,"record_length":96,"hex_timestamp":"0000019d99adb780"} 
[2026-04-17 09:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:57:24] 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-04-17 09:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:57:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45929,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758269696001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758269696001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:57:24] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758269696001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":45929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20381,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:57:24] local.INFO: GPS data processed {"connection_id":45929,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:57:24] local.INFO: Acknowledgment sent {"connection_id":45929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:57:33] local.INFO: TCP Data received {"connection_id":46496,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b193c8012d16abc0071f7ec0001f012710..."} 
[2026-04-17 09:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b193c8012d16abc0071f7ec0001f012710..."} 
[2026-04-17 09:57:33] local.INFO: Processing buffer {"connection_id":46496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b193c8012d16abc0071f7ec0001f012710..."} 
[2026-04-17 09:57:33] local.INFO: Packet analysis {"connection_id":46496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b1"} 
[2026-04-17 09:57:33] local.INFO: Extracted packet for processing {"connection_id":46496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b1"} 
[2026-04-17 09:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756460480,"raw_latitude":119504576,"longitude_deg":75.646048,"latitude_deg":11.9504576,"altitude":31,"angle":295,"satellites":16,"speed":23,"hex_longitude":"2d16abc0","hex_latitude":"071f7ec0","is_valid_coordinates":true} 
[2026-04-17 09:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758411008001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113199450838532096,"note":"Value kept but may cause issues"} 
[2026-04-17 09:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1634877064072742912,"note":"Value kept but may cause issues"} 
[2026-04-17 09:57:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776400045000,"timestamp_ms":1776400045000,"timestamp_seconds":1776400045,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b193c8"} 
[2026-04-17 09:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:57:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 09:57:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 09:57:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:57:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 09:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 09:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 09:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 09:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758411008001,"66":14243,"131":206,"28":31744,"24":23,"16":113199450838532096,"45":1634877064072742912},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-17 09:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 09:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 09:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758411008001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:57:33] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 09:57:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 09:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113199450838532096,"km_value":113199450838532.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1634877064072742912,"description":"Unknown IO ID 45"} 
[2026-04-17 09:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758411008001,"power":14243,"unknown_131":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1634877064072742912}} 
[2026-04-17 09:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":46496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:57:33] local.INFO: GPS data processed {"connection_id":46496,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:57:33] local.INFO: Acknowledgment sent {"connection_id":46496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:57:34] local.INFO: TCP Data received {"connection_id":46497,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46497,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:57:34] local.INFO: Processing buffer {"connection_id":46497,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:57:34] local.INFO: Packet analysis {"connection_id":46497,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:57:34] local.INFO: Extracted packet for processing {"connection_id":46497,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:57:34] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758305536001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:57:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776399932000,"timestamp_ms":1776399932000,"timestamp_seconds":1776399932,"priority":1,"record_length":96,"hex_timestamp":"0000019d99afda60"} 
[2026-04-17 09:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:57:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:57:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:57:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":46497,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":46497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":46497,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:57: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-04-17 09:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758305536001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758305536001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:57:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:57:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758305536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":46497,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:57:34] local.INFO: GPS data processed {"connection_id":46497,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:57:34] local.INFO: Acknowledgment sent {"connection_id":46497,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:57:51] local.INFO: TCP Data received {"connection_id":45663,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:57:51] local.INFO: Processing buffer {"connection_id":45663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:57:51] local.INFO: IMEI packet received {"connection_id":45663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":45663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:57:56] local.INFO: TCP Data received {"connection_id":45663,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:57:56] local.INFO: Processing buffer {"connection_id":45663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:57:56] local.INFO: IMEI packet received {"connection_id":45663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":45663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:57:57] local.INFO: TCP Data received {"connection_id":45663,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:57:57] local.INFO: Processing buffer {"connection_id":45663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:57:57] local.INFO: Packet analysis {"connection_id":45663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:57:57] local.INFO: Extracted packet for processing {"connection_id":45663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:57:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758305536001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776399932000,"timestamp_ms":1776399932000,"timestamp_seconds":1776399932,"priority":1,"record_length":96,"hex_timestamp":"0000019d99afda60"} 
[2026-04-17 09:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758305536001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758305536001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:57:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:57:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758305536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":45663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:57:57] local.INFO: GPS data processed {"connection_id":45663,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:57:57] local.INFO: Acknowledgment sent {"connection_id":45663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:58:04] local.INFO: TCP Data received {"connection_id":46496,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b19b98012d16a8c0071f8168001f013810..."} 
[2026-04-17 09:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b19b98012d16a8c0071f8168001f013810..."} 
[2026-04-17 09:58:04] local.INFO: Processing buffer {"connection_id":46496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b19b98012d16a8c0071f8168001f013810..."} 
[2026-04-17 09:58:04] local.INFO: Packet analysis {"connection_id":46496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b1"} 
[2026-04-17 09:58:04] local.INFO: Extracted packet for processing {"connection_id":46496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b1"} 
[2026-04-17 09:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756459712,"raw_latitude":119505256,"longitude_deg":75.6459712,"latitude_deg":11.9505256,"altitude":31,"angle":312,"satellites":16,"speed":18,"hex_longitude":"2d16a8c0","hex_latitude":"071f8168","is_valid_coordinates":true} 
[2026-04-17 09:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758411520001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113199498083172352,"note":"Value kept but may cause issues"} 
[2026-04-17 09:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1633610426677641216,"note":"Value kept but may cause issues"} 
[2026-04-17 09:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776400047000,"timestamp_ms":1776400047000,"timestamp_seconds":1776400047,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b19b98"} 
[2026-04-17 09:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":6656,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 09:58:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-17 09:58:04] 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-04-17 09:58:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 09:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 09:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 09:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 09:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758411520001,"66":14243,"131":206,"28":31744,"24":18,"16":113199498083172352,"45":1633610426677641216},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-17 09:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 09:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 09:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758411520001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:58:04] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 09:58:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 09:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113199498083172352,"km_value":113199498083172.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1633610426677641216,"description":"Unknown IO ID 45"} 
[2026-04-17 09:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758411520001,"power":14243,"unknown_131":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1633610426677641216}} 
[2026-04-17 09:58:04] local.INFO: DEBUG: GPS processor result {"connection_id":46496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:58:04] local.INFO: GPS data processed {"connection_id":46496,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:58:04] local.INFO: Acknowledgment sent {"connection_id":46496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:58:05] local.INFO: TCP Data received {"connection_id":45930,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:58:05] local.INFO: Processing buffer {"connection_id":45930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:58:05] local.INFO: IMEI packet received {"connection_id":45930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":45930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:58:15] local.INFO: TCP Data received {"connection_id":45930,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45930,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:58:15] local.INFO: Processing buffer {"connection_id":45930,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:58:15] local.INFO: IMEI packet received {"connection_id":45930,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:58:15] local.INFO: IMEI acknowledgment sent {"connection_id":45930,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:58:16] local.INFO: TCP Data received {"connection_id":45930,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:58:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:58:16] local.INFO: Processing buffer {"connection_id":45930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:58:16] local.INFO: Packet analysis {"connection_id":45930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ad"} 
[2026-04-17 09:58:16] local.INFO: Extracted packet for processing {"connection_id":45930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ad"} 
[2026-04-17 09:58:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:58:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758269696001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:58:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:58:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:58:16] 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-04-17 09:58:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776399792000,"timestamp_ms":1776399792000,"timestamp_seconds":1776399792,"priority":1,"record_length":96,"hex_timestamp":"0000019d99adb780"} 
[2026-04-17 09:58:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:58:16] 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-04-17 09:58:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:58: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-04-17 09:58:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:58:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:58:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:58:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:58:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:58:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:58:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:58:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:58:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:58:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758269696001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:58:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:58:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:58:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758269696001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:58:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:58:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:58:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:58:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758269696001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":45930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20386,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:58:16] local.INFO: GPS data processed {"connection_id":45930,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:58:16] local.INFO: Acknowledgment sent {"connection_id":45930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:58:29] local.INFO: TCP Data received {"connection_id":45663,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:58:29] local.INFO: Processing buffer {"connection_id":45663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:58:29] local.INFO: Packet analysis {"connection_id":45663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:58:29] local.INFO: Extracted packet for processing {"connection_id":45663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:58:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758305536001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776399932000,"timestamp_ms":1776399932000,"timestamp_seconds":1776399932,"priority":1,"record_length":96,"hex_timestamp":"0000019d99afda60"} 
[2026-04-17 09:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:58: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-04-17 09:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758305536001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758305536001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:58:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758305536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":45663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20387,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:58:29] local.INFO: GPS data processed {"connection_id":45663,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:58:29] local.INFO: Acknowledgment sent {"connection_id":45663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:58:36] local.INFO: TCP Data received {"connection_id":46496,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b27658012d1633c0071fe1e00009015810..."} 
[2026-04-17 09:58:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b27658012d1633c0071fe1e00009015810..."} 
[2026-04-17 09:58:36] local.INFO: Processing buffer {"connection_id":46496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b27658012d1633c0071fe1e00009015810..."} 
[2026-04-17 09:58:36] local.INFO: Packet analysis {"connection_id":46496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 09:58:36] local.INFO: Extracted packet for processing {"connection_id":46496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 09:58:36] local.INFO: GPS Element Parsed {"raw_longitude":756429760,"raw_latitude":119529952,"longitude_deg":75.642976,"latitude_deg":11.9529952,"altitude":9,"angle":344,"satellites":16,"speed":15,"hex_longitude":"2d1633c0","hex_latitude":"071fe1e0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:58:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758425856001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:58:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113201611207081984,"note":"Value kept but may cause issues"} 
[2026-04-17 09:58:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1600044535711162368,"note":"Value kept but may cause issues"} 
[2026-04-17 09:58:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:58:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776400103000,"timestamp_ms":1776400103000,"timestamp_seconds":1776400103,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b27658"} 
[2026-04-17 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-04-17 09:58:36] 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-04-17 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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 09:58:36] 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-04-17 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-04-17 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-04-17 09:58:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:58:36] local.INFO: Teltonika packet parsed successfully {"connection_id":46496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:58:36] local.INFO: Passing IMEI to GPS processor {"connection_id":46496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 09:58:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":46496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 09:58:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:58:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 09:58:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 09:58:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758425856001,"66":14004,"131":206,"28":31744,"24":15,"16":113201611207081984,"45":1600044535711162368},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-17 09:58:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 09:58:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 09:58:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758425856001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:58:36] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 09:58:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 09:58:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113201611207081984,"km_value":113201611207081.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:58:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1600044535711162368,"description":"Unknown IO ID 45"} 
[2026-04-17 09:58:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758425856001,"power":14004,"unknown_131":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":1600044535711162368}} 
[2026-04-17 09:58:36] local.INFO: DEBUG: GPS processor result {"connection_id":46496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20388,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:58:36] local.INFO: GPS data processed {"connection_id":46496,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:58:36] local.INFO: Acknowledgment sent {"connection_id":46496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:58:48] local.INFO: TCP Data received {"connection_id":45930,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:58:48] local.INFO: Processing buffer {"connection_id":45930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99adb780012d1b598006d4d5980011013831..."} 
[2026-04-17 09:58:48] local.INFO: Packet analysis {"connection_id":45930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ad"} 
[2026-04-17 09:58:48] local.INFO: Extracted packet for processing {"connection_id":45930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ad"} 
[2026-04-17 09:58:48] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:58:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758269696001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:58:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:58:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:58:48] 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-04-17 09:58:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776399792000,"timestamp_ms":1776399792000,"timestamp_seconds":1776399792,"priority":1,"record_length":96,"hex_timestamp":"0000019d99adb780"} 
[2026-04-17 09:58:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:58:48] 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-04-17 09: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:58: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-04-17 09: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-04-17 09:58:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:58:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:58:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:58:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:58:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45930,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:58:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:58:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:58:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:58:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758269696001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:58:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:58:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:58:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758269696001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:58:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:58:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:58:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:58:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758269696001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:58:48] local.INFO: DEBUG: GPS processor result {"connection_id":45930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20389,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:58:48] local.INFO: GPS data processed {"connection_id":45930,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:58:48] local.INFO: Acknowledgment sent {"connection_id":45930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:58:51] local.INFO: TCP Data received {"connection_id":46498,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:58:51] local.INFO: Processing buffer {"connection_id":46498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:58:51] local.INFO: IMEI packet received {"connection_id":46498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":46498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:58:56] local.INFO: TCP Data received {"connection_id":46498,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46498,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:58:56] local.INFO: Processing buffer {"connection_id":46498,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:58:56] local.INFO: IMEI packet received {"connection_id":46498,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":46498,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:58:57] local.INFO: TCP Data received {"connection_id":46498,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:58:57] local.INFO: Processing buffer {"connection_id":46498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:58:57] local.INFO: Packet analysis {"connection_id":46498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:58:57] local.INFO: Extracted packet for processing {"connection_id":46498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:58:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:58: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-04-17 09:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758305536001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776399932000,"timestamp_ms":1776399932000,"timestamp_seconds":1776399932,"priority":1,"record_length":96,"hex_timestamp":"0000019d99afda60"} 
[2026-04-17 09:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:58: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-04-17 09:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758305536001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758305536001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:58:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:58:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758305536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":46498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:58:57] local.INFO: GPS data processed {"connection_id":46498,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:58:57] local.INFO: Acknowledgment sent {"connection_id":46498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:59:08] local.INFO: TCP Data received {"connection_id":46496,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b27e28012d163500071fe528000a000310..."} 
[2026-04-17 09:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b27e28012d163500071fe528000a000310..."} 
[2026-04-17 09:59:08] local.INFO: Processing buffer {"connection_id":46496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b27e28012d163500071fe528000a000310..."} 
[2026-04-17 09:59:08] local.INFO: Packet analysis {"connection_id":46496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 09:59:08] local.INFO: Extracted packet for processing {"connection_id":46496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 09:59:08] local.INFO: GPS Element Parsed {"raw_longitude":756430080,"raw_latitude":119530792,"longitude_deg":75.643008,"latitude_deg":11.9530792,"altitude":10,"angle":3,"satellites":16,"speed":10,"hex_longitude":"2d163500","hex_latitude":"071fe528","is_valid_coordinates":true} 
[2026-04-17 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-04-17 09:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758426368001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113201654156754944,"note":"Value kept but may cause issues"} 
[2026-04-17 09:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1599833429478858752,"note":"Value kept but may cause issues"} 
[2026-04-17 09:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776400105000,"timestamp_ms":1776400105000,"timestamp_seconds":1776400105,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b27e28"} 
[2026-04-17 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-04-17 09:59:08] 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-04-17 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 09:59:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 09:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":46496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":46496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 09:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":46496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 09:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 09:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 09:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758426368001,"66":14233,"131":206,"28":31744,"24":10,"16":113201654156754944,"45":1599833429478858752},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-17 09:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 09:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 09:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758426368001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:59:08] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 09:59:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 09:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113201654156754944,"km_value":113201654156754.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1599833429478858752,"description":"Unknown IO ID 45"} 
[2026-04-17 09:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758426368001,"power":14233,"unknown_131":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1599833429478858752}} 
[2026-04-17 09:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":46496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:59:08] local.INFO: GPS data processed {"connection_id":46496,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:59:08] local.INFO: Acknowledgment sent {"connection_id":46496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:59:10] local.INFO: TCP Data received {"connection_id":45664,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:59:10] local.INFO: Processing buffer {"connection_id":45664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:59:10] local.INFO: IMEI packet received {"connection_id":45664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 09:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":45664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:59:15] local.INFO: TCP Data received {"connection_id":45664,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45664,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:59:15] local.INFO: Processing buffer {"connection_id":45664,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 09:59:15] local.INFO: IMEI packet received {"connection_id":45664,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 09:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":45664,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:59:19] local.INFO: TCP Data received {"connection_id":45664,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 09:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 09:59:19] local.INFO: Processing buffer {"connection_id":45664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 09:59:19] local.INFO: Packet analysis {"connection_id":45664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 09:59:19] local.INFO: Extracted packet for processing {"connection_id":45664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 09:59:19] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:59:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758346752001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:59:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:59:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:59:19] 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-04-17 09:59:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776400093000,"timestamp_ms":1776400093000,"timestamp_seconds":1776400093,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b24f48"} 
[2026-04-17 09:59:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:59:19] 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-04-17 09:59:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:59:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:59:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:59:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:59:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:59:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:59:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:59:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:59:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:59:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:59:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:59:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758346752001,"66":25473,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:59:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:59:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:59:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758346752001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:59:19] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:59:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:59:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:59:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758346752001,"power":25473,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:59:19] local.INFO: DEBUG: GPS processor result {"connection_id":45664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20392,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:59:19] local.INFO: GPS data processed {"connection_id":45664,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:59:19] local.INFO: Acknowledgment sent {"connection_id":45664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:59:28] local.INFO: TCP Data received {"connection_id":46498,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46498,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:59:28] local.INFO: Processing buffer {"connection_id":46498,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:59:28] local.INFO: Packet analysis {"connection_id":46498,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:59:28] local.INFO: Extracted packet for processing {"connection_id":46498,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:59:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758305536001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776399932000,"timestamp_ms":1776399932000,"timestamp_seconds":1776399932,"priority":1,"record_length":96,"hex_timestamp":"0000019d99afda60"} 
[2026-04-17 09:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46498,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46498,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758305536001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758305536001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:59:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:59:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758305536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":46498,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20393,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:59:28] local.INFO: GPS data processed {"connection_id":46498,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:59:28] local.INFO: Acknowledgment sent {"connection_id":46498,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:59:40] local.INFO: TCP Data received {"connection_id":46496,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b28210012d163500071fe628000a015c10..."} 
[2026-04-17 09:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b28210012d163500071fe628000a015c10..."} 
[2026-04-17 09:59:40] local.INFO: Processing buffer {"connection_id":46496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b28210012d163500071fe628000a015c10..."} 
[2026-04-17 09:59:40] local.INFO: Packet analysis {"connection_id":46496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 09:59:40] local.INFO: Extracted packet for processing {"connection_id":46496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 09:59:40] local.INFO: GPS Element Parsed {"raw_longitude":756430080,"raw_latitude":119531048,"longitude_deg":75.643008,"latitude_deg":11.9531048,"altitude":10,"angle":348,"satellites":16,"speed":7,"hex_longitude":"2d163500","hex_latitude":"071fe628","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758426880001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113201667041656832,"note":"Value kept but may cause issues"} 
[2026-04-17 09:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1600185273199962112,"note":"Value kept but may cause issues"} 
[2026-04-17 09:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776400106000,"timestamp_ms":1776400106000,"timestamp_seconds":1776400106,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b28210"} 
[2026-04-17 09:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:59:40] 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-04-17 09: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":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-17 09:59:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":46496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":46496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 09:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":46496,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 09:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 09:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 09:59:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758426880001,"66":14233,"131":206,"28":31744,"24":7,"16":113201667041656832,"45":1600185273199962112},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-17 09:59:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 09:59:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 09:59:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758426880001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:59:40] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 09:59:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 09:59:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113201667041656832,"km_value":113201667041656.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:59:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1600185273199962112,"description":"Unknown IO ID 45"} 
[2026-04-17 09:59:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758426880001,"power":14233,"unknown_131":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1600185273199962112}} 
[2026-04-17 09:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":46496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:59:40] local.INFO: GPS data processed {"connection_id":46496,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:59:40] local.INFO: Acknowledgment sent {"connection_id":46496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:59:51] local.INFO: TCP Data received {"connection_id":45664,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 09:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 09:59:51] local.INFO: Processing buffer {"connection_id":45664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 09:59:51] local.INFO: Packet analysis {"connection_id":45664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 09:59:51] local.INFO: Extracted packet for processing {"connection_id":45664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 09:59:51] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 09: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-04-17 09:59:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758346752001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:59:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 09:59:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 09:59:51] 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-04-17 09:59:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776400093000,"timestamp_ms":1776400093000,"timestamp_seconds":1776400093,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b24f48"} 
[2026-04-17 09:59:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:59:51] 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-04-17 09:59:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 09:59:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09: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-04-17 09:59:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:59:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:59:51] local.INFO: Teltonika packet parsed successfully {"connection_id":45664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:59:51] local.INFO: Passing IMEI to GPS processor {"connection_id":45664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:59:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":45664,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 09:59:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:59:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 09:59:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 09:59:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758346752001,"66":25473,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 09:59:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 09:59:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 09:59:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758346752001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:59:51] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 09:59:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:59:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 09:59:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758346752001,"power":25473,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 09:59:51] local.INFO: DEBUG: GPS processor result {"connection_id":45664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20395,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:59:51] local.INFO: GPS data processed {"connection_id":45664,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:59:51] local.INFO: Acknowledgment sent {"connection_id":45664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 09:59:51] local.INFO: TCP Data received {"connection_id":45743,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:59:51] local.INFO: Processing buffer {"connection_id":45743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:59:51] local.INFO: IMEI packet received {"connection_id":45743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 09:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":45743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 09:59:56] local.INFO: TCP Data received {"connection_id":45743,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45743,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:59:56] local.INFO: Processing buffer {"connection_id":45743,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 09:59:56] local.INFO: IMEI packet received {"connection_id":45743,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 09:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":45743,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 09:59:57] local.INFO: TCP Data received {"connection_id":45743,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:59:57] local.INFO: Processing buffer {"connection_id":45743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 09:59:57] local.INFO: Packet analysis {"connection_id":45743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:59:57] local.INFO: Extracted packet for processing {"connection_id":45743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 09:59:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 09:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 09:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758305536001,"note":"Value kept but may cause issues"} 
[2026-04-17 09:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 09:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 09:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 09:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776399932000,"timestamp_ms":1776399932000,"timestamp_seconds":1776399932,"priority":1,"record_length":96,"hex_timestamp":"0000019d99afda60"} 
[2026-04-17 09:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 09:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 09:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 09:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 09:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 09:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 09:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 09:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 09:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 09:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 09:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 09:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 09:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758305536001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 09:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 09:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 09:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758305536001,"description":"Unknown IO ID 0"} 
[2026-04-17 09:59:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 09:59:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 09:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 09:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 09:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758305536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 09:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":45743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 09:59:57] local.INFO: GPS data processed {"connection_id":45743,"processed":1,"errors":0,"total":1} 
[2026-04-17 09:59:57] local.INFO: Acknowledgment sent {"connection_id":45743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:00:05] local.INFO: TCP Data received {"connection_id":45931,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:00:05] local.INFO: Processing buffer {"connection_id":45931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:00:05] local.INFO: IMEI packet received {"connection_id":45931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":45931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:00:10] local.INFO: TCP Data received {"connection_id":45931,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45931,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:00:10] local.INFO: Processing buffer {"connection_id":45931,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:00:10] local.INFO: IMEI packet received {"connection_id":45931,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":45931,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:00:12] local.INFO: TCP Data received {"connection_id":45931,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:00:12] local.INFO: Processing buffer {"connection_id":45931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:00:12] local.INFO: Packet analysis {"connection_id":45931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 10:00:12] local.INFO: Extracted packet for processing {"connection_id":45931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 10:00:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758346752001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:00:12] 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-04-17 10:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776400093000,"timestamp_ms":1776400093000,"timestamp_seconds":1776400093,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b24f48"} 
[2026-04-17 10:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:00: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-04-17 10:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 10:00: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-04-17 10:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758346752001,"66":25473,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758346752001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:00:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758346752001,"power":25473,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":45931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20397,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:00:12] local.INFO: GPS data processed {"connection_id":45931,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:00:12] local.INFO: Acknowledgment sent {"connection_id":45931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:00:17] local.INFO: TCP Data received {"connection_id":45932,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:00:17] local.INFO: Processing buffer {"connection_id":45932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:00:17] local.INFO: IMEI packet received {"connection_id":45932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:00:17] local.INFO: IMEI acknowledgment sent {"connection_id":45932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:00:24] local.INFO: TCP Data received {"connection_id":45932,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:00:24] local.INFO: Processing buffer {"connection_id":45932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:00:24] local.INFO: IMEI packet received {"connection_id":45932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":45932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:00:26] local.INFO: TCP Data received {"connection_id":45932,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b3ca30012d153ac0071fc5180023010511..."} 
[2026-04-17 10:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b3ca30012d153ac0071fc5180023010511..."} 
[2026-04-17 10:00:26] local.INFO: Processing buffer {"connection_id":45932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b3ca30012d153ac0071fc5180023010511..."} 
[2026-04-17 10:00:26] local.INFO: Packet analysis {"connection_id":45932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b3"} 
[2026-04-17 10:00:26] local.INFO: Extracted packet for processing {"connection_id":45932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b3"} 
[2026-04-17 10:00:26] local.INFO: GPS Element Parsed {"raw_longitude":756366016,"raw_latitude":119522584,"longitude_deg":75.6366016,"latitude_deg":11.9522584,"altitude":35,"angle":261,"satellites":17,"speed":40,"hex_longitude":"2d153ac0","hex_latitude":"071fc518","is_valid_coordinates":true} 
[2026-04-17 10:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:00:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758448640001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:00:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113204802367782912,"note":"Value kept but may cause issues"} 
[2026-04-17 10:00:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1529746160276019200,"note":"Value kept but may cause issues"} 
[2026-04-17 10:00:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:00:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776400190000,"timestamp_ms":1776400190000,"timestamp_seconds":1776400190,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b3ca30"} 
[2026-04-17 10:00:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:00:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:00:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 10:00:26] 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-04-17 10:00:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:00:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:00:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:00:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:00:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:00:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:00:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:00:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:00:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:00:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758448640001,"66":14265,"133":206,"28":31744,"24":40,"16":113204802367782912,"45":1529746160276019200},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-17 10:00:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:00:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:00:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758448640001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:00:26] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 10:00:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:00:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113204802367782912,"km_value":113204802367782.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:00:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1529746160276019200,"description":"Unknown IO ID 45"} 
[2026-04-17 10:00:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758448640001,"power":14265,"unknown_133":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1529746160276019200}} 
[2026-04-17 10:00:26] local.INFO: DEBUG: GPS processor result {"connection_id":45932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20398,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:00:26] local.INFO: GPS data processed {"connection_id":45932,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:00:26] local.INFO: Acknowledgment sent {"connection_id":45932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:00:28] local.INFO: TCP Data received {"connection_id":45743,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 10:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 10:00:28] local.INFO: Processing buffer {"connection_id":45743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 10:00:28] local.INFO: Packet analysis {"connection_id":45743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 10:00:28] local.INFO: Extracted packet for processing {"connection_id":45743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 10:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758305536001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776399932000,"timestamp_ms":1776399932000,"timestamp_seconds":1776399932,"priority":1,"record_length":96,"hex_timestamp":"0000019d99afda60"} 
[2026-04-17 10:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 10:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45743,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758305536001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758305536001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:00:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:00:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758305536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":45743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:00:28] local.INFO: GPS data processed {"connection_id":45743,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:00:28] local.INFO: Acknowledgment sent {"connection_id":45743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:00:43] local.INFO: TCP Data received {"connection_id":45931,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:00:43] local.INFO: Processing buffer {"connection_id":45931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:00:43] local.INFO: Packet analysis {"connection_id":45931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 10:00:43] local.INFO: Extracted packet for processing {"connection_id":45931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 10:00:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758346752001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:00:43] 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-04-17 10:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776400093000,"timestamp_ms":1776400093000,"timestamp_seconds":1776400093,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b24f48"} 
[2026-04-17 10:00:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:00:43] 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-04-17 10: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 10:00: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-04-17 10: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-04-17 10:00:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45931,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758346752001,"66":25473,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758346752001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:00:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758346752001,"power":25473,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":45931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20400,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:00:43] local.INFO: GPS data processed {"connection_id":45931,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:00:43] local.INFO: Acknowledgment sent {"connection_id":45931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:00:51] local.INFO: TCP Data received {"connection_id":45665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:00:51] local.INFO: Processing buffer {"connection_id":45665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:00:51] local.INFO: IMEI packet received {"connection_id":45665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":45665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:00:56] local.INFO: TCP Data received {"connection_id":45665,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45665,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:00:56] local.INFO: Processing buffer {"connection_id":45665,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:00:56] local.INFO: IMEI packet received {"connection_id":45665,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":45665,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:00:57] local.INFO: TCP Data received {"connection_id":45665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 10:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 10:00:57] local.INFO: Processing buffer {"connection_id":45665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99afda60012d7fad4005afe3500000009425..."} 
[2026-04-17 10:00:57] local.INFO: Packet analysis {"connection_id":45665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 10:00:57] local.INFO: Extracted packet for processing {"connection_id":45665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99af"} 
[2026-04-17 10:00:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":37,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758305536001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776399932000,"timestamp_ms":1776399932000,"timestamp_seconds":1776399932,"priority":1,"record_length":96,"hex_timestamp":"0000019d99afda60"} 
[2026-04-17 10:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 10:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758305536001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758305536001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:00:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:00:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758305536001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":45665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:00:57] local.INFO: GPS data processed {"connection_id":45665,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:00:57] local.INFO: Acknowledgment sent {"connection_id":45665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:00:57] local.INFO: TCP Data received {"connection_id":45932,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b3d5e8012d152f80071fc1f8002600f611..."} 
[2026-04-17 10:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b3d5e8012d152f80071fc1f8002600f611..."} 
[2026-04-17 10:00:57] local.INFO: Processing buffer {"connection_id":45932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b3d5e8012d152f80071fc1f8002600f611..."} 
[2026-04-17 10:00:57] local.INFO: Packet analysis {"connection_id":45932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b3"} 
[2026-04-17 10:00:57] local.INFO: Extracted packet for processing {"connection_id":45932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b3"} 
[2026-04-17 10:00:57] local.INFO: GPS Element Parsed {"raw_longitude":756363136,"raw_latitude":119521784,"longitude_deg":75.6363136,"latitude_deg":11.9521784,"altitude":38,"angle":246,"satellites":17,"speed":40,"hex_longitude":"2d152f80","hex_latitude":"071fc1f8","is_valid_coordinates":true} 
[2026-04-17 10:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758448640001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113204944101703680,"note":"Value kept but may cause issues"} 
[2026-04-17 10:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1529746160276019200,"note":"Value kept but may cause issues"} 
[2026-04-17 10:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776400193000,"timestamp_ms":1776400193000,"timestamp_seconds":1776400193,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b3d5e8"} 
[2026-04-17 10:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":7936,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 10:00:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758448640001,"66":14233,"133":206,"28":31744,"24":40,"16":113204944101703680,"45":1529746160276019200},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-17 10:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758448640001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:00:57] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 10:00:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113204944101703680,"km_value":113204944101703.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1529746160276019200,"description":"Unknown IO ID 45"} 
[2026-04-17 10:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758448640001,"power":14233,"unknown_133":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1529746160276019200}} 
[2026-04-17 10:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":45932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:00:57] local.INFO: GPS data processed {"connection_id":45932,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:00:57] local.INFO: Acknowledgment sent {"connection_id":45932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:01:14] local.INFO: TCP Data received {"connection_id":45744,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:01:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:01:14] local.INFO: Processing buffer {"connection_id":45744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:01:14] local.INFO: IMEI packet received {"connection_id":45744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:01:14] local.INFO: IMEI acknowledgment sent {"connection_id":45744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:01:15] local.INFO: TCP Data received {"connection_id":45744,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:01:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45744,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:01:15] local.INFO: Processing buffer {"connection_id":45744,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:01:15] local.INFO: IMEI packet received {"connection_id":45744,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:01:15] local.INFO: IMEI acknowledgment sent {"connection_id":45744,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:01:16] local.INFO: TCP Data received {"connection_id":45744,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:01:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:01:16] local.INFO: Processing buffer {"connection_id":45744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:01:16] local.INFO: Packet analysis {"connection_id":45744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 10:01:16] local.INFO: Extracted packet for processing {"connection_id":45744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 10:01:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:01:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758346752001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:01:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:01:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:01:16] 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-04-17 10:01:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776400093000,"timestamp_ms":1776400093000,"timestamp_seconds":1776400093,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b24f48"} 
[2026-04-17 10:01:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:01:16] 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-04-17 10: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 10:01: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-04-17 10: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-04-17 10:01:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:01:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:01:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:01:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:01:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:01:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:01:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:01:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:01:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758346752001,"66":25473,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:01:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:01:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:01:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758346752001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:01:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:01:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:01:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:01:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758346752001,"power":25473,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:01:16] local.INFO: DEBUG: GPS processor result {"connection_id":45744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20403,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:01:16] local.INFO: GPS data processed {"connection_id":45744,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:01:16] local.INFO: Acknowledgment sent {"connection_id":45744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:01:21] local.INFO: TCP Data received {"connection_id":45744,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:01:21] local.INFO: Processing buffer {"connection_id":45744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:01:21] local.INFO: Packet analysis {"connection_id":45744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 10:01:21] local.INFO: Extracted packet for processing {"connection_id":45744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 10:01:21] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:01:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758346752001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:01:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:01:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:01:21] 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-04-17 10:01:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776400093000,"timestamp_ms":1776400093000,"timestamp_seconds":1776400093,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b24f48"} 
[2026-04-17 10:01:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:01:21] 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-04-17 10:01:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 10:01:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:01:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:01:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:01:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:01:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:01:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:01:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45744,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:01:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:01:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:01:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:01:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758346752001,"66":25473,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:01:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:01:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:01:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758346752001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:01:21] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:01:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:01:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:01:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758346752001,"power":25473,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:01:21] local.INFO: DEBUG: GPS processor result {"connection_id":45744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20404,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:01:21] local.INFO: GPS data processed {"connection_id":45744,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:01:21] local.INFO: Acknowledgment sent {"connection_id":45744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:01:23] local.INFO: TCP Data received {"connection_id":46499,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:01:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:01:23] local.INFO: Processing buffer {"connection_id":46499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:01:23] local.INFO: IMEI packet received {"connection_id":46499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:01:23] local.INFO: IMEI acknowledgment sent {"connection_id":46499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:01:26] local.INFO: TCP Data received {"connection_id":46499,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46499,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:01:26] local.INFO: Processing buffer {"connection_id":46499,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:01:26] local.INFO: IMEI packet received {"connection_id":46499,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":46499,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:01:27] local.INFO: TCP Data received {"connection_id":45665,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:01:27] local.INFO: Processing buffer {"connection_id":45665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:01:27] local.INFO: Packet analysis {"connection_id":45665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:01:27] local.INFO: Extracted packet for processing {"connection_id":45665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:01:27] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758382592001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776400233000,"timestamp_ms":1776400233000,"timestamp_seconds":1776400233,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b47228"} 
[2026-04-17 10:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45665,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758382592001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758382592001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:01:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:01:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758382592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":45665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:01:28] local.INFO: GPS data processed {"connection_id":45665,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:01:28] local.INFO: Acknowledgment sent {"connection_id":45665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:01:28] local.INFO: TCP Data received {"connection_id":46499,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b3e1a0012d152580071fbc78002900e911..."} 
[2026-04-17 10:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b3e1a0012d152580071fbc78002900e911..."} 
[2026-04-17 10:01:28] local.INFO: Processing buffer {"connection_id":46499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b3e1a0012d152580071fbc78002900e911..."} 
[2026-04-17 10:01:28] local.INFO: Packet analysis {"connection_id":46499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b3"} 
[2026-04-17 10:01:28] local.INFO: Extracted packet for processing {"connection_id":46499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b3"} 
[2026-04-17 10:01:28] local.INFO: GPS Element Parsed {"raw_longitude":756360576,"raw_latitude":119520376,"longitude_deg":75.6360576,"latitude_deg":11.9520376,"altitude":41,"angle":233,"satellites":17,"speed":39,"hex_longitude":"2d152580","hex_latitude":"071fbc78","is_valid_coordinates":true} 
[2026-04-17 10:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758449408001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113205085835624448,"note":"Value kept but may cause issues"} 
[2026-04-17 10:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1526579566787819520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776400196000,"timestamp_ms":1776400196000,"timestamp_seconds":1776400196,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b3e1a0"} 
[2026-04-17 10:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:01:28] 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-04-17 10:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-17 10:01: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-04-17 10:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758449408001,"66":14113,"133":206,"28":31744,"24":39,"16":113205085835624448,"45":1526579566787819520},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-17 10:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758449408001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:01:28] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 10:01:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113205085835624448,"km_value":113205085835624.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1526579566787819520,"description":"Unknown IO ID 45"} 
[2026-04-17 10:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758449408001,"power":14113,"unknown_133":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1526579566787819520}} 
[2026-04-17 10:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":46499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:01:28] local.INFO: GPS data processed {"connection_id":46499,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:01:28] local.INFO: Acknowledgment sent {"connection_id":46499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:01:30] local.INFO: TCP Data received {"connection_id":46499,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b408b0012d150980071fa468003000e711..."} 
[2026-04-17 10:01:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b408b0012d150980071fa468003000e711..."} 
[2026-04-17 10:01:30] local.INFO: Processing buffer {"connection_id":46499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b408b0012d150980071fa468003000e711..."} 
[2026-04-17 10:01:30] local.INFO: Packet analysis {"connection_id":46499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:01:30] local.INFO: Extracted packet for processing {"connection_id":46499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:01:30] local.INFO: GPS Element Parsed {"raw_longitude":756353408,"raw_latitude":119514216,"longitude_deg":75.6353408,"latitude_deg":11.9514216,"altitude":48,"angle":231,"satellites":17,"speed":36,"hex_longitude":"2d150980","hex_latitude":"071fa468","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:01:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758450176001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:01:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113205536807190528,"note":"Value kept but may cause issues"} 
[2026-04-17 10:01:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1523764817020352512,"note":"Value kept but may cause issues"} 
[2026-04-17 10:01:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:01:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776400206000,"timestamp_ms":1776400206000,"timestamp_seconds":1776400206,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b408b0"} 
[2026-04-17 10:01:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:01:30] 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-04-17 10:01:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-04-17 10:01:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":770,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:01:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:01:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:01:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:01:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:01:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:01:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:01:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:01:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:01:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758450176001,"66":14070,"133":206,"28":31744,"24":36,"16":113205536807190528,"45":1523764817020352512},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-17 10:01:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:01:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:01:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758450176001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:01:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 10:01:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:01:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113205536807190528,"km_value":113205536807190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:01:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1523764817020352512,"description":"Unknown IO ID 45"} 
[2026-04-17 10:01:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758450176001,"power":14070,"unknown_133":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1523764817020352512}} 
[2026-04-17 10:01:30] local.INFO: DEBUG: GPS processor result {"connection_id":46499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20407,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:01:30] local.INFO: GPS data processed {"connection_id":46499,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:01:30] local.INFO: Acknowledgment sent {"connection_id":46499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:01:56] local.INFO: TCP Data received {"connection_id":45933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:01:56] local.INFO: Processing buffer {"connection_id":45933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:01:56] local.INFO: IMEI packet received {"connection_id":45933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":45933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:02:01] local.INFO: TCP Data received {"connection_id":45933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:02:01] local.INFO: Processing buffer {"connection_id":45933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:02:01] local.INFO: IMEI packet received {"connection_id":45933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":45933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:02:02] local.INFO: TCP Data received {"connection_id":45933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:02:02] local.INFO: Processing buffer {"connection_id":45933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:02:02] local.INFO: Packet analysis {"connection_id":45933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:02:02] local.INFO: Extracted packet for processing {"connection_id":45933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758382592001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776400233000,"timestamp_ms":1776400233000,"timestamp_seconds":1776400233,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b47228"} 
[2026-04-17 10:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:02:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758382592001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758382592001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:02:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:02:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758382592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":45933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:02:02] local.INFO: GPS data processed {"connection_id":45933,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:02:02] local.INFO: Acknowledgment sent {"connection_id":45933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:02:06] local.INFO: TCP Data received {"connection_id":45933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:02:06] local.INFO: Processing buffer {"connection_id":45933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:02:06] local.INFO: Packet analysis {"connection_id":45933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:02:06] local.INFO: Extracted packet for processing {"connection_id":45933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758382592001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776400233000,"timestamp_ms":1776400233000,"timestamp_seconds":1776400233,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b47228"} 
[2026-04-17 10:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758382592001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758382592001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:02:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758382592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":45933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20409,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:02:06] local.INFO: GPS data processed {"connection_id":45933,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:02:06] local.INFO: Acknowledgment sent {"connection_id":45933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:02:07] local.INFO: TCP Data received {"connection_id":46499,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b57bc8012d13ec80071f2530003000fa12..."} 
[2026-04-17 10:02:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b57bc8012d13ec80071f2530003000fa12..."} 
[2026-04-17 10:02:07] local.INFO: Processing buffer {"connection_id":46499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b57bc8012d13ec80071f2530003000fa12..."} 
[2026-04-17 10:02:07] local.INFO: Packet analysis {"connection_id":46499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b5"} 
[2026-04-17 10:02:07] local.INFO: Extracted packet for processing {"connection_id":46499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b5"} 
[2026-04-17 10:02:07] local.INFO: GPS Element Parsed {"raw_longitude":756280448,"raw_latitude":119481648,"longitude_deg":75.6280448,"latitude_deg":11.9481648,"altitude":48,"angle":250,"satellites":18,"speed":44,"hex_longitude":"2d13ec80","hex_latitude":"071f2530","is_valid_coordinates":true} 
[2026-04-17 10:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:02:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758475008001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113209376507953152,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1445233298508877824,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:02:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776400301000,"timestamp_ms":1776400301000,"timestamp_seconds":1776400301,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b57bc8"} 
[2026-04-17 10:02:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:02:07] 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-04-17 10:02:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-04-17 10:02:07] 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-04-17 10:02:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:02:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:02:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:02:07] local.INFO: Teltonika packet parsed successfully {"connection_id":46499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:02:07] local.INFO: Passing IMEI to GPS processor {"connection_id":46499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:02:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":46499,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:02:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:02:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:02:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:02:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758475008001,"66":14243,"50":206,"28":31744,"24":44,"16":113209376507953152,"45":1445233298508877824},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-04-17 10:02:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:02:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:02:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758475008001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:02:07] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-17 10:02:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:02:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113209376507953152,"km_value":113209376507953.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:02:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1445233298508877824,"description":"Unknown IO ID 45"} 
[2026-04-17 10:02:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758475008001,"power":14243,"unknown_50":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1445233298508877824}} 
[2026-04-17 10:02:07] local.INFO: DEBUG: GPS processor result {"connection_id":46499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:02:07] local.INFO: GPS data processed {"connection_id":46499,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:02:07] local.INFO: Acknowledgment sent {"connection_id":46499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:02:18] local.INFO: TCP Data received {"connection_id":45745,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:02:18] local.INFO: Processing buffer {"connection_id":45745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:02:18] local.INFO: IMEI packet received {"connection_id":45745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":45745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:02:18] local.INFO: TCP Data received {"connection_id":45745,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:02:18] local.INFO: Processing buffer {"connection_id":45745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:02:18] local.INFO: IMEI packet received {"connection_id":45745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":45745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:02:22] local.INFO: TCP Data received {"connection_id":45745,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:02:22] local.INFO: Processing buffer {"connection_id":45745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:02:22] local.INFO: IMEI packet received {"connection_id":45745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":45745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:02:24] local.INFO: TCP Data received {"connection_id":45745,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b59ef0012d13c8c0071f17a8003400f512..."} 
[2026-04-17 10:02:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b59ef0012d13c8c0071f17a8003400f512..."} 
[2026-04-17 10:02:24] local.INFO: Processing buffer {"connection_id":45745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b59ef0012d13c8c0071f17a8003400f512..."} 
[2026-04-17 10:02:24] local.INFO: Packet analysis {"connection_id":45745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b5"} 
[2026-04-17 10:02:24] local.INFO: Extracted packet for processing {"connection_id":45745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b5"} 
[2026-04-17 10:02:24] local.INFO: GPS Element Parsed {"raw_longitude":756271296,"raw_latitude":119478184,"longitude_deg":75.6271296,"latitude_deg":11.9478184,"altitude":52,"angle":245,"satellites":18,"speed":42,"hex_longitude":"2d13c8c0","hex_latitude":"071f17a8","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:02:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758477056001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113209840364421120,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1435663149300002816,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:02:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776400310000,"timestamp_ms":1776400310000,"timestamp_seconds":1776400310,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b59ef0"} 
[2026-04-17 10:02:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:02:24] 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-04-17 10: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-17 10:02:24] 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-04-17 10: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-04-17 10:02:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:02:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:02:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:02:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:02:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:02:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:02:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:02:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:02:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758477056001,"66":14265,"50":206,"28":31744,"24":42,"16":113209840364421120,"45":1435663149300002816},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-04-17 10:02:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:02:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:02:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758477056001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:02:24] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-17 10:02:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:02:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113209840364421120,"km_value":113209840364421.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:02:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1435663149300002816,"description":"Unknown IO ID 45"} 
[2026-04-17 10:02:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758477056001,"power":14265,"unknown_50":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1435663149300002816}} 
[2026-04-17 10:02:24] local.INFO: DEBUG: GPS processor result {"connection_id":45745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:02:24] local.INFO: GPS data processed {"connection_id":45745,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:02:24] local.INFO: Acknowledgment sent {"connection_id":45745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:02:44] local.INFO: TCP Data received {"connection_id":45666,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:02:44] local.INFO: Processing buffer {"connection_id":45666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:02:44] local.INFO: IMEI packet received {"connection_id":45666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":45666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:02:45] local.INFO: TCP Data received {"connection_id":45666,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45666,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:02:45] local.INFO: Processing buffer {"connection_id":45666,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:02:45] local.INFO: IMEI packet received {"connection_id":45666,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":45666,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:02:46] local.INFO: TCP Data received {"connection_id":45666,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:02:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:02:46] local.INFO: Processing buffer {"connection_id":45666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:02:46] local.INFO: Packet analysis {"connection_id":45666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 10:02:46] local.INFO: Extracted packet for processing {"connection_id":45666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 10:02:46] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:02:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758346752001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:46] 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-04-17 10:02:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776400093000,"timestamp_ms":1776400093000,"timestamp_seconds":1776400093,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b24f48"} 
[2026-04-17 10:02:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:02:46] 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-04-17 10:02:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 10:02: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-04-17 10:02:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:02:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:02:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:02:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:02:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:02:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45666,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:02:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:02:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:02:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:02:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758346752001,"66":25473,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:02:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:02:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:02:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758346752001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:02:46] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:02:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:02:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:02:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758346752001,"power":25473,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:02:46] local.INFO: DEBUG: GPS processor result {"connection_id":45666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20412,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:02:46] local.INFO: GPS data processed {"connection_id":45666,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:02:46] local.INFO: Acknowledgment sent {"connection_id":45666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:02:51] local.INFO: TCP Data received {"connection_id":46500,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:02:51] local.INFO: Processing buffer {"connection_id":46500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:02:51] local.INFO: IMEI packet received {"connection_id":46500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":46500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:02:56] local.INFO: TCP Data received {"connection_id":46500,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46500,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:02:56] local.INFO: Processing buffer {"connection_id":46500,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:02:56] local.INFO: IMEI packet received {"connection_id":46500,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":46500,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:02:56] local.INFO: TCP Data received {"connection_id":45745,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b5c218012d13a700071f06c0003200f313..."} 
[2026-04-17 10:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b5c218012d13a700071f06c0003200f313..."} 
[2026-04-17 10:02:56] local.INFO: Processing buffer {"connection_id":45745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b5c218012d13a700071f06c0003200f313..."} 
[2026-04-17 10:02:56] local.INFO: Packet analysis {"connection_id":45745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b5"} 
[2026-04-17 10:02:56] local.INFO: Extracted packet for processing {"connection_id":45745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b5"} 
[2026-04-17 10:02:56] local.INFO: GPS Element Parsed {"raw_longitude":756262656,"raw_latitude":119473856,"longitude_deg":75.6262656,"latitude_deg":11.9473856,"altitude":50,"angle":243,"satellites":19,"speed":43,"hex_longitude":"2d13a700","hex_latitude":"071f06c0","is_valid_coordinates":true} 
[2026-04-17 10:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758479360001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113210299925921792,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1425600418881710080,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776400319000,"timestamp_ms":1776400319000,"timestamp_seconds":1776400319,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b5c218"} 
[2026-04-17 10:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:02:56] 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-04-17 10:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 10:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758479360001,"66":14048,"50":206,"28":31744,"24":43,"16":113210299925921792,"45":1425600418881710080},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-04-17 10:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758479360001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:02:56] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-17 10:02:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113210299925921792,"km_value":113210299925921.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1425600418881710080,"description":"Unknown IO ID 45"} 
[2026-04-17 10:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758479360001,"power":14048,"unknown_50":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1425600418881710080}} 
[2026-04-17 10:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":45745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:02:56] local.INFO: GPS data processed {"connection_id":45745,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:02:56] local.INFO: Acknowledgment sent {"connection_id":45745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:02:57] local.INFO: TCP Data received {"connection_id":46500,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:02:57] local.INFO: Processing buffer {"connection_id":46500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:02:57] local.INFO: Packet analysis {"connection_id":46500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:02:57] local.INFO: Extracted packet for processing {"connection_id":46500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:02:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758382592001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776400233000,"timestamp_ms":1776400233000,"timestamp_seconds":1776400233,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b47228"} 
[2026-04-17 10:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758382592001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758382592001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:02:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:02:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758382592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":46500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:02:57] local.INFO: GPS data processed {"connection_id":46500,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:02:57] local.INFO: Acknowledgment sent {"connection_id":46500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:03:06] local.INFO: TCP Data received {"connection_id":45667,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:03:06] local.INFO: Processing buffer {"connection_id":45667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:03:06] local.INFO: IMEI packet received {"connection_id":45667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:03:06] local.INFO: IMEI acknowledgment sent {"connection_id":45667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:03:10] local.INFO: TCP Data received {"connection_id":45667,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:03:10] local.INFO: Processing buffer {"connection_id":45667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:03:10] local.INFO: IMEI packet received {"connection_id":45667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":45667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:03:12] local.INFO: TCP Data received {"connection_id":45667,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:03:12] local.INFO: Processing buffer {"connection_id":45667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:03:12] local.INFO: Packet analysis {"connection_id":45667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 10:03:12] local.INFO: Extracted packet for processing {"connection_id":45667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 10:03:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:03:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758346752001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:12] 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-04-17 10:03:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776400093000,"timestamp_ms":1776400093000,"timestamp_seconds":1776400093,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b24f48"} 
[2026-04-17 10:03:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:03: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-04-17 10: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 10:03: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-04-17 10: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-04-17 10:03:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:03:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:03:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:03:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:03:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:03:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:03:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:03:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:03:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758346752001,"66":25473,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:03:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:03:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:03:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758346752001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:03:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:03:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:03:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:03:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758346752001,"power":25473,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:03:12] local.INFO: DEBUG: GPS processor result {"connection_id":45667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20415,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:03:12] local.INFO: GPS data processed {"connection_id":45667,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:03:12] local.INFO: Acknowledgment sent {"connection_id":45667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:03:17] local.INFO: TCP Data received {"connection_id":45934,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:03:17] local.INFO: Processing buffer {"connection_id":45934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:03:17] local.INFO: IMEI packet received {"connection_id":45934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":45934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:03:18] local.INFO: TCP Data received {"connection_id":45667,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:03:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:03:18] local.INFO: Processing buffer {"connection_id":45667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:03:18] local.INFO: Packet analysis {"connection_id":45667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 10:03:18] local.INFO: Extracted packet for processing {"connection_id":45667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 10:03:18] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:03:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758346752001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:18] 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-04-17 10:03:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776400093000,"timestamp_ms":1776400093000,"timestamp_seconds":1776400093,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b24f48"} 
[2026-04-17 10:03:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:03:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:03:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 10:03: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-04-17 10:03:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:03:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:03:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:03:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:03:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:03:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:03:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:03:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:03:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:03:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758346752001,"66":25473,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:03:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:03:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:03:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758346752001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:03:18] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:03:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:03:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:03:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758346752001,"power":25473,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":45667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20416,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:03:18] local.INFO: GPS data processed {"connection_id":45667,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:03:18] local.INFO: Acknowledgment sent {"connection_id":45667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:03:20] local.INFO: TCP Data received {"connection_id":45934,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:03:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45934,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:03:20] local.INFO: Processing buffer {"connection_id":45934,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:03:20] local.INFO: IMEI packet received {"connection_id":45934,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:03:20] local.INFO: IMEI acknowledgment sent {"connection_id":45934,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:03:22] local.INFO: TCP Data received {"connection_id":45934,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b5e158012d138540071ef8e8003000fe14..."} 
[2026-04-17 10:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b5e158012d138540071ef8e8003000fe14..."} 
[2026-04-17 10:03:22] local.INFO: Processing buffer {"connection_id":45934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b5e158012d138540071ef8e8003000fe14..."} 
[2026-04-17 10:03:22] local.INFO: Packet analysis {"connection_id":45934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b5"} 
[2026-04-17 10:03:22] local.INFO: Extracted packet for processing {"connection_id":45934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b5"} 
[2026-04-17 10:03:22] local.INFO: GPS Element Parsed {"raw_longitude":756254016,"raw_latitude":119470312,"longitude_deg":75.6254016,"latitude_deg":11.9470312,"altitude":48,"angle":254,"satellites":20,"speed":46,"hex_longitude":"2d138540","hex_latitude":"071ef8e8","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:03:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758481664001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113210746602520576,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1416100638416617472,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:03:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776400327000,"timestamp_ms":1776400327000,"timestamp_seconds":1776400327,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b5e158"} 
[2026-04-17 10:03:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:03:22] 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-04-17 10: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 10:03:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:03:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:03:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:03:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:03:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:03:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:03:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:03:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:03:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:03:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:03:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758481664001,"66":14070,"50":206,"28":31744,"24":46,"16":113210746602520576,"45":1416100638416617472},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-04-17 10:03:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:03:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:03:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758481664001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:03:22] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-17 10:03:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:03:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113210746602520576,"km_value":113210746602520.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:03:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1416100638416617472,"description":"Unknown IO ID 45"} 
[2026-04-17 10:03:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758481664001,"power":14070,"unknown_50":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1416100638416617472}} 
[2026-04-17 10:03:22] local.INFO: DEBUG: GPS processor result {"connection_id":45934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:03:22] local.INFO: GPS data processed {"connection_id":45934,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:03:22] local.INFO: Acknowledgment sent {"connection_id":45934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:03:28] local.INFO: TCP Data received {"connection_id":46500,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46500,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:03:28] local.INFO: Processing buffer {"connection_id":46500,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:03:28] local.INFO: Packet analysis {"connection_id":46500,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:03:28] local.INFO: Extracted packet for processing {"connection_id":46500,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:03:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758382592001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776400233000,"timestamp_ms":1776400233000,"timestamp_seconds":1776400233,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b47228"} 
[2026-04-17 10:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46500,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46500,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758382592001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758382592001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:03:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:03:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758382592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":46500,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:03:28] local.INFO: GPS data processed {"connection_id":46500,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:03:28] local.INFO: Acknowledgment sent {"connection_id":46500,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:03:50] local.INFO: TCP Data received {"connection_id":45667,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:03:50] local.INFO: Processing buffer {"connection_id":45667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b24f48012d1b598006d4d5980011013831..."} 
[2026-04-17 10:03:50] local.INFO: Packet analysis {"connection_id":45667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 10:03:50] local.INFO: Extracted packet for processing {"connection_id":45667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b2"} 
[2026-04-17 10:03:50] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:03:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758346752001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:50] 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-04-17 10:03:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776400093000,"timestamp_ms":1776400093000,"timestamp_seconds":1776400093,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b24f48"} 
[2026-04-17 10:03:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:03:50] 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-04-17 10:03:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 10:03:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:03:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:03:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:03:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:03:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:03:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:03:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:03:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:03:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:03:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:03:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758346752001,"66":25473,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:03:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:03:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:03:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758346752001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:03:50] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:03:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:03:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:03:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758346752001,"power":25473,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:03:50] local.INFO: DEBUG: GPS processor result {"connection_id":45667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20419,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:03:50] local.INFO: GPS data processed {"connection_id":45667,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:03:50] local.INFO: Acknowledgment sent {"connection_id":45667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:03:51] local.INFO: TCP Data received {"connection_id":46501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:03:51] local.INFO: Processing buffer {"connection_id":46501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:03:51] local.INFO: IMEI packet received {"connection_id":46501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":46501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:03:53] local.INFO: TCP Data received {"connection_id":45934,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b748b8012d121800071f26c00043011514..."} 
[2026-04-17 10:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b748b8012d121800071f26c00043011514..."} 
[2026-04-17 10:03:54] local.INFO: Processing buffer {"connection_id":45934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b748b8012d121800071f26c00043011514..."} 
[2026-04-17 10:03:54] local.INFO: Packet analysis {"connection_id":45934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b7"} 
[2026-04-17 10:03:54] local.INFO: Extracted packet for processing {"connection_id":45934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b7"} 
[2026-04-17 10:03:54] local.INFO: GPS Element Parsed {"raw_longitude":756160512,"raw_latitude":119482048,"longitude_deg":75.6160512,"latitude_deg":11.9482048,"altitude":67,"angle":277,"satellites":20,"speed":47,"hex_longitude":"2d121800","hex_latitude":"071f26c0","is_valid_coordinates":true} 
[2026-04-17 10:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:03:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758504960001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:54] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 10:03:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113215286382952448,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1314628909314103296,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 10:03:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776400419000,"timestamp_ms":1776400419000,"timestamp_seconds":1776400419,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b748b8"} 
[2026-04-17 10:03:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:03:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:03:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-17 10:03:54] 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-04-17 10:03:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:03:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:03:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:03:54] local.INFO: Teltonika packet parsed successfully {"connection_id":45934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:03:54] local.INFO: Passing IMEI to GPS processor {"connection_id":45934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:03:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":45934,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:03:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:03:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:03:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:03:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758504960001,"66":14048,"200":0,"28":31744,"24":47,"16":113215286382952448,"45":1314628909314103296},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-17 10:03:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:03:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:03:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758504960001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:03:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:03:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113215286382952448,"km_value":113215286382952.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:03:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1314628909314103296,"description":"Unknown IO ID 45"} 
[2026-04-17 10:03:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758504960001,"power":14048,"gsm_signal":0,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1314628909314103296}} 
[2026-04-17 10:03:54] local.INFO: DEBUG: GPS processor result {"connection_id":45934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:03:54] local.INFO: GPS data processed {"connection_id":45934,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:03:54] local.INFO: Acknowledgment sent {"connection_id":45934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:03:57] local.INFO: TCP Data received {"connection_id":46501,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46501,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:03:57] local.INFO: Processing buffer {"connection_id":46501,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:03:57] local.INFO: IMEI packet received {"connection_id":46501,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:03:57] local.INFO: IMEI acknowledgment sent {"connection_id":46501,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:03:58] local.INFO: TCP Data received {"connection_id":46501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:03:58] local.INFO: Processing buffer {"connection_id":46501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:03:58] local.INFO: Packet analysis {"connection_id":46501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:03:58] local.INFO: Extracted packet for processing {"connection_id":46501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:03:58] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758382592001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776400233000,"timestamp_ms":1776400233000,"timestamp_seconds":1776400233,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b47228"} 
[2026-04-17 10:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:03:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758382592001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758382592001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:03:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:03:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758382592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":46501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:03:58] local.INFO: GPS data processed {"connection_id":46501,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:03:58] local.INFO: Acknowledgment sent {"connection_id":46501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:04:05] local.INFO: TCP Data received {"connection_id":45935,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:04:05] local.INFO: Processing buffer {"connection_id":45935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:04:05] local.INFO: IMEI packet received {"connection_id":45935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":45935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:04:10] local.INFO: TCP Data received {"connection_id":45935,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45935,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:04:10] local.INFO: Processing buffer {"connection_id":45935,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:04:10] local.INFO: IMEI packet received {"connection_id":45935,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":45935,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:04:11] local.INFO: TCP Data received {"connection_id":45935,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:04:11] local.INFO: Processing buffer {"connection_id":45935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:04:11] local.INFO: Packet analysis {"connection_id":45935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:04:11] local.INFO: Extracted packet for processing {"connection_id":45935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:04:11] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758423808001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:04:11] 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-04-17 10:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776400394000,"timestamp_ms":1776400394000,"timestamp_seconds":1776400394,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b6e710"} 
[2026-04-17 10:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:04:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":129,"data_length":795,"current_offset":136} 
[2026-04-17 10:04: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-04-17 10: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-04-17 10:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758423808001,"66":25278,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758423808001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:04:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758423808001,"power":25278,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":45935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:04:11] local.INFO: GPS data processed {"connection_id":45935,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:04:11] local.INFO: Acknowledgment sent {"connection_id":45935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:04:17] local.INFO: TCP Data received {"connection_id":45668,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:04:17] local.INFO: Processing buffer {"connection_id":45668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:04:17] local.INFO: IMEI packet received {"connection_id":45668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":45668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:04:18] local.INFO: TCP Data received {"connection_id":45668,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:04:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:04:18] local.INFO: Processing buffer {"connection_id":45668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:04:18] local.INFO: IMEI packet received {"connection_id":45668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:04:18] local.INFO: IMEI acknowledgment sent {"connection_id":45668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:04:19] local.INFO: TCP Data received {"connection_id":45668,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:04:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:04:19] local.INFO: Processing buffer {"connection_id":45668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:04:19] local.INFO: IMEI packet received {"connection_id":45668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:04:19] local.INFO: IMEI acknowledgment sent {"connection_id":45668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:04:22] local.INFO: TCP Data received {"connection_id":45668,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:04:22] local.INFO: Processing buffer {"connection_id":45668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:04:22] local.INFO: IMEI packet received {"connection_id":45668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":45668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:04:23] local.INFO: TCP Data received {"connection_id":45668,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b767f8012d11efc0071f2a98003b011415..."} 
[2026-04-17 10:04:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b767f8012d11efc0071f2a98003b011415..."} 
[2026-04-17 10:04:23] local.INFO: Processing buffer {"connection_id":45668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b767f8012d11efc0071f2a98003b011415..."} 
[2026-04-17 10:04:23] local.INFO: Packet analysis {"connection_id":45668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b7"} 
[2026-04-17 10:04:23] local.INFO: Extracted packet for processing {"connection_id":45668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b7"} 
[2026-04-17 10:04:23] local.INFO: GPS Element Parsed {"raw_longitude":756150208,"raw_latitude":119483032,"longitude_deg":75.6150208,"latitude_deg":11.9483032,"altitude":59,"angle":276,"satellites":21,"speed":51,"hex_longitude":"2d11efc0","hex_latitude":"071f2a98","is_valid_coordinates":true} 
[2026-04-17 10:04: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-04-17 10:04:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758507264001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:04:23] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 10:04:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113215776009224192,"note":"Value kept but may cause issues"} 
[2026-04-17 10:04:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1303792122711162880,"note":"Value kept but may cause issues"} 
[2026-04-17 10:04:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 10:04:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776400427000,"timestamp_ms":1776400427000,"timestamp_seconds":1776400427,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b767f8"} 
[2026-04-17 10:04:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:04:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9472,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:04: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":224,"data_length":795,"current_offset":136} 
[2026-04-17 10:04:23] 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-04-17 10:04: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-04-17 10:04:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:04:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:04:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:04:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:04:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:04:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:04:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:04:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:04:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758507264001,"66":14080,"200":0,"28":31744,"24":51,"16":113215776009224192,"45":1303792122711162880},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-17 10:04:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:04:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:04:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758507264001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:04:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:04:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113215776009224192,"km_value":113215776009224.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:04:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1303792122711162880,"description":"Unknown IO ID 45"} 
[2026-04-17 10:04:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758507264001,"power":14080,"gsm_signal":0,"unknown_28":31744,"ignition":51,"odometer":null,"unknown_45":1303792122711162880}} 
[2026-04-17 10:04:23] local.INFO: DEBUG: GPS processor result {"connection_id":45668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:04:23] local.INFO: GPS data processed {"connection_id":45668,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:04:23] local.INFO: Acknowledgment sent {"connection_id":45668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:04:30] local.INFO: TCP Data received {"connection_id":46501,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:04:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46501,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:04:30] local.INFO: Processing buffer {"connection_id":46501,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:04:30] local.INFO: Packet analysis {"connection_id":46501,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:04:30] local.INFO: Extracted packet for processing {"connection_id":46501,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:04:30] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:04:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758382592001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:04:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:04:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:04:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:04:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776400233000,"timestamp_ms":1776400233000,"timestamp_seconds":1776400233,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b47228"} 
[2026-04-17 10:04:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:04:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:04:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:04:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:04:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:04:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:04:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46501,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:04:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:04:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46501,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10: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-04-17 10:04:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:04:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:04:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758382592001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:04:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:04:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:04:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758382592001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:04:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:04:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:04:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:04:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:04:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758382592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:04:30] local.INFO: DEBUG: GPS processor result {"connection_id":46501,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:04:30] local.INFO: GPS data processed {"connection_id":46501,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:04:30] local.INFO: Acknowledgment sent {"connection_id":46501,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:04:43] local.INFO: TCP Data received {"connection_id":45935,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:04:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:04:43] local.INFO: Processing buffer {"connection_id":45935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:04:43] local.INFO: Packet analysis {"connection_id":45935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:04:43] local.INFO: Extracted packet for processing {"connection_id":45935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:04:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:04:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758423808001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:04:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:04:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:04:43] 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-04-17 10:04:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776400394000,"timestamp_ms":1776400394000,"timestamp_seconds":1776400394,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b6e710"} 
[2026-04-17 10:04:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:04:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 10:04:43] 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-04-17 10: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-04-17 10:04:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:04:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:04:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:04:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:04:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45935,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:04:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:04:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:04:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:04:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758423808001,"66":25278,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:04:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:04:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:04:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758423808001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:04:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:04:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:04:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:04:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758423808001,"power":25278,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:04:43] local.INFO: DEBUG: GPS processor result {"connection_id":45935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20425,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:04:43] local.INFO: GPS data processed {"connection_id":45935,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:04:43] local.INFO: Acknowledgment sent {"connection_id":45935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:04:51] local.INFO: TCP Data received {"connection_id":46502,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:04:51] local.INFO: Processing buffer {"connection_id":46502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:04:51] local.INFO: IMEI packet received {"connection_id":46502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":46502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:04:55] local.INFO: TCP Data received {"connection_id":45668,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b82f30012d112580071f2680003b00d715..."} 
[2026-04-17 10:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b82f30012d112580071f2680003b00d715..."} 
[2026-04-17 10:04:55] local.INFO: Processing buffer {"connection_id":45668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b82f30012d112580071f2680003b00d715..."} 
[2026-04-17 10:04:55] local.INFO: Packet analysis {"connection_id":45668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b8"} 
[2026-04-17 10:04:55] local.INFO: Extracted packet for processing {"connection_id":45668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b8"} 
[2026-04-17 10:04:55] local.INFO: GPS Element Parsed {"raw_longitude":756098432,"raw_latitude":119481984,"longitude_deg":75.6098432,"latitude_deg":11.9481984,"altitude":59,"angle":215,"satellites":21,"speed":36,"hex_longitude":"2d112580","hex_latitude":"071f2680","is_valid_coordinates":true} 
[2026-04-17 10:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758521856001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:04:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 10:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113218443183915008,"note":"Value kept but may cause issues"} 
[2026-04-17 10:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1236871446998536192,"note":"Value kept but may cause issues"} 
[2026-04-17 10:04:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 10:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776400478000,"timestamp_ms":1776400478000,"timestamp_seconds":1776400478,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b82f30"} 
[2026-04-17 10:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 10:04: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-04-17 10:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758521856001,"66":13972,"200":0,"28":31744,"24":36,"16":113218443183915008,"45":1236871446998536192},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-17 10:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758521856001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:04:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113218443183915008,"km_value":113218443183915.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1236871446998536192,"description":"Unknown IO ID 45"} 
[2026-04-17 10:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758521856001,"power":13972,"gsm_signal":0,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1236871446998536192}} 
[2026-04-17 10:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":45668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:04:55] local.INFO: GPS data processed {"connection_id":45668,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:04:55] local.INFO: Acknowledgment sent {"connection_id":45668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:04:56] local.INFO: TCP Data received {"connection_id":46502,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46502,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:04:56] local.INFO: Processing buffer {"connection_id":46502,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:04:56] local.INFO: IMEI packet received {"connection_id":46502,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":46502,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:04:57] local.INFO: TCP Data received {"connection_id":46502,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:04:57] local.INFO: Processing buffer {"connection_id":46502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:04:57] local.INFO: Packet analysis {"connection_id":46502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:04:57] local.INFO: Extracted packet for processing {"connection_id":46502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:04:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758382592001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776400233000,"timestamp_ms":1776400233000,"timestamp_seconds":1776400233,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b47228"} 
[2026-04-17 10:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758382592001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758382592001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:04:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:04:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758382592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":46502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:04:57] local.INFO: GPS data processed {"connection_id":46502,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:04:57] local.INFO: Acknowledgment sent {"connection_id":46502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:05:05] local.INFO: TCP Data received {"connection_id":45669,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:05:05] local.INFO: Processing buffer {"connection_id":45669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:05:05] local.INFO: IMEI packet received {"connection_id":45669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":45669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:05:14] local.INFO: TCP Data received {"connection_id":45669,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45669,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:05:14] local.INFO: Processing buffer {"connection_id":45669,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:05:14] local.INFO: IMEI packet received {"connection_id":45669,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":45669,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:05:17] local.INFO: TCP Data received {"connection_id":45936,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:05:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:05:17] local.INFO: Processing buffer {"connection_id":45936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:05:17] local.INFO: IMEI packet received {"connection_id":45936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:05:17] local.INFO: IMEI acknowledgment sent {"connection_id":45936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:05:18] local.INFO: TCP Data received {"connection_id":45669,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:05:18] local.INFO: Processing buffer {"connection_id":45669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:05:18] local.INFO: Packet analysis {"connection_id":45669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:05:18] local.INFO: Extracted packet for processing {"connection_id":45669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:05:18] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758423808001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:05:18] 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-04-17 10:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776400394000,"timestamp_ms":1776400394000,"timestamp_seconds":1776400394,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b6e710"} 
[2026-04-17 10:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 10:05:18] 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-04-17 10:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758423808001,"66":25278,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758423808001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:05:18] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758423808001,"power":25278,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":45669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20428,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:05:18] local.INFO: GPS data processed {"connection_id":45669,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:05:18] local.INFO: Acknowledgment sent {"connection_id":45669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:05:23] local.INFO: TCP Data received {"connection_id":45936,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:05:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:05:23] local.INFO: Processing buffer {"connection_id":45936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:05:23] local.INFO: IMEI packet received {"connection_id":45936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:05:23] local.INFO: IMEI acknowledgment sent {"connection_id":45936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:05:24] local.INFO: TCP Data received {"connection_id":45936,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b83700012d112200071f20f0003a00ca15..."} 
[2026-04-17 10:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b83700012d112200071f20f0003a00ca15..."} 
[2026-04-17 10:05:24] local.INFO: Processing buffer {"connection_id":45936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b83700012d112200071f20f0003a00ca15..."} 
[2026-04-17 10:05:24] local.INFO: Packet analysis {"connection_id":45936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b8"} 
[2026-04-17 10:05:24] local.INFO: Extracted packet for processing {"connection_id":45936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b8"} 
[2026-04-17 10:05:24] local.INFO: GPS Element Parsed {"raw_longitude":756097536,"raw_latitude":119480560,"longitude_deg":75.6097536,"latitude_deg":11.948056,"altitude":58,"angle":202,"satellites":21,"speed":29,"hex_longitude":"2d112200","hex_latitude":"071f20f0","is_valid_coordinates":true} 
[2026-04-17 10:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:05:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758522368001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:05:24] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 10:05:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113218520493326336,"note":"Value kept but may cause issues"} 
[2026-04-17 10:05:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1235534440858812416,"note":"Value kept but may cause issues"} 
[2026-04-17 10:05:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 10:05:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776400480000,"timestamp_ms":1776400480000,"timestamp_seconds":1776400480,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b83700"} 
[2026-04-17 10:05:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:05: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-04-17 10:05:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-17 10:05:24] 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-04-17 10:05:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:05:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:05:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:05:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:05:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:05:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:05:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:05:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:05:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:05:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758522368001,"66":13863,"200":0,"28":31744,"24":29,"16":113218520493326336,"45":1235534440858812416},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-17 10:05:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:05:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:05:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758522368001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:05:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:05:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113218520493326336,"km_value":113218520493326.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:05:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1235534440858812416,"description":"Unknown IO ID 45"} 
[2026-04-17 10:05:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758522368001,"power":13863,"gsm_signal":0,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1235534440858812416}} 
[2026-04-17 10:05:24] local.INFO: DEBUG: GPS processor result {"connection_id":45936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:05:24] local.INFO: GPS data processed {"connection_id":45936,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:05:24] local.INFO: Acknowledgment sent {"connection_id":45936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:05:27] local.INFO: TCP Data received {"connection_id":46502,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46502,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:05:27] local.INFO: Processing buffer {"connection_id":46502,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:05:27] local.INFO: Packet analysis {"connection_id":46502,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:05:27] local.INFO: Extracted packet for processing {"connection_id":46502,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758382592001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776400233000,"timestamp_ms":1776400233000,"timestamp_seconds":1776400233,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b47228"} 
[2026-04-17 10:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46502,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46502,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758382592001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758382592001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:05:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758382592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":46502,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:05:27] local.INFO: GPS data processed {"connection_id":46502,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:05:27] local.INFO: Acknowledgment sent {"connection_id":46502,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:05:49] local.INFO: TCP Data received {"connection_id":45669,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:05:49] local.INFO: Processing buffer {"connection_id":45669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:05:49] local.INFO: Packet analysis {"connection_id":45669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:05:49] local.INFO: Extracted packet for processing {"connection_id":45669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758423808001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:05:49] 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-04-17 10:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776400394000,"timestamp_ms":1776400394000,"timestamp_seconds":1776400394,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b6e710"} 
[2026-04-17 10:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 10:05: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-04-17 10:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45669,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758423808001,"66":25278,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758423808001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:05:49] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758423808001,"power":25278,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":45669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20431,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:05:49] local.INFO: GPS data processed {"connection_id":45669,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:05:49] local.INFO: Acknowledgment sent {"connection_id":45669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:05:51] local.INFO: TCP Data received {"connection_id":46503,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:05:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:05:51] local.INFO: Processing buffer {"connection_id":46503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:05:51] local.INFO: IMEI packet received {"connection_id":46503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:05:51] local.INFO: IMEI acknowledgment sent {"connection_id":46503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:05:56] local.INFO: TCP Data received {"connection_id":46503,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46503,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:05:56] local.INFO: Processing buffer {"connection_id":46503,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:05:56] local.INFO: IMEI packet received {"connection_id":46503,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":46503,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:05:57] local.INFO: TCP Data received {"connection_id":46503,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:05:57] local.INFO: Processing buffer {"connection_id":46503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b47228012d7fad4005afe3500000009428..."} 
[2026-04-17 10:05:57] local.INFO: Packet analysis {"connection_id":46503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:05:57] local.INFO: Extracted packet for processing {"connection_id":46503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b4"} 
[2026-04-17 10:05:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758382592001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776400233000,"timestamp_ms":1776400233000,"timestamp_seconds":1776400233,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b47228"} 
[2026-04-17 10:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758382592001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758382592001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:05:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:05:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758382592001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":46503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:05:57] local.INFO: GPS data processed {"connection_id":46503,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:05:57] local.INFO: Acknowledgment sent {"connection_id":46503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:06:00] local.INFO: TCP Data received {"connection_id":45936,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b861f8012d111780071effb8003800c315..."} 
[2026-04-17 10:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45936,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b861f8012d111780071effb8003800c315..."} 
[2026-04-17 10:06:00] local.INFO: Processing buffer {"connection_id":45936,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b861f8012d111780071effb8003800c315..."} 
[2026-04-17 10:06:00] local.INFO: Packet analysis {"connection_id":45936,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b8"} 
[2026-04-17 10:06:00] local.INFO: Extracted packet for processing {"connection_id":45936,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b8"} 
[2026-04-17 10:06:00] local.INFO: GPS Element Parsed {"raw_longitude":756094848,"raw_latitude":119472056,"longitude_deg":75.6094848,"latitude_deg":11.9472056,"altitude":56,"angle":195,"satellites":21,"speed":39,"hex_longitude":"2d111780","hex_latitude":"071effb8","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758522880001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:06:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 10:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113218954285023232,"note":"Value kept but may cause issues"} 
[2026-04-17 10:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1234549278439960576,"note":"Value kept but may cause issues"} 
[2026-04-17 10:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 10:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776400491000,"timestamp_ms":1776400491000,"timestamp_seconds":1776400491,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b861f8"} 
[2026-04-17 10:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:06:00] 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-04-17 10: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":39,"data_length":795,"current_offset":136} 
[2026-04-17 10:06:00] 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-04-17 10: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-04-17 10:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45936,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45936,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758522880001,"66":14265,"200":0,"28":31744,"24":39,"16":113218954285023232,"45":1234549278439960576},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-17 10:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758522880001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:06:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113218954285023232,"km_value":113218954285023.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1234549278439960576,"description":"Unknown IO ID 45"} 
[2026-04-17 10:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758522880001,"power":14265,"gsm_signal":0,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1234549278439960576}} 
[2026-04-17 10:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":45936,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:06:00] local.INFO: GPS data processed {"connection_id":45936,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:06:00] local.INFO: Acknowledgment sent {"connection_id":45936,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:06:05] local.INFO: TCP Data received {"connection_id":45670,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:06:05] local.INFO: Processing buffer {"connection_id":45670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:06:05] local.INFO: IMEI packet received {"connection_id":45670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":45670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:06:10] local.INFO: TCP Data received {"connection_id":45670,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:06:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45670,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:06:10] local.INFO: Processing buffer {"connection_id":45670,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:06:10] local.INFO: IMEI packet received {"connection_id":45670,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:06:10] local.INFO: IMEI acknowledgment sent {"connection_id":45670,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:06:11] local.INFO: TCP Data received {"connection_id":45670,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:06:11] local.INFO: Processing buffer {"connection_id":45670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:06:11] local.INFO: Packet analysis {"connection_id":45670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:06:11] local.INFO: Extracted packet for processing {"connection_id":45670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:06:11] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758423808001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:06:11] 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-04-17 10:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776400394000,"timestamp_ms":1776400394000,"timestamp_seconds":1776400394,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b6e710"} 
[2026-04-17 10:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:06:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 10:06: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-04-17 10:06:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:06:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758423808001,"66":25278,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:06:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:06:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:06:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758423808001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:06:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:06:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:06:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:06:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758423808001,"power":25278,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":45670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20434,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:06:11] local.INFO: GPS data processed {"connection_id":45670,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:06:11] local.INFO: Acknowledgment sent {"connection_id":45670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:06:17] local.INFO: TCP Data received {"connection_id":45746,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:06:17] local.INFO: Processing buffer {"connection_id":45746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:06:17] local.INFO: IMEI packet received {"connection_id":45746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":45746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:06:19] local.INFO: TCP Data received {"connection_id":45746,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:06:19] local.INFO: Processing buffer {"connection_id":45746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:06:19] local.INFO: IMEI packet received {"connection_id":45746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":45746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:06:20] local.INFO: TCP Data received {"connection_id":45746,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:06:20] local.INFO: Processing buffer {"connection_id":45746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:06:20] local.INFO: IMEI packet received {"connection_id":45746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":45746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:06:22] local.INFO: TCP Data received {"connection_id":45746,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45746,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:06:22] local.INFO: Processing buffer {"connection_id":45746,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:06:22] local.INFO: IMEI packet received {"connection_id":45746,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":45746,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:06:28] local.INFO: TCP Data received {"connection_id":46503,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46503,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:06:28] local.INFO: Processing buffer {"connection_id":46503,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:06:28] local.INFO: Packet analysis {"connection_id":46503,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:06:28] local.INFO: Extracted packet for processing {"connection_id":46503,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:06:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":4,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758459648001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776400534000,"timestamp_ms":1776400534000,"timestamp_seconds":1776400534,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b909f0"} 
[2026-04-17 10:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46503,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46503,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758459648001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758459648001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:06:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:06:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758459648001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":46503,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:06:28] local.INFO: GPS data processed {"connection_id":46503,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:06:28] local.INFO: Acknowledgment sent {"connection_id":46503,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:06:43] local.INFO: TCP Data received {"connection_id":45670,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:06:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:06:43] local.INFO: Processing buffer {"connection_id":45670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:06:43] local.INFO: Packet analysis {"connection_id":45670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:06:43] local.INFO: Extracted packet for processing {"connection_id":45670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:06:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:06:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758423808001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:06:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:06:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:06:43] 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-04-17 10:06:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776400394000,"timestamp_ms":1776400394000,"timestamp_seconds":1776400394,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b6e710"} 
[2026-04-17 10:06:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:06:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":129,"data_length":795,"current_offset":136} 
[2026-04-17 10:06:43] 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-04-17 10: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-04-17 10:06:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:06:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:06:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:06:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:06:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45670,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:06:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:06:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:06:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:06:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758423808001,"66":25278,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:06:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:06:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:06:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758423808001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:06:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:06:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:06:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:06:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758423808001,"power":25278,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:06:43] local.INFO: DEBUG: GPS processor result {"connection_id":45670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20436,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:06:43] local.INFO: GPS data processed {"connection_id":45670,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:06:43] local.INFO: Acknowledgment sent {"connection_id":45670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:06:51] local.INFO: TCP Data received {"connection_id":45937,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:06:51] local.INFO: Processing buffer {"connection_id":45937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:06:51] local.INFO: IMEI packet received {"connection_id":45937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":45937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:06:56] local.INFO: TCP Data received {"connection_id":45937,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45937,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:06:56] local.INFO: Processing buffer {"connection_id":45937,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:06:56] local.INFO: IMEI packet received {"connection_id":45937,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":45937,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:06:57] local.INFO: TCP Data received {"connection_id":45937,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:06:57] local.INFO: Processing buffer {"connection_id":45937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:06:57] local.INFO: Packet analysis {"connection_id":45937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:06:57] local.INFO: Extracted packet for processing {"connection_id":45937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:06:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":4,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758459648001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776400534000,"timestamp_ms":1776400534000,"timestamp_seconds":1776400534,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b909f0"} 
[2026-04-17 10:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758459648001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758459648001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:06:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:06:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758459648001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":45937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20437,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:06:57] local.INFO: GPS data processed {"connection_id":45937,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:06:57] local.INFO: Acknowledgment sent {"connection_id":45937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:07:05] local.INFO: TCP Data received {"connection_id":45747,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:07:05] local.INFO: Processing buffer {"connection_id":45747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:07:05] local.INFO: IMEI packet received {"connection_id":45747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":45747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:07:10] local.INFO: TCP Data received {"connection_id":45747,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45747,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:07:10] local.INFO: Processing buffer {"connection_id":45747,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:07:10] local.INFO: IMEI packet received {"connection_id":45747,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":45747,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:07:11] local.INFO: TCP Data received {"connection_id":45747,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:07:11] local.INFO: Processing buffer {"connection_id":45747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:07:11] local.INFO: Packet analysis {"connection_id":45747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:07:11] local.INFO: Extracted packet for processing {"connection_id":45747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:07:11] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758423808001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:07:11] 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-04-17 10:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776400394000,"timestamp_ms":1776400394000,"timestamp_seconds":1776400394,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b6e710"} 
[2026-04-17 10:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:07:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 10:07: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-04-17 10:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758423808001,"66":25278,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758423808001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:07:11] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758423808001,"power":25278,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:07:11] local.INFO: DEBUG: GPS processor result {"connection_id":45747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20438,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:07:11] local.INFO: GPS data processed {"connection_id":45747,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:07:11] local.INFO: Acknowledgment sent {"connection_id":45747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:07:29] local.INFO: TCP Data received {"connection_id":45937,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:07:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45937,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:07:29] local.INFO: Processing buffer {"connection_id":45937,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:07:29] local.INFO: Packet analysis {"connection_id":45937,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:07:29] local.INFO: Extracted packet for processing {"connection_id":45937,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:07:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":4,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:07:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758459648001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:07:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:07:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:07:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:07:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776400534000,"timestamp_ms":1776400534000,"timestamp_seconds":1776400534,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b909f0"} 
[2026-04-17 10:07:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:07:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:07:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:07:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:07:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:07:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45937,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:07:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:07:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45937,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:07:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:07:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:07:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:07:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758459648001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:07:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:07:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:07:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758459648001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:07:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:07:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:07:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:07:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:07:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758459648001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:07:29] local.INFO: DEBUG: GPS processor result {"connection_id":45937,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:07:29] local.INFO: GPS data processed {"connection_id":45937,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:07:29] local.INFO: Acknowledgment sent {"connection_id":45937,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:07:43] local.INFO: TCP Data received {"connection_id":45747,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:07:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:07:43] local.INFO: Processing buffer {"connection_id":45747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:07:43] local.INFO: Packet analysis {"connection_id":45747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:07:43] local.INFO: Extracted packet for processing {"connection_id":45747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:07:43] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:07:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758423808001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:07:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:07:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:07:43] 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-04-17 10:07:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776400394000,"timestamp_ms":1776400394000,"timestamp_seconds":1776400394,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b6e710"} 
[2026-04-17 10:07:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:07:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 10:07:43] 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-04-17 10: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-04-17 10:07:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:07:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:07:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:07:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:07:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45747,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:07:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:07:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:07:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:07:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758423808001,"66":25278,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:07:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:07:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:07:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758423808001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:07:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:07:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:07:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:07:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758423808001,"power":25278,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:07:43] local.INFO: DEBUG: GPS processor result {"connection_id":45747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20440,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:07:43] local.INFO: GPS data processed {"connection_id":45747,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:07:43] local.INFO: Acknowledgment sent {"connection_id":45747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:07:51] local.INFO: TCP Data received {"connection_id":45748,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:07:51] local.INFO: Processing buffer {"connection_id":45748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:07:51] local.INFO: IMEI packet received {"connection_id":45748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":45748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:07:56] local.INFO: TCP Data received {"connection_id":45748,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45748,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:07:56] local.INFO: Processing buffer {"connection_id":45748,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:07:56] local.INFO: IMEI packet received {"connection_id":45748,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":45748,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:07:57] local.INFO: TCP Data received {"connection_id":45748,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:07:57] local.INFO: Processing buffer {"connection_id":45748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:07:57] local.INFO: Packet analysis {"connection_id":45748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:07:57] local.INFO: Extracted packet for processing {"connection_id":45748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:07:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":4,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758459648001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776400534000,"timestamp_ms":1776400534000,"timestamp_seconds":1776400534,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b909f0"} 
[2026-04-17 10:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758459648001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758459648001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:07:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758459648001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":45748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20441,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:07:57] local.INFO: GPS data processed {"connection_id":45748,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:07:57] local.INFO: Acknowledgment sent {"connection_id":45748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:08:11] local.INFO: TCP Data received {"connection_id":45749,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:08:11] local.INFO: Processing buffer {"connection_id":45749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:08:11] local.INFO: IMEI packet received {"connection_id":45749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:08:11] local.INFO: IMEI acknowledgment sent {"connection_id":45749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:08:15] local.INFO: TCP Data received {"connection_id":45749,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:08:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45749,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:08:15] local.INFO: Processing buffer {"connection_id":45749,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:08:15] local.INFO: IMEI packet received {"connection_id":45749,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:08:15] local.INFO: IMEI acknowledgment sent {"connection_id":45749,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:08:16] local.INFO: TCP Data received {"connection_id":45749,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:08:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:08:16] local.INFO: Processing buffer {"connection_id":45749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:08:16] local.INFO: Packet analysis {"connection_id":45749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:08:16] local.INFO: Extracted packet for processing {"connection_id":45749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:08:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10:08: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-04-17 10:08:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758423808001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:08:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:08:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:08:16] 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-04-17 10:08:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776400394000,"timestamp_ms":1776400394000,"timestamp_seconds":1776400394,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b6e710"} 
[2026-04-17 10:08:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:08:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:08: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":129,"data_length":795,"current_offset":136} 
[2026-04-17 10:08:16] 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-04-17 10:08: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-04-17 10:08:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:08:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:08:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:08:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:08:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:08:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:08:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:08:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:08:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758423808001,"66":25278,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:08:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:08:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:08:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758423808001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:08:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:08:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:08:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:08:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758423808001,"power":25278,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:08:16] local.INFO: DEBUG: GPS processor result {"connection_id":45749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20442,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:08:16] local.INFO: GPS data processed {"connection_id":45749,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:08:16] local.INFO: Acknowledgment sent {"connection_id":45749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:08:22] local.INFO: TCP Data received {"connection_id":45749,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:08:22] local.INFO: Processing buffer {"connection_id":45749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b6e710012d1b598006d4d5980011013831..."} 
[2026-04-17 10:08:22] local.INFO: Packet analysis {"connection_id":45749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:08:22] local.INFO: Extracted packet for processing {"connection_id":45749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b6"} 
[2026-04-17 10:08:22] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:08:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758423808001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:08:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:08:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:08:22] 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-04-17 10:08:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776400394000,"timestamp_ms":1776400394000,"timestamp_seconds":1776400394,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b6e710"} 
[2026-04-17 10:08:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:08:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 10:08:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:08:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:08:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:08:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:08:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:08:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45749,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:08:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:08:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:08:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:08:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758423808001,"66":25278,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:08:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:08:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:08:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758423808001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:08:22] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:08:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:08:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:08:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758423808001,"power":25278,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:08:22] local.INFO: DEBUG: GPS processor result {"connection_id":45749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20443,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:08:22] local.INFO: GPS data processed {"connection_id":45749,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:08:22] local.INFO: Acknowledgment sent {"connection_id":45749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:08:28] local.INFO: TCP Data received {"connection_id":45748,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:08:28] local.INFO: Processing buffer {"connection_id":45748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:08:28] local.INFO: Packet analysis {"connection_id":45748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:08:28] local.INFO: Extracted packet for processing {"connection_id":45748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:08:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":4,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758459648001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776400534000,"timestamp_ms":1776400534000,"timestamp_seconds":1776400534,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b909f0"} 
[2026-04-17 10:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:08:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45748,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758459648001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758459648001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:08:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:08:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758459648001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":45748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:08:28] local.INFO: GPS data processed {"connection_id":45748,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:08:28] local.INFO: Acknowledgment sent {"connection_id":45748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:08:56] local.INFO: TCP Data received {"connection_id":45939,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:08:56] local.INFO: Processing buffer {"connection_id":45939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:08:56] local.INFO: IMEI packet received {"connection_id":45939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":45939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:09:01] local.INFO: TCP Data received {"connection_id":45939,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:09:01] local.INFO: Processing buffer {"connection_id":45939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:09:01] local.INFO: IMEI packet received {"connection_id":45939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":45939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:09:03] local.INFO: TCP Data received {"connection_id":45939,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:09:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:09:03] local.INFO: Processing buffer {"connection_id":45939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:09:03] local.INFO: Packet analysis {"connection_id":45939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:09:03] local.INFO: Extracted packet for processing {"connection_id":45939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:09:03] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":4,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:09:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758459648001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:09:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:09:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:09:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:09:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776400534000,"timestamp_ms":1776400534000,"timestamp_seconds":1776400534,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b909f0"} 
[2026-04-17 10:09:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:09:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:09:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:09:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:09:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:09:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:09:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:09:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:09:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:09:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:09:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:09:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:09:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:09:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758459648001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:09:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:09:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:09:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758459648001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:09:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:09:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:09:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:09:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:09:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758459648001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:09:03] local.INFO: DEBUG: GPS processor result {"connection_id":45939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:09:03] local.INFO: GPS data processed {"connection_id":45939,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:09:03] local.INFO: Acknowledgment sent {"connection_id":45939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:09:05] local.INFO: TCP Data received {"connection_id":45750,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:09:05] local.INFO: Processing buffer {"connection_id":45750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:09:05] local.INFO: IMEI packet received {"connection_id":45750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":45750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:09:06] local.INFO: TCP Data received {"connection_id":45939,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:09:06] local.INFO: Processing buffer {"connection_id":45939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:09:06] local.INFO: Packet analysis {"connection_id":45939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:09:06] local.INFO: Extracted packet for processing {"connection_id":45939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":4,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758459648001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776400534000,"timestamp_ms":1776400534000,"timestamp_seconds":1776400534,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b909f0"} 
[2026-04-17 10:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:09:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758459648001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758459648001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:09:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758459648001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":45939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:09:06] local.INFO: GPS data processed {"connection_id":45939,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:09:06] local.INFO: Acknowledgment sent {"connection_id":45939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:09:10] local.INFO: TCP Data received {"connection_id":45750,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:09:10] local.INFO: Processing buffer {"connection_id":45750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:09:10] local.INFO: IMEI packet received {"connection_id":45750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":45750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:09:12] local.INFO: TCP Data received {"connection_id":45750,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:09:12] local.INFO: Processing buffer {"connection_id":45750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:09:12] local.INFO: Packet analysis {"connection_id":45750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:09:12] local.INFO: Extracted packet for processing {"connection_id":45750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:09:12] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758500864001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:09:12] 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-04-17 10:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776400695000,"timestamp_ms":1776400695000,"timestamp_seconds":1776400695,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bb7ed8"} 
[2026-04-17 10:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:09: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-04-17 10:09:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-04-17 10:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:09:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758500864001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758500864001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:09:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758500864001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":45750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20447,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:09:12] local.INFO: GPS data processed {"connection_id":45750,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:09:12] local.INFO: Acknowledgment sent {"connection_id":45750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:09:47] local.INFO: TCP Data received {"connection_id":45750,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:09:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:09:47] local.INFO: Processing buffer {"connection_id":45750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:09:47] local.INFO: Packet analysis {"connection_id":45750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:09:47] local.INFO: Extracted packet for processing {"connection_id":45750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:09:47] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:09:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758500864001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:09:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:09:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:09:47] 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-04-17 10:09:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776400695000,"timestamp_ms":1776400695000,"timestamp_seconds":1776400695,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bb7ed8"} 
[2026-04-17 10:09:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:09:47] 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-04-17 10: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-04-17 10:09:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:09:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:09:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:09:47] local.INFO: Teltonika packet parsed successfully {"connection_id":45750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:09:47] local.INFO: Passing IMEI to GPS processor {"connection_id":45750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:09:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":45750,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:09:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:09:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:09:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:09:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758500864001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:09:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:09:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:09:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758500864001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:09:47] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:09:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:09:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:09:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758500864001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:09:47] local.INFO: DEBUG: GPS processor result {"connection_id":45750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20448,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:09:47] local.INFO: GPS data processed {"connection_id":45750,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:09:47] local.INFO: Acknowledgment sent {"connection_id":45750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:09:51] local.INFO: TCP Data received {"connection_id":45941,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:09:51] local.INFO: Processing buffer {"connection_id":45941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:09:51] local.INFO: IMEI packet received {"connection_id":45941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":45941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:09:56] local.INFO: TCP Data received {"connection_id":45941,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:09:56] local.INFO: Processing buffer {"connection_id":45941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:09:56] local.INFO: IMEI packet received {"connection_id":45941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":45941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:09:57] local.INFO: TCP Data received {"connection_id":45941,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:09:57] local.INFO: Processing buffer {"connection_id":45941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:09:57] local.INFO: Packet analysis {"connection_id":45941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:09:57] local.INFO: Extracted packet for processing {"connection_id":45941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":4,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758459648001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776400534000,"timestamp_ms":1776400534000,"timestamp_seconds":1776400534,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b909f0"} 
[2026-04-17 10:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758459648001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758459648001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:09:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:09:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758459648001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":45941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:09:57] local.INFO: GPS data processed {"connection_id":45941,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:09:57] local.INFO: Acknowledgment sent {"connection_id":45941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:10:05] local.INFO: TCP Data received {"connection_id":46505,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:10:05] local.INFO: Processing buffer {"connection_id":46505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:10:05] local.INFO: IMEI packet received {"connection_id":46505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":46505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:10:10] local.INFO: TCP Data received {"connection_id":46505,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46505,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:10:10] local.INFO: Processing buffer {"connection_id":46505,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:10:10] local.INFO: IMEI packet received {"connection_id":46505,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":46505,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:10:11] local.INFO: TCP Data received {"connection_id":46505,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:10:11] local.INFO: Processing buffer {"connection_id":46505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:10:11] local.INFO: Packet analysis {"connection_id":46505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:10:11] local.INFO: Extracted packet for processing {"connection_id":46505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:10:11] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758500864001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:10:11] 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-04-17 10:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776400695000,"timestamp_ms":1776400695000,"timestamp_seconds":1776400695,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bb7ed8"} 
[2026-04-17 10:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:10:11] 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-04-17 10:10:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-04-17 10:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758500864001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758500864001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:10:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758500864001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":46505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20450,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:10:12] local.INFO: GPS data processed {"connection_id":46505,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:10:12] local.INFO: Acknowledgment sent {"connection_id":46505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:10:28] local.INFO: TCP Data received {"connection_id":45941,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:10:28] local.INFO: Processing buffer {"connection_id":45941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:10:28] local.INFO: Packet analysis {"connection_id":45941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:10:28] local.INFO: Extracted packet for processing {"connection_id":45941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":4,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758459648001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776400534000,"timestamp_ms":1776400534000,"timestamp_seconds":1776400534,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b909f0"} 
[2026-04-17 10:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758459648001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758459648001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:10:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758459648001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":45941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:10:28] local.INFO: GPS data processed {"connection_id":45941,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:10:28] local.INFO: Acknowledgment sent {"connection_id":45941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:10:51] local.INFO: TCP Data received {"connection_id":45751,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:10:51] local.INFO: Processing buffer {"connection_id":45751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:10:51] local.INFO: IMEI packet received {"connection_id":45751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":45751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:10:54] local.INFO: TCP Data received {"connection_id":46505,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:10:54] local.INFO: Processing buffer {"connection_id":46505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:10:54] local.INFO: Packet analysis {"connection_id":46505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:10:54] local.INFO: Extracted packet for processing {"connection_id":46505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:10:54] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:10:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758500864001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:10:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:10:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:10:54] 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-04-17 10:10:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776400695000,"timestamp_ms":1776400695000,"timestamp_seconds":1776400695,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bb7ed8"} 
[2026-04-17 10:10:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:10:54] 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-04-17 10:10:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-04-17 10:10:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:10:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:10:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:10:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:10:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:10:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:10:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46505,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:10:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:10:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:10:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:10:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758500864001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:10:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:10:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:10:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758500864001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:10:54] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:10:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:10:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:10:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758500864001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:10:54] local.INFO: DEBUG: GPS processor result {"connection_id":46505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20452,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:10:54] local.INFO: GPS data processed {"connection_id":46505,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:10:54] local.INFO: Acknowledgment sent {"connection_id":46505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:10:56] local.INFO: TCP Data received {"connection_id":45751,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:10:56] local.INFO: Processing buffer {"connection_id":45751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:10:56] local.INFO: IMEI packet received {"connection_id":45751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":45751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:10:57] local.INFO: TCP Data received {"connection_id":45751,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:10:57] local.INFO: Processing buffer {"connection_id":45751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99b909f0012d7fad4005afe3500004009428..."} 
[2026-04-17 10:10:57] local.INFO: Packet analysis {"connection_id":45751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:10:57] local.INFO: Extracted packet for processing {"connection_id":45751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99b9"} 
[2026-04-17 10:10:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":4,"angle":148,"satellites":40,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758459648001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776400534000,"timestamp_ms":1776400534000,"timestamp_seconds":1776400534,"priority":1,"record_length":96,"hex_timestamp":"0000019d99b909f0"} 
[2026-04-17 10:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:10:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758459648001,"66":25321,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758459648001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:10:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:10:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758459648001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":45751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:10:57] local.INFO: GPS data processed {"connection_id":45751,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:10:57] local.INFO: Acknowledgment sent {"connection_id":45751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:11:10] local.INFO: TCP Data received {"connection_id":46506,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:11:10] local.INFO: Processing buffer {"connection_id":46506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:11:10] local.INFO: IMEI packet received {"connection_id":46506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":46506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:11:15] local.INFO: TCP Data received {"connection_id":46506,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46506,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:11:15] local.INFO: Processing buffer {"connection_id":46506,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:11:15] local.INFO: IMEI packet received {"connection_id":46506,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":46506,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:11:16] local.INFO: TCP Data received {"connection_id":46506,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:11:16] local.INFO: Processing buffer {"connection_id":46506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:11:16] local.INFO: Packet analysis {"connection_id":46506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:11:16] local.INFO: Extracted packet for processing {"connection_id":46506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:11:16] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:11:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758500864001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:11:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:11:16] 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-04-17 10:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776400695000,"timestamp_ms":1776400695000,"timestamp_seconds":1776400695,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bb7ed8"} 
[2026-04-17 10:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:11:16] 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-04-17 10:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-04-17 10:11:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758500864001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758500864001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:11:16] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:11:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:11:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758500864001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":46506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20454,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:11:16] local.INFO: GPS data processed {"connection_id":46506,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:11:16] local.INFO: Acknowledgment sent {"connection_id":46506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:11:22] local.INFO: TCP Data received {"connection_id":45943,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:11:22] local.INFO: Processing buffer {"connection_id":45943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:11:22] local.INFO: IMEI packet received {"connection_id":45943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":45943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:11:23] local.INFO: TCP Data received {"connection_id":45943,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bc6550012d0d7b00071d1220002900ea16..."} 
[2026-04-17 10:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bc6550012d0d7b00071d1220002900ea16..."} 
[2026-04-17 10:11:23] local.INFO: Processing buffer {"connection_id":45943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bc6550012d0d7b00071d1220002900ea16..."} 
[2026-04-17 10:11:23] local.INFO: Packet analysis {"connection_id":45943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bc"} 
[2026-04-17 10:11:23] local.INFO: Extracted packet for processing {"connection_id":45943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bc"} 
[2026-04-17 10:11:23] local.INFO: GPS Element Parsed {"raw_longitude":755858176,"raw_latitude":119345696,"longitude_deg":75.5858176,"latitude_deg":11.9345696,"altitude":41,"angle":234,"satellites":22,"speed":47,"hex_longitude":"2d0d7b00","hex_latitude":"071d1220","is_valid_coordinates":true} 
[2026-04-17 10:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:11:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758590976001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:11:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":979462580762943488,"note":"Value kept but may cause issues"} 
[2026-04-17 10:11:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113233119087165440,"note":"Value kept but may cause issues"} 
[2026-04-17 10:11:23] 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-04-17 10:11:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776400754000,"timestamp_ms":1776400754000,"timestamp_seconds":1776400754,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bc6550"} 
[2026-04-17 10:11:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:11:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11264,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:11:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":214,"data_length":795,"current_offset":136} 
[2026-04-17 10:11:23] 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-04-17 10:11:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:11:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:11:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:11:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:11:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:11:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:11:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:11:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:11:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:11:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758590976001,"66":14070,"45":979462580762943488,"28":31744,"24":47,"16":113233119087165440},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,28,24,16]} 
[2026-04-17 10:11:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:11:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:11:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758590976001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:11:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":979462580762943488,"description":"Unknown IO ID 45"} 
[2026-04-17 10:11:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:11:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113233119087165440,"km_value":113233119087165.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:11:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454758590976001,"power":14070,"unknown_45":979462580762943488,"unknown_28":31744,"ignition":47,"odometer":null}} 
[2026-04-17 10:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":45943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:11:23] local.INFO: GPS data processed {"connection_id":45943,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:11:23] local.INFO: Acknowledgment sent {"connection_id":45943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:11:25] local.INFO: TCP Data received {"connection_id":46506,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46506,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:11:25] local.INFO: Processing buffer {"connection_id":46506,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:11:25] local.INFO: Packet analysis {"connection_id":46506,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:11:25] local.INFO: Extracted packet for processing {"connection_id":46506,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:11:25] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758500864001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:11:25] 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-04-17 10:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776400695000,"timestamp_ms":1776400695000,"timestamp_seconds":1776400695,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bb7ed8"} 
[2026-04-17 10:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:11:25] 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-04-17 10: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-04-17 10:11:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46506,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46506,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758500864001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758500864001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:11:25] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758500864001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":46506,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20456,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:11:25] local.INFO: GPS data processed {"connection_id":46506,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:11:25] local.INFO: Acknowledgment sent {"connection_id":46506,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:11:28] local.INFO: TCP Data received {"connection_id":45751,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:11:28] local.INFO: Processing buffer {"connection_id":45751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:11:28] local.INFO: Packet analysis {"connection_id":45751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:11:28] local.INFO: Extracted packet for processing {"connection_id":45751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":14,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758536704001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776400835000,"timestamp_ms":1776400835000,"timestamp_seconds":1776400835,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bda1b8"} 
[2026-04-17 10:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:11:28] 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-04-17 10:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758536704001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758536704001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:11:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758536704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":45751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20457,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:11:28] local.INFO: GPS data processed {"connection_id":45751,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:11:28] local.INFO: Acknowledgment sent {"connection_id":45751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:11:51] local.INFO: TCP Data received {"connection_id":45671,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:11:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:11:51] local.INFO: Processing buffer {"connection_id":45671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:11:51] local.INFO: IMEI packet received {"connection_id":45671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:11:51] local.INFO: IMEI acknowledgment sent {"connection_id":45671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:11:55] local.INFO: TCP Data received {"connection_id":45943,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bdfb90012d0c1400071cbd900031010f15..."} 
[2026-04-17 10:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bdfb90012d0c1400071cbd900031010f15..."} 
[2026-04-17 10:11:55] local.INFO: Processing buffer {"connection_id":45943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bdfb90012d0c1400071cbd900031010f15..."} 
[2026-04-17 10:11:55] local.INFO: Packet analysis {"connection_id":45943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:11:55] local.INFO: Extracted packet for processing {"connection_id":45943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:11:55] local.INFO: GPS Element Parsed {"raw_longitude":755766272,"raw_latitude":119324048,"longitude_deg":75.5766272,"latitude_deg":11.9324048,"altitude":49,"angle":271,"satellites":21,"speed":30,"hex_longitude":"2d0c1400","hex_latitude":"071cbd90","is_valid_coordinates":true} 
[2026-04-17 10:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:11:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758616576001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:11:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113237834961256448,"note":"Value kept but may cause issues"} 
[2026-04-17 10:11:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":880524126442031104,"note":"Value kept but may cause issues"} 
[2026-04-17 10:11:55] 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-04-17 10:11:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776400858000,"timestamp_ms":1776400858000,"timestamp_seconds":1776400858,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bdfb90"} 
[2026-04-17 10:11:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:11:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:11:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-17 10:11:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:11:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:11:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:11:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:11:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:11:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:11:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:11:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:11:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:11:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:11:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758616576001,"66":13852,"250":206,"28":31744,"24":30,"16":113237834961256448,"45":880524126442031104},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-04-17 10:11:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:11:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:11:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758616576001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:11:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:11:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:11:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113237834961256448,"km_value":113237834961256.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:11:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":880524126442031104,"description":"Unknown IO ID 45"} 
[2026-04-17 10:11:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758616576001,"power":13852,"unknown_250":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":880524126442031104}} 
[2026-04-17 10:11:55] local.INFO: DEBUG: GPS processor result {"connection_id":45943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:11:55] local.INFO: GPS data processed {"connection_id":45943,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:11:55] local.INFO: Acknowledgment sent {"connection_id":45943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:11:56] local.INFO: TCP Data received {"connection_id":45671,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45671,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:11:56] local.INFO: Processing buffer {"connection_id":45671,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:11:56] local.INFO: IMEI packet received {"connection_id":45671,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":45671,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:11:57] local.INFO: TCP Data received {"connection_id":45671,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:11:57] local.INFO: Processing buffer {"connection_id":45671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:11:57] local.INFO: Packet analysis {"connection_id":45671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:11:57] local.INFO: Extracted packet for processing {"connection_id":45671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:11:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":14,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758536704001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776400835000,"timestamp_ms":1776400835000,"timestamp_seconds":1776400835,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bda1b8"} 
[2026-04-17 10:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:11:57] 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-04-17 10:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758536704001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758536704001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:11:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:11:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758536704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":45671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:11:57] local.INFO: GPS data processed {"connection_id":45671,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:11:57] local.INFO: Acknowledgment sent {"connection_id":45671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:12:17] local.INFO: TCP Data received {"connection_id":45752,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:12:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:12:17] local.INFO: Processing buffer {"connection_id":45752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:12:17] local.INFO: IMEI packet received {"connection_id":45752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:12:17] local.INFO: IMEI acknowledgment sent {"connection_id":45752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:12:19] local.INFO: TCP Data received {"connection_id":45752,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:12:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:12:19] local.INFO: Processing buffer {"connection_id":45752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:12:19] local.INFO: IMEI packet received {"connection_id":45752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:12:19] local.INFO: IMEI acknowledgment sent {"connection_id":45752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:12:23] local.INFO: TCP Data received {"connection_id":45672,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:12:23] local.INFO: Processing buffer {"connection_id":45672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:12:23] local.INFO: IMEI packet received {"connection_id":45672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":45672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:12:23] local.INFO: TCP Data received {"connection_id":45752,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:12:23] local.INFO: Processing buffer {"connection_id":45752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:12:23] local.INFO: IMEI packet received {"connection_id":45752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":45752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:12:23] local.INFO: TCP Data received {"connection_id":45672,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:12:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45672,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:12:23] local.INFO: Processing buffer {"connection_id":45672,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:12:23] local.INFO: IMEI packet received {"connection_id":45672,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:12:23] local.INFO: IMEI acknowledgment sent {"connection_id":45672,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:12:24] local.INFO: TCP Data received {"connection_id":45752,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99be1ad0012d0bfc80071cbc180031010416..."} 
[2026-04-17 10:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99be1ad0012d0bfc80071cbc180031010416..."} 
[2026-04-17 10:12:24] local.INFO: Processing buffer {"connection_id":45752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99be1ad0012d0bfc80071cbc180031010416..."} 
[2026-04-17 10:12:24] local.INFO: Packet analysis {"connection_id":45752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99be"} 
[2026-04-17 10:12:24] local.INFO: Extracted packet for processing {"connection_id":45752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99be"} 
[2026-04-17 10:12:24] local.INFO: GPS Element Parsed {"raw_longitude":755760256,"raw_latitude":119323672,"longitude_deg":75.5760256,"latitude_deg":11.9323672,"altitude":49,"angle":260,"satellites":22,"speed":27,"hex_longitude":"2d0bfc80","hex_latitude":"071cbc18","is_valid_coordinates":true} 
[2026-04-17 10:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758619648001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113238122724065280,"note":"Value kept but may cause issues"} 
[2026-04-17 10:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":870320658536304640,"note":"Value kept but may cause issues"} 
[2026-04-17 10:12:24] 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-04-17 10:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776400866000,"timestamp_ms":1776400866000,"timestamp_seconds":1776400866,"priority":1,"record_length":96,"hex_timestamp":"0000019d99be1ad0"} 
[2026-04-17 10:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:12:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-17 10:12:24] 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-04-17 10:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758619648001,"66":13852,"250":206,"28":31744,"24":27,"16":113238122724065280,"45":870320658536304640},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-04-17 10:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758619648001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:12:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:12:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113238122724065280,"km_value":113238122724065.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":870320658536304640,"description":"Unknown IO ID 45"} 
[2026-04-17 10:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758619648001,"power":13852,"unknown_250":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":870320658536304640}} 
[2026-04-17 10:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":45752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:12:25] local.INFO: GPS data processed {"connection_id":45752,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:12:25] local.INFO: Acknowledgment sent {"connection_id":45752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:12:25] local.INFO: TCP Data received {"connection_id":45672,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:12:25] local.INFO: Processing buffer {"connection_id":45672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:12:25] local.INFO: Packet analysis {"connection_id":45672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:12:25] local.INFO: Extracted packet for processing {"connection_id":45672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:12:25] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758500864001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:12:25] 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-04-17 10:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776400695000,"timestamp_ms":1776400695000,"timestamp_seconds":1776400695,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bb7ed8"} 
[2026-04-17 10:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:12:25] 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-04-17 10:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-04-17 10:12:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":45672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":45672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":45672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758500864001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758500864001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:12:25] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758500864001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":45672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20461,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:12:25] local.INFO: GPS data processed {"connection_id":45672,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:12:25] local.INFO: Acknowledgment sent {"connection_id":45672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:12:26] local.INFO: TCP Data received {"connection_id":45672,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:12:26] local.INFO: Processing buffer {"connection_id":45672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:12:26] local.INFO: Packet analysis {"connection_id":45672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:12:26] local.INFO: Extracted packet for processing {"connection_id":45672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:12:26] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758500864001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:12:26] 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-04-17 10:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776400695000,"timestamp_ms":1776400695000,"timestamp_seconds":1776400695,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bb7ed8"} 
[2026-04-17 10:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:12:26] 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-04-17 10:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-04-17 10:12:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45672,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758500864001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758500864001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:12:26] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758500864001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":45672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20462,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:12:26] local.INFO: GPS data processed {"connection_id":45672,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:12:26] local.INFO: Acknowledgment sent {"connection_id":45672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:12:28] local.INFO: TCP Data received {"connection_id":45671,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:12:28] local.INFO: Processing buffer {"connection_id":45671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:12:28] local.INFO: Packet analysis {"connection_id":45671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:12:28] local.INFO: Extracted packet for processing {"connection_id":45671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:12:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":14,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758536704001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776400835000,"timestamp_ms":1776400835000,"timestamp_seconds":1776400835,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bda1b8"} 
[2026-04-17 10:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45671,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758536704001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758536704001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:12:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:12:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758536704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":45671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:12:28] local.INFO: GPS data processed {"connection_id":45671,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:12:28] local.INFO: Acknowledgment sent {"connection_id":45671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:12:56] local.INFO: TCP Data received {"connection_id":46507,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:12:56] local.INFO: Processing buffer {"connection_id":46507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:12:56] local.INFO: IMEI packet received {"connection_id":46507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":46507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:12:57] local.INFO: TCP Data received {"connection_id":45752,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99be49b0012d0be540071cb6a0003400f616..."} 
[2026-04-17 10:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99be49b0012d0be540071cb6a0003400f616..."} 
[2026-04-17 10:12:57] local.INFO: Processing buffer {"connection_id":45752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99be49b0012d0be540071cb6a0003400f616..."} 
[2026-04-17 10:12:57] local.INFO: Packet analysis {"connection_id":45752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99be"} 
[2026-04-17 10:12:57] local.INFO: Extracted packet for processing {"connection_id":45752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99be"} 
[2026-04-17 10:12:57] local.INFO: GPS Element Parsed {"raw_longitude":755754304,"raw_latitude":119322272,"longitude_deg":75.5754304,"latitude_deg":11.9322272,"altitude":52,"angle":246,"satellites":22,"speed":6,"hex_longitude":"2d0be540","hex_latitude":"071cb6a0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758621696001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113238414781841408,"note":"Value kept but may cause issues"} 
[2026-04-17 10:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863705996583507968,"note":"Value kept but may cause issues"} 
[2026-04-17 10:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776400878000,"timestamp_ms":1776400878000,"timestamp_seconds":1776400878,"priority":1,"record_length":96,"hex_timestamp":"0000019d99be49b0"} 
[2026-04-17 10:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:12:57] 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-04-17 10: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-17 10:12:57] 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-04-17 10: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-04-17 10:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758621696001,"66":13863,"251":206,"28":31744,"24":6,"16":113238414781841408,"45":863705996583507968},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,28,24,16,45]} 
[2026-04-17 10:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758621696001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:12:57] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-17 10:12:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113238414781841408,"km_value":113238414781841.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":863705996583507968,"description":"Unknown IO ID 45"} 
[2026-04-17 10:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758621696001,"power":13863,"unknown_251":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":863705996583507968}} 
[2026-04-17 10:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":45752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:12:57] local.INFO: GPS data processed {"connection_id":45752,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:12:57] local.INFO: Acknowledgment sent {"connection_id":45752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:13:01] local.INFO: TCP Data received {"connection_id":46507,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46507,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:13:01] local.INFO: Processing buffer {"connection_id":46507,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:13:01] local.INFO: IMEI packet received {"connection_id":46507,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:13:01] local.INFO: IMEI acknowledgment sent {"connection_id":46507,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:13:02] local.INFO: TCP Data received {"connection_id":46507,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:13:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:13:02] local.INFO: Processing buffer {"connection_id":46507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:13:02] local.INFO: Packet analysis {"connection_id":46507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:13:02] local.INFO: Extracted packet for processing {"connection_id":46507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:13:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":14,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:13:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758536704001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:13:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776400835000,"timestamp_ms":1776400835000,"timestamp_seconds":1776400835,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bda1b8"} 
[2026-04-17 10:13:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:13: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-04-17 10:13:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:13:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:13:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:13:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:13:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:13:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:13:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:13:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:13:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:13:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:13:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:13:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758536704001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:13:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:13:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:13:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758536704001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:13:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:13:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:13:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:13:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:13:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758536704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:13:02] local.INFO: DEBUG: GPS processor result {"connection_id":46507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:13:02] local.INFO: GPS data processed {"connection_id":46507,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:13:02] local.INFO: Acknowledgment sent {"connection_id":46507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:13:06] local.INFO: TCP Data received {"connection_id":46507,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:13:06] local.INFO: Processing buffer {"connection_id":46507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:13:06] local.INFO: Packet analysis {"connection_id":46507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:13:06] local.INFO: Extracted packet for processing {"connection_id":46507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:13:06] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":14,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758536704001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776400835000,"timestamp_ms":1776400835000,"timestamp_seconds":1776400835,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bda1b8"} 
[2026-04-17 10:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:13:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:13:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46507,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758536704001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758536704001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:13:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:13:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758536704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":46507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:13:06] local.INFO: GPS data processed {"connection_id":46507,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:13:06] local.INFO: Acknowledgment sent {"connection_id":46507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:13:15] local.INFO: TCP Data received {"connection_id":46508,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:13:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:13:15] local.INFO: Processing buffer {"connection_id":46508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:13:15] local.INFO: IMEI packet received {"connection_id":46508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:13:15] local.INFO: IMEI acknowledgment sent {"connection_id":46508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:13:22] local.INFO: TCP Data received {"connection_id":45944,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:13:22] local.INFO: Processing buffer {"connection_id":45944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:13:22] local.INFO: IMEI packet received {"connection_id":45944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":45944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:13:22] local.INFO: TCP Data received {"connection_id":46508,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46508,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:13:22] local.INFO: Processing buffer {"connection_id":46508,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:13:22] local.INFO: IMEI packet received {"connection_id":46508,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":46508,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:13:24] local.INFO: TCP Data received {"connection_id":46508,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:13:24] local.INFO: Processing buffer {"connection_id":46508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:13:24] local.INFO: Packet analysis {"connection_id":46508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:13:24] local.INFO: Extracted packet for processing {"connection_id":46508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:13:24] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758500864001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:24] 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-04-17 10:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776400695000,"timestamp_ms":1776400695000,"timestamp_seconds":1776400695,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bb7ed8"} 
[2026-04-17 10:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:13:24] 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-04-17 10: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":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-04-17 10:13:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758500864001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758500864001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:13:24] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758500864001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":46508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20467,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:13:24] local.INFO: GPS data processed {"connection_id":46508,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:13:24] local.INFO: Acknowledgment sent {"connection_id":46508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:13:25] local.INFO: TCP Data received {"connection_id":45944,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45944,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:13:25] local.INFO: Processing buffer {"connection_id":45944,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:13:25] local.INFO: IMEI packet received {"connection_id":45944,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":45944,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:13:25] local.INFO: TCP Data received {"connection_id":46508,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46508,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:13:25] local.INFO: Processing buffer {"connection_id":46508,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bb7ed8012d1b598006d4d5980011013831..."} 
[2026-04-17 10:13:25] local.INFO: Packet analysis {"connection_id":46508,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:13:25] local.INFO: Extracted packet for processing {"connection_id":46508,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bb"} 
[2026-04-17 10:13:25] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:13:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758500864001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:25] 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-04-17 10:13:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776400695000,"timestamp_ms":1776400695000,"timestamp_seconds":1776400695,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bb7ed8"} 
[2026-04-17 10:13:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:13:25] 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-04-17 10:13:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":190,"data_length":795,"current_offset":136} 
[2026-04-17 10:13:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2398,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:13:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:13:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:13:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:13:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46508,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:13:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:13:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46508,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:13:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:13:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:13:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:13:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758500864001,"66":25462,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:13:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:13:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:13:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758500864001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:13:25] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:13:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:13:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:13:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758500864001,"power":25462,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":46508,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20468,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:13:26] local.INFO: GPS data processed {"connection_id":46508,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:13:26] local.INFO: Acknowledgment sent {"connection_id":46508,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:13:27] local.INFO: TCP Data received {"connection_id":45944,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99be97d0012d0be480071cb600003400f617..."} 
[2026-04-17 10:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99be97d0012d0be480071cb600003400f617..."} 
[2026-04-17 10:13:27] local.INFO: Processing buffer {"connection_id":45944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99be97d0012d0be480071cb600003400f617..."} 
[2026-04-17 10:13:27] local.INFO: Packet analysis {"connection_id":45944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99be"} 
[2026-04-17 10:13:27] local.INFO: Extracted packet for processing {"connection_id":45944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99be"} 
[2026-04-17 10:13:27] local.INFO: GPS Element Parsed {"raw_longitude":755754112,"raw_latitude":119322112,"longitude_deg":75.5754112,"latitude_deg":11.9322112,"altitude":52,"angle":246,"satellites":23,"speed":0,"hex_longitude":"2d0be480","hex_latitude":"071cb600","is_valid_coordinates":true} 
[2026-04-17 10:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758624768001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113238427666743296,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":857161703374626816,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776400898000,"timestamp_ms":1776400898000,"timestamp_seconds":1776400898,"priority":1,"record_length":96,"hex_timestamp":"0000019d99be97d0"} 
[2026-04-17 10:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:13:27] 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-04-17 10:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-17 10:13:27] 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-04-17 10:13:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758624768001,"66":13863,"251":206,"28":31744,"24":0,"16":113238427666743296,"45":857161703374626816},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,28,24,16,45]} 
[2026-04-17 10:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758624768001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:13:27] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-17 10:13:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113238427666743296,"km_value":113238427666743.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":857161703374626816,"description":"Unknown IO ID 45"} 
[2026-04-17 10:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758624768001,"power":13863,"unknown_251":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":857161703374626816}} 
[2026-04-17 10:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":45944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:13:27] local.INFO: GPS data processed {"connection_id":45944,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:13:27] local.INFO: Acknowledgment sent {"connection_id":45944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:13:28] local.INFO: TCP Data received {"connection_id":45944,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bee5f0012d0be480071cb600003400f618..."} 
[2026-04-17 10:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bee5f0012d0be480071cb600003400f618..."} 
[2026-04-17 10:13:28] local.INFO: Processing buffer {"connection_id":45944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bee5f0012d0be480071cb600003400f618..."} 
[2026-04-17 10:13:28] local.INFO: Packet analysis {"connection_id":45944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99be"} 
[2026-04-17 10:13:28] local.INFO: Extracted packet for processing {"connection_id":45944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99be"} 
[2026-04-17 10:13:28] local.INFO: GPS Element Parsed {"raw_longitude":755754112,"raw_latitude":119322112,"longitude_deg":75.5754112,"latitude_deg":11.9322112,"altitude":52,"angle":246,"satellites":24,"speed":0,"hex_longitude":"2d0be480","hex_latitude":"071cb600","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758629888001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113238427666743296,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":856950597142052864,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776400918000,"timestamp_ms":1776400918000,"timestamp_seconds":1776400918,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bee5f0"} 
[2026-04-17 10:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-17 10:13:28] 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-04-17 10: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-04-17 10:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758629888001,"66":14374,"251":206,"28":31744,"24":0,"16":113238427666743296,"45":856950597142052864},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,28,24,16,45]} 
[2026-04-17 10:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758629888001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:13:28] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-17 10:13:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113238427666743296,"km_value":113238427666743.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":856950597142052864,"description":"Unknown IO ID 45"} 
[2026-04-17 10:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758629888001,"power":14374,"unknown_251":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":856950597142052864}} 
[2026-04-17 10:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":45944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:13:28] local.INFO: GPS data processed {"connection_id":45944,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:13:28] local.INFO: Acknowledgment sent {"connection_id":45944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:13:51] local.INFO: TCP Data received {"connection_id":45945,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:13:51] local.INFO: Processing buffer {"connection_id":45945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:13:51] local.INFO: IMEI packet received {"connection_id":45945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":45945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:13:56] local.INFO: TCP Data received {"connection_id":45945,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:13:56] local.INFO: Processing buffer {"connection_id":45945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:13:56] local.INFO: IMEI packet received {"connection_id":45945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":45945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:13:57] local.INFO: TCP Data received {"connection_id":45945,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:13:57] local.INFO: Processing buffer {"connection_id":45945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:13:57] local.INFO: Packet analysis {"connection_id":45945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:13:57] local.INFO: Extracted packet for processing {"connection_id":45945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:13:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":14,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758536704001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776400835000,"timestamp_ms":1776400835000,"timestamp_seconds":1776400835,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bda1b8"} 
[2026-04-17 10:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758536704001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758536704001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:13:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:13:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758536704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":45945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:13:57] local.INFO: GPS data processed {"connection_id":45945,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:13:57] local.INFO: Acknowledgment sent {"connection_id":45945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:14:02] local.INFO: TCP Data received {"connection_id":45944,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bf3410012d0be400071cb5a00034010d18..."} 
[2026-04-17 10:14:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45944,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bf3410012d0be400071cb5a00034010d18..."} 
[2026-04-17 10:14:02] local.INFO: Processing buffer {"connection_id":45944,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bf3410012d0be400071cb5a00034010d18..."} 
[2026-04-17 10:14:02] local.INFO: Packet analysis {"connection_id":45944,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bf"} 
[2026-04-17 10:14:02] local.INFO: Extracted packet for processing {"connection_id":45944,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bf"} 
[2026-04-17 10:14:02] local.INFO: GPS Element Parsed {"raw_longitude":755753984,"raw_latitude":119322016,"longitude_deg":75.5753984,"latitude_deg":11.9322016,"altitude":52,"angle":269,"satellites":24,"speed":3,"hex_longitude":"2d0be400","hex_latitude":"071cb5a0","is_valid_coordinates":true} 
[2026-04-17 10:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:14:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758635008001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:14:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113238431961710592,"note":"Value kept but may cause issues"} 
[2026-04-17 10:14:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":856950597142052864,"note":"Value kept but may cause issues"} 
[2026-04-17 10:14:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:14:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776400938000,"timestamp_ms":1776400938000,"timestamp_seconds":1776400938,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bf3410"} 
[2026-04-17 10:14:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:14:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:14:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 10:14: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-04-17 10:14:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:14:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:14:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:14:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45944,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:14:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:14:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45944,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:14:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:14:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:14:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:14:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758635008001,"66":14428,"251":206,"28":31744,"24":3,"16":113238431961710592,"45":856950597142052864},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,28,24,16,45]} 
[2026-04-17 10:14:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:14:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:14:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758635008001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:14:02] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-17 10:14:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:14:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113238431961710592,"km_value":113238431961710.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:14:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":856950597142052864,"description":"Unknown IO ID 45"} 
[2026-04-17 10:14:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758635008001,"power":14428,"unknown_251":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":856950597142052864}} 
[2026-04-17 10:14:02] local.INFO: DEBUG: GPS processor result {"connection_id":45944,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:14:02] local.INFO: GPS data processed {"connection_id":45944,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:14:02] local.INFO: Acknowledgment sent {"connection_id":45944,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:14:18] local.INFO: TCP Data received {"connection_id":45673,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:14:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:14:18] local.INFO: Processing buffer {"connection_id":45673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:14:18] local.INFO: IMEI packet received {"connection_id":45673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:14:18] local.INFO: IMEI acknowledgment sent {"connection_id":45673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:14:19] local.INFO: TCP Data received {"connection_id":45673,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:14:19] local.INFO: Processing buffer {"connection_id":45673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:14:19] local.INFO: IMEI packet received {"connection_id":45673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":45673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:14:21] local.INFO: TCP Data received {"connection_id":45673,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c06c90012d0b7380071c5b28002f00b41a..."} 
[2026-04-17 10:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c06c90012d0b7380071c5b28002f00b41a..."} 
[2026-04-17 10:14:21] local.INFO: Processing buffer {"connection_id":45673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c06c90012d0b7380071c5b28002f00b41a..."} 
[2026-04-17 10:14:21] local.INFO: Packet analysis {"connection_id":45673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c0"} 
[2026-04-17 10:14:21] local.INFO: Extracted packet for processing {"connection_id":45673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c0"} 
[2026-04-17 10:14:21] local.INFO: GPS Element Parsed {"raw_longitude":755725184,"raw_latitude":119298856,"longitude_deg":75.5725184,"latitude_deg":11.9298856,"altitude":47,"angle":180,"satellites":26,"speed":36,"hex_longitude":"2d0b7380","hex_latitude":"071c5b28","is_valid_coordinates":true} 
[2026-04-17 10:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:14:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758658304001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:14:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113240665344704512,"note":"Value kept but may cause issues"} 
[2026-04-17 10:14:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823877287374637056,"note":"Value kept but may cause issues"} 
[2026-04-17 10:14:21] 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-04-17 10:14:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776401018000,"timestamp_ms":1776401018000,"timestamp_seconds":1776401018,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c06c90"} 
[2026-04-17 10:14:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:14:21] 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-04-17 10:14:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-17 10:14:21] 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-04-17 10:14:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:14:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:14:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:14:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:14:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:14:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:14:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:14:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:14:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:14:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758658304001,"66":14407,"15":206,"28":31744,"24":36,"16":113240665344704512,"45":823877287374637056},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-04-17 10:14:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:14:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:14:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758658304001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:14:21] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-04-17 10:14:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:14:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113240665344704512,"km_value":113240665344704.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:14:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":823877287374637056,"description":"Unknown IO ID 45"} 
[2026-04-17 10:14:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758658304001,"power":14407,"unknown_15":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":823877287374637056}} 
[2026-04-17 10:14:22] local.INFO: DEBUG: GPS processor result {"connection_id":45673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:14:22] local.INFO: GPS data processed {"connection_id":45673,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:14:22] local.INFO: Acknowledgment sent {"connection_id":45673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:14:28] local.INFO: TCP Data received {"connection_id":45945,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:14:28] local.INFO: Processing buffer {"connection_id":45945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:14:28] local.INFO: Packet analysis {"connection_id":45945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:14:28] local.INFO: Extracted packet for processing {"connection_id":45945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:14:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":14,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758536704001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776400835000,"timestamp_ms":1776400835000,"timestamp_seconds":1776400835,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bda1b8"} 
[2026-04-17 10:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758536704001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758536704001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:14:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:14:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758536704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":45945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:14:28] local.INFO: GPS data processed {"connection_id":45945,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:14:28] local.INFO: Acknowledgment sent {"connection_id":45945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:14:30] local.INFO: TCP Data received {"connection_id":45946,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:14:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:14:30] local.INFO: Processing buffer {"connection_id":45946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:14:30] local.INFO: IMEI packet received {"connection_id":45946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:14:30] local.INFO: IMEI acknowledgment sent {"connection_id":45946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:14:33] local.INFO: TCP Data received {"connection_id":45946,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:14:33] local.INFO: Processing buffer {"connection_id":45946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:14:33] local.INFO: IMEI packet received {"connection_id":45946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:14:33] local.INFO: IMEI acknowledgment sent {"connection_id":45946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:14:35] local.INFO: TCP Data received {"connection_id":45946,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:14:35] local.INFO: Processing buffer {"connection_id":45946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:14:35] local.INFO: IMEI packet received {"connection_id":45946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:14:35] local.INFO: IMEI acknowledgment sent {"connection_id":45946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:14:35] local.INFO: TCP Data received {"connection_id":45946,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bfad28012d1b598006d4d5980011013831..."} 
[2026-04-17 10:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bfad28012d1b598006d4d5980011013831..."} 
[2026-04-17 10:14:35] local.INFO: Processing buffer {"connection_id":45946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bfad28012d1b598006d4d5980011013831..."} 
[2026-04-17 10:14:35] local.INFO: Packet analysis {"connection_id":45946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bf"} 
[2026-04-17 10:14:35] local.INFO: Extracted packet for processing {"connection_id":45946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bf"} 
[2026-04-17 10:14:35] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":114611608,"longitude_deg":75.6767104,"latitude_deg":11.4611608,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5980","hex_latitude":"06d4d598","is_valid_coordinates":true} 
[2026-04-17 10:14: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-04-17 10:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758577920001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:14:35] 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-04-17 10:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776400969000,"timestamp_ms":1776400969000,"timestamp_seconds":1776400969,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bfad28"} 
[2026-04-17 10:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:14:35] 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-04-17 10:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 10:14:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":45946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":45946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":45946,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758577920001,"66":24962,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758577920001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:14:35] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758577920001,"power":24962,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":45946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20475,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:14:35] local.INFO: GPS data processed {"connection_id":45946,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:14:35] local.INFO: Acknowledgment sent {"connection_id":45946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:14:51] local.INFO: TCP Data received {"connection_id":45674,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:14:51] local.INFO: Processing buffer {"connection_id":45674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:14:51] local.INFO: IMEI packet received {"connection_id":45674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":45674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:14:53] local.INFO: TCP Data received {"connection_id":45673,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c07848012d0b7140071c5048002f00c21b..."} 
[2026-04-17 10:14:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c07848012d0b7140071c5048002f00c21b..."} 
[2026-04-17 10:14:53] local.INFO: Processing buffer {"connection_id":45673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c07848012d0b7140071c5048002f00c21b..."} 
[2026-04-17 10:14:53] local.INFO: Packet analysis {"connection_id":45673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c0"} 
[2026-04-17 10:14:53] local.INFO: Extracted packet for processing {"connection_id":45673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c0"} 
[2026-04-17 10:14:53] local.INFO: GPS Element Parsed {"raw_longitude":755724608,"raw_latitude":119296072,"longitude_deg":75.5724608,"latitude_deg":11.9296072,"altitude":47,"angle":194,"satellites":27,"speed":40,"hex_longitude":"2d0b7140","hex_latitude":"071c5048","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:14:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758660608001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:14:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113240807078625280,"note":"Value kept but may cause issues"} 
[2026-04-17 10:14:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":825143924767795200,"note":"Value kept but may cause issues"} 
[2026-04-17 10:14:53] 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-04-17 10:14:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776401021000,"timestamp_ms":1776401021000,"timestamp_seconds":1776401021,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c07848"} 
[2026-04-17 10:14:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:14:53] 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-04-17 10: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 10:14:53] 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-04-17 10: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-04-17 10:14:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:14:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:14:53] local.INFO: Teltonika packet parsed successfully {"connection_id":45673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:14:53] local.INFO: Passing IMEI to GPS processor {"connection_id":45673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:14:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":45673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:14:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:14:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:14:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:14:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758660608001,"66":14374,"15":206,"28":31744,"24":40,"16":113240807078625280,"45":825143924767795200},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-04-17 10:14:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:14:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:14:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758660608001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:14:53] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-04-17 10:14:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:14:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113240807078625280,"km_value":113240807078625.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:14:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":825143924767795200,"description":"Unknown IO ID 45"} 
[2026-04-17 10:14:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758660608001,"power":14374,"unknown_15":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":825143924767795200}} 
[2026-04-17 10:14:53] local.INFO: DEBUG: GPS processor result {"connection_id":45673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:14:53] local.INFO: GPS data processed {"connection_id":45673,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:14:53] local.INFO: Acknowledgment sent {"connection_id":45673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:14:56] local.INFO: TCP Data received {"connection_id":45674,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45674,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:14:56] local.INFO: Processing buffer {"connection_id":45674,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:14:56] local.INFO: IMEI packet received {"connection_id":45674,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":45674,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:14:57] local.INFO: TCP Data received {"connection_id":45674,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:14:57] local.INFO: Processing buffer {"connection_id":45674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:14:57] local.INFO: Packet analysis {"connection_id":45674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:14:57] local.INFO: Extracted packet for processing {"connection_id":45674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:14:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":14,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758536704001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776400835000,"timestamp_ms":1776400835000,"timestamp_seconds":1776400835,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bda1b8"} 
[2026-04-17 10:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758536704001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758536704001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:14:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:14:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758536704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":45674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:14:57] local.INFO: GPS data processed {"connection_id":45674,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:14:57] local.INFO: Acknowledgment sent {"connection_id":45674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:15:10] local.INFO: TCP Data received {"connection_id":45753,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:15:10] local.INFO: Processing buffer {"connection_id":45753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:15:10] local.INFO: IMEI packet received {"connection_id":45753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":45753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:15:15] local.INFO: TCP Data received {"connection_id":45753,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:15:15] local.INFO: Processing buffer {"connection_id":45753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:15:15] local.INFO: IMEI packet received {"connection_id":45753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":45753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:15:16] local.INFO: TCP Data received {"connection_id":45753,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c00ae8012d1b580006d4d5800011013831..."} 
[2026-04-17 10:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c00ae8012d1b580006d4d5800011013831..."} 
[2026-04-17 10:15:16] local.INFO: Processing buffer {"connection_id":45753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c00ae8012d1b580006d4d5800011013831..."} 
[2026-04-17 10:15:16] local.INFO: Packet analysis {"connection_id":45753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c0"} 
[2026-04-17 10:15:16] local.INFO: Extracted packet for processing {"connection_id":45753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c0"} 
[2026-04-17 10:15:16] local.INFO: GPS Element Parsed {"raw_longitude":756766720,"raw_latitude":114611584,"longitude_deg":75.676672,"latitude_deg":11.4611584,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5800","hex_latitude":"06d4d580","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758648064001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747078780229632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,10,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776400993000,"timestamp_ms":1776400993000,"timestamp_seconds":1776400993,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c00ae8"} 
[2026-04-17 10:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:15: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-04-17 10: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":97,"n8_eight_byte":130,"data_length":795,"current_offset":136} 
[2026-04-17 10:15:16] 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-04-17 10: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-04-17 10:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758648064001,"66":28419,"10":206,"2":56576,"24":0,"16":106618783551979520,"45":1970747078780229632},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,10,2,24,16,45]} 
[2026-04-17 10:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758648064001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:15:16] local.INFO: Unknown IO ID detected {"io_id":10,"value":206,"description":"Unknown IO ID 10"} 
[2026-04-17 10:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747078780229632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758648064001,"power":28419,"unknown_10":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970747078780229632}} 
[2026-04-17 10:15:17] local.INFO: DEBUG: GPS processor result {"connection_id":45753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20478,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:15:17] local.INFO: GPS data processed {"connection_id":45753,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:15:17] local.INFO: Acknowledgment sent {"connection_id":45753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:15:17] local.INFO: TCP Data received {"connection_id":45947,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:15:17] local.INFO: Processing buffer {"connection_id":45947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:15:17] local.INFO: IMEI packet received {"connection_id":45947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":45947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:15:17] local.INFO: TCP Data received {"connection_id":45947,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:15:17] local.INFO: Processing buffer {"connection_id":45947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:15:17] local.INFO: IMEI packet received {"connection_id":45947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":45947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:15:23] local.INFO: TCP Data received {"connection_id":45947,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:15:23] local.INFO: Processing buffer {"connection_id":45947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:15:23] local.INFO: IMEI packet received {"connection_id":45947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:15:23] local.INFO: IMEI acknowledgment sent {"connection_id":45947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:15:24] local.INFO: TCP Data received {"connection_id":45947,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c09b70012d0b66c0071c2ce0002e00be1b..."} 
[2026-04-17 10:15:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c09b70012d0b66c0071c2ce0002e00be1b..."} 
[2026-04-17 10:15:24] local.INFO: Processing buffer {"connection_id":45947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c09b70012d0b66c0071c2ce0002e00be1b..."} 
[2026-04-17 10:15:24] local.INFO: Packet analysis {"connection_id":45947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c0"} 
[2026-04-17 10:15:24] local.INFO: Extracted packet for processing {"connection_id":45947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c0"} 
[2026-04-17 10:15:24] local.INFO: GPS Element Parsed {"raw_longitude":755721920,"raw_latitude":119287008,"longitude_deg":75.572192,"latitude_deg":11.9287008,"altitude":46,"angle":190,"satellites":27,"speed":38,"hex_longitude":"2d0b66c0","hex_latitude":"071c2ce0","is_valid_coordinates":true} 
[2026-04-17 10:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:15:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758661376001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:15:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113241266640125952,"note":"Value kept but may cause issues"} 
[2026-04-17 10:15:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824510606069483520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:15:24] 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-04-17 10:15:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776401030000,"timestamp_ms":1776401030000,"timestamp_seconds":1776401030,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c09b70"} 
[2026-04-17 10:15:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:15:24] 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-04-17 10:15:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 10:15:24] 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-04-17 10:15:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:15:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:15:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:15:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:15:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:15:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:15:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:15:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:15:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:15:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758661376001,"66":14396,"15":206,"28":31744,"24":38,"16":113241266640125952,"45":824510606069483520},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-04-17 10:15:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:15:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:15:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758661376001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:15:24] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-04-17 10:15:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:15:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113241266640125952,"km_value":113241266640125.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:15:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":824510606069483520,"description":"Unknown IO ID 45"} 
[2026-04-17 10:15:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758661376001,"power":14396,"unknown_15":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":824510606069483520}} 
[2026-04-17 10:15:24] local.INFO: DEBUG: GPS processor result {"connection_id":45947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:15:24] local.INFO: GPS data processed {"connection_id":45947,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:15:24] local.INFO: Acknowledgment sent {"connection_id":45947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:15:28] local.INFO: TCP Data received {"connection_id":45674,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:15:28] local.INFO: Processing buffer {"connection_id":45674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:15:28] local.INFO: Packet analysis {"connection_id":45674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:15:28] local.INFO: Extracted packet for processing {"connection_id":45674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:15:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":14,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758536704001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776400835000,"timestamp_ms":1776400835000,"timestamp_seconds":1776400835,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bda1b8"} 
[2026-04-17 10:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45674,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:15:28] 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-04-17 10:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758536704001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758536704001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:15:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758536704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":45674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:15:28] local.INFO: GPS data processed {"connection_id":45674,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:15:28] local.INFO: Acknowledgment sent {"connection_id":45674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:15:51] local.INFO: TCP Data received {"connection_id":45675,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:15:51] local.INFO: Processing buffer {"connection_id":45675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:15:51] local.INFO: IMEI packet received {"connection_id":45675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":45675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:15:51] local.INFO: TCP Data received {"connection_id":45753,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c05cf0012d1b580006d4d5800011013831..."} 
[2026-04-17 10:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c05cf0012d1b580006d4d5800011013831..."} 
[2026-04-17 10:15:51] local.INFO: Processing buffer {"connection_id":45753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c05cf0012d1b580006d4d5800011013831..."} 
[2026-04-17 10:15:51] local.INFO: Packet analysis {"connection_id":45753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c0"} 
[2026-04-17 10:15:51] local.INFO: Extracted packet for processing {"connection_id":45753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c0"} 
[2026-04-17 10:15:51] local.INFO: GPS Element Parsed {"raw_longitude":756766720,"raw_latitude":114611584,"longitude_deg":75.676672,"latitude_deg":11.4611584,"altitude":17,"angle":312,"satellites":49,"speed":0,"hex_longitude":"2d1b5800","hex_latitude":"06d4d580","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:15:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758654208001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:15:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:15:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970324866315157504,"note":"Value kept but may cause issues"} 
[2026-04-17 10:15:51] 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-04-17 10:15:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776401014000,"timestamp_ms":1776401014000,"timestamp_seconds":1776401014,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c05cf0"} 
[2026-04-17 10:15:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10: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-04-17 10: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":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-17 10:15:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:15:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:15:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:15:51] local.INFO: Teltonika packet parsed successfully {"connection_id":45753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:15:51] local.INFO: Passing IMEI to GPS processor {"connection_id":45753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:15:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":45753,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:15:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:15:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:15:51] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:15:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758654208001,"66":28745,"11":206,"2":56576,"24":0,"16":106618783551979520,"45":1970324866315157504},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,2,24,16,45]} 
[2026-04-17 10:15:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:15:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:15:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758654208001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:15:51] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 10:15:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:15:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970324866315157504,"description":"Unknown IO ID 45"} 
[2026-04-17 10:15:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758654208001,"power":28745,"unknown_11":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":1970324866315157504}} 
[2026-04-17 10:15:51] local.INFO: DEBUG: GPS processor result {"connection_id":45753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20481,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:15:51] local.INFO: GPS data processed {"connection_id":45753,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:15:51] local.INFO: Acknowledgment sent {"connection_id":45753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:15:56] local.INFO: TCP Data received {"connection_id":45675,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45675,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:15:56] local.INFO: Processing buffer {"connection_id":45675,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:15:56] local.INFO: IMEI packet received {"connection_id":45675,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":45675,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:15:57] local.INFO: TCP Data received {"connection_id":45675,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:15:57] local.INFO: Processing buffer {"connection_id":45675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99bda1b8012d7fad4005afe350000e009426..."} 
[2026-04-17 10:15:57] local.INFO: Packet analysis {"connection_id":45675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:15:57] local.INFO: Extracted packet for processing {"connection_id":45675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99bd"} 
[2026-04-17 10:15:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":14,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758536704001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776400835000,"timestamp_ms":1776400835000,"timestamp_seconds":1776400835,"priority":1,"record_length":96,"hex_timestamp":"0000019d99bda1b8"} 
[2026-04-17 10:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:15:57] 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-04-17 10:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758536704001,"66":25343,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758536704001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:15:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:15:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758536704001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":45675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:15:57] local.INFO: GPS data processed {"connection_id":45675,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:15:57] local.INFO: Acknowledgment sent {"connection_id":45675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:15:58] local.INFO: TCP Data received {"connection_id":45947,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c0bab0012d0b6100071c0ab0002b00bc1b..."} 
[2026-04-17 10:15:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c0bab0012d0b6100071c0ab0002b00bc1b..."} 
[2026-04-17 10:15:58] local.INFO: Processing buffer {"connection_id":45947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c0bab0012d0b6100071c0ab0002b00bc1b..."} 
[2026-04-17 10:15:58] local.INFO: Packet analysis {"connection_id":45947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c0"} 
[2026-04-17 10:15:58] local.INFO: Extracted packet for processing {"connection_id":45947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c0"} 
[2026-04-17 10:15:58] local.INFO: GPS Element Parsed {"raw_longitude":755720448,"raw_latitude":119278256,"longitude_deg":75.5720448,"latitude_deg":11.9278256,"altitude":43,"angle":188,"satellites":27,"speed":45,"hex_longitude":"2d0b6100","hex_latitude":"071c0ab0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:15:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758663680001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:15:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113241696136855552,"note":"Value kept but may cause issues"} 
[2026-04-17 10:15:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":821555118811701248,"note":"Value kept but may cause issues"} 
[2026-04-17 10:15:58] 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-04-17 10:15:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776401038000,"timestamp_ms":1776401038000,"timestamp_seconds":1776401038,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c0bab0"} 
[2026-04-17 10:15:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:15:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-17 10:15:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:15:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:15:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:15:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:15:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:15:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:15:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:15:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:15:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:15:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758663680001,"66":14396,"15":206,"28":31744,"24":45,"16":113241696136855552,"45":821555118811701248},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-04-17 10:15:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:15:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:15:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758663680001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:15:58] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-04-17 10:15:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:15:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113241696136855552,"km_value":113241696136855.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:15:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":821555118811701248,"description":"Unknown IO ID 45"} 
[2026-04-17 10:15:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758663680001,"power":14396,"unknown_15":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":821555118811701248}} 
[2026-04-17 10:15:58] local.INFO: DEBUG: GPS processor result {"connection_id":45947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20483,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:15:58] local.INFO: GPS data processed {"connection_id":45947,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:15:58] local.INFO: Acknowledgment sent {"connection_id":45947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:16:10] local.INFO: TCP Data received {"connection_id":45676,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:16:10] local.INFO: Processing buffer {"connection_id":45676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:16:10] local.INFO: IMEI packet received {"connection_id":45676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":45676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:16:17] local.INFO: TCP Data received {"connection_id":45754,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:16:17] local.INFO: Processing buffer {"connection_id":45754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:16:17] local.INFO: IMEI packet received {"connection_id":45754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:16:17] local.INFO: IMEI acknowledgment sent {"connection_id":45754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:16:27] local.INFO: TCP Data received {"connection_id":45754,"ip":"117.225.160.238","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 10:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45754,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 10:16:27] local.INFO: Processing buffer {"connection_id":45754,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 10:16:27] local.INFO: IMEI packet received {"connection_id":45754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":45754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:16:28] local.INFO: TCP Data received {"connection_id":45675,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:16:28] local.INFO: Processing buffer {"connection_id":45675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:16:28] local.INFO: Packet analysis {"connection_id":45675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:16:28] local.INFO: Extracted packet for processing {"connection_id":45675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:16:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":22,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758613760001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776401136000,"timestamp_ms":1776401136000,"timestamp_seconds":1776401136,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c23980"} 
[2026-04-17 10:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:16:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 10:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:16:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45675,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758613760001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758613760001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:16:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:16:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758613760001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":45675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:16:28] local.INFO: GPS data processed {"connection_id":45675,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:16:28] local.INFO: Acknowledgment sent {"connection_id":45675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:16:32] local.INFO: TCP Data received {"connection_id":45754,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:16:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:16:32] local.INFO: Processing buffer {"connection_id":45754,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 10:16:32] local.INFO: IMEI packet received {"connection_id":45754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:16:32] local.INFO: IMEI acknowledgment sent {"connection_id":45754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:16:51] local.INFO: TCP Data received {"connection_id":45948,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:16:51] local.INFO: Processing buffer {"connection_id":45948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:16:51] local.INFO: IMEI packet received {"connection_id":45948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":45948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:16:56] local.INFO: TCP Data received {"connection_id":45948,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45948,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:16:56] local.INFO: Processing buffer {"connection_id":45948,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:16:56] local.INFO: IMEI packet received {"connection_id":45948,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":45948,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:16:57] local.INFO: TCP Data received {"connection_id":45948,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:16:57] local.INFO: Processing buffer {"connection_id":45948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:16:57] local.INFO: Packet analysis {"connection_id":45948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:16:57] local.INFO: Extracted packet for processing {"connection_id":45948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:16:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":22,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758613760001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776401136000,"timestamp_ms":1776401136000,"timestamp_seconds":1776401136,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c23980"} 
[2026-04-17 10:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 10:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758613760001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758613760001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:16:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:16:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758613760001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":45948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:16:57] local.INFO: GPS data processed {"connection_id":45948,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:16:57] local.INFO: Acknowledgment sent {"connection_id":45948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:17:01] local.INFO: TCP Data received {"connection_id":45754,"ip":"117.225.160.238","data_length":1360,"data_hex":"000000000000030f8e0a0000019d99c0e990012d0b5b40071be808002c00bb1b..."} 
[2026-04-17 10:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45754,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019d99c0e990012d0b5b40071be808002c00bb1b..."} 
[2026-04-17 10:17:01] local.INFO: Processing buffer {"connection_id":45754,"buffer_length":1377,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019d99..."} 
[2026-04-17 10:17:01] local.INFO: IMEI packet received {"connection_id":45754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":45754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:17:23] local.INFO: TCP Data received {"connection_id":45676,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:17:23] local.INFO: Processing buffer {"connection_id":45676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:17:23] local.INFO: IMEI packet received {"connection_id":45676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":45676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:17:23] local.INFO: TCP Data received {"connection_id":45754,"ip":"117.225.160.238","data_length":1820,"data_hex":"2d0b6e00071c87c0003000b31800110000000a000400ef0100713000f0010045..."} 
[2026-04-17 10:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45754,"packet_length":1820,"packet_hex":"2d0b6e00071c87c0003000b31800110000000a000400ef0100713000f0010045..."} 
[2026-04-17 10:17:23] local.INFO: Processing buffer {"connection_id":45754,"buffer_length":3180,"buffer_hex":"000000000000030f8e0a0000019d99c0e990012d0b5b40071be808002c00bb1b..."} 
[2026-04-17 10:17:23] local.INFO: Packet analysis {"connection_id":45754,"data_field_length":783,"total_packet_length":795,"buffer_length":3180,"packet_hex_start":"000000000000030f8e0a0000019d99c0"} 
[2026-04-17 10:17:23] local.INFO: Extracted packet for processing {"connection_id":45754,"packet_length":795,"remaining_buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019d99c0"} 
[2026-04-17 10:17:23] local.INFO: GPS Element Parsed {"raw_longitude":755718976,"raw_latitude":119269384,"longitude_deg":75.5718976,"latitude_deg":11.9269384,"altitude":44,"angle":187,"satellites":27,"speed":31,"hex_longitude":"2d0b5b40","hex_latitude":"071be808","is_valid_coordinates":true} 
[2026-04-17 10:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758665728001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113242129928552448,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":819936637693374464,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:23] 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-04-17 10:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776401050000,"timestamp_ms":1776401050000,"timestamp_seconds":1776401050,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c0e990"} 
[2026-04-17 10:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:17:23] 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-04-17 10:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-17 10:17: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-04-17 10:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758665728001,"66":13722,"15":206,"28":31744,"24":31,"16":113242129928552448,"45":819936637693374464},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-04-17 10:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758665728001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:17:23] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-04-17 10:17:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113242129928552448,"km_value":113242129928552.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":819936637693374464,"description":"Unknown IO ID 45"} 
[2026-04-17 10:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758665728001,"power":13722,"unknown_15":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":819936637693374464}} 
[2026-04-17 10:17:23] local.INFO: TCP Data received {"connection_id":45949,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:17:23] local.INFO: Processing buffer {"connection_id":45949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:17:23] local.INFO: IMEI packet received {"connection_id":45949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":45949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":45754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:17:23] local.INFO: GPS data processed {"connection_id":45754,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:17:23] local.INFO: Acknowledgment sent {"connection_id":45754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:17:23] local.INFO: Packet analysis {"connection_id":45754,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019d99c1"} 
[2026-04-17 10:17:23] local.INFO: Extracted packet for processing {"connection_id":45754,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d99c1"} 
[2026-04-17 10:17:23] local.INFO: GPS Element Parsed {"raw_longitude":755718080,"raw_latitude":119260088,"longitude_deg":75.571808,"latitude_deg":11.9260088,"altitude":44,"angle":186,"satellites":27,"speed":24,"hex_longitude":"2d0b57c0","hex_latitude":"071bc3b8","is_valid_coordinates":true} 
[2026-04-17 10:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758668800001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113242585195085824,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818318156575016960,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:23] 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-04-17 10:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776401063000,"timestamp_ms":1776401063000,"timestamp_seconds":1776401063,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c11c58"} 
[2026-04-17 10:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:17:23] 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-04-17 10:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-17 10:17:23] 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-04-17 10:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758668800001,"66":14048,"15":206,"28":31744,"24":24,"16":113242585195085824,"45":818318156575016960},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-04-17 10:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758668800001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:17:23] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-04-17 10:17:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113242585195085824,"km_value":113242585195085.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":818318156575016960,"description":"Unknown IO ID 45"} 
[2026-04-17 10:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758668800001,"power":14048,"unknown_15":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":818318156575016960}} 
[2026-04-17 10:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":45754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20487,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:17:23] local.INFO: GPS data processed {"connection_id":45754,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:17:23] local.INFO: Acknowledgment sent {"connection_id":45754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:17:23] local.INFO: Packet analysis {"connection_id":45754,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d99c1"} 
[2026-04-17 10:17:23] local.INFO: Extracted packet for processing {"connection_id":45754,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c1"} 
[2026-04-17 10:17:23] local.INFO: GPS Element Parsed {"raw_longitude":755716864,"raw_latitude":119255024,"longitude_deg":75.5716864,"latitude_deg":11.9255024,"altitude":40,"angle":199,"satellites":27,"speed":34,"hex_longitude":"2d0b5300","hex_latitude":"071baff0","is_valid_coordinates":true} 
[2026-04-17 10:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758672128001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113242838598156288,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":817332994154149888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:23] 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-04-17 10:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776401070000,"timestamp_ms":1776401070000,"timestamp_seconds":1776401070,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c137b0"} 
[2026-04-17 10:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:17:23] 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-04-17 10:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 10:17:23] 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-04-17 10:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758672128001,"66":13993,"15":206,"28":31744,"24":34,"16":113242838598156288,"45":817332994154149888},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-04-17 10:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758672128001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:17:23] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-04-17 10:17:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113242838598156288,"km_value":113242838598156.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":817332994154149888,"description":"Unknown IO ID 45"} 
[2026-04-17 10:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758672128001,"power":13993,"unknown_15":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":817332994154149888}} 
[2026-04-17 10:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":45754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:17:23] local.INFO: GPS data processed {"connection_id":45754,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:17:23] local.INFO: Acknowledgment sent {"connection_id":45754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:17:23] local.INFO: Packet analysis {"connection_id":45754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c1"} 
[2026-04-17 10:17:23] local.INFO: Extracted packet for processing {"connection_id":45754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c1"} 
[2026-04-17 10:17:23] local.INFO: GPS Element Parsed {"raw_longitude":755715008,"raw_latitude":119248384,"longitude_deg":75.5715008,"latitude_deg":11.9248384,"altitude":36,"angle":184,"satellites":26,"speed":40,"hex_longitude":"2d0b4bc0","hex_latitude":"071b9600","is_valid_coordinates":true} 
[2026-04-17 10:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:17:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758673920001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113243173605605376,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815995988013477888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:23] 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-04-17 10:17:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776401077000,"timestamp_ms":1776401077000,"timestamp_seconds":1776401077,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c15308"} 
[2026-04-17 10:17:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:17:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:17:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:17:23] 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-04-17 10:17:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:17:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:17:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:17:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:17:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:17:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:17:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:17:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:17:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:17:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758673920001,"66":13972,"15":206,"28":31744,"24":40,"16":113243173605605376,"45":815995988013477888},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-04-17 10:17:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:17:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:17:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758673920001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:17:23] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-04-17 10:17:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:17:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113243173605605376,"km_value":113243173605605.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:17:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":815995988013477888,"description":"Unknown IO ID 45"} 
[2026-04-17 10:17:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758673920001,"power":13972,"unknown_15":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":815995988013477888}} 
[2026-04-17 10:17:23] local.INFO: DEBUG: GPS processor result {"connection_id":45754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20489,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:17:23] local.INFO: GPS data processed {"connection_id":45754,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:17:23] local.INFO: Acknowledgment sent {"connection_id":45754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:17:23] local.INFO: TCP Data received {"connection_id":45949,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:17:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:17:23] local.INFO: Processing buffer {"connection_id":45949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:17:23] local.INFO: IMEI packet received {"connection_id":45949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:17:23] local.INFO: IMEI acknowledgment sent {"connection_id":45949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:17:25] local.INFO: TCP Data received {"connection_id":45949,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c2ed30012d0b7e00071a57e0003900af18..."} 
[2026-04-17 10:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c2ed30012d0b7e00071a57e0003900af18..."} 
[2026-04-17 10:17:25] local.INFO: Processing buffer {"connection_id":45949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c2ed30012d0b7e00071a57e0003900af18..."} 
[2026-04-17 10:17:25] local.INFO: Packet analysis {"connection_id":45949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:17:25] local.INFO: Extracted packet for processing {"connection_id":45949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:17:25] local.INFO: GPS Element Parsed {"raw_longitude":755727872,"raw_latitude":119166944,"longitude_deg":75.5727872,"latitude_deg":11.9166944,"altitude":57,"angle":175,"satellites":24,"speed":43,"hex_longitude":"2d0b7e00","hex_latitude":"071a57e0","is_valid_coordinates":true} 
[2026-04-17 10:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758700544001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113247206579896320,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827114249573298176,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776401182000,"timestamp_ms":1776401182000,"timestamp_seconds":1776401182,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c2ed30"} 
[2026-04-17 10:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:17: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-04-17 10:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-17 10:17:25] 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-04-17 10:17:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":45949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":45949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":45949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758700544001,"66":13798,"36":206,"28":31744,"24":43,"16":113247206579896320,"45":827114249573298176},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,28,24,16,45]} 
[2026-04-17 10:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758700544001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:17:25] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 10:17:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113247206579896320,"km_value":113247206579896.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":827114249573298176,"description":"Unknown IO ID 45"} 
[2026-04-17 10:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758700544001,"power":13798,"unknown_36":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":827114249573298176}} 
[2026-04-17 10:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":45949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:17:25] local.INFO: GPS data processed {"connection_id":45949,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:17:25] local.INFO: Acknowledgment sent {"connection_id":45949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:17:25] local.INFO: TCP Data received {"connection_id":45676,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45676,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:17:25] local.INFO: Processing buffer {"connection_id":45676,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:17:25] local.INFO: IMEI packet received {"connection_id":45676,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":45676,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:17:26] local.INFO: TCP Data received {"connection_id":45949,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c2fcd0012d0b7d00071a46b0003a00be17..."} 
[2026-04-17 10:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c2fcd0012d0b7d00071a46b0003a00be17..."} 
[2026-04-17 10:17:26] local.INFO: Processing buffer {"connection_id":45949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c2fcd0012d0b7d00071a46b0003a00be17..."} 
[2026-04-17 10:17:26] local.INFO: Packet analysis {"connection_id":45949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:17:26] local.INFO: Extracted packet for processing {"connection_id":45949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:17:26] local.INFO: GPS Element Parsed {"raw_longitude":755727616,"raw_latitude":119162544,"longitude_deg":75.5727616,"latitude_deg":11.9162544,"altitude":58,"angle":190,"satellites":23,"speed":44,"hex_longitude":"2d0b7d00","hex_latitude":"071a46b0","is_valid_coordinates":true} 
[2026-04-17 10:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758702592001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113247421328261120,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":828099411989487616,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776401186000,"timestamp_ms":1776401186000,"timestamp_seconds":1776401186,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c2fcd0"} 
[2026-04-17 10:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:17:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-17 10:17:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758702592001,"66":13722,"36":206,"28":31744,"24":44,"16":113247421328261120,"45":828099411989487616},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,28,24,16,45]} 
[2026-04-17 10:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758702592001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:17:26] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 10:17:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113247421328261120,"km_value":113247421328261.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":828099411989487616,"description":"Unknown IO ID 45"} 
[2026-04-17 10:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758702592001,"power":13722,"unknown_36":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":828099411989487616}} 
[2026-04-17 10:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":45949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20491,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:17:26] local.INFO: GPS data processed {"connection_id":45949,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:17:26] local.INFO: Acknowledgment sent {"connection_id":45949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:17:28] local.INFO: TCP Data received {"connection_id":45948,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:17:28] local.INFO: Processing buffer {"connection_id":45948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:17:28] local.INFO: Packet analysis {"connection_id":45948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:17:28] local.INFO: Extracted packet for processing {"connection_id":45948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:17:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":22,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758613760001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776401136000,"timestamp_ms":1776401136000,"timestamp_seconds":1776401136,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c23980"} 
[2026-04-17 10:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 10:17:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45948,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:17:28] 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-04-17 10:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758613760001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758613760001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:17:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:17:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758613760001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":45948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20492,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:17:28] local.INFO: GPS data processed {"connection_id":45948,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:17:28] local.INFO: Acknowledgment sent {"connection_id":45948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:17:40] local.INFO: TCP Data received {"connection_id":45950,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:17:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45950,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:17:40] local.INFO: Processing buffer {"connection_id":45950,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:17:40] local.INFO: IMEI packet received {"connection_id":45950,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:17:40] local.INFO: IMEI acknowledgment sent {"connection_id":45950,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:17:56] local.INFO: TCP Data received {"connection_id":45755,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:17:56] local.INFO: Processing buffer {"connection_id":45755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:17:56] local.INFO: IMEI packet received {"connection_id":45755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":45755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:18:01] local.INFO: TCP Data received {"connection_id":45755,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45755,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:18:01] local.INFO: Processing buffer {"connection_id":45755,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:18:01] local.INFO: IMEI packet received {"connection_id":45755,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:18:01] local.INFO: IMEI acknowledgment sent {"connection_id":45755,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:18:02] local.INFO: TCP Data received {"connection_id":45755,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:18:02] local.INFO: Processing buffer {"connection_id":45755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:18:02] local.INFO: Packet analysis {"connection_id":45755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:18:02] local.INFO: Extracted packet for processing {"connection_id":45755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:18:02] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":22,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758613760001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776401136000,"timestamp_ms":1776401136000,"timestamp_seconds":1776401136,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c23980"} 
[2026-04-17 10:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 10:18:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:18:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758613760001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758613760001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:18:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:18:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758613760001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":45755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:18:02] local.INFO: GPS data processed {"connection_id":45755,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:18:02] local.INFO: Acknowledgment sent {"connection_id":45755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:18:02] local.INFO: TCP Data received {"connection_id":45949,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c3ac98012d0bc1c00719b900002800831b..."} 
[2026-04-17 10:18:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c3ac98012d0bc1c00719b900002800831b..."} 
[2026-04-17 10:18:02] local.INFO: Processing buffer {"connection_id":45949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c3ac98012d0bc1c00719b900002800831b..."} 
[2026-04-17 10:18:02] local.INFO: Packet analysis {"connection_id":45949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c3"} 
[2026-04-17 10:18:02] local.INFO: Extracted packet for processing {"connection_id":45949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c3"} 
[2026-04-17 10:18:02] local.INFO: GPS Element Parsed {"raw_longitude":755745216,"raw_latitude":119126272,"longitude_deg":75.5745216,"latitude_deg":11.9126272,"altitude":40,"angle":131,"satellites":27,"speed":44,"hex_longitude":"2d0bc1c0","hex_latitude":"0719b900","is_valid_coordinates":true} 
[2026-04-17 10:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758714624001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113249968243867648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":845269385558765568,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:18:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776401231000,"timestamp_ms":1776401231000,"timestamp_seconds":1776401231,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c3ac98"} 
[2026-04-17 10:18:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:18:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:18:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867888727,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2579718752,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":87,"raw_value":2415919104,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7901773353919184896,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3279028225,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":25,"raw_value":3366453291,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635347714762787,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3894608078,"corrected_to":0} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":118,"raw_value":3221690829,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-7421705789003215332,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":11,"raw_value":7926343151842230319,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755601304649969,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:02] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,35,28,24,241,158,16,88,157,156,45,192,193,40,27,10,66,129,197,42,26,87,121,128,1,240,12,153,25,4,113,205,44,106,118,248,239,55,2,146,7,46,11,124],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":3894608078,"validated":0}]} 
[2026-04-17 10:18:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882433615561293824,"timestamp_seconds":2882433615561294.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 10:18:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:18:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:18:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:18:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:18:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:18:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:18:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:18:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:18:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758714624001,"66":14298,"35":206,"28":31744,"24":44,"16":113249968243867648,"45":845269385558765568},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,45]} 
[2026-04-17 10:18:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:18:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:18:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758714624001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:18:02] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-17 10:18:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:18:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113249968243867648,"km_value":113249968243867.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:18:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":845269385558765568,"description":"Unknown IO ID 45"} 
[2026-04-17 10:18:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758714624001,"power":14298,"unknown_35":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":845269385558765568}} 
[2026-04-17 10:18:02] local.INFO: DEBUG: GPS processor result {"connection_id":45949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:18:02] local.INFO: GPS data processed {"connection_id":45949,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:18:02] local.INFO: Acknowledgment sent {"connection_id":45949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:18:06] local.INFO: TCP Data received {"connection_id":45755,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:18:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:18:06] local.INFO: Processing buffer {"connection_id":45755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:18:06] local.INFO: Packet analysis {"connection_id":45755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:18:06] local.INFO: Extracted packet for processing {"connection_id":45755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:18:06] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":22,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:18:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758613760001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:18:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776401136000,"timestamp_ms":1776401136000,"timestamp_seconds":1776401136,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c23980"} 
[2026-04-17 10:18:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:18:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 10:18:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:18:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:18:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:18:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:18:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:18:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45755,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:18:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:18:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:18:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:18:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758613760001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:18:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:18:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:18:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758613760001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:18:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:18:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:18:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:18:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:18:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758613760001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":45755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:18:06] local.INFO: GPS data processed {"connection_id":45755,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:18:06] local.INFO: Acknowledgment sent {"connection_id":45755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:18:18] local.INFO: TCP Data received {"connection_id":45756,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:18:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:18:18] local.INFO: Processing buffer {"connection_id":45756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:18:18] local.INFO: IMEI packet received {"connection_id":45756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:18:18] local.INFO: IMEI acknowledgment sent {"connection_id":45756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:18:19] local.INFO: TCP Data received {"connection_id":45756,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:18:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:18:19] local.INFO: Processing buffer {"connection_id":45756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:18:19] local.INFO: IMEI packet received {"connection_id":45756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:18:19] local.INFO: IMEI acknowledgment sent {"connection_id":45756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:18:22] local.INFO: TCP Data received {"connection_id":45756,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:18:22] local.INFO: Processing buffer {"connection_id":45756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:18:22] local.INFO: IMEI packet received {"connection_id":45756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":45756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:18:23] local.INFO: TCP Data received {"connection_id":45756,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c3b468012d0bc7000719b210002800951b..."} 
[2026-04-17 10:18:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c3b468012d0bc7000719b210002800951b..."} 
[2026-04-17 10:18:23] local.INFO: Processing buffer {"connection_id":45756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c3b468012d0bc7000719b210002800951b..."} 
[2026-04-17 10:18:23] local.INFO: Packet analysis {"connection_id":45756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c3"} 
[2026-04-17 10:18:23] local.INFO: Extracted packet for processing {"connection_id":45756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c3"} 
[2026-04-17 10:18:23] local.INFO: GPS Element Parsed {"raw_longitude":755746560,"raw_latitude":119124496,"longitude_deg":75.574656,"latitude_deg":11.9124496,"altitude":40,"angle":149,"satellites":27,"speed":42,"hex_longitude":"2d0bc700","hex_latitude":"0719b210","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:18:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758715136001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113250075618050048,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":847169341651222528,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:18:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776401233000,"timestamp_ms":1776401233000,"timestamp_seconds":1776401233,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c3b468"} 
[2026-04-17 10:18:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:18:23] 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-04-17 10: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-17 10:18:23] 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-04-17 10: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-04-17 10:18:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:18:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:18:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:18:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:18:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:18:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:18:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:18:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:18:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758715136001,"66":14265,"35":206,"28":31744,"24":42,"16":113250075618050048,"45":847169341651222528},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,45]} 
[2026-04-17 10:18:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:18:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:18:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758715136001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:18:23] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-17 10:18:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:18:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113250075618050048,"km_value":113250075618050.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:18:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":847169341651222528,"description":"Unknown IO ID 45"} 
[2026-04-17 10:18:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758715136001,"power":14265,"unknown_35":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":847169341651222528}} 
[2026-04-17 10:18:23] local.INFO: DEBUG: GPS processor result {"connection_id":45756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:18:23] local.INFO: GPS data processed {"connection_id":45756,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:18:23] local.INFO: Acknowledgment sent {"connection_id":45756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:18:26] local.INFO: TCP Data received {"connection_id":45756,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c3bc38012d0bca400719aaa8002600a21b..."} 
[2026-04-17 10:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c3bc38012d0bca400719aaa8002600a21b..."} 
[2026-04-17 10:18:26] local.INFO: Processing buffer {"connection_id":45756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c3bc38012d0bca400719aaa8002600a21b..."} 
[2026-04-17 10:18:26] local.INFO: Packet analysis {"connection_id":45756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c3"} 
[2026-04-17 10:18:26] local.INFO: Extracted packet for processing {"connection_id":45756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c3"} 
[2026-04-17 10:18:26] local.INFO: GPS Element Parsed {"raw_longitude":755747392,"raw_latitude":119122600,"longitude_deg":75.5747392,"latitude_deg":11.91226,"altitude":38,"angle":162,"satellites":27,"speed":42,"hex_longitude":"2d0bca40","hex_latitude":"0719aaa8","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758715648001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113250174402297856,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":848647085278498816,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776401235000,"timestamp_ms":1776401235000,"timestamp_seconds":1776401235,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c3bc38"} 
[2026-04-17 10:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 10:18:26] 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-04-17 10: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-04-17 10:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758715648001,"66":13656,"35":206,"28":31744,"24":42,"16":113250174402297856,"45":848647085278498816},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,45]} 
[2026-04-17 10:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758715648001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:18:26] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-17 10:18:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113250174402297856,"km_value":113250174402297.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":848647085278498816,"description":"Unknown IO ID 45"} 
[2026-04-17 10:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758715648001,"power":13656,"unknown_35":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":848647085278498816}} 
[2026-04-17 10:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":45756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:18:26] local.INFO: GPS data processed {"connection_id":45756,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:18:26] local.INFO: Acknowledgment sent {"connection_id":45756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:18:51] local.INFO: TCP Data received {"connection_id":45951,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:18:51] local.INFO: Processing buffer {"connection_id":45951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:18:51] local.INFO: IMEI packet received {"connection_id":45951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":45951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:18:56] local.INFO: TCP Data received {"connection_id":45951,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:18:56] local.INFO: Processing buffer {"connection_id":45951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:18:56] local.INFO: IMEI packet received {"connection_id":45951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":45951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:18:57] local.INFO: TCP Data received {"connection_id":45951,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:18:57] local.INFO: Processing buffer {"connection_id":45951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:18:57] local.INFO: Packet analysis {"connection_id":45951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:18:57] local.INFO: Extracted packet for processing {"connection_id":45951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:18:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":22,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:18: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-04-17 10:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758613760001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776401136000,"timestamp_ms":1776401136000,"timestamp_seconds":1776401136,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c23980"} 
[2026-04-17 10:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:18:57] local.INFO: IO Element 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-04-17 10:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:18: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-04-17 10:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758613760001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758613760001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:18:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:18:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758613760001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":45951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:18:57] local.INFO: GPS data processed {"connection_id":45951,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:18:57] local.INFO: Acknowledgment sent {"connection_id":45951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:18:58] local.INFO: TCP Data received {"connection_id":45756,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c3db78012d0bd100071988a8002300a71b..."} 
[2026-04-17 10:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c3db78012d0bd100071988a8002300a71b..."} 
[2026-04-17 10:18:58] local.INFO: Processing buffer {"connection_id":45756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c3db78012d0bd100071988a8002300a71b..."} 
[2026-04-17 10:18:58] local.INFO: Packet analysis {"connection_id":45756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c3"} 
[2026-04-17 10:18:58] local.INFO: Extracted packet for processing {"connection_id":45756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c3"} 
[2026-04-17 10:18:58] local.INFO: GPS Element Parsed {"raw_longitude":755749120,"raw_latitude":119113896,"longitude_deg":75.574912,"latitude_deg":11.9113896,"altitude":35,"angle":167,"satellites":27,"speed":48,"hex_longitude":"2d0bd100","hex_latitude":"071988a8","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758716160001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113250608193994752,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":849561878952323072,"note":"Value kept but may cause issues"} 
[2026-04-17 10:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776401243000,"timestamp_ms":1776401243000,"timestamp_seconds":1776401243,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c3db78"} 
[2026-04-17 10:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-17 10:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758716160001,"66":14374,"35":206,"28":31744,"24":48,"16":113250608193994752,"45":849561878952323072},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,45]} 
[2026-04-17 10:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758716160001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:18:58] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-17 10:18:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113250608193994752,"km_value":113250608193994.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":849561878952323072,"description":"Unknown IO ID 45"} 
[2026-04-17 10:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758716160001,"power":14374,"unknown_35":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":849561878952323072}} 
[2026-04-17 10:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":45756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:18:58] local.INFO: GPS data processed {"connection_id":45756,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:18:58] local.INFO: Acknowledgment sent {"connection_id":45756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:19:18] local.INFO: TCP Data received {"connection_id":45677,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:19:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:19:18] local.INFO: Processing buffer {"connection_id":45677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:19:18] local.INFO: IMEI packet received {"connection_id":45677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:19:18] local.INFO: IMEI acknowledgment sent {"connection_id":45677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:19:20] local.INFO: TCP Data received {"connection_id":45677,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45677,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:19:20] local.INFO: Processing buffer {"connection_id":45677,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:19:20] local.INFO: IMEI packet received {"connection_id":45677,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":45677,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:19:22] local.INFO: TCP Data received {"connection_id":45677,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c4e518012d0c5a4007187c20002a00761a..."} 
[2026-04-17 10:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c4e518012d0c5a4007187c20002a00761a..."} 
[2026-04-17 10:19:22] local.INFO: Processing buffer {"connection_id":45677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c4e518012d0c5a4007187c20002a00761a..."} 
[2026-04-17 10:19:22] local.INFO: Packet analysis {"connection_id":45677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c4"} 
[2026-04-17 10:19:22] local.INFO: Extracted packet for processing {"connection_id":45677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c4"} 
[2026-04-17 10:19:22] local.INFO: GPS Element Parsed {"raw_longitude":755784256,"raw_latitude":119045152,"longitude_deg":75.5784256,"latitude_deg":11.9045152,"altitude":42,"angle":118,"satellites":26,"speed":48,"hex_longitude":"2d0c5a40","hex_latitude":"07187c20","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:19:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758734080001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:19:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113254546679005184,"note":"Value kept but may cause issues"} 
[2026-04-17 10:19:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":883620351115624448,"note":"Value kept but may cause issues"} 
[2026-04-17 10:19:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:19:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776401311000,"timestamp_ms":1776401311000,"timestamp_seconds":1776401311,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c4e518"} 
[2026-04-17 10:19:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:19: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-04-17 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:19:22] 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-04-17 10: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-04-17 10:19:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:19:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:19:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:19:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:19:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:19:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:19:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:19:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:19:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758734080001,"66":13993,"64":206,"28":31744,"24":48,"16":113254546679005184,"45":883620351115624448},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,28,24,16,45]} 
[2026-04-17 10:19:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:19:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:19:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758734080001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:19:22] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-17 10:19:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:19:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113254546679005184,"km_value":113254546679005.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:19:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":883620351115624448,"description":"Unknown IO ID 45"} 
[2026-04-17 10:19:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758734080001,"power":13993,"unknown_64":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":883620351115624448}} 
[2026-04-17 10:19:22] local.INFO: DEBUG: GPS processor result {"connection_id":45677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:19:22] local.INFO: GPS data processed {"connection_id":45677,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:19:22] local.INFO: Acknowledgment sent {"connection_id":45677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:19:28] local.INFO: TCP Data received {"connection_id":45951,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:19:28] local.INFO: Processing buffer {"connection_id":45951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:19:28] local.INFO: Packet analysis {"connection_id":45951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:19:28] local.INFO: Extracted packet for processing {"connection_id":45951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:19:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":22,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758613760001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776401136000,"timestamp_ms":1776401136000,"timestamp_seconds":1776401136,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c23980"} 
[2026-04-17 10:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 10:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758613760001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758613760001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:19:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:19:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758613760001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":45951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:19:28] local.INFO: GPS data processed {"connection_id":45951,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:19:28] local.INFO: Acknowledgment sent {"connection_id":45951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:19:51] local.INFO: TCP Data received {"connection_id":46510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:19:51] local.INFO: Processing buffer {"connection_id":46510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:19:51] local.INFO: IMEI packet received {"connection_id":46510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":46510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:19:53] local.INFO: TCP Data received {"connection_id":45677,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c4f0d0012d0c6780071876e0002a006a18..."} 
[2026-04-17 10:19:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c4f0d0012d0c6780071876e0002a006a18..."} 
[2026-04-17 10:19:53] local.INFO: Processing buffer {"connection_id":45677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c4f0d0012d0c6780071876e0002a006a18..."} 
[2026-04-17 10:19:53] local.INFO: Packet analysis {"connection_id":45677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c4"} 
[2026-04-17 10:19:53] local.INFO: Extracted packet for processing {"connection_id":45677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c4"} 
[2026-04-17 10:19:53] local.INFO: GPS Element Parsed {"raw_longitude":755787648,"raw_latitude":119043808,"longitude_deg":75.5787648,"latitude_deg":11.9043808,"altitude":42,"angle":106,"satellites":24,"speed":47,"hex_longitude":"2d0c6780","hex_latitude":"071876e0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:19:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758735616001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:19:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113254722772664320,"note":"Value kept but may cause issues"} 
[2026-04-17 10:19:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":890094275578830848,"note":"Value kept but may cause issues"} 
[2026-04-17 10:19:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:19:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776401314000,"timestamp_ms":1776401314000,"timestamp_seconds":1776401314,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c4f0d0"} 
[2026-04-17 10:19:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:19: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-04-17 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:19:53] 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-04-17 10:19:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:19:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:19:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:19:53] local.INFO: Teltonika packet parsed successfully {"connection_id":45677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:19:53] local.INFO: Passing IMEI to GPS processor {"connection_id":45677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:19:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":45677,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:19:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:19:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:19:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:19:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758735616001,"66":13993,"64":206,"28":31744,"24":47,"16":113254722772664320,"45":890094275578830848},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,28,24,16,45]} 
[2026-04-17 10:19:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:19:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:19:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758735616001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:19:53] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-17 10:19:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:19:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113254722772664320,"km_value":113254722772664.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:19:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":890094275578830848,"description":"Unknown IO ID 45"} 
[2026-04-17 10:19:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758735616001,"power":13993,"unknown_64":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":890094275578830848}} 
[2026-04-17 10:19:54] local.INFO: DEBUG: GPS processor result {"connection_id":45677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:19:54] local.INFO: GPS data processed {"connection_id":45677,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:19:54] local.INFO: Acknowledgment sent {"connection_id":45677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:19:56] local.INFO: TCP Data received {"connection_id":46510,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46510,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:19:56] local.INFO: Processing buffer {"connection_id":46510,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:19:56] local.INFO: IMEI packet received {"connection_id":46510,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":46510,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:19:57] local.INFO: TCP Data received {"connection_id":46510,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:19:57] local.INFO: Processing buffer {"connection_id":46510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:19:57] local.INFO: Packet analysis {"connection_id":46510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:19:57] local.INFO: Extracted packet for processing {"connection_id":46510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:19:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":22,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758613760001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776401136000,"timestamp_ms":1776401136000,"timestamp_seconds":1776401136,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c23980"} 
[2026-04-17 10:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 10:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758613760001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758613760001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:19:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:19:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758613760001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":46510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:19:57] local.INFO: GPS data processed {"connection_id":46510,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:19:57] local.INFO: Acknowledgment sent {"connection_id":46510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:20:17] local.INFO: TCP Data received {"connection_id":45757,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:20:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:20:17] local.INFO: Processing buffer {"connection_id":45757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:20:17] local.INFO: IMEI packet received {"connection_id":45757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:20:17] local.INFO: IMEI acknowledgment sent {"connection_id":45757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:20:22] local.INFO: TCP Data received {"connection_id":45757,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45757,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:20:22] local.INFO: Processing buffer {"connection_id":45757,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:20:22] local.INFO: IMEI packet received {"connection_id":45757,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":45757,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:20:23] local.INFO: TCP Data received {"connection_id":45757,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c51010012d0c8e4007186fd8002c00671c..."} 
[2026-04-17 10:20:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c51010012d0c8e4007186fd8002c00671c..."} 
[2026-04-17 10:20:23] local.INFO: Processing buffer {"connection_id":45757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c51010012d0c8e4007186fd8002c00671c..."} 
[2026-04-17 10:20:23] local.INFO: Packet analysis {"connection_id":45757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c5"} 
[2026-04-17 10:20:23] local.INFO: Extracted packet for processing {"connection_id":45757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c5"} 
[2026-04-17 10:20:23] local.INFO: GPS Element Parsed {"raw_longitude":755797568,"raw_latitude":119042008,"longitude_deg":75.5797568,"latitude_deg":11.9042008,"altitude":44,"angle":103,"satellites":28,"speed":49,"hex_longitude":"2d0c8e40","hex_latitude":"07186fd8","is_valid_coordinates":true} 
[2026-04-17 10:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:20:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758736384001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:20:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113255199514034176,"note":"Value kept but may cause issues"} 
[2026-04-17 10:20:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":893823819019902976,"note":"Value kept but may cause issues"} 
[2026-04-17 10:20:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:20:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776401322000,"timestamp_ms":1776401322000,"timestamp_seconds":1776401322,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c51010"} 
[2026-04-17 10:20:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:20:23] 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-04-17 10:20:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:20:23] 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-04-17 10:20:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:20:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:20:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:20:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:20:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:20:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:20:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:20:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:20:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:20:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758736384001,"66":14048,"64":206,"28":31744,"24":49,"16":113255199514034176,"45":893823819019902976},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,28,24,16,45]} 
[2026-04-17 10:20:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:20:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:20:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758736384001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:20:23] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-17 10:20:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:20:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113255199514034176,"km_value":113255199514034.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:20:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":893823819019902976,"description":"Unknown IO ID 45"} 
[2026-04-17 10:20:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758736384001,"power":14048,"unknown_64":206,"unknown_28":31744,"ignition":49,"odometer":null,"unknown_45":893823819019902976}} 
[2026-04-17 10:20:23] local.INFO: DEBUG: GPS processor result {"connection_id":45757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:20:23] local.INFO: GPS data processed {"connection_id":45757,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:20:23] local.INFO: Acknowledgment sent {"connection_id":45757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:20:28] local.INFO: TCP Data received {"connection_id":46510,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46510,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:20:28] local.INFO: Processing buffer {"connection_id":46510,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:20:28] local.INFO: Packet analysis {"connection_id":46510,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:20:28] local.INFO: Extracted packet for processing {"connection_id":46510,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":22,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758613760001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776401136000,"timestamp_ms":1776401136000,"timestamp_seconds":1776401136,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c23980"} 
[2026-04-17 10:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 10:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46510,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46510,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758613760001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758613760001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:20:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758613760001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":46510,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:20:28] local.INFO: GPS data processed {"connection_id":46510,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:20:28] local.INFO: Acknowledgment sent {"connection_id":46510,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:20:51] local.INFO: TCP Data received {"connection_id":45679,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:20:51] local.INFO: Processing buffer {"connection_id":45679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:20:51] local.INFO: IMEI packet received {"connection_id":45679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":45679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:20:56] local.INFO: TCP Data received {"connection_id":45679,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45679,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:20:56] local.INFO: Processing buffer {"connection_id":45679,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:20:56] local.INFO: IMEI packet received {"connection_id":45679,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":45679,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:20:57] local.INFO: TCP Data received {"connection_id":45679,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:20:57] local.INFO: Processing buffer {"connection_id":45679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c23980012d7fad4005afe3500016009427..."} 
[2026-04-17 10:20:57] local.INFO: Packet analysis {"connection_id":45679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:20:57] local.INFO: Extracted packet for processing {"connection_id":45679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c2"} 
[2026-04-17 10:20:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":22,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758613760001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776401136000,"timestamp_ms":1776401136000,"timestamp_seconds":1776401136,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c23980"} 
[2026-04-17 10:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 10:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758613760001,"66":25375,"250":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758613760001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:20:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:20:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758613760001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":45679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20506,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:20:57] local.INFO: GPS data processed {"connection_id":45679,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:20:57] local.INFO: Acknowledgment sent {"connection_id":45679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:21:09] local.INFO: TCP Data received {"connection_id":45757,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c63120012d0d1940071761d0002500901b..."} 
[2026-04-17 10:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c63120012d0d1940071761d0002500901b..."} 
[2026-04-17 10:21:09] local.INFO: Processing buffer {"connection_id":45757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c63120012d0d1940071761d0002500901b..."} 
[2026-04-17 10:21:09] local.INFO: Packet analysis {"connection_id":45757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:21:09] local.INFO: Extracted packet for processing {"connection_id":45757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:21:09] local.INFO: GPS Element Parsed {"raw_longitude":755833152,"raw_latitude":118972880,"longitude_deg":75.5833152,"latitude_deg":11.897288,"altitude":37,"angle":144,"satellites":27,"speed":45,"hex_longitude":"2d0d1940","hex_latitude":"071761d0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:21:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758755328001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:21:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113259412876951552,"note":"Value kept but may cause issues"} 
[2026-04-17 10:21:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":938156127835551744,"note":"Value kept but may cause issues"} 
[2026-04-17 10:21:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,65,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:21:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776401396000,"timestamp_ms":1776401396000,"timestamp_seconds":1776401396,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c63120"} 
[2026-04-17 10:21:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:21:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-17 10:21:09] 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-04-17 10: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-04-17 10:21:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:21:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:21:09] local.INFO: Teltonika packet parsed successfully {"connection_id":45757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:21:09] local.INFO: Passing IMEI to GPS processor {"connection_id":45757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:21:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":45757,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:21:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:21:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:21:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:21:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758755328001,"66":14374,"65":206,"28":31744,"24":45,"16":113259412876951552,"45":938156127835551744},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,65,28,24,16,45]} 
[2026-04-17 10:21:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:21:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:21:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758755328001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:21:09] local.INFO: Unknown IO ID detected {"io_id":65,"value":206,"description":"Unknown IO ID 65"} 
[2026-04-17 10:21:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:21:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113259412876951552,"km_value":113259412876951.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:21:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":938156127835551744,"description":"Unknown IO ID 45"} 
[2026-04-17 10:21:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758755328001,"power":14374,"unknown_65":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":938156127835551744}} 
[2026-04-17 10:21:09] local.INFO: DEBUG: GPS processor result {"connection_id":45757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20507,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:21:09] local.INFO: GPS data processed {"connection_id":45757,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:21:09] local.INFO: Acknowledgment sent {"connection_id":45757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:21:17] local.INFO: TCP Data received {"connection_id":46512,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:21:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:21:17] local.INFO: Processing buffer {"connection_id":46512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:21:17] local.INFO: IMEI packet received {"connection_id":46512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:21:17] local.INFO: IMEI acknowledgment sent {"connection_id":46512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:21:21] local.INFO: TCP Data received {"connection_id":46512,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46512,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:21:21] local.INFO: Processing buffer {"connection_id":46512,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:21:21] local.INFO: IMEI packet received {"connection_id":46512,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":46512,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:21:22] local.INFO: TCP Data received {"connection_id":46512,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c65448012d0d2fc0071744480024008e1a..."} 
[2026-04-17 10:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c65448012d0d2fc0071744480024008e1a..."} 
[2026-04-17 10:21:22] local.INFO: Processing buffer {"connection_id":46512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c65448012d0d2fc0071744480024008e1a..."} 
[2026-04-17 10:21:22] local.INFO: Packet analysis {"connection_id":46512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:21:22] local.INFO: Extracted packet for processing {"connection_id":46512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:21:22] local.INFO: GPS Element Parsed {"raw_longitude":755838912,"raw_latitude":118965320,"longitude_deg":75.5838912,"latitude_deg":11.896532,"altitude":36,"angle":142,"satellites":26,"speed":37,"hex_longitude":"2d0d2fc0","hex_latitude":"07174448","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:21:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758757376001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:21:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113259872438452224,"note":"Value kept but may cause issues"} 
[2026-04-17 10:21:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":943855996112064512,"note":"Value kept but may cause issues"} 
[2026-04-17 10:21:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:21:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776401405000,"timestamp_ms":1776401405000,"timestamp_seconds":1776401405,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c65448"} 
[2026-04-17 10:21:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:21: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-04-17 10: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 10:21: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-04-17 10: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-04-17 10:21:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:21:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:21:22] local.INFO: Teltonika packet parsed successfully {"connection_id":46512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:21:22] local.INFO: Passing IMEI to GPS processor {"connection_id":46512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:21:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":46512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:21:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:21:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:21:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:21:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758757376001,"66":14004,"216":206,"28":31744,"24":37,"16":113259872438452224,"45":943855996112064512},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,28,24,16,45]} 
[2026-04-17 10:21:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:21:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:21:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758757376001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:21:23] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 10:21:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:21:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113259872438452224,"km_value":113259872438452.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:21:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":943855996112064512,"description":"Unknown IO ID 45"} 
[2026-04-17 10:21:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758757376001,"power":14004,"unknown_216":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":943855996112064512}} 
[2026-04-17 10:21:23] local.INFO: DEBUG: GPS processor result {"connection_id":46512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:21:23] local.INFO: GPS data processed {"connection_id":46512,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:21:23] local.INFO: Acknowledgment sent {"connection_id":46512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:21:28] local.INFO: TCP Data received {"connection_id":45679,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:21:28] local.INFO: Processing buffer {"connection_id":45679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:21:28] local.INFO: Packet analysis {"connection_id":45679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:21:28] local.INFO: Extracted packet for processing {"connection_id":45679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:21:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758690816001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776401437000,"timestamp_ms":1776401437000,"timestamp_seconds":1776401437,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c6d148"} 
[2026-04-17 10:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 10:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45679,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758690816001,"66":25299,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758690816001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:21:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:21:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758690816001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":45679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:21:28] local.INFO: GPS data processed {"connection_id":45679,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:21:28] local.INFO: Acknowledgment sent {"connection_id":45679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:21:51] local.INFO: TCP Data received {"connection_id":45953,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:21:51] local.INFO: Processing buffer {"connection_id":45953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:21:51] local.INFO: IMEI packet received {"connection_id":45953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":45953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:21:54] local.INFO: TCP Data received {"connection_id":46512,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c667d0012d0d3c4007173720002300821b..."} 
[2026-04-17 10:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46512,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c667d0012d0d3c4007173720002300821b..."} 
[2026-04-17 10:21:54] local.INFO: Processing buffer {"connection_id":46512,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c667d0012d0d3c4007173720002300821b..."} 
[2026-04-17 10:21:54] local.INFO: Packet analysis {"connection_id":46512,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:21:54] local.INFO: Extracted packet for processing {"connection_id":46512,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:21:54] local.INFO: GPS Element Parsed {"raw_longitude":755842112,"raw_latitude":118961952,"longitude_deg":75.5842112,"latitude_deg":11.8961952,"altitude":35,"angle":130,"satellites":27,"speed":37,"hex_longitude":"2d0d3c40","hex_latitude":"07173720","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:21:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758759680001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:21:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113260095776751616,"note":"Value kept but may cause issues"} 
[2026-04-17 10:21:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":950189183086118912,"note":"Value kept but may cause issues"} 
[2026-04-17 10:21:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:21:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776401410000,"timestamp_ms":1776401410000,"timestamp_seconds":1776401410,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c667d0"} 
[2026-04-17 10:21:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:21:54] 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-04-17 10: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 10:21:54] 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-04-17 10: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-04-17 10:21:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:21:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:21:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46512,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:21:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:21:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46512,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:21:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:21:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:21:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:21:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758759680001,"66":14004,"216":206,"28":31744,"24":37,"16":113260095776751616,"45":950189183086118912},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,28,24,16,45]} 
[2026-04-17 10:21:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:21:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:21:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758759680001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:21:54] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 10:21:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:21:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113260095776751616,"km_value":113260095776751.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:21:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":950189183086118912,"description":"Unknown IO ID 45"} 
[2026-04-17 10:21:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758759680001,"power":14004,"unknown_216":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":950189183086118912}} 
[2026-04-17 10:21:54] local.INFO: DEBUG: GPS processor result {"connection_id":46512,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:21:54] local.INFO: GPS data processed {"connection_id":46512,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:21:54] local.INFO: Acknowledgment sent {"connection_id":46512,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:21:56] local.INFO: TCP Data received {"connection_id":45953,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:21:56] local.INFO: Processing buffer {"connection_id":45953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:21:56] local.INFO: IMEI packet received {"connection_id":45953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":45953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:21:56] local.INFO: TCP Data received {"connection_id":45953,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:21:56] local.INFO: Processing buffer {"connection_id":45953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:21:56] local.INFO: Packet analysis {"connection_id":45953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:21:56] local.INFO: Extracted packet for processing {"connection_id":45953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758690816001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776401437000,"timestamp_ms":1776401437000,"timestamp_seconds":1776401437,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c6d148"} 
[2026-04-17 10:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 10:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758690816001,"66":25299,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758690816001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:21:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758690816001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":45953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:21:56] local.INFO: GPS data processed {"connection_id":45953,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:21:56] local.INFO: Acknowledgment sent {"connection_id":45953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:22:17] local.INFO: TCP Data received {"connection_id":45759,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:22:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:22:17] local.INFO: Processing buffer {"connection_id":45759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:22:17] local.INFO: IMEI packet received {"connection_id":45759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:22:17] local.INFO: IMEI acknowledgment sent {"connection_id":45759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:22:21] local.INFO: TCP Data received {"connection_id":45759,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:22:21] local.INFO: Processing buffer {"connection_id":45759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:22:21] local.INFO: IMEI packet received {"connection_id":45759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":45759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:22:22] local.INFO: TCP Data received {"connection_id":45759,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:22:22] local.INFO: Processing buffer {"connection_id":45759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:22:22] local.INFO: IMEI packet received {"connection_id":45759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":45759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:22:27] local.INFO: TCP Data received {"connection_id":45759,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c77940012d0d2b0007160cd0001800c21a..."} 
[2026-04-17 10:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c77940012d0d2b0007160cd0001800c21a..."} 
[2026-04-17 10:22:27] local.INFO: Processing buffer {"connection_id":45759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c77940012d0d2b0007160cd0001800c21a..."} 
[2026-04-17 10:22:27] local.INFO: Packet analysis {"connection_id":45759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c7"} 
[2026-04-17 10:22:27] local.INFO: Extracted packet for processing {"connection_id":45759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c7"} 
[2026-04-17 10:22:27] local.INFO: GPS Element Parsed {"raw_longitude":755837696,"raw_latitude":118885584,"longitude_deg":75.5837696,"latitude_deg":11.8885584,"altitude":24,"angle":194,"satellites":26,"speed":45,"hex_longitude":"2d0d2b00","hex_latitude":"07160cd0","is_valid_coordinates":true} 
[2026-04-17 10:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758776832001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113264102981238784,"note":"Value kept but may cause issues"} 
[2026-04-17 10:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":951807664184039424,"note":"Value kept but may cause issues"} 
[2026-04-17 10:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776401480000,"timestamp_ms":1776401480000,"timestamp_seconds":1776401480,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c77940"} 
[2026-04-17 10:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:22: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-04-17 10:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 10:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758776832001,"66":14407,"215":206,"28":31744,"24":45,"16":113264102981238784,"45":951807664184039424},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,28,24,16,45]} 
[2026-04-17 10:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758776832001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:22:27] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-04-17 10:22:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113264102981238784,"km_value":113264102981238.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":951807664184039424,"description":"Unknown IO ID 45"} 
[2026-04-17 10:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758776832001,"power":14407,"unknown_215":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":951807664184039424}} 
[2026-04-17 10:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":45759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:22:27] local.INFO: GPS data processed {"connection_id":45759,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:22:27] local.INFO: Acknowledgment sent {"connection_id":45759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:22:28] local.INFO: TCP Data received {"connection_id":45953,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:22:28] local.INFO: Processing buffer {"connection_id":45953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:22:28] local.INFO: Packet analysis {"connection_id":45953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:22:28] local.INFO: Extracted packet for processing {"connection_id":45953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:22:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758690816001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776401437000,"timestamp_ms":1776401437000,"timestamp_seconds":1776401437,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c6d148"} 
[2026-04-17 10:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 10:22:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758690816001,"66":25299,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758690816001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:22:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:22:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758690816001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":45953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:22:28] local.INFO: GPS data processed {"connection_id":45953,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:22:28] local.INFO: Acknowledgment sent {"connection_id":45953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:22:34] local.INFO: TCP Data received {"connection_id":45759,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c79880012d0d21800715e818001500bd1a..."} 
[2026-04-17 10:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c79880012d0d21800715e818001500bd1a..."} 
[2026-04-17 10:22:34] local.INFO: Processing buffer {"connection_id":45759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c79880012d0d21800715e818001500bd1a..."} 
[2026-04-17 10:22:34] local.INFO: Packet analysis {"connection_id":45759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c7"} 
[2026-04-17 10:22:34] local.INFO: Extracted packet for processing {"connection_id":45759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c7"} 
[2026-04-17 10:22:34] local.INFO: GPS Element Parsed {"raw_longitude":755835264,"raw_latitude":118876184,"longitude_deg":75.5835264,"latitude_deg":11.8876184,"altitude":21,"angle":189,"satellites":26,"speed":50,"hex_longitude":"2d0d2180","hex_latitude":"0715e818","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:22:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758778880001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:22:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113264571132674048,"note":"Value kept but may cause issues"} 
[2026-04-17 10:22:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":948852176926330880,"note":"Value kept but may cause issues"} 
[2026-04-17 10:22:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,215,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:22:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776401488000,"timestamp_ms":1776401488000,"timestamp_seconds":1776401488,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c79880"} 
[2026-04-17 10:22:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:22:34] 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-04-17 10:22:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 10:22: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-04-17 10: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-04-17 10:22:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:22:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:22:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:22:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:22:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45759,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:22:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:22:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:22:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:22:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758778880001,"66":14374,"215":206,"28":31744,"24":50,"16":113264571132674048,"45":948852176926330880},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,215,28,24,16,45]} 
[2026-04-17 10:22:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:22:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:22:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758778880001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:22:34] local.INFO: Unknown IO ID detected {"io_id":215,"value":206,"description":"Unknown IO ID 215"} 
[2026-04-17 10:22:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:22:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113264571132674048,"km_value":113264571132674.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:22:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":948852176926330880,"description":"Unknown IO ID 45"} 
[2026-04-17 10:22:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758778880001,"power":14374,"unknown_215":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":948852176926330880}} 
[2026-04-17 10:22:34] local.INFO: DEBUG: GPS processor result {"connection_id":45759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:22:34] local.INFO: GPS data processed {"connection_id":45759,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:22:34] local.INFO: Acknowledgment sent {"connection_id":45759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:22:45] local.INFO: TCP Data received {"connection_id":45758,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:22:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:22:45] local.INFO: Processing buffer {"connection_id":45758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:22:45] local.INFO: IMEI packet received {"connection_id":45758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:22:45] local.INFO: IMEI acknowledgment sent {"connection_id":45758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:22:46] local.INFO: TCP Data received {"connection_id":45758,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c850180100000000000000000000000000..."} 
[2026-04-17 10:22:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c850180100000000000000000000000000..."} 
[2026-04-17 10:22:46] local.INFO: Processing buffer {"connection_id":45758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c850180100000000000000000000000000..."} 
[2026-04-17 10:22:46] local.INFO: Packet analysis {"connection_id":45758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c8"} 
[2026-04-17 10:22:46] local.INFO: Extracted packet for processing {"connection_id":45758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c8"} 
[2026-04-17 10:22: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-04-17 10:22:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:22:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758775808001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:22:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:22:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2125065734719563776,"note":"Value kept but may cause issues"} 
[2026-04-17 10:22:46] 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-04-17 10:22:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776401535000,"timestamp_ms":1776401535000,"timestamp_seconds":1776401535,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c85018"} 
[2026-04-17 10:22:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:22:46] 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-04-17 10: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":111,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-04-17 10:22:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2148,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:22:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:22:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:22:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:22:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:22:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:22:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:22:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:22:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:22:46] local.INFO: DEBUG: GPS processor result {"connection_id":45758,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 10:22:46] local.INFO: GPS data processed {"connection_id":45758,"processed":0,"errors":0,"total":1} 
[2026-04-17 10:22:46] local.INFO: Acknowledgment sent {"connection_id":45758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:22:51] local.INFO: TCP Data received {"connection_id":46513,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:22:51] local.INFO: Processing buffer {"connection_id":46513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:22:51] local.INFO: IMEI packet received {"connection_id":46513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":46513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:22:56] local.INFO: TCP Data received {"connection_id":46513,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46513,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:22:56] local.INFO: Processing buffer {"connection_id":46513,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:22:56] local.INFO: IMEI packet received {"connection_id":46513,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":46513,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:22:56] local.INFO: TCP Data received {"connection_id":46513,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:22:56] local.INFO: Processing buffer {"connection_id":46513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:22:56] local.INFO: Packet analysis {"connection_id":46513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:22:56] local.INFO: Extracted packet for processing {"connection_id":46513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:22:56] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758690816001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776401437000,"timestamp_ms":1776401437000,"timestamp_seconds":1776401437,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c6d148"} 
[2026-04-17 10:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 10:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758690816001,"66":25299,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758690816001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:22:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758690816001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":46513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:22:57] local.INFO: GPS data processed {"connection_id":46513,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:22:57] local.INFO: Acknowledgment sent {"connection_id":46513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:23:05] local.INFO: TCP Data received {"connection_id":45760,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:23:05] local.INFO: Processing buffer {"connection_id":45760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:23:05] local.INFO: IMEI packet received {"connection_id":45760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":45760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:23:10] local.INFO: TCP Data received {"connection_id":45760,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45760,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:23:10] local.INFO: Processing buffer {"connection_id":45760,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:23:10] local.INFO: IMEI packet received {"connection_id":45760,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":45760,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:23:11] local.INFO: TCP Data received {"connection_id":45760,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c7aff0012d1da44006d229f8000e008631..."} 
[2026-04-17 10:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c7aff0012d1da44006d229f8000e008631..."} 
[2026-04-17 10:23:11] local.INFO: Processing buffer {"connection_id":45760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c7aff0012d1da44006d229f8000e008631..."} 
[2026-04-17 10:23:11] local.INFO: Packet analysis {"connection_id":45760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c7"} 
[2026-04-17 10:23:11] local.INFO: Extracted packet for processing {"connection_id":45760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c7"} 
[2026-04-17 10:23:11] local.INFO: GPS Element Parsed {"raw_longitude":756917312,"raw_latitude":114436600,"longitude_deg":75.6917312,"latitude_deg":11.44366,"altitude":14,"angle":134,"satellites":49,"speed":16,"hex_longitude":"2d1da440","hex_latitude":"06d229f8","is_valid_coordinates":true} 
[2026-04-17 10:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:23:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,79,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 10:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776401494000,"timestamp_ms":1776401494000,"timestamp_seconds":1776401494,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c7aff0"} 
[2026-04-17 10:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:23: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-17 10:23:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:23:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28637,"79":206,"2":56576,"24":16,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16]} 
[2026-04-17 10:23:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:23:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:23:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 10:23:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-04-17 10:23:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:23:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28637,"unknown_79":206,"power_alt":56576,"ignition":16,"odometer":null}} 
[2026-04-17 10:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":45760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20516,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:23:11] local.INFO: GPS data processed {"connection_id":45760,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:23:11] local.INFO: Acknowledgment sent {"connection_id":45760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:23:17] local.INFO: TCP Data received {"connection_id":45680,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:23:17] local.INFO: Processing buffer {"connection_id":45680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:23:17] local.INFO: IMEI packet received {"connection_id":45680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":45680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:23:18] local.INFO: TCP Data received {"connection_id":45680,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:23:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:23:18] local.INFO: Processing buffer {"connection_id":45680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:23:18] local.INFO: IMEI packet received {"connection_id":45680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:23:18] local.INFO: IMEI acknowledgment sent {"connection_id":45680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:23:23] local.INFO: TCP Data received {"connection_id":45680,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45680,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:23:23] local.INFO: Processing buffer {"connection_id":45680,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:23:23] local.INFO: IMEI packet received {"connection_id":45680,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":45680,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:23:24] local.INFO: TCP Data received {"connection_id":45680,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c89668012d0ca0400714eb98001600ce1a..."} 
[2026-04-17 10:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c89668012d0ca0400714eb98001600ce1a..."} 
[2026-04-17 10:23:24] local.INFO: Processing buffer {"connection_id":45680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c89668012d0ca0400714eb98001600ce1a..."} 
[2026-04-17 10:23:24] local.INFO: Packet analysis {"connection_id":45680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c8"} 
[2026-04-17 10:23:24] local.INFO: Extracted packet for processing {"connection_id":45680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c8"} 
[2026-04-17 10:23:24] local.INFO: GPS Element Parsed {"raw_longitude":755802176,"raw_latitude":118811544,"longitude_deg":75.5802176,"latitude_deg":11.8811544,"altitude":22,"angle":206,"satellites":26,"speed":44,"hex_longitude":"2d0ca040","hex_latitude":"0714eb98","is_valid_coordinates":true} 
[2026-04-17 10:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758797056001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113268342113959936,"note":"Value kept but may cause issues"} 
[2026-04-17 10:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":911134530028646400,"note":"Value kept but may cause issues"} 
[2026-04-17 10:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776401553000,"timestamp_ms":1776401553000,"timestamp_seconds":1776401553,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c89668"} 
[2026-04-17 10:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:23:24] 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-04-17 10:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-17 10:23:24] 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-04-17 10:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:23:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758797056001,"66":13972,"226":206,"28":31744,"24":44,"16":113268342113959936,"45":911134530028646400},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,28,24,16,45]} 
[2026-04-17 10:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758797056001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:23:24] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-04-17 10:23:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113268342113959936,"km_value":113268342113959.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":911134530028646400,"description":"Unknown IO ID 45"} 
[2026-04-17 10:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758797056001,"power":13972,"unknown_226":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":911134530028646400}} 
[2026-04-17 10:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":45680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:23:24] local.INFO: GPS data processed {"connection_id":45680,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:23:24] local.INFO: Acknowledgment sent {"connection_id":45680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:23:27] local.INFO: TCP Data received {"connection_id":46513,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:23:27] local.INFO: Processing buffer {"connection_id":46513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:23:27] local.INFO: Packet analysis {"connection_id":46513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:23:27] local.INFO: Extracted packet for processing {"connection_id":46513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758690816001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776401437000,"timestamp_ms":1776401437000,"timestamp_seconds":1776401437,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c6d148"} 
[2026-04-17 10:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 10:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46513,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758690816001,"66":25299,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758690816001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:23:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:23:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758690816001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":46513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:23:27] local.INFO: GPS data processed {"connection_id":46513,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:23:27] local.INFO: Acknowledgment sent {"connection_id":46513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:23:43] local.INFO: TCP Data received {"connection_id":45760,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c801f8012d1da44006d229f8000e008631..."} 
[2026-04-17 10:23:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c801f8012d1da44006d229f8000e008631..."} 
[2026-04-17 10:23:43] local.INFO: Processing buffer {"connection_id":45760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c801f8012d1da44006d229f8000e008631..."} 
[2026-04-17 10:23:43] local.INFO: Packet analysis {"connection_id":45760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c8"} 
[2026-04-17 10:23:43] local.INFO: Extracted packet for processing {"connection_id":45760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c8"} 
[2026-04-17 10:23:43] local.INFO: GPS Element Parsed {"raw_longitude":756917312,"raw_latitude":114436600,"longitude_deg":75.6917312,"latitude_deg":11.44366,"altitude":14,"angle":134,"satellites":49,"speed":0,"hex_longitude":"2d1da440","hex_latitude":"06d229f8","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:23:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758782464001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:23:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:23:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2135902521320404992,"note":"Value kept but may cause issues"} 
[2026-04-17 10:23:43] 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-04-17 10:23:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776401515000,"timestamp_ms":1776401515000,"timestamp_seconds":1776401515,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c801f8"} 
[2026-04-17 10:23:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:23:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":111,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-17 10:23:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2742,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:23:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:23:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:23:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:23:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:23:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45760,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:23:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:23:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:23:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:23:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758782464001,"66":28637,"79":206,"2":56576,"24":0,"16":106618783551979520,"45":2135902521320404992},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-04-17 10:23:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:23:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:23:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758782464001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:23:43] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-04-17 10:23:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:23:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2135902521320404992,"description":"Unknown IO ID 45"} 
[2026-04-17 10:23:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758782464001,"power":28637,"unknown_79":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2135902521320404992}} 
[2026-04-17 10:23:43] local.INFO: DEBUG: GPS processor result {"connection_id":45760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20519,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:23:43] local.INFO: GPS data processed {"connection_id":45760,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:23:43] local.INFO: Acknowledgment sent {"connection_id":45760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:23:51] local.INFO: TCP Data received {"connection_id":45681,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:23:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:23:51] local.INFO: Processing buffer {"connection_id":45681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:23:51] local.INFO: IMEI packet received {"connection_id":45681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:23:51] local.INFO: IMEI acknowledgment sent {"connection_id":45681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:23:56] local.INFO: TCP Data received {"connection_id":45681,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45681,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:23:56] local.INFO: Processing buffer {"connection_id":45681,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:23:56] local.INFO: IMEI packet received {"connection_id":45681,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":45681,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:23:56] local.INFO: TCP Data received {"connection_id":45680,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c8a220012d0c9c800714df18001600bc1a..."} 
[2026-04-17 10:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45680,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c8a220012d0c9c800714df18001600bc1a..."} 
[2026-04-17 10:23:56] local.INFO: Processing buffer {"connection_id":45680,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c8a220012d0c9c800714df18001600bc1a..."} 
[2026-04-17 10:23:56] local.INFO: Packet analysis {"connection_id":45680,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c8"} 
[2026-04-17 10:23:56] local.INFO: Extracted packet for processing {"connection_id":45680,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c8"} 
[2026-04-17 10:23:56] local.INFO: GPS Element Parsed {"raw_longitude":755801216,"raw_latitude":118808344,"longitude_deg":75.5801216,"latitude_deg":11.8808344,"altitude":22,"angle":188,"satellites":26,"speed":44,"hex_longitude":"2d0c9c80","hex_latitude":"0714df18","is_valid_coordinates":true} 
[2026-04-17 10:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758797568001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113268501027749888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":909797523888773120,"note":"Value kept but may cause issues"} 
[2026-04-17 10:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776401556000,"timestamp_ms":1776401556000,"timestamp_seconds":1776401556,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c8a220"} 
[2026-04-17 10:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:23: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-04-17 10:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-17 10:23: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-04-17 10:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45680,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45680,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758797568001,"66":14265,"226":206,"28":31744,"24":44,"16":113268501027749888,"45":909797523888773120},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,28,24,16,45]} 
[2026-04-17 10:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758797568001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:23:56] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-04-17 10:23:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113268501027749888,"km_value":113268501027749.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":909797523888773120,"description":"Unknown IO ID 45"} 
[2026-04-17 10:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758797568001,"power":14265,"unknown_226":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":909797523888773120}} 
[2026-04-17 10:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":45680,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:23:56] local.INFO: GPS data processed {"connection_id":45680,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:23:56] local.INFO: Acknowledgment sent {"connection_id":45680,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:23:57] local.INFO: TCP Data received {"connection_id":45681,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:23:57] local.INFO: Processing buffer {"connection_id":45681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:23:57] local.INFO: Packet analysis {"connection_id":45681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:23:57] local.INFO: Extracted packet for processing {"connection_id":45681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:23:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758690816001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776401437000,"timestamp_ms":1776401437000,"timestamp_seconds":1776401437,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c6d148"} 
[2026-04-17 10:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 10:23:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758690816001,"66":25299,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758690816001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:23:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:23:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758690816001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":45681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:23:57] local.INFO: GPS data processed {"connection_id":45681,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:23:57] local.INFO: Acknowledgment sent {"connection_id":45681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:24:05] local.INFO: TCP Data received {"connection_id":45954,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:24:05] local.INFO: Processing buffer {"connection_id":45954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:24:05] local.INFO: IMEI packet received {"connection_id":45954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":45954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:24:10] local.INFO: TCP Data received {"connection_id":45954,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45954,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:24:10] local.INFO: Processing buffer {"connection_id":45954,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:24:10] local.INFO: IMEI packet received {"connection_id":45954,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":45954,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:24:11] local.INFO: TCP Data received {"connection_id":45954,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c85400012d1dc34006d20e80000d008330..."} 
[2026-04-17 10:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c85400012d1dc34006d20e80000d008330..."} 
[2026-04-17 10:24:11] local.INFO: Processing buffer {"connection_id":45954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c85400012d1dc34006d20e80000d008330..."} 
[2026-04-17 10:24:11] local.INFO: Packet analysis {"connection_id":45954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c8"} 
[2026-04-17 10:24:11] local.INFO: Extracted packet for processing {"connection_id":45954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c8"} 
[2026-04-17 10:24:11] local.INFO: GPS Element Parsed {"raw_longitude":756925248,"raw_latitude":114429568,"longitude_deg":75.6925248,"latitude_deg":11.4429568,"altitude":13,"angle":131,"satellites":48,"speed":0,"hex_longitude":"2d1dc340","hex_latitude":"06d20e80","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758787840001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2135902521320404992,"note":"Value kept but may cause issues"} 
[2026-04-17 10:24:11] 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-04-17 10:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776401536000,"timestamp_ms":1776401536000,"timestamp_seconds":1776401536,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c85400"} 
[2026-04-17 10:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:24:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":111,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-17 10:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2742,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758787840001,"66":28495,"79":206,"2":56576,"24":0,"16":106618783551979520,"45":2135902521320404992},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,2,24,16,45]} 
[2026-04-17 10:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758787840001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:24:11] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-04-17 10:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2135902521320404992,"description":"Unknown IO ID 45"} 
[2026-04-17 10:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758787840001,"power":28495,"unknown_79":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2135902521320404992}} 
[2026-04-17 10:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":45954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20522,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:24:11] local.INFO: GPS data processed {"connection_id":45954,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:24:11] local.INFO: Acknowledgment sent {"connection_id":45954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:24:18] local.INFO: TCP Data received {"connection_id":46514,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:24:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:24:18] local.INFO: Processing buffer {"connection_id":46514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:24:18] local.INFO: IMEI packet received {"connection_id":46514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:24:18] local.INFO: IMEI acknowledgment sent {"connection_id":46514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:24:21] local.INFO: TCP Data received {"connection_id":46514,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:24:21] local.INFO: Processing buffer {"connection_id":46514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:24:21] local.INFO: IMEI packet received {"connection_id":46514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":46514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:24:22] local.INFO: TCP Data received {"connection_id":46514,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46514,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:24:22] local.INFO: Processing buffer {"connection_id":46514,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:24:22] local.INFO: IMEI packet received {"connection_id":46514,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":46514,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:24:23] local.INFO: TCP Data received {"connection_id":46514,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c96188012d0c404007141b90001300b31a..."} 
[2026-04-17 10:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c96188012d0c404007141b90001300b31a..."} 
[2026-04-17 10:24:23] local.INFO: Processing buffer {"connection_id":46514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c96188012d0c404007141b90001300b31a..."} 
[2026-04-17 10:24:23] local.INFO: Packet analysis {"connection_id":46514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c9"} 
[2026-04-17 10:24:23] local.INFO: Extracted packet for processing {"connection_id":46514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c9"} 
[2026-04-17 10:24:23] local.INFO: GPS Element Parsed {"raw_longitude":755777600,"raw_latitude":118758288,"longitude_deg":75.57776,"latitude_deg":11.8758288,"altitude":19,"angle":179,"satellites":26,"speed":39,"hex_longitude":"2d0c4040","hex_latitude":"07141b90","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758810368001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113271400130674688,"note":"Value kept but may cause issues"} 
[2026-04-17 10:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882916663599814656,"note":"Value kept but may cause issues"} 
[2026-04-17 10:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776401605000,"timestamp_ms":1776401605000,"timestamp_seconds":1776401605,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c96188"} 
[2026-04-17 10:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:24:23] 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-04-17 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:24:23] 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-04-17 10:24: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-04-17 10:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":46514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":46514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":46514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758810368001,"66":13993,"226":206,"28":31744,"24":39,"16":113271400130674688,"45":882916663599814656},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,28,24,16,45]} 
[2026-04-17 10:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758810368001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:24:23] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-04-17 10:24:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113271400130674688,"km_value":113271400130674.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":882916663599814656,"description":"Unknown IO ID 45"} 
[2026-04-17 10:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758810368001,"power":13993,"unknown_226":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":882916663599814656}} 
[2026-04-17 10:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":46514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:24:23] local.INFO: GPS data processed {"connection_id":46514,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:24:23] local.INFO: Acknowledgment sent {"connection_id":46514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:24:28] local.INFO: TCP Data received {"connection_id":45681,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:24:28] local.INFO: Processing buffer {"connection_id":45681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:24:28] local.INFO: Packet analysis {"connection_id":45681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:24:28] local.INFO: Extracted packet for processing {"connection_id":45681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:24:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758690816001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776401437000,"timestamp_ms":1776401437000,"timestamp_seconds":1776401437,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c6d148"} 
[2026-04-17 10:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 10:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45681,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758690816001,"66":25299,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758690816001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:24:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758690816001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":45681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:24:28] local.INFO: GPS data processed {"connection_id":45681,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:24:28] local.INFO: Acknowledgment sent {"connection_id":45681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:24:44] local.INFO: TCP Data received {"connection_id":45954,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c8a608012d1dc34006d20e80000d008330..."} 
[2026-04-17 10:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c8a608012d1dc34006d20e80000d008330..."} 
[2026-04-17 10:24:44] local.INFO: Processing buffer {"connection_id":45954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c8a608012d1dc34006d20e80000d008330..."} 
[2026-04-17 10:24:44] local.INFO: Packet analysis {"connection_id":45954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c8"} 
[2026-04-17 10:24:44] local.INFO: Extracted packet for processing {"connection_id":45954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c8"} 
[2026-04-17 10:24:44] local.INFO: GPS Element Parsed {"raw_longitude":756925248,"raw_latitude":114429568,"longitude_deg":75.6925248,"latitude_deg":11.4429568,"altitude":13,"angle":131,"satellites":48,"speed":0,"hex_longitude":"2d1dc340","hex_latitude":"06d20e80","is_valid_coordinates":true} 
[2026-04-17 10:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758793216001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2144628245596635136,"note":"Value kept but may cause issues"} 
[2026-04-17 10:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776401557000,"timestamp_ms":1776401557000,"timestamp_seconds":1776401557,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c8a608"} 
[2026-04-17 10:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:24:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-17 10:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45954,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758793216001,"66":28332,"77":206,"2":56576,"24":0,"16":106618783551979520,"45":2144628245596635136},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-04-17 10:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758793216001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:24:44] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-04-17 10:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2144628245596635136,"description":"Unknown IO ID 45"} 
[2026-04-17 10:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758793216001,"power":28332,"unknown_77":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2144628245596635136}} 
[2026-04-17 10:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":45954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20525,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:24:44] local.INFO: GPS data processed {"connection_id":45954,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:24:44] local.INFO: Acknowledgment sent {"connection_id":45954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:24:51] local.INFO: TCP Data received {"connection_id":46515,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:24:51] local.INFO: Processing buffer {"connection_id":46515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:24:51] local.INFO: IMEI packet received {"connection_id":46515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":46515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:24:55] local.INFO: TCP Data received {"connection_id":46514,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c97128012d0c3f8007140da0001400c11a..."} 
[2026-04-17 10:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c97128012d0c3f8007140da0001400c11a..."} 
[2026-04-17 10:24:55] local.INFO: Processing buffer {"connection_id":46514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c97128012d0c3f8007140da0001400c11a..."} 
[2026-04-17 10:24:55] local.INFO: Packet analysis {"connection_id":46514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c9"} 
[2026-04-17 10:24:55] local.INFO: Extracted packet for processing {"connection_id":46514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c9"} 
[2026-04-17 10:24:55] local.INFO: GPS Element Parsed {"raw_longitude":755777408,"raw_latitude":118754720,"longitude_deg":75.5777408,"latitude_deg":11.875472,"altitude":20,"angle":193,"satellites":26,"speed":33,"hex_longitude":"2d0c3f80","hex_latitude":"07140da0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758810880001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113271571929366528,"note":"Value kept but may cause issues"} 
[2026-04-17 10:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882775926110916608,"note":"Value kept but may cause issues"} 
[2026-04-17 10:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776401609000,"timestamp_ms":1776401609000,"timestamp_seconds":1776401609,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c97128"} 
[2026-04-17 10:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:24: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-04-17 10:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:24: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-04-17 10:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46514,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758810880001,"66":14070,"226":206,"28":31744,"24":33,"16":113271571929366528,"45":882775926110916608},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,28,24,16,45]} 
[2026-04-17 10:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758810880001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:24:55] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-04-17 10:24:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113271571929366528,"km_value":113271571929366.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":882775926110916608,"description":"Unknown IO ID 45"} 
[2026-04-17 10:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758810880001,"power":14070,"unknown_226":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":882775926110916608}} 
[2026-04-17 10:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":46514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:24:55] local.INFO: GPS data processed {"connection_id":46514,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:24:55] local.INFO: Acknowledgment sent {"connection_id":46514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:24:56] local.INFO: TCP Data received {"connection_id":46515,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46515,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:24:56] local.INFO: Processing buffer {"connection_id":46515,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:24:56] local.INFO: IMEI packet received {"connection_id":46515,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":46515,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:24:57] local.INFO: TCP Data received {"connection_id":46515,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:24:57] local.INFO: Processing buffer {"connection_id":46515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:24:57] local.INFO: Packet analysis {"connection_id":46515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:24:57] local.INFO: Extracted packet for processing {"connection_id":46515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:24:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 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-04-17 10:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758690816001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776401437000,"timestamp_ms":1776401437000,"timestamp_seconds":1776401437,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c6d148"} 
[2026-04-17 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-04-17 10:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 10:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 10:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758690816001,"66":25299,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758690816001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:24:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:24:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758690816001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":46515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:24:57] local.INFO: GPS data processed {"connection_id":46515,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:24:57] local.INFO: Acknowledgment sent {"connection_id":46515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:25:05] local.INFO: TCP Data received {"connection_id":45955,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:25:05] local.INFO: Processing buffer {"connection_id":45955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:25:05] local.INFO: IMEI packet received {"connection_id":45955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:25:05] local.INFO: IMEI acknowledgment sent {"connection_id":45955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:25:10] local.INFO: TCP Data received {"connection_id":45955,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45955,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:25:10] local.INFO: Processing buffer {"connection_id":45955,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:25:10] local.INFO: IMEI packet received {"connection_id":45955,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":45955,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:25:12] local.INFO: TCP Data received {"connection_id":45955,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c8f810012d1de54006d1f058000d00852e..."} 
[2026-04-17 10:25:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c8f810012d1de54006d1f058000d00852e..."} 
[2026-04-17 10:25:12] local.INFO: Processing buffer {"connection_id":45955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c8f810012d1de54006d1f058000d00852e..."} 
[2026-04-17 10:25:12] local.INFO: Packet analysis {"connection_id":45955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c8"} 
[2026-04-17 10:25:12] local.INFO: Extracted packet for processing {"connection_id":45955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c8"} 
[2026-04-17 10:25:12] local.INFO: GPS Element Parsed {"raw_longitude":756933952,"raw_latitude":114421848,"longitude_deg":75.6933952,"latitude_deg":11.4421848,"altitude":13,"angle":133,"satellites":46,"speed":0,"hex_longitude":"2d1de540","hex_latitude":"06d1f058","is_valid_coordinates":true} 
[2026-04-17 10:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:25:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758798592001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:25:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:25:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2144628245596635136,"note":"Value kept but may cause issues"} 
[2026-04-17 10:25:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:25:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776401578000,"timestamp_ms":1776401578000,"timestamp_seconds":1776401578,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c8f810"} 
[2026-04-17 10:25:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:25:12] 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-04-17 10:25:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-17 10:25:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:25:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:25:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:25:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:25:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:25:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:25:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:25:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:25:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:25:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:25:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758798592001,"66":28604,"77":206,"2":56576,"24":0,"16":106618783551979520,"45":2144628245596635136},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-04-17 10:25:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:25:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:25:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758798592001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:25:12] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-04-17 10:25:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:25:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2144628245596635136,"description":"Unknown IO ID 45"} 
[2026-04-17 10:25:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758798592001,"power":28604,"unknown_77":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2144628245596635136}} 
[2026-04-17 10:25:12] local.INFO: DEBUG: GPS processor result {"connection_id":45955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20528,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:25:12] local.INFO: GPS data processed {"connection_id":45955,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:25:12] local.INFO: Acknowledgment sent {"connection_id":45955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:25:22] local.INFO: TCP Data received {"connection_id":45761,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:25:22] local.INFO: Processing buffer {"connection_id":45761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:25:22] local.INFO: IMEI packet received {"connection_id":45761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":45761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:25:22] local.INFO: TCP Data received {"connection_id":45761,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:25:22] local.INFO: Processing buffer {"connection_id":45761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:25:22] local.INFO: IMEI packet received {"connection_id":45761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":45761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:25:27] local.INFO: TCP Data received {"connection_id":45761,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:25:27] local.INFO: Processing buffer {"connection_id":45761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:25:27] local.INFO: IMEI packet received {"connection_id":45761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:25:27] local.INFO: IMEI acknowledgment sent {"connection_id":45761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:25:27] local.INFO: TCP Data received {"connection_id":46515,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46515,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:25:27] local.INFO: Processing buffer {"connection_id":46515,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:25:27] local.INFO: Packet analysis {"connection_id":46515,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:25:27] local.INFO: Extracted packet for processing {"connection_id":46515,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758690816001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776401437000,"timestamp_ms":1776401437000,"timestamp_seconds":1776401437,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c6d148"} 
[2026-04-17 10:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 10:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46515,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46515,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758690816001,"66":25299,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758690816001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:25:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758690816001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":46515,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:25:27] local.INFO: GPS data processed {"connection_id":46515,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:25:27] local.INFO: Acknowledgment sent {"connection_id":46515,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:25:28] local.INFO: TCP Data received {"connection_id":45761,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c978f8012d0c3d40071407e8001500d51a..."} 
[2026-04-17 10:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c978f8012d0c3d40071407e8001500d51a..."} 
[2026-04-17 10:25:28] local.INFO: Processing buffer {"connection_id":45761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c978f8012d0c3d40071407e8001500d51a..."} 
[2026-04-17 10:25:28] local.INFO: Packet analysis {"connection_id":45761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c9"} 
[2026-04-17 10:25:28] local.INFO: Extracted packet for processing {"connection_id":45761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c9"} 
[2026-04-17 10:25:28] local.INFO: GPS Element Parsed {"raw_longitude":755776832,"raw_latitude":118753256,"longitude_deg":75.5776832,"latitude_deg":11.8753256,"altitude":21,"angle":213,"satellites":26,"speed":32,"hex_longitude":"2d0c3d40","hex_latitude":"071407e8","is_valid_coordinates":true} 
[2026-04-17 10:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758811904001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113271649238777856,"note":"Value kept but may cause issues"} 
[2026-04-17 10:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":882564819877470208,"note":"Value kept but may cause issues"} 
[2026-04-17 10:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776401611000,"timestamp_ms":1776401611000,"timestamp_seconds":1776401611,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c978f8"} 
[2026-04-17 10:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:25:28] 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-04-17 10:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-17 10:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758811904001,"66":13493,"226":206,"28":31744,"24":32,"16":113271649238777856,"45":882564819877470208},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,28,24,16,45]} 
[2026-04-17 10:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758811904001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:25:28] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-04-17 10:25:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113271649238777856,"km_value":113271649238777.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":882564819877470208,"description":"Unknown IO ID 45"} 
[2026-04-17 10:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758811904001,"power":13493,"unknown_226":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":882564819877470208}} 
[2026-04-17 10:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":45761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20530,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:25:28] local.INFO: GPS data processed {"connection_id":45761,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:25:28] local.INFO: Acknowledgment sent {"connection_id":45761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:25:33] local.INFO: TCP Data received {"connection_id":45761,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c980c8012d0c38c007140330001600e51a..."} 
[2026-04-17 10:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c980c8012d0c38c007140330001600e51a..."} 
[2026-04-17 10:25:33] local.INFO: Processing buffer {"connection_id":45761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c980c8012d0c38c007140330001600e51a..."} 
[2026-04-17 10:25:33] local.INFO: Packet analysis {"connection_id":45761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c9"} 
[2026-04-17 10:25:33] local.INFO: Extracted packet for processing {"connection_id":45761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c9"} 
[2026-04-17 10:25:33] local.INFO: GPS Element Parsed {"raw_longitude":755775680,"raw_latitude":118752048,"longitude_deg":75.577568,"latitude_deg":11.8752048,"altitude":22,"angle":229,"satellites":26,"speed":34,"hex_longitude":"2d0c38c0","hex_latitude":"07140330","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758812416001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113271730843156480,"note":"Value kept but may cause issues"} 
[2026-04-17 10:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":881931501179496448,"note":"Value kept but may cause issues"} 
[2026-04-17 10:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,226,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776401613000,"timestamp_ms":1776401613000,"timestamp_seconds":1776401613,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c980c8"} 
[2026-04-17 10:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-17 10:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758812416001,"66":13961,"226":206,"28":31744,"24":34,"16":113271730843156480,"45":881931501179496448},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,226,28,24,16,45]} 
[2026-04-17 10:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758812416001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:25:33] local.INFO: Unknown IO ID detected {"io_id":226,"value":206,"description":"Unknown IO ID 226"} 
[2026-04-17 10:25:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113271730843156480,"km_value":113271730843156.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":881931501179496448,"description":"Unknown IO ID 45"} 
[2026-04-17 10:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758812416001,"power":13961,"unknown_226":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":881931501179496448}} 
[2026-04-17 10:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":45761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:25:33] local.INFO: GPS data processed {"connection_id":45761,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:25:33] local.INFO: Acknowledgment sent {"connection_id":45761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:25:44] local.INFO: TCP Data received {"connection_id":45955,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c94a18012d1de54006d1f058000d00852e..."} 
[2026-04-17 10:25:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c94a18012d1de54006d1f058000d00852e..."} 
[2026-04-17 10:25:44] local.INFO: Processing buffer {"connection_id":45955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c94a18012d1de54006d1f058000d00852e..."} 
[2026-04-17 10:25:44] local.INFO: Packet analysis {"connection_id":45955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c9"} 
[2026-04-17 10:25:44] local.INFO: Extracted packet for processing {"connection_id":45955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c9"} 
[2026-04-17 10:25:44] local.INFO: GPS Element Parsed {"raw_longitude":756933952,"raw_latitude":114421848,"longitude_deg":75.6933952,"latitude_deg":11.4421848,"altitude":13,"angle":133,"satellites":46,"speed":0,"hex_longitude":"2d1de540","hex_latitude":"06d1f058","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:25:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758803968001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:25:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:25:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2154198394802821120,"note":"Value kept but may cause issues"} 
[2026-04-17 10:25:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:25:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776401599000,"timestamp_ms":1776401599000,"timestamp_seconds":1776401599,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c94a18"} 
[2026-04-17 10:25:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:25:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":111,"n8_eight_byte":188,"data_length":795,"current_offset":136} 
[2026-04-17 10:25:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2445,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:25:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:25:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:25:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:25:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:25:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45955,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:25:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:25:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:25:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:25:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758803968001,"66":28398,"77":206,"2":56576,"24":0,"16":106618783551979520,"45":2154198394802821120},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-04-17 10:25:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:25:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:25:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758803968001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:25:44] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-04-17 10:25:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:25:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2154198394802821120,"description":"Unknown IO ID 45"} 
[2026-04-17 10:25:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758803968001,"power":28398,"unknown_77":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2154198394802821120}} 
[2026-04-17 10:25:44] local.INFO: DEBUG: GPS processor result {"connection_id":45955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20532,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:25:44] local.INFO: GPS data processed {"connection_id":45955,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:25:44] local.INFO: Acknowledgment sent {"connection_id":45955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:25:56] local.INFO: TCP Data received {"connection_id":45956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:25:56] local.INFO: Processing buffer {"connection_id":45956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:25:56] local.INFO: IMEI packet received {"connection_id":45956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":45956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:26:01] local.INFO: TCP Data received {"connection_id":45956,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:26:01] local.INFO: Processing buffer {"connection_id":45956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:26:01] local.INFO: IMEI packet received {"connection_id":45956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:26:01] local.INFO: IMEI acknowledgment sent {"connection_id":45956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:26:01] local.INFO: TCP Data received {"connection_id":45956,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:26:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:26:01] local.INFO: Processing buffer {"connection_id":45956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:26:01] local.INFO: Packet analysis {"connection_id":45956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:26:01] local.INFO: Extracted packet for processing {"connection_id":45956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:26:01] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:26:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758690816001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:26:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776401437000,"timestamp_ms":1776401437000,"timestamp_seconds":1776401437,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c6d148"} 
[2026-04-17 10:26:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:26:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:26:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 10:26:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:26:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:26:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:26:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:26:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:26:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:26:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:26: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-04-17 10:26:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:26:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:26:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758690816001,"66":25299,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:26:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:26:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:26:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758690816001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:26:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:26:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:26:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:26:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:26:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758690816001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:26:01] local.INFO: DEBUG: GPS processor result {"connection_id":45956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:26:01] local.INFO: GPS data processed {"connection_id":45956,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:26:01] local.INFO: Acknowledgment sent {"connection_id":45956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:26:05] local.INFO: TCP Data received {"connection_id":46516,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:26:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:26:05] local.INFO: Processing buffer {"connection_id":46516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:26:05] local.INFO: IMEI packet received {"connection_id":46516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:26:05] local.INFO: IMEI acknowledgment sent {"connection_id":46516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:26:07] local.INFO: TCP Data received {"connection_id":45956,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:26:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:26:07] local.INFO: Processing buffer {"connection_id":45956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c6d148012d7fad4005afe3500000009427..."} 
[2026-04-17 10:26:07] local.INFO: Packet analysis {"connection_id":45956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:26:07] local.INFO: Extracted packet for processing {"connection_id":45956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c6"} 
[2026-04-17 10:26:07] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":39,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:26:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758690816001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:26:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776401437000,"timestamp_ms":1776401437000,"timestamp_seconds":1776401437,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c6d148"} 
[2026-04-17 10:26:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:26:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 10:26:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:26:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:26:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:26:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:26:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:26:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:26:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:26:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:26:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:26:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758690816001,"66":25299,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:26:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:26:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:26:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758690816001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:26:07] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:26:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:26:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:26:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:26:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758690816001,"power":25299,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:26:07] local.INFO: DEBUG: GPS processor result {"connection_id":45956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:26:07] local.INFO: GPS data processed {"connection_id":45956,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:26:07] local.INFO: Acknowledgment sent {"connection_id":45956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:26:10] local.INFO: TCP Data received {"connection_id":46516,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46516,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:26:10] local.INFO: Processing buffer {"connection_id":46516,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:26:10] local.INFO: IMEI packet received {"connection_id":46516,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":46516,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:26:10] local.INFO: TCP Data received {"connection_id":46516,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c99c20012d1dff4006d1ccc0000e008d31..."} 
[2026-04-17 10:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c99c20012d1dff4006d1ccc0000e008d31..."} 
[2026-04-17 10:26:11] local.INFO: Processing buffer {"connection_id":46516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c99c20012d1dff4006d1ccc0000e008d31..."} 
[2026-04-17 10:26:11] local.INFO: Packet analysis {"connection_id":46516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c9"} 
[2026-04-17 10:26:11] local.INFO: Extracted packet for processing {"connection_id":46516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c9"} 
[2026-04-17 10:26:11] local.INFO: GPS Element Parsed {"raw_longitude":756940608,"raw_latitude":114412736,"longitude_deg":75.6940608,"latitude_deg":11.4412736,"altitude":14,"angle":141,"satellites":49,"speed":0,"hex_longitude":"2d1dff40","hex_latitude":"06d1ccc0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758809344001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2154198394802821120,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776401620000,"timestamp_ms":1776401620000,"timestamp_seconds":1776401620,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c99c20"} 
[2026-04-17 10:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:26:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 10:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758809344001,"66":28376,"77":206,"2":56576,"24":0,"16":106618783551979520,"45":2154198394802821120},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-04-17 10:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758809344001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:26:11] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-04-17 10:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2154198394802821120,"description":"Unknown IO ID 45"} 
[2026-04-17 10:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758809344001,"power":28376,"unknown_77":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2154198394802821120}} 
[2026-04-17 10:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":46516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20535,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:26:11] local.INFO: GPS data processed {"connection_id":46516,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:26:11] local.INFO: Acknowledgment sent {"connection_id":46516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:26:17] local.INFO: TCP Data received {"connection_id":45957,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:26:17] local.INFO: Processing buffer {"connection_id":45957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:26:17] local.INFO: IMEI packet received {"connection_id":45957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":45957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:26:18] local.INFO: TCP Data received {"connection_id":45957,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:26:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:26:18] local.INFO: Processing buffer {"connection_id":45957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:26:18] local.INFO: IMEI packet received {"connection_id":45957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:26:18] local.INFO: IMEI acknowledgment sent {"connection_id":45957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:26:22] local.INFO: TCP Data received {"connection_id":45957,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:26:22] local.INFO: Processing buffer {"connection_id":45957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:26:22] local.INFO: IMEI packet received {"connection_id":45957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":45957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:26:23] local.INFO: TCP Data received {"connection_id":45957,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cae058012d0b63c007131580001900c61c..."} 
[2026-04-17 10:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cae058012d0b63c007131580001900c61c..."} 
[2026-04-17 10:26:23] local.INFO: Processing buffer {"connection_id":45957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cae058012d0b63c007131580001900c61c..."} 
[2026-04-17 10:26:23] local.INFO: Packet analysis {"connection_id":45957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ca"} 
[2026-04-17 10:26:23] local.INFO: Extracted packet for processing {"connection_id":45957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ca"} 
[2026-04-17 10:26:23] local.INFO: GPS Element Parsed {"raw_longitude":755721152,"raw_latitude":118691200,"longitude_deg":75.5721152,"latitude_deg":11.86912,"altitude":25,"angle":198,"satellites":28,"speed":39,"hex_longitude":"2d0b63c0","hex_latitude":"07131580","is_valid_coordinates":true} 
[2026-04-17 10:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:26:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758833408001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113275832536924160,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823806918475188224,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:26:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776401703000,"timestamp_ms":1776401703000,"timestamp_seconds":1776401703,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cae058"} 
[2026-04-17 10:26:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:26: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-04-17 10:26:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 10:26:23] 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-04-17 10:26:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:26:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:26:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:26:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:26:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:26:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:26:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:26:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:26:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:26:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758833408001,"66":13928,"228":206,"28":31744,"24":39,"16":113275832536924160,"45":823806918475188224},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,28,24,16,45]} 
[2026-04-17 10:26:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:26:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:26:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758833408001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:26:23] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-04-17 10:26:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:26:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113275832536924160,"km_value":113275832536924.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:26:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":823806918475188224,"description":"Unknown IO ID 45"} 
[2026-04-17 10:26:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758833408001,"power":13928,"unknown_228":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":823806918475188224}} 
[2026-04-17 10:26:23] local.INFO: DEBUG: GPS processor result {"connection_id":45957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:26:23] local.INFO: GPS data processed {"connection_id":45957,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:26:23] local.INFO: Acknowledgment sent {"connection_id":45957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:26:28] local.INFO: TCP Data received {"connection_id":45957,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99caff98012d0b5b000712fa80001c00b81c..."} 
[2026-04-17 10:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99caff98012d0b5b000712fa80001c00b81c..."} 
[2026-04-17 10:26:28] local.INFO: Processing buffer {"connection_id":45957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99caff98012d0b5b000712fa80001c00b81c..."} 
[2026-04-17 10:26:28] local.INFO: Packet analysis {"connection_id":45957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ca"} 
[2026-04-17 10:26:28] local.INFO: Extracted packet for processing {"connection_id":45957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ca"} 
[2026-04-17 10:26:28] local.INFO: GPS Element Parsed {"raw_longitude":755718912,"raw_latitude":118684288,"longitude_deg":75.5718912,"latitude_deg":11.8684288,"altitude":28,"angle":184,"satellites":28,"speed":32,"hex_longitude":"2d0b5b00","hex_latitude":"0712fa80","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758835968001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113276184724242432,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":820710693729042432,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776401711000,"timestamp_ms":1776401711000,"timestamp_seconds":1776401711,"priority":1,"record_length":96,"hex_timestamp":"0000019d99caff98"} 
[2026-04-17 10:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:26:28] 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-04-17 10: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-17 10:26:28] 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-04-17 10: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-04-17 10:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758835968001,"66":14102,"228":206,"28":31744,"24":32,"16":113276184724242432,"45":820710693729042432},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,28,24,16,45]} 
[2026-04-17 10:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758835968001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:26:28] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-04-17 10:26:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113276184724242432,"km_value":113276184724242.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":820710693729042432,"description":"Unknown IO ID 45"} 
[2026-04-17 10:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758835968001,"power":14102,"unknown_228":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":820710693729042432}} 
[2026-04-17 10:26:29] local.INFO: DEBUG: GPS processor result {"connection_id":45957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20537,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:26:29] local.INFO: GPS data processed {"connection_id":45957,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:26:29] local.INFO: Acknowledgment sent {"connection_id":45957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:26:42] local.INFO: TCP Data received {"connection_id":46516,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99caa1d80100000000000000000000000000..."} 
[2026-04-17 10:26:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99caa1d80100000000000000000000000000..."} 
[2026-04-17 10:26:42] local.INFO: Processing buffer {"connection_id":46516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99caa1d80100000000000000000000000000..."} 
[2026-04-17 10:26:42] local.INFO: Packet analysis {"connection_id":46516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ca"} 
[2026-04-17 10:26:42] local.INFO: Extracted packet for processing {"connection_id":46516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ca"} 
[2026-04-17 10:26:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 10:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:26:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758814720001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2161516744194965504,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:26:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776401687000,"timestamp_ms":1776401687000,"timestamp_seconds":1776401687,"priority":1,"record_length":96,"hex_timestamp":"0000019d99caa1d8"} 
[2026-04-17 10:26:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:26:42] 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-04-17 10:26:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 10:26:42] 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-04-17 10:26:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:26:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:26:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:26:42] local.INFO: Teltonika packet parsed successfully {"connection_id":46516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:26:42] local.INFO: Passing IMEI to GPS processor {"connection_id":46516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:26:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":46516,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:26:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:26:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:26:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:26:42] local.INFO: DEBUG: GPS processor result {"connection_id":46516,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 10:26:42] local.INFO: GPS data processed {"connection_id":46516,"processed":0,"errors":0,"total":1} 
[2026-04-17 10:26:42] local.INFO: Acknowledgment sent {"connection_id":46516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:26:51] local.INFO: TCP Data received {"connection_id":45762,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:26:51] local.INFO: Processing buffer {"connection_id":45762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:26:51] local.INFO: IMEI packet received {"connection_id":45762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":45762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:26:56] local.INFO: TCP Data received {"connection_id":45762,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45762,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:26:56] local.INFO: Processing buffer {"connection_id":45762,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:26:56] local.INFO: IMEI packet received {"connection_id":45762,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":45762,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:26:57] local.INFO: TCP Data received {"connection_id":45762,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:26:57] local.INFO: Processing buffer {"connection_id":45762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:26:57] local.INFO: Packet analysis {"connection_id":45762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:26:57] local.INFO: Extracted packet for processing {"connection_id":45762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:26:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758767872001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776401738000,"timestamp_ms":1776401738000,"timestamp_seconds":1776401738,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cb6910"} 
[2026-04-17 10:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 10:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758767872001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758767872001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:26:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:26:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758767872001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":45762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:26:57] local.INFO: GPS data processed {"connection_id":45762,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:26:57] local.INFO: Acknowledgment sent {"connection_id":45762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:27:00] local.INFO: TCP Data received {"connection_id":45957,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cb2a90012d0b57800712d558002000b71c..."} 
[2026-04-17 10:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cb2a90012d0b57800712d558002000b71c..."} 
[2026-04-17 10:27:00] local.INFO: Processing buffer {"connection_id":45957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cb2a90012d0b57800712d558002000b71c..."} 
[2026-04-17 10:27:00] local.INFO: Packet analysis {"connection_id":45957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:27:00] local.INFO: Extracted packet for processing {"connection_id":45957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:27:00] local.INFO: GPS Element Parsed {"raw_longitude":755718016,"raw_latitude":118674776,"longitude_deg":75.5718016,"latitude_deg":11.8674776,"altitude":32,"angle":183,"satellites":28,"speed":34,"hex_longitude":"2d0b5780","hex_latitude":"0712d558","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758838016001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113276648580710400,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818247787681054720,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776401722000,"timestamp_ms":1776401722000,"timestamp_seconds":1776401722,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cb2a90"} 
[2026-04-17 10:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:27:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-17 10:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":671,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758838016001,"66":14048,"228":206,"28":31744,"24":34,"16":113276648580710400,"45":818247787681054720},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,28,24,16,45]} 
[2026-04-17 10:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758838016001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:27:00] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-04-17 10:27:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113276648580710400,"km_value":113276648580710.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":818247787681054720,"description":"Unknown IO ID 45"} 
[2026-04-17 10:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758838016001,"power":14048,"unknown_228":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":818247787681054720}} 
[2026-04-17 10:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":45957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:27:00] local.INFO: GPS data processed {"connection_id":45957,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:27:00] local.INFO: Acknowledgment sent {"connection_id":45957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:27:10] local.INFO: TCP Data received {"connection_id":45682,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:27:10] local.INFO: Processing buffer {"connection_id":45682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:27:10] local.INFO: IMEI packet received {"connection_id":45682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":45682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:27:14] local.INFO: TCP Data received {"connection_id":45682,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:27:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45682,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:27:14] local.INFO: Processing buffer {"connection_id":45682,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:27:14] local.INFO: IMEI packet received {"connection_id":45682,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:27:14] local.INFO: IMEI acknowledgment sent {"connection_id":45682,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:27:15] local.INFO: TCP Data received {"connection_id":45682,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99c9f9e0012d1e1f4006d1a0780013009930..."} 
[2026-04-17 10:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99c9f9e0012d1e1f4006d1a0780013009930..."} 
[2026-04-17 10:27:15] local.INFO: Processing buffer {"connection_id":45682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99c9f9e0012d1e1f4006d1a0780013009930..."} 
[2026-04-17 10:27:15] local.INFO: Packet analysis {"connection_id":45682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99c9"} 
[2026-04-17 10:27:15] local.INFO: Extracted packet for processing {"connection_id":45682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99c9"} 
[2026-04-17 10:27:15] local.INFO: GPS Element Parsed {"raw_longitude":756948800,"raw_latitude":114401400,"longitude_deg":75.69488,"latitude_deg":11.44014,"altitude":19,"angle":153,"satellites":48,"speed":25,"hex_longitude":"2d1e1f40","hex_latitude":"06d1a078","is_valid_coordinates":true} 
[2026-04-17 10:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:27:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,77,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 10:27:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776401644000,"timestamp_ms":1776401644000,"timestamp_seconds":1776401644,"priority":1,"record_length":96,"hex_timestamp":"0000019d99c9f9e0"} 
[2026-04-17 10:27:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:27: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:27:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-17 10:27:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1860,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:27:15] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:27:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:27:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:27:15] local.INFO: Teltonika packet parsed successfully {"connection_id":45682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:27:15] local.INFO: Passing IMEI to GPS processor {"connection_id":45682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:27:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":45682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:27:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:27:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:27:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:27:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28539,"77":206,"2":56576,"24":25,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16]} 
[2026-04-17 10:27:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:27:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:27:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 10:27:15] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-04-17 10:27:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:27:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28539,"unknown_77":206,"power_alt":56576,"ignition":25,"odometer":null}} 
[2026-04-17 10:27:15] local.INFO: DEBUG: GPS processor result {"connection_id":45682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20540,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:27:15] local.INFO: GPS data processed {"connection_id":45682,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:27:15] local.INFO: Acknowledgment sent {"connection_id":45682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:27:17] local.INFO: TCP Data received {"connection_id":45682,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ca4be8012d1e1f4006d1a0780013009930..."} 
[2026-04-17 10:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ca4be8012d1e1f4006d1a0780013009930..."} 
[2026-04-17 10:27:17] local.INFO: Processing buffer {"connection_id":45682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ca4be8012d1e1f4006d1a0780013009930..."} 
[2026-04-17 10:27:17] local.INFO: Packet analysis {"connection_id":45682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ca"} 
[2026-04-17 10:27:17] local.INFO: Extracted packet for processing {"connection_id":45682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ca"} 
[2026-04-17 10:27:17] local.INFO: GPS Element Parsed {"raw_longitude":756948800,"raw_latitude":114401400,"longitude_deg":75.69488,"latitude_deg":11.44014,"altitude":19,"angle":153,"satellites":48,"speed":0,"hex_longitude":"2d1e1f40","hex_latitude":"06d1a078","is_valid_coordinates":true} 
[2026-04-17 10:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:27:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758820864001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2170523943446804480,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776401665000,"timestamp_ms":1776401665000,"timestamp_seconds":1776401665,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ca4be8"} 
[2026-04-17 10:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:27:17] 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-04-17 10:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-17 10:27:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1860,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758820864001,"66":28571,"77":206,"2":56576,"24":0,"16":106618783551979520,"45":2170523943446804480},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-04-17 10:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758820864001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:27:17] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-04-17 10:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:27:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2170523943446804480,"description":"Unknown IO ID 45"} 
[2026-04-17 10:27:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758820864001,"power":28571,"unknown_77":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2170523943446804480}} 
[2026-04-17 10:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":45682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20541,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:27:17] local.INFO: GPS data processed {"connection_id":45682,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:27:17] local.INFO: Acknowledgment sent {"connection_id":45682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:27:17] local.INFO: TCP Data received {"connection_id":45763,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:27:17] local.INFO: Processing buffer {"connection_id":45763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:27:17] local.INFO: IMEI packet received {"connection_id":45763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:27:17] local.INFO: IMEI acknowledgment sent {"connection_id":45763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:27:19] local.INFO: TCP Data received {"connection_id":45763,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:27:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:27:19] local.INFO: Processing buffer {"connection_id":45763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:27:19] local.INFO: IMEI packet received {"connection_id":45763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:27:19] local.INFO: IMEI acknowledgment sent {"connection_id":45763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:27:22] local.INFO: TCP Data received {"connection_id":45763,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:27:22] local.INFO: Processing buffer {"connection_id":45763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:27:22] local.INFO: IMEI packet received {"connection_id":45763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":45763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:27:23] local.INFO: TCP Data received {"connection_id":45763,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cc2c60012d0acc4007121f98002200da1c..."} 
[2026-04-17 10:27:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cc2c60012d0acc4007121f98002200da1c..."} 
[2026-04-17 10:27:23] local.INFO: Processing buffer {"connection_id":45763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cc2c60012d0acc4007121f98002200da1c..."} 
[2026-04-17 10:27:23] local.INFO: Packet analysis {"connection_id":45763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cc"} 
[2026-04-17 10:27:23] local.INFO: Extracted packet for processing {"connection_id":45763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cc"} 
[2026-04-17 10:27:23] local.INFO: GPS Element Parsed {"raw_longitude":755682368,"raw_latitude":118628248,"longitude_deg":75.5682368,"latitude_deg":11.8628248,"altitude":34,"angle":218,"satellites":28,"speed":42,"hex_longitude":"2d0acc40","hex_latitude":"07121f98","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:27:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758856704001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113279637877948416,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":780670878276769792,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:27:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776401788000,"timestamp_ms":1776401788000,"timestamp_seconds":1776401788,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cc2c60"} 
[2026-04-17 10:27:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:27: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-04-17 10: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-17 10:27:23] 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-04-17 10: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-04-17 10:27:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:27:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:27:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:27:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:27:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:27:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:27:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:27:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:27:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758856704001,"66":13993,"249":206,"28":31744,"24":42,"16":113279637877948416,"45":780670878276769792},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,28,24,16,45]} 
[2026-04-17 10:27:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:27:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:27:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758856704001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:27:23] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-17 10:27:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:27:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113279637877948416,"km_value":113279637877948.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:27:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":780670878276769792,"description":"Unknown IO ID 45"} 
[2026-04-17 10:27:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758856704001,"power":13993,"unknown_249":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":780670878276769792}} 
[2026-04-17 10:27:23] local.INFO: DEBUG: GPS processor result {"connection_id":45763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:27:23] local.INFO: GPS data processed {"connection_id":45763,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:27:23] local.INFO: Acknowledgment sent {"connection_id":45763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:27:27] local.INFO: TCP Data received {"connection_id":45762,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:27:27] local.INFO: Processing buffer {"connection_id":45762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:27:27] local.INFO: Packet analysis {"connection_id":45762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:27:27] local.INFO: Extracted packet for processing {"connection_id":45762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758767872001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776401738000,"timestamp_ms":1776401738000,"timestamp_seconds":1776401738,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cb6910"} 
[2026-04-17 10:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 10:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45762,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758767872001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758767872001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:27:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758767872001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":45762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:27:27] local.INFO: GPS data processed {"connection_id":45762,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:27:27] local.INFO: Acknowledgment sent {"connection_id":45762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:27:51] local.INFO: TCP Data received {"connection_id":46517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:27:51] local.INFO: Processing buffer {"connection_id":46517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:27:51] local.INFO: IMEI packet received {"connection_id":46517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":46517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:27:55] local.INFO: TCP Data received {"connection_id":45682,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ca9df0012d1e2cc006d17c90000f00a02e..."} 
[2026-04-17 10:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ca9df0012d1e2cc006d17c90000f00a02e..."} 
[2026-04-17 10:27:55] local.INFO: Processing buffer {"connection_id":45682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ca9df0012d1e2cc006d17c90000f00a02e..."} 
[2026-04-17 10:27:55] local.INFO: Packet analysis {"connection_id":45682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ca"} 
[2026-04-17 10:27:55] local.INFO: Extracted packet for processing {"connection_id":45682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ca"} 
[2026-04-17 10:27:55] local.INFO: GPS Element Parsed {"raw_longitude":756952256,"raw_latitude":114392208,"longitude_deg":75.6952256,"latitude_deg":11.4392208,"altitude":15,"angle":160,"satellites":46,"speed":0,"hex_longitude":"2d1e2cc0","hex_latitude":"06d17c90","is_valid_coordinates":true} 
[2026-04-17 10:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758826240001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2170523943446804480,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776401686000,"timestamp_ms":1776401686000,"timestamp_seconds":1776401686,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ca9df0"} 
[2026-04-17 10:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:27:55] 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-04-17 10:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":155,"data_length":795,"current_offset":136} 
[2026-04-17 10:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2148,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45682,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758826240001,"66":28452,"77":206,"2":56576,"24":0,"16":106618783551979520,"45":2170523943446804480},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-04-17 10:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758826240001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:27:55] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-04-17 10:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":2170523943446804480,"description":"Unknown IO ID 45"} 
[2026-04-17 10:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758826240001,"power":28452,"unknown_77":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2170523943446804480}} 
[2026-04-17 10:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":45682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20544,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:27:55] local.INFO: GPS data processed {"connection_id":45682,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:27:55] local.INFO: Acknowledgment sent {"connection_id":45682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:27:55] local.INFO: TCP Data received {"connection_id":45763,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cc4f88012d0ab480071202f0002500d01b..."} 
[2026-04-17 10:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cc4f88012d0ab480071202f0002500d01b..."} 
[2026-04-17 10:27:55] local.INFO: Processing buffer {"connection_id":45763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cc4f88012d0ab480071202f0002500d01b..."} 
[2026-04-17 10:27:55] local.INFO: Packet analysis {"connection_id":45763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cc"} 
[2026-04-17 10:27:55] local.INFO: Extracted packet for processing {"connection_id":45763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cc"} 
[2026-04-17 10:27:55] local.INFO: GPS Element Parsed {"raw_longitude":755676288,"raw_latitude":118620912,"longitude_deg":75.5676288,"latitude_deg":11.8620912,"altitude":37,"angle":208,"satellites":27,"speed":40,"hex_longitude":"2d0ab480","hex_latitude":"071202f0","is_valid_coordinates":true} 
[2026-04-17 10:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758857728001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113280097439449088,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":778067234741262336,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776401797000,"timestamp_ms":1776401797000,"timestamp_seconds":1776401797,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cc4f88"} 
[2026-04-17 10:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:27: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-04-17 10:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:27: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-04-17 10:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758857728001,"66":13678,"249":206,"28":31744,"24":40,"16":113280097439449088,"45":778067234741262336},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,28,24,16,45]} 
[2026-04-17 10:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758857728001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:27:55] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-17 10:27:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113280097439449088,"km_value":113280097439449.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":778067234741262336,"description":"Unknown IO ID 45"} 
[2026-04-17 10:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758857728001,"power":13678,"unknown_249":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":778067234741262336}} 
[2026-04-17 10:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":45763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:27:55] local.INFO: GPS data processed {"connection_id":45763,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:27:55] local.INFO: Acknowledgment sent {"connection_id":45763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:27:56] local.INFO: TCP Data received {"connection_id":46517,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46517,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:27:56] local.INFO: Processing buffer {"connection_id":46517,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:27:56] local.INFO: IMEI packet received {"connection_id":46517,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":46517,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:27:56] local.INFO: TCP Data received {"connection_id":46517,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:27:56] local.INFO: Processing buffer {"connection_id":46517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:27:56] local.INFO: Packet analysis {"connection_id":46517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:27:56] local.INFO: Extracted packet for processing {"connection_id":46517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758767872001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776401738000,"timestamp_ms":1776401738000,"timestamp_seconds":1776401738,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cb6910"} 
[2026-04-17 10:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 10:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758767872001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758767872001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:27:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758767872001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":46517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:27:56] local.INFO: GPS data processed {"connection_id":46517,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:27:56] local.INFO: Acknowledgment sent {"connection_id":46517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:28:05] local.INFO: TCP Data received {"connection_id":45683,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:28:05] local.INFO: Processing buffer {"connection_id":45683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:28:05] local.INFO: IMEI packet received {"connection_id":45683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":45683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:28:10] local.INFO: TCP Data received {"connection_id":45683,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45683,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:28:10] local.INFO: Processing buffer {"connection_id":45683,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:28:10] local.INFO: IMEI packet received {"connection_id":45683,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":45683,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:28:13] local.INFO: TCP Data received {"connection_id":45683,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99caeff8012d1e2cc006d17c90000f00a02e..."} 
[2026-04-17 10:28:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99caeff8012d1e2cc006d17c90000f00a02e..."} 
[2026-04-17 10:28:13] local.INFO: Processing buffer {"connection_id":45683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99caeff8012d1e2cc006d17c90000f00a02e..."} 
[2026-04-17 10:28:13] local.INFO: Packet analysis {"connection_id":45683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ca"} 
[2026-04-17 10:28:13] local.INFO: Extracted packet for processing {"connection_id":45683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ca"} 
[2026-04-17 10:28:13] local.INFO: GPS Element Parsed {"raw_longitude":756952256,"raw_latitude":114392208,"longitude_deg":75.6952256,"latitude_deg":11.4392208,"altitude":15,"angle":160,"satellites":46,"speed":0,"hex_longitude":"2d1e2cc0","hex_latitude":"06d17c90","is_valid_coordinates":true} 
[2026-04-17 10:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:28:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758831616001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:28:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:28:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2174323855630045184,"note":"Value kept but may cause issues"} 
[2026-04-17 10:28:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:28:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776401707000,"timestamp_ms":1776401707000,"timestamp_seconds":1776401707,"priority":1,"record_length":96,"hex_timestamp":"0000019d99caeff8"} 
[2026-04-17 10:28:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:28:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:28:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 10:28:13] 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-04-17 10:28:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:28:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:28:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:28:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:28:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:28:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:28:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:28:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:28:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:28:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758831616001,"66":28506,"77":206,"2":56576,"24":0,"16":106618783551979520,"45":2174323855630045184},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-04-17 10:28:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:28:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:28:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758831616001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:28:13] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-04-17 10:28:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:28:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2174323855630045184,"description":"Unknown IO ID 45"} 
[2026-04-17 10:28:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758831616001,"power":28506,"unknown_77":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2174323855630045184}} 
[2026-04-17 10:28:13] local.INFO: DEBUG: GPS processor result {"connection_id":45683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20547,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:28:13] local.INFO: GPS data processed {"connection_id":45683,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:28:13] local.INFO: Acknowledgment sent {"connection_id":45683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:28:17] local.INFO: TCP Data received {"connection_id":46518,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:28:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:28:17] local.INFO: Processing buffer {"connection_id":46518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:28:17] local.INFO: IMEI packet received {"connection_id":46518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:28:17] local.INFO: IMEI acknowledgment sent {"connection_id":46518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:28:19] local.INFO: TCP Data received {"connection_id":46518,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:28:19] local.INFO: Processing buffer {"connection_id":46518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:28:19] local.INFO: IMEI packet received {"connection_id":46518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":46518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:28:22] local.INFO: TCP Data received {"connection_id":46518,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:28:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46518,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:28:22] local.INFO: Processing buffer {"connection_id":46518,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:28:22] local.INFO: IMEI packet received {"connection_id":46518,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:28:22] local.INFO: IMEI acknowledgment sent {"connection_id":46518,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:28:27] local.INFO: TCP Data received {"connection_id":46518,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cc5b40012d0ab0000711f820002600c41b..."} 
[2026-04-17 10:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cc5b40012d0ab0000711f820002600c41b..."} 
[2026-04-17 10:28:27] local.INFO: Processing buffer {"connection_id":46518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cc5b40012d0ab0000711f820002600c41b..."} 
[2026-04-17 10:28:27] local.INFO: Packet analysis {"connection_id":46518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cc"} 
[2026-04-17 10:28:27] local.INFO: Extracted packet for processing {"connection_id":46518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cc"} 
[2026-04-17 10:28:27] local.INFO: GPS Element Parsed {"raw_longitude":755675136,"raw_latitude":118618144,"longitude_deg":75.5675136,"latitude_deg":11.8618144,"altitude":38,"angle":196,"satellites":27,"speed":40,"hex_longitude":"2d0ab000","hex_latitude":"0711f820","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758860032001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113280239173369856,"note":"Value kept but may cause issues"} 
[2026-04-17 10:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":771382204042506240,"note":"Value kept but may cause issues"} 
[2026-04-17 10:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776401800000,"timestamp_ms":1776401800000,"timestamp_seconds":1776401800,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cc5b40"} 
[2026-04-17 10:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:28: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-04-17 10: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-17 10:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758860032001,"66":14004,"248":206,"28":31744,"24":40,"16":113280239173369856,"45":771382204042506240},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,28,24,16,45]} 
[2026-04-17 10:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758860032001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:28:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113280239173369856,"km_value":113280239173369.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":771382204042506240,"description":"Unknown IO ID 45"} 
[2026-04-17 10:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758860032001,"power":14004,"tamper_alert":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":771382204042506240}} 
[2026-04-17 10:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":46518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:28:27] local.INFO: GPS data processed {"connection_id":46518,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:28:27] local.INFO: Acknowledgment sent {"connection_id":46518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:28:28] local.INFO: TCP Data received {"connection_id":46517,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:28:28] local.INFO: Processing buffer {"connection_id":46517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:28:28] local.INFO: Packet analysis {"connection_id":46517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:28:28] local.INFO: Extracted packet for processing {"connection_id":46517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:28:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758767872001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776401738000,"timestamp_ms":1776401738000,"timestamp_seconds":1776401738,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cb6910"} 
[2026-04-17 10:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 10:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46517,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758767872001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758767872001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:28:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:28:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758767872001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":46517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:28:28] local.INFO: GPS data processed {"connection_id":46517,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:28:28] local.INFO: Acknowledgment sent {"connection_id":46517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:28:45] local.INFO: TCP Data received {"connection_id":45683,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cb3648012d1e3fc006d159e00015009130..."} 
[2026-04-17 10:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cb3648012d1e3fc006d159e00015009130..."} 
[2026-04-17 10:28:45] local.INFO: Processing buffer {"connection_id":45683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cb3648012d1e3fc006d159e00015009130..."} 
[2026-04-17 10:28:45] local.INFO: Packet analysis {"connection_id":45683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:28:45] local.INFO: Extracted packet for processing {"connection_id":45683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:28:45] local.INFO: GPS Element Parsed {"raw_longitude":756957120,"raw_latitude":114383328,"longitude_deg":75.695712,"latitude_deg":11.4383328,"altitude":21,"angle":145,"satellites":48,"speed":9,"hex_longitude":"2d1e3fc0","hex_latitude":"06d159e0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758836992001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2174323855630045184,"note":"Value kept but may cause issues"} 
[2026-04-17 10:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776401725000,"timestamp_ms":1776401725000,"timestamp_seconds":1776401725,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cb3648"} 
[2026-04-17 10:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:28: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-04-17 10: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":111,"n8_eight_byte":90,"data_length":795,"current_offset":136} 
[2026-04-17 10:28:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1563,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45683,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758836992001,"66":28419,"77":206,"2":56576,"24":9,"16":106618783551979520,"45":2174323855630045184},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16,45]} 
[2026-04-17 10:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758836992001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:28:45] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-04-17 10:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2174323855630045184,"description":"Unknown IO ID 45"} 
[2026-04-17 10:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758836992001,"power":28419,"unknown_77":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":2174323855630045184}} 
[2026-04-17 10:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":45683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20550,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:28:45] local.INFO: GPS data processed {"connection_id":45683,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:28:45] local.INFO: Acknowledgment sent {"connection_id":45683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:28:51] local.INFO: TCP Data received {"connection_id":45684,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:28:51] local.INFO: Processing buffer {"connection_id":45684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:28:51] local.INFO: IMEI packet received {"connection_id":45684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":45684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:28:57] local.INFO: TCP Data received {"connection_id":45684,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:28:57] local.INFO: Processing buffer {"connection_id":45684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:28:57] local.INFO: IMEI packet received {"connection_id":45684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:28:57] local.INFO: IMEI acknowledgment sent {"connection_id":45684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:28:58] local.INFO: TCP Data received {"connection_id":45684,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:28:58] local.INFO: Processing buffer {"connection_id":45684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:28:58] local.INFO: Packet analysis {"connection_id":45684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:28:58] local.INFO: Extracted packet for processing {"connection_id":45684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:28:58] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758767872001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776401738000,"timestamp_ms":1776401738000,"timestamp_seconds":1776401738,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cb6910"} 
[2026-04-17 10:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 10:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758767872001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758767872001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:28:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:28:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758767872001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":45684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20551,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:28:58] local.INFO: GPS data processed {"connection_id":45684,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:28:58] local.INFO: Acknowledgment sent {"connection_id":45684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:28:58] local.INFO: TCP Data received {"connection_id":46518,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cdc2a0012d0ab0c0071094a80031007a1c..."} 
[2026-04-17 10:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46518,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cdc2a0012d0ab0c0071094a80031007a1c..."} 
[2026-04-17 10:28:58] local.INFO: Processing buffer {"connection_id":46518,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cdc2a0012d0ab0c0071094a80031007a1c..."} 
[2026-04-17 10:28:58] local.INFO: Packet analysis {"connection_id":46518,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cd"} 
[2026-04-17 10:28:58] local.INFO: Extracted packet for processing {"connection_id":46518,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cd"} 
[2026-04-17 10:28:58] local.INFO: GPS Element Parsed {"raw_longitude":755675328,"raw_latitude":118527144,"longitude_deg":75.5675328,"latitude_deg":11.8527144,"altitude":49,"angle":122,"satellites":28,"speed":41,"hex_longitude":"2d0ab0c0","hex_latitude":"071094a8","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758883840001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113284839083343872,"note":"Value kept but may cause issues"} 
[2026-04-17 10:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":768497085507545088,"note":"Value kept but may cause issues"} 
[2026-04-17 10:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776401892000,"timestamp_ms":1776401892000,"timestamp_seconds":1776401892,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cdc2a0"} 
[2026-04-17 10:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:28: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-04-17 10: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 10:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46518,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46518,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758883840001,"66":14341,"247":206,"28":31744,"24":41,"16":113284839083343872,"45":768497085507545088},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,28,24,16,45]} 
[2026-04-17 10:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758883840001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:28:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113284839083343872,"km_value":113284839083343.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":768497085507545088,"description":"Unknown IO ID 45"} 
[2026-04-17 10:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758883840001,"power":14341,"internal_battery_voltage":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":768497085507545088}} 
[2026-04-17 10:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":46518,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:28:58] local.INFO: GPS data processed {"connection_id":46518,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:28:58] local.INFO: Acknowledgment sent {"connection_id":46518,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:29:05] local.INFO: TCP Data received {"connection_id":46519,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:29:05] local.INFO: Processing buffer {"connection_id":46519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:29:05] local.INFO: IMEI packet received {"connection_id":46519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":46519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:29:10] local.INFO: TCP Data received {"connection_id":46519,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:29:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46519,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:29:10] local.INFO: Processing buffer {"connection_id":46519,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:29:10] local.INFO: IMEI packet received {"connection_id":46519,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:29:10] local.INFO: IMEI acknowledgment sent {"connection_id":46519,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:29:13] local.INFO: TCP Data received {"connection_id":46519,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cc3c000100000000000000000000000000..."} 
[2026-04-17 10:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cc3c000100000000000000000000000000..."} 
[2026-04-17 10:29:13] local.INFO: Processing buffer {"connection_id":46519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cc3c000100000000000000000000000000..."} 
[2026-04-17 10:29:13] local.INFO: Packet analysis {"connection_id":46519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cc"} 
[2026-04-17 10:29:13] local.INFO: Extracted packet for processing {"connection_id":46519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cc"} 
[2026-04-17 10:29:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 10:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:29:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758841600001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2179671880185274368,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,77,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776401792000,"timestamp_ms":1776401792000,"timestamp_seconds":1776401792,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cc3c00"} 
[2026-04-17 10:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:29:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-17 10:29:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":46519,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 10:29:13] local.INFO: GPS data processed {"connection_id":46519,"processed":0,"errors":0,"total":1} 
[2026-04-17 10:29:13] local.INFO: Acknowledgment sent {"connection_id":46519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:29:20] local.INFO: TCP Data received {"connection_id":45685,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:29:20] local.INFO: Processing buffer {"connection_id":45685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:29:20] local.INFO: IMEI packet received {"connection_id":45685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":45685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:29:22] local.INFO: TCP Data received {"connection_id":45685,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:29:22] local.INFO: Processing buffer {"connection_id":45685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:29:22] local.INFO: IMEI packet received {"connection_id":45685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":45685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:29:28] local.INFO: TCP Data received {"connection_id":45685,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45685,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:29:28] local.INFO: Processing buffer {"connection_id":45685,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:29:28] local.INFO: IMEI packet received {"connection_id":45685,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":45685,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:29:29] local.INFO: TCP Data received {"connection_id":45684,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:29:29] local.INFO: Processing buffer {"connection_id":45684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:29:29] local.INFO: Packet analysis {"connection_id":45684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:29:29] local.INFO: Extracted packet for processing {"connection_id":45684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:29:29] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:29:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758767872001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:29:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776401738000,"timestamp_ms":1776401738000,"timestamp_seconds":1776401738,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cb6910"} 
[2026-04-17 10:29:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:29:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 10:29:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:29:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:29:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:29:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:29:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:29:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10: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-04-17 10:29:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:29:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:29:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758767872001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:29:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:29:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:29:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758767872001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:29:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:29:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:29:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:29:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:29:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758767872001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:29:29] local.INFO: DEBUG: GPS processor result {"connection_id":45684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:29:29] local.INFO: GPS data processed {"connection_id":45684,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:29:29] local.INFO: Acknowledgment sent {"connection_id":45684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:29:37] local.INFO: TCP Data received {"connection_id":45685,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cdce58012d0abd0007108f88002e006f1c..."} 
[2026-04-17 10:29:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cdce58012d0abd0007108f88002e006f1c..."} 
[2026-04-17 10:29:37] local.INFO: Processing buffer {"connection_id":45685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cdce58012d0abd0007108f88002e006f1c..."} 
[2026-04-17 10:29:37] local.INFO: Packet analysis {"connection_id":45685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cd"} 
[2026-04-17 10:29:37] local.INFO: Extracted packet for processing {"connection_id":45685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cd"} 
[2026-04-17 10:29:37] local.INFO: GPS Element Parsed {"raw_longitude":755678464,"raw_latitude":118525832,"longitude_deg":75.5678464,"latitude_deg":11.8525832,"altitude":46,"angle":111,"satellites":28,"speed":43,"hex_longitude":"2d0abd00","hex_latitude":"07108f88","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758884352001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113285002292101120,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":770326672855836672,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:29:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776401895000,"timestamp_ms":1776401895000,"timestamp_seconds":1776401895,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cdce58"} 
[2026-04-17 10:29:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:29:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 10:29:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6939069746,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:37] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13507708,"corrected_to":0} 
[2026-04-17 10:29:37] local.WARNING: Large IO value detected {"io_id":24,"raw_value":84735571918262572,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:37] local.WARNING: Large IO value detected {"io_id":119,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:37] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2580367752,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:37] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3448244225,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:37] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3874947278,"corrected_to":0} 
[2026-04-17 10:29:37] local.WARNING: Large IO value detected {"io_id":104,"raw_value":3355520266,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:37] local.WARNING: Large IO value detected {"io_id":156,"raw_value":2147946736,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:37] local.WARNING: Large IO value detected {"io_id":72,"raw_value":15200405126391808,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:37] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,247,28,24,241,158,16,119,157,186,45,64,153,51,29,10,66,179,128,160,53,171,192,1,240,71,4,113,205,104,156,96,239,56,2,146,7,43,206,72],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":247,"original":13507708,"validated":0},{"io_id":205,"original":3874947278,"validated":0}]} 
[2026-04-17 10:29:37] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530956368538828800,"timestamp_seconds":3530956368538829.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 10:29:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:29:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:29:37] local.INFO: Teltonika packet parsed successfully {"connection_id":45685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:29:37] local.INFO: Passing IMEI to GPS processor {"connection_id":45685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:29:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":45685,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:29:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:29:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:29:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:29:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758884352001,"66":14157,"247":206,"28":31744,"24":43,"16":113285002292101120,"45":770326672855836672},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,28,24,16,45]} 
[2026-04-17 10:29:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:29:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:29:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758884352001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:29:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:29:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113285002292101120,"km_value":113285002292101.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:29:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":770326672855836672,"description":"Unknown IO ID 45"} 
[2026-04-17 10:29:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758884352001,"power":14157,"internal_battery_voltage":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":770326672855836672}} 
[2026-04-17 10:29:37] local.INFO: DEBUG: GPS processor result {"connection_id":45685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20554,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:29:37] local.INFO: GPS data processed {"connection_id":45685,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:29:37] local.INFO: Acknowledgment sent {"connection_id":45685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:29:44] local.INFO: TCP Data received {"connection_id":46519,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cba3a8012d1e618006d12930001100912f..."} 
[2026-04-17 10:29:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cba3a8012d1e618006d12930001100912f..."} 
[2026-04-17 10:29:45] local.INFO: Processing buffer {"connection_id":46519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cba3a8012d1e618006d12930001100912f..."} 
[2026-04-17 10:29:45] local.INFO: Packet analysis {"connection_id":46519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:29:45] local.INFO: Extracted packet for processing {"connection_id":46519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:29:45] local.INFO: GPS Element Parsed {"raw_longitude":756965760,"raw_latitude":114370864,"longitude_deg":75.696576,"latitude_deg":11.4370864,"altitude":17,"angle":145,"satellites":47,"speed":30,"hex_longitude":"2d1e6180","hex_latitude":"06d12930","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:29:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,77,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 10:29:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776401753000,"timestamp_ms":1776401753000,"timestamp_seconds":1776401753,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cba3a8"} 
[2026-04-17 10:29:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:29:45] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 10:29:45] 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-04-17 10: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-04-17 10:29:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:29:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:29:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:29:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:29:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46519,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:29:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:29:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:29:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:29:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28452,"77":206,"2":56576,"24":30,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,77,2,24,16]} 
[2026-04-17 10:29:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:29:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:29:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 10:29:45] local.INFO: Unknown IO ID detected {"io_id":77,"value":206,"description":"Unknown IO ID 77"} 
[2026-04-17 10:29:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:29:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28452,"unknown_77":206,"power_alt":56576,"ignition":30,"odometer":null}} 
[2026-04-17 10:29:45] local.INFO: DEBUG: GPS processor result {"connection_id":46519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20555,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:29:45] local.INFO: GPS data processed {"connection_id":46519,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:29:45] local.INFO: Acknowledgment sent {"connection_id":46519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:29:51] local.INFO: TCP Data received {"connection_id":45686,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:29:51] local.INFO: Processing buffer {"connection_id":45686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:29:51] local.INFO: IMEI packet received {"connection_id":45686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":45686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:29:56] local.INFO: TCP Data received {"connection_id":45686,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:29:56] local.INFO: Processing buffer {"connection_id":45686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:29:56] local.INFO: IMEI packet received {"connection_id":45686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":45686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:29:56] local.INFO: TCP Data received {"connection_id":45686,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:29:56] local.INFO: Processing buffer {"connection_id":45686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:29:56] local.INFO: Packet analysis {"connection_id":45686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:29:56] local.INFO: Extracted packet for processing {"connection_id":45686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758767872001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776401738000,"timestamp_ms":1776401738000,"timestamp_seconds":1776401738,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cb6910"} 
[2026-04-17 10:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":211,"data_length":795,"current_offset":136} 
[2026-04-17 10:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758767872001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758767872001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:29:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758767872001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":45686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:29:56] local.INFO: GPS data processed {"connection_id":45686,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:29:56] local.INFO: Acknowledgment sent {"connection_id":45686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:30:05] local.INFO: TCP Data received {"connection_id":45958,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:30:05] local.INFO: Processing buffer {"connection_id":45958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:30:05] local.INFO: IMEI packet received {"connection_id":45958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":45958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:30:07] local.INFO: TCP Data received {"connection_id":45958,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:30:07] local.INFO: Processing buffer {"connection_id":45958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:30:07] local.INFO: IMEI packet received {"connection_id":45958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":45958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:30:10] local.INFO: TCP Data received {"connection_id":45958,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45958,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:30:10] local.INFO: Processing buffer {"connection_id":45958,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:30:10] local.INFO: IMEI packet received {"connection_id":45958,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":45958,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:30:11] local.INFO: TCP Data received {"connection_id":45958,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ce4770012d1f880006cf9338000c00712f..."} 
[2026-04-17 10:30:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ce4770012d1f880006cf9338000c00712f..."} 
[2026-04-17 10:30:11] local.INFO: Processing buffer {"connection_id":45958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ce4770012d1f880006cf9338000c00712f..."} 
[2026-04-17 10:30:11] local.INFO: Packet analysis {"connection_id":45958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ce"} 
[2026-04-17 10:30:11] local.INFO: Extracted packet for processing {"connection_id":45958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ce"} 
[2026-04-17 10:30:11] local.INFO: GPS Element Parsed {"raw_longitude":757041152,"raw_latitude":114266936,"longitude_deg":75.7041152,"latitude_deg":11.4266936,"altitude":12,"angle":113,"satellites":47,"speed":23,"hex_longitude":"2d1f8800","hex_latitude":"06cf9338","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:30:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:30:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,198,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 10:30:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776401926000,"timestamp_ms":1776401926000,"timestamp_seconds":1776401926,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ce4770"} 
[2026-04-17 10:30:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:30:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10: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-04-17 10: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-04-17 10:30:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:30:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:30:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:30:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:30:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:30:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:30:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:30:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:30:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"198":206,"2":56576,"24":23,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,2,24,16]} 
[2026-04-17 10:30:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:30:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:30:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 10:30:11] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-04-17 10:30:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:30:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_198":206,"power_alt":56576,"ignition":23,"odometer":null}} 
[2026-04-17 10:30:11] local.INFO: DEBUG: GPS processor result {"connection_id":45958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:30:11] local.INFO: GPS data processed {"connection_id":45958,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:30:11] local.INFO: Acknowledgment sent {"connection_id":45958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:30:14] local.INFO: TCP Data received {"connection_id":45764,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:30:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:30:14] local.INFO: Processing buffer {"connection_id":45764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:30:14] local.INFO: IMEI packet received {"connection_id":45764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:30:14] local.INFO: IMEI acknowledgment sent {"connection_id":45764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:30:17] local.INFO: TCP Data received {"connection_id":45764,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:30:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:30:17] local.INFO: Processing buffer {"connection_id":45764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:30:17] local.INFO: IMEI packet received {"connection_id":45764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:30:17] local.INFO: IMEI acknowledgment sent {"connection_id":45764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:30:18] local.INFO: TCP Data received {"connection_id":45764,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:30:18] local.INFO: Processing buffer {"connection_id":45764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:30:18] local.INFO: IMEI packet received {"connection_id":45764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:30:18] local.INFO: IMEI acknowledgment sent {"connection_id":45764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:30:20] local.INFO: TCP Data received {"connection_id":45764,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45764,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:30:20] local.INFO: Processing buffer {"connection_id":45764,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:30:20] local.INFO: IMEI packet received {"connection_id":45764,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":45764,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:30:21] local.INFO: TCP Data received {"connection_id":45764,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cec858012d0b1100070fad58002c00c31c..."} 
[2026-04-17 10:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cec858012d0b1100070fad58002c00c31c..."} 
[2026-04-17 10:30:21] local.INFO: Processing buffer {"connection_id":45764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cec858012d0b1100070fad58002c00c31c..."} 
[2026-04-17 10:30:21] local.INFO: Packet analysis {"connection_id":45764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ce"} 
[2026-04-17 10:30:21] local.INFO: Extracted packet for processing {"connection_id":45764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ce"} 
[2026-04-17 10:30:21] local.INFO: GPS Element Parsed {"raw_longitude":755699968,"raw_latitude":118467928,"longitude_deg":75.5699968,"latitude_deg":11.8467928,"altitude":44,"angle":195,"satellites":28,"speed":46,"hex_longitude":"2d0b1100","hex_latitude":"070fad58","is_valid_coordinates":true} 
[2026-04-17 10:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:30:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758900736001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:30:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113288103258488832,"note":"Value kept but may cause issues"} 
[2026-04-17 10:30:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":798192695535904768,"note":"Value kept but may cause issues"} 
[2026-04-17 10:30:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:30:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776401959000,"timestamp_ms":1776401959000,"timestamp_seconds":1776401959,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cec858"} 
[2026-04-17 10:30:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:30: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-04-17 10:30:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 10:30:21] 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-04-17 10:30:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:30:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:30:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:30:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:30:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:30:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:30:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:30:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:30:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:30:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758900736001,"66":13820,"26":206,"28":31744,"24":46,"16":113288103258488832,"45":798192695535904768},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,28,24,16,45]} 
[2026-04-17 10:30:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:30:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:30:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758900736001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:30:21] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-04-17 10:30:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:30:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113288103258488832,"km_value":113288103258488.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:30:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":798192695535904768,"description":"Unknown IO ID 45"} 
[2026-04-17 10:30:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758900736001,"power":13820,"unknown_26":206,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":798192695535904768}} 
[2026-04-17 10:30:21] local.INFO: DEBUG: GPS processor result {"connection_id":45764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:30:21] local.INFO: GPS data processed {"connection_id":45764,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:30:21] local.INFO: Acknowledgment sent {"connection_id":45764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:30:28] local.INFO: TCP Data received {"connection_id":45686,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:30:28] local.INFO: Processing buffer {"connection_id":45686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:30:28] local.INFO: Packet analysis {"connection_id":45686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:30:28] local.INFO: Extracted packet for processing {"connection_id":45686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:30:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758767872001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776401738000,"timestamp_ms":1776401738000,"timestamp_seconds":1776401738,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cb6910"} 
[2026-04-17 10:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 10:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758767872001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758767872001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:30:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:30:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758767872001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":45686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:30:28] local.INFO: GPS data processed {"connection_id":45686,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:30:28] local.INFO: Acknowledgment sent {"connection_id":45686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:30:43] local.INFO: TCP Data received {"connection_id":45958,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cf4d280100000000000000000000000000..."} 
[2026-04-17 10:30:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cf4d280100000000000000000000000000..."} 
[2026-04-17 10:30:43] local.INFO: Processing buffer {"connection_id":45958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cf4d280100000000000000000000000000..."} 
[2026-04-17 10:30:43] local.INFO: Packet analysis {"connection_id":45958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cf"} 
[2026-04-17 10:30:43] local.INFO: Extracted packet for processing {"connection_id":45958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cf"} 
[2026-04-17 10:30: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-04-17 10: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-04-17 10:30:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758893056001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:30:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:30:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2272066041260750848,"note":"Value kept but may cause issues"} 
[2026-04-17 10:30:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:30:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776401993000,"timestamp_ms":1776401993000,"timestamp_seconds":1776401993,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cf4d28"} 
[2026-04-17 10:30:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:30:43] 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-04-17 10: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 10:30:43] 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-04-17 10: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-04-17 10:30:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:30:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:30:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:30:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:30:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45958,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:30:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:30:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:30:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:30:43] local.INFO: DEBUG: GPS processor result {"connection_id":45958,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 10:30:43] local.INFO: GPS data processed {"connection_id":45958,"processed":0,"errors":0,"total":1} 
[2026-04-17 10:30:43] local.INFO: Acknowledgment sent {"connection_id":45958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:30:51] local.INFO: TCP Data received {"connection_id":45959,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:30:51] local.INFO: Processing buffer {"connection_id":45959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:30:51] local.INFO: IMEI packet received {"connection_id":45959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":45959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:30:56] local.INFO: TCP Data received {"connection_id":45959,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:30:56] local.INFO: Processing buffer {"connection_id":45959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:30:56] local.INFO: IMEI packet received {"connection_id":45959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":45959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:30:56] local.INFO: TCP Data received {"connection_id":45764,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ced7f8012d0b0940070f9b90002a00d01d..."} 
[2026-04-17 10:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ced7f8012d0b0940070f9b90002a00d01d..."} 
[2026-04-17 10:30:56] local.INFO: Processing buffer {"connection_id":45764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ced7f8012d0b0940070f9b90002a00d01d..."} 
[2026-04-17 10:30:56] local.INFO: Packet analysis {"connection_id":45764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ce"} 
[2026-04-17 10:30:56] local.INFO: Extracted packet for processing {"connection_id":45764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ce"} 
[2026-04-17 10:30:56] local.INFO: GPS Element Parsed {"raw_longitude":755697984,"raw_latitude":118463376,"longitude_deg":75.5697984,"latitude_deg":11.8463376,"altitude":42,"angle":208,"satellites":29,"speed":50,"hex_longitude":"2d0b0940","hex_latitude":"070f9b90","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758901504001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113288343776657408,"note":"Value kept but may cause issues"} 
[2026-04-17 10:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":797418639349078016,"note":"Value kept but may cause issues"} 
[2026-04-17 10:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776401963000,"timestamp_ms":1776401963000,"timestamp_seconds":1776401963,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ced7f8"} 
[2026-04-17 10:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:30: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-04-17 10: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-17 10:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45764,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758901504001,"66":13993,"26":206,"28":31744,"24":50,"16":113288343776657408,"45":797418639349078016},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,28,24,16,45]} 
[2026-04-17 10:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758901504001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:30:56] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-04-17 10:30:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113288343776657408,"km_value":113288343776657.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":797418639349078016,"description":"Unknown IO ID 45"} 
[2026-04-17 10:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758901504001,"power":13993,"unknown_26":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":797418639349078016}} 
[2026-04-17 10:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":45764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:30:56] local.INFO: GPS data processed {"connection_id":45764,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:30:56] local.INFO: Acknowledgment sent {"connection_id":45764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:30:56] local.INFO: TCP Data received {"connection_id":45959,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:30:56] local.INFO: Processing buffer {"connection_id":45959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cb6910012d7fad4005afe3500000009426..."} 
[2026-04-17 10:30:56] local.INFO: Packet analysis {"connection_id":45959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:30:56] local.INFO: Extracted packet for processing {"connection_id":45959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cb"} 
[2026-04-17 10:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758767872001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776401738000,"timestamp_ms":1776401738000,"timestamp_seconds":1776401738,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cb6910"} 
[2026-04-17 10:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 10:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758767872001,"66":25343,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758767872001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:30:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758767872001,"power":25343,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":45959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:30:56] local.INFO: GPS data processed {"connection_id":45959,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:30:56] local.INFO: Acknowledgment sent {"connection_id":45959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:31:05] local.INFO: TCP Data received {"connection_id":45687,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:31:05] local.INFO: Processing buffer {"connection_id":45687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:31:05] local.INFO: IMEI packet received {"connection_id":45687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":45687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:31:10] local.INFO: TCP Data received {"connection_id":45687,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45687,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:31:10] local.INFO: Processing buffer {"connection_id":45687,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:31:10] local.INFO: IMEI packet received {"connection_id":45687,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":45687,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:31:13] local.INFO: TCP Data received {"connection_id":45687,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ce9d60012d1fc6c006cf7988000c007030..."} 
[2026-04-17 10:31:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ce9d60012d1fc6c006cf7988000c007030..."} 
[2026-04-17 10:31:13] local.INFO: Processing buffer {"connection_id":45687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ce9d60012d1fc6c006cf7988000c007030..."} 
[2026-04-17 10:31:13] local.INFO: Packet analysis {"connection_id":45687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ce"} 
[2026-04-17 10:31:13] local.INFO: Extracted packet for processing {"connection_id":45687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ce"} 
[2026-04-17 10:31:13] local.INFO: GPS Element Parsed {"raw_longitude":757057216,"raw_latitude":114260360,"longitude_deg":75.7057216,"latitude_deg":11.426036,"altitude":12,"angle":112,"satellites":48,"speed":39,"hex_longitude":"2d1fc6c0","hex_latitude":"06cf7988","is_valid_coordinates":true} 
[2026-04-17 10:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:31:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:31:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,197,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 10:31:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776401948000,"timestamp_ms":1776401948000,"timestamp_seconds":1776401948,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ce9d60"} 
[2026-04-17 10:31:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:31:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:31:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 10:31:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:31:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:31:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:31:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:31:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:31:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:31:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:31:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:31:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:31:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:31:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28485,"197":206,"2":56576,"24":39,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,2,24,16]} 
[2026-04-17 10:31:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:31:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:31:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 10:31:13] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 10:31:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:31:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28485,"unknown_197":206,"power_alt":56576,"ignition":39,"odometer":null}} 
[2026-04-17 10:31:13] local.INFO: DEBUG: GPS processor result {"connection_id":45687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20562,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:31:13] local.INFO: GPS data processed {"connection_id":45687,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:31:13] local.INFO: Acknowledgment sent {"connection_id":45687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:31:16] local.INFO: TCP Data received {"connection_id":45765,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:31:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:31:16] local.INFO: Processing buffer {"connection_id":45765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:31:16] local.INFO: IMEI packet received {"connection_id":45765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:31:16] local.INFO: IMEI acknowledgment sent {"connection_id":45765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:31:17] local.INFO: TCP Data received {"connection_id":45765,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:31:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:31:17] local.INFO: Processing buffer {"connection_id":45765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:31:17] local.INFO: IMEI packet received {"connection_id":45765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:31:17] local.INFO: IMEI acknowledgment sent {"connection_id":45765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:31:23] local.INFO: TCP Data received {"connection_id":45765,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45765,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:31:23] local.INFO: Processing buffer {"connection_id":45765,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:31:23] local.INFO: IMEI packet received {"connection_id":45765,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":45765,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:31:24] local.INFO: TCP Data received {"connection_id":45765,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cef738012d0af4c0070f7bf0002600d61d..."} 
[2026-04-17 10:31:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cef738012d0af4c0070f7bf0002600d61d..."} 
[2026-04-17 10:31:24] local.INFO: Processing buffer {"connection_id":45765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cef738012d0af4c0070f7bf0002600d61d..."} 
[2026-04-17 10:31:24] local.INFO: Packet analysis {"connection_id":45765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ce"} 
[2026-04-17 10:31:24] local.INFO: Extracted packet for processing {"connection_id":45765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ce"} 
[2026-04-17 10:31:24] local.INFO: GPS Element Parsed {"raw_longitude":755692736,"raw_latitude":118455280,"longitude_deg":75.5692736,"latitude_deg":11.845528,"altitude":38,"angle":214,"satellites":29,"speed":45,"hex_longitude":"2d0af4c0","hex_latitude":"070f7bf0","is_valid_coordinates":true} 
[2026-04-17 10:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:31:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758902528001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:31:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113288811928092672,"note":"Value kept but may cause issues"} 
[2026-04-17 10:31:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":795237208278405120,"note":"Value kept but may cause issues"} 
[2026-04-17 10:31:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:31:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776401971000,"timestamp_ms":1776401971000,"timestamp_seconds":1776401971,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cef738"} 
[2026-04-17 10:31:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:31:24] 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-04-17 10:31:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:31:24] 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-04-17 10:31:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:31:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:31:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:31:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:31:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:31:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:31:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:31:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:31:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:31:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758902528001,"66":14102,"26":206,"28":31744,"24":45,"16":113288811928092672,"45":795237208278405120},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,28,24,16,45]} 
[2026-04-17 10:31:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:31:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:31:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758902528001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:31:24] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-04-17 10:31:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:31:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113288811928092672,"km_value":113288811928092.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:31:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":795237208278405120,"description":"Unknown IO ID 45"} 
[2026-04-17 10:31:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758902528001,"power":14102,"unknown_26":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":795237208278405120}} 
[2026-04-17 10:31:24] local.INFO: DEBUG: GPS processor result {"connection_id":45765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:31:24] local.INFO: GPS data processed {"connection_id":45765,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:31:24] local.INFO: Acknowledgment sent {"connection_id":45765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:31:27] local.INFO: TCP Data received {"connection_id":45959,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d000d8012d7fad4005afe3500000009426..."} 
[2026-04-17 10:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d000d8012d7fad4005afe3500000009426..."} 
[2026-04-17 10:31:27] local.INFO: Processing buffer {"connection_id":45959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d000d8012d7fad4005afe3500000009426..."} 
[2026-04-17 10:31:27] local.INFO: Packet analysis {"connection_id":45959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:31:27] local.INFO: Extracted packet for processing {"connection_id":45959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758844928001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776402039000,"timestamp_ms":1776402039000,"timestamp_seconds":1776402039,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d000d8"} 
[2026-04-17 10:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 10:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758844928001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758844928001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:31:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758844928001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":45959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:31:27] local.INFO: GPS data processed {"connection_id":45959,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:31:27] local.INFO: Acknowledgment sent {"connection_id":45959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:31:45] local.INFO: TCP Data received {"connection_id":45687,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ceef68012d2004c006cf5cb0000e007430..."} 
[2026-04-17 10:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ceef68012d2004c006cf5cb0000e007430..."} 
[2026-04-17 10:31:45] local.INFO: Processing buffer {"connection_id":45687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ceef68012d2004c006cf5cb0000e007430..."} 
[2026-04-17 10:31:45] local.INFO: Packet analysis {"connection_id":45687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ce"} 
[2026-04-17 10:31:45] local.INFO: Extracted packet for processing {"connection_id":45687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ce"} 
[2026-04-17 10:31:45] local.INFO: GPS Element Parsed {"raw_longitude":757073088,"raw_latitude":114252976,"longitude_deg":75.7073088,"latitude_deg":11.4252976,"altitude":14,"angle":116,"satellites":48,"speed":0,"hex_longitude":"2d2004c0","hex_latitude":"06cf5cb0","is_valid_coordinates":true} 
[2026-04-17 10:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758898688001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2289728596047661056,"note":"Value kept but may cause issues"} 
[2026-04-17 10:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776401969000,"timestamp_ms":1776401969000,"timestamp_seconds":1776401969,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ceef68"} 
[2026-04-17 10:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:31:45] 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-04-17 10:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-17 10:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45687,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758898688001,"66":28354,"197":206,"2":56576,"24":0,"16":106618783551979520,"45":2289728596047661056},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,2,24,16,45]} 
[2026-04-17 10:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758898688001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:31:45] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 10:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2289728596047661056,"description":"Unknown IO ID 45"} 
[2026-04-17 10:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758898688001,"power":28354,"unknown_197":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2289728596047661056}} 
[2026-04-17 10:31:46] local.INFO: DEBUG: GPS processor result {"connection_id":45687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20565,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:31:46] local.INFO: GPS data processed {"connection_id":45687,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:31:46] local.INFO: Acknowledgment sent {"connection_id":45687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:31:51] local.INFO: TCP Data received {"connection_id":45766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:31:51] local.INFO: Processing buffer {"connection_id":45766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:31:51] local.INFO: IMEI packet received {"connection_id":45766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":45766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:31:55] local.INFO: TCP Data received {"connection_id":45765,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d04728012d0ad800070e44d0002700b61d..."} 
[2026-04-17 10:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d04728012d0ad800070e44d0002700b61d..."} 
[2026-04-17 10:31:55] local.INFO: Processing buffer {"connection_id":45765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d04728012d0ad800070e44d0002700b61d..."} 
[2026-04-17 10:31:55] local.INFO: Packet analysis {"connection_id":45765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:31:55] local.INFO: Extracted packet for processing {"connection_id":45765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:31:55] local.INFO: GPS Element Parsed {"raw_longitude":755685376,"raw_latitude":118375632,"longitude_deg":75.5685376,"latitude_deg":11.8375632,"altitude":39,"angle":182,"satellites":29,"speed":34,"hex_longitude":"2d0ad800","hex_latitude":"070e44d0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758924032001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113292939391664128,"note":"Value kept but may cause issues"} 
[2026-04-17 10:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":782993046771412992,"note":"Value kept but may cause issues"} 
[2026-04-17 10:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776402057000,"timestamp_ms":1776402057000,"timestamp_seconds":1776402057,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d04728"} 
[2026-04-17 10:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:31: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-04-17 10: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-17 10:31:55] 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-04-17 10: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-04-17 10:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45765,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758924032001,"66":14004,"25":206,"28":31744,"24":34,"16":113292939391664128,"45":782993046771412992},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,28,24,16,45]} 
[2026-04-17 10:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758924032001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:31:55] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-17 10:31:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113292939391664128,"km_value":113292939391664.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":782993046771412992,"description":"Unknown IO ID 45"} 
[2026-04-17 10:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758924032001,"power":14004,"unknown_25":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":782993046771412992}} 
[2026-04-17 10:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":45765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:31:55] local.INFO: GPS data processed {"connection_id":45765,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:31:55] local.INFO: Acknowledgment sent {"connection_id":45765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:31:56] local.INFO: TCP Data received {"connection_id":45766,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:31:56] local.INFO: Processing buffer {"connection_id":45766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:31:56] local.INFO: IMEI packet received {"connection_id":45766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":45766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:31:56] local.INFO: TCP Data received {"connection_id":45766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d000d8012d7fad4005afe3500000009426..."} 
[2026-04-17 10:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d000d8012d7fad4005afe3500000009426..."} 
[2026-04-17 10:31:56] local.INFO: Processing buffer {"connection_id":45766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d000d8012d7fad4005afe3500000009426..."} 
[2026-04-17 10:31:56] local.INFO: Packet analysis {"connection_id":45766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:31:56] local.INFO: Extracted packet for processing {"connection_id":45766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758844928001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776402039000,"timestamp_ms":1776402039000,"timestamp_seconds":1776402039,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d000d8"} 
[2026-04-17 10:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 10:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758844928001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758844928001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:31:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758844928001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":45766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:31:56] local.INFO: GPS data processed {"connection_id":45766,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:31:56] local.INFO: Acknowledgment sent {"connection_id":45766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:32:10] local.INFO: TCP Data received {"connection_id":45960,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:32:10] local.INFO: Processing buffer {"connection_id":45960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:32:10] local.INFO: IMEI packet received {"connection_id":45960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":45960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:32:10] local.INFO: TCP Data received {"connection_id":45960,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:32:10] local.INFO: Processing buffer {"connection_id":45960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:32:10] local.INFO: IMEI packet received {"connection_id":45960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":45960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:32:17] local.INFO: TCP Data received {"connection_id":45960,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45960,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:32:17] local.INFO: Processing buffer {"connection_id":45960,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:32:17] local.INFO: IMEI packet received {"connection_id":45960,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":45960,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:32:17] local.INFO: TCP Data received {"connection_id":45688,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:32:17] local.INFO: Processing buffer {"connection_id":45688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:32:17] local.INFO: IMEI packet received {"connection_id":45688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":45688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:32:20] local.INFO: TCP Data received {"connection_id":45688,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45688,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:32:20] local.INFO: Processing buffer {"connection_id":45688,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:32:20] local.INFO: IMEI packet received {"connection_id":45688,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":45688,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:32:20] local.INFO: TCP Data received {"connection_id":45960,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cf4170012d2035c006cf41c80012007931..."} 
[2026-04-17 10:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cf4170012d2035c006cf41c80012007931..."} 
[2026-04-17 10:32:20] local.INFO: Processing buffer {"connection_id":45960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cf4170012d2035c006cf41c80012007931..."} 
[2026-04-17 10:32:20] local.INFO: Packet analysis {"connection_id":45960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cf"} 
[2026-04-17 10:32:20] local.INFO: Extracted packet for processing {"connection_id":45960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cf"} 
[2026-04-17 10:32:20] local.INFO: GPS Element Parsed {"raw_longitude":757085632,"raw_latitude":114246088,"longitude_deg":75.7085632,"latitude_deg":11.4246088,"altitude":18,"angle":121,"satellites":49,"speed":0,"hex_longitude":"2d2035c0","hex_latitude":"06cf41c8","is_valid_coordinates":true} 
[2026-04-17 10:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:32:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758904064001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:32:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:32:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2307180044601831424,"note":"Value kept but may cause issues"} 
[2026-04-17 10:32:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:32:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776401990000,"timestamp_ms":1776401990000,"timestamp_seconds":1776401990,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cf4170"} 
[2026-04-17 10:32:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:32: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-04-17 10:32:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 10:32:20] 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-04-17 10:32:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:32:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:32:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:32:20] local.INFO: Teltonika packet parsed successfully {"connection_id":45960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:32:20] local.INFO: Passing IMEI to GPS processor {"connection_id":45960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:32:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":45960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:32:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:32:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:32:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:32:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758904064001,"66":28354,"197":206,"2":56576,"24":0,"16":106618783551979520,"45":2307180044601831424},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,2,24,16,45]} 
[2026-04-17 10:32:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:32:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:32:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758904064001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:32:20] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 10:32:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:32:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2307180044601831424,"description":"Unknown IO ID 45"} 
[2026-04-17 10:32:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758904064001,"power":28354,"unknown_197":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2307180044601831424}} 
[2026-04-17 10:32:20] local.INFO: DEBUG: GPS processor result {"connection_id":45960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20568,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:32:20] local.INFO: GPS data processed {"connection_id":45960,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:32:20] local.INFO: Acknowledgment sent {"connection_id":45960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:32:22] local.INFO: TCP Data received {"connection_id":45688,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d04728012d0ad800070e44d0002700b61d..."} 
[2026-04-17 10:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d04728012d0ad800070e44d0002700b61d..."} 
[2026-04-17 10:32:22] local.INFO: Processing buffer {"connection_id":45688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d04728012d0ad800070e44d0002700b61d..."} 
[2026-04-17 10:32:22] local.INFO: Packet analysis {"connection_id":45688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:32:22] local.INFO: Extracted packet for processing {"connection_id":45688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:32:22] local.INFO: GPS Element Parsed {"raw_longitude":755685376,"raw_latitude":118375632,"longitude_deg":75.5685376,"latitude_deg":11.8375632,"altitude":39,"angle":182,"satellites":29,"speed":34,"hex_longitude":"2d0ad800","hex_latitude":"070e44d0","is_valid_coordinates":true} 
[2026-04-17 10:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:32:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758926592001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:32:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113292939391664128,"note":"Value kept but may cause issues"} 
[2026-04-17 10:32:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":781374565652942848,"note":"Value kept but may cause issues"} 
[2026-04-17 10:32:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:32:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776402057000,"timestamp_ms":1776402057000,"timestamp_seconds":1776402057,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d04728"} 
[2026-04-17 10:32:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:32: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-04-17 10:32:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 10:32: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-04-17 10:32:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:32:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:32:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:32:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:32:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:32:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:32:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:32:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:32:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:32:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758926592001,"66":14004,"25":206,"28":31744,"24":34,"16":113292939391664128,"45":781374565652942848},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,28,24,16,45]} 
[2026-04-17 10:32:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:32:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:32:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758926592001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:32:22] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-17 10:32:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:32:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113292939391664128,"km_value":113292939391664.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:32:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":781374565652942848,"description":"Unknown IO ID 45"} 
[2026-04-17 10:32:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758926592001,"power":14004,"unknown_25":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":781374565652942848}} 
[2026-04-17 10:32:22] local.INFO: DEBUG: GPS processor result {"connection_id":45688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:32:22] local.INFO: GPS data processed {"connection_id":45688,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:32:22] local.INFO: Acknowledgment sent {"connection_id":45688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:32:23] local.INFO: TCP Data received {"connection_id":45960,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d047280100000000000000000000000000..."} 
[2026-04-17 10:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d047280100000000000000000000000000..."} 
[2026-04-17 10:32:23] local.INFO: Processing buffer {"connection_id":45960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d047280100000000000000000000000000..."} 
[2026-04-17 10:32:23] local.INFO: Packet analysis {"connection_id":45960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:32:23] local.INFO: Extracted packet for processing {"connection_id":45960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:32:23] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 10:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758909440001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2320972318458890240,"note":"Value kept but may cause issues"} 
[2026-04-17 10:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776402057000,"timestamp_ms":1776402057000,"timestamp_seconds":1776402057,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d04728"} 
[2026-04-17 10:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:32:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 10:32:23] 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-04-17 10:32:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45960,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":45960,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 10:32:23] local.INFO: GPS data processed {"connection_id":45960,"processed":0,"errors":0,"total":1} 
[2026-04-17 10:32:23] local.INFO: Acknowledgment sent {"connection_id":45960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:32:27] local.INFO: TCP Data received {"connection_id":45766,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d000d8012d7fad4005afe3500000009426..."} 
[2026-04-17 10:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d000d8012d7fad4005afe3500000009426..."} 
[2026-04-17 10:32:27] local.INFO: Processing buffer {"connection_id":45766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d000d8012d7fad4005afe3500000009426..."} 
[2026-04-17 10:32:27] local.INFO: Packet analysis {"connection_id":45766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:32:27] local.INFO: Extracted packet for processing {"connection_id":45766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758844928001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776402039000,"timestamp_ms":1776402039000,"timestamp_seconds":1776402039,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d000d8"} 
[2026-04-17 10:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 10:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758844928001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758844928001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:32:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758844928001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":45766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:32:27] local.INFO: GPS data processed {"connection_id":45766,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:32:27] local.INFO: Acknowledgment sent {"connection_id":45766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:32:51] local.INFO: TCP Data received {"connection_id":45961,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:32:51] local.INFO: Processing buffer {"connection_id":45961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:32:51] local.INFO: IMEI packet received {"connection_id":45961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":45961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:32:54] local.INFO: TCP Data received {"connection_id":45688,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d09160012d0ad880070e20a0002800af1c..."} 
[2026-04-17 10:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d09160012d0ad880070e20a0002800af1c..."} 
[2026-04-17 10:32:54] local.INFO: Processing buffer {"connection_id":45688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d09160012d0ad880070e20a0002800af1c..."} 
[2026-04-17 10:32:54] local.INFO: Packet analysis {"connection_id":45688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:32:54] local.INFO: Extracted packet for processing {"connection_id":45688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:32:54] local.INFO: GPS Element Parsed {"raw_longitude":755685504,"raw_latitude":118366368,"longitude_deg":75.5685504,"latitude_deg":11.8366368,"altitude":40,"angle":175,"satellites":28,"speed":31,"hex_longitude":"2d0ad880","hex_latitude":"070e20a0","is_valid_coordinates":true} 
[2026-04-17 10:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758926592001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113293390363230208,"note":"Value kept but may cause issues"} 
[2026-04-17 10:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":781374565652942848,"note":"Value kept but may cause issues"} 
[2026-04-17 10:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776402076000,"timestamp_ms":1776402076000,"timestamp_seconds":1776402076,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d09160"} 
[2026-04-17 10:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:32: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-04-17 10:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 10:32:54] 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-04-17 10:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":45688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":45688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":45688,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758926592001,"66":13993,"25":206,"28":31744,"24":31,"16":113293390363230208,"45":781374565652942848},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,28,24,16,45]} 
[2026-04-17 10:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758926592001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:32:54] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-17 10:32:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113293390363230208,"km_value":113293390363230.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":781374565652942848,"description":"Unknown IO ID 45"} 
[2026-04-17 10:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758926592001,"power":13993,"unknown_25":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":781374565652942848}} 
[2026-04-17 10:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":45688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:32:54] local.INFO: GPS data processed {"connection_id":45688,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:32:54] local.INFO: Acknowledgment sent {"connection_id":45688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:32:56] local.INFO: TCP Data received {"connection_id":45961,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:32:56] local.INFO: Processing buffer {"connection_id":45961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:32:56] local.INFO: IMEI packet received {"connection_id":45961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":45961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:32:57] local.INFO: TCP Data received {"connection_id":45961,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d000d8012d7fad4005afe3500000009426..."} 
[2026-04-17 10:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d000d8012d7fad4005afe3500000009426..."} 
[2026-04-17 10:32:57] local.INFO: Processing buffer {"connection_id":45961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d000d8012d7fad4005afe3500000009426..."} 
[2026-04-17 10:32:57] local.INFO: Packet analysis {"connection_id":45961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:32:57] local.INFO: Extracted packet for processing {"connection_id":45961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:32:57] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":38,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758844928001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402039000,"timestamp_ms":1776402039000,"timestamp_seconds":1776402039,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d000d8"} 
[2026-04-17 10:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 10:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758844928001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758844928001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:32:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758844928001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":45961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:32:57] local.INFO: GPS data processed {"connection_id":45961,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:32:57] local.INFO: Acknowledgment sent {"connection_id":45961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:33:02] local.INFO: TCP Data received {"connection_id":45689,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:33:02] local.INFO: Processing buffer {"connection_id":45689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:33:02] local.INFO: IMEI packet received {"connection_id":45689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:33:02] local.INFO: IMEI acknowledgment sent {"connection_id":45689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:33:05] local.INFO: TCP Data received {"connection_id":45689,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:33:05] local.INFO: Processing buffer {"connection_id":45689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:33:05] local.INFO: IMEI packet received {"connection_id":45689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":45689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:33:10] local.INFO: TCP Data received {"connection_id":45689,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45689,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:33:10] local.INFO: Processing buffer {"connection_id":45689,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:33:10] local.INFO: IMEI packet received {"connection_id":45689,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":45689,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:33:11] local.INFO: TCP Data received {"connection_id":45689,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cf9760012d206b8006cf1f30000b007e2f..."} 
[2026-04-17 10:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cf9760012d206b8006cf1f30000b007e2f..."} 
[2026-04-17 10:33:11] local.INFO: Processing buffer {"connection_id":45689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cf9760012d206b8006cf1f30000b007e2f..."} 
[2026-04-17 10:33:11] local.INFO: Packet analysis {"connection_id":45689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cf"} 
[2026-04-17 10:33:11] local.INFO: Extracted packet for processing {"connection_id":45689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cf"} 
[2026-04-17 10:33:11] local.INFO: GPS Element Parsed {"raw_longitude":757099392,"raw_latitude":114237232,"longitude_deg":75.7099392,"latitude_deg":11.4237232,"altitude":11,"angle":126,"satellites":47,"speed":32,"hex_longitude":"2d206b80","hex_latitude":"06cf1f30","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:33:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,73,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 10:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776402012000,"timestamp_ms":1776402012000,"timestamp_seconds":1776402012,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cf9760"} 
[2026-04-17 10:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:33: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 10:33: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-04-17 10: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-04-17 10:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28398,"73":206,"2":56576,"24":32,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16]} 
[2026-04-17 10:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 10:33:11] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-04-17 10:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:33:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28398,"unknown_73":206,"power_alt":56576,"ignition":32,"odometer":null}} 
[2026-04-17 10:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":45689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20573,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:33:11] local.INFO: GPS data processed {"connection_id":45689,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:33:11] local.INFO: Acknowledgment sent {"connection_id":45689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:33:17] local.INFO: TCP Data received {"connection_id":46520,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:33:17] local.INFO: Processing buffer {"connection_id":46520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:33:17] local.INFO: IMEI packet received {"connection_id":46520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":46520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:33:23] local.INFO: TCP Data received {"connection_id":46520,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46520,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:33:23] local.INFO: Processing buffer {"connection_id":46520,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:33:23] local.INFO: IMEI packet received {"connection_id":46520,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":46520,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:33:24] local.INFO: TCP Data received {"connection_id":46520,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d0b870012d0add40070dfc38002400a81c..."} 
[2026-04-17 10:33:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d0b870012d0add40070dfc38002400a81c..."} 
[2026-04-17 10:33:24] local.INFO: Processing buffer {"connection_id":46520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d0b870012d0add40070dfc38002400a81c..."} 
[2026-04-17 10:33:24] local.INFO: Packet analysis {"connection_id":46520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:33:24] local.INFO: Extracted packet for processing {"connection_id":46520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:33:24] local.INFO: GPS Element Parsed {"raw_longitude":755686720,"raw_latitude":118357048,"longitude_deg":75.568672,"latitude_deg":11.8357048,"altitude":36,"angle":168,"satellites":28,"speed":40,"hex_longitude":"2d0add40","hex_latitude":"070dfc38","is_valid_coordinates":true} 
[2026-04-17 10:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:33:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758931456001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:33:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113293845629763584,"note":"Value kept but may cause issues"} 
[2026-04-17 10:33:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":781515303138926592,"note":"Value kept but may cause issues"} 
[2026-04-17 10:33:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:33:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776402086000,"timestamp_ms":1776402086000,"timestamp_seconds":1776402086,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d0b870"} 
[2026-04-17 10:33:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:33:24] 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-04-17 10:33:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:33:24] 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-04-17 10:33:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:33:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:33:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:33:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:33:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:33:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:33:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:33:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:33:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:33:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758931456001,"66":13820,"25":206,"28":31744,"24":40,"16":113293845629763584,"45":781515303138926592},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,28,24,16,45]} 
[2026-04-17 10:33:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:33:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:33:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758931456001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:33:24] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-17 10:33:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:33:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113293845629763584,"km_value":113293845629763.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:33:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":781515303138926592,"description":"Unknown IO ID 45"} 
[2026-04-17 10:33:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758931456001,"power":13820,"unknown_25":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":781515303138926592}} 
[2026-04-17 10:33:24] local.INFO: DEBUG: GPS processor result {"connection_id":46520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:33:24] local.INFO: GPS data processed {"connection_id":46520,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:33:24] local.INFO: Acknowledgment sent {"connection_id":46520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:33:28] local.INFO: TCP Data received {"connection_id":45961,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d19b00012d7fad4005afe3500000009423..."} 
[2026-04-17 10:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d19b00012d7fad4005afe3500000009423..."} 
[2026-04-17 10:33:28] local.INFO: Processing buffer {"connection_id":45961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d19b00012d7fad4005afe3500000009423..."} 
[2026-04-17 10:33:28] local.INFO: Packet analysis {"connection_id":45961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d1"} 
[2026-04-17 10:33:28] local.INFO: Extracted packet for processing {"connection_id":45961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d1"} 
[2026-04-17 10:33:28] local.INFO: GPS Element Parsed {"raw_longitude":763342144,"raw_latitude":95413072,"longitude_deg":76.3342144,"latitude_deg":9.5413072,"altitude":0,"angle":148,"satellites":35,"speed":0,"hex_longitude":"2d7fad40","hex_latitude":"05afe350","is_valid_coordinates":true} 
[2026-04-17 10:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758921984001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065097268133888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776402144000,"timestamp_ms":1776402144000,"timestamp_seconds":1776402144,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d19b00"} 
[2026-04-17 10:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758921984001,"66":25321,"28":206,"85":12544,"24":0,"16":274065097268133888,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758921984001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:33:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065097268133888,"km_value":274065097268133.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758921984001,"power":25321,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":45961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:33:28] local.INFO: GPS data processed {"connection_id":45961,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:33:28] local.INFO: Acknowledgment sent {"connection_id":45961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:33:43] local.INFO: TCP Data received {"connection_id":45689,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99cfe968012d20974006cefdb00003007b2f..."} 
[2026-04-17 10:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45689,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99cfe968012d20974006cefdb00003007b2f..."} 
[2026-04-17 10:33:43] local.INFO: Processing buffer {"connection_id":45689,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99cfe968012d20974006cefdb00003007b2f..."} 
[2026-04-17 10:33:43] local.INFO: Packet analysis {"connection_id":45689,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99cf"} 
[2026-04-17 10:33:43] local.INFO: Extracted packet for processing {"connection_id":45689,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99cf"} 
[2026-04-17 10:33:43] local.INFO: GPS Element Parsed {"raw_longitude":757110592,"raw_latitude":114228656,"longitude_deg":75.7110592,"latitude_deg":11.4228656,"altitude":3,"angle":123,"satellites":47,"speed":18,"hex_longitude":"2d209740","hex_latitude":"06cefdb0","is_valid_coordinates":true} 
[2026-04-17 10:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758915072001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2336101598454820864,"note":"Value kept but may cause issues"} 
[2026-04-17 10:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776402033000,"timestamp_ms":1776402033000,"timestamp_seconds":1776402033,"priority":1,"record_length":96,"hex_timestamp":"0000019d99cfe968"} 
[2026-04-17 10:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:33:43] 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-04-17 10:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 10:33:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45689,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45689,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758915072001,"66":28637,"73":206,"2":56576,"24":18,"16":106618783551979520,"45":2336101598454820864},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-04-17 10:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758915072001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:33:43] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-04-17 10:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2336101598454820864,"description":"Unknown IO ID 45"} 
[2026-04-17 10:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758915072001,"power":28637,"unknown_73":206,"power_alt":56576,"ignition":18,"odometer":null,"unknown_45":2336101598454820864}} 
[2026-04-17 10:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":45689,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20576,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:33:43] local.INFO: GPS data processed {"connection_id":45689,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:33:43] local.INFO: Acknowledgment sent {"connection_id":45689,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:33:55] local.INFO: TCP Data received {"connection_id":46520,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d0db98012d0ae400070dd950002200a81d..."} 
[2026-04-17 10:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46520,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d0db98012d0ae400070dd950002200a81d..."} 
[2026-04-17 10:33:55] local.INFO: Processing buffer {"connection_id":46520,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d0db98012d0ae400070dd950002200a81d..."} 
[2026-04-17 10:33:55] local.INFO: Packet analysis {"connection_id":46520,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:33:55] local.INFO: Extracted packet for processing {"connection_id":46520,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:33:55] local.INFO: GPS Element Parsed {"raw_longitude":755688448,"raw_latitude":118348112,"longitude_deg":75.5688448,"latitude_deg":11.8348112,"altitude":34,"angle":168,"satellites":29,"speed":38,"hex_longitude":"2d0ae400","hex_latitude":"070dd950","is_valid_coordinates":true} 
[2026-04-17 10:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758934016001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113294288011395072,"note":"Value kept but may cause issues"} 
[2026-04-17 10:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":782852309275916288,"note":"Value kept but may cause issues"} 
[2026-04-17 10:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776402095000,"timestamp_ms":1776402095000,"timestamp_seconds":1776402095,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d0db98"} 
[2026-04-17 10:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:33:55] 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-04-17 10:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-17 10:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46520,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46520,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758934016001,"66":14428,"25":206,"28":31744,"24":38,"16":113294288011395072,"45":782852309275916288},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,28,24,16,45]} 
[2026-04-17 10:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758934016001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:33:55] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-17 10:33:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113294288011395072,"km_value":113294288011395.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":782852309275916288,"description":"Unknown IO ID 45"} 
[2026-04-17 10:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758934016001,"power":14428,"unknown_25":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":782852309275916288}} 
[2026-04-17 10:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":46520,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:33:55] local.INFO: GPS data processed {"connection_id":46520,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:33:55] local.INFO: Acknowledgment sent {"connection_id":46520,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:33:56] local.INFO: TCP Data received {"connection_id":46521,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:33:56] local.INFO: Processing buffer {"connection_id":46521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:33:56] local.INFO: IMEI packet received {"connection_id":46521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":46521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:33:57] local.INFO: TCP Data received {"connection_id":46521,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:33:57] local.INFO: Processing buffer {"connection_id":46521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:33:57] local.INFO: IMEI packet received {"connection_id":46521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:33:57] local.INFO: IMEI acknowledgment sent {"connection_id":46521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:33:58] local.INFO: TCP Data received {"connection_id":46521,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:33:58] local.INFO: Processing buffer {"connection_id":46521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:33:58] local.INFO: IMEI packet received {"connection_id":46521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:33:58] local.INFO: IMEI acknowledgment sent {"connection_id":46521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:34:01] local.INFO: TCP Data received {"connection_id":46521,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:34:01] local.INFO: Processing buffer {"connection_id":46521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:34:01] local.INFO: IMEI packet received {"connection_id":46521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":46521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:34:01] local.INFO: TCP Data received {"connection_id":46521,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d1ae88012d7fac4005afe3a80000015623..."} 
[2026-04-17 10:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d1ae88012d7fac4005afe3a80000015623..."} 
[2026-04-17 10:34:01] local.INFO: Processing buffer {"connection_id":46521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d1ae88012d7fac4005afe3a80000015623..."} 
[2026-04-17 10:34:01] local.INFO: Packet analysis {"connection_id":46521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d1"} 
[2026-04-17 10:34:01] local.INFO: Extracted packet for processing {"connection_id":46521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d1"} 
[2026-04-17 10:34:01] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413160,"longitude_deg":76.3341888,"latitude_deg":9.541316,"altitude":0,"angle":342,"satellites":35,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe3a8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 10:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758948864001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065101563101184,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9200080006957715456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776402149000,"timestamp_ms":1776402149000,"timestamp_seconds":1776402149,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d1ae88"} 
[2026-04-17 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-04-17 10:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 10:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 10:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:34: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-04-17 10:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:34:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:34:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758948864001,"66":25158,"28":206,"85":12544,"24":0,"16":274065101563101184,"45":9200080006957715456},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:34:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:34:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:34:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758948864001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:34:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:34:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:34:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065101563101184,"km_value":274065101563101.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:34:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9200080006957715456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:34:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758948864001,"power":25158,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9200080006957715456}} 
[2026-04-17 10:34:02] local.INFO: DEBUG: GPS processor result {"connection_id":46521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:34:02] local.INFO: GPS data processed {"connection_id":46521,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:34:02] local.INFO: Acknowledgment sent {"connection_id":46521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:34:05] local.INFO: TCP Data received {"connection_id":45767,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:34:05] local.INFO: Processing buffer {"connection_id":45767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:34:05] local.INFO: IMEI packet received {"connection_id":45767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":45767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:34:08] local.INFO: TCP Data received {"connection_id":45767,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:34:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:34:08] local.INFO: Processing buffer {"connection_id":45767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:34:08] local.INFO: IMEI packet received {"connection_id":45767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:34:08] local.INFO: IMEI acknowledgment sent {"connection_id":45767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:34:10] local.INFO: TCP Data received {"connection_id":45767,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45767,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:34:10] local.INFO: Processing buffer {"connection_id":45767,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:34:10] local.INFO: IMEI packet received {"connection_id":45767,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":45767,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:34:11] local.INFO: TCP Data received {"connection_id":45767,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d03b70012d20974006cefdb00003007b2f..."} 
[2026-04-17 10:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d03b70012d20974006cefdb00003007b2f..."} 
[2026-04-17 10:34:11] local.INFO: Processing buffer {"connection_id":45767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d03b70012d20974006cefdb00003007b2f..."} 
[2026-04-17 10:34:11] local.INFO: Packet analysis {"connection_id":45767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:34:11] local.INFO: Extracted packet for processing {"connection_id":45767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:34:11] local.INFO: GPS Element Parsed {"raw_longitude":757110592,"raw_latitude":114228656,"longitude_deg":75.7110592,"latitude_deg":11.4228656,"altitude":3,"angle":123,"satellites":47,"speed":0,"hex_longitude":"2d209740","hex_latitude":"06cefdb0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:34:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758920448001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2348416128683716608,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776402054000,"timestamp_ms":1776402054000,"timestamp_seconds":1776402054,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d03b70"} 
[2026-04-17 10:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":111,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-17 10:34:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2742,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758920448001,"66":28452,"73":206,"2":56576,"24":0,"16":106618783551979520,"45":2348416128683716608},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-04-17 10:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758920448001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:34:11] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-04-17 10:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:34:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2348416128683716608,"description":"Unknown IO ID 45"} 
[2026-04-17 10:34:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758920448001,"power":28452,"unknown_73":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2348416128683716608}} 
[2026-04-17 10:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":45767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20579,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:34:11] local.INFO: GPS data processed {"connection_id":45767,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:34:11] local.INFO: Acknowledgment sent {"connection_id":45767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:34:16] local.INFO: TCP Data received {"connection_id":45767,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d07dd8012d20b78006cede78000500952f..."} 
[2026-04-17 10:34:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d07dd8012d20b78006cede78000500952f..."} 
[2026-04-17 10:34:16] local.INFO: Processing buffer {"connection_id":45767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d07dd8012d20b78006cede78000500952f..."} 
[2026-04-17 10:34:16] local.INFO: Packet analysis {"connection_id":45767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:34:16] local.INFO: Extracted packet for processing {"connection_id":45767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:34:16] local.INFO: GPS Element Parsed {"raw_longitude":757118848,"raw_latitude":114220664,"longitude_deg":75.7118848,"latitude_deg":11.4220664,"altitude":5,"angle":149,"satellites":47,"speed":17,"hex_longitude":"2d20b780","hex_latitude":"06cede78","is_valid_coordinates":true} 
[2026-04-17 10:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:34:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758925824001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2348416128683716608,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:34:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776402071000,"timestamp_ms":1776402071000,"timestamp_seconds":1776402071,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d07dd8"} 
[2026-04-17 10:34:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:34:16] 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-04-17 10:34:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 10:34:16] 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-04-17 10:34:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:34:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:34:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:34:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:34:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:34:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:34:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:34:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:34:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:34:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758925824001,"66":28300,"73":206,"2":56576,"24":17,"16":106618783551979520,"45":2348416128683716608},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-04-17 10:34:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:34:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:34:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758925824001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:34:16] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-04-17 10:34:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:34:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2348416128683716608,"description":"Unknown IO ID 45"} 
[2026-04-17 10:34:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758925824001,"power":28300,"unknown_73":206,"power_alt":56576,"ignition":17,"odometer":null,"unknown_45":2348416128683716608}} 
[2026-04-17 10:34:16] local.INFO: DEBUG: GPS processor result {"connection_id":45767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20580,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:34:16] local.INFO: GPS data processed {"connection_id":45767,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:34:16] local.INFO: Acknowledgment sent {"connection_id":45767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:34:17] local.INFO: TCP Data received {"connection_id":45768,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:34:17] local.INFO: Processing buffer {"connection_id":45768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:34:17] local.INFO: IMEI packet received {"connection_id":45768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":45768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:34:23] local.INFO: TCP Data received {"connection_id":45768,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45768,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:34:23] local.INFO: Processing buffer {"connection_id":45768,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:34:23] local.INFO: IMEI packet received {"connection_id":45768,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":45768,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:34:24] local.INFO: TCP Data received {"connection_id":45768,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d0f6f0012d0ae6c0070dbe58002100b41c..."} 
[2026-04-17 10:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d0f6f0012d0ae6c0070dbe58002100b41c..."} 
[2026-04-17 10:34:24] local.INFO: Processing buffer {"connection_id":45768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d0f6f0012d0ae6c0070dbe58002100b41c..."} 
[2026-04-17 10:34:24] local.INFO: Packet analysis {"connection_id":45768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:34:24] local.INFO: Extracted packet for processing {"connection_id":45768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:34:24] local.INFO: GPS Element Parsed {"raw_longitude":755689152,"raw_latitude":118341208,"longitude_deg":75.5689152,"latitude_deg":11.8341208,"altitude":33,"angle":180,"satellites":28,"speed":36,"hex_longitude":"2d0ae6c0","hex_latitude":"070dbe58","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758936320001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113294623018844160,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784752265366425600,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776402102000,"timestamp_ms":1776402102000,"timestamp_seconds":1776402102,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d0f6f0"} 
[2026-04-17 10:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:34:24] 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-04-17 10: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 10:34:24] 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-04-17 10: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-04-17 10:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758936320001,"66":14211,"25":206,"28":31744,"24":36,"16":113294623018844160,"45":784752265366425600},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,28,24,16,45]} 
[2026-04-17 10:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758936320001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:34:24] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-17 10:34:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113294623018844160,"km_value":113294623018844.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":784752265366425600,"description":"Unknown IO ID 45"} 
[2026-04-17 10:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758936320001,"power":14211,"unknown_25":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":784752265366425600}} 
[2026-04-17 10:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":45768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:34:24] local.INFO: GPS data processed {"connection_id":45768,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:34:24] local.INFO: Acknowledgment sent {"connection_id":45768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:34:33] local.INFO: TCP Data received {"connection_id":46521,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d20090012d7fac4005afe4900000014b24..."} 
[2026-04-17 10:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d20090012d7fac4005afe4900000014b24..."} 
[2026-04-17 10:34:33] local.INFO: Processing buffer {"connection_id":46521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d20090012d7fac4005afe4900000014b24..."} 
[2026-04-17 10:34:33] local.INFO: Packet analysis {"connection_id":46521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d2"} 
[2026-04-17 10:34:33] local.INFO: Extracted packet for processing {"connection_id":46521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d2"} 
[2026-04-17 10:34:33] local.INFO: GPS Element Parsed {"raw_longitude":763341888,"raw_latitude":95413392,"longitude_deg":76.3341888,"latitude_deg":9.5413392,"altitude":0,"angle":331,"satellites":36,"speed":0,"hex_longitude":"2d7fac40","hex_latitude":"05afe490","is_valid_coordinates":true} 
[2026-04-17 10:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758950144001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065114448003072,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981027328,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776402170000,"timestamp_ms":1776402170000,"timestamp_seconds":1776402170,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d20090"} 
[2026-04-17 10:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:34:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 10:34: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-04-17 10:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758950144001,"66":27843,"28":206,"85":12544,"24":0,"16":274065114448003072,"45":9199798531981027328},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758950144001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:34:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:34:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065114448003072,"km_value":274065114448003.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981027328,"description":"Unknown IO ID 45"} 
[2026-04-17 10:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758950144001,"power":27843,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199798531981027328}} 
[2026-04-17 10:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":46521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:34:33] local.INFO: GPS data processed {"connection_id":46521,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:34:33] local.INFO: Acknowledgment sent {"connection_id":46521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:34:50] local.INFO: TCP Data received {"connection_id":45767,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d183900100000000000000000000000000..."} 
[2026-04-17 10:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d183900100000000000000000000000000..."} 
[2026-04-17 10:34:50] local.INFO: Processing buffer {"connection_id":45767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d183900100000000000000000000000000..."} 
[2026-04-17 10:34:50] local.INFO: Packet analysis {"connection_id":45767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d1"} 
[2026-04-17 10:34:50] local.INFO: Extracted packet for processing {"connection_id":45767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d1"} 
[2026-04-17 10:34:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:34:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758930176001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2357493696680589312,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:34:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776402138000,"timestamp_ms":1776402138000,"timestamp_seconds":1776402138,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d18390"} 
[2026-04-17 10:34:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:34:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 10:34:50] 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-04-17 10: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-04-17 10:34:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:34:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:34:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:34:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:34:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45767,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:34:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:34:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:34:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:34:50] local.INFO: DEBUG: GPS processor result {"connection_id":45767,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 10:34:50] local.INFO: GPS data processed {"connection_id":45767,"processed":0,"errors":0,"total":1} 
[2026-04-17 10:34:50] local.INFO: Acknowledgment sent {"connection_id":45767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:34:51] local.INFO: TCP Data received {"connection_id":46522,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:34:51] local.INFO: Processing buffer {"connection_id":46522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:34:51] local.INFO: IMEI packet received {"connection_id":46522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":46522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:34:53] local.INFO: TCP Data received {"connection_id":46522,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:34:53] local.INFO: Processing buffer {"connection_id":46522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:34:53] local.INFO: IMEI packet received {"connection_id":46522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":46522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:34:55] local.INFO: TCP Data received {"connection_id":45768,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d102a8012d0ae580070db3b0002100c01c..."} 
[2026-04-17 10:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d102a8012d0ae580070db3b0002100c01c..."} 
[2026-04-17 10:34:55] local.INFO: Processing buffer {"connection_id":45768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d102a8012d0ae580070db3b0002100c01c..."} 
[2026-04-17 10:34:55] local.INFO: Packet analysis {"connection_id":45768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d1"} 
[2026-04-17 10:34:55] local.INFO: Extracted packet for processing {"connection_id":45768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d1"} 
[2026-04-17 10:34:55] local.INFO: GPS Element Parsed {"raw_longitude":755688832,"raw_latitude":118338480,"longitude_deg":75.5688832,"latitude_deg":11.833848,"altitude":33,"angle":192,"satellites":28,"speed":37,"hex_longitude":"2d0ae580","hex_latitude":"070db3b0","is_valid_coordinates":true} 
[2026-04-17 10:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758938112001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113294760457797632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":785526321550612480,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776402105000,"timestamp_ms":1776402105000,"timestamp_seconds":1776402105,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d102a8"} 
[2026-04-17 10:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:34: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-04-17 10:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 10:34:55] 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-04-17 10:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45768,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758938112001,"66":14352,"25":206,"28":31744,"24":37,"16":113294760457797632,"45":785526321550612480},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,28,24,16,45]} 
[2026-04-17 10:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758938112001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:34:55] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-17 10:34:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113294760457797632,"km_value":113294760457797.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":785526321550612480,"description":"Unknown IO ID 45"} 
[2026-04-17 10:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758938112001,"power":14352,"unknown_25":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":785526321550612480}} 
[2026-04-17 10:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":45768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:34:55] local.INFO: GPS data processed {"connection_id":45768,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:34:55] local.INFO: Acknowledgment sent {"connection_id":45768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:34:56] local.INFO: TCP Data received {"connection_id":46522,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:34:56] local.INFO: Processing buffer {"connection_id":46522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:34:56] local.INFO: IMEI packet received {"connection_id":46522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":46522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:34:57] local.INFO: TCP Data received {"connection_id":46522,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d227a0012d7fac8005afe4b00000000d23..."} 
[2026-04-17 10:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d227a0012d7fac8005afe4b00000000d23..."} 
[2026-04-17 10:34:57] local.INFO: Processing buffer {"connection_id":46522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d227a0012d7fac8005afe4b00000000d23..."} 
[2026-04-17 10:34:57] local.INFO: Packet analysis {"connection_id":46522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d2"} 
[2026-04-17 10:34:57] local.INFO: Extracted packet for processing {"connection_id":46522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d2"} 
[2026-04-17 10:34:57] local.INFO: GPS Element Parsed {"raw_longitude":763341952,"raw_latitude":95413424,"longitude_deg":76.3341952,"latitude_deg":9.5413424,"altitude":0,"angle":13,"satellites":35,"speed":1,"hex_longitude":"2d7fac80","hex_latitude":"05afe4b0","is_valid_coordinates":true} 
[2026-04-17 10:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758955520001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065118742970368,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199798531981086720,"note":"Value kept but may cause issues"} 
[2026-04-17 10:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402180000,"timestamp_ms":1776402180000,"timestamp_seconds":1776402180,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d227a0"} 
[2026-04-17 10:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 10:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758955520001,"66":27832,"28":206,"85":12544,"24":1,"16":274065118742970368,"45":9199798531981086720},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758955520001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:34:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:34:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065118742970368,"km_value":274065118742970.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199798531981086720,"description":"Unknown IO ID 45"} 
[2026-04-17 10:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758955520001,"power":27832,"unknown_28":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9199798531981086720}} 
[2026-04-17 10:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":46522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:34:57] local.INFO: GPS data processed {"connection_id":46522,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:34:57] local.INFO: Acknowledgment sent {"connection_id":46522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:35:05] local.INFO: TCP Data received {"connection_id":45769,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:35:05] local.INFO: Processing buffer {"connection_id":45769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:35:05] local.INFO: IMEI packet received {"connection_id":45769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":45769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:35:06] local.INFO: TCP Data received {"connection_id":45769,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:35:06] local.INFO: Processing buffer {"connection_id":45769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:35:06] local.INFO: IMEI packet received {"connection_id":45769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:35:06] local.INFO: IMEI acknowledgment sent {"connection_id":45769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:35:10] local.INFO: TCP Data received {"connection_id":45769,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:35:10] local.INFO: Processing buffer {"connection_id":45769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:35:10] local.INFO: IMEI packet received {"connection_id":45769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":45769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:35:12] local.INFO: TCP Data received {"connection_id":45769,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d0df80012d20cd0006cea7e0000d00ac2f..."} 
[2026-04-17 10:35:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d0df80012d20cd0006cea7e0000d00ac2f..."} 
[2026-04-17 10:35:12] local.INFO: Processing buffer {"connection_id":45769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d0df80012d20cd0006cea7e0000d00ac2f..."} 
[2026-04-17 10:35:12] local.INFO: Packet analysis {"connection_id":45769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:35:12] local.INFO: Extracted packet for processing {"connection_id":45769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d0"} 
[2026-04-17 10:35:12] local.INFO: GPS Element Parsed {"raw_longitude":757124352,"raw_latitude":114206688,"longitude_deg":75.7124352,"latitude_deg":11.4206688,"altitude":13,"angle":172,"satellites":47,"speed":30,"hex_longitude":"2d20cd00","hex_latitude":"06cea7e0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:35:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,73,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 10:35:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776402096000,"timestamp_ms":1776402096000,"timestamp_seconds":1776402096,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d0df80"} 
[2026-04-17 10:35:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:35:12] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 10:35:12] 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-04-17 10: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-04-17 10:35:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:35:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:35:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:35:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:35:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:35:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:35:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:35:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:35:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28452,"73":206,"2":56576,"24":30,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16]} 
[2026-04-17 10:35:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:35:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:35:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 10:35:12] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-04-17 10:35:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:35:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28452,"unknown_73":206,"power_alt":56576,"ignition":30,"odometer":null}} 
[2026-04-17 10:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":45769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20585,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:35:12] local.INFO: GPS data processed {"connection_id":45769,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:35:12] local.INFO: Acknowledgment sent {"connection_id":45769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:35:20] local.INFO: TCP Data received {"connection_id":45962,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:35:20] local.INFO: Processing buffer {"connection_id":45962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:35:20] local.INFO: IMEI packet received {"connection_id":45962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":45962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:35:22] local.INFO: TCP Data received {"connection_id":45962,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:35:22] local.INFO: Processing buffer {"connection_id":45962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:35:22] local.INFO: IMEI packet received {"connection_id":45962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":45962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:35:26] local.INFO: TCP Data received {"connection_id":45962,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:35:26] local.INFO: Processing buffer {"connection_id":45962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:35:26] local.INFO: IMEI packet received {"connection_id":45962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":45962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:35:27] local.INFO: TCP Data received {"connection_id":45962,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d33528012d0a7080070d20e0002800ed1e..."} 
[2026-04-17 10:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d33528012d0a7080070d20e0002800ed1e..."} 
[2026-04-17 10:35:27] local.INFO: Processing buffer {"connection_id":45962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d33528012d0a7080070d20e0002800ed1e..."} 
[2026-04-17 10:35:27] local.INFO: Packet analysis {"connection_id":45962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:35:27] local.INFO: Extracted packet for processing {"connection_id":45962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:35:27] local.INFO: GPS Element Parsed {"raw_longitude":755658880,"raw_latitude":118300896,"longitude_deg":75.565888,"latitude_deg":11.8300896,"altitude":40,"angle":237,"satellites":30,"speed":4,"hex_longitude":"2d0a7080","hex_latitude":"070d20e0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758970368001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113297169934450688,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":755267761544308736,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776402249000,"timestamp_ms":1776402249000,"timestamp_seconds":1776402249,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d33528"} 
[2026-04-17 10:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 10:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758970368001,"66":14613,"208":206,"28":31744,"24":4,"16":113297169934450688,"45":755267761544308736},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,28,24,16,45]} 
[2026-04-17 10:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758970368001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:35:27] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-04-17 10:35:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113297169934450688,"km_value":113297169934450.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":755267761544308736,"description":"Unknown IO ID 45"} 
[2026-04-17 10:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758970368001,"power":14613,"unknown_208":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":755267761544308736}} 
[2026-04-17 10:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":45962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:35:27] local.INFO: GPS data processed {"connection_id":45962,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:35:27] local.INFO: Acknowledgment sent {"connection_id":45962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:35:28] local.INFO: TCP Data received {"connection_id":45962,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d38730012d0a5dc0070d1760002700ef1e..."} 
[2026-04-17 10:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d38730012d0a5dc0070d1760002700ef1e..."} 
[2026-04-17 10:35:28] local.INFO: Processing buffer {"connection_id":45962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d38730012d0a5dc0070d1760002700ef1e..."} 
[2026-04-17 10:35:28] local.INFO: Packet analysis {"connection_id":45962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:35:28] local.INFO: Extracted packet for processing {"connection_id":45962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:35:28] local.INFO: GPS Element Parsed {"raw_longitude":755654080,"raw_latitude":118298464,"longitude_deg":75.565408,"latitude_deg":11.8298464,"altitude":39,"angle":239,"satellites":30,"speed":15,"hex_longitude":"2d0a5dc0","hex_latitude":"070d1760","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758975744001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113297427632488448,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":752241905544257536,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776402270000,"timestamp_ms":1776402270000,"timestamp_seconds":1776402270,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d38730"} 
[2026-04-17 10:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:35: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-04-17 10:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":57,"n8_eight_byte":21,"data_length":795,"current_offset":136} 
[2026-04-17 10:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":672,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758975744001,"66":14407,"208":206,"28":31744,"24":15,"16":113297427632488448,"45":752241905544257536},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,28,24,16,45]} 
[2026-04-17 10:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758975744001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:35:28] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-04-17 10:35:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113297427632488448,"km_value":113297427632488.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":752241905544257536,"description":"Unknown IO ID 45"} 
[2026-04-17 10:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758975744001,"power":14407,"unknown_208":206,"unknown_28":31744,"ignition":15,"odometer":null,"unknown_45":752241905544257536}} 
[2026-04-17 10:35:28] local.INFO: TCP Data received {"connection_id":46522,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d34c98012d7f980005afda30000000fb25..."} 
[2026-04-17 10:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d34c98012d7f980005afda30000000fb25..."} 
[2026-04-17 10:35:28] local.INFO: Processing buffer {"connection_id":46522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d34c98012d7f980005afda30000000fb25..."} 
[2026-04-17 10:35:28] local.INFO: Packet analysis {"connection_id":46522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:35:28] local.INFO: Extracted packet for processing {"connection_id":46522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763336704,"raw_latitude":95410736,"longitude_deg":76.3336704,"latitude_deg":9.5410736,"altitude":0,"angle":251,"satellites":37,"speed":0,"hex_longitude":"2d7f9800","hex_latitude":"05afda30","is_valid_coordinates":true} 
[2026-04-17 10:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758968064001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198743000817756160,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776402255000,"timestamp_ms":1776402255000,"timestamp_seconds":1776402255,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d34c98"} 
[2026-04-17 10:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":104,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-17 10:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2104,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758968064001,"66":26484,"28":206,"85":12544,"24":0,"16":274065230412120064,"45":9198743000817756160},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758968064001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:35:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198743000817756160,"description":"Unknown IO ID 45"} 
[2026-04-17 10:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758968064001,"power":26484,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198743000817756160}} 
[2026-04-17 10:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":46522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20587,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:35:28] local.INFO: GPS data processed {"connection_id":46522,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:35:28] local.INFO: Acknowledgment sent {"connection_id":46522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":45962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:35:28] local.INFO: GPS data processed {"connection_id":45962,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:35:28] local.INFO: Acknowledgment sent {"connection_id":45962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:35:43] local.INFO: TCP Data received {"connection_id":45769,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d12da0012d20d34006ce6f78000700b82e..."} 
[2026-04-17 10:35:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d12da0012d20d34006ce6f78000700b82e..."} 
[2026-04-17 10:35:43] local.INFO: Processing buffer {"connection_id":45769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d12da0012d20d34006ce6f78000700b82e..."} 
[2026-04-17 10:35:43] local.INFO: Packet analysis {"connection_id":45769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d1"} 
[2026-04-17 10:35:43] local.INFO: Extracted packet for processing {"connection_id":45769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d1"} 
[2026-04-17 10:35:43] local.INFO: GPS Element Parsed {"raw_longitude":757125952,"raw_latitude":114192248,"longitude_deg":75.7125952,"latitude_deg":11.4192248,"altitude":7,"angle":184,"satellites":46,"speed":19,"hex_longitude":"2d20d340","hex_latitude":"06ce6f78","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:35:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758936576001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2363545408676290560,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,73,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:35:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776402116000,"timestamp_ms":1776402116000,"timestamp_seconds":1776402116,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d12da0"} 
[2026-04-17 10:35:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:35:43] 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-04-17 10: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 10:35:43] 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-04-17 10: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-04-17 10:35:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:35:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:35:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:35:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:35:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45769,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:35:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:35:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:35:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:35:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758936576001,"66":28398,"73":206,"2":56576,"24":19,"16":106618783551979520,"45":2363545408676290560},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,73,2,24,16,45]} 
[2026-04-17 10:35:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:35:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:35:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758936576001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:35:43] local.INFO: Unknown IO ID detected {"io_id":73,"value":206,"description":"Unknown IO ID 73"} 
[2026-04-17 10:35:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:35:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2363545408676290560,"description":"Unknown IO ID 45"} 
[2026-04-17 10:35:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758936576001,"power":28398,"unknown_73":206,"power_alt":56576,"ignition":19,"odometer":null,"unknown_45":2363545408676290560}} 
[2026-04-17 10:35:43] local.INFO: DEBUG: GPS processor result {"connection_id":45769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20589,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:35:43] local.INFO: GPS data processed {"connection_id":45769,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:35:43] local.INFO: Acknowledgment sent {"connection_id":45769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:35:51] local.INFO: TCP Data received {"connection_id":45690,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:35:51] local.INFO: Processing buffer {"connection_id":45690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:35:51] local.INFO: IMEI packet received {"connection_id":45690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":45690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:35:56] local.INFO: TCP Data received {"connection_id":45690,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:35:56] local.INFO: Processing buffer {"connection_id":45690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:35:56] local.INFO: IMEI packet received {"connection_id":45690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":45690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:35:57] local.INFO: TCP Data received {"connection_id":45690,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d3a670012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d3a670012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:35:57] local.INFO: Processing buffer {"connection_id":45690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d3a670012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:35:57] local.INFO: Packet analysis {"connection_id":45690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:35:57] local.INFO: Extracted packet for processing {"connection_id":45690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:35:57] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410616,"longitude_deg":76.3335424,"latitude_deg":9.5410616,"altitude":0,"angle":244,"satellites":34,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afd9b8","is_valid_coordinates":true} 
[2026-04-17 10:35: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-04-17 10:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758977280001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194098663702016000,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402278000,"timestamp_ms":1776402278000,"timestamp_seconds":1776402278,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d3a670"} 
[2026-04-17 10:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":103,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-04-17 10:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1757,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758977280001,"66":27952,"28":206,"85":12544,"24":0,"16":274065230412120064,"45":9194098663702016000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758977280001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:35:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:35:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194098663702016000,"description":"Unknown IO ID 45"} 
[2026-04-17 10:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758977280001,"power":27952,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9194098663702016000}} 
[2026-04-17 10:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":45690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:35:57] local.INFO: GPS data processed {"connection_id":45690,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:35:57] local.INFO: Acknowledgment sent {"connection_id":45690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:35:59] local.INFO: TCP Data received {"connection_id":45962,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d3a670012d0a55c0070d11c8002500e01d..."} 
[2026-04-17 10:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d3a670012d0a55c0070d11c8002500e01d..."} 
[2026-04-17 10:35:59] local.INFO: Processing buffer {"connection_id":45962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d3a670012d0a55c0070d11c8002500e01d..."} 
[2026-04-17 10:35:59] local.INFO: Packet analysis {"connection_id":45962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:35:59] local.INFO: Extracted packet for processing {"connection_id":45962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:35:59] local.INFO: GPS Element Parsed {"raw_longitude":755652032,"raw_latitude":118297032,"longitude_deg":75.5652032,"latitude_deg":11.8297032,"altitude":37,"angle":224,"satellites":29,"speed":11,"hex_longitude":"2d0a55c0","hex_latitude":"070d11c8","is_valid_coordinates":true} 
[2026-04-17 10:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758981120001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113297547891572736,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":746964249730310144,"note":"Value kept but may cause issues"} 
[2026-04-17 10:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776402278000,"timestamp_ms":1776402278000,"timestamp_seconds":1776402278,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d3a670"} 
[2026-04-17 10:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 10:35:59] 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-04-17 10:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758981120001,"66":14559,"208":206,"28":31744,"24":11,"16":113297547891572736,"45":746964249730310144},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,28,24,16,45]} 
[2026-04-17 10:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758981120001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:35:59] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-04-17 10:35:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113297547891572736,"km_value":113297547891572.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":746964249730310144,"description":"Unknown IO ID 45"} 
[2026-04-17 10:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758981120001,"power":14559,"unknown_208":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":746964249730310144}} 
[2026-04-17 10:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":45962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:35:59] local.INFO: GPS data processed {"connection_id":45962,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:35:59] local.INFO: Acknowledgment sent {"connection_id":45962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:36:09] local.INFO: TCP Data received {"connection_id":46523,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:36:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:36:09] local.INFO: Processing buffer {"connection_id":46523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:36:09] local.INFO: IMEI packet received {"connection_id":46523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:36:09] local.INFO: IMEI acknowledgment sent {"connection_id":46523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:36:10] local.INFO: TCP Data received {"connection_id":46523,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:36:10] local.INFO: Processing buffer {"connection_id":46523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:36:10] local.INFO: IMEI packet received {"connection_id":46523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":46523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:36:15] local.INFO: TCP Data received {"connection_id":46523,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46523,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:36:15] local.INFO: Processing buffer {"connection_id":46523,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:36:15] local.INFO: IMEI packet received {"connection_id":46523,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":46523,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:36:16] local.INFO: TCP Data received {"connection_id":46523,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d233580100000000000000000000000000..."} 
[2026-04-17 10:36:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d233580100000000000000000000000000..."} 
[2026-04-17 10:36:16] local.INFO: Processing buffer {"connection_id":46523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d233580100000000000000000000000000..."} 
[2026-04-17 10:36:16] local.INFO: Packet analysis {"connection_id":46523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d2"} 
[2026-04-17 10:36:16] local.INFO: Extracted packet for processing {"connection_id":46523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d2"} 
[2026-04-17 10: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-04-17 10: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-04-17 10:36:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758941696001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:36:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:36:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2365304627277035520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:36:16] 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-04-17 10:36:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776402183000,"timestamp_ms":1776402183000,"timestamp_seconds":1776402183,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d23358"} 
[2026-04-17 10:36:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:36: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-04-17 10:36:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 10:36:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:36:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:36:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:36:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:36:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:36:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46523,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:36:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46523,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:36:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:36:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:36:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:36:16] local.INFO: DEBUG: GPS processor result {"connection_id":46523,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 10:36:16] local.INFO: GPS data processed {"connection_id":46523,"processed":0,"errors":0,"total":1} 
[2026-04-17 10:36:16] local.INFO: Acknowledgment sent {"connection_id":46523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:36:18] local.INFO: TCP Data received {"connection_id":46524,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:36:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:36:18] local.INFO: Processing buffer {"connection_id":46524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:36:18] local.INFO: IMEI packet received {"connection_id":46524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:36:18] local.INFO: IMEI acknowledgment sent {"connection_id":46524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:36:19] local.INFO: TCP Data received {"connection_id":46524,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:36:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46524,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:36:19] local.INFO: Processing buffer {"connection_id":46524,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:36:19] local.INFO: IMEI packet received {"connection_id":46524,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:36:19] local.INFO: IMEI acknowledgment sent {"connection_id":46524,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:36:20] local.INFO: TCP Data received {"connection_id":46524,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d3b610012d0a5200070d0d08002500cd1d..."} 
[2026-04-17 10:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d3b610012d0a5200070d0d08002500cd1d..."} 
[2026-04-17 10:36:20] local.INFO: Processing buffer {"connection_id":46524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d3b610012d0a5200070d0d08002500cd1d..."} 
[2026-04-17 10:36:20] local.INFO: Packet analysis {"connection_id":46524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:36:20] local.INFO: Extracted packet for processing {"connection_id":46524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:36:20] local.INFO: GPS Element Parsed {"raw_longitude":755651072,"raw_latitude":118295816,"longitude_deg":75.5651072,"latitude_deg":11.8295816,"altitude":37,"angle":205,"satellites":29,"speed":19,"hex_longitude":"2d0a5200","hex_latitude":"070d0d08","is_valid_coordinates":true} 
[2026-04-17 10:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:36:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758983168001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:36:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113297620906016768,"note":"Value kept but may cause issues"} 
[2026-04-17 10:36:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":744712449916258304,"note":"Value kept but may cause issues"} 
[2026-04-17 10:36:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:36:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776402282000,"timestamp_ms":1776402282000,"timestamp_seconds":1776402282,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d3b610"} 
[2026-04-17 10:36:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:36:20] 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-04-17 10:36:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-17 10:36:20] 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-04-17 10:36:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:36:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:36:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:36:20] local.INFO: Teltonika packet parsed successfully {"connection_id":46524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:36:20] local.INFO: Passing IMEI to GPS processor {"connection_id":46524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:36:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":46524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:36:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:36:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:36:20] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:36:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758983168001,"66":13906,"41":206,"28":31744,"24":19,"16":113297620906016768,"45":744712449916258304},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,28,24,16,45]} 
[2026-04-17 10:36:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:36:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:36:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758983168001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:36:20] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-04-17 10:36:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:36:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113297620906016768,"km_value":113297620906016.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:36:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":744712449916258304,"description":"Unknown IO ID 45"} 
[2026-04-17 10:36:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758983168001,"power":13906,"unknown_41":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":744712449916258304}} 
[2026-04-17 10:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":46524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:36:21] local.INFO: GPS data processed {"connection_id":46524,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:36:21] local.INFO: Acknowledgment sent {"connection_id":46524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:36:28] local.INFO: TCP Data received {"connection_id":45690,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:36:28] local.INFO: Processing buffer {"connection_id":45690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:36:28] local.INFO: Packet analysis {"connection_id":45690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:36:28] local.INFO: Extracted packet for processing {"connection_id":45690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410616,"longitude_deg":76.3335424,"latitude_deg":9.5410616,"altitude":0,"angle":244,"satellites":34,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afd9b8","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758983168001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818432000,"note":"Value kept but may cause issues"} 
[2026-04-17 10:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776402279000,"timestamp_ms":1776402279000,"timestamp_seconds":1776402279,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d3aa58"} 
[2026-04-17 10:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 10:36:28] 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-04-17 10: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-04-17 10:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758983168001,"66":27952,"28":206,"85":12544,"24":0,"16":274065230412120064,"45":9192691288818432000},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758983168001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:36:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818432000,"description":"Unknown IO ID 45"} 
[2026-04-17 10:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758983168001,"power":27952,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818432000}} 
[2026-04-17 10:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":45690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:36:28] local.INFO: GPS data processed {"connection_id":45690,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:36:28] local.INFO: Acknowledgment sent {"connection_id":45690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:36:48] local.INFO: TCP Data received {"connection_id":46523,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d19b00012d20de8006ce38380008009a2e..."} 
[2026-04-17 10:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46523,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d19b00012d20de8006ce38380008009a2e..."} 
[2026-04-17 10:36:48] local.INFO: Processing buffer {"connection_id":46523,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d19b00012d20de8006ce38380008009a2e..."} 
[2026-04-17 10:36:48] local.INFO: Packet analysis {"connection_id":46523,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d1"} 
[2026-04-17 10:36:48] local.INFO: Extracted packet for processing {"connection_id":46523,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d1"} 
[2026-04-17 10:36:48] local.INFO: GPS Element Parsed {"raw_longitude":757128832,"raw_latitude":114178104,"longitude_deg":75.7128832,"latitude_deg":11.4178104,"altitude":8,"angle":154,"satellites":46,"speed":27,"hex_longitude":"2d20de80","hex_latitude":"06ce3838","is_valid_coordinates":true} 
[2026-04-17 10:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:36:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:36:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,120,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 10:36:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776402144000,"timestamp_ms":1776402144000,"timestamp_seconds":1776402144,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d19b00"} 
[2026-04-17 10:36:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:36:48] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:36:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-17 10:36:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:36:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:36:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:36:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:36:48] local.INFO: Teltonika packet parsed successfully {"connection_id":46523,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:36:48] local.INFO: Passing IMEI to GPS processor {"connection_id":46523,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:36:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":46523,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:36:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:36:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:36:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:36:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28430,"120":206,"2":56576,"24":27,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16]} 
[2026-04-17 10:36:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:36:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:36:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 10:36:48] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 10:36:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:36:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28430,"unknown_120":206,"power_alt":56576,"ignition":27,"odometer":null}} 
[2026-04-17 10:36:48] local.INFO: DEBUG: GPS processor result {"connection_id":46523,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20594,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:36:48] local.INFO: GPS data processed {"connection_id":46523,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:36:48] local.INFO: Acknowledgment sent {"connection_id":46523,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:36:51] local.INFO: TCP Data received {"connection_id":45770,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:36:51] local.INFO: Processing buffer {"connection_id":45770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:36:51] local.INFO: IMEI packet received {"connection_id":45770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":45770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:36:53] local.INFO: TCP Data received {"connection_id":46524,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d3c998012d0a4e80070d0400002600c11c..."} 
[2026-04-17 10:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46524,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d3c998012d0a4e80070d0400002600c11c..."} 
[2026-04-17 10:36:53] local.INFO: Processing buffer {"connection_id":46524,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d3c998012d0a4e80070d0400002600c11c..."} 
[2026-04-17 10:36:53] local.INFO: Packet analysis {"connection_id":46524,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:36:53] local.INFO: Extracted packet for processing {"connection_id":46524,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:36:53] local.INFO: GPS Element Parsed {"raw_longitude":755650176,"raw_latitude":118293504,"longitude_deg":75.5650176,"latitude_deg":11.8293504,"altitude":38,"angle":193,"satellites":28,"speed":21,"hex_longitude":"2d0a4e80","hex_latitude":"070d0400","is_valid_coordinates":true} 
[2026-04-17 10:36: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-04-17 10:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758984192001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113297741165101056,"note":"Value kept but may cause issues"} 
[2026-04-17 10:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":743656918753282048,"note":"Value kept but may cause issues"} 
[2026-04-17 10:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776402287000,"timestamp_ms":1776402287000,"timestamp_seconds":1776402287,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d3c998"} 
[2026-04-17 10:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:36:53] 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-04-17 10:36: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-17 10:36:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:36: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-04-17 10:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":46524,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":46524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":46524,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758984192001,"66":14341,"41":206,"28":31744,"24":21,"16":113297741165101056,"45":743656918753282048},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,28,24,16,45]} 
[2026-04-17 10:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758984192001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:36:53] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-04-17 10:36:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113297741165101056,"km_value":113297741165101.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":743656918753282048,"description":"Unknown IO ID 45"} 
[2026-04-17 10:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758984192001,"power":14341,"unknown_41":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":743656918753282048}} 
[2026-04-17 10:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":46524,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:36:53] local.INFO: GPS data processed {"connection_id":46524,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:36:53] local.INFO: Acknowledgment sent {"connection_id":46524,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:36:56] local.INFO: TCP Data received {"connection_id":45770,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45770,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:36:56] local.INFO: Processing buffer {"connection_id":45770,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:36:56] local.INFO: IMEI packet received {"connection_id":45770,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":45770,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:36:57] local.INFO: TCP Data received {"connection_id":45770,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:36:57] local.INFO: Processing buffer {"connection_id":45770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:36:57] local.INFO: Packet analysis {"connection_id":45770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:36:57] local.INFO: Extracted packet for processing {"connection_id":45770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:36:57] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410616,"longitude_deg":76.3335424,"latitude_deg":9.5410616,"altitude":0,"angle":244,"satellites":34,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afd9b8","is_valid_coordinates":true} 
[2026-04-17 10:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758983168001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818432000,"note":"Value kept but may cause issues"} 
[2026-04-17 10:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402279000,"timestamp_ms":1776402279000,"timestamp_seconds":1776402279,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d3aa58"} 
[2026-04-17 10:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 10:36:57] 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-04-17 10:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758983168001,"66":27952,"28":206,"85":12544,"24":0,"16":274065230412120064,"45":9192691288818432000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758983168001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:36:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:36:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818432000,"description":"Unknown IO ID 45"} 
[2026-04-17 10:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758983168001,"power":27952,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818432000}} 
[2026-04-17 10:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":45770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20596,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:36:57] local.INFO: GPS data processed {"connection_id":45770,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:36:57] local.INFO: Acknowledgment sent {"connection_id":45770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:37:05] local.INFO: TCP Data received {"connection_id":45691,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:37:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:37:05] local.INFO: Processing buffer {"connection_id":45691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:37:05] local.INFO: IMEI packet received {"connection_id":45691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:37:05] local.INFO: IMEI acknowledgment sent {"connection_id":45691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:37:10] local.INFO: TCP Data received {"connection_id":45691,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:37:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45691,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:37:10] local.INFO: Processing buffer {"connection_id":45691,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:37:10] local.INFO: IMEI packet received {"connection_id":45691,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:37:10] local.INFO: IMEI acknowledgment sent {"connection_id":45691,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:37:12] local.INFO: TCP Data received {"connection_id":45691,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d4c780012d21b44006ccf9800007009f2f..."} 
[2026-04-17 10:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d4c780012d21b44006ccf9800007009f2f..."} 
[2026-04-17 10:37:12] local.INFO: Processing buffer {"connection_id":45691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d4c780012d21b44006ccf9800007009f2f..."} 
[2026-04-17 10:37:12] local.INFO: Packet analysis {"connection_id":45691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d4"} 
[2026-04-17 10:37:12] local.INFO: Extracted packet for processing {"connection_id":45691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d4"} 
[2026-04-17 10:37:12] local.INFO: GPS Element Parsed {"raw_longitude":757183552,"raw_latitude":114096512,"longitude_deg":75.7183552,"latitude_deg":11.4096512,"altitude":7,"angle":159,"satellites":47,"speed":0,"hex_longitude":"2d21b440","hex_latitude":"06ccf980","is_valid_coordinates":true} 
[2026-04-17 10:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:37:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758996736001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2421810728830248960,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:12] 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-04-17 10:37:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776402352000,"timestamp_ms":1776402352000,"timestamp_seconds":1776402352,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d4c780"} 
[2026-04-17 10:37:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:37:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:37:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 10:37: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-04-17 10:37:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:37:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:37:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:37:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:37:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:37:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:37:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:37:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:37:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:37:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758996736001,"66":28354,"240":206,"2":56576,"24":0,"16":106618783551979520,"45":2421810728830248960},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-04-17 10:37:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:37:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:37:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758996736001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:37:12] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-04-17 10:37:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:37:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2421810728830248960,"description":"Unknown IO ID 45"} 
[2026-04-17 10:37:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758996736001,"power":28354,"unknown_240":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2421810728830248960}} 
[2026-04-17 10:37:12] local.INFO: DEBUG: GPS processor result {"connection_id":45691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20597,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:37:12] local.INFO: GPS data processed {"connection_id":45691,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:37:12] local.INFO: Acknowledgment sent {"connection_id":45691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:37:15] local.INFO: TCP Data received {"connection_id":46525,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:37:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:37:15] local.INFO: Processing buffer {"connection_id":46525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:37:15] local.INFO: IMEI packet received {"connection_id":46525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:37:15] local.INFO: IMEI acknowledgment sent {"connection_id":46525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:37:17] local.INFO: TCP Data received {"connection_id":46525,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:37:17] local.INFO: Processing buffer {"connection_id":46525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:37:17] local.INFO: IMEI packet received {"connection_id":46525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":46525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:37:23] local.INFO: TCP Data received {"connection_id":46525,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:37:23] local.INFO: Processing buffer {"connection_id":46525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:37:23] local.INFO: IMEI packet received {"connection_id":46525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":46525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:37:24] local.INFO: TCP Data received {"connection_id":46525,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d3f878012d0a4b40070ceeb0002500b61c..."} 
[2026-04-17 10:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d3f878012d0a4b40070ceeb0002500b61c..."} 
[2026-04-17 10:37:24] local.INFO: Processing buffer {"connection_id":46525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d3f878012d0a4b40070ceeb0002500b61c..."} 
[2026-04-17 10:37:24] local.INFO: Packet analysis {"connection_id":46525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:37:24] local.INFO: Extracted packet for processing {"connection_id":46525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:37:24] local.INFO: GPS Element Parsed {"raw_longitude":755649344,"raw_latitude":118288048,"longitude_deg":75.5649344,"latitude_deg":11.8288048,"altitude":37,"angle":182,"satellites":28,"speed":14,"hex_longitude":"2d0a4b40","hex_latitude":"070ceeb0","is_valid_coordinates":true} 
[2026-04-17 10:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758985472001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298011748040704,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":742671756334202880,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,41,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:37:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776402299000,"timestamp_ms":1776402299000,"timestamp_seconds":1776402299,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d3f878"} 
[2026-04-17 10:37:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:37:24] 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-04-17 10:37:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 10:37:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6939071078,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:24] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505328402300928,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2580723752,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:24] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3543476225,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3872391374,"corrected_to":0} 
[2026-04-17 10:37:24] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2198405120,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:24] local.WARNING: Large IO value detected {"io_id":32,"raw_value":84735497830075688,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:24] local.WARNING: Large IO value detected {"io_id":120,"raw_value":10978465176092672,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:24] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,41,28,24,241,158,16,131,157,182,45,13,37,29,10,66,166,192,17,208,135,1,240,71,153,4,113,205,227,123,40,30,239,56,2,146,7,39,206,32,120],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3872391374,"validated":0}]} 
[2026-04-17 10:37:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2738400899445882880,"timestamp_seconds":2738400899445883.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 10:37:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:37:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:37:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:37:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:37:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:37:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:37:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:37:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:37:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758985472001,"66":13972,"41":206,"28":31744,"24":14,"16":113298011748040704,"45":742671756334202880},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,41,28,24,16,45]} 
[2026-04-17 10:37:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:37:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:37:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758985472001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:37:24] local.INFO: Unknown IO ID detected {"io_id":41,"value":206,"description":"Unknown IO ID 41"} 
[2026-04-17 10:37:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 10:37:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298011748040704,"km_value":113298011748040.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:37:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":742671756334202880,"description":"Unknown IO ID 45"} 
[2026-04-17 10:37:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758985472001,"power":13972,"unknown_41":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":742671756334202880}} 
[2026-04-17 10:37:24] local.INFO: DEBUG: GPS processor result {"connection_id":46525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:37:24] local.INFO: GPS data processed {"connection_id":46525,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:37:24] local.INFO: Acknowledgment sent {"connection_id":46525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:37:28] local.INFO: TCP Data received {"connection_id":45770,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:37:28] local.INFO: Processing buffer {"connection_id":45770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:37:28] local.INFO: Packet analysis {"connection_id":45770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:37:28] local.INFO: Extracted packet for processing {"connection_id":45770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:37:28] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410616,"longitude_deg":76.3335424,"latitude_deg":9.5410616,"altitude":0,"angle":244,"satellites":34,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afd9b8","is_valid_coordinates":true} 
[2026-04-17 10:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758983168001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818432000,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776402279000,"timestamp_ms":1776402279000,"timestamp_seconds":1776402279,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d3aa58"} 
[2026-04-17 10:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 10:37:28] 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-04-17 10:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45770,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758983168001,"66":27952,"28":206,"85":12544,"24":0,"16":274065230412120064,"45":9192691288818432000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758983168001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:37:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:37:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818432000,"description":"Unknown IO ID 45"} 
[2026-04-17 10:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758983168001,"power":27952,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818432000}} 
[2026-04-17 10:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":45770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20599,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:37:28] local.INFO: GPS data processed {"connection_id":45770,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:37:28] local.INFO: Acknowledgment sent {"connection_id":45770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:37:44] local.INFO: TCP Data received {"connection_id":45691,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d51988012d21c70006ccbb68000200ac2f..."} 
[2026-04-17 10:37:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d51988012d21c70006ccbb68000200ac2f..."} 
[2026-04-17 10:37:44] local.INFO: Processing buffer {"connection_id":45691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d51988012d21c70006ccbb68000200ac2f..."} 
[2026-04-17 10:37:44] local.INFO: Packet analysis {"connection_id":45691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d5"} 
[2026-04-17 10:37:44] local.INFO: Extracted packet for processing {"connection_id":45691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d5"} 
[2026-04-17 10:37:44] local.INFO: GPS Element Parsed {"raw_longitude":757188352,"raw_latitude":114080616,"longitude_deg":75.7188352,"latitude_deg":11.4080616,"altitude":2,"angle":172,"satellites":47,"speed":35,"hex_longitude":"2d21c700","hex_latitude":"06ccbb68","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:37:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759002112001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2428636497012424704,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:44] 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-04-17 10:37:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776402373000,"timestamp_ms":1776402373000,"timestamp_seconds":1776402373,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d51988"} 
[2026-04-17 10:37:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:37:44] 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-04-17 10: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 10:37:44] 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-04-17 10: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-04-17 10:37:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:37:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:37:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:37:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:37:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45691,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:37:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:37:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:37:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:37:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759002112001,"66":27984,"240":206,"2":56576,"24":35,"16":106618783551979520,"45":2428636497012424704},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-04-17 10:37:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:37:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:37:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759002112001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:37:44] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-04-17 10:37:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:37:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2428636497012424704,"description":"Unknown IO ID 45"} 
[2026-04-17 10:37:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759002112001,"power":27984,"unknown_240":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":2428636497012424704}} 
[2026-04-17 10:37:44] local.INFO: DEBUG: GPS processor result {"connection_id":45691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20600,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:37:44] local.INFO: GPS data processed {"connection_id":45691,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:37:44] local.INFO: Acknowledgment sent {"connection_id":45691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:37:51] local.INFO: TCP Data received {"connection_id":46526,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:37:51] local.INFO: Processing buffer {"connection_id":46526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:37:51] local.INFO: IMEI packet received {"connection_id":46526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":46526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:37:56] local.INFO: TCP Data received {"connection_id":46526,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46526,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:37:56] local.INFO: Processing buffer {"connection_id":46526,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:37:56] local.INFO: IMEI packet received {"connection_id":46526,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":46526,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:37:57] local.INFO: TCP Data received {"connection_id":46526,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:37:57] local.INFO: Processing buffer {"connection_id":46526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:37:57] local.INFO: Packet analysis {"connection_id":46526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:37:57] local.INFO: Extracted packet for processing {"connection_id":46526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:37:57] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410616,"longitude_deg":76.3335424,"latitude_deg":9.5410616,"altitude":0,"angle":244,"satellites":34,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afd9b8","is_valid_coordinates":true} 
[2026-04-17 10:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758983168001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818432000,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402279000,"timestamp_ms":1776402279000,"timestamp_seconds":1776402279,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d3aa58"} 
[2026-04-17 10:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 10:37:57] 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-04-17 10:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758983168001,"66":27952,"28":206,"85":12544,"24":0,"16":274065230412120064,"45":9192691288818432000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758983168001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:37:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:37:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818432000,"description":"Unknown IO ID 45"} 
[2026-04-17 10:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758983168001,"power":27952,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818432000}} 
[2026-04-17 10:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":46526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:37:57] local.INFO: GPS data processed {"connection_id":46526,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:37:57] local.INFO: Acknowledgment sent {"connection_id":46526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:37:57] local.INFO: TCP Data received {"connection_id":46525,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d5c950012d098540070be110001d00af1e..."} 
[2026-04-17 10:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d5c950012d098540070be110001d00af1e..."} 
[2026-04-17 10:37:57] local.INFO: Processing buffer {"connection_id":46525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d5c950012d098540070be110001d00af1e..."} 
[2026-04-17 10:37:57] local.INFO: Packet analysis {"connection_id":46525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d5"} 
[2026-04-17 10:37:57] local.INFO: Extracted packet for processing {"connection_id":46525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d5"} 
[2026-04-17 10:37:57] local.INFO: GPS Element Parsed {"raw_longitude":755598656,"raw_latitude":118219024,"longitude_deg":75.5598656,"latitude_deg":11.8219024,"altitude":29,"angle":175,"satellites":30,"speed":41,"hex_longitude":"2d098540","hex_latitude":"070be110","is_valid_coordinates":true} 
[2026-04-17 10:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759017984001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113302465629126656,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":686024917253175296,"note":"Value kept but may cause issues"} 
[2026-04-17 10:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402418000,"timestamp_ms":1776402418000,"timestamp_seconds":1776402418,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d5c950"} 
[2026-04-17 10:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-17 10:37:57] 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-04-17 10:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759017984001,"66":14048,"210":206,"28":32256,"24":41,"16":113302465629126656,"45":686024917253175296},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,28,24,16,45]} 
[2026-04-17 10:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759017984001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:37:57] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-17 10:37:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113302465629126656,"km_value":113302465629126.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":686024917253175296,"description":"Unknown IO ID 45"} 
[2026-04-17 10:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759017984001,"power":14048,"unknown_210":206,"unknown_28":32256,"ignition":41,"odometer":null,"unknown_45":686024917253175296}} 
[2026-04-17 10:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":46525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:37:57] local.INFO: GPS data processed {"connection_id":46525,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:37:57] local.INFO: Acknowledgment sent {"connection_id":46525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:38:05] local.INFO: TCP Data received {"connection_id":45963,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:38:05] local.INFO: Processing buffer {"connection_id":45963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:38:05] local.INFO: IMEI packet received {"connection_id":45963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":45963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:38:10] local.INFO: TCP Data received {"connection_id":45963,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:38:10] local.INFO: Processing buffer {"connection_id":45963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:38:10] local.INFO: IMEI packet received {"connection_id":45963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":45963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:38:11] local.INFO: TCP Data received {"connection_id":45963,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d51988012d21c70006ccbb68000200ac2f..."} 
[2026-04-17 10:38:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d51988012d21c70006ccbb68000200ac2f..."} 
[2026-04-17 10:38:11] local.INFO: Processing buffer {"connection_id":45963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d51988012d21c70006ccbb68000200ac2f..."} 
[2026-04-17 10:38:11] local.INFO: Packet analysis {"connection_id":45963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d5"} 
[2026-04-17 10:38:11] local.INFO: Extracted packet for processing {"connection_id":45963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d5"} 
[2026-04-17 10:38:11] local.INFO: GPS Element Parsed {"raw_longitude":757188352,"raw_latitude":114080616,"longitude_deg":75.7188352,"latitude_deg":11.4080616,"altitude":2,"angle":172,"satellites":47,"speed":35,"hex_longitude":"2d21c700","hex_latitude":"06ccbb68","is_valid_coordinates":true} 
[2026-04-17 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-04-17 10:38:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759007488001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:38:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:38:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2433914152821680128,"note":"Value kept but may cause issues"} 
[2026-04-17 10:38:11] 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-04-17 10:38:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776402373000,"timestamp_ms":1776402373000,"timestamp_seconds":1776402373,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d51988"} 
[2026-04-17 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-04-17 10:38:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 10:38:11] 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-04-17 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-04-17 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-04-17 10:38:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:38:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:38:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:38:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:38:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:38:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:38:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:38:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759007488001,"66":27984,"240":206,"2":56576,"24":35,"16":106618783551979520,"45":2433914152821680128},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,240,2,24,16,45]} 
[2026-04-17 10:38:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:38:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:38:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759007488001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:38:11] local.INFO: Unknown IO ID detected {"io_id":240,"value":206,"description":"Power Status (1-byte)"} 
[2026-04-17 10:38:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:38:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2433914152821680128,"description":"Unknown IO ID 45"} 
[2026-04-17 10:38:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759007488001,"power":27984,"unknown_240":206,"power_alt":56576,"ignition":35,"odometer":null,"unknown_45":2433914152821680128}} 
[2026-04-17 10:38:11] local.INFO: DEBUG: GPS processor result {"connection_id":45963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20603,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:38:11] local.INFO: GPS data processed {"connection_id":45963,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:38:11] local.INFO: Acknowledgment sent {"connection_id":45963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:38:17] local.INFO: TCP Data received {"connection_id":46527,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:38:17] local.INFO: Processing buffer {"connection_id":46527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:38:17] local.INFO: IMEI packet received {"connection_id":46527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":46527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:38:21] local.INFO: TCP Data received {"connection_id":46527,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46527,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:38:21] local.INFO: Processing buffer {"connection_id":46527,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:38:21] local.INFO: IMEI packet received {"connection_id":46527,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":46527,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:38:22] local.INFO: TCP Data received {"connection_id":46527,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d5ec78012d098a80070bbb00001f00ad1e..."} 
[2026-04-17 10:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d5ec78012d098a80070bbb00001f00ad1e..."} 
[2026-04-17 10:38:22] local.INFO: Processing buffer {"connection_id":46527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d5ec78012d098a80070bbb00001f00ad1e..."} 
[2026-04-17 10:38:22] local.INFO: Packet analysis {"connection_id":46527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d5"} 
[2026-04-17 10:38:22] local.INFO: Extracted packet for processing {"connection_id":46527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d5"} 
[2026-04-17 10:38:22] local.INFO: GPS Element Parsed {"raw_longitude":755600000,"raw_latitude":118209280,"longitude_deg":75.56,"latitude_deg":11.820928,"altitude":31,"angle":173,"satellites":30,"speed":44,"hex_longitude":"2d098a80","hex_latitude":"070bbb00","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:38:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759019008001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:38:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113302942370496512,"note":"Value kept but may cause issues"} 
[2026-04-17 10:38:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":686024917252116480,"note":"Value kept but may cause issues"} 
[2026-04-17 10:38:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:38:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776402427000,"timestamp_ms":1776402427000,"timestamp_seconds":1776402427,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d5ec78"} 
[2026-04-17 10:38:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:38: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-04-17 10: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 10:38:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:38:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:38:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:38:22] local.INFO: Teltonika packet parsed successfully {"connection_id":46527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:38:22] local.INFO: Passing IMEI to GPS processor {"connection_id":46527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:38:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":46527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:38:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:38:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:38:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:38:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759019008001,"66":14004,"210":206,"28":32256,"24":44,"16":113302942370496512,"45":686024917252116480},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,28,24,16,45]} 
[2026-04-17 10:38:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:38:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:38:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759019008001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:38:22] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-17 10:38:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:38:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113302942370496512,"km_value":113302942370496.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:38:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":686024917252116480,"description":"Unknown IO ID 45"} 
[2026-04-17 10:38:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759019008001,"power":14004,"unknown_210":206,"unknown_28":32256,"ignition":44,"odometer":null,"unknown_45":686024917252116480}} 
[2026-04-17 10:38:22] local.INFO: DEBUG: GPS processor result {"connection_id":46527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:38:22] local.INFO: GPS data processed {"connection_id":46527,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:38:22] local.INFO: Acknowledgment sent {"connection_id":46527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:38:28] local.INFO: TCP Data received {"connection_id":46526,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46526,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:38:28] local.INFO: Processing buffer {"connection_id":46526,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:38:28] local.INFO: Packet analysis {"connection_id":46526,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:38:28] local.INFO: Extracted packet for processing {"connection_id":46526,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:38:28] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410616,"longitude_deg":76.3335424,"latitude_deg":9.5410616,"altitude":0,"angle":244,"satellites":34,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afd9b8","is_valid_coordinates":true} 
[2026-04-17 10:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758983168001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818432000,"note":"Value kept but may cause issues"} 
[2026-04-17 10:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776402279000,"timestamp_ms":1776402279000,"timestamp_seconds":1776402279,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d3aa58"} 
[2026-04-17 10:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 10:38:28] 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-04-17 10:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46526,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46526,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758983168001,"66":27952,"28":206,"85":12544,"24":0,"16":274065230412120064,"45":9192691288818432000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758983168001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:38:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:38:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818432000,"description":"Unknown IO ID 45"} 
[2026-04-17 10:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758983168001,"power":27952,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818432000}} 
[2026-04-17 10:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":46526,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20605,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:38:28] local.INFO: GPS data processed {"connection_id":46526,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:38:28] local.INFO: Acknowledgment sent {"connection_id":46526,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:38:43] local.INFO: TCP Data received {"connection_id":45963,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d563c0012d21dcc006cc79f80001009830..."} 
[2026-04-17 10:38:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45963,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d563c0012d21dcc006cc79f80001009830..."} 
[2026-04-17 10:38:43] local.INFO: Processing buffer {"connection_id":45963,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d563c0012d21dcc006cc79f80001009830..."} 
[2026-04-17 10:38:43] local.INFO: Packet analysis {"connection_id":45963,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d5"} 
[2026-04-17 10:38:43] local.INFO: Extracted packet for processing {"connection_id":45963,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d5"} 
[2026-04-17 10:38:43] local.INFO: GPS Element Parsed {"raw_longitude":757193920,"raw_latitude":114063864,"longitude_deg":75.719392,"latitude_deg":11.4063864,"altitude":1,"angle":152,"satellites":48,"speed":38,"hex_longitude":"2d21dcc0","hex_latitude":"06cc79f8","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:38:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759007488001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:38:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:38:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2433914152821680128,"note":"Value kept but may cause issues"} 
[2026-04-17 10:38:43] 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-04-17 10:38:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776402392000,"timestamp_ms":1776402392000,"timestamp_seconds":1776402392,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d563c0"} 
[2026-04-17 10:38:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:38:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 10:38:43] 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-04-17 10: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-04-17 10:38:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:38:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:38:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45963,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:38:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:38:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45963,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:38:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:38:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:38:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:38:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759007488001,"66":28452,"120":206,"2":56576,"24":38,"16":106618783551979520,"45":2433914152821680128},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-04-17 10:38:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:38:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:38:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759007488001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:38:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 10:38:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:38:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2433914152821680128,"description":"Unknown IO ID 45"} 
[2026-04-17 10:38:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759007488001,"power":28452,"unknown_120":206,"power_alt":56576,"ignition":38,"odometer":null,"unknown_45":2433914152821680128}} 
[2026-04-17 10:38:43] local.INFO: DEBUG: GPS processor result {"connection_id":45963,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20606,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:38:43] local.INFO: GPS data processed {"connection_id":45963,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:38:43] local.INFO: Acknowledgment sent {"connection_id":45963,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:38:51] local.INFO: TCP Data received {"connection_id":45771,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:38:51] local.INFO: Processing buffer {"connection_id":45771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:38:51] local.INFO: IMEI packet received {"connection_id":45771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":45771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:38:53] local.INFO: TCP Data received {"connection_id":46527,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d60bb8012d099140070b9550001c00a71d..."} 
[2026-04-17 10:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46527,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d60bb8012d099140070b9550001c00a71d..."} 
[2026-04-17 10:38:53] local.INFO: Processing buffer {"connection_id":46527,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d60bb8012d099140070b9550001c00a71d..."} 
[2026-04-17 10:38:53] local.INFO: Packet analysis {"connection_id":46527,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d6"} 
[2026-04-17 10:38:53] local.INFO: Extracted packet for processing {"connection_id":46527,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d6"} 
[2026-04-17 10:38:53] local.INFO: GPS Element Parsed {"raw_longitude":755601728,"raw_latitude":118199632,"longitude_deg":75.5601728,"latitude_deg":11.8199632,"altitude":28,"angle":167,"satellites":29,"speed":49,"hex_longitude":"2d099140","hex_latitude":"070b9550","is_valid_coordinates":true} 
[2026-04-17 10:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:38:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759021312001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:38:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113303419111866368,"note":"Value kept but may cause issues"} 
[2026-04-17 10:38:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":687502660877352960,"note":"Value kept but may cause issues"} 
[2026-04-17 10:38:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:38:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776402435000,"timestamp_ms":1776402435000,"timestamp_seconds":1776402435,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d60bb8"} 
[2026-04-17 10:38:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:38:53] 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-04-17 10:38:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 10:38:53] 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-04-17 10:38:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:38:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:38:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:38:53] local.INFO: Teltonika packet parsed successfully {"connection_id":46527,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:38:53] local.INFO: Passing IMEI to GPS processor {"connection_id":46527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:38:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":46527,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:38:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:38:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:38:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:38:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759021312001,"66":14048,"210":206,"28":32256,"24":49,"16":113303419111866368,"45":687502660877352960},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,28,24,16,45]} 
[2026-04-17 10:38:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:38:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:38:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759021312001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:38:53] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-17 10:38:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:38:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113303419111866368,"km_value":113303419111866.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:38:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":687502660877352960,"description":"Unknown IO ID 45"} 
[2026-04-17 10:38:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759021312001,"power":14048,"unknown_210":206,"unknown_28":32256,"ignition":49,"odometer":null,"unknown_45":687502660877352960}} 
[2026-04-17 10:38:53] local.INFO: DEBUG: GPS processor result {"connection_id":46527,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:38:53] local.INFO: GPS data processed {"connection_id":46527,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:38:53] local.INFO: Acknowledgment sent {"connection_id":46527,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:38:56] local.INFO: TCP Data received {"connection_id":45771,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45771,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:38:56] local.INFO: Processing buffer {"connection_id":45771,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:38:56] local.INFO: IMEI packet received {"connection_id":45771,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":45771,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:38:57] local.INFO: TCP Data received {"connection_id":45771,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:38:57] local.INFO: Processing buffer {"connection_id":45771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:38:57] local.INFO: Packet analysis {"connection_id":45771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:38:57] local.INFO: Extracted packet for processing {"connection_id":45771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410616,"longitude_deg":76.3335424,"latitude_deg":9.5410616,"altitude":0,"angle":244,"satellites":34,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afd9b8","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758983168001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818432000,"note":"Value kept but may cause issues"} 
[2026-04-17 10:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402279000,"timestamp_ms":1776402279000,"timestamp_seconds":1776402279,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d3aa58"} 
[2026-04-17 10:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 10:38:57] 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-04-17 10: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-04-17 10:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758983168001,"66":27952,"28":206,"85":12544,"24":0,"16":274065230412120064,"45":9192691288818432000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758983168001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:38:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818432000,"description":"Unknown IO ID 45"} 
[2026-04-17 10:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758983168001,"power":27952,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818432000}} 
[2026-04-17 10:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":45771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:38:57] local.INFO: GPS data processed {"connection_id":45771,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:38:57] local.INFO: Acknowledgment sent {"connection_id":45771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:39:05] local.INFO: TCP Data received {"connection_id":45964,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:39:05] local.INFO: Processing buffer {"connection_id":45964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:39:05] local.INFO: IMEI packet received {"connection_id":45964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:39:05] local.INFO: IMEI acknowledgment sent {"connection_id":45964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:39:07] local.INFO: TCP Data received {"connection_id":45964,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:39:07] local.INFO: Processing buffer {"connection_id":45964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:39:07] local.INFO: IMEI packet received {"connection_id":45964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":45964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:39:08] local.INFO: TCP Data received {"connection_id":45964,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:39:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:39:08] local.INFO: Processing buffer {"connection_id":45964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:39:08] local.INFO: IMEI packet received {"connection_id":45964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:39:08] local.INFO: IMEI acknowledgment sent {"connection_id":45964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:39:10] local.INFO: TCP Data received {"connection_id":45964,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:39:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:39:10] local.INFO: Processing buffer {"connection_id":45964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:39:10] local.INFO: IMEI packet received {"connection_id":45964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:39:10] local.INFO: IMEI acknowledgment sent {"connection_id":45964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:39:11] local.INFO: TCP Data received {"connection_id":45964,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d5b5c8012d21f78006cc49700003009630..."} 
[2026-04-17 10:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d5b5c8012d21f78006cc49700003009630..."} 
[2026-04-17 10:39:11] local.INFO: Processing buffer {"connection_id":45964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d5b5c8012d21f78006cc49700003009630..."} 
[2026-04-17 10:39:11] local.INFO: Packet analysis {"connection_id":45964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d5"} 
[2026-04-17 10:39:11] local.INFO: Extracted packet for processing {"connection_id":45964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d5"} 
[2026-04-17 10:39:11] local.INFO: GPS Element Parsed {"raw_longitude":757200768,"raw_latitude":114051440,"longitude_deg":75.7200768,"latitude_deg":11.405144,"altitude":3,"angle":150,"satellites":48,"speed":0,"hex_longitude":"2d21f780","hex_latitude":"06cc4970","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759012352001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2440036233560848384,"note":"Value kept but may cause issues"} 
[2026-04-17 10:39:11] 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-04-17 10:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776402413000,"timestamp_ms":1776402413000,"timestamp_seconds":1776402413,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d5b5c8"} 
[2026-04-17 10:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 10:39:11] 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-04-17 10: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-04-17 10:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759012352001,"66":28376,"120":206,"2":56576,"24":0,"16":106618783551979520,"45":2440036233560848384},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-04-17 10:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759012352001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:39:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 10:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2440036233560848384,"description":"Unknown IO ID 45"} 
[2026-04-17 10:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759012352001,"power":28376,"unknown_120":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2440036233560848384}} 
[2026-04-17 10:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":45964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20609,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:39:11] local.INFO: GPS data processed {"connection_id":45964,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:39:11] local.INFO: Acknowledgment sent {"connection_id":45964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:39:16] local.INFO: TCP Data received {"connection_id":45964,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d6bb800100000000000000000000000000..."} 
[2026-04-17 10:39:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d6bb800100000000000000000000000000..."} 
[2026-04-17 10:39:16] local.INFO: Processing buffer {"connection_id":45964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d6bb800100000000000000000000000000..."} 
[2026-04-17 10:39:16] local.INFO: Packet analysis {"connection_id":45964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d6"} 
[2026-04-17 10:39:16] local.INFO: Extracted packet for processing {"connection_id":45964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d6"} 
[2026-04-17 10:39: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-04-17 10: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-04-17 10:39:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759017728001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:39:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:39:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2447565689184677888,"note":"Value kept but may cause issues"} 
[2026-04-17 10:39:16] 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-04-17 10:39:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776402480000,"timestamp_ms":1776402480000,"timestamp_seconds":1776402480,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d6bb80"} 
[2026-04-17 10:39:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:39:16] 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-04-17 10: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 10:39:16] 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-04-17 10: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-04-17 10:39:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:39:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:39:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:39:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:39:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:39:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:39:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:39:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:39:16] local.INFO: DEBUG: GPS processor result {"connection_id":45964,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 10:39:16] local.INFO: GPS data processed {"connection_id":45964,"processed":0,"errors":0,"total":1} 
[2026-04-17 10:39:16] local.INFO: Acknowledgment sent {"connection_id":45964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:39:17] local.INFO: TCP Data received {"connection_id":46528,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:39:17] local.INFO: Processing buffer {"connection_id":46528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:39:17] local.INFO: IMEI packet received {"connection_id":46528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":46528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:39:20] local.INFO: TCP Data received {"connection_id":46528,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:39:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:39:20] local.INFO: Processing buffer {"connection_id":46528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:39:20] local.INFO: IMEI packet received {"connection_id":46528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:39:20] local.INFO: IMEI acknowledgment sent {"connection_id":46528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:39:22] local.INFO: TCP Data received {"connection_id":46528,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46528,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:39:22] local.INFO: Processing buffer {"connection_id":46528,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:39:22] local.INFO: IMEI packet received {"connection_id":46528,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":46528,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:39:24] local.INFO: TCP Data received {"connection_id":46528,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d62ee0012d099a00070b71e8001e00a61e..."} 
[2026-04-17 10:39:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d62ee0012d099a00070b71e8001e00a61e..."} 
[2026-04-17 10:39:24] local.INFO: Processing buffer {"connection_id":46528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d62ee0012d099a00070b71e8001e00a61e..."} 
[2026-04-17 10:39:24] local.INFO: Packet analysis {"connection_id":46528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d6"} 
[2026-04-17 10:39:24] local.INFO: Extracted packet for processing {"connection_id":46528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d6"} 
[2026-04-17 10:39:24] local.INFO: GPS Element Parsed {"raw_longitude":755603968,"raw_latitude":118190568,"longitude_deg":75.5603968,"latitude_deg":11.8190568,"altitude":30,"angle":166,"satellites":30,"speed":29,"hex_longitude":"2d099a00","hex_latitude":"070b71e8","is_valid_coordinates":true} 
[2026-04-17 10:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:39:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759023360001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:39:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113303870083432448,"note":"Value kept but may cause issues"} 
[2026-04-17 10:39:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":689402616967680000,"note":"Value kept but may cause issues"} 
[2026-04-17 10:39:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:39:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776402444000,"timestamp_ms":1776402444000,"timestamp_seconds":1776402444,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d62ee0"} 
[2026-04-17 10:39:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:39:24] 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-04-17 10:39:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 10:39:24] 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-04-17 10:39:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:39:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:39:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:39:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:39:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:39:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:39:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:39:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:39:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:39:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759023360001,"66":13798,"210":206,"28":32256,"24":29,"16":113303870083432448,"45":689402616967680000},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,28,24,16,45]} 
[2026-04-17 10:39:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:39:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:39:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759023360001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:39:24] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-17 10:39:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:39:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113303870083432448,"km_value":113303870083432.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:39:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":689402616967680000,"description":"Unknown IO ID 45"} 
[2026-04-17 10:39:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759023360001,"power":13798,"unknown_210":206,"unknown_28":32256,"ignition":29,"odometer":null,"unknown_45":689402616967680000}} 
[2026-04-17 10:39:24] local.INFO: DEBUG: GPS processor result {"connection_id":46528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:39:24] local.INFO: GPS data processed {"connection_id":46528,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:39:24] local.INFO: Acknowledgment sent {"connection_id":46528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:39:28] local.INFO: TCP Data received {"connection_id":45771,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:39:28] local.INFO: Processing buffer {"connection_id":45771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:39:28] local.INFO: Packet analysis {"connection_id":45771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:39:28] local.INFO: Extracted packet for processing {"connection_id":45771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410616,"longitude_deg":76.3335424,"latitude_deg":9.5410616,"altitude":0,"angle":244,"satellites":34,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afd9b8","is_valid_coordinates":true} 
[2026-04-17 10:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758983168001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818432000,"note":"Value kept but may cause issues"} 
[2026-04-17 10:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776402279000,"timestamp_ms":1776402279000,"timestamp_seconds":1776402279,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d3aa58"} 
[2026-04-17 10:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 10:39:28] 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-04-17 10:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45771,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758983168001,"66":27952,"28":206,"85":12544,"24":0,"16":274065230412120064,"45":9192691288818432000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758983168001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:39:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818432000,"description":"Unknown IO ID 45"} 
[2026-04-17 10:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758983168001,"power":27952,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818432000}} 
[2026-04-17 10:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":45771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:39:28] local.INFO: GPS data processed {"connection_id":45771,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:39:28] local.INFO: Acknowledgment sent {"connection_id":45771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:39:47] local.INFO: TCP Data received {"connection_id":45964,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d60fa0012d22160006cc14a00003009631..."} 
[2026-04-17 10:39:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d60fa0012d22160006cc14a00003009631..."} 
[2026-04-17 10:39:47] local.INFO: Processing buffer {"connection_id":45964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d60fa0012d22160006cc14a00003009631..."} 
[2026-04-17 10:39:47] local.INFO: Packet analysis {"connection_id":45964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d6"} 
[2026-04-17 10:39:47] local.INFO: Extracted packet for processing {"connection_id":45964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d6"} 
[2026-04-17 10:39:47] local.INFO: GPS Element Parsed {"raw_longitude":757208576,"raw_latitude":114037920,"longitude_deg":75.7208576,"latitude_deg":11.403792,"altitude":3,"angle":150,"satellites":49,"speed":31,"hex_longitude":"2d221600","hex_latitude":"06cc14a0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:39:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:39:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,120,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 10:39:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776402436000,"timestamp_ms":1776402436000,"timestamp_seconds":1776402436,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d60fa0"} 
[2026-04-17 10:39:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:39: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 10:39:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:39:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:39:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:39:47] local.INFO: Teltonika packet parsed successfully {"connection_id":45964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:39:47] local.INFO: Passing IMEI to GPS processor {"connection_id":45964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:39:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":45964,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:39:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:39:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:39:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:39:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28398,"120":206,"2":56576,"24":31,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16]} 
[2026-04-17 10:39:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:39:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:39:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 10:39:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 10:39:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:39:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28398,"unknown_120":206,"power_alt":56576,"ignition":31,"odometer":null}} 
[2026-04-17 10:39:47] local.INFO: DEBUG: GPS processor result {"connection_id":45964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20612,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:39:47] local.INFO: GPS data processed {"connection_id":45964,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:39:47] local.INFO: Acknowledgment sent {"connection_id":45964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:39:51] local.INFO: TCP Data received {"connection_id":46529,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:39:51] local.INFO: Processing buffer {"connection_id":46529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:39:51] local.INFO: IMEI packet received {"connection_id":46529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":46529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:39:56] local.INFO: TCP Data received {"connection_id":46529,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46529,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:39:56] local.INFO: Processing buffer {"connection_id":46529,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:39:56] local.INFO: IMEI packet received {"connection_id":46529,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":46529,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:39:57] local.INFO: TCP Data received {"connection_id":46529,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:39:57] local.INFO: Processing buffer {"connection_id":46529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d3aa58012d7f930005afd9b8000000f422..."} 
[2026-04-17 10:39:57] local.INFO: Packet analysis {"connection_id":46529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:39:57] local.INFO: Extracted packet for processing {"connection_id":46529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d3"} 
[2026-04-17 10:39:57] local.INFO: GPS Element Parsed {"raw_longitude":763335424,"raw_latitude":95410616,"longitude_deg":76.3335424,"latitude_deg":9.5410616,"altitude":0,"angle":244,"satellites":34,"speed":0,"hex_longitude":"2d7f9300","hex_latitude":"05afd9b8","is_valid_coordinates":true} 
[2026-04-17 10:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758983168001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818432000,"note":"Value kept but may cause issues"} 
[2026-04-17 10:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402279000,"timestamp_ms":1776402279000,"timestamp_seconds":1776402279,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d3aa58"} 
[2026-04-17 10:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":48,"data_length":795,"current_offset":136} 
[2026-04-17 10:39:57] 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-04-17 10:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758983168001,"66":27952,"28":206,"85":12544,"24":0,"16":274065230412120064,"45":9192691288818432000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758983168001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:39:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:39:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818432000,"description":"Unknown IO ID 45"} 
[2026-04-17 10:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758983168001,"power":27952,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818432000}} 
[2026-04-17 10:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":46529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:39:57] local.INFO: GPS data processed {"connection_id":46529,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:39:57] local.INFO: Acknowledgment sent {"connection_id":46529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:40:01] local.INFO: TCP Data received {"connection_id":46528,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d79640012d093240070ac838001f00d31e..."} 
[2026-04-17 10:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46528,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d79640012d093240070ac838001f00d31e..."} 
[2026-04-17 10:40:01] local.INFO: Processing buffer {"connection_id":46528,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d79640012d093240070ac838001f00d31e..."} 
[2026-04-17 10:40:01] local.INFO: Packet analysis {"connection_id":46528,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d7"} 
[2026-04-17 10:40:01] local.INFO: Extracted packet for processing {"connection_id":46528,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d7"} 
[2026-04-17 10:40:01] local.INFO: GPS Element Parsed {"raw_longitude":755577408,"raw_latitude":118147128,"longitude_deg":75.5577408,"latitude_deg":11.8147128,"altitude":31,"angle":211,"satellites":30,"speed":6,"hex_longitude":"2d093240","hex_latitude":"070ac838","is_valid_coordinates":true} 
[2026-04-17 10:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759048704001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113306468538646528,"note":"Value kept but may cause issues"} 
[2026-04-17 10:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":663014337887692800,"note":"Value kept but may cause issues"} 
[2026-04-17 10:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776402536000,"timestamp_ms":1776402536000,"timestamp_seconds":1776402536,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d79640"} 
[2026-04-17 10:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:40:01] 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-04-17 10:40:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 10:40:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:40:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46528,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46528,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:40:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759048704001,"66":14428,"210":206,"28":32256,"24":6,"16":113306468538646528,"45":663014337887692800},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,28,24,16,45]} 
[2026-04-17 10:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759048704001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:40:01] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-17 10:40:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113306468538646528,"km_value":113306468538646.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":663014337887692800,"description":"Unknown IO ID 45"} 
[2026-04-17 10:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759048704001,"power":14428,"unknown_210":206,"unknown_28":32256,"ignition":6,"odometer":null,"unknown_45":663014337887692800}} 
[2026-04-17 10:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":46528,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:40:01] local.INFO: GPS data processed {"connection_id":46528,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:40:01] local.INFO: Acknowledgment sent {"connection_id":46528,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:40:05] local.INFO: TCP Data received {"connection_id":45772,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:40:05] local.INFO: Processing buffer {"connection_id":45772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:40:05] local.INFO: IMEI packet received {"connection_id":45772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":45772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:40:10] local.INFO: TCP Data received {"connection_id":45772,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45772,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:40:10] local.INFO: Processing buffer {"connection_id":45772,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:40:10] local.INFO: IMEI packet received {"connection_id":45772,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":45772,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:40:11] local.INFO: TCP Data received {"connection_id":45772,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d661a8012d22340006cbe688000400812d..."} 
[2026-04-17 10:40:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d661a8012d22340006cbe688000400812d..."} 
[2026-04-17 10:40:11] local.INFO: Processing buffer {"connection_id":45772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d661a8012d22340006cbe688000400812d..."} 
[2026-04-17 10:40:11] local.INFO: Packet analysis {"connection_id":45772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d6"} 
[2026-04-17 10:40:11] local.INFO: Extracted packet for processing {"connection_id":45772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d6"} 
[2026-04-17 10:40:11] local.INFO: GPS Element Parsed {"raw_longitude":757216256,"raw_latitude":114026120,"longitude_deg":75.7216256,"latitude_deg":11.402612,"altitude":4,"angle":129,"satellites":45,"speed":13,"hex_longitude":"2d223400","hex_latitude":"06cbe688","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:40:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759023616001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:40:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:40:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2456150675970891776,"note":"Value kept but may cause issues"} 
[2026-04-17 10:40:11] 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-04-17 10:40:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776402457000,"timestamp_ms":1776402457000,"timestamp_seconds":1776402457,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d661a8"} 
[2026-04-17 10:40:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:40:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 10:40:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:40:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:40:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:40:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:40:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:40:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:40:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:40:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:40:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:40:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759023616001,"66":28354,"120":206,"2":56576,"24":13,"16":106618783551979520,"45":2456150675970891776},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-04-17 10:40:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:40:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:40:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759023616001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:40:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 10:40:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:40:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2456150675970891776,"description":"Unknown IO ID 45"} 
[2026-04-17 10:40:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759023616001,"power":28354,"unknown_120":206,"power_alt":56576,"ignition":13,"odometer":null,"unknown_45":2456150675970891776}} 
[2026-04-17 10:40:11] local.INFO: DEBUG: GPS processor result {"connection_id":45772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20615,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:40:11] local.INFO: GPS data processed {"connection_id":45772,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:40:11] local.INFO: Acknowledgment sent {"connection_id":45772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:40:17] local.INFO: TCP Data received {"connection_id":46530,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:40:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:40:17] local.INFO: Processing buffer {"connection_id":46530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:40:17] local.INFO: IMEI packet received {"connection_id":46530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:40:17] local.INFO: IMEI acknowledgment sent {"connection_id":46530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:40:20] local.INFO: TCP Data received {"connection_id":46530,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:40:20] local.INFO: Processing buffer {"connection_id":46530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:40:20] local.INFO: IMEI packet received {"connection_id":46530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":46530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:40:22] local.INFO: TCP Data received {"connection_id":46530,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:40:22] local.INFO: Processing buffer {"connection_id":46530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:40:22] local.INFO: IMEI packet received {"connection_id":46530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":46530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:40:23] local.INFO: TCP Data received {"connection_id":46530,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d7adb0012d092e80070ac398001e00de1e..."} 
[2026-04-17 10:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d7adb0012d092e80070ac398001e00de1e..."} 
[2026-04-17 10:40:23] local.INFO: Processing buffer {"connection_id":46530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d7adb0012d092e80070ac398001e00de1e..."} 
[2026-04-17 10:40:23] local.INFO: Packet analysis {"connection_id":46530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d7"} 
[2026-04-17 10:40:23] local.INFO: Extracted packet for processing {"connection_id":46530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d7"} 
[2026-04-17 10:40:23] local.INFO: GPS Element Parsed {"raw_longitude":755576448,"raw_latitude":118145944,"longitude_deg":75.5576448,"latitude_deg":11.8145944,"altitude":30,"angle":222,"satellites":30,"speed":13,"hex_longitude":"2d092e80","hex_latitude":"070ac398","is_valid_coordinates":true} 
[2026-04-17 10:40: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-04-17 10:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759049216001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113306537258123264,"note":"Value kept but may cause issues"} 
[2026-04-17 10:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":662662494166726656,"note":"Value kept but may cause issues"} 
[2026-04-17 10:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776402542000,"timestamp_ms":1776402542000,"timestamp_seconds":1776402542,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d7adb0"} 
[2026-04-17 10:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:40:23] 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-04-17 10:40: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":92,"data_length":795,"current_offset":136} 
[2026-04-17 10:40:23] 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-04-17 10:40: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-04-17 10:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":46530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":46530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":46530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759049216001,"66":14004,"210":206,"28":32256,"24":13,"16":113306537258123264,"45":662662494166726656},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,28,24,16,45]} 
[2026-04-17 10:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759049216001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:40:23] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-17 10:40:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113306537258123264,"km_value":113306537258123.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":662662494166726656,"description":"Unknown IO ID 45"} 
[2026-04-17 10:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759049216001,"power":14004,"unknown_210":206,"unknown_28":32256,"ignition":13,"odometer":null,"unknown_45":662662494166726656}} 
[2026-04-17 10:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":46530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:40:23] local.INFO: GPS data processed {"connection_id":46530,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:40:23] local.INFO: Acknowledgment sent {"connection_id":46530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:40:28] local.INFO: TCP Data received {"connection_id":46529,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d851c0012d7f91c005afda08000000f420..."} 
[2026-04-17 10:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d851c0012d7f91c005afda08000000f420..."} 
[2026-04-17 10:40:28] local.INFO: Processing buffer {"connection_id":46529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d851c0012d7f91c005afda08000000f420..."} 
[2026-04-17 10:40:28] local.INFO: Packet analysis {"connection_id":46529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d8"} 
[2026-04-17 10:40:28] local.INFO: Extracted packet for processing {"connection_id":46529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d8"} 
[2026-04-17 10:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410696,"longitude_deg":76.3335104,"latitude_deg":9.5410696,"altitude":0,"angle":244,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afda08","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454758983424001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192691288818432000,"note":"Value kept but may cause issues"} 
[2026-04-17 10:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776402584000,"timestamp_ms":1776402584000,"timestamp_seconds":1776402584,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d851c0"} 
[2026-04-17 10:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10: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":48,"data_length":795,"current_offset":136} 
[2026-04-17 10:40:28] 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-04-17 10: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-04-17 10:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46529,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454758983424001,"66":25995,"28":206,"85":12544,"24":0,"16":274065230412120064,"45":9192691288818432000},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454758983424001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:40:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192691288818432000,"description":"Unknown IO ID 45"} 
[2026-04-17 10:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454758983424001,"power":25995,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192691288818432000}} 
[2026-04-17 10:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":46529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:40:28] local.INFO: GPS data processed {"connection_id":46529,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:40:28] local.INFO: Acknowledgment sent {"connection_id":46529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:40:43] local.INFO: TCP Data received {"connection_id":45772,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d661a8012d22340006cbe688000400812d..."} 
[2026-04-17 10:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d661a8012d22340006cbe688000400812d..."} 
[2026-04-17 10:40:43] local.INFO: Processing buffer {"connection_id":45772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d661a8012d22340006cbe688000400812d..."} 
[2026-04-17 10:40:43] local.INFO: Packet analysis {"connection_id":45772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d6"} 
[2026-04-17 10:40:43] local.INFO: Extracted packet for processing {"connection_id":45772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d6"} 
[2026-04-17 10:40:43] local.INFO: GPS Element Parsed {"raw_longitude":757216256,"raw_latitude":114026120,"longitude_deg":75.7216256,"latitude_deg":11.402612,"altitude":4,"angle":129,"satellites":45,"speed":13,"hex_longitude":"2d223400","hex_latitude":"06cbe688","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759028992001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2464594925269190656,"note":"Value kept but may cause issues"} 
[2026-04-17 10:40:43] 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-04-17 10:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776402457000,"timestamp_ms":1776402457000,"timestamp_seconds":1776402457,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d661a8"} 
[2026-04-17 10:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:40:43] 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-04-17 10: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 10:40:43] 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-04-17 10: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-04-17 10:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45772,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759028992001,"66":28354,"120":206,"2":56576,"24":13,"16":106618783551979520,"45":2464594925269190656},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-04-17 10:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759028992001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:40:43] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 10:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2464594925269190656,"description":"Unknown IO ID 45"} 
[2026-04-17 10:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759028992001,"power":28354,"unknown_120":206,"power_alt":56576,"ignition":13,"odometer":null,"unknown_45":2464594925269190656}} 
[2026-04-17 10:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":45772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20618,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:40:43] local.INFO: GPS data processed {"connection_id":45772,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:40:43] local.INFO: Acknowledgment sent {"connection_id":45772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:40:56] local.INFO: TCP Data received {"connection_id":45965,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:40:56] local.INFO: Processing buffer {"connection_id":45965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:40:56] local.INFO: IMEI packet received {"connection_id":45965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":45965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:40:56] local.INFO: TCP Data received {"connection_id":46530,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d7c138012d092840070abe00001c00e91e..."} 
[2026-04-17 10:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d7c138012d092840070abe00001c00e91e..."} 
[2026-04-17 10:40:56] local.INFO: Processing buffer {"connection_id":46530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d7c138012d092840070abe00001c00e91e..."} 
[2026-04-17 10:40:56] local.INFO: Packet analysis {"connection_id":46530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d7"} 
[2026-04-17 10:40:56] local.INFO: Extracted packet for processing {"connection_id":46530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d7"} 
[2026-04-17 10:40:56] local.INFO: GPS Element Parsed {"raw_longitude":755574848,"raw_latitude":118144512,"longitude_deg":75.5574848,"latitude_deg":11.8144512,"altitude":28,"angle":233,"satellites":30,"speed":21,"hex_longitude":"2d092840","hex_latitude":"070abe00","is_valid_coordinates":true} 
[2026-04-17 10:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759050752001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113306640337338368,"note":"Value kept but may cause issues"} 
[2026-04-17 10:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":661606963003758592,"note":"Value kept but may cause issues"} 
[2026-04-17 10:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776402547000,"timestamp_ms":1776402547000,"timestamp_seconds":1776402547,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d7c138"} 
[2026-04-17 10:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:40: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-04-17 10:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 10:40:56] 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-04-17 10:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759050752001,"66":13993,"209":206,"28":32256,"24":21,"16":113306640337338368,"45":661606963003758592},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,28,24,16,45]} 
[2026-04-17 10:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759050752001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:40:56] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-17 10:40:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113306640337338368,"km_value":113306640337338.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":661606963003758592,"description":"Unknown IO ID 45"} 
[2026-04-17 10:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759050752001,"power":13993,"unknown_209":206,"unknown_28":32256,"ignition":21,"odometer":null,"unknown_45":661606963003758592}} 
[2026-04-17 10:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":46530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:40:56] local.INFO: GPS data processed {"connection_id":46530,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:40:56] local.INFO: Acknowledgment sent {"connection_id":46530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:41:01] local.INFO: TCP Data received {"connection_id":45965,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:41:01] local.INFO: Processing buffer {"connection_id":45965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:41:01] local.INFO: IMEI packet received {"connection_id":45965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":45965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:41:02] local.INFO: TCP Data received {"connection_id":45965,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d89bf8012d7f91c005afda08000000f420..."} 
[2026-04-17 10:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d89bf8012d7f91c005afda08000000f420..."} 
[2026-04-17 10:41:02] local.INFO: Processing buffer {"connection_id":45965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d89bf8012d7f91c005afda08000000f420..."} 
[2026-04-17 10:41:02] local.INFO: Packet analysis {"connection_id":45965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d8"} 
[2026-04-17 10:41:02] local.INFO: Extracted packet for processing {"connection_id":45965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d8"} 
[2026-04-17 10:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763335104,"raw_latitude":95410696,"longitude_deg":76.3335104,"latitude_deg":9.5410696,"altitude":0,"angle":244,"satellites":32,"speed":0,"hex_longitude":"2d7f91c0","hex_latitude":"05afda08","is_valid_coordinates":true} 
[2026-04-17 10:41: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-04-17 10:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759061504001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097564160,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776402603000,"timestamp_ms":1776402603000,"timestamp_seconds":1776402603,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d89bf8"} 
[2026-04-17 10:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:41: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-04-17 10:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-17 10:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759061504001,"66":25973,"28":206,"85":12544,"24":0,"16":274065230412120064,"45":9192339445097564160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759061504001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:41:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097564160,"description":"Unknown IO ID 45"} 
[2026-04-17 10:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759061504001,"power":25973,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097564160}} 
[2026-04-17 10:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":45965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:41:02] local.INFO: GPS data processed {"connection_id":45965,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:41:02] local.INFO: Acknowledgment sent {"connection_id":45965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:41:05] local.INFO: TCP Data received {"connection_id":45692,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:41:05] local.INFO: Processing buffer {"connection_id":45692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:41:05] local.INFO: IMEI packet received {"connection_id":45692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":45692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:41:06] local.INFO: TCP Data received {"connection_id":45965,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d8b368012d7f8e4005afd7f00000011723..."} 
[2026-04-17 10:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d8b368012d7f8e4005afd7f00000011723..."} 
[2026-04-17 10:41:06] local.INFO: Processing buffer {"connection_id":45965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d8b368012d7f8e4005afd7f00000011723..."} 
[2026-04-17 10:41:06] local.INFO: Packet analysis {"connection_id":45965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d8"} 
[2026-04-17 10:41:06] local.INFO: Extracted packet for processing {"connection_id":45965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d8"} 
[2026-04-17 10:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 10:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759066368001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9192339445097564160,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776402609000,"timestamp_ms":1776402609000,"timestamp_seconds":1776402609,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d8b368"} 
[2026-04-17 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-04-17 10:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":101,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-17 10:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1756,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 10:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759066368001,"66":25451,"28":206,"85":12544,"24":0,"16":274065230412120064,"45":9192339445097564160},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 10:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759066368001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:41:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 10:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9192339445097564160,"description":"Unknown IO ID 45"} 
[2026-04-17 10:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759066368001,"power":25451,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9192339445097564160}} 
[2026-04-17 10:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":45965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:41:06] local.INFO: GPS data processed {"connection_id":45965,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:41:06] local.INFO: Acknowledgment sent {"connection_id":45965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:41:10] local.INFO: TCP Data received {"connection_id":45692,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45692,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:41:10] local.INFO: Processing buffer {"connection_id":45692,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:41:10] local.INFO: IMEI packet received {"connection_id":45692,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":45692,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:41:12] local.INFO: TCP Data received {"connection_id":45692,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d767600100000000000000000000000000..."} 
[2026-04-17 10:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d767600100000000000000000000000000..."} 
[2026-04-17 10:41:12] local.INFO: Processing buffer {"connection_id":45692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d767600100000000000000000000000000..."} 
[2026-04-17 10:41:12] local.INFO: Packet analysis {"connection_id":45692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d7"} 
[2026-04-17 10:41:12] local.INFO: Extracted packet for processing {"connection_id":45692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d7"} 
[2026-04-17 10:41: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-04-17 10: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-04-17 10:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759028992001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2464594925269190656,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:12] 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-04-17 10:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776402524000,"timestamp_ms":1776402524000,"timestamp_seconds":1776402524,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d76760"} 
[2026-04-17 10:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:41:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 10:41: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-04-17 10: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-04-17 10:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":45692,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 10:41:12] local.INFO: GPS data processed {"connection_id":45692,"processed":0,"errors":0,"total":1} 
[2026-04-17 10:41:12] local.INFO: Acknowledgment sent {"connection_id":45692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:41:21] local.INFO: TCP Data received {"connection_id":45693,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:41:21] local.INFO: Processing buffer {"connection_id":45693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:41:21] local.INFO: IMEI packet received {"connection_id":45693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":45693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:41:22] local.INFO: TCP Data received {"connection_id":45693,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:41:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:41:22] local.INFO: Processing buffer {"connection_id":45693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:41:22] local.INFO: IMEI packet received {"connection_id":45693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:41:22] local.INFO: IMEI acknowledgment sent {"connection_id":45693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:41:26] local.INFO: TCP Data received {"connection_id":45693,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45693,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:41:26] local.INFO: Processing buffer {"connection_id":45693,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:41:26] local.INFO: IMEI packet received {"connection_id":45693,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":45693,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:41:27] local.INFO: TCP Data received {"connection_id":45693,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d90570012d085080070a34a8001c00dc1d..."} 
[2026-04-17 10:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d90570012d085080070a34a8001c00dc1d..."} 
[2026-04-17 10:41:27] local.INFO: Processing buffer {"connection_id":45693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d90570012d085080070a34a8001c00dc1d..."} 
[2026-04-17 10:41:27] local.INFO: Packet analysis {"connection_id":45693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d9"} 
[2026-04-17 10:41:27] local.INFO: Extracted packet for processing {"connection_id":45693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d9"} 
[2026-04-17 10:41:27] local.INFO: GPS Element Parsed {"raw_longitude":755519616,"raw_latitude":118109352,"longitude_deg":75.5519616,"latitude_deg":11.8109352,"altitude":28,"angle":220,"satellites":29,"speed":35,"hex_longitude":"2d085080","hex_latitude":"070a34a8","is_valid_coordinates":true} 
[2026-04-17 10:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759070208001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113309883037646848,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":605663811374436352,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776402630000,"timestamp_ms":1776402630000,"timestamp_seconds":1776402630,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d90570"} 
[2026-04-17 10:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:41: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-04-17 10:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-17 10:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759070208001,"66":14265,"108":206,"28":32256,"24":35,"16":113309883037646848,"45":605663811374436352},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,28,24,16,45]} 
[2026-04-17 10:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759070208001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:41:27] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-04-17 10:41:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113309883037646848,"km_value":113309883037646.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":605663811374436352,"description":"Unknown IO ID 45"} 
[2026-04-17 10:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759070208001,"power":14265,"unknown_108":206,"unknown_28":32256,"ignition":35,"odometer":null,"unknown_45":605663811374436352}} 
[2026-04-17 10:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":45693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:41:27] local.INFO: GPS data processed {"connection_id":45693,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:41:27] local.INFO: Acknowledgment sent {"connection_id":45693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:41:28] local.INFO: TCP Data received {"connection_id":45693,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d90d40012d084d00070a2e58001c00c91e..."} 
[2026-04-17 10:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d90d40012d084d00070a2e58001c00c91e..."} 
[2026-04-17 10:41:28] local.INFO: Processing buffer {"connection_id":45693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d90d40012d084d00070a2e58001c00c91e..."} 
[2026-04-17 10:41:28] local.INFO: Packet analysis {"connection_id":45693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d9"} 
[2026-04-17 10:41:28] local.INFO: Extracted packet for processing {"connection_id":45693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d9"} 
[2026-04-17 10:41:28] local.INFO: GPS Element Parsed {"raw_longitude":755518720,"raw_latitude":118107736,"longitude_deg":75.551872,"latitude_deg":11.8107736,"altitude":28,"angle":201,"satellites":30,"speed":37,"hex_longitude":"2d084d00","hex_latitude":"070a2e58","is_valid_coordinates":true} 
[2026-04-17 10:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759073280001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113309973231960064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":599119518164625408,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776402632000,"timestamp_ms":1776402632000,"timestamp_seconds":1776402632,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d90d40"} 
[2026-04-17 10:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 10:41:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759073280001,"66":14396,"108":206,"28":32256,"24":37,"16":113309973231960064,"45":599119518164625408},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,28,24,16,45]} 
[2026-04-17 10:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759073280001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:41:28] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-04-17 10:41:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113309973231960064,"km_value":113309973231960.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":599119518164625408,"description":"Unknown IO ID 45"} 
[2026-04-17 10:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759073280001,"power":14396,"unknown_108":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_45":599119518164625408}} 
[2026-04-17 10:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":45693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:41:28] local.INFO: GPS data processed {"connection_id":45693,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:41:28] local.INFO: Acknowledgment sent {"connection_id":45693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:41:46] local.INFO: TCP Data received {"connection_id":45692,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d6dac0012d225fc006cbc1b00001007e2f..."} 
[2026-04-17 10:41:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d6dac0012d225fc006cbc1b00001007e2f..."} 
[2026-04-17 10:41:46] local.INFO: Processing buffer {"connection_id":45692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d6dac0012d225fc006cbc1b00001007e2f..."} 
[2026-04-17 10:41:46] local.INFO: Packet analysis {"connection_id":45692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d6"} 
[2026-04-17 10:41:46] local.INFO: Extracted packet for processing {"connection_id":45692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d6"} 
[2026-04-17 10:41:46] local.INFO: GPS Element Parsed {"raw_longitude":757227456,"raw_latitude":114016688,"longitude_deg":75.7227456,"latitude_deg":11.4016688,"altitude":1,"angle":126,"satellites":47,"speed":28,"hex_longitude":"2d225fc0","hex_latitude":"06cbc1b0","is_valid_coordinates":true} 
[2026-04-17 10:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:41:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,120,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 10:41:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776402488000,"timestamp_ms":1776402488000,"timestamp_seconds":1776402488,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d6dac0"} 
[2026-04-17 10:41:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:41:46] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:41:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":80,"data_length":795,"current_offset":136} 
[2026-04-17 10:41:46] 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-04-17 10:41:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:41:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:41:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:41:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:41:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:41:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45692,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:41:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:41:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:41:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:41:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"120":206,"2":56576,"24":28,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16]} 
[2026-04-17 10:41:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:41:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:41:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 10:41:46] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 10:41:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:41:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_120":206,"power_alt":56576,"ignition":28,"odometer":null}} 
[2026-04-17 10:41:46] local.INFO: DEBUG: GPS processor result {"connection_id":45692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20624,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:41:46] local.INFO: GPS data processed {"connection_id":45692,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:41:46] local.INFO: Acknowledgment sent {"connection_id":45692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:41:50] local.INFO: TCP Data received {"connection_id":46531,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:41:50] local.INFO: Processing buffer {"connection_id":46531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:41:50] local.INFO: IMEI packet received {"connection_id":46531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":46531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:41:51] local.INFO: TCP Data received {"connection_id":46531,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:41:51] local.INFO: Processing buffer {"connection_id":46531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:41:51] local.INFO: IMEI packet received {"connection_id":46531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":46531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:41:56] local.INFO: TCP Data received {"connection_id":46531,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:41:56] local.INFO: Processing buffer {"connection_id":46531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:41:56] local.INFO: IMEI packet received {"connection_id":46531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":46531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:41:57] local.INFO: TCP Data received {"connection_id":46531,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d90570012d7f8e4005afd7f00000011724..."} 
[2026-04-17 10:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d90570012d7f8e4005afd7f00000011724..."} 
[2026-04-17 10:41:57] local.INFO: Processing buffer {"connection_id":46531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d90570012d7f8e4005afd7f00000011724..."} 
[2026-04-17 10:41:57] local.INFO: Packet analysis {"connection_id":46531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d9"} 
[2026-04-17 10:41:57] local.INFO: Extracted packet for processing {"connection_id":46531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d9"} 
[2026-04-17 10:41:57] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759067904001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402630000,"timestamp_ms":1776402630000,"timestamp_seconds":1776402630,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d90570"} 
[2026-04-17 10:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 10:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759067904001,"66":25158,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759067904001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:41:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759067904001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":46531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:41:57] local.INFO: GPS data processed {"connection_id":46531,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:41:57] local.INFO: Acknowledgment sent {"connection_id":46531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:42:00] local.INFO: TCP Data received {"connection_id":45693,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d91510012d084b40070a26d8001b00bc1e..."} 
[2026-04-17 10:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45693,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d91510012d084b40070a26d8001b00bc1e..."} 
[2026-04-17 10:42:00] local.INFO: Processing buffer {"connection_id":45693,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d91510012d084b40070a26d8001b00bc1e..."} 
[2026-04-17 10:42:00] local.INFO: Packet analysis {"connection_id":45693,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d9"} 
[2026-04-17 10:42:00] local.INFO: Extracted packet for processing {"connection_id":45693,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d9"} 
[2026-04-17 10:42:00] local.INFO: GPS Element Parsed {"raw_longitude":755518272,"raw_latitude":118105816,"longitude_deg":75.5518272,"latitude_deg":11.8105816,"altitude":27,"angle":188,"satellites":30,"speed":40,"hex_longitude":"2d084b40","hex_latitude":"070a26d8","is_valid_coordinates":true} 
[2026-04-17 10:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759073792001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113310067721240576,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":598134355745724416,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:00] 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-04-17 10:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776402634000,"timestamp_ms":1776402634000,"timestamp_seconds":1776402634,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d91510"} 
[2026-04-17 10:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:42:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-17 10:42:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:42:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45693,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45693,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759073792001,"66":14428,"109":206,"28":32256,"24":40,"16":113310067721240576,"45":598134355745724416},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-04-17 10:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759073792001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:42:00] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-17 10:42:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113310067721240576,"km_value":113310067721240.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":598134355745724416,"description":"Unknown IO ID 45"} 
[2026-04-17 10:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759073792001,"power":14428,"unknown_109":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_45":598134355745724416}} 
[2026-04-17 10:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":45693,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:42:00] local.INFO: GPS data processed {"connection_id":45693,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:42:00] local.INFO: Acknowledgment sent {"connection_id":45693,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:42:05] local.INFO: TCP Data received {"connection_id":45694,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:42:05] local.INFO: Processing buffer {"connection_id":45694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:42:05] local.INFO: IMEI packet received {"connection_id":45694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":45694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:42:10] local.INFO: TCP Data received {"connection_id":45694,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45694,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:42:10] local.INFO: Processing buffer {"connection_id":45694,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:42:10] local.INFO: IMEI packet received {"connection_id":45694,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":45694,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:42:12] local.INFO: TCP Data received {"connection_id":45694,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d72cc8012d22938006cb94b80001008e2d..."} 
[2026-04-17 10:42:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d72cc8012d22938006cb94b80001008e2d..."} 
[2026-04-17 10:42:12] local.INFO: Processing buffer {"connection_id":45694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d72cc8012d22938006cb94b80001008e2d..."} 
[2026-04-17 10:42:12] local.INFO: Packet analysis {"connection_id":45694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d7"} 
[2026-04-17 10:42:12] local.INFO: Extracted packet for processing {"connection_id":45694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d7"} 
[2026-04-17 10:42:12] local.INFO: GPS Element Parsed {"raw_longitude":757240704,"raw_latitude":114005176,"longitude_deg":75.7240704,"latitude_deg":11.4005176,"altitude":1,"angle":142,"satellites":45,"speed":36,"hex_longitude":"2d229380","hex_latitude":"06cb94b8","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:42:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759036928001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2476909455497867264,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:12] 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-04-17 10:42:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776402509000,"timestamp_ms":1776402509000,"timestamp_seconds":1776402509,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d72cc8"} 
[2026-04-17 10:42:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:42:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 10:42:12] 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-04-17 10: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-04-17 10:42:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:42:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:42:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:42:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:42:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:42:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:42:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:42:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:42:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759036928001,"66":28517,"120":206,"2":56576,"24":36,"16":106618783551979520,"45":2476909455497867264},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-04-17 10:42:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:42:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:42:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759036928001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:42:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 10:42:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:42:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2476909455497867264,"description":"Unknown IO ID 45"} 
[2026-04-17 10:42:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759036928001,"power":28517,"unknown_120":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":2476909455497867264}} 
[2026-04-17 10:42:12] local.INFO: DEBUG: GPS processor result {"connection_id":45694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20627,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:42:12] local.INFO: GPS data processed {"connection_id":45694,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:42:12] local.INFO: Acknowledgment sent {"connection_id":45694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:42:18] local.INFO: TCP Data received {"connection_id":45966,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:42:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:42:18] local.INFO: Processing buffer {"connection_id":45966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:42:18] local.INFO: IMEI packet received {"connection_id":45966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:42:18] local.INFO: IMEI acknowledgment sent {"connection_id":45966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:42:22] local.INFO: TCP Data received {"connection_id":45966,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:42:22] local.INFO: Processing buffer {"connection_id":45966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:42:22] local.INFO: IMEI packet received {"connection_id":45966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":45966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:42:23] local.INFO: TCP Data received {"connection_id":45966,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:42:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:42:23] local.INFO: Processing buffer {"connection_id":45966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:42:23] local.INFO: IMEI packet received {"connection_id":45966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:42:23] local.INFO: IMEI acknowledgment sent {"connection_id":45966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:42:26] local.INFO: TCP Data received {"connection_id":45966,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:42:26] local.INFO: Processing buffer {"connection_id":45966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:42:26] local.INFO: IMEI packet received {"connection_id":45966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":45966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:42:28] local.INFO: TCP Data received {"connection_id":46531,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d95778012d7f8e4005afd7f00000011723..."} 
[2026-04-17 10:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d95778012d7f8e4005afd7f00000011723..."} 
[2026-04-17 10:42:28] local.INFO: Processing buffer {"connection_id":46531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d95778012d7f8e4005afd7f00000011723..."} 
[2026-04-17 10:42:28] local.INFO: Packet analysis {"connection_id":46531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d9"} 
[2026-04-17 10:42:28] local.INFO: Extracted packet for processing {"connection_id":46531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d9"} 
[2026-04-17 10:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759073280001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776402651000,"timestamp_ms":1776402651000,"timestamp_seconds":1776402651,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d95778"} 
[2026-04-17 10:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:42: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-04-17 10: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 10:42:28] 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-04-17 10: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-04-17 10:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759073280001,"66":24734,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759073280001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:42:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:42:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759073280001,"power":24734,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":46531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:42:28] local.INFO: GPS data processed {"connection_id":46531,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:42:28] local.INFO: Acknowledgment sent {"connection_id":46531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:42:29] local.INFO: TCP Data received {"connection_id":45966,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d9ff70012d07c48007099d90001e00c01e..."} 
[2026-04-17 10:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d9ff70012d07c48007099d90001e00c01e..."} 
[2026-04-17 10:42:29] local.INFO: Processing buffer {"connection_id":45966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d9ff70012d07c48007099d90001e00c01e..."} 
[2026-04-17 10:42:29] local.INFO: Packet analysis {"connection_id":45966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d9"} 
[2026-04-17 10:42:29] local.INFO: Extracted packet for processing {"connection_id":45966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d9"} 
[2026-04-17 10:42:29] local.INFO: GPS Element Parsed {"raw_longitude":755483776,"raw_latitude":118070672,"longitude_deg":75.5483776,"latitude_deg":11.8070672,"altitude":30,"angle":192,"satellites":30,"speed":41,"hex_longitude":"2d07c480","hex_latitude":"07099d90","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759088384001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113312700536193024,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":561331502532601856,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:29] 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-04-17 10:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776402694000,"timestamp_ms":1776402694000,"timestamp_seconds":1776402694,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d9ff70"} 
[2026-04-17 10:42:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:42: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-04-17 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:42: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-04-17 10: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-04-17 10:42:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759088384001,"66":14004,"109":206,"28":32256,"24":41,"16":113312700536193024,"45":561331502532601856},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-04-17 10:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759088384001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:42:29] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-17 10:42:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113312700536193024,"km_value":113312700536193.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":561331502532601856,"description":"Unknown IO ID 45"} 
[2026-04-17 10:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759088384001,"power":14004,"unknown_109":206,"unknown_28":32256,"ignition":41,"odometer":null,"unknown_45":561331502532601856}} 
[2026-04-17 10:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":45966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20629,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:42:29] local.INFO: GPS data processed {"connection_id":45966,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:42:29] local.INFO: Acknowledgment sent {"connection_id":45966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:42:43] local.INFO: TCP Data received {"connection_id":45966,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99da1eb0012d07bdc007097a90001d00be1e..."} 
[2026-04-17 10:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99da1eb0012d07bdc007097a90001d00be1e..."} 
[2026-04-17 10:42:43] local.INFO: Processing buffer {"connection_id":45966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99da1eb0012d07bdc007097a90001d00be1e..."} 
[2026-04-17 10:42:43] local.INFO: Packet analysis {"connection_id":45966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99da"} 
[2026-04-17 10:42:43] local.INFO: Extracted packet for processing {"connection_id":45966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99da"} 
[2026-04-17 10:42:43] local.INFO: GPS Element Parsed {"raw_longitude":755482048,"raw_latitude":118061712,"longitude_deg":75.5482048,"latitude_deg":11.8061712,"altitude":29,"angle":190,"satellites":30,"speed":49,"hex_longitude":"2d07bdc0","hex_latitude":"07097a90","is_valid_coordinates":true} 
[2026-04-17 10:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:42:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759089664001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113313142917824512,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":559713021415231488,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:43] 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-04-17 10:42:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776402702000,"timestamp_ms":1776402702000,"timestamp_seconds":1776402702,"priority":1,"record_length":96,"hex_timestamp":"0000019d99da1eb0"} 
[2026-04-17 10:42:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:42: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-04-17 10:42:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 10:42:43] 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-04-17 10:42:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:42:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:42:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:42:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:42:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:42:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:42:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:42:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:42:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:42:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759089664001,"66":13928,"109":206,"28":32256,"24":49,"16":113313142917824512,"45":559713021415231488},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-04-17 10:42:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:42:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:42:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759089664001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:42:43] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-17 10:42:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:42:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113313142917824512,"km_value":113313142917824.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:42:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":559713021415231488,"description":"Unknown IO ID 45"} 
[2026-04-17 10:42:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759089664001,"power":13928,"unknown_109":206,"unknown_28":32256,"ignition":49,"odometer":null,"unknown_45":559713021415231488}} 
[2026-04-17 10:42:43] local.INFO: DEBUG: GPS processor result {"connection_id":45966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:42:43] local.INFO: GPS data processed {"connection_id":45966,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:42:43] local.INFO: Acknowledgment sent {"connection_id":45966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:42:51] local.INFO: TCP Data received {"connection_id":46532,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:42:51] local.INFO: Processing buffer {"connection_id":46532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:42:51] local.INFO: IMEI packet received {"connection_id":46532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":46532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:42:52] local.INFO: TCP Data received {"connection_id":45694,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d72cc8012d22938006cb94b80001008e2d..."} 
[2026-04-17 10:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45694,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d72cc8012d22938006cb94b80001008e2d..."} 
[2026-04-17 10:42:52] local.INFO: Processing buffer {"connection_id":45694,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d72cc8012d22938006cb94b80001008e2d..."} 
[2026-04-17 10:42:52] local.INFO: Packet analysis {"connection_id":45694,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d7"} 
[2026-04-17 10:42:52] local.INFO: Extracted packet for processing {"connection_id":45694,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d7"} 
[2026-04-17 10:42:52] local.INFO: GPS Element Parsed {"raw_longitude":757240704,"raw_latitude":114005176,"longitude_deg":75.7240704,"latitude_deg":11.4005176,"altitude":1,"angle":142,"satellites":45,"speed":36,"hex_longitude":"2d229380","hex_latitude":"06cb94b8","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:42:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759042304001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2491475785539696640,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:52] 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-04-17 10:42:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776402509000,"timestamp_ms":1776402509000,"timestamp_seconds":1776402509,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d72cc8"} 
[2026-04-17 10:42:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:42: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-04-17 10: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":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-17 10:42:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:42:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:42:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:42:52] local.INFO: Teltonika packet parsed successfully {"connection_id":45694,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:42:52] local.INFO: Passing IMEI to GPS processor {"connection_id":45694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:42:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":45694,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:42:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:42:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:42:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:42:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759042304001,"66":28517,"120":206,"2":56576,"24":36,"16":106618783551979520,"45":2491475785539696640},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-04-17 10:42:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:42:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:42:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759042304001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:42:52] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 10:42:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:42:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":2491475785539696640,"description":"Unknown IO ID 45"} 
[2026-04-17 10:42:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759042304001,"power":28517,"unknown_120":206,"power_alt":56576,"ignition":36,"odometer":null,"unknown_45":2491475785539696640}} 
[2026-04-17 10:42:52] local.INFO: DEBUG: GPS processor result {"connection_id":45694,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20631,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:42:52] local.INFO: GPS data processed {"connection_id":45694,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:42:52] local.INFO: Acknowledgment sent {"connection_id":45694,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:42:56] local.INFO: TCP Data received {"connection_id":46532,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:42:56] local.INFO: Processing buffer {"connection_id":46532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:42:56] local.INFO: IMEI packet received {"connection_id":46532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":46532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:42:57] local.INFO: TCP Data received {"connection_id":46532,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d9a980012d7f8e4005afd7f00000011723..."} 
[2026-04-17 10:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d9a980012d7f8e4005afd7f00000011723..."} 
[2026-04-17 10:42:57] local.INFO: Processing buffer {"connection_id":46532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d9a980012d7f8e4005afd7f00000011723..."} 
[2026-04-17 10:42:57] local.INFO: Packet analysis {"connection_id":46532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d9"} 
[2026-04-17 10:42:57] local.INFO: Extracted packet for processing {"connection_id":46532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d9"} 
[2026-04-17 10:42:57] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759078656001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402672000,"timestamp_ms":1776402672000,"timestamp_seconds":1776402672,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d9a980"} 
[2026-04-17 10:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-04-17 10:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2100,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759078656001,"66":24810,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759078656001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:42:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:42:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759078656001,"power":24810,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":46532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:42:57] local.INFO: GPS data processed {"connection_id":46532,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:42:57] local.INFO: Acknowledgment sent {"connection_id":46532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:43:05] local.INFO: TCP Data received {"connection_id":45967,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:43:05] local.INFO: Processing buffer {"connection_id":45967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:43:05] local.INFO: IMEI packet received {"connection_id":45967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":45967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:43:10] local.INFO: TCP Data received {"connection_id":45967,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:43:10] local.INFO: Processing buffer {"connection_id":45967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:43:10] local.INFO: IMEI packet received {"connection_id":45967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":45967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:43:11] local.INFO: TCP Data received {"connection_id":45967,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:43:11] local.INFO: Processing buffer {"connection_id":45967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:43:11] local.INFO: IMEI packet received {"connection_id":45967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:43:11] local.INFO: IMEI acknowledgment sent {"connection_id":45967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:43:12] local.INFO: TCP Data received {"connection_id":45967,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d77ed0012d22b80006cb5b88000400962f..."} 
[2026-04-17 10:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d77ed0012d22b80006cb5b88000400962f..."} 
[2026-04-17 10:43:12] local.INFO: Processing buffer {"connection_id":45967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d77ed0012d22b80006cb5b88000400962f..."} 
[2026-04-17 10:43:12] local.INFO: Packet analysis {"connection_id":45967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d7"} 
[2026-04-17 10:43:12] local.INFO: Extracted packet for processing {"connection_id":45967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d7"} 
[2026-04-17 10:43:12] local.INFO: GPS Element Parsed {"raw_longitude":757250048,"raw_latitude":113990536,"longitude_deg":75.7250048,"latitude_deg":11.3990536,"altitude":4,"angle":150,"satellites":47,"speed":0,"hex_longitude":"2d22b800","hex_latitude":"06cb5b88","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:43:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759042304001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2491475785539696640,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:12] 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-04-17 10:43:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776402530000,"timestamp_ms":1776402530000,"timestamp_seconds":1776402530,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d77ed0"} 
[2026-04-17 10:43:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:43:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-17 10:43:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:43:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:43:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:43:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:43:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:43:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:43:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:43:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:43:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:43:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759042304001,"66":28398,"120":206,"2":56576,"24":0,"16":106618783551979520,"45":2491475785539696640},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-04-17 10:43:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:43:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:43:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759042304001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:43:12] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 10:43:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:43:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2491475785539696640,"description":"Unknown IO ID 45"} 
[2026-04-17 10:43:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759042304001,"power":28398,"unknown_120":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2491475785539696640}} 
[2026-04-17 10:43:12] local.INFO: DEBUG: GPS processor result {"connection_id":45967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20633,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:43:12] local.INFO: GPS data processed {"connection_id":45967,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:43:12] local.INFO: Acknowledgment sent {"connection_id":45967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:43:15] local.INFO: TCP Data received {"connection_id":45967,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d7d0d8012d22d44006cb24a00005009f2e..."} 
[2026-04-17 10:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d7d0d8012d22d44006cb24a00005009f2e..."} 
[2026-04-17 10:43:15] local.INFO: Processing buffer {"connection_id":45967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d7d0d8012d22d44006cb24a00005009f2e..."} 
[2026-04-17 10:43:15] local.INFO: Packet analysis {"connection_id":45967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d7"} 
[2026-04-17 10:43:15] local.INFO: Extracted packet for processing {"connection_id":45967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d7"} 
[2026-04-17 10:43:15] local.INFO: GPS Element Parsed {"raw_longitude":757257280,"raw_latitude":113976480,"longitude_deg":75.725728,"latitude_deg":11.397648,"altitude":5,"angle":159,"satellites":46,"speed":0,"hex_longitude":"2d22d440","hex_latitude":"06cb24a0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759047680001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2501749622185887744,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:15] 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-04-17 10:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776402551000,"timestamp_ms":1776402551000,"timestamp_seconds":1776402551,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d7d0d8"} 
[2026-04-17 10:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:43: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-04-17 10: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 10:43:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":45967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":45967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":45967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:43:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759047680001,"66":28430,"120":206,"2":56576,"24":0,"16":106618783551979520,"45":2501749622185887744},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-04-17 10:43:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:43:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:43:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759047680001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:43:15] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 10:43:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:43:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2501749622185887744,"description":"Unknown IO ID 45"} 
[2026-04-17 10:43:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759047680001,"power":28430,"unknown_120":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2501749622185887744}} 
[2026-04-17 10:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":45967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20634,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:43:15] local.INFO: GPS data processed {"connection_id":45967,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:43:15] local.INFO: Acknowledgment sent {"connection_id":45967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:43:17] local.INFO: TCP Data received {"connection_id":45695,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:43:17] local.INFO: Processing buffer {"connection_id":45695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:43:17] local.INFO: IMEI packet received {"connection_id":45695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":45695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:43:18] local.INFO: TCP Data received {"connection_id":45695,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:43:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:43:18] local.INFO: Processing buffer {"connection_id":45695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:43:18] local.INFO: IMEI packet received {"connection_id":45695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:43:18] local.INFO: IMEI acknowledgment sent {"connection_id":45695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:43:23] local.INFO: TCP Data received {"connection_id":45695,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:43:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:43:23] local.INFO: Processing buffer {"connection_id":45695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:43:23] local.INFO: IMEI packet received {"connection_id":45695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:43:23] local.INFO: IMEI acknowledgment sent {"connection_id":45695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:43:25] local.INFO: TCP Data received {"connection_id":45695,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99dab708012d0753000708fec8001900cd1d..."} 
[2026-04-17 10:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99dab708012d0753000708fec8001900cd1d..."} 
[2026-04-17 10:43:25] local.INFO: Processing buffer {"connection_id":45695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99dab708012d0753000708fec8001900cd1d..."} 
[2026-04-17 10:43:25] local.INFO: Packet analysis {"connection_id":45695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99da"} 
[2026-04-17 10:43:25] local.INFO: Extracted packet for processing {"connection_id":45695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99da"} 
[2026-04-17 10:43:25] local.INFO: GPS Element Parsed {"raw_longitude":755454720,"raw_latitude":118030024,"longitude_deg":75.545472,"latitude_deg":11.8030024,"altitude":25,"angle":205,"satellites":29,"speed":48,"hex_longitude":"2d075300","hex_latitude":"0708fec8","is_valid_coordinates":true} 
[2026-04-17 10:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759099648001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113315397775654912,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":531424786247700480,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:25] 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-04-17 10:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776402741000,"timestamp_ms":1776402741000,"timestamp_seconds":1776402741,"priority":1,"record_length":96,"hex_timestamp":"0000019d99dab708"} 
[2026-04-17 10:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:43:25] 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-04-17 10:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-17 10:43:25] 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-04-17 10:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":45695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":45695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":45695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759099648001,"66":13993,"109":206,"28":32256,"24":48,"16":113315397775654912,"45":531424786247700480},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-04-17 10:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759099648001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:43:25] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-17 10:43:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113315397775654912,"km_value":113315397775654.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":531424786247700480,"description":"Unknown IO ID 45"} 
[2026-04-17 10:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759099648001,"power":13993,"unknown_109":206,"unknown_28":32256,"ignition":48,"odometer":null,"unknown_45":531424786247700480}} 
[2026-04-17 10:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":45695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20635,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:43:25] local.INFO: GPS data processed {"connection_id":45695,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:43:25] local.INFO: Acknowledgment sent {"connection_id":45695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:43:28] local.INFO: TCP Data received {"connection_id":46532,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d9fb88012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d9fb88012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:43:28] local.INFO: Processing buffer {"connection_id":46532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d9fb88012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:43:28] local.INFO: Packet analysis {"connection_id":46532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d9"} 
[2026-04-17 10:43:28] local.INFO: Extracted packet for processing {"connection_id":46532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d9"} 
[2026-04-17 10:43:28] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759084032001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776402693000,"timestamp_ms":1776402693000,"timestamp_seconds":1776402693,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d9fb88"} 
[2026-04-17 10:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:43: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-04-17 10: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":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-04-17 10:43:28] 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-04-17 10: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-04-17 10:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759084032001,"66":24745,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759084032001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:43:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:43:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759084032001,"power":24745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":46532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:43:28] local.INFO: GPS data processed {"connection_id":46532,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:43:28] local.INFO: Acknowledgment sent {"connection_id":46532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:43:47] local.INFO: TCP Data received {"connection_id":45967,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99d822e0012d22e14006caf880000400a32e..."} 
[2026-04-17 10:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99d822e0012d22e14006caf880000400a32e..."} 
[2026-04-17 10:43:47] local.INFO: Processing buffer {"connection_id":45967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99d822e0012d22e14006caf880000400a32e..."} 
[2026-04-17 10:43:47] local.INFO: Packet analysis {"connection_id":45967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99d8"} 
[2026-04-17 10:43:47] local.INFO: Extracted packet for processing {"connection_id":45967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99d8"} 
[2026-04-17 10:43:47] local.INFO: GPS Element Parsed {"raw_longitude":757260608,"raw_latitude":113965184,"longitude_deg":75.7260608,"latitude_deg":11.3965184,"altitude":4,"angle":163,"satellites":46,"speed":9,"hex_longitude":"2d22e140","hex_latitude":"06caf880","is_valid_coordinates":true} 
[2026-04-17 10:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759053056001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2509701290274365440,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:47] 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-04-17 10:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776402572000,"timestamp_ms":1776402572000,"timestamp_seconds":1776402572,"priority":1,"record_length":96,"hex_timestamp":"0000019d99d822e0"} 
[2026-04-17 10:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:43: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-04-17 10:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 10:43:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":45967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":45967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":45967,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759053056001,"66":28495,"120":206,"2":56576,"24":9,"16":106618783551979520,"45":2509701290274365440},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,2,24,16,45]} 
[2026-04-17 10:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759053056001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:43:47] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 10:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2509701290274365440,"description":"Unknown IO ID 45"} 
[2026-04-17 10:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759053056001,"power":28495,"unknown_120":206,"power_alt":56576,"ignition":9,"odometer":null,"unknown_45":2509701290274365440}} 
[2026-04-17 10:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":45967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20637,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:43:47] local.INFO: GPS data processed {"connection_id":45967,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:43:47] local.INFO: Acknowledgment sent {"connection_id":45967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:43:51] local.INFO: TCP Data received {"connection_id":45773,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:43:51] local.INFO: Processing buffer {"connection_id":45773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:43:51] local.INFO: IMEI packet received {"connection_id":45773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":45773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:43:56] local.INFO: TCP Data received {"connection_id":45773,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45773,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:43:56] local.INFO: Processing buffer {"connection_id":45773,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:43:56] local.INFO: IMEI packet received {"connection_id":45773,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":45773,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:43:57] local.INFO: TCP Data received {"connection_id":45695,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99dab708012d0753000708fec8001900cd1d..."} 
[2026-04-17 10:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99dab708012d0753000708fec8001900cd1d..."} 
[2026-04-17 10:43:57] local.INFO: Processing buffer {"connection_id":45695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99dab708012d0753000708fec8001900cd1d..."} 
[2026-04-17 10:43:57] local.INFO: Packet analysis {"connection_id":45695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99da"} 
[2026-04-17 10:43:57] local.INFO: Extracted packet for processing {"connection_id":45695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99da"} 
[2026-04-17 10:43:57] local.INFO: GPS Element Parsed {"raw_longitude":755454720,"raw_latitude":118030024,"longitude_deg":75.545472,"latitude_deg":11.8030024,"altitude":25,"angle":205,"satellites":29,"speed":48,"hex_longitude":"2d075300","hex_latitude":"0708fec8","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759101696001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113315397775654912,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":527765611548166144,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:57] 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-04-17 10:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402741000,"timestamp_ms":1776402741000,"timestamp_seconds":1776402741,"priority":1,"record_length":96,"hex_timestamp":"0000019d99dab708"} 
[2026-04-17 10:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:43:57] 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-04-17 10:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:43:57] 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-04-17 10: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-04-17 10:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45695,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45695,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759101696001,"66":13993,"109":206,"28":32256,"24":48,"16":113315397775654912,"45":527765611548166144},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,109,28,24,16,45]} 
[2026-04-17 10:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759101696001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:43:57] local.INFO: Unknown IO ID detected {"io_id":109,"value":206,"description":"Unknown IO ID 109"} 
[2026-04-17 10:43:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113315397775654912,"km_value":113315397775654.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":527765611548166144,"description":"Unknown IO ID 45"} 
[2026-04-17 10:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759101696001,"power":13993,"unknown_109":206,"unknown_28":32256,"ignition":48,"odometer":null,"unknown_45":527765611548166144}} 
[2026-04-17 10:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":45695,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:43:57] local.INFO: GPS data processed {"connection_id":45695,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:43:57] local.INFO: Acknowledgment sent {"connection_id":45695,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:43:57] local.INFO: TCP Data received {"connection_id":45773,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d99da0358012d7f8e4005afd7f00000011724..."} 
[2026-04-17 10:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99da0358012d7f8e4005afd7f00000011724..."} 
[2026-04-17 10:43:57] local.INFO: Processing buffer {"connection_id":45773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99da0358012d7f8e4005afd7f00000011724..."} 
[2026-04-17 10:43:57] local.INFO: Packet analysis {"connection_id":45773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99da"} 
[2026-04-17 10:43:57] local.INFO: Extracted packet for processing {"connection_id":45773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99da"} 
[2026-04-17 10:43:57] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:43: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-04-17 10:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759089408001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402695000,"timestamp_ms":1776402695000,"timestamp_seconds":1776402695,"priority":1,"record_length":96,"hex_timestamp":"0000019d99da0358"} 
[2026-04-17 10:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:43: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-04-17 10: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:43:57] 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-04-17 10: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-04-17 10:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759089408001,"66":24680,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759089408001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:43:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:43:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759089408001,"power":24680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":45773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:43:57] local.INFO: GPS data processed {"connection_id":45773,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:43:57] local.INFO: Acknowledgment sent {"connection_id":45773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:44:10] local.INFO: TCP Data received {"connection_id":46533,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:44:10] local.INFO: Processing buffer {"connection_id":46533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:44:10] local.INFO: IMEI packet received {"connection_id":46533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":46533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:44:11] local.INFO: TCP Data received {"connection_id":46533,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:44:11] local.INFO: Processing buffer {"connection_id":46533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:44:11] local.INFO: IMEI packet received {"connection_id":46533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:44:11] local.INFO: IMEI acknowledgment sent {"connection_id":46533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:44:15] local.INFO: TCP Data received {"connection_id":46533,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:44:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46533,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:44:15] local.INFO: Processing buffer {"connection_id":46533,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:44:15] local.INFO: IMEI packet received {"connection_id":46533,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:44:15] local.INFO: IMEI acknowledgment sent {"connection_id":46533,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:44:16] local.INFO: TCP Data received {"connection_id":46533,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99db3020012d23970006ca3178000700622f..."} 
[2026-04-17 10:44:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99db3020012d23970006ca3178000700622f..."} 
[2026-04-17 10:44:16] local.INFO: Processing buffer {"connection_id":46533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99db3020012d23970006ca3178000700622f..."} 
[2026-04-17 10:44:16] local.INFO: Packet analysis {"connection_id":46533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99db"} 
[2026-04-17 10:44:16] local.INFO: Extracted packet for processing {"connection_id":46533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99db"} 
[2026-04-17 10:44:16] local.INFO: GPS Element Parsed {"raw_longitude":757307136,"raw_latitude":113914232,"longitude_deg":75.7307136,"latitude_deg":11.3914232,"altitude":7,"angle":98,"satellites":47,"speed":32,"hex_longitude":"2d239700","hex_latitude":"06ca3178","is_valid_coordinates":true} 
[2026-04-17 10:44: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-04-17 10:44:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759109632001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:44:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:44:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2564518541972830208,"note":"Value kept but may cause issues"} 
[2026-04-17 10:44:16] 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-04-17 10:44:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776402772000,"timestamp_ms":1776402772000,"timestamp_seconds":1776402772,"priority":1,"record_length":96,"hex_timestamp":"0000019d99db3020"} 
[2026-04-17 10:44:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:44: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-04-17 10:44: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 10:44:16] 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-04-17 10:44: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-04-17 10:44:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:44:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:44:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:44:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:44:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:44:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:44:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:44:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:44:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759109632001,"66":28300,"248":206,"2":56576,"24":32,"16":106618783551979520,"45":2564518541972830208},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-04-17 10:44:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:44:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:44:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759109632001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:44:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:44:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2564518541972830208,"description":"Unknown IO ID 45"} 
[2026-04-17 10:44:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759109632001,"power":28300,"tamper_alert":206,"power_alt":56576,"ignition":32,"odometer":null,"unknown_45":2564518541972830208}} 
[2026-04-17 10:44:16] local.INFO: DEBUG: GPS processor result {"connection_id":46533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20640,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:44:16] local.INFO: GPS data processed {"connection_id":46533,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:44:16] local.INFO: Acknowledgment sent {"connection_id":46533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:44:17] local.INFO: TCP Data received {"connection_id":45774,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:44:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:44:17] local.INFO: Processing buffer {"connection_id":45774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:44:17] local.INFO: IMEI packet received {"connection_id":45774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:44:17] local.INFO: IMEI acknowledgment sent {"connection_id":45774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:44:19] local.INFO: TCP Data received {"connection_id":45774,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:44:19] local.INFO: Processing buffer {"connection_id":45774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:44:19] local.INFO: IMEI packet received {"connection_id":45774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":45774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:44:20] local.INFO: TCP Data received {"connection_id":46533,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99db7e40012d23d9c006ca1e38000600772e..."} 
[2026-04-17 10:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46533,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99db7e40012d23d9c006ca1e38000600772e..."} 
[2026-04-17 10:44:20] local.INFO: Processing buffer {"connection_id":46533,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99db7e40012d23d9c006ca1e38000600772e..."} 
[2026-04-17 10:44:20] local.INFO: Packet analysis {"connection_id":46533,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99db"} 
[2026-04-17 10:44:20] local.INFO: Extracted packet for processing {"connection_id":46533,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99db"} 
[2026-04-17 10:44:20] local.INFO: GPS Element Parsed {"raw_longitude":757324224,"raw_latitude":113909304,"longitude_deg":75.7324224,"latitude_deg":11.3909304,"altitude":6,"angle":119,"satellites":46,"speed":33,"hex_longitude":"2d23d9c0","hex_latitude":"06ca1e38","is_valid_coordinates":true} 
[2026-04-17 10:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759109632001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2564518541972830208,"note":"Value kept but may cause issues"} 
[2026-04-17 10:44:20] 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-04-17 10:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776402792000,"timestamp_ms":1776402792000,"timestamp_seconds":1776402792,"priority":1,"record_length":96,"hex_timestamp":"0000019d99db7e40"} 
[2026-04-17 10:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:44: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-04-17 10:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 10:44:20] 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-04-17 10:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":46533,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":46533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":46533,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759109632001,"66":28430,"248":206,"2":56576,"24":33,"16":106618783551979520,"45":2564518541972830208},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-04-17 10:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759109632001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":2564518541972830208,"description":"Unknown IO ID 45"} 
[2026-04-17 10:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759109632001,"power":28430,"tamper_alert":206,"power_alt":56576,"ignition":33,"odometer":null,"unknown_45":2564518541972830208}} 
[2026-04-17 10:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":46533,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20641,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:44:20] local.INFO: GPS data processed {"connection_id":46533,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:44:20] local.INFO: Acknowledgment sent {"connection_id":46533,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:44:22] local.INFO: TCP Data received {"connection_id":45774,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45774,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:44:22] local.INFO: Processing buffer {"connection_id":45774,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:44:22] local.INFO: IMEI packet received {"connection_id":45774,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":45774,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:44:28] local.INFO: TCP Data received {"connection_id":45773,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d99da0358012d7f8e4005afd7f00000011724..."} 
[2026-04-17 10:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99da0358012d7f8e4005afd7f00000011724..."} 
[2026-04-17 10:44:28] local.INFO: Processing buffer {"connection_id":45773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99da0358012d7f8e4005afd7f00000011724..."} 
[2026-04-17 10:44:28] local.INFO: Packet analysis {"connection_id":45773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99da"} 
[2026-04-17 10:44:28] local.INFO: Extracted packet for processing {"connection_id":45773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99da"} 
[2026-04-17 10:44:28] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759089408001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776402695000,"timestamp_ms":1776402695000,"timestamp_seconds":1776402695,"priority":1,"record_length":96,"hex_timestamp":"0000019d99da0358"} 
[2026-04-17 10:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:44: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-04-17 10: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:44:28] 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-04-17 10: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-04-17 10:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45773,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759089408001,"66":24680,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759089408001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:44:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759089408001,"power":24680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":45773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:44:28] local.INFO: GPS data processed {"connection_id":45773,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:44:28] local.INFO: Acknowledgment sent {"connection_id":45773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:44:42] local.INFO: TCP Data received {"connection_id":45774,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99dad648012d0743800708de58001b00ca1b..."} 
[2026-04-17 10:44:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99dad648012d0743800708de58001b00ca1b..."} 
[2026-04-17 10:44:42] local.INFO: Processing buffer {"connection_id":45774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99dad648012d0743800708de58001b00ca1b..."} 
[2026-04-17 10:44:42] local.INFO: Packet analysis {"connection_id":45774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99da"} 
[2026-04-17 10:44:42] local.INFO: Extracted packet for processing {"connection_id":45774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99da"} 
[2026-04-17 10:44:42] local.INFO: GPS Element Parsed {"raw_longitude":755450752,"raw_latitude":118021720,"longitude_deg":75.5450752,"latitude_deg":11.802172,"altitude":27,"angle":202,"satellites":27,"speed":41,"hex_longitude":"2d074380","hex_latitude":"0708de58","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:44:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759101696001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:44:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113315844452253696,"note":"Value kept but may cause issues"} 
[2026-04-17 10:44:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":527765611548166144,"note":"Value kept but may cause issues"} 
[2026-04-17 10:44:42] 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-04-17 10:44:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776402749000,"timestamp_ms":1776402749000,"timestamp_seconds":1776402749,"priority":1,"record_length":96,"hex_timestamp":"0000019d99dad648"} 
[2026-04-17 10:44:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:44: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-04-17 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:44:42] 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-04-17 10: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-04-17 10:44:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:44:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:44:42] local.INFO: Teltonika packet parsed successfully {"connection_id":45774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:44:42] local.INFO: Passing IMEI to GPS processor {"connection_id":45774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:44:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":45774,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:44:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:44:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:44:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:44:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759101696001,"66":13939,"104":206,"28":32256,"24":41,"16":113315844452253696,"45":527765611548166144},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,104,28,24,16,45]} 
[2026-04-17 10:44:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:44:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:44:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759101696001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:44:42] local.INFO: Unknown IO ID detected {"io_id":104,"value":206,"description":"Unknown IO ID 104"} 
[2026-04-17 10:44:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:44:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113315844452253696,"km_value":113315844452253.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:44:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":527765611548166144,"description":"Unknown IO ID 45"} 
[2026-04-17 10:44:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759101696001,"power":13939,"unknown_104":206,"unknown_28":32256,"ignition":41,"odometer":null,"unknown_45":527765611548166144}} 
[2026-04-17 10:44:42] local.INFO: DEBUG: GPS processor result {"connection_id":45774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20643,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:44:42] local.INFO: GPS data processed {"connection_id":45774,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:44:42] local.INFO: Acknowledgment sent {"connection_id":45774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:44:51] local.INFO: TCP Data received {"connection_id":46534,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:44:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:44:51] local.INFO: Processing buffer {"connection_id":46534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:44:51] local.INFO: IMEI packet received {"connection_id":46534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:44:51] local.INFO: IMEI acknowledgment sent {"connection_id":46534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:44:56] local.INFO: TCP Data received {"connection_id":46534,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46534,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:44:56] local.INFO: Processing buffer {"connection_id":46534,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:44:56] local.INFO: IMEI packet received {"connection_id":46534,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":46534,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:44:57] local.INFO: TCP Data received {"connection_id":46534,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d99da0358012d7f8e4005afd7f00000011724..."} 
[2026-04-17 10:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99da0358012d7f8e4005afd7f00000011724..."} 
[2026-04-17 10:44:57] local.INFO: Processing buffer {"connection_id":46534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99da0358012d7f8e4005afd7f00000011724..."} 
[2026-04-17 10:44:57] local.INFO: Packet analysis {"connection_id":46534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99da"} 
[2026-04-17 10:44:57] local.INFO: Extracted packet for processing {"connection_id":46534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99da"} 
[2026-04-17 10:44:57] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:44: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-04-17 10:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759089408001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402695000,"timestamp_ms":1776402695000,"timestamp_seconds":1776402695,"priority":1,"record_length":96,"hex_timestamp":"0000019d99da0358"} 
[2026-04-17 10:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:44: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-04-17 10:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:44:57] 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-04-17 10:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759089408001,"66":24680,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759089408001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:44:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:44:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759089408001,"power":24680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":46534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:44:57] local.INFO: GPS data processed {"connection_id":46534,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:44:57] local.INFO: Acknowledgment sent {"connection_id":46534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:45:05] local.INFO: TCP Data received {"connection_id":45775,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:45:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:45:05] local.INFO: Processing buffer {"connection_id":45775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:45:05] local.INFO: IMEI packet received {"connection_id":45775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:45:05] local.INFO: IMEI acknowledgment sent {"connection_id":45775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:45:10] local.INFO: TCP Data received {"connection_id":45775,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45775,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:45:10] local.INFO: Processing buffer {"connection_id":45775,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:45:10] local.INFO: IMEI packet received {"connection_id":45775,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":45775,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:45:12] local.INFO: TCP Data received {"connection_id":45775,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99dbcc60012d240bc006c9eb480007009731..."} 
[2026-04-17 10:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99dbcc60012d240bc006c9eb480007009731..."} 
[2026-04-17 10:45:12] local.INFO: Processing buffer {"connection_id":45775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99dbcc60012d240bc006c9eb480007009731..."} 
[2026-04-17 10:45:12] local.INFO: Packet analysis {"connection_id":45775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99db"} 
[2026-04-17 10:45:12] local.INFO: Extracted packet for processing {"connection_id":45775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99db"} 
[2026-04-17 10:45:12] local.INFO: GPS Element Parsed {"raw_longitude":757337024,"raw_latitude":113896264,"longitude_deg":75.7337024,"latitude_deg":11.3896264,"altitude":7,"angle":151,"satellites":49,"speed":39,"hex_longitude":"2d240bc0","hex_latitude":"06c9eb48","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759114752001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2583306996667004928,"note":"Value kept but may cause issues"} 
[2026-04-17 10:45:12] 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-04-17 10:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776402812000,"timestamp_ms":1776402812000,"timestamp_seconds":1776402812,"priority":1,"record_length":96,"hex_timestamp":"0000019d99dbcc60"} 
[2026-04-17 10:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:45:12] 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-04-17 10: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 10:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759114752001,"66":28430,"248":206,"2":56576,"24":39,"16":106618783551979520,"45":2583306996667004928},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-04-17 10:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759114752001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2583306996667004928,"description":"Unknown IO ID 45"} 
[2026-04-17 10:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759114752001,"power":28430,"tamper_alert":206,"power_alt":56576,"ignition":39,"odometer":null,"unknown_45":2583306996667004928}} 
[2026-04-17 10:45:13] local.INFO: DEBUG: GPS processor result {"connection_id":45775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20645,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:45:13] local.INFO: GPS data processed {"connection_id":45775,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:45:13] local.INFO: Acknowledgment sent {"connection_id":45775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:45:23] local.INFO: TCP Data received {"connection_id":45696,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:45:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:45:23] local.INFO: Processing buffer {"connection_id":45696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:45:23] local.INFO: IMEI packet received {"connection_id":45696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:45:23] local.INFO: IMEI acknowledgment sent {"connection_id":45696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:45:25] local.INFO: TCP Data received {"connection_id":45696,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45696,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:45:25] local.INFO: Processing buffer {"connection_id":45696,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:45:25] local.INFO: IMEI packet received {"connection_id":45696,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:45:25] local.INFO: IMEI acknowledgment sent {"connection_id":45696,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:45:27] local.INFO: TCP Data received {"connection_id":45696,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99dc7458012d06988007077730001e00cb1f..."} 
[2026-04-17 10:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99dc7458012d06988007077730001e00cb1f..."} 
[2026-04-17 10:45:27] local.INFO: Processing buffer {"connection_id":45696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99dc7458012d06988007077730001e00cb1f..."} 
[2026-04-17 10:45:27] local.INFO: Packet analysis {"connection_id":45696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99dc"} 
[2026-04-17 10:45:27] local.INFO: Extracted packet for processing {"connection_id":45696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99dc"} 
[2026-04-17 10:45:27] local.INFO: GPS Element Parsed {"raw_longitude":755406976,"raw_latitude":117929776,"longitude_deg":75.5406976,"latitude_deg":11.7929776,"altitude":30,"angle":203,"satellites":31,"speed":43,"hex_longitude":"2d069880","hex_latitude":"07077730","is_valid_coordinates":true} 
[2026-04-17 10:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759129600001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113320852384120832,"note":"Value kept but may cause issues"} 
[2026-04-17 10:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":476818640739194880,"note":"Value kept but may cause issues"} 
[2026-04-17 10:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776402855000,"timestamp_ms":1776402855000,"timestamp_seconds":1776402855,"priority":1,"record_length":96,"hex_timestamp":"0000019d99dc7458"} 
[2026-04-17 10:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:45: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-04-17 10:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-17 10:45:27] 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-04-17 10:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759129600001,"66":13167,"62":206,"28":32256,"24":43,"16":113320852384120832,"45":476818640739194880},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-17 10:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759129600001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:45:27] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 10:45:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113320852384120832,"km_value":113320852384120.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":476818640739194880,"description":"Unknown IO ID 45"} 
[2026-04-17 10:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759129600001,"power":13167,"unknown_62":206,"unknown_28":32256,"ignition":43,"odometer":null,"unknown_45":476818640739194880}} 
[2026-04-17 10:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":45696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20646,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:45:27] local.INFO: GPS data processed {"connection_id":45696,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:45:27] local.INFO: Acknowledgment sent {"connection_id":45696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:45:28] local.INFO: TCP Data received {"connection_id":46534,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d99da0358012d7f8e4005afd7f00000011724..."} 
[2026-04-17 10:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46534,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99da0358012d7f8e4005afd7f00000011724..."} 
[2026-04-17 10:45:28] local.INFO: Processing buffer {"connection_id":46534,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99da0358012d7f8e4005afd7f00000011724..."} 
[2026-04-17 10:45:28] local.INFO: Packet analysis {"connection_id":46534,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99da"} 
[2026-04-17 10:45:28] local.INFO: Extracted packet for processing {"connection_id":46534,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99da"} 
[2026-04-17 10:45:28] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759089408001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776402695000,"timestamp_ms":1776402695000,"timestamp_seconds":1776402695,"priority":1,"record_length":96,"hex_timestamp":"0000019d99da0358"} 
[2026-04-17 10:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:45: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-04-17 10: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":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:45:28] 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-04-17 10: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-04-17 10:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46534,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46534,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759089408001,"66":24680,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759089408001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:45:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:45:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759089408001,"power":24680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":46534,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:45:28] local.INFO: GPS data processed {"connection_id":46534,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:45:28] local.INFO: Acknowledgment sent {"connection_id":46534,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:45:32] local.INFO: TCP Data received {"connection_id":45696,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99dc8bc8012d068a8007076068001e00da1f..."} 
[2026-04-17 10:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99dc8bc8012d068a8007076068001e00da1f..."} 
[2026-04-17 10:45:32] local.INFO: Processing buffer {"connection_id":45696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99dc8bc8012d068a8007076068001e00da1f..."} 
[2026-04-17 10:45:32] local.INFO: Packet analysis {"connection_id":45696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99dc"} 
[2026-04-17 10:45:32] local.INFO: Extracted packet for processing {"connection_id":45696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99dc"} 
[2026-04-17 10:45:32] local.INFO: GPS Element Parsed {"raw_longitude":755403392,"raw_latitude":117923944,"longitude_deg":75.5403392,"latitude_deg":11.7923944,"altitude":30,"angle":218,"satellites":31,"speed":46,"hex_longitude":"2d068a80","hex_latitude":"07076068","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759130880001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113321183096602624,"note":"Value kept but may cause issues"} 
[2026-04-17 10:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":475270528365965312,"note":"Value kept but may cause issues"} 
[2026-04-17 10:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776402861000,"timestamp_ms":1776402861000,"timestamp_seconds":1776402861,"priority":1,"record_length":96,"hex_timestamp":"0000019d99dc8bc8"} 
[2026-04-17 10:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 10:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1452,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45696,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759130880001,"66":13993,"62":206,"28":32256,"24":46,"16":113321183096602624,"45":475270528365965312},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-17 10:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759130880001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:45:32] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 10:45:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113321183096602624,"km_value":113321183096602.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":475270528365965312,"description":"Unknown IO ID 45"} 
[2026-04-17 10:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759130880001,"power":13993,"unknown_62":206,"unknown_28":32256,"ignition":46,"odometer":null,"unknown_45":475270528365965312}} 
[2026-04-17 10:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":45696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:45:32] local.INFO: GPS data processed {"connection_id":45696,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:45:32] local.INFO: Acknowledgment sent {"connection_id":45696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:45:45] local.INFO: TCP Data received {"connection_id":45775,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99dc1e68012d24230006c9ad100005009e31..."} 
[2026-04-17 10:45:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99dc1e68012d24230006c9ad100005009e31..."} 
[2026-04-17 10:45:45] local.INFO: Processing buffer {"connection_id":45775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99dc1e68012d24230006c9ad100005009e31..."} 
[2026-04-17 10:45:45] local.INFO: Packet analysis {"connection_id":45775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99dc"} 
[2026-04-17 10:45:45] local.INFO: Extracted packet for processing {"connection_id":45775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99dc"} 
[2026-04-17 10:45:45] local.INFO: GPS Element Parsed {"raw_longitude":757342976,"raw_latitude":113880336,"longitude_deg":75.7342976,"latitude_deg":11.3880336,"altitude":5,"angle":158,"satellites":49,"speed":0,"hex_longitude":"2d242300","hex_latitude":"06c9ad10","is_valid_coordinates":true} 
[2026-04-17 10:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:45:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759119872001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:45:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:45:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2597380745499199488,"note":"Value kept but may cause issues"} 
[2026-04-17 10:45:45] 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-04-17 10:45:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776402833000,"timestamp_ms":1776402833000,"timestamp_seconds":1776402833,"priority":1,"record_length":96,"hex_timestamp":"0000019d99dc1e68"} 
[2026-04-17 10:45:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:45: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-04-17 10:45:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 10:45:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:45:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:45:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:45:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:45:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:45:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:45:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45775,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:45:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:45:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:45:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:45:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759119872001,"66":28452,"248":206,"2":56576,"24":0,"16":106618783551979520,"45":2597380745499199488},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-04-17 10:45:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:45:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:45:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759119872001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:45:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:45:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2597380745499199488,"description":"Unknown IO ID 45"} 
[2026-04-17 10:45:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759119872001,"power":28452,"tamper_alert":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2597380745499199488}} 
[2026-04-17 10:45:45] local.INFO: DEBUG: GPS processor result {"connection_id":45775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20649,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:45:45] local.INFO: GPS data processed {"connection_id":45775,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:45:45] local.INFO: Acknowledgment sent {"connection_id":45775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:45:51] local.INFO: TCP Data received {"connection_id":45968,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:45:51] local.INFO: Processing buffer {"connection_id":45968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:45:51] local.INFO: IMEI packet received {"connection_id":45968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":45968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:45:56] local.INFO: TCP Data received {"connection_id":45968,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:45:56] local.INFO: Processing buffer {"connection_id":45968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:45:56] local.INFO: IMEI packet received {"connection_id":45968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":45968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:45:57] local.INFO: TCP Data received {"connection_id":45968,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d99da0358012d7f8e4005afd7f00000011724..."} 
[2026-04-17 10:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99da0358012d7f8e4005afd7f00000011724..."} 
[2026-04-17 10:45:57] local.INFO: Processing buffer {"connection_id":45968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99da0358012d7f8e4005afd7f00000011724..."} 
[2026-04-17 10:45:57] local.INFO: Packet analysis {"connection_id":45968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99da"} 
[2026-04-17 10:45:57] local.INFO: Extracted packet for processing {"connection_id":45968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99da"} 
[2026-04-17 10:45:57] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":36,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:45: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-04-17 10:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759089408001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402695000,"timestamp_ms":1776402695000,"timestamp_seconds":1776402695,"priority":1,"record_length":96,"hex_timestamp":"0000019d99da0358"} 
[2026-04-17 10:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:45: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-04-17 10:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:45:57] 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-04-17 10:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:45:57] 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-04-17 10:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759089408001,"66":24680,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759089408001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:45:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:45:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759089408001,"power":24680,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":45968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:45:57] local.INFO: GPS data processed {"connection_id":45968,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:45:57] local.INFO: Acknowledgment sent {"connection_id":45968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:46:05] local.INFO: TCP Data received {"connection_id":46535,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:46:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:46:05] local.INFO: Processing buffer {"connection_id":46535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:46:05] local.INFO: IMEI packet received {"connection_id":46535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:46:05] local.INFO: IMEI acknowledgment sent {"connection_id":46535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:46:11] local.INFO: TCP Data received {"connection_id":46535,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46535,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:46:11] local.INFO: Processing buffer {"connection_id":46535,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:46:11] local.INFO: IMEI packet received {"connection_id":46535,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:46:11] local.INFO: IMEI acknowledgment sent {"connection_id":46535,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:46:13] local.INFO: TCP Data received {"connection_id":46535,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99dc7070012d24384006c96c50000600a62e..."} 
[2026-04-17 10:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99dc7070012d24384006c96c50000600a62e..."} 
[2026-04-17 10:46:13] local.INFO: Processing buffer {"connection_id":46535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99dc7070012d24384006c96c50000600a62e..."} 
[2026-04-17 10:46:13] local.INFO: Packet analysis {"connection_id":46535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99dc"} 
[2026-04-17 10:46:13] local.INFO: Extracted packet for processing {"connection_id":46535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99dc"} 
[2026-04-17 10:46:13] local.INFO: GPS Element Parsed {"raw_longitude":757348416,"raw_latitude":113863760,"longitude_deg":75.7348416,"latitude_deg":11.386376,"altitude":6,"angle":166,"satellites":46,"speed":0,"hex_longitude":"2d243840","hex_latitude":"06c96c50","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:46:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759125248001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:46:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:46:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2603925038703644672,"note":"Value kept but may cause issues"} 
[2026-04-17 10:46:13] 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-04-17 10:46:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776402854000,"timestamp_ms":1776402854000,"timestamp_seconds":1776402854,"priority":1,"record_length":96,"hex_timestamp":"0000019d99dc7070"} 
[2026-04-17 10:46:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:46:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 10:46:13] 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-04-17 10: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-04-17 10:46:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:46:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:46:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:46:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:46:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:46:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:46:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:46:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:46:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759125248001,"66":28452,"248":206,"2":56576,"24":0,"16":106618783551979520,"45":2603925038703644672},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,2,24,16,45]} 
[2026-04-17 10:46:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:46:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:46:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759125248001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:46:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:46:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2603925038703644672,"description":"Unknown IO ID 45"} 
[2026-04-17 10:46:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759125248001,"power":28452,"tamper_alert":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2603925038703644672}} 
[2026-04-17 10:46:13] local.INFO: TCP Data received {"connection_id":45697,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:46:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:46:13] local.INFO: Processing buffer {"connection_id":45697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:46:13] local.INFO: IMEI packet received {"connection_id":45697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:46:13] local.INFO: IMEI acknowledgment sent {"connection_id":45697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:46:13] local.INFO: DEBUG: GPS processor result {"connection_id":46535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20651,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:46:13] local.INFO: GPS data processed {"connection_id":46535,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:46:13] local.INFO: Acknowledgment sent {"connection_id":46535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:46:15] local.INFO: TCP Data received {"connection_id":45697,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:46:15] local.INFO: Processing buffer {"connection_id":45697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:46:15] local.INFO: IMEI packet received {"connection_id":45697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":45697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:46:17] local.INFO: TCP Data received {"connection_id":45697,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:46:17] local.INFO: Processing buffer {"connection_id":45697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:46:17] local.INFO: IMEI packet received {"connection_id":45697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":45697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:46:18] local.INFO: TCP Data received {"connection_id":45697,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45697,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:46:18] local.INFO: Processing buffer {"connection_id":45697,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:46:18] local.INFO: IMEI packet received {"connection_id":45697,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:46:18] local.INFO: IMEI acknowledgment sent {"connection_id":45697,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:46:28] local.INFO: TCP Data received {"connection_id":45968,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ddc060012d7f8fc005afd7f00000011725..."} 
[2026-04-17 10:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ddc060012d7f8fc005afd7f00000011725..."} 
[2026-04-17 10:46:28] local.INFO: Processing buffer {"connection_id":45968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ddc060012d7f8fc005afd7f00000011725..."} 
[2026-04-17 10:46:28] local.INFO: Packet analysis {"connection_id":45968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99dd"} 
[2026-04-17 10:46:28] local.INFO: Extracted packet for processing {"connection_id":45968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99dd"} 
[2026-04-17 10:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95410160,"longitude_deg":76.3334592,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759089920001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776402940000,"timestamp_ms":1776402940000,"timestamp_seconds":1776402940,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ddc060"} 
[2026-04-17 10:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-17 10:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:46:28] 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-04-17 10:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759089920001,"66":25212,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759089920001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:46:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759089920001,"power":25212,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":45968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:46:28] local.INFO: GPS data processed {"connection_id":45968,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:46:28] local.INFO: Acknowledgment sent {"connection_id":45968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:46:47] local.INFO: TCP Data received {"connection_id":46535,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99dcc278012d24450006c93348000a00a52f..."} 
[2026-04-17 10:46:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99dcc278012d24450006c93348000a00a52f..."} 
[2026-04-17 10:46:47] local.INFO: Processing buffer {"connection_id":46535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99dcc278012d24450006c93348000a00a52f..."} 
[2026-04-17 10:46:47] local.INFO: Packet analysis {"connection_id":46535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99dc"} 
[2026-04-17 10:46:47] local.INFO: Extracted packet for processing {"connection_id":46535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99dc"} 
[2026-04-17 10:46:47] local.INFO: GPS Element Parsed {"raw_longitude":757351680,"raw_latitude":113849160,"longitude_deg":75.735168,"latitude_deg":11.384916,"altitude":10,"angle":165,"satellites":47,"speed":0,"hex_longitude":"2d244500","hex_latitude":"06c93348","is_valid_coordinates":true} 
[2026-04-17 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-04-17 10:46:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759130624001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:46:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:46:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2609906381954502656,"note":"Value kept but may cause issues"} 
[2026-04-17 10:46:47] 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-04-17 10:46:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776402875000,"timestamp_ms":1776402875000,"timestamp_seconds":1776402875,"priority":1,"record_length":96,"hex_timestamp":"0000019d99dcc278"} 
[2026-04-17 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-04-17 10: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-04-17 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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 10:46:47] 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-04-17 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-04-17 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-04-17 10:46:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:46:47] local.INFO: Teltonika packet parsed successfully {"connection_id":46535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:46:47] local.INFO: Passing IMEI to GPS processor {"connection_id":46535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:46:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":46535,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:46:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:46:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:46:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:46:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759130624001,"66":27876,"249":206,"2":56576,"24":0,"16":106618783551979520,"45":2609906381954502656},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-04-17 10:46:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:46:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:46:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759130624001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:46:47] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-17 10:46:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:46:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2609906381954502656,"description":"Unknown IO ID 45"} 
[2026-04-17 10:46:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759130624001,"power":27876,"unknown_249":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2609906381954502656}} 
[2026-04-17 10:46:47] local.INFO: DEBUG: GPS processor result {"connection_id":46535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20653,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:46:47] local.INFO: GPS data processed {"connection_id":46535,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:46:47] local.INFO: Acknowledgment sent {"connection_id":46535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:46:51] local.INFO: TCP Data received {"connection_id":45698,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:46:51] local.INFO: Processing buffer {"connection_id":45698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:46:51] local.INFO: IMEI packet received {"connection_id":45698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":45698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:46:56] local.INFO: TCP Data received {"connection_id":45698,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45698,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:46:56] local.INFO: Processing buffer {"connection_id":45698,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:46:56] local.INFO: IMEI packet received {"connection_id":45698,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":45698,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:46:57] local.INFO: TCP Data received {"connection_id":45698,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d99de1e20012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99de1e20012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:46:57] local.INFO: Processing buffer {"connection_id":45698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99de1e20012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:46:57] local.INFO: Packet analysis {"connection_id":45698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:46:57] local.INFO: Extracted packet for processing {"connection_id":45698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:46:57] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759152640001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144005632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402964000,"timestamp_ms":1776402964000,"timestamp_seconds":1776402964,"priority":1,"record_length":96,"hex_timestamp":"0000019d99de1e20"} 
[2026-04-17 10:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:46: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-04-17 10:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 10:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:46:57] 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-04-17 10:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759152640001,"66":27658,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191776495144005632},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759152640001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:46:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144005632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759152640001,"power":27658,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144005632}} 
[2026-04-17 10:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":45698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:46:57] local.INFO: GPS data processed {"connection_id":45698,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:46:57] local.INFO: Acknowledgment sent {"connection_id":45698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:47:05] local.INFO: TCP Data received {"connection_id":45776,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:47:05] local.INFO: Processing buffer {"connection_id":45776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:47:05] local.INFO: IMEI packet received {"connection_id":45776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:47:05] local.INFO: IMEI acknowledgment sent {"connection_id":45776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:47:10] local.INFO: TCP Data received {"connection_id":45776,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45776,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:47:10] local.INFO: Processing buffer {"connection_id":45776,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:47:10] local.INFO: IMEI packet received {"connection_id":45776,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":45776,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:47:11] local.INFO: TCP Data received {"connection_id":45776,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ddc8300100000000000000000000000000..."} 
[2026-04-17 10:47:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ddc8300100000000000000000000000000..."} 
[2026-04-17 10:47:11] local.INFO: Processing buffer {"connection_id":45776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ddc8300100000000000000000000000000..."} 
[2026-04-17 10:47:11] local.INFO: Packet analysis {"connection_id":45776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99dd"} 
[2026-04-17 10:47:11] local.INFO: Extracted packet for processing {"connection_id":45776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99dd"} 
[2026-04-17 10:47: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-04-17 10: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-04-17 10:47:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759136000001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:47:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:47:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2613495187903825920,"note":"Value kept but may cause issues"} 
[2026-04-17 10:47:11] 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-04-17 10:47:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776402942000,"timestamp_ms":1776402942000,"timestamp_seconds":1776402942,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ddc830"} 
[2026-04-17 10:47:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:47:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:47:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 10:47:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:47:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:47:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:47:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:47:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:47:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:47:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:47:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:47:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:47:11] local.INFO: DEBUG: GPS processor result {"connection_id":45776,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 10:47:11] local.INFO: GPS data processed {"connection_id":45776,"processed":0,"errors":0,"total":1} 
[2026-04-17 10:47:11] local.INFO: Acknowledgment sent {"connection_id":45776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:47:28] local.INFO: TCP Data received {"connection_id":45698,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d99de7028012d7f8e4005afd7f00000011726..."} 
[2026-04-17 10:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45698,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99de7028012d7f8e4005afd7f00000011726..."} 
[2026-04-17 10:47:28] local.INFO: Processing buffer {"connection_id":45698,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99de7028012d7f8e4005afd7f00000011726..."} 
[2026-04-17 10:47:28] local.INFO: Packet analysis {"connection_id":45698,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:47:28] local.INFO: Extracted packet for processing {"connection_id":45698,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:47:28] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":38,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759158784001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776402985000,"timestamp_ms":1776402985000,"timestamp_seconds":1776402985,"priority":1,"record_length":96,"hex_timestamp":"0000019d99de7028"} 
[2026-04-17 10:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:47: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-04-17 10:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-17 10:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":828,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45698,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45698,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:47:28] 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-04-17 10:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759158784001,"66":27615,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759158784001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:47:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:47:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759158784001,"power":27615,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":45698,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:47:28] local.INFO: GPS data processed {"connection_id":45698,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:47:28] local.INFO: Acknowledgment sent {"connection_id":45698,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:47:43] local.INFO: TCP Data received {"connection_id":45776,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99dd1868012d24594006c905a0000e009130..."} 
[2026-04-17 10:47:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99dd1868012d24594006c905a0000e009130..."} 
[2026-04-17 10:47:43] local.INFO: Processing buffer {"connection_id":45776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99dd1868012d24594006c905a0000e009130..."} 
[2026-04-17 10:47:43] local.INFO: Packet analysis {"connection_id":45776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99dd"} 
[2026-04-17 10:47:43] local.INFO: Extracted packet for processing {"connection_id":45776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99dd"} 
[2026-04-17 10:47:43] local.INFO: GPS Element Parsed {"raw_longitude":757356864,"raw_latitude":113837472,"longitude_deg":75.7356864,"latitude_deg":11.3837472,"altitude":14,"angle":145,"satellites":48,"speed":17,"hex_longitude":"2d245940","hex_latitude":"06c905a0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:47:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:47:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,249,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 10:47:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776402897000,"timestamp_ms":1776402897000,"timestamp_seconds":1776402897,"priority":1,"record_length":96,"hex_timestamp":"0000019d99dd1868"} 
[2026-04-17 10:47:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:47:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 10:47:43] 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-04-17 10: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-04-17 10:47:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:47:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:47:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:47:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:47:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45776,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:47:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:47:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:47:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:47:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"249":206,"2":56576,"24":17,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16]} 
[2026-04-17 10:47:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:47:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:47:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 10:47:43] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-17 10:47:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:47:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_249":206,"power_alt":56576,"ignition":17,"odometer":null}} 
[2026-04-17 10:47:43] local.INFO: DEBUG: GPS processor result {"connection_id":45776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20656,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:47:43] local.INFO: GPS data processed {"connection_id":45776,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:47:43] local.INFO: Acknowledgment sent {"connection_id":45776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:47:51] local.INFO: TCP Data received {"connection_id":45777,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:47:51] local.INFO: Processing buffer {"connection_id":45777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:47:51] local.INFO: IMEI packet received {"connection_id":45777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":45777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:47:56] local.INFO: TCP Data received {"connection_id":45777,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45777,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:47:56] local.INFO: Processing buffer {"connection_id":45777,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:47:56] local.INFO: IMEI packet received {"connection_id":45777,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":45777,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:47:57] local.INFO: TCP Data received {"connection_id":45777,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:47:57] local.INFO: Processing buffer {"connection_id":45777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:47:57] local.INFO: Packet analysis {"connection_id":45777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:47:57] local.INFO: Extracted packet for processing {"connection_id":45777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:47:57] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:47: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-04-17 10:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402993000,"timestamp_ms":1776402993000,"timestamp_seconds":1776402993,"priority":1,"record_length":96,"hex_timestamp":"0000019d99de8f68"} 
[2026-04-17 10:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:47: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-04-17 10:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-17 10:47:57] 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-04-17 10:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:47:57] 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-04-17 10:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759164160001,"66":27843,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:47:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:47:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759164160001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":45777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:47:57] local.INFO: GPS data processed {"connection_id":45777,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:47:57] local.INFO: Acknowledgment sent {"connection_id":45777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:48:05] local.INFO: TCP Data received {"connection_id":45970,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:48:05] local.INFO: Processing buffer {"connection_id":45970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:48:05] local.INFO: IMEI packet received {"connection_id":45970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":45970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:48:10] local.INFO: TCP Data received {"connection_id":45970,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45970,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:48:10] local.INFO: Processing buffer {"connection_id":45970,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:48:10] local.INFO: IMEI packet received {"connection_id":45970,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":45970,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:48:17] local.INFO: TCP Data received {"connection_id":45970,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99de1e200100000000000000000000000000..."} 
[2026-04-17 10:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99de1e200100000000000000000000000000..."} 
[2026-04-17 10:48:17] local.INFO: Processing buffer {"connection_id":45970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99de1e200100000000000000000000000000..."} 
[2026-04-17 10:48:17] local.INFO: Packet analysis {"connection_id":45970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:48:17] local.INFO: Extracted packet for processing {"connection_id":45970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:48:17] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 10:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:48:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759141632001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:48:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:48:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2619195056179224576,"note":"Value kept but may cause issues"} 
[2026-04-17 10:48:17] 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-04-17 10:48:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776402964000,"timestamp_ms":1776402964000,"timestamp_seconds":1776402964,"priority":1,"record_length":96,"hex_timestamp":"0000019d99de1e20"} 
[2026-04-17 10:48:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:48:17] 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-04-17 10:48:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 10:48:17] 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-04-17 10:48:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:48:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:48:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:48:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:48:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:48:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:48:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:48:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:48:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:48:17] local.INFO: DEBUG: GPS processor result {"connection_id":45970,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 10:48:17] local.INFO: GPS data processed {"connection_id":45970,"processed":0,"errors":0,"total":1} 
[2026-04-17 10:48:17] local.INFO: Acknowledgment sent {"connection_id":45970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:48:28] local.INFO: TCP Data received {"connection_id":45777,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:48:28] local.INFO: Processing buffer {"connection_id":45777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:48:28] local.INFO: Packet analysis {"connection_id":45777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:48:28] local.INFO: Extracted packet for processing {"connection_id":45777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:48:28] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776402993000,"timestamp_ms":1776402993000,"timestamp_seconds":1776402993,"priority":1,"record_length":96,"hex_timestamp":"0000019d99de8f68"} 
[2026-04-17 10:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:48: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-04-17 10:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-17 10:48:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45777,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:48:28] 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-04-17 10:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759164160001,"66":27843,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:48:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:48:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759164160001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":45777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:48:28] local.INFO: GPS data processed {"connection_id":45777,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:48:28] local.INFO: Acknowledgment sent {"connection_id":45777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:48:49] local.INFO: TCP Data received {"connection_id":45970,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99dd7df8012d24814006c8d738000e008a30..."} 
[2026-04-17 10:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99dd7df8012d24814006c8d738000e008a30..."} 
[2026-04-17 10:48:49] local.INFO: Processing buffer {"connection_id":45970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99dd7df8012d24814006c8d738000e008a30..."} 
[2026-04-17 10:48:49] local.INFO: Packet analysis {"connection_id":45970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99dd"} 
[2026-04-17 10:48:49] local.INFO: Extracted packet for processing {"connection_id":45970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99dd"} 
[2026-04-17 10:48:49] local.INFO: GPS Element Parsed {"raw_longitude":757367104,"raw_latitude":113825592,"longitude_deg":75.7367104,"latitude_deg":11.3825592,"altitude":14,"angle":138,"satellites":48,"speed":32,"hex_longitude":"2d248140","hex_latitude":"06c8d738","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:48:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:48:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,249,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 10:48:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776402923000,"timestamp_ms":1776402923000,"timestamp_seconds":1776402923,"priority":1,"record_length":96,"hex_timestamp":"0000019d99dd7df8"} 
[2026-04-17 10:48:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:48: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:48:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 10:48:49] 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-04-17 10:48:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:48:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:48:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:48:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:48:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:48:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45970,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:48:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:48:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:48:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:48:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"249":206,"2":56576,"24":32,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16]} 
[2026-04-17 10:48:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:48:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:48:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 10:48:49] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-17 10:48:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:48:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_249":206,"power_alt":56576,"ignition":32,"odometer":null}} 
[2026-04-17 10:48:49] local.INFO: DEBUG: GPS processor result {"connection_id":45970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20659,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:48:49] local.INFO: GPS data processed {"connection_id":45970,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:48:49] local.INFO: Acknowledgment sent {"connection_id":45970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:48:51] local.INFO: TCP Data received {"connection_id":45778,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:48:51] local.INFO: Processing buffer {"connection_id":45778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:48:51] local.INFO: IMEI packet received {"connection_id":45778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":45778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:48:56] local.INFO: TCP Data received {"connection_id":45778,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45778,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:48:56] local.INFO: Processing buffer {"connection_id":45778,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:48:56] local.INFO: IMEI packet received {"connection_id":45778,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":45778,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:48:57] local.INFO: TCP Data received {"connection_id":45778,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:48:57] local.INFO: Processing buffer {"connection_id":45778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:48:57] local.INFO: Packet analysis {"connection_id":45778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:48:57] local.INFO: Extracted packet for processing {"connection_id":45778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:48: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-04-17 10:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402993000,"timestamp_ms":1776402993000,"timestamp_seconds":1776402993,"priority":1,"record_length":96,"hex_timestamp":"0000019d99de8f68"} 
[2026-04-17 10:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:48: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-04-17 10: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-17 10:48:57] 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-04-17 10: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-04-17 10:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:48:57] 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-04-17 10:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759164160001,"66":27843,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:48:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759164160001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":45778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:48:57] local.INFO: GPS data processed {"connection_id":45778,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:48:57] local.INFO: Acknowledgment sent {"connection_id":45778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:49:10] local.INFO: TCP Data received {"connection_id":45779,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:49:10] local.INFO: Processing buffer {"connection_id":45779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:49:10] local.INFO: IMEI packet received {"connection_id":45779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":45779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:49:15] local.INFO: TCP Data received {"connection_id":45779,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:49:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:49:15] local.INFO: Processing buffer {"connection_id":45779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:49:15] local.INFO: IMEI packet received {"connection_id":45779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:49:15] local.INFO: IMEI acknowledgment sent {"connection_id":45779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:49:17] local.INFO: TCP Data received {"connection_id":45779,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ddc830012d24a74006c898c8000a009e30..."} 
[2026-04-17 10:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ddc830012d24a74006c898c8000a009e30..."} 
[2026-04-17 10:49:17] local.INFO: Processing buffer {"connection_id":45779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ddc830012d24a74006c898c8000a009e30..."} 
[2026-04-17 10:49:17] local.INFO: Packet analysis {"connection_id":45779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99dd"} 
[2026-04-17 10:49:17] local.INFO: Extracted packet for processing {"connection_id":45779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99dd"} 
[2026-04-17 10:49:17] local.INFO: GPS Element Parsed {"raw_longitude":757376832,"raw_latitude":113809608,"longitude_deg":75.7376832,"latitude_deg":11.3809608,"altitude":10,"angle":158,"satellites":48,"speed":44,"hex_longitude":"2d24a740","hex_latitude":"06c898c8","is_valid_coordinates":true} 
[2026-04-17 10:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:49:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759148288001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:49:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:49:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2630454055244609536,"note":"Value kept but may cause issues"} 
[2026-04-17 10:49:17] 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-04-17 10:49:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776402942000,"timestamp_ms":1776402942000,"timestamp_seconds":1776402942,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ddc830"} 
[2026-04-17 10:49:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:49: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-04-17 10:49:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 10:49:17] 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-04-17 10:49:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:49:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:49:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:49:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:49:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:49:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:49:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:49:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:49:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:49:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759148288001,"66":28398,"249":206,"2":56576,"24":44,"16":106618783551979520,"45":2630454055244609536},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-04-17 10:49:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:49:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:49:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759148288001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:49:17] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-17 10:49:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:49:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2630454055244609536,"description":"Unknown IO ID 45"} 
[2026-04-17 10:49:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759148288001,"power":28398,"unknown_249":206,"power_alt":56576,"ignition":44,"odometer":null,"unknown_45":2630454055244609536}} 
[2026-04-17 10:49:17] local.INFO: DEBUG: GPS processor result {"connection_id":45779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20661,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:49:17] local.INFO: GPS data processed {"connection_id":45779,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:49:17] local.INFO: Acknowledgment sent {"connection_id":45779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:49:18] local.INFO: TCP Data received {"connection_id":45779,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99de1a38012d24c10006c85040000500a12f..."} 
[2026-04-17 10:49:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99de1a38012d24c10006c85040000500a12f..."} 
[2026-04-17 10:49:18] local.INFO: Processing buffer {"connection_id":45779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99de1a38012d24c10006c85040000500a12f..."} 
[2026-04-17 10:49:18] local.INFO: Packet analysis {"connection_id":45779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:49:18] local.INFO: Extracted packet for processing {"connection_id":45779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:49:18] local.INFO: GPS Element Parsed {"raw_longitude":757383424,"raw_latitude":113791040,"longitude_deg":75.7383424,"latitude_deg":11.379104,"altitude":5,"angle":161,"satellites":47,"speed":0,"hex_longitude":"2d24c100","hex_latitude":"06c85040","is_valid_coordinates":true} 
[2026-04-17 10:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:49:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759153152001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:49:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:49:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2641150104355522560,"note":"Value kept but may cause issues"} 
[2026-04-17 10:49:18] 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-04-17 10:49:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776402963000,"timestamp_ms":1776402963000,"timestamp_seconds":1776402963,"priority":1,"record_length":96,"hex_timestamp":"0000019d99de1a38"} 
[2026-04-17 10:49:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:49:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:49:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 10:49:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:49:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:49:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:49:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:49:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:49:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:49:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:49:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:49:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:49:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:49:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759153152001,"66":28430,"249":206,"2":56576,"24":0,"16":106618783551979520,"45":2641150104355522560},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,2,24,16,45]} 
[2026-04-17 10:49:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:49:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:49:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759153152001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:49:18] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-17 10:49:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:49:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2641150104355522560,"description":"Unknown IO ID 45"} 
[2026-04-17 10:49:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759153152001,"power":28430,"unknown_249":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2641150104355522560}} 
[2026-04-17 10:49:18] local.INFO: DEBUG: GPS processor result {"connection_id":45779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20662,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:49:18] local.INFO: GPS data processed {"connection_id":45779,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:49:18] local.INFO: Acknowledgment sent {"connection_id":45779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:49:29] local.INFO: TCP Data received {"connection_id":45778,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:49:29] local.INFO: Processing buffer {"connection_id":45778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:49:29] local.INFO: Packet analysis {"connection_id":45778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:49:29] local.INFO: Extracted packet for processing {"connection_id":45778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:49:29] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:49: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-04-17 10:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:49:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776402993000,"timestamp_ms":1776402993000,"timestamp_seconds":1776402993,"priority":1,"record_length":96,"hex_timestamp":"0000019d99de8f68"} 
[2026-04-17 10:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:49: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-04-17 10: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-17 10:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45778,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:49: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-04-17 10:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759164160001,"66":27843,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:49:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:49:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759164160001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:49:29] local.INFO: DEBUG: GPS processor result {"connection_id":45778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:49:29] local.INFO: GPS data processed {"connection_id":45778,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:49:29] local.INFO: Acknowledgment sent {"connection_id":45778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:49:50] local.INFO: TCP Data received {"connection_id":45779,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99df1ff00100000000000000000000000000..."} 
[2026-04-17 10:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99df1ff00100000000000000000000000000..."} 
[2026-04-17 10:49:50] local.INFO: Processing buffer {"connection_id":45779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99df1ff00100000000000000000000000000..."} 
[2026-04-17 10:49:50] local.INFO: Packet analysis {"connection_id":45779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99df"} 
[2026-04-17 10:49:50] local.INFO: Extracted packet for processing {"connection_id":45779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99df"} 
[2026-04-17 10:49:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:49:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759158528001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:49:50] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 10:49:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:49:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2648398085001068544,"note":"Value kept but may cause issues"} 
[2026-04-17 10:49:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 10:49:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776403030000,"timestamp_ms":1776403030000,"timestamp_seconds":1776403030,"priority":1,"record_length":96,"hex_timestamp":"0000019d99df1ff0"} 
[2026-04-17 10:49:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:49: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-04-17 10: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 10:49:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:49:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:49:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:49:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:49:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:49:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45779,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:49:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:49:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:49:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:49:50] local.INFO: DEBUG: GPS processor result {"connection_id":45779,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 10:49:50] local.INFO: GPS data processed {"connection_id":45779,"processed":0,"errors":0,"total":1} 
[2026-04-17 10:49:50] local.INFO: Acknowledgment sent {"connection_id":45779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:49:51] local.INFO: TCP Data received {"connection_id":46537,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:49:51] local.INFO: Processing buffer {"connection_id":46537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:49:51] local.INFO: IMEI packet received {"connection_id":46537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":46537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:49:56] local.INFO: TCP Data received {"connection_id":46537,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46537,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:49:56] local.INFO: Processing buffer {"connection_id":46537,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:49:56] local.INFO: IMEI packet received {"connection_id":46537,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":46537,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:49:57] local.INFO: TCP Data received {"connection_id":46537,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:49:57] local.INFO: Processing buffer {"connection_id":46537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:49:57] local.INFO: Packet analysis {"connection_id":46537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:49:57] local.INFO: Extracted packet for processing {"connection_id":46537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:49:57] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:49: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-04-17 10:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402993000,"timestamp_ms":1776402993000,"timestamp_seconds":1776402993,"priority":1,"record_length":96,"hex_timestamp":"0000019d99de8f68"} 
[2026-04-17 10:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:49: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-04-17 10:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-17 10:49:57] 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-04-17 10:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:49:57] 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-04-17 10:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759164160001,"66":27843,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:49:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:49:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759164160001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":46537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:49:57] local.INFO: GPS data processed {"connection_id":46537,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:49:57] local.INFO: Acknowledgment sent {"connection_id":46537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:50:02] local.INFO: TCP Data received {"connection_id":45972,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:50:02] local.INFO: Processing buffer {"connection_id":45972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:50:02] local.INFO: IMEI packet received {"connection_id":45972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:50:02] local.INFO: IMEI acknowledgment sent {"connection_id":45972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:50:05] local.INFO: TCP Data received {"connection_id":45972,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:50:05] local.INFO: Processing buffer {"connection_id":45972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:50:05] local.INFO: IMEI packet received {"connection_id":45972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":45972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:50:10] local.INFO: TCP Data received {"connection_id":45972,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:50:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:50:10] local.INFO: Processing buffer {"connection_id":45972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:50:10] local.INFO: IMEI packet received {"connection_id":45972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:50:10] local.INFO: IMEI acknowledgment sent {"connection_id":45972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:50:12] local.INFO: TCP Data received {"connection_id":45972,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99de9350012d24ee8006c7bda8000a00a92d..."} 
[2026-04-17 10:50:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99de9350012d24ee8006c7bda8000a00a92d..."} 
[2026-04-17 10:50:12] local.INFO: Processing buffer {"connection_id":45972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99de9350012d24ee8006c7bda8000a00a92d..."} 
[2026-04-17 10:50:12] local.INFO: Packet analysis {"connection_id":45972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:50:12] local.INFO: Extracted packet for processing {"connection_id":45972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:50:12] local.INFO: GPS Element Parsed {"raw_longitude":757395072,"raw_latitude":113753512,"longitude_deg":75.7395072,"latitude_deg":11.3753512,"altitude":10,"angle":169,"satellites":45,"speed":38,"hex_longitude":"2d24ee80","hex_latitude":"06c7bda8","is_valid_coordinates":true} 
[2026-04-17 10:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:50:12] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 10:50:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:50:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,200,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 10:50:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776402994000,"timestamp_ms":1776402994000,"timestamp_seconds":1776402994,"priority":1,"record_length":96,"hex_timestamp":"0000019d99de9350"} 
[2026-04-17 10:50:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:50:12] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:50:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 10:50:12] 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-04-17 10:50:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:50:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:50:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:50:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:50:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:50:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:50:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:50:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:50:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:50:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28398,"200":0,"2":56576,"24":38,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,2,24,16]} 
[2026-04-17 10:50:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:50:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:50:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 10:50:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:50:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28398,"gsm_signal":0,"power_alt":56576,"ignition":38,"odometer":null}} 
[2026-04-17 10:50:12] local.INFO: DEBUG: GPS processor result {"connection_id":45972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20665,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:50:12] local.INFO: GPS data processed {"connection_id":45972,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:50:12] local.INFO: Acknowledgment sent {"connection_id":45972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:50:28] local.INFO: TCP Data received {"connection_id":46537,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:50:28] local.INFO: Processing buffer {"connection_id":46537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:50:28] local.INFO: Packet analysis {"connection_id":46537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:50:28] local.INFO: Extracted packet for processing {"connection_id":46537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776402993000,"timestamp_ms":1776402993000,"timestamp_seconds":1776402993,"priority":1,"record_length":96,"hex_timestamp":"0000019d99de8f68"} 
[2026-04-17 10:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:50: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-04-17 10: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-17 10:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46537,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:50:28] 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-04-17 10:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759164160001,"66":27843,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:50:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759164160001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":46537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:50:28] local.INFO: GPS data processed {"connection_id":46537,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:50:28] local.INFO: Acknowledgment sent {"connection_id":46537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:50:45] local.INFO: TCP Data received {"connection_id":45972,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99dee558012d24f58006c77de8000c00ad2f..."} 
[2026-04-17 10:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99dee558012d24f58006c77de8000c00ad2f..."} 
[2026-04-17 10:50:45] local.INFO: Processing buffer {"connection_id":45972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99dee558012d24f58006c77de8000c00ad2f..."} 
[2026-04-17 10:50:45] local.INFO: Packet analysis {"connection_id":45972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:50:45] local.INFO: Extracted packet for processing {"connection_id":45972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:50:45] local.INFO: GPS Element Parsed {"raw_longitude":757396864,"raw_latitude":113737192,"longitude_deg":75.7396864,"latitude_deg":11.3737192,"altitude":12,"angle":173,"satellites":47,"speed":0,"hex_longitude":"2d24f580","hex_latitude":"06c77de8","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759166464001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:50:45] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 10:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2661205196431796224,"note":"Value kept but may cause issues"} 
[2026-04-17 10:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 10:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776403015000,"timestamp_ms":1776403015000,"timestamp_seconds":1776403015,"priority":1,"record_length":96,"hex_timestamp":"0000019d99dee558"} 
[2026-04-17 10:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:50:45] 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-04-17 10: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 10:50:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45972,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759166464001,"66":28398,"200":0,"2":56576,"24":0,"16":106618783551979520,"45":2661205196431796224},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,2,24,16,45]} 
[2026-04-17 10:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759166464001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2661205196431796224,"description":"Unknown IO ID 45"} 
[2026-04-17 10:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759166464001,"power":28398,"gsm_signal":0,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2661205196431796224}} 
[2026-04-17 10:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":45972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20667,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:50:45] local.INFO: GPS data processed {"connection_id":45972,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:50:45] local.INFO: Acknowledgment sent {"connection_id":45972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:50:51] local.INFO: TCP Data received {"connection_id":45700,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:50:51] local.INFO: Processing buffer {"connection_id":45700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:50:51] local.INFO: IMEI packet received {"connection_id":45700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":45700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:50:56] local.INFO: TCP Data received {"connection_id":45700,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:50:56] local.INFO: Processing buffer {"connection_id":45700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:50:56] local.INFO: IMEI packet received {"connection_id":45700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":45700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:50:57] local.INFO: TCP Data received {"connection_id":45700,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:50:57] local.INFO: Processing buffer {"connection_id":45700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:50:57] local.INFO: Packet analysis {"connection_id":45700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:50:57] local.INFO: Extracted packet for processing {"connection_id":45700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:50:57] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:50: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-04-17 10:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776402993000,"timestamp_ms":1776402993000,"timestamp_seconds":1776402993,"priority":1,"record_length":96,"hex_timestamp":"0000019d99de8f68"} 
[2026-04-17 10:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:50: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-04-17 10: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-17 10:50:57] 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-04-17 10: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-04-17 10:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759164160001,"66":27843,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:50:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:50:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759164160001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":45700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:50:57] local.INFO: GPS data processed {"connection_id":45700,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:50:57] local.INFO: Acknowledgment sent {"connection_id":45700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:51:05] local.INFO: TCP Data received {"connection_id":45780,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:51:05] local.INFO: Processing buffer {"connection_id":45780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:51:05] local.INFO: IMEI packet received {"connection_id":45780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":45780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:51:06] local.INFO: TCP Data received {"connection_id":45780,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:51:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:51:06] local.INFO: Processing buffer {"connection_id":45780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:51:06] local.INFO: IMEI packet received {"connection_id":45780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:51:06] local.INFO: IMEI acknowledgment sent {"connection_id":45780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:51:10] local.INFO: TCP Data received {"connection_id":45780,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45780,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:51:10] local.INFO: Processing buffer {"connection_id":45780,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:51:10] local.INFO: IMEI packet received {"connection_id":45780,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":45780,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:51:13] local.INFO: TCP Data received {"connection_id":45780,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99df3760012d24ff4006c74448001000a32e..."} 
[2026-04-17 10:51:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99df3760012d24ff4006c74448001000a32e..."} 
[2026-04-17 10:51:13] local.INFO: Processing buffer {"connection_id":45780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99df3760012d24ff4006c74448001000a32e..."} 
[2026-04-17 10:51:13] local.INFO: Packet analysis {"connection_id":45780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99df"} 
[2026-04-17 10:51:13] local.INFO: Extracted packet for processing {"connection_id":45780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99df"} 
[2026-04-17 10:51:13] local.INFO: GPS Element Parsed {"raw_longitude":757399360,"raw_latitude":113722440,"longitude_deg":75.739936,"latitude_deg":11.372244,"altitude":16,"angle":163,"satellites":46,"speed":0,"hex_longitude":"2d24ff40","hex_latitude":"06c74448","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:51:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759171840001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:51:13] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 10:51:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:51:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2663175521264592896,"note":"Value kept but may cause issues"} 
[2026-04-17 10:51:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 10:51:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776403036000,"timestamp_ms":1776403036000,"timestamp_seconds":1776403036,"priority":1,"record_length":96,"hex_timestamp":"0000019d99df3760"} 
[2026-04-17 10:51:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:51:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 10:51:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:51:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:51:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:51:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:51:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:51:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:51:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:51:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:51:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:51:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759171840001,"66":28137,"200":0,"2":56576,"24":0,"16":106618783551979520,"45":2663175521264592896},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,2,24,16,45]} 
[2026-04-17 10:51:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:51:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:51:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759171840001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:51:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:51:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2663175521264592896,"description":"Unknown IO ID 45"} 
[2026-04-17 10:51:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759171840001,"power":28137,"gsm_signal":0,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2663175521264592896}} 
[2026-04-17 10:51:13] local.INFO: DEBUG: GPS processor result {"connection_id":45780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20669,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:51:13] local.INFO: GPS data processed {"connection_id":45780,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:51:13] local.INFO: Acknowledgment sent {"connection_id":45780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:51:25] local.INFO: TCP Data received {"connection_id":46538,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:51:25] local.INFO: Processing buffer {"connection_id":46538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:51:25] local.INFO: IMEI packet received {"connection_id":46538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:51:25] local.INFO: IMEI acknowledgment sent {"connection_id":46538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:51:26] local.INFO: TCP Data received {"connection_id":46538,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46538,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:51:26] local.INFO: Processing buffer {"connection_id":46538,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:51:26] local.INFO: IMEI packet received {"connection_id":46538,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":46538,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:51:28] local.INFO: TCP Data received {"connection_id":45700,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:51:28] local.INFO: Processing buffer {"connection_id":45700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:51:28] local.INFO: Packet analysis {"connection_id":45700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:51:28] local.INFO: Extracted packet for processing {"connection_id":45700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:51:28] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776402993000,"timestamp_ms":1776402993000,"timestamp_seconds":1776402993,"priority":1,"record_length":96,"hex_timestamp":"0000019d99de8f68"} 
[2026-04-17 10:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:51: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-04-17 10:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-17 10:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:51:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:51:28] 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-04-17 10:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759164160001,"66":27843,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:51:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:51:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759164160001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":45700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:51:28] local.INFO: GPS data processed {"connection_id":45700,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:51:28] local.INFO: Acknowledgment sent {"connection_id":45700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:51:46] local.INFO: TCP Data received {"connection_id":45780,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e22178012d2639c006c54b70000d008c31..."} 
[2026-04-17 10:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e22178012d2639c006c54b70000d008c31..."} 
[2026-04-17 10:51:46] local.INFO: Processing buffer {"connection_id":45780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e22178012d2639c006c54b70000d008c31..."} 
[2026-04-17 10:51:46] local.INFO: Packet analysis {"connection_id":45780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e2"} 
[2026-04-17 10:51:46] local.INFO: Extracted packet for processing {"connection_id":45780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e2"} 
[2026-04-17 10:51:46] local.INFO: GPS Element Parsed {"raw_longitude":757479872,"raw_latitude":113593200,"longitude_deg":75.7479872,"latitude_deg":11.35932,"altitude":13,"angle":140,"satellites":49,"speed":0,"hex_longitude":"2d2639c0","hex_latitude":"06c54b70","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:51:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759220736001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:51:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:51:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2742551464663359488,"note":"Value kept but may cause issues"} 
[2026-04-17 10:51:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,63,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:51:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776403227000,"timestamp_ms":1776403227000,"timestamp_seconds":1776403227,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e22178"} 
[2026-04-17 10:51:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:51: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-04-17 10: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 10:51:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:51:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:51:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:51:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:51:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:51:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45780,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:51:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:51:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:51:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:51:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759220736001,"66":28354,"63":206,"2":56576,"24":0,"16":106618783551979520,"45":2742551464663359488},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,63,2,24,16,45]} 
[2026-04-17 10:51:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:51:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:51:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759220736001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:51:46] local.INFO: Unknown IO ID detected {"io_id":63,"value":206,"description":"Unknown IO ID 63"} 
[2026-04-17 10:51:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:51:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2742551464663359488,"description":"Unknown IO ID 45"} 
[2026-04-17 10:51:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759220736001,"power":28354,"unknown_63":206,"power_alt":56576,"ignition":0,"odometer":null,"unknown_45":2742551464663359488}} 
[2026-04-17 10:51:46] local.INFO: DEBUG: GPS processor result {"connection_id":45780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20671,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:51:46] local.INFO: GPS data processed {"connection_id":45780,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:51:46] local.INFO: Acknowledgment sent {"connection_id":45780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:51:56] local.INFO: TCP Data received {"connection_id":45701,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:51:56] local.INFO: Processing buffer {"connection_id":45701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:51:56] local.INFO: IMEI packet received {"connection_id":45701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":45701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:52:01] local.INFO: TCP Data received {"connection_id":45701,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:52:01] local.INFO: Processing buffer {"connection_id":45701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:52:01] local.INFO: IMEI packet received {"connection_id":45701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:52:01] local.INFO: IMEI acknowledgment sent {"connection_id":45701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:52:03] local.INFO: TCP Data received {"connection_id":45701,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:52:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:52:03] local.INFO: Processing buffer {"connection_id":45701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:52:03] local.INFO: Packet analysis {"connection_id":45701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:52:03] local.INFO: Extracted packet for processing {"connection_id":45701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:52:03] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:52: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-04-17 10:52:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:52:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:52:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:52:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:52:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776402993000,"timestamp_ms":1776402993000,"timestamp_seconds":1776402993,"priority":1,"record_length":96,"hex_timestamp":"0000019d99de8f68"} 
[2026-04-17 10:52:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:52: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-04-17 10: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-17 10:52:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:52:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:52:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:52:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:52:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:52:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:52:03] 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-04-17 10:52:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:52:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:52:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759164160001,"66":27843,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:52:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:52:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:52:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:52:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:52:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:52:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:52:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:52:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759164160001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:52:03] local.INFO: DEBUG: GPS processor result {"connection_id":45701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:52:03] local.INFO: GPS data processed {"connection_id":45701,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:52:03] local.INFO: Acknowledgment sent {"connection_id":45701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:52:07] local.INFO: TCP Data received {"connection_id":45701,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:52:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:52:07] local.INFO: Processing buffer {"connection_id":45701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99de8f68012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:52:07] local.INFO: Packet analysis {"connection_id":45701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:52:07] local.INFO: Extracted packet for processing {"connection_id":45701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99de"} 
[2026-04-17 10:52:07] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:52: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-04-17 10:52:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:52:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:52:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:52:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:52:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776402993000,"timestamp_ms":1776402993000,"timestamp_seconds":1776402993,"priority":1,"record_length":96,"hex_timestamp":"0000019d99de8f68"} 
[2026-04-17 10:52:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:52:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-17 10:52:07] 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-04-17 10: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-04-17 10:52:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:52:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:52:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:52:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:52:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:52:07] 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-04-17 10:52:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:52:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:52:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759164160001,"66":27843,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:52:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:52:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:52:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:52:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:52:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:52:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:52:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:52:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759164160001,"power":27843,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:52:07] local.INFO: DEBUG: GPS processor result {"connection_id":45701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:52:07] local.INFO: GPS data processed {"connection_id":45701,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:52:07] local.INFO: Acknowledgment sent {"connection_id":45701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:52:29] local.INFO: TCP Data received {"connection_id":46538,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e1c3b8012d03c100070467f8000700cb1e..."} 
[2026-04-17 10:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e1c3b8012d03c100070467f8000700cb1e..."} 
[2026-04-17 10:52:29] local.INFO: Processing buffer {"connection_id":46538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e1c3b8012d03c100070467f8000700cb1e..."} 
[2026-04-17 10:52:29] local.INFO: Packet analysis {"connection_id":46538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e1"} 
[2026-04-17 10:52:29] local.INFO: Extracted packet for processing {"connection_id":46538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e1"} 
[2026-04-17 10:52:29] local.INFO: GPS Element Parsed {"raw_longitude":755220736,"raw_latitude":117729272,"longitude_deg":75.5220736,"latitude_deg":11.7729272,"altitude":7,"angle":203,"satellites":30,"speed":47,"hex_longitude":"2d03c100","hex_latitude":"070467f8","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:52:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759217664001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:52:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113335128855412736,"note":"Value kept but may cause issues"} 
[2026-04-17 10:52:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":273523338759682048,"note":"Value kept but may cause issues"} 
[2026-04-17 10:52:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:52:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776403203000,"timestamp_ms":1776403203000,"timestamp_seconds":1776403203,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e1c3b8"} 
[2026-04-17 10:52:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:52: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-04-17 10: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-17 10:52:29] 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-04-17 10: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-04-17 10:52:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:52:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:52:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:52:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:52:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46538,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:52:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:52:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:52:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:52:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759217664001,"66":14004,"40":206,"28":32256,"24":47,"16":113335128855412736,"45":273523338759682048},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,45]} 
[2026-04-17 10:52:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:52:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:52:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759217664001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:52:29] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-04-17 10:52:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:52:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113335128855412736,"km_value":113335128855412.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:52:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":273523338759682048,"description":"Unknown IO ID 45"} 
[2026-04-17 10:52:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759217664001,"power":14004,"unknown_40":206,"unknown_28":32256,"ignition":47,"odometer":null,"unknown_45":273523338759682048}} 
[2026-04-17 10:52:29] local.INFO: DEBUG: GPS processor result {"connection_id":46538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:52:29] local.INFO: GPS data processed {"connection_id":46538,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:52:29] local.INFO: Acknowledgment sent {"connection_id":46538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:52:51] local.INFO: TCP Data received {"connection_id":45702,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:52:51] local.INFO: Processing buffer {"connection_id":45702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:52:51] local.INFO: IMEI packet received {"connection_id":45702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":45702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:52:56] local.INFO: TCP Data received {"connection_id":45703,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:52:56] local.INFO: Processing buffer {"connection_id":45703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:52:56] local.INFO: IMEI packet received {"connection_id":45703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":45703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:52:56] local.INFO: TCP Data received {"connection_id":45702,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:52:56] local.INFO: Processing buffer {"connection_id":45702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:52:56] local.INFO: IMEI packet received {"connection_id":45702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":45702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:52:57] local.INFO: TCP Data received {"connection_id":45702,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e33ab8012d7f8fc005afd7f00000011725..."} 
[2026-04-17 10:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e33ab8012d7f8fc005afd7f00000011725..."} 
[2026-04-17 10:52:57] local.INFO: Processing buffer {"connection_id":45702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e33ab8012d7f8fc005afd7f00000011725..."} 
[2026-04-17 10:52:57] local.INFO: Packet analysis {"connection_id":45702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e3"} 
[2026-04-17 10:52:57] local.INFO: Extracted packet for processing {"connection_id":45702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e3"} 
[2026-04-17 10:52:57] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95410160,"longitude_deg":76.3334592,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759166208001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776403299000,"timestamp_ms":1776403299000,"timestamp_seconds":1776403299,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e33ab8"} 
[2026-04-17 10:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 10:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759166208001,"66":25691,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759166208001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:52:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:52:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759166208001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":45702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:52:57] local.INFO: GPS data processed {"connection_id":45702,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:52:57] local.INFO: Acknowledgment sent {"connection_id":45702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:52:58] local.INFO: TCP Data received {"connection_id":45703,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45703,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:52:58] local.INFO: Processing buffer {"connection_id":45703,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:52:58] local.INFO: IMEI packet received {"connection_id":45703,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:52:58] local.INFO: IMEI acknowledgment sent {"connection_id":45703,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:53:01] local.INFO: TCP Data received {"connection_id":45703,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e30408012d02d580070399d0000a01181f..."} 
[2026-04-17 10:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e30408012d02d580070399d0000a01181f..."} 
[2026-04-17 10:53:01] local.INFO: Processing buffer {"connection_id":45703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e30408012d02d580070399d0000a01181f..."} 
[2026-04-17 10:53:01] local.INFO: Packet analysis {"connection_id":45703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e3"} 
[2026-04-17 10:53:01] local.INFO: Extracted packet for processing {"connection_id":45703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e3"} 
[2026-04-17 10:53:01] local.INFO: GPS Element Parsed {"raw_longitude":755160448,"raw_latitude":117676496,"longitude_deg":75.5160448,"latitude_deg":11.7676496,"altitude":10,"angle":280,"satellites":31,"speed":42,"hex_longitude":"2d02d580","hex_latitude":"070399d0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759238656001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113339462477414400,"note":"Value kept but may cause issues"} 
[2026-04-17 10:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":214976543587602432,"note":"Value kept but may cause issues"} 
[2026-04-17 10:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776403285000,"timestamp_ms":1776403285000,"timestamp_seconds":1776403285,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e30408"} 
[2026-04-17 10:53:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:53:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 10:53:01] 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-04-17 10: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-04-17 10:53:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45703,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759238656001,"66":13993,"40":206,"28":32256,"24":42,"16":113339462477414400,"45":214976543587602432},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,45]} 
[2026-04-17 10:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759238656001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:53:01] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-04-17 10:53:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113339462477414400,"km_value":113339462477414.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":214976543587602432,"description":"Unknown IO ID 45"} 
[2026-04-17 10:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759238656001,"power":13993,"unknown_40":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_45":214976543587602432}} 
[2026-04-17 10:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":45703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:53:01] local.INFO: GPS data processed {"connection_id":45703,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:53:01] local.INFO: Acknowledgment sent {"connection_id":45703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:53:05] local.INFO: TCP Data received {"connection_id":46539,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:53:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:53:05] local.INFO: Processing buffer {"connection_id":46539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:53:05] local.INFO: IMEI packet received {"connection_id":46539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:53:05] local.INFO: IMEI acknowledgment sent {"connection_id":46539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:53:06] local.INFO: TCP Data received {"connection_id":46539,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:53:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46539,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:53:06] local.INFO: Processing buffer {"connection_id":46539,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:53:06] local.INFO: IMEI packet received {"connection_id":46539,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:53:06] local.INFO: IMEI acknowledgment sent {"connection_id":46539,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:53:21] local.INFO: TCP Data received {"connection_id":45704,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:53:21] local.INFO: Processing buffer {"connection_id":45704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:53:21] local.INFO: IMEI packet received {"connection_id":45704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":45704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:53:22] local.INFO: TCP Data received {"connection_id":45704,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:53:22] local.INFO: Processing buffer {"connection_id":45704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:53:22] local.INFO: IMEI packet received {"connection_id":45704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":45704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:53:27] local.INFO: TCP Data received {"connection_id":45704,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45704,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:53:27] local.INFO: Processing buffer {"connection_id":45704,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:53:27] local.INFO: IMEI packet received {"connection_id":45704,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":45704,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:53:28] local.INFO: TCP Data received {"connection_id":45702,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e33ab8012d7f8fc005afd7f00000011725..."} 
[2026-04-17 10:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e33ab8012d7f8fc005afd7f00000011725..."} 
[2026-04-17 10:53:28] local.INFO: Processing buffer {"connection_id":45702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e33ab8012d7f8fc005afd7f00000011725..."} 
[2026-04-17 10:53:28] local.INFO: Packet analysis {"connection_id":45702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e3"} 
[2026-04-17 10:53:28] local.INFO: Extracted packet for processing {"connection_id":45702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e3"} 
[2026-04-17 10:53:28] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95410160,"longitude_deg":76.3334592,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759166208001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776403299000,"timestamp_ms":1776403299000,"timestamp_seconds":1776403299,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e33ab8"} 
[2026-04-17 10:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 10:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2493,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759166208001,"66":25691,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759166208001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:53:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:53:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759166208001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":45702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:53:28] local.INFO: GPS data processed {"connection_id":45702,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:53:28] local.INFO: Acknowledgment sent {"connection_id":45702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:53:33] local.INFO: TCP Data received {"connection_id":45704,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e31790012d02bfc007039bd0000a010a1f..."} 
[2026-04-17 10:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e31790012d02bfc007039bd0000a010a1f..."} 
[2026-04-17 10:53:33] local.INFO: Processing buffer {"connection_id":45704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e31790012d02bfc007039bd0000a010a1f..."} 
[2026-04-17 10:53:33] local.INFO: Packet analysis {"connection_id":45704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e3"} 
[2026-04-17 10:53:33] local.INFO: Extracted packet for processing {"connection_id":45704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e3"} 
[2026-04-17 10:53:33] local.INFO: GPS Element Parsed {"raw_longitude":755154880,"raw_latitude":117677008,"longitude_deg":75.515488,"latitude_deg":11.7677008,"altitude":10,"angle":266,"satellites":31,"speed":45,"hex_longitude":"2d02bfc0","hex_latitude":"07039bd0","is_valid_coordinates":true} 
[2026-04-17 10:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759240960001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113339728765386752,"note":"Value kept but may cause issues"} 
[2026-04-17 10:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":204210125728763904,"note":"Value kept but may cause issues"} 
[2026-04-17 10:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776403290000,"timestamp_ms":1776403290000,"timestamp_seconds":1776403290,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e31790"} 
[2026-04-17 10:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:53: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-04-17 10:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:53:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:53:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759240960001,"66":13993,"40":206,"28":32256,"24":45,"16":113339728765386752,"45":204210125728763904},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,45]} 
[2026-04-17 10:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759240960001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:53:33] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-04-17 10:53:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113339728765386752,"km_value":113339728765386.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":204210125728763904,"description":"Unknown IO ID 45"} 
[2026-04-17 10:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759240960001,"power":13993,"unknown_40":206,"unknown_28":32256,"ignition":45,"odometer":null,"unknown_45":204210125728763904}} 
[2026-04-17 10:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":45704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:53:33] local.INFO: GPS data processed {"connection_id":45704,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:53:33] local.INFO: Acknowledgment sent {"connection_id":45704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:53:42] local.INFO: TCP Data received {"connection_id":45704,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e32348012d02b28007039900000a00fc1f..."} 
[2026-04-17 10:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45704,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e32348012d02b28007039900000a00fc1f..."} 
[2026-04-17 10:53:42] local.INFO: Processing buffer {"connection_id":45704,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e32348012d02b28007039900000a00fc1f..."} 
[2026-04-17 10:53:42] local.INFO: Packet analysis {"connection_id":45704,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e3"} 
[2026-04-17 10:53:42] local.INFO: Extracted packet for processing {"connection_id":45704,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e3"} 
[2026-04-17 10:53:42] local.INFO: GPS Element Parsed {"raw_longitude":755151488,"raw_latitude":117676288,"longitude_deg":75.5151488,"latitude_deg":11.7676288,"altitude":10,"angle":252,"satellites":31,"speed":43,"hex_longitude":"2d02b280","hex_latitude":"07039900","is_valid_coordinates":true} 
[2026-04-17 10:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:53:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759242240001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:53:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113339891974144000,"note":"Value kept but may cause issues"} 
[2026-04-17 10:53:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":198088044985438208,"note":"Value kept but may cause issues"} 
[2026-04-17 10:53:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:53:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776403293000,"timestamp_ms":1776403293000,"timestamp_seconds":1776403293,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e32348"} 
[2026-04-17 10:53:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:53: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-04-17 10:53:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:53:42] 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-04-17 10:53:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:53:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:53:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:53:42] local.INFO: Teltonika packet parsed successfully {"connection_id":45704,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:53:42] local.INFO: Passing IMEI to GPS processor {"connection_id":45704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:53:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":45704,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:53:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:53:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:53:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:53:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759242240001,"66":13993,"40":206,"28":32256,"24":43,"16":113339891974144000,"45":198088044985438208},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,45]} 
[2026-04-17 10:53:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:53:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:53:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759242240001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:53:42] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-04-17 10:53:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:53:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113339891974144000,"km_value":113339891974144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:53:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":198088044985438208,"description":"Unknown IO ID 45"} 
[2026-04-17 10:53:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759242240001,"power":13993,"unknown_40":206,"unknown_28":32256,"ignition":43,"odometer":null,"unknown_45":198088044985438208}} 
[2026-04-17 10:53:42] local.INFO: DEBUG: GPS processor result {"connection_id":45704,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:53:42] local.INFO: GPS data processed {"connection_id":45704,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:53:42] local.INFO: Acknowledgment sent {"connection_id":45704,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:53:52] local.INFO: TCP Data received {"connection_id":45973,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:53:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:53:52] local.INFO: Processing buffer {"connection_id":45973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:53:52] local.INFO: IMEI packet received {"connection_id":45973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:53:52] local.INFO: IMEI acknowledgment sent {"connection_id":45973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:53:56] local.INFO: TCP Data received {"connection_id":45973,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45973,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:53:56] local.INFO: Processing buffer {"connection_id":45973,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:53:56] local.INFO: IMEI packet received {"connection_id":45973,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":45973,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:53:57] local.INFO: TCP Data received {"connection_id":45973,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e49a48012d7f8fc005afd7f00000011723..."} 
[2026-04-17 10:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e49a48012d7f8fc005afd7f00000011723..."} 
[2026-04-17 10:53:57] local.INFO: Processing buffer {"connection_id":45973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e49a48012d7f8fc005afd7f00000011723..."} 
[2026-04-17 10:53:57] local.INFO: Packet analysis {"connection_id":45973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e4"} 
[2026-04-17 10:53:57] local.INFO: Extracted packet for processing {"connection_id":45973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e4"} 
[2026-04-17 10:53:57] local.INFO: GPS Element Parsed {"raw_longitude":763334592,"raw_latitude":95410160,"longitude_deg":76.3334592,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":35,"speed":0,"hex_longitude":"2d7f8fc0","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:53: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-04-17 10:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759244544001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144005632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776403389000,"timestamp_ms":1776403389000,"timestamp_seconds":1776403389,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e49a48"} 
[2026-04-17 10:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:53:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 10:53:57] 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-04-17 10:53:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759244544001,"66":25625,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191776495144005632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759244544001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:53:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:53:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144005632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759244544001,"power":25625,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144005632}} 
[2026-04-17 10:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":45973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:53:57] local.INFO: GPS data processed {"connection_id":45973,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:53:57] local.INFO: Acknowledgment sent {"connection_id":45973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:54:18] local.INFO: TCP Data received {"connection_id":45782,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:54:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:54:18] local.INFO: Processing buffer {"connection_id":45782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:54:18] local.INFO: IMEI packet received {"connection_id":45782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:54:18] local.INFO: IMEI acknowledgment sent {"connection_id":45782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:54:19] local.INFO: TCP Data received {"connection_id":45782,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:54:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45782,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:54:19] local.INFO: Processing buffer {"connection_id":45782,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:54:19] local.INFO: IMEI packet received {"connection_id":45782,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:54:19] local.INFO: IMEI acknowledgment sent {"connection_id":45782,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:54:21] local.INFO: TCP Data received {"connection_id":45782,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e4a600012d0203800702ea18000800c50f..."} 
[2026-04-17 10:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e4a600012d0203800702ea18000800c50f..."} 
[2026-04-17 10:54:21] local.INFO: Processing buffer {"connection_id":45782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e4a600012d0203800702ea18000800c50f..."} 
[2026-04-17 10:54:21] local.INFO: Packet analysis {"connection_id":45782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e4"} 
[2026-04-17 10:54:21] local.INFO: Extracted packet for processing {"connection_id":45782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e4"} 
[2026-04-17 10:54:21] local.INFO: GPS Element Parsed {"raw_longitude":755106688,"raw_latitude":117631512,"longitude_deg":75.5106688,"latitude_deg":11.7631512,"altitude":8,"angle":197,"satellites":15,"speed":9,"hex_longitude":"2d020380","hex_latitude":"0702ea18","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:54:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759267840001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:54:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113343121789550592,"note":"Value kept but may cause issues"} 
[2026-04-17 10:54:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":145241118096402432,"note":"Value kept but may cause issues"} 
[2026-04-17 10:54:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:54:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776403392000,"timestamp_ms":1776403392000,"timestamp_seconds":1776403392,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e4a600"} 
[2026-04-17 10:54:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:54: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-04-17 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:54:21] 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-04-17 10: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-04-17 10:54:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:54:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:54:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:54:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:54:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:54:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:54:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:54:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:54:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759267840001,"66":13961,"34":206,"28":32256,"24":9,"16":113343121789550592,"45":145241118096402432},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,45]} 
[2026-04-17 10:54:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:54:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:54:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759267840001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:54:21] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-04-17 10:54:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:54:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113343121789550592,"km_value":113343121789550.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:54:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":145241118096402432,"description":"Unknown IO ID 45"} 
[2026-04-17 10:54:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759267840001,"power":13961,"unknown_34":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":145241118096402432}} 
[2026-04-17 10:54:21] local.INFO: DEBUG: GPS processor result {"connection_id":45782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:54:21] local.INFO: GPS data processed {"connection_id":45782,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:54:21] local.INFO: Acknowledgment sent {"connection_id":45782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:54:27] local.INFO: TCP Data received {"connection_id":45782,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e4c540012d01fd800702dde8000300d319..."} 
[2026-04-17 10:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e4c540012d01fd800702dde8000300d319..."} 
[2026-04-17 10:54:27] local.INFO: Processing buffer {"connection_id":45782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e4c540012d01fd800702dde8000300d319..."} 
[2026-04-17 10:54:27] local.INFO: Packet analysis {"connection_id":45782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e4"} 
[2026-04-17 10:54:27] local.INFO: Extracted packet for processing {"connection_id":45782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e4"} 
[2026-04-17 10:54:27] local.INFO: GPS Element Parsed {"raw_longitude":755105152,"raw_latitude":117628392,"longitude_deg":75.5105152,"latitude_deg":11.7628392,"altitude":3,"angle":211,"satellites":25,"speed":29,"hex_longitude":"2d01fd80","hex_latitude":"0702dde8","is_valid_coordinates":true} 
[2026-04-17 10:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759268352001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113343293588242432,"note":"Value kept but may cause issues"} 
[2026-04-17 10:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":145100380608010240,"note":"Value kept but may cause issues"} 
[2026-04-17 10:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776403400000,"timestamp_ms":1776403400000,"timestamp_seconds":1776403400,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e4c540"} 
[2026-04-17 10:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-17 10:54:27] 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-04-17 10:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759268352001,"66":13678,"34":206,"28":32256,"24":29,"16":113343293588242432,"45":145100380608010240},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,45]} 
[2026-04-17 10:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759268352001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:54:27] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-04-17 10:54:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113343293588242432,"km_value":113343293588242.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":145100380608010240,"description":"Unknown IO ID 45"} 
[2026-04-17 10:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759268352001,"power":13678,"unknown_34":206,"unknown_28":32256,"ignition":29,"odometer":null,"unknown_45":145100380608010240}} 
[2026-04-17 10:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":45782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20682,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:54:27] local.INFO: GPS data processed {"connection_id":45782,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:54:27] local.INFO: Acknowledgment sent {"connection_id":45782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:54:28] local.INFO: TCP Data received {"connection_id":45973,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e4fbf0012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e4fbf0012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:54:28] local.INFO: Processing buffer {"connection_id":45973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e4fbf0012d7f8e4005afd7f00000011725..."} 
[2026-04-17 10:54:28] local.INFO: Packet analysis {"connection_id":45973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e4"} 
[2026-04-17 10:54:28] local.INFO: Extracted packet for processing {"connection_id":45973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e4"} 
[2026-04-17 10:54:28] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":37,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759267584001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191776495144005632,"note":"Value kept but may cause issues"} 
[2026-04-17 10:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776403414000,"timestamp_ms":1776403414000,"timestamp_seconds":1776403414,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e4fbf0"} 
[2026-04-17 10:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:54: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-04-17 10: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":100,"n8_eight_byte":25,"data_length":795,"current_offset":136} 
[2026-04-17 10:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":923,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45973,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759267584001,"66":24810,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191776495144005632},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759267584001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:54:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:54:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191776495144005632,"description":"Unknown IO ID 45"} 
[2026-04-17 10:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759267584001,"power":24810,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191776495144005632}} 
[2026-04-17 10:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":45973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:54:28] local.INFO: GPS data processed {"connection_id":45973,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:54:28] local.INFO: Acknowledgment sent {"connection_id":45973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:54:51] local.INFO: TCP Data received {"connection_id":46540,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:54:51] local.INFO: Processing buffer {"connection_id":46540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:54:51] local.INFO: IMEI packet received {"connection_id":46540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":46540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:54:54] local.INFO: TCP Data received {"connection_id":46540,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:54:54] local.INFO: Processing buffer {"connection_id":46540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:54:54] local.INFO: IMEI packet received {"connection_id":46540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":46540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:54:56] local.INFO: TCP Data received {"connection_id":46540,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:54:56] local.INFO: Processing buffer {"connection_id":46540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:54:56] local.INFO: IMEI packet received {"connection_id":46540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":46540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:54:57] local.INFO: TCP Data received {"connection_id":46540,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e54df8012d7f8e4005afd7f00000011720..."} 
[2026-04-17 10:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e54df8012d7f8e4005afd7f00000011720..."} 
[2026-04-17 10:54:57] local.INFO: Processing buffer {"connection_id":46540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e54df8012d7f8e4005afd7f00000011720..."} 
[2026-04-17 10:54:57] local.INFO: Packet analysis {"connection_id":46540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e5"} 
[2026-04-17 10:54:57] local.INFO: Extracted packet for processing {"connection_id":46540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e5"} 
[2026-04-17 10:54:57] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759273984001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776403435000,"timestamp_ms":1776403435000,"timestamp_seconds":1776403435,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e54df8"} 
[2026-04-17 10:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":234,"data_length":795,"current_offset":136} 
[2026-04-17 10:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2784,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759273984001,"66":27691,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759273984001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:54:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:54:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759273984001,"power":27691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":46540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:54:57] local.INFO: GPS data processed {"connection_id":46540,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:54:57] local.INFO: Acknowledgment sent {"connection_id":46540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:55:02] local.INFO: TCP Data received {"connection_id":45782,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e4d4e0012d01f4800702d3c0000100e11c..."} 
[2026-04-17 10:55:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e4d4e0012d01f4800702d3c0000100e11c..."} 
[2026-04-17 10:55:02] local.INFO: Processing buffer {"connection_id":45782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e4d4e0012d01f4800702d3c0000100e11c..."} 
[2026-04-17 10:55:02] local.INFO: Packet analysis {"connection_id":45782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e4"} 
[2026-04-17 10:55:02] local.INFO: Extracted packet for processing {"connection_id":45782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e4"} 
[2026-04-17 10:55:02] local.INFO: GPS Element Parsed {"raw_longitude":755102848,"raw_latitude":117625792,"longitude_deg":75.5102848,"latitude_deg":11.7625792,"altitude":1,"angle":225,"satellites":28,"speed":37,"hex_longitude":"2d01f480","hex_latitude":"0702d3c0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:55:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759270400001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:55:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113343461091966976,"note":"Value kept but may cause issues"} 
[2026-04-17 10:55:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":143411530746947584,"note":"Value kept but may cause issues"} 
[2026-04-17 10:55:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:55:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776403404000,"timestamp_ms":1776403404000,"timestamp_seconds":1776403404,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e4d4e0"} 
[2026-04-17 10:55:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:55:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-17 10:55:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10: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-04-17 10:55:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:55:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:55:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:55:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:55:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45782,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:55:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:55:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:55:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:55:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759270400001,"66":14070,"34":206,"28":32256,"24":37,"16":113343461091966976,"45":143411530746947584},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,45]} 
[2026-04-17 10:55:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:55:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:55:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759270400001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:55:02] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-04-17 10:55:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:55:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113343461091966976,"km_value":113343461091966.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:55:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":143411530746947584,"description":"Unknown IO ID 45"} 
[2026-04-17 10:55:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759270400001,"power":14070,"unknown_34":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_45":143411530746947584}} 
[2026-04-17 10:55:02] local.INFO: DEBUG: GPS processor result {"connection_id":45782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20685,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:55:02] local.INFO: GPS data processed {"connection_id":45782,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:55:02] local.INFO: Acknowledgment sent {"connection_id":45782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:55:14] local.INFO: TCP Data received {"connection_id":46542,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:55:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:55:14] local.INFO: Processing buffer {"connection_id":46542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:55:14] local.INFO: IMEI packet received {"connection_id":46542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:55:14] local.INFO: IMEI acknowledgment sent {"connection_id":46542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:55:18] local.INFO: TCP Data received {"connection_id":46542,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:55:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:55:18] local.INFO: Processing buffer {"connection_id":46542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:55:18] local.INFO: IMEI packet received {"connection_id":46542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:55:18] local.INFO: IMEI acknowledgment sent {"connection_id":46542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:55:23] local.INFO: TCP Data received {"connection_id":46542,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:55:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:55:23] local.INFO: Processing buffer {"connection_id":46542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:55:23] local.INFO: IMEI packet received {"connection_id":46542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:55:23] local.INFO: IMEI acknowledgment sent {"connection_id":46542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:55:24] local.INFO: TCP Data received {"connection_id":46542,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e4f808012d01d7800702bb68000200e51e..."} 
[2026-04-17 10:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e4f808012d01d7800702bb68000200e51e..."} 
[2026-04-17 10:55:24] local.INFO: Processing buffer {"connection_id":46542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e4f808012d01d7800702bb68000200e51e..."} 
[2026-04-17 10:55:24] local.INFO: Packet analysis {"connection_id":46542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e4"} 
[2026-04-17 10:55:24] local.INFO: Extracted packet for processing {"connection_id":46542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e4"} 
[2026-04-17 10:55:24] local.INFO: GPS Element Parsed {"raw_longitude":755095424,"raw_latitude":117619560,"longitude_deg":75.5095424,"latitude_deg":11.761956,"altitude":2,"angle":229,"satellites":30,"speed":45,"hex_longitude":"2d01d780","hex_latitude":"0702bb68","is_valid_coordinates":true} 
[2026-04-17 10:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759271424001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113343924948434944,"note":"Value kept but may cause issues"} 
[2026-04-17 10:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":140878255955886080,"note":"Value kept but may cause issues"} 
[2026-04-17 10:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776403413000,"timestamp_ms":1776403413000,"timestamp_seconds":1776403413,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e4f808"} 
[2026-04-17 10:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:55:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-17 10:55:24] 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-04-17 10:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759271424001,"66":14004,"34":206,"28":32256,"24":45,"16":113343924948434944,"45":140878255955886080},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,45]} 
[2026-04-17 10:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759271424001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:55:24] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-04-17 10:55:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113343924948434944,"km_value":113343924948434.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":140878255955886080,"description":"Unknown IO ID 45"} 
[2026-04-17 10:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759271424001,"power":14004,"unknown_34":206,"unknown_28":32256,"ignition":45,"odometer":null,"unknown_45":140878255955886080}} 
[2026-04-17 10:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":46542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:55:24] local.INFO: GPS data processed {"connection_id":46542,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:55:24] local.INFO: Acknowledgment sent {"connection_id":46542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:55:27] local.INFO: TCP Data received {"connection_id":46540,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e5a000012d7f8e4005afd7f00000011720..."} 
[2026-04-17 10:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e5a000012d7f8e4005afd7f00000011720..."} 
[2026-04-17 10:55:27] local.INFO: Processing buffer {"connection_id":46540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e5a000012d7f8e4005afd7f00000011720..."} 
[2026-04-17 10:55:27] local.INFO: Packet analysis {"connection_id":46540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e5"} 
[2026-04-17 10:55:27] local.INFO: Extracted packet for processing {"connection_id":46540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e5"} 
[2026-04-17 10:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763334208,"raw_latitude":95410160,"longitude_deg":76.3334208,"latitude_deg":9.541016,"altitude":0,"angle":279,"satellites":32,"speed":0,"hex_longitude":"2d7f8e40","hex_latitude":"05afd7f0","is_valid_coordinates":true} 
[2026-04-17 10:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759279360001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065230412120064,"note":"Value kept but may cause issues"} 
[2026-04-17 10:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9191354282678939648,"note":"Value kept but may cause issues"} 
[2026-04-17 10:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776403456000,"timestamp_ms":1776403456000,"timestamp_seconds":1776403456,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e5a000"} 
[2026-04-17 10:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:55: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-04-17 10:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-17 10:55:27] 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-04-17 10:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759279360001,"66":27800,"250":206,"85":12544,"24":0,"16":274065230412120064,"45":9191354282678939648},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759279360001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:55:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065230412120064,"km_value":274065230412120.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9191354282678939648,"description":"Unknown IO ID 45"} 
[2026-04-17 10:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759279360001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9191354282678939648}} 
[2026-04-17 10:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":46540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:55:27] local.INFO: GPS data processed {"connection_id":46540,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:55:27] local.INFO: Acknowledgment sent {"connection_id":46540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:55:56] local.INFO: TCP Data received {"connection_id":45975,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:55:56] local.INFO: Processing buffer {"connection_id":45975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:55:56] local.INFO: IMEI packet received {"connection_id":45975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":45975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:56:00] local.INFO: TCP Data received {"connection_id":46542,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e51748012d01bb000702a370000400e71f..."} 
[2026-04-17 10:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e51748012d01bb000702a370000400e71f..."} 
[2026-04-17 10:56:00] local.INFO: Processing buffer {"connection_id":46542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e51748012d01bb000702a370000400e71f..."} 
[2026-04-17 10:56:00] local.INFO: Packet analysis {"connection_id":46542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e5"} 
[2026-04-17 10:56:00] local.INFO: Extracted packet for processing {"connection_id":46542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e5"} 
[2026-04-17 10:56:00] local.INFO: GPS Element Parsed {"raw_longitude":755088128,"raw_latitude":117613424,"longitude_deg":75.5088128,"latitude_deg":11.7613424,"altitude":4,"angle":231,"satellites":31,"speed":48,"hex_longitude":"2d01bb00","hex_latitude":"0702a370","is_valid_coordinates":true} 
[2026-04-17 10:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759273728001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113344384509935616,"note":"Value kept but may cause issues"} 
[2026-04-17 10:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":132715481629681664,"note":"Value kept but may cause issues"} 
[2026-04-17 10:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776403421000,"timestamp_ms":1776403421000,"timestamp_seconds":1776403421,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e51748"} 
[2026-04-17 10:56:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:56: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-04-17 10:56:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 10:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:56:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:56:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759273728001,"66":13820,"36":206,"28":32256,"24":48,"16":113344384509935616,"45":132715481629681664},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,28,24,16,45]} 
[2026-04-17 10:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759273728001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:56:00] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 10:56:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113344384509935616,"km_value":113344384509935.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":132715481629681664,"description":"Unknown IO ID 45"} 
[2026-04-17 10:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759273728001,"power":13820,"unknown_36":206,"unknown_28":32256,"ignition":48,"odometer":null,"unknown_45":132715481629681664}} 
[2026-04-17 10:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":46542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20688,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:56:00] local.INFO: GPS data processed {"connection_id":46542,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:56:00] local.INFO: Acknowledgment sent {"connection_id":46542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:56:01] local.INFO: TCP Data received {"connection_id":45975,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:56:01] local.INFO: Processing buffer {"connection_id":45975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:56:01] local.INFO: IMEI packet received {"connection_id":45975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":45975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:56:02] local.INFO: TCP Data received {"connection_id":45975,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e63470012d7f9b4005afdac00000005726..."} 
[2026-04-17 10:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e63470012d7f9b4005afdac00000005726..."} 
[2026-04-17 10:56:02] local.INFO: Processing buffer {"connection_id":45975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e63470012d7f9b4005afdac00000005726..."} 
[2026-04-17 10:56:02] local.INFO: Packet analysis {"connection_id":45975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:56:02] local.INFO: Extracted packet for processing {"connection_id":45975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763337536,"raw_latitude":95410880,"longitude_deg":76.3337536,"latitude_deg":9.541088,"altitude":0,"angle":87,"satellites":38,"speed":5,"hex_longitude":"2d7f9b40","hex_latitude":"05afdac0","is_valid_coordinates":true} 
[2026-04-17 10:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759292928001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065402210811904,"note":"Value kept but may cause issues"} 
[2026-04-17 10:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9193887557469534208,"note":"Value kept but may cause issues"} 
[2026-04-17 10:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776403494000,"timestamp_ms":1776403494000,"timestamp_seconds":1776403494,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e63470"} 
[2026-04-17 10:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:56:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 10:56: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-04-17 10:56:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:56:02] 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-04-17 10:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759292928001,"66":27930,"250":206,"85":12544,"24":5,"16":274065402210811904,"45":9193887557469534208},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759292928001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:56:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065402210811904,"km_value":274065402210811.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9193887557469534208,"description":"Unknown IO ID 45"} 
[2026-04-17 10:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759292928001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":9193887557469534208}} 
[2026-04-17 10:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":45975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:56:02] local.INFO: GPS data processed {"connection_id":45975,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:56:02] local.INFO: Acknowledgment sent {"connection_id":45975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:56:06] local.INFO: TCP Data received {"connection_id":45975,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e64028012d7f9d8005afda900000006926..."} 
[2026-04-17 10:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e64028012d7f9d8005afda900000006926..."} 
[2026-04-17 10:56:06] local.INFO: Processing buffer {"connection_id":45975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e64028012d7f9d8005afda900000006926..."} 
[2026-04-17 10:56:06] local.INFO: Packet analysis {"connection_id":45975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:56:06] local.INFO: Extracted packet for processing {"connection_id":45975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763338112,"raw_latitude":95410832,"longitude_deg":76.3338112,"latitude_deg":9.5410832,"altitude":0,"angle":105,"satellites":38,"speed":6,"hex_longitude":"2d7f9d80","hex_latitude":"05afda90","is_valid_coordinates":true} 
[2026-04-17 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-04-17 10:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759294464001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065427980615680,"note":"Value kept but may cause issues"} 
[2026-04-17 10:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195013457376362496,"note":"Value kept but may cause issues"} 
[2026-04-17 10:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776403497000,"timestamp_ms":1776403497000,"timestamp_seconds":1776403497,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e64028"} 
[2026-04-17 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-04-17 10:56: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-04-17 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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-17 10:56: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-04-17 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-04-17 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-04-17 10:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:56:06] 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-04-17 10:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759294464001,"66":27876,"250":206,"85":12544,"24":6,"16":274065427980615680,"45":9195013457376362496},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759294464001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:56:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065427980615680,"km_value":274065427980615.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195013457376362496,"description":"Unknown IO ID 45"} 
[2026-04-17 10:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759294464001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9195013457376362496}} 
[2026-04-17 10:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":45975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:56:06] local.INFO: GPS data processed {"connection_id":45975,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:56:06] local.INFO: Acknowledgment sent {"connection_id":45975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:56:17] local.INFO: TCP Data received {"connection_id":46543,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:56:17] local.INFO: Processing buffer {"connection_id":46543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:56:17] local.INFO: IMEI packet received {"connection_id":46543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":46543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:56:18] local.INFO: TCP Data received {"connection_id":46543,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:56:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:56:18] local.INFO: Processing buffer {"connection_id":46543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:56:18] local.INFO: IMEI packet received {"connection_id":46543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:56:18] local.INFO: IMEI acknowledgment sent {"connection_id":46543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:56:20] local.INFO: TCP Data received {"connection_id":46543,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:56:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46543,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:56:20] local.INFO: Processing buffer {"connection_id":46543,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:56:20] local.INFO: IMEI packet received {"connection_id":46543,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:56:20] local.INFO: IMEI acknowledgment sent {"connection_id":46543,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:56:23] local.INFO: TCP Data received {"connection_id":46543,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e69618012d0113000701a298000b00e41c..."} 
[2026-04-17 10:56:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e69618012d0113000701a298000b00e41c..."} 
[2026-04-17 10:56:23] local.INFO: Processing buffer {"connection_id":46543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e69618012d0113000701a298000b00e41c..."} 
[2026-04-17 10:56:23] local.INFO: Packet analysis {"connection_id":46543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:56:23] local.INFO: Extracted packet for processing {"connection_id":46543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:56:23] local.INFO: GPS Element Parsed {"raw_longitude":755045120,"raw_latitude":117547672,"longitude_deg":75.504512,"latitude_deg":11.7547672,"altitude":11,"angle":228,"satellites":28,"speed":29,"hex_longitude":"2d011300","hex_latitude":"0701a298","is_valid_coordinates":true} 
[2026-04-17 10:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:56:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759300096001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:56:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113348292930174976,"note":"Value kept but may cause issues"} 
[2026-04-17 10:56:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":78813023571603456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:56:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:56:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776403519000,"timestamp_ms":1776403519000,"timestamp_seconds":1776403519,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e69618"} 
[2026-04-17 10:56:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:56:23] 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-04-17 10:56:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 10:56:23] 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-04-17 10:56:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:56:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:56:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:56:23] local.INFO: Teltonika packet parsed successfully {"connection_id":46543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:56:23] local.INFO: Passing IMEI to GPS processor {"connection_id":46543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:56:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":46543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:56:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:56:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:56:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:56:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759300096001,"66":13972,"214":206,"28":32256,"24":29,"16":113348292930174976,"45":78813023571603456},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,28,24,16,45]} 
[2026-04-17 10:56:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:56:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:56:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759300096001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:56:23] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-04-17 10:56:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:56:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113348292930174976,"km_value":113348292930174.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:56:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":78813023571603456,"description":"Unknown IO ID 45"} 
[2026-04-17 10:56:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759300096001,"power":13972,"unknown_214":206,"unknown_28":32256,"ignition":29,"odometer":null,"unknown_45":78813023571603456}} 
[2026-04-17 10:56:23] local.INFO: DEBUG: GPS processor result {"connection_id":46543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20691,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:56:23] local.INFO: GPS data processed {"connection_id":46543,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:56:23] local.INFO: Acknowledgment sent {"connection_id":46543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:56:51] local.INFO: TCP Data received {"connection_id":46544,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:56:51] local.INFO: Processing buffer {"connection_id":46544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:56:51] local.INFO: IMEI packet received {"connection_id":46544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":46544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:56:55] local.INFO: TCP Data received {"connection_id":46543,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e6a1d0012d010c4007019e80000a00f21d..."} 
[2026-04-17 10:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46543,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e6a1d0012d010c4007019e80000a00f21d..."} 
[2026-04-17 10:56:55] local.INFO: Processing buffer {"connection_id":46543,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e6a1d0012d010c4007019e80000a00f21d..."} 
[2026-04-17 10:56:55] local.INFO: Packet analysis {"connection_id":46543,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:56:55] local.INFO: Extracted packet for processing {"connection_id":46543,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:56:55] local.INFO: GPS Element Parsed {"raw_longitude":755043392,"raw_latitude":117546624,"longitude_deg":75.5043392,"latitude_deg":11.7546624,"altitude":10,"angle":242,"satellites":29,"speed":20,"hex_longitude":"2d010c40","hex_latitude":"07019e80","is_valid_coordinates":true} 
[2026-04-17 10:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759300864001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113348387419455488,"note":"Value kept but may cause issues"} 
[2026-04-17 10:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":77405648687634432,"note":"Value kept but may cause issues"} 
[2026-04-17 10:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776403522000,"timestamp_ms":1776403522000,"timestamp_seconds":1776403522,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e6a1d0"} 
[2026-04-17 10:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:56: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-04-17 10:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-17 10:56:55] 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-04-17 10:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46543,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46543,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759300864001,"66":13624,"214":206,"28":32256,"24":20,"16":113348387419455488,"45":77405648687634432},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,28,24,16,45]} 
[2026-04-17 10:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759300864001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:56:55] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-04-17 10:56:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113348387419455488,"km_value":113348387419455.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":77405648687634432,"description":"Unknown IO ID 45"} 
[2026-04-17 10:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759300864001,"power":13624,"unknown_214":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_45":77405648687634432}} 
[2026-04-17 10:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":46543,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:56:55] local.INFO: GPS data processed {"connection_id":46543,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:56:55] local.INFO: Acknowledgment sent {"connection_id":46543,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:56:56] local.INFO: TCP Data received {"connection_id":46544,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:56:56] local.INFO: Processing buffer {"connection_id":46544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:56:56] local.INFO: IMEI packet received {"connection_id":46544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":46544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:56:59] local.INFO: TCP Data received {"connection_id":46544,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e64be0012d7f9f8005afda180000005c26..."} 
[2026-04-17 10:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e64be0012d7f9f8005afda180000005c26..."} 
[2026-04-17 10:56:59] local.INFO: Processing buffer {"connection_id":46544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e64be0012d7f9f8005afda180000005c26..."} 
[2026-04-17 10:56:59] local.INFO: Packet analysis {"connection_id":46544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:56:59] local.INFO: Extracted packet for processing {"connection_id":46544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:56:59] local.INFO: GPS Element Parsed {"raw_longitude":763338624,"raw_latitude":95410712,"longitude_deg":76.3338624,"latitude_deg":9.5410712,"altitude":0,"angle":92,"satellites":38,"speed":5,"hex_longitude":"2d7f9f80","hex_latitude":"05afda18","is_valid_coordinates":true} 
[2026-04-17 10:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759295232001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065453750419456,"note":"Value kept but may cause issues"} 
[2026-04-17 10:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195646776073949184,"note":"Value kept but may cause issues"} 
[2026-04-17 10:56:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776403500000,"timestamp_ms":1776403500000,"timestamp_seconds":1776403500,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e64be0"} 
[2026-04-17 10:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:56: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-04-17 10:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 10:56:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759295232001,"66":27930,"250":206,"85":12544,"24":5,"16":274065453750419456,"45":9195646776073949184},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759295232001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:56:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:56:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065453750419456,"km_value":274065453750419.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195646776073949184,"description":"Unknown IO ID 45"} 
[2026-04-17 10:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759295232001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":9195646776073949184}} 
[2026-04-17 10:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":46544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:56:59] local.INFO: GPS data processed {"connection_id":46544,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:56:59] local.INFO: Acknowledgment sent {"connection_id":46544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:57:17] local.INFO: TCP Data received {"connection_id":46545,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:57:17] local.INFO: Processing buffer {"connection_id":46545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:57:17] local.INFO: IMEI packet received {"connection_id":46545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":46545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:57:22] local.INFO: TCP Data received {"connection_id":46545,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46545,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:57:22] local.INFO: Processing buffer {"connection_id":46545,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:57:22] local.INFO: IMEI packet received {"connection_id":46545,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":46545,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:57:24] local.INFO: TCP Data received {"connection_id":46545,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e6a9a0012d0108c007019d70000a01061d..."} 
[2026-04-17 10:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e6a9a0012d0108c007019d70000a01061d..."} 
[2026-04-17 10:57:24] local.INFO: Processing buffer {"connection_id":46545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e6a9a0012d0108c007019d70000a01061d..."} 
[2026-04-17 10:57:24] local.INFO: Packet analysis {"connection_id":46545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:57:24] local.INFO: Extracted packet for processing {"connection_id":46545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:57:24] local.INFO: GPS Element Parsed {"raw_longitude":755042496,"raw_latitude":117546352,"longitude_deg":75.5042496,"latitude_deg":11.7546352,"altitude":10,"angle":262,"satellites":29,"speed":22,"hex_longitude":"2d0108c0","hex_latitude":"07019d70","is_valid_coordinates":true} 
[2026-04-17 10:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759301632001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113348434664095744,"note":"Value kept but may cause issues"} 
[2026-04-17 10:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":75505692594569216,"note":"Value kept but may cause issues"} 
[2026-04-17 10:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776403524000,"timestamp_ms":1776403524000,"timestamp_seconds":1776403524,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e6a9a0"} 
[2026-04-17 10:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:57:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-17 10:57:24] 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-04-17 10:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759301632001,"66":13993,"214":206,"28":32256,"24":22,"16":113348434664095744,"45":75505692594569216},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,28,24,16,45]} 
[2026-04-17 10:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759301632001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:57:24] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-04-17 10:57:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113348434664095744,"km_value":113348434664095.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":75505692594569216,"description":"Unknown IO ID 45"} 
[2026-04-17 10:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759301632001,"power":13993,"unknown_214":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_45":75505692594569216}} 
[2026-04-17 10:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":46545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:57:24] local.INFO: GPS data processed {"connection_id":46545,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:57:24] local.INFO: Acknowledgment sent {"connection_id":46545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:57:30] local.INFO: TCP Data received {"connection_id":46544,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e65798012d7fa18005afd9800001006126..."} 
[2026-04-17 10:57:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e65798012d7fa18005afd9800001006126..."} 
[2026-04-17 10:57:30] local.INFO: Processing buffer {"connection_id":46544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e65798012d7fa18005afd9800001006126..."} 
[2026-04-17 10:57:30] local.INFO: Packet analysis {"connection_id":46544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:57:30] local.INFO: Extracted packet for processing {"connection_id":46544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:57:30] local.INFO: GPS Element Parsed {"raw_longitude":763339136,"raw_latitude":95410560,"longitude_deg":76.3339136,"latitude_deg":9.541056,"altitude":1,"angle":97,"satellites":38,"speed":5,"hex_longitude":"2d7fa180","hex_latitude":"05afd980","is_valid_coordinates":true} 
[2026-04-17 10:57: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-04-17 10:57:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759296000001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:57:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 10:57:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196209726027339776,"note":"Value kept but may cause issues"} 
[2026-04-17 10:57:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:57:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776403503000,"timestamp_ms":1776403503000,"timestamp_seconds":1776403503,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e65798"} 
[2026-04-17 10:57:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:57: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-04-17 10: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":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-17 10:57: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-04-17 10: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-04-17 10:57:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:57:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:57:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:57:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:57:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:57: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-04-17 10:57:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:57:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:57:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759296000001,"66":28028,"250":206,"85":12544,"24":5,"16":274065483815190528,"45":9196209726027339776},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:57:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:57:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:57:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759296000001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:57:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:57:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:57:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:57:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196209726027339776,"description":"Unknown IO ID 45"} 
[2026-04-17 10:57:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759296000001,"power":28028,"unknown_250":206,"unknown_85":12544,"ignition":5,"odometer":null,"unknown_45":9196209726027339776}} 
[2026-04-17 10:57:30] local.INFO: DEBUG: GPS processor result {"connection_id":46544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:57:30] local.INFO: GPS data processed {"connection_id":46544,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:57:30] local.INFO: Acknowledgment sent {"connection_id":46544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:57:51] local.INFO: TCP Data received {"connection_id":46546,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:57:51] local.INFO: Processing buffer {"connection_id":46546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:57:51] local.INFO: IMEI packet received {"connection_id":46546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":46546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:57:56] local.INFO: TCP Data received {"connection_id":46545,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e6d880012d00e940070198b8000a00fa1f..."} 
[2026-04-17 10:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46545,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e6d880012d00e940070198b8000a00fa1f..."} 
[2026-04-17 10:57:56] local.INFO: Processing buffer {"connection_id":46545,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e6d880012d00e940070198b8000a00fa1f..."} 
[2026-04-17 10:57:56] local.INFO: Packet analysis {"connection_id":46545,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:57:56] local.INFO: Extracted packet for processing {"connection_id":46545,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:57:56] local.INFO: GPS Element Parsed {"raw_longitude":755034432,"raw_latitude":117545144,"longitude_deg":75.5034432,"latitude_deg":11.7545144,"altitude":10,"angle":250,"satellites":31,"speed":26,"hex_longitude":"2d00e940","hex_latitude":"070198b8","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759302144001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113348821211152384,"note":"Value kept but may cause issues"} 
[2026-04-17 10:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":74520530176012288,"note":"Value kept but may cause issues"} 
[2026-04-17 10:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776403536000,"timestamp_ms":1776403536000,"timestamp_seconds":1776403536,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e6d880"} 
[2026-04-17 10:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 10:57:56] 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-04-17 10: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-04-17 10:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46545,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46545,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759302144001,"66":13515,"214":206,"28":32256,"24":26,"16":113348821211152384,"45":74520530176012288},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,28,24,16,45]} 
[2026-04-17 10:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759302144001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:57:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-04-17 10:57:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113348821211152384,"km_value":113348821211152.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":74520530176012288,"description":"Unknown IO ID 45"} 
[2026-04-17 10:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759302144001,"power":13515,"unknown_214":206,"unknown_28":32256,"ignition":26,"odometer":null,"unknown_45":74520530176012288}} 
[2026-04-17 10:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":46545,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20696,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:57:56] local.INFO: GPS data processed {"connection_id":46545,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:57:56] local.INFO: Acknowledgment sent {"connection_id":46545,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:57:57] local.INFO: TCP Data received {"connection_id":46546,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46546,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:57:57] local.INFO: Processing buffer {"connection_id":46546,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:57:57] local.INFO: IMEI packet received {"connection_id":46546,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:57:57] local.INFO: IMEI acknowledgment sent {"connection_id":46546,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:57:58] local.INFO: TCP Data received {"connection_id":46546,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e66f08012d7fa4c005afd8480003004e25..."} 
[2026-04-17 10:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e66f08012d7fa4c005afd8480003004e25..."} 
[2026-04-17 10:57:58] local.INFO: Processing buffer {"connection_id":46546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e66f08012d7fa4c005afd8480003004e25..."} 
[2026-04-17 10:57:58] local.INFO: Packet analysis {"connection_id":46546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:57:58] local.INFO: Extracted packet for processing {"connection_id":46546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:57:58] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95410248,"longitude_deg":76.3339968,"latitude_deg":9.5410248,"altitude":3,"angle":78,"satellites":37,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd848","is_valid_coordinates":true} 
[2026-04-17 10:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759296768001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 10:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196772675980722176,"note":"Value kept but may cause issues"} 
[2026-04-17 10:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776403509000,"timestamp_ms":1776403509000,"timestamp_seconds":1776403509,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e66f08"} 
[2026-04-17 10:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 10:57:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759296768001,"66":27180,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9196772675980722176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759296768001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:57:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:57:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196772675980722176,"description":"Unknown IO ID 45"} 
[2026-04-17 10:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759296768001,"power":27180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196772675980722176}} 
[2026-04-17 10:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":46546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:57:58] local.INFO: GPS data processed {"connection_id":46546,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:57:58] local.INFO: Acknowledgment sent {"connection_id":46546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:58:10] local.INFO: TCP Data received {"connection_id":45976,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45976,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:58:10] local.INFO: Processing buffer {"connection_id":45976,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:58:10] local.INFO: IMEI packet received {"connection_id":45976,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":45976,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:58:13] local.INFO: TCP Data received {"connection_id":45976,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e50f78012d27d10006c278f00006009a32..."} 
[2026-04-17 10:58:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e50f78012d27d10006c278f00006009a32..."} 
[2026-04-17 10:58:13] local.INFO: Processing buffer {"connection_id":45976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e50f78012d27d10006c278f00006009a32..."} 
[2026-04-17 10:58:13] local.INFO: Packet analysis {"connection_id":45976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e5"} 
[2026-04-17 10:58:13] local.INFO: Extracted packet for processing {"connection_id":45976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e5"} 
[2026-04-17 10:58:13] local.INFO: GPS Element Parsed {"raw_longitude":757584128,"raw_latitude":113408240,"longitude_deg":75.7584128,"latitude_deg":11.340824,"altitude":6,"angle":154,"satellites":50,"speed":40,"hex_longitude":"2d27d100","hex_latitude":"06c278f0","is_valid_coordinates":true} 
[2026-04-17 10:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:58:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:58:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,143,27,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 10:58:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776403419000,"timestamp_ms":1776403419000,"timestamp_seconds":1776403419,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e50f78"} 
[2026-04-17 10:58:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:58:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 10:58:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 10:58:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:58:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:58:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:58:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:58:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:58:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45976,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:58:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45976,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:58:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:58:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:58:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:58:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28267,"143":206,"27":54528,"24":40,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,27,24,16]} 
[2026-04-17 10:58:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:58:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:58:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 10:58:13] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-04-17 10:58:13] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-04-17 10:58:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:58:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28267,"unknown_143":206,"unknown_27":54528,"ignition":40,"odometer":null}} 
[2026-04-17 10:58:13] local.INFO: DEBUG: GPS processor result {"connection_id":45976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20698,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:58:13] local.INFO: GPS data processed {"connection_id":45976,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:58:13] local.INFO: Acknowledgment sent {"connection_id":45976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:58:17] local.INFO: TCP Data received {"connection_id":46547,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:58:17] local.INFO: Processing buffer {"connection_id":46547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:58:17] local.INFO: IMEI packet received {"connection_id":46547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":46547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:58:22] local.INFO: TCP Data received {"connection_id":46547,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46547,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:58:22] local.INFO: Processing buffer {"connection_id":46547,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:58:22] local.INFO: IMEI packet received {"connection_id":46547,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":46547,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:58:23] local.INFO: TCP Data received {"connection_id":46547,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e6e820012d00e0c007019500000c00ec20..."} 
[2026-04-17 10:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e6e820012d00e0c007019500000c00ec20..."} 
[2026-04-17 10:58:23] local.INFO: Processing buffer {"connection_id":46547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e6e820012d00e0c007019500000c00ec20..."} 
[2026-04-17 10:58:23] local.INFO: Packet analysis {"connection_id":46547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:58:23] local.INFO: Extracted packet for processing {"connection_id":46547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:58:23] local.INFO: GPS Element Parsed {"raw_longitude":755032256,"raw_latitude":117544192,"longitude_deg":75.5032256,"latitude_deg":11.7544192,"altitude":12,"angle":236,"satellites":32,"speed":24,"hex_longitude":"2d00e0c0","hex_latitude":"07019500","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:58:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759305216001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:58:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113348932880302080,"note":"Value kept but may cause issues"} 
[2026-04-17 10:58:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":65654068409317376,"note":"Value kept but may cause issues"} 
[2026-04-17 10:58:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:58:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776403540000,"timestamp_ms":1776403540000,"timestamp_seconds":1776403540,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e6e820"} 
[2026-04-17 10:58:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:58:23] 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-04-17 10: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-17 10:58:23] 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-04-17 10: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-04-17 10:58:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:58:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:58:23] local.INFO: Teltonika packet parsed successfully {"connection_id":46547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:58:23] local.INFO: Passing IMEI to GPS processor {"connection_id":46547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:58:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":46547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:58:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:58:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:58:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:58:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759305216001,"66":13961,"214":206,"28":32256,"24":24,"16":113348932880302080,"45":65654068409317376},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,28,24,16,45]} 
[2026-04-17 10:58:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:58:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:58:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759305216001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:58:23] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-04-17 10:58:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:58:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113348932880302080,"km_value":113348932880302.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:58:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":65654068409317376,"description":"Unknown IO ID 45"} 
[2026-04-17 10:58:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759305216001,"power":13961,"unknown_214":206,"unknown_28":32256,"ignition":24,"odometer":null,"unknown_45":65654068409317376}} 
[2026-04-17 10:58:23] local.INFO: DEBUG: GPS processor result {"connection_id":46547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20699,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:58:23] local.INFO: GPS data processed {"connection_id":46547,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:58:23] local.INFO: Acknowledgment sent {"connection_id":46547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:58:29] local.INFO: TCP Data received {"connection_id":46546,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e66f08012d7fa4c005afd8480003004e25..."} 
[2026-04-17 10:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e66f08012d7fa4c005afd8480003004e25..."} 
[2026-04-17 10:58:29] local.INFO: Processing buffer {"connection_id":46546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e66f08012d7fa4c005afd8480003004e25..."} 
[2026-04-17 10:58:29] local.INFO: Packet analysis {"connection_id":46546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:58:29] local.INFO: Extracted packet for processing {"connection_id":46546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:58:29] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95410248,"longitude_deg":76.3339968,"latitude_deg":9.5410248,"altitude":3,"angle":78,"satellites":37,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd848","is_valid_coordinates":true} 
[2026-04-17 10:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759296768001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 10:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196772675980722176,"note":"Value kept but may cause issues"} 
[2026-04-17 10:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776403509000,"timestamp_ms":1776403509000,"timestamp_seconds":1776403509,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e66f08"} 
[2026-04-17 10:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 10:58: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-04-17 10:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46546,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:58: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-04-17 10:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759296768001,"66":27180,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9196772675980722176},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759296768001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:58:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196772675980722176,"description":"Unknown IO ID 45"} 
[2026-04-17 10:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759296768001,"power":27180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196772675980722176}} 
[2026-04-17 10:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":46546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:58:29] local.INFO: GPS data processed {"connection_id":46546,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:58:29] local.INFO: Acknowledgment sent {"connection_id":46546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:58:47] local.INFO: TCP Data received {"connection_id":45976,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e56180012d27f0c006c235f80007009932..."} 
[2026-04-17 10:58:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e56180012d27f0c006c235f80007009932..."} 
[2026-04-17 10:58:47] local.INFO: Processing buffer {"connection_id":45976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e56180012d27f0c006c235f80007009932..."} 
[2026-04-17 10:58:47] local.INFO: Packet analysis {"connection_id":45976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e5"} 
[2026-04-17 10:58:47] local.INFO: Extracted packet for processing {"connection_id":45976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e5"} 
[2026-04-17 10:58:47] local.INFO: GPS Element Parsed {"raw_longitude":757592256,"raw_latitude":113391096,"longitude_deg":75.7592256,"latitude_deg":11.3391096,"altitude":7,"angle":153,"satellites":50,"speed":0,"hex_longitude":"2d27f0c0","hex_latitude":"06c235f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 10:58:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759275264001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:58:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:58:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2869074466644226048,"note":"Value kept but may cause issues"} 
[2026-04-17 10:58:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:58:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776403440000,"timestamp_ms":1776403440000,"timestamp_seconds":1776403440,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e56180"} 
[2026-04-17 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-04-17 10:58: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-04-17 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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 10:58:47] 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-04-17 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-04-17 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-04-17 10:58:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:58:47] local.INFO: Teltonika packet parsed successfully {"connection_id":45976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:58:47] local.INFO: Passing IMEI to GPS processor {"connection_id":45976,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:58:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":45976,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:58:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:58:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:58:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:58:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759275264001,"66":27908,"143":206,"27":54528,"24":0,"16":106618783551979520,"45":2869074466644226048},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,27,24,16,45]} 
[2026-04-17 10:58:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:58:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:58:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759275264001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:58:47] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-04-17 10:58:47] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-04-17 10:58:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:58:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2869074466644226048,"description":"Unknown IO ID 45"} 
[2026-04-17 10:58:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759275264001,"power":27908,"unknown_143":206,"unknown_27":54528,"ignition":0,"odometer":null,"unknown_45":2869074466644226048}} 
[2026-04-17 10:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":45976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20701,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:58:47] local.INFO: GPS data processed {"connection_id":45976,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:58:47] local.INFO: Acknowledgment sent {"connection_id":45976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:58:51] local.INFO: TCP Data received {"connection_id":46548,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:58:51] local.INFO: Processing buffer {"connection_id":46548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:58:51] local.INFO: IMEI packet received {"connection_id":46548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":46548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:58:55] local.INFO: TCP Data received {"connection_id":46547,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e6eff0012d00dc00070192e0000c00fe20..."} 
[2026-04-17 10:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46547,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e6eff0012d00dc00070192e0000c00fe20..."} 
[2026-04-17 10:58:55] local.INFO: Processing buffer {"connection_id":46547,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e6eff0012d00dc00070192e0000c00fe20..."} 
[2026-04-17 10:58:55] local.INFO: Packet analysis {"connection_id":46547,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:58:55] local.INFO: Extracted packet for processing {"connection_id":46547,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:58:55] local.INFO: GPS Element Parsed {"raw_longitude":755031040,"raw_latitude":117543648,"longitude_deg":75.503104,"latitude_deg":11.7543648,"altitude":12,"angle":254,"satellites":32,"speed":28,"hex_longitude":"2d00dc00","hex_latitude":"070192e0","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759306240001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113348997304811520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":63261531107033088,"note":"Value kept but may cause issues"} 
[2026-04-17 10:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776403542000,"timestamp_ms":1776403542000,"timestamp_seconds":1776403542,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e6eff0"} 
[2026-04-17 10:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:58: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-04-17 10: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-17 10:58:55] 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-04-17 10: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-04-17 10:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46547,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46547,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759306240001,"66":13961,"214":206,"28":32256,"24":28,"16":113348997304811520,"45":63261531107033088},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,28,24,16,45]} 
[2026-04-17 10:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759306240001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:58:55] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-04-17 10:58:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113348997304811520,"km_value":113348997304811.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":63261531107033088,"description":"Unknown IO ID 45"} 
[2026-04-17 10:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759306240001,"power":13961,"unknown_214":206,"unknown_28":32256,"ignition":28,"odometer":null,"unknown_45":63261531107033088}} 
[2026-04-17 10:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":46547,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20702,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:58:55] local.INFO: GPS data processed {"connection_id":46547,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:58:55] local.INFO: Acknowledgment sent {"connection_id":46547,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:59:01] local.INFO: TCP Data received {"connection_id":46548,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46548,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:59:01] local.INFO: Processing buffer {"connection_id":46548,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:59:01] local.INFO: IMEI packet received {"connection_id":46548,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:59:01] local.INFO: IMEI acknowledgment sent {"connection_id":46548,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:59:02] local.INFO: TCP Data received {"connection_id":46548,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e66f08012d7fa4c005afd8480003004e25..."} 
[2026-04-17 10:59:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e66f08012d7fa4c005afd8480003004e25..."} 
[2026-04-17 10:59:02] local.INFO: Processing buffer {"connection_id":46548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e66f08012d7fa4c005afd8480003004e25..."} 
[2026-04-17 10:59:02] local.INFO: Packet analysis {"connection_id":46548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:59:02] local.INFO: Extracted packet for processing {"connection_id":46548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:59:02] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95410248,"longitude_deg":76.3339968,"latitude_deg":9.5410248,"altitude":3,"angle":78,"satellites":37,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd848","is_valid_coordinates":true} 
[2026-04-17 10:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:59:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759296768001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:59:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 10:59:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196772675980722176,"note":"Value kept but may cause issues"} 
[2026-04-17 10:59:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:59:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776403509000,"timestamp_ms":1776403509000,"timestamp_seconds":1776403509,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e66f08"} 
[2026-04-17 10:59:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:59:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:59:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 10:59: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-04-17 10:59:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:59:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:59:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:59:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:59:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:59:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46548,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:59:02] 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-04-17 10:59:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:59:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:59:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759296768001,"66":27180,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9196772675980722176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:59:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:59:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:59:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759296768001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:59:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:59:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:59:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:59:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196772675980722176,"description":"Unknown IO ID 45"} 
[2026-04-17 10:59:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759296768001,"power":27180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196772675980722176}} 
[2026-04-17 10:59:02] local.INFO: DEBUG: GPS processor result {"connection_id":46548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:59:02] local.INFO: GPS data processed {"connection_id":46548,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:59:02] local.INFO: Acknowledgment sent {"connection_id":46548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:59:10] local.INFO: TCP Data received {"connection_id":46549,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:59:10] local.INFO: Processing buffer {"connection_id":46549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:59:10] local.INFO: IMEI packet received {"connection_id":46549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 10:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":46549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:59:15] local.INFO: TCP Data received {"connection_id":46549,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:59:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46549,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:59:15] local.INFO: Processing buffer {"connection_id":46549,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 10:59:15] local.INFO: IMEI packet received {"connection_id":46549,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 10:59:15] local.INFO: IMEI acknowledgment sent {"connection_id":46549,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:59:17] local.INFO: TCP Data received {"connection_id":46549,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e5a000012d281ac006c1fc100009008c31..."} 
[2026-04-17 10:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e5a000012d281ac006c1fc100009008c31..."} 
[2026-04-17 10:59:17] local.INFO: Processing buffer {"connection_id":46549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e5a000012d281ac006c1fc100009008c31..."} 
[2026-04-17 10:59:17] local.INFO: Packet analysis {"connection_id":46549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e5"} 
[2026-04-17 10:59:17] local.INFO: Extracted packet for processing {"connection_id":46549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e5"} 
[2026-04-17 10:59:17] local.INFO: GPS Element Parsed {"raw_longitude":757603008,"raw_latitude":113376272,"longitude_deg":75.7603008,"latitude_deg":11.3376272,"altitude":9,"angle":140,"satellites":49,"speed":35,"hex_longitude":"2d281ac0","hex_latitude":"06c1fc10","is_valid_coordinates":true} 
[2026-04-17 10:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:59:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759280640001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:59:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:59:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2878011297150400512,"note":"Value kept but may cause issues"} 
[2026-04-17 10:59:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:59:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776403456000,"timestamp_ms":1776403456000,"timestamp_seconds":1776403456,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e5a000"} 
[2026-04-17 10:59:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:59:17] 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-04-17 10:59:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 10:59:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:59:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:59:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:59:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:59:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:59:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:59:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:59:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:59:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:59:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:59:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759280640001,"66":28354,"143":206,"27":54528,"24":35,"16":106618783551979520,"45":2878011297150400512},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,27,24,16,45]} 
[2026-04-17 10:59:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:59:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:59:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759280640001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:59:17] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-04-17 10:59:17] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-04-17 10:59:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:59:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2878011297150400512,"description":"Unknown IO ID 45"} 
[2026-04-17 10:59:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759280640001,"power":28354,"unknown_143":206,"unknown_27":54528,"ignition":35,"odometer":null,"unknown_45":2878011297150400512}} 
[2026-04-17 10:59:17] local.INFO: TCP Data received {"connection_id":45783,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:59:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:59:17] local.INFO: Processing buffer {"connection_id":45783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:59:17] local.INFO: IMEI packet received {"connection_id":45783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 10:59:17] local.INFO: IMEI acknowledgment sent {"connection_id":45783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:59:17] local.INFO: DEBUG: GPS processor result {"connection_id":46549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20704,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:59:17] local.INFO: GPS data processed {"connection_id":46549,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:59:17] local.INFO: Acknowledgment sent {"connection_id":46549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:59:21] local.INFO: TCP Data received {"connection_id":46549,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e5f208012d28468006c1cfd80010008631..."} 
[2026-04-17 10:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e5f208012d28468006c1cfd80010008631..."} 
[2026-04-17 10:59:21] local.INFO: Processing buffer {"connection_id":46549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e5f208012d28468006c1cfd80010008631..."} 
[2026-04-17 10:59:21] local.INFO: Packet analysis {"connection_id":46549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e5"} 
[2026-04-17 10:59:21] local.INFO: Extracted packet for processing {"connection_id":46549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e5"} 
[2026-04-17 10:59:21] local.INFO: GPS Element Parsed {"raw_longitude":757614208,"raw_latitude":113364952,"longitude_deg":75.7614208,"latitude_deg":11.3364952,"altitude":16,"angle":134,"satellites":49,"speed":0,"hex_longitude":"2d284680","hex_latitude":"06c1cfd8","is_valid_coordinates":true} 
[2026-04-17 10: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-04-17 10:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759284736001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 10:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2889833246168453120,"note":"Value kept but may cause issues"} 
[2026-04-17 10:59:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,143,27,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776403477000,"timestamp_ms":1776403477000,"timestamp_seconds":1776403477,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e5f208"} 
[2026-04-17 10:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:59: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-04-17 10: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 10:59:21] 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-04-17 10: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-04-17 10:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46549,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 10:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 10:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 10:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759284736001,"66":28354,"143":206,"27":54528,"24":0,"16":106618783551979520,"45":2889833246168453120},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,143,27,24,16,45]} 
[2026-04-17 10:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 10:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 10:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759284736001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:59:21] local.INFO: Unknown IO ID detected {"io_id":143,"value":206,"description":"Unknown IO ID 143"} 
[2026-04-17 10:59:21] local.INFO: Unknown IO ID detected {"io_id":27,"value":54528,"description":"Unknown IO ID 27"} 
[2026-04-17 10:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2889833246168453120,"description":"Unknown IO ID 45"} 
[2026-04-17 10:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759284736001,"power":28354,"unknown_143":206,"unknown_27":54528,"ignition":0,"odometer":null,"unknown_45":2889833246168453120}} 
[2026-04-17 10:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":46549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20705,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:59:21] local.INFO: GPS data processed {"connection_id":46549,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:59:21] local.INFO: Acknowledgment sent {"connection_id":46549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:59:22] local.INFO: TCP Data received {"connection_id":45783,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:59:22] local.INFO: Processing buffer {"connection_id":45783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 10:59:22] local.INFO: IMEI packet received {"connection_id":45783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 10:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":45783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:59:24] local.INFO: TCP Data received {"connection_id":45783,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e94d68012cffabc007013128000801251d..."} 
[2026-04-17 10:59:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e94d68012cffabc007013128000801251d..."} 
[2026-04-17 10:59:24] local.INFO: Processing buffer {"connection_id":45783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e94d68012cffabc007013128000801251d..."} 
[2026-04-17 10:59:24] local.INFO: Packet analysis {"connection_id":45783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e9"} 
[2026-04-17 10:59:24] local.INFO: Extracted packet for processing {"connection_id":45783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e9"} 
[2026-04-17 10:59:24] local.INFO: GPS Element Parsed {"raw_longitude":754953152,"raw_latitude":117518632,"longitude_deg":75.4953152,"latitude_deg":11.7518632,"altitude":8,"angle":293,"satellites":29,"speed":19,"hex_longitude":"2cffabc0","hex_latitude":"07013128","is_valid_coordinates":true} 
[2026-04-17 10:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:59:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759346176001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:59:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113352974444527616,"note":"Value kept but may cause issues"} 
[2026-04-17 10:59:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-23151286749726720,"note":"Value kept but may cause issues"} 
[2026-04-17 10:59:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 10:59:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776403697000,"timestamp_ms":1776403697000,"timestamp_seconds":1776403697,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e94d68"} 
[2026-04-17 10:59:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:59:24] 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-04-17 10:59:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 10:59:24] 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-04-17 10:59:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:59:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:59:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:59:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:59:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:59:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:59:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:59:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:59:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:59:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759346176001,"66":14407,"24":19,"28":32256,"16":113352974444527616,"44":-23151286749726720},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 10:59:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:59:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:59:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759346176001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:59:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:59:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113352974444527616,"km_value":113352974444527.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:59:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-23151286749726720,"description":"Unknown IO ID 44"} 
[2026-04-17 10:59:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759346176001,"power":14407,"ignition":19,"unknown_28":32256,"odometer":null,"unknown_44":-23151286749726720}} 
[2026-04-17 10:59:24] local.INFO: DEBUG: GPS processor result {"connection_id":45783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20706,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:59:24] local.INFO: GPS data processed {"connection_id":45783,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:59:24] local.INFO: Acknowledgment sent {"connection_id":45783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:59:51] local.INFO: TCP Data received {"connection_id":46550,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:59:51] local.INFO: Processing buffer {"connection_id":46550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:59:51] local.INFO: IMEI packet received {"connection_id":46550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 10:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":46550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 10:59:55] local.INFO: TCP Data received {"connection_id":45783,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e95150012cffaa8007013240000901321e..."} 
[2026-04-17 10:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e95150012cffaa8007013240000901321e..."} 
[2026-04-17 10:59:55] local.INFO: Processing buffer {"connection_id":45783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e95150012cffaa8007013240000901321e..."} 
[2026-04-17 10:59:55] local.INFO: Packet analysis {"connection_id":45783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e9"} 
[2026-04-17 10:59:55] local.INFO: Extracted packet for processing {"connection_id":45783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e9"} 
[2026-04-17 10:59:55] local.INFO: GPS Element Parsed {"raw_longitude":754952832,"raw_latitude":117518912,"longitude_deg":75.4952832,"latitude_deg":11.7518912,"altitude":9,"angle":306,"satellites":30,"speed":18,"hex_longitude":"2cffaa80","hex_latitude":"07013240","is_valid_coordinates":true} 
[2026-04-17 10:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:59:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759346432001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:59:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113352995919364096,"note":"Value kept but may cause issues"} 
[2026-04-17 10:59:55] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-23714236703102976,"note":"Value kept but may cause issues"} 
[2026-04-17 10:59:55] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 10:59:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776403698000,"timestamp_ms":1776403698000,"timestamp_seconds":1776403698,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e95150"} 
[2026-04-17 10:59:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:59:55] 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-04-17 10:59:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 10:59:55] 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-04-17 10:59:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:59:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:59:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:59:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:59:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:59:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 10:59:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:59:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 10:59:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 10:59:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759346432001,"66":14363,"24":18,"28":32256,"16":113352995919364096,"44":-23714236703102976},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 10:59:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 10:59:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 10:59:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759346432001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:59:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 10:59:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113352995919364096,"km_value":113352995919364.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:59:55] local.INFO: Unknown IO ID detected {"io_id":44,"value":-23714236703102976,"description":"Unknown IO ID 44"} 
[2026-04-17 10:59:55] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759346432001,"power":14363,"ignition":18,"unknown_28":32256,"odometer":null,"unknown_44":-23714236703102976}} 
[2026-04-17 10:59:55] local.INFO: DEBUG: GPS processor result {"connection_id":45783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:59:55] local.INFO: GPS data processed {"connection_id":45783,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:59:55] local.INFO: Acknowledgment sent {"connection_id":45783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 10:59:56] local.INFO: TCP Data received {"connection_id":46550,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46550,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:59:56] local.INFO: Processing buffer {"connection_id":46550,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 10:59:56] local.INFO: IMEI packet received {"connection_id":46550,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 10:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":46550,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 10:59:57] local.INFO: TCP Data received {"connection_id":46550,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e66f08012d7fa4c005afd8480003004e25..."} 
[2026-04-17 10:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e66f08012d7fa4c005afd8480003004e25..."} 
[2026-04-17 10:59:57] local.INFO: Processing buffer {"connection_id":46550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e66f08012d7fa4c005afd8480003004e25..."} 
[2026-04-17 10:59:57] local.INFO: Packet analysis {"connection_id":46550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:59:57] local.INFO: Extracted packet for processing {"connection_id":46550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 10:59:57] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95410248,"longitude_deg":76.3339968,"latitude_deg":9.5410248,"altitude":3,"angle":78,"satellites":37,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd848","is_valid_coordinates":true} 
[2026-04-17 10:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 10:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759296768001,"note":"Value kept but may cause issues"} 
[2026-04-17 10:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 10:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196772675980722176,"note":"Value kept but may cause issues"} 
[2026-04-17 10:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 10:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776403509000,"timestamp_ms":1776403509000,"timestamp_seconds":1776403509,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e66f08"} 
[2026-04-17 10:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 10:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 10:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 10:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1859,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 10:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 10:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 10:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 10:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 10:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 10:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 10:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 10:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 10:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759296768001,"66":27180,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9196772675980722176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 10:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 10:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 10:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759296768001,"description":"Unknown IO ID 0"} 
[2026-04-17 10:59:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 10:59:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 10:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 10:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196772675980722176,"description":"Unknown IO ID 45"} 
[2026-04-17 10:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759296768001,"power":27180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196772675980722176}} 
[2026-04-17 10:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":46550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 10:59:57] local.INFO: GPS data processed {"connection_id":46550,"processed":1,"errors":0,"total":1} 
[2026-04-17 10:59:57] local.INFO: Acknowledgment sent {"connection_id":46550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:00:05] local.INFO: TCP Data received {"connection_id":46551,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:00:05] local.INFO: Processing buffer {"connection_id":46551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:00:05] local.INFO: IMEI packet received {"connection_id":46551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:00:05] local.INFO: IMEI acknowledgment sent {"connection_id":46551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:00:10] local.INFO: TCP Data received {"connection_id":46551,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46551,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:00:10] local.INFO: Processing buffer {"connection_id":46551,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:00:10] local.INFO: IMEI packet received {"connection_id":46551,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:00:10] local.INFO: IMEI acknowledgment sent {"connection_id":46551,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:00:12] local.INFO: TCP Data received {"connection_id":46551,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e64410012d28738006c1a1f80012008830..."} 
[2026-04-17 11:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e64410012d28738006c1a1f80012008830..."} 
[2026-04-17 11:00:12] local.INFO: Processing buffer {"connection_id":46551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e64410012d28738006c1a1f80012008830..."} 
[2026-04-17 11:00:12] local.INFO: Packet analysis {"connection_id":46551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 11:00:12] local.INFO: Extracted packet for processing {"connection_id":46551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 11:00:12] local.INFO: GPS Element Parsed {"raw_longitude":757625728,"raw_latitude":113353208,"longitude_deg":75.7625728,"latitude_deg":11.3353208,"altitude":18,"angle":136,"satellites":48,"speed":32,"hex_longitude":"2d287380","hex_latitude":"06c1a1f8","is_valid_coordinates":true} 
[2026-04-17 11:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:00:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759290112001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2902147776396646400,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:00:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776403498000,"timestamp_ms":1776403498000,"timestamp_seconds":1776403498,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e64410"} 
[2026-04-17 11:00:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:00:12] 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-04-17 11:00:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:00: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-04-17 11:00:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:00:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:00:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:00:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:00:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:00:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:00:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:00:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:00:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:00:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759290112001,"66":28332,"105":206,"2":57088,"24":32,"16":106618783551979520,"45":2902147776396646400},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,45]} 
[2026-04-17 11:00:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:00:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:00:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759290112001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:00:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 11:00:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:00:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2902147776396646400,"description":"Unknown IO ID 45"} 
[2026-04-17 11:00:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759290112001,"power":28332,"unknown_105":206,"power_alt":57088,"ignition":32,"odometer":null,"unknown_45":2902147776396646400}} 
[2026-04-17 11:00:12] local.INFO: DEBUG: GPS processor result {"connection_id":46551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20709,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:00:12] local.INFO: GPS data processed {"connection_id":46551,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:00:12] local.INFO: Acknowledgment sent {"connection_id":46551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:00:15] local.INFO: TCP Data received {"connection_id":46551,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e69618012d28a64006c16c50000f008830..."} 
[2026-04-17 11:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e69618012d28a64006c16c50000f008830..."} 
[2026-04-17 11:00:15] local.INFO: Processing buffer {"connection_id":46551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e69618012d28a64006c16c50000f008830..."} 
[2026-04-17 11:00:15] local.INFO: Packet analysis {"connection_id":46551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 11:00:15] local.INFO: Extracted packet for processing {"connection_id":46551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 11:00:15] local.INFO: GPS Element Parsed {"raw_longitude":757638720,"raw_latitude":113339472,"longitude_deg":75.763872,"latitude_deg":11.3339472,"altitude":15,"angle":136,"satellites":48,"speed":0,"hex_longitude":"2d28a640","hex_latitude":"06c16c50","is_valid_coordinates":true} 
[2026-04-17 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-04-17 11:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759295488001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2914814150345619456,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776403519000,"timestamp_ms":1776403519000,"timestamp_seconds":1776403519,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e69618"} 
[2026-04-17 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-04-17 11:00: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-04-17 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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-17 11:00:15] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 11:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":46551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":46551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":46551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759295488001,"66":28376,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2914814150345619456},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759295488001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:00:15] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":2914814150345619456,"description":"Unknown IO ID 45"} 
[2026-04-17 11:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759295488001,"power":28376,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2914814150345619456}} 
[2026-04-17 11:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":46551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20710,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:00:15] local.INFO: GPS data processed {"connection_id":46551,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:00:15] local.INFO: Acknowledgment sent {"connection_id":46551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:00:22] local.INFO: TCP Data received {"connection_id":45784,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:00:22] local.INFO: Processing buffer {"connection_id":45784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:00:22] local.INFO: IMEI packet received {"connection_id":45784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":45784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:00:23] local.INFO: TCP Data received {"connection_id":45784,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:00:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:00:23] local.INFO: Processing buffer {"connection_id":45784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:00:23] local.INFO: IMEI packet received {"connection_id":45784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:00:23] local.INFO: IMEI acknowledgment sent {"connection_id":45784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:00:25] local.INFO: TCP Data received {"connection_id":45784,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e95538012cffa900070133a80009013f1d..."} 
[2026-04-17 11:00:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e95538012cffa900070133a80009013f1d..."} 
[2026-04-17 11:00:25] local.INFO: Processing buffer {"connection_id":45784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e95538012cffa900070133a80009013f1d..."} 
[2026-04-17 11:00:25] local.INFO: Packet analysis {"connection_id":45784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e9"} 
[2026-04-17 11:00:25] local.INFO: Extracted packet for processing {"connection_id":45784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e9"} 
[2026-04-17 11:00:25] local.INFO: GPS Element Parsed {"raw_longitude":754952448,"raw_latitude":117519272,"longitude_deg":75.4952448,"latitude_deg":11.7519272,"altitude":9,"angle":319,"satellites":29,"speed":19,"hex_longitude":"2cffa900","hex_latitude":"070133a8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:00:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759346688001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113353017394200576,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:25] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-24066080423919616,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:25] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:00:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776403699000,"timestamp_ms":1776403699000,"timestamp_seconds":1776403699,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e95538"} 
[2026-04-17 11:00:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:00: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-04-17 11: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-17 11:00:25] 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-04-17 11:00:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:00:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:00:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:00:25] local.INFO: Teltonika packet parsed successfully {"connection_id":45784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:00:25] local.INFO: Passing IMEI to GPS processor {"connection_id":45784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:00:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":45784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:00:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:00:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:00:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:00:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759346688001,"66":14363,"24":19,"28":32256,"16":113353017394200576,"44":-24066080423919616},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 11:00:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:00:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:00:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759346688001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:00:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:00:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113353017394200576,"km_value":113353017394200.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:00:25] local.INFO: Unknown IO ID detected {"io_id":44,"value":-24066080423919616,"description":"Unknown IO ID 44"} 
[2026-04-17 11:00:25] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759346688001,"power":14363,"ignition":19,"unknown_28":32256,"odometer":null,"unknown_44":-24066080423919616}} 
[2026-04-17 11:00:25] local.INFO: DEBUG: GPS processor result {"connection_id":45784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:00:25] local.INFO: GPS data processed {"connection_id":45784,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:00:25] local.INFO: Acknowledgment sent {"connection_id":45784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:00:28] local.INFO: TCP Data received {"connection_id":45784,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e993b8012cff92c007015028000601451f..."} 
[2026-04-17 11:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e993b8012cff92c007015028000601451f..."} 
[2026-04-17 11:00:28] local.INFO: Processing buffer {"connection_id":45784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e993b8012cff92c007015028000601451f..."} 
[2026-04-17 11:00:28] local.INFO: Packet analysis {"connection_id":45784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e9"} 
[2026-04-17 11:00:28] local.INFO: Extracted packet for processing {"connection_id":45784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e9"} 
[2026-04-17 11:00:28] local.INFO: GPS Element Parsed {"raw_longitude":754946752,"raw_latitude":117526568,"longitude_deg":75.4946752,"latitude_deg":11.7526568,"altitude":6,"angle":325,"satellites":31,"speed":13,"hex_longitude":"2cff92c0","hex_latitude":"07015028","is_valid_coordinates":true} 
[2026-04-17 11:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759346944001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113353464070799360,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-24488292888893440,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776403715000,"timestamp_ms":1776403715000,"timestamp_seconds":1776403715,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e993b8"} 
[2026-04-17 11:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:00: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-04-17 11:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-17 11:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759346944001,"66":13820,"24":13,"28":32256,"16":113353464070799360,"44":-24488292888893440},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 11:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759346944001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:00:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113353464070799360,"km_value":113353464070799.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:00:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-24488292888893440,"description":"Unknown IO ID 44"} 
[2026-04-17 11:00:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759346944001,"power":13820,"ignition":13,"unknown_28":32256,"odometer":null,"unknown_44":-24488292888893440}} 
[2026-04-17 11:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":45784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:00:28] local.INFO: GPS data processed {"connection_id":45784,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:00:28] local.INFO: Acknowledgment sent {"connection_id":45784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:00:28] local.INFO: TCP Data received {"connection_id":46550,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e66f08012d7fa4c005afd8480003004e25..."} 
[2026-04-17 11:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46550,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e66f08012d7fa4c005afd8480003004e25..."} 
[2026-04-17 11:00:28] local.INFO: Processing buffer {"connection_id":46550,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e66f08012d7fa4c005afd8480003004e25..."} 
[2026-04-17 11:00:28] local.INFO: Packet analysis {"connection_id":46550,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 11:00:28] local.INFO: Extracted packet for processing {"connection_id":46550,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 11:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763339968,"raw_latitude":95410248,"longitude_deg":76.3339968,"latitude_deg":9.5410248,"altitude":3,"angle":78,"satellites":37,"speed":0,"hex_longitude":"2d7fa4c0","hex_latitude":"05afd848","is_valid_coordinates":true} 
[2026-04-17 11:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759296768001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196772675980722176,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776403509000,"timestamp_ms":1776403509000,"timestamp_seconds":1776403509,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e66f08"} 
[2026-04-17 11:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 11:00:28] 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-04-17 11:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46550,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46550,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:00:28] 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-04-17 11:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759296768001,"66":27180,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9196772675980722176},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759296768001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:00:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:00:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196772675980722176,"description":"Unknown IO ID 45"} 
[2026-04-17 11:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759296768001,"power":27180,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196772675980722176}} 
[2026-04-17 11:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":46550,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:00:28] local.INFO: GPS data processed {"connection_id":46550,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:00:28] local.INFO: Acknowledgment sent {"connection_id":46550,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:00:49] local.INFO: TCP Data received {"connection_id":46551,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e6e820012d28de8006c132f8000b008730..."} 
[2026-04-17 11:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e6e820012d28de8006c132f8000b008730..."} 
[2026-04-17 11:00:49] local.INFO: Processing buffer {"connection_id":46551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e6e820012d28de8006c132f8000b008730..."} 
[2026-04-17 11:00:49] local.INFO: Packet analysis {"connection_id":46551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 11:00:49] local.INFO: Extracted packet for processing {"connection_id":46551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e6"} 
[2026-04-17 11:00:49] local.INFO: GPS Element Parsed {"raw_longitude":757653120,"raw_latitude":113324792,"longitude_deg":75.765312,"latitude_deg":11.3324792,"altitude":11,"angle":135,"satellites":48,"speed":0,"hex_longitude":"2d28de80","hex_latitude":"06c132f8","is_valid_coordinates":true} 
[2026-04-17 11:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759300864001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2929099005410168832,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776403540000,"timestamp_ms":1776403540000,"timestamp_seconds":1776403540,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e6e820"} 
[2026-04-17 11:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:00: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-04-17 11:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 11:00:49] 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-04-17 11:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":46551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":46551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":46551,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759300864001,"66":28354,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2929099005410168832},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759300864001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:00:49] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2929099005410168832,"description":"Unknown IO ID 45"} 
[2026-04-17 11:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759300864001,"power":28354,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2929099005410168832}} 
[2026-04-17 11:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":46551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20714,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:00:49] local.INFO: GPS data processed {"connection_id":46551,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:00:49] local.INFO: Acknowledgment sent {"connection_id":46551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:00:51] local.INFO: TCP Data received {"connection_id":45707,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:00:51] local.INFO: Processing buffer {"connection_id":45707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:00:51] local.INFO: IMEI packet received {"connection_id":45707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":45707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:00:56] local.INFO: TCP Data received {"connection_id":45707,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45707,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:00:56] local.INFO: Processing buffer {"connection_id":45707,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:00:56] local.INFO: IMEI packet received {"connection_id":45707,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":45707,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:00:57] local.INFO: TCP Data received {"connection_id":45707,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:00:57] local.INFO: Processing buffer {"connection_id":45707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:00:57] local.INFO: Packet analysis {"connection_id":45707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:00:57] local.INFO: Extracted packet for processing {"connection_id":45707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:00:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759298304001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654951936,"note":"Value kept but may cause issues"} 
[2026-04-17 11:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776403810000,"timestamp_ms":1776403810000,"timestamp_seconds":1776403810,"priority":1,"record_length":96,"hex_timestamp":"0000019d99eb06d0"} 
[2026-04-17 11:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-17 11:00:57] 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-04-17 11:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:00:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759298304001,"66":26082,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9197687469654951936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759298304001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:00:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:00:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654951936,"description":"Unknown IO ID 45"} 
[2026-04-17 11:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759298304001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654951936}} 
[2026-04-17 11:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":45707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:00:57] local.INFO: GPS data processed {"connection_id":45707,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:00:57] local.INFO: Acknowledgment sent {"connection_id":45707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:01:00] local.INFO: TCP Data received {"connection_id":45784,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e9beb0012cff8fc007015248000600eb21..."} 
[2026-04-17 11:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e9beb0012cff8fc007015248000600eb21..."} 
[2026-04-17 11:01:00] local.INFO: Processing buffer {"connection_id":45784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e9beb0012cff8fc007015248000600eb21..."} 
[2026-04-17 11:01:00] local.INFO: Packet analysis {"connection_id":45784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e9"} 
[2026-04-17 11:01:00] local.INFO: Extracted packet for processing {"connection_id":45784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e9"} 
[2026-04-17 11:01:00] local.INFO: GPS Element Parsed {"raw_longitude":754945984,"raw_latitude":117527112,"longitude_deg":75.4945984,"latitude_deg":11.7527112,"altitude":6,"angle":235,"satellites":33,"speed":7,"hex_longitude":"2cff8fc0","hex_latitude":"07015248","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759351040001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113353524200341504,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:00] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-30751111118837760,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:00] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776403726000,"timestamp_ms":1776403726000,"timestamp_seconds":1776403726,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e9beb0"} 
[2026-04-17 11:01:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:01: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-04-17 11: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-17 11:01:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:01:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759351040001,"66":12558,"24":7,"28":32256,"16":113353524200341504,"44":-30751111118837760},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 11:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759351040001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:01:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113353524200341504,"km_value":113353524200341.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:01:00] local.INFO: Unknown IO ID detected {"io_id":44,"value":-30751111118837760,"description":"Unknown IO ID 44"} 
[2026-04-17 11:01:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759351040001,"power":12558,"ignition":7,"unknown_28":32256,"odometer":null,"unknown_44":-30751111118837760}} 
[2026-04-17 11:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":45784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20716,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:01:00] local.INFO: GPS data processed {"connection_id":45784,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:01:00] local.INFO: Acknowledgment sent {"connection_id":45784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:01:05] local.INFO: TCP Data received {"connection_id":45785,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:01:05] local.INFO: Processing buffer {"connection_id":45785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:01:05] local.INFO: IMEI packet received {"connection_id":45785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":45785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:01:10] local.INFO: TCP Data received {"connection_id":45785,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45785,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:01:10] local.INFO: Processing buffer {"connection_id":45785,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:01:10] local.INFO: IMEI packet received {"connection_id":45785,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":45785,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:01:12] local.INFO: TCP Data received {"connection_id":45785,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e7cab00100000000000000000000000000..."} 
[2026-04-17 11:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e7cab00100000000000000000000000000..."} 
[2026-04-17 11:01:12] local.INFO: Processing buffer {"connection_id":45785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e7cab00100000000000000000000000000..."} 
[2026-04-17 11:01:12] local.INFO: Packet analysis {"connection_id":45785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e7"} 
[2026-04-17 11:01:12] local.INFO: Extracted packet for processing {"connection_id":45785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e7"} 
[2026-04-17 11:01: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-04-17 11:01: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-04-17 11:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759306240001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2944931972846385152,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776403598000,"timestamp_ms":1776403598000,"timestamp_seconds":1776403598,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e7cab0"} 
[2026-04-17 11:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:01:12] 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-04-17 11:01:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:01: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-04-17 11:01:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":45785,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 11:01:12] local.INFO: GPS data processed {"connection_id":45785,"processed":0,"errors":0,"total":1} 
[2026-04-17 11:01:12] local.INFO: Acknowledgment sent {"connection_id":45785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:01:17] local.INFO: TCP Data received {"connection_id":45786,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:01:17] local.INFO: Processing buffer {"connection_id":45786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:01:17] local.INFO: IMEI packet received {"connection_id":45786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:01:17] local.INFO: IMEI acknowledgment sent {"connection_id":45786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:01:22] local.INFO: TCP Data received {"connection_id":45786,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45786,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:01:22] local.INFO: Processing buffer {"connection_id":45786,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:01:22] local.INFO: IMEI packet received {"connection_id":45786,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":45786,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:01:24] local.INFO: TCP Data received {"connection_id":45786,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e9e9a8012cff848007014810000500da20..."} 
[2026-04-17 11:01:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e9e9a8012cff848007014810000500da20..."} 
[2026-04-17 11:01:24] local.INFO: Processing buffer {"connection_id":45786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e9e9a8012cff848007014810000500da20..."} 
[2026-04-17 11:01:24] local.INFO: Packet analysis {"connection_id":45786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e9"} 
[2026-04-17 11:01:24] local.INFO: Extracted packet for processing {"connection_id":45786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e9"} 
[2026-04-17 11:01:24] local.INFO: GPS Element Parsed {"raw_longitude":754943104,"raw_latitude":117524496,"longitude_deg":75.4943104,"latitude_deg":11.7524496,"altitude":5,"angle":218,"satellites":32,"speed":15,"hex_longitude":"2cff8480","hex_latitude":"07014810","is_valid_coordinates":true} 
[2026-04-17 11:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759353856001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113353713178902528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-31595536048830464,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:01:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776403737000,"timestamp_ms":1776403737000,"timestamp_seconds":1776403737,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e9e9a8"} 
[2026-04-17 11:01:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:01:24] 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-04-17 11:01:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 11:01:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428991,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:24] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2582193752,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":4289445895,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:24] local.WARNING: Large IO value detected {"io_id":181,"raw_value":4076863488,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:24] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3242565343545210408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:24] local.WARNING: Large IO value detected {"io_id":153,"raw_value":3914164225,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:24] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3927441614,"corrected_to":0} 
[2026-04-17 11:01:24] local.WARNING: Large IO value detected {"io_id":73,"raw_value":2147560703,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:24] local.WARNING: Large IO value detected {"io_id":173,"raw_value":3221684528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:24] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3051880448,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:24] local.WARNING: Large IO value detected {"io_id":32,"raw_value":563985040580120,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:24] local.WARNING: Large IO value detected {"io_id":234,"raw_value":1729608878678611968,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:24] local.WARNING: Large IO value detected {"io_id":58,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:24] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2053078583208378370,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:24] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,24,28,241,158,16,182,157,147,44,192,80,6,31,10,66,85,51,9,29,181,81,128,1,240,27,153,4,113,205,19,73,173,120,239,56,2,146,7,32,234,58,206],"length":575,"final_offset":705,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3927441614,"validated":0}]} 
[2026-04-17 11:01:24] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":432604091194474496,"timestamp_seconds":432604091194474.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 11:01:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:01:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:01:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:01:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:01:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:01:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:01:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:01:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:01:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759353856001,"66":13004,"24":15,"28":32256,"16":113353713178902528,"44":-31595536048830464},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 11:01:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:01:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:01:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759353856001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:01:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:01:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113353713178902528,"km_value":113353713178902.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:01:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-31595536048830464,"description":"Unknown IO ID 44"} 
[2026-04-17 11:01:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759353856001,"power":13004,"ignition":15,"unknown_28":32256,"odometer":null,"unknown_44":-31595536048830464}} 
[2026-04-17 11:01:24] local.INFO: DEBUG: GPS processor result {"connection_id":45786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:01:24] local.INFO: GPS data processed {"connection_id":45786,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:01:24] local.INFO: Acknowledgment sent {"connection_id":45786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:01:28] local.INFO: TCP Data received {"connection_id":45707,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45707,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:01:28] local.INFO: Processing buffer {"connection_id":45707,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:01:28] local.INFO: Packet analysis {"connection_id":45707,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:01:28] local.INFO: Extracted packet for processing {"connection_id":45707,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:01:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759298304001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654951936,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776403810000,"timestamp_ms":1776403810000,"timestamp_seconds":1776403810,"priority":1,"record_length":96,"hex_timestamp":"0000019d99eb06d0"} 
[2026-04-17 11:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-17 11:01:28] 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-04-17 11:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45707,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45707,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759298304001,"66":26082,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9197687469654951936},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759298304001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:01:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:01:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654951936,"description":"Unknown IO ID 45"} 
[2026-04-17 11:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759298304001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654951936}} 
[2026-04-17 11:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":45707,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:01:28] local.INFO: GPS data processed {"connection_id":45707,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:01:28] local.INFO: Acknowledgment sent {"connection_id":45707,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:01:46] local.INFO: TCP Data received {"connection_id":45785,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99e71700012d29160006c0fa38000a008730..."} 
[2026-04-17 11:01:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99e71700012d29160006c0fa38000a008730..."} 
[2026-04-17 11:01:46] local.INFO: Processing buffer {"connection_id":45785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99e71700012d29160006c0fa38000a008730..."} 
[2026-04-17 11:01:46] local.INFO: Packet analysis {"connection_id":45785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99e7"} 
[2026-04-17 11:01:46] local.INFO: Extracted packet for processing {"connection_id":45785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99e7"} 
[2026-04-17 11:01:46] local.INFO: GPS Element Parsed {"raw_longitude":757667328,"raw_latitude":113310264,"longitude_deg":75.7667328,"latitude_deg":11.3310264,"altitude":10,"angle":135,"satellites":48,"speed":44,"hex_longitude":"2d291600","hex_latitude":"06c0fa38","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:01:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,76,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:01:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776403552000,"timestamp_ms":1776403552000,"timestamp_seconds":1776403552,"priority":1,"record_length":96,"hex_timestamp":"0000019d99e71700"} 
[2026-04-17 11:01:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:01:46] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 11:01:46] 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-04-17 11: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-04-17 11:01:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:01:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:01:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:01:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:01:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45785,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:01:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:01:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:01:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:01:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28452,"76":206,"2":57088,"24":44,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16]} 
[2026-04-17 11:01:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:01:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:01:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 11:01:46] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:01:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:01:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28452,"unknown_76":206,"power_alt":57088,"ignition":44,"odometer":null}} 
[2026-04-17 11:01:47] local.INFO: DEBUG: GPS processor result {"connection_id":45785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20719,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:01:47] local.INFO: GPS data processed {"connection_id":45785,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:01:47] local.INFO: Acknowledgment sent {"connection_id":45785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:01:51] local.INFO: TCP Data received {"connection_id":45787,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:01:51] local.INFO: Processing buffer {"connection_id":45787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:01:51] local.INFO: IMEI packet received {"connection_id":45787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":45787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:01:56] local.INFO: TCP Data received {"connection_id":45786,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ebe960012cff758007014f600006009225..."} 
[2026-04-17 11:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ebe960012cff758007014f600006009225..."} 
[2026-04-17 11:01:56] local.INFO: Processing buffer {"connection_id":45786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ebe960012cff758007014f600006009225..."} 
[2026-04-17 11:01:56] local.INFO: Packet analysis {"connection_id":45786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:01:56] local.INFO: Extracted packet for processing {"connection_id":45786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:01:56] local.INFO: GPS Element Parsed {"raw_longitude":754939264,"raw_latitude":117526368,"longitude_deg":75.4939264,"latitude_deg":11.7526368,"altitude":6,"angle":146,"satellites":37,"speed":13,"hex_longitude":"2cff7580","hex_latitude":"07014f60","is_valid_coordinates":true} 
[2026-04-17 11:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759389952001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113354056776286208,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-39124991675965440,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776403868000,"timestamp_ms":1776403868000,"timestamp_seconds":1776403868,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ebe960"} 
[2026-04-17 11:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-17 11:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1850,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45786,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759389952001,"66":14233,"24":13,"28":32256,"16":113354056776286208,"44":-39124991675965440},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 11:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759389952001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:01:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113354056776286208,"km_value":113354056776286.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:01:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-39124991675965440,"description":"Unknown IO ID 44"} 
[2026-04-17 11:01:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759389952001,"power":14233,"ignition":13,"unknown_28":32256,"odometer":null,"unknown_44":-39124991675965440}} 
[2026-04-17 11:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":45786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20720,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:01:56] local.INFO: GPS data processed {"connection_id":45786,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:01:56] local.INFO: Acknowledgment sent {"connection_id":45786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:01:56] local.INFO: TCP Data received {"connection_id":45787,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45787,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:01:56] local.INFO: Processing buffer {"connection_id":45787,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:01:56] local.INFO: IMEI packet received {"connection_id":45787,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":45787,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:01:57] local.INFO: TCP Data received {"connection_id":45787,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:01:57] local.INFO: Processing buffer {"connection_id":45787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:01:57] local.INFO: Packet analysis {"connection_id":45787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:01:57] local.INFO: Extracted packet for processing {"connection_id":45787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:01:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759298304001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654951936,"note":"Value kept but may cause issues"} 
[2026-04-17 11:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776403810000,"timestamp_ms":1776403810000,"timestamp_seconds":1776403810,"priority":1,"record_length":96,"hex_timestamp":"0000019d99eb06d0"} 
[2026-04-17 11:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-17 11:01:57] 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-04-17 11: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-04-17 11:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759298304001,"66":26082,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9197687469654951936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759298304001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:01:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:01:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654951936,"description":"Unknown IO ID 45"} 
[2026-04-17 11:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759298304001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654951936}} 
[2026-04-17 11:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":45787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:01:57] local.INFO: GPS data processed {"connection_id":45787,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:01:57] local.INFO: Acknowledgment sent {"connection_id":45787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:02:05] local.INFO: TCP Data received {"connection_id":45708,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:02:05] local.INFO: Processing buffer {"connection_id":45708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:02:05] local.INFO: IMEI packet received {"connection_id":45708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":45708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:02:10] local.INFO: TCP Data received {"connection_id":45708,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45708,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:02:10] local.INFO: Processing buffer {"connection_id":45708,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:02:10] local.INFO: IMEI packet received {"connection_id":45708,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":45708,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:02:13] local.INFO: TCP Data received {"connection_id":45708,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:02:13] local.INFO: Processing buffer {"connection_id":45708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:02:13] local.INFO: Packet analysis {"connection_id":45708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:02:13] local.INFO: Extracted packet for processing {"connection_id":45708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:02:13] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759309312001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2960553834050107392,"note":"Value kept but may cause issues"} 
[2026-04-17 11:02:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776403853000,"timestamp_ms":1776403853000,"timestamp_seconds":1776403853,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ebaec8"} 
[2026-04-17 11:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 11:02:13] 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-04-17 11: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-04-17 11:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45708,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45708,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759309312001,"66":26430,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2960553834050107392},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759309312001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:02:13] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":2960553834050107392,"description":"Unknown IO ID 45"} 
[2026-04-17 11:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759309312001,"power":26430,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2960553834050107392}} 
[2026-04-17 11:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":45708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20722,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:02:13] local.INFO: GPS data processed {"connection_id":45708,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:02:13] local.INFO: Acknowledgment sent {"connection_id":45708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:02:17] local.INFO: TCP Data received {"connection_id":46552,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:02:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:02:17] local.INFO: Processing buffer {"connection_id":46552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:02:17] local.INFO: IMEI packet received {"connection_id":46552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:02:17] local.INFO: IMEI acknowledgment sent {"connection_id":46552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:02:18] local.INFO: TCP Data received {"connection_id":46552,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:02:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:02:18] local.INFO: Processing buffer {"connection_id":46552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:02:18] local.INFO: IMEI packet received {"connection_id":46552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:02:18] local.INFO: IMEI acknowledgment sent {"connection_id":46552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:02:20] local.INFO: TCP Data received {"connection_id":46552,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46552,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:02:20] local.INFO: Processing buffer {"connection_id":46552,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:02:20] local.INFO: IMEI packet received {"connection_id":46552,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":46552,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:02:21] local.INFO: TCP Data received {"connection_id":46552,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ec04b8012cff7d40070145780007008226..."} 
[2026-04-17 11:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ec04b8012cff7d40070145780007008226..."} 
[2026-04-17 11:02:21] local.INFO: Processing buffer {"connection_id":46552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ec04b8012cff7d40070145780007008226..."} 
[2026-04-17 11:02:21] local.INFO: Packet analysis {"connection_id":46552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ec"} 
[2026-04-17 11:02:21] local.INFO: Extracted packet for processing {"connection_id":46552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ec"} 
[2026-04-17 11:02:21] local.INFO: GPS Element Parsed {"raw_longitude":754941248,"raw_latitude":117523832,"longitude_deg":75.4941248,"latitude_deg":11.7523832,"altitude":7,"angle":130,"satellites":38,"speed":17,"hex_longitude":"2cff7d40","hex_latitude":"07014578","is_valid_coordinates":true} 
[2026-04-17 11:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:02:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759390208001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:02:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113354211395108864,"note":"Value kept but may cause issues"} 
[2026-04-17 11:02:21] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-38984254187675648,"note":"Value kept but may cause issues"} 
[2026-04-17 11:02:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:02:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776403875000,"timestamp_ms":1776403875000,"timestamp_seconds":1776403875,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ec04b8"} 
[2026-04-17 11:02:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:02:21] 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-04-17 11:02:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-17 11:02:21] 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-04-17 11:02:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:02:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:02:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:02:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:02:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:02:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:02:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:02:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:02:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:02:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759390208001,"66":14374,"24":17,"28":32256,"16":113354211395108864,"44":-38984254187675648},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 11:02:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:02:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:02:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759390208001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:02:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:02:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113354211395108864,"km_value":113354211395108.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:02:21] local.INFO: Unknown IO ID detected {"io_id":44,"value":-38984254187675648,"description":"Unknown IO ID 44"} 
[2026-04-17 11:02:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759390208001,"power":14374,"ignition":17,"unknown_28":32256,"odometer":null,"unknown_44":-38984254187675648}} 
[2026-04-17 11:02:22] local.INFO: DEBUG: GPS processor result {"connection_id":46552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20723,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:02:22] local.INFO: GPS data processed {"connection_id":46552,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:02:22] local.INFO: Acknowledgment sent {"connection_id":46552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:02:28] local.INFO: TCP Data received {"connection_id":45787,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:02:28] local.INFO: Processing buffer {"connection_id":45787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:02:28] local.INFO: Packet analysis {"connection_id":45787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:02:28] local.INFO: Extracted packet for processing {"connection_id":45787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:02:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759298304001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654951936,"note":"Value kept but may cause issues"} 
[2026-04-17 11:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776403810000,"timestamp_ms":1776403810000,"timestamp_seconds":1776403810,"priority":1,"record_length":96,"hex_timestamp":"0000019d99eb06d0"} 
[2026-04-17 11:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-17 11:02:28] 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-04-17 11: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-04-17 11:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45787,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759298304001,"66":26082,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9197687469654951936},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759298304001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:02:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:02:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654951936,"description":"Unknown IO ID 45"} 
[2026-04-17 11:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759298304001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654951936}} 
[2026-04-17 11:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":45787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:02:28] local.INFO: GPS data processed {"connection_id":45787,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:02:28] local.INFO: Acknowledgment sent {"connection_id":45787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:02:50] local.INFO: TCP Data received {"connection_id":45708,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:02:50] local.INFO: Processing buffer {"connection_id":45708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:02:50] local.INFO: Packet analysis {"connection_id":45708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:02:50] local.INFO: Extracted packet for processing {"connection_id":45708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:02:50] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:02:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759309312001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:02:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:02:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2960553834050107392,"note":"Value kept but may cause issues"} 
[2026-04-17 11:02:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:02:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776403853000,"timestamp_ms":1776403853000,"timestamp_seconds":1776403853,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ebaec8"} 
[2026-04-17 11:02:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:02:50] 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-04-17 11:02:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 11:02:50] 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-04-17 11:02:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:02:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:02:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:02:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:02:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45708,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:02:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45708,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:02:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:02:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:02:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:02:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759309312001,"66":26430,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2960553834050107392},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:02:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:02:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:02:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759309312001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:02:50] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:02:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:02:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":2960553834050107392,"description":"Unknown IO ID 45"} 
[2026-04-17 11:02:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759309312001,"power":26430,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2960553834050107392}} 
[2026-04-17 11:02:50] local.INFO: DEBUG: GPS processor result {"connection_id":45708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20725,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:02:50] local.INFO: GPS data processed {"connection_id":45708,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:02:50] local.INFO: Acknowledgment sent {"connection_id":45708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:02:51] local.INFO: TCP Data received {"connection_id":45977,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:02:51] local.INFO: Processing buffer {"connection_id":45977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:02:51] local.INFO: IMEI packet received {"connection_id":45977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":45977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:02:53] local.INFO: TCP Data received {"connection_id":46552,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ecc420012cffacc007013380000a007621..."} 
[2026-04-17 11:02:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46552,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ecc420012cffacc007013380000a007621..."} 
[2026-04-17 11:02:53] local.INFO: Processing buffer {"connection_id":46552,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ecc420012cffacc007013380000a007621..."} 
[2026-04-17 11:02:53] local.INFO: Packet analysis {"connection_id":46552,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ec"} 
[2026-04-17 11:02:53] local.INFO: Extracted packet for processing {"connection_id":46552,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ec"} 
[2026-04-17 11:02:53] local.INFO: GPS Element Parsed {"raw_longitude":754953408,"raw_latitude":117519232,"longitude_deg":75.4953408,"latitude_deg":11.7519232,"altitude":10,"angle":118,"satellites":33,"speed":15,"hex_longitude":"2cffacc0","hex_latitude":"07013380","is_valid_coordinates":true} 
[2026-04-17 11:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:02:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759404032001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:02:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113355044618764288,"note":"Value kept but may cause issues"} 
[2026-04-17 11:02:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-24206817912068096,"note":"Value kept but may cause issues"} 
[2026-04-17 11:02:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:02:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776403924000,"timestamp_ms":1776403924000,"timestamp_seconds":1776403924,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ecc420"} 
[2026-04-17 11:02:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:02:53] 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-04-17 11:02:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 11:02:53] 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-04-17 11:02:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:02:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:02:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:02:53] local.INFO: Teltonika packet parsed successfully {"connection_id":46552,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:02:53] local.INFO: Passing IMEI to GPS processor {"connection_id":46552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:02:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":46552,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:02:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:02:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:02:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:02:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759404032001,"66":14515,"24":15,"28":32256,"16":113355044618764288,"44":-24206817912068096},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 11:02:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:02:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:02:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759404032001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:02:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:02:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113355044618764288,"km_value":113355044618764.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:02:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-24206817912068096,"description":"Unknown IO ID 44"} 
[2026-04-17 11:02:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759404032001,"power":14515,"ignition":15,"unknown_28":32256,"odometer":null,"unknown_44":-24206817912068096}} 
[2026-04-17 11:02:53] local.INFO: DEBUG: GPS processor result {"connection_id":46552,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20726,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:02:53] local.INFO: GPS data processed {"connection_id":46552,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:02:53] local.INFO: Acknowledgment sent {"connection_id":46552,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:02:56] local.INFO: TCP Data received {"connection_id":45977,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:02:56] local.INFO: Processing buffer {"connection_id":45977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:02:56] local.INFO: IMEI packet received {"connection_id":45977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":45977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:02:57] local.INFO: TCP Data received {"connection_id":45977,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:02:57] local.INFO: Processing buffer {"connection_id":45977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:02:57] local.INFO: Packet analysis {"connection_id":45977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:02:57] local.INFO: Extracted packet for processing {"connection_id":45977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:02:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759298304001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654951936,"note":"Value kept but may cause issues"} 
[2026-04-17 11:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776403810000,"timestamp_ms":1776403810000,"timestamp_seconds":1776403810,"priority":1,"record_length":96,"hex_timestamp":"0000019d99eb06d0"} 
[2026-04-17 11:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-17 11:02:57] 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-04-17 11:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759298304001,"66":26082,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9197687469654951936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759298304001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:02:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:02:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654951936,"description":"Unknown IO ID 45"} 
[2026-04-17 11:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759298304001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654951936}} 
[2026-04-17 11:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":45977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:02:57] local.INFO: GPS data processed {"connection_id":45977,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:02:57] local.INFO: Acknowledgment sent {"connection_id":45977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:03:10] local.INFO: TCP Data received {"connection_id":45978,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:03:10] local.INFO: Processing buffer {"connection_id":45978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:03:10] local.INFO: IMEI packet received {"connection_id":45978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":45978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:03:15] local.INFO: TCP Data received {"connection_id":45978,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45978,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:03:15] local.INFO: Processing buffer {"connection_id":45978,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:03:15] local.INFO: IMEI packet received {"connection_id":45978,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":45978,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:03:17] local.INFO: TCP Data received {"connection_id":45709,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:03:17] local.INFO: Processing buffer {"connection_id":45709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:03:17] local.INFO: IMEI packet received {"connection_id":45709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:03:17] local.INFO: IMEI acknowledgment sent {"connection_id":45709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:03:17] local.INFO: TCP Data received {"connection_id":45978,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:03:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:03:17] local.INFO: Processing buffer {"connection_id":45978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:03:17] local.INFO: Packet analysis {"connection_id":45978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:03:17] local.INFO: Extracted packet for processing {"connection_id":45978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:03:17] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:03:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759309312001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:03:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:03:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2960553834050107392,"note":"Value kept but may cause issues"} 
[2026-04-17 11:03:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:03:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776403853000,"timestamp_ms":1776403853000,"timestamp_seconds":1776403853,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ebaec8"} 
[2026-04-17 11:03:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:03:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 11:03: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-04-17 11: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-04-17 11:03:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:03:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:03:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:03:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:03:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:03:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:03:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:03:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:03:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759309312001,"66":26430,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2960553834050107392},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:03:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:03:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:03:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759309312001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:03:17] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:03:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:03:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2960553834050107392,"description":"Unknown IO ID 45"} 
[2026-04-17 11:03:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759309312001,"power":26430,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2960553834050107392}} 
[2026-04-17 11:03:18] local.INFO: DEBUG: GPS processor result {"connection_id":45978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20728,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:03:18] local.INFO: GPS data processed {"connection_id":45978,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:03:18] local.INFO: Acknowledgment sent {"connection_id":45978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:03:22] local.INFO: TCP Data received {"connection_id":45709,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45709,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:03:22] local.INFO: Processing buffer {"connection_id":45709,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:03:22] local.INFO: IMEI packet received {"connection_id":45709,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":45709,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:03:24] local.INFO: TCP Data received {"connection_id":45709,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ecc808012cffae4007013310000a006a23..."} 
[2026-04-17 11:03:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ecc808012cffae4007013310000a006a23..."} 
[2026-04-17 11:03:24] local.INFO: Processing buffer {"connection_id":45709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ecc808012cffae4007013310000a006a23..."} 
[2026-04-17 11:03:24] local.INFO: Packet analysis {"connection_id":45709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ec"} 
[2026-04-17 11:03:24] local.INFO: Extracted packet for processing {"connection_id":45709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ec"} 
[2026-04-17 11:03:24] local.INFO: GPS Element Parsed {"raw_longitude":754953792,"raw_latitude":117519120,"longitude_deg":75.4953792,"latitude_deg":11.751912,"altitude":10,"angle":106,"satellites":35,"speed":14,"hex_longitude":"2cffae40","hex_latitude":"07013310","is_valid_coordinates":true} 
[2026-04-17 11:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:03:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759404544001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:03:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113355061798633472,"note":"Value kept but may cause issues"} 
[2026-04-17 11:03:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-23432761726238720,"note":"Value kept but may cause issues"} 
[2026-04-17 11:03:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:03:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776403925000,"timestamp_ms":1776403925000,"timestamp_seconds":1776403925,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ecc808"} 
[2026-04-17 11:03:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:03:24] 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-04-17 11:03:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-17 11:03:24] 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-04-17 11:03:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:03:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:03:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:03:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:03:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:03:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:03:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:03:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:03:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:03:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759404544001,"66":14515,"24":14,"28":32256,"16":113355061798633472,"44":-23432761726238720},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 11:03:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:03:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:03:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759404544001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:03:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:03:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113355061798633472,"km_value":113355061798633.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:03:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-23432761726238720,"description":"Unknown IO ID 44"} 
[2026-04-17 11:03:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759404544001,"power":14515,"ignition":14,"unknown_28":32256,"odometer":null,"unknown_44":-23432761726238720}} 
[2026-04-17 11:03:24] local.INFO: DEBUG: GPS processor result {"connection_id":45709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:03:24] local.INFO: GPS data processed {"connection_id":45709,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:03:24] local.INFO: Acknowledgment sent {"connection_id":45709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:03:28] local.INFO: TCP Data received {"connection_id":45977,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:03:28] local.INFO: Processing buffer {"connection_id":45977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:03:28] local.INFO: Packet analysis {"connection_id":45977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:03:28] local.INFO: Extracted packet for processing {"connection_id":45977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:03:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759298304001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654951936,"note":"Value kept but may cause issues"} 
[2026-04-17 11:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776403810000,"timestamp_ms":1776403810000,"timestamp_seconds":1776403810,"priority":1,"record_length":96,"hex_timestamp":"0000019d99eb06d0"} 
[2026-04-17 11:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-17 11:03:28] 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-04-17 11:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759298304001,"66":26082,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9197687469654951936},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759298304001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:03:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:03:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654951936,"description":"Unknown IO ID 45"} 
[2026-04-17 11:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759298304001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654951936}} 
[2026-04-17 11:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":45977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:03:28] local.INFO: GPS data processed {"connection_id":45977,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:03:28] local.INFO: Acknowledgment sent {"connection_id":45977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:03:49] local.INFO: TCP Data received {"connection_id":45978,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:03:49] local.INFO: Processing buffer {"connection_id":45978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:03:49] local.INFO: Packet analysis {"connection_id":45978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:03:49] local.INFO: Extracted packet for processing {"connection_id":45978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:03:49] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:03:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759309312001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:03:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:03:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2960553834050107392,"note":"Value kept but may cause issues"} 
[2026-04-17 11:03:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:03:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776403853000,"timestamp_ms":1776403853000,"timestamp_seconds":1776403853,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ebaec8"} 
[2026-04-17 11:03:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:03:49] 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-04-17 11:03:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 11:03:49] 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-04-17 11:03:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:03:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:03:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:03:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:03:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:03:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45978,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:03:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:03:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:03:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:03:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759309312001,"66":26430,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2960553834050107392},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:03:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:03:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:03:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759309312001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:03:49] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:03:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:03:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2960553834050107392,"description":"Unknown IO ID 45"} 
[2026-04-17 11:03:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759309312001,"power":26430,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2960553834050107392}} 
[2026-04-17 11:03:49] local.INFO: DEBUG: GPS processor result {"connection_id":45978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20731,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:03:49] local.INFO: GPS data processed {"connection_id":45978,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:03:49] local.INFO: Acknowledgment sent {"connection_id":45978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:03:51] local.INFO: TCP Data received {"connection_id":45979,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:03:51] local.INFO: Processing buffer {"connection_id":45979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:03:51] local.INFO: IMEI packet received {"connection_id":45979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":45979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:03:56] local.INFO: TCP Data received {"connection_id":45979,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:03:56] local.INFO: Processing buffer {"connection_id":45979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:03:56] local.INFO: IMEI packet received {"connection_id":45979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":45979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:03:57] local.INFO: TCP Data received {"connection_id":45709,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99eccfd8012cffb0c0070132b00009005a23..."} 
[2026-04-17 11:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45709,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99eccfd8012cffb0c0070132b00009005a23..."} 
[2026-04-17 11:03:57] local.INFO: Processing buffer {"connection_id":45709,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99eccfd8012cffb0c0070132b00009005a23..."} 
[2026-04-17 11:03:57] local.INFO: Packet analysis {"connection_id":45709,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ec"} 
[2026-04-17 11:03:57] local.INFO: Extracted packet for processing {"connection_id":45709,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ec"} 
[2026-04-17 11:03:57] local.INFO: GPS Element Parsed {"raw_longitude":754954432,"raw_latitude":117519024,"longitude_deg":75.4954432,"latitude_deg":11.7519024,"altitude":9,"angle":90,"satellites":35,"speed":14,"hex_longitude":"2cffb0c0","hex_latitude":"070132b0","is_valid_coordinates":true} 
[2026-04-17 11:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759404800001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113355096158371840,"note":"Value kept but may cause issues"} 
[2026-04-17 11:03:57] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-23010549261201408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:03:57] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776403927000,"timestamp_ms":1776403927000,"timestamp_seconds":1776403927,"priority":1,"record_length":96,"hex_timestamp":"0000019d99eccfd8"} 
[2026-04-17 11:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:03: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-04-17 11:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-17 11:03:57] 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-04-17 11:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45709,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45709,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759404800001,"66":14483,"24":14,"28":32256,"16":113355096158371840,"44":-23010549261201408},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 11:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759404800001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:03:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113355096158371840,"km_value":113355096158371.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:03:57] local.INFO: Unknown IO ID detected {"io_id":44,"value":-23010549261201408,"description":"Unknown IO ID 44"} 
[2026-04-17 11:03:57] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759404800001,"power":14483,"ignition":14,"unknown_28":32256,"odometer":null,"unknown_44":-23010549261201408}} 
[2026-04-17 11:03:57] local.INFO: TCP Data received {"connection_id":45979,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:03:57] local.INFO: Processing buffer {"connection_id":45979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:03:57] local.INFO: Packet analysis {"connection_id":45979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:03:57] local.INFO: Extracted packet for processing {"connection_id":45979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:03:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759298304001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654951936,"note":"Value kept but may cause issues"} 
[2026-04-17 11:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776403810000,"timestamp_ms":1776403810000,"timestamp_seconds":1776403810,"priority":1,"record_length":96,"hex_timestamp":"0000019d99eb06d0"} 
[2026-04-17 11:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-17 11:03:57] 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-04-17 11:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759298304001,"66":26082,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9197687469654951936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759298304001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:03:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:03:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654951936,"description":"Unknown IO ID 45"} 
[2026-04-17 11:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759298304001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654951936}} 
[2026-04-17 11:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":45979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:03:57] local.INFO: GPS data processed {"connection_id":45979,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:03:57] local.INFO: Acknowledgment sent {"connection_id":45979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":45709,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:03:57] local.INFO: GPS data processed {"connection_id":45709,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:03:57] local.INFO: Acknowledgment sent {"connection_id":45709,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:04:05] local.INFO: TCP Data received {"connection_id":45788,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:04:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:04:05] local.INFO: Processing buffer {"connection_id":45788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:04:05] local.INFO: IMEI packet received {"connection_id":45788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:04:05] local.INFO: IMEI acknowledgment sent {"connection_id":45788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:04:10] local.INFO: TCP Data received {"connection_id":45788,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45788,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:04:10] local.INFO: Processing buffer {"connection_id":45788,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:04:10] local.INFO: IMEI packet received {"connection_id":45788,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:04:10] local.INFO: IMEI acknowledgment sent {"connection_id":45788,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:04:11] local.INFO: TCP Data received {"connection_id":45788,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:04:11] local.INFO: Processing buffer {"connection_id":45788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:04:11] local.INFO: Packet analysis {"connection_id":45788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:04:11] local.INFO: Extracted packet for processing {"connection_id":45788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:04:11] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:04:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759309312001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:04:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:04:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2960553834050107392,"note":"Value kept but may cause issues"} 
[2026-04-17 11:04:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:04:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776403853000,"timestamp_ms":1776403853000,"timestamp_seconds":1776403853,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ebaec8"} 
[2026-04-17 11:04:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:04:11] 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-04-17 11: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 11:04:11] 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-04-17 11: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-04-17 11:04:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:04:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:04:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:04:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:04:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:04:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:04:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:04:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:04:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759309312001,"66":26430,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2960553834050107392},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:04:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:04:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:04:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759309312001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:04:11] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:04:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:04:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2960553834050107392,"description":"Unknown IO ID 45"} 
[2026-04-17 11:04:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759309312001,"power":26430,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2960553834050107392}} 
[2026-04-17 11:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":45788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20734,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:04:11] local.INFO: GPS data processed {"connection_id":45788,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:04:11] local.INFO: Acknowledgment sent {"connection_id":45788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:04:17] local.INFO: TCP Data received {"connection_id":46553,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:04:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:04:17] local.INFO: Processing buffer {"connection_id":46553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:04:17] local.INFO: IMEI packet received {"connection_id":46553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:04:17] local.INFO: IMEI acknowledgment sent {"connection_id":46553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:04:22] local.INFO: TCP Data received {"connection_id":46553,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46553,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:04:22] local.INFO: Processing buffer {"connection_id":46553,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:04:22] local.INFO: IMEI packet received {"connection_id":46553,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":46553,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:04:24] local.INFO: TCP Data received {"connection_id":46553,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ed1240012cffc100070134c0000c004d26..."} 
[2026-04-17 11:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ed1240012cffc100070134c0000c004d26..."} 
[2026-04-17 11:04:24] local.INFO: Processing buffer {"connection_id":46553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ed1240012cffc100070134c0000c004d26..."} 
[2026-04-17 11:04:24] local.INFO: Packet analysis {"connection_id":46553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ed"} 
[2026-04-17 11:04:24] local.INFO: Extracted packet for processing {"connection_id":46553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ed"} 
[2026-04-17 11:04:24] local.INFO: GPS Element Parsed {"raw_longitude":754958592,"raw_latitude":117519552,"longitude_deg":75.4958592,"latitude_deg":11.7519552,"altitude":12,"angle":77,"satellites":38,"speed":13,"hex_longitude":"2cffc100","hex_latitude":"070134c0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:04:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759405312001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:04:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113355293726867456,"note":"Value kept but may cause issues"} 
[2026-04-17 11:04:24] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-22306861819449344,"note":"Value kept but may cause issues"} 
[2026-04-17 11:04:24] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:04:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776403944000,"timestamp_ms":1776403944000,"timestamp_seconds":1776403944,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ed1240"} 
[2026-04-17 11:04:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:04:24] 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-04-17 11: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-17 11:04:24] 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-04-17 11: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-04-17 11:04:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:04:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:04:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:04:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:04:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:04:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:04:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:04:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:04:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759405312001,"66":14559,"24":13,"28":32256,"16":113355293726867456,"44":-22306861819449344},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 11:04:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:04:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:04:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759405312001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:04:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:04:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113355293726867456,"km_value":113355293726867.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:04:24] local.INFO: Unknown IO ID detected {"io_id":44,"value":-22306861819449344,"description":"Unknown IO ID 44"} 
[2026-04-17 11:04:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759405312001,"power":14559,"ignition":13,"unknown_28":32256,"odometer":null,"unknown_44":-22306861819449344}} 
[2026-04-17 11:04:24] local.INFO: DEBUG: GPS processor result {"connection_id":46553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20735,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:04:24] local.INFO: GPS data processed {"connection_id":46553,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:04:24] local.INFO: Acknowledgment sent {"connection_id":46553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:04:28] local.INFO: TCP Data received {"connection_id":45979,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:04:28] local.INFO: Processing buffer {"connection_id":45979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:04:28] local.INFO: Packet analysis {"connection_id":45979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:04:28] local.INFO: Extracted packet for processing {"connection_id":45979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:04:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759298304001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654951936,"note":"Value kept but may cause issues"} 
[2026-04-17 11:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776403810000,"timestamp_ms":1776403810000,"timestamp_seconds":1776403810,"priority":1,"record_length":96,"hex_timestamp":"0000019d99eb06d0"} 
[2026-04-17 11:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-17 11:04:28] 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-04-17 11: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-04-17 11:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759298304001,"66":26082,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9197687469654951936},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759298304001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:04:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:04:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654951936,"description":"Unknown IO ID 45"} 
[2026-04-17 11:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759298304001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654951936}} 
[2026-04-17 11:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":45979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:04:28] local.INFO: GPS data processed {"connection_id":45979,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:04:28] local.INFO: Acknowledgment sent {"connection_id":45979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:04:45] local.INFO: TCP Data received {"connection_id":45788,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:04:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:04:45] local.INFO: Processing buffer {"connection_id":45788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:04:45] local.INFO: Packet analysis {"connection_id":45788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:04:45] local.INFO: Extracted packet for processing {"connection_id":45788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:04:45] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:04:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759309312001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:04:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:04:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2960553834050107392,"note":"Value kept but may cause issues"} 
[2026-04-17 11:04:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:04:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776403853000,"timestamp_ms":1776403853000,"timestamp_seconds":1776403853,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ebaec8"} 
[2026-04-17 11:04:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:04:45] 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-04-17 11:04:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 11:04:45] 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-04-17 11:04:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:04:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:04:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:04:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:04:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:04:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45788,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:04:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:04:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:04:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:04:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759309312001,"66":26430,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2960553834050107392},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:04:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:04:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:04:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759309312001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:04:45] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:04:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:04:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2960553834050107392,"description":"Unknown IO ID 45"} 
[2026-04-17 11:04:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759309312001,"power":26430,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2960553834050107392}} 
[2026-04-17 11:04:45] local.INFO: DEBUG: GPS processor result {"connection_id":45788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20737,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:04:45] local.INFO: GPS data processed {"connection_id":45788,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:04:45] local.INFO: Acknowledgment sent {"connection_id":45788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:04:51] local.INFO: TCP Data received {"connection_id":45710,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:04:51] local.INFO: Processing buffer {"connection_id":45710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:04:51] local.INFO: IMEI packet received {"connection_id":45710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":45710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:04:56] local.INFO: TCP Data received {"connection_id":46553,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ed6448012cffc300070134f0000c005222..."} 
[2026-04-17 11:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ed6448012cffc300070134f0000c005222..."} 
[2026-04-17 11:04:56] local.INFO: Processing buffer {"connection_id":46553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ed6448012cffc300070134f0000c005222..."} 
[2026-04-17 11:04:56] local.INFO: Packet analysis {"connection_id":46553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ed"} 
[2026-04-17 11:04:56] local.INFO: Extracted packet for processing {"connection_id":46553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ed"} 
[2026-04-17 11:04:56] local.INFO: GPS Element Parsed {"raw_longitude":754959104,"raw_latitude":117519600,"longitude_deg":75.4959104,"latitude_deg":11.75196,"altitude":12,"angle":82,"satellites":34,"speed":0,"hex_longitude":"2cffc300","hex_latitude":"070134f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759409664001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113355319496671232,"note":"Value kept but may cause issues"} 
[2026-04-17 11:04:56] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-17732893447766016,"note":"Value kept but may cause issues"} 
[2026-04-17 11:04:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776403965000,"timestamp_ms":1776403965000,"timestamp_seconds":1776403965,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ed6448"} 
[2026-04-17 11:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-17 11:04:56] 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-04-17 11: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-04-17 11:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46553,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759409664001,"66":14559,"24":0,"28":32256,"16":113355319496671232,"44":-17732893447766016},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 11:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759409664001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:04:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113355319496671232,"km_value":113355319496671.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:04:56] local.INFO: Unknown IO ID detected {"io_id":44,"value":-17732893447766016,"description":"Unknown IO ID 44"} 
[2026-04-17 11:04:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759409664001,"power":14559,"ignition":0,"unknown_28":32256,"odometer":null,"unknown_44":-17732893447766016}} 
[2026-04-17 11:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":46553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:04:56] local.INFO: GPS data processed {"connection_id":46553,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:04:56] local.INFO: Acknowledgment sent {"connection_id":46553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:04:56] local.INFO: TCP Data received {"connection_id":45710,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45710,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:04:56] local.INFO: Processing buffer {"connection_id":45710,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:04:56] local.INFO: IMEI packet received {"connection_id":45710,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":45710,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:04:58] local.INFO: TCP Data received {"connection_id":45710,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:04:58] local.INFO: Processing buffer {"connection_id":45710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:04:58] local.INFO: Packet analysis {"connection_id":45710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:04:58] local.INFO: Extracted packet for processing {"connection_id":45710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:04:58] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759298304001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654951936,"note":"Value kept but may cause issues"} 
[2026-04-17 11:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776403810000,"timestamp_ms":1776403810000,"timestamp_seconds":1776403810,"priority":1,"record_length":96,"hex_timestamp":"0000019d99eb06d0"} 
[2026-04-17 11:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-17 11:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1124,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:04:58] 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-04-17 11:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759298304001,"66":26082,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9197687469654951936},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759298304001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:04:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:04:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654951936,"description":"Unknown IO ID 45"} 
[2026-04-17 11:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759298304001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654951936}} 
[2026-04-17 11:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":45710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:04:58] local.INFO: GPS data processed {"connection_id":45710,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:04:58] local.INFO: Acknowledgment sent {"connection_id":45710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:05:05] local.INFO: TCP Data received {"connection_id":45789,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:05:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:05:05] local.INFO: Processing buffer {"connection_id":45789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:05:05] local.INFO: IMEI packet received {"connection_id":45789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:05:05] local.INFO: IMEI acknowledgment sent {"connection_id":45789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:05:10] local.INFO: TCP Data received {"connection_id":45789,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45789,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:05:10] local.INFO: Processing buffer {"connection_id":45789,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:05:10] local.INFO: IMEI packet received {"connection_id":45789,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":45789,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:05:11] local.INFO: TCP Data received {"connection_id":45789,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:05:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:05:11] local.INFO: Processing buffer {"connection_id":45789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:05:11] local.INFO: Packet analysis {"connection_id":45789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:05:11] local.INFO: Extracted packet for processing {"connection_id":45789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:05:11] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:05:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759309312001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:05:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:05:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2960553834050107392,"note":"Value kept but may cause issues"} 
[2026-04-17 11:05:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:05:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776403853000,"timestamp_ms":1776403853000,"timestamp_seconds":1776403853,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ebaec8"} 
[2026-04-17 11:05:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:05:11] 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-04-17 11: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 11:05:11] 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-04-17 11: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-04-17 11:05:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:05:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:05:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:05:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:05:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:05:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:05:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:05:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:05:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759309312001,"66":26430,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2960553834050107392},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:05:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:05:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:05:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759309312001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:05:11] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:05:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:05:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2960553834050107392,"description":"Unknown IO ID 45"} 
[2026-04-17 11:05:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759309312001,"power":26430,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2960553834050107392}} 
[2026-04-17 11:05:11] local.INFO: DEBUG: GPS processor result {"connection_id":45789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20740,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:05:11] local.INFO: GPS data processed {"connection_id":45789,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:05:11] local.INFO: Acknowledgment sent {"connection_id":45789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:05:22] local.INFO: TCP Data received {"connection_id":45980,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:05:22] local.INFO: Processing buffer {"connection_id":45980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:05:22] local.INFO: IMEI packet received {"connection_id":45980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":45980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:05:27] local.INFO: TCP Data received {"connection_id":45980,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:05:27] local.INFO: Processing buffer {"connection_id":45980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:05:27] local.INFO: IMEI packet received {"connection_id":45980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":45980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:05:28] local.INFO: TCP Data received {"connection_id":45980,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99edb650012cffc300070134f0000c005220..."} 
[2026-04-17 11:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99edb650012cffc300070134f0000c005220..."} 
[2026-04-17 11:05:28] local.INFO: Processing buffer {"connection_id":45980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99edb650012cffc300070134f0000c005220..."} 
[2026-04-17 11:05:28] local.INFO: Packet analysis {"connection_id":45980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ed"} 
[2026-04-17 11:05:28] local.INFO: Extracted packet for processing {"connection_id":45980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ed"} 
[2026-04-17 11:05:28] local.INFO: GPS Element Parsed {"raw_longitude":754959104,"raw_latitude":117519600,"longitude_deg":75.4959104,"latitude_deg":11.75196,"altitude":12,"angle":82,"satellites":32,"speed":0,"hex_longitude":"2cffc300","hex_latitude":"070134f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759415040001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113355319496671232,"note":"Value kept but may cause issues"} 
[2026-04-17 11:05:28] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-17169943494332416,"note":"Value kept but may cause issues"} 
[2026-04-17 11:05:28] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776403986000,"timestamp_ms":1776403986000,"timestamp_seconds":1776403986,"priority":1,"record_length":96,"hex_timestamp":"0000019d99edb650"} 
[2026-04-17 11:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-17 11:05:28] 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-04-17 11: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-04-17 11:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759415040001,"66":14548,"24":0,"28":32256,"16":113355319496671232,"44":-17169943494332416},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 11:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759415040001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:05:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113355319496671232,"km_value":113355319496671.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:05:28] local.INFO: Unknown IO ID detected {"io_id":44,"value":-17169943494332416,"description":"Unknown IO ID 44"} 
[2026-04-17 11:05:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759415040001,"power":14548,"ignition":0,"unknown_28":32256,"odometer":null,"unknown_44":-17169943494332416}} 
[2026-04-17 11:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":45980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:05:28] local.INFO: GPS data processed {"connection_id":45980,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:05:28] local.INFO: Acknowledgment sent {"connection_id":45980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:05:29] local.INFO: TCP Data received {"connection_id":45710,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45710,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:05:29] local.INFO: Processing buffer {"connection_id":45710,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99eb06d0012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:05:29] local.INFO: Packet analysis {"connection_id":45710,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:05:29] local.INFO: Extracted packet for processing {"connection_id":45710,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:05:29] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:05:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759298304001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:05:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:05:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197687469654951936,"note":"Value kept but may cause issues"} 
[2026-04-17 11:05:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:05:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776403810000,"timestamp_ms":1776403810000,"timestamp_seconds":1776403810,"priority":1,"record_length":96,"hex_timestamp":"0000019d99eb06d0"} 
[2026-04-17 11:05:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:05:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:05:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-17 11:05:29] 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-04-17 11: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-04-17 11:05:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:05:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:05:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45710,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:05:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:05:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45710,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:05: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-04-17 11:05:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:05:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:05:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759298304001,"66":26082,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9197687469654951936},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:05:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:05:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:05:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759298304001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:05:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:05:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:05:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:05:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197687469654951936,"description":"Unknown IO ID 45"} 
[2026-04-17 11:05:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759298304001,"power":26082,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9197687469654951936}} 
[2026-04-17 11:05:29] local.INFO: DEBUG: GPS processor result {"connection_id":45710,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:05:29] local.INFO: GPS data processed {"connection_id":45710,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:05:29] local.INFO: Acknowledgment sent {"connection_id":45710,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:05:30] local.INFO: TCP Data received {"connection_id":45980,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ee0858012cffc300070134f0000c005221..."} 
[2026-04-17 11:05:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ee0858012cffc300070134f0000c005221..."} 
[2026-04-17 11:05:30] local.INFO: Processing buffer {"connection_id":45980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ee0858012cffc300070134f0000c005221..."} 
[2026-04-17 11:05:30] local.INFO: Packet analysis {"connection_id":45980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ee"} 
[2026-04-17 11:05:30] local.INFO: Extracted packet for processing {"connection_id":45980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ee"} 
[2026-04-17 11:05:30] local.INFO: GPS Element Parsed {"raw_longitude":754959104,"raw_latitude":117519600,"longitude_deg":75.4959104,"latitude_deg":11.75196,"altitude":12,"angle":82,"satellites":33,"speed":0,"hex_longitude":"2cffc300","hex_latitude":"070134f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:05:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759420416001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:05:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113355319496671232,"note":"Value kept but may cause issues"} 
[2026-04-17 11:05:30] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-17169943494332416,"note":"Value kept but may cause issues"} 
[2026-04-17 11:05:30] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:05:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776404007000,"timestamp_ms":1776404007000,"timestamp_seconds":1776404007,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ee0858"} 
[2026-04-17 11:05:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:05:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15616,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":56,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-17 11:05:30] 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-04-17 11: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-04-17 11:05:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:05:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:05:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:05:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:05:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:05:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:05:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:05:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:05:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759420416001,"66":14515,"24":0,"28":32256,"16":113355319496671232,"44":-17169943494332416},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 11:05:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:05:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:05:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759420416001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:05:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:05:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113355319496671232,"km_value":113355319496671.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:05:30] local.INFO: Unknown IO ID detected {"io_id":44,"value":-17169943494332416,"description":"Unknown IO ID 44"} 
[2026-04-17 11:05:30] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759420416001,"power":14515,"ignition":0,"unknown_28":32256,"odometer":null,"unknown_44":-17169943494332416}} 
[2026-04-17 11:05:30] local.INFO: DEBUG: GPS processor result {"connection_id":45980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:05:30] local.INFO: GPS data processed {"connection_id":45980,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:05:30] local.INFO: Acknowledgment sent {"connection_id":45980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:05:45] local.INFO: TCP Data received {"connection_id":45789,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:05:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:05:45] local.INFO: Processing buffer {"connection_id":45789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:05:45] local.INFO: Packet analysis {"connection_id":45789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:05:45] local.INFO: Extracted packet for processing {"connection_id":45789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:05:45] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:05:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759309312001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:05:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:05:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2960553834050107392,"note":"Value kept but may cause issues"} 
[2026-04-17 11:05:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:05:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776403853000,"timestamp_ms":1776403853000,"timestamp_seconds":1776403853,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ebaec8"} 
[2026-04-17 11:05:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:05:45] 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-04-17 11: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 11:05:45] 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-04-17 11: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-04-17 11:05:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:05:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:05:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:05:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:05:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45789,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:05:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:05:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:05:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:05:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759309312001,"66":26430,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2960553834050107392},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:05:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:05:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:05:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759309312001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:05:45] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:05:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:05:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2960553834050107392,"description":"Unknown IO ID 45"} 
[2026-04-17 11:05:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759309312001,"power":26430,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2960553834050107392}} 
[2026-04-17 11:05:45] local.INFO: DEBUG: GPS processor result {"connection_id":45789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20744,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:05:45] local.INFO: GPS data processed {"connection_id":45789,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:05:45] local.INFO: Acknowledgment sent {"connection_id":45789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:05:57] local.INFO: TCP Data received {"connection_id":45711,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:05:57] local.INFO: Processing buffer {"connection_id":45711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:05:57] local.INFO: IMEI packet received {"connection_id":45711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":45711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:06:01] local.INFO: TCP Data received {"connection_id":45711,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45711,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:06:01] local.INFO: Processing buffer {"connection_id":45711,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:06:01] local.INFO: IMEI packet received {"connection_id":45711,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":45711,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:06:02] local.INFO: TCP Data received {"connection_id":45711,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:06:02] local.INFO: Processing buffer {"connection_id":45711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:06:02] local.INFO: Packet analysis {"connection_id":45711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:06:02] local.INFO: Extracted packet for processing {"connection_id":45711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759375360001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776404111000,"timestamp_ms":1776404111000,"timestamp_seconds":1776404111,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ef9e98"} 
[2026-04-17 11:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-04-17 11:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759375360001,"66":25854,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759375360001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:06:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759375360001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":45711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:06:02] local.INFO: GPS data processed {"connection_id":45711,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:06:02] local.INFO: Acknowledgment sent {"connection_id":45711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:06:05] local.INFO: TCP Data received {"connection_id":45712,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:06:05] local.INFO: Processing buffer {"connection_id":45712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:06:05] local.INFO: IMEI packet received {"connection_id":45712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":45712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:06:06] local.INFO: TCP Data received {"connection_id":45980,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ee5a60012cffc300070134f0000c005222..."} 
[2026-04-17 11:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ee5a60012cffc300070134f0000c005222..."} 
[2026-04-17 11:06:06] local.INFO: Processing buffer {"connection_id":45980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ee5a60012cffc300070134f0000c005222..."} 
[2026-04-17 11:06:06] local.INFO: Packet analysis {"connection_id":45980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ee"} 
[2026-04-17 11:06:06] local.INFO: Extracted packet for processing {"connection_id":45980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ee"} 
[2026-04-17 11:06:06] local.INFO: GPS Element Parsed {"raw_longitude":754959104,"raw_latitude":117519600,"longitude_deg":75.4959104,"latitude_deg":11.75196,"altitude":12,"angle":82,"satellites":34,"speed":0,"hex_longitude":"2cffc300","hex_latitude":"070134f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759425792001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113355319496671232,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:06] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-17169943494332416,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:06] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776404028000,"timestamp_ms":1776404028000,"timestamp_seconds":1776404028,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ee5a60"} 
[2026-04-17 11:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:06:06] 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-04-17 11: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-17 11:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:06:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759425792001,"66":14515,"24":0,"28":32256,"16":113355319496671232,"44":-17169943494332416},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 11:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759425792001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:06:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113355319496671232,"km_value":113355319496671.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:06:06] local.INFO: Unknown IO ID detected {"io_id":44,"value":-17169943494332416,"description":"Unknown IO ID 44"} 
[2026-04-17 11:06:06] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759425792001,"power":14515,"ignition":0,"unknown_28":32256,"odometer":null,"unknown_44":-17169943494332416}} 
[2026-04-17 11:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":45980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20746,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:06:06] local.INFO: GPS data processed {"connection_id":45980,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:06:06] local.INFO: Acknowledgment sent {"connection_id":45980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:06:07] local.INFO: TCP Data received {"connection_id":45711,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:06:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:06:07] local.INFO: Processing buffer {"connection_id":45711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:06:07] local.INFO: Packet analysis {"connection_id":45711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:06:07] local.INFO: Extracted packet for processing {"connection_id":45711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:06:07] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:06:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759375360001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:06:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776404111000,"timestamp_ms":1776404111000,"timestamp_seconds":1776404111,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ef9e98"} 
[2026-04-17 11:06:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:06:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-04-17 11:06:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:06:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:06:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:06:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:06:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:06:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45711,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:06:07] 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-04-17 11:06:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:06:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:06:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759375360001,"66":25854,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:06:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:06:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:06:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759375360001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:06:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:06:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:06:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:06:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:06:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759375360001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:06:07] local.INFO: DEBUG: GPS processor result {"connection_id":45711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:06:07] local.INFO: GPS data processed {"connection_id":45711,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:06:07] local.INFO: Acknowledgment sent {"connection_id":45711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:06:14] local.INFO: TCP Data received {"connection_id":45712,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:06:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45712,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:06:14] local.INFO: Processing buffer {"connection_id":45712,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:06:14] local.INFO: IMEI packet received {"connection_id":45712,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:06:14] local.INFO: IMEI acknowledgment sent {"connection_id":45712,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:06:16] local.INFO: TCP Data received {"connection_id":45712,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:06:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:06:16] local.INFO: Processing buffer {"connection_id":45712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ebaec8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:06:16] local.INFO: Packet analysis {"connection_id":45712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:06:16] local.INFO: Extracted packet for processing {"connection_id":45712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99eb"} 
[2026-04-17 11:06:16] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:06:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759309312001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2960553834050107392,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:06:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776403853000,"timestamp_ms":1776403853000,"timestamp_seconds":1776403853,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ebaec8"} 
[2026-04-17 11:06:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:06:16] 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-04-17 11: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 11:06:16] 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-04-17 11: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-04-17 11:06:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:06:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:06:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:06:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:06:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:06:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:06:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:06:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:06:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759309312001,"66":26430,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2960553834050107392},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:06:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:06:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:06:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759309312001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:06:16] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:06:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:06:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2960553834050107392,"description":"Unknown IO ID 45"} 
[2026-04-17 11:06:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759309312001,"power":26430,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2960553834050107392}} 
[2026-04-17 11:06:16] local.INFO: DEBUG: GPS processor result {"connection_id":45712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20748,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:06:16] local.INFO: GPS data processed {"connection_id":45712,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:06:16] local.INFO: Acknowledgment sent {"connection_id":45712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:06:17] local.INFO: TCP Data received {"connection_id":46554,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:06:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:06:17] local.INFO: Processing buffer {"connection_id":46554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:06:17] local.INFO: IMEI packet received {"connection_id":46554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:06:17] local.INFO: IMEI acknowledgment sent {"connection_id":46554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:06:19] local.INFO: TCP Data received {"connection_id":46554,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:06:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46554,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:06:19] local.INFO: Processing buffer {"connection_id":46554,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:06:19] local.INFO: IMEI packet received {"connection_id":46554,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:06:19] local.INFO: IMEI acknowledgment sent {"connection_id":46554,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:06:22] local.INFO: TCP Data received {"connection_id":46554,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99eeac68012cffc300070134f0000c005220..."} 
[2026-04-17 11:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99eeac68012cffc300070134f0000c005220..."} 
[2026-04-17 11:06:22] local.INFO: Processing buffer {"connection_id":46554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99eeac68012cffc300070134f0000c005220..."} 
[2026-04-17 11:06:22] local.INFO: Packet analysis {"connection_id":46554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ee"} 
[2026-04-17 11:06:22] local.INFO: Extracted packet for processing {"connection_id":46554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ee"} 
[2026-04-17 11:06:22] local.INFO: GPS Element Parsed {"raw_longitude":754959104,"raw_latitude":117519600,"longitude_deg":75.4959104,"latitude_deg":11.75196,"altitude":12,"angle":82,"satellites":32,"speed":0,"hex_longitude":"2cffc300","hex_latitude":"070134f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:06:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759431168001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113355319496671232,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:22] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-17169943494332416,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:22] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:06:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776404049000,"timestamp_ms":1776404049000,"timestamp_seconds":1776404049,"priority":1,"record_length":96,"hex_timestamp":"0000019d99eeac68"} 
[2026-04-17 11:06:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:06:22] 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-04-17 11: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-04-17 11: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-04-17 11: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-04-17 11:06:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:06:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:06:22] local.INFO: Teltonika packet parsed successfully {"connection_id":46554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:06:22] local.INFO: Passing IMEI to GPS processor {"connection_id":46554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:06:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":46554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:06:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:06:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:06:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:06:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759431168001,"66":14494,"24":0,"28":32256,"16":113355319496671232,"44":-17169943494332416},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 11:06:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:06:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:06:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759431168001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:06:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:06:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113355319496671232,"km_value":113355319496671.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:06:22] local.INFO: Unknown IO ID detected {"io_id":44,"value":-17169943494332416,"description":"Unknown IO ID 44"} 
[2026-04-17 11:06:22] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759431168001,"power":14494,"ignition":0,"unknown_28":32256,"odometer":null,"unknown_44":-17169943494332416}} 
[2026-04-17 11:06:22] local.INFO: DEBUG: GPS processor result {"connection_id":46554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20749,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:06:22] local.INFO: GPS data processed {"connection_id":46554,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:06:22] local.INFO: Acknowledgment sent {"connection_id":46554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:06:49] local.INFO: TCP Data received {"connection_id":45712,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:06:49] local.INFO: Processing buffer {"connection_id":45712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:06:49] local.INFO: Packet analysis {"connection_id":45712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:06:49] local.INFO: Extracted packet for processing {"connection_id":45712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:06:49] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:06:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759386368001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:06:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776404154000,"timestamp_ms":1776404154000,"timestamp_seconds":1776404154,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f04690"} 
[2026-04-17 11:06:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:06:49] 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-04-17 11:06:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-17 11:06:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:06:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:06:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:06:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:06:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:06:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:06:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45712,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:06:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:06:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:06:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:06:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759386368001,"66":26223,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:06:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:06:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:06:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759386368001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:06:49] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:06:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:06:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:06:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759386368001,"power":26223,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:06:49] local.INFO: DEBUG: GPS processor result {"connection_id":45712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20750,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:06:49] local.INFO: GPS data processed {"connection_id":45712,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:06:49] local.INFO: Acknowledgment sent {"connection_id":45712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:06:51] local.INFO: TCP Data received {"connection_id":45790,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:06:51] local.INFO: Processing buffer {"connection_id":45790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:06:51] local.INFO: IMEI packet received {"connection_id":45790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":45790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:06:53] local.INFO: TCP Data received {"connection_id":46554,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99eefe70012cffc300070134f0000c005221..."} 
[2026-04-17 11:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99eefe70012cffc300070134f0000c005221..."} 
[2026-04-17 11:06:53] local.INFO: Processing buffer {"connection_id":46554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99eefe70012cffc300070134f0000c005221..."} 
[2026-04-17 11:06:53] local.INFO: Packet analysis {"connection_id":46554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ee"} 
[2026-04-17 11:06:53] local.INFO: Extracted packet for processing {"connection_id":46554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ee"} 
[2026-04-17 11:06:53] local.INFO: GPS Element Parsed {"raw_longitude":754959104,"raw_latitude":117519600,"longitude_deg":75.4959104,"latitude_deg":11.75196,"altitude":12,"angle":82,"satellites":33,"speed":0,"hex_longitude":"2cffc300","hex_latitude":"070134f0","is_valid_coordinates":true} 
[2026-04-17 11:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759436544001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113355319496671232,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:53] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-17169943494332416,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:53] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776404070000,"timestamp_ms":1776404070000,"timestamp_seconds":1776404070,"priority":1,"record_length":96,"hex_timestamp":"0000019d99eefe70"} 
[2026-04-17 11:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:06:53] 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-04-17 11:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-04-17 11:06:53] 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-04-17 11:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":46554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":46554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":46554,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759436544001,"66":14515,"24":0,"28":32256,"16":113355319496671232,"44":-17169943494332416},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 11:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759436544001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:06:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113355319496671232,"km_value":113355319496671.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:06:53] local.INFO: Unknown IO ID detected {"io_id":44,"value":-17169943494332416,"description":"Unknown IO ID 44"} 
[2026-04-17 11:06:53] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759436544001,"power":14515,"ignition":0,"unknown_28":32256,"odometer":null,"unknown_44":-17169943494332416}} 
[2026-04-17 11:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":46554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:06:53] local.INFO: GPS data processed {"connection_id":46554,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:06:53] local.INFO: Acknowledgment sent {"connection_id":46554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:06:56] local.INFO: TCP Data received {"connection_id":45790,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45790,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:06:56] local.INFO: Processing buffer {"connection_id":45790,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:06:56] local.INFO: IMEI packet received {"connection_id":45790,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":45790,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:06:57] local.INFO: TCP Data received {"connection_id":45790,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:06:57] local.INFO: Processing buffer {"connection_id":45790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:06:57] local.INFO: Packet analysis {"connection_id":45790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:06:57] local.INFO: Extracted packet for processing {"connection_id":45790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:06:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759375360001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776404111000,"timestamp_ms":1776404111000,"timestamp_seconds":1776404111,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ef9e98"} 
[2026-04-17 11:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-04-17 11:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:06:57] 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-04-17 11:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759375360001,"66":25854,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759375360001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:06:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:06:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759375360001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":45790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:06:57] local.INFO: GPS data processed {"connection_id":45790,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:06:57] local.INFO: Acknowledgment sent {"connection_id":45790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:07:05] local.INFO: TCP Data received {"connection_id":45981,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:07:05] local.INFO: Processing buffer {"connection_id":45981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:07:05] local.INFO: IMEI packet received {"connection_id":45981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":45981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:07:10] local.INFO: TCP Data received {"connection_id":45981,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45981,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:07:10] local.INFO: Processing buffer {"connection_id":45981,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:07:10] local.INFO: IMEI packet received {"connection_id":45981,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":45981,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:07:11] local.INFO: TCP Data received {"connection_id":45981,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:07:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:07:11] local.INFO: Processing buffer {"connection_id":45981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:07:11] local.INFO: Packet analysis {"connection_id":45981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:07:11] local.INFO: Extracted packet for processing {"connection_id":45981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:07:11] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:07:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759386368001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:07:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:07:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:07:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:07:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776404154000,"timestamp_ms":1776404154000,"timestamp_seconds":1776404154,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f04690"} 
[2026-04-17 11:07:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:07:11] 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-04-17 11:07:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-17 11:07:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:07:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:07:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:07:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:07:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:07:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45981,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:07:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45981,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:07:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:07:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:07:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:07:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759386368001,"66":26223,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:07:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:07:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:07:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759386368001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:07:11] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:07:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:07:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:07:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759386368001,"power":26223,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":45981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20753,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:07:12] local.INFO: GPS data processed {"connection_id":45981,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:07:12] local.INFO: Acknowledgment sent {"connection_id":45981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:07:17] local.INFO: TCP Data received {"connection_id":45713,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:07:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:07:17] local.INFO: Processing buffer {"connection_id":45713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:07:17] local.INFO: IMEI packet received {"connection_id":45713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:07:17] local.INFO: IMEI acknowledgment sent {"connection_id":45713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:07:18] local.INFO: TCP Data received {"connection_id":45713,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:07:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:07:18] local.INFO: Processing buffer {"connection_id":45713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:07:18] local.INFO: IMEI packet received {"connection_id":45713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:07:18] local.INFO: IMEI acknowledgment sent {"connection_id":45713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:07:22] local.INFO: TCP Data received {"connection_id":45713,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45713,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:07:22] local.INFO: Processing buffer {"connection_id":45713,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:07:22] local.INFO: IMEI packet received {"connection_id":45713,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":45713,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:07:23] local.INFO: TCP Data received {"connection_id":45713,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ef5078012cffc300070134f0000c00521f..."} 
[2026-04-17 11:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ef5078012cffc300070134f0000c00521f..."} 
[2026-04-17 11:07:23] local.INFO: Processing buffer {"connection_id":45713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ef5078012cffc300070134f0000c00521f..."} 
[2026-04-17 11:07:23] local.INFO: Packet analysis {"connection_id":45713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:07:23] local.INFO: Extracted packet for processing {"connection_id":45713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:07:23] local.INFO: GPS Element Parsed {"raw_longitude":754959104,"raw_latitude":117519600,"longitude_deg":75.4959104,"latitude_deg":11.75196,"altitude":12,"angle":82,"satellites":31,"speed":0,"hex_longitude":"2cffc300","hex_latitude":"070134f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759441920001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113355319496671232,"note":"Value kept but may cause issues"} 
[2026-04-17 11:07:23] local.WARNING: Large IO value detected {"io_id":44,"raw_value":-17169943494332416,"note":"Value kept but may cause issues"} 
[2026-04-17 11:07:23] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,28,16,44],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776404091000,"timestamp_ms":1776404091000,"timestamp_seconds":1776404091,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ef5078"} 
[2026-04-17 11:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:07: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-04-17 11: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":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-17 11:07:23] 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-04-17 11: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-04-17 11:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759441920001,"66":13993,"24":0,"28":32256,"16":113355319496671232,"44":-17169943494332416},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,28,16,44]} 
[2026-04-17 11:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759441920001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:07:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113355319496671232,"km_value":113355319496671.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:07:23] local.INFO: Unknown IO ID detected {"io_id":44,"value":-17169943494332416,"description":"Unknown IO ID 44"} 
[2026-04-17 11:07:23] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454759441920001,"power":13993,"ignition":0,"unknown_28":32256,"odometer":null,"unknown_44":-17169943494332416}} 
[2026-04-17 11:07:24] local.INFO: DEBUG: GPS processor result {"connection_id":45713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20754,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:07:24] local.INFO: GPS data processed {"connection_id":45713,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:07:24] local.INFO: Acknowledgment sent {"connection_id":45713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:07:28] local.INFO: TCP Data received {"connection_id":45790,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:07:28] local.INFO: Processing buffer {"connection_id":45790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:07:28] local.INFO: Packet analysis {"connection_id":45790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:07:28] local.INFO: Extracted packet for processing {"connection_id":45790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759375360001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776404111000,"timestamp_ms":1776404111000,"timestamp_seconds":1776404111,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ef9e98"} 
[2026-04-17 11:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-04-17 11:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45790,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:07:28] 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-04-17 11:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759375360001,"66":25854,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759375360001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:07:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759375360001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":45790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:07:28] local.INFO: GPS data processed {"connection_id":45790,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:07:28] local.INFO: Acknowledgment sent {"connection_id":45790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:07:46] local.INFO: TCP Data received {"connection_id":45981,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:07:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:07:46] local.INFO: Processing buffer {"connection_id":45981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:07:46] local.INFO: Packet analysis {"connection_id":45981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:07:46] local.INFO: Extracted packet for processing {"connection_id":45981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:07:46] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:07:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759386368001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:07:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:07:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:07:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:07:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776404154000,"timestamp_ms":1776404154000,"timestamp_seconds":1776404154,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f04690"} 
[2026-04-17 11:07:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:07:46] 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-04-17 11: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-17 11:07:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:07:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:07:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:07:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:07:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45981,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:07:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45981,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:07:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:07:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:07:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:07:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759386368001,"66":26223,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:07:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:07:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:07:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759386368001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:07:46] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:07:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:07:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:07:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759386368001,"power":26223,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:07:46] local.INFO: DEBUG: GPS processor result {"connection_id":45981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20756,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:07:46] local.INFO: GPS data processed {"connection_id":45981,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:07:46] local.INFO: Acknowledgment sent {"connection_id":45981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:07:51] local.INFO: TCP Data received {"connection_id":45982,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:07:51] local.INFO: Processing buffer {"connection_id":45982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:07:51] local.INFO: IMEI packet received {"connection_id":45982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":45982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:07:55] local.INFO: TCP Data received {"connection_id":45713,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f0f270012d00130007014398000a003428..."} 
[2026-04-17 11:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f0f270012d00130007014398000a003428..."} 
[2026-04-17 11:07:55] local.INFO: Processing buffer {"connection_id":45713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f0f270012d00130007014398000a003428..."} 
[2026-04-17 11:07:55] local.INFO: Packet analysis {"connection_id":45713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:07:55] local.INFO: Extracted packet for processing {"connection_id":45713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:07:55] local.INFO: GPS Element Parsed {"raw_longitude":754979584,"raw_latitude":117523352,"longitude_deg":75.4979584,"latitude_deg":11.7523352,"altitude":10,"angle":52,"satellites":40,"speed":14,"hex_longitude":"2d001300","hex_latitude":"07014398","is_valid_coordinates":true} 
[2026-04-17 11:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:07:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759469312001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:07:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113356341698887680,"note":"Value kept but may cause issues"} 
[2026-04-17 11:07:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":281505062107136,"note":"Value kept but may cause issues"} 
[2026-04-17 11:07:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:07:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776404198000,"timestamp_ms":1776404198000,"timestamp_seconds":1776404198,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f0f270"} 
[2026-04-17 11:07:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:07:55] 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-04-17 11:07:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-17 11:07:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:07:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:07:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:07:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:07:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:07:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:07:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45713,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:07:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:07:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:07:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:07:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759469312001,"66":14396,"216":206,"28":32256,"24":14,"16":113356341698887680,"45":281505062107136},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,28,24,16,45]} 
[2026-04-17 11:07:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:07:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:07:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759469312001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:07:55] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 11:07:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:07:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113356341698887680,"km_value":113356341698887.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:07:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":281505062107136,"description":"Unknown IO ID 45"} 
[2026-04-17 11:07:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759469312001,"power":14396,"unknown_216":206,"unknown_28":32256,"ignition":14,"odometer":null,"unknown_45":281505062107136}} 
[2026-04-17 11:07:55] local.INFO: DEBUG: GPS processor result {"connection_id":45713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20757,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:07:55] local.INFO: GPS data processed {"connection_id":45713,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:07:55] local.INFO: Acknowledgment sent {"connection_id":45713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:07:56] local.INFO: TCP Data received {"connection_id":45982,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:07:56] local.INFO: Processing buffer {"connection_id":45982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:07:56] local.INFO: IMEI packet received {"connection_id":45982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":45982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:07:57] local.INFO: TCP Data received {"connection_id":45982,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:07:57] local.INFO: Processing buffer {"connection_id":45982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:07:57] local.INFO: Packet analysis {"connection_id":45982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:07:57] local.INFO: Extracted packet for processing {"connection_id":45982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:07:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759375360001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776404111000,"timestamp_ms":1776404111000,"timestamp_seconds":1776404111,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ef9e98"} 
[2026-04-17 11:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-04-17 11:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759375360001,"66":25854,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759375360001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:07:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759375360001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":45982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:07:57] local.INFO: GPS data processed {"connection_id":45982,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:07:57] local.INFO: Acknowledgment sent {"connection_id":45982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:08:05] local.INFO: TCP Data received {"connection_id":45983,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:08:05] local.INFO: Processing buffer {"connection_id":45983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:08:05] local.INFO: IMEI packet received {"connection_id":45983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":45983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:08:10] local.INFO: TCP Data received {"connection_id":45983,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:08:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:08:10] local.INFO: Processing buffer {"connection_id":45983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:08:10] local.INFO: IMEI packet received {"connection_id":45983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:08:10] local.INFO: IMEI acknowledgment sent {"connection_id":45983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:08:11] local.INFO: TCP Data received {"connection_id":45983,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:08:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:08:11] local.INFO: Processing buffer {"connection_id":45983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:08:11] local.INFO: Packet analysis {"connection_id":45983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:08:11] local.INFO: Extracted packet for processing {"connection_id":45983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:08:11] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:08:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759386368001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:08:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:08:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:08:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:08:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776404154000,"timestamp_ms":1776404154000,"timestamp_seconds":1776404154,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f04690"} 
[2026-04-17 11:08:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:08:11] 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-04-17 11:08:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-17 11:08:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:08:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:08:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:08:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:08:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:08:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:08:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:08:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:08:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:08:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759386368001,"66":26223,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:08:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:08:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:08:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759386368001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:08:11] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:08:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:08:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:08:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759386368001,"power":26223,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:08:11] local.INFO: DEBUG: GPS processor result {"connection_id":45983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20759,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:08:11] local.INFO: GPS data processed {"connection_id":45983,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:08:11] local.INFO: Acknowledgment sent {"connection_id":45983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:08:17] local.INFO: TCP Data received {"connection_id":46555,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:08:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:08:17] local.INFO: Processing buffer {"connection_id":46555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:08:17] local.INFO: IMEI packet received {"connection_id":46555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:08:17] local.INFO: IMEI acknowledgment sent {"connection_id":46555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:08:20] local.INFO: TCP Data received {"connection_id":46555,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:08:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:08:20] local.INFO: Processing buffer {"connection_id":46555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:08:20] local.INFO: IMEI packet received {"connection_id":46555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:08:20] local.INFO: IMEI acknowledgment sent {"connection_id":46555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:08:22] local.INFO: TCP Data received {"connection_id":46555,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46555,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:08:22] local.INFO: Processing buffer {"connection_id":46555,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:08:22] local.INFO: IMEI packet received {"connection_id":46555,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":46555,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:08:24] local.INFO: TCP Data received {"connection_id":46555,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f130f0012d00300007015778000b003627..."} 
[2026-04-17 11:08:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f130f0012d00300007015778000b003627..."} 
[2026-04-17 11:08:24] local.INFO: Processing buffer {"connection_id":46555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f130f0012d00300007015778000b003627..."} 
[2026-04-17 11:08:24] local.INFO: Packet analysis {"connection_id":46555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f1"} 
[2026-04-17 11:08:24] local.INFO: Extracted packet for processing {"connection_id":46555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f1"} 
[2026-04-17 11:08:24] local.INFO: GPS Element Parsed {"raw_longitude":754987008,"raw_latitude":117528440,"longitude_deg":75.4987008,"latitude_deg":11.752844,"altitude":11,"angle":54,"satellites":39,"speed":23,"hex_longitude":"2d003000","hex_latitude":"07015778","is_valid_coordinates":true} 
[2026-04-17 11:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:08:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759474688001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:08:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113356775490584576,"note":"Value kept but may cause issues"} 
[2026-04-17 11:08:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5348054643480576,"note":"Value kept but may cause issues"} 
[2026-04-17 11:08:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:08:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776404214000,"timestamp_ms":1776404214000,"timestamp_seconds":1776404214,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f130f0"} 
[2026-04-17 11:08:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:08:24] 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-04-17 11:08:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-17 11:08:24] 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-04-17 11:08:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:08:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:08:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:08:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:08:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:08:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:08:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:08:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:08:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:08:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759474688001,"66":14483,"216":206,"28":32256,"24":23,"16":113356775490584576,"45":5348054643480576},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,28,24,16,45]} 
[2026-04-17 11:08:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:08:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:08:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759474688001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:08:24] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 11:08:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:08:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113356775490584576,"km_value":113356775490584.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:08:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":5348054643480576,"description":"Unknown IO ID 45"} 
[2026-04-17 11:08:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759474688001,"power":14483,"unknown_216":206,"unknown_28":32256,"ignition":23,"odometer":null,"unknown_45":5348054643480576}} 
[2026-04-17 11:08:24] local.INFO: DEBUG: GPS processor result {"connection_id":46555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:08:24] local.INFO: GPS data processed {"connection_id":46555,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:08:24] local.INFO: Acknowledgment sent {"connection_id":46555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:08:28] local.INFO: TCP Data received {"connection_id":45982,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:08:28] local.INFO: Processing buffer {"connection_id":45982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:08:28] local.INFO: Packet analysis {"connection_id":45982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:08:28] local.INFO: Extracted packet for processing {"connection_id":45982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:08:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759375360001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776404111000,"timestamp_ms":1776404111000,"timestamp_seconds":1776404111,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ef9e98"} 
[2026-04-17 11:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-04-17 11:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759375360001,"66":25854,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759375360001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:08:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:08:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759375360001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:08:28] local.INFO: TCP Data received {"connection_id":46555,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f182f8012d004c8007016900000c004028..."} 
[2026-04-17 11:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f182f8012d004c8007016900000c004028..."} 
[2026-04-17 11:08:28] local.INFO: Processing buffer {"connection_id":46555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f182f8012d004c8007016900000c004028..."} 
[2026-04-17 11:08:28] local.INFO: Packet analysis {"connection_id":46555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f1"} 
[2026-04-17 11:08:28] local.INFO: Extracted packet for processing {"connection_id":46555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f1"} 
[2026-04-17 11:08:28] local.INFO: GPS Element Parsed {"raw_longitude":754994304,"raw_latitude":117532928,"longitude_deg":75.4994304,"latitude_deg":11.7532928,"altitude":12,"angle":64,"satellites":40,"speed":20,"hex_longitude":"2d004c80","hex_latitude":"07016900","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759478784001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113357183512477696,"note":"Value kept but may cause issues"} 
[2026-04-17 11:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":13510828969392128,"note":"Value kept but may cause issues"} 
[2026-04-17 11:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776404235000,"timestamp_ms":1776404235000,"timestamp_seconds":1776404235,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f182f8"} 
[2026-04-17 11:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:08: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-04-17 11: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-17 11:08:28] 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-04-17 11: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-04-17 11:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":45982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759478784001,"66":13939,"22":206,"28":32256,"24":20,"16":113357183512477696,"45":13510828969392128},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,28,24,16,45]} 
[2026-04-17 11:08:28] local.INFO: GPS data processed {"connection_id":45982,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:08:28] local.INFO: Acknowledgment sent {"connection_id":45982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759478784001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:08:28] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-04-17 11:08:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113357183512477696,"km_value":113357183512477.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":13510828969392128,"description":"Unknown IO ID 45"} 
[2026-04-17 11:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759478784001,"power":13939,"unknown_22":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_45":13510828969392128}} 
[2026-04-17 11:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":46555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:08:28] local.INFO: GPS data processed {"connection_id":46555,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:08:28] local.INFO: Acknowledgment sent {"connection_id":46555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:08:45] local.INFO: TCP Data received {"connection_id":45983,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:08:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:08:45] local.INFO: Processing buffer {"connection_id":45983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:08:45] local.INFO: Packet analysis {"connection_id":45983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:08:45] local.INFO: Extracted packet for processing {"connection_id":45983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:08:45] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:08:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759386368001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:08:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:08:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:08:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:08:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776404154000,"timestamp_ms":1776404154000,"timestamp_seconds":1776404154,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f04690"} 
[2026-04-17 11:08:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:08:45] 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-04-17 11: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-17 11:08:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:08:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:08:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:08:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:08:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:08:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45983,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:08:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:08:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:08:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:08:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759386368001,"66":26223,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:08:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:08:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:08:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759386368001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:08:45] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:08:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:08:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:08:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759386368001,"power":26223,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:08:45] local.INFO: DEBUG: GPS processor result {"connection_id":45983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20763,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:08:45] local.INFO: GPS data processed {"connection_id":45983,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:08:45] local.INFO: Acknowledgment sent {"connection_id":45983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:08:51] local.INFO: TCP Data received {"connection_id":46556,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:08:51] local.INFO: Processing buffer {"connection_id":46556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:08:51] local.INFO: IMEI packet received {"connection_id":46556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":46556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:08:56] local.INFO: TCP Data received {"connection_id":46556,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46556,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:08:56] local.INFO: Processing buffer {"connection_id":46556,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:08:56] local.INFO: IMEI packet received {"connection_id":46556,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":46556,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:08:57] local.INFO: TCP Data received {"connection_id":46556,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:08:57] local.INFO: Processing buffer {"connection_id":46556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:08:57] local.INFO: Packet analysis {"connection_id":46556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:08:57] local.INFO: Extracted packet for processing {"connection_id":46556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:08:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759375360001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776404111000,"timestamp_ms":1776404111000,"timestamp_seconds":1776404111,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ef9e98"} 
[2026-04-17 11:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-04-17 11:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759375360001,"66":25854,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759375360001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:08:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:08:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759375360001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":46556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:08:57] local.INFO: GPS data processed {"connection_id":46556,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:08:57] local.INFO: Acknowledgment sent {"connection_id":46556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:09:00] local.INFO: TCP Data received {"connection_id":46555,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f1adf0012d006040070172a8000b005128..."} 
[2026-04-17 11:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f1adf0012d006040070172a8000b005128..."} 
[2026-04-17 11:09:00] local.INFO: Processing buffer {"connection_id":46555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f1adf0012d006040070172a8000b005128..."} 
[2026-04-17 11:09:00] local.INFO: Packet analysis {"connection_id":46555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f1"} 
[2026-04-17 11:09:00] local.INFO: Extracted packet for processing {"connection_id":46555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f1"} 
[2026-04-17 11:09:00] local.INFO: GPS Element Parsed {"raw_longitude":754999360,"raw_latitude":117535400,"longitude_deg":75.499936,"latitude_deg":11.75354,"altitude":11,"angle":81,"satellites":40,"speed":9,"hex_longitude":"2d006040","hex_latitude":"070172a8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759484160001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113357454095417344,"note":"Value kept but may cause issues"} 
[2026-04-17 11:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":21532865806794752,"note":"Value kept but may cause issues"} 
[2026-04-17 11:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776404246000,"timestamp_ms":1776404246000,"timestamp_seconds":1776404246,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f1adf0"} 
[2026-04-17 11:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:09:00] 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-04-17 11: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-04-17 11:09:00] 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-04-17 11: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-04-17 11:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46555,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759484160001,"66":13993,"22":206,"28":32256,"24":9,"16":113357454095417344,"45":21532865806794752},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,28,24,16,45]} 
[2026-04-17 11:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759484160001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:09:00] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-04-17 11:09:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113357454095417344,"km_value":113357454095417.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":21532865806794752,"description":"Unknown IO ID 45"} 
[2026-04-17 11:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759484160001,"power":13993,"unknown_22":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":21532865806794752}} 
[2026-04-17 11:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":46555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:09:01] local.INFO: GPS data processed {"connection_id":46555,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:09:01] local.INFO: Acknowledgment sent {"connection_id":46555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:09:05] local.INFO: TCP Data received {"connection_id":45791,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:09:05] local.INFO: Processing buffer {"connection_id":45791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:09:05] local.INFO: IMEI packet received {"connection_id":45791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":45791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:09:10] local.INFO: TCP Data received {"connection_id":45791,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:09:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45791,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:09:10] local.INFO: Processing buffer {"connection_id":45791,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:09:10] local.INFO: IMEI packet received {"connection_id":45791,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:09:10] local.INFO: IMEI acknowledgment sent {"connection_id":45791,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:09:12] local.INFO: TCP Data received {"connection_id":45791,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:09:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:09:12] local.INFO: Processing buffer {"connection_id":45791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:09:12] local.INFO: Packet analysis {"connection_id":45791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:09:12] local.INFO: Extracted packet for processing {"connection_id":45791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:09:12] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:09:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759386368001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:09:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:09:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:09:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:09:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776404154000,"timestamp_ms":1776404154000,"timestamp_seconds":1776404154,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f04690"} 
[2026-04-17 11:09:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:09: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-04-17 11: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-17 11:09:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:09:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:09:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:09:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:09:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:09:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:09:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:09:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:09:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:09:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759386368001,"66":26223,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:09:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:09:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:09:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759386368001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:09:12] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:09:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:09:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:09:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759386368001,"power":26223,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:09:12] local.INFO: DEBUG: GPS processor result {"connection_id":45791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20766,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:09:12] local.INFO: GPS data processed {"connection_id":45791,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:09:12] local.INFO: Acknowledgment sent {"connection_id":45791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:09:17] local.INFO: TCP Data received {"connection_id":46557,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:09:17] local.INFO: Processing buffer {"connection_id":46557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:09:17] local.INFO: IMEI packet received {"connection_id":46557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:09:17] local.INFO: IMEI acknowledgment sent {"connection_id":46557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:09:19] local.INFO: TCP Data received {"connection_id":46557,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:09:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:09:19] local.INFO: Processing buffer {"connection_id":46557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:09:19] local.INFO: IMEI packet received {"connection_id":46557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:09:19] local.INFO: IMEI acknowledgment sent {"connection_id":46557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:09:23] local.INFO: TCP Data received {"connection_id":46557,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:09:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46557,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:09:23] local.INFO: Processing buffer {"connection_id":46557,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:09:23] local.INFO: IMEI packet received {"connection_id":46557,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:09:23] local.INFO: IMEI acknowledgment sent {"connection_id":46557,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:09:24] local.INFO: TCP Data received {"connection_id":46557,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f1b5c0012d00630007017368000c004428..."} 
[2026-04-17 11:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f1b5c0012d00630007017368000c004428..."} 
[2026-04-17 11:09:24] local.INFO: Processing buffer {"connection_id":46557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f1b5c0012d00630007017368000c004428..."} 
[2026-04-17 11:09:24] local.INFO: Packet analysis {"connection_id":46557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f1"} 
[2026-04-17 11:09:24] local.INFO: Extracted packet for processing {"connection_id":46557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f1"} 
[2026-04-17 11:09:24] local.INFO: GPS Element Parsed {"raw_longitude":755000064,"raw_latitude":117535592,"longitude_deg":75.5000064,"latitude_deg":11.7535592,"altitude":12,"angle":68,"satellites":40,"speed":17,"hex_longitude":"2d006300","hex_latitude":"07017368","is_valid_coordinates":true} 
[2026-04-17 11:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:09:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759486976001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:09:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113357488455155712,"note":"Value kept but may cause issues"} 
[2026-04-17 11:09:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":27091996597463040,"note":"Value kept but may cause issues"} 
[2026-04-17 11:09:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,22,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:09:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776404248000,"timestamp_ms":1776404248000,"timestamp_seconds":1776404248,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f1b5c0"} 
[2026-04-17 11:09:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:09: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-04-17 11:09:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 11:09:24] 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-04-17 11:09:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:09:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:09:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:09:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:09:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:09:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:09:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:09:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:09:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:09:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759486976001,"66":13798,"22":206,"28":32256,"24":17,"16":113357488455155712,"45":27091996597463040},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,22,28,24,16,45]} 
[2026-04-17 11:09:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:09:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:09:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759486976001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:09:24] local.INFO: Unknown IO ID detected {"io_id":22,"value":206,"description":"Unknown IO ID 22"} 
[2026-04-17 11:09:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:09:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113357488455155712,"km_value":113357488455155.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:09:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":27091996597463040,"description":"Unknown IO ID 45"} 
[2026-04-17 11:09:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759486976001,"power":13798,"unknown_22":206,"unknown_28":32256,"ignition":17,"odometer":null,"unknown_45":27091996597463040}} 
[2026-04-17 11:09:24] local.INFO: DEBUG: GPS processor result {"connection_id":46557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20767,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:09:24] local.INFO: GPS data processed {"connection_id":46557,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:09:24] local.INFO: Acknowledgment sent {"connection_id":46557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:09:28] local.INFO: TCP Data received {"connection_id":46556,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:09:28] local.INFO: Processing buffer {"connection_id":46556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:09:28] local.INFO: Packet analysis {"connection_id":46556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:09:28] local.INFO: Extracted packet for processing {"connection_id":46556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:09:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759375360001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776404111000,"timestamp_ms":1776404111000,"timestamp_seconds":1776404111,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ef9e98"} 
[2026-04-17 11:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-04-17 11:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46556,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:09: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-04-17 11:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759375360001,"66":25854,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759375360001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:09:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:09:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759375360001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":46556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:09:28] local.INFO: GPS data processed {"connection_id":46556,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:09:28] local.INFO: Acknowledgment sent {"connection_id":46556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:09:46] local.INFO: TCP Data received {"connection_id":45791,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:09:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:09:46] local.INFO: Processing buffer {"connection_id":45791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:09:46] local.INFO: Packet analysis {"connection_id":45791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:09:46] local.INFO: Extracted packet for processing {"connection_id":45791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:09:46] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:09:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759386368001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:09:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:09:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:09:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:09:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776404154000,"timestamp_ms":1776404154000,"timestamp_seconds":1776404154,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f04690"} 
[2026-04-17 11:09:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:09:46] 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-04-17 11: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-17 11:09:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:09:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:09:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:09:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:09:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:09:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45791,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:09:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:09:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:09:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:09:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759386368001,"66":26223,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:09:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:09:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:09:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759386368001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:09:46] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:09:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:09:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:09:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759386368001,"power":26223,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:09:46] local.INFO: DEBUG: GPS processor result {"connection_id":45791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20769,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:09:46] local.INFO: GPS data processed {"connection_id":45791,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:09:46] local.INFO: Acknowledgment sent {"connection_id":45791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:09:56] local.INFO: TCP Data received {"connection_id":46558,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:09:56] local.INFO: Processing buffer {"connection_id":46558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:09:56] local.INFO: IMEI packet received {"connection_id":46558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":46558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:09:56] local.INFO: TCP Data received {"connection_id":46557,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f1e888012d00868007018028000b004127..."} 
[2026-04-17 11:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46557,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f1e888012d00868007018028000b004127..."} 
[2026-04-17 11:09:56] local.INFO: Processing buffer {"connection_id":46557,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f1e888012d00868007018028000b004127..."} 
[2026-04-17 11:09:56] local.INFO: Packet analysis {"connection_id":46557,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f1"} 
[2026-04-17 11:09:56] local.INFO: Extracted packet for processing {"connection_id":46557,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f1"} 
[2026-04-17 11:09:56] local.INFO: GPS Element Parsed {"raw_longitude":755009152,"raw_latitude":117538856,"longitude_deg":75.5009152,"latitude_deg":11.7538856,"altitude":11,"angle":65,"satellites":39,"speed":36,"hex_longitude":"2d008680","hex_latitude":"07018028","is_valid_coordinates":true} 
[2026-04-17 11:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759487488001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113357948016656384,"note":"Value kept but may cause issues"} 
[2026-04-17 11:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":27866052783466496,"note":"Value kept but may cause issues"} 
[2026-04-17 11:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,214,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776404261000,"timestamp_ms":1776404261000,"timestamp_seconds":1776404261,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f1e888"} 
[2026-04-17 11:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:09:56] 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-04-17 11:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-17 11:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46557,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46557,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759487488001,"66":14048,"214":206,"28":32256,"24":36,"16":113357948016656384,"45":27866052783466496},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,214,28,24,16,45]} 
[2026-04-17 11:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759487488001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:09:56] local.INFO: Unknown IO ID detected {"io_id":214,"value":206,"description":"Unknown IO ID 214"} 
[2026-04-17 11:09:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113357948016656384,"km_value":113357948016656.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":27866052783466496,"description":"Unknown IO ID 45"} 
[2026-04-17 11:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759487488001,"power":14048,"unknown_214":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_45":27866052783466496}} 
[2026-04-17 11:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":46557,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20770,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:09:56] local.INFO: GPS data processed {"connection_id":46557,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:09:56] local.INFO: Acknowledgment sent {"connection_id":46557,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:10:01] local.INFO: TCP Data received {"connection_id":46558,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:10:01] local.INFO: Processing buffer {"connection_id":46558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:10:01] local.INFO: IMEI packet received {"connection_id":46558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:10:01] local.INFO: IMEI acknowledgment sent {"connection_id":46558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:10:01] local.INFO: TCP Data received {"connection_id":46558,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:10:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:10:01] local.INFO: Processing buffer {"connection_id":46558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:10:01] local.INFO: Packet analysis {"connection_id":46558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:10:01] local.INFO: Extracted packet for processing {"connection_id":46558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:10:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:10:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759375360001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:10:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776404111000,"timestamp_ms":1776404111000,"timestamp_seconds":1776404111,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ef9e98"} 
[2026-04-17 11:10:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:10:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-04-17 11:10:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:10:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:10:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:10:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:10:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:10:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:10: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-04-17 11:10:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:10:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:10:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759375360001,"66":25854,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:10:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:10:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:10:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759375360001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:10:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:10:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:10:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:10:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:10:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759375360001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:10:01] local.INFO: DEBUG: GPS processor result {"connection_id":46558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:10:01] local.INFO: GPS data processed {"connection_id":46558,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:10:01] local.INFO: Acknowledgment sent {"connection_id":46558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:10:05] local.INFO: TCP Data received {"connection_id":45714,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:10:05] local.INFO: Processing buffer {"connection_id":45714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:10:05] local.INFO: IMEI packet received {"connection_id":45714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":45714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:10:06] local.INFO: TCP Data received {"connection_id":46558,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:10:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:10:06] local.INFO: Processing buffer {"connection_id":46558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ef9e98012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:10:06] local.INFO: Packet analysis {"connection_id":46558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:10:06] local.INFO: Extracted packet for processing {"connection_id":46558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ef"} 
[2026-04-17 11:10:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:10:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759375360001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:10:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776404111000,"timestamp_ms":1776404111000,"timestamp_seconds":1776404111,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ef9e98"} 
[2026-04-17 11:10:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:10:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:10:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-04-17 11:10:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:10:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:10:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:10:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:10:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:10:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:10:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:10:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:10:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:10:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759375360001,"66":25854,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:10:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:10:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:10:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759375360001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:10:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:10:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:10:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:10:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:10:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759375360001,"power":25854,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:10:06] local.INFO: DEBUG: GPS processor result {"connection_id":46558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:10:06] local.INFO: GPS data processed {"connection_id":46558,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:10:06] local.INFO: Acknowledgment sent {"connection_id":46558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:10:10] local.INFO: TCP Data received {"connection_id":45714,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45714,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:10:10] local.INFO: Processing buffer {"connection_id":45714,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:10:10] local.INFO: IMEI packet received {"connection_id":45714,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":45714,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:10:12] local.INFO: TCP Data received {"connection_id":45714,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:10:12] local.INFO: Processing buffer {"connection_id":45714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:10:12] local.INFO: Packet analysis {"connection_id":45714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:10:12] local.INFO: Extracted packet for processing {"connection_id":45714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:10:12] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759386368001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776404154000,"timestamp_ms":1776404154000,"timestamp_seconds":1776404154,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f04690"} 
[2026-04-17 11:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:10: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-04-17 11:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-17 11:10:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759386368001,"66":26223,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759386368001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:10:12] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759386368001,"power":26223,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":45714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20773,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:10:12] local.INFO: GPS data processed {"connection_id":45714,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:10:12] local.INFO: Acknowledgment sent {"connection_id":45714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:10:17] local.INFO: TCP Data received {"connection_id":45984,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:10:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:10:17] local.INFO: Processing buffer {"connection_id":45984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:10:17] local.INFO: IMEI packet received {"connection_id":45984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:10:17] local.INFO: IMEI acknowledgment sent {"connection_id":45984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:10:22] local.INFO: TCP Data received {"connection_id":45984,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:10:22] local.INFO: Processing buffer {"connection_id":45984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:10:22] local.INFO: IMEI packet received {"connection_id":45984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":45984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:10:24] local.INFO: TCP Data received {"connection_id":45984,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f33c60012d01404007021d400006001528..."} 
[2026-04-17 11:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f33c60012d01404007021d400006001528..."} 
[2026-04-17 11:10:24] local.INFO: Processing buffer {"connection_id":45984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f33c60012d01404007021d400006001528..."} 
[2026-04-17 11:10:24] local.INFO: Packet analysis {"connection_id":45984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f3"} 
[2026-04-17 11:10:24] local.INFO: Extracted packet for processing {"connection_id":45984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f3"} 
[2026-04-17 11:10:24] local.INFO: GPS Element Parsed {"raw_longitude":755056704,"raw_latitude":117579072,"longitude_deg":75.5056704,"latitude_deg":11.7579072,"altitude":6,"angle":21,"satellites":40,"speed":41,"hex_longitude":"2d014040","hex_latitude":"07021d40","is_valid_coordinates":true} 
[2026-04-17 11:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:10:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759510784001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113361332450885632,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":86764691669129216,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:10:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776404348000,"timestamp_ms":1776404348000,"timestamp_seconds":1776404348,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f33c60"} 
[2026-04-17 11:10:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:10:24] 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-04-17 11:10:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-17 11:10:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2285,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:10:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:10:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:10:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:10:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:10:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:10:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:10:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:10:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:10:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:10:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759510784001,"66":14070,"36":206,"28":32256,"24":41,"16":113361332450885632,"45":86764691669129216},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,28,24,16,45]} 
[2026-04-17 11:10:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:10:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:10:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759510784001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:10:24] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 11:10:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:10:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113361332450885632,"km_value":113361332450885.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:10:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":86764691669129216,"description":"Unknown IO ID 45"} 
[2026-04-17 11:10:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759510784001,"power":14070,"unknown_36":206,"unknown_28":32256,"ignition":41,"odometer":null,"unknown_45":86764691669129216}} 
[2026-04-17 11:10:24] local.INFO: DEBUG: GPS processor result {"connection_id":45984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:10:24] local.INFO: GPS data processed {"connection_id":45984,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:10:24] local.INFO: Acknowledgment sent {"connection_id":45984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:10:49] local.INFO: TCP Data received {"connection_id":45714,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:10:49] local.INFO: Processing buffer {"connection_id":45714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:10:49] local.INFO: Packet analysis {"connection_id":45714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:10:49] local.INFO: Extracted packet for processing {"connection_id":45714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:10:49] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:10:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759386368001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:10:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776404154000,"timestamp_ms":1776404154000,"timestamp_seconds":1776404154,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f04690"} 
[2026-04-17 11:10:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:10:49] 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-04-17 11:10:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-17 11:10:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:10:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:10:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:10:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:10:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:10:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:10:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45714,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:10:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:10:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:10:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:10:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759386368001,"66":26223,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:10:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:10:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:10:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759386368001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:10:49] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:10:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:10:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:10:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759386368001,"power":26223,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:10:49] local.INFO: DEBUG: GPS processor result {"connection_id":45714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20775,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:10:49] local.INFO: GPS data processed {"connection_id":45714,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:10:49] local.INFO: Acknowledgment sent {"connection_id":45714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:10:50] local.INFO: TCP Data received {"connection_id":45792,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:10:50] local.INFO: Processing buffer {"connection_id":45792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:10:50] local.INFO: IMEI packet received {"connection_id":45792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":45792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:10:51] local.INFO: TCP Data received {"connection_id":45792,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:10:51] local.INFO: Processing buffer {"connection_id":45792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:10:51] local.INFO: IMEI packet received {"connection_id":45792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":45792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:10:56] local.INFO: TCP Data received {"connection_id":45984,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f36370012d014d8007024108000a001828..."} 
[2026-04-17 11:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f36370012d014d8007024108000a001828..."} 
[2026-04-17 11:10:56] local.INFO: Processing buffer {"connection_id":45984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f36370012d014d8007024108000a001828..."} 
[2026-04-17 11:10:56] local.INFO: Packet analysis {"connection_id":45984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f3"} 
[2026-04-17 11:10:56] local.INFO: Extracted packet for processing {"connection_id":45984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f3"} 
[2026-04-17 11:10:56] local.INFO: GPS Element Parsed {"raw_longitude":755060096,"raw_latitude":117588232,"longitude_deg":75.5060096,"latitude_deg":11.7588232,"altitude":10,"angle":24,"satellites":40,"speed":37,"hex_longitude":"2d014d80","hex_latitude":"07024108","is_valid_coordinates":true} 
[2026-04-17 11:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759513088001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113361804897288192,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":90142391391830016,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776404358000,"timestamp_ms":1776404358000,"timestamp_seconds":1776404358,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f36370"} 
[2026-04-17 11:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:10: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-04-17 11:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-17 11:10:56] 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-04-17 11:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759513088001,"66":13722,"36":206,"28":32256,"24":37,"16":113361804897288192,"45":90142391391830016},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,28,24,16,45]} 
[2026-04-17 11:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759513088001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:10:56] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 11:10:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113361804897288192,"km_value":113361804897288.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":90142391391830016,"description":"Unknown IO ID 45"} 
[2026-04-17 11:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759513088001,"power":13722,"unknown_36":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_45":90142391391830016}} 
[2026-04-17 11:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":45984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:10:56] local.INFO: GPS data processed {"connection_id":45984,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:10:56] local.INFO: Acknowledgment sent {"connection_id":45984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:10:56] local.INFO: TCP Data received {"connection_id":45792,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45792,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:10:56] local.INFO: Processing buffer {"connection_id":45792,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:10:56] local.INFO: IMEI packet received {"connection_id":45792,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":45792,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:10:57] local.INFO: TCP Data received {"connection_id":45792,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:10:57] local.INFO: Processing buffer {"connection_id":45792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:10:57] local.INFO: Packet analysis {"connection_id":45792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:10:57] local.INFO: Extracted packet for processing {"connection_id":45792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:10:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759452416001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:10:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776404412000,"timestamp_ms":1776404412000,"timestamp_seconds":1776404412,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f43660"} 
[2026-04-17 11:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-17 11:10:57] 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-04-17 11:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759452416001,"66":25691,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759452416001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:10:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:10:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759452416001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":45792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:10:57] local.INFO: GPS data processed {"connection_id":45792,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:10:57] local.INFO: Acknowledgment sent {"connection_id":45792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:11:10] local.INFO: TCP Data received {"connection_id":46559,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:11:10] local.INFO: Processing buffer {"connection_id":46559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:11:10] local.INFO: IMEI packet received {"connection_id":46559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":46559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:11:15] local.INFO: TCP Data received {"connection_id":46559,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46559,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:11:15] local.INFO: Processing buffer {"connection_id":46559,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:11:15] local.INFO: IMEI packet received {"connection_id":46559,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":46559,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:11:17] local.INFO: TCP Data received {"connection_id":46559,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:11:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:11:17] local.INFO: Processing buffer {"connection_id":46559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:11:17] local.INFO: Packet analysis {"connection_id":46559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:11:17] local.INFO: Extracted packet for processing {"connection_id":46559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:11:17] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:11:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759386368001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:11:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:11:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:11:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:11:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776404154000,"timestamp_ms":1776404154000,"timestamp_seconds":1776404154,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f04690"} 
[2026-04-17 11:11:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:11:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:11:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-17 11:11:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:11:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:11:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:11:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:11:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:11:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:11:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:11:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:11:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:11:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:11:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759386368001,"66":26223,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:11:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:11:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:11:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759386368001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:11:17] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:11:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:11:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:11:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759386368001,"power":26223,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:11:17] local.INFO: DEBUG: GPS processor result {"connection_id":46559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20778,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:11:17] local.INFO: GPS data processed {"connection_id":46559,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:11:17] local.INFO: Acknowledgment sent {"connection_id":46559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:11:22] local.INFO: TCP Data received {"connection_id":45985,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:11:22] local.INFO: Processing buffer {"connection_id":45985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:11:22] local.INFO: IMEI packet received {"connection_id":45985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":45985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:11:22] local.INFO: TCP Data received {"connection_id":46559,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:11:22] local.INFO: Processing buffer {"connection_id":46559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f04690012d29480006c0caf0000600822f..."} 
[2026-04-17 11:11:22] local.INFO: Packet analysis {"connection_id":46559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:11:22] local.INFO: Extracted packet for processing {"connection_id":46559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f0"} 
[2026-04-17 11:11:22] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:11:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759386368001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:11:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:11:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:11:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:11:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776404154000,"timestamp_ms":1776404154000,"timestamp_seconds":1776404154,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f04690"} 
[2026-04-17 11:11:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:11:22] 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-04-17 11: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":103,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-17 11:11:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1271,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:11:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:11:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:11:22] local.INFO: Teltonika packet parsed successfully {"connection_id":46559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:11:22] local.INFO: Passing IMEI to GPS processor {"connection_id":46559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:11:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":46559,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:11:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:11:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:11:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:11:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759386368001,"66":26223,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:11:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:11:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:11:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759386368001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:11:22] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:11:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:11:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:11:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759386368001,"power":26223,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:11:23] local.INFO: DEBUG: GPS processor result {"connection_id":46559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20779,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:11:23] local.INFO: GPS data processed {"connection_id":46559,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:11:23] local.INFO: Acknowledgment sent {"connection_id":46559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:11:23] local.INFO: TCP Data received {"connection_id":45985,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:11:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:11:23] local.INFO: Processing buffer {"connection_id":45985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:11:23] local.INFO: IMEI packet received {"connection_id":45985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:11:23] local.INFO: IMEI acknowledgment sent {"connection_id":45985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:11:24] local.INFO: TCP Data received {"connection_id":45985,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45985,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:11:24] local.INFO: Processing buffer {"connection_id":45985,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:11:24] local.INFO: IMEI packet received {"connection_id":45985,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":45985,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:11:25] local.INFO: TCP Data received {"connection_id":45985,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f37310012d01550007024df0000a002728..."} 
[2026-04-17 11:11:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f37310012d01550007024df0000a002728..."} 
[2026-04-17 11:11:25] local.INFO: Processing buffer {"connection_id":45985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f37310012d01550007024df0000a002728..."} 
[2026-04-17 11:11:25] local.INFO: Packet analysis {"connection_id":45985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f3"} 
[2026-04-17 11:11:25] local.INFO: Extracted packet for processing {"connection_id":45985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f3"} 
[2026-04-17 11:11:25] local.INFO: GPS Element Parsed {"raw_longitude":755062016,"raw_latitude":117591536,"longitude_deg":75.5062016,"latitude_deg":11.7591536,"altitude":10,"angle":39,"satellites":40,"speed":38,"hex_longitude":"2d015500","hex_latitude":"07024df0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:11:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759515648001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:11:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113361989580881920,"note":"Value kept but may cause issues"} 
[2026-04-17 11:11:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":93871934835591168,"note":"Value kept but may cause issues"} 
[2026-04-17 11:11:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:11:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776404362000,"timestamp_ms":1776404362000,"timestamp_seconds":1776404362,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f37310"} 
[2026-04-17 11:11:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:11:25] 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-04-17 11: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-17 11:11:25] 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-04-17 11: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-04-17 11:11:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:11:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:11:25] local.INFO: Teltonika packet parsed successfully {"connection_id":45985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:11:25] local.INFO: Passing IMEI to GPS processor {"connection_id":45985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:11:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":45985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:11:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:11:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:11:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:11:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759515648001,"66":14048,"36":206,"28":32256,"24":38,"16":113361989580881920,"45":93871934835591168},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,28,24,16,45]} 
[2026-04-17 11:11:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:11:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:11:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759515648001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:11:25] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 11:11:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:11:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113361989580881920,"km_value":113361989580881.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:11:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":93871934835591168,"description":"Unknown IO ID 45"} 
[2026-04-17 11:11:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759515648001,"power":14048,"unknown_36":206,"unknown_28":32256,"ignition":38,"odometer":null,"unknown_45":93871934835591168}} 
[2026-04-17 11:11:25] local.INFO: DEBUG: GPS processor result {"connection_id":45985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20780,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:11:25] local.INFO: GPS data processed {"connection_id":45985,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:11:25] local.INFO: Acknowledgment sent {"connection_id":45985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:11:27] local.INFO: TCP Data received {"connection_id":45985,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f382b0012d015f8007025750000b003228..."} 
[2026-04-17 11:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f382b0012d015f8007025750000b003228..."} 
[2026-04-17 11:11:27] local.INFO: Processing buffer {"connection_id":45985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f382b0012d015f8007025750000b003228..."} 
[2026-04-17 11:11:27] local.INFO: Packet analysis {"connection_id":45985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f3"} 
[2026-04-17 11:11:27] local.INFO: Extracted packet for processing {"connection_id":45985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f3"} 
[2026-04-17 11:11:27] local.INFO: GPS Element Parsed {"raw_longitude":755064704,"raw_latitude":117593936,"longitude_deg":75.5064704,"latitude_deg":11.7593936,"altitude":11,"angle":50,"satellites":40,"speed":31,"hex_longitude":"2d015f80","hex_latitude":"07025750","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759516672001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113362161379573760,"note":"Value kept but may cause issues"} 
[2026-04-17 11:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":95982997161766912,"note":"Value kept but may cause issues"} 
[2026-04-17 11:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776404366000,"timestamp_ms":1776404366000,"timestamp_seconds":1776404366,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f382b0"} 
[2026-04-17 11:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:11: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-04-17 11: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 11:11:27] 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-04-17 11: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-04-17 11:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759516672001,"66":13961,"36":206,"28":32256,"24":31,"16":113362161379573760,"45":95982997161766912},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,28,24,16,45]} 
[2026-04-17 11:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759516672001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:11:27] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 11:11:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113362161379573760,"km_value":113362161379573.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":95982997161766912,"description":"Unknown IO ID 45"} 
[2026-04-17 11:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759516672001,"power":13961,"unknown_36":206,"unknown_28":32256,"ignition":31,"odometer":null,"unknown_45":95982997161766912}} 
[2026-04-17 11:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":45985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:11:28] local.INFO: GPS data processed {"connection_id":45985,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:11:28] local.INFO: Acknowledgment sent {"connection_id":45985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:11:28] local.INFO: TCP Data received {"connection_id":45792,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:11:28] local.INFO: Processing buffer {"connection_id":45792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:11:28] local.INFO: Packet analysis {"connection_id":45792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:11:28] local.INFO: Extracted packet for processing {"connection_id":45792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759452416001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776404412000,"timestamp_ms":1776404412000,"timestamp_seconds":1776404412,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f43660"} 
[2026-04-17 11:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-17 11:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45792,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:11:28] 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-04-17 11:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759452416001,"66":25691,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759452416001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:11:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759452416001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":45792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:11:28] local.INFO: GPS data processed {"connection_id":45792,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:11:28] local.INFO: Acknowledgment sent {"connection_id":45792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:11:57] local.INFO: TCP Data received {"connection_id":45715,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:11:57] local.INFO: Processing buffer {"connection_id":45715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:11:57] local.INFO: IMEI packet received {"connection_id":45715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:11:57] local.INFO: IMEI acknowledgment sent {"connection_id":45715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:11:59] local.INFO: TCP Data received {"connection_id":45985,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f51120012d021580070316000013003324..."} 
[2026-04-17 11:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45985,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f51120012d021580070316000013003324..."} 
[2026-04-17 11:11:59] local.INFO: Processing buffer {"connection_id":45985,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f51120012d021580070316000013003324..."} 
[2026-04-17 11:11:59] local.INFO: Packet analysis {"connection_id":45985,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f5"} 
[2026-04-17 11:11:59] local.INFO: Extracted packet for processing {"connection_id":45985,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f5"} 
[2026-04-17 11:11:59] local.INFO: GPS Element Parsed {"raw_longitude":755111296,"raw_latitude":117642752,"longitude_deg":75.5111296,"latitude_deg":11.7642752,"altitude":19,"angle":51,"satellites":36,"speed":9,"hex_longitude":"2d021580","hex_latitude":"07031600","is_valid_coordinates":true} 
[2026-04-17 11:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759543296001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113365468504391680,"note":"Value kept but may cause issues"} 
[2026-04-17 11:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":149955823959095296,"note":"Value kept but may cause issues"} 
[2026-04-17 11:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776404468000,"timestamp_ms":1776404468000,"timestamp_seconds":1776404468,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f51120"} 
[2026-04-17 11:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:11:59] 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-04-17 11:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-04-17 11:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1948,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45985,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45985,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759543296001,"66":13722,"34":206,"28":32256,"24":9,"16":113365468504391680,"45":149955823959095296},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,45]} 
[2026-04-17 11:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759543296001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:11:59] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-04-17 11:11:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113365468504391680,"km_value":113365468504391.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":149955823959095296,"description":"Unknown IO ID 45"} 
[2026-04-17 11:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759543296001,"power":13722,"unknown_34":206,"unknown_28":32256,"ignition":9,"odometer":null,"unknown_45":149955823959095296}} 
[2026-04-17 11:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":45985,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:11:59] local.INFO: GPS data processed {"connection_id":45985,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:11:59] local.INFO: Acknowledgment sent {"connection_id":45985,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:12:01] local.INFO: TCP Data received {"connection_id":45715,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:12:01] local.INFO: Processing buffer {"connection_id":45715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:12:01] local.INFO: IMEI packet received {"connection_id":45715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":45715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:12:01] local.INFO: TCP Data received {"connection_id":45715,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:12:01] local.INFO: Processing buffer {"connection_id":45715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:12:01] local.INFO: Packet analysis {"connection_id":45715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:12:01] local.INFO: Extracted packet for processing {"connection_id":45715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:12:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:12:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759452416001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:12:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776404412000,"timestamp_ms":1776404412000,"timestamp_seconds":1776404412,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f43660"} 
[2026-04-17 11:12:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:12:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":254,"data_length":795,"current_offset":136} 
[2026-04-17 11:12:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:12:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:12:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:12:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:12:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:12:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:12: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-04-17 11:12:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:12:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:12:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759452416001,"66":25691,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:12:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:12:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:12:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759452416001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:12:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:12:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:12:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:12:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:12:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759452416001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:12:01] local.INFO: DEBUG: GPS processor result {"connection_id":45715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:12:01] local.INFO: GPS data processed {"connection_id":45715,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:12:01] local.INFO: Acknowledgment sent {"connection_id":45715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:12:06] local.INFO: TCP Data received {"connection_id":46560,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:12:06] local.INFO: Processing buffer {"connection_id":46560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:12:06] local.INFO: IMEI packet received {"connection_id":46560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":46560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:12:06] local.INFO: TCP Data received {"connection_id":45715,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:12:06] local.INFO: Processing buffer {"connection_id":45715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:12:06] local.INFO: Packet analysis {"connection_id":45715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:12:06] local.INFO: Extracted packet for processing {"connection_id":45715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:12:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:12:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759452416001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:12:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776404412000,"timestamp_ms":1776404412000,"timestamp_seconds":1776404412,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f43660"} 
[2026-04-17 11:12:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:12:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-17 11:12:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:12:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:12:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:12:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:12:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:12:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:12:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:12:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:12:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:12:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759452416001,"66":25691,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:12:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:12:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:12:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759452416001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:12:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:12:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:12:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:12:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:12:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759452416001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:12:06] local.INFO: DEBUG: GPS processor result {"connection_id":45715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:12:06] local.INFO: GPS data processed {"connection_id":45715,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:12:06] local.INFO: Acknowledgment sent {"connection_id":45715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:12:10] local.INFO: TCP Data received {"connection_id":46560,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46560,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:12:10] local.INFO: Processing buffer {"connection_id":46560,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:12:10] local.INFO: IMEI packet received {"connection_id":46560,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":46560,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:12:12] local.INFO: TCP Data received {"connection_id":46560,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:12:12] local.INFO: Processing buffer {"connection_id":46560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:12:12] local.INFO: Packet analysis {"connection_id":46560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:12:12] local.INFO: Extracted packet for processing {"connection_id":46560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:12:12] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:12:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759463424001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776404455000,"timestamp_ms":1776404455000,"timestamp_seconds":1776404455,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f4de58"} 
[2026-04-17 11:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:12: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-04-17 11:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 11:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759463424001,"66":26006,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759463424001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:12:12] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:12:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:12:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759463424001,"power":26006,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":46560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20786,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:12:12] local.INFO: GPS data processed {"connection_id":46560,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:12:12] local.INFO: Acknowledgment sent {"connection_id":46560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:12:18] local.INFO: TCP Data received {"connection_id":45793,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:12:18] local.INFO: Processing buffer {"connection_id":45793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:12:18] local.INFO: IMEI packet received {"connection_id":45793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":45793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:12:18] local.INFO: TCP Data received {"connection_id":45793,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:12:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:12:18] local.INFO: Processing buffer {"connection_id":45793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:12:18] local.INFO: IMEI packet received {"connection_id":45793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:12:18] local.INFO: IMEI acknowledgment sent {"connection_id":45793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:12:22] local.INFO: TCP Data received {"connection_id":45793,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45793,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:12:22] local.INFO: Processing buffer {"connection_id":45793,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:12:22] local.INFO: IMEI packet received {"connection_id":45793,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":45793,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:12:24] local.INFO: TCP Data received {"connection_id":45793,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f520c0012d021840070317d80014004026..."} 
[2026-04-17 11:12:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f520c0012d021840070317d80014004026..."} 
[2026-04-17 11:12:24] local.INFO: Processing buffer {"connection_id":45793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f520c0012d021840070317d80014004026..."} 
[2026-04-17 11:12:24] local.INFO: Packet analysis {"connection_id":45793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f5"} 
[2026-04-17 11:12:24] local.INFO: Extracted packet for processing {"connection_id":45793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f5"} 
[2026-04-17 11:12:24] local.INFO: GPS Element Parsed {"raw_longitude":755112000,"raw_latitude":117643224,"longitude_deg":75.5112,"latitude_deg":11.7643224,"altitude":20,"angle":64,"satellites":38,"speed":10,"hex_longitude":"2d021840","hex_latitude":"070317d8","is_valid_coordinates":true} 
[2026-04-17 11:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:12:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759543808001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113365507159097344,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":150166930191679488,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:12:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776404472000,"timestamp_ms":1776404472000,"timestamp_seconds":1776404472,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f520c0"} 
[2026-04-17 11:12:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:12: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-04-17 11:12:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-17 11:12:24] 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-04-17 11:12:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:12:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:12:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:12:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:12:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:12:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:12:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:12:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:12:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:12:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759543808001,"66":13972,"34":206,"28":32256,"24":10,"16":113365507159097344,"45":150166930191679488},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,45]} 
[2026-04-17 11:12:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:12:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:12:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759543808001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:12:24] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-04-17 11:12:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:12:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113365507159097344,"km_value":113365507159097.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:12:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":150166930191679488,"description":"Unknown IO ID 45"} 
[2026-04-17 11:12:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759543808001,"power":13972,"unknown_34":206,"unknown_28":32256,"ignition":10,"odometer":null,"unknown_45":150166930191679488}} 
[2026-04-17 11:12:24] local.INFO: DEBUG: GPS processor result {"connection_id":45793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20787,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:12:24] local.INFO: GPS data processed {"connection_id":45793,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:12:24] local.INFO: Acknowledgment sent {"connection_id":45793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:12:26] local.INFO: TCP Data received {"connection_id":45793,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f52c78012d021d00070319480015004c26..."} 
[2026-04-17 11:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f52c78012d021d00070319480015004c26..."} 
[2026-04-17 11:12:26] local.INFO: Processing buffer {"connection_id":45793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f52c78012d021d00070319480015004c26..."} 
[2026-04-17 11:12:26] local.INFO: Packet analysis {"connection_id":45793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f5"} 
[2026-04-17 11:12:26] local.INFO: Extracted packet for processing {"connection_id":45793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f5"} 
[2026-04-17 11:12:26] local.INFO: GPS Element Parsed {"raw_longitude":755113216,"raw_latitude":117643592,"longitude_deg":75.5113216,"latitude_deg":11.7643592,"altitude":21,"angle":76,"satellites":38,"speed":20,"hex_longitude":"2d021d00","hex_latitude":"07031948","is_valid_coordinates":true} 
[2026-04-17 11:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:12:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759544832001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113365567288639488,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":150940986377754624,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:12:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776404475000,"timestamp_ms":1776404475000,"timestamp_seconds":1776404475,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f52c78"} 
[2026-04-17 11:12:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:12:26] 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-04-17 11:12:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-17 11:12:26] 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-04-17 11:12:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:12:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:12:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:12:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:12:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:12:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:12:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:12:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:12:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:12:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759544832001,"66":13537,"34":206,"28":32256,"24":20,"16":113365567288639488,"45":150940986377754624},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,45]} 
[2026-04-17 11:12:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:12:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:12:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759544832001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:12:26] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-04-17 11:12:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:12:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113365567288639488,"km_value":113365567288639.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:12:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":150940986377754624,"description":"Unknown IO ID 45"} 
[2026-04-17 11:12:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759544832001,"power":13537,"unknown_34":206,"unknown_28":32256,"ignition":20,"odometer":null,"unknown_45":150940986377754624}} 
[2026-04-17 11:12:26] local.INFO: DEBUG: GPS processor result {"connection_id":45793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:12:26] local.INFO: GPS data processed {"connection_id":45793,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:12:26] local.INFO: Acknowledgment sent {"connection_id":45793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:12:45] local.INFO: TCP Data received {"connection_id":46560,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:12:45] local.INFO: Processing buffer {"connection_id":46560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:12:45] local.INFO: Packet analysis {"connection_id":46560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:12:45] local.INFO: Extracted packet for processing {"connection_id":46560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:12:45] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:12:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759463424001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:12:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776404455000,"timestamp_ms":1776404455000,"timestamp_seconds":1776404455,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f4de58"} 
[2026-04-17 11:12:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:12:45] 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-04-17 11:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 11:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:12:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:12:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46560,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:12:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:12:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:12:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759463424001,"66":26006,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:12:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:12:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:12:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759463424001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:12:45] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:12:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:12:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:12:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759463424001,"power":26006,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":46560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20789,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:12:45] local.INFO: GPS data processed {"connection_id":46560,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:12:45] local.INFO: Acknowledgment sent {"connection_id":46560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:12:52] local.INFO: TCP Data received {"connection_id":45986,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:12:52] local.INFO: Processing buffer {"connection_id":45986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:12:52] local.INFO: IMEI packet received {"connection_id":45986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":45986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:12:56] local.INFO: TCP Data received {"connection_id":45986,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:12:56] local.INFO: Processing buffer {"connection_id":45986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:12:56] local.INFO: IMEI packet received {"connection_id":45986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":45986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:12:57] local.INFO: TCP Data received {"connection_id":45986,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:12:57] local.INFO: Processing buffer {"connection_id":45986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:12:57] local.INFO: Packet analysis {"connection_id":45986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:12:57] local.INFO: Extracted packet for processing {"connection_id":45986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759452416001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776404412000,"timestamp_ms":1776404412000,"timestamp_seconds":1776404412,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f43660"} 
[2026-04-17 11:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-17 11:12:57] 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-04-17 11: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-04-17 11:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759452416001,"66":25691,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759452416001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:12:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759452416001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":45986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20790,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:12:57] local.INFO: GPS data processed {"connection_id":45986,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:12:57] local.INFO: Acknowledgment sent {"connection_id":45986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:12:58] local.INFO: TCP Data received {"connection_id":45793,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f55388012d023d40070322680012003e26..."} 
[2026-04-17 11:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f55388012d023d40070322680012003e26..."} 
[2026-04-17 11:12:58] local.INFO: Processing buffer {"connection_id":45793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f55388012d023d40070322680012003e26..."} 
[2026-04-17 11:12:58] local.INFO: Packet analysis {"connection_id":45793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f5"} 
[2026-04-17 11:12:58] local.INFO: Extracted packet for processing {"connection_id":45793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f5"} 
[2026-04-17 11:12:58] local.INFO: GPS Element Parsed {"raw_longitude":755121472,"raw_latitude":117645928,"longitude_deg":75.5121472,"latitude_deg":11.7645928,"altitude":18,"angle":62,"satellites":38,"speed":43,"hex_longitude":"2d023d40","hex_latitude":"07032268","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759545600001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113365975310532608,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":152277992517224448,"note":"Value kept but may cause issues"} 
[2026-04-17 11:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776404485000,"timestamp_ms":1776404485000,"timestamp_seconds":1776404485,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f55388"} 
[2026-04-17 11:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:12:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-04-17 11:12: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-04-17 11: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-04-17 11:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45793,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759545600001,"66":13928,"34":206,"28":32256,"24":43,"16":113365975310532608,"45":152277992517224448},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,45]} 
[2026-04-17 11:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759545600001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:12:58] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-04-17 11:12:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113365975310532608,"km_value":113365975310532.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":152277992517224448,"description":"Unknown IO ID 45"} 
[2026-04-17 11:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759545600001,"power":13928,"unknown_34":206,"unknown_28":32256,"ignition":43,"odometer":null,"unknown_45":152277992517224448}} 
[2026-04-17 11:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":45793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20791,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:12:58] local.INFO: GPS data processed {"connection_id":45793,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:12:58] local.INFO: Acknowledgment sent {"connection_id":45793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:13:01] local.INFO: TCP Data received {"connection_id":45986,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:13:01] local.INFO: Processing buffer {"connection_id":45986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:13:01] local.INFO: Packet analysis {"connection_id":45986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:13:01] local.INFO: Extracted packet for processing {"connection_id":45986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759452416001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776404412000,"timestamp_ms":1776404412000,"timestamp_seconds":1776404412,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f43660"} 
[2026-04-17 11:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-17 11:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:13: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-04-17 11:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759452416001,"66":25691,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759452416001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:13:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759452416001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":45986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:13:01] local.INFO: GPS data processed {"connection_id":45986,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:13:01] local.INFO: Acknowledgment sent {"connection_id":45986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:13:05] local.INFO: TCP Data received {"connection_id":45716,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:13:05] local.INFO: Processing buffer {"connection_id":45716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:13:05] local.INFO: IMEI packet received {"connection_id":45716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":45716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:13:14] local.INFO: TCP Data received {"connection_id":45716,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:13:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:13:14] local.INFO: Processing buffer {"connection_id":45716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:13:14] local.INFO: IMEI packet received {"connection_id":45716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:13:14] local.INFO: IMEI acknowledgment sent {"connection_id":45716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:13:16] local.INFO: TCP Data received {"connection_id":45716,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:13:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:13:16] local.INFO: Processing buffer {"connection_id":45716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:13:16] local.INFO: Packet analysis {"connection_id":45716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:13:16] local.INFO: Extracted packet for processing {"connection_id":45716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:13:16] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:13:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759463424001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:13:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776404455000,"timestamp_ms":1776404455000,"timestamp_seconds":1776404455,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f4de58"} 
[2026-04-17 11:13:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:13:16] 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-04-17 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 11:13:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:13:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:13:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:13:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:13:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:13:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:13:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:13:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:13:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:13:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759463424001,"66":26006,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:13:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:13:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:13:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759463424001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:13:16] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:13:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:13:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:13:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759463424001,"power":26006,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:13:16] local.INFO: DEBUG: GPS processor result {"connection_id":45716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20793,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:13:16] local.INFO: GPS data processed {"connection_id":45716,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:13:16] local.INFO: Acknowledgment sent {"connection_id":45716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:13:24] local.INFO: TCP Data received {"connection_id":45717,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:13:24] local.INFO: Processing buffer {"connection_id":45717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:13:24] local.INFO: IMEI packet received {"connection_id":45717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:13:24] local.INFO: IMEI acknowledgment sent {"connection_id":45717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:13:25] local.INFO: TCP Data received {"connection_id":45717,"ip":"117.225.160.238","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 11:13:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45717,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 11:13:25] local.INFO: Processing buffer {"connection_id":45717,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 11:13:25] local.INFO: IMEI packet received {"connection_id":45717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:13:25] local.INFO: IMEI acknowledgment sent {"connection_id":45717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:13:26] local.INFO: TCP Data received {"connection_id":45717,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f55f40012d02484007032a080011003025..."} 
[2026-04-17 11:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f55f40012d02484007032a080011003025..."} 
[2026-04-17 11:13:26] local.INFO: Processing buffer {"connection_id":45717,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019d99..."} 
[2026-04-17 11:13:26] local.INFO: IMEI packet received {"connection_id":45717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":45717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:13:28] local.INFO: TCP Data received {"connection_id":45717,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f56af8012d02520007033580000f002026..."} 
[2026-04-17 11:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f56af8012d02520007033580000f002026..."} 
[2026-04-17 11:13:28] local.INFO: Processing buffer {"connection_id":45717,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019d99f55f40012d02484007032a080011003025..."} 
[2026-04-17 11:13:28] local.INFO: Packet analysis {"connection_id":45717,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d99f5"} 
[2026-04-17 11:13:28] local.INFO: Extracted packet for processing {"connection_id":45717,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f5"} 
[2026-04-17 11:13:28] local.INFO: GPS Element Parsed {"raw_longitude":755124288,"raw_latitude":117647880,"longitude_deg":75.5124288,"latitude_deg":11.764788,"altitude":17,"angle":48,"satellites":37,"speed":47,"hex_longitude":"2d024840","hex_latitude":"07032a08","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759548160001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113366142814257152,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":161355560516741120,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776404488000,"timestamp_ms":1776404488000,"timestamp_seconds":1776404488,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f55f40"} 
[2026-04-17 11:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:13: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-04-17 11: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-17 11:13:28] 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-04-17 11: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-04-17 11:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759548160001,"66":14048,"34":206,"28":32256,"24":47,"16":113366142814257152,"45":161355560516741120},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,45]} 
[2026-04-17 11:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759548160001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:13:28] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-04-17 11:13:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113366142814257152,"km_value":113366142814257.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":161355560516741120,"description":"Unknown IO ID 45"} 
[2026-04-17 11:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759548160001,"power":14048,"unknown_34":206,"unknown_28":32256,"ignition":47,"odometer":null,"unknown_45":161355560516741120}} 
[2026-04-17 11:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":45717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20794,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:13:28] local.INFO: GPS data processed {"connection_id":45717,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:13:28] local.INFO: Acknowledgment sent {"connection_id":45717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:13:28] local.INFO: Packet analysis {"connection_id":45717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f5"} 
[2026-04-17 11:13:28] local.INFO: Extracted packet for processing {"connection_id":45717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f5"} 
[2026-04-17 11:13:28] local.INFO: GPS Element Parsed {"raw_longitude":755126784,"raw_latitude":117650816,"longitude_deg":75.5126784,"latitude_deg":11.7650816,"altitude":15,"angle":32,"satellites":38,"speed":51,"hex_longitude":"2d025200","hex_latitude":"07033580","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759548928001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113366327497850880,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":164451785261058048,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776404491000,"timestamp_ms":1776404491000,"timestamp_seconds":1776404491,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f56af8"} 
[2026-04-17 11:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:13: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-04-17 11: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 11:13: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-04-17 11: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-04-17 11:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759548928001,"66":14070,"34":206,"28":32256,"24":51,"16":113366327497850880,"45":164451785261058048},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,45]} 
[2026-04-17 11:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759548928001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:13:28] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-04-17 11:13:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113366327497850880,"km_value":113366327497850.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":164451785261058048,"description":"Unknown IO ID 45"} 
[2026-04-17 11:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759548928001,"power":14070,"unknown_34":206,"unknown_28":32256,"ignition":51,"odometer":null,"unknown_45":164451785261058048}} 
[2026-04-17 11:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":45717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:13:28] local.INFO: GPS data processed {"connection_id":45717,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:13:28] local.INFO: Acknowledgment sent {"connection_id":45717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:13:29] local.INFO: TCP Data received {"connection_id":45717,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f58a38012d02640007035818000a001f27..."} 
[2026-04-17 11:13:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f58a38012d02640007035818000a001f27..."} 
[2026-04-17 11:13:29] local.INFO: Processing buffer {"connection_id":45717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f58a38012d02640007035818000a001f27..."} 
[2026-04-17 11:13:29] local.INFO: Packet analysis {"connection_id":45717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f5"} 
[2026-04-17 11:13:29] local.INFO: Extracted packet for processing {"connection_id":45717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f5"} 
[2026-04-17 11:13:29] local.INFO: GPS Element Parsed {"raw_longitude":755131392,"raw_latitude":117659672,"longitude_deg":75.5131392,"latitude_deg":11.7659672,"altitude":10,"angle":31,"satellites":39,"speed":46,"hex_longitude":"2d026400","hex_latitude":"07035818","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:13:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759549696001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113366808534188032,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":167196166284738560,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:13:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776404499000,"timestamp_ms":1776404499000,"timestamp_seconds":1776404499,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f58a38"} 
[2026-04-17 11:13:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:13:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-17 11:13:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:13:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:13:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:13:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:13:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:13:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:13:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:13:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:13:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:13:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759549696001,"66":14428,"34":206,"28":32256,"24":46,"16":113366808534188032,"45":167196166284738560},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,45]} 
[2026-04-17 11:13:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:13:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:13:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759549696001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:13:29] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-04-17 11:13:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:13:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113366808534188032,"km_value":113366808534188.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:13:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":167196166284738560,"description":"Unknown IO ID 45"} 
[2026-04-17 11:13:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759549696001,"power":14428,"unknown_34":206,"unknown_28":32256,"ignition":46,"odometer":null,"unknown_45":167196166284738560}} 
[2026-04-17 11:13:29] local.INFO: DEBUG: GPS processor result {"connection_id":45717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:13:29] local.INFO: GPS data processed {"connection_id":45717,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:13:29] local.INFO: Acknowledgment sent {"connection_id":45717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:13:33] local.INFO: TCP Data received {"connection_id":45986,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:13:33] local.INFO: Processing buffer {"connection_id":45986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:13:33] local.INFO: Packet analysis {"connection_id":45986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:13:33] local.INFO: Extracted packet for processing {"connection_id":45986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759452416001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776404412000,"timestamp_ms":1776404412000,"timestamp_seconds":1776404412,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f43660"} 
[2026-04-17 11:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:13:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-17 11:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759452416001,"66":25691,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759452416001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:13:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759452416001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":45986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:13:33] local.INFO: GPS data processed {"connection_id":45986,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:13:33] local.INFO: Acknowledgment sent {"connection_id":45986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:13:48] local.INFO: TCP Data received {"connection_id":45716,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:13:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45716,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:13:48] local.INFO: Processing buffer {"connection_id":45716,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:13:48] local.INFO: Packet analysis {"connection_id":45716,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:13:48] local.INFO: Extracted packet for processing {"connection_id":45716,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:13:48] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:13:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759463424001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:13:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776404455000,"timestamp_ms":1776404455000,"timestamp_seconds":1776404455,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f4de58"} 
[2026-04-17 11:13:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:13:48] 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-04-17 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 11:13:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:13:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:13:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:13:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45716,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:13:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:13:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45716,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:13:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:13:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:13:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:13:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759463424001,"66":26006,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:13:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:13:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:13:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759463424001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:13:48] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:13:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:13:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:13:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759463424001,"power":26006,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:13:48] local.INFO: DEBUG: GPS processor result {"connection_id":45716,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20798,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:13:48] local.INFO: GPS data processed {"connection_id":45716,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:13:48] local.INFO: Acknowledgment sent {"connection_id":45716,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:13:51] local.INFO: TCP Data received {"connection_id":45987,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:13:51] local.INFO: Processing buffer {"connection_id":45987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:13:51] local.INFO: IMEI packet received {"connection_id":45987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":45987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:13:57] local.INFO: TCP Data received {"connection_id":45987,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:13:57] local.INFO: Processing buffer {"connection_id":45987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:13:57] local.INFO: IMEI packet received {"connection_id":45987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":45987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:13:58] local.INFO: TCP Data received {"connection_id":45987,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:13:58] local.INFO: Processing buffer {"connection_id":45987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:13:58] local.INFO: Packet analysis {"connection_id":45987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:13:58] local.INFO: Extracted packet for processing {"connection_id":45987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:13:58] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759452416001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776404412000,"timestamp_ms":1776404412000,"timestamp_seconds":1776404412,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f43660"} 
[2026-04-17 11:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:13:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-17 11:13:58] 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-04-17 11: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-04-17 11:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759452416001,"66":25691,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759452416001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:13:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:13:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759452416001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":45987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:13:58] local.INFO: GPS data processed {"connection_id":45987,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:13:58] local.INFO: Acknowledgment sent {"connection_id":45987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:14:01] local.INFO: TCP Data received {"connection_id":45717,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f5a978012d02770007037260000a002a26..."} 
[2026-04-17 11:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f5a978012d02770007037260000a002a26..."} 
[2026-04-17 11:14:01] local.INFO: Processing buffer {"connection_id":45717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f5a978012d02770007037260000a002a26..."} 
[2026-04-17 11:14:01] local.INFO: Packet analysis {"connection_id":45717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f5"} 
[2026-04-17 11:14:01] local.INFO: Extracted packet for processing {"connection_id":45717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f5"} 
[2026-04-17 11:14:01] local.INFO: GPS Element Parsed {"raw_longitude":755136256,"raw_latitude":117666400,"longitude_deg":75.5136256,"latitude_deg":11.76664,"altitude":10,"angle":42,"satellites":38,"speed":30,"hex_longitude":"2d027700","hex_latitude":"07037260","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759551744001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113367212261113856,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":172262715867797504,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,34,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776404507000,"timestamp_ms":1776404507000,"timestamp_seconds":1776404507,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f5a978"} 
[2026-04-17 11:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:14:01] 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-04-17 11: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 11:14: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-04-17 11: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-04-17 11:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759551744001,"66":13830,"34":206,"28":32256,"24":30,"16":113367212261113856,"45":172262715867797504},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,34,28,24,16,45]} 
[2026-04-17 11:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759551744001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:14:01] local.INFO: Unknown IO ID detected {"io_id":34,"value":206,"description":"Unknown IO ID 34"} 
[2026-04-17 11:14:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113367212261113856,"km_value":113367212261113.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":172262715867797504,"description":"Unknown IO ID 45"} 
[2026-04-17 11:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759551744001,"power":13830,"unknown_34":206,"unknown_28":32256,"ignition":30,"odometer":null,"unknown_45":172262715867797504}} 
[2026-04-17 11:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":45717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20800,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:14:01] local.INFO: GPS data processed {"connection_id":45717,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:14:01] local.INFO: Acknowledgment sent {"connection_id":45717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:14:05] local.INFO: TCP Data received {"connection_id":46561,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:14:05] local.INFO: Processing buffer {"connection_id":46561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:14:05] local.INFO: IMEI packet received {"connection_id":46561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:14:05] local.INFO: IMEI acknowledgment sent {"connection_id":46561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:14:10] local.INFO: TCP Data received {"connection_id":46561,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46561,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:14:10] local.INFO: Processing buffer {"connection_id":46561,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:14:10] local.INFO: IMEI packet received {"connection_id":46561,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":46561,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:14:12] local.INFO: TCP Data received {"connection_id":46561,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:14:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:14:12] local.INFO: Processing buffer {"connection_id":46561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:14:12] local.INFO: Packet analysis {"connection_id":46561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:14:12] local.INFO: Extracted packet for processing {"connection_id":46561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:14:12] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:14:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759463424001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:14:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776404455000,"timestamp_ms":1776404455000,"timestamp_seconds":1776404455,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f4de58"} 
[2026-04-17 11:14:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:14: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-04-17 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 11:14:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:14:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:14:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:14:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:14:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:14:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:14:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:14:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:14:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:14:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759463424001,"66":26006,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:14:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:14:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:14:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759463424001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:14:12] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:14:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:14:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:14:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759463424001,"power":26006,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":46561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20801,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:14:12] local.INFO: GPS data processed {"connection_id":46561,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:14:12] local.INFO: Acknowledgment sent {"connection_id":46561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:14:17] local.INFO: TCP Data received {"connection_id":45718,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:14:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:14:17] local.INFO: Processing buffer {"connection_id":45718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:14:17] local.INFO: IMEI packet received {"connection_id":45718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:14:17] local.INFO: IMEI acknowledgment sent {"connection_id":45718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:14:19] local.INFO: TCP Data received {"connection_id":45718,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:14:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:14:19] local.INFO: Processing buffer {"connection_id":45718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:14:19] local.INFO: IMEI packet received {"connection_id":45718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:14:19] local.INFO: IMEI acknowledgment sent {"connection_id":45718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:14:22] local.INFO: TCP Data received {"connection_id":45718,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45718,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:14:22] local.INFO: Processing buffer {"connection_id":45718,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:14:22] local.INFO: IMEI packet received {"connection_id":45718,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":45718,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:14:23] local.INFO: TCP Data received {"connection_id":45718,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f714c0012d033e8007039d700002004521..."} 
[2026-04-17 11:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f714c0012d033e8007039d700002004521..."} 
[2026-04-17 11:14:23] local.INFO: Processing buffer {"connection_id":45718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f714c0012d033e8007039d700002004521..."} 
[2026-04-17 11:14:23] local.INFO: Packet analysis {"connection_id":45718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f7"} 
[2026-04-17 11:14:23] local.INFO: Extracted packet for processing {"connection_id":45718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f7"} 
[2026-04-17 11:14:23] local.INFO: GPS Element Parsed {"raw_longitude":755187328,"raw_latitude":117677424,"longitude_deg":75.5187328,"latitude_deg":11.7677424,"altitude":2,"angle":69,"satellites":33,"speed":0,"hex_longitude":"2d033e80","hex_latitude":"07039d70","is_valid_coordinates":true} 
[2026-04-17 11:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:14:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759572224001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113369832191164416,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":233624260795244544,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:14:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776404600000,"timestamp_ms":1776404600000,"timestamp_seconds":1776404600,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f714c0"} 
[2026-04-17 11:14:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:14: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-04-17 11:14:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 11:14:23] 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-04-17 11:14:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:14:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:14:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:14:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:14:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:14:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:14:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:14:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:14:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:14:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759572224001,"66":14004,"40":206,"28":32256,"24":0,"16":113369832191164416,"45":233624260795244544},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,45]} 
[2026-04-17 11:14:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:14:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:14:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759572224001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:14:23] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-04-17 11:14:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:14:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113369832191164416,"km_value":113369832191164.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:14:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":233624260795244544,"description":"Unknown IO ID 45"} 
[2026-04-17 11:14:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759572224001,"power":14004,"unknown_40":206,"unknown_28":32256,"ignition":0,"odometer":null,"unknown_45":233624260795244544}} 
[2026-04-17 11:14:23] local.INFO: DEBUG: GPS processor result {"connection_id":45718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20802,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:14:23] local.INFO: GPS data processed {"connection_id":45718,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:14:23] local.INFO: Acknowledgment sent {"connection_id":45718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:14:28] local.INFO: TCP Data received {"connection_id":45718,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f71c90012d033ec007039f080002003622..."} 
[2026-04-17 11:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f71c90012d033ec007039f080002003622..."} 
[2026-04-17 11:14:28] local.INFO: Processing buffer {"connection_id":45718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f71c90012d033ec007039f080002003622..."} 
[2026-04-17 11:14:28] local.INFO: Packet analysis {"connection_id":45718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f7"} 
[2026-04-17 11:14:28] local.INFO: Extracted packet for processing {"connection_id":45718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f7"} 
[2026-04-17 11:14:28] local.INFO: GPS Element Parsed {"raw_longitude":755187392,"raw_latitude":117677832,"longitude_deg":75.5187392,"latitude_deg":11.7677832,"altitude":2,"angle":54,"satellites":34,"speed":3,"hex_longitude":"2d033ec0","hex_latitude":"07039f08","is_valid_coordinates":true} 
[2026-04-17 11:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759577600001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113369849371033600,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":233764998283620352,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776404602000,"timestamp_ms":1776404602000,"timestamp_seconds":1776404602,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f71c90"} 
[2026-04-17 11:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:14: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-04-17 11:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 11:14:28] 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-04-17 11:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759577600001,"66":13830,"40":206,"28":32256,"24":3,"16":113369849371033600,"45":233764998283620352},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,45]} 
[2026-04-17 11:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759577600001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:14:28] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-04-17 11:14:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113369849371033600,"km_value":113369849371033.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":233764998283620352,"description":"Unknown IO ID 45"} 
[2026-04-17 11:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759577600001,"power":13830,"unknown_40":206,"unknown_28":32256,"ignition":3,"odometer":null,"unknown_45":233764998283620352}} 
[2026-04-17 11:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":45718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:14:28] local.INFO: GPS data processed {"connection_id":45718,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:14:28] local.INFO: Acknowledgment sent {"connection_id":45718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:14:33] local.INFO: TCP Data received {"connection_id":45987,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:14:33] local.INFO: Processing buffer {"connection_id":45987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:14:33] local.INFO: Packet analysis {"connection_id":45987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:14:33] local.INFO: Extracted packet for processing {"connection_id":45987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:14:33] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759452416001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776404412000,"timestamp_ms":1776404412000,"timestamp_seconds":1776404412,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f43660"} 
[2026-04-17 11:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:14:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-17 11:14:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:14:33] 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-04-17 11:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759452416001,"66":25691,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759452416001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:14:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:14:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759452416001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":45987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:14:33] local.INFO: GPS data processed {"connection_id":45987,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:14:33] local.INFO: Acknowledgment sent {"connection_id":45987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:14:46] local.INFO: TCP Data received {"connection_id":46561,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:14:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46561,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:14:46] local.INFO: Processing buffer {"connection_id":46561,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:14:46] local.INFO: Packet analysis {"connection_id":46561,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:14:46] local.INFO: Extracted packet for processing {"connection_id":46561,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:14:46] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:14:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759463424001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:14:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776404455000,"timestamp_ms":1776404455000,"timestamp_seconds":1776404455,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f4de58"} 
[2026-04-17 11:14:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:14:46] 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-04-17 11:14:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 11:14:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:14:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:14:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:14:46] local.INFO: Teltonika packet parsed successfully {"connection_id":46561,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:14:46] local.INFO: Passing IMEI to GPS processor {"connection_id":46561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:14:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":46561,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:14:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:14:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:14:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:14:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759463424001,"66":26006,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:14:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:14:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:14:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759463424001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:14:46] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:14:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:14:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:14:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759463424001,"power":26006,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:14:46] local.INFO: DEBUG: GPS processor result {"connection_id":46561,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20805,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:14:46] local.INFO: GPS data processed {"connection_id":46561,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:14:46] local.INFO: Acknowledgment sent {"connection_id":46561,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:14:51] local.INFO: TCP Data received {"connection_id":46562,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:14:51] local.INFO: Processing buffer {"connection_id":46562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:14:51] local.INFO: IMEI packet received {"connection_id":46562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":46562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:14:56] local.INFO: TCP Data received {"connection_id":46562,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46562,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:14:56] local.INFO: Processing buffer {"connection_id":46562,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:14:56] local.INFO: IMEI packet received {"connection_id":46562,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":46562,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:14:57] local.INFO: TCP Data received {"connection_id":46562,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:14:57] local.INFO: Processing buffer {"connection_id":46562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:14:57] local.INFO: Packet analysis {"connection_id":46562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:14:57] local.INFO: Extracted packet for processing {"connection_id":46562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:14:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759452416001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776404412000,"timestamp_ms":1776404412000,"timestamp_seconds":1776404412,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f43660"} 
[2026-04-17 11:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-17 11:14:57] 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-04-17 11:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759452416001,"66":25691,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759452416001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:14:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:14:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759452416001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":46562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:14:57] local.INFO: GPS data processed {"connection_id":46562,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:14:57] local.INFO: Acknowledgment sent {"connection_id":46562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:15:00] local.INFO: TCP Data received {"connection_id":45718,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f72848012d0341800703a0000002004421..."} 
[2026-04-17 11:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45718,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f72848012d0341800703a0000002004421..."} 
[2026-04-17 11:15:00] local.INFO: Processing buffer {"connection_id":45718,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f72848012d0341800703a0000002004421..."} 
[2026-04-17 11:15:00] local.INFO: Packet analysis {"connection_id":45718,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f7"} 
[2026-04-17 11:15:00] local.INFO: Extracted packet for processing {"connection_id":45718,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f7"} 
[2026-04-17 11:15:00] local.INFO: GPS Element Parsed {"raw_longitude":755188096,"raw_latitude":117678080,"longitude_deg":75.5188096,"latitude_deg":11.767808,"altitude":2,"angle":68,"satellites":33,"speed":12,"hex_longitude":"2d034180","hex_latitude":"0703a000","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:15:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759578112001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113369883730771968,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":233835367027902464,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:15:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776404605000,"timestamp_ms":1776404605000,"timestamp_seconds":1776404605,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f72848"} 
[2026-04-17 11:15:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:15:00] 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-04-17 11: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":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-17 11:15:00] local.WARNING: Large IO value detected {"io_id":24,"raw_value":11821957627576320,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:00] local.WARNING: Large IO value detected {"io_id":158,"raw_value":1729399855853633536,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2583066752,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:00] local.WARNING: Large IO value detected {"io_id":153,"raw_value":4139188225,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:00] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2605711362,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3827826894,"corrected_to":0} 
[2026-04-17 11:15:00] local.WARNING: Large IO value detected {"io_id":155,"raw_value":-9223359940530012127,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:00] local.WARNING: Large IO value detected {"io_id":53,"raw_value":2583743972,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:00] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3303866368,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:00] local.WARNING: Large IO value detected {"io_id":77,"raw_value":-8646580319400491261,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:00] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,40,28,24,241,158,16,197,157,20,45,128,2,33,10,66,194,1,36,190,192,240,92,153,3,4,113,205,155,168,35,239,53,146,7,42,77],"length":528,"final_offset":658,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3827826894,"validated":0}]} 
[2026-04-17 11:15:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":144174707732840448,"timestamp_seconds":144174707732840.44,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 11:15:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:15:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:15:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45718,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:15:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:15:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45718,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:15:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:15:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:15:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:15:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759578112001,"66":13993,"40":206,"28":32256,"24":12,"16":113369883730771968,"45":233835367027902464},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,45]} 
[2026-04-17 11:15:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:15:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:15:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759578112001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:15:00] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-04-17 11:15:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:15:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113369883730771968,"km_value":113369883730771.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:15:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":233835367027902464,"description":"Unknown IO ID 45"} 
[2026-04-17 11:15:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759578112001,"power":13993,"unknown_40":206,"unknown_28":32256,"ignition":12,"odometer":null,"unknown_45":233835367027902464}} 
[2026-04-17 11:15:00] local.INFO: DEBUG: GPS processor result {"connection_id":45718,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:15:00] local.INFO: GPS data processed {"connection_id":45718,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:15:00] local.INFO: Acknowledgment sent {"connection_id":45718,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:15:05] local.INFO: TCP Data received {"connection_id":45794,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:15:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:15:05] local.INFO: Processing buffer {"connection_id":45794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:15:05] local.INFO: IMEI packet received {"connection_id":45794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:15:05] local.INFO: IMEI acknowledgment sent {"connection_id":45794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:15:11] local.INFO: TCP Data received {"connection_id":45794,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:15:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45794,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:15:11] local.INFO: Processing buffer {"connection_id":45794,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:15:11] local.INFO: IMEI packet received {"connection_id":45794,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:15:11] local.INFO: IMEI acknowledgment sent {"connection_id":45794,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:15:12] local.INFO: TCP Data received {"connection_id":45794,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:15:12] local.INFO: Processing buffer {"connection_id":45794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:15:12] local.INFO: Packet analysis {"connection_id":45794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:15:12] local.INFO: Extracted packet for processing {"connection_id":45794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:15:12] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:15:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759463424001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776404455000,"timestamp_ms":1776404455000,"timestamp_seconds":1776404455,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f4de58"} 
[2026-04-17 11:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:15: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-04-17 11:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 11:15:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759463424001,"66":26006,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759463424001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:15:12] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:15:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:15:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759463424001,"power":26006,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":45794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20808,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:15:12] local.INFO: GPS data processed {"connection_id":45794,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:15:12] local.INFO: Acknowledgment sent {"connection_id":45794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:15:16] local.INFO: TCP Data received {"connection_id":46563,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:15:16] local.INFO: Processing buffer {"connection_id":46563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:15:16] local.INFO: IMEI packet received {"connection_id":46563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:15:16] local.INFO: IMEI acknowledgment sent {"connection_id":46563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:15:17] local.INFO: TCP Data received {"connection_id":46563,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:15:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:15:17] local.INFO: Processing buffer {"connection_id":46563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:15:17] local.INFO: IMEI packet received {"connection_id":46563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:15:17] local.INFO: IMEI acknowledgment sent {"connection_id":46563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:15:22] local.INFO: TCP Data received {"connection_id":46563,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:15:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46563,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:15:22] local.INFO: Processing buffer {"connection_id":46563,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:15:22] local.INFO: IMEI packet received {"connection_id":46563,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:15:22] local.INFO: IMEI acknowledgment sent {"connection_id":46563,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:15:23] local.INFO: TCP Data received {"connection_id":46563,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f73400012d0346800703a2680002003921..."} 
[2026-04-17 11:15:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f73400012d0346800703a2680002003921..."} 
[2026-04-17 11:15:23] local.INFO: Processing buffer {"connection_id":46563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f73400012d0346800703a2680002003921..."} 
[2026-04-17 11:15:23] local.INFO: Packet analysis {"connection_id":46563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f7"} 
[2026-04-17 11:15:23] local.INFO: Extracted packet for processing {"connection_id":46563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f7"} 
[2026-04-17 11:15:23] local.INFO: GPS Element Parsed {"raw_longitude":755189376,"raw_latitude":117678696,"longitude_deg":75.5189376,"latitude_deg":11.7678696,"altitude":2,"angle":57,"satellites":33,"speed":22,"hex_longitude":"2d034680","hex_latitude":"0703a268","is_valid_coordinates":true} 
[2026-04-17 11:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:15:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759578880001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113369952450248704,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":234609423213920256,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,40,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:15:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776404608000,"timestamp_ms":1776404608000,"timestamp_seconds":1776404608,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f73400"} 
[2026-04-17 11:15:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:15: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-04-17 11:15:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 11:15:23] 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-04-17 11:15:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:15:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:15:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:15:23] local.INFO: Teltonika packet parsed successfully {"connection_id":46563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:15:23] local.INFO: Passing IMEI to GPS processor {"connection_id":46563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:15:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":46563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:15:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:15:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:15:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:15:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759578880001,"66":14004,"40":206,"28":32256,"24":22,"16":113369952450248704,"45":234609423213920256},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,40,28,24,16,45]} 
[2026-04-17 11:15:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:15:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:15:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759578880001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:15:23] local.INFO: Unknown IO ID detected {"io_id":40,"value":206,"description":"Unknown IO ID 40"} 
[2026-04-17 11:15:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:15:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113369952450248704,"km_value":113369952450248.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:15:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":234609423213920256,"description":"Unknown IO ID 45"} 
[2026-04-17 11:15:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759578880001,"power":14004,"unknown_40":206,"unknown_28":32256,"ignition":22,"odometer":null,"unknown_45":234609423213920256}} 
[2026-04-17 11:15:23] local.INFO: DEBUG: GPS processor result {"connection_id":46563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:15:23] local.INFO: GPS data processed {"connection_id":46563,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:15:23] local.INFO: Acknowledgment sent {"connection_id":46563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:15:28] local.INFO: TCP Data received {"connection_id":46562,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46562,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:15:28] local.INFO: Processing buffer {"connection_id":46562,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f43660012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:15:28] local.INFO: Packet analysis {"connection_id":46562,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:15:28] local.INFO: Extracted packet for processing {"connection_id":46562,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:15:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759452416001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776404412000,"timestamp_ms":1776404412000,"timestamp_seconds":1776404412,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f43660"} 
[2026-04-17 11:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-17 11:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2984,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46562,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46562,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759452416001,"66":25691,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759452416001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:15:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759452416001,"power":25691,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":46562,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:15:28] local.INFO: GPS data processed {"connection_id":46562,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:15:28] local.INFO: Acknowledgment sent {"connection_id":46562,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:15:46] local.INFO: TCP Data received {"connection_id":45794,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:15:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:15:46] local.INFO: Processing buffer {"connection_id":45794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:15:46] local.INFO: Packet analysis {"connection_id":45794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:15:46] local.INFO: Extracted packet for processing {"connection_id":45794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:15:46] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:15:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759463424001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:15:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776404455000,"timestamp_ms":1776404455000,"timestamp_seconds":1776404455,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f4de58"} 
[2026-04-17 11:15:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:15:46] 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-04-17 11:15:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 11:15:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:15:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:15:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:15:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:15:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:15:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:15:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45794,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:15:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:15:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:15:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:15:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759463424001,"66":26006,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:15:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:15:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:15:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759463424001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:15:46] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:15:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:15:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:15:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759463424001,"power":26006,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:15:46] local.INFO: DEBUG: GPS processor result {"connection_id":45794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20811,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:15:46] local.INFO: GPS data processed {"connection_id":45794,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:15:46] local.INFO: Acknowledgment sent {"connection_id":45794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:15:51] local.INFO: TCP Data received {"connection_id":45719,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:15:51] local.INFO: Processing buffer {"connection_id":45719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:15:51] local.INFO: IMEI packet received {"connection_id":45719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":45719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:15:52] local.INFO: TCP Data received {"connection_id":45719,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:15:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:15:52] local.INFO: Processing buffer {"connection_id":45719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:15:52] local.INFO: IMEI packet received {"connection_id":45719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:15:52] local.INFO: IMEI acknowledgment sent {"connection_id":45719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:15:55] local.INFO: TCP Data received {"connection_id":46563,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f89778012d03d7800704d3880008001924..."} 
[2026-04-17 11:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46563,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f89778012d03d7800704d3880008001924..."} 
[2026-04-17 11:15:55] local.INFO: Processing buffer {"connection_id":46563,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f89778012d03d7800704d3880008001924..."} 
[2026-04-17 11:15:55] local.INFO: Packet analysis {"connection_id":46563,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:15:55] local.INFO: Extracted packet for processing {"connection_id":46563,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:15:55] local.INFO: GPS Element Parsed {"raw_longitude":755226496,"raw_latitude":117756808,"longitude_deg":75.5226496,"latitude_deg":11.7756808,"altitude":8,"angle":25,"satellites":36,"speed":47,"hex_longitude":"2d03d780","hex_latitude":"0704d388","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759601920001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113374217352773632,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":275071451135119360,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,38,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776404699000,"timestamp_ms":1776404699000,"timestamp_seconds":1776404699,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f89778"} 
[2026-04-17 11:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:15: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-04-17 11: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":52,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-17 11:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1214,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46563,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46563,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759601920001,"66":13993,"38":206,"28":32256,"24":47,"16":113374217352773632,"45":275071451135119360},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,38,28,24,16,45]} 
[2026-04-17 11:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759601920001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:15:55] local.INFO: Unknown IO ID detected {"io_id":38,"value":206,"description":"Unknown IO ID 38"} 
[2026-04-17 11:15:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113374217352773632,"km_value":113374217352773.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":275071451135119360,"description":"Unknown IO ID 45"} 
[2026-04-17 11:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759601920001,"power":13993,"unknown_38":206,"unknown_28":32256,"ignition":47,"odometer":null,"unknown_45":275071451135119360}} 
[2026-04-17 11:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":46563,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:15:55] local.INFO: GPS data processed {"connection_id":46563,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:15:55] local.INFO: Acknowledgment sent {"connection_id":46563,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:15:56] local.INFO: TCP Data received {"connection_id":45719,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45719,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:15:56] local.INFO: Processing buffer {"connection_id":45719,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:15:56] local.INFO: IMEI packet received {"connection_id":45719,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":45719,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:15:57] local.INFO: TCP Data received {"connection_id":45719,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:15:57] local.INFO: Processing buffer {"connection_id":45719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:15:57] local.INFO: Packet analysis {"connection_id":45719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:15:57] local.INFO: Extracted packet for processing {"connection_id":45719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:15:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":40,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759529472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776404713000,"timestamp_ms":1776404713000,"timestamp_seconds":1776404713,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f8ce28"} 
[2026-04-17 11:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:15:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 11:15:57] 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-04-17 11:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759529472001,"66":25582,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759529472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:15:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:15:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759529472001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":45719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:15:57] local.INFO: GPS data processed {"connection_id":45719,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:15:57] local.INFO: Acknowledgment sent {"connection_id":45719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:16:10] local.INFO: TCP Data received {"connection_id":45988,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:16:10] local.INFO: Processing buffer {"connection_id":45988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:16:10] local.INFO: IMEI packet received {"connection_id":45988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":45988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:16:15] local.INFO: TCP Data received {"connection_id":45988,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:16:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45988,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:16:15] local.INFO: Processing buffer {"connection_id":45988,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:16:15] local.INFO: IMEI packet received {"connection_id":45988,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:16:15] local.INFO: IMEI acknowledgment sent {"connection_id":45988,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:16:17] local.INFO: TCP Data received {"connection_id":45988,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:16:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:16:17] local.INFO: Processing buffer {"connection_id":45988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:16:17] local.INFO: Packet analysis {"connection_id":45988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:16:17] local.INFO: Extracted packet for processing {"connection_id":45988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:16:17] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:16:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759463424001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:16:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:16:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:16:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:16:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776404455000,"timestamp_ms":1776404455000,"timestamp_seconds":1776404455,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f4de58"} 
[2026-04-17 11:16:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:16:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 11:16:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:16:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:16:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:16:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:16:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:16:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:16:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:16:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:16:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:16:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759463424001,"66":26006,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:16:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:16:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:16:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759463424001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:16:17] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:16:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:16:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:16:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759463424001,"power":26006,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:16:17] local.INFO: DEBUG: GPS processor result {"connection_id":45988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20814,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:16:17] local.INFO: GPS data processed {"connection_id":45988,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:16:17] local.INFO: Acknowledgment sent {"connection_id":45988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:16:22] local.INFO: TCP Data received {"connection_id":46564,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:16:22] local.INFO: Processing buffer {"connection_id":46564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:16:22] local.INFO: IMEI packet received {"connection_id":46564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":46564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:16:23] local.INFO: TCP Data received {"connection_id":45988,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:16:23] local.INFO: Processing buffer {"connection_id":45988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f4de58012d29480006c0caf0000600822f..."} 
[2026-04-17 11:16:23] local.INFO: Packet analysis {"connection_id":45988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:16:23] local.INFO: Extracted packet for processing {"connection_id":45988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f4"} 
[2026-04-17 11:16:23] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:16:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759463424001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:16:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:16:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:16:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:16:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776404455000,"timestamp_ms":1776404455000,"timestamp_seconds":1776404455,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f4de58"} 
[2026-04-17 11:16:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:16:23] 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-04-17 11:16:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":111,"data_length":795,"current_offset":136} 
[2026-04-17 11:16:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1707,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:16:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:16:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:16:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:16:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:16:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:16:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45988,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:16:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:16:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:16:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:16:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759463424001,"66":26006,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:16:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:16:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:16:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759463424001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:16:23] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:16:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:16:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:16:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759463424001,"power":26006,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:16:23] local.INFO: DEBUG: GPS processor result {"connection_id":45988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20815,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:16:23] local.INFO: GPS data processed {"connection_id":45988,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:16:23] local.INFO: Acknowledgment sent {"connection_id":45988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:16:27] local.INFO: TCP Data received {"connection_id":46564,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46564,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:16:27] local.INFO: Processing buffer {"connection_id":46564,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:16:27] local.INFO: IMEI packet received {"connection_id":46564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":46564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:16:28] local.INFO: TCP Data received {"connection_id":45719,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45719,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:16:28] local.INFO: Processing buffer {"connection_id":45719,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:16:28] local.INFO: Packet analysis {"connection_id":45719,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:16:28] local.INFO: Extracted packet for processing {"connection_id":45719,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:16:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":40,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759529472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776404713000,"timestamp_ms":1776404713000,"timestamp_seconds":1776404713,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f8ce28"} 
[2026-04-17 11:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 11:16:28] 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-04-17 11: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-04-17 11:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45719,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45719,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759529472001,"66":25582,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759529472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:16:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:16:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759529472001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":45719,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20816,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:16:28] local.INFO: GPS data processed {"connection_id":45719,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:16:28] local.INFO: Acknowledgment sent {"connection_id":45719,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:16:31] local.INFO: TCP Data received {"connection_id":46564,"ip":"117.225.160.238","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 11:16:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46564,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 11:16:31] local.INFO: Processing buffer {"connection_id":46564,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 11:16:31] local.INFO: IMEI packet received {"connection_id":46564,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:16:31] local.INFO: IMEI acknowledgment sent {"connection_id":46564,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:16:56] local.INFO: TCP Data received {"connection_id":46565,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:16:56] local.INFO: Processing buffer {"connection_id":46565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:16:56] local.INFO: IMEI packet received {"connection_id":46565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":46565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:17:01] local.INFO: TCP Data received {"connection_id":46565,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46565,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:17:01] local.INFO: Processing buffer {"connection_id":46565,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:17:01] local.INFO: IMEI packet received {"connection_id":46565,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":46565,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:17:02] local.INFO: TCP Data received {"connection_id":46565,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:17:02] local.INFO: Processing buffer {"connection_id":46565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:17:02] local.INFO: Packet analysis {"connection_id":46565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:17:02] local.INFO: Extracted packet for processing {"connection_id":46565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":40,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 11:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759529472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776404713000,"timestamp_ms":1776404713000,"timestamp_seconds":1776404713,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f8ce28"} 
[2026-04-17 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-04-17 11:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 11:17:02] 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-04-17 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-04-17 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-04-17 11:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759529472001,"66":25582,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759529472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:17:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759529472001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":46565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:17:02] local.INFO: GPS data processed {"connection_id":46565,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:17:02] local.INFO: Acknowledgment sent {"connection_id":46565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:17:05] local.INFO: TCP Data received {"connection_id":45795,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:17:05] local.INFO: Processing buffer {"connection_id":45795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:17:05] local.INFO: IMEI packet received {"connection_id":45795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":45795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:17:06] local.INFO: TCP Data received {"connection_id":46565,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:17:06] local.INFO: Processing buffer {"connection_id":46565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:17:06] local.INFO: Packet analysis {"connection_id":46565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:17:06] local.INFO: Extracted packet for processing {"connection_id":46565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":40,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759529472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776404713000,"timestamp_ms":1776404713000,"timestamp_seconds":1776404713,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f8ce28"} 
[2026-04-17 11:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 11:17:06] 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-04-17 11: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-04-17 11:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46565,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759529472001,"66":25582,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759529472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:17:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759529472001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":46565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:17:06] local.INFO: GPS data processed {"connection_id":46565,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:17:06] local.INFO: Acknowledgment sent {"connection_id":46565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:17:10] local.INFO: TCP Data received {"connection_id":45795,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45795,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:17:10] local.INFO: Processing buffer {"connection_id":45795,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:17:10] local.INFO: IMEI packet received {"connection_id":45795,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":45795,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:17:11] local.INFO: TCP Data received {"connection_id":45795,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:17:11] local.INFO: Processing buffer {"connection_id":45795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:17:11] local.INFO: Packet analysis {"connection_id":45795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f9"} 
[2026-04-17 11:17:11] local.INFO: Extracted packet for processing {"connection_id":45795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f9"} 
[2026-04-17 11:17:11] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759540480001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776404756000,"timestamp_ms":1776404756000,"timestamp_seconds":1776404756,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f97620"} 
[2026-04-17 11:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:17:11] 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-04-17 11: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 11:17:11] 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-04-17 11: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-04-17 11:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759540480001,"66":25897,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759540480001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:17:11] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759540480001,"power":25897,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":45795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20819,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:17:11] local.INFO: GPS data processed {"connection_id":45795,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:17:11] local.INFO: Acknowledgment sent {"connection_id":45795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:17:45] local.INFO: TCP Data received {"connection_id":45795,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:17:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:17:45] local.INFO: Processing buffer {"connection_id":45795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:17:45] local.INFO: Packet analysis {"connection_id":45795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f9"} 
[2026-04-17 11:17:45] local.INFO: Extracted packet for processing {"connection_id":45795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f9"} 
[2026-04-17 11:17:45] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:17:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759540480001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:17:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:17:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:17:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:17:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776404756000,"timestamp_ms":1776404756000,"timestamp_seconds":1776404756,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f97620"} 
[2026-04-17 11:17:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:17:45] 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-04-17 11: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 11:17:45] 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-04-17 11: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-04-17 11:17:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:17:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:17:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:17:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:17:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45795,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:17:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:17:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:17:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:17:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759540480001,"66":25897,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:17:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:17:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:17:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759540480001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:17:45] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:17:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:17:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:17:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759540480001,"power":25897,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:17:45] local.INFO: DEBUG: GPS processor result {"connection_id":45795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20820,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:17:45] local.INFO: GPS data processed {"connection_id":45795,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:17:45] local.INFO: Acknowledgment sent {"connection_id":45795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:17:51] local.INFO: TCP Data received {"connection_id":45989,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:17:51] local.INFO: Processing buffer {"connection_id":45989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:17:51] local.INFO: IMEI packet received {"connection_id":45989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":45989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:17:57] local.INFO: TCP Data received {"connection_id":45989,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45989,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:17:57] local.INFO: Processing buffer {"connection_id":45989,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:17:57] local.INFO: IMEI packet received {"connection_id":45989,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":45989,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:17:58] local.INFO: TCP Data received {"connection_id":45989,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:17:58] local.INFO: Processing buffer {"connection_id":45989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:17:58] local.INFO: Packet analysis {"connection_id":45989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:17:58] local.INFO: Extracted packet for processing {"connection_id":45989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":40,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759529472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776404713000,"timestamp_ms":1776404713000,"timestamp_seconds":1776404713,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f8ce28"} 
[2026-04-17 11:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 11:17:58] 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-04-17 11:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759529472001,"66":25582,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759529472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:17:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:17:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759529472001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":45989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:17:58] local.INFO: GPS data processed {"connection_id":45989,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:17:58] local.INFO: Acknowledgment sent {"connection_id":45989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:18:05] local.INFO: TCP Data received {"connection_id":46566,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:18:05] local.INFO: Processing buffer {"connection_id":46566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:18:05] local.INFO: IMEI packet received {"connection_id":46566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":46566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:18:10] local.INFO: TCP Data received {"connection_id":46566,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46566,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:18:10] local.INFO: Processing buffer {"connection_id":46566,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:18:10] local.INFO: IMEI packet received {"connection_id":46566,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":46566,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:18:11] local.INFO: TCP Data received {"connection_id":46566,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:18:11] local.INFO: Processing buffer {"connection_id":46566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:18:11] local.INFO: Packet analysis {"connection_id":46566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f9"} 
[2026-04-17 11:18:11] local.INFO: Extracted packet for processing {"connection_id":46566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f9"} 
[2026-04-17 11:18:11] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759540480001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776404756000,"timestamp_ms":1776404756000,"timestamp_seconds":1776404756,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f97620"} 
[2026-04-17 11:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:18:11] 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-04-17 11: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 11:18:11] 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-04-17 11: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-04-17 11:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759540480001,"66":25897,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759540480001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:18:11] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759540480001,"power":25897,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":46566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20822,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:18:11] local.INFO: GPS data processed {"connection_id":46566,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:18:11] local.INFO: Acknowledgment sent {"connection_id":46566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:18:12] local.INFO: TCP Data received {"connection_id":45989,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:18:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:18:12] local.INFO: Processing buffer {"connection_id":45989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:18:12] local.INFO: Packet analysis {"connection_id":45989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:18:12] local.INFO: Extracted packet for processing {"connection_id":45989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:18:12] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":40,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:18:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759529472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:18:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:18:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:18:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:18:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776404713000,"timestamp_ms":1776404713000,"timestamp_seconds":1776404713,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f8ce28"} 
[2026-04-17 11:18:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:18:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:18:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 11:18:12] 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-04-17 11:18:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:18:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:18:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:18:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:18:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:18:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45989,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:18:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:18:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:18:12] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:18:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759529472001,"66":25582,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:18:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:18:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:18:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759529472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:18:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:18:12] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:18:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:18:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:18:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759529472001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:18:12] local.INFO: DEBUG: GPS processor result {"connection_id":45989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:18:12] local.INFO: GPS data processed {"connection_id":45989,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:18:12] local.INFO: Acknowledgment sent {"connection_id":45989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:18:45] local.INFO: TCP Data received {"connection_id":46566,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:18:45] local.INFO: Processing buffer {"connection_id":46566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:18:45] local.INFO: Packet analysis {"connection_id":46566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f9"} 
[2026-04-17 11:18:45] local.INFO: Extracted packet for processing {"connection_id":46566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f9"} 
[2026-04-17 11:18:45] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759540480001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776404756000,"timestamp_ms":1776404756000,"timestamp_seconds":1776404756,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f97620"} 
[2026-04-17 11:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:18:45] 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-04-17 11:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 11:18:45] 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-04-17 11:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46566,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759540480001,"66":25897,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759540480001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:18:45] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759540480001,"power":25897,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":46566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20824,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:18:45] local.INFO: GPS data processed {"connection_id":46566,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:18:45] local.INFO: Acknowledgment sent {"connection_id":46566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:18:51] local.INFO: TCP Data received {"connection_id":45797,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:18:51] local.INFO: Processing buffer {"connection_id":45797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:18:51] local.INFO: IMEI packet received {"connection_id":45797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":45797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:18:57] local.INFO: TCP Data received {"connection_id":45797,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45797,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:18:57] local.INFO: Processing buffer {"connection_id":45797,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:18:57] local.INFO: IMEI packet received {"connection_id":45797,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:18:57] local.INFO: IMEI acknowledgment sent {"connection_id":45797,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:18:58] local.INFO: TCP Data received {"connection_id":45797,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:18:58] local.INFO: Processing buffer {"connection_id":45797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:18:58] local.INFO: Packet analysis {"connection_id":45797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:18:58] local.INFO: Extracted packet for processing {"connection_id":45797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:18:58] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":40,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759529472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776404713000,"timestamp_ms":1776404713000,"timestamp_seconds":1776404713,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f8ce28"} 
[2026-04-17 11:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 11:18:58] 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-04-17 11:18:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759529472001,"66":25582,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759529472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:18:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:18:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759529472001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":45797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:18:58] local.INFO: GPS data processed {"connection_id":45797,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:18:58] local.INFO: Acknowledgment sent {"connection_id":45797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:19:05] local.INFO: TCP Data received {"connection_id":46567,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:19:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:19:05] local.INFO: Processing buffer {"connection_id":46567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:19:05] local.INFO: IMEI packet received {"connection_id":46567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:19:05] local.INFO: IMEI acknowledgment sent {"connection_id":46567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:19:10] local.INFO: TCP Data received {"connection_id":46567,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:19:10] local.INFO: Processing buffer {"connection_id":46567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:19:10] local.INFO: IMEI packet received {"connection_id":46567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:19:10] local.INFO: IMEI acknowledgment sent {"connection_id":46567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:19:15] local.INFO: TCP Data received {"connection_id":46567,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:19:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46567,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:19:15] local.INFO: Processing buffer {"connection_id":46567,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:19:15] local.INFO: IMEI packet received {"connection_id":46567,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:19:15] local.INFO: IMEI acknowledgment sent {"connection_id":46567,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:19:17] local.INFO: TCP Data received {"connection_id":46567,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:19:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:19:17] local.INFO: Processing buffer {"connection_id":46567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:19:17] local.INFO: Packet analysis {"connection_id":46567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f9"} 
[2026-04-17 11:19:17] local.INFO: Extracted packet for processing {"connection_id":46567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f9"} 
[2026-04-17 11:19:17] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:19:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759540480001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:19:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:19:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:19:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:19:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776404756000,"timestamp_ms":1776404756000,"timestamp_seconds":1776404756,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f97620"} 
[2026-04-17 11:19:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:19:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:19:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 11:19:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:19:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:19:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:19:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:19:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:19:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46567,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:19:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46567,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:19:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:19:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:19:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:19:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759540480001,"66":25897,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:19:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:19:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:19:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759540480001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:19:17] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:19:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:19:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:19:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759540480001,"power":25897,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:19:17] local.INFO: DEBUG: GPS processor result {"connection_id":46567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20826,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:19:17] local.INFO: GPS data processed {"connection_id":46567,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:19:17] local.INFO: Acknowledgment sent {"connection_id":46567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:19:28] local.INFO: TCP Data received {"connection_id":46567,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:19:28] local.INFO: Processing buffer {"connection_id":46567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:19:28] local.INFO: Packet analysis {"connection_id":46567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f9"} 
[2026-04-17 11:19:28] local.INFO: Extracted packet for processing {"connection_id":46567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f9"} 
[2026-04-17 11:19:28] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759540480001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776404756000,"timestamp_ms":1776404756000,"timestamp_seconds":1776404756,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f97620"} 
[2026-04-17 11:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 11:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46567,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46567,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759540480001,"66":25897,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759540480001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:19:28] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759540480001,"power":25897,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":46567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20827,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:19:28] local.INFO: GPS data processed {"connection_id":46567,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:19:28] local.INFO: Acknowledgment sent {"connection_id":46567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:19:29] local.INFO: TCP Data received {"connection_id":45797,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:19:29] local.INFO: Processing buffer {"connection_id":45797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:19:29] local.INFO: Packet analysis {"connection_id":45797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:19:29] local.INFO: Extracted packet for processing {"connection_id":45797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:19:29] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":40,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759529472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776404713000,"timestamp_ms":1776404713000,"timestamp_seconds":1776404713,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f8ce28"} 
[2026-04-17 11:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:19:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 11:19:29] 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-04-17 11: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-04-17 11:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45797,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:19: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-04-17 11:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759529472001,"66":25582,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759529472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:19:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759529472001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":45797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:19:29] local.INFO: GPS data processed {"connection_id":45797,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:19:29] local.INFO: Acknowledgment sent {"connection_id":45797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:19:51] local.INFO: TCP Data received {"connection_id":45798,"ip":"42.106.6.148","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:19:51] local.INFO: Processing buffer {"connection_id":45798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:19:51] local.INFO: IMEI packet received {"connection_id":45798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":45798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:19:57] local.INFO: TCP Data received {"connection_id":45798,"ip":"42.106.6.148","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:19:57] local.INFO: Processing buffer {"connection_id":45798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:19:57] local.INFO: IMEI packet received {"connection_id":45798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":45798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:19:58] local.INFO: TCP Data received {"connection_id":45798,"ip":"42.106.6.148","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:19:58] local.INFO: Processing buffer {"connection_id":45798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:19:58] local.INFO: Packet analysis {"connection_id":45798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:19:58] local.INFO: Extracted packet for processing {"connection_id":45798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:19:58] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":40,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759529472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:19:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776404713000,"timestamp_ms":1776404713000,"timestamp_seconds":1776404713,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f8ce28"} 
[2026-04-17 11:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 11:19:58] 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-04-17 11: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-04-17 11:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.148","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759529472001,"66":25582,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.148","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759529472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:19:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:19:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759529472001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":45798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20829,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:19:58] local.INFO: GPS data processed {"connection_id":45798,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:19:58] local.INFO: Acknowledgment sent {"connection_id":45798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:20:05] local.INFO: TCP Data received {"connection_id":45721,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:20:05] local.INFO: Processing buffer {"connection_id":45721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:20:05] local.INFO: IMEI packet received {"connection_id":45721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":45721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:20:10] local.INFO: TCP Data received {"connection_id":45721,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:20:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45721,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:20:10] local.INFO: Processing buffer {"connection_id":45721,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:20:10] local.INFO: IMEI packet received {"connection_id":45721,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:20:10] local.INFO: IMEI acknowledgment sent {"connection_id":45721,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:20:11] local.INFO: TCP Data received {"connection_id":45721,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:20:11] local.INFO: Processing buffer {"connection_id":45721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:20:11] local.INFO: Packet analysis {"connection_id":45721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f9"} 
[2026-04-17 11:20:11] local.INFO: Extracted packet for processing {"connection_id":45721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f9"} 
[2026-04-17 11:20:11] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759540480001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776404756000,"timestamp_ms":1776404756000,"timestamp_seconds":1776404756,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f97620"} 
[2026-04-17 11:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:20:11] 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-04-17 11:20:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 11:20:11] 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-04-17 11: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-04-17 11:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:20:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759540480001,"66":25897,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:20:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:20:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:20:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759540480001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:20:11] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:20:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:20:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:20:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759540480001,"power":25897,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":45721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20830,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:20:11] local.INFO: GPS data processed {"connection_id":45721,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:20:11] local.INFO: Acknowledgment sent {"connection_id":45721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:20:29] local.INFO: TCP Data received {"connection_id":45798,"ip":"42.106.6.148","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:20:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:20:29] local.INFO: Processing buffer {"connection_id":45798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f8ce28012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:20:29] local.INFO: Packet analysis {"connection_id":45798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:20:29] local.INFO: Extracted packet for processing {"connection_id":45798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f8"} 
[2026-04-17 11:20:29] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":40,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:20:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759529472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:20:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:20:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:20:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:20:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776404713000,"timestamp_ms":1776404713000,"timestamp_seconds":1776404713,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f8ce28"} 
[2026-04-17 11:20:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:20:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":100,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 11:20:29] 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-04-17 11: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-04-17 11:20:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:20:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:20:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:20:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:20:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:20:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.148","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:20:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:20:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:20:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759529472001,"66":25582,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.148","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:20:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:20:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:20:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759529472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:20:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:20:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:20:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:20:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:20:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759529472001,"power":25582,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:20:29] local.INFO: DEBUG: GPS processor result {"connection_id":45798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:20:29] local.INFO: GPS data processed {"connection_id":45798,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:20:29] local.INFO: Acknowledgment sent {"connection_id":45798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:20:44] local.INFO: TCP Data received {"connection_id":45721,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:20:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45721,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:20:44] local.INFO: Processing buffer {"connection_id":45721,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:20:44] local.INFO: Packet analysis {"connection_id":45721,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f9"} 
[2026-04-17 11:20:44] local.INFO: Extracted packet for processing {"connection_id":45721,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f9"} 
[2026-04-17 11:20:44] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:20:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759540480001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:20:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:20:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:20:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:20:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776404756000,"timestamp_ms":1776404756000,"timestamp_seconds":1776404756,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f97620"} 
[2026-04-17 11:20:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:20:44] 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-04-17 11: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 11:20:44] 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-04-17 11: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-04-17 11:20:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:20:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:20:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45721,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:20:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:20:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45721,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:20:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:20:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:20:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:20:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759540480001,"66":25897,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:20:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:20:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:20:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759540480001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:20:44] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:20:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:20:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:20:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759540480001,"power":25897,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:20:44] local.INFO: DEBUG: GPS processor result {"connection_id":45721,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20832,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:20:44] local.INFO: GPS data processed {"connection_id":45721,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:20:44] local.INFO: Acknowledgment sent {"connection_id":45721,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:20:51] local.INFO: TCP Data received {"connection_id":45991,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:20:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:20:51] local.INFO: Processing buffer {"connection_id":45991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:20:51] local.INFO: IMEI packet received {"connection_id":45991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:20:51] local.INFO: IMEI acknowledgment sent {"connection_id":45991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:20:52] local.INFO: TCP Data received {"connection_id":45991,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:20:52] local.INFO: Processing buffer {"connection_id":45991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:20:52] local.INFO: IMEI packet received {"connection_id":45991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":45991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:20:56] local.INFO: TCP Data received {"connection_id":45991,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45991,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:20:56] local.INFO: Processing buffer {"connection_id":45991,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:20:56] local.INFO: IMEI packet received {"connection_id":45991,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":45991,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:20:57] local.INFO: TCP Data received {"connection_id":45991,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:20:57] local.INFO: Processing buffer {"connection_id":45991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:20:57] local.INFO: Packet analysis {"connection_id":45991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:20:57] local.INFO: Extracted packet for processing {"connection_id":45991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:20:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759606528001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776405014000,"timestamp_ms":1776405014000,"timestamp_seconds":1776405014,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fd65f0"} 
[2026-04-17 11:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 11:20:57] 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-04-17 11:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759606528001,"66":25560,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759606528001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:20:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:20:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759606528001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":45991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:20:57] local.INFO: GPS data processed {"connection_id":45991,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:20:57] local.INFO: Acknowledgment sent {"connection_id":45991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:21:05] local.INFO: TCP Data received {"connection_id":45992,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:21:05] local.INFO: Processing buffer {"connection_id":45992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:21:05] local.INFO: IMEI packet received {"connection_id":45992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:21:05] local.INFO: IMEI acknowledgment sent {"connection_id":45992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:21:10] local.INFO: TCP Data received {"connection_id":45992,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45992,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:21:10] local.INFO: Processing buffer {"connection_id":45992,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:21:10] local.INFO: IMEI packet received {"connection_id":45992,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:21:10] local.INFO: IMEI acknowledgment sent {"connection_id":45992,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:21:11] local.INFO: TCP Data received {"connection_id":45992,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:21:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:21:11] local.INFO: Processing buffer {"connection_id":45992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99f97620012d29480006c0caf0000600822f..."} 
[2026-04-17 11:21:11] local.INFO: Packet analysis {"connection_id":45992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99f9"} 
[2026-04-17 11:21:11] local.INFO: Extracted packet for processing {"connection_id":45992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99f9"} 
[2026-04-17 11:21:11] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:21:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759540480001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:21:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:21:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:21:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:21:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776404756000,"timestamp_ms":1776404756000,"timestamp_seconds":1776404756,"priority":1,"record_length":96,"hex_timestamp":"0000019d99f97620"} 
[2026-04-17 11:21:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:21:11] 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-04-17 11: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":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 11:21:11] 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-04-17 11: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-04-17 11:21:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:21:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:21:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:21:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:21:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:21:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:21:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:21:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:21:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759540480001,"66":25897,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:21:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:21:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:21:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759540480001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:21:11] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:21:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:21:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:21:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759540480001,"power":25897,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:21:11] local.INFO: DEBUG: GPS processor result {"connection_id":45992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20834,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:21:11] local.INFO: GPS data processed {"connection_id":45992,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:21:11] local.INFO: Acknowledgment sent {"connection_id":45992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:21:28] local.INFO: TCP Data received {"connection_id":45991,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:21:28] local.INFO: Processing buffer {"connection_id":45991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:21:28] local.INFO: Packet analysis {"connection_id":45991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:21:28] local.INFO: Extracted packet for processing {"connection_id":45991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:21:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759606528001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776405014000,"timestamp_ms":1776405014000,"timestamp_seconds":1776405014,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fd65f0"} 
[2026-04-17 11:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 11:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45991,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759606528001,"66":25560,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759606528001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:21:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:21:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759606528001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":45991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:21:28] local.INFO: GPS data processed {"connection_id":45991,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:21:28] local.INFO: Acknowledgment sent {"connection_id":45991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:21:32] local.INFO: TCP Data received {"connection_id":45723,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:21:32] local.INFO: Processing buffer {"connection_id":45723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:21:32] local.INFO: IMEI packet received {"connection_id":45723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:21:32] local.INFO: IMEI acknowledgment sent {"connection_id":45723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:21:33] local.INFO: TCP Data received {"connection_id":45723,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fd65f0012d06a4800707bac8001c001424..."} 
[2026-04-17 11:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fd65f0012d06a4800707bac8001c001424..."} 
[2026-04-17 11:21:33] local.INFO: Processing buffer {"connection_id":45723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fd65f0012d06a4800707bac8001c001424..."} 
[2026-04-17 11:21:33] local.INFO: Packet analysis {"connection_id":45723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:21:33] local.INFO: Extracted packet for processing {"connection_id":45723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:21:33] local.INFO: GPS Element Parsed {"raw_longitude":755410048,"raw_latitude":117947080,"longitude_deg":75.5410048,"latitude_deg":11.794708,"altitude":28,"angle":20,"satellites":36,"speed":42,"hex_longitude":"2d06a480","hex_latitude":"0707bac8","is_valid_coordinates":true} 
[2026-04-17 11:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759681536001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113387974133022720,"note":"Value kept but may cause issues"} 
[2026-04-17 11:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":477100115716986880,"note":"Value kept but may cause issues"} 
[2026-04-17 11:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776405014000,"timestamp_ms":1776405014000,"timestamp_seconds":1776405014,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fd65f0"} 
[2026-04-17 11:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:21:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 11:21: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-04-17 11:21:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759681536001,"66":14483,"105":206,"28":32256,"24":42,"16":113387974133022720,"45":477100115716986880},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-04-17 11:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759681536001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:21:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 11:21:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113387974133022720,"km_value":113387974133022.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":477100115716986880,"description":"Unknown IO ID 45"} 
[2026-04-17 11:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759681536001,"power":14483,"unknown_105":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_45":477100115716986880}} 
[2026-04-17 11:21:34] local.INFO: DEBUG: GPS processor result {"connection_id":45723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:21:34] local.INFO: GPS data processed {"connection_id":45723,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:21:34] local.INFO: Acknowledgment sent {"connection_id":45723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:21:44] local.INFO: TCP Data received {"connection_id":45992,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:21:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:21:44] local.INFO: Processing buffer {"connection_id":45992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:21:44] local.INFO: Packet analysis {"connection_id":45992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:21:44] local.INFO: Extracted packet for processing {"connection_id":45992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:21:44] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:21:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759617536001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:21:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:21:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:21:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:21:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776405057000,"timestamp_ms":1776405057000,"timestamp_seconds":1776405057,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fe0de8"} 
[2026-04-17 11:21:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:21:44] 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-04-17 11: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 11:21:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:21:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:21:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:21:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:21:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:21:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45992,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:21:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:21:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:21:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:21:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759617536001,"66":25832,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:21:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:21:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:21:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759617536001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:21:44] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:21:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:21:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:21:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759617536001,"power":25832,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:21:44] local.INFO: DEBUG: GPS processor result {"connection_id":45992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20837,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:21:44] local.INFO: GPS data processed {"connection_id":45992,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:21:44] local.INFO: Acknowledgment sent {"connection_id":45992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:21:51] local.INFO: TCP Data received {"connection_id":45993,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:21:51] local.INFO: Processing buffer {"connection_id":45993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:21:51] local.INFO: IMEI packet received {"connection_id":45993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":45993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:21:56] local.INFO: TCP Data received {"connection_id":45993,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:21:56] local.INFO: Processing buffer {"connection_id":45993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:21:56] local.INFO: IMEI packet received {"connection_id":45993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":45993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:21:58] local.INFO: TCP Data received {"connection_id":45993,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:21:58] local.INFO: Processing buffer {"connection_id":45993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:21:58] local.INFO: Packet analysis {"connection_id":45993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:21:58] local.INFO: Extracted packet for processing {"connection_id":45993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:21:58] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759606528001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:21:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776405014000,"timestamp_ms":1776405014000,"timestamp_seconds":1776405014,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fd65f0"} 
[2026-04-17 11:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:21:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 11:21:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759606528001,"66":25560,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759606528001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:21:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:21:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759606528001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":45993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20838,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:21:58] local.INFO: GPS data processed {"connection_id":45993,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:21:58] local.INFO: Acknowledgment sent {"connection_id":45993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:22:05] local.INFO: TCP Data received {"connection_id":45994,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:22:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:22:05] local.INFO: Processing buffer {"connection_id":45994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:22:05] local.INFO: IMEI packet received {"connection_id":45994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:22:05] local.INFO: IMEI acknowledgment sent {"connection_id":45994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:22:10] local.INFO: TCP Data received {"connection_id":45994,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:22:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45994,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:22:10] local.INFO: Processing buffer {"connection_id":45994,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:22:10] local.INFO: IMEI packet received {"connection_id":45994,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:22:10] local.INFO: IMEI acknowledgment sent {"connection_id":45994,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:22:12] local.INFO: TCP Data received {"connection_id":45994,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:22:12] local.INFO: Processing buffer {"connection_id":45994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:22:12] local.INFO: Packet analysis {"connection_id":45994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:22:12] local.INFO: Extracted packet for processing {"connection_id":45994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:22:12] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:22:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759617536001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:22:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:22:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:22:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:22:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776405057000,"timestamp_ms":1776405057000,"timestamp_seconds":1776405057,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fe0de8"} 
[2026-04-17 11:22:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:22: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-04-17 11:22:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 11:22:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:22:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:22:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:22:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:22:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:22:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:22:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:22:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:22:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:22:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:22:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759617536001,"66":25832,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:22:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:22:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:22:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759617536001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:22:12] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:22:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:22:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:22:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759617536001,"power":25832,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:22:12] local.INFO: DEBUG: GPS processor result {"connection_id":45994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20839,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:22:12] local.INFO: GPS data processed {"connection_id":45994,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:22:12] local.INFO: Acknowledgment sent {"connection_id":45994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:22:20] local.INFO: TCP Data received {"connection_id":45995,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:22:20] local.INFO: Processing buffer {"connection_id":45995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:22:20] local.INFO: IMEI packet received {"connection_id":45995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":45995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:22:22] local.INFO: TCP Data received {"connection_id":45995,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:22:22] local.INFO: Processing buffer {"connection_id":45995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:22:22] local.INFO: IMEI packet received {"connection_id":45995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":45995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:22:27] local.INFO: TCP Data received {"connection_id":45995,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:22:27] local.INFO: Processing buffer {"connection_id":45995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:22:27] local.INFO: IMEI packet received {"connection_id":45995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":45995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:22:28] local.INFO: TCP Data received {"connection_id":45995,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fd8918012d06b5000707dc88001e001b23..."} 
[2026-04-17 11:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fd8918012d06b5000707dc88001e001b23..."} 
[2026-04-17 11:22:29] local.INFO: Processing buffer {"connection_id":45995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fd8918012d06b5000707dc88001e001b23..."} 
[2026-04-17 11:22:29] local.INFO: Packet analysis {"connection_id":45995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:22:29] local.INFO: Extracted packet for processing {"connection_id":45995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:22:29] local.INFO: GPS Element Parsed {"raw_longitude":755414272,"raw_latitude":117955720,"longitude_deg":75.5414272,"latitude_deg":11.795572,"altitude":30,"angle":27,"satellites":35,"speed":45,"hex_longitude":"2d06b500","hex_latitude":"0707dc88","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759683584001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113388437989490688,"note":"Value kept but may cause issues"} 
[2026-04-17 11:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":478648228090923008,"note":"Value kept but may cause issues"} 
[2026-04-17 11:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776405023000,"timestamp_ms":1776405023000,"timestamp_seconds":1776405023,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fd8918"} 
[2026-04-17 11:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-17 11:22:29] 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-04-17 11: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-04-17 11:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759683584001,"66":13863,"105":206,"28":32256,"24":45,"16":113388437989490688,"45":478648228090923008},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,28,24,16,45]} 
[2026-04-17 11:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759683584001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:22:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 11:22:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113388437989490688,"km_value":113388437989490.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":478648228090923008,"description":"Unknown IO ID 45"} 
[2026-04-17 11:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759683584001,"power":13863,"unknown_105":206,"unknown_28":32256,"ignition":45,"odometer":null,"unknown_45":478648228090923008}} 
[2026-04-17 11:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":45995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:22:29] local.INFO: GPS data processed {"connection_id":45995,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:22:29] local.INFO: Acknowledgment sent {"connection_id":45995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:22:29] local.INFO: TCP Data received {"connection_id":45993,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:22:29] local.INFO: Processing buffer {"connection_id":45993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:22:29] local.INFO: Packet analysis {"connection_id":45993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:22:29] local.INFO: Extracted packet for processing {"connection_id":45993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:22:29] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:22:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759606528001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:22:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:22:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:22:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:22:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776405014000,"timestamp_ms":1776405014000,"timestamp_seconds":1776405014,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fd65f0"} 
[2026-04-17 11:22:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:22:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":238,"data_length":795,"current_offset":136} 
[2026-04-17 11:22: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-04-17 11: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-04-17 11:22:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:22:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:22:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:22:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:22:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:22:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:22:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:22:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:22:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759606528001,"66":25560,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:22:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:22:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:22:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759606528001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:22:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:22:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:22:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:22:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:22:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759606528001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:22:29] local.INFO: DEBUG: GPS processor result {"connection_id":45993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:22:29] local.INFO: GPS data processed {"connection_id":45993,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:22:29] local.INFO: Acknowledgment sent {"connection_id":45993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:22:44] local.INFO: TCP Data received {"connection_id":45994,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:22:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:22:44] local.INFO: Processing buffer {"connection_id":45994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:22:44] local.INFO: Packet analysis {"connection_id":45994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:22:44] local.INFO: Extracted packet for processing {"connection_id":45994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:22:44] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:22:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759617536001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:22:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:22:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:22:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:22:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776405057000,"timestamp_ms":1776405057000,"timestamp_seconds":1776405057,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fe0de8"} 
[2026-04-17 11:22:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:22:44] 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-04-17 11: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 11:22:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:22:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:22:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:22:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:22:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:22:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45994,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:22:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:22:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:22:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:22:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759617536001,"66":25832,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:22:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:22:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:22:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759617536001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:22:44] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:22:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:22:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:22:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759617536001,"power":25832,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:22:44] local.INFO: DEBUG: GPS processor result {"connection_id":45994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20842,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:22:44] local.INFO: GPS data processed {"connection_id":45994,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:22:44] local.INFO: Acknowledgment sent {"connection_id":45994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:22:51] local.INFO: TCP Data received {"connection_id":45799,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:22:51] local.INFO: Processing buffer {"connection_id":45799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:22:51] local.INFO: IMEI packet received {"connection_id":45799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":45799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:22:56] local.INFO: TCP Data received {"connection_id":45799,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:22:56] local.INFO: Processing buffer {"connection_id":45799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:22:56] local.INFO: IMEI packet received {"connection_id":45799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":45799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:22:57] local.INFO: TCP Data received {"connection_id":45799,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:22:57] local.INFO: Processing buffer {"connection_id":45799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:22:57] local.INFO: Packet analysis {"connection_id":45799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:22:57] local.INFO: Extracted packet for processing {"connection_id":45799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:22:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759606528001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776405014000,"timestamp_ms":1776405014000,"timestamp_seconds":1776405014,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fd65f0"} 
[2026-04-17 11:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 11:22:57] 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-04-17 11: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-04-17 11:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:22:57] 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-04-17 11:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759606528001,"66":25560,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759606528001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:22:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759606528001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":45799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:22:57] local.INFO: GPS data processed {"connection_id":45799,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:22:57] local.INFO: Acknowledgment sent {"connection_id":45799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:23:00] local.INFO: TCP Data received {"connection_id":45995,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ff2728012d076d0007093f00001c003723..."} 
[2026-04-17 11:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ff2728012d076d0007093f00001c003723..."} 
[2026-04-17 11:23:00] local.INFO: Processing buffer {"connection_id":45995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ff2728012d076d0007093f00001c003723..."} 
[2026-04-17 11:23:00] local.INFO: Packet analysis {"connection_id":45995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ff"} 
[2026-04-17 11:23:00] local.INFO: Extracted packet for processing {"connection_id":45995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ff"} 
[2026-04-17 11:23:00] local.INFO: GPS Element Parsed {"raw_longitude":755461376,"raw_latitude":118046464,"longitude_deg":75.5461376,"latitude_deg":11.8046464,"altitude":28,"angle":55,"satellites":35,"speed":36,"hex_longitude":"2d076d00","hex_latitude":"07093f00","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759712768001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113393441626390528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":534239536016586752,"note":"Value kept but may cause issues"} 
[2026-04-17 11:23:00] 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-04-17 11:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776405129000,"timestamp_ms":1776405129000,"timestamp_seconds":1776405129,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ff2728"} 
[2026-04-17 11:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:23: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-04-17 11:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-17 11:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759712768001,"66":14070,"110":206,"28":32256,"24":36,"16":113393441626390528,"45":534239536016586752},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-04-17 11:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759712768001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:23:00] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-17 11:23:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113393441626390528,"km_value":113393441626390.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":534239536016586752,"description":"Unknown IO ID 45"} 
[2026-04-17 11:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759712768001,"power":14070,"unknown_110":206,"unknown_28":32256,"ignition":36,"odometer":null,"unknown_45":534239536016586752}} 
[2026-04-17 11:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":45995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:23:00] local.INFO: GPS data processed {"connection_id":45995,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:23:00] local.INFO: Acknowledgment sent {"connection_id":45995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:23:05] local.INFO: TCP Data received {"connection_id":45724,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:23:05] local.INFO: Processing buffer {"connection_id":45724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:23:05] local.INFO: IMEI packet received {"connection_id":45724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":45724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:23:10] local.INFO: TCP Data received {"connection_id":45724,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45724,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:23:10] local.INFO: Processing buffer {"connection_id":45724,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:23:10] local.INFO: IMEI packet received {"connection_id":45724,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":45724,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:23:12] local.INFO: TCP Data received {"connection_id":45724,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:23:12] local.INFO: Processing buffer {"connection_id":45724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:23:12] local.INFO: Packet analysis {"connection_id":45724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:23:12] local.INFO: Extracted packet for processing {"connection_id":45724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:23:12] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759617536001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776405057000,"timestamp_ms":1776405057000,"timestamp_seconds":1776405057,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fe0de8"} 
[2026-04-17 11:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:23: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-04-17 11:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 11:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759617536001,"66":25832,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759617536001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:23:12] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759617536001,"power":25832,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":45724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20845,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:23:12] local.INFO: GPS data processed {"connection_id":45724,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:23:12] local.INFO: Acknowledgment sent {"connection_id":45724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:23:17] local.INFO: TCP Data received {"connection_id":45996,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:23:17] local.INFO: Processing buffer {"connection_id":45996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:23:17] local.INFO: IMEI packet received {"connection_id":45996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:23:17] local.INFO: IMEI acknowledgment sent {"connection_id":45996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:23:21] local.INFO: TCP Data received {"connection_id":45996,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:23:21] local.INFO: Processing buffer {"connection_id":45996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:23:21] local.INFO: IMEI packet received {"connection_id":45996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":45996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:23:22] local.INFO: TCP Data received {"connection_id":45996,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ff2ef8012d07744007094160001b004c23..."} 
[2026-04-17 11:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ff2ef8012d07744007094160001b004c23..."} 
[2026-04-17 11:23:22] local.INFO: Processing buffer {"connection_id":45996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ff2ef8012d07744007094160001b004c23..."} 
[2026-04-17 11:23:22] local.INFO: Packet analysis {"connection_id":45996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ff"} 
[2026-04-17 11:23:22] local.INFO: Extracted packet for processing {"connection_id":45996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ff"} 
[2026-04-17 11:23:22] local.INFO: GPS Element Parsed {"raw_longitude":755463232,"raw_latitude":118047072,"longitude_deg":75.5463232,"latitude_deg":11.8047072,"altitude":27,"angle":76,"satellites":35,"speed":39,"hex_longitude":"2d077440","hex_latitude":"07094160","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:23:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759713024001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:23:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113393536115671040,"note":"Value kept but may cause issues"} 
[2026-04-17 11:23:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":535083960946851840,"note":"Value kept but may cause issues"} 
[2026-04-17 11:23:22] 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-04-17 11:23:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776405131000,"timestamp_ms":1776405131000,"timestamp_seconds":1776405131,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ff2ef8"} 
[2026-04-17 11:23:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:23: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-04-17 11: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-17 11:23: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-04-17 11:23:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:23:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:23:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:23:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:23:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:23:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:23:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:23:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:23:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:23:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759713024001,"66":14004,"110":206,"28":32256,"24":39,"16":113393536115671040,"45":535083960946851840},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-04-17 11:23:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:23:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:23:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759713024001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:23:22] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-17 11:23:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:23:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113393536115671040,"km_value":113393536115671.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:23:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":535083960946851840,"description":"Unknown IO ID 45"} 
[2026-04-17 11:23:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759713024001,"power":14004,"unknown_110":206,"unknown_28":32256,"ignition":39,"odometer":null,"unknown_45":535083960946851840}} 
[2026-04-17 11:23:22] local.INFO: DEBUG: GPS processor result {"connection_id":45996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:23:22] local.INFO: GPS data processed {"connection_id":45996,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:23:22] local.INFO: Acknowledgment sent {"connection_id":45996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:23:28] local.INFO: TCP Data received {"connection_id":45799,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:23:28] local.INFO: Processing buffer {"connection_id":45799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:23:28] local.INFO: Packet analysis {"connection_id":45799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:23:28] local.INFO: Extracted packet for processing {"connection_id":45799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:23:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759606528001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776405014000,"timestamp_ms":1776405014000,"timestamp_seconds":1776405014,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fd65f0"} 
[2026-04-17 11:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 11:23:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:23:28] 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-04-17 11:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759606528001,"66":25560,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759606528001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:23:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:23:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759606528001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":45799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:23:28] local.INFO: GPS data processed {"connection_id":45799,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:23:28] local.INFO: Acknowledgment sent {"connection_id":45799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:23:44] local.INFO: TCP Data received {"connection_id":45724,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:23:44] local.INFO: Processing buffer {"connection_id":45724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:23:44] local.INFO: Packet analysis {"connection_id":45724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:23:44] local.INFO: Extracted packet for processing {"connection_id":45724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:23:44] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:23:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759617536001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:23:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:23:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776405057000,"timestamp_ms":1776405057000,"timestamp_seconds":1776405057,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fe0de8"} 
[2026-04-17 11:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:23:44] 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-04-17 11:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 11:23:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45724,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759617536001,"66":25832,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759617536001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:23:44] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:23:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:23:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759617536001,"power":25832,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":45724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20848,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:23:44] local.INFO: GPS data processed {"connection_id":45724,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:23:44] local.INFO: Acknowledgment sent {"connection_id":45724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:23:54] local.INFO: TCP Data received {"connection_id":45996,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d99ff5608012d079900070946280019004922..."} 
[2026-04-17 11:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99ff5608012d079900070946280019004922..."} 
[2026-04-17 11:23:54] local.INFO: Processing buffer {"connection_id":45996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99ff5608012d079900070946280019004922..."} 
[2026-04-17 11:23:54] local.INFO: Packet analysis {"connection_id":45996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99ff"} 
[2026-04-17 11:23:54] local.INFO: Extracted packet for processing {"connection_id":45996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99ff"} 
[2026-04-17 11:23:54] local.INFO: GPS Element Parsed {"raw_longitude":755472640,"raw_latitude":118048296,"longitude_deg":75.547264,"latitude_deg":11.8048296,"altitude":25,"angle":73,"satellites":34,"speed":37,"hex_longitude":"2d079900","hex_latitude":"07094628","is_valid_coordinates":true} 
[2026-04-17 11:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:23:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759713536001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:23:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113393987087237120,"note":"Value kept but may cause issues"} 
[2026-04-17 11:23:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":537124654528159744,"note":"Value kept but may cause issues"} 
[2026-04-17 11:23:54] 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-04-17 11:23:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776405141000,"timestamp_ms":1776405141000,"timestamp_seconds":1776405141,"priority":1,"record_length":96,"hex_timestamp":"0000019d99ff5608"} 
[2026-04-17 11:23:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:23:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:23:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 11:23:54] 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-04-17 11:23:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:23:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:23:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:23:54] local.INFO: Teltonika packet parsed successfully {"connection_id":45996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:23:54] local.INFO: Passing IMEI to GPS processor {"connection_id":45996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:23:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":45996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:23:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:23:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:23:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:23:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759713536001,"66":13972,"110":206,"28":32256,"24":37,"16":113393987087237120,"45":537124654528159744},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,110,28,24,16,45]} 
[2026-04-17 11:23:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:23:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:23:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759713536001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:23:54] local.INFO: Unknown IO ID detected {"io_id":110,"value":206,"description":"Unknown IO ID 110"} 
[2026-04-17 11:23:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:23:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113393987087237120,"km_value":113393987087237.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:23:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":537124654528159744,"description":"Unknown IO ID 45"} 
[2026-04-17 11:23:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759713536001,"power":13972,"unknown_110":206,"unknown_28":32256,"ignition":37,"odometer":null,"unknown_45":537124654528159744}} 
[2026-04-17 11:23:54] local.INFO: DEBUG: GPS processor result {"connection_id":45996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20849,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:23:54] local.INFO: GPS data processed {"connection_id":45996,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:23:54] local.INFO: Acknowledgment sent {"connection_id":45996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:23:56] local.INFO: TCP Data received {"connection_id":45800,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:23:56] local.INFO: Processing buffer {"connection_id":45800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:23:56] local.INFO: IMEI packet received {"connection_id":45800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":45800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:24:01] local.INFO: TCP Data received {"connection_id":45800,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:24:01] local.INFO: Processing buffer {"connection_id":45800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:24:01] local.INFO: IMEI packet received {"connection_id":45800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:24:01] local.INFO: IMEI acknowledgment sent {"connection_id":45800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:24:01] local.INFO: TCP Data received {"connection_id":45800,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:24:01] local.INFO: Processing buffer {"connection_id":45800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:24:01] local.INFO: Packet analysis {"connection_id":45800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:24:01] local.INFO: Extracted packet for processing {"connection_id":45800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:24:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759606528001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776405014000,"timestamp_ms":1776405014000,"timestamp_seconds":1776405014,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fd65f0"} 
[2026-04-17 11:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":238,"data_length":795,"current_offset":136} 
[2026-04-17 11:24: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-04-17 11: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-04-17 11:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:24: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-04-17 11:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759606528001,"66":25560,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759606528001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:24:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:24:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759606528001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":45800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:24:01] local.INFO: GPS data processed {"connection_id":45800,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:24:01] local.INFO: Acknowledgment sent {"connection_id":45800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:24:05] local.INFO: TCP Data received {"connection_id":45801,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:24:05] local.INFO: Processing buffer {"connection_id":45801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:24:05] local.INFO: IMEI packet received {"connection_id":45801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:24:05] local.INFO: IMEI acknowledgment sent {"connection_id":45801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:24:07] local.INFO: TCP Data received {"connection_id":45800,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:24:07] local.INFO: Processing buffer {"connection_id":45800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:24:07] local.INFO: Packet analysis {"connection_id":45800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:24:07] local.INFO: Extracted packet for processing {"connection_id":45800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:24:07] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:24:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759606528001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:24:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776405014000,"timestamp_ms":1776405014000,"timestamp_seconds":1776405014,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fd65f0"} 
[2026-04-17 11:24:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:24:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:24:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 11:24:07] 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-04-17 11:24:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:24:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:24:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:24:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:24:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:24:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:24:07] 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-04-17 11:24:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:24:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:24:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759606528001,"66":25560,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:24:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:24:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:24:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759606528001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:24:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:24:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:24:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:24:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:24:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759606528001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:24:07] local.INFO: DEBUG: GPS processor result {"connection_id":45800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20851,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:24:07] local.INFO: GPS data processed {"connection_id":45800,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:24:07] local.INFO: Acknowledgment sent {"connection_id":45800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:24:10] local.INFO: TCP Data received {"connection_id":45801,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45801,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:24:10] local.INFO: Processing buffer {"connection_id":45801,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:24:10] local.INFO: IMEI packet received {"connection_id":45801,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":45801,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:24:12] local.INFO: TCP Data received {"connection_id":45801,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:24:12] local.INFO: Processing buffer {"connection_id":45801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:24:12] local.INFO: Packet analysis {"connection_id":45801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:24:12] local.INFO: Extracted packet for processing {"connection_id":45801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:24:12] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759617536001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776405057000,"timestamp_ms":1776405057000,"timestamp_seconds":1776405057,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fe0de8"} 
[2026-04-17 11:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:24: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-04-17 11:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 11:24:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:24:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759617536001,"66":25832,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:24:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:24:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:24:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759617536001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:24:12] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:24:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:24:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:24:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759617536001,"power":25832,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":45801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20852,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:24:12] local.INFO: GPS data processed {"connection_id":45801,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:24:12] local.INFO: Acknowledgment sent {"connection_id":45801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:24:16] local.INFO: TCP Data received {"connection_id":45997,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:24:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:24:16] local.INFO: Processing buffer {"connection_id":45997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:24:16] local.INFO: IMEI packet received {"connection_id":45997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:24:16] local.INFO: IMEI acknowledgment sent {"connection_id":45997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:24:17] local.INFO: TCP Data received {"connection_id":45997,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:24:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:24:17] local.INFO: Processing buffer {"connection_id":45997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:24:17] local.INFO: IMEI packet received {"connection_id":45997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:24:17] local.INFO: IMEI acknowledgment sent {"connection_id":45997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:24:20] local.INFO: TCP Data received {"connection_id":45997,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:24:20] local.INFO: Processing buffer {"connection_id":45997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:24:20] local.INFO: IMEI packet received {"connection_id":45997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":45997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:24:21] local.INFO: TCP Data received {"connection_id":45997,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45997,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:24:21] local.INFO: Processing buffer {"connection_id":45997,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:24:21] local.INFO: IMEI packet received {"connection_id":45997,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":45997,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:24:22] local.INFO: TCP Data received {"connection_id":45997,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a003898012d082b000709e060001a003e21..."} 
[2026-04-17 11:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a003898012d082b000709e060001a003e21..."} 
[2026-04-17 11:24:22] local.INFO: Processing buffer {"connection_id":45997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a003898012d082b000709e060001a003e21..."} 
[2026-04-17 11:24:22] local.INFO: Packet analysis {"connection_id":45997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a00"} 
[2026-04-17 11:24:22] local.INFO: Extracted packet for processing {"connection_id":45997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a00"} 
[2026-04-17 11:24:22] local.INFO: GPS Element Parsed {"raw_longitude":755510016,"raw_latitude":118087776,"longitude_deg":75.5510016,"latitude_deg":11.8087776,"altitude":26,"angle":62,"satellites":33,"speed":40,"hex_longitude":"2d082b00","hex_latitude":"0709e060","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:24:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759729152001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113396886190161920,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":580823644672325632,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:24:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776405199000,"timestamp_ms":1776405199000,"timestamp_seconds":1776405199,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a003898"} 
[2026-04-17 11:24:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:24: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-04-17 11: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 11:24:22] 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-04-17 11: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-04-17 11:24:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:24:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:24:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:24:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:24:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:24:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:24:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:24:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:24:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759729152001,"66":14428,"108":206,"28":32256,"24":40,"16":113396886190161920,"45":580823644672325632},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,28,24,16,45]} 
[2026-04-17 11:24:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:24:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:24:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759729152001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:24:22] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-04-17 11:24:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:24:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113396886190161920,"km_value":113396886190161.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:24:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":580823644672325632,"description":"Unknown IO ID 45"} 
[2026-04-17 11:24:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759729152001,"power":14428,"unknown_108":206,"unknown_28":32256,"ignition":40,"odometer":null,"unknown_45":580823644672325632}} 
[2026-04-17 11:24:22] local.INFO: DEBUG: GPS processor result {"connection_id":45997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20853,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:24:22] local.INFO: GPS data processed {"connection_id":45997,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:24:22] local.INFO: Acknowledgment sent {"connection_id":45997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:24:23] local.INFO: TCP Data received {"connection_id":45997,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a004450012d0835400709e7000019003122..."} 
[2026-04-17 11:24:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a004450012d0835400709e7000019003122..."} 
[2026-04-17 11:24:23] local.INFO: Processing buffer {"connection_id":45997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a004450012d0835400709e7000019003122..."} 
[2026-04-17 11:24:23] local.INFO: Packet analysis {"connection_id":45997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a00"} 
[2026-04-17 11:24:23] local.INFO: Extracted packet for processing {"connection_id":45997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a00"} 
[2026-04-17 11:24:23] local.INFO: GPS Element Parsed {"raw_longitude":755512640,"raw_latitude":118089472,"longitude_deg":75.551264,"latitude_deg":11.8089472,"altitude":25,"angle":49,"satellites":34,"speed":42,"hex_longitude":"2d083540","hex_latitude":"0709e700","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:24:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759730944001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113397032219049984,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":588564206532452352,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:24:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776405202000,"timestamp_ms":1776405202000,"timestamp_seconds":1776405202,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a004450"} 
[2026-04-17 11:24:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:24:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 11:24:23] 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-04-17 11:24: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-04-17 11:24:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:24:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:24:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:24:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:24:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:24:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:24:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:24:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:24:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759730944001,"66":14483,"108":206,"28":32256,"24":42,"16":113397032219049984,"45":588564206532452352},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,28,24,16,45]} 
[2026-04-17 11:24:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:24:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:24:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759730944001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:24:23] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-04-17 11:24:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:24:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113397032219049984,"km_value":113397032219049.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:24:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":588564206532452352,"description":"Unknown IO ID 45"} 
[2026-04-17 11:24:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759730944001,"power":14483,"unknown_108":206,"unknown_28":32256,"ignition":42,"odometer":null,"unknown_45":588564206532452352}} 
[2026-04-17 11:24:23] local.INFO: DEBUG: GPS processor result {"connection_id":45997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:24:23] local.INFO: GPS data processed {"connection_id":45997,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:24:23] local.INFO: Acknowledgment sent {"connection_id":45997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:24:47] local.INFO: TCP Data received {"connection_id":45801,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:24:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:24:47] local.INFO: Processing buffer {"connection_id":45801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:24:47] local.INFO: Packet analysis {"connection_id":45801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:24:47] local.INFO: Extracted packet for processing {"connection_id":45801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:24:47] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:24:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759617536001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:24:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776405057000,"timestamp_ms":1776405057000,"timestamp_seconds":1776405057,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fe0de8"} 
[2026-04-17 11:24:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:24:47] 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-04-17 11:24:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 11:24:47] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:24:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:24:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:24:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:24:47] local.INFO: Teltonika packet parsed successfully {"connection_id":45801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:24:47] local.INFO: Passing IMEI to GPS processor {"connection_id":45801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:24:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":45801,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:24:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:24:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:24:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:24:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759617536001,"66":25832,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:24:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:24:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:24:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759617536001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:24:47] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:24:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:24:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:24:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759617536001,"power":25832,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:24:47] local.INFO: DEBUG: GPS processor result {"connection_id":45801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20855,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:24:47] local.INFO: GPS data processed {"connection_id":45801,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:24:47] local.INFO: Acknowledgment sent {"connection_id":45801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:24:51] local.INFO: TCP Data received {"connection_id":45998,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:24:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:24:51] local.INFO: Processing buffer {"connection_id":45998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:24:51] local.INFO: IMEI packet received {"connection_id":45998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:24:51] local.INFO: IMEI acknowledgment sent {"connection_id":45998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:24:55] local.INFO: TCP Data received {"connection_id":45997,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a004c20012d083b400709ed780018002622..."} 
[2026-04-17 11:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a004c20012d083b400709ed780018002622..."} 
[2026-04-17 11:24:55] local.INFO: Processing buffer {"connection_id":45997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a004c20012d083b400709ed780018002622..."} 
[2026-04-17 11:24:55] local.INFO: Packet analysis {"connection_id":45997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a00"} 
[2026-04-17 11:24:55] local.INFO: Extracted packet for processing {"connection_id":45997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a00"} 
[2026-04-17 11:24:55] local.INFO: GPS Element Parsed {"raw_longitude":755514176,"raw_latitude":118091128,"longitude_deg":75.5514176,"latitude_deg":11.8091128,"altitude":24,"angle":38,"satellites":34,"speed":46,"hex_longitude":"2d083b40","hex_latitude":"0709ed78","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759731712001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113397139593232384,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":591449325044170752,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,108,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776405204000,"timestamp_ms":1776405204000,"timestamp_seconds":1776405204,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a004c20"} 
[2026-04-17 11:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:24: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-04-17 11:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-17 11:24:55] 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-04-17 11:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45997,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759731712001,"66":14450,"108":206,"28":32256,"24":46,"16":113397139593232384,"45":591449325044170752},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,108,28,24,16,45]} 
[2026-04-17 11:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759731712001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:24:55] local.INFO: Unknown IO ID detected {"io_id":108,"value":206,"description":"Unknown IO ID 108"} 
[2026-04-17 11:24:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113397139593232384,"km_value":113397139593232.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":591449325044170752,"description":"Unknown IO ID 45"} 
[2026-04-17 11:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759731712001,"power":14450,"unknown_108":206,"unknown_28":32256,"ignition":46,"odometer":null,"unknown_45":591449325044170752}} 
[2026-04-17 11:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":45997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:24:55] local.INFO: GPS data processed {"connection_id":45997,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:24:55] local.INFO: Acknowledgment sent {"connection_id":45997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:24:56] local.INFO: TCP Data received {"connection_id":45998,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45998,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:24:56] local.INFO: Processing buffer {"connection_id":45998,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:24:56] local.INFO: IMEI packet received {"connection_id":45998,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":45998,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:24:57] local.INFO: TCP Data received {"connection_id":45998,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:24:57] local.INFO: Processing buffer {"connection_id":45998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:24:57] local.INFO: Packet analysis {"connection_id":45998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:24:57] local.INFO: Extracted packet for processing {"connection_id":45998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:24:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759606528001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776405014000,"timestamp_ms":1776405014000,"timestamp_seconds":1776405014,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fd65f0"} 
[2026-04-17 11:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 11:24:57] 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-04-17 11: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-04-17 11:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759606528001,"66":25560,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759606528001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:24:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:24:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759606528001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":45998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:24:57] local.INFO: GPS data processed {"connection_id":45998,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:24:57] local.INFO: Acknowledgment sent {"connection_id":45998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:25:10] local.INFO: TCP Data received {"connection_id":45725,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:25:10] local.INFO: Processing buffer {"connection_id":45725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:25:10] local.INFO: IMEI packet received {"connection_id":45725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":45725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:25:15] local.INFO: TCP Data received {"connection_id":45725,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:25:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45725,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:25:15] local.INFO: Processing buffer {"connection_id":45725,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:25:15] local.INFO: IMEI packet received {"connection_id":45725,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:25:15] local.INFO: IMEI acknowledgment sent {"connection_id":45725,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:25:17] local.INFO: TCP Data received {"connection_id":45725,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:25:17] local.INFO: Processing buffer {"connection_id":45725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:25:17] local.INFO: Packet analysis {"connection_id":45725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:25:17] local.INFO: Extracted packet for processing {"connection_id":45725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:25:17] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:25:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759617536001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:25:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:25:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:25:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:25:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776405057000,"timestamp_ms":1776405057000,"timestamp_seconds":1776405057,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fe0de8"} 
[2026-04-17 11:25:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:25:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:25:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 11:25:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:25:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:25:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:25:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:25:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:25:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:25:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:25:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:25:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:25:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759617536001,"66":25832,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:25:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:25:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:25:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759617536001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:25:17] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:25:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:25:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:25:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759617536001,"power":25832,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:25:17] local.INFO: DEBUG: GPS processor result {"connection_id":45725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20858,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:25:17] local.INFO: GPS data processed {"connection_id":45725,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:25:17] local.INFO: Acknowledgment sent {"connection_id":45725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:25:17] local.INFO: TCP Data received {"connection_id":45726,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:25:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:25:17] local.INFO: Processing buffer {"connection_id":45726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:25:17] local.INFO: IMEI packet received {"connection_id":45726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:25:17] local.INFO: IMEI acknowledgment sent {"connection_id":45726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:25:18] local.INFO: TCP Data received {"connection_id":45726,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:25:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:25:18] local.INFO: Processing buffer {"connection_id":45726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:25:18] local.INFO: IMEI packet received {"connection_id":45726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:25:18] local.INFO: IMEI acknowledgment sent {"connection_id":45726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:25:19] local.INFO: TCP Data received {"connection_id":45726,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:25:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:25:19] local.INFO: Processing buffer {"connection_id":45726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:25:19] local.INFO: IMEI packet received {"connection_id":45726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:25:19] local.INFO: IMEI acknowledgment sent {"connection_id":45726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:25:22] local.INFO: TCP Data received {"connection_id":45725,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:25:22] local.INFO: Processing buffer {"connection_id":45725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:25:22] local.INFO: Packet analysis {"connection_id":45725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:25:22] local.INFO: Extracted packet for processing {"connection_id":45725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:25:22] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:25:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759617536001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:25:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:25:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:25:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:25:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776405057000,"timestamp_ms":1776405057000,"timestamp_seconds":1776405057,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fe0de8"} 
[2026-04-17 11:25:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:25:22] 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-04-17 11:25:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 11:25:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:25:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:25:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:25:22] local.INFO: Teltonika packet parsed successfully {"connection_id":45725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:25:22] local.INFO: Passing IMEI to GPS processor {"connection_id":45725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:25:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":45725,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:25:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:25:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:25:22] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:25:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759617536001,"66":25832,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:25:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:25:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:25:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759617536001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:25:22] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:25:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:25:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:25:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759617536001,"power":25832,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:25:22] local.INFO: DEBUG: GPS processor result {"connection_id":45725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20859,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:25:22] local.INFO: GPS data processed {"connection_id":45725,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:25:22] local.INFO: Acknowledgment sent {"connection_id":45725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:25:22] local.INFO: TCP Data received {"connection_id":45726,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45726,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:25:22] local.INFO: Processing buffer {"connection_id":45726,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:25:22] local.INFO: IMEI packet received {"connection_id":45726,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":45726,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:25:23] local.INFO: TCP Data received {"connection_id":45726,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a011f10012d08b340070a90100023003024..."} 
[2026-04-17 11:25:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a011f10012d08b340070a90100023003024..."} 
[2026-04-17 11:25:23] local.INFO: Processing buffer {"connection_id":45726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a011f10012d08b340070a90100023003024..."} 
[2026-04-17 11:25:23] local.INFO: Packet analysis {"connection_id":45726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:25:23] local.INFO: Extracted packet for processing {"connection_id":45726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:25:23] local.INFO: GPS Element Parsed {"raw_longitude":755544896,"raw_latitude":118132752,"longitude_deg":75.5544896,"latitude_deg":11.8132752,"altitude":35,"angle":48,"satellites":36,"speed":28,"hex_longitude":"2d08b340","hex_latitude":"070a9010","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:25:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759745280001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:25:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113399785293086720,"note":"Value kept but may cause issues"} 
[2026-04-17 11:25:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":625296691004299264,"note":"Value kept but may cause issues"} 
[2026-04-17 11:25:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:25:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776405258000,"timestamp_ms":1776405258000,"timestamp_seconds":1776405258,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a011f10"} 
[2026-04-17 11:25:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:25:23] 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-04-17 11: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":22,"data_length":795,"current_offset":136} 
[2026-04-17 11:25:23] 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-04-17 11: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-04-17 11:25:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:25:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:25:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:25:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:25:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:25:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:25:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:25:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:25:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759745280001,"66":13689,"209":206,"28":32256,"24":28,"16":113399785293086720,"45":625296691004299264},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,28,24,16,45]} 
[2026-04-17 11:25:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:25:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:25:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759745280001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:25:23] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-17 11:25:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:25:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113399785293086720,"km_value":113399785293086.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:25:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":625296691004299264,"description":"Unknown IO ID 45"} 
[2026-04-17 11:25:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759745280001,"power":13689,"unknown_209":206,"unknown_28":32256,"ignition":28,"odometer":null,"unknown_45":625296691004299264}} 
[2026-04-17 11:25:23] local.INFO: DEBUG: GPS processor result {"connection_id":45726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:25:23] local.INFO: GPS data processed {"connection_id":45726,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:25:23] local.INFO: Acknowledgment sent {"connection_id":45726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:25:28] local.INFO: TCP Data received {"connection_id":45998,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45998,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:25:28] local.INFO: Processing buffer {"connection_id":45998,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fd65f0012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:25:28] local.INFO: Packet analysis {"connection_id":45998,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:25:28] local.INFO: Extracted packet for processing {"connection_id":45998,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fd"} 
[2026-04-17 11:25:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759606528001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776405014000,"timestamp_ms":1776405014000,"timestamp_seconds":1776405014,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fd65f0"} 
[2026-04-17 11:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 11:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45998,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45998,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:25:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759606528001,"66":25560,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759606528001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:25:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:25:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759606528001,"power":25560,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":45998,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:25:28] local.INFO: GPS data processed {"connection_id":45998,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:25:28] local.INFO: Acknowledgment sent {"connection_id":45998,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:25:51] local.INFO: TCP Data received {"connection_id":45802,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:25:51] local.INFO: Processing buffer {"connection_id":45802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:25:51] local.INFO: IMEI packet received {"connection_id":45802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":45802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:25:53] local.INFO: TCP Data received {"connection_id":45802,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:25:53] local.INFO: Processing buffer {"connection_id":45802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:25:53] local.INFO: IMEI packet received {"connection_id":45802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":45802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:25:55] local.INFO: TCP Data received {"connection_id":45726,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0126e0012d08b840070a93380023003c24..."} 
[2026-04-17 11:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0126e0012d08b840070a93380023003c24..."} 
[2026-04-17 11:25:55] local.INFO: Processing buffer {"connection_id":45726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0126e0012d08b840070a93380023003c24..."} 
[2026-04-17 11:25:55] local.INFO: Packet analysis {"connection_id":45726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:25:55] local.INFO: Extracted packet for processing {"connection_id":45726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:25:55] local.INFO: GPS Element Parsed {"raw_longitude":755546176,"raw_latitude":118133560,"longitude_deg":75.5546176,"latitude_deg":11.813356,"altitude":35,"angle":60,"satellites":36,"speed":31,"hex_longitude":"2d08b840","hex_latitude":"070a9338","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759746048001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113399858307530752,"note":"Value kept but may cause issues"} 
[2026-04-17 11:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":626915172120793088,"note":"Value kept but may cause issues"} 
[2026-04-17 11:25:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,209,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776405260000,"timestamp_ms":1776405260000,"timestamp_seconds":1776405260,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0126e0"} 
[2026-04-17 11:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:25:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":53,"n8_eight_byte":121,"data_length":795,"current_offset":136} 
[2026-04-17 11:25:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1552,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45726,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759746048001,"66":14048,"209":206,"28":32256,"24":31,"16":113399858307530752,"45":626915172120793088},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,209,28,24,16,45]} 
[2026-04-17 11:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759746048001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:25:55] local.INFO: Unknown IO ID detected {"io_id":209,"value":206,"description":"Unknown IO ID 209"} 
[2026-04-17 11:25:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":32256,"description":"Unknown IO ID 28"} 
[2026-04-17 11:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113399858307530752,"km_value":113399858307530.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":626915172120793088,"description":"Unknown IO ID 45"} 
[2026-04-17 11:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759746048001,"power":14048,"unknown_209":206,"unknown_28":32256,"ignition":31,"odometer":null,"unknown_45":626915172120793088}} 
[2026-04-17 11:25:55] local.INFO: DEBUG: GPS processor result {"connection_id":45726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:25:55] local.INFO: GPS data processed {"connection_id":45726,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:25:55] local.INFO: Acknowledgment sent {"connection_id":45726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:25:56] local.INFO: TCP Data received {"connection_id":45802,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:25:56] local.INFO: Processing buffer {"connection_id":45802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:25:56] local.INFO: IMEI packet received {"connection_id":45802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":45802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:25:57] local.INFO: TCP Data received {"connection_id":45802,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:25:57] local.INFO: Processing buffer {"connection_id":45802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:25:57] local.INFO: Packet analysis {"connection_id":45802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:25:57] local.INFO: Extracted packet for processing {"connection_id":45802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:25:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759683584001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776405315000,"timestamp_ms":1776405315000,"timestamp_seconds":1776405315,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a01fdb8"} 
[2026-04-17 11:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 11:25:57] 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-04-17 11: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-04-17 11:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759683584001,"66":25538,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759683584001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:25:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:25:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759683584001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":45802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:25:57] local.INFO: GPS data processed {"connection_id":45802,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:25:57] local.INFO: Acknowledgment sent {"connection_id":45802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:26:06] local.INFO: TCP Data received {"connection_id":46568,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:26:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46568,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:26:06] local.INFO: Processing buffer {"connection_id":46568,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:26:06] local.INFO: IMEI packet received {"connection_id":46568,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:26:06] local.INFO: IMEI acknowledgment sent {"connection_id":46568,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:26:10] local.INFO: TCP Data received {"connection_id":46568,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46568,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:26:10] local.INFO: Processing buffer {"connection_id":46568,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:26:10] local.INFO: IMEI packet received {"connection_id":46568,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":46568,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:26:11] local.INFO: TCP Data received {"connection_id":46568,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:26:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:26:11] local.INFO: Processing buffer {"connection_id":46568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d99fe0de8012d29480006c0caf0000600822f..."} 
[2026-04-17 11:26:11] local.INFO: Packet analysis {"connection_id":46568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:26:11] local.INFO: Extracted packet for processing {"connection_id":46568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d99fe"} 
[2026-04-17 11:26:11] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:26:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759617536001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:26:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:26:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:26:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:26:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776405057000,"timestamp_ms":1776405057000,"timestamp_seconds":1776405057,"priority":1,"record_length":96,"hex_timestamp":"0000019d99fe0de8"} 
[2026-04-17 11:26:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:26:11] 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-04-17 11: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":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 11:26:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:26:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:26:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:26:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:26:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:26:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:26:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:26:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:26:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:26:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759617536001,"66":25832,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:26:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:26:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:26:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759617536001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:26:11] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:26:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:26:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:26:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759617536001,"power":25832,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:26:11] local.INFO: DEBUG: GPS processor result {"connection_id":46568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20864,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:26:11] local.INFO: GPS data processed {"connection_id":46568,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:26:11] local.INFO: Acknowledgment sent {"connection_id":46568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:26:30] local.INFO: TCP Data received {"connection_id":45727,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:26:30] local.INFO: Processing buffer {"connection_id":45727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:26:30] local.INFO: IMEI packet received {"connection_id":45727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:26:30] local.INFO: IMEI acknowledgment sent {"connection_id":45727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:26:30] local.INFO: TCP Data received {"connection_id":45802,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:26:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:26:30] local.INFO: Processing buffer {"connection_id":45802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:26:30] local.INFO: Packet analysis {"connection_id":45802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:26:30] local.INFO: Extracted packet for processing {"connection_id":45802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:26:30] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:26:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759683584001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:26:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:26:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:26:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:26:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776405315000,"timestamp_ms":1776405315000,"timestamp_seconds":1776405315,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a01fdb8"} 
[2026-04-17 11:26:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:26:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:26:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 11:26:30] 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-04-17 11:26:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:26:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:26:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:26:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:26:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:26:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:26:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:26:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:26:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:26:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759683584001,"66":25538,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:26:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:26:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:26:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759683584001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:26:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:26:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:26:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:26:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:26:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759683584001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:26:30] local.INFO: DEBUG: GPS processor result {"connection_id":45802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:26:30] local.INFO: GPS data processed {"connection_id":45802,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:26:30] local.INFO: Acknowledgment sent {"connection_id":45802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:26:31] local.INFO: TCP Data received {"connection_id":45727,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:26:31] local.INFO: Processing buffer {"connection_id":45727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:26:31] local.INFO: IMEI packet received {"connection_id":45727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:26:31] local.INFO: IMEI acknowledgment sent {"connection_id":45727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:26:32] local.INFO: TCP Data received {"connection_id":45727,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:26:32] local.INFO: Processing buffer {"connection_id":45727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:26:32] local.INFO: IMEI packet received {"connection_id":45727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":45727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:26:32] local.INFO: TCP Data received {"connection_id":45727,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:26:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45727,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:26:32] local.INFO: Processing buffer {"connection_id":45727,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:26:32] local.INFO: IMEI packet received {"connection_id":45727,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:26:32] local.INFO: IMEI acknowledgment sent {"connection_id":45727,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:26:43] local.INFO: TCP Data received {"connection_id":46568,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a02a5b0012d29480006c0caf0000600822f..."} 
[2026-04-17 11:26:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46568,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a02a5b0012d29480006c0caf0000600822f..."} 
[2026-04-17 11:26:43] local.INFO: Processing buffer {"connection_id":46568,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a02a5b0012d29480006c0caf0000600822f..."} 
[2026-04-17 11:26:43] local.INFO: Packet analysis {"connection_id":46568,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a02"} 
[2026-04-17 11:26:43] local.INFO: Extracted packet for processing {"connection_id":46568,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a02"} 
[2026-04-17 11:26:43] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:26:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759694592001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:26:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:26:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:26:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:26:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776405358000,"timestamp_ms":1776405358000,"timestamp_seconds":1776405358,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a02a5b0"} 
[2026-04-17 11:26:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:26:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:26:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-17 11:26:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:26:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:26:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:26:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:26:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46568,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:26:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:26:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46568,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:26:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:26:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:26:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:26:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759694592001,"66":25778,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:26:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:26:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:26:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759694592001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:26:43] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:26:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:26:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:26:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759694592001,"power":25778,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:26:43] local.INFO: DEBUG: GPS processor result {"connection_id":46568,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20866,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:26:43] local.INFO: GPS data processed {"connection_id":46568,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:26:43] local.INFO: Acknowledgment sent {"connection_id":46568,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:26:56] local.INFO: TCP Data received {"connection_id":45999,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:26:56] local.INFO: Processing buffer {"connection_id":45999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:26:56] local.INFO: IMEI packet received {"connection_id":45999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":45999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:27:01] local.INFO: TCP Data received {"connection_id":45999,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:27:01] local.INFO: Processing buffer {"connection_id":45999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:27:01] local.INFO: IMEI packet received {"connection_id":45999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":45999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:27:03] local.INFO: TCP Data received {"connection_id":45999,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:27:03] local.INFO: Processing buffer {"connection_id":45999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:27:03] local.INFO: Packet analysis {"connection_id":45999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:27:03] local.INFO: Extracted packet for processing {"connection_id":45999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:27:03] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759683584001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776405315000,"timestamp_ms":1776405315000,"timestamp_seconds":1776405315,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a01fdb8"} 
[2026-04-17 11:27:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:27:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:27:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 11:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2637,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:27:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:27:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759683584001,"66":25538,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759683584001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:27:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:27:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759683584001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":45999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:27:03] local.INFO: GPS data processed {"connection_id":45999,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:27:03] local.INFO: Acknowledgment sent {"connection_id":45999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:27:06] local.INFO: TCP Data received {"connection_id":45999,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:27:06] local.INFO: Processing buffer {"connection_id":45999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:27:06] local.INFO: Packet analysis {"connection_id":45999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:27:06] local.INFO: Extracted packet for processing {"connection_id":45999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759683584001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776405315000,"timestamp_ms":1776405315000,"timestamp_seconds":1776405315,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a01fdb8"} 
[2026-04-17 11:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11: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-04-17 11: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-04-17 11:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:27: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-04-17 11:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759683584001,"66":25538,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759683584001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:27:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759683584001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":45999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:27:06] local.INFO: GPS data processed {"connection_id":45999,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:27:06] local.INFO: Acknowledgment sent {"connection_id":45999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:27:10] local.INFO: TCP Data received {"connection_id":46569,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:27:10] local.INFO: Processing buffer {"connection_id":46569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:27:10] local.INFO: IMEI packet received {"connection_id":46569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":46569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:27:15] local.INFO: TCP Data received {"connection_id":46569,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46569,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:27:15] local.INFO: Processing buffer {"connection_id":46569,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:27:15] local.INFO: IMEI packet received {"connection_id":46569,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":46569,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:27:16] local.INFO: TCP Data received {"connection_id":46569,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a02a5b0012d29480006c0caf0000600822f..."} 
[2026-04-17 11:27:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a02a5b0012d29480006c0caf0000600822f..."} 
[2026-04-17 11:27:16] local.INFO: Processing buffer {"connection_id":46569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a02a5b0012d29480006c0caf0000600822f..."} 
[2026-04-17 11:27:16] local.INFO: Packet analysis {"connection_id":46569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a02"} 
[2026-04-17 11:27:16] local.INFO: Extracted packet for processing {"connection_id":46569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a02"} 
[2026-04-17 11:27:16] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:27:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759694592001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:27:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:27:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:27:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:27:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776405358000,"timestamp_ms":1776405358000,"timestamp_seconds":1776405358,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a02a5b0"} 
[2026-04-17 11:27:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:27:16] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-17 11:27:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:27:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:27:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:27:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:27:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:27:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:27:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:27:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:27:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:27:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759694592001,"66":25778,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:27:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:27:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:27:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759694592001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:27:16] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:27:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:27:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:27:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759694592001,"power":25778,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:27:16] local.INFO: DEBUG: GPS processor result {"connection_id":46569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20869,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:27:16] local.INFO: GPS data processed {"connection_id":46569,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:27:16] local.INFO: Acknowledgment sent {"connection_id":46569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:27:21] local.INFO: TCP Data received {"connection_id":46569,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a02a5b0012d29480006c0caf0000600822f..."} 
[2026-04-17 11:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46569,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a02a5b0012d29480006c0caf0000600822f..."} 
[2026-04-17 11:27:21] local.INFO: Processing buffer {"connection_id":46569,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a02a5b0012d29480006c0caf0000600822f..."} 
[2026-04-17 11:27:21] local.INFO: Packet analysis {"connection_id":46569,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a02"} 
[2026-04-17 11:27:21] local.INFO: Extracted packet for processing {"connection_id":46569,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a02"} 
[2026-04-17 11:27:21] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:27:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759694592001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:27:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:27:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:27:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:27:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776405358000,"timestamp_ms":1776405358000,"timestamp_seconds":1776405358,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a02a5b0"} 
[2026-04-17 11:27:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:27:21] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:27:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-17 11:27:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2786,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:27:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:27:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:27:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:27:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46569,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:27:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:27:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46569,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:27:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:27:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:27:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:27:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759694592001,"66":25778,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:27:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:27:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:27:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759694592001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:27:21] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:27:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:27:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:27:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759694592001,"power":25778,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:27:21] local.INFO: DEBUG: GPS processor result {"connection_id":46569,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20870,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:27:21] local.INFO: GPS data processed {"connection_id":46569,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:27:21] local.INFO: Acknowledgment sent {"connection_id":46569,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:27:51] local.INFO: TCP Data received {"connection_id":46000,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:27:51] local.INFO: Processing buffer {"connection_id":46000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:27:51] local.INFO: IMEI packet received {"connection_id":46000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":46000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:27:56] local.INFO: TCP Data received {"connection_id":46000,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:27:56] local.INFO: Processing buffer {"connection_id":46000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:27:56] local.INFO: IMEI packet received {"connection_id":46000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":46000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:27:57] local.INFO: TCP Data received {"connection_id":46000,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:27:57] local.INFO: Processing buffer {"connection_id":46000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:27:57] local.INFO: Packet analysis {"connection_id":46000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:27:57] local.INFO: Extracted packet for processing {"connection_id":46000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:27:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759683584001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776405315000,"timestamp_ms":1776405315000,"timestamp_seconds":1776405315,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a01fdb8"} 
[2026-04-17 11:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 11:27:57] 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-04-17 11:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759683584001,"66":25538,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759683584001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:27:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:27:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759683584001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":46000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:27:57] local.INFO: GPS data processed {"connection_id":46000,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:27:57] local.INFO: Acknowledgment sent {"connection_id":46000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:28:05] local.INFO: TCP Data received {"connection_id":45728,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:28:05] local.INFO: Processing buffer {"connection_id":45728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:28:05] local.INFO: IMEI packet received {"connection_id":45728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":45728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:28:10] local.INFO: TCP Data received {"connection_id":45728,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45728,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:28:10] local.INFO: Processing buffer {"connection_id":45728,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:28:10] local.INFO: IMEI packet received {"connection_id":45728,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":45728,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:28:12] local.INFO: TCP Data received {"connection_id":45728,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a039010012d29480006c0caf0000600822f..."} 
[2026-04-17 11:28:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a039010012d29480006c0caf0000600822f..."} 
[2026-04-17 11:28:12] local.INFO: Processing buffer {"connection_id":45728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a039010012d29480006c0caf0000600822f..."} 
[2026-04-17 11:28:12] local.INFO: Packet analysis {"connection_id":45728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a03"} 
[2026-04-17 11:28:12] local.INFO: Extracted packet for processing {"connection_id":45728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a03"} 
[2026-04-17 11:28:12] local.INFO: GPS Element Parsed {"raw_longitude":757680128,"raw_latitude":113298160,"longitude_deg":75.7680128,"latitude_deg":11.329816,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294800","hex_latitude":"06c0caf0","is_valid_coordinates":true} 
[2026-04-17 11:28: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-04-17 11:28:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759771648001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:28:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:28:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:28:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:28:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776405418000,"timestamp_ms":1776405418000,"timestamp_seconds":1776405418,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a039010"} 
[2026-04-17 11:28:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:28:12] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:28:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 11:28:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:28:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:28:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:28:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:28:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:28:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:28:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:28:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:28:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:28:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:28:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759771648001,"66":25756,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:28:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:28:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:28:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759771648001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:28:12] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:28:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:28:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:28:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759771648001,"power":25756,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:28:12] local.INFO: DEBUG: GPS processor result {"connection_id":45728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20872,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:28:12] local.INFO: GPS data processed {"connection_id":45728,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:28:12] local.INFO: Acknowledgment sent {"connection_id":45728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:28:28] local.INFO: TCP Data received {"connection_id":46000,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:28:28] local.INFO: Processing buffer {"connection_id":46000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:28:28] local.INFO: Packet analysis {"connection_id":46000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:28:28] local.INFO: Extracted packet for processing {"connection_id":46000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:28:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759683584001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776405315000,"timestamp_ms":1776405315000,"timestamp_seconds":1776405315,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a01fdb8"} 
[2026-04-17 11:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 11:28:28] 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-04-17 11:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759683584001,"66":25538,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759683584001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:28:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:28:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759683584001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":46000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:28:28] local.INFO: GPS data processed {"connection_id":46000,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:28:28] local.INFO: Acknowledgment sent {"connection_id":46000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:28:45] local.INFO: TCP Data received {"connection_id":45728,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a03f1b8012d29458006c0cae8000600822f..."} 
[2026-04-17 11:28:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a03f1b8012d29458006c0cae8000600822f..."} 
[2026-04-17 11:28:45] local.INFO: Processing buffer {"connection_id":45728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a03f1b8012d29458006c0cae8000600822f..."} 
[2026-04-17 11:28:45] local.INFO: Packet analysis {"connection_id":45728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a03"} 
[2026-04-17 11:28:45] local.INFO: Extracted packet for processing {"connection_id":45728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a03"} 
[2026-04-17 11:28:45] local.INFO: GPS Element Parsed {"raw_longitude":757679488,"raw_latitude":113298152,"longitude_deg":75.7679488,"latitude_deg":11.3298152,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294580","hex_latitude":"06c0cae8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:28:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759787008001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:28:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:28:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2974627582882541568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:28:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:28:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776405443000,"timestamp_ms":1776405443000,"timestamp_seconds":1776405443,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a03f1b8"} 
[2026-04-17 11:28:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:28:45] 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-04-17 11: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 11:28:45] 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-04-17 11: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-04-17 11:28:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:28:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:28:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:28:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:28:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45728,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:28:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:28:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:28:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:28:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759787008001,"66":28256,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2974627582882541568},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:28:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:28:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:28:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759787008001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:28:45] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:28:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:28:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":2974627582882541568,"description":"Unknown IO ID 45"} 
[2026-04-17 11:28:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759787008001,"power":28256,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2974627582882541568}} 
[2026-04-17 11:28:45] local.INFO: DEBUG: GPS processor result {"connection_id":45728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20874,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:28:45] local.INFO: GPS data processed {"connection_id":45728,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:28:45] local.INFO: Acknowledgment sent {"connection_id":45728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:28:51] local.INFO: TCP Data received {"connection_id":46571,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:28:51] local.INFO: Processing buffer {"connection_id":46571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:28:51] local.INFO: IMEI packet received {"connection_id":46571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":46571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:28:56] local.INFO: TCP Data received {"connection_id":46571,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46571,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:28:56] local.INFO: Processing buffer {"connection_id":46571,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:28:56] local.INFO: IMEI packet received {"connection_id":46571,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":46571,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:28:57] local.INFO: TCP Data received {"connection_id":46571,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:28:57] local.INFO: Processing buffer {"connection_id":46571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:28:57] local.INFO: Packet analysis {"connection_id":46571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:28:57] local.INFO: Extracted packet for processing {"connection_id":46571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:28:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759683584001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776405315000,"timestamp_ms":1776405315000,"timestamp_seconds":1776405315,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a01fdb8"} 
[2026-04-17 11:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 11:28:57] 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-04-17 11:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:28:57] 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-04-17 11:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759683584001,"66":25538,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759683584001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:28:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:28:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759683584001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":46571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:28:57] local.INFO: GPS data processed {"connection_id":46571,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:28:57] local.INFO: Acknowledgment sent {"connection_id":46571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:29:24] local.INFO: TCP Data received {"connection_id":45803,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:29:24] local.INFO: Processing buffer {"connection_id":45803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:29:24] local.INFO: IMEI packet received {"connection_id":45803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":45803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:29:28] local.INFO: TCP Data received {"connection_id":45803,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:29:28] local.INFO: Processing buffer {"connection_id":45803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:29:28] local.INFO: IMEI packet received {"connection_id":45803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":45803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:29:30] local.INFO: TCP Data received {"connection_id":46571,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46571,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:29:30] local.INFO: Processing buffer {"connection_id":46571,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:29:30] local.INFO: Packet analysis {"connection_id":46571,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:29:30] local.INFO: Extracted packet for processing {"connection_id":46571,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:29:30] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759683584001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776405315000,"timestamp_ms":1776405315000,"timestamp_seconds":1776405315,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a01fdb8"} 
[2026-04-17 11:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:29:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":216,"data_length":795,"current_offset":136} 
[2026-04-17 11:29:30] 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-04-17 11: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-04-17 11:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46571,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46571,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:29: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-04-17 11:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759683584001,"66":25538,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759683584001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:29:30] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:29:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759683584001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":46571,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:29:30] local.INFO: GPS data processed {"connection_id":46571,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:29:30] local.INFO: Acknowledgment sent {"connection_id":46571,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:29:33] local.INFO: TCP Data received {"connection_id":45803,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0443c0012d29458006c0cae8000600822f..."} 
[2026-04-17 11:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0443c0012d29458006c0cae8000600822f..."} 
[2026-04-17 11:29:33] local.INFO: Processing buffer {"connection_id":45803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0443c0012d29458006c0cae8000600822f..."} 
[2026-04-17 11:29:33] local.INFO: Packet analysis {"connection_id":45803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a04"} 
[2026-04-17 11:29:33] local.INFO: Extracted packet for processing {"connection_id":45803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a04"} 
[2026-04-17 11:29:33] local.INFO: GPS Element Parsed {"raw_longitude":757679488,"raw_latitude":113298152,"longitude_deg":75.7679488,"latitude_deg":11.3298152,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294580","hex_latitude":"06c0cae8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759793408001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2973923895440762880,"note":"Value kept but may cause issues"} 
[2026-04-17 11:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776405464000,"timestamp_ms":1776405464000,"timestamp_seconds":1776405464,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0443c0"} 
[2026-04-17 11:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:29: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-04-17 11: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 11:29:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759793408001,"66":28398,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2973923895440762880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759793408001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:29:33] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":2973923895440762880,"description":"Unknown IO ID 45"} 
[2026-04-17 11:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759793408001,"power":28398,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2973923895440762880}} 
[2026-04-17 11:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":45803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20877,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:29:33] local.INFO: GPS data processed {"connection_id":45803,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:29:33] local.INFO: Acknowledgment sent {"connection_id":45803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:29:34] local.INFO: TCP Data received {"connection_id":45803,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0495c8012d29458006c0cae8000600822f..."} 
[2026-04-17 11:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0495c8012d29458006c0cae8000600822f..."} 
[2026-04-17 11:29:34] local.INFO: Processing buffer {"connection_id":45803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0495c8012d29458006c0cae8000600822f..."} 
[2026-04-17 11:29:34] local.INFO: Packet analysis {"connection_id":45803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a04"} 
[2026-04-17 11:29:34] local.INFO: Extracted packet for processing {"connection_id":45803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a04"} 
[2026-04-17 11:29:34] local.INFO: GPS Element Parsed {"raw_longitude":757679488,"raw_latitude":113298152,"longitude_deg":75.7679488,"latitude_deg":11.3298152,"altitude":6,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d294580","hex_latitude":"06c0cae8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759798784001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2973923895440762880,"note":"Value kept but may cause issues"} 
[2026-04-17 11:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776405485000,"timestamp_ms":1776405485000,"timestamp_seconds":1776405485,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0495c8"} 
[2026-04-17 11:29:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:29: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-04-17 11: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 11:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:29:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:29:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759798784001,"66":28354,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2973923895440762880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759798784001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:29:34] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":2973923895440762880,"description":"Unknown IO ID 45"} 
[2026-04-17 11:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759798784001,"power":28354,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2973923895440762880}} 
[2026-04-17 11:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":45803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20878,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:29:34] local.INFO: GPS data processed {"connection_id":45803,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:29:34] local.INFO: Acknowledgment sent {"connection_id":45803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:29:51] local.INFO: TCP Data received {"connection_id":45805,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:29:51] local.INFO: Processing buffer {"connection_id":45805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:29:51] local.INFO: IMEI packet received {"connection_id":45805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":45805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:29:56] local.INFO: TCP Data received {"connection_id":45805,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45805,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:29:56] local.INFO: Processing buffer {"connection_id":45805,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:29:56] local.INFO: IMEI packet received {"connection_id":45805,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":45805,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:30:00] local.INFO: TCP Data received {"connection_id":45805,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:30:00] local.INFO: Processing buffer {"connection_id":45805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a01fdb8012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:30:00] local.INFO: Packet analysis {"connection_id":45805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:30:00] local.INFO: Extracted packet for processing {"connection_id":45805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a01"} 
[2026-04-17 11:30:00] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759683584001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:30:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776405315000,"timestamp_ms":1776405315000,"timestamp_seconds":1776405315,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a01fdb8"} 
[2026-04-17 11:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:30:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":216,"data_length":795,"current_offset":136} 
[2026-04-17 11:30: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-04-17 11: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-04-17 11:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45805,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:30: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-04-17 11:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759683584001,"66":25538,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759683584001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:30:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:30:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759683584001,"power":25538,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":45805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:30:00] local.INFO: GPS data processed {"connection_id":45805,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:30:00] local.INFO: Acknowledgment sent {"connection_id":45805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:30:10] local.INFO: TCP Data received {"connection_id":45806,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:30:10] local.INFO: Processing buffer {"connection_id":45806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:30:10] local.INFO: IMEI packet received {"connection_id":45806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":45806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:30:15] local.INFO: TCP Data received {"connection_id":45806,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:30:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:30:15] local.INFO: Processing buffer {"connection_id":45806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:30:15] local.INFO: IMEI packet received {"connection_id":45806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:30:15] local.INFO: IMEI acknowledgment sent {"connection_id":45806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:30:18] local.INFO: TCP Data received {"connection_id":45806,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a04e7d0012d296f4006c0a138000a00822f..."} 
[2026-04-17 11:30:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a04e7d0012d296f4006c0a138000a00822f..."} 
[2026-04-17 11:30:18] local.INFO: Processing buffer {"connection_id":45806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a04e7d0012d296f4006c0a138000a00822f..."} 
[2026-04-17 11:30:18] local.INFO: Packet analysis {"connection_id":45806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a04"} 
[2026-04-17 11:30:18] local.INFO: Extracted packet for processing {"connection_id":45806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a04"} 
[2026-04-17 11:30:18] local.INFO: GPS Element Parsed {"raw_longitude":757690176,"raw_latitude":113287480,"longitude_deg":75.7690176,"latitude_deg":11.328748,"altitude":10,"angle":130,"satellites":47,"speed":0,"hex_longitude":"2d296f40","hex_latitude":"06c0a138","is_valid_coordinates":true} 
[2026-04-17 11:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:30:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759804160001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:30:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:30:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2973923895440762880,"note":"Value kept but may cause issues"} 
[2026-04-17 11:30:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:30:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776405506000,"timestamp_ms":1776405506000,"timestamp_seconds":1776405506,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a04e7d0"} 
[2026-04-17 11:30:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:30:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:30:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:30:18] 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-04-17 11:30:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:30:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:30:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:30:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:30:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:30:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:30:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:30:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:30:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:30:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759804160001,"66":28354,"76":206,"2":57088,"24":0,"16":106618783551979520,"45":2973923895440762880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,76,2,24,16,45]} 
[2026-04-17 11:30:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:30:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:30:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759804160001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:30:18] local.INFO: Unknown IO ID detected {"io_id":76,"value":206,"description":"Unknown IO ID 76"} 
[2026-04-17 11:30:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:30:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":2973923895440762880,"description":"Unknown IO ID 45"} 
[2026-04-17 11:30:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759804160001,"power":28354,"unknown_76":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":2973923895440762880}} 
[2026-04-17 11:30:18] local.INFO: DEBUG: GPS processor result {"connection_id":45806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20880,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:30:18] local.INFO: GPS data processed {"connection_id":45806,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:30:18] local.INFO: Acknowledgment sent {"connection_id":45806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:30:20] local.INFO: TCP Data received {"connection_id":45806,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a05ed880100000000000000000000000000..."} 
[2026-04-17 11:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a05ed880100000000000000000000000000..."} 
[2026-04-17 11:30:20] local.INFO: Processing buffer {"connection_id":45806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a05ed880100000000000000000000000000..."} 
[2026-04-17 11:30:20] local.INFO: Packet analysis {"connection_id":45806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a05"} 
[2026-04-17 11:30:20] local.INFO: Extracted packet for processing {"connection_id":45806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a05"} 
[2026-04-17 11:30: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-04-17 11:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:30:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759809536001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:30:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:30:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":2985675475715700736,"note":"Value kept but may cause issues"} 
[2026-04-17 11:30:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,76,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:30:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776405573000,"timestamp_ms":1776405573000,"timestamp_seconds":1776405573,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a05ed88"} 
[2026-04-17 11:30:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:30:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:30:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:30:20] 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-04-17 11:30:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:30:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:30:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:30:20] local.INFO: Teltonika packet parsed successfully {"connection_id":45806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:30:20] local.INFO: Passing IMEI to GPS processor {"connection_id":45806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:30:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":45806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:30:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:30:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:30:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:30:20] local.INFO: DEBUG: GPS processor result {"connection_id":45806,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 11:30:20] local.INFO: GPS data processed {"connection_id":45806,"processed":0,"errors":0,"total":1} 
[2026-04-17 11:30:20] local.INFO: Acknowledgment sent {"connection_id":45806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:30:51] local.INFO: TCP Data received {"connection_id":45807,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:30:51] local.INFO: Processing buffer {"connection_id":45807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:30:51] local.INFO: IMEI packet received {"connection_id":45807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":45807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:30:54] local.INFO: TCP Data received {"connection_id":45807,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:30:54] local.INFO: Processing buffer {"connection_id":45807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:30:54] local.INFO: IMEI packet received {"connection_id":45807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":45807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:30:56] local.INFO: TCP Data received {"connection_id":45807,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45807,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:30:56] local.INFO: Processing buffer {"connection_id":45807,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:30:56] local.INFO: IMEI packet received {"connection_id":45807,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":45807,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:30:57] local.INFO: TCP Data received {"connection_id":45807,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:30:57] local.INFO: Processing buffer {"connection_id":45807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:30:57] local.INFO: Packet analysis {"connection_id":45807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:30:57] local.INFO: Extracted packet for processing {"connection_id":45807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:30:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759760640001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776405616000,"timestamp_ms":1776405616000,"timestamp_seconds":1776405616,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a069580"} 
[2026-04-17 11:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:30: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-04-17 11:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759760640001,"66":25495,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759760640001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:30:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:30:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759760640001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":45807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:30:57] local.INFO: GPS data processed {"connection_id":45807,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:30:57] local.INFO: Acknowledgment sent {"connection_id":45807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:31:05] local.INFO: TCP Data received {"connection_id":45729,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:31:05] local.INFO: Processing buffer {"connection_id":45729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:31:05] local.INFO: IMEI packet received {"connection_id":45729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:31:05] local.INFO: IMEI acknowledgment sent {"connection_id":45729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:31:08] local.INFO: TCP Data received {"connection_id":45729,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45729,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:31:08] local.INFO: Processing buffer {"connection_id":45729,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:31:08] local.INFO: IMEI packet received {"connection_id":45729,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:31:08] local.INFO: IMEI acknowledgment sent {"connection_id":45729,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:31:09] local.INFO: TCP Data received {"connection_id":45729,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a055d00012d29cec006c034200009009330..."} 
[2026-04-17 11:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a055d00012d29cec006c034200009009330..."} 
[2026-04-17 11:31:09] local.INFO: Processing buffer {"connection_id":45729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a055d00012d29cec006c034200009009330..."} 
[2026-04-17 11:31:09] local.INFO: Packet analysis {"connection_id":45729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a05"} 
[2026-04-17 11:31:09] local.INFO: Extracted packet for processing {"connection_id":45729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a05"} 
[2026-04-17 11:31:09] local.INFO: GPS Element Parsed {"raw_longitude":757714624,"raw_latitude":113259552,"longitude_deg":75.7714624,"latitude_deg":11.3259552,"altitude":9,"angle":147,"satellites":48,"speed":43,"hex_longitude":"2d29cec0","hex_latitude":"06c03420","is_valid_coordinates":true} 
[2026-04-17 11:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:31:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:31:09] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,242,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:31:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776405536000,"timestamp_ms":1776405536000,"timestamp_seconds":1776405536,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a055d00"} 
[2026-04-17 11:31:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:31:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:31:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 11:31:09] 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-04-17 11:31:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:31:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:31:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:31:09] local.INFO: Teltonika packet parsed successfully {"connection_id":45729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:31:09] local.INFO: Passing IMEI to GPS processor {"connection_id":45729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:31:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":45729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:31:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:31:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:31:09] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:31:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28398,"242":206,"2":57088,"24":43,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16]} 
[2026-04-17 11:31:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:31:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:31:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 11:31:09] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-17 11:31:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:31:09] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28398,"unknown_242":206,"power_alt":57088,"ignition":43,"odometer":null}} 
[2026-04-17 11:31:09] local.INFO: DEBUG: GPS processor result {"connection_id":45729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20882,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:31:09] local.INFO: GPS data processed {"connection_id":45729,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:31:09] local.INFO: Acknowledgment sent {"connection_id":45729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:31:28] local.INFO: TCP Data received {"connection_id":45807,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:31:28] local.INFO: Processing buffer {"connection_id":45807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:31:28] local.INFO: Packet analysis {"connection_id":45807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:31:28] local.INFO: Extracted packet for processing {"connection_id":45807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:31:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759760640001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776405616000,"timestamp_ms":1776405616000,"timestamp_seconds":1776405616,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a069580"} 
[2026-04-17 11:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:31:28] 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-04-17 11:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45807,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759760640001,"66":25495,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759760640001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:31:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:31:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759760640001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":45807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:31:28] local.INFO: GPS data processed {"connection_id":45807,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:31:28] local.INFO: Acknowledgment sent {"connection_id":45807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:31:37] local.INFO: TCP Data received {"connection_id":45808,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:31:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45808,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:31:37] local.INFO: Processing buffer {"connection_id":45808,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:31:37] local.INFO: IMEI packet received {"connection_id":45808,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:31:37] local.INFO: IMEI acknowledgment sent {"connection_id":45808,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:31:39] local.INFO: TCP Data received {"connection_id":45808,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a063f90012d0a5f40070d18c0002c004b22..."} 
[2026-04-17 11:31:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a063f90012d0a5f40070d18c0002c004b22..."} 
[2026-04-17 11:31:39] local.INFO: Processing buffer {"connection_id":45808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a063f90012d0a5f40070d18c0002c004b22..."} 
[2026-04-17 11:31:39] local.INFO: Packet analysis {"connection_id":45808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:31:39] local.INFO: Extracted packet for processing {"connection_id":45808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:31:39] local.INFO: GPS Element Parsed {"raw_longitude":755654464,"raw_latitude":118298816,"longitude_deg":75.5654464,"latitude_deg":11.8298816,"altitude":44,"angle":75,"satellites":34,"speed":5,"hex_longitude":"2d0a5f40","hex_latitude":"070d18c0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:31:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759829248001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:31:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113410600020738048,"note":"Value kept but may cause issues"} 
[2026-04-17 11:31:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":746964249730338816,"note":"Value kept but may cause issues"} 
[2026-04-17 11:31:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:31:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776405594000,"timestamp_ms":1776405594000,"timestamp_seconds":1776405594,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a063f90"} 
[2026-04-17 11:31:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:31: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-04-17 11: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-17 11:31:39] 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-04-17 11: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-04-17 11:31:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:31:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:31:39] local.INFO: Teltonika packet parsed successfully {"connection_id":45808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:31:39] local.INFO: Passing IMEI to GPS processor {"connection_id":45808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:31:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":45808,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:31:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:31:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:31:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:31:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759829248001,"66":13820,"208":206,"28":31744,"24":5,"16":113410600020738048,"45":746964249730338816},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,28,24,16,45]} 
[2026-04-17 11:31:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:31:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:31:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759829248001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:31:39] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-04-17 11:31:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:31:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113410600020738048,"km_value":113410600020738.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:31:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":746964249730338816,"description":"Unknown IO ID 45"} 
[2026-04-17 11:31:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759829248001,"power":13820,"unknown_208":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":746964249730338816}} 
[2026-04-17 11:31:39] local.INFO: DEBUG: GPS processor result {"connection_id":45808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:31:39] local.INFO: GPS data processed {"connection_id":45808,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:31:39] local.INFO: Acknowledgment sent {"connection_id":45808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:31:41] local.INFO: TCP Data received {"connection_id":45729,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a05af08012d29fb8006bff2480009008e30..."} 
[2026-04-17 11:31:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a05af08012d29fb8006bff2480009008e30..."} 
[2026-04-17 11:31:41] local.INFO: Processing buffer {"connection_id":45729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a05af08012d29fb8006bff2480009008e30..."} 
[2026-04-17 11:31:41] local.INFO: Packet analysis {"connection_id":45729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a05"} 
[2026-04-17 11:31:41] local.INFO: Extracted packet for processing {"connection_id":45729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a05"} 
[2026-04-17 11:31:41] local.INFO: GPS Element Parsed {"raw_longitude":757726080,"raw_latitude":113242696,"longitude_deg":75.772608,"latitude_deg":11.3242696,"altitude":9,"angle":142,"satellites":48,"speed":0,"hex_longitude":"2d29fb80","hex_latitude":"06bff248","is_valid_coordinates":true} 
[2026-04-17 11:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:31:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759817216001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:31:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:31:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3012556335984418816,"note":"Value kept but may cause issues"} 
[2026-04-17 11:31:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:31:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776405557000,"timestamp_ms":1776405557000,"timestamp_seconds":1776405557,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a05af08"} 
[2026-04-17 11:31:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:31:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:31:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 11:31:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:31:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:31:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:31:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:31:41] local.INFO: Teltonika packet parsed successfully {"connection_id":45729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:31:41] local.INFO: Passing IMEI to GPS processor {"connection_id":45729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:31:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":45729,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:31:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:31:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:31:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:31:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759817216001,"66":28452,"242":206,"2":57088,"24":0,"16":106618783551979520,"45":3012556335984418816},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-04-17 11:31:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:31:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:31:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759817216001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:31:41] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-17 11:31:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:31:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":3012556335984418816,"description":"Unknown IO ID 45"} 
[2026-04-17 11:31:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759817216001,"power":28452,"unknown_242":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":3012556335984418816}} 
[2026-04-17 11:31:41] local.INFO: DEBUG: GPS processor result {"connection_id":45729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20885,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:31:41] local.INFO: GPS data processed {"connection_id":45729,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:31:41] local.INFO: Acknowledgment sent {"connection_id":45729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:31:52] local.INFO: TCP Data received {"connection_id":46572,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:31:52] local.INFO: Processing buffer {"connection_id":46572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:31:52] local.INFO: IMEI packet received {"connection_id":46572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":46572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:31:56] local.INFO: TCP Data received {"connection_id":46572,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46572,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:31:56] local.INFO: Processing buffer {"connection_id":46572,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:31:56] local.INFO: IMEI packet received {"connection_id":46572,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":46572,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:31:57] local.INFO: TCP Data received {"connection_id":46572,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:31:57] local.INFO: Processing buffer {"connection_id":46572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:31:57] local.INFO: Packet analysis {"connection_id":46572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:31:57] local.INFO: Extracted packet for processing {"connection_id":46572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759760640001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776405616000,"timestamp_ms":1776405616000,"timestamp_seconds":1776405616,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a069580"} 
[2026-04-17 11:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:31: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-04-17 11:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759760640001,"66":25495,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759760640001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:31:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:31:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759760640001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":46572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:31:57] local.INFO: GPS data processed {"connection_id":46572,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:31:57] local.INFO: Acknowledgment sent {"connection_id":46572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:32:05] local.INFO: TCP Data received {"connection_id":45730,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:32:05] local.INFO: Processing buffer {"connection_id":45730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:32:05] local.INFO: IMEI packet received {"connection_id":45730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":45730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:32:10] local.INFO: TCP Data received {"connection_id":45730,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45730,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:32:10] local.INFO: Processing buffer {"connection_id":45730,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:32:10] local.INFO: IMEI packet received {"connection_id":45730,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":45730,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:32:11] local.INFO: TCP Data received {"connection_id":45730,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a060110012d2a27c006bfb9f8000c008d2e..."} 
[2026-04-17 11:32:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a060110012d2a27c006bfb9f8000c008d2e..."} 
[2026-04-17 11:32:11] local.INFO: Processing buffer {"connection_id":45730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a060110012d2a27c006bfb9f8000c008d2e..."} 
[2026-04-17 11:32:11] local.INFO: Packet analysis {"connection_id":45730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:32:11] local.INFO: Extracted packet for processing {"connection_id":45730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:32:11] local.INFO: GPS Element Parsed {"raw_longitude":757737408,"raw_latitude":113228280,"longitude_deg":75.7737408,"latitude_deg":11.322828,"altitude":12,"angle":141,"satellites":46,"speed":0,"hex_longitude":"2d2a27c0","hex_latitude":"06bfb9f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:32:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759822592001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:32:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:32:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3025152341187905536,"note":"Value kept but may cause issues"} 
[2026-04-17 11:32:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:32:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776405578000,"timestamp_ms":1776405578000,"timestamp_seconds":1776405578,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a060110"} 
[2026-04-17 11:32:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:32: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-04-17 11: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 11:32:11] 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-04-17 11: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-04-17 11:32:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:32:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:32:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:32:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:32:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:32:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:32:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:32:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:32:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759822592001,"66":28430,"242":206,"2":57088,"24":0,"16":106618783551979520,"45":3025152341187905536},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-04-17 11:32:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:32:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:32:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759822592001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:32:11] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-17 11:32:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:32:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3025152341187905536,"description":"Unknown IO ID 45"} 
[2026-04-17 11:32:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759822592001,"power":28430,"unknown_242":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":3025152341187905536}} 
[2026-04-17 11:32:11] local.INFO: DEBUG: GPS processor result {"connection_id":45730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20887,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:32:11] local.INFO: GPS data processed {"connection_id":45730,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:32:11] local.INFO: Acknowledgment sent {"connection_id":45730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:32:17] local.INFO: TCP Data received {"connection_id":46003,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:32:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:32:17] local.INFO: Processing buffer {"connection_id":46003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:32:17] local.INFO: IMEI packet received {"connection_id":46003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:32:17] local.INFO: IMEI acknowledgment sent {"connection_id":46003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:32:22] local.INFO: TCP Data received {"connection_id":46003,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:32:22] local.INFO: Processing buffer {"connection_id":46003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:32:22] local.INFO: IMEI packet received {"connection_id":46003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":46003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:32:23] local.INFO: TCP Data received {"connection_id":46003,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a064b48012d0a6100070d1988002d003f21..."} 
[2026-04-17 11:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a064b48012d0a6100070d1988002d003f21..."} 
[2026-04-17 11:32:23] local.INFO: Processing buffer {"connection_id":46003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a064b48012d0a6100070d1988002d003f21..."} 
[2026-04-17 11:32:23] local.INFO: Packet analysis {"connection_id":46003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:32:23] local.INFO: Extracted packet for processing {"connection_id":46003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:32:23] local.INFO: GPS Element Parsed {"raw_longitude":755654912,"raw_latitude":118299016,"longitude_deg":75.5654912,"latitude_deg":11.8299016,"altitude":45,"angle":63,"satellites":33,"speed":4,"hex_longitude":"2d0a6100","hex_latitude":"070d1988","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759832064001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113410625790541824,"note":"Value kept but may cause issues"} 
[2026-04-17 11:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":747386462195466240,"note":"Value kept but may cause issues"} 
[2026-04-17 11:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776405597000,"timestamp_ms":1776405597000,"timestamp_seconds":1776405597,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a064b48"} 
[2026-04-17 11:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:32:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-17 11:32:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":46003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":46003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":46003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759832064001,"66":13906,"208":206,"28":31744,"24":4,"16":113410625790541824,"45":747386462195466240},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,28,24,16,45]} 
[2026-04-17 11:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759832064001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:32:23] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-04-17 11:32:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113410625790541824,"km_value":113410625790541.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":747386462195466240,"description":"Unknown IO ID 45"} 
[2026-04-17 11:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759832064001,"power":13906,"unknown_208":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":747386462195466240}} 
[2026-04-17 11:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":46003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:32:23] local.INFO: GPS data processed {"connection_id":46003,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:32:23] local.INFO: Acknowledgment sent {"connection_id":46003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:32:28] local.INFO: TCP Data received {"connection_id":46572,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:32:28] local.INFO: Processing buffer {"connection_id":46572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:32:28] local.INFO: Packet analysis {"connection_id":46572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:32:28] local.INFO: Extracted packet for processing {"connection_id":46572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:32:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759760640001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776405616000,"timestamp_ms":1776405616000,"timestamp_seconds":1776405616,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a069580"} 
[2026-04-17 11:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:32:28] 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-04-17 11:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46572,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:32: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-04-17 11:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759760640001,"66":25495,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759760640001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:32:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:32:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759760640001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":46572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:32:28] local.INFO: GPS data processed {"connection_id":46572,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:32:28] local.INFO: Acknowledgment sent {"connection_id":46572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:32:43] local.INFO: TCP Data received {"connection_id":45730,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0706c80100000000000000000000000000..."} 
[2026-04-17 11:32:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0706c80100000000000000000000000000..."} 
[2026-04-17 11:32:43] local.INFO: Processing buffer {"connection_id":45730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0706c80100000000000000000000000000..."} 
[2026-04-17 11:32:43] local.INFO: Packet analysis {"connection_id":45730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a07"} 
[2026-04-17 11:32:43] local.INFO: Extracted packet for processing {"connection_id":45730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a07"} 
[2026-04-17 11:32: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-04-17 11:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:32:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759827968001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:32:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:32:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3037607608903661568,"note":"Value kept but may cause issues"} 
[2026-04-17 11:32:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:32:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776405645000,"timestamp_ms":1776405645000,"timestamp_seconds":1776405645,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0706c8"} 
[2026-04-17 11:32:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:32:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:32:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 11:32:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:32:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:32:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:32:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:32:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:32:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:32:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45730,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:32:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:32:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:32:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:32:43] local.INFO: DEBUG: GPS processor result {"connection_id":45730,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 11:32:43] local.INFO: GPS data processed {"connection_id":45730,"processed":0,"errors":0,"total":1} 
[2026-04-17 11:32:43] local.INFO: Acknowledgment sent {"connection_id":45730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:32:51] local.INFO: TCP Data received {"connection_id":45731,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:32:51] local.INFO: Processing buffer {"connection_id":45731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:32:51] local.INFO: IMEI packet received {"connection_id":45731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":45731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:32:55] local.INFO: TCP Data received {"connection_id":46003,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a069d50012d0a6d40070d20800031003d22..."} 
[2026-04-17 11:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a069d50012d0a6d40070d20800031003d22..."} 
[2026-04-17 11:32:55] local.INFO: Processing buffer {"connection_id":46003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a069d50012d0a6d40070d20800031003d22..."} 
[2026-04-17 11:32:55] local.INFO: Packet analysis {"connection_id":46003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:32:55] local.INFO: Extracted packet for processing {"connection_id":46003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:32:55] local.INFO: GPS Element Parsed {"raw_longitude":755658048,"raw_latitude":118300800,"longitude_deg":75.5658048,"latitude_deg":11.83008,"altitude":49,"angle":61,"satellites":34,"speed":12,"hex_longitude":"2d0a6d40","hex_latitude":"070d2080","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759832832001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113410797589233664,"note":"Value kept but may cause issues"} 
[2026-04-17 11:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":747879043404761088,"note":"Value kept but may cause issues"} 
[2026-04-17 11:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,208,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776405618000,"timestamp_ms":1776405618000,"timestamp_seconds":1776405618,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a069d50"} 
[2026-04-17 11:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:32: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-04-17 11: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-17 11:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759832832001,"66":13580,"208":206,"28":31744,"24":12,"16":113410797589233664,"45":747879043404761088},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,208,28,24,16,45]} 
[2026-04-17 11:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759832832001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:32:55] local.INFO: Unknown IO ID detected {"io_id":208,"value":206,"description":"Unknown IO ID 208"} 
[2026-04-17 11:32:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113410797589233664,"km_value":113410797589233.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":747879043404761088,"description":"Unknown IO ID 45"} 
[2026-04-17 11:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759832832001,"power":13580,"unknown_208":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":747879043404761088}} 
[2026-04-17 11:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":46003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:32:55] local.INFO: GPS data processed {"connection_id":46003,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:32:55] local.INFO: Acknowledgment sent {"connection_id":46003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:32:56] local.INFO: TCP Data received {"connection_id":45731,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45731,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:32:56] local.INFO: Processing buffer {"connection_id":45731,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:32:56] local.INFO: IMEI packet received {"connection_id":45731,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":45731,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:32:57] local.INFO: TCP Data received {"connection_id":45731,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:32:57] local.INFO: Processing buffer {"connection_id":45731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:32:57] local.INFO: Packet analysis {"connection_id":45731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:32:57] local.INFO: Extracted packet for processing {"connection_id":45731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:32:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759760640001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776405616000,"timestamp_ms":1776405616000,"timestamp_seconds":1776405616,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a069580"} 
[2026-04-17 11:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:32: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-04-17 11:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759760640001,"66":25495,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759760640001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:32:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759760640001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":45731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:32:57] local.INFO: GPS data processed {"connection_id":45731,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:32:57] local.INFO: Acknowledgment sent {"connection_id":45731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:33:05] local.INFO: TCP Data received {"connection_id":46004,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:33:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:33:05] local.INFO: Processing buffer {"connection_id":46004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:33:05] local.INFO: IMEI packet received {"connection_id":46004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:33:05] local.INFO: IMEI acknowledgment sent {"connection_id":46004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:33:10] local.INFO: TCP Data received {"connection_id":46004,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46004,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:33:10] local.INFO: Processing buffer {"connection_id":46004,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:33:10] local.INFO: IMEI packet received {"connection_id":46004,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:33:10] local.INFO: IMEI acknowledgment sent {"connection_id":46004,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:33:11] local.INFO: TCP Data received {"connection_id":46004,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a067a28012d2a810006bf4610000b008e2f..."} 
[2026-04-17 11:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a067a28012d2a810006bf4610000b008e2f..."} 
[2026-04-17 11:33:11] local.INFO: Processing buffer {"connection_id":46004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a067a28012d2a810006bf4610000b008e2f..."} 
[2026-04-17 11:33:11] local.INFO: Packet analysis {"connection_id":46004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:33:11] local.INFO: Extracted packet for processing {"connection_id":46004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:33:11] local.INFO: GPS Element Parsed {"raw_longitude":757760256,"raw_latitude":113198608,"longitude_deg":75.7760256,"latitude_deg":11.3198608,"altitude":11,"angle":142,"satellites":47,"speed":41,"hex_longitude":"2d2a8100","hex_latitude":"06bf4610","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:33:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,242,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:33:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776405609000,"timestamp_ms":1776405609000,"timestamp_seconds":1776405609,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a067a28"} 
[2026-04-17 11:33:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:33:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 11:33:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:33:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:33:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:33:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:33:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:33:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:33:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:33:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:33:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:33:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28430,"242":206,"2":57088,"24":41,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16]} 
[2026-04-17 11:33:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:33:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:33:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 11:33:11] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-17 11:33:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:33:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28430,"unknown_242":206,"power_alt":57088,"ignition":41,"odometer":null}} 
[2026-04-17 11:33:11] local.INFO: DEBUG: GPS processor result {"connection_id":46004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20892,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:33:11] local.INFO: GPS data processed {"connection_id":46004,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:33:11] local.INFO: Acknowledgment sent {"connection_id":46004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:33:17] local.INFO: TCP Data received {"connection_id":46005,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:33:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:33:17] local.INFO: Processing buffer {"connection_id":46005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:33:17] local.INFO: IMEI packet received {"connection_id":46005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:33:17] local.INFO: IMEI acknowledgment sent {"connection_id":46005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:33:23] local.INFO: TCP Data received {"connection_id":46005,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46005,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:33:23] local.INFO: Processing buffer {"connection_id":46005,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:33:23] local.INFO: IMEI packet received {"connection_id":46005,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":46005,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:33:25] local.INFO: TCP Data received {"connection_id":46005,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0879e0012d0ade80070de5480026015d24..."} 
[2026-04-17 11:33:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0879e0012d0ade80070de5480026015d24..."} 
[2026-04-17 11:33:25] local.INFO: Processing buffer {"connection_id":46005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0879e0012d0ade80070de5480026015d24..."} 
[2026-04-17 11:33:25] local.INFO: Packet analysis {"connection_id":46005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a08"} 
[2026-04-17 11:33:25] local.INFO: Extracted packet for processing {"connection_id":46005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a08"} 
[2026-04-17 11:33:25] local.INFO: GPS Element Parsed {"raw_longitude":755687040,"raw_latitude":118351176,"longitude_deg":75.568704,"latitude_deg":11.8351176,"altitude":38,"angle":349,"satellites":36,"speed":39,"hex_longitude":"2d0ade80","hex_latitude":"070de548","is_valid_coordinates":true} 
[2026-04-17 11:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:33:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759866624001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113413842721046528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":784893002853158912,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:33:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776405740000,"timestamp_ms":1776405740000,"timestamp_seconds":1776405740,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0879e0"} 
[2026-04-17 11:33:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:33:25] 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-04-17 11:33:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":6,"data_length":795,"current_offset":136} 
[2026-04-17 11:33:25] local.WARNING: Large IO value detected {"io_id":24,"raw_value":8725732883759104,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:25] local.WARNING: Large IO value detected {"io_id":158,"raw_value":1729399855856185088,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2584188752,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3872325838,"corrected_to":0} 
[2026-04-17 11:33:25] local.WARNING: Large IO value detected {"io_id":170,"raw_value":3623955722,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:25] local.WARNING: Large IO value detected {"io_id":54,"raw_value":3019951590,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:25] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3953328128,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:25] local.WARNING: Large IO value detected {"io_id":96,"raw_value":-6917198029233584371,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:25] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-6341014398326144996,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:25] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,25,28,24,241,158,16,236,157,47,45,128,178,39,32,10,66,192,164,40,31,233,1,240,137,154,13,4,113,205,38,170,190,216,35,239,54,207,2,146,7,44,96,56],"length":528,"final_offset":658,"validated_count":44,"validation_warnings":[{"io_id":205,"original":3872325838,"validated":0}]} 
[2026-04-17 11:33:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666519248743497728,"timestamp_seconds":2666519248743497.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 11:33:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:33:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:33:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:33:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:33:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:33:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:33:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:33:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:33:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759866624001,"66":14450,"25":206,"28":31744,"24":39,"16":113413842721046528,"45":784893002853158912},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,28,24,16,45]} 
[2026-04-17 11:33:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:33:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:33:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759866624001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:33:25] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-17 11:33:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:33:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113413842721046528,"km_value":113413842721046.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:33:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":784893002853158912,"description":"Unknown IO ID 45"} 
[2026-04-17 11:33:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759866624001,"power":14450,"unknown_25":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":784893002853158912}} 
[2026-04-17 11:33:25] local.INFO: DEBUG: GPS processor result {"connection_id":46005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:33:25] local.INFO: GPS data processed {"connection_id":46005,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:33:25] local.INFO: Acknowledgment sent {"connection_id":46005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:33:28] local.INFO: TCP Data received {"connection_id":45731,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45731,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:33:28] local.INFO: Processing buffer {"connection_id":45731,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:33:28] local.INFO: Packet analysis {"connection_id":45731,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:33:28] local.INFO: Extracted packet for processing {"connection_id":45731,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:33:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759760640001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776405616000,"timestamp_ms":1776405616000,"timestamp_seconds":1776405616,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a069580"} 
[2026-04-17 11:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:33:28] 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-04-17 11: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-04-17 11:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45731,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45731,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759760640001,"66":25495,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759760640001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:33:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759760640001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":45731,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:33:28] local.INFO: GPS data processed {"connection_id":45731,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:33:28] local.INFO: Acknowledgment sent {"connection_id":45731,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:33:51] local.INFO: TCP Data received {"connection_id":46573,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:33:51] local.INFO: Processing buffer {"connection_id":46573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:33:51] local.INFO: IMEI packet received {"connection_id":46573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":46573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:33:56] local.INFO: TCP Data received {"connection_id":46573,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46573,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:33:56] local.INFO: Processing buffer {"connection_id":46573,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:33:56] local.INFO: IMEI packet received {"connection_id":46573,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":46573,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:33:57] local.INFO: TCP Data received {"connection_id":46005,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a089d08012d0ad840070e0a880027015d23..."} 
[2026-04-17 11:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a089d08012d0ad840070e0a880027015d23..."} 
[2026-04-17 11:33:57] local.INFO: Processing buffer {"connection_id":46005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a089d08012d0ad840070e0a880027015d23..."} 
[2026-04-17 11:33:57] local.INFO: Packet analysis {"connection_id":46005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a08"} 
[2026-04-17 11:33:57] local.INFO: Extracted packet for processing {"connection_id":46005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a08"} 
[2026-04-17 11:33:57] local.INFO: GPS Element Parsed {"raw_longitude":755685440,"raw_latitude":118360712,"longitude_deg":75.568544,"latitude_deg":11.8360712,"altitude":39,"angle":349,"satellites":35,"speed":45,"hex_longitude":"2d0ad840","hex_latitude":"070e0a88","is_valid_coordinates":true} 
[2026-04-17 11:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759869440001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113414310872481792,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783204152995301376,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776405749000,"timestamp_ms":1776405749000,"timestamp_seconds":1776405749,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a089d08"} 
[2026-04-17 11:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:33:57] 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-04-17 11:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-04-17 11:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46005,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759869440001,"66":14635,"25":206,"28":31744,"24":45,"16":113414310872481792,"45":783204152995301376},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,28,24,16,45]} 
[2026-04-17 11:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759869440001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:33:57] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-17 11:33:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113414310872481792,"km_value":113414310872481.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":783204152995301376,"description":"Unknown IO ID 45"} 
[2026-04-17 11:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759869440001,"power":14635,"unknown_25":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":783204152995301376}} 
[2026-04-17 11:33:57] local.INFO: TCP Data received {"connection_id":46573,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:33:57] local.INFO: Processing buffer {"connection_id":46573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:33:57] local.INFO: Packet analysis {"connection_id":46573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:33:57] local.INFO: Extracted packet for processing {"connection_id":46573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:33:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759760640001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776405616000,"timestamp_ms":1776405616000,"timestamp_seconds":1776405616,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a069580"} 
[2026-04-17 11:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:33: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-04-17 11:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759760640001,"66":25495,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759760640001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:33:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:33:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759760640001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":46005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:33:57] local.INFO: GPS data processed {"connection_id":46005,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:33:57] local.INFO: Acknowledgment sent {"connection_id":46005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":46573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:33:57] local.INFO: GPS data processed {"connection_id":46573,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:33:57] local.INFO: Acknowledgment sent {"connection_id":46573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:34:00] local.INFO: TCP Data received {"connection_id":46004,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a06cc30012d2ab38006bf07e00008008b30..."} 
[2026-04-17 11:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a06cc30012d2ab38006bf07e00008008b30..."} 
[2026-04-17 11:34:00] local.INFO: Processing buffer {"connection_id":46004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a06cc30012d2ab38006bf07e00008008b30..."} 
[2026-04-17 11:34:00] local.INFO: Packet analysis {"connection_id":46004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:34:00] local.INFO: Extracted packet for processing {"connection_id":46004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:34:00] local.INFO: GPS Element Parsed {"raw_longitude":757773184,"raw_latitude":113182688,"longitude_deg":75.7773184,"latitude_deg":11.3182688,"altitude":8,"angle":139,"satellites":48,"speed":0,"hex_longitude":"2d2ab380","hex_latitude":"06bf07e0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759835904001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3062729250567491584,"note":"Value kept but may cause issues"} 
[2026-04-17 11:34:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776405630000,"timestamp_ms":1776405630000,"timestamp_seconds":1776405630,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a06cc30"} 
[2026-04-17 11:34:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:34:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 11:34:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:34:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46004,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759835904001,"66":28485,"242":206,"2":57088,"24":0,"16":106618783551979520,"45":3062729250567491584},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16,45]} 
[2026-04-17 11:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759835904001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:34:00] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-17 11:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":3062729250567491584,"description":"Unknown IO ID 45"} 
[2026-04-17 11:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759835904001,"power":28485,"unknown_242":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":3062729250567491584}} 
[2026-04-17 11:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":46004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20897,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:34:01] local.INFO: GPS data processed {"connection_id":46004,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:34:01] local.INFO: Acknowledgment sent {"connection_id":46004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:34:17] local.INFO: TCP Data received {"connection_id":45732,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:34:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:34:17] local.INFO: Processing buffer {"connection_id":45732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:34:17] local.INFO: IMEI packet received {"connection_id":45732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:34:17] local.INFO: IMEI acknowledgment sent {"connection_id":45732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:34:19] local.INFO: TCP Data received {"connection_id":45732,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:34:19] local.INFO: Processing buffer {"connection_id":45732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:34:19] local.INFO: IMEI packet received {"connection_id":45732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":45732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:34:20] local.INFO: TCP Data received {"connection_id":46006,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:34:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:34:20] local.INFO: Processing buffer {"connection_id":46006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:34:20] local.INFO: IMEI packet received {"connection_id":46006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:34:20] local.INFO: IMEI acknowledgment sent {"connection_id":46006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:34:23] local.INFO: TCP Data received {"connection_id":45732,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45732,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:34:23] local.INFO: Processing buffer {"connection_id":45732,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:34:23] local.INFO: IMEI packet received {"connection_id":45732,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":45732,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:34:24] local.INFO: TCP Data received {"connection_id":45732,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a08b478012d0ad680070e1f88002a000222..."} 
[2026-04-17 11:34:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a08b478012d0ad680070e1f88002a000222..."} 
[2026-04-17 11:34:24] local.INFO: Processing buffer {"connection_id":45732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a08b478012d0ad680070e1f88002a000222..."} 
[2026-04-17 11:34:24] local.INFO: Packet analysis {"connection_id":45732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a08"} 
[2026-04-17 11:34:24] local.INFO: Extracted packet for processing {"connection_id":45732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a08"} 
[2026-04-17 11:34:24] local.INFO: GPS Element Parsed {"raw_longitude":755684992,"raw_latitude":118366088,"longitude_deg":75.5684992,"latitude_deg":11.8366088,"altitude":42,"angle":2,"satellites":34,"speed":23,"hex_longitude":"2d0ad680","hex_latitude":"070e1f88","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:34:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759871744001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:34:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113414572865486848,"note":"Value kept but may cause issues"} 
[2026-04-17 11:34:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":781444934393300992,"note":"Value kept but may cause issues"} 
[2026-04-17 11:34:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:34:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776405755000,"timestamp_ms":1776405755000,"timestamp_seconds":1776405755,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a08b478"} 
[2026-04-17 11:34:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:34:24] 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-04-17 11: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":57,"n8_eight_byte":43,"data_length":795,"current_offset":136} 
[2026-04-17 11:34:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":870,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:34:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:34:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:34:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:34:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:34:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:34:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:34:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:34:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:34:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759871744001,"66":13928,"25":206,"28":31744,"24":23,"16":113414572865486848,"45":781444934393300992},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,28,24,16,45]} 
[2026-04-17 11:34:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:34:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:34:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759871744001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:34:24] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-17 11:34:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:34:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113414572865486848,"km_value":113414572865486.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:34:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":781444934393300992,"description":"Unknown IO ID 45"} 
[2026-04-17 11:34:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759871744001,"power":13928,"unknown_25":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":781444934393300992}} 
[2026-04-17 11:34:24] local.INFO: DEBUG: GPS processor result {"connection_id":45732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20898,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:34:24] local.INFO: GPS data processed {"connection_id":45732,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:34:24] local.INFO: Acknowledgment sent {"connection_id":45732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:34:25] local.INFO: TCP Data received {"connection_id":46006,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46006,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:34:25] local.INFO: Processing buffer {"connection_id":46006,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:34:25] local.INFO: IMEI packet received {"connection_id":46006,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":46006,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:34:26] local.INFO: TCP Data received {"connection_id":46006,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a07d1e80100000000000000000000000000..."} 
[2026-04-17 11:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a07d1e80100000000000000000000000000..."} 
[2026-04-17 11:34:26] local.INFO: Processing buffer {"connection_id":46006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a07d1e80100000000000000000000000000..."} 
[2026-04-17 11:34:26] local.INFO: Packet analysis {"connection_id":46006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a07"} 
[2026-04-17 11:34:26] local.INFO: Extracted packet for processing {"connection_id":46006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a07"} 
[2026-04-17 11:34:26] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 11:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:34:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759841280001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:34:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:34:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3076943736887304192,"note":"Value kept but may cause issues"} 
[2026-04-17 11:34:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,242,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:34:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776405697000,"timestamp_ms":1776405697000,"timestamp_seconds":1776405697,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a07d1e8"} 
[2026-04-17 11:34:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:34: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-04-17 11:34:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-17 11:34:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:34:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:34:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:34:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:34:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:34:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:34:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46006,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:34:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:34:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:34:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:34:26] local.INFO: DEBUG: GPS processor result {"connection_id":46006,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 11:34:26] local.INFO: GPS data processed {"connection_id":46006,"processed":0,"errors":0,"total":1} 
[2026-04-17 11:34:26] local.INFO: Acknowledgment sent {"connection_id":46006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:34:28] local.INFO: TCP Data received {"connection_id":46573,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:34:28] local.INFO: Processing buffer {"connection_id":46573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:34:28] local.INFO: Packet analysis {"connection_id":46573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:34:28] local.INFO: Extracted packet for processing {"connection_id":46573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:34:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759760640001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776405616000,"timestamp_ms":1776405616000,"timestamp_seconds":1776405616,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a069580"} 
[2026-04-17 11:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:34:28] 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-04-17 11:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46573,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759760640001,"66":25495,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759760640001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:34:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759760640001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":46573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20899,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:34:28] local.INFO: GPS data processed {"connection_id":46573,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:34:28] local.INFO: Acknowledgment sent {"connection_id":46573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:34:51] local.INFO: TCP Data received {"connection_id":46007,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:34:51] local.INFO: Processing buffer {"connection_id":46007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:34:51] local.INFO: IMEI packet received {"connection_id":46007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":46007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:34:56] local.INFO: TCP Data received {"connection_id":45732,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a08fac8012d0ad880070e42e0002b016721..."} 
[2026-04-17 11:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45732,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a08fac8012d0ad880070e42e0002b016721..."} 
[2026-04-17 11:34:56] local.INFO: Processing buffer {"connection_id":45732,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a08fac8012d0ad880070e42e0002b016721..."} 
[2026-04-17 11:34:56] local.INFO: Packet analysis {"connection_id":45732,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a08"} 
[2026-04-17 11:34:56] local.INFO: Extracted packet for processing {"connection_id":45732,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a08"} 
[2026-04-17 11:34:56] local.INFO: GPS Element Parsed {"raw_longitude":755685504,"raw_latitude":118375136,"longitude_deg":75.5685504,"latitude_deg":11.8375136,"altitude":43,"angle":359,"satellites":33,"speed":21,"hex_longitude":"2d0ad880","hex_latitude":"070e42e0","is_valid_coordinates":true} 
[2026-04-17 11:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759873280001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113415015247118336,"note":"Value kept but may cause issues"} 
[2026-04-17 11:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":780952353185433600,"note":"Value kept but may cause issues"} 
[2026-04-17 11:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,25,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776405773000,"timestamp_ms":1776405773000,"timestamp_seconds":1776405773,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a08fac8"} 
[2026-04-17 11:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:34: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-04-17 11:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-17 11:34:56] 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-04-17 11:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45732,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45732,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759873280001,"66":13961,"25":206,"28":31744,"24":21,"16":113415015247118336,"45":780952353185433600},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,25,28,24,16,45]} 
[2026-04-17 11:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759873280001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:34:56] local.INFO: Unknown IO ID detected {"io_id":25,"value":206,"description":"Unknown IO ID 25"} 
[2026-04-17 11:34:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113415015247118336,"km_value":113415015247118.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":780952353185433600,"description":"Unknown IO ID 45"} 
[2026-04-17 11:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759873280001,"power":13961,"unknown_25":206,"unknown_28":31744,"ignition":21,"odometer":null,"unknown_45":780952353185433600}} 
[2026-04-17 11:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":45732,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:34:56] local.INFO: GPS data processed {"connection_id":45732,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:34:56] local.INFO: Acknowledgment sent {"connection_id":45732,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:34:56] local.INFO: TCP Data received {"connection_id":46007,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:34:56] local.INFO: Processing buffer {"connection_id":46007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:34:56] local.INFO: IMEI packet received {"connection_id":46007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":46007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:34:57] local.INFO: TCP Data received {"connection_id":46007,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:34:57] local.INFO: Processing buffer {"connection_id":46007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:34:57] local.INFO: Packet analysis {"connection_id":46007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:34:57] local.INFO: Extracted packet for processing {"connection_id":46007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:34:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759760640001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776405616000,"timestamp_ms":1776405616000,"timestamp_seconds":1776405616,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a069580"} 
[2026-04-17 11:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:34: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-04-17 11:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759760640001,"66":25495,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759760640001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:34:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:34:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759760640001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":46007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20901,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:34:57] local.INFO: GPS data processed {"connection_id":46007,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:34:57] local.INFO: Acknowledgment sent {"connection_id":46007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:35:05] local.INFO: TCP Data received {"connection_id":45809,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:35:05] local.INFO: Processing buffer {"connection_id":45809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:35:05] local.INFO: IMEI packet received {"connection_id":45809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":45809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:35:10] local.INFO: TCP Data received {"connection_id":45809,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45809,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:35:10] local.INFO: Processing buffer {"connection_id":45809,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:35:10] local.INFO: IMEI packet received {"connection_id":45809,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":45809,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:35:11] local.INFO: TCP Data received {"connection_id":45809,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a074548012d2b160006be8f980006008e2f..."} 
[2026-04-17 11:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a074548012d2b160006be8f980006008e2f..."} 
[2026-04-17 11:35:11] local.INFO: Processing buffer {"connection_id":45809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a074548012d2b160006be8f980006008e2f..."} 
[2026-04-17 11:35:11] local.INFO: Packet analysis {"connection_id":45809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a07"} 
[2026-04-17 11:35:11] local.INFO: Extracted packet for processing {"connection_id":45809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a07"} 
[2026-04-17 11:35:11] local.INFO: GPS Element Parsed {"raw_longitude":757798400,"raw_latitude":113151896,"longitude_deg":75.77984,"latitude_deg":11.3151896,"altitude":6,"angle":142,"satellites":47,"speed":45,"hex_longitude":"2d2b1600","hex_latitude":"06be8f98","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:35:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,242,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776405661000,"timestamp_ms":1776405661000,"timestamp_seconds":1776405661,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a074548"} 
[2026-04-17 11:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 11:35:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:35:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28495,"242":206,"2":57088,"24":45,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,242,2,24,16]} 
[2026-04-17 11:35:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:35:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:35:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 11:35:11] local.INFO: Unknown IO ID detected {"io_id":242,"value":206,"description":"Unknown IO ID 242"} 
[2026-04-17 11:35:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:35:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28495,"unknown_242":206,"power_alt":57088,"ignition":45,"odometer":null}} 
[2026-04-17 11:35:12] local.INFO: DEBUG: GPS processor result {"connection_id":45809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20902,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:35:12] local.INFO: GPS data processed {"connection_id":45809,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:35:12] local.INFO: Acknowledgment sent {"connection_id":45809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:35:19] local.INFO: TCP Data received {"connection_id":46574,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:35:19] local.INFO: Processing buffer {"connection_id":46574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:35:19] local.INFO: IMEI packet received {"connection_id":46574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":46574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:35:22] local.INFO: TCP Data received {"connection_id":46574,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:35:22] local.INFO: Processing buffer {"connection_id":46574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:35:22] local.INFO: IMEI packet received {"connection_id":46574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":46574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:35:23] local.INFO: TCP Data received {"connection_id":46574,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46574,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:35:23] local.INFO: Processing buffer {"connection_id":46574,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:35:23] local.INFO: IMEI packet received {"connection_id":46574,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":46574,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:35:28] local.INFO: TCP Data received {"connection_id":46007,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:35:28] local.INFO: Processing buffer {"connection_id":46007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a069580012d7faa4005afd4f00004004e2b..."} 
[2026-04-17 11:35:28] local.INFO: Packet analysis {"connection_id":46007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:35:28] local.INFO: Extracted packet for processing {"connection_id":46007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a06"} 
[2026-04-17 11:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":43,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759760640001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776405616000,"timestamp_ms":1776405616000,"timestamp_seconds":1776405616,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a069580"} 
[2026-04-17 11:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:35:28] 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-04-17 11: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-04-17 11:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759760640001,"66":25495,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759760640001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:35:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759760640001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":46007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20903,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:35:28] local.INFO: GPS data processed {"connection_id":46007,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:35:28] local.INFO: Acknowledgment sent {"connection_id":46007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:35:30] local.INFO: TCP Data received {"connection_id":46574,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0a3f00012d0aee00070f3958002501511e..."} 
[2026-04-17 11:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0a3f00012d0aee00070f3958002501511e..."} 
[2026-04-17 11:35:30] local.INFO: Processing buffer {"connection_id":46574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0a3f00012d0aee00070f3958002501511e..."} 
[2026-04-17 11:35:30] local.INFO: Packet analysis {"connection_id":46574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0a"} 
[2026-04-17 11:35:30] local.INFO: Extracted packet for processing {"connection_id":46574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0a"} 
[2026-04-17 11:35:30] local.INFO: GPS Element Parsed {"raw_longitude":755691008,"raw_latitude":118438232,"longitude_deg":75.5691008,"latitude_deg":11.8438232,"altitude":37,"angle":337,"satellites":30,"speed":41,"hex_longitude":"2d0aee00","hex_latitude":"070f3958","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759896576001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113418266537361408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":791015083619776512,"note":"Value kept but may cause issues"} 
[2026-04-17 11:35:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776405856000,"timestamp_ms":1776405856000,"timestamp_seconds":1776405856,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0a3f00"} 
[2026-04-17 11:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:35:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 11:35:30] 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-04-17 11: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-04-17 11:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759896576001,"66":14428,"26":206,"28":31744,"24":41,"16":113418266537361408,"45":791015083619776512},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,28,24,16,45]} 
[2026-04-17 11:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759896576001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:35:30] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-04-17 11:35:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113418266537361408,"km_value":113418266537361.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":791015083619776512,"description":"Unknown IO ID 45"} 
[2026-04-17 11:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759896576001,"power":14428,"unknown_26":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":791015083619776512}} 
[2026-04-17 11:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":46574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:35:30] local.INFO: GPS data processed {"connection_id":46574,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:35:30] local.INFO: Acknowledgment sent {"connection_id":46574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:35:31] local.INFO: TCP Data received {"connection_id":46574,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0a5670012d0ae680070f53d00022015f21..."} 
[2026-04-17 11:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46574,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0a5670012d0ae680070f53d00022015f21..."} 
[2026-04-17 11:35:31] local.INFO: Processing buffer {"connection_id":46574,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0a5670012d0ae680070f53d00022015f21..."} 
[2026-04-17 11:35:31] local.INFO: Packet analysis {"connection_id":46574,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0a"} 
[2026-04-17 11:35:31] local.INFO: Extracted packet for processing {"connection_id":46574,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0a"} 
[2026-04-17 11:35:31] local.INFO: GPS Element Parsed {"raw_longitude":755689088,"raw_latitude":118445008,"longitude_deg":75.5689088,"latitude_deg":11.8445008,"altitude":34,"angle":351,"satellites":33,"speed":49,"hex_longitude":"2d0ae680","hex_latitude":"070f53d0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759899136001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113418605839777792,"note":"Value kept but may cause issues"} 
[2026-04-17 11:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787567015156602880,"note":"Value kept but may cause issues"} 
[2026-04-17 11:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,26,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776405862000,"timestamp_ms":1776405862000,"timestamp_seconds":1776405862,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0a5670"} 
[2026-04-17 11:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:35: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-04-17 11: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 11:35:31] 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-04-17 11: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-04-17 11:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46574,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46574,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:35:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759899136001,"66":14396,"26":206,"28":31744,"24":49,"16":113418605839777792,"45":787567015156602880},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,26,28,24,16,45]} 
[2026-04-17 11:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759899136001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:35:31] local.INFO: Unknown IO ID detected {"io_id":26,"value":206,"description":"Unknown IO ID 26"} 
[2026-04-17 11:35:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113418605839777792,"km_value":113418605839777.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":787567015156602880,"description":"Unknown IO ID 45"} 
[2026-04-17 11:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759899136001,"power":14396,"unknown_26":206,"unknown_28":31744,"ignition":49,"odometer":null,"unknown_45":787567015156602880}} 
[2026-04-17 11:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":46574,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20905,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:35:31] local.INFO: GPS data processed {"connection_id":46574,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:35:31] local.INFO: Acknowledgment sent {"connection_id":46574,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:35:54] local.INFO: TCP Data received {"connection_id":45809,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0a42e8012d2cf38006bc83600011008b2d..."} 
[2026-04-17 11:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0a42e8012d2cf38006bc83600011008b2d..."} 
[2026-04-17 11:35:54] local.INFO: Processing buffer {"connection_id":45809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0a42e8012d2cf38006bc83600011008b2d..."} 
[2026-04-17 11:35:54] local.INFO: Packet analysis {"connection_id":45809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0a"} 
[2026-04-17 11:35:54] local.INFO: Extracted packet for processing {"connection_id":45809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0a"} 
[2026-04-17 11:35:54] local.INFO: GPS Element Parsed {"raw_longitude":757920640,"raw_latitude":113017696,"longitude_deg":75.792064,"latitude_deg":11.3017696,"altitude":17,"angle":139,"satellites":45,"speed":0,"hex_longitude":"2d2cf380","hex_latitude":"06bc8360","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759894016001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3225210680831102976,"note":"Value kept but may cause issues"} 
[2026-04-17 11:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776405857000,"timestamp_ms":1776405857000,"timestamp_seconds":1776405857,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0a42e8"} 
[2026-04-17 11:35:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:35: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-04-17 11: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":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-17 11:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:35:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":45809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":45809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":45809,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759894016001,"66":28398,"194":206,"2":57088,"24":0,"16":106618783551979520,"45":3225210680831102976},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,2,24,16,45]} 
[2026-04-17 11:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759894016001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:35:54] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-04-17 11:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":3225210680831102976,"description":"Unknown IO ID 45"} 
[2026-04-17 11:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759894016001,"power":28398,"unknown_194":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":3225210680831102976}} 
[2026-04-17 11:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":45809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20906,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:35:54] local.INFO: GPS data processed {"connection_id":45809,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:35:54] local.INFO: Acknowledgment sent {"connection_id":45809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:35:55] local.INFO: TCP Data received {"connection_id":46008,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:35:55] local.INFO: Processing buffer {"connection_id":46008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:35:55] local.INFO: IMEI packet received {"connection_id":46008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":46008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:35:56] local.INFO: TCP Data received {"connection_id":46008,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:35:56] local.INFO: Processing buffer {"connection_id":46008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:35:56] local.INFO: IMEI packet received {"connection_id":46008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":46008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:36:01] local.INFO: TCP Data received {"connection_id":46008,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:36:01] local.INFO: Processing buffer {"connection_id":46008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:36:01] local.INFO: IMEI packet received {"connection_id":46008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:36:01] local.INFO: IMEI acknowledgment sent {"connection_id":46008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:36:01] local.INFO: TCP Data received {"connection_id":46008,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:36:01] local.INFO: Processing buffer {"connection_id":46008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:36:01] local.INFO: Packet analysis {"connection_id":46008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:36:01] local.INFO: Extracted packet for processing {"connection_id":46008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:36:01] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759837696001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776405917000,"timestamp_ms":1776405917000,"timestamp_seconds":1776405917,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0b2d48"} 
[2026-04-17 11:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 11:36: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-04-17 11: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-04-17 11:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:36: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-04-17 11:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759837696001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759837696001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:36:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759837696001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":46008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20907,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:36:01] local.INFO: GPS data processed {"connection_id":46008,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:36:01] local.INFO: Acknowledgment sent {"connection_id":46008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:36:06] local.INFO: TCP Data received {"connection_id":46008,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:36:06] local.INFO: Processing buffer {"connection_id":46008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:36:06] local.INFO: Packet analysis {"connection_id":46008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:36:06] local.INFO: Extracted packet for processing {"connection_id":46008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759837696001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776405917000,"timestamp_ms":1776405917000,"timestamp_seconds":1776405917,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0b2d48"} 
[2026-04-17 11:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 11:36:06] 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-04-17 11: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-04-17 11:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:36:06] 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-04-17 11:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759837696001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759837696001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:36:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759837696001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":46008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:36:06] local.INFO: GPS data processed {"connection_id":46008,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:36:06] local.INFO: Acknowledgment sent {"connection_id":46008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:36:10] local.INFO: TCP Data received {"connection_id":45810,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:36:10] local.INFO: Processing buffer {"connection_id":45810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:36:10] local.INFO: IMEI packet received {"connection_id":45810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":45810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:36:15] local.INFO: TCP Data received {"connection_id":45810,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:36:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:36:15] local.INFO: Processing buffer {"connection_id":45810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:36:15] local.INFO: IMEI packet received {"connection_id":45810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:36:15] local.INFO: IMEI acknowledgment sent {"connection_id":45810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:36:17] local.INFO: TCP Data received {"connection_id":45810,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0b48a00100000000000000000000000000..."} 
[2026-04-17 11:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0b48a00100000000000000000000000000..."} 
[2026-04-17 11:36:17] local.INFO: Processing buffer {"connection_id":45810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0b48a00100000000000000000000000000..."} 
[2026-04-17 11:36:17] local.INFO: Packet analysis {"connection_id":45810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:36:17] local.INFO: Extracted packet for processing {"connection_id":45810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:36: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-04-17 11:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:36:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759899392001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3239073323430404096,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:36:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776405924000,"timestamp_ms":1776405924000,"timestamp_seconds":1776405924,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0b48a0"} 
[2026-04-17 11:36:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:36:17] 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-04-17 11:36:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 11:36:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:36:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:36:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:36:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:36:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:36:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45810,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:36:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45810,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:36:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:36:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:36:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:36:17] local.INFO: DEBUG: GPS processor result {"connection_id":45810,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 11:36:17] local.INFO: GPS data processed {"connection_id":45810,"processed":0,"errors":0,"total":1} 
[2026-04-17 11:36:17] local.INFO: Acknowledgment sent {"connection_id":45810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:36:17] local.INFO: TCP Data received {"connection_id":46575,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:36:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:36:17] local.INFO: Processing buffer {"connection_id":46575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:36:17] local.INFO: IMEI packet received {"connection_id":46575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:36:17] local.INFO: IMEI acknowledgment sent {"connection_id":46575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:36:20] local.INFO: TCP Data received {"connection_id":46575,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46575,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:36:20] local.INFO: Processing buffer {"connection_id":46575,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:36:20] local.INFO: IMEI packet received {"connection_id":46575,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":46575,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:36:21] local.INFO: TCP Data received {"connection_id":46575,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0b3518012d0ae080071052d0001d015521..."} 
[2026-04-17 11:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0b3518012d0ae080071052d0001d015521..."} 
[2026-04-17 11:36:21] local.INFO: Processing buffer {"connection_id":46575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0b3518012d0ae080071052d0001d015521..."} 
[2026-04-17 11:36:21] local.INFO: Packet analysis {"connection_id":46575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:36:21] local.INFO: Extracted packet for processing {"connection_id":46575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:36:21] local.INFO: GPS Element Parsed {"raw_longitude":755687552,"raw_latitude":118510288,"longitude_deg":75.5687552,"latitude_deg":11.8510288,"altitude":29,"angle":341,"satellites":33,"speed":48,"hex_longitude":"2d0ae080","hex_latitude":"071052d0","is_valid_coordinates":true} 
[2026-04-17 11:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:36:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759913216001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113422007453876224,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":787637383916935168,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:36:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776405919000,"timestamp_ms":1776405919000,"timestamp_seconds":1776405919,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0b3518"} 
[2026-04-17 11:36:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:36:21] 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-04-17 11:36:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 11:36:21] 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-04-17 11:36:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:36:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:36:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:36:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:36:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:36:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:36:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:36:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:36:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:36:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759913216001,"66":14048,"247":206,"28":31744,"24":48,"16":113422007453876224,"45":787637383916935168},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,28,24,16,45]} 
[2026-04-17 11:36:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:36:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:36:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759913216001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:36:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:36:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113422007453876224,"km_value":113422007453876.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:36:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":787637383916935168,"description":"Unknown IO ID 45"} 
[2026-04-17 11:36:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759913216001,"power":14048,"internal_battery_voltage":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":787637383916935168}} 
[2026-04-17 11:36:21] local.INFO: DEBUG: GPS processor result {"connection_id":46575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:36:21] local.INFO: GPS data processed {"connection_id":46575,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:36:21] local.INFO: Acknowledgment sent {"connection_id":46575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:36:49] local.INFO: TCP Data received {"connection_id":45810,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0abc00012d2d574006bc0b600011008b2f..."} 
[2026-04-17 11:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0abc00012d2d574006bc0b600011008b2f..."} 
[2026-04-17 11:36:49] local.INFO: Processing buffer {"connection_id":45810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0abc00012d2d574006bc0b600011008b2f..."} 
[2026-04-17 11:36:49] local.INFO: Packet analysis {"connection_id":45810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0a"} 
[2026-04-17 11:36:49] local.INFO: Extracted packet for processing {"connection_id":45810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0a"} 
[2026-04-17 11:36:49] local.INFO: GPS Element Parsed {"raw_longitude":757946176,"raw_latitude":112986976,"longitude_deg":75.7946176,"latitude_deg":11.2986976,"altitude":17,"angle":139,"satellites":47,"speed":46,"hex_longitude":"2d2d5740","hex_latitude":"06bc0b60","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:36:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,192,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:36:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776405888000,"timestamp_ms":1776405888000,"timestamp_seconds":1776405888,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0abc00"} 
[2026-04-17 11:36:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:36: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:36:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-17 11:36:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:36:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:36:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:36:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:36:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45810,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:36:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45810,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:36:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:36:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:36:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:36:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28224,"192":206,"2":57088,"24":46,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16]} 
[2026-04-17 11:36:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:36:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:36:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 11:36:49] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-04-17 11:36:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:36:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28224,"unknown_192":206,"power_alt":57088,"ignition":46,"odometer":null}} 
[2026-04-17 11:36:49] local.INFO: DEBUG: GPS processor result {"connection_id":45810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20910,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:36:49] local.INFO: GPS data processed {"connection_id":45810,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:36:49] local.INFO: Acknowledgment sent {"connection_id":45810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:36:51] local.INFO: TCP Data received {"connection_id":46576,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:36:51] local.INFO: Processing buffer {"connection_id":46576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:36:51] local.INFO: IMEI packet received {"connection_id":46576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":46576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:36:53] local.INFO: TCP Data received {"connection_id":46575,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0b5458012d0ad48007107528001b015020..."} 
[2026-04-17 11:36:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0b5458012d0ad48007107528001b015020..."} 
[2026-04-17 11:36:53] local.INFO: Processing buffer {"connection_id":46575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0b5458012d0ad48007107528001b015020..."} 
[2026-04-17 11:36:53] local.INFO: Packet analysis {"connection_id":46575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:36:53] local.INFO: Extracted packet for processing {"connection_id":46575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:36:53] local.INFO: GPS Element Parsed {"raw_longitude":755684480,"raw_latitude":118519080,"longitude_deg":75.568448,"latitude_deg":11.851908,"altitude":27,"angle":336,"satellites":32,"speed":43,"hex_longitude":"2d0ad480","hex_latitude":"07107528","is_valid_coordinates":true} 
[2026-04-17 11:36: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-04-17 11:36:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759915264001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113422458425442304,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":783767102989455360,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,247,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:36:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776405927000,"timestamp_ms":1776405927000,"timestamp_seconds":1776405927,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0b5458"} 
[2026-04-17 11:36:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:36:53] 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-04-17 11:36: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 11:36:53] 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-04-17 11:36: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-04-17 11:36:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:36:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:36:53] local.INFO: Teltonika packet parsed successfully {"connection_id":46575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:36:53] local.INFO: Passing IMEI to GPS processor {"connection_id":46575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:36:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":46575,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:36:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:36:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:36:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:36:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759915264001,"66":14004,"247":206,"28":31744,"24":43,"16":113422458425442304,"45":783767102989455360},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,247,28,24,16,45]} 
[2026-04-17 11:36:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:36:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:36:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759915264001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:36:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:36:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113422458425442304,"km_value":113422458425442.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:36:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":783767102989455360,"description":"Unknown IO ID 45"} 
[2026-04-17 11:36:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759915264001,"power":14004,"internal_battery_voltage":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":783767102989455360}} 
[2026-04-17 11:36:53] local.INFO: DEBUG: GPS processor result {"connection_id":46575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:36:53] local.INFO: GPS data processed {"connection_id":46575,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:36:53] local.INFO: Acknowledgment sent {"connection_id":46575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:36:56] local.INFO: TCP Data received {"connection_id":46576,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:36:56] local.INFO: Processing buffer {"connection_id":46576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:36:56] local.INFO: IMEI packet received {"connection_id":46576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":46576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:36:57] local.INFO: TCP Data received {"connection_id":46576,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:36:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:36:57] local.INFO: Processing buffer {"connection_id":46576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:36:57] local.INFO: Packet analysis {"connection_id":46576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:36:57] local.INFO: Extracted packet for processing {"connection_id":46576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:36:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:36:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759837696001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:36:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:36:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776405917000,"timestamp_ms":1776405917000,"timestamp_seconds":1776405917,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0b2d48"} 
[2026-04-17 11:36:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:36:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:36:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 11:36:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:36:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:36:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:36:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:36:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:36:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:36:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:36:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:36:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:36:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:36:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759837696001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:36:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:36:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:36:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759837696001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:36:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:36:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:36:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:36:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:36:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759837696001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:36:57] local.INFO: DEBUG: GPS processor result {"connection_id":46576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:36:57] local.INFO: GPS data processed {"connection_id":46576,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:36:57] local.INFO: Acknowledgment sent {"connection_id":46576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:37:11] local.INFO: TCP Data received {"connection_id":45733,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:37:11] local.INFO: Processing buffer {"connection_id":45733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:37:11] local.INFO: IMEI packet received {"connection_id":45733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":45733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:37:13] local.INFO: TCP Data received {"connection_id":45733,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:37:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:37:13] local.INFO: Processing buffer {"connection_id":45733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:37:13] local.INFO: IMEI packet received {"connection_id":45733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:37:13] local.INFO: IMEI acknowledgment sent {"connection_id":45733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:37:18] local.INFO: TCP Data received {"connection_id":45733,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45733,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:37:18] local.INFO: Processing buffer {"connection_id":45733,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:37:18] local.INFO: IMEI packet received {"connection_id":45733,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":45733,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:37:21] local.INFO: TCP Data received {"connection_id":46577,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:37:21] local.INFO: Processing buffer {"connection_id":46577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:37:21] local.INFO: IMEI packet received {"connection_id":46577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":46577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:37:23] local.INFO: TCP Data received {"connection_id":46577,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:37:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:37:23] local.INFO: Processing buffer {"connection_id":46577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:37:23] local.INFO: IMEI packet received {"connection_id":46577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:37:23] local.INFO: IMEI acknowledgment sent {"connection_id":46577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:37:24] local.INFO: TCP Data received {"connection_id":46577,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:37:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:37:24] local.INFO: Processing buffer {"connection_id":46577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:37:24] local.INFO: IMEI packet received {"connection_id":46577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:37:24] local.INFO: IMEI acknowledgment sent {"connection_id":46577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:37:28] local.INFO: TCP Data received {"connection_id":46577,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46577,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:37:28] local.INFO: Processing buffer {"connection_id":46577,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:37:28] local.INFO: IMEI packet received {"connection_id":46577,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":46577,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:37:28] local.INFO: TCP Data received {"connection_id":46576,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:37:28] local.INFO: Processing buffer {"connection_id":46576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:37:28] local.INFO: Packet analysis {"connection_id":46576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:37:28] local.INFO: Extracted packet for processing {"connection_id":46576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:37:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759837696001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776405917000,"timestamp_ms":1776405917000,"timestamp_seconds":1776405917,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0b2d48"} 
[2026-04-17 11:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 11:37:28] 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-04-17 11:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:37: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-04-17 11:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759837696001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759837696001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:37:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:37:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759837696001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":46576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20913,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:37:28] local.INFO: GPS data processed {"connection_id":46576,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:37:28] local.INFO: Acknowledgment sent {"connection_id":46576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:37:29] local.INFO: TCP Data received {"connection_id":46577,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0bfc50012d0a96000710fe600030015820..."} 
[2026-04-17 11:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0bfc50012d0a96000710fe600030015820..."} 
[2026-04-17 11:37:29] local.INFO: Processing buffer {"connection_id":46577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0bfc50012d0a96000710fe600030015820..."} 
[2026-04-17 11:37:29] local.INFO: Packet analysis {"connection_id":46577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:37:29] local.INFO: Extracted packet for processing {"connection_id":46577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:37:29] local.INFO: GPS Element Parsed {"raw_longitude":755668480,"raw_latitude":118554208,"longitude_deg":75.566848,"latitude_deg":11.8554208,"altitude":48,"angle":344,"satellites":32,"speed":48,"hex_longitude":"2d0a9600","hex_latitude":"0710fe60","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759928320001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113424494239940608,"note":"Value kept but may cause issues"} 
[2026-04-17 11:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":762797217235755008,"note":"Value kept but may cause issues"} 
[2026-04-17 11:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,248,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776405970000,"timestamp_ms":1776405970000,"timestamp_seconds":1776405970,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0bfc50"} 
[2026-04-17 11:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:37:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 11:37: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-04-17 11: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-04-17 11:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:37:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759928320001,"66":13993,"248":206,"28":31744,"24":48,"16":113424494239940608,"45":762797217235755008},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,248,28,24,16,45]} 
[2026-04-17 11:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759928320001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:37:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113424494239940608,"km_value":113424494239940.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":762797217235755008,"description":"Unknown IO ID 45"} 
[2026-04-17 11:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759928320001,"power":13993,"tamper_alert":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":762797217235755008}} 
[2026-04-17 11:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":46577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20914,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:37:29] local.INFO: GPS data processed {"connection_id":46577,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:37:29] local.INFO: Acknowledgment sent {"connection_id":46577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:37:48] local.INFO: TCP Data received {"connection_id":45733,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0b0e08012d2d8a0006bbd2a00012008a2c..."} 
[2026-04-17 11:37:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0b0e08012d2d8a0006bbd2a00012008a2c..."} 
[2026-04-17 11:37:48] local.INFO: Processing buffer {"connection_id":45733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0b0e08012d2d8a0006bbd2a00012008a2c..."} 
[2026-04-17 11:37:48] local.INFO: Packet analysis {"connection_id":45733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:37:48] local.INFO: Extracted packet for processing {"connection_id":45733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:37:48] local.INFO: GPS Element Parsed {"raw_longitude":757959168,"raw_latitude":112972448,"longitude_deg":75.7959168,"latitude_deg":11.2972448,"altitude":18,"angle":138,"satellites":44,"speed":0,"hex_longitude":"2d2d8a00","hex_latitude":"06bbd2a0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:37:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759907328001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:37:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:37:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3267150452349427712,"note":"Value kept but may cause issues"} 
[2026-04-17 11:37:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:37:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776405909000,"timestamp_ms":1776405909000,"timestamp_seconds":1776405909,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0b0e08"} 
[2026-04-17 11:37:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:37:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-04-17 11:37:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:37:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:37:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:37:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:37:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:37:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:37:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:37:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:37:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:37:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759907328001,"66":28485,"192":206,"2":57088,"24":0,"16":106618783551979520,"45":3267150452349427712},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,192,2,24,16,45]} 
[2026-04-17 11:37:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:37:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:37:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759907328001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:37:48] local.INFO: Unknown IO ID detected {"io_id":192,"value":206,"description":"Unknown IO ID 192"} 
[2026-04-17 11:37:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:37:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3267150452349427712,"description":"Unknown IO ID 45"} 
[2026-04-17 11:37:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759907328001,"power":28485,"unknown_192":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":3267150452349427712}} 
[2026-04-17 11:37:48] local.INFO: DEBUG: GPS processor result {"connection_id":45733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20915,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:37:48] local.INFO: GPS data processed {"connection_id":45733,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:37:48] local.INFO: Acknowledgment sent {"connection_id":45733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:37:49] local.INFO: TCP Data received {"connection_id":45733,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0b44b8012d2db74006bb91600012009b2e..."} 
[2026-04-17 11:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0b44b8012d2db74006bb91600012009b2e..."} 
[2026-04-17 11:37:49] local.INFO: Processing buffer {"connection_id":45733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0b44b8012d2db74006bb91600012009b2e..."} 
[2026-04-17 11:37:49] local.INFO: Packet analysis {"connection_id":45733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:37:49] local.INFO: Extracted packet for processing {"connection_id":45733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:37:49] local.INFO: GPS Element Parsed {"raw_longitude":757970752,"raw_latitude":112955744,"longitude_deg":75.7970752,"latitude_deg":11.2955744,"altitude":18,"angle":155,"satellites":46,"speed":45,"hex_longitude":"2d2db740","hex_latitude":"06bb9160","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:37:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759912704001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:37:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:37:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3281435307413774336,"note":"Value kept but may cause issues"} 
[2026-04-17 11:37:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:37:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776405923000,"timestamp_ms":1776405923000,"timestamp_seconds":1776405923,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0b44b8"} 
[2026-04-17 11:37:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:37: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-04-17 11: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":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-17 11:37:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:37:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:37:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:37:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:37:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:37:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45733,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:37:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:37:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:37:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:37:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759912704001,"66":28485,"105":206,"2":57088,"24":45,"16":106618783551979520,"45":3281435307413774336},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,45]} 
[2026-04-17 11:37:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:37:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:37:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759912704001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:37:49] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 11:37:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:37:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":3281435307413774336,"description":"Unknown IO ID 45"} 
[2026-04-17 11:37:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759912704001,"power":28485,"unknown_105":206,"power_alt":57088,"ignition":45,"odometer":null,"unknown_45":3281435307413774336}} 
[2026-04-17 11:37:49] local.INFO: DEBUG: GPS processor result {"connection_id":45733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20916,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:37:49] local.INFO: GPS data processed {"connection_id":45733,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:37:49] local.INFO: Acknowledgment sent {"connection_id":45733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:37:51] local.INFO: TCP Data received {"connection_id":46009,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:37:51] local.INFO: Processing buffer {"connection_id":46009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:37:51] local.INFO: IMEI packet received {"connection_id":46009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":46009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:37:56] local.INFO: TCP Data received {"connection_id":46009,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46009,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:37:56] local.INFO: Processing buffer {"connection_id":46009,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:37:56] local.INFO: IMEI packet received {"connection_id":46009,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":46009,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:37:57] local.INFO: TCP Data received {"connection_id":46009,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:37:57] local.INFO: Processing buffer {"connection_id":46009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:37:57] local.INFO: Packet analysis {"connection_id":46009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:37:57] local.INFO: Extracted packet for processing {"connection_id":46009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:37:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759837696001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776405917000,"timestamp_ms":1776405917000,"timestamp_seconds":1776405917,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0b2d48"} 
[2026-04-17 11:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 11:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759837696001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759837696001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:37:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:37:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759837696001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":46009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20917,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:37:57] local.INFO: GPS data processed {"connection_id":46009,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:37:57] local.INFO: Acknowledgment sent {"connection_id":46009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:38:01] local.INFO: TCP Data received {"connection_id":46577,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0ccf40012d0ab180071200000028001620..."} 
[2026-04-17 11:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0ccf40012d0ab180071200000028001620..."} 
[2026-04-17 11:38:01] local.INFO: Processing buffer {"connection_id":46577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0ccf40012d0ab180071200000028001620..."} 
[2026-04-17 11:38:01] local.INFO: Packet analysis {"connection_id":46577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0c"} 
[2026-04-17 11:38:01] local.INFO: Extracted packet for processing {"connection_id":46577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0c"} 
[2026-04-17 11:38:01] local.INFO: GPS Element Parsed {"raw_longitude":755675520,"raw_latitude":118620160,"longitude_deg":75.567552,"latitude_deg":11.862016,"altitude":40,"angle":22,"satellites":32,"speed":47,"hex_longitude":"2d0ab180","hex_latitude":"07120000","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759942144001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113427809954693120,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":770537779112181760,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776406024000,"timestamp_ms":1776406024000,"timestamp_seconds":1776406024,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0ccf40"} 
[2026-04-17 11:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:38:01] 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-04-17 11: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-17 11:38:01] 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-04-17 11: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-04-17 11:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46577,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:38:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759942144001,"66":14157,"249":206,"28":31744,"24":47,"16":113427809954693120,"45":770537779112181760},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,28,24,16,45]} 
[2026-04-17 11:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759942144001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:38:01] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-17 11:38:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113427809954693120,"km_value":113427809954693.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":770537779112181760,"description":"Unknown IO ID 45"} 
[2026-04-17 11:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759942144001,"power":14157,"unknown_249":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":770537779112181760}} 
[2026-04-17 11:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":46577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20918,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:38:01] local.INFO: GPS data processed {"connection_id":46577,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:38:01] local.INFO: Acknowledgment sent {"connection_id":46577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:38:05] local.INFO: TCP Data received {"connection_id":45811,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:38:05] local.INFO: Processing buffer {"connection_id":45811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:38:05] local.INFO: IMEI packet received {"connection_id":45811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:38:05] local.INFO: IMEI acknowledgment sent {"connection_id":45811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:38:10] local.INFO: TCP Data received {"connection_id":45811,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45811,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:38:10] local.INFO: Processing buffer {"connection_id":45811,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:38:10] local.INFO: IMEI packet received {"connection_id":45811,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":45811,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:38:12] local.INFO: TCP Data received {"connection_id":45811,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0b96c0012d2dd38006bb4fe80012009c2d..."} 
[2026-04-17 11:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0b96c0012d2dd38006bb4fe80012009c2d..."} 
[2026-04-17 11:38:12] local.INFO: Processing buffer {"connection_id":45811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0b96c0012d2dd38006bb4fe80012009c2d..."} 
[2026-04-17 11:38:12] local.INFO: Packet analysis {"connection_id":45811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:38:12] local.INFO: Extracted packet for processing {"connection_id":45811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:38:12] local.INFO: GPS Element Parsed {"raw_longitude":757977984,"raw_latitude":112938984,"longitude_deg":75.7977984,"latitude_deg":11.2938984,"altitude":18,"angle":156,"satellites":45,"speed":0,"hex_longitude":"2d2dd380","hex_latitude":"06bb4fe8","is_valid_coordinates":true} 
[2026-04-17 11:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759916288001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3294172050105655296,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776405944000,"timestamp_ms":1776405944000,"timestamp_seconds":1776405944,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0b96c0"} 
[2026-04-17 11:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:38:12] 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-04-17 11:38:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-17 11:38:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:38:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759916288001,"66":28430,"105":206,"2":57088,"24":0,"16":106618783551979520,"45":3294172050105655296},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,45]} 
[2026-04-17 11:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759916288001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:38:12] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 11:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":3294172050105655296,"description":"Unknown IO ID 45"} 
[2026-04-17 11:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759916288001,"power":28430,"unknown_105":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":3294172050105655296}} 
[2026-04-17 11:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":45811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20919,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:38:12] local.INFO: GPS data processed {"connection_id":45811,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:38:12] local.INFO: Acknowledgment sent {"connection_id":45811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:38:17] local.INFO: TCP Data received {"connection_id":45811,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0be8c8012d2df30006bb0df80014009a2e..."} 
[2026-04-17 11:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0be8c8012d2df30006bb0df80014009a2e..."} 
[2026-04-17 11:38:17] local.INFO: Processing buffer {"connection_id":45811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0be8c8012d2df30006bb0df80014009a2e..."} 
[2026-04-17 11:38:17] local.INFO: Packet analysis {"connection_id":45811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:38:17] local.INFO: Extracted packet for processing {"connection_id":45811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:38:17] local.INFO: GPS Element Parsed {"raw_longitude":757986048,"raw_latitude":112922104,"longitude_deg":75.7986048,"latitude_deg":11.2922104,"altitude":20,"angle":154,"satellites":46,"speed":0,"hex_longitude":"2d2df300","hex_latitude":"06bb0df8","is_valid_coordinates":true} 
[2026-04-17 11:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:38:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759921664001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3302123718193440768,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:38:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776405965000,"timestamp_ms":1776405965000,"timestamp_seconds":1776405965,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0be8c8"} 
[2026-04-17 11:38:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:38:17] 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-04-17 11:38:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 11:38:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:38:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:38:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:38:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:38:17] local.INFO: Teltonika packet parsed successfully {"connection_id":45811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:38:17] local.INFO: Passing IMEI to GPS processor {"connection_id":45811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:38:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":45811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:38:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:38:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:38:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:38:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759921664001,"66":28485,"105":206,"2":57088,"24":0,"16":106618783551979520,"45":3302123718193440768},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,45]} 
[2026-04-17 11:38:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:38:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:38:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759921664001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:38:17] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 11:38:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:38:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":3302123718193440768,"description":"Unknown IO ID 45"} 
[2026-04-17 11:38:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759921664001,"power":28485,"unknown_105":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":3302123718193440768}} 
[2026-04-17 11:38:17] local.INFO: DEBUG: GPS processor result {"connection_id":45811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20920,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:38:17] local.INFO: GPS data processed {"connection_id":45811,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:38:17] local.INFO: Acknowledgment sent {"connection_id":45811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:38:17] local.INFO: TCP Data received {"connection_id":45734,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:38:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:38:17] local.INFO: Processing buffer {"connection_id":45734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:38:17] local.INFO: IMEI packet received {"connection_id":45734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:38:17] local.INFO: IMEI acknowledgment sent {"connection_id":45734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:38:22] local.INFO: TCP Data received {"connection_id":45734,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:38:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45734,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:38:22] local.INFO: Processing buffer {"connection_id":45734,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:38:22] local.INFO: IMEI packet received {"connection_id":45734,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:38:22] local.INFO: IMEI acknowledgment sent {"connection_id":45734,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:38:23] local.INFO: TCP Data received {"connection_id":45734,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0cdaf8012d0ab94007120c680027002520..."} 
[2026-04-17 11:38:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0cdaf8012d0ab94007120c680027002520..."} 
[2026-04-17 11:38:23] local.INFO: Processing buffer {"connection_id":45734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0cdaf8012d0ab94007120c680027002520..."} 
[2026-04-17 11:38:23] local.INFO: Packet analysis {"connection_id":45734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0c"} 
[2026-04-17 11:38:23] local.INFO: Extracted packet for processing {"connection_id":45734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0c"} 
[2026-04-17 11:38:23] local.INFO: GPS Element Parsed {"raw_longitude":755677504,"raw_latitude":118623336,"longitude_deg":75.5677504,"latitude_deg":11.8623336,"altitude":39,"angle":37,"satellites":32,"speed":49,"hex_longitude":"2d0ab940","hex_latitude":"07120c68","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:38:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759942144001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113427994638286848,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":770537779112181760,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:38:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776406027000,"timestamp_ms":1776406027000,"timestamp_seconds":1776406027,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0cdaf8"} 
[2026-04-17 11:38:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:38: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-04-17 11: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-17 11:38:23] 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-04-17 11: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-04-17 11:38:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:38:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:38:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:38:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:38:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:38:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:38:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:38:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:38:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759942144001,"66":14407,"249":206,"28":31744,"24":49,"16":113427994638286848,"45":770537779112181760},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,28,24,16,45]} 
[2026-04-17 11:38:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:38:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:38:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759942144001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:38:23] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-17 11:38:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:38:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113427994638286848,"km_value":113427994638286.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:38:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":770537779112181760,"description":"Unknown IO ID 45"} 
[2026-04-17 11:38:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759942144001,"power":14407,"unknown_249":206,"unknown_28":31744,"ignition":49,"odometer":null,"unknown_45":770537779112181760}} 
[2026-04-17 11:38:23] local.INFO: DEBUG: GPS processor result {"connection_id":45734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:38:23] local.INFO: GPS data processed {"connection_id":45734,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:38:23] local.INFO: Acknowledgment sent {"connection_id":45734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:38:28] local.INFO: TCP Data received {"connection_id":46009,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:38:28] local.INFO: Processing buffer {"connection_id":46009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:38:28] local.INFO: Packet analysis {"connection_id":46009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:38:28] local.INFO: Extracted packet for processing {"connection_id":46009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:38:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759837696001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776405917000,"timestamp_ms":1776405917000,"timestamp_seconds":1776405917,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0b2d48"} 
[2026-04-17 11:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 11:38:28] 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-04-17 11:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46009,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759837696001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759837696001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:38:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:38:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759837696001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":46009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:38:28] local.INFO: GPS data processed {"connection_id":46009,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:38:28] local.INFO: Acknowledgment sent {"connection_id":46009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:38:51] local.INFO: TCP Data received {"connection_id":45735,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:38:51] local.INFO: Processing buffer {"connection_id":45735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:38:51] local.INFO: IMEI packet received {"connection_id":45735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":45735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:38:54] local.INFO: TCP Data received {"connection_id":45734,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0cf650012d0ad100071226100025002321..."} 
[2026-04-17 11:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0cf650012d0ad100071226100025002321..."} 
[2026-04-17 11:38:54] local.INFO: Processing buffer {"connection_id":45734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0cf650012d0ad100071226100025002321..."} 
[2026-04-17 11:38:54] local.INFO: Packet analysis {"connection_id":45734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0c"} 
[2026-04-17 11:38:54] local.INFO: Extracted packet for processing {"connection_id":45734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0c"} 
[2026-04-17 11:38:54] local.INFO: GPS Element Parsed {"raw_longitude":755683584,"raw_latitude":118629904,"longitude_deg":75.5683584,"latitude_deg":11.8629904,"altitude":37,"angle":35,"satellites":33,"speed":50,"hex_longitude":"2d0ad100","hex_latitude":"07122610","is_valid_coordinates":true} 
[2026-04-17 11:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759942912001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113428424135016448,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":772719210182502400,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,249,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776406034000,"timestamp_ms":1776406034000,"timestamp_seconds":1776406034,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0cf650"} 
[2026-04-17 11:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:38:54] 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-04-17 11:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 11:38:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":45734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":45734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":45734,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759942912001,"66":14428,"249":206,"28":31744,"24":50,"16":113428424135016448,"45":772719210182502400},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,249,28,24,16,45]} 
[2026-04-17 11:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759942912001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:38:54] local.INFO: Unknown IO ID detected {"io_id":249,"value":206,"description":"Unknown IO ID 249"} 
[2026-04-17 11:38:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113428424135016448,"km_value":113428424135016.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":772719210182502400,"description":"Unknown IO ID 45"} 
[2026-04-17 11:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759942912001,"power":14428,"unknown_249":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":772719210182502400}} 
[2026-04-17 11:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":45734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20923,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:38:54] local.INFO: GPS data processed {"connection_id":45734,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:38:54] local.INFO: Acknowledgment sent {"connection_id":45734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:38:56] local.INFO: TCP Data received {"connection_id":45735,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:38:56] local.INFO: Processing buffer {"connection_id":45735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:38:56] local.INFO: IMEI packet received {"connection_id":45735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":45735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:38:57] local.INFO: TCP Data received {"connection_id":45735,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:38:57] local.INFO: Processing buffer {"connection_id":45735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:38:57] local.INFO: Packet analysis {"connection_id":45735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:38:57] local.INFO: Extracted packet for processing {"connection_id":45735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759837696001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776405917000,"timestamp_ms":1776405917000,"timestamp_seconds":1776405917,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0b2d48"} 
[2026-04-17 11:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 11:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759837696001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759837696001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:38:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759837696001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":45735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:38:57] local.INFO: GPS data processed {"connection_id":45735,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:38:57] local.INFO: Acknowledgment sent {"connection_id":45735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:39:17] local.INFO: TCP Data received {"connection_id":45812,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:39:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:39:17] local.INFO: Processing buffer {"connection_id":45812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:39:17] local.INFO: IMEI packet received {"connection_id":45812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:39:17] local.INFO: IMEI acknowledgment sent {"connection_id":45812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:39:18] local.INFO: TCP Data received {"connection_id":45812,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:39:18] local.INFO: Processing buffer {"connection_id":45812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:39:18] local.INFO: IMEI packet received {"connection_id":45812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":45812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:39:21] local.INFO: TCP Data received {"connection_id":45812,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:39:21] local.INFO: Processing buffer {"connection_id":45812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:39:21] local.INFO: IMEI packet received {"connection_id":45812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":45812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:39:22] local.INFO: TCP Data received {"connection_id":45812,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:39:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:39:22] local.INFO: Processing buffer {"connection_id":45812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:39:22] local.INFO: IMEI packet received {"connection_id":45812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:39:22] local.INFO: IMEI acknowledgment sent {"connection_id":45812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:39:23] local.INFO: TCP Data received {"connection_id":45812,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0e0ba8012d0b66c007131ea0001d001020..."} 
[2026-04-17 11:39:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0e0ba8012d0b66c007131ea0001d001020..."} 
[2026-04-17 11:39:23] local.INFO: Processing buffer {"connection_id":45812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0e0ba8012d0b66c007131ea0001d001020..."} 
[2026-04-17 11:39:23] local.INFO: Packet analysis {"connection_id":45812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0e"} 
[2026-04-17 11:39:23] local.INFO: Extracted packet for processing {"connection_id":45812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0e"} 
[2026-04-17 11:39:23] local.INFO: GPS Element Parsed {"raw_longitude":755721920,"raw_latitude":118693536,"longitude_deg":75.572192,"latitude_deg":11.8693536,"altitude":29,"angle":16,"satellites":32,"speed":45,"hex_longitude":"2d0b66c0","hex_latitude":"07131ea0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:39:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759960064001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113432250950877184,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":818177418936821760,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,228,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:39:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776406105000,"timestamp_ms":1776406105000,"timestamp_seconds":1776406105,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0e0ba8"} 
[2026-04-17 11:39:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:39: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-04-17 11: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":179,"data_length":795,"current_offset":136} 
[2026-04-17 11:39:23] 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-04-17 11: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-04-17 11:39:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:39:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:39:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:39:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:39:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:39:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:39:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:39:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:39:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759960064001,"66":14396,"228":206,"28":31744,"24":45,"16":113432250950877184,"45":818177418936821760},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,228,28,24,16,45]} 
[2026-04-17 11:39:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:39:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:39:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759960064001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:39:23] local.INFO: Unknown IO ID detected {"io_id":228,"value":206,"description":"Unknown IO ID 228"} 
[2026-04-17 11:39:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:39:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113432250950877184,"km_value":113432250950877.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:39:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":818177418936821760,"description":"Unknown IO ID 45"} 
[2026-04-17 11:39:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759960064001,"power":14396,"unknown_228":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":818177418936821760}} 
[2026-04-17 11:39:23] local.INFO: DEBUG: GPS processor result {"connection_id":45812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:39:23] local.INFO: GPS data processed {"connection_id":45812,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:39:23] local.INFO: Acknowledgment sent {"connection_id":45812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:39:25] local.INFO: TCP Data received {"connection_id":45812,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0e2ae8012d0b714007134320001800101f..."} 
[2026-04-17 11:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0e2ae8012d0b714007134320001800101f..."} 
[2026-04-17 11:39:25] local.INFO: Processing buffer {"connection_id":45812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0e2ae8012d0b714007134320001800101f..."} 
[2026-04-17 11:39:25] local.INFO: Packet analysis {"connection_id":45812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0e"} 
[2026-04-17 11:39:25] local.INFO: Extracted packet for processing {"connection_id":45812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0e"} 
[2026-04-17 11:39:25] local.INFO: GPS Element Parsed {"raw_longitude":755724608,"raw_latitude":118702880,"longitude_deg":75.5724608,"latitude_deg":11.870288,"altitude":24,"angle":16,"satellites":31,"speed":50,"hex_longitude":"2d0b7140","hex_latitude":"07134320","is_valid_coordinates":true} 
[2026-04-17 11:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759962880001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113432723397279744,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":821555118659772416,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776406113000,"timestamp_ms":1776406113000,"timestamp_seconds":1776406113,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0e2ae8"} 
[2026-04-17 11:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:39:25] 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-04-17 11:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-17 11:39: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-04-17 11:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":45812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":45812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":45812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759962880001,"66":14461,"227":206,"28":31744,"24":50,"16":113432723397279744,"45":821555118659772416},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,28,24,16,45]} 
[2026-04-17 11:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759962880001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:39:25] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-04-17 11:39:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113432723397279744,"km_value":113432723397279.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":821555118659772416,"description":"Unknown IO ID 45"} 
[2026-04-17 11:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759962880001,"power":14461,"unknown_227":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":821555118659772416}} 
[2026-04-17 11:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":45812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:39:25] local.INFO: GPS data processed {"connection_id":45812,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:39:25] local.INFO: Acknowledgment sent {"connection_id":45812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:39:25] local.INFO: TCP Data received {"connection_id":45811,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0cee800100000000000000000000000000..."} 
[2026-04-17 11:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0cee800100000000000000000000000000..."} 
[2026-04-17 11:39:25] local.INFO: Processing buffer {"connection_id":45811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0cee800100000000000000000000000000..."} 
[2026-04-17 11:39:25] local.INFO: Packet analysis {"connection_id":45811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0c"} 
[2026-04-17 11:39:25] local.INFO: Extracted packet for processing {"connection_id":45811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0c"} 
[2026-04-17 11:39: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-04-17 11:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759927040001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3310990179955505152,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776406032000,"timestamp_ms":1776406032000,"timestamp_seconds":1776406032,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0cee80"} 
[2026-04-17 11:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:39: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-04-17 11:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-17 11:39:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":45811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":45811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":45811,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:39:25] local.INFO: DEBUG: GPS processor result {"connection_id":45811,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 11:39:25] local.INFO: GPS data processed {"connection_id":45811,"processed":0,"errors":0,"total":1} 
[2026-04-17 11:39:25] local.INFO: Acknowledgment sent {"connection_id":45811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:39:28] local.INFO: TCP Data received {"connection_id":45735,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:39:28] local.INFO: Processing buffer {"connection_id":45735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:39:28] local.INFO: Packet analysis {"connection_id":45735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:39:28] local.INFO: Extracted packet for processing {"connection_id":45735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759837696001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776405917000,"timestamp_ms":1776405917000,"timestamp_seconds":1776405917,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0b2d48"} 
[2026-04-17 11:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 11:39:28] 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-04-17 11:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759837696001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759837696001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:39:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759837696001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":45735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:39:28] local.INFO: GPS data processed {"connection_id":45735,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:39:28] local.INFO: Acknowledgment sent {"connection_id":45735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:39:39] local.INFO: TCP Data received {"connection_id":45813,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:39:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45813,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:39:39] local.INFO: Processing buffer {"connection_id":45813,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:39:39] local.INFO: IMEI packet received {"connection_id":45813,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:39:39] local.INFO: IMEI acknowledgment sent {"connection_id":45813,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:39:44] local.INFO: TCP Data received {"connection_id":45813,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:39:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45813,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:39:44] local.INFO: Processing buffer {"connection_id":45813,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:39:44] local.INFO: IMEI packet received {"connection_id":45813,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:39:44] local.INFO: IMEI acknowledgment sent {"connection_id":45813,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:39:45] local.INFO: TCP Data received {"connection_id":45813,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0c5df8012d2e310006ba86600014009b2c..."} 
[2026-04-17 11:39:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0c5df8012d2e310006ba86600014009b2c..."} 
[2026-04-17 11:39:45] local.INFO: Processing buffer {"connection_id":45813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0c5df8012d2e310006ba86600014009b2c..."} 
[2026-04-17 11:39:45] local.INFO: Packet analysis {"connection_id":45813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0c"} 
[2026-04-17 11:39:45] local.INFO: Extracted packet for processing {"connection_id":45813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0c"} 
[2026-04-17 11:39:45] local.INFO: GPS Element Parsed {"raw_longitude":758001920,"raw_latitude":112887392,"longitude_deg":75.800192,"latitude_deg":11.2887392,"altitude":20,"angle":155,"satellites":44,"speed":37,"hex_longitude":"2d2e3100","hex_latitude":"06ba8660","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:39:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,105,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:39:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776405995000,"timestamp_ms":1776405995000,"timestamp_seconds":1776405995,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0c5df8"} 
[2026-04-17 11:39:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:39:45] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:39:45] 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-04-17 11: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-04-17 11:39:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:39:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:39:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:39:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:39:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45813,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:39:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:39:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:39:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:39:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"105":206,"2":57088,"24":37,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16]} 
[2026-04-17 11:39:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:39:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:39:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 11:39:45] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 11:39:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:39:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_105":206,"power_alt":57088,"ignition":37,"odometer":null}} 
[2026-04-17 11:39:46] local.INFO: DEBUG: GPS processor result {"connection_id":45813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20928,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:39:46] local.INFO: GPS data processed {"connection_id":45813,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:39:46] local.INFO: Acknowledgment sent {"connection_id":45813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:39:51] local.INFO: TCP Data received {"connection_id":45736,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:39:51] local.INFO: Processing buffer {"connection_id":45736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:39:51] local.INFO: IMEI packet received {"connection_id":45736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":45736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:39:56] local.INFO: TCP Data received {"connection_id":45812,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0e4640012d0b7b00071365a8001500101f..."} 
[2026-04-17 11:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0e4640012d0b7b00071365a8001500101f..."} 
[2026-04-17 11:39:56] local.INFO: Processing buffer {"connection_id":45812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0e4640012d0b7b00071365a8001500101f..."} 
[2026-04-17 11:39:56] local.INFO: Packet analysis {"connection_id":45812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0e"} 
[2026-04-17 11:39:56] local.INFO: Extracted packet for processing {"connection_id":45812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0e"} 
[2026-04-17 11:39:56] local.INFO: GPS Element Parsed {"raw_longitude":755727104,"raw_latitude":118711720,"longitude_deg":75.5727104,"latitude_deg":11.871172,"altitude":21,"angle":16,"satellites":31,"speed":52,"hex_longitude":"2d0b7b00","hex_latitude":"071365a8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759964928001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113433170073878528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824510605917626368,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776406120000,"timestamp_ms":1776406120000,"timestamp_seconds":1776406120,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0e4640"} 
[2026-04-17 11:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:39: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-04-17 11: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":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 11:39: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-04-17 11: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-04-17 11:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759964928001,"66":14396,"227":206,"28":31744,"24":52,"16":113433170073878528,"45":824510605917626368},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,28,24,16,45]} 
[2026-04-17 11:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759964928001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:39:56] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-04-17 11:39:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113433170073878528,"km_value":113433170073878.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":824510605917626368,"description":"Unknown IO ID 45"} 
[2026-04-17 11:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759964928001,"power":14396,"unknown_227":206,"unknown_28":31744,"ignition":52,"odometer":null,"unknown_45":824510605917626368}} 
[2026-04-17 11:39:56] local.INFO: TCP Data received {"connection_id":45736,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45736,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:39:56] local.INFO: Processing buffer {"connection_id":45736,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:39:56] local.INFO: IMEI packet received {"connection_id":45736,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":45736,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":45812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:39:56] local.INFO: GPS data processed {"connection_id":45812,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:39:56] local.INFO: Acknowledgment sent {"connection_id":45812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:39:57] local.INFO: TCP Data received {"connection_id":45736,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:39:57] local.INFO: Processing buffer {"connection_id":45736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:39:57] local.INFO: Packet analysis {"connection_id":45736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:39:57] local.INFO: Extracted packet for processing {"connection_id":45736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:39:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759837696001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776405917000,"timestamp_ms":1776405917000,"timestamp_seconds":1776405917,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0b2d48"} 
[2026-04-17 11:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 11:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759837696001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759837696001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:39:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:39:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759837696001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":45736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:39:57] local.INFO: GPS data processed {"connection_id":45736,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:39:57] local.INFO: Acknowledgment sent {"connection_id":45736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:40:10] local.INFO: TCP Data received {"connection_id":46010,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:40:10] local.INFO: Processing buffer {"connection_id":46010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:40:10] local.INFO: IMEI packet received {"connection_id":46010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":46010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:40:15] local.INFO: TCP Data received {"connection_id":46010,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:40:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46010,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:40:15] local.INFO: Processing buffer {"connection_id":46010,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:40:15] local.INFO: IMEI packet received {"connection_id":46010,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:40:15] local.INFO: IMEI acknowledgment sent {"connection_id":46010,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:40:16] local.INFO: TCP Data received {"connection_id":46010,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0cb000012d2e4e0006ba4a98001800972b..."} 
[2026-04-17 11:40:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0cb000012d2e4e0006ba4a98001800972b..."} 
[2026-04-17 11:40:16] local.INFO: Processing buffer {"connection_id":46010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0cb000012d2e4e0006ba4a98001800972b..."} 
[2026-04-17 11:40:16] local.INFO: Packet analysis {"connection_id":46010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0c"} 
[2026-04-17 11:40:16] local.INFO: Extracted packet for processing {"connection_id":46010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0c"} 
[2026-04-17 11:40:16] local.INFO: GPS Element Parsed {"raw_longitude":758009344,"raw_latitude":112872088,"longitude_deg":75.8009344,"latitude_deg":11.2872088,"altitude":24,"angle":151,"satellites":43,"speed":0,"hex_longitude":"2d2e4e00","hex_latitude":"06ba4a98","is_valid_coordinates":true} 
[2026-04-17 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-04-17 11:40:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759934720001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:40:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:40:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3328441628502679552,"note":"Value kept but may cause issues"} 
[2026-04-17 11:40:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:40:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776406016000,"timestamp_ms":1776406016000,"timestamp_seconds":1776406016,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0cb000"} 
[2026-04-17 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-04-17 11:40:16] 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-04-17 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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:40:16] 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-04-17 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-04-17 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-04-17 11:40:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:40:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:40:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:40:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:40:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:40:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:40:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:40:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759934720001,"66":28452,"105":206,"2":57088,"24":0,"16":106618783551979520,"45":3328441628502679552},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,2,24,16,45]} 
[2026-04-17 11:40:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:40:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:40:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759934720001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:40:16] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 11:40:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:40:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3328441628502679552,"description":"Unknown IO ID 45"} 
[2026-04-17 11:40:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759934720001,"power":28452,"unknown_105":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":3328441628502679552}} 
[2026-04-17 11:40:16] local.INFO: DEBUG: GPS processor result {"connection_id":46010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20931,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:40:16] local.INFO: GPS data processed {"connection_id":46010,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:40:16] local.INFO: Acknowledgment sent {"connection_id":46010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:40:18] local.INFO: TCP Data received {"connection_id":45737,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:40:18] local.INFO: Processing buffer {"connection_id":45737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:40:18] local.INFO: IMEI packet received {"connection_id":45737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:40:18] local.INFO: IMEI acknowledgment sent {"connection_id":45737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:40:18] local.INFO: TCP Data received {"connection_id":46010,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0d0208012d2e644006ba11d8001c009e27..."} 
[2026-04-17 11:40:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0d0208012d2e644006ba11d8001c009e27..."} 
[2026-04-17 11:40:18] local.INFO: Processing buffer {"connection_id":46010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0d0208012d2e644006ba11d8001c009e27..."} 
[2026-04-17 11:40:18] local.INFO: Packet analysis {"connection_id":46010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0d"} 
[2026-04-17 11:40:18] local.INFO: Extracted packet for processing {"connection_id":46010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0d"} 
[2026-04-17 11:40:18] local.INFO: GPS Element Parsed {"raw_longitude":758015040,"raw_latitude":112857560,"longitude_deg":75.801504,"latitude_deg":11.285756,"altitude":28,"angle":158,"satellites":39,"speed":0,"hex_longitude":"2d2e6440","hex_latitude":"06ba11d8","is_valid_coordinates":true} 
[2026-04-17 11:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:40:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759940096001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:40:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:40:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3336604402823370752,"note":"Value kept but may cause issues"} 
[2026-04-17 11:40:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:40:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776406037000,"timestamp_ms":1776406037000,"timestamp_seconds":1776406037,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0d0208"} 
[2026-04-17 11:40:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:40:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:40:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 11:40:18] 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-04-17 11:40:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:40:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:40:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:40:18] local.INFO: Teltonika packet parsed successfully {"connection_id":46010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:40:18] local.INFO: Passing IMEI to GPS processor {"connection_id":46010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:40:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":46010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:40:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:40:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:40:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:40:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759940096001,"66":28430,"82":206,"28":21760,"24":0,"16":106618783551979520,"45":3336604402823370752},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,28,24,16,45]} 
[2026-04-17 11:40:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:40:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:40:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759940096001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:40:18] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-04-17 11:40:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:40:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:40:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3336604402823370752,"description":"Unknown IO ID 45"} 
[2026-04-17 11:40:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759940096001,"power":28430,"unknown_82":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3336604402823370752}} 
[2026-04-17 11:40:18] local.INFO: DEBUG: GPS processor result {"connection_id":46010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20932,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:40:18] local.INFO: GPS data processed {"connection_id":46010,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:40:18] local.INFO: Acknowledgment sent {"connection_id":46010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:40:20] local.INFO: TCP Data received {"connection_id":45737,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:40:20] local.INFO: Processing buffer {"connection_id":45737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:40:20] local.INFO: IMEI packet received {"connection_id":45737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":45737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:40:22] local.INFO: TCP Data received {"connection_id":45737,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:40:22] local.INFO: Processing buffer {"connection_id":45737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:40:22] local.INFO: IMEI packet received {"connection_id":45737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":45737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:40:23] local.INFO: TCP Data received {"connection_id":45737,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45737,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:40:23] local.INFO: Processing buffer {"connection_id":45737,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:40:23] local.INFO: IMEI packet received {"connection_id":45737,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":45737,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:40:28] local.INFO: TCP Data received {"connection_id":45736,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45736,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:40:28] local.INFO: Processing buffer {"connection_id":45736,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0b2d48012d7faa4005afd4f00004004e2c..."} 
[2026-04-17 11:40:28] local.INFO: Packet analysis {"connection_id":45736,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:40:28] local.INFO: Extracted packet for processing {"connection_id":45736,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0b"} 
[2026-04-17 11:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":44,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759837696001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776405917000,"timestamp_ms":1776405917000,"timestamp_seconds":1776405917,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0b2d48"} 
[2026-04-17 11:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 11:40:28] 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-04-17 11: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-04-17 11:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45736,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45736,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759837696001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759837696001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:40:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759837696001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":45736,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20933,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:40:28] local.INFO: GPS data processed {"connection_id":45736,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:40:28] local.INFO: Acknowledgment sent {"connection_id":45736,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:40:50] local.INFO: TCP Data received {"connection_id":46010,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0d5410012d2e7e8006b9d5b0001a00982b..."} 
[2026-04-17 11:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0d5410012d2e7e8006b9d5b0001a00982b..."} 
[2026-04-17 11:40:50] local.INFO: Processing buffer {"connection_id":46010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0d5410012d2e7e8006b9d5b0001a00982b..."} 
[2026-04-17 11:40:50] local.INFO: Packet analysis {"connection_id":46010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0d"} 
[2026-04-17 11:40:50] local.INFO: Extracted packet for processing {"connection_id":46010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0d"} 
[2026-04-17 11:40:50] local.INFO: GPS Element Parsed {"raw_longitude":758021760,"raw_latitude":112842160,"longitude_deg":75.802176,"latitude_deg":11.284216,"altitude":26,"angle":152,"satellites":43,"speed":0,"hex_longitude":"2d2e7e80","hex_latitude":"06b9d5b0","is_valid_coordinates":true} 
[2026-04-17 11:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:40:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759945472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:40:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:40:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3342867221051463680,"note":"Value kept but may cause issues"} 
[2026-04-17 11:40:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:40:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776406058000,"timestamp_ms":1776406058000,"timestamp_seconds":1776406058,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0d5410"} 
[2026-04-17 11:40:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:40: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-04-17 11:40:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 11:40:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:40:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:40:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:40:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:40:50] local.INFO: Teltonika packet parsed successfully {"connection_id":46010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:40:50] local.INFO: Passing IMEI to GPS processor {"connection_id":46010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:40:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":46010,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:40:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:40:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:40:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:40:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759945472001,"66":28398,"82":206,"28":21760,"24":0,"16":106618783551979520,"45":3342867221051463680},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,28,24,16,45]} 
[2026-04-17 11:40:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:40:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:40:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759945472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:40:50] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-04-17 11:40:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:40:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:40:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3342867221051463680,"description":"Unknown IO ID 45"} 
[2026-04-17 11:40:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759945472001,"power":28398,"unknown_82":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3342867221051463680}} 
[2026-04-17 11:40:50] local.INFO: DEBUG: GPS processor result {"connection_id":46010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20934,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:40:50] local.INFO: GPS data processed {"connection_id":46010,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:40:50] local.INFO: Acknowledgment sent {"connection_id":46010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:40:56] local.INFO: TCP Data received {"connection_id":45738,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:40:56] local.INFO: Processing buffer {"connection_id":45738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:40:56] local.INFO: IMEI packet received {"connection_id":45738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":45738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:40:56] local.INFO: TCP Data received {"connection_id":45738,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:40:56] local.INFO: Processing buffer {"connection_id":45738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:40:56] local.INFO: IMEI packet received {"connection_id":45738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":45738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:41:01] local.INFO: TCP Data received {"connection_id":45738,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45738,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:41:01] local.INFO: Processing buffer {"connection_id":45738,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:41:01] local.INFO: IMEI packet received {"connection_id":45738,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":45738,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:41:02] local.INFO: TCP Data received {"connection_id":45738,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:41:02] local.INFO: Processing buffer {"connection_id":45738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:41:02] local.INFO: Packet analysis {"connection_id":45738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:41:02] local.INFO: Extracted packet for processing {"connection_id":45738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759914752001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776406218000,"timestamp_ms":1776406218000,"timestamp_seconds":1776406218,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0fc510"} 
[2026-04-17 11:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:41: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-04-17 11:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 11:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:41:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759914752001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759914752001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:41:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759914752001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":45738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:41:02] local.INFO: GPS data processed {"connection_id":45738,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:41:02] local.INFO: Acknowledgment sent {"connection_id":45738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:41:05] local.INFO: TCP Data received {"connection_id":46578,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:41:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:41:05] local.INFO: Processing buffer {"connection_id":46578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:41:05] local.INFO: IMEI packet received {"connection_id":46578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:41:05] local.INFO: IMEI acknowledgment sent {"connection_id":46578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:41:06] local.INFO: TCP Data received {"connection_id":45738,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45738,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:41:06] local.INFO: Processing buffer {"connection_id":45738,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:41:06] local.INFO: Packet analysis {"connection_id":45738,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:41:06] local.INFO: Extracted packet for processing {"connection_id":45738,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759914752001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776406218000,"timestamp_ms":1776406218000,"timestamp_seconds":1776406218,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0fc510"} 
[2026-04-17 11:41:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 11:41:06] 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-04-17 11: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-04-17 11:41:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45738,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45738,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759914752001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759914752001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:41:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759914752001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":45738,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:41:06] local.INFO: GPS data processed {"connection_id":45738,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:41:06] local.INFO: Acknowledgment sent {"connection_id":45738,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:41:09] local.INFO: TCP Data received {"connection_id":46578,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46578,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:41:09] local.INFO: Processing buffer {"connection_id":46578,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:41:09] local.INFO: IMEI packet received {"connection_id":46578,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":46578,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:41:11] local.INFO: TCP Data received {"connection_id":46578,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0da618012d2ea40006b99408001600982b..."} 
[2026-04-17 11:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0da618012d2ea40006b99408001600982b..."} 
[2026-04-17 11:41:11] local.INFO: Processing buffer {"connection_id":46578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0da618012d2ea40006b99408001600982b..."} 
[2026-04-17 11:41:11] local.INFO: Packet analysis {"connection_id":46578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0d"} 
[2026-04-17 11:41:11] local.INFO: Extracted packet for processing {"connection_id":46578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0d"} 
[2026-04-17 11:41:11] local.INFO: GPS Element Parsed {"raw_longitude":758031360,"raw_latitude":112825352,"longitude_deg":75.803136,"latitude_deg":11.2825352,"altitude":22,"angle":152,"satellites":43,"speed":0,"hex_longitude":"2d2ea400","hex_latitude":"06b99408","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759950848001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3350255939186176000,"note":"Value kept but may cause issues"} 
[2026-04-17 11:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776406079000,"timestamp_ms":1776406079000,"timestamp_seconds":1776406079,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0da618"} 
[2026-04-17 11:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:41: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-04-17 11: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 11:41:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759950848001,"66":28354,"82":206,"28":21760,"24":0,"16":106618783551979520,"45":3350255939186176000},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,28,24,16,45]} 
[2026-04-17 11:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759950848001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:41:11] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-04-17 11:41:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3350255939186176000,"description":"Unknown IO ID 45"} 
[2026-04-17 11:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759950848001,"power":28354,"unknown_82":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3350255939186176000}} 
[2026-04-17 11:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":46578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20937,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:41:11] local.INFO: GPS data processed {"connection_id":46578,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:41:11] local.INFO: Acknowledgment sent {"connection_id":46578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:41:13] local.INFO: TCP Data received {"connection_id":46578,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0eabd00100000000000000000000000000..."} 
[2026-04-17 11:41:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0eabd00100000000000000000000000000..."} 
[2026-04-17 11:41:13] local.INFO: Processing buffer {"connection_id":46578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0eabd00100000000000000000000000000..."} 
[2026-04-17 11:41:13] local.INFO: Packet analysis {"connection_id":46578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0e"} 
[2026-04-17 11:41:13] local.INFO: Extracted packet for processing {"connection_id":46578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0e"} 
[2026-04-17 11:41:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:41:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759956224001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:41:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:41:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3360811250808522752,"note":"Value kept but may cause issues"} 
[2026-04-17 11:41:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:41:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776406146000,"timestamp_ms":1776406146000,"timestamp_seconds":1776406146,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0eabd0"} 
[2026-04-17 11:41:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:41:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:41:13] 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-04-17 11: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-04-17 11:41:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:41:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:41:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:41:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:41:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:41:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:41:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:41:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:41:13] local.INFO: DEBUG: GPS processor result {"connection_id":46578,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 11:41:13] local.INFO: GPS data processed {"connection_id":46578,"processed":0,"errors":0,"total":1} 
[2026-04-17 11:41:13] local.INFO: Acknowledgment sent {"connection_id":46578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:41:45] local.INFO: TCP Data received {"connection_id":46578,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0e1760012d2ef30006b904e8000b00942d..."} 
[2026-04-17 11:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0e1760012d2ef30006b904e8000b00942d..."} 
[2026-04-17 11:41:45] local.INFO: Processing buffer {"connection_id":46578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0e1760012d2ef30006b904e8000b00942d..."} 
[2026-04-17 11:41:45] local.INFO: Packet analysis {"connection_id":46578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0e"} 
[2026-04-17 11:41:45] local.INFO: Extracted packet for processing {"connection_id":46578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0e"} 
[2026-04-17 11:41:45] local.INFO: GPS Element Parsed {"raw_longitude":758051584,"raw_latitude":112788712,"longitude_deg":75.8051584,"latitude_deg":11.2788712,"altitude":11,"angle":148,"satellites":45,"speed":50,"hex_longitude":"2d2ef300","hex_latitude":"06b904e8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:41:45] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,124,2,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776406108000,"timestamp_ms":1776406108000,"timestamp_seconds":1776406108,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0e1760"} 
[2026-04-17 11:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:41: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-17 11:41:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46578,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:41:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28398,"124":206,"2":57088,"24":50,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,2,24,16]} 
[2026-04-17 11:41:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:41:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:41:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 11:41:45] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-04-17 11:41:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:41:45] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28398,"unknown_124":206,"power_alt":57088,"ignition":50,"odometer":null}} 
[2026-04-17 11:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":46578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20938,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:41:45] local.INFO: GPS data processed {"connection_id":46578,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:41:45] local.INFO: Acknowledgment sent {"connection_id":46578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:41:51] local.INFO: TCP Data received {"connection_id":45814,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:41:51] local.INFO: Processing buffer {"connection_id":45814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:41:51] local.INFO: IMEI packet received {"connection_id":45814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":45814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:41:56] local.INFO: TCP Data received {"connection_id":45814,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:41:56] local.INFO: Processing buffer {"connection_id":45814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:41:56] local.INFO: IMEI packet received {"connection_id":45814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":45814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:41:57] local.INFO: TCP Data received {"connection_id":45814,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:41:57] local.INFO: Processing buffer {"connection_id":45814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:41:57] local.INFO: Packet analysis {"connection_id":45814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:41:57] local.INFO: Extracted packet for processing {"connection_id":45814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:41:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759914752001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776406218000,"timestamp_ms":1776406218000,"timestamp_seconds":1776406218,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0fc510"} 
[2026-04-17 11:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 11:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759914752001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759914752001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:41:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759914752001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":45814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20939,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:41:57] local.INFO: GPS data processed {"connection_id":45814,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:41:57] local.INFO: Acknowledgment sent {"connection_id":45814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:42:05] local.INFO: TCP Data received {"connection_id":45815,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:42:05] local.INFO: Processing buffer {"connection_id":45815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:42:05] local.INFO: IMEI packet received {"connection_id":45815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:42:05] local.INFO: IMEI acknowledgment sent {"connection_id":45815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:42:14] local.INFO: TCP Data received {"connection_id":45815,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:42:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:42:14] local.INFO: Processing buffer {"connection_id":45815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:42:14] local.INFO: IMEI packet received {"connection_id":45815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:42:14] local.INFO: IMEI acknowledgment sent {"connection_id":45815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:42:16] local.INFO: TCP Data received {"connection_id":45815,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0e6968012d2f1e8006b8bd08000b00952d..."} 
[2026-04-17 11:42:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0e6968012d2f1e8006b8bd08000b00952d..."} 
[2026-04-17 11:42:16] local.INFO: Processing buffer {"connection_id":45815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0e6968012d2f1e8006b8bd08000b00952d..."} 
[2026-04-17 11:42:16] local.INFO: Packet analysis {"connection_id":45815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0e"} 
[2026-04-17 11:42:16] local.INFO: Extracted packet for processing {"connection_id":45815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0e"} 
[2026-04-17 11:42:16] local.INFO: GPS Element Parsed {"raw_longitude":758062720,"raw_latitude":112770312,"longitude_deg":75.806272,"latitude_deg":11.2770312,"altitude":11,"angle":149,"satellites":45,"speed":0,"hex_longitude":"2d2f1e80","hex_latitude":"06b8bd08","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:42:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759963648001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:42:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:42:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3383047773959284736,"note":"Value kept but may cause issues"} 
[2026-04-17 11:42:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,124,2,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:42:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776406129000,"timestamp_ms":1776406129000,"timestamp_seconds":1776406129,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0e6968"} 
[2026-04-17 11:42:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:42:16] 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-04-17 11: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 11:42:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:42:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:42:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:42:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:42:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:42:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:42:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:42:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:42:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:42:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759963648001,"66":28485,"124":206,"2":57088,"24":0,"16":106618783551979520,"45":3383047773959284736},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,124,2,24,16,45]} 
[2026-04-17 11:42:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:42:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:42:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759963648001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:42:16] local.INFO: Unknown IO ID detected {"io_id":124,"value":206,"description":"Unknown IO ID 124"} 
[2026-04-17 11:42:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:42:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":3383047773959284736,"description":"Unknown IO ID 45"} 
[2026-04-17 11:42:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759963648001,"power":28485,"unknown_124":206,"power_alt":57088,"ignition":0,"odometer":null,"unknown_45":3383047773959284736}} 
[2026-04-17 11:42:16] local.INFO: DEBUG: GPS processor result {"connection_id":45815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20940,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:42:16] local.INFO: GPS data processed {"connection_id":45815,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:42:16] local.INFO: Acknowledgment sent {"connection_id":45815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:42:28] local.INFO: TCP Data received {"connection_id":45814,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:42:28] local.INFO: Processing buffer {"connection_id":45814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:42:28] local.INFO: Packet analysis {"connection_id":45814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:42:28] local.INFO: Extracted packet for processing {"connection_id":45814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759914752001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776406218000,"timestamp_ms":1776406218000,"timestamp_seconds":1776406218,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0fc510"} 
[2026-04-17 11:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 11:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:42:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759914752001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759914752001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:42:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:42:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759914752001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":45814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20941,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:42:28] local.INFO: GPS data processed {"connection_id":45814,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:42:28] local.INFO: Acknowledgment sent {"connection_id":45814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:42:50] local.INFO: TCP Data received {"connection_id":45815,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0f6f200100000000000000000000000000..."} 
[2026-04-17 11:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0f6f200100000000000000000000000000..."} 
[2026-04-17 11:42:50] local.INFO: Processing buffer {"connection_id":45815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0f6f200100000000000000000000000000..."} 
[2026-04-17 11:42:50] local.INFO: Packet analysis {"connection_id":45815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:42:50] local.INFO: Extracted packet for processing {"connection_id":45815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:42:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 11:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:42:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759969024001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:42:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:42:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3395291935441487872,"note":"Value kept but may cause issues"} 
[2026-04-17 11:42:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:42:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776406196000,"timestamp_ms":1776406196000,"timestamp_seconds":1776406196,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0f6f20"} 
[2026-04-17 11:42:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:42: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-04-17 11:42:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-17 11:42:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:42:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:42:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:42:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:42:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:42:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:42:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45815,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:42:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:42:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:42:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:42:50] local.INFO: DEBUG: GPS processor result {"connection_id":45815,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 11:42:50] local.INFO: GPS data processed {"connection_id":45815,"processed":0,"errors":0,"total":1} 
[2026-04-17 11:42:50] local.INFO: Acknowledgment sent {"connection_id":45815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:42:51] local.INFO: TCP Data received {"connection_id":45741,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:42:51] local.INFO: Processing buffer {"connection_id":45741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:42:51] local.INFO: IMEI packet received {"connection_id":45741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":45741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:42:56] local.INFO: TCP Data received {"connection_id":45741,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:42:56] local.INFO: Processing buffer {"connection_id":45741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:42:56] local.INFO: IMEI packet received {"connection_id":45741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":45741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:42:57] local.INFO: TCP Data received {"connection_id":45741,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:42:57] local.INFO: Processing buffer {"connection_id":45741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:42:57] local.INFO: Packet analysis {"connection_id":45741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:42:57] local.INFO: Extracted packet for processing {"connection_id":45741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:42:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759914752001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776406218000,"timestamp_ms":1776406218000,"timestamp_seconds":1776406218,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0fc510"} 
[2026-04-17 11:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 11:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759914752001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759914752001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:42:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:42:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759914752001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":45741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:42:57] local.INFO: GPS data processed {"connection_id":45741,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:42:57] local.INFO: Acknowledgment sent {"connection_id":45741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:43:04] local.INFO: TCP Data received {"connection_id":46579,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:43:04] local.INFO: Processing buffer {"connection_id":46579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:43:04] local.INFO: IMEI packet received {"connection_id":46579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:43:04] local.INFO: IMEI acknowledgment sent {"connection_id":46579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:43:10] local.INFO: TCP Data received {"connection_id":46579,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46579,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:43:10] local.INFO: Processing buffer {"connection_id":46579,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:43:10] local.INFO: IMEI packet received {"connection_id":46579,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":46579,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:43:11] local.INFO: TCP Data received {"connection_id":46579,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0ede98012d2f6b0006b831a8000b009b2c..."} 
[2026-04-17 11:43:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0ede98012d2f6b0006b831a8000b009b2c..."} 
[2026-04-17 11:43:11] local.INFO: Processing buffer {"connection_id":46579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0ede98012d2f6b0006b831a8000b009b2c..."} 
[2026-04-17 11:43:11] local.INFO: Packet analysis {"connection_id":46579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0e"} 
[2026-04-17 11:43:11] local.INFO: Extracted packet for processing {"connection_id":46579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0e"} 
[2026-04-17 11:43:11] local.INFO: GPS Element Parsed {"raw_longitude":758082304,"raw_latitude":112734632,"longitude_deg":75.8082304,"latitude_deg":11.2734632,"altitude":11,"angle":155,"satellites":44,"speed":41,"hex_longitude":"2d2f6b00","hex_latitude":"06b831a8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:43:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:43:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,172,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:43:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776406159000,"timestamp_ms":1776406159000,"timestamp_seconds":1776406159,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0ede98"} 
[2026-04-17 11:43:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:43:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-17 11:43:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2395,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:43:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:43:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:43:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:43:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:43:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:43:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:43:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:43:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:43:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"172":206,"28":21760,"24":41,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16]} 
[2026-04-17 11:43:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:43:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:43:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 11:43:11] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-04-17 11:43:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:43:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:43:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_172":206,"unknown_28":21760,"ignition":41,"odometer":null}} 
[2026-04-17 11:43:11] local.INFO: DEBUG: GPS processor result {"connection_id":46579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20943,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:43:11] local.INFO: GPS data processed {"connection_id":46579,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:43:11] local.INFO: Acknowledgment sent {"connection_id":46579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:43:28] local.INFO: TCP Data received {"connection_id":45741,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:43:28] local.INFO: Processing buffer {"connection_id":45741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:43:28] local.INFO: Packet analysis {"connection_id":45741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:43:28] local.INFO: Extracted packet for processing {"connection_id":45741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:43:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759914752001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776406218000,"timestamp_ms":1776406218000,"timestamp_seconds":1776406218,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0fc510"} 
[2026-04-17 11:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 11:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759914752001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759914752001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:43:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:43:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759914752001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":45741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:43:28] local.INFO: GPS data processed {"connection_id":45741,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:43:28] local.INFO: Acknowledgment sent {"connection_id":45741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:43:47] local.INFO: TCP Data received {"connection_id":46579,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0f30a0012d2f8b0006b7ecd80009009c2d..."} 
[2026-04-17 11:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46579,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0f30a0012d2f8b0006b7ecd80009009c2d..."} 
[2026-04-17 11:43:47] local.INFO: Processing buffer {"connection_id":46579,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0f30a0012d2f8b0006b7ecd80009009c2d..."} 
[2026-04-17 11:43:47] local.INFO: Packet analysis {"connection_id":46579,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:43:47] local.INFO: Extracted packet for processing {"connection_id":46579,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:43:47] local.INFO: GPS Element Parsed {"raw_longitude":758090496,"raw_latitude":112717016,"longitude_deg":75.8090496,"latitude_deg":11.2717016,"altitude":9,"angle":156,"satellites":45,"speed":0,"hex_longitude":"2d2f8b00","hex_latitude":"06b7ecd8","is_valid_coordinates":true} 
[2026-04-17 11:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:43:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759976704001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:43:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3416824771150718976,"note":"Value kept but may cause issues"} 
[2026-04-17 11:43:47] 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-04-17 11:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776406180000,"timestamp_ms":1776406180000,"timestamp_seconds":1776406180,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0f30a0"} 
[2026-04-17 11:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:43: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-04-17 11:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 11:43:47] 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-04-17 11:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":46579,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":46579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":46579,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759976704001,"66":28245,"172":206,"28":21760,"24":0,"16":106618783551979520,"45":3416824771150718976},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,172,28,24,16,45]} 
[2026-04-17 11:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759976704001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:43:47] local.INFO: Unknown IO ID detected {"io_id":172,"value":206,"description":"Unknown IO ID 172"} 
[2026-04-17 11:43:47] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:43:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":3416824771150718976,"description":"Unknown IO ID 45"} 
[2026-04-17 11:43:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759976704001,"power":28245,"unknown_172":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3416824771150718976}} 
[2026-04-17 11:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":46579,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20945,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:43:47] local.INFO: GPS data processed {"connection_id":46579,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:43:47] local.INFO: Acknowledgment sent {"connection_id":46579,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:43:51] local.INFO: TCP Data received {"connection_id":46011,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:43:51] local.INFO: Processing buffer {"connection_id":46011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:43:51] local.INFO: IMEI packet received {"connection_id":46011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":46011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:43:56] local.INFO: TCP Data received {"connection_id":46011,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:43:56] local.INFO: Processing buffer {"connection_id":46011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:43:56] local.INFO: IMEI packet received {"connection_id":46011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":46011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:43:57] local.INFO: TCP Data received {"connection_id":46011,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:43:57] local.INFO: Processing buffer {"connection_id":46011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:43:57] local.INFO: Packet analysis {"connection_id":46011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:43:57] local.INFO: Extracted packet for processing {"connection_id":46011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:43:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759914752001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776406218000,"timestamp_ms":1776406218000,"timestamp_seconds":1776406218,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0fc510"} 
[2026-04-17 11:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 11:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759914752001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759914752001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:43:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:43:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759914752001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":46011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:43:57] local.INFO: GPS data processed {"connection_id":46011,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:43:57] local.INFO: Acknowledgment sent {"connection_id":46011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:44:14] local.INFO: TCP Data received {"connection_id":45742,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:44:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:44:14] local.INFO: Processing buffer {"connection_id":45742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:44:14] local.INFO: IMEI packet received {"connection_id":45742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:44:14] local.INFO: IMEI acknowledgment sent {"connection_id":45742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:44:18] local.INFO: TCP Data received {"connection_id":45742,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45742,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:44:18] local.INFO: Processing buffer {"connection_id":45742,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:44:18] local.INFO: IMEI packet received {"connection_id":45742,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":45742,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:44:20] local.INFO: TCP Data received {"connection_id":45742,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a11ff60012d315f4006b62090001700952b..."} 
[2026-04-17 11:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a11ff60012d315f4006b62090001700952b..."} 
[2026-04-17 11:44:20] local.INFO: Processing buffer {"connection_id":45742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a11ff60012d315f4006b62090001700952b..."} 
[2026-04-17 11:44:20] local.INFO: Packet analysis {"connection_id":45742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a11"} 
[2026-04-17 11:44:20] local.INFO: Extracted packet for processing {"connection_id":45742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a11"} 
[2026-04-17 11:44:20] local.INFO: GPS Element Parsed {"raw_longitude":758210368,"raw_latitude":112599184,"longitude_deg":75.8210368,"latitude_deg":11.2599184,"altitude":23,"angle":149,"satellites":43,"speed":32,"hex_longitude":"2d315f40","hex_latitude":"06b62090","is_valid_coordinates":true} 
[2026-04-17 11:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760023808001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3547992110266628096,"note":"Value kept but may cause issues"} 
[2026-04-17 11:44:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,146,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776406364000,"timestamp_ms":1776406364000,"timestamp_seconds":1776406364,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a11ff60"} 
[2026-04-17 11:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:44: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-04-17 11:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 11:44:20] 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-04-17 11:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":45742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":45742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":45742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760023808001,"66":28354,"146":206,"28":21760,"24":32,"16":106618783551979520,"45":3547992110266628096},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,146,28,24,16,45]} 
[2026-04-17 11:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760023808001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:44:20] local.INFO: Unknown IO ID detected {"io_id":146,"value":206,"description":"Unknown IO ID 146"} 
[2026-04-17 11:44:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3547992110266628096,"description":"Unknown IO ID 45"} 
[2026-04-17 11:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760023808001,"power":28354,"unknown_146":206,"unknown_28":21760,"ignition":32,"odometer":null,"unknown_45":3547992110266628096}} 
[2026-04-17 11:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":45742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20947,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:44:20] local.INFO: GPS data processed {"connection_id":45742,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:44:20] local.INFO: Acknowledgment sent {"connection_id":45742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:44:20] local.INFO: TCP Data received {"connection_id":45742,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a125168012d31860006b5e2c0001400942f..."} 
[2026-04-17 11:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a125168012d31860006b5e2c0001400942f..."} 
[2026-04-17 11:44:20] local.INFO: Processing buffer {"connection_id":45742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a125168012d31860006b5e2c0001400942f..."} 
[2026-04-17 11:44:20] local.INFO: Packet analysis {"connection_id":45742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a12"} 
[2026-04-17 11:44:20] local.INFO: Extracted packet for processing {"connection_id":45742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a12"} 
[2026-04-17 11:44:20] local.INFO: GPS Element Parsed {"raw_longitude":758220288,"raw_latitude":112583360,"longitude_deg":75.8220288,"latitude_deg":11.258336,"altitude":20,"angle":148,"satellites":47,"speed":0,"hex_longitude":"2d318600","hex_latitude":"06b5e2c0","is_valid_coordinates":true} 
[2026-04-17 11:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:44:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760029184001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:44:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:44:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3557632628215549952,"note":"Value kept but may cause issues"} 
[2026-04-17 11:44:20] 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-04-17 11:44:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776406385000,"timestamp_ms":1776406385000,"timestamp_seconds":1776406385,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a125168"} 
[2026-04-17 11:44:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:44:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:44:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:44:20] 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-04-17 11:44:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:44:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:44:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:44:20] local.INFO: Teltonika packet parsed successfully {"connection_id":45742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:44:20] local.INFO: Passing IMEI to GPS processor {"connection_id":45742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:44:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":45742,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:44:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:44:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:44:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:44:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760029184001,"66":28376,"78":206,"28":21760,"24":0,"16":106618783551979520,"45":3557632628215549952},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,28,24,16,45]} 
[2026-04-17 11:44:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:44:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:44:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760029184001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:44:20] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-04-17 11:44:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:44:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:44:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3557632628215549952,"description":"Unknown IO ID 45"} 
[2026-04-17 11:44:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760029184001,"power":28376,"unknown_78":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3557632628215549952}} 
[2026-04-17 11:44:20] local.INFO: DEBUG: GPS processor result {"connection_id":45742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20948,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:44:20] local.INFO: GPS data processed {"connection_id":45742,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:44:20] local.INFO: Acknowledgment sent {"connection_id":45742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:44:28] local.INFO: TCP Data received {"connection_id":46011,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:44:28] local.INFO: Processing buffer {"connection_id":46011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:44:28] local.INFO: Packet analysis {"connection_id":46011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:44:28] local.INFO: Extracted packet for processing {"connection_id":46011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:44:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759914752001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776406218000,"timestamp_ms":1776406218000,"timestamp_seconds":1776406218,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0fc510"} 
[2026-04-17 11:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:44:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 11:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:44:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759914752001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759914752001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:44:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759914752001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":46011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:44:28] local.INFO: GPS data processed {"connection_id":46011,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:44:28] local.INFO: Acknowledgment sent {"connection_id":46011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:44:56] local.INFO: TCP Data received {"connection_id":46582,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:44:56] local.INFO: Processing buffer {"connection_id":46582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:44:56] local.INFO: IMEI packet received {"connection_id":46582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":46582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:45:01] local.INFO: TCP Data received {"connection_id":46582,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46582,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:45:01] local.INFO: Processing buffer {"connection_id":46582,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:45:01] local.INFO: IMEI packet received {"connection_id":46582,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":46582,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:45:02] local.INFO: TCP Data received {"connection_id":46582,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:45:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:45:02] local.INFO: Processing buffer {"connection_id":46582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:45:02] local.INFO: Packet analysis {"connection_id":46582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:45:02] local.INFO: Extracted packet for processing {"connection_id":46582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:45:02] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:45:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759914752001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:45:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776406218000,"timestamp_ms":1776406218000,"timestamp_seconds":1776406218,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0fc510"} 
[2026-04-17 11:45:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:45: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-04-17 11:45:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 11:45:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:45:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:45:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:45:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:45:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:45:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:45:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:45:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:45:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:45:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:45:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759914752001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:45:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:45:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:45:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759914752001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:45:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:45:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:45:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:45:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:45:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759914752001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:45:02] local.INFO: DEBUG: GPS processor result {"connection_id":46582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20950,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:45:02] local.INFO: GPS data processed {"connection_id":46582,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:45:02] local.INFO: Acknowledgment sent {"connection_id":46582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:45:04] local.INFO: TCP Data received {"connection_id":45743,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:45:04] local.INFO: Processing buffer {"connection_id":45743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:45:04] local.INFO: IMEI packet received {"connection_id":45743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":45743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:45:06] local.INFO: TCP Data received {"connection_id":46582,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46582,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:45:06] local.INFO: Processing buffer {"connection_id":46582,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:45:06] local.INFO: Packet analysis {"connection_id":46582,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:45:06] local.INFO: Extracted packet for processing {"connection_id":46582,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759914752001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776406218000,"timestamp_ms":1776406218000,"timestamp_seconds":1776406218,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0fc510"} 
[2026-04-17 11:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 11:45:06] 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-04-17 11: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-04-17 11:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46582,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46582,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759914752001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759914752001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:45:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759914752001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":46582,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:45:06] local.INFO: GPS data processed {"connection_id":46582,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:45:06] local.INFO: Acknowledgment sent {"connection_id":46582,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:45:10] local.INFO: TCP Data received {"connection_id":45743,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45743,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:45:10] local.INFO: Processing buffer {"connection_id":45743,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:45:10] local.INFO: IMEI packet received {"connection_id":45743,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":45743,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:45:11] local.INFO: TCP Data received {"connection_id":45743,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a12a370012d31aec006b5a150000e00932f..."} 
[2026-04-17 11:45:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a12a370012d31aec006b5a150000e00932f..."} 
[2026-04-17 11:45:11] local.INFO: Processing buffer {"connection_id":45743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a12a370012d31aec006b5a150000e00932f..."} 
[2026-04-17 11:45:11] local.INFO: Packet analysis {"connection_id":45743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a12"} 
[2026-04-17 11:45:11] local.INFO: Extracted packet for processing {"connection_id":45743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a12"} 
[2026-04-17 11:45:11] local.INFO: GPS Element Parsed {"raw_longitude":758230720,"raw_latitude":112566608,"longitude_deg":75.823072,"latitude_deg":11.2566608,"altitude":14,"angle":147,"satellites":47,"speed":0,"hex_longitude":"2d31aec0","hex_latitude":"06b5a150","is_valid_coordinates":true} 
[2026-04-17 11:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:45:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760034560001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3568539783559036928,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:11] 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-04-17 11:45:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776406406000,"timestamp_ms":1776406406000,"timestamp_seconds":1776406406,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a12a370"} 
[2026-04-17 11:45:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:45: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-04-17 11:45:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 11:45:11] 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-04-17 11:45:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:45:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:45:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:45:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:45:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:45:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:45:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:45:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:45:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:45:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760034560001,"66":28354,"78":206,"28":21760,"24":0,"16":106618783551979520,"45":3568539783559036928},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,28,24,16,45]} 
[2026-04-17 11:45:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:45:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:45:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760034560001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:45:11] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-04-17 11:45:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:45:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:45:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3568539783559036928,"description":"Unknown IO ID 45"} 
[2026-04-17 11:45:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760034560001,"power":28354,"unknown_78":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3568539783559036928}} 
[2026-04-17 11:45:11] local.INFO: DEBUG: GPS processor result {"connection_id":45743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20952,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:45:11] local.INFO: GPS data processed {"connection_id":45743,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:45:11] local.INFO: Acknowledgment sent {"connection_id":45743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:45:24] local.INFO: TCP Data received {"connection_id":46012,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:45:24] local.INFO: Processing buffer {"connection_id":46012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:45:24] local.INFO: IMEI packet received {"connection_id":46012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":46012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:45:25] local.INFO: TCP Data received {"connection_id":46012,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a135720012d0cff800717e1980030000220..."} 
[2026-04-17 11:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a135720012d0cff800717e1980030000220..."} 
[2026-04-17 11:45:25] local.INFO: Processing buffer {"connection_id":46012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a135720012d0cff800717e1980030000220..."} 
[2026-04-17 11:45:25] local.INFO: Packet analysis {"connection_id":46012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a13"} 
[2026-04-17 11:45:25] local.INFO: Extracted packet for processing {"connection_id":46012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a13"} 
[2026-04-17 11:45:25] local.INFO: GPS Element Parsed {"raw_longitude":755826560,"raw_latitude":119005592,"longitude_deg":75.582656,"latitude_deg":11.9005592,"altitude":48,"angle":2,"satellites":32,"speed":47,"hex_longitude":"2d0cff80","hex_latitude":"0717e198","is_valid_coordinates":true} 
[2026-04-17 11:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760049664001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113450289813520384,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":936115434258532352,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776406452000,"timestamp_ms":1776406452000,"timestamp_seconds":1776406452,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a135720"} 
[2026-04-17 11:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:45: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-04-17 11:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-17 11:45:25] 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-04-17 11:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760049664001,"66":13863,"64":206,"28":31744,"24":47,"16":113450289813520384,"45":936115434258532352},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,28,24,16,45]} 
[2026-04-17 11:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760049664001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:45:25] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-17 11:45:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113450289813520384,"km_value":113450289813520.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":936115434258532352,"description":"Unknown IO ID 45"} 
[2026-04-17 11:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760049664001,"power":13863,"unknown_64":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":936115434258532352}} 
[2026-04-17 11:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":46012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20953,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:45:25] local.INFO: GPS data processed {"connection_id":46012,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:45:25] local.INFO: Acknowledgment sent {"connection_id":46012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:45:43] local.INFO: TCP Data received {"connection_id":45743,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a12da20012d31db8006b569c8000c00852f..."} 
[2026-04-17 11:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a12da20012d31db8006b569c8000c00852f..."} 
[2026-04-17 11:45:43] local.INFO: Processing buffer {"connection_id":45743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a12da20012d31db8006b569c8000c00852f..."} 
[2026-04-17 11:45:43] local.INFO: Packet analysis {"connection_id":45743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a12"} 
[2026-04-17 11:45:43] local.INFO: Extracted packet for processing {"connection_id":45743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a12"} 
[2026-04-17 11:45:43] local.INFO: GPS Element Parsed {"raw_longitude":758242176,"raw_latitude":112552392,"longitude_deg":75.8242176,"latitude_deg":11.2552392,"altitude":12,"angle":133,"satellites":47,"speed":41,"hex_longitude":"2d31db80","hex_latitude":"06b569c8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760039936001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3580009888855707648,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:43] 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-04-17 11:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776406420000,"timestamp_ms":1776406420000,"timestamp_seconds":1776406420,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a12da20"} 
[2026-04-17 11:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:45:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:45:43] 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-04-17 11: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-04-17 11:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45743,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:45:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760039936001,"66":28354,"78":206,"28":21760,"24":41,"16":106618783551979520,"45":3580009888855707648},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,78,28,24,16,45]} 
[2026-04-17 11:45:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:45:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:45:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760039936001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:45:43] local.INFO: Unknown IO ID detected {"io_id":78,"value":206,"description":"Unknown IO ID 78"} 
[2026-04-17 11:45:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:45:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:45:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":3580009888855707648,"description":"Unknown IO ID 45"} 
[2026-04-17 11:45:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760039936001,"power":28354,"unknown_78":206,"unknown_28":21760,"ignition":41,"odometer":null,"unknown_45":3580009888855707648}} 
[2026-04-17 11:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":45743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20954,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:45:43] local.INFO: GPS data processed {"connection_id":45743,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:45:43] local.INFO: Acknowledgment sent {"connection_id":45743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:45:51] local.INFO: TCP Data received {"connection_id":46583,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:45:51] local.INFO: Processing buffer {"connection_id":46583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:45:51] local.INFO: IMEI packet received {"connection_id":46583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":46583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:45:56] local.INFO: TCP Data received {"connection_id":46583,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:45:56] local.INFO: Processing buffer {"connection_id":46583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:45:56] local.INFO: IMEI packet received {"connection_id":46583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":46583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:45:57] local.INFO: TCP Data received {"connection_id":46583,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:45:57] local.INFO: Processing buffer {"connection_id":46583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a0fc510012d7faa4005afd4f00004004e2a..."} 
[2026-04-17 11:45:57] local.INFO: Packet analysis {"connection_id":46583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:45:57] local.INFO: Extracted packet for processing {"connection_id":46583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a0f"} 
[2026-04-17 11:45:57] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":42,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759914752001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776406218000,"timestamp_ms":1776406218000,"timestamp_seconds":1776406218,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a0fc510"} 
[2026-04-17 11:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 11:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759914752001,"66":25473,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759914752001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:45:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:45:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759914752001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":46583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:45:57] local.INFO: GPS data processed {"connection_id":46583,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:45:57] local.INFO: Acknowledgment sent {"connection_id":46583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:45:57] local.INFO: TCP Data received {"connection_id":46012,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a136e90012d0cff000717fec8002e01601f..."} 
[2026-04-17 11:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a136e90012d0cff000717fec8002e01601f..."} 
[2026-04-17 11:45:57] local.INFO: Processing buffer {"connection_id":46012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a136e90012d0cff000717fec8002e01601f..."} 
[2026-04-17 11:45:57] local.INFO: Packet analysis {"connection_id":46012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a13"} 
[2026-04-17 11:45:57] local.INFO: Extracted packet for processing {"connection_id":46012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a13"} 
[2026-04-17 11:45:57] local.INFO: GPS Element Parsed {"raw_longitude":755826432,"raw_latitude":119013064,"longitude_deg":75.5826432,"latitude_deg":11.9013064,"altitude":46,"angle":352,"satellites":31,"speed":50,"hex_longitude":"2d0cff00","hex_latitude":"0717fec8","is_valid_coordinates":true} 
[2026-04-17 11:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760051712001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113450654885740544,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":936608015470139392,"note":"Value kept but may cause issues"} 
[2026-04-17 11:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776406458000,"timestamp_ms":1776406458000,"timestamp_seconds":1776406458,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a136e90"} 
[2026-04-17 11:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-17 11:45:57] 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-04-17 11:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760051712001,"66":14428,"64":206,"28":31744,"24":50,"16":113450654885740544,"45":936608015470139392},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,28,24,16,45]} 
[2026-04-17 11:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760051712001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:45:57] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-17 11:45:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113450654885740544,"km_value":113450654885740.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":936608015470139392,"description":"Unknown IO ID 45"} 
[2026-04-17 11:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760051712001,"power":14428,"unknown_64":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":936608015470139392}} 
[2026-04-17 11:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":46012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20956,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:45:57] local.INFO: GPS data processed {"connection_id":46012,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:45:57] local.INFO: Acknowledgment sent {"connection_id":46012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:46:06] local.INFO: TCP Data received {"connection_id":45816,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:46:06] local.INFO: Processing buffer {"connection_id":45816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:46:06] local.INFO: IMEI packet received {"connection_id":45816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:46:06] local.INFO: IMEI acknowledgment sent {"connection_id":45816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:46:10] local.INFO: TCP Data received {"connection_id":45816,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:46:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:46:10] local.INFO: Processing buffer {"connection_id":45816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:46:10] local.INFO: IMEI packet received {"connection_id":45816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:46:10] local.INFO: IMEI acknowledgment sent {"connection_id":45816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:46:15] local.INFO: TCP Data received {"connection_id":45816,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:46:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45816,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:46:15] local.INFO: Processing buffer {"connection_id":45816,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:46:15] local.INFO: IMEI packet received {"connection_id":45816,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:46:15] local.INFO: IMEI acknowledgment sent {"connection_id":45816,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:46:17] local.INFO: TCP Data received {"connection_id":45744,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:46:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:46:17] local.INFO: Processing buffer {"connection_id":45744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:46:17] local.INFO: IMEI packet received {"connection_id":45744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:46:17] local.INFO: IMEI acknowledgment sent {"connection_id":45744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:46:18] local.INFO: TCP Data received {"connection_id":45816,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a132c28012d32180006b53620000a007e2e..."} 
[2026-04-17 11:46:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a132c28012d32180006b53620000a007e2e..."} 
[2026-04-17 11:46:18] local.INFO: Processing buffer {"connection_id":45816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a132c28012d32180006b53620000a007e2e..."} 
[2026-04-17 11:46:18] local.INFO: Packet analysis {"connection_id":45816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a13"} 
[2026-04-17 11:46:18] local.INFO: Extracted packet for processing {"connection_id":45816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a13"} 
[2026-04-17 11:46:18] local.INFO: GPS Element Parsed {"raw_longitude":758257664,"raw_latitude":112539168,"longitude_deg":75.8257664,"latitude_deg":11.2539168,"altitude":10,"angle":126,"satellites":46,"speed":0,"hex_longitude":"2d321800","hex_latitude":"06b53620","is_valid_coordinates":true} 
[2026-04-17 11:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:46:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760043520001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:46:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:46:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3592605894059870208,"note":"Value kept but may cause issues"} 
[2026-04-17 11:46:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:46:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776406441000,"timestamp_ms":1776406441000,"timestamp_seconds":1776406441,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a132c28"} 
[2026-04-17 11:46:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:46:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:46:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:46:18] 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-04-17 11:46:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:46:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:46:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:46:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:46:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:46:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:46:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:46:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:46:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:46:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760043520001,"66":28430,"212":206,"28":21760,"24":0,"16":106618783551979520,"45":3592605894059870208},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,28,24,16,45]} 
[2026-04-17 11:46:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:46:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:46:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760043520001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:46:18] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-04-17 11:46:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:46:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:46:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":3592605894059870208,"description":"Unknown IO ID 45"} 
[2026-04-17 11:46:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760043520001,"power":28430,"unknown_212":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3592605894059870208}} 
[2026-04-17 11:46:18] local.INFO: DEBUG: GPS processor result {"connection_id":45816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20957,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:46:18] local.INFO: GPS data processed {"connection_id":45816,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:46:18] local.INFO: Acknowledgment sent {"connection_id":45816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:46:20] local.INFO: TCP Data received {"connection_id":45816,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a137e30012d325ec006b50b10000d00732e..."} 
[2026-04-17 11:46:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a137e30012d325ec006b50b10000d00732e..."} 
[2026-04-17 11:46:20] local.INFO: Processing buffer {"connection_id":45816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a137e30012d325ec006b50b10000d00732e..."} 
[2026-04-17 11:46:20] local.INFO: Packet analysis {"connection_id":45816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a13"} 
[2026-04-17 11:46:20] local.INFO: Extracted packet for processing {"connection_id":45816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a13"} 
[2026-04-17 11:46:20] local.INFO: GPS Element Parsed {"raw_longitude":758275776,"raw_latitude":112528144,"longitude_deg":75.8275776,"latitude_deg":11.2528144,"altitude":13,"angle":115,"satellites":46,"speed":0,"hex_longitude":"2d325ec0","hex_latitude":"06b50b10","is_valid_coordinates":true} 
[2026-04-17 11:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:46:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760048896001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:46:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:46:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3609635130147479552,"note":"Value kept but may cause issues"} 
[2026-04-17 11:46:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:46:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776406462000,"timestamp_ms":1776406462000,"timestamp_seconds":1776406462,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a137e30"} 
[2026-04-17 11:46:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:46: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-04-17 11:46:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 11:46:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:46:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:46:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:46:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:46:20] local.INFO: Teltonika packet parsed successfully {"connection_id":45816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:46:20] local.INFO: Passing IMEI to GPS processor {"connection_id":45816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:46:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":45816,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:46:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:46:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:46:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:46:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760048896001,"66":28452,"212":206,"28":21760,"24":0,"16":106618783551979520,"45":3609635130147479552},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,28,24,16,45]} 
[2026-04-17 11:46:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:46:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:46:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760048896001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:46:20] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-04-17 11:46:20] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:46:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:46:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":3609635130147479552,"description":"Unknown IO ID 45"} 
[2026-04-17 11:46:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760048896001,"power":28452,"unknown_212":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3609635130147479552}} 
[2026-04-17 11:46:20] local.INFO: DEBUG: GPS processor result {"connection_id":45816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20958,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:46:20] local.INFO: GPS data processed {"connection_id":45816,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:46:20] local.INFO: Acknowledgment sent {"connection_id":45816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:46:23] local.INFO: TCP Data received {"connection_id":45744,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:46:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45744,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:46:23] local.INFO: Processing buffer {"connection_id":45744,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:46:23] local.INFO: IMEI packet received {"connection_id":45744,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:46:23] local.INFO: IMEI acknowledgment sent {"connection_id":45744,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:46:24] local.INFO: TCP Data received {"connection_id":45744,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a138dd0012d0cf70007182348002c015a20..."} 
[2026-04-17 11:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a138dd0012d0cf70007182348002c015a20..."} 
[2026-04-17 11:46:24] local.INFO: Processing buffer {"connection_id":45744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a138dd0012d0cf70007182348002c015a20..."} 
[2026-04-17 11:46:24] local.INFO: Packet analysis {"connection_id":45744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a13"} 
[2026-04-17 11:46:24] local.INFO: Extracted packet for processing {"connection_id":45744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a13"} 
[2026-04-17 11:46:24] local.INFO: GPS Element Parsed {"raw_longitude":755824384,"raw_latitude":119022408,"longitude_deg":75.5824384,"latitude_deg":11.9022408,"altitude":44,"angle":346,"satellites":32,"speed":45,"hex_longitude":"2d0cf700","hex_latitude":"07182348","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:46:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760053248001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:46:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113451118742208512,"note":"Value kept but may cause issues"} 
[2026-04-17 11:46:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":936467277983696896,"note":"Value kept but may cause issues"} 
[2026-04-17 11:46:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:46:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776406466000,"timestamp_ms":1776406466000,"timestamp_seconds":1776406466,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a138dd0"} 
[2026-04-17 11:46:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:46:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 11:46:24] 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-04-17 11: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-04-17 11:46:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:46:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:46:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:46:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:46:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:46:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:46:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:46:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:46:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760053248001,"66":13928,"64":206,"28":31744,"24":45,"16":113451118742208512,"45":936467277983696896},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,28,24,16,45]} 
[2026-04-17 11:46:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:46:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:46:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760053248001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:46:24] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-17 11:46:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:46:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113451118742208512,"km_value":113451118742208.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:46:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":936467277983696896,"description":"Unknown IO ID 45"} 
[2026-04-17 11:46:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760053248001,"power":13928,"unknown_64":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":936467277983696896}} 
[2026-04-17 11:46:24] local.INFO: DEBUG: GPS processor result {"connection_id":45744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20959,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:46:24] local.INFO: GPS data processed {"connection_id":45744,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:46:24] local.INFO: Acknowledgment sent {"connection_id":45744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:46:28] local.INFO: TCP Data received {"connection_id":46583,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a12bae0012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a12bae0012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:46:28] local.INFO: Processing buffer {"connection_id":46583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a12bae0012d7faa4005afd4f00004004e28..."} 
[2026-04-17 11:46:28] local.INFO: Packet analysis {"connection_id":46583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a12"} 
[2026-04-17 11:46:28] local.INFO: Extracted packet for processing {"connection_id":46583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a12"} 
[2026-04-17 11:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95409392,"longitude_deg":76.3341376,"latitude_deg":9.5409392,"altitude":4,"angle":78,"satellites":40,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd4f0","is_valid_coordinates":true} 
[2026-04-17 11:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454759991808001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776406412000,"timestamp_ms":1776406412000,"timestamp_seconds":1776406412,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a12bae0"} 
[2026-04-17 11:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 11:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454759991808001,"66":25462,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454759991808001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:46:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454759991808001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":46583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:46:28] local.INFO: GPS data processed {"connection_id":46583,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:46:28] local.INFO: Acknowledgment sent {"connection_id":46583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:46:51] local.INFO: TCP Data received {"connection_id":45817,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:46:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:46:51] local.INFO: Processing buffer {"connection_id":45817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:46:51] local.INFO: IMEI packet received {"connection_id":45817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:46:51] local.INFO: IMEI acknowledgment sent {"connection_id":45817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:46:56] local.INFO: TCP Data received {"connection_id":45817,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:46:56] local.INFO: Processing buffer {"connection_id":45817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:46:56] local.INFO: IMEI packet received {"connection_id":45817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":45817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:46:56] local.INFO: TCP Data received {"connection_id":45744,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a14f148012d0bf6800718cf70002b01531d..."} 
[2026-04-17 11:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45744,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a14f148012d0bf6800718cf70002b01531d..."} 
[2026-04-17 11:46:56] local.INFO: Processing buffer {"connection_id":45744,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a14f148012d0bf6800718cf70002b01531d..."} 
[2026-04-17 11:46:56] local.INFO: Packet analysis {"connection_id":45744,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a14"} 
[2026-04-17 11:46:56] local.INFO: Extracted packet for processing {"connection_id":45744,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a14"} 
[2026-04-17 11:46:56] local.INFO: GPS Element Parsed {"raw_longitude":755758720,"raw_latitude":119066480,"longitude_deg":75.575872,"latitude_deg":11.906648,"altitude":43,"angle":339,"satellites":29,"speed":41,"hex_longitude":"2d0bf680","hex_latitude":"0718cf70","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760078080001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113455108766826496,"note":"Value kept but may cause issues"} 
[2026-04-17 11:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862931940331237376,"note":"Value kept but may cause issues"} 
[2026-04-17 11:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776406557000,"timestamp_ms":1776406557000,"timestamp_seconds":1776406557,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a14f148"} 
[2026-04-17 11:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-17 11:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45744,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45744,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760078080001,"66":14374,"35":206,"28":31744,"24":41,"16":113455108766826496,"45":862931940331237376},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,45]} 
[2026-04-17 11:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760078080001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:46:56] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-17 11:46:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113455108766826496,"km_value":113455108766826.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":862931940331237376,"description":"Unknown IO ID 45"} 
[2026-04-17 11:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760078080001,"power":14374,"unknown_35":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":862931940331237376}} 
[2026-04-17 11:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":45744,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:46:56] local.INFO: GPS data processed {"connection_id":45744,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:46:56] local.INFO: Acknowledgment sent {"connection_id":45744,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:46:57] local.INFO: TCP Data received {"connection_id":45817,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:46:57] local.INFO: Processing buffer {"connection_id":45817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:46:57] local.INFO: Packet analysis {"connection_id":45817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:46:57] local.INFO: Extracted packet for processing {"connection_id":45817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:46:57] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95408888,"longitude_deg":76.334112,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760041472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776406607000,"timestamp_ms":1776406607000,"timestamp_seconds":1776406607,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a15b498"} 
[2026-04-17 11:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760041472001,"66":25462,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760041472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:46:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760041472001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":45817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:46:57] local.INFO: GPS data processed {"connection_id":45817,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:46:57] local.INFO: Acknowledgment sent {"connection_id":45817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:47:17] local.INFO: TCP Data received {"connection_id":45745,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:47:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:47:17] local.INFO: Processing buffer {"connection_id":45745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:47:17] local.INFO: IMEI packet received {"connection_id":45745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:47:17] local.INFO: IMEI acknowledgment sent {"connection_id":45745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:47:22] local.INFO: TCP Data received {"connection_id":45745,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:47:22] local.INFO: Processing buffer {"connection_id":45745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:47:22] local.INFO: IMEI packet received {"connection_id":45745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":45745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:47:28] local.INFO: TCP Data received {"connection_id":45817,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:47:28] local.INFO: Processing buffer {"connection_id":45817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:47:28] local.INFO: Packet analysis {"connection_id":45817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:47:28] local.INFO: Extracted packet for processing {"connection_id":45817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:47:28] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95408888,"longitude_deg":76.334112,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760041472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776406607000,"timestamp_ms":1776406607000,"timestamp_seconds":1776406607,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a15b498"} 
[2026-04-17 11:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760041472001,"66":25462,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760041472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:47:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:47:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760041472001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":45817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:47:28] local.INFO: GPS data processed {"connection_id":45817,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:47:28] local.INFO: Acknowledgment sent {"connection_id":45817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:47:42] local.INFO: TCP Data received {"connection_id":45745,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a151088012d0bee400718f4900029015e20..."} 
[2026-04-17 11:47:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a151088012d0bee400718f4900029015e20..."} 
[2026-04-17 11:47:42] local.INFO: Processing buffer {"connection_id":45745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a151088012d0bee400718f4900029015e20..."} 
[2026-04-17 11:47:42] local.INFO: Packet analysis {"connection_id":45745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:47:42] local.INFO: Extracted packet for processing {"connection_id":45745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:47:42] local.INFO: GPS Element Parsed {"raw_longitude":755756608,"raw_latitude":119075984,"longitude_deg":75.5756608,"latitude_deg":11.9075984,"altitude":41,"angle":350,"satellites":32,"speed":50,"hex_longitude":"2d0bee40","hex_latitude":"0718f490","is_valid_coordinates":true} 
[2026-04-17 11:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:47:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760078592001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:47:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113455581213229056,"note":"Value kept but may cause issues"} 
[2026-04-17 11:47:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":862017146657402880,"note":"Value kept but may cause issues"} 
[2026-04-17 11:47:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:47:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776406565000,"timestamp_ms":1776406565000,"timestamp_seconds":1776406565,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a151088"} 
[2026-04-17 11:47:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:47:42] 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-04-17 11:47:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 11:47:42] 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-04-17 11:47:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:47:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:47:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:47:42] local.INFO: Teltonika packet parsed successfully {"connection_id":45745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:47:42] local.INFO: Passing IMEI to GPS processor {"connection_id":45745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:47:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":45745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:47:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:47:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:47:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:47:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760078592001,"66":14048,"35":206,"28":31744,"24":50,"16":113455581213229056,"45":862017146657402880},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,28,24,16,45]} 
[2026-04-17 11:47:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:47:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:47:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760078592001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:47:42] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-17 11:47:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:47:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113455581213229056,"km_value":113455581213229.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:47:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":862017146657402880,"description":"Unknown IO ID 45"} 
[2026-04-17 11:47:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760078592001,"power":14048,"unknown_35":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":862017146657402880}} 
[2026-04-17 11:47:42] local.INFO: DEBUG: GPS processor result {"connection_id":45745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:47:42] local.INFO: GPS data processed {"connection_id":45745,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:47:42] local.INFO: Acknowledgment sent {"connection_id":45745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:47:44] local.INFO: TCP Data received {"connection_id":46013,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:47:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:47:44] local.INFO: Processing buffer {"connection_id":46013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:47:44] local.INFO: IMEI packet received {"connection_id":46013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:47:44] local.INFO: IMEI acknowledgment sent {"connection_id":46013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:47:56] local.INFO: TCP Data received {"connection_id":46584,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:47:56] local.INFO: Processing buffer {"connection_id":46584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:47:56] local.INFO: IMEI packet received {"connection_id":46584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":46584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:48:02] local.INFO: TCP Data received {"connection_id":46584,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:48:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:48:02] local.INFO: Processing buffer {"connection_id":46584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:48:02] local.INFO: IMEI packet received {"connection_id":46584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:48:02] local.INFO: IMEI acknowledgment sent {"connection_id":46584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:48:03] local.INFO: TCP Data received {"connection_id":46584,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:48:03] local.INFO: Processing buffer {"connection_id":46584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:48:03] local.INFO: Packet analysis {"connection_id":46584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:48:03] local.INFO: Extracted packet for processing {"connection_id":46584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95408888,"longitude_deg":76.334112,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760041472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776406607000,"timestamp_ms":1776406607000,"timestamp_seconds":1776406607,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a15b498"} 
[2026-04-17 11:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760041472001,"66":25462,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760041472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:48:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:48:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760041472001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":46584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:48:03] local.INFO: GPS data processed {"connection_id":46584,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:48:03] local.INFO: Acknowledgment sent {"connection_id":46584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:48:06] local.INFO: TCP Data received {"connection_id":46584,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:48:06] local.INFO: Processing buffer {"connection_id":46584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:48:06] local.INFO: Packet analysis {"connection_id":46584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:48:06] local.INFO: Extracted packet for processing {"connection_id":46584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95408888,"longitude_deg":76.334112,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760041472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776406607000,"timestamp_ms":1776406607000,"timestamp_seconds":1776406607,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a15b498"} 
[2026-04-17 11:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760041472001,"66":25462,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760041472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:48:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:48:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760041472001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":46584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:48:06] local.INFO: GPS data processed {"connection_id":46584,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:48:06] local.INFO: Acknowledgment sent {"connection_id":46584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:48:09] local.INFO: TCP Data received {"connection_id":45818,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:48:09] local.INFO: Processing buffer {"connection_id":45818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:48:09] local.INFO: IMEI packet received {"connection_id":45818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":45818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:48:14] local.INFO: TCP Data received {"connection_id":45818,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:48:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45818,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:48:14] local.INFO: Processing buffer {"connection_id":45818,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:48:14] local.INFO: IMEI packet received {"connection_id":45818,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:48:14] local.INFO: IMEI acknowledgment sent {"connection_id":45818,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:48:17] local.INFO: TCP Data received {"connection_id":46585,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:48:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:48:17] local.INFO: Processing buffer {"connection_id":46585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:48:17] local.INFO: IMEI packet received {"connection_id":46585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:48:17] local.INFO: IMEI acknowledgment sent {"connection_id":46585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:48:18] local.INFO: TCP Data received {"connection_id":46585,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:48:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:48:18] local.INFO: Processing buffer {"connection_id":46585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:48:18] local.INFO: IMEI packet received {"connection_id":46585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:48:18] local.INFO: IMEI acknowledgment sent {"connection_id":46585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:48:20] local.INFO: TCP Data received {"connection_id":46585,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:48:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:48:20] local.INFO: Processing buffer {"connection_id":46585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:48:20] local.INFO: IMEI packet received {"connection_id":46585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:48:20] local.INFO: IMEI acknowledgment sent {"connection_id":46585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:48:22] local.INFO: TCP Data received {"connection_id":46585,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:48:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46585,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:48:22] local.INFO: Processing buffer {"connection_id":46585,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:48:22] local.INFO: IMEI packet received {"connection_id":46585,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:48:22] local.INFO: IMEI acknowledgment sent {"connection_id":46585,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:48:23] local.INFO: TCP Data received {"connection_id":46585,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a160a88012d0b6f400719d5000038014c1f..."} 
[2026-04-17 11:48:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a160a88012d0b6f400719d5000038014c1f..."} 
[2026-04-17 11:48:23] local.INFO: Processing buffer {"connection_id":46585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a160a88012d0b6f400719d5000038014c1f..."} 
[2026-04-17 11:48:23] local.INFO: Packet analysis {"connection_id":46585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a16"} 
[2026-04-17 11:48:23] local.INFO: Extracted packet for processing {"connection_id":46585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a16"} 
[2026-04-17 11:48:23] local.INFO: GPS Element Parsed {"raw_longitude":755724096,"raw_latitude":119133440,"longitude_deg":75.5724096,"latitude_deg":11.913344,"altitude":56,"angle":332,"satellites":31,"speed":34,"hex_longitude":"2d0b6f40","hex_latitude":"0719d500","is_valid_coordinates":true} 
[2026-04-17 11:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:48:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760096512001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:48:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113459188985757696,"note":"Value kept but may cause issues"} 
[2026-04-17 11:48:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":824932818492532736,"note":"Value kept but may cause issues"} 
[2026-04-17 11:48:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:48:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776406629000,"timestamp_ms":1776406629000,"timestamp_seconds":1776406629,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a160a88"} 
[2026-04-17 11:48:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:48: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-04-17 11:48:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 11:48:23] 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-04-17 11:48:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:48:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:48:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:48:23] local.INFO: Teltonika packet parsed successfully {"connection_id":46585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:48:23] local.INFO: Passing IMEI to GPS processor {"connection_id":46585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:48:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":46585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:48:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:48:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:48:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:48:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760096512001,"66":14004,"36":206,"28":31744,"24":34,"16":113459188985757696,"45":824932818492532736},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,28,24,16,45]} 
[2026-04-17 11:48:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:48:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:48:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760096512001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:48:23] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 11:48:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:48:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113459188985757696,"km_value":113459188985757.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:48:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":824932818492532736,"description":"Unknown IO ID 45"} 
[2026-04-17 11:48:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760096512001,"power":14004,"unknown_36":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":824932818492532736}} 
[2026-04-17 11:48:23] local.INFO: DEBUG: GPS processor result {"connection_id":46585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:48:23] local.INFO: GPS data processed {"connection_id":46585,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:48:23] local.INFO: Acknowledgment sent {"connection_id":46585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:48:28] local.INFO: TCP Data received {"connection_id":45818,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1483e80100000000000000000000000000..."} 
[2026-04-17 11:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1483e80100000000000000000000000000..."} 
[2026-04-17 11:48:28] local.INFO: Processing buffer {"connection_id":45818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1483e80100000000000000000000000000..."} 
[2026-04-17 11:48:28] local.INFO: Packet analysis {"connection_id":45818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a14"} 
[2026-04-17 11:48:28] local.INFO: Extracted packet for processing {"connection_id":45818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a14"} 
[2026-04-17 11:48:28] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 11:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760054272001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3629549484746936320,"note":"Value kept but may cause issues"} 
[2026-04-17 11:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776406529000,"timestamp_ms":1776406529000,"timestamp_seconds":1776406529,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1483e8"} 
[2026-04-17 11:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 11:48:28] 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-04-17 11:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45818,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":45818,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 11:48:28] local.INFO: GPS data processed {"connection_id":45818,"processed":0,"errors":0,"total":1} 
[2026-04-17 11:48:28] local.INFO: Acknowledgment sent {"connection_id":45818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:48:28] local.INFO: TCP Data received {"connection_id":46585,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a161640012d0b6bc00719de90003a015720..."} 
[2026-04-17 11:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a161640012d0b6bc00719de90003a015720..."} 
[2026-04-17 11:48:28] local.INFO: Processing buffer {"connection_id":46585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a161640012d0b6bc00719de90003a015720..."} 
[2026-04-17 11:48:28] local.INFO: Packet analysis {"connection_id":46585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a16"} 
[2026-04-17 11:48:28] local.INFO: Extracted packet for processing {"connection_id":46585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a16"} 
[2026-04-17 11:48:28] local.INFO: GPS Element Parsed {"raw_longitude":755723200,"raw_latitude":119135888,"longitude_deg":75.57232,"latitude_deg":11.9135888,"altitude":58,"angle":343,"satellites":32,"speed":35,"hex_longitude":"2d0b6bc0","hex_latitude":"0719de90","is_valid_coordinates":true} 
[2026-04-17 11:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760097024001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113459313539809280,"note":"Value kept but may cause issues"} 
[2026-04-17 11:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":823947656074428416,"note":"Value kept but may cause issues"} 
[2026-04-17 11:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776406632000,"timestamp_ms":1776406632000,"timestamp_seconds":1776406632,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a161640"} 
[2026-04-17 11:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 11:48:28] 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-04-17 11:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760097024001,"66":13972,"36":206,"28":31744,"24":35,"16":113459313539809280,"45":823947656074428416},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,28,24,16,45]} 
[2026-04-17 11:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760097024001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:48:28] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 11:48:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113459313539809280,"km_value":113459313539809.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":823947656074428416,"description":"Unknown IO ID 45"} 
[2026-04-17 11:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760097024001,"power":13972,"unknown_36":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":823947656074428416}} 
[2026-04-17 11:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":46585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:48:28] local.INFO: GPS data processed {"connection_id":46585,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:48:28] local.INFO: Acknowledgment sent {"connection_id":46585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:48:51] local.INFO: TCP Data received {"connection_id":45819,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:48:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:48:51] local.INFO: Processing buffer {"connection_id":45819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:48:51] local.INFO: IMEI packet received {"connection_id":45819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:48:51] local.INFO: IMEI acknowledgment sent {"connection_id":45819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:48:59] local.INFO: TCP Data received {"connection_id":45819,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:48:59] local.INFO: Processing buffer {"connection_id":45819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:48:59] local.INFO: IMEI packet received {"connection_id":45819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":45819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:49:00] local.INFO: TCP Data received {"connection_id":46585,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a163198012d0b68400719f710003c016420..."} 
[2026-04-17 11:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46585,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a163198012d0b68400719f710003c016420..."} 
[2026-04-17 11:49:00] local.INFO: Processing buffer {"connection_id":46585,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a163198012d0b68400719f710003c016420..."} 
[2026-04-17 11:49:00] local.INFO: Packet analysis {"connection_id":46585,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a16"} 
[2026-04-17 11:49:00] local.INFO: Extracted packet for processing {"connection_id":46585,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a16"} 
[2026-04-17 11:49:00] local.INFO: GPS Element Parsed {"raw_longitude":755722304,"raw_latitude":119142160,"longitude_deg":75.5722304,"latitude_deg":11.914216,"altitude":60,"angle":356,"satellites":32,"speed":37,"hex_longitude":"2d0b6840","hex_latitude":"0719f710","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760097792001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113459622777454592,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":822962493656567808,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,36,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776406639000,"timestamp_ms":1776406639000,"timestamp_seconds":1776406639,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a163198"} 
[2026-04-17 11:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:49:00] 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-04-17 11: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-17 11:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46585,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46585,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760097792001,"66":13961,"36":206,"28":31744,"24":37,"16":113459622777454592,"45":822962493656567808},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,36,28,24,16,45]} 
[2026-04-17 11:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760097792001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:49:00] local.INFO: Unknown IO ID detected {"io_id":36,"value":206,"description":"Unknown IO ID 36"} 
[2026-04-17 11:49:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113459622777454592,"km_value":113459622777454.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":822962493656567808,"description":"Unknown IO ID 45"} 
[2026-04-17 11:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760097792001,"power":13961,"unknown_36":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":822962493656567808}} 
[2026-04-17 11:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":46585,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:49:00] local.INFO: GPS data processed {"connection_id":46585,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:49:00] local.INFO: Acknowledgment sent {"connection_id":46585,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:49:00] local.INFO: TCP Data received {"connection_id":45819,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:49:00] local.INFO: Processing buffer {"connection_id":45819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:49:00] local.INFO: Packet analysis {"connection_id":45819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:49:00] local.INFO: Extracted packet for processing {"connection_id":45819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:49:00] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95408888,"longitude_deg":76.334112,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760041472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776406607000,"timestamp_ms":1776406607000,"timestamp_seconds":1776406607,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a15b498"} 
[2026-04-17 11:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760041472001,"66":25462,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760041472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:49:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:49:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760041472001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":45819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:49:00] local.INFO: GPS data processed {"connection_id":45819,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:49:00] local.INFO: Acknowledgment sent {"connection_id":45819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:49:01] local.INFO: TCP Data received {"connection_id":45819,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:49:01] local.INFO: Processing buffer {"connection_id":45819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:49:01] local.INFO: Packet analysis {"connection_id":45819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:49:01] local.INFO: Extracted packet for processing {"connection_id":45819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95408888,"longitude_deg":76.334112,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760041472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776406607000,"timestamp_ms":1776406607000,"timestamp_seconds":1776406607,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a15b498"} 
[2026-04-17 11:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760041472001,"66":25462,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760041472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:49:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760041472001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":45819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:49:01] local.INFO: GPS data processed {"connection_id":45819,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:49:01] local.INFO: Acknowledgment sent {"connection_id":45819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:49:05] local.INFO: TCP Data received {"connection_id":45820,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:49:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:49:05] local.INFO: Processing buffer {"connection_id":45820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:49:05] local.INFO: IMEI packet received {"connection_id":45820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:49:05] local.INFO: IMEI acknowledgment sent {"connection_id":45820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:49:10] local.INFO: TCP Data received {"connection_id":45820,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:49:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:49:10] local.INFO: Processing buffer {"connection_id":45820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:49:10] local.INFO: IMEI packet received {"connection_id":45820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:49:10] local.INFO: IMEI acknowledgment sent {"connection_id":45820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:49:13] local.INFO: TCP Data received {"connection_id":45820,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a168788012d34154006b30e38000d007b2b..."} 
[2026-04-17 11:49:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a168788012d34154006b30e38000d007b2b..."} 
[2026-04-17 11:49:13] local.INFO: Processing buffer {"connection_id":45820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a168788012d34154006b30e38000d007b2b..."} 
[2026-04-17 11:49:13] local.INFO: Packet analysis {"connection_id":45820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a16"} 
[2026-04-17 11:49:13] local.INFO: Extracted packet for processing {"connection_id":45820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a16"} 
[2026-04-17 11:49:13] local.INFO: GPS Element Parsed {"raw_longitude":758388032,"raw_latitude":112397880,"longitude_deg":75.8388032,"latitude_deg":11.239788,"altitude":13,"angle":123,"satellites":43,"speed":0,"hex_longitude":"2d341540","hex_latitude":"06b30e38","is_valid_coordinates":true} 
[2026-04-17 11:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:49:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760099840001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3752976262001211392,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:13] 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-04-17 11:49:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776406661000,"timestamp_ms":1776406661000,"timestamp_seconds":1776406661,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a168788"} 
[2026-04-17 11:49:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:49:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:49:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 11:49:13] 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-04-17 11:49:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:49:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:49:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:49:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:49:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:49:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:49:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:49:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:49:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:49:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760099840001,"66":28137,"182":206,"28":21760,"24":0,"16":106618783551979520,"45":3752976262001211392},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-04-17 11:49:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:49:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:49:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760099840001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:49:13] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-04-17 11:49:13] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:49:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:49:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":3752976262001211392,"description":"Unknown IO ID 45"} 
[2026-04-17 11:49:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760099840001,"power":28137,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3752976262001211392}} 
[2026-04-17 11:49:13] local.INFO: DEBUG: GPS processor result {"connection_id":45820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20972,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:49:13] local.INFO: GPS data processed {"connection_id":45820,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:49:13] local.INFO: Acknowledgment sent {"connection_id":45820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:49:17] local.INFO: TCP Data received {"connection_id":46014,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:49:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:49:17] local.INFO: Processing buffer {"connection_id":46014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:49:17] local.INFO: IMEI packet received {"connection_id":46014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:49:17] local.INFO: IMEI acknowledgment sent {"connection_id":46014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:49:21] local.INFO: TCP Data received {"connection_id":46014,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:49:21] local.INFO: Processing buffer {"connection_id":46014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:49:21] local.INFO: IMEI packet received {"connection_id":46014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":46014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:49:22] local.INFO: TCP Data received {"connection_id":46014,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:49:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:49:22] local.INFO: Processing buffer {"connection_id":46014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:49:22] local.INFO: IMEI packet received {"connection_id":46014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:49:22] local.INFO: IMEI acknowledgment sent {"connection_id":46014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:49:23] local.INFO: TCP Data received {"connection_id":46014,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a173368012d0b5540071b14f8003500001e..."} 
[2026-04-17 11:49:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a173368012d0b5540071b14f8003500001e..."} 
[2026-04-17 11:49:23] local.INFO: Processing buffer {"connection_id":46014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a173368012d0b5540071b14f8003500001e..."} 
[2026-04-17 11:49:23] local.INFO: Packet analysis {"connection_id":46014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:49:23] local.INFO: Extracted packet for processing {"connection_id":46014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:49:23] local.INFO: GPS Element Parsed {"raw_longitude":755717440,"raw_latitude":119215352,"longitude_deg":75.571744,"latitude_deg":11.9215352,"altitude":53,"angle":0,"satellites":30,"speed":39,"hex_longitude":"2d0b5540","hex_latitude":"071b14f8","is_valid_coordinates":true} 
[2026-04-17 11:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:49:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760115456001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113463290679525376,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":817051519165007872,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:23] 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-04-17 11:49:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776406705000,"timestamp_ms":1776406705000,"timestamp_seconds":1776406705,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a173368"} 
[2026-04-17 11:49:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:49: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-04-17 11:49:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-17 11:49:23] 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-04-17 11:49:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:49:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:49:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:49:23] local.INFO: Teltonika packet parsed successfully {"connection_id":46014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:49:23] local.INFO: Passing IMEI to GPS processor {"connection_id":46014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:49:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":46014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:49:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:49:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:49:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:49:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760115456001,"66":14374,"15":206,"28":31744,"24":39,"16":113463290679525376,"45":817051519165007872},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-04-17 11:49:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:49:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:49:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760115456001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:49:23] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-04-17 11:49:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:49:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113463290679525376,"km_value":113463290679525.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:49:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":817051519165007872,"description":"Unknown IO ID 45"} 
[2026-04-17 11:49:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760115456001,"power":14374,"unknown_15":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":817051519165007872}} 
[2026-04-17 11:49:23] local.INFO: DEBUG: GPS processor result {"connection_id":46014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:49:23] local.INFO: GPS data processed {"connection_id":46014,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:49:23] local.INFO: Acknowledgment sent {"connection_id":46014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:49:26] local.INFO: TCP Data received {"connection_id":46014,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a175690012d0b5540071b3928002f01621d..."} 
[2026-04-17 11:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a175690012d0b5540071b3928002f01621d..."} 
[2026-04-17 11:49:26] local.INFO: Processing buffer {"connection_id":46014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a175690012d0b5540071b3928002f01621d..."} 
[2026-04-17 11:49:26] local.INFO: Packet analysis {"connection_id":46014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:49:26] local.INFO: Extracted packet for processing {"connection_id":46014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:49:26] local.INFO: GPS Element Parsed {"raw_longitude":755717440,"raw_latitude":119224616,"longitude_deg":75.571744,"latitude_deg":11.9224616,"altitude":47,"angle":354,"satellites":29,"speed":43,"hex_longitude":"2d0b5540","hex_latitude":"071b3928","is_valid_coordinates":true} 
[2026-04-17 11:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:49:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760116480001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113463741651091456,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816629306700920832,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:26] 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-04-17 11:49:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776406714000,"timestamp_ms":1776406714000,"timestamp_seconds":1776406714,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a175690"} 
[2026-04-17 11:49:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:49:26] 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-04-17 11:49:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 11:49:26] 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-04-17 11:49:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:49:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:49:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:49:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:49:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:49:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:49:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:49:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:49:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:49:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760116480001,"66":13243,"15":206,"28":31744,"24":43,"16":113463741651091456,"45":816629306700920832},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-04-17 11:49:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:49:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:49:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760116480001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:49:26] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-04-17 11:49:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:49:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113463741651091456,"km_value":113463741651091.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:49:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":816629306700920832,"description":"Unknown IO ID 45"} 
[2026-04-17 11:49:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760116480001,"power":13243,"unknown_15":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":816629306700920832}} 
[2026-04-17 11:49:26] local.INFO: DEBUG: GPS processor result {"connection_id":46014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:49:26] local.INFO: GPS data processed {"connection_id":46014,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:49:26] local.INFO: Acknowledgment sent {"connection_id":46014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:49:32] local.INFO: TCP Data received {"connection_id":45819,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:49:32] local.INFO: Processing buffer {"connection_id":45819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:49:32] local.INFO: Packet analysis {"connection_id":45819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:49:32] local.INFO: Extracted packet for processing {"connection_id":45819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95408888,"longitude_deg":76.334112,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760041472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776406607000,"timestamp_ms":1776406607000,"timestamp_seconds":1776406607,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a15b498"} 
[2026-04-17 11:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760041472001,"66":25462,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760041472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:49:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760041472001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":45819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:49:32] local.INFO: GPS data processed {"connection_id":45819,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:49:32] local.INFO: Acknowledgment sent {"connection_id":45819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:49:48] local.INFO: TCP Data received {"connection_id":45820,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a16d990012d34154006b30e38000d007b2b..."} 
[2026-04-17 11:49:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45820,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a16d990012d34154006b30e38000d007b2b..."} 
[2026-04-17 11:49:48] local.INFO: Processing buffer {"connection_id":45820,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a16d990012d34154006b30e38000d007b2b..."} 
[2026-04-17 11:49:48] local.INFO: Packet analysis {"connection_id":45820,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a16"} 
[2026-04-17 11:49:48] local.INFO: Extracted packet for processing {"connection_id":45820,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a16"} 
[2026-04-17 11:49:48] local.INFO: GPS Element Parsed {"raw_longitude":758388032,"raw_latitude":112397880,"longitude_deg":75.8388032,"latitude_deg":11.239788,"altitude":13,"angle":123,"satellites":43,"speed":0,"hex_longitude":"2d341540","hex_latitude":"06b30e38","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:49:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760105216001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3752976262001211392,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:48] 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-04-17 11:49:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776406682000,"timestamp_ms":1776406682000,"timestamp_seconds":1776406682,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a16d990"} 
[2026-04-17 11:49:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:49:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 11:49:48] 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-04-17 11: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-04-17 11:49:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:49:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:49:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45820,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:49:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:49:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45820,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:49:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:49:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:49:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:49:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760105216001,"66":28517,"182":206,"28":21760,"24":0,"16":106618783551979520,"45":3752976262001211392},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-04-17 11:49:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:49:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:49:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760105216001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:49:48] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-04-17 11:49:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:49:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:49:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":3752976262001211392,"description":"Unknown IO ID 45"} 
[2026-04-17 11:49:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760105216001,"power":28517,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3752976262001211392}} 
[2026-04-17 11:49:48] local.INFO: DEBUG: GPS processor result {"connection_id":45820,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20976,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:49:48] local.INFO: GPS data processed {"connection_id":45820,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:49:48] local.INFO: Acknowledgment sent {"connection_id":45820,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:49:56] local.INFO: TCP Data received {"connection_id":46586,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:49:56] local.INFO: Processing buffer {"connection_id":46586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:49:56] local.INFO: IMEI packet received {"connection_id":46586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":46586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:49:58] local.INFO: TCP Data received {"connection_id":46014,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1775d0012d0b5280071b5e48002601641f..."} 
[2026-04-17 11:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1775d0012d0b5280071b5e48002601641f..."} 
[2026-04-17 11:49:58] local.INFO: Processing buffer {"connection_id":46014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1775d0012d0b5280071b5e48002601641f..."} 
[2026-04-17 11:49:58] local.INFO: Packet analysis {"connection_id":46014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:49:58] local.INFO: Extracted packet for processing {"connection_id":46014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:49:58] local.INFO: GPS Element Parsed {"raw_longitude":755716736,"raw_latitude":119234120,"longitude_deg":75.5716736,"latitude_deg":11.923412,"altitude":38,"angle":356,"satellites":31,"speed":50,"hex_longitude":"2d0b5280","hex_latitude":"071b5e48","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760118784001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113464205507559424,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":816629306703292416,"note":"Value kept but may cause issues"} 
[2026-04-17 11:49:58] 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-04-17 11:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776406722000,"timestamp_ms":1776406722000,"timestamp_seconds":1776406722,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1775d0"} 
[2026-04-17 11:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:49: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-04-17 11: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-17 11:49: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-04-17 11: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-04-17 11:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760118784001,"66":14461,"15":206,"28":31744,"24":50,"16":113464205507559424,"45":816629306703292416},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-04-17 11:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760118784001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:49:58] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-04-17 11:49:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113464205507559424,"km_value":113464205507559.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":816629306703292416,"description":"Unknown IO ID 45"} 
[2026-04-17 11:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760118784001,"power":14461,"unknown_15":206,"unknown_28":31744,"ignition":50,"odometer":null,"unknown_45":816629306703292416}} 
[2026-04-17 11:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":46014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:49:58] local.INFO: GPS data processed {"connection_id":46014,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:49:58] local.INFO: Acknowledgment sent {"connection_id":46014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:50:01] local.INFO: TCP Data received {"connection_id":46586,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46586,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:50:01] local.INFO: Processing buffer {"connection_id":46586,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:50:01] local.INFO: IMEI packet received {"connection_id":46586,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":46586,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:50:02] local.INFO: TCP Data received {"connection_id":46586,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:50:02] local.INFO: Processing buffer {"connection_id":46586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:50:02] local.INFO: Packet analysis {"connection_id":46586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:50:02] local.INFO: Extracted packet for processing {"connection_id":46586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:50:02] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95408888,"longitude_deg":76.334112,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760041472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776406607000,"timestamp_ms":1776406607000,"timestamp_seconds":1776406607,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a15b498"} 
[2026-04-17 11:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:50:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760041472001,"66":25462,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760041472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:50:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:50:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760041472001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":46586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:50:02] local.INFO: GPS data processed {"connection_id":46586,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:50:02] local.INFO: Acknowledgment sent {"connection_id":46586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:50:04] local.INFO: TCP Data received {"connection_id":46015,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:50:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:50:04] local.INFO: Processing buffer {"connection_id":46015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:50:04] local.INFO: IMEI packet received {"connection_id":46015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:50:04] local.INFO: IMEI acknowledgment sent {"connection_id":46015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:50:06] local.INFO: TCP Data received {"connection_id":46586,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46586,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:50:06] local.INFO: Processing buffer {"connection_id":46586,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:50:06] local.INFO: Packet analysis {"connection_id":46586,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:50:06] local.INFO: Extracted packet for processing {"connection_id":46586,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95408888,"longitude_deg":76.334112,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760041472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776406607000,"timestamp_ms":1776406607000,"timestamp_seconds":1776406607,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a15b498"} 
[2026-04-17 11:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46586,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46586,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:50:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760041472001,"66":25462,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760041472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:50:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760041472001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":46586,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:50:06] local.INFO: GPS data processed {"connection_id":46586,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:50:06] local.INFO: Acknowledgment sent {"connection_id":46586,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:50:07] local.INFO: TCP Data received {"connection_id":46015,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:50:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:50:07] local.INFO: Processing buffer {"connection_id":46015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:50:07] local.INFO: IMEI packet received {"connection_id":46015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:50:07] local.INFO: IMEI acknowledgment sent {"connection_id":46015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:50:09] local.INFO: TCP Data received {"connection_id":46015,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46015,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:50:09] local.INFO: Processing buffer {"connection_id":46015,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:50:09] local.INFO: IMEI packet received {"connection_id":46015,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":46015,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:50:11] local.INFO: TCP Data received {"connection_id":46015,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a172b98012d34154006b30e38000d007b2b..."} 
[2026-04-17 11:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a172b98012d34154006b30e38000d007b2b..."} 
[2026-04-17 11:50:11] local.INFO: Processing buffer {"connection_id":46015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a172b98012d34154006b30e38000d007b2b..."} 
[2026-04-17 11:50:11] local.INFO: Packet analysis {"connection_id":46015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:50:11] local.INFO: Extracted packet for processing {"connection_id":46015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:50:11] local.INFO: GPS Element Parsed {"raw_longitude":758388032,"raw_latitude":112397880,"longitude_deg":75.8388032,"latitude_deg":11.239788,"altitude":13,"angle":123,"satellites":43,"speed":0,"hex_longitude":"2d341540","hex_latitude":"06b30e38","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760110592001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3752976262001211392,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:11] 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-04-17 11:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776406703000,"timestamp_ms":1776406703000,"timestamp_seconds":1776406703,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a172b98"} 
[2026-04-17 11:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:50: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-04-17 11: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":111,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-17 11:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1662,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46015,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46015,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760110592001,"66":28354,"182":206,"28":21760,"24":0,"16":106618783551979520,"45":3752976262001211392},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-04-17 11:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760110592001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:50:11] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-04-17 11:50:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":3752976262001211392,"description":"Unknown IO ID 45"} 
[2026-04-17 11:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760110592001,"power":28354,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3752976262001211392}} 
[2026-04-17 11:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":46015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20980,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:50:11] local.INFO: GPS data processed {"connection_id":46015,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:50:11] local.INFO: Acknowledgment sent {"connection_id":46015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:50:22] local.INFO: TCP Data received {"connection_id":46587,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:50:22] local.INFO: Processing buffer {"connection_id":46587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:50:22] local.INFO: IMEI packet received {"connection_id":46587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":46587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:50:23] local.INFO: TCP Data received {"connection_id":46587,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46587,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:50:23] local.INFO: Processing buffer {"connection_id":46587,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:50:23] local.INFO: IMEI packet received {"connection_id":46587,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":46587,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:50:24] local.INFO: TCP Data received {"connection_id":46587,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a178958012d0b4f80071b74480024015820..."} 
[2026-04-17 11:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a178958012d0b4f80071b74480024015820..."} 
[2026-04-17 11:50:24] local.INFO: Processing buffer {"connection_id":46587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a178958012d0b4f80071b74480024015820..."} 
[2026-04-17 11:50:24] local.INFO: Packet analysis {"connection_id":46587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:50:24] local.INFO: Extracted packet for processing {"connection_id":46587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:50:24] local.INFO: GPS Element Parsed {"raw_longitude":755715968,"raw_latitude":119239752,"longitude_deg":75.5715968,"latitude_deg":11.9239752,"altitude":36,"angle":344,"satellites":32,"speed":41,"hex_longitude":"2d0b4f80","hex_latitude":"071b7448","is_valid_coordinates":true} 
[2026-04-17 11:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760120832001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113464480385466368,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815855250519771136,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:24] 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-04-17 11:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776406727000,"timestamp_ms":1776406727000,"timestamp_seconds":1776406727,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a178958"} 
[2026-04-17 11:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:50:24] 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-04-17 11:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 11:50: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-04-17 11:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760120832001,"66":14374,"15":206,"28":31744,"24":41,"16":113464480385466368,"45":815855250519771136},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-04-17 11:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760120832001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:50:24] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-04-17 11:50:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113464480385466368,"km_value":113464480385466.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":815855250519771136,"description":"Unknown IO ID 45"} 
[2026-04-17 11:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760120832001,"power":14374,"unknown_15":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":815855250519771136}} 
[2026-04-17 11:50:25] local.INFO: DEBUG: GPS processor result {"connection_id":46587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20981,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:50:25] local.INFO: GPS data processed {"connection_id":46587,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:50:25] local.INFO: Acknowledgment sent {"connection_id":46587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:50:27] local.INFO: TCP Data received {"connection_id":46587,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a17a4b0012d0b4b00071b90900025016621..."} 
[2026-04-17 11:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a17a4b0012d0b4b00071b90900025016621..."} 
[2026-04-17 11:50:27] local.INFO: Processing buffer {"connection_id":46587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a17a4b0012d0b4b00071b90900025016621..."} 
[2026-04-17 11:50:27] local.INFO: Packet analysis {"connection_id":46587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:50:27] local.INFO: Extracted packet for processing {"connection_id":46587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:50:27] local.INFO: GPS Element Parsed {"raw_longitude":755714816,"raw_latitude":119246992,"longitude_deg":75.5714816,"latitude_deg":11.9246992,"altitude":37,"angle":358,"satellites":33,"speed":45,"hex_longitude":"2d0b4b00","hex_latitude":"071b9090","is_valid_coordinates":true} 
[2026-04-17 11:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760122112001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113464836867751936,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":815010825591080960,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:27] 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-04-17 11:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776406734000,"timestamp_ms":1776406734000,"timestamp_seconds":1776406734,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a17a4b0"} 
[2026-04-17 11:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 11:50:27] 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-04-17 11:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760122112001,"66":14396,"15":206,"28":31744,"24":45,"16":113464836867751936,"45":815010825591080960},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-04-17 11:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760122112001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:50:27] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-04-17 11:50:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113464836867751936,"km_value":113464836867751.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":815010825591080960,"description":"Unknown IO ID 45"} 
[2026-04-17 11:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760122112001,"power":14396,"unknown_15":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":815010825591080960}} 
[2026-04-17 11:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":46587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20982,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:50:28] local.INFO: GPS data processed {"connection_id":46587,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:50:28] local.INFO: Acknowledgment sent {"connection_id":46587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:50:50] local.INFO: TCP Data received {"connection_id":46015,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a177da0012d34154006b30e38000d007b2b..."} 
[2026-04-17 11:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a177da0012d34154006b30e38000d007b2b..."} 
[2026-04-17 11:50:50] local.INFO: Processing buffer {"connection_id":46015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a177da0012d34154006b30e38000d007b2b..."} 
[2026-04-17 11:50:50] local.INFO: Packet analysis {"connection_id":46015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:50:50] local.INFO: Extracted packet for processing {"connection_id":46015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:50:50] local.INFO: GPS Element Parsed {"raw_longitude":758388032,"raw_latitude":112397880,"longitude_deg":75.8388032,"latitude_deg":11.239788,"altitude":13,"angle":123,"satellites":43,"speed":0,"hex_longitude":"2d341540","hex_latitude":"06b30e38","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:50:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760115968001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3752976262001211392,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:50] 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-04-17 11:50:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776406724000,"timestamp_ms":1776406724000,"timestamp_seconds":1776406724,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a177da0"} 
[2026-04-17 11:50:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:50: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-04-17 11: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 11:50:50] 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-04-17 11: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-04-17 11:50:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:50:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:50:50] local.INFO: Teltonika packet parsed successfully {"connection_id":46015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:50:50] local.INFO: Passing IMEI to GPS processor {"connection_id":46015,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:50:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":46015,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:50:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:50:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:50:50] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:50:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760115968001,"66":28300,"182":206,"28":21760,"24":0,"16":106618783551979520,"45":3752976262001211392},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-04-17 11:50:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:50:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:50:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760115968001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:50:50] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-04-17 11:50:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:50:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:50:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":3752976262001211392,"description":"Unknown IO ID 45"} 
[2026-04-17 11:50:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760115968001,"power":28300,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3752976262001211392}} 
[2026-04-17 11:50:50] local.INFO: DEBUG: GPS processor result {"connection_id":46015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20983,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:50:50] local.INFO: GPS data processed {"connection_id":46015,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:50:50] local.INFO: Acknowledgment sent {"connection_id":46015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:50:51] local.INFO: TCP Data received {"connection_id":45746,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:50:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:50:51] local.INFO: Processing buffer {"connection_id":45746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:50:51] local.INFO: IMEI packet received {"connection_id":45746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:50:51] local.INFO: IMEI acknowledgment sent {"connection_id":45746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:50:56] local.INFO: TCP Data received {"connection_id":45746,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:50:56] local.INFO: Processing buffer {"connection_id":45746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:50:56] local.INFO: IMEI packet received {"connection_id":45746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":45746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:50:57] local.INFO: TCP Data received {"connection_id":45746,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:50:57] local.INFO: Processing buffer {"connection_id":45746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:50:57] local.INFO: Packet analysis {"connection_id":45746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:50:57] local.INFO: Extracted packet for processing {"connection_id":45746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:50:57] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95408888,"longitude_deg":76.334112,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760041472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776406607000,"timestamp_ms":1776406607000,"timestamp_seconds":1776406607,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a15b498"} 
[2026-04-17 11:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760041472001,"66":25462,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760041472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:50:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:50:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760041472001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":45746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:50:57] local.INFO: GPS data processed {"connection_id":45746,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:50:57] local.INFO: Acknowledgment sent {"connection_id":45746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:50:59] local.INFO: TCP Data received {"connection_id":46587,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a17b068012d0b4bc0071b9da80026000a21..."} 
[2026-04-17 11:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46587,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a17b068012d0b4bc0071b9da80026000a21..."} 
[2026-04-17 11:50:59] local.INFO: Processing buffer {"connection_id":46587,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a17b068012d0b4bc0071b9da80026000a21..."} 
[2026-04-17 11:50:59] local.INFO: Packet analysis {"connection_id":46587,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:50:59] local.INFO: Extracted packet for processing {"connection_id":46587,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:50:59] local.INFO: GPS Element Parsed {"raw_longitude":755715008,"raw_latitude":119250344,"longitude_deg":75.5715008,"latitude_deg":11.9250344,"altitude":38,"angle":10,"satellites":33,"speed":43,"hex_longitude":"2d0b4bc0","hex_latitude":"071b9da8","is_valid_coordinates":true} 
[2026-04-17 11:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760123904001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113465000076509184,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813744188197736448,"note":"Value kept but may cause issues"} 
[2026-04-17 11:50:59] 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-04-17 11:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776406737000,"timestamp_ms":1776406737000,"timestamp_seconds":1776406737,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a17b068"} 
[2026-04-17 11:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:50:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-17 11:50:59] 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-04-17 11:50:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46587,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46587,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760123904001,"66":13993,"15":206,"28":31744,"24":43,"16":113465000076509184,"45":813744188197736448},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-04-17 11:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760123904001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:50:59] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-04-17 11:50:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113465000076509184,"km_value":113465000076509.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":813744188197736448,"description":"Unknown IO ID 45"} 
[2026-04-17 11:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760123904001,"power":13993,"unknown_15":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":813744188197736448}} 
[2026-04-17 11:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":46587,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:50:59] local.INFO: GPS data processed {"connection_id":46587,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:50:59] local.INFO: Acknowledgment sent {"connection_id":46587,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:51:05] local.INFO: TCP Data received {"connection_id":46588,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:51:05] local.INFO: Processing buffer {"connection_id":46588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:51:05] local.INFO: IMEI packet received {"connection_id":46588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:51:05] local.INFO: IMEI acknowledgment sent {"connection_id":46588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:51:09] local.INFO: TCP Data received {"connection_id":46588,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:51:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46588,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:51:10] local.INFO: Processing buffer {"connection_id":46588,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:51:10] local.INFO: IMEI packet received {"connection_id":46588,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:51:10] local.INFO: IMEI acknowledgment sent {"connection_id":46588,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:51:10] local.INFO: TCP Data received {"connection_id":46588,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1883580100000000000000000000000000..."} 
[2026-04-17 11:51:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1883580100000000000000000000000000..."} 
[2026-04-17 11:51:11] local.INFO: Processing buffer {"connection_id":46588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1883580100000000000000000000000000..."} 
[2026-04-17 11:51:11] local.INFO: Packet analysis {"connection_id":46588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a18"} 
[2026-04-17 11:51:11] local.INFO: Extracted packet for processing {"connection_id":46588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a18"} 
[2026-04-17 11:51: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-04-17 11: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-04-17 11:51:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760121344001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3752976262001211392,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:11] 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-04-17 11:51:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776406791000,"timestamp_ms":1776406791000,"timestamp_seconds":1776406791,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a188358"} 
[2026-04-17 11:51:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:51:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 11:51:11] 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-04-17 11: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-04-17 11:51:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:51:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:51:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:51:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:51:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:51:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:51:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:51:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:51:11] local.INFO: DEBUG: GPS processor result {"connection_id":46588,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 11:51:11] local.INFO: GPS data processed {"connection_id":46588,"processed":0,"errors":0,"total":1} 
[2026-04-17 11:51:11] local.INFO: Acknowledgment sent {"connection_id":46588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:51:14] local.INFO: TCP Data received {"connection_id":46016,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:51:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:51:14] local.INFO: Processing buffer {"connection_id":46016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:51:14] local.INFO: IMEI packet received {"connection_id":46016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:51:14] local.INFO: IMEI acknowledgment sent {"connection_id":46016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:51:17] local.INFO: TCP Data received {"connection_id":46016,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:51:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:51:17] local.INFO: Processing buffer {"connection_id":46016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:51:17] local.INFO: IMEI packet received {"connection_id":46016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:51:17] local.INFO: IMEI acknowledgment sent {"connection_id":46016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:51:24] local.INFO: TCP Data received {"connection_id":46016,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:51:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:51:24] local.INFO: Processing buffer {"connection_id":46016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:51:24] local.INFO: IMEI packet received {"connection_id":46016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:51:24] local.INFO: IMEI acknowledgment sent {"connection_id":46016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:51:25] local.INFO: TCP Data received {"connection_id":46016,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a17cfa8012d0b5780071bc0780027000a20..."} 
[2026-04-17 11:51:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a17cfa8012d0b5780071bc0780027000a20..."} 
[2026-04-17 11:51:25] local.INFO: Processing buffer {"connection_id":46016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a17cfa8012d0b5780071bc0780027000a20..."} 
[2026-04-17 11:51:25] local.INFO: Packet analysis {"connection_id":46016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:51:25] local.INFO: Extracted packet for processing {"connection_id":46016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:51:25] local.INFO: GPS Element Parsed {"raw_longitude":755718016,"raw_latitude":119259256,"longitude_deg":75.5718016,"latitude_deg":11.9259256,"altitude":39,"angle":10,"satellites":32,"speed":48,"hex_longitude":"2d0b5780","hex_latitude":"071bc078","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:51:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760124672001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113465455343042560,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":813955294431127552,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:25] 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-04-17 11:51:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776406745000,"timestamp_ms":1776406745000,"timestamp_seconds":1776406745,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a17cfa8"} 
[2026-04-17 11:51:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:51: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-04-17 11: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 11:51:25] 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-04-17 11: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-04-17 11:51:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:51:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:51:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:51:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:51:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:51:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:51:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:51:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:51:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760124672001,"66":14102,"15":206,"28":31744,"24":48,"16":113465455343042560,"45":813955294431127552},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-04-17 11:51:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:51:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:51:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760124672001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:51:25] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-04-17 11:51:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:51:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113465455343042560,"km_value":113465455343042.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:51:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":813955294431127552,"description":"Unknown IO ID 45"} 
[2026-04-17 11:51:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760124672001,"power":14102,"unknown_15":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":813955294431127552}} 
[2026-04-17 11:51:25] local.INFO: DEBUG: GPS processor result {"connection_id":46016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:51:25] local.INFO: GPS data processed {"connection_id":46016,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:51:25] local.INFO: Acknowledgment sent {"connection_id":46016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:51:26] local.INFO: TCP Data received {"connection_id":46016,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a17eee8012d0b5a80071be4c00029000520..."} 
[2026-04-17 11:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a17eee8012d0b5a80071be4c00029000520..."} 
[2026-04-17 11:51:26] local.INFO: Processing buffer {"connection_id":46016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a17eee8012d0b5a80071be4c00029000520..."} 
[2026-04-17 11:51:26] local.INFO: Packet analysis {"connection_id":46016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:51:26] local.INFO: Extracted packet for processing {"connection_id":46016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:51:26] local.INFO: GPS Element Parsed {"raw_longitude":755718784,"raw_latitude":119268544,"longitude_deg":75.5718784,"latitude_deg":11.9268544,"altitude":41,"angle":5,"satellites":32,"speed":40,"hex_longitude":"2d0b5a80","hex_latitude":"071be4c0","is_valid_coordinates":true} 
[2026-04-17 11:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760126720001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113465906314608640,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":817262625409759232,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:26] 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-04-17 11:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776406753000,"timestamp_ms":1776406753000,"timestamp_seconds":1776406753,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a17eee8"} 
[2026-04-17 11:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:51:26] 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-04-17 11:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-17 11:51:26] 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-04-17 11:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760126720001,"66":14102,"15":206,"28":31744,"24":40,"16":113465906314608640,"45":817262625409759232},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,28,24,16,45]} 
[2026-04-17 11:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760126720001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:51:26] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-04-17 11:51:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113465906314608640,"km_value":113465906314608.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":817262625409759232,"description":"Unknown IO ID 45"} 
[2026-04-17 11:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760126720001,"power":14102,"unknown_15":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":817262625409759232}} 
[2026-04-17 11:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":46016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:51:26] local.INFO: GPS data processed {"connection_id":46016,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:51:26] local.INFO: Acknowledgment sent {"connection_id":46016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:51:28] local.INFO: TCP Data received {"connection_id":45746,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:51:28] local.INFO: Processing buffer {"connection_id":45746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a15b498012d7fa94005afd2f8001100001f..."} 
[2026-04-17 11:51:28] local.INFO: Packet analysis {"connection_id":45746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:51:28] local.INFO: Extracted packet for processing {"connection_id":45746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a15"} 
[2026-04-17 11:51:28] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95408888,"longitude_deg":76.334112,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":31,"speed":0,"hex_longitude":"2d7fa940","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760041472001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026641408,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776406607000,"timestamp_ms":1776406607000,"timestamp_seconds":1776406607,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a15b498"} 
[2026-04-17 11:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760041472001,"66":25462,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199235582026641408},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760041472001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:51:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:51:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026641408,"description":"Unknown IO ID 45"} 
[2026-04-17 11:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760041472001,"power":25462,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026641408}} 
[2026-04-17 11:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":45746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:51:28] local.INFO: GPS data processed {"connection_id":45746,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:51:28] local.INFO: Acknowledgment sent {"connection_id":45746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:51:42] local.INFO: TCP Data received {"connection_id":46588,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a17d778012d34478006b2ec800010007b2e..."} 
[2026-04-17 11:51:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46588,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a17d778012d34478006b2ec800010007b2e..."} 
[2026-04-17 11:51:42] local.INFO: Processing buffer {"connection_id":46588,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a17d778012d34478006b2ec800010007b2e..."} 
[2026-04-17 11:51:42] local.INFO: Packet analysis {"connection_id":46588,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:51:42] local.INFO: Extracted packet for processing {"connection_id":46588,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a17"} 
[2026-04-17 11:51:42] local.INFO: GPS Element Parsed {"raw_longitude":758400896,"raw_latitude":112389248,"longitude_deg":75.8400896,"latitude_deg":11.2389248,"altitude":16,"angle":123,"satellites":46,"speed":32,"hex_longitude":"2d344780","hex_latitude":"06b2ec80","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:51:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,182,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 11:51:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776406747000,"timestamp_ms":1776406747000,"timestamp_seconds":1776406747,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a17d778"} 
[2026-04-17 11:51:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:51:42] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 11:51:42] 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-04-17 11: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-04-17 11:51:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:51:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:51:42] local.INFO: Teltonika packet parsed successfully {"connection_id":46588,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:51:42] local.INFO: Passing IMEI to GPS processor {"connection_id":46588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:51:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":46588,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:51:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:51:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:51:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:51:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"182":206,"28":21760,"24":32,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16]} 
[2026-04-17 11:51:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:51:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:51:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 11:51:42] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-04-17 11:51:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:51:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:51:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_182":206,"unknown_28":21760,"ignition":32,"odometer":null}} 
[2026-04-17 11:51:42] local.INFO: DEBUG: GPS processor result {"connection_id":46588,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20989,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:51:42] local.INFO: GPS data processed {"connection_id":46588,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:51:42] local.INFO: Acknowledgment sent {"connection_id":46588,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:51:51] local.INFO: TCP Data received {"connection_id":46589,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:51:51] local.INFO: Processing buffer {"connection_id":46589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:51:51] local.INFO: IMEI packet received {"connection_id":46589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":46589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:51:56] local.INFO: TCP Data received {"connection_id":46589,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46589,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:51:56] local.INFO: Processing buffer {"connection_id":46589,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:51:56] local.INFO: IMEI packet received {"connection_id":46589,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":46589,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:51:57] local.INFO: TCP Data received {"connection_id":46589,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:51:57] local.INFO: Processing buffer {"connection_id":46589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:51:57] local.INFO: Packet analysis {"connection_id":46589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:51:57] local.INFO: Extracted packet for processing {"connection_id":46589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:51:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760091392001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107049801728,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776406875000,"timestamp_ms":1776406875000,"timestamp_seconds":1776406875,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a19cb78"} 
[2026-04-17 11:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760091392001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9198954107049801728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760091392001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:51:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:51:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107049801728,"description":"Unknown IO ID 45"} 
[2026-04-17 11:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760091392001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107049801728}} 
[2026-04-17 11:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":46589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:51:57] local.INFO: GPS data processed {"connection_id":46589,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:51:57] local.INFO: Acknowledgment sent {"connection_id":46589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:51:58] local.INFO: TCP Data received {"connection_id":46016,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1971a0012d0b75c0071ca3500035003d20..."} 
[2026-04-17 11:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1971a0012d0b75c0071ca3500035003d20..."} 
[2026-04-17 11:51:58] local.INFO: Processing buffer {"connection_id":46016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1971a0012d0b75c0071ca3500035003d20..."} 
[2026-04-17 11:51:58] local.INFO: Packet analysis {"connection_id":46016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:51:58] local.INFO: Extracted packet for processing {"connection_id":46016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:51:58] local.INFO: GPS Element Parsed {"raw_longitude":755725760,"raw_latitude":119317328,"longitude_deg":75.572576,"latitude_deg":11.9317328,"altitude":53,"angle":61,"satellites":32,"speed":19,"hex_longitude":"2d0b75c0","hex_latitude":"071ca350","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760153856001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113468345856032768,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":825355031004987392,"note":"Value kept but may cause issues"} 
[2026-04-17 11:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776406852000,"timestamp_ms":1776406852000,"timestamp_seconds":1776406852,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1971a0"} 
[2026-04-17 11:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:51:58] 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-04-17 11: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":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-17 11:51:58] 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-04-17 11: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-04-17 11:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760153856001,"66":12950,"14":206,"28":31744,"24":19,"16":113468345856032768,"45":825355031004987392},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-04-17 11:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760153856001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:51:58] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-04-17 11:51:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113468345856032768,"km_value":113468345856032.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":825355031004987392,"description":"Unknown IO ID 45"} 
[2026-04-17 11:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760153856001,"power":12950,"unknown_14":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":825355031004987392}} 
[2026-04-17 11:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":46016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:51:58] local.INFO: GPS data processed {"connection_id":46016,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:51:58] local.INFO: Acknowledgment sent {"connection_id":46016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:52:10] local.INFO: TCP Data received {"connection_id":46590,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:52:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:52:10] local.INFO: Processing buffer {"connection_id":46590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:52:10] local.INFO: IMEI packet received {"connection_id":46590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:52:10] local.INFO: IMEI acknowledgment sent {"connection_id":46590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:52:17] local.INFO: TCP Data received {"connection_id":45821,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:52:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:52:17] local.INFO: Processing buffer {"connection_id":45821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:52:17] local.INFO: IMEI packet received {"connection_id":45821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:52:17] local.INFO: IMEI acknowledgment sent {"connection_id":45821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:52:22] local.INFO: TCP Data received {"connection_id":45821,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45821,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:52:22] local.INFO: Processing buffer {"connection_id":45821,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:52:22] local.INFO: IMEI packet received {"connection_id":45821,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":45821,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:52:24] local.INFO: TCP Data received {"connection_id":46590,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46590,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:52:24] local.INFO: Processing buffer {"connection_id":46590,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:52:24] local.INFO: IMEI packet received {"connection_id":46590,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 11:52:24] local.INFO: IMEI acknowledgment sent {"connection_id":46590,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:52:24] local.INFO: TCP Data received {"connection_id":45821,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a197d58012d0b7bc0071ca5b8003500491f..."} 
[2026-04-17 11:52:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a197d58012d0b7bc0071ca5b8003500491f..."} 
[2026-04-17 11:52:24] local.INFO: Processing buffer {"connection_id":45821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a197d58012d0b7bc0071ca5b8003500491f..."} 
[2026-04-17 11:52:24] local.INFO: Packet analysis {"connection_id":45821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:52:24] local.INFO: Extracted packet for processing {"connection_id":45821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:52:24] local.INFO: GPS Element Parsed {"raw_longitude":755727296,"raw_latitude":119317944,"longitude_deg":75.5727296,"latitude_deg":11.9317944,"altitude":53,"angle":73,"satellites":31,"speed":22,"hex_longitude":"2d0b7bc0","hex_latitude":"071ca5b8","is_valid_coordinates":true} 
[2026-04-17 11:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:52:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760154112001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:52:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113468427460411392,"note":"Value kept but may cause issues"} 
[2026-04-17 11:52:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":825777243470123008,"note":"Value kept but may cause issues"} 
[2026-04-17 11:52:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:52:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776406855000,"timestamp_ms":1776406855000,"timestamp_seconds":1776406855,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a197d58"} 
[2026-04-17 11:52:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:52:24] 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-04-17 11:52:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 11:52: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-04-17 11:52:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:52:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:52:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:52:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:52:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:52:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:52:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:52:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:52:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:52:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760154112001,"66":12852,"14":206,"28":31744,"24":22,"16":113468427460411392,"45":825777243470123008},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-04-17 11:52:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:52:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:52:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760154112001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:52:24] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-04-17 11:52:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:52:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113468427460411392,"km_value":113468427460411.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:52:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":825777243470123008,"description":"Unknown IO ID 45"} 
[2026-04-17 11:52:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760154112001,"power":12852,"unknown_14":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":825777243470123008}} 
[2026-04-17 11:52:24] local.INFO: DEBUG: GPS processor result {"connection_id":45821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:52:24] local.INFO: GPS data processed {"connection_id":45821,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:52:24] local.INFO: Acknowledgment sent {"connection_id":45821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:52:28] local.INFO: TCP Data received {"connection_id":46589,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46589,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:52:28] local.INFO: Processing buffer {"connection_id":46589,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:52:28] local.INFO: Packet analysis {"connection_id":46589,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:52:28] local.INFO: Extracted packet for processing {"connection_id":46589,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:52:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760091392001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107049801728,"note":"Value kept but may cause issues"} 
[2026-04-17 11:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776406875000,"timestamp_ms":1776406875000,"timestamp_seconds":1776406875,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a19cb78"} 
[2026-04-17 11:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46589,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46589,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760091392001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9198954107049801728},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760091392001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:52:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:52:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107049801728,"description":"Unknown IO ID 45"} 
[2026-04-17 11:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760091392001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107049801728}} 
[2026-04-17 11:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":46589,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:52:28] local.INFO: GPS data processed {"connection_id":46589,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:52:28] local.INFO: Acknowledgment sent {"connection_id":46589,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:52:28] local.INFO: TCP Data received {"connection_id":46590,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a182980012d34878006b2c418000b007d2f..."} 
[2026-04-17 11:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46590,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a182980012d34878006b2c418000b007d2f..."} 
[2026-04-17 11:52:28] local.INFO: Processing buffer {"connection_id":46590,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a182980012d34878006b2c418000b007d2f..."} 
[2026-04-17 11:52:28] local.INFO: Packet analysis {"connection_id":46590,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a18"} 
[2026-04-17 11:52:28] local.INFO: Extracted packet for processing {"connection_id":46590,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a18"} 
[2026-04-17 11:52:28] local.INFO: GPS Element Parsed {"raw_longitude":758417280,"raw_latitude":112378904,"longitude_deg":75.841728,"latitude_deg":11.2378904,"altitude":11,"angle":125,"satellites":47,"speed":0,"hex_longitude":"2d348780","hex_latitude":"06b2c418","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760127232001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":3767120379578712064,"note":"Value kept but may cause issues"} 
[2026-04-17 11:52:28] 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-04-17 11:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776406768000,"timestamp_ms":1776406768000,"timestamp_seconds":1776406768,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a182980"} 
[2026-04-17 11:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 11:52:28] 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-04-17 11:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46590,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46590,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760127232001,"66":28050,"182":206,"28":21760,"24":0,"16":106618783551979520,"45":3767120379578712064},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,182,28,24,16,45]} 
[2026-04-17 11:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760127232001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:52:28] local.INFO: Unknown IO ID detected {"io_id":182,"value":206,"description":"Unknown IO ID 182"} 
[2026-04-17 11:52:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":3767120379578712064,"description":"Unknown IO ID 45"} 
[2026-04-17 11:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760127232001,"power":28050,"unknown_182":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":3767120379578712064}} 
[2026-04-17 11:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":46590,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20994,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:52:28] local.INFO: GPS data processed {"connection_id":46590,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:52:28] local.INFO: Acknowledgment sent {"connection_id":46590,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:52:51] local.INFO: TCP Data received {"connection_id":45822,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:52:51] local.INFO: Processing buffer {"connection_id":45822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:52:51] local.INFO: IMEI packet received {"connection_id":45822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":45822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:52:56] local.INFO: TCP Data received {"connection_id":45821,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a19b408012d0b9540071cade00038003d1a..."} 
[2026-04-17 11:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a19b408012d0b9540071cade00038003d1a..."} 
[2026-04-17 11:52:56] local.INFO: Processing buffer {"connection_id":45821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a19b408012d0b9540071cade00038003d1a..."} 
[2026-04-17 11:52:56] local.INFO: Packet analysis {"connection_id":45821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:52:56] local.INFO: Extracted packet for processing {"connection_id":45821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:52:56] local.INFO: GPS Element Parsed {"raw_longitude":755733824,"raw_latitude":119320032,"longitude_deg":75.5733824,"latitude_deg":11.9320032,"altitude":56,"angle":61,"satellites":26,"speed":10,"hex_longitude":"2d0b9540","hex_latitude":"071cade0","is_valid_coordinates":true} 
[2026-04-17 11:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760154880001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113468749582958592,"note":"Value kept but may cause issues"} 
[2026-04-17 11:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":827466093330544640,"note":"Value kept but may cause issues"} 
[2026-04-17 11:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776406869000,"timestamp_ms":1776406869000,"timestamp_seconds":1776406869,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a19b408"} 
[2026-04-17 11:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 11:52:56] 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-04-17 11:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45821,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760154880001,"66":13015,"14":206,"28":31744,"24":10,"16":113468749582958592,"45":827466093330544640},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-04-17 11:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760154880001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:52:56] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-04-17 11:52:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113468749582958592,"km_value":113468749582958.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":827466093330544640,"description":"Unknown IO ID 45"} 
[2026-04-17 11:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760154880001,"power":13015,"unknown_14":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":827466093330544640}} 
[2026-04-17 11:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":45821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20995,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:52:56] local.INFO: GPS data processed {"connection_id":45821,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:52:56] local.INFO: Acknowledgment sent {"connection_id":45821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:52:56] local.INFO: TCP Data received {"connection_id":45822,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45822,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:52:56] local.INFO: Processing buffer {"connection_id":45822,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:52:56] local.INFO: IMEI packet received {"connection_id":45822,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":45822,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:52:57] local.INFO: TCP Data received {"connection_id":45822,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:52:57] local.INFO: Processing buffer {"connection_id":45822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:52:57] local.INFO: Packet analysis {"connection_id":45822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:52:57] local.INFO: Extracted packet for processing {"connection_id":45822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:52:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760091392001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107049801728,"note":"Value kept but may cause issues"} 
[2026-04-17 11:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776406875000,"timestamp_ms":1776406875000,"timestamp_seconds":1776406875,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a19cb78"} 
[2026-04-17 11:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760091392001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9198954107049801728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760091392001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:52:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:52:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107049801728,"description":"Unknown IO ID 45"} 
[2026-04-17 11:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760091392001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107049801728}} 
[2026-04-17 11:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":45822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:52:57] local.INFO: GPS data processed {"connection_id":45822,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:52:57] local.INFO: Acknowledgment sent {"connection_id":45822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:53:17] local.INFO: TCP Data received {"connection_id":46591,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:53:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:53:17] local.INFO: Processing buffer {"connection_id":46591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:53:17] local.INFO: IMEI packet received {"connection_id":46591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:53:17] local.INFO: IMEI acknowledgment sent {"connection_id":46591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:53:22] local.INFO: TCP Data received {"connection_id":46591,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46591,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:53:22] local.INFO: Processing buffer {"connection_id":46591,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:53:22] local.INFO: IMEI packet received {"connection_id":46591,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":46591,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:53:24] local.INFO: TCP Data received {"connection_id":46591,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a19eea0012d0b9780071cae78003700491c..."} 
[2026-04-17 11:53:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a19eea0012d0b9780071cae78003700491c..."} 
[2026-04-17 11:53:24] local.INFO: Processing buffer {"connection_id":46591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a19eea0012d0b9780071cae78003700491c..."} 
[2026-04-17 11:53:24] local.INFO: Packet analysis {"connection_id":46591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:53:24] local.INFO: Extracted packet for processing {"connection_id":46591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:53:24] local.INFO: GPS Element Parsed {"raw_longitude":755734400,"raw_latitude":119320184,"longitude_deg":75.57344,"latitude_deg":11.9320184,"altitude":55,"angle":73,"satellites":28,"speed":2,"hex_longitude":"2d0b9780","hex_latitude":"071cae78","is_valid_coordinates":true} 
[2026-04-17 11:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:53:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760158464001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:53:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113468788237664256,"note":"Value kept but may cause issues"} 
[2026-04-17 11:53:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":834643705237200896,"note":"Value kept but may cause issues"} 
[2026-04-17 11:53:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:53:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776406884000,"timestamp_ms":1776406884000,"timestamp_seconds":1776406884,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a19eea0"} 
[2026-04-17 11:53:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:53:24] 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-04-17 11:53:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-17 11:53:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2383,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:53:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:53:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:53:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:53:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:53:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:53:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:53:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:53:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:53:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:53:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760158464001,"66":13004,"14":206,"28":31744,"24":2,"16":113468788237664256,"45":834643705237200896},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-04-17 11:53:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:53:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:53:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760158464001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:53:24] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-04-17 11:53:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:53:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113468788237664256,"km_value":113468788237664.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:53:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":834643705237200896,"description":"Unknown IO ID 45"} 
[2026-04-17 11:53:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760158464001,"power":13004,"unknown_14":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":834643705237200896}} 
[2026-04-17 11:53:24] local.INFO: DEBUG: GPS processor result {"connection_id":46591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:53:24] local.INFO: GPS data processed {"connection_id":46591,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:53:24] local.INFO: Acknowledgment sent {"connection_id":46591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:53:29] local.INFO: TCP Data received {"connection_id":45822,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:53:29] local.INFO: Processing buffer {"connection_id":45822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:53:29] local.INFO: Packet analysis {"connection_id":45822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:53:29] local.INFO: Extracted packet for processing {"connection_id":45822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:53:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760091392001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107049801728,"note":"Value kept but may cause issues"} 
[2026-04-17 11:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776406875000,"timestamp_ms":1776406875000,"timestamp_seconds":1776406875,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a19cb78"} 
[2026-04-17 11:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45822,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:53: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-04-17 11:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760091392001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9198954107049801728},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760091392001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:53:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:53:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107049801728,"description":"Unknown IO ID 45"} 
[2026-04-17 11:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760091392001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107049801728}} 
[2026-04-17 11:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":45822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:53:29] local.INFO: GPS data processed {"connection_id":45822,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:53:29] local.INFO: Acknowledgment sent {"connection_id":45822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:53:51] local.INFO: TCP Data received {"connection_id":46017,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:53:51] local.INFO: Processing buffer {"connection_id":46017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:53:51] local.INFO: IMEI packet received {"connection_id":46017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":46017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:53:56] local.INFO: TCP Data received {"connection_id":46591,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1a40a8012d0b9880071caea8003700471d..."} 
[2026-04-17 11:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46591,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1a40a8012d0b9880071caea8003700471d..."} 
[2026-04-17 11:53:56] local.INFO: Processing buffer {"connection_id":46591,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1a40a8012d0b9880071caea8003700471d..."} 
[2026-04-17 11:53:56] local.INFO: Packet analysis {"connection_id":46591,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1a"} 
[2026-04-17 11:53:56] local.INFO: Extracted packet for processing {"connection_id":46591,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1a"} 
[2026-04-17 11:53:56] local.INFO: GPS Element Parsed {"raw_longitude":755734656,"raw_latitude":119320232,"longitude_deg":75.5734656,"latitude_deg":11.9320232,"altitude":55,"angle":71,"satellites":29,"speed":0,"hex_longitude":"2d0b9880","hex_latitude":"071caea8","is_valid_coordinates":true} 
[2026-04-17 11:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760162304001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113468801122566144,"note":"Value kept but may cause issues"} 
[2026-04-17 11:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835277023934838784,"note":"Value kept but may cause issues"} 
[2026-04-17 11:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776406905000,"timestamp_ms":1776406905000,"timestamp_seconds":1776406905,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1a40a8"} 
[2026-04-17 11:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:53: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-04-17 11:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-17 11:53: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-04-17 11:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46591,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46591,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760162304001,"66":12711,"14":206,"28":31744,"24":0,"16":113468801122566144,"45":835277023934838784},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-04-17 11:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760162304001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:53:56] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-04-17 11:53:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113468801122566144,"km_value":113468801122566.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":835277023934838784,"description":"Unknown IO ID 45"} 
[2026-04-17 11:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760162304001,"power":12711,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":835277023934838784}} 
[2026-04-17 11:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":46591,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":20999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:53:56] local.INFO: GPS data processed {"connection_id":46591,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:53:56] local.INFO: Acknowledgment sent {"connection_id":46591,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:53:56] local.INFO: TCP Data received {"connection_id":46017,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:53:56] local.INFO: Processing buffer {"connection_id":46017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:53:56] local.INFO: IMEI packet received {"connection_id":46017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":46017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:53:57] local.INFO: TCP Data received {"connection_id":46017,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:53:57] local.INFO: Processing buffer {"connection_id":46017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:53:57] local.INFO: Packet analysis {"connection_id":46017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:53:57] local.INFO: Extracted packet for processing {"connection_id":46017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:53:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760091392001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107049801728,"note":"Value kept but may cause issues"} 
[2026-04-17 11:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776406875000,"timestamp_ms":1776406875000,"timestamp_seconds":1776406875,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a19cb78"} 
[2026-04-17 11:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760091392001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9198954107049801728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760091392001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:53:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:53:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107049801728,"description":"Unknown IO ID 45"} 
[2026-04-17 11:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760091392001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107049801728}} 
[2026-04-17 11:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":46017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:53:57] local.INFO: GPS data processed {"connection_id":46017,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:53:57] local.INFO: Acknowledgment sent {"connection_id":46017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:54:04] local.INFO: TCP Data received {"connection_id":45823,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:54:04] local.INFO: Processing buffer {"connection_id":45823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:54:04] local.INFO: IMEI packet received {"connection_id":45823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":45823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:54:17] local.INFO: TCP Data received {"connection_id":46592,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:54:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:54:17] local.INFO: Processing buffer {"connection_id":46592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:54:17] local.INFO: IMEI packet received {"connection_id":46592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:54:17] local.INFO: IMEI acknowledgment sent {"connection_id":46592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:54:22] local.INFO: TCP Data received {"connection_id":46592,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46592,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:54:22] local.INFO: Processing buffer {"connection_id":46592,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:54:22] local.INFO: IMEI packet received {"connection_id":46592,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":46592,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:54:23] local.INFO: TCP Data received {"connection_id":46592,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1a92b0012d0b9880071caea8003700471e..."} 
[2026-04-17 11:54:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1a92b0012d0b9880071caea8003700471e..."} 
[2026-04-17 11:54:23] local.INFO: Processing buffer {"connection_id":46592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1a92b0012d0b9880071caea8003700471e..."} 
[2026-04-17 11:54:23] local.INFO: Packet analysis {"connection_id":46592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1a"} 
[2026-04-17 11:54:23] local.INFO: Extracted packet for processing {"connection_id":46592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1a"} 
[2026-04-17 11:54:23] local.INFO: GPS Element Parsed {"raw_longitude":755734656,"raw_latitude":119320232,"longitude_deg":75.5734656,"latitude_deg":11.9320232,"altitude":55,"angle":71,"satellites":30,"speed":0,"hex_longitude":"2d0b9880","hex_latitude":"071caea8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:54:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760167680001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:54:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113468801122566144,"note":"Value kept but may cause issues"} 
[2026-04-17 11:54:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835558498911561728,"note":"Value kept but may cause issues"} 
[2026-04-17 11:54:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:54:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776406926000,"timestamp_ms":1776406926000,"timestamp_seconds":1776406926,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1a92b0"} 
[2026-04-17 11:54:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:54: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-04-17 11: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":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-17 11:54:23] 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-04-17 11: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-04-17 11:54:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:54:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:54:23] local.INFO: Teltonika packet parsed successfully {"connection_id":46592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:54:23] local.INFO: Passing IMEI to GPS processor {"connection_id":46592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:54:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":46592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:54:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:54:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:54:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:54:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760167680001,"66":12461,"14":206,"28":31744,"24":0,"16":113468801122566144,"45":835558498911561728},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-04-17 11:54:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:54:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:54:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760167680001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:54:23] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-04-17 11:54:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:54:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113468801122566144,"km_value":113468801122566.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:54:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":835558498911561728,"description":"Unknown IO ID 45"} 
[2026-04-17 11:54:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760167680001,"power":12461,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":835558498911561728}} 
[2026-04-17 11:54:23] local.INFO: DEBUG: GPS processor result {"connection_id":46592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:54:23] local.INFO: GPS data processed {"connection_id":46592,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:54:23] local.INFO: Acknowledgment sent {"connection_id":46592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:54:28] local.INFO: TCP Data received {"connection_id":46017,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:54:28] local.INFO: Processing buffer {"connection_id":46017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:54:28] local.INFO: Packet analysis {"connection_id":46017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:54:28] local.INFO: Extracted packet for processing {"connection_id":46017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:54:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760091392001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107049801728,"note":"Value kept but may cause issues"} 
[2026-04-17 11:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776406875000,"timestamp_ms":1776406875000,"timestamp_seconds":1776406875,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a19cb78"} 
[2026-04-17 11:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:54: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-04-17 11:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760091392001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9198954107049801728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760091392001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:54:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:54:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107049801728,"description":"Unknown IO ID 45"} 
[2026-04-17 11:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760091392001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107049801728}} 
[2026-04-17 11:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":46017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:54:28] local.INFO: GPS data processed {"connection_id":46017,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:54:28] local.INFO: Acknowledgment sent {"connection_id":46017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:54:51] local.INFO: TCP Data received {"connection_id":45824,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:54:51] local.INFO: Processing buffer {"connection_id":45824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:54:51] local.INFO: IMEI packet received {"connection_id":45824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":45824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:54:54] local.INFO: TCP Data received {"connection_id":46592,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1ae4b8012d0b9880071caea8003700471f..."} 
[2026-04-17 11:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46592,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1ae4b8012d0b9880071caea8003700471f..."} 
[2026-04-17 11:54:54] local.INFO: Processing buffer {"connection_id":46592,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1ae4b8012d0b9880071caea8003700471f..."} 
[2026-04-17 11:54:54] local.INFO: Packet analysis {"connection_id":46592,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1a"} 
[2026-04-17 11:54:54] local.INFO: Extracted packet for processing {"connection_id":46592,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1a"} 
[2026-04-17 11:54:54] local.INFO: GPS Element Parsed {"raw_longitude":755734656,"raw_latitude":119320232,"longitude_deg":75.5734656,"latitude_deg":11.9320232,"altitude":55,"angle":71,"satellites":31,"speed":0,"hex_longitude":"2d0b9880","hex_latitude":"071caea8","is_valid_coordinates":true} 
[2026-04-17 11:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760173056001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113468801122566144,"note":"Value kept but may cause issues"} 
[2026-04-17 11:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835558498911561728,"note":"Value kept but may cause issues"} 
[2026-04-17 11:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776406947000,"timestamp_ms":1776406947000,"timestamp_seconds":1776406947,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1ae4b8"} 
[2026-04-17 11:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:54: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-04-17 11:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 11:54: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-04-17 11:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46592,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46592,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760173056001,"66":12287,"14":206,"28":31744,"24":0,"16":113468801122566144,"45":835558498911561728},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-04-17 11:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760173056001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:54:54] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-04-17 11:54:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113468801122566144,"km_value":113468801122566.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":835558498911561728,"description":"Unknown IO ID 45"} 
[2026-04-17 11:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760173056001,"power":12287,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":835558498911561728}} 
[2026-04-17 11:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":46592,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:54:55] local.INFO: GPS data processed {"connection_id":46592,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:54:55] local.INFO: Acknowledgment sent {"connection_id":46592,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:54:56] local.INFO: TCP Data received {"connection_id":45824,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45824,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:54:56] local.INFO: Processing buffer {"connection_id":45824,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:54:56] local.INFO: IMEI packet received {"connection_id":45824,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":45824,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:54:57] local.INFO: TCP Data received {"connection_id":45824,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:54:57] local.INFO: Processing buffer {"connection_id":45824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:54:57] local.INFO: Packet analysis {"connection_id":45824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:54:57] local.INFO: Extracted packet for processing {"connection_id":45824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:54:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760091392001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107049801728,"note":"Value kept but may cause issues"} 
[2026-04-17 11:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776406875000,"timestamp_ms":1776406875000,"timestamp_seconds":1776406875,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a19cb78"} 
[2026-04-17 11:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760091392001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9198954107049801728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760091392001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:54:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:54:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107049801728,"description":"Unknown IO ID 45"} 
[2026-04-17 11:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760091392001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107049801728}} 
[2026-04-17 11:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":45824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:54:57] local.INFO: GPS data processed {"connection_id":45824,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:54:57] local.INFO: Acknowledgment sent {"connection_id":45824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:55:17] local.INFO: TCP Data received {"connection_id":46593,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:55:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:55:17] local.INFO: Processing buffer {"connection_id":46593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:55:17] local.INFO: IMEI packet received {"connection_id":46593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:55:17] local.INFO: IMEI acknowledgment sent {"connection_id":46593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:55:22] local.INFO: TCP Data received {"connection_id":46593,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:55:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46593,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:55:22] local.INFO: Processing buffer {"connection_id":46593,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:55:22] local.INFO: IMEI packet received {"connection_id":46593,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:55:22] local.INFO: IMEI acknowledgment sent {"connection_id":46593,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:55:24] local.INFO: TCP Data received {"connection_id":46593,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1b36c0012d0b9880071caea8003700471d..."} 
[2026-04-17 11:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1b36c0012d0b9880071caea8003700471d..."} 
[2026-04-17 11:55:24] local.INFO: Processing buffer {"connection_id":46593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1b36c0012d0b9880071caea8003700471d..."} 
[2026-04-17 11:55:24] local.INFO: Packet analysis {"connection_id":46593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1b"} 
[2026-04-17 11:55:24] local.INFO: Extracted packet for processing {"connection_id":46593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1b"} 
[2026-04-17 11:55:24] local.INFO: GPS Element Parsed {"raw_longitude":755734656,"raw_latitude":119320232,"longitude_deg":75.5734656,"latitude_deg":11.9320232,"altitude":55,"angle":71,"satellites":29,"speed":0,"hex_longitude":"2d0b9880","hex_latitude":"071caea8","is_valid_coordinates":true} 
[2026-04-17 11:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760178432001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113468801122566144,"note":"Value kept but may cause issues"} 
[2026-04-17 11:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835558498911561728,"note":"Value kept but may cause issues"} 
[2026-04-17 11:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776406968000,"timestamp_ms":1776406968000,"timestamp_seconds":1776406968,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1b36c0"} 
[2026-04-17 11:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:55:24] 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-04-17 11:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 11:55:24] 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-04-17 11:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:55:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760178432001,"66":12211,"14":206,"28":31744,"24":0,"16":113468801122566144,"45":835558498911561728},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-04-17 11:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760178432001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:55:24] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-04-17 11:55:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113468801122566144,"km_value":113468801122566.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":835558498911561728,"description":"Unknown IO ID 45"} 
[2026-04-17 11:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760178432001,"power":12211,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":835558498911561728}} 
[2026-04-17 11:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":46593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:55:24] local.INFO: GPS data processed {"connection_id":46593,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:55:24] local.INFO: Acknowledgment sent {"connection_id":46593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:55:29] local.INFO: TCP Data received {"connection_id":45824,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:55:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45824,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:55:29] local.INFO: Processing buffer {"connection_id":45824,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:55:29] local.INFO: Packet analysis {"connection_id":45824,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:55:29] local.INFO: Extracted packet for processing {"connection_id":45824,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:55:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 11:55:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760091392001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:55:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:55:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107049801728,"note":"Value kept but may cause issues"} 
[2026-04-17 11:55:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:55:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776406875000,"timestamp_ms":1776406875000,"timestamp_seconds":1776406875,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a19cb78"} 
[2026-04-17 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-04-17 11:55:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:55:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 11:55:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:55:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45824,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:55:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:55:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45824,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:55: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-04-17 11:55:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:55:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:55:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760091392001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9198954107049801728},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:55:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:55:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:55:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760091392001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:55:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:55:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:55:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:55:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107049801728,"description":"Unknown IO ID 45"} 
[2026-04-17 11:55:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760091392001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107049801728}} 
[2026-04-17 11:55:29] local.INFO: DEBUG: GPS processor result {"connection_id":45824,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:55:29] local.INFO: GPS data processed {"connection_id":45824,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:55:29] local.INFO: Acknowledgment sent {"connection_id":45824,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:55:55] local.INFO: TCP Data received {"connection_id":46593,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1b88c8012d0b9880071caea80037004721..."} 
[2026-04-17 11:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46593,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1b88c8012d0b9880071caea80037004721..."} 
[2026-04-17 11:55:55] local.INFO: Processing buffer {"connection_id":46593,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1b88c8012d0b9880071caea80037004721..."} 
[2026-04-17 11:55:55] local.INFO: Packet analysis {"connection_id":46593,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1b"} 
[2026-04-17 11:55:55] local.INFO: Extracted packet for processing {"connection_id":46593,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1b"} 
[2026-04-17 11:55:55] local.INFO: GPS Element Parsed {"raw_longitude":755734656,"raw_latitude":119320232,"longitude_deg":75.5734656,"latitude_deg":11.9320232,"altitude":55,"angle":71,"satellites":33,"speed":0,"hex_longitude":"2d0b9880","hex_latitude":"071caea8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760183808001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113468801122566144,"note":"Value kept but may cause issues"} 
[2026-04-17 11:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835558498911561728,"note":"Value kept but may cause issues"} 
[2026-04-17 11:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776406989000,"timestamp_ms":1776406989000,"timestamp_seconds":1776406989,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1b88c8"} 
[2026-04-17 11:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:55: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-04-17 11: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":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-17 11:55:55] 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-04-17 11: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-04-17 11:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46593,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46593,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760183808001,"66":12211,"14":206,"28":31744,"24":0,"16":113468801122566144,"45":835558498911561728},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-04-17 11:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760183808001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:55:55] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-04-17 11:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113468801122566144,"km_value":113468801122566.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":835558498911561728,"description":"Unknown IO ID 45"} 
[2026-04-17 11:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760183808001,"power":12211,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":835558498911561728}} 
[2026-04-17 11:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":46593,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:55:55] local.INFO: GPS data processed {"connection_id":46593,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:55:55] local.INFO: Acknowledgment sent {"connection_id":46593,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:56:01] local.INFO: TCP Data received {"connection_id":46594,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:56:01] local.INFO: Processing buffer {"connection_id":46594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:56:01] local.INFO: IMEI packet received {"connection_id":46594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":46594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:56:06] local.INFO: TCP Data received {"connection_id":46594,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46594,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:56:06] local.INFO: Processing buffer {"connection_id":46594,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:56:06] local.INFO: IMEI packet received {"connection_id":46594,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:56:06] local.INFO: IMEI acknowledgment sent {"connection_id":46594,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:56:07] local.INFO: TCP Data received {"connection_id":46594,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:56:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46594,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:56:07] local.INFO: Processing buffer {"connection_id":46594,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a19cb78012d7faa8005afd2f8000b00002c..."} 
[2026-04-17 11:56:07] local.INFO: Packet analysis {"connection_id":46594,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:56:07] local.INFO: Extracted packet for processing {"connection_id":46594,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a19"} 
[2026-04-17 11:56:07] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:56:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760091392001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107049801728,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:56:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776406875000,"timestamp_ms":1776406875000,"timestamp_seconds":1776406875,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a19cb78"} 
[2026-04-17 11:56:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:56:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":99,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 11:56:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1755,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:56:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:56:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:56:07] local.INFO: Teltonika packet parsed successfully {"connection_id":46594,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:56:07] local.INFO: Passing IMEI to GPS processor {"connection_id":46594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:56:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":46594,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:56:07] 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-04-17 11:56:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:56:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:56:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760091392001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9198954107049801728},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:56:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:56:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:56:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760091392001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:56:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:56:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:56:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:56:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107049801728,"description":"Unknown IO ID 45"} 
[2026-04-17 11:56:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760091392001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198954107049801728}} 
[2026-04-17 11:56:07] local.INFO: DEBUG: GPS processor result {"connection_id":46594,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:56:07] local.INFO: GPS data processed {"connection_id":46594,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:56:07] local.INFO: Acknowledgment sent {"connection_id":46594,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:56:17] local.INFO: TCP Data received {"connection_id":45825,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:56:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:56:17] local.INFO: Processing buffer {"connection_id":45825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:56:17] local.INFO: IMEI packet received {"connection_id":45825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:56:17] local.INFO: IMEI acknowledgment sent {"connection_id":45825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:56:22] local.INFO: TCP Data received {"connection_id":45825,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:56:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:56:22] local.INFO: Processing buffer {"connection_id":45825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:56:22] local.INFO: IMEI packet received {"connection_id":45825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:56:22] local.INFO: IMEI acknowledgment sent {"connection_id":45825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:56:24] local.INFO: TCP Data received {"connection_id":45825,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1bdad0012d0b9880071caea80037004720..."} 
[2026-04-17 11:56:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1bdad0012d0b9880071caea80037004720..."} 
[2026-04-17 11:56:24] local.INFO: Processing buffer {"connection_id":45825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1bdad0012d0b9880071caea80037004720..."} 
[2026-04-17 11:56:24] local.INFO: Packet analysis {"connection_id":45825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1b"} 
[2026-04-17 11:56:24] local.INFO: Extracted packet for processing {"connection_id":45825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1b"} 
[2026-04-17 11:56:24] local.INFO: GPS Element Parsed {"raw_longitude":755734656,"raw_latitude":119320232,"longitude_deg":75.5734656,"latitude_deg":11.9320232,"altitude":55,"angle":71,"satellites":32,"speed":0,"hex_longitude":"2d0b9880","hex_latitude":"071caea8","is_valid_coordinates":true} 
[2026-04-17 11:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:56:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760189184001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113468801122566144,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835558498911561728,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:56:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776407010000,"timestamp_ms":1776407010000,"timestamp_seconds":1776407010,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1bdad0"} 
[2026-04-17 11:56:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:56:24] 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-04-17 11:56:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-17 11:56:24] 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-04-17 11:56:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:56:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:56:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:56:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:56:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:56:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:56:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:56:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:56:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:56:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760189184001,"66":12298,"14":206,"28":31744,"24":0,"16":113468801122566144,"45":835558498911561728},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-04-17 11:56:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:56:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:56:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760189184001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:56:24] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-04-17 11:56:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:56:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113468801122566144,"km_value":113468801122566.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:56:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":835558498911561728,"description":"Unknown IO ID 45"} 
[2026-04-17 11:56:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760189184001,"power":12298,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":835558498911561728}} 
[2026-04-17 11:56:24] local.INFO: DEBUG: GPS processor result {"connection_id":45825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21009,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:56:24] local.INFO: GPS data processed {"connection_id":45825,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:56:24] local.INFO: Acknowledgment sent {"connection_id":45825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:56:51] local.INFO: TCP Data received {"connection_id":46018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:56:51] local.INFO: Processing buffer {"connection_id":46018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:56:51] local.INFO: IMEI packet received {"connection_id":46018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":46018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:56:55] local.INFO: TCP Data received {"connection_id":45825,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1c2cd8012d0b9880071caea8003700471d..."} 
[2026-04-17 11:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1c2cd8012d0b9880071caea8003700471d..."} 
[2026-04-17 11:56:55] local.INFO: Processing buffer {"connection_id":45825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1c2cd8012d0b9880071caea8003700471d..."} 
[2026-04-17 11:56:55] local.INFO: Packet analysis {"connection_id":45825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1c"} 
[2026-04-17 11:56:55] local.INFO: Extracted packet for processing {"connection_id":45825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1c"} 
[2026-04-17 11:56:55] local.INFO: GPS Element Parsed {"raw_longitude":755734656,"raw_latitude":119320232,"longitude_deg":75.5734656,"latitude_deg":11.9320232,"altitude":55,"angle":71,"satellites":29,"speed":0,"hex_longitude":"2d0b9880","hex_latitude":"071caea8","is_valid_coordinates":true} 
[2026-04-17 11:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760194560001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113468801122566144,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835558498911561728,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776407031000,"timestamp_ms":1776407031000,"timestamp_seconds":1776407031,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1c2cd8"} 
[2026-04-17 11:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:56: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-04-17 11:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-17 11:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:55] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168049015685632,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:55] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452691,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:55] local.WARNING: Large IO value detected {"io_id":31,"raw_value":4827858800541171713,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:55] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-7342639770978415723,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:55] local.WARNING: Large IO value detected {"io_id":55,"raw_value":20578459659010048,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:55] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832581,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:55] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3660301481506898126,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:55] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3893231822,"corrected_to":0} 
[2026-04-17 11:56:55] local.WARNING: Large IO value detected {"io_id":64,"raw_value":512475635201343549,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:55] local.WARNING: Large IO value detected {"io_id":152,"raw_value":2147949742,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:55] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2801847784,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:55] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2814749767761924,"note":"Value kept but may cause issues"} 
[2026-04-17 11:56:55] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,14,28,24,241,158,16,31,157,136,45,128,174,55,33,10,66,54,29,228,1,240,255,154,4,113,205,64,152,168,239,49,2,147,7,26],"length":534,"final_offset":664,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3893231822,"validated":0}]} 
[2026-04-17 11:56:55] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3963245874850562048,"timestamp_seconds":3963245874850562.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 11:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760194560001,"66":12374,"14":206,"28":31744,"24":0,"16":113468801122566144,"45":835558498911561728},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-04-17 11:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760194560001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:56:55] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-04-17 11:56:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113468801122566144,"km_value":113468801122566.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":835558498911561728,"description":"Unknown IO ID 45"} 
[2026-04-17 11:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760194560001,"power":12374,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":835558498911561728}} 
[2026-04-17 11:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":45825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:56:55] local.INFO: GPS data processed {"connection_id":45825,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:56:55] local.INFO: Acknowledgment sent {"connection_id":45825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:56:56] local.INFO: TCP Data received {"connection_id":46018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:56:56] local.INFO: Processing buffer {"connection_id":46018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:56:56] local.INFO: IMEI packet received {"connection_id":46018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":46018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:57:01] local.INFO: TCP Data received {"connection_id":46018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:57:01] local.INFO: Processing buffer {"connection_id":46018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:57:01] local.INFO: IMEI packet received {"connection_id":46018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":46018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:57:02] local.INFO: TCP Data received {"connection_id":46018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:57:02] local.INFO: Processing buffer {"connection_id":46018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:57:02] local.INFO: Packet analysis {"connection_id":46018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 11:57:02] local.INFO: Extracted packet for processing {"connection_id":46018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 11:57:02] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760160000001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 11:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776407173000,"timestamp_ms":1776407173000,"timestamp_seconds":1776407173,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1e5788"} 
[2026-04-17 11:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:57: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-04-17 11: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 11:57:02] 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-04-17 11: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-04-17 11:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760160000001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760160000001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:57:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:57:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 11:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760160000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 11:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":46018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:57:02] local.INFO: GPS data processed {"connection_id":46018,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:57:02] local.INFO: Acknowledgment sent {"connection_id":46018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:57:06] local.INFO: TCP Data received {"connection_id":46018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:57:06] local.INFO: Processing buffer {"connection_id":46018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:57:06] local.INFO: Packet analysis {"connection_id":46018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 11:57:06] local.INFO: Extracted packet for processing {"connection_id":46018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 11:57:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:57:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760160000001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:57:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:57:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 11:57:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:57:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776407173000,"timestamp_ms":1776407173000,"timestamp_seconds":1776407173,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1e5788"} 
[2026-04-17 11:57:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:57:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 11:57: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-04-17 11: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-04-17 11:57:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:57:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:57:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:57:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:57:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:57:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:57:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:57:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:57:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760160000001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:57:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:57:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:57:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760160000001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:57:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:57:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:57:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:57:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 11:57:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760160000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 11:57:06] local.INFO: DEBUG: GPS processor result {"connection_id":46018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:57:06] local.INFO: GPS data processed {"connection_id":46018,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:57:06] local.INFO: Acknowledgment sent {"connection_id":46018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:57:17] local.INFO: TCP Data received {"connection_id":46595,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:57:17] local.INFO: Processing buffer {"connection_id":46595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:57:17] local.INFO: IMEI packet received {"connection_id":46595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:57:17] local.INFO: IMEI acknowledgment sent {"connection_id":46595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:57:20] local.INFO: TCP Data received {"connection_id":46595,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:57:20] local.INFO: Processing buffer {"connection_id":46595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:57:20] local.INFO: IMEI packet received {"connection_id":46595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":46595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:57:22] local.INFO: TCP Data received {"connection_id":46595,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46595,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:57:22] local.INFO: Processing buffer {"connection_id":46595,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:57:22] local.INFO: IMEI packet received {"connection_id":46595,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":46595,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:57:24] local.INFO: TCP Data received {"connection_id":46595,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1c7ee0012d0b9880071caea8003700471e..."} 
[2026-04-17 11:57:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1c7ee0012d0b9880071caea8003700471e..."} 
[2026-04-17 11:57:24] local.INFO: Processing buffer {"connection_id":46595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1c7ee0012d0b9880071caea8003700471e..."} 
[2026-04-17 11:57:24] local.INFO: Packet analysis {"connection_id":46595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1c"} 
[2026-04-17 11:57:24] local.INFO: Extracted packet for processing {"connection_id":46595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1c"} 
[2026-04-17 11:57:24] local.INFO: GPS Element Parsed {"raw_longitude":755734656,"raw_latitude":119320232,"longitude_deg":75.5734656,"latitude_deg":11.9320232,"altitude":55,"angle":71,"satellites":30,"speed":0,"hex_longitude":"2d0b9880","hex_latitude":"071caea8","is_valid_coordinates":true} 
[2026-04-17 11:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:57:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760199936001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:57:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113468801122566144,"note":"Value kept but may cause issues"} 
[2026-04-17 11:57:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":835558498911561728,"note":"Value kept but may cause issues"} 
[2026-04-17 11:57:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:57:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776407052000,"timestamp_ms":1776407052000,"timestamp_seconds":1776407052,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1c7ee0"} 
[2026-04-17 11:57:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:57:24] 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-04-17 11:57:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 11:57:24] 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-04-17 11:57:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:57:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:57:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:57:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:57:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:57:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:57:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:57:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:57:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:57:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760199936001,"66":12374,"14":206,"28":31744,"24":0,"16":113468801122566144,"45":835558498911561728},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,28,24,16,45]} 
[2026-04-17 11:57:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:57:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:57:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760199936001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:57:24] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-04-17 11:57:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:57:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113468801122566144,"km_value":113468801122566.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:57:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":835558498911561728,"description":"Unknown IO ID 45"} 
[2026-04-17 11:57:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760199936001,"power":12374,"unknown_14":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":835558498911561728}} 
[2026-04-17 11:57:24] local.INFO: DEBUG: GPS processor result {"connection_id":46595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:57:24] local.INFO: GPS data processed {"connection_id":46595,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:57:24] local.INFO: Acknowledgment sent {"connection_id":46595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:57:51] local.INFO: TCP Data received {"connection_id":45826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:57:51] local.INFO: Processing buffer {"connection_id":45826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:57:51] local.INFO: IMEI packet received {"connection_id":45826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":45826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:57:55] local.INFO: TCP Data received {"connection_id":46595,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1f1ec0012d0bfb00071cbd600033005920..."} 
[2026-04-17 11:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46595,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1f1ec0012d0bfb00071cbd600033005920..."} 
[2026-04-17 11:57:55] local.INFO: Processing buffer {"connection_id":46595,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1f1ec0012d0bfb00071cbd600033005920..."} 
[2026-04-17 11:57:55] local.INFO: Packet analysis {"connection_id":46595,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1f"} 
[2026-04-17 11:57:55] local.INFO: Extracted packet for processing {"connection_id":46595,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1f"} 
[2026-04-17 11:57:55] local.INFO: GPS Element Parsed {"raw_longitude":755759872,"raw_latitude":119324000,"longitude_deg":75.5759872,"latitude_deg":11.9324,"altitude":51,"angle":89,"satellites":32,"speed":10,"hex_longitude":"2d0bfb00","hex_latitude":"071cbd60","is_valid_coordinates":true} 
[2026-04-17 11:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760247296001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113470016598310912,"note":"Value kept but may cause issues"} 
[2026-04-17 11:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":858357972025847808,"note":"Value kept but may cause issues"} 
[2026-04-17 11:57:55] 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-04-17 11:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776407224000,"timestamp_ms":1776407224000,"timestamp_seconds":1776407224,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1f1ec0"} 
[2026-04-17 11:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:57: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-04-17 11:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-17 11:57:55] 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-04-17 11:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46595,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46595,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760247296001,"66":13928,"250":206,"28":31744,"24":10,"16":113470016598310912,"45":858357972025847808},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-04-17 11:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760247296001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:57:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:57:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113470016598310912,"km_value":113470016598310.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":858357972025847808,"description":"Unknown IO ID 45"} 
[2026-04-17 11:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760247296001,"power":13928,"unknown_250":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":858357972025847808}} 
[2026-04-17 11:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":46595,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21014,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:57:55] local.INFO: GPS data processed {"connection_id":46595,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:57:55] local.INFO: Acknowledgment sent {"connection_id":46595,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:57:56] local.INFO: TCP Data received {"connection_id":45826,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45826,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:57:56] local.INFO: Processing buffer {"connection_id":45826,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:57:56] local.INFO: IMEI packet received {"connection_id":45826,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":45826,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:57:58] local.INFO: TCP Data received {"connection_id":45826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:57:58] local.INFO: Processing buffer {"connection_id":45826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:57:58] local.INFO: Packet analysis {"connection_id":45826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 11:57:58] local.INFO: Extracted packet for processing {"connection_id":45826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 11:57:58] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:57:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760160000001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:57:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:57:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 11:57:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:57:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776407173000,"timestamp_ms":1776407173000,"timestamp_seconds":1776407173,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1e5788"} 
[2026-04-17 11:57:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:57:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:57:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 11:57:58] 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-04-17 11:57:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:57:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:57:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:57:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:57:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:57:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:57:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:57:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:57:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:57:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760160000001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:57:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:57:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:57:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760160000001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:57:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:57:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:57:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:57:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 11:57:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760160000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 11:57:58] local.INFO: DEBUG: GPS processor result {"connection_id":45826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:57:58] local.INFO: GPS data processed {"connection_id":45826,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:57:58] local.INFO: Acknowledgment sent {"connection_id":45826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:58:17] local.INFO: TCP Data received {"connection_id":46019,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:58:17] local.INFO: Processing buffer {"connection_id":46019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:58:17] local.INFO: IMEI packet received {"connection_id":46019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":46019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:58:23] local.INFO: TCP Data received {"connection_id":46019,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46019,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:58:23] local.INFO: Processing buffer {"connection_id":46019,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:58:23] local.INFO: IMEI packet received {"connection_id":46019,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":46019,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:58:24] local.INFO: TCP Data received {"connection_id":46019,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1f2a78012d0bfec0071cbdd00031004c1e..."} 
[2026-04-17 11:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1f2a78012d0bfec0071cbdd00031004c1e..."} 
[2026-04-17 11:58:24] local.INFO: Processing buffer {"connection_id":46019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1f2a78012d0bfec0071cbdd00031004c1e..."} 
[2026-04-17 11:58:24] local.INFO: Packet analysis {"connection_id":46019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1f"} 
[2026-04-17 11:58:24] local.INFO: Extracted packet for processing {"connection_id":46019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1f"} 
[2026-04-17 11:58:24] local.INFO: GPS Element Parsed {"raw_longitude":755760832,"raw_latitude":119324112,"longitude_deg":75.5760832,"latitude_deg":11.9324112,"altitude":49,"angle":76,"satellites":30,"speed":16,"hex_longitude":"2d0bfec0","hex_latitude":"071cbdd0","is_valid_coordinates":true} 
[2026-04-17 11:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:58:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760249344001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:58:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113470063842951168,"note":"Value kept but may cause issues"} 
[2026-04-17 11:58:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":863283784118525952,"note":"Value kept but may cause issues"} 
[2026-04-17 11:58:24] 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-04-17 11:58:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776407227000,"timestamp_ms":1776407227000,"timestamp_seconds":1776407227,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1f2a78"} 
[2026-04-17 11:58:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:58:24] 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-04-17 11:58:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-17 11:58:24] 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-04-17 11:58:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:58:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:58:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:58:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:58:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:58:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:58:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:58:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:58:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:58:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760249344001,"66":14189,"250":206,"28":31744,"24":16,"16":113470063842951168,"45":863283784118525952},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-04-17 11:58:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:58:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:58:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760249344001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:58:24] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:58:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:58:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113470063842951168,"km_value":113470063842951.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:58:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":863283784118525952,"description":"Unknown IO ID 45"} 
[2026-04-17 11:58:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760249344001,"power":14189,"unknown_250":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":863283784118525952}} 
[2026-04-17 11:58:24] local.INFO: DEBUG: GPS processor result {"connection_id":46019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21016,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:58:24] local.INFO: GPS data processed {"connection_id":46019,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:58:24] local.INFO: Acknowledgment sent {"connection_id":46019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:58:29] local.INFO: TCP Data received {"connection_id":45826,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45826,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:58:29] local.INFO: Processing buffer {"connection_id":45826,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:58:29] local.INFO: Packet analysis {"connection_id":45826,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 11:58:29] local.INFO: Extracted packet for processing {"connection_id":45826,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 11:58:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760160000001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 11:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776407173000,"timestamp_ms":1776407173000,"timestamp_seconds":1776407173,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1e5788"} 
[2026-04-17 11:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 11:58:29] 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-04-17 11: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-04-17 11:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45826,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45826,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:58: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-04-17 11:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760160000001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760160000001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:58:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 11:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760160000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 11:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":45826,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:58:29] local.INFO: GPS data processed {"connection_id":45826,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:58:29] local.INFO: Acknowledgment sent {"connection_id":45826,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:58:51] local.INFO: TCP Data received {"connection_id":46020,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:58:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:58:51] local.INFO: Processing buffer {"connection_id":46020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:58:51] local.INFO: IMEI packet received {"connection_id":46020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:58:51] local.INFO: IMEI acknowledgment sent {"connection_id":46020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:58:55] local.INFO: TCP Data received {"connection_id":46019,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1f3e00012d0c0a40071cbf700031005721..."} 
[2026-04-17 11:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1f3e00012d0c0a40071cbf700031005721..."} 
[2026-04-17 11:58:55] local.INFO: Processing buffer {"connection_id":46019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1f3e00012d0c0a40071cbf700031005721..."} 
[2026-04-17 11:58:55] local.INFO: Packet analysis {"connection_id":46019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1f"} 
[2026-04-17 11:58:55] local.INFO: Extracted packet for processing {"connection_id":46019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1f"} 
[2026-04-17 11:58:55] local.INFO: GPS Element Parsed {"raw_longitude":755763776,"raw_latitude":119324528,"longitude_deg":75.5763776,"latitude_deg":11.9324528,"altitude":49,"angle":87,"satellites":33,"speed":29,"hex_longitude":"2d0c0a40","hex_latitude":"071cbf70","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760250112001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113470205576871936,"note":"Value kept but may cause issues"} 
[2026-04-17 11:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":864339315281219584,"note":"Value kept but may cause issues"} 
[2026-04-17 11:58:55] 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-04-17 11:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776407232000,"timestamp_ms":1776407232000,"timestamp_seconds":1776407232,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1f3e00"} 
[2026-04-17 11:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:58: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-04-17 11: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-17 11:58:55] 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-04-17 11: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-04-17 11:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46019,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760250112001,"66":14352,"250":206,"28":31744,"24":29,"16":113470205576871936,"45":864339315281219584},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-04-17 11:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760250112001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:58:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:58:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113470205576871936,"km_value":113470205576871.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":864339315281219584,"description":"Unknown IO ID 45"} 
[2026-04-17 11:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760250112001,"power":14352,"unknown_250":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":864339315281219584}} 
[2026-04-17 11:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":46019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21018,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:58:55] local.INFO: GPS data processed {"connection_id":46019,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:58:55] local.INFO: Acknowledgment sent {"connection_id":46019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:58:56] local.INFO: TCP Data received {"connection_id":46020,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:58:56] local.INFO: Processing buffer {"connection_id":46020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:58:56] local.INFO: IMEI packet received {"connection_id":46020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":46020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:58:57] local.INFO: TCP Data received {"connection_id":46020,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:58:57] local.INFO: Processing buffer {"connection_id":46020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:58:57] local.INFO: Packet analysis {"connection_id":46020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 11:58:57] local.INFO: Extracted packet for processing {"connection_id":46020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 11:58:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11:58: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-04-17 11:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760160000001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 11:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776407173000,"timestamp_ms":1776407173000,"timestamp_seconds":1776407173,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1e5788"} 
[2026-04-17 11:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:58:57] local.INFO: IO Element 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-04-17 11:58:57] 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-04-17 11:58: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-04-17 11:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760160000001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760160000001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:58:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:58:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 11:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760160000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 11:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":46020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21019,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:58:57] local.INFO: GPS data processed {"connection_id":46020,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:58:57] local.INFO: Acknowledgment sent {"connection_id":46020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:59:10] local.INFO: TCP Data received {"connection_id":46596,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46596,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:59:10] local.INFO: Processing buffer {"connection_id":46596,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 11:59:10] local.INFO: IMEI packet received {"connection_id":46596,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 11:59:10] local.INFO: IMEI acknowledgment sent {"connection_id":46596,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:59:11] local.INFO: TCP Data received {"connection_id":46596,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1dee10012d37fdc006add1b0000c009430..."} 
[2026-04-17 11:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1dee10012d37fdc006add1b0000c009430..."} 
[2026-04-17 11:59:11] local.INFO: Processing buffer {"connection_id":46596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1dee10012d37fdc006add1b0000c009430..."} 
[2026-04-17 11:59:11] local.INFO: Packet analysis {"connection_id":46596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1d"} 
[2026-04-17 11:59:11] local.INFO: Extracted packet for processing {"connection_id":46596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1d"} 
[2026-04-17 11:59:11] local.INFO: GPS Element Parsed {"raw_longitude":758644160,"raw_latitude":112054704,"longitude_deg":75.864416,"latitude_deg":11.2054704,"altitude":12,"angle":148,"satellites":48,"speed":35,"hex_longitude":"2d37fdc0","hex_latitude":"06add1b0","is_valid_coordinates":true} 
[2026-04-17 11: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-04-17 11:59:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760224000001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4024740351931211776,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:59:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776407146000,"timestamp_ms":1776407146000,"timestamp_seconds":1776407146,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1dee10"} 
[2026-04-17 11:59:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:59:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 11:59:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11: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-04-17 11:59:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:59:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:59:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:59:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:59:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:59:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:59:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:59:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:59:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760224000001,"66":28430,"194":206,"28":21760,"24":35,"16":106618783551979520,"45":4024740351931211776},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,28,24,16,45]} 
[2026-04-17 11:59:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:59:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:59:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760224000001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:59:11] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-04-17 11:59:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:59:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:59:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4024740351931211776,"description":"Unknown IO ID 45"} 
[2026-04-17 11:59:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760224000001,"power":28430,"unknown_194":206,"unknown_28":21760,"ignition":35,"odometer":null,"unknown_45":4024740351931211776}} 
[2026-04-17 11:59:12] local.INFO: DEBUG: GPS processor result {"connection_id":46596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21020,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:59:12] local.INFO: GPS data processed {"connection_id":46596,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:59:12] local.INFO: Acknowledgment sent {"connection_id":46596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:59:22] local.INFO: TCP Data received {"connection_id":45750,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:59:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:59:22] local.INFO: Processing buffer {"connection_id":45750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:59:22] local.INFO: IMEI packet received {"connection_id":45750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 11:59:22] local.INFO: IMEI acknowledgment sent {"connection_id":45750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:59:23] local.INFO: TCP Data received {"connection_id":45750,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:59:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:59:23] local.INFO: Processing buffer {"connection_id":45750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:59:23] local.INFO: IMEI packet received {"connection_id":45750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:59:23] local.INFO: IMEI acknowledgment sent {"connection_id":45750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:59:27] local.INFO: TCP Data received {"connection_id":45750,"ip":"117.225.160.238","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45750,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:59:27] local.INFO: Processing buffer {"connection_id":45750,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 11:59:27] local.INFO: IMEI packet received {"connection_id":45750,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 11:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":45750,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:59:28] local.INFO: TCP Data received {"connection_id":46020,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:59:28] local.INFO: Processing buffer {"connection_id":46020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:59:28] local.INFO: Packet analysis {"connection_id":46020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 11:59:28] local.INFO: Extracted packet for processing {"connection_id":46020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 11:59:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760160000001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776407173000,"timestamp_ms":1776407173000,"timestamp_seconds":1776407173,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1e5788"} 
[2026-04-17 11:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 11:59:28] 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-04-17 11: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-04-17 11:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760160000001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760160000001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:59:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:59:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 11:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760160000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 11:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":46020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21021,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:59:28] local.INFO: GPS data processed {"connection_id":46020,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:59:28] local.INFO: Acknowledgment sent {"connection_id":46020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:59:28] local.INFO: TCP Data received {"connection_id":45750,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1f6510012d0c2e80071cbda80032005b1f..."} 
[2026-04-17 11:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1f6510012d0c2e80071cbda80032005b1f..."} 
[2026-04-17 11:59:28] local.INFO: Processing buffer {"connection_id":45750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1f6510012d0c2e80071cbda80032005b1f..."} 
[2026-04-17 11:59:28] local.INFO: Packet analysis {"connection_id":45750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1f"} 
[2026-04-17 11:59:28] local.INFO: Extracted packet for processing {"connection_id":45750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1f"} 
[2026-04-17 11:59:28] local.INFO: GPS Element Parsed {"raw_longitude":755773056,"raw_latitude":119324072,"longitude_deg":75.5773056,"latitude_deg":11.9324072,"altitude":50,"angle":91,"satellites":31,"speed":44,"hex_longitude":"2d0c2e80","hex_latitude":"071cbda8","is_valid_coordinates":true} 
[2026-04-17 11:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760251392001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113470647958503424,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867576277513498624,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:28] 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-04-17 11:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776407242000,"timestamp_ms":1776407242000,"timestamp_seconds":1776407242,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1f6510"} 
[2026-04-17 11:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-17 11:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733140992,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:28] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505331029245952,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2585698752,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7845458567367753728,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18637310514817038,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:28] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5044295469745111296,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3891986638,"corrected_to":0} 
[2026-04-17 11:59:28] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:28] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84736740149370030,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:28] local.WARNING: Large IO value detected {"io_id":160,"raw_value":14637077316505344,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:28] local.WARNING: Large IO value detected {"io_id":11,"raw_value":-7349866772096352205,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:28] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,250,28,24,241,158,16,32,157,42,45,192,189,49,30,10,66,51,255,128,1,240,153,154,4,113,205,181,188,8,239,55,251,2,147,7,52,15,206,184,160,11],"length":628,"final_offset":758,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3891986638,"validated":0}]} 
[2026-04-17 11:59:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3530917907105906688,"timestamp_seconds":3530917907105906.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 11:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 11:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 11:59:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 11:59:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760251392001,"66":14298,"250":206,"28":31744,"24":44,"16":113470647958503424,"45":867576277513498624},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-04-17 11:59:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 11:59:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 11:59:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760251392001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:59:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:59:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 11:59:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113470647958503424,"km_value":113470647958503.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:59:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":867576277513498624,"description":"Unknown IO ID 45"} 
[2026-04-17 11:59:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760251392001,"power":14298,"unknown_250":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":867576277513498624}} 
[2026-04-17 11:59:29] local.INFO: DEBUG: GPS processor result {"connection_id":45750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:59:29] local.INFO: GPS data processed {"connection_id":45750,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:59:29] local.INFO: Acknowledgment sent {"connection_id":45750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:59:44] local.INFO: TCP Data received {"connection_id":46596,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1e3848012d3823c006ad97a0000d00872e..."} 
[2026-04-17 11:59:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46596,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1e3848012d3823c006ad97a0000d00872e..."} 
[2026-04-17 11:59:44] local.INFO: Processing buffer {"connection_id":46596,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1e3848012d3823c006ad97a0000d00872e..."} 
[2026-04-17 11:59:44] local.INFO: Packet analysis {"connection_id":46596,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 11:59:44] local.INFO: Extracted packet for processing {"connection_id":46596,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 11:59:44] local.INFO: GPS Element Parsed {"raw_longitude":758653888,"raw_latitude":112039840,"longitude_deg":75.8653888,"latitude_deg":11.203984,"altitude":13,"angle":135,"satellites":46,"speed":33,"hex_longitude":"2d3823c0","hex_latitude":"06ad97a0","is_valid_coordinates":true} 
[2026-04-17 11:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:59:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760229376001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4034591976112369664,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:59:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776407165000,"timestamp_ms":1776407165000,"timestamp_seconds":1776407165,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1e3848"} 
[2026-04-17 11:59:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:59:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 11:59:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 11:59:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 11:59:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:59:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:59:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:59:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46596,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:59:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:59:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46596,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 11:59:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:59:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 11:59:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 11:59:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760229376001,"66":28398,"194":206,"28":21760,"24":33,"16":106618783551979520,"45":4034591976112369664},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,28,24,16,45]} 
[2026-04-17 11:59:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 11:59:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 11:59:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760229376001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:59:44] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-04-17 11:59:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 11:59:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:59:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4034591976112369664,"description":"Unknown IO ID 45"} 
[2026-04-17 11:59:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760229376001,"power":28398,"unknown_194":206,"unknown_28":21760,"ignition":33,"odometer":null,"unknown_45":4034591976112369664}} 
[2026-04-17 11:59:44] local.INFO: DEBUG: GPS processor result {"connection_id":46596,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21023,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:59:44] local.INFO: GPS data processed {"connection_id":46596,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:59:44] local.INFO: Acknowledgment sent {"connection_id":46596,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 11:59:51] local.INFO: TCP Data received {"connection_id":46597,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:59:51] local.INFO: Processing buffer {"connection_id":46597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:59:51] local.INFO: IMEI packet received {"connection_id":46597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 11:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":46597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 11:59:56] local.INFO: TCP Data received {"connection_id":46597,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46597,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:59:56] local.INFO: Processing buffer {"connection_id":46597,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 11:59:56] local.INFO: IMEI packet received {"connection_id":46597,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 11:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":46597,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 11:59:57] local.INFO: TCP Data received {"connection_id":46597,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:59:57] local.INFO: Processing buffer {"connection_id":46597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 11:59:57] local.INFO: Packet analysis {"connection_id":46597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 11:59:57] local.INFO: Extracted packet for processing {"connection_id":46597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 11:59:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 11:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 11:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760160000001,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 11:59:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 11:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776407173000,"timestamp_ms":1776407173000,"timestamp_seconds":1776407173,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1e5788"} 
[2026-04-17 11:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 11:59:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 11:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 11:59:57] 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-04-17 11:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 11:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 11:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 11:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 11:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 11:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 11:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 11:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 11:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760160000001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 11:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 11:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 11:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760160000001,"description":"Unknown IO ID 0"} 
[2026-04-17 11:59:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 11:59:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 11:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 11:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 11:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760160000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 11:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":46597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21024,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 11:59:57] local.INFO: GPS data processed {"connection_id":46597,"processed":1,"errors":0,"total":1} 
[2026-04-17 11:59:57] local.INFO: Acknowledgment sent {"connection_id":46597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:00:00] local.INFO: TCP Data received {"connection_id":45750,"ip":"117.225.160.238","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a20e7c8012d0d9700071d29d80027002f23..."} 
[2026-04-17 12:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45750,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a20e7c8012d0d9700071d29d80027002f23..."} 
[2026-04-17 12:00:00] local.INFO: Processing buffer {"connection_id":45750,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a20e7c8012d0d9700071d29d80027002f23..."} 
[2026-04-17 12:00:00] local.INFO: Packet analysis {"connection_id":45750,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a20"} 
[2026-04-17 12:00:00] local.INFO: Extracted packet for processing {"connection_id":45750,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a20"} 
[2026-04-17 12:00:00] local.INFO: GPS Element Parsed {"raw_longitude":755865344,"raw_latitude":119351768,"longitude_deg":75.5865344,"latitude_deg":11.9351768,"altitude":39,"angle":47,"satellites":35,"speed":45,"hex_longitude":"2d0d9700","hex_latitude":"071d29d8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760277248001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":971581281413605376,"note":"Value kept but may cause issues"} 
[2026-04-17 12:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113475484091678720,"note":"Value kept but may cause issues"} 
[2026-04-17 12:00:00] 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-04-17 12:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776407341000,"timestamp_ms":1776407341000,"timestamp_seconds":1776407341,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a20e7c8"} 
[2026-04-17 12:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:00: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-04-17 12:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-17 12:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2089,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45750,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45750,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.160.238","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760277248001,"66":13928,"45":971581281413605376,"28":31744,"24":45,"16":113475484091678720},"client_ip":"117.225.160.238","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,45,28,24,16]} 
[2026-04-17 12:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760277248001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":971581281413605376,"description":"Unknown IO ID 45"} 
[2026-04-17 12:00:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113475484091678720,"km_value":113475484091678.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:00:00] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454760277248001,"power":13928,"unknown_45":971581281413605376,"unknown_28":31744,"ignition":45,"odometer":null}} 
[2026-04-17 12:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":45750,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:00:00] local.INFO: GPS data processed {"connection_id":45750,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:00:00] local.INFO: Acknowledgment sent {"connection_id":45750,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:00:08] local.INFO: TCP Data received {"connection_id":46021,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:00:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:00:08] local.INFO: Processing buffer {"connection_id":46021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:00:08] local.INFO: IMEI packet received {"connection_id":46021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:00:08] local.INFO: IMEI acknowledgment sent {"connection_id":46021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:00:09] local.INFO: TCP Data received {"connection_id":46021,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:00:09] local.INFO: Processing buffer {"connection_id":46021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:00:09] local.INFO: IMEI packet received {"connection_id":46021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":46021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:00:15] local.INFO: TCP Data received {"connection_id":46021,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46021,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:00:15] local.INFO: Processing buffer {"connection_id":46021,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:00:15] local.INFO: IMEI packet received {"connection_id":46021,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:00:15] local.INFO: IMEI acknowledgment sent {"connection_id":46021,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:00:16] local.INFO: TCP Data received {"connection_id":46021,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1e8668012d38494006ad5d20000e009c2b..."} 
[2026-04-17 12:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1e8668012d38494006ad5d20000e009c2b..."} 
[2026-04-17 12:00:16] local.INFO: Processing buffer {"connection_id":46021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1e8668012d38494006ad5d20000e009c2b..."} 
[2026-04-17 12:00:16] local.INFO: Packet analysis {"connection_id":46021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 12:00:16] local.INFO: Extracted packet for processing {"connection_id":46021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 12:00:16] local.INFO: GPS Element Parsed {"raw_longitude":758663488,"raw_latitude":112024864,"longitude_deg":75.8663488,"latitude_deg":11.2024864,"altitude":14,"angle":156,"satellites":43,"speed":33,"hex_longitude":"2d384940","hex_latitude":"06ad5d20","is_valid_coordinates":true} 
[2026-04-17 12:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760234240001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4045288025223569408,"note":"Value kept but may cause issues"} 
[2026-04-17 12:00:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,194,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776407185000,"timestamp_ms":1776407185000,"timestamp_seconds":1776407185,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1e8668"} 
[2026-04-17 12:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:00:16] 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-04-17 12:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 12:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760234240001,"66":28398,"194":206,"28":21760,"24":33,"16":106618783551979520,"45":4045288025223569408},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,194,28,24,16,45]} 
[2026-04-17 12:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760234240001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:00:16] local.INFO: Unknown IO ID detected {"io_id":194,"value":206,"description":"Unknown IO ID 194"} 
[2026-04-17 12:00:16] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 12:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4045288025223569408,"description":"Unknown IO ID 45"} 
[2026-04-17 12:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760234240001,"power":28398,"unknown_194":206,"unknown_28":21760,"ignition":33,"odometer":null,"unknown_45":4045288025223569408}} 
[2026-04-17 12:00:16] local.INFO: DEBUG: GPS processor result {"connection_id":46021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21026,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:00:16] local.INFO: GPS data processed {"connection_id":46021,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:00:16] local.INFO: Acknowledgment sent {"connection_id":46021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:00:17] local.INFO: TCP Data received {"connection_id":46021,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1ed870012d385d0006ad1df0000e00a52c..."} 
[2026-04-17 12:00:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1ed870012d385d0006ad1df0000e00a52c..."} 
[2026-04-17 12:00:17] local.INFO: Processing buffer {"connection_id":46021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1ed870012d385d0006ad1df0000e00a52c..."} 
[2026-04-17 12:00:17] local.INFO: Packet analysis {"connection_id":46021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 12:00:17] local.INFO: Extracted packet for processing {"connection_id":46021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 12:00:17] local.INFO: GPS Element Parsed {"raw_longitude":758668544,"raw_latitude":112008688,"longitude_deg":75.8668544,"latitude_deg":11.2008688,"altitude":14,"angle":165,"satellites":44,"speed":0,"hex_longitude":"2d385d00","hex_latitude":"06ad1df0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:00:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760239360001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:00:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:00:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4055843336846385152,"note":"Value kept but may cause issues"} 
[2026-04-17 12:00:17] 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-04-17 12:00:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776407206000,"timestamp_ms":1776407206000,"timestamp_seconds":1776407206,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1ed870"} 
[2026-04-17 12:00:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:00:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 12:00:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:00:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:00:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:00:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:00:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:00:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:00:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:00:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:00:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:00:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760239360001,"66":28256,"196":206,"28":21760,"24":0,"16":106618783551979520,"45":4055843336846385152},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,45]} 
[2026-04-17 12:00:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:00:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:00:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760239360001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:00:17] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-17 12:00:17] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 12:00:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:00:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4055843336846385152,"description":"Unknown IO ID 45"} 
[2026-04-17 12:00:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760239360001,"power":28256,"unknown_196":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4055843336846385152}} 
[2026-04-17 12:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":46021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21027,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:00:17] local.INFO: GPS data processed {"connection_id":46021,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:00:17] local.INFO: Acknowledgment sent {"connection_id":46021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:00:28] local.INFO: TCP Data received {"connection_id":46597,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 12:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46597,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 12:00:28] local.INFO: Processing buffer {"connection_id":46597,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 12:00:28] local.INFO: Packet analysis {"connection_id":46597,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 12:00:28] local.INFO: Extracted packet for processing {"connection_id":46597,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 12:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760160000001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776407173000,"timestamp_ms":1776407173000,"timestamp_seconds":1776407173,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1e5788"} 
[2026-04-17 12:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 12:00:28] 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-04-17 12:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46597,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46597,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760160000001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760160000001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:00:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:00:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760160000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":46597,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21028,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:00:28] local.INFO: GPS data processed {"connection_id":46597,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:00:28] local.INFO: Acknowledgment sent {"connection_id":46597,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:00:49] local.INFO: TCP Data received {"connection_id":46021,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1f2a78012d386ec006acdb08000e00a42c..."} 
[2026-04-17 12:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1f2a78012d386ec006acdb08000e00a42c..."} 
[2026-04-17 12:00:49] local.INFO: Processing buffer {"connection_id":46021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1f2a78012d386ec006acdb08000e00a42c..."} 
[2026-04-17 12:00:49] local.INFO: Packet analysis {"connection_id":46021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1f"} 
[2026-04-17 12:00:49] local.INFO: Extracted packet for processing {"connection_id":46021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1f"} 
[2026-04-17 12:00:49] local.INFO: GPS Element Parsed {"raw_longitude":758673088,"raw_latitude":111991560,"longitude_deg":75.8673088,"latitude_deg":11.199156,"altitude":14,"angle":164,"satellites":44,"speed":0,"hex_longitude":"2d386ec0","hex_latitude":"06acdb08","is_valid_coordinates":true} 
[2026-04-17 12:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:00:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760244736001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:00:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:00:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4061402467632279552,"note":"Value kept but may cause issues"} 
[2026-04-17 12:00:49] 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-04-17 12:00:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776407227000,"timestamp_ms":1776407227000,"timestamp_seconds":1776407227,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1f2a78"} 
[2026-04-17 12:00:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:00:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:00:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 12:00:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:00:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:00:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:00:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:00:49] local.INFO: Teltonika packet parsed successfully {"connection_id":46021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:00:49] local.INFO: Passing IMEI to GPS processor {"connection_id":46021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:00:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":46021,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:00:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:00:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:00:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:00:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760244736001,"66":28354,"196":206,"28":21760,"24":0,"16":106618783551979520,"45":4061402467632279552},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,28,24,16,45]} 
[2026-04-17 12:00:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:00:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:00:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760244736001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:00:49] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-17 12:00:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 12:00:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:00:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4061402467632279552,"description":"Unknown IO ID 45"} 
[2026-04-17 12:00:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760244736001,"power":28354,"unknown_196":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4061402467632279552}} 
[2026-04-17 12:00:49] local.INFO: DEBUG: GPS processor result {"connection_id":46021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21029,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:00:49] local.INFO: GPS data processed {"connection_id":46021,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:00:49] local.INFO: Acknowledgment sent {"connection_id":46021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:00:51] local.INFO: TCP Data received {"connection_id":46598,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:00:51] local.INFO: Processing buffer {"connection_id":46598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:00:51] local.INFO: IMEI packet received {"connection_id":46598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":46598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:00:56] local.INFO: TCP Data received {"connection_id":46598,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46598,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:00:56] local.INFO: Processing buffer {"connection_id":46598,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:00:56] local.INFO: IMEI packet received {"connection_id":46598,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":46598,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:00:57] local.INFO: TCP Data received {"connection_id":46598,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 12:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 12:00:57] local.INFO: Processing buffer {"connection_id":46598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 12:00:57] local.INFO: Packet analysis {"connection_id":46598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 12:00:57] local.INFO: Extracted packet for processing {"connection_id":46598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 12:00:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:00:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760160000001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:00:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:00:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:00:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:00:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776407173000,"timestamp_ms":1776407173000,"timestamp_seconds":1776407173,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1e5788"} 
[2026-04-17 12:00:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:00:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:00:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 12:00:57] 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-04-17 12:00:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:00:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:00:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:00:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:00:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:00:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:00:57] 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-04-17 12:00:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:00:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:00:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760160000001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:00:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:00:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:00:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760160000001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:00:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:00:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:00:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:00:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:00:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760160000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":46598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21030,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:00:57] local.INFO: GPS data processed {"connection_id":46598,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:00:57] local.INFO: Acknowledgment sent {"connection_id":46598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:01:05] local.INFO: TCP Data received {"connection_id":46022,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:01:05] local.INFO: Processing buffer {"connection_id":46022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:01:05] local.INFO: IMEI packet received {"connection_id":46022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:01:05] local.INFO: IMEI acknowledgment sent {"connection_id":46022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:01:10] local.INFO: TCP Data received {"connection_id":46022,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:01:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46022,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:01:10] local.INFO: Processing buffer {"connection_id":46022,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:01:10] local.INFO: IMEI packet received {"connection_id":46022,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:01:10] local.INFO: IMEI acknowledgment sent {"connection_id":46022,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:01:11] local.INFO: TCP Data received {"connection_id":46022,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1f7c80012d38844006ac8af8000700a42e..."} 
[2026-04-17 12:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1f7c80012d38844006ac8af8000700a42e..."} 
[2026-04-17 12:01:11] local.INFO: Processing buffer {"connection_id":46022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1f7c80012d38844006ac8af8000700a42e..."} 
[2026-04-17 12:01:11] local.INFO: Packet analysis {"connection_id":46022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1f"} 
[2026-04-17 12:01:11] local.INFO: Extracted packet for processing {"connection_id":46022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1f"} 
[2026-04-17 12:01:11] local.INFO: GPS Element Parsed {"raw_longitude":758678592,"raw_latitude":111971064,"longitude_deg":75.8678592,"latitude_deg":11.1971064,"altitude":7,"angle":164,"satellites":46,"speed":0,"hex_longitude":"2d388440","hex_latitude":"06ac8af8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760250112001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4066398648464508928,"note":"Value kept but may cause issues"} 
[2026-04-17 12:01:11] 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-04-17 12:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776407248000,"timestamp_ms":1776407248000,"timestamp_seconds":1776407248,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1f7c80"} 
[2026-04-17 12:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:01:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 12:01: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-04-17 12: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-04-17 12:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760250112001,"66":28376,"186":206,"28":21760,"24":0,"16":106618783551979520,"45":4066398648464508928},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,28,24,16,45]} 
[2026-04-17 12:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760250112001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:01:11] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-17 12:01:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 12:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4066398648464508928,"description":"Unknown IO ID 45"} 
[2026-04-17 12:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760250112001,"power":28376,"unknown_186":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4066398648464508928}} 
[2026-04-17 12:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":46022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21031,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:01:11] local.INFO: GPS data processed {"connection_id":46022,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:01:11] local.INFO: Acknowledgment sent {"connection_id":46022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:01:17] local.INFO: TCP Data received {"connection_id":46022,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2082380100000000000000000000000000..."} 
[2026-04-17 12:01:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2082380100000000000000000000000000..."} 
[2026-04-17 12:01:17] local.INFO: Processing buffer {"connection_id":46022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2082380100000000000000000000000000..."} 
[2026-04-17 12:01:17] local.INFO: Packet analysis {"connection_id":46022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a20"} 
[2026-04-17 12:01:17] local.INFO: Extracted packet for processing {"connection_id":46022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a20"} 
[2026-04-17 12:01: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-04-17 12:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:01:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760255488001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:01:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:01:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4072450360458541056,"note":"Value kept but may cause issues"} 
[2026-04-17 12:01:17] 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-04-17 12:01:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776407315000,"timestamp_ms":1776407315000,"timestamp_seconds":1776407315,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a208238"} 
[2026-04-17 12:01:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:01:17] 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-04-17 12:01:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 12:01:17] 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-04-17 12:01:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:01:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:01:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:01:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:01:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:01:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:01:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:01:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:01:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:01:17] local.INFO: DEBUG: GPS processor result {"connection_id":46022,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 12:01:17] local.INFO: GPS data processed {"connection_id":46022,"processed":0,"errors":0,"total":1} 
[2026-04-17 12:01:17] local.INFO: Acknowledgment sent {"connection_id":46022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:01:28] local.INFO: TCP Data received {"connection_id":46598,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 12:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46598,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 12:01:28] local.INFO: Processing buffer {"connection_id":46598,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1e5788012d7faa8005afd2f8000a00002d..."} 
[2026-04-17 12:01:28] local.INFO: Packet analysis {"connection_id":46598,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 12:01:28] local.INFO: Extracted packet for processing {"connection_id":46598,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1e"} 
[2026-04-17 12:01:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760160000001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776407173000,"timestamp_ms":1776407173000,"timestamp_seconds":1776407173,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1e5788"} 
[2026-04-17 12:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 12:01:28] 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-04-17 12:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46598,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46598,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:01:28] 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-04-17 12:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760160000001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760160000001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:01:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:01:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760160000001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":46598,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:01:28] local.INFO: GPS data processed {"connection_id":46598,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:01:28] local.INFO: Acknowledgment sent {"connection_id":46598,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:01:49] local.INFO: TCP Data received {"connection_id":46022,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a1fedc8012d38af4006abec18000600a52c..."} 
[2026-04-17 12:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a1fedc8012d38af4006abec18000600a52c..."} 
[2026-04-17 12:01:49] local.INFO: Processing buffer {"connection_id":46022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a1fedc8012d38af4006abec18000600a52c..."} 
[2026-04-17 12:01:49] local.INFO: Packet analysis {"connection_id":46022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a1f"} 
[2026-04-17 12:01:49] local.INFO: Extracted packet for processing {"connection_id":46022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a1f"} 
[2026-04-17 12:01:49] local.INFO: GPS Element Parsed {"raw_longitude":758689600,"raw_latitude":111930392,"longitude_deg":75.86896,"latitude_deg":11.1930392,"altitude":6,"angle":165,"satellites":44,"speed":47,"hex_longitude":"2d38af40","hex_latitude":"06abec18","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:01:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:01:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,186,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 12:01:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776407277000,"timestamp_ms":1776407277000,"timestamp_seconds":1776407277,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a1fedc8"} 
[2026-04-17 12:01:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:01: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 12:01:49] 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-04-17 12: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-04-17 12:01:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:01:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:01:49] local.INFO: Teltonika packet parsed successfully {"connection_id":46022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:01:49] local.INFO: Passing IMEI to GPS processor {"connection_id":46022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:01:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":46022,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:01:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:01:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:01:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:01:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28419,"186":206,"28":21760,"24":47,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,28,24,16]} 
[2026-04-17 12:01:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:01:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:01:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 12:01:49] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-17 12:01:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 12:01:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:01:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28419,"unknown_186":206,"unknown_28":21760,"ignition":47,"odometer":null}} 
[2026-04-17 12:01:49] local.INFO: DEBUG: GPS processor result {"connection_id":46022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21033,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:01:49] local.INFO: GPS data processed {"connection_id":46022,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:01:49] local.INFO: Acknowledgment sent {"connection_id":46022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:01:52] local.INFO: TCP Data received {"connection_id":46023,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:01:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:01:52] local.INFO: Processing buffer {"connection_id":46023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:01:52] local.INFO: IMEI packet received {"connection_id":46023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:01:52] local.INFO: IMEI acknowledgment sent {"connection_id":46023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:01:56] local.INFO: TCP Data received {"connection_id":46023,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:01:56] local.INFO: Processing buffer {"connection_id":46023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:01:56] local.INFO: IMEI packet received {"connection_id":46023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":46023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:02:01] local.INFO: TCP Data received {"connection_id":46023,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46023,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:02:01] local.INFO: Processing buffer {"connection_id":46023,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:02:01] local.INFO: IMEI packet received {"connection_id":46023,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:02:01] local.INFO: IMEI acknowledgment sent {"connection_id":46023,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:02:02] local.INFO: TCP Data received {"connection_id":46023,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:02:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:02:02] local.INFO: Processing buffer {"connection_id":46023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:02:02] local.INFO: Packet analysis {"connection_id":46023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:02:02] local.INFO: Extracted packet for processing {"connection_id":46023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:02:02] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:02:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760236288001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:02:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:02:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:02:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:02:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776407474000,"timestamp_ms":1776407474000,"timestamp_seconds":1776407474,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a22ef50"} 
[2026-04-17 12:02:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:02:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:02:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:02:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:02:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:02:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:02:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:02:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:02:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:02:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:02:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:02:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:02:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760236288001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:02:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:02:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:02:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760236288001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:02:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:02:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:02:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:02:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:02:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760236288001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:02:02] local.INFO: DEBUG: GPS processor result {"connection_id":46023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21034,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:02:02] local.INFO: GPS data processed {"connection_id":46023,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:02:02] local.INFO: Acknowledgment sent {"connection_id":46023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:02:06] local.INFO: TCP Data received {"connection_id":46023,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:02:06] local.INFO: Processing buffer {"connection_id":46023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:02:06] local.INFO: Packet analysis {"connection_id":46023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:02:06] local.INFO: Extracted packet for processing {"connection_id":46023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:02:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760236288001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776407474000,"timestamp_ms":1776407474000,"timestamp_seconds":1776407474,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a22ef50"} 
[2026-04-17 12:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46023,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760236288001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760236288001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:02:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:02:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760236288001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":46023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:02:06] local.INFO: GPS data processed {"connection_id":46023,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:02:06] local.INFO: Acknowledgment sent {"connection_id":46023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:02:39] local.INFO: TCP Data received {"connection_id":45828,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:02:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:02:39] local.INFO: Processing buffer {"connection_id":45828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:02:39] local.INFO: IMEI packet received {"connection_id":45828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:02:39] local.INFO: IMEI acknowledgment sent {"connection_id":45828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:02:44] local.INFO: TCP Data received {"connection_id":45828,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:02:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:02:44] local.INFO: Processing buffer {"connection_id":45828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:02:44] local.INFO: IMEI packet received {"connection_id":45828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:02:44] local.INFO: IMEI acknowledgment sent {"connection_id":45828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:02:45] local.INFO: TCP Data received {"connection_id":45828,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a22eb68012d39920006a89de0000a00a530..."} 
[2026-04-17 12:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a22eb68012d39920006a89de0000a00a530..."} 
[2026-04-17 12:02:45] local.INFO: Processing buffer {"connection_id":45828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a22eb68012d39920006a89de0000a00a530..."} 
[2026-04-17 12:02:45] local.INFO: Packet analysis {"connection_id":45828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:02:45] local.INFO: Extracted packet for processing {"connection_id":45828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:02:45] local.INFO: GPS Element Parsed {"raw_longitude":758747648,"raw_latitude":111713760,"longitude_deg":75.8747648,"latitude_deg":11.171376,"altitude":10,"angle":165,"satellites":48,"speed":0,"hex_longitude":"2d399200","hex_latitude":"06a89de0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760307712001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4142045048389947392,"note":"Value kept but may cause issues"} 
[2026-04-17 12:02:45] 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-04-17 12:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776407473000,"timestamp_ms":1776407473000,"timestamp_seconds":1776407473,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a22eb68"} 
[2026-04-17 12:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:02: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-04-17 12: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 12:02:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45828,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760307712001,"66":28430,"250":206,"28":21760,"24":0,"16":106618783551979520,"45":4142045048389947392},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16,45]} 
[2026-04-17 12:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760307712001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:02:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:02:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 12:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4142045048389947392,"description":"Unknown IO ID 45"} 
[2026-04-17 12:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760307712001,"power":28430,"unknown_250":206,"unknown_28":21760,"ignition":0,"odometer":null,"unknown_45":4142045048389947392}} 
[2026-04-17 12:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":45828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21036,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:02:45] local.INFO: GPS data processed {"connection_id":45828,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:02:45] local.INFO: Acknowledgment sent {"connection_id":45828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:02:51] local.INFO: TCP Data received {"connection_id":46599,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:02:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:02:51] local.INFO: Processing buffer {"connection_id":46599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:02:51] local.INFO: IMEI packet received {"connection_id":46599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:02:51] local.INFO: IMEI acknowledgment sent {"connection_id":46599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:02:56] local.INFO: TCP Data received {"connection_id":46599,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:02:56] local.INFO: Processing buffer {"connection_id":46599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:02:56] local.INFO: IMEI packet received {"connection_id":46599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":46599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:03:01] local.INFO: TCP Data received {"connection_id":46599,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46599,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:03:01] local.INFO: Processing buffer {"connection_id":46599,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:03:01] local.INFO: IMEI packet received {"connection_id":46599,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:03:01] local.INFO: IMEI acknowledgment sent {"connection_id":46599,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:03:02] local.INFO: TCP Data received {"connection_id":46599,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:03:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:03:02] local.INFO: Processing buffer {"connection_id":46599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:03:02] local.INFO: Packet analysis {"connection_id":46599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:03:02] local.INFO: Extracted packet for processing {"connection_id":46599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:03:02] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:03:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760236288001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:03:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:03:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:03:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:03:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776407474000,"timestamp_ms":1776407474000,"timestamp_seconds":1776407474,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a22ef50"} 
[2026-04-17 12:03:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:03:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:03:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:03:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:03:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:03:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:03:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:03:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:03:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:03:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:03:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:03:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:03:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:03:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760236288001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:03:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:03:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:03:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760236288001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:03:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:03:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:03:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:03:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:03:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760236288001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:03:02] local.INFO: DEBUG: GPS processor result {"connection_id":46599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:03:02] local.INFO: GPS data processed {"connection_id":46599,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:03:02] local.INFO: Acknowledgment sent {"connection_id":46599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:03:10] local.INFO: TCP Data received {"connection_id":46024,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:03:10] local.INFO: Processing buffer {"connection_id":46024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:03:10] local.INFO: IMEI packet received {"connection_id":46024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":46024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:03:14] local.INFO: TCP Data received {"connection_id":46024,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:03:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:03:14] local.INFO: Processing buffer {"connection_id":46024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:03:14] local.INFO: IMEI packet received {"connection_id":46024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:03:14] local.INFO: IMEI acknowledgment sent {"connection_id":46024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:03:16] local.INFO: TCP Data received {"connection_id":46024,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a23f1200100000000000000000000000000..."} 
[2026-04-17 12:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a23f1200100000000000000000000000000..."} 
[2026-04-17 12:03:16] local.INFO: Processing buffer {"connection_id":46024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a23f1200100000000000000000000000000..."} 
[2026-04-17 12:03:16] local.INFO: Packet analysis {"connection_id":46024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a23"} 
[2026-04-17 12:03:16] local.INFO: Extracted packet for processing {"connection_id":46024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a23"} 
[2026-04-17 12:03: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-04-17 12: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-04-17 12:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760313088001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4148378235360370688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:03:16] 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-04-17 12:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776407540000,"timestamp_ms":1776407540000,"timestamp_seconds":1776407540,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a23f120"} 
[2026-04-17 12:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:03:16] 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-04-17 12: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":111,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 12:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":879,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":46024,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 12:03:16] local.INFO: GPS data processed {"connection_id":46024,"processed":0,"errors":0,"total":1} 
[2026-04-17 12:03:16] local.INFO: Acknowledgment sent {"connection_id":46024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:03:33] local.INFO: TCP Data received {"connection_id":46599,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:03:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46599,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:03:33] local.INFO: Processing buffer {"connection_id":46599,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:03:33] local.INFO: Packet analysis {"connection_id":46599,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:03:33] local.INFO: Extracted packet for processing {"connection_id":46599,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:03:33] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:03:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760236288001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:03:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:03:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:03:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:03:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776407474000,"timestamp_ms":1776407474000,"timestamp_seconds":1776407474,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a22ef50"} 
[2026-04-17 12:03:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:03:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:03:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:03:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:03:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:03:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:03:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46599,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:03:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:03:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46599,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:03:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:03:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:03:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:03:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760236288001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:03:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:03:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:03:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760236288001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:03:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:03:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:03:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:03:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:03:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760236288001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:03:33] local.INFO: DEBUG: GPS processor result {"connection_id":46599,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:03:33] local.INFO: GPS data processed {"connection_id":46599,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:03:33] local.INFO: Acknowledgment sent {"connection_id":46599,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:03:48] local.INFO: TCP Data received {"connection_id":46024,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a236480012d39bc0006a806c0001200a32c..."} 
[2026-04-17 12:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a236480012d39bc0006a806c0001200a32c..."} 
[2026-04-17 12:03:48] local.INFO: Processing buffer {"connection_id":46024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a236480012d39bc0006a806c0001200a32c..."} 
[2026-04-17 12:03:48] local.INFO: Packet analysis {"connection_id":46024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a23"} 
[2026-04-17 12:03:48] local.INFO: Extracted packet for processing {"connection_id":46024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a23"} 
[2026-04-17 12:03:48] local.INFO: GPS Element Parsed {"raw_longitude":758758400,"raw_latitude":111675072,"longitude_deg":75.87584,"latitude_deg":11.1675072,"altitude":18,"angle":163,"satellites":44,"speed":39,"hex_longitude":"2d39bc00","hex_latitude":"06a806c0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:03:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:03:48] 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-04-17 12:03:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776407504000,"timestamp_ms":1776407504000,"timestamp_seconds":1776407504,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a236480"} 
[2026-04-17 12:03:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:03:48] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 12:03:48] 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-04-17 12: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-04-17 12:03:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:03:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:03:48] local.INFO: Teltonika packet parsed successfully {"connection_id":46024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:03:48] local.INFO: Passing IMEI to GPS processor {"connection_id":46024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:03:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":46024,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:03:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:03:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:03:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:03:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28398,"250":206,"28":21760,"24":39,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,28,24,16]} 
[2026-04-17 12:03:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:03:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:03:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 12:03:48] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:03:48] local.INFO: Unknown IO ID detected {"io_id":28,"value":21760,"description":"Unknown IO ID 28"} 
[2026-04-17 12:03:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:03:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28398,"unknown_250":206,"unknown_28":21760,"ignition":39,"odometer":null}} 
[2026-04-17 12:03:48] local.INFO: DEBUG: GPS processor result {"connection_id":46024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21039,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:03:48] local.INFO: GPS data processed {"connection_id":46024,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:03:48] local.INFO: Acknowledgment sent {"connection_id":46024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:03:51] local.INFO: TCP Data received {"connection_id":45829,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:03:51] local.INFO: Processing buffer {"connection_id":45829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:03:51] local.INFO: IMEI packet received {"connection_id":45829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":45829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:03:56] local.INFO: TCP Data received {"connection_id":45829,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:03:56] local.INFO: Processing buffer {"connection_id":45829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:03:56] local.INFO: IMEI packet received {"connection_id":45829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":45829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:03:57] local.INFO: TCP Data received {"connection_id":45829,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:03:57] local.INFO: Processing buffer {"connection_id":45829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:03:57] local.INFO: Packet analysis {"connection_id":45829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:03:57] local.INFO: Extracted packet for processing {"connection_id":45829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:03:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760236288001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776407474000,"timestamp_ms":1776407474000,"timestamp_seconds":1776407474,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a22ef50"} 
[2026-04-17 12:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760236288001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760236288001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:03:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:03:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760236288001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":45829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21040,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:03:57] local.INFO: GPS data processed {"connection_id":45829,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:03:57] local.INFO: Acknowledgment sent {"connection_id":45829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:04:03] local.INFO: TCP Data received {"connection_id":45751,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:04:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:04:03] local.INFO: Processing buffer {"connection_id":45751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:04:03] local.INFO: IMEI packet received {"connection_id":45751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:04:03] local.INFO: IMEI acknowledgment sent {"connection_id":45751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:04:04] local.INFO: TCP Data received {"connection_id":45751,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:04:04] local.INFO: Processing buffer {"connection_id":45751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:04:04] local.INFO: IMEI packet received {"connection_id":45751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":45751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:04:04] local.INFO: TCP Data received {"connection_id":45751,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:04:04] local.INFO: Processing buffer {"connection_id":45751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:04:04] local.INFO: IMEI packet received {"connection_id":45751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":45751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:04:09] local.INFO: TCP Data received {"connection_id":46025,"ip":"117.224.226.179","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:04:09] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:04:09] local.INFO: IMEI packet received {"connection_id":46025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":46025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:04:09] local.INFO: TCP Data received {"connection_id":45751,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45751,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:04:09] local.INFO: Processing buffer {"connection_id":45751,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:04:09] local.INFO: IMEI packet received {"connection_id":45751,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":45751,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:04:10] local.INFO: TCP Data received {"connection_id":45751,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a23b688012d39d30006a7c5c8001500a12e..."} 
[2026-04-17 12:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a23b688012d39d30006a7c5c8001500a12e..."} 
[2026-04-17 12:04:10] local.INFO: Processing buffer {"connection_id":45751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a23b688012d39d30006a7c5c8001500a12e..."} 
[2026-04-17 12:04:10] local.INFO: Packet analysis {"connection_id":45751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a23"} 
[2026-04-17 12:04:10] local.INFO: Extracted packet for processing {"connection_id":45751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a23"} 
[2026-04-17 12:04:10] local.INFO: GPS Element Parsed {"raw_longitude":758764288,"raw_latitude":111658440,"longitude_deg":75.8764288,"latitude_deg":11.165844,"altitude":21,"angle":161,"satellites":46,"speed":0,"hex_longitude":"2d39d300","hex_latitude":"06a7c5c8","is_valid_coordinates":true} 
[2026-04-17 12:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760321024001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4160200184372314112,"note":"Value kept but may cause issues"} 
[2026-04-17 12:04:10] 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-04-17 12:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776407525000,"timestamp_ms":1776407525000,"timestamp_seconds":1776407525,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a23b688"} 
[2026-04-17 12:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 12:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:04:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760321024001,"66":28354,"193":206,"19":48128,"24":0,"16":106618783551979520,"45":4160200184372314112},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,19,24,16,45]} 
[2026-04-17 12:04:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:04:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:04:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760321024001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:04:10] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-17 12:04:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:04:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:04:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4160200184372314112,"description":"Unknown IO ID 45"} 
[2026-04-17 12:04:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760321024001,"power":28354,"unknown_193":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4160200184372314112}} 
[2026-04-17 12:04:11] local.INFO: DEBUG: GPS processor result {"connection_id":45751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21041,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:04:11] local.INFO: GPS data processed {"connection_id":45751,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:04:11] local.INFO: Acknowledgment sent {"connection_id":45751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:04:11] local.INFO: TCP Data received {"connection_id":46025,"ip":"117.224.226.179","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:04:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:04:11] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:04:11] local.INFO: IMEI packet received {"connection_id":46025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:04:11] local.INFO: IMEI acknowledgment sent {"connection_id":46025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:04:13] local.INFO: TCP Data received {"connection_id":46025,"ip":"117.224.226.179","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:04:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:04:13] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:04:13] local.INFO: IMEI packet received {"connection_id":46025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:04:13] local.INFO: IMEI acknowledgment sent {"connection_id":46025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:04:14] local.INFO: TCP Data received {"connection_id":46025,"ip":"117.224.226.179","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a249530012d0eef80071e2788002a00551e..."} 
[2026-04-17 12:04:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a249530012d0eef80071e2788002a00551e..."} 
[2026-04-17 12:04:14] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a249530012d0eef80071e2788002a00551e..."} 
[2026-04-17 12:04:14] local.INFO: Packet analysis {"connection_id":46025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a24"} 
[2026-04-17 12:04:14] local.INFO: Extracted packet for processing {"connection_id":46025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a24"} 
[2026-04-17 12:04:14] local.INFO: GPS Element Parsed {"raw_longitude":755953536,"raw_latitude":119416712,"longitude_deg":75.5953536,"latitude_deg":11.9416712,"altitude":42,"angle":85,"satellites":30,"speed":43,"hex_longitude":"2d0eef80","hex_latitude":"071e2788","is_valid_coordinates":true} 
[2026-04-17 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-04-17 12:04:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113478816986300416,"note":"Value kept but may cause issues"} 
[2026-04-17 12:04:14] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,5,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 12:04:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776407582000,"timestamp_ms":1776407582000,"timestamp_seconds":1776407582,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a249530"} 
[2026-04-17 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-04-17 12:04: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-17 12:04:14] 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-04-17 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-04-17 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-04-17 12:04:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:04:14] local.INFO: Teltonika packet parsed successfully {"connection_id":46025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:04:14] local.INFO: Passing IMEI to GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:04:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:04:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.226.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:04:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:04:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:04:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":13993,"5":206,"28":31744,"24":43,"16":113478816986300416},"client_ip":"117.224.226.179","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16]} 
[2026-04-17 12:04:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:04:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:04:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 12:04:14] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-17 12:04:14] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:04:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113478816986300416,"km_value":113478816986300.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:04:14] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":13993,"unknown_5":206,"unknown_28":31744,"ignition":43,"odometer":null}} 
[2026-04-17 12:04:14] local.INFO: DEBUG: GPS processor result {"connection_id":46025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:04:14] local.INFO: GPS data processed {"connection_id":46025,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:04:14] local.INFO: Acknowledgment sent {"connection_id":46025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:04:28] local.INFO: TCP Data received {"connection_id":45829,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:04:28] local.INFO: Processing buffer {"connection_id":45829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:04:28] local.INFO: Packet analysis {"connection_id":45829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:04:28] local.INFO: Extracted packet for processing {"connection_id":45829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:04:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760236288001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776407474000,"timestamp_ms":1776407474000,"timestamp_seconds":1776407474,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a22ef50"} 
[2026-04-17 12:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:04: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-04-17 12: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-04-17 12:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:04:28] 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-04-17 12:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760236288001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760236288001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:04:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:04:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760236288001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":45829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:04:28] local.INFO: GPS data processed {"connection_id":45829,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:04:28] local.INFO: Acknowledgment sent {"connection_id":45829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:04:42] local.INFO: TCP Data received {"connection_id":45751,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a240890012d39ea4006a78aa00019009830..."} 
[2026-04-17 12:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a240890012d39ea4006a78aa00019009830..."} 
[2026-04-17 12:04:42] local.INFO: Processing buffer {"connection_id":45751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a240890012d39ea4006a78aa00019009830..."} 
[2026-04-17 12:04:42] local.INFO: Packet analysis {"connection_id":45751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a24"} 
[2026-04-17 12:04:42] local.INFO: Extracted packet for processing {"connection_id":45751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a24"} 
[2026-04-17 12:04:42] local.INFO: GPS Element Parsed {"raw_longitude":758770240,"raw_latitude":111643296,"longitude_deg":75.877024,"latitude_deg":11.1643296,"altitude":25,"angle":152,"satellites":48,"speed":0,"hex_longitude":"2d39ea40","hex_latitude":"06a78aa0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:04:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760326400001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:04:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4166674108832401408,"note":"Value kept but may cause issues"} 
[2026-04-17 12:04:42] 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-04-17 12:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776407546000,"timestamp_ms":1776407546000,"timestamp_seconds":1776407546,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a240890"} 
[2026-04-17 12:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:04:42] 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-04-17 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 12:04:42] 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-04-17 12: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-04-17 12:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":45751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":45751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":45751,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760326400001,"66":28452,"193":206,"19":48128,"24":0,"16":106618783551979520,"45":4166674108832401408},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,19,24,16,45]} 
[2026-04-17 12:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760326400001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:04:42] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-17 12:04:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:04:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4166674108832401408,"description":"Unknown IO ID 45"} 
[2026-04-17 12:04:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760326400001,"power":28452,"unknown_193":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4166674108832401408}} 
[2026-04-17 12:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":45751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21044,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:04:42] local.INFO: GPS data processed {"connection_id":45751,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:04:42] local.INFO: Acknowledgment sent {"connection_id":45751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:04:46] local.INFO: TCP Data received {"connection_id":46025,"ip":"117.224.226.179","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a24b470012d0f1280071e2ca8002b004e1e..."} 
[2026-04-17 12:04:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a24b470012d0f1280071e2ca8002b004e1e..."} 
[2026-04-17 12:04:46] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a24b470012d0f1280071e2ca8002b004e1e..."} 
[2026-04-17 12:04:46] local.INFO: Packet analysis {"connection_id":46025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a24"} 
[2026-04-17 12:04:46] local.INFO: Extracted packet for processing {"connection_id":46025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a24"} 
[2026-04-17 12:04:46] local.INFO: GPS Element Parsed {"raw_longitude":755962496,"raw_latitude":119418024,"longitude_deg":75.5962496,"latitude_deg":11.9418024,"altitude":43,"angle":78,"satellites":30,"speed":44,"hex_longitude":"2d0f1280","hex_latitude":"071e2ca8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:04:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760340992001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:04:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113479246483030016,"note":"Value kept but may cause issues"} 
[2026-04-17 12:04:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1076219604023871488,"note":"Value kept but may cause issues"} 
[2026-04-17 12:04:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:04:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776407590000,"timestamp_ms":1776407590000,"timestamp_seconds":1776407590,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a24b470"} 
[2026-04-17 12:04:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:04:46] 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-04-17 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 12:04:46] 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-04-17 12: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-04-17 12:04:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:04:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:04:46] local.INFO: Teltonika packet parsed successfully {"connection_id":46025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:04:46] local.INFO: Passing IMEI to GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:04:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:04:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.226.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:04:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:04:46] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:04:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760340992001,"66":13993,"5":206,"28":31744,"24":44,"16":113479246483030016,"45":1076219604023871488},"client_ip":"117.224.226.179","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16,45]} 
[2026-04-17 12:04:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:04:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:04:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760340992001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:04:46] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-17 12:04:46] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:04:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113479246483030016,"km_value":113479246483030.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:04:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":1076219604023871488,"description":"Unknown IO ID 45"} 
[2026-04-17 12:04:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760340992001,"power":13993,"unknown_5":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1076219604023871488}} 
[2026-04-17 12:04:46] local.INFO: DEBUG: GPS processor result {"connection_id":46025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:04:46] local.INFO: GPS data processed {"connection_id":46025,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:04:46] local.INFO: Acknowledgment sent {"connection_id":46025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:04:51] local.INFO: TCP Data received {"connection_id":45830,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:04:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:04:51] local.INFO: Processing buffer {"connection_id":45830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:04:51] local.INFO: IMEI packet received {"connection_id":45830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:04:51] local.INFO: IMEI acknowledgment sent {"connection_id":45830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:04:56] local.INFO: TCP Data received {"connection_id":45830,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:04:56] local.INFO: Processing buffer {"connection_id":45830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:04:56] local.INFO: IMEI packet received {"connection_id":45830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":45830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:04:57] local.INFO: TCP Data received {"connection_id":45830,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:04:57] local.INFO: Processing buffer {"connection_id":45830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:04:57] local.INFO: Packet analysis {"connection_id":45830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:04:57] local.INFO: Extracted packet for processing {"connection_id":45830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:04:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760236288001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776407474000,"timestamp_ms":1776407474000,"timestamp_seconds":1776407474,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a22ef50"} 
[2026-04-17 12:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760236288001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760236288001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:04:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:04:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760236288001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":45830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:04:57] local.INFO: GPS data processed {"connection_id":45830,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:04:57] local.INFO: Acknowledgment sent {"connection_id":45830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:05:10] local.INFO: TCP Data received {"connection_id":45831,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:05:10] local.INFO: Processing buffer {"connection_id":45831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:05:10] local.INFO: IMEI packet received {"connection_id":45831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:05:10] local.INFO: IMEI acknowledgment sent {"connection_id":45831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:05:14] local.INFO: TCP Data received {"connection_id":45831,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:05:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45831,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:05:14] local.INFO: Processing buffer {"connection_id":45831,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:05:14] local.INFO: IMEI packet received {"connection_id":45831,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:05:14] local.INFO: IMEI acknowledgment sent {"connection_id":45831,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:05:16] local.INFO: TCP Data received {"connection_id":45831,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a244ee0012d3a18c006a75ff0001c006f31..."} 
[2026-04-17 12:05:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a244ee0012d3a18c006a75ff0001c006f31..."} 
[2026-04-17 12:05:16] local.INFO: Processing buffer {"connection_id":45831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a244ee0012d3a18c006a75ff0001c006f31..."} 
[2026-04-17 12:05:16] local.INFO: Packet analysis {"connection_id":45831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a24"} 
[2026-04-17 12:05:16] local.INFO: Extracted packet for processing {"connection_id":45831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a24"} 
[2026-04-17 12:05:16] local.INFO: GPS Element Parsed {"raw_longitude":758782144,"raw_latitude":111632368,"longitude_deg":75.8782144,"latitude_deg":11.1632368,"altitude":28,"angle":111,"satellites":49,"speed":32,"hex_longitude":"2d3a18c0","hex_latitude":"06a75ff0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:05:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760331776001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:05:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:05:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4173218402037047296,"note":"Value kept but may cause issues"} 
[2026-04-17 12:05:16] 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-04-17 12:05:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776407564000,"timestamp_ms":1776407564000,"timestamp_seconds":1776407564,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a244ee0"} 
[2026-04-17 12:05:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:05:16] 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-04-17 12: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 12:05:16] 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-04-17 12: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-04-17 12:05:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:05:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:05:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:05:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:05:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:05:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:05:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:05:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:05:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760331776001,"66":28354,"193":206,"19":48128,"24":32,"16":106618783551979520,"45":4173218402037047296},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,19,24,16,45]} 
[2026-04-17 12:05:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:05:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:05:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760331776001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:05:16] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-17 12:05:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:05:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:05:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4173218402037047296,"description":"Unknown IO ID 45"} 
[2026-04-17 12:05:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760331776001,"power":28354,"unknown_193":206,"unknown_19":48128,"ignition":32,"odometer":null,"unknown_45":4173218402037047296}} 
[2026-04-17 12:05:16] local.INFO: DEBUG: GPS processor result {"connection_id":45831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21047,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:05:16] local.INFO: GPS data processed {"connection_id":45831,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:05:16] local.INFO: Acknowledgment sent {"connection_id":45831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:05:18] local.INFO: TCP Data received {"connection_id":46025,"ip":"117.224.226.179","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a25dd50012d104000071e25180030005e23..."} 
[2026-04-17 12:05:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a25dd50012d104000071e25180030005e23..."} 
[2026-04-17 12:05:18] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a25dd50012d104000071e25180030005e23..."} 
[2026-04-17 12:05:18] local.INFO: Packet analysis {"connection_id":46025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a25"} 
[2026-04-17 12:05:18] local.INFO: Extracted packet for processing {"connection_id":46025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a25"} 
[2026-04-17 12:05:18] local.INFO: GPS Element Parsed {"raw_longitude":756039680,"raw_latitude":119416088,"longitude_deg":75.603968,"latitude_deg":11.9416088,"altitude":48,"angle":94,"satellites":35,"speed":39,"hex_longitude":"2d104000","hex_latitude":"071e2518","is_valid_coordinates":true} 
[2026-04-17 12:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:05:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760361984001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:05:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113483103363661824,"note":"Value kept but may cause issues"} 
[2026-04-17 12:05:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1168754502617436160,"note":"Value kept but may cause issues"} 
[2026-04-17 12:05:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:05:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776407666000,"timestamp_ms":1776407666000,"timestamp_seconds":1776407666,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a25dd50"} 
[2026-04-17 12:05:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:05:18] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:05:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 12:05:18] 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-04-17 12:05:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:05:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:05:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:05:18] local.INFO: Teltonika packet parsed successfully {"connection_id":46025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:05:18] local.INFO: Passing IMEI to GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:05:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:05:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.226.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:05:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:05:18] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:05:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760361984001,"66":14026,"5":206,"28":31744,"24":39,"16":113483103363661824,"45":1168754502617436160},"client_ip":"117.224.226.179","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16,45]} 
[2026-04-17 12:05:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:05:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:05:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760361984001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:05:18] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-17 12:05:18] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:05:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113483103363661824,"km_value":113483103363661.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:05:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":1168754502617436160,"description":"Unknown IO ID 45"} 
[2026-04-17 12:05:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760361984001,"power":14026,"unknown_5":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1168754502617436160}} 
[2026-04-17 12:05:18] local.INFO: DEBUG: GPS processor result {"connection_id":46025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:05:18] local.INFO: GPS data processed {"connection_id":46025,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:05:18] local.INFO: Acknowledgment sent {"connection_id":46025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:05:21] local.INFO: TCP Data received {"connection_id":45831,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a249d00012d3a5a4006a75288001f00612e..."} 
[2026-04-17 12:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a249d00012d3a5a4006a75288001f00612e..."} 
[2026-04-17 12:05:21] local.INFO: Processing buffer {"connection_id":45831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a249d00012d3a5a4006a75288001f00612e..."} 
[2026-04-17 12:05:21] local.INFO: Packet analysis {"connection_id":45831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a24"} 
[2026-04-17 12:05:21] local.INFO: Extracted packet for processing {"connection_id":45831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a24"} 
[2026-04-17 12:05:21] local.INFO: GPS Element Parsed {"raw_longitude":758798912,"raw_latitude":111628936,"longitude_deg":75.8798912,"latitude_deg":11.1628936,"altitude":31,"angle":97,"satellites":46,"speed":31,"hex_longitude":"2d3a5a40","hex_latitude":"06a75288","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:05:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760336384001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:05:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:05:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4186306988451295232,"note":"Value kept but may cause issues"} 
[2026-04-17 12:05:21] 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-04-17 12:05:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776407584000,"timestamp_ms":1776407584000,"timestamp_seconds":1776407584,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a249d00"} 
[2026-04-17 12:05:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:05: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-04-17 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 12:05:21] 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-04-17 12: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-04-17 12:05:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:05:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:05:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:05:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:05:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45831,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:05:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:05:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:05:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:05:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760336384001,"66":28354,"193":206,"19":48128,"24":31,"16":106618783551979520,"45":4186306988451295232},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,19,24,16,45]} 
[2026-04-17 12:05:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:05:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:05:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760336384001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:05:21] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-17 12:05:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:05:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:05:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4186306988451295232,"description":"Unknown IO ID 45"} 
[2026-04-17 12:05:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760336384001,"power":28354,"unknown_193":206,"unknown_19":48128,"ignition":31,"odometer":null,"unknown_45":4186306988451295232}} 
[2026-04-17 12:05:21] local.INFO: DEBUG: GPS processor result {"connection_id":45831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21049,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:05:21] local.INFO: GPS data processed {"connection_id":45831,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:05:21] local.INFO: Acknowledgment sent {"connection_id":45831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:05:28] local.INFO: TCP Data received {"connection_id":45830,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:05:28] local.INFO: Processing buffer {"connection_id":45830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:05:28] local.INFO: Packet analysis {"connection_id":45830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:05:28] local.INFO: Extracted packet for processing {"connection_id":45830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:05:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760236288001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776407474000,"timestamp_ms":1776407474000,"timestamp_seconds":1776407474,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a22ef50"} 
[2026-04-17 12:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760236288001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760236288001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:05:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:05:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760236288001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":45830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:05:28] local.INFO: GPS data processed {"connection_id":45830,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:05:28] local.INFO: Acknowledgment sent {"connection_id":45830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:05:49] local.INFO: TCP Data received {"connection_id":46025,"ip":"117.224.226.179","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a25e520012d104840071e25f00030005123..."} 
[2026-04-17 12:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a25e520012d104840071e25f00030005123..."} 
[2026-04-17 12:05:49] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a25e520012d104840071e25f00030005123..."} 
[2026-04-17 12:05:49] local.INFO: Packet analysis {"connection_id":46025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a25"} 
[2026-04-17 12:05:49] local.INFO: Extracted packet for processing {"connection_id":46025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a25"} 
[2026-04-17 12:05:49] local.INFO: GPS Element Parsed {"raw_longitude":756041792,"raw_latitude":119416304,"longitude_deg":75.6041792,"latitude_deg":11.9416304,"altitude":48,"angle":81,"satellites":35,"speed":41,"hex_longitude":"2d104840","hex_latitude":"071e25f0","is_valid_coordinates":true} 
[2026-04-17 12:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:05:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760362496001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:05:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113483206442876928,"note":"Value kept but may cause issues"} 
[2026-04-17 12:05:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1170935933686847488,"note":"Value kept but may cause issues"} 
[2026-04-17 12:05:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,5,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:05:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776407668000,"timestamp_ms":1776407668000,"timestamp_seconds":1776407668,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a25e520"} 
[2026-04-17 12:05:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:05:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:05:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-04-17 12:05:49] 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-04-17 12:05:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:05:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:05:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:05:49] local.INFO: Teltonika packet parsed successfully {"connection_id":46025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:05:49] local.INFO: Passing IMEI to GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:05:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:05:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.226.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:05:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:05:49] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:05:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760362496001,"66":13993,"5":206,"28":31744,"24":41,"16":113483206442876928,"45":1170935933686847488},"client_ip":"117.224.226.179","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,5,28,24,16,45]} 
[2026-04-17 12:05:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:05:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:05:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760362496001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:05:49] local.INFO: Unknown IO ID detected {"io_id":5,"value":206,"description":"Unknown IO ID 5"} 
[2026-04-17 12:05:49] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:05:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113483206442876928,"km_value":113483206442876.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:05:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":1170935933686847488,"description":"Unknown IO ID 45"} 
[2026-04-17 12:05:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760362496001,"power":13993,"unknown_5":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1170935933686847488}} 
[2026-04-17 12:05:49] local.INFO: DEBUG: GPS processor result {"connection_id":46025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21051,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:05:49] local.INFO: GPS data processed {"connection_id":46025,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:05:49] local.INFO: Acknowledgment sent {"connection_id":46025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:05:57] local.INFO: TCP Data received {"connection_id":46600,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:05:57] local.INFO: Processing buffer {"connection_id":46600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:05:57] local.INFO: IMEI packet received {"connection_id":46600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":46600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:06:01] local.INFO: TCP Data received {"connection_id":46600,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46600,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:06:01] local.INFO: Processing buffer {"connection_id":46600,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:06:01] local.INFO: IMEI packet received {"connection_id":46600,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":46600,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:06:02] local.INFO: TCP Data received {"connection_id":46600,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:06:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:06:02] local.INFO: Processing buffer {"connection_id":46600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:06:02] local.INFO: Packet analysis {"connection_id":46600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:06:02] local.INFO: Extracted packet for processing {"connection_id":46600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:06:02] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:06:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760236288001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:06:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776407474000,"timestamp_ms":1776407474000,"timestamp_seconds":1776407474,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a22ef50"} 
[2026-04-17 12:06:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:06:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:06:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:06:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:06:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:06:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:06:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:06:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:06:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:06:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:06:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:06:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:06:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:06:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760236288001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:06:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:06:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:06:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760236288001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:06:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:06:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:06:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:06:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:06:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760236288001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:06:02] local.INFO: DEBUG: GPS processor result {"connection_id":46600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21052,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:06:02] local.INFO: GPS data processed {"connection_id":46600,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:06:02] local.INFO: Acknowledgment sent {"connection_id":46600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:06:05] local.INFO: TCP Data received {"connection_id":45752,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:06:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:06:05] local.INFO: Processing buffer {"connection_id":45752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:06:05] local.INFO: IMEI packet received {"connection_id":45752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:06:05] local.INFO: IMEI acknowledgment sent {"connection_id":45752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:06:09] local.INFO: TCP Data received {"connection_id":45752,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45752,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:06:09] local.INFO: Processing buffer {"connection_id":45752,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:06:09] local.INFO: IMEI packet received {"connection_id":45752,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":45752,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:06:11] local.INFO: TCP Data received {"connection_id":45752,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a25a2b80100000000000000000000000000..."} 
[2026-04-17 12:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a25a2b80100000000000000000000000000..."} 
[2026-04-17 12:06:11] local.INFO: Processing buffer {"connection_id":45752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a25a2b80100000000000000000000000000..."} 
[2026-04-17 12:06:11] local.INFO: Packet analysis {"connection_id":45752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a25"} 
[2026-04-17 12:06:11] local.INFO: Extracted packet for processing {"connection_id":45752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a25"} 
[2026-04-17 12:06: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-04-17 12: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-04-17 12:06:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760341504001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4204743599424964608,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:11] 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-04-17 12:06:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776407651000,"timestamp_ms":1776407651000,"timestamp_seconds":1776407651,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a25a2b8"} 
[2026-04-17 12:06:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:06:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 12:06: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-04-17 12: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-04-17 12:06:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:06:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:06:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:06:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:06:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:06:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:06:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:06:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:06:11] local.INFO: DEBUG: GPS processor result {"connection_id":45752,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 12:06:11] local.INFO: GPS data processed {"connection_id":45752,"processed":0,"errors":0,"total":1} 
[2026-04-17 12:06:11] local.INFO: Acknowledgment sent {"connection_id":45752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:06:13] local.INFO: TCP Data received {"connection_id":45752,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a24f2f0012d3a90c006a74948002400662d..."} 
[2026-04-17 12:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a24f2f0012d3a90c006a74948002400662d..."} 
[2026-04-17 12:06:13] local.INFO: Processing buffer {"connection_id":45752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a24f2f0012d3a90c006a74948002400662d..."} 
[2026-04-17 12:06:13] local.INFO: Packet analysis {"connection_id":45752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a24"} 
[2026-04-17 12:06:13] local.INFO: Extracted packet for processing {"connection_id":45752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a24"} 
[2026-04-17 12:06:13] local.INFO: GPS Element Parsed {"raw_longitude":758812864,"raw_latitude":111626568,"longitude_deg":75.8812864,"latitude_deg":11.1626568,"altitude":36,"angle":102,"satellites":45,"speed":21,"hex_longitude":"2d3a90c0","hex_latitude":"06a74948","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,193,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 12:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776407606000,"timestamp_ms":1776407606000,"timestamp_seconds":1776407606,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a24f2f0"} 
[2026-04-17 12:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 12:06:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"193":206,"19":48128,"24":21,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,193,19,24,16]} 
[2026-04-17 12:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 12:06:13] local.INFO: Unknown IO ID detected {"io_id":193,"value":206,"description":"Unknown IO ID 193"} 
[2026-04-17 12:06:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:06:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_193":206,"unknown_19":48128,"ignition":21,"odometer":null}} 
[2026-04-17 12:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":45752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21053,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:06:13] local.INFO: GPS data processed {"connection_id":45752,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:06:13] local.INFO: Acknowledgment sent {"connection_id":45752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:06:21] local.INFO: TCP Data received {"connection_id":46025,"ip":"117.224.226.179","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a260848012d106dc0071e2c18002f004922..."} 
[2026-04-17 12:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a260848012d106dc0071e2c18002f004922..."} 
[2026-04-17 12:06:21] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a260848012d106dc0071e2c18002f004922..."} 
[2026-04-17 12:06:21] local.INFO: Packet analysis {"connection_id":46025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a26"} 
[2026-04-17 12:06:21] local.INFO: Extracted packet for processing {"connection_id":46025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a26"} 
[2026-04-17 12:06:21] local.INFO: GPS Element Parsed {"raw_longitude":756051392,"raw_latitude":119417880,"longitude_deg":75.6051392,"latitude_deg":11.941788,"altitude":47,"angle":73,"satellites":34,"speed":45,"hex_longitude":"2d106dc0","hex_latitude":"071e2c18","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:06:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760363008001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113483670299344896,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1173258102244765696,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,201,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:06:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776407677000,"timestamp_ms":1776407677000,"timestamp_seconds":1776407677,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a260848"} 
[2026-04-17 12:06:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:06:21] 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-04-17 12: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 12:06:21] 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-04-17 12: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-04-17 12:06:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:06:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:06:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:06:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:06:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:06:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.226.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:06:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:06:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:06:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760363008001,"66":13993,"201":206,"28":31744,"24":45,"16":113483670299344896,"45":1173258102244765696},"client_ip":"117.224.226.179","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,201,28,24,16,45]} 
[2026-04-17 12:06:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:06:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:06:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760363008001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:06:21] local.INFO: Unknown IO ID detected {"io_id":201,"value":206,"description":"Unknown IO ID 201"} 
[2026-04-17 12:06:21] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:06:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113483670299344896,"km_value":113483670299344.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:06:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1173258102244765696,"description":"Unknown IO ID 45"} 
[2026-04-17 12:06:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760363008001,"power":13993,"unknown_201":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1173258102244765696}} 
[2026-04-17 12:06:21] local.INFO: DEBUG: GPS processor result {"connection_id":46025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:06:21] local.INFO: GPS data processed {"connection_id":46025,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:06:21] local.INFO: Acknowledgment sent {"connection_id":46025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:06:33] local.INFO: TCP Data received {"connection_id":46600,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46600,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:06:33] local.INFO: Processing buffer {"connection_id":46600,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a22ef50012d7faa8005afd2f8000a000030..."} 
[2026-04-17 12:06:33] local.INFO: Packet analysis {"connection_id":46600,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:06:33] local.INFO: Extracted packet for processing {"connection_id":46600,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a22"} 
[2026-04-17 12:06:33] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:06:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760236288001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:06:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776407474000,"timestamp_ms":1776407474000,"timestamp_seconds":1776407474,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a22ef50"} 
[2026-04-17 12:06:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:06:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:06:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:06:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:06:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:06:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46600,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:06:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:06:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46600,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:06:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:06:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:06:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:06:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760236288001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:06:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:06:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:06:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760236288001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:06:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:06:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:06:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:06:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:06:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760236288001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:06:33] local.INFO: DEBUG: GPS processor result {"connection_id":46600,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:06:33] local.INFO: GPS data processed {"connection_id":46600,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:06:33] local.INFO: Acknowledgment sent {"connection_id":46600,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:06:46] local.INFO: TCP Data received {"connection_id":45752,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a25f8a80100000000000000000000000000..."} 
[2026-04-17 12:06:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a25f8a80100000000000000000000000000..."} 
[2026-04-17 12:06:46] local.INFO: Processing buffer {"connection_id":45752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a25f8a80100000000000000000000000000..."} 
[2026-04-17 12:06:46] local.INFO: Packet analysis {"connection_id":45752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a25"} 
[2026-04-17 12:06:46] local.INFO: Extracted packet for processing {"connection_id":45752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a25"} 
[2026-04-17 12:06:46] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:06:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760347136001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4220083985655089152,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,192,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:06:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776407673000,"timestamp_ms":1776407673000,"timestamp_seconds":1776407673,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a25f8a8"} 
[2026-04-17 12:06:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:06:46] 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-04-17 12: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 12:06:46] 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-04-17 12: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-04-17 12:06:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:06:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:06:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:06:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:06:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45752,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:06:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:06:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:06:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:06:46] local.INFO: DEBUG: GPS processor result {"connection_id":45752,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 12:06:46] local.INFO: GPS data processed {"connection_id":45752,"processed":0,"errors":0,"total":1} 
[2026-04-17 12:06:46] local.INFO: Acknowledgment sent {"connection_id":45752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:06:51] local.INFO: TCP Data received {"connection_id":46026,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:06:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:06:51] local.INFO: Processing buffer {"connection_id":46026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:06:51] local.INFO: IMEI packet received {"connection_id":46026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:06:51] local.INFO: IMEI acknowledgment sent {"connection_id":46026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:06:53] local.INFO: TCP Data received {"connection_id":46026,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:06:53] local.INFO: Processing buffer {"connection_id":46026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:06:53] local.INFO: IMEI packet received {"connection_id":46026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:06:53] local.INFO: IMEI acknowledgment sent {"connection_id":46026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:06:53] local.INFO: TCP Data received {"connection_id":46025,"ip":"117.224.226.179","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2738f8012d113280071f3320003500431c..."} 
[2026-04-17 12:06:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2738f8012d113280071f3320003500431c..."} 
[2026-04-17 12:06:53] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2738f8012d113280071f3320003500431c..."} 
[2026-04-17 12:06:53] local.INFO: Packet analysis {"connection_id":46025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:06:53] local.INFO: Extracted packet for processing {"connection_id":46025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:06:53] local.INFO: GPS Element Parsed {"raw_longitude":756101760,"raw_latitude":119485216,"longitude_deg":75.610176,"latitude_deg":11.9485216,"altitude":53,"angle":67,"satellites":28,"speed":40,"hex_longitude":"2d113280","hex_latitude":"071f3320","is_valid_coordinates":true} 
[2026-04-17 12:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:06:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760384768001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:53] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 12:06:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113487862187425792,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1237293659463849984,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 12:06:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776407755000,"timestamp_ms":1776407755000,"timestamp_seconds":1776407755,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2738f8"} 
[2026-04-17 12:06:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:06: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-04-17 12:06:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 12:06:53] 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-04-17 12:06:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:06:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:06:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:06:53] local.INFO: Teltonika packet parsed successfully {"connection_id":46025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:06:53] local.INFO: Passing IMEI to GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:06:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:06:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.226.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:06:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:06:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:06:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760384768001,"66":13993,"200":0,"28":31744,"24":40,"16":113487862187425792,"45":1237293659463849984},"client_ip":"117.224.226.179","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-17 12:06:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:06:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:06:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760384768001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:06:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:06:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113487862187425792,"km_value":113487862187425.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:06:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1237293659463849984,"description":"Unknown IO ID 45"} 
[2026-04-17 12:06:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760384768001,"power":13993,"gsm_signal":0,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1237293659463849984}} 
[2026-04-17 12:06:53] local.INFO: DEBUG: GPS processor result {"connection_id":46025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:06:53] local.INFO: GPS data processed {"connection_id":46025,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:06:53] local.INFO: Acknowledgment sent {"connection_id":46025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:06:56] local.INFO: TCP Data received {"connection_id":46026,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:06:56] local.INFO: Processing buffer {"connection_id":46026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:06:56] local.INFO: IMEI packet received {"connection_id":46026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":46026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:06:57] local.INFO: TCP Data received {"connection_id":46026,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:06:57] local.INFO: Processing buffer {"connection_id":46026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:06:57] local.INFO: Packet analysis {"connection_id":46026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:06:57] local.INFO: Extracted packet for processing {"connection_id":46026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:06:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760313344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776407775000,"timestamp_ms":1776407775000,"timestamp_seconds":1776407775,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a278718"} 
[2026-04-17 12:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760313344001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760313344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:06:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:06:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760313344001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":46026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:06:57] local.INFO: GPS data processed {"connection_id":46026,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:06:57] local.INFO: Acknowledgment sent {"connection_id":46026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:07:05] local.INFO: TCP Data received {"connection_id":45832,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:07:05] local.INFO: Processing buffer {"connection_id":45832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:07:05] local.INFO: IMEI packet received {"connection_id":45832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:07:05] local.INFO: IMEI acknowledgment sent {"connection_id":45832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:07:10] local.INFO: TCP Data received {"connection_id":45832,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:07:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45832,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:07:10] local.INFO: Processing buffer {"connection_id":45832,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:07:10] local.INFO: IMEI packet received {"connection_id":45832,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:07:10] local.INFO: IMEI acknowledgment sent {"connection_id":45832,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:07:12] local.INFO: TCP Data received {"connection_id":45832,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a274c80012d3bb70006a6dc08003b009930..."} 
[2026-04-17 12:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a274c80012d3bb70006a6dc08003b009930..."} 
[2026-04-17 12:07:12] local.INFO: Processing buffer {"connection_id":45832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a274c80012d3bb70006a6dc08003b009930..."} 
[2026-04-17 12:07:12] local.INFO: Packet analysis {"connection_id":45832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:07:12] local.INFO: Extracted packet for processing {"connection_id":45832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:07:12] local.INFO: GPS Element Parsed {"raw_longitude":758888192,"raw_latitude":111598600,"longitude_deg":75.8888192,"latitude_deg":11.15986,"altitude":59,"angle":153,"satellites":48,"speed":23,"hex_longitude":"2d3bb700","hex_latitude":"06a6dc08","is_valid_coordinates":true} 
[2026-04-17 12:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:07:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:07:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,11,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 12:07:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776407760000,"timestamp_ms":1776407760000,"timestamp_seconds":1776407760,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a274c80"} 
[2026-04-17 12:07:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:07:12] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:07:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 12:07:12] 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-04-17 12:07:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:07:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:07:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:07:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:07:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:07:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:07:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:07:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:07:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:07:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"11":206,"19":48128,"24":23,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16]} 
[2026-04-17 12:07:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:07:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:07:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 12:07:12] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 12:07:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:07:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:07:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_11":206,"unknown_19":48128,"ignition":23,"odometer":null}} 
[2026-04-17 12:07:12] local.INFO: DEBUG: GPS processor result {"connection_id":45832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21058,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:07:12] local.INFO: GPS data processed {"connection_id":45832,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:07:12] local.INFO: Acknowledgment sent {"connection_id":45832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:07:25] local.INFO: TCP Data received {"connection_id":46025,"ip":"117.224.226.179","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a275838012d115480071f3e08003200451f..."} 
[2026-04-17 12:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a275838012d115480071f3e08003200451f..."} 
[2026-04-17 12:07:25] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a275838012d115480071f3e08003200451f..."} 
[2026-04-17 12:07:25] local.INFO: Packet analysis {"connection_id":46025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:07:25] local.INFO: Extracted packet for processing {"connection_id":46025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:07:25] local.INFO: GPS Element Parsed {"raw_longitude":756110464,"raw_latitude":119488008,"longitude_deg":75.6110464,"latitude_deg":11.9488008,"altitude":50,"angle":69,"satellites":31,"speed":46,"hex_longitude":"2d115480","hex_latitude":"071f3e08","is_valid_coordinates":true} 
[2026-04-17 12:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:07:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760385280001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:07:25] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 12:07:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113488295979122688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:07:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1239193615556878336,"note":"Value kept but may cause issues"} 
[2026-04-17 12:07:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 12:07:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776407763000,"timestamp_ms":1776407763000,"timestamp_seconds":1776407763,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a275838"} 
[2026-04-17 12:07:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:07: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-04-17 12:07:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 12:07:25] 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-04-17 12:07:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:07:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:07:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:07:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:07:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:07:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:07:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.226.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:07:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:07:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:07:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760385280001,"66":14374,"200":0,"28":31744,"24":46,"16":113488295979122688,"45":1239193615556878336},"client_ip":"117.224.226.179","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-17 12:07:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:07:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:07:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760385280001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:07:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:07:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113488295979122688,"km_value":113488295979122.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:07:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1239193615556878336,"description":"Unknown IO ID 45"} 
[2026-04-17 12:07:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760385280001,"power":14374,"gsm_signal":0,"unknown_28":31744,"ignition":46,"odometer":null,"unknown_45":1239193615556878336}} 
[2026-04-17 12:07:25] local.INFO: DEBUG: GPS processor result {"connection_id":46025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:07:25] local.INFO: GPS data processed {"connection_id":46025,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:07:25] local.INFO: Acknowledgment sent {"connection_id":46025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:07:28] local.INFO: TCP Data received {"connection_id":46026,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:07:28] local.INFO: Processing buffer {"connection_id":46026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:07:28] local.INFO: Packet analysis {"connection_id":46026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:07:28] local.INFO: Extracted packet for processing {"connection_id":46026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760313344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776407775000,"timestamp_ms":1776407775000,"timestamp_seconds":1776407775,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a278718"} 
[2026-04-17 12:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760313344001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760313344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:07:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760313344001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":46026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:07:28] local.INFO: GPS data processed {"connection_id":46026,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:07:28] local.INFO: Acknowledgment sent {"connection_id":46026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:07:45] local.INFO: TCP Data received {"connection_id":45832,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2852380100000000000000000000000000..."} 
[2026-04-17 12:07:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2852380100000000000000000000000000..."} 
[2026-04-17 12:07:45] local.INFO: Processing buffer {"connection_id":45832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2852380100000000000000000000000000..."} 
[2026-04-17 12:07:45] local.INFO: Packet analysis {"connection_id":45832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a28"} 
[2026-04-17 12:07:45] local.INFO: Extracted packet for processing {"connection_id":45832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a28"} 
[2026-04-17 12:07: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-04-17 12: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-04-17 12:07:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760386560001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:07:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:07:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4302907997545039872,"note":"Value kept but may cause issues"} 
[2026-04-17 12:07:45] 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-04-17 12:07:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776407827000,"timestamp_ms":1776407827000,"timestamp_seconds":1776407827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a285238"} 
[2026-04-17 12:07:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:07: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-04-17 12: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 12:07:45] 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-04-17 12: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-04-17 12:07:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:07:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:07:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:07:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:07:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45832,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:07:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:07:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:07:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:07:45] local.INFO: DEBUG: GPS processor result {"connection_id":45832,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 12:07:45] local.INFO: GPS data processed {"connection_id":45832,"processed":0,"errors":0,"total":1} 
[2026-04-17 12:07:45] local.INFO: Acknowledgment sent {"connection_id":45832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:07:56] local.INFO: TCP Data received {"connection_id":46601,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:07:56] local.INFO: Processing buffer {"connection_id":46601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:07:56] local.INFO: IMEI packet received {"connection_id":46601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":46601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:07:56] local.INFO: TCP Data received {"connection_id":46025,"ip":"117.224.226.179","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a277778012d117840071f48780033004c20..."} 
[2026-04-17 12:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a277778012d117840071f48780033004c20..."} 
[2026-04-17 12:07:56] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a277778012d117840071f48780033004c20..."} 
[2026-04-17 12:07:56] local.INFO: Packet analysis {"connection_id":46025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:07:56] local.INFO: Extracted packet for processing {"connection_id":46025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:07:56] local.INFO: GPS Element Parsed {"raw_longitude":756119616,"raw_latitude":119490680,"longitude_deg":75.6119616,"latitude_deg":11.949068,"altitude":51,"angle":76,"satellites":32,"speed":44,"hex_longitude":"2d117840","hex_latitude":"071f4878","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760387328001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:07:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 12:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113488751245656064,"note":"Value kept but may cause issues"} 
[2026-04-17 12:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1248763764765755392,"note":"Value kept but may cause issues"} 
[2026-04-17 12:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 12:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776407771000,"timestamp_ms":1776407771000,"timestamp_seconds":1776407771,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a277778"} 
[2026-04-17 12:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:07: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-04-17 12: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 12:07:56] 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-04-17 12: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-04-17 12:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.226.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760387328001,"66":14374,"200":0,"28":31744,"24":44,"16":113488751245656064,"45":1248763764765755392},"client_ip":"117.224.226.179","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-17 12:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760387328001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:07:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113488751245656064,"km_value":113488751245656.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1248763764765755392,"description":"Unknown IO ID 45"} 
[2026-04-17 12:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760387328001,"power":14374,"gsm_signal":0,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1248763764765755392}} 
[2026-04-17 12:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":46025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:07:56] local.INFO: GPS data processed {"connection_id":46025,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:07:56] local.INFO: Acknowledgment sent {"connection_id":46025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:08:01] local.INFO: TCP Data received {"connection_id":46601,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46601,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:08:01] local.INFO: Processing buffer {"connection_id":46601,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:08:01] local.INFO: IMEI packet received {"connection_id":46601,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:08:01] local.INFO: IMEI acknowledgment sent {"connection_id":46601,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:08:02] local.INFO: TCP Data received {"connection_id":46601,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:08:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:08:02] local.INFO: Processing buffer {"connection_id":46601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:08:02] local.INFO: Packet analysis {"connection_id":46601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:08:02] local.INFO: Extracted packet for processing {"connection_id":46601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:08:02] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:08:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760313344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:08:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:08:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:08:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:08:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776407775000,"timestamp_ms":1776407775000,"timestamp_seconds":1776407775,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a278718"} 
[2026-04-17 12:08:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:08:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:08:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:08:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:08:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:08:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:08:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:08:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:08:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:08:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:08:02] 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-04-17 12:08:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:08:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:08:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760313344001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:08:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:08:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:08:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760313344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:08:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:08:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:08:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:08:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:08:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760313344001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:08:02] local.INFO: DEBUG: GPS processor result {"connection_id":46601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:08:02] local.INFO: GPS data processed {"connection_id":46601,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:08:02] local.INFO: Acknowledgment sent {"connection_id":46601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:08:06] local.INFO: TCP Data received {"connection_id":46601,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:08:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46601,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:08:06] local.INFO: Processing buffer {"connection_id":46601,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:08:06] local.INFO: Packet analysis {"connection_id":46601,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:08:06] local.INFO: Extracted packet for processing {"connection_id":46601,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:08:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:08:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760313344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:08:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:08:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:08:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:08:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776407775000,"timestamp_ms":1776407775000,"timestamp_seconds":1776407775,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a278718"} 
[2026-04-17 12:08:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:08:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:08:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:08:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:08:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:08:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46601,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:08:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:08:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46601,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:08: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-04-17 12:08:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:08:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:08:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760313344001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:08:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:08:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:08:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760313344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:08:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:08:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:08:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:08:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:08:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760313344001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:08:06] local.INFO: DEBUG: GPS processor result {"connection_id":46601,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:08:06] local.INFO: GPS data processed {"connection_id":46601,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:08:06] local.INFO: Acknowledgment sent {"connection_id":46601,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:08:38] local.INFO: TCP Data received {"connection_id":46025,"ip":"117.224.226.179","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a28b7c8012d12e500071f1e000028006e23..."} 
[2026-04-17 12:08:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a28b7c8012d12e500071f1e000028006e23..."} 
[2026-04-17 12:08:38] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a28b7c8012d12e500071f1e000028006e23..."} 
[2026-04-17 12:08:38] local.INFO: Packet analysis {"connection_id":46025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a28"} 
[2026-04-17 12:08:38] local.INFO: Extracted packet for processing {"connection_id":46025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a28"} 
[2026-04-17 12:08:38] local.INFO: GPS Element Parsed {"raw_longitude":756212992,"raw_latitude":119479808,"longitude_deg":75.6212992,"latitude_deg":11.9479808,"altitude":40,"angle":110,"satellites":35,"speed":48,"hex_longitude":"2d12e500","hex_latitude":"071f1e00","is_valid_coordinates":true} 
[2026-04-17 12:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:08:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760408832001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:08:38] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 12:08:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113493321090859008,"note":"Value kept but may cause issues"} 
[2026-04-17 12:08:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1353542824844701696,"note":"Value kept but may cause issues"} 
[2026-04-17 12:08:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 12:08:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776407853000,"timestamp_ms":1776407853000,"timestamp_seconds":1776407853,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a28b7c8"} 
[2026-04-17 12:08:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:08:38] 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-04-17 12:08:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 12:08:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:08:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:08:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:08:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:08:38] local.INFO: Teltonika packet parsed successfully {"connection_id":46025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:08:38] local.INFO: Passing IMEI to GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:08:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:08:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.226.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:08:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:08:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:08:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760408832001,"66":14407,"200":0,"28":31744,"24":48,"16":113493321090859008,"45":1353542824844701696},"client_ip":"117.224.226.179","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,28,24,16,45]} 
[2026-04-17 12:08:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:08:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:08:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760408832001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:08:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:08:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113493321090859008,"km_value":113493321090859.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:08:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1353542824844701696,"description":"Unknown IO ID 45"} 
[2026-04-17 12:08:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760408832001,"power":14407,"gsm_signal":0,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":1353542824844701696}} 
[2026-04-17 12:08:38] local.INFO: DEBUG: GPS processor result {"connection_id":46025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21064,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:08:38] local.INFO: GPS data processed {"connection_id":46025,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:08:38] local.INFO: Acknowledgment sent {"connection_id":46025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:08:39] local.INFO: TCP Data received {"connection_id":45833,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:08:39] local.INFO: Processing buffer {"connection_id":45833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:08:39] local.INFO: IMEI packet received {"connection_id":45833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":45833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:08:39] local.INFO: TCP Data received {"connection_id":45833,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:08:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:08:39] local.INFO: Processing buffer {"connection_id":45833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:08:39] local.INFO: IMEI packet received {"connection_id":45833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:08:39] local.INFO: IMEI acknowledgment sent {"connection_id":45833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:08:46] local.INFO: TCP Data received {"connection_id":45833,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:08:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45833,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:08:46] local.INFO: Processing buffer {"connection_id":45833,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:08:46] local.INFO: IMEI packet received {"connection_id":45833,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:08:46] local.INFO: IMEI acknowledgment sent {"connection_id":45833,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:08:48] local.INFO: TCP Data received {"connection_id":45833,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a27aa40012d3bcf4006a6abf0003d009a31..."} 
[2026-04-17 12:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45833,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a27aa40012d3bcf4006a6abf0003d009a31..."} 
[2026-04-17 12:08:48] local.INFO: Processing buffer {"connection_id":45833,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a27aa40012d3bcf4006a6abf0003d009a31..."} 
[2026-04-17 12:08:48] local.INFO: Packet analysis {"connection_id":45833,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:08:48] local.INFO: Extracted packet for processing {"connection_id":45833,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:08:48] local.INFO: GPS Element Parsed {"raw_longitude":758894400,"raw_latitude":111586288,"longitude_deg":75.88944,"latitude_deg":11.1586288,"altitude":61,"angle":154,"satellites":49,"speed":22,"hex_longitude":"2d3bcf40","hex_latitude":"06a6abf0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:08:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,11,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 12:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776407784000,"timestamp_ms":1776407784000,"timestamp_seconds":1776407784,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a27aa40"} 
[2026-04-17 12:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:08:48] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-17 12:08:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45833,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45833,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"11":206,"19":48128,"24":22,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16]} 
[2026-04-17 12:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 12:08:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 12:08:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:08:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_11":206,"unknown_19":48128,"ignition":22,"odometer":null}} 
[2026-04-17 12:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":45833,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21065,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:08:48] local.INFO: GPS data processed {"connection_id":45833,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:08:48] local.INFO: Acknowledgment sent {"connection_id":45833,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:08:49] local.INFO: TCP Data received {"connection_id":46027,"ip":"117.224.226.179","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:08:49] local.INFO: Processing buffer {"connection_id":46027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:08:49] local.INFO: IMEI packet received {"connection_id":46027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":46027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:08:49] local.INFO: TCP Data received {"connection_id":46027,"ip":"117.224.226.179","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:08:49] local.INFO: Processing buffer {"connection_id":46027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:08:49] local.INFO: IMEI packet received {"connection_id":46027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":46027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:08:51] local.INFO: TCP Data received {"connection_id":46602,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:08:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:08:51] local.INFO: Processing buffer {"connection_id":46602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:08:51] local.INFO: IMEI packet received {"connection_id":46602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:08:51] local.INFO: IMEI acknowledgment sent {"connection_id":46602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:08:54] local.INFO: TCP Data received {"connection_id":46027,"ip":"117.224.226.179","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:08:54] local.INFO: Processing buffer {"connection_id":46027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:08:54] local.INFO: IMEI packet received {"connection_id":46027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":46027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:08:55] local.INFO: TCP Data received {"connection_id":46027,"ip":"117.224.226.179","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a28d708012d130740071f10d00027006c21..."} 
[2026-04-17 12:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a28d708012d130740071f10d00027006c21..."} 
[2026-04-17 12:08:55] local.INFO: Processing buffer {"connection_id":46027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a28d708012d130740071f10d00027006c21..."} 
[2026-04-17 12:08:55] local.INFO: Packet analysis {"connection_id":46027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a28"} 
[2026-04-17 12:08:55] local.INFO: Extracted packet for processing {"connection_id":46027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a28"} 
[2026-04-17 12:08:55] local.INFO: GPS Element Parsed {"raw_longitude":756221760,"raw_latitude":119476432,"longitude_deg":75.622176,"latitude_deg":11.9476432,"altitude":39,"angle":108,"satellites":33,"speed":45,"hex_longitude":"2d130740","hex_latitude":"071f10d0","is_valid_coordinates":true} 
[2026-04-17 12:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760410368001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113493767767457792,"note":"Value kept but may cause issues"} 
[2026-04-17 12:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1361494492936273920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:08:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776407861000,"timestamp_ms":1776407861000,"timestamp_seconds":1776407861,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a28d708"} 
[2026-04-17 12:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:08: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-04-17 12:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 12:08:55] 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-04-17 12:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.226.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760410368001,"66":14374,"50":206,"28":31744,"24":45,"16":113493767767457792,"45":1361494492936273920},"client_ip":"117.224.226.179","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-04-17 12:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760410368001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:08:55] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-17 12:08:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113493767767457792,"km_value":113493767767457.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1361494492936273920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760410368001,"power":14374,"unknown_50":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1361494492936273920}} 
[2026-04-17 12:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":46027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:08:55] local.INFO: GPS data processed {"connection_id":46027,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:08:55] local.INFO: Acknowledgment sent {"connection_id":46027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:08:56] local.INFO: TCP Data received {"connection_id":46602,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46602,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:08:56] local.INFO: Processing buffer {"connection_id":46602,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:08:56] local.INFO: IMEI packet received {"connection_id":46602,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":46602,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:08:57] local.INFO: TCP Data received {"connection_id":46602,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:08:57] local.INFO: Processing buffer {"connection_id":46602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:08:57] local.INFO: Packet analysis {"connection_id":46602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:08:57] local.INFO: Extracted packet for processing {"connection_id":46602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:08:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760313344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776407775000,"timestamp_ms":1776407775000,"timestamp_seconds":1776407775,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a278718"} 
[2026-04-17 12:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760313344001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760313344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:08:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:08:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760313344001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":46602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:08:57] local.INFO: GPS data processed {"connection_id":46602,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:08:57] local.INFO: Acknowledgment sent {"connection_id":46602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:09:09] local.INFO: TCP Data received {"connection_id":46028,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:09:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:09:09] local.INFO: Processing buffer {"connection_id":46028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:09:09] local.INFO: IMEI packet received {"connection_id":46028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:09:09] local.INFO: IMEI acknowledgment sent {"connection_id":46028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:09:15] local.INFO: TCP Data received {"connection_id":46028,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:09:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46028,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:09:15] local.INFO: Processing buffer {"connection_id":46028,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:09:15] local.INFO: IMEI packet received {"connection_id":46028,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:09:15] local.INFO: IMEI acknowledgment sent {"connection_id":46028,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:09:17] local.INFO: TCP Data received {"connection_id":46028,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a28b3e00100000000000000000000000000..."} 
[2026-04-17 12:09:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a28b3e00100000000000000000000000000..."} 
[2026-04-17 12:09:17] local.INFO: Processing buffer {"connection_id":46028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a28b3e00100000000000000000000000000..."} 
[2026-04-17 12:09:17] local.INFO: Packet analysis {"connection_id":46028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a28"} 
[2026-04-17 12:09:17] local.INFO: Extracted packet for processing {"connection_id":46028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a28"} 
[2026-04-17 12:09: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-04-17 12:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:09:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760392704001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:09:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:09:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4309733765727121408,"note":"Value kept but may cause issues"} 
[2026-04-17 12:09:17] 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-04-17 12:09:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776407852000,"timestamp_ms":1776407852000,"timestamp_seconds":1776407852,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a28b3e0"} 
[2026-04-17 12:09:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:09:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:09:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 12:09:17] 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-04-17 12:09:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:09:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:09:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:09:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:09:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:09:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:09:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:09:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:09:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:09:17] local.INFO: DEBUG: GPS processor result {"connection_id":46028,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 12:09:17] local.INFO: GPS data processed {"connection_id":46028,"processed":0,"errors":0,"total":1} 
[2026-04-17 12:09:17] local.INFO: Acknowledgment sent {"connection_id":46028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:09:27] local.INFO: TCP Data received {"connection_id":46027,"ip":"117.224.226.179","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a28f648012d132bc0071f05b00026006a20..."} 
[2026-04-17 12:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a28f648012d132bc0071f05b00026006a20..."} 
[2026-04-17 12:09:27] local.INFO: Processing buffer {"connection_id":46027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a28f648012d132bc0071f05b00026006a20..."} 
[2026-04-17 12:09:27] local.INFO: Packet analysis {"connection_id":46027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a28"} 
[2026-04-17 12:09:27] local.INFO: Extracted packet for processing {"connection_id":46027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a28"} 
[2026-04-17 12:09:27] local.INFO: GPS Element Parsed {"raw_longitude":756231104,"raw_latitude":119473584,"longitude_deg":75.6231104,"latitude_deg":11.9473584,"altitude":38,"angle":106,"satellites":32,"speed":48,"hex_longitude":"2d132bc0","hex_latitude":"071f05b0","is_valid_coordinates":true} 
[2026-04-17 12:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760412416001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113494231623925760,"note":"Value kept but may cause issues"} 
[2026-04-17 12:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1371135010887749632,"note":"Value kept but may cause issues"} 
[2026-04-17 12:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776407869000,"timestamp_ms":1776407869000,"timestamp_seconds":1776407869,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a28f648"} 
[2026-04-17 12:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:09: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-04-17 12:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 12:09:27] 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-04-17 12:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.226.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760412416001,"66":14374,"50":206,"28":31744,"24":48,"16":113494231623925760,"45":1371135010887749632},"client_ip":"117.224.226.179","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-04-17 12:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760412416001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:09:27] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-17 12:09:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113494231623925760,"km_value":113494231623925.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1371135010887749632,"description":"Unknown IO ID 45"} 
[2026-04-17 12:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760412416001,"power":14374,"unknown_50":206,"unknown_28":31744,"ignition":48,"odometer":null,"unknown_45":1371135010887749632}} 
[2026-04-17 12:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":46027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:09:27] local.INFO: GPS data processed {"connection_id":46027,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:09:27] local.INFO: Acknowledgment sent {"connection_id":46027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:09:28] local.INFO: TCP Data received {"connection_id":46602,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46602,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:09:28] local.INFO: Processing buffer {"connection_id":46602,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:09:28] local.INFO: Packet analysis {"connection_id":46602,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:09:28] local.INFO: Extracted packet for processing {"connection_id":46602,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:09:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760313344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776407775000,"timestamp_ms":1776407775000,"timestamp_seconds":1776407775,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a278718"} 
[2026-04-17 12:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46602,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46602,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760313344001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760313344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:09:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:09:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760313344001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":46602,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21069,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:09:28] local.INFO: GPS data processed {"connection_id":46602,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:09:28] local.INFO: Acknowledgment sent {"connection_id":46602,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:09:48] local.INFO: TCP Data received {"connection_id":46028,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a280be8012d3be80006a67d200041009730..."} 
[2026-04-17 12:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a280be8012d3be80006a67d200041009730..."} 
[2026-04-17 12:09:48] local.INFO: Processing buffer {"connection_id":46028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a280be8012d3be80006a67d200041009730..."} 
[2026-04-17 12:09:48] local.INFO: Packet analysis {"connection_id":46028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a28"} 
[2026-04-17 12:09:48] local.INFO: Extracted packet for processing {"connection_id":46028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a28"} 
[2026-04-17 12:09:48] local.INFO: GPS Element Parsed {"raw_longitude":758900736,"raw_latitude":111574304,"longitude_deg":75.8900736,"latitude_deg":11.1574304,"altitude":65,"angle":151,"satellites":48,"speed":20,"hex_longitude":"2d3be800","hex_latitude":"06a67d20","is_valid_coordinates":true} 
[2026-04-17 12:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:09:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:09:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,11,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 12:09:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776407809000,"timestamp_ms":1776407809000,"timestamp_seconds":1776407809,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a280be8"} 
[2026-04-17 12:09:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:09:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:09:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 12:09:48] 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-04-17 12:09:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:09:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:09:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:09:48] local.INFO: Teltonika packet parsed successfully {"connection_id":46028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:09:48] local.INFO: Passing IMEI to GPS processor {"connection_id":46028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:09:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":46028,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:09:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:09:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:09:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:09:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28267,"11":206,"19":48128,"24":20,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16]} 
[2026-04-17 12:09:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:09:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:09:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 12:09:48] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 12:09:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:09:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:09:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28267,"unknown_11":206,"unknown_19":48128,"ignition":20,"odometer":null}} 
[2026-04-17 12:09:48] local.INFO: DEBUG: GPS processor result {"connection_id":46028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21070,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:09:48] local.INFO: GPS data processed {"connection_id":46028,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:09:48] local.INFO: Acknowledgment sent {"connection_id":46028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:09:50] local.INFO: TCP Data received {"connection_id":46603,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:09:50] local.INFO: Processing buffer {"connection_id":46603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:09:50] local.INFO: IMEI packet received {"connection_id":46603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":46603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:09:56] local.INFO: TCP Data received {"connection_id":46603,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46603,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:09:56] local.INFO: Processing buffer {"connection_id":46603,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:09:56] local.INFO: IMEI packet received {"connection_id":46603,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":46603,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:09:57] local.INFO: TCP Data received {"connection_id":46603,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:09:57] local.INFO: Processing buffer {"connection_id":46603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:09:57] local.INFO: Packet analysis {"connection_id":46603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:09:57] local.INFO: Extracted packet for processing {"connection_id":46603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760313344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776407775000,"timestamp_ms":1776407775000,"timestamp_seconds":1776407775,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a278718"} 
[2026-04-17 12:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:09:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760313344001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760313344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:09:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:09:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760313344001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":46603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21071,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:09:57] local.INFO: GPS data processed {"connection_id":46603,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:09:57] local.INFO: Acknowledgment sent {"connection_id":46603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:09:58] local.INFO: TCP Data received {"connection_id":46027,"ip":"117.224.226.179","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a291588012d135000071efb680025006821..."} 
[2026-04-17 12:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a291588012d135000071efb680025006821..."} 
[2026-04-17 12:09:58] local.INFO: Processing buffer {"connection_id":46027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a291588012d135000071efb680025006821..."} 
[2026-04-17 12:09:58] local.INFO: Packet analysis {"connection_id":46027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a29"} 
[2026-04-17 12:09:58] local.INFO: Extracted packet for processing {"connection_id":46027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a29"} 
[2026-04-17 12:09:58] local.INFO: GPS Element Parsed {"raw_longitude":756240384,"raw_latitude":119470952,"longitude_deg":75.6240384,"latitude_deg":11.9470952,"altitude":37,"angle":104,"satellites":33,"speed":45,"hex_longitude":"2d135000","hex_latitude":"071efb68","is_valid_coordinates":true} 
[2026-04-17 12:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760414464001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113494691185426432,"note":"Value kept but may cause issues"} 
[2026-04-17 12:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1381408847536959488,"note":"Value kept but may cause issues"} 
[2026-04-17 12:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776407877000,"timestamp_ms":1776407877000,"timestamp_seconds":1776407877,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a291588"} 
[2026-04-17 12:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 12:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.226.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760414464001,"66":14428,"50":206,"28":31744,"24":45,"16":113494691185426432,"45":1381408847536959488},"client_ip":"117.224.226.179","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-04-17 12:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760414464001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:09:58] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-17 12:09:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113494691185426432,"km_value":113494691185426.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1381408847536959488,"description":"Unknown IO ID 45"} 
[2026-04-17 12:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760414464001,"power":14428,"unknown_50":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1381408847536959488}} 
[2026-04-17 12:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":46027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:09:59] local.INFO: GPS data processed {"connection_id":46027,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:09:59] local.INFO: Acknowledgment sent {"connection_id":46027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:10:05] local.INFO: TCP Data received {"connection_id":45834,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:10:05] local.INFO: Processing buffer {"connection_id":45834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:10:05] local.INFO: IMEI packet received {"connection_id":45834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:10:05] local.INFO: IMEI acknowledgment sent {"connection_id":45834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:10:10] local.INFO: TCP Data received {"connection_id":45834,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45834,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:10:10] local.INFO: Processing buffer {"connection_id":45834,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:10:10] local.INFO: IMEI packet received {"connection_id":45834,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":45834,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:10:11] local.INFO: TCP Data received {"connection_id":45834,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2911a00100000000000000000000000000..."} 
[2026-04-17 12:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2911a00100000000000000000000000000..."} 
[2026-04-17 12:10:11] local.INFO: Processing buffer {"connection_id":45834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2911a00100000000000000000000000000..."} 
[2026-04-17 12:10:11] local.INFO: Packet analysis {"connection_id":45834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a29"} 
[2026-04-17 12:10:11] local.INFO: Extracted packet for processing {"connection_id":45834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a29"} 
[2026-04-17 12:10:11] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760399104001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4316700271397642240,"note":"Value kept but may cause issues"} 
[2026-04-17 12:10:11] 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-04-17 12:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776407876000,"timestamp_ms":1776407876000,"timestamp_seconds":1776407876,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2911a0"} 
[2026-04-17 12:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:10:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 12:10:11] 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-04-17 12: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-04-17 12:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:10:11] local.INFO: DEBUG: GPS processor result {"connection_id":45834,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 12:10:11] local.INFO: GPS data processed {"connection_id":45834,"processed":0,"errors":0,"total":1} 
[2026-04-17 12:10:11] local.INFO: Acknowledgment sent {"connection_id":45834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:10:29] local.INFO: TCP Data received {"connection_id":46603,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46603,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:10:29] local.INFO: Processing buffer {"connection_id":46603,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:10:29] local.INFO: Packet analysis {"connection_id":46603,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:10:29] local.INFO: Extracted packet for processing {"connection_id":46603,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:10:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760313344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776407775000,"timestamp_ms":1776407775000,"timestamp_seconds":1776407775,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a278718"} 
[2026-04-17 12:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46603,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46603,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:10: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-04-17 12:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760313344001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760313344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:10:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:10:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760313344001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":46603,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:10:29] local.INFO: GPS data processed {"connection_id":46603,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:10:29] local.INFO: Acknowledgment sent {"connection_id":46603,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:10:30] local.INFO: TCP Data received {"connection_id":46027,"ip":"117.224.226.179","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2a4638012d1487c0071f63e0002d003327..."} 
[2026-04-17 12:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2a4638012d1487c0071f63e0002d003327..."} 
[2026-04-17 12:10:30] local.INFO: Processing buffer {"connection_id":46027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2a4638012d1487c0071f63e0002d003327..."} 
[2026-04-17 12:10:30] local.INFO: Packet analysis {"connection_id":46027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2a"} 
[2026-04-17 12:10:30] local.INFO: Extracted packet for processing {"connection_id":46027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2a"} 
[2026-04-17 12:10:30] local.INFO: GPS Element Parsed {"raw_longitude":756320192,"raw_latitude":119497696,"longitude_deg":75.6320192,"latitude_deg":11.9497696,"altitude":45,"angle":51,"satellites":39,"speed":34,"hex_longitude":"2d1487c0","hex_latitude":"071f63e0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760433408001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113498767109390336,"note":"Value kept but may cause issues"} 
[2026-04-17 12:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1471199365112500224,"note":"Value kept but may cause issues"} 
[2026-04-17 12:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776407955000,"timestamp_ms":1776407955000,"timestamp_seconds":1776407955,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2a4638"} 
[2026-04-17 12:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-17 12:10:30] 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-04-17 12: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-04-17 12:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.226.179","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760433408001,"66":14407,"133":206,"28":31744,"24":34,"16":113498767109390336,"45":1471199365112500224},"client_ip":"117.224.226.179","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,28,24,16,45]} 
[2026-04-17 12:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760433408001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:10:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 12:10:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113498767109390336,"km_value":113498767109390.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1471199365112500224,"description":"Unknown IO ID 45"} 
[2026-04-17 12:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760433408001,"power":14407,"unknown_133":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1471199365112500224}} 
[2026-04-17 12:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":46027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21074,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:10:30] local.INFO: GPS data processed {"connection_id":46027,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:10:30] local.INFO: Acknowledgment sent {"connection_id":46027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:10:43] local.INFO: TCP Data received {"connection_id":45834,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a287178012d3c034006a650380044009231..."} 
[2026-04-17 12:10:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a287178012d3c034006a650380044009231..."} 
[2026-04-17 12:10:43] local.INFO: Processing buffer {"connection_id":45834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a287178012d3c034006a650380044009231..."} 
[2026-04-17 12:10:43] local.INFO: Packet analysis {"connection_id":45834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a28"} 
[2026-04-17 12:10:43] local.INFO: Extracted packet for processing {"connection_id":45834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a28"} 
[2026-04-17 12:10:43] local.INFO: GPS Element Parsed {"raw_longitude":758907712,"raw_latitude":111562808,"longitude_deg":75.8907712,"latitude_deg":11.1562808,"altitude":68,"angle":146,"satellites":49,"speed":20,"hex_longitude":"2d3c0340","hex_latitude":"06a65038","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:10:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:10:43] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,11,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 12:10:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776407835000,"timestamp_ms":1776407835000,"timestamp_seconds":1776407835,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a287178"} 
[2026-04-17 12:10:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:10: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 12:10:43] 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-04-17 12: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-04-17 12:10:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:10:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:10:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:10:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:10:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45834,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:10:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:10:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:10:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:10:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":27876,"11":206,"19":48128,"24":20,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,11,19,24,16]} 
[2026-04-17 12:10:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:10:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:10:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 12:10:43] local.INFO: Unknown IO ID detected {"io_id":11,"value":206,"description":"Unknown IO ID 11"} 
[2026-04-17 12:10:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:10:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:10:43] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":27876,"unknown_11":206,"unknown_19":48128,"ignition":20,"odometer":null}} 
[2026-04-17 12:10:43] local.INFO: DEBUG: GPS processor result {"connection_id":45834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21075,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:10:43] local.INFO: GPS data processed {"connection_id":45834,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:10:43] local.INFO: Acknowledgment sent {"connection_id":45834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:10:51] local.INFO: TCP Data received {"connection_id":45753,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:10:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:10:51] local.INFO: Processing buffer {"connection_id":45753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:10:51] local.INFO: IMEI packet received {"connection_id":45753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:10:51] local.INFO: IMEI acknowledgment sent {"connection_id":45753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:10:56] local.INFO: TCP Data received {"connection_id":45753,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45753,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:10:56] local.INFO: Processing buffer {"connection_id":45753,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:10:56] local.INFO: IMEI packet received {"connection_id":45753,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":45753,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:10:56] local.INFO: TCP Data received {"connection_id":45753,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:10:56] local.INFO: Processing buffer {"connection_id":45753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:10:56] local.INFO: Packet analysis {"connection_id":45753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:10:56] local.INFO: Extracted packet for processing {"connection_id":45753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760313344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776407775000,"timestamp_ms":1776407775000,"timestamp_seconds":1776407775,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a278718"} 
[2026-04-17 12:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:10:56] 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-04-17 12:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760313344001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760313344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:10:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760313344001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":45753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:10:57] local.INFO: GPS data processed {"connection_id":45753,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:10:57] local.INFO: Acknowledgment sent {"connection_id":45753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:11:06] local.INFO: TCP Data received {"connection_id":46604,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:11:06] local.INFO: Processing buffer {"connection_id":46604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:11:06] local.INFO: IMEI packet received {"connection_id":46604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:11:06] local.INFO: IMEI acknowledgment sent {"connection_id":46604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:11:07] local.INFO: TCP Data received {"connection_id":46604,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:11:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:11:07] local.INFO: Processing buffer {"connection_id":46604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:11:07] local.INFO: IMEI packet received {"connection_id":46604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:11:07] local.INFO: IMEI acknowledgment sent {"connection_id":46604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:11:10] local.INFO: TCP Data received {"connection_id":46604,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:11:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:11:10] local.INFO: Processing buffer {"connection_id":46604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:11:10] local.INFO: IMEI packet received {"connection_id":46604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:11:10] local.INFO: IMEI acknowledgment sent {"connection_id":46604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:11:15] local.INFO: TCP Data received {"connection_id":46604,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46604,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:11:15] local.INFO: Processing buffer {"connection_id":46604,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:11:15] local.INFO: IMEI packet received {"connection_id":46604,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":46604,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:11:16] local.INFO: TCP Data received {"connection_id":46604,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2b1158012d3ca18006a3f520003f00b32f..."} 
[2026-04-17 12:11:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2b1158012d3ca18006a3f520003f00b32f..."} 
[2026-04-17 12:11:16] local.INFO: Processing buffer {"connection_id":46604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2b1158012d3ca18006a3f520003f00b32f..."} 
[2026-04-17 12:11:16] local.INFO: Packet analysis {"connection_id":46604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2b"} 
[2026-04-17 12:11:16] local.INFO: Extracted packet for processing {"connection_id":46604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2b"} 
[2026-04-17 12:11:16] local.INFO: GPS Element Parsed {"raw_longitude":758948224,"raw_latitude":111408416,"longitude_deg":75.8948224,"latitude_deg":11.1408416,"altitude":63,"angle":179,"satellites":47,"speed":26,"hex_longitude":"2d3ca180","hex_latitude":"06a3f520","is_valid_coordinates":true} 
[2026-04-17 12:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:11:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:11: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-04-17 12:11:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776408007000,"timestamp_ms":1776408007000,"timestamp_seconds":1776408007,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2b1158"} 
[2026-04-17 12:11:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:11:16] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:11:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 12:11:16] 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-04-17 12:11:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:11:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:11:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:11:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:11:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:11:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:11:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:11:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:11:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:11:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"58":206,"19":48128,"24":26,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16]} 
[2026-04-17 12:11:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:11:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:11:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 12:11:16] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-17 12:11:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:11:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:11:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_58":206,"unknown_19":48128,"ignition":26,"odometer":null}} 
[2026-04-17 12:11:16] local.INFO: DEBUG: GPS processor result {"connection_id":46604,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21077,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:11:16] local.INFO: GPS data processed {"connection_id":46604,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:11:16] local.INFO: Acknowledgment sent {"connection_id":46604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:11:20] local.INFO: TCP Data received {"connection_id":46604,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2c17100100000000000000000000000000..."} 
[2026-04-17 12:11:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46604,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2c17100100000000000000000000000000..."} 
[2026-04-17 12:11:20] local.INFO: Processing buffer {"connection_id":46604,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2c17100100000000000000000000000000..."} 
[2026-04-17 12:11:20] local.INFO: Packet analysis {"connection_id":46604,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:11:20] local.INFO: Extracted packet for processing {"connection_id":46604,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:11: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-04-17 12:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:11:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760449792001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:11:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:11:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368913879535001600,"note":"Value kept but may cause issues"} 
[2026-04-17 12:11:20] 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-04-17 12:11:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776408074000,"timestamp_ms":1776408074000,"timestamp_seconds":1776408074,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2c1710"} 
[2026-04-17 12:11:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:11:20] 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-04-17 12:11:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 12:11:20] 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-04-17 12:11:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:11:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:11:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:11:20] local.INFO: Teltonika packet parsed successfully {"connection_id":46604,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:11:20] local.INFO: Passing IMEI to GPS processor {"connection_id":46604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:11:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":46604,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:11:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:11:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:11:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:11:20] local.INFO: DEBUG: GPS processor result {"connection_id":46604,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 12:11:20] local.INFO: GPS data processed {"connection_id":46604,"processed":0,"errors":0,"total":1} 
[2026-04-17 12:11:20] local.INFO: Acknowledgment sent {"connection_id":46604,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:11:28] local.INFO: TCP Data received {"connection_id":45753,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45753,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:11:28] local.INFO: Processing buffer {"connection_id":45753,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a278718012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:11:28] local.INFO: Packet analysis {"connection_id":45753,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:11:28] local.INFO: Extracted packet for processing {"connection_id":45753,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a27"} 
[2026-04-17 12:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760313344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776407775000,"timestamp_ms":1776407775000,"timestamp_seconds":1776407775,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a278718"} 
[2026-04-17 12:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45753,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45753,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:11:28] 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-04-17 12:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760313344001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760313344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:11:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760313344001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":45753,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21078,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:11:28] local.INFO: GPS data processed {"connection_id":45753,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:11:28] local.INFO: Acknowledgment sent {"connection_id":45753,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:11:49] local.INFO: TCP Data received {"connection_id":46029,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:11:49] local.INFO: Processing buffer {"connection_id":46029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:11:49] local.INFO: IMEI packet received {"connection_id":46029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":46029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:11:50] local.INFO: TCP Data received {"connection_id":46605,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:11:50] local.INFO: Processing buffer {"connection_id":46605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:11:50] local.INFO: IMEI packet received {"connection_id":46605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":46605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:11:53] local.INFO: TCP Data received {"connection_id":46029,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:11:53] local.INFO: Processing buffer {"connection_id":46029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:11:53] local.INFO: IMEI packet received {"connection_id":46029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":46029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:11:54] local.INFO: TCP Data received {"connection_id":46029,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:11:54] local.INFO: Processing buffer {"connection_id":46029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:11:54] local.INFO: IMEI packet received {"connection_id":46029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":46029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:11:54] local.INFO: TCP Data received {"connection_id":46605,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:11:54] local.INFO: Processing buffer {"connection_id":46605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:11:54] local.INFO: IMEI packet received {"connection_id":46605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":46605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:11:54] local.INFO: TCP Data received {"connection_id":46029,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2bc508012d15ce00071fd820001c004f25..."} 
[2026-04-17 12:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2bc508012d15ce00071fd820001c004f25..."} 
[2026-04-17 12:11:54] local.INFO: Processing buffer {"connection_id":46029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2bc508012d15ce00071fd820001c004f25..."} 
[2026-04-17 12:11:54] local.INFO: Packet analysis {"connection_id":46029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2b"} 
[2026-04-17 12:11:54] local.INFO: Extracted packet for processing {"connection_id":46029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2b"} 
[2026-04-17 12:11:54] local.INFO: GPS Element Parsed {"raw_longitude":756403712,"raw_latitude":119527456,"longitude_deg":75.6403712,"latitude_deg":11.9527456,"altitude":28,"angle":79,"satellites":37,"speed":41,"hex_longitude":"2d15ce00","hex_latitude":"071fd820","is_valid_coordinates":true} 
[2026-04-17 12:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760459264001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113503109321326592,"note":"Value kept but may cause issues"} 
[2026-04-17 12:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1561130620179976192,"note":"Value kept but may cause issues"} 
[2026-04-17 12:11:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776408053000,"timestamp_ms":1776408053000,"timestamp_seconds":1776408053,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2bc508"} 
[2026-04-17 12:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:11: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-04-17 12:11:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 12:11:54] 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-04-17 12:11:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760459264001,"66":14559,"131":206,"28":31744,"24":41,"16":113503109321326592,"45":1561130620179976192},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-17 12:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760459264001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:11:54] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 12:11:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113503109321326592,"km_value":113503109321326.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1561130620179976192,"description":"Unknown IO ID 45"} 
[2026-04-17 12:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760459264001,"power":14559,"unknown_131":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1561130620179976192}} 
[2026-04-17 12:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":46029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21079,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:11:54] local.INFO: GPS data processed {"connection_id":46029,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:11:54] local.INFO: Acknowledgment sent {"connection_id":46029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:11:56] local.INFO: TCP Data received {"connection_id":46605,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46605,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:11:56] local.INFO: Processing buffer {"connection_id":46605,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:11:56] local.INFO: IMEI packet received {"connection_id":46605,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":46605,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:11:56] local.INFO: TCP Data received {"connection_id":46605,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:11:56] local.INFO: Processing buffer {"connection_id":46605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:11:56] local.INFO: Packet analysis {"connection_id":46605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:11:56] local.INFO: Extracted packet for processing {"connection_id":46605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":15,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760390400001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776408076000,"timestamp_ms":1776408076000,"timestamp_seconds":1776408076,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2c1ee0"} 
[2026-04-17 12:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:11:56] 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-04-17 12:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760390400001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760390400001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:11:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760390400001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":46605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21080,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:11:56] local.INFO: GPS data processed {"connection_id":46605,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:11:56] local.INFO: Acknowledgment sent {"connection_id":46605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:11:59] local.INFO: TCP Data received {"connection_id":46029,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2bec18012d15f2c0071fdd90001d005426..."} 
[2026-04-17 12:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2bec18012d15f2c0071fdd90001d005426..."} 
[2026-04-17 12:11:59] local.INFO: Processing buffer {"connection_id":46029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2bec18012d15f2c0071fdd90001d005426..."} 
[2026-04-17 12:11:59] local.INFO: Packet analysis {"connection_id":46029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2b"} 
[2026-04-17 12:11:59] local.INFO: Extracted packet for processing {"connection_id":46029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2b"} 
[2026-04-17 12:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756413120,"raw_latitude":119528848,"longitude_deg":75.641312,"latitude_deg":11.9528848,"altitude":29,"angle":84,"satellites":38,"speed":32,"hex_longitude":"2d15f2c0","hex_latitude":"071fdd90","is_valid_coordinates":true} 
[2026-04-17 12:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760461568001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113503560292892672,"note":"Value kept but may cause issues"} 
[2026-04-17 12:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1571193350597910528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776408063000,"timestamp_ms":1776408063000,"timestamp_seconds":1776408063,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2bec18"} 
[2026-04-17 12:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-17 12:11:59] 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-04-17 12:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760461568001,"66":14298,"131":206,"28":31744,"24":32,"16":113503560292892672,"45":1571193350597910528},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-17 12:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760461568001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:11:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 12:11:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113503560292892672,"km_value":113503560292892.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1571193350597910528,"description":"Unknown IO ID 45"} 
[2026-04-17 12:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760461568001,"power":14298,"unknown_131":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1571193350597910528}} 
[2026-04-17 12:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":46029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21081,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:11:59] local.INFO: GPS data processed {"connection_id":46029,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:11:59] local.INFO: Acknowledgment sent {"connection_id":46029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:12:06] local.INFO: TCP Data received {"connection_id":46030,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:12:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:12:06] local.INFO: Processing buffer {"connection_id":46030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:12:06] local.INFO: IMEI packet received {"connection_id":46030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:12:06] local.INFO: IMEI acknowledgment sent {"connection_id":46030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:12:10] local.INFO: TCP Data received {"connection_id":46030,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46030,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:12:10] local.INFO: Processing buffer {"connection_id":46030,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:12:10] local.INFO: IMEI packet received {"connection_id":46030,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":46030,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:12:12] local.INFO: TCP Data received {"connection_id":46030,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2b6748012d3ca00006a3b400004100b625..."} 
[2026-04-17 12:12:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2b6748012d3ca00006a3b400004100b625..."} 
[2026-04-17 12:12:12] local.INFO: Processing buffer {"connection_id":46030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2b6748012d3ca00006a3b400004100b625..."} 
[2026-04-17 12:12:12] local.INFO: Packet analysis {"connection_id":46030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2b"} 
[2026-04-17 12:12:12] local.INFO: Extracted packet for processing {"connection_id":46030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2b"} 
[2026-04-17 12:12:12] local.INFO: GPS Element Parsed {"raw_longitude":758947840,"raw_latitude":111391744,"longitude_deg":75.894784,"latitude_deg":11.1391744,"altitude":65,"angle":182,"satellites":37,"speed":34,"hex_longitude":"2d3ca000","hex_latitude":"06a3b400","is_valid_coordinates":true} 
[2026-04-17 12:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:12:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:12:12] 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-04-17 12:12:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776408029000,"timestamp_ms":1776408029000,"timestamp_seconds":1776408029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2b6748"} 
[2026-04-17 12:12:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:12:12] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:12:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-17 12:12:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:12:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:12:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:12:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:12:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:12:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46030,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:12:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46030,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:12:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:12:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:12:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:12:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28419,"58":206,"19":48128,"24":34,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16]} 
[2026-04-17 12:12:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:12:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:12:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 12:12:12] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-17 12:12:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:12:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:12:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28419,"unknown_58":206,"unknown_19":48128,"ignition":34,"odometer":null}} 
[2026-04-17 12:12:12] local.INFO: DEBUG: GPS processor result {"connection_id":46030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21082,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:12:12] local.INFO: GPS data processed {"connection_id":46030,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:12:12] local.INFO: Acknowledgment sent {"connection_id":46030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:12:14] local.INFO: TCP Data received {"connection_id":46030,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2bb950012d3c984006a36dd0004000bc2e..."} 
[2026-04-17 12:12:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2bb950012d3c984006a36dd0004000bc2e..."} 
[2026-04-17 12:12:14] local.INFO: Processing buffer {"connection_id":46030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2bb950012d3c984006a36dd0004000bc2e..."} 
[2026-04-17 12:12:14] local.INFO: Packet analysis {"connection_id":46030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2b"} 
[2026-04-17 12:12:14] local.INFO: Extracted packet for processing {"connection_id":46030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2b"} 
[2026-04-17 12:12:14] local.INFO: GPS Element Parsed {"raw_longitude":758945856,"raw_latitude":111373776,"longitude_deg":75.8945856,"latitude_deg":11.1373776,"altitude":64,"angle":188,"satellites":46,"speed":0,"hex_longitude":"2d3c9840","hex_latitude":"06a36dd0","is_valid_coordinates":true} 
[2026-04-17 12:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:12:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760455424001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:12:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:12:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4368491667065667584,"note":"Value kept but may cause issues"} 
[2026-04-17 12:12:14] 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-04-17 12:12:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776408050000,"timestamp_ms":1776408050000,"timestamp_seconds":1776408050,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2bb950"} 
[2026-04-17 12:12:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:12:14] 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-04-17 12:12:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-17 12:12:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:12:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:12:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:12:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:12:14] local.INFO: Teltonika packet parsed successfully {"connection_id":46030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:12:14] local.INFO: Passing IMEI to GPS processor {"connection_id":46030,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:12:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":46030,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:12:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:12:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:12:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:12:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760455424001,"66":28267,"58":206,"19":48128,"24":0,"16":106618783551979520,"45":4368491667065667584},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,19,24,16,45]} 
[2026-04-17 12:12:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:12:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:12:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760455424001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:12:14] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-17 12:12:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:12:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:12:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4368491667065667584,"description":"Unknown IO ID 45"} 
[2026-04-17 12:12:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760455424001,"power":28267,"unknown_58":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4368491667065667584}} 
[2026-04-17 12:12:14] local.INFO: DEBUG: GPS processor result {"connection_id":46030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21083,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:12:14] local.INFO: GPS data processed {"connection_id":46030,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:12:14] local.INFO: Acknowledgment sent {"connection_id":46030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:12:28] local.INFO: TCP Data received {"connection_id":46605,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46605,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:12:28] local.INFO: Processing buffer {"connection_id":46605,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:12:28] local.INFO: Packet analysis {"connection_id":46605,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:12:28] local.INFO: Extracted packet for processing {"connection_id":46605,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:12:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":15,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760390400001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776408076000,"timestamp_ms":1776408076000,"timestamp_seconds":1776408076,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2c1ee0"} 
[2026-04-17 12:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46605,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46605,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760390400001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760390400001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:12:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:12:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760390400001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":46605,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:12:28] local.INFO: GPS data processed {"connection_id":46605,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:12:28] local.INFO: Acknowledgment sent {"connection_id":46605,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:12:30] local.INFO: TCP Data received {"connection_id":46029,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2c1af8012d161940071fe198001f005223..."} 
[2026-04-17 12:12:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2c1af8012d161940071fe198001f005223..."} 
[2026-04-17 12:12:30] local.INFO: Processing buffer {"connection_id":46029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2c1af8012d161940071fe198001f005223..."} 
[2026-04-17 12:12:30] local.INFO: Packet analysis {"connection_id":46029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:12:30] local.INFO: Extracted packet for processing {"connection_id":46029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:12:30] local.INFO: GPS Element Parsed {"raw_longitude":756422976,"raw_latitude":119529880,"longitude_deg":75.6422976,"latitude_deg":11.952988,"altitude":31,"angle":82,"satellites":35,"speed":37,"hex_longitude":"2d161940","hex_latitude":"071fe198","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:12:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760464128001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:12:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113504028444327936,"note":"Value kept but may cause issues"} 
[2026-04-17 12:12:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1581537555992383488,"note":"Value kept but may cause issues"} 
[2026-04-17 12:12:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:12:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776408075000,"timestamp_ms":1776408075000,"timestamp_seconds":1776408075,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2c1af8"} 
[2026-04-17 12:12:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:12:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:12:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-17 12:12:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:12:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:12:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:12:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:12:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:12:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:12:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:12:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:12:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:12:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760464128001,"66":14363,"131":206,"28":31744,"24":37,"16":113504028444327936,"45":1581537555992383488},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-17 12:12:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:12:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:12:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760464128001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:12:30] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 12:12:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:12:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113504028444327936,"km_value":113504028444327.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:12:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1581537555992383488,"description":"Unknown IO ID 45"} 
[2026-04-17 12:12:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760464128001,"power":14363,"unknown_131":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1581537555992383488}} 
[2026-04-17 12:12:30] local.INFO: DEBUG: GPS processor result {"connection_id":46029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:12:30] local.INFO: GPS data processed {"connection_id":46029,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:12:30] local.INFO: Acknowledgment sent {"connection_id":46029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:12:45] local.INFO: TCP Data received {"connection_id":46030,"ip":"117.224.17.214","data_length":93,"data_hex":"00000000000000518e010000019d9a2c0b58012d3c8dc006a329b0004100bd30..."} 
[2026-04-17 12:12:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46030,"packet_length":93,"packet_hex":"00000000000000518e010000019d9a2c0b58012d3c8dc006a329b0004100bd30..."} 
[2026-04-17 12:12:45] local.INFO: Processing buffer {"connection_id":46030,"buffer_length":93,"buffer_hex":"00000000000000518e010000019d9a2c0b58012d3c8dc006a329b0004100bd30..."} 
[2026-04-17 12:12:45] local.INFO: Packet analysis {"connection_id":46030,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019d9a2c"} 
[2026-04-17 12:12:45] local.INFO: Extracted packet for processing {"connection_id":46030,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019d9a2c"} 
[2026-04-17 12:12:45] local.INFO: GPS Element Parsed {"raw_longitude":758943168,"raw_latitude":111356336,"longitude_deg":75.8943168,"latitude_deg":11.1356336,"altitude":65,"angle":189,"satellites":48,"speed":0,"hex_longitude":"2d3c8dc0","hex_latitude":"06a329b0","is_valid_coordinates":true} 
[2026-04-17 12:12:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-04-17 12:12:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:12:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:12:45] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:12:45] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-17 12:12:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46030,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-17 12:12:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46030,"device_imei":"862567071632322","avl_records_count":0} 
[2026-04-17 12:12:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46030,"device_imei":"862567071632322","avl_records_count":0} 
[2026-04-17 12:12:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-17 12:12:45] local.WARNING: DEBUG: No valid data to process  
[2026-04-17 12:12:45] local.INFO: DEBUG: GPS processor result {"connection_id":46030,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-17 12:12:45] local.ERROR: GPS data processing failed {"connection_id":46030,"error":"No valid data to process"} 
[2026-04-17 12:12:45] local.INFO: Acknowledgment sent {"connection_id":46030,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-17 12:12:50] local.INFO: TCP Data received {"connection_id":46031,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:12:50] local.INFO: Processing buffer {"connection_id":46031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:12:50] local.INFO: IMEI packet received {"connection_id":46031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":46031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:12:52] local.INFO: TCP Data received {"connection_id":46032,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:12:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:12:52] local.INFO: Processing buffer {"connection_id":46032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:12:52] local.INFO: IMEI packet received {"connection_id":46032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:12:52] local.INFO: IMEI acknowledgment sent {"connection_id":46032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:12:53] local.INFO: TCP Data received {"connection_id":46032,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:12:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:12:53] local.INFO: Processing buffer {"connection_id":46032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:12:53] local.INFO: IMEI packet received {"connection_id":46032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:12:53] local.INFO: IMEI acknowledgment sent {"connection_id":46032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:12:56] local.INFO: TCP Data received {"connection_id":46031,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46031,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:12:56] local.INFO: Processing buffer {"connection_id":46031,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:12:56] local.INFO: IMEI packet received {"connection_id":46031,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":46031,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:12:57] local.INFO: TCP Data received {"connection_id":46031,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:12:57] local.INFO: Processing buffer {"connection_id":46031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:12:57] local.INFO: Packet analysis {"connection_id":46031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:12:57] local.INFO: Extracted packet for processing {"connection_id":46031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":15,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760390400001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776408076000,"timestamp_ms":1776408076000,"timestamp_seconds":1776408076,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2c1ee0"} 
[2026-04-17 12:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760390400001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760390400001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:12:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760390400001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":46031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:12:57] local.INFO: GPS data processed {"connection_id":46031,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:12:57] local.INFO: Acknowledgment sent {"connection_id":46031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:12:58] local.INFO: TCP Data received {"connection_id":46032,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:12:58] local.INFO: Processing buffer {"connection_id":46032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:12:58] local.INFO: IMEI packet received {"connection_id":46032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:12:58] local.INFO: IMEI acknowledgment sent {"connection_id":46032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:12:59] local.INFO: TCP Data received {"connection_id":46032,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2c2e80012d162a80071fe568002100461f..."} 
[2026-04-17 12:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2c2e80012d162a80071fe568002100461f..."} 
[2026-04-17 12:12:59] local.INFO: Processing buffer {"connection_id":46032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2c2e80012d162a80071fe568002100461f..."} 
[2026-04-17 12:12:59] local.INFO: Packet analysis {"connection_id":46032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:12:59] local.INFO: Extracted packet for processing {"connection_id":46032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756427392,"raw_latitude":119530856,"longitude_deg":75.6427392,"latitude_deg":11.9530856,"altitude":33,"angle":70,"satellites":31,"speed":31,"hex_longitude":"2d162a80","hex_latitude":"071fe568","is_valid_coordinates":true} 
[2026-04-17 12:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760467200001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113504247487660032,"note":"Value kept but may cause issues"} 
[2026-04-17 12:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1592374342596007936,"note":"Value kept but may cause issues"} 
[2026-04-17 12:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776408080000,"timestamp_ms":1776408080000,"timestamp_seconds":1776408080,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2c2e80"} 
[2026-04-17 12:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-17 12:12:59] 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-04-17 12:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760467200001,"66":13906,"131":206,"28":31744,"24":31,"16":113504247487660032,"45":1592374342596007936},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-17 12:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760467200001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:12:59] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 12:12:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113504247487660032,"km_value":113504247487660.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1592374342596007936,"description":"Unknown IO ID 45"} 
[2026-04-17 12:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760467200001,"power":13906,"unknown_131":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1592374342596007936}} 
[2026-04-17 12:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":46032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:12:59] local.INFO: GPS data processed {"connection_id":46032,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:12:59] local.INFO: Acknowledgment sent {"connection_id":46032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:12:59] local.INFO: TCP Data received {"connection_id":46033,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:12:59] local.INFO: Processing buffer {"connection_id":46033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:12:59] local.INFO: IMEI packet received {"connection_id":46033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":46033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:13:00] local.INFO: TCP Data received {"connection_id":46032,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2c6148012d164a40071ff4e00025004122..."} 
[2026-04-17 12:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2c6148012d164a40071ff4e00025004122..."} 
[2026-04-17 12:13:00] local.INFO: Processing buffer {"connection_id":46032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2c6148012d164a40071ff4e00025004122..."} 
[2026-04-17 12:13:00] local.INFO: Packet analysis {"connection_id":46032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:13:00] local.INFO: Extracted packet for processing {"connection_id":46032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:13:00] local.INFO: GPS Element Parsed {"raw_longitude":756435520,"raw_latitude":119534816,"longitude_deg":75.643552,"latitude_deg":11.9534816,"altitude":37,"angle":65,"satellites":34,"speed":30,"hex_longitude":"2d164a40","hex_latitude":"071ff4e0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760468480001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113504676984389632,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1597229785944516608,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776408093000,"timestamp_ms":1776408093000,"timestamp_seconds":1776408093,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2c6148"} 
[2026-04-17 12:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:13: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-04-17 12: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-17 12:13:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:13:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760468480001,"66":13961,"131":206,"28":31744,"24":30,"16":113504676984389632,"45":1597229785944516608},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-17 12:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760468480001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:13:00] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 12:13:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113504676984389632,"km_value":113504676984389.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1597229785944516608,"description":"Unknown IO ID 45"} 
[2026-04-17 12:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760468480001,"power":13961,"unknown_131":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1597229785944516608}} 
[2026-04-17 12:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":46032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21088,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:13:00] local.INFO: GPS data processed {"connection_id":46032,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:13:00] local.INFO: Acknowledgment sent {"connection_id":46032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:13:04] local.INFO: TCP Data received {"connection_id":46033,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:13:04] local.INFO: Processing buffer {"connection_id":46033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:13:04] local.INFO: IMEI packet received {"connection_id":46033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":46033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:13:05] local.INFO: TCP Data received {"connection_id":46033,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2c5d60012d3c844006a2ecc8004600bc31..."} 
[2026-04-17 12:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2c5d60012d3c844006a2ecc8004600bc31..."} 
[2026-04-17 12:13:05] local.INFO: Processing buffer {"connection_id":46033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2c5d60012d3c844006a2ecc8004600bc31..."} 
[2026-04-17 12:13:05] local.INFO: Packet analysis {"connection_id":46033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:13:05] local.INFO: Extracted packet for processing {"connection_id":46033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:13:05] local.INFO: GPS Element Parsed {"raw_longitude":758940736,"raw_latitude":111340744,"longitude_deg":75.8940736,"latitude_deg":11.1340744,"altitude":70,"angle":188,"satellites":49,"speed":0,"hex_longitude":"2d3c8440","hex_latitude":"06a2ecc8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760466176001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4363354748731633664,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:05] 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-04-17 12:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776408092000,"timestamp_ms":1776408092000,"timestamp_seconds":1776408092,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2c5d60"} 
[2026-04-17 12:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 12:13:05] 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-04-17 12: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-04-17 12:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:13:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760466176001,"66":28398,"56":206,"19":48128,"24":0,"16":106618783551979520,"45":4363354748731633664},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,19,24,16,45]} 
[2026-04-17 12:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760466176001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:13:06] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-04-17 12:13:06] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":4363354748731633664,"description":"Unknown IO ID 45"} 
[2026-04-17 12:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760466176001,"power":28398,"unknown_56":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4363354748731633664}} 
[2026-04-17 12:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":46033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21089,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:13:06] local.INFO: GPS data processed {"connection_id":46033,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:13:06] local.INFO: Acknowledgment sent {"connection_id":46033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:13:28] local.INFO: TCP Data received {"connection_id":46031,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:13:28] local.INFO: Processing buffer {"connection_id":46031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:13:28] local.INFO: Packet analysis {"connection_id":46031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:13:28] local.INFO: Extracted packet for processing {"connection_id":46031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":15,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760390400001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776408076000,"timestamp_ms":1776408076000,"timestamp_seconds":1776408076,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2c1ee0"} 
[2026-04-17 12:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46031,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760390400001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760390400001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:13:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:13:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760390400001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":46031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:13:28] local.INFO: GPS data processed {"connection_id":46031,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:13:28] local.INFO: Acknowledgment sent {"connection_id":46031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:13:31] local.INFO: TCP Data received {"connection_id":46032,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2c8858012d166b8007200488002a004022..."} 
[2026-04-17 12:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2c8858012d166b8007200488002a004022..."} 
[2026-04-17 12:13:31] local.INFO: Processing buffer {"connection_id":46032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2c8858012d166b8007200488002a004022..."} 
[2026-04-17 12:13:31] local.INFO: Packet analysis {"connection_id":46032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:13:31] local.INFO: Extracted packet for processing {"connection_id":46032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:13:31] local.INFO: GPS Element Parsed {"raw_longitude":756444032,"raw_latitude":119538824,"longitude_deg":75.6444032,"latitude_deg":11.9538824,"altitude":42,"angle":64,"satellites":34,"speed":42,"hex_longitude":"2d166b80","hex_latitude":"07200488","is_valid_coordinates":true} 
[2026-04-17 12:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:13:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760471808001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113505123660988416,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1606166616456093696,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:13:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776408103000,"timestamp_ms":1776408103000,"timestamp_seconds":1776408103,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2c8858"} 
[2026-04-17 12:13:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12: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-04-17 12:13:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-17 12:13:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:13:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:13:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:13:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:13:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:13:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:13:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:13:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:13:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:13:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:13:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760471808001,"66":14070,"122":206,"28":31744,"24":42,"16":113505123660988416,"45":1606166616456093696},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-17 12:13:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:13:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:13:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760471808001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:13:31] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-17 12:13:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:13:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113505123660988416,"km_value":113505123660988.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:13:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1606166616456093696,"description":"Unknown IO ID 45"} 
[2026-04-17 12:13:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760471808001,"power":14070,"unknown_122":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1606166616456093696}} 
[2026-04-17 12:13:31] local.INFO: DEBUG: GPS processor result {"connection_id":46032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:13:31] local.INFO: GPS data processed {"connection_id":46032,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:13:31] local.INFO: Acknowledgment sent {"connection_id":46032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:13:37] local.INFO: TCP Data received {"connection_id":46033,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2ca3b0012d3c830006a2afe0004900ac2d..."} 
[2026-04-17 12:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2ca3b0012d3c830006a2afe0004900ac2d..."} 
[2026-04-17 12:13:37] local.INFO: Processing buffer {"connection_id":46033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2ca3b0012d3c830006a2afe0004900ac2d..."} 
[2026-04-17 12:13:37] local.INFO: Packet analysis {"connection_id":46033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:13:37] local.INFO: Extracted packet for processing {"connection_id":46033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:13:37] local.INFO: GPS Element Parsed {"raw_longitude":758940416,"raw_latitude":111325152,"longitude_deg":75.8940416,"latitude_deg":11.1325152,"altitude":73,"angle":172,"satellites":45,"speed":28,"hex_longitude":"2d3c8300","hex_latitude":"06a2afe0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760471552001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4360680736448890880,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13: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-04-17 12:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776408110000,"timestamp_ms":1776408110000,"timestamp_seconds":1776408110,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2ca3b0"} 
[2026-04-17 12:13:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:13: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-04-17 12: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 12:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:13:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46033,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760471552001,"66":28376,"56":206,"19":48128,"24":28,"16":106618783551979520,"45":4360680736448890880},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,19,24,16,45]} 
[2026-04-17 12:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760471552001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:13:37] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-04-17 12:13:37] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":4360680736448890880,"description":"Unknown IO ID 45"} 
[2026-04-17 12:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760471552001,"power":28376,"unknown_56":206,"unknown_19":48128,"ignition":28,"odometer":null,"unknown_45":4360680736448890880}} 
[2026-04-17 12:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":46033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21092,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:13:37] local.INFO: GPS data processed {"connection_id":46033,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:13:37] local.INFO: Acknowledgment sent {"connection_id":46033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:13:49] local.INFO: TCP Data received {"connection_id":46034,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:13:49] local.INFO: Processing buffer {"connection_id":46034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:13:49] local.INFO: IMEI packet received {"connection_id":46034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":46034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:13:50] local.INFO: TCP Data received {"connection_id":46034,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:13:50] local.INFO: Processing buffer {"connection_id":46034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:13:50] local.INFO: IMEI packet received {"connection_id":46034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":46034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:13:51] local.INFO: TCP Data received {"connection_id":46034,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2cab80012d168f00072015d8002c003f25..."} 
[2026-04-17 12:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2cab80012d168f00072015d8002c003f25..."} 
[2026-04-17 12:13:51] local.INFO: Processing buffer {"connection_id":46034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2cab80012d168f00072015d8002c003f25..."} 
[2026-04-17 12:13:51] local.INFO: Packet analysis {"connection_id":46034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:13:51] local.INFO: Extracted packet for processing {"connection_id":46034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:13:51] local.INFO: GPS Element Parsed {"raw_longitude":756453120,"raw_latitude":119543256,"longitude_deg":75.645312,"latitude_deg":11.9543256,"altitude":44,"angle":63,"satellites":37,"speed":43,"hex_longitude":"2d168f00","hex_latitude":"072015d8","is_valid_coordinates":true} 
[2026-04-17 12:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:13:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760474368001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113505604697325568,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1615525659432749056,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13: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-04-17 12:13:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776408112000,"timestamp_ms":1776408112000,"timestamp_seconds":1776408112,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2cab80"} 
[2026-04-17 12:13:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:13: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-04-17 12:13:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-17 12:13:51] 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-04-17 12:13:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:13:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:13:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:13:51] local.INFO: Teltonika packet parsed successfully {"connection_id":46034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:13:51] local.INFO: Passing IMEI to GPS processor {"connection_id":46034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:13:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":46034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:13:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:13:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:13:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:13:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760474368001,"66":13993,"122":206,"28":31744,"24":43,"16":113505604697325568,"45":1615525659432749056},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-17 12:13:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:13:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:13:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760474368001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:13:51] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-17 12:13:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:13:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113505604697325568,"km_value":113505604697325.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:13:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1615525659432749056,"description":"Unknown IO ID 45"} 
[2026-04-17 12:13:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760474368001,"power":13993,"unknown_122":206,"unknown_28":31744,"ignition":43,"odometer":null,"unknown_45":1615525659432749056}} 
[2026-04-17 12:13:51] local.INFO: DEBUG: GPS processor result {"connection_id":46034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:13:51] local.INFO: GPS data processed {"connection_id":46034,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:13:51] local.INFO: Acknowledgment sent {"connection_id":46034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:13:51] local.INFO: TCP Data received {"connection_id":46606,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:13:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:13:51] local.INFO: Processing buffer {"connection_id":46606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:13:51] local.INFO: IMEI packet received {"connection_id":46606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:13:51] local.INFO: IMEI acknowledgment sent {"connection_id":46606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:13:54] local.INFO: TCP Data received {"connection_id":46034,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2ccac0012d16ae0007202688002b003723..."} 
[2026-04-17 12:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2ccac0012d16ae0007202688002b003723..."} 
[2026-04-17 12:13:54] local.INFO: Processing buffer {"connection_id":46034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2ccac0012d16ae0007202688002b003723..."} 
[2026-04-17 12:13:54] local.INFO: Packet analysis {"connection_id":46034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:13:54] local.INFO: Extracted packet for processing {"connection_id":46034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:13:54] local.INFO: GPS Element Parsed {"raw_longitude":756461056,"raw_latitude":119547528,"longitude_deg":75.6461056,"latitude_deg":11.9547528,"altitude":43,"angle":55,"satellites":35,"speed":45,"hex_longitude":"2d16ae00","hex_latitude":"07202688","is_valid_coordinates":true} 
[2026-04-17 12:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:13:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760476672001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113506034194055168,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1625518021107111936,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:54] 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-04-17 12:13:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776408120000,"timestamp_ms":1776408120000,"timestamp_seconds":1776408120,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2ccac0"} 
[2026-04-17 12:13:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:13:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:13:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 12:13:54] 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-04-17 12:13:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:13:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:13:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:13:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:13:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:13:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:13:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:13:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:13:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:13:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760476672001,"66":14004,"122":206,"28":31744,"24":45,"16":113506034194055168,"45":1625518021107111936},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-17 12:13:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:13:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:13:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760476672001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:13:54] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-17 12:13:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:13:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113506034194055168,"km_value":113506034194055.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:13:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1625518021107111936,"description":"Unknown IO ID 45"} 
[2026-04-17 12:13:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760476672001,"power":14004,"unknown_122":206,"unknown_28":31744,"ignition":45,"odometer":null,"unknown_45":1625518021107111936}} 
[2026-04-17 12:13:54] local.INFO: DEBUG: GPS processor result {"connection_id":46034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:13:54] local.INFO: GPS data processed {"connection_id":46034,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:13:54] local.INFO: Acknowledgment sent {"connection_id":46034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:13:56] local.INFO: TCP Data received {"connection_id":46606,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46606,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:13:56] local.INFO: Processing buffer {"connection_id":46606,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:13:56] local.INFO: IMEI packet received {"connection_id":46606,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":46606,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:13:57] local.INFO: TCP Data received {"connection_id":46606,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:13:57] local.INFO: Processing buffer {"connection_id":46606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:13:57] local.INFO: Packet analysis {"connection_id":46606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:13:57] local.INFO: Extracted packet for processing {"connection_id":46606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:13:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":15,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760390400001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776408076000,"timestamp_ms":1776408076000,"timestamp_seconds":1776408076,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2c1ee0"} 
[2026-04-17 12:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760390400001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760390400001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:13:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:13:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760390400001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":46606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:13:57] local.INFO: GPS data processed {"connection_id":46606,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:13:57] local.INFO: Acknowledgment sent {"connection_id":46606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:14:04] local.INFO: TCP Data received {"connection_id":46035,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:14:04] local.INFO: Processing buffer {"connection_id":46035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:14:04] local.INFO: IMEI packet received {"connection_id":46035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":46035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:14:10] local.INFO: TCP Data received {"connection_id":46035,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:14:10] local.INFO: Processing buffer {"connection_id":46035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:14:10] local.INFO: IMEI packet received {"connection_id":46035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":46035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:14:11] local.INFO: TCP Data received {"connection_id":46035,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2cf5b8012d3c928006a27188004c00a326..."} 
[2026-04-17 12:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2cf5b8012d3c928006a27188004c00a326..."} 
[2026-04-17 12:14:11] local.INFO: Processing buffer {"connection_id":46035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2cf5b8012d3c928006a27188004c00a326..."} 
[2026-04-17 12:14:11] local.INFO: Packet analysis {"connection_id":46035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:14:11] local.INFO: Extracted packet for processing {"connection_id":46035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:14:11] local.INFO: GPS Element Parsed {"raw_longitude":758944384,"raw_latitude":111309192,"longitude_deg":75.8944384,"latitude_deg":11.1309192,"altitude":76,"angle":163,"satellites":38,"speed":33,"hex_longitude":"2d3c9280","hex_latitude":"06a27188","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760476160001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4360328892724011008,"note":"Value kept but may cause issues"} 
[2026-04-17 12:14:11] 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-04-17 12:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776408131000,"timestamp_ms":1776408131000,"timestamp_seconds":1776408131,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2cf5b8"} 
[2026-04-17 12:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 12:14:11] 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-04-17 12: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-04-17 12:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760476160001,"66":28234,"56":206,"19":48128,"24":33,"16":106618783551979520,"45":4360328892724011008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,56,19,24,16,45]} 
[2026-04-17 12:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760476160001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:14:11] local.INFO: Unknown IO ID detected {"io_id":56,"value":206,"description":"Unknown IO ID 56"} 
[2026-04-17 12:14:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4360328892724011008,"description":"Unknown IO ID 45"} 
[2026-04-17 12:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760476160001,"power":28234,"unknown_56":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":4360328892724011008}} 
[2026-04-17 12:14:12] local.INFO: DEBUG: GPS processor result {"connection_id":46035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21096,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:14:12] local.INFO: GPS data processed {"connection_id":46035,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:14:12] local.INFO: Acknowledgment sent {"connection_id":46035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:14:26] local.INFO: TCP Data received {"connection_id":46034,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2e1ab0012d17c540072131a00039002225..."} 
[2026-04-17 12:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2e1ab0012d17c540072131a00039002225..."} 
[2026-04-17 12:14:26] local.INFO: Processing buffer {"connection_id":46034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2e1ab0012d17c540072131a00039002225..."} 
[2026-04-17 12:14:26] local.INFO: Packet analysis {"connection_id":46034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2e"} 
[2026-04-17 12:14:26] local.INFO: Extracted packet for processing {"connection_id":46034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2e"} 
[2026-04-17 12:14:26] local.INFO: GPS Element Parsed {"raw_longitude":756532544,"raw_latitude":119615904,"longitude_deg":75.6532544,"latitude_deg":11.9615904,"altitude":57,"angle":34,"satellites":37,"speed":47,"hex_longitude":"2d17c540","hex_latitude":"072131a0","is_valid_coordinates":true} 
[2026-04-17 12:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:14:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760499200001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:14:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113510793017819136,"note":"Value kept but may cause issues"} 
[2026-04-17 12:14:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1707286501858732032,"note":"Value kept but may cause issues"} 
[2026-04-17 12:14:26] 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-04-17 12:14:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776408206000,"timestamp_ms":1776408206000,"timestamp_seconds":1776408206,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2e1ab0"} 
[2026-04-17 12:14:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:14: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-04-17 12:14:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-17 12:14:26] 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-04-17 12:14:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:14:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:14:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:14:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:14:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:14:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:14:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:14:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:14:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:14:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760499200001,"66":13798,"122":206,"28":31744,"24":47,"16":113510793017819136,"45":1707286501858732032},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-17 12:14:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:14:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:14:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760499200001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:14:26] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-17 12:14:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:14:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113510793017819136,"km_value":113510793017819.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:14:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1707286501858732032,"description":"Unknown IO ID 45"} 
[2026-04-17 12:14:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760499200001,"power":13798,"unknown_122":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1707286501858732032}} 
[2026-04-17 12:14:26] local.INFO: DEBUG: GPS processor result {"connection_id":46034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:14:26] local.INFO: GPS data processed {"connection_id":46034,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:14:26] local.INFO: Acknowledgment sent {"connection_id":46034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:14:29] local.INFO: TCP Data received {"connection_id":46606,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46606,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:14:29] local.INFO: Processing buffer {"connection_id":46606,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:14:29] local.INFO: Packet analysis {"connection_id":46606,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:14:29] local.INFO: Extracted packet for processing {"connection_id":46606,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:14:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":15,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760390400001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776408076000,"timestamp_ms":1776408076000,"timestamp_seconds":1776408076,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2c1ee0"} 
[2026-04-17 12:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46606,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46606,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:14: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-04-17 12:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760390400001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760390400001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:14:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:14:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760390400001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":46606,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:14:29] local.INFO: GPS data processed {"connection_id":46606,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:14:29] local.INFO: Acknowledgment sent {"connection_id":46606,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:14:43] local.INFO: TCP Data received {"connection_id":46035,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2d47c0012d3ca34006a22ef0004b00ac30..."} 
[2026-04-17 12:14:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2d47c0012d3ca34006a22ef0004b00ac30..."} 
[2026-04-17 12:14:43] local.INFO: Processing buffer {"connection_id":46035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2d47c0012d3ca34006a22ef0004b00ac30..."} 
[2026-04-17 12:14:43] local.INFO: Packet analysis {"connection_id":46035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2d"} 
[2026-04-17 12:14:43] local.INFO: Extracted packet for processing {"connection_id":46035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2d"} 
[2026-04-17 12:14:43] local.INFO: GPS Element Parsed {"raw_longitude":758948672,"raw_latitude":111292144,"longitude_deg":75.8948672,"latitude_deg":11.1292144,"altitude":75,"angle":172,"satellites":48,"speed":0,"hex_longitude":"2d3ca340","hex_latitude":"06a22ef0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 12:14:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760481536001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:14:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:14:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4364691754858940416,"note":"Value kept but may cause issues"} 
[2026-04-17 12:14:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:14:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776408152000,"timestamp_ms":1776408152000,"timestamp_seconds":1776408152,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2d47c0"} 
[2026-04-17 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-04-17 12:14:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-04-17 12:14:43] 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-04-17 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-04-17 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-04-17 12:14:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:14:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:14:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:14:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46035,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:14:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:14:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:14:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:14:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760481536001,"66":28398,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4364691754858940416},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:14:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:14:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:14:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760481536001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:14:43] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:14:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:14:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:14:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4364691754858940416,"description":"Unknown IO ID 45"} 
[2026-04-17 12:14:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760481536001,"power":28398,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4364691754858940416}} 
[2026-04-17 12:14:43] local.INFO: DEBUG: GPS processor result {"connection_id":46035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21099,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:14:43] local.INFO: GPS data processed {"connection_id":46035,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:14:43] local.INFO: Acknowledgment sent {"connection_id":46035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:14:49] local.INFO: TCP Data received {"connection_id":45754,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:14:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:14:49] local.INFO: Processing buffer {"connection_id":45754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:14:49] local.INFO: IMEI packet received {"connection_id":45754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:14:49] local.INFO: IMEI acknowledgment sent {"connection_id":45754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:14:51] local.INFO: TCP Data received {"connection_id":46607,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:14:51] local.INFO: Processing buffer {"connection_id":46607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:14:51] local.INFO: IMEI packet received {"connection_id":46607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":46607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:14:54] local.INFO: TCP Data received {"connection_id":45754,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:14:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:14:54] local.INFO: Processing buffer {"connection_id":45754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:14:54] local.INFO: IMEI packet received {"connection_id":45754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:14:54] local.INFO: IMEI acknowledgment sent {"connection_id":45754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:14:55] local.INFO: TCP Data received {"connection_id":45754,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2e3dd8012d17d8c0072152e8003d001d25..."} 
[2026-04-17 12:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2e3dd8012d17d8c0072152e8003d001d25..."} 
[2026-04-17 12:14:55] local.INFO: Processing buffer {"connection_id":45754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2e3dd8012d17d8c0072152e8003d001d25..."} 
[2026-04-17 12:14:55] local.INFO: Packet analysis {"connection_id":45754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2e"} 
[2026-04-17 12:14:55] local.INFO: Extracted packet for processing {"connection_id":45754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2e"} 
[2026-04-17 12:14:55] local.INFO: GPS Element Parsed {"raw_longitude":756537536,"raw_latitude":119624424,"longitude_deg":75.6537536,"latitude_deg":11.9624424,"altitude":61,"angle":29,"satellites":37,"speed":40,"hex_longitude":"2d17d8c0","hex_latitude":"072152e8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:14:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760500736001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:14:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511269759188992,"note":"Value kept but may cause issues"} 
[2026-04-17 12:14:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1712845632650190848,"note":"Value kept but may cause issues"} 
[2026-04-17 12:14:55] 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-04-17 12:14:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776408215000,"timestamp_ms":1776408215000,"timestamp_seconds":1776408215,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2e3dd8"} 
[2026-04-17 12:14:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:14: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-04-17 12: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-17 12:14:55] 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-04-17 12: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-04-17 12:14:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:14:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:14:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:14:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:14:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:14:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:14:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:14:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:14:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760500736001,"66":13733,"122":206,"28":31744,"24":40,"16":113511269759188992,"45":1712845632650190848},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-17 12:14:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:14:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:14:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760500736001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:14:55] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-17 12:14:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:14:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511269759188992,"km_value":113511269759188.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:14:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1712845632650190848,"description":"Unknown IO ID 45"} 
[2026-04-17 12:14:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760500736001,"power":13733,"unknown_122":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1712845632650190848}} 
[2026-04-17 12:14:55] local.INFO: DEBUG: GPS processor result {"connection_id":45754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:14:55] local.INFO: GPS data processed {"connection_id":45754,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:14:55] local.INFO: Acknowledgment sent {"connection_id":45754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:14:56] local.INFO: TCP Data received {"connection_id":46607,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46607,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:14:56] local.INFO: Processing buffer {"connection_id":46607,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:14:56] local.INFO: IMEI packet received {"connection_id":46607,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":46607,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:14:57] local.INFO: TCP Data received {"connection_id":46607,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:14:57] local.INFO: Processing buffer {"connection_id":46607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:14:57] local.INFO: Packet analysis {"connection_id":46607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:14:57] local.INFO: Extracted packet for processing {"connection_id":46607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:14:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":15,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760390400001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776408076000,"timestamp_ms":1776408076000,"timestamp_seconds":1776408076,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2c1ee0"} 
[2026-04-17 12:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760390400001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760390400001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:14:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:14:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760390400001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":46607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:14:57] local.INFO: GPS data processed {"connection_id":46607,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:14:57] local.INFO: Acknowledgment sent {"connection_id":46607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:15:10] local.INFO: TCP Data received {"connection_id":46608,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:15:10] local.INFO: Processing buffer {"connection_id":46608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:15:10] local.INFO: IMEI packet received {"connection_id":46608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":46608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:15:15] local.INFO: TCP Data received {"connection_id":46608,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:15:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46608,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:15:15] local.INFO: Processing buffer {"connection_id":46608,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:15:15] local.INFO: IMEI packet received {"connection_id":46608,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:15:15] local.INFO: IMEI acknowledgment sent {"connection_id":46608,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:15:16] local.INFO: TCP Data received {"connection_id":46608,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2d99c8012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:15:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2d99c8012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:15:16] local.INFO: Processing buffer {"connection_id":46608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2d99c8012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:15:16] local.INFO: Packet analysis {"connection_id":46608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2d"} 
[2026-04-17 12:15:16] local.INFO: Extracted packet for processing {"connection_id":46608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2d"} 
[2026-04-17 12:15:16] local.INFO: GPS Element Parsed {"raw_longitude":758949888,"raw_latitude":111274720,"longitude_deg":75.8949888,"latitude_deg":11.127472,"altitude":69,"angle":179,"satellites":49,"speed":0,"hex_longitude":"2d3ca800","hex_latitude":"06a1eae0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:15:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760486912001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:15:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:15:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4369406460714479616,"note":"Value kept but may cause issues"} 
[2026-04-17 12:15:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:15:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776408173000,"timestamp_ms":1776408173000,"timestamp_seconds":1776408173,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2d99c8"} 
[2026-04-17 12:15:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:15:16] 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-04-17 12: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 12:15:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:15:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:15:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:15:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:15:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:15:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:15:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:15:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:15:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:15:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760486912001,"66":28376,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4369406460714479616},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:15:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:15:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:15:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760486912001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:15:16] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:15:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:15:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:15:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4369406460714479616,"description":"Unknown IO ID 45"} 
[2026-04-17 12:15:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760486912001,"power":28376,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4369406460714479616}} 
[2026-04-17 12:15:16] local.INFO: DEBUG: GPS processor result {"connection_id":46608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21102,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:15:16] local.INFO: GPS data processed {"connection_id":46608,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:15:16] local.INFO: Acknowledgment sent {"connection_id":46608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:15:20] local.INFO: TCP Data received {"connection_id":46608,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2d9db0012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46608,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2d9db0012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:15:20] local.INFO: Processing buffer {"connection_id":46608,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2d9db0012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:15:20] local.INFO: Packet analysis {"connection_id":46608,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2d"} 
[2026-04-17 12:15:20] local.INFO: Extracted packet for processing {"connection_id":46608,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2d"} 
[2026-04-17 12:15:20] local.INFO: GPS Element Parsed {"raw_longitude":758949888,"raw_latitude":111274720,"longitude_deg":75.8949888,"latitude_deg":11.127472,"altitude":69,"angle":179,"satellites":49,"speed":0,"hex_longitude":"2d3ca800","hex_latitude":"06a1eae0","is_valid_coordinates":true} 
[2026-04-17 12:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:15:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760492288001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:15:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:15:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370743466849394688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:15:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:15:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776408174000,"timestamp_ms":1776408174000,"timestamp_seconds":1776408174,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2d9db0"} 
[2026-04-17 12:15:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:15:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:15:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 12:15:20] 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-04-17 12:15:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:15:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:15:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:15:20] local.INFO: Teltonika packet parsed successfully {"connection_id":46608,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:15:20] local.INFO: Passing IMEI to GPS processor {"connection_id":46608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:15:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":46608,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:15:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:15:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:15:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:15:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760492288001,"66":28419,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4370743466849394688},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:15:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:15:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:15:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760492288001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:15:20] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:15:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:15:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:15:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370743466849394688,"description":"Unknown IO ID 45"} 
[2026-04-17 12:15:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760492288001,"power":28419,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4370743466849394688}} 
[2026-04-17 12:15:20] local.INFO: DEBUG: GPS processor result {"connection_id":46608,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21103,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:15:20] local.INFO: GPS data processed {"connection_id":46608,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:15:20] local.INFO: Acknowledgment sent {"connection_id":46608,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:15:27] local.INFO: TCP Data received {"connection_id":45754,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2e64e8012d17ec00072173800043002325..."} 
[2026-04-17 12:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2e64e8012d17ec00072173800043002325..."} 
[2026-04-17 12:15:27] local.INFO: Processing buffer {"connection_id":45754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2e64e8012d17ec00072173800043002325..."} 
[2026-04-17 12:15:27] local.INFO: Packet analysis {"connection_id":45754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2e"} 
[2026-04-17 12:15:27] local.INFO: Extracted packet for processing {"connection_id":45754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2e"} 
[2026-04-17 12:15:27] local.INFO: GPS Element Parsed {"raw_longitude":756542464,"raw_latitude":119632768,"longitude_deg":75.6542464,"latitude_deg":11.9632768,"altitude":67,"angle":35,"satellites":37,"speed":39,"hex_longitude":"2d17ec00","hex_latitude":"07217380","is_valid_coordinates":true} 
[2026-04-17 12:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760503040001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511737910624256,"note":"Value kept but may cause issues"} 
[2026-04-17 12:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1718334394698229760,"note":"Value kept but may cause issues"} 
[2026-04-17 12:15:27] 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-04-17 12:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776408225000,"timestamp_ms":1776408225000,"timestamp_seconds":1776408225,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2e64e8"} 
[2026-04-17 12:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:15: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-04-17 12:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":165,"data_length":795,"current_offset":136} 
[2026-04-17 12:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1948,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760503040001,"66":13722,"122":206,"28":31744,"24":39,"16":113511737910624256,"45":1718334394698229760},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,28,24,16,45]} 
[2026-04-17 12:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760503040001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:15:27] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-17 12:15:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511737910624256,"km_value":113511737910624.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1718334394698229760,"description":"Unknown IO ID 45"} 
[2026-04-17 12:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760503040001,"power":13722,"unknown_122":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1718334394698229760}} 
[2026-04-17 12:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":45754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:15:27] local.INFO: GPS data processed {"connection_id":45754,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:15:27] local.INFO: Acknowledgment sent {"connection_id":45754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:15:28] local.INFO: TCP Data received {"connection_id":46607,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46607,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:15:28] local.INFO: Processing buffer {"connection_id":46607,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:15:28] local.INFO: Packet analysis {"connection_id":46607,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:15:28] local.INFO: Extracted packet for processing {"connection_id":46607,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:15:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":15,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760390400001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776408076000,"timestamp_ms":1776408076000,"timestamp_seconds":1776408076,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2c1ee0"} 
[2026-04-17 12:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46607,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46607,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760390400001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760390400001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:15:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760390400001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":46607,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:15:28] local.INFO: GPS data processed {"connection_id":46607,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:15:28] local.INFO: Acknowledgment sent {"connection_id":46607,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:15:48] local.INFO: TCP Data received {"connection_id":45755,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:15:48] local.INFO: Processing buffer {"connection_id":45755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:15:48] local.INFO: IMEI packet received {"connection_id":45755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":45755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:15:54] local.INFO: TCP Data received {"connection_id":45755,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:15:54] local.INFO: Processing buffer {"connection_id":45755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:15:54] local.INFO: IMEI packet received {"connection_id":45755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":45755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:15:55] local.INFO: TCP Data received {"connection_id":45755,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2e7488012d17f68007217f480045003025..."} 
[2026-04-17 12:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2e7488012d17f68007217f480045003025..."} 
[2026-04-17 12:15:55] local.INFO: Processing buffer {"connection_id":45755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2e7488012d17f68007217f480045003025..."} 
[2026-04-17 12:15:55] local.INFO: Packet analysis {"connection_id":45755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2e"} 
[2026-04-17 12:15:55] local.INFO: Extracted packet for processing {"connection_id":45755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2e"} 
[2026-04-17 12:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756545152,"raw_latitude":119635784,"longitude_deg":75.6545152,"latitude_deg":11.9635784,"altitude":69,"angle":48,"satellites":37,"speed":40,"hex_longitude":"2d17f680","hex_latitude":"07217f48","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760505600001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511935479119872,"note":"Value kept but may cause issues"} 
[2026-04-17 12:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1723752788002045952,"note":"Value kept but may cause issues"} 
[2026-04-17 12:15: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-04-17 12:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776408229000,"timestamp_ms":1776408229000,"timestamp_seconds":1776408229,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2e7488"} 
[2026-04-17 12:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:15: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-04-17 12: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-17 12:15:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760505600001,"66":13820,"120":206,"28":31744,"24":40,"16":113511935479119872,"45":1723752788002045952},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760505600001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:15:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:15:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511935479119872,"km_value":113511935479119.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1723752788002045952,"description":"Unknown IO ID 45"} 
[2026-04-17 12:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760505600001,"power":13820,"unknown_120":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1723752788002045952}} 
[2026-04-17 12:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":45755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:15:55] local.INFO: GPS data processed {"connection_id":45755,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:15:55] local.INFO: Acknowledgment sent {"connection_id":45755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:15:56] local.INFO: TCP Data received {"connection_id":46609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:15:56] local.INFO: Processing buffer {"connection_id":46609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:15:56] local.INFO: IMEI packet received {"connection_id":46609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":46609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:16:01] local.INFO: TCP Data received {"connection_id":46609,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46609,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:16:01] local.INFO: Processing buffer {"connection_id":46609,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:16:01] local.INFO: IMEI packet received {"connection_id":46609,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:16:01] local.INFO: IMEI acknowledgment sent {"connection_id":46609,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:16:02] local.INFO: TCP Data received {"connection_id":46609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:16:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:16:02] local.INFO: Processing buffer {"connection_id":46609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:16:02] local.INFO: Packet analysis {"connection_id":46609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:16:02] local.INFO: Extracted packet for processing {"connection_id":46609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:16:02] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":15,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:16:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760390400001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:16:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:16:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:16:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:16:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776408076000,"timestamp_ms":1776408076000,"timestamp_seconds":1776408076,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2c1ee0"} 
[2026-04-17 12:16:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:16:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:16:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:16:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:16:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:16:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:16:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:16:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:16:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:16:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:16:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:16:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:16:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760390400001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:16:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:16:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:16:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760390400001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:16:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:16:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:16:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:16:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:16:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760390400001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:16:02] local.INFO: DEBUG: GPS processor result {"connection_id":46609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:16:02] local.INFO: GPS data processed {"connection_id":46609,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:16:02] local.INFO: Acknowledgment sent {"connection_id":46609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:16:04] local.INFO: TCP Data received {"connection_id":46610,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:16:04] local.INFO: Processing buffer {"connection_id":46610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:16:04] local.INFO: IMEI packet received {"connection_id":46610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":46610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:16:06] local.INFO: TCP Data received {"connection_id":46609,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46609,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:16:06] local.INFO: Processing buffer {"connection_id":46609,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2c1ee0012d7faa8005afd2f8000f000030..."} 
[2026-04-17 12:16:06] local.INFO: Packet analysis {"connection_id":46609,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:16:06] local.INFO: Extracted packet for processing {"connection_id":46609,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2c"} 
[2026-04-17 12:16:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":15,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:16:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760390400001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:16:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:16:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:16:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:16:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776408076000,"timestamp_ms":1776408076000,"timestamp_seconds":1776408076,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2c1ee0"} 
[2026-04-17 12:16:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:16:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:16:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:16:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:16:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:16:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46609,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:16:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:16:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46609,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:16:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:16:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:16:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:16:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760390400001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:16:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:16:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:16:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760390400001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:16:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:16:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:16:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:16:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:16:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760390400001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:16:06] local.INFO: DEBUG: GPS processor result {"connection_id":46609,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:16:06] local.INFO: GPS data processed {"connection_id":46609,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:16:06] local.INFO: Acknowledgment sent {"connection_id":46609,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:16:09] local.INFO: TCP Data received {"connection_id":46610,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:16:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46610,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:16:09] local.INFO: Processing buffer {"connection_id":46610,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:16:09] local.INFO: IMEI packet received {"connection_id":46610,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:16:09] local.INFO: IMEI acknowledgment sent {"connection_id":46610,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:16:10] local.INFO: TCP Data received {"connection_id":46610,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2d9db0012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2d9db0012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:16:10] local.INFO: Processing buffer {"connection_id":46610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2d9db0012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:16:10] local.INFO: Packet analysis {"connection_id":46610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2d"} 
[2026-04-17 12:16:10] local.INFO: Extracted packet for processing {"connection_id":46610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2d"} 
[2026-04-17 12:16:10] local.INFO: GPS Element Parsed {"raw_longitude":758949888,"raw_latitude":111274720,"longitude_deg":75.8949888,"latitude_deg":11.127472,"altitude":69,"angle":179,"satellites":49,"speed":0,"hex_longitude":"2d3ca800","hex_latitude":"06a1eae0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:16:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760492288001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:16:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:16:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370743466849394688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:16:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:16:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776408174000,"timestamp_ms":1776408174000,"timestamp_seconds":1776408174,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2d9db0"} 
[2026-04-17 12:16:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:16:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 12:16:10] 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-04-17 12: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-04-17 12:16:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:16:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:16:10] local.INFO: Teltonika packet parsed successfully {"connection_id":46610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:16:10] local.INFO: Passing IMEI to GPS processor {"connection_id":46610,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:16:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":46610,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:16:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:16:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:16:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:16:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760492288001,"66":28419,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4370743466849394688},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:16:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:16:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:16:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760492288001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:16:10] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:16:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:16:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:16:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370743466849394688,"description":"Unknown IO ID 45"} 
[2026-04-17 12:16:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760492288001,"power":28419,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4370743466849394688}} 
[2026-04-17 12:16:10] local.INFO: DEBUG: GPS processor result {"connection_id":46610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21109,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:16:10] local.INFO: GPS data processed {"connection_id":46610,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:16:10] local.INFO: Acknowledgment sent {"connection_id":46610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:16:27] local.INFO: TCP Data received {"connection_id":45755,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2e97b0012d180d80072193080046002426..."} 
[2026-04-17 12:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2e97b0012d180d80072193080046002426..."} 
[2026-04-17 12:16:27] local.INFO: Processing buffer {"connection_id":45755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2e97b0012d180d80072193080046002426..."} 
[2026-04-17 12:16:27] local.INFO: Packet analysis {"connection_id":45755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2e"} 
[2026-04-17 12:16:27] local.INFO: Extracted packet for processing {"connection_id":45755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2e"} 
[2026-04-17 12:16:27] local.INFO: GPS Element Parsed {"raw_longitude":756551040,"raw_latitude":119640840,"longitude_deg":75.655104,"latitude_deg":11.964084,"altitude":70,"angle":36,"satellites":38,"speed":25,"hex_longitude":"2d180d80","hex_latitude":"07219308","is_valid_coordinates":true} 
[2026-04-17 12:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760506624001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113512304846307328,"note":"Value kept but may cause issues"} 
[2026-04-17 12:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726708275258279936,"note":"Value kept but may cause issues"} 
[2026-04-17 12:16: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-04-17 12:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776408238000,"timestamp_ms":1776408238000,"timestamp_seconds":1776408238,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2e97b0"} 
[2026-04-17 12:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:16: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-04-17 12:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-17 12:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760506624001,"66":13080,"120":206,"28":31744,"24":25,"16":113512304846307328,"45":1726708275258279936},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760506624001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:16:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:16:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113512304846307328,"km_value":113512304846307.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726708275258279936,"description":"Unknown IO ID 45"} 
[2026-04-17 12:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760506624001,"power":13080,"unknown_120":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1726708275258279936}} 
[2026-04-17 12:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":45755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21110,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:16:27] local.INFO: GPS data processed {"connection_id":45755,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:16:27] local.INFO: Acknowledgment sent {"connection_id":45755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:16:42] local.INFO: TCP Data received {"connection_id":46610,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2d9db0012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:16:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46610,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2d9db0012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:16:42] local.INFO: Processing buffer {"connection_id":46610,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2d9db0012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:16:42] local.INFO: Packet analysis {"connection_id":46610,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2d"} 
[2026-04-17 12:16:42] local.INFO: Extracted packet for processing {"connection_id":46610,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2d"} 
[2026-04-17 12:16:42] local.INFO: GPS Element Parsed {"raw_longitude":758949888,"raw_latitude":111274720,"longitude_deg":75.8949888,"latitude_deg":11.127472,"altitude":69,"angle":179,"satellites":49,"speed":0,"hex_longitude":"2d3ca800","hex_latitude":"06a1eae0","is_valid_coordinates":true} 
[2026-04-17 12:16:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:16:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760492288001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:16:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:16:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370743466849394688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:16:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:16:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776408174000,"timestamp_ms":1776408174000,"timestamp_seconds":1776408174,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2d9db0"} 
[2026-04-17 12:16:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:16:42] 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-04-17 12: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 12:16:42] 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-04-17 12: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-04-17 12:16:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:16:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:16:42] local.INFO: Teltonika packet parsed successfully {"connection_id":46610,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:16:42] local.INFO: Passing IMEI to GPS processor {"connection_id":46610,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:16:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":46610,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:16:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:16:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:16:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:16:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760492288001,"66":28419,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4370743466849394688},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:16:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:16:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:16:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760492288001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:16:42] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:16:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:16:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:16:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370743466849394688,"description":"Unknown IO ID 45"} 
[2026-04-17 12:16:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760492288001,"power":28419,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4370743466849394688}} 
[2026-04-17 12:16:42] local.INFO: DEBUG: GPS processor result {"connection_id":46610,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21111,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:16:42] local.INFO: GPS data processed {"connection_id":46610,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:16:42] local.INFO: Acknowledgment sent {"connection_id":46610,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:16:51] local.INFO: TCP Data received {"connection_id":45835,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:16:51] local.INFO: Processing buffer {"connection_id":45835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:16:51] local.INFO: IMEI packet received {"connection_id":45835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":45835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:16:55] local.INFO: TCP Data received {"connection_id":45835,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:16:55] local.INFO: Processing buffer {"connection_id":45835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:16:55] local.INFO: IMEI packet received {"connection_id":45835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":45835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:16:56] local.INFO: TCP Data received {"connection_id":45835,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:16:56] local.INFO: Processing buffer {"connection_id":45835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:16:56] local.INFO: Packet analysis {"connection_id":45835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:16:56] local.INFO: Extracted packet for processing {"connection_id":45835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760467456001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776408377000,"timestamp_ms":1776408377000,"timestamp_seconds":1776408377,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a30b6a8"} 
[2026-04-17 12:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:16:56] 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-04-17 12:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760467456001,"66":25419,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760467456001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:16:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760467456001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":45835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:16:56] local.INFO: GPS data processed {"connection_id":45835,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:16:56] local.INFO: Acknowledgment sent {"connection_id":45835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:17:04] local.INFO: TCP Data received {"connection_id":46611,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:17:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:17:04] local.INFO: Processing buffer {"connection_id":46611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:17:04] local.INFO: IMEI packet received {"connection_id":46611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:17:04] local.INFO: IMEI acknowledgment sent {"connection_id":46611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:17:09] local.INFO: TCP Data received {"connection_id":46611,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:17:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46611,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:17:09] local.INFO: Processing buffer {"connection_id":46611,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:17:09] local.INFO: IMEI packet received {"connection_id":46611,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:17:09] local.INFO: IMEI acknowledgment sent {"connection_id":46611,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:17:11] local.INFO: TCP Data received {"connection_id":46611,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2d9db0012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:17:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2d9db0012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:17:11] local.INFO: Processing buffer {"connection_id":46611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2d9db0012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:17:11] local.INFO: Packet analysis {"connection_id":46611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2d"} 
[2026-04-17 12:17:11] local.INFO: Extracted packet for processing {"connection_id":46611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2d"} 
[2026-04-17 12:17:11] local.INFO: GPS Element Parsed {"raw_longitude":758949888,"raw_latitude":111274720,"longitude_deg":75.8949888,"latitude_deg":11.127472,"altitude":69,"angle":179,"satellites":49,"speed":0,"hex_longitude":"2d3ca800","hex_latitude":"06a1eae0","is_valid_coordinates":true} 
[2026-04-17 12:17:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:17:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760492288001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:17:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:17:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370743466849394688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:17:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:17:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776408174000,"timestamp_ms":1776408174000,"timestamp_seconds":1776408174,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2d9db0"} 
[2026-04-17 12:17:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:17:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 12:17:11] 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-04-17 12: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-04-17 12:17:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:17:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:17:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:17:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:17:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:17:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:17:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:17:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:17:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760492288001,"66":28419,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4370743466849394688},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:17:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:17:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:17:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760492288001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:17:11] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:17:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:17:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:17:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370743466849394688,"description":"Unknown IO ID 45"} 
[2026-04-17 12:17:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760492288001,"power":28419,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4370743466849394688}} 
[2026-04-17 12:17:11] local.INFO: DEBUG: GPS processor result {"connection_id":46611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21113,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:17:11] local.INFO: GPS data processed {"connection_id":46611,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:17:11] local.INFO: Acknowledgment sent {"connection_id":46611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:17:21] local.INFO: TCP Data received {"connection_id":45756,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:17:21] local.INFO: Processing buffer {"connection_id":45756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:17:21] local.INFO: IMEI packet received {"connection_id":45756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":45756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:17:21] local.INFO: TCP Data received {"connection_id":45756,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:17:21] local.INFO: Processing buffer {"connection_id":45756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:17:21] local.INFO: IMEI packet received {"connection_id":45756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":45756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:17:24] local.INFO: TCP Data received {"connection_id":45756,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:17:24] local.INFO: Processing buffer {"connection_id":45756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:17:24] local.INFO: IMEI packet received {"connection_id":45756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":45756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:17:27] local.INFO: TCP Data received {"connection_id":45835,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:17:27] local.INFO: Processing buffer {"connection_id":45835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:17:27] local.INFO: Packet analysis {"connection_id":45835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:17:27] local.INFO: Extracted packet for processing {"connection_id":45835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760467456001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776408377000,"timestamp_ms":1776408377000,"timestamp_seconds":1776408377,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a30b6a8"} 
[2026-04-17 12:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:17:27] 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-04-17 12:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760467456001,"66":25419,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760467456001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:17:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760467456001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":45835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:17:27] local.INFO: GPS data processed {"connection_id":45835,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:17:27] local.INFO: Acknowledgment sent {"connection_id":45835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:17:29] local.INFO: TCP Data received {"connection_id":45756,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:17:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:17:29] local.INFO: Processing buffer {"connection_id":45756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:17:29] local.INFO: IMEI packet received {"connection_id":45756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:17:29] local.INFO: IMEI acknowledgment sent {"connection_id":45756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:17:30] local.INFO: TCP Data received {"connection_id":45756,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a307ff8012d18a1c007227440006a001524..."} 
[2026-04-17 12:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a307ff8012d18a1c007227440006a001524..."} 
[2026-04-17 12:17:30] local.INFO: Processing buffer {"connection_id":45756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a307ff8012d18a1c007227440006a001524..."} 
[2026-04-17 12:17:30] local.INFO: Packet analysis {"connection_id":45756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:17:30] local.INFO: Extracted packet for processing {"connection_id":45756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:17:30] local.INFO: GPS Element Parsed {"raw_longitude":756588992,"raw_latitude":119698496,"longitude_deg":75.6588992,"latitude_deg":11.9698496,"altitude":106,"angle":21,"satellites":36,"speed":29,"hex_longitude":"2d18a1c0","hex_latitude":"07227440","is_valid_coordinates":true} 
[2026-04-17 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-04-17 12:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760540928001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113515646330863616,"note":"Value kept but may cause issues"} 
[2026-04-17 12:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774910865036034048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:17: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-04-17 12:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776408363000,"timestamp_ms":1776408363000,"timestamp_seconds":1776408363,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a307ff8"} 
[2026-04-17 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-04-17 12:17:30] 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-04-17 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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-17 12:17:30] 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-04-17 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-04-17 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-04-17 12:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:17:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760540928001,"66":13722,"120":206,"28":31744,"24":29,"16":113515646330863616,"45":1774910865036034048},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760540928001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:17:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:17:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113515646330863616,"km_value":113515646330863.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774910865036034048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760540928001,"power":13722,"unknown_120":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1774910865036034048}} 
[2026-04-17 12:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":45756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:17:30] local.INFO: GPS data processed {"connection_id":45756,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:17:30] local.INFO: Acknowledgment sent {"connection_id":45756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:17:42] local.INFO: TCP Data received {"connection_id":46611,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2d9db0012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:17:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46611,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2d9db0012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:17:42] local.INFO: Processing buffer {"connection_id":46611,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2d9db0012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:17:42] local.INFO: Packet analysis {"connection_id":46611,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2d"} 
[2026-04-17 12:17:42] local.INFO: Extracted packet for processing {"connection_id":46611,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2d"} 
[2026-04-17 12:17:42] local.INFO: GPS Element Parsed {"raw_longitude":758949888,"raw_latitude":111274720,"longitude_deg":75.8949888,"latitude_deg":11.127472,"altitude":69,"angle":179,"satellites":49,"speed":0,"hex_longitude":"2d3ca800","hex_latitude":"06a1eae0","is_valid_coordinates":true} 
[2026-04-17 12:17:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:17:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760492288001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:17:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:17:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370743466849394688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:17:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:17:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776408174000,"timestamp_ms":1776408174000,"timestamp_seconds":1776408174,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2d9db0"} 
[2026-04-17 12:17:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:17:42] 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-04-17 12: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 12:17:42] 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-04-17 12: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-04-17 12:17:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:17:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:17:42] local.INFO: Teltonika packet parsed successfully {"connection_id":46611,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:17:42] local.INFO: Passing IMEI to GPS processor {"connection_id":46611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:17:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":46611,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:17:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:17:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:17:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:17:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760492288001,"66":28419,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4370743466849394688},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:17:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:17:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:17:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760492288001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:17:42] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:17:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:17:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:17:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370743466849394688,"description":"Unknown IO ID 45"} 
[2026-04-17 12:17:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760492288001,"power":28419,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4370743466849394688}} 
[2026-04-17 12:17:42] local.INFO: DEBUG: GPS processor result {"connection_id":46611,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21116,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:17:42] local.INFO: GPS data processed {"connection_id":46611,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:17:42] local.INFO: Acknowledgment sent {"connection_id":46611,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:17:53] local.INFO: TCP Data received {"connection_id":45836,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:17:53] local.INFO: Processing buffer {"connection_id":45836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:17:53] local.INFO: IMEI packet received {"connection_id":45836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":45836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:17:54] local.INFO: TCP Data received {"connection_id":46036,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:17:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:17:54] local.INFO: Processing buffer {"connection_id":46036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:17:54] local.INFO: IMEI packet received {"connection_id":46036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:17:54] local.INFO: IMEI acknowledgment sent {"connection_id":46036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:17:57] local.INFO: TCP Data received {"connection_id":45836,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:17:57] local.INFO: Processing buffer {"connection_id":45836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:17:57] local.INFO: IMEI packet received {"connection_id":45836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:17:57] local.INFO: IMEI acknowledgment sent {"connection_id":45836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:17:58] local.INFO: TCP Data received {"connection_id":45836,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:17:58] local.INFO: Processing buffer {"connection_id":45836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:17:58] local.INFO: Packet analysis {"connection_id":45836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:17:58] local.INFO: Extracted packet for processing {"connection_id":45836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:17:58] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760467456001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776408377000,"timestamp_ms":1776408377000,"timestamp_seconds":1776408377,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a30b6a8"} 
[2026-04-17 12:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760467456001,"66":25419,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760467456001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:17:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:17:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760467456001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":45836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21117,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:17:58] local.INFO: GPS data processed {"connection_id":45836,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:17:58] local.INFO: Acknowledgment sent {"connection_id":45836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:17:58] local.INFO: TCP Data received {"connection_id":46036,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:17:58] local.INFO: Processing buffer {"connection_id":46036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:17:58] local.INFO: IMEI packet received {"connection_id":46036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:17:58] local.INFO: IMEI acknowledgment sent {"connection_id":46036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:18:00] local.INFO: TCP Data received {"connection_id":46036,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a309b50012d18a6c007228768006e000a25..."} 
[2026-04-17 12:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a309b50012d18a6c007228768006e000a25..."} 
[2026-04-17 12:18:00] local.INFO: Processing buffer {"connection_id":46036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a309b50012d18a6c007228768006e000a25..."} 
[2026-04-17 12:18:00] local.INFO: Packet analysis {"connection_id":46036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:18:00] local.INFO: Extracted packet for processing {"connection_id":46036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:18:00] local.INFO: GPS Element Parsed {"raw_longitude":756590272,"raw_latitude":119703400,"longitude_deg":75.6590272,"latitude_deg":11.97034,"altitude":110,"angle":10,"satellites":37,"speed":30,"hex_longitude":"2d18a6c0","hex_latitude":"07228768","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:18:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760540928001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113515891143999488,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1774910865036034048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:18:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776408370000,"timestamp_ms":1776408370000,"timestamp_seconds":1776408370,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a309b50"} 
[2026-04-17 12:18:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:18: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-04-17 12:18:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-17 12:18:00] 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-04-17 12: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-04-17 12:18:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:18:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:18:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:18:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:18:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:18:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:18:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:18:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:18:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760540928001,"66":13276,"112":206,"28":31744,"24":30,"16":113515891143999488,"45":1774910865036034048},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-04-17 12:18:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:18:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:18:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760540928001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:18:00] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-04-17 12:18:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:18:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113515891143999488,"km_value":113515891143999.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:18:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1774910865036034048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:18:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760540928001,"power":13276,"unknown_112":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1774910865036034048}} 
[2026-04-17 12:18:00] local.INFO: DEBUG: GPS processor result {"connection_id":46036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21118,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:18:00] local.INFO: GPS data processed {"connection_id":46036,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:18:00] local.INFO: Acknowledgment sent {"connection_id":46036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:18:01] local.INFO: TCP Data received {"connection_id":45836,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:18:01] local.INFO: Processing buffer {"connection_id":45836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:18:01] local.INFO: Packet analysis {"connection_id":45836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:18:01] local.INFO: Extracted packet for processing {"connection_id":45836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760467456001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776408377000,"timestamp_ms":1776408377000,"timestamp_seconds":1776408377,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a30b6a8"} 
[2026-04-17 12:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:18: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-04-17 12:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760467456001,"66":25419,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760467456001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:18:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760467456001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":45836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21119,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:18:01] local.INFO: GPS data processed {"connection_id":45836,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:18:01] local.INFO: Acknowledgment sent {"connection_id":45836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:18:05] local.INFO: TCP Data received {"connection_id":46037,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:18:05] local.INFO: Processing buffer {"connection_id":46037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:18:05] local.INFO: IMEI packet received {"connection_id":46037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:18:05] local.INFO: IMEI acknowledgment sent {"connection_id":46037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:18:10] local.INFO: TCP Data received {"connection_id":46037,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:18:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46037,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:18:10] local.INFO: Processing buffer {"connection_id":46037,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:18:10] local.INFO: IMEI packet received {"connection_id":46037,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:18:10] local.INFO: IMEI acknowledgment sent {"connection_id":46037,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:18:11] local.INFO: TCP Data received {"connection_id":46037,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a2d9db0012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:18:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a2d9db0012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:18:11] local.INFO: Processing buffer {"connection_id":46037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a2d9db0012d3ca80006a1eae0004500b331..."} 
[2026-04-17 12:18:11] local.INFO: Packet analysis {"connection_id":46037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a2d"} 
[2026-04-17 12:18:11] local.INFO: Extracted packet for processing {"connection_id":46037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a2d"} 
[2026-04-17 12:18:11] local.INFO: GPS Element Parsed {"raw_longitude":758949888,"raw_latitude":111274720,"longitude_deg":75.8949888,"latitude_deg":11.127472,"altitude":69,"angle":179,"satellites":49,"speed":0,"hex_longitude":"2d3ca800","hex_latitude":"06a1eae0","is_valid_coordinates":true} 
[2026-04-17 12:18:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:18:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760492288001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370743466849394688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:18:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776408174000,"timestamp_ms":1776408174000,"timestamp_seconds":1776408174,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a2d9db0"} 
[2026-04-17 12:18:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:18:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 12:18:11] 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-04-17 12: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-04-17 12:18:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:18:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:18:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:18:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:18:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:18:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:18:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:18:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:18:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760492288001,"66":28419,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4370743466849394688},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:18:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:18:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:18:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760492288001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:18:11] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:18:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:18:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:18:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370743466849394688,"description":"Unknown IO ID 45"} 
[2026-04-17 12:18:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760492288001,"power":28419,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4370743466849394688}} 
[2026-04-17 12:18:11] local.INFO: DEBUG: GPS processor result {"connection_id":46037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21120,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:18:11] local.INFO: GPS data processed {"connection_id":46037,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:18:11] local.INFO: Acknowledgment sent {"connection_id":46037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:18:31] local.INFO: TCP Data received {"connection_id":46036,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a30b6a8012d18a800072299b80070016325..."} 
[2026-04-17 12:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a30b6a8012d18a800072299b80070016325..."} 
[2026-04-17 12:18:31] local.INFO: Processing buffer {"connection_id":46036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a30b6a8012d18a800072299b80070016325..."} 
[2026-04-17 12:18:31] local.INFO: Packet analysis {"connection_id":46036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:18:31] local.INFO: Extracted packet for processing {"connection_id":46036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:18:31] local.INFO: GPS Element Parsed {"raw_longitude":756590592,"raw_latitude":119708088,"longitude_deg":75.6590592,"latitude_deg":11.9708088,"altitude":112,"angle":355,"satellites":37,"speed":25,"hex_longitude":"2d18a800","hex_latitude":"072299b8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:18:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760542720001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113516118777266176,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776318239920842752,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:18:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776408377000,"timestamp_ms":1776408377000,"timestamp_seconds":1776408377,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a30b6a8"} 
[2026-04-17 12:18:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:18:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-04-17 12:18:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:18:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:18:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:18:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:18:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:18:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:18:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:18:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:18:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:18:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760542720001,"66":13004,"112":206,"28":31744,"24":25,"16":113516118777266176,"45":1776318239920842752},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-04-17 12:18:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:18:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:18:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760542720001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:18:31] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-04-17 12:18:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:18:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113516118777266176,"km_value":113516118777266.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:18:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776318239920842752,"description":"Unknown IO ID 45"} 
[2026-04-17 12:18:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760542720001,"power":13004,"unknown_112":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1776318239920842752}} 
[2026-04-17 12:18:32] local.INFO: DEBUG: GPS processor result {"connection_id":46036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:18:32] local.INFO: GPS data processed {"connection_id":46036,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:18:32] local.INFO: Acknowledgment sent {"connection_id":46036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:18:33] local.INFO: TCP Data received {"connection_id":45836,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:18:33] local.INFO: Processing buffer {"connection_id":45836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:18:33] local.INFO: Packet analysis {"connection_id":45836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:18:33] local.INFO: Extracted packet for processing {"connection_id":45836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:18:33] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760467456001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776408377000,"timestamp_ms":1776408377000,"timestamp_seconds":1776408377,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a30b6a8"} 
[2026-04-17 12:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:18:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:18:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760467456001,"66":25419,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760467456001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:18:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:18:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760467456001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":45836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:18:33] local.INFO: GPS data processed {"connection_id":45836,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:18:33] local.INFO: Acknowledgment sent {"connection_id":45836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:18:45] local.INFO: TCP Data received {"connection_id":46037,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:18:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:18:45] local.INFO: Processing buffer {"connection_id":46037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:18:45] local.INFO: Packet analysis {"connection_id":46037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:18:45] local.INFO: Extracted packet for processing {"connection_id":46037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:18:45] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:18:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760492544001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370743466849394688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:18:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776408478000,"timestamp_ms":1776408478000,"timestamp_seconds":1776408478,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a324130"} 
[2026-04-17 12:18:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:18:45] 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-04-17 12:18:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-17 12:18:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:18:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:18:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:18:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:18:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:18:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:18:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46037,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:18:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:18:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:18:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:18:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760492544001,"66":26452,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4370743466849394688},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:18:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:18:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:18:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760492544001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:18:45] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:18:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:18:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:18:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370743466849394688,"description":"Unknown IO ID 45"} 
[2026-04-17 12:18:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760492544001,"power":26452,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4370743466849394688}} 
[2026-04-17 12:18:45] local.INFO: DEBUG: GPS processor result {"connection_id":46037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21123,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:18:45] local.INFO: GPS data processed {"connection_id":46037,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:18:45] local.INFO: Acknowledgment sent {"connection_id":46037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:18:48] local.INFO: TCP Data received {"connection_id":45837,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:18:48] local.INFO: Processing buffer {"connection_id":45837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:18:48] local.INFO: IMEI packet received {"connection_id":45837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":45837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:18:51] local.INFO: TCP Data received {"connection_id":45838,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:18:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:18:51] local.INFO: Processing buffer {"connection_id":45838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:18:51] local.INFO: IMEI packet received {"connection_id":45838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:18:51] local.INFO: IMEI acknowledgment sent {"connection_id":45838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:18:53] local.INFO: TCP Data received {"connection_id":45837,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:18:53] local.INFO: Processing buffer {"connection_id":45837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:18:53] local.INFO: IMEI packet received {"connection_id":45837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":45837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:18:55] local.INFO: TCP Data received {"connection_id":45837,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a30d9d0012d18a2400722b3f0006e015726..."} 
[2026-04-17 12:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a30d9d0012d18a2400722b3f0006e015726..."} 
[2026-04-17 12:18:55] local.INFO: Processing buffer {"connection_id":45837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a30d9d0012d18a2400722b3f0006e015726..."} 
[2026-04-17 12:18:55] local.INFO: Packet analysis {"connection_id":45837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:18:55] local.INFO: Extracted packet for processing {"connection_id":45837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756589120,"raw_latitude":119714800,"longitude_deg":75.658912,"latitude_deg":11.97148,"altitude":110,"angle":343,"satellites":38,"speed":33,"hex_longitude":"2d18a240","hex_latitude":"0722b3f0","is_valid_coordinates":true} 
[2026-04-17 12:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760544512001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113516453784715264,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776670083642931200,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:55] 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-04-17 12:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776408386000,"timestamp_ms":1776408386000,"timestamp_seconds":1776408386,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a30d9d0"} 
[2026-04-17 12:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:18: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-04-17 12:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-17 12:18:55] 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-04-17 12:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760544512001,"66":12982,"112":206,"28":31744,"24":33,"16":113516453784715264,"45":1776670083642931200},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-04-17 12:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760544512001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:18:55] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-04-17 12:18:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113516453784715264,"km_value":113516453784715.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776670083642931200,"description":"Unknown IO ID 45"} 
[2026-04-17 12:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760544512001,"power":12982,"unknown_112":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1776670083642931200}} 
[2026-04-17 12:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":45837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21124,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:18:55] local.INFO: GPS data processed {"connection_id":45837,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:18:55] local.INFO: Acknowledgment sent {"connection_id":45837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:18:56] local.INFO: TCP Data received {"connection_id":45838,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:18:56] local.INFO: Processing buffer {"connection_id":45838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:18:56] local.INFO: IMEI packet received {"connection_id":45838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":45838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:18:57] local.INFO: TCP Data received {"connection_id":45838,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:18:57] local.INFO: Processing buffer {"connection_id":45838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:18:57] local.INFO: Packet analysis {"connection_id":45838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:18:57] local.INFO: Extracted packet for processing {"connection_id":45838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:18:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:18: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-04-17 12:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760467456001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776408377000,"timestamp_ms":1776408377000,"timestamp_seconds":1776408377,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a30b6a8"} 
[2026-04-17 12:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:18:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:18: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-04-17 12:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:18:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760467456001,"66":25419,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760467456001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:18:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:18:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760467456001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":45838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:18:57] local.INFO: GPS data processed {"connection_id":45838,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:18:57] local.INFO: Acknowledgment sent {"connection_id":45838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:19:11] local.INFO: TCP Data received {"connection_id":46612,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:19:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:19:11] local.INFO: Processing buffer {"connection_id":46612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:19:11] local.INFO: IMEI packet received {"connection_id":46612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:19:11] local.INFO: IMEI acknowledgment sent {"connection_id":46612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:19:14] local.INFO: TCP Data received {"connection_id":46612,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:19:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46612,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:19:14] local.INFO: Processing buffer {"connection_id":46612,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:19:14] local.INFO: IMEI packet received {"connection_id":46612,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:19:14] local.INFO: IMEI acknowledgment sent {"connection_id":46612,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:19:20] local.INFO: TCP Data received {"connection_id":46612,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:19:20] local.INFO: Processing buffer {"connection_id":46612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:19:20] local.INFO: Packet analysis {"connection_id":46612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:19:20] local.INFO: Extracted packet for processing {"connection_id":46612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:19:20] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:19:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760492544001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:19:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:19:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370743466849394688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:19:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:19:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776408478000,"timestamp_ms":1776408478000,"timestamp_seconds":1776408478,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a324130"} 
[2026-04-17 12:19:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:19:20] 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-04-17 12:19:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-17 12:19:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:19:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:19:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:19:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:19:20] local.INFO: Teltonika packet parsed successfully {"connection_id":46612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:19:20] local.INFO: Passing IMEI to GPS processor {"connection_id":46612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:19:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":46612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:19:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:19:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:19:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:19:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760492544001,"66":26452,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4370743466849394688},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:19:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:19:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:19:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760492544001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:19:20] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:19:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:19:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:19:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370743466849394688,"description":"Unknown IO ID 45"} 
[2026-04-17 12:19:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760492544001,"power":26452,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4370743466849394688}} 
[2026-04-17 12:19:20] local.INFO: DEBUG: GPS processor result {"connection_id":46612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21126,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:19:20] local.INFO: GPS data processed {"connection_id":46612,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:19:20] local.INFO: Acknowledgment sent {"connection_id":46612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:19:23] local.INFO: TCP Data received {"connection_id":46612,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:19:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46612,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:19:23] local.INFO: Processing buffer {"connection_id":46612,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:19:23] local.INFO: Packet analysis {"connection_id":46612,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:19:23] local.INFO: Extracted packet for processing {"connection_id":46612,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:19:23] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:19:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760492544001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:19:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:19:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370743466849394688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:19:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:19:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776408478000,"timestamp_ms":1776408478000,"timestamp_seconds":1776408478,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a324130"} 
[2026-04-17 12:19:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:19:23] 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-04-17 12:19:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-17 12:19:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:19:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:19:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:19:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:19:23] local.INFO: Teltonika packet parsed successfully {"connection_id":46612,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:19:23] local.INFO: Passing IMEI to GPS processor {"connection_id":46612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:19:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":46612,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:19:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:19:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:19:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:19:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760492544001,"66":26452,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4370743466849394688},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:19:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:19:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:19:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760492544001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:19:23] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:19:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:19:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:19:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370743466849394688,"description":"Unknown IO ID 45"} 
[2026-04-17 12:19:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760492544001,"power":26452,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4370743466849394688}} 
[2026-04-17 12:19:23] local.INFO: DEBUG: GPS processor result {"connection_id":46612,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21127,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:19:23] local.INFO: GPS data processed {"connection_id":46612,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:19:23] local.INFO: Acknowledgment sent {"connection_id":46612,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:19:26] local.INFO: TCP Data received {"connection_id":45837,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a30e588012d18a0800722bda0006d016426..."} 
[2026-04-17 12:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a30e588012d18a0800722bda0006d016426..."} 
[2026-04-17 12:19:26] local.INFO: Processing buffer {"connection_id":45837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a30e588012d18a0800722bda0006d016426..."} 
[2026-04-17 12:19:26] local.INFO: Packet analysis {"connection_id":45837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:19:26] local.INFO: Extracted packet for processing {"connection_id":45837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:19:26] local.INFO: GPS Element Parsed {"raw_longitude":756588672,"raw_latitude":119717280,"longitude_deg":75.6588672,"latitude_deg":11.971728,"altitude":109,"angle":356,"satellites":38,"speed":34,"hex_longitude":"2d18a080","hex_latitude":"0722bda0","is_valid_coordinates":true} 
[2026-04-17 12:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760546816001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113516574043799552,"note":"Value kept but may cause issues"} 
[2026-04-17 12:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775051602528563200,"note":"Value kept but may cause issues"} 
[2026-04-17 12:19:26] 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-04-17 12:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776408389000,"timestamp_ms":1776408389000,"timestamp_seconds":1776408389,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a30e588"} 
[2026-04-17 12:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:19: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-04-17 12:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-04-17 12:19: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-04-17 12:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760546816001,"66":12776,"112":206,"28":31744,"24":34,"16":113516574043799552,"45":1775051602528563200},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-04-17 12:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760546816001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:19:26] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-04-17 12:19:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113516574043799552,"km_value":113516574043799.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775051602528563200,"description":"Unknown IO ID 45"} 
[2026-04-17 12:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760546816001,"power":12776,"unknown_112":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1775051602528563200}} 
[2026-04-17 12:19:26] local.INFO: DEBUG: GPS processor result {"connection_id":45837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:19:26] local.INFO: GPS data processed {"connection_id":45837,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:19:26] local.INFO: Acknowledgment sent {"connection_id":45837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:19:28] local.INFO: TCP Data received {"connection_id":45838,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:19:28] local.INFO: Processing buffer {"connection_id":45838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:19:28] local.INFO: Packet analysis {"connection_id":45838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:19:28] local.INFO: Extracted packet for processing {"connection_id":45838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:19:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760467456001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776408377000,"timestamp_ms":1776408377000,"timestamp_seconds":1776408377,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a30b6a8"} 
[2026-04-17 12:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:19: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-04-17 12:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760467456001,"66":25419,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760467456001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:19:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:19:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760467456001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":45838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:19:28] local.INFO: GPS data processed {"connection_id":45838,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:19:28] local.INFO: Acknowledgment sent {"connection_id":45838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:19:49] local.INFO: TCP Data received {"connection_id":46613,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:19:49] local.INFO: Processing buffer {"connection_id":46613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:19:49] local.INFO: IMEI packet received {"connection_id":46613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":46613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:19:49] local.INFO: TCP Data received {"connection_id":46613,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:19:49] local.INFO: Processing buffer {"connection_id":46613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:19:49] local.INFO: IMEI packet received {"connection_id":46613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":46613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:19:54] local.INFO: TCP Data received {"connection_id":46613,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46613,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:19:54] local.INFO: Processing buffer {"connection_id":46613,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:19:54] local.INFO: IMEI packet received {"connection_id":46613,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":46613,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:19:55] local.INFO: TCP Data received {"connection_id":46613,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a32ba48012d18b0400722e6100067016129..."} 
[2026-04-17 12:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a32ba48012d18b0400722e6100067016129..."} 
[2026-04-17 12:19:55] local.INFO: Processing buffer {"connection_id":46613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a32ba48012d18b0400722e6100067016129..."} 
[2026-04-17 12:19:55] local.INFO: Packet analysis {"connection_id":46613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:19:55] local.INFO: Extracted packet for processing {"connection_id":46613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:19:55] local.INFO: GPS Element Parsed {"raw_longitude":756592704,"raw_latitude":119727632,"longitude_deg":75.6592704,"latitude_deg":11.9727632,"altitude":103,"angle":353,"satellites":41,"speed":0,"hex_longitude":"2d18b040","hex_latitude":"0722e610","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760572928001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517128094580736,"note":"Value kept but may cause issues"} 
[2026-04-17 12:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778992252205797376,"note":"Value kept but may cause issues"} 
[2026-04-17 12:19:55] 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-04-17 12:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776408509000,"timestamp_ms":1776408509000,"timestamp_seconds":1776408509,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a32ba48"} 
[2026-04-17 12:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:19: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-04-17 12: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 12:19: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-04-17 12: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-04-17 12:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760572928001,"66":12852,"70":206,"28":31744,"24":0,"16":113517128094580736,"45":1778992252205797376},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 12:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760572928001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:19:55] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 12:19:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517128094580736,"km_value":113517128094580.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778992252205797376,"description":"Unknown IO ID 45"} 
[2026-04-17 12:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760572928001,"power":12852,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778992252205797376}} 
[2026-04-17 12:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":46613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:19:55] local.INFO: GPS data processed {"connection_id":46613,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:19:55] local.INFO: Acknowledgment sent {"connection_id":46613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:19:57] local.INFO: TCP Data received {"connection_id":45757,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:19:57] local.INFO: Processing buffer {"connection_id":45757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:19:57] local.INFO: IMEI packet received {"connection_id":45757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:19:57] local.INFO: IMEI acknowledgment sent {"connection_id":45757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:20:01] local.INFO: TCP Data received {"connection_id":45757,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:20:01] local.INFO: Processing buffer {"connection_id":45757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:20:01] local.INFO: IMEI packet received {"connection_id":45757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:20:01] local.INFO: IMEI acknowledgment sent {"connection_id":45757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:20:02] local.INFO: TCP Data received {"connection_id":45757,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:20:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:20:02] local.INFO: Processing buffer {"connection_id":45757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:20:02] local.INFO: Packet analysis {"connection_id":45757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:20:02] local.INFO: Extracted packet for processing {"connection_id":45757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:20:02] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 12:20:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760467456001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:20:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:20:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:20:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:20:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776408377000,"timestamp_ms":1776408377000,"timestamp_seconds":1776408377,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a30b6a8"} 
[2026-04-17 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-04-17 12:20:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:20:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 12:20:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:20:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:20:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:20:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:20:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:20:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:20:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:20:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760467456001,"66":25419,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:20:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:20:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:20:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760467456001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:20:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:20:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:20:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:20:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:20:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760467456001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:20:02] local.INFO: DEBUG: GPS processor result {"connection_id":45757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:20:02] local.INFO: GPS data processed {"connection_id":45757,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:20:02] local.INFO: Acknowledgment sent {"connection_id":45757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:20:05] local.INFO: TCP Data received {"connection_id":45839,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:20:05] local.INFO: Processing buffer {"connection_id":45839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:20:05] local.INFO: IMEI packet received {"connection_id":45839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:20:05] local.INFO: IMEI acknowledgment sent {"connection_id":45839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:20:06] local.INFO: TCP Data received {"connection_id":45757,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:20:06] local.INFO: Processing buffer {"connection_id":45757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:20:06] local.INFO: Packet analysis {"connection_id":45757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:20:06] local.INFO: Extracted packet for processing {"connection_id":45757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760467456001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776408377000,"timestamp_ms":1776408377000,"timestamp_seconds":1776408377,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a30b6a8"} 
[2026-04-17 12:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:20:06] 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-04-17 12:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760467456001,"66":25419,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760467456001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:20:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760467456001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":45757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:20:06] local.INFO: GPS data processed {"connection_id":45757,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:20:06] local.INFO: Acknowledgment sent {"connection_id":45757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:20:15] local.INFO: TCP Data received {"connection_id":45839,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:20:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45839,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:20:15] local.INFO: Processing buffer {"connection_id":45839,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:20:15] local.INFO: IMEI packet received {"connection_id":45839,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:20:15] local.INFO: IMEI acknowledgment sent {"connection_id":45839,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:20:16] local.INFO: TCP Data received {"connection_id":45839,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:20:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:20:16] local.INFO: Processing buffer {"connection_id":45839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:20:16] local.INFO: Packet analysis {"connection_id":45839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:20:16] local.INFO: Extracted packet for processing {"connection_id":45839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:20:16] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:20:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760492544001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:20:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:20:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370743466849394688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:20:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:20:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776408478000,"timestamp_ms":1776408478000,"timestamp_seconds":1776408478,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a324130"} 
[2026-04-17 12:20:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:20:16] 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-04-17 12: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":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-17 12:20:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:20:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:20:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:20:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:20:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:20:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:20:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:20:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:20:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:20:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760492544001,"66":26452,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4370743466849394688},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:20:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:20:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:20:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760492544001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:20:16] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:20:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:20:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:20:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370743466849394688,"description":"Unknown IO ID 45"} 
[2026-04-17 12:20:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760492544001,"power":26452,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4370743466849394688}} 
[2026-04-17 12:20:17] local.INFO: DEBUG: GPS processor result {"connection_id":45839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21133,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:20:17] local.INFO: GPS data processed {"connection_id":45839,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:20:17] local.INFO: Acknowledgment sent {"connection_id":45839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:20:27] local.INFO: TCP Data received {"connection_id":46613,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a330c50012d18b0400722e6100067016128..."} 
[2026-04-17 12:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46613,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a330c50012d18b0400722e6100067016128..."} 
[2026-04-17 12:20:27] local.INFO: Processing buffer {"connection_id":46613,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a330c50012d18b0400722e6100067016128..."} 
[2026-04-17 12:20:27] local.INFO: Packet analysis {"connection_id":46613,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a33"} 
[2026-04-17 12:20:27] local.INFO: Extracted packet for processing {"connection_id":46613,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a33"} 
[2026-04-17 12:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756592704,"raw_latitude":119727632,"longitude_deg":75.6592704,"latitude_deg":11.9727632,"altitude":103,"angle":353,"satellites":40,"speed":0,"hex_longitude":"2d18b040","hex_latitude":"0722e610","is_valid_coordinates":true} 
[2026-04-17 12:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760578304001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517128094580736,"note":"Value kept but may cause issues"} 
[2026-04-17 12:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778992252205797376,"note":"Value kept but may cause issues"} 
[2026-04-17 12:20:27] 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-04-17 12:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776408530000,"timestamp_ms":1776408530000,"timestamp_seconds":1776408530,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a330c50"} 
[2026-04-17 12:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:20:27] 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-04-17 12:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 12:20:27] 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-04-17 12:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46613,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46613,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760578304001,"66":12863,"70":206,"28":31744,"24":0,"16":113517128094580736,"45":1778992252205797376},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 12:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760578304001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:20:27] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 12:20:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517128094580736,"km_value":113517128094580.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778992252205797376,"description":"Unknown IO ID 45"} 
[2026-04-17 12:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760578304001,"power":12863,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778992252205797376}} 
[2026-04-17 12:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":46613,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:20:27] local.INFO: GPS data processed {"connection_id":46613,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:20:27] local.INFO: Acknowledgment sent {"connection_id":46613,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:20:49] local.INFO: TCP Data received {"connection_id":45839,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45839,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:20:49] local.INFO: Processing buffer {"connection_id":45839,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:20:49] local.INFO: Packet analysis {"connection_id":45839,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:20:49] local.INFO: Extracted packet for processing {"connection_id":45839,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:20:49] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:20:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760492544001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:20:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:20:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370743466849394688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:20:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:20:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776408478000,"timestamp_ms":1776408478000,"timestamp_seconds":1776408478,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a324130"} 
[2026-04-17 12:20:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:20:49] 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-04-17 12:20:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-17 12:20:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:20:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:20:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:20:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:20:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45839,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:20:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:20:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45839,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:20:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:20:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:20:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:20:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760492544001,"66":26452,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4370743466849394688},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:20:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:20:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:20:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760492544001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:20:49] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:20:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:20:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:20:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370743466849394688,"description":"Unknown IO ID 45"} 
[2026-04-17 12:20:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760492544001,"power":26452,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4370743466849394688}} 
[2026-04-17 12:20:49] local.INFO: DEBUG: GPS processor result {"connection_id":45839,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21135,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:20:49] local.INFO: GPS data processed {"connection_id":45839,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:20:49] local.INFO: Acknowledgment sent {"connection_id":45839,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:20:50] local.INFO: TCP Data received {"connection_id":45840,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:20:50] local.INFO: Processing buffer {"connection_id":45840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:20:50] local.INFO: IMEI packet received {"connection_id":45840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":45840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:20:52] local.INFO: TCP Data received {"connection_id":45841,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:20:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:20:52] local.INFO: Processing buffer {"connection_id":45841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:20:52] local.INFO: IMEI packet received {"connection_id":45841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:20:52] local.INFO: IMEI acknowledgment sent {"connection_id":45841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:20:53] local.INFO: TCP Data received {"connection_id":45841,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:20:53] local.INFO: Processing buffer {"connection_id":45841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:20:53] local.INFO: IMEI packet received {"connection_id":45841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":45841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:20:56] local.INFO: TCP Data received {"connection_id":45840,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45840,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:20:56] local.INFO: Processing buffer {"connection_id":45840,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:20:56] local.INFO: IMEI packet received {"connection_id":45840,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":45840,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:20:57] local.INFO: TCP Data received {"connection_id":45840,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:20:57] local.INFO: Processing buffer {"connection_id":45840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:20:57] local.INFO: Packet analysis {"connection_id":45840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:20:57] local.INFO: Extracted packet for processing {"connection_id":45840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:20:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760467456001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776408377000,"timestamp_ms":1776408377000,"timestamp_seconds":1776408377,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a30b6a8"} 
[2026-04-17 12:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760467456001,"66":25419,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760467456001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:20:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:20:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760467456001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":45840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21136,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:20:57] local.INFO: GPS data processed {"connection_id":45840,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:20:57] local.INFO: Acknowledgment sent {"connection_id":45840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:20:59] local.INFO: TCP Data received {"connection_id":45841,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45841,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:20:59] local.INFO: Processing buffer {"connection_id":45841,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:20:59] local.INFO: IMEI packet received {"connection_id":45841,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":45841,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:21:00] local.INFO: TCP Data received {"connection_id":45841,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a335e58012d18b0400722e6100067016127..."} 
[2026-04-17 12:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a335e58012d18b0400722e6100067016127..."} 
[2026-04-17 12:21:00] local.INFO: Processing buffer {"connection_id":45841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a335e58012d18b0400722e6100067016127..."} 
[2026-04-17 12:21:00] local.INFO: Packet analysis {"connection_id":45841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a33"} 
[2026-04-17 12:21:00] local.INFO: Extracted packet for processing {"connection_id":45841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a33"} 
[2026-04-17 12:21:00] local.INFO: GPS Element Parsed {"raw_longitude":756592704,"raw_latitude":119727632,"longitude_deg":75.6592704,"latitude_deg":11.9727632,"altitude":103,"angle":353,"satellites":39,"speed":0,"hex_longitude":"2d18b040","hex_latitude":"0722e610","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760583680001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517128094580736,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778992252205797376,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:00] 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-04-17 12:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776408551000,"timestamp_ms":1776408551000,"timestamp_seconds":1776408551,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a335e58"} 
[2026-04-17 12:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:21: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-04-17 12: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-17 12:21:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760583680001,"66":12841,"70":206,"28":31744,"24":0,"16":113517128094580736,"45":1778992252205797376},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 12:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760583680001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:21:00] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 12:21:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517128094580736,"km_value":113517128094580.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778992252205797376,"description":"Unknown IO ID 45"} 
[2026-04-17 12:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760583680001,"power":12841,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778992252205797376}} 
[2026-04-17 12:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":45841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:21:00] local.INFO: GPS data processed {"connection_id":45841,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:21:00] local.INFO: Acknowledgment sent {"connection_id":45841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:21:04] local.INFO: TCP Data received {"connection_id":45758,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:21:04] local.INFO: Processing buffer {"connection_id":45758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:21:04] local.INFO: IMEI packet received {"connection_id":45758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":45758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:21:15] local.INFO: TCP Data received {"connection_id":45758,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:21:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45758,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:21:15] local.INFO: Processing buffer {"connection_id":45758,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:21:15] local.INFO: IMEI packet received {"connection_id":45758,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:21:15] local.INFO: IMEI acknowledgment sent {"connection_id":45758,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:21:16] local.INFO: TCP Data received {"connection_id":45758,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:21:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:21:16] local.INFO: Processing buffer {"connection_id":45758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:21:16] local.INFO: Packet analysis {"connection_id":45758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:21:16] local.INFO: Extracted packet for processing {"connection_id":45758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:21:16] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:21:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760492544001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370743466849394688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:21:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776408478000,"timestamp_ms":1776408478000,"timestamp_seconds":1776408478,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a324130"} 
[2026-04-17 12:21:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:21:16] 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-04-17 12:21:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-17 12:21:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:21:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:21:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:21:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:21:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:21:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:21:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:21:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:21:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:21:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:21:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760492544001,"66":26452,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4370743466849394688},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:21:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:21:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:21:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760492544001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:21:16] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:21:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:21:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:21:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370743466849394688,"description":"Unknown IO ID 45"} 
[2026-04-17 12:21:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760492544001,"power":26452,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4370743466849394688}} 
[2026-04-17 12:21:16] local.INFO: DEBUG: GPS processor result {"connection_id":45758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21138,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:21:16] local.INFO: GPS data processed {"connection_id":45758,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:21:16] local.INFO: Acknowledgment sent {"connection_id":45758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:21:29] local.INFO: TCP Data received {"connection_id":45840,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45840,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:21:29] local.INFO: Processing buffer {"connection_id":45840,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a30b6a8012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:21:29] local.INFO: Packet analysis {"connection_id":45840,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:21:29] local.INFO: Extracted packet for processing {"connection_id":45840,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a30"} 
[2026-04-17 12:21:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760467456001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776408377000,"timestamp_ms":1776408377000,"timestamp_seconds":1776408377,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a30b6a8"} 
[2026-04-17 12:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45840,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45840,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12: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-04-17 12:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760467456001,"66":25419,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760467456001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:21:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760467456001,"power":25419,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":45840,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21139,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:21:29] local.INFO: GPS data processed {"connection_id":45840,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:21:29] local.INFO: Acknowledgment sent {"connection_id":45840,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:21:32] local.INFO: TCP Data received {"connection_id":45841,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a33b060012d18b0400722e6100067016129..."} 
[2026-04-17 12:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a33b060012d18b0400722e6100067016129..."} 
[2026-04-17 12:21:32] local.INFO: Processing buffer {"connection_id":45841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a33b060012d18b0400722e6100067016129..."} 
[2026-04-17 12:21:32] local.INFO: Packet analysis {"connection_id":45841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a33"} 
[2026-04-17 12:21:32] local.INFO: Extracted packet for processing {"connection_id":45841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a33"} 
[2026-04-17 12:21:32] local.INFO: GPS Element Parsed {"raw_longitude":756592704,"raw_latitude":119727632,"longitude_deg":75.6592704,"latitude_deg":11.9727632,"altitude":103,"angle":353,"satellites":41,"speed":0,"hex_longitude":"2d18b040","hex_latitude":"0722e610","is_valid_coordinates":true} 
[2026-04-17 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-04-17 12:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760589056001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517128094580736,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778992252205797376,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:32] 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-04-17 12:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776408572000,"timestamp_ms":1776408572000,"timestamp_seconds":1776408572,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a33b060"} 
[2026-04-17 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-04-17 12:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 12:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 12:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45841,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760589056001,"66":12841,"70":206,"28":31744,"24":0,"16":113517128094580736,"45":1778992252205797376},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 12:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760589056001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:21:32] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 12:21:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517128094580736,"km_value":113517128094580.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778992252205797376,"description":"Unknown IO ID 45"} 
[2026-04-17 12:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760589056001,"power":12841,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778992252205797376}} 
[2026-04-17 12:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":45841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:21:32] local.INFO: GPS data processed {"connection_id":45841,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:21:32] local.INFO: Acknowledgment sent {"connection_id":45841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:21:48] local.INFO: TCP Data received {"connection_id":45758,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:21:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:21:48] local.INFO: Processing buffer {"connection_id":45758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:21:48] local.INFO: Packet analysis {"connection_id":45758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:21:48] local.INFO: Extracted packet for processing {"connection_id":45758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:21:48] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:21:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760492544001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370743466849394688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:21:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776408478000,"timestamp_ms":1776408478000,"timestamp_seconds":1776408478,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a324130"} 
[2026-04-17 12:21:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:21:48] 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-04-17 12:21:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-17 12:21:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:21:48] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:21:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:21:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:21:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:21:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:21:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45758,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:21:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:21:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:21:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:21:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760492544001,"66":26452,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4370743466849394688},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:21:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:21:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:21:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760492544001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:21:48] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:21:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:21:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:21:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370743466849394688,"description":"Unknown IO ID 45"} 
[2026-04-17 12:21:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760492544001,"power":26452,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4370743466849394688}} 
[2026-04-17 12:21:48] local.INFO: DEBUG: GPS processor result {"connection_id":45758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21141,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:21:48] local.INFO: GPS data processed {"connection_id":45758,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:21:48] local.INFO: Acknowledgment sent {"connection_id":45758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:21:49] local.INFO: TCP Data received {"connection_id":46614,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:21:49] local.INFO: Processing buffer {"connection_id":46614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:21:49] local.INFO: IMEI packet received {"connection_id":46614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":46614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:21:51] local.INFO: TCP Data received {"connection_id":46615,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:21:51] local.INFO: Processing buffer {"connection_id":46615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:21:51] local.INFO: IMEI packet received {"connection_id":46615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":46615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:21:54] local.INFO: TCP Data received {"connection_id":46614,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46614,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:21:54] local.INFO: Processing buffer {"connection_id":46614,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:21:54] local.INFO: IMEI packet received {"connection_id":46614,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":46614,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:21:56] local.INFO: TCP Data received {"connection_id":46615,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46615,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:21:56] local.INFO: Processing buffer {"connection_id":46615,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:21:56] local.INFO: IMEI packet received {"connection_id":46615,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":46615,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:21:57] local.INFO: TCP Data received {"connection_id":46615,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:21:57] local.INFO: Processing buffer {"connection_id":46615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:21:57] local.INFO: Packet analysis {"connection_id":46615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:21:57] local.INFO: Extracted packet for processing {"connection_id":46615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:21:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760544512001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776408678000,"timestamp_ms":1776408678000,"timestamp_seconds":1776408678,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a354e70"} 
[2026-04-17 12:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 12:21:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760544512001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760544512001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:21:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:21:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760544512001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":46615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21142,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:21:57] local.INFO: GPS data processed {"connection_id":46615,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:21:57] local.INFO: Acknowledgment sent {"connection_id":46615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:21:58] local.INFO: TCP Data received {"connection_id":46614,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a340268012d18b0400722e6100067016129..."} 
[2026-04-17 12:21:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a340268012d18b0400722e6100067016129..."} 
[2026-04-17 12:21:58] local.INFO: Processing buffer {"connection_id":46614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a340268012d18b0400722e6100067016129..."} 
[2026-04-17 12:21:58] local.INFO: Packet analysis {"connection_id":46614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a34"} 
[2026-04-17 12:21:58] local.INFO: Extracted packet for processing {"connection_id":46614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a34"} 
[2026-04-17 12:21:58] local.INFO: GPS Element Parsed {"raw_longitude":756592704,"raw_latitude":119727632,"longitude_deg":75.6592704,"latitude_deg":11.9727632,"altitude":103,"angle":353,"satellites":41,"speed":0,"hex_longitude":"2d18b040","hex_latitude":"0722e610","is_valid_coordinates":true} 
[2026-04-17 12:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:21:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760594432001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517128094580736,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778992252205797376,"note":"Value kept but may cause issues"} 
[2026-04-17 12:21:58] 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-04-17 12:21:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776408593000,"timestamp_ms":1776408593000,"timestamp_seconds":1776408593,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a340268"} 
[2026-04-17 12:21:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:21:58] 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-04-17 12:21:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 12:21: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-04-17 12:21:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:21:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:21:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:21:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:21:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:21:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:21:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:21:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:21:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:21:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760594432001,"66":12113,"70":206,"28":31744,"24":0,"16":113517128094580736,"45":1778992252205797376},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 12:21:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:21:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:21:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760594432001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:21:58] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 12:21:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:21:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517128094580736,"km_value":113517128094580.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:21:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778992252205797376,"description":"Unknown IO ID 45"} 
[2026-04-17 12:21:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760594432001,"power":12113,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778992252205797376}} 
[2026-04-17 12:21:58] local.INFO: DEBUG: GPS processor result {"connection_id":46614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:21:58] local.INFO: GPS data processed {"connection_id":46614,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:21:58] local.INFO: Acknowledgment sent {"connection_id":46614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:22:15] local.INFO: TCP Data received {"connection_id":45759,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:22:15] local.INFO: Processing buffer {"connection_id":45759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:22:15] local.INFO: IMEI packet received {"connection_id":45759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:22:15] local.INFO: IMEI acknowledgment sent {"connection_id":45759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:22:16] local.INFO: TCP Data received {"connection_id":45759,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:22:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45759,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:22:16] local.INFO: Processing buffer {"connection_id":45759,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:22:16] local.INFO: IMEI packet received {"connection_id":45759,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:22:16] local.INFO: IMEI acknowledgment sent {"connection_id":45759,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:22:18] local.INFO: TCP Data received {"connection_id":45759,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:22:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:22:18] local.INFO: Processing buffer {"connection_id":45759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:22:18] local.INFO: Packet analysis {"connection_id":45759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:22:18] local.INFO: Extracted packet for processing {"connection_id":45759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:22:18] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 12:22:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760492544001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:22:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:22:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370743466849394688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:22:18] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:22:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776408478000,"timestamp_ms":1776408478000,"timestamp_seconds":1776408478,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a324130"} 
[2026-04-17 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-04-17 12:22:18] 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-04-17 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":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-17 12:22:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:22:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 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-04-17 12:22:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:22:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:22:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:22:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:22:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:22:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:22:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:22:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760492544001,"66":26452,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4370743466849394688},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:22:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:22:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:22:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760492544001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:22:18] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:22:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:22:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:22:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370743466849394688,"description":"Unknown IO ID 45"} 
[2026-04-17 12:22:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760492544001,"power":26452,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4370743466849394688}} 
[2026-04-17 12:22:18] local.INFO: DEBUG: GPS processor result {"connection_id":45759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21144,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:22:18] local.INFO: GPS data processed {"connection_id":45759,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:22:18] local.INFO: Acknowledgment sent {"connection_id":45759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:22:23] local.INFO: TCP Data received {"connection_id":45759,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:22:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45759,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:22:23] local.INFO: Processing buffer {"connection_id":45759,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:22:23] local.INFO: Packet analysis {"connection_id":45759,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:22:23] local.INFO: Extracted packet for processing {"connection_id":45759,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:22:23] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:22:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760492544001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:22:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:22:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370743466849394688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:22:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:22:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776408478000,"timestamp_ms":1776408478000,"timestamp_seconds":1776408478,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a324130"} 
[2026-04-17 12:22:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:22:23] 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-04-17 12: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":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-17 12:22:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:22:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:22:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:22:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45759,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:22:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:22:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45759,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:22:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:22:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:22:23] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:22:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760492544001,"66":26452,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4370743466849394688},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:22:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:22:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:22:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760492544001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:22:23] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:22:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:22:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:22:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370743466849394688,"description":"Unknown IO ID 45"} 
[2026-04-17 12:22:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760492544001,"power":26452,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4370743466849394688}} 
[2026-04-17 12:22:23] local.INFO: DEBUG: GPS processor result {"connection_id":45759,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21145,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:22:23] local.INFO: GPS data processed {"connection_id":45759,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:22:23] local.INFO: Acknowledgment sent {"connection_id":45759,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:22:27] local.INFO: TCP Data received {"connection_id":46615,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46615,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:22:27] local.INFO: Processing buffer {"connection_id":46615,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:22:27] local.INFO: Packet analysis {"connection_id":46615,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:22:27] local.INFO: Extracted packet for processing {"connection_id":46615,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760544512001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776408678000,"timestamp_ms":1776408678000,"timestamp_seconds":1776408678,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a354e70"} 
[2026-04-17 12:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 12:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46615,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46615,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760544512001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760544512001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:22:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760544512001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":46615,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21146,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:22:27] local.INFO: GPS data processed {"connection_id":46615,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:22:27] local.INFO: Acknowledgment sent {"connection_id":46615,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:22:30] local.INFO: TCP Data received {"connection_id":46614,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a345470012d18b0400722e6100067016128..."} 
[2026-04-17 12:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46614,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a345470012d18b0400722e6100067016128..."} 
[2026-04-17 12:22:30] local.INFO: Processing buffer {"connection_id":46614,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a345470012d18b0400722e6100067016128..."} 
[2026-04-17 12:22:30] local.INFO: Packet analysis {"connection_id":46614,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a34"} 
[2026-04-17 12:22:30] local.INFO: Extracted packet for processing {"connection_id":46614,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a34"} 
[2026-04-17 12:22:30] local.INFO: GPS Element Parsed {"raw_longitude":756592704,"raw_latitude":119727632,"longitude_deg":75.6592704,"latitude_deg":11.9727632,"altitude":103,"angle":353,"satellites":40,"speed":0,"hex_longitude":"2d18b040","hex_latitude":"0722e610","is_valid_coordinates":true} 
[2026-04-17 12:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760599808001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517128094580736,"note":"Value kept but may cause issues"} 
[2026-04-17 12:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778992252205797376,"note":"Value kept but may cause issues"} 
[2026-04-17 12:22:30] 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-04-17 12:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776408614000,"timestamp_ms":1776408614000,"timestamp_seconds":1776408614,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a345470"} 
[2026-04-17 12:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:22:30] 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-04-17 12:22:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-04-17 12:22:30] 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-04-17 12:22:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46614,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46614,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:22:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760599808001,"66":12015,"70":206,"28":31744,"24":0,"16":113517128094580736,"45":1778992252205797376},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 12:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760599808001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:22:30] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 12:22:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517128094580736,"km_value":113517128094580.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778992252205797376,"description":"Unknown IO ID 45"} 
[2026-04-17 12:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760599808001,"power":12015,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778992252205797376}} 
[2026-04-17 12:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":46614,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:22:30] local.INFO: GPS data processed {"connection_id":46614,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:22:30] local.INFO: Acknowledgment sent {"connection_id":46614,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:22:49] local.INFO: TCP Data received {"connection_id":46038,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:22:49] local.INFO: Processing buffer {"connection_id":46038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:22:49] local.INFO: IMEI packet received {"connection_id":46038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":46038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:22:50] local.INFO: TCP Data received {"connection_id":45842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:22:50] local.INFO: Processing buffer {"connection_id":45842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:22:50] local.INFO: IMEI packet received {"connection_id":45842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":45842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:22:54] local.INFO: TCP Data received {"connection_id":46038,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46038,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:22:54] local.INFO: Processing buffer {"connection_id":46038,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:22:54] local.INFO: IMEI packet received {"connection_id":46038,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":46038,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:22:55] local.INFO: TCP Data received {"connection_id":46038,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a34a678012d18b0400722e610006701612a..."} 
[2026-04-17 12:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a34a678012d18b0400722e610006701612a..."} 
[2026-04-17 12:22:55] local.INFO: Processing buffer {"connection_id":46038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a34a678012d18b0400722e610006701612a..."} 
[2026-04-17 12:22:55] local.INFO: Packet analysis {"connection_id":46038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a34"} 
[2026-04-17 12:22:55] local.INFO: Extracted packet for processing {"connection_id":46038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a34"} 
[2026-04-17 12:22:55] local.INFO: GPS Element Parsed {"raw_longitude":756592704,"raw_latitude":119727632,"longitude_deg":75.6592704,"latitude_deg":11.9727632,"altitude":103,"angle":353,"satellites":42,"speed":0,"hex_longitude":"2d18b040","hex_latitude":"0722e610","is_valid_coordinates":true} 
[2026-04-17 12:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760605184001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517128094580736,"note":"Value kept but may cause issues"} 
[2026-04-17 12:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778992252205797376,"note":"Value kept but may cause issues"} 
[2026-04-17 12:22:55] 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-04-17 12:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776408635000,"timestamp_ms":1776408635000,"timestamp_seconds":1776408635,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a34a678"} 
[2026-04-17 12:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:22: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-04-17 12:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 12:22:55] 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-04-17 12:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760605184001,"66":12798,"70":206,"28":31744,"24":0,"16":113517128094580736,"45":1778992252205797376},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 12:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760605184001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:22:55] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 12:22:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517128094580736,"km_value":113517128094580.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778992252205797376,"description":"Unknown IO ID 45"} 
[2026-04-17 12:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760605184001,"power":12798,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778992252205797376}} 
[2026-04-17 12:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":46038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21148,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:22:55] local.INFO: GPS data processed {"connection_id":46038,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:22:55] local.INFO: Acknowledgment sent {"connection_id":46038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:22:56] local.INFO: TCP Data received {"connection_id":45842,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:22:56] local.INFO: Processing buffer {"connection_id":45842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:22:56] local.INFO: IMEI packet received {"connection_id":45842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":45842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:22:58] local.INFO: TCP Data received {"connection_id":45842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:22:58] local.INFO: Processing buffer {"connection_id":45842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:22:58] local.INFO: Packet analysis {"connection_id":45842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:22:58] local.INFO: Extracted packet for processing {"connection_id":45842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760544512001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776408678000,"timestamp_ms":1776408678000,"timestamp_seconds":1776408678,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a354e70"} 
[2026-04-17 12:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 12:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760544512001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760544512001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:22:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:22:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760544512001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":45842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:22:58] local.INFO: GPS data processed {"connection_id":45842,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:22:58] local.INFO: Acknowledgment sent {"connection_id":45842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:23:06] local.INFO: TCP Data received {"connection_id":46039,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:23:06] local.INFO: Processing buffer {"connection_id":46039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:23:06] local.INFO: IMEI packet received {"connection_id":46039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:23:06] local.INFO: IMEI acknowledgment sent {"connection_id":46039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:23:10] local.INFO: TCP Data received {"connection_id":46039,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:23:10] local.INFO: Processing buffer {"connection_id":46039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:23:10] local.INFO: IMEI packet received {"connection_id":46039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":46039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:23:12] local.INFO: TCP Data received {"connection_id":46039,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:23:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:23:12] local.INFO: Processing buffer {"connection_id":46039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:23:12] local.INFO: Packet analysis {"connection_id":46039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:23:12] local.INFO: Extracted packet for processing {"connection_id":46039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:23:12] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:23:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760492544001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:23:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:23:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370743466849394688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:23:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:23:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776408478000,"timestamp_ms":1776408478000,"timestamp_seconds":1776408478,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a324130"} 
[2026-04-17 12:23:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:23: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-04-17 12:23:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-17 12:23:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:23:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:23:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:23:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:23:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:23:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:23:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:23:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:23:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:23:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:23:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760492544001,"66":26452,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4370743466849394688},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:23:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:23:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:23:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760492544001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:23:12] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:23:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:23:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:23:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370743466849394688,"description":"Unknown IO ID 45"} 
[2026-04-17 12:23:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760492544001,"power":26452,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4370743466849394688}} 
[2026-04-17 12:23:12] local.INFO: DEBUG: GPS processor result {"connection_id":46039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21150,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:23:12] local.INFO: GPS data processed {"connection_id":46039,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:23:12] local.INFO: Acknowledgment sent {"connection_id":46039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:23:17] local.INFO: TCP Data received {"connection_id":46039,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:23:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:23:17] local.INFO: Processing buffer {"connection_id":46039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a324130012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:23:17] local.INFO: Packet analysis {"connection_id":46039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:23:17] local.INFO: Extracted packet for processing {"connection_id":46039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a32"} 
[2026-04-17 12:23:17] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 12:23:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760492544001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:23:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:23:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4370743466849394688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:23:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:23:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776408478000,"timestamp_ms":1776408478000,"timestamp_seconds":1776408478,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a324130"} 
[2026-04-17 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-04-17 12:23:17] 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-04-17 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":111,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-17 12:23:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":780,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:23:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 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-04-17 12:23:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:23:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:23:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:23:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:23:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:23:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:23:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:23:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760492544001,"66":26452,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4370743466849394688},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:23:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:23:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:23:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760492544001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:23:17] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:23:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:23:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:23:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":4370743466849394688,"description":"Unknown IO ID 45"} 
[2026-04-17 12:23:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760492544001,"power":26452,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4370743466849394688}} 
[2026-04-17 12:23:17] local.INFO: DEBUG: GPS processor result {"connection_id":46039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21151,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:23:17] local.INFO: GPS data processed {"connection_id":46039,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:23:17] local.INFO: Acknowledgment sent {"connection_id":46039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:23:26] local.INFO: TCP Data received {"connection_id":46038,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a34f880012d18b0400722e610006701612a..."} 
[2026-04-17 12:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a34f880012d18b0400722e610006701612a..."} 
[2026-04-17 12:23:26] local.INFO: Processing buffer {"connection_id":46038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a34f880012d18b0400722e610006701612a..."} 
[2026-04-17 12:23:26] local.INFO: Packet analysis {"connection_id":46038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a34"} 
[2026-04-17 12:23:26] local.INFO: Extracted packet for processing {"connection_id":46038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a34"} 
[2026-04-17 12:23:26] local.INFO: GPS Element Parsed {"raw_longitude":756592704,"raw_latitude":119727632,"longitude_deg":75.6592704,"latitude_deg":11.9727632,"altitude":103,"angle":353,"satellites":42,"speed":0,"hex_longitude":"2d18b040","hex_latitude":"0722e610","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760610560001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517128094580736,"note":"Value kept but may cause issues"} 
[2026-04-17 12:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778992252205797376,"note":"Value kept but may cause issues"} 
[2026-04-17 12:23:26] 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-04-17 12:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776408656000,"timestamp_ms":1776408656000,"timestamp_seconds":1776408656,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a34f880"} 
[2026-04-17 12:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:23: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-04-17 12: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-17 12:23:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46038,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760610560001,"66":12765,"70":206,"28":31744,"24":0,"16":113517128094580736,"45":1778992252205797376},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 12:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760610560001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:23:26] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 12:23:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517128094580736,"km_value":113517128094580.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778992252205797376,"description":"Unknown IO ID 45"} 
[2026-04-17 12:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760610560001,"power":12765,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778992252205797376}} 
[2026-04-17 12:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":46038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:23:26] local.INFO: GPS data processed {"connection_id":46038,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:23:26] local.INFO: Acknowledgment sent {"connection_id":46038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:23:32] local.INFO: TCP Data received {"connection_id":45842,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:23:32] local.INFO: Processing buffer {"connection_id":45842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:23:32] local.INFO: Packet analysis {"connection_id":45842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:23:32] local.INFO: Extracted packet for processing {"connection_id":45842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:23:32] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760544512001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776408678000,"timestamp_ms":1776408678000,"timestamp_seconds":1776408678,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a354e70"} 
[2026-04-17 12:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 12:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760544512001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760544512001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:23:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:23:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760544512001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":45842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:23:32] local.INFO: GPS data processed {"connection_id":45842,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:23:32] local.INFO: Acknowledgment sent {"connection_id":45842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:23:48] local.INFO: TCP Data received {"connection_id":45760,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:23:48] local.INFO: Processing buffer {"connection_id":45760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:23:48] local.INFO: IMEI packet received {"connection_id":45760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":45760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:23:49] local.INFO: TCP Data received {"connection_id":46039,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:23:49] local.INFO: Processing buffer {"connection_id":46039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:23:49] local.INFO: Packet analysis {"connection_id":46039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:23:49] local.INFO: Extracted packet for processing {"connection_id":46039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:23:49] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12:23:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:23:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760570368001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:23:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:23:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:23:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:23:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776408779000,"timestamp_ms":1776408779000,"timestamp_seconds":1776408779,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a36d8f8"} 
[2026-04-17 12:23:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:23:49] 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-04-17 12: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-17 12:23:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:23:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:23:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:23:49] local.INFO: Teltonika packet parsed successfully {"connection_id":46039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:23:49] local.INFO: Passing IMEI to GPS processor {"connection_id":46039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:23:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":46039,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:23:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:23:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:23:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:23:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760570368001,"66":26245,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:23:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:23:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:23:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760570368001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:23:49] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:23:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:23:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:23:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:23:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760570368001,"power":26245,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:23:49] local.INFO: DEBUG: GPS processor result {"connection_id":46039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21154,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:23:49] local.INFO: GPS data processed {"connection_id":46039,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:23:49] local.INFO: Acknowledgment sent {"connection_id":46039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:23:50] local.INFO: TCP Data received {"connection_id":46040,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:23:50] local.INFO: Processing buffer {"connection_id":46040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:23:50] local.INFO: IMEI packet received {"connection_id":46040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":46040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:23:54] local.INFO: TCP Data received {"connection_id":45760,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45760,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:23:54] local.INFO: Processing buffer {"connection_id":45760,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:23:54] local.INFO: IMEI packet received {"connection_id":45760,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":45760,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:23:56] local.INFO: TCP Data received {"connection_id":46040,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:23:56] local.INFO: Processing buffer {"connection_id":46040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:23:56] local.INFO: IMEI packet received {"connection_id":46040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":46040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:23:56] local.INFO: TCP Data received {"connection_id":46040,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:23:56] local.INFO: Processing buffer {"connection_id":46040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:23:56] local.INFO: Packet analysis {"connection_id":46040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:23:56] local.INFO: Extracted packet for processing {"connection_id":46040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760544512001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776408678000,"timestamp_ms":1776408678000,"timestamp_seconds":1776408678,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a354e70"} 
[2026-04-17 12:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 12:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:23:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760544512001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760544512001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:23:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760544512001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":46040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:23:56] local.INFO: GPS data processed {"connection_id":46040,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:23:56] local.INFO: Acknowledgment sent {"connection_id":46040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:24:02] local.INFO: TCP Data received {"connection_id":45760,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a354a88012d18b0400722e6100067016129..."} 
[2026-04-17 12:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a354a88012d18b0400722e6100067016129..."} 
[2026-04-17 12:24:02] local.INFO: Processing buffer {"connection_id":45760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a354a88012d18b0400722e6100067016129..."} 
[2026-04-17 12:24:02] local.INFO: Packet analysis {"connection_id":45760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:24:02] local.INFO: Extracted packet for processing {"connection_id":45760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:24:02] local.INFO: GPS Element Parsed {"raw_longitude":756592704,"raw_latitude":119727632,"longitude_deg":75.6592704,"latitude_deg":11.9727632,"altitude":103,"angle":353,"satellites":41,"speed":0,"hex_longitude":"2d18b040","hex_latitude":"0722e610","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:24:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760615936001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517128094580736,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778992252205797376,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:02] 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-04-17 12:24:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776408677000,"timestamp_ms":1776408677000,"timestamp_seconds":1776408677,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a354a88"} 
[2026-04-17 12:24:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:24:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18176,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-17 12:24:02] 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-04-17 12: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-04-17 12:24:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:24:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:24:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:24:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:24:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:24:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:24:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:24:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:24:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760615936001,"66":12743,"70":206,"28":31744,"24":0,"16":113517128094580736,"45":1778992252205797376},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 12:24:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:24:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:24:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760615936001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:24:02] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 12:24:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:24:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517128094580736,"km_value":113517128094580.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:24:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778992252205797376,"description":"Unknown IO ID 45"} 
[2026-04-17 12:24:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760615936001,"power":12743,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778992252205797376}} 
[2026-04-17 12:24:02] local.INFO: DEBUG: GPS processor result {"connection_id":45760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:24:02] local.INFO: GPS data processed {"connection_id":45760,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:24:02] local.INFO: Acknowledgment sent {"connection_id":45760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:24:06] local.INFO: TCP Data received {"connection_id":46041,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:24:06] local.INFO: Processing buffer {"connection_id":46041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:24:06] local.INFO: IMEI packet received {"connection_id":46041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":46041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:24:10] local.INFO: TCP Data received {"connection_id":46041,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:24:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46041,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:24:10] local.INFO: Processing buffer {"connection_id":46041,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:24:10] local.INFO: IMEI packet received {"connection_id":46041,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:24:10] local.INFO: IMEI acknowledgment sent {"connection_id":46041,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:24:11] local.INFO: TCP Data received {"connection_id":46041,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:24:11] local.INFO: Processing buffer {"connection_id":46041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:24:11] local.INFO: Packet analysis {"connection_id":46041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:24:11] local.INFO: Extracted packet for processing {"connection_id":46041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:24:11] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:24:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760570368001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:24:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776408779000,"timestamp_ms":1776408779000,"timestamp_seconds":1776408779,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a36d8f8"} 
[2026-04-17 12:24:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:24:11] 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-04-17 12: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-17 12:24:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:24:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:24:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:24:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:24:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:24:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:24:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:24:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:24:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:24:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760570368001,"66":26245,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:24:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:24:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:24:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760570368001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:24:11] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:24:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:24:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:24:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:24:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760570368001,"power":26245,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:24:11] local.INFO: DEBUG: GPS processor result {"connection_id":46041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21157,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:24:11] local.INFO: GPS data processed {"connection_id":46041,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:24:11] local.INFO: Acknowledgment sent {"connection_id":46041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:24:28] local.INFO: TCP Data received {"connection_id":46040,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:24:28] local.INFO: Processing buffer {"connection_id":46040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:24:28] local.INFO: Packet analysis {"connection_id":46040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:24:28] local.INFO: Extracted packet for processing {"connection_id":46040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:24:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760544512001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776408678000,"timestamp_ms":1776408678000,"timestamp_seconds":1776408678,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a354e70"} 
[2026-04-17 12:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 12:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760544512001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760544512001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:24:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760544512001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":46040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:24:28] local.INFO: GPS data processed {"connection_id":46040,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:24:28] local.INFO: Acknowledgment sent {"connection_id":46040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:24:33] local.INFO: TCP Data received {"connection_id":45760,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a359c90012d18b0400722e6100067016128..."} 
[2026-04-17 12:24:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a359c90012d18b0400722e6100067016128..."} 
[2026-04-17 12:24:33] local.INFO: Processing buffer {"connection_id":45760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a359c90012d18b0400722e6100067016128..."} 
[2026-04-17 12:24:33] local.INFO: Packet analysis {"connection_id":45760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:24:33] local.INFO: Extracted packet for processing {"connection_id":45760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:24:33] local.INFO: GPS Element Parsed {"raw_longitude":756592704,"raw_latitude":119727632,"longitude_deg":75.6592704,"latitude_deg":11.9727632,"altitude":103,"angle":353,"satellites":40,"speed":0,"hex_longitude":"2d18b040","hex_latitude":"0722e610","is_valid_coordinates":true} 
[2026-04-17 12:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:24:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760621312001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517128094580736,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778992252205797376,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:33] 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-04-17 12:24:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776408698000,"timestamp_ms":1776408698000,"timestamp_seconds":1776408698,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a359c90"} 
[2026-04-17 12:24:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:24:33] 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-04-17 12:24:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-17 12:24: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-04-17 12:24:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:24:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:24:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:24:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:24:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:24:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45760,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:24:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:24:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:24:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:24:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760621312001,"66":12765,"70":206,"28":31744,"24":0,"16":113517128094580736,"45":1778992252205797376},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 12:24:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:24:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:24:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760621312001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:24:33] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 12:24:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:24:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517128094580736,"km_value":113517128094580.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:24:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778992252205797376,"description":"Unknown IO ID 45"} 
[2026-04-17 12:24:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760621312001,"power":12765,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1778992252205797376}} 
[2026-04-17 12:24:33] local.INFO: DEBUG: GPS processor result {"connection_id":45760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:24:33] local.INFO: GPS data processed {"connection_id":45760,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:24:33] local.INFO: Acknowledgment sent {"connection_id":45760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:24:44] local.INFO: TCP Data received {"connection_id":46041,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:24:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:24:44] local.INFO: Processing buffer {"connection_id":46041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:24:44] local.INFO: Packet analysis {"connection_id":46041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:24:44] local.INFO: Extracted packet for processing {"connection_id":46041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:24:44] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:24:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760570368001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:24:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776408779000,"timestamp_ms":1776408779000,"timestamp_seconds":1776408779,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a36d8f8"} 
[2026-04-17 12:24:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:24:44] 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-04-17 12:24:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-17 12:24:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:24:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:24:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:24:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:24:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:24:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:24:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46041,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:24:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:24:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:24:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:24:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760570368001,"66":26245,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:24:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:24:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:24:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760570368001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:24:44] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:24:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:24:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:24:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:24:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760570368001,"power":26245,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:24:44] local.INFO: DEBUG: GPS processor result {"connection_id":46041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21160,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:24:44] local.INFO: GPS data processed {"connection_id":46041,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:24:44] local.INFO: Acknowledgment sent {"connection_id":46041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:24:48] local.INFO: TCP Data received {"connection_id":45761,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:24:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:24:48] local.INFO: Processing buffer {"connection_id":45761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:24:48] local.INFO: IMEI packet received {"connection_id":45761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:24:48] local.INFO: IMEI acknowledgment sent {"connection_id":45761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:24:50] local.INFO: TCP Data received {"connection_id":45843,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:24:50] local.INFO: Processing buffer {"connection_id":45843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:24:50] local.INFO: IMEI packet received {"connection_id":45843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":45843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:24:54] local.INFO: TCP Data received {"connection_id":45761,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45761,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:24:54] local.INFO: Processing buffer {"connection_id":45761,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:24:54] local.INFO: IMEI packet received {"connection_id":45761,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":45761,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:24:55] local.INFO: TCP Data received {"connection_id":45761,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a37cf10012d18c2c0072304c00065004128..."} 
[2026-04-17 12:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a37cf10012d18c2c0072304c00065004128..."} 
[2026-04-17 12:24:55] local.INFO: Processing buffer {"connection_id":45761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a37cf10012d18c2c0072304c00065004128..."} 
[2026-04-17 12:24:55] local.INFO: Packet analysis {"connection_id":45761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a37"} 
[2026-04-17 12:24:55] local.INFO: Extracted packet for processing {"connection_id":45761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a37"} 
[2026-04-17 12:24:55] local.INFO: GPS Element Parsed {"raw_longitude":756597440,"raw_latitude":119735488,"longitude_deg":75.659744,"latitude_deg":11.9735488,"altitude":101,"angle":65,"satellites":40,"speed":24,"hex_longitude":"2d18c2c0","hex_latitude":"072304c0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760663040001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517587656081408,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783003270625771520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776408842000,"timestamp_ms":1776408842000,"timestamp_seconds":1776408842,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a37cf10"} 
[2026-04-17 12:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:24: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-04-17 12:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-17 12:24:55] 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-04-17 12:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760663040001,"66":12667,"62":206,"28":31744,"24":24,"16":113517587656081408,"45":1783003270625771520},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-17 12:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760663040001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:24:55] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 12:24:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517587656081408,"km_value":113517587656081.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783003270625771520,"description":"Unknown IO ID 45"} 
[2026-04-17 12:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760663040001,"power":12667,"unknown_62":206,"unknown_28":31744,"ignition":24,"odometer":null,"unknown_45":1783003270625771520}} 
[2026-04-17 12:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":45761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:24:55] local.INFO: GPS data processed {"connection_id":45761,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:24:55] local.INFO: Acknowledgment sent {"connection_id":45761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:24:56] local.INFO: TCP Data received {"connection_id":45843,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:24:56] local.INFO: Processing buffer {"connection_id":45843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:24:56] local.INFO: IMEI packet received {"connection_id":45843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":45843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:24:57] local.INFO: TCP Data received {"connection_id":45843,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:24:57] local.INFO: Processing buffer {"connection_id":45843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:24:57] local.INFO: Packet analysis {"connection_id":45843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:24:57] local.INFO: Extracted packet for processing {"connection_id":45843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:24:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760544512001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776408678000,"timestamp_ms":1776408678000,"timestamp_seconds":1776408678,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a354e70"} 
[2026-04-17 12:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:24:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 12:24:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760544512001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760544512001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:24:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:24:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760544512001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":45843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:24:57] local.INFO: GPS data processed {"connection_id":45843,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:24:57] local.INFO: Acknowledgment sent {"connection_id":45843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:25:04] local.INFO: TCP Data received {"connection_id":46042,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:25:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:25:04] local.INFO: Processing buffer {"connection_id":46042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:25:04] local.INFO: IMEI packet received {"connection_id":46042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:25:04] local.INFO: IMEI acknowledgment sent {"connection_id":46042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:25:10] local.INFO: TCP Data received {"connection_id":46042,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:25:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:25:10] local.INFO: Processing buffer {"connection_id":46042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:25:10] local.INFO: IMEI packet received {"connection_id":46042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:25:10] local.INFO: IMEI acknowledgment sent {"connection_id":46042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:25:14] local.INFO: TCP Data received {"connection_id":46042,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:25:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:25:14] local.INFO: Processing buffer {"connection_id":46042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:25:14] local.INFO: Packet analysis {"connection_id":46042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:25:14] local.INFO: Extracted packet for processing {"connection_id":46042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:25:14] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 12:25:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760570368001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:25:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:25:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:25:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:25:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776408779000,"timestamp_ms":1776408779000,"timestamp_seconds":1776408779,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a36d8f8"} 
[2026-04-17 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-04-17 12:25:14] 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-04-17 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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-17 12:25:14] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 12:25:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:25:14] local.INFO: Teltonika packet parsed successfully {"connection_id":46042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:25:14] local.INFO: Passing IMEI to GPS processor {"connection_id":46042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:25:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":46042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:25:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:25:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:25:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:25:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760570368001,"66":26245,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:25:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:25:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:25:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760570368001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:25:14] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:25:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:25:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:25:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:25:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760570368001,"power":26245,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:25:14] local.INFO: DEBUG: GPS processor result {"connection_id":46042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21163,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:25:14] local.INFO: GPS data processed {"connection_id":46042,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:25:14] local.INFO: Acknowledgment sent {"connection_id":46042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:25:27] local.INFO: TCP Data received {"connection_id":45761,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a37d2f8012d18c540072305800065004e26..."} 
[2026-04-17 12:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45761,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a37d2f8012d18c540072305800065004e26..."} 
[2026-04-17 12:25:27] local.INFO: Processing buffer {"connection_id":45761,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a37d2f8012d18c540072305800065004e26..."} 
[2026-04-17 12:25:27] local.INFO: Packet analysis {"connection_id":45761,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a37"} 
[2026-04-17 12:25:27] local.INFO: Extracted packet for processing {"connection_id":45761,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a37"} 
[2026-04-17 12:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756598080,"raw_latitude":119735680,"longitude_deg":75.659808,"latitude_deg":11.973568,"altitude":101,"angle":78,"satellites":38,"speed":23,"hex_longitude":"2d18c540","hex_latitude":"07230580","is_valid_coordinates":true} 
[2026-04-17 12:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760663552001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517617720852480,"note":"Value kept but may cause issues"} 
[2026-04-17 12:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784199539276955648,"note":"Value kept but may cause issues"} 
[2026-04-17 12:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776408843000,"timestamp_ms":1776408843000,"timestamp_seconds":1776408843,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a37d2f8"} 
[2026-04-17 12:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:25:27] 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-04-17 12:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-17 12:25:27] 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-04-17 12:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45761,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45761,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760663552001,"66":12667,"62":206,"28":31744,"24":23,"16":113517617720852480,"45":1784199539276955648},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-17 12:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760663552001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:25:27] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 12:25:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517617720852480,"km_value":113517617720852.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784199539276955648,"description":"Unknown IO ID 45"} 
[2026-04-17 12:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760663552001,"power":12667,"unknown_62":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1784199539276955648}} 
[2026-04-17 12:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":45761,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:25:27] local.INFO: GPS data processed {"connection_id":45761,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:25:27] local.INFO: Acknowledgment sent {"connection_id":45761,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:25:29] local.INFO: TCP Data received {"connection_id":45843,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:25:29] local.INFO: Processing buffer {"connection_id":45843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:25:29] local.INFO: Packet analysis {"connection_id":45843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:25:29] local.INFO: Extracted packet for processing {"connection_id":45843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:25:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760544512001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776408678000,"timestamp_ms":1776408678000,"timestamp_seconds":1776408678,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a354e70"} 
[2026-04-17 12:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":75,"data_length":795,"current_offset":136} 
[2026-04-17 12:25:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:25: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-04-17 12:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760544512001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760544512001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:25:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760544512001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":45843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:25:29] local.INFO: GPS data processed {"connection_id":45843,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:25:29] local.INFO: Acknowledgment sent {"connection_id":45843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:25:46] local.INFO: TCP Data received {"connection_id":46042,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:25:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:25:46] local.INFO: Processing buffer {"connection_id":46042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:25:46] local.INFO: Packet analysis {"connection_id":46042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:25:46] local.INFO: Extracted packet for processing {"connection_id":46042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:25:46] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:25:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760570368001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:25:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:25:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:25:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:25:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776408779000,"timestamp_ms":1776408779000,"timestamp_seconds":1776408779,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a36d8f8"} 
[2026-04-17 12:25:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:25:46] 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-04-17 12:25:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-17 12:25:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:25:46] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:25:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:25:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:25:46] local.INFO: Teltonika packet parsed successfully {"connection_id":46042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:25:46] local.INFO: Passing IMEI to GPS processor {"connection_id":46042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:25:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":46042,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:25:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:25:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:25:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:25:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760570368001,"66":26245,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:25:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:25:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:25:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760570368001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:25:46] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:25:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:25:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:25:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:25:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760570368001,"power":26245,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:25:46] local.INFO: DEBUG: GPS processor result {"connection_id":46042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21166,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:25:46] local.INFO: GPS data processed {"connection_id":46042,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:25:46] local.INFO: Acknowledgment sent {"connection_id":46042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:25:49] local.INFO: TCP Data received {"connection_id":46616,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:25:49] local.INFO: Processing buffer {"connection_id":46616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:25:49] local.INFO: IMEI packet received {"connection_id":46616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":46616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:25:50] local.INFO: TCP Data received {"connection_id":46617,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:25:50] local.INFO: Processing buffer {"connection_id":46617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:25:50] local.INFO: IMEI packet received {"connection_id":46617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":46617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:25:51] local.INFO: TCP Data received {"connection_id":46616,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:25:51] local.INFO: Processing buffer {"connection_id":46616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:25:51] local.INFO: IMEI packet received {"connection_id":46616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":46616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:25:54] local.INFO: TCP Data received {"connection_id":46616,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46616,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:25:54] local.INFO: Processing buffer {"connection_id":46616,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:25:54] local.INFO: IMEI packet received {"connection_id":46616,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":46616,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:25:56] local.INFO: TCP Data received {"connection_id":46617,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46617,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:25:56] local.INFO: Processing buffer {"connection_id":46617,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:25:56] local.INFO: IMEI packet received {"connection_id":46617,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":46617,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:25:57] local.INFO: TCP Data received {"connection_id":46617,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:25:57] local.INFO: Processing buffer {"connection_id":46617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:25:57] local.INFO: Packet analysis {"connection_id":46617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:25:57] local.INFO: Extracted packet for processing {"connection_id":46617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:25:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760544512001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776408678000,"timestamp_ms":1776408678000,"timestamp_seconds":1776408678,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a354e70"} 
[2026-04-17 12:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 12:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760544512001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760544512001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:25:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:25:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760544512001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":46617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21167,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:25:57] local.INFO: GPS data processed {"connection_id":46617,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:25:57] local.INFO: Acknowledgment sent {"connection_id":46617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:26:00] local.INFO: TCP Data received {"connection_id":46616,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a37deb0012d18ca40072306080064005a26..."} 
[2026-04-17 12:26:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a37deb0012d18ca40072306080064005a26..."} 
[2026-04-17 12:26:00] local.INFO: Processing buffer {"connection_id":46616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a37deb0012d18ca40072306080064005a26..."} 
[2026-04-17 12:26:00] local.INFO: Packet analysis {"connection_id":46616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a37"} 
[2026-04-17 12:26:00] local.INFO: Extracted packet for processing {"connection_id":46616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a37"} 
[2026-04-17 12:26:00] local.INFO: GPS Element Parsed {"raw_longitude":756599360,"raw_latitude":119735816,"longitude_deg":75.659936,"latitude_deg":11.9735816,"altitude":100,"angle":90,"satellites":38,"speed":11,"hex_longitude":"2d18ca40","hex_latitude":"07230608","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:26:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760663808001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:26:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517677850394624,"note":"Value kept but may cause issues"} 
[2026-04-17 12:26:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784903226718781440,"note":"Value kept but may cause issues"} 
[2026-04-17 12:26:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:26:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776408846000,"timestamp_ms":1776408846000,"timestamp_seconds":1776408846,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a37deb0"} 
[2026-04-17 12:26:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:26: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-04-17 12: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-17 12:26:00] 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-04-17 12: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-04-17 12:26:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:26:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:26:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:26:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:26:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:26:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:26:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:26:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:26:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760663808001,"66":12667,"62":206,"28":31744,"24":11,"16":113517677850394624,"45":1784903226718781440},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-17 12:26:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:26:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:26:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760663808001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:26:00] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 12:26:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:26:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517677850394624,"km_value":113517677850394.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:26:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784903226718781440,"description":"Unknown IO ID 45"} 
[2026-04-17 12:26:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760663808001,"power":12667,"unknown_62":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1784903226718781440}} 
[2026-04-17 12:26:00] local.INFO: DEBUG: GPS processor result {"connection_id":46616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21168,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:26:00] local.INFO: GPS data processed {"connection_id":46616,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:26:00] local.INFO: Acknowledgment sent {"connection_id":46616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:26:10] local.INFO: TCP Data received {"connection_id":45762,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:26:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:26:10] local.INFO: Processing buffer {"connection_id":45762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:26:10] local.INFO: IMEI packet received {"connection_id":45762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:26:10] local.INFO: IMEI acknowledgment sent {"connection_id":45762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:26:15] local.INFO: TCP Data received {"connection_id":45762,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45762,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:26:15] local.INFO: Processing buffer {"connection_id":45762,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:26:15] local.INFO: IMEI packet received {"connection_id":45762,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:26:15] local.INFO: IMEI acknowledgment sent {"connection_id":45762,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:26:16] local.INFO: TCP Data received {"connection_id":45762,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:26:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:26:16] local.INFO: Processing buffer {"connection_id":45762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:26:16] local.INFO: Packet analysis {"connection_id":45762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:26:16] local.INFO: Extracted packet for processing {"connection_id":45762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:26:16] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12:26: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-04-17 12:26:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760570368001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:26:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:26:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:26:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:26:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776408779000,"timestamp_ms":1776408779000,"timestamp_seconds":1776408779,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a36d8f8"} 
[2026-04-17 12:26:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:26:16] 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-04-17 12:26: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-17 12:26:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:26: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-04-17 12:26:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:26:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:26:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:26:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:26:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:26:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:26:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:26:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:26:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760570368001,"66":26245,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:26:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:26:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:26:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760570368001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:26:16] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:26:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:26:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:26:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:26:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760570368001,"power":26245,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:26:16] local.INFO: DEBUG: GPS processor result {"connection_id":45762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21169,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:26:16] local.INFO: GPS data processed {"connection_id":45762,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:26:16] local.INFO: Acknowledgment sent {"connection_id":45762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:26:20] local.INFO: TCP Data received {"connection_id":45762,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45762,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:26:20] local.INFO: Processing buffer {"connection_id":45762,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:26:20] local.INFO: Packet analysis {"connection_id":45762,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:26:20] local.INFO: Extracted packet for processing {"connection_id":45762,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:26:20] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:26:20] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760570368001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:26:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:26:20] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:26:20] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:26:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776408779000,"timestamp_ms":1776408779000,"timestamp_seconds":1776408779,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a36d8f8"} 
[2026-04-17 12:26:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:26:20] 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-04-17 12:26:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-17 12:26:20] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:26:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:26:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:26:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:26:20] local.INFO: Teltonika packet parsed successfully {"connection_id":45762,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:26:20] local.INFO: Passing IMEI to GPS processor {"connection_id":45762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:26:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":45762,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:26:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:26:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:26:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:26:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760570368001,"66":26245,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:26:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:26:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:26:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760570368001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:26:20] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:26:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:26:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:26:20] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:26:20] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760570368001,"power":26245,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:26:20] local.INFO: DEBUG: GPS processor result {"connection_id":45762,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21170,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:26:20] local.INFO: GPS data processed {"connection_id":45762,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:26:20] local.INFO: Acknowledgment sent {"connection_id":45762,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:26:28] local.INFO: TCP Data received {"connection_id":46617,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46617,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:26:28] local.INFO: Processing buffer {"connection_id":46617,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:26:28] local.INFO: Packet analysis {"connection_id":46617,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:26:28] local.INFO: Extracted packet for processing {"connection_id":46617,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:26:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760544512001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776408678000,"timestamp_ms":1776408678000,"timestamp_seconds":1776408678,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a354e70"} 
[2026-04-17 12:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 12:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46617,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46617,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:26:28] 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-04-17 12:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760544512001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760544512001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:26:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:26:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760544512001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":46617,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21171,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:26:28] local.INFO: GPS data processed {"connection_id":46617,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:26:28] local.INFO: Acknowledgment sent {"connection_id":46617,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:26:31] local.INFO: TCP Data received {"connection_id":46616,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a37ea68012d18cd00072306500063004e27..."} 
[2026-04-17 12:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46616,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a37ea68012d18cd00072306500063004e27..."} 
[2026-04-17 12:26:31] local.INFO: Processing buffer {"connection_id":46616,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a37ea68012d18cd00072306500063004e27..."} 
[2026-04-17 12:26:31] local.INFO: Packet analysis {"connection_id":46616,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a37"} 
[2026-04-17 12:26:31] local.INFO: Extracted packet for processing {"connection_id":46616,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a37"} 
[2026-04-17 12:26:31] local.INFO: GPS Element Parsed {"raw_longitude":756600064,"raw_latitude":119735888,"longitude_deg":75.6600064,"latitude_deg":11.9735888,"altitude":99,"angle":78,"satellites":39,"speed":6,"hex_longitude":"2d18cd00","hex_latitude":"07230650","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760664576001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517712210132992,"note":"Value kept but may cause issues"} 
[2026-04-17 12:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786310601602369536,"note":"Value kept but may cause issues"} 
[2026-04-17 12:26:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776408849000,"timestamp_ms":1776408849000,"timestamp_seconds":1776408849,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a37ea68"} 
[2026-04-17 12:26:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-17 12:26:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:26:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46616,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46616,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760664576001,"66":12287,"62":206,"28":31744,"24":6,"16":113517712210132992,"45":1786310601602369536},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-17 12:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760664576001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:26:31] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 12:26:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517712210132992,"km_value":113517712210132.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786310601602369536,"description":"Unknown IO ID 45"} 
[2026-04-17 12:26:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760664576001,"power":12287,"unknown_62":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1786310601602369536}} 
[2026-04-17 12:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":46616,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21172,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:26:31] local.INFO: GPS data processed {"connection_id":46616,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:26:31] local.INFO: Acknowledgment sent {"connection_id":46616,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:26:50] local.INFO: TCP Data received {"connection_id":45764,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:26:50] local.INFO: Processing buffer {"connection_id":45764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:26:50] local.INFO: IMEI packet received {"connection_id":45764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":45764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:26:54] local.INFO: TCP Data received {"connection_id":45763,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:26:54] local.INFO: Processing buffer {"connection_id":45763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:26:54] local.INFO: IMEI packet received {"connection_id":45763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":45763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:26:55] local.INFO: TCP Data received {"connection_id":45763,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:26:55] local.INFO: Processing buffer {"connection_id":45763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:26:55] local.INFO: IMEI packet received {"connection_id":45763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":45763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:26:56] local.INFO: TCP Data received {"connection_id":45764,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:26:56] local.INFO: Processing buffer {"connection_id":45764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:26:56] local.INFO: IMEI packet received {"connection_id":45764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":45764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:26:57] local.INFO: TCP Data received {"connection_id":45764,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:26:57] local.INFO: Processing buffer {"connection_id":45764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a354e70012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:26:57] local.INFO: Packet analysis {"connection_id":45764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:26:57] local.INFO: Extracted packet for processing {"connection_id":45764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a35"} 
[2026-04-17 12:26:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760544512001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776408678000,"timestamp_ms":1776408678000,"timestamp_seconds":1776408678,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a354e70"} 
[2026-04-17 12:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 12:26:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760544512001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 12:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760544512001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:26:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 12:26:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760544512001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":45764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:26:57] local.INFO: GPS data processed {"connection_id":45764,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:26:57] local.INFO: Acknowledgment sent {"connection_id":45764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:26:59] local.INFO: TCP Data received {"connection_id":45763,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45763,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:26:59] local.INFO: Processing buffer {"connection_id":45763,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:26:59] local.INFO: IMEI packet received {"connection_id":45763,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":45763,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:27:01] local.INFO: TCP Data received {"connection_id":45763,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a37ee50012d18cd80072306580063006d25..."} 
[2026-04-17 12:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a37ee50012d18cd80072306580063006d25..."} 
[2026-04-17 12:27:01] local.INFO: Processing buffer {"connection_id":45763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a37ee50012d18cd80072306580063006d25..."} 
[2026-04-17 12:27:01] local.INFO: Packet analysis {"connection_id":45763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a37"} 
[2026-04-17 12:27:01] local.INFO: Extracted packet for processing {"connection_id":45763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a37"} 
[2026-04-17 12:27:01] local.INFO: GPS Element Parsed {"raw_longitude":756600192,"raw_latitude":119735896,"longitude_deg":75.6600192,"latitude_deg":11.9735896,"altitude":99,"angle":109,"satellites":37,"speed":5,"hex_longitude":"2d18cd80","hex_latitude":"07230658","is_valid_coordinates":true} 
[2026-04-17 12:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760665344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517716505100288,"note":"Value kept but may cause issues"} 
[2026-04-17 12:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787084657788342272,"note":"Value kept but may cause issues"} 
[2026-04-17 12:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776408850000,"timestamp_ms":1776408850000,"timestamp_seconds":1776408850,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a37ee50"} 
[2026-04-17 12:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 12:27:01] 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-04-17 12:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760665344001,"66":12678,"62":206,"28":31744,"24":5,"16":113517716505100288,"45":1787084657788342272},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-17 12:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760665344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:27:01] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 12:27:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517716505100288,"km_value":113517716505100.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787084657788342272,"description":"Unknown IO ID 45"} 
[2026-04-17 12:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760665344001,"power":12678,"unknown_62":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1787084657788342272}} 
[2026-04-17 12:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":45763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:27:01] local.INFO: GPS data processed {"connection_id":45763,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:27:01] local.INFO: Acknowledgment sent {"connection_id":45763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:27:04] local.INFO: TCP Data received {"connection_id":45763,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a384058012d18cdc0072306700063006d29..."} 
[2026-04-17 12:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45763,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a384058012d18cdc0072306700063006d29..."} 
[2026-04-17 12:27:04] local.INFO: Processing buffer {"connection_id":45763,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a384058012d18cdc0072306700063006d29..."} 
[2026-04-17 12:27:04] local.INFO: Packet analysis {"connection_id":45763,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a38"} 
[2026-04-17 12:27:04] local.INFO: Extracted packet for processing {"connection_id":45763,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a38"} 
[2026-04-17 12:27:04] local.INFO: GPS Element Parsed {"raw_longitude":756600256,"raw_latitude":119735920,"longitude_deg":75.6600256,"latitude_deg":11.973592,"altitude":99,"angle":109,"satellites":41,"speed":0,"hex_longitude":"2d18cdc0","hex_latitude":"07230670","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760665600001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517725095034880,"note":"Value kept but may cause issues"} 
[2026-04-17 12:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787225395276699648,"note":"Value kept but may cause issues"} 
[2026-04-17 12:27:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776408871000,"timestamp_ms":1776408871000,"timestamp_seconds":1776408871,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a384058"} 
[2026-04-17 12:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-17 12:27:04] 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-04-17 12: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-04-17 12:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":45763,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":45763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":45763,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:27:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760665600001,"66":12689,"62":206,"28":31744,"24":0,"16":113517725095034880,"45":1787225395276699648},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-17 12:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760665600001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:27:04] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 12:27:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517725095034880,"km_value":113517725095034.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787225395276699648,"description":"Unknown IO ID 45"} 
[2026-04-17 12:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760665600001,"power":12689,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787225395276699648}} 
[2026-04-17 12:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":45763,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:27:04] local.INFO: GPS data processed {"connection_id":45763,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:27:04] local.INFO: Acknowledgment sent {"connection_id":45763,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:27:05] local.INFO: TCP Data received {"connection_id":46043,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:27:05] local.INFO: Processing buffer {"connection_id":46043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:27:05] local.INFO: IMEI packet received {"connection_id":46043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:27:05] local.INFO: IMEI acknowledgment sent {"connection_id":46043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:27:10] local.INFO: TCP Data received {"connection_id":46043,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:27:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46043,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:27:10] local.INFO: Processing buffer {"connection_id":46043,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:27:10] local.INFO: IMEI packet received {"connection_id":46043,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:27:10] local.INFO: IMEI acknowledgment sent {"connection_id":46043,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:27:11] local.INFO: TCP Data received {"connection_id":46043,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:27:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:27:11] local.INFO: Processing buffer {"connection_id":46043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:27:11] local.INFO: Packet analysis {"connection_id":46043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:27:11] local.INFO: Extracted packet for processing {"connection_id":46043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:27:11] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:27:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760570368001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:27:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:27:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:27:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:27:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776408779000,"timestamp_ms":1776408779000,"timestamp_seconds":1776408779,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a36d8f8"} 
[2026-04-17 12:27:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:27:11] 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-04-17 12: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-17 12:27:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:27:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:27:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:27:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:27:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:27:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:27:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:27:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:27:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:27:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760570368001,"66":26245,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:27:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:27:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:27:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760570368001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:27:11] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:27:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:27:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:27:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:27:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760570368001,"power":26245,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:27:11] local.INFO: DEBUG: GPS processor result {"connection_id":46043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21176,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:27:11] local.INFO: GPS data processed {"connection_id":46043,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:27:11] local.INFO: Acknowledgment sent {"connection_id":46043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:27:27] local.INFO: TCP Data received {"connection_id":45764,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:27:27] local.INFO: Processing buffer {"connection_id":45764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:27:27] local.INFO: Packet analysis {"connection_id":45764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:27:27] local.INFO: Extracted packet for processing {"connection_id":45764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760621568001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776408979000,"timestamp_ms":1776408979000,"timestamp_seconds":1776408979,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a39e638"} 
[2026-04-17 12:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 12:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760621568001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760621568001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:27:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760621568001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":45764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:27:27] local.INFO: GPS data processed {"connection_id":45764,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:27:27] local.INFO: Acknowledgment sent {"connection_id":45764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:27:44] local.INFO: TCP Data received {"connection_id":46043,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:27:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:27:44] local.INFO: Processing buffer {"connection_id":46043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:27:44] local.INFO: Packet analysis {"connection_id":46043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:27:44] local.INFO: Extracted packet for processing {"connection_id":46043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:27:44] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12:27: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-04-17 12:27:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760570368001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:27:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:27:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:27:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:27:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776408779000,"timestamp_ms":1776408779000,"timestamp_seconds":1776408779,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a36d8f8"} 
[2026-04-17 12:27:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:27:44] 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-04-17 12:27: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-17 12:27:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:27: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-04-17 12:27:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:27:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:27:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:27:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:27:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46043,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:27:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:27:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:27:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:27:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760570368001,"66":26245,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:27:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:27:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:27:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760570368001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:27:44] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:27:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:27:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:27:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:27:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760570368001,"power":26245,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:27:44] local.INFO: DEBUG: GPS processor result {"connection_id":46043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21178,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:27:44] local.INFO: GPS data processed {"connection_id":46043,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:27:44] local.INFO: Acknowledgment sent {"connection_id":46043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:27:48] local.INFO: TCP Data received {"connection_id":45844,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:27:48] local.INFO: Processing buffer {"connection_id":45844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:27:48] local.INFO: IMEI packet received {"connection_id":45844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":45844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:27:51] local.INFO: TCP Data received {"connection_id":45845,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:27:51] local.INFO: Processing buffer {"connection_id":45845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:27:51] local.INFO: IMEI packet received {"connection_id":45845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":45845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:27:53] local.INFO: TCP Data received {"connection_id":45844,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45844,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:27:53] local.INFO: Processing buffer {"connection_id":45844,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:27:53] local.INFO: IMEI packet received {"connection_id":45844,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":45844,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:27:56] local.INFO: TCP Data received {"connection_id":45845,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45845,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:27:56] local.INFO: Processing buffer {"connection_id":45845,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:27:56] local.INFO: IMEI packet received {"connection_id":45845,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":45845,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:27:57] local.INFO: TCP Data received {"connection_id":45845,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:27:57] local.INFO: Processing buffer {"connection_id":45845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:27:57] local.INFO: Packet analysis {"connection_id":45845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:27:57] local.INFO: Extracted packet for processing {"connection_id":45845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:27:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760621568001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776408979000,"timestamp_ms":1776408979000,"timestamp_seconds":1776408979,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a39e638"} 
[2026-04-17 12:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 12:27: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-04-17 12:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760621568001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760621568001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:27:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:27:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760621568001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":45845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:27:57] local.INFO: GPS data processed {"connection_id":45845,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:27:57] local.INFO: Acknowledgment sent {"connection_id":45845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:28:05] local.INFO: TCP Data received {"connection_id":45846,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:28:05] local.INFO: Processing buffer {"connection_id":45846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:28:05] local.INFO: IMEI packet received {"connection_id":45846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:28:05] local.INFO: IMEI acknowledgment sent {"connection_id":45846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:28:10] local.INFO: TCP Data received {"connection_id":45846,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:28:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45846,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:28:10] local.INFO: Processing buffer {"connection_id":45846,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:28:10] local.INFO: IMEI packet received {"connection_id":45846,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:28:10] local.INFO: IMEI acknowledgment sent {"connection_id":45846,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:28:11] local.INFO: TCP Data received {"connection_id":45846,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:28:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:28:11] local.INFO: Processing buffer {"connection_id":45846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a36d8f8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:28:11] local.INFO: Packet analysis {"connection_id":45846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:28:11] local.INFO: Extracted packet for processing {"connection_id":45846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a36"} 
[2026-04-17 12:28:11] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:28:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760570368001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:28:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:28:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:28:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:28:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776408779000,"timestamp_ms":1776408779000,"timestamp_seconds":1776408779,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a36d8f8"} 
[2026-04-17 12:28:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:28:11] 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-04-17 12: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":103,"n8_eight_byte":84,"data_length":795,"current_offset":136} 
[2026-04-17 12:28:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1469,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:28:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:28:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:28:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:28:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:28:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:28:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:28:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:28:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:28:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760570368001,"66":26245,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:28:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:28:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:28:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760570368001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:28:11] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:28:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:28:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:28:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:28:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760570368001,"power":26245,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:28:11] local.INFO: DEBUG: GPS processor result {"connection_id":45846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21180,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:28:11] local.INFO: GPS data processed {"connection_id":45846,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:28:11] local.INFO: Acknowledgment sent {"connection_id":45846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:28:23] local.INFO: TCP Data received {"connection_id":45844,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a389260012d18cdc0072306700063006d2a..."} 
[2026-04-17 12:28:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a389260012d18cdc0072306700063006d2a..."} 
[2026-04-17 12:28:23] local.INFO: Processing buffer {"connection_id":45844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a389260012d18cdc0072306700063006d2a..."} 
[2026-04-17 12:28:23] local.INFO: Packet analysis {"connection_id":45844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a38"} 
[2026-04-17 12:28:23] local.INFO: Extracted packet for processing {"connection_id":45844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a38"} 
[2026-04-17 12:28:23] local.INFO: GPS Element Parsed {"raw_longitude":756600256,"raw_latitude":119735920,"longitude_deg":75.6600256,"latitude_deg":11.973592,"altitude":99,"angle":109,"satellites":42,"speed":0,"hex_longitude":"2d18cdc0","hex_latitude":"07230670","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:28:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760670976001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:28:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517725095034880,"note":"Value kept but may cause issues"} 
[2026-04-17 12:28:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1787295764020883456,"note":"Value kept but may cause issues"} 
[2026-04-17 12:28:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:28:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776408892000,"timestamp_ms":1776408892000,"timestamp_seconds":1776408892,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a389260"} 
[2026-04-17 12:28:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:28: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-04-17 12: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-17 12:28:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:28:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:28:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:28:23] local.INFO: Teltonika packet parsed successfully {"connection_id":45844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:28:23] local.INFO: Passing IMEI to GPS processor {"connection_id":45844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:28:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":45844,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:28:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:28:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:28:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:28:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760670976001,"66":12645,"62":206,"28":31744,"24":0,"16":113517725095034880,"45":1787295764020883456},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-17 12:28:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:28:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:28:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760670976001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:28:23] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 12:28:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:28:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517725095034880,"km_value":113517725095034.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:28:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1787295764020883456,"description":"Unknown IO ID 45"} 
[2026-04-17 12:28:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760670976001,"power":12645,"unknown_62":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1787295764020883456}} 
[2026-04-17 12:28:23] local.INFO: DEBUG: GPS processor result {"connection_id":45844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21181,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:28:23] local.INFO: GPS data processed {"connection_id":45844,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:28:23] local.INFO: Acknowledgment sent {"connection_id":45844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:28:28] local.INFO: TCP Data received {"connection_id":45845,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45845,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:28:28] local.INFO: Processing buffer {"connection_id":45845,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:28:28] local.INFO: Packet analysis {"connection_id":45845,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:28:28] local.INFO: Extracted packet for processing {"connection_id":45845,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:28:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760621568001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776408979000,"timestamp_ms":1776408979000,"timestamp_seconds":1776408979,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a39e638"} 
[2026-04-17 12:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 12:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45845,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45845,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:28: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-04-17 12:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760621568001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760621568001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:28:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:28:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760621568001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":45845,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:28:28] local.INFO: GPS data processed {"connection_id":45845,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:28:28] local.INFO: Acknowledgment sent {"connection_id":45845,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:28:43] local.INFO: TCP Data received {"connection_id":45846,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:28:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:28:43] local.INFO: Processing buffer {"connection_id":45846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:28:43] local.INFO: Packet analysis {"connection_id":45846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:28:43] local.INFO: Extracted packet for processing {"connection_id":45846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:28:43] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:28:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760647424001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:28:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:28:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:28:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:28:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776409079000,"timestamp_ms":1776409079000,"timestamp_seconds":1776409079,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3b6cd8"} 
[2026-04-17 12:28:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:28:43] 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-04-17 12: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-04-17 12:28:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:28:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:28:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:28:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:28:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:28:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45846,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:28:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:28:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:28:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:28:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760647424001,"66":26082,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:28:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:28:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:28:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760647424001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:28:43] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:28:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:28:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:28:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:28:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760647424001,"power":26082,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:28:43] local.INFO: DEBUG: GPS processor result {"connection_id":45846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21183,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:28:43] local.INFO: GPS data processed {"connection_id":45846,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:28:43] local.INFO: Acknowledgment sent {"connection_id":45846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:28:48] local.INFO: TCP Data received {"connection_id":46618,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:28:48] local.INFO: Processing buffer {"connection_id":46618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:28:48] local.INFO: IMEI packet received {"connection_id":46618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:28:48] local.INFO: IMEI acknowledgment sent {"connection_id":46618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:28:50] local.INFO: TCP Data received {"connection_id":46618,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:28:50] local.INFO: Processing buffer {"connection_id":46618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:28:50] local.INFO: IMEI packet received {"connection_id":46618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":46618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:28:51] local.INFO: TCP Data received {"connection_id":45765,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:28:51] local.INFO: Processing buffer {"connection_id":45765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:28:51] local.INFO: IMEI packet received {"connection_id":45765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":45765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:28:53] local.INFO: TCP Data received {"connection_id":46618,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46618,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:28:53] local.INFO: Processing buffer {"connection_id":46618,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:28:53] local.INFO: IMEI packet received {"connection_id":46618,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":46618,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:28:54] local.INFO: TCP Data received {"connection_id":46618,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3b3df8012d18af000722db28006900d227..."} 
[2026-04-17 12:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3b3df8012d18af000722db28006900d227..."} 
[2026-04-17 12:28:54] local.INFO: Processing buffer {"connection_id":46618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3b3df8012d18af000722db28006900d227..."} 
[2026-04-17 12:28:54] local.INFO: Packet analysis {"connection_id":46618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:28:54] local.INFO: Extracted packet for processing {"connection_id":46618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:28:54] local.INFO: GPS Element Parsed {"raw_longitude":756592384,"raw_latitude":119724840,"longitude_deg":75.6592384,"latitude_deg":11.972484,"altitude":105,"angle":210,"satellites":39,"speed":36,"hex_longitude":"2d18af00","hex_latitude":"0722db28","is_valid_coordinates":true} 
[2026-04-17 12:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:28:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760719360001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:28:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113518433764638720,"note":"Value kept but may cause issues"} 
[2026-04-17 12:28:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1781032945787729920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:28:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:28:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776409067000,"timestamp_ms":1776409067000,"timestamp_seconds":1776409067,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3b3df8"} 
[2026-04-17 12:28:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:28:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:28:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-04-17 12:28:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1600,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:28:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:28:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:28:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:28:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:28:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:28:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:28:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:28:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:28:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:28:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760719360001,"66":12798,"62":206,"28":31744,"24":36,"16":113518433764638720,"45":1781032945787729920},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-17 12:28:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:28:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:28:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760719360001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:28:54] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 12:28:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:28:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113518433764638720,"km_value":113518433764638.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:28:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1781032945787729920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:28:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760719360001,"power":12798,"unknown_62":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1781032945787729920}} 
[2026-04-17 12:28:54] local.INFO: DEBUG: GPS processor result {"connection_id":46618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:28:54] local.INFO: GPS data processed {"connection_id":46618,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:28:54] local.INFO: Acknowledgment sent {"connection_id":46618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:28:56] local.INFO: TCP Data received {"connection_id":45765,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:28:56] local.INFO: Processing buffer {"connection_id":45765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:28:56] local.INFO: IMEI packet received {"connection_id":45765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":45765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:28:57] local.INFO: TCP Data received {"connection_id":45765,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:28:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:28:57] local.INFO: Processing buffer {"connection_id":45765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:28:57] local.INFO: Packet analysis {"connection_id":45765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:28:57] local.INFO: Extracted packet for processing {"connection_id":45765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:28:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:28:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760621568001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:28:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:28:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:28:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:28:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776408979000,"timestamp_ms":1776408979000,"timestamp_seconds":1776408979,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a39e638"} 
[2026-04-17 12:28:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:28:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:28:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 12:28: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-04-17 12:28:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:28:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:28:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:28:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:28:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:28:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:28:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:28:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:28:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:28:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760621568001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:28:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:28:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:28:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760621568001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:28:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:28:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:28:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:28:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:28:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760621568001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:28:57] local.INFO: DEBUG: GPS processor result {"connection_id":45765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:28:57] local.INFO: GPS data processed {"connection_id":45765,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:28:57] local.INFO: Acknowledgment sent {"connection_id":45765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:29:26] local.INFO: TCP Data received {"connection_id":46618,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3b5568012d18a3c00722c7e8006b00c226..."} 
[2026-04-17 12:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46618,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3b5568012d18a3c00722c7e8006b00c226..."} 
[2026-04-17 12:29:26] local.INFO: Processing buffer {"connection_id":46618,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3b5568012d18a3c00722c7e8006b00c226..."} 
[2026-04-17 12:29:26] local.INFO: Packet analysis {"connection_id":46618,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:29:26] local.INFO: Extracted packet for processing {"connection_id":46618,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:29:26] local.INFO: GPS Element Parsed {"raw_longitude":756589504,"raw_latitude":119719912,"longitude_deg":75.6589504,"latitude_deg":11.9719912,"altitude":107,"angle":194,"satellites":38,"speed":38,"hex_longitude":"2d18a3c0","hex_latitude":"0722c7e8","is_valid_coordinates":true} 
[2026-04-17 12:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:29:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760721152001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:29:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113518708642545664,"note":"Value kept but may cause issues"} 
[2026-04-17 12:29:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778640408484194304,"note":"Value kept but may cause issues"} 
[2026-04-17 12:29:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:29:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776409073000,"timestamp_ms":1776409073000,"timestamp_seconds":1776409073,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3b5568"} 
[2026-04-17 12:29:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:29:26] 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-04-17 12:29:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-17 12:29:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:29:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:29:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:29:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:29:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46618,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:29:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:29:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46618,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:29:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:29:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:29:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:29:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760721152001,"66":12667,"74":206,"28":31744,"24":38,"16":113518708642545664,"45":1778640408484194304},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-04-17 12:29:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:29:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:29:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760721152001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:29:26] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-04-17 12:29:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:29:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113518708642545664,"km_value":113518708642545.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:29:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778640408484194304,"description":"Unknown IO ID 45"} 
[2026-04-17 12:29:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760721152001,"power":12667,"unknown_74":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1778640408484194304}} 
[2026-04-17 12:29:26] local.INFO: DEBUG: GPS processor result {"connection_id":46618,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:29:26] local.INFO: GPS data processed {"connection_id":46618,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:29:26] local.INFO: Acknowledgment sent {"connection_id":46618,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:29:28] local.INFO: TCP Data received {"connection_id":45765,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:29:28] local.INFO: Processing buffer {"connection_id":45765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:29:28] local.INFO: Packet analysis {"connection_id":45765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:29:28] local.INFO: Extracted packet for processing {"connection_id":45765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:29:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760621568001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776408979000,"timestamp_ms":1776408979000,"timestamp_seconds":1776408979,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a39e638"} 
[2026-04-17 12:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 12:29:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:29:28] 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-04-17 12:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760621568001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760621568001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:29:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760621568001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":45765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:29:28] local.INFO: GPS data processed {"connection_id":45765,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:29:28] local.INFO: Acknowledgment sent {"connection_id":45765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:29:34] local.INFO: TCP Data received {"connection_id":45847,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:29:34] local.INFO: Processing buffer {"connection_id":45847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:29:34] local.INFO: IMEI packet received {"connection_id":45847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:29:34] local.INFO: IMEI acknowledgment sent {"connection_id":45847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:29:36] local.INFO: TCP Data received {"connection_id":45847,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:29:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45847,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:29:36] local.INFO: Processing buffer {"connection_id":45847,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:29:36] local.INFO: IMEI packet received {"connection_id":45847,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:29:36] local.INFO: IMEI acknowledgment sent {"connection_id":45847,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:29:38] local.INFO: TCP Data received {"connection_id":45847,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:29:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:29:38] local.INFO: Processing buffer {"connection_id":45847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:29:38] local.INFO: Packet analysis {"connection_id":45847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:29:38] local.INFO: Extracted packet for processing {"connection_id":45847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:29:38] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 12:29:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760647424001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:29:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:29:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:29:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:29:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776409079000,"timestamp_ms":1776409079000,"timestamp_seconds":1776409079,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3b6cd8"} 
[2026-04-17 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-04-17 12:29:38] 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-04-17 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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-04-17 12:29:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 12:29:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:29:38] local.INFO: Teltonika packet parsed successfully {"connection_id":45847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:29:38] local.INFO: Passing IMEI to GPS processor {"connection_id":45847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:29:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":45847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:29:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:29:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:29:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:29:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760647424001,"66":26082,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:29:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:29:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:29:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760647424001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:29:38] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:29:38] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:29:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:29:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:29:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760647424001,"power":26082,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:29:38] local.INFO: DEBUG: GPS processor result {"connection_id":45847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21188,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:29:38] local.INFO: GPS data processed {"connection_id":45847,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:29:38] local.INFO: Acknowledgment sent {"connection_id":45847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:29:39] local.INFO: TCP Data received {"connection_id":45847,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:29:39] local.INFO: Processing buffer {"connection_id":45847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:29:39] local.INFO: Packet analysis {"connection_id":45847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:29:39] local.INFO: Extracted packet for processing {"connection_id":45847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:29:39] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:29:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760647424001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:29:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:29:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:29:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:29:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776409079000,"timestamp_ms":1776409079000,"timestamp_seconds":1776409079,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3b6cd8"} 
[2026-04-17 12:29:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:29:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-04-17 12:29:39] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:29:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:29:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:29:39] local.INFO: Teltonika packet parsed successfully {"connection_id":45847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:29:39] local.INFO: Passing IMEI to GPS processor {"connection_id":45847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:29:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":45847,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:29:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:29:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:29:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:29:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760647424001,"66":26082,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:29:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:29:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:29:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760647424001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:29:39] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:29:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:29:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:29:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:29:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760647424001,"power":26082,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:29:39] local.INFO: DEBUG: GPS processor result {"connection_id":45847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21189,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:29:39] local.INFO: GPS data processed {"connection_id":45847,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:29:39] local.INFO: Acknowledgment sent {"connection_id":45847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:29:48] local.INFO: TCP Data received {"connection_id":46044,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:29:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:29:48] local.INFO: Processing buffer {"connection_id":46044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:29:48] local.INFO: IMEI packet received {"connection_id":46044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:29:48] local.INFO: IMEI acknowledgment sent {"connection_id":46044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:29:52] local.INFO: TCP Data received {"connection_id":45848,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:29:52] local.INFO: Processing buffer {"connection_id":45848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:29:52] local.INFO: IMEI packet received {"connection_id":45848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:29:52] local.INFO: IMEI acknowledgment sent {"connection_id":45848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:29:54] local.INFO: TCP Data received {"connection_id":46044,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:29:54] local.INFO: Processing buffer {"connection_id":46044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:29:54] local.INFO: IMEI packet received {"connection_id":46044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":46044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:29:55] local.INFO: TCP Data received {"connection_id":46044,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3b5d38012d18a2800722c048006c00b227..."} 
[2026-04-17 12:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3b5d38012d18a2800722c048006c00b227..."} 
[2026-04-17 12:29:55] local.INFO: Processing buffer {"connection_id":46044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3b5d38012d18a2800722c048006c00b227..."} 
[2026-04-17 12:29:55] local.INFO: Packet analysis {"connection_id":46044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:29:55] local.INFO: Extracted packet for processing {"connection_id":46044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:29:55] local.INFO: GPS Element Parsed {"raw_longitude":756589184,"raw_latitude":119717960,"longitude_deg":75.6589184,"latitude_deg":11.971796,"altitude":108,"angle":178,"satellites":39,"speed":38,"hex_longitude":"2d18a280","hex_latitude":"0722c048","is_valid_coordinates":true} 
[2026-04-17 12:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760722688001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113518803131826176,"note":"Value kept but may cause issues"} 
[2026-04-17 12:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775473814994937856,"note":"Value kept but may cause issues"} 
[2026-04-17 12:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,74,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776409075000,"timestamp_ms":1776409075000,"timestamp_seconds":1776409075,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3b5d38"} 
[2026-04-17 12:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:29: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-04-17 12:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-17 12:29:55] 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-04-17 12:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760722688001,"66":12689,"74":206,"28":31744,"24":38,"16":113518803131826176,"45":1775473814994937856},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,74,28,24,16,45]} 
[2026-04-17 12:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760722688001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:29:55] local.INFO: Unknown IO ID detected {"io_id":74,"value":206,"description":"Unknown IO ID 74"} 
[2026-04-17 12:29:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113518803131826176,"km_value":113518803131826.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775473814994937856,"description":"Unknown IO ID 45"} 
[2026-04-17 12:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760722688001,"power":12689,"unknown_74":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1775473814994937856}} 
[2026-04-17 12:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":46044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:29:55] local.INFO: GPS data processed {"connection_id":46044,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:29:55] local.INFO: Acknowledgment sent {"connection_id":46044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:29:56] local.INFO: TCP Data received {"connection_id":45848,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45848,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:29:56] local.INFO: Processing buffer {"connection_id":45848,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:29:56] local.INFO: IMEI packet received {"connection_id":45848,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":45848,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:29:57] local.INFO: TCP Data received {"connection_id":45848,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:29:57] local.INFO: Processing buffer {"connection_id":45848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:29:57] local.INFO: Packet analysis {"connection_id":45848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:29:57] local.INFO: Extracted packet for processing {"connection_id":45848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:29:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760621568001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776408979000,"timestamp_ms":1776408979000,"timestamp_seconds":1776408979,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a39e638"} 
[2026-04-17 12:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 12:29: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-04-17 12: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-04-17 12:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:29:57] 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-04-17 12:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760621568001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760621568001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:29:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:29:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760621568001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":45848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:29:57] local.INFO: GPS data processed {"connection_id":45848,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:29:57] local.INFO: Acknowledgment sent {"connection_id":45848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:30:05] local.INFO: TCP Data received {"connection_id":45766,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:30:05] local.INFO: Processing buffer {"connection_id":45766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:30:05] local.INFO: IMEI packet received {"connection_id":45766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":45766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:30:10] local.INFO: TCP Data received {"connection_id":45766,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45766,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:30:10] local.INFO: Processing buffer {"connection_id":45766,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:30:10] local.INFO: IMEI packet received {"connection_id":45766,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":45766,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:30:12] local.INFO: TCP Data received {"connection_id":45766,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:30:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:30:12] local.INFO: Processing buffer {"connection_id":45766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:30:12] local.INFO: Packet analysis {"connection_id":45766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:30:12] local.INFO: Extracted packet for processing {"connection_id":45766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:30:12] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 12:30:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760647424001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:30:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:30:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:30:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:30:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776409079000,"timestamp_ms":1776409079000,"timestamp_seconds":1776409079,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3b6cd8"} 
[2026-04-17 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-04-17 12:30: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-04-17 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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-04-17 12:30:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 12:30:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:30:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:30:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:30:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:30:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:30:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:30:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:30:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760647424001,"66":26082,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:30:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:30:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:30:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760647424001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:30:12] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:30:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:30:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:30:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:30:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760647424001,"power":26082,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:30:12] local.INFO: DEBUG: GPS processor result {"connection_id":45766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21192,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:30:12] local.INFO: GPS data processed {"connection_id":45766,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:30:12] local.INFO: Acknowledgment sent {"connection_id":45766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:30:26] local.INFO: TCP Data received {"connection_id":46044,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3d0318012d181e800721a7b8004a00a327..."} 
[2026-04-17 12:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3d0318012d181e800721a7b8004a00a327..."} 
[2026-04-17 12:30:26] local.INFO: Processing buffer {"connection_id":46044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3d0318012d181e800721a7b8004a00a327..."} 
[2026-04-17 12:30:26] local.INFO: Packet analysis {"connection_id":46044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3d"} 
[2026-04-17 12:30:26] local.INFO: Extracted packet for processing {"connection_id":46044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3d"} 
[2026-04-17 12:30:26] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646136,"longitude_deg":75.6555392,"latitude_deg":11.9646136,"altitude":74,"angle":163,"satellites":39,"speed":8,"hex_longitude":"2d181e80","hex_latitude":"0721a7b8","is_valid_coordinates":true} 
[2026-04-17 12:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:30:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760750592001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:30:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113522784566509568,"note":"Value kept but may cause issues"} 
[2026-04-17 12:30:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329407488,"note":"Value kept but may cause issues"} 
[2026-04-17 12:30: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-04-17 12:30:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776409183000,"timestamp_ms":1776409183000,"timestamp_seconds":1776409183,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3d0318"} 
[2026-04-17 12:30:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:30:26] 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-04-17 12:30:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-17 12:30:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:30:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:30:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:30:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:30:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:30:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:30:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:30:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:30:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:30:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:30:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760750592001,"66":13820,"120":206,"28":31744,"24":8,"16":113522784566509568,"45":1737967274329407488},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:30:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:30:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:30:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760750592001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:30:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:30:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:30:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113522784566509568,"km_value":113522784566509.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:30:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329407488,"description":"Unknown IO ID 45"} 
[2026-04-17 12:30:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760750592001,"power":13820,"unknown_120":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1737967274329407488}} 
[2026-04-17 12:30:26] local.INFO: DEBUG: GPS processor result {"connection_id":46044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:30:26] local.INFO: GPS data processed {"connection_id":46044,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:30:26] local.INFO: Acknowledgment sent {"connection_id":46044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:30:28] local.INFO: TCP Data received {"connection_id":45848,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45848,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:30:28] local.INFO: Processing buffer {"connection_id":45848,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:30:28] local.INFO: Packet analysis {"connection_id":45848,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:30:28] local.INFO: Extracted packet for processing {"connection_id":45848,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:30:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760621568001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776408979000,"timestamp_ms":1776408979000,"timestamp_seconds":1776408979,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a39e638"} 
[2026-04-17 12:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 12:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45848,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45848,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760621568001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760621568001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:30:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:30:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760621568001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":45848,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:30:28] local.INFO: GPS data processed {"connection_id":45848,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:30:28] local.INFO: Acknowledgment sent {"connection_id":45848,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:30:44] local.INFO: TCP Data received {"connection_id":45766,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:30:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:30:44] local.INFO: Processing buffer {"connection_id":45766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:30:44] local.INFO: Packet analysis {"connection_id":45766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:30:44] local.INFO: Extracted packet for processing {"connection_id":45766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:30:44] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:30:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760647424001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:30:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:30:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:30:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:30:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776409079000,"timestamp_ms":1776409079000,"timestamp_seconds":1776409079,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3b6cd8"} 
[2026-04-17 12:30:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:30:44] 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-04-17 12:30:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-04-17 12:30:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:30:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:30:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:30:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:30:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:30:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:30:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45766,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:30:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:30:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:30:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:30:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760647424001,"66":26082,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:30:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:30:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:30:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760647424001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:30:44] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:30:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:30:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:30:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:30:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760647424001,"power":26082,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:30:44] local.INFO: DEBUG: GPS processor result {"connection_id":45766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21195,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:30:44] local.INFO: GPS data processed {"connection_id":45766,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:30:44] local.INFO: Acknowledgment sent {"connection_id":45766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:30:50] local.INFO: TCP Data received {"connection_id":46620,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:30:50] local.INFO: Processing buffer {"connection_id":46620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:30:50] local.INFO: IMEI packet received {"connection_id":46620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":46620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:30:53] local.INFO: TCP Data received {"connection_id":46619,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:30:53] local.INFO: Processing buffer {"connection_id":46619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:30:53] local.INFO: IMEI packet received {"connection_id":46619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":46619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:30:56] local.INFO: TCP Data received {"connection_id":46620,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46620,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:30:56] local.INFO: Processing buffer {"connection_id":46620,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:30:56] local.INFO: IMEI packet received {"connection_id":46620,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":46620,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:30:57] local.INFO: TCP Data received {"connection_id":46620,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:30:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:30:57] local.INFO: Processing buffer {"connection_id":46620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:30:57] local.INFO: Packet analysis {"connection_id":46620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:30:57] local.INFO: Extracted packet for processing {"connection_id":46620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:30:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:30:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760621568001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:30:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:30:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:30:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:30:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776408979000,"timestamp_ms":1776408979000,"timestamp_seconds":1776408979,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a39e638"} 
[2026-04-17 12:30:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:30:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:30:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 12:30: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-04-17 12:30:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:30:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:30:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:30:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:30:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:30:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:30:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:30:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:30:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:30:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760621568001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:30:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:30:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:30:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760621568001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:30:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:30:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:30:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:30:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:30:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760621568001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:30:57] local.INFO: DEBUG: GPS processor result {"connection_id":46620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:30:57] local.INFO: GPS data processed {"connection_id":46620,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:30:57] local.INFO: Acknowledgment sent {"connection_id":46620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:30:58] local.INFO: TCP Data received {"connection_id":46619,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46619,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:30:58] local.INFO: Processing buffer {"connection_id":46619,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:30:58] local.INFO: IMEI packet received {"connection_id":46619,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:30:58] local.INFO: IMEI acknowledgment sent {"connection_id":46619,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:30:59] local.INFO: TCP Data received {"connection_id":46619,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3d0700012d181f400721a700004a008d27..."} 
[2026-04-17 12:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3d0700012d181f400721a700004a008d27..."} 
[2026-04-17 12:30:59] local.INFO: Processing buffer {"connection_id":46619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3d0700012d181f400721a700004a008d27..."} 
[2026-04-17 12:30:59] local.INFO: Packet analysis {"connection_id":46619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3d"} 
[2026-04-17 12:30:59] local.INFO: Extracted packet for processing {"connection_id":46619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3d"} 
[2026-04-17 12:30:59] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119645952,"longitude_deg":75.6555584,"latitude_deg":11.9645952,"altitude":74,"angle":141,"satellites":39,"speed":9,"hex_longitude":"2d181f40","hex_latitude":"0721a700","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760750848001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113522797451411456,"note":"Value kept but may cause issues"} 
[2026-04-17 12:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 12:30: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-04-17 12:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776409184000,"timestamp_ms":1776409184000,"timestamp_seconds":1776409184,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3d0700"} 
[2026-04-17 12:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:30: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-04-17 12: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-17 12:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760750848001,"66":13852,"120":206,"28":31744,"24":9,"16":113522797451411456,"45":1737967274329356288},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760750848001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:30:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:30:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113522797451411456,"km_value":113522797451411.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329356288,"description":"Unknown IO ID 45"} 
[2026-04-17 12:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760750848001,"power":13852,"unknown_120":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1737967274329356288}} 
[2026-04-17 12:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":46619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:30:59] local.INFO: GPS data processed {"connection_id":46619,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:30:59] local.INFO: Acknowledgment sent {"connection_id":46619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:31:04] local.INFO: TCP Data received {"connection_id":46621,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:31:04] local.INFO: Processing buffer {"connection_id":46621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:31:04] local.INFO: IMEI packet received {"connection_id":46621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":46621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:31:10] local.INFO: TCP Data received {"connection_id":46621,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:31:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46621,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:31:10] local.INFO: Processing buffer {"connection_id":46621,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:31:10] local.INFO: IMEI packet received {"connection_id":46621,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:31:10] local.INFO: IMEI acknowledgment sent {"connection_id":46621,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:31:12] local.INFO: TCP Data received {"connection_id":46621,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:31:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:31:12] local.INFO: Processing buffer {"connection_id":46621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:31:12] local.INFO: Packet analysis {"connection_id":46621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:31:12] local.INFO: Extracted packet for processing {"connection_id":46621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:31:12] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:31:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760647424001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:31:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:31:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:31:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:31:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776409079000,"timestamp_ms":1776409079000,"timestamp_seconds":1776409079,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3b6cd8"} 
[2026-04-17 12:31:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:31: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-04-17 12:31:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-04-17 12:31:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:31:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:31:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:31:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:31:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:31:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:31:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:31:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:31:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:31:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:31:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760647424001,"66":26082,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:31:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:31:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:31:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760647424001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:31:12] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:31:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:31:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:31:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:31:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760647424001,"power":26082,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":46621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21198,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:31:12] local.INFO: GPS data processed {"connection_id":46621,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:31:12] local.INFO: Acknowledgment sent {"connection_id":46621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:31:29] local.INFO: TCP Data received {"connection_id":46620,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:31:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46620,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:31:29] local.INFO: Processing buffer {"connection_id":46620,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:31:29] local.INFO: Packet analysis {"connection_id":46620,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:31:29] local.INFO: Extracted packet for processing {"connection_id":46620,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:31:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:31:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760621568001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:31:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:31:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:31:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:31:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776408979000,"timestamp_ms":1776408979000,"timestamp_seconds":1776408979,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a39e638"} 
[2026-04-17 12:31:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:31:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":86,"data_length":795,"current_offset":136} 
[2026-04-17 12:31:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:31:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:31:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:31:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46620,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:31:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:31:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46620,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12: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-04-17 12:31:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:31:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:31:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760621568001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:31:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:31:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:31:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760621568001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:31:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:31:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:31:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:31:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:31:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760621568001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:31:29] local.INFO: DEBUG: GPS processor result {"connection_id":46620,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21199,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:31:29] local.INFO: GPS data processed {"connection_id":46620,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:31:29] local.INFO: Acknowledgment sent {"connection_id":46620,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:31:31] local.INFO: TCP Data received {"connection_id":46619,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3d0ed0012d1820400721a5c0004b007b25..."} 
[2026-04-17 12:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46619,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3d0ed0012d1820400721a5c0004b007b25..."} 
[2026-04-17 12:31:31] local.INFO: Processing buffer {"connection_id":46619,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3d0ed0012d1820400721a5c0004b007b25..."} 
[2026-04-17 12:31:31] local.INFO: Packet analysis {"connection_id":46619,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3d"} 
[2026-04-17 12:31:31] local.INFO: Extracted packet for processing {"connection_id":46619,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3d"} 
[2026-04-17 12:31:31] local.INFO: GPS Element Parsed {"raw_longitude":756555840,"raw_latitude":119645632,"longitude_deg":75.655584,"latitude_deg":11.9645632,"altitude":75,"angle":123,"satellites":37,"speed":10,"hex_longitude":"2d182040","hex_latitude":"0721a5c0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 12:31:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760751104001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:31:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113522818926247936,"note":"Value kept but may cause issues"} 
[2026-04-17 12:31:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561842176,"note":"Value kept but may cause issues"} 
[2026-04-17 12:31:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:31:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776409186000,"timestamp_ms":1776409186000,"timestamp_seconds":1776409186,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3d0ed0"} 
[2026-04-17 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-04-17 12:31:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-17 12:31:31] 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-04-17 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-04-17 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-04-17 12:31:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:31:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46619,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:31:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:31:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46619,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:31:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:31:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:31:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:31:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760751104001,"66":13787,"120":206,"28":31744,"24":10,"16":113522818926247936,"45":1738178380561842176},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:31:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:31:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:31:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760751104001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:31:31] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:31:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:31:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113522818926247936,"km_value":113522818926247.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:31:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561842176,"description":"Unknown IO ID 45"} 
[2026-04-17 12:31:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760751104001,"power":13787,"unknown_120":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1738178380561842176}} 
[2026-04-17 12:31:31] local.INFO: DEBUG: GPS processor result {"connection_id":46619,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:31:31] local.INFO: GPS data processed {"connection_id":46619,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:31:31] local.INFO: Acknowledgment sent {"connection_id":46619,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:31:45] local.INFO: TCP Data received {"connection_id":46621,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:31:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46621,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:31:45] local.INFO: Processing buffer {"connection_id":46621,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:31:45] local.INFO: Packet analysis {"connection_id":46621,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:31:45] local.INFO: Extracted packet for processing {"connection_id":46621,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:31:45] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:31:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760647424001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:31:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:31:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:31:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:31:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776409079000,"timestamp_ms":1776409079000,"timestamp_seconds":1776409079,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3b6cd8"} 
[2026-04-17 12:31:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:31:45] 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-04-17 12:31:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-04-17 12:31:45] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:31:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:31:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:31:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:31:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46621,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:31:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:31:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46621,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:31:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:31:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:31:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:31:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760647424001,"66":26082,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:31:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:31:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:31:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760647424001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:31:45] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:31:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:31:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:31:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:31:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760647424001,"power":26082,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:31:45] local.INFO: DEBUG: GPS processor result {"connection_id":46621,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21201,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:31:45] local.INFO: GPS data processed {"connection_id":46621,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:31:45] local.INFO: Acknowledgment sent {"connection_id":46621,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:31:49] local.INFO: TCP Data received {"connection_id":46045,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:31:49] local.INFO: Processing buffer {"connection_id":46045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:31:49] local.INFO: IMEI packet received {"connection_id":46045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":46045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:31:50] local.INFO: TCP Data received {"connection_id":45849,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:31:50] local.INFO: Processing buffer {"connection_id":45849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:31:50] local.INFO: IMEI packet received {"connection_id":45849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":45849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:31:52] local.INFO: TCP Data received {"connection_id":46045,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:31:52] local.INFO: Processing buffer {"connection_id":46045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:31:52] local.INFO: IMEI packet received {"connection_id":46045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":46045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:31:53] local.INFO: TCP Data received {"connection_id":46045,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3d4198012d182c8007219bf8004d006826..."} 
[2026-04-17 12:31:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3d4198012d182c8007219bf8004d006826..."} 
[2026-04-17 12:31:53] local.INFO: Processing buffer {"connection_id":46045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3d4198012d182c8007219bf8004d006826..."} 
[2026-04-17 12:31:53] local.INFO: Packet analysis {"connection_id":46045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3d"} 
[2026-04-17 12:31:53] local.INFO: Extracted packet for processing {"connection_id":46045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3d"} 
[2026-04-17 12:31:53] local.INFO: GPS Element Parsed {"raw_longitude":756558976,"raw_latitude":119643128,"longitude_deg":75.6558976,"latitude_deg":11.9643128,"altitude":77,"angle":104,"satellites":38,"speed":6,"hex_longitude":"2d182c80","hex_latitude":"07219bf8","is_valid_coordinates":true} 
[2026-04-17 12:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:31:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760751616001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:31:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523007904808960,"note":"Value kept but may cause issues"} 
[2026-04-17 12:31:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738459855538470912,"note":"Value kept but may cause issues"} 
[2026-04-17 12:31: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-04-17 12:31:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776409199000,"timestamp_ms":1776409199000,"timestamp_seconds":1776409199,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3d4198"} 
[2026-04-17 12:31:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:31:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:31:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-04-17 12:31:53] 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-04-17 12:31:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:31:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:31:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:31:53] local.INFO: Teltonika packet parsed successfully {"connection_id":46045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:31:53] local.INFO: Passing IMEI to GPS processor {"connection_id":46045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:31:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":46045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:31:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:31:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:31:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:31:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760751616001,"66":13722,"120":206,"28":31744,"24":6,"16":113523007904808960,"45":1738459855538470912},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:31:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:31:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:31:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760751616001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:31:53] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:31:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:31:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523007904808960,"km_value":113523007904808.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:31:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738459855538470912,"description":"Unknown IO ID 45"} 
[2026-04-17 12:31:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760751616001,"power":13722,"unknown_120":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1738459855538470912}} 
[2026-04-17 12:31:53] local.INFO: DEBUG: GPS processor result {"connection_id":46045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21202,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:31:53] local.INFO: GPS data processed {"connection_id":46045,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:31:53] local.INFO: Acknowledgment sent {"connection_id":46045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:31:56] local.INFO: TCP Data received {"connection_id":45849,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:31:56] local.INFO: Processing buffer {"connection_id":45849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:31:56] local.INFO: IMEI packet received {"connection_id":45849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":45849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:31:57] local.INFO: TCP Data received {"connection_id":45849,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:31:57] local.INFO: Processing buffer {"connection_id":45849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a39e638012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 12:31:57] local.INFO: Packet analysis {"connection_id":45849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:31:57] local.INFO: Extracted packet for processing {"connection_id":45849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a39"} 
[2026-04-17 12:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760621568001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776408979000,"timestamp_ms":1776408979000,"timestamp_seconds":1776408979,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a39e638"} 
[2026-04-17 12:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 12:31: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-04-17 12:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760621568001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760621568001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:31:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:31:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760621568001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":45849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21203,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:31:57] local.INFO: GPS data processed {"connection_id":45849,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:31:57] local.INFO: Acknowledgment sent {"connection_id":45849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:32:05] local.INFO: TCP Data received {"connection_id":46622,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:32:05] local.INFO: Processing buffer {"connection_id":46622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:32:05] local.INFO: IMEI packet received {"connection_id":46622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:32:05] local.INFO: IMEI acknowledgment sent {"connection_id":46622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:32:10] local.INFO: TCP Data received {"connection_id":46622,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46622,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:32:10] local.INFO: Processing buffer {"connection_id":46622,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:32:10] local.INFO: IMEI packet received {"connection_id":46622,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:32:10] local.INFO: IMEI acknowledgment sent {"connection_id":46622,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:32:13] local.INFO: TCP Data received {"connection_id":46622,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:32:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:32:13] local.INFO: Processing buffer {"connection_id":46622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:32:13] local.INFO: Packet analysis {"connection_id":46622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:32:13] local.INFO: Extracted packet for processing {"connection_id":46622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:32:13] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:32:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760647424001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:32:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:32:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:32:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:32:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776409079000,"timestamp_ms":1776409079000,"timestamp_seconds":1776409079,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3b6cd8"} 
[2026-04-17 12:32:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:32:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:32:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-04-17 12:32:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:32:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:32:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:32:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:32:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:32:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:32:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:32:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:32:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:32:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:32:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760647424001,"66":26082,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:32:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:32:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:32:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760647424001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:32:13] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:32:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:32:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:32:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:32:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760647424001,"power":26082,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:32:13] local.INFO: DEBUG: GPS processor result {"connection_id":46622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21204,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:32:13] local.INFO: GPS data processed {"connection_id":46622,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:32:13] local.INFO: Acknowledgment sent {"connection_id":46622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:32:24] local.INFO: TCP Data received {"connection_id":46045,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3d93a0012d182e0007219b18004e007026..."} 
[2026-04-17 12:32:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46045,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3d93a0012d182e0007219b18004e007026..."} 
[2026-04-17 12:32:24] local.INFO: Processing buffer {"connection_id":46045,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3d93a0012d182e0007219b18004e007026..."} 
[2026-04-17 12:32:24] local.INFO: Packet analysis {"connection_id":46045,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3d"} 
[2026-04-17 12:32:24] local.INFO: Extracted packet for processing {"connection_id":46045,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3d"} 
[2026-04-17 12:32:24] local.INFO: GPS Element Parsed {"raw_longitude":756559360,"raw_latitude":119642904,"longitude_deg":75.655936,"latitude_deg":11.9642904,"altitude":78,"angle":112,"satellites":38,"speed":0,"hex_longitude":"2d182e00","hex_latitude":"07219b18","is_valid_coordinates":true} 
[2026-04-17 12:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:32:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760754944001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:32:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523033674612736,"note":"Value kept but may cause issues"} 
[2026-04-17 12:32:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741907924002535424,"note":"Value kept but may cause issues"} 
[2026-04-17 12:32: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-04-17 12:32:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776409220000,"timestamp_ms":1776409220000,"timestamp_seconds":1776409220,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3d93a0"} 
[2026-04-17 12:32:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:32:24] 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-04-17 12:32:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-17 12:32:24] 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-04-17 12:32:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:32:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:32:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:32:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46045,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:32:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:32:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46045,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:32:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:32:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:32:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:32:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760754944001,"66":13917,"120":206,"28":31744,"24":0,"16":113523033674612736,"45":1741907924002535424},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:32:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:32:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:32:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760754944001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:32:24] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:32:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:32:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523033674612736,"km_value":113523033674612.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:32:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741907924002535424,"description":"Unknown IO ID 45"} 
[2026-04-17 12:32:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760754944001,"power":13917,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1741907924002535424}} 
[2026-04-17 12:32:24] local.INFO: DEBUG: GPS processor result {"connection_id":46045,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:32:24] local.INFO: GPS data processed {"connection_id":46045,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:32:24] local.INFO: Acknowledgment sent {"connection_id":46045,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:32:28] local.INFO: TCP Data received {"connection_id":45849,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:32:28] local.INFO: Processing buffer {"connection_id":45849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:32:28] local.INFO: Packet analysis {"connection_id":45849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3e"} 
[2026-04-17 12:32:28] local.INFO: Extracted packet for processing {"connection_id":45849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3e"} 
[2026-04-17 12:32:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760698624001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776409280000,"timestamp_ms":1776409280000,"timestamp_seconds":1776409280,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3e7e00"} 
[2026-04-17 12:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:32: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-04-17 12:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:32:28] 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-04-17 12:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760698624001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760698624001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:32:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:32:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760698624001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":45849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:32:28] local.INFO: GPS data processed {"connection_id":45849,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:32:28] local.INFO: Acknowledgment sent {"connection_id":45849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:32:44] local.INFO: TCP Data received {"connection_id":46622,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:32:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46622,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:32:44] local.INFO: Processing buffer {"connection_id":46622,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:32:44] local.INFO: Packet analysis {"connection_id":46622,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:32:44] local.INFO: Extracted packet for processing {"connection_id":46622,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:32:44] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:32:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760647424001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:32:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:32:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:32:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:32:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776409079000,"timestamp_ms":1776409079000,"timestamp_seconds":1776409079,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3b6cd8"} 
[2026-04-17 12:32:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:32:44] 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-04-17 12: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-04-17 12:32:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:32:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:32:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:32:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46622,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:32:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:32:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46622,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:32:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:32:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:32:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:32:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760647424001,"66":26082,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:32:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:32:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:32:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760647424001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:32:44] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:32:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:32:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:32:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:32:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760647424001,"power":26082,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:32:44] local.INFO: DEBUG: GPS processor result {"connection_id":46622,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21207,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:32:44] local.INFO: GPS data processed {"connection_id":46622,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:32:44] local.INFO: Acknowledgment sent {"connection_id":46622,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:32:49] local.INFO: TCP Data received {"connection_id":46046,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:32:49] local.INFO: Processing buffer {"connection_id":46046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:32:49] local.INFO: IMEI packet received {"connection_id":46046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":46046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:32:51] local.INFO: TCP Data received {"connection_id":46047,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:32:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:32:51] local.INFO: Processing buffer {"connection_id":46047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:32:51] local.INFO: IMEI packet received {"connection_id":46047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:32:51] local.INFO: IMEI acknowledgment sent {"connection_id":46047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:32:53] local.INFO: TCP Data received {"connection_id":46046,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:32:53] local.INFO: Processing buffer {"connection_id":46046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:32:53] local.INFO: IMEI packet received {"connection_id":46046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":46046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:32:55] local.INFO: TCP Data received {"connection_id":46046,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3daef8012d182e4007219a68004e009125..."} 
[2026-04-17 12:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3daef8012d182e4007219a68004e009125..."} 
[2026-04-17 12:32:55] local.INFO: Processing buffer {"connection_id":46046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3daef8012d182e4007219a68004e009125..."} 
[2026-04-17 12:32:55] local.INFO: Packet analysis {"connection_id":46046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3d"} 
[2026-04-17 12:32:55] local.INFO: Extracted packet for processing {"connection_id":46046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3d"} 
[2026-04-17 12:32:55] local.INFO: GPS Element Parsed {"raw_longitude":756559424,"raw_latitude":119642728,"longitude_deg":75.6559424,"latitude_deg":11.9642728,"altitude":78,"angle":145,"satellites":37,"speed":3,"hex_longitude":"2d182e40","hex_latitude":"07219a68","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760760320001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523042264547328,"note":"Value kept but may cause issues"} 
[2026-04-17 12:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742330136467544064,"note":"Value kept but may cause issues"} 
[2026-04-17 12: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-04-17 12:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776409227000,"timestamp_ms":1776409227000,"timestamp_seconds":1776409227,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3daef8"} 
[2026-04-17 12:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:32: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-04-17 12: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-17 12:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760760320001,"66":12939,"120":206,"28":31744,"24":3,"16":113523042264547328,"45":1742330136467544064},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760760320001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:32:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:32:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523042264547328,"km_value":113523042264547.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742330136467544064,"description":"Unknown IO ID 45"} 
[2026-04-17 12:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760760320001,"power":12939,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1742330136467544064}} 
[2026-04-17 12:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":46046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:32:55] local.INFO: GPS data processed {"connection_id":46046,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:32:55] local.INFO: Acknowledgment sent {"connection_id":46046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:32:56] local.INFO: TCP Data received {"connection_id":46047,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:32:56] local.INFO: Processing buffer {"connection_id":46047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:32:56] local.INFO: IMEI packet received {"connection_id":46047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":46047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:32:57] local.INFO: TCP Data received {"connection_id":46047,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:32:57] local.INFO: Processing buffer {"connection_id":46047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:32:57] local.INFO: Packet analysis {"connection_id":46047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3e"} 
[2026-04-17 12:32:57] local.INFO: Extracted packet for processing {"connection_id":46047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3e"} 
[2026-04-17 12:32:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760698624001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776409280000,"timestamp_ms":1776409280000,"timestamp_seconds":1776409280,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3e7e00"} 
[2026-04-17 12:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:32:57] 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-04-17 12:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760698624001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760698624001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:32:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760698624001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":46047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:32:57] local.INFO: GPS data processed {"connection_id":46047,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:32:57] local.INFO: Acknowledgment sent {"connection_id":46047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:33:04] local.INFO: TCP Data received {"connection_id":45850,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:33:04] local.INFO: Processing buffer {"connection_id":45850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:33:04] local.INFO: IMEI packet received {"connection_id":45850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:33:04] local.INFO: IMEI acknowledgment sent {"connection_id":45850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:33:09] local.INFO: TCP Data received {"connection_id":45850,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:33:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45850,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:33:09] local.INFO: Processing buffer {"connection_id":45850,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:33:09] local.INFO: IMEI packet received {"connection_id":45850,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:33:09] local.INFO: IMEI acknowledgment sent {"connection_id":45850,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:33:10] local.INFO: TCP Data received {"connection_id":45850,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:33:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:33:10] local.INFO: Processing buffer {"connection_id":45850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3b6cd8012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:33:10] local.INFO: Packet analysis {"connection_id":45850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:33:10] local.INFO: Extracted packet for processing {"connection_id":45850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3b"} 
[2026-04-17 12:33:10] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:33:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760647424001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:33:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:33:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:33:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:33:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776409079000,"timestamp_ms":1776409079000,"timestamp_seconds":1776409079,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3b6cd8"} 
[2026-04-17 12:33:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:33:10] 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-04-17 12: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":102,"n8_eight_byte":133,"data_length":795,"current_offset":136} 
[2026-04-17 12:33:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1905,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:33:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:33:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:33:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:33:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:33:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:33:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:33:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:33:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:33:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760647424001,"66":26082,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:33:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:33:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:33:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760647424001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:33:10] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:33:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:33:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:33:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:33:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760647424001,"power":26082,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:33:10] local.INFO: DEBUG: GPS processor result {"connection_id":45850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21210,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:33:10] local.INFO: GPS data processed {"connection_id":45850,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:33:10] local.INFO: Acknowledgment sent {"connection_id":45850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:33:26] local.INFO: TCP Data received {"connection_id":46046,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3db6c8012d182e00072199c0004e00cf26..."} 
[2026-04-17 12:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3db6c8012d182e00072199c0004e00cf26..."} 
[2026-04-17 12:33:26] local.INFO: Processing buffer {"connection_id":46046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3db6c8012d182e00072199c0004e00cf26..."} 
[2026-04-17 12:33:26] local.INFO: Packet analysis {"connection_id":46046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3d"} 
[2026-04-17 12:33:26] local.INFO: Extracted packet for processing {"connection_id":46046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3d"} 
[2026-04-17 12:33:26] local.INFO: GPS Element Parsed {"raw_longitude":756559360,"raw_latitude":119642560,"longitude_deg":75.655936,"latitude_deg":11.964256,"altitude":78,"angle":207,"satellites":38,"speed":2,"hex_longitude":"2d182e00","hex_latitude":"072199c0","is_valid_coordinates":true} 
[2026-04-17 12:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:33:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760762112001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:33:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523050854481920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:33:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742400505211676672,"note":"Value kept but may cause issues"} 
[2026-04-17 12:33: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-04-17 12:33:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776409229000,"timestamp_ms":1776409229000,"timestamp_seconds":1776409229,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3db6c8"} 
[2026-04-17 12:33:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:33:26] 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-04-17 12:33:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-17 12:33: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-04-17 12:33:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:33:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:33:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:33:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:33:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:33:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:33:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:33:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:33:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:33:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760762112001,"66":13091,"120":206,"28":31744,"24":2,"16":113523050854481920,"45":1742400505211676672},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:33:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:33:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:33:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760762112001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:33:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:33:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:33:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523050854481920,"km_value":113523050854481.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:33:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742400505211676672,"description":"Unknown IO ID 45"} 
[2026-04-17 12:33:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760762112001,"power":13091,"unknown_120":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1742400505211676672}} 
[2026-04-17 12:33:26] local.INFO: DEBUG: GPS processor result {"connection_id":46046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:33:26] local.INFO: GPS data processed {"connection_id":46046,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:33:26] local.INFO: Acknowledgment sent {"connection_id":46046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:33:28] local.INFO: TCP Data received {"connection_id":46047,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:33:28] local.INFO: Processing buffer {"connection_id":46047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:33:28] local.INFO: Packet analysis {"connection_id":46047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3e"} 
[2026-04-17 12:33:28] local.INFO: Extracted packet for processing {"connection_id":46047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3e"} 
[2026-04-17 12:33:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760698624001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776409280000,"timestamp_ms":1776409280000,"timestamp_seconds":1776409280,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3e7e00"} 
[2026-04-17 12:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:33: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-04-17 12:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760698624001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760698624001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:33:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760698624001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":46047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:33:28] local.INFO: GPS data processed {"connection_id":46047,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:33:28] local.INFO: Acknowledgment sent {"connection_id":46047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:33:41] local.INFO: TCP Data received {"connection_id":45850,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4004a0012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:33:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4004a0012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:33:41] local.INFO: Processing buffer {"connection_id":45850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4004a0012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:33:41] local.INFO: Packet analysis {"connection_id":45850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a40"} 
[2026-04-17 12:33:41] local.INFO: Extracted packet for processing {"connection_id":45850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a40"} 
[2026-04-17 12:33:41] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:33:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760724224001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:33:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:33:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:33:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:33:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776409380000,"timestamp_ms":1776409380000,"timestamp_seconds":1776409380,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4004a0"} 
[2026-04-17 12:33:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:33:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":101,"n8_eight_byte":226,"data_length":795,"current_offset":136} 
[2026-04-17 12:33:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2737,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:33:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:33:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:33:41] local.INFO: Teltonika packet parsed successfully {"connection_id":45850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:33:41] local.INFO: Passing IMEI to GPS processor {"connection_id":45850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:33:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":45850,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:33:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:33:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:33:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:33:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760724224001,"66":26006,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:33:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:33:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:33:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760724224001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:33:41] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:33:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:33:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:33:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:33:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760724224001,"power":26006,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:33:41] local.INFO: DEBUG: GPS processor result {"connection_id":45850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21213,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:33:41] local.INFO: GPS data processed {"connection_id":45850,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:33:41] local.INFO: Acknowledgment sent {"connection_id":45850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:33:48] local.INFO: TCP Data received {"connection_id":45767,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:33:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:33:48] local.INFO: Processing buffer {"connection_id":45767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:33:48] local.INFO: IMEI packet received {"connection_id":45767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:33:48] local.INFO: IMEI acknowledgment sent {"connection_id":45767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:33:51] local.INFO: TCP Data received {"connection_id":46623,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:33:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:33:51] local.INFO: Processing buffer {"connection_id":46623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:33:51] local.INFO: IMEI packet received {"connection_id":46623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:33:51] local.INFO: IMEI acknowledgment sent {"connection_id":46623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:33:54] local.INFO: TCP Data received {"connection_id":45767,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:33:54] local.INFO: Processing buffer {"connection_id":45767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:33:54] local.INFO: IMEI packet received {"connection_id":45767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":45767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:33:55] local.INFO: TCP Data received {"connection_id":45767,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3dbab0012d182dc0072199b8004e00fe25..."} 
[2026-04-17 12:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3dbab0012d182dc0072199b8004e00fe25..."} 
[2026-04-17 12:33:55] local.INFO: Processing buffer {"connection_id":45767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3dbab0012d182dc0072199b8004e00fe25..."} 
[2026-04-17 12:33:55] local.INFO: Packet analysis {"connection_id":45767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3d"} 
[2026-04-17 12:33:55] local.INFO: Extracted packet for processing {"connection_id":45767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3d"} 
[2026-04-17 12:33:55] local.INFO: GPS Element Parsed {"raw_longitude":756559296,"raw_latitude":119642552,"longitude_deg":75.6559296,"latitude_deg":11.9642552,"altitude":78,"angle":254,"satellites":37,"speed":3,"hex_longitude":"2d182dc0","hex_latitude":"072199b8","is_valid_coordinates":true} 
[2026-04-17 12:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760762624001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523055149449216,"note":"Value kept but may cause issues"} 
[2026-04-17 12:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742330136467456000,"note":"Value kept but may cause issues"} 
[2026-04-17 12:33: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-04-17 12:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776409230000,"timestamp_ms":1776409230000,"timestamp_seconds":1776409230,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3dbab0"} 
[2026-04-17 12:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:33: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-04-17 12:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-17 12:33: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-04-17 12:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760762624001,"66":13004,"120":206,"28":31744,"24":3,"16":113523055149449216,"45":1742330136467456000},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760762624001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:33:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:33:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523055149449216,"km_value":113523055149449.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742330136467456000,"description":"Unknown IO ID 45"} 
[2026-04-17 12:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760762624001,"power":13004,"unknown_120":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1742330136467456000}} 
[2026-04-17 12:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":45767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:33:55] local.INFO: GPS data processed {"connection_id":45767,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:33:55] local.INFO: Acknowledgment sent {"connection_id":45767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:33:56] local.INFO: TCP Data received {"connection_id":46623,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46623,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:33:56] local.INFO: Processing buffer {"connection_id":46623,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:33:56] local.INFO: IMEI packet received {"connection_id":46623,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":46623,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:33:57] local.INFO: TCP Data received {"connection_id":46623,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:33:57] local.INFO: Processing buffer {"connection_id":46623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:33:57] local.INFO: Packet analysis {"connection_id":46623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3e"} 
[2026-04-17 12:33:57] local.INFO: Extracted packet for processing {"connection_id":46623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3e"} 
[2026-04-17 12:33:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760698624001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776409280000,"timestamp_ms":1776409280000,"timestamp_seconds":1776409280,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3e7e00"} 
[2026-04-17 12:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760698624001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760698624001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:33:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:33:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760698624001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":46623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:33:57] local.INFO: GPS data processed {"connection_id":46623,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:33:57] local.INFO: Acknowledgment sent {"connection_id":46623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:34:25] local.INFO: TCP Data received {"connection_id":45768,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45768,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:34:25] local.INFO: Processing buffer {"connection_id":45768,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:34:25] local.INFO: IMEI packet received {"connection_id":45768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:34:25] local.INFO: IMEI acknowledgment sent {"connection_id":45768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:34:27] local.INFO: TCP Data received {"connection_id":45767,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3ffcd0012d181bc00721a3a8004d00d924..."} 
[2026-04-17 12:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3ffcd0012d181bc00721a3a8004d00d924..."} 
[2026-04-17 12:34:27] local.INFO: Processing buffer {"connection_id":45767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3ffcd0012d181bc00721a3a8004d00d924..."} 
[2026-04-17 12:34:27] local.INFO: Packet analysis {"connection_id":45767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3f"} 
[2026-04-17 12:34:27] local.INFO: Extracted packet for processing {"connection_id":45767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3f"} 
[2026-04-17 12:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119645096,"longitude_deg":75.6554688,"latitude_deg":11.9645096,"altitude":77,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2d181bc0","hex_latitude":"0721a3a8","is_valid_coordinates":true} 
[2026-04-17 12:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760795648001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523342912258048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143135744,"note":"Value kept but may cause issues"} 
[2026-04-17 12:34: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-04-17 12:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776409378000,"timestamp_ms":1776409378000,"timestamp_seconds":1776409378,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3ffcd0"} 
[2026-04-17 12:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-17 12:34: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-04-17 12:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760795648001,"66":12711,"120":206,"28":31744,"24":0,"16":113523342912258048,"45":1737193218143135744},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760795648001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:34:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:34:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523342912258048,"km_value":113523342912258.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143135744,"description":"Unknown IO ID 45"} 
[2026-04-17 12:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760795648001,"power":12711,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737193218143135744}} 
[2026-04-17 12:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":45767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:34:27] local.INFO: GPS data processed {"connection_id":45767,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:34:27] local.INFO: Acknowledgment sent {"connection_id":45767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:34:27] local.INFO: TCP Data received {"connection_id":45768,"ip":"117.224.17.214","data_length":51,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 12:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45768,"packet_length":51,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 12:34:27] local.INFO: Processing buffer {"connection_id":45768,"buffer_length":51,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 12:34:27] local.INFO: IMEI packet received {"connection_id":45768,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":45768,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:34:28] local.INFO: TCP Data received {"connection_id":46623,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46623,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:34:28] local.INFO: Processing buffer {"connection_id":46623,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:34:28] local.INFO: Packet analysis {"connection_id":46623,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3e"} 
[2026-04-17 12:34:28] local.INFO: Extracted packet for processing {"connection_id":46623,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3e"} 
[2026-04-17 12:34:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760698624001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776409280000,"timestamp_ms":1776409280000,"timestamp_seconds":1776409280,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3e7e00"} 
[2026-04-17 12:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:34: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-04-17 12:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46623,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46623,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760698624001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760698624001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:34:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760698624001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":46623,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:34:28] local.INFO: GPS data processed {"connection_id":46623,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:34:28] local.INFO: Acknowledgment sent {"connection_id":46623,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:34:48] local.INFO: TCP Data received {"connection_id":46048,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:34:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:34:48] local.INFO: Processing buffer {"connection_id":46048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:34:48] local.INFO: IMEI packet received {"connection_id":46048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:34:48] local.INFO: IMEI acknowledgment sent {"connection_id":46048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:34:50] local.INFO: TCP Data received {"connection_id":45769,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:34:50] local.INFO: Processing buffer {"connection_id":45769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:34:50] local.INFO: IMEI packet received {"connection_id":45769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":45769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:34:56] local.INFO: TCP Data received {"connection_id":45769,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45769,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:34:56] local.INFO: Processing buffer {"connection_id":45769,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:34:56] local.INFO: IMEI packet received {"connection_id":45769,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":45769,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:34:57] local.INFO: TCP Data received {"connection_id":45769,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:34:57] local.INFO: Processing buffer {"connection_id":45769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:34:57] local.INFO: Packet analysis {"connection_id":45769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3e"} 
[2026-04-17 12:34:57] local.INFO: Extracted packet for processing {"connection_id":45769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3e"} 
[2026-04-17 12:34:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760698624001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776409280000,"timestamp_ms":1776409280000,"timestamp_seconds":1776409280,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3e7e00"} 
[2026-04-17 12:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760698624001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760698624001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:34:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:34:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760698624001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":45769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:34:57] local.INFO: GPS data processed {"connection_id":45769,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:34:57] local.INFO: Acknowledgment sent {"connection_id":45769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:34:58] local.INFO: TCP Data received {"connection_id":46048,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46048,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:34:58] local.INFO: Processing buffer {"connection_id":46048,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:34:58] local.INFO: IMEI packet received {"connection_id":46048,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":46048,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:34:59] local.INFO: TCP Data received {"connection_id":46048,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a404ed8012d181bc00721a3a8004d00d926..."} 
[2026-04-17 12:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a404ed8012d181bc00721a3a8004d00d926..."} 
[2026-04-17 12:34:59] local.INFO: Processing buffer {"connection_id":46048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a404ed8012d181bc00721a3a8004d00d926..."} 
[2026-04-17 12:34:59] local.INFO: Packet analysis {"connection_id":46048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a40"} 
[2026-04-17 12:34:59] local.INFO: Extracted packet for processing {"connection_id":46048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a40"} 
[2026-04-17 12:34:59] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119645096,"longitude_deg":75.6554688,"latitude_deg":11.9645096,"altitude":77,"angle":217,"satellites":38,"speed":0,"hex_longitude":"2d181bc0","hex_latitude":"0721a3a8","is_valid_coordinates":true} 
[2026-04-17 12:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760800768001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523342912258048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143135744,"note":"Value kept but may cause issues"} 
[2026-04-17 12:34: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-04-17 12:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776409399000,"timestamp_ms":1776409399000,"timestamp_seconds":1776409399,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a404ed8"} 
[2026-04-17 12:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-17 12:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760800768001,"66":12667,"120":206,"28":31744,"24":0,"16":113523342912258048,"45":1737193218143135744},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760800768001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:34:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:34:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523342912258048,"km_value":113523342912258.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143135744,"description":"Unknown IO ID 45"} 
[2026-04-17 12:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760800768001,"power":12667,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737193218143135744}} 
[2026-04-17 12:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":46048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:34:59] local.INFO: GPS data processed {"connection_id":46048,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:34:59] local.INFO: Acknowledgment sent {"connection_id":46048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:35:28] local.INFO: TCP Data received {"connection_id":45769,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45769,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:35:28] local.INFO: Processing buffer {"connection_id":45769,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:35:28] local.INFO: Packet analysis {"connection_id":45769,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3e"} 
[2026-04-17 12:35:28] local.INFO: Extracted packet for processing {"connection_id":45769,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3e"} 
[2026-04-17 12:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760698624001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776409280000,"timestamp_ms":1776409280000,"timestamp_seconds":1776409280,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3e7e00"} 
[2026-04-17 12:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:35: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-04-17 12: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-04-17 12:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45769,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45769,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760698624001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760698624001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:35:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760698624001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":45769,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:35:28] local.INFO: GPS data processed {"connection_id":45769,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:35:28] local.INFO: Acknowledgment sent {"connection_id":45769,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:35:30] local.INFO: TCP Data received {"connection_id":46048,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a40a4c8012d181bc00721a3a8004d00d925..."} 
[2026-04-17 12:35:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46048,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a40a4c8012d181bc00721a3a8004d00d925..."} 
[2026-04-17 12:35:30] local.INFO: Processing buffer {"connection_id":46048,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a40a4c8012d181bc00721a3a8004d00d925..."} 
[2026-04-17 12:35:30] local.INFO: Packet analysis {"connection_id":46048,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a40"} 
[2026-04-17 12:35:30] local.INFO: Extracted packet for processing {"connection_id":46048,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a40"} 
[2026-04-17 12:35:30] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119645096,"longitude_deg":75.6554688,"latitude_deg":11.9645096,"altitude":77,"angle":217,"satellites":37,"speed":0,"hex_longitude":"2d181bc0","hex_latitude":"0721a3a8","is_valid_coordinates":true} 
[2026-04-17 12:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:35:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760806144001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:35:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523342912258048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:35:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143135744,"note":"Value kept but may cause issues"} 
[2026-04-17 12:35: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-04-17 12:35:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776409421000,"timestamp_ms":1776409421000,"timestamp_seconds":1776409421,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a40a4c8"} 
[2026-04-17 12:35:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:35: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-04-17 12:35:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-17 12:35:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:35:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:35:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:35:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:35:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46048,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:35:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:35:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46048,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:35:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:35:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:35:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:35:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760806144001,"66":13439,"120":206,"28":31744,"24":0,"16":113523342912258048,"45":1737193218143135744},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:35:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:35:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:35:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760806144001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:35:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:35:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:35:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523342912258048,"km_value":113523342912258.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:35:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143135744,"description":"Unknown IO ID 45"} 
[2026-04-17 12:35:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760806144001,"power":13439,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737193218143135744}} 
[2026-04-17 12:35:30] local.INFO: DEBUG: GPS processor result {"connection_id":46048,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:35:30] local.INFO: GPS data processed {"connection_id":46048,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:35:30] local.INFO: Acknowledgment sent {"connection_id":46048,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:35:48] local.INFO: TCP Data received {"connection_id":46624,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:35:48] local.INFO: Processing buffer {"connection_id":46624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:35:48] local.INFO: IMEI packet received {"connection_id":46624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":46624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:35:50] local.INFO: TCP Data received {"connection_id":45851,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:35:50] local.INFO: Processing buffer {"connection_id":45851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:35:50] local.INFO: IMEI packet received {"connection_id":45851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":45851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:35:51] local.INFO: TCP Data received {"connection_id":46624,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:35:51] local.INFO: Processing buffer {"connection_id":46624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:35:51] local.INFO: IMEI packet received {"connection_id":46624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":46624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:35:53] local.INFO: TCP Data received {"connection_id":46624,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46624,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:35:53] local.INFO: Processing buffer {"connection_id":46624,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:35:53] local.INFO: IMEI packet received {"connection_id":46624,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":46624,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:35:55] local.INFO: TCP Data received {"connection_id":46624,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a40f6d0012d181bc00721a3a8004d00d924..."} 
[2026-04-17 12:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a40f6d0012d181bc00721a3a8004d00d924..."} 
[2026-04-17 12:35:55] local.INFO: Processing buffer {"connection_id":46624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a40f6d0012d181bc00721a3a8004d00d924..."} 
[2026-04-17 12:35:55] local.INFO: Packet analysis {"connection_id":46624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a40"} 
[2026-04-17 12:35:55] local.INFO: Extracted packet for processing {"connection_id":46624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a40"} 
[2026-04-17 12:35:55] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119645096,"longitude_deg":75.6554688,"latitude_deg":11.9645096,"altitude":77,"angle":217,"satellites":36,"speed":0,"hex_longitude":"2d181bc0","hex_latitude":"0721a3a8","is_valid_coordinates":true} 
[2026-04-17 12:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760811776001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523342912258048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143135744,"note":"Value kept but may cause issues"} 
[2026-04-17 12:35: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-04-17 12:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776409442000,"timestamp_ms":1776409442000,"timestamp_seconds":1776409442,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a40f6d0"} 
[2026-04-17 12:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:35: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-04-17 12:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-04-17 12:35:55] 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-04-17 12:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760811776001,"66":14265,"120":206,"28":31744,"24":0,"16":113523342912258048,"45":1737193218143135744},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760811776001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:35:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523342912258048,"km_value":113523342912258.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143135744,"description":"Unknown IO ID 45"} 
[2026-04-17 12:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760811776001,"power":14265,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737193218143135744}} 
[2026-04-17 12:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":46624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21222,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:35:55] local.INFO: GPS data processed {"connection_id":46624,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:35:55] local.INFO: Acknowledgment sent {"connection_id":46624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:35:56] local.INFO: TCP Data received {"connection_id":45851,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:35:56] local.INFO: Processing buffer {"connection_id":45851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:35:56] local.INFO: IMEI packet received {"connection_id":45851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":45851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:35:57] local.INFO: TCP Data received {"connection_id":45851,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:35:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:35:57] local.INFO: Processing buffer {"connection_id":45851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:35:57] local.INFO: Packet analysis {"connection_id":45851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3e"} 
[2026-04-17 12:35:57] local.INFO: Extracted packet for processing {"connection_id":45851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3e"} 
[2026-04-17 12:35:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:35:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760698624001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:35:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:35:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:35:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:35:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776409280000,"timestamp_ms":1776409280000,"timestamp_seconds":1776409280,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3e7e00"} 
[2026-04-17 12:35:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:35:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:35:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:35:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:35:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:35:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:35:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:35:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:35:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:35:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:35:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:35:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760698624001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:35:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:35:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:35:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760698624001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:35:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:35:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:35:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:35:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:35:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760698624001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:35:57] local.INFO: DEBUG: GPS processor result {"connection_id":45851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21223,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:35:57] local.INFO: GPS data processed {"connection_id":45851,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:35:57] local.INFO: Acknowledgment sent {"connection_id":45851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:36:26] local.INFO: TCP Data received {"connection_id":46624,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4148d8012d181bc00721a3a8004d00d922..."} 
[2026-04-17 12:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46624,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4148d8012d181bc00721a3a8004d00d922..."} 
[2026-04-17 12:36:26] local.INFO: Processing buffer {"connection_id":46624,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4148d8012d181bc00721a3a8004d00d922..."} 
[2026-04-17 12:36:26] local.INFO: Packet analysis {"connection_id":46624,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a41"} 
[2026-04-17 12:36:26] local.INFO: Extracted packet for processing {"connection_id":46624,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a41"} 
[2026-04-17 12:36:26] local.INFO: GPS Element Parsed {"raw_longitude":756554688,"raw_latitude":119645096,"longitude_deg":75.6554688,"latitude_deg":11.9645096,"altitude":77,"angle":217,"satellites":34,"speed":0,"hex_longitude":"2d181bc0","hex_latitude":"0721a3a8","is_valid_coordinates":true} 
[2026-04-17 12:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760817152001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523342912258048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737193218143135744,"note":"Value kept but may cause issues"} 
[2026-04-17 12:36: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-04-17 12:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776409463000,"timestamp_ms":1776409463000,"timestamp_seconds":1776409463,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4148d8"} 
[2026-04-17 12:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:36: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-04-17 12:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 12:36:26] 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-04-17 12:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46624,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46624,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760817152001,"66":13048,"120":206,"28":31744,"24":0,"16":113523342912258048,"45":1737193218143135744},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760817152001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:36:26] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:36:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523342912258048,"km_value":113523342912258.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737193218143135744,"description":"Unknown IO ID 45"} 
[2026-04-17 12:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760817152001,"power":13048,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1737193218143135744}} 
[2026-04-17 12:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":46624,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:36:26] local.INFO: GPS data processed {"connection_id":46624,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:36:26] local.INFO: Acknowledgment sent {"connection_id":46624,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:36:28] local.INFO: TCP Data received {"connection_id":45851,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:36:28] local.INFO: Processing buffer {"connection_id":45851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a3e7e00012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:36:28] local.INFO: Packet analysis {"connection_id":45851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a3e"} 
[2026-04-17 12:36:28] local.INFO: Extracted packet for processing {"connection_id":45851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a3e"} 
[2026-04-17 12:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760698624001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776409280000,"timestamp_ms":1776409280000,"timestamp_seconds":1776409280,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a3e7e00"} 
[2026-04-17 12:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:36: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-04-17 12:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760698624001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760698624001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:36:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760698624001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":45851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:36:28] local.INFO: GPS data processed {"connection_id":45851,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:36:28] local.INFO: Acknowledgment sent {"connection_id":45851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:36:48] local.INFO: TCP Data received {"connection_id":46051,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:36:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:36:48] local.INFO: Processing buffer {"connection_id":46051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:36:48] local.INFO: IMEI packet received {"connection_id":46051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:36:48] local.INFO: IMEI acknowledgment sent {"connection_id":46051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:36:54] local.INFO: TCP Data received {"connection_id":46051,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46051,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:36:54] local.INFO: Processing buffer {"connection_id":46051,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:36:54] local.INFO: IMEI packet received {"connection_id":46051,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":46051,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:36:55] local.INFO: TCP Data received {"connection_id":46051,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a425e30012d1827400721a040004e008827..."} 
[2026-04-17 12:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a425e30012d1827400721a040004e008827..."} 
[2026-04-17 12:36:55] local.INFO: Processing buffer {"connection_id":46051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a425e30012d1827400721a040004e008827..."} 
[2026-04-17 12:36:55] local.INFO: Packet analysis {"connection_id":46051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a42"} 
[2026-04-17 12:36:55] local.INFO: Extracted packet for processing {"connection_id":46051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a42"} 
[2026-04-17 12:36:55] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119644224,"longitude_deg":75.6557632,"latitude_deg":11.9644224,"altitude":78,"angle":136,"satellites":39,"speed":0,"hex_longitude":"2d182740","hex_latitude":"0721a040","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:36:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760835328001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:36:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523574840492032,"note":"Value kept but may cause issues"} 
[2026-04-17 12:36:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740430180375085056,"note":"Value kept but may cause issues"} 
[2026-04-17 12: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-04-17 12:36:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776409534000,"timestamp_ms":1776409534000,"timestamp_seconds":1776409534,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a425e30"} 
[2026-04-17 12:36:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:36: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-04-17 12: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":128,"data_length":795,"current_offset":136} 
[2026-04-17 12:36:55] 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-04-17 12: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-04-17 12:36:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:36:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:36:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:36:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:36:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:36:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:36:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:36:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:36:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760835328001,"66":12852,"120":206,"28":31744,"24":0,"16":113523574840492032,"45":1740430180375085056},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:36:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:36:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:36:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760835328001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:36:55] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:36:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:36:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523574840492032,"km_value":113523574840492.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:36:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740430180375085056,"description":"Unknown IO ID 45"} 
[2026-04-17 12:36:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760835328001,"power":12852,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740430180375085056}} 
[2026-04-17 12:36:55] local.INFO: DEBUG: GPS processor result {"connection_id":46051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:36:55] local.INFO: GPS data processed {"connection_id":46051,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:36:55] local.INFO: Acknowledgment sent {"connection_id":46051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:36:56] local.INFO: TCP Data received {"connection_id":46625,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:36:56] local.INFO: Processing buffer {"connection_id":46625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:36:56] local.INFO: IMEI packet received {"connection_id":46625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":46625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:36:56] local.INFO: TCP Data received {"connection_id":46051,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a42b038012d1827400721a040004e008826..."} 
[2026-04-17 12:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a42b038012d1827400721a040004e008826..."} 
[2026-04-17 12:36:56] local.INFO: Processing buffer {"connection_id":46051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a42b038012d1827400721a040004e008826..."} 
[2026-04-17 12:36:56] local.INFO: Packet analysis {"connection_id":46051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a42"} 
[2026-04-17 12:36:56] local.INFO: Extracted packet for processing {"connection_id":46051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a42"} 
[2026-04-17 12:36:56] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119644224,"longitude_deg":75.6557632,"latitude_deg":11.9644224,"altitude":78,"angle":136,"satellites":38,"speed":0,"hex_longitude":"2d182740","hex_latitude":"0721a040","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760840704001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523574840492032,"note":"Value kept but may cause issues"} 
[2026-04-17 12:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740430180375085056,"note":"Value kept but may cause issues"} 
[2026-04-17 12:36: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-04-17 12:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776409555000,"timestamp_ms":1776409555000,"timestamp_seconds":1776409555,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a42b038"} 
[2026-04-17 12:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 12:36:56] 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-04-17 12: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-04-17 12:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760840704001,"66":12798,"120":206,"28":31744,"24":0,"16":113523574840492032,"45":1740430180375085056},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760840704001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:36:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:36:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523574840492032,"km_value":113523574840492.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740430180375085056,"description":"Unknown IO ID 45"} 
[2026-04-17 12:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760840704001,"power":12798,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740430180375085056}} 
[2026-04-17 12:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":46051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:36:56] local.INFO: GPS data processed {"connection_id":46051,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:36:56] local.INFO: Acknowledgment sent {"connection_id":46051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:36:59] local.INFO: TCP Data received {"connection_id":46625,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46625,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:36:59] local.INFO: Processing buffer {"connection_id":46625,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:36:59] local.INFO: IMEI packet received {"connection_id":46625,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:36:59] local.INFO: IMEI acknowledgment sent {"connection_id":46625,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:37:00] local.INFO: TCP Data received {"connection_id":46625,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:37:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:37:00] local.INFO: Processing buffer {"connection_id":46625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:37:00] local.INFO: Packet analysis {"connection_id":46625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:37:00] local.INFO: Extracted packet for processing {"connection_id":46625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:37:00] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:37:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760775680001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:37:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:37:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:37:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:37:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776409581000,"timestamp_ms":1776409581000,"timestamp_seconds":1776409581,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4315c8"} 
[2026-04-17 12:37:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:37:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:37:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:37:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:37:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:37:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:37:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:37:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:37: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-04-17 12:37:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:37:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:37:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760775680001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:37:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:37:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:37:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760775680001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:37:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:37:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:37:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:37:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:37:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760775680001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:37:00] local.INFO: DEBUG: GPS processor result {"connection_id":46625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:37:00] local.INFO: GPS data processed {"connection_id":46625,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:37:00] local.INFO: Acknowledgment sent {"connection_id":46625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:37:01] local.INFO: TCP Data received {"connection_id":46625,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:37:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:37:01] local.INFO: Processing buffer {"connection_id":46625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:37:01] local.INFO: Packet analysis {"connection_id":46625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:37:01] local.INFO: Extracted packet for processing {"connection_id":46625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:37:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:37:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760775680001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:37:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:37:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:37:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:37:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776409581000,"timestamp_ms":1776409581000,"timestamp_seconds":1776409581,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4315c8"} 
[2026-04-17 12:37:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:37:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:37:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:37:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:37:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:37:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:37:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:37:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:37:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:37:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:37: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-04-17 12:37:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:37:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:37:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760775680001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:37:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:37:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:37:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760775680001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:37:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:37:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:37:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:37:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:37:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760775680001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:37:01] local.INFO: DEBUG: GPS processor result {"connection_id":46625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21229,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:37:01] local.INFO: GPS data processed {"connection_id":46625,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:37:01] local.INFO: Acknowledgment sent {"connection_id":46625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:37:28] local.INFO: TCP Data received {"connection_id":46051,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a430240012d1827400721a040004e008827..."} 
[2026-04-17 12:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a430240012d1827400721a040004e008827..."} 
[2026-04-17 12:37:28] local.INFO: Processing buffer {"connection_id":46051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a430240012d1827400721a040004e008827..."} 
[2026-04-17 12:37:28] local.INFO: Packet analysis {"connection_id":46051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:37:28] local.INFO: Extracted packet for processing {"connection_id":46051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119644224,"longitude_deg":75.6557632,"latitude_deg":11.9644224,"altitude":78,"angle":136,"satellites":39,"speed":0,"hex_longitude":"2d182740","hex_latitude":"0721a040","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760846080001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523574840492032,"note":"Value kept but may cause issues"} 
[2026-04-17 12:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740430180375085056,"note":"Value kept but may cause issues"} 
[2026-04-17 12:37: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-04-17 12:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776409576000,"timestamp_ms":1776409576000,"timestamp_seconds":1776409576,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a430240"} 
[2026-04-17 12:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:37:28] 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-04-17 12: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":254,"data_length":795,"current_offset":136} 
[2026-04-17 12:37:28] 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-04-17 12: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-04-17 12:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46051,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760846080001,"66":11721,"120":206,"28":31744,"24":0,"16":113523574840492032,"45":1740430180375085056},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760846080001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:37:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:37:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523574840492032,"km_value":113523574840492.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740430180375085056,"description":"Unknown IO ID 45"} 
[2026-04-17 12:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760846080001,"power":11721,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740430180375085056}} 
[2026-04-17 12:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":46051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:37:28] local.INFO: GPS data processed {"connection_id":46051,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:37:28] local.INFO: Acknowledgment sent {"connection_id":46051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:37:32] local.INFO: TCP Data received {"connection_id":46625,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46625,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:37:32] local.INFO: Processing buffer {"connection_id":46625,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:37:32] local.INFO: Packet analysis {"connection_id":46625,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:37:32] local.INFO: Extracted packet for processing {"connection_id":46625,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:37:32] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:37:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760775680001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:37:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:37:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:37:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:37:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776409581000,"timestamp_ms":1776409581000,"timestamp_seconds":1776409581,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4315c8"} 
[2026-04-17 12:37:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:37:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:37:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:37:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:37:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:37:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46625,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:37:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:37:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46625,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:37:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:37:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:37:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:37:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760775680001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:37:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:37:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:37:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760775680001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:37:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:37:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:37:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:37:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:37:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760775680001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:37:32] local.INFO: DEBUG: GPS processor result {"connection_id":46625,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:37:32] local.INFO: GPS data processed {"connection_id":46625,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:37:32] local.INFO: Acknowledgment sent {"connection_id":46625,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:37:50] local.INFO: TCP Data received {"connection_id":45770,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:37:50] local.INFO: Processing buffer {"connection_id":45770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:37:50] local.INFO: IMEI packet received {"connection_id":45770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":45770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:37:51] local.INFO: TCP Data received {"connection_id":46627,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:37:51] local.INFO: Processing buffer {"connection_id":46627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:37:51] local.INFO: IMEI packet received {"connection_id":46627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":46627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:37:51] local.INFO: TCP Data received {"connection_id":45770,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:37:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:37:51] local.INFO: Processing buffer {"connection_id":45770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:37:51] local.INFO: IMEI packet received {"connection_id":45770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:37:51] local.INFO: IMEI acknowledgment sent {"connection_id":45770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:37:54] local.INFO: TCP Data received {"connection_id":45770,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:37:54] local.INFO: Processing buffer {"connection_id":45770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:37:54] local.INFO: IMEI packet received {"connection_id":45770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":45770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:37:56] local.INFO: TCP Data received {"connection_id":46627,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46627,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:37:56] local.INFO: Processing buffer {"connection_id":46627,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:37:56] local.INFO: IMEI packet received {"connection_id":46627,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":46627,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:37:57] local.INFO: TCP Data received {"connection_id":46627,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:37:57] local.INFO: Processing buffer {"connection_id":46627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:37:57] local.INFO: Packet analysis {"connection_id":46627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:37:57] local.INFO: Extracted packet for processing {"connection_id":46627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:37:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760775680001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776409581000,"timestamp_ms":1776409581000,"timestamp_seconds":1776409581,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4315c8"} 
[2026-04-17 12:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:37:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760775680001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760775680001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:37:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:37:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760775680001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":46627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:37:57] local.INFO: GPS data processed {"connection_id":46627,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:37:57] local.INFO: Acknowledgment sent {"connection_id":46627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:37:59] local.INFO: TCP Data received {"connection_id":45770,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:37:59] local.INFO: Processing buffer {"connection_id":45770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:37:59] local.INFO: IMEI packet received {"connection_id":45770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:37:59] local.INFO: IMEI acknowledgment sent {"connection_id":45770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:38:00] local.INFO: TCP Data received {"connection_id":45770,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a435448012d1827400721a040004e008827..."} 
[2026-04-17 12:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a435448012d1827400721a040004e008827..."} 
[2026-04-17 12:38:00] local.INFO: Processing buffer {"connection_id":45770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a435448012d1827400721a040004e008827..."} 
[2026-04-17 12:38:00] local.INFO: Packet analysis {"connection_id":45770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:38:00] local.INFO: Extracted packet for processing {"connection_id":45770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:38:00] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119644224,"longitude_deg":75.6557632,"latitude_deg":11.9644224,"altitude":78,"angle":136,"satellites":39,"speed":0,"hex_longitude":"2d182740","hex_latitude":"0721a040","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760851456001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523574840492032,"note":"Value kept but may cause issues"} 
[2026-04-17 12:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740430180375085056,"note":"Value kept but may cause issues"} 
[2026-04-17 12:38: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-04-17 12:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776409597000,"timestamp_ms":1776409597000,"timestamp_seconds":1776409597,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a435448"} 
[2026-04-17 12:38:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:38: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-04-17 12: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":45,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-04-17 12:38:00] 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-04-17 12: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-04-17 12:38:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760851456001,"66":14157,"120":206,"28":31744,"24":0,"16":113523574840492032,"45":1740430180375085056},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 12:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760851456001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:38:00] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 12:38:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523574840492032,"km_value":113523574840492.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740430180375085056,"description":"Unknown IO ID 45"} 
[2026-04-17 12:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760851456001,"power":14157,"unknown_120":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740430180375085056}} 
[2026-04-17 12:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":45770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21233,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:38:00] local.INFO: GPS data processed {"connection_id":45770,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:38:00] local.INFO: Acknowledgment sent {"connection_id":45770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:38:28] local.INFO: TCP Data received {"connection_id":46627,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46627,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:38:28] local.INFO: Processing buffer {"connection_id":46627,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:38:28] local.INFO: Packet analysis {"connection_id":46627,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:38:28] local.INFO: Extracted packet for processing {"connection_id":46627,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:38:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760775680001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776409581000,"timestamp_ms":1776409581000,"timestamp_seconds":1776409581,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4315c8"} 
[2026-04-17 12:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:38: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-04-17 12:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46627,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46627,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760775680001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760775680001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:38:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:38:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760775680001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":46627,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:38:28] local.INFO: GPS data processed {"connection_id":46627,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:38:28] local.INFO: Acknowledgment sent {"connection_id":46627,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:38:32] local.INFO: TCP Data received {"connection_id":45770,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a43a650012d1827400721a040004e008822..."} 
[2026-04-17 12:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a43a650012d1827400721a040004e008822..."} 
[2026-04-17 12:38:32] local.INFO: Processing buffer {"connection_id":45770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a43a650012d1827400721a040004e008822..."} 
[2026-04-17 12:38:32] local.INFO: Packet analysis {"connection_id":45770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:38:32] local.INFO: Extracted packet for processing {"connection_id":45770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:38:32] local.INFO: GPS Element Parsed {"raw_longitude":756557632,"raw_latitude":119644224,"longitude_deg":75.6557632,"latitude_deg":11.9644224,"altitude":78,"angle":136,"satellites":34,"speed":0,"hex_longitude":"2d182740","hex_latitude":"0721a040","is_valid_coordinates":true} 
[2026-04-17 12:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760856832001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523574840492032,"note":"Value kept but may cause issues"} 
[2026-04-17 12:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1740430180375085056,"note":"Value kept but may cause issues"} 
[2026-04-17 12:38:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776409618000,"timestamp_ms":1776409618000,"timestamp_seconds":1776409618,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a43a650"} 
[2026-04-17 12:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-17 12:38:32] 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-04-17 12:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760856832001,"66":14211,"121":206,"28":31744,"24":0,"16":113523574840492032,"45":1740430180375085056},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760856832001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:38:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:38:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523574840492032,"km_value":113523574840492.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1740430180375085056,"description":"Unknown IO ID 45"} 
[2026-04-17 12:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760856832001,"power":14211,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1740430180375085056}} 
[2026-04-17 12:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":45770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:38:32] local.INFO: GPS data processed {"connection_id":45770,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:38:32] local.INFO: Acknowledgment sent {"connection_id":45770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:38:49] local.INFO: TCP Data received {"connection_id":46053,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:38:49] local.INFO: Processing buffer {"connection_id":46053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:38:49] local.INFO: IMEI packet received {"connection_id":46053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":46053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:38:49] local.INFO: TCP Data received {"connection_id":46053,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:38:49] local.INFO: Processing buffer {"connection_id":46053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:38:49] local.INFO: IMEI packet received {"connection_id":46053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":46053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:38:50] local.INFO: TCP Data received {"connection_id":45852,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:38:50] local.INFO: Processing buffer {"connection_id":45852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:38:50] local.INFO: IMEI packet received {"connection_id":45852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":45852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:38:51] local.INFO: TCP Data received {"connection_id":46053,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:38:51] local.INFO: Processing buffer {"connection_id":46053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:38:51] local.INFO: IMEI packet received {"connection_id":46053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":46053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:38:52] local.INFO: TCP Data received {"connection_id":46053,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a449498012d18c58007214a40004600ac25..."} 
[2026-04-17 12:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a449498012d18c58007214a40004600ac25..."} 
[2026-04-17 12:38:52] local.INFO: Processing buffer {"connection_id":46053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a449498012d18c58007214a40004600ac25..."} 
[2026-04-17 12:38:52] local.INFO: Packet analysis {"connection_id":46053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a44"} 
[2026-04-17 12:38:52] local.INFO: Extracted packet for processing {"connection_id":46053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a44"} 
[2026-04-17 12:38:52] local.INFO: GPS Element Parsed {"raw_longitude":756598144,"raw_latitude":119622208,"longitude_deg":75.6598144,"latitude_deg":11.9622208,"altitude":70,"angle":172,"satellites":37,"speed":37,"hex_longitude":"2d18c580","hex_latitude":"07214a40","is_valid_coordinates":true} 
[2026-04-17 12:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760877824001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113525928482570240,"note":"Value kept but may cause issues"} 
[2026-04-17 12:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595433910272,"note":"Value kept but may cause issues"} 
[2026-04-17 12:38: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-04-17 12:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776409679000,"timestamp_ms":1776409679000,"timestamp_seconds":1776409679,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a449498"} 
[2026-04-17 12:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:38:52] 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-04-17 12:38:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 12:38:52] 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-04-17 12:38:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":46053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":46053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":46053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760877824001,"66":14374,"121":206,"28":31744,"24":37,"16":113525928482570240,"45":1784973595433910272},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760877824001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:38:52] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:38:52] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113525928482570240,"km_value":113525928482570.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595433910272,"description":"Unknown IO ID 45"} 
[2026-04-17 12:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760877824001,"power":14374,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1784973595433910272}} 
[2026-04-17 12:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":46053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21236,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:38:52] local.INFO: GPS data processed {"connection_id":46053,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:38:52] local.INFO: Acknowledgment sent {"connection_id":46053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:38:54] local.INFO: TCP Data received {"connection_id":46053,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a44ac08012d18ca40072135480043009423..."} 
[2026-04-17 12:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a44ac08012d18ca40072135480043009423..."} 
[2026-04-17 12:38:54] local.INFO: Processing buffer {"connection_id":46053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a44ac08012d18ca40072135480043009423..."} 
[2026-04-17 12:38:54] local.INFO: Packet analysis {"connection_id":46053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a44"} 
[2026-04-17 12:38:54] local.INFO: Extracted packet for processing {"connection_id":46053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a44"} 
[2026-04-17 12:38:54] local.INFO: GPS Element Parsed {"raw_longitude":756599360,"raw_latitude":119616840,"longitude_deg":75.659936,"latitude_deg":11.961684,"altitude":67,"angle":148,"satellites":35,"speed":36,"hex_longitude":"2d18ca40","hex_latitude":"07213548","is_valid_coordinates":true} 
[2026-04-17 12:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760877824001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113526199065509888,"note":"Value kept but may cause issues"} 
[2026-04-17 12:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784973595433910272,"note":"Value kept but may cause issues"} 
[2026-04-17 12:38: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-04-17 12:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776409685000,"timestamp_ms":1776409685000,"timestamp_seconds":1776409685,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a44ac08"} 
[2026-04-17 12:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:38: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-04-17 12:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 12:38:54] 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-04-17 12:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760877824001,"66":14243,"121":206,"28":31744,"24":36,"16":113526199065509888,"45":1784973595433910272},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760877824001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:38:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:38:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113526199065509888,"km_value":113526199065509.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784973595433910272,"description":"Unknown IO ID 45"} 
[2026-04-17 12:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760877824001,"power":14243,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1784973595433910272}} 
[2026-04-17 12:38:54] local.INFO: DEBUG: GPS processor result {"connection_id":46053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:38:54] local.INFO: GPS data processed {"connection_id":46053,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:38:54] local.INFO: Acknowledgment sent {"connection_id":46053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:38:56] local.INFO: TCP Data received {"connection_id":45852,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:38:56] local.INFO: Processing buffer {"connection_id":45852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:38:56] local.INFO: IMEI packet received {"connection_id":45852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":45852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:38:57] local.INFO: TCP Data received {"connection_id":45852,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:38:57] local.INFO: Processing buffer {"connection_id":45852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:38:57] local.INFO: Packet analysis {"connection_id":45852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:38:57] local.INFO: Extracted packet for processing {"connection_id":45852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760775680001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776409581000,"timestamp_ms":1776409581000,"timestamp_seconds":1776409581,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4315c8"} 
[2026-04-17 12:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760775680001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760775680001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:38:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760775680001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":45852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:38:57] local.INFO: GPS data processed {"connection_id":45852,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:38:57] local.INFO: Acknowledgment sent {"connection_id":45852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:39:25] local.INFO: TCP Data received {"connection_id":46053,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a44bf90012d18d20007212538004100a724..."} 
[2026-04-17 12:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a44bf90012d18d20007212538004100a724..."} 
[2026-04-17 12:39:25] local.INFO: Processing buffer {"connection_id":46053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a44bf90012d18d20007212538004100a724..."} 
[2026-04-17 12:39:25] local.INFO: Packet analysis {"connection_id":46053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a44"} 
[2026-04-17 12:39:25] local.INFO: Extracted packet for processing {"connection_id":46053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a44"} 
[2026-04-17 12:39:25] local.INFO: GPS Element Parsed {"raw_longitude":756601344,"raw_latitude":119612728,"longitude_deg":75.6601344,"latitude_deg":11.9612728,"altitude":65,"angle":167,"satellites":36,"speed":36,"hex_longitude":"2d18d200","hex_latitude":"07212538","is_valid_coordinates":true} 
[2026-04-17 12:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:39:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760879360001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:39:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113526422403809280,"note":"Value kept but may cause issues"} 
[2026-04-17 12:39:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1786310601571911680,"note":"Value kept but may cause issues"} 
[2026-04-17 12:39: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-04-17 12:39:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776409690000,"timestamp_ms":1776409690000,"timestamp_seconds":1776409690,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a44bf90"} 
[2026-04-17 12:39:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:39: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-04-17 12:39:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-17 12:39:25] 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-04-17 12:39:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:39:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:39:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:39:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:39:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:39:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:39:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:39:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:39:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:39:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760879360001,"66":14407,"121":206,"28":31744,"24":36,"16":113526422403809280,"45":1786310601571911680},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:39:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:39:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:39:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760879360001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:39:25] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:39:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:39:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113526422403809280,"km_value":113526422403809.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:39:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1786310601571911680,"description":"Unknown IO ID 45"} 
[2026-04-17 12:39:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760879360001,"power":14407,"unknown_121":206,"unknown_28":31744,"ignition":36,"odometer":null,"unknown_45":1786310601571911680}} 
[2026-04-17 12:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":46053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:39:26] local.INFO: GPS data processed {"connection_id":46053,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:39:26] local.INFO: Acknowledgment sent {"connection_id":46053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:39:28] local.INFO: TCP Data received {"connection_id":45852,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:39:28] local.INFO: Processing buffer {"connection_id":45852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:39:28] local.INFO: Packet analysis {"connection_id":45852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:39:28] local.INFO: Extracted packet for processing {"connection_id":45852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760775680001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776409581000,"timestamp_ms":1776409581000,"timestamp_seconds":1776409581,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4315c8"} 
[2026-04-17 12:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:39: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-04-17 12:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760775680001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760775680001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:39:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760775680001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":45852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:39:28] local.INFO: GPS data processed {"connection_id":45852,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:39:28] local.INFO: Acknowledgment sent {"connection_id":45852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:39:30] local.INFO: TCP Data received {"connection_id":46054,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:39:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46054,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:39:30] local.INFO: Processing buffer {"connection_id":46054,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:39:30] local.INFO: IMEI packet received {"connection_id":46054,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:39:30] local.INFO: IMEI acknowledgment sent {"connection_id":46054,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:39:32] local.INFO: TCP Data received {"connection_id":46054,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a445230012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a445230012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:39:32] local.INFO: Processing buffer {"connection_id":46054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a445230012d3ca9c006a1c0f0004000a830..."} 
[2026-04-17 12:39:32] local.INFO: Packet analysis {"connection_id":46054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a44"} 
[2026-04-17 12:39:32] local.INFO: Extracted packet for processing {"connection_id":46054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a44"} 
[2026-04-17 12:39:32] local.INFO: GPS Element Parsed {"raw_longitude":758950336,"raw_latitude":111263984,"longitude_deg":75.8950336,"latitude_deg":11.1263984,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3ca9c0","hex_latitude":"06a1c0f0","is_valid_coordinates":true} 
[2026-04-17 12:39: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-04-17 12:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760801280001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776409662000,"timestamp_ms":1776409662000,"timestamp_seconds":1776409662,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a445230"} 
[2026-04-17 12:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:39:32] 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-04-17 12:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 12:39:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2053,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46054,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46054,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760801280001,"66":25897,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760801280001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:39:32] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:39:32] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760801280001,"power":25897,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":46054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21241,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:39:32] local.INFO: GPS data processed {"connection_id":46054,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:39:32] local.INFO: Acknowledgment sent {"connection_id":46054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:39:48] local.INFO: TCP Data received {"connection_id":45771,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:39:48] local.INFO: Processing buffer {"connection_id":45771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:39:48] local.INFO: IMEI packet received {"connection_id":45771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":45771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:39:50] local.INFO: TCP Data received {"connection_id":45772,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:39:50] local.INFO: Processing buffer {"connection_id":45772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:39:50] local.INFO: IMEI packet received {"connection_id":45772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":45772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:39:52] local.INFO: TCP Data received {"connection_id":45771,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:39:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45771,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:39:52] local.INFO: Processing buffer {"connection_id":45771,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:39:52] local.INFO: IMEI packet received {"connection_id":45771,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:39:52] local.INFO: IMEI acknowledgment sent {"connection_id":45771,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:39:53] local.INFO: TCP Data received {"connection_id":45771,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a44c760012d18d24007211df8004000b722..."} 
[2026-04-17 12:39:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a44c760012d18d24007211df8004000b722..."} 
[2026-04-17 12:39:53] local.INFO: Processing buffer {"connection_id":45771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a44c760012d18d24007211df8004000b722..."} 
[2026-04-17 12:39:53] local.INFO: Packet analysis {"connection_id":45771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a44"} 
[2026-04-17 12:39:53] local.INFO: Extracted packet for processing {"connection_id":45771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a44"} 
[2026-04-17 12:39:53] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119610872,"longitude_deg":75.6601408,"latitude_deg":11.9610872,"altitude":64,"angle":183,"satellites":34,"speed":37,"hex_longitude":"2d18d240","hex_latitude":"07211df8","is_valid_coordinates":true} 
[2026-04-17 12:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:39:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760880640001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:39:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113526512598122496,"note":"Value kept but may cause issues"} 
[2026-04-17 12:39:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032640366592,"note":"Value kept but may cause issues"} 
[2026-04-17 12:39: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-04-17 12:39:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776409692000,"timestamp_ms":1776409692000,"timestamp_seconds":1776409692,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a44c760"} 
[2026-04-17 12:39:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:39:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:39:53] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 12:39:53] 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-04-17 12:39:53] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:39:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:39:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:39:53] local.INFO: Teltonika packet parsed successfully {"connection_id":45771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:39:53] local.INFO: Passing IMEI to GPS processor {"connection_id":45771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:39:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":45771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:39:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:39:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:39:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:39:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760880640001,"66":14396,"121":206,"28":31744,"24":37,"16":113526512598122496,"45":1788492032640366592},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:39:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:39:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:39:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760880640001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:39:53] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:39:53] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:39:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113526512598122496,"km_value":113526512598122.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:39:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032640366592,"description":"Unknown IO ID 45"} 
[2026-04-17 12:39:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760880640001,"power":14396,"unknown_121":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1788492032640366592}} 
[2026-04-17 12:39:53] local.INFO: DEBUG: GPS processor result {"connection_id":45771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:39:53] local.INFO: GPS data processed {"connection_id":45771,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:39:53] local.INFO: Acknowledgment sent {"connection_id":45771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:39:56] local.INFO: TCP Data received {"connection_id":45772,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:39:56] local.INFO: Processing buffer {"connection_id":45772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:39:56] local.INFO: IMEI packet received {"connection_id":45772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":45772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:39:57] local.INFO: TCP Data received {"connection_id":45772,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:39:57] local.INFO: Processing buffer {"connection_id":45772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:39:57] local.INFO: Packet analysis {"connection_id":45772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:39:57] local.INFO: Extracted packet for processing {"connection_id":45772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:39:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760775680001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776409581000,"timestamp_ms":1776409581000,"timestamp_seconds":1776409581,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4315c8"} 
[2026-04-17 12:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:39:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760775680001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760775680001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:39:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:39:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760775680001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":45772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:39:57] local.INFO: GPS data processed {"connection_id":45772,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:39:57] local.INFO: Acknowledgment sent {"connection_id":45772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:40:04] local.INFO: TCP Data received {"connection_id":46628,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:40:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:40:05] local.INFO: Processing buffer {"connection_id":46628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:40:05] local.INFO: IMEI packet received {"connection_id":46628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:40:05] local.INFO: IMEI acknowledgment sent {"connection_id":46628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:40:10] local.INFO: TCP Data received {"connection_id":46628,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:40:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46628,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:40:10] local.INFO: Processing buffer {"connection_id":46628,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:40:10] local.INFO: IMEI packet received {"connection_id":46628,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:40:10] local.INFO: IMEI acknowledgment sent {"connection_id":46628,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:40:12] local.INFO: TCP Data received {"connection_id":46628,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a44a050012d3caac006a1c098004000a830..."} 
[2026-04-17 12:40:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a44a050012d3caac006a1c098004000a830..."} 
[2026-04-17 12:40:12] local.INFO: Processing buffer {"connection_id":46628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a44a050012d3caac006a1c098004000a830..."} 
[2026-04-17 12:40:12] local.INFO: Packet analysis {"connection_id":46628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a44"} 
[2026-04-17 12:40:12] local.INFO: Extracted packet for processing {"connection_id":46628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a44"} 
[2026-04-17 12:40:12] local.INFO: GPS Element Parsed {"raw_longitude":758950592,"raw_latitude":111263896,"longitude_deg":75.8950592,"latitude_deg":11.1263896,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3caac0","hex_latitude":"06a1c098","is_valid_coordinates":true} 
[2026-04-17 12:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:40:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760873472001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:40:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:40:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371236048055889920,"note":"Value kept but may cause issues"} 
[2026-04-17 12:40:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:40:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776409682000,"timestamp_ms":1776409682000,"timestamp_seconds":1776409682,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a44a050"} 
[2026-04-17 12:40:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:40: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-04-17 12:40:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 12:40:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1072,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:40:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:40:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:40:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:40:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:40:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:40:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:40:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:40:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:40:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:40:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760873472001,"66":28354,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371236048055889920},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:40:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:40:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:40:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760873472001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:40:12] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:40:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:40:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:40:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371236048055889920,"description":"Unknown IO ID 45"} 
[2026-04-17 12:40:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760873472001,"power":28354,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371236048055889920}} 
[2026-04-17 12:40:12] local.INFO: DEBUG: GPS processor result {"connection_id":46628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21244,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:40:12] local.INFO: GPS data processed {"connection_id":46628,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:40:12] local.INFO: Acknowledgment sent {"connection_id":46628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:40:24] local.INFO: TCP Data received {"connection_id":45771,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a462ec0012d19bcc00720a650002d00ad26..."} 
[2026-04-17 12:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45771,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a462ec0012d19bcc00720a650002d00ad26..."} 
[2026-04-17 12:40:24] local.INFO: Processing buffer {"connection_id":45771,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a462ec0012d19bcc00720a650002d00ad26..."} 
[2026-04-17 12:40:24] local.INFO: Packet analysis {"connection_id":45771,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a46"} 
[2026-04-17 12:40:24] local.INFO: Extracted packet for processing {"connection_id":45771,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a46"} 
[2026-04-17 12:40:24] local.INFO: GPS Element Parsed {"raw_longitude":756661440,"raw_latitude":119580240,"longitude_deg":75.666144,"latitude_deg":11.958024,"altitude":45,"angle":173,"satellites":38,"speed":2,"hex_longitude":"2d19bcc0","hex_latitude":"0720a650","is_valid_coordinates":true} 
[2026-04-17 12:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760900864001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113530159025356800,"note":"Value kept but may cause issues"} 
[2026-04-17 12:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854638652159117312,"note":"Value kept but may cause issues"} 
[2026-04-17 12:40: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-04-17 12:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776409784000,"timestamp_ms":1776409784000,"timestamp_seconds":1776409784,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a462ec0"} 
[2026-04-17 12:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:40: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-04-17 12:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-17 12:40:24] 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-04-17 12:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45771,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45771,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760900864001,"66":12004,"121":206,"28":31744,"24":2,"16":113530159025356800,"45":1854638652159117312},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760900864001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:40:24] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:40:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113530159025356800,"km_value":113530159025356.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854638652159117312,"description":"Unknown IO ID 45"} 
[2026-04-17 12:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760900864001,"power":12004,"unknown_121":206,"unknown_28":31744,"ignition":2,"odometer":null,"unknown_45":1854638652159117312}} 
[2026-04-17 12:40:25] local.INFO: DEBUG: GPS processor result {"connection_id":45771,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:40:25] local.INFO: GPS data processed {"connection_id":45771,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:40:25] local.INFO: Acknowledgment sent {"connection_id":45771,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:40:28] local.INFO: TCP Data received {"connection_id":45772,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:40:28] local.INFO: Processing buffer {"connection_id":45772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:40:28] local.INFO: Packet analysis {"connection_id":45772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:40:28] local.INFO: Extracted packet for processing {"connection_id":45772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760775680001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776409581000,"timestamp_ms":1776409581000,"timestamp_seconds":1776409581,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4315c8"} 
[2026-04-17 12:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:40: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-04-17 12:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760775680001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760775680001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:40:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760775680001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":45772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21246,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:40:28] local.INFO: GPS data processed {"connection_id":45772,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:40:28] local.INFO: Acknowledgment sent {"connection_id":45772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:40:43] local.INFO: TCP Data received {"connection_id":46628,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a44f258012d3caac006a1c098004000a830..."} 
[2026-04-17 12:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46628,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a44f258012d3caac006a1c098004000a830..."} 
[2026-04-17 12:40:43] local.INFO: Processing buffer {"connection_id":46628,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a44f258012d3caac006a1c098004000a830..."} 
[2026-04-17 12:40:43] local.INFO: Packet analysis {"connection_id":46628,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a44"} 
[2026-04-17 12:40:43] local.INFO: Extracted packet for processing {"connection_id":46628,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a44"} 
[2026-04-17 12:40:43] local.INFO: GPS Element Parsed {"raw_longitude":758950592,"raw_latitude":111263896,"longitude_deg":75.8950592,"latitude_deg":11.1263896,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3caac0","hex_latitude":"06a1c098","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760878592001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371517523032578048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776409703000,"timestamp_ms":1776409703000,"timestamp_seconds":1776409703,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a44f258"} 
[2026-04-17 12:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 12:40:43] 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-04-17 12: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-04-17 12:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46628,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46628,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760878592001,"66":28267,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371517523032578048},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760878592001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:40:43] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:40:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371517523032578048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760878592001,"power":28267,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371517523032578048}} 
[2026-04-17 12:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":46628,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21247,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:40:43] local.INFO: GPS data processed {"connection_id":46628,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:40:43] local.INFO: Acknowledgment sent {"connection_id":46628,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:40:48] local.INFO: TCP Data received {"connection_id":46055,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:40:48] local.INFO: Processing buffer {"connection_id":46055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:40:48] local.INFO: IMEI packet received {"connection_id":46055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":46055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:40:54] local.INFO: TCP Data received {"connection_id":46055,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:40:54] local.INFO: Processing buffer {"connection_id":46055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:40:54] local.INFO: IMEI packet received {"connection_id":46055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":46055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:40:55] local.INFO: TCP Data received {"connection_id":46055,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a466188012d19ba000720a900002e013c29..."} 
[2026-04-17 12:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a466188012d19ba000720a900002e013c29..."} 
[2026-04-17 12:40:55] local.INFO: Processing buffer {"connection_id":46055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a466188012d19ba000720a900002e013c29..."} 
[2026-04-17 12:40:55] local.INFO: Packet analysis {"connection_id":46055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a46"} 
[2026-04-17 12:40:55] local.INFO: Extracted packet for processing {"connection_id":46055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a46"} 
[2026-04-17 12:40:55] local.INFO: GPS Element Parsed {"raw_longitude":756660736,"raw_latitude":119580928,"longitude_deg":75.6660736,"latitude_deg":11.9580928,"altitude":46,"angle":316,"satellites":41,"speed":10,"hex_longitude":"2d19ba00","hex_latitude":"0720a900","is_valid_coordinates":true} 
[2026-04-17 12:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760907776001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113530236334768128,"note":"Value kept but may cause issues"} 
[2026-04-17 12:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333461581824,"note":"Value kept but may cause issues"} 
[2026-04-17 12:40: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-04-17 12:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776409797000,"timestamp_ms":1776409797000,"timestamp_seconds":1776409797,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a466188"} 
[2026-04-17 12:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:40: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-04-17 12:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 12:40: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-04-17 12:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760907776001,"66":12722,"121":206,"28":31744,"24":10,"16":113530236334768128,"45":1854005333461581824},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760907776001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:40:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:40:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113530236334768128,"km_value":113530236334768.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333461581824,"description":"Unknown IO ID 45"} 
[2026-04-17 12:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760907776001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1854005333461581824}} 
[2026-04-17 12:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":46055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21248,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:40:55] local.INFO: GPS data processed {"connection_id":46055,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:40:55] local.INFO: Acknowledgment sent {"connection_id":46055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:40:56] local.INFO: TCP Data received {"connection_id":46056,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:40:56] local.INFO: Processing buffer {"connection_id":46056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:40:56] local.INFO: IMEI packet received {"connection_id":46056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":46056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:41:01] local.INFO: TCP Data received {"connection_id":46056,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:41:01] local.INFO: Processing buffer {"connection_id":46056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:41:01] local.INFO: IMEI packet received {"connection_id":46056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:41:01] local.INFO: IMEI acknowledgment sent {"connection_id":46056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:41:02] local.INFO: TCP Data received {"connection_id":46056,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:41:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:41:02] local.INFO: Processing buffer {"connection_id":46056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:41:02] local.INFO: Packet analysis {"connection_id":46056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:41:02] local.INFO: Extracted packet for processing {"connection_id":46056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:41:02] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:41:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760775680001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:41:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776409581000,"timestamp_ms":1776409581000,"timestamp_seconds":1776409581,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4315c8"} 
[2026-04-17 12:41:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:41: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-04-17 12:41:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:41:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:41:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:41:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:41:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:41:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:41:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:41:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:41:02] 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-04-17 12:41:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:41:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:41:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760775680001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:41:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:41:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:41:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760775680001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:41:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:41:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:41:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:41:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:41:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760775680001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:41:02] local.INFO: DEBUG: GPS processor result {"connection_id":46056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:41:02] local.INFO: GPS data processed {"connection_id":46056,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:41:02] local.INFO: Acknowledgment sent {"connection_id":46056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:41:04] local.INFO: TCP Data received {"connection_id":46629,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:41:04] local.INFO: Processing buffer {"connection_id":46629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:41:04] local.INFO: IMEI packet received {"connection_id":46629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":46629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:41:06] local.INFO: TCP Data received {"connection_id":46056,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:41:06] local.INFO: Processing buffer {"connection_id":46056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:41:06] local.INFO: Packet analysis {"connection_id":46056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:41:06] local.INFO: Extracted packet for processing {"connection_id":46056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:41:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 12:41:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760775680001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:41:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776409581000,"timestamp_ms":1776409581000,"timestamp_seconds":1776409581,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4315c8"} 
[2026-04-17 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-04-17 12:41:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:41:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 12:41:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:41:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:41:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:41:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:41:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:41:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:41:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:41:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760775680001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:41:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:41:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:41:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760775680001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:41:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:41:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:41:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:41:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:41:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760775680001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:41:06] local.INFO: DEBUG: GPS processor result {"connection_id":46056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:41:06] local.INFO: GPS data processed {"connection_id":46056,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:41:06] local.INFO: Acknowledgment sent {"connection_id":46056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:41:10] local.INFO: TCP Data received {"connection_id":46629,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:41:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46629,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:41:10] local.INFO: Processing buffer {"connection_id":46629,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:41:10] local.INFO: IMEI packet received {"connection_id":46629,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:41:10] local.INFO: IMEI acknowledgment sent {"connection_id":46629,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:41:11] local.INFO: TCP Data received {"connection_id":46629,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a454848012d3caac006a1c098004000a830..."} 
[2026-04-17 12:41:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a454848012d3caac006a1c098004000a830..."} 
[2026-04-17 12:41:11] local.INFO: Processing buffer {"connection_id":46629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a454848012d3caac006a1c098004000a830..."} 
[2026-04-17 12:41:11] local.INFO: Packet analysis {"connection_id":46629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a45"} 
[2026-04-17 12:41:11] local.INFO: Extracted packet for processing {"connection_id":46629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a45"} 
[2026-04-17 12:41:11] local.INFO: GPS Element Parsed {"raw_longitude":758950592,"raw_latitude":111263896,"longitude_deg":75.8950592,"latitude_deg":11.1263896,"altitude":64,"angle":168,"satellites":48,"speed":0,"hex_longitude":"2d3caac0","hex_latitude":"06a1c098","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:41:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760883968001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371517523032578048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,57,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:41:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776409725000,"timestamp_ms":1776409725000,"timestamp_seconds":1776409725,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a454848"} 
[2026-04-17 12:41:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:41:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 12:41:11] 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-04-17 12: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-04-17 12:41:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:41:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:41:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:41:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:41:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:41:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:41:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:41:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:41:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760883968001,"66":28354,"57":206,"19":48128,"24":0,"16":106618783551979520,"45":4371517523032578048},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,57,19,24,16,45]} 
[2026-04-17 12:41:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:41:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:41:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760883968001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:41:11] local.INFO: Unknown IO ID detected {"io_id":57,"value":206,"description":"Unknown IO ID 57"} 
[2026-04-17 12:41:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:41:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:41:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":4371517523032578048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:41:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760883968001,"power":28354,"unknown_57":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4371517523032578048}} 
[2026-04-17 12:41:11] local.INFO: DEBUG: GPS processor result {"connection_id":46629,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21251,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:41:11] local.INFO: GPS data processed {"connection_id":46629,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:41:11] local.INFO: Acknowledgment sent {"connection_id":46629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:41:26] local.INFO: TCP Data received {"connection_id":46055,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a466958012d19b8000720aa58002e012a28..."} 
[2026-04-17 12:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a466958012d19b8000720aa58002e012a28..."} 
[2026-04-17 12:41:26] local.INFO: Processing buffer {"connection_id":46055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a466958012d19b8000720aa58002e012a28..."} 
[2026-04-17 12:41:26] local.INFO: Packet analysis {"connection_id":46055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a46"} 
[2026-04-17 12:41:26] local.INFO: Extracted packet for processing {"connection_id":46055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a46"} 
[2026-04-17 12:41:26] local.INFO: GPS Element Parsed {"raw_longitude":756660224,"raw_latitude":119581272,"longitude_deg":75.6660224,"latitude_deg":11.9581272,"altitude":46,"angle":298,"satellites":40,"speed":13,"hex_longitude":"2d19b800","hex_latitude":"0720aa58","is_valid_coordinates":true} 
[2026-04-17 12:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760908032001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113530266399539200,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1853794227229097984,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41: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-04-17 12:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776409799000,"timestamp_ms":1776409799000,"timestamp_seconds":1776409799,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a466958"} 
[2026-04-17 12:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:41: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-04-17 12:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 12:41:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760908032001,"66":12711,"121":206,"28":31744,"24":13,"16":113530266399539200,"45":1853794227229097984},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760908032001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:41:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:41:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113530266399539200,"km_value":113530266399539.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1853794227229097984,"description":"Unknown IO ID 45"} 
[2026-04-17 12:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760908032001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1853794227229097984}} 
[2026-04-17 12:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":46055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:41:27] local.INFO: GPS data processed {"connection_id":46055,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:41:27] local.INFO: Acknowledgment sent {"connection_id":46055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:41:45] local.INFO: TCP Data received {"connection_id":46629,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a464e000100000000000000000000000000..."} 
[2026-04-17 12:41:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46629,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a464e000100000000000000000000000000..."} 
[2026-04-17 12:41:45] local.INFO: Processing buffer {"connection_id":46629,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a464e000100000000000000000000000000..."} 
[2026-04-17 12:41:45] local.INFO: Packet analysis {"connection_id":46629,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a46"} 
[2026-04-17 12:41:45] local.INFO: Extracted packet for processing {"connection_id":46629,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a46"} 
[2026-04-17 12:41: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-04-17 12: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-04-17 12:41:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760889600001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4371517523032578048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:45] 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-04-17 12:41:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776409792000,"timestamp_ms":1776409792000,"timestamp_seconds":1776409792,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a464e00"} 
[2026-04-17 12:41:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:41: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-04-17 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 12:41:45] 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-04-17 12: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-04-17 12:41:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:41:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:41:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46629,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:41:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:41:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46629,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:41:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:41:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:41:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:41:45] local.INFO: DEBUG: GPS processor result {"connection_id":46629,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 12:41:45] local.INFO: GPS data processed {"connection_id":46629,"processed":0,"errors":0,"total":1} 
[2026-04-17 12:41:45] local.INFO: Acknowledgment sent {"connection_id":46629,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:41:48] local.INFO: TCP Data received {"connection_id":45854,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:41:48] local.INFO: Processing buffer {"connection_id":45854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:41:48] local.INFO: IMEI packet received {"connection_id":45854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":45854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:41:51] local.INFO: TCP Data received {"connection_id":45853,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:41:51] local.INFO: Processing buffer {"connection_id":45853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:41:51] local.INFO: IMEI packet received {"connection_id":45853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":45853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:41:53] local.INFO: TCP Data received {"connection_id":45854,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:41:53] local.INFO: Processing buffer {"connection_id":45854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:41:53] local.INFO: IMEI packet received {"connection_id":45854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":45854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:41:54] local.INFO: TCP Data received {"connection_id":45854,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a475f70012d1989800720b4100036004027..."} 
[2026-04-17 12:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a475f70012d1989800720b4100036004027..."} 
[2026-04-17 12:41:54] local.INFO: Processing buffer {"connection_id":45854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a475f70012d1989800720b4100036004027..."} 
[2026-04-17 12:41:54] local.INFO: Packet analysis {"connection_id":45854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:41:54] local.INFO: Extracted packet for processing {"connection_id":45854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:41:54] local.INFO: GPS Element Parsed {"raw_longitude":756648320,"raw_latitude":119583760,"longitude_deg":75.664832,"latitude_deg":11.958376,"altitude":54,"angle":64,"satellites":39,"speed":5,"hex_longitude":"2d198980","hex_latitude":"0720b410","is_valid_coordinates":true} 
[2026-04-17 12:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:41:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760924416001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113530893464764416,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840001953370990592,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41: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-04-17 12:41:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776409862000,"timestamp_ms":1776409862000,"timestamp_seconds":1776409862,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a475f70"} 
[2026-04-17 12:41:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:41: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-04-17 12:41:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-17 12:41:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:41:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:41:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:41:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:41:54] local.INFO: Teltonika packet parsed successfully {"connection_id":45854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:41:54] local.INFO: Passing IMEI to GPS processor {"connection_id":45854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:41:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":45854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:41:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:41:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:41:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:41:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760924416001,"66":14341,"121":206,"28":31744,"24":5,"16":113530893464764416,"45":1840001953370990592},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:41:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:41:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:41:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760924416001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:41:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:41:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:41:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113530893464764416,"km_value":113530893464764.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:41:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840001953370990592,"description":"Unknown IO ID 45"} 
[2026-04-17 12:41:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760924416001,"power":14341,"unknown_121":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1840001953370990592}} 
[2026-04-17 12:41:54] local.INFO: DEBUG: GPS processor result {"connection_id":45854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:41:54] local.INFO: GPS data processed {"connection_id":45854,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:41:54] local.INFO: Acknowledgment sent {"connection_id":45854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:41:56] local.INFO: TCP Data received {"connection_id":45853,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:41:56] local.INFO: Processing buffer {"connection_id":45853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:41:56] local.INFO: IMEI packet received {"connection_id":45853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":45853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:41:57] local.INFO: TCP Data received {"connection_id":45853,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:41:57] local.INFO: Processing buffer {"connection_id":45853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4315c8012d7faa8005afd2f8000e000031..."} 
[2026-04-17 12:41:57] local.INFO: Packet analysis {"connection_id":45853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:41:57] local.INFO: Extracted packet for processing {"connection_id":45853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a43"} 
[2026-04-17 12:41:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760775680001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776409581000,"timestamp_ms":1776409581000,"timestamp_seconds":1776409581,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4315c8"} 
[2026-04-17 12:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:41:57] 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-04-17 12:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760775680001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760775680001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:41:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760775680001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":45853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:41:57] local.INFO: GPS data processed {"connection_id":45853,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:41:57] local.INFO: Acknowledgment sent {"connection_id":45853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:42:10] local.INFO: TCP Data received {"connection_id":45773,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:42:10] local.INFO: Processing buffer {"connection_id":45773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:42:10] local.INFO: IMEI packet received {"connection_id":45773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":45773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:42:15] local.INFO: TCP Data received {"connection_id":45773,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:42:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45773,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:42:15] local.INFO: Processing buffer {"connection_id":45773,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:42:15] local.INFO: IMEI packet received {"connection_id":45773,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:42:15] local.INFO: IMEI acknowledgment sent {"connection_id":45773,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:42:26] local.INFO: TCP Data received {"connection_id":45854,"ip":"117.225.171.243","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a47e058012d19b00007208360002f00a829..."} 
[2026-04-17 12:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a47e058012d19b00007208360002f00a829..."} 
[2026-04-17 12:42:26] local.INFO: Processing buffer {"connection_id":45854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a47e058012d19b00007208360002f00a829..."} 
[2026-04-17 12:42:26] local.INFO: Packet analysis {"connection_id":45854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:42:26] local.INFO: Extracted packet for processing {"connection_id":45854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:42:26] local.INFO: GPS Element Parsed {"raw_longitude":756658176,"raw_latitude":119571296,"longitude_deg":75.6658176,"latitude_deg":11.9571296,"altitude":47,"angle":168,"satellites":41,"speed":41,"hex_longitude":"2d19b000","hex_latitude":"07208360","is_valid_coordinates":true} 
[2026-04-17 12:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760932352001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113532035926065152,"note":"Value kept but may cause issues"} 
[2026-04-17 12:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264995186688,"note":"Value kept but may cause issues"} 
[2026-04-17 12:42: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-04-17 12:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776409895000,"timestamp_ms":1776409895000,"timestamp_seconds":1776409895,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a47e058"} 
[2026-04-17 12:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:42: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-04-17 12:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-17 12:42:26] 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-04-17 12:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.225.171.243","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760932352001,"66":13928,"121":206,"28":31744,"24":41,"16":113532035926065152,"45":1850557264995186688},"client_ip":"117.225.171.243","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760932352001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:42:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:42:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113532035926065152,"km_value":113532035926065.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264995186688,"description":"Unknown IO ID 45"} 
[2026-04-17 12:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760932352001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1850557264995186688}} 
[2026-04-17 12:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":45854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:42:26] local.INFO: GPS data processed {"connection_id":45854,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:42:26] local.INFO: Acknowledgment sent {"connection_id":45854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:42:28] local.INFO: TCP Data received {"connection_id":45853,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:42:28] local.INFO: Processing buffer {"connection_id":45853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:42:28] local.INFO: Packet analysis {"connection_id":45853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:42:28] local.INFO: Extracted packet for processing {"connection_id":45853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760852736001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776409882000,"timestamp_ms":1776409882000,"timestamp_seconds":1776409882,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a47ad90"} 
[2026-04-17 12:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:42:28] 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-04-17 12:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760852736001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760852736001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:42:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:42:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760852736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":45853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:42:28] local.INFO: GPS data processed {"connection_id":45853,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:42:28] local.INFO: Acknowledgment sent {"connection_id":45853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:42:28] local.INFO: TCP Data received {"connection_id":45773,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a45b990012d3c9d0006a13550002e00c431..."} 
[2026-04-17 12:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a45b990012d3c9d0006a13550002e00c431..."} 
[2026-04-17 12:42:28] local.INFO: Processing buffer {"connection_id":45773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a45b990012d3c9d0006a13550002e00c431..."} 
[2026-04-17 12:42:28] local.INFO: Packet analysis {"connection_id":45773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a45"} 
[2026-04-17 12:42:28] local.INFO: Extracted packet for processing {"connection_id":45773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a45"} 
[2026-04-17 12:42:28] local.INFO: GPS Element Parsed {"raw_longitude":758947072,"raw_latitude":111228240,"longitude_deg":75.8947072,"latitude_deg":11.122824,"altitude":46,"angle":196,"satellites":49,"speed":47,"hex_longitude":"2d3c9d00","hex_latitude":"06a13550","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:42:28] 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-04-17 12:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776409754000,"timestamp_ms":1776409754000,"timestamp_seconds":1776409754,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a45b990"} 
[2026-04-17 12:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-17 12:42:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28224,"17":206,"19":48128,"24":47,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16]} 
[2026-04-17 12:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 12:42:28] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:42:28] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28224,"axis_x":206,"unknown_19":48128,"ignition":47,"odometer":null}} 
[2026-04-17 12:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":45773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21257,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:42:28] local.INFO: GPS data processed {"connection_id":45773,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:42:28] local.INFO: Acknowledgment sent {"connection_id":45773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:42:34] local.INFO: TCP Data received {"connection_id":45773,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a460b98012d3c81c006a0e190002400c531..."} 
[2026-04-17 12:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a460b98012d3c81c006a0e190002400c531..."} 
[2026-04-17 12:42:34] local.INFO: Processing buffer {"connection_id":45773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a460b98012d3c81c006a0e190002400c531..."} 
[2026-04-17 12:42:34] local.INFO: Packet analysis {"connection_id":45773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a46"} 
[2026-04-17 12:42:34] local.INFO: Extracted packet for processing {"connection_id":45773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a46"} 
[2026-04-17 12:42:34] local.INFO: GPS Element Parsed {"raw_longitude":758940096,"raw_latitude":111206800,"longitude_deg":75.8940096,"latitude_deg":11.12068,"altitude":36,"angle":197,"satellites":49,"speed":0,"hex_longitude":"2d3c81c0","hex_latitude":"06a0e190","is_valid_coordinates":true} 
[2026-04-17 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-04-17 12:42:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760897024001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:42:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:42:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4367647242093678592,"note":"Value kept but may cause issues"} 
[2026-04-17 12:42:34] 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-04-17 12:42:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776409775000,"timestamp_ms":1776409775000,"timestamp_seconds":1776409775,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a460b98"} 
[2026-04-17 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-04-17 12:42:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-04-17 12:42:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 12:42:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:42:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:42:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:42:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45773,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:42:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:42:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:42:34] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:42:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760897024001,"66":28256,"17":206,"19":48128,"24":0,"16":106618783551979520,"45":4367647242093678592},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16,45]} 
[2026-04-17 12:42:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:42:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:42:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760897024001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:42:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:42:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:42:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":4367647242093678592,"description":"Unknown IO ID 45"} 
[2026-04-17 12:42:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760897024001,"power":28256,"axis_x":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4367647242093678592}} 
[2026-04-17 12:42:34] local.INFO: DEBUG: GPS processor result {"connection_id":45773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21258,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:42:34] local.INFO: GPS data processed {"connection_id":45773,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:42:34] local.INFO: Acknowledgment sent {"connection_id":45773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:42:48] local.INFO: TCP Data received {"connection_id":45855,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:42:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:42:48] local.INFO: Processing buffer {"connection_id":45855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:42:48] local.INFO: IMEI packet received {"connection_id":45855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:42:48] local.INFO: IMEI acknowledgment sent {"connection_id":45855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:42:50] local.INFO: TCP Data received {"connection_id":45855,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:42:50] local.INFO: Processing buffer {"connection_id":45855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:42:50] local.INFO: IMEI packet received {"connection_id":45855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":45855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:42:50] local.INFO: TCP Data received {"connection_id":46630,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:42:50] local.INFO: Processing buffer {"connection_id":46630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:42:50] local.INFO: IMEI packet received {"connection_id":46630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":46630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:42:52] local.INFO: TCP Data received {"connection_id":45855,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:42:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:42:52] local.INFO: Processing buffer {"connection_id":45855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:42:52] local.INFO: IMEI packet received {"connection_id":45855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:42:52] local.INFO: IMEI acknowledgment sent {"connection_id":45855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:42:53] local.INFO: TCP Data received {"connection_id":45855,"ip":"117.225.171.243","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:42:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45855,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:42:53] local.INFO: Processing buffer {"connection_id":45855,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:42:53] local.INFO: IMEI packet received {"connection_id":45855,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:42:53] local.INFO: IMEI acknowledgment sent {"connection_id":45855,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:42:56] local.INFO: TCP Data received {"connection_id":46630,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46630,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:42:56] local.INFO: Processing buffer {"connection_id":46630,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:42:56] local.INFO: IMEI packet received {"connection_id":46630,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":46630,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:42:57] local.INFO: TCP Data received {"connection_id":46630,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:42:57] local.INFO: Processing buffer {"connection_id":46630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:42:57] local.INFO: Packet analysis {"connection_id":46630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:42:57] local.INFO: Extracted packet for processing {"connection_id":46630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:42:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760852736001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776409882000,"timestamp_ms":1776409882000,"timestamp_seconds":1776409882,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a47ad90"} 
[2026-04-17 12:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760852736001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760852736001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:42:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:42:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760852736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":46630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:42:57] local.INFO: GPS data processed {"connection_id":46630,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:42:57] local.INFO: Acknowledgment sent {"connection_id":46630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:43:05] local.INFO: TCP Data received {"connection_id":45774,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:43:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:43:05] local.INFO: Processing buffer {"connection_id":45774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:43:05] local.INFO: IMEI packet received {"connection_id":45774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:43:05] local.INFO: IMEI acknowledgment sent {"connection_id":45774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:43:06] local.INFO: TCP Data received {"connection_id":45774,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:43:06] local.INFO: Processing buffer {"connection_id":45774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:43:06] local.INFO: IMEI packet received {"connection_id":45774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":45774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:43:10] local.INFO: TCP Data received {"connection_id":45774,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:43:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:43:10] local.INFO: Processing buffer {"connection_id":45774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:43:10] local.INFO: IMEI packet received {"connection_id":45774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:43:10] local.INFO: IMEI acknowledgment sent {"connection_id":45774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:43:13] local.INFO: TCP Data received {"connection_id":45774,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4711500100000000000000000000000000..."} 
[2026-04-17 12:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4711500100000000000000000000000000..."} 
[2026-04-17 12:43:13] local.INFO: Processing buffer {"connection_id":45774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4711500100000000000000000000000000..."} 
[2026-04-17 12:43:13] local.INFO: Packet analysis {"connection_id":45774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:43:13] local.INFO: Extracted packet for processing {"connection_id":45774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:43:13] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 12:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760902400001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4359977048972824576,"note":"Value kept but may cause issues"} 
[2026-04-17 12:43:13] 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-04-17 12:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776409842000,"timestamp_ms":1776409842000,"timestamp_seconds":1776409842,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a471150"} 
[2026-04-17 12:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:43:13] 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-04-17 12:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 12:43:13] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":45774,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 12:43:13] local.INFO: GPS data processed {"connection_id":45774,"processed":0,"errors":0,"total":1} 
[2026-04-17 12:43:13] local.INFO: Acknowledgment sent {"connection_id":45774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:43:24] local.INFO: TCP Data received {"connection_id":45774,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a467ce0012d3c474006a04e60002900d930..."} 
[2026-04-17 12:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45774,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a467ce0012d3c474006a04e60002900d930..."} 
[2026-04-17 12:43:24] local.INFO: Processing buffer {"connection_id":45774,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a467ce0012d3c474006a04e60002900d930..."} 
[2026-04-17 12:43:24] local.INFO: Packet analysis {"connection_id":45774,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a46"} 
[2026-04-17 12:43:24] local.INFO: Extracted packet for processing {"connection_id":45774,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a46"} 
[2026-04-17 12:43:24] local.INFO: GPS Element Parsed {"raw_longitude":758925120,"raw_latitude":111169120,"longitude_deg":75.892512,"latitude_deg":11.116912,"altitude":41,"angle":217,"satellites":48,"speed":35,"hex_longitude":"2d3c4740","hex_latitude":"06a04e60","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:43:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:43:24] 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-04-17 12:43:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776409804000,"timestamp_ms":1776409804000,"timestamp_seconds":1776409804,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a467ce0"} 
[2026-04-17 12:43:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:43:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 12:43:24] 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-04-17 12: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-04-17 12:43:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:43:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:43:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45774,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:43:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:43:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45774,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:43:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:43:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:43:24] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:43:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"17":206,"19":48128,"24":35,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,17,19,24,16]} 
[2026-04-17 12:43:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:43:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:43:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 12:43:24] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:43:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:43:24] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"axis_x":206,"unknown_19":48128,"ignition":35,"odometer":null}} 
[2026-04-17 12:43:24] local.INFO: DEBUG: GPS processor result {"connection_id":45774,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21260,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:43:24] local.INFO: GPS data processed {"connection_id":45774,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:43:24] local.INFO: Acknowledgment sent {"connection_id":45774,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:43:28] local.INFO: TCP Data received {"connection_id":46630,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46630,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:43:28] local.INFO: Processing buffer {"connection_id":46630,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:43:28] local.INFO: Packet analysis {"connection_id":46630,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:43:28] local.INFO: Extracted packet for processing {"connection_id":46630,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:43:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760852736001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776409882000,"timestamp_ms":1776409882000,"timestamp_seconds":1776409882,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a47ad90"} 
[2026-04-17 12:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46630,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46630,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760852736001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760852736001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:43:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:43:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760852736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":46630,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:43:28] local.INFO: GPS data processed {"connection_id":46630,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:43:28] local.INFO: Acknowledgment sent {"connection_id":46630,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:43:56] local.INFO: TCP Data received {"connection_id":45856,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:43:56] local.INFO: Processing buffer {"connection_id":45856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:43:56] local.INFO: IMEI packet received {"connection_id":45856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":45856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:44:01] local.INFO: TCP Data received {"connection_id":45856,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:44:01] local.INFO: Processing buffer {"connection_id":45856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:44:01] local.INFO: IMEI packet received {"connection_id":45856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":45856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:44:02] local.INFO: TCP Data received {"connection_id":45856,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:44:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:44:02] local.INFO: Processing buffer {"connection_id":45856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:44:02] local.INFO: Packet analysis {"connection_id":45856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:44:02] local.INFO: Extracted packet for processing {"connection_id":45856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:44:02] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:44:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760852736001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:44:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:44:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:44:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:44:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776409882000,"timestamp_ms":1776409882000,"timestamp_seconds":1776409882,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a47ad90"} 
[2026-04-17 12:44:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:44:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:44:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:44:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:44:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:44:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:44:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:44:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:44:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:44:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:44:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:44:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:44:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:44:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760852736001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:44:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:44:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:44:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760852736001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:44:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:44:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:44:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:44:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:44:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760852736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:44:02] local.INFO: DEBUG: GPS processor result {"connection_id":45856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:44:02] local.INFO: GPS data processed {"connection_id":45856,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:44:02] local.INFO: Acknowledgment sent {"connection_id":45856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:44:07] local.INFO: TCP Data received {"connection_id":45856,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:44:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:44:07] local.INFO: Processing buffer {"connection_id":45856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:44:07] local.INFO: Packet analysis {"connection_id":45856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:44:07] local.INFO: Extracted packet for processing {"connection_id":45856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:44:07] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:44:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760852736001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:44:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:44:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:44:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:44:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776409882000,"timestamp_ms":1776409882000,"timestamp_seconds":1776409882,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a47ad90"} 
[2026-04-17 12:44:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:44:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:44:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:44:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:44:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:44:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:44:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:44:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:44:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:44:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:44:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:44:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:44:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:44:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760852736001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:44:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:44:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:44:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760852736001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:44:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:44:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:44:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:44:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:44:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760852736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:44:07] local.INFO: DEBUG: GPS processor result {"connection_id":45856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:44:07] local.INFO: GPS data processed {"connection_id":45856,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:44:07] local.INFO: Acknowledgment sent {"connection_id":45856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:44:30] local.INFO: TCP Data received {"connection_id":46631,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46631,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:44:30] local.INFO: Processing buffer {"connection_id":46631,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:44:30] local.INFO: IMEI packet received {"connection_id":46631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:44:30] local.INFO: IMEI acknowledgment sent {"connection_id":46631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:44:31] local.INFO: TCP Data received {"connection_id":46631,"ip":"117.224.17.214","data_length":51,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 12:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46631,"packet_length":51,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 12:44:31] local.INFO: Processing buffer {"connection_id":46631,"buffer_length":51,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 12:44:31] local.INFO: IMEI packet received {"connection_id":46631,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:44:31] local.INFO: IMEI acknowledgment sent {"connection_id":46631,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:44:50] local.INFO: TCP Data received {"connection_id":46632,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:44:50] local.INFO: Processing buffer {"connection_id":46632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:44:50] local.INFO: IMEI packet received {"connection_id":46632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":46632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:44:56] local.INFO: TCP Data received {"connection_id":46632,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46632,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:44:56] local.INFO: Processing buffer {"connection_id":46632,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:44:56] local.INFO: IMEI packet received {"connection_id":46632,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":46632,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:44:57] local.INFO: TCP Data received {"connection_id":46632,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:44:57] local.INFO: Processing buffer {"connection_id":46632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:44:57] local.INFO: Packet analysis {"connection_id":46632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:44:57] local.INFO: Extracted packet for processing {"connection_id":46632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:44:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:44:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760852736001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:44:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:44:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:44:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:44:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776409882000,"timestamp_ms":1776409882000,"timestamp_seconds":1776409882,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a47ad90"} 
[2026-04-17 12:44:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:44:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:44:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:44:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:44:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:44:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:44:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:44:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:44:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:44:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:44:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:44:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:44:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:44:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760852736001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:44:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:44:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:44:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760852736001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:44:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:44:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:44:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:44:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:44:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760852736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:44:57] local.INFO: DEBUG: GPS processor result {"connection_id":46632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:44:57] local.INFO: GPS data processed {"connection_id":46632,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:44:57] local.INFO: Acknowledgment sent {"connection_id":46632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:45:28] local.INFO: TCP Data received {"connection_id":46632,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46632,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:45:28] local.INFO: Processing buffer {"connection_id":46632,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:45:28] local.INFO: Packet analysis {"connection_id":46632,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:45:28] local.INFO: Extracted packet for processing {"connection_id":46632,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:45:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760852736001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776409882000,"timestamp_ms":1776409882000,"timestamp_seconds":1776409882,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a47ad90"} 
[2026-04-17 12:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46632,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46632,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760852736001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760852736001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:45:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:45:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760852736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":46632,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:45:28] local.INFO: GPS data processed {"connection_id":46632,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:45:28] local.INFO: Acknowledgment sent {"connection_id":46632,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:45:51] local.INFO: TCP Data received {"connection_id":45857,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:45:51] local.INFO: Processing buffer {"connection_id":45857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:45:51] local.INFO: IMEI packet received {"connection_id":45857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":45857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:45:56] local.INFO: TCP Data received {"connection_id":45857,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:45:56] local.INFO: Processing buffer {"connection_id":45857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:45:56] local.INFO: IMEI packet received {"connection_id":45857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":45857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:45:57] local.INFO: TCP Data received {"connection_id":45857,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:45:57] local.INFO: Processing buffer {"connection_id":45857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:45:57] local.INFO: Packet analysis {"connection_id":45857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:45:57] local.INFO: Extracted packet for processing {"connection_id":45857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:45:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760852736001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776409882000,"timestamp_ms":1776409882000,"timestamp_seconds":1776409882,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a47ad90"} 
[2026-04-17 12:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760852736001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760852736001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:45:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:45:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760852736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":45857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:45:57] local.INFO: GPS data processed {"connection_id":45857,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:45:57] local.INFO: Acknowledgment sent {"connection_id":45857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:46:28] local.INFO: TCP Data received {"connection_id":45857,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:46:28] local.INFO: Processing buffer {"connection_id":45857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:46:28] local.INFO: Packet analysis {"connection_id":45857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:46:28] local.INFO: Extracted packet for processing {"connection_id":45857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760852736001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776409882000,"timestamp_ms":1776409882000,"timestamp_seconds":1776409882,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a47ad90"} 
[2026-04-17 12:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:46:28] 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-04-17 12:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760852736001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760852736001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:46:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760852736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":45857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21267,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:46:28] local.INFO: GPS data processed {"connection_id":45857,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:46:28] local.INFO: Acknowledgment sent {"connection_id":45857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:46:50] local.INFO: TCP Data received {"connection_id":45858,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:46:50] local.INFO: Processing buffer {"connection_id":45858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:46:50] local.INFO: IMEI packet received {"connection_id":45858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":45858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:46:56] local.INFO: TCP Data received {"connection_id":45858,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:46:56] local.INFO: Processing buffer {"connection_id":45858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:46:56] local.INFO: IMEI packet received {"connection_id":45858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":45858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:46:57] local.INFO: TCP Data received {"connection_id":45858,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:46:57] local.INFO: Processing buffer {"connection_id":45858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a47ad90012d7faa8005afd2f80009000030..."} 
[2026-04-17 12:46:57] local.INFO: Packet analysis {"connection_id":45858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:46:57] local.INFO: Extracted packet for processing {"connection_id":45858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a47"} 
[2026-04-17 12:46:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760852736001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776409882000,"timestamp_ms":1776409882000,"timestamp_seconds":1776409882,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a47ad90"} 
[2026-04-17 12:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 12:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:46:57] 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-04-17 12:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760852736001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760852736001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:46:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760852736001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":45858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:46:57] local.INFO: GPS data processed {"connection_id":45858,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:46:57] local.INFO: Acknowledgment sent {"connection_id":45858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:47:28] local.INFO: TCP Data received {"connection_id":45858,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:47:28] local.INFO: Processing buffer {"connection_id":45858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:47:28] local.INFO: Packet analysis {"connection_id":45858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:47:28] local.INFO: Extracted packet for processing {"connection_id":45858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:47:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760929792001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776410183000,"timestamp_ms":1776410183000,"timestamp_seconds":1776410183,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4c4558"} 
[2026-04-17 12:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 12:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760929792001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760929792001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:47:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:47:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760929792001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":45858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:47:28] local.INFO: GPS data processed {"connection_id":45858,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:47:28] local.INFO: Acknowledgment sent {"connection_id":45858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:47:51] local.INFO: TCP Data received {"connection_id":45775,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:47:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:47:51] local.INFO: Processing buffer {"connection_id":45775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:47:51] local.INFO: IMEI packet received {"connection_id":45775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:47:51] local.INFO: IMEI acknowledgment sent {"connection_id":45775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:47:56] local.INFO: TCP Data received {"connection_id":45775,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45775,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:47:56] local.INFO: Processing buffer {"connection_id":45775,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:47:56] local.INFO: IMEI packet received {"connection_id":45775,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":45775,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:47:58] local.INFO: TCP Data received {"connection_id":45775,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:47:58] local.INFO: Processing buffer {"connection_id":45775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:47:58] local.INFO: Packet analysis {"connection_id":45775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:47:58] local.INFO: Extracted packet for processing {"connection_id":45775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:47:58] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760929792001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776410183000,"timestamp_ms":1776410183000,"timestamp_seconds":1776410183,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4c4558"} 
[2026-04-17 12:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 12:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760929792001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760929792001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:47:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:47:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760929792001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":45775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21270,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:47:58] local.INFO: GPS data processed {"connection_id":45775,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:47:58] local.INFO: Acknowledgment sent {"connection_id":45775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:48:29] local.INFO: TCP Data received {"connection_id":45775,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:48:29] local.INFO: Processing buffer {"connection_id":45775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:48:29] local.INFO: Packet analysis {"connection_id":45775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:48:29] local.INFO: Extracted packet for processing {"connection_id":45775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:48:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760929792001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776410183000,"timestamp_ms":1776410183000,"timestamp_seconds":1776410183,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4c4558"} 
[2026-04-17 12:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:48:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 12:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45775,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:48:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760929792001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760929792001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:48:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760929792001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":45775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:48:29] local.INFO: GPS data processed {"connection_id":45775,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:48:29] local.INFO: Acknowledgment sent {"connection_id":45775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:48:48] local.INFO: TCP Data received {"connection_id":46061,"ip":"117.224.135.177","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:48:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:48:48] local.INFO: Processing buffer {"connection_id":46061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:48:48] local.INFO: IMEI packet received {"connection_id":46061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:48:48] local.INFO: IMEI acknowledgment sent {"connection_id":46061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:48:50] local.INFO: TCP Data received {"connection_id":46062,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:48:50] local.INFO: Processing buffer {"connection_id":46062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:48:50] local.INFO: IMEI packet received {"connection_id":46062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":46062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:48:54] local.INFO: TCP Data received {"connection_id":46061,"ip":"117.224.135.177","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46061,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:48:54] local.INFO: Processing buffer {"connection_id":46061,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:48:54] local.INFO: IMEI packet received {"connection_id":46061,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":46061,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:48:55] local.INFO: TCP Data received {"connection_id":46061,"ip":"117.224.135.177","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a48ede0012d19abc0071fef980030011d26..."} 
[2026-04-17 12:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a48ede0012d19abc0071fef980030011d26..."} 
[2026-04-17 12:48:55] local.INFO: Processing buffer {"connection_id":46061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a48ede0012d19abc0071fef980030011d26..."} 
[2026-04-17 12:48:55] local.INFO: Packet analysis {"connection_id":46061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a48"} 
[2026-04-17 12:48:55] local.INFO: Extracted packet for processing {"connection_id":46061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a48"} 
[2026-04-17 12:48:55] local.INFO: GPS Element Parsed {"raw_longitude":756657088,"raw_latitude":119533464,"longitude_deg":75.6657088,"latitude_deg":11.9533464,"altitude":48,"angle":285,"satellites":38,"speed":27,"hex_longitude":"2d19abc0","hex_latitude":"071fef98","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760950272001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534505532260352,"note":"Value kept but may cause issues"} 
[2026-04-17 12:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851331321170657280,"note":"Value kept but may cause issues"} 
[2026-04-17 12:48: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-04-17 12:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776409964000,"timestamp_ms":1776409964000,"timestamp_seconds":1776409964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a48ede0"} 
[2026-04-17 12:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:48:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-17 12:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:48:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.135.177","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760950272001,"66":13722,"121":206,"28":31744,"24":27,"16":113534505532260352,"45":1851331321170657280},"client_ip":"117.224.135.177","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760950272001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:48:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:48:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534505532260352,"km_value":113534505532260.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851331321170657280,"description":"Unknown IO ID 45"} 
[2026-04-17 12:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760950272001,"power":13722,"unknown_121":206,"unknown_28":31744,"ignition":27,"odometer":null,"unknown_45":1851331321170657280}} 
[2026-04-17 12:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":46061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21272,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:48:55] local.INFO: GPS data processed {"connection_id":46061,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:48:55] local.INFO: Acknowledgment sent {"connection_id":46061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:48:56] local.INFO: TCP Data received {"connection_id":46062,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:48:56] local.INFO: Processing buffer {"connection_id":46062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:48:56] local.INFO: IMEI packet received {"connection_id":46062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":46062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:48:57] local.INFO: TCP Data received {"connection_id":46062,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:48:57] local.INFO: Processing buffer {"connection_id":46062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:48:57] local.INFO: Packet analysis {"connection_id":46062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:48:57] local.INFO: Extracted packet for processing {"connection_id":46062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760929792001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776410183000,"timestamp_ms":1776410183000,"timestamp_seconds":1776410183,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4c4558"} 
[2026-04-17 12:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 12:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:48:57] 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-04-17 12:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760929792001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760929792001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:48:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760929792001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":46062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:48:57] local.INFO: GPS data processed {"connection_id":46062,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:48:57] local.INFO: Acknowledgment sent {"connection_id":46062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:49:28] local.INFO: TCP Data received {"connection_id":46062,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:49:28] local.INFO: Processing buffer {"connection_id":46062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:49:28] local.INFO: Packet analysis {"connection_id":46062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:49:28] local.INFO: Extracted packet for processing {"connection_id":46062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760929792001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776410183000,"timestamp_ms":1776410183000,"timestamp_seconds":1776410183,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4c4558"} 
[2026-04-17 12:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 12:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760929792001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760929792001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:49:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760929792001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":46062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:49:28] local.INFO: GPS data processed {"connection_id":46062,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:49:28] local.INFO: Acknowledgment sent {"connection_id":46062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:49:29] local.INFO: TCP Data received {"connection_id":46061,"ip":"117.224.135.177","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a48fd80012d19a3c0071ff1600033010c26..."} 
[2026-04-17 12:49:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a48fd80012d19a3c0071ff1600033010c26..."} 
[2026-04-17 12:49:29] local.INFO: Processing buffer {"connection_id":46061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a48fd80012d19a3c0071ff1600033010c26..."} 
[2026-04-17 12:49:29] local.INFO: Packet analysis {"connection_id":46061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a48"} 
[2026-04-17 12:49:29] local.INFO: Extracted packet for processing {"connection_id":46061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a48"} 
[2026-04-17 12:49:29] local.INFO: GPS Element Parsed {"raw_longitude":756655040,"raw_latitude":119533920,"longitude_deg":75.665504,"latitude_deg":11.953392,"altitude":51,"angle":268,"satellites":38,"speed":13,"hex_longitude":"2d19a3c0","hex_latitude":"071ff160","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:49:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760950784001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:49:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534604316508160,"note":"Value kept but may cause issues"} 
[2026-04-17 12:49:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849783208798820352,"note":"Value kept but may cause issues"} 
[2026-04-17 12:49: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-04-17 12:49:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776409968000,"timestamp_ms":1776409968000,"timestamp_seconds":1776409968,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a48fd80"} 
[2026-04-17 12:49:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:49: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-04-17 12: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":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-17 12:49:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1849,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:49:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:49:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:49:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:49:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:49:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46061,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:49:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.135.177","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:49:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:49:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:49:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760950784001,"66":12885,"121":206,"28":31744,"24":13,"16":113534604316508160,"45":1849783208798820352},"client_ip":"117.224.135.177","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:49:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:49:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:49:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760950784001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:49:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:49:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:49:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534604316508160,"km_value":113534604316508.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:49:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849783208798820352,"description":"Unknown IO ID 45"} 
[2026-04-17 12:49:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760950784001,"power":12885,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1849783208798820352}} 
[2026-04-17 12:49:30] local.INFO: DEBUG: GPS processor result {"connection_id":46061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21275,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:49:30] local.INFO: GPS data processed {"connection_id":46061,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:49:30] local.INFO: Acknowledgment sent {"connection_id":46061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:49:36] local.INFO: TCP Data received {"connection_id":46633,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:49:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46633,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:49:36] local.INFO: Processing buffer {"connection_id":46633,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:49:36] local.INFO: IMEI packet received {"connection_id":46633,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:49:36] local.INFO: IMEI acknowledgment sent {"connection_id":46633,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:49:39] local.INFO: TCP Data received {"connection_id":46633,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4ba148012d3d7640069bfa10002300a331..."} 
[2026-04-17 12:49:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46633,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4ba148012d3d7640069bfa10002300a331..."} 
[2026-04-17 12:49:39] local.INFO: Processing buffer {"connection_id":46633,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4ba148012d3d7640069bfa10002300a331..."} 
[2026-04-17 12:49:39] local.INFO: Packet analysis {"connection_id":46633,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a4b"} 
[2026-04-17 12:49:39] local.INFO: Extracted packet for processing {"connection_id":46633,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a4b"} 
[2026-04-17 12:49:39] local.INFO: GPS Element Parsed {"raw_longitude":759002688,"raw_latitude":110885392,"longitude_deg":75.9002688,"latitude_deg":11.0885392,"altitude":35,"angle":163,"satellites":49,"speed":0,"hex_longitude":"2d3d7640","hex_latitude":"069bfa10","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:49:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760990720001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:49:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:49:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4422183018748872704,"note":"Value kept but may cause issues"} 
[2026-04-17 12:49:39] 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-04-17 12:49:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776410141000,"timestamp_ms":1776410141000,"timestamp_seconds":1776410141,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4ba148"} 
[2026-04-17 12:49:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:49:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 12:49:39] 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-04-17 12: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-04-17 12:49:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:49:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:49:39] local.INFO: Teltonika packet parsed successfully {"connection_id":46633,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:49:39] local.INFO: Passing IMEI to GPS processor {"connection_id":46633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:49:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":46633,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:49:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:49:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:49:39] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:49:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760990720001,"66":28354,"81":206,"19":48128,"24":0,"16":106618783551979520,"45":4422183018748872704},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,19,24,16,45]} 
[2026-04-17 12:49:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:49:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:49:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760990720001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:49:39] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 12:49:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:49:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:49:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":4422183018748872704,"description":"Unknown IO ID 45"} 
[2026-04-17 12:49:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760990720001,"power":28354,"unknown_81":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4422183018748872704}} 
[2026-04-17 12:49:39] local.INFO: DEBUG: GPS processor result {"connection_id":46633,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21276,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:49:39] local.INFO: GPS data processed {"connection_id":46633,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:49:39] local.INFO: Acknowledgment sent {"connection_id":46633,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:49:51] local.INFO: TCP Data received {"connection_id":45859,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:49:51] local.INFO: Processing buffer {"connection_id":45859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:49:51] local.INFO: IMEI packet received {"connection_id":45859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":45859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:49:54] local.INFO: TCP Data received {"connection_id":46634,"ip":"117.224.135.177","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:49:54] local.INFO: Processing buffer {"connection_id":46634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:49:54] local.INFO: IMEI packet received {"connection_id":46634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":46634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:49:56] local.INFO: TCP Data received {"connection_id":45859,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:49:56] local.INFO: Processing buffer {"connection_id":45859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:49:56] local.INFO: IMEI packet received {"connection_id":45859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":45859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:49:57] local.INFO: TCP Data received {"connection_id":45859,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:49:57] local.INFO: Processing buffer {"connection_id":45859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:49:57] local.INFO: Packet analysis {"connection_id":45859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:49:57] local.INFO: Extracted packet for processing {"connection_id":45859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:49:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760929792001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776410183000,"timestamp_ms":1776410183000,"timestamp_seconds":1776410183,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4c4558"} 
[2026-04-17 12:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 12:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:49:57] 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-04-17 12:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760929792001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760929792001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:49:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:49:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760929792001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":45859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:49:57] local.INFO: GPS data processed {"connection_id":45859,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:49:57] local.INFO: Acknowledgment sent {"connection_id":45859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:49:59] local.INFO: TCP Data received {"connection_id":46634,"ip":"117.224.135.177","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46634,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:49:59] local.INFO: Processing buffer {"connection_id":46634,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:49:59] local.INFO: IMEI packet received {"connection_id":46634,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:49:59] local.INFO: IMEI acknowledgment sent {"connection_id":46634,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:50:00] local.INFO: TCP Data received {"connection_id":46634,"ip":"117.224.135.177","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a490168012d19a280071ff120003400fb26..."} 
[2026-04-17 12:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a490168012d19a280071ff120003400fb26..."} 
[2026-04-17 12:50:00] local.INFO: Processing buffer {"connection_id":46634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a490168012d19a280071ff120003400fb26..."} 
[2026-04-17 12:50:00] local.INFO: Packet analysis {"connection_id":46634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a49"} 
[2026-04-17 12:50:00] local.INFO: Extracted packet for processing {"connection_id":46634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a49"} 
[2026-04-17 12:50:00] local.INFO: GPS Element Parsed {"raw_longitude":756654720,"raw_latitude":119533856,"longitude_deg":75.665472,"latitude_deg":11.9533856,"altitude":52,"angle":251,"satellites":38,"speed":10,"hex_longitude":"2d19a280","hex_latitude":"071ff120","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760951808001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534621496377344,"note":"Value kept but may cause issues"} 
[2026-04-17 12:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847531408985251840,"note":"Value kept but may cause issues"} 
[2026-04-17 12:50: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-04-17 12:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776409969000,"timestamp_ms":1776409969000,"timestamp_seconds":1776409969,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a490168"} 
[2026-04-17 12:50:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:50: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-04-17 12:50:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 12:50: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-04-17 12: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-04-17 12:50:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.135.177","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760951808001,"66":13124,"121":206,"28":31744,"24":10,"16":113534621496377344,"45":1847531408985251840},"client_ip":"117.224.135.177","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760951808001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:50:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:50:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534621496377344,"km_value":113534621496377.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847531408985251840,"description":"Unknown IO ID 45"} 
[2026-04-17 12:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760951808001,"power":13124,"unknown_121":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1847531408985251840}} 
[2026-04-17 12:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":46634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:50:00] local.INFO: GPS data processed {"connection_id":46634,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:50:00] local.INFO: Acknowledgment sent {"connection_id":46634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:50:28] local.INFO: TCP Data received {"connection_id":45859,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:50:28] local.INFO: Processing buffer {"connection_id":45859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:50:28] local.INFO: Packet analysis {"connection_id":45859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:50:28] local.INFO: Extracted packet for processing {"connection_id":45859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760929792001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776410183000,"timestamp_ms":1776410183000,"timestamp_seconds":1776410183,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4c4558"} 
[2026-04-17 12:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 12:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760929792001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760929792001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:50:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760929792001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":45859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:50:28] local.INFO: GPS data processed {"connection_id":45859,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:50:28] local.INFO: Acknowledgment sent {"connection_id":45859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:50:45] local.INFO: TCP Data received {"connection_id":46634,"ip":"117.224.135.177","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a490938012d19a080071ff010003500f626..."} 
[2026-04-17 12:50:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46634,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a490938012d19a080071ff010003500f626..."} 
[2026-04-17 12:50:45] local.INFO: Processing buffer {"connection_id":46634,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a490938012d19a080071ff010003500f626..."} 
[2026-04-17 12:50:45] local.INFO: Packet analysis {"connection_id":46634,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a49"} 
[2026-04-17 12:50:45] local.INFO: Extracted packet for processing {"connection_id":46634,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a49"} 
[2026-04-17 12:50:45] local.INFO: GPS Element Parsed {"raw_longitude":756654208,"raw_latitude":119533584,"longitude_deg":75.6654208,"latitude_deg":11.9533584,"altitude":53,"angle":246,"satellites":38,"speed":13,"hex_longitude":"2d19a080","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-04-17 12:50:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:50:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760952064001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:50:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 12:50:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847179565264347136,"note":"Value kept but may cause issues"} 
[2026-04-17 12:50:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:50:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776409971000,"timestamp_ms":1776409971000,"timestamp_seconds":1776409971,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a490938"} 
[2026-04-17 12:50:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:50: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-04-17 12: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":51,"n8_eight_byte":68,"data_length":795,"current_offset":136} 
[2026-04-17 12:50:45] 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-04-17 12: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-04-17 12:50:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:50:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:50:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46634,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:50:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:50:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46634,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:50:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.135.177","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:50:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:50:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:50:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760952064001,"66":5014,"121":206,"28":31744,"24":13,"16":113534634381279232,"45":1847179565264347136},"client_ip":"117.224.135.177","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:50:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:50:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:50:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760952064001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:50:45] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:50:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:50:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:50:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847179565264347136,"description":"Unknown IO ID 45"} 
[2026-04-17 12:50:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760952064001,"power":5014,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1847179565264347136}} 
[2026-04-17 12:50:45] local.INFO: DEBUG: GPS processor result {"connection_id":46634,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21280,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:50:45] local.INFO: GPS data processed {"connection_id":46634,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:50:45] local.INFO: Acknowledgment sent {"connection_id":46634,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:50:50] local.INFO: TCP Data received {"connection_id":45776,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:50:50] local.INFO: Processing buffer {"connection_id":45776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:50:50] local.INFO: IMEI packet received {"connection_id":45776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":45776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:50:56] local.INFO: TCP Data received {"connection_id":45776,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45776,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:50:56] local.INFO: Processing buffer {"connection_id":45776,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:50:56] local.INFO: IMEI packet received {"connection_id":45776,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":45776,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:50:57] local.INFO: TCP Data received {"connection_id":45776,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:50:57] local.INFO: Processing buffer {"connection_id":45776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:50:57] local.INFO: Packet analysis {"connection_id":45776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:50:57] local.INFO: Extracted packet for processing {"connection_id":45776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:50:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760929792001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776410183000,"timestamp_ms":1776410183000,"timestamp_seconds":1776410183,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4c4558"} 
[2026-04-17 12:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 12:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:50:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760929792001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760929792001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:50:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:50:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760929792001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":45776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:50:57] local.INFO: GPS data processed {"connection_id":45776,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:50:57] local.INFO: Acknowledgment sent {"connection_id":45776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:51:15] local.INFO: TCP Data received {"connection_id":45860,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:51:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:51:15] local.INFO: Processing buffer {"connection_id":45860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:51:15] local.INFO: IMEI packet received {"connection_id":45860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:51:15] local.INFO: IMEI acknowledgment sent {"connection_id":45860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:51:16] local.INFO: TCP Data received {"connection_id":45860,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:51:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:51:16] local.INFO: Processing buffer {"connection_id":45860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:51:16] local.INFO: IMEI packet received {"connection_id":45860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:51:16] local.INFO: IMEI acknowledgment sent {"connection_id":45860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:51:22] local.INFO: TCP Data received {"connection_id":45860,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45860,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:51:22] local.INFO: Processing buffer {"connection_id":45860,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:51:22] local.INFO: IMEI packet received {"connection_id":45860,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":45860,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:51:28] local.INFO: TCP Data received {"connection_id":45776,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45776,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:51:28] local.INFO: Processing buffer {"connection_id":45776,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:51:28] local.INFO: Packet analysis {"connection_id":45776,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:51:28] local.INFO: Extracted packet for processing {"connection_id":45776,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:51:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760929792001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776410183000,"timestamp_ms":1776410183000,"timestamp_seconds":1776410183,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4c4558"} 
[2026-04-17 12:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 12:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45776,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45776,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:51:28] 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-04-17 12:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760929792001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760929792001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:51:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:51:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760929792001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":45776,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:51:28] local.INFO: GPS data processed {"connection_id":45776,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:51:28] local.INFO: Acknowledgment sent {"connection_id":45776,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:51:29] local.INFO: TCP Data received {"connection_id":45860,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4e8390012d3ee00006992aa80012006432..."} 
[2026-04-17 12:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4e8390012d3ee00006992aa80012006432..."} 
[2026-04-17 12:51:29] local.INFO: Processing buffer {"connection_id":45860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4e8390012d3ee00006992aa80012006432..."} 
[2026-04-17 12:51:29] local.INFO: Packet analysis {"connection_id":45860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a4e"} 
[2026-04-17 12:51:29] local.INFO: Extracted packet for processing {"connection_id":45860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a4e"} 
[2026-04-17 12:51:29] local.INFO: GPS Element Parsed {"raw_longitude":759095296,"raw_latitude":110701224,"longitude_deg":75.9095296,"latitude_deg":11.0701224,"altitude":18,"angle":100,"satellites":50,"speed":0,"hex_longitude":"2d3ee000","hex_latitude":"06992aa8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761039104001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4510073580175179776,"note":"Value kept but may cause issues"} 
[2026-04-17 12:51:29] 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-04-17 12:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776410330000,"timestamp_ms":1776410330000,"timestamp_seconds":1776410330,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4e8390"} 
[2026-04-17 12:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:51: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-04-17 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 12:51:29] 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-04-17 12: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-04-17 12:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45860,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761039104001,"66":28354,"79":206,"19":48128,"24":0,"16":106618783551979520,"45":4510073580175179776},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,79,19,24,16,45]} 
[2026-04-17 12:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761039104001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:51:29] local.INFO: Unknown IO ID detected {"io_id":79,"value":206,"description":"Unknown IO ID 79"} 
[2026-04-17 12:51:29] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":4510073580175179776,"description":"Unknown IO ID 45"} 
[2026-04-17 12:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761039104001,"power":28354,"unknown_79":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4510073580175179776}} 
[2026-04-17 12:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":45860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21283,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:51:29] local.INFO: GPS data processed {"connection_id":45860,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:51:29] local.INFO: Acknowledgment sent {"connection_id":45860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:51:43] local.INFO: TCP Data received {"connection_id":46063,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:51:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:51:43] local.INFO: Processing buffer {"connection_id":46063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:51:43] local.INFO: IMEI packet received {"connection_id":46063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:51:43] local.INFO: IMEI acknowledgment sent {"connection_id":46063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:51:49] local.INFO: TCP Data received {"connection_id":46063,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46063,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:51:49] local.INFO: Processing buffer {"connection_id":46063,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:51:49] local.INFO: IMEI packet received {"connection_id":46063,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":46063,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:51:50] local.INFO: TCP Data received {"connection_id":46063,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a490938012d19a080071ff010003500f626..."} 
[2026-04-17 12:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a490938012d19a080071ff010003500f626..."} 
[2026-04-17 12:51:50] local.INFO: Processing buffer {"connection_id":46063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a490938012d19a080071ff010003500f626..."} 
[2026-04-17 12:51:50] local.INFO: Packet analysis {"connection_id":46063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a49"} 
[2026-04-17 12:51:50] local.INFO: Extracted packet for processing {"connection_id":46063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a49"} 
[2026-04-17 12:51:50] local.INFO: GPS Element Parsed {"raw_longitude":756654208,"raw_latitude":119533584,"longitude_deg":75.6654208,"latitude_deg":11.9533584,"altitude":53,"angle":246,"satellites":38,"speed":13,"hex_longitude":"2d19a080","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-04-17 12:51:50] 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-04-17 12:51:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760952576001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:51:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 12:51:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846616615310856192,"note":"Value kept but may cause issues"} 
[2026-04-17 12: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-04-17 12:51:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776409971000,"timestamp_ms":1776409971000,"timestamp_seconds":1776409971,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a490938"} 
[2026-04-17 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-04-17 12:51:50] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":19,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 12:51:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1643,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 12:51:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:51:50] local.INFO: Teltonika packet parsed successfully {"connection_id":46063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:51:50] local.INFO: Passing IMEI to GPS processor {"connection_id":46063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:51:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":46063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:51:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:51:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:51:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:51:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760952576001,"66":5014,"121":206,"28":31744,"24":13,"16":113534634381279232,"45":1846616615310856192},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:51:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:51:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:51:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760952576001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:51:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:51:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:51:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:51:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846616615310856192,"description":"Unknown IO ID 45"} 
[2026-04-17 12:51:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760952576001,"power":5014,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1846616615310856192}} 
[2026-04-17 12:51:50] local.INFO: DEBUG: GPS processor result {"connection_id":46063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:51:50] local.INFO: GPS data processed {"connection_id":46063,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:51:50] local.INFO: Acknowledgment sent {"connection_id":46063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:51:50] local.INFO: TCP Data received {"connection_id":45861,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:51:50] local.INFO: Processing buffer {"connection_id":45861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:51:50] local.INFO: IMEI packet received {"connection_id":45861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":45861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:51:56] local.INFO: TCP Data received {"connection_id":45861,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:51:56] local.INFO: Processing buffer {"connection_id":45861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:51:56] local.INFO: IMEI packet received {"connection_id":45861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":45861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:51:57] local.INFO: TCP Data received {"connection_id":45861,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:51:57] local.INFO: Processing buffer {"connection_id":45861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4c4558012d7faa8005afd2f8000c000030..."} 
[2026-04-17 12:51:57] local.INFO: Packet analysis {"connection_id":45861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:51:57] local.INFO: Extracted packet for processing {"connection_id":45861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a4c"} 
[2026-04-17 12:51:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760929792001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776410183000,"timestamp_ms":1776410183000,"timestamp_seconds":1776410183,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4c4558"} 
[2026-04-17 12:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 12:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:51:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760929792001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760929792001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:51:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:51:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760929792001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":45861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:51:57] local.INFO: GPS data processed {"connection_id":45861,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:51:57] local.INFO: Acknowledgment sent {"connection_id":45861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:52:22] local.INFO: TCP Data received {"connection_id":46063,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a490938012d19a080071ff010003500f626..."} 
[2026-04-17 12:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46063,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a490938012d19a080071ff010003500f626..."} 
[2026-04-17 12:52:22] local.INFO: Processing buffer {"connection_id":46063,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a490938012d19a080071ff010003500f626..."} 
[2026-04-17 12:52:22] local.INFO: Packet analysis {"connection_id":46063,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a49"} 
[2026-04-17 12:52:22] local.INFO: Extracted packet for processing {"connection_id":46063,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a49"} 
[2026-04-17 12:52:22] local.INFO: GPS Element Parsed {"raw_longitude":756654208,"raw_latitude":119533584,"longitude_deg":75.6654208,"latitude_deg":11.9533584,"altitude":53,"angle":246,"satellites":38,"speed":13,"hex_longitude":"2d19a080","hex_latitude":"071ff010","is_valid_coordinates":true} 
[2026-04-17 12:52:22] 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-04-17 12:52:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760952576001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:52:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 12:52:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846616615310856192,"note":"Value kept but may cause issues"} 
[2026-04-17 12: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-04-17 12:52:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776409971000,"timestamp_ms":1776409971000,"timestamp_seconds":1776409971,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a490938"} 
[2026-04-17 12:52:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:52:22] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":19,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 12:52:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1643,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:52:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:52:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:52:22] local.INFO: Teltonika packet parsed successfully {"connection_id":46063,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:52:22] local.INFO: Passing IMEI to GPS processor {"connection_id":46063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:52:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":46063,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:52:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:52:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:52:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:52:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760952576001,"66":5014,"121":206,"28":31744,"24":13,"16":113534634381279232,"45":1846616615310856192},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:52:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:52:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:52:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760952576001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:52:22] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:52:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:52:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:52:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846616615310856192,"description":"Unknown IO ID 45"} 
[2026-04-17 12:52:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760952576001,"power":5014,"unknown_121":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1846616615310856192}} 
[2026-04-17 12:52:22] local.INFO: DEBUG: GPS processor result {"connection_id":46063,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21286,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:52:22] local.INFO: GPS data processed {"connection_id":46063,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:52:22] local.INFO: Acknowledgment sent {"connection_id":46063,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:52:28] local.INFO: TCP Data received {"connection_id":45861,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:52:28] local.INFO: Processing buffer {"connection_id":45861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:52:28] local.INFO: Packet analysis {"connection_id":45861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:52:28] local.INFO: Extracted packet for processing {"connection_id":45861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:52:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761006848001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776410484000,"timestamp_ms":1776410484000,"timestamp_seconds":1776410484,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a50dd20"} 
[2026-04-17 12:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:52: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-04-17 12:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761006848001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761006848001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:52:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:52:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761006848001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":45861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:52:28] local.INFO: GPS data processed {"connection_id":45861,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:52:28] local.INFO: Acknowledgment sent {"connection_id":45861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:52:49] local.INFO: TCP Data received {"connection_id":46635,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:52:49] local.INFO: Processing buffer {"connection_id":46635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:52:49] local.INFO: IMEI packet received {"connection_id":46635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":46635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:52:51] local.INFO: TCP Data received {"connection_id":46636,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:52:51] local.INFO: Processing buffer {"connection_id":46636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:52:51] local.INFO: IMEI packet received {"connection_id":46636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":46636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:52:54] local.INFO: TCP Data received {"connection_id":46635,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46635,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:52:54] local.INFO: Processing buffer {"connection_id":46635,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:52:54] local.INFO: IMEI packet received {"connection_id":46635,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":46635,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:52:55] local.INFO: TCP Data received {"connection_id":46635,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a490d20012d199f00071fefa00036010327..."} 
[2026-04-17 12:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a490d20012d199f00071fefa00036010327..."} 
[2026-04-17 12:52:55] local.INFO: Processing buffer {"connection_id":46635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a490d20012d199f00071fefa00036010327..."} 
[2026-04-17 12:52:55] local.INFO: Packet analysis {"connection_id":46635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a49"} 
[2026-04-17 12:52:55] local.INFO: Extracted packet for processing {"connection_id":46635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a49"} 
[2026-04-17 12:52:55] local.INFO: GPS Element Parsed {"raw_longitude":756653824,"raw_latitude":119533472,"longitude_deg":75.6653824,"latitude_deg":11.9533472,"altitude":54,"angle":259,"satellites":39,"speed":16,"hex_longitude":"2d199f00","hex_latitude":"071fefa0","is_valid_coordinates":true} 
[2026-04-17 12:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760952576001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 12:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846616615310856192,"note":"Value kept but may cause issues"} 
[2026-04-17 12:52: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-04-17 12:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776409972000,"timestamp_ms":1776409972000,"timestamp_seconds":1776409972,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a490d20"} 
[2026-04-17 12:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 12:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1643,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760952576001,"66":5014,"121":206,"28":31744,"24":16,"16":113534634381279232,"45":1846616615310856192},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760952576001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:52:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:52:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846616615310856192,"description":"Unknown IO ID 45"} 
[2026-04-17 12:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760952576001,"power":5014,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1846616615310856192}} 
[2026-04-17 12:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":46635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21288,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:52:55] local.INFO: GPS data processed {"connection_id":46635,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:52:55] local.INFO: Acknowledgment sent {"connection_id":46635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:52:56] local.INFO: TCP Data received {"connection_id":46636,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46636,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:52:56] local.INFO: Processing buffer {"connection_id":46636,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:52:56] local.INFO: IMEI packet received {"connection_id":46636,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":46636,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:52:57] local.INFO: TCP Data received {"connection_id":46636,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:52:57] local.INFO: Processing buffer {"connection_id":46636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:52:57] local.INFO: Packet analysis {"connection_id":46636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:52:57] local.INFO: Extracted packet for processing {"connection_id":46636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:52:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761006848001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776410484000,"timestamp_ms":1776410484000,"timestamp_seconds":1776410484,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a50dd20"} 
[2026-04-17 12:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761006848001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761006848001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:52:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:52:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761006848001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":46636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:52:57] local.INFO: GPS data processed {"connection_id":46636,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:52:57] local.INFO: Acknowledgment sent {"connection_id":46636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:53:28] local.INFO: TCP Data received {"connection_id":46636,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46636,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:53:28] local.INFO: Processing buffer {"connection_id":46636,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:53:28] local.INFO: Packet analysis {"connection_id":46636,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:53:28] local.INFO: Extracted packet for processing {"connection_id":46636,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:53:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761006848001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776410484000,"timestamp_ms":1776410484000,"timestamp_seconds":1776410484,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a50dd20"} 
[2026-04-17 12:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:53: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-04-17 12:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46636,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46636,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761006848001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761006848001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:53:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:53:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761006848001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":46636,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:53:28] local.INFO: GPS data processed {"connection_id":46636,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:53:28] local.INFO: Acknowledgment sent {"connection_id":46636,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:53:28] local.INFO: TCP Data received {"connection_id":46635,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4914f0012d199bc0071fefa80037011326..."} 
[2026-04-17 12:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46635,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4914f0012d199bc0071fefa80037011326..."} 
[2026-04-17 12:53:28] local.INFO: Processing buffer {"connection_id":46635,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4914f0012d199bc0071fefa80037011326..."} 
[2026-04-17 12:53:28] local.INFO: Packet analysis {"connection_id":46635,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a49"} 
[2026-04-17 12:53:28] local.INFO: Extracted packet for processing {"connection_id":46635,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a49"} 
[2026-04-17 12:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756652992,"raw_latitude":119533480,"longitude_deg":75.6652992,"latitude_deg":11.953348,"altitude":55,"angle":275,"satellites":38,"speed":18,"hex_longitude":"2d199bc0","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-04-17 12:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760952832001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 12:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846194402845761536,"note":"Value kept but may cause issues"} 
[2026-04-17 12:53: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-04-17 12:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776409974000,"timestamp_ms":1776409974000,"timestamp_seconds":1776409974,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4914f0"} 
[2026-04-17 12:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 12:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1643,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46635,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46635,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760952832001,"66":2612,"121":206,"28":31744,"24":18,"16":113534634381279232,"45":1846194402845761536},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760952832001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:53:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:53:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846194402845761536,"description":"Unknown IO ID 45"} 
[2026-04-17 12:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760952832001,"power":2612,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1846194402845761536}} 
[2026-04-17 12:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":46635,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:53:28] local.INFO: GPS data processed {"connection_id":46635,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:53:28] local.INFO: Acknowledgment sent {"connection_id":46635,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:53:48] local.INFO: TCP Data received {"connection_id":45862,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:53:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:53:48] local.INFO: Processing buffer {"connection_id":45862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:53:48] local.INFO: IMEI packet received {"connection_id":45862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:53:48] local.INFO: IMEI acknowledgment sent {"connection_id":45862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:53:50] local.INFO: TCP Data received {"connection_id":46064,"ip":"117.224.17.214","data_length":18,"data_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-04-17 12:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46064,"packet_length":18,"packet_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-04-17 12:53:50] local.INFO: Processing buffer {"connection_id":46064,"buffer_length":18,"buffer_hex":"55aa5501000a3102000310800be64bc2a62c..."} 
[2026-04-17 12:53:50] local.WARNING: No valid Teltonika packet found, clearing buffer {"connection_id":46064,"buffer_length":18,"first_bytes_hex":"55aa5501000a3102000310800be64bc2"} 
[2026-04-17 12:53:51] local.INFO: TCP Data received {"connection_id":46065,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:53:51] local.INFO: Processing buffer {"connection_id":46065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:53:51] local.INFO: IMEI packet received {"connection_id":46065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":46065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:53:55] local.INFO: TCP Data received {"connection_id":45862,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:53:55] local.INFO: Processing buffer {"connection_id":45862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:53:55] local.INFO: IMEI packet received {"connection_id":45862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":45862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:53:56] local.INFO: TCP Data received {"connection_id":46065,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46065,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:53:56] local.INFO: Processing buffer {"connection_id":46065,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:53:56] local.INFO: IMEI packet received {"connection_id":46065,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":46065,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:53:57] local.INFO: TCP Data received {"connection_id":46065,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:53:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:53:57] local.INFO: Processing buffer {"connection_id":46065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:53:57] local.INFO: Packet analysis {"connection_id":46065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:53:57] local.INFO: Extracted packet for processing {"connection_id":46065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:53:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:53:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761006848001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:53:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:53:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:53:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:53:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776410484000,"timestamp_ms":1776410484000,"timestamp_seconds":1776410484,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a50dd20"} 
[2026-04-17 12:53:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:53:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:53:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:53:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:53:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:53:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:53:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:53:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:53:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:53:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:53:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:53:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761006848001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:53:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:53:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:53:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761006848001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:53:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:53:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:53:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:53:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:53:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761006848001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":46065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:53:57] local.INFO: GPS data processed {"connection_id":46065,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:53:57] local.INFO: Acknowledgment sent {"connection_id":46065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:54:06] local.INFO: TCP Data received {"connection_id":45862,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4914f0012d199bc0071fefa80037011326..."} 
[2026-04-17 12:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4914f0012d199bc0071fefa80037011326..."} 
[2026-04-17 12:54:06] local.INFO: Processing buffer {"connection_id":45862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4914f0012d199bc0071fefa80037011326..."} 
[2026-04-17 12:54:06] local.INFO: Packet analysis {"connection_id":45862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a49"} 
[2026-04-17 12:54:06] local.INFO: Extracted packet for processing {"connection_id":45862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a49"} 
[2026-04-17 12:54:06] local.INFO: GPS Element Parsed {"raw_longitude":756652992,"raw_latitude":119533480,"longitude_deg":75.6652992,"latitude_deg":11.953348,"altitude":55,"angle":275,"satellites":38,"speed":18,"hex_longitude":"2d199bc0","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760952832001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 12:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846194402845761536,"note":"Value kept but may cause issues"} 
[2026-04-17 12:54: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-04-17 12:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776409974000,"timestamp_ms":1776409974000,"timestamp_seconds":1776409974,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4914f0"} 
[2026-04-17 12:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":19,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 12:54:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1643,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760952832001,"66":2612,"121":206,"28":31744,"24":18,"16":113534634381279232,"45":1846194402845761536},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760952832001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:54:06] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:54:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846194402845761536,"description":"Unknown IO ID 45"} 
[2026-04-17 12:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760952832001,"power":2612,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1846194402845761536}} 
[2026-04-17 12:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":45862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:54:06] local.INFO: GPS data processed {"connection_id":45862,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:54:06] local.INFO: Acknowledgment sent {"connection_id":45862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:54:28] local.INFO: TCP Data received {"connection_id":45777,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:54:28] local.INFO: Processing buffer {"connection_id":45777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:54:28] local.INFO: IMEI packet received {"connection_id":45777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:54:28] local.INFO: IMEI acknowledgment sent {"connection_id":45777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:54:28] local.INFO: TCP Data received {"connection_id":46065,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:54:28] local.INFO: Processing buffer {"connection_id":46065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:54:28] local.INFO: Packet analysis {"connection_id":46065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:54:28] local.INFO: Extracted packet for processing {"connection_id":46065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:54:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761006848001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776410484000,"timestamp_ms":1776410484000,"timestamp_seconds":1776410484,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a50dd20"} 
[2026-04-17 12:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:54: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-04-17 12: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-04-17 12:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46065,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761006848001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761006848001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:54:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:54:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761006848001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":46065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:54:28] local.INFO: GPS data processed {"connection_id":46065,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:54:28] local.INFO: Acknowledgment sent {"connection_id":46065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:54:33] local.INFO: TCP Data received {"connection_id":45777,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:54:33] local.INFO: Processing buffer {"connection_id":45777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:54:33] local.INFO: IMEI packet received {"connection_id":45777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:54:33] local.INFO: IMEI acknowledgment sent {"connection_id":45777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:54:41] local.INFO: TCP Data received {"connection_id":45777,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:54:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45777,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:54:41] local.INFO: Processing buffer {"connection_id":45777,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:54:41] local.INFO: IMEI packet received {"connection_id":45777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:54:41] local.INFO: IMEI acknowledgment sent {"connection_id":45777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:54:50] local.INFO: TCP Data received {"connection_id":46637,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:54:50] local.INFO: Processing buffer {"connection_id":46637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:54:50] local.INFO: IMEI packet received {"connection_id":46637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":46637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:54:54] local.INFO: TCP Data received {"connection_id":46638,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:54:54] local.INFO: Processing buffer {"connection_id":46638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:54:54] local.INFO: IMEI packet received {"connection_id":46638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:54:54] local.INFO: IMEI acknowledgment sent {"connection_id":46638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:54:56] local.INFO: TCP Data received {"connection_id":46637,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46637,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:54:56] local.INFO: Processing buffer {"connection_id":46637,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:54:56] local.INFO: IMEI packet received {"connection_id":46637,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":46637,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:54:57] local.INFO: TCP Data received {"connection_id":46637,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:54:57] local.INFO: Processing buffer {"connection_id":46637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:54:57] local.INFO: Packet analysis {"connection_id":46637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:54:57] local.INFO: Extracted packet for processing {"connection_id":46637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:54:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761006848001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776410484000,"timestamp_ms":1776410484000,"timestamp_seconds":1776410484,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a50dd20"} 
[2026-04-17 12:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761006848001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761006848001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:54:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:54:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761006848001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":46637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:54:57] local.INFO: GPS data processed {"connection_id":46637,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:54:57] local.INFO: Acknowledgment sent {"connection_id":46637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:54:59] local.INFO: TCP Data received {"connection_id":46638,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46638,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:54:59] local.INFO: Processing buffer {"connection_id":46638,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:54:59] local.INFO: IMEI packet received {"connection_id":46638,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":46638,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:55:00] local.INFO: TCP Data received {"connection_id":46638,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4914f0012d199bc0071fefa80037011326..."} 
[2026-04-17 12:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4914f0012d199bc0071fefa80037011326..."} 
[2026-04-17 12:55:00] local.INFO: Processing buffer {"connection_id":46638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4914f0012d199bc0071fefa80037011326..."} 
[2026-04-17 12:55:00] local.INFO: Packet analysis {"connection_id":46638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a49"} 
[2026-04-17 12:55:00] local.INFO: Extracted packet for processing {"connection_id":46638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a49"} 
[2026-04-17 12:55:00] local.INFO: GPS Element Parsed {"raw_longitude":756652992,"raw_latitude":119533480,"longitude_deg":75.6652992,"latitude_deg":11.953348,"altitude":55,"angle":275,"satellites":38,"speed":18,"hex_longitude":"2d199bc0","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-04-17 12:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760952832001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 12:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846194402845761536,"note":"Value kept but may cause issues"} 
[2026-04-17 12: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-04-17 12:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776409974000,"timestamp_ms":1776409974000,"timestamp_seconds":1776409974,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4914f0"} 
[2026-04-17 12:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:55:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":19,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 12:55:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1643,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760952832001,"66":2612,"121":206,"28":31744,"24":18,"16":113534634381279232,"45":1846194402845761536},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760952832001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:55:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:55:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846194402845761536,"description":"Unknown IO ID 45"} 
[2026-04-17 12:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760952832001,"power":2612,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1846194402845761536}} 
[2026-04-17 12:55:00] local.INFO: DEBUG: GPS processor result {"connection_id":46638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:55:00] local.INFO: GPS data processed {"connection_id":46638,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:55:00] local.INFO: Acknowledgment sent {"connection_id":46638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:55:04] local.INFO: TCP Data received {"connection_id":46638,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a4914f0012d199bc0071fefa80037011326..."} 
[2026-04-17 12:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46638,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a4914f0012d199bc0071fefa80037011326..."} 
[2026-04-17 12:55:04] local.INFO: Processing buffer {"connection_id":46638,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a4914f0012d199bc0071fefa80037011326..."} 
[2026-04-17 12:55:04] local.INFO: Packet analysis {"connection_id":46638,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a49"} 
[2026-04-17 12:55:04] local.INFO: Extracted packet for processing {"connection_id":46638,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a49"} 
[2026-04-17 12:55:04] local.INFO: GPS Element Parsed {"raw_longitude":756652992,"raw_latitude":119533480,"longitude_deg":75.6652992,"latitude_deg":11.953348,"altitude":55,"angle":275,"satellites":38,"speed":18,"hex_longitude":"2d199bc0","hex_latitude":"071fefa8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:55:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760952832001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:55:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 12:55:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846194402845761536,"note":"Value kept but may cause issues"} 
[2026-04-17 12:55:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:55:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776409974000,"timestamp_ms":1776409974000,"timestamp_seconds":1776409974,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a4914f0"} 
[2026-04-17 12:55:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:55:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":19,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 12:55:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1643,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:55:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:55:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:55:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46638,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:55:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:55:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46638,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:55:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:55:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:55:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:55:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760952832001,"66":2612,"121":206,"28":31744,"24":18,"16":113534634381279232,"45":1846194402845761536},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:55:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:55:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:55:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760952832001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:55:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:55:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:55:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:55:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846194402845761536,"description":"Unknown IO ID 45"} 
[2026-04-17 12:55:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760952832001,"power":2612,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1846194402845761536}} 
[2026-04-17 12:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":46638,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21297,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:55:05] local.INFO: GPS data processed {"connection_id":46638,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:55:05] local.INFO: Acknowledgment sent {"connection_id":46638,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:55:11] local.INFO: TCP Data received {"connection_id":45777,"ip":"117.224.17.214","data_length":1360,"data_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019d9a..."} 
[2026-04-17 12:55:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45777,"packet_length":1360,"packet_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019d9a..."} 
[2026-04-17 12:55:11] local.INFO: Processing buffer {"connection_id":45777,"buffer_length":1360,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019d9a..."} 
[2026-04-17 12:55:11] local.INFO: IMEI packet received {"connection_id":45777,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:55:11] local.INFO: IMEI acknowledgment sent {"connection_id":45777,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:55:28] local.INFO: TCP Data received {"connection_id":46637,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46637,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:55:28] local.INFO: Processing buffer {"connection_id":46637,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:55:28] local.INFO: Packet analysis {"connection_id":46637,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:55:28] local.INFO: Extracted packet for processing {"connection_id":46637,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:55:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761006848001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776410484000,"timestamp_ms":1776410484000,"timestamp_seconds":1776410484,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a50dd20"} 
[2026-04-17 12:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:55: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-04-17 12: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-04-17 12:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46637,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46637,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761006848001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761006848001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:55:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:55:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761006848001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":46637,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:55:28] local.INFO: GPS data processed {"connection_id":46637,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:55:28] local.INFO: Acknowledgment sent {"connection_id":46637,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:55:31] local.INFO: TCP Data received {"connection_id":45863,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:55:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:55:31] local.INFO: Processing buffer {"connection_id":45863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:55:31] local.INFO: IMEI packet received {"connection_id":45863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:55:31] local.INFO: IMEI acknowledgment sent {"connection_id":45863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:55:32] local.INFO: TCP Data received {"connection_id":45863,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:55:32] local.INFO: Processing buffer {"connection_id":45863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:55:32] local.INFO: IMEI packet received {"connection_id":45863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:55:32] local.INFO: IMEI acknowledgment sent {"connection_id":45863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:55:36] local.INFO: TCP Data received {"connection_id":45863,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:55:36] local.INFO: Processing buffer {"connection_id":45863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:55:36] local.INFO: IMEI packet received {"connection_id":45863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":45863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:55:38] local.INFO: TCP Data received {"connection_id":45863,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45863,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:55:38] local.INFO: Processing buffer {"connection_id":45863,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:55:38] local.INFO: IMEI packet received {"connection_id":45863,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:55:38] local.INFO: IMEI acknowledgment sent {"connection_id":45863,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:55:41] local.INFO: TCP Data received {"connection_id":45863,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5238c8012d41fdc006981d08002200642d..."} 
[2026-04-17 12:55:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5238c8012d41fdc006981d08002200642d..."} 
[2026-04-17 12:55:41] local.INFO: Processing buffer {"connection_id":45863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5238c8012d41fdc006981d08002200642d..."} 
[2026-04-17 12:55:41] local.INFO: Packet analysis {"connection_id":45863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a52"} 
[2026-04-17 12:55:41] local.INFO: Extracted packet for processing {"connection_id":45863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a52"} 
[2026-04-17 12:55:41] local.INFO: GPS Element Parsed {"raw_longitude":759299520,"raw_latitude":110632200,"longitude_deg":75.929952,"latitude_deg":11.06322,"altitude":34,"angle":100,"satellites":45,"speed":11,"hex_longitude":"2d41fdc0","hex_latitude":"06981d08","is_valid_coordinates":true} 
[2026-04-17 12:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:55:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761101312001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:55:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:55:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4743838548315838464,"note":"Value kept but may cause issues"} 
[2026-04-17 12:55:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:55:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776410573000,"timestamp_ms":1776410573000,"timestamp_seconds":1776410573,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5238c8"} 
[2026-04-17 12:55:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:55:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 12:55:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 12:55:41] 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-04-17 12:55:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:55:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:55:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:55:41] local.INFO: Teltonika packet parsed successfully {"connection_id":45863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:55:41] local.INFO: Passing IMEI to GPS processor {"connection_id":45863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:55:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":45863,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:55:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:55:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:55:41] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:55:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761101312001,"66":27941,"212":206,"19":48128,"24":11,"16":106618783551979520,"45":4743838548315838464},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,19,24,16,45]} 
[2026-04-17 12:55:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:55:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:55:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761101312001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:55:41] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-04-17 12:55:41] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:55:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:55:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":4743838548315838464,"description":"Unknown IO ID 45"} 
[2026-04-17 12:55:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761101312001,"power":27941,"unknown_212":206,"unknown_19":48128,"ignition":11,"odometer":null,"unknown_45":4743838548315838464}} 
[2026-04-17 12:55:41] local.INFO: DEBUG: GPS processor result {"connection_id":45863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21299,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:55:41] local.INFO: GPS data processed {"connection_id":45863,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:55:41] local.INFO: Acknowledgment sent {"connection_id":45863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:55:48] local.INFO: TCP Data received {"connection_id":45778,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:55:48] local.INFO: Processing buffer {"connection_id":45778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:55:48] local.INFO: IMEI packet received {"connection_id":45778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":45778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:55:50] local.INFO: TCP Data received {"connection_id":46066,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:55:50] local.INFO: Processing buffer {"connection_id":46066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:55:50] local.INFO: IMEI packet received {"connection_id":46066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":46066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:55:54] local.INFO: TCP Data received {"connection_id":45778,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:55:54] local.INFO: Processing buffer {"connection_id":45778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:55:54] local.INFO: IMEI packet received {"connection_id":45778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":45778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:55:55] local.INFO: TCP Data received {"connection_id":45778,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:55:55] local.INFO: Processing buffer {"connection_id":45778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:55:55] local.INFO: Packet analysis {"connection_id":45778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:55:55] local.INFO: Extracted packet for processing {"connection_id":45778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:55:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760953344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 12:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845279609171453952,"note":"Value kept but may cause issues"} 
[2026-04-17 12: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-04-17 12:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776410717000,"timestamp_ms":1776410717000,"timestamp_seconds":1776410717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a546b48"} 
[2026-04-17 12:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 12:55:55] 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-04-17 12: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-04-17 12:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760953344001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1845279609171453952},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760953344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:55:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845279609171453952,"description":"Unknown IO ID 45"} 
[2026-04-17 12:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760953344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1845279609171453952}} 
[2026-04-17 12:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":45778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:55:55] local.INFO: GPS data processed {"connection_id":45778,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:55:55] local.INFO: Acknowledgment sent {"connection_id":45778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:55:56] local.INFO: TCP Data received {"connection_id":46066,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:55:56] local.INFO: Processing buffer {"connection_id":46066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:55:56] local.INFO: IMEI packet received {"connection_id":46066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":46066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:56:01] local.INFO: TCP Data received {"connection_id":46066,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:56:01] local.INFO: Processing buffer {"connection_id":46066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:56:01] local.INFO: Packet analysis {"connection_id":46066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:56:01] local.INFO: Extracted packet for processing {"connection_id":46066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761006848001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776410484000,"timestamp_ms":1776410484000,"timestamp_seconds":1776410484,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a50dd20"} 
[2026-04-17 12:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:56: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-04-17 12:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761006848001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761006848001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:56:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761006848001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":46066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:56:01] local.INFO: GPS data processed {"connection_id":46066,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:56:01] local.INFO: Acknowledgment sent {"connection_id":46066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:56:10] local.INFO: TCP Data received {"connection_id":46067,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:56:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:56:10] local.INFO: Processing buffer {"connection_id":46067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:56:10] local.INFO: IMEI packet received {"connection_id":46067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:56:10] local.INFO: IMEI acknowledgment sent {"connection_id":46067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:56:12] local.INFO: TCP Data received {"connection_id":46067,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:56:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46067,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:56:12] local.INFO: Processing buffer {"connection_id":46067,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:56:12] local.INFO: IMEI packet received {"connection_id":46067,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:56:12] local.INFO: IMEI acknowledgment sent {"connection_id":46067,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:56:13] local.INFO: TCP Data received {"connection_id":46067,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5238c8012d41fdc006981d08002200642d..."} 
[2026-04-17 12:56:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5238c8012d41fdc006981d08002200642d..."} 
[2026-04-17 12:56:13] local.INFO: Processing buffer {"connection_id":46067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5238c8012d41fdc006981d08002200642d..."} 
[2026-04-17 12:56:13] local.INFO: Packet analysis {"connection_id":46067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a52"} 
[2026-04-17 12:56:13] local.INFO: Extracted packet for processing {"connection_id":46067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a52"} 
[2026-04-17 12:56:13] local.INFO: GPS Element Parsed {"raw_longitude":759299520,"raw_latitude":110632200,"longitude_deg":75.929952,"latitude_deg":11.06322,"altitude":34,"angle":100,"satellites":45,"speed":11,"hex_longitude":"2d41fdc0","hex_latitude":"06981d08","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:56:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761106688001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4755167916127488000,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:56:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776410573000,"timestamp_ms":1776410573000,"timestamp_seconds":1776410573,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5238c8"} 
[2026-04-17 12:56:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:56:13] 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-04-17 12: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 12:56:13] 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-04-17 12: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-04-17 12:56:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:56:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:56:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:56:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46067,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:56:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46067,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:56:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:56:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:56:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:56:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761106688001,"66":27941,"212":206,"19":48128,"24":11,"16":106618783551979520,"45":4755167916127488000},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,19,24,16,45]} 
[2026-04-17 12:56:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:56:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:56:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761106688001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:56:13] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-04-17 12:56:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:56:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:56:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4755167916127488000,"description":"Unknown IO ID 45"} 
[2026-04-17 12:56:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761106688001,"power":27941,"unknown_212":206,"unknown_19":48128,"ignition":11,"odometer":null,"unknown_45":4755167916127488000}} 
[2026-04-17 12:56:13] local.INFO: DEBUG: GPS processor result {"connection_id":46067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21302,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:56:13] local.INFO: GPS data processed {"connection_id":46067,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:56:13] local.INFO: Acknowledgment sent {"connection_id":46067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:56:15] local.INFO: TCP Data received {"connection_id":46067,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a528eb8012d41fdc006981d08002200642d..."} 
[2026-04-17 12:56:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a528eb8012d41fdc006981d08002200642d..."} 
[2026-04-17 12:56:15] local.INFO: Processing buffer {"connection_id":46067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a528eb8012d41fdc006981d08002200642d..."} 
[2026-04-17 12:56:15] local.INFO: Packet analysis {"connection_id":46067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a52"} 
[2026-04-17 12:56:15] local.INFO: Extracted packet for processing {"connection_id":46067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a52"} 
[2026-04-17 12:56:15] local.INFO: GPS Element Parsed {"raw_longitude":759299520,"raw_latitude":110632200,"longitude_deg":75.929952,"latitude_deg":11.06322,"altitude":34,"angle":100,"satellites":45,"speed":0,"hex_longitude":"2d41fdc0","hex_latitude":"06981d08","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:56:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761106688001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4755167916127488000,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:56:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776410595000,"timestamp_ms":1776410595000,"timestamp_seconds":1776410595,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a528eb8"} 
[2026-04-17 12:56:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:56:15] 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-04-17 12: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":109,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 12:56:15] 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-04-17 12: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-04-17 12:56:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:56:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:56:15] local.INFO: Teltonika packet parsed successfully {"connection_id":46067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:56:15] local.INFO: Passing IMEI to GPS processor {"connection_id":46067,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:56:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":46067,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:56:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:56:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:56:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:56:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761106688001,"66":28354,"212":206,"19":48128,"24":0,"16":106618783551979520,"45":4755167916127488000},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,19,24,16,45]} 
[2026-04-17 12:56:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:56:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:56:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761106688001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:56:15] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-04-17 12:56:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:56:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:56:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4755167916127488000,"description":"Unknown IO ID 45"} 
[2026-04-17 12:56:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761106688001,"power":28354,"unknown_212":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4755167916127488000}} 
[2026-04-17 12:56:15] local.INFO: DEBUG: GPS processor result {"connection_id":46067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21303,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:56:15] local.INFO: GPS data processed {"connection_id":46067,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:56:15] local.INFO: Acknowledgment sent {"connection_id":46067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:56:27] local.INFO: TCP Data received {"connection_id":45778,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:56:27] local.INFO: Processing buffer {"connection_id":45778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:56:27] local.INFO: Packet analysis {"connection_id":45778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:56:27] local.INFO: Extracted packet for processing {"connection_id":45778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:56:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760953344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845279609171453952,"note":"Value kept but may cause issues"} 
[2026-04-17 12: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-04-17 12:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776410717000,"timestamp_ms":1776410717000,"timestamp_seconds":1776410717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a546b48"} 
[2026-04-17 12:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 12:56:27] 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-04-17 12: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-04-17 12:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760953344001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1845279609171453952},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760953344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:56:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:56:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845279609171453952,"description":"Unknown IO ID 45"} 
[2026-04-17 12:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760953344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1845279609171453952}} 
[2026-04-17 12:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":45778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21304,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:56:27] local.INFO: GPS data processed {"connection_id":45778,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:56:27] local.INFO: Acknowledgment sent {"connection_id":45778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:56:32] local.INFO: TCP Data received {"connection_id":46066,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:56:32] local.INFO: Processing buffer {"connection_id":46066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:56:32] local.INFO: Packet analysis {"connection_id":46066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:56:32] local.INFO: Extracted packet for processing {"connection_id":46066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:56:32] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761006848001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776410484000,"timestamp_ms":1776410484000,"timestamp_seconds":1776410484,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a50dd20"} 
[2026-04-17 12:56:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:56:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:56:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:56:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:56:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761006848001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761006848001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:56:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:56:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761006848001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":46066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:56:32] local.INFO: GPS data processed {"connection_id":46066,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:56:32] local.INFO: Acknowledgment sent {"connection_id":46066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:56:48] local.INFO: TCP Data received {"connection_id":46639,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:56:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:56:48] local.INFO: Processing buffer {"connection_id":46639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:56:48] local.INFO: IMEI packet received {"connection_id":46639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:56:48] local.INFO: IMEI acknowledgment sent {"connection_id":46639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:56:49] local.INFO: TCP Data received {"connection_id":46067,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a52e0c0012d422e8006980bb00025006e31..."} 
[2026-04-17 12:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a52e0c0012d422e8006980bb00025006e31..."} 
[2026-04-17 12:56:49] local.INFO: Processing buffer {"connection_id":46067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a52e0c0012d422e8006980bb00025006e31..."} 
[2026-04-17 12:56:49] local.INFO: Packet analysis {"connection_id":46067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a52"} 
[2026-04-17 12:56:49] local.INFO: Extracted packet for processing {"connection_id":46067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a52"} 
[2026-04-17 12:56:49] local.INFO: GPS Element Parsed {"raw_longitude":759312000,"raw_latitude":110627760,"longitude_deg":75.9312,"latitude_deg":11.062776,"altitude":37,"angle":110,"satellites":49,"speed":0,"hex_longitude":"2d422e80","hex_latitude":"06980bb0","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:56:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761112320001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4755167916127488000,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:56:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776410616000,"timestamp_ms":1776410616000,"timestamp_seconds":1776410616,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a52e0c0"} 
[2026-04-17 12:56:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:56: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-04-17 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 12:56:49] 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-04-17 12: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-04-17 12:56:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:56:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:56:49] local.INFO: Teltonika packet parsed successfully {"connection_id":46067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:56:49] local.INFO: Passing IMEI to GPS processor {"connection_id":46067,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:56:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":46067,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:56:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:56:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:56:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:56:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761112320001,"66":28376,"212":206,"19":48128,"24":0,"16":106618783551979520,"45":4755167916127488000},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,19,24,16,45]} 
[2026-04-17 12:56:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:56:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:56:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761112320001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:56:49] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-04-17 12:56:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:56:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:56:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":4755167916127488000,"description":"Unknown IO ID 45"} 
[2026-04-17 12:56:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761112320001,"power":28376,"unknown_212":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4755167916127488000}} 
[2026-04-17 12:56:49] local.INFO: DEBUG: GPS processor result {"connection_id":46067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21306,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:56:49] local.INFO: GPS data processed {"connection_id":46067,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:56:49] local.INFO: Acknowledgment sent {"connection_id":46067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:56:50] local.INFO: TCP Data received {"connection_id":46068,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:56:50] local.INFO: Processing buffer {"connection_id":46068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:56:50] local.INFO: IMEI packet received {"connection_id":46068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":46068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:56:54] local.INFO: TCP Data received {"connection_id":46639,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46639,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:56:54] local.INFO: Processing buffer {"connection_id":46639,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:56:54] local.INFO: IMEI packet received {"connection_id":46639,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":46639,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:56:55] local.INFO: TCP Data received {"connection_id":46639,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:56:55] local.INFO: Processing buffer {"connection_id":46639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:56:55] local.INFO: Packet analysis {"connection_id":46639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:56:55] local.INFO: Extracted packet for processing {"connection_id":46639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:56:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 12:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760953344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845279609171453952,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56: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-04-17 12:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776410717000,"timestamp_ms":1776410717000,"timestamp_seconds":1776410717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a546b48"} 
[2026-04-17 12:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:56:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 12:56:55] 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-04-17 12:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760953344001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1845279609171453952},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760953344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:56:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:56:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845279609171453952,"description":"Unknown IO ID 45"} 
[2026-04-17 12:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760953344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1845279609171453952}} 
[2026-04-17 12:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":46639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:56:55] local.INFO: GPS data processed {"connection_id":46639,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:56:55] local.INFO: Acknowledgment sent {"connection_id":46639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:56:56] local.INFO: TCP Data received {"connection_id":46068,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:56:56] local.INFO: Processing buffer {"connection_id":46068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:56:56] local.INFO: IMEI packet received {"connection_id":46068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":46068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:56:57] local.INFO: TCP Data received {"connection_id":46068,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:56:57] local.INFO: Processing buffer {"connection_id":46068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a50dd20012d7faa8005afd2f8000c000032..."} 
[2026-04-17 12:56:57] local.INFO: Packet analysis {"connection_id":46068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:56:57] local.INFO: Extracted packet for processing {"connection_id":46068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a50"} 
[2026-04-17 12:56:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761006848001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776410484000,"timestamp_ms":1776410484000,"timestamp_seconds":1776410484,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a50dd20"} 
[2026-04-17 12:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761006848001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761006848001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:56:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:56:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761006848001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":46068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:56:57] local.INFO: GPS data processed {"connection_id":46068,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:56:57] local.INFO: Acknowledgment sent {"connection_id":46068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:57:06] local.INFO: TCP Data received {"connection_id":46069,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:57:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46069,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:57:06] local.INFO: Processing buffer {"connection_id":46069,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:57:06] local.INFO: IMEI packet received {"connection_id":46069,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:57:06] local.INFO: IMEI acknowledgment sent {"connection_id":46069,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:57:10] local.INFO: TCP Data received {"connection_id":46069,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:57:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46069,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:57:10] local.INFO: Processing buffer {"connection_id":46069,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:57:10] local.INFO: IMEI packet received {"connection_id":46069,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:57:10] local.INFO: IMEI acknowledgment sent {"connection_id":46069,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:57:16] local.INFO: TCP Data received {"connection_id":46069,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5332c8012d4264000697f8400028006d30..."} 
[2026-04-17 12:57:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5332c8012d4264000697f8400028006d30..."} 
[2026-04-17 12:57:16] local.INFO: Processing buffer {"connection_id":46069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5332c8012d4264000697f8400028006d30..."} 
[2026-04-17 12:57:16] local.INFO: Packet analysis {"connection_id":46069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a53"} 
[2026-04-17 12:57:16] local.INFO: Extracted packet for processing {"connection_id":46069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a53"} 
[2026-04-17 12:57:16] local.INFO: GPS Element Parsed {"raw_longitude":759325696,"raw_latitude":110622784,"longitude_deg":75.9325696,"latitude_deg":11.0622784,"altitude":40,"angle":109,"satellites":48,"speed":0,"hex_longitude":"2d426400","hex_latitude":"0697f840","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:57:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761117696001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:57:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:57:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4768889821240995840,"note":"Value kept but may cause issues"} 
[2026-04-17 12:57:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:57:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776410637000,"timestamp_ms":1776410637000,"timestamp_seconds":1776410637,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5332c8"} 
[2026-04-17 12:57:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:57:16] 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-04-17 12: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 12:57:16] 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-04-17 12: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-04-17 12:57:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:57:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:57:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:57:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46069,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:57:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46069,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:57:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:57:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:57:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:57:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761117696001,"66":28332,"212":206,"19":48128,"24":0,"16":106618783551979520,"45":4768889821240995840},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,19,24,16,45]} 
[2026-04-17 12:57:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:57:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:57:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761117696001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:57:16] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-04-17 12:57:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:57:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:57:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4768889821240995840,"description":"Unknown IO ID 45"} 
[2026-04-17 12:57:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761117696001,"power":28332,"unknown_212":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4768889821240995840}} 
[2026-04-17 12:57:16] local.INFO: DEBUG: GPS processor result {"connection_id":46069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21309,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:57:16] local.INFO: GPS data processed {"connection_id":46069,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:57:16] local.INFO: Acknowledgment sent {"connection_id":46069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:57:26] local.INFO: TCP Data received {"connection_id":46069,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5384d0012d4297c00697e638002d007131..."} 
[2026-04-17 12:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5384d0012d4297c00697e638002d007131..."} 
[2026-04-17 12:57:26] local.INFO: Processing buffer {"connection_id":46069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5384d0012d4297c00697e638002d007131..."} 
[2026-04-17 12:57:26] local.INFO: Packet analysis {"connection_id":46069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a53"} 
[2026-04-17 12:57:26] local.INFO: Extracted packet for processing {"connection_id":46069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a53"} 
[2026-04-17 12:57:26] local.INFO: GPS Element Parsed {"raw_longitude":759338944,"raw_latitude":110618168,"longitude_deg":75.9338944,"latitude_deg":11.0618168,"altitude":45,"angle":113,"satellites":49,"speed":0,"hex_longitude":"2d4297c0","hex_latitude":"0697e638","is_valid_coordinates":true} 
[2026-04-17 12:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761123072001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4783948732493742080,"note":"Value kept but may cause issues"} 
[2026-04-17 12:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,212,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776410658000,"timestamp_ms":1776410658000,"timestamp_seconds":1776410658,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5384d0"} 
[2026-04-17 12:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:57:26] 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-04-17 12:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-17 12:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46069,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46069,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:57:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761123072001,"66":28452,"212":206,"19":48128,"24":0,"16":106618783551979520,"45":4783948732493742080},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,212,19,24,16,45]} 
[2026-04-17 12:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761123072001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:57:26] local.INFO: Unknown IO ID detected {"io_id":212,"value":206,"description":"Unknown IO ID 212"} 
[2026-04-17 12:57:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":4783948732493742080,"description":"Unknown IO ID 45"} 
[2026-04-17 12:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761123072001,"power":28452,"unknown_212":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4783948732493742080}} 
[2026-04-17 12:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":46069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21310,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:57:26] local.INFO: GPS data processed {"connection_id":46069,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:57:26] local.INFO: Acknowledgment sent {"connection_id":46069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:57:27] local.INFO: TCP Data received {"connection_id":46639,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46639,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:57:27] local.INFO: Processing buffer {"connection_id":46639,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:57:27] local.INFO: Packet analysis {"connection_id":46639,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:57:27] local.INFO: Extracted packet for processing {"connection_id":46639,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:57:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 12:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760953344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 12:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845279609171453952,"note":"Value kept but may cause issues"} 
[2026-04-17 12:57: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-04-17 12:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776410717000,"timestamp_ms":1776410717000,"timestamp_seconds":1776410717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a546b48"} 
[2026-04-17 12:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 12:57:27] 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-04-17 12:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46639,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46639,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760953344001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1845279609171453952},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760953344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:57:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:57:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845279609171453952,"description":"Unknown IO ID 45"} 
[2026-04-17 12:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760953344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1845279609171453952}} 
[2026-04-17 12:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":46639,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21311,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:57:27] local.INFO: GPS data processed {"connection_id":46639,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:57:27] local.INFO: Acknowledgment sent {"connection_id":46639,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:57:28] local.INFO: TCP Data received {"connection_id":46068,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 12:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 12:57:28] local.INFO: Processing buffer {"connection_id":46068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 12:57:28] local.INFO: Packet analysis {"connection_id":46068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 12:57:28] local.INFO: Extracted packet for processing {"connection_id":46068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 12:57:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761083904001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776410785000,"timestamp_ms":1776410785000,"timestamp_seconds":1776410785,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5574e8"} 
[2026-04-17 12:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:57: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-04-17 12: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-04-17 12:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761083904001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761083904001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:57:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:57:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761083904001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":46068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:57:28] local.INFO: GPS data processed {"connection_id":46068,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:57:28] local.INFO: Acknowledgment sent {"connection_id":46068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:57:51] local.INFO: TCP Data received {"connection_id":45779,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:57:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:57:51] local.INFO: Processing buffer {"connection_id":45779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:57:51] local.INFO: IMEI packet received {"connection_id":45779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:57:51] local.INFO: IMEI acknowledgment sent {"connection_id":45779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:57:54] local.INFO: TCP Data received {"connection_id":46640,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:57:54] local.INFO: Processing buffer {"connection_id":46640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:57:54] local.INFO: IMEI packet received {"connection_id":46640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":46640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:57:56] local.INFO: TCP Data received {"connection_id":45779,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45779,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:57:56] local.INFO: Processing buffer {"connection_id":45779,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:57:56] local.INFO: IMEI packet received {"connection_id":45779,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":45779,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:57:57] local.INFO: TCP Data received {"connection_id":45779,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 12:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 12:57:57] local.INFO: Processing buffer {"connection_id":45779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 12:57:57] local.INFO: Packet analysis {"connection_id":45779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 12:57:57] local.INFO: Extracted packet for processing {"connection_id":45779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 12:57:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761083904001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776410785000,"timestamp_ms":1776410785000,"timestamp_seconds":1776410785,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5574e8"} 
[2026-04-17 12:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761083904001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761083904001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:57:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:57:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761083904001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":45779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:57:57] local.INFO: GPS data processed {"connection_id":45779,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:57:57] local.INFO: Acknowledgment sent {"connection_id":45779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:57:59] local.INFO: TCP Data received {"connection_id":46640,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46640,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:57:59] local.INFO: Processing buffer {"connection_id":46640,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:57:59] local.INFO: IMEI packet received {"connection_id":46640,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:57:59] local.INFO: IMEI acknowledgment sent {"connection_id":46640,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:58:00] local.INFO: TCP Data received {"connection_id":46640,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:58:00] local.INFO: Processing buffer {"connection_id":46640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:58:00] local.INFO: Packet analysis {"connection_id":46640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:58:00] local.INFO: Extracted packet for processing {"connection_id":46640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:58:00] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760953344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 12:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845279609171453952,"note":"Value kept but may cause issues"} 
[2026-04-17 12:58: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-04-17 12:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776410717000,"timestamp_ms":1776410717000,"timestamp_seconds":1776410717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a546b48"} 
[2026-04-17 12:58:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 12:58:00] 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-04-17 12: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-04-17 12:58:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760953344001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1845279609171453952},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760953344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:58:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:58:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845279609171453952,"description":"Unknown IO ID 45"} 
[2026-04-17 12:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760953344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1845279609171453952}} 
[2026-04-17 12:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":46640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21314,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:58:00] local.INFO: GPS data processed {"connection_id":46640,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:58:00] local.INFO: Acknowledgment sent {"connection_id":46640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:58:04] local.INFO: TCP Data received {"connection_id":46640,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:58:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46640,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:58:04] local.INFO: Processing buffer {"connection_id":46640,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:58:04] local.INFO: Packet analysis {"connection_id":46640,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:58:04] local.INFO: Extracted packet for processing {"connection_id":46640,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:58:04] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:58:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760953344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:58:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 12:58:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845279609171453952,"note":"Value kept but may cause issues"} 
[2026-04-17 12:58:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:58:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776410717000,"timestamp_ms":1776410717000,"timestamp_seconds":1776410717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a546b48"} 
[2026-04-17 12:58:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:58:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 12:58:04] 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-04-17 12: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-04-17 12:58:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:58:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:58:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46640,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:58:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:58:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46640,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:58:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:58:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:58:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:58:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760953344001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1845279609171453952},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:58:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:58:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:58:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760953344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:58:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:58:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:58:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:58:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845279609171453952,"description":"Unknown IO ID 45"} 
[2026-04-17 12:58:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760953344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1845279609171453952}} 
[2026-04-17 12:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":46640,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:58:05] local.INFO: GPS data processed {"connection_id":46640,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:58:05] local.INFO: Acknowledgment sent {"connection_id":46640,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:58:20] local.INFO: TCP Data received {"connection_id":46641,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:58:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:58:20] local.INFO: Processing buffer {"connection_id":46641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:58:20] local.INFO: IMEI packet received {"connection_id":46641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:58:20] local.INFO: IMEI acknowledgment sent {"connection_id":46641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:58:22] local.INFO: TCP Data received {"connection_id":46641,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:58:22] local.INFO: Processing buffer {"connection_id":46641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:58:22] local.INFO: IMEI packet received {"connection_id":46641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":46641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:58:24] local.INFO: TCP Data received {"connection_id":46641,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:58:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46641,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:58:24] local.INFO: Processing buffer {"connection_id":46641,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:58:24] local.INFO: IMEI packet received {"connection_id":46641,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:58:24] local.INFO: IMEI acknowledgment sent {"connection_id":46641,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:58:25] local.INFO: TCP Data received {"connection_id":46641,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a548a880100000000000000000000000000..."} 
[2026-04-17 12:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46641,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a548a880100000000000000000000000000..."} 
[2026-04-17 12:58:25] local.INFO: Processing buffer {"connection_id":46641,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a548a880100000000000000000000000000..."} 
[2026-04-17 12:58:25] local.INFO: Packet analysis {"connection_id":46641,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:58:25] local.INFO: Extracted packet for processing {"connection_id":46641,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:58: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-04-17 12: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-04-17 12:58:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761128448001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:58:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:58:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4798515062537336832,"note":"Value kept but may cause issues"} 
[2026-04-17 12:58:25] 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-04-17 12:58:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776410725000,"timestamp_ms":1776410725000,"timestamp_seconds":1776410725,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a548a88"} 
[2026-04-17 12:58:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:58:25] 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-04-17 12: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":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 12:58:25] 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-04-17 12: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-04-17 12:58:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:58:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:58:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46641,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:58:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:58:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46641,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:58:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:58:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:58:25] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:58:25] local.INFO: DEBUG: GPS processor result {"connection_id":46641,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 12:58:25] local.INFO: GPS data processed {"connection_id":46641,"processed":0,"errors":0,"total":1} 
[2026-04-17 12:58:25] local.INFO: Acknowledgment sent {"connection_id":46641,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:58:28] local.INFO: TCP Data received {"connection_id":45779,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 12:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45779,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 12:58:28] local.INFO: Processing buffer {"connection_id":45779,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 12:58:28] local.INFO: Packet analysis {"connection_id":45779,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 12:58:28] local.INFO: Extracted packet for processing {"connection_id":45779,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 12:58:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761083904001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776410785000,"timestamp_ms":1776410785000,"timestamp_seconds":1776410785,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5574e8"} 
[2026-04-17 12:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:58: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-04-17 12: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-04-17 12:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45779,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45779,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761083904001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761083904001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:58:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761083904001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":45779,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:58:28] local.INFO: GPS data processed {"connection_id":45779,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:58:28] local.INFO: Acknowledgment sent {"connection_id":45779,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:58:49] local.INFO: TCP Data received {"connection_id":46070,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:58:49] local.INFO: Processing buffer {"connection_id":46070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:58:49] local.INFO: IMEI packet received {"connection_id":46070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":46070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:58:50] local.INFO: TCP Data received {"connection_id":46071,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:58:50] local.INFO: Processing buffer {"connection_id":46071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:58:50] local.INFO: IMEI packet received {"connection_id":46071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":46071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:58:54] local.INFO: TCP Data received {"connection_id":46070,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46070,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:58:54] local.INFO: Processing buffer {"connection_id":46070,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:58:54] local.INFO: IMEI packet received {"connection_id":46070,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:58:54] local.INFO: IMEI acknowledgment sent {"connection_id":46070,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:58:55] local.INFO: TCP Data received {"connection_id":46070,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:58:55] local.INFO: Processing buffer {"connection_id":46070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:58:55] local.INFO: Packet analysis {"connection_id":46070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:58:55] local.INFO: Extracted packet for processing {"connection_id":46070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:58:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760953344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 12:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845279609171453952,"note":"Value kept but may cause issues"} 
[2026-04-17 12:58: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-04-17 12:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776410717000,"timestamp_ms":1776410717000,"timestamp_seconds":1776410717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a546b48"} 
[2026-04-17 12:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:58:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 12:58:55] 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-04-17 12: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-04-17 12:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:58:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760953344001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1845279609171453952},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760953344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:58:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:58:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845279609171453952,"description":"Unknown IO ID 45"} 
[2026-04-17 12:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760953344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1845279609171453952}} 
[2026-04-17 12:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":46070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21317,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:58:56] local.INFO: GPS data processed {"connection_id":46070,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:58:56] local.INFO: Acknowledgment sent {"connection_id":46070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:58:56] local.INFO: TCP Data received {"connection_id":46071,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46071,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:58:56] local.INFO: Processing buffer {"connection_id":46071,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:58:56] local.INFO: IMEI packet received {"connection_id":46071,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":46071,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:58:57] local.INFO: TCP Data received {"connection_id":46071,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 12:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 12:58:57] local.INFO: Processing buffer {"connection_id":46071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 12:58:57] local.INFO: Packet analysis {"connection_id":46071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 12:58:57] local.INFO: Extracted packet for processing {"connection_id":46071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 12:58:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:58: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-04-17 12:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761083904001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776410785000,"timestamp_ms":1776410785000,"timestamp_seconds":1776410785,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5574e8"} 
[2026-04-17 12:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:58:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:58: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-04-17 12:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761083904001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761083904001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:58:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:58:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761083904001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":46071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21318,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:58:57] local.INFO: GPS data processed {"connection_id":46071,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:58:57] local.INFO: Acknowledgment sent {"connection_id":46071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:59:11] local.INFO: TCP Data received {"connection_id":45864,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:59:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:59:11] local.INFO: Processing buffer {"connection_id":45864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:59:11] local.INFO: IMEI packet received {"connection_id":45864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 12:59:11] local.INFO: IMEI acknowledgment sent {"connection_id":45864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:59:14] local.INFO: TCP Data received {"connection_id":45864,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:59:14] local.INFO: Processing buffer {"connection_id":45864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:59:14] local.INFO: IMEI packet received {"connection_id":45864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":45864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:59:16] local.INFO: TCP Data received {"connection_id":45864,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:59:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45864,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:59:16] local.INFO: Processing buffer {"connection_id":45864,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 12:59:16] local.INFO: IMEI packet received {"connection_id":45864,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 12:59:16] local.INFO: IMEI acknowledgment sent {"connection_id":45864,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:59:18] local.INFO: TCP Data received {"connection_id":45864,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a56a598012d43938006958e70000900a62c..."} 
[2026-04-17 12:59:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a56a598012d43938006958e70000900a62c..."} 
[2026-04-17 12:59:18] local.INFO: Processing buffer {"connection_id":45864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a56a598012d43938006958e70000900a62c..."} 
[2026-04-17 12:59:18] local.INFO: Packet analysis {"connection_id":45864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a56"} 
[2026-04-17 12:59:18] local.INFO: Extracted packet for processing {"connection_id":45864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a56"} 
[2026-04-17 12:59:18] local.INFO: GPS Element Parsed {"raw_longitude":759403392,"raw_latitude":110464624,"longitude_deg":75.9403392,"latitude_deg":11.0464624,"altitude":9,"angle":166,"satellites":44,"speed":12,"hex_longitude":"2d439380","hex_latitude":"06958e70","is_valid_coordinates":true} 
[2026-04-17 12:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:59:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761176064001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:59:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:59:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4864661682027407360,"note":"Value kept but may cause issues"} 
[2026-04-17 12:59:18] 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-04-17 12:59:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776410863000,"timestamp_ms":1776410863000,"timestamp_seconds":1776410863,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a56a598"} 
[2026-04-17 12:59:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:59: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-04-17 12:59:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 12:59:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12:59:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 12:59:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:59:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:59:18] local.INFO: Teltonika packet parsed successfully {"connection_id":45864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:59:18] local.INFO: Passing IMEI to GPS processor {"connection_id":45864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:59:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":45864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:59:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:59:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:59:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:59:18] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761176064001,"66":28354,"237":206,"19":48128,"24":12,"16":106618783551979520,"45":4864661682027407360},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-04-17 12:59:18] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:59:18] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:59:18] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761176064001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:59:18] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-17 12:59:18] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:59:18] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:59:18] local.INFO: Unknown IO ID detected {"io_id":45,"value":4864661682027407360,"description":"Unknown IO ID 45"} 
[2026-04-17 12:59:18] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761176064001,"power":28354,"unknown_237":206,"unknown_19":48128,"ignition":12,"odometer":null,"unknown_45":4864661682027407360}} 
[2026-04-17 12:59:18] local.INFO: DEBUG: GPS processor result {"connection_id":45864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21319,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:59:18] local.INFO: GPS data processed {"connection_id":45864,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:59:18] local.INFO: Acknowledgment sent {"connection_id":45864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:59:21] local.INFO: TCP Data received {"connection_id":45864,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a56f7a0012d43938006958e70000900a62c..."} 
[2026-04-17 12:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a56f7a0012d43938006958e70000900a62c..."} 
[2026-04-17 12:59:21] local.INFO: Processing buffer {"connection_id":45864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a56f7a0012d43938006958e70000900a62c..."} 
[2026-04-17 12:59:21] local.INFO: Packet analysis {"connection_id":45864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a56"} 
[2026-04-17 12:59:21] local.INFO: Extracted packet for processing {"connection_id":45864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a56"} 
[2026-04-17 12:59:21] local.INFO: GPS Element Parsed {"raw_longitude":759403392,"raw_latitude":110464624,"longitude_deg":75.9403392,"latitude_deg":11.0464624,"altitude":9,"angle":166,"satellites":44,"speed":0,"hex_longitude":"2d439380","hex_latitude":"06958e70","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:59:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761180928001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:59:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 12:59:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4869376387884937216,"note":"Value kept but may cause issues"} 
[2026-04-17 12:59:21] 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-04-17 12:59:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776410884000,"timestamp_ms":1776410884000,"timestamp_seconds":1776410884,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a56f7a0"} 
[2026-04-17 12:59:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:59: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-04-17 12: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 12:59:21] 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-04-17 12: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-04-17 12:59:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:59:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:59:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:59:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:59:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45864,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 12:59:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:59:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 12:59:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 12:59:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761180928001,"66":28006,"237":206,"19":48128,"24":0,"16":106618783551979520,"45":4869376387884937216},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-04-17 12:59:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 12:59:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 12:59:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761180928001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:59:21] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-17 12:59:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 12:59:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:59:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4869376387884937216,"description":"Unknown IO ID 45"} 
[2026-04-17 12:59:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761180928001,"power":28006,"unknown_237":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4869376387884937216}} 
[2026-04-17 12:59:21] local.INFO: DEBUG: GPS processor result {"connection_id":45864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21320,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:59:21] local.INFO: GPS data processed {"connection_id":45864,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:59:21] local.INFO: Acknowledgment sent {"connection_id":45864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:59:27] local.INFO: TCP Data received {"connection_id":46070,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:59:27] local.INFO: Processing buffer {"connection_id":46070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:59:27] local.INFO: Packet analysis {"connection_id":46070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:59:27] local.INFO: Extracted packet for processing {"connection_id":46070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760953344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 12:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845279609171453952,"note":"Value kept but may cause issues"} 
[2026-04-17 12:59: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-04-17 12:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776410717000,"timestamp_ms":1776410717000,"timestamp_seconds":1776410717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a546b48"} 
[2026-04-17 12:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 12:59:27] 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-04-17 12: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-04-17 12:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46070,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760953344001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1845279609171453952},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760953344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:59:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:59:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845279609171453952,"description":"Unknown IO ID 45"} 
[2026-04-17 12:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760953344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1845279609171453952}} 
[2026-04-17 12:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":46070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21321,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:59:27] local.INFO: GPS data processed {"connection_id":46070,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:59:27] local.INFO: Acknowledgment sent {"connection_id":46070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:59:28] local.INFO: TCP Data received {"connection_id":46071,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 12:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 12:59:28] local.INFO: Processing buffer {"connection_id":46071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 12:59:28] local.INFO: Packet analysis {"connection_id":46071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 12:59:28] local.INFO: Extracted packet for processing {"connection_id":46071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 12:59:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 12:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761083904001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776410785000,"timestamp_ms":1776410785000,"timestamp_seconds":1776410785,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5574e8"} 
[2026-04-17 12:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:59: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-04-17 12: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-04-17 12:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46071,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761083904001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761083904001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:59:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:59:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761083904001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":46071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21322,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:59:28] local.INFO: GPS data processed {"connection_id":46071,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:59:28] local.INFO: Acknowledgment sent {"connection_id":46071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:59:49] local.INFO: TCP Data received {"connection_id":45865,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:59:49] local.INFO: Processing buffer {"connection_id":45865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:59:49] local.INFO: IMEI packet received {"connection_id":45865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 12:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":45865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:59:51] local.INFO: TCP Data received {"connection_id":46642,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:59:51] local.INFO: Processing buffer {"connection_id":46642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:59:51] local.INFO: IMEI packet received {"connection_id":46642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 12:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":46642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 12:59:54] local.INFO: TCP Data received {"connection_id":45865,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:59:54] local.INFO: Processing buffer {"connection_id":45865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 12:59:54] local.INFO: IMEI packet received {"connection_id":45865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 12:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":45865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:59:56] local.INFO: TCP Data received {"connection_id":45865,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:59:56] local.INFO: Processing buffer {"connection_id":45865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 12:59:56] local.INFO: Packet analysis {"connection_id":45865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:59:56] local.INFO: Extracted packet for processing {"connection_id":45865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 12:59:56] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760953344001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 12:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845279609171453952,"note":"Value kept but may cause issues"} 
[2026-04-17 12:59: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-04-17 12:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776410717000,"timestamp_ms":1776410717000,"timestamp_seconds":1776410717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a546b48"} 
[2026-04-17 12:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12: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":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 12:59:56] 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-04-17 12: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-04-17 12:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 12:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 12:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 12:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760953344001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1845279609171453952},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 12:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 12:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 12:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760953344001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:59:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 12:59:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 12:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845279609171453952,"description":"Unknown IO ID 45"} 
[2026-04-17 12:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760953344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1845279609171453952}} 
[2026-04-17 12:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":45865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21323,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:59:56] local.INFO: GPS data processed {"connection_id":45865,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:59:56] local.INFO: Acknowledgment sent {"connection_id":45865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 12:59:56] local.INFO: TCP Data received {"connection_id":46642,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46642,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:59:56] local.INFO: Processing buffer {"connection_id":46642,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 12:59:56] local.INFO: IMEI packet received {"connection_id":46642,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 12:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":46642,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 12:59:56] local.INFO: TCP Data received {"connection_id":46642,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 12:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 12:59:56] local.INFO: Processing buffer {"connection_id":46642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 12:59:56] local.INFO: Packet analysis {"connection_id":46642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 12:59:56] local.INFO: Extracted packet for processing {"connection_id":46642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 12:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 12: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-04-17 12:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761083904001,"note":"Value kept but may cause issues"} 
[2026-04-17 12:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 12:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 12:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 12:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776410785000,"timestamp_ms":1776410785000,"timestamp_seconds":1776410785,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5574e8"} 
[2026-04-17 12:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 12:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 12:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 12:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 12: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-04-17 12:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 12:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 12:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 12:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 12:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 12:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 12:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 12:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761083904001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 12:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 12:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 12:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761083904001,"description":"Unknown IO ID 0"} 
[2026-04-17 12:59:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 12:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 12:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 12:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 12:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761083904001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 12:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":46642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 12:59:56] local.INFO: GPS data processed {"connection_id":46642,"processed":1,"errors":0,"total":1} 
[2026-04-17 12:59:56] local.INFO: Acknowledgment sent {"connection_id":46642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:00:11] local.INFO: TCP Data received {"connection_id":46643,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:00:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:00:11] local.INFO: Processing buffer {"connection_id":46643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:00:11] local.INFO: IMEI packet received {"connection_id":46643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:00:11] local.INFO: IMEI acknowledgment sent {"connection_id":46643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:00:12] local.INFO: TCP Data received {"connection_id":46643,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:00:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46643,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:00:12] local.INFO: Processing buffer {"connection_id":46643,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:00:12] local.INFO: IMEI packet received {"connection_id":46643,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:00:12] local.INFO: IMEI acknowledgment sent {"connection_id":46643,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:00:15] local.INFO: TCP Data received {"connection_id":46643,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a572a68012d439a0006955e40000f00b92e..."} 
[2026-04-17 13:00:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a572a68012d439a0006955e40000f00b92e..."} 
[2026-04-17 13:00:15] local.INFO: Processing buffer {"connection_id":46643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a572a68012d439a0006955e40000f00b92e..."} 
[2026-04-17 13:00:15] local.INFO: Packet analysis {"connection_id":46643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a57"} 
[2026-04-17 13:00:15] local.INFO: Extracted packet for processing {"connection_id":46643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a57"} 
[2026-04-17 13:00:15] local.INFO: GPS Element Parsed {"raw_longitude":759405056,"raw_latitude":110452288,"longitude_deg":75.9405056,"latitude_deg":11.0452288,"altitude":15,"angle":185,"satellites":46,"speed":18,"hex_longitude":"2d439a00","hex_latitude":"06955e40","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:00:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761186304001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4869376387884937216,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:15] 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-04-17 13:00:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776410897000,"timestamp_ms":1776410897000,"timestamp_seconds":1776410897,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a572a68"} 
[2026-04-17 13:00:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:00:15] 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-04-17 13: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":109,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 13:00:15] 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-04-17 13: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-04-17 13:00:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:00:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:00:15] local.INFO: Teltonika packet parsed successfully {"connection_id":46643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:00:15] local.INFO: Passing IMEI to GPS processor {"connection_id":46643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:00:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":46643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:00:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:00:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:00:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:00:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761186304001,"66":28332,"237":206,"19":48128,"24":18,"16":106618783551979520,"45":4869376387884937216},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-04-17 13:00:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:00:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:00:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761186304001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:00:15] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-17 13:00:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:00:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:00:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":4869376387884937216,"description":"Unknown IO ID 45"} 
[2026-04-17 13:00:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761186304001,"power":28332,"unknown_237":206,"unknown_19":48128,"ignition":18,"odometer":null,"unknown_45":4869376387884937216}} 
[2026-04-17 13:00:15] local.INFO: DEBUG: GPS processor result {"connection_id":46643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21325,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:00:15] local.INFO: GPS data processed {"connection_id":46643,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:00:15] local.INFO: Acknowledgment sent {"connection_id":46643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:00:16] local.INFO: TCP Data received {"connection_id":46643,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a577c70012d439a0006955e40000f00b92e..."} 
[2026-04-17 13:00:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a577c70012d439a0006955e40000f00b92e..."} 
[2026-04-17 13:00:16] local.INFO: Processing buffer {"connection_id":46643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a577c70012d439a0006955e40000f00b92e..."} 
[2026-04-17 13:00:16] local.INFO: Packet analysis {"connection_id":46643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a57"} 
[2026-04-17 13:00:16] local.INFO: Extracted packet for processing {"connection_id":46643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a57"} 
[2026-04-17 13:00:16] local.INFO: GPS Element Parsed {"raw_longitude":759405056,"raw_latitude":110452288,"longitude_deg":75.9405056,"latitude_deg":11.0452288,"altitude":15,"angle":185,"satellites":46,"speed":0,"hex_longitude":"2d439a00","hex_latitude":"06955e40","is_valid_coordinates":true} 
[2026-04-17 13:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:00:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761189632001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4871205975230398464,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:16] 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-04-17 13:00:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776410918000,"timestamp_ms":1776410918000,"timestamp_seconds":1776410918,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a577c70"} 
[2026-04-17 13:00:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:00:16] 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-04-17 13:00:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-17 13:00:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:00:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:00:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:00:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:00:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:00:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:00:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:00:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:00:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:00:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:00:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761189632001,"66":28354,"237":206,"19":48128,"24":0,"16":106618783551979520,"45":4871205975230398464},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,19,24,16,45]} 
[2026-04-17 13:00:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:00:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:00:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761189632001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:00:16] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-17 13:00:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:00:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:00:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4871205975230398464,"description":"Unknown IO ID 45"} 
[2026-04-17 13:00:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761189632001,"power":28354,"unknown_237":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4871205975230398464}} 
[2026-04-17 13:00:17] local.INFO: DEBUG: GPS processor result {"connection_id":46643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21326,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:00:17] local.INFO: GPS data processed {"connection_id":46643,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:00:17] local.INFO: Acknowledgment sent {"connection_id":46643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:00:27] local.INFO: TCP Data received {"connection_id":45865,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:00:27] local.INFO: Processing buffer {"connection_id":45865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:00:27] local.INFO: Packet analysis {"connection_id":45865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 13:00:27] local.INFO: Extracted packet for processing {"connection_id":45865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 13:00:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760953344001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845279609171453952,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00: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-04-17 13:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776410717000,"timestamp_ms":1776410717000,"timestamp_seconds":1776410717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a546b48"} 
[2026-04-17 13:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 13:00:27] 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-04-17 13:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760953344001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1845279609171453952},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760953344001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:00:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:00:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845279609171453952,"description":"Unknown IO ID 45"} 
[2026-04-17 13:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760953344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1845279609171453952}} 
[2026-04-17 13:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":45865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:00:27] local.INFO: GPS data processed {"connection_id":45865,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:00:27] local.INFO: Acknowledgment sent {"connection_id":45865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:00:28] local.INFO: TCP Data received {"connection_id":46642,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 13:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46642,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 13:00:28] local.INFO: Processing buffer {"connection_id":46642,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 13:00:28] local.INFO: Packet analysis {"connection_id":46642,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 13:00:28] local.INFO: Extracted packet for processing {"connection_id":46642,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 13:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761083904001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776410785000,"timestamp_ms":1776410785000,"timestamp_seconds":1776410785,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5574e8"} 
[2026-04-17 13:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:00: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-04-17 13:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46642,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46642,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761083904001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761083904001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:00:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:00:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761083904001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":46642,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:00:28] local.INFO: GPS data processed {"connection_id":46642,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:00:28] local.INFO: Acknowledgment sent {"connection_id":46642,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:00:48] local.INFO: TCP Data received {"connection_id":46643,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a57ab50012d438a00069524a8000d00c432..."} 
[2026-04-17 13:00:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46643,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a57ab50012d438a00069524a8000d00c432..."} 
[2026-04-17 13:00:48] local.INFO: Processing buffer {"connection_id":46643,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a57ab50012d438a00069524a8000d00c432..."} 
[2026-04-17 13:00:48] local.INFO: Packet analysis {"connection_id":46643,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a57"} 
[2026-04-17 13:00:48] local.INFO: Extracted packet for processing {"connection_id":46643,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a57"} 
[2026-04-17 13:00:48] local.INFO: GPS Element Parsed {"raw_longitude":759400960,"raw_latitude":110437544,"longitude_deg":75.940096,"latitude_deg":11.0437544,"altitude":13,"angle":196,"satellites":50,"speed":31,"hex_longitude":"2d438a00","hex_latitude":"069524a8","is_valid_coordinates":true} 
[2026-04-17 13:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:00:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761195008001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4871205975230398464,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:48] 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-04-17 13:00:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776410930000,"timestamp_ms":1776410930000,"timestamp_seconds":1776410930,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a57ab50"} 
[2026-04-17 13:00:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:00:48] 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-04-17 13:00:48] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:00: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-04-17 13:00: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-04-17 13:00:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:00:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:00:48] local.INFO: Teltonika packet parsed successfully {"connection_id":46643,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:00:48] local.INFO: Passing IMEI to GPS processor {"connection_id":46643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:00:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":46643,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:00:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:00:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:00:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:00:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761195008001,"66":28343,"238":206,"19":48128,"24":31,"16":106618783551979520,"45":4871205975230398464},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-04-17 13:00:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:00:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:00:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761195008001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:00:48] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-04-17 13:00:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:00:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:00:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4871205975230398464,"description":"Unknown IO ID 45"} 
[2026-04-17 13:00:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761195008001,"power":28343,"unknown_238":206,"unknown_19":48128,"ignition":31,"odometer":null,"unknown_45":4871205975230398464}} 
[2026-04-17 13:00:48] local.INFO: DEBUG: GPS processor result {"connection_id":46643,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21329,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:00:48] local.INFO: GPS data processed {"connection_id":46643,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:00:48] local.INFO: Acknowledgment sent {"connection_id":46643,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:00:49] local.INFO: TCP Data received {"connection_id":45780,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:00:49] local.INFO: Processing buffer {"connection_id":45780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:00:49] local.INFO: IMEI packet received {"connection_id":45780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":45780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:00:50] local.INFO: TCP Data received {"connection_id":46072,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:00:50] local.INFO: Processing buffer {"connection_id":46072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:00:50] local.INFO: IMEI packet received {"connection_id":46072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":46072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:00:54] local.INFO: TCP Data received {"connection_id":45780,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45780,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:00:54] local.INFO: Processing buffer {"connection_id":45780,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:00:54] local.INFO: IMEI packet received {"connection_id":45780,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":45780,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:00:55] local.INFO: TCP Data received {"connection_id":45780,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:00:55] local.INFO: Processing buffer {"connection_id":45780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a546b48012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:00:55] local.INFO: Packet analysis {"connection_id":45780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 13:00:55] local.INFO: Extracted packet for processing {"connection_id":45780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a54"} 
[2026-04-17 13:00:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454760953344001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845279609171453952,"note":"Value kept but may cause issues"} 
[2026-04-17 13: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-04-17 13:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776410717000,"timestamp_ms":1776410717000,"timestamp_seconds":1776410717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a546b48"} 
[2026-04-17 13:00:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:00:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18944,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":10,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 13:00:55] 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-04-17 13: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-04-17 13:00:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:00:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454760953344001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1845279609171453952},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454760953344001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:00:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:00:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845279609171453952,"description":"Unknown IO ID 45"} 
[2026-04-17 13:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454760953344001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1845279609171453952}} 
[2026-04-17 13:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":45780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:00:55] local.INFO: GPS data processed {"connection_id":45780,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:00:55] local.INFO: Acknowledgment sent {"connection_id":45780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:00:57] local.INFO: TCP Data received {"connection_id":46072,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:00:57] local.INFO: Processing buffer {"connection_id":46072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:00:57] local.INFO: IMEI packet received {"connection_id":46072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":46072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:00:58] local.INFO: TCP Data received {"connection_id":46072,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 13:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 13:00:58] local.INFO: Processing buffer {"connection_id":46072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 13:00:58] local.INFO: Packet analysis {"connection_id":46072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 13:00:58] local.INFO: Extracted packet for processing {"connection_id":46072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 13:00:58] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761083904001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776410785000,"timestamp_ms":1776410785000,"timestamp_seconds":1776410785,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5574e8"} 
[2026-04-17 13:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:00:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:00:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761083904001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761083904001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:00:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:00:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761083904001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":46072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:00:58] local.INFO: GPS data processed {"connection_id":46072,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:00:58] local.INFO: Acknowledgment sent {"connection_id":46072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:01:04] local.INFO: TCP Data received {"connection_id":46073,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:01:04] local.INFO: Processing buffer {"connection_id":46073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:01:04] local.INFO: IMEI packet received {"connection_id":46073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":46073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:01:11] local.INFO: TCP Data received {"connection_id":46073,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:01:11] local.INFO: Processing buffer {"connection_id":46073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:01:11] local.INFO: IMEI packet received {"connection_id":46073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:01:11] local.INFO: IMEI acknowledgment sent {"connection_id":46073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:01:12] local.INFO: TCP Data received {"connection_id":46073,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a57fd58012d4374400694e2f0000d00c533..."} 
[2026-04-17 13:01:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a57fd58012d4374400694e2f0000d00c533..."} 
[2026-04-17 13:01:12] local.INFO: Processing buffer {"connection_id":46073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a57fd58012d4374400694e2f0000d00c533..."} 
[2026-04-17 13:01:12] local.INFO: Packet analysis {"connection_id":46073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a57"} 
[2026-04-17 13:01:12] local.INFO: Extracted packet for processing {"connection_id":46073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a57"} 
[2026-04-17 13:01:12] local.INFO: GPS Element Parsed {"raw_longitude":759395392,"raw_latitude":110420720,"longitude_deg":75.9395392,"latitude_deg":11.042072,"altitude":13,"angle":197,"satellites":51,"speed":0,"hex_longitude":"2d437440","hex_latitude":"0694e2f0","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:01:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761198080001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:01:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:01:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4866702375599253504,"note":"Value kept but may cause issues"} 
[2026-04-17 13:01:12] 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-04-17 13:01:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776410951000,"timestamp_ms":1776410951000,"timestamp_seconds":1776410951,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a57fd58"} 
[2026-04-17 13:01:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:01:12] 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-04-17 13: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":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-17 13:01:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2395,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:01:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:01:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:01:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:01:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:01:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:01:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:01:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:01:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:01:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761198080001,"66":28376,"238":206,"19":48128,"24":0,"16":106618783551979520,"45":4866702375599253504},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-04-17 13:01:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:01:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:01:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761198080001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:01:12] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-04-17 13:01:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:01:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:01:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":4866702375599253504,"description":"Unknown IO ID 45"} 
[2026-04-17 13:01:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761198080001,"power":28376,"unknown_238":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4866702375599253504}} 
[2026-04-17 13:01:12] local.INFO: DEBUG: GPS processor result {"connection_id":46073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21332,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:01:12] local.INFO: GPS data processed {"connection_id":46073,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:01:12] local.INFO: Acknowledgment sent {"connection_id":46073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:01:27] local.INFO: TCP Data received {"connection_id":45780,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:01:27] local.INFO: Processing buffer {"connection_id":45780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:01:27] local.INFO: Packet analysis {"connection_id":45780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:01:27] local.INFO: Extracted packet for processing {"connection_id":45780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:01:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761143552001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:01: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-04-17 13:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776411017000,"timestamp_ms":1776411017000,"timestamp_seconds":1776411017,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a58ff28"} 
[2026-04-17 13:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:01:27] 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-04-17 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:01: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-04-17 13: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-04-17 13:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45780,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761143552001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761143552001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:01:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:01:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761143552001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":45780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:01:27] local.INFO: GPS data processed {"connection_id":45780,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:01:27] local.INFO: Acknowledgment sent {"connection_id":45780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:01:29] local.INFO: TCP Data received {"connection_id":46072,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 13:01:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 13:01:29] local.INFO: Processing buffer {"connection_id":46072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 13:01:29] local.INFO: Packet analysis {"connection_id":46072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 13:01:29] local.INFO: Extracted packet for processing {"connection_id":46072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 13:01:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:01:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761083904001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:01:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:01:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:01:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:01:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776410785000,"timestamp_ms":1776410785000,"timestamp_seconds":1776410785,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5574e8"} 
[2026-04-17 13:01:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:01:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:01:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:01:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:01:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:01:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:01:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:01:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:01: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-04-17 13:01:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:01:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:01:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761083904001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:01:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:01:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:01:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761083904001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:01:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:01:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:01:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:01:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:01:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761083904001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:01:29] local.INFO: DEBUG: GPS processor result {"connection_id":46072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:01:29] local.INFO: GPS data processed {"connection_id":46072,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:01:29] local.INFO: Acknowledgment sent {"connection_id":46072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:01:44] local.INFO: TCP Data received {"connection_id":46073,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a584f60012d435d400694a260001200cb2c..."} 
[2026-04-17 13:01:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a584f60012d435d400694a260001200cb2c..."} 
[2026-04-17 13:01:44] local.INFO: Processing buffer {"connection_id":46073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a584f60012d435d400694a260001200cb2c..."} 
[2026-04-17 13:01:44] local.INFO: Packet analysis {"connection_id":46073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:01:44] local.INFO: Extracted packet for processing {"connection_id":46073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:01:44] local.INFO: GPS Element Parsed {"raw_longitude":759389504,"raw_latitude":110404192,"longitude_deg":75.9389504,"latitude_deg":11.0404192,"altitude":18,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d435d40","hex_latitude":"0694a260","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:01:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761203456001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:01:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:01:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4860580294851489792,"note":"Value kept but may cause issues"} 
[2026-04-17 13:01:44] 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-04-17 13:01:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776410972000,"timestamp_ms":1776410972000,"timestamp_seconds":1776410972,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a584f60"} 
[2026-04-17 13:01:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:01:44] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 13:01:44] 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-04-17 13: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-04-17 13:01:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:01:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:01:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:01:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:01:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46073,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:01:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:01:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:01:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:01:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761203456001,"66":28300,"238":206,"19":48128,"24":0,"16":106618783551979520,"45":4860580294851489792},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-04-17 13:01:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:01:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:01:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761203456001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:01:44] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-04-17 13:01:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:01:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:01:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4860580294851489792,"description":"Unknown IO ID 45"} 
[2026-04-17 13:01:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761203456001,"power":28300,"unknown_238":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4860580294851489792}} 
[2026-04-17 13:01:44] local.INFO: DEBUG: GPS processor result {"connection_id":46073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21335,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:01:44] local.INFO: GPS data processed {"connection_id":46073,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:01:44] local.INFO: Acknowledgment sent {"connection_id":46073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:01:48] local.INFO: TCP Data received {"connection_id":46644,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:01:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:01:48] local.INFO: Processing buffer {"connection_id":46644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:01:48] local.INFO: IMEI packet received {"connection_id":46644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:01:48] local.INFO: IMEI acknowledgment sent {"connection_id":46644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:01:50] local.INFO: TCP Data received {"connection_id":46645,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:01:50] local.INFO: Processing buffer {"connection_id":46645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:01:50] local.INFO: IMEI packet received {"connection_id":46645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":46645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:01:53] local.INFO: TCP Data received {"connection_id":46644,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46644,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:01:53] local.INFO: Processing buffer {"connection_id":46644,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:01:53] local.INFO: IMEI packet received {"connection_id":46644,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":46644,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:01:55] local.INFO: TCP Data received {"connection_id":46644,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:01:55] local.INFO: Processing buffer {"connection_id":46644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:01:55] local.INFO: Packet analysis {"connection_id":46644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:01:55] local.INFO: Extracted packet for processing {"connection_id":46644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:01:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:01:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761143552001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:01:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:01:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:01: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-04-17 13:01:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776411017000,"timestamp_ms":1776411017000,"timestamp_seconds":1776411017,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a58ff28"} 
[2026-04-17 13:01:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:01:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:01: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-04-17 13: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-04-17 13:01:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:01:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:01:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:01:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:01:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:01:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:01:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:01:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:01:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761143552001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:01:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:01:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:01:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761143552001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:01:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:01:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:01:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:01:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:01:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761143552001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:01:55] local.INFO: DEBUG: GPS processor result {"connection_id":46644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:01:55] local.INFO: GPS data processed {"connection_id":46644,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:01:55] local.INFO: Acknowledgment sent {"connection_id":46644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:01:56] local.INFO: TCP Data received {"connection_id":46645,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46645,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:01:56] local.INFO: Processing buffer {"connection_id":46645,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:01:56] local.INFO: IMEI packet received {"connection_id":46645,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":46645,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:01:56] local.INFO: TCP Data received {"connection_id":46645,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 13:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 13:01:57] local.INFO: Processing buffer {"connection_id":46645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5574e8012d7faa8005afd2f8000e000032..."} 
[2026-04-17 13:01:57] local.INFO: Packet analysis {"connection_id":46645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 13:01:57] local.INFO: Extracted packet for processing {"connection_id":46645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a55"} 
[2026-04-17 13:01:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":14,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761083904001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776410785000,"timestamp_ms":1776410785000,"timestamp_seconds":1776410785,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5574e8"} 
[2026-04-17 13:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:01:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:01:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761083904001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761083904001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:01:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:01:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761083904001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":46645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:01:57] local.INFO: GPS data processed {"connection_id":46645,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:01:57] local.INFO: Acknowledgment sent {"connection_id":46645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:02:05] local.INFO: TCP Data received {"connection_id":45866,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:02:05] local.INFO: Processing buffer {"connection_id":45866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:02:05] local.INFO: IMEI packet received {"connection_id":45866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:02:05] local.INFO: IMEI acknowledgment sent {"connection_id":45866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:02:10] local.INFO: TCP Data received {"connection_id":45866,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:02:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45866,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:02:10] local.INFO: Processing buffer {"connection_id":45866,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:02:10] local.INFO: IMEI packet received {"connection_id":45866,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:02:10] local.INFO: IMEI acknowledgment sent {"connection_id":45866,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:02:13] local.INFO: TCP Data received {"connection_id":45866,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a58a168012d43458006946c10001600c92d..."} 
[2026-04-17 13:02:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a58a168012d43458006946c10001600c92d..."} 
[2026-04-17 13:02:13] local.INFO: Processing buffer {"connection_id":45866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a58a168012d43458006946c10001600c92d..."} 
[2026-04-17 13:02:13] local.INFO: Packet analysis {"connection_id":45866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:02:13] local.INFO: Extracted packet for processing {"connection_id":45866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:02:13] local.INFO: GPS Element Parsed {"raw_longitude":759383424,"raw_latitude":110390288,"longitude_deg":75.9383424,"latitude_deg":11.0390288,"altitude":22,"angle":201,"satellites":45,"speed":0,"hex_longitude":"2d434580","hex_latitude":"06946c10","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:02:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761208832001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:02:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:02:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4854106370382913536,"note":"Value kept but may cause issues"} 
[2026-04-17 13:02:13] 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-04-17 13:02:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776410993000,"timestamp_ms":1776410993000,"timestamp_seconds":1776410993,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a58a168"} 
[2026-04-17 13:02:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:02:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 13:02:13] 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-04-17 13: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-04-17 13:02:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:02:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:02:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:02:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:02:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:02:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:02:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:02:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:02:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761208832001,"66":27941,"238":206,"19":48128,"24":0,"16":106618783551979520,"45":4854106370382913536},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-04-17 13:02:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:02:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:02:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761208832001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:02:13] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-04-17 13:02:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:02:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:02:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4854106370382913536,"description":"Unknown IO ID 45"} 
[2026-04-17 13:02:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761208832001,"power":27941,"unknown_238":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4854106370382913536}} 
[2026-04-17 13:02:13] local.INFO: DEBUG: GPS processor result {"connection_id":45866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21338,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:02:13] local.INFO: GPS data processed {"connection_id":45866,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:02:13] local.INFO: Acknowledgment sent {"connection_id":45866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:02:28] local.INFO: TCP Data received {"connection_id":46645,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46645,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:02:28] local.INFO: Processing buffer {"connection_id":46645,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:02:28] local.INFO: Packet analysis {"connection_id":46645,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:02:28] local.INFO: Extracted packet for processing {"connection_id":46645,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:02:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761160960001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776411086000,"timestamp_ms":1776411086000,"timestamp_seconds":1776411086,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5a0cb0"} 
[2026-04-17 13:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:02: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-04-17 13: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-04-17 13:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46645,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46645,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761160960001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761160960001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:02:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:02:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761160960001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":46645,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:02:28] local.INFO: GPS data processed {"connection_id":46645,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:02:28] local.INFO: Acknowledgment sent {"connection_id":46645,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:02:30] local.INFO: TCP Data received {"connection_id":46644,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46644,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:02:30] local.INFO: Processing buffer {"connection_id":46644,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:02:30] local.INFO: Packet analysis {"connection_id":46644,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:02:30] local.INFO: Extracted packet for processing {"connection_id":46644,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:02:30] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761143552001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:02: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-04-17 13:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776411017000,"timestamp_ms":1776411017000,"timestamp_seconds":1776411017,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a58ff28"} 
[2026-04-17 13:02:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:02:30] 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-04-17 13:02:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:02:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:02:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46644,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46644,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:02:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761143552001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761143552001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:02:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:02:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761143552001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":46644,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:02:30] local.INFO: GPS data processed {"connection_id":46644,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:02:30] local.INFO: Acknowledgment sent {"connection_id":46644,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:02:45] local.INFO: TCP Data received {"connection_id":45866,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a58ef88012d432c4006943190001800c72d..."} 
[2026-04-17 13:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a58ef88012d432c4006943190001800c72d..."} 
[2026-04-17 13:02:45] local.INFO: Processing buffer {"connection_id":45866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a58ef88012d432c4006943190001800c72d..."} 
[2026-04-17 13:02:45] local.INFO: Packet analysis {"connection_id":45866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:02:45] local.INFO: Extracted packet for processing {"connection_id":45866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:02:45] local.INFO: GPS Element Parsed {"raw_longitude":759376960,"raw_latitude":110375312,"longitude_deg":75.937696,"latitude_deg":11.0375312,"altitude":24,"angle":199,"satellites":45,"speed":33,"hex_longitude":"2d432c40","hex_latitude":"06943190","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:02:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761214208001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:02:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:02:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4847421339682476032,"note":"Value kept but may cause issues"} 
[2026-04-17 13:02:45] 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-04-17 13:02:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776411013000,"timestamp_ms":1776411013000,"timestamp_seconds":1776411013,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a58ef88"} 
[2026-04-17 13:02:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:02: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-04-17 13: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":37,"data_length":795,"current_offset":136} 
[2026-04-17 13:02:45] 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-04-17 13: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-04-17 13:02:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:02:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:02:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:02:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:02:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45866,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:02:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:02:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:02:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:02:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761214208001,"66":28267,"238":206,"19":48128,"24":33,"16":106618783551979520,"45":4847421339682476032},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-04-17 13:02:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:02:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:02:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761214208001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:02:45] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-04-17 13:02:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:02:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:02:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":4847421339682476032,"description":"Unknown IO ID 45"} 
[2026-04-17 13:02:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761214208001,"power":28267,"unknown_238":206,"unknown_19":48128,"ignition":33,"odometer":null,"unknown_45":4847421339682476032}} 
[2026-04-17 13:02:45] local.INFO: DEBUG: GPS processor result {"connection_id":45866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21341,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:02:45] local.INFO: GPS data processed {"connection_id":45866,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:02:45] local.INFO: Acknowledgment sent {"connection_id":45866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:02:50] local.INFO: TCP Data received {"connection_id":46074,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:02:50] local.INFO: Processing buffer {"connection_id":46074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:02:50] local.INFO: IMEI packet received {"connection_id":46074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":46074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:02:54] local.INFO: TCP Data received {"connection_id":46646,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:02:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:02:54] local.INFO: Processing buffer {"connection_id":46646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:02:54] local.INFO: IMEI packet received {"connection_id":46646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:02:54] local.INFO: IMEI acknowledgment sent {"connection_id":46646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:02:56] local.INFO: TCP Data received {"connection_id":46074,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46074,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:02:56] local.INFO: Processing buffer {"connection_id":46074,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:02:56] local.INFO: IMEI packet received {"connection_id":46074,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:02:56] local.INFO: IMEI acknowledgment sent {"connection_id":46074,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:02:57] local.INFO: TCP Data received {"connection_id":46074,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:02:57] local.INFO: Processing buffer {"connection_id":46074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:02:57] local.INFO: Packet analysis {"connection_id":46074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:02:57] local.INFO: Extracted packet for processing {"connection_id":46074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:02:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761160960001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776411086000,"timestamp_ms":1776411086000,"timestamp_seconds":1776411086,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5a0cb0"} 
[2026-04-17 13:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:02:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761160960001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761160960001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:02:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:02:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761160960001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":46074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21342,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:02:57] local.INFO: GPS data processed {"connection_id":46074,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:02:57] local.INFO: Acknowledgment sent {"connection_id":46074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:03:00] local.INFO: TCP Data received {"connection_id":46646,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46646,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:03:00] local.INFO: Processing buffer {"connection_id":46646,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:03:00] local.INFO: IMEI packet received {"connection_id":46646,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":46646,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:03:03] local.INFO: TCP Data received {"connection_id":46646,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:03:03] local.INFO: Processing buffer {"connection_id":46646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:03:03] local.INFO: Packet analysis {"connection_id":46646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:03:03] local.INFO: Extracted packet for processing {"connection_id":46646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761143552001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776411017000,"timestamp_ms":1776411017000,"timestamp_seconds":1776411017,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a58ff28"} 
[2026-04-17 13:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:03:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761143552001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761143552001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:03:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761143552001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":46646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:03:03] local.INFO: GPS data processed {"connection_id":46646,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:03:03] local.INFO: Acknowledgment sent {"connection_id":46646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:03:04] local.INFO: TCP Data received {"connection_id":46075,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:03:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:03:04] local.INFO: Processing buffer {"connection_id":46075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:03:04] local.INFO: IMEI packet received {"connection_id":46075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:03:04] local.INFO: IMEI acknowledgment sent {"connection_id":46075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:03:09] local.INFO: TCP Data received {"connection_id":46646,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:03:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46646,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:03:09] local.INFO: Processing buffer {"connection_id":46646,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:03:09] local.INFO: Packet analysis {"connection_id":46646,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:03:09] local.INFO: Extracted packet for processing {"connection_id":46646,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:03:09] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:03:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761143552001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:03:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776411017000,"timestamp_ms":1776411017000,"timestamp_seconds":1776411017,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a58ff28"} 
[2026-04-17 13:03:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:03:09] 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-04-17 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:03: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-04-17 13: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-04-17 13:03:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:03:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:03:09] local.INFO: Teltonika packet parsed successfully {"connection_id":46646,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:03:09] local.INFO: Passing IMEI to GPS processor {"connection_id":46646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:03:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":46646,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:03:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:03:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:03:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:03:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761143552001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:03:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:03:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:03:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761143552001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:03:09] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:03:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:03:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:03:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:03:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761143552001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:03:09] local.INFO: DEBUG: GPS processor result {"connection_id":46646,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:03:09] local.INFO: GPS data processed {"connection_id":46646,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:03:09] local.INFO: Acknowledgment sent {"connection_id":46646,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:03:10] local.INFO: TCP Data received {"connection_id":46075,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:03:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46075,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:03:10] local.INFO: Processing buffer {"connection_id":46075,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:03:10] local.INFO: IMEI packet received {"connection_id":46075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:03:10] local.INFO: IMEI acknowledgment sent {"connection_id":46075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:03:12] local.INFO: TCP Data received {"connection_id":46075,"ip":"117.224.17.214","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 13:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46075,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 13:03:12] local.INFO: Processing buffer {"connection_id":46075,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 13:03:12] local.INFO: IMEI packet received {"connection_id":46075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":46075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:03:15] local.INFO: TCP Data received {"connection_id":46075,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a593da8012d432d000693ef18001c009e21..."} 
[2026-04-17 13:03:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a593da8012d432d000693ef18001c009e21..."} 
[2026-04-17 13:03:15] local.INFO: Processing buffer {"connection_id":46075,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019d9a..."} 
[2026-04-17 13:03:15] local.INFO: IMEI packet received {"connection_id":46075,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:03:15] local.INFO: IMEI acknowledgment sent {"connection_id":46075,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:03:16] local.INFO: TCP Data received {"connection_id":46075,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a598fb0012d434ac00693bfa00021009122..."} 
[2026-04-17 13:03:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a598fb0012d434ac00693bfa00021009122..."} 
[2026-04-17 13:03:16] local.INFO: Processing buffer {"connection_id":46075,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019d9a593da8012d432d000693ef18001c009e21..."} 
[2026-04-17 13:03:16] local.INFO: Packet analysis {"connection_id":46075,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d9a59"} 
[2026-04-17 13:03:16] local.INFO: Extracted packet for processing {"connection_id":46075,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a59"} 
[2026-04-17 13:03:16] local.INFO: GPS Element Parsed {"raw_longitude":759377152,"raw_latitude":110358296,"longitude_deg":75.9377152,"latitude_deg":11.0358296,"altitude":28,"angle":158,"satellites":33,"speed":32,"hex_longitude":"2d432d00","hex_latitude":"0693ef18","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761219328001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4840314096516698112,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:16] 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-04-17 13:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776411033000,"timestamp_ms":1776411033000,"timestamp_seconds":1776411033,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a593da8"} 
[2026-04-17 13:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:03:16] 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-04-17 13: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 13:03:16] 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-04-17 13: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-04-17 13:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761219328001,"66":28343,"238":206,"19":48128,"24":32,"16":106618783551979520,"45":4840314096516698112},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-04-17 13:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761219328001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:03:16] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-04-17 13:03:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4840314096516698112,"description":"Unknown IO ID 45"} 
[2026-04-17 13:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761219328001,"power":28343,"unknown_238":206,"unknown_19":48128,"ignition":32,"odometer":null,"unknown_45":4840314096516698112}} 
[2026-04-17 13:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":46075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21345,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:03:16] local.INFO: GPS data processed {"connection_id":46075,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:03:16] local.INFO: Acknowledgment sent {"connection_id":46075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:03:16] local.INFO: Packet analysis {"connection_id":46075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a59"} 
[2026-04-17 13:03:16] local.INFO: Extracted packet for processing {"connection_id":46075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a59"} 
[2026-04-17 13:03:16] local.INFO: GPS Element Parsed {"raw_longitude":759384768,"raw_latitude":110346144,"longitude_deg":75.9384768,"latitude_deg":11.0346144,"altitude":33,"angle":145,"satellites":34,"speed":24,"hex_longitude":"2d434ac0","hex_latitude":"0693bfa0","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:03:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761224448001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4840525202744875008,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:16] 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-04-17 13:03:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776411054000,"timestamp_ms":1776411054000,"timestamp_seconds":1776411054,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a598fb0"} 
[2026-04-17 13:03:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:03:16] 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-04-17 13: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":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-17 13:03:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2395,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:03:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:03:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:03:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:03:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:03:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:03:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:03:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:03:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:03:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761224448001,"66":28224,"238":206,"19":48128,"24":24,"16":106618783551979520,"45":4840525202744875008},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-04-17 13:03:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:03:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:03:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761224448001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:03:16] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-04-17 13:03:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:03:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:03:16] local.INFO: Unknown IO ID detected {"io_id":45,"value":4840525202744875008,"description":"Unknown IO ID 45"} 
[2026-04-17 13:03:16] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761224448001,"power":28224,"unknown_238":206,"unknown_19":48128,"ignition":24,"odometer":null,"unknown_45":4840525202744875008}} 
[2026-04-17 13:03:16] local.INFO: DEBUG: GPS processor result {"connection_id":46075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21346,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:03:16] local.INFO: GPS data processed {"connection_id":46075,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:03:16] local.INFO: Acknowledgment sent {"connection_id":46075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:03:21] local.INFO: TCP Data received {"connection_id":46075,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a598fb0012d434ac00693bfa00021009122..."} 
[2026-04-17 13:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a598fb0012d434ac00693bfa00021009122..."} 
[2026-04-17 13:03:21] local.INFO: Processing buffer {"connection_id":46075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a598fb0012d434ac00693bfa00021009122..."} 
[2026-04-17 13:03:21] local.INFO: Packet analysis {"connection_id":46075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a59"} 
[2026-04-17 13:03:21] local.INFO: Extracted packet for processing {"connection_id":46075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a59"} 
[2026-04-17 13:03:21] local.INFO: GPS Element Parsed {"raw_longitude":759384768,"raw_latitude":110346144,"longitude_deg":75.9384768,"latitude_deg":11.0346144,"altitude":33,"angle":145,"satellites":34,"speed":24,"hex_longitude":"2d434ac0","hex_latitude":"0693bfa0","is_valid_coordinates":true} 
[2026-04-17 13:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:03:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761229824001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4848899083298906112,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:21] 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-04-17 13:03:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776411054000,"timestamp_ms":1776411054000,"timestamp_seconds":1776411054,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a598fb0"} 
[2026-04-17 13:03:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:03:21] 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-04-17 13:03:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-04-17 13:03:21] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:03:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:03:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:03:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:03:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:03:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:03:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46075,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:03:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:03:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:03:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:03:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761229824001,"66":28224,"238":206,"19":48128,"24":24,"16":106618783551979520,"45":4848899083298906112},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16,45]} 
[2026-04-17 13:03:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:03:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:03:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761229824001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:03:21] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-04-17 13:03:21] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:03:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:03:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":4848899083298906112,"description":"Unknown IO ID 45"} 
[2026-04-17 13:03:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761229824001,"power":28224,"unknown_238":206,"unknown_19":48128,"ignition":24,"odometer":null,"unknown_45":4848899083298906112}} 
[2026-04-17 13:03:21] local.INFO: DEBUG: GPS processor result {"connection_id":46075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21347,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:03:21] local.INFO: GPS data processed {"connection_id":46075,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:03:21] local.INFO: Acknowledgment sent {"connection_id":46075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:03:28] local.INFO: TCP Data received {"connection_id":46074,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:03:28] local.INFO: Processing buffer {"connection_id":46074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:03:28] local.INFO: Packet analysis {"connection_id":46074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:03:28] local.INFO: Extracted packet for processing {"connection_id":46074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:03:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761160960001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776411086000,"timestamp_ms":1776411086000,"timestamp_seconds":1776411086,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5a0cb0"} 
[2026-04-17 13:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:03: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-04-17 13:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46074,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761160960001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761160960001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:03:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:03:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761160960001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":46074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:03:28] local.INFO: GPS data processed {"connection_id":46074,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:03:28] local.INFO: Acknowledgment sent {"connection_id":46074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:03:48] local.INFO: TCP Data received {"connection_id":45867,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:03:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:03:48] local.INFO: Processing buffer {"connection_id":45867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:03:48] local.INFO: IMEI packet received {"connection_id":45867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:03:48] local.INFO: IMEI acknowledgment sent {"connection_id":45867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:03:51] local.INFO: TCP Data received {"connection_id":45781,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:03:51] local.INFO: Processing buffer {"connection_id":45781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:03:51] local.INFO: IMEI packet received {"connection_id":45781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":45781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:03:54] local.INFO: TCP Data received {"connection_id":45867,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:03:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:03:54] local.INFO: Processing buffer {"connection_id":45867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:03:54] local.INFO: IMEI packet received {"connection_id":45867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:03:54] local.INFO: IMEI acknowledgment sent {"connection_id":45867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:03:55] local.INFO: TCP Data received {"connection_id":45867,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:03:55] local.INFO: Processing buffer {"connection_id":45867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:03:55] local.INFO: Packet analysis {"connection_id":45867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:03:55] local.INFO: Extracted packet for processing {"connection_id":45867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:03:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761143552001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03: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-04-17 13:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776411017000,"timestamp_ms":1776411017000,"timestamp_seconds":1776411017,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a58ff28"} 
[2026-04-17 13:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:03:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:03: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-04-17 13:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:03:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761143552001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761143552001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:03:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:03:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761143552001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":45867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:03:55] local.INFO: GPS data processed {"connection_id":45867,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:03:55] local.INFO: Acknowledgment sent {"connection_id":45867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:03:56] local.INFO: TCP Data received {"connection_id":45781,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45781,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:03:56] local.INFO: Processing buffer {"connection_id":45781,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:03:56] local.INFO: IMEI packet received {"connection_id":45781,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":45781,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:03:57] local.INFO: TCP Data received {"connection_id":45781,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:03:57] local.INFO: Processing buffer {"connection_id":45781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:03:57] local.INFO: Packet analysis {"connection_id":45781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:03:57] local.INFO: Extracted packet for processing {"connection_id":45781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:03:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761160960001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776411086000,"timestamp_ms":1776411086000,"timestamp_seconds":1776411086,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5a0cb0"} 
[2026-04-17 13:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761160960001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761160960001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:03:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:03:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761160960001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":45781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:03:57] local.INFO: GPS data processed {"connection_id":45781,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:03:57] local.INFO: Acknowledgment sent {"connection_id":45781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:04:04] local.INFO: TCP Data received {"connection_id":45868,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:04:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:04:04] local.INFO: Processing buffer {"connection_id":45868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:04:04] local.INFO: IMEI packet received {"connection_id":45868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:04:04] local.INFO: IMEI acknowledgment sent {"connection_id":45868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:04:09] local.INFO: TCP Data received {"connection_id":45868,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:04:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45868,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:04:09] local.INFO: Processing buffer {"connection_id":45868,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:04:09] local.INFO: IMEI packet received {"connection_id":45868,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:04:09] local.INFO: IMEI acknowledgment sent {"connection_id":45868,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:04:10] local.INFO: TCP Data received {"connection_id":45868,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5a95680100000000000000000000000000..."} 
[2026-04-17 13:04:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5a95680100000000000000000000000000..."} 
[2026-04-17 13:04:10] local.INFO: Processing buffer {"connection_id":45868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5a95680100000000000000000000000000..."} 
[2026-04-17 13:04:10] local.INFO: Packet analysis {"connection_id":45868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:04:10] local.INFO: Extracted packet for processing {"connection_id":45868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:04: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-04-17 13:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:04:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761229824001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:04:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:04:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4848899083298906112,"note":"Value kept but may cause issues"} 
[2026-04-17 13:04: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-04-17 13:04:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776411121000,"timestamp_ms":1776411121000,"timestamp_seconds":1776411121,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5a9568"} 
[2026-04-17 13:04:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:04:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:04:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-04-17 13:04:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:04:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:04:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:04:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:04:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:04:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:04:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:04:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:04:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:04:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:04:10] local.INFO: DEBUG: GPS processor result {"connection_id":45868,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:04:10] local.INFO: GPS data processed {"connection_id":45868,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:04:10] local.INFO: Acknowledgment sent {"connection_id":45868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:04:27] local.INFO: TCP Data received {"connection_id":45867,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:04:27] local.INFO: Processing buffer {"connection_id":45867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:04:27] local.INFO: Packet analysis {"connection_id":45867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:04:27] local.INFO: Extracted packet for processing {"connection_id":45867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:04:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761143552001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:04: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-04-17 13:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776411017000,"timestamp_ms":1776411017000,"timestamp_seconds":1776411017,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a58ff28"} 
[2026-04-17 13:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:04:27] 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-04-17 13:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:04: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-04-17 13:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761143552001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761143552001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:04:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:04:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761143552001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":45867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21351,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:04:27] local.INFO: GPS data processed {"connection_id":45867,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:04:27] local.INFO: Acknowledgment sent {"connection_id":45867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:04:28] local.INFO: TCP Data received {"connection_id":45781,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45781,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:04:28] local.INFO: Processing buffer {"connection_id":45781,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:04:28] local.INFO: Packet analysis {"connection_id":45781,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:04:28] local.INFO: Extracted packet for processing {"connection_id":45781,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:04:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 13:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761160960001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776411086000,"timestamp_ms":1776411086000,"timestamp_seconds":1776411086,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5a0cb0"} 
[2026-04-17 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-04-17 13:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:04: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-04-17 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-04-17 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-04-17 13:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45781,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45781,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761160960001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761160960001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:04:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:04:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761160960001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":45781,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21352,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:04:28] local.INFO: GPS data processed {"connection_id":45781,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:04:28] local.INFO: Acknowledgment sent {"connection_id":45781,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:04:42] local.INFO: TCP Data received {"connection_id":45868,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a59ed70012d436b40069394780021008d2c..."} 
[2026-04-17 13:04:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a59ed70012d436b40069394780021008d2c..."} 
[2026-04-17 13:04:42] local.INFO: Processing buffer {"connection_id":45868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a59ed70012d436b40069394780021008d2c..."} 
[2026-04-17 13:04:42] local.INFO: Packet analysis {"connection_id":45868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a59"} 
[2026-04-17 13:04:42] local.INFO: Extracted packet for processing {"connection_id":45868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a59"} 
[2026-04-17 13:04:42] local.INFO: GPS Element Parsed {"raw_longitude":759393088,"raw_latitude":110335096,"longitude_deg":75.9393088,"latitude_deg":11.0335096,"altitude":33,"angle":141,"satellites":44,"speed":20,"hex_longitude":"2d436b40","hex_latitude":"06939478","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:04:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:04:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,238,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:04:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776411078000,"timestamp_ms":1776411078000,"timestamp_seconds":1776411078,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a59ed70"} 
[2026-04-17 13:04:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:04:42] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 13:04:42] 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-04-17 13: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-04-17 13:04:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:04:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:04:42] local.INFO: Teltonika packet parsed successfully {"connection_id":45868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:04:42] local.INFO: Passing IMEI to GPS processor {"connection_id":45868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:04:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":45868,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:04:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:04:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:04:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:04:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"238":206,"19":48128,"24":20,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,238,19,24,16]} 
[2026-04-17 13:04:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:04:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:04:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:04:42] local.INFO: Unknown IO ID detected {"io_id":238,"value":206,"description":"Unknown IO ID 238"} 
[2026-04-17 13:04:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:04:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:04:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_238":206,"unknown_19":48128,"ignition":20,"odometer":null}} 
[2026-04-17 13:04:42] local.INFO: DEBUG: GPS processor result {"connection_id":45868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21353,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:04:42] local.INFO: GPS data processed {"connection_id":45868,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:04:42] local.INFO: Acknowledgment sent {"connection_id":45868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:04:48] local.INFO: TCP Data received {"connection_id":46647,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:04:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:04:48] local.INFO: Processing buffer {"connection_id":46647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:04:48] local.INFO: IMEI packet received {"connection_id":46647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:04:48] local.INFO: IMEI acknowledgment sent {"connection_id":46647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:04:50] local.INFO: TCP Data received {"connection_id":46648,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:04:50] local.INFO: Processing buffer {"connection_id":46648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:04:50] local.INFO: IMEI packet received {"connection_id":46648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":46648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:04:54] local.INFO: TCP Data received {"connection_id":46647,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46647,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:04:54] local.INFO: Processing buffer {"connection_id":46647,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:04:54] local.INFO: IMEI packet received {"connection_id":46647,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":46647,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:04:55] local.INFO: TCP Data received {"connection_id":46647,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:04:55] local.INFO: Processing buffer {"connection_id":46647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:04:55] local.INFO: Packet analysis {"connection_id":46647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:04:55] local.INFO: Extracted packet for processing {"connection_id":46647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:04:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:04:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761143552001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:04:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:04:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:04: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-04-17 13:04:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776411017000,"timestamp_ms":1776411017000,"timestamp_seconds":1776411017,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a58ff28"} 
[2026-04-17 13:04:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:04:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13824,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:04:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:04: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-04-17 13:04:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:04:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:04:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:04:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:04:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:04:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:04:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:04:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:04:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:04:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761143552001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:04:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:04:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:04:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761143552001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:04:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:04:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:04:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:04:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:04:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761143552001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:04:55] local.INFO: DEBUG: GPS processor result {"connection_id":46647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:04:55] local.INFO: GPS data processed {"connection_id":46647,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:04:55] local.INFO: Acknowledgment sent {"connection_id":46647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:04:56] local.INFO: TCP Data received {"connection_id":46648,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46648,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:04:56] local.INFO: Processing buffer {"connection_id":46648,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:04:56] local.INFO: IMEI packet received {"connection_id":46648,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":46648,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:04:57] local.INFO: TCP Data received {"connection_id":46648,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:04:57] local.INFO: Processing buffer {"connection_id":46648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:04:57] local.INFO: Packet analysis {"connection_id":46648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:04:57] local.INFO: Extracted packet for processing {"connection_id":46648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:04:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761160960001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776411086000,"timestamp_ms":1776411086000,"timestamp_seconds":1776411086,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5a0cb0"} 
[2026-04-17 13:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761160960001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761160960001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:04:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:04:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761160960001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":46648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:04:57] local.INFO: GPS data processed {"connection_id":46648,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:04:57] local.INFO: Acknowledgment sent {"connection_id":46648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:05:02] local.INFO: TCP Data received {"connection_id":45869,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:05:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:05:02] local.INFO: Processing buffer {"connection_id":45869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:05:02] local.INFO: IMEI packet received {"connection_id":45869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:05:02] local.INFO: IMEI acknowledgment sent {"connection_id":45869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:05:04] local.INFO: TCP Data received {"connection_id":45869,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:05:04] local.INFO: Processing buffer {"connection_id":45869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:05:04] local.INFO: IMEI packet received {"connection_id":45869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":45869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:05:09] local.INFO: TCP Data received {"connection_id":45869,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:05:09] local.INFO: Processing buffer {"connection_id":45869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:05:09] local.INFO: IMEI packet received {"connection_id":45869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":45869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:05:10] local.INFO: TCP Data received {"connection_id":45869,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5af7100100000000000000000000000000..."} 
[2026-04-17 13:05:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5af7100100000000000000000000000000..."} 
[2026-04-17 13:05:10] local.INFO: Processing buffer {"connection_id":45869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5af7100100000000000000000000000000..."} 
[2026-04-17 13:05:10] local.INFO: Packet analysis {"connection_id":45869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:05:10] local.INFO: Extracted packet for processing {"connection_id":45869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:05: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-04-17 13: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-04-17 13:05:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761235968001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:05:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:05:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4858047020039174144,"note":"Value kept but may cause issues"} 
[2026-04-17 13:05:10] 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-04-17 13:05:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776411146000,"timestamp_ms":1776411146000,"timestamp_seconds":1776411146,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5af710"} 
[2026-04-17 13:05:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:05: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-04-17 13: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 13:05: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-04-17 13: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-04-17 13:05:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:05:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:05:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:05:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:05:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:05:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:05:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:05:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:05:10] local.INFO: DEBUG: GPS processor result {"connection_id":45869,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:05:10] local.INFO: GPS data processed {"connection_id":45869,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:05:10] local.INFO: Acknowledgment sent {"connection_id":45869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:05:27] local.INFO: TCP Data received {"connection_id":46647,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46647,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:05:27] local.INFO: Processing buffer {"connection_id":46647,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a58ff28012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:05:27] local.INFO: Packet analysis {"connection_id":46647,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:05:27] local.INFO: Extracted packet for processing {"connection_id":46647,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a58"} 
[2026-04-17 13:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761143552001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:05: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-04-17 13:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776411017000,"timestamp_ms":1776411017000,"timestamp_seconds":1776411017,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a58ff28"} 
[2026-04-17 13:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:05:27] 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-04-17 13:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:05: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-04-17 13:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46647,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46647,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761143552001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761143552001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:05:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:05:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761143552001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":46647,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:05:27] local.INFO: GPS data processed {"connection_id":46647,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:05:27] local.INFO: Acknowledgment sent {"connection_id":46647,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:05:28] local.INFO: TCP Data received {"connection_id":46648,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46648,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:05:28] local.INFO: Processing buffer {"connection_id":46648,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:05:28] local.INFO: Packet analysis {"connection_id":46648,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:05:28] local.INFO: Extracted packet for processing {"connection_id":46648,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:05:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761160960001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776411086000,"timestamp_ms":1776411086000,"timestamp_seconds":1776411086,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5a0cb0"} 
[2026-04-17 13:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46648,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46648,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761160960001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761160960001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:05:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:05:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761160960001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":46648,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:05:28] local.INFO: GPS data processed {"connection_id":46648,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:05:28] local.INFO: Acknowledgment sent {"connection_id":46648,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:05:50] local.INFO: TCP Data received {"connection_id":45782,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:05:50] local.INFO: Processing buffer {"connection_id":45782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:05:50] local.INFO: IMEI packet received {"connection_id":45782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":45782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:05:52] local.INFO: TCP Data received {"connection_id":45869,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5cc7e8012d44ba000691c750002e00b130..."} 
[2026-04-17 13:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5cc7e8012d44ba000691c750002e00b130..."} 
[2026-04-17 13:05:52] local.INFO: Processing buffer {"connection_id":45869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5cc7e8012d44ba000691c750002e00b130..."} 
[2026-04-17 13:05:52] local.INFO: Packet analysis {"connection_id":45869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5c"} 
[2026-04-17 13:05:52] local.INFO: Extracted packet for processing {"connection_id":45869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5c"} 
[2026-04-17 13:05:52] local.INFO: GPS Element Parsed {"raw_longitude":759478784,"raw_latitude":110217040,"longitude_deg":75.9478784,"latitude_deg":11.021704,"altitude":46,"angle":177,"satellites":48,"speed":0,"hex_longitude":"2d44ba00","hex_latitude":"0691c750","is_valid_coordinates":true} 
[2026-04-17 13:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:05:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761278464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:05:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:05:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4951496712281038848,"note":"Value kept but may cause issues"} 
[2026-04-17 13:05:52] 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-04-17 13:05:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776411265000,"timestamp_ms":1776411265000,"timestamp_seconds":1776411265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5cc7e8"} 
[2026-04-17 13:05:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:05:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:05:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:05:52] 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-04-17 13:05:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:05:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:05:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:05:52] local.INFO: Teltonika packet parsed successfully {"connection_id":45869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:05:52] local.INFO: Passing IMEI to GPS processor {"connection_id":45869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:05:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":45869,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:05:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:05:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:05:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:05:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761278464001,"66":28300,"177":206,"19":48128,"24":0,"16":106618783551979520,"45":4951496712281038848},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-04-17 13:05:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:05:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:05:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761278464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:05:52] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-17 13:05:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:05:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:05:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":4951496712281038848,"description":"Unknown IO ID 45"} 
[2026-04-17 13:05:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761278464001,"power":28300,"unknown_177":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4951496712281038848}} 
[2026-04-17 13:05:52] local.INFO: DEBUG: GPS processor result {"connection_id":45869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21358,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:05:52] local.INFO: GPS data processed {"connection_id":45869,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:05:52] local.INFO: Acknowledgment sent {"connection_id":45869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:05:53] local.INFO: TCP Data received {"connection_id":46076,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:05:53] local.INFO: Processing buffer {"connection_id":46076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:05:53] local.INFO: IMEI packet received {"connection_id":46076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":46076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:05:56] local.INFO: TCP Data received {"connection_id":45782,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45782,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:05:56] local.INFO: Processing buffer {"connection_id":45782,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:05:56] local.INFO: IMEI packet received {"connection_id":45782,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":45782,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:05:57] local.INFO: TCP Data received {"connection_id":45782,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:05:57] local.INFO: Processing buffer {"connection_id":45782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:05:57] local.INFO: Packet analysis {"connection_id":45782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:05:57] local.INFO: Extracted packet for processing {"connection_id":45782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:05:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:05:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761160960001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:05:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:05:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:05:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:05:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776411086000,"timestamp_ms":1776411086000,"timestamp_seconds":1776411086,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5a0cb0"} 
[2026-04-17 13:05:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:05:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:05:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:05:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:05:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:05:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:05:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:05:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:05:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:05:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:05:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:05:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:05:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:05:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761160960001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:05:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:05:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:05:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761160960001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:05:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:05:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:05:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:05:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:05:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761160960001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:05:57] local.INFO: DEBUG: GPS processor result {"connection_id":45782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21359,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:05:57] local.INFO: GPS data processed {"connection_id":45782,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:05:57] local.INFO: Acknowledgment sent {"connection_id":45782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:05:57] local.INFO: TCP Data received {"connection_id":46076,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:05:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46076,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:05:57] local.INFO: Processing buffer {"connection_id":46076,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:05:57] local.INFO: IMEI packet received {"connection_id":46076,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:05:57] local.INFO: IMEI acknowledgment sent {"connection_id":46076,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:05:59] local.INFO: TCP Data received {"connection_id":46076,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:05:59] local.INFO: Processing buffer {"connection_id":46076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:05:59] local.INFO: Packet analysis {"connection_id":46076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:05:59] local.INFO: Extracted packet for processing {"connection_id":46076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761220352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:05: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-04-17 13:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776411318000,"timestamp_ms":1776411318000,"timestamp_seconds":1776411318,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5d96f0"} 
[2026-04-17 13:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:05:59] 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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:05:59] 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-04-17 13: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-04-17 13:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761220352001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761220352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:05:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:05:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761220352001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":46076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:05:59] local.INFO: GPS data processed {"connection_id":46076,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:05:59] local.INFO: Acknowledgment sent {"connection_id":46076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:06:04] local.INFO: TCP Data received {"connection_id":46077,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:06:04] local.INFO: Processing buffer {"connection_id":46077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:06:04] local.INFO: IMEI packet received {"connection_id":46077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":46077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:06:11] local.INFO: TCP Data received {"connection_id":46077,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:06:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46077,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:06:11] local.INFO: Processing buffer {"connection_id":46077,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:06:11] local.INFO: IMEI packet received {"connection_id":46077,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:06:11] local.INFO: IMEI acknowledgment sent {"connection_id":46077,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:06:13] local.INFO: TCP Data received {"connection_id":46077,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5d19f0012d44c0c0069188e0003300a92f..."} 
[2026-04-17 13:06:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5d19f0012d44c0c0069188e0003300a92f..."} 
[2026-04-17 13:06:13] local.INFO: Processing buffer {"connection_id":46077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5d19f0012d44c0c0069188e0003300a92f..."} 
[2026-04-17 13:06:13] local.INFO: Packet analysis {"connection_id":46077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:06:13] local.INFO: Extracted packet for processing {"connection_id":46077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:06:13] local.INFO: GPS Element Parsed {"raw_longitude":759480512,"raw_latitude":110201056,"longitude_deg":75.9480512,"latitude_deg":11.0201056,"altitude":51,"angle":169,"satellites":47,"speed":0,"hex_longitude":"2d44c0c0","hex_latitude":"069188e0","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:06:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761283840001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:06:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:06:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4952270768462843904,"note":"Value kept but may cause issues"} 
[2026-04-17 13:06:13] 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-04-17 13:06:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776411286000,"timestamp_ms":1776411286000,"timestamp_seconds":1776411286,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5d19f0"} 
[2026-04-17 13:06:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:06:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 13:06:13] 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-04-17 13: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-04-17 13:06:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:06:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:06:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:06:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:06:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:06:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:06:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:06:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:06:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761283840001,"66":28256,"177":206,"19":48128,"24":0,"16":106618783551979520,"45":4952270768462843904},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-04-17 13:06:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:06:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:06:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761283840001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:06:13] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-17 13:06:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:06:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:06:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":4952270768462843904,"description":"Unknown IO ID 45"} 
[2026-04-17 13:06:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761283840001,"power":28256,"unknown_177":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4952270768462843904}} 
[2026-04-17 13:06:13] local.INFO: DEBUG: GPS processor result {"connection_id":46077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21361,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:06:13] local.INFO: GPS data processed {"connection_id":46077,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:06:13] local.INFO: Acknowledgment sent {"connection_id":46077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:06:28] local.INFO: TCP Data received {"connection_id":45782,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45782,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:06:28] local.INFO: Processing buffer {"connection_id":45782,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:06:28] local.INFO: Packet analysis {"connection_id":45782,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:06:28] local.INFO: Extracted packet for processing {"connection_id":45782,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:06:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761160960001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776411086000,"timestamp_ms":1776411086000,"timestamp_seconds":1776411086,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5a0cb0"} 
[2026-04-17 13:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:06: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-04-17 13: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-04-17 13:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45782,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45782,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761160960001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761160960001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:06:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:06:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761160960001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":45782,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21362,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:06:28] local.INFO: GPS data processed {"connection_id":45782,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:06:28] local.INFO: Acknowledgment sent {"connection_id":45782,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:06:32] local.INFO: TCP Data received {"connection_id":46076,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:06:32] local.INFO: Processing buffer {"connection_id":46076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:06:32] local.INFO: Packet analysis {"connection_id":46076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:06:32] local.INFO: Extracted packet for processing {"connection_id":46076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761220352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776411318000,"timestamp_ms":1776411318000,"timestamp_seconds":1776411318,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5d96f0"} 
[2026-04-17 13:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46076,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761220352001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761220352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:06:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:06:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761220352001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":46076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:06:32] local.INFO: GPS data processed {"connection_id":46076,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:06:32] local.INFO: Acknowledgment sent {"connection_id":46076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:06:48] local.INFO: TCP Data received {"connection_id":46077,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5d5c58012d44d48006914c080038009b31..."} 
[2026-04-17 13:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5d5c58012d44d48006914c080038009b31..."} 
[2026-04-17 13:06:48] local.INFO: Processing buffer {"connection_id":46077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5d5c58012d44d48006914c080038009b31..."} 
[2026-04-17 13:06:48] local.INFO: Packet analysis {"connection_id":46077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:06:48] local.INFO: Extracted packet for processing {"connection_id":46077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:06:48] local.INFO: GPS Element Parsed {"raw_longitude":759485568,"raw_latitude":110185480,"longitude_deg":75.9485568,"latitude_deg":11.018548,"altitude":56,"angle":155,"satellites":49,"speed":30,"hex_longitude":"2d44d480","hex_latitude":"06914c08","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:06:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761289216001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:06:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:06:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4954170724551548928,"note":"Value kept but may cause issues"} 
[2026-04-17 13:06:48] 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-04-17 13:06:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776411303000,"timestamp_ms":1776411303000,"timestamp_seconds":1776411303,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5d5c58"} 
[2026-04-17 13:06:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:06:48] 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-04-17 13: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 13:06:48] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:06:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:06:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:06:48] local.INFO: Teltonika packet parsed successfully {"connection_id":46077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:06:48] local.INFO: Passing IMEI to GPS processor {"connection_id":46077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:06:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":46077,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:06:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:06:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:06:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:06:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761289216001,"66":28376,"177":206,"19":48128,"24":30,"16":106618783551979520,"45":4954170724551548928},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,19,24,16,45]} 
[2026-04-17 13:06:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:06:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:06:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761289216001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:06:48] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-17 13:06:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:06:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:06:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4954170724551548928,"description":"Unknown IO ID 45"} 
[2026-04-17 13:06:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761289216001,"power":28376,"unknown_177":206,"unknown_19":48128,"ignition":30,"odometer":null,"unknown_45":4954170724551548928}} 
[2026-04-17 13:06:48] local.INFO: TCP Data received {"connection_id":45783,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:06:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:06:48] local.INFO: Processing buffer {"connection_id":45783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:06:48] local.INFO: IMEI packet received {"connection_id":45783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:06:48] local.INFO: IMEI acknowledgment sent {"connection_id":45783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:06:48] local.INFO: DEBUG: GPS processor result {"connection_id":46077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21364,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:06:48] local.INFO: GPS data processed {"connection_id":46077,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:06:48] local.INFO: Acknowledgment sent {"connection_id":46077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:06:54] local.INFO: TCP Data received {"connection_id":45783,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:06:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45783,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:06:54] local.INFO: Processing buffer {"connection_id":45783,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:06:54] local.INFO: IMEI packet received {"connection_id":45783,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:06:54] local.INFO: IMEI acknowledgment sent {"connection_id":45783,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:06:55] local.INFO: TCP Data received {"connection_id":45783,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:06:55] local.INFO: Processing buffer {"connection_id":45783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:06:55] local.INFO: Packet analysis {"connection_id":45783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:06:55] local.INFO: Extracted packet for processing {"connection_id":45783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:06:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:06:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761220352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:06:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:06:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:06: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-04-17 13:06:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776411318000,"timestamp_ms":1776411318000,"timestamp_seconds":1776411318,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5d96f0"} 
[2026-04-17 13:06:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:06: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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:06:55] 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-04-17 13: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-04-17 13:06:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:06:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:06:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:06:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:06:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:06:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:06:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:06:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:06:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761220352001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:06:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:06:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:06:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761220352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:06:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:06:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:06:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:06:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:06:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761220352001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:06:55] local.INFO: DEBUG: GPS processor result {"connection_id":45783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:06:55] local.INFO: GPS data processed {"connection_id":45783,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:06:55] local.INFO: Acknowledgment sent {"connection_id":45783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:06:57] local.INFO: TCP Data received {"connection_id":45870,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:06:57] local.INFO: Processing buffer {"connection_id":45870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:06:57] local.INFO: IMEI packet received {"connection_id":45870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:06:57] local.INFO: IMEI acknowledgment sent {"connection_id":45870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:07:01] local.INFO: TCP Data received {"connection_id":45870,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45870,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:07:01] local.INFO: Processing buffer {"connection_id":45870,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:07:01] local.INFO: IMEI packet received {"connection_id":45870,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:07:01] local.INFO: IMEI acknowledgment sent {"connection_id":45870,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:07:01] local.INFO: TCP Data received {"connection_id":45870,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:07:01] local.INFO: Processing buffer {"connection_id":45870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5a0cb0012d7faa8005afd2f8000b000033..."} 
[2026-04-17 13:07:01] local.INFO: Packet analysis {"connection_id":45870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:07:01] local.INFO: Extracted packet for processing {"connection_id":45870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5a"} 
[2026-04-17 13:07:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761160960001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776411086000,"timestamp_ms":1776411086000,"timestamp_seconds":1776411086,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5a0cb0"} 
[2026-04-17 13:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:07:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:07:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:07: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-04-17 13:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761160960001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761160960001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:07:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:07:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761160960001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":45870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:07:01] local.INFO: GPS data processed {"connection_id":45870,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:07:01] local.INFO: Acknowledgment sent {"connection_id":45870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:07:05] local.INFO: TCP Data received {"connection_id":45870,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:07:05] local.INFO: Processing buffer {"connection_id":45870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:07:05] local.INFO: Packet analysis {"connection_id":45870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:07:05] local.INFO: Extracted packet for processing {"connection_id":45870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761238016001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776411387000,"timestamp_ms":1776411387000,"timestamp_seconds":1776411387,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5ea478"} 
[2026-04-17 13:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":45870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":45870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":45870,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:07:05] 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-04-17 13:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761238016001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761238016001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:07:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:07:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761238016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":45870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:07:05] local.INFO: GPS data processed {"connection_id":45870,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:07:05] local.INFO: Acknowledgment sent {"connection_id":45870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:07:09] local.INFO: TCP Data received {"connection_id":45784,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:07:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:07:09] local.INFO: Processing buffer {"connection_id":45784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:07:09] local.INFO: IMEI packet received {"connection_id":45784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:07:09] local.INFO: IMEI acknowledgment sent {"connection_id":45784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:07:15] local.INFO: TCP Data received {"connection_id":45784,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:07:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45784,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:07:15] local.INFO: Processing buffer {"connection_id":45784,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:07:15] local.INFO: IMEI packet received {"connection_id":45784,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:07:15] local.INFO: IMEI acknowledgment sent {"connection_id":45784,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:07:16] local.INFO: TCP Data received {"connection_id":45784,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5e62100100000000000000000000000000..."} 
[2026-04-17 13:07:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5e62100100000000000000000000000000..."} 
[2026-04-17 13:07:16] local.INFO: Processing buffer {"connection_id":45784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5e62100100000000000000000000000000..."} 
[2026-04-17 13:07:16] local.INFO: Packet analysis {"connection_id":45784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:07:16] local.INFO: Extracted packet for processing {"connection_id":45784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:07: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-04-17 13: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-04-17 13:07:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761293568001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:07:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:07:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4959729855337596928,"note":"Value kept but may cause issues"} 
[2026-04-17 13:07:16] 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-04-17 13:07:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776411370000,"timestamp_ms":1776411370000,"timestamp_seconds":1776411370,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5e6210"} 
[2026-04-17 13:07:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:07:16] 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-04-17 13: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 13:07:16] 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-04-17 13: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-04-17 13:07:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:07:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:07:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:07:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:07:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:07:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:07:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:07:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:07:16] local.INFO: DEBUG: GPS processor result {"connection_id":45784,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:07:16] local.INFO: GPS data processed {"connection_id":45784,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:07:16] local.INFO: Acknowledgment sent {"connection_id":45784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:07:20] local.INFO: TCP Data received {"connection_id":45784,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5dae60012d44f3c006911240003a009531..."} 
[2026-04-17 13:07:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5dae60012d44f3c006911240003a009531..."} 
[2026-04-17 13:07:20] local.INFO: Processing buffer {"connection_id":45784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5dae60012d44f3c006911240003a009531..."} 
[2026-04-17 13:07:20] local.INFO: Packet analysis {"connection_id":45784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:07:20] local.INFO: Extracted packet for processing {"connection_id":45784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:07:20] local.INFO: GPS Element Parsed {"raw_longitude":759493568,"raw_latitude":110170688,"longitude_deg":75.9493568,"latitude_deg":11.0170688,"altitude":58,"angle":149,"satellites":49,"speed":35,"hex_longitude":"2d44f3c0","hex_latitude":"06911240","is_valid_coordinates":true} 
[2026-04-17 13:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:07:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:07:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,179,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:07:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776411324000,"timestamp_ms":1776411324000,"timestamp_seconds":1776411324,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5dae60"} 
[2026-04-17 13:07:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:07:20] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:07:20] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:07:20] 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-04-17 13:07:20] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:07:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:07:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:07:20] local.INFO: Teltonika packet parsed successfully {"connection_id":45784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:07:20] local.INFO: Passing IMEI to GPS processor {"connection_id":45784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:07:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":45784,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:07:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:07:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:07:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:07:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28278,"179":206,"19":48128,"24":35,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,179,19,24,16]} 
[2026-04-17 13:07:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:07:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:07:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:07:20] local.INFO: Unknown IO ID detected {"io_id":179,"value":206,"description":"Unknown IO ID 179"} 
[2026-04-17 13:07:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:07:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:07:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28278,"unknown_179":206,"unknown_19":48128,"ignition":35,"odometer":null}} 
[2026-04-17 13:07:20] local.INFO: DEBUG: GPS processor result {"connection_id":45784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21368,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:07:20] local.INFO: GPS data processed {"connection_id":45784,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:07:20] local.INFO: Acknowledgment sent {"connection_id":45784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:07:27] local.INFO: TCP Data received {"connection_id":45783,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45783,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:07:27] local.INFO: Processing buffer {"connection_id":45783,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:07:27] local.INFO: Packet analysis {"connection_id":45783,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:07:27] local.INFO: Extracted packet for processing {"connection_id":45783,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:07:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761220352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:07: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-04-17 13:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776411318000,"timestamp_ms":1776411318000,"timestamp_seconds":1776411318,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5d96f0"} 
[2026-04-17 13:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:07:27] 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-04-17 13:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:07:27] 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-04-17 13:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45783,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45783,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761220352001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761220352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:07:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:07:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761220352001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":45783,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:07:27] local.INFO: GPS data processed {"connection_id":45783,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:07:27] local.INFO: Acknowledgment sent {"connection_id":45783,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:07:51] local.INFO: TCP Data received {"connection_id":46649,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:07:51] local.INFO: Processing buffer {"connection_id":46649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:07:51] local.INFO: IMEI packet received {"connection_id":46649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":46649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:07:54] local.INFO: TCP Data received {"connection_id":45785,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:07:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:07:54] local.INFO: Processing buffer {"connection_id":45785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:07:54] local.INFO: IMEI packet received {"connection_id":45785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:07:54] local.INFO: IMEI acknowledgment sent {"connection_id":45785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:07:56] local.INFO: TCP Data received {"connection_id":46649,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46649,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:07:56] local.INFO: Processing buffer {"connection_id":46649,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:07:56] local.INFO: IMEI packet received {"connection_id":46649,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":46649,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:07:57] local.INFO: TCP Data received {"connection_id":46649,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:07:57] local.INFO: Processing buffer {"connection_id":46649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:07:57] local.INFO: Packet analysis {"connection_id":46649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:07:57] local.INFO: Extracted packet for processing {"connection_id":46649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:07:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761238016001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776411387000,"timestamp_ms":1776411387000,"timestamp_seconds":1776411387,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5ea478"} 
[2026-04-17 13:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:07:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761238016001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761238016001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:07:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761238016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":46649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:07:57] local.INFO: GPS data processed {"connection_id":46649,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:07:57] local.INFO: Acknowledgment sent {"connection_id":46649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:07:59] local.INFO: TCP Data received {"connection_id":45785,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:07:59] local.INFO: Processing buffer {"connection_id":45785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:07:59] local.INFO: IMEI packet received {"connection_id":45785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":45785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:08:00] local.INFO: TCP Data received {"connection_id":45785,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:08:00] local.INFO: Processing buffer {"connection_id":45785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:08:00] local.INFO: Packet analysis {"connection_id":45785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:08:00] local.INFO: Extracted packet for processing {"connection_id":45785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:08:00] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761220352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13: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-04-17 13:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776411318000,"timestamp_ms":1776411318000,"timestamp_seconds":1776411318,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5d96f0"} 
[2026-04-17 13:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:08: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-04-17 13: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":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:08:00] 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-04-17 13: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-04-17 13:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761220352001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761220352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:08:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:08:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761220352001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":45785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:08:00] local.INFO: GPS data processed {"connection_id":45785,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:08:00] local.INFO: Acknowledgment sent {"connection_id":45785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:08:04] local.INFO: TCP Data received {"connection_id":45785,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:08:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:08:04] local.INFO: Processing buffer {"connection_id":45785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:08:04] local.INFO: Packet analysis {"connection_id":45785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:08:04] local.INFO: Extracted packet for processing {"connection_id":45785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:08:04] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:08:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761220352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:08:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776411318000,"timestamp_ms":1776411318000,"timestamp_seconds":1776411318,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5d96f0"} 
[2026-04-17 13:08:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:08:04] 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-04-17 13:08:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:08:04] 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-04-17 13:08:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:08:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:08:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:08:04] local.INFO: Teltonika packet parsed successfully {"connection_id":45785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:08:04] local.INFO: Passing IMEI to GPS processor {"connection_id":45785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:08:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":45785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:08:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:08:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:08:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:08:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761220352001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:08:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:08:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:08:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761220352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:08:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:08:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:08:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:08:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:08:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761220352001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:08:04] local.INFO: DEBUG: GPS processor result {"connection_id":45785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:08:04] local.INFO: GPS data processed {"connection_id":45785,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:08:04] local.INFO: Acknowledgment sent {"connection_id":45785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:08:05] local.INFO: TCP Data received {"connection_id":45871,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:08:05] local.INFO: Processing buffer {"connection_id":45871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:08:05] local.INFO: IMEI packet received {"connection_id":45871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:08:05] local.INFO: IMEI acknowledgment sent {"connection_id":45871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:08:28] local.INFO: TCP Data received {"connection_id":46649,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46649,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:08:28] local.INFO: Processing buffer {"connection_id":46649,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:08:28] local.INFO: Packet analysis {"connection_id":46649,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:08:28] local.INFO: Extracted packet for processing {"connection_id":46649,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:08:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761238016001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776411387000,"timestamp_ms":1776411387000,"timestamp_seconds":1776411387,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5ea478"} 
[2026-04-17 13:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:08: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-04-17 13: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-04-17 13:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46649,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46649,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761238016001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761238016001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:08:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:08:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761238016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":46649,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:08:28] local.INFO: GPS data processed {"connection_id":46649,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:08:28] local.INFO: Acknowledgment sent {"connection_id":46649,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:08:28] local.INFO: TCP Data received {"connection_id":45871,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:08:28] local.INFO: Processing buffer {"connection_id":45871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:08:28] local.INFO: IMEI packet received {"connection_id":45871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:08:28] local.INFO: IMEI acknowledgment sent {"connection_id":45871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:08:35] local.INFO: TCP Data received {"connection_id":45871,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:08:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45871,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:08:35] local.INFO: Processing buffer {"connection_id":45871,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:08:35] local.INFO: IMEI packet received {"connection_id":45871,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:08:35] local.INFO: IMEI acknowledgment sent {"connection_id":45871,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:08:44] local.INFO: TCP Data received {"connection_id":45871,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5e0068012d4517c00690d3c8003a009631..."} 
[2026-04-17 13:08:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5e0068012d4517c00690d3c8003a009631..."} 
[2026-04-17 13:08:44] local.INFO: Processing buffer {"connection_id":45871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5e0068012d4517c00690d3c8003a009631..."} 
[2026-04-17 13:08:44] local.INFO: Packet analysis {"connection_id":45871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:08:44] local.INFO: Extracted packet for processing {"connection_id":45871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:08:44] local.INFO: GPS Element Parsed {"raw_longitude":759502784,"raw_latitude":110154696,"longitude_deg":75.9502784,"latitude_deg":11.0154696,"altitude":58,"angle":150,"satellites":49,"speed":0,"hex_longitude":"2d4517c0","hex_latitude":"0690d3c8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:08:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761298944001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4968525948356018176,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:44] 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-04-17 13:08:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776411345000,"timestamp_ms":1776411345000,"timestamp_seconds":1776411345,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5e0068"} 
[2026-04-17 13:08:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:08:44] 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-04-17 13: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:08:44] 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-04-17 13: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-04-17 13:08:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:08:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:08:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:08:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:08:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:08:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:08:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:08:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:08:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761298944001,"66":28354,"178":206,"19":48128,"24":0,"16":106618783551979520,"45":4968525948356018176},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,19,24,16,45]} 
[2026-04-17 13:08:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:08:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:08:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761298944001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:08:44] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-04-17 13:08:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:08:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:08:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":4968525948356018176,"description":"Unknown IO ID 45"} 
[2026-04-17 13:08:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761298944001,"power":28354,"unknown_178":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4968525948356018176}} 
[2026-04-17 13:08:44] local.INFO: DEBUG: GPS processor result {"connection_id":45871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21374,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:08:44] local.INFO: GPS data processed {"connection_id":45871,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:08:44] local.INFO: Acknowledgment sent {"connection_id":45871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:08:48] local.INFO: TCP Data received {"connection_id":45871,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5e5658012d453f8006909518003c008f31..."} 
[2026-04-17 13:08:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5e5658012d453f8006909518003c008f31..."} 
[2026-04-17 13:08:48] local.INFO: Processing buffer {"connection_id":45871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5e5658012d453f8006909518003c008f31..."} 
[2026-04-17 13:08:48] local.INFO: Packet analysis {"connection_id":45871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:08:48] local.INFO: Extracted packet for processing {"connection_id":45871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:08:48] local.INFO: GPS Element Parsed {"raw_longitude":759512960,"raw_latitude":110138648,"longitude_deg":75.951296,"latitude_deg":11.0138648,"altitude":60,"angle":143,"satellites":49,"speed":0,"hex_longitude":"2d453f80","hex_latitude":"06909518","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:08:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761304320001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4978659047513507840,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:48] 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-04-17 13:08:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776411367000,"timestamp_ms":1776411367000,"timestamp_seconds":1776411367,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5e5658"} 
[2026-04-17 13:08:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:08:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:08: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-04-17 13: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-04-17 13:08:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:08:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:08:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:08:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:08:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45871,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:08:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:08:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:08:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:08:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761304320001,"66":28300,"178":206,"19":48128,"24":0,"16":106618783551979520,"45":4978659047513507840},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,19,24,16,45]} 
[2026-04-17 13:08:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:08:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:08:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761304320001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:08:48] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-04-17 13:08:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:08:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:08:48] local.INFO: Unknown IO ID detected {"io_id":45,"value":4978659047513507840,"description":"Unknown IO ID 45"} 
[2026-04-17 13:08:48] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761304320001,"power":28300,"unknown_178":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":4978659047513507840}} 
[2026-04-17 13:08:48] local.INFO: DEBUG: GPS processor result {"connection_id":45871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21375,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:08:48] local.INFO: GPS data processed {"connection_id":45871,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:08:48] local.INFO: Acknowledgment sent {"connection_id":45871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:08:49] local.INFO: TCP Data received {"connection_id":46078,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:08:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:08:49] local.INFO: Processing buffer {"connection_id":46078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:08:49] local.INFO: IMEI packet received {"connection_id":46078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:08:49] local.INFO: IMEI acknowledgment sent {"connection_id":46078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:08:50] local.INFO: TCP Data received {"connection_id":46079,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:08:50] local.INFO: Processing buffer {"connection_id":46079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:08:50] local.INFO: IMEI packet received {"connection_id":46079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":46079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:08:54] local.INFO: TCP Data received {"connection_id":46078,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:08:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46078,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:08:54] local.INFO: Processing buffer {"connection_id":46078,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:08:54] local.INFO: IMEI packet received {"connection_id":46078,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:08:54] local.INFO: IMEI acknowledgment sent {"connection_id":46078,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:08:55] local.INFO: TCP Data received {"connection_id":46078,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:08:55] local.INFO: Processing buffer {"connection_id":46078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:08:55] local.INFO: Packet analysis {"connection_id":46078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:08:55] local.INFO: Extracted packet for processing {"connection_id":46078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:08:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:08:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761220352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08: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-04-17 13:08:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776411318000,"timestamp_ms":1776411318000,"timestamp_seconds":1776411318,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5d96f0"} 
[2026-04-17 13:08:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:08: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-04-17 13:08:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:08:55] 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-04-17 13:08:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:08:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:08:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:08:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:08:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:08:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:08:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:08:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:08:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:08:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761220352001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:08:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:08:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:08:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761220352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:08:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:08:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:08:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:08:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:08:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761220352001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:08:55] local.INFO: DEBUG: GPS processor result {"connection_id":46078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:08:55] local.INFO: GPS data processed {"connection_id":46078,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:08:55] local.INFO: Acknowledgment sent {"connection_id":46078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:08:57] local.INFO: TCP Data received {"connection_id":46079,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46079,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:08:57] local.INFO: Processing buffer {"connection_id":46079,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:08:57] local.INFO: IMEI packet received {"connection_id":46079,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:08:57] local.INFO: IMEI acknowledgment sent {"connection_id":46079,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:08:58] local.INFO: TCP Data received {"connection_id":46079,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:08:58] local.INFO: Processing buffer {"connection_id":46079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:08:58] local.INFO: Packet analysis {"connection_id":46079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:08:58] local.INFO: Extracted packet for processing {"connection_id":46079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:08:58] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:08:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761238016001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:08:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776411387000,"timestamp_ms":1776411387000,"timestamp_seconds":1776411387,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5ea478"} 
[2026-04-17 13:08:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:08:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:08:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:08:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:08:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:08:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:08:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:08:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:08:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:08:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:08:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:08:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761238016001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:08:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:08:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:08:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761238016001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:08:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:08:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:08:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:08:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:08:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761238016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":46079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:08:58] local.INFO: GPS data processed {"connection_id":46079,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:08:58] local.INFO: Acknowledgment sent {"connection_id":46079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:08:59] local.INFO: TCP Data received {"connection_id":46078,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:08:59] local.INFO: Processing buffer {"connection_id":46078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:08:59] local.INFO: Packet analysis {"connection_id":46078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:08:59] local.INFO: Extracted packet for processing {"connection_id":46078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761220352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13: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-04-17 13:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776411318000,"timestamp_ms":1776411318000,"timestamp_seconds":1776411318,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5d96f0"} 
[2026-04-17 13:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:08:59] 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-04-17 13: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":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:08:59] 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-04-17 13: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-04-17 13:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761220352001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761220352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:08:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:08:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761220352001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":46078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21378,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:08:59] local.INFO: GPS data processed {"connection_id":46078,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:08:59] local.INFO: Acknowledgment sent {"connection_id":46078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:09:05] local.INFO: TCP Data received {"connection_id":45786,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:09:05] local.INFO: Processing buffer {"connection_id":45786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:09:05] local.INFO: IMEI packet received {"connection_id":45786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:09:05] local.INFO: IMEI acknowledgment sent {"connection_id":45786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:09:24] local.INFO: TCP Data received {"connection_id":45786,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:09:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45786,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:09:24] local.INFO: Processing buffer {"connection_id":45786,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:09:24] local.INFO: IMEI packet received {"connection_id":45786,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:09:24] local.INFO: IMEI acknowledgment sent {"connection_id":45786,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:09:29] local.INFO: TCP Data received {"connection_id":46079,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:09:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:09:29] local.INFO: Processing buffer {"connection_id":46079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:09:29] local.INFO: Packet analysis {"connection_id":46079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:09:29] local.INFO: Extracted packet for processing {"connection_id":46079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:09:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:09:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761238016001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:09:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:09:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:09:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:09:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776411387000,"timestamp_ms":1776411387000,"timestamp_seconds":1776411387,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5ea478"} 
[2026-04-17 13:09:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:09:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:09:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:09:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:09:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:09:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:09:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:09:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46079,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:09: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-04-17 13:09:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:09:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:09:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761238016001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:09:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:09:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:09:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761238016001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:09:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:09:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:09:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:09:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:09:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761238016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:09:29] local.INFO: DEBUG: GPS processor result {"connection_id":46079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21379,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:09:29] local.INFO: GPS data processed {"connection_id":46079,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:09:29] local.INFO: Acknowledgment sent {"connection_id":46079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:09:31] local.INFO: TCP Data received {"connection_id":45786,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5e8920012d456bc006906598003e00822e..."} 
[2026-04-17 13:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45786,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5e8920012d456bc006906598003e00822e..."} 
[2026-04-17 13:09:31] local.INFO: Processing buffer {"connection_id":45786,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5e8920012d456bc006906598003e00822e..."} 
[2026-04-17 13:09:31] local.INFO: Packet analysis {"connection_id":45786,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:09:31] local.INFO: Extracted packet for processing {"connection_id":45786,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:09:31] local.INFO: GPS Element Parsed {"raw_longitude":759524288,"raw_latitude":110126488,"longitude_deg":75.9524288,"latitude_deg":11.0126488,"altitude":62,"angle":130,"satellites":46,"speed":32,"hex_longitude":"2d456bc0","hex_latitude":"06906598","is_valid_coordinates":true} 
[2026-04-17 13:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761309952001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":4989847677833648128,"note":"Value kept but may cause issues"} 
[2026-04-17 13:09:31] 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-04-17 13:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776411380000,"timestamp_ms":1776411380000,"timestamp_seconds":1776411380,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5e8920"} 
[2026-04-17 13:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 13:09:31] 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-04-17 13:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":45786,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":45786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":45786,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761309952001,"66":28300,"178":206,"19":48128,"24":32,"16":106618783551979520,"45":4989847677833648128},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,178,19,24,16,45]} 
[2026-04-17 13:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761309952001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:09:31] local.INFO: Unknown IO ID detected {"io_id":178,"value":206,"description":"Unknown IO ID 178"} 
[2026-04-17 13:09:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":4989847677833648128,"description":"Unknown IO ID 45"} 
[2026-04-17 13:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761309952001,"power":28300,"unknown_178":206,"unknown_19":48128,"ignition":32,"odometer":null,"unknown_45":4989847677833648128}} 
[2026-04-17 13:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":45786,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21380,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:09:31] local.INFO: GPS data processed {"connection_id":45786,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:09:31] local.INFO: Acknowledgment sent {"connection_id":45786,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:09:31] local.INFO: TCP Data received {"connection_id":46078,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:09:31] local.INFO: Processing buffer {"connection_id":46078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:09:31] local.INFO: Packet analysis {"connection_id":46078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:09:31] local.INFO: Extracted packet for processing {"connection_id":46078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:09:31] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761220352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776411318000,"timestamp_ms":1776411318000,"timestamp_seconds":1776411318,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5d96f0"} 
[2026-04-17 13:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:09:31] 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-04-17 13:09:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:09:31] 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-04-17 13:09:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46078,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761220352001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761220352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:09:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:09:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761220352001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":46078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:09:31] local.INFO: GPS data processed {"connection_id":46078,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:09:31] local.INFO: Acknowledgment sent {"connection_id":46078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:09:49] local.INFO: TCP Data received {"connection_id":46650,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:09:49] local.INFO: Processing buffer {"connection_id":46650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:09:49] local.INFO: IMEI packet received {"connection_id":46650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":46650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:09:50] local.INFO: TCP Data received {"connection_id":46651,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:09:50] local.INFO: Processing buffer {"connection_id":46651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:09:50] local.INFO: IMEI packet received {"connection_id":46651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":46651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:09:54] local.INFO: TCP Data received {"connection_id":46650,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:09:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46650,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:09:54] local.INFO: Processing buffer {"connection_id":46650,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:09:54] local.INFO: IMEI packet received {"connection_id":46650,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:09:54] local.INFO: IMEI acknowledgment sent {"connection_id":46650,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:09:55] local.INFO: TCP Data received {"connection_id":46650,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:09:55] local.INFO: Processing buffer {"connection_id":46650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:09:55] local.INFO: Packet analysis {"connection_id":46650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:09:55] local.INFO: Extracted packet for processing {"connection_id":46650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:09:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:09:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761220352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:09:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:09:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:09: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-04-17 13:09:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776411318000,"timestamp_ms":1776411318000,"timestamp_seconds":1776411318,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5d96f0"} 
[2026-04-17 13:09:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:09: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-04-17 13:09:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:09:55] 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-04-17 13:09:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:09:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:09:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:09:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:09:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:09:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:09:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:09:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:09:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:09:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761220352001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:09:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:09:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:09:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761220352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:09:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:09:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:09:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:09:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:09:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761220352001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:09:55] local.INFO: DEBUG: GPS processor result {"connection_id":46650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21382,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:09:55] local.INFO: GPS data processed {"connection_id":46650,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:09:55] local.INFO: Acknowledgment sent {"connection_id":46650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:09:56] local.INFO: TCP Data received {"connection_id":46651,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46651,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:09:56] local.INFO: Processing buffer {"connection_id":46651,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:09:56] local.INFO: IMEI packet received {"connection_id":46651,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":46651,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:09:57] local.INFO: TCP Data received {"connection_id":46651,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:09:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:09:57] local.INFO: Processing buffer {"connection_id":46651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:09:57] local.INFO: Packet analysis {"connection_id":46651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:09:57] local.INFO: Extracted packet for processing {"connection_id":46651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:09:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:09:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761238016001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:09:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:09:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:09:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:09:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776411387000,"timestamp_ms":1776411387000,"timestamp_seconds":1776411387,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5ea478"} 
[2026-04-17 13:09:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:09:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:09:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:09:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:09:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:09:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:09:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:09:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:09:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:09:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:09:57] 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-04-17 13:09:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:09:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:09:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761238016001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:09:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:09:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:09:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761238016001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:09:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:09:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:09:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:09:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:09:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761238016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:09:57] local.INFO: DEBUG: GPS processor result {"connection_id":46651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:09:57] local.INFO: GPS data processed {"connection_id":46651,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:09:57] local.INFO: Acknowledgment sent {"connection_id":46651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:10:04] local.INFO: TCP Data received {"connection_id":45787,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:10:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:10:04] local.INFO: Processing buffer {"connection_id":45787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:10:04] local.INFO: IMEI packet received {"connection_id":45787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:10:04] local.INFO: IMEI acknowledgment sent {"connection_id":45787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:10:10] local.INFO: TCP Data received {"connection_id":45787,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45787,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:10:10] local.INFO: Processing buffer {"connection_id":45787,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:10:10] local.INFO: IMEI packet received {"connection_id":45787,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":45787,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:10:12] local.INFO: TCP Data received {"connection_id":45787,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5edb28012d459d0006903ba0003e00852c..."} 
[2026-04-17 13:10:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5edb28012d459d0006903ba0003e00852c..."} 
[2026-04-17 13:10:12] local.INFO: Processing buffer {"connection_id":45787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5edb28012d459d0006903ba0003e00852c..."} 
[2026-04-17 13:10:12] local.INFO: Packet analysis {"connection_id":45787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:10:12] local.INFO: Extracted packet for processing {"connection_id":45787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:10:12] local.INFO: GPS Element Parsed {"raw_longitude":759536896,"raw_latitude":110115744,"longitude_deg":75.9536896,"latitude_deg":11.0115744,"altitude":62,"angle":133,"satellites":44,"speed":0,"hex_longitude":"2d459d00","hex_latitude":"06903ba0","is_valid_coordinates":true} 
[2026-04-17 13:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:10:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761313280001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:10:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:10:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5002302945549981696,"note":"Value kept but may cause issues"} 
[2026-04-17 13:10:12] 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-04-17 13:10:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776411401000,"timestamp_ms":1776411401000,"timestamp_seconds":1776411401,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5edb28"} 
[2026-04-17 13:10:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:10: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-04-17 13:10:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 13:10:12] 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-04-17 13:10:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:10:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:10:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:10:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:10:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:10:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:10:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:10:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:10:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:10:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761313280001,"66":28300,"37":206,"19":48128,"24":0,"16":106618783551979520,"45":5002302945549981696},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-04-17 13:10:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:10:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:10:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761313280001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:10:12] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-04-17 13:10:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:10:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:10:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5002302945549981696,"description":"Unknown IO ID 45"} 
[2026-04-17 13:10:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761313280001,"power":28300,"unknown_37":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5002302945549981696}} 
[2026-04-17 13:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":45787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21384,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:10:12] local.INFO: GPS data processed {"connection_id":45787,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:10:12] local.INFO: Acknowledgment sent {"connection_id":45787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:10:27] local.INFO: TCP Data received {"connection_id":46650,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46650,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:10:27] local.INFO: Processing buffer {"connection_id":46650,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:10:27] local.INFO: Packet analysis {"connection_id":46650,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:10:27] local.INFO: Extracted packet for processing {"connection_id":46650,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761220352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:10: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-04-17 13:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776411318000,"timestamp_ms":1776411318000,"timestamp_seconds":1776411318,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5d96f0"} 
[2026-04-17 13:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:10:27] 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-04-17 13:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:10:27] 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-04-17 13:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46650,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46650,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761220352001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761220352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:10:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:10:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761220352001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":46650,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:10:27] local.INFO: GPS data processed {"connection_id":46650,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:10:27] local.INFO: Acknowledgment sent {"connection_id":46650,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:10:28] local.INFO: TCP Data received {"connection_id":46651,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46651,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:10:28] local.INFO: Processing buffer {"connection_id":46651,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:10:28] local.INFO: Packet analysis {"connection_id":46651,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:10:28] local.INFO: Extracted packet for processing {"connection_id":46651,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761238016001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776411387000,"timestamp_ms":1776411387000,"timestamp_seconds":1776411387,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5ea478"} 
[2026-04-17 13:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:10: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-04-17 13: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-04-17 13:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46651,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46651,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761238016001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761238016001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:10:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761238016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":46651,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:10:28] local.INFO: GPS data processed {"connection_id":46651,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:10:28] local.INFO: Acknowledgment sent {"connection_id":46651,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:10:49] local.INFO: TCP Data received {"connection_id":45872,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:10:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:10:49] local.INFO: Processing buffer {"connection_id":45872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:10:49] local.INFO: IMEI packet received {"connection_id":45872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:10:49] local.INFO: IMEI acknowledgment sent {"connection_id":45872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:10:50] local.INFO: TCP Data received {"connection_id":45788,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:10:50] local.INFO: Processing buffer {"connection_id":45788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:10:50] local.INFO: IMEI packet received {"connection_id":45788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":45788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:10:54] local.INFO: TCP Data received {"connection_id":45872,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45872,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:10:54] local.INFO: Processing buffer {"connection_id":45872,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:10:54] local.INFO: IMEI packet received {"connection_id":45872,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":45872,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:10:55] local.INFO: TCP Data received {"connection_id":45872,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:10:55] local.INFO: Processing buffer {"connection_id":45872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5d96f0012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:10:55] local.INFO: Packet analysis {"connection_id":45872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:10:55] local.INFO: Extracted packet for processing {"connection_id":45872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5d"} 
[2026-04-17 13:10:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761220352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13: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-04-17 13:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776411318000,"timestamp_ms":1776411318000,"timestamp_seconds":1776411318,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5d96f0"} 
[2026-04-17 13:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:10: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-04-17 13: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":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:10:55] 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-04-17 13: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-04-17 13:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761220352001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761220352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:10:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:10:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761220352001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":45872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:10:55] local.INFO: GPS data processed {"connection_id":45872,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:10:55] local.INFO: Acknowledgment sent {"connection_id":45872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:10:56] local.INFO: TCP Data received {"connection_id":45788,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45788,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:10:56] local.INFO: Processing buffer {"connection_id":45788,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:10:56] local.INFO: IMEI packet received {"connection_id":45788,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":45788,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:10:56] local.INFO: TCP Data received {"connection_id":45788,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:10:56] local.INFO: Processing buffer {"connection_id":45788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:10:56] local.INFO: Packet analysis {"connection_id":45788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:10:56] local.INFO: Extracted packet for processing {"connection_id":45788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761238016001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776411387000,"timestamp_ms":1776411387000,"timestamp_seconds":1776411387,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5ea478"} 
[2026-04-17 13:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:10:56] 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-04-17 13:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761238016001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761238016001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:10:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761238016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":45788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:10:57] local.INFO: GPS data processed {"connection_id":45788,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:10:57] local.INFO: Acknowledgment sent {"connection_id":45788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:10:57] local.INFO: TCP Data received {"connection_id":45787,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5f2d30012d45cbc0069003f0003e008f2e..."} 
[2026-04-17 13:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5f2d30012d45cbc0069003f0003e008f2e..."} 
[2026-04-17 13:10:57] local.INFO: Processing buffer {"connection_id":45787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5f2d30012d45cbc0069003f0003e008f2e..."} 
[2026-04-17 13:10:57] local.INFO: Packet analysis {"connection_id":45787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5f"} 
[2026-04-17 13:10:57] local.INFO: Extracted packet for processing {"connection_id":45787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5f"} 
[2026-04-17 13:10:57] local.INFO: GPS Element Parsed {"raw_longitude":759548864,"raw_latitude":110101488,"longitude_deg":75.9548864,"latitude_deg":11.0101488,"altitude":62,"angle":143,"satellites":46,"speed":0,"hex_longitude":"2d45cbc0","hex_latitude":"069003f0","is_valid_coordinates":true} 
[2026-04-17 13:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:10:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761318656001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:10:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:10:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5016165588150231040,"note":"Value kept but may cause issues"} 
[2026-04-17 13:10:57] 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-04-17 13:10:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776411422000,"timestamp_ms":1776411422000,"timestamp_seconds":1776411422,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5f2d30"} 
[2026-04-17 13:10:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:10:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:10:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 13:10:57] 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-04-17 13:10:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:10:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:10:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:10:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:10:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:10:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45787,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:10:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:10:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:10:57] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:10:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761318656001,"66":28256,"37":206,"19":48128,"24":0,"16":106618783551979520,"45":5016165588150231040},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-04-17 13:10:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:10:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:10:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761318656001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:10:57] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-04-17 13:10:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:10:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:10:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":5016165588150231040,"description":"Unknown IO ID 45"} 
[2026-04-17 13:10:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761318656001,"power":28256,"unknown_37":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5016165588150231040}} 
[2026-04-17 13:10:57] local.INFO: DEBUG: GPS processor result {"connection_id":45787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21389,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:10:57] local.INFO: GPS data processed {"connection_id":45787,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:10:57] local.INFO: Acknowledgment sent {"connection_id":45787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:11:09] local.INFO: TCP Data received {"connection_id":45873,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:11:09] local.INFO: Processing buffer {"connection_id":45873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:11:09] local.INFO: IMEI packet received {"connection_id":45873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":45873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:11:15] local.INFO: TCP Data received {"connection_id":45873,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:11:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45873,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:11:15] local.INFO: Processing buffer {"connection_id":45873,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:11:15] local.INFO: IMEI packet received {"connection_id":45873,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:11:15] local.INFO: IMEI acknowledgment sent {"connection_id":45873,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:11:19] local.INFO: TCP Data received {"connection_id":45873,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5f7f38012d45f500068fcc38004100902e..."} 
[2026-04-17 13:11:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5f7f38012d45f500068fcc38004100902e..."} 
[2026-04-17 13:11:19] local.INFO: Processing buffer {"connection_id":45873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5f7f38012d45f500068fcc38004100902e..."} 
[2026-04-17 13:11:19] local.INFO: Packet analysis {"connection_id":45873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5f"} 
[2026-04-17 13:11:19] local.INFO: Extracted packet for processing {"connection_id":45873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5f"} 
[2026-04-17 13:11:19] local.INFO: GPS Element Parsed {"raw_longitude":759559424,"raw_latitude":110087224,"longitude_deg":75.9559424,"latitude_deg":11.0087224,"altitude":65,"angle":144,"satellites":46,"speed":0,"hex_longitude":"2d45f500","hex_latitude":"068fcc38","is_valid_coordinates":true} 
[2026-04-17 13:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:11:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761324032001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:11:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:11:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5029324543307804672,"note":"Value kept but may cause issues"} 
[2026-04-17 13:11: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-04-17 13:11:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776411443000,"timestamp_ms":1776411443000,"timestamp_seconds":1776411443,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5f7f38"} 
[2026-04-17 13:11:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:11:19] 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-04-17 13:11:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 13:11:19] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:11:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:11:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:11:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:11:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:11:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:11:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45873,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:11:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:11:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:11:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:11:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761324032001,"66":28278,"37":206,"19":48128,"24":0,"16":106618783551979520,"45":5029324543307804672},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,37,19,24,16,45]} 
[2026-04-17 13:11:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:11:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:11:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761324032001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:11:19] local.INFO: Unknown IO ID detected {"io_id":37,"value":206,"description":"Unknown IO ID 37"} 
[2026-04-17 13:11:19] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:11:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:11:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":5029324543307804672,"description":"Unknown IO ID 45"} 
[2026-04-17 13:11:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761324032001,"power":28278,"unknown_37":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5029324543307804672}} 
[2026-04-17 13:11:19] local.INFO: DEBUG: GPS processor result {"connection_id":45873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21390,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:11:19] local.INFO: GPS data processed {"connection_id":45873,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:11:19] local.INFO: Acknowledgment sent {"connection_id":45873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:11:27] local.INFO: TCP Data received {"connection_id":45872,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45872,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:11:27] local.INFO: Processing buffer {"connection_id":45872,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:11:27] local.INFO: Packet analysis {"connection_id":45872,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:11:27] local.INFO: Extracted packet for processing {"connection_id":45872,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:11:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761297408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:11: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-04-17 13:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776411619000,"timestamp_ms":1776411619000,"timestamp_seconds":1776411619,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a622eb8"} 
[2026-04-17 13:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:11:27] 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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:11:27] 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-04-17 13: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-04-17 13:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45872,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45872,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761297408001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761297408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:11:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:11:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761297408001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":45872,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21391,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:11:27] local.INFO: GPS data processed {"connection_id":45872,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:11:27] local.INFO: Acknowledgment sent {"connection_id":45872,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:11:28] local.INFO: TCP Data received {"connection_id":45788,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45788,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:11:28] local.INFO: Processing buffer {"connection_id":45788,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:11:28] local.INFO: Packet analysis {"connection_id":45788,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:11:28] local.INFO: Extracted packet for processing {"connection_id":45788,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761238016001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776411387000,"timestamp_ms":1776411387000,"timestamp_seconds":1776411387,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5ea478"} 
[2026-04-17 13:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:11: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-04-17 13: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-04-17 13:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45788,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45788,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:11:28] 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-04-17 13:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761238016001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761238016001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:11:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761238016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":45788,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21392,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:11:28] local.INFO: GPS data processed {"connection_id":45788,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:11:28] local.INFO: Acknowledgment sent {"connection_id":45788,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:11:48] local.INFO: TCP Data received {"connection_id":46080,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:11:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:11:48] local.INFO: Processing buffer {"connection_id":46080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:11:48] local.INFO: IMEI packet received {"connection_id":46080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:11:48] local.INFO: IMEI acknowledgment sent {"connection_id":46080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:11:54] local.INFO: TCP Data received {"connection_id":46080,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46080,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:11:54] local.INFO: Processing buffer {"connection_id":46080,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:11:54] local.INFO: IMEI packet received {"connection_id":46080,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":46080,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:11:56] local.INFO: TCP Data received {"connection_id":46080,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:11:56] local.INFO: Processing buffer {"connection_id":46080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:11:56] local.INFO: Packet analysis {"connection_id":46080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:11:56] local.INFO: Extracted packet for processing {"connection_id":46080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:11:56] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761297408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:11: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-04-17 13:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776411619000,"timestamp_ms":1776411619000,"timestamp_seconds":1776411619,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a622eb8"} 
[2026-04-17 13:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:11: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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:11: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-04-17 13: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-04-17 13:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761297408001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761297408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:11:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:11:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761297408001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":46080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:11:56] local.INFO: GPS data processed {"connection_id":46080,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:11:56] local.INFO: Acknowledgment sent {"connection_id":46080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:11:56] local.INFO: TCP Data received {"connection_id":45789,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:11:56] local.INFO: Processing buffer {"connection_id":45789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:11:56] local.INFO: IMEI packet received {"connection_id":45789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":45789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:12:01] local.INFO: TCP Data received {"connection_id":45789,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:12:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:12:01] local.INFO: Processing buffer {"connection_id":45789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:12:01] local.INFO: IMEI packet received {"connection_id":45789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:12:01] local.INFO: IMEI acknowledgment sent {"connection_id":45789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:12:02] local.INFO: TCP Data received {"connection_id":45789,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:12:02] local.INFO: Processing buffer {"connection_id":45789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:12:02] local.INFO: Packet analysis {"connection_id":45789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:12:02] local.INFO: Extracted packet for processing {"connection_id":45789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761238016001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776411387000,"timestamp_ms":1776411387000,"timestamp_seconds":1776411387,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5ea478"} 
[2026-04-17 13:12:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:12: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-04-17 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:12:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:12:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:12:02] 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-04-17 13:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761238016001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761238016001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:12:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761238016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":45789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:12:02] local.INFO: GPS data processed {"connection_id":45789,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:12:02] local.INFO: Acknowledgment sent {"connection_id":45789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:12:04] local.INFO: TCP Data received {"connection_id":45874,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:12:04] local.INFO: Processing buffer {"connection_id":45874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:12:04] local.INFO: IMEI packet received {"connection_id":45874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":45874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:12:05] local.INFO: TCP Data received {"connection_id":45874,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:12:05] local.INFO: Processing buffer {"connection_id":45874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:12:05] local.INFO: IMEI packet received {"connection_id":45874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":45874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:12:07] local.INFO: TCP Data received {"connection_id":45789,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:12:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:12:07] local.INFO: Processing buffer {"connection_id":45789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a5ea478012d7faa8005afd2f80008000031..."} 
[2026-04-17 13:12:07] local.INFO: Packet analysis {"connection_id":45789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:12:07] local.INFO: Extracted packet for processing {"connection_id":45789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a5e"} 
[2026-04-17 13:12:07] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 13:12:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761238016001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:12:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:12:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:12:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:12:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776411387000,"timestamp_ms":1776411387000,"timestamp_seconds":1776411387,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a5ea478"} 
[2026-04-17 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-04-17 13:12:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:12:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 13:12:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:12:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:12:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:12:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:12: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-04-17 13:12:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:12:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:12:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761238016001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:12:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:12:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:12:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761238016001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:12:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:12:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:12:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:12:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:12:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761238016001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:12:07] local.INFO: DEBUG: GPS processor result {"connection_id":45789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:12:07] local.INFO: GPS data processed {"connection_id":45789,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:12:07] local.INFO: Acknowledgment sent {"connection_id":45789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:12:10] local.INFO: TCP Data received {"connection_id":45874,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:12:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45874,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:12:10] local.INFO: Processing buffer {"connection_id":45874,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:12:10] local.INFO: IMEI packet received {"connection_id":45874,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:12:10] local.INFO: IMEI acknowledgment sent {"connection_id":45874,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:12:13] local.INFO: TCP Data received {"connection_id":45874,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6278f0012d474180068dd5d0004c004d2b..."} 
[2026-04-17 13:12:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6278f0012d474180068dd5d0004c004d2b..."} 
[2026-04-17 13:12:13] local.INFO: Processing buffer {"connection_id":45874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6278f0012d474180068dd5d0004c004d2b..."} 
[2026-04-17 13:12:13] local.INFO: Packet analysis {"connection_id":45874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:12:13] local.INFO: Extracted packet for processing {"connection_id":45874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:12:13] local.INFO: GPS Element Parsed {"raw_longitude":759644544,"raw_latitude":109958608,"longitude_deg":75.9644544,"latitude_deg":10.9958608,"altitude":76,"angle":77,"satellites":43,"speed":53,"hex_longitude":"2d474180","hex_latitude":"068dd5d0","is_valid_coordinates":true} 
[2026-04-17 13:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:12:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761375488001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:12:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:12:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5110178230331529216,"note":"Value kept but may cause issues"} 
[2026-04-17 13:12:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:12:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776411638000,"timestamp_ms":1776411638000,"timestamp_seconds":1776411638,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6278f0"} 
[2026-04-17 13:12:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:12:13] 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-04-17 13:12:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 13:12:13] 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-04-17 13:12:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:12:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:12:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:12:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:12:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:12:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:12:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:12:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:12:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:12:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761375488001,"66":28234,"129":206,"19":48128,"24":53,"16":106618783551979520,"45":5110178230331529216},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,19,24,16,45]} 
[2026-04-17 13:12:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:12:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:12:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761375488001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:12:13] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 13:12:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:12:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:12:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":5110178230331529216,"description":"Unknown IO ID 45"} 
[2026-04-17 13:12:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761375488001,"power":28234,"unknown_129":206,"unknown_19":48128,"ignition":53,"odometer":null,"unknown_45":5110178230331529216}} 
[2026-04-17 13:12:13] local.INFO: DEBUG: GPS processor result {"connection_id":45874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21396,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:12:13] local.INFO: GPS data processed {"connection_id":45874,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:12:13] local.INFO: Acknowledgment sent {"connection_id":45874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:12:27] local.INFO: TCP Data received {"connection_id":46080,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46080,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:12:27] local.INFO: Processing buffer {"connection_id":46080,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:12:27] local.INFO: Packet analysis {"connection_id":46080,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:12:27] local.INFO: Extracted packet for processing {"connection_id":46080,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:12:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761297408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:12: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-04-17 13:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776411619000,"timestamp_ms":1776411619000,"timestamp_seconds":1776411619,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a622eb8"} 
[2026-04-17 13:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:12:27] 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-04-17 13:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:12:27] 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-04-17 13:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46080,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46080,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761297408001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761297408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:12:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:12:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761297408001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":46080,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:12:28] local.INFO: GPS data processed {"connection_id":46080,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:12:28] local.INFO: Acknowledgment sent {"connection_id":46080,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:12:47] local.INFO: TCP Data received {"connection_id":45874,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a62caf8012d479580068deec8004000492b..."} 
[2026-04-17 13:12:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45874,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a62caf8012d479580068deec8004000492b..."} 
[2026-04-17 13:12:47] local.INFO: Processing buffer {"connection_id":45874,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a62caf8012d479580068deec8004000492b..."} 
[2026-04-17 13:12:47] local.INFO: Packet analysis {"connection_id":45874,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:12:47] local.INFO: Extracted packet for processing {"connection_id":45874,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:12:47] local.INFO: GPS Element Parsed {"raw_longitude":759666048,"raw_latitude":109965000,"longitude_deg":75.9666048,"latitude_deg":10.9965,"altitude":64,"angle":73,"satellites":43,"speed":0,"hex_longitude":"2d479580","hex_latitude":"068deec8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:12:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761379328001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:12:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:12:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5134525815816835072,"note":"Value kept but may cause issues"} 
[2026-04-17 13:12:47] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:12:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776411659000,"timestamp_ms":1776411659000,"timestamp_seconds":1776411659,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a62caf8"} 
[2026-04-17 13:12:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:12:47] 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-04-17 13: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-04-17 13:12:47] 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-04-17 13: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-04-17 13:12:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:12:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:12:47] local.INFO: Teltonika packet parsed successfully {"connection_id":45874,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:12:47] local.INFO: Passing IMEI to GPS processor {"connection_id":45874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:12:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":45874,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:12:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:12:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:12:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:12:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761379328001,"66":28354,"129":206,"19":48128,"24":0,"16":106618783551979520,"45":5134525815816835072},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,19,24,16,45]} 
[2026-04-17 13:12:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:12:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:12:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761379328001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:12:47] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 13:12:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:12:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:12:47] local.INFO: Unknown IO ID detected {"io_id":45,"value":5134525815816835072,"description":"Unknown IO ID 45"} 
[2026-04-17 13:12:47] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761379328001,"power":28354,"unknown_129":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5134525815816835072}} 
[2026-04-17 13:12:47] local.INFO: DEBUG: GPS processor result {"connection_id":45874,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21398,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:12:47] local.INFO: GPS data processed {"connection_id":45874,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:12:47] local.INFO: Acknowledgment sent {"connection_id":45874,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:12:50] local.INFO: TCP Data received {"connection_id":46652,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:12:50] local.INFO: Processing buffer {"connection_id":46652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:12:50] local.INFO: IMEI packet received {"connection_id":46652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":46652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:12:54] local.INFO: TCP Data received {"connection_id":46081,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:12:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:12:54] local.INFO: Processing buffer {"connection_id":46081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:12:54] local.INFO: IMEI packet received {"connection_id":46081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:12:54] local.INFO: IMEI acknowledgment sent {"connection_id":46081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:12:56] local.INFO: TCP Data received {"connection_id":46652,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46652,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:12:56] local.INFO: Processing buffer {"connection_id":46652,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:12:56] local.INFO: IMEI packet received {"connection_id":46652,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":46652,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:12:57] local.INFO: TCP Data received {"connection_id":46652,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:12:57] local.INFO: Processing buffer {"connection_id":46652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:12:57] local.INFO: Packet analysis {"connection_id":46652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:12:57] local.INFO: Extracted packet for processing {"connection_id":46652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761315072001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776411688000,"timestamp_ms":1776411688000,"timestamp_seconds":1776411688,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a633c40"} 
[2026-04-17 13:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761315072001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761315072001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:12:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761315072001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":46652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:12:57] local.INFO: GPS data processed {"connection_id":46652,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:12:57] local.INFO: Acknowledgment sent {"connection_id":46652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:12:59] local.INFO: TCP Data received {"connection_id":46081,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46081,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:12:59] local.INFO: Processing buffer {"connection_id":46081,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:12:59] local.INFO: IMEI packet received {"connection_id":46081,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:12:59] local.INFO: IMEI acknowledgment sent {"connection_id":46081,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:13:01] local.INFO: TCP Data received {"connection_id":46081,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:13:01] local.INFO: Processing buffer {"connection_id":46081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:13:01] local.INFO: Packet analysis {"connection_id":46081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:13:01] local.INFO: Extracted packet for processing {"connection_id":46081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:13:01] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761297408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:13: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-04-17 13:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776411619000,"timestamp_ms":1776411619000,"timestamp_seconds":1776411619,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a622eb8"} 
[2026-04-17 13:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:13:01] 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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:13:01] 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-04-17 13: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-04-17 13:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:13:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761297408001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761297408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:13:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:13:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761297408001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":46081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21400,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:13:01] local.INFO: GPS data processed {"connection_id":46081,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:13:01] local.INFO: Acknowledgment sent {"connection_id":46081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:13:04] local.INFO: TCP Data received {"connection_id":46081,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:13:04] local.INFO: Processing buffer {"connection_id":46081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:13:04] local.INFO: Packet analysis {"connection_id":46081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:13:04] local.INFO: Extracted packet for processing {"connection_id":46081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761297408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776411619000,"timestamp_ms":1776411619000,"timestamp_seconds":1776411619,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a622eb8"} 
[2026-04-17 13:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:13:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:13:04] 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-04-17 13: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-04-17 13:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46081,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761297408001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761297408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:13:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:13:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761297408001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":46081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:13:05] local.INFO: GPS data processed {"connection_id":46081,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:13:05] local.INFO: Acknowledgment sent {"connection_id":46081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:13:05] local.INFO: TCP Data received {"connection_id":45790,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:13:05] local.INFO: Processing buffer {"connection_id":45790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:13:05] local.INFO: IMEI packet received {"connection_id":45790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:13:05] local.INFO: IMEI acknowledgment sent {"connection_id":45790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:13:08] local.INFO: TCP Data received {"connection_id":45790,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:13:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:13:08] local.INFO: Processing buffer {"connection_id":45790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:13:08] local.INFO: IMEI packet received {"connection_id":45790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:13:08] local.INFO: IMEI acknowledgment sent {"connection_id":45790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:13:09] local.INFO: TCP Data received {"connection_id":45790,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:13:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:13:09] local.INFO: Processing buffer {"connection_id":45790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:13:09] local.INFO: IMEI packet received {"connection_id":45790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:13:09] local.INFO: IMEI acknowledgment sent {"connection_id":45790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:13:10] local.INFO: TCP Data received {"connection_id":45790,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a62f5f0012d47e8c0068dfe480039005728..."} 
[2026-04-17 13:13:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a62f5f0012d47e8c0068dfe480039005728..."} 
[2026-04-17 13:13:10] local.INFO: Processing buffer {"connection_id":45790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a62f5f0012d47e8c0068dfe480039005728..."} 
[2026-04-17 13:13:10] local.INFO: Packet analysis {"connection_id":45790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:13:10] local.INFO: Extracted packet for processing {"connection_id":45790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:13:10] local.INFO: GPS Element Parsed {"raw_longitude":759687360,"raw_latitude":109968968,"longitude_deg":75.968736,"latitude_deg":10.9968968,"altitude":57,"angle":87,"satellites":40,"speed":55,"hex_longitude":"2d47e8c0","hex_latitude":"068dfe48","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:13:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761384704001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:13:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:13:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5158169713862166528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:13:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:13:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776411670000,"timestamp_ms":1776411670000,"timestamp_seconds":1776411670,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a62f5f0"} 
[2026-04-17 13:13:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:13:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:13:10] 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-04-17 13: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-04-17 13:13:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:13:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:13:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:13:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:13:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:13:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:13:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:13:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:13:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761384704001,"66":28354,"129":206,"19":48128,"24":55,"16":106618783551979520,"45":5158169713862166528},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,19,24,16,45]} 
[2026-04-17 13:13:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:13:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:13:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761384704001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:13:10] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 13:13:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:13:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:13:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5158169713862166528,"description":"Unknown IO ID 45"} 
[2026-04-17 13:13:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761384704001,"power":28354,"unknown_129":206,"unknown_19":48128,"ignition":55,"odometer":null,"unknown_45":5158169713862166528}} 
[2026-04-17 13:13:10] local.INFO: DEBUG: GPS processor result {"connection_id":45790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21402,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:13:10] local.INFO: GPS data processed {"connection_id":45790,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:13:10] local.INFO: Acknowledgment sent {"connection_id":45790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:13:28] local.INFO: TCP Data received {"connection_id":46652,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46652,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:13:28] local.INFO: Processing buffer {"connection_id":46652,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:13:28] local.INFO: Packet analysis {"connection_id":46652,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:13:28] local.INFO: Extracted packet for processing {"connection_id":46652,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761315072001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776411688000,"timestamp_ms":1776411688000,"timestamp_seconds":1776411688,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a633c40"} 
[2026-04-17 13:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46652,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46652,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761315072001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761315072001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:13:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:13:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761315072001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":46652,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:13:28] local.INFO: GPS data processed {"connection_id":46652,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:13:28] local.INFO: Acknowledgment sent {"connection_id":46652,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:13:42] local.INFO: TCP Data received {"connection_id":45790,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a633470012d484080068df278003000692f..."} 
[2026-04-17 13:13:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a633470012d484080068df278003000692f..."} 
[2026-04-17 13:13:42] local.INFO: Processing buffer {"connection_id":45790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a633470012d484080068df278003000692f..."} 
[2026-04-17 13:13:42] local.INFO: Packet analysis {"connection_id":45790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:13:42] local.INFO: Extracted packet for processing {"connection_id":45790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:13:42] local.INFO: GPS Element Parsed {"raw_longitude":759709824,"raw_latitude":109965944,"longitude_deg":75.9709824,"latitude_deg":10.9965944,"altitude":48,"angle":105,"satellites":47,"speed":57,"hex_longitude":"2d484080","hex_latitude":"068df278","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:13:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761387520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:13:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:13:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5181602505674344448,"note":"Value kept but may cause issues"} 
[2026-04-17 13:13:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:13:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776411686000,"timestamp_ms":1776411686000,"timestamp_seconds":1776411686,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a633470"} 
[2026-04-17 13:13:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:13:42] 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-04-17 13: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:13:42] 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-04-17 13: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-04-17 13:13:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:13:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:13:42] local.INFO: Teltonika packet parsed successfully {"connection_id":45790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:13:42] local.INFO: Passing IMEI to GPS processor {"connection_id":45790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:13:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":45790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:13:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:13:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:13:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:13:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761387520001,"66":28028,"129":206,"19":48128,"24":57,"16":106618783551979520,"45":5181602505674344448},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,19,24,16,45]} 
[2026-04-17 13:13:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:13:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:13:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761387520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:13:42] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 13:13:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:13:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:13:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":5181602505674344448,"description":"Unknown IO ID 45"} 
[2026-04-17 13:13:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761387520001,"power":28028,"unknown_129":206,"unknown_19":48128,"ignition":57,"odometer":null,"unknown_45":5181602505674344448}} 
[2026-04-17 13:13:42] local.INFO: DEBUG: GPS processor result {"connection_id":45790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21404,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:13:42] local.INFO: GPS data processed {"connection_id":45790,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:13:42] local.INFO: Acknowledgment sent {"connection_id":45790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:13:49] local.INFO: TCP Data received {"connection_id":46653,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:13:49] local.INFO: Processing buffer {"connection_id":46653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:13:49] local.INFO: IMEI packet received {"connection_id":46653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":46653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:13:54] local.INFO: TCP Data received {"connection_id":46653,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:13:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46653,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:13:54] local.INFO: Processing buffer {"connection_id":46653,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:13:54] local.INFO: IMEI packet received {"connection_id":46653,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:13:54] local.INFO: IMEI acknowledgment sent {"connection_id":46653,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:13:56] local.INFO: TCP Data received {"connection_id":46654,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:13:56] local.INFO: Processing buffer {"connection_id":46654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:13:56] local.INFO: IMEI packet received {"connection_id":46654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":46654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:13:56] local.INFO: TCP Data received {"connection_id":46653,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:13:56] local.INFO: Processing buffer {"connection_id":46653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:13:56] local.INFO: Packet analysis {"connection_id":46653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:13:56] local.INFO: Extracted packet for processing {"connection_id":46653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:13:56] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761297408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:13: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-04-17 13:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776411619000,"timestamp_ms":1776411619000,"timestamp_seconds":1776411619,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a622eb8"} 
[2026-04-17 13:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:13: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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:13: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-04-17 13: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-04-17 13:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761297408001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761297408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:13:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:13:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761297408001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":46653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21405,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:13:56] local.INFO: GPS data processed {"connection_id":46653,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:13:56] local.INFO: Acknowledgment sent {"connection_id":46653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:14:01] local.INFO: TCP Data received {"connection_id":46654,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46654,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:14:01] local.INFO: Processing buffer {"connection_id":46654,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:14:01] local.INFO: IMEI packet received {"connection_id":46654,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:14:01] local.INFO: IMEI acknowledgment sent {"connection_id":46654,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:14:01] local.INFO: TCP Data received {"connection_id":46654,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:14:01] local.INFO: Processing buffer {"connection_id":46654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:14:01] local.INFO: Packet analysis {"connection_id":46654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:14:01] local.INFO: Extracted packet for processing {"connection_id":46654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761315072001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776411688000,"timestamp_ms":1776411688000,"timestamp_seconds":1776411688,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a633c40"} 
[2026-04-17 13:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761315072001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761315072001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:14:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:14:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761315072001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":46654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:14:01] local.INFO: GPS data processed {"connection_id":46654,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:14:01] local.INFO: Acknowledgment sent {"connection_id":46654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:14:06] local.INFO: TCP Data received {"connection_id":46654,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:14:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46654,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:14:06] local.INFO: Processing buffer {"connection_id":46654,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:14:06] local.INFO: Packet analysis {"connection_id":46654,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:14:06] local.INFO: Extracted packet for processing {"connection_id":46654,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:14:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:14:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761315072001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:14:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776411688000,"timestamp_ms":1776411688000,"timestamp_seconds":1776411688,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a633c40"} 
[2026-04-17 13:14:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:14:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:14:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:14:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:14:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:14:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46654,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:14:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:14:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46654,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:14:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:14:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:14:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:14:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761315072001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:14:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:14:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:14:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761315072001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:14:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:14:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:14:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:14:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:14:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761315072001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:14:06] local.INFO: DEBUG: GPS processor result {"connection_id":46654,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:14:06] local.INFO: GPS data processed {"connection_id":46654,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:14:06] local.INFO: Acknowledgment sent {"connection_id":46654,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:14:10] local.INFO: TCP Data received {"connection_id":45875,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:14:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45875,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:14:10] local.INFO: Processing buffer {"connection_id":45875,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:14:10] local.INFO: IMEI packet received {"connection_id":45875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:14:10] local.INFO: IMEI acknowledgment sent {"connection_id":45875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:14:26] local.INFO: TCP Data received {"connection_id":45875,"ip":"117.224.17.214","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 13:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45875,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 13:14:26] local.INFO: Processing buffer {"connection_id":45875,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 13:14:26] local.INFO: IMEI packet received {"connection_id":45875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":45875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:14:28] local.INFO: TCP Data received {"connection_id":46653,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46653,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:14:28] local.INFO: Processing buffer {"connection_id":46653,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:14:28] local.INFO: Packet analysis {"connection_id":46653,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:14:28] local.INFO: Extracted packet for processing {"connection_id":46653,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:14:28] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761297408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14: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-04-17 13:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776411619000,"timestamp_ms":1776411619000,"timestamp_seconds":1776411619,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a622eb8"} 
[2026-04-17 13:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:14: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-04-17 13:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:14:28] 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-04-17 13:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46653,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46653,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761297408001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761297408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:14:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:14:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761297408001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":46653,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21408,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:14:28] local.INFO: GPS data processed {"connection_id":46653,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:14:28] local.INFO: Acknowledgment sent {"connection_id":46653,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:14:32] local.INFO: TCP Data received {"connection_id":45875,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6372f0012d489440068dc8500024007e33..."} 
[2026-04-17 13:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6372f0012d489440068dc8500024007e33..."} 
[2026-04-17 13:14:32] local.INFO: Processing buffer {"connection_id":45875,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019d9a..."} 
[2026-04-17 13:14:32] local.INFO: IMEI packet received {"connection_id":45875,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":45875,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:14:36] local.INFO: TCP Data received {"connection_id":45875,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a63b170012d48d5c0068d8228001a009432..."} 
[2026-04-17 13:14:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a63b170012d48d5c0068d8228001a009432..."} 
[2026-04-17 13:14:36] local.INFO: Processing buffer {"connection_id":45875,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019d9a6372f0012d489440068dc8500024007e33..."} 
[2026-04-17 13:14:36] local.INFO: Packet analysis {"connection_id":45875,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:14:36] local.INFO: Extracted packet for processing {"connection_id":45875,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:14:36] local.INFO: GPS Element Parsed {"raw_longitude":759731264,"raw_latitude":109955152,"longitude_deg":75.9731264,"latitude_deg":10.9955152,"altitude":36,"angle":126,"satellites":51,"speed":60,"hex_longitude":"2d489440","hex_latitude":"068dc850","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761391616001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5206301934879930368,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776411702000,"timestamp_ms":1776411702000,"timestamp_seconds":1776411702,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6372f0"} 
[2026-04-17 13:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:14: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-04-17 13: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":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 13:14: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-04-17 13: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-04-17 13:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":45875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":45875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":45875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761391616001,"66":28050,"129":206,"19":48128,"24":60,"16":106618783551979520,"45":5206301934879930368},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,19,24,16,45]} 
[2026-04-17 13:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761391616001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:14:36] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 13:14:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5206301934879930368,"description":"Unknown IO ID 45"} 
[2026-04-17 13:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761391616001,"power":28050,"unknown_129":206,"unknown_19":48128,"ignition":60,"odometer":null,"unknown_45":5206301934879930368}} 
[2026-04-17 13:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":45875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21409,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:14:36] local.INFO: GPS data processed {"connection_id":45875,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:14:36] local.INFO: Acknowledgment sent {"connection_id":45875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:14:36] local.INFO: Packet analysis {"connection_id":45875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:14:36] local.INFO: Extracted packet for processing {"connection_id":45875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:14:36] local.INFO: GPS Element Parsed {"raw_longitude":759748032,"raw_latitude":109937192,"longitude_deg":75.9748032,"latitude_deg":10.9937192,"altitude":26,"angle":148,"satellites":50,"speed":64,"hex_longitude":"2d48d5c0","hex_latitude":"068d8228","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:14:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761395712001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5229875464176685056,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:14:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776411718000,"timestamp_ms":1776411718000,"timestamp_seconds":1776411718,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a63b170"} 
[2026-04-17 13:14:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:14: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-04-17 13: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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-17 13:14: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-04-17 13: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-04-17 13:14:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:14:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:14:36] local.INFO: Teltonika packet parsed successfully {"connection_id":45875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:14:36] local.INFO: Passing IMEI to GPS processor {"connection_id":45875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:14:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":45875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:14:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:14:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:14:36] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:14:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761395712001,"66":28256,"128":206,"19":48128,"24":64,"16":106618783551979520,"45":5229875464176685056},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,19,24,16,45]} 
[2026-04-17 13:14:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:14:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:14:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761395712001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:14:36] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-04-17 13:14:36] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:14:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:14:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":5229875464176685056,"description":"Unknown IO ID 45"} 
[2026-04-17 13:14:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761395712001,"power":28256,"unknown_128":206,"unknown_19":48128,"ignition":64,"odometer":null,"unknown_45":5229875464176685056}} 
[2026-04-17 13:14:36] local.INFO: DEBUG: GPS processor result {"connection_id":45875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21410,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:14:36] local.INFO: GPS data processed {"connection_id":45875,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:14:36] local.INFO: Acknowledgment sent {"connection_id":45875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:14:38] local.INFO: TCP Data received {"connection_id":45875,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a64bb100100000000000000000000000000..."} 
[2026-04-17 13:14:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a64bb100100000000000000000000000000..."} 
[2026-04-17 13:14:38] local.INFO: Processing buffer {"connection_id":45875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a64bb100100000000000000000000000000..."} 
[2026-04-17 13:14:38] local.INFO: Packet analysis {"connection_id":45875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a64"} 
[2026-04-17 13:14:38] local.INFO: Extracted packet for processing {"connection_id":45875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a64"} 
[2026-04-17 13:14: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-04-17 13: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-04-17 13:14:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761399808001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5248312075146635264,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,128,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:14:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776411786000,"timestamp_ms":1776411786000,"timestamp_seconds":1776411786,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a64bb10"} 
[2026-04-17 13:14:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:14:38] 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-04-17 13: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 13:14:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:14:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:14:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:14:38] local.INFO: Teltonika packet parsed successfully {"connection_id":45875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:14:38] local.INFO: Passing IMEI to GPS processor {"connection_id":45875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:14:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":45875,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:14:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:14:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:14:38] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:14:38] local.INFO: DEBUG: GPS processor result {"connection_id":45875,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:14:38] local.INFO: GPS data processed {"connection_id":45875,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:14:38] local.INFO: Acknowledgment sent {"connection_id":45875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:14:48] local.INFO: TCP Data received {"connection_id":46082,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:14:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:14:48] local.INFO: Processing buffer {"connection_id":46082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:14:48] local.INFO: IMEI packet received {"connection_id":46082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:14:48] local.INFO: IMEI acknowledgment sent {"connection_id":46082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:14:50] local.INFO: TCP Data received {"connection_id":46083,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:14:50] local.INFO: Processing buffer {"connection_id":46083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:14:50] local.INFO: IMEI packet received {"connection_id":46083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":46083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:14:56] local.INFO: TCP Data received {"connection_id":46083,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46083,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:14:56] local.INFO: Processing buffer {"connection_id":46083,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:14:56] local.INFO: IMEI packet received {"connection_id":46083,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":46083,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:14:57] local.INFO: TCP Data received {"connection_id":46083,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:14:57] local.INFO: Processing buffer {"connection_id":46083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:14:57] local.INFO: Packet analysis {"connection_id":46083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:14:57] local.INFO: Extracted packet for processing {"connection_id":46083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:14:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761315072001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776411688000,"timestamp_ms":1776411688000,"timestamp_seconds":1776411688,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a633c40"} 
[2026-04-17 13:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:14:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:14:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:14:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761315072001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761315072001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:14:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:14:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761315072001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":46083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:14:57] local.INFO: GPS data processed {"connection_id":46083,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:14:57] local.INFO: Acknowledgment sent {"connection_id":46083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:14:57] local.INFO: TCP Data received {"connection_id":46082,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46082,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:14:57] local.INFO: Processing buffer {"connection_id":46082,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:14:57] local.INFO: IMEI packet received {"connection_id":46082,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:14:57] local.INFO: IMEI acknowledgment sent {"connection_id":46082,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:14:58] local.INFO: TCP Data received {"connection_id":46082,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:14:58] local.INFO: Processing buffer {"connection_id":46082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:14:58] local.INFO: Packet analysis {"connection_id":46082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:14:58] local.INFO: Extracted packet for processing {"connection_id":46082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:14:58] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761297408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:14: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-04-17 13:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776411619000,"timestamp_ms":1776411619000,"timestamp_seconds":1776411619,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a622eb8"} 
[2026-04-17 13:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:14: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-04-17 13:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:14: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-04-17 13: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-04-17 13:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761297408001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761297408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:14:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:14:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761297408001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:14:58] local.INFO: DEBUG: GPS processor result {"connection_id":46082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21412,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:14:58] local.INFO: GPS data processed {"connection_id":46082,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:14:58] local.INFO: Acknowledgment sent {"connection_id":46082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:15:04] local.INFO: TCP Data received {"connection_id":46084,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:15:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46084,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:15:04] local.INFO: Processing buffer {"connection_id":46084,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:15:04] local.INFO: IMEI packet received {"connection_id":46084,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:15:04] local.INFO: IMEI acknowledgment sent {"connection_id":46084,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:15:10] local.INFO: TCP Data received {"connection_id":46084,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:15:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46084,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:15:10] local.INFO: Processing buffer {"connection_id":46084,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:15:10] local.INFO: IMEI packet received {"connection_id":46084,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:15:10] local.INFO: IMEI acknowledgment sent {"connection_id":46084,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:15:12] local.INFO: TCP Data received {"connection_id":46084,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6426a0012d492280068ccf880013009e34..."} 
[2026-04-17 13:15:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6426a0012d492280068ccf880013009e34..."} 
[2026-04-17 13:15:12] local.INFO: Processing buffer {"connection_id":46084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6426a0012d492280068ccf880013009e34..."} 
[2026-04-17 13:15:12] local.INFO: Packet analysis {"connection_id":46084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a64"} 
[2026-04-17 13:15:12] local.INFO: Extracted packet for processing {"connection_id":46084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a64"} 
[2026-04-17 13:15:12] local.INFO: GPS Element Parsed {"raw_longitude":759767680,"raw_latitude":109891464,"longitude_deg":75.976768,"latitude_deg":10.9891464,"altitude":19,"angle":158,"satellites":52,"speed":54,"hex_longitude":"2d492280","hex_latitude":"068ccf88","is_valid_coordinates":true} 
[2026-04-17 13:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:15:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:15:12] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,128,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:15:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776411748000,"timestamp_ms":1776411748000,"timestamp_seconds":1776411748,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6426a0"} 
[2026-04-17 13:15:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:15:12] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:15:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 13:15:12] 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-04-17 13:15:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:15:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:15:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:15:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:15:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46084,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:15:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46084,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:15:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:15:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:15:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:15:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"128":206,"19":48128,"24":54,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,128,19,24,16]} 
[2026-04-17 13:15:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:15:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:15:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:15:12] local.INFO: Unknown IO ID detected {"io_id":128,"value":206,"description":"Unknown IO ID 128"} 
[2026-04-17 13:15:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:15:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:15:12] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_128":206,"unknown_19":48128,"ignition":54,"odometer":null}} 
[2026-04-17 13:15:12] local.INFO: DEBUG: GPS processor result {"connection_id":46084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21413,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:15:12] local.INFO: GPS data processed {"connection_id":46084,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:15:12] local.INFO: Acknowledgment sent {"connection_id":46084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:15:28] local.INFO: TCP Data received {"connection_id":46083,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46083,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:15:28] local.INFO: Processing buffer {"connection_id":46083,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:15:28] local.INFO: Packet analysis {"connection_id":46083,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:15:28] local.INFO: Extracted packet for processing {"connection_id":46083,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:15:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761315072001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776411688000,"timestamp_ms":1776411688000,"timestamp_seconds":1776411688,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a633c40"} 
[2026-04-17 13:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46083,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46083,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761315072001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761315072001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:15:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761315072001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":46083,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:15:28] local.INFO: GPS data processed {"connection_id":46083,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:15:28] local.INFO: Acknowledgment sent {"connection_id":46083,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:15:30] local.INFO: TCP Data received {"connection_id":46082,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:15:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:15:30] local.INFO: Processing buffer {"connection_id":46082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:15:30] local.INFO: Packet analysis {"connection_id":46082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:15:30] local.INFO: Extracted packet for processing {"connection_id":46082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:15:30] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:15:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761297408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:15:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:15:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:15: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-04-17 13:15:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776411619000,"timestamp_ms":1776411619000,"timestamp_seconds":1776411619,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a622eb8"} 
[2026-04-17 13:15:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:15: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-04-17 13:15:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:15:30] 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-04-17 13:15:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:15:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:15:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:15:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:15:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:15:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46082,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:15:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:15:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:15:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:15:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761297408001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:15:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:15:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:15:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761297408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:15:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:15:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:15:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:15:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:15:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761297408001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:15:30] local.INFO: DEBUG: GPS processor result {"connection_id":46082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:15:30] local.INFO: GPS data processed {"connection_id":46082,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:15:30] local.INFO: Acknowledgment sent {"connection_id":46082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:15:44] local.INFO: TCP Data received {"connection_id":46084,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a646520012d494a80068c85880013008c34..."} 
[2026-04-17 13:15:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a646520012d494a80068c85880013008c34..."} 
[2026-04-17 13:15:44] local.INFO: Processing buffer {"connection_id":46084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a646520012d494a80068c85880013008c34..."} 
[2026-04-17 13:15:44] local.INFO: Packet analysis {"connection_id":46084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a64"} 
[2026-04-17 13:15:44] local.INFO: Extracted packet for processing {"connection_id":46084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a64"} 
[2026-04-17 13:15:44] local.INFO: GPS Element Parsed {"raw_longitude":759777920,"raw_latitude":109872520,"longitude_deg":75.977792,"latitude_deg":10.987252,"altitude":19,"angle":140,"satellites":52,"speed":54,"hex_longitude":"2d494a80","hex_latitude":"068c8588","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:15:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761407488001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:15:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:15:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5269915279597471744,"note":"Value kept but may cause issues"} 
[2026-04-17 13:15:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:15:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776411764000,"timestamp_ms":1776411764000,"timestamp_seconds":1776411764,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a646520"} 
[2026-04-17 13:15:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:15:44] 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-04-17 13: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 13:15:44] 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-04-17 13: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-04-17 13:15:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:15:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:15:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:15:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46084,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:15:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46084,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:15:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:15:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:15:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:15:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761407488001,"66":28354,"33":206,"19":48128,"24":54,"16":106618783551979520,"45":5269915279597471744},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,19,24,16,45]} 
[2026-04-17 13:15:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:15:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:15:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761407488001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:15:44] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-04-17 13:15:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:15:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:15:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":5269915279597471744,"description":"Unknown IO ID 45"} 
[2026-04-17 13:15:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761407488001,"power":28354,"unknown_33":206,"unknown_19":48128,"ignition":54,"odometer":null,"unknown_45":5269915279597471744}} 
[2026-04-17 13:15:44] local.INFO: DEBUG: GPS processor result {"connection_id":46084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21416,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:15:44] local.INFO: GPS data processed {"connection_id":46084,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:15:44] local.INFO: Acknowledgment sent {"connection_id":46084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:15:48] local.INFO: TCP Data received {"connection_id":45791,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:15:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:15:48] local.INFO: Processing buffer {"connection_id":45791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:15:48] local.INFO: IMEI packet received {"connection_id":45791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:15:48] local.INFO: IMEI acknowledgment sent {"connection_id":45791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:15:51] local.INFO: TCP Data received {"connection_id":46655,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:15:51] local.INFO: Processing buffer {"connection_id":46655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:15:51] local.INFO: IMEI packet received {"connection_id":46655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":46655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:15:54] local.INFO: TCP Data received {"connection_id":45791,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:15:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45791,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:15:54] local.INFO: Processing buffer {"connection_id":45791,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:15:54] local.INFO: IMEI packet received {"connection_id":45791,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:15:54] local.INFO: IMEI acknowledgment sent {"connection_id":45791,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:15:55] local.INFO: TCP Data received {"connection_id":45791,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:15:55] local.INFO: Processing buffer {"connection_id":45791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a622eb8012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:15:55] local.INFO: Packet analysis {"connection_id":45791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:15:55] local.INFO: Extracted packet for processing {"connection_id":45791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a62"} 
[2026-04-17 13:15:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:15:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761297408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:15:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:15:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:15: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-04-17 13:15:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776411619000,"timestamp_ms":1776411619000,"timestamp_seconds":1776411619,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a622eb8"} 
[2026-04-17 13:15:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:15:55] 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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:15:55] 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-04-17 13: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-04-17 13:15:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:15:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:15:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:15:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:15:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:15:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:15:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:15:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:15:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761297408001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:15:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:15:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:15:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761297408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:15:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:15:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:15:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:15:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:15:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761297408001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:15:55] local.INFO: DEBUG: GPS processor result {"connection_id":45791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:15:55] local.INFO: GPS data processed {"connection_id":45791,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:15:55] local.INFO: Acknowledgment sent {"connection_id":45791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:15:56] local.INFO: TCP Data received {"connection_id":46655,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46655,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:15:56] local.INFO: Processing buffer {"connection_id":46655,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:15:56] local.INFO: IMEI packet received {"connection_id":46655,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":46655,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:15:57] local.INFO: TCP Data received {"connection_id":46655,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:15:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:15:57] local.INFO: Processing buffer {"connection_id":46655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:15:57] local.INFO: Packet analysis {"connection_id":46655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:15:57] local.INFO: Extracted packet for processing {"connection_id":46655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:15:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:15:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761315072001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:15:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:15:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:15:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:15:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776411688000,"timestamp_ms":1776411688000,"timestamp_seconds":1776411688,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a633c40"} 
[2026-04-17 13:15:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:15:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:15:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:15:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:15:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:15:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:15:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:15:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:15:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:15:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:15:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:15:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:15:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761315072001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:15:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:15:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:15:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761315072001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:15:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:15:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:15:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:15:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:15:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761315072001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:15:57] local.INFO: DEBUG: GPS processor result {"connection_id":46655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:15:57] local.INFO: GPS data processed {"connection_id":46655,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:15:57] local.INFO: Acknowledgment sent {"connection_id":46655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:16:04] local.INFO: TCP Data received {"connection_id":45876,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:16:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:16:04] local.INFO: Processing buffer {"connection_id":45876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:16:04] local.INFO: IMEI packet received {"connection_id":45876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:16:04] local.INFO: IMEI acknowledgment sent {"connection_id":45876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:16:05] local.INFO: TCP Data received {"connection_id":45876,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:16:05] local.INFO: Processing buffer {"connection_id":45876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:16:05] local.INFO: IMEI packet received {"connection_id":45876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:16:05] local.INFO: IMEI acknowledgment sent {"connection_id":45876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:16:06] local.INFO: TCP Data received {"connection_id":45876,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:16:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:16:06] local.INFO: Processing buffer {"connection_id":45876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:16:06] local.INFO: IMEI packet received {"connection_id":45876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:16:06] local.INFO: IMEI acknowledgment sent {"connection_id":45876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:16:10] local.INFO: TCP Data received {"connection_id":45876,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:16:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:16:10] local.INFO: Processing buffer {"connection_id":45876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:16:10] local.INFO: IMEI packet received {"connection_id":45876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:16:10] local.INFO: IMEI acknowledgment sent {"connection_id":45876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:16:11] local.INFO: TCP Data received {"connection_id":45876,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a64a3a0012d499000068c52c0000f007234..."} 
[2026-04-17 13:16:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a64a3a0012d499000068c52c0000f007234..."} 
[2026-04-17 13:16:12] local.INFO: Processing buffer {"connection_id":45876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a64a3a0012d499000068c52c0000f007234..."} 
[2026-04-17 13:16:12] local.INFO: Packet analysis {"connection_id":45876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a64"} 
[2026-04-17 13:16:12] local.INFO: Extracted packet for processing {"connection_id":45876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a64"} 
[2026-04-17 13:16:12] local.INFO: GPS Element Parsed {"raw_longitude":759795712,"raw_latitude":109859520,"longitude_deg":75.9795712,"latitude_deg":10.985952,"altitude":15,"angle":114,"satellites":52,"speed":55,"hex_longitude":"2d499000","hex_latitude":"068c52c0","is_valid_coordinates":true} 
[2026-04-17 13:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:16:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761411584001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:16:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:16:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5281174278661048320,"note":"Value kept but may cause issues"} 
[2026-04-17 13:16:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:16:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776411780000,"timestamp_ms":1776411780000,"timestamp_seconds":1776411780,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a64a3a0"} 
[2026-04-17 13:16:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:16: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-04-17 13:16:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:16: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-04-17 13:16:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:16:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:16:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:16:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:16:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:16:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:16:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:16:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:16:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:16:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761411584001,"66":28354,"33":206,"19":48128,"24":55,"16":106618783551979520,"45":5281174278661048320},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,19,24,16,45]} 
[2026-04-17 13:16:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:16:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:16:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761411584001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:16:12] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-04-17 13:16:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:16:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:16:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5281174278661048320,"description":"Unknown IO ID 45"} 
[2026-04-17 13:16:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761411584001,"power":28354,"unknown_33":206,"unknown_19":48128,"ignition":55,"odometer":null,"unknown_45":5281174278661048320}} 
[2026-04-17 13:16:12] local.INFO: DEBUG: GPS processor result {"connection_id":45876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21419,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:16:12] local.INFO: GPS data processed {"connection_id":45876,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:16:12] local.INFO: Acknowledgment sent {"connection_id":45876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:16:26] local.INFO: TCP Data received {"connection_id":45791,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45791,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:16:26] local.INFO: Processing buffer {"connection_id":45791,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:16:26] local.INFO: Packet analysis {"connection_id":45791,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:16:26] local.INFO: Extracted packet for processing {"connection_id":45791,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:16:26] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761374464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:16: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-04-17 13:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776411920000,"timestamp_ms":1776411920000,"timestamp_seconds":1776411920,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a66c680"} 
[2026-04-17 13:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:16: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-04-17 13:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:16:26] 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-04-17 13:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45791,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45791,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761374464001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761374464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:16:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:16:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761374464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":45791,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21420,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:16:27] local.INFO: GPS data processed {"connection_id":45791,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:16:27] local.INFO: Acknowledgment sent {"connection_id":45791,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:16:28] local.INFO: TCP Data received {"connection_id":46655,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46655,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:16:28] local.INFO: Processing buffer {"connection_id":46655,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:16:28] local.INFO: Packet analysis {"connection_id":46655,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:16:28] local.INFO: Extracted packet for processing {"connection_id":46655,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:16:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761315072001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776411688000,"timestamp_ms":1776411688000,"timestamp_seconds":1776411688,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a633c40"} 
[2026-04-17 13:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:16:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46655,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46655,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761315072001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761315072001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:16:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:16:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761315072001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":46655,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21421,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:16:28] local.INFO: GPS data processed {"connection_id":46655,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:16:28] local.INFO: Acknowledgment sent {"connection_id":46655,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:16:44] local.INFO: TCP Data received {"connection_id":45876,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a64f5a8012d49df40068c2f60000d007432..."} 
[2026-04-17 13:16:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a64f5a8012d49df40068c2f60000d007432..."} 
[2026-04-17 13:16:45] local.INFO: Processing buffer {"connection_id":45876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a64f5a8012d49df40068c2f60000d007432..."} 
[2026-04-17 13:16:45] local.INFO: Packet analysis {"connection_id":45876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a64"} 
[2026-04-17 13:16:45] local.INFO: Extracted packet for processing {"connection_id":45876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a64"} 
[2026-04-17 13:16:45] local.INFO: GPS Element Parsed {"raw_longitude":759816000,"raw_latitude":109850464,"longitude_deg":75.9816,"latitude_deg":10.9850464,"altitude":13,"angle":116,"satellites":50,"speed":0,"hex_longitude":"2d49df40","hex_latitude":"068c2f60","is_valid_coordinates":true} 
[2026-04-17 13:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:16:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761415680001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:16:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:16:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5300736789539110912,"note":"Value kept but may cause issues"} 
[2026-04-17 13:16:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:16:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776411801000,"timestamp_ms":1776411801000,"timestamp_seconds":1776411801,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a64f5a8"} 
[2026-04-17 13:16:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:16: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-04-17 13:16:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:16:45] 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-04-17 13:16:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:16:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:16:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:16:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:16:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:16:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45876,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:16:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:16:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:16:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:16:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761415680001,"66":28376,"33":206,"19":48128,"24":0,"16":106618783551979520,"45":5300736789539110912},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,19,24,16,45]} 
[2026-04-17 13:16:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:16:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:16:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761415680001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:16:45] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-04-17 13:16:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:16:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:16:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5300736789539110912,"description":"Unknown IO ID 45"} 
[2026-04-17 13:16:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761415680001,"power":28376,"unknown_33":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5300736789539110912}} 
[2026-04-17 13:16:45] local.INFO: DEBUG: GPS processor result {"connection_id":45876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21422,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:16:45] local.INFO: GPS data processed {"connection_id":45876,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:16:45] local.INFO: Acknowledgment sent {"connection_id":45876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:16:49] local.INFO: TCP Data received {"connection_id":46656,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:16:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:16:49] local.INFO: Processing buffer {"connection_id":46656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:16:49] local.INFO: IMEI packet received {"connection_id":46656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:16:49] local.INFO: IMEI acknowledgment sent {"connection_id":46656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:16:51] local.INFO: TCP Data received {"connection_id":46085,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:16:51] local.INFO: Processing buffer {"connection_id":46085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:16:51] local.INFO: IMEI packet received {"connection_id":46085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":46085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:16:53] local.INFO: TCP Data received {"connection_id":46656,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:16:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46656,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:16:53] local.INFO: Processing buffer {"connection_id":46656,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:16:53] local.INFO: IMEI packet received {"connection_id":46656,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:16:53] local.INFO: IMEI acknowledgment sent {"connection_id":46656,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:16:54] local.INFO: TCP Data received {"connection_id":46656,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:16:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:16:54] local.INFO: Processing buffer {"connection_id":46656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:16:54] local.INFO: Packet analysis {"connection_id":46656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:16:54] local.INFO: Extracted packet for processing {"connection_id":46656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:16:54] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:16:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761374464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:16:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:16:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:16: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-04-17 13:16:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776411920000,"timestamp_ms":1776411920000,"timestamp_seconds":1776411920,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a66c680"} 
[2026-04-17 13:16:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:16:54] 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-04-17 13:16:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:16:54] 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-04-17 13:16:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:16:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:16:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:16:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:16:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:16:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:16:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:16:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:16:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:16:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761374464001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:16:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:16:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:16:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761374464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:16:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:16:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:16:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:16:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:16:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761374464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:16:55] local.INFO: DEBUG: GPS processor result {"connection_id":46656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:16:55] local.INFO: GPS data processed {"connection_id":46656,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:16:55] local.INFO: Acknowledgment sent {"connection_id":46656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:16:56] local.INFO: TCP Data received {"connection_id":46085,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46085,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:16:56] local.INFO: Processing buffer {"connection_id":46085,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:16:56] local.INFO: IMEI packet received {"connection_id":46085,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":46085,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:16:57] local.INFO: TCP Data received {"connection_id":46085,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:16:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:16:57] local.INFO: Processing buffer {"connection_id":46085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a633c40012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:16:57] local.INFO: Packet analysis {"connection_id":46085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:16:57] local.INFO: Extracted packet for processing {"connection_id":46085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a63"} 
[2026-04-17 13:16:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:16:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761315072001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:16:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:16:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:16:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:16:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776411688000,"timestamp_ms":1776411688000,"timestamp_seconds":1776411688,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a633c40"} 
[2026-04-17 13:16:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:16:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:16:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:16:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:16:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:16:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:16:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:16:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:16:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:16:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:16:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:16:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:16:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:16:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761315072001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:16:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:16:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:16:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761315072001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:16:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:16:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:16:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:16:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:16:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761315072001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:16:57] local.INFO: DEBUG: GPS processor result {"connection_id":46085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:16:57] local.INFO: GPS data processed {"connection_id":46085,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:16:57] local.INFO: Acknowledgment sent {"connection_id":46085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:17:05] local.INFO: TCP Data received {"connection_id":45877,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:17:05] local.INFO: Processing buffer {"connection_id":45877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:17:05] local.INFO: IMEI packet received {"connection_id":45877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":45877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:17:10] local.INFO: TCP Data received {"connection_id":45877,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45877,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:17:10] local.INFO: Processing buffer {"connection_id":45877,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:17:10] local.INFO: IMEI packet received {"connection_id":45877,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":45877,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:17:14] local.INFO: TCP Data received {"connection_id":45877,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6520a0012d4a2140068bfc38000d008d30..."} 
[2026-04-17 13:17:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6520a0012d4a2140068bfc38000d008d30..."} 
[2026-04-17 13:17:14] local.INFO: Processing buffer {"connection_id":45877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6520a0012d4a2140068bfc38000d008d30..."} 
[2026-04-17 13:17:14] local.INFO: Packet analysis {"connection_id":45877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a65"} 
[2026-04-17 13:17:14] local.INFO: Extracted packet for processing {"connection_id":45877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a65"} 
[2026-04-17 13:17:14] local.INFO: GPS Element Parsed {"raw_longitude":759832896,"raw_latitude":109837368,"longitude_deg":75.9832896,"latitude_deg":10.9837368,"altitude":13,"angle":141,"satellites":48,"speed":52,"hex_longitude":"2d4a2140","hex_latitude":"068bfc38","is_valid_coordinates":true} 
[2026-04-17 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-04-17 13:17:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761421056001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:17:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:17:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5323043681441112064,"note":"Value kept but may cause issues"} 
[2026-04-17 13:17:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:17:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776411812000,"timestamp_ms":1776411812000,"timestamp_seconds":1776411812,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6520a0"} 
[2026-04-17 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-04-17 13:17:14] 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-04-17 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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 13:17:14] 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-04-17 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-04-17 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-04-17 13:17:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:17:14] local.INFO: Teltonika packet parsed successfully {"connection_id":45877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:17:14] local.INFO: Passing IMEI to GPS processor {"connection_id":45877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:17:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":45877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:17:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:17:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:17:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:17:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761421056001,"66":28376,"33":206,"19":48128,"24":52,"16":106618783551979520,"45":5323043681441112064},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,19,24,16,45]} 
[2026-04-17 13:17:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:17:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:17:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761421056001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:17:14] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-04-17 13:17:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:17:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:17:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5323043681441112064,"description":"Unknown IO ID 45"} 
[2026-04-17 13:17:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761421056001,"power":28376,"unknown_33":206,"unknown_19":48128,"ignition":52,"odometer":null,"unknown_45":5323043681441112064}} 
[2026-04-17 13:17:14] local.INFO: DEBUG: GPS processor result {"connection_id":45877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21425,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:17:14] local.INFO: GPS data processed {"connection_id":45877,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:17:14] local.INFO: Acknowledgment sent {"connection_id":45877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:17:26] local.INFO: TCP Data received {"connection_id":46656,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46656,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:17:26] local.INFO: Processing buffer {"connection_id":46656,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:17:26] local.INFO: Packet analysis {"connection_id":46656,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:17:26] local.INFO: Extracted packet for processing {"connection_id":46656,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:17:26] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761374464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:17: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-04-17 13:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776411920000,"timestamp_ms":1776411920000,"timestamp_seconds":1776411920,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a66c680"} 
[2026-04-17 13:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:17: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-04-17 13:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:17:26] 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-04-17 13:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46656,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46656,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761374464001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761374464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:17:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:17:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761374464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":46656,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:17:26] local.INFO: GPS data processed {"connection_id":46656,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:17:26] local.INFO: Acknowledgment sent {"connection_id":46656,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:17:28] local.INFO: TCP Data received {"connection_id":46085,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:17:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:17:28] local.INFO: Processing buffer {"connection_id":46085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:17:28] local.INFO: Packet analysis {"connection_id":46085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:17:28] local.INFO: Extracted packet for processing {"connection_id":46085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:17:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:17:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761392128001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:17:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:17:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:17:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:17:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776411989000,"timestamp_ms":1776411989000,"timestamp_seconds":1776411989,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a67d408"} 
[2026-04-17 13:17:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:17:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:17: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-04-17 13: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-04-17 13:17:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:17:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:17:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:17:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:17:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46085,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:17:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:17:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:17:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:17:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761392128001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:17:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:17:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:17:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761392128001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:17:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:17:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:17:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:17:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:17:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761392128001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":46085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:17:28] local.INFO: GPS data processed {"connection_id":46085,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:17:28] local.INFO: Acknowledgment sent {"connection_id":46085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:17:46] local.INFO: TCP Data received {"connection_id":45877,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a67acf8012d4be340068b0f90002d006230..."} 
[2026-04-17 13:17:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a67acf8012d4be340068b0f90002d006230..."} 
[2026-04-17 13:17:46] local.INFO: Processing buffer {"connection_id":45877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a67acf8012d4be340068b0f90002d006230..."} 
[2026-04-17 13:17:46] local.INFO: Packet analysis {"connection_id":45877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:17:46] local.INFO: Extracted packet for processing {"connection_id":45877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:17:46] local.INFO: GPS Element Parsed {"raw_longitude":759948096,"raw_latitude":109776784,"longitude_deg":75.9948096,"latitude_deg":10.9776784,"altitude":45,"angle":98,"satellites":48,"speed":18,"hex_longitude":"2d4be340","hex_latitude":"068b0f90","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:17:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:17:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,67,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:17:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776411979000,"timestamp_ms":1776411979000,"timestamp_seconds":1776411979,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a67acf8"} 
[2026-04-17 13:17:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:17:46] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:17:46] 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-04-17 13: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-04-17 13:17:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:17:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:17:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:17:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:17:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45877,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:17:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:17:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:17:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:17:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28256,"67":206,"19":48128,"24":18,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16]} 
[2026-04-17 13:17:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:17:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:17:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:17:46] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-04-17 13:17:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:17:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:17:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28256,"unknown_67":206,"unknown_19":48128,"ignition":18,"odometer":null}} 
[2026-04-17 13:17:46] local.INFO: DEBUG: GPS processor result {"connection_id":45877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21428,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:17:46] local.INFO: GPS data processed {"connection_id":45877,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:17:46] local.INFO: Acknowledgment sent {"connection_id":45877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:17:48] local.INFO: TCP Data received {"connection_id":45792,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:17:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:17:48] local.INFO: Processing buffer {"connection_id":45792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:17:48] local.INFO: IMEI packet received {"connection_id":45792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:17:48] local.INFO: IMEI acknowledgment sent {"connection_id":45792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:17:50] local.INFO: TCP Data received {"connection_id":46086,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:17:50] local.INFO: Processing buffer {"connection_id":46086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:17:50] local.INFO: IMEI packet received {"connection_id":46086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":46086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:17:53] local.INFO: TCP Data received {"connection_id":45792,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:17:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45792,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:17:53] local.INFO: Processing buffer {"connection_id":45792,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:17:53] local.INFO: IMEI packet received {"connection_id":45792,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:17:53] local.INFO: IMEI acknowledgment sent {"connection_id":45792,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:17:55] local.INFO: TCP Data received {"connection_id":45792,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:17:55] local.INFO: Processing buffer {"connection_id":45792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:17:55] local.INFO: Packet analysis {"connection_id":45792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:17:55] local.INFO: Extracted packet for processing {"connection_id":45792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:17:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:17:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761374464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:17:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:17:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:17: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-04-17 13:17:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776411920000,"timestamp_ms":1776411920000,"timestamp_seconds":1776411920,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a66c680"} 
[2026-04-17 13:17:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:17:55] 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-04-17 13:17:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:17:55] 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-04-17 13:17:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:17:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:17:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:17:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:17:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:17:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:17:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:17:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:17:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:17:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761374464001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:17:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:17:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:17:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761374464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:17:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:17:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:17:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:17:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:17:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761374464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:17:55] local.INFO: DEBUG: GPS processor result {"connection_id":45792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:17:55] local.INFO: GPS data processed {"connection_id":45792,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:17:55] local.INFO: Acknowledgment sent {"connection_id":45792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:17:56] local.INFO: TCP Data received {"connection_id":46086,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:17:56] local.INFO: Processing buffer {"connection_id":46086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:17:56] local.INFO: IMEI packet received {"connection_id":46086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":46086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:17:57] local.INFO: TCP Data received {"connection_id":46086,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:17:57] local.INFO: Processing buffer {"connection_id":46086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:17:57] local.INFO: Packet analysis {"connection_id":46086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:17:57] local.INFO: Extracted packet for processing {"connection_id":46086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:17:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761392128001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776411989000,"timestamp_ms":1776411989000,"timestamp_seconds":1776411989,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a67d408"} 
[2026-04-17 13:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761392128001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761392128001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:17:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:17:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761392128001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":46086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:17:57] local.INFO: GPS data processed {"connection_id":46086,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:17:57] local.INFO: Acknowledgment sent {"connection_id":46086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:18:09] local.INFO: TCP Data received {"connection_id":46087,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:18:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:18:09] local.INFO: Processing buffer {"connection_id":46087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:18:09] local.INFO: IMEI packet received {"connection_id":46087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:18:09] local.INFO: IMEI acknowledgment sent {"connection_id":46087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:18:14] local.INFO: TCP Data received {"connection_id":46087,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:18:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:18:14] local.INFO: Processing buffer {"connection_id":46087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:18:14] local.INFO: IMEI packet received {"connection_id":46087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:18:14] local.INFO: IMEI acknowledgment sent {"connection_id":46087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:18:17] local.INFO: TCP Data received {"connection_id":46087,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a68b6980100000000000000000000000000..."} 
[2026-04-17 13:18:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a68b6980100000000000000000000000000..."} 
[2026-04-17 13:18:17] local.INFO: Processing buffer {"connection_id":46087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a68b6980100000000000000000000000000..."} 
[2026-04-17 13:18:17] local.INFO: Packet analysis {"connection_id":46087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a68"} 
[2026-04-17 13:18:17] local.INFO: Extracted packet for processing {"connection_id":46087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a68"} 
[2026-04-17 13:18: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-04-17 13:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:18:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761466624001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:18:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:18:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5468284769404948480,"note":"Value kept but may cause issues"} 
[2026-04-17 13:18:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:18:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776412047000,"timestamp_ms":1776412047000,"timestamp_seconds":1776412047,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a68b698"} 
[2026-04-17 13:18:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:18:17] 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-04-17 13:18:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 13:18:17] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:18:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:18:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:18:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:18:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:18:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:18:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:18:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:18:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:18:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:18:17] local.INFO: DEBUG: GPS processor result {"connection_id":46087,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:18:17] local.INFO: GPS data processed {"connection_id":46087,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:18:17] local.INFO: Acknowledgment sent {"connection_id":46087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:18:26] local.INFO: TCP Data received {"connection_id":45792,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45792,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:18:26] local.INFO: Processing buffer {"connection_id":45792,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:18:26] local.INFO: Packet analysis {"connection_id":45792,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:18:26] local.INFO: Extracted packet for processing {"connection_id":45792,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:18:26] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761374464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:18: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-04-17 13:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776411920000,"timestamp_ms":1776411920000,"timestamp_seconds":1776411920,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a66c680"} 
[2026-04-17 13:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:18: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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:18:26] 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-04-17 13: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-04-17 13:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45792,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45792,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761374464001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761374464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:18:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:18:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761374464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":45792,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:18:26] local.INFO: GPS data processed {"connection_id":45792,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:18:26] local.INFO: Acknowledgment sent {"connection_id":45792,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:18:28] local.INFO: TCP Data received {"connection_id":46086,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:18:28] local.INFO: Processing buffer {"connection_id":46086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:18:28] local.INFO: Packet analysis {"connection_id":46086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:18:28] local.INFO: Extracted packet for processing {"connection_id":46086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:18:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761392128001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776411989000,"timestamp_ms":1776411989000,"timestamp_seconds":1776411989,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a67d408"} 
[2026-04-17 13:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:18:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:18: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-04-17 13:18:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761392128001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761392128001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:18:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761392128001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":46086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:18:28] local.INFO: GPS data processed {"connection_id":46086,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:18:28] local.INFO: Acknowledgment sent {"connection_id":46086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:18:48] local.INFO: TCP Data received {"connection_id":46087,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a681a58012d4c15c0068b07a0003200632f..."} 
[2026-04-17 13:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a681a58012d4c15c0068b07a0003200632f..."} 
[2026-04-17 13:18:48] local.INFO: Processing buffer {"connection_id":46087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a681a58012d4c15c0068b07a0003200632f..."} 
[2026-04-17 13:18:48] local.INFO: Packet analysis {"connection_id":46087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a68"} 
[2026-04-17 13:18:48] local.INFO: Extracted packet for processing {"connection_id":46087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a68"} 
[2026-04-17 13:18:48] local.INFO: GPS Element Parsed {"raw_longitude":759961024,"raw_latitude":109774752,"longitude_deg":75.9961024,"latitude_deg":10.9774752,"altitude":50,"angle":99,"satellites":47,"speed":17,"hex_longitude":"2d4c15c0","hex_latitude":"068b07a0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 13:18:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:18:48] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,67,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:18:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776412007000,"timestamp_ms":1776412007000,"timestamp_seconds":1776412007,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a681a58"} 
[2026-04-17 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-04-17 13:18:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:18:48] 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-04-17 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-04-17 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-04-17 13:18:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:18:48] local.INFO: Teltonika packet parsed successfully {"connection_id":46087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:18:48] local.INFO: Passing IMEI to GPS processor {"connection_id":46087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:18:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":46087,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:18:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:18:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:18:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:18:48] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"67":206,"19":48128,"24":17,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16]} 
[2026-04-17 13:18:48] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:18:48] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:18:48] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:18:48] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-04-17 13:18:48] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:18:48] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:18:48] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_67":206,"unknown_19":48128,"ignition":17,"odometer":null}} 
[2026-04-17 13:18:48] local.INFO: DEBUG: GPS processor result {"connection_id":46087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21433,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:18:48] local.INFO: GPS data processed {"connection_id":46087,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:18:48] local.INFO: Acknowledgment sent {"connection_id":46087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:18:48] local.INFO: TCP Data received {"connection_id":46088,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:18:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:18:48] local.INFO: Processing buffer {"connection_id":46088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:18:48] local.INFO: IMEI packet received {"connection_id":46088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:18:48] local.INFO: IMEI acknowledgment sent {"connection_id":46088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:18:53] local.INFO: TCP Data received {"connection_id":46088,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:18:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:18:53] local.INFO: Processing buffer {"connection_id":46088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:18:53] local.INFO: IMEI packet received {"connection_id":46088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:18:53] local.INFO: IMEI acknowledgment sent {"connection_id":46088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:18:55] local.INFO: TCP Data received {"connection_id":46088,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:18:55] local.INFO: Processing buffer {"connection_id":46088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:18:55] local.INFO: Packet analysis {"connection_id":46088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:18:55] local.INFO: Extracted packet for processing {"connection_id":46088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:18:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:18:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761374464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:18:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:18:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:18: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-04-17 13:18:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776411920000,"timestamp_ms":1776411920000,"timestamp_seconds":1776411920,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a66c680"} 
[2026-04-17 13:18:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:18:55] 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-04-17 13:18:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:18:55] 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-04-17 13:18:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:18:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:18:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:18:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:18:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:18:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:18:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:18:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:18:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:18:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761374464001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:18:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:18:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:18:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761374464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:18:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:18:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:18:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:18:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:18:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761374464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:18:55] local.INFO: DEBUG: GPS processor result {"connection_id":46088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:18:55] local.INFO: GPS data processed {"connection_id":46088,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:18:55] local.INFO: Acknowledgment sent {"connection_id":46088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:18:56] local.INFO: TCP Data received {"connection_id":45878,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:18:56] local.INFO: Processing buffer {"connection_id":45878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:18:56] local.INFO: IMEI packet received {"connection_id":45878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":45878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:19:01] local.INFO: TCP Data received {"connection_id":45878,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:19:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:19:01] local.INFO: Processing buffer {"connection_id":45878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:19:01] local.INFO: IMEI packet received {"connection_id":45878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:19:01] local.INFO: IMEI acknowledgment sent {"connection_id":45878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:19:02] local.INFO: TCP Data received {"connection_id":45878,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:19:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:19:02] local.INFO: Processing buffer {"connection_id":45878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:19:02] local.INFO: Packet analysis {"connection_id":45878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:19:02] local.INFO: Extracted packet for processing {"connection_id":45878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:19:02] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:19:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761392128001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:19:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:19:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:19:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:19:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776411989000,"timestamp_ms":1776411989000,"timestamp_seconds":1776411989,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a67d408"} 
[2026-04-17 13:19:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:19: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-04-17 13:19:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:19:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:19:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:19:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:19:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:19:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:19:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:19:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:19:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:19:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:19:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:19:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761392128001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:19:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:19:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:19:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761392128001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:19:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:19:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:19:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:19:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:19:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761392128001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:19:02] local.INFO: DEBUG: GPS processor result {"connection_id":45878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:19:02] local.INFO: GPS data processed {"connection_id":45878,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:19:02] local.INFO: Acknowledgment sent {"connection_id":45878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:19:04] local.INFO: TCP Data received {"connection_id":46657,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46657,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:19:04] local.INFO: Processing buffer {"connection_id":46657,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:19:04] local.INFO: IMEI packet received {"connection_id":46657,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:19:04] local.INFO: IMEI acknowledgment sent {"connection_id":46657,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:19:06] local.INFO: TCP Data received {"connection_id":45878,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:19:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:19:06] local.INFO: Processing buffer {"connection_id":45878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:19:06] local.INFO: Packet analysis {"connection_id":45878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:19:06] local.INFO: Extracted packet for processing {"connection_id":45878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:19:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:19:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761392128001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:19:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:19:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:19:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:19:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776411989000,"timestamp_ms":1776411989000,"timestamp_seconds":1776411989,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a67d408"} 
[2026-04-17 13:19:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:19:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:19:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:19:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:19:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:19:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:19:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:19:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:19:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:19:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:19:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:19:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:19:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:19:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761392128001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:19:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:19:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:19:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761392128001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:19:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:19:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:19:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:19:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:19:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761392128001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:19:06] local.INFO: DEBUG: GPS processor result {"connection_id":45878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:19:06] local.INFO: GPS data processed {"connection_id":45878,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:19:06] local.INFO: Acknowledgment sent {"connection_id":45878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:19:09] local.INFO: TCP Data received {"connection_id":46657,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:19:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46657,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:19:09] local.INFO: Processing buffer {"connection_id":46657,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:19:09] local.INFO: IMEI packet received {"connection_id":46657,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:19:09] local.INFO: IMEI acknowledgment sent {"connection_id":46657,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:19:10] local.INFO: TCP Data received {"connection_id":46657,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6923f80100000000000000000000000000..."} 
[2026-04-17 13:19:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6923f80100000000000000000000000000..."} 
[2026-04-17 13:19:10] local.INFO: Processing buffer {"connection_id":46657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6923f80100000000000000000000000000..."} 
[2026-04-17 13:19:10] local.INFO: Packet analysis {"connection_id":46657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a69"} 
[2026-04-17 13:19:10] local.INFO: Extracted packet for processing {"connection_id":46657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a69"} 
[2026-04-17 13:19: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-04-17 13: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-04-17 13:19:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761473792001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:19:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:19:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5482499255728316416,"note":"Value kept but may cause issues"} 
[2026-04-17 13:19:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:19:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776412075000,"timestamp_ms":1776412075000,"timestamp_seconds":1776412075,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6923f8"} 
[2026-04-17 13:19:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:19:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:19:10] 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-04-17 13: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-04-17 13:19:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:19:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:19:10] local.INFO: Teltonika packet parsed successfully {"connection_id":46657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:19:10] local.INFO: Passing IMEI to GPS processor {"connection_id":46657,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:19:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":46657,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:19:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:19:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:19:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:19:10] local.INFO: DEBUG: GPS processor result {"connection_id":46657,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:19:10] local.INFO: GPS data processed {"connection_id":46657,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:19:10] local.INFO: Acknowledgment sent {"connection_id":46657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:19:26] local.INFO: TCP Data received {"connection_id":46088,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:19:26] local.INFO: Processing buffer {"connection_id":46088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:19:26] local.INFO: Packet analysis {"connection_id":46088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:19:26] local.INFO: Extracted packet for processing {"connection_id":46088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:19:26] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:19:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761374464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:19:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:19:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:19: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-04-17 13:19:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776411920000,"timestamp_ms":1776411920000,"timestamp_seconds":1776411920,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a66c680"} 
[2026-04-17 13:19:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:19: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-04-17 13:19:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:19:26] 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-04-17 13:19:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:19:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:19:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:19:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:19:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:19:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:19:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:19:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:19:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:19:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761374464001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:19:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:19:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:19:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761374464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:19:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:19:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:19:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:19:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:19:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761374464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":46088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:19:27] local.INFO: GPS data processed {"connection_id":46088,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:19:27] local.INFO: Acknowledgment sent {"connection_id":46088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:19:44] local.INFO: TCP Data received {"connection_id":46657,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a688ba0012d4c4740068aff90003800642f..."} 
[2026-04-17 13:19:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46657,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a688ba0012d4c4740068aff90003800642f..."} 
[2026-04-17 13:19:44] local.INFO: Processing buffer {"connection_id":46657,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a688ba0012d4c4740068aff90003800642f..."} 
[2026-04-17 13:19:44] local.INFO: Packet analysis {"connection_id":46657,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a68"} 
[2026-04-17 13:19:44] local.INFO: Extracted packet for processing {"connection_id":46657,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a68"} 
[2026-04-17 13:19:44] local.INFO: GPS Element Parsed {"raw_longitude":759973696,"raw_latitude":109772688,"longitude_deg":75.9973696,"latitude_deg":10.9772688,"altitude":56,"angle":100,"satellites":47,"speed":17,"hex_longitude":"2d4c4740","hex_latitude":"068aff90","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:19:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:19:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,67,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:19:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776412036000,"timestamp_ms":1776412036000,"timestamp_seconds":1776412036,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a688ba0"} 
[2026-04-17 13:19:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:19:44] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-17 13:19:44] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:19:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:19:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:19:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46657,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:19:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46657,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:19:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46657,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:19:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:19:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:19:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:19:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28256,"67":206,"19":48128,"24":17,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16]} 
[2026-04-17 13:19:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:19:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:19:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:19:44] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-04-17 13:19:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:19:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:19:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28256,"unknown_67":206,"unknown_19":48128,"ignition":17,"odometer":null}} 
[2026-04-17 13:19:44] local.INFO: DEBUG: GPS processor result {"connection_id":46657,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21438,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:19:44] local.INFO: GPS data processed {"connection_id":46657,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:19:44] local.INFO: Acknowledgment sent {"connection_id":46657,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:19:51] local.INFO: TCP Data received {"connection_id":45793,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:19:51] local.INFO: Processing buffer {"connection_id":45793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:19:51] local.INFO: IMEI packet received {"connection_id":45793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":45793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:19:54] local.INFO: TCP Data received {"connection_id":45794,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:19:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:19:54] local.INFO: Processing buffer {"connection_id":45794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:19:54] local.INFO: IMEI packet received {"connection_id":45794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:19:54] local.INFO: IMEI acknowledgment sent {"connection_id":45794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:19:56] local.INFO: TCP Data received {"connection_id":45793,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45793,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:19:56] local.INFO: Processing buffer {"connection_id":45793,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:19:56] local.INFO: IMEI packet received {"connection_id":45793,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":45793,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:19:56] local.INFO: TCP Data received {"connection_id":45793,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:19:56] local.INFO: Processing buffer {"connection_id":45793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:19:56] local.INFO: Packet analysis {"connection_id":45793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:19:56] local.INFO: Extracted packet for processing {"connection_id":45793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761392128001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776411989000,"timestamp_ms":1776411989000,"timestamp_seconds":1776411989,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a67d408"} 
[2026-04-17 13:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:19:56] 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-04-17 13:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761392128001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761392128001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:19:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761392128001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":45793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:19:56] local.INFO: GPS data processed {"connection_id":45793,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:19:56] local.INFO: Acknowledgment sent {"connection_id":45793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:19:59] local.INFO: TCP Data received {"connection_id":45794,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45794,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:19:59] local.INFO: Processing buffer {"connection_id":45794,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:19:59] local.INFO: IMEI packet received {"connection_id":45794,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:19:59] local.INFO: IMEI acknowledgment sent {"connection_id":45794,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:20:00] local.INFO: TCP Data received {"connection_id":45794,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:20:00] local.INFO: Processing buffer {"connection_id":45794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:20:00] local.INFO: Packet analysis {"connection_id":45794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:20:00] local.INFO: Extracted packet for processing {"connection_id":45794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:20:00] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761374464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20: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-04-17 13:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776411920000,"timestamp_ms":1776411920000,"timestamp_seconds":1776411920,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a66c680"} 
[2026-04-17 13:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:20:00] 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-04-17 13:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:20:00] 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-04-17 13:20:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761374464001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761374464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:20:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:20:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761374464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":45794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21440,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:20:00] local.INFO: GPS data processed {"connection_id":45794,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:20:00] local.INFO: Acknowledgment sent {"connection_id":45794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:20:04] local.INFO: TCP Data received {"connection_id":45879,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:20:04] local.INFO: Processing buffer {"connection_id":45879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:20:04] local.INFO: IMEI packet received {"connection_id":45879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:20:04] local.INFO: IMEI acknowledgment sent {"connection_id":45879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:20:04] local.INFO: TCP Data received {"connection_id":45794,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:20:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:20:04] local.INFO: Processing buffer {"connection_id":45794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:20:04] local.INFO: Packet analysis {"connection_id":45794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:20:04] local.INFO: Extracted packet for processing {"connection_id":45794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:20:04] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:20:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761374464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:20:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776411920000,"timestamp_ms":1776411920000,"timestamp_seconds":1776411920,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a66c680"} 
[2026-04-17 13:20:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:20:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:20:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:20:04] 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-04-17 13:20:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:20:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:20:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:20:04] local.INFO: Teltonika packet parsed successfully {"connection_id":45794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:20:04] local.INFO: Passing IMEI to GPS processor {"connection_id":45794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:20:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":45794,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:20:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:20:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:20:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:20:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761374464001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:20:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:20:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:20:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761374464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:20:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:20:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:20:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:20:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:20:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761374464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:20:04] local.INFO: DEBUG: GPS processor result {"connection_id":45794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:20:04] local.INFO: GPS data processed {"connection_id":45794,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:20:04] local.INFO: Acknowledgment sent {"connection_id":45794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:20:09] local.INFO: TCP Data received {"connection_id":45879,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:20:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45879,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:20:09] local.INFO: Processing buffer {"connection_id":45879,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:20:09] local.INFO: IMEI packet received {"connection_id":45879,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:20:09] local.INFO: IMEI acknowledgment sent {"connection_id":45879,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:20:11] local.INFO: TCP Data received {"connection_id":45879,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6995400100000000000000000000000000..."} 
[2026-04-17 13:20:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6995400100000000000000000000000000..."} 
[2026-04-17 13:20:11] local.INFO: Processing buffer {"connection_id":45879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6995400100000000000000000000000000..."} 
[2026-04-17 13:20:11] local.INFO: Packet analysis {"connection_id":45879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a69"} 
[2026-04-17 13:20:11] local.INFO: Extracted packet for processing {"connection_id":45879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a69"} 
[2026-04-17 13:20: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-04-17 13: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-04-17 13:20:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761481216001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5496432267074965504,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:20:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776412104000,"timestamp_ms":1776412104000,"timestamp_seconds":1776412104,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a699540"} 
[2026-04-17 13:20:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:20:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 13:20:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:20:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:20:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:20:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:20:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45879,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:20:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45879,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:20:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:20:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:20:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:20:11] local.INFO: DEBUG: GPS processor result {"connection_id":45879,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:20:11] local.INFO: GPS data processed {"connection_id":45879,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:20:11] local.INFO: Acknowledgment sent {"connection_id":45879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:20:28] local.INFO: TCP Data received {"connection_id":45793,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45793,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:20:28] local.INFO: Processing buffer {"connection_id":45793,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:20:28] local.INFO: Packet analysis {"connection_id":45793,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:20:28] local.INFO: Extracted packet for processing {"connection_id":45793,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761392128001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776411989000,"timestamp_ms":1776411989000,"timestamp_seconds":1776411989,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a67d408"} 
[2026-04-17 13:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:20: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-04-17 13:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45793,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45793,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:20:28] 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-04-17 13:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761392128001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761392128001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:20:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761392128001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":45793,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:20:28] local.INFO: GPS data processed {"connection_id":45793,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:20:28] local.INFO: Acknowledgment sent {"connection_id":45793,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:20:42] local.INFO: TCP Data received {"connection_id":45879,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a68fce8012d4c7900068af780003e00622b..."} 
[2026-04-17 13:20:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a68fce8012d4c7900068af780003e00622b..."} 
[2026-04-17 13:20:42] local.INFO: Processing buffer {"connection_id":45879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a68fce8012d4c7900068af780003e00622b..."} 
[2026-04-17 13:20:42] local.INFO: Packet analysis {"connection_id":45879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a68"} 
[2026-04-17 13:20:42] local.INFO: Extracted packet for processing {"connection_id":45879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a68"} 
[2026-04-17 13:20:42] local.INFO: GPS Element Parsed {"raw_longitude":759986432,"raw_latitude":109770624,"longitude_deg":75.9986432,"latitude_deg":10.9770624,"altitude":62,"angle":98,"satellites":43,"speed":17,"hex_longitude":"2d4c7900","hex_latitude":"068af780","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:20:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,67,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:20:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776412065000,"timestamp_ms":1776412065000,"timestamp_seconds":1776412065,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a68fce8"} 
[2026-04-17 13:20:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:20:42] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 13:20:42] 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-04-17 13: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-04-17 13:20:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:20:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:20:42] local.INFO: Teltonika packet parsed successfully {"connection_id":45879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:20:42] local.INFO: Passing IMEI to GPS processor {"connection_id":45879,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:20:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":45879,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:20:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:20:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:20:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:20:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"67":206,"19":48128,"24":17,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16]} 
[2026-04-17 13:20:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:20:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:20:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:20:42] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-04-17 13:20:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:20:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:20:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_67":206,"unknown_19":48128,"ignition":17,"odometer":null}} 
[2026-04-17 13:20:42] local.INFO: DEBUG: GPS processor result {"connection_id":45879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21443,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:20:42] local.INFO: GPS data processed {"connection_id":45879,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:20:42] local.INFO: Acknowledgment sent {"connection_id":45879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:20:49] local.INFO: TCP Data received {"connection_id":46658,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:20:49] local.INFO: Processing buffer {"connection_id":46658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:20:49] local.INFO: IMEI packet received {"connection_id":46658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":46658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:20:50] local.INFO: TCP Data received {"connection_id":45880,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:20:50] local.INFO: Processing buffer {"connection_id":45880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:20:50] local.INFO: IMEI packet received {"connection_id":45880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":45880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:20:54] local.INFO: TCP Data received {"connection_id":46658,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46658,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:20:54] local.INFO: Processing buffer {"connection_id":46658,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:20:54] local.INFO: IMEI packet received {"connection_id":46658,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":46658,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:20:55] local.INFO: TCP Data received {"connection_id":46658,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:20:55] local.INFO: Processing buffer {"connection_id":46658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:20:55] local.INFO: Packet analysis {"connection_id":46658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:20:55] local.INFO: Extracted packet for processing {"connection_id":46658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:20:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:20:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761374464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20: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-04-17 13:20:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776411920000,"timestamp_ms":1776411920000,"timestamp_seconds":1776411920,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a66c680"} 
[2026-04-17 13:20:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:20:55] 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-04-17 13:20:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:20:55] 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-04-17 13:20:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:20:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:20:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:20:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:20:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:20:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:20:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:20:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:20:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:20:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761374464001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:20:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:20:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:20:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761374464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:20:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:20:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:20:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:20:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:20:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761374464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:20:55] local.INFO: DEBUG: GPS processor result {"connection_id":46658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:20:55] local.INFO: GPS data processed {"connection_id":46658,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:20:55] local.INFO: Acknowledgment sent {"connection_id":46658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:20:56] local.INFO: TCP Data received {"connection_id":45880,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45880,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:20:56] local.INFO: Processing buffer {"connection_id":45880,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:20:56] local.INFO: IMEI packet received {"connection_id":45880,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":45880,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:20:57] local.INFO: TCP Data received {"connection_id":45880,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:20:57] local.INFO: Processing buffer {"connection_id":45880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:20:57] local.INFO: Packet analysis {"connection_id":45880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:20:57] local.INFO: Extracted packet for processing {"connection_id":45880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:20:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761392128001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776411989000,"timestamp_ms":1776411989000,"timestamp_seconds":1776411989,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a67d408"} 
[2026-04-17 13:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:20:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:20:57] 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-04-17 13:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761392128001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761392128001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:20:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:20:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761392128001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":45880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:20:57] local.INFO: GPS data processed {"connection_id":45880,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:20:57] local.INFO: Acknowledgment sent {"connection_id":45880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:20:59] local.INFO: TCP Data received {"connection_id":46658,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:20:59] local.INFO: Processing buffer {"connection_id":46658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a66c680012d1974c0071fecd8003b011929..."} 
[2026-04-17 13:20:59] local.INFO: Packet analysis {"connection_id":46658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:20:59] local.INFO: Extracted packet for processing {"connection_id":46658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a66"} 
[2026-04-17 13:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":41,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:20:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761374464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:20: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-04-17 13:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776411920000,"timestamp_ms":1776411920000,"timestamp_seconds":1776411920,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a66c680"} 
[2026-04-17 13:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14592,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:20:59] 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-04-17 13: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-04-17 13:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761374464001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761374464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:20:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:20:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761374464001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":46658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:21:00] local.INFO: GPS data processed {"connection_id":46658,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:21:00] local.INFO: Acknowledgment sent {"connection_id":46658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:21:04] local.INFO: TCP Data received {"connection_id":45881,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:21:04] local.INFO: Processing buffer {"connection_id":45881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:21:04] local.INFO: IMEI packet received {"connection_id":45881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:21:04] local.INFO: IMEI acknowledgment sent {"connection_id":45881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:21:09] local.INFO: TCP Data received {"connection_id":45881,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:21:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:21:09] local.INFO: Processing buffer {"connection_id":45881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:21:09] local.INFO: IMEI packet received {"connection_id":45881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:21:09] local.INFO: IMEI acknowledgment sent {"connection_id":45881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:21:10] local.INFO: TCP Data received {"connection_id":45881,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6a02a00100000000000000000000000000..."} 
[2026-04-17 13:21:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6a02a00100000000000000000000000000..."} 
[2026-04-17 13:21:10] local.INFO: Processing buffer {"connection_id":45881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6a02a00100000000000000000000000000..."} 
[2026-04-17 13:21:10] local.INFO: Packet analysis {"connection_id":45881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6a"} 
[2026-04-17 13:21:10] local.INFO: Extracted packet for processing {"connection_id":45881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6a"} 
[2026-04-17 13:21: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-04-17 13: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-04-17 13:21:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761488640001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:21:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:21:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5510435647165792256,"note":"Value kept but may cause issues"} 
[2026-04-17 13:21:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,67,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:21:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776412132000,"timestamp_ms":1776412132000,"timestamp_seconds":1776412132,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6a02a0"} 
[2026-04-17 13:21:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:21:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-04-17 13:21:10] 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-04-17 13: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-04-17 13:21:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:21:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:21:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:21:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:21:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:21:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:21:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:21:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:21:10] local.INFO: DEBUG: GPS processor result {"connection_id":45881,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:21:10] local.INFO: GPS data processed {"connection_id":45881,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:21:10] local.INFO: Acknowledgment sent {"connection_id":45881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:21:29] local.INFO: TCP Data received {"connection_id":45880,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:21:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:21:29] local.INFO: Processing buffer {"connection_id":45880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:21:29] local.INFO: Packet analysis {"connection_id":45880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:21:29] local.INFO: Extracted packet for processing {"connection_id":45880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:21:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:21:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761392128001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:21:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:21:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:21:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:21:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776411989000,"timestamp_ms":1776411989000,"timestamp_seconds":1776411989,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a67d408"} 
[2026-04-17 13:21:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:21:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:21:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:21:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:21:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:21:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:21:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:21:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45880,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:21: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-04-17 13:21:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:21:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:21:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761392128001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:21:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:21:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:21:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761392128001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:21:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:21:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:21:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:21:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:21:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761392128001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:21:29] local.INFO: DEBUG: GPS processor result {"connection_id":45880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:21:29] local.INFO: GPS data processed {"connection_id":45880,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:21:29] local.INFO: Acknowledgment sent {"connection_id":45880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:21:31] local.INFO: TCP Data received {"connection_id":46658,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46658,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:21:31] local.INFO: Processing buffer {"connection_id":46658,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:21:31] local.INFO: Packet analysis {"connection_id":46658,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:21:31] local.INFO: Extracted packet for processing {"connection_id":46658,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:21:31] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:21:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761451520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:21:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:21:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:21:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:21:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776412221000,"timestamp_ms":1776412221000,"timestamp_seconds":1776412221,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6b5e48"} 
[2026-04-17 13:21:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:21:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:21:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:21:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:21:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:21:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46658,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:21:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:21:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46658,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:21:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:21:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:21:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:21:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761451520001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:21:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:21:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:21:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761451520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:21:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:21:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:21:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:21:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:21:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761451520001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:21:31] local.INFO: DEBUG: GPS processor result {"connection_id":46658,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:21:31] local.INFO: GPS data processed {"connection_id":46658,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:21:31] local.INFO: Acknowledgment sent {"connection_id":46658,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:21:42] local.INFO: TCP Data received {"connection_id":45881,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a696a48012d4ca9c0068aef100043006125..."} 
[2026-04-17 13:21:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45881,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a696a48012d4ca9c0068aef100043006125..."} 
[2026-04-17 13:21:42] local.INFO: Processing buffer {"connection_id":45881,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a696a48012d4ca9c0068aef100043006125..."} 
[2026-04-17 13:21:42] local.INFO: Packet analysis {"connection_id":45881,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a69"} 
[2026-04-17 13:21:42] local.INFO: Extracted packet for processing {"connection_id":45881,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a69"} 
[2026-04-17 13:21:42] local.INFO: GPS Element Parsed {"raw_longitude":759998912,"raw_latitude":109768464,"longitude_deg":75.9998912,"latitude_deg":10.9768464,"altitude":67,"angle":97,"satellites":37,"speed":17,"hex_longitude":"2d4ca9c0","hex_latitude":"068aef10","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:21:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:21:42] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,67,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:21:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776412093000,"timestamp_ms":1776412093000,"timestamp_seconds":1776412093,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a696a48"} 
[2026-04-17 13:21:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:21:42] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:21:42] 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-04-17 13: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-04-17 13:21:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:21:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:21:42] local.INFO: Teltonika packet parsed successfully {"connection_id":45881,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:21:42] local.INFO: Passing IMEI to GPS processor {"connection_id":45881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:21:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":45881,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:21:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:21:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:21:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:21:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"67":206,"19":48128,"24":17,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,67,19,24,16]} 
[2026-04-17 13:21:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:21:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:21:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:21:42] local.INFO: Unknown IO ID detected {"io_id":67,"value":206,"description":"Unknown IO ID 67"} 
[2026-04-17 13:21:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:21:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:21:42] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_67":206,"unknown_19":48128,"ignition":17,"odometer":null}} 
[2026-04-17 13:21:42] local.INFO: DEBUG: GPS processor result {"connection_id":45881,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21449,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:21:42] local.INFO: GPS data processed {"connection_id":45881,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:21:42] local.INFO: Acknowledgment sent {"connection_id":45881,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:21:48] local.INFO: TCP Data received {"connection_id":46659,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:21:49] local.INFO: Processing buffer {"connection_id":46659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:21:49] local.INFO: IMEI packet received {"connection_id":46659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":46659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:21:50] local.INFO: TCP Data received {"connection_id":45795,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:21:50] local.INFO: Processing buffer {"connection_id":45795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:21:50] local.INFO: IMEI packet received {"connection_id":45795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":45795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:21:54] local.INFO: TCP Data received {"connection_id":46659,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46659,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:21:54] local.INFO: Processing buffer {"connection_id":46659,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:21:54] local.INFO: IMEI packet received {"connection_id":46659,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":46659,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:21:55] local.INFO: TCP Data received {"connection_id":46659,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:21:55] local.INFO: Processing buffer {"connection_id":46659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:21:55] local.INFO: Packet analysis {"connection_id":46659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:21:55] local.INFO: Extracted packet for processing {"connection_id":46659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:21:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761451520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:21: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-04-17 13:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776412221000,"timestamp_ms":1776412221000,"timestamp_seconds":1776412221,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6b5e48"} 
[2026-04-17 13:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:21:55] 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-04-17 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:21: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-04-17 13: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-04-17 13:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:21:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761451520001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761451520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:21:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:21:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761451520001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":46659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21450,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:21:55] local.INFO: GPS data processed {"connection_id":46659,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:21:55] local.INFO: Acknowledgment sent {"connection_id":46659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:21:56] local.INFO: TCP Data received {"connection_id":45795,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45795,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:21:56] local.INFO: Processing buffer {"connection_id":45795,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:21:56] local.INFO: IMEI packet received {"connection_id":45795,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:21:56] local.INFO: IMEI acknowledgment sent {"connection_id":45795,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:21:56] local.INFO: TCP Data received {"connection_id":45795,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:21:56] local.INFO: Processing buffer {"connection_id":45795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a67d408012d7faa8005afd2f8000c000031..."} 
[2026-04-17 13:21:56] local.INFO: Packet analysis {"connection_id":45795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:21:56] local.INFO: Extracted packet for processing {"connection_id":45795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a67"} 
[2026-04-17 13:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761392128001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776411989000,"timestamp_ms":1776411989000,"timestamp_seconds":1776411989,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a67d408"} 
[2026-04-17 13:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:21:56] 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-04-17 13:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761392128001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761392128001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:21:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761392128001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":45795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:21:56] local.INFO: GPS data processed {"connection_id":45795,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:21:56] local.INFO: Acknowledgment sent {"connection_id":45795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:22:08] local.INFO: TCP Data received {"connection_id":45882,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:22:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45882,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:22:08] local.INFO: Processing buffer {"connection_id":45882,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:22:08] local.INFO: IMEI packet received {"connection_id":45882,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:22:08] local.INFO: IMEI acknowledgment sent {"connection_id":45882,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:22:09] local.INFO: TCP Data received {"connection_id":45882,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:22:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45882,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:22:09] local.INFO: Processing buffer {"connection_id":45882,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:22:09] local.INFO: IMEI packet received {"connection_id":45882,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:22:09] local.INFO: IMEI acknowledgment sent {"connection_id":45882,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:22:13] local.INFO: TCP Data received {"connection_id":45882,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45882,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:22:13] local.INFO: Processing buffer {"connection_id":45882,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:22:13] local.INFO: IMEI packet received {"connection_id":45882,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:22:13] local.INFO: IMEI acknowledgment sent {"connection_id":45882,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:22:15] local.INFO: TCP Data received {"connection_id":45882,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6cbdd80100000000000000000000000000..."} 
[2026-04-17 13:22:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6cbdd80100000000000000000000000000..."} 
[2026-04-17 13:22:15] local.INFO: Processing buffer {"connection_id":45882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6cbdd80100000000000000000000000000..."} 
[2026-04-17 13:22:15] local.INFO: Packet analysis {"connection_id":45882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:22:15] local.INFO: Extracted packet for processing {"connection_id":45882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:22: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-04-17 13: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-04-17 13:22:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761534208001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:22:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:22:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5591993021663932416,"note":"Value kept but may cause issues"} 
[2026-04-17 13:22:15] 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-04-17 13:22:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776412311000,"timestamp_ms":1776412311000,"timestamp_seconds":1776412311,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6cbdd8"} 
[2026-04-17 13:22:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:22:15] 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-04-17 13: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-04-17 13:22:15] 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-04-17 13: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-04-17 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-04-17 13:22:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:22:15] local.INFO: Teltonika packet parsed successfully {"connection_id":45882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:22:15] local.INFO: Passing IMEI to GPS processor {"connection_id":45882,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:22:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":45882,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:22:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:22:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:22:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:22:15] local.INFO: DEBUG: GPS processor result {"connection_id":45882,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:22:15] local.INFO: GPS data processed {"connection_id":45882,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:22:15] local.INFO: Acknowledgment sent {"connection_id":45882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:22:27] local.INFO: TCP Data received {"connection_id":46659,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46659,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:22:27] local.INFO: Processing buffer {"connection_id":46659,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:22:27] local.INFO: Packet analysis {"connection_id":46659,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:22:27] local.INFO: Extracted packet for processing {"connection_id":46659,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:22:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761451520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:22: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-04-17 13:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776412221000,"timestamp_ms":1776412221000,"timestamp_seconds":1776412221,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6b5e48"} 
[2026-04-17 13:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:22:27] 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-04-17 13:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:22: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-04-17 13:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46659,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46659,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761451520001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761451520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:22:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:22:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761451520001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":46659,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21452,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:22:27] local.INFO: GPS data processed {"connection_id":46659,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:22:27] local.INFO: Acknowledgment sent {"connection_id":46659,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:22:27] local.INFO: TCP Data received {"connection_id":45795,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45795,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:22:27] local.INFO: Processing buffer {"connection_id":45795,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:22:27] local.INFO: Packet analysis {"connection_id":45795,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:22:27] local.INFO: Extracted packet for processing {"connection_id":45795,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761469184001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776412290000,"timestamp_ms":1776412290000,"timestamp_seconds":1776412290,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6c6bd0"} 
[2026-04-17 13:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:22:27] 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-04-17 13:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45795,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45795,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761469184001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761469184001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:22:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761469184001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":45795,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:22:27] local.INFO: GPS data processed {"connection_id":45795,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:22:27] local.INFO: Acknowledgment sent {"connection_id":45795,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:22:48] local.INFO: TCP Data received {"connection_id":46089,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:22:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:22:48] local.INFO: Processing buffer {"connection_id":46089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:22:48] local.INFO: IMEI packet received {"connection_id":46089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:22:48] local.INFO: IMEI acknowledgment sent {"connection_id":46089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:22:49] local.INFO: TCP Data received {"connection_id":45882,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6c19c8012d4dc380068a9f500064008234..."} 
[2026-04-17 13:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6c19c8012d4dc380068a9f500064008234..."} 
[2026-04-17 13:22:49] local.INFO: Processing buffer {"connection_id":45882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6c19c8012d4dc380068a9f500064008234..."} 
[2026-04-17 13:22:49] local.INFO: Packet analysis {"connection_id":45882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:22:49] local.INFO: Extracted packet for processing {"connection_id":45882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:22:49] local.INFO: GPS Element Parsed {"raw_longitude":760071040,"raw_latitude":109748048,"longitude_deg":76.007104,"latitude_deg":10.9748048,"altitude":100,"angle":130,"satellites":52,"speed":21,"hex_longitude":"2d4dc380","hex_latitude":"068a9f50","is_valid_coordinates":true} 
[2026-04-17 13:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:22:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:22:49] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,68,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:22:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776412269000,"timestamp_ms":1776412269000,"timestamp_seconds":1776412269,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6c19c8"} 
[2026-04-17 13:22:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:22:49] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:22:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-04-17 13:22:49] 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-04-17 13:22:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:22:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:22:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:22:49] local.INFO: Teltonika packet parsed successfully {"connection_id":45882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:22:49] local.INFO: Passing IMEI to GPS processor {"connection_id":45882,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:22:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":45882,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:22:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:22:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:22:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:22:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28267,"68":206,"19":48128,"24":21,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16]} 
[2026-04-17 13:22:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:22:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:22:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:22:49] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-04-17 13:22:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:22:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:22:49] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28267,"unknown_68":206,"unknown_19":48128,"ignition":21,"odometer":null}} 
[2026-04-17 13:22:49] local.INFO: DEBUG: GPS processor result {"connection_id":45882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21454,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:22:49] local.INFO: GPS data processed {"connection_id":45882,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:22:49] local.INFO: Acknowledgment sent {"connection_id":45882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:22:51] local.INFO: TCP Data received {"connection_id":45796,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:22:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:22:51] local.INFO: Processing buffer {"connection_id":45796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:22:51] local.INFO: IMEI packet received {"connection_id":45796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:22:51] local.INFO: IMEI acknowledgment sent {"connection_id":45796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:22:53] local.INFO: TCP Data received {"connection_id":46089,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:22:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46089,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:22:53] local.INFO: Processing buffer {"connection_id":46089,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:22:53] local.INFO: IMEI packet received {"connection_id":46089,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:22:53] local.INFO: IMEI acknowledgment sent {"connection_id":46089,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:22:55] local.INFO: TCP Data received {"connection_id":46089,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:22:55] local.INFO: Processing buffer {"connection_id":46089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:22:55] local.INFO: Packet analysis {"connection_id":46089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:22:55] local.INFO: Extracted packet for processing {"connection_id":46089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:22:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:22:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761451520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:22:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:22:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:22: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-04-17 13:22:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776412221000,"timestamp_ms":1776412221000,"timestamp_seconds":1776412221,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6b5e48"} 
[2026-04-17 13:22:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:22:55] 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-04-17 13:22:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:22: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-04-17 13:22:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:22:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:22:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:22:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:22:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:22:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:22:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:22:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:22:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:22:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761451520001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:22:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:22:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:22:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761451520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:22:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:22:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:22:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:22:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:22:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761451520001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:22:55] local.INFO: DEBUG: GPS processor result {"connection_id":46089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:22:55] local.INFO: GPS data processed {"connection_id":46089,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:22:55] local.INFO: Acknowledgment sent {"connection_id":46089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:22:55] local.INFO: TCP Data received {"connection_id":45796,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:22:55] local.INFO: Processing buffer {"connection_id":45796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:22:55] local.INFO: IMEI packet received {"connection_id":45796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":45796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:22:57] local.INFO: TCP Data received {"connection_id":45796,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:22:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:22:57] local.INFO: Processing buffer {"connection_id":45796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:22:57] local.INFO: Packet analysis {"connection_id":45796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:22:57] local.INFO: Extracted packet for processing {"connection_id":45796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:22:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:22:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761469184001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:22:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:22:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:22:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:22:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776412290000,"timestamp_ms":1776412290000,"timestamp_seconds":1776412290,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6c6bd0"} 
[2026-04-17 13:22:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:22:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:22:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:22:57] 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-04-17 13: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-04-17 13:22:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:22:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:22:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:22:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:22:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:22:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:22:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:22:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:22:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761469184001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:22:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:22:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:22:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761469184001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:22:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:22:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:22:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:22:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:22:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761469184001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:22:57] local.INFO: DEBUG: GPS processor result {"connection_id":45796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:22:57] local.INFO: GPS data processed {"connection_id":45796,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:22:57] local.INFO: Acknowledgment sent {"connection_id":45796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:23:05] local.INFO: TCP Data received {"connection_id":46090,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:23:05] local.INFO: Processing buffer {"connection_id":46090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:23:05] local.INFO: IMEI packet received {"connection_id":46090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":46090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:23:10] local.INFO: TCP Data received {"connection_id":46090,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:23:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46090,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:23:10] local.INFO: Processing buffer {"connection_id":46090,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:23:10] local.INFO: IMEI packet received {"connection_id":46090,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:23:10] local.INFO: IMEI acknowledgment sent {"connection_id":46090,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:23:11] local.INFO: TCP Data received {"connection_id":46090,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6d23680100000000000000000000000000..."} 
[2026-04-17 13:23:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6d23680100000000000000000000000000..."} 
[2026-04-17 13:23:11] local.INFO: Processing buffer {"connection_id":46090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6d23680100000000000000000000000000..."} 
[2026-04-17 13:23:11] local.INFO: Packet analysis {"connection_id":46090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6d"} 
[2026-04-17 13:23:11] local.INFO: Extracted packet for processing {"connection_id":46090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6d"} 
[2026-04-17 13:23: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-04-17 13:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:23:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761540864001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:23:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:23:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5603463126962884608,"note":"Value kept but may cause issues"} 
[2026-04-17 13:23:11] 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-04-17 13:23:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776412337000,"timestamp_ms":1776412337000,"timestamp_seconds":1776412337,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6d2368"} 
[2026-04-17 13:23:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:23:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:23:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 13:23:11] 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-04-17 13:23:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:23:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:23:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:23:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:23:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:23:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:23:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:23:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:23:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:23:11] local.INFO: DEBUG: GPS processor result {"connection_id":46090,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:23:11] local.INFO: GPS data processed {"connection_id":46090,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:23:11] local.INFO: Acknowledgment sent {"connection_id":46090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:23:26] local.INFO: TCP Data received {"connection_id":46089,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46089,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:23:26] local.INFO: Processing buffer {"connection_id":46089,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:23:26] local.INFO: Packet analysis {"connection_id":46089,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:23:26] local.INFO: Extracted packet for processing {"connection_id":46089,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:23:26] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:23:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761451520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:23:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:23:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13: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-04-17 13:23:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776412221000,"timestamp_ms":1776412221000,"timestamp_seconds":1776412221,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6b5e48"} 
[2026-04-17 13:23:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:23:26] 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-04-17 13:23:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:23: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-04-17 13:23:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:23:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:23:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:23:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46089,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:23:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:23:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46089,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:23:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:23:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:23:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:23:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761451520001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:23:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:23:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:23:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761451520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:23:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:23:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:23:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:23:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:23:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761451520001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:23:26] local.INFO: DEBUG: GPS processor result {"connection_id":46089,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:23:26] local.INFO: GPS data processed {"connection_id":46089,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:23:26] local.INFO: Acknowledgment sent {"connection_id":46089,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:23:29] local.INFO: TCP Data received {"connection_id":45796,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:23:29] local.INFO: Processing buffer {"connection_id":45796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:23:29] local.INFO: Packet analysis {"connection_id":45796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:23:29] local.INFO: Extracted packet for processing {"connection_id":45796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:23:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761469184001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776412290000,"timestamp_ms":1776412290000,"timestamp_seconds":1776412290,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6c6bd0"} 
[2026-04-17 13:23:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:23:29] 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-04-17 13: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-04-17 13:23:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:23: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-04-17 13:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761469184001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761469184001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:23:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:23:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761469184001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":45796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:23:29] local.INFO: GPS data processed {"connection_id":45796,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:23:29] local.INFO: Acknowledgment sent {"connection_id":45796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:23:44] local.INFO: TCP Data received {"connection_id":46090,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6c7b70012d4dedc0068a79880069008930..."} 
[2026-04-17 13:23:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46090,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6c7b70012d4dedc0068a79880069008930..."} 
[2026-04-17 13:23:44] local.INFO: Processing buffer {"connection_id":46090,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6c7b70012d4dedc0068a79880069008930..."} 
[2026-04-17 13:23:44] local.INFO: Packet analysis {"connection_id":46090,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:23:44] local.INFO: Extracted packet for processing {"connection_id":46090,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:23:44] local.INFO: GPS Element Parsed {"raw_longitude":760081856,"raw_latitude":109738376,"longitude_deg":76.0081856,"latitude_deg":10.9738376,"altitude":105,"angle":137,"satellites":48,"speed":24,"hex_longitude":"2d4dedc0","hex_latitude":"068a7988","is_valid_coordinates":true} 
[2026-04-17 13:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:23:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:23:44] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,68,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:23:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776412294000,"timestamp_ms":1776412294000,"timestamp_seconds":1776412294,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6c7b70"} 
[2026-04-17 13:23:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:23:44] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:23:44] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 13:23:44] 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-04-17 13:23:44] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:23:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:23:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:23:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46090,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:23:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:23:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46090,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:23:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:23:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:23:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:23:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28137,"68":206,"19":48128,"24":24,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16]} 
[2026-04-17 13:23:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:23:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:23:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:23:44] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-04-17 13:23:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:23:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:23:44] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28137,"unknown_68":206,"unknown_19":48128,"ignition":24,"odometer":null}} 
[2026-04-17 13:23:44] local.INFO: DEBUG: GPS processor result {"connection_id":46090,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21459,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:23:44] local.INFO: GPS data processed {"connection_id":46090,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:23:44] local.INFO: Acknowledgment sent {"connection_id":46090,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:23:48] local.INFO: TCP Data received {"connection_id":46091,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:23:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:23:48] local.INFO: Processing buffer {"connection_id":46091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:23:48] local.INFO: IMEI packet received {"connection_id":46091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:23:48] local.INFO: IMEI acknowledgment sent {"connection_id":46091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:23:50] local.INFO: TCP Data received {"connection_id":46660,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:23:50] local.INFO: Processing buffer {"connection_id":46660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:23:50] local.INFO: IMEI packet received {"connection_id":46660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":46660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:23:54] local.INFO: TCP Data received {"connection_id":46091,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:23:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46091,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:23:54] local.INFO: Processing buffer {"connection_id":46091,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:23:54] local.INFO: IMEI packet received {"connection_id":46091,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:23:54] local.INFO: IMEI acknowledgment sent {"connection_id":46091,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:23:55] local.INFO: TCP Data received {"connection_id":46091,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:23:55] local.INFO: Processing buffer {"connection_id":46091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:23:55] local.INFO: Packet analysis {"connection_id":46091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:23:55] local.INFO: Extracted packet for processing {"connection_id":46091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:23:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:23:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761451520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:23:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:23:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13: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-04-17 13:23:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776412221000,"timestamp_ms":1776412221000,"timestamp_seconds":1776412221,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6b5e48"} 
[2026-04-17 13:23:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:23:55] 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-04-17 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:23: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-04-17 13: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-04-17 13:23:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:23:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:23:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:23:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:23:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:23:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:23:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:23:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:23:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761451520001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:23:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:23:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:23:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761451520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:23:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:23:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:23:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:23:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:23:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761451520001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:23:55] local.INFO: DEBUG: GPS processor result {"connection_id":46091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21460,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:23:55] local.INFO: GPS data processed {"connection_id":46091,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:23:55] local.INFO: Acknowledgment sent {"connection_id":46091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:23:56] local.INFO: TCP Data received {"connection_id":46660,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46660,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:23:56] local.INFO: Processing buffer {"connection_id":46660,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:23:56] local.INFO: IMEI packet received {"connection_id":46660,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":46660,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:23:57] local.INFO: TCP Data received {"connection_id":46660,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:23:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:23:57] local.INFO: Processing buffer {"connection_id":46660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:23:57] local.INFO: Packet analysis {"connection_id":46660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:23:57] local.INFO: Extracted packet for processing {"connection_id":46660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:23:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:23:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761469184001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:23:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:23:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:23:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:23:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776412290000,"timestamp_ms":1776412290000,"timestamp_seconds":1776412290,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6c6bd0"} 
[2026-04-17 13:23:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:23:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:23:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:23:57] 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-04-17 13: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-04-17 13:23:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:23:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:23:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:23:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:23:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:23:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:23:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:23:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:23:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761469184001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:23:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:23:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:23:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761469184001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:23:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:23:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:23:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:23:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:23:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761469184001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:23:57] local.INFO: DEBUG: GPS processor result {"connection_id":46660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21461,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:23:57] local.INFO: GPS data processed {"connection_id":46660,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:23:57] local.INFO: Acknowledgment sent {"connection_id":46660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:24:04] local.INFO: TCP Data received {"connection_id":45797,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:24:04] local.INFO: Processing buffer {"connection_id":45797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:24:04] local.INFO: IMEI packet received {"connection_id":45797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":45797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:24:07] local.INFO: TCP Data received {"connection_id":45797,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:24:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:24:07] local.INFO: Processing buffer {"connection_id":45797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:24:07] local.INFO: IMEI packet received {"connection_id":45797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:24:07] local.INFO: IMEI acknowledgment sent {"connection_id":45797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:24:11] local.INFO: TCP Data received {"connection_id":45797,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:24:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45797,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:24:11] local.INFO: Processing buffer {"connection_id":45797,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:24:11] local.INFO: IMEI packet received {"connection_id":45797,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:24:11] local.INFO: IMEI acknowledgment sent {"connection_id":45797,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:24:12] local.INFO: TCP Data received {"connection_id":45797,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6d88f80100000000000000000000000000..."} 
[2026-04-17 13:24:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6d88f80100000000000000000000000000..."} 
[2026-04-17 13:24:12] local.INFO: Processing buffer {"connection_id":45797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6d88f80100000000000000000000000000..."} 
[2026-04-17 13:24:12] local.INFO: Packet analysis {"connection_id":45797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6d"} 
[2026-04-17 13:24:12] local.INFO: Extracted packet for processing {"connection_id":45797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6d"} 
[2026-04-17 13:24: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-04-17 13:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:24:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761547264001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:24:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:24:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5615355444726433792,"note":"Value kept but may cause issues"} 
[2026-04-17 13:24:12] 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-04-17 13:24:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776412363000,"timestamp_ms":1776412363000,"timestamp_seconds":1776412363,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6d88f8"} 
[2026-04-17 13:24:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:24: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-04-17 13:24:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 13:24: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-04-17 13:24:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:24:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:24:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:24:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:24:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:24:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:24:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:24:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:24:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:24:12] local.INFO: DEBUG: GPS processor result {"connection_id":45797,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:24:12] local.INFO: GPS data processed {"connection_id":45797,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:24:12] local.INFO: Acknowledgment sent {"connection_id":45797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:24:15] local.INFO: TCP Data received {"connection_id":45797,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6cd548012d4e0e80068a40a0006b00aa25..."} 
[2026-04-17 13:24:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6cd548012d4e0e80068a40a0006b00aa25..."} 
[2026-04-17 13:24:15] local.INFO: Processing buffer {"connection_id":45797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6cd548012d4e0e80068a40a0006b00aa25..."} 
[2026-04-17 13:24:15] local.INFO: Packet analysis {"connection_id":45797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:24:15] local.INFO: Extracted packet for processing {"connection_id":45797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:24:15] local.INFO: GPS Element Parsed {"raw_longitude":760090240,"raw_latitude":109723808,"longitude_deg":76.009024,"latitude_deg":10.9723808,"altitude":107,"angle":170,"satellites":37,"speed":34,"hex_longitude":"2d4e0e80","hex_latitude":"068a40a0","is_valid_coordinates":true} 
[2026-04-17 13:24:15] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:24:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:24:15] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,68,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:24:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776412317000,"timestamp_ms":1776412317000,"timestamp_seconds":1776412317,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6cd548"} 
[2026-04-17 13:24:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:24:15] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-04-17 13:24:15] 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-04-17 13: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-04-17 13:24:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:24:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:24:15] local.INFO: Teltonika packet parsed successfully {"connection_id":45797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:24:15] local.INFO: Passing IMEI to GPS processor {"connection_id":45797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:24:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":45797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:24:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:24:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:24:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:24:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28224,"68":206,"19":48128,"24":34,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,68,19,24,16]} 
[2026-04-17 13:24:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:24:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:24:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:24:15] local.INFO: Unknown IO ID detected {"io_id":68,"value":206,"description":"Unknown IO ID 68"} 
[2026-04-17 13:24:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:24:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:24:15] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28224,"unknown_68":206,"unknown_19":48128,"ignition":34,"odometer":null}} 
[2026-04-17 13:24:15] local.INFO: DEBUG: GPS processor result {"connection_id":45797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21462,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:24:15] local.INFO: GPS data processed {"connection_id":45797,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:24:15] local.INFO: Acknowledgment sent {"connection_id":45797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:24:27] local.INFO: TCP Data received {"connection_id":46091,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:24:27] local.INFO: Processing buffer {"connection_id":46091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:24:27] local.INFO: Packet analysis {"connection_id":46091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:24:27] local.INFO: Extracted packet for processing {"connection_id":46091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:24:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761451520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:24: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-04-17 13:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776412221000,"timestamp_ms":1776412221000,"timestamp_seconds":1776412221,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6b5e48"} 
[2026-04-17 13:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:24:27] 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-04-17 13:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:24: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-04-17 13:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46091,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761451520001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761451520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:24:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:24:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761451520001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":46091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21463,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:24:27] local.INFO: GPS data processed {"connection_id":46091,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:24:27] local.INFO: Acknowledgment sent {"connection_id":46091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:24:28] local.INFO: TCP Data received {"connection_id":46660,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46660,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:24:28] local.INFO: Processing buffer {"connection_id":46660,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:24:28] local.INFO: Packet analysis {"connection_id":46660,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:24:28] local.INFO: Extracted packet for processing {"connection_id":46660,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:24:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761469184001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776412290000,"timestamp_ms":1776412290000,"timestamp_seconds":1776412290,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6c6bd0"} 
[2026-04-17 13:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:24:28] 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-04-17 13: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-04-17 13:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46660,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46660,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761469184001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761469184001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:24:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761469184001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":46660,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:24:28] local.INFO: GPS data processed {"connection_id":46660,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:24:28] local.INFO: Acknowledgment sent {"connection_id":46660,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:24:50] local.INFO: TCP Data received {"connection_id":45883,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:24:50] local.INFO: Processing buffer {"connection_id":45883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:24:50] local.INFO: IMEI packet received {"connection_id":45883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":45883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:24:54] local.INFO: TCP Data received {"connection_id":46092,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:24:54] local.INFO: Processing buffer {"connection_id":46092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:24:54] local.INFO: IMEI packet received {"connection_id":46092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":46092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:24:56] local.INFO: TCP Data received {"connection_id":45883,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:24:56] local.INFO: Processing buffer {"connection_id":45883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:24:56] local.INFO: IMEI packet received {"connection_id":45883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":45883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:24:57] local.INFO: TCP Data received {"connection_id":45883,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:24:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:24:57] local.INFO: Processing buffer {"connection_id":45883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:24:57] local.INFO: Packet analysis {"connection_id":45883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:24:57] local.INFO: Extracted packet for processing {"connection_id":45883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:24:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:24:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761469184001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:24:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:24:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:24:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:24:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776412290000,"timestamp_ms":1776412290000,"timestamp_seconds":1776412290,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6c6bd0"} 
[2026-04-17 13:24:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:24:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:24:57] 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-04-17 13: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-04-17 13:24:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:24:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:24:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:24:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:24:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:24:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:24:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:24:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:24:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761469184001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:24:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:24:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:24:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761469184001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:24:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:24:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:24:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:24:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:24:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761469184001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:24:57] local.INFO: DEBUG: GPS processor result {"connection_id":45883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:24:57] local.INFO: GPS data processed {"connection_id":45883,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:24:57] local.INFO: Acknowledgment sent {"connection_id":45883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:24:59] local.INFO: TCP Data received {"connection_id":46092,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:24:59] local.INFO: Processing buffer {"connection_id":46092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:24:59] local.INFO: IMEI packet received {"connection_id":46092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:24:59] local.INFO: IMEI acknowledgment sent {"connection_id":46092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:25:00] local.INFO: TCP Data received {"connection_id":46092,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:25:00] local.INFO: Processing buffer {"connection_id":46092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:25:00] local.INFO: Packet analysis {"connection_id":46092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:25:00] local.INFO: Extracted packet for processing {"connection_id":46092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:25:00] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761451520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:25: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-04-17 13:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776412221000,"timestamp_ms":1776412221000,"timestamp_seconds":1776412221,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6b5e48"} 
[2026-04-17 13:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:25:00] 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-04-17 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:25: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-04-17 13: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-04-17 13:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761451520001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761451520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:25:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:25:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761451520001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":46092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21466,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:25:00] local.INFO: GPS data processed {"connection_id":46092,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:25:00] local.INFO: Acknowledgment sent {"connection_id":46092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:25:05] local.INFO: TCP Data received {"connection_id":46092,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:25:05] local.INFO: Processing buffer {"connection_id":46092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:25:05] local.INFO: Packet analysis {"connection_id":46092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:25:05] local.INFO: Extracted packet for processing {"connection_id":46092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:25:05] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761451520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:25: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-04-17 13:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776412221000,"timestamp_ms":1776412221000,"timestamp_seconds":1776412221,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6b5e48"} 
[2026-04-17 13:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:25:05] 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-04-17 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:25: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-04-17 13: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-04-17 13:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:25:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761451520001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761451520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:25:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:25:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761451520001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:25:05] local.INFO: DEBUG: GPS processor result {"connection_id":46092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:25:05] local.INFO: GPS data processed {"connection_id":46092,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:25:05] local.INFO: Acknowledgment sent {"connection_id":46092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:25:07] local.INFO: TCP Data received {"connection_id":45797,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6d2750012d4e0f800689f9a0006c00b42f..."} 
[2026-04-17 13:25:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45797,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6d2750012d4e0f800689f9a0006c00b42f..."} 
[2026-04-17 13:25:07] local.INFO: Processing buffer {"connection_id":45797,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6d2750012d4e0f800689f9a0006c00b42f..."} 
[2026-04-17 13:25:07] local.INFO: Packet analysis {"connection_id":45797,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6d"} 
[2026-04-17 13:25:07] local.INFO: Extracted packet for processing {"connection_id":45797,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6d"} 
[2026-04-17 13:25:07] local.INFO: GPS Element Parsed {"raw_longitude":760090496,"raw_latitude":109705632,"longitude_deg":76.0090496,"latitude_deg":10.9705632,"altitude":108,"angle":180,"satellites":47,"speed":0,"hex_longitude":"2d4e0f80","hex_latitude":"0689f9a0","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:25:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761553152001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:25:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:25:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5624573750209978368,"note":"Value kept but may cause issues"} 
[2026-04-17 13:25:07] 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-04-17 13:25:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776412338000,"timestamp_ms":1776412338000,"timestamp_seconds":1776412338,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6d2750"} 
[2026-04-17 13:25:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:25:07] 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-04-17 13: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-04-17 13:25:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:25:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:25:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:25:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45797,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:25:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:25:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45797,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:25:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:25:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:25:07] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:25:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761553152001,"66":206,"19":48128,"24":0,"16":106618783551979520,"45":5624573750209978368},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-04-17 13:25:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:25:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:25:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761553152001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:25:07] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:25:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:25:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":5624573750209978368,"description":"Unknown IO ID 45"} 
[2026-04-17 13:25:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454761553152001,"power":206,"unknown_19":48128,"ignition":0,"odometer":null,"unknown_45":5624573750209978368}} 
[2026-04-17 13:25:07] local.INFO: DEBUG: GPS processor result {"connection_id":45797,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21468,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:25:07] local.INFO: GPS data processed {"connection_id":45797,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:25:07] local.INFO: Acknowledgment sent {"connection_id":45797,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:25:09] local.INFO: TCP Data received {"connection_id":45884,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:25:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:25:09] local.INFO: Processing buffer {"connection_id":45884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:25:09] local.INFO: IMEI packet received {"connection_id":45884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:25:09] local.INFO: IMEI acknowledgment sent {"connection_id":45884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:25:29] local.INFO: TCP Data received {"connection_id":45883,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:25:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:25:29] local.INFO: Processing buffer {"connection_id":45883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:25:29] local.INFO: Packet analysis {"connection_id":45883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:25:29] local.INFO: Extracted packet for processing {"connection_id":45883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:25:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:25:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761469184001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:25:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:25:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:25:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:25:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776412290000,"timestamp_ms":1776412290000,"timestamp_seconds":1776412290,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6c6bd0"} 
[2026-04-17 13:25:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:25:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:25:29] 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-04-17 13: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-04-17 13:25:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:25:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:25:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:25:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:25:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:25: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-04-17 13:25:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:25:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:25:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761469184001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:25:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:25:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:25:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761469184001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:25:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:25:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:25:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:25:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:25:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761469184001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:25:29] local.INFO: DEBUG: GPS processor result {"connection_id":45883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:25:29] local.INFO: GPS data processed {"connection_id":45883,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:25:29] local.INFO: Acknowledgment sent {"connection_id":45883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:25:40] local.INFO: TCP Data received {"connection_id":45884,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:25:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45884,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:25:40] local.INFO: Processing buffer {"connection_id":45884,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:25:40] local.INFO: IMEI packet received {"connection_id":45884,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:25:40] local.INFO: IMEI acknowledgment sent {"connection_id":45884,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:25:49] local.INFO: TCP Data received {"connection_id":46661,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:25:49] local.INFO: Processing buffer {"connection_id":46661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:25:49] local.INFO: IMEI packet received {"connection_id":46661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":46661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:25:50] local.INFO: TCP Data received {"connection_id":45885,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:25:50] local.INFO: Processing buffer {"connection_id":45885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:25:50] local.INFO: IMEI packet received {"connection_id":45885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":45885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:25:54] local.INFO: TCP Data received {"connection_id":46661,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46661,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:25:54] local.INFO: Processing buffer {"connection_id":46661,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:25:54] local.INFO: IMEI packet received {"connection_id":46661,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:25:54] local.INFO: IMEI acknowledgment sent {"connection_id":46661,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:25:55] local.INFO: TCP Data received {"connection_id":46661,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:25:55] local.INFO: Processing buffer {"connection_id":46661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6b5e48012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:25:55] local.INFO: Packet analysis {"connection_id":46661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:25:55] local.INFO: Extracted packet for processing {"connection_id":46661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6b"} 
[2026-04-17 13:25:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:25:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761451520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:25:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:25:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13: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-04-17 13:25:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776412221000,"timestamp_ms":1776412221000,"timestamp_seconds":1776412221,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6b5e48"} 
[2026-04-17 13:25:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:25:55] 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-04-17 13: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-04-17 13: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-04-17 13: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-04-17 13:25:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:25:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:25:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:25:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:25:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:25:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:25:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:25:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:25:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761451520001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:25:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:25:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:25:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761451520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:25:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:25:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:25:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:25:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:25:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761451520001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":46661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:25:56] local.INFO: GPS data processed {"connection_id":46661,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:25:56] local.INFO: Acknowledgment sent {"connection_id":46661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:25:56] local.INFO: TCP Data received {"connection_id":45885,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:25:56] local.INFO: Processing buffer {"connection_id":45885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:25:56] local.INFO: IMEI packet received {"connection_id":45885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":45885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:25:57] local.INFO: TCP Data received {"connection_id":45885,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:25:57] local.INFO: Processing buffer {"connection_id":45885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:25:57] local.INFO: Packet analysis {"connection_id":45885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:25:57] local.INFO: Extracted packet for processing {"connection_id":45885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:25:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761469184001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776412290000,"timestamp_ms":1776412290000,"timestamp_seconds":1776412290,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6c6bd0"} 
[2026-04-17 13:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:25:57] 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-04-17 13: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-04-17 13:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761469184001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761469184001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:25:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:25:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761469184001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":45885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:25:57] local.INFO: GPS data processed {"connection_id":45885,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:25:57] local.INFO: Acknowledgment sent {"connection_id":45885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:26:28] local.INFO: TCP Data received {"connection_id":45885,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:26:28] local.INFO: Processing buffer {"connection_id":45885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:26:28] local.INFO: Packet analysis {"connection_id":45885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:26:28] local.INFO: Extracted packet for processing {"connection_id":45885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:26:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761469184001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776412290000,"timestamp_ms":1776412290000,"timestamp_seconds":1776412290,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6c6bd0"} 
[2026-04-17 13:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:26:28] 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-04-17 13: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-04-17 13:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761469184001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761469184001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:26:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:26:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761469184001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":45885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21472,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:26:28] local.INFO: GPS data processed {"connection_id":45885,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:26:28] local.INFO: Acknowledgment sent {"connection_id":45885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:26:28] local.INFO: TCP Data received {"connection_id":46661,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46661,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:26:28] local.INFO: Processing buffer {"connection_id":46661,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:26:28] local.INFO: Packet analysis {"connection_id":46661,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6f"} 
[2026-04-17 13:26:28] local.INFO: Extracted packet for processing {"connection_id":46661,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6f"} 
[2026-04-17 13:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761528576001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13: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-04-17 13:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776412522000,"timestamp_ms":1776412522000,"timestamp_seconds":1776412522,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6ff610"} 
[2026-04-17 13:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:26:28] 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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:26:28] 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-04-17 13: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-04-17 13:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46661,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46661,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761528576001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761528576001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:26:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:26:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761528576001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":46661,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21473,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:26:28] local.INFO: GPS data processed {"connection_id":46661,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:26:28] local.INFO: Acknowledgment sent {"connection_id":46661,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:26:31] local.INFO: TCP Data received {"connection_id":45884,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6d65d0012d4e06400689a750006500c333..."} 
[2026-04-17 13:26:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6d65d0012d4e06400689a750006500c333..."} 
[2026-04-17 13:26:31] local.INFO: Processing buffer {"connection_id":45884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6d65d0012d4e06400689a750006500c333..."} 
[2026-04-17 13:26:31] local.INFO: Packet analysis {"connection_id":45884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6d"} 
[2026-04-17 13:26:31] local.INFO: Extracted packet for processing {"connection_id":45884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6d"} 
[2026-04-17 13:26:31] local.INFO: GPS Element Parsed {"raw_longitude":760088128,"raw_latitude":109684560,"longitude_deg":76.0088128,"latitude_deg":10.968456,"altitude":101,"angle":195,"satellites":51,"speed":49,"hex_longitude":"2d4e0640","hex_latitude":"0689a750","is_valid_coordinates":true} 
[2026-04-17 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-04-17 13:26:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761558528001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:26:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:26:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5624855225182035968,"note":"Value kept but may cause issues"} 
[2026-04-17 13:26:31] 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-04-17 13:26:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776412354000,"timestamp_ms":1776412354000,"timestamp_seconds":1776412354,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6d65d0"} 
[2026-04-17 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-04-17 13:26:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 13:26:31] 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-04-17 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-04-17 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-04-17 13:26:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:26:31] local.INFO: Teltonika packet parsed successfully {"connection_id":45884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:26:31] local.INFO: Passing IMEI to GPS processor {"connection_id":45884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:26:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":45884,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:26:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:26:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:26:31] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:26:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761558528001,"66":206,"19":48128,"24":49,"16":106618783551979520,"45":5624855225182035968},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,19,24,16,45]} 
[2026-04-17 13:26:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:26:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:26:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761558528001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:26:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":48128,"description":"Unknown IO ID 19"} 
[2026-04-17 13:26:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:26:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":5624855225182035968,"description":"Unknown IO ID 45"} 
[2026-04-17 13:26:31] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454761558528001,"power":206,"unknown_19":48128,"ignition":49,"odometer":null,"unknown_45":5624855225182035968}} 
[2026-04-17 13:26:31] local.INFO: DEBUG: GPS processor result {"connection_id":45884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21474,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:26:31] local.INFO: GPS data processed {"connection_id":45884,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:26:31] local.INFO: Acknowledgment sent {"connection_id":45884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:26:46] local.INFO: TCP Data received {"connection_id":46093,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:26:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46093,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:26:46] local.INFO: Processing buffer {"connection_id":46093,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:26:46] local.INFO: IMEI packet received {"connection_id":46093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:26:46] local.INFO: IMEI acknowledgment sent {"connection_id":46093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:26:47] local.INFO: TCP Data received {"connection_id":46093,"ip":"117.224.17.214","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 13:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46093,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 13:26:47] local.INFO: Processing buffer {"connection_id":46093,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 13:26:47] local.INFO: IMEI packet received {"connection_id":46093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":46093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:26:48] local.INFO: TCP Data received {"connection_id":46094,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:26:48] local.INFO: Processing buffer {"connection_id":46094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:26:48] local.INFO: IMEI packet received {"connection_id":46094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":46094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:26:50] local.INFO: TCP Data received {"connection_id":46093,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6db7d8012d4ded0006895290005e00c232..."} 
[2026-04-17 13:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6db7d8012d4ded0006895290005e00c232..."} 
[2026-04-17 13:26:50] local.INFO: Processing buffer {"connection_id":46093,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019d9a..."} 
[2026-04-17 13:26:50] local.INFO: IMEI packet received {"connection_id":46093,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":46093,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:26:56] local.INFO: TCP Data received {"connection_id":45798,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:26:56] local.INFO: Processing buffer {"connection_id":45798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:26:56] local.INFO: IMEI packet received {"connection_id":45798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":45798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:27:01] local.INFO: TCP Data received {"connection_id":45798,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:27:01] local.INFO: Processing buffer {"connection_id":45798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:27:01] local.INFO: IMEI packet received {"connection_id":45798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:27:01] local.INFO: IMEI acknowledgment sent {"connection_id":45798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:27:01] local.INFO: TCP Data received {"connection_id":45798,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:27:01] local.INFO: Processing buffer {"connection_id":45798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:27:01] local.INFO: Packet analysis {"connection_id":45798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:27:01] local.INFO: Extracted packet for processing {"connection_id":45798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761469184001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776412290000,"timestamp_ms":1776412290000,"timestamp_seconds":1776412290,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6c6bd0"} 
[2026-04-17 13:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:27:01] 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-04-17 13:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:27: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-04-17 13:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761469184001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761469184001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:27:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761469184001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":45798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21475,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:27:01] local.INFO: GPS data processed {"connection_id":45798,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:27:01] local.INFO: Acknowledgment sent {"connection_id":45798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:27:02] local.INFO: TCP Data received {"connection_id":46094,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:27:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:27:02] local.INFO: Processing buffer {"connection_id":46094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:27:02] local.INFO: IMEI packet received {"connection_id":46094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:27:02] local.INFO: IMEI acknowledgment sent {"connection_id":46094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:27:03] local.INFO: TCP Data received {"connection_id":46094,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:27:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:27:03] local.INFO: Processing buffer {"connection_id":46094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:27:03] local.INFO: Packet analysis {"connection_id":46094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6f"} 
[2026-04-17 13:27:03] local.INFO: Extracted packet for processing {"connection_id":46094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6f"} 
[2026-04-17 13:27:03] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 13:27:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761528576001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:27:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776412522000,"timestamp_ms":1776412522000,"timestamp_seconds":1776412522,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6ff610"} 
[2026-04-17 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-04-17 13:27: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-04-17 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:27:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 13:27:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:27:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:27:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:27:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:27:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:27:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:27:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:27:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761528576001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:27:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:27:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:27:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761528576001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:27:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:27:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:27:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:27:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:27:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761528576001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:27:03] local.INFO: DEBUG: GPS processor result {"connection_id":46094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21476,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:27:03] local.INFO: GPS data processed {"connection_id":46094,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:27:03] local.INFO: Acknowledgment sent {"connection_id":46094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:27:06] local.INFO: TCP Data received {"connection_id":45798,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:27:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:27:06] local.INFO: Processing buffer {"connection_id":45798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6c6bd0012d7faa8005afd2f80011000030..."} 
[2026-04-17 13:27:06] local.INFO: Packet analysis {"connection_id":45798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:27:06] local.INFO: Extracted packet for processing {"connection_id":45798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6c"} 
[2026-04-17 13:27:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:27:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761469184001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:27:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776412290000,"timestamp_ms":1776412290000,"timestamp_seconds":1776412290,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6c6bd0"} 
[2026-04-17 13:27:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:27:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:27: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-04-17 13: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-04-17 13:27:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:27:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:27:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:27:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:27:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:27:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:27:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:27:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:27:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761469184001,"66":25125,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:27:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:27:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:27:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761469184001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:27:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:27:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:27:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:27:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:27:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761469184001,"power":25125,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:27:06] local.INFO: DEBUG: GPS processor result {"connection_id":45798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:27:06] local.INFO: GPS data processed {"connection_id":45798,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:27:06] local.INFO: Acknowledgment sent {"connection_id":45798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:27:08] local.INFO: TCP Data received {"connection_id":46095,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:27:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:27:08] local.INFO: Processing buffer {"connection_id":46095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:27:08] local.INFO: IMEI packet received {"connection_id":46095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:27:08] local.INFO: IMEI acknowledgment sent {"connection_id":46095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:27:09] local.INFO: TCP Data received {"connection_id":46095,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:27:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:27:09] local.INFO: Processing buffer {"connection_id":46095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:27:09] local.INFO: IMEI packet received {"connection_id":46095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:27:09] local.INFO: IMEI acknowledgment sent {"connection_id":46095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:27:13] local.INFO: TCP Data received {"connection_id":46095,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:27:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:27:13] local.INFO: Processing buffer {"connection_id":46095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:27:13] local.INFO: IMEI packet received {"connection_id":46095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:27:13] local.INFO: IMEI acknowledgment sent {"connection_id":46095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:27:15] local.INFO: TCP Data received {"connection_id":46095,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:27:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46095,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:27:15] local.INFO: Processing buffer {"connection_id":46095,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:27:15] local.INFO: IMEI packet received {"connection_id":46095,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:27:15] local.INFO: IMEI acknowledgment sent {"connection_id":46095,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:27:17] local.INFO: TCP Data received {"connection_id":46095,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a70a9c0012d4d7e0006869e40006f00ca2d..."} 
[2026-04-17 13:27:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a70a9c0012d4d7e0006869e40006f00ca2d..."} 
[2026-04-17 13:27:17] local.INFO: Processing buffer {"connection_id":46095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a70a9c0012d4d7e0006869e40006f00ca2d..."} 
[2026-04-17 13:27:17] local.INFO: Packet analysis {"connection_id":46095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a70"} 
[2026-04-17 13:27:17] local.INFO: Extracted packet for processing {"connection_id":46095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a70"} 
[2026-04-17 13:27:17] local.INFO: GPS Element Parsed {"raw_longitude":760053248,"raw_latitude":109485632,"longitude_deg":76.0053248,"latitude_deg":10.9485632,"altitude":111,"angle":202,"satellites":45,"speed":21,"hex_longitude":"2d4d7e00","hex_latitude":"06869e40","is_valid_coordinates":true} 
[2026-04-17 13:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:27:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27:17] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:27:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776412568000,"timestamp_ms":1776412568000,"timestamp_seconds":1776412568,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a70a9c0"} 
[2026-04-17 13:27:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:27:17] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:27:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:27:17] 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-04-17 13:27:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:27:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:27:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:27:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:27:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:27:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:27:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:27:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:27:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:27:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28278,"229":206,"19":47872,"24":21,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16]} 
[2026-04-17 13:27:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:27:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:27:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:27:17] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-17 13:27:17] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:27:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:27:17] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28278,"unknown_229":206,"unknown_19":47872,"ignition":21,"odometer":null}} 
[2026-04-17 13:27:17] local.INFO: DEBUG: GPS processor result {"connection_id":46095,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21478,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:27:17] local.INFO: GPS data processed {"connection_id":46095,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:27:17] local.INFO: Acknowledgment sent {"connection_id":46095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:27:48] local.INFO: TCP Data received {"connection_id":46662,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:27:48] local.INFO: Processing buffer {"connection_id":46662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:27:48] local.INFO: IMEI packet received {"connection_id":46662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:27:48] local.INFO: IMEI acknowledgment sent {"connection_id":46662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:27:48] local.INFO: TCP Data received {"connection_id":46095,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a71b3600100000000000000000000000000..."} 
[2026-04-17 13:27:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46095,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a71b3600100000000000000000000000000..."} 
[2026-04-17 13:27:48] local.INFO: Processing buffer {"connection_id":46095,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a71b3600100000000000000000000000000..."} 
[2026-04-17 13:27:48] local.INFO: Packet analysis {"connection_id":46095,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:27:48] local.INFO: Extracted packet for processing {"connection_id":46095,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:27: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-04-17 13: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-04-17 13:27:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761617408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5583900616014315520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:27:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776412636000,"timestamp_ms":1776412636000,"timestamp_seconds":1776412636,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a71b360"} 
[2026-04-17 13:27:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:27:48] 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-04-17 13: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:27:48] 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-04-17 13: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-04-17 13:27:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:27:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:27:48] local.INFO: Teltonika packet parsed successfully {"connection_id":46095,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:27:48] local.INFO: Passing IMEI to GPS processor {"connection_id":46095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:27:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":46095,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:27:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:27:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:27:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:27:48] local.INFO: DEBUG: GPS processor result {"connection_id":46095,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:27:48] local.INFO: GPS data processed {"connection_id":46095,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:27:48] local.INFO: Acknowledgment sent {"connection_id":46095,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:27:51] local.INFO: TCP Data received {"connection_id":46663,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:27:51] local.INFO: Processing buffer {"connection_id":46663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:27:51] local.INFO: IMEI packet received {"connection_id":46663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":46663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:27:53] local.INFO: TCP Data received {"connection_id":46662,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:27:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46662,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:27:53] local.INFO: Processing buffer {"connection_id":46662,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:27:53] local.INFO: IMEI packet received {"connection_id":46662,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:27:53] local.INFO: IMEI acknowledgment sent {"connection_id":46662,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:27:55] local.INFO: TCP Data received {"connection_id":46662,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:27:55] local.INFO: Processing buffer {"connection_id":46662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:27:55] local.INFO: Packet analysis {"connection_id":46662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6f"} 
[2026-04-17 13:27:55] local.INFO: Extracted packet for processing {"connection_id":46662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6f"} 
[2026-04-17 13:27:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761528576001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27: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-04-17 13:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776412522000,"timestamp_ms":1776412522000,"timestamp_seconds":1776412522,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6ff610"} 
[2026-04-17 13:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:27:55] 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-04-17 13:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:27:55] 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-04-17 13:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761528576001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761528576001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:27:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:27:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761528576001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":46662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:27:55] local.INFO: GPS data processed {"connection_id":46662,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:27:55] local.INFO: Acknowledgment sent {"connection_id":46662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:27:56] local.INFO: TCP Data received {"connection_id":46663,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46663,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:27:56] local.INFO: Processing buffer {"connection_id":46663,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:27:56] local.INFO: IMEI packet received {"connection_id":46663,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":46663,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:27:56] local.INFO: TCP Data received {"connection_id":46663,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:27:56] local.INFO: Processing buffer {"connection_id":46663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:27:56] local.INFO: Packet analysis {"connection_id":46663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:27:56] local.INFO: Extracted packet for processing {"connection_id":46663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761546240001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776412591000,"timestamp_ms":1776412591000,"timestamp_seconds":1776412591,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a710398"} 
[2026-04-17 13:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:27:56] 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-04-17 13:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 13:27: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-04-17 13:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:27:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761546240001,"66":25093,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761546240001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:27:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761546240001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":46663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:27:57] local.INFO: GPS data processed {"connection_id":46663,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:27:57] local.INFO: Acknowledgment sent {"connection_id":46663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:28:09] local.INFO: TCP Data received {"connection_id":45886,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:28:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:28:09] local.INFO: Processing buffer {"connection_id":45886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:28:09] local.INFO: IMEI packet received {"connection_id":45886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:28:09] local.INFO: IMEI acknowledgment sent {"connection_id":45886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:28:14] local.INFO: TCP Data received {"connection_id":45886,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:28:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45886,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:28:14] local.INFO: Processing buffer {"connection_id":45886,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:28:14] local.INFO: IMEI packet received {"connection_id":45886,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:28:14] local.INFO: IMEI acknowledgment sent {"connection_id":45886,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:28:16] local.INFO: TCP Data received {"connection_id":45886,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a710b68012d4d618006866fe0007300da32..."} 
[2026-04-17 13:28:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a710b68012d4d618006866fe0007300da32..."} 
[2026-04-17 13:28:16] local.INFO: Processing buffer {"connection_id":45886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a710b68012d4d618006866fe0007300da32..."} 
[2026-04-17 13:28:16] local.INFO: Packet analysis {"connection_id":45886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:28:16] local.INFO: Extracted packet for processing {"connection_id":45886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:28:16] local.INFO: GPS Element Parsed {"raw_longitude":760045952,"raw_latitude":109473760,"longitude_deg":76.0045952,"latitude_deg":10.947376,"altitude":115,"angle":218,"satellites":50,"speed":22,"hex_longitude":"2d4d6180","hex_latitude":"06866fe0","is_valid_coordinates":true} 
[2026-04-17 13:28: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-04-17 13:28:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:28:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:28:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776412593000,"timestamp_ms":1776412593000,"timestamp_seconds":1776412593,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a710b68"} 
[2026-04-17 13:28:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:28:16] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:28: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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:28:16] 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-04-17 13:28: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-04-17 13:28:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:28:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:28:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:28:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:28:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:28:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:28:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:28:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:28:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28300,"229":206,"19":47872,"24":22,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16]} 
[2026-04-17 13:28:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:28:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:28:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:28:16] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-17 13:28:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:28:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:28:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28300,"unknown_229":206,"unknown_19":47872,"ignition":22,"odometer":null}} 
[2026-04-17 13:28:16] local.INFO: DEBUG: GPS processor result {"connection_id":45886,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21481,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:28:16] local.INFO: GPS data processed {"connection_id":45886,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:28:16] local.INFO: Acknowledgment sent {"connection_id":45886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:28:26] local.INFO: TCP Data received {"connection_id":46662,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46662,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:28:26] local.INFO: Processing buffer {"connection_id":46662,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:28:26] local.INFO: Packet analysis {"connection_id":46662,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6f"} 
[2026-04-17 13:28:26] local.INFO: Extracted packet for processing {"connection_id":46662,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6f"} 
[2026-04-17 13:28:26] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:28:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761528576001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:28:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:28:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:28: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-04-17 13:28:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776412522000,"timestamp_ms":1776412522000,"timestamp_seconds":1776412522,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6ff610"} 
[2026-04-17 13:28:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:28:26] 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-04-17 13:28:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:28:26] 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-04-17 13:28:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:28:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:28:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:28:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46662,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:28:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:28:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46662,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:28:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:28:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:28:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:28:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761528576001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:28:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:28:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:28:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761528576001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:28:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:28:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:28:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:28:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:28:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761528576001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":46662,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:28:27] local.INFO: GPS data processed {"connection_id":46662,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:28:27] local.INFO: Acknowledgment sent {"connection_id":46662,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:28:28] local.INFO: TCP Data received {"connection_id":46663,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46663,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:28:28] local.INFO: Processing buffer {"connection_id":46663,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:28:28] local.INFO: Packet analysis {"connection_id":46663,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:28:28] local.INFO: Extracted packet for processing {"connection_id":46663,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:28:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761546240001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776412591000,"timestamp_ms":1776412591000,"timestamp_seconds":1776412591,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a710398"} 
[2026-04-17 13:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 13:28:28] 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-04-17 13:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46663,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46663,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761546240001,"66":25093,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761546240001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:28:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:28:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761546240001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":46663,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:28:28] local.INFO: GPS data processed {"connection_id":46663,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:28:28] local.INFO: Acknowledgment sent {"connection_id":46663,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:28:48] local.INFO: TCP Data received {"connection_id":45886,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7215080100000000000000000000000000..."} 
[2026-04-17 13:28:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45886,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7215080100000000000000000000000000..."} 
[2026-04-17 13:28:48] local.INFO: Processing buffer {"connection_id":45886,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7215080100000000000000000000000000..."} 
[2026-04-17 13:28:48] local.INFO: Packet analysis {"connection_id":45886,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a72"} 
[2026-04-17 13:28:48] local.INFO: Extracted packet for processing {"connection_id":45886,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a72"} 
[2026-04-17 13:28: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-04-17 13: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-04-17 13:28:48] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761623808001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:28:48] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:28:48] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5575878579175022592,"note":"Value kept but may cause issues"} 
[2026-04-17 13:28:48] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:28:48] local.INFO: AVL Record Parsed {"raw_timestamp":1776412661000,"timestamp_ms":1776412661000,"timestamp_seconds":1776412661,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a721508"} 
[2026-04-17 13:28:48] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:28:48] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 13:28:48] 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-04-17 13: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-04-17 13:28:48] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:28:48] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:28:48] local.INFO: Teltonika packet parsed successfully {"connection_id":45886,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:28:48] local.INFO: Passing IMEI to GPS processor {"connection_id":45886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:28:48] local.INFO: DEBUG: About to call GPS processor {"connection_id":45886,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:28:48] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:28:48] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:28:48] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:28:48] local.INFO: DEBUG: GPS processor result {"connection_id":45886,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:28:48] local.INFO: GPS data processed {"connection_id":45886,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:28:48] local.INFO: Acknowledgment sent {"connection_id":45886,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:28:51] local.INFO: TCP Data received {"connection_id":45799,"ip":"42.106.6.210","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:28:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:28:51] local.INFO: Processing buffer {"connection_id":45799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:28:51] local.INFO: IMEI packet received {"connection_id":45799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:28:51] local.INFO: IMEI acknowledgment sent {"connection_id":45799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:28:53] local.INFO: TCP Data received {"connection_id":45800,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:28:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:28:53] local.INFO: Processing buffer {"connection_id":45800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:28:53] local.INFO: IMEI packet received {"connection_id":45800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:28:53] local.INFO: IMEI acknowledgment sent {"connection_id":45800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:28:55] local.INFO: TCP Data received {"connection_id":45799,"ip":"42.106.6.210","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45799,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:28:55] local.INFO: Processing buffer {"connection_id":45799,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:28:55] local.INFO: IMEI packet received {"connection_id":45799,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":45799,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:28:56] local.INFO: TCP Data received {"connection_id":45799,"ip":"42.106.6.210","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:28:56] local.INFO: Processing buffer {"connection_id":45799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:28:56] local.INFO: Packet analysis {"connection_id":45799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:28:56] local.INFO: Extracted packet for processing {"connection_id":45799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761546240001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776412591000,"timestamp_ms":1776412591000,"timestamp_seconds":1776412591,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a710398"} 
[2026-04-17 13:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:28:56] 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-04-17 13:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 13:28: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-04-17 13:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.210","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761546240001,"66":25093,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.210","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761546240001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:28:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761546240001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":45799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:28:56] local.INFO: GPS data processed {"connection_id":45799,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:28:56] local.INFO: Acknowledgment sent {"connection_id":45799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:28:59] local.INFO: TCP Data received {"connection_id":45800,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45800,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:28:59] local.INFO: Processing buffer {"connection_id":45800,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:28:59] local.INFO: IMEI packet received {"connection_id":45800,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":45800,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:29:00] local.INFO: TCP Data received {"connection_id":45800,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:29:00] local.INFO: Processing buffer {"connection_id":45800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:29:00] local.INFO: Packet analysis {"connection_id":45800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6f"} 
[2026-04-17 13:29:00] local.INFO: Extracted packet for processing {"connection_id":45800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6f"} 
[2026-04-17 13:29:00] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761528576001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776412522000,"timestamp_ms":1776412522000,"timestamp_seconds":1776412522,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6ff610"} 
[2026-04-17 13:29:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:29:00] 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-04-17 13:29:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:29:00] 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-04-17 13: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-04-17 13:29:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761528576001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761528576001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:29:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:29:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761528576001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":45800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21485,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:29:00] local.INFO: GPS data processed {"connection_id":45800,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:29:00] local.INFO: Acknowledgment sent {"connection_id":45800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:29:04] local.INFO: TCP Data received {"connection_id":45800,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:29:04] local.INFO: Processing buffer {"connection_id":45800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:29:04] local.INFO: Packet analysis {"connection_id":45800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6f"} 
[2026-04-17 13:29:04] local.INFO: Extracted packet for processing {"connection_id":45800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6f"} 
[2026-04-17 13:29:04] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761528576001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776412522000,"timestamp_ms":1776412522000,"timestamp_seconds":1776412522,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6ff610"} 
[2026-04-17 13:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:29:04] 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-04-17 13:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:29:04] 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-04-17 13:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":45800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":45800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":45800,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761528576001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761528576001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:29:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:29:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761528576001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":45800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:29:04] local.INFO: GPS data processed {"connection_id":45800,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:29:04] local.INFO: Acknowledgment sent {"connection_id":45800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:29:05] local.INFO: TCP Data received {"connection_id":46096,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:29:05] local.INFO: Processing buffer {"connection_id":46096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:29:05] local.INFO: IMEI packet received {"connection_id":46096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":46096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:29:11] local.INFO: TCP Data received {"connection_id":46096,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:29:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46096,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:29:11] local.INFO: Processing buffer {"connection_id":46096,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:29:11] local.INFO: IMEI packet received {"connection_id":46096,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:29:11] local.INFO: IMEI acknowledgment sent {"connection_id":46096,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:29:13] local.INFO: TCP Data received {"connection_id":46096,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a716928012d4d3c80068643b0007400dc2f..."} 
[2026-04-17 13:29:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a716928012d4d3c80068643b0007400dc2f..."} 
[2026-04-17 13:29:13] local.INFO: Processing buffer {"connection_id":46096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a716928012d4d3c80068643b0007400dc2f..."} 
[2026-04-17 13:29:13] local.INFO: Packet analysis {"connection_id":46096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:29:13] local.INFO: Extracted packet for processing {"connection_id":46096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:29:13] local.INFO: GPS Element Parsed {"raw_longitude":760036480,"raw_latitude":109462448,"longitude_deg":76.003648,"latitude_deg":10.9462448,"altitude":116,"angle":220,"satellites":47,"speed":28,"hex_longitude":"2d4d3c80","hex_latitude":"068643b0","is_valid_coordinates":true} 
[2026-04-17 13:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:29:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:13] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,229,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:29:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776412617000,"timestamp_ms":1776412617000,"timestamp_seconds":1776412617,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a716928"} 
[2026-04-17 13:29:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:29:13] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:29:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:29:13] 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-04-17 13:29:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:29:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:29:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:29:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:29:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:29:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:29:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:29:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:29:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:29:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"229":206,"19":47872,"24":28,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16]} 
[2026-04-17 13:29:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:29:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:29:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:29:13] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-17 13:29:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:29:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:29:13] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_229":206,"unknown_19":47872,"ignition":28,"odometer":null}} 
[2026-04-17 13:29:13] local.INFO: DEBUG: GPS processor result {"connection_id":46096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21487,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:29:13] local.INFO: GPS data processed {"connection_id":46096,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:29:13] local.INFO: Acknowledgment sent {"connection_id":46096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:29:14] local.INFO: TCP Data received {"connection_id":46096,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a71bb30012d4d1180068611c0007700d921..."} 
[2026-04-17 13:29:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a71bb30012d4d1180068611c0007700d921..."} 
[2026-04-17 13:29:14] local.INFO: Processing buffer {"connection_id":46096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a71bb30012d4d1180068611c0007700d921..."} 
[2026-04-17 13:29:14] local.INFO: Packet analysis {"connection_id":46096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:29:14] local.INFO: Extracted packet for processing {"connection_id":46096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:29:14] local.INFO: GPS Element Parsed {"raw_longitude":760025472,"raw_latitude":109449664,"longitude_deg":76.0025472,"latitude_deg":10.9449664,"altitude":119,"angle":217,"satellites":33,"speed":34,"hex_longitude":"2d4d1180","hex_latitude":"068611c0","is_valid_coordinates":true} 
[2026-04-17 13:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:29:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761629952001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5565464005033832448,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:29:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776412638000,"timestamp_ms":1776412638000,"timestamp_seconds":1776412638,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a71bb30"} 
[2026-04-17 13:29:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:29:14] 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-04-17 13:29:14] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:29:14] 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-04-17 13:29:14] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:29:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:29:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:29:14] local.INFO: Teltonika packet parsed successfully {"connection_id":46096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:29:14] local.INFO: Passing IMEI to GPS processor {"connection_id":46096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:29:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":46096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:29:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:29:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:29:14] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:29:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761629952001,"66":28354,"229":206,"19":47872,"24":34,"16":106618783551979520,"45":5565464005033832448},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-04-17 13:29:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:29:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:29:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761629952001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:29:14] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-17 13:29:14] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:29:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:29:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":5565464005033832448,"description":"Unknown IO ID 45"} 
[2026-04-17 13:29:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761629952001,"power":28354,"unknown_229":206,"unknown_19":47872,"ignition":34,"odometer":null,"unknown_45":5565464005033832448}} 
[2026-04-17 13:29:14] local.INFO: DEBUG: GPS processor result {"connection_id":46096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21488,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:29:14] local.INFO: GPS data processed {"connection_id":46096,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:29:14] local.INFO: Acknowledgment sent {"connection_id":46096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:29:27] local.INFO: TCP Data received {"connection_id":45799,"ip":"42.106.6.210","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45799,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:29:27] local.INFO: Processing buffer {"connection_id":45799,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:29:27] local.INFO: Packet analysis {"connection_id":45799,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:29:27] local.INFO: Extracted packet for processing {"connection_id":45799,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:29:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761546240001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776412591000,"timestamp_ms":1776412591000,"timestamp_seconds":1776412591,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a710398"} 
[2026-04-17 13:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:29:27] 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-04-17 13: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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 13:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1021,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45799,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45799,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.210","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761546240001,"66":25093,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.210","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761546240001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:29:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:29:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761546240001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":45799,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:29:27] local.INFO: GPS data processed {"connection_id":45799,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:29:27] local.INFO: Acknowledgment sent {"connection_id":45799,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:29:50] local.INFO: TCP Data received {"connection_id":46664,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:29:50] local.INFO: Processing buffer {"connection_id":46664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:29:50] local.INFO: IMEI packet received {"connection_id":46664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":46664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:29:52] local.INFO: TCP Data received {"connection_id":46096,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a721120012d4ce0c00685da78007700dd2c..."} 
[2026-04-17 13:29:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a721120012d4ce0c00685da78007700dd2c..."} 
[2026-04-17 13:29:52] local.INFO: Processing buffer {"connection_id":46096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a721120012d4ce0c00685da78007700dd2c..."} 
[2026-04-17 13:29:52] local.INFO: Packet analysis {"connection_id":46096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a72"} 
[2026-04-17 13:29:52] local.INFO: Extracted packet for processing {"connection_id":46096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a72"} 
[2026-04-17 13:29:52] local.INFO: GPS Element Parsed {"raw_longitude":760012992,"raw_latitude":109435512,"longitude_deg":76.0012992,"latitude_deg":10.9435512,"altitude":119,"angle":221,"satellites":44,"speed":0,"hex_longitude":"2d4ce0c0","hex_latitude":"0685da78","is_valid_coordinates":true} 
[2026-04-17 13:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:29:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761635328001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5553360581032001536,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:29:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776412660000,"timestamp_ms":1776412660000,"timestamp_seconds":1776412660,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a721120"} 
[2026-04-17 13:29:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:29: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-04-17 13:29:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:29:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2494,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:29:52] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:29:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:29:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:29:52] local.INFO: Teltonika packet parsed successfully {"connection_id":46096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:29:52] local.INFO: Passing IMEI to GPS processor {"connection_id":46096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:29:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":46096,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:29:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:29:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:29:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:29:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761635328001,"66":28354,"229":206,"19":47872,"24":0,"16":106618783551979520,"45":5553360581032001536},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-04-17 13:29:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:29:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:29:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761635328001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:29:52] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-17 13:29:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:29:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:29:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":5553360581032001536,"description":"Unknown IO ID 45"} 
[2026-04-17 13:29:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761635328001,"power":28354,"unknown_229":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5553360581032001536}} 
[2026-04-17 13:29:52] local.INFO: DEBUG: GPS processor result {"connection_id":46096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21490,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:29:52] local.INFO: GPS data processed {"connection_id":46096,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:29:52] local.INFO: Acknowledgment sent {"connection_id":46096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:29:54] local.INFO: TCP Data received {"connection_id":46665,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:29:54] local.INFO: Processing buffer {"connection_id":46665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:29:54] local.INFO: IMEI packet received {"connection_id":46665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":46665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:29:56] local.INFO: TCP Data received {"connection_id":46664,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46664,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:29:56] local.INFO: Processing buffer {"connection_id":46664,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:29:56] local.INFO: IMEI packet received {"connection_id":46664,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":46664,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:29:56] local.INFO: TCP Data received {"connection_id":46664,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:29:56] local.INFO: Processing buffer {"connection_id":46664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:29:56] local.INFO: Packet analysis {"connection_id":46664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:29:56] local.INFO: Extracted packet for processing {"connection_id":46664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761546240001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776412591000,"timestamp_ms":1776412591000,"timestamp_seconds":1776412591,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a710398"} 
[2026-04-17 13:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:29:56] 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-04-17 13: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-04-17 13: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-04-17 13: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-04-17 13:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761546240001,"66":25093,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761546240001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:29:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761546240001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":46664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:29:57] local.INFO: GPS data processed {"connection_id":46664,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:29:57] local.INFO: Acknowledgment sent {"connection_id":46664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:29:59] local.INFO: TCP Data received {"connection_id":46665,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46665,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:29:59] local.INFO: Processing buffer {"connection_id":46665,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:29:59] local.INFO: IMEI packet received {"connection_id":46665,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:29:59] local.INFO: IMEI acknowledgment sent {"connection_id":46665,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:30:00] local.INFO: TCP Data received {"connection_id":46665,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:30:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:30:00] local.INFO: Processing buffer {"connection_id":46665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:30:00] local.INFO: Packet analysis {"connection_id":46665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6f"} 
[2026-04-17 13:30:00] local.INFO: Extracted packet for processing {"connection_id":46665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6f"} 
[2026-04-17 13:30:00] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:30:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761528576001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:30:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:30:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:30: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-04-17 13:30:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776412522000,"timestamp_ms":1776412522000,"timestamp_seconds":1776412522,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6ff610"} 
[2026-04-17 13:30:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:30:00] 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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:30:00] 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-04-17 13: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-04-17 13:30:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:30:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:30:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:30:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:30:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:30:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:30:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:30:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:30:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761528576001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:30:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:30:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:30:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761528576001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:30:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:30:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:30:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:30:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:30:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761528576001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:30:00] local.INFO: DEBUG: GPS processor result {"connection_id":46665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:30:00] local.INFO: GPS data processed {"connection_id":46665,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:30:00] local.INFO: Acknowledgment sent {"connection_id":46665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:30:05] local.INFO: TCP Data received {"connection_id":45887,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:30:05] local.INFO: Processing buffer {"connection_id":45887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:30:05] local.INFO: IMEI packet received {"connection_id":45887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:30:05] local.INFO: IMEI acknowledgment sent {"connection_id":45887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:30:07] local.INFO: TCP Data received {"connection_id":45887,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:30:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45887,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:30:07] local.INFO: Processing buffer {"connection_id":45887,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:30:07] local.INFO: IMEI packet received {"connection_id":45887,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:30:07] local.INFO: IMEI acknowledgment sent {"connection_id":45887,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:30:08] local.INFO: TCP Data received {"connection_id":45887,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a724bb8012d4cbd4006859740007000bb33..."} 
[2026-04-17 13:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a724bb8012d4cbd4006859740007000bb33..."} 
[2026-04-17 13:30:08] local.INFO: Processing buffer {"connection_id":45887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a724bb8012d4cbd4006859740007000bb33..."} 
[2026-04-17 13:30:08] local.INFO: Packet analysis {"connection_id":45887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a72"} 
[2026-04-17 13:30:08] local.INFO: Extracted packet for processing {"connection_id":45887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a72"} 
[2026-04-17 13:30:08] local.INFO: GPS Element Parsed {"raw_longitude":760003904,"raw_latitude":109418304,"longitude_deg":76.0003904,"latitude_deg":10.9418304,"altitude":112,"angle":187,"satellites":51,"speed":46,"hex_longitude":"2d4cbd40","hex_latitude":"06859740","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:30:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761640960001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:30:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:30:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5539638675913734144,"note":"Value kept but may cause issues"} 
[2026-04-17 13:30:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:30:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776412675000,"timestamp_ms":1776412675000,"timestamp_seconds":1776412675,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a724bb8"} 
[2026-04-17 13:30:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:30:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:30:08] 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-04-17 13: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-04-17 13:30:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:30:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:30:08] local.INFO: Teltonika packet parsed successfully {"connection_id":45887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:30:08] local.INFO: Passing IMEI to GPS processor {"connection_id":45887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:30:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":45887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:30:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:30:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:30:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:30:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761640960001,"66":28354,"229":206,"19":47872,"24":46,"16":106618783551979520,"45":5539638675913734144},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-04-17 13:30:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:30:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:30:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761640960001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:30:08] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-17 13:30:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:30:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:30:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5539638675913734144,"description":"Unknown IO ID 45"} 
[2026-04-17 13:30:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761640960001,"power":28354,"unknown_229":206,"unknown_19":47872,"ignition":46,"odometer":null,"unknown_45":5539638675913734144}} 
[2026-04-17 13:30:08] local.INFO: DEBUG: GPS processor result {"connection_id":45887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21493,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:30:08] local.INFO: GPS data processed {"connection_id":45887,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:30:08] local.INFO: Acknowledgment sent {"connection_id":45887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:30:28] local.INFO: TCP Data received {"connection_id":46664,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46664,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:30:28] local.INFO: Processing buffer {"connection_id":46664,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:30:28] local.INFO: Packet analysis {"connection_id":46664,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:30:28] local.INFO: Extracted packet for processing {"connection_id":46664,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:30:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761546240001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776412591000,"timestamp_ms":1776412591000,"timestamp_seconds":1776412591,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a710398"} 
[2026-04-17 13:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 13:30:28] 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-04-17 13:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46664,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46664,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761546240001,"66":25093,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761546240001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:30:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:30:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761546240001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":46664,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:30:28] local.INFO: GPS data processed {"connection_id":46664,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:30:28] local.INFO: Acknowledgment sent {"connection_id":46664,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:30:32] local.INFO: TCP Data received {"connection_id":46665,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46665,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:30:32] local.INFO: Processing buffer {"connection_id":46665,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:30:32] local.INFO: Packet analysis {"connection_id":46665,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6f"} 
[2026-04-17 13:30:32] local.INFO: Extracted packet for processing {"connection_id":46665,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6f"} 
[2026-04-17 13:30:32] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761528576001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776412522000,"timestamp_ms":1776412522000,"timestamp_seconds":1776412522,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6ff610"} 
[2026-04-17 13:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46665,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46665,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761528576001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761528576001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:30:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:30:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761528576001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":46665,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:30:32] local.INFO: GPS data processed {"connection_id":46665,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:30:32] local.INFO: Acknowledgment sent {"connection_id":46665,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:30:40] local.INFO: TCP Data received {"connection_id":45887,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a728e20012d4cd30006854808006b009b32..."} 
[2026-04-17 13:30:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a728e20012d4cd30006854808006b009b32..."} 
[2026-04-17 13:30:40] local.INFO: Processing buffer {"connection_id":45887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a728e20012d4cd30006854808006b009b32..."} 
[2026-04-17 13:30:40] local.INFO: Packet analysis {"connection_id":45887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a72"} 
[2026-04-17 13:30:40] local.INFO: Extracted packet for processing {"connection_id":45887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a72"} 
[2026-04-17 13:30:40] local.INFO: GPS Element Parsed {"raw_longitude":760009472,"raw_latitude":109398024,"longitude_deg":76.0009472,"latitude_deg":10.9398024,"altitude":107,"angle":155,"satellites":50,"speed":49,"hex_longitude":"2d4cd300","hex_latitude":"06854808","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:30:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761644800001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:30:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:30:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5529646314236100608,"note":"Value kept but may cause issues"} 
[2026-04-17 13:30:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:30:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776412692000,"timestamp_ms":1776412692000,"timestamp_seconds":1776412692,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a728e20"} 
[2026-04-17 13:30:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:30:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:30:40] 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-04-17 13: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-04-17 13:30:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:30:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:30:40] local.INFO: Teltonika packet parsed successfully {"connection_id":45887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:30:40] local.INFO: Passing IMEI to GPS processor {"connection_id":45887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:30:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":45887,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:30:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:30:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:30:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:30:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761644800001,"66":28191,"229":206,"19":47872,"24":49,"16":106618783551979520,"45":5529646314236100608},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-04-17 13:30:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:30:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:30:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761644800001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:30:40] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-17 13:30:40] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:30:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:30:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":5529646314236100608,"description":"Unknown IO ID 45"} 
[2026-04-17 13:30:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761644800001,"power":28191,"unknown_229":206,"unknown_19":47872,"ignition":49,"odometer":null,"unknown_45":5529646314236100608}} 
[2026-04-17 13:30:40] local.INFO: DEBUG: GPS processor result {"connection_id":45887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21496,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:30:40] local.INFO: GPS data processed {"connection_id":45887,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:30:40] local.INFO: Acknowledgment sent {"connection_id":45887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:30:49] local.INFO: TCP Data received {"connection_id":46097,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:30:49] local.INFO: Processing buffer {"connection_id":46097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:30:49] local.INFO: IMEI packet received {"connection_id":46097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":46097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:30:54] local.INFO: TCP Data received {"connection_id":46097,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:30:54] local.INFO: Processing buffer {"connection_id":46097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:30:54] local.INFO: IMEI packet received {"connection_id":46097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":46097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:30:55] local.INFO: TCP Data received {"connection_id":46097,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:30:55] local.INFO: Processing buffer {"connection_id":46097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a6ff610012d1974c0071fecd8003b011928..."} 
[2026-04-17 13:30:55] local.INFO: Packet analysis {"connection_id":46097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a6f"} 
[2026-04-17 13:30:55] local.INFO: Extracted packet for processing {"connection_id":46097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a6f"} 
[2026-04-17 13:30:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":40,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761528576001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13: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-04-17 13:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776412522000,"timestamp_ms":1776412522000,"timestamp_seconds":1776412522,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a6ff610"} 
[2026-04-17 13:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:30:55] 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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:30:55] 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-04-17 13: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-04-17 13:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761528576001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761528576001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:30:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:30:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761528576001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":46097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:30:55] local.INFO: GPS data processed {"connection_id":46097,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:30:55] local.INFO: Acknowledgment sent {"connection_id":46097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:30:55] local.INFO: TCP Data received {"connection_id":45888,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:30:55] local.INFO: Processing buffer {"connection_id":45888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:30:55] local.INFO: IMEI packet received {"connection_id":45888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":45888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:31:00] local.INFO: TCP Data received {"connection_id":45888,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:31:00] local.INFO: Processing buffer {"connection_id":45888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:31:00] local.INFO: IMEI packet received {"connection_id":45888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":45888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:31:01] local.INFO: TCP Data received {"connection_id":45888,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:31:01] local.INFO: Processing buffer {"connection_id":45888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:31:01] local.INFO: Packet analysis {"connection_id":45888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:31:01] local.INFO: Extracted packet for processing {"connection_id":45888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 13:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761546240001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776412591000,"timestamp_ms":1776412591000,"timestamp_seconds":1776412591,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a710398"} 
[2026-04-17 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-04-17 13:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 13:31:01] 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-04-17 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-04-17 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-04-17 13:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:31:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761546240001,"66":25093,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761546240001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:31:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761546240001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":45888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21498,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:31:01] local.INFO: GPS data processed {"connection_id":45888,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:31:01] local.INFO: Acknowledgment sent {"connection_id":45888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:31:04] local.INFO: TCP Data received {"connection_id":45889,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:31:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:31:04] local.INFO: Processing buffer {"connection_id":45889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:31:04] local.INFO: IMEI packet received {"connection_id":45889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:31:04] local.INFO: IMEI acknowledgment sent {"connection_id":45889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:31:09] local.INFO: TCP Data received {"connection_id":45889,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45889,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:31:09] local.INFO: Processing buffer {"connection_id":45889,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:31:09] local.INFO: IMEI packet received {"connection_id":45889,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":45889,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:31:11] local.INFO: TCP Data received {"connection_id":45889,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a72dc40012d4cf50006850080006c009b33..."} 
[2026-04-17 13:31:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a72dc40012d4cf50006850080006c009b33..."} 
[2026-04-17 13:31:11] local.INFO: Processing buffer {"connection_id":45889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a72dc40012d4cf50006850080006c009b33..."} 
[2026-04-17 13:31:11] local.INFO: Packet analysis {"connection_id":45889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a72"} 
[2026-04-17 13:31:11] local.INFO: Extracted packet for processing {"connection_id":45889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a72"} 
[2026-04-17 13:31:11] local.INFO: GPS Element Parsed {"raw_longitude":760018176,"raw_latitude":109379712,"longitude_deg":76.0018176,"latitude_deg":10.9379712,"altitude":108,"angle":155,"satellites":51,"speed":0,"hex_longitude":"2d4cf500","hex_latitude":"06850080","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:31:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761649152001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:31:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:31:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5535768394974365696,"note":"Value kept but may cause issues"} 
[2026-04-17 13:31:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,229,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:31:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776412712000,"timestamp_ms":1776412712000,"timestamp_seconds":1776412712,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a72dc40"} 
[2026-04-17 13:31:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:31:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 13:31:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1027,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:31:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:31:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:31:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:31:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:31:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:31:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:31:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:31:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:31:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761649152001,"66":28267,"229":206,"19":47872,"24":0,"16":106618783551979520,"45":5535768394974365696},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,229,19,24,16,45]} 
[2026-04-17 13:31:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:31:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:31:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761649152001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:31:11] local.INFO: Unknown IO ID detected {"io_id":229,"value":206,"description":"Unknown IO ID 229"} 
[2026-04-17 13:31:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:31:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:31:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5535768394974365696,"description":"Unknown IO ID 45"} 
[2026-04-17 13:31:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761649152001,"power":28267,"unknown_229":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5535768394974365696}} 
[2026-04-17 13:31:12] local.INFO: DEBUG: GPS processor result {"connection_id":45889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21499,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:31:12] local.INFO: GPS data processed {"connection_id":45889,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:31:12] local.INFO: Acknowledgment sent {"connection_id":45889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:31:26] local.INFO: TCP Data received {"connection_id":46097,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:31:26] local.INFO: Processing buffer {"connection_id":46097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:31:26] local.INFO: Packet analysis {"connection_id":46097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:31:26] local.INFO: Extracted packet for processing {"connection_id":46097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:31:26] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761605632001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13: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-04-17 13:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776412823000,"timestamp_ms":1776412823000,"timestamp_seconds":1776412823,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a748dd8"} 
[2026-04-17 13:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:31:26] 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-04-17 13: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-04-17 13: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-04-17 13: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-04-17 13:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761605632001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761605632001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:31:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:31:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761605632001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":46097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21500,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:31:27] local.INFO: GPS data processed {"connection_id":46097,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:31:27] local.INFO: Acknowledgment sent {"connection_id":46097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:31:32] local.INFO: TCP Data received {"connection_id":45888,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:31:32] local.INFO: Processing buffer {"connection_id":45888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:31:32] local.INFO: Packet analysis {"connection_id":45888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:31:32] local.INFO: Extracted packet for processing {"connection_id":45888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:31:32] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761546240001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776412591000,"timestamp_ms":1776412591000,"timestamp_seconds":1776412591,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a710398"} 
[2026-04-17 13:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 13:31: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-04-17 13:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761546240001,"66":25093,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761546240001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:31:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:31:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761546240001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":45888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:31:32] local.INFO: GPS data processed {"connection_id":45888,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:31:32] local.INFO: Acknowledgment sent {"connection_id":45888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:31:43] local.INFO: TCP Data received {"connection_id":45889,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7316d8012d4d1c800684c8b80070008632..."} 
[2026-04-17 13:31:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7316d8012d4d1c800684c8b80070008632..."} 
[2026-04-17 13:31:43] local.INFO: Processing buffer {"connection_id":45889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7316d8012d4d1c800684c8b80070008632..."} 
[2026-04-17 13:31:43] local.INFO: Packet analysis {"connection_id":45889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a73"} 
[2026-04-17 13:31:43] local.INFO: Extracted packet for processing {"connection_id":45889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a73"} 
[2026-04-17 13:31:43] local.INFO: GPS Element Parsed {"raw_longitude":760028288,"raw_latitude":109365432,"longitude_deg":76.0028288,"latitude_deg":10.9365432,"altitude":112,"angle":134,"satellites":50,"speed":33,"hex_longitude":"2d4d1c80","hex_latitude":"0684c8b8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:31:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761654272001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:31:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:31:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5545338544177840128,"note":"Value kept but may cause issues"} 
[2026-04-17 13:31:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:31:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776412727000,"timestamp_ms":1776412727000,"timestamp_seconds":1776412727,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7316d8"} 
[2026-04-17 13:31:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:31:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 13:31:43] 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-04-17 13: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-04-17 13:31:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:31:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:31:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:31:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:31:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45889,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:31:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:31:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:31:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:31:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761654272001,"66":28343,"227":206,"19":47872,"24":33,"16":106618783551979520,"45":5545338544177840128},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-04-17 13:31:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:31:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:31:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761654272001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:31:43] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-04-17 13:31:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:31:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:31:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5545338544177840128,"description":"Unknown IO ID 45"} 
[2026-04-17 13:31:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761654272001,"power":28343,"unknown_227":206,"unknown_19":47872,"ignition":33,"odometer":null,"unknown_45":5545338544177840128}} 
[2026-04-17 13:31:44] local.INFO: DEBUG: GPS processor result {"connection_id":45889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21502,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:31:44] local.INFO: GPS data processed {"connection_id":45889,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:31:44] local.INFO: Acknowledgment sent {"connection_id":45889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:31:51] local.INFO: TCP Data received {"connection_id":45801,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:31:51] local.INFO: Processing buffer {"connection_id":45801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:31:51] local.INFO: IMEI packet received {"connection_id":45801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":45801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:31:54] local.INFO: TCP Data received {"connection_id":45802,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:31:54] local.INFO: Processing buffer {"connection_id":45802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:31:54] local.INFO: IMEI packet received {"connection_id":45802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":45802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:31:56] local.INFO: TCP Data received {"connection_id":45801,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:31:56] local.INFO: Processing buffer {"connection_id":45801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:31:56] local.INFO: IMEI packet received {"connection_id":45801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":45801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:31:57] local.INFO: TCP Data received {"connection_id":45801,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:31:57] local.INFO: Processing buffer {"connection_id":45801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a710398012d7faa8005afd2f8000c00002f..."} 
[2026-04-17 13:31:57] local.INFO: Packet analysis {"connection_id":45801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:31:57] local.INFO: Extracted packet for processing {"connection_id":45801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a71"} 
[2026-04-17 13:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761546240001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776412591000,"timestamp_ms":1776412591000,"timestamp_seconds":1776412591,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a710398"} 
[2026-04-17 13:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 13:31:57] 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-04-17 13:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:31:57] 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-04-17 13:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761546240001,"66":25093,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761546240001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:31:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:31:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761546240001,"power":25093,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":45801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:31:57] local.INFO: GPS data processed {"connection_id":45801,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:31:57] local.INFO: Acknowledgment sent {"connection_id":45801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:31:59] local.INFO: TCP Data received {"connection_id":45802,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45802,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:31:59] local.INFO: Processing buffer {"connection_id":45802,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:31:59] local.INFO: IMEI packet received {"connection_id":45802,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:31:59] local.INFO: IMEI acknowledgment sent {"connection_id":45802,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:32:01] local.INFO: TCP Data received {"connection_id":45802,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:32:01] local.INFO: Processing buffer {"connection_id":45802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:32:01] local.INFO: Packet analysis {"connection_id":45802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:32:01] local.INFO: Extracted packet for processing {"connection_id":45802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:32:01] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761605632001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32: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-04-17 13:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776412823000,"timestamp_ms":1776412823000,"timestamp_seconds":1776412823,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a748dd8"} 
[2026-04-17 13:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:32:01] 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-04-17 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:32: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-04-17 13: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-04-17 13:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761605632001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761605632001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:32:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:32:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761605632001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":45802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:32:01] local.INFO: GPS data processed {"connection_id":45802,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:32:01] local.INFO: Acknowledgment sent {"connection_id":45802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:32:04] local.INFO: TCP Data received {"connection_id":45802,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:32:04] local.INFO: Processing buffer {"connection_id":45802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:32:04] local.INFO: Packet analysis {"connection_id":45802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:32:04] local.INFO: Extracted packet for processing {"connection_id":45802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:32:04] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 13:32:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761605632001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:32:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776412823000,"timestamp_ms":1776412823000,"timestamp_seconds":1776412823,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a748dd8"} 
[2026-04-17 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-04-17 13:32:04] 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-04-17 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:32:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 13:32:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:32:04] local.INFO: Teltonika packet parsed successfully {"connection_id":45802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:32:04] local.INFO: Passing IMEI to GPS processor {"connection_id":45802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:32:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":45802,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:32:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:32:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:32:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:32:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761605632001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:32:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:32:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:32:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761605632001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:32:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:32:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:32:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:32:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:32:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761605632001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:32:04] local.INFO: TCP Data received {"connection_id":46098,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:32:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:32:04] local.INFO: Processing buffer {"connection_id":46098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:32:04] local.INFO: IMEI packet received {"connection_id":46098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:32:04] local.INFO: IMEI acknowledgment sent {"connection_id":46098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:32:04] local.INFO: DEBUG: GPS processor result {"connection_id":45802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21505,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:32:04] local.INFO: GPS data processed {"connection_id":45802,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:32:04] local.INFO: Acknowledgment sent {"connection_id":45802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:32:06] local.INFO: TCP Data received {"connection_id":46098,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:32:06] local.INFO: Processing buffer {"connection_id":46098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:32:06] local.INFO: IMEI packet received {"connection_id":46098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:32:06] local.INFO: IMEI acknowledgment sent {"connection_id":46098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:32:09] local.INFO: TCP Data received {"connection_id":46098,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:32:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:32:09] local.INFO: Processing buffer {"connection_id":46098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:32:09] local.INFO: IMEI packet received {"connection_id":46098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:32:09] local.INFO: IMEI acknowledgment sent {"connection_id":46098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:32:10] local.INFO: TCP Data received {"connection_id":46098,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7368e0012d4d488006849e70007400802d..."} 
[2026-04-17 13:32:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7368e0012d4d488006849e70007400802d..."} 
[2026-04-17 13:32:10] local.INFO: Processing buffer {"connection_id":46098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7368e0012d4d488006849e70007400802d..."} 
[2026-04-17 13:32:10] local.INFO: Packet analysis {"connection_id":46098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a73"} 
[2026-04-17 13:32:10] local.INFO: Extracted packet for processing {"connection_id":46098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a73"} 
[2026-04-17 13:32:10] local.INFO: GPS Element Parsed {"raw_longitude":760039552,"raw_latitude":109354608,"longitude_deg":76.0039552,"latitude_deg":10.9354608,"altitude":116,"angle":128,"satellites":45,"speed":27,"hex_longitude":"2d4d4880","hex_latitude":"06849e70","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:32:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761658112001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5556456805754255360,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:32:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776412748000,"timestamp_ms":1776412748000,"timestamp_seconds":1776412748,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7368e0"} 
[2026-04-17 13:32:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:32:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-17 13:32:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2395,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:32:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:32:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:32:10] local.INFO: Teltonika packet parsed successfully {"connection_id":46098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:32:10] local.INFO: Passing IMEI to GPS processor {"connection_id":46098,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:32:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":46098,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:32:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:32:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:32:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:32:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761658112001,"66":28050,"227":206,"19":47872,"24":27,"16":106618783551979520,"45":5556456805754255360},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16,45]} 
[2026-04-17 13:32:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:32:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:32:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761658112001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:32:10] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-04-17 13:32:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:32:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:32:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5556456805754255360,"description":"Unknown IO ID 45"} 
[2026-04-17 13:32:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761658112001,"power":28050,"unknown_227":206,"unknown_19":47872,"ignition":27,"odometer":null,"unknown_45":5556456805754255360}} 
[2026-04-17 13:32:10] local.INFO: DEBUG: GPS processor result {"connection_id":46098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21506,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:32:10] local.INFO: GPS data processed {"connection_id":46098,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:32:10] local.INFO: Acknowledgment sent {"connection_id":46098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:32:27] local.INFO: TCP Data received {"connection_id":45801,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:32:27] local.INFO: Processing buffer {"connection_id":45801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:32:27] local.INFO: Packet analysis {"connection_id":45801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:32:27] local.INFO: Extracted packet for processing {"connection_id":45801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761623296001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776412892000,"timestamp_ms":1776412892000,"timestamp_seconds":1776412892,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a759b60"} 
[2026-04-17 13:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 13:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761623296001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761623296001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:32:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761623296001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":45801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:32:27] local.INFO: GPS data processed {"connection_id":45801,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:32:27] local.INFO: Acknowledgment sent {"connection_id":45801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:32:42] local.INFO: TCP Data received {"connection_id":46098,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7472800100000000000000000000000000..."} 
[2026-04-17 13:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7472800100000000000000000000000000..."} 
[2026-04-17 13:32:42] local.INFO: Processing buffer {"connection_id":46098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7472800100000000000000000000000000..."} 
[2026-04-17 13:32:42] local.INFO: Packet analysis {"connection_id":46098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:32:42] local.INFO: Extracted packet for processing {"connection_id":46098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:32:42] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 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-04-17 13:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761663488001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5568841704726753280,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776412816000,"timestamp_ms":1776412816000,"timestamp_seconds":1776412816,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a747280"} 
[2026-04-17 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-04-17 13:32:42] 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-04-17 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":109,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-17 13:32:42] 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-04-17 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-04-17 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-04-17 13:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":46098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":46098,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":46098,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":46098,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:32:42] local.INFO: GPS data processed {"connection_id":46098,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:32:42] local.INFO: Acknowledgment sent {"connection_id":46098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:32:50] local.INFO: TCP Data received {"connection_id":46099,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:32:50] local.INFO: Processing buffer {"connection_id":46099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:32:50] local.INFO: IMEI packet received {"connection_id":46099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":46099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:32:50] local.INFO: TCP Data received {"connection_id":46100,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:32:50] local.INFO: Processing buffer {"connection_id":46100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:32:50] local.INFO: IMEI packet received {"connection_id":46100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":46100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:32:54] local.INFO: TCP Data received {"connection_id":46099,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:32:54] local.INFO: Processing buffer {"connection_id":46099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:32:54] local.INFO: IMEI packet received {"connection_id":46099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":46099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:32:55] local.INFO: TCP Data received {"connection_id":46099,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:32:55] local.INFO: Processing buffer {"connection_id":46099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:32:55] local.INFO: Packet analysis {"connection_id":46099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:32:55] local.INFO: Extracted packet for processing {"connection_id":46099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:32:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761605632001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13: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-04-17 13:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776412823000,"timestamp_ms":1776412823000,"timestamp_seconds":1776412823,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a748dd8"} 
[2026-04-17 13:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:32:55] 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-04-17 13: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-04-17 13: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-04-17 13: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-04-17 13:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761605632001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761605632001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:32:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:32:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761605632001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":46099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:32:55] local.INFO: GPS data processed {"connection_id":46099,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:32:55] local.INFO: Acknowledgment sent {"connection_id":46099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:32:56] local.INFO: TCP Data received {"connection_id":46100,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:32:56] local.INFO: Processing buffer {"connection_id":46100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:32:56] local.INFO: IMEI packet received {"connection_id":46100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":46100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:32:57] local.INFO: TCP Data received {"connection_id":46100,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:32:57] local.INFO: Processing buffer {"connection_id":46100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:32:57] local.INFO: Packet analysis {"connection_id":46100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:32:57] local.INFO: Extracted packet for processing {"connection_id":46100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:32:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761623296001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776412892000,"timestamp_ms":1776412892000,"timestamp_seconds":1776412892,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a759b60"} 
[2026-04-17 13:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 13:32:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:32:57] 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-04-17 13:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761623296001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761623296001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:32:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761623296001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":46100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:32:57] local.INFO: GPS data processed {"connection_id":46100,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:32:57] local.INFO: Acknowledgment sent {"connection_id":46100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:32:59] local.INFO: TCP Data received {"connection_id":46099,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:32:59] local.INFO: Processing buffer {"connection_id":46099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:32:59] local.INFO: Packet analysis {"connection_id":46099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:32:59] local.INFO: Extracted packet for processing {"connection_id":46099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:32:59] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761605632001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:32: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-04-17 13:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776412823000,"timestamp_ms":1776412823000,"timestamp_seconds":1776412823,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a748dd8"} 
[2026-04-17 13:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:32:59] 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-04-17 13:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:32: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-04-17 13:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761605632001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761605632001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:32:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:32:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761605632001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":46099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:32:59] local.INFO: GPS data processed {"connection_id":46099,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:32:59] local.INFO: Acknowledgment sent {"connection_id":46099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:33:11] local.INFO: TCP Data received {"connection_id":45803,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:33:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:33:11] local.INFO: Processing buffer {"connection_id":45803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:33:11] local.INFO: IMEI packet received {"connection_id":45803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:33:11] local.INFO: IMEI acknowledgment sent {"connection_id":45803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:33:13] local.INFO: TCP Data received {"connection_id":45803,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:33:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:33:13] local.INFO: Processing buffer {"connection_id":45803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:33:13] local.INFO: IMEI packet received {"connection_id":45803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:33:13] local.INFO: IMEI acknowledgment sent {"connection_id":45803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:33:14] local.INFO: TCP Data received {"connection_id":45803,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:33:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45803,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:33:14] local.INFO: Processing buffer {"connection_id":45803,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:33:14] local.INFO: IMEI packet received {"connection_id":45803,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:33:14] local.INFO: IMEI acknowledgment sent {"connection_id":45803,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:33:16] local.INFO: TCP Data received {"connection_id":45803,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a73c2b8012d4d7c40068486880077006423..."} 
[2026-04-17 13:33:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a73c2b8012d4d7c40068486880077006423..."} 
[2026-04-17 13:33:16] local.INFO: Processing buffer {"connection_id":45803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a73c2b8012d4d7c40068486880077006423..."} 
[2026-04-17 13:33:16] local.INFO: Packet analysis {"connection_id":45803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a73"} 
[2026-04-17 13:33:16] local.INFO: Extracted packet for processing {"connection_id":45803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a73"} 
[2026-04-17 13:33:16] local.INFO: GPS Element Parsed {"raw_longitude":760052800,"raw_latitude":109348488,"longitude_deg":76.00528,"latitude_deg":10.9348488,"altitude":119,"angle":100,"satellites":35,"speed":24,"hex_longitude":"2d4d7c40","hex_latitude":"06848688","is_valid_coordinates":true} 
[2026-04-17 13:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:33:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:33:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,227,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:33:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776412771000,"timestamp_ms":1776412771000,"timestamp_seconds":1776412771,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a73c2b8"} 
[2026-04-17 13:33:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:33:16] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:33:16] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 13:33:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:33:16] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:33:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:33:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:33:16] local.INFO: Teltonika packet parsed successfully {"connection_id":45803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:33:16] local.INFO: Passing IMEI to GPS processor {"connection_id":45803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:33:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":45803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:33:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:33:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:33:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:33:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"227":206,"19":47872,"24":24,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,19,24,16]} 
[2026-04-17 13:33:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:33:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:33:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:33:16] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-04-17 13:33:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:33:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:33:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_227":206,"unknown_19":47872,"ignition":24,"odometer":null}} 
[2026-04-17 13:33:16] local.INFO: DEBUG: GPS processor result {"connection_id":45803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21511,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:33:16] local.INFO: GPS data processed {"connection_id":45803,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:33:16] local.INFO: Acknowledgment sent {"connection_id":45803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:33:21] local.INFO: TCP Data received {"connection_id":45803,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a74cc580100000000000000000000000000..."} 
[2026-04-17 13:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a74cc580100000000000000000000000000..."} 
[2026-04-17 13:33:21] local.INFO: Processing buffer {"connection_id":45803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a74cc580100000000000000000000000000..."} 
[2026-04-17 13:33:21] local.INFO: Packet analysis {"connection_id":45803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:33:21] local.INFO: Extracted packet for processing {"connection_id":45803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13: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-04-17 13: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-04-17 13:33:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761669376001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:33:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:33:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5583408034769963008,"note":"Value kept but may cause issues"} 
[2026-04-17 13:33:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:33:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776412839000,"timestamp_ms":1776412839000,"timestamp_seconds":1776412839,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a74cc58"} 
[2026-04-17 13:33:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:33: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-04-17 13: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:33:21] 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-04-17 13: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-04-17 13:33:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:33:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:33:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:33:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:33:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45803,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:33:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:33:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:33:21] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:33:21] local.INFO: DEBUG: GPS processor result {"connection_id":45803,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:33:21] local.INFO: GPS data processed {"connection_id":45803,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:33:21] local.INFO: Acknowledgment sent {"connection_id":45803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:33:28] local.INFO: TCP Data received {"connection_id":46100,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:33:28] local.INFO: Processing buffer {"connection_id":46100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:33:28] local.INFO: Packet analysis {"connection_id":46100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:33:28] local.INFO: Extracted packet for processing {"connection_id":46100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:33:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761623296001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776412892000,"timestamp_ms":1776412892000,"timestamp_seconds":1776412892,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a759b60"} 
[2026-04-17 13:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 13:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761623296001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761623296001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:33:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761623296001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":46100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:33:28] local.INFO: GPS data processed {"connection_id":46100,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:33:28] local.INFO: Acknowledgment sent {"connection_id":46100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:33:31] local.INFO: TCP Data received {"connection_id":46099,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:33:31] local.INFO: Processing buffer {"connection_id":46099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:33:31] local.INFO: Packet analysis {"connection_id":46099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:33:31] local.INFO: Extracted packet for processing {"connection_id":46099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:33:31] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761605632001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776412823000,"timestamp_ms":1776412823000,"timestamp_seconds":1776412823,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a748dd8"} 
[2026-04-17 13:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:33:31] 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-04-17 13:33:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:33:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:33:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:33:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761605632001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761605632001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:33:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:33:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761605632001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":46099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21513,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:33:31] local.INFO: GPS data processed {"connection_id":46099,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:33:31] local.INFO: Acknowledgment sent {"connection_id":46099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:33:49] local.INFO: TCP Data received {"connection_id":46101,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:33:49] local.INFO: Processing buffer {"connection_id":46101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:33:49] local.INFO: IMEI packet received {"connection_id":46101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":46101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:33:50] local.INFO: TCP Data received {"connection_id":45890,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:33:50] local.INFO: Processing buffer {"connection_id":45890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:33:50] local.INFO: IMEI packet received {"connection_id":45890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":45890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:33:54] local.INFO: TCP Data received {"connection_id":46101,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:33:54] local.INFO: Processing buffer {"connection_id":46101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:33:54] local.INFO: IMEI packet received {"connection_id":46101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":46101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:33:55] local.INFO: TCP Data received {"connection_id":46101,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:33:55] local.INFO: Processing buffer {"connection_id":46101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:33:55] local.INFO: Packet analysis {"connection_id":46101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:33:55] local.INFO: Extracted packet for processing {"connection_id":46101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:33:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761605632001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:33: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-04-17 13:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776412823000,"timestamp_ms":1776412823000,"timestamp_seconds":1776412823,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a748dd8"} 
[2026-04-17 13:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:33:55] 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-04-17 13:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:33: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-04-17 13:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761605632001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761605632001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:33:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:33:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761605632001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":46101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:33:55] local.INFO: GPS data processed {"connection_id":46101,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:33:55] local.INFO: Acknowledgment sent {"connection_id":46101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:33:56] local.INFO: TCP Data received {"connection_id":45890,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:33:56] local.INFO: Processing buffer {"connection_id":45890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:33:56] local.INFO: IMEI packet received {"connection_id":45890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":45890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:33:57] local.INFO: TCP Data received {"connection_id":45890,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:33:57] local.INFO: Processing buffer {"connection_id":45890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:33:57] local.INFO: Packet analysis {"connection_id":45890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:33:57] local.INFO: Extracted packet for processing {"connection_id":45890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:33:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761623296001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:33:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776412892000,"timestamp_ms":1776412892000,"timestamp_seconds":1776412892,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a759b60"} 
[2026-04-17 13:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:33:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 13:33:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:33:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761623296001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761623296001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:33:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:33:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761623296001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":45890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:33:57] local.INFO: GPS data processed {"connection_id":45890,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:33:57] local.INFO: Acknowledgment sent {"connection_id":45890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:34:05] local.INFO: TCP Data received {"connection_id":46102,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:34:05] local.INFO: Processing buffer {"connection_id":46102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:34:05] local.INFO: IMEI packet received {"connection_id":46102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:34:05] local.INFO: IMEI acknowledgment sent {"connection_id":46102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:34:10] local.INFO: TCP Data received {"connection_id":46102,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:34:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46102,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:34:10] local.INFO: Processing buffer {"connection_id":46102,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:34:10] local.INFO: IMEI packet received {"connection_id":46102,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:34:10] local.INFO: IMEI acknowledgment sent {"connection_id":46102,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:34:11] local.INFO: TCP Data received {"connection_id":46102,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a76d7c8012d4fee000683a6180087006231..."} 
[2026-04-17 13:34:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a76d7c8012d4fee000683a6180087006231..."} 
[2026-04-17 13:34:11] local.INFO: Processing buffer {"connection_id":46102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a76d7c8012d4fee000683a6180087006231..."} 
[2026-04-17 13:34:11] local.INFO: Packet analysis {"connection_id":46102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a76"} 
[2026-04-17 13:34:11] local.INFO: Extracted packet for processing {"connection_id":46102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a76"} 
[2026-04-17 13:34:11] local.INFO: GPS Element Parsed {"raw_longitude":760212992,"raw_latitude":109291032,"longitude_deg":76.0212992,"latitude_deg":10.9291032,"altitude":135,"angle":98,"satellites":49,"speed":24,"hex_longitude":"2d4fee00","hex_latitude":"0683a618","is_valid_coordinates":true} 
[2026-04-17 13:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:34:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:34:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,251,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:34:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776412973000,"timestamp_ms":1776412973000,"timestamp_seconds":1776412973,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a76d7c8"} 
[2026-04-17 13:34:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:34:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:34:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:34: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-04-17 13:34:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:34:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:34:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:34:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:34:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:34:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:34:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:34:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:34:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:34:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"251":206,"19":47872,"24":24,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16]} 
[2026-04-17 13:34:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:34:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:34:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:34:11] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-17 13:34:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:34:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:34:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_251":206,"unknown_19":47872,"ignition":24,"odometer":null}} 
[2026-04-17 13:34:11] local.INFO: DEBUG: GPS processor result {"connection_id":46102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21516,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:34:11] local.INFO: GPS data processed {"connection_id":46102,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:34:11] local.INFO: Acknowledgment sent {"connection_id":46102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:34:15] local.INFO: TCP Data received {"connection_id":46102,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a77dd800100000000000000000000000000..."} 
[2026-04-17 13:34:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a77dd800100000000000000000000000000..."} 
[2026-04-17 13:34:15] local.INFO: Processing buffer {"connection_id":46102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a77dd800100000000000000000000000000..."} 
[2026-04-17 13:34:15] local.INFO: Packet analysis {"connection_id":46102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a77"} 
[2026-04-17 13:34:15] local.INFO: Extracted packet for processing {"connection_id":46102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a77"} 
[2026-04-17 13:34: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-04-17 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-04-17 13:34:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761721088001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:34:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:34:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5759541001431947264,"note":"Value kept but may cause issues"} 
[2026-04-17 13:34:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,251,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:34:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776413040000,"timestamp_ms":1776413040000,"timestamp_seconds":1776413040,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a77dd80"} 
[2026-04-17 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-04-17 13:34: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-04-17 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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:34:15] 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-04-17 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-04-17 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-04-17 13:34:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:34:15] local.INFO: Teltonika packet parsed successfully {"connection_id":46102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:34:15] local.INFO: Passing IMEI to GPS processor {"connection_id":46102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:34:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":46102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:34:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:34:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:34:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:34:15] local.INFO: DEBUG: GPS processor result {"connection_id":46102,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:34:15] local.INFO: GPS data processed {"connection_id":46102,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:34:15] local.INFO: Acknowledgment sent {"connection_id":46102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:34:27] local.INFO: TCP Data received {"connection_id":46101,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:34:27] local.INFO: Processing buffer {"connection_id":46101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:34:27] local.INFO: Packet analysis {"connection_id":46101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:34:27] local.INFO: Extracted packet for processing {"connection_id":46101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761605632001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:34: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-04-17 13:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776412823000,"timestamp_ms":1776412823000,"timestamp_seconds":1776412823,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a748dd8"} 
[2026-04-17 13:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:34:27] 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-04-17 13:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:34: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-04-17 13:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761605632001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761605632001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:34:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:34:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761605632001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":46101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21517,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:34:27] local.INFO: GPS data processed {"connection_id":46101,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:34:27] local.INFO: Acknowledgment sent {"connection_id":46101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:34:28] local.INFO: TCP Data received {"connection_id":45890,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:34:28] local.INFO: Processing buffer {"connection_id":45890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:34:28] local.INFO: Packet analysis {"connection_id":45890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:34:28] local.INFO: Extracted packet for processing {"connection_id":45890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:34:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761623296001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776412892000,"timestamp_ms":1776412892000,"timestamp_seconds":1776412892,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a759b60"} 
[2026-04-17 13:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 13:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761623296001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761623296001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:34:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761623296001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":45890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:34:28] local.INFO: GPS data processed {"connection_id":45890,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:34:28] local.INFO: Acknowledgment sent {"connection_id":45890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:34:46] local.INFO: TCP Data received {"connection_id":46102,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a773970012d50234006839e88008b006332..."} 
[2026-04-17 13:34:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46102,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a773970012d50234006839e88008b006332..."} 
[2026-04-17 13:34:46] local.INFO: Processing buffer {"connection_id":46102,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a773970012d50234006839e88008b006332..."} 
[2026-04-17 13:34:46] local.INFO: Packet analysis {"connection_id":46102,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a77"} 
[2026-04-17 13:34:46] local.INFO: Extracted packet for processing {"connection_id":46102,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a77"} 
[2026-04-17 13:34:46] local.INFO: GPS Element Parsed {"raw_longitude":760226624,"raw_latitude":109289096,"longitude_deg":76.0226624,"latitude_deg":10.9289096,"altitude":139,"angle":99,"satellites":50,"speed":0,"hex_longitude":"2d502340","hex_latitude":"06839e88","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:34:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:34:46] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,251,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:34:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776412998000,"timestamp_ms":1776412998000,"timestamp_seconds":1776412998,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a773970"} 
[2026-04-17 13:34:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:34:46] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:34:46] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":183,"data_length":795,"current_offset":136} 
[2026-04-17 13:34:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2395,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:34:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:34:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:34:46] local.INFO: Teltonika packet parsed successfully {"connection_id":46102,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:34:46] local.INFO: Passing IMEI to GPS processor {"connection_id":46102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:34:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":46102,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:34:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:34:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:34:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:34:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28354,"251":206,"19":47872,"24":0,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,251,19,24,16]} 
[2026-04-17 13:34:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:34:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:34:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:34:46] local.INFO: Unknown IO ID detected {"io_id":251,"value":206,"description":"Unknown IO ID 251"} 
[2026-04-17 13:34:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:34:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:34:46] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28354,"unknown_251":206,"unknown_19":47872,"ignition":0,"odometer":null}} 
[2026-04-17 13:34:46] local.INFO: DEBUG: GPS processor result {"connection_id":46102,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21519,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:34:46] local.INFO: GPS data processed {"connection_id":46102,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:34:46] local.INFO: Acknowledgment sent {"connection_id":46102,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:34:49] local.INFO: TCP Data received {"connection_id":45891,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:34:49] local.INFO: Processing buffer {"connection_id":45891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:34:49] local.INFO: IMEI packet received {"connection_id":45891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":45891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:34:53] local.INFO: TCP Data received {"connection_id":45891,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:34:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45891,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:34:53] local.INFO: Processing buffer {"connection_id":45891,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:34:53] local.INFO: IMEI packet received {"connection_id":45891,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:34:53] local.INFO: IMEI acknowledgment sent {"connection_id":45891,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:34:55] local.INFO: TCP Data received {"connection_id":45891,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:34:55] local.INFO: Processing buffer {"connection_id":45891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:34:55] local.INFO: Packet analysis {"connection_id":45891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:34:55] local.INFO: Extracted packet for processing {"connection_id":45891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:34:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:34:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761605632001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:34:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:34:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:34: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-04-17 13:34:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776412823000,"timestamp_ms":1776412823000,"timestamp_seconds":1776412823,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a748dd8"} 
[2026-04-17 13:34:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:34:55] 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-04-17 13:34:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:34: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-04-17 13:34:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:34:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:34:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:34:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:34:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:34:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:34:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:34:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:34:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:34:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761605632001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:34:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:34:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:34:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761605632001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:34:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:34:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:34:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:34:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:34:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761605632001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:34:55] local.INFO: DEBUG: GPS processor result {"connection_id":45891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21520,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:34:55] local.INFO: GPS data processed {"connection_id":45891,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:34:55] local.INFO: Acknowledgment sent {"connection_id":45891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:34:55] local.INFO: TCP Data received {"connection_id":46666,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:34:55] local.INFO: Processing buffer {"connection_id":46666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:34:55] local.INFO: IMEI packet received {"connection_id":46666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":46666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:35:01] local.INFO: TCP Data received {"connection_id":46666,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46666,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:35:01] local.INFO: Processing buffer {"connection_id":46666,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:35:01] local.INFO: IMEI packet received {"connection_id":46666,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:35:01] local.INFO: IMEI acknowledgment sent {"connection_id":46666,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:35:02] local.INFO: TCP Data received {"connection_id":46666,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:35:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:35:02] local.INFO: Processing buffer {"connection_id":46666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:35:02] local.INFO: Packet analysis {"connection_id":46666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:35:02] local.INFO: Extracted packet for processing {"connection_id":46666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:35:02] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:35:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761623296001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:35:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776412892000,"timestamp_ms":1776412892000,"timestamp_seconds":1776412892,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a759b60"} 
[2026-04-17 13:35:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:35:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:35:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 13:35:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:35:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:35:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:35:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:35:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:35:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:35:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:35:02] 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-04-17 13:35:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:35:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:35:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761623296001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:35:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:35:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:35:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761623296001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:35:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:35:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:35:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:35:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:35:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761623296001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:35:02] local.INFO: DEBUG: GPS processor result {"connection_id":46666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:35:02] local.INFO: GPS data processed {"connection_id":46666,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:35:02] local.INFO: Acknowledgment sent {"connection_id":46666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:35:05] local.INFO: TCP Data received {"connection_id":46667,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:35:05] local.INFO: Processing buffer {"connection_id":46667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:35:05] local.INFO: IMEI packet received {"connection_id":46667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":46667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:35:05] local.INFO: TCP Data received {"connection_id":46667,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:35:05] local.INFO: Processing buffer {"connection_id":46667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:35:05] local.INFO: IMEI packet received {"connection_id":46667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:35:05] local.INFO: IMEI acknowledgment sent {"connection_id":46667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:35:06] local.INFO: TCP Data received {"connection_id":46666,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:35:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46666,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:35:06] local.INFO: Processing buffer {"connection_id":46666,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:35:06] local.INFO: Packet analysis {"connection_id":46666,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:35:06] local.INFO: Extracted packet for processing {"connection_id":46666,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:35:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:35:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761623296001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:35:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776412892000,"timestamp_ms":1776412892000,"timestamp_seconds":1776412892,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a759b60"} 
[2026-04-17 13:35:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:35:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 13:35:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:35:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:35:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:35:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46666,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:35:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:35:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46666,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:35:06] 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-04-17 13:35:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:35:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:35:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761623296001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:35:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:35:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:35:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761623296001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:35:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:35:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:35:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:35:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:35:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761623296001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:35:06] local.INFO: DEBUG: GPS processor result {"connection_id":46666,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:35:06] local.INFO: GPS data processed {"connection_id":46666,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:35:06] local.INFO: Acknowledgment sent {"connection_id":46666,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:35:10] local.INFO: TCP Data received {"connection_id":46667,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:35:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46667,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:35:10] local.INFO: Processing buffer {"connection_id":46667,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:35:10] local.INFO: IMEI packet received {"connection_id":46667,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:35:10] local.INFO: IMEI acknowledgment sent {"connection_id":46667,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:35:11] local.INFO: TCP Data received {"connection_id":46667,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a783f280100000000000000000000000000..."} 
[2026-04-17 13:35:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a783f280100000000000000000000000000..."} 
[2026-04-17 13:35:11] local.INFO: Processing buffer {"connection_id":46667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a783f280100000000000000000000000000..."} 
[2026-04-17 13:35:11] local.INFO: Packet analysis {"connection_id":46667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a78"} 
[2026-04-17 13:35:11] local.INFO: Extracted packet for processing {"connection_id":46667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a78"} 
[2026-04-17 13: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-04-17 13: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-04-17 13:35:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761727488001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5774529543941294080,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:11] 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-04-17 13:35:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776413065000,"timestamp_ms":1776413065000,"timestamp_seconds":1776413065,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a783f28"} 
[2026-04-17 13:35:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:35:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:35: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-04-17 13: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-04-17 13:35:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:35:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:35:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:35:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:35:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:35:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:35:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:35:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:35:11] local.INFO: DEBUG: GPS processor result {"connection_id":46667,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:35:11] local.INFO: GPS data processed {"connection_id":46667,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:35:11] local.INFO: Acknowledgment sent {"connection_id":46667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:35:16] local.INFO: TCP Data received {"connection_id":46667,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a779b18012d505c0006839670008e006230..."} 
[2026-04-17 13:35:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a779b18012d505c0006839670008e006230..."} 
[2026-04-17 13:35:16] local.INFO: Processing buffer {"connection_id":46667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a779b18012d505c0006839670008e006230..."} 
[2026-04-17 13:35:16] local.INFO: Packet analysis {"connection_id":46667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a77"} 
[2026-04-17 13:35:16] local.INFO: Extracted packet for processing {"connection_id":46667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a77"} 
[2026-04-17 13:35:16] local.INFO: GPS Element Parsed {"raw_longitude":760241152,"raw_latitude":109287024,"longitude_deg":76.0241152,"latitude_deg":10.9287024,"altitude":142,"angle":98,"satellites":48,"speed":25,"hex_longitude":"2d505c00","hex_latitude":"06839670","is_valid_coordinates":true} 
[2026-04-17 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-04-17 13:35:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:16] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,250,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:35:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776413023000,"timestamp_ms":1776413023000,"timestamp_seconds":1776413023,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a779b18"} 
[2026-04-17 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-04-17 13:35:16] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:35:16] 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-04-17 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-04-17 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-04-17 13:35:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:35:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:35:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:35:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:35:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:35:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:35:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:35:16] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28234,"250":206,"19":47872,"24":25,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16]} 
[2026-04-17 13:35:16] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:35:16] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:35:16] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:35:16] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:35:16] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:35:16] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:35:16] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28234,"unknown_250":206,"unknown_19":47872,"ignition":25,"odometer":null}} 
[2026-04-17 13:35:16] local.INFO: DEBUG: GPS processor result {"connection_id":46667,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21523,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:35:16] local.INFO: GPS data processed {"connection_id":46667,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:35:16] local.INFO: Acknowledgment sent {"connection_id":46667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:35:27] local.INFO: TCP Data received {"connection_id":45891,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45891,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:35:27] local.INFO: Processing buffer {"connection_id":45891,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:35:27] local.INFO: Packet analysis {"connection_id":45891,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:35:27] local.INFO: Extracted packet for processing {"connection_id":45891,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:35:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761605632001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13: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-04-17 13:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776412823000,"timestamp_ms":1776412823000,"timestamp_seconds":1776412823,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a748dd8"} 
[2026-04-17 13:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:35:27] 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-04-17 13: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-04-17 13: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-04-17 13: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-04-17 13:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45891,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45891,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761605632001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761605632001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:35:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:35:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761605632001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":45891,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21524,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:35:27] local.INFO: GPS data processed {"connection_id":45891,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:35:27] local.INFO: Acknowledgment sent {"connection_id":45891,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:35:47] local.INFO: TCP Data received {"connection_id":46667,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a78a4b80100000000000000000000000000..."} 
[2026-04-17 13:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46667,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a78a4b80100000000000000000000000000..."} 
[2026-04-17 13:35:47] local.INFO: Processing buffer {"connection_id":46667,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a78a4b80100000000000000000000000000..."} 
[2026-04-17 13:35:47] local.INFO: Packet analysis {"connection_id":46667,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a78"} 
[2026-04-17 13:35:47] local.INFO: Extracted packet for processing {"connection_id":46667,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a78"} 
[2026-04-17 13:35: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-04-17 13: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-04-17 13:35:47] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761733888001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:47] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5790503248869093376,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:47] 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-04-17 13:35:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776413091000,"timestamp_ms":1776413091000,"timestamp_seconds":1776413091,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a78a4b8"} 
[2026-04-17 13:35:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:35:47] 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-04-17 13: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":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-04-17 13:35:47] 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-04-17 13: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-04-17 13:35:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:35:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:35:47] local.INFO: Teltonika packet parsed successfully {"connection_id":46667,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:35:47] local.INFO: Passing IMEI to GPS processor {"connection_id":46667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:35:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":46667,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:35:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:35:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:35:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:35:47] local.INFO: DEBUG: GPS processor result {"connection_id":46667,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:35:47] local.INFO: GPS data processed {"connection_id":46667,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:35:47] local.INFO: Acknowledgment sent {"connection_id":46667,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:35:48] local.INFO: TCP Data received {"connection_id":45805,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:35:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:35:48] local.INFO: Processing buffer {"connection_id":45805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:35:48] local.INFO: IMEI packet received {"connection_id":45805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:35:48] local.INFO: IMEI acknowledgment sent {"connection_id":45805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:35:51] local.INFO: TCP Data received {"connection_id":45804,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:35:51] local.INFO: Processing buffer {"connection_id":45804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:35:51] local.INFO: IMEI packet received {"connection_id":45804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":45804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:35:53] local.INFO: TCP Data received {"connection_id":45805,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45805,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:35:53] local.INFO: Processing buffer {"connection_id":45805,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:35:53] local.INFO: IMEI packet received {"connection_id":45805,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":45805,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:35:55] local.INFO: TCP Data received {"connection_id":45805,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:35:55] local.INFO: Processing buffer {"connection_id":45805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a748dd8012d1974c0071fecd8003b011927..."} 
[2026-04-17 13:35:55] local.INFO: Packet analysis {"connection_id":45805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:35:55] local.INFO: Extracted packet for processing {"connection_id":45805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a74"} 
[2026-04-17 13:35:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":39,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:35:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761605632001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35: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-04-17 13:35:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776412823000,"timestamp_ms":1776412823000,"timestamp_seconds":1776412823,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a748dd8"} 
[2026-04-17 13:35:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:35:55] 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-04-17 13:35:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:35: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-04-17 13:35:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:35:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:35:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:35:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:35:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:35:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:35:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:35:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:35:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:35:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761605632001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:35:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:35:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:35:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761605632001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:35:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:35:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:35:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:35:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:35:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761605632001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:35:55] local.INFO: DEBUG: GPS processor result {"connection_id":45805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:35:55] local.INFO: GPS data processed {"connection_id":45805,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:35:55] local.INFO: Acknowledgment sent {"connection_id":45805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:35:56] local.INFO: TCP Data received {"connection_id":45804,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:35:56] local.INFO: Processing buffer {"connection_id":45804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:35:56] local.INFO: IMEI packet received {"connection_id":45804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":45804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:35:56] local.INFO: TCP Data received {"connection_id":45804,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:35:56] local.INFO: Processing buffer {"connection_id":45804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:35:56] local.INFO: Packet analysis {"connection_id":45804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:35:56] local.INFO: Extracted packet for processing {"connection_id":45804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761623296001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776412892000,"timestamp_ms":1776412892000,"timestamp_seconds":1776412892,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a759b60"} 
[2026-04-17 13:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 13:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761623296001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761623296001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:35:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761623296001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":45804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:35:56] local.INFO: GPS data processed {"connection_id":45804,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:35:56] local.INFO: Acknowledgment sent {"connection_id":45804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:36:04] local.INFO: TCP Data received {"connection_id":45806,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:36:04] local.INFO: Processing buffer {"connection_id":45806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:36:04] local.INFO: IMEI packet received {"connection_id":45806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":45806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:36:10] local.INFO: TCP Data received {"connection_id":45806,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:36:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45806,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:36:10] local.INFO: Processing buffer {"connection_id":45806,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:36:10] local.INFO: IMEI packet received {"connection_id":45806,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:36:10] local.INFO: IMEI acknowledgment sent {"connection_id":45806,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:36:11] local.INFO: TCP Data received {"connection_id":45806,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a77f108012d509bc006838d100090006332..."} 
[2026-04-17 13:36:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a77f108012d509bc006838d100090006332..."} 
[2026-04-17 13:36:11] local.INFO: Processing buffer {"connection_id":45806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a77f108012d509bc006838d100090006332..."} 
[2026-04-17 13:36:11] local.INFO: Packet analysis {"connection_id":45806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a77"} 
[2026-04-17 13:36:11] local.INFO: Extracted packet for processing {"connection_id":45806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a77"} 
[2026-04-17 13:36:11] local.INFO: GPS Element Parsed {"raw_longitude":760257472,"raw_latitude":109284624,"longitude_deg":76.0257472,"latitude_deg":10.9284624,"altitude":144,"angle":99,"satellites":50,"speed":32,"hex_longitude":"2d509bc0","hex_latitude":"06838d10","is_valid_coordinates":true} 
[2026-04-17 13:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:36:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:36:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,250,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:36:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776413045000,"timestamp_ms":1776413045000,"timestamp_seconds":1776413045,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a77f108"} 
[2026-04-17 13:36:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:36:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:36:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 13:36:11] 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-04-17 13:36:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:36:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:36:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:36:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:36:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:36:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:36:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:36:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:36:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:36:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28398,"250":206,"19":47872,"24":32,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16]} 
[2026-04-17 13:36:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:36:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:36:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:36:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:36:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:36:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:36:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28398,"unknown_250":206,"unknown_19":47872,"ignition":32,"odometer":null}} 
[2026-04-17 13:36:11] local.INFO: DEBUG: GPS processor result {"connection_id":45806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21527,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:36:11] local.INFO: GPS data processed {"connection_id":45806,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:36:11] local.INFO: Acknowledgment sent {"connection_id":45806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:36:26] local.INFO: TCP Data received {"connection_id":45805,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45805,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:36:26] local.INFO: Processing buffer {"connection_id":45805,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:36:26] local.INFO: Packet analysis {"connection_id":45805,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:36:26] local.INFO: Extracted packet for processing {"connection_id":45805,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:36:26] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:36:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761682688001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:36:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:36:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:36: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-04-17 13:36:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776413124000,"timestamp_ms":1776413124000,"timestamp_seconds":1776413124,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7925a0"} 
[2026-04-17 13:36:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:36:26] 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-04-17 13:36:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:36:26] 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-04-17 13:36:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:36:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:36:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:36:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45805,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:36:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:36:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45805,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:36:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:36:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:36:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:36:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761682688001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:36:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:36:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:36:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761682688001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:36:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:36:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:36:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:36:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:36:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761682688001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:36:26] local.INFO: DEBUG: GPS processor result {"connection_id":45805,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:36:26] local.INFO: GPS data processed {"connection_id":45805,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:36:26] local.INFO: Acknowledgment sent {"connection_id":45805,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:36:27] local.INFO: TCP Data received {"connection_id":45804,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:36:27] local.INFO: Processing buffer {"connection_id":45804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:36:27] local.INFO: Packet analysis {"connection_id":45804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:36:27] local.INFO: Extracted packet for processing {"connection_id":45804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761623296001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776412892000,"timestamp_ms":1776412892000,"timestamp_seconds":1776412892,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a759b60"} 
[2026-04-17 13:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 13:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761623296001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761623296001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:36:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:36:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761623296001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":45804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:36:28] local.INFO: GPS data processed {"connection_id":45804,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:36:28] local.INFO: Acknowledgment sent {"connection_id":45804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:36:43] local.INFO: TCP Data received {"connection_id":45806,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a783f28012d50df8006837b880090006e32..."} 
[2026-04-17 13:36:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a783f28012d50df8006837b880090006e32..."} 
[2026-04-17 13:36:43] local.INFO: Processing buffer {"connection_id":45806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a783f28012d50df8006837b880090006e32..."} 
[2026-04-17 13:36:43] local.INFO: Packet analysis {"connection_id":45806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a78"} 
[2026-04-17 13:36:43] local.INFO: Extracted packet for processing {"connection_id":45806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a78"} 
[2026-04-17 13:36:43] local.INFO: GPS Element Parsed {"raw_longitude":760274816,"raw_latitude":109280136,"longitude_deg":76.0274816,"latitude_deg":10.9280136,"altitude":144,"angle":110,"satellites":50,"speed":36,"hex_longitude":"2d50df80","hex_latitude":"06837b88","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:36:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761739520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:36:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:36:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5808447278633783296,"note":"Value kept but may cause issues"} 
[2026-04-17 13:36:43] 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-04-17 13:36:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776413065000,"timestamp_ms":1776413065000,"timestamp_seconds":1776413065,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a783f28"} 
[2026-04-17 13:36:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:36:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 13:36:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:36:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:36:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:36:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:36:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:36:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45806,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:36:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:36:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:36:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:36:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761739520001,"66":28234,"250":206,"19":47872,"24":36,"16":106618783551979520,"45":5808447278633783296},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-04-17 13:36:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:36:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:36:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761739520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:36:43] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:36:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:36:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:36:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5808447278633783296,"description":"Unknown IO ID 45"} 
[2026-04-17 13:36:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761739520001,"power":28234,"unknown_250":206,"unknown_19":47872,"ignition":36,"odometer":null,"unknown_45":5808447278633783296}} 
[2026-04-17 13:36:43] local.INFO: DEBUG: GPS processor result {"connection_id":45806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21530,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:36:43] local.INFO: GPS data processed {"connection_id":45806,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:36:43] local.INFO: Acknowledgment sent {"connection_id":45806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:36:49] local.INFO: TCP Data received {"connection_id":46668,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:36:49] local.INFO: Processing buffer {"connection_id":46668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:36:49] local.INFO: IMEI packet received {"connection_id":46668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":46668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:36:50] local.INFO: TCP Data received {"connection_id":46669,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:36:50] local.INFO: Processing buffer {"connection_id":46669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:36:50] local.INFO: IMEI packet received {"connection_id":46669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":46669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:36:54] local.INFO: TCP Data received {"connection_id":46668,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46668,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:36:54] local.INFO: Processing buffer {"connection_id":46668,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:36:54] local.INFO: IMEI packet received {"connection_id":46668,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":46668,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:36:55] local.INFO: TCP Data received {"connection_id":46669,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46669,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:36:55] local.INFO: Processing buffer {"connection_id":46669,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:36:55] local.INFO: IMEI packet received {"connection_id":46669,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":46669,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:36:55] local.INFO: TCP Data received {"connection_id":46668,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:36:55] local.INFO: Processing buffer {"connection_id":46668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:36:56] local.INFO: Packet analysis {"connection_id":46668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:36:56] local.INFO: Extracted packet for processing {"connection_id":46668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:36:56] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761682688001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13: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-04-17 13:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776413124000,"timestamp_ms":1776413124000,"timestamp_seconds":1776413124,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7925a0"} 
[2026-04-17 13:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:36:56] 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-04-17 13: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-04-17 13: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-04-17 13: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-04-17 13:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761682688001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761682688001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:36:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:36:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761682688001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":46668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:36:56] local.INFO: GPS data processed {"connection_id":46668,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:36:56] local.INFO: Acknowledgment sent {"connection_id":46668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:36:56] local.INFO: TCP Data received {"connection_id":46669,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:36:56] local.INFO: Processing buffer {"connection_id":46669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a759b60012d7faa8005afd2f8000c000033..."} 
[2026-04-17 13:36:56] local.INFO: Packet analysis {"connection_id":46669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:36:56] local.INFO: Extracted packet for processing {"connection_id":46669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a75"} 
[2026-04-17 13:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":12,"angle":0,"satellites":51,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761623296001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776412892000,"timestamp_ms":1776412892000,"timestamp_seconds":1776412892,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a759b60"} 
[2026-04-17 13:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 13:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":733,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761623296001,"66":25158,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761623296001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:36:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761623296001,"power":25158,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":46669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:36:56] local.INFO: GPS data processed {"connection_id":46669,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:36:56] local.INFO: Acknowledgment sent {"connection_id":46669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:37:04] local.INFO: TCP Data received {"connection_id":45892,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:37:04] local.INFO: Processing buffer {"connection_id":45892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:37:04] local.INFO: IMEI packet received {"connection_id":45892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":45892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:37:09] local.INFO: TCP Data received {"connection_id":45892,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:37:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45892,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:37:09] local.INFO: Processing buffer {"connection_id":45892,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:37:09] local.INFO: IMEI packet received {"connection_id":45892,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:37:09] local.INFO: IMEI acknowledgment sent {"connection_id":45892,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:37:11] local.INFO: TCP Data received {"connection_id":45892,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7948c80100000000000000000000000000..."} 
[2026-04-17 13:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7948c80100000000000000000000000000..."} 
[2026-04-17 13:37:11] local.INFO: Processing buffer {"connection_id":45892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7948c80100000000000000000000000000..."} 
[2026-04-17 13:37:11] local.INFO: Packet analysis {"connection_id":45892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:37:11] local.INFO: Extracted packet for processing {"connection_id":45892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:37: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-04-17 13:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761744640001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5827517208304781312,"note":"Value kept but may cause issues"} 
[2026-04-17 13:37:11] 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-04-17 13:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776413133000,"timestamp_ms":1776413133000,"timestamp_seconds":1776413133,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7948c8"} 
[2026-04-17 13:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:37:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:37:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-04-17 13:37:11] 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-04-17 13:37:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":45892,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:37:11] local.INFO: GPS data processed {"connection_id":45892,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:37:11] local.INFO: Acknowledgment sent {"connection_id":45892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:37:27] local.INFO: TCP Data received {"connection_id":46668,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46668,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:37:27] local.INFO: Processing buffer {"connection_id":46668,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:37:27] local.INFO: Packet analysis {"connection_id":46668,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:37:27] local.INFO: Extracted packet for processing {"connection_id":46668,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761682688001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13: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-04-17 13:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776413124000,"timestamp_ms":1776413124000,"timestamp_seconds":1776413124,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7925a0"} 
[2026-04-17 13:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:37:27] 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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:37:27] 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-04-17 13: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-04-17 13:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46668,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46668,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761682688001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761682688001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:37:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:37:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761682688001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":46668,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:37:27] local.INFO: GPS data processed {"connection_id":46668,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:37:27] local.INFO: Acknowledgment sent {"connection_id":46668,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:37:28] local.INFO: TCP Data received {"connection_id":46669,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46669,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:37:28] local.INFO: Processing buffer {"connection_id":46669,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:37:28] local.INFO: Packet analysis {"connection_id":46669,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:37:28] local.INFO: Extracted packet for processing {"connection_id":46669,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:37:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761700352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776413193000,"timestamp_ms":1776413193000,"timestamp_seconds":1776413193,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7a3328"} 
[2026-04-17 13:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:37:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:37:28] 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-04-17 13:37:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46669,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46669,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761700352001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761700352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:37:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:37:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761700352001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":46669,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:37:28] local.INFO: GPS data processed {"connection_id":46669,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:37:28] local.INFO: Acknowledgment sent {"connection_id":46669,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:37:49] local.INFO: TCP Data received {"connection_id":45807,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:37:49] local.INFO: Processing buffer {"connection_id":45807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:37:49] local.INFO: IMEI packet received {"connection_id":45807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":45807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:37:50] local.INFO: TCP Data received {"connection_id":46103,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:37:50] local.INFO: Processing buffer {"connection_id":46103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:37:50] local.INFO: IMEI packet received {"connection_id":46103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":46103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:37:54] local.INFO: TCP Data received {"connection_id":45807,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:37:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:37:54] local.INFO: Processing buffer {"connection_id":45807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:37:54] local.INFO: IMEI packet received {"connection_id":45807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:37:54] local.INFO: IMEI acknowledgment sent {"connection_id":45807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:37:55] local.INFO: TCP Data received {"connection_id":45807,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:37:55] local.INFO: Processing buffer {"connection_id":45807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:37:55] local.INFO: Packet analysis {"connection_id":45807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:37:55] local.INFO: Extracted packet for processing {"connection_id":45807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761682688001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:37: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-04-17 13:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776413124000,"timestamp_ms":1776413124000,"timestamp_seconds":1776413124,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7925a0"} 
[2026-04-17 13:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:37:55] 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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:37:55] 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-04-17 13: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-04-17 13:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761682688001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761682688001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:37:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:37:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761682688001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":45807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:37:55] local.INFO: GPS data processed {"connection_id":45807,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:37:55] local.INFO: Acknowledgment sent {"connection_id":45807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:37:56] local.INFO: TCP Data received {"connection_id":46103,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:37:56] local.INFO: Processing buffer {"connection_id":46103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:37:56] local.INFO: IMEI packet received {"connection_id":46103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":46103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:37:56] local.INFO: TCP Data received {"connection_id":45892,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a78b458012d51034006836d18008d006a33..."} 
[2026-04-17 13:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a78b458012d51034006836d18008d006a33..."} 
[2026-04-17 13:37:56] local.INFO: Processing buffer {"connection_id":45892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a78b458012d51034006836d18008d006a33..."} 
[2026-04-17 13:37:56] local.INFO: Packet analysis {"connection_id":45892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a78"} 
[2026-04-17 13:37:56] local.INFO: Extracted packet for processing {"connection_id":45892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a78"} 
[2026-04-17 13:37:56] local.INFO: GPS Element Parsed {"raw_longitude":760283968,"raw_latitude":109276440,"longitude_deg":76.0283968,"latitude_deg":10.927644,"altitude":141,"angle":106,"satellites":51,"speed":5,"hex_longitude":"2d510340","hex_latitude":"06836d18","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:37:56] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,250,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776413095000,"timestamp_ms":1776413095000,"timestamp_seconds":1776413095,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a78b458"} 
[2026-04-17 13:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:37: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 13:37:56] 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-04-17 13: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-04-17 13:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45892,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"250":206,"19":47872,"24":5,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16]} 
[2026-04-17 13:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:37:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:37:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:37:56] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_250":206,"unknown_19":47872,"ignition":5,"odometer":null}} 
[2026-04-17 13:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":45892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21536,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:37:56] local.INFO: GPS data processed {"connection_id":45892,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:37:56] local.INFO: Acknowledgment sent {"connection_id":45892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:37:56] local.INFO: TCP Data received {"connection_id":46103,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:37:56] local.INFO: Processing buffer {"connection_id":46103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:37:56] local.INFO: Packet analysis {"connection_id":46103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:37:56] local.INFO: Extracted packet for processing {"connection_id":46103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761700352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776413193000,"timestamp_ms":1776413193000,"timestamp_seconds":1776413193,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7a3328"} 
[2026-04-17 13:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:37:56] 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-04-17 13: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-04-17 13:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:37:56] 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-04-17 13:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761700352001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761700352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:37:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761700352001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":46103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:37:56] local.INFO: GPS data processed {"connection_id":46103,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:37:56] local.INFO: Acknowledgment sent {"connection_id":46103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:38:04] local.INFO: TCP Data received {"connection_id":45893,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:38:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:38:04] local.INFO: Processing buffer {"connection_id":45893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:38:04] local.INFO: IMEI packet received {"connection_id":45893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:38:04] local.INFO: IMEI acknowledgment sent {"connection_id":45893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:38:10] local.INFO: TCP Data received {"connection_id":45893,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:38:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:38:10] local.INFO: Processing buffer {"connection_id":45893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:38:10] local.INFO: IMEI packet received {"connection_id":45893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:38:10] local.INFO: IMEI acknowledgment sent {"connection_id":45893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:38:12] local.INFO: TCP Data received {"connection_id":45893,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a790660012d51034006836d18008d006a33..."} 
[2026-04-17 13:38:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a790660012d51034006836d18008d006a33..."} 
[2026-04-17 13:38:12] local.INFO: Processing buffer {"connection_id":45893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a790660012d51034006836d18008d006a33..."} 
[2026-04-17 13:38:12] local.INFO: Packet analysis {"connection_id":45893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:38:12] local.INFO: Extracted packet for processing {"connection_id":45893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:38:12] local.INFO: GPS Element Parsed {"raw_longitude":760283968,"raw_latitude":109276440,"longitude_deg":76.0283968,"latitude_deg":10.927644,"altitude":141,"angle":106,"satellites":51,"speed":0,"hex_longitude":"2d510340","hex_latitude":"06836d18","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:38:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761752320001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:38:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:38:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5837579938721241088,"note":"Value kept but may cause issues"} 
[2026-04-17 13:38:12] 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-04-17 13:38:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776413116000,"timestamp_ms":1776413116000,"timestamp_seconds":1776413116,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a790660"} 
[2026-04-17 13:38:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:38:12] 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-04-17 13: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 13:38:12] 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-04-17 13: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-04-17 13:38:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:38:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:38:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:38:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:38:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:38:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:38:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:38:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:38:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761752320001,"66":28300,"250":206,"19":47872,"24":0,"16":106618783551979520,"45":5837579938721241088},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-04-17 13:38:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:38:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:38:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761752320001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:38:12] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:38:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:38:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:38:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5837579938721241088,"description":"Unknown IO ID 45"} 
[2026-04-17 13:38:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761752320001,"power":28300,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5837579938721241088}} 
[2026-04-17 13:38:12] local.INFO: DEBUG: GPS processor result {"connection_id":45893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21538,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:38:12] local.INFO: GPS data processed {"connection_id":45893,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:38:12] local.INFO: Acknowledgment sent {"connection_id":45893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:38:27] local.INFO: TCP Data received {"connection_id":45807,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:38:27] local.INFO: Processing buffer {"connection_id":45807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:38:27] local.INFO: Packet analysis {"connection_id":45807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:38:27] local.INFO: Extracted packet for processing {"connection_id":45807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761682688001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:38: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-04-17 13:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776413124000,"timestamp_ms":1776413124000,"timestamp_seconds":1776413124,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7925a0"} 
[2026-04-17 13:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:38:27] 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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:38:27] 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-04-17 13: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-04-17 13:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761682688001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761682688001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:38:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:38:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761682688001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":45807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:38:27] local.INFO: GPS data processed {"connection_id":45807,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:38:27] local.INFO: Acknowledgment sent {"connection_id":45807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:38:28] local.INFO: TCP Data received {"connection_id":46103,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:38:28] local.INFO: Processing buffer {"connection_id":46103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:38:28] local.INFO: Packet analysis {"connection_id":46103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:38:28] local.INFO: Extracted packet for processing {"connection_id":46103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:38:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761700352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776413193000,"timestamp_ms":1776413193000,"timestamp_seconds":1776413193,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7a3328"} 
[2026-04-17 13:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:38:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:38:28] 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-04-17 13:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761700352001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761700352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:38:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:38:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761700352001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":46103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:38:28] local.INFO: GPS data processed {"connection_id":46103,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:38:28] local.INFO: Acknowledgment sent {"connection_id":46103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:38:45] local.INFO: TCP Data received {"connection_id":45893,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a795868012d51034006836d18008d006a33..."} 
[2026-04-17 13:38:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a795868012d51034006836d18008d006a33..."} 
[2026-04-17 13:38:45] local.INFO: Processing buffer {"connection_id":45893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a795868012d51034006836d18008d006a33..."} 
[2026-04-17 13:38:45] local.INFO: Packet analysis {"connection_id":45893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:38:45] local.INFO: Extracted packet for processing {"connection_id":45893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:38:45] local.INFO: GPS Element Parsed {"raw_longitude":760283968,"raw_latitude":109276440,"longitude_deg":76.0283968,"latitude_deg":10.927644,"altitude":141,"angle":106,"satellites":51,"speed":0,"hex_longitude":"2d510340","hex_latitude":"06836d18","is_valid_coordinates":true} 
[2026-04-17 13:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:38:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761757696001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:38:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:38:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5837579938721241088,"note":"Value kept but may cause issues"} 
[2026-04-17 13:38:45] 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-04-17 13:38:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776413137000,"timestamp_ms":1776413137000,"timestamp_seconds":1776413137,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a795868"} 
[2026-04-17 13:38:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:38: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-04-17 13:38:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 13:38:45] 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-04-17 13:38:45] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:38:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:38:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:38:45] local.INFO: Teltonika packet parsed successfully {"connection_id":45893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:38:45] local.INFO: Passing IMEI to GPS processor {"connection_id":45893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:38:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":45893,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:38:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:38:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:38:45] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:38:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761757696001,"66":28354,"250":206,"19":47872,"24":0,"16":106618783551979520,"45":5837579938721241088},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-04-17 13:38:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:38:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:38:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761757696001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:38:45] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:38:45] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:38:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:38:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":5837579938721241088,"description":"Unknown IO ID 45"} 
[2026-04-17 13:38:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761757696001,"power":28354,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5837579938721241088}} 
[2026-04-17 13:38:45] local.INFO: DEBUG: GPS processor result {"connection_id":45893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21541,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:38:45] local.INFO: GPS data processed {"connection_id":45893,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:38:45] local.INFO: Acknowledgment sent {"connection_id":45893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:38:48] local.INFO: TCP Data received {"connection_id":46104,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:38:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:38:48] local.INFO: Processing buffer {"connection_id":46104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:38:48] local.INFO: IMEI packet received {"connection_id":46104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:38:48] local.INFO: IMEI acknowledgment sent {"connection_id":46104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:38:50] local.INFO: TCP Data received {"connection_id":46670,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:38:50] local.INFO: Processing buffer {"connection_id":46670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:38:50] local.INFO: IMEI packet received {"connection_id":46670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":46670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:38:53] local.INFO: TCP Data received {"connection_id":46104,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:38:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:38:53] local.INFO: Processing buffer {"connection_id":46104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:38:53] local.INFO: IMEI packet received {"connection_id":46104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:38:53] local.INFO: IMEI acknowledgment sent {"connection_id":46104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:38:54] local.INFO: TCP Data received {"connection_id":46104,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:38:54] local.INFO: Processing buffer {"connection_id":46104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:38:54] local.INFO: Packet analysis {"connection_id":46104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:38:54] local.INFO: Extracted packet for processing {"connection_id":46104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:38:54] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:38:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761682688001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:38:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:38:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:38: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-04-17 13:38:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776413124000,"timestamp_ms":1776413124000,"timestamp_seconds":1776413124,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7925a0"} 
[2026-04-17 13:38:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:38:54] 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-04-17 13:38:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:38:54] 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-04-17 13:38:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:38:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:38:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:38:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:38:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:38:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:38:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:38:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:38:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:38:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761682688001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:38:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:38:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:38:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761682688001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:38:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:38:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:38:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:38:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:38:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761682688001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":46104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21542,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:38:55] local.INFO: GPS data processed {"connection_id":46104,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:38:55] local.INFO: Acknowledgment sent {"connection_id":46104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:38:56] local.INFO: TCP Data received {"connection_id":46670,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46670,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:38:56] local.INFO: Processing buffer {"connection_id":46670,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:38:56] local.INFO: IMEI packet received {"connection_id":46670,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":46670,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:38:57] local.INFO: TCP Data received {"connection_id":46670,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:38:57] local.INFO: Processing buffer {"connection_id":46670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:38:57] local.INFO: Packet analysis {"connection_id":46670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:38:57] local.INFO: Extracted packet for processing {"connection_id":46670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761700352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776413193000,"timestamp_ms":1776413193000,"timestamp_seconds":1776413193,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7a3328"} 
[2026-04-17 13:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:38:57] 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-04-17 13: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-04-17 13:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761700352001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761700352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:38:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761700352001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":46670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:38:57] local.INFO: GPS data processed {"connection_id":46670,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:38:57] local.INFO: Acknowledgment sent {"connection_id":46670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:39:04] local.INFO: TCP Data received {"connection_id":45808,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:39:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:39:04] local.INFO: Processing buffer {"connection_id":45808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:39:04] local.INFO: IMEI packet received {"connection_id":45808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:39:04] local.INFO: IMEI acknowledgment sent {"connection_id":45808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:39:07] local.INFO: TCP Data received {"connection_id":45808,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:39:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:39:07] local.INFO: Processing buffer {"connection_id":45808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:39:07] local.INFO: IMEI packet received {"connection_id":45808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:39:07] local.INFO: IMEI acknowledgment sent {"connection_id":45808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:39:09] local.INFO: TCP Data received {"connection_id":45808,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:39:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45808,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:39:09] local.INFO: Processing buffer {"connection_id":45808,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:39:09] local.INFO: IMEI packet received {"connection_id":45808,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:39:09] local.INFO: IMEI acknowledgment sent {"connection_id":45808,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:39:11] local.INFO: TCP Data received {"connection_id":45808,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a79aa70012d51034006836d18008d006a33..."} 
[2026-04-17 13:39:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a79aa70012d51034006836d18008d006a33..."} 
[2026-04-17 13:39:11] local.INFO: Processing buffer {"connection_id":45808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a79aa70012d51034006836d18008d006a33..."} 
[2026-04-17 13:39:11] local.INFO: Packet analysis {"connection_id":45808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:39:11] local.INFO: Extracted packet for processing {"connection_id":45808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:39:11] local.INFO: GPS Element Parsed {"raw_longitude":760283968,"raw_latitude":109276440,"longitude_deg":76.0283968,"latitude_deg":10.927644,"altitude":141,"angle":106,"satellites":51,"speed":0,"hex_longitude":"2d510340","hex_latitude":"06836d18","is_valid_coordinates":true} 
[2026-04-17 13:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:39:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761763072001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:39:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:39:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5837579938721241088,"note":"Value kept but may cause issues"} 
[2026-04-17 13:39:11] 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-04-17 13:39:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776413158000,"timestamp_ms":1776413158000,"timestamp_seconds":1776413158,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a79aa70"} 
[2026-04-17 13:39:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:39:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:39:11] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:39: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-04-17 13:39:11] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:39:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:39:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:39:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:39:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:39:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:39:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:39:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:39:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:39:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761763072001,"66":28278,"250":206,"19":47872,"24":0,"16":106618783551979520,"45":5837579938721241088},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-04-17 13:39:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:39:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:39:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761763072001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:39:11] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:39:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:39:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:39:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":5837579938721241088,"description":"Unknown IO ID 45"} 
[2026-04-17 13:39:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761763072001,"power":28278,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5837579938721241088}} 
[2026-04-17 13:39:11] local.INFO: DEBUG: GPS processor result {"connection_id":45808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21544,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:39:11] local.INFO: GPS data processed {"connection_id":45808,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:39:11] local.INFO: Acknowledgment sent {"connection_id":45808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:39:26] local.INFO: TCP Data received {"connection_id":46104,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:39:26] local.INFO: Processing buffer {"connection_id":46104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:39:26] local.INFO: Packet analysis {"connection_id":46104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:39:26] local.INFO: Extracted packet for processing {"connection_id":46104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:39:26] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761682688001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:39: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-04-17 13:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776413124000,"timestamp_ms":1776413124000,"timestamp_seconds":1776413124,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7925a0"} 
[2026-04-17 13:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:39:26] 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-04-17 13:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:39:26] 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-04-17 13:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761682688001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761682688001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:39:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:39:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761682688001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":46104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:39:26] local.INFO: GPS data processed {"connection_id":46104,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:39:26] local.INFO: Acknowledgment sent {"connection_id":46104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:39:28] local.INFO: TCP Data received {"connection_id":46670,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46670,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:39:28] local.INFO: Processing buffer {"connection_id":46670,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:39:28] local.INFO: Packet analysis {"connection_id":46670,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:39:28] local.INFO: Extracted packet for processing {"connection_id":46670,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761700352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776413193000,"timestamp_ms":1776413193000,"timestamp_seconds":1776413193,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7a3328"} 
[2026-04-17 13:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:39:28] 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-04-17 13:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46670,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46670,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761700352001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761700352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:39:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761700352001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":46670,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:39:28] local.INFO: GPS data processed {"connection_id":46670,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:39:28] local.INFO: Acknowledgment sent {"connection_id":46670,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:39:48] local.INFO: TCP Data received {"connection_id":45894,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:39:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:39:48] local.INFO: Processing buffer {"connection_id":45894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:39:48] local.INFO: IMEI packet received {"connection_id":45894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:39:48] local.INFO: IMEI acknowledgment sent {"connection_id":45894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:39:54] local.INFO: TCP Data received {"connection_id":45894,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45894,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:39:54] local.INFO: Processing buffer {"connection_id":45894,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:39:54] local.INFO: IMEI packet received {"connection_id":45894,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":45894,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:39:55] local.INFO: TCP Data received {"connection_id":45894,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:39:55] local.INFO: Processing buffer {"connection_id":45894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:39:55] local.INFO: Packet analysis {"connection_id":45894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:39:55] local.INFO: Extracted packet for processing {"connection_id":45894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:39:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761682688001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13: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-04-17 13:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776413124000,"timestamp_ms":1776413124000,"timestamp_seconds":1776413124,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7925a0"} 
[2026-04-17 13:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:39:55] 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-04-17 13: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":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:39:55] 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-04-17 13: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-04-17 13:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761682688001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761682688001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:39:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:39:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761682688001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":45894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:39:55] local.INFO: GPS data processed {"connection_id":45894,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:39:55] local.INFO: Acknowledgment sent {"connection_id":45894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:39:56] local.INFO: TCP Data received {"connection_id":45895,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:39:56] local.INFO: Processing buffer {"connection_id":45895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:39:56] local.INFO: IMEI packet received {"connection_id":45895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":45895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:39:59] local.INFO: TCP Data received {"connection_id":45808,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a79fc78012d51034006836d18008d006a33..."} 
[2026-04-17 13:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a79fc78012d51034006836d18008d006a33..."} 
[2026-04-17 13:39:59] local.INFO: Processing buffer {"connection_id":45808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a79fc78012d51034006836d18008d006a33..."} 
[2026-04-17 13:39:59] local.INFO: Packet analysis {"connection_id":45808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:39:59] local.INFO: Extracted packet for processing {"connection_id":45808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:39:59] local.INFO: GPS Element Parsed {"raw_longitude":760283968,"raw_latitude":109276440,"longitude_deg":76.0283968,"latitude_deg":10.927644,"altitude":141,"angle":106,"satellites":51,"speed":0,"hex_longitude":"2d510340","hex_latitude":"06836d18","is_valid_coordinates":true} 
[2026-04-17 13:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761768448001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5837579938721241088,"note":"Value kept but may cause issues"} 
[2026-04-17 13:39:59] 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-04-17 13:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776413179000,"timestamp_ms":1776413179000,"timestamp_seconds":1776413179,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a79fc78"} 
[2026-04-17 13:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:39:59] 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-04-17 13:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45808,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761768448001,"66":28245,"250":206,"19":47872,"24":0,"16":106618783551979520,"45":5837579938721241088},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-04-17 13:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761768448001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:39:59] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:39:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":5837579938721241088,"description":"Unknown IO ID 45"} 
[2026-04-17 13:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761768448001,"power":28245,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5837579938721241088}} 
[2026-04-17 13:40:00] local.INFO: DEBUG: GPS processor result {"connection_id":45808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21548,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:40:00] local.INFO: GPS data processed {"connection_id":45808,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:40:00] local.INFO: Acknowledgment sent {"connection_id":45808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:40:01] local.INFO: TCP Data received {"connection_id":45895,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45895,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:40:01] local.INFO: Processing buffer {"connection_id":45895,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:40:01] local.INFO: IMEI packet received {"connection_id":45895,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:40:01] local.INFO: IMEI acknowledgment sent {"connection_id":45895,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:40:02] local.INFO: TCP Data received {"connection_id":45895,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:40:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:40:02] local.INFO: Processing buffer {"connection_id":45895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:40:02] local.INFO: Packet analysis {"connection_id":45895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:40:02] local.INFO: Extracted packet for processing {"connection_id":45895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:40:02] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:40:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761700352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:40:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776413193000,"timestamp_ms":1776413193000,"timestamp_seconds":1776413193,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7a3328"} 
[2026-04-17 13:40:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:40: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-04-17 13:40:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:40:02] 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-04-17 13:40:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:40:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:40:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:40:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:40:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:40:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:40:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:40:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:40:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:40:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761700352001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:40:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:40:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:40:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761700352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:40:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:40:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:40:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:40:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:40:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761700352001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:40:02] local.INFO: DEBUG: GPS processor result {"connection_id":45895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:40:02] local.INFO: GPS data processed {"connection_id":45895,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:40:02] local.INFO: Acknowledgment sent {"connection_id":45895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:40:06] local.INFO: TCP Data received {"connection_id":45895,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:40:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:40:06] local.INFO: Processing buffer {"connection_id":45895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:40:06] local.INFO: Packet analysis {"connection_id":45895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:40:06] local.INFO: Extracted packet for processing {"connection_id":45895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:40:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:40:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761700352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:40:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776413193000,"timestamp_ms":1776413193000,"timestamp_seconds":1776413193,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7a3328"} 
[2026-04-17 13:40:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:40:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:40: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-04-17 13: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-04-17 13:40:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:40:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:40:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:40:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:40:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45895,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:40:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:40:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:40:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:40:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761700352001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:40:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:40:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:40:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761700352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:40:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:40:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:40:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:40:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:40:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761700352001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:40:06] local.INFO: DEBUG: GPS processor result {"connection_id":45895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:40:06] local.INFO: GPS data processed {"connection_id":45895,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:40:06] local.INFO: Acknowledgment sent {"connection_id":45895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:40:24] local.INFO: TCP Data received {"connection_id":46671,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:40:24] local.INFO: Processing buffer {"connection_id":46671,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:40:24] local.INFO: IMEI packet received {"connection_id":46671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":46671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:40:25] local.INFO: TCP Data received {"connection_id":46671,"ip":"117.224.17.214","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 13:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46671,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 13:40:25] local.INFO: Processing buffer {"connection_id":46671,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 13:40:25] local.INFO: IMEI packet received {"connection_id":46671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":46671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:40:27] local.INFO: TCP Data received {"connection_id":45894,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:40:27] local.INFO: Processing buffer {"connection_id":45894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:40:27] local.INFO: Packet analysis {"connection_id":45894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:40:27] local.INFO: Extracted packet for processing {"connection_id":45894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:40:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761682688001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40: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-04-17 13:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776413124000,"timestamp_ms":1776413124000,"timestamp_seconds":1776413124,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7925a0"} 
[2026-04-17 13:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:40:27] 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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:40:27] 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-04-17 13: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-04-17 13:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45894,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761682688001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761682688001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:40:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:40:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761682688001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":45894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:40:27] local.INFO: GPS data processed {"connection_id":45894,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:40:27] local.INFO: Acknowledgment sent {"connection_id":45894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:40:30] local.INFO: TCP Data received {"connection_id":46671,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46671,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:40:30] local.INFO: Processing buffer {"connection_id":46671,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 13:40:30] local.INFO: IMEI packet received {"connection_id":46671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:40:30] local.INFO: IMEI acknowledgment sent {"connection_id":46671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:40:31] local.INFO: TCP Data received {"connection_id":46671,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7a4e80012d51034006836d18008d006a33..."} 
[2026-04-17 13:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7a4e80012d51034006836d18008d006a33..."} 
[2026-04-17 13:40:31] local.INFO: Processing buffer {"connection_id":46671,"buffer_length":812,"buffer_hex":"000f383632353637303731363332333232000000000000030f8e0a0000019d9a..."} 
[2026-04-17 13:40:31] local.INFO: IMEI packet received {"connection_id":46671,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":46671,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:40:35] local.INFO: TCP Data received {"connection_id":46671,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7a8148012d51330006834c00008d008030..."} 
[2026-04-17 13:40:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7a8148012d51330006834c00008d008030..."} 
[2026-04-17 13:40:35] local.INFO: Processing buffer {"connection_id":46671,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019d9a7a4e80012d51034006836d18008d006a33..."} 
[2026-04-17 13:40:35] local.INFO: Packet analysis {"connection_id":46671,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:40:35] local.INFO: Extracted packet for processing {"connection_id":46671,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:40:35] local.INFO: GPS Element Parsed {"raw_longitude":760283968,"raw_latitude":109276440,"longitude_deg":76.0283968,"latitude_deg":10.927644,"altitude":141,"angle":106,"satellites":51,"speed":0,"hex_longitude":"2d510340","hex_latitude":"06836d18","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761773824001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5837579938721241088,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:35] 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-04-17 13:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776413200000,"timestamp_ms":1776413200000,"timestamp_seconds":1776413200,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7a4e80"} 
[2026-04-17 13:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 13:40:35] 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-04-17 13: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-04-17 13:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":46671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":46671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":46671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761773824001,"66":28300,"250":206,"19":47872,"24":0,"16":106618783551979520,"45":5837579938721241088},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-04-17 13:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761773824001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:40:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:40:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5837579938721241088,"description":"Unknown IO ID 45"} 
[2026-04-17 13:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761773824001,"power":28300,"unknown_250":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5837579938721241088}} 
[2026-04-17 13:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":46671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21552,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:40:35] local.INFO: GPS data processed {"connection_id":46671,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:40:35] local.INFO: Acknowledgment sent {"connection_id":46671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:40:35] local.INFO: Packet analysis {"connection_id":46671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:40:35] local.INFO: Extracted packet for processing {"connection_id":46671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:40:35] local.INFO: GPS Element Parsed {"raw_longitude":760296192,"raw_latitude":109267968,"longitude_deg":76.0296192,"latitude_deg":10.9267968,"altitude":141,"angle":128,"satellites":48,"speed":29,"hex_longitude":"2d513300","hex_latitude":"06834c00","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:40:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761779200001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5837579938721241088,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:35] 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-04-17 13:40:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776413213000,"timestamp_ms":1776413213000,"timestamp_seconds":1776413213,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7a8148"} 
[2026-04-17 13:40:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:40:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 13:40:35] 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-04-17 13: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-04-17 13:40:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:40:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:40:35] local.INFO: Teltonika packet parsed successfully {"connection_id":46671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:40:35] local.INFO: Passing IMEI to GPS processor {"connection_id":46671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:40:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":46671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:40:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:40:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:40:35] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:40:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761779200001,"66":28300,"250":206,"19":47872,"24":29,"16":106618783551979520,"45":5837579938721241088},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,19,24,16,45]} 
[2026-04-17 13:40:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:40:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:40:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761779200001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:40:35] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:40:35] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:40:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:40:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":5837579938721241088,"description":"Unknown IO ID 45"} 
[2026-04-17 13:40:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761779200001,"power":28300,"unknown_250":206,"unknown_19":47872,"ignition":29,"odometer":null,"unknown_45":5837579938721241088}} 
[2026-04-17 13:40:35] local.INFO: DEBUG: GPS processor result {"connection_id":46671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21553,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:40:35] local.INFO: GPS data processed {"connection_id":46671,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:40:35] local.INFO: Acknowledgment sent {"connection_id":46671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:40:43] local.INFO: TCP Data received {"connection_id":46671,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7acf68012d51658006831ac00089008c2d..."} 
[2026-04-17 13:40:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46671,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7acf68012d51658006831ac00089008c2d..."} 
[2026-04-17 13:40:43] local.INFO: Processing buffer {"connection_id":46671,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7acf68012d51658006831ac00089008c2d..."} 
[2026-04-17 13:40:43] local.INFO: Packet analysis {"connection_id":46671,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:40:43] local.INFO: Extracted packet for processing {"connection_id":46671,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:40:43] local.INFO: GPS Element Parsed {"raw_longitude":760309120,"raw_latitude":109255360,"longitude_deg":76.030912,"latitude_deg":10.925536,"altitude":137,"angle":140,"satellites":45,"speed":43,"hex_longitude":"2d516580","hex_latitude":"06831ac0","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:40:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761782528001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5851020368857006080,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:40:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776413233000,"timestamp_ms":1776413233000,"timestamp_seconds":1776413233,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7acf68"} 
[2026-04-17 13:40:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:40:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 13:40:43] 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-04-17 13: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-04-17 13:40:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:40:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:40:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46671,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:40:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:40:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46671,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:40:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:40:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:40:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:40:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761782528001,"66":28354,"203":206,"19":47872,"24":43,"16":106618783551979520,"45":5851020368857006080},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,19,24,16,45]} 
[2026-04-17 13:40:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:40:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:40:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761782528001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:40:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:40:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:40:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5851020368857006080,"description":"Unknown IO ID 45"} 
[2026-04-17 13:40:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761782528001,"power":28354,"mnc":206,"unknown_19":47872,"ignition":43,"odometer":null,"unknown_45":5851020368857006080}} 
[2026-04-17 13:40:43] local.INFO: DEBUG: GPS processor result {"connection_id":46671,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21554,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:40:43] local.INFO: GPS data processed {"connection_id":46671,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:40:43] local.INFO: Acknowledgment sent {"connection_id":46671,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:40:48] local.INFO: TCP Data received {"connection_id":45897,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:40:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:40:48] local.INFO: Processing buffer {"connection_id":45897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:40:48] local.INFO: IMEI packet received {"connection_id":45897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:40:48] local.INFO: IMEI acknowledgment sent {"connection_id":45897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:40:50] local.INFO: TCP Data received {"connection_id":45896,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:40:50] local.INFO: Processing buffer {"connection_id":45896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:40:50] local.INFO: IMEI packet received {"connection_id":45896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":45896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:40:53] local.INFO: TCP Data received {"connection_id":45897,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45897,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:40:53] local.INFO: Processing buffer {"connection_id":45897,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:40:53] local.INFO: IMEI packet received {"connection_id":45897,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":45897,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:40:54] local.INFO: TCP Data received {"connection_id":45897,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:40:54] local.INFO: Processing buffer {"connection_id":45897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7925a0012d1974c0071fecd8003b011926..."} 
[2026-04-17 13:40:54] local.INFO: Packet analysis {"connection_id":45897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:40:54] local.INFO: Extracted packet for processing {"connection_id":45897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a79"} 
[2026-04-17 13:40:54] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":38,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761682688001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40: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-04-17 13:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776413124000,"timestamp_ms":1776413124000,"timestamp_seconds":1776413124,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7925a0"} 
[2026-04-17 13:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:40:54] 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-04-17 13:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:40:54] 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-04-17 13:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":45897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":45897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":45897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761682688001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761682688001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:40:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:40:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761682688001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":45897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:40:55] local.INFO: GPS data processed {"connection_id":45897,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:40:55] local.INFO: Acknowledgment sent {"connection_id":45897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:40:56] local.INFO: TCP Data received {"connection_id":45896,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:40:56] local.INFO: Processing buffer {"connection_id":45896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:40:56] local.INFO: IMEI packet received {"connection_id":45896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":45896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:40:56] local.INFO: TCP Data received {"connection_id":45896,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:40:56] local.INFO: Processing buffer {"connection_id":45896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:40:56] local.INFO: Packet analysis {"connection_id":45896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:40:56] local.INFO: Extracted packet for processing {"connection_id":45896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761700352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776413193000,"timestamp_ms":1776413193000,"timestamp_seconds":1776413193,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7a3328"} 
[2026-04-17 13:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:40:56] 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-04-17 13:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761700352001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761700352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:40:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761700352001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":45896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21556,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:40:56] local.INFO: GPS data processed {"connection_id":45896,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:40:56] local.INFO: Acknowledgment sent {"connection_id":45896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:41:06] local.INFO: TCP Data received {"connection_id":45898,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:41:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:41:06] local.INFO: Processing buffer {"connection_id":45898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:41:06] local.INFO: IMEI packet received {"connection_id":45898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:41:06] local.INFO: IMEI acknowledgment sent {"connection_id":45898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:41:09] local.INFO: TCP Data received {"connection_id":45898,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:41:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:41:09] local.INFO: Processing buffer {"connection_id":45898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:41:09] local.INFO: IMEI packet received {"connection_id":45898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:41:09] local.INFO: IMEI acknowledgment sent {"connection_id":45898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:41:12] local.INFO: TCP Data received {"connection_id":45898,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7b2558012d5198c00682def80083008728..."} 
[2026-04-17 13:41:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7b2558012d5198c00682def80083008728..."} 
[2026-04-17 13:41:12] local.INFO: Processing buffer {"connection_id":45898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7b2558012d5198c00682def80083008728..."} 
[2026-04-17 13:41:12] local.INFO: Packet analysis {"connection_id":45898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7b"} 
[2026-04-17 13:41:12] local.INFO: Extracted packet for processing {"connection_id":45898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7b"} 
[2026-04-17 13:41:12] local.INFO: GPS Element Parsed {"raw_longitude":760322240,"raw_latitude":109240056,"longitude_deg":76.032224,"latitude_deg":10.9240056,"altitude":131,"angle":135,"satellites":40,"speed":0,"hex_longitude":"2d5198c0","hex_latitude":"0682def8","is_valid_coordinates":true} 
[2026-04-17 13:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:41:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761787648001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:41:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:41:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5865234855177666560,"note":"Value kept but may cause issues"} 
[2026-04-17 13:41:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:41:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776413255000,"timestamp_ms":1776413255000,"timestamp_seconds":1776413255,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7b2558"} 
[2026-04-17 13:41:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:41:12] 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-04-17 13:41:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:41: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-04-17 13:41:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:41:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:41:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:41:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:41:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:41:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:41:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:41:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:41:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:41:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761787648001,"66":28332,"203":206,"19":47872,"24":0,"16":106618783551979520,"45":5865234855177666560},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,19,24,16,45]} 
[2026-04-17 13:41:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:41:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:41:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761787648001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:41:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:41:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:41:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5865234855177666560,"description":"Unknown IO ID 45"} 
[2026-04-17 13:41:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761787648001,"power":28332,"mnc":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5865234855177666560}} 
[2026-04-17 13:41:12] local.INFO: DEBUG: GPS processor result {"connection_id":45898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21557,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:41:12] local.INFO: GPS data processed {"connection_id":45898,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:41:12] local.INFO: Acknowledgment sent {"connection_id":45898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:41:26] local.INFO: TCP Data received {"connection_id":45897,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45897,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:41:26] local.INFO: Processing buffer {"connection_id":45897,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:41:26] local.INFO: Packet analysis {"connection_id":45897,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:41:26] local.INFO: Extracted packet for processing {"connection_id":45897,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:41:26] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":37,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:41:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761759744001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:41:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:41:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:41: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-04-17 13:41:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776413425000,"timestamp_ms":1776413425000,"timestamp_seconds":1776413425,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7dbd68"} 
[2026-04-17 13:41:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:41:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:41:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:41:26] 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-04-17 13:41:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:41:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:41:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:41:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45897,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:41:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:41:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45897,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:41:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:41:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:41:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:41:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761759744001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:41:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:41:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:41:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761759744001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:41:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:41:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:41:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:41:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:41:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761759744001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":45897,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:41:26] local.INFO: GPS data processed {"connection_id":45897,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:41:26] local.INFO: Acknowledgment sent {"connection_id":45897,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:41:28] local.INFO: TCP Data received {"connection_id":45896,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:41:28] local.INFO: Processing buffer {"connection_id":45896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:41:28] local.INFO: Packet analysis {"connection_id":45896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:41:28] local.INFO: Extracted packet for processing {"connection_id":45896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:41:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761700352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776413193000,"timestamp_ms":1776413193000,"timestamp_seconds":1776413193,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7a3328"} 
[2026-04-17 13:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:41:28] 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-04-17 13:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761700352001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761700352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:41:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:41:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761700352001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":45896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21559,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:41:28] local.INFO: GPS data processed {"connection_id":45896,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:41:28] local.INFO: Acknowledgment sent {"connection_id":45896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:41:43] local.INFO: TCP Data received {"connection_id":45898,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7b5438012d51d8000682a9e8007f007b2d..."} 
[2026-04-17 13:41:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7b5438012d51d8000682a9e8007f007b2d..."} 
[2026-04-17 13:41:43] local.INFO: Processing buffer {"connection_id":45898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7b5438012d51d8000682a9e8007f007b2d..."} 
[2026-04-17 13:41:43] local.INFO: Packet analysis {"connection_id":45898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7b"} 
[2026-04-17 13:41:43] local.INFO: Extracted packet for processing {"connection_id":45898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7b"} 
[2026-04-17 13:41:43] local.INFO: GPS Element Parsed {"raw_longitude":760338432,"raw_latitude":109226472,"longitude_deg":76.0338432,"latitude_deg":10.9226472,"altitude":127,"angle":123,"satellites":45,"speed":49,"hex_longitude":"2d51d800","hex_latitude":"0682a9e8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:41:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761793280001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:41:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:41:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5879660447730169856,"note":"Value kept but may cause issues"} 
[2026-04-17 13:41:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:41:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776413267000,"timestamp_ms":1776413267000,"timestamp_seconds":1776413267,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7b5438"} 
[2026-04-17 13:41:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:41:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-17 13:41:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:41:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:41:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:41:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:41:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:41:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45898,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:41:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:41:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:41:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:41:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761793280001,"66":28300,"203":206,"19":47872,"24":49,"16":106618783551979520,"45":5879660447730169856},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,19,24,16,45]} 
[2026-04-17 13:41:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:41:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:41:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761793280001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:41:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:41:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:41:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5879660447730169856,"description":"Unknown IO ID 45"} 
[2026-04-17 13:41:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761793280001,"power":28300,"mnc":206,"unknown_19":47872,"ignition":49,"odometer":null,"unknown_45":5879660447730169856}} 
[2026-04-17 13:41:43] local.INFO: DEBUG: GPS processor result {"connection_id":45898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21560,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:41:43] local.INFO: GPS data processed {"connection_id":45898,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:41:43] local.INFO: Acknowledgment sent {"connection_id":45898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:41:48] local.INFO: TCP Data received {"connection_id":46672,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:41:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:41:48] local.INFO: Processing buffer {"connection_id":46672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:41:48] local.INFO: IMEI packet received {"connection_id":46672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:41:48] local.INFO: IMEI acknowledgment sent {"connection_id":46672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:41:50] local.INFO: TCP Data received {"connection_id":45809,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:41:50] local.INFO: Processing buffer {"connection_id":45809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:41:50] local.INFO: IMEI packet received {"connection_id":45809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":45809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:41:53] local.INFO: TCP Data received {"connection_id":46672,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:41:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46672,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:41:53] local.INFO: Processing buffer {"connection_id":46672,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:41:53] local.INFO: IMEI packet received {"connection_id":46672,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:41:53] local.INFO: IMEI acknowledgment sent {"connection_id":46672,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:41:55] local.INFO: TCP Data received {"connection_id":46672,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:41:55] local.INFO: Processing buffer {"connection_id":46672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:41:55] local.INFO: Packet analysis {"connection_id":46672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:41:55] local.INFO: Extracted packet for processing {"connection_id":46672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:41:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":37,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:41:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761759744001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:41:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:41:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:41: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-04-17 13:41:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776413425000,"timestamp_ms":1776413425000,"timestamp_seconds":1776413425,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7dbd68"} 
[2026-04-17 13:41:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:41:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:41:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:41:55] 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-04-17 13:41:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:41:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:41:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:41:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:41:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:41:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:41:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:41:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:41:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:41:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761759744001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:41:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:41:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:41:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761759744001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:41:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:41:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:41:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:41:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:41:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761759744001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:41:55] local.INFO: DEBUG: GPS processor result {"connection_id":46672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:41:55] local.INFO: GPS data processed {"connection_id":46672,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:41:55] local.INFO: Acknowledgment sent {"connection_id":46672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:41:55] local.INFO: TCP Data received {"connection_id":45809,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:41:55] local.INFO: Processing buffer {"connection_id":45809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:41:55] local.INFO: IMEI packet received {"connection_id":45809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":45809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:41:57] local.INFO: TCP Data received {"connection_id":45809,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:41:57] local.INFO: Processing buffer {"connection_id":45809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:41:57] local.INFO: Packet analysis {"connection_id":45809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:41:57] local.INFO: Extracted packet for processing {"connection_id":45809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:41:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761700352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776413193000,"timestamp_ms":1776413193000,"timestamp_seconds":1776413193,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7a3328"} 
[2026-04-17 13:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:41:57] 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-04-17 13: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-04-17 13:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761700352001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761700352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:41:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761700352001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":45809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:41:57] local.INFO: GPS data processed {"connection_id":45809,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:41:57] local.INFO: Acknowledgment sent {"connection_id":45809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:42:01] local.INFO: TCP Data received {"connection_id":45809,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:42:01] local.INFO: Processing buffer {"connection_id":45809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7a3328012d7faa8005afd2f80011000032..."} 
[2026-04-17 13:42:01] local.INFO: Packet analysis {"connection_id":45809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:42:01] local.INFO: Extracted packet for processing {"connection_id":45809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7a"} 
[2026-04-17 13:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":17,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761700352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776413193000,"timestamp_ms":1776413193000,"timestamp_seconds":1776413193,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7a3328"} 
[2026-04-17 13:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 13:42:01] 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-04-17 13: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-04-17 13:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:42: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-04-17 13:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761700352001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761700352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:42:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761700352001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":45809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21563,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:42:01] local.INFO: GPS data processed {"connection_id":45809,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:42:01] local.INFO: Acknowledgment sent {"connection_id":45809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:42:04] local.INFO: TCP Data received {"connection_id":46105,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:42:04] local.INFO: Processing buffer {"connection_id":46105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:42:04] local.INFO: IMEI packet received {"connection_id":46105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":46105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:42:09] local.INFO: TCP Data received {"connection_id":46105,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46105,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:42:09] local.INFO: Processing buffer {"connection_id":46105,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:42:09] local.INFO: IMEI packet received {"connection_id":46105,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":46105,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:42:10] local.INFO: TCP Data received {"connection_id":46105,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7ba640012d5220c006827ef8007f007730..."} 
[2026-04-17 13:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7ba640012d5220c006827ef8007f007730..."} 
[2026-04-17 13:42:10] local.INFO: Processing buffer {"connection_id":46105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7ba640012d5220c006827ef8007f007730..."} 
[2026-04-17 13:42:10] local.INFO: Packet analysis {"connection_id":46105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7b"} 
[2026-04-17 13:42:10] local.INFO: Extracted packet for processing {"connection_id":46105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7b"} 
[2026-04-17 13:42:10] local.INFO: GPS Element Parsed {"raw_longitude":760357056,"raw_latitude":109215480,"longitude_deg":76.0357056,"latitude_deg":10.921548,"altitude":127,"angle":119,"satellites":48,"speed":0,"hex_longitude":"2d5220c0","hex_latitude":"06827ef8","is_valid_coordinates":true} 
[2026-04-17 13:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:42:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761796352001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:42:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:42:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5897463740003641344,"note":"Value kept but may cause issues"} 
[2026-04-17 13:42:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:42:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776413288000,"timestamp_ms":1776413288000,"timestamp_seconds":1776413288,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7ba640"} 
[2026-04-17 13:42:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:42: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-04-17 13:42:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 13:42: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-04-17 13:42:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:42:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:42:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:42:10] local.INFO: Teltonika packet parsed successfully {"connection_id":46105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:42:10] local.INFO: Passing IMEI to GPS processor {"connection_id":46105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:42:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":46105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:42:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:42:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:42:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:42:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761796352001,"66":28354,"203":206,"19":47872,"24":0,"16":106618783551979520,"45":5897463740003641344},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,19,24,16,45]} 
[2026-04-17 13:42:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:42:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:42:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761796352001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:42:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:42:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:42:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":5897463740003641344,"description":"Unknown IO ID 45"} 
[2026-04-17 13:42:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761796352001,"power":28354,"mnc":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5897463740003641344}} 
[2026-04-17 13:42:10] local.INFO: DEBUG: GPS processor result {"connection_id":46105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21564,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:42:10] local.INFO: GPS data processed {"connection_id":46105,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:42:10] local.INFO: Acknowledgment sent {"connection_id":46105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:42:26] local.INFO: TCP Data received {"connection_id":46672,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46672,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:42:26] local.INFO: Processing buffer {"connection_id":46672,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:42:26] local.INFO: Packet analysis {"connection_id":46672,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:42:26] local.INFO: Extracted packet for processing {"connection_id":46672,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:42:26] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":37,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:42:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761759744001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:42:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:42:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:42: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-04-17 13:42:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776413425000,"timestamp_ms":1776413425000,"timestamp_seconds":1776413425,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7dbd68"} 
[2026-04-17 13:42:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:42:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:42:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:42:26] 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-04-17 13:42:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:42:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:42:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:42:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46672,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:42:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:42:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46672,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:42:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:42:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:42:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:42:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761759744001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:42:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:42:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:42:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761759744001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:42:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:42:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:42:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:42:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:42:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761759744001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:42:26] local.INFO: DEBUG: GPS processor result {"connection_id":46672,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:42:26] local.INFO: GPS data processed {"connection_id":46672,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:42:26] local.INFO: Acknowledgment sent {"connection_id":46672,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:42:32] local.INFO: TCP Data received {"connection_id":45809,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:42:32] local.INFO: Processing buffer {"connection_id":45809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:42:32] local.INFO: Packet analysis {"connection_id":45809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:42:32] local.INFO: Extracted packet for processing {"connection_id":45809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:42:32] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":16,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 13:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761777408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776413494000,"timestamp_ms":1776413494000,"timestamp_seconds":1776413494,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7ecaf0"} 
[2026-04-17 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-04-17 13:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 13:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761777408001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761777408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:42:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:42:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761777408001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":45809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:42:32] local.INFO: GPS data processed {"connection_id":45809,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:42:32] local.INFO: Acknowledgment sent {"connection_id":45809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:42:42] local.INFO: TCP Data received {"connection_id":46105,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7e80b8012d54a740068036280049009732..."} 
[2026-04-17 13:42:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7e80b8012d54a740068036280049009732..."} 
[2026-04-17 13:42:42] local.INFO: Processing buffer {"connection_id":46105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7e80b8012d54a740068036280049009732..."} 
[2026-04-17 13:42:42] local.INFO: Packet analysis {"connection_id":46105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:42:42] local.INFO: Extracted packet for processing {"connection_id":46105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:42:42] local.INFO: GPS Element Parsed {"raw_longitude":760522560,"raw_latitude":109065768,"longitude_deg":76.052256,"latitude_deg":10.9065768,"altitude":73,"angle":151,"satellites":50,"speed":53,"hex_longitude":"2d54a740","hex_latitude":"06803628","is_valid_coordinates":true} 
[2026-04-17 13:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:42:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761845248001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:42:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:42:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6086403818084071424,"note":"Value kept but may cause issues"} 
[2026-04-17 13:42:42] 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-04-17 13:42:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776413475000,"timestamp_ms":1776413475000,"timestamp_seconds":1776413475,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7e80b8"} 
[2026-04-17 13:42:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:42:42] 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-04-17 13:42:42] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 13:42:42] 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-04-17 13:42:42] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:42:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:42:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:42:42] local.INFO: Teltonika packet parsed successfully {"connection_id":46105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:42:42] local.INFO: Passing IMEI to GPS processor {"connection_id":46105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:42:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":46105,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:42:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:42:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:42:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:42:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761845248001,"66":28267,"4":206,"19":47872,"24":53,"16":106618783551979520,"45":6086403818084071424},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,4,19,24,16,45]} 
[2026-04-17 13:42:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:42:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:42:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761845248001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:42:42] local.INFO: Unknown IO ID detected {"io_id":4,"value":206,"description":"Unknown IO ID 4"} 
[2026-04-17 13:42:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:42:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:42:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6086403818084071424,"description":"Unknown IO ID 45"} 
[2026-04-17 13:42:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761845248001,"power":28267,"unknown_4":206,"unknown_19":47872,"ignition":53,"odometer":null,"unknown_45":6086403818084071424}} 
[2026-04-17 13:42:42] local.INFO: DEBUG: GPS processor result {"connection_id":46105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21567,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:42:42] local.INFO: GPS data processed {"connection_id":46105,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:42:42] local.INFO: Acknowledgment sent {"connection_id":46105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:42:50] local.INFO: TCP Data received {"connection_id":45810,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:42:50] local.INFO: Processing buffer {"connection_id":45810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:42:50] local.INFO: IMEI packet received {"connection_id":45810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":45810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:42:54] local.INFO: TCP Data received {"connection_id":46673,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:42:54] local.INFO: Processing buffer {"connection_id":46673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:42:54] local.INFO: IMEI packet received {"connection_id":46673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":46673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:42:56] local.INFO: TCP Data received {"connection_id":45810,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45810,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:42:56] local.INFO: Processing buffer {"connection_id":45810,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:42:56] local.INFO: IMEI packet received {"connection_id":45810,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":45810,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:42:57] local.INFO: TCP Data received {"connection_id":45810,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:42:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:42:57] local.INFO: Processing buffer {"connection_id":45810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:42:57] local.INFO: Packet analysis {"connection_id":45810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:42:57] local.INFO: Extracted packet for processing {"connection_id":45810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:42:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":16,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:42:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761777408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:42:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:42:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:42:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:42:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776413494000,"timestamp_ms":1776413494000,"timestamp_seconds":1776413494,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7ecaf0"} 
[2026-04-17 13:42:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:42:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:42:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:42:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:42:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:42:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:42:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:42:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:42:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:42:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:42:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:42:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:42:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:42:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761777408001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:42:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:42:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:42:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761777408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:42:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:42:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:42:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:42:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:42:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761777408001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:42:57] local.INFO: DEBUG: GPS processor result {"connection_id":45810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:42:57] local.INFO: GPS data processed {"connection_id":45810,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:42:57] local.INFO: Acknowledgment sent {"connection_id":45810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:42:59] local.INFO: TCP Data received {"connection_id":46673,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46673,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:42:59] local.INFO: Processing buffer {"connection_id":46673,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:42:59] local.INFO: IMEI packet received {"connection_id":46673,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:42:59] local.INFO: IMEI acknowledgment sent {"connection_id":46673,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:43:00] local.INFO: TCP Data received {"connection_id":46673,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:43:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:43:00] local.INFO: Processing buffer {"connection_id":46673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:43:00] local.INFO: Packet analysis {"connection_id":46673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:43:00] local.INFO: Extracted packet for processing {"connection_id":46673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:43:00] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":37,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:43:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761759744001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43: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-04-17 13:43:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776413425000,"timestamp_ms":1776413425000,"timestamp_seconds":1776413425,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7dbd68"} 
[2026-04-17 13:43:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:43:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:43:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:43:00] 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-04-17 13: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-04-17 13:43:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:43:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:43:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:43:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:43:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:43:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:43:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:43:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:43:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761759744001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:43:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:43:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:43:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761759744001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:43:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:43:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:43:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:43:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:43:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761759744001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:43:00] local.INFO: DEBUG: GPS processor result {"connection_id":46673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:43:00] local.INFO: GPS data processed {"connection_id":46673,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:43:00] local.INFO: Acknowledgment sent {"connection_id":46673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:43:04] local.INFO: TCP Data received {"connection_id":46673,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:43:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46673,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:43:04] local.INFO: Processing buffer {"connection_id":46673,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:43:04] local.INFO: Packet analysis {"connection_id":46673,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:43:04] local.INFO: Extracted packet for processing {"connection_id":46673,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:43:04] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":37,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:43:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761759744001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:43:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776413425000,"timestamp_ms":1776413425000,"timestamp_seconds":1776413425,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7dbd68"} 
[2026-04-17 13:43:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:43:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:43:04] 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-04-17 13: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-04-17 13:43:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:43:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:43:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46673,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:43:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:43:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46673,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:43:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:43:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:43:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:43:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761759744001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:43:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:43:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:43:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761759744001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:43:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:43:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:43:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:43:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:43:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761759744001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:43:05] local.INFO: DEBUG: GPS processor result {"connection_id":46673,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:43:05] local.INFO: GPS data processed {"connection_id":46673,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:43:05] local.INFO: Acknowledgment sent {"connection_id":46673,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:43:09] local.INFO: TCP Data received {"connection_id":45899,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:43:09] local.INFO: Processing buffer {"connection_id":45899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:43:09] local.INFO: IMEI packet received {"connection_id":45899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":45899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:43:12] local.INFO: TCP Data received {"connection_id":45899,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:43:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45899,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:43:12] local.INFO: Processing buffer {"connection_id":45899,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:43:12] local.INFO: IMEI packet received {"connection_id":45899,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:43:12] local.INFO: IMEI acknowledgment sent {"connection_id":45899,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:43:13] local.INFO: TCP Data received {"connection_id":45899,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7ed2c0012d54d100067fea68003d009731..."} 
[2026-04-17 13:43:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7ed2c0012d54d100067fea68003d009731..."} 
[2026-04-17 13:43:13] local.INFO: Processing buffer {"connection_id":45899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7ed2c0012d54d100067fea68003d009731..."} 
[2026-04-17 13:43:13] local.INFO: Packet analysis {"connection_id":45899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:43:13] local.INFO: Extracted packet for processing {"connection_id":45899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:43:13] local.INFO: GPS Element Parsed {"raw_longitude":760533248,"raw_latitude":109046376,"longitude_deg":76.0533248,"latitude_deg":10.9046376,"altitude":61,"angle":151,"satellites":49,"speed":0,"hex_longitude":"2d54d100","hex_latitude":"067fea68","is_valid_coordinates":true} 
[2026-04-17 13:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:43:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761849600001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6099914616961640448,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:13] 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-04-17 13:43:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776413496000,"timestamp_ms":1776413496000,"timestamp_seconds":1776413496,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7ed2c0"} 
[2026-04-17 13:43:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:43:13] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:43:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 13:43:13] 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-04-17 13:43:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:43:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:43:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:43:13] local.INFO: Teltonika packet parsed successfully {"connection_id":45899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:43:13] local.INFO: Passing IMEI to GPS processor {"connection_id":45899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:43:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":45899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:43:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:43:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:43:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:43:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761849600001,"66":28300,"3":206,"19":47872,"24":0,"16":106618783551979520,"45":6099914616961640448},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-04-17 13:43:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:43:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:43:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761849600001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:43:13] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-04-17 13:43:13] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:43:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:43:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":6099914616961640448,"description":"Unknown IO ID 45"} 
[2026-04-17 13:43:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761849600001,"power":28300,"unknown_3":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6099914616961640448}} 
[2026-04-17 13:43:13] local.INFO: DEBUG: GPS processor result {"connection_id":45899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21571,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:43:13] local.INFO: GPS data processed {"connection_id":45899,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:43:13] local.INFO: Acknowledgment sent {"connection_id":45899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:43:15] local.INFO: TCP Data received {"connection_id":45899,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7fdc600100000000000000000000000000..."} 
[2026-04-17 13:43:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7fdc600100000000000000000000000000..."} 
[2026-04-17 13:43:15] local.INFO: Processing buffer {"connection_id":45899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7fdc600100000000000000000000000000..."} 
[2026-04-17 13:43:15] local.INFO: Packet analysis {"connection_id":45899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7f"} 
[2026-04-17 13:43:15] local.INFO: Extracted packet for processing {"connection_id":45899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7f"} 
[2026-04-17 13:43: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-04-17 13: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-04-17 13:43:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761854976001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6111666197234345984,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:15] 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-04-17 13:43:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776413564000,"timestamp_ms":1776413564000,"timestamp_seconds":1776413564,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7fdc60"} 
[2026-04-17 13:43:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:43:15] 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-04-17 13: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 13:43:15] 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-04-17 13: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-04-17 13:43:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:43:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:43:15] local.INFO: Teltonika packet parsed successfully {"connection_id":45899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:43:15] local.INFO: Passing IMEI to GPS processor {"connection_id":45899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:43:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":45899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:43:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:43:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:43:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:43:15] local.INFO: DEBUG: GPS processor result {"connection_id":45899,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:43:15] local.INFO: GPS data processed {"connection_id":45899,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:43:15] local.INFO: Acknowledgment sent {"connection_id":45899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:43:28] local.INFO: TCP Data received {"connection_id":45810,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45810,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:43:28] local.INFO: Processing buffer {"connection_id":45810,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:43:28] local.INFO: Packet analysis {"connection_id":45810,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:43:28] local.INFO: Extracted packet for processing {"connection_id":45810,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:43:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":16,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761777408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776413494000,"timestamp_ms":1776413494000,"timestamp_seconds":1776413494,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7ecaf0"} 
[2026-04-17 13:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45810,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45810,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:43:28] 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-04-17 13:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761777408001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761777408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:43:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:43:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761777408001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":45810,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:43:28] local.INFO: GPS data processed {"connection_id":45810,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:43:28] local.INFO: Acknowledgment sent {"connection_id":45810,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:43:47] local.INFO: TCP Data received {"connection_id":45899,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7f3c38012d551880067f4d98002a00a131..."} 
[2026-04-17 13:43:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7f3c38012d551880067f4d98002a00a131..."} 
[2026-04-17 13:43:47] local.INFO: Processing buffer {"connection_id":45899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7f3c38012d551880067f4d98002a00a131..."} 
[2026-04-17 13:43:47] local.INFO: Packet analysis {"connection_id":45899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7f"} 
[2026-04-17 13:43:47] local.INFO: Extracted packet for processing {"connection_id":45899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7f"} 
[2026-04-17 13:43:47] local.INFO: GPS Element Parsed {"raw_longitude":760551552,"raw_latitude":109006232,"longitude_deg":76.0551552,"latitude_deg":10.9006232,"altitude":42,"angle":161,"satellites":49,"speed":54,"hex_longitude":"2d551880","hex_latitude":"067f4d98","is_valid_coordinates":true} 
[2026-04-17 13:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:43:47] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:47] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,3,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:43:47] local.INFO: AVL Record Parsed {"raw_timestamp":1776413523000,"timestamp_ms":1776413523000,"timestamp_seconds":1776413523,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7f3c38"} 
[2026-04-17 13:43:47] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:43:47] 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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:43:47] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 13:43:47] 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-04-17 13:43:47] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:43:47] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:43:47] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:43:47] local.INFO: Teltonika packet parsed successfully {"connection_id":45899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:43:47] local.INFO: Passing IMEI to GPS processor {"connection_id":45899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:43:47] local.INFO: DEBUG: About to call GPS processor {"connection_id":45899,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:43:47] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:43:47] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:43:47] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:43:47] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28485,"3":206,"19":47872,"24":54,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16]} 
[2026-04-17 13:43:47] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:43:47] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:43:47] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:43:47] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-04-17 13:43:47] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:43:47] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:43:47] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28485,"unknown_3":206,"unknown_19":47872,"ignition":54,"odometer":null}} 
[2026-04-17 13:43:47] local.INFO: DEBUG: GPS processor result {"connection_id":45899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21573,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:43:47] local.INFO: GPS data processed {"connection_id":45899,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:43:47] local.INFO: Acknowledgment sent {"connection_id":45899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:43:49] local.INFO: TCP Data received {"connection_id":45900,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:43:49] local.INFO: Processing buffer {"connection_id":45900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:43:49] local.INFO: IMEI packet received {"connection_id":45900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":45900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:43:50] local.INFO: TCP Data received {"connection_id":46106,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:43:50] local.INFO: Processing buffer {"connection_id":46106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:43:50] local.INFO: IMEI packet received {"connection_id":46106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":46106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:43:53] local.INFO: TCP Data received {"connection_id":45900,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:43:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:43:53] local.INFO: Processing buffer {"connection_id":45900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:43:53] local.INFO: IMEI packet received {"connection_id":45900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:43:53] local.INFO: IMEI acknowledgment sent {"connection_id":45900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:43:54] local.INFO: TCP Data received {"connection_id":45900,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:43:54] local.INFO: Processing buffer {"connection_id":45900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:43:54] local.INFO: Packet analysis {"connection_id":45900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:43:54] local.INFO: Extracted packet for processing {"connection_id":45900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:43:54] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":37,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:43:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761759744001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43: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-04-17 13:43:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776413425000,"timestamp_ms":1776413425000,"timestamp_seconds":1776413425,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7dbd68"} 
[2026-04-17 13:43:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:43:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:43:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:43:54] 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-04-17 13:43:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:43:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:43:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:43:54] local.INFO: Teltonika packet parsed successfully {"connection_id":45900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:43:54] local.INFO: Passing IMEI to GPS processor {"connection_id":45900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:43:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":45900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:43:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:43:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:43:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:43:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761759744001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:43:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:43:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:43:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761759744001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:43:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:43:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:43:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:43:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:43:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761759744001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":45900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21574,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:43:55] local.INFO: GPS data processed {"connection_id":45900,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:43:55] local.INFO: Acknowledgment sent {"connection_id":45900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:43:56] local.INFO: TCP Data received {"connection_id":46106,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:43:56] local.INFO: Processing buffer {"connection_id":46106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:43:56] local.INFO: IMEI packet received {"connection_id":46106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":46106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:43:57] local.INFO: TCP Data received {"connection_id":46106,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:43:57] local.INFO: Processing buffer {"connection_id":46106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:43:57] local.INFO: Packet analysis {"connection_id":46106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:43:57] local.INFO: Extracted packet for processing {"connection_id":46106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:43:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":16,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761777408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776413494000,"timestamp_ms":1776413494000,"timestamp_seconds":1776413494,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7ecaf0"} 
[2026-04-17 13:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761777408001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761777408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:43:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:43:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761777408001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":46106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:43:57] local.INFO: GPS data processed {"connection_id":46106,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:43:57] local.INFO: Acknowledgment sent {"connection_id":46106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:44:01] local.INFO: TCP Data received {"connection_id":46107,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:44:01] local.INFO: Processing buffer {"connection_id":46107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:44:01] local.INFO: IMEI packet received {"connection_id":46107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:44:01] local.INFO: IMEI acknowledgment sent {"connection_id":46107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:44:05] local.INFO: TCP Data received {"connection_id":46107,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:44:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:44:05] local.INFO: Processing buffer {"connection_id":46107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:44:05] local.INFO: IMEI packet received {"connection_id":46107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:44:05] local.INFO: IMEI acknowledgment sent {"connection_id":46107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:44:10] local.INFO: TCP Data received {"connection_id":46107,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:44:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46107,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:44:10] local.INFO: Processing buffer {"connection_id":46107,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:44:10] local.INFO: IMEI packet received {"connection_id":46107,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:44:10] local.INFO: IMEI acknowledgment sent {"connection_id":46107,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:44:11] local.INFO: TCP Data received {"connection_id":46107,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7f7ab8012d553d00067effe00025009133..."} 
[2026-04-17 13:44:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7f7ab8012d553d00067effe00025009133..."} 
[2026-04-17 13:44:11] local.INFO: Processing buffer {"connection_id":46107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7f7ab8012d553d00067effe00025009133..."} 
[2026-04-17 13:44:11] local.INFO: Packet analysis {"connection_id":46107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7f"} 
[2026-04-17 13:44:11] local.INFO: Extracted packet for processing {"connection_id":46107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7f"} 
[2026-04-17 13:44:11] local.INFO: GPS Element Parsed {"raw_longitude":760560896,"raw_latitude":108986336,"longitude_deg":76.0560896,"latitude_deg":10.8986336,"altitude":37,"angle":145,"satellites":51,"speed":57,"hex_longitude":"2d553d00","hex_latitude":"067effe0","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:44:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761861888001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:44:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:44:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6131791658058881024,"note":"Value kept but may cause issues"} 
[2026-04-17 13:44:11] 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-04-17 13:44:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776413539000,"timestamp_ms":1776413539000,"timestamp_seconds":1776413539,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7f7ab8"} 
[2026-04-17 13:44:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:44:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":111,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-17 13:44:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1374,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:44:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:44:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:44:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:44:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:44:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:44:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:44:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:44:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:44:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761861888001,"66":28398,"3":206,"19":47872,"24":57,"16":106618783551979520,"45":6131791658058881024},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,3,19,24,16,45]} 
[2026-04-17 13:44:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:44:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:44:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761861888001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:44:11] local.INFO: Unknown IO ID detected {"io_id":3,"value":206,"description":"Unknown IO ID 3"} 
[2026-04-17 13:44:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:44:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:44:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6131791658058881024,"description":"Unknown IO ID 45"} 
[2026-04-17 13:44:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761861888001,"power":28398,"unknown_3":206,"unknown_19":47872,"ignition":57,"odometer":null,"unknown_45":6131791658058881024}} 
[2026-04-17 13:44:11] local.INFO: DEBUG: GPS processor result {"connection_id":46107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21576,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:44:11] local.INFO: GPS data processed {"connection_id":46107,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:44:11] local.INFO: Acknowledgment sent {"connection_id":46107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:44:26] local.INFO: TCP Data received {"connection_id":45900,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:44:26] local.INFO: Processing buffer {"connection_id":45900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:44:26] local.INFO: Packet analysis {"connection_id":45900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:44:26] local.INFO: Extracted packet for processing {"connection_id":45900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:44:26] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":37,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:44:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761759744001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:44:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:44:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:44: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-04-17 13:44:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776413425000,"timestamp_ms":1776413425000,"timestamp_seconds":1776413425,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7dbd68"} 
[2026-04-17 13:44:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:44:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:44:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:44:26] 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-04-17 13: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-04-17 13:44:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:44:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:44:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:44:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:44:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:44:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:44:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:44:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:44:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761759744001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:44:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:44:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:44:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761759744001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:44:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:44:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:44:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:44:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:44:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761759744001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:44:26] local.INFO: DEBUG: GPS processor result {"connection_id":45900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:44:26] local.INFO: GPS data processed {"connection_id":45900,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:44:26] local.INFO: Acknowledgment sent {"connection_id":45900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:44:28] local.INFO: TCP Data received {"connection_id":46106,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:44:28] local.INFO: Processing buffer {"connection_id":46106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:44:28] local.INFO: Packet analysis {"connection_id":46106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:44:28] local.INFO: Extracted packet for processing {"connection_id":46106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:44:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":16,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761777408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776413494000,"timestamp_ms":1776413494000,"timestamp_seconds":1776413494,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7ecaf0"} 
[2026-04-17 13:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46106,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:44:28] 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-04-17 13:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761777408001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761777408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:44:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761777408001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":46106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:44:28] local.INFO: GPS data processed {"connection_id":46106,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:44:28] local.INFO: Acknowledgment sent {"connection_id":46106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:44:43] local.INFO: TCP Data received {"connection_id":46107,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7fb938012d556a40067eb1c8002000a322..."} 
[2026-04-17 13:44:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7fb938012d556a40067eb1c8002000a322..."} 
[2026-04-17 13:44:43] local.INFO: Processing buffer {"connection_id":46107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7fb938012d556a40067eb1c8002000a322..."} 
[2026-04-17 13:44:43] local.INFO: Packet analysis {"connection_id":46107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7f"} 
[2026-04-17 13:44:43] local.INFO: Extracted packet for processing {"connection_id":46107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7f"} 
[2026-04-17 13:44:43] local.INFO: GPS Element Parsed {"raw_longitude":760572480,"raw_latitude":108966344,"longitude_deg":76.057248,"latitude_deg":10.8966344,"altitude":32,"angle":163,"satellites":34,"speed":58,"hex_longitude":"2d556a40","hex_latitude":"067eb1c8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:44:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761865984001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:44:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:44:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6142065494703726592,"note":"Value kept but may cause issues"} 
[2026-04-17 13:44:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:44:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776413555000,"timestamp_ms":1776413555000,"timestamp_seconds":1776413555,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7fb938"} 
[2026-04-17 13:44:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:44: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-04-17 13: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 13:44:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:44:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:44:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:44:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:44:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:44:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46107,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:44:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:44:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:44:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:44:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761865984001,"66":28495,"1":206,"19":47872,"24":58,"16":106618783551979520,"45":6142065494703726592},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-04-17 13:44:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:44:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:44:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761865984001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:44:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:44:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:44:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":6142065494703726592,"description":"Unknown IO ID 45"} 
[2026-04-17 13:44:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761865984001,"power":28495,"imei":206,"unknown_19":47872,"ignition":58,"odometer":null,"unknown_45":6142065494703726592}} 
[2026-04-17 13:44:43] local.INFO: DEBUG: GPS processor result {"connection_id":46107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21579,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:44:43] local.INFO: GPS data processed {"connection_id":46107,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:44:43] local.INFO: Acknowledgment sent {"connection_id":46107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:44:49] local.INFO: TCP Data received {"connection_id":46108,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:44:49] local.INFO: Processing buffer {"connection_id":46108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:44:49] local.INFO: IMEI packet received {"connection_id":46108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":46108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:44:53] local.INFO: TCP Data received {"connection_id":46108,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:44:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46108,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:44:53] local.INFO: Processing buffer {"connection_id":46108,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:44:53] local.INFO: IMEI packet received {"connection_id":46108,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:44:53] local.INFO: IMEI acknowledgment sent {"connection_id":46108,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:44:54] local.INFO: TCP Data received {"connection_id":46108,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:44:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:44:54] local.INFO: Processing buffer {"connection_id":46108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:44:54] local.INFO: Packet analysis {"connection_id":46108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:44:54] local.INFO: Extracted packet for processing {"connection_id":46108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:44:54] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":37,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:44:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761759744001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:44:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:44:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:44: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-04-17 13:44:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776413425000,"timestamp_ms":1776413425000,"timestamp_seconds":1776413425,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7dbd68"} 
[2026-04-17 13:44:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:44:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:44:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:44:54] 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-04-17 13:44:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:44:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:44:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:44:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:44:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:44:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:44:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:44:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:44:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:44:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761759744001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:44:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:44:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:44:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761759744001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:44:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:44:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:44:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:44:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:44:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761759744001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:44:54] local.INFO: DEBUG: GPS processor result {"connection_id":46108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:44:54] local.INFO: GPS data processed {"connection_id":46108,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:44:54] local.INFO: Acknowledgment sent {"connection_id":46108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:44:56] local.INFO: TCP Data received {"connection_id":45901,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:44:56] local.INFO: Processing buffer {"connection_id":45901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:44:56] local.INFO: IMEI packet received {"connection_id":45901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":45901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:45:01] local.INFO: TCP Data received {"connection_id":45901,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:45:01] local.INFO: Processing buffer {"connection_id":45901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:45:01] local.INFO: IMEI packet received {"connection_id":45901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:45:01] local.INFO: IMEI acknowledgment sent {"connection_id":45901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:45:01] local.INFO: TCP Data received {"connection_id":45901,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:45:01] local.INFO: Processing buffer {"connection_id":45901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:45:01] local.INFO: Packet analysis {"connection_id":45901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:45:01] local.INFO: Extracted packet for processing {"connection_id":45901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":16,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761777408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776413494000,"timestamp_ms":1776413494000,"timestamp_seconds":1776413494,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7ecaf0"} 
[2026-04-17 13:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:45: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-04-17 13:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761777408001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761777408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:45:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761777408001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":45901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21581,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:45:01] local.INFO: GPS data processed {"connection_id":45901,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:45:01] local.INFO: Acknowledgment sent {"connection_id":45901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:45:04] local.INFO: TCP Data received {"connection_id":46674,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:45:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:45:04] local.INFO: Processing buffer {"connection_id":46674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:45:04] local.INFO: IMEI packet received {"connection_id":46674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:45:04] local.INFO: IMEI acknowledgment sent {"connection_id":46674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:45:06] local.INFO: TCP Data received {"connection_id":45901,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:45:06] local.INFO: Processing buffer {"connection_id":45901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:45:06] local.INFO: Packet analysis {"connection_id":45901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:45:06] local.INFO: Extracted packet for processing {"connection_id":45901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":16,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761777408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776413494000,"timestamp_ms":1776413494000,"timestamp_seconds":1776413494,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7ecaf0"} 
[2026-04-17 13:45:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:45:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:45:06] 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-04-17 13:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761777408001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761777408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:45:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761777408001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":45901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21582,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:45:06] local.INFO: GPS data processed {"connection_id":45901,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:45:06] local.INFO: Acknowledgment sent {"connection_id":45901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:45:10] local.INFO: TCP Data received {"connection_id":46674,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:45:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46674,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:45:10] local.INFO: Processing buffer {"connection_id":46674,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:45:10] local.INFO: IMEI packet received {"connection_id":46674,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:45:10] local.INFO: IMEI acknowledgment sent {"connection_id":46674,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:45:12] local.INFO: TCP Data received {"connection_id":46674,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a800758012d557dc0067e53f0001900a731..."} 
[2026-04-17 13:45:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a800758012d557dc0067e53f0001900a731..."} 
[2026-04-17 13:45:12] local.INFO: Processing buffer {"connection_id":46674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a800758012d557dc0067e53f0001900a731..."} 
[2026-04-17 13:45:12] local.INFO: Packet analysis {"connection_id":46674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a80"} 
[2026-04-17 13:45:12] local.INFO: Extracted packet for processing {"connection_id":46674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a80"} 
[2026-04-17 13:45:12] local.INFO: GPS Element Parsed {"raw_longitude":760577472,"raw_latitude":108942320,"longitude_deg":76.0577472,"latitude_deg":10.894232,"altitude":25,"angle":167,"satellites":49,"speed":0,"hex_longitude":"2d557dc0","hex_latitude":"067e53f0","is_valid_coordinates":true} 
[2026-04-17 13:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:45:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761870080001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6154802237394765824,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:45:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776413575000,"timestamp_ms":1776413575000,"timestamp_seconds":1776413575,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a800758"} 
[2026-04-17 13:45:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:45:12] 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-04-17 13:45:12] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-17 13:45:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1464,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:45:12] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:45:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:45:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:45:12] local.INFO: Teltonika packet parsed successfully {"connection_id":46674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:45:12] local.INFO: Passing IMEI to GPS processor {"connection_id":46674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:45:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":46674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:45:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:45:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:45:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:45:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761870080001,"66":28452,"1":206,"19":47872,"24":0,"16":106618783551979520,"45":6154802237394765824},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-04-17 13:45:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:45:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:45:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761870080001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:45:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:45:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:45:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":6154802237394765824,"description":"Unknown IO ID 45"} 
[2026-04-17 13:45:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761870080001,"power":28452,"imei":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6154802237394765824}} 
[2026-04-17 13:45:12] local.INFO: DEBUG: GPS processor result {"connection_id":46674,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21583,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:45:12] local.INFO: GPS data processed {"connection_id":46674,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:45:12] local.INFO: Acknowledgment sent {"connection_id":46674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:45:26] local.INFO: TCP Data received {"connection_id":46108,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46108,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:45:26] local.INFO: Processing buffer {"connection_id":46108,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:45:26] local.INFO: Packet analysis {"connection_id":46108,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:45:26] local.INFO: Extracted packet for processing {"connection_id":46108,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:45:26] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":37,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761759744001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45: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-04-17 13:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776413425000,"timestamp_ms":1776413425000,"timestamp_seconds":1776413425,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7dbd68"} 
[2026-04-17 13:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:45:26] 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-04-17 13:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46108,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46108,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761759744001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761759744001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:45:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:45:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761759744001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:45:26] local.INFO: DEBUG: GPS processor result {"connection_id":46108,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:45:26] local.INFO: GPS data processed {"connection_id":46108,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:45:26] local.INFO: Acknowledgment sent {"connection_id":46108,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:45:43] local.INFO: TCP Data received {"connection_id":46674,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8110f80100000000000000000000000000..."} 
[2026-04-17 13:45:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46674,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8110f80100000000000000000000000000..."} 
[2026-04-17 13:45:43] local.INFO: Processing buffer {"connection_id":46674,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8110f80100000000000000000000000000..."} 
[2026-04-17 13:45:43] local.INFO: Packet analysis {"connection_id":46674,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a81"} 
[2026-04-17 13:45:43] local.INFO: Extracted packet for processing {"connection_id":46674,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a81"} 
[2026-04-17 13:45: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-04-17 13:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:45:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761875200001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6160290999434473472,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:45:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776413643000,"timestamp_ms":1776413643000,"timestamp_seconds":1776413643,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8110f8"} 
[2026-04-17 13:45:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:45: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-04-17 13:45:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":111,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 13:45:43] 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-04-17 13:45:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:45:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:45:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:45:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46674,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:45:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:45:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46674,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:45:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:45:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:45:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:45:43] local.INFO: DEBUG: GPS processor result {"connection_id":46674,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:45:43] local.INFO: GPS data processed {"connection_id":46674,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:45:43] local.INFO: Acknowledgment sent {"connection_id":46674,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:45:48] local.INFO: TCP Data received {"connection_id":45811,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:45:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:45:48] local.INFO: Processing buffer {"connection_id":45811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:45:48] local.INFO: IMEI packet received {"connection_id":45811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:45:48] local.INFO: IMEI acknowledgment sent {"connection_id":45811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:45:51] local.INFO: TCP Data received {"connection_id":46109,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:45:51] local.INFO: Processing buffer {"connection_id":46109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:45:51] local.INFO: IMEI packet received {"connection_id":46109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":46109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:45:54] local.INFO: TCP Data received {"connection_id":45811,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:45:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45811,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:45:54] local.INFO: Processing buffer {"connection_id":45811,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:45:54] local.INFO: IMEI packet received {"connection_id":45811,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:45:54] local.INFO: IMEI acknowledgment sent {"connection_id":45811,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:45:55] local.INFO: TCP Data received {"connection_id":45811,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:45:55] local.INFO: Processing buffer {"connection_id":45811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7dbd68012d1974c0071fecd8003b011925..."} 
[2026-04-17 13:45:55] local.INFO: Packet analysis {"connection_id":45811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:45:55] local.INFO: Extracted packet for processing {"connection_id":45811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7d"} 
[2026-04-17 13:45:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":37,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:45:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761759744001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45: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-04-17 13:45:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776413425000,"timestamp_ms":1776413425000,"timestamp_seconds":1776413425,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7dbd68"} 
[2026-04-17 13:45:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:45:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11776,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:45:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:45:55] 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-04-17 13:45:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:45:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:45:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:45:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:45:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:45:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:45:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:45:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:45:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:45:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761759744001,"66":2177,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:45:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:45:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:45:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761759744001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:45:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:45:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:45:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:45:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:45:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761759744001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:45:55] local.INFO: DEBUG: GPS processor result {"connection_id":45811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:45:55] local.INFO: GPS data processed {"connection_id":45811,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:45:55] local.INFO: Acknowledgment sent {"connection_id":45811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:45:56] local.INFO: TCP Data received {"connection_id":46109,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46109,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:45:56] local.INFO: Processing buffer {"connection_id":46109,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:45:56] local.INFO: IMEI packet received {"connection_id":46109,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":46109,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:45:57] local.INFO: TCP Data received {"connection_id":46109,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:45:57] local.INFO: Processing buffer {"connection_id":46109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:45:57] local.INFO: Packet analysis {"connection_id":46109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:45:57] local.INFO: Extracted packet for processing {"connection_id":46109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:45:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":16,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761777408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776413494000,"timestamp_ms":1776413494000,"timestamp_seconds":1776413494,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7ecaf0"} 
[2026-04-17 13:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:45:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761777408001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761777408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:45:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:45:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761777408001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":46109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:45:57] local.INFO: GPS data processed {"connection_id":46109,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:45:57] local.INFO: Acknowledgment sent {"connection_id":46109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:46:04] local.INFO: TCP Data received {"connection_id":46675,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:46:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:46:04] local.INFO: Processing buffer {"connection_id":46675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:46:04] local.INFO: IMEI packet received {"connection_id":46675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:46:04] local.INFO: IMEI acknowledgment sent {"connection_id":46675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:46:09] local.INFO: TCP Data received {"connection_id":46675,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:46:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46675,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:46:09] local.INFO: Processing buffer {"connection_id":46675,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:46:09] local.INFO: IMEI packet received {"connection_id":46675,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:46:09] local.INFO: IMEI acknowledgment sent {"connection_id":46675,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:46:11] local.INFO: TCP Data received {"connection_id":46675,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8074b8012d55c8c0067da4680014009230..."} 
[2026-04-17 13:46:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8074b8012d55c8c0067da4680014009230..."} 
[2026-04-17 13:46:11] local.INFO: Processing buffer {"connection_id":46675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8074b8012d55c8c0067da4680014009230..."} 
[2026-04-17 13:46:11] local.INFO: Packet analysis {"connection_id":46675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a80"} 
[2026-04-17 13:46:11] local.INFO: Extracted packet for processing {"connection_id":46675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a80"} 
[2026-04-17 13:46:11] local.INFO: GPS Element Parsed {"raw_longitude":760596672,"raw_latitude":108897384,"longitude_deg":76.0596672,"latitude_deg":10.8897384,"altitude":20,"angle":146,"satellites":48,"speed":60,"hex_longitude":"2d55c8c0","hex_latitude":"067da468","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:46:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:46:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,1,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:46:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776413603000,"timestamp_ms":1776413603000,"timestamp_seconds":1776413603,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8074b8"} 
[2026-04-17 13:46:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:46:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-17 13:46:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:46:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:46:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:46:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:46:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:46:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:46:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:46:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:46:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:46:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28332,"1":206,"19":47872,"24":60,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16]} 
[2026-04-17 13:46:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:46:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:46:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:46:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:46:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:46:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28332,"imei":206,"unknown_19":47872,"ignition":60,"odometer":null}} 
[2026-04-17 13:46:11] local.INFO: DEBUG: GPS processor result {"connection_id":46675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21587,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:46:11] local.INFO: GPS data processed {"connection_id":46675,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:46:11] local.INFO: Acknowledgment sent {"connection_id":46675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:46:26] local.INFO: TCP Data received {"connection_id":45811,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:46:26] local.INFO: Processing buffer {"connection_id":45811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:46:26] local.INFO: Packet analysis {"connection_id":45811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:46:26] local.INFO: Extracted packet for processing {"connection_id":45811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:46:26] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":36,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761836800001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:46: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-04-17 13:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776413726000,"timestamp_ms":1776413726000,"timestamp_seconds":1776413726,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a825530"} 
[2026-04-17 13:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:46:26] 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-04-17 13:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:46:26] 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-04-17 13:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45811,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761836800001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761836800001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:46:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:46:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761836800001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":45811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:46:26] local.INFO: GPS data processed {"connection_id":45811,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:46:26] local.INFO: Acknowledgment sent {"connection_id":45811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:46:28] local.INFO: TCP Data received {"connection_id":46109,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46109,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:46:28] local.INFO: Processing buffer {"connection_id":46109,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:46:28] local.INFO: Packet analysis {"connection_id":46109,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:46:28] local.INFO: Extracted packet for processing {"connection_id":46109,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":16,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761777408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776413494000,"timestamp_ms":1776413494000,"timestamp_seconds":1776413494,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7ecaf0"} 
[2026-04-17 13:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:46:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46109,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46109,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761777408001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761777408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:46:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761777408001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":46109,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21589,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:46:28] local.INFO: GPS data processed {"connection_id":46109,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:46:28] local.INFO: Acknowledgment sent {"connection_id":46109,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:46:42] local.INFO: TCP Data received {"connection_id":46675,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a80c6c0012d560340067d5b28001100892c..."} 
[2026-04-17 13:46:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46675,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a80c6c0012d560340067d5b28001100892c..."} 
[2026-04-17 13:46:42] local.INFO: Processing buffer {"connection_id":46675,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a80c6c0012d560340067d5b28001100892c..."} 
[2026-04-17 13:46:42] local.INFO: Packet analysis {"connection_id":46675,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a80"} 
[2026-04-17 13:46:42] local.INFO: Extracted packet for processing {"connection_id":46675,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a80"} 
[2026-04-17 13:46:42] local.INFO: GPS Element Parsed {"raw_longitude":760611648,"raw_latitude":108878632,"longitude_deg":76.0611648,"latitude_deg":10.8878632,"altitude":17,"angle":137,"satellites":44,"speed":0,"hex_longitude":"2d560340","hex_latitude":"067d5b28","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:46:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761882368001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:46:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:46:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6181401622676269056,"note":"Value kept but may cause issues"} 
[2026-04-17 13:46:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:46:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776413624000,"timestamp_ms":1776413624000,"timestamp_seconds":1776413624,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a80c6c0"} 
[2026-04-17 13:46:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:46:42] 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-04-17 13: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-17 13:46:42] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:46:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:46:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:46:42] local.INFO: Teltonika packet parsed successfully {"connection_id":46675,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:46:42] local.INFO: Passing IMEI to GPS processor {"connection_id":46675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:46:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":46675,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:46:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:46:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:46:42] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:46:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761882368001,"66":28267,"1":206,"19":47872,"24":0,"16":106618783551979520,"45":6181401622676269056},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":206,"io_data_keys":[0,66,1,19,24,16,45]} 
[2026-04-17 13:46:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:46:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:46:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761882368001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:46:42] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:46:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:46:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":6181401622676269056,"description":"Unknown IO ID 45"} 
[2026-04-17 13:46:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761882368001,"power":28267,"imei":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6181401622676269056}} 
[2026-04-17 13:46:42] local.INFO: DEBUG: GPS processor result {"connection_id":46675,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21590,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:46:42] local.INFO: GPS data processed {"connection_id":46675,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:46:42] local.INFO: Acknowledgment sent {"connection_id":46675,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:46:49] local.INFO: TCP Data received {"connection_id":46110,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:46:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:46:49] local.INFO: Processing buffer {"connection_id":46110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:46:49] local.INFO: IMEI packet received {"connection_id":46110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:46:49] local.INFO: IMEI acknowledgment sent {"connection_id":46110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:46:50] local.INFO: TCP Data received {"connection_id":46111,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:46:50] local.INFO: Processing buffer {"connection_id":46111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:46:50] local.INFO: IMEI packet received {"connection_id":46111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":46111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:46:53] local.INFO: TCP Data received {"connection_id":46110,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46110,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:46:53] local.INFO: Processing buffer {"connection_id":46110,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:46:53] local.INFO: IMEI packet received {"connection_id":46110,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:46:53] local.INFO: IMEI acknowledgment sent {"connection_id":46110,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:46:55] local.INFO: TCP Data received {"connection_id":46110,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:46:55] local.INFO: Processing buffer {"connection_id":46110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:46:55] local.INFO: Packet analysis {"connection_id":46110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:46:55] local.INFO: Extracted packet for processing {"connection_id":46110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:46:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":36,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:46:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761836800001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:46:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:46:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:46: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-04-17 13:46:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776413726000,"timestamp_ms":1776413726000,"timestamp_seconds":1776413726,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a825530"} 
[2026-04-17 13:46:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:46: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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:46:55] 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-04-17 13: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-04-17 13:46:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:46:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:46:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:46:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:46:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:46:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:46:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:46:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:46:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761836800001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:46:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:46:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:46:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761836800001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:46:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:46:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:46:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:46:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:46:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761836800001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":46110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:46:55] local.INFO: GPS data processed {"connection_id":46110,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:46:55] local.INFO: Acknowledgment sent {"connection_id":46110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:46:56] local.INFO: TCP Data received {"connection_id":46111,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46111,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:46:56] local.INFO: Processing buffer {"connection_id":46111,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:46:56] local.INFO: IMEI packet received {"connection_id":46111,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":46111,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:46:57] local.INFO: TCP Data received {"connection_id":46111,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:46:57] local.INFO: Processing buffer {"connection_id":46111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a7ecaf0012d7faa8005afd2f80010000032..."} 
[2026-04-17 13:46:57] local.INFO: Packet analysis {"connection_id":46111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:46:57] local.INFO: Extracted packet for processing {"connection_id":46111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a7e"} 
[2026-04-17 13:46:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":16,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761777408001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776413494000,"timestamp_ms":1776413494000,"timestamp_seconds":1776413494,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a7ecaf0"} 
[2026-04-17 13:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 13:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761777408001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761777408001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:46:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761777408001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":46111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:46:57] local.INFO: GPS data processed {"connection_id":46111,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:46:57] local.INFO: Acknowledgment sent {"connection_id":46111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:47:10] local.INFO: TCP Data received {"connection_id":45902,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:47:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:47:10] local.INFO: Processing buffer {"connection_id":45902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:47:10] local.INFO: IMEI packet received {"connection_id":45902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:47:10] local.INFO: IMEI acknowledgment sent {"connection_id":45902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:47:15] local.INFO: TCP Data received {"connection_id":45902,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:47:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45902,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:47:15] local.INFO: Processing buffer {"connection_id":45902,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:47:15] local.INFO: IMEI packet received {"connection_id":45902,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:47:15] local.INFO: IMEI acknowledgment sent {"connection_id":45902,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:47:19] local.INFO: TCP Data received {"connection_id":45902,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a81d0600100000000000000000000000000..."} 
[2026-04-17 13:47:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a81d0600100000000000000000000000000..."} 
[2026-04-17 13:47:19] local.INFO: Processing buffer {"connection_id":45902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a81d0600100000000000000000000000000..."} 
[2026-04-17 13:47:19] local.INFO: Packet analysis {"connection_id":45902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a81"} 
[2026-04-17 13:47:19] local.INFO: Extracted packet for processing {"connection_id":45902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a81"} 
[2026-04-17 13:47: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-04-17 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-04-17 13:47:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761887744001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:47:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:47:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6197867908809041920,"note":"Value kept but may cause issues"} 
[2026-04-17 13:47:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:47:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776413692000,"timestamp_ms":1776413692000,"timestamp_seconds":1776413692,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a81d060"} 
[2026-04-17 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-04-17 13:47:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":110,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 13:47:19] 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-04-17 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-04-17 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-04-17 13:47:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:47:19] local.INFO: Teltonika packet parsed successfully {"connection_id":45902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:47:19] local.INFO: Passing IMEI to GPS processor {"connection_id":45902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:47:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":45902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:47:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:47:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:47:19] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:47:19] local.INFO: DEBUG: GPS processor result {"connection_id":45902,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:47:19] local.INFO: GPS data processed {"connection_id":45902,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:47:19] local.INFO: Acknowledgment sent {"connection_id":45902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:47:20] local.INFO: TCP Data received {"connection_id":45902,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a813420012d567800067ce868001300862f..."} 
[2026-04-17 13:47:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a813420012d567800067ce868001300862f..."} 
[2026-04-17 13:47:20] local.INFO: Processing buffer {"connection_id":45902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a813420012d567800067ce868001300862f..."} 
[2026-04-17 13:47:20] local.INFO: Packet analysis {"connection_id":45902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a81"} 
[2026-04-17 13:47:20] local.INFO: Extracted packet for processing {"connection_id":45902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a81"} 
[2026-04-17 13:47:20] local.INFO: GPS Element Parsed {"raw_longitude":760641536,"raw_latitude":108849256,"longitude_deg":76.0641536,"latitude_deg":10.8849256,"altitude":19,"angle":134,"satellites":47,"speed":50,"hex_longitude":"2d567800","hex_latitude":"067ce868","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:47:20] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:47:20] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,53,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:47:20] local.INFO: AVL Record Parsed {"raw_timestamp":1776413652000,"timestamp_ms":1776413652000,"timestamp_seconds":1776413652,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a813420"} 
[2026-04-17 13:47:20] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:47:20] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 13:47:20] 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-04-17 13: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-04-17 13:47:20] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:47:20] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:47:20] local.INFO: Teltonika packet parsed successfully {"connection_id":45902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:47:20] local.INFO: Passing IMEI to GPS processor {"connection_id":45902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:47:20] local.INFO: DEBUG: About to call GPS processor {"connection_id":45902,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:47:20] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:47:20] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:47:20] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:47:20] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28376,"53":206,"19":47872,"24":50,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16]} 
[2026-04-17 13:47:20] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:47:20] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:47:20] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:47:20] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-17 13:47:20] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:47:20] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:47:20] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28376,"unknown_53":206,"unknown_19":47872,"ignition":50,"odometer":null}} 
[2026-04-17 13:47:20] local.INFO: DEBUG: GPS processor result {"connection_id":45902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21593,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:47:20] local.INFO: GPS data processed {"connection_id":45902,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:47:20] local.INFO: Acknowledgment sent {"connection_id":45902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:47:27] local.INFO: TCP Data received {"connection_id":46110,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:47:27] local.INFO: Processing buffer {"connection_id":46110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:47:27] local.INFO: Packet analysis {"connection_id":46110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:47:27] local.INFO: Extracted packet for processing {"connection_id":46110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:47:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":36,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761836800001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:47: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-04-17 13:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776413726000,"timestamp_ms":1776413726000,"timestamp_seconds":1776413726,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a825530"} 
[2026-04-17 13:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:47:27] 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-04-17 13:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:47:27] 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-04-17 13:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46110,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761836800001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761836800001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:47:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:47:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761836800001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":46110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:47:27] local.INFO: GPS data processed {"connection_id":46110,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:47:27] local.INFO: Acknowledgment sent {"connection_id":46110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:47:28] local.INFO: TCP Data received {"connection_id":46111,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46111,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:47:28] local.INFO: Processing buffer {"connection_id":46111,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:47:28] local.INFO: Packet analysis {"connection_id":46111,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:47:28] local.INFO: Extracted packet for processing {"connection_id":46111,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:47:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":19,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761854464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776413795000,"timestamp_ms":1776413795000,"timestamp_seconds":1776413795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8362b8"} 
[2026-04-17 13:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:47: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-04-17 13:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46111,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46111,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761854464001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761854464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:47:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:47:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761854464001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":46111,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21595,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:47:28] local.INFO: GPS data processed {"connection_id":46111,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:47:28] local.INFO: Acknowledgment sent {"connection_id":46111,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:47:48] local.INFO: TCP Data received {"connection_id":45812,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:47:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:47:48] local.INFO: Processing buffer {"connection_id":45812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:47:48] local.INFO: IMEI packet received {"connection_id":45812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:47:48] local.INFO: IMEI acknowledgment sent {"connection_id":45812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:47:50] local.INFO: TCP Data received {"connection_id":45813,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:47:50] local.INFO: Processing buffer {"connection_id":45813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:47:50] local.INFO: IMEI packet received {"connection_id":45813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":45813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:47:54] local.INFO: TCP Data received {"connection_id":45812,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:47:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45812,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:47:54] local.INFO: Processing buffer {"connection_id":45812,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:47:54] local.INFO: IMEI packet received {"connection_id":45812,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:47:54] local.INFO: IMEI acknowledgment sent {"connection_id":45812,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:47:56] local.INFO: TCP Data received {"connection_id":45813,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:47:56] local.INFO: Processing buffer {"connection_id":45813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:47:56] local.INFO: IMEI packet received {"connection_id":45813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":45813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:47:56] local.INFO: TCP Data received {"connection_id":45812,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:47:56] local.INFO: Processing buffer {"connection_id":45812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:47:56] local.INFO: Packet analysis {"connection_id":45812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:47:56] local.INFO: Extracted packet for processing {"connection_id":45812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:47:56] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":36,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761836800001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:47: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-04-17 13:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776413726000,"timestamp_ms":1776413726000,"timestamp_seconds":1776413726,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a825530"} 
[2026-04-17 13:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:47:56] 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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:47: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-04-17 13: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-04-17 13:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761836800001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761836800001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:47:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:47:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761836800001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":45812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:47:56] local.INFO: GPS data processed {"connection_id":45812,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:47:56] local.INFO: Acknowledgment sent {"connection_id":45812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:47:57] local.INFO: TCP Data received {"connection_id":45813,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:47:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:47:57] local.INFO: Processing buffer {"connection_id":45813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:47:57] local.INFO: Packet analysis {"connection_id":45813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:47:57] local.INFO: Extracted packet for processing {"connection_id":45813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:47:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":19,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:47:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761854464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:47:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:47:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:47:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:47:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776413795000,"timestamp_ms":1776413795000,"timestamp_seconds":1776413795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8362b8"} 
[2026-04-17 13:47:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:47:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:47:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:47:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:47:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:47:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:47:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:47:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:47:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:47:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:47:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:47:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:47:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:47:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761854464001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:47:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:47:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:47:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761854464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:47:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:47:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:47:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:47:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:47:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761854464001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:47:57] local.INFO: DEBUG: GPS processor result {"connection_id":45813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:47:57] local.INFO: GPS data processed {"connection_id":45813,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:47:57] local.INFO: Acknowledgment sent {"connection_id":45813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:48:05] local.INFO: TCP Data received {"connection_id":46112,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:48:05] local.INFO: Processing buffer {"connection_id":46112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:48:05] local.INFO: IMEI packet received {"connection_id":46112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:48:05] local.INFO: IMEI acknowledgment sent {"connection_id":46112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:48:06] local.INFO: TCP Data received {"connection_id":46112,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:48:06] local.INFO: Processing buffer {"connection_id":46112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:48:06] local.INFO: IMEI packet received {"connection_id":46112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:48:06] local.INFO: IMEI acknowledgment sent {"connection_id":46112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:48:09] local.INFO: TCP Data received {"connection_id":46112,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46112,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:48:09] local.INFO: Processing buffer {"connection_id":46112,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:48:09] local.INFO: IMEI packet received {"connection_id":46112,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":46112,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:48:10] local.INFO: TCP Data received {"connection_id":46112,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a818628012d56b7c0067ca9d8001100862d..."} 
[2026-04-17 13:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a818628012d56b7c0067ca9d8001100862d..."} 
[2026-04-17 13:48:10] local.INFO: Processing buffer {"connection_id":46112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a818628012d56b7c0067ca9d8001100862d..."} 
[2026-04-17 13:48:10] local.INFO: Packet analysis {"connection_id":46112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a81"} 
[2026-04-17 13:48:10] local.INFO: Extracted packet for processing {"connection_id":46112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a81"} 
[2026-04-17 13:48:10] local.INFO: GPS Element Parsed {"raw_longitude":760657856,"raw_latitude":108833240,"longitude_deg":76.0657856,"latitude_deg":10.883324,"altitude":17,"angle":134,"satellites":45,"speed":0,"hex_longitude":"2d56b7c0","hex_latitude":"067ca9d8","is_valid_coordinates":true} 
[2026-04-17 13:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:48:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761894912001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:48:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:48:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6230730112332490752,"note":"Value kept but may cause issues"} 
[2026-04-17 13:48:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:48:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776413673000,"timestamp_ms":1776413673000,"timestamp_seconds":1776413673,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a818628"} 
[2026-04-17 13:48:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:48:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:48:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 13:48:10] 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-04-17 13:48:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:48:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:48:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:48:10] local.INFO: Teltonika packet parsed successfully {"connection_id":46112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:48:10] local.INFO: Passing IMEI to GPS processor {"connection_id":46112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:48:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":46112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:48:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:48:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:48:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:48:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761894912001,"66":28224,"53":206,"19":47872,"24":0,"16":106618783551979520,"45":6230730112332490752},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,19,24,16,45]} 
[2026-04-17 13:48:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:48:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:48:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761894912001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:48:10] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-17 13:48:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:48:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:48:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":6230730112332490752,"description":"Unknown IO ID 45"} 
[2026-04-17 13:48:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761894912001,"power":28224,"unknown_53":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":6230730112332490752}} 
[2026-04-17 13:48:10] local.INFO: DEBUG: GPS processor result {"connection_id":46112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21598,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:48:10] local.INFO: GPS data processed {"connection_id":46112,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:48:10] local.INFO: Acknowledgment sent {"connection_id":46112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:48:16] local.INFO: TCP Data received {"connection_id":46112,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8293b00100000000000000000000000000..."} 
[2026-04-17 13:48:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8293b00100000000000000000000000000..."} 
[2026-04-17 13:48:16] local.INFO: Processing buffer {"connection_id":46112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8293b00100000000000000000000000000..."} 
[2026-04-17 13:48:16] local.INFO: Packet analysis {"connection_id":46112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:48:16] local.INFO: Extracted packet for processing {"connection_id":46112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:48: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-04-17 13: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-04-17 13:48:16] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761900288001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:48:16] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:48:16] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6248674142093694976,"note":"Value kept but may cause issues"} 
[2026-04-17 13:48:16] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:48:16] local.INFO: AVL Record Parsed {"raw_timestamp":1776413742000,"timestamp_ms":1776413742000,"timestamp_seconds":1776413742,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8293b0"} 
[2026-04-17 13:48:16] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:48:16] 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-04-17 13: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":110,"n8_eight_byte":64,"data_length":795,"current_offset":136} 
[2026-04-17 13:48:16] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1324,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:48:16] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:48:16] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:48:16] local.INFO: Teltonika packet parsed successfully {"connection_id":46112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:48:16] local.INFO: Passing IMEI to GPS processor {"connection_id":46112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:48:16] local.INFO: DEBUG: About to call GPS processor {"connection_id":46112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:48:16] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:48:16] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:48:16] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:48:16] local.INFO: DEBUG: GPS processor result {"connection_id":46112,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:48:16] local.INFO: GPS data processed {"connection_id":46112,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:48:16] local.INFO: Acknowledgment sent {"connection_id":46112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:48:27] local.INFO: TCP Data received {"connection_id":45812,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45812,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:48:27] local.INFO: Processing buffer {"connection_id":45812,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:48:27] local.INFO: Packet analysis {"connection_id":45812,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:48:27] local.INFO: Extracted packet for processing {"connection_id":45812,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:48:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":36,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761836800001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:48: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-04-17 13:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776413726000,"timestamp_ms":1776413726000,"timestamp_seconds":1776413726,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a825530"} 
[2026-04-17 13:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:48:27] 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-04-17 13:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:48:27] 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-04-17 13:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45812,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45812,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761836800001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761836800001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:48:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:48:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761836800001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":45812,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:48:27] local.INFO: GPS data processed {"connection_id":45812,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:48:27] local.INFO: Acknowledgment sent {"connection_id":45812,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:48:29] local.INFO: TCP Data received {"connection_id":45813,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:48:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:48:29] local.INFO: Processing buffer {"connection_id":45813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:48:29] local.INFO: Packet analysis {"connection_id":45813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:48:29] local.INFO: Extracted packet for processing {"connection_id":45813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:48:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":19,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:48:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761854464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:48:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:48:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:48:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:48:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776413795000,"timestamp_ms":1776413795000,"timestamp_seconds":1776413795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8362b8"} 
[2026-04-17 13:48:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:48:29] 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-04-17 13:48:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:48:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:48:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:48:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:48:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:48:29] local.INFO: Teltonika packet parsed successfully {"connection_id":45813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:48:29] local.INFO: Passing IMEI to GPS processor {"connection_id":45813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:48:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":45813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:48: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-04-17 13:48:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:48:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:48:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761854464001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:48:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:48:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:48:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761854464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:48:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:48:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:48:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:48:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:48:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761854464001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:48:29] local.INFO: DEBUG: GPS processor result {"connection_id":45813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:48:29] local.INFO: GPS data processed {"connection_id":45813,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:48:29] local.INFO: Acknowledgment sent {"connection_id":45813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:48:50] local.INFO: TCP Data received {"connection_id":46114,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:48:50] local.INFO: Processing buffer {"connection_id":46114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:48:50] local.INFO: IMEI packet received {"connection_id":46114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":46114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:48:52] local.INFO: TCP Data received {"connection_id":46112,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a81fb58012d5712c0067c2d48001b00a52d..."} 
[2026-04-17 13:48:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a81fb58012d5712c0067c2d48001b00a52d..."} 
[2026-04-17 13:48:52] local.INFO: Processing buffer {"connection_id":46112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a81fb58012d5712c0067c2d48001b00a52d..."} 
[2026-04-17 13:48:52] local.INFO: Packet analysis {"connection_id":46112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a81"} 
[2026-04-17 13:48:52] local.INFO: Extracted packet for processing {"connection_id":46112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a81"} 
[2026-04-17 13:48:52] local.INFO: GPS Element Parsed {"raw_longitude":760681152,"raw_latitude":108801352,"longitude_deg":76.0681152,"latitude_deg":10.8801352,"altitude":27,"angle":165,"satellites":45,"speed":41,"hex_longitude":"2d5712c0","hex_latitude":"067c2d48","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:48:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:48:52] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,13,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 13:48:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776413703000,"timestamp_ms":1776413703000,"timestamp_seconds":1776413703,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a81fb58"} 
[2026-04-17 13:48:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:48:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 13:48:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:48:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:48:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:48:52] local.INFO: Teltonika packet parsed successfully {"connection_id":46112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:48:52] local.INFO: Passing IMEI to GPS processor {"connection_id":46112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:48:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":46112,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:48:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:48:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:48:52] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:48:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28332,"13":206,"19":47872,"24":41,"16":106618783551979520},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16]} 
[2026-04-17 13:48:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:48:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:48:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 13:48:52] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-04-17 13:48:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:48:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:48:52] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28332,"unknown_13":206,"unknown_19":47872,"ignition":41,"odometer":null}} 
[2026-04-17 13:48:52] local.INFO: DEBUG: GPS processor result {"connection_id":46112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21601,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:48:52] local.INFO: GPS data processed {"connection_id":46112,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:48:52] local.INFO: Acknowledgment sent {"connection_id":46112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:48:54] local.INFO: TCP Data received {"connection_id":46113,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:48:54] local.INFO: Processing buffer {"connection_id":46113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:48:54] local.INFO: IMEI packet received {"connection_id":46113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":46113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:48:56] local.INFO: TCP Data received {"connection_id":46114,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:48:56] local.INFO: Processing buffer {"connection_id":46114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:48:56] local.INFO: IMEI packet received {"connection_id":46114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":46114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:48:57] local.INFO: TCP Data received {"connection_id":46114,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:48:57] local.INFO: Processing buffer {"connection_id":46114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:48:57] local.INFO: Packet analysis {"connection_id":46114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:48:57] local.INFO: Extracted packet for processing {"connection_id":46114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":19,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761854464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776413795000,"timestamp_ms":1776413795000,"timestamp_seconds":1776413795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8362b8"} 
[2026-04-17 13:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761854464001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761854464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:48:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761854464001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":46114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21602,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:48:57] local.INFO: GPS data processed {"connection_id":46114,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:48:57] local.INFO: Acknowledgment sent {"connection_id":46114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:48:59] local.INFO: TCP Data received {"connection_id":46113,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46113,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:48:59] local.INFO: Processing buffer {"connection_id":46113,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:48:59] local.INFO: IMEI packet received {"connection_id":46113,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:48:59] local.INFO: IMEI acknowledgment sent {"connection_id":46113,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:49:00] local.INFO: TCP Data received {"connection_id":46113,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:49:00] local.INFO: Processing buffer {"connection_id":46113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:49:00] local.INFO: Packet analysis {"connection_id":46113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:49:00] local.INFO: Extracted packet for processing {"connection_id":46113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:49:00] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":36,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761836800001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:49: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-04-17 13:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776413726000,"timestamp_ms":1776413726000,"timestamp_seconds":1776413726,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a825530"} 
[2026-04-17 13:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:49:00] 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-04-17 13:49:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:49:00] 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-04-17 13: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-04-17 13:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:49:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761836800001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761836800001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:49:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:49:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761836800001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":46113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:49:00] local.INFO: GPS data processed {"connection_id":46113,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:49:00] local.INFO: Acknowledgment sent {"connection_id":46113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:49:04] local.INFO: TCP Data received {"connection_id":45814,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:49:04] local.INFO: Processing buffer {"connection_id":45814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:49:04] local.INFO: IMEI packet received {"connection_id":45814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":45814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:49:04] local.INFO: TCP Data received {"connection_id":46113,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46113,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:49:04] local.INFO: Processing buffer {"connection_id":46113,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:49:04] local.INFO: Packet analysis {"connection_id":46113,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:49:04] local.INFO: Extracted packet for processing {"connection_id":46113,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:49:04] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":36,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:49:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761836800001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:49:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:49:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:49:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:49:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776413726000,"timestamp_ms":1776413726000,"timestamp_seconds":1776413726,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a825530"} 
[2026-04-17 13:49:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:49:04] 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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:49:04] 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-04-17 13: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-04-17 13:49:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:49:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:49:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46113,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:49:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:49:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46113,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:49:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:49:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:49:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:49:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761836800001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:49:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:49:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:49:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761836800001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:49:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:49:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:49:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:49:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:49:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761836800001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:49:04] local.INFO: DEBUG: GPS processor result {"connection_id":46113,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21604,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:49:04] local.INFO: GPS data processed {"connection_id":46113,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:49:04] local.INFO: Acknowledgment sent {"connection_id":46113,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:49:09] local.INFO: TCP Data received {"connection_id":45814,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:49:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45814,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:49:09] local.INFO: Processing buffer {"connection_id":45814,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:49:09] local.INFO: IMEI packet received {"connection_id":45814,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:49:09] local.INFO: IMEI acknowledgment sent {"connection_id":45814,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:49:11] local.INFO: TCP Data received {"connection_id":45814,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8241a8012d571dc0067be040001a00b331..."} 
[2026-04-17 13:49:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8241a8012d571dc0067be040001a00b331..."} 
[2026-04-17 13:49:11] local.INFO: Processing buffer {"connection_id":45814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8241a8012d571dc0067be040001a00b331..."} 
[2026-04-17 13:49:11] local.INFO: Packet analysis {"connection_id":45814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:49:11] local.INFO: Extracted packet for processing {"connection_id":45814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:49:11] local.INFO: GPS Element Parsed {"raw_longitude":760683968,"raw_latitude":108781632,"longitude_deg":76.0683968,"latitude_deg":10.8781632,"altitude":26,"angle":179,"satellites":49,"speed":46,"hex_longitude":"2d571dc0","hex_latitude":"067be040","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:49:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761907968001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:49:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:49:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6274288364966201344,"note":"Value kept but may cause issues"} 
[2026-04-17 13:49:11] 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-04-17 13:49:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776413721000,"timestamp_ms":1776413721000,"timestamp_seconds":1776413721,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8241a8"} 
[2026-04-17 13:49:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:49:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-17 13:49:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:49:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:49:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:49:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:49:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:49:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:49:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:49:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:49:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:49:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761907968001,"66":28354,"13":206,"19":47872,"24":46,"16":106618783551979520,"45":6274288364966201344},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-04-17 13:49:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:49:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:49:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761907968001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:49:11] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-04-17 13:49:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:49:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:49:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6274288364966201344,"description":"Unknown IO ID 45"} 
[2026-04-17 13:49:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761907968001,"power":28354,"unknown_13":206,"unknown_19":47872,"ignition":46,"odometer":null,"unknown_45":6274288364966201344}} 
[2026-04-17 13:49:11] local.INFO: DEBUG: GPS processor result {"connection_id":45814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21605,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:49:11] local.INFO: GPS data processed {"connection_id":45814,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:49:11] local.INFO: Acknowledgment sent {"connection_id":45814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:49:28] local.INFO: TCP Data received {"connection_id":46114,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:49:28] local.INFO: Processing buffer {"connection_id":46114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:49:28] local.INFO: Packet analysis {"connection_id":46114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:49:28] local.INFO: Extracted packet for processing {"connection_id":46114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":19,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761854464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776413795000,"timestamp_ms":1776413795000,"timestamp_seconds":1776413795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8362b8"} 
[2026-04-17 13:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:49: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-04-17 13:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761854464001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761854464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:49:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761854464001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":46114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:49:28] local.INFO: GPS data processed {"connection_id":46114,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:49:28] local.INFO: Acknowledgment sent {"connection_id":46114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:49:44] local.INFO: TCP Data received {"connection_id":45814,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a828410012d570040067b9b10001b00dd24..."} 
[2026-04-17 13:49:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a828410012d570040067b9b10001b00dd24..."} 
[2026-04-17 13:49:44] local.INFO: Processing buffer {"connection_id":45814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a828410012d570040067b9b10001b00dd24..."} 
[2026-04-17 13:49:44] local.INFO: Packet analysis {"connection_id":45814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:49:44] local.INFO: Extracted packet for processing {"connection_id":45814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:49:44] local.INFO: GPS Element Parsed {"raw_longitude":760676416,"raw_latitude":108763920,"longitude_deg":76.0676416,"latitude_deg":10.876392,"altitude":27,"angle":221,"satellites":36,"speed":44,"hex_longitude":"2d570040","hex_latitude":"067b9b10","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:49:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761912576001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:49:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:49:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6277384589704970240,"note":"Value kept but may cause issues"} 
[2026-04-17 13:49:44] 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-04-17 13:49:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776413738000,"timestamp_ms":1776413738000,"timestamp_seconds":1776413738,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a828410"} 
[2026-04-17 13:49:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:49:44] 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-04-17 13: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:49:44] 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-04-17 13: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-04-17 13:49:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:49:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:49:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:49:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:49:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45814,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:49:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:49:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:49:44] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:49:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761912576001,"66":28398,"13":206,"19":47872,"24":44,"16":106618783551979520,"45":6277384589704970240},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,19,24,16,45]} 
[2026-04-17 13:49:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:49:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:49:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761912576001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:49:44] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-04-17 13:49:44] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:49:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:49:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":6277384589704970240,"description":"Unknown IO ID 45"} 
[2026-04-17 13:49:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761912576001,"power":28398,"unknown_13":206,"unknown_19":47872,"ignition":44,"odometer":null,"unknown_45":6277384589704970240}} 
[2026-04-17 13:49:44] local.INFO: DEBUG: GPS processor result {"connection_id":45814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21607,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:49:44] local.INFO: GPS data processed {"connection_id":45814,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:49:44] local.INFO: Acknowledgment sent {"connection_id":45814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:49:49] local.INFO: TCP Data received {"connection_id":45903,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:49:49] local.INFO: Processing buffer {"connection_id":45903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:49:49] local.INFO: IMEI packet received {"connection_id":45903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":45903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:49:53] local.INFO: TCP Data received {"connection_id":45903,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:49:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45903,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:49:53] local.INFO: Processing buffer {"connection_id":45903,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:49:53] local.INFO: IMEI packet received {"connection_id":45903,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:49:53] local.INFO: IMEI acknowledgment sent {"connection_id":45903,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:49:54] local.INFO: TCP Data received {"connection_id":45903,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:49:54] local.INFO: Processing buffer {"connection_id":45903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:49:54] local.INFO: Packet analysis {"connection_id":45903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:49:54] local.INFO: Extracted packet for processing {"connection_id":45903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:49:54] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":36,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:49:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761836800001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:49:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:49:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:49: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-04-17 13:49:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776413726000,"timestamp_ms":1776413726000,"timestamp_seconds":1776413726,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a825530"} 
[2026-04-17 13:49:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:49:54] 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-04-17 13:49:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:49:54] 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-04-17 13:49:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:49:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:49:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:49:54] local.INFO: Teltonika packet parsed successfully {"connection_id":45903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:49:54] local.INFO: Passing IMEI to GPS processor {"connection_id":45903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:49:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":45903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:49:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:49:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:49:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:49:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761836800001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:49:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:49:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:49:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761836800001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:49:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:49:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:49:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:49:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:49:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761836800001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:49:54] local.INFO: DEBUG: GPS processor result {"connection_id":45903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21608,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:49:54] local.INFO: GPS data processed {"connection_id":45903,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:49:54] local.INFO: Acknowledgment sent {"connection_id":45903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:49:56] local.INFO: TCP Data received {"connection_id":45904,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:49:56] local.INFO: Processing buffer {"connection_id":45904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:49:56] local.INFO: IMEI packet received {"connection_id":45904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":45904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:50:01] local.INFO: TCP Data received {"connection_id":45904,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:50:01] local.INFO: Processing buffer {"connection_id":45904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:50:01] local.INFO: IMEI packet received {"connection_id":45904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:50:01] local.INFO: IMEI acknowledgment sent {"connection_id":45904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:50:01] local.INFO: TCP Data received {"connection_id":45904,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:50:01] local.INFO: Processing buffer {"connection_id":45904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:50:01] local.INFO: Packet analysis {"connection_id":45904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:50:01] local.INFO: Extracted packet for processing {"connection_id":45904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":19,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761854464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776413795000,"timestamp_ms":1776413795000,"timestamp_seconds":1776413795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8362b8"} 
[2026-04-17 13:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:50: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-04-17 13:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761854464001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761854464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:50:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761854464001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":45904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:50:01] local.INFO: GPS data processed {"connection_id":45904,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:50:01] local.INFO: Acknowledgment sent {"connection_id":45904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:50:05] local.INFO: TCP Data received {"connection_id":46115,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:50:05] local.INFO: Processing buffer {"connection_id":46115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:50:05] local.INFO: IMEI packet received {"connection_id":46115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:50:05] local.INFO: IMEI acknowledgment sent {"connection_id":46115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:50:06] local.INFO: TCP Data received {"connection_id":45904,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:50:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:50:06] local.INFO: Processing buffer {"connection_id":45904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:50:06] local.INFO: Packet analysis {"connection_id":45904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:50:06] local.INFO: Extracted packet for processing {"connection_id":45904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:50:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":19,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:50:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761854464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:50:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:50:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:50:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:50:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776413795000,"timestamp_ms":1776413795000,"timestamp_seconds":1776413795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8362b8"} 
[2026-04-17 13:50:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:50:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:50:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:50:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:50:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:50:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:50:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:50:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:50:06] 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-04-17 13:50:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:50:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:50:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761854464001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:50:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:50:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:50:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761854464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:50:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:50:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:50:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:50:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:50:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761854464001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:50:06] local.INFO: DEBUG: GPS processor result {"connection_id":45904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:50:06] local.INFO: GPS data processed {"connection_id":45904,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:50:06] local.INFO: Acknowledgment sent {"connection_id":45904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:50:09] local.INFO: TCP Data received {"connection_id":46115,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:50:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46115,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:50:09] local.INFO: Processing buffer {"connection_id":46115,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:50:09] local.INFO: IMEI packet received {"connection_id":46115,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:50:09] local.INFO: IMEI acknowledgment sent {"connection_id":46115,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:50:11] local.INFO: TCP Data received {"connection_id":46115,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a82ca60012d56c180067b7020002000ef2a..."} 
[2026-04-17 13:50:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a82ca60012d56c180067b7020002000ef2a..."} 
[2026-04-17 13:50:11] local.INFO: Processing buffer {"connection_id":46115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a82ca60012d56c180067b7020002000ef2a..."} 
[2026-04-17 13:50:11] local.INFO: Packet analysis {"connection_id":46115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:50:11] local.INFO: Extracted packet for processing {"connection_id":46115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:50:11] local.INFO: GPS Element Parsed {"raw_longitude":760660352,"raw_latitude":108752928,"longitude_deg":76.0660352,"latitude_deg":10.8752928,"altitude":32,"angle":239,"satellites":42,"speed":42,"hex_longitude":"2d56c180","hex_latitude":"067b7020","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:50:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761916928001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:50:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:50:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6269081077887471616,"note":"Value kept but may cause issues"} 
[2026-04-17 13:50: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-04-17 13:50:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776413756000,"timestamp_ms":1776413756000,"timestamp_seconds":1776413756,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a82ca60"} 
[2026-04-17 13:50:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:50:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 13:50:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:50:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:50:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:50:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:50:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:50:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:50:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:50:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:50:11] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:50:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761916928001,"66":28354,"15":206,"19":47872,"24":42,"16":106618783551979520,"45":6269081077887471616},"client_ip":"117.224.17.214","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,15,19,24,16,45]} 
[2026-04-17 13:50:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:50:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:50:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761916928001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:50:11] local.INFO: Unknown IO ID detected {"io_id":15,"value":206,"description":"Unknown IO ID 15"} 
[2026-04-17 13:50:11] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:50:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:50:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":6269081077887471616,"description":"Unknown IO ID 45"} 
[2026-04-17 13:50:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761916928001,"power":28354,"unknown_15":206,"unknown_19":47872,"ignition":42,"odometer":null,"unknown_45":6269081077887471616}} 
[2026-04-17 13:50:11] local.INFO: DEBUG: GPS processor result {"connection_id":46115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21611,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:50:11] local.INFO: GPS data processed {"connection_id":46115,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:50:11] local.INFO: Acknowledgment sent {"connection_id":46115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:50:28] local.INFO: TCP Data received {"connection_id":45903,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45903,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:50:28] local.INFO: Processing buffer {"connection_id":45903,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:50:28] local.INFO: Packet analysis {"connection_id":45903,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:50:28] local.INFO: Extracted packet for processing {"connection_id":45903,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:50:28] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":36,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761836800001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:50: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-04-17 13:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776413726000,"timestamp_ms":1776413726000,"timestamp_seconds":1776413726,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a825530"} 
[2026-04-17 13:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:50: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-04-17 13:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:50:28] 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-04-17 13: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-04-17 13:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45903,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45903,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761836800001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761836800001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:50:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:50:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761836800001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":45903,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21612,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:50:28] local.INFO: GPS data processed {"connection_id":45903,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:50:28] local.INFO: Acknowledgment sent {"connection_id":45903,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:50:49] local.INFO: TCP Data received {"connection_id":46116,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:50:49] local.INFO: Processing buffer {"connection_id":46116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:50:49] local.INFO: IMEI packet received {"connection_id":46116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":46116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:50:50] local.INFO: TCP Data received {"connection_id":46117,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:50:50] local.INFO: Processing buffer {"connection_id":46117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:50:50] local.INFO: IMEI packet received {"connection_id":46117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":46117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:50:54] local.INFO: TCP Data received {"connection_id":46116,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46116,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:50:54] local.INFO: Processing buffer {"connection_id":46116,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:50:54] local.INFO: IMEI packet received {"connection_id":46116,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":46116,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:50:56] local.INFO: TCP Data received {"connection_id":46116,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:50:56] local.INFO: Processing buffer {"connection_id":46116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a825530012d1974c0071fecd8003b011924..."} 
[2026-04-17 13:50:56] local.INFO: Packet analysis {"connection_id":46116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:50:56] local.INFO: Extracted packet for processing {"connection_id":46116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a82"} 
[2026-04-17 13:50:56] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":36,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761836800001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13: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-04-17 13:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776413726000,"timestamp_ms":1776413726000,"timestamp_seconds":1776413726,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a825530"} 
[2026-04-17 13:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:50:56] 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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:50: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-04-17 13: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-04-17 13:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761836800001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761836800001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:50:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:50:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761836800001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":46116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:50:56] local.INFO: GPS data processed {"connection_id":46116,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:50:56] local.INFO: Acknowledgment sent {"connection_id":46116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:50:56] local.INFO: TCP Data received {"connection_id":46117,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:50:56] local.INFO: Processing buffer {"connection_id":46117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:50:56] local.INFO: IMEI packet received {"connection_id":46117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":46117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:50:57] local.INFO: TCP Data received {"connection_id":46117,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:50:57] local.INFO: Processing buffer {"connection_id":46117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:50:57] local.INFO: Packet analysis {"connection_id":46117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:50:57] local.INFO: Extracted packet for processing {"connection_id":46117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:50:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":19,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:50:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761854464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:50:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:50:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:50:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:50:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776413795000,"timestamp_ms":1776413795000,"timestamp_seconds":1776413795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8362b8"} 
[2026-04-17 13:50:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:50:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:50:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:50:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:50:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:50:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:50:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:50:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:50:57] 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-04-17 13:50:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:50:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:50:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761854464001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:50:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:50:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:50:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761854464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:50:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:50:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:50:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:50:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:50:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761854464001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":46117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:50:57] local.INFO: GPS data processed {"connection_id":46117,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:50:57] local.INFO: Acknowledgment sent {"connection_id":46117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:51:18] local.INFO: TCP Data received {"connection_id":46115,"ip":"117.224.17.214","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a86e5280100000000000000000000000000..."} 
[2026-04-17 13:51:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a86e5280100000000000000000000000000..."} 
[2026-04-17 13:51:18] local.INFO: Processing buffer {"connection_id":46115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a86e5280100000000000000000000000000..."} 
[2026-04-17 13:51:18] local.INFO: Packet analysis {"connection_id":46115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:51:18] local.INFO: Extracted packet for processing {"connection_id":46115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:51: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-04-17 13:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:51:18] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761972992001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:51:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:51:18] local.WARNING: Large IO value detected {"io_id":45,"raw_value":6102096047933521920,"note":"Value kept but may cause issues"} 
[2026-04-17 13:51:18] 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-04-17 13:51:18] local.INFO: AVL Record Parsed {"raw_timestamp":1776414025000,"timestamp_ms":1776414025000,"timestamp_seconds":1776414025,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a86e528"} 
[2026-04-17 13:51:18] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:51: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-04-17 13:51:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 13:51:18] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:51:18] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:51:18] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:51:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:51:18] local.INFO: Teltonika packet parsed successfully {"connection_id":46115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:51:18] local.INFO: Passing IMEI to GPS processor {"connection_id":46115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:51:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":46115,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:51:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.17.214","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:51:18] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:51:18] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:51:18] local.INFO: DEBUG: GPS processor result {"connection_id":46115,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:51:18] local.INFO: GPS data processed {"connection_id":46115,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:51:18] local.INFO: Acknowledgment sent {"connection_id":46115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:51:29] local.INFO: TCP Data received {"connection_id":46117,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:51:29] local.INFO: Processing buffer {"connection_id":46117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:51:29] local.INFO: Packet analysis {"connection_id":46117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:51:29] local.INFO: Extracted packet for processing {"connection_id":46117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:51:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":19,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761854464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776413795000,"timestamp_ms":1776413795000,"timestamp_seconds":1776413795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8362b8"} 
[2026-04-17 13:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:51:29] 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-04-17 13: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761854464001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761854464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:51:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:51:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761854464001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":46117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:51:29] local.INFO: GPS data processed {"connection_id":46117,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:51:29] local.INFO: Acknowledgment sent {"connection_id":46117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:51:29] local.INFO: TCP Data received {"connection_id":46116,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46116,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:51:29] local.INFO: Processing buffer {"connection_id":46116,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:51:29] local.INFO: Packet analysis {"connection_id":46116,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:51:29] local.INFO: Extracted packet for processing {"connection_id":46116,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:51:29] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":34,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761913856001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:51:29] 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-04-17 13:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776414027000,"timestamp_ms":1776414027000,"timestamp_seconds":1776414027,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a86ecf8"} 
[2026-04-17 13:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:51:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:51:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46116,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46116,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:51:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761913856001,"66":2177,"70":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 13:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761913856001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:51:29] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 13:51:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761913856001,"power":2177,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":46116,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21616,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:51:29] local.INFO: GPS data processed {"connection_id":46116,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:51:29] local.INFO: Acknowledgment sent {"connection_id":46116,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:51:49] local.INFO: TCP Data received {"connection_id":46676,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:51:49] local.INFO: Processing buffer {"connection_id":46676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:51:49] local.INFO: IMEI packet received {"connection_id":46676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":46676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:51:51] local.INFO: TCP Data received {"connection_id":46677,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:51:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:51:51] local.INFO: Processing buffer {"connection_id":46677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:51:51] local.INFO: IMEI packet received {"connection_id":46677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:51:51] local.INFO: IMEI acknowledgment sent {"connection_id":46677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:51:54] local.INFO: TCP Data received {"connection_id":46676,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46676,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:51:54] local.INFO: Processing buffer {"connection_id":46676,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:51:54] local.INFO: IMEI packet received {"connection_id":46676,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":46676,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:51:55] local.INFO: TCP Data received {"connection_id":46676,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:51:55] local.INFO: Processing buffer {"connection_id":46676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:51:55] local.INFO: Packet analysis {"connection_id":46676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:51:55] local.INFO: Extracted packet for processing {"connection_id":46676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:51:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":34,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761913856001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:51:55] 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-04-17 13:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776414027000,"timestamp_ms":1776414027000,"timestamp_seconds":1776414027,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a86ecf8"} 
[2026-04-17 13:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:51: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-04-17 13: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-04-17 13:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761913856001,"66":2177,"70":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 13:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761913856001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:51:55] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 13:51:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761913856001,"power":2177,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":46676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:51:55] local.INFO: GPS data processed {"connection_id":46676,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:51:55] local.INFO: Acknowledgment sent {"connection_id":46676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:51:56] local.INFO: TCP Data received {"connection_id":46677,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46677,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:51:56] local.INFO: Processing buffer {"connection_id":46677,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:51:56] local.INFO: IMEI packet received {"connection_id":46677,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:51:56] local.INFO: IMEI acknowledgment sent {"connection_id":46677,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:51:57] local.INFO: TCP Data received {"connection_id":46677,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:51:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:51:57] local.INFO: Processing buffer {"connection_id":46677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8362b8012d7faa8005afd2f80013000032..."} 
[2026-04-17 13:51:57] local.INFO: Packet analysis {"connection_id":46677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:51:57] local.INFO: Extracted packet for processing {"connection_id":46677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a83"} 
[2026-04-17 13:51:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":19,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:51:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761854464001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:51:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:51:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:51:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:51:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776413795000,"timestamp_ms":1776413795000,"timestamp_seconds":1776413795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8362b8"} 
[2026-04-17 13:51:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:51:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:51:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 13:51:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:51:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:51:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:51:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:51:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:51:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:51:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:51:57] 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-04-17 13:51:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:51:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:51:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761854464001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:51:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:51:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:51:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761854464001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:51:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:51:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:51:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:51:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:51:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761854464001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:51:57] local.INFO: DEBUG: GPS processor result {"connection_id":46677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:51:57] local.INFO: GPS data processed {"connection_id":46677,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:51:57] local.INFO: Acknowledgment sent {"connection_id":46677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:51:59] local.INFO: TCP Data received {"connection_id":46676,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:51:59] local.INFO: Processing buffer {"connection_id":46676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:51:59] local.INFO: Packet analysis {"connection_id":46676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:51:59] local.INFO: Extracted packet for processing {"connection_id":46676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:51:59] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":34,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761913856001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:51:59] 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-04-17 13:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776414027000,"timestamp_ms":1776414027000,"timestamp_seconds":1776414027,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a86ecf8"} 
[2026-04-17 13:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:51: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-04-17 13:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761913856001,"66":2177,"70":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 13:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761913856001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:51:59] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 13:51:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761913856001,"power":2177,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":46676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21619,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:52:00] local.INFO: GPS data processed {"connection_id":46676,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:52:00] local.INFO: Acknowledgment sent {"connection_id":46676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:52:21] local.INFO: TCP Data received {"connection_id":45905,"ip":"117.224.17.214","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45905,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:52:21] local.INFO: Processing buffer {"connection_id":45905,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:52:21] local.INFO: IMEI packet received {"connection_id":45905,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":45905,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:52:28] local.INFO: TCP Data received {"connection_id":46677,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46677,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:52:28] local.INFO: Processing buffer {"connection_id":46677,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:52:28] local.INFO: Packet analysis {"connection_id":46677,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:52:28] local.INFO: Extracted packet for processing {"connection_id":46677,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:52:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761931520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776414095000,"timestamp_ms":1776414095000,"timestamp_seconds":1776414095,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a87f698"} 
[2026-04-17 13:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 13:52:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46677,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46677,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761931520001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761931520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:52:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:52:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761931520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":46677,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:52:28] local.INFO: GPS data processed {"connection_id":46677,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:52:28] local.INFO: Acknowledgment sent {"connection_id":46677,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:52:31] local.INFO: TCP Data received {"connection_id":46676,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46676,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:52:31] local.INFO: Processing buffer {"connection_id":46676,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:52:31] local.INFO: Packet analysis {"connection_id":46676,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:52:31] local.INFO: Extracted packet for processing {"connection_id":46676,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:52:31] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":34,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761913856001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:52:31] 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-04-17 13:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776414027000,"timestamp_ms":1776414027000,"timestamp_seconds":1776414027,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a86ecf8"} 
[2026-04-17 13:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:52:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:52:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46676,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46676,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761913856001,"66":2177,"70":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 13:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761913856001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:52:31] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 13:52:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761913856001,"power":2177,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":46676,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21621,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:52:31] local.INFO: GPS data processed {"connection_id":46676,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:52:31] local.INFO: Acknowledgment sent {"connection_id":46676,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:52:48] local.INFO: TCP Data received {"connection_id":46118,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:52:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:52:48] local.INFO: Processing buffer {"connection_id":46118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:52:48] local.INFO: IMEI packet received {"connection_id":46118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:52:48] local.INFO: IMEI acknowledgment sent {"connection_id":46118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:52:50] local.INFO: TCP Data received {"connection_id":46678,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:52:50] local.INFO: Processing buffer {"connection_id":46678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:52:50] local.INFO: IMEI packet received {"connection_id":46678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":46678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:52:54] local.INFO: TCP Data received {"connection_id":46118,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46118,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:52:54] local.INFO: Processing buffer {"connection_id":46118,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:52:54] local.INFO: IMEI packet received {"connection_id":46118,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":46118,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:52:55] local.INFO: TCP Data received {"connection_id":46118,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:52:55] local.INFO: Processing buffer {"connection_id":46118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:52:55] local.INFO: Packet analysis {"connection_id":46118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:52:55] local.INFO: Extracted packet for processing {"connection_id":46118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:52:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":34,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761913856001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:52:55] 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-04-17 13:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776414027000,"timestamp_ms":1776414027000,"timestamp_seconds":1776414027,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a86ecf8"} 
[2026-04-17 13:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:52: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-04-17 13:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761913856001,"66":2177,"70":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 13:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761913856001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:52:55] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 13:52:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761913856001,"power":2177,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:52:55] local.INFO: DEBUG: GPS processor result {"connection_id":46118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:52:55] local.INFO: GPS data processed {"connection_id":46118,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:52:55] local.INFO: Acknowledgment sent {"connection_id":46118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:52:56] local.INFO: TCP Data received {"connection_id":46678,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46678,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:52:56] local.INFO: Processing buffer {"connection_id":46678,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:52:56] local.INFO: IMEI packet received {"connection_id":46678,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":46678,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:52:57] local.INFO: TCP Data received {"connection_id":46678,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:52:57] local.INFO: Processing buffer {"connection_id":46678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:52:57] local.INFO: Packet analysis {"connection_id":46678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:52:57] local.INFO: Extracted packet for processing {"connection_id":46678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:52:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761931520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776414095000,"timestamp_ms":1776414095000,"timestamp_seconds":1776414095,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a87f698"} 
[2026-04-17 13:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 13:52: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-04-17 13: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-04-17 13:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:52:57] 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-04-17 13:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761931520001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761931520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:52:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:52:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761931520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":46678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21623,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:52:57] local.INFO: GPS data processed {"connection_id":46678,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:52:57] local.INFO: Acknowledgment sent {"connection_id":46678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:53:27] local.INFO: TCP Data received {"connection_id":46118,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46118,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:53:27] local.INFO: Processing buffer {"connection_id":46118,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:53:27] local.INFO: Packet analysis {"connection_id":46118,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:53:27] local.INFO: Extracted packet for processing {"connection_id":46118,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:53:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":34,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761913856001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:53:27] 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-04-17 13:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776414027000,"timestamp_ms":1776414027000,"timestamp_seconds":1776414027,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a86ecf8"} 
[2026-04-17 13:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:53: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-04-17 13:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46118,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46118,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761913856001,"66":2177,"70":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 13:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761913856001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:53:27] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 13:53:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761913856001,"power":2177,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":46118,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21624,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:53:27] local.INFO: GPS data processed {"connection_id":46118,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:53:27] local.INFO: Acknowledgment sent {"connection_id":46118,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:53:28] local.INFO: TCP Data received {"connection_id":46678,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46678,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:53:28] local.INFO: Processing buffer {"connection_id":46678,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:53:28] local.INFO: Packet analysis {"connection_id":46678,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:53:28] local.INFO: Extracted packet for processing {"connection_id":46678,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:53:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761931520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776414095000,"timestamp_ms":1776414095000,"timestamp_seconds":1776414095,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a87f698"} 
[2026-04-17 13:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 13:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46678,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46678,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:53:28] 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-04-17 13:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761931520001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761931520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:53:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:53:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761931520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":46678,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21625,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:53:28] local.INFO: GPS data processed {"connection_id":46678,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:53:28] local.INFO: Acknowledgment sent {"connection_id":46678,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:53:49] local.INFO: TCP Data received {"connection_id":45815,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:53:49] local.INFO: Processing buffer {"connection_id":45815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:53:49] local.INFO: IMEI packet received {"connection_id":45815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":45815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:53:50] local.INFO: TCP Data received {"connection_id":46119,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:53:50] local.INFO: Processing buffer {"connection_id":46119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:53:50] local.INFO: IMEI packet received {"connection_id":46119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":46119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:53:54] local.INFO: TCP Data received {"connection_id":45815,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45815,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:53:54] local.INFO: Processing buffer {"connection_id":45815,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:53:54] local.INFO: IMEI packet received {"connection_id":45815,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":45815,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:53:55] local.INFO: TCP Data received {"connection_id":45815,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:53:55] local.INFO: Processing buffer {"connection_id":45815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:53:55] local.INFO: Packet analysis {"connection_id":45815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:53:55] local.INFO: Extracted packet for processing {"connection_id":45815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:53:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":34,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761913856001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:53:55] 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-04-17 13:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776414027000,"timestamp_ms":1776414027000,"timestamp_seconds":1776414027,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a86ecf8"} 
[2026-04-17 13:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:53:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:53: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-04-17 13: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-04-17 13:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761913856001,"66":2177,"70":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 13:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761913856001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:53:55] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 13:53:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761913856001,"power":2177,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":45815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21626,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:53:55] local.INFO: GPS data processed {"connection_id":45815,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:53:55] local.INFO: Acknowledgment sent {"connection_id":45815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:53:56] local.INFO: TCP Data received {"connection_id":46119,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:53:56] local.INFO: Processing buffer {"connection_id":46119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:53:56] local.INFO: IMEI packet received {"connection_id":46119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:53:56] local.INFO: IMEI acknowledgment sent {"connection_id":46119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:53:56] local.INFO: TCP Data received {"connection_id":46119,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:53:56] local.INFO: Processing buffer {"connection_id":46119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:53:56] local.INFO: Packet analysis {"connection_id":46119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:53:56] local.INFO: Extracted packet for processing {"connection_id":46119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761931520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776414095000,"timestamp_ms":1776414095000,"timestamp_seconds":1776414095,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a87f698"} 
[2026-04-17 13:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:53:56] 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-04-17 13:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 13:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:53:56] 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-04-17 13:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761931520001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761931520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:53:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761931520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:53:57] local.INFO: DEBUG: GPS processor result {"connection_id":46119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:53:57] local.INFO: GPS data processed {"connection_id":46119,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:53:57] local.INFO: Acknowledgment sent {"connection_id":46119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:54:27] local.INFO: TCP Data received {"connection_id":45815,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45815,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:54:27] local.INFO: Processing buffer {"connection_id":45815,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:54:27] local.INFO: Packet analysis {"connection_id":45815,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:54:27] local.INFO: Extracted packet for processing {"connection_id":45815,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:54:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":34,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761913856001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:54:27] 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-04-17 13:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776414027000,"timestamp_ms":1776414027000,"timestamp_seconds":1776414027,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a86ecf8"} 
[2026-04-17 13:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:54: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-04-17 13:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45815,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45815,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761913856001,"66":2177,"70":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 13:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761913856001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:54:27] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 13:54:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761913856001,"power":2177,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":45815,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:54:27] local.INFO: GPS data processed {"connection_id":45815,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:54:27] local.INFO: Acknowledgment sent {"connection_id":45815,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:54:28] local.INFO: TCP Data received {"connection_id":46119,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:54:28] local.INFO: Processing buffer {"connection_id":46119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:54:28] local.INFO: Packet analysis {"connection_id":46119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:54:28] local.INFO: Extracted packet for processing {"connection_id":46119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:54:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761931520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776414095000,"timestamp_ms":1776414095000,"timestamp_seconds":1776414095,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a87f698"} 
[2026-04-17 13:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 13:54:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:54:28] 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-04-17 13:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761931520001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761931520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:54:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:54:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761931520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":46119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:54:28] local.INFO: GPS data processed {"connection_id":46119,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:54:28] local.INFO: Acknowledgment sent {"connection_id":46119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:54:48] local.INFO: TCP Data received {"connection_id":46679,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:54:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:54:48] local.INFO: Processing buffer {"connection_id":46679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:54:48] local.INFO: IMEI packet received {"connection_id":46679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:54:48] local.INFO: IMEI acknowledgment sent {"connection_id":46679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:54:50] local.INFO: TCP Data received {"connection_id":45908,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:54:50] local.INFO: Processing buffer {"connection_id":45908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:54:50] local.INFO: IMEI packet received {"connection_id":45908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":45908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:54:53] local.INFO: TCP Data received {"connection_id":46679,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46679,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:54:53] local.INFO: Processing buffer {"connection_id":46679,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:54:53] local.INFO: IMEI packet received {"connection_id":46679,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":46679,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:54:54] local.INFO: TCP Data received {"connection_id":46679,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:54:54] local.INFO: Processing buffer {"connection_id":46679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:54:54] local.INFO: Packet analysis {"connection_id":46679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:54:54] local.INFO: Extracted packet for processing {"connection_id":46679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:54:54] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":34,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761913856001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:54:54] 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-04-17 13:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776414027000,"timestamp_ms":1776414027000,"timestamp_seconds":1776414027,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a86ecf8"} 
[2026-04-17 13:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:54:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:54: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-04-17 13:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761913856001,"66":2177,"70":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 13:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761913856001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:54:54] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 13:54:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761913856001,"power":2177,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:54:55] local.INFO: DEBUG: GPS processor result {"connection_id":46679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:54:55] local.INFO: GPS data processed {"connection_id":46679,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:54:55] local.INFO: Acknowledgment sent {"connection_id":46679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:54:56] local.INFO: TCP Data received {"connection_id":45908,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45908,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:54:56] local.INFO: Processing buffer {"connection_id":45908,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:54:56] local.INFO: IMEI packet received {"connection_id":45908,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":45908,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:54:57] local.INFO: TCP Data received {"connection_id":45908,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:54:57] local.INFO: Processing buffer {"connection_id":45908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:54:57] local.INFO: Packet analysis {"connection_id":45908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:54:57] local.INFO: Extracted packet for processing {"connection_id":45908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:54:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761931520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776414095000,"timestamp_ms":1776414095000,"timestamp_seconds":1776414095,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a87f698"} 
[2026-04-17 13:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 13:54: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-04-17 13:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761931520001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761931520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:54:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:54:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761931520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":45908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:54:57] local.INFO: GPS data processed {"connection_id":45908,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:54:57] local.INFO: Acknowledgment sent {"connection_id":45908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:55:26] local.INFO: TCP Data received {"connection_id":46679,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46679,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:55:26] local.INFO: Processing buffer {"connection_id":46679,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:55:26] local.INFO: Packet analysis {"connection_id":46679,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:55:26] local.INFO: Extracted packet for processing {"connection_id":46679,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:55:26] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":34,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:55:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761913856001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:55:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:55:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:55:26] 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-04-17 13:55:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776414027000,"timestamp_ms":1776414027000,"timestamp_seconds":1776414027,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a86ecf8"} 
[2026-04-17 13:55:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:55:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:55:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:55: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-04-17 13:55:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:55:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:55:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:55:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46679,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:55:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:55:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46679,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:55:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:55:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:55:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:55:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761913856001,"66":2177,"70":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 13:55:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:55:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:55:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761913856001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:55:26] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 13:55:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:55:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:55:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:55:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761913856001,"power":2177,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:55:26] local.INFO: DEBUG: GPS processor result {"connection_id":46679,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:55:26] local.INFO: GPS data processed {"connection_id":46679,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:55:26] local.INFO: Acknowledgment sent {"connection_id":46679,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:55:28] local.INFO: TCP Data received {"connection_id":45908,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:55:28] local.INFO: Processing buffer {"connection_id":45908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:55:28] local.INFO: Packet analysis {"connection_id":45908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:55:28] local.INFO: Extracted packet for processing {"connection_id":45908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:55:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 13:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761931520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776414095000,"timestamp_ms":1776414095000,"timestamp_seconds":1776414095,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a87f698"} 
[2026-04-17 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-04-17 13:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 13:55:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 13:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45908,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761931520001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761931520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:55:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:55:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761931520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":45908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:55:28] local.INFO: GPS data processed {"connection_id":45908,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:55:28] local.INFO: Acknowledgment sent {"connection_id":45908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:55:48] local.INFO: TCP Data received {"connection_id":46681,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:55:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:55:48] local.INFO: Processing buffer {"connection_id":46681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:55:48] local.INFO: IMEI packet received {"connection_id":46681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:55:48] local.INFO: IMEI acknowledgment sent {"connection_id":46681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:55:53] local.INFO: TCP Data received {"connection_id":46681,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:55:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46681,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:55:53] local.INFO: Processing buffer {"connection_id":46681,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:55:53] local.INFO: IMEI packet received {"connection_id":46681,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:55:53] local.INFO: IMEI acknowledgment sent {"connection_id":46681,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:55:55] local.INFO: TCP Data received {"connection_id":46681,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:55:55] local.INFO: Processing buffer {"connection_id":46681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a86ecf8012d1974c0071fecd8003b011922..."} 
[2026-04-17 13:55:55] local.INFO: Packet analysis {"connection_id":46681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:55:55] local.INFO: Extracted packet for processing {"connection_id":46681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a86"} 
[2026-04-17 13:55:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":34,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761913856001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:55:55] 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-04-17 13:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776414027000,"timestamp_ms":1776414027000,"timestamp_seconds":1776414027,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a86ecf8"} 
[2026-04-17 13:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:55:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11008,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 13:55: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-04-17 13: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-04-17 13:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:55:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761913856001,"66":2177,"70":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 13:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761913856001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:55:55] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 13:55:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761913856001,"power":2177,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":46681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21634,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:55:55] local.INFO: GPS data processed {"connection_id":46681,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:55:55] local.INFO: Acknowledgment sent {"connection_id":46681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:55:56] local.INFO: TCP Data received {"connection_id":46682,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:55:56] local.INFO: Processing buffer {"connection_id":46682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:55:56] local.INFO: IMEI packet received {"connection_id":46682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":46682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:56:01] local.INFO: TCP Data received {"connection_id":46682,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46682,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:56:01] local.INFO: Processing buffer {"connection_id":46682,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:56:01] local.INFO: IMEI packet received {"connection_id":46682,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":46682,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:56:01] local.INFO: TCP Data received {"connection_id":46682,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:56:01] local.INFO: Processing buffer {"connection_id":46682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:56:01] local.INFO: Packet analysis {"connection_id":46682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:56:01] local.INFO: Extracted packet for processing {"connection_id":46682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761931520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776414095000,"timestamp_ms":1776414095000,"timestamp_seconds":1776414095,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a87f698"} 
[2026-04-17 13:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:56:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 13:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:56:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:56: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-04-17 13:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761931520001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761931520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:56:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761931520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":46682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:56:01] local.INFO: GPS data processed {"connection_id":46682,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:56:01] local.INFO: Acknowledgment sent {"connection_id":46682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:56:06] local.INFO: TCP Data received {"connection_id":46682,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46682,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:56:06] local.INFO: Processing buffer {"connection_id":46682,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:56:06] local.INFO: Packet analysis {"connection_id":46682,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:56:06] local.INFO: Extracted packet for processing {"connection_id":46682,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761931520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776414095000,"timestamp_ms":1776414095000,"timestamp_seconds":1776414095,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a87f698"} 
[2026-04-17 13:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 13:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46682,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46682,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:56:06] 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-04-17 13:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761931520001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761931520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:56:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761931520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":46682,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:56:06] local.INFO: GPS data processed {"connection_id":46682,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:56:06] local.INFO: Acknowledgment sent {"connection_id":46682,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:56:27] local.INFO: TCP Data received {"connection_id":46681,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46681,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:56:27] local.INFO: Processing buffer {"connection_id":46681,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:56:27] local.INFO: Packet analysis {"connection_id":46681,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:56:27] local.INFO: Extracted packet for processing {"connection_id":46681,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:56:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":35,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761990912001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13: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-04-17 13:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776414328000,"timestamp_ms":1776414328000,"timestamp_seconds":1776414328,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8b84c0"} 
[2026-04-17 13:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:56:27] 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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:56:27] 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-04-17 13: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-04-17 13:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46681,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46681,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761990912001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761990912001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:56:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:56:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761990912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":46681,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21637,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:56:27] local.INFO: GPS data processed {"connection_id":46681,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:56:27] local.INFO: Acknowledgment sent {"connection_id":46681,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:56:49] local.INFO: TCP Data received {"connection_id":45816,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:56:49] local.INFO: Processing buffer {"connection_id":45816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:56:49] local.INFO: IMEI packet received {"connection_id":45816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":45816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:56:50] local.INFO: TCP Data received {"connection_id":45817,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:56:50] local.INFO: Processing buffer {"connection_id":45817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:56:50] local.INFO: IMEI packet received {"connection_id":45817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":45817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:56:54] local.INFO: TCP Data received {"connection_id":45816,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45816,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:56:54] local.INFO: Processing buffer {"connection_id":45816,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:56:54] local.INFO: IMEI packet received {"connection_id":45816,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":45816,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:56:55] local.INFO: TCP Data received {"connection_id":45816,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:56:55] local.INFO: Processing buffer {"connection_id":45816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:56:55] local.INFO: Packet analysis {"connection_id":45816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:56:55] local.INFO: Extracted packet for processing {"connection_id":45816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:56:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":35,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761990912001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:56: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-04-17 13:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776414328000,"timestamp_ms":1776414328000,"timestamp_seconds":1776414328,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8b84c0"} 
[2026-04-17 13:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:56:55] 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-04-17 13:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:56:55] 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-04-17 13:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:56:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761990912001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761990912001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:56:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:56:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761990912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":45816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21638,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:56:55] local.INFO: GPS data processed {"connection_id":45816,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:56:55] local.INFO: Acknowledgment sent {"connection_id":45816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:56:56] local.INFO: TCP Data received {"connection_id":45817,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45817,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:56:56] local.INFO: Processing buffer {"connection_id":45817,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:56:56] local.INFO: IMEI packet received {"connection_id":45817,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":45817,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:56:57] local.INFO: TCP Data received {"connection_id":45817,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:56:57] local.INFO: Processing buffer {"connection_id":45817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a87f698012d7faa8005afd2f8000b00002f..."} 
[2026-04-17 13:56:57] local.INFO: Packet analysis {"connection_id":45817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:56:57] local.INFO: Extracted packet for processing {"connection_id":45817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a87"} 
[2026-04-17 13:56:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761931520001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776414095000,"timestamp_ms":1776414095000,"timestamp_seconds":1776414095,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a87f698"} 
[2026-04-17 13:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 13:56: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-04-17 13: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-04-17 13:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761931520001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761931520001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:56:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:56:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761931520001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":45817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:56:57] local.INFO: GPS data processed {"connection_id":45817,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:56:57] local.INFO: Acknowledgment sent {"connection_id":45817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:57:15] local.INFO: TCP Data received {"connection_id":46122,"ip":"117.224.246.170","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:57:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46122,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:57:15] local.INFO: Processing buffer {"connection_id":46122,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:57:15] local.INFO: IMEI packet received {"connection_id":46122,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:57:15] local.INFO: IMEI acknowledgment sent {"connection_id":46122,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:57:17] local.INFO: TCP Data received {"connection_id":46122,"ip":"117.224.246.170","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8ae0b0012d51f5400677b688002e00e724..."} 
[2026-04-17 13:57:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8ae0b0012d51f5400677b688002e00e724..."} 
[2026-04-17 13:57:17] local.INFO: Processing buffer {"connection_id":46122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8ae0b0012d51f5400677b688002e00e724..."} 
[2026-04-17 13:57:17] local.INFO: Packet analysis {"connection_id":46122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8a"} 
[2026-04-17 13:57:17] local.INFO: Extracted packet for processing {"connection_id":46122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8a"} 
[2026-04-17 13:57:17] local.INFO: GPS Element Parsed {"raw_longitude":760345920,"raw_latitude":108508808,"longitude_deg":76.034592,"latitude_deg":10.8508808,"altitude":46,"angle":231,"satellites":36,"speed":53,"hex_longitude":"2d51f540","hex_latitude":"0677b688","is_valid_coordinates":true} 
[2026-04-17 13:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:57:17] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762053120001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:57:17] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:57:17] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5921529850332805120,"note":"Value kept but may cause issues"} 
[2026-04-17 13:57:17] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,18,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:57:17] local.INFO: AVL Record Parsed {"raw_timestamp":1776414286000,"timestamp_ms":1776414286000,"timestamp_seconds":1776414286,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8ae0b0"} 
[2026-04-17 13:57:17] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:57:17] 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-04-17 13:57:17] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:57:17] 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-04-17 13:57:17] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:57:17] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:57:17] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:57:17] local.INFO: Teltonika packet parsed successfully {"connection_id":46122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:57:17] local.INFO: Passing IMEI to GPS processor {"connection_id":46122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:57:17] local.INFO: DEBUG: About to call GPS processor {"connection_id":46122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:57:17] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.246.170","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:57:17] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:57:17] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:57:17] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762053120001,"66":28398,"107":206,"18":6656,"24":53,"16":106618783551979520,"45":5921529850332805120},"client_ip":"117.224.246.170","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,18,24,16,45]} 
[2026-04-17 13:57:17] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:57:17] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:57:17] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762053120001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:57:17] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-17 13:57:17] local.INFO: Unknown IO ID detected {"io_id":18,"value":6656,"description":"Unknown IO ID 18"} 
[2026-04-17 13:57:17] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:57:17] local.INFO: Unknown IO ID detected {"io_id":45,"value":5921529850332805120,"description":"Unknown IO ID 45"} 
[2026-04-17 13:57:17] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762053120001,"power":28398,"unknown_107":206,"unknown_18":6656,"ignition":53,"odometer":null,"unknown_45":5921529850332805120}} 
[2026-04-17 13:57:17] local.INFO: DEBUG: GPS processor result {"connection_id":46122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21640,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:57:17] local.INFO: GPS data processed {"connection_id":46122,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:57:17] local.INFO: Acknowledgment sent {"connection_id":46122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:57:27] local.INFO: TCP Data received {"connection_id":45816,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:57:27] local.INFO: Processing buffer {"connection_id":45816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:57:27] local.INFO: Packet analysis {"connection_id":45816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:57:27] local.INFO: Extracted packet for processing {"connection_id":45816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:57:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":35,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761990912001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:57: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-04-17 13:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776414328000,"timestamp_ms":1776414328000,"timestamp_seconds":1776414328,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8b84c0"} 
[2026-04-17 13:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:57:27] 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-04-17 13:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:57:27] 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-04-17 13:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45816,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761990912001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761990912001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:57:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:57:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761990912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":45816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21641,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:57:27] local.INFO: GPS data processed {"connection_id":45816,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:57:27] local.INFO: Acknowledgment sent {"connection_id":45816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:57:27] local.INFO: TCP Data received {"connection_id":45817,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 13:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 13:57:27] local.INFO: Processing buffer {"connection_id":45817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 13:57:27] local.INFO: Packet analysis {"connection_id":45817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 13:57:27] local.INFO: Extracted packet for processing {"connection_id":45817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 13:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762008320001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776414396000,"timestamp_ms":1776414396000,"timestamp_seconds":1776414396,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8c8e60"} 
[2026-04-17 13:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 13:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45817,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762008320001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762008320001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:57:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762008320001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":45817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:57:27] local.INFO: GPS data processed {"connection_id":45817,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:57:27] local.INFO: Acknowledgment sent {"connection_id":45817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:57:48] local.INFO: TCP Data received {"connection_id":45909,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:57:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:57:48] local.INFO: Processing buffer {"connection_id":45909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:57:48] local.INFO: IMEI packet received {"connection_id":45909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:57:48] local.INFO: IMEI acknowledgment sent {"connection_id":45909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:57:49] local.INFO: TCP Data received {"connection_id":46122,"ip":"117.224.246.170","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8b2318012d51b74006778128002400db20..."} 
[2026-04-17 13:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46122,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8b2318012d51b74006778128002400db20..."} 
[2026-04-17 13:57:49] local.INFO: Processing buffer {"connection_id":46122,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8b2318012d51b74006778128002400db20..."} 
[2026-04-17 13:57:49] local.INFO: Packet analysis {"connection_id":46122,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:57:49] local.INFO: Extracted packet for processing {"connection_id":46122,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:57:49] local.INFO: GPS Element Parsed {"raw_longitude":760330048,"raw_latitude":108495144,"longitude_deg":76.0330048,"latitude_deg":10.8495144,"altitude":36,"angle":219,"satellites":32,"speed":42,"hex_longitude":"2d51b740","hex_latitude":"06778128","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:57:49] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762057216001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:57:49] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:57:49] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5905696882888706048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:57:49] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:57:49] local.INFO: AVL Record Parsed {"raw_timestamp":1776414303000,"timestamp_ms":1776414303000,"timestamp_seconds":1776414303,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8b2318"} 
[2026-04-17 13:57:49] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:57: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-04-17 13:57:49] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 13:57:49] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2890,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13:57:49] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:57:49] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:57:49] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:57:49] local.INFO: Teltonika packet parsed successfully {"connection_id":46122,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:57:49] local.INFO: Passing IMEI to GPS processor {"connection_id":46122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:57:49] local.INFO: DEBUG: About to call GPS processor {"connection_id":46122,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:57:49] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.246.170","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:57:49] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:57:49] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:57:49] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762057216001,"66":28256,"197":206,"19":47872,"24":42,"16":106618783551979520,"45":5905696882888706048},"client_ip":"117.224.246.170","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,19,24,16,45]} 
[2026-04-17 13:57:49] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:57:49] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:57:49] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762057216001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:57:49] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 13:57:49] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:57:49] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:57:49] local.INFO: Unknown IO ID detected {"io_id":45,"value":5905696882888706048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:57:49] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762057216001,"power":28256,"unknown_197":206,"unknown_19":47872,"ignition":42,"odometer":null,"unknown_45":5905696882888706048}} 
[2026-04-17 13:57:49] local.INFO: DEBUG: GPS processor result {"connection_id":46122,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21643,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:57:49] local.INFO: GPS data processed {"connection_id":46122,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:57:49] local.INFO: Acknowledgment sent {"connection_id":46122,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:57:50] local.INFO: TCP Data received {"connection_id":45910,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:57:50] local.INFO: Processing buffer {"connection_id":45910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:57:50] local.INFO: IMEI packet received {"connection_id":45910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":45910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:57:53] local.INFO: TCP Data received {"connection_id":45909,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:57:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:57:53] local.INFO: Processing buffer {"connection_id":45909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:57:53] local.INFO: IMEI packet received {"connection_id":45909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:57:53] local.INFO: IMEI acknowledgment sent {"connection_id":45909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:57:55] local.INFO: TCP Data received {"connection_id":45909,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:57:55] local.INFO: Processing buffer {"connection_id":45909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:57:55] local.INFO: Packet analysis {"connection_id":45909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:57:55] local.INFO: Extracted packet for processing {"connection_id":45909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:57:55] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":35,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761990912001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:57: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-04-17 13:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776414328000,"timestamp_ms":1776414328000,"timestamp_seconds":1776414328,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8b84c0"} 
[2026-04-17 13:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:57:55] 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-04-17 13:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:57:55] 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-04-17 13:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761990912001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761990912001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:57:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:57:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761990912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":45909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:57:55] local.INFO: GPS data processed {"connection_id":45909,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:57:55] local.INFO: Acknowledgment sent {"connection_id":45909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:57:56] local.INFO: TCP Data received {"connection_id":45910,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:57:56] local.INFO: Processing buffer {"connection_id":45910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:57:56] local.INFO: IMEI packet received {"connection_id":45910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":45910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:57:57] local.INFO: TCP Data received {"connection_id":45910,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 13:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 13:57:57] local.INFO: Processing buffer {"connection_id":45910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 13:57:57] local.INFO: Packet analysis {"connection_id":45910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 13:57:57] local.INFO: Extracted packet for processing {"connection_id":45910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 13:57:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762008320001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776414396000,"timestamp_ms":1776414396000,"timestamp_seconds":1776414396,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8c8e60"} 
[2026-04-17 13:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 13:57: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-04-17 13:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762008320001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762008320001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:57:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:57:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762008320001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":45910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:57:57] local.INFO: GPS data processed {"connection_id":45910,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:57:57] local.INFO: Acknowledgment sent {"connection_id":45910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:58:00] local.INFO: TCP Data received {"connection_id":45911,"ip":"117.224.246.170","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:58:00] local.INFO: Processing buffer {"connection_id":45911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:58:00] local.INFO: IMEI packet received {"connection_id":45911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":45911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:58:05] local.INFO: TCP Data received {"connection_id":45911,"ip":"117.224.246.170","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:58:05] local.INFO: Processing buffer {"connection_id":45911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:58:05] local.INFO: IMEI packet received {"connection_id":45911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:58:05] local.INFO: IMEI acknowledgment sent {"connection_id":45911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:58:06] local.INFO: TCP Data received {"connection_id":45911,"ip":"117.224.246.170","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:58:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:58:06] local.INFO: Processing buffer {"connection_id":45911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:58:06] local.INFO: IMEI packet received {"connection_id":45911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:58:06] local.INFO: IMEI acknowledgment sent {"connection_id":45911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:58:10] local.INFO: TCP Data received {"connection_id":45911,"ip":"117.224.246.170","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:58:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45911,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:58:10] local.INFO: Processing buffer {"connection_id":45911,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:58:10] local.INFO: IMEI packet received {"connection_id":45911,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:58:10] local.INFO: IMEI acknowledgment sent {"connection_id":45911,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:58:12] local.INFO: TCP Data received {"connection_id":45911,"ip":"117.224.246.170","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8b6d50012d519680067742e8001b00cc2d..."} 
[2026-04-17 13:58:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8b6d50012d519680067742e8001b00cc2d..."} 
[2026-04-17 13:58:12] local.INFO: Processing buffer {"connection_id":45911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8b6d50012d519680067742e8001b00cc2d..."} 
[2026-04-17 13:58:12] local.INFO: Packet analysis {"connection_id":45911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:58:12] local.INFO: Extracted packet for processing {"connection_id":45911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:58:12] local.INFO: GPS Element Parsed {"raw_longitude":760321664,"raw_latitude":108479208,"longitude_deg":76.0321664,"latitude_deg":10.8479208,"altitude":27,"angle":204,"satellites":45,"speed":35,"hex_longitude":"2d519680","hex_latitude":"067742e8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:58:12] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762061568001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:12] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:12] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5888245434329147392,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:12] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,197,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:58:12] local.INFO: AVL Record Parsed {"raw_timestamp":1776414322000,"timestamp_ms":1776414322000,"timestamp_seconds":1776414322,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8b6d50"} 
[2026-04-17 13:58:12] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:58:12] 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-04-17 13: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":110,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 13:58:12] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1612,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:58:12] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:58:12] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:58:12] local.INFO: Teltonika packet parsed successfully {"connection_id":45911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:58:12] local.INFO: Passing IMEI to GPS processor {"connection_id":45911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:58:12] local.INFO: DEBUG: About to call GPS processor {"connection_id":45911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:58:12] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.246.170","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:58:12] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:58:12] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:58:12] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762061568001,"66":28354,"197":206,"19":47872,"24":35,"16":106618783551979520,"45":5888245434329147392},"client_ip":"117.224.246.170","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,197,19,24,16,45]} 
[2026-04-17 13:58:12] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:58:12] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:58:12] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762061568001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:58:12] local.INFO: Unknown IO ID detected {"io_id":197,"value":206,"description":"Unknown IO ID 197"} 
[2026-04-17 13:58:12] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:58:12] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:58:12] local.INFO: Unknown IO ID detected {"io_id":45,"value":5888245434329147392,"description":"Unknown IO ID 45"} 
[2026-04-17 13:58:12] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762061568001,"power":28354,"unknown_197":206,"unknown_19":47872,"ignition":35,"odometer":null,"unknown_45":5888245434329147392}} 
[2026-04-17 13:58:12] local.INFO: DEBUG: GPS processor result {"connection_id":45911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21646,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:58:12] local.INFO: GPS data processed {"connection_id":45911,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:58:12] local.INFO: Acknowledgment sent {"connection_id":45911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:58:15] local.INFO: TCP Data received {"connection_id":45911,"ip":"117.224.246.170","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8bbf58012d5179800676ff78001800c92e..."} 
[2026-04-17 13:58:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8bbf58012d5179800676ff78001800c92e..."} 
[2026-04-17 13:58:15] local.INFO: Processing buffer {"connection_id":45911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8bbf58012d5179800676ff78001800c92e..."} 
[2026-04-17 13:58:15] local.INFO: Packet analysis {"connection_id":45911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:58:15] local.INFO: Extracted packet for processing {"connection_id":45911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:58:15] local.INFO: GPS Element Parsed {"raw_longitude":760314240,"raw_latitude":108461944,"longitude_deg":76.031424,"latitude_deg":10.8461944,"altitude":24,"angle":201,"satellites":46,"speed":0,"hex_longitude":"2d517980","hex_latitude":"0676ff78","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:58:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762066432001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5879027128837793792,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:58:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776414343000,"timestamp_ms":1776414343000,"timestamp_seconds":1776414343,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8bbf58"} 
[2026-04-17 13:58:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:58: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-04-17 13: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 13:58:15] 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-04-17 13: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-04-17 13:58:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:58:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:58:15] local.INFO: Teltonika packet parsed successfully {"connection_id":45911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:58:15] local.INFO: Passing IMEI to GPS processor {"connection_id":45911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:58:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":45911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:58:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.246.170","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:58:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:58:15] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:58:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762066432001,"66":28376,"129":206,"19":47872,"24":0,"16":106618783551979520,"45":5879027128837793792},"client_ip":"117.224.246.170","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,19,24,16,45]} 
[2026-04-17 13:58:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:58:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:58:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762066432001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:58:15] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 13:58:15] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:58:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:58:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":5879027128837793792,"description":"Unknown IO ID 45"} 
[2026-04-17 13:58:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762066432001,"power":28376,"unknown_129":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5879027128837793792}} 
[2026-04-17 13:58:16] local.INFO: DEBUG: GPS processor result {"connection_id":45911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21647,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:58:16] local.INFO: GPS data processed {"connection_id":45911,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:58:16] local.INFO: Acknowledgment sent {"connection_id":45911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:58:26] local.INFO: TCP Data received {"connection_id":45909,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:58:26] local.INFO: Processing buffer {"connection_id":45909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:58:26] local.INFO: Packet analysis {"connection_id":45909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:58:26] local.INFO: Extracted packet for processing {"connection_id":45909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:58:26] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":35,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761990912001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58: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-04-17 13:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776414328000,"timestamp_ms":1776414328000,"timestamp_seconds":1776414328,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8b84c0"} 
[2026-04-17 13:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":10496,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:58:26] 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-04-17 13:58:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761990912001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761990912001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:58:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:58:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761990912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":45909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21648,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:58:26] local.INFO: GPS data processed {"connection_id":45909,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:58:26] local.INFO: Acknowledgment sent {"connection_id":45909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:58:28] local.INFO: TCP Data received {"connection_id":45910,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 13:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 13:58:28] local.INFO: Processing buffer {"connection_id":45910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 13:58:28] local.INFO: Packet analysis {"connection_id":45910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 13:58:28] local.INFO: Extracted packet for processing {"connection_id":45910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 13:58:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762008320001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776414396000,"timestamp_ms":1776414396000,"timestamp_seconds":1776414396,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8c8e60"} 
[2026-04-17 13:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 13:58:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762008320001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762008320001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:58:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762008320001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":45910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:58:28] local.INFO: GPS data processed {"connection_id":45910,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:58:28] local.INFO: Acknowledgment sent {"connection_id":45910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:58:46] local.INFO: TCP Data received {"connection_id":45911,"ip":"117.224.246.170","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8c1160012d5162800676c0a8001500c930..."} 
[2026-04-17 13:58:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8c1160012d5162800676c0a8001500c930..."} 
[2026-04-17 13:58:46] local.INFO: Processing buffer {"connection_id":45911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8c1160012d5162800676c0a8001500c930..."} 
[2026-04-17 13:58:46] local.INFO: Packet analysis {"connection_id":45911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 13:58:46] local.INFO: Extracted packet for processing {"connection_id":45911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 13:58:46] local.INFO: GPS Element Parsed {"raw_longitude":760308352,"raw_latitude":108445864,"longitude_deg":76.0308352,"latitude_deg":10.8445864,"altitude":21,"angle":201,"satellites":48,"speed":0,"hex_longitude":"2d516280","hex_latitude":"0676c0a8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:58:46] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762071808001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:46] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:46] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5870864354508765184,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:46] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:58:46] local.INFO: AVL Record Parsed {"raw_timestamp":1776414364000,"timestamp_ms":1776414364000,"timestamp_seconds":1776414364,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8c1160"} 
[2026-04-17 13:58:46] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:58: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-04-17 13: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 13:58:46] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2692,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:58:46] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:58:46] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:58:46] local.INFO: Teltonika packet parsed successfully {"connection_id":45911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:58:46] local.INFO: Passing IMEI to GPS processor {"connection_id":45911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:58:46] local.INFO: DEBUG: About to call GPS processor {"connection_id":45911,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:58:46] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.246.170","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:58:46] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:58:46] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:58:46] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762071808001,"66":28376,"129":206,"19":47872,"24":0,"16":106618783551979520,"45":5870864354508765184},"client_ip":"117.224.246.170","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,19,24,16,45]} 
[2026-04-17 13:58:46] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:58:46] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:58:46] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762071808001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:58:46] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 13:58:46] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:58:46] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:58:46] local.INFO: Unknown IO ID detected {"io_id":45,"value":5870864354508765184,"description":"Unknown IO ID 45"} 
[2026-04-17 13:58:46] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762071808001,"power":28376,"unknown_129":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5870864354508765184}} 
[2026-04-17 13:58:47] local.INFO: DEBUG: GPS processor result {"connection_id":45911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21650,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:58:47] local.INFO: GPS data processed {"connection_id":45911,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:58:47] local.INFO: Acknowledgment sent {"connection_id":45911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:58:48] local.INFO: TCP Data received {"connection_id":46123,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:58:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:58:48] local.INFO: Processing buffer {"connection_id":46123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:58:48] local.INFO: IMEI packet received {"connection_id":46123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:58:48] local.INFO: IMEI acknowledgment sent {"connection_id":46123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:58:50] local.INFO: TCP Data received {"connection_id":46124,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:58:50] local.INFO: Processing buffer {"connection_id":46124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:58:50] local.INFO: IMEI packet received {"connection_id":46124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":46124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:58:53] local.INFO: TCP Data received {"connection_id":46123,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:58:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46123,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:58:53] local.INFO: Processing buffer {"connection_id":46123,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:58:53] local.INFO: IMEI packet received {"connection_id":46123,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:58:53] local.INFO: IMEI acknowledgment sent {"connection_id":46123,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:58:54] local.INFO: TCP Data received {"connection_id":46123,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:58:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:58:54] local.INFO: Processing buffer {"connection_id":46123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:58:54] local.INFO: Packet analysis {"connection_id":46123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:58:54] local.INFO: Extracted packet for processing {"connection_id":46123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:58:54] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":35,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:58:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761990912001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58: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-04-17 13:58:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776414328000,"timestamp_ms":1776414328000,"timestamp_seconds":1776414328,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8b84c0"} 
[2026-04-17 13:58:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:58:54] 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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:58:54] 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-04-17 13: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-04-17 13:58:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:58:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:58:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:58:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:58:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:58:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:58:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:58:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:58:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761990912001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:58:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:58:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:58:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761990912001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:58:54] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:58:54] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:58:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:58:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:58:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761990912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":46123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21651,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:58:55] local.INFO: GPS data processed {"connection_id":46123,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:58:55] local.INFO: Acknowledgment sent {"connection_id":46123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:58:56] local.INFO: TCP Data received {"connection_id":46124,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46124,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:58:56] local.INFO: Processing buffer {"connection_id":46124,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:58:56] local.INFO: IMEI packet received {"connection_id":46124,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:58:56] local.INFO: IMEI acknowledgment sent {"connection_id":46124,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:58:57] local.INFO: TCP Data received {"connection_id":46124,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 13:58:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 13:58:57] local.INFO: Processing buffer {"connection_id":46124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 13:58:57] local.INFO: Packet analysis {"connection_id":46124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 13:58:57] local.INFO: Extracted packet for processing {"connection_id":46124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 13:58:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:58: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-04-17 13:58:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762008320001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:58:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:58:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776414396000,"timestamp_ms":1776414396000,"timestamp_seconds":1776414396,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8c8e60"} 
[2026-04-17 13:58:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:58:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:58:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 13:58: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-04-17 13:58: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-04-17 13:58:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:58:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:58:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:58:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:58:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:58:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:58:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:58:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:58:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762008320001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:58:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:58:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:58:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762008320001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:58:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:58:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:58:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:58:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:58:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762008320001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:58:57] local.INFO: DEBUG: GPS processor result {"connection_id":46124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:58:57] local.INFO: GPS data processed {"connection_id":46124,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:58:57] local.INFO: Acknowledgment sent {"connection_id":46124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:59:04] local.INFO: TCP Data received {"connection_id":45912,"ip":"117.224.246.170","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:59:04] local.INFO: Processing buffer {"connection_id":45912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:59:04] local.INFO: IMEI packet received {"connection_id":45912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 13:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":45912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:59:07] local.INFO: TCP Data received {"connection_id":45912,"ip":"117.224.246.170","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:59:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45912,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:59:07] local.INFO: Processing buffer {"connection_id":45912,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 13:59:07] local.INFO: IMEI packet received {"connection_id":45912,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 13:59:07] local.INFO: IMEI acknowledgment sent {"connection_id":45912,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:59:08] local.INFO: TCP Data received {"connection_id":45912,"ip":"117.224.246.170","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8c6368012d514c0006768a20001000cd2f..."} 
[2026-04-17 13:59:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8c6368012d514c0006768a20001000cd2f..."} 
[2026-04-17 13:59:08] local.INFO: Processing buffer {"connection_id":45912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8c6368012d514c0006768a20001000cd2f..."} 
[2026-04-17 13:59:08] local.INFO: Packet analysis {"connection_id":45912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 13:59:08] local.INFO: Extracted packet for processing {"connection_id":45912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 13:59:08] local.INFO: GPS Element Parsed {"raw_longitude":760302592,"raw_latitude":108431904,"longitude_deg":76.0302592,"latitude_deg":10.8431904,"altitude":16,"angle":205,"satellites":47,"speed":0,"hex_longitude":"2d514c00","hex_latitude":"06768a20","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:59:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762077184001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:59:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:59:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5864390430040303616,"note":"Value kept but may cause issues"} 
[2026-04-17 13:59:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:59:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776414385000,"timestamp_ms":1776414385000,"timestamp_seconds":1776414385,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8c6368"} 
[2026-04-17 13:59:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:59:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13: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":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 13:59:08] 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-04-17 13: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-04-17 13:59:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:59:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:59:08] local.INFO: Teltonika packet parsed successfully {"connection_id":45912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:59:08] local.INFO: Passing IMEI to GPS processor {"connection_id":45912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:59:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":45912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:59:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.246.170","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:59:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:59:08] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:59:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762077184001,"66":28376,"129":206,"19":47872,"24":0,"16":106618783551979520,"45":5864390430040303616},"client_ip":"117.224.246.170","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,19,24,16,45]} 
[2026-04-17 13:59:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 13:59:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 13:59:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762077184001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:59:08] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 13:59:08] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 13:59:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:59:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":5864390430040303616,"description":"Unknown IO ID 45"} 
[2026-04-17 13:59:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762077184001,"power":28376,"unknown_129":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5864390430040303616}} 
[2026-04-17 13:59:08] local.INFO: DEBUG: GPS processor result {"connection_id":45912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21653,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:59:08] local.INFO: GPS data processed {"connection_id":45912,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:59:08] local.INFO: Acknowledgment sent {"connection_id":45912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:59:27] local.INFO: TCP Data received {"connection_id":46123,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:59:27] local.INFO: Processing buffer {"connection_id":46123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 13:59:27] local.INFO: Packet analysis {"connection_id":46123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:59:27] local.INFO: Extracted packet for processing {"connection_id":46123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 13:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":35,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761990912001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 13:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:59: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-04-17 13:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776414328000,"timestamp_ms":1776414328000,"timestamp_seconds":1776414328,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8b84c0"} 
[2026-04-17 13:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:59:27] 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-04-17 13: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 13:59:27] 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-04-17 13: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-04-17 13:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46123,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 13:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 13:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 13:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761990912001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 13:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 13:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 13:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761990912001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:59:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 13:59:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 13:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761990912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 13:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":46123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:59:27] local.INFO: GPS data processed {"connection_id":46123,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:59:27] local.INFO: Acknowledgment sent {"connection_id":46123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:59:28] local.INFO: TCP Data received {"connection_id":46124,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 13:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 13:59:28] local.INFO: Processing buffer {"connection_id":46124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 13:59:28] local.INFO: Packet analysis {"connection_id":46124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 13:59:28] local.INFO: Extracted packet for processing {"connection_id":46124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 13:59:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762008320001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776414396000,"timestamp_ms":1776414396000,"timestamp_seconds":1776414396,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8c8e60"} 
[2026-04-17 13:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 13:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46124,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762008320001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762008320001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:59:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:59:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762008320001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":46124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:59:28] local.INFO: GPS data processed {"connection_id":46124,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:59:28] local.INFO: Acknowledgment sent {"connection_id":46124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:59:40] local.INFO: TCP Data received {"connection_id":45912,"ip":"117.224.246.170","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8d6d080100000000000000000000000000..."} 
[2026-04-17 13:59:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8d6d080100000000000000000000000000..."} 
[2026-04-17 13:59:40] local.INFO: Processing buffer {"connection_id":45912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8d6d080100000000000000000000000000..."} 
[2026-04-17 13:59:40] local.INFO: Packet analysis {"connection_id":45912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8d"} 
[2026-04-17 13:59:40] local.INFO: Extracted packet for processing {"connection_id":45912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8d"} 
[2026-04-17 13:59: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-04-17 13:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 13:59:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762082560001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:59:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 13:59:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5858057243060740096,"note":"Value kept but may cause issues"} 
[2026-04-17 13:59:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:59:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776414453000,"timestamp_ms":1776414453000,"timestamp_seconds":1776414453,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8d6d08"} 
[2026-04-17 13:59:40] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:59:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 13:59:40] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":110,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 13:59: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-04-17 13:59:40] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 13:59:40] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:59:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:59:40] local.INFO: Teltonika packet parsed successfully {"connection_id":45912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:59:40] local.INFO: Passing IMEI to GPS processor {"connection_id":45912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:59:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":45912,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 13:59:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.246.170","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:59:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 13:59:40] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 13:59:40] local.INFO: DEBUG: GPS processor result {"connection_id":45912,"result":{"success":true,"processed":0,"errors":0,"skipped":1,"total":1,"results":[{"success":false,"skipped":true,"message":"Invalid GPS coordinates - record skipped"}]}} 
[2026-04-17 13:59:40] local.INFO: GPS data processed {"connection_id":45912,"processed":0,"errors":0,"total":1} 
[2026-04-17 13:59:40] local.INFO: Acknowledgment sent {"connection_id":45912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:59:50] local.INFO: TCP Data received {"connection_id":46125,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:59:50] local.INFO: Processing buffer {"connection_id":46125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:59:50] local.INFO: IMEI packet received {"connection_id":46125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 13:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":46125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:59:53] local.INFO: TCP Data received {"connection_id":46126,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:59:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:59:53] local.INFO: Processing buffer {"connection_id":46126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:59:53] local.INFO: IMEI packet received {"connection_id":46126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 13:59:53] local.INFO: IMEI acknowledgment sent {"connection_id":46126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 13:59:56] local.INFO: TCP Data received {"connection_id":46125,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:59:56] local.INFO: Processing buffer {"connection_id":46125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 13:59:56] local.INFO: IMEI packet received {"connection_id":46125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 13:59:56] local.INFO: IMEI acknowledgment sent {"connection_id":46125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 13:59:56] local.INFO: TCP Data received {"connection_id":46125,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 13:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 13:59:56] local.INFO: Processing buffer {"connection_id":46125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 13:59:56] local.INFO: Packet analysis {"connection_id":46125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 13:59:56] local.INFO: Extracted packet for processing {"connection_id":46125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 13:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 13: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-04-17 13:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762008320001,"note":"Value kept but may cause issues"} 
[2026-04-17 13:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 13:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 13:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 13:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776414396000,"timestamp_ms":1776414396000,"timestamp_seconds":1776414396,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8c8e60"} 
[2026-04-17 13:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 13:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 13:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 13:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 13: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-04-17 13:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 13:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 13:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 13:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 13:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 13:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 13:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 13:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762008320001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 13:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 13:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 13:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762008320001,"description":"Unknown IO ID 0"} 
[2026-04-17 13:59:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 13:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 13:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 13:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 13:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762008320001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 13:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":46125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 13:59:56] local.INFO: GPS data processed {"connection_id":46125,"processed":1,"errors":0,"total":1} 
[2026-04-17 13:59:56] local.INFO: Acknowledgment sent {"connection_id":46125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 13:59:59] local.INFO: TCP Data received {"connection_id":46126,"ip":"117.224.34.233","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46126,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:59:59] local.INFO: Processing buffer {"connection_id":46126,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 13:59:59] local.INFO: IMEI packet received {"connection_id":46126,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 13:59:59] local.INFO: IMEI acknowledgment sent {"connection_id":46126,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:00:00] local.INFO: TCP Data received {"connection_id":46126,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 14:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 14:00:00] local.INFO: Processing buffer {"connection_id":46126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 14:00:00] local.INFO: Packet analysis {"connection_id":46126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 14:00:00] local.INFO: Extracted packet for processing {"connection_id":46126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 14:00:00] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":35,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 14:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761990912001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 14:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:00: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-04-17 14:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776414328000,"timestamp_ms":1776414328000,"timestamp_seconds":1776414328,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8b84c0"} 
[2026-04-17 14:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:00:00] 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-04-17 14:00:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 14:00:00] 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-04-17 14:00:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 14:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 14:00:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 14:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 14:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761990912001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 14:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 14:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 14:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761990912001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:00:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 14:00:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 14:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761990912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 14:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":46126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21657,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:00:00] local.INFO: GPS data processed {"connection_id":46126,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:00:00] local.INFO: Acknowledgment sent {"connection_id":46126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:00:04] local.INFO: TCP Data received {"connection_id":45913,"ip":"117.224.246.170","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:00:04] local.INFO: Processing buffer {"connection_id":45913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:00:04] local.INFO: IMEI packet received {"connection_id":45913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":45913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:00:09] local.INFO: TCP Data received {"connection_id":45913,"ip":"117.224.246.170","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:00:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:00:09] local.INFO: Processing buffer {"connection_id":45913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:00:09] local.INFO: IMEI packet received {"connection_id":45913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 14:00:09] local.INFO: IMEI acknowledgment sent {"connection_id":45913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:00:10] local.INFO: TCP Data received {"connection_id":45913,"ip":"117.224.246.170","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8cd0c8012d513880067661d8001100d32f..."} 
[2026-04-17 14:00:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8cd0c8012d513880067661d8001100d32f..."} 
[2026-04-17 14:00:10] local.INFO: Processing buffer {"connection_id":45913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8cd0c8012d513880067661d8001100d32f..."} 
[2026-04-17 14:00:10] local.INFO: Packet analysis {"connection_id":45913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 14:00:10] local.INFO: Extracted packet for processing {"connection_id":45913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 14:00:10] local.INFO: GPS Element Parsed {"raw_longitude":760297600,"raw_latitude":108421592,"longitude_deg":76.02976,"latitude_deg":10.8421592,"altitude":17,"angle":211,"satellites":47,"speed":17,"hex_longitude":"2d513880","hex_latitude":"067661d8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:00:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 14:00:10] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,129,19,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 14:00:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776414413000,"timestamp_ms":1776414413000,"timestamp_seconds":1776414413,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8cd0c8"} 
[2026-04-17 14:00:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:00: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":17666,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 14: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":110,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 14:00: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-04-17 14: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-04-17 14:00:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:00:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:00:10] local.INFO: Teltonika packet parsed successfully {"connection_id":45913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:00:10] local.INFO: Passing IMEI to GPS processor {"connection_id":45913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 14:00:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":45913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 14:00:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.246.170","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:00:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 14:00:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 14:00:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":0,"66":28332,"129":206,"19":47872,"24":17,"16":106618783551979520},"client_ip":"117.224.246.170","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,19,24,16]} 
[2026-04-17 14:00:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 14:00:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 14:00:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":0,"description":"Unknown IO ID 0"} 
[2026-04-17 14:00:10] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 14:00:10] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 14:00:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:00:10] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":0,"power":28332,"unknown_129":206,"unknown_19":47872,"ignition":17,"odometer":null}} 
[2026-04-17 14:00:10] local.INFO: DEBUG: GPS processor result {"connection_id":45913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21658,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:00:10] local.INFO: GPS data processed {"connection_id":45913,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:00:10] local.INFO: Acknowledgment sent {"connection_id":45913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:00:28] local.INFO: TCP Data received {"connection_id":46125,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:00:28] local.INFO: Processing buffer {"connection_id":46125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:00:28] local.INFO: Packet analysis {"connection_id":46125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 14:00:28] local.INFO: Extracted packet for processing {"connection_id":46125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 14:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762008320001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776414396000,"timestamp_ms":1776414396000,"timestamp_seconds":1776414396,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8c8e60"} 
[2026-04-17 14:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 14:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762008320001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762008320001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:00:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:00:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762008320001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":46125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:00:28] local.INFO: GPS data processed {"connection_id":46125,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:00:28] local.INFO: Acknowledgment sent {"connection_id":46125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:00:32] local.INFO: TCP Data received {"connection_id":46126,"ip":"117.224.34.233","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 14:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 14:00:32] local.INFO: Processing buffer {"connection_id":46126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8b84c0012d1974c0071fecd8003b011923..."} 
[2026-04-17 14:00:32] local.INFO: Packet analysis {"connection_id":46126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 14:00:32] local.INFO: Extracted packet for processing {"connection_id":46126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8b"} 
[2026-04-17 14:00:32] local.INFO: GPS Element Parsed {"raw_longitude":756643008,"raw_latitude":119532760,"longitude_deg":75.6643008,"latitude_deg":11.953276,"altitude":59,"angle":281,"satellites":35,"speed":0,"hex_longitude":"2d1974c0","hex_latitude":"071fecd8","is_valid_coordinates":true} 
[2026-04-17 14:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454761990912001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113534634381279232,"note":"Value kept but may cause issues"} 
[2026-04-17 14:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1834302085079554048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776414328000,"timestamp_ms":1776414328000,"timestamp_seconds":1776414328,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8b84c0"} 
[2026-04-17 14:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:00:32] 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-04-17 14:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 14:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 14:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46126,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 14:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.34.233","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 14:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 14:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454761990912001,"66":2166,"121":206,"28":31744,"24":0,"16":113534634381279232,"45":1834302085079554048},"client_ip":"117.224.34.233","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 14:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 14:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 14:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454761990912001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:00:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 14:00:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 14:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113534634381279232,"km_value":113534634381279.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1834302085079554048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454761990912001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1834302085079554048}} 
[2026-04-17 14:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":46126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:00:32] local.INFO: GPS data processed {"connection_id":46126,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:00:32] local.INFO: Acknowledgment sent {"connection_id":46126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:00:43] local.INFO: TCP Data received {"connection_id":45913,"ip":"117.224.246.170","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8d22d0012d513880067661d8001100d32f..."} 
[2026-04-17 14:00:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8d22d0012d513880067661d8001100d32f..."} 
[2026-04-17 14:00:43] local.INFO: Processing buffer {"connection_id":45913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8d22d0012d513880067661d8001100d32f..."} 
[2026-04-17 14:00:43] local.INFO: Packet analysis {"connection_id":45913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8d"} 
[2026-04-17 14:00:43] local.INFO: Extracted packet for processing {"connection_id":45913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8d"} 
[2026-04-17 14:00:43] local.INFO: GPS Element Parsed {"raw_longitude":760297600,"raw_latitude":108421592,"longitude_deg":76.02976,"latitude_deg":10.8421592,"altitude":17,"angle":211,"satellites":47,"speed":0,"hex_longitude":"2d513880","hex_latitude":"067661d8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 14:00:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762089728001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:00:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 14:00:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":5852568481012242432,"note":"Value kept but may cause issues"} 
[2026-04-17 14:00:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:00:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776414434000,"timestamp_ms":1776414434000,"timestamp_seconds":1776414434,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8d22d0"} 
[2026-04-17 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-04-17 14:00:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":110,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-17 14:00:43] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2296,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 14:00:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:00:43] local.INFO: Teltonika packet parsed successfully {"connection_id":45913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:00:43] local.INFO: Passing IMEI to GPS processor {"connection_id":45913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 14:00:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":45913,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 14:00:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"117.224.246.170","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:00:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 14:00:43] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 14:00:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762089728001,"66":28028,"129":206,"19":47872,"24":0,"16":106618783551979520,"45":5852568481012242432},"client_ip":"117.224.246.170","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,19,24,16,45]} 
[2026-04-17 14:00:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 14:00:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 14:00:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762089728001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:00:43] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 14:00:43] local.INFO: Unknown IO ID detected {"io_id":19,"value":47872,"description":"Unknown IO ID 19"} 
[2026-04-17 14:00:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:00:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":5852568481012242432,"description":"Unknown IO ID 45"} 
[2026-04-17 14:00:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762089728001,"power":28028,"unknown_129":206,"unknown_19":47872,"ignition":0,"odometer":null,"unknown_45":5852568481012242432}} 
[2026-04-17 14:00:43] local.INFO: DEBUG: GPS processor result {"connection_id":45913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21661,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:00:43] local.INFO: GPS data processed {"connection_id":45913,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:00:43] local.INFO: Acknowledgment sent {"connection_id":45913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:00:56] local.INFO: TCP Data received {"connection_id":45818,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:00:56] local.INFO: Processing buffer {"connection_id":45818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:00:56] local.INFO: IMEI packet received {"connection_id":45818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:00:56] local.INFO: IMEI acknowledgment sent {"connection_id":45818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:01:00] local.INFO: TCP Data received {"connection_id":45818,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45818,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:01:00] local.INFO: Processing buffer {"connection_id":45818,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:01:00] local.INFO: IMEI packet received {"connection_id":45818,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:01:00] local.INFO: IMEI acknowledgment sent {"connection_id":45818,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:01:01] local.INFO: TCP Data received {"connection_id":45818,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:01:01] local.INFO: Processing buffer {"connection_id":45818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:01:01] local.INFO: Packet analysis {"connection_id":45818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 14:01:01] local.INFO: Extracted packet for processing {"connection_id":45818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 14:01:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762008320001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:01:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776414396000,"timestamp_ms":1776414396000,"timestamp_seconds":1776414396,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8c8e60"} 
[2026-04-17 14:01:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:01:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 14:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:01:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:01:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:01: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-04-17 14:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762008320001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762008320001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:01:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:01:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762008320001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":45818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:01:01] local.INFO: GPS data processed {"connection_id":45818,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:01:01] local.INFO: Acknowledgment sent {"connection_id":45818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:01:06] local.INFO: TCP Data received {"connection_id":45818,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45818,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:01:06] local.INFO: Processing buffer {"connection_id":45818,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:01:06] local.INFO: Packet analysis {"connection_id":45818,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 14:01:06] local.INFO: Extracted packet for processing {"connection_id":45818,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 14:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762008320001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776414396000,"timestamp_ms":1776414396000,"timestamp_seconds":1776414396,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8c8e60"} 
[2026-04-17 14:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 14:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45818,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45818,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:01: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-04-17 14:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762008320001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762008320001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:01:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762008320001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":45818,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:01:06] local.INFO: GPS data processed {"connection_id":45818,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:01:06] local.INFO: Acknowledgment sent {"connection_id":45818,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:01:51] local.INFO: TCP Data received {"connection_id":45914,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:01:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:01:51] local.INFO: Processing buffer {"connection_id":45914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:01:51] local.INFO: IMEI packet received {"connection_id":45914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:01:51] local.INFO: IMEI acknowledgment sent {"connection_id":45914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:01:53] local.INFO: TCP Data received {"connection_id":46127,"ip":"117.224.246.170","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:01:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46127,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:01:53] local.INFO: Processing buffer {"connection_id":46127,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:01:53] local.INFO: IMEI packet received {"connection_id":46127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:01:53] local.INFO: IMEI acknowledgment sent {"connection_id":46127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:01:55] local.INFO: TCP Data received {"connection_id":45914,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:01:55] local.INFO: Processing buffer {"connection_id":45914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:01:55] local.INFO: IMEI packet received {"connection_id":45914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":45914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:01:57] local.INFO: TCP Data received {"connection_id":45914,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:01:57] local.INFO: Processing buffer {"connection_id":45914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a8c8e60012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:01:57] local.INFO: Packet analysis {"connection_id":45914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 14:01:57] local.INFO: Extracted packet for processing {"connection_id":45914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a8c"} 
[2026-04-17 14:01:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762008320001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776414396000,"timestamp_ms":1776414396000,"timestamp_seconds":1776414396,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a8c8e60"} 
[2026-04-17 14:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":86,"data_length":795,"current_offset":136} 
[2026-04-17 14:01: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-04-17 14: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-04-17 14:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762008320001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762008320001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:01:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:01:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762008320001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":45914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:01:57] local.INFO: GPS data processed {"connection_id":45914,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:01:57] local.INFO: Acknowledgment sent {"connection_id":45914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:02:28] local.INFO: TCP Data received {"connection_id":45914,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:02:28] local.INFO: Processing buffer {"connection_id":45914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:02:28] local.INFO: Packet analysis {"connection_id":45914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:02:28] local.INFO: Extracted packet for processing {"connection_id":45914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:02:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762085376001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776414697000,"timestamp_ms":1776414697000,"timestamp_seconds":1776414697,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a912628"} 
[2026-04-17 14:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:02: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-04-17 14: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-04-17 14:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762085376001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762085376001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:02:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:02:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762085376001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":45914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:02:28] local.INFO: GPS data processed {"connection_id":45914,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:02:28] local.INFO: Acknowledgment sent {"connection_id":45914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:02:32] local.INFO: TCP Data received {"connection_id":46127,"ip":"117.224.246.170","data_length":34,"data_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 14:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46127,"packet_length":34,"packet_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 14:02:32] local.INFO: Processing buffer {"connection_id":46127,"buffer_length":34,"buffer_hex":"000f383632353637303731363332333232000f38363235363730373136333233..."} 
[2026-04-17 14:02:32] local.INFO: IMEI packet received {"connection_id":46127,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 14:02:32] local.ERROR: TCP Connection error {"connection_id":46127,"code":2,"message":"client closed"} 
[2026-04-17 14:02:32] local.INFO: IMEI acknowledgment sent {"connection_id":46127,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:02:45] local.INFO: TCP Data received {"connection_id":46128,"ip":"117.224.246.170","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:02:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46128,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:02:45] local.INFO: Processing buffer {"connection_id":46128,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:02:45] local.INFO: IMEI packet received {"connection_id":46128,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:02:45] local.INFO: IMEI acknowledgment sent {"connection_id":46128,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:02:50] local.INFO: TCP Data received {"connection_id":46129,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:02:50] local.INFO: Processing buffer {"connection_id":46129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:02:50] local.INFO: IMEI packet received {"connection_id":46129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":46129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:02:55] local.INFO: TCP Data received {"connection_id":46129,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:02:55] local.INFO: Processing buffer {"connection_id":46129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:02:55] local.INFO: IMEI packet received {"connection_id":46129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":46129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:02:57] local.INFO: TCP Data received {"connection_id":46129,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:02:57] local.INFO: Processing buffer {"connection_id":46129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:02:57] local.INFO: Packet analysis {"connection_id":46129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:02:57] local.INFO: Extracted packet for processing {"connection_id":46129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:02:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762085376001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:02:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776414697000,"timestamp_ms":1776414697000,"timestamp_seconds":1776414697,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a912628"} 
[2026-04-17 14:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:02:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:02:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:02:57] 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-04-17 14:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762085376001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762085376001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:02:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:02:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762085376001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":46129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:02:57] local.INFO: GPS data processed {"connection_id":46129,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:02:57] local.INFO: Acknowledgment sent {"connection_id":46129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:03:28] local.INFO: TCP Data received {"connection_id":46129,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:03:28] local.INFO: Processing buffer {"connection_id":46129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:03:28] local.INFO: Packet analysis {"connection_id":46129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:03:28] local.INFO: Extracted packet for processing {"connection_id":46129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:03:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762085376001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776414697000,"timestamp_ms":1776414697000,"timestamp_seconds":1776414697,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a912628"} 
[2026-04-17 14:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:03: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-04-17 14:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762085376001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762085376001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:03:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:03:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762085376001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":46129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:03:28] local.INFO: GPS data processed {"connection_id":46129,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:03:28] local.INFO: Acknowledgment sent {"connection_id":46129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:03:50] local.INFO: TCP Data received {"connection_id":46130,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:03:50] local.INFO: Processing buffer {"connection_id":46130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:03:50] local.INFO: IMEI packet received {"connection_id":46130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":46130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:03:56] local.INFO: TCP Data received {"connection_id":46130,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:03:56] local.INFO: Processing buffer {"connection_id":46130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:03:56] local.INFO: IMEI packet received {"connection_id":46130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":46130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:03:57] local.INFO: TCP Data received {"connection_id":46130,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:03:57] local.INFO: Processing buffer {"connection_id":46130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:03:57] local.INFO: Packet analysis {"connection_id":46130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:03:57] local.INFO: Extracted packet for processing {"connection_id":46130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:03:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762085376001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776414697000,"timestamp_ms":1776414697000,"timestamp_seconds":1776414697,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a912628"} 
[2026-04-17 14:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762085376001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762085376001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:03:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:03:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762085376001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":46130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:03:57] local.INFO: GPS data processed {"connection_id":46130,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:03:57] local.INFO: Acknowledgment sent {"connection_id":46130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:04:28] local.INFO: TCP Data received {"connection_id":46130,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:04:28] local.INFO: Processing buffer {"connection_id":46130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:04:28] local.INFO: Packet analysis {"connection_id":46130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:04:28] local.INFO: Extracted packet for processing {"connection_id":46130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:04:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762085376001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776414697000,"timestamp_ms":1776414697000,"timestamp_seconds":1776414697,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a912628"} 
[2026-04-17 14:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:04:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:04: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-04-17 14: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-04-17 14:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762085376001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762085376001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:04:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:04:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762085376001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":46130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:04:28] local.INFO: GPS data processed {"connection_id":46130,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:04:28] local.INFO: Acknowledgment sent {"connection_id":46130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:04:50] local.INFO: TCP Data received {"connection_id":45916,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:04:50] local.INFO: Processing buffer {"connection_id":45916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:04:50] local.INFO: IMEI packet received {"connection_id":45916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":45916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:04:56] local.INFO: TCP Data received {"connection_id":45916,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:04:56] local.INFO: Processing buffer {"connection_id":45916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:04:56] local.INFO: IMEI packet received {"connection_id":45916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:04:56] local.INFO: IMEI acknowledgment sent {"connection_id":45916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:04:57] local.INFO: TCP Data received {"connection_id":45916,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:04:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:04:57] local.INFO: Processing buffer {"connection_id":45916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:04:57] local.INFO: Packet analysis {"connection_id":45916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:04:57] local.INFO: Extracted packet for processing {"connection_id":45916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:04:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:04:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762085376001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:04:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:04:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:04:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:04:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776414697000,"timestamp_ms":1776414697000,"timestamp_seconds":1776414697,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a912628"} 
[2026-04-17 14:04:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:04:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:04:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:04:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:04:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:04:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:04:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:04:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:04:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:04:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:04:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:04:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:04:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:04:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762085376001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:04:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:04:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:04:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762085376001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:04:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:04:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:04:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:04:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:04:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762085376001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:04:57] local.INFO: DEBUG: GPS processor result {"connection_id":45916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:04:57] local.INFO: GPS data processed {"connection_id":45916,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:04:57] local.INFO: Acknowledgment sent {"connection_id":45916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:05:28] local.INFO: TCP Data received {"connection_id":45916,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:05:28] local.INFO: Processing buffer {"connection_id":45916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:05:28] local.INFO: Packet analysis {"connection_id":45916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:05:28] local.INFO: Extracted packet for processing {"connection_id":45916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:05:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762085376001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776414697000,"timestamp_ms":1776414697000,"timestamp_seconds":1776414697,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a912628"} 
[2026-04-17 14:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762085376001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762085376001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:05:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:05:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762085376001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":45916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:05:28] local.INFO: GPS data processed {"connection_id":45916,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:05:28] local.INFO: Acknowledgment sent {"connection_id":45916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:05:56] local.INFO: TCP Data received {"connection_id":46132,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:05:56] local.INFO: Processing buffer {"connection_id":46132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:05:56] local.INFO: IMEI packet received {"connection_id":46132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":46132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:06:01] local.INFO: TCP Data received {"connection_id":46132,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:06:01] local.INFO: Processing buffer {"connection_id":46132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:06:01] local.INFO: IMEI packet received {"connection_id":46132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:06:01] local.INFO: IMEI acknowledgment sent {"connection_id":46132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:06:01] local.INFO: TCP Data received {"connection_id":46132,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:06:01] local.INFO: Processing buffer {"connection_id":46132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:06:01] local.INFO: Packet analysis {"connection_id":46132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:06:01] local.INFO: Extracted packet for processing {"connection_id":46132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762085376001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776414697000,"timestamp_ms":1776414697000,"timestamp_seconds":1776414697,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a912628"} 
[2026-04-17 14:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:06:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:06:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:06: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-04-17 14:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762085376001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762085376001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:06:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762085376001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":46132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:06:01] local.INFO: GPS data processed {"connection_id":46132,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:06:01] local.INFO: Acknowledgment sent {"connection_id":46132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:06:06] local.INFO: TCP Data received {"connection_id":46132,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:06:06] local.INFO: Processing buffer {"connection_id":46132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:06:06] local.INFO: Packet analysis {"connection_id":46132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:06:06] local.INFO: Extracted packet for processing {"connection_id":46132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762085376001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776414697000,"timestamp_ms":1776414697000,"timestamp_seconds":1776414697,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a912628"} 
[2026-04-17 14:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:06:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:06:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:06: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-04-17 14:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762085376001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762085376001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:06:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762085376001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":46132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:06:06] local.INFO: GPS data processed {"connection_id":46132,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:06:06] local.INFO: Acknowledgment sent {"connection_id":46132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:06:50] local.INFO: TCP Data received {"connection_id":45821,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:06:50] local.INFO: Processing buffer {"connection_id":45821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:06:50] local.INFO: IMEI packet received {"connection_id":45821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":45821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:06:56] local.INFO: TCP Data received {"connection_id":45821,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45821,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:06:56] local.INFO: Processing buffer {"connection_id":45821,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:06:56] local.INFO: IMEI packet received {"connection_id":45821,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:06:56] local.INFO: IMEI acknowledgment sent {"connection_id":45821,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:06:56] local.INFO: TCP Data received {"connection_id":45821,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:06:56] local.INFO: Processing buffer {"connection_id":45821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a912628012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:06:56] local.INFO: Packet analysis {"connection_id":45821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:06:56] local.INFO: Extracted packet for processing {"connection_id":45821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a91"} 
[2026-04-17 14:06:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762085376001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776414697000,"timestamp_ms":1776414697000,"timestamp_seconds":1776414697,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a912628"} 
[2026-04-17 14:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:06:56] 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-04-17 14: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762085376001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762085376001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:06:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762085376001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":45821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:06:56] local.INFO: GPS data processed {"connection_id":45821,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:06:56] local.INFO: Acknowledgment sent {"connection_id":45821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:07:28] local.INFO: TCP Data received {"connection_id":45821,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45821,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:07:28] local.INFO: Processing buffer {"connection_id":45821,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:07:28] local.INFO: Packet analysis {"connection_id":45821,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:07:28] local.INFO: Extracted packet for processing {"connection_id":45821,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762162432001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776414998000,"timestamp_ms":1776414998000,"timestamp_seconds":1776414998,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a95bdf0"} 
[2026-04-17 14:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45821,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45821,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:07:28] 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-04-17 14:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762162432001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762162432001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:07:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762162432001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":45821,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:07:28] local.INFO: GPS data processed {"connection_id":45821,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:07:28] local.INFO: Acknowledgment sent {"connection_id":45821,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:07:50] local.INFO: TCP Data received {"connection_id":46133,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:07:50] local.INFO: Processing buffer {"connection_id":46133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:07:50] local.INFO: IMEI packet received {"connection_id":46133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":46133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:07:56] local.INFO: TCP Data received {"connection_id":46133,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:07:56] local.INFO: Processing buffer {"connection_id":46133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:07:56] local.INFO: IMEI packet received {"connection_id":46133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:07:56] local.INFO: IMEI acknowledgment sent {"connection_id":46133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:07:57] local.INFO: TCP Data received {"connection_id":46133,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:07:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:07:57] local.INFO: Processing buffer {"connection_id":46133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:07:57] local.INFO: Packet analysis {"connection_id":46133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:07:57] local.INFO: Extracted packet for processing {"connection_id":46133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:07:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:07:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762162432001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:07:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:07:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:07:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:07:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776414998000,"timestamp_ms":1776414998000,"timestamp_seconds":1776414998,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a95bdf0"} 
[2026-04-17 14:07:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:07:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:07:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:07:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:07:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:07:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:07:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:07:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:07:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:07:57] 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-04-17 14:07:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:07:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:07:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762162432001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:07:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:07:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:07:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762162432001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:07:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:07:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:07:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:07:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:07:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762162432001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:07:57] local.INFO: DEBUG: GPS processor result {"connection_id":46133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:07:57] local.INFO: GPS data processed {"connection_id":46133,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:07:57] local.INFO: Acknowledgment sent {"connection_id":46133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:08:29] local.INFO: TCP Data received {"connection_id":46133,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:08:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:08:29] local.INFO: Processing buffer {"connection_id":46133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:08:29] local.INFO: Packet analysis {"connection_id":46133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:08:29] local.INFO: Extracted packet for processing {"connection_id":46133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:08:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:08:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762162432001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:08:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:08:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:08:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:08:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776414998000,"timestamp_ms":1776414998000,"timestamp_seconds":1776414998,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a95bdf0"} 
[2026-04-17 14:08:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:08:29] 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-04-17 14:08:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:08:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:08:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:08:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:08:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:08:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:08:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:08:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:08:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:08:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:08:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762162432001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:08:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:08:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:08:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762162432001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:08:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:08:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:08:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:08:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:08:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762162432001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:08:29] local.INFO: DEBUG: GPS processor result {"connection_id":46133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:08:29] local.INFO: GPS data processed {"connection_id":46133,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:08:29] local.INFO: Acknowledgment sent {"connection_id":46133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:08:50] local.INFO: TCP Data received {"connection_id":46134,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:08:50] local.INFO: Processing buffer {"connection_id":46134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:08:50] local.INFO: IMEI packet received {"connection_id":46134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":46134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:08:56] local.INFO: TCP Data received {"connection_id":46134,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46134,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:08:56] local.INFO: Processing buffer {"connection_id":46134,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:08:56] local.INFO: IMEI packet received {"connection_id":46134,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":46134,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:08:56] local.INFO: TCP Data received {"connection_id":46134,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:08:57] local.INFO: Processing buffer {"connection_id":46134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:08:57] local.INFO: Packet analysis {"connection_id":46134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:08:57] local.INFO: Extracted packet for processing {"connection_id":46134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:08:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762162432001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776414998000,"timestamp_ms":1776414998000,"timestamp_seconds":1776414998,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a95bdf0"} 
[2026-04-17 14:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:08:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:08:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762162432001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762162432001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:08:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:08:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762162432001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:08:57] local.INFO: DEBUG: GPS processor result {"connection_id":46134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:08:57] local.INFO: GPS data processed {"connection_id":46134,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:08:57] local.INFO: Acknowledgment sent {"connection_id":46134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:09:28] local.INFO: TCP Data received {"connection_id":46134,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:09:28] local.INFO: Processing buffer {"connection_id":46134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:09:28] local.INFO: Packet analysis {"connection_id":46134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:09:28] local.INFO: Extracted packet for processing {"connection_id":46134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:09:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762162432001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776414998000,"timestamp_ms":1776414998000,"timestamp_seconds":1776414998,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a95bdf0"} 
[2026-04-17 14:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46134,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762162432001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762162432001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:09:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:09:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762162432001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":46134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21679,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:09:28] local.INFO: GPS data processed {"connection_id":46134,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:09:28] local.INFO: Acknowledgment sent {"connection_id":46134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:09:50] local.INFO: TCP Data received {"connection_id":45918,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:09:50] local.INFO: Processing buffer {"connection_id":45918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:09:50] local.INFO: IMEI packet received {"connection_id":45918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":45918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:09:56] local.INFO: TCP Data received {"connection_id":45918,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:09:56] local.INFO: Processing buffer {"connection_id":45918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:09:56] local.INFO: IMEI packet received {"connection_id":45918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:09:56] local.INFO: IMEI acknowledgment sent {"connection_id":45918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:09:56] local.INFO: TCP Data received {"connection_id":45918,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:09:56] local.INFO: Processing buffer {"connection_id":45918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:09:56] local.INFO: Packet analysis {"connection_id":45918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:09:56] local.INFO: Extracted packet for processing {"connection_id":45918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762162432001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776414998000,"timestamp_ms":1776414998000,"timestamp_seconds":1776414998,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a95bdf0"} 
[2026-04-17 14:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:09:56] 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-04-17 14:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762162432001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762162432001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:09:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762162432001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":45918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:09:56] local.INFO: GPS data processed {"connection_id":45918,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:09:56] local.INFO: Acknowledgment sent {"connection_id":45918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:10:28] local.INFO: TCP Data received {"connection_id":45918,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:10:28] local.INFO: Processing buffer {"connection_id":45918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:10:28] local.INFO: Packet analysis {"connection_id":45918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:10:28] local.INFO: Extracted packet for processing {"connection_id":45918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762162432001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776414998000,"timestamp_ms":1776414998000,"timestamp_seconds":1776414998,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a95bdf0"} 
[2026-04-17 14:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:10:28] 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-04-17 14:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762162432001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762162432001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:10:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762162432001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":45918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21681,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:10:28] local.INFO: GPS data processed {"connection_id":45918,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:10:28] local.INFO: Acknowledgment sent {"connection_id":45918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:10:56] local.INFO: TCP Data received {"connection_id":46135,"ip":"42.106.6.210","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:10:56] local.INFO: Processing buffer {"connection_id":46135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:10:56] local.INFO: IMEI packet received {"connection_id":46135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:10:56] local.INFO: IMEI acknowledgment sent {"connection_id":46135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:11:00] local.INFO: TCP Data received {"connection_id":45822,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45822,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:11:00] local.INFO: Processing buffer {"connection_id":45822,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:11:00] local.INFO: IMEI packet received {"connection_id":45822,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:11:00] local.INFO: IMEI acknowledgment sent {"connection_id":45822,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:11:01] local.INFO: TCP Data received {"connection_id":46135,"ip":"42.106.6.210","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:11:01] local.INFO: Processing buffer {"connection_id":46135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:11:01] local.INFO: IMEI packet received {"connection_id":46135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":46135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:11:01] local.INFO: TCP Data received {"connection_id":46135,"ip":"42.106.6.210","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:11:01] local.INFO: Processing buffer {"connection_id":46135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:11:01] local.INFO: Packet analysis {"connection_id":46135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:11:01] local.INFO: Extracted packet for processing {"connection_id":46135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:11:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762162432001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776414998000,"timestamp_ms":1776414998000,"timestamp_seconds":1776414998,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a95bdf0"} 
[2026-04-17 14:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:11:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:11:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:11:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:11:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.210","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762162432001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.210","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762162432001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:11:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:11:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762162432001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":46135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:11:01] local.INFO: GPS data processed {"connection_id":46135,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:11:01] local.INFO: Acknowledgment sent {"connection_id":46135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:11:06] local.INFO: TCP Data received {"connection_id":46135,"ip":"42.106.6.210","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:11:06] local.INFO: Processing buffer {"connection_id":46135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:11:06] local.INFO: Packet analysis {"connection_id":46135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:11:06] local.INFO: Extracted packet for processing {"connection_id":46135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762162432001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776414998000,"timestamp_ms":1776414998000,"timestamp_seconds":1776414998,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a95bdf0"} 
[2026-04-17 14:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:11:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.210","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762162432001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.210","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762162432001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:11:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762162432001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":46135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:11:06] local.INFO: GPS data processed {"connection_id":46135,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:11:06] local.INFO: Acknowledgment sent {"connection_id":46135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:11:50] local.INFO: TCP Data received {"connection_id":46136,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:11:50] local.INFO: Processing buffer {"connection_id":46136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:11:50] local.INFO: IMEI packet received {"connection_id":46136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":46136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:11:56] local.INFO: TCP Data received {"connection_id":46136,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46136,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:11:56] local.INFO: Processing buffer {"connection_id":46136,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:11:56] local.INFO: IMEI packet received {"connection_id":46136,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":46136,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:11:57] local.INFO: TCP Data received {"connection_id":46136,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:11:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:11:57] local.INFO: Processing buffer {"connection_id":46136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a95bdf0012d7faa8005afd2f8000a000031..."} 
[2026-04-17 14:11:57] local.INFO: Packet analysis {"connection_id":46136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:11:57] local.INFO: Extracted packet for processing {"connection_id":46136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a95"} 
[2026-04-17 14:11:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:11:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762162432001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:11:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:11:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:11:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:11:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776414998000,"timestamp_ms":1776414998000,"timestamp_seconds":1776414998,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a95bdf0"} 
[2026-04-17 14:11:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:11:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:11:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:11:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:11:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:11:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:11:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:11:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:11:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:11:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:11:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:11:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:11:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:11:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762162432001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:11:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:11:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:11:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762162432001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:11:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:11:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:11:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:11:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:11:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762162432001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:11:57] local.INFO: DEBUG: GPS processor result {"connection_id":46136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21684,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:11:57] local.INFO: GPS data processed {"connection_id":46136,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:11:57] local.INFO: Acknowledgment sent {"connection_id":46136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:12:28] local.INFO: TCP Data received {"connection_id":46136,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:12:28] local.INFO: Processing buffer {"connection_id":46136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:12:28] local.INFO: Packet analysis {"connection_id":46136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:12:28] local.INFO: Extracted packet for processing {"connection_id":46136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:12:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762239488001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776415299000,"timestamp_ms":1776415299000,"timestamp_seconds":1776415299,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9a55b8"} 
[2026-04-17 14:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14: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-04-17 14: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-04-17 14:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46136,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762239488001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762239488001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:12:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:12:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762239488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":46136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:12:28] local.INFO: GPS data processed {"connection_id":46136,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:12:28] local.INFO: Acknowledgment sent {"connection_id":46136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:12:50] local.INFO: TCP Data received {"connection_id":46683,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:12:50] local.INFO: Processing buffer {"connection_id":46683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:12:50] local.INFO: IMEI packet received {"connection_id":46683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":46683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:12:55] local.INFO: TCP Data received {"connection_id":46683,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46683,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:12:55] local.INFO: Processing buffer {"connection_id":46683,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:12:55] local.INFO: IMEI packet received {"connection_id":46683,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":46683,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:12:57] local.INFO: TCP Data received {"connection_id":46683,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:12:57] local.INFO: Processing buffer {"connection_id":46683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:12:57] local.INFO: Packet analysis {"connection_id":46683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:12:57] local.INFO: Extracted packet for processing {"connection_id":46683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762239488001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776415299000,"timestamp_ms":1776415299000,"timestamp_seconds":1776415299,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9a55b8"} 
[2026-04-17 14:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:12:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:12:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762239488001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762239488001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:12:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762239488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":46683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21686,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:12:57] local.INFO: GPS data processed {"connection_id":46683,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:12:57] local.INFO: Acknowledgment sent {"connection_id":46683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:13:28] local.INFO: TCP Data received {"connection_id":46683,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46683,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:13:28] local.INFO: Processing buffer {"connection_id":46683,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:13:28] local.INFO: Packet analysis {"connection_id":46683,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:13:28] local.INFO: Extracted packet for processing {"connection_id":46683,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762239488001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776415299000,"timestamp_ms":1776415299000,"timestamp_seconds":1776415299,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9a55b8"} 
[2026-04-17 14:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:13:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:13: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-04-17 14:13:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46683,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46683,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762239488001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762239488001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:13:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:13:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762239488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":46683,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21687,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:13:28] local.INFO: GPS data processed {"connection_id":46683,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:13:28] local.INFO: Acknowledgment sent {"connection_id":46683,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:13:50] local.INFO: TCP Data received {"connection_id":46684,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:13:50] local.INFO: Processing buffer {"connection_id":46684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:13:50] local.INFO: IMEI packet received {"connection_id":46684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":46684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:13:57] local.INFO: TCP Data received {"connection_id":46684,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46684,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:13:57] local.INFO: Processing buffer {"connection_id":46684,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:13:57] local.INFO: IMEI packet received {"connection_id":46684,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:13:57] local.INFO: IMEI acknowledgment sent {"connection_id":46684,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:13:57] local.INFO: TCP Data received {"connection_id":46684,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:13:57] local.INFO: Processing buffer {"connection_id":46684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:13:57] local.INFO: Packet analysis {"connection_id":46684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:13:57] local.INFO: Extracted packet for processing {"connection_id":46684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:13:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762239488001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776415299000,"timestamp_ms":1776415299000,"timestamp_seconds":1776415299,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9a55b8"} 
[2026-04-17 14:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762239488001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762239488001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:13:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:13:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762239488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":46684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:13:57] local.INFO: GPS data processed {"connection_id":46684,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:13:57] local.INFO: Acknowledgment sent {"connection_id":46684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:14:29] local.INFO: TCP Data received {"connection_id":46684,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:14:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46684,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:14:29] local.INFO: Processing buffer {"connection_id":46684,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:14:29] local.INFO: Packet analysis {"connection_id":46684,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:14:29] local.INFO: Extracted packet for processing {"connection_id":46684,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:14:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:14:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762239488001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:14:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:14:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:14:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:14:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776415299000,"timestamp_ms":1776415299000,"timestamp_seconds":1776415299,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9a55b8"} 
[2026-04-17 14:14:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:14:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:14:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:14:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:14:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:14:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:14:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46684,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:14:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:14:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46684,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:14:29] 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-04-17 14:14:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:14:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:14:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762239488001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:14:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:14:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:14:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762239488001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:14:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:14:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:14:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:14:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:14:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762239488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:14:29] local.INFO: DEBUG: GPS processor result {"connection_id":46684,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:14:29] local.INFO: GPS data processed {"connection_id":46684,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:14:29] local.INFO: Acknowledgment sent {"connection_id":46684,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:14:50] local.INFO: TCP Data received {"connection_id":46685,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:14:50] local.INFO: Processing buffer {"connection_id":46685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:14:50] local.INFO: IMEI packet received {"connection_id":46685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":46685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:14:56] local.INFO: TCP Data received {"connection_id":46685,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46685,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:14:56] local.INFO: Processing buffer {"connection_id":46685,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:14:56] local.INFO: IMEI packet received {"connection_id":46685,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:14:56] local.INFO: IMEI acknowledgment sent {"connection_id":46685,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:14:56] local.INFO: TCP Data received {"connection_id":46685,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:14:56] local.INFO: Processing buffer {"connection_id":46685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:14:56] local.INFO: Packet analysis {"connection_id":46685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:14:56] local.INFO: Extracted packet for processing {"connection_id":46685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762239488001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776415299000,"timestamp_ms":1776415299000,"timestamp_seconds":1776415299,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9a55b8"} 
[2026-04-17 14:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:14:56] 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-04-17 14:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762239488001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762239488001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:14:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762239488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":46685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21690,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:14:56] local.INFO: GPS data processed {"connection_id":46685,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:14:56] local.INFO: Acknowledgment sent {"connection_id":46685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:15:28] local.INFO: TCP Data received {"connection_id":46685,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46685,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:15:28] local.INFO: Processing buffer {"connection_id":46685,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:15:28] local.INFO: Packet analysis {"connection_id":46685,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:15:28] local.INFO: Extracted packet for processing {"connection_id":46685,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:15:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762239488001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776415299000,"timestamp_ms":1776415299000,"timestamp_seconds":1776415299,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9a55b8"} 
[2026-04-17 14:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:15: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-04-17 14:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46685,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46685,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762239488001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762239488001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:15:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:15:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762239488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":46685,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:15:28] local.INFO: GPS data processed {"connection_id":46685,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:15:28] local.INFO: Acknowledgment sent {"connection_id":46685,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:15:50] local.INFO: TCP Data received {"connection_id":46686,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:15:50] local.INFO: Processing buffer {"connection_id":46686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:15:50] local.INFO: IMEI packet received {"connection_id":46686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":46686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:15:56] local.INFO: TCP Data received {"connection_id":46686,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46686,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:15:56] local.INFO: Processing buffer {"connection_id":46686,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:15:56] local.INFO: IMEI packet received {"connection_id":46686,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:15:56] local.INFO: IMEI acknowledgment sent {"connection_id":46686,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:15:56] local.INFO: TCP Data received {"connection_id":46686,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:15:56] local.INFO: Processing buffer {"connection_id":46686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:15:56] local.INFO: Packet analysis {"connection_id":46686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:15:56] local.INFO: Extracted packet for processing {"connection_id":46686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:15:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762239488001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776415299000,"timestamp_ms":1776415299000,"timestamp_seconds":1776415299,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9a55b8"} 
[2026-04-17 14:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762239488001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762239488001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:15:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762239488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":46686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21692,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:15:56] local.INFO: GPS data processed {"connection_id":46686,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:15:56] local.INFO: Acknowledgment sent {"connection_id":46686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:16:20] local.INFO: TCP Data received {"connection_id":46139,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:16:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:16:20] local.INFO: Processing buffer {"connection_id":46139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:16:20] local.INFO: IMEI packet received {"connection_id":46139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:16:20] local.INFO: IMEI acknowledgment sent {"connection_id":46139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:16:28] local.INFO: TCP Data received {"connection_id":46686,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46686,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:16:28] local.INFO: Processing buffer {"connection_id":46686,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:16:28] local.INFO: Packet analysis {"connection_id":46686,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:16:28] local.INFO: Extracted packet for processing {"connection_id":46686,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:16:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762239488001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776415299000,"timestamp_ms":1776415299000,"timestamp_seconds":1776415299,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9a55b8"} 
[2026-04-17 14:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:16:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:16: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-04-17 14: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-04-17 14:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46686,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46686,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762239488001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762239488001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:16:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:16:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762239488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":46686,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:16:28] local.INFO: GPS data processed {"connection_id":46686,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:16:28] local.INFO: Acknowledgment sent {"connection_id":46686,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:16:56] local.INFO: TCP Data received {"connection_id":46140,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:16:56] local.INFO: Processing buffer {"connection_id":46140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:16:56] local.INFO: IMEI packet received {"connection_id":46140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:16:56] local.INFO: IMEI acknowledgment sent {"connection_id":46140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:17:01] local.INFO: TCP Data received {"connection_id":46140,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:17:01] local.INFO: Processing buffer {"connection_id":46140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:17:01] local.INFO: IMEI packet received {"connection_id":46140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:17:01] local.INFO: IMEI acknowledgment sent {"connection_id":46140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:17:02] local.INFO: TCP Data received {"connection_id":46140,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:17:02] local.INFO: Processing buffer {"connection_id":46140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:17:02] local.INFO: Packet analysis {"connection_id":46140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:17:02] local.INFO: Extracted packet for processing {"connection_id":46140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:17:02] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:17:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762239488001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776415299000,"timestamp_ms":1776415299000,"timestamp_seconds":1776415299,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9a55b8"} 
[2026-04-17 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-04-17 14:17:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:17:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 14:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762239488001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762239488001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:17:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:17:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762239488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":46140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21694,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:17:02] local.INFO: GPS data processed {"connection_id":46140,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:17:02] local.INFO: Acknowledgment sent {"connection_id":46140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:17:07] local.INFO: TCP Data received {"connection_id":46140,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:17:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:17:07] local.INFO: Processing buffer {"connection_id":46140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9a55b8012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:17:07] local.INFO: Packet analysis {"connection_id":46140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:17:07] local.INFO: Extracted packet for processing {"connection_id":46140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9a"} 
[2026-04-17 14:17:07] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:17:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762239488001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:17:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:17:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:17:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:17:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776415299000,"timestamp_ms":1776415299000,"timestamp_seconds":1776415299,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9a55b8"} 
[2026-04-17 14:17:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:17:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:17:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:17:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:17:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:17:07] local.INFO: Teltonika packet parsed successfully {"connection_id":46140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:17:07] local.INFO: Passing IMEI to GPS processor {"connection_id":46140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:17:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":46140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:17:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:17:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:17:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:17:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762239488001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:17:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:17:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:17:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762239488001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:17:07] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:17:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:17:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:17:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:17:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762239488001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:17:07] local.INFO: DEBUG: GPS processor result {"connection_id":46140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:17:07] local.INFO: GPS data processed {"connection_id":46140,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:17:07] local.INFO: Acknowledgment sent {"connection_id":46140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:17:10] local.INFO: TCP Data received {"connection_id":45824,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45824,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:17:10] local.INFO: Processing buffer {"connection_id":45824,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:17:10] local.INFO: IMEI packet received {"connection_id":45824,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:17:10] local.INFO: IMEI acknowledgment sent {"connection_id":45824,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:17:50] local.INFO: TCP Data received {"connection_id":46687,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:17:50] local.INFO: Processing buffer {"connection_id":46687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:17:50] local.INFO: IMEI packet received {"connection_id":46687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":46687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:17:56] local.INFO: TCP Data received {"connection_id":46687,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46687,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:17:56] local.INFO: Processing buffer {"connection_id":46687,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:17:56] local.INFO: IMEI packet received {"connection_id":46687,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:17:56] local.INFO: IMEI acknowledgment sent {"connection_id":46687,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:17:57] local.INFO: TCP Data received {"connection_id":46687,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:17:57] local.INFO: Processing buffer {"connection_id":46687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:17:57] local.INFO: Packet analysis {"connection_id":46687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:17:57] local.INFO: Extracted packet for processing {"connection_id":46687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:17:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762316544001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:17:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776415600000,"timestamp_ms":1776415600000,"timestamp_seconds":1776415600,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9eed80"} 
[2026-04-17 14:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:17:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:17:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762316544001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762316544001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:17:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:17:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762316544001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":46687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:17:57] local.INFO: GPS data processed {"connection_id":46687,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:17:57] local.INFO: Acknowledgment sent {"connection_id":46687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:18:28] local.INFO: TCP Data received {"connection_id":46687,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46687,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:18:28] local.INFO: Processing buffer {"connection_id":46687,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:18:28] local.INFO: Packet analysis {"connection_id":46687,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:18:28] local.INFO: Extracted packet for processing {"connection_id":46687,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:18:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762316544001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776415600000,"timestamp_ms":1776415600000,"timestamp_seconds":1776415600,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9eed80"} 
[2026-04-17 14:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:18:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46687,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46687,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762316544001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762316544001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:18:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762316544001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":46687,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21697,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:18:28] local.INFO: GPS data processed {"connection_id":46687,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:18:28] local.INFO: Acknowledgment sent {"connection_id":46687,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:18:50] local.INFO: TCP Data received {"connection_id":46141,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:18:50] local.INFO: Processing buffer {"connection_id":46141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:18:50] local.INFO: IMEI packet received {"connection_id":46141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":46141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:18:56] local.INFO: TCP Data received {"connection_id":46141,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46141,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:18:56] local.INFO: Processing buffer {"connection_id":46141,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:18:56] local.INFO: IMEI packet received {"connection_id":46141,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:18:56] local.INFO: IMEI acknowledgment sent {"connection_id":46141,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:18:56] local.INFO: TCP Data received {"connection_id":46141,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:18:56] local.INFO: Processing buffer {"connection_id":46141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:18:56] local.INFO: Packet analysis {"connection_id":46141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:18:56] local.INFO: Extracted packet for processing {"connection_id":46141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762316544001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776415600000,"timestamp_ms":1776415600000,"timestamp_seconds":1776415600,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9eed80"} 
[2026-04-17 14:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:18:56] 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-04-17 14:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762316544001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762316544001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:18:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762316544001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":46141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21698,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:18:56] local.INFO: GPS data processed {"connection_id":46141,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:18:56] local.INFO: Acknowledgment sent {"connection_id":46141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:19:28] local.INFO: TCP Data received {"connection_id":46141,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:19:28] local.INFO: Processing buffer {"connection_id":46141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:19:28] local.INFO: Packet analysis {"connection_id":46141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:19:28] local.INFO: Extracted packet for processing {"connection_id":46141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:19:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762316544001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776415600000,"timestamp_ms":1776415600000,"timestamp_seconds":1776415600,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9eed80"} 
[2026-04-17 14:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46141,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762316544001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762316544001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:19:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:19:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762316544001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":46141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:19:28] local.INFO: GPS data processed {"connection_id":46141,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:19:28] local.INFO: Acknowledgment sent {"connection_id":46141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:19:50] local.INFO: TCP Data received {"connection_id":45827,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:19:50] local.INFO: Processing buffer {"connection_id":45827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:19:50] local.INFO: IMEI packet received {"connection_id":45827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":45827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:19:56] local.INFO: TCP Data received {"connection_id":45827,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45827,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:19:56] local.INFO: Processing buffer {"connection_id":45827,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:19:56] local.INFO: IMEI packet received {"connection_id":45827,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:19:56] local.INFO: IMEI acknowledgment sent {"connection_id":45827,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:19:57] local.INFO: TCP Data received {"connection_id":45827,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:19:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:19:57] local.INFO: Processing buffer {"connection_id":45827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:19:57] local.INFO: Packet analysis {"connection_id":45827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:19:57] local.INFO: Extracted packet for processing {"connection_id":45827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:19:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:19:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762316544001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:19:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:19:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:19:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:19:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776415600000,"timestamp_ms":1776415600000,"timestamp_seconds":1776415600,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9eed80"} 
[2026-04-17 14:19:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:19:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:19:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:19:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:19:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:19:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:19:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:19:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:19:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:19:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:19:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:19:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762316544001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:19:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:19:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:19:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762316544001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:19:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:19:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:19:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:19:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:19:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762316544001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:19:57] local.INFO: DEBUG: GPS processor result {"connection_id":45827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:19:57] local.INFO: GPS data processed {"connection_id":45827,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:19:57] local.INFO: Acknowledgment sent {"connection_id":45827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:20:28] local.INFO: TCP Data received {"connection_id":45827,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:20:28] local.INFO: Processing buffer {"connection_id":45827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:20:28] local.INFO: Packet analysis {"connection_id":45827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:20:28] local.INFO: Extracted packet for processing {"connection_id":45827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:20:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762316544001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776415600000,"timestamp_ms":1776415600000,"timestamp_seconds":1776415600,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9eed80"} 
[2026-04-17 14:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:20:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:20:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45827,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762316544001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762316544001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:20:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:20:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762316544001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":45827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21701,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:20:28] local.INFO: GPS data processed {"connection_id":45827,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:20:28] local.INFO: Acknowledgment sent {"connection_id":45827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:20:50] local.INFO: TCP Data received {"connection_id":46688,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:20:50] local.INFO: Processing buffer {"connection_id":46688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:20:50] local.INFO: IMEI packet received {"connection_id":46688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":46688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:20:56] local.INFO: TCP Data received {"connection_id":46688,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46688,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:20:56] local.INFO: Processing buffer {"connection_id":46688,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:20:56] local.INFO: IMEI packet received {"connection_id":46688,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":46688,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:20:56] local.INFO: TCP Data received {"connection_id":46688,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:20:56] local.INFO: Processing buffer {"connection_id":46688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:20:56] local.INFO: Packet analysis {"connection_id":46688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:20:56] local.INFO: Extracted packet for processing {"connection_id":46688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762316544001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776415600000,"timestamp_ms":1776415600000,"timestamp_seconds":1776415600,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9eed80"} 
[2026-04-17 14:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762316544001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762316544001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:20:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762316544001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":46688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:20:56] local.INFO: GPS data processed {"connection_id":46688,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:20:56] local.INFO: Acknowledgment sent {"connection_id":46688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:21:28] local.INFO: TCP Data received {"connection_id":46688,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46688,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:21:28] local.INFO: Processing buffer {"connection_id":46688,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:21:28] local.INFO: Packet analysis {"connection_id":46688,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:21:28] local.INFO: Extracted packet for processing {"connection_id":46688,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:21:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762316544001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776415600000,"timestamp_ms":1776415600000,"timestamp_seconds":1776415600,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9eed80"} 
[2026-04-17 14:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:21:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:21:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46688,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46688,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762316544001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762316544001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:21:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:21:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762316544001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":46688,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21703,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:21:28] local.INFO: GPS data processed {"connection_id":46688,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:21:28] local.INFO: Acknowledgment sent {"connection_id":46688,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:21:50] local.INFO: TCP Data received {"connection_id":45828,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:21:50] local.INFO: Processing buffer {"connection_id":45828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:21:50] local.INFO: IMEI packet received {"connection_id":45828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":45828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:21:55] local.INFO: TCP Data received {"connection_id":45828,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45828,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:21:55] local.INFO: Processing buffer {"connection_id":45828,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:21:55] local.INFO: IMEI packet received {"connection_id":45828,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":45828,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:21:56] local.INFO: TCP Data received {"connection_id":45828,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:21:56] local.INFO: Processing buffer {"connection_id":45828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:21:56] local.INFO: Packet analysis {"connection_id":45828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:21:56] local.INFO: Extracted packet for processing {"connection_id":45828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762316544001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776415600000,"timestamp_ms":1776415600000,"timestamp_seconds":1776415600,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9eed80"} 
[2026-04-17 14:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762316544001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762316544001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:21:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762316544001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":45828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:21:56] local.INFO: GPS data processed {"connection_id":45828,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:21:56] local.INFO: Acknowledgment sent {"connection_id":45828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:22:01] local.INFO: TCP Data received {"connection_id":45828,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:22:01] local.INFO: Processing buffer {"connection_id":45828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9a9eed80012d7faa8005afd2f80008000030..."} 
[2026-04-17 14:22:01] local.INFO: Packet analysis {"connection_id":45828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:22:01] local.INFO: Extracted packet for processing {"connection_id":45828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9a9e"} 
[2026-04-17 14:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762316544001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776415600000,"timestamp_ms":1776415600000,"timestamp_seconds":1776415600,"priority":1,"record_length":96,"hex_timestamp":"0000019d9a9eed80"} 
[2026-04-17 14:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:22:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:22: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-04-17 14:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762316544001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762316544001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:22:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762316544001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":45828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21705,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:22:01] local.INFO: GPS data processed {"connection_id":45828,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:22:01] local.INFO: Acknowledgment sent {"connection_id":45828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:22:29] local.INFO: TCP Data received {"connection_id":45920,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45920,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:22:29] local.INFO: Processing buffer {"connection_id":45920,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:22:29] local.INFO: IMEI packet received {"connection_id":45920,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":45920,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:22:33] local.INFO: TCP Data received {"connection_id":45828,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45828,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:22:33] local.INFO: Processing buffer {"connection_id":45828,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:22:33] local.INFO: Packet analysis {"connection_id":45828,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:22:33] local.INFO: Extracted packet for processing {"connection_id":45828,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:22:33] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:22:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762393600001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:22:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:22:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:22:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:22:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776415901000,"timestamp_ms":1776415901000,"timestamp_seconds":1776415901,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa38548"} 
[2026-04-17 14:22:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:22:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:22:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:22:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:22:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:22:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:22:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45828,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:22:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:22:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45828,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:22:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:22:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:22:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:22:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762393600001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:22:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:22:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:22:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762393600001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:22:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:22:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:22:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:22:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:22:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762393600001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:22:33] local.INFO: DEBUG: GPS processor result {"connection_id":45828,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:22:33] local.INFO: GPS data processed {"connection_id":45828,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:22:33] local.INFO: Acknowledgment sent {"connection_id":45828,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:22:50] local.INFO: TCP Data received {"connection_id":46690,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:22:50] local.INFO: Processing buffer {"connection_id":46690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:22:50] local.INFO: IMEI packet received {"connection_id":46690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":46690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:22:55] local.INFO: TCP Data received {"connection_id":46690,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46690,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:22:55] local.INFO: Processing buffer {"connection_id":46690,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:22:55] local.INFO: IMEI packet received {"connection_id":46690,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":46690,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:22:58] local.INFO: TCP Data received {"connection_id":46690,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:22:58] local.INFO: Processing buffer {"connection_id":46690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:22:58] local.INFO: Packet analysis {"connection_id":46690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:22:58] local.INFO: Extracted packet for processing {"connection_id":46690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:22:58] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762393600001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:22:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776415901000,"timestamp_ms":1776415901000,"timestamp_seconds":1776415901,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa38548"} 
[2026-04-17 14:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:22:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762393600001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762393600001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:22:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:22:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762393600001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":46690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21707,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:22:58] local.INFO: GPS data processed {"connection_id":46690,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:22:58] local.INFO: Acknowledgment sent {"connection_id":46690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:23:33] local.INFO: TCP Data received {"connection_id":46690,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:23:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46690,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:23:33] local.INFO: Processing buffer {"connection_id":46690,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:23:33] local.INFO: Packet analysis {"connection_id":46690,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:23:33] local.INFO: Extracted packet for processing {"connection_id":46690,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:23:33] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:23:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762393600001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:23:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:23:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:23:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:23:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776415901000,"timestamp_ms":1776415901000,"timestamp_seconds":1776415901,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa38548"} 
[2026-04-17 14:23:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:23:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:23:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:23:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:23:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:23:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:23:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:23:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46690,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:23:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:23:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46690,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:23:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:23:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:23:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:23:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762393600001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:23:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:23:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:23:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762393600001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:23:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:23:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:23:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:23:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:23:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762393600001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":46690,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21708,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:23:33] local.INFO: GPS data processed {"connection_id":46690,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:23:33] local.INFO: Acknowledgment sent {"connection_id":46690,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:23:56] local.INFO: TCP Data received {"connection_id":46144,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:23:56] local.INFO: Processing buffer {"connection_id":46144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:23:56] local.INFO: IMEI packet received {"connection_id":46144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":46144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:24:02] local.INFO: TCP Data received {"connection_id":46144,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:24:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:24:02] local.INFO: Processing buffer {"connection_id":46144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:24:02] local.INFO: IMEI packet received {"connection_id":46144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:24:02] local.INFO: IMEI acknowledgment sent {"connection_id":46144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:24:03] local.INFO: TCP Data received {"connection_id":46144,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:24:03] local.INFO: Processing buffer {"connection_id":46144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:24:03] local.INFO: Packet analysis {"connection_id":46144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:24:03] local.INFO: Extracted packet for processing {"connection_id":46144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:24:03] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762393600001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776415901000,"timestamp_ms":1776415901000,"timestamp_seconds":1776415901,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa38548"} 
[2026-04-17 14:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:24:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:24:03] 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-04-17 14:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762393600001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762393600001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:24:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:24:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762393600001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":46144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:24:03] local.INFO: GPS data processed {"connection_id":46144,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:24:03] local.INFO: Acknowledgment sent {"connection_id":46144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:24:06] local.INFO: TCP Data received {"connection_id":46144,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:24:06] local.INFO: Processing buffer {"connection_id":46144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:24:06] local.INFO: Packet analysis {"connection_id":46144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:24:06] local.INFO: Extracted packet for processing {"connection_id":46144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:24:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:24:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762393600001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:24:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:24:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:24:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:24:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776415901000,"timestamp_ms":1776415901000,"timestamp_seconds":1776415901,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa38548"} 
[2026-04-17 14:24:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:24:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:24:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:24:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:24:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:24:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:24:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:24:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:24:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:24:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:24:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:24:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:24:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762393600001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:24:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:24:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:24:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762393600001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:24:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:24:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:24:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:24:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:24:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762393600001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:24:06] local.INFO: DEBUG: GPS processor result {"connection_id":46144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:24:06] local.INFO: GPS data processed {"connection_id":46144,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:24:06] local.INFO: Acknowledgment sent {"connection_id":46144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:24:50] local.INFO: TCP Data received {"connection_id":45922,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:24:50] local.INFO: Processing buffer {"connection_id":45922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:24:50] local.INFO: IMEI packet received {"connection_id":45922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":45922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:24:56] local.INFO: TCP Data received {"connection_id":45922,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45922,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:24:56] local.INFO: Processing buffer {"connection_id":45922,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:24:56] local.INFO: IMEI packet received {"connection_id":45922,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:24:56] local.INFO: IMEI acknowledgment sent {"connection_id":45922,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:24:56] local.INFO: TCP Data received {"connection_id":45922,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:24:56] local.INFO: Processing buffer {"connection_id":45922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:24:56] local.INFO: Packet analysis {"connection_id":45922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:24:56] local.INFO: Extracted packet for processing {"connection_id":45922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762393600001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776415901000,"timestamp_ms":1776415901000,"timestamp_seconds":1776415901,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa38548"} 
[2026-04-17 14:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:24:56] 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-04-17 14:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762393600001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762393600001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:24:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762393600001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":45922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21711,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:24:56] local.INFO: GPS data processed {"connection_id":45922,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:24:56] local.INFO: Acknowledgment sent {"connection_id":45922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:25:28] local.INFO: TCP Data received {"connection_id":45922,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:25:28] local.INFO: Processing buffer {"connection_id":45922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:25:28] local.INFO: Packet analysis {"connection_id":45922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:25:28] local.INFO: Extracted packet for processing {"connection_id":45922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:25:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762393600001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776415901000,"timestamp_ms":1776415901000,"timestamp_seconds":1776415901,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa38548"} 
[2026-04-17 14:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:25: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-04-17 14:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45922,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:25:28] 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-04-17 14:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762393600001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762393600001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:25:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:25:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762393600001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":45922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21712,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:25:28] local.INFO: GPS data processed {"connection_id":45922,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:25:28] local.INFO: Acknowledgment sent {"connection_id":45922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:25:51] local.INFO: TCP Data received {"connection_id":46691,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:25:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:25:51] local.INFO: Processing buffer {"connection_id":46691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:25:51] local.INFO: IMEI packet received {"connection_id":46691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:25:51] local.INFO: IMEI acknowledgment sent {"connection_id":46691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:25:56] local.INFO: TCP Data received {"connection_id":46691,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46691,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:25:56] local.INFO: Processing buffer {"connection_id":46691,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:25:56] local.INFO: IMEI packet received {"connection_id":46691,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:25:56] local.INFO: IMEI acknowledgment sent {"connection_id":46691,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:25:57] local.INFO: TCP Data received {"connection_id":46691,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:25:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:25:57] local.INFO: Processing buffer {"connection_id":46691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:25:57] local.INFO: Packet analysis {"connection_id":46691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:25:57] local.INFO: Extracted packet for processing {"connection_id":46691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:25:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:25:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762393600001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:25:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:25:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:25:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:25:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776415901000,"timestamp_ms":1776415901000,"timestamp_seconds":1776415901,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa38548"} 
[2026-04-17 14:25:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:25:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:25:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:25:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:25:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:25:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:25:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:25:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:25:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:25:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:25:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:25:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:25:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:25:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762393600001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:25:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:25:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:25:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762393600001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:25:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:25:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:25:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:25:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:25:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762393600001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":46691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:25:57] local.INFO: GPS data processed {"connection_id":46691,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:25:57] local.INFO: Acknowledgment sent {"connection_id":46691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:26:28] local.INFO: TCP Data received {"connection_id":46691,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46691,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:26:28] local.INFO: Processing buffer {"connection_id":46691,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:26:28] local.INFO: Packet analysis {"connection_id":46691,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:26:28] local.INFO: Extracted packet for processing {"connection_id":46691,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:26:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762393600001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776415901000,"timestamp_ms":1776415901000,"timestamp_seconds":1776415901,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa38548"} 
[2026-04-17 14:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:26: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-04-17 14: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-04-17 14:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46691,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46691,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762393600001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762393600001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:26:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:26:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762393600001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":46691,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:26:28] local.INFO: GPS data processed {"connection_id":46691,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:26:28] local.INFO: Acknowledgment sent {"connection_id":46691,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:26:50] local.INFO: TCP Data received {"connection_id":45923,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:26:50] local.INFO: Processing buffer {"connection_id":45923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:26:50] local.INFO: IMEI packet received {"connection_id":45923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":45923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:26:56] local.INFO: TCP Data received {"connection_id":45923,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45923,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:26:56] local.INFO: Processing buffer {"connection_id":45923,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:26:56] local.INFO: IMEI packet received {"connection_id":45923,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:26:56] local.INFO: IMEI acknowledgment sent {"connection_id":45923,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:26:56] local.INFO: TCP Data received {"connection_id":45923,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:26:56] local.INFO: Processing buffer {"connection_id":45923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa38548012d7faa8005afd2f80009000032..."} 
[2026-04-17 14:26:56] local.INFO: Packet analysis {"connection_id":45923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:26:56] local.INFO: Extracted packet for processing {"connection_id":45923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa3"} 
[2026-04-17 14:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762393600001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776415901000,"timestamp_ms":1776415901000,"timestamp_seconds":1776415901,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa38548"} 
[2026-04-17 14:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:26:56] 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-04-17 14:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762393600001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762393600001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:26:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:26:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762393600001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":45923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21715,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:26:56] local.INFO: GPS data processed {"connection_id":45923,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:26:56] local.INFO: Acknowledgment sent {"connection_id":45923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:27:28] local.INFO: TCP Data received {"connection_id":45923,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:27:28] local.INFO: Processing buffer {"connection_id":45923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:27:28] local.INFO: Packet analysis {"connection_id":45923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:27:28] local.INFO: Extracted packet for processing {"connection_id":45923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:27:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":7,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762470656001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776416202000,"timestamp_ms":1776416202000,"timestamp_seconds":1776416202,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa81d10"} 
[2026-04-17 14:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 14:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45923,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762470656001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 14:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762470656001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:27:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 14:27:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762470656001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":45923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:27:28] local.INFO: GPS data processed {"connection_id":45923,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:27:28] local.INFO: Acknowledgment sent {"connection_id":45923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:27:50] local.INFO: TCP Data received {"connection_id":45924,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:27:50] local.INFO: Processing buffer {"connection_id":45924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:27:50] local.INFO: IMEI packet received {"connection_id":45924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":45924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:27:56] local.INFO: TCP Data received {"connection_id":45924,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:27:56] local.INFO: Processing buffer {"connection_id":45924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:27:56] local.INFO: IMEI packet received {"connection_id":45924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":45924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:27:57] local.INFO: TCP Data received {"connection_id":45924,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:27:57] local.INFO: Processing buffer {"connection_id":45924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:27:57] local.INFO: Packet analysis {"connection_id":45924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:27:57] local.INFO: Extracted packet for processing {"connection_id":45924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:27:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":7,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762470656001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776416202000,"timestamp_ms":1776416202000,"timestamp_seconds":1776416202,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa81d10"} 
[2026-04-17 14:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 14:27:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762470656001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 14:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762470656001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:27:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 14:27:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762470656001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":45924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21717,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:27:57] local.INFO: GPS data processed {"connection_id":45924,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:27:57] local.INFO: Acknowledgment sent {"connection_id":45924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:28:28] local.INFO: TCP Data received {"connection_id":45924,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:28:28] local.INFO: Processing buffer {"connection_id":45924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:28:28] local.INFO: Packet analysis {"connection_id":45924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:28:28] local.INFO: Extracted packet for processing {"connection_id":45924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:28:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":7,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762470656001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776416202000,"timestamp_ms":1776416202000,"timestamp_seconds":1776416202,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa81d10"} 
[2026-04-17 14:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 14:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762470656001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 14:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762470656001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:28:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 14:28:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762470656001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":45924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:28:28] local.INFO: GPS data processed {"connection_id":45924,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:28:28] local.INFO: Acknowledgment sent {"connection_id":45924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:28:29] local.INFO: TCP Data received {"connection_id":46146,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:28:29] local.INFO: Processing buffer {"connection_id":46146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:28:29] local.INFO: IMEI packet received {"connection_id":46146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:28:29] local.INFO: IMEI acknowledgment sent {"connection_id":46146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:28:56] local.INFO: TCP Data received {"connection_id":45831,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:28:56] local.INFO: Processing buffer {"connection_id":45831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:28:56] local.INFO: IMEI packet received {"connection_id":45831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:28:56] local.INFO: IMEI acknowledgment sent {"connection_id":45831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:29:01] local.INFO: TCP Data received {"connection_id":45831,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45831,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:29:01] local.INFO: Processing buffer {"connection_id":45831,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:29:01] local.INFO: IMEI packet received {"connection_id":45831,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":45831,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:29:02] local.INFO: TCP Data received {"connection_id":45831,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:29:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:29:02] local.INFO: Processing buffer {"connection_id":45831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:29:02] local.INFO: Packet analysis {"connection_id":45831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:29:02] local.INFO: Extracted packet for processing {"connection_id":45831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:29:02] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":7,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:29:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762470656001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:29:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:29:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:29:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:29:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776416202000,"timestamp_ms":1776416202000,"timestamp_seconds":1776416202,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa81d10"} 
[2026-04-17 14:29:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:29:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:29:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 14:29:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:29:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:29:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:29:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:29:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:29:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:29:02] 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-04-17 14:29:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:29:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:29:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762470656001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 14:29:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:29:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:29:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762470656001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:29:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 14:29:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:29:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:29:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:29:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762470656001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:29:02] local.INFO: DEBUG: GPS processor result {"connection_id":45831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:29:02] local.INFO: GPS data processed {"connection_id":45831,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:29:02] local.INFO: Acknowledgment sent {"connection_id":45831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:29:06] local.INFO: TCP Data received {"connection_id":45831,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45831,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:29:06] local.INFO: Processing buffer {"connection_id":45831,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:29:06] local.INFO: Packet analysis {"connection_id":45831,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:29:06] local.INFO: Extracted packet for processing {"connection_id":45831,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":7,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762470656001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776416202000,"timestamp_ms":1776416202000,"timestamp_seconds":1776416202,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa81d10"} 
[2026-04-17 14:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 14:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45831,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45831,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762470656001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 14:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762470656001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:29:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 14:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762470656001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":45831,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:29:06] local.INFO: GPS data processed {"connection_id":45831,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:29:06] local.INFO: Acknowledgment sent {"connection_id":45831,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:29:09] local.INFO: TCP Data received {"connection_id":45925,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:29:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45925,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:29:09] local.INFO: Processing buffer {"connection_id":45925,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:29:09] local.INFO: IMEI packet received {"connection_id":45925,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:29:09] local.INFO: IMEI acknowledgment sent {"connection_id":45925,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:29:50] local.INFO: TCP Data received {"connection_id":46147,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:29:50] local.INFO: Processing buffer {"connection_id":46147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:29:50] local.INFO: IMEI packet received {"connection_id":46147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":46147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:29:56] local.INFO: TCP Data received {"connection_id":46147,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:29:56] local.INFO: Processing buffer {"connection_id":46147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:29:56] local.INFO: IMEI packet received {"connection_id":46147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:29:56] local.INFO: IMEI acknowledgment sent {"connection_id":46147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:29:57] local.INFO: TCP Data received {"connection_id":46147,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:29:57] local.INFO: Processing buffer {"connection_id":46147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:29:57] local.INFO: Packet analysis {"connection_id":46147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:29:57] local.INFO: Extracted packet for processing {"connection_id":46147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:29:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":7,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:29:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762470656001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:29:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:29:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:29:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:29:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776416202000,"timestamp_ms":1776416202000,"timestamp_seconds":1776416202,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa81d10"} 
[2026-04-17 14:29:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:29:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 14:29:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:29:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:29:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:29:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:29:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:29:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:29:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:29:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:29:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:29:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762470656001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 14:29:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:29:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:29:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762470656001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:29:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 14:29:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:29:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:29:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:29:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762470656001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:29:57] local.INFO: DEBUG: GPS processor result {"connection_id":46147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:29:57] local.INFO: GPS data processed {"connection_id":46147,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:29:57] local.INFO: Acknowledgment sent {"connection_id":46147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:30:28] local.INFO: TCP Data received {"connection_id":46147,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:30:28] local.INFO: Processing buffer {"connection_id":46147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:30:28] local.INFO: Packet analysis {"connection_id":46147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:30:28] local.INFO: Extracted packet for processing {"connection_id":46147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:30:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":7,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762470656001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776416202000,"timestamp_ms":1776416202000,"timestamp_seconds":1776416202,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa81d10"} 
[2026-04-17 14:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:30:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 14:30:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762470656001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 14:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762470656001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:30:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 14:30:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762470656001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":46147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:30:28] local.INFO: GPS data processed {"connection_id":46147,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:30:28] local.INFO: Acknowledgment sent {"connection_id":46147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:30:50] local.INFO: TCP Data received {"connection_id":45832,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:30:50] local.INFO: Processing buffer {"connection_id":45832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:30:50] local.INFO: IMEI packet received {"connection_id":45832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":45832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:30:56] local.INFO: TCP Data received {"connection_id":45832,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45832,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:30:56] local.INFO: Processing buffer {"connection_id":45832,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:30:56] local.INFO: IMEI packet received {"connection_id":45832,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:30:56] local.INFO: IMEI acknowledgment sent {"connection_id":45832,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:30:56] local.INFO: TCP Data received {"connection_id":45832,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:30:56] local.INFO: Processing buffer {"connection_id":45832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:30:56] local.INFO: Packet analysis {"connection_id":45832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:30:56] local.INFO: Extracted packet for processing {"connection_id":45832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":7,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762470656001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776416202000,"timestamp_ms":1776416202000,"timestamp_seconds":1776416202,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa81d10"} 
[2026-04-17 14:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:30:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 14:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762470656001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 14:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762470656001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:30:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 14:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762470656001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":45832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:30:56] local.INFO: GPS data processed {"connection_id":45832,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:30:56] local.INFO: Acknowledgment sent {"connection_id":45832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:31:27] local.INFO: TCP Data received {"connection_id":45832,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45832,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:31:27] local.INFO: Processing buffer {"connection_id":45832,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:31:27] local.INFO: Packet analysis {"connection_id":45832,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:31:27] local.INFO: Extracted packet for processing {"connection_id":45832,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":7,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762470656001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776416202000,"timestamp_ms":1776416202000,"timestamp_seconds":1776416202,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa81d10"} 
[2026-04-17 14:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 14:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45832,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45832,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762470656001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 14:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762470656001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:31:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 14:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762470656001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":45832,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:31:27] local.INFO: GPS data processed {"connection_id":45832,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:31:27] local.INFO: Acknowledgment sent {"connection_id":45832,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:31:51] local.INFO: TCP Data received {"connection_id":45928,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:31:51] local.INFO: Processing buffer {"connection_id":45928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:31:51] local.INFO: IMEI packet received {"connection_id":45928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":45928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:31:56] local.INFO: TCP Data received {"connection_id":45928,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:31:56] local.INFO: Processing buffer {"connection_id":45928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:31:56] local.INFO: IMEI packet received {"connection_id":45928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":45928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:31:56] local.INFO: TCP Data received {"connection_id":45928,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:31:56] local.INFO: Processing buffer {"connection_id":45928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aa81d10012d7faa8005afd2f80007000032..."} 
[2026-04-17 14:31:56] local.INFO: Packet analysis {"connection_id":45928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:31:56] local.INFO: Extracted packet for processing {"connection_id":45928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aa8"} 
[2026-04-17 14:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":7,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762470656001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776416202000,"timestamp_ms":1776416202000,"timestamp_seconds":1776416202,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aa81d10"} 
[2026-04-17 14:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 14:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762470656001,"66":25430,"28":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 14:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762470656001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:31:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 14:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762470656001,"power":25430,"unknown_28":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":45928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:31:56] local.INFO: GPS data processed {"connection_id":45928,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:31:56] local.INFO: Acknowledgment sent {"connection_id":45928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:32:27] local.INFO: TCP Data received {"connection_id":45928,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:32:27] local.INFO: Processing buffer {"connection_id":45928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:32:27] local.INFO: Packet analysis {"connection_id":45928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:32:27] local.INFO: Extracted packet for processing {"connection_id":45928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762547712001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776416503000,"timestamp_ms":1776416503000,"timestamp_seconds":1776416503,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aacb4d8"} 
[2026-04-17 14:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 14:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762547712001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762547712001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:32:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762547712001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":45928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:32:27] local.INFO: GPS data processed {"connection_id":45928,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:32:27] local.INFO: Acknowledgment sent {"connection_id":45928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:32:50] local.INFO: TCP Data received {"connection_id":46692,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:32:50] local.INFO: Processing buffer {"connection_id":46692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:32:50] local.INFO: IMEI packet received {"connection_id":46692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":46692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:32:56] local.INFO: TCP Data received {"connection_id":46692,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46692,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:32:56] local.INFO: Processing buffer {"connection_id":46692,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:32:56] local.INFO: IMEI packet received {"connection_id":46692,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:32:56] local.INFO: IMEI acknowledgment sent {"connection_id":46692,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:32:57] local.INFO: TCP Data received {"connection_id":46692,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:32:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:32:57] local.INFO: Processing buffer {"connection_id":46692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:32:57] local.INFO: Packet analysis {"connection_id":46692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:32:57] local.INFO: Extracted packet for processing {"connection_id":46692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:32:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:32:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762547712001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:32:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:32:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:32:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:32:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776416503000,"timestamp_ms":1776416503000,"timestamp_seconds":1776416503,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aacb4d8"} 
[2026-04-17 14:32:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:32:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:32:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 14:32: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-04-17 14:32:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:32:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:32:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:32:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:32:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:32:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:32:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:32:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:32:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:32:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762547712001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:32:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:32:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:32:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762547712001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:32:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:32:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:32:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:32:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:32:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762547712001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:32:57] local.INFO: DEBUG: GPS processor result {"connection_id":46692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:32:57] local.INFO: GPS data processed {"connection_id":46692,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:32:57] local.INFO: Acknowledgment sent {"connection_id":46692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:33:28] local.INFO: TCP Data received {"connection_id":46692,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46692,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:33:28] local.INFO: Processing buffer {"connection_id":46692,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:33:28] local.INFO: Packet analysis {"connection_id":46692,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:33:28] local.INFO: Extracted packet for processing {"connection_id":46692,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:33:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762547712001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:33:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776416503000,"timestamp_ms":1776416503000,"timestamp_seconds":1776416503,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aacb4d8"} 
[2026-04-17 14:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 14:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46692,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46692,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762547712001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762547712001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:33:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762547712001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":46692,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:33:28] local.INFO: GPS data processed {"connection_id":46692,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:33:28] local.INFO: Acknowledgment sent {"connection_id":46692,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:33:56] local.INFO: TCP Data received {"connection_id":46149,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:33:56] local.INFO: Processing buffer {"connection_id":46149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:33:56] local.INFO: IMEI packet received {"connection_id":46149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":46149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:34:01] local.INFO: TCP Data received {"connection_id":46149,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46149,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:34:01] local.INFO: Processing buffer {"connection_id":46149,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:34:01] local.INFO: IMEI packet received {"connection_id":46149,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:34:01] local.INFO: IMEI acknowledgment sent {"connection_id":46149,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:34:01] local.INFO: TCP Data received {"connection_id":46149,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:34:01] local.INFO: Processing buffer {"connection_id":46149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:34:01] local.INFO: Packet analysis {"connection_id":46149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:34:01] local.INFO: Extracted packet for processing {"connection_id":46149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:34:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762547712001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776416503000,"timestamp_ms":1776416503000,"timestamp_seconds":1776416503,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aacb4d8"} 
[2026-04-17 14:34:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":86,"data_length":795,"current_offset":136} 
[2026-04-17 14:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:34:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:34: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-04-17 14:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762547712001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762547712001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:34:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:34:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762547712001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":46149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21729,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:34:01] local.INFO: GPS data processed {"connection_id":46149,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:34:01] local.INFO: Acknowledgment sent {"connection_id":46149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:34:06] local.INFO: TCP Data received {"connection_id":46149,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:34:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:34:06] local.INFO: Processing buffer {"connection_id":46149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:34:06] local.INFO: Packet analysis {"connection_id":46149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:34:06] local.INFO: Extracted packet for processing {"connection_id":46149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:34:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:34:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762547712001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:34:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:34:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:34:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:34:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776416503000,"timestamp_ms":1776416503000,"timestamp_seconds":1776416503,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aacb4d8"} 
[2026-04-17 14:34:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:34:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 14:34:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:34:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:34:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:34:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:34:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:34:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46149,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:34:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:34:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:34:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:34:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762547712001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:34:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:34:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:34:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762547712001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:34:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:34:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:34:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:34:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:34:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762547712001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:34:06] local.INFO: DEBUG: GPS processor result {"connection_id":46149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21730,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:34:06] local.INFO: GPS data processed {"connection_id":46149,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:34:06] local.INFO: Acknowledgment sent {"connection_id":46149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:34:39] local.INFO: TCP Data received {"connection_id":46150,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:34:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46150,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:34:39] local.INFO: Processing buffer {"connection_id":46150,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:34:39] local.INFO: IMEI packet received {"connection_id":46150,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:34:39] local.INFO: IMEI acknowledgment sent {"connection_id":46150,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:34:50] local.INFO: TCP Data received {"connection_id":45929,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:34:50] local.INFO: Processing buffer {"connection_id":45929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:34:50] local.INFO: IMEI packet received {"connection_id":45929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":45929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:34:56] local.INFO: TCP Data received {"connection_id":45929,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45929,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:34:56] local.INFO: Processing buffer {"connection_id":45929,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:34:56] local.INFO: IMEI packet received {"connection_id":45929,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":45929,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:34:57] local.INFO: TCP Data received {"connection_id":45929,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:34:57] local.INFO: Processing buffer {"connection_id":45929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:34:57] local.INFO: Packet analysis {"connection_id":45929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:34:57] local.INFO: Extracted packet for processing {"connection_id":45929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:34:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762547712001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776416503000,"timestamp_ms":1776416503000,"timestamp_seconds":1776416503,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aacb4d8"} 
[2026-04-17 14:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 14:34: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-04-17 14:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762547712001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762547712001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:34:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:34:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762547712001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":45929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:34:57] local.INFO: GPS data processed {"connection_id":45929,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:34:57] local.INFO: Acknowledgment sent {"connection_id":45929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:35:04] local.INFO: TCP Data received {"connection_id":46693,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46693,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:35:04] local.INFO: Processing buffer {"connection_id":46693,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:35:04] local.INFO: IMEI packet received {"connection_id":46693,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":46693,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:35:28] local.INFO: TCP Data received {"connection_id":45929,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:35:28] local.INFO: Processing buffer {"connection_id":45929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:35:28] local.INFO: Packet analysis {"connection_id":45929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:35:28] local.INFO: Extracted packet for processing {"connection_id":45929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762547712001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776416503000,"timestamp_ms":1776416503000,"timestamp_seconds":1776416503,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aacb4d8"} 
[2026-04-17 14:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:35:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 14:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:35:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45929,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762547712001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762547712001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:35:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762547712001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":45929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:35:28] local.INFO: GPS data processed {"connection_id":45929,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:35:28] local.INFO: Acknowledgment sent {"connection_id":45929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:35:51] local.INFO: TCP Data received {"connection_id":45834,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:35:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:35:51] local.INFO: Processing buffer {"connection_id":45834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:35:51] local.INFO: IMEI packet received {"connection_id":45834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:35:51] local.INFO: IMEI acknowledgment sent {"connection_id":45834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:35:56] local.INFO: TCP Data received {"connection_id":45834,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45834,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:35:56] local.INFO: Processing buffer {"connection_id":45834,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:35:56] local.INFO: IMEI packet received {"connection_id":45834,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":45834,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:35:56] local.INFO: TCP Data received {"connection_id":45834,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:35:56] local.INFO: Processing buffer {"connection_id":45834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:35:56] local.INFO: Packet analysis {"connection_id":45834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:35:56] local.INFO: Extracted packet for processing {"connection_id":45834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762547712001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776416503000,"timestamp_ms":1776416503000,"timestamp_seconds":1776416503,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aacb4d8"} 
[2026-04-17 14:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 14:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762547712001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762547712001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:35:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762547712001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":45834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21733,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:35:56] local.INFO: GPS data processed {"connection_id":45834,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:35:56] local.INFO: Acknowledgment sent {"connection_id":45834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:36:28] local.INFO: TCP Data received {"connection_id":45834,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:36:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45834,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:36:28] local.INFO: Processing buffer {"connection_id":45834,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:36:28] local.INFO: Packet analysis {"connection_id":45834,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:36:28] local.INFO: Extracted packet for processing {"connection_id":45834,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:36:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:36:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762547712001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:36:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:36:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:36:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:36:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776416503000,"timestamp_ms":1776416503000,"timestamp_seconds":1776416503,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aacb4d8"} 
[2026-04-17 14:36:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:36:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:36:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 14:36:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:36:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:36:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:36:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:36:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45834,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:36:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:36:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45834,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:36:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:36:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:36:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:36:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762547712001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:36:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:36:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:36:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762547712001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:36:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:36:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:36:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:36:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:36:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762547712001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":45834,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21734,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:36:28] local.INFO: GPS data processed {"connection_id":45834,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:36:28] local.INFO: Acknowledgment sent {"connection_id":45834,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:36:50] local.INFO: TCP Data received {"connection_id":45930,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:36:50] local.INFO: Processing buffer {"connection_id":45930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:36:50] local.INFO: IMEI packet received {"connection_id":45930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":45930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:36:56] local.INFO: TCP Data received {"connection_id":45930,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:36:56] local.INFO: Processing buffer {"connection_id":45930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:36:56] local.INFO: IMEI packet received {"connection_id":45930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":45930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:36:56] local.INFO: TCP Data received {"connection_id":45930,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:36:56] local.INFO: Processing buffer {"connection_id":45930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aacb4d8012d7faa8005afd2f8000b000031..."} 
[2026-04-17 14:36:56] local.INFO: Packet analysis {"connection_id":45930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:36:56] local.INFO: Extracted packet for processing {"connection_id":45930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aac"} 
[2026-04-17 14:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":49,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762547712001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776416503000,"timestamp_ms":1776416503000,"timestamp_seconds":1776416503,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aacb4d8"} 
[2026-04-17 14:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 14:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762547712001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762547712001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:36:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762547712001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":45930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:36:56] local.INFO: GPS data processed {"connection_id":45930,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:36:56] local.INFO: Acknowledgment sent {"connection_id":45930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:37:12] local.INFO: TCP Data received {"connection_id":46695,"ip":"117.224.24.255","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:37:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:37:12] local.INFO: Processing buffer {"connection_id":46695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:37:12] local.INFO: IMEI packet received {"connection_id":46695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 14:37:12] local.INFO: IMEI acknowledgment sent {"connection_id":46695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:37:17] local.INFO: TCP Data received {"connection_id":46695,"ip":"117.224.24.255","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:37:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46695,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:37:17] local.INFO: Processing buffer {"connection_id":46695,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:37:17] local.INFO: IMEI packet received {"connection_id":46695,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 14:37:17] local.INFO: IMEI acknowledgment sent {"connection_id":46695,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:37:18] local.INFO: TCP Data received {"connection_id":46695,"ip":"117.224.24.255","data_length":795,"data_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-04-17 14:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-04-17 14:37:18] local.INFO: Processing buffer {"connection_id":46695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000010d880100000000000000000000000000..."} 
[2026-04-17 14:37:18] local.INFO: Packet analysis {"connection_id":46695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-17 14:37:18] local.INFO: Extracted packet for processing {"connection_id":46695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-17 14:37: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-04-17 14:37:18] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:37:18] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113187579548925952,"note":"Value kept but may cause issues"} 
[2026-04-17 14:37:18] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,70,28,24,16],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 14:37:18] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":69000,"timestamp_seconds":69,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 14:37:18] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:37:18] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-17 14:37:18] local.INFO: Teltonika packet parsed successfully {"connection_id":46695,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:37:18] local.INFO: Passing IMEI to GPS processor {"connection_id":46695,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 14:37:18] local.INFO: DEBUG: About to call GPS processor {"connection_id":46695,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 14:37:18] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.24.255","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-17 14:37:18] local.WARNING: DEBUG: No valid data to process  
[2026-04-17 14:37:18] local.INFO: DEBUG: GPS processor result {"connection_id":46695,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-17 14:37:18] local.ERROR: GPS data processing failed {"connection_id":46695,"error":"No valid data to process"} 
[2026-04-17 14:37:18] local.INFO: Acknowledgment sent {"connection_id":46695,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-17 14:37:27] local.INFO: TCP Data received {"connection_id":45930,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:37:27] local.INFO: Processing buffer {"connection_id":45930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:37:27] local.INFO: Packet analysis {"connection_id":45930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:37:27] local.INFO: Extracted packet for processing {"connection_id":45930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762624768001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776416804000,"timestamp_ms":1776416804000,"timestamp_seconds":1776416804,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab14ca0"} 
[2026-04-17 14:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:37:27] 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-04-17 14: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762624768001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762624768001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:37:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762624768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":45930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:37:27] local.INFO: GPS data processed {"connection_id":45930,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:37:27] local.INFO: Acknowledgment sent {"connection_id":45930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:37:50] local.INFO: TCP Data received {"connection_id":46695,"ip":"117.224.24.255","data_length":795,"data_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-04-17 14:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46695,"packet_length":795,"packet_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-04-17 14:37:50] local.INFO: Processing buffer {"connection_id":46695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000000000015f900100000000000000000000000000..."} 
[2026-04-17 14:37:50] local.INFO: Packet analysis {"connection_id":46695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-17 14:37:50] local.INFO: Extracted packet for processing {"connection_id":46695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-17 14:37:50] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:37:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113187579548925952,"note":"Value kept but may cause issues"} 
[2026-04-17 14:37:50] 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-04-17 14:37:50] 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-04-17 14:37:50] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:37:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-17 14:37:50] local.INFO: Teltonika packet parsed successfully {"connection_id":46695,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:37:50] local.INFO: Passing IMEI to GPS processor {"connection_id":46695,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 14:37:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":46695,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 14:37:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.24.255","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-17 14:37:50] local.WARNING: DEBUG: No valid data to process  
[2026-04-17 14:37:50] local.INFO: DEBUG: GPS processor result {"connection_id":46695,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-17 14:37:50] local.ERROR: GPS data processing failed {"connection_id":46695,"error":"No valid data to process"} 
[2026-04-17 14:37:50] local.INFO: Acknowledgment sent {"connection_id":46695,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-17 14:37:56] local.INFO: TCP Data received {"connection_id":46696,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:37:56] local.INFO: Processing buffer {"connection_id":46696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:37:56] local.INFO: IMEI packet received {"connection_id":46696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":46696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:38:01] local.INFO: TCP Data received {"connection_id":46696,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46696,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:38:01] local.INFO: Processing buffer {"connection_id":46696,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:38:01] local.INFO: IMEI packet received {"connection_id":46696,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:38:01] local.INFO: IMEI acknowledgment sent {"connection_id":46696,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:38:01] local.INFO: TCP Data received {"connection_id":46696,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:38:01] local.INFO: Processing buffer {"connection_id":46696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:38:01] local.INFO: Packet analysis {"connection_id":46696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:38:01] local.INFO: Extracted packet for processing {"connection_id":46696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762624768001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776416804000,"timestamp_ms":1776416804000,"timestamp_seconds":1776416804,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab14ca0"} 
[2026-04-17 14:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:38: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-04-17 14:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762624768001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762624768001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:38:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:38:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762624768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":46696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21737,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:38:01] local.INFO: GPS data processed {"connection_id":46696,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:38:01] local.INFO: Acknowledgment sent {"connection_id":46696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:38:06] local.INFO: TCP Data received {"connection_id":46696,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:38:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46696,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:38:06] local.INFO: Processing buffer {"connection_id":46696,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:38:06] local.INFO: Packet analysis {"connection_id":46696,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:38:06] local.INFO: Extracted packet for processing {"connection_id":46696,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:38:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:38:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762624768001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:38:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:38:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:38:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:38:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776416804000,"timestamp_ms":1776416804000,"timestamp_seconds":1776416804,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab14ca0"} 
[2026-04-17 14:38:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:38:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:38:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:38:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:38:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:38:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:38:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:38:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46696,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:38:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:38:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46696,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:38:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:38:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:38:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:38:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762624768001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:38:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:38:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:38:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762624768001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:38:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:38:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:38:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:38:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:38:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762624768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:38:06] local.INFO: DEBUG: GPS processor result {"connection_id":46696,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21738,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:38:06] local.INFO: GPS data processed {"connection_id":46696,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:38:06] local.INFO: Acknowledgment sent {"connection_id":46696,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:38:27] local.INFO: TCP Data received {"connection_id":46695,"ip":"117.224.24.255","data_length":795,"data_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-04-17 14:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46695,"packet_length":795,"packet_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-04-17 14:38:27] local.INFO: Processing buffer {"connection_id":46695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a000000000001b1980100000000000000000000000000..."} 
[2026-04-17 14:38:27] local.INFO: Packet analysis {"connection_id":46695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-17 14:38:27] local.INFO: Extracted packet for processing {"connection_id":46695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000001"} 
[2026-04-17 14:38:27] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113187579548925952,"note":"Value kept but may cause issues"} 
[2026-04-17 14:38:27] 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-04-17 14:38:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":111000,"timestamp_seconds":111,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 14:38:27] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-17 14:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46695,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46695,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 14:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46695,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 14:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.24.255","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-17 14:38:27] local.WARNING: DEBUG: No valid data to process  
[2026-04-17 14:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":46695,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-17 14:38:27] local.ERROR: GPS data processing failed {"connection_id":46695,"error":"No valid data to process"} 
[2026-04-17 14:38:27] local.INFO: Acknowledgment sent {"connection_id":46695,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-17 14:38:50] local.INFO: TCP Data received {"connection_id":45835,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:38:50] local.INFO: Processing buffer {"connection_id":45835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:38:50] local.INFO: IMEI packet received {"connection_id":45835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":45835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:38:56] local.INFO: TCP Data received {"connection_id":45835,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:38:56] local.INFO: Processing buffer {"connection_id":45835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:38:56] local.INFO: IMEI packet received {"connection_id":45835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:38:56] local.INFO: IMEI acknowledgment sent {"connection_id":45835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:38:57] local.INFO: TCP Data received {"connection_id":45835,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:38:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:38:57] local.INFO: Processing buffer {"connection_id":45835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:38:57] local.INFO: Packet analysis {"connection_id":45835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:38:57] local.INFO: Extracted packet for processing {"connection_id":45835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:38:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:38:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762624768001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:38:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:38:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:38:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:38:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776416804000,"timestamp_ms":1776416804000,"timestamp_seconds":1776416804,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab14ca0"} 
[2026-04-17 14:38:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:38:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:38:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:38:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:38:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:38:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:38:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:38:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:38:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:38:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:38:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:38:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:38:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:38:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762624768001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:38:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:38:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:38:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762624768001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:38:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:38:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:38:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:38:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:38:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762624768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:38:57] local.INFO: DEBUG: GPS processor result {"connection_id":45835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:38:57] local.INFO: GPS data processed {"connection_id":45835,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:38:57] local.INFO: Acknowledgment sent {"connection_id":45835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:39:28] local.INFO: TCP Data received {"connection_id":45835,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:39:28] local.INFO: Processing buffer {"connection_id":45835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:39:28] local.INFO: Packet analysis {"connection_id":45835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:39:28] local.INFO: Extracted packet for processing {"connection_id":45835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762624768001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776416804000,"timestamp_ms":1776416804000,"timestamp_seconds":1776416804,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab14ca0"} 
[2026-04-17 14:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:39:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:39:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762624768001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762624768001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:39:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762624768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":45835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:39:28] local.INFO: GPS data processed {"connection_id":45835,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:39:28] local.INFO: Acknowledgment sent {"connection_id":45835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:39:51] local.INFO: TCP Data received {"connection_id":45931,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:39:51] local.INFO: Processing buffer {"connection_id":45931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:39:51] local.INFO: IMEI packet received {"connection_id":45931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":45931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:39:56] local.INFO: TCP Data received {"connection_id":45931,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:39:56] local.INFO: Processing buffer {"connection_id":45931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:39:56] local.INFO: IMEI packet received {"connection_id":45931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":45931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:39:56] local.INFO: TCP Data received {"connection_id":46695,"ip":"117.224.24.255","data_length":795,"data_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-04-17 14:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46695,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-04-17 14:39:56] local.INFO: Processing buffer {"connection_id":46695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000203a00100000000000000000000000000..."} 
[2026-04-17 14:39:56] local.INFO: Packet analysis {"connection_id":46695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-04-17 14:39:56] local.INFO: Extracted packet for processing {"connection_id":46695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-04-17 14:39:56] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113187579548925952,"note":"Value kept but may cause issues"} 
[2026-04-17 14:39:56] 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-04-17 14:39:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":132000,"timestamp_seconds":132,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 14:39:56] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-17 14:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46695,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46695,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 14:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46695,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 14:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.24.255","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-17 14:39:56] local.WARNING: DEBUG: No valid data to process  
[2026-04-17 14:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":46695,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-17 14:39:56] local.ERROR: GPS data processing failed {"connection_id":46695,"error":"No valid data to process"} 
[2026-04-17 14:39:56] local.INFO: Acknowledgment sent {"connection_id":46695,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-17 14:39:56] local.INFO: TCP Data received {"connection_id":45931,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:39:56] local.INFO: Processing buffer {"connection_id":45931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:39:56] local.INFO: Packet analysis {"connection_id":45931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:39:56] local.INFO: Extracted packet for processing {"connection_id":45931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762624768001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776416804000,"timestamp_ms":1776416804000,"timestamp_seconds":1776416804,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab14ca0"} 
[2026-04-17 14:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:39:56] 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-04-17 14:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762624768001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762624768001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:39:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762624768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":45931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21741,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:39:56] local.INFO: GPS data processed {"connection_id":45931,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:39:56] local.INFO: Acknowledgment sent {"connection_id":45931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:40:09] local.INFO: TCP Data received {"connection_id":46695,"ip":"117.224.24.255","data_length":795,"data_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-04-17 14:40:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46695,"packet_length":795,"packet_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-04-17 14:40:09] local.INFO: Processing buffer {"connection_id":46695,"buffer_length":795,"buffer_hex":"000000000000030f8e0a00000000000255a80100000000000000000000000000..."} 
[2026-04-17 14:40:09] local.INFO: Packet analysis {"connection_id":46695,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-04-17 14:40:09] local.INFO: Extracted packet for processing {"connection_id":46695,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a000000000002"} 
[2026-04-17 14:40:09] local.INFO: GPS Element Parsed {"raw_longitude":0,"raw_latitude":0,"longitude_deg":0.0,"latitude_deg":0.0,"altitude":0,"angle":0,"satellites":0,"speed":0,"hex_longitude":"00000000","hex_latitude":"00000000","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:40:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113187579548925952,"note":"Value kept but may cause issues"} 
[2026-04-17 14:40:09] 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-04-17 14:40:09] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":153000,"timestamp_seconds":153,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 14:40:09] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":10,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:40:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":0,"records_with_valid_data":0} 
[2026-04-17 14:40:09] local.INFO: Teltonika packet parsed successfully {"connection_id":46695,"avl_records_parsed":0,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:40:09] local.INFO: Passing IMEI to GPS processor {"connection_id":46695,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 14:40:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":46695,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 14:40:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.24.255","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-17 14:40:09] local.WARNING: DEBUG: No valid data to process  
[2026-04-17 14:40:09] local.INFO: DEBUG: GPS processor result {"connection_id":46695,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-17 14:40:09] local.ERROR: GPS data processing failed {"connection_id":46695,"error":"No valid data to process"} 
[2026-04-17 14:40:09] local.INFO: Acknowledgment sent {"connection_id":46695,"records_acknowledged":0,"records_expected":10,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-17 14:40:26] local.INFO: TCP Data received {"connection_id":45932,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45932,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:40:26] local.INFO: Processing buffer {"connection_id":45932,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:40:26] local.INFO: IMEI packet received {"connection_id":45932,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":45932,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:40:28] local.INFO: TCP Data received {"connection_id":45931,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:40:28] local.INFO: Processing buffer {"connection_id":45931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:40:28] local.INFO: Packet analysis {"connection_id":45931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:40:28] local.INFO: Extracted packet for processing {"connection_id":45931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:40:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:40:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762624768001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:40:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:40:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:40:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:40:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776416804000,"timestamp_ms":1776416804000,"timestamp_seconds":1776416804,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab14ca0"} 
[2026-04-17 14:40:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:40:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:40:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:40:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:40:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:40:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:40:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:40:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:40:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:40:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:40:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:40:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:40:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:40:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762624768001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:40:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:40:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:40:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762624768001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:40:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:40:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:40:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:40:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:40:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762624768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":45931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:40:28] local.INFO: GPS data processed {"connection_id":45931,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:40:28] local.INFO: Acknowledgment sent {"connection_id":45931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:40:50] local.INFO: TCP Data received {"connection_id":46697,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:40:50] local.INFO: Processing buffer {"connection_id":46697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:40:50] local.INFO: IMEI packet received {"connection_id":46697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":46697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:40:56] local.INFO: TCP Data received {"connection_id":46697,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46697,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:40:56] local.INFO: Processing buffer {"connection_id":46697,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:40:56] local.INFO: IMEI packet received {"connection_id":46697,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:40:56] local.INFO: IMEI acknowledgment sent {"connection_id":46697,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:40:56] local.INFO: TCP Data received {"connection_id":46697,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:40:56] local.INFO: Processing buffer {"connection_id":46697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:40:56] local.INFO: Packet analysis {"connection_id":46697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:40:56] local.INFO: Extracted packet for processing {"connection_id":46697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762624768001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776416804000,"timestamp_ms":1776416804000,"timestamp_seconds":1776416804,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab14ca0"} 
[2026-04-17 14:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:40:56] 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-04-17 14:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762624768001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762624768001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:40:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762624768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":46697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21743,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:40:56] local.INFO: GPS data processed {"connection_id":46697,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:40:56] local.INFO: Acknowledgment sent {"connection_id":46697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:41:04] local.INFO: TCP Data received {"connection_id":46154,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46154,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:41:04] local.INFO: Processing buffer {"connection_id":46154,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:41:04] local.INFO: IMEI packet received {"connection_id":46154,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":46154,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:41:27] local.INFO: TCP Data received {"connection_id":46697,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46697,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:41:27] local.INFO: Processing buffer {"connection_id":46697,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:41:27] local.INFO: Packet analysis {"connection_id":46697,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:41:27] local.INFO: Extracted packet for processing {"connection_id":46697,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762624768001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776416804000,"timestamp_ms":1776416804000,"timestamp_seconds":1776416804,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab14ca0"} 
[2026-04-17 14:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:41:27] 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-04-17 14:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46697,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46697,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762624768001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762624768001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:41:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762624768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":46697,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:41:27] local.INFO: GPS data processed {"connection_id":46697,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:41:27] local.INFO: Acknowledgment sent {"connection_id":46697,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:41:50] local.INFO: TCP Data received {"connection_id":46155,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:41:50] local.INFO: Processing buffer {"connection_id":46155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:41:50] local.INFO: IMEI packet received {"connection_id":46155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":46155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:41:56] local.INFO: TCP Data received {"connection_id":46155,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46155,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:41:56] local.INFO: Processing buffer {"connection_id":46155,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:41:56] local.INFO: IMEI packet received {"connection_id":46155,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:41:56] local.INFO: IMEI acknowledgment sent {"connection_id":46155,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:41:57] local.INFO: TCP Data received {"connection_id":46155,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:41:57] local.INFO: Processing buffer {"connection_id":46155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab14ca0012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 14:41:57] local.INFO: Packet analysis {"connection_id":46155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:41:57] local.INFO: Extracted packet for processing {"connection_id":46155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab1"} 
[2026-04-17 14:41:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762624768001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776416804000,"timestamp_ms":1776416804000,"timestamp_seconds":1776416804,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab14ca0"} 
[2026-04-17 14:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:41:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762624768001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762624768001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:41:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:41:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762624768001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":46155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21745,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:41:57] local.INFO: GPS data processed {"connection_id":46155,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:41:57] local.INFO: Acknowledgment sent {"connection_id":46155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:42:28] local.INFO: TCP Data received {"connection_id":46155,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:42:28] local.INFO: Processing buffer {"connection_id":46155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:42:28] local.INFO: Packet analysis {"connection_id":46155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:42:28] local.INFO: Extracted packet for processing {"connection_id":46155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:42:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:42:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762701824001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:42:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:42:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:42:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:42:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776417105000,"timestamp_ms":1776417105000,"timestamp_seconds":1776417105,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab5e468"} 
[2026-04-17 14:42:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:42:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:42:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:42: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-04-17 14: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-04-17 14:42:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:42:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:42:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:42:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:42:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46155,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:42:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:42:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:42:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:42:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762701824001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:42:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:42:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:42:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762701824001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:42:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:42:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:42:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:42:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:42:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762701824001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":46155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:42:28] local.INFO: GPS data processed {"connection_id":46155,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:42:28] local.INFO: Acknowledgment sent {"connection_id":46155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:42:56] local.INFO: TCP Data received {"connection_id":45836,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:42:56] local.INFO: Processing buffer {"connection_id":45836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:42:56] local.INFO: IMEI packet received {"connection_id":45836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:42:56] local.INFO: IMEI acknowledgment sent {"connection_id":45836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:43:01] local.INFO: TCP Data received {"connection_id":45836,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:43:01] local.INFO: Processing buffer {"connection_id":45836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:43:01] local.INFO: IMEI packet received {"connection_id":45836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:43:01] local.INFO: IMEI acknowledgment sent {"connection_id":45836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:43:01] local.INFO: TCP Data received {"connection_id":45836,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:43:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:43:01] local.INFO: Processing buffer {"connection_id":45836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:43:01] local.INFO: Packet analysis {"connection_id":45836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:43:01] local.INFO: Extracted packet for processing {"connection_id":45836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:43:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:43:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762701824001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:43:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:43:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:43:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:43:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776417105000,"timestamp_ms":1776417105000,"timestamp_seconds":1776417105,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab5e468"} 
[2026-04-17 14:43:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:43:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:43:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:43:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:43:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:43:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:43:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:43:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:43:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:43:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:43: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-04-17 14:43:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:43:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:43:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762701824001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:43:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:43:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:43:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762701824001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:43:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:43:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:43:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:43:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:43:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762701824001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:43:01] local.INFO: DEBUG: GPS processor result {"connection_id":45836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:43:01] local.INFO: GPS data processed {"connection_id":45836,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:43:01] local.INFO: Acknowledgment sent {"connection_id":45836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:43:06] local.INFO: TCP Data received {"connection_id":45836,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:43:06] local.INFO: Processing buffer {"connection_id":45836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:43:06] local.INFO: Packet analysis {"connection_id":45836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:43:06] local.INFO: Extracted packet for processing {"connection_id":45836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:43:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:43:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762701824001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:43:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:43:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:43:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:43:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776417105000,"timestamp_ms":1776417105000,"timestamp_seconds":1776417105,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab5e468"} 
[2026-04-17 14:43:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:43:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:43:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:43:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:43:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:43:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:43:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:43:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:43:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:43:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:43:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:43:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762701824001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:43:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:43:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:43:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762701824001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:43:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:43:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:43:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:43:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:43:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762701824001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:43:06] local.INFO: DEBUG: GPS processor result {"connection_id":45836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:43:06] local.INFO: GPS data processed {"connection_id":45836,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:43:06] local.INFO: Acknowledgment sent {"connection_id":45836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:43:51] local.INFO: TCP Data received {"connection_id":46157,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:43:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:43:51] local.INFO: Processing buffer {"connection_id":46157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:43:51] local.INFO: IMEI packet received {"connection_id":46157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:43:51] local.INFO: IMEI acknowledgment sent {"connection_id":46157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:43:56] local.INFO: TCP Data received {"connection_id":46157,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46157,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:43:56] local.INFO: Processing buffer {"connection_id":46157,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:43:56] local.INFO: IMEI packet received {"connection_id":46157,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:43:56] local.INFO: IMEI acknowledgment sent {"connection_id":46157,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:43:56] local.INFO: TCP Data received {"connection_id":46157,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:43:56] local.INFO: Processing buffer {"connection_id":46157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:43:56] local.INFO: Packet analysis {"connection_id":46157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:43:56] local.INFO: Extracted packet for processing {"connection_id":46157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762701824001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776417105000,"timestamp_ms":1776417105000,"timestamp_seconds":1776417105,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab5e468"} 
[2026-04-17 14:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:43:56] 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-04-17 14:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762701824001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762701824001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:43:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762701824001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":46157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:43:56] local.INFO: GPS data processed {"connection_id":46157,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:43:56] local.INFO: Acknowledgment sent {"connection_id":46157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:44:01] local.INFO: TCP Data received {"connection_id":46157,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:44:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:44:01] local.INFO: Processing buffer {"connection_id":46157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:44:01] local.INFO: Packet analysis {"connection_id":46157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:44:01] local.INFO: Extracted packet for processing {"connection_id":46157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:44:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:44:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762701824001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:44:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:44:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:44:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:44:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776417105000,"timestamp_ms":1776417105000,"timestamp_seconds":1776417105,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab5e468"} 
[2026-04-17 14:44:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:44:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:44:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:44:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:44:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:44:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:44:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:44:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:44:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:44:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:44: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-04-17 14:44:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:44:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:44:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762701824001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:44:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:44:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:44:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762701824001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:44:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:44:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:44:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:44:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:44:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762701824001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:44:01] local.INFO: DEBUG: GPS processor result {"connection_id":46157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:44:01] local.INFO: GPS data processed {"connection_id":46157,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:44:01] local.INFO: Acknowledgment sent {"connection_id":46157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:44:32] local.INFO: TCP Data received {"connection_id":46157,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:44:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:44:32] local.INFO: Processing buffer {"connection_id":46157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:44:32] local.INFO: Packet analysis {"connection_id":46157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:44:32] local.INFO: Extracted packet for processing {"connection_id":46157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:44:32] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:44:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762701824001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:44:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:44:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:44:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:44:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776417105000,"timestamp_ms":1776417105000,"timestamp_seconds":1776417105,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab5e468"} 
[2026-04-17 14:44:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:44:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:44:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:44:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:44:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:44:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:44:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:44:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:44:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46157,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:44:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:44:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:44:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:44:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762701824001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:44:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:44:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:44:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762701824001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:44:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:44:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:44:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:44:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:44:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762701824001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:44:32] local.INFO: DEBUG: GPS processor result {"connection_id":46157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21751,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:44:32] local.INFO: GPS data processed {"connection_id":46157,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:44:32] local.INFO: Acknowledgment sent {"connection_id":46157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:44:50] local.INFO: TCP Data received {"connection_id":46699,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:44:50] local.INFO: Processing buffer {"connection_id":46699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:44:50] local.INFO: IMEI packet received {"connection_id":46699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":46699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:44:56] local.INFO: TCP Data received {"connection_id":46699,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46699,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:44:56] local.INFO: Processing buffer {"connection_id":46699,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:44:56] local.INFO: IMEI packet received {"connection_id":46699,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:44:56] local.INFO: IMEI acknowledgment sent {"connection_id":46699,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:44:56] local.INFO: TCP Data received {"connection_id":46699,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:44:56] local.INFO: Processing buffer {"connection_id":46699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:44:56] local.INFO: Packet analysis {"connection_id":46699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:44:56] local.INFO: Extracted packet for processing {"connection_id":46699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762701824001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776417105000,"timestamp_ms":1776417105000,"timestamp_seconds":1776417105,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab5e468"} 
[2026-04-17 14:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:44:56] 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-04-17 14:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:44:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762701824001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762701824001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:44:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:44:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762701824001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":46699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:44:56] local.INFO: GPS data processed {"connection_id":46699,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:44:56] local.INFO: Acknowledgment sent {"connection_id":46699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:45:27] local.INFO: TCP Data received {"connection_id":46699,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46699,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:45:28] local.INFO: Processing buffer {"connection_id":46699,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:45:28] local.INFO: Packet analysis {"connection_id":46699,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:45:28] local.INFO: Extracted packet for processing {"connection_id":46699,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:45:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762701824001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776417105000,"timestamp_ms":1776417105000,"timestamp_seconds":1776417105,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab5e468"} 
[2026-04-17 14:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:45:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:45: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-04-17 14:45:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46699,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46699,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762701824001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762701824001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:45:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:45:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762701824001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":46699,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:45:28] local.INFO: GPS data processed {"connection_id":46699,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:45:28] local.INFO: Acknowledgment sent {"connection_id":46699,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:45:51] local.INFO: TCP Data received {"connection_id":45935,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:45:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:45:51] local.INFO: Processing buffer {"connection_id":45935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:45:51] local.INFO: IMEI packet received {"connection_id":45935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:45:51] local.INFO: IMEI acknowledgment sent {"connection_id":45935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:45:56] local.INFO: TCP Data received {"connection_id":45935,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:45:56] local.INFO: Processing buffer {"connection_id":45935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:45:56] local.INFO: IMEI packet received {"connection_id":45935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:45:56] local.INFO: IMEI acknowledgment sent {"connection_id":45935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:45:56] local.INFO: TCP Data received {"connection_id":45935,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:45:56] local.INFO: Processing buffer {"connection_id":45935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:45:56] local.INFO: Packet analysis {"connection_id":45935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:45:56] local.INFO: Extracted packet for processing {"connection_id":45935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762701824001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776417105000,"timestamp_ms":1776417105000,"timestamp_seconds":1776417105,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab5e468"} 
[2026-04-17 14:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:45:56] 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-04-17 14:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762701824001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762701824001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:45:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762701824001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":45935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:45:56] local.INFO: GPS data processed {"connection_id":45935,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:45:56] local.INFO: Acknowledgment sent {"connection_id":45935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:46:24] local.INFO: TCP Data received {"connection_id":45837,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45837,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:46:24] local.INFO: Processing buffer {"connection_id":45837,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:46:24] local.INFO: IMEI packet received {"connection_id":45837,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":45837,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:46:28] local.INFO: TCP Data received {"connection_id":45935,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:46:28] local.INFO: Processing buffer {"connection_id":45935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:46:28] local.INFO: Packet analysis {"connection_id":45935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:46:28] local.INFO: Extracted packet for processing {"connection_id":45935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:46:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762701824001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776417105000,"timestamp_ms":1776417105000,"timestamp_seconds":1776417105,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab5e468"} 
[2026-04-17 14:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:46:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:46: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-04-17 14:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762701824001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762701824001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:46:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:46:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762701824001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":45935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21755,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:46:28] local.INFO: GPS data processed {"connection_id":45935,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:46:28] local.INFO: Acknowledgment sent {"connection_id":45935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:46:50] local.INFO: TCP Data received {"connection_id":45838,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:46:50] local.INFO: Processing buffer {"connection_id":45838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:46:50] local.INFO: IMEI packet received {"connection_id":45838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":45838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:46:56] local.INFO: TCP Data received {"connection_id":45838,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45838,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:46:56] local.INFO: Processing buffer {"connection_id":45838,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:46:56] local.INFO: IMEI packet received {"connection_id":45838,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":45838,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:46:56] local.INFO: TCP Data received {"connection_id":45838,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:46:56] local.INFO: Processing buffer {"connection_id":45838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ab5e468012d7faa8005afd2f8000b000030..."} 
[2026-04-17 14:46:56] local.INFO: Packet analysis {"connection_id":45838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:46:56] local.INFO: Extracted packet for processing {"connection_id":45838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ab5"} 
[2026-04-17 14:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762701824001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776417105000,"timestamp_ms":1776417105000,"timestamp_seconds":1776417105,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ab5e468"} 
[2026-04-17 14:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:46:56] 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-04-17 14:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762701824001,"66":25419,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762701824001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:46:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762701824001,"power":25419,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":45838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21756,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:46:56] local.INFO: GPS data processed {"connection_id":45838,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:46:56] local.INFO: Acknowledgment sent {"connection_id":45838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:47:04] local.INFO: TCP Data received {"connection_id":46158,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:47:04] local.INFO: Processing buffer {"connection_id":46158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:47:04] local.INFO: IMEI packet received {"connection_id":46158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":46158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:47:28] local.INFO: TCP Data received {"connection_id":45838,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45838,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:47:28] local.INFO: Processing buffer {"connection_id":45838,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:47:28] local.INFO: Packet analysis {"connection_id":45838,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:47:28] local.INFO: Extracted packet for processing {"connection_id":45838,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:47:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762778880001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776417406000,"timestamp_ms":1776417406000,"timestamp_seconds":1776417406,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aba7c30"} 
[2026-04-17 14:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45838,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45838,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762778880001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762778880001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:47:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:47:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762778880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":45838,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:47:28] local.INFO: GPS data processed {"connection_id":45838,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:47:28] local.INFO: Acknowledgment sent {"connection_id":45838,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:47:56] local.INFO: TCP Data received {"connection_id":46700,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:47:56] local.INFO: Processing buffer {"connection_id":46700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:47:56] local.INFO: IMEI packet received {"connection_id":46700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:47:56] local.INFO: IMEI acknowledgment sent {"connection_id":46700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:48:01] local.INFO: TCP Data received {"connection_id":46700,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:48:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46700,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:48:01] local.INFO: Processing buffer {"connection_id":46700,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:48:01] local.INFO: IMEI packet received {"connection_id":46700,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:48:01] local.INFO: IMEI acknowledgment sent {"connection_id":46700,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:48:03] local.INFO: TCP Data received {"connection_id":46700,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:48:03] local.INFO: Processing buffer {"connection_id":46700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:48:03] local.INFO: Packet analysis {"connection_id":46700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:48:03] local.INFO: Extracted packet for processing {"connection_id":46700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:48:03] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:48:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762778880001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:48:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:48:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:48:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:48:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776417406000,"timestamp_ms":1776417406000,"timestamp_seconds":1776417406,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aba7c30"} 
[2026-04-17 14:48:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:48:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:48:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:48:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:48:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:48:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:48:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:48:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:48:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:48:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:48:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:48:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:48:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762778880001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:48:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:48:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:48:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762778880001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:48:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:48:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:48:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:48:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:48:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762778880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:48:03] local.INFO: DEBUG: GPS processor result {"connection_id":46700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:48:03] local.INFO: GPS data processed {"connection_id":46700,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:48:03] local.INFO: Acknowledgment sent {"connection_id":46700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:48:06] local.INFO: TCP Data received {"connection_id":46700,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46700,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:48:06] local.INFO: Processing buffer {"connection_id":46700,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:48:06] local.INFO: Packet analysis {"connection_id":46700,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:48:06] local.INFO: Extracted packet for processing {"connection_id":46700,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:48:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762778880001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776417406000,"timestamp_ms":1776417406000,"timestamp_seconds":1776417406,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aba7c30"} 
[2026-04-17 14:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:48:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:48:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46700,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46700,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762778880001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762778880001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:48:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:48:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762778880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":46700,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21759,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:48:06] local.INFO: GPS data processed {"connection_id":46700,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:48:06] local.INFO: Acknowledgment sent {"connection_id":46700,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:48:50] local.INFO: TCP Data received {"connection_id":46701,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:48:50] local.INFO: Processing buffer {"connection_id":46701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:48:50] local.INFO: IMEI packet received {"connection_id":46701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":46701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:48:56] local.INFO: TCP Data received {"connection_id":46701,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46701,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:48:56] local.INFO: Processing buffer {"connection_id":46701,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:48:56] local.INFO: IMEI packet received {"connection_id":46701,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:48:56] local.INFO: IMEI acknowledgment sent {"connection_id":46701,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:48:57] local.INFO: TCP Data received {"connection_id":46701,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:48:57] local.INFO: Processing buffer {"connection_id":46701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:48:57] local.INFO: Packet analysis {"connection_id":46701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:48:57] local.INFO: Extracted packet for processing {"connection_id":46701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762778880001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776417406000,"timestamp_ms":1776417406000,"timestamp_seconds":1776417406,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aba7c30"} 
[2026-04-17 14:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762778880001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762778880001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:48:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762778880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":46701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21760,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:48:57] local.INFO: GPS data processed {"connection_id":46701,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:48:57] local.INFO: Acknowledgment sent {"connection_id":46701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:49:01] local.INFO: TCP Data received {"connection_id":46701,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:49:01] local.INFO: Processing buffer {"connection_id":46701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:49:01] local.INFO: Packet analysis {"connection_id":46701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:49:01] local.INFO: Extracted packet for processing {"connection_id":46701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762778880001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776417406000,"timestamp_ms":1776417406000,"timestamp_seconds":1776417406,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aba7c30"} 
[2026-04-17 14:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:49:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:49:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:49:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:49:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762778880001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762778880001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:49:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762778880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":46701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:49:01] local.INFO: GPS data processed {"connection_id":46701,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:49:01] local.INFO: Acknowledgment sent {"connection_id":46701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:49:32] local.INFO: TCP Data received {"connection_id":46701,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46701,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:49:32] local.INFO: Processing buffer {"connection_id":46701,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:49:32] local.INFO: Packet analysis {"connection_id":46701,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:49:32] local.INFO: Extracted packet for processing {"connection_id":46701,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:49:32] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 14:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762778880001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776417406000,"timestamp_ms":1776417406000,"timestamp_seconds":1776417406,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aba7c30"} 
[2026-04-17 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-04-17 14:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 14:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46701,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46701,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762778880001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762778880001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:49:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:49:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762778880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":46701,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21762,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:49:32] local.INFO: GPS data processed {"connection_id":46701,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:49:32] local.INFO: Acknowledgment sent {"connection_id":46701,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:49:50] local.INFO: TCP Data received {"connection_id":46159,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:49:50] local.INFO: Processing buffer {"connection_id":46159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:49:50] local.INFO: IMEI packet received {"connection_id":46159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":46159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:49:56] local.INFO: TCP Data received {"connection_id":46159,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:49:56] local.INFO: Processing buffer {"connection_id":46159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:49:56] local.INFO: IMEI packet received {"connection_id":46159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":46159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:49:56] local.INFO: TCP Data received {"connection_id":46159,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:49:56] local.INFO: Processing buffer {"connection_id":46159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:49:56] local.INFO: Packet analysis {"connection_id":46159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:49:56] local.INFO: Extracted packet for processing {"connection_id":46159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762778880001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776417406000,"timestamp_ms":1776417406000,"timestamp_seconds":1776417406,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aba7c30"} 
[2026-04-17 14:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:49:56] 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-04-17 14:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762778880001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762778880001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:49:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762778880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":46159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:49:56] local.INFO: GPS data processed {"connection_id":46159,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:49:56] local.INFO: Acknowledgment sent {"connection_id":46159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:50:28] local.INFO: TCP Data received {"connection_id":46159,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:50:28] local.INFO: Processing buffer {"connection_id":46159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:50:28] local.INFO: Packet analysis {"connection_id":46159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:50:28] local.INFO: Extracted packet for processing {"connection_id":46159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762778880001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776417406000,"timestamp_ms":1776417406000,"timestamp_seconds":1776417406,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aba7c30"} 
[2026-04-17 14:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762778880001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762778880001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:50:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762778880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":46159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:50:28] local.INFO: GPS data processed {"connection_id":46159,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:50:28] local.INFO: Acknowledgment sent {"connection_id":46159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:50:50] local.INFO: TCP Data received {"connection_id":45841,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:50:50] local.INFO: Processing buffer {"connection_id":45841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:50:50] local.INFO: IMEI packet received {"connection_id":45841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":45841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:50:56] local.INFO: TCP Data received {"connection_id":45841,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45841,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:50:56] local.INFO: Processing buffer {"connection_id":45841,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:50:56] local.INFO: IMEI packet received {"connection_id":45841,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:50:56] local.INFO: IMEI acknowledgment sent {"connection_id":45841,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:50:56] local.INFO: TCP Data received {"connection_id":45841,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:50:56] local.INFO: Processing buffer {"connection_id":45841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:50:56] local.INFO: Packet analysis {"connection_id":45841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:50:56] local.INFO: Extracted packet for processing {"connection_id":45841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762778880001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776417406000,"timestamp_ms":1776417406000,"timestamp_seconds":1776417406,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aba7c30"} 
[2026-04-17 14:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:50:56] 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-04-17 14: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762778880001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762778880001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:50:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762778880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":45841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21765,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:50:56] local.INFO: GPS data processed {"connection_id":45841,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:50:56] local.INFO: Acknowledgment sent {"connection_id":45841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:51:04] local.INFO: TCP Data received {"connection_id":46160,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:51:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46160,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:51:04] local.INFO: Processing buffer {"connection_id":46160,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:51:04] local.INFO: IMEI packet received {"connection_id":46160,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 14:51:04] local.INFO: IMEI acknowledgment sent {"connection_id":46160,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:51:28] local.INFO: TCP Data received {"connection_id":45841,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45841,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:51:28] local.INFO: Processing buffer {"connection_id":45841,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:51:28] local.INFO: Packet analysis {"connection_id":45841,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:51:28] local.INFO: Extracted packet for processing {"connection_id":45841,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:51:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762778880001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776417406000,"timestamp_ms":1776417406000,"timestamp_seconds":1776417406,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aba7c30"} 
[2026-04-17 14:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45841,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45841,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762778880001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762778880001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:51:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:51:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762778880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":45841,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21766,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:51:28] local.INFO: GPS data processed {"connection_id":45841,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:51:28] local.INFO: Acknowledgment sent {"connection_id":45841,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:51:37] local.INFO: TCP Data received {"connection_id":45937,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:51:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:51:37] local.INFO: Processing buffer {"connection_id":45937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:51:37] local.INFO: IMEI packet received {"connection_id":45937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 14:51:37] local.INFO: IMEI acknowledgment sent {"connection_id":45937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:51:39] local.INFO: TCP Data received {"connection_id":45937,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:51:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45937,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:51:39] local.INFO: Processing buffer {"connection_id":45937,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:51:39] local.INFO: IMEI packet received {"connection_id":45937,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 14:51:39] local.INFO: IMEI acknowledgment sent {"connection_id":45937,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:51:50] local.INFO: TCP Data received {"connection_id":46702,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:51:50] local.INFO: Processing buffer {"connection_id":46702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:51:50] local.INFO: IMEI packet received {"connection_id":46702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":46702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:51:55] local.INFO: TCP Data received {"connection_id":46702,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46702,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:51:55] local.INFO: Processing buffer {"connection_id":46702,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:51:55] local.INFO: IMEI packet received {"connection_id":46702,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":46702,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:51:56] local.INFO: TCP Data received {"connection_id":46702,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:51:56] local.INFO: Processing buffer {"connection_id":46702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aba7c30012d7faa8005afd2f80005000030..."} 
[2026-04-17 14:51:56] local.INFO: Packet analysis {"connection_id":46702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:51:56] local.INFO: Extracted packet for processing {"connection_id":46702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aba"} 
[2026-04-17 14:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762778880001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776417406000,"timestamp_ms":1776417406000,"timestamp_seconds":1776417406,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aba7c30"} 
[2026-04-17 14:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:51:56] 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-04-17 14:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 14:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:51:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:51:56] 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-04-17 14:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762778880001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762778880001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:51:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762778880001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":46702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:51:56] local.INFO: GPS data processed {"connection_id":46702,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:51:56] local.INFO: Acknowledgment sent {"connection_id":46702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:52:25] local.INFO: TCP Data received {"connection_id":45938,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:52:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:52:25] local.INFO: Processing buffer {"connection_id":45938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:52:25] local.INFO: IMEI packet received {"connection_id":45938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:52:25] local.INFO: IMEI acknowledgment sent {"connection_id":45938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:52:27] local.INFO: TCP Data received {"connection_id":46702,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46702,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:52:27] local.INFO: Processing buffer {"connection_id":46702,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:52:27] local.INFO: Packet analysis {"connection_id":46702,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:52:27] local.INFO: Extracted packet for processing {"connection_id":46702,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762855936001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776417707000,"timestamp_ms":1776417707000,"timestamp_seconds":1776417707,"priority":1,"record_length":96,"hex_timestamp":"0000019d9abf13f8"} 
[2026-04-17 14:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:52: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-04-17 14:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46702,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46702,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:52:28] 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-04-17 14:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762855936001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762855936001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:52:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:52:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762855936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":46702,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21768,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:52:28] local.INFO: GPS data processed {"connection_id":46702,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:52:28] local.INFO: Acknowledgment sent {"connection_id":46702,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:52:56] local.INFO: TCP Data received {"connection_id":45939,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:52:56] local.INFO: Processing buffer {"connection_id":45939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:52:56] local.INFO: IMEI packet received {"connection_id":45939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:52:56] local.INFO: IMEI acknowledgment sent {"connection_id":45939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:53:01] local.INFO: TCP Data received {"connection_id":45939,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:53:01] local.INFO: Processing buffer {"connection_id":45939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:53:01] local.INFO: IMEI packet received {"connection_id":45939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:53:01] local.INFO: IMEI acknowledgment sent {"connection_id":45939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:53:02] local.INFO: TCP Data received {"connection_id":45939,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:53:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:53:02] local.INFO: Processing buffer {"connection_id":45939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:53:02] local.INFO: Packet analysis {"connection_id":45939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:53:02] local.INFO: Extracted packet for processing {"connection_id":45939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:53:02] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 14:53:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762855936001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:53:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:53:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:53:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:53:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776417707000,"timestamp_ms":1776417707000,"timestamp_seconds":1776417707,"priority":1,"record_length":96,"hex_timestamp":"0000019d9abf13f8"} 
[2026-04-17 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-04-17 14:53:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:53:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 14:53:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:53:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:53:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:53:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:53:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:53:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:53:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:53:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762855936001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:53:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:53:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:53:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762855936001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:53:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:53:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:53:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:53:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:53:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762855936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:53:02] local.INFO: DEBUG: GPS processor result {"connection_id":45939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21769,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:53:02] local.INFO: GPS data processed {"connection_id":45939,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:53:02] local.INFO: Acknowledgment sent {"connection_id":45939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:53:10] local.INFO: TCP Data received {"connection_id":45842,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45842,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:53:10] local.INFO: Processing buffer {"connection_id":45842,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:53:10] local.INFO: IMEI packet received {"connection_id":45842,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":45842,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:53:33] local.INFO: TCP Data received {"connection_id":45939,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:53:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:53:33] local.INFO: Processing buffer {"connection_id":45939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:53:33] local.INFO: Packet analysis {"connection_id":45939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:53:33] local.INFO: Extracted packet for processing {"connection_id":45939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:53:33] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:53:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762855936001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:53:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:53:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:53:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:53:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776417707000,"timestamp_ms":1776417707000,"timestamp_seconds":1776417707,"priority":1,"record_length":96,"hex_timestamp":"0000019d9abf13f8"} 
[2026-04-17 14:53:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:53: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-04-17 14:53:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:53:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:53:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:53:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:53:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:53:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:53:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:53:33] 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-04-17 14:53:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:53:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:53:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762855936001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:53:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:53:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:53:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762855936001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:53:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:53:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:53:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:53:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:53:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762855936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:53:33] local.INFO: DEBUG: GPS processor result {"connection_id":45939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:53:33] local.INFO: GPS data processed {"connection_id":45939,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:53:33] local.INFO: Acknowledgment sent {"connection_id":45939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:53:50] local.INFO: TCP Data received {"connection_id":46162,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:53:50] local.INFO: Processing buffer {"connection_id":46162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:53:50] local.INFO: IMEI packet received {"connection_id":46162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":46162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:53:55] local.INFO: TCP Data received {"connection_id":46162,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:53:55] local.INFO: Processing buffer {"connection_id":46162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:53:55] local.INFO: IMEI packet received {"connection_id":46162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":46162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:53:56] local.INFO: TCP Data received {"connection_id":46162,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:53:56] local.INFO: Processing buffer {"connection_id":46162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:53:56] local.INFO: Packet analysis {"connection_id":46162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:53:56] local.INFO: Extracted packet for processing {"connection_id":46162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762855936001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776417707000,"timestamp_ms":1776417707000,"timestamp_seconds":1776417707,"priority":1,"record_length":96,"hex_timestamp":"0000019d9abf13f8"} 
[2026-04-17 14:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:53:56] 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-04-17 14:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762855936001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762855936001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:53:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762855936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":46162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:53:56] local.INFO: GPS data processed {"connection_id":46162,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:53:56] local.INFO: Acknowledgment sent {"connection_id":46162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:54:28] local.INFO: TCP Data received {"connection_id":46162,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:54:28] local.INFO: Processing buffer {"connection_id":46162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:54:28] local.INFO: Packet analysis {"connection_id":46162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:54:28] local.INFO: Extracted packet for processing {"connection_id":46162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:54:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762855936001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:54:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776417707000,"timestamp_ms":1776417707000,"timestamp_seconds":1776417707,"priority":1,"record_length":96,"hex_timestamp":"0000019d9abf13f8"} 
[2026-04-17 14:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:54:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:54: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-04-17 14: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-04-17 14:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762855936001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762855936001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:54:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:54:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762855936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":46162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21772,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:54:28] local.INFO: GPS data processed {"connection_id":46162,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:54:28] local.INFO: Acknowledgment sent {"connection_id":46162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:54:50] local.INFO: TCP Data received {"connection_id":46703,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:54:50] local.INFO: Processing buffer {"connection_id":46703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:54:50] local.INFO: IMEI packet received {"connection_id":46703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":46703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:54:56] local.INFO: TCP Data received {"connection_id":46703,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46703,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:54:56] local.INFO: Processing buffer {"connection_id":46703,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:54:56] local.INFO: IMEI packet received {"connection_id":46703,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":46703,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:54:57] local.INFO: TCP Data received {"connection_id":46703,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:54:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:54:57] local.INFO: Processing buffer {"connection_id":46703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:54:57] local.INFO: Packet analysis {"connection_id":46703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:54:57] local.INFO: Extracted packet for processing {"connection_id":46703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:54:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:54:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762855936001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:54:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:54:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:54:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:54:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776417707000,"timestamp_ms":1776417707000,"timestamp_seconds":1776417707,"priority":1,"record_length":96,"hex_timestamp":"0000019d9abf13f8"} 
[2026-04-17 14:54:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:54:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:54:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:54:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:54:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:54:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:54:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:54:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:54:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:54:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:54:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:54:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:54:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:54:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762855936001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:54:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:54:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:54:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762855936001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:54:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:54:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:54:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:54:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:54:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762855936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:54:57] local.INFO: DEBUG: GPS processor result {"connection_id":46703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:54:57] local.INFO: GPS data processed {"connection_id":46703,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:54:57] local.INFO: Acknowledgment sent {"connection_id":46703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:55:28] local.INFO: TCP Data received {"connection_id":46703,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46703,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:55:28] local.INFO: Processing buffer {"connection_id":46703,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:55:28] local.INFO: Packet analysis {"connection_id":46703,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:55:28] local.INFO: Extracted packet for processing {"connection_id":46703,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:55:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762855936001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:55:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776417707000,"timestamp_ms":1776417707000,"timestamp_seconds":1776417707,"priority":1,"record_length":96,"hex_timestamp":"0000019d9abf13f8"} 
[2026-04-17 14:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:55:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:55:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:55: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-04-17 14: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-04-17 14:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46703,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46703,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762855936001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762855936001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:55:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:55:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762855936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":46703,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21774,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:55:28] local.INFO: GPS data processed {"connection_id":46703,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:55:28] local.INFO: Acknowledgment sent {"connection_id":46703,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:55:56] local.INFO: TCP Data received {"connection_id":45941,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:55:56] local.INFO: Processing buffer {"connection_id":45941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:55:56] local.INFO: IMEI packet received {"connection_id":45941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":45941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:56:01] local.INFO: TCP Data received {"connection_id":45941,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:56:01] local.INFO: Processing buffer {"connection_id":45941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:56:01] local.INFO: IMEI packet received {"connection_id":45941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:56:01] local.INFO: IMEI acknowledgment sent {"connection_id":45941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:56:01] local.INFO: TCP Data received {"connection_id":45941,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:56:01] local.INFO: Processing buffer {"connection_id":45941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:56:01] local.INFO: Packet analysis {"connection_id":45941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:56:01] local.INFO: Extracted packet for processing {"connection_id":45941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762855936001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776417707000,"timestamp_ms":1776417707000,"timestamp_seconds":1776417707,"priority":1,"record_length":96,"hex_timestamp":"0000019d9abf13f8"} 
[2026-04-17 14:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:56: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-04-17 14:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762855936001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762855936001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:56:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762855936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":45941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:56:01] local.INFO: GPS data processed {"connection_id":45941,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:56:01] local.INFO: Acknowledgment sent {"connection_id":45941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:56:06] local.INFO: TCP Data received {"connection_id":45941,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:56:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:56:06] local.INFO: Processing buffer {"connection_id":45941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:56:06] local.INFO: Packet analysis {"connection_id":45941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:56:06] local.INFO: Extracted packet for processing {"connection_id":45941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:56:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:56:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762855936001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:56:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:56:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:56:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:56:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776417707000,"timestamp_ms":1776417707000,"timestamp_seconds":1776417707,"priority":1,"record_length":96,"hex_timestamp":"0000019d9abf13f8"} 
[2026-04-17 14:56:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:56:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:56:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:56:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:56:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:56:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:56:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:56:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:56:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:56:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:56:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:56:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762855936001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:56:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:56:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:56:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762855936001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:56:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:56:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:56:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:56:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:56:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762855936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:56:06] local.INFO: DEBUG: GPS processor result {"connection_id":45941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21776,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:56:06] local.INFO: GPS data processed {"connection_id":45941,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:56:06] local.INFO: Acknowledgment sent {"connection_id":45941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:56:50] local.INFO: TCP Data received {"connection_id":45843,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:56:50] local.INFO: Processing buffer {"connection_id":45843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:56:50] local.INFO: IMEI packet received {"connection_id":45843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":45843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:56:56] local.INFO: TCP Data received {"connection_id":45843,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45843,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:56:56] local.INFO: Processing buffer {"connection_id":45843,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:56:56] local.INFO: IMEI packet received {"connection_id":45843,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":45843,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:56:56] local.INFO: TCP Data received {"connection_id":45943,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:56:56] local.INFO: Processing buffer {"connection_id":45943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:56:56] local.INFO: IMEI packet received {"connection_id":45943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 14:56:56] local.INFO: IMEI acknowledgment sent {"connection_id":45943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:56:57] local.INFO: TCP Data received {"connection_id":45843,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:56:57] local.INFO: Processing buffer {"connection_id":45843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9abf13f8012d7faa8005afd2f80009000030..."} 
[2026-04-17 14:56:57] local.INFO: Packet analysis {"connection_id":45843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:56:57] local.INFO: Extracted packet for processing {"connection_id":45843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9abf"} 
[2026-04-17 14:56:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762855936001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776417707000,"timestamp_ms":1776417707000,"timestamp_seconds":1776417707,"priority":1,"record_length":96,"hex_timestamp":"0000019d9abf13f8"} 
[2026-04-17 14:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762855936001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762855936001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:56:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:56:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762855936001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":45843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21777,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:56:57] local.INFO: GPS data processed {"connection_id":45843,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:56:57] local.INFO: Acknowledgment sent {"connection_id":45843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:57:01] local.INFO: TCP Data received {"connection_id":45943,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:57:01] local.INFO: Processing buffer {"connection_id":45943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:57:01] local.INFO: IMEI packet received {"connection_id":45943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 14:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":45943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:57:01] local.INFO: TCP Data received {"connection_id":45943,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45943,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:57:01] local.INFO: Processing buffer {"connection_id":45943,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 14:57:01] local.INFO: IMEI packet received {"connection_id":45943,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 14:57:01] local.INFO: IMEI acknowledgment sent {"connection_id":45943,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:57:02] local.INFO: TCP Data received {"connection_id":45943,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac2d4e8012d181e400721a8e00057001317..."} 
[2026-04-17 14:57:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac2d4e8012d181e400721a8e00057001317..."} 
[2026-04-17 14:57:02] local.INFO: Processing buffer {"connection_id":45943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac2d4e8012d181e400721a8e00057001317..."} 
[2026-04-17 14:57:02] local.INFO: Packet analysis {"connection_id":45943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac2"} 
[2026-04-17 14:57:02] local.INFO: Extracted packet for processing {"connection_id":45943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac2"} 
[2026-04-17 14:57:02] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119646432,"longitude_deg":75.6555328,"latitude_deg":11.9646432,"altitude":87,"angle":19,"satellites":23,"speed":12,"hex_longitude":"2d181e40","hex_latitude":"0721a8e0","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:57:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762995712001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:57:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113207667110969344,"note":"Value kept but may cause issues"} 
[2026-04-17 14:57:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737826536841009152,"note":"Value kept but may cause issues"} 
[2026-04-17 14:57:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:57:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776417953000,"timestamp_ms":1776417953000,"timestamp_seconds":1776417953,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac2d4e8"} 
[2026-04-17 14:57:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:57:02] 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-04-17 14: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":27,"data_length":795,"current_offset":136} 
[2026-04-17 14:57:02] 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-04-17 14: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-04-17 14:57:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:57:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:57:02] local.INFO: Teltonika packet parsed successfully {"connection_id":45943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:57:02] local.INFO: Passing IMEI to GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 14:57:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 14:57:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:57:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 14:57:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 14:57:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762995712001,"66":14374,"105":206,"83":41984,"24":12,"16":113207667110969344,"45":1737826536841009152},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 14:57:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 14:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 14:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762995712001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:57:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 14:57:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 14:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113207667110969344,"km_value":113207667110969.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737826536841009152,"description":"Unknown IO ID 45"} 
[2026-04-17 14:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762995712001,"power":14374,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737826536841009152}} 
[2026-04-17 14:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":45943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21778,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:57:02] local.INFO: GPS data processed {"connection_id":45943,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:57:02] local.INFO: Acknowledgment sent {"connection_id":45943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:57:07] local.INFO: TCP Data received {"connection_id":45943,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac2dcb8012d181fc00721ab900057002217..."} 
[2026-04-17 14:57:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac2dcb8012d181fc00721ab900057002217..."} 
[2026-04-17 14:57:07] local.INFO: Processing buffer {"connection_id":45943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac2dcb8012d181fc00721ab900057002217..."} 
[2026-04-17 14:57:07] local.INFO: Packet analysis {"connection_id":45943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac2"} 
[2026-04-17 14:57:07] local.INFO: Extracted packet for processing {"connection_id":45943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac2"} 
[2026-04-17 14:57:07] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119647120,"longitude_deg":75.6555712,"latitude_deg":11.964712,"altitude":87,"angle":34,"satellites":23,"speed":18,"hex_longitude":"2d181fc0","hex_latitude":"0721ab90","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:57:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762995968001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:57:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113207705765675008,"note":"Value kept but may cause issues"} 
[2026-04-17 14:57:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585254400,"note":"Value kept but may cause issues"} 
[2026-04-17 14:57:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:57:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776417955000,"timestamp_ms":1776417955000,"timestamp_seconds":1776417955,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac2dcb8"} 
[2026-04-17 14:57:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:57:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":9984,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 14: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":38,"data_length":795,"current_offset":136} 
[2026-04-17 14:57: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-04-17 14: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-04-17 14:57:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:57:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:57:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:57:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 14:57:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 14:57:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:57:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 14:57:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 14:57:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762995968001,"66":14276,"105":206,"83":41984,"24":18,"16":113207705765675008,"45":1737896905585254400},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 14:57:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 14:57:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 14:57:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762995968001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:57:07] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 14:57:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 14:57:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113207705765675008,"km_value":113207705765675.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:57:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585254400,"description":"Unknown IO ID 45"} 
[2026-04-17 14:57:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762995968001,"power":14276,"unknown_105":206,"unknown_83":41984,"ignition":18,"odometer":null,"unknown_45":1737896905585254400}} 
[2026-04-17 14:57:07] local.INFO: DEBUG: GPS processor result {"connection_id":45943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:57:07] local.INFO: GPS data processed {"connection_id":45943,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:57:07] local.INFO: Acknowledgment sent {"connection_id":45943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:57:28] local.INFO: TCP Data received {"connection_id":45843,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 14:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45843,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 14:57:28] local.INFO: Processing buffer {"connection_id":45843,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 14:57:28] local.INFO: Packet analysis {"connection_id":45843,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 14:57:28] local.INFO: Extracted packet for processing {"connection_id":45843,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 14:57:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762932992001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418008000,"timestamp_ms":1776418008000,"timestamp_seconds":1776418008,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac3abc0"} 
[2026-04-17 14:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:57:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:57: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-04-17 14:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45843,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45843,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762932992001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762932992001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:57:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:57:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762932992001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":45843,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:57:28] local.INFO: GPS data processed {"connection_id":45843,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:57:28] local.INFO: Acknowledgment sent {"connection_id":45843,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:57:50] local.INFO: TCP Data received {"connection_id":45943,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac453b8012d18a1c00722bfa80076016518..."} 
[2026-04-17 14:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac453b8012d18a1c00722bfa80076016518..."} 
[2026-04-17 14:57:50] local.INFO: Processing buffer {"connection_id":45943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac453b8012d18a1c00722bfa80076016518..."} 
[2026-04-17 14:57:50] local.INFO: Packet analysis {"connection_id":45943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac4"} 
[2026-04-17 14:57:50] local.INFO: Extracted packet for processing {"connection_id":45943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac4"} 
[2026-04-17 14:57:50] local.INFO: GPS Element Parsed {"raw_longitude":756588992,"raw_latitude":119717800,"longitude_deg":75.6588992,"latitude_deg":11.97178,"altitude":118,"angle":357,"satellites":24,"speed":29,"hex_longitude":"2d18a1c0","hex_latitude":"0722bfa8","is_valid_coordinates":true} 
[2026-04-17 14:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:57:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763020032001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:57:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113211609890947072,"note":"Value kept but may cause issues"} 
[2026-04-17 14:57:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775614552482002944,"note":"Value kept but may cause issues"} 
[2026-04-17 14:57:50] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:57:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776418051000,"timestamp_ms":1776418051000,"timestamp_seconds":1776418051,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac453b8"} 
[2026-04-17 14:57:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:57:50] 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-04-17 14:57:50] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-17 14:57:50] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:57:50] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:57:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:57:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:57:50] local.INFO: Teltonika packet parsed successfully {"connection_id":45943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:57:50] local.INFO: Passing IMEI to GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 14:57:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 14:57:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:57:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 14:57:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 14:57:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763020032001,"66":14004,"105":206,"83":41984,"24":29,"16":113211609890947072,"45":1775614552482002944},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 14:57:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 14:57:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 14:57:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763020032001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:57:50] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 14:57:50] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 14:57:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113211609890947072,"km_value":113211609890947.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:57:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775614552482002944,"description":"Unknown IO ID 45"} 
[2026-04-17 14:57:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763020032001,"power":14004,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1775614552482002944}} 
[2026-04-17 14:57:50] local.INFO: DEBUG: GPS processor result {"connection_id":45943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:57:50] local.INFO: GPS data processed {"connection_id":45943,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:57:50] local.INFO: Acknowledgment sent {"connection_id":45943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:57:50] local.INFO: TCP Data received {"connection_id":46165,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:57:50] local.INFO: Processing buffer {"connection_id":46165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:57:50] local.INFO: IMEI packet received {"connection_id":46165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":46165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:57:56] local.INFO: TCP Data received {"connection_id":46165,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46165,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:57:56] local.INFO: Processing buffer {"connection_id":46165,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:57:56] local.INFO: IMEI packet received {"connection_id":46165,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":46165,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:57:57] local.INFO: TCP Data received {"connection_id":46165,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 14:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 14:57:57] local.INFO: Processing buffer {"connection_id":46165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 14:57:57] local.INFO: Packet analysis {"connection_id":46165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 14:57:57] local.INFO: Extracted packet for processing {"connection_id":46165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 14:57:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762932992001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776418008000,"timestamp_ms":1776418008000,"timestamp_seconds":1776418008,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac3abc0"} 
[2026-04-17 14:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:57:57] 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-04-17 14:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762932992001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762932992001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:57:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:57:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762932992001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":46165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21782,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:57:57] local.INFO: GPS data processed {"connection_id":46165,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:57:57] local.INFO: Acknowledgment sent {"connection_id":46165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:58:21] local.INFO: TCP Data received {"connection_id":45943,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac4d0b8012d18fc400722fd700066003519..."} 
[2026-04-17 14:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac4d0b8012d18fc400722fd700066003519..."} 
[2026-04-17 14:58:21] local.INFO: Processing buffer {"connection_id":45943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac4d0b8012d18fc400722fd700066003519..."} 
[2026-04-17 14:58:21] local.INFO: Packet analysis {"connection_id":45943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac4"} 
[2026-04-17 14:58:21] local.INFO: Extracted packet for processing {"connection_id":45943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac4"} 
[2026-04-17 14:58:21] local.INFO: GPS Element Parsed {"raw_longitude":756612160,"raw_latitude":119733616,"longitude_deg":75.661216,"latitude_deg":11.9733616,"altitude":102,"angle":53,"satellites":25,"speed":44,"hex_longitude":"2d18fc40","hex_latitude":"0722fd70","is_valid_coordinates":true} 
[2026-04-17 14:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:58:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763028992001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:58:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113213332172832768,"note":"Value kept but may cause issues"} 
[2026-04-17 14:58:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799399188018669568,"note":"Value kept but may cause issues"} 
[2026-04-17 14:58:21] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:58:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776418083000,"timestamp_ms":1776418083000,"timestamp_seconds":1776418083,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac4d0b8"} 
[2026-04-17 14:58:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:58: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-04-17 14:58:21] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 14:58:21] 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-04-17 14:58:21] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:58:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:58:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:58:21] local.INFO: Teltonika packet parsed successfully {"connection_id":45943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:58:21] local.INFO: Passing IMEI to GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 14:58:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 14:58:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:58:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 14:58:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 14:58:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763028992001,"66":14048,"177":206,"83":42752,"24":44,"16":113213332172832768,"45":1799399188018669568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-17 14:58:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 14:58:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 14:58:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763028992001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:58:21] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-17 14:58:21] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 14:58:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113213332172832768,"km_value":113213332172832.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:58:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799399188018669568,"description":"Unknown IO ID 45"} 
[2026-04-17 14:58:21] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763028992001,"power":14048,"unknown_177":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1799399188018669568}} 
[2026-04-17 14:58:21] local.INFO: DEBUG: GPS processor result {"connection_id":45943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21783,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:58:21] local.INFO: GPS data processed {"connection_id":45943,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:58:21] local.INFO: Acknowledgment sent {"connection_id":45943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:58:28] local.INFO: TCP Data received {"connection_id":46165,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 14:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46165,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 14:58:28] local.INFO: Processing buffer {"connection_id":46165,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 14:58:28] local.INFO: Packet analysis {"connection_id":46165,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 14:58:28] local.INFO: Extracted packet for processing {"connection_id":46165,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 14:58:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762932992001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418008000,"timestamp_ms":1776418008000,"timestamp_seconds":1776418008,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac3abc0"} 
[2026-04-17 14:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:58:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14:58:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:58: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-04-17 14: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-04-17 14:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46165,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46165,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:58:28] 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-04-17 14:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762932992001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762932992001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:58:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:58:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762932992001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":46165,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21784,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:58:28] local.INFO: GPS data processed {"connection_id":46165,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:58:28] local.INFO: Acknowledgment sent {"connection_id":46165,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:58:29] local.INFO: TCP Data received {"connection_id":45944,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:58:29] local.INFO: Processing buffer {"connection_id":45944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:58:29] local.INFO: IMEI packet received {"connection_id":45944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":45944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:58:50] local.INFO: TCP Data received {"connection_id":45844,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:58:50] local.INFO: Processing buffer {"connection_id":45844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:58:50] local.INFO: IMEI packet received {"connection_id":45844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":45844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:58:55] local.INFO: TCP Data received {"connection_id":45844,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:58:55] local.INFO: Processing buffer {"connection_id":45844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:58:55] local.INFO: IMEI packet received {"connection_id":45844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":45844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:58:56] local.INFO: TCP Data received {"connection_id":45844,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 14:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 14:58:56] local.INFO: Processing buffer {"connection_id":45844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 14:58:56] local.INFO: Packet analysis {"connection_id":45844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 14:58:56] local.INFO: Extracted packet for processing {"connection_id":45844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 14:58:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762932992001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776418008000,"timestamp_ms":1776418008000,"timestamp_seconds":1776418008,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac3abc0"} 
[2026-04-17 14:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:58:56] 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-04-17 14:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762932992001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762932992001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:58:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:58:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762932992001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":45844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:58:56] local.INFO: GPS data processed {"connection_id":45844,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:58:56] local.INFO: Acknowledgment sent {"connection_id":45844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:58:59] local.INFO: TCP Data received {"connection_id":45943,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac4d888012d190280072304680064002418..."} 
[2026-04-17 14:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac4d888012d190280072304680064002418..."} 
[2026-04-17 14:58:59] local.INFO: Processing buffer {"connection_id":45943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac4d888012d190280072304680064002418..."} 
[2026-04-17 14:58:59] local.INFO: Packet analysis {"connection_id":45943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac4"} 
[2026-04-17 14:58:59] local.INFO: Extracted packet for processing {"connection_id":45943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac4"} 
[2026-04-17 14:58:59] local.INFO: GPS Element Parsed {"raw_longitude":756613760,"raw_latitude":119735400,"longitude_deg":75.661376,"latitude_deg":11.97354,"altitude":100,"angle":36,"satellites":24,"speed":45,"hex_longitude":"2d190280","hex_latitude":"07230468","is_valid_coordinates":true} 
[2026-04-17 14:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763029248001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113213448136949760,"note":"Value kept but may cause issues"} 
[2026-04-17 14:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1800384350437339136,"note":"Value kept but may cause issues"} 
[2026-04-17 14:58:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776418085000,"timestamp_ms":1776418085000,"timestamp_seconds":1776418085,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac4d888"} 
[2026-04-17 14:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":10496,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 14:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 14:58:59] 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-04-17 14:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 14:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 14:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 14:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 14:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 14:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763029248001,"66":13102,"177":206,"83":42752,"24":45,"16":113213448136949760,"45":1800384350437339136},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-17 14:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 14:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 14:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763029248001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:58:59] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-17 14:58:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 14:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113213448136949760,"km_value":113213448136949.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1800384350437339136,"description":"Unknown IO ID 45"} 
[2026-04-17 14:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763029248001,"power":13102,"unknown_177":206,"unknown_83":42752,"ignition":45,"odometer":null,"unknown_45":1800384350437339136}} 
[2026-04-17 14:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":45943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:58:59] local.INFO: GPS data processed {"connection_id":45943,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:58:59] local.INFO: Acknowledgment sent {"connection_id":45943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:59:09] local.INFO: TCP Data received {"connection_id":46704,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46704,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:59:09] local.INFO: Processing buffer {"connection_id":46704,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 14:59:09] local.INFO: IMEI packet received {"connection_id":46704,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 14:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":46704,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:59:28] local.INFO: TCP Data received {"connection_id":45844,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 14:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 14:59:28] local.INFO: Processing buffer {"connection_id":45844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 14:59:28] local.INFO: Packet analysis {"connection_id":45844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 14:59:28] local.INFO: Extracted packet for processing {"connection_id":45844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 14:59:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 14:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762932992001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418008000,"timestamp_ms":1776418008000,"timestamp_seconds":1776418008,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac3abc0"} 
[2026-04-17 14:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 14: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:59: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-04-17 14: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-04-17 14:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762932992001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762932992001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:59:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:59:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762932992001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":45844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:59:28] local.INFO: GPS data processed {"connection_id":45844,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:59:28] local.INFO: Acknowledgment sent {"connection_id":45844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:59:30] local.INFO: TCP Data received {"connection_id":45943,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac5da58012d1a38c00723c3b00038002919..."} 
[2026-04-17 14:59:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac5da58012d1a38c00723c3b00038002919..."} 
[2026-04-17 14:59:30] local.INFO: Processing buffer {"connection_id":45943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac5da58012d1a38c00723c3b00038002919..."} 
[2026-04-17 14:59:30] local.INFO: Packet analysis {"connection_id":45943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac5"} 
[2026-04-17 14:59:30] local.INFO: Extracted packet for processing {"connection_id":45943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac5"} 
[2026-04-17 14:59:30] local.INFO: GPS Element Parsed {"raw_longitude":756693184,"raw_latitude":119784368,"longitude_deg":75.6693184,"latitude_deg":11.9784368,"altitude":56,"angle":41,"satellites":25,"speed":54,"hex_longitude":"2d1a38c0","hex_latitude":"0723c3b0","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:59:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763045888001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:59:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113218206960713728,"note":"Value kept but may cause issues"} 
[2026-04-17 14:59:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885952743369646080,"note":"Value kept but may cause issues"} 
[2026-04-17 14:59:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,177,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:59:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776418151000,"timestamp_ms":1776418151000,"timestamp_seconds":1776418151,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac5da58"} 
[2026-04-17 14:59:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:59:30] 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-04-17 14: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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-17 14:59:30] 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-04-17 14: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-04-17 14:59:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:59:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:59:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:59:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 14:59:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 14:59:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 14:59:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 14:59:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 14:59:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763045888001,"66":13928,"177":206,"83":42752,"24":54,"16":113218206960713728,"45":1885952743369646080},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,177,83,24,16,45]} 
[2026-04-17 14:59:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 14:59:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 14:59:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763045888001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:59:30] local.INFO: Unknown IO ID detected {"io_id":177,"value":206,"description":"Unknown IO ID 177"} 
[2026-04-17 14:59:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 14:59:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113218206960713728,"km_value":113218206960713.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:59:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885952743369646080,"description":"Unknown IO ID 45"} 
[2026-04-17 14:59:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763045888001,"power":13928,"unknown_177":206,"unknown_83":42752,"ignition":54,"odometer":null,"unknown_45":1885952743369646080}} 
[2026-04-17 14:59:30] local.INFO: DEBUG: GPS processor result {"connection_id":45943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:59:30] local.INFO: GPS data processed {"connection_id":45943,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:59:30] local.INFO: Acknowledgment sent {"connection_id":45943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 14:59:50] local.INFO: TCP Data received {"connection_id":46166,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:59:50] local.INFO: Processing buffer {"connection_id":46166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:59:50] local.INFO: IMEI packet received {"connection_id":46166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 14:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":46166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 14:59:55] local.INFO: TCP Data received {"connection_id":46166,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46166,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:59:55] local.INFO: Processing buffer {"connection_id":46166,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 14:59:55] local.INFO: IMEI packet received {"connection_id":46166,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 14:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":46166,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 14:59:56] local.INFO: TCP Data received {"connection_id":46166,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 14:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 14:59:56] local.INFO: Processing buffer {"connection_id":46166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 14:59:56] local.INFO: Packet analysis {"connection_id":46166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 14:59:56] local.INFO: Extracted packet for processing {"connection_id":46166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 14:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 14: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-04-17 14:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762932992001,"note":"Value kept but may cause issues"} 
[2026-04-17 14:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 14:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 14:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 14:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776418008000,"timestamp_ms":1776418008000,"timestamp_seconds":1776418008,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac3abc0"} 
[2026-04-17 14:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 14:59:56] 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-04-17 14:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 14:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 14: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-04-17 14:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 14:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 14:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 14:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 14:59:56] 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-04-17 14:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 14:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 14:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762932992001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 14:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 14:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 14:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762932992001,"description":"Unknown IO ID 0"} 
[2026-04-17 14:59:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 14:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 14:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 14:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 14:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762932992001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 14:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":46166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 14:59:56] local.INFO: GPS data processed {"connection_id":46166,"processed":1,"errors":0,"total":1} 
[2026-04-17 14:59:56] local.INFO: Acknowledgment sent {"connection_id":46166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:00:01] local.INFO: TCP Data received {"connection_id":45943,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac5ede0012d1a47000723d7e80038001e19..."} 
[2026-04-17 15:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac5ede0012d1a47000723d7e80038001e19..."} 
[2026-04-17 15:00:01] local.INFO: Processing buffer {"connection_id":45943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac5ede0012d1a47000723d7e80038001e19..."} 
[2026-04-17 15:00:01] local.INFO: Packet analysis {"connection_id":45943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac5"} 
[2026-04-17 15:00:01] local.INFO: Extracted packet for processing {"connection_id":45943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac5"} 
[2026-04-17 15:00:01] local.INFO: GPS Element Parsed {"raw_longitude":756696832,"raw_latitude":119789544,"longitude_deg":75.6696832,"latitude_deg":11.9789544,"altitude":56,"angle":30,"satellites":25,"speed":46,"hex_longitude":"2d1a4700","hex_latitude":"0723d7e8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763046656001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113218511903391744,"note":"Value kept but may cause issues"} 
[2026-04-17 15:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1889471180579254272,"note":"Value kept but may cause issues"} 
[2026-04-17 15:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776418156000,"timestamp_ms":1776418156000,"timestamp_seconds":1776418156,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac5ede0"} 
[2026-04-17 15:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:00:01] 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-04-17 15: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-17 15:00:01] 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-04-17 15: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-04-17 15:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763046656001,"66":14461,"42":206,"83":42752,"24":46,"16":113218511903391744,"45":1889471180579254272},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-17 15:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763046656001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:00:01] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-17 15:00:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113218511903391744,"km_value":113218511903391.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1889471180579254272,"description":"Unknown IO ID 45"} 
[2026-04-17 15:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763046656001,"power":14461,"unknown_42":206,"unknown_83":42752,"ignition":46,"odometer":null,"unknown_45":1889471180579254272}} 
[2026-04-17 15:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":45943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:00:01] local.INFO: GPS data processed {"connection_id":45943,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:00:01] local.INFO: Acknowledgment sent {"connection_id":45943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:00:28] local.INFO: TCP Data received {"connection_id":46166,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 15:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 15:00:28] local.INFO: Processing buffer {"connection_id":46166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 15:00:28] local.INFO: Packet analysis {"connection_id":46166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 15:00:28] local.INFO: Extracted packet for processing {"connection_id":46166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 15:00:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762932992001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418008000,"timestamp_ms":1776418008000,"timestamp_seconds":1776418008,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac3abc0"} 
[2026-04-17 15:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:00: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-04-17 15:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46166,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762932992001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762932992001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:00:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:00:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762932992001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":46166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:00:28] local.INFO: GPS data processed {"connection_id":46166,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:00:28] local.INFO: Acknowledgment sent {"connection_id":46166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:00:34] local.INFO: TCP Data received {"connection_id":45943,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac60d20012d1a5a800723f5d80035002419..."} 
[2026-04-17 15:00:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45943,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac60d20012d1a5a800723f5d80035002419..."} 
[2026-04-17 15:00:34] local.INFO: Processing buffer {"connection_id":45943,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac60d20012d1a5a800723f5d80035002419..."} 
[2026-04-17 15:00:34] local.INFO: Packet analysis {"connection_id":45943,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac6"} 
[2026-04-17 15:00:34] local.INFO: Extracted packet for processing {"connection_id":45943,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac6"} 
[2026-04-17 15:00:34] local.INFO: GPS Element Parsed {"raw_longitude":756701824,"raw_latitude":119797208,"longitude_deg":75.6701824,"latitude_deg":11.9797208,"altitude":53,"angle":36,"satellites":25,"speed":44,"hex_longitude":"2d1a5a80","hex_latitude":"0723f5d8","is_valid_coordinates":true} 
[2026-04-17 15:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:00:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763047936001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:00:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113218949990055936,"note":"Value kept but may cause issues"} 
[2026-04-17 15:00:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1893482198998706176,"note":"Value kept but may cause issues"} 
[2026-04-17 15:00:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:00:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776418164000,"timestamp_ms":1776418164000,"timestamp_seconds":1776418164,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac60d20"} 
[2026-04-17 15:00:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:00:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11008,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:00:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 15:00:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:00:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:00:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:00:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:00:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45943,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:00:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:00:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45943,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:00:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:00:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:00:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:00:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763047936001,"66":14483,"42":206,"83":42752,"24":44,"16":113218949990055936,"45":1893482198998706176},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-17 15:00:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:00:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:00:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763047936001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:00:34] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-17 15:00:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:00:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113218949990055936,"km_value":113218949990055.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:00:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1893482198998706176,"description":"Unknown IO ID 45"} 
[2026-04-17 15:00:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763047936001,"power":14483,"unknown_42":206,"unknown_83":42752,"ignition":44,"odometer":null,"unknown_45":1893482198998706176}} 
[2026-04-17 15:00:34] local.INFO: DEBUG: GPS processor result {"connection_id":45943,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21792,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:00:34] local.INFO: GPS data processed {"connection_id":45943,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:00:34] local.INFO: Acknowledgment sent {"connection_id":45943,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:00:55] local.INFO: TCP Data received {"connection_id":46705,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:00:55] local.INFO: Processing buffer {"connection_id":46705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:00:55] local.INFO: IMEI packet received {"connection_id":46705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":46705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:01:01] local.INFO: TCP Data received {"connection_id":46705,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46705,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:01:01] local.INFO: Processing buffer {"connection_id":46705,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:01:01] local.INFO: IMEI packet received {"connection_id":46705,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":46705,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:01:02] local.INFO: TCP Data received {"connection_id":46705,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 15:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 15:01:02] local.INFO: Processing buffer {"connection_id":46705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 15:01:02] local.INFO: Packet analysis {"connection_id":46705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 15:01:02] local.INFO: Extracted packet for processing {"connection_id":46705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 15:01:02] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:01:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762932992001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:01:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:01:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:01:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:01:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776418008000,"timestamp_ms":1776418008000,"timestamp_seconds":1776418008,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac3abc0"} 
[2026-04-17 15:01:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:01:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:01:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:01:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:01:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:01:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:01:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:01:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:01:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:01:02] 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-04-17 15:01:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:01:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:01:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762932992001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:01:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:01:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:01:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762932992001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:01:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:01:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:01:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:01:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:01:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762932992001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:01:02] local.INFO: DEBUG: GPS processor result {"connection_id":46705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:01:02] local.INFO: GPS data processed {"connection_id":46705,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:01:02] local.INFO: Acknowledgment sent {"connection_id":46705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:01:06] local.INFO: TCP Data received {"connection_id":46705,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 15:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46705,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 15:01:06] local.INFO: Processing buffer {"connection_id":46705,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 15:01:06] local.INFO: Packet analysis {"connection_id":46705,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 15:01:06] local.INFO: Extracted packet for processing {"connection_id":46705,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 15:01:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762932992001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776418008000,"timestamp_ms":1776418008000,"timestamp_seconds":1776418008,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac3abc0"} 
[2026-04-17 15:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:01:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:01:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46705,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46705,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:01:06] 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-04-17 15:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762932992001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762932992001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:01:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:01:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762932992001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":46705,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:01:06] local.INFO: GPS data processed {"connection_id":46705,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:01:06] local.INFO: Acknowledgment sent {"connection_id":46705,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:01:26] local.INFO: TCP Data received {"connection_id":45846,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:01:26] local.INFO: Processing buffer {"connection_id":45846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:01:26] local.INFO: IMEI packet received {"connection_id":45846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":45846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:01:27] local.INFO: TCP Data received {"connection_id":45846,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:01:27] local.INFO: Processing buffer {"connection_id":45846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:01:27] local.INFO: IMEI packet received {"connection_id":45846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:01:27] local.INFO: IMEI acknowledgment sent {"connection_id":45846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:01:32] local.INFO: TCP Data received {"connection_id":45846,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:01:32] local.INFO: Processing buffer {"connection_id":45846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:01:32] local.INFO: IMEI packet received {"connection_id":45846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:01:32] local.INFO: IMEI acknowledgment sent {"connection_id":45846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:01:34] local.INFO: TCP Data received {"connection_id":45846,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac77480012d1b3f000724a908002800431a..."} 
[2026-04-17 15:01:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac77480012d1b3f000724a908002800431a..."} 
[2026-04-17 15:01:34] local.INFO: Processing buffer {"connection_id":45846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac77480012d1b3f000724a908002800431a..."} 
[2026-04-17 15:01:34] local.INFO: Packet analysis {"connection_id":45846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac7"} 
[2026-04-17 15:01:34] local.INFO: Extracted packet for processing {"connection_id":45846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac7"} 
[2026-04-17 15:01:34] local.INFO: GPS Element Parsed {"raw_longitude":756760320,"raw_latitude":119843080,"longitude_deg":75.676032,"latitude_deg":11.984308,"altitude":40,"angle":67,"satellites":26,"speed":18,"hex_longitude":"2d1b3f00","hex_latitude":"0724a908","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:01:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763068928001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:01:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113222592122322944,"note":"Value kept but may cause issues"} 
[2026-04-17 15:01:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1956602962538788864,"note":"Value kept but may cause issues"} 
[2026-04-17 15:01:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:01:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776418256000,"timestamp_ms":1776418256000,"timestamp_seconds":1776418256,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac77480"} 
[2026-04-17 15:01:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:01:34] 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-04-17 15:01:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-17 15:01:34] 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-04-17 15: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-04-17 15:01:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:01:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:01:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:01:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:01:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:01:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:01:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:01:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:01:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763068928001,"66":14374,"136":206,"83":42752,"24":18,"16":113222592122322944,"45":1956602962538788864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-04-17 15:01:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:01:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:01:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763068928001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:01:34] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-04-17 15:01:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:01:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113222592122322944,"km_value":113222592122322.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:01:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1956602962538788864,"description":"Unknown IO ID 45"} 
[2026-04-17 15:01:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763068928001,"power":14374,"unknown_136":206,"unknown_83":42752,"ignition":18,"odometer":null,"unknown_45":1956602962538788864}} 
[2026-04-17 15:01:34] local.INFO: DEBUG: GPS processor result {"connection_id":45846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21795,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:01:34] local.INFO: GPS data processed {"connection_id":45846,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:01:34] local.INFO: Acknowledgment sent {"connection_id":45846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:01:36] local.INFO: TCP Data received {"connection_id":45846,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac77c50012d1b42400724ab00002900331a..."} 
[2026-04-17 15:01:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45846,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac77c50012d1b42400724ab00002900331a..."} 
[2026-04-17 15:01:36] local.INFO: Processing buffer {"connection_id":45846,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac77c50012d1b42400724ab00002900331a..."} 
[2026-04-17 15:01:36] local.INFO: Packet analysis {"connection_id":45846,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac7"} 
[2026-04-17 15:01:36] local.INFO: Extracted packet for processing {"connection_id":45846,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac7"} 
[2026-04-17 15:01:36] local.INFO: GPS Element Parsed {"raw_longitude":756761152,"raw_latitude":119843584,"longitude_deg":75.6761152,"latitude_deg":11.9843584,"altitude":41,"angle":51,"satellites":26,"speed":20,"hex_longitude":"2d1b4240","hex_latitude":"0724ab00","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:01:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763073536001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:01:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113222639366963200,"note":"Value kept but may cause issues"} 
[2026-04-17 15:01:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1963287993236654080,"note":"Value kept but may cause issues"} 
[2026-04-17 15:01:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:01:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776418258000,"timestamp_ms":1776418258000,"timestamp_seconds":1776418258,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac77c50"} 
[2026-04-17 15:01:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:01:36] 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-04-17 15: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 15:01:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:01:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:01:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:01:36] local.INFO: Teltonika packet parsed successfully {"connection_id":45846,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:01:36] local.INFO: Passing IMEI to GPS processor {"connection_id":45846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:01:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":45846,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:01:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:01:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:01:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:01:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763073536001,"66":14428,"136":206,"83":42752,"24":20,"16":113222639366963200,"45":1963287993236654080},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-04-17 15:01:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:01:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:01:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763073536001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:01:36] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-04-17 15:01:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:01:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113222639366963200,"km_value":113222639366963.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:01:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1963287993236654080,"description":"Unknown IO ID 45"} 
[2026-04-17 15:01:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763073536001,"power":14428,"unknown_136":206,"unknown_83":42752,"ignition":20,"odometer":null,"unknown_45":1963287993236654080}} 
[2026-04-17 15:01:36] local.INFO: DEBUG: GPS processor result {"connection_id":45846,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21796,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:01:36] local.INFO: GPS data processed {"connection_id":45846,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:01:36] local.INFO: Acknowledgment sent {"connection_id":45846,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:01:50] local.INFO: TCP Data received {"connection_id":45847,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:01:50] local.INFO: Processing buffer {"connection_id":45847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:01:50] local.INFO: IMEI packet received {"connection_id":45847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":45847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:01:56] local.INFO: TCP Data received {"connection_id":45847,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:01:56] local.INFO: Processing buffer {"connection_id":45847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:01:56] local.INFO: IMEI packet received {"connection_id":45847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:01:56] local.INFO: IMEI acknowledgment sent {"connection_id":45847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:01:57] local.INFO: TCP Data received {"connection_id":45847,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 15:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 15:01:57] local.INFO: Processing buffer {"connection_id":45847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 15:01:57] local.INFO: Packet analysis {"connection_id":45847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 15:01:57] local.INFO: Extracted packet for processing {"connection_id":45847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 15:01:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762932992001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776418008000,"timestamp_ms":1776418008000,"timestamp_seconds":1776418008,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac3abc0"} 
[2026-04-17 15:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:01:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:01:57] 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-04-17 15:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762932992001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762932992001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:01:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:01:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762932992001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":45847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:01:57] local.INFO: GPS data processed {"connection_id":45847,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:01:57] local.INFO: Acknowledgment sent {"connection_id":45847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:02:21] local.INFO: TCP Data received {"connection_id":46167,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:02:21] local.INFO: Processing buffer {"connection_id":46167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:02:21] local.INFO: IMEI packet received {"connection_id":46167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":46167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:02:26] local.INFO: TCP Data received {"connection_id":46167,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:02:26] local.INFO: Processing buffer {"connection_id":46167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:02:26] local.INFO: IMEI packet received {"connection_id":46167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":46167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:02:27] local.INFO: TCP Data received {"connection_id":46167,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac793c0012d1b4ec00724b6880029002819..."} 
[2026-04-17 15:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac793c0012d1b4ec00724b6880029002819..."} 
[2026-04-17 15:02:27] local.INFO: Processing buffer {"connection_id":46167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac793c0012d1b4ec00724b6880029002819..."} 
[2026-04-17 15:02:27] local.INFO: Packet analysis {"connection_id":46167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac7"} 
[2026-04-17 15:02:27] local.INFO: Extracted packet for processing {"connection_id":46167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac7"} 
[2026-04-17 15:02:27] local.INFO: GPS Element Parsed {"raw_longitude":756764352,"raw_latitude":119846536,"longitude_deg":75.6764352,"latitude_deg":11.9846536,"altitude":41,"angle":40,"satellites":25,"speed":34,"hex_longitude":"2d1b4ec0","hex_latitude":"0724b688","is_valid_coordinates":true} 
[2026-04-17 15:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763074048001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113222849820360704,"note":"Value kept but may cause issues"} 
[2026-04-17 15:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964202786911092736,"note":"Value kept but may cause issues"} 
[2026-04-17 15:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,136,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776418264000,"timestamp_ms":1776418264000,"timestamp_seconds":1776418264,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac793c0"} 
[2026-04-17 15:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:02:27] 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-04-17 15:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 15:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763074048001,"66":14396,"136":206,"83":42752,"24":34,"16":113222849820360704,"45":1964202786911092736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,136,83,24,16,45]} 
[2026-04-17 15:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763074048001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:02:27] local.INFO: Unknown IO ID detected {"io_id":136,"value":206,"description":"Unknown IO ID 136"} 
[2026-04-17 15:02:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113222849820360704,"km_value":113222849820360.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964202786911092736,"description":"Unknown IO ID 45"} 
[2026-04-17 15:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763074048001,"power":14396,"unknown_136":206,"unknown_83":42752,"ignition":34,"odometer":null,"unknown_45":1964202786911092736}} 
[2026-04-17 15:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":46167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21798,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:02:27] local.INFO: GPS data processed {"connection_id":46167,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:02:27] local.INFO: Acknowledgment sent {"connection_id":46167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:02:28] local.INFO: TCP Data received {"connection_id":45847,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 15:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 15:02:28] local.INFO: Processing buffer {"connection_id":45847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac3abc0012d7faa8005afd2f80008000032..."} 
[2026-04-17 15:02:28] local.INFO: Packet analysis {"connection_id":45847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 15:02:28] local.INFO: Extracted packet for processing {"connection_id":45847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac3"} 
[2026-04-17 15:02:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":50,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454762932992001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418008000,"timestamp_ms":1776418008000,"timestamp_seconds":1776418008,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac3abc0"} 
[2026-04-17 15:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:02:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:02: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-04-17 15: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-04-17 15:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454762932992001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454762932992001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:02:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:02:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454762932992001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":45847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:02:28] local.INFO: GPS data processed {"connection_id":45847,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:02:28] local.INFO: Acknowledgment sent {"connection_id":45847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:02:50] local.INFO: TCP Data received {"connection_id":45946,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:02:50] local.INFO: Processing buffer {"connection_id":45946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:02:50] local.INFO: IMEI packet received {"connection_id":45946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":45946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:02:55] local.INFO: TCP Data received {"connection_id":45946,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45946,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:02:55] local.INFO: Processing buffer {"connection_id":45946,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:02:55] local.INFO: IMEI packet received {"connection_id":45946,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":45946,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:02:56] local.INFO: TCP Data received {"connection_id":45946,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:02:56] local.INFO: Processing buffer {"connection_id":45946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:02:56] local.INFO: Packet analysis {"connection_id":45946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:02:56] local.INFO: Extracted packet for processing {"connection_id":45946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:02:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763010048001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776418309000,"timestamp_ms":1776418309000,"timestamp_seconds":1776418309,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac84388"} 
[2026-04-17 15:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763010048001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763010048001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:02:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:02:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763010048001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":45946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:02:56] local.INFO: GPS data processed {"connection_id":45946,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:02:56] local.INFO: Acknowledgment sent {"connection_id":45946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:02:58] local.INFO: TCP Data received {"connection_id":46167,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac8e798012d1b5d8007256b48002e013b1b..."} 
[2026-04-17 15:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac8e798012d1b5d8007256b48002e013b1b..."} 
[2026-04-17 15:02:58] local.INFO: Processing buffer {"connection_id":46167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac8e798012d1b5d8007256b48002e013b1b..."} 
[2026-04-17 15:02:58] local.INFO: Packet analysis {"connection_id":46167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:02:58] local.INFO: Extracted packet for processing {"connection_id":46167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:02:58] local.INFO: GPS Element Parsed {"raw_longitude":756768128,"raw_latitude":119892808,"longitude_deg":75.6768128,"latitude_deg":11.9892808,"altitude":46,"angle":315,"satellites":27,"speed":24,"hex_longitude":"2d1b5d80","hex_latitude":"07256b48","is_valid_coordinates":true} 
[2026-04-17 15:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763096832001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113225164807733248,"note":"Value kept but may cause issues"} 
[2026-04-17 15:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973280354922178560,"note":"Value kept but may cause issues"} 
[2026-04-17 15:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776418351000,"timestamp_ms":1776418351000,"timestamp_seconds":1776418351,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac8e798"} 
[2026-04-17 15:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:02:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":11776,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-04-17 15:02:58] 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-04-17 15: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-04-17 15:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763096832001,"66":14080,"216":206,"83":42752,"24":24,"16":113225164807733248,"45":1973280354922178560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-04-17 15:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763096832001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:02:58] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 15:02:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113225164807733248,"km_value":113225164807733.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973280354922178560,"description":"Unknown IO ID 45"} 
[2026-04-17 15:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763096832001,"power":14080,"unknown_216":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1973280354922178560}} 
[2026-04-17 15:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":46167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21801,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:02:58] local.INFO: GPS data processed {"connection_id":46167,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:02:58] local.INFO: Acknowledgment sent {"connection_id":46167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:03:22] local.INFO: TCP Data received {"connection_id":45850,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:03:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:03:22] local.INFO: Processing buffer {"connection_id":45850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:03:22] local.INFO: IMEI packet received {"connection_id":45850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:03:22] local.INFO: IMEI acknowledgment sent {"connection_id":45850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:03:27] local.INFO: TCP Data received {"connection_id":45850,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45850,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:03:27] local.INFO: Processing buffer {"connection_id":45850,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:03:27] local.INFO: IMEI packet received {"connection_id":45850,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":45850,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:03:28] local.INFO: TCP Data received {"connection_id":45850,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac90ea8012d1b4940072582000031014b1b..."} 
[2026-04-17 15:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac90ea8012d1b4940072582000031014b1b..."} 
[2026-04-17 15:03:28] local.INFO: Processing buffer {"connection_id":45850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac90ea8012d1b4940072582000031014b1b..."} 
[2026-04-17 15:03:28] local.INFO: Packet analysis {"connection_id":45850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac9"} 
[2026-04-17 15:03:28] local.INFO: Extracted packet for processing {"connection_id":45850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac9"} 
[2026-04-17 15:03:28] local.INFO: GPS Element Parsed {"raw_longitude":756762944,"raw_latitude":119898624,"longitude_deg":75.6762944,"latitude_deg":11.9898624,"altitude":49,"angle":331,"satellites":27,"speed":35,"hex_longitude":"2d1b4940","hex_latitude":"07258200","is_valid_coordinates":true} 
[2026-04-17 15:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763097856001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113225538469888000,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971872980039059456,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,216,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418361000,"timestamp_ms":1776418361000,"timestamp_seconds":1776418361,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac90ea8"} 
[2026-04-17 15:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:03:28] 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-04-17 15:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-17 15:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3445327872,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2596800752,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:28] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3360892929,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":724304078,"corrected_to":0} 
[2026-04-17 15:03:28] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,216,83,24,241,157,16,65,215,45,128,100,27,10,66,204,64,96,133,192,1,240,252,227,154,37,4,113,205,26,32,89,239,56,136,2,146,7,41,20],"length":479,"final_offset":609,"validated_count":40,"validation_warnings":[{"io_id":205,"original":724304078,"validated":0}]} 
[2026-04-17 15:03:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314995787873124352,"timestamp_seconds":3314995787873124.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 15:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763097856001,"66":14352,"216":206,"83":42752,"24":35,"16":113225538469888000,"45":1971872980039059456},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,216,83,24,16,45]} 
[2026-04-17 15:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763097856001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:03:28] local.INFO: Unknown IO ID detected {"io_id":216,"value":206,"description":"Unknown IO ID 216"} 
[2026-04-17 15:03:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113225538469888000,"km_value":113225538469888,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971872980039059456,"description":"Unknown IO ID 45"} 
[2026-04-17 15:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763097856001,"power":14352,"unknown_216":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1971872980039059456}} 
[2026-04-17 15:03:28] local.INFO: TCP Data received {"connection_id":45946,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:03:28] local.INFO: Processing buffer {"connection_id":45946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:03:28] local.INFO: Packet analysis {"connection_id":45946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:03:28] local.INFO: Extracted packet for processing {"connection_id":45946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:03:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763010048001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418309000,"timestamp_ms":1776418309000,"timestamp_seconds":1776418309,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac84388"} 
[2026-04-17 15:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:03: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-04-17 15:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45946,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763010048001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763010048001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:03:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:03:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763010048001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":45946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:03:28] local.INFO: GPS data processed {"connection_id":45946,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:03:28] local.INFO: Acknowledgment sent {"connection_id":45946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":45850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:03:28] local.INFO: GPS data processed {"connection_id":45850,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:03:28] local.INFO: Acknowledgment sent {"connection_id":45850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:03:50] local.INFO: TCP Data received {"connection_id":45947,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:03:50] local.INFO: Processing buffer {"connection_id":45947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:03:50] local.INFO: IMEI packet received {"connection_id":45947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":45947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:03:55] local.INFO: TCP Data received {"connection_id":45947,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45947,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:03:55] local.INFO: Processing buffer {"connection_id":45947,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:03:55] local.INFO: IMEI packet received {"connection_id":45947,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":45947,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:03:56] local.INFO: TCP Data received {"connection_id":45947,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:03:56] local.INFO: Processing buffer {"connection_id":45947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:03:56] local.INFO: Packet analysis {"connection_id":45947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:03:56] local.INFO: Extracted packet for processing {"connection_id":45947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:03:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763010048001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776418309000,"timestamp_ms":1776418309000,"timestamp_seconds":1776418309,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac84388"} 
[2026-04-17 15:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763010048001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763010048001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:03:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:03:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763010048001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":45947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:03:56] local.INFO: GPS data processed {"connection_id":45947,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:03:56] local.INFO: Acknowledgment sent {"connection_id":45947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:03:59] local.INFO: TCP Data received {"connection_id":45850,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac93d88012d1b39000725a240003301521b..."} 
[2026-04-17 15:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45850,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac93d88012d1b39000725a240003301521b..."} 
[2026-04-17 15:03:59] local.INFO: Processing buffer {"connection_id":45850,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac93d88012d1b39000725a240003301521b..."} 
[2026-04-17 15:03:59] local.INFO: Packet analysis {"connection_id":45850,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac9"} 
[2026-04-17 15:03:59] local.INFO: Extracted packet for processing {"connection_id":45850,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac9"} 
[2026-04-17 15:03:59] local.INFO: GPS Element Parsed {"raw_longitude":756758784,"raw_latitude":119906880,"longitude_deg":75.6758784,"latitude_deg":11.990688,"altitude":51,"angle":338,"satellites":27,"speed":16,"hex_longitude":"2d1b3900","hex_latitude":"0725a240","is_valid_coordinates":true} 
[2026-04-17 15:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763100416001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113225985146486784,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966173111762157568,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776418373000,"timestamp_ms":1776418373000,"timestamp_seconds":1776418373,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac93d88"} 
[2026-04-17 15:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-17 15:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733134592,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2596806752,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:59] local.WARNING: Large IO value detected {"io_id":27,"raw_value":6413133724555149354,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:59] local.WARNING: Large IO value detected {"io_id":65,"raw_value":2332033024,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":6780450829947109386,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:59] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505327287795712,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:59] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3364220929,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:59] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639316264508296,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:59] local.WARNING: Large IO value detected {"io_id":113,"raw_value":3242855618796912896,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792540878,"corrected_to":0} 
[2026-04-17 15:03:59] local.WARNING: Large IO value detected {"io_id":95,"raw_value":2147951920,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:59] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2835402027,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:59] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-17 15:03:59] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":11540474481349632,"corrected_to":0} 
[2026-04-17 15:03:59] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,216,83,24,241,157,16,66,231,45,128,107,46,27,10,65,215,100,204,64,1,240,180,227,154,37,4,113,205,12,95,120,26,239,54,44,2,146,7,42,28,206,200],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1792540878,"validated":0},{"io_id":200,"original":11540474481349632,"validated":0}]} 
[2026-04-17 15:03:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3531186162173673472,"timestamp_seconds":3531186162173673.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 15:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45850,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45850,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763100416001,"66":14243,"217":206,"83":42752,"24":16,"16":113225985146486784,"45":1966173111762157568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-04-17 15:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763100416001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:03:59] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 15:03:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113225985146486784,"km_value":113225985146486.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966173111762157568,"description":"Unknown IO ID 45"} 
[2026-04-17 15:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763100416001,"power":14243,"unknown_217":206,"unknown_83":42752,"ignition":16,"odometer":null,"unknown_45":1966173111762157568}} 
[2026-04-17 15:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":45850,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:03:59] local.INFO: GPS data processed {"connection_id":45850,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:03:59] local.INFO: Acknowledgment sent {"connection_id":45850,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:04:21] local.INFO: TCP Data received {"connection_id":46169,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:04:21] local.INFO: Processing buffer {"connection_id":46169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:04:21] local.INFO: IMEI packet received {"connection_id":46169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":46169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:04:21] local.INFO: TCP Data received {"connection_id":46169,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:04:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:04:22] local.INFO: Processing buffer {"connection_id":46169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:04:22] local.INFO: IMEI packet received {"connection_id":46169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:04:22] local.INFO: IMEI acknowledgment sent {"connection_id":46169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:04:27] local.INFO: TCP Data received {"connection_id":46169,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:04:27] local.INFO: Processing buffer {"connection_id":46169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:04:27] local.INFO: IMEI packet received {"connection_id":46169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":46169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:04:27] local.INFO: TCP Data received {"connection_id":45947,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:04:27] local.INFO: Processing buffer {"connection_id":45947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:04:27] local.INFO: Packet analysis {"connection_id":45947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:04:27] local.INFO: Extracted packet for processing {"connection_id":45947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:04:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763010048001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776418309000,"timestamp_ms":1776418309000,"timestamp_seconds":1776418309,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac84388"} 
[2026-04-17 15:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45947,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763010048001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763010048001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:04:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:04:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763010048001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":45947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21806,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:04:27] local.INFO: GPS data processed {"connection_id":45947,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:04:27] local.INFO: Acknowledgment sent {"connection_id":45947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:04:28] local.INFO: TCP Data received {"connection_id":46169,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac94940012d1b38000725a6880033015f1b..."} 
[2026-04-17 15:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac94940012d1b38000725a6880033015f1b..."} 
[2026-04-17 15:04:28] local.INFO: Processing buffer {"connection_id":46169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac94940012d1b38000725a6880033015f1b..."} 
[2026-04-17 15:04:28] local.INFO: Packet analysis {"connection_id":46169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac9"} 
[2026-04-17 15:04:28] local.INFO: Extracted packet for processing {"connection_id":46169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac9"} 
[2026-04-17 15:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756758528,"raw_latitude":119907976,"longitude_deg":75.6758528,"latitude_deg":11.9907976,"altitude":51,"angle":351,"satellites":27,"speed":15,"hex_longitude":"2d1b3800","hex_latitude":"0725a688","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763103488001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113226040981061632,"note":"Value kept but may cause issues"} 
[2026-04-17 15:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961599143392722944,"note":"Value kept but may cause issues"} 
[2026-04-17 15:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418376000,"timestamp_ms":1776418376000,"timestamp_seconds":1776418376,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac94940"} 
[2026-04-17 15:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-17 15:04:28] 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-04-17 15: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-04-17 15:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763103488001,"66":14483,"217":206,"83":42752,"24":15,"16":113226040981061632,"45":1961599143392722944},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-04-17 15:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763103488001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:04:28] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 15:04:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113226040981061632,"km_value":113226040981061.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961599143392722944,"description":"Unknown IO ID 45"} 
[2026-04-17 15:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763103488001,"power":14483,"unknown_217":206,"unknown_83":42752,"ignition":15,"odometer":null,"unknown_45":1961599143392722944}} 
[2026-04-17 15:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":46169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21807,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:04:28] local.INFO: GPS data processed {"connection_id":46169,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:04:28] local.INFO: Acknowledgment sent {"connection_id":46169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:04:34] local.INFO: TCP Data received {"connection_id":46168,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:04:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46168,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:04:34] local.INFO: Processing buffer {"connection_id":46168,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:04:34] local.INFO: IMEI packet received {"connection_id":46168,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 15:04:34] local.INFO: IMEI acknowledgment sent {"connection_id":46168,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:04:50] local.INFO: TCP Data received {"connection_id":45851,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:04:50] local.INFO: Processing buffer {"connection_id":45851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:04:50] local.INFO: IMEI packet received {"connection_id":45851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":45851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:04:55] local.INFO: TCP Data received {"connection_id":45851,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45851,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:04:55] local.INFO: Processing buffer {"connection_id":45851,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:04:55] local.INFO: IMEI packet received {"connection_id":45851,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":45851,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:04:56] local.INFO: TCP Data received {"connection_id":45851,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:04:56] local.INFO: Processing buffer {"connection_id":45851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:04:56] local.INFO: Packet analysis {"connection_id":45851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:04:56] local.INFO: Extracted packet for processing {"connection_id":45851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:04:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763010048001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776418309000,"timestamp_ms":1776418309000,"timestamp_seconds":1776418309,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac84388"} 
[2026-04-17 15:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763010048001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763010048001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:04:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:04:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763010048001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":45851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:04:56] local.INFO: GPS data processed {"connection_id":45851,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:04:56] local.INFO: Acknowledgment sent {"connection_id":45851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:04:59] local.INFO: TCP Data received {"connection_id":46169,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac960b0012d1b36000725b430003100021b..."} 
[2026-04-17 15:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac960b0012d1b36000725b430003100021b..."} 
[2026-04-17 15:04:59] local.INFO: Processing buffer {"connection_id":46169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac960b0012d1b36000725b430003100021b..."} 
[2026-04-17 15:04:59] local.INFO: Packet analysis {"connection_id":46169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac9"} 
[2026-04-17 15:04:59] local.INFO: Extracted packet for processing {"connection_id":46169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac9"} 
[2026-04-17 15:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756758016,"raw_latitude":119911472,"longitude_deg":75.6758016,"latitude_deg":11.9911472,"altitude":49,"angle":2,"satellites":27,"speed":30,"hex_longitude":"2d1b3600","hex_latitude":"0725b430","is_valid_coordinates":true} 
[2026-04-17 15:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763104256001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113226212779753472,"note":"Value kept but may cause issues"} 
[2026-04-17 15:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1961317668416292864,"note":"Value kept but may cause issues"} 
[2026-04-17 15:04:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776418382000,"timestamp_ms":1776418382000,"timestamp_seconds":1776418382,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac960b0"} 
[2026-04-17 15:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-17 15:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763104256001,"66":14396,"217":206,"83":42752,"24":30,"16":113226212779753472,"45":1961317668416292864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-04-17 15:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763104256001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:04:59] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 15:04:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113226212779753472,"km_value":113226212779753.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1961317668416292864,"description":"Unknown IO ID 45"} 
[2026-04-17 15:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763104256001,"power":14396,"unknown_217":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1961317668416292864}} 
[2026-04-17 15:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":46169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:04:59] local.INFO: GPS data processed {"connection_id":46169,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:04:59] local.INFO: Acknowledgment sent {"connection_id":46169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:05:04] local.INFO: TCP Data received {"connection_id":46170,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46170,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:05:04] local.INFO: Processing buffer {"connection_id":46170,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:05:04] local.INFO: IMEI packet received {"connection_id":46170,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 15:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":46170,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:05:22] local.INFO: TCP Data received {"connection_id":45948,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:05:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:05:22] local.INFO: Processing buffer {"connection_id":45948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:05:22] local.INFO: IMEI packet received {"connection_id":45948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:05:22] local.INFO: IMEI acknowledgment sent {"connection_id":45948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:05:24] local.INFO: TCP Data received {"connection_id":45948,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:05:24] local.INFO: Processing buffer {"connection_id":45948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:05:24] local.INFO: IMEI packet received {"connection_id":45948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":45948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:05:27] local.INFO: TCP Data received {"connection_id":45948,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:05:27] local.INFO: Processing buffer {"connection_id":45948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:05:27] local.INFO: IMEI packet received {"connection_id":45948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":45948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:05:27] local.INFO: TCP Data received {"connection_id":45948,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9acadf80012d1b44000725c9f0003000ea1f..."} 
[2026-04-17 15:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9acadf80012d1b44000725c9f0003000ea1f..."} 
[2026-04-17 15:05:27] local.INFO: Processing buffer {"connection_id":45948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9acadf80012d1b44000725c9f0003000ea1f..."} 
[2026-04-17 15:05:27] local.INFO: Packet analysis {"connection_id":45948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aca"} 
[2026-04-17 15:05:27] local.INFO: Extracted packet for processing {"connection_id":45948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aca"} 
[2026-04-17 15:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756761600,"raw_latitude":119917040,"longitude_deg":75.67616,"latitude_deg":11.991704,"altitude":48,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d1b4400","hex_latitude":"0725c9f0","is_valid_coordinates":true} 
[2026-04-17 15:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763125504001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113226908564455424,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964695368139141120,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776418480000,"timestamp_ms":1776418480000,"timestamp_seconds":1776418480,"priority":1,"record_length":96,"hex_timestamp":"0000019d9acadf80"} 
[2026-04-17 15:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12032,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 15:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2596912752,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:27] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":10241,"corrected_to":0} 
[2026-04-17 15:05:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250263299331575312,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:27] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3385212929,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:27] local.WARNING: Large IO value detected {"io_id":37,"raw_value":3561488432,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-04-17 15:05:27] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3221693909,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:27] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3657485674,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:27] local.WARNING: Large IO value detected {"io_id":6,"raw_value":563985040580067,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:27] local.WARNING: Large IO value detected {"io_id":106,"raw_value":-2810019308799780864,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:27] local.WARNING: Large IO value detected {"io_id":47,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:27] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6027786729339224066,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:27] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,217,83,24,241,157,16,67,59,45,201,48,29,10,66,233,192,202,28,64,1,240,38,227,154,37,4,113,205,194,72,239,55,2,146,7,6,106,47,206],"length":575,"final_offset":705,"validated_count":40,"validation_warnings":[{"io_id":202,"original":10241,"validated":0},{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-04-17 15:05:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3459021919800524800,"timestamp_seconds":3459021919800525.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 15:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763125504001,"66":12406,"217":206,"83":42752,"24":0,"16":113226908564455424,"45":1964695368139141120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-04-17 15:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763125504001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:05:28] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 15:05:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113226908564455424,"km_value":113226908564455.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964695368139141120,"description":"Unknown IO ID 45"} 
[2026-04-17 15:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763125504001,"power":12406,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964695368139141120}} 
[2026-04-17 15:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":45948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21810,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:05:28] local.INFO: GPS data processed {"connection_id":45948,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:05:28] local.INFO: Acknowledgment sent {"connection_id":45948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:05:28] local.INFO: TCP Data received {"connection_id":45851,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45851,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:05:28] local.INFO: Processing buffer {"connection_id":45851,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:05:28] local.INFO: Packet analysis {"connection_id":45851,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:05:28] local.INFO: Extracted packet for processing {"connection_id":45851,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:05:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763010048001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418309000,"timestamp_ms":1776418309000,"timestamp_seconds":1776418309,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac84388"} 
[2026-04-17 15:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:05:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45851,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45851,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763010048001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763010048001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:05:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:05:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763010048001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":45851,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21811,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:05:28] local.INFO: GPS data processed {"connection_id":45851,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:05:28] local.INFO: Acknowledgment sent {"connection_id":45851,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:05:32] local.INFO: TCP Data received {"connection_id":45948,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9acb3188012d1b44000725c9f0003000ea20..."} 
[2026-04-17 15:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9acb3188012d1b44000725c9f0003000ea20..."} 
[2026-04-17 15:05:32] local.INFO: Processing buffer {"connection_id":45948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9acb3188012d1b44000725c9f0003000ea20..."} 
[2026-04-17 15:05:32] local.INFO: Packet analysis {"connection_id":45948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acb"} 
[2026-04-17 15:05:32] local.INFO: Extracted packet for processing {"connection_id":45948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acb"} 
[2026-04-17 15:05:32] local.INFO: GPS Element Parsed {"raw_longitude":756761600,"raw_latitude":119917040,"longitude_deg":75.67616,"latitude_deg":11.991704,"altitude":48,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d1b4400","hex_latitude":"0725c9f0","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763130880001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113226908564455424,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964695368139141120,"note":"Value kept but may cause issues"} 
[2026-04-17 15:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776418501000,"timestamp_ms":1776418501000,"timestamp_seconds":1776418501,"priority":1,"record_length":96,"hex_timestamp":"0000019d9acb3188"} 
[2026-04-17 15:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 15:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763130880001,"66":12156,"217":206,"83":42752,"24":0,"16":113226908564455424,"45":1964695368139141120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-04-17 15:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763130880001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:05:32] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 15:05:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113226908564455424,"km_value":113226908564455.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964695368139141120,"description":"Unknown IO ID 45"} 
[2026-04-17 15:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763130880001,"power":12156,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964695368139141120}} 
[2026-04-17 15:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":45948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21812,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:05:32] local.INFO: GPS data processed {"connection_id":45948,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:05:32] local.INFO: Acknowledgment sent {"connection_id":45948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:05:55] local.INFO: TCP Data received {"connection_id":46171,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:05:55] local.INFO: Processing buffer {"connection_id":46171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:05:55] local.INFO: IMEI packet received {"connection_id":46171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":46171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:06:00] local.INFO: TCP Data received {"connection_id":46171,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46171,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:06:00] local.INFO: Processing buffer {"connection_id":46171,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:06:00] local.INFO: IMEI packet received {"connection_id":46171,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:06:00] local.INFO: IMEI acknowledgment sent {"connection_id":46171,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:06:01] local.INFO: TCP Data received {"connection_id":46171,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:06:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:06:01] local.INFO: Processing buffer {"connection_id":46171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:06:01] local.INFO: Packet analysis {"connection_id":46171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:06:01] local.INFO: Extracted packet for processing {"connection_id":46171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:06:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:06:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763010048001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:06:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:06:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:06:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:06:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776418309000,"timestamp_ms":1776418309000,"timestamp_seconds":1776418309,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac84388"} 
[2026-04-17 15:06:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:06:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:06:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:06:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:06:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:06:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:06:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:06:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15: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-04-17 15:06:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:06:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:06:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763010048001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:06:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:06:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:06:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763010048001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:06:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:06:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:06:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:06:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:06:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763010048001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:06:01] local.INFO: DEBUG: GPS processor result {"connection_id":46171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21813,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:06:01] local.INFO: GPS data processed {"connection_id":46171,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:06:01] local.INFO: Acknowledgment sent {"connection_id":46171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:06:03] local.INFO: TCP Data received {"connection_id":45948,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9acb8390012d1b44000725c9f0003000ea1f..."} 
[2026-04-17 15:06:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9acb8390012d1b44000725c9f0003000ea1f..."} 
[2026-04-17 15:06:03] local.INFO: Processing buffer {"connection_id":45948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9acb8390012d1b44000725c9f0003000ea1f..."} 
[2026-04-17 15:06:03] local.INFO: Packet analysis {"connection_id":45948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acb"} 
[2026-04-17 15:06:03] local.INFO: Extracted packet for processing {"connection_id":45948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acb"} 
[2026-04-17 15:06:03] local.INFO: GPS Element Parsed {"raw_longitude":756761600,"raw_latitude":119917040,"longitude_deg":75.67616,"latitude_deg":11.991704,"altitude":48,"angle":234,"satellites":31,"speed":0,"hex_longitude":"2d1b4400","hex_latitude":"0725c9f0","is_valid_coordinates":true} 
[2026-04-17 15:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:06:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763136256001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:06:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113226908564455424,"note":"Value kept but may cause issues"} 
[2026-04-17 15:06:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964695368139141120,"note":"Value kept but may cause issues"} 
[2026-04-17 15:06:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:06:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776418522000,"timestamp_ms":1776418522000,"timestamp_seconds":1776418522,"priority":1,"record_length":96,"hex_timestamp":"0000019d9acb8390"} 
[2026-04-17 15:06:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:06:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:06:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 15:06:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1549,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:06:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:06:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:06:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:06:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:06:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:06:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:06:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:06:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:06:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763136256001,"66":12374,"217":206,"83":42752,"24":0,"16":113226908564455424,"45":1964695368139141120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-04-17 15:06:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:06:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:06:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763136256001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:06:03] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 15:06:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:06:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113226908564455424,"km_value":113226908564455.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:06:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964695368139141120,"description":"Unknown IO ID 45"} 
[2026-04-17 15:06:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763136256001,"power":12374,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964695368139141120}} 
[2026-04-17 15:06:03] local.INFO: DEBUG: GPS processor result {"connection_id":45948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21814,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:06:03] local.INFO: GPS data processed {"connection_id":45948,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:06:03] local.INFO: Acknowledgment sent {"connection_id":45948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:06:06] local.INFO: TCP Data received {"connection_id":46171,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:06:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:06:06] local.INFO: Processing buffer {"connection_id":46171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:06:06] local.INFO: Packet analysis {"connection_id":46171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:06:06] local.INFO: Extracted packet for processing {"connection_id":46171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:06:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:06:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763010048001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:06:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:06:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:06:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:06:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776418309000,"timestamp_ms":1776418309000,"timestamp_seconds":1776418309,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac84388"} 
[2026-04-17 15:06:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:06:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:06:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:06:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:06:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:06:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:06:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:06:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46171,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:06: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-04-17 15:06:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:06:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:06:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763010048001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:06:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:06:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:06:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763010048001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:06:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:06:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:06:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:06:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:06:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763010048001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:06:06] local.INFO: DEBUG: GPS processor result {"connection_id":46171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:06:06] local.INFO: GPS data processed {"connection_id":46171,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:06:06] local.INFO: Acknowledgment sent {"connection_id":46171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:06:22] local.INFO: TCP Data received {"connection_id":46172,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:06:22] local.INFO: Processing buffer {"connection_id":46172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:06:22] local.INFO: IMEI packet received {"connection_id":46172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":46172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:06:27] local.INFO: TCP Data received {"connection_id":46172,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46172,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:06:27] local.INFO: Processing buffer {"connection_id":46172,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:06:27] local.INFO: IMEI packet received {"connection_id":46172,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":46172,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:06:28] local.INFO: TCP Data received {"connection_id":46172,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9acbd598012d1b44000725c9f0003000ea1d..."} 
[2026-04-17 15:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9acbd598012d1b44000725c9f0003000ea1d..."} 
[2026-04-17 15:06:28] local.INFO: Processing buffer {"connection_id":46172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9acbd598012d1b44000725c9f0003000ea1d..."} 
[2026-04-17 15:06:28] local.INFO: Packet analysis {"connection_id":46172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acb"} 
[2026-04-17 15:06:28] local.INFO: Extracted packet for processing {"connection_id":46172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acb"} 
[2026-04-17 15:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756761600,"raw_latitude":119917040,"longitude_deg":75.67616,"latitude_deg":11.991704,"altitude":48,"angle":234,"satellites":29,"speed":0,"hex_longitude":"2d1b4400","hex_latitude":"0725c9f0","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763141632001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113226908564455424,"note":"Value kept but may cause issues"} 
[2026-04-17 15:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964695368139141120,"note":"Value kept but may cause issues"} 
[2026-04-17 15:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418543000,"timestamp_ms":1776418543000,"timestamp_seconds":1776418543,"priority":1,"record_length":96,"hex_timestamp":"0000019d9acbd598"} 
[2026-04-17 15:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:06: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-04-17 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 15:06:28] 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-04-17 15: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-04-17 15:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763141632001,"66":12385,"217":206,"83":42752,"24":0,"16":113226908564455424,"45":1964695368139141120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-04-17 15:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763141632001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:06:28] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 15:06:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113226908564455424,"km_value":113226908564455.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964695368139141120,"description":"Unknown IO ID 45"} 
[2026-04-17 15:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763141632001,"power":12385,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964695368139141120}} 
[2026-04-17 15:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":46172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:06:28] local.INFO: GPS data processed {"connection_id":46172,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:06:28] local.INFO: Acknowledgment sent {"connection_id":46172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:06:50] local.INFO: TCP Data received {"connection_id":45852,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:06:50] local.INFO: Processing buffer {"connection_id":45852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:06:50] local.INFO: IMEI packet received {"connection_id":45852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":45852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:06:55] local.INFO: TCP Data received {"connection_id":45852,"ip":"42.106.6.47","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45852,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:06:55] local.INFO: Processing buffer {"connection_id":45852,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:06:55] local.INFO: IMEI packet received {"connection_id":45852,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":45852,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:06:56] local.INFO: TCP Data received {"connection_id":45852,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:06:56] local.INFO: Processing buffer {"connection_id":45852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:06:56] local.INFO: Packet analysis {"connection_id":45852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:06:56] local.INFO: Extracted packet for processing {"connection_id":45852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:06:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763010048001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776418309000,"timestamp_ms":1776418309000,"timestamp_seconds":1776418309,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac84388"} 
[2026-04-17 15:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:06:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:06:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:06:56] 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-04-17 15:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763010048001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763010048001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:06:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763010048001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":45852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:06:56] local.INFO: GPS data processed {"connection_id":45852,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:06:56] local.INFO: Acknowledgment sent {"connection_id":45852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:06:59] local.INFO: TCP Data received {"connection_id":46172,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9acc27a0012d1b44000725c9f0003000ea21..."} 
[2026-04-17 15:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46172,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9acc27a0012d1b44000725c9f0003000ea21..."} 
[2026-04-17 15:06:59] local.INFO: Processing buffer {"connection_id":46172,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9acc27a0012d1b44000725c9f0003000ea21..."} 
[2026-04-17 15:06:59] local.INFO: Packet analysis {"connection_id":46172,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:06:59] local.INFO: Extracted packet for processing {"connection_id":46172,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756761600,"raw_latitude":119917040,"longitude_deg":75.67616,"latitude_deg":11.991704,"altitude":48,"angle":234,"satellites":33,"speed":0,"hex_longitude":"2d1b4400","hex_latitude":"0725c9f0","is_valid_coordinates":true} 
[2026-04-17 15:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763147008001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113226908564455424,"note":"Value kept but may cause issues"} 
[2026-04-17 15:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964695368139141120,"note":"Value kept but may cause issues"} 
[2026-04-17 15:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776418564000,"timestamp_ms":1776418564000,"timestamp_seconds":1776418564,"priority":1,"record_length":96,"hex_timestamp":"0000019d9acc27a0"} 
[2026-04-17 15:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12288,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 15:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46172,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46172,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763147008001,"66":12385,"217":206,"83":42752,"24":0,"16":113226908564455424,"45":1964695368139141120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-04-17 15:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763147008001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:06:59] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 15:06:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113226908564455424,"km_value":113226908564455.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964695368139141120,"description":"Unknown IO ID 45"} 
[2026-04-17 15:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763147008001,"power":12385,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964695368139141120}} 
[2026-04-17 15:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":46172,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21818,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:06:59] local.INFO: GPS data processed {"connection_id":46172,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:06:59] local.INFO: Acknowledgment sent {"connection_id":46172,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:07:22] local.INFO: TCP Data received {"connection_id":45853,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:07:22] local.INFO: Processing buffer {"connection_id":45853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:07:22] local.INFO: IMEI packet received {"connection_id":45853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":45853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:07:22] local.INFO: TCP Data received {"connection_id":45853,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:07:22] local.INFO: Processing buffer {"connection_id":45853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:07:22] local.INFO: IMEI packet received {"connection_id":45853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":45853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:07:27] local.INFO: TCP Data received {"connection_id":45853,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45853,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:07:27] local.INFO: Processing buffer {"connection_id":45853,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:07:27] local.INFO: IMEI packet received {"connection_id":45853,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":45853,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:07:28] local.INFO: TCP Data received {"connection_id":45852,"ip":"42.106.6.47","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45852,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:07:28] local.INFO: Processing buffer {"connection_id":45852,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ac84388012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:07:28] local.INFO: Packet analysis {"connection_id":45852,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:07:28] local.INFO: Extracted packet for processing {"connection_id":45852,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ac8"} 
[2026-04-17 15:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763010048001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418309000,"timestamp_ms":1776418309000,"timestamp_seconds":1776418309,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ac84388"} 
[2026-04-17 15:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:07: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-04-17 15:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45852,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45852,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:07:28] 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-04-17 15:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763010048001,"66":25430,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.47","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763010048001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:07:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763010048001,"power":25430,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":45852,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21819,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:07:28] local.INFO: GPS data processed {"connection_id":45852,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:07:28] local.INFO: Acknowledgment sent {"connection_id":45852,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:07:28] local.INFO: TCP Data received {"connection_id":45853,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9acc79a8012d1b44000725c9f0003000ea20..."} 
[2026-04-17 15:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9acc79a8012d1b44000725c9f0003000ea20..."} 
[2026-04-17 15:07:28] local.INFO: Processing buffer {"connection_id":45853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9acc79a8012d1b44000725c9f0003000ea20..."} 
[2026-04-17 15:07:28] local.INFO: Packet analysis {"connection_id":45853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:07:28] local.INFO: Extracted packet for processing {"connection_id":45853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756761600,"raw_latitude":119917040,"longitude_deg":75.67616,"latitude_deg":11.991704,"altitude":48,"angle":234,"satellites":32,"speed":0,"hex_longitude":"2d1b4400","hex_latitude":"0725c9f0","is_valid_coordinates":true} 
[2026-04-17 15:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763152384001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113226908564455424,"note":"Value kept but may cause issues"} 
[2026-04-17 15:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1964695368139141120,"note":"Value kept but may cause issues"} 
[2026-04-17 15:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418585000,"timestamp_ms":1776418585000,"timestamp_seconds":1776418585,"priority":1,"record_length":96,"hex_timestamp":"0000019d9acc79a8"} 
[2026-04-17 15:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":12544,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 15:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763152384001,"66":12385,"217":206,"83":42752,"24":0,"16":113226908564455424,"45":1964695368139141120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-04-17 15:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763152384001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:07:28] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 15:07:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113226908564455424,"km_value":113226908564455.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1964695368139141120,"description":"Unknown IO ID 45"} 
[2026-04-17 15:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763152384001,"power":12385,"unknown_217":206,"unknown_83":42752,"ignition":0,"odometer":null,"unknown_45":1964695368139141120}} 
[2026-04-17 15:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":45853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21820,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:07:28] local.INFO: GPS data processed {"connection_id":45853,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:07:28] local.INFO: Acknowledgment sent {"connection_id":45853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:07:50] local.INFO: TCP Data received {"connection_id":46706,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:07:50] local.INFO: Processing buffer {"connection_id":46706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:07:50] local.INFO: IMEI packet received {"connection_id":46706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":46706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:07:55] local.INFO: TCP Data received {"connection_id":46706,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46706,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:07:55] local.INFO: Processing buffer {"connection_id":46706,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:07:55] local.INFO: IMEI packet received {"connection_id":46706,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":46706,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:07:56] local.INFO: TCP Data received {"connection_id":46706,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:07:56] local.INFO: Processing buffer {"connection_id":46706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:07:56] local.INFO: Packet analysis {"connection_id":46706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:07:56] local.INFO: Extracted packet for processing {"connection_id":46706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763087104001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776418610000,"timestamp_ms":1776418610000,"timestamp_seconds":1776418610,"priority":1,"record_length":96,"hex_timestamp":"0000019d9accdb50"} 
[2026-04-17 15:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:07:56] 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-04-17 15: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 15:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763087104001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763087104001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:07:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763087104001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":46706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21821,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:07:56] local.INFO: GPS data processed {"connection_id":46706,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:07:56] local.INFO: Acknowledgment sent {"connection_id":46706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:08:00] local.INFO: TCP Data received {"connection_id":45853,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9acd8f00012d1b674007256250002a00a121..."} 
[2026-04-17 15:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9acd8f00012d1b674007256250002a00a121..."} 
[2026-04-17 15:08:00] local.INFO: Processing buffer {"connection_id":45853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9acd8f00012d1b674007256250002a00a121..."} 
[2026-04-17 15:08:00] local.INFO: Packet analysis {"connection_id":45853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acd"} 
[2026-04-17 15:08:00] local.INFO: Extracted packet for processing {"connection_id":45853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acd"} 
[2026-04-17 15:08:00] local.INFO: GPS Element Parsed {"raw_longitude":756770624,"raw_latitude":119890512,"longitude_deg":75.6770624,"latitude_deg":11.9890512,"altitude":42,"angle":161,"satellites":33,"speed":20,"hex_longitude":"2d1b6740","hex_latitude":"07256250","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763175168001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113228407508041728,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1973772936131637248,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776418656000,"timestamp_ms":1776418656000,"timestamp_seconds":1776418656,"priority":1,"record_length":96,"hex_timestamp":"0000019d9acd8f00"} 
[2026-04-17 15:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:08:00] 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-04-17 15: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":54,"n8_eight_byte":93,"data_length":795,"current_offset":136} 
[2026-04-17 15:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1305,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45853,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:08:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763175168001,"66":13928,"217":206,"83":42752,"24":20,"16":113228407508041728,"45":1973772936131637248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-04-17 15:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763175168001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:08:00] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 15:08:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113228407508041728,"km_value":113228407508041.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1973772936131637248,"description":"Unknown IO ID 45"} 
[2026-04-17 15:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763175168001,"power":13928,"unknown_217":206,"unknown_83":42752,"ignition":20,"odometer":null,"unknown_45":1973772936131637248}} 
[2026-04-17 15:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":45853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21822,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:08:00] local.INFO: GPS data processed {"connection_id":45853,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:08:00] local.INFO: Acknowledgment sent {"connection_id":45853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:08:27] local.INFO: TCP Data received {"connection_id":45951,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:08:27] local.INFO: Processing buffer {"connection_id":45951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:08:27] local.INFO: IMEI packet received {"connection_id":45951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:08:27] local.INFO: IMEI acknowledgment sent {"connection_id":45951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:08:28] local.INFO: TCP Data received {"connection_id":46706,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46706,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:08:28] local.INFO: Processing buffer {"connection_id":46706,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:08:28] local.INFO: Packet analysis {"connection_id":46706,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:08:28] local.INFO: Extracted packet for processing {"connection_id":46706,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:08:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763087104001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418610000,"timestamp_ms":1776418610000,"timestamp_seconds":1776418610,"priority":1,"record_length":96,"hex_timestamp":"0000019d9accdb50"} 
[2026-04-17 15:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:08:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:08:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 15:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46706,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46706,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763087104001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763087104001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:08:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:08:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763087104001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":46706,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:08:28] local.INFO: GPS data processed {"connection_id":46706,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:08:28] local.INFO: Acknowledgment sent {"connection_id":46706,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:08:32] local.INFO: TCP Data received {"connection_id":45951,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:08:32] local.INFO: Processing buffer {"connection_id":45951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:08:32] local.INFO: IMEI packet received {"connection_id":45951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:08:32] local.INFO: IMEI acknowledgment sent {"connection_id":45951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:08:33] local.INFO: TCP Data received {"connection_id":45951,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9acdb9f8012d1b694007255a08002900b921..."} 
[2026-04-17 15:08:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9acdb9f8012d1b694007255a08002900b921..."} 
[2026-04-17 15:08:33] local.INFO: Processing buffer {"connection_id":45951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9acdb9f8012d1b694007255a08002900b921..."} 
[2026-04-17 15:08:33] local.INFO: Packet analysis {"connection_id":45951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acd"} 
[2026-04-17 15:08:33] local.INFO: Extracted packet for processing {"connection_id":45951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acd"} 
[2026-04-17 15:08:33] local.INFO: GPS Element Parsed {"raw_longitude":756771136,"raw_latitude":119888392,"longitude_deg":75.6771136,"latitude_deg":11.9888392,"altitude":41,"angle":185,"satellites":33,"speed":10,"hex_longitude":"2d1b6940","hex_latitude":"07255a08","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:08:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763175936001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113228519177191424,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974617361061400576,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:08:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776418667000,"timestamp_ms":1776418667000,"timestamp_seconds":1776418667,"priority":1,"record_length":96,"hex_timestamp":"0000019d9acdb9f8"} 
[2026-04-17 15:08:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:08:33] 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-04-17 15: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-17 15:08:33] 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-04-17 15: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-04-17 15:08:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:08:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:08:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:08:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:08:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:08:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:08:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:08:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:08:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763175936001,"66":14341,"217":206,"83":42752,"24":10,"16":113228519177191424,"45":1974617361061400576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-04-17 15:08:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:08:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:08:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763175936001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:08:33] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 15:08:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:08:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113228519177191424,"km_value":113228519177191.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:08:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974617361061400576,"description":"Unknown IO ID 45"} 
[2026-04-17 15:08:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763175936001,"power":14341,"unknown_217":206,"unknown_83":42752,"ignition":10,"odometer":null,"unknown_45":1974617361061400576}} 
[2026-04-17 15:08:33] local.INFO: DEBUG: GPS processor result {"connection_id":45951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:08:33] local.INFO: GPS data processed {"connection_id":45951,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:08:33] local.INFO: Acknowledgment sent {"connection_id":45951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:08:36] local.INFO: TCP Data received {"connection_id":45951,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9acdd550012d1b670007254c50002900c621..."} 
[2026-04-17 15:08:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9acdd550012d1b670007254c50002900c621..."} 
[2026-04-17 15:08:36] local.INFO: Processing buffer {"connection_id":45951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9acdd550012d1b670007254c50002900c621..."} 
[2026-04-17 15:08:36] local.INFO: Packet analysis {"connection_id":45951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acd"} 
[2026-04-17 15:08:36] local.INFO: Extracted packet for processing {"connection_id":45951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acd"} 
[2026-04-17 15:08:36] local.INFO: GPS Element Parsed {"raw_longitude":756770560,"raw_latitude":119884880,"longitude_deg":75.677056,"latitude_deg":11.988488,"altitude":41,"angle":198,"satellites":33,"speed":24,"hex_longitude":"2d1b6700","hex_latitude":"07254c50","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763178752001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113228690975883264,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1975180311014279168,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,217,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:08:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776418674000,"timestamp_ms":1776418674000,"timestamp_seconds":1776418674,"priority":1,"record_length":96,"hex_timestamp":"0000019d9acdd550"} 
[2026-04-17 15:08:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:08:36] 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-04-17 15: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 15:08:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6939135218,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2801801216,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2597123752,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:36] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505327337078784,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:36] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3441532929,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:36] local.WARNING: Large IO value detected {"io_id":37,"raw_value":2661285938,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1792606414,"corrected_to":0} 
[2026-04-17 15:08:36] local.WARNING: Large IO value detected {"io_id":54,"raw_value":4127247722,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:36] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84753899617461689,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:36] local.WARNING: Large IO value detected {"io_id":8,"raw_value":14637536844452096,"note":"Value kept but may cause issues"} 
[2026-04-17 15:08:36] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,217,83,24,241,157,16,68,143,45,64,98,42,33,10,66,131,103,43,80,1,240,227,154,37,4,113,205,31,18,58,239,54,2,146,7,52,19,206,192,8],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1792606414,"validated":0}]} 
[2026-04-17 15:08:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954564906940760064,"timestamp_seconds":2954564906940760.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 15:08:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:08:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:08:36] local.INFO: Teltonika packet parsed successfully {"connection_id":45951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:08:36] local.INFO: Passing IMEI to GPS processor {"connection_id":45951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:08:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":45951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:08:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:08:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:08:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:08:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763178752001,"66":14113,"217":206,"83":42752,"24":24,"16":113228690975883264,"45":1975180311014279168},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,217,83,24,16,45]} 
[2026-04-17 15:08:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:08:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:08:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763178752001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:08:36] local.INFO: Unknown IO ID detected {"io_id":217,"value":206,"description":"Unknown IO ID 217"} 
[2026-04-17 15:08:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:08:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113228690975883264,"km_value":113228690975883.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:08:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1975180311014279168,"description":"Unknown IO ID 45"} 
[2026-04-17 15:08:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763178752001,"power":14113,"unknown_217":206,"unknown_83":42752,"ignition":24,"odometer":null,"unknown_45":1975180311014279168}} 
[2026-04-17 15:08:36] local.INFO: DEBUG: GPS processor result {"connection_id":45951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21825,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:08:36] local.INFO: GPS data processed {"connection_id":45951,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:08:36] local.INFO: Acknowledgment sent {"connection_id":45951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:08:56] local.INFO: TCP Data received {"connection_id":45854,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:08:56] local.INFO: Processing buffer {"connection_id":45854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:08:56] local.INFO: IMEI packet received {"connection_id":45854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":45854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:09:01] local.INFO: TCP Data received {"connection_id":45854,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45854,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:09:01] local.INFO: Processing buffer {"connection_id":45854,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:09:01] local.INFO: IMEI packet received {"connection_id":45854,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:09:01] local.INFO: IMEI acknowledgment sent {"connection_id":45854,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:09:01] local.INFO: TCP Data received {"connection_id":45854,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:09:01] local.INFO: Processing buffer {"connection_id":45854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:09:01] local.INFO: Packet analysis {"connection_id":45854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:09:01] local.INFO: Extracted packet for processing {"connection_id":45854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763087104001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776418610000,"timestamp_ms":1776418610000,"timestamp_seconds":1776418610,"priority":1,"record_length":96,"hex_timestamp":"0000019d9accdb50"} 
[2026-04-17 15:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":86,"data_length":795,"current_offset":136} 
[2026-04-17 15:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:09: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-04-17 15:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763087104001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763087104001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:09:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763087104001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":45854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21826,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:09:01] local.INFO: GPS data processed {"connection_id":45854,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:09:01] local.INFO: Acknowledgment sent {"connection_id":45854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:09:06] local.INFO: TCP Data received {"connection_id":45854,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:09:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:09:06] local.INFO: Processing buffer {"connection_id":45854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:09:06] local.INFO: Packet analysis {"connection_id":45854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:09:06] local.INFO: Extracted packet for processing {"connection_id":45854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:09:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:09:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763087104001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:09:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:09:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:09:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:09:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776418610000,"timestamp_ms":1776418610000,"timestamp_seconds":1776418610,"priority":1,"record_length":96,"hex_timestamp":"0000019d9accdb50"} 
[2026-04-17 15:09:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:09:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 15:09:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:09:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:09:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:09:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:09:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:09:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45854,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:09:06] 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-04-17 15:09:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:09:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:09:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763087104001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:09:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:09:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:09:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763087104001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:09:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:09:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:09:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:09:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:09:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763087104001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:09:06] local.INFO: DEBUG: GPS processor result {"connection_id":45854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21827,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:09:06] local.INFO: GPS data processed {"connection_id":45854,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:09:06] local.INFO: Acknowledgment sent {"connection_id":45854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:09:07] local.INFO: TCP Data received {"connection_id":45951,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ace2758012d1b608007252e68002900c221..."} 
[2026-04-17 15:09:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ace2758012d1b608007252e68002900c221..."} 
[2026-04-17 15:09:07] local.INFO: Processing buffer {"connection_id":45951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ace2758012d1b608007252e68002900c221..."} 
[2026-04-17 15:09:07] local.INFO: Packet analysis {"connection_id":45951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ace"} 
[2026-04-17 15:09:07] local.INFO: Extracted packet for processing {"connection_id":45951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ace"} 
[2026-04-17 15:09:07] local.INFO: GPS Element Parsed {"raw_longitude":756768896,"raw_latitude":119877224,"longitude_deg":75.6768896,"latitude_deg":11.9877224,"altitude":41,"angle":194,"satellites":33,"speed":7,"hex_longitude":"2d1b6080","hex_latitude":"07252e68","is_valid_coordinates":true} 
[2026-04-17 15:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:09:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763180544001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:09:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113229073227972608,"note":"Value kept but may cause issues"} 
[2026-04-17 15:09:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1974546992315781120,"note":"Value kept but may cause issues"} 
[2026-04-17 15:09:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:09:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776418695000,"timestamp_ms":1776418695000,"timestamp_seconds":1776418695,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ace2758"} 
[2026-04-17 15:09:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:09:07] 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-04-17 15:09:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-04-17 15:09:07] 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-04-17 15:09:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:09:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:09:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:09:07] local.INFO: Teltonika packet parsed successfully {"connection_id":45951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:09:07] local.INFO: Passing IMEI to GPS processor {"connection_id":45951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:09:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":45951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:09:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:09:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:09:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:09:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763180544001,"66":13852,"43":206,"83":41984,"24":7,"16":113229073227972608,"45":1974546992315781120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-04-17 15:09:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:09:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:09:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763180544001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:09:07] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-17 15:09:07] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:09:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113229073227972608,"km_value":113229073227972.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:09:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":1974546992315781120,"description":"Unknown IO ID 45"} 
[2026-04-17 15:09:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763180544001,"power":13852,"unknown_43":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1974546992315781120}} 
[2026-04-17 15:09:07] local.INFO: DEBUG: GPS processor result {"connection_id":45951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21828,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:09:07] local.INFO: GPS data processed {"connection_id":45951,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:09:07] local.INFO: Acknowledgment sent {"connection_id":45951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:09:21] local.INFO: TCP Data received {"connection_id":45952,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:09:21] local.INFO: Processing buffer {"connection_id":45952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:09:21] local.INFO: IMEI packet received {"connection_id":45952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":45952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:09:27] local.INFO: TCP Data received {"connection_id":45952,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:09:27] local.INFO: Processing buffer {"connection_id":45952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:09:27] local.INFO: IMEI packet received {"connection_id":45952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":45952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:09:28] local.INFO: TCP Data received {"connection_id":45952,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ace6da8012d1b598007250b08002700ba21..."} 
[2026-04-17 15:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ace6da8012d1b598007250b08002700ba21..."} 
[2026-04-17 15:09:28] local.INFO: Processing buffer {"connection_id":45952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ace6da8012d1b598007250b08002700ba21..."} 
[2026-04-17 15:09:28] local.INFO: Packet analysis {"connection_id":45952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ace"} 
[2026-04-17 15:09:28] local.INFO: Extracted packet for processing {"connection_id":45952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ace"} 
[2026-04-17 15:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":119868168,"longitude_deg":75.6767104,"latitude_deg":11.9868168,"altitude":39,"angle":186,"satellites":33,"speed":26,"hex_longitude":"2d1b5980","hex_latitude":"07250b08","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763185920001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113229524199538688,"note":"Value kept but may cause issues"} 
[2026-04-17 15:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972717404965201920,"note":"Value kept but may cause issues"} 
[2026-04-17 15:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418713000,"timestamp_ms":1776418713000,"timestamp_seconds":1776418713,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ace6da8"} 
[2026-04-17 15:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:09: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-04-17 15: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-17 15:09:28] 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-04-17 15: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-04-17 15:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763185920001,"66":14374,"43":206,"83":41984,"24":26,"16":113229524199538688,"45":1972717404965201920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-04-17 15:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763185920001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:09:28] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-17 15:09:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113229524199538688,"km_value":113229524199538.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972717404965201920,"description":"Unknown IO ID 45"} 
[2026-04-17 15:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763185920001,"power":14374,"unknown_43":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1972717404965201920}} 
[2026-04-17 15:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":45952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:09:28] local.INFO: GPS data processed {"connection_id":45952,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:09:28] local.INFO: Acknowledgment sent {"connection_id":45952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:09:50] local.INFO: TCP Data received {"connection_id":45856,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:09:50] local.INFO: Processing buffer {"connection_id":45856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:09:50] local.INFO: IMEI packet received {"connection_id":45856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":45856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:09:55] local.INFO: TCP Data received {"connection_id":45856,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:09:55] local.INFO: Processing buffer {"connection_id":45856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:09:55] local.INFO: IMEI packet received {"connection_id":45856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":45856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:09:56] local.INFO: TCP Data received {"connection_id":45856,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:09:56] local.INFO: Processing buffer {"connection_id":45856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:09:56] local.INFO: Packet analysis {"connection_id":45856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:09:56] local.INFO: Extracted packet for processing {"connection_id":45856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763087104001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776418610000,"timestamp_ms":1776418610000,"timestamp_seconds":1776418610,"priority":1,"record_length":96,"hex_timestamp":"0000019d9accdb50"} 
[2026-04-17 15:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:09:56] 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-04-17 15:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 15:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:09:56] 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-04-17 15:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763087104001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763087104001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:09:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763087104001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":45856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21830,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:09:56] local.INFO: GPS data processed {"connection_id":45856,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:09:56] local.INFO: Acknowledgment sent {"connection_id":45856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:10:00] local.INFO: TCP Data received {"connection_id":45952,"ip":"42.106.6.37","data_length":93,"data_hex":"00000000000000518e010000019d9ace8130012d1b59800724fbd0002700ac21..."} 
[2026-04-17 15:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45952,"packet_length":93,"packet_hex":"00000000000000518e010000019d9ace8130012d1b59800724fbd0002700ac21..."} 
[2026-04-17 15:10:00] local.INFO: Processing buffer {"connection_id":45952,"buffer_length":93,"buffer_hex":"00000000000000518e010000019d9ace8130012d1b59800724fbd0002700ac21..."} 
[2026-04-17 15:10:00] local.INFO: Packet analysis {"connection_id":45952,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019d9ace"} 
[2026-04-17 15:10:00] local.INFO: Extracted packet for processing {"connection_id":45952,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019d9ace"} 
[2026-04-17 15:10:00] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":119864272,"longitude_deg":75.6767104,"latitude_deg":11.9864272,"altitude":39,"angle":172,"satellites":33,"speed":31,"hex_longitude":"2d1b5980","hex_latitude":"0724fbd0","is_valid_coordinates":true} 
[2026-04-17 15: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":93,"current_offset":40} 
[2026-04-17 15:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":40,"expected_size":66,"max_length":93,"available_bytes":53,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:10:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":34,"data_length":93,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:10:00] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:10:00] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-17 15:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45952,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-17 15:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45952,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 15:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45952,"device_imei":"862567074811360","avl_records_count":0} 
[2026-04-17 15:10:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-17 15:10:00] local.WARNING: DEBUG: No valid data to process  
[2026-04-17 15:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":45952,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-17 15:10:00] local.ERROR: GPS data processing failed {"connection_id":45952,"error":"No valid data to process"} 
[2026-04-17 15:10:00] local.INFO: Acknowledgment sent {"connection_id":45952,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-17 15:10:19] local.INFO: TCP Data received {"connection_id":46173,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:10:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46173,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:10:19] local.INFO: Processing buffer {"connection_id":46173,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:10:19] local.INFO: IMEI packet received {"connection_id":46173,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 15:10:19] local.INFO: IMEI acknowledgment sent {"connection_id":46173,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:10:22] local.INFO: TCP Data received {"connection_id":46174,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:10:22] local.INFO: Processing buffer {"connection_id":46174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:10:22] local.INFO: IMEI packet received {"connection_id":46174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":46174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:10:28] local.INFO: TCP Data received {"connection_id":45856,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:10:28] local.INFO: Processing buffer {"connection_id":45856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:10:28] local.INFO: Packet analysis {"connection_id":45856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:10:28] local.INFO: Extracted packet for processing {"connection_id":45856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:10:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763087104001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418610000,"timestamp_ms":1776418610000,"timestamp_seconds":1776418610,"priority":1,"record_length":96,"hex_timestamp":"0000019d9accdb50"} 
[2026-04-17 15:10:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:10:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 15:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:10:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:10:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:10:28] 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-04-17 15:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763087104001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763087104001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:10:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:10:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763087104001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":45856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:10:28] local.INFO: GPS data processed {"connection_id":45856,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:10:28] local.INFO: Acknowledgment sent {"connection_id":45856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:10:28] local.INFO: TCP Data received {"connection_id":46174,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:10:28] local.INFO: Processing buffer {"connection_id":46174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:10:28] local.INFO: IMEI packet received {"connection_id":46174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:10:28] local.INFO: IMEI acknowledgment sent {"connection_id":46174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:10:29] local.INFO: TCP Data received {"connection_id":46174,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aceb3f8012d1b5dc00724df50002300b821..."} 
[2026-04-17 15:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aceb3f8012d1b5dc00724df50002300b821..."} 
[2026-04-17 15:10:29] local.INFO: Processing buffer {"connection_id":46174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aceb3f8012d1b5dc00724df50002300b821..."} 
[2026-04-17 15:10:29] local.INFO: Packet analysis {"connection_id":46174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ace"} 
[2026-04-17 15:10:29] local.INFO: Extracted packet for processing {"connection_id":46174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ace"} 
[2026-04-17 15:10:29] local.INFO: GPS Element Parsed {"raw_longitude":756768192,"raw_latitude":119856976,"longitude_deg":75.6768192,"latitude_deg":11.9856976,"altitude":35,"angle":184,"satellites":33,"speed":8,"hex_longitude":"2d1b5dc0","hex_latitude":"0724df50","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763191808001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113230073955352576,"note":"Value kept but may cause issues"} 
[2026-04-17 15:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747080124911616,"note":"Value kept but may cause issues"} 
[2026-04-17 15:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776418731000,"timestamp_ms":1776418731000,"timestamp_seconds":1776418731,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aceb3f8"} 
[2026-04-17 15:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13056,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":54,"n8_eight_byte":115,"data_length":795,"current_offset":136} 
[2026-04-17 15:10:29] 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-04-17 15: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-04-17 15:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:10:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763191808001,"66":13798,"43":206,"83":41984,"24":8,"16":113230073955352576,"45":1970747080124911616},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-04-17 15:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763191808001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:10:29] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-17 15:10:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113230073955352576,"km_value":113230073955352.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747080124911616,"description":"Unknown IO ID 45"} 
[2026-04-17 15:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763191808001,"power":13798,"unknown_43":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1970747080124911616}} 
[2026-04-17 15:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":46174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:10:29] local.INFO: GPS data processed {"connection_id":46174,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:10:29] local.INFO: Acknowledgment sent {"connection_id":46174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:10:55] local.INFO: TCP Data received {"connection_id":46175,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:10:55] local.INFO: Processing buffer {"connection_id":46175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:10:55] local.INFO: IMEI packet received {"connection_id":46175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":46175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:11:00] local.INFO: TCP Data received {"connection_id":46174,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9acf0600012d1b5bc00724cf88002300bb1f..."} 
[2026-04-17 15:11:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9acf0600012d1b5bc00724cf88002300bb1f..."} 
[2026-04-17 15:11:00] local.INFO: Processing buffer {"connection_id":46174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9acf0600012d1b5bc00724cf88002300bb1f..."} 
[2026-04-17 15:11:00] local.INFO: Packet analysis {"connection_id":46174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acf"} 
[2026-04-17 15:11:00] local.INFO: Extracted packet for processing {"connection_id":46174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acf"} 
[2026-04-17 15:11:00] local.INFO: GPS Element Parsed {"raw_longitude":756767680,"raw_latitude":119852936,"longitude_deg":75.676768,"latitude_deg":11.9852936,"altitude":35,"angle":187,"satellites":31,"speed":4,"hex_longitude":"2d1b5bc0","hex_latitude":"0724cf88","is_valid_coordinates":true} 
[2026-04-17 15:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:11:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763195136001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:11:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113230284408750080,"note":"Value kept but may cause issues"} 
[2026-04-17 15:11:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971943348774064128,"note":"Value kept but may cause issues"} 
[2026-04-17 15:11:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:11:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776418752000,"timestamp_ms":1776418752000,"timestamp_seconds":1776418752,"priority":1,"record_length":96,"hex_timestamp":"0000019d9acf0600"} 
[2026-04-17 15:11:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:11:00] 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-04-17 15:11:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-17 15:11:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2533,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:11:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:11:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:11:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:11:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:11:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:11:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:11:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:11:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:11:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:11:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763195136001,"66":13798,"43":206,"83":41984,"24":4,"16":113230284408750080,"45":1971943348774064128},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-04-17 15:11:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:11:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:11:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763195136001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:11:00] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-17 15:11:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:11:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113230284408750080,"km_value":113230284408750.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:11:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971943348774064128,"description":"Unknown IO ID 45"} 
[2026-04-17 15:11:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763195136001,"power":13798,"unknown_43":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1971943348774064128}} 
[2026-04-17 15:11:00] local.INFO: DEBUG: GPS processor result {"connection_id":46174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21833,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:11:00] local.INFO: GPS data processed {"connection_id":46174,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:11:00] local.INFO: Acknowledgment sent {"connection_id":46174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:11:01] local.INFO: TCP Data received {"connection_id":46175,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:11:01] local.INFO: Processing buffer {"connection_id":46175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:11:01] local.INFO: IMEI packet received {"connection_id":46175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:11:01] local.INFO: IMEI acknowledgment sent {"connection_id":46175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:11:02] local.INFO: TCP Data received {"connection_id":46175,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:11:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:11:02] local.INFO: Processing buffer {"connection_id":46175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:11:02] local.INFO: Packet analysis {"connection_id":46175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:11:02] local.INFO: Extracted packet for processing {"connection_id":46175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:11:02] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:11:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763087104001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:11:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:11:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:11:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:11:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776418610000,"timestamp_ms":1776418610000,"timestamp_seconds":1776418610,"priority":1,"record_length":96,"hex_timestamp":"0000019d9accdb50"} 
[2026-04-17 15:11:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:11:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:11:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 15:11:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:11:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:11:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:11:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:11:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:11:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:11:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:11:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:11:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:11:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:11:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763087104001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:11:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:11:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:11:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763087104001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:11:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:11:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:11:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:11:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:11:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763087104001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":46175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21834,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:11:02] local.INFO: GPS data processed {"connection_id":46175,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:11:02] local.INFO: Acknowledgment sent {"connection_id":46175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:11:06] local.INFO: TCP Data received {"connection_id":46175,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:11:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:11:06] local.INFO: Processing buffer {"connection_id":46175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:11:06] local.INFO: Packet analysis {"connection_id":46175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:11:06] local.INFO: Extracted packet for processing {"connection_id":46175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:11:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:11:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763087104001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:11:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:11:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:11:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:11:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776418610000,"timestamp_ms":1776418610000,"timestamp_seconds":1776418610,"priority":1,"record_length":96,"hex_timestamp":"0000019d9accdb50"} 
[2026-04-17 15:11:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:11:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 15:11:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:11:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:11:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:11:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:11:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:11:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:11: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-04-17 15:11:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:11:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:11:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763087104001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:11:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:11:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:11:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763087104001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:11:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:11:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:11:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:11:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:11:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763087104001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:11:06] local.INFO: DEBUG: GPS processor result {"connection_id":46175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:11:06] local.INFO: GPS data processed {"connection_id":46175,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:11:06] local.INFO: Acknowledgment sent {"connection_id":46175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:11:09] local.INFO: TCP Data received {"connection_id":46176,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46176,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:11:09] local.INFO: Processing buffer {"connection_id":46176,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:11:09] local.INFO: IMEI packet received {"connection_id":46176,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 15:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":46176,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:11:21] local.INFO: TCP Data received {"connection_id":45953,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:11:21] local.INFO: Processing buffer {"connection_id":45953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:11:21] local.INFO: IMEI packet received {"connection_id":45953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":45953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:11:27] local.INFO: TCP Data received {"connection_id":45953,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45953,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:11:27] local.INFO: Processing buffer {"connection_id":45953,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:11:27] local.INFO: IMEI packet received {"connection_id":45953,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":45953,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:11:28] local.INFO: TCP Data received {"connection_id":45953,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad09088012d1af04007246260003000d122..."} 
[2026-04-17 15:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad09088012d1af04007246260003000d122..."} 
[2026-04-17 15:11:28] local.INFO: Processing buffer {"connection_id":45953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad09088012d1af04007246260003000d122..."} 
[2026-04-17 15:11:28] local.INFO: Packet analysis {"connection_id":45953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad0"} 
[2026-04-17 15:11:28] local.INFO: Extracted packet for processing {"connection_id":45953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad0"} 
[2026-04-17 15:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756740160,"raw_latitude":119824992,"longitude_deg":75.674016,"latitude_deg":11.9824992,"altitude":48,"angle":209,"satellites":34,"speed":27,"hex_longitude":"2d1af040","hex_latitude":"07246260","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763224576001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113232217144033280,"note":"Value kept but may cause issues"} 
[2026-04-17 15:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1945273594723620864,"note":"Value kept but may cause issues"} 
[2026-04-17 15:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418853000,"timestamp_ms":1776418853000,"timestamp_seconds":1776418853,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad09088"} 
[2026-04-17 15:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 15:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763224576001,"66":14483,"176":206,"83":42752,"24":27,"16":113232217144033280,"45":1945273594723620864},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-17 15:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763224576001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:11:28] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-17 15:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113232217144033280,"km_value":113232217144033.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1945273594723620864,"description":"Unknown IO ID 45"} 
[2026-04-17 15:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763224576001,"power":14483,"unknown_176":206,"unknown_83":42752,"ignition":27,"odometer":null,"unknown_45":1945273594723620864}} 
[2026-04-17 15:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":45953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:11:28] local.INFO: GPS data processed {"connection_id":45953,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:11:28] local.INFO: Acknowledgment sent {"connection_id":45953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:11:50] local.INFO: TCP Data received {"connection_id":45954,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:11:50] local.INFO: Processing buffer {"connection_id":45954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:11:50] local.INFO: IMEI packet received {"connection_id":45954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":45954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:11:55] local.INFO: TCP Data received {"connection_id":45954,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45954,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:11:55] local.INFO: Processing buffer {"connection_id":45954,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:11:55] local.INFO: IMEI packet received {"connection_id":45954,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":45954,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:11:56] local.INFO: TCP Data received {"connection_id":45954,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:11:56] local.INFO: Processing buffer {"connection_id":45954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:11:56] local.INFO: Packet analysis {"connection_id":45954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:11:56] local.INFO: Extracted packet for processing {"connection_id":45954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763087104001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776418610000,"timestamp_ms":1776418610000,"timestamp_seconds":1776418610,"priority":1,"record_length":96,"hex_timestamp":"0000019d9accdb50"} 
[2026-04-17 15:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:11:56] 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-04-17 15:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 15:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763087104001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763087104001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:11:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763087104001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":45954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:11:56] local.INFO: GPS data processed {"connection_id":45954,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:11:56] local.INFO: Acknowledgment sent {"connection_id":45954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:11:59] local.INFO: TCP Data received {"connection_id":45953,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad0c350012d1adec007244410003100d722..."} 
[2026-04-17 15:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad0c350012d1adec007244410003100d722..."} 
[2026-04-17 15:11:59] local.INFO: Processing buffer {"connection_id":45953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad0c350012d1adec007244410003100d722..."} 
[2026-04-17 15:11:59] local.INFO: Packet analysis {"connection_id":45953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad0"} 
[2026-04-17 15:11:59] local.INFO: Extracted packet for processing {"connection_id":45953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad0"} 
[2026-04-17 15:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756735680,"raw_latitude":119817232,"longitude_deg":75.673568,"latitude_deg":11.9817232,"altitude":49,"angle":215,"satellites":34,"speed":28,"hex_longitude":"2d1adec0","hex_latitude":"07244410","is_valid_coordinates":true} 
[2026-04-17 15:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763226368001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113232650935730176,"note":"Value kept but may cause issues"} 
[2026-04-17 15:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1941121838816059392,"note":"Value kept but may cause issues"} 
[2026-04-17 15:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776418866000,"timestamp_ms":1776418866000,"timestamp_seconds":1776418866,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad0c350"} 
[2026-04-17 15:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:11:59] 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-04-17 15:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-17 15:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1801,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45953,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763226368001,"66":14070,"176":206,"83":42752,"24":28,"16":113232650935730176,"45":1941121838816059392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-17 15:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763226368001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:11:59] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-17 15:11:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113232650935730176,"km_value":113232650935730.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1941121838816059392,"description":"Unknown IO ID 45"} 
[2026-04-17 15:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763226368001,"power":14070,"unknown_176":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1941121838816059392}} 
[2026-04-17 15:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":45953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:11:59] local.INFO: GPS data processed {"connection_id":45953,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:11:59] local.INFO: Acknowledgment sent {"connection_id":45953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:12:22] local.INFO: TCP Data received {"connection_id":46708,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:12:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:12:22] local.INFO: Processing buffer {"connection_id":46708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:12:22] local.INFO: IMEI packet received {"connection_id":46708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:12:22] local.INFO: IMEI acknowledgment sent {"connection_id":46708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:12:27] local.INFO: TCP Data received {"connection_id":46708,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46708,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:12:27] local.INFO: Processing buffer {"connection_id":46708,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:12:27] local.INFO: IMEI packet received {"connection_id":46708,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":46708,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:12:28] local.INFO: TCP Data received {"connection_id":45954,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:12:28] local.INFO: Processing buffer {"connection_id":45954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9accdb50012d7faa8005afd2f8000800002f..."} 
[2026-04-17 15:12:28] local.INFO: Packet analysis {"connection_id":45954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:12:28] local.INFO: Extracted packet for processing {"connection_id":45954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9acc"} 
[2026-04-17 15:12:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763087104001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418610000,"timestamp_ms":1776418610000,"timestamp_seconds":1776418610,"priority":1,"record_length":96,"hex_timestamp":"0000019d9accdb50"} 
[2026-04-17 15:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":86,"data_length":795,"current_offset":136} 
[2026-04-17 15:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45954,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763087104001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763087104001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:12:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:12:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763087104001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":45954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21839,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:12:28] local.INFO: GPS data processed {"connection_id":45954,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:12:28] local.INFO: Acknowledgment sent {"connection_id":45954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:12:28] local.INFO: TCP Data received {"connection_id":46708,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad0cf08012d1ad90007243da0003100e422..."} 
[2026-04-17 15:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad0cf08012d1ad90007243da0003100e422..."} 
[2026-04-17 15:12:28] local.INFO: Processing buffer {"connection_id":46708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad0cf08012d1ad90007243da0003100e422..."} 
[2026-04-17 15:12:28] local.INFO: Packet analysis {"connection_id":46708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad0"} 
[2026-04-17 15:12:28] local.INFO: Extracted packet for processing {"connection_id":46708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad0"} 
[2026-04-17 15:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756734208,"raw_latitude":119815584,"longitude_deg":75.6734208,"latitude_deg":11.9815584,"altitude":49,"angle":228,"satellites":34,"speed":28,"hex_longitude":"2d1ad900","hex_latitude":"07243da0","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763229696001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113232754014945280,"note":"Value kept but may cause issues"} 
[2026-04-17 15:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1936196026721636352,"note":"Value kept but may cause issues"} 
[2026-04-17 15:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418869000,"timestamp_ms":1776418869000,"timestamp_seconds":1776418869,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad0cf08"} 
[2026-04-17 15:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-17 15:12:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763229696001,"66":13993,"176":206,"83":42752,"24":28,"16":113232754014945280,"45":1936196026721636352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-17 15:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763229696001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:12:28] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-17 15:12:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113232754014945280,"km_value":113232754014945.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1936196026721636352,"description":"Unknown IO ID 45"} 
[2026-04-17 15:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763229696001,"power":13993,"unknown_176":206,"unknown_83":42752,"ignition":28,"odometer":null,"unknown_45":1936196026721636352}} 
[2026-04-17 15:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":46708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21840,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:12:28] local.INFO: GPS data processed {"connection_id":46708,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:12:28] local.INFO: Acknowledgment sent {"connection_id":46708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:12:50] local.INFO: TCP Data received {"connection_id":46179,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:12:50] local.INFO: Processing buffer {"connection_id":46179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:12:50] local.INFO: IMEI packet received {"connection_id":46179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":46179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:12:56] local.INFO: TCP Data received {"connection_id":46179,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:12:56] local.INFO: Processing buffer {"connection_id":46179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:12:56] local.INFO: IMEI packet received {"connection_id":46179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:12:56] local.INFO: IMEI acknowledgment sent {"connection_id":46179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:12:57] local.INFO: TCP Data received {"connection_id":46179,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:12:57] local.INFO: Processing buffer {"connection_id":46179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:12:57] local.INFO: Packet analysis {"connection_id":46179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:12:57] local.INFO: Extracted packet for processing {"connection_id":46179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:12:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776418911000,"timestamp_ms":1776418911000,"timestamp_seconds":1776418911,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad17318"} 
[2026-04-17 15:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:12:57] 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-04-17 15:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763164160001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:12:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:12:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763164160001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":46179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:12:57] local.INFO: GPS data processed {"connection_id":46179,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:12:57] local.INFO: Acknowledgment sent {"connection_id":46179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:12:59] local.INFO: TCP Data received {"connection_id":46708,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad0dea8012d1acf8007243720003000ef21..."} 
[2026-04-17 15:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46708,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad0dea8012d1acf8007243720003000ef21..."} 
[2026-04-17 15:12:59] local.INFO: Processing buffer {"connection_id":46708,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad0dea8012d1acf8007243720003000ef21..."} 
[2026-04-17 15:12:59] local.INFO: Packet analysis {"connection_id":46708,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad0"} 
[2026-04-17 15:12:59] local.INFO: Extracted packet for processing {"connection_id":46708,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad0"} 
[2026-04-17 15:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756731776,"raw_latitude":119813920,"longitude_deg":75.6731776,"latitude_deg":11.981392,"altitude":48,"angle":239,"satellites":33,"speed":29,"hex_longitude":"2d1acf80","hex_latitude":"07243720","is_valid_coordinates":true} 
[2026-04-17 15:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763230464001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113232895748866048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934577545605128192,"note":"Value kept but may cause issues"} 
[2026-04-17 15:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776418873000,"timestamp_ms":1776418873000,"timestamp_seconds":1776418873,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad0dea8"} 
[2026-04-17 15:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:12:59] 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-04-17 15:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 15:12:59] 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-04-17 15:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46708,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46708,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763230464001,"66":13993,"176":206,"83":42752,"24":29,"16":113232895748866048,"45":1934577545605128192},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-17 15:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763230464001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:12:59] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-17 15:12:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113232895748866048,"km_value":113232895748866.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934577545605128192,"description":"Unknown IO ID 45"} 
[2026-04-17 15:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763230464001,"power":13993,"unknown_176":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1934577545605128192}} 
[2026-04-17 15:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":46708,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:12:59] local.INFO: GPS data processed {"connection_id":46708,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:12:59] local.INFO: Acknowledgment sent {"connection_id":46708,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:13:22] local.INFO: TCP Data received {"connection_id":45857,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:13:22] local.INFO: Processing buffer {"connection_id":45857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:13:22] local.INFO: IMEI packet received {"connection_id":45857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":45857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:13:27] local.INFO: TCP Data received {"connection_id":45857,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45857,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:13:27] local.INFO: Processing buffer {"connection_id":45857,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:13:27] local.INFO: IMEI packet received {"connection_id":45857,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":45857,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:13:28] local.INFO: TCP Data received {"connection_id":45857,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad109a0012d1aad00072426b0003000f622..."} 
[2026-04-17 15:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad109a0012d1aad00072426b0003000f622..."} 
[2026-04-17 15:13:28] local.INFO: Processing buffer {"connection_id":45857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad109a0012d1aad00072426b0003000f622..."} 
[2026-04-17 15:13:28] local.INFO: Packet analysis {"connection_id":45857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:13:28] local.INFO: Extracted packet for processing {"connection_id":45857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756722944,"raw_latitude":119809712,"longitude_deg":75.6722944,"latitude_deg":11.9809712,"altitude":48,"angle":246,"satellites":34,"speed":29,"hex_longitude":"2d1aad00","hex_latitude":"072426b0","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763231488001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113233363900301312,"note":"Value kept but may cause issues"} 
[2026-04-17 15:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1931903533325950976,"note":"Value kept but may cause issues"} 
[2026-04-17 15:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,176,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418884000,"timestamp_ms":1776418884000,"timestamp_seconds":1776418884,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad109a0"} 
[2026-04-17 15:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 15:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763231488001,"66":14048,"176":206,"83":42752,"24":29,"16":113233363900301312,"45":1931903533325950976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,176,83,24,16,45]} 
[2026-04-17 15:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763231488001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:13:28] local.INFO: Unknown IO ID detected {"io_id":176,"value":206,"description":"Unknown IO ID 176"} 
[2026-04-17 15:13:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113233363900301312,"km_value":113233363900301.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1931903533325950976,"description":"Unknown IO ID 45"} 
[2026-04-17 15:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763231488001,"power":14048,"unknown_176":206,"unknown_83":42752,"ignition":29,"odometer":null,"unknown_45":1931903533325950976}} 
[2026-04-17 15:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":45857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21843,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:13:28] local.INFO: GPS data processed {"connection_id":45857,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:13:28] local.INFO: Acknowledgment sent {"connection_id":45857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:13:28] local.INFO: TCP Data received {"connection_id":46179,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:13:28] local.INFO: Processing buffer {"connection_id":46179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:13:28] local.INFO: Packet analysis {"connection_id":46179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:13:28] local.INFO: Extracted packet for processing {"connection_id":46179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:13:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:13:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418911000,"timestamp_ms":1776418911000,"timestamp_seconds":1776418911,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad17318"} 
[2026-04-17 15:13:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:13:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:13:28] 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-04-17 15:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763164160001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:13:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:13:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763164160001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":46179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21844,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:13:28] local.INFO: GPS data processed {"connection_id":46179,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:13:28] local.INFO: Acknowledgment sent {"connection_id":46179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:13:50] local.INFO: TCP Data received {"connection_id":46180,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:13:50] local.INFO: Processing buffer {"connection_id":46180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:13:50] local.INFO: IMEI packet received {"connection_id":46180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":46180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:13:56] local.INFO: TCP Data received {"connection_id":46180,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:13:56] local.INFO: Processing buffer {"connection_id":46180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:13:56] local.INFO: IMEI packet received {"connection_id":46180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:13:56] local.INFO: IMEI acknowledgment sent {"connection_id":46180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:13:56] local.INFO: TCP Data received {"connection_id":46180,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:13:56] local.INFO: Processing buffer {"connection_id":46180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:13:56] local.INFO: Packet analysis {"connection_id":46180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:13:56] local.INFO: Extracted packet for processing {"connection_id":46180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:13:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776418911000,"timestamp_ms":1776418911000,"timestamp_seconds":1776418911,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad17318"} 
[2026-04-17 15:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:13:56] 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-04-17 15:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:13:56] 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-04-17 15:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763164160001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:13:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:13:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763164160001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":46180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21845,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:13:56] local.INFO: GPS data processed {"connection_id":46180,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:13:56] local.INFO: Acknowledgment sent {"connection_id":46180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:13:59] local.INFO: TCP Data received {"connection_id":45857,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad31128012d1a29000723b460003300ed25..."} 
[2026-04-17 15:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad31128012d1a29000723b460003300ed25..."} 
[2026-04-17 15:13:59] local.INFO: Processing buffer {"connection_id":45857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad31128012d1a29000723b460003300ed25..."} 
[2026-04-17 15:13:59] local.INFO: Packet analysis {"connection_id":45857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad3"} 
[2026-04-17 15:13:59] local.INFO: Extracted packet for processing {"connection_id":45857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad3"} 
[2026-04-17 15:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756689152,"raw_latitude":119780448,"longitude_deg":75.6689152,"latitude_deg":11.9780448,"altitude":51,"angle":237,"satellites":37,"speed":30,"hex_longitude":"2d1a2900","hex_latitude":"0723b460","is_valid_coordinates":true} 
[2026-04-17 15:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763266816001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113235592988327936,"note":"Value kept but may cause issues"} 
[2026-04-17 15:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1888697124392955904,"note":"Value kept but may cause issues"} 
[2026-04-17 15:13:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776419017000,"timestamp_ms":1776419017000,"timestamp_seconds":1776419017,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad31128"} 
[2026-04-17 15:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:13:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-17 15:13:59] 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-04-17 15:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45857,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763266816001,"66":13993,"43":206,"83":42752,"24":30,"16":113235592988327936,"45":1888697124392955904},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-04-17 15:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763266816001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:13:59] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-17 15:13:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113235592988327936,"km_value":113235592988327.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1888697124392955904,"description":"Unknown IO ID 45"} 
[2026-04-17 15:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763266816001,"power":13993,"unknown_43":206,"unknown_83":42752,"ignition":30,"odometer":null,"unknown_45":1888697124392955904}} 
[2026-04-17 15:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":45857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21846,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:13:59] local.INFO: GPS data processed {"connection_id":45857,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:13:59] local.INFO: Acknowledgment sent {"connection_id":45857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:14:22] local.INFO: TCP Data received {"connection_id":46711,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:14:22] local.INFO: Processing buffer {"connection_id":46711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:14:22] local.INFO: IMEI packet received {"connection_id":46711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":46711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:14:24] local.INFO: TCP Data received {"connection_id":46711,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:14:24] local.INFO: Processing buffer {"connection_id":46711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:14:24] local.INFO: IMEI packet received {"connection_id":46711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":46711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:14:28] local.INFO: TCP Data received {"connection_id":46180,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:14:28] local.INFO: Processing buffer {"connection_id":46180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:14:28] local.INFO: Packet analysis {"connection_id":46180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:14:28] local.INFO: Extracted packet for processing {"connection_id":46180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:14:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776418911000,"timestamp_ms":1776418911000,"timestamp_seconds":1776418911,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad17318"} 
[2026-04-17 15:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763164160001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:14:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:14:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763164160001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":46180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:14:28] local.INFO: GPS data processed {"connection_id":46180,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:14:28] local.INFO: Acknowledgment sent {"connection_id":46180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:14:34] local.INFO: TCP Data received {"connection_id":46711,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46711,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:14:34] local.INFO: Processing buffer {"connection_id":46711,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:14:34] local.INFO: IMEI packet received {"connection_id":46711,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:14:34] local.INFO: IMEI acknowledgment sent {"connection_id":46711,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:14:35] local.INFO: TCP Data received {"connection_id":46711,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad320c8012d1a1cc00723ae38003300f925..."} 
[2026-04-17 15:14:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad320c8012d1a1cc00723ae38003300f925..."} 
[2026-04-17 15:14:35] local.INFO: Processing buffer {"connection_id":46711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad320c8012d1a1cc00723ae38003300f925..."} 
[2026-04-17 15:14:35] local.INFO: Packet analysis {"connection_id":46711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad3"} 
[2026-04-17 15:14:35] local.INFO: Extracted packet for processing {"connection_id":46711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad3"} 
[2026-04-17 15:14:35] local.INFO: GPS Element Parsed {"raw_longitude":756686016,"raw_latitude":119778872,"longitude_deg":75.6686016,"latitude_deg":11.9778872,"altitude":51,"angle":249,"satellites":37,"speed":37,"hex_longitude":"2d1a1cc0","hex_latitude":"0723ae38","is_valid_coordinates":true} 
[2026-04-17 15:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:14:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763268352001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:14:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113235760492052480,"note":"Value kept but may cause issues"} 
[2026-04-17 15:14:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885037949695057920,"note":"Value kept but may cause issues"} 
[2026-04-17 15:14:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:14:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776419021000,"timestamp_ms":1776419021000,"timestamp_seconds":1776419021,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad320c8"} 
[2026-04-17 15:14:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:14:35] 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-04-17 15:14:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 15:14:35] 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-04-17 15:14:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:14:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:14:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:14:35] local.INFO: Teltonika packet parsed successfully {"connection_id":46711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:14:35] local.INFO: Passing IMEI to GPS processor {"connection_id":46711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:14:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":46711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:14:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:14:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:14:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:14:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763268352001,"66":13961,"43":206,"83":42752,"24":37,"16":113235760492052480,"45":1885037949695057920},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-04-17 15:14:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:14:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:14:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763268352001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:14:35] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-17 15:14:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:14:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113235760492052480,"km_value":113235760492052.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:14:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885037949695057920,"description":"Unknown IO ID 45"} 
[2026-04-17 15:14:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763268352001,"power":13961,"unknown_43":206,"unknown_83":42752,"ignition":37,"odometer":null,"unknown_45":1885037949695057920}} 
[2026-04-17 15:14:35] local.INFO: DEBUG: GPS processor result {"connection_id":46711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:14:35] local.INFO: GPS data processed {"connection_id":46711,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:14:35] local.INFO: Acknowledgment sent {"connection_id":46711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:14:55] local.INFO: TCP Data received {"connection_id":45858,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:14:55] local.INFO: Processing buffer {"connection_id":45858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:14:55] local.INFO: IMEI packet received {"connection_id":45858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":45858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:15:00] local.INFO: TCP Data received {"connection_id":45858,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:15:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45858,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:15:00] local.INFO: Processing buffer {"connection_id":45858,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:15:00] local.INFO: IMEI packet received {"connection_id":45858,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:15:00] local.INFO: IMEI acknowledgment sent {"connection_id":45858,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:15:01] local.INFO: TCP Data received {"connection_id":45858,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:15:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:15:01] local.INFO: Processing buffer {"connection_id":45858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:15:01] local.INFO: Packet analysis {"connection_id":45858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:15:01] local.INFO: Extracted packet for processing {"connection_id":45858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:15:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:15:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:15:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:15:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:15:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:15:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776418911000,"timestamp_ms":1776418911000,"timestamp_seconds":1776418911,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad17318"} 
[2026-04-17 15:15:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:15:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:15:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:15:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:15:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:15:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:15:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:15:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:15: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-04-17 15:15:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:15:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:15:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763164160001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:15:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:15:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:15:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:15:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:15:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:15:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:15:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:15:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763164160001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:15:01] local.INFO: DEBUG: GPS processor result {"connection_id":45858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:15:01] local.INFO: GPS data processed {"connection_id":45858,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:15:01] local.INFO: Acknowledgment sent {"connection_id":45858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:15:06] local.INFO: TCP Data received {"connection_id":45858,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45858,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:15:06] local.INFO: Processing buffer {"connection_id":45858,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:15:06] local.INFO: Packet analysis {"connection_id":45858,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:15:06] local.INFO: Extracted packet for processing {"connection_id":45858,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:15:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776418911000,"timestamp_ms":1776418911000,"timestamp_seconds":1776418911,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad17318"} 
[2026-04-17 15:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:15:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:15:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:15:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:15:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45858,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45858,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:15: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-04-17 15:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763164160001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:15:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:15:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763164160001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":45858,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:15:06] local.INFO: GPS data processed {"connection_id":45858,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:15:06] local.INFO: Acknowledgment sent {"connection_id":45858,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:15:09] local.INFO: TCP Data received {"connection_id":46711,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad33838012d1a05c00723a8a80034010525..."} 
[2026-04-17 15:15:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46711,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad33838012d1a05c00723a8a80034010525..."} 
[2026-04-17 15:15:09] local.INFO: Processing buffer {"connection_id":46711,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad33838012d1a05c00723a8a80034010525..."} 
[2026-04-17 15:15:09] local.INFO: Packet analysis {"connection_id":46711,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad3"} 
[2026-04-17 15:15:09] local.INFO: Extracted packet for processing {"connection_id":46711,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad3"} 
[2026-04-17 15:15:09] local.INFO: GPS Element Parsed {"raw_longitude":756680128,"raw_latitude":119777448,"longitude_deg":75.6680128,"latitude_deg":11.9777448,"altitude":52,"angle":261,"satellites":37,"speed":39,"hex_longitude":"2d1a05c0","hex_latitude":"0723a8a8","is_valid_coordinates":true} 
[2026-04-17 15:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:15:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763269376001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:15:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113236048254861312,"note":"Value kept but may cause issues"} 
[2026-04-17 15:15:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881589881229948928,"note":"Value kept but may cause issues"} 
[2026-04-17 15:15:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,43,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:15:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776419027000,"timestamp_ms":1776419027000,"timestamp_seconds":1776419027,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad33838"} 
[2026-04-17 15:15:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:15:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:15:09] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-17 15:15:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:15:09] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:15:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:15:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:15:09] local.INFO: Teltonika packet parsed successfully {"connection_id":46711,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:15:09] local.INFO: Passing IMEI to GPS processor {"connection_id":46711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:15:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":46711,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:15:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:15:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:15:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:15:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763269376001,"66":13993,"43":206,"83":42752,"24":39,"16":113236048254861312,"45":1881589881229948928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,43,83,24,16,45]} 
[2026-04-17 15:15:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:15:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:15:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763269376001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:15:09] local.INFO: Unknown IO ID detected {"io_id":43,"value":206,"description":"Unknown IO ID 43"} 
[2026-04-17 15:15:09] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:15:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113236048254861312,"km_value":113236048254861.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:15:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881589881229948928,"description":"Unknown IO ID 45"} 
[2026-04-17 15:15:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763269376001,"power":13993,"unknown_43":206,"unknown_83":42752,"ignition":39,"odometer":null,"unknown_45":1881589881229948928}} 
[2026-04-17 15:15:09] local.INFO: DEBUG: GPS processor result {"connection_id":46711,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:15:09] local.INFO: GPS data processed {"connection_id":46711,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:15:09] local.INFO: Acknowledgment sent {"connection_id":46711,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:15:21] local.INFO: TCP Data received {"connection_id":46182,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:15:21] local.INFO: Processing buffer {"connection_id":46182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:15:21] local.INFO: IMEI packet received {"connection_id":46182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":46182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:15:27] local.INFO: TCP Data received {"connection_id":46182,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46182,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:15:27] local.INFO: Processing buffer {"connection_id":46182,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:15:27] local.INFO: IMEI packet received {"connection_id":46182,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":46182,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:15:28] local.INFO: TCP Data received {"connection_id":46182,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad35b60012d19e1c00723a4780037010825..."} 
[2026-04-17 15:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad35b60012d19e1c00723a4780037010825..."} 
[2026-04-17 15:15:28] local.INFO: Processing buffer {"connection_id":46182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad35b60012d19e1c00723a4780037010825..."} 
[2026-04-17 15:15:28] local.INFO: Packet analysis {"connection_id":46182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad3"} 
[2026-04-17 15:15:28] local.INFO: Extracted packet for processing {"connection_id":46182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad3"} 
[2026-04-17 15:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756670912,"raw_latitude":119776376,"longitude_deg":75.6670912,"latitude_deg":11.9776376,"altitude":55,"angle":264,"satellites":37,"speed":38,"hex_longitude":"2d19e1c0","hex_latitude":"0723a478","is_valid_coordinates":true} 
[2026-04-17 15:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763270912001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113236486341525504,"note":"Value kept but may cause issues"} 
[2026-04-17 15:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1875115956765239296,"note":"Value kept but may cause issues"} 
[2026-04-17 15:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,42,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776419036000,"timestamp_ms":1776419036000,"timestamp_seconds":1776419036,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad35b60"} 
[2026-04-17 15:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:15:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13312,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 15:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763270912001,"66":13961,"42":206,"83":42752,"24":38,"16":113236486341525504,"45":1875115956765239296},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,42,83,24,16,45]} 
[2026-04-17 15:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763270912001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:15:28] local.INFO: Unknown IO ID detected {"io_id":42,"value":206,"description":"Unknown IO ID 42"} 
[2026-04-17 15:15:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113236486341525504,"km_value":113236486341525.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1875115956765239296,"description":"Unknown IO ID 45"} 
[2026-04-17 15:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763270912001,"power":13961,"unknown_42":206,"unknown_83":42752,"ignition":38,"odometer":null,"unknown_45":1875115956765239296}} 
[2026-04-17 15:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":46182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:15:28] local.INFO: GPS data processed {"connection_id":46182,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:15:28] local.INFO: Acknowledgment sent {"connection_id":46182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:15:50] local.INFO: TCP Data received {"connection_id":46183,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:15:50] local.INFO: Processing buffer {"connection_id":46183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:15:50] local.INFO: IMEI packet received {"connection_id":46183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":46183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:15:55] local.INFO: TCP Data received {"connection_id":46183,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46183,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:15:55] local.INFO: Processing buffer {"connection_id":46183,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:15:55] local.INFO: IMEI packet received {"connection_id":46183,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":46183,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:15:56] local.INFO: TCP Data received {"connection_id":46183,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:15:56] local.INFO: Processing buffer {"connection_id":46183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:15:56] local.INFO: Packet analysis {"connection_id":46183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:15:56] local.INFO: Extracted packet for processing {"connection_id":46183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:15:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776418911000,"timestamp_ms":1776418911000,"timestamp_seconds":1776418911,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad17318"} 
[2026-04-17 15:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:15:56] 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-04-17 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763164160001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:15:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763164160001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":46183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:15:56] local.INFO: GPS data processed {"connection_id":46183,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:15:56] local.INFO: Acknowledgment sent {"connection_id":46183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:16:00] local.INFO: TCP Data received {"connection_id":46182,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad50140012d18f7000722f728005e00f924..."} 
[2026-04-17 15:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad50140012d18f7000722f728005e00f924..."} 
[2026-04-17 15:16:00] local.INFO: Processing buffer {"connection_id":46182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad50140012d18f7000722f728005e00f924..."} 
[2026-04-17 15:16:00] local.INFO: Packet analysis {"connection_id":46182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad5"} 
[2026-04-17 15:16:00] local.INFO: Extracted packet for processing {"connection_id":46182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad5"} 
[2026-04-17 15:16:00] local.INFO: GPS Element Parsed {"raw_longitude":756610816,"raw_latitude":119732008,"longitude_deg":75.6610816,"latitude_deg":11.9732008,"altitude":94,"angle":249,"satellites":36,"speed":35,"hex_longitude":"2d18f700","hex_latitude":"0722f728","is_valid_coordinates":true} 
[2026-04-17 15:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763300608001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113240313157386240,"note":"Value kept but may cause issues"} 
[2026-04-17 15:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799751031739430912,"note":"Value kept but may cause issues"} 
[2026-04-17 15:16:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776419144000,"timestamp_ms":1776419144000,"timestamp_seconds":1776419144,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad50140"} 
[2026-04-17 15:16:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:16:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:16:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-17 15:16:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:16:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:16:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46182,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763300608001,"66":13961,"186":206,"83":42752,"24":35,"16":113240313157386240,"45":1799751031739430912},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-04-17 15:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763300608001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:16:00] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-17 15:16:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113240313157386240,"km_value":113240313157386.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799751031739430912,"description":"Unknown IO ID 45"} 
[2026-04-17 15:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763300608001,"power":13961,"unknown_186":206,"unknown_83":42752,"ignition":35,"odometer":null,"unknown_45":1799751031739430912}} 
[2026-04-17 15:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":46182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21854,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:16:00] local.INFO: GPS data processed {"connection_id":46182,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:16:00] local.INFO: Acknowledgment sent {"connection_id":46182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:16:24] local.INFO: TCP Data received {"connection_id":45859,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:16:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45859,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:16:24] local.INFO: Processing buffer {"connection_id":45859,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:16:24] local.INFO: IMEI packet received {"connection_id":45859,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 15:16:24] local.INFO: IMEI acknowledgment sent {"connection_id":45859,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:16:27] local.INFO: TCP Data received {"connection_id":45860,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:16:27] local.INFO: Processing buffer {"connection_id":45860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:16:27] local.INFO: IMEI packet received {"connection_id":45860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":45860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:16:27] local.INFO: TCP Data received {"connection_id":45860,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:16:27] local.INFO: Processing buffer {"connection_id":45860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:16:27] local.INFO: IMEI packet received {"connection_id":45860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":45860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:16:27] local.INFO: TCP Data received {"connection_id":46183,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:16:27] local.INFO: Processing buffer {"connection_id":46183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:16:27] local.INFO: Packet analysis {"connection_id":46183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:16:27] local.INFO: Extracted packet for processing {"connection_id":46183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776418911000,"timestamp_ms":1776418911000,"timestamp_seconds":1776418911,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad17318"} 
[2026-04-17 15:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:16:27] 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-04-17 15:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46183,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763164160001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:16:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763164160001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":46183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:16:27] local.INFO: GPS data processed {"connection_id":46183,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:16:27] local.INFO: Acknowledgment sent {"connection_id":46183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:16:43] local.INFO: TCP Data received {"connection_id":45860,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:16:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:16:43] local.INFO: Processing buffer {"connection_id":45860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:16:43] local.INFO: IMEI packet received {"connection_id":45860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:16:43] local.INFO: IMEI acknowledgment sent {"connection_id":45860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:16:44] local.INFO: TCP Data received {"connection_id":45860,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad50528012d18f3400722f650005e010424..."} 
[2026-04-17 15:16:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45860,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad50528012d18f3400722f650005e010424..."} 
[2026-04-17 15:16:44] local.INFO: Processing buffer {"connection_id":45860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad50528012d18f3400722f650005e010424..."} 
[2026-04-17 15:16:44] local.INFO: Packet analysis {"connection_id":45860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad5"} 
[2026-04-17 15:16:44] local.INFO: Extracted packet for processing {"connection_id":45860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad5"} 
[2026-04-17 15:16:44] local.INFO: GPS Element Parsed {"raw_longitude":756609856,"raw_latitude":119731792,"longitude_deg":75.6609856,"latitude_deg":11.9731792,"altitude":94,"angle":260,"satellites":36,"speed":36,"hex_longitude":"2d18f340","hex_latitude":"0722f650","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:16:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763300864001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:16:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113240356107059200,"note":"Value kept but may cause issues"} 
[2026-04-17 15:16:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798906606809196544,"note":"Value kept but may cause issues"} 
[2026-04-17 15:16:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:16:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776419145000,"timestamp_ms":1776419145000,"timestamp_seconds":1776419145,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad50528"} 
[2026-04-17 15:16:44] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:16:44] 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-04-17 15: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-17 15:16:44] 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-04-17 15: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-04-17 15:16:44] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:16:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:16:44] local.INFO: Teltonika packet parsed successfully {"connection_id":45860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:16:44] local.INFO: Passing IMEI to GPS processor {"connection_id":45860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:16:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":45860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:16:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:16:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:16:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:16:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763300864001,"66":13961,"186":206,"83":42752,"24":36,"16":113240356107059200,"45":1798906606809196544},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,83,24,16,45]} 
[2026-04-17 15:16:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:16:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:16:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763300864001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:16:44] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-17 15:16:44] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:16:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113240356107059200,"km_value":113240356107059.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:16:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798906606809196544,"description":"Unknown IO ID 45"} 
[2026-04-17 15:16:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763300864001,"power":13961,"unknown_186":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1798906606809196544}} 
[2026-04-17 15:16:44] local.INFO: DEBUG: GPS processor result {"connection_id":45860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:16:44] local.INFO: GPS data processed {"connection_id":45860,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:16:44] local.INFO: Acknowledgment sent {"connection_id":45860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:16:51] local.INFO: TCP Data received {"connection_id":46712,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:16:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:16:51] local.INFO: Processing buffer {"connection_id":46712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:16:51] local.INFO: IMEI packet received {"connection_id":46712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:16:51] local.INFO: IMEI acknowledgment sent {"connection_id":46712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:16:55] local.INFO: TCP Data received {"connection_id":46712,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46712,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:16:55] local.INFO: Processing buffer {"connection_id":46712,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:16:55] local.INFO: IMEI packet received {"connection_id":46712,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":46712,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:16:56] local.INFO: TCP Data received {"connection_id":46712,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:16:56] local.INFO: Processing buffer {"connection_id":46712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:16:56] local.INFO: Packet analysis {"connection_id":46712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:16:56] local.INFO: Extracted packet for processing {"connection_id":46712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776418911000,"timestamp_ms":1776418911000,"timestamp_seconds":1776418911,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad17318"} 
[2026-04-17 15:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:16:56] 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-04-17 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763164160001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:16:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763164160001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":46712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21857,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:16:56] local.INFO: GPS data processed {"connection_id":46712,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:16:56] local.INFO: Acknowledgment sent {"connection_id":46712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:17:05] local.INFO: TCP Data received {"connection_id":46184,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:17:05] local.INFO: Processing buffer {"connection_id":46184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:17:05] local.INFO: IMEI packet received {"connection_id":46184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 15:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":46184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:17:20] local.INFO: TCP Data received {"connection_id":45861,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:17:20] local.INFO: Processing buffer {"connection_id":45861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:17:20] local.INFO: IMEI packet received {"connection_id":45861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":45861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:17:21] local.INFO: TCP Data received {"connection_id":45861,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:17:21] local.INFO: Processing buffer {"connection_id":45861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:17:21] local.INFO: IMEI packet received {"connection_id":45861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":45861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:17:27] local.INFO: TCP Data received {"connection_id":45861,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45861,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:17:27] local.INFO: Processing buffer {"connection_id":45861,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:17:27] local.INFO: IMEI packet received {"connection_id":45861,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":45861,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:17:27] local.INFO: TCP Data received {"connection_id":46712,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46712,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:17:27] local.INFO: Processing buffer {"connection_id":46712,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad17318012d7faa8005afd2f8000800002e..."} 
[2026-04-17 15:17:27] local.INFO: Packet analysis {"connection_id":46712,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:17:27] local.INFO: Extracted packet for processing {"connection_id":46712,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad1"} 
[2026-04-17 15:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763164160001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776418911000,"timestamp_ms":1776418911000,"timestamp_seconds":1776418911,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad17318"} 
[2026-04-17 15:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:17:27] 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-04-17 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46712,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46712,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763164160001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763164160001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:17:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763164160001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":46712,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:17:27] local.INFO: GPS data processed {"connection_id":46712,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:17:27] local.INFO: Acknowledgment sent {"connection_id":46712,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:17:27] local.INFO: TCP Data received {"connection_id":45861,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad59d80012d18a2400722bb98006900ac26..."} 
[2026-04-17 15:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad59d80012d18a2400722bb98006900ac26..."} 
[2026-04-17 15:17:27] local.INFO: Processing buffer {"connection_id":45861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad59d80012d18a2400722bb98006900ac26..."} 
[2026-04-17 15:17:27] local.INFO: Packet analysis {"connection_id":45861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad5"} 
[2026-04-17 15:17:27] local.INFO: Extracted packet for processing {"connection_id":45861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad5"} 
[2026-04-17 15:17:27] local.INFO: GPS Element Parsed {"raw_longitude":756589120,"raw_latitude":119716760,"longitude_deg":75.658912,"latitude_deg":11.971676,"altitude":105,"angle":172,"satellites":38,"speed":36,"hex_longitude":"2d18a240","hex_latitude":"0722bb98","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763310592001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113241966719795200,"note":"Value kept but may cause issues"} 
[2026-04-17 15:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775051602529531904,"note":"Value kept but may cause issues"} 
[2026-04-17 15:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,137,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776419184000,"timestamp_ms":1776419184000,"timestamp_seconds":1776419184,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad59d80"} 
[2026-04-17 15:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15: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-04-17 15: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-04-17 15:17:27] 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-04-17 15: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-04-17 15:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763310592001,"66":13820,"137":206,"83":42752,"24":36,"16":113241966719795200,"45":1775051602529531904},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,137,83,24,16,45]} 
[2026-04-17 15:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763310592001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:17:27] local.INFO: Unknown IO ID detected {"io_id":137,"value":206,"description":"Unknown IO ID 137"} 
[2026-04-17 15:17:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":42752,"description":"Unknown IO ID 83"} 
[2026-04-17 15:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113241966719795200,"km_value":113241966719795.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775051602529531904,"description":"Unknown IO ID 45"} 
[2026-04-17 15:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763310592001,"power":13820,"unknown_137":206,"unknown_83":42752,"ignition":36,"odometer":null,"unknown_45":1775051602529531904}} 
[2026-04-17 15:17:28] local.INFO: DEBUG: GPS processor result {"connection_id":45861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21859,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:17:28] local.INFO: GPS data processed {"connection_id":45861,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:17:28] local.INFO: Acknowledgment sent {"connection_id":45861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:17:50] local.INFO: TCP Data received {"connection_id":46185,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:17:50] local.INFO: Processing buffer {"connection_id":46185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:17:50] local.INFO: IMEI packet received {"connection_id":46185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":46185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:17:55] local.INFO: TCP Data received {"connection_id":46185,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:17:55] local.INFO: Processing buffer {"connection_id":46185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:17:55] local.INFO: IMEI packet received {"connection_id":46185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":46185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:17:56] local.INFO: TCP Data received {"connection_id":46185,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:17:56] local.INFO: Processing buffer {"connection_id":46185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:17:56] local.INFO: Packet analysis {"connection_id":46185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:17:56] local.INFO: Extracted packet for processing {"connection_id":46185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:17:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763241216001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776419212000,"timestamp_ms":1776419212000,"timestamp_seconds":1776419212,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad60ae0"} 
[2026-04-17 15:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763241216001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763241216001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:17:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763241216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":46185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21860,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:17:56] local.INFO: GPS data processed {"connection_id":46185,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:17:56] local.INFO: Acknowledgment sent {"connection_id":46185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:17:58] local.INFO: TCP Data received {"connection_id":45861,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad5eba0012d18a8800722a100006d00a725..."} 
[2026-04-17 15:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad5eba0012d18a8800722a100006d00a725..."} 
[2026-04-17 15:17:58] local.INFO: Processing buffer {"connection_id":45861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad5eba0012d18a8800722a100006d00a725..."} 
[2026-04-17 15:17:58] local.INFO: Packet analysis {"connection_id":45861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad5"} 
[2026-04-17 15:17:58] local.INFO: Extracted packet for processing {"connection_id":45861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad5"} 
[2026-04-17 15:17:58] local.INFO: GPS Element Parsed {"raw_longitude":756590720,"raw_latitude":119709952,"longitude_deg":75.659072,"latitude_deg":11.9709952,"altitude":109,"angle":167,"satellites":37,"speed":0,"hex_longitude":"2d18a880","hex_latitude":"0722a100","is_valid_coordinates":true} 
[2026-04-17 15:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763311104001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113242314612146176,"note":"Value kept but may cause issues"} 
[2026-04-17 15:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775051602529064960,"note":"Value kept but may cause issues"} 
[2026-04-17 15:17:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776419204000,"timestamp_ms":1776419204000,"timestamp_seconds":1776419204,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad5eba0"} 
[2026-04-17 15:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:17:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-17 15:17:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:17:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45861,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763311104001,"66":13287,"105":206,"83":41984,"24":0,"16":113242314612146176,"45":1775051602529064960},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763311104001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:17:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:17:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113242314612146176,"km_value":113242314612146.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775051602529064960,"description":"Unknown IO ID 45"} 
[2026-04-17 15:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763311104001,"power":13287,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1775051602529064960}} 
[2026-04-17 15:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":45861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21861,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:17:58] local.INFO: GPS data processed {"connection_id":45861,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:17:58] local.INFO: Acknowledgment sent {"connection_id":45861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:18:21] local.INFO: TCP Data received {"connection_id":45862,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:18:21] local.INFO: Processing buffer {"connection_id":45862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:18:21] local.INFO: IMEI packet received {"connection_id":45862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":45862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:18:26] local.INFO: TCP Data received {"connection_id":45862,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:18:26] local.INFO: Processing buffer {"connection_id":45862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:18:26] local.INFO: IMEI packet received {"connection_id":45862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":45862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:18:27] local.INFO: TCP Data received {"connection_id":45862,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad606f8012d18a98007229758006e00b326..."} 
[2026-04-17 15:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad606f8012d18a98007229758006e00b326..."} 
[2026-04-17 15:18:27] local.INFO: Processing buffer {"connection_id":45862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad606f8012d18a98007229758006e00b326..."} 
[2026-04-17 15:18:27] local.INFO: Packet analysis {"connection_id":45862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:18:27] local.INFO: Extracted packet for processing {"connection_id":45862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756590976,"raw_latitude":119707480,"longitude_deg":75.6590976,"latitude_deg":11.970748,"altitude":110,"angle":179,"satellites":38,"speed":22,"hex_longitude":"2d18a980","hex_latitude":"07229758","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763316224001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113242434871230464,"note":"Value kept but may cause issues"} 
[2026-04-17 15:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1776810821131763712,"note":"Value kept but may cause issues"} 
[2026-04-17 15:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776419211000,"timestamp_ms":1776419211000,"timestamp_seconds":1776419211,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad606f8"} 
[2026-04-17 15:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:18: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-04-17 15: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":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-04-17 15:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763316224001,"66":12885,"105":206,"83":41984,"24":22,"16":113242434871230464,"45":1776810821131763712},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763316224001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:18:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113242434871230464,"km_value":113242434871230.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1776810821131763712,"description":"Unknown IO ID 45"} 
[2026-04-17 15:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763316224001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":22,"odometer":null,"unknown_45":1776810821131763712}} 
[2026-04-17 15:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":45862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:18:27] local.INFO: GPS data processed {"connection_id":45862,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:18:27] local.INFO: Acknowledgment sent {"connection_id":45862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:18:28] local.INFO: TCP Data received {"connection_id":46185,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:18:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:18:28] local.INFO: Processing buffer {"connection_id":46185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:18:28] local.INFO: Packet analysis {"connection_id":46185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:18:28] local.INFO: Extracted packet for processing {"connection_id":46185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:18:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:18:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763241216001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:18:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:18:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:18:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:18:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776419212000,"timestamp_ms":1776419212000,"timestamp_seconds":1776419212,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad60ae0"} 
[2026-04-17 15:18:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:18:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:18: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-04-17 15: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-04-17 15:18:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:18:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:18:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:18:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:18:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46185,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:18:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:18:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:18:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:18:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763241216001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:18:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:18:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:18:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763241216001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:18:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:18:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:18:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:18:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:18:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763241216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":46185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21863,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:18:28] local.INFO: GPS data processed {"connection_id":46185,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:18:28] local.INFO: Acknowledgment sent {"connection_id":46185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:18:50] local.INFO: TCP Data received {"connection_id":46713,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:18:50] local.INFO: Processing buffer {"connection_id":46713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:18:50] local.INFO: IMEI packet received {"connection_id":46713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":46713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:18:55] local.INFO: TCP Data received {"connection_id":46713,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46713,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:18:55] local.INFO: Processing buffer {"connection_id":46713,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:18:55] local.INFO: IMEI packet received {"connection_id":46713,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":46713,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:18:56] local.INFO: TCP Data received {"connection_id":46713,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:18:56] local.INFO: Processing buffer {"connection_id":46713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:18:56] local.INFO: Packet analysis {"connection_id":46713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:18:56] local.INFO: Extracted packet for processing {"connection_id":46713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763241216001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776419212000,"timestamp_ms":1776419212000,"timestamp_seconds":1776419212,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad60ae0"} 
[2026-04-17 15:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:18:56] 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-04-17 15:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763241216001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763241216001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:18:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763241216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":46713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:18:56] local.INFO: GPS data processed {"connection_id":46713,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:18:56] local.INFO: Acknowledgment sent {"connection_id":46713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:18:58] local.INFO: TCP Data received {"connection_id":45862,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad61e68012d18a800072285f0006d00be24..."} 
[2026-04-17 15:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad61e68012d18a800072285f0006d00be24..."} 
[2026-04-17 15:18:58] local.INFO: Processing buffer {"connection_id":45862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad61e68012d18a800072285f0006d00be24..."} 
[2026-04-17 15:18:58] local.INFO: Packet analysis {"connection_id":45862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:18:58] local.INFO: Extracted packet for processing {"connection_id":45862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756590592,"raw_latitude":119703024,"longitude_deg":75.6590592,"latitude_deg":11.9703024,"altitude":109,"angle":190,"satellites":36,"speed":33,"hex_longitude":"2d18a800","hex_latitude":"072285f0","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763318016001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113242653914562560,"note":"Value kept but may cause issues"} 
[2026-04-17 15:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777092296107841536,"note":"Value kept but may cause issues"} 
[2026-04-17 15:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776419217000,"timestamp_ms":1776419217000,"timestamp_seconds":1776419217,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad61e68"} 
[2026-04-17 15:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":85,"data_length":795,"current_offset":136} 
[2026-04-17 15:18:58] 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-04-17 15: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-04-17 15:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763318016001,"66":12798,"105":206,"83":41984,"24":33,"16":113242653914562560,"45":1777092296107841536},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763318016001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:18:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113242653914562560,"km_value":113242653914562.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777092296107841536,"description":"Unknown IO ID 45"} 
[2026-04-17 15:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763318016001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1777092296107841536}} 
[2026-04-17 15:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":45862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21865,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:18:58] local.INFO: GPS data processed {"connection_id":45862,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:18:58] local.INFO: Acknowledgment sent {"connection_id":45862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:19:21] local.INFO: TCP Data received {"connection_id":45957,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:19:21] local.INFO: Processing buffer {"connection_id":45957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:19:21] local.INFO: IMEI packet received {"connection_id":45957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":45957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:19:25] local.INFO: TCP Data received {"connection_id":45957,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:19:25] local.INFO: Processing buffer {"connection_id":45957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:19:25] local.INFO: IMEI packet received {"connection_id":45957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":45957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:19:26] local.INFO: TCP Data received {"connection_id":45957,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45957,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:19:26] local.INFO: Processing buffer {"connection_id":45957,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:19:26] local.INFO: IMEI packet received {"connection_id":45957,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":45957,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:19:27] local.INFO: TCP Data received {"connection_id":45957,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad76688012d181e400721ae30004b00b726..."} 
[2026-04-17 15:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad76688012d181e400721ae30004b00b726..."} 
[2026-04-17 15:19:27] local.INFO: Processing buffer {"connection_id":45957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad76688012d181e400721ae30004b00b726..."} 
[2026-04-17 15:19:27] local.INFO: Packet analysis {"connection_id":45957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad7"} 
[2026-04-17 15:19:27] local.INFO: Extracted packet for processing {"connection_id":45957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad7"} 
[2026-04-17 15:19:27] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647792,"longitude_deg":75.6555328,"latitude_deg":11.9647792,"altitude":75,"angle":183,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae30","is_valid_coordinates":true} 
[2026-04-17 15:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763339776001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113245827895394304,"note":"Value kept but may cause issues"} 
[2026-04-17 15:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074017280,"note":"Value kept but may cause issues"} 
[2026-04-17 15:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776419301000,"timestamp_ms":1776419301000,"timestamp_seconds":1776419301,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad76688"} 
[2026-04-17 15:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:19: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-04-17 15:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 15:19:27] 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-04-17 15:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763339776001,"66":12341,"105":206,"83":41984,"24":0,"16":113245827895394304,"45":1738037643074017280},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763339776001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:19:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:19:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113245827895394304,"km_value":113245827895394.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074017280,"description":"Unknown IO ID 45"} 
[2026-04-17 15:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763339776001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074017280}} 
[2026-04-17 15:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":45957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:19:27] local.INFO: GPS data processed {"connection_id":45957,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:19:27] local.INFO: Acknowledgment sent {"connection_id":45957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:19:28] local.INFO: TCP Data received {"connection_id":46713,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46713,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:19:28] local.INFO: Processing buffer {"connection_id":46713,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:19:28] local.INFO: Packet analysis {"connection_id":46713,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:19:28] local.INFO: Extracted packet for processing {"connection_id":46713,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:19:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763241216001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776419212000,"timestamp_ms":1776419212000,"timestamp_seconds":1776419212,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad60ae0"} 
[2026-04-17 15:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:19: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-04-17 15: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-04-17 15:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46713,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46713,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763241216001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763241216001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:19:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:19:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763241216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":46713,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:19:28] local.INFO: GPS data processed {"connection_id":46713,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:19:28] local.INFO: Acknowledgment sent {"connection_id":46713,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:19:32] local.INFO: TCP Data received {"connection_id":45957,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad7b4a8012d181e400721ae38004b00b724..."} 
[2026-04-17 15:19:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad7b4a8012d181e400721ae38004b00b724..."} 
[2026-04-17 15:19:32] local.INFO: Processing buffer {"connection_id":45957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad7b4a8012d181e400721ae38004b00b724..."} 
[2026-04-17 15:19:32] local.INFO: Packet analysis {"connection_id":45957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad7"} 
[2026-04-17 15:19:32] local.INFO: Extracted packet for processing {"connection_id":45957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad7"} 
[2026-04-17 15:19:32] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647800,"longitude_deg":75.6555328,"latitude_deg":11.96478,"altitude":75,"angle":183,"satellites":36,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-04-17 15:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:19:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763341056001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:19:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113245827895394304,"note":"Value kept but may cause issues"} 
[2026-04-17 15:19:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585602560,"note":"Value kept but may cause issues"} 
[2026-04-17 15:19:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:19:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776419321000,"timestamp_ms":1776419321000,"timestamp_seconds":1776419321,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad7b4a8"} 
[2026-04-17 15:19:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:19:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:19:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:19:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:19:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:19:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:19:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:19:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:19:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:19:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:19:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:19:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:19:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:19:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763341056001,"66":12374,"105":206,"83":41984,"24":0,"16":113245827895394304,"45":1737896905585602560},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:19:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:19:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:19:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763341056001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:19:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:19:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:19:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113245827895394304,"km_value":113245827895394.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:19:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585602560,"description":"Unknown IO ID 45"} 
[2026-04-17 15:19:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763341056001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585602560}} 
[2026-04-17 15:19:32] local.INFO: DEBUG: GPS processor result {"connection_id":45957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21868,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:19:32] local.INFO: GPS data processed {"connection_id":45957,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:19:32] local.INFO: Acknowledgment sent {"connection_id":45957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:19:55] local.INFO: TCP Data received {"connection_id":46186,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:19:55] local.INFO: Processing buffer {"connection_id":46186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:19:55] local.INFO: IMEI packet received {"connection_id":46186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":46186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:20:00] local.INFO: TCP Data received {"connection_id":46186,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46186,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:20:00] local.INFO: Processing buffer {"connection_id":46186,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:20:00] local.INFO: IMEI packet received {"connection_id":46186,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":46186,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:20:01] local.INFO: TCP Data received {"connection_id":46186,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:20:01] local.INFO: Processing buffer {"connection_id":46186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:20:01] local.INFO: Packet analysis {"connection_id":46186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:20:01] local.INFO: Extracted packet for processing {"connection_id":46186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:20:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763241216001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776419212000,"timestamp_ms":1776419212000,"timestamp_seconds":1776419212,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad60ae0"} 
[2026-04-17 15:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:20:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:20:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:20:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:20: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-04-17 15:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763241216001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763241216001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:20:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:20:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763241216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":46186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21869,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:20:01] local.INFO: GPS data processed {"connection_id":46186,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:20:01] local.INFO: Acknowledgment sent {"connection_id":46186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:20:03] local.INFO: TCP Data received {"connection_id":45957,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad802c8012d181e400721ae38004b00b726..."} 
[2026-04-17 15:20:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad802c8012d181e400721ae38004b00b726..."} 
[2026-04-17 15:20:03] local.INFO: Processing buffer {"connection_id":45957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad802c8012d181e400721ae38004b00b726..."} 
[2026-04-17 15:20:03] local.INFO: Packet analysis {"connection_id":45957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad8"} 
[2026-04-17 15:20:03] local.INFO: Extracted packet for processing {"connection_id":45957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad8"} 
[2026-04-17 15:20:03] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647800,"longitude_deg":75.6555328,"latitude_deg":11.96478,"altitude":75,"angle":183,"satellites":38,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-04-17 15:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:20:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763346176001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:20:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113245827895394304,"note":"Value kept but may cause issues"} 
[2026-04-17 15:20:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585604608,"note":"Value kept but may cause issues"} 
[2026-04-17 15:20:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:20:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776419341000,"timestamp_ms":1776419341000,"timestamp_seconds":1776419341,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad802c8"} 
[2026-04-17 15:20:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:20:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:20:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 15:20:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1212,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:20:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:20:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:20:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:20:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:20:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:20:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45957,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:20:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:20:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:20:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:20:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763346176001,"66":12341,"105":206,"83":41984,"24":0,"16":113245827895394304,"45":1737896905585604608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:20:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:20:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:20:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763346176001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:20:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:20:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:20:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113245827895394304,"km_value":113245827895394.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:20:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585604608,"description":"Unknown IO ID 45"} 
[2026-04-17 15:20:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763346176001,"power":12341,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585604608}} 
[2026-04-17 15:20:03] local.INFO: DEBUG: GPS processor result {"connection_id":45957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21870,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:20:03] local.INFO: GPS data processed {"connection_id":45957,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:20:03] local.INFO: Acknowledgment sent {"connection_id":45957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:20:06] local.INFO: TCP Data received {"connection_id":46186,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:20:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46186,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:20:06] local.INFO: Processing buffer {"connection_id":46186,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:20:06] local.INFO: Packet analysis {"connection_id":46186,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:20:06] local.INFO: Extracted packet for processing {"connection_id":46186,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:20:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:20:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763241216001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:20:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:20:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:20:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:20:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776419212000,"timestamp_ms":1776419212000,"timestamp_seconds":1776419212,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad60ae0"} 
[2026-04-17 15:20:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:20:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:20:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:20:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:20:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:20:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:20:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46186,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:20:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:20:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46186,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:20: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-04-17 15:20:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:20:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:20:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763241216001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:20:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:20:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:20:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763241216001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:20:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:20:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:20:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:20:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:20:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763241216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:20:06] local.INFO: DEBUG: GPS processor result {"connection_id":46186,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21871,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:20:06] local.INFO: GPS data processed {"connection_id":46186,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:20:06] local.INFO: Acknowledgment sent {"connection_id":46186,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:20:21] local.INFO: TCP Data received {"connection_id":46714,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:20:21] local.INFO: Processing buffer {"connection_id":46714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:20:21] local.INFO: IMEI packet received {"connection_id":46714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":46714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:20:27] local.INFO: TCP Data received {"connection_id":46714,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46714,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:20:27] local.INFO: Processing buffer {"connection_id":46714,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:20:27] local.INFO: IMEI packet received {"connection_id":46714,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:20:27] local.INFO: IMEI acknowledgment sent {"connection_id":46714,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:20:28] local.INFO: TCP Data received {"connection_id":46714,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad850e8012d181e400721ae38004b00b727..."} 
[2026-04-17 15:20:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad850e8012d181e400721ae38004b00b727..."} 
[2026-04-17 15:20:28] local.INFO: Processing buffer {"connection_id":46714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad850e8012d181e400721ae38004b00b727..."} 
[2026-04-17 15:20:28] local.INFO: Packet analysis {"connection_id":46714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad8"} 
[2026-04-17 15:20:28] local.INFO: Extracted packet for processing {"connection_id":46714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad8"} 
[2026-04-17 15:20:28] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647800,"longitude_deg":75.6555328,"latitude_deg":11.96478,"altitude":75,"angle":183,"satellites":39,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-04-17 15:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:20:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763351296001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:20:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113245827895394304,"note":"Value kept but may cause issues"} 
[2026-04-17 15:20:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585604608,"note":"Value kept but may cause issues"} 
[2026-04-17 15:20:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:20:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776419361000,"timestamp_ms":1776419361000,"timestamp_seconds":1776419361,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad850e8"} 
[2026-04-17 15:20:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:20:28] 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-04-17 15:20:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:20:28] 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-04-17 15:20:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:20:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:20:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:20:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:20:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:20:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:20:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:20:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:20:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:20:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763351296001,"66":12374,"105":206,"83":41984,"24":0,"16":113245827895394304,"45":1737896905585604608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:20:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:20:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:20:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763351296001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:20:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:20:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:20:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113245827895394304,"km_value":113245827895394.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:20:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585604608,"description":"Unknown IO ID 45"} 
[2026-04-17 15:20:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763351296001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585604608}} 
[2026-04-17 15:20:28] local.INFO: DEBUG: GPS processor result {"connection_id":46714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21872,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:20:28] local.INFO: GPS data processed {"connection_id":46714,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:20:28] local.INFO: Acknowledgment sent {"connection_id":46714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:20:50] local.INFO: TCP Data received {"connection_id":46188,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:20:50] local.INFO: Processing buffer {"connection_id":46188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:20:50] local.INFO: IMEI packet received {"connection_id":46188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":46188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:20:55] local.INFO: TCP Data received {"connection_id":46188,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:20:55] local.INFO: Processing buffer {"connection_id":46188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:20:55] local.INFO: IMEI packet received {"connection_id":46188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":46188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:20:56] local.INFO: TCP Data received {"connection_id":46188,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:20:56] local.INFO: Processing buffer {"connection_id":46188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:20:56] local.INFO: Packet analysis {"connection_id":46188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:20:56] local.INFO: Extracted packet for processing {"connection_id":46188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763241216001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776419212000,"timestamp_ms":1776419212000,"timestamp_seconds":1776419212,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad60ae0"} 
[2026-04-17 15:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763241216001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763241216001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:20:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763241216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":46188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21873,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:20:56] local.INFO: GPS data processed {"connection_id":46188,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:20:56] local.INFO: Acknowledgment sent {"connection_id":46188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:20:59] local.INFO: TCP Data received {"connection_id":46714,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad89b20012d181e400721ae38004b00b729..."} 
[2026-04-17 15:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46714,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad89b20012d181e400721ae38004b00b729..."} 
[2026-04-17 15:20:59] local.INFO: Processing buffer {"connection_id":46714,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad89b20012d181e400721ae38004b00b729..."} 
[2026-04-17 15:20:59] local.INFO: Packet analysis {"connection_id":46714,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad8"} 
[2026-04-17 15:20:59] local.INFO: Extracted packet for processing {"connection_id":46714,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad8"} 
[2026-04-17 15:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647800,"longitude_deg":75.6555328,"latitude_deg":11.96478,"altitude":75,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763356416001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113245827895394304,"note":"Value kept but may cause issues"} 
[2026-04-17 15:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585604608,"note":"Value kept but may cause issues"} 
[2026-04-17 15:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776419380000,"timestamp_ms":1776419380000,"timestamp_seconds":1776419380,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad89b20"} 
[2026-04-17 15:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 15:20:59] 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-04-17 15: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-04-17 15:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46714,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46714,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763356416001,"66":12385,"105":206,"83":41984,"24":0,"16":113245827895394304,"45":1737896905585604608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763356416001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:20:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:20:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113245827895394304,"km_value":113245827895394.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585604608,"description":"Unknown IO ID 45"} 
[2026-04-17 15:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763356416001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585604608}} 
[2026-04-17 15:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":46714,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:20:59] local.INFO: GPS data processed {"connection_id":46714,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:20:59] local.INFO: Acknowledgment sent {"connection_id":46714,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:21:21] local.INFO: TCP Data received {"connection_id":45959,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:21:21] local.INFO: Processing buffer {"connection_id":45959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:21:21] local.INFO: IMEI packet received {"connection_id":45959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":45959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:21:27] local.INFO: TCP Data received {"connection_id":45959,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:21:27] local.INFO: Processing buffer {"connection_id":45959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:21:27] local.INFO: IMEI packet received {"connection_id":45959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":45959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:21:27] local.INFO: TCP Data received {"connection_id":46188,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:21:27] local.INFO: Processing buffer {"connection_id":46188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:21:27] local.INFO: Packet analysis {"connection_id":46188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:21:27] local.INFO: Extracted packet for processing {"connection_id":46188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763241216001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776419212000,"timestamp_ms":1776419212000,"timestamp_seconds":1776419212,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad60ae0"} 
[2026-04-17 15:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763241216001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763241216001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:21:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763241216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":46188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:21:27] local.INFO: GPS data processed {"connection_id":46188,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:21:27] local.INFO: Acknowledgment sent {"connection_id":46188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:21:28] local.INFO: TCP Data received {"connection_id":45959,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad8e940012d181e400721ae38004b00b728..."} 
[2026-04-17 15:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad8e940012d181e400721ae38004b00b728..."} 
[2026-04-17 15:21:28] local.INFO: Processing buffer {"connection_id":45959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad8e940012d181e400721ae38004b00b728..."} 
[2026-04-17 15:21:28] local.INFO: Packet analysis {"connection_id":45959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad8"} 
[2026-04-17 15:21:28] local.INFO: Extracted packet for processing {"connection_id":45959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad8"} 
[2026-04-17 15:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647800,"longitude_deg":75.6555328,"latitude_deg":11.96478,"altitude":75,"angle":183,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763361280001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113245827895394304,"note":"Value kept but may cause issues"} 
[2026-04-17 15:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585604608,"note":"Value kept but may cause issues"} 
[2026-04-17 15:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776419400000,"timestamp_ms":1776419400000,"timestamp_seconds":1776419400,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad8e940"} 
[2026-04-17 15:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:21:28] 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-04-17 15: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 15:21:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763361280001,"66":12428,"105":206,"83":41984,"24":0,"16":113245827895394304,"45":1737896905585604608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763361280001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:21:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:21:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113245827895394304,"km_value":113245827895394.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585604608,"description":"Unknown IO ID 45"} 
[2026-04-17 15:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763361280001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585604608}} 
[2026-04-17 15:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":45959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21876,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:21:28] local.INFO: GPS data processed {"connection_id":45959,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:21:28] local.INFO: Acknowledgment sent {"connection_id":45959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:21:51] local.INFO: TCP Data received {"connection_id":46715,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:21:51] local.INFO: Processing buffer {"connection_id":46715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:21:51] local.INFO: IMEI packet received {"connection_id":46715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":46715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:21:55] local.INFO: TCP Data received {"connection_id":46715,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46715,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:21:55] local.INFO: Processing buffer {"connection_id":46715,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:21:55] local.INFO: IMEI packet received {"connection_id":46715,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":46715,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:21:56] local.INFO: TCP Data received {"connection_id":46715,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:21:56] local.INFO: Processing buffer {"connection_id":46715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:21:56] local.INFO: Packet analysis {"connection_id":46715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:21:56] local.INFO: Extracted packet for processing {"connection_id":46715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763241216001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776419212000,"timestamp_ms":1776419212000,"timestamp_seconds":1776419212,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad60ae0"} 
[2026-04-17 15:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763241216001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763241216001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:21:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763241216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":46715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21877,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:21:56] local.INFO: GPS data processed {"connection_id":46715,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:21:56] local.INFO: Acknowledgment sent {"connection_id":46715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:21:59] local.INFO: TCP Data received {"connection_id":45959,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad93760012d181e400721ae38004b00b728..."} 
[2026-04-17 15:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad93760012d181e400721ae38004b00b728..."} 
[2026-04-17 15:21:59] local.INFO: Processing buffer {"connection_id":45959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad93760012d181e400721ae38004b00b728..."} 
[2026-04-17 15:21:59] local.INFO: Packet analysis {"connection_id":45959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad9"} 
[2026-04-17 15:21:59] local.INFO: Extracted packet for processing {"connection_id":45959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad9"} 
[2026-04-17 15:21:59] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647800,"longitude_deg":75.6555328,"latitude_deg":11.96478,"altitude":75,"angle":183,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-04-17 15:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763366400001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113245827895394304,"note":"Value kept but may cause issues"} 
[2026-04-17 15:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585604608,"note":"Value kept but may cause issues"} 
[2026-04-17 15:21:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776419420000,"timestamp_ms":1776419420000,"timestamp_seconds":1776419420,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad93760"} 
[2026-04-17 15:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:21:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 15:21: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-04-17 15:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763366400001,"66":12428,"105":206,"83":41984,"24":0,"16":113245827895394304,"45":1737896905585604608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763366400001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:21:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:21:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113245827895394304,"km_value":113245827895394.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585604608,"description":"Unknown IO ID 45"} 
[2026-04-17 15:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763366400001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585604608}} 
[2026-04-17 15:21:59] local.INFO: DEBUG: GPS processor result {"connection_id":45959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:21:59] local.INFO: GPS data processed {"connection_id":45959,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:21:59] local.INFO: Acknowledgment sent {"connection_id":45959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:22:21] local.INFO: TCP Data received {"connection_id":45863,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:22:21] local.INFO: Processing buffer {"connection_id":45863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:22:21] local.INFO: IMEI packet received {"connection_id":45863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":45863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:22:27] local.INFO: TCP Data received {"connection_id":45863,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:22:27] local.INFO: Processing buffer {"connection_id":45863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:22:27] local.INFO: IMEI packet received {"connection_id":45863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:22:27] local.INFO: IMEI acknowledgment sent {"connection_id":45863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:22:27] local.INFO: TCP Data received {"connection_id":45863,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad98198012d181e400721ae38004b00b728..."} 
[2026-04-17 15:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad98198012d181e400721ae38004b00b728..."} 
[2026-04-17 15:22:27] local.INFO: Processing buffer {"connection_id":45863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad98198012d181e400721ae38004b00b728..."} 
[2026-04-17 15:22:27] local.INFO: Packet analysis {"connection_id":45863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad9"} 
[2026-04-17 15:22:27] local.INFO: Extracted packet for processing {"connection_id":45863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad9"} 
[2026-04-17 15:22:27] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647800,"longitude_deg":75.6555328,"latitude_deg":11.96478,"altitude":75,"angle":183,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-04-17 15:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763371520001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113245827895394304,"note":"Value kept but may cause issues"} 
[2026-04-17 15:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585604608,"note":"Value kept but may cause issues"} 
[2026-04-17 15:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776419439000,"timestamp_ms":1776419439000,"timestamp_seconds":1776419439,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad98198"} 
[2026-04-17 15:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:22: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-04-17 15:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 15:22:27] 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-04-17 15:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763371520001,"66":12428,"105":206,"83":41984,"24":0,"16":113245827895394304,"45":1737896905585604608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763371520001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:22:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:22:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113245827895394304,"km_value":113245827895394.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585604608,"description":"Unknown IO ID 45"} 
[2026-04-17 15:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763371520001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585604608}} 
[2026-04-17 15:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":45863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21879,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:22:28] local.INFO: GPS data processed {"connection_id":45863,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:22:28] local.INFO: Acknowledgment sent {"connection_id":45863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:22:28] local.INFO: TCP Data received {"connection_id":46715,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46715,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:22:28] local.INFO: Processing buffer {"connection_id":46715,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad60ae0012d7faa8005afd2f8000a00002e..."} 
[2026-04-17 15:22:28] local.INFO: Packet analysis {"connection_id":46715,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:22:28] local.INFO: Extracted packet for processing {"connection_id":46715,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad6"} 
[2026-04-17 15:22:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763241216001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776419212000,"timestamp_ms":1776419212000,"timestamp_seconds":1776419212,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad60ae0"} 
[2026-04-17 15:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:22: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-04-17 15:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46715,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46715,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763241216001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763241216001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:22:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:22:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763241216001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":46715,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21880,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:22:28] local.INFO: GPS data processed {"connection_id":46715,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:22:28] local.INFO: Acknowledgment sent {"connection_id":46715,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:22:29] local.INFO: TCP Data received {"connection_id":46716,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:22:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46716,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:22:29] local.INFO: Processing buffer {"connection_id":46716,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:22:29] local.INFO: IMEI packet received {"connection_id":46716,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 15:22:29] local.INFO: IMEI acknowledgment sent {"connection_id":46716,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:22:55] local.INFO: TCP Data received {"connection_id":45864,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:22:55] local.INFO: Processing buffer {"connection_id":45864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:22:55] local.INFO: IMEI packet received {"connection_id":45864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":45864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:22:59] local.INFO: TCP Data received {"connection_id":45863,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ad9cfb8012d181e400721ae38004b00b728..."} 
[2026-04-17 15:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ad9cfb8012d181e400721ae38004b00b728..."} 
[2026-04-17 15:22:59] local.INFO: Processing buffer {"connection_id":45863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ad9cfb8012d181e400721ae38004b00b728..."} 
[2026-04-17 15:22:59] local.INFO: Packet analysis {"connection_id":45863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ad9"} 
[2026-04-17 15:22:59] local.INFO: Extracted packet for processing {"connection_id":45863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ad9"} 
[2026-04-17 15:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647800,"longitude_deg":75.6555328,"latitude_deg":11.96478,"altitude":75,"angle":183,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-04-17 15:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763376384001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113245827895394304,"note":"Value kept but may cause issues"} 
[2026-04-17 15:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585604608,"note":"Value kept but may cause issues"} 
[2026-04-17 15:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776419459000,"timestamp_ms":1776419459000,"timestamp_seconds":1776419459,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ad9cfb8"} 
[2026-04-17 15:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:22:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 15:22: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-04-17 15:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763376384001,"66":12406,"105":206,"83":41984,"24":0,"16":113245827895394304,"45":1737896905585604608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763376384001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:22:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:22:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113245827895394304,"km_value":113245827895394.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585604608,"description":"Unknown IO ID 45"} 
[2026-04-17 15:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763376384001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585604608}} 
[2026-04-17 15:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":45863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21881,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:22:59] local.INFO: GPS data processed {"connection_id":45863,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:22:59] local.INFO: Acknowledgment sent {"connection_id":45863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:23:00] local.INFO: TCP Data received {"connection_id":45864,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:23:00] local.INFO: Processing buffer {"connection_id":45864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:23:00] local.INFO: IMEI packet received {"connection_id":45864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":45864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:23:01] local.INFO: TCP Data received {"connection_id":45864,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:23:01] local.INFO: Processing buffer {"connection_id":45864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:23:01] local.INFO: Packet analysis {"connection_id":45864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:23:01] local.INFO: Extracted packet for processing {"connection_id":45864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":2,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763318272001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776419513000,"timestamp_ms":1776419513000,"timestamp_seconds":1776419513,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adaa2a8"} 
[2026-04-17 15:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:23: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-04-17 15:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763318272001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763318272001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:23:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763318272001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":45864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:23:01] local.INFO: GPS data processed {"connection_id":45864,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:23:01] local.INFO: Acknowledgment sent {"connection_id":45864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:23:06] local.INFO: TCP Data received {"connection_id":45864,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:23:06] local.INFO: Processing buffer {"connection_id":45864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:23:06] local.INFO: Packet analysis {"connection_id":45864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:23:06] local.INFO: Extracted packet for processing {"connection_id":45864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":2,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763318272001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776419513000,"timestamp_ms":1776419513000,"timestamp_seconds":1776419513,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adaa2a8"} 
[2026-04-17 15:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:23: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-04-17 15:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763318272001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763318272001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:23:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:23:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763318272001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":45864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21883,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:23:06] local.INFO: GPS data processed {"connection_id":45864,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:23:06] local.INFO: Acknowledgment sent {"connection_id":45864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:23:09] local.INFO: TCP Data received {"connection_id":46189,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:23:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46189,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:23:09] local.INFO: Processing buffer {"connection_id":46189,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:23:09] local.INFO: IMEI packet received {"connection_id":46189,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 15:23:09] local.INFO: IMEI acknowledgment sent {"connection_id":46189,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:23:23] local.INFO: TCP Data received {"connection_id":46717,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:23:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:23:23] local.INFO: Processing buffer {"connection_id":46717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:23:23] local.INFO: IMEI packet received {"connection_id":46717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:23:23] local.INFO: IMEI acknowledgment sent {"connection_id":46717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:23:27] local.INFO: TCP Data received {"connection_id":46717,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:23:27] local.INFO: Processing buffer {"connection_id":46717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:23:27] local.INFO: IMEI packet received {"connection_id":46717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":46717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:23:29] local.INFO: TCP Data received {"connection_id":46717,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46717,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:23:29] local.INFO: Processing buffer {"connection_id":46717,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:23:29] local.INFO: IMEI packet received {"connection_id":46717,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":46717,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:23:29] local.INFO: TCP Data received {"connection_id":46717,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ada1dd8012d181e400721ae38004b00b728..."} 
[2026-04-17 15:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ada1dd8012d181e400721ae38004b00b728..."} 
[2026-04-17 15:23:29] local.INFO: Processing buffer {"connection_id":46717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ada1dd8012d181e400721ae38004b00b728..."} 
[2026-04-17 15:23:29] local.INFO: Packet analysis {"connection_id":46717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:23:29] local.INFO: Extracted packet for processing {"connection_id":46717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:23:29] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647800,"longitude_deg":75.6555328,"latitude_deg":11.96478,"altitude":75,"angle":183,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-04-17 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-04-17 15:23:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763381504001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:23:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113245827895394304,"note":"Value kept but may cause issues"} 
[2026-04-17 15:23:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585604608,"note":"Value kept but may cause issues"} 
[2026-04-17 15:23:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:23:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776419479000,"timestamp_ms":1776419479000,"timestamp_seconds":1776419479,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ada1dd8"} 
[2026-04-17 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-04-17 15:23:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 15:23:29] 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-04-17 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-04-17 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-04-17 15:23:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:23:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:23:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:23:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:23:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:23:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:23:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:23:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763381504001,"66":12428,"105":206,"83":41984,"24":0,"16":113245827895394304,"45":1737896905585604608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:23:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:23:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:23:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763381504001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:23:29] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:23:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:23:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113245827895394304,"km_value":113245827895394.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:23:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585604608,"description":"Unknown IO ID 45"} 
[2026-04-17 15:23:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763381504001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585604608}} 
[2026-04-17 15:23:29] local.INFO: DEBUG: GPS processor result {"connection_id":46717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21884,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:23:29] local.INFO: GPS data processed {"connection_id":46717,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:23:29] local.INFO: Acknowledgment sent {"connection_id":46717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:23:32] local.INFO: TCP Data received {"connection_id":46717,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ada6810012d181e400721ae38004b00b729..."} 
[2026-04-17 15:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ada6810012d181e400721ae38004b00b729..."} 
[2026-04-17 15:23:32] local.INFO: Processing buffer {"connection_id":46717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ada6810012d181e400721ae38004b00b729..."} 
[2026-04-17 15:23:32] local.INFO: Packet analysis {"connection_id":46717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:23:32] local.INFO: Extracted packet for processing {"connection_id":46717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647800,"longitude_deg":75.6555328,"latitude_deg":11.96478,"altitude":75,"angle":183,"satellites":41,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-04-17 15:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763386624001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113245827895394304,"note":"Value kept but may cause issues"} 
[2026-04-17 15:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585604608,"note":"Value kept but may cause issues"} 
[2026-04-17 15:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776419498000,"timestamp_ms":1776419498000,"timestamp_seconds":1776419498,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ada6810"} 
[2026-04-17 15:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 15:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763386624001,"66":12439,"105":206,"83":41984,"24":0,"16":113245827895394304,"45":1737896905585604608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763386624001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:23:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:23:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113245827895394304,"km_value":113245827895394.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585604608,"description":"Unknown IO ID 45"} 
[2026-04-17 15:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763386624001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585604608}} 
[2026-04-17 15:23:32] local.INFO: DEBUG: GPS processor result {"connection_id":46717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21885,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:23:32] local.INFO: GPS data processed {"connection_id":46717,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:23:32] local.INFO: Acknowledgment sent {"connection_id":46717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:23:50] local.INFO: TCP Data received {"connection_id":46190,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:23:50] local.INFO: Processing buffer {"connection_id":46190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:23:50] local.INFO: IMEI packet received {"connection_id":46190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":46190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:23:55] local.INFO: TCP Data received {"connection_id":46190,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46190,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:23:55] local.INFO: Processing buffer {"connection_id":46190,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:23:55] local.INFO: IMEI packet received {"connection_id":46190,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":46190,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:23:56] local.INFO: TCP Data received {"connection_id":46190,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:23:56] local.INFO: Processing buffer {"connection_id":46190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:23:56] local.INFO: Packet analysis {"connection_id":46190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:23:56] local.INFO: Extracted packet for processing {"connection_id":46190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":2,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763318272001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776419513000,"timestamp_ms":1776419513000,"timestamp_seconds":1776419513,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adaa2a8"} 
[2026-04-17 15:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:23:56] 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-04-17 15:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763318272001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763318272001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:23:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763318272001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":46190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21886,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:23:56] local.INFO: GPS data processed {"connection_id":46190,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:23:56] local.INFO: Acknowledgment sent {"connection_id":46190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:24:03] local.INFO: TCP Data received {"connection_id":46717,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adab630012d181e400721ae38004b00b728..."} 
[2026-04-17 15:24:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46717,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adab630012d181e400721ae38004b00b728..."} 
[2026-04-17 15:24:03] local.INFO: Processing buffer {"connection_id":46717,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adab630012d181e400721ae38004b00b728..."} 
[2026-04-17 15:24:03] local.INFO: Packet analysis {"connection_id":46717,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:24:03] local.INFO: Extracted packet for processing {"connection_id":46717,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:24:03] local.INFO: GPS Element Parsed {"raw_longitude":756555328,"raw_latitude":119647800,"longitude_deg":75.6555328,"latitude_deg":11.96478,"altitude":75,"angle":183,"satellites":40,"speed":0,"hex_longitude":"2d181e40","hex_latitude":"0721ae38","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:24:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763391488001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:24:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113245827895394304,"note":"Value kept but may cause issues"} 
[2026-04-17 15:24:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737896905585604608,"note":"Value kept but may cause issues"} 
[2026-04-17 15:24:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:24:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776419518000,"timestamp_ms":1776419518000,"timestamp_seconds":1776419518,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adab630"} 
[2026-04-17 15:24:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:24:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:24:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 15:24:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:24:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:24:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:24:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46717,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:24:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:24:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46717,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:24:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:24:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:24:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:24:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763391488001,"66":12254,"105":206,"83":41984,"24":0,"16":113245827895394304,"45":1737896905585604608},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:24:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:24:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:24:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763391488001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:24:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:24:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:24:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113245827895394304,"km_value":113245827895394.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:24:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737896905585604608,"description":"Unknown IO ID 45"} 
[2026-04-17 15:24:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763391488001,"power":12254,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737896905585604608}} 
[2026-04-17 15:24:03] local.INFO: DEBUG: GPS processor result {"connection_id":46717,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21887,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:24:03] local.INFO: GPS data processed {"connection_id":46717,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:24:03] local.INFO: Acknowledgment sent {"connection_id":46717,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:24:19] local.INFO: TCP Data received {"connection_id":45865,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:24:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:24:19] local.INFO: Processing buffer {"connection_id":45865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:24:19] local.INFO: IMEI packet received {"connection_id":45865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:24:19] local.INFO: IMEI acknowledgment sent {"connection_id":45865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:24:20] local.INFO: TCP Data received {"connection_id":45865,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:24:20] local.INFO: Processing buffer {"connection_id":45865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:24:20] local.INFO: IMEI packet received {"connection_id":45865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":45865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:24:21] local.INFO: TCP Data received {"connection_id":45865,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:24:21] local.INFO: Processing buffer {"connection_id":45865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:24:21] local.INFO: IMEI packet received {"connection_id":45865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":45865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:24:27] local.INFO: TCP Data received {"connection_id":45865,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45865,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:24:27] local.INFO: Processing buffer {"connection_id":45865,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:24:27] local.INFO: IMEI packet received {"connection_id":45865,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":45865,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:24:27] local.INFO: TCP Data received {"connection_id":45865,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adc19a8012d188440072181d0004c006528..."} 
[2026-04-17 15:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adc19a8012d188440072181d0004c006528..."} 
[2026-04-17 15:24:28] local.INFO: Processing buffer {"connection_id":45865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adc19a8012d188440072181d0004c006528..."} 
[2026-04-17 15:24:28] local.INFO: Packet analysis {"connection_id":45865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9adc"} 
[2026-04-17 15:24:28] local.INFO: Extracted packet for processing {"connection_id":45865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9adc"} 
[2026-04-17 15:24:28] local.INFO: GPS Element Parsed {"raw_longitude":756581440,"raw_latitude":119636432,"longitude_deg":75.658144,"latitude_deg":11.9636432,"altitude":76,"angle":101,"satellites":40,"speed":41,"hex_longitude":"2d188440","hex_latitude":"072181d0","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763418624001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113247275299373056,"note":"Value kept but may cause issues"} 
[2026-04-17 15:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760766747440408576,"note":"Value kept but may cause issues"} 
[2026-04-17 15:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776419609000,"timestamp_ms":1776419609000,"timestamp_seconds":1776419609,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adc19a8"} 
[2026-04-17 15:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:24:28] 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-04-17 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-17 15:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:24:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763418624001,"66":14407,"106":206,"83":41984,"24":41,"16":113247275299373056,"45":1760766747440408576},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763418624001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:24:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:24:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113247275299373056,"km_value":113247275299373.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760766747440408576,"description":"Unknown IO ID 45"} 
[2026-04-17 15:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763418624001,"power":14407,"unknown_106":206,"unknown_83":41984,"ignition":41,"odometer":null,"unknown_45":1760766747440408576}} 
[2026-04-17 15:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":45865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:24:28] local.INFO: GPS data processed {"connection_id":45865,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:24:28] local.INFO: Acknowledgment sent {"connection_id":45865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:24:28] local.INFO: TCP Data received {"connection_id":46190,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:24:28] local.INFO: Processing buffer {"connection_id":46190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:24:28] local.INFO: Packet analysis {"connection_id":46190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:24:28] local.INFO: Extracted packet for processing {"connection_id":46190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:24:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":2,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:24:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763318272001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:24:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:24:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:24:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:24:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776419513000,"timestamp_ms":1776419513000,"timestamp_seconds":1776419513,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adaa2a8"} 
[2026-04-17 15:24:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:24:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:24:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:24:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:24:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:24:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:24:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:24:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46190,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:24:28] 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-04-17 15:24:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:24:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:24:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763318272001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:24:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:24:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:24:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763318272001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:24:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:24:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:24:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:24:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:24:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763318272001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":46190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:24:28] local.INFO: GPS data processed {"connection_id":46190,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:24:28] local.INFO: Acknowledgment sent {"connection_id":46190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:24:50] local.INFO: TCP Data received {"connection_id":45960,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:24:50] local.INFO: Processing buffer {"connection_id":45960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:24:50] local.INFO: IMEI packet received {"connection_id":45960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":45960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:24:55] local.INFO: TCP Data received {"connection_id":45960,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45960,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:24:55] local.INFO: Processing buffer {"connection_id":45960,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:24:55] local.INFO: IMEI packet received {"connection_id":45960,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":45960,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:24:56] local.INFO: TCP Data received {"connection_id":45960,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:24:56] local.INFO: Processing buffer {"connection_id":45960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:24:56] local.INFO: Packet analysis {"connection_id":45960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:24:56] local.INFO: Extracted packet for processing {"connection_id":45960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":2,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763318272001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776419513000,"timestamp_ms":1776419513000,"timestamp_seconds":1776419513,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adaa2a8"} 
[2026-04-17 15:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:24:56] 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-04-17 15:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763318272001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763318272001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:24:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763318272001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":45960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21890,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:24:56] local.INFO: GPS data processed {"connection_id":45960,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:24:56] local.INFO: Acknowledgment sent {"connection_id":45960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:24:59] local.INFO: TCP Data received {"connection_id":45865,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adcbdb8012d18d34007210e10004000a728..."} 
[2026-04-17 15:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45865,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adcbdb8012d18d34007210e10004000a728..."} 
[2026-04-17 15:24:59] local.INFO: Processing buffer {"connection_id":45865,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adcbdb8012d18d34007210e10004000a728..."} 
[2026-04-17 15:24:59] local.INFO: Packet analysis {"connection_id":45865,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9adc"} 
[2026-04-17 15:24:59] local.INFO: Extracted packet for processing {"connection_id":45865,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9adc"} 
[2026-04-17 15:24:59] local.INFO: GPS Element Parsed {"raw_longitude":756601664,"raw_latitude":119606800,"longitude_deg":75.6601664,"latitude_deg":11.96068,"altitude":64,"angle":167,"satellites":40,"speed":37,"hex_longitude":"2d18d340","hex_latitude":"07210e10","is_valid_coordinates":true} 
[2026-04-17 15:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763429376001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113249177969885184,"note":"Value kept but may cause issues"} 
[2026-04-17 15:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788632770128396288,"note":"Value kept but may cause issues"} 
[2026-04-17 15:24:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776419651000,"timestamp_ms":1776419651000,"timestamp_seconds":1776419651,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adcbdb8"} 
[2026-04-17 15:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:24:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 15:24:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45865,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45865,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763429376001,"66":14494,"106":206,"83":41984,"24":37,"16":113249177969885184,"45":1788632770128396288},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763429376001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:24:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:24:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113249177969885184,"km_value":113249177969885.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788632770128396288,"description":"Unknown IO ID 45"} 
[2026-04-17 15:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763429376001,"power":14494,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1788632770128396288}} 
[2026-04-17 15:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":45865,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21891,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:24:59] local.INFO: GPS data processed {"connection_id":45865,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:24:59] local.INFO: Acknowledgment sent {"connection_id":45865,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:25:22] local.INFO: TCP Data received {"connection_id":46720,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:25:22] local.INFO: Processing buffer {"connection_id":46720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:25:22] local.INFO: IMEI packet received {"connection_id":46720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":46720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:25:22] local.INFO: TCP Data received {"connection_id":46720,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:25:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:25:22] local.INFO: Processing buffer {"connection_id":46720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:25:22] local.INFO: IMEI packet received {"connection_id":46720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:25:22] local.INFO: IMEI acknowledgment sent {"connection_id":46720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:25:25] local.INFO: TCP Data received {"connection_id":46720,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46720,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:25:25] local.INFO: Processing buffer {"connection_id":46720,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:25:25] local.INFO: IMEI packet received {"connection_id":46720,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":46720,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:25:26] local.INFO: TCP Data received {"connection_id":46720,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adccd58012d18d8000720ffa8003f009728..."} 
[2026-04-17 15:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adccd58012d18d8000720ffa8003f009728..."} 
[2026-04-17 15:25:26] local.INFO: Processing buffer {"connection_id":46720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adccd58012d18d8000720ffa8003f009728..."} 
[2026-04-17 15:25:26] local.INFO: Packet analysis {"connection_id":46720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9adc"} 
[2026-04-17 15:25:26] local.INFO: Extracted packet for processing {"connection_id":46720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9adc"} 
[2026-04-17 15:25:26] local.INFO: GPS Element Parsed {"raw_longitude":756602880,"raw_latitude":119603112,"longitude_deg":75.660288,"latitude_deg":11.9603112,"altitude":63,"angle":151,"satellites":40,"speed":38,"hex_longitude":"2d18d800","hex_latitude":"0720ffa8","is_valid_coordinates":true} 
[2026-04-17 15:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763430656001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113249366948446208,"note":"Value kept but may cause issues"} 
[2026-04-17 15:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788843876359737344,"note":"Value kept but may cause issues"} 
[2026-04-17 15:25:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776419655000,"timestamp_ms":1776419655000,"timestamp_seconds":1776419655,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adccd58"} 
[2026-04-17 15:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:25:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13568,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":158,"data_length":795,"current_offset":136} 
[2026-04-17 15:25:26] 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-04-17 15:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763430656001,"66":14396,"106":206,"83":41984,"24":38,"16":113249366948446208,"45":1788843876359737344},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763430656001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:25:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:25:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113249366948446208,"km_value":113249366948446.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788843876359737344,"description":"Unknown IO ID 45"} 
[2026-04-17 15:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763430656001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1788843876359737344}} 
[2026-04-17 15:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":46720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:25:26] local.INFO: GPS data processed {"connection_id":46720,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:25:26] local.INFO: Acknowledgment sent {"connection_id":46720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:25:28] local.INFO: TCP Data received {"connection_id":45960,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:25:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:25:28] local.INFO: Processing buffer {"connection_id":45960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:25:28] local.INFO: Packet analysis {"connection_id":45960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:25:28] local.INFO: Extracted packet for processing {"connection_id":45960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:25:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":2,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:25:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763318272001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:25:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:25:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:25:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:25:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776419513000,"timestamp_ms":1776419513000,"timestamp_seconds":1776419513,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adaa2a8"} 
[2026-04-17 15:25:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:25:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:25:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:25:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:25:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:25:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:25:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:25:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:25:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:25:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45960,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:25:28] 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-04-17 15:25:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:25:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:25:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763318272001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:25:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:25:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:25:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763318272001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:25:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:25:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:25:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:25:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:25:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763318272001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":45960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21893,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:25:28] local.INFO: GPS data processed {"connection_id":45960,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:25:28] local.INFO: Acknowledgment sent {"connection_id":45960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:25:50] local.INFO: TCP Data received {"connection_id":45866,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:25:50] local.INFO: Processing buffer {"connection_id":45866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:25:50] local.INFO: IMEI packet received {"connection_id":45866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":45866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:25:55] local.INFO: TCP Data received {"connection_id":45866,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45866,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:25:55] local.INFO: Processing buffer {"connection_id":45866,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:25:55] local.INFO: IMEI packet received {"connection_id":45866,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":45866,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:25:56] local.INFO: TCP Data received {"connection_id":45866,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:25:56] local.INFO: Processing buffer {"connection_id":45866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:25:56] local.INFO: Packet analysis {"connection_id":45866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:25:56] local.INFO: Extracted packet for processing {"connection_id":45866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":2,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763318272001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776419513000,"timestamp_ms":1776419513000,"timestamp_seconds":1776419513,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adaa2a8"} 
[2026-04-17 15:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763318272001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763318272001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:25:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763318272001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":45866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:25:56] local.INFO: GPS data processed {"connection_id":45866,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:25:56] local.INFO: Acknowledgment sent {"connection_id":45866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:25:56] local.INFO: TCP Data received {"connection_id":46720,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9addafe8012d19a9800720b0f80034006527..."} 
[2026-04-17 15:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46720,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9addafe8012d19a9800720b0f80034006527..."} 
[2026-04-17 15:25:56] local.INFO: Processing buffer {"connection_id":46720,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9addafe8012d19a9800720b0f80034006527..."} 
[2026-04-17 15:25:56] local.INFO: Packet analysis {"connection_id":46720,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9add"} 
[2026-04-17 15:25:56] local.INFO: Extracted packet for processing {"connection_id":46720,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9add"} 
[2026-04-17 15:25:56] local.INFO: GPS Element Parsed {"raw_longitude":756656512,"raw_latitude":119582968,"longitude_deg":75.6656512,"latitude_deg":11.9582968,"altitude":52,"angle":101,"satellites":39,"speed":42,"hex_longitude":"2d19a980","hex_latitude":"0720b0f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763444736001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113252313296011264,"note":"Value kept but may cause issues"} 
[2026-04-17 15:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841127853277839360,"note":"Value kept but may cause issues"} 
[2026-04-17 15:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776419713000,"timestamp_ms":1776419713000,"timestamp_seconds":1776419713,"priority":1,"record_length":96,"hex_timestamp":"0000019d9addafe8"} 
[2026-04-17 15:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:25: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-04-17 15: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 15:25:56] 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-04-17 15: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-04-17 15:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46720,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46720,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763444736001,"66":14396,"106":206,"83":41984,"24":42,"16":113252313296011264,"45":1841127853277839360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763444736001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:25:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:25:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113252313296011264,"km_value":113252313296011.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841127853277839360,"description":"Unknown IO ID 45"} 
[2026-04-17 15:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763444736001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1841127853277839360}} 
[2026-04-17 15:25:57] local.INFO: DEBUG: GPS processor result {"connection_id":46720,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:25:57] local.INFO: GPS data processed {"connection_id":46720,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:25:57] local.INFO: Acknowledgment sent {"connection_id":46720,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:26:19] local.INFO: TCP Data received {"connection_id":45867,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:26:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:26:19] local.INFO: Processing buffer {"connection_id":45867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:26:19] local.INFO: IMEI packet received {"connection_id":45867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:26:19] local.INFO: IMEI acknowledgment sent {"connection_id":45867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:26:22] local.INFO: TCP Data received {"connection_id":45867,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:26:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:26:22] local.INFO: Processing buffer {"connection_id":45867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:26:22] local.INFO: IMEI packet received {"connection_id":45867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:26:22] local.INFO: IMEI acknowledgment sent {"connection_id":45867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:26:27] local.INFO: TCP Data received {"connection_id":45867,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45867,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:26:27] local.INFO: Processing buffer {"connection_id":45867,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:26:27] local.INFO: IMEI packet received {"connection_id":45867,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":45867,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:26:27] local.INFO: TCP Data received {"connection_id":45866,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45866,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:26:27] local.INFO: Processing buffer {"connection_id":45866,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:26:27] local.INFO: Packet analysis {"connection_id":45866,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:26:27] local.INFO: Extracted packet for processing {"connection_id":45866,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":2,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763318272001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776419513000,"timestamp_ms":1776419513000,"timestamp_seconds":1776419513,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adaa2a8"} 
[2026-04-17 15:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45866,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45866,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763318272001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763318272001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:26:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763318272001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":45866,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21896,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:26:27] local.INFO: GPS data processed {"connection_id":45866,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:26:27] local.INFO: Acknowledgment sent {"connection_id":45866,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:26:28] local.INFO: TCP Data received {"connection_id":45867,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9addb7b8012d19b1400720ae800032007127..."} 
[2026-04-17 15:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9addb7b8012d19b1400720ae800032007127..."} 
[2026-04-17 15:26:28] local.INFO: Processing buffer {"connection_id":45867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9addb7b8012d19b1400720ae800032007127..."} 
[2026-04-17 15:26:28] local.INFO: Packet analysis {"connection_id":45867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9add"} 
[2026-04-17 15:26:28] local.INFO: Extracted packet for processing {"connection_id":45867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9add"} 
[2026-04-17 15:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756658496,"raw_latitude":119582336,"longitude_deg":75.6658496,"latitude_deg":11.9582336,"altitude":50,"angle":113,"satellites":39,"speed":39,"hex_longitude":"2d19b140","hex_latitude":"0720ae80","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763446528001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113252412080259072,"note":"Value kept but may cause issues"} 
[2026-04-17 15:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849149890113894400,"note":"Value kept but may cause issues"} 
[2026-04-17 15:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776419715000,"timestamp_ms":1776419715000,"timestamp_seconds":1776419715,"priority":1,"record_length":96,"hex_timestamp":"0000019d9addb7b8"} 
[2026-04-17 15:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15: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-04-17 15: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-17 15:26:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763446528001,"66":13820,"106":206,"83":41984,"24":39,"16":113252412080259072,"45":1849149890113894400},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763446528001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:26:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113252412080259072,"km_value":113252412080259.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849149890113894400,"description":"Unknown IO ID 45"} 
[2026-04-17 15:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763446528001,"power":13820,"unknown_106":206,"unknown_83":41984,"ignition":39,"odometer":null,"unknown_45":1849149890113894400}} 
[2026-04-17 15:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":45867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21897,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:26:28] local.INFO: GPS data processed {"connection_id":45867,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:26:28] local.INFO: Acknowledgment sent {"connection_id":45867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:26:50] local.INFO: TCP Data received {"connection_id":45962,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:26:50] local.INFO: Processing buffer {"connection_id":45962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:26:50] local.INFO: IMEI packet received {"connection_id":45962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":45962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:26:55] local.INFO: TCP Data received {"connection_id":45962,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:26:55] local.INFO: Processing buffer {"connection_id":45962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:26:55] local.INFO: IMEI packet received {"connection_id":45962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":45962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:26:56] local.INFO: TCP Data received {"connection_id":45962,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:26:56] local.INFO: Processing buffer {"connection_id":45962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:26:56] local.INFO: Packet analysis {"connection_id":45962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:26:56] local.INFO: Extracted packet for processing {"connection_id":45962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":2,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763318272001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776419513000,"timestamp_ms":1776419513000,"timestamp_seconds":1776419513,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adaa2a8"} 
[2026-04-17 15:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763318272001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763318272001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:26:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:26:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763318272001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":45962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:26:56] local.INFO: GPS data processed {"connection_id":45962,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:26:56] local.INFO: Acknowledgment sent {"connection_id":45962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:26:59] local.INFO: TCP Data received {"connection_id":45867,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ade8aa8012d19d2c007201250002e007f27..."} 
[2026-04-17 15:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45867,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ade8aa8012d19d2c007201250002e007f27..."} 
[2026-04-17 15:26:59] local.INFO: Processing buffer {"connection_id":45867,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ade8aa8012d19d2c007201250002e007f27..."} 
[2026-04-17 15:26:59] local.INFO: Packet analysis {"connection_id":45867,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ade"} 
[2026-04-17 15:26:59] local.INFO: Extracted packet for processing {"connection_id":45867,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ade"} 
[2026-04-17 15:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756667072,"raw_latitude":119542352,"longitude_deg":75.6667072,"latitude_deg":11.9542352,"altitude":46,"angle":127,"satellites":39,"speed":31,"hex_longitude":"2d19d2c0","hex_latitude":"07201250","is_valid_coordinates":true} 
[2026-04-17 15:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763460352001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113254585333710848,"note":"Value kept but may cause issues"} 
[2026-04-17 15:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859634832986226688,"note":"Value kept but may cause issues"} 
[2026-04-17 15:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776419769000,"timestamp_ms":1776419769000,"timestamp_seconds":1776419769,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ade8aa8"} 
[2026-04-17 15:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:26:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 15:26:59] 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-04-17 15:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45867,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45867,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763460352001,"66":14004,"106":206,"83":41984,"24":31,"16":113254585333710848,"45":1859634832986226688},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763460352001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:26:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113254585333710848,"km_value":113254585333710.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859634832986226688,"description":"Unknown IO ID 45"} 
[2026-04-17 15:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763460352001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1859634832986226688}} 
[2026-04-17 15:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":45867,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:26:59] local.INFO: GPS data processed {"connection_id":45867,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:26:59] local.INFO: Acknowledgment sent {"connection_id":45867,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:27:24] local.INFO: TCP Data received {"connection_id":46191,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:27:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:27:24] local.INFO: Processing buffer {"connection_id":46191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:27:24] local.INFO: IMEI packet received {"connection_id":46191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:27:24] local.INFO: IMEI acknowledgment sent {"connection_id":46191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:27:25] local.INFO: TCP Data received {"connection_id":46191,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46191,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:27:25] local.INFO: Processing buffer {"connection_id":46191,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:27:25] local.INFO: IMEI packet received {"connection_id":46191,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":46191,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:27:26] local.INFO: TCP Data received {"connection_id":46191,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adea218012d19e34007200768002f008c29..."} 
[2026-04-17 15:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adea218012d19e34007200768002f008c29..."} 
[2026-04-17 15:27:26] local.INFO: Processing buffer {"connection_id":46191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adea218012d19e34007200768002f008c29..."} 
[2026-04-17 15:27:26] local.INFO: Packet analysis {"connection_id":46191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ade"} 
[2026-04-17 15:27:26] local.INFO: Extracted packet for processing {"connection_id":46191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ade"} 
[2026-04-17 15:27:26] local.INFO: GPS Element Parsed {"raw_longitude":756671296,"raw_latitude":119539560,"longitude_deg":75.6671296,"latitude_deg":11.953956,"altitude":47,"angle":140,"satellites":41,"speed":32,"hex_longitude":"2d19e340","hex_latitude":"07200768","is_valid_coordinates":true} 
[2026-04-17 15:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763460864001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113254825851879424,"note":"Value kept but may cause issues"} 
[2026-04-17 15:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1860760732892811264,"note":"Value kept but may cause issues"} 
[2026-04-17 15:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776419775000,"timestamp_ms":1776419775000,"timestamp_seconds":1776419775,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adea218"} 
[2026-04-17 15:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:27:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 15:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763460864001,"66":14004,"106":206,"83":41984,"24":32,"16":113254825851879424,"45":1860760732892811264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763460864001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:27:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:27:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113254825851879424,"km_value":113254825851879.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1860760732892811264,"description":"Unknown IO ID 45"} 
[2026-04-17 15:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763460864001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1860760732892811264}} 
[2026-04-17 15:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":46191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21900,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:27:26] local.INFO: GPS data processed {"connection_id":46191,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:27:26] local.INFO: Acknowledgment sent {"connection_id":46191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:27:27] local.INFO: TCP Data received {"connection_id":46191,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adeb5a0012d19ec00071ffc60002e007a28..."} 
[2026-04-17 15:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adeb5a0012d19ec00071ffc60002e007a28..."} 
[2026-04-17 15:27:27] local.INFO: Processing buffer {"connection_id":46191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adeb5a0012d19ec00071ffc60002e007a28..."} 
[2026-04-17 15:27:27] local.INFO: Packet analysis {"connection_id":46191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ade"} 
[2026-04-17 15:27:27] local.INFO: Extracted packet for processing {"connection_id":46191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ade"} 
[2026-04-17 15:27:27] local.INFO: GPS Element Parsed {"raw_longitude":756673536,"raw_latitude":119536736,"longitude_deg":75.6673536,"latitude_deg":11.9536736,"altitude":46,"angle":122,"satellites":40,"speed":25,"hex_longitude":"2d19ec00","hex_latitude":"071ffc60","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763462400001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113255001945538560,"note":"Value kept but may cause issues"} 
[2026-04-17 15:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865405070007822336,"note":"Value kept but may cause issues"} 
[2026-04-17 15:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776419780000,"timestamp_ms":1776419780000,"timestamp_seconds":1776419780,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adeb5a0"} 
[2026-04-17 15:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 15:27:27] 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-04-17 15: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-04-17 15:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763462400001,"66":13993,"106":206,"83":41984,"24":25,"16":113255001945538560,"45":1865405070007822336},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763462400001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:27:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:27:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113255001945538560,"km_value":113255001945538.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865405070007822336,"description":"Unknown IO ID 45"} 
[2026-04-17 15:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763462400001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1865405070007822336}} 
[2026-04-17 15:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":46191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:27:27] local.INFO: GPS data processed {"connection_id":46191,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:27:27] local.INFO: Acknowledgment sent {"connection_id":46191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:27:27] local.INFO: TCP Data received {"connection_id":45962,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:27:27] local.INFO: Processing buffer {"connection_id":45962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adaa2a8012d7faa8005afd2f8000200002f..."} 
[2026-04-17 15:27:27] local.INFO: Packet analysis {"connection_id":45962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:27:27] local.INFO: Extracted packet for processing {"connection_id":45962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ada"} 
[2026-04-17 15:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":2,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763318272001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776419513000,"timestamp_ms":1776419513000,"timestamp_seconds":1776419513,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adaa2a8"} 
[2026-04-17 15:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763318272001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763318272001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:27:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763318272001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":45962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:27:27] local.INFO: GPS data processed {"connection_id":45962,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:27:27] local.INFO: Acknowledgment sent {"connection_id":45962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:27:58] local.INFO: TCP Data received {"connection_id":46191,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adebd70012d19f100071ffb68002e006029..."} 
[2026-04-17 15:27:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adebd70012d19f100071ffb68002e006029..."} 
[2026-04-17 15:27:58] local.INFO: Processing buffer {"connection_id":46191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adebd70012d19f100071ffb68002e006029..."} 
[2026-04-17 15:27:58] local.INFO: Packet analysis {"connection_id":46191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ade"} 
[2026-04-17 15:27:58] local.INFO: Extracted packet for processing {"connection_id":46191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ade"} 
[2026-04-17 15:27:58] local.INFO: GPS Element Parsed {"raw_longitude":756674816,"raw_latitude":119536488,"longitude_deg":75.6674816,"latitude_deg":11.9536488,"altitude":46,"angle":96,"satellites":41,"speed":26,"hex_longitude":"2d19f100","hex_latitude":"071ffb68","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:27:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763463680001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:27:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113255062075080704,"note":"Value kept but may cause issues"} 
[2026-04-17 15:27:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1867867976053317632,"note":"Value kept but may cause issues"} 
[2026-04-17 15:27:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:27:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776419782000,"timestamp_ms":1776419782000,"timestamp_seconds":1776419782,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adebd70"} 
[2026-04-17 15:27:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:27:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":13824,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 15:27:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:27:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:27:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:27:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:27:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:27:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46191,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:27:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:27:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:27:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:27:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763463680001,"66":14004,"106":206,"83":41984,"24":26,"16":113255062075080704,"45":1867867976053317632},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:27:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:27:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:27:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763463680001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:27:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:27:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:27:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113255062075080704,"km_value":113255062075080.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:27:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1867867976053317632,"description":"Unknown IO ID 45"} 
[2026-04-17 15:27:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763463680001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1867867976053317632}} 
[2026-04-17 15:27:58] local.INFO: DEBUG: GPS processor result {"connection_id":46191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:27:58] local.INFO: GPS data processed {"connection_id":46191,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:27:58] local.INFO: Acknowledgment sent {"connection_id":46191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:28:21] local.INFO: TCP Data received {"connection_id":45868,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:28:21] local.INFO: Processing buffer {"connection_id":45868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:28:21] local.INFO: IMEI packet received {"connection_id":45868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":45868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:28:24] local.INFO: TCP Data received {"connection_id":45868,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:28:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:28:24] local.INFO: Processing buffer {"connection_id":45868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:28:24] local.INFO: IMEI packet received {"connection_id":45868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:28:24] local.INFO: IMEI acknowledgment sent {"connection_id":45868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:28:25] local.INFO: TCP Data received {"connection_id":46192,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:28:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:28:25] local.INFO: Processing buffer {"connection_id":46192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:28:25] local.INFO: IMEI packet received {"connection_id":46192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:28:25] local.INFO: IMEI acknowledgment sent {"connection_id":46192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:28:30] local.INFO: TCP Data received {"connection_id":45868,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45868,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:28:30] local.INFO: Processing buffer {"connection_id":45868,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:28:30] local.INFO: IMEI packet received {"connection_id":45868,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:28:30] local.INFO: IMEI acknowledgment sent {"connection_id":45868,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:28:30] local.INFO: TCP Data received {"connection_id":46192,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:28:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:28:31] local.INFO: Processing buffer {"connection_id":46192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:28:31] local.INFO: IMEI packet received {"connection_id":46192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":46192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:28:31] local.INFO: TCP Data received {"connection_id":45868,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adfabb8012d1aa280071f9ab80037007826..."} 
[2026-04-17 15:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adfabb8012d1aa280071f9ab80037007826..."} 
[2026-04-17 15:28:31] local.INFO: Processing buffer {"connection_id":45868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adfabb8012d1aa280071f9ab80037007826..."} 
[2026-04-17 15:28:31] local.INFO: Packet analysis {"connection_id":45868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:28:31] local.INFO: Extracted packet for processing {"connection_id":45868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:28:31] local.INFO: GPS Element Parsed {"raw_longitude":756720256,"raw_latitude":119511736,"longitude_deg":75.6720256,"latitude_deg":11.9511736,"altitude":55,"angle":120,"satellites":38,"speed":34,"hex_longitude":"2d1aa280","hex_latitude":"071f9ab8","is_valid_coordinates":true} 
[2026-04-17 15:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763477504001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113257664825262080,"note":"Value kept but may cause issues"} 
[2026-04-17 15:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1912974341066207232,"note":"Value kept but may cause issues"} 
[2026-04-17 15:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776419843000,"timestamp_ms":1776419843000,"timestamp_seconds":1776419843,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adfabb8"} 
[2026-04-17 15:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 15:28:31] 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-04-17 15:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":45868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":45868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":45868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:28:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763477504001,"66":14428,"106":206,"83":41984,"24":34,"16":113257664825262080,"45":1912974341066207232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763477504001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:28:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:28:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113257664825262080,"km_value":113257664825262.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1912974341066207232,"description":"Unknown IO ID 45"} 
[2026-04-17 15:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763477504001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1912974341066207232}} 
[2026-04-17 15:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":45868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:28:31] local.INFO: GPS data processed {"connection_id":45868,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:28:31] local.INFO: Acknowledgment sent {"connection_id":45868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:28:31] local.INFO: TCP Data received {"connection_id":46192,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:28:31] local.INFO: Processing buffer {"connection_id":46192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:28:31] local.INFO: Packet analysis {"connection_id":46192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:28:31] local.INFO: Extracted packet for processing {"connection_id":46192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:28:31] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:28:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763395328001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:28:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:28:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:28:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:28:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776419814000,"timestamp_ms":1776419814000,"timestamp_seconds":1776419814,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adf3a70"} 
[2026-04-17 15:28:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:28:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:28:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:28:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:28:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:28:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:28:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:28:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:28:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:28:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:28:31] 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-04-17 15:28:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:28:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:28:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763395328001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:28:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:28:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:28:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763395328001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:28:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:28:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:28:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:28:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:28:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763395328001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:28:31] local.INFO: DEBUG: GPS processor result {"connection_id":46192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:28:31] local.INFO: GPS data processed {"connection_id":46192,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:28:31] local.INFO: Acknowledgment sent {"connection_id":46192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:28:55] local.INFO: TCP Data received {"connection_id":45964,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:28:55] local.INFO: Processing buffer {"connection_id":45964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:28:55] local.INFO: IMEI packet received {"connection_id":45964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":45964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:29:01] local.INFO: TCP Data received {"connection_id":45964,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45964,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:29:01] local.INFO: Processing buffer {"connection_id":45964,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:29:01] local.INFO: IMEI packet received {"connection_id":45964,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":45964,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:29:03] local.INFO: TCP Data received {"connection_id":45964,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:29:03] local.INFO: Processing buffer {"connection_id":45964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:29:03] local.INFO: Packet analysis {"connection_id":45964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:29:03] local.INFO: Extracted packet for processing {"connection_id":45964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:29:03] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763395328001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776419814000,"timestamp_ms":1776419814000,"timestamp_seconds":1776419814,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adf3a70"} 
[2026-04-17 15:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:29:03] 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-04-17 15:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763395328001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763395328001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:29:03] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:29:03] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763395328001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":45964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:29:03] local.INFO: GPS data processed {"connection_id":45964,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:29:03] local.INFO: Acknowledgment sent {"connection_id":45964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:29:03] local.INFO: TCP Data received {"connection_id":45868,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae04410012d1abb40071f45000040009027..."} 
[2026-04-17 15:29:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45868,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae04410012d1abb40071f45000040009027..."} 
[2026-04-17 15:29:03] local.INFO: Processing buffer {"connection_id":45868,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae04410012d1abb40071f45000040009027..."} 
[2026-04-17 15:29:03] local.INFO: Packet analysis {"connection_id":45868,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae0"} 
[2026-04-17 15:29:03] local.INFO: Extracted packet for processing {"connection_id":45868,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae0"} 
[2026-04-17 15:29:03] local.INFO: GPS Element Parsed {"raw_longitude":756726592,"raw_latitude":119489792,"longitude_deg":75.6726592,"latitude_deg":11.9489792,"altitude":64,"angle":144,"satellites":39,"speed":10,"hex_longitude":"2d1abb40","hex_latitude":"071f4500","is_valid_coordinates":true} 
[2026-04-17 15:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:29:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763489280001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:29:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113259077869502464,"note":"Value kept but may cause issues"} 
[2026-04-17 15:29:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925992558732183552,"note":"Value kept but may cause issues"} 
[2026-04-17 15:29:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:29:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776419882000,"timestamp_ms":1776419882000,"timestamp_seconds":1776419882,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae04410"} 
[2026-04-17 15:29:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:29:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:29:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 15:29:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:29:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:29:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:29:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:29:03] local.INFO: Teltonika packet parsed successfully {"connection_id":45868,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:29:03] local.INFO: Passing IMEI to GPS processor {"connection_id":45868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:29:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":45868,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:29:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:29:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:29:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:29:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763489280001,"66":12841,"106":206,"83":41984,"24":10,"16":113259077869502464,"45":1925992558732183552},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:29:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:29:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:29:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763489280001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:29:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:29:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:29:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113259077869502464,"km_value":113259077869502.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:29:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925992558732183552,"description":"Unknown IO ID 45"} 
[2026-04-17 15:29:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763489280001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1925992558732183552}} 
[2026-04-17 15:29:03] local.INFO: DEBUG: GPS processor result {"connection_id":45868,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:29:03] local.INFO: GPS data processed {"connection_id":45868,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:29:03] local.INFO: Acknowledgment sent {"connection_id":45868,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:29:21] local.INFO: TCP Data received {"connection_id":45965,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:29:21] local.INFO: Processing buffer {"connection_id":45965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:29:21] local.INFO: IMEI packet received {"connection_id":45965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":45965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:29:24] local.INFO: TCP Data received {"connection_id":45966,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45966,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:29:24] local.INFO: Processing buffer {"connection_id":45966,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:29:24] local.INFO: IMEI packet received {"connection_id":45966,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 15:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":45966,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:29:27] local.INFO: TCP Data received {"connection_id":45965,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:29:27] local.INFO: Processing buffer {"connection_id":45965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:29:27] local.INFO: IMEI packet received {"connection_id":45965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":45965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:29:28] local.INFO: TCP Data received {"connection_id":45965,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae04be0012d1abc00071f43a8004100a428..."} 
[2026-04-17 15:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae04be0012d1abc00071f43a8004100a428..."} 
[2026-04-17 15:29:28] local.INFO: Processing buffer {"connection_id":45965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae04be0012d1abc00071f43a8004100a428..."} 
[2026-04-17 15:29:28] local.INFO: Packet analysis {"connection_id":45965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae0"} 
[2026-04-17 15:29:28] local.INFO: Extracted packet for processing {"connection_id":45965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae0"} 
[2026-04-17 15:29:28] local.INFO: GPS Element Parsed {"raw_longitude":756726784,"raw_latitude":119489448,"longitude_deg":75.6726784,"latitude_deg":11.9489448,"altitude":65,"angle":164,"satellites":40,"speed":7,"hex_longitude":"2d1abc00","hex_latitude":"071f43a8","is_valid_coordinates":true} 
[2026-04-17 15:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763489792001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113259095049371648,"note":"Value kept but may cause issues"} 
[2026-04-17 15:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926203664964583424,"note":"Value kept but may cause issues"} 
[2026-04-17 15:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776419884000,"timestamp_ms":1776419884000,"timestamp_seconds":1776419884,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae04be0"} 
[2026-04-17 15:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:29:28] 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-04-17 15:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 15:29: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-04-17 15:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:29:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763489792001,"66":12743,"106":206,"83":41984,"24":7,"16":113259095049371648,"45":1926203664964583424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763489792001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:29:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:29:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113259095049371648,"km_value":113259095049371.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926203664964583424,"description":"Unknown IO ID 45"} 
[2026-04-17 15:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763489792001,"power":12743,"unknown_106":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1926203664964583424}} 
[2026-04-17 15:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":45965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21908,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:29:28] local.INFO: GPS data processed {"connection_id":45965,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:29:28] local.INFO: Acknowledgment sent {"connection_id":45965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:29:34] local.INFO: TCP Data received {"connection_id":45964,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:29:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45964,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:29:34] local.INFO: Processing buffer {"connection_id":45964,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:29:34] local.INFO: Packet analysis {"connection_id":45964,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:29:34] local.INFO: Extracted packet for processing {"connection_id":45964,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:29:34] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 15:29:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763395328001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:29:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:29:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:29:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:29:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776419814000,"timestamp_ms":1776419814000,"timestamp_seconds":1776419814,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adf3a70"} 
[2026-04-17 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-04-17 15:29:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:29:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 15:29:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:29:34] local.INFO: Teltonika packet parsed successfully {"connection_id":45964,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:29:34] local.INFO: Passing IMEI to GPS processor {"connection_id":45964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:29:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":45964,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:29: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-04-17 15:29:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:29:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:29:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763395328001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:29:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:29:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:29:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763395328001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:29:34] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:29:34] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:29:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:29:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:29:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763395328001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:29:34] local.INFO: DEBUG: GPS processor result {"connection_id":45964,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21909,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:29:34] local.INFO: GPS data processed {"connection_id":45964,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:29:34] local.INFO: Acknowledgment sent {"connection_id":45964,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:29:50] local.INFO: TCP Data received {"connection_id":45967,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:29:50] local.INFO: Processing buffer {"connection_id":45967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:29:50] local.INFO: IMEI packet received {"connection_id":45967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":45967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:29:55] local.INFO: TCP Data received {"connection_id":45967,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45967,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:29:55] local.INFO: Processing buffer {"connection_id":45967,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:29:55] local.INFO: IMEI packet received {"connection_id":45967,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":45967,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:29:56] local.INFO: TCP Data received {"connection_id":45967,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:29:56] local.INFO: Processing buffer {"connection_id":45967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:29:56] local.INFO: Packet analysis {"connection_id":45967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:29:56] local.INFO: Extracted packet for processing {"connection_id":45967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763395328001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776419814000,"timestamp_ms":1776419814000,"timestamp_seconds":1776419814,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adf3a70"} 
[2026-04-17 15:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:29:56] 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-04-17 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763395328001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763395328001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:29:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763395328001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":45967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:29:56] local.INFO: GPS data processed {"connection_id":45967,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:29:56] local.INFO: Acknowledgment sent {"connection_id":45967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:29:58] local.INFO: TCP Data received {"connection_id":45965,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae07ea8012d1abc40071f3df00043009828..."} 
[2026-04-17 15:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae07ea8012d1abc40071f3df00043009828..."} 
[2026-04-17 15:29:58] local.INFO: Processing buffer {"connection_id":45965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae07ea8012d1abc40071f3df00043009828..."} 
[2026-04-17 15:29:58] local.INFO: Packet analysis {"connection_id":45965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae0"} 
[2026-04-17 15:29:58] local.INFO: Extracted packet for processing {"connection_id":45965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae0"} 
[2026-04-17 15:29:58] local.INFO: GPS Element Parsed {"raw_longitude":756726848,"raw_latitude":119487984,"longitude_deg":75.6726848,"latitude_deg":11.9487984,"altitude":67,"angle":152,"satellites":40,"speed":5,"hex_longitude":"2d1abc40","hex_latitude":"071f3df0","is_valid_coordinates":true} 
[2026-04-17 15:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763490304001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113259176653750272,"note":"Value kept but may cause issues"} 
[2026-04-17 15:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926414771197028352,"note":"Value kept but may cause issues"} 
[2026-04-17 15:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776419897000,"timestamp_ms":1776419897000,"timestamp_seconds":1776419897,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae07ea8"} 
[2026-04-17 15:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:29:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14080,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-17 15:29:58] 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-04-17 15:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763490304001,"66":12613,"106":206,"83":41984,"24":5,"16":113259176653750272,"45":1926414771197028352},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763490304001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:29:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:29:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113259176653750272,"km_value":113259176653750.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926414771197028352,"description":"Unknown IO ID 45"} 
[2026-04-17 15:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763490304001,"power":12613,"unknown_106":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1926414771197028352}} 
[2026-04-17 15:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":45965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21911,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:29:58] local.INFO: GPS data processed {"connection_id":45965,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:29:58] local.INFO: Acknowledgment sent {"connection_id":45965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:30:10] local.INFO: TCP Data received {"connection_id":45869,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45869,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:30:10] local.INFO: Processing buffer {"connection_id":45869,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:30:10] local.INFO: IMEI packet received {"connection_id":45869,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 15:30:10] local.INFO: IMEI acknowledgment sent {"connection_id":45869,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:30:27] local.INFO: TCP Data received {"connection_id":45870,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:30:27] local.INFO: Processing buffer {"connection_id":45870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:30:27] local.INFO: IMEI packet received {"connection_id":45870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":45870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:30:27] local.INFO: TCP Data received {"connection_id":45967,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:30:27] local.INFO: Processing buffer {"connection_id":45967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:30:27] local.INFO: Packet analysis {"connection_id":45967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:30:27] local.INFO: Extracted packet for processing {"connection_id":45967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763395328001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776419814000,"timestamp_ms":1776419814000,"timestamp_seconds":1776419814,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adf3a70"} 
[2026-04-17 15:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:30:27] 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-04-17 15:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45967,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:30: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-04-17 15:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763395328001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763395328001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:30:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763395328001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":45967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21912,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:30:27] local.INFO: GPS data processed {"connection_id":45967,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:30:27] local.INFO: Acknowledgment sent {"connection_id":45967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:30:32] local.INFO: TCP Data received {"connection_id":45870,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45870,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:30:32] local.INFO: Processing buffer {"connection_id":45870,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:30:32] local.INFO: IMEI packet received {"connection_id":45870,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:30:32] local.INFO: IMEI acknowledgment sent {"connection_id":45870,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:30:33] local.INFO: TCP Data received {"connection_id":45870,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae0d0b0012d1abc40071f3d580044008f27..."} 
[2026-04-17 15:30:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae0d0b0012d1abc40071f3d580044008f27..."} 
[2026-04-17 15:30:33] local.INFO: Processing buffer {"connection_id":45870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae0d0b0012d1abc40071f3d580044008f27..."} 
[2026-04-17 15:30:33] local.INFO: Packet analysis {"connection_id":45870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae0"} 
[2026-04-17 15:30:33] local.INFO: Extracted packet for processing {"connection_id":45870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae0"} 
[2026-04-17 15:30:33] local.INFO: GPS Element Parsed {"raw_longitude":756726848,"raw_latitude":119487832,"longitude_deg":75.6726848,"latitude_deg":11.9487832,"altitude":68,"angle":143,"satellites":39,"speed":0,"hex_longitude":"2d1abc40","hex_latitude":"071f3d58","is_valid_coordinates":true} 
[2026-04-17 15:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:30:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763493632001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:30:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113259189538652160,"note":"Value kept but may cause issues"} 
[2026-04-17 15:30:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926485139940831232,"note":"Value kept but may cause issues"} 
[2026-04-17 15:30:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:30:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776419918000,"timestamp_ms":1776419918000,"timestamp_seconds":1776419918,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae0d0b0"} 
[2026-04-17 15:30:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:30: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-04-17 15:30:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-17 15:30:33] 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-04-17 15:30:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:30:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:30:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:30:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:30:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:30:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:30:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:30:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:30:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:30:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763493632001,"66":12461,"106":206,"83":41984,"24":0,"16":113259189538652160,"45":1926485139940831232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:30:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:30:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:30:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763493632001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:30:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:30:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:30:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113259189538652160,"km_value":113259189538652.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:30:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926485139940831232,"description":"Unknown IO ID 45"} 
[2026-04-17 15:30:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763493632001,"power":12461,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1926485139940831232}} 
[2026-04-17 15:30:33] local.INFO: DEBUG: GPS processor result {"connection_id":45870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:30:33] local.INFO: GPS data processed {"connection_id":45870,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:30:33] local.INFO: Acknowledgment sent {"connection_id":45870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:30:55] local.INFO: TCP Data received {"connection_id":45968,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:30:55] local.INFO: Processing buffer {"connection_id":45968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:30:55] local.INFO: IMEI packet received {"connection_id":45968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":45968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:31:00] local.INFO: TCP Data received {"connection_id":45968,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:31:00] local.INFO: Processing buffer {"connection_id":45968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:31:00] local.INFO: IMEI packet received {"connection_id":45968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":45968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:31:01] local.INFO: TCP Data received {"connection_id":45968,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:31:01] local.INFO: Processing buffer {"connection_id":45968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:31:01] local.INFO: Packet analysis {"connection_id":45968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:31:01] local.INFO: Extracted packet for processing {"connection_id":45968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763395328001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776419814000,"timestamp_ms":1776419814000,"timestamp_seconds":1776419814,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adf3a70"} 
[2026-04-17 15:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15: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-04-17 15:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763395328001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763395328001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:31:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763395328001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":45968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:31:01] local.INFO: GPS data processed {"connection_id":45968,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:31:01] local.INFO: Acknowledgment sent {"connection_id":45968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:31:06] local.INFO: TCP Data received {"connection_id":45870,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae122b8012d1abc40071f3d580044008f29..."} 
[2026-04-17 15:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45870,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae122b8012d1abc40071f3d580044008f29..."} 
[2026-04-17 15:31:06] local.INFO: Processing buffer {"connection_id":45870,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae122b8012d1abc40071f3d580044008f29..."} 
[2026-04-17 15:31:06] local.INFO: Packet analysis {"connection_id":45870,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae1"} 
[2026-04-17 15:31:06] local.INFO: Extracted packet for processing {"connection_id":45870,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae1"} 
[2026-04-17 15:31:06] local.INFO: GPS Element Parsed {"raw_longitude":756726848,"raw_latitude":119487832,"longitude_deg":75.6726848,"latitude_deg":11.9487832,"altitude":68,"angle":143,"satellites":41,"speed":0,"hex_longitude":"2d1abc40","hex_latitude":"071f3d58","is_valid_coordinates":true} 
[2026-04-17 15:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763499008001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113259189538652160,"note":"Value kept but may cause issues"} 
[2026-04-17 15:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926485139940792320,"note":"Value kept but may cause issues"} 
[2026-04-17 15:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776419939000,"timestamp_ms":1776419939000,"timestamp_seconds":1776419939,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae122b8"} 
[2026-04-17 15:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:31:06] 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-04-17 15:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 15:31:06] 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-04-17 15:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45870,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45870,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:31:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763499008001,"66":12287,"106":206,"83":41984,"24":0,"16":113259189538652160,"45":1926485139940792320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763499008001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:31:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:31:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113259189538652160,"km_value":113259189538652.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926485139940792320,"description":"Unknown IO ID 45"} 
[2026-04-17 15:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763499008001,"power":12287,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1926485139940792320}} 
[2026-04-17 15:31:06] local.INFO: TCP Data received {"connection_id":45968,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:31:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:31:06] local.INFO: Processing buffer {"connection_id":45968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:31:06] local.INFO: Packet analysis {"connection_id":45968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:31:06] local.INFO: Extracted packet for processing {"connection_id":45968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:31:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:31:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763395328001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:31:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:31:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:31:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:31:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776419814000,"timestamp_ms":1776419814000,"timestamp_seconds":1776419814,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adf3a70"} 
[2026-04-17 15:31:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:31:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:31:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:31:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:31:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:31:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:31:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:31:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:31:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:31:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:31: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-04-17 15:31:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:31:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:31:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763395328001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:31:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:31:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:31:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763395328001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:31:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:31:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:31:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:31:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:31:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763395328001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":45870,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:31:06] local.INFO: GPS data processed {"connection_id":45870,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:31:06] local.INFO: Acknowledgment sent {"connection_id":45870,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:31:06] local.INFO: DEBUG: GPS processor result {"connection_id":45968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:31:06] local.INFO: GPS data processed {"connection_id":45968,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:31:06] local.INFO: Acknowledgment sent {"connection_id":45968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:31:22] local.INFO: TCP Data received {"connection_id":45871,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:31:22] local.INFO: Processing buffer {"connection_id":45871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:31:22] local.INFO: IMEI packet received {"connection_id":45871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":45871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:31:22] local.INFO: TCP Data received {"connection_id":45871,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:31:22] local.INFO: Processing buffer {"connection_id":45871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:31:22] local.INFO: IMEI packet received {"connection_id":45871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":45871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:31:27] local.INFO: TCP Data received {"connection_id":45871,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45871,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:31:27] local.INFO: Processing buffer {"connection_id":45871,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:31:27] local.INFO: IMEI packet received {"connection_id":45871,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":45871,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:31:28] local.INFO: TCP Data received {"connection_id":45871,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae174c0012d1abc40071f3d580044008f29..."} 
[2026-04-17 15:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae174c0012d1abc40071f3d580044008f29..."} 
[2026-04-17 15:31:28] local.INFO: Processing buffer {"connection_id":45871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae174c0012d1abc40071f3d580044008f29..."} 
[2026-04-17 15:31:28] local.INFO: Packet analysis {"connection_id":45871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae1"} 
[2026-04-17 15:31:28] local.INFO: Extracted packet for processing {"connection_id":45871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae1"} 
[2026-04-17 15:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756726848,"raw_latitude":119487832,"longitude_deg":75.6726848,"latitude_deg":11.9487832,"altitude":68,"angle":143,"satellites":41,"speed":0,"hex_longitude":"2d1abc40","hex_latitude":"071f3d58","is_valid_coordinates":true} 
[2026-04-17 15:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763504384001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113259189538652160,"note":"Value kept but may cause issues"} 
[2026-04-17 15:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926485139940792320,"note":"Value kept but may cause issues"} 
[2026-04-17 15:31:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776419960000,"timestamp_ms":1776419960000,"timestamp_seconds":1776419960,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae174c0"} 
[2026-04-17 15:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 15:31: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-04-17 15:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763504384001,"66":12200,"106":206,"83":41984,"24":0,"16":113259189538652160,"45":1926485139940792320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763504384001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:31:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:31:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113259189538652160,"km_value":113259189538652.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926485139940792320,"description":"Unknown IO ID 45"} 
[2026-04-17 15:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763504384001,"power":12200,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1926485139940792320}} 
[2026-04-17 15:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":45871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:31:28] local.INFO: GPS data processed {"connection_id":45871,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:31:28] local.INFO: Acknowledgment sent {"connection_id":45871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:31:50] local.INFO: TCP Data received {"connection_id":46722,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:31:50] local.INFO: Processing buffer {"connection_id":46722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:31:50] local.INFO: IMEI packet received {"connection_id":46722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":46722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:31:55] local.INFO: TCP Data received {"connection_id":46722,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46722,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:31:55] local.INFO: Processing buffer {"connection_id":46722,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:31:55] local.INFO: IMEI packet received {"connection_id":46722,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":46722,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:31:56] local.INFO: TCP Data received {"connection_id":46722,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:31:56] local.INFO: Processing buffer {"connection_id":46722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:31:56] local.INFO: Packet analysis {"connection_id":46722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:31:56] local.INFO: Extracted packet for processing {"connection_id":46722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763395328001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776419814000,"timestamp_ms":1776419814000,"timestamp_seconds":1776419814,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adf3a70"} 
[2026-04-17 15:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:31:56] 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-04-17 15:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763395328001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763395328001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:31:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763395328001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":46722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:31:56] local.INFO: GPS data processed {"connection_id":46722,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:31:56] local.INFO: Acknowledgment sent {"connection_id":46722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:31:59] local.INFO: TCP Data received {"connection_id":45871,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae1c6c8012d1abc40071f3d580044008f28..."} 
[2026-04-17 15:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae1c6c8012d1abc40071f3d580044008f28..."} 
[2026-04-17 15:31:59] local.INFO: Processing buffer {"connection_id":45871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae1c6c8012d1abc40071f3d580044008f28..."} 
[2026-04-17 15:31:59] local.INFO: Packet analysis {"connection_id":45871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae1"} 
[2026-04-17 15:31:59] local.INFO: Extracted packet for processing {"connection_id":45871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae1"} 
[2026-04-17 15:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756726848,"raw_latitude":119487832,"longitude_deg":75.6726848,"latitude_deg":11.9487832,"altitude":68,"angle":143,"satellites":40,"speed":0,"hex_longitude":"2d1abc40","hex_latitude":"071f3d58","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763509760001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113259189538652160,"note":"Value kept but may cause issues"} 
[2026-04-17 15:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926485139940792320,"note":"Value kept but may cause issues"} 
[2026-04-17 15:31:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776419981000,"timestamp_ms":1776419981000,"timestamp_seconds":1776419981,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae1c6c8"} 
[2026-04-17 15:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:31: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-04-17 15: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":47,"n8_eight_byte":168,"data_length":795,"current_offset":136} 
[2026-04-17 15:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1945,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45871,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763509760001,"66":12178,"106":206,"83":41984,"24":0,"16":113259189538652160,"45":1926485139940792320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763509760001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:31:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:31:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113259189538652160,"km_value":113259189538652.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926485139940792320,"description":"Unknown IO ID 45"} 
[2026-04-17 15:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763509760001,"power":12178,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1926485139940792320}} 
[2026-04-17 15:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":45871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21919,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:31:59] local.INFO: GPS data processed {"connection_id":45871,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:31:59] local.INFO: Acknowledgment sent {"connection_id":45871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:32:25] local.INFO: TCP Data received {"connection_id":46723,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:32:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:32:25] local.INFO: Processing buffer {"connection_id":46723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:32:25] local.INFO: IMEI packet received {"connection_id":46723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:32:25] local.INFO: IMEI acknowledgment sent {"connection_id":46723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:32:26] local.INFO: TCP Data received {"connection_id":46723,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:32:26] local.INFO: Processing buffer {"connection_id":46723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:32:26] local.INFO: IMEI packet received {"connection_id":46723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":46723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:32:27] local.INFO: TCP Data received {"connection_id":46722,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46722,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:32:27] local.INFO: Processing buffer {"connection_id":46722,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9adf3a70012d7faa8005afd2f8000500002f..."} 
[2026-04-17 15:32:27] local.INFO: Packet analysis {"connection_id":46722,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:32:27] local.INFO: Extracted packet for processing {"connection_id":46722,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9adf"} 
[2026-04-17 15:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":5,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763395328001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776419814000,"timestamp_ms":1776419814000,"timestamp_seconds":1776419814,"priority":1,"record_length":96,"hex_timestamp":"0000019d9adf3a70"} 
[2026-04-17 15:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:32:27] 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-04-17 15:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46722,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46722,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:32: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-04-17 15:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763395328001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763395328001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:32:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763395328001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":46722,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21920,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:32:27] local.INFO: GPS data processed {"connection_id":46722,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:32:27] local.INFO: Acknowledgment sent {"connection_id":46722,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:32:33] local.INFO: TCP Data received {"connection_id":46723,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:32:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46723,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:32:33] local.INFO: Processing buffer {"connection_id":46723,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:32:33] local.INFO: IMEI packet received {"connection_id":46723,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:32:33] local.INFO: IMEI acknowledgment sent {"connection_id":46723,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:32:34] local.INFO: TCP Data received {"connection_id":46723,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae218d0012d1abc40071f3d580044008f28..."} 
[2026-04-17 15:32:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae218d0012d1abc40071f3d580044008f28..."} 
[2026-04-17 15:32:34] local.INFO: Processing buffer {"connection_id":46723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae218d0012d1abc40071f3d580044008f28..."} 
[2026-04-17 15:32:34] local.INFO: Packet analysis {"connection_id":46723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae2"} 
[2026-04-17 15:32:34] local.INFO: Extracted packet for processing {"connection_id":46723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae2"} 
[2026-04-17 15:32:34] local.INFO: GPS Element Parsed {"raw_longitude":756726848,"raw_latitude":119487832,"longitude_deg":75.6726848,"latitude_deg":11.9487832,"altitude":68,"angle":143,"satellites":40,"speed":0,"hex_longitude":"2d1abc40","hex_latitude":"071f3d58","is_valid_coordinates":true} 
[2026-04-17 15:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:32:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763515136001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:32:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113259189538652160,"note":"Value kept but may cause issues"} 
[2026-04-17 15:32:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926485139940792320,"note":"Value kept but may cause issues"} 
[2026-04-17 15:32:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:32:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776420002000,"timestamp_ms":1776420002000,"timestamp_seconds":1776420002,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae218d0"} 
[2026-04-17 15:32:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:32: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-04-17 15:32:34] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-17 15:32:34] 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-04-17 15:32:34] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:32:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:32:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:32:34] local.INFO: Teltonika packet parsed successfully {"connection_id":46723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:32:34] local.INFO: Passing IMEI to GPS processor {"connection_id":46723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:32:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":46723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:32:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:32:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:32:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:32:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763515136001,"66":12232,"106":206,"83":41984,"24":0,"16":113259189538652160,"45":1926485139940792320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:32:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:32:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:32:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763515136001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:32:34] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:32:34] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:32:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113259189538652160,"km_value":113259189538652.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:32:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926485139940792320,"description":"Unknown IO ID 45"} 
[2026-04-17 15:32:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763515136001,"power":12232,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1926485139940792320}} 
[2026-04-17 15:32:34] local.INFO: DEBUG: GPS processor result {"connection_id":46723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:32:34] local.INFO: GPS data processed {"connection_id":46723,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:32:34] local.INFO: Acknowledgment sent {"connection_id":46723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:32:42] local.INFO: TCP Data received {"connection_id":46723,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae26ad8012d1abc40071f3d580044008f24..."} 
[2026-04-17 15:32:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46723,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae26ad8012d1abc40071f3d580044008f24..."} 
[2026-04-17 15:32:42] local.INFO: Processing buffer {"connection_id":46723,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae26ad8012d1abc40071f3d580044008f24..."} 
[2026-04-17 15:32:42] local.INFO: Packet analysis {"connection_id":46723,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae2"} 
[2026-04-17 15:32:42] local.INFO: Extracted packet for processing {"connection_id":46723,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae2"} 
[2026-04-17 15:32:42] local.INFO: GPS Element Parsed {"raw_longitude":756726848,"raw_latitude":119487832,"longitude_deg":75.6726848,"latitude_deg":11.9487832,"altitude":68,"angle":143,"satellites":36,"speed":0,"hex_longitude":"2d1abc40","hex_latitude":"071f3d58","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:32:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763520512001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:32:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113259189538652160,"note":"Value kept but may cause issues"} 
[2026-04-17 15:32:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926485139940792320,"note":"Value kept but may cause issues"} 
[2026-04-17 15:32:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:32:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776420023000,"timestamp_ms":1776420023000,"timestamp_seconds":1776420023,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae26ad8"} 
[2026-04-17 15:32:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:32: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-04-17 15: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":47,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-17 15:32:42] 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-04-17 15: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-04-17 15:32:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:32:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:32:42] local.INFO: Teltonika packet parsed successfully {"connection_id":46723,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:32:42] local.INFO: Passing IMEI to GPS processor {"connection_id":46723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:32:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":46723,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:32:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:32:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:32:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:32:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763520512001,"66":12287,"106":206,"83":41984,"24":0,"16":113259189538652160,"45":1926485139940792320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:32:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:32:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:32:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763520512001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:32:42] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:32:42] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:32:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113259189538652160,"km_value":113259189538652.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:32:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926485139940792320,"description":"Unknown IO ID 45"} 
[2026-04-17 15:32:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763520512001,"power":12287,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1926485139940792320}} 
[2026-04-17 15:32:42] local.INFO: DEBUG: GPS processor result {"connection_id":46723,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21922,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:32:42] local.INFO: GPS data processed {"connection_id":46723,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:32:42] local.INFO: Acknowledgment sent {"connection_id":46723,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:32:50] local.INFO: TCP Data received {"connection_id":46194,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:32:50] local.INFO: Processing buffer {"connection_id":46194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:32:50] local.INFO: IMEI packet received {"connection_id":46194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":46194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:32:55] local.INFO: TCP Data received {"connection_id":46194,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46194,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:32:55] local.INFO: Processing buffer {"connection_id":46194,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:32:55] local.INFO: IMEI packet received {"connection_id":46194,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":46194,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:32:56] local.INFO: TCP Data received {"connection_id":46194,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:32:56] local.INFO: Processing buffer {"connection_id":46194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:32:56] local.INFO: Packet analysis {"connection_id":46194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:32:56] local.INFO: Extracted packet for processing {"connection_id":46194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":6,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763472384001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776420115000,"timestamp_ms":1776420115000,"timestamp_seconds":1776420115,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae3d238"} 
[2026-04-17 15:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:32:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763472384001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763472384001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:32:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763472384001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":46194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:32:56] local.INFO: GPS data processed {"connection_id":46194,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:32:56] local.INFO: Acknowledgment sent {"connection_id":46194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:33:27] local.INFO: TCP Data received {"connection_id":46194,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:33:27] local.INFO: Processing buffer {"connection_id":46194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:33:27] local.INFO: Packet analysis {"connection_id":46194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:33:27] local.INFO: Extracted packet for processing {"connection_id":46194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":6,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763472384001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776420115000,"timestamp_ms":1776420115000,"timestamp_seconds":1776420115,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae3d238"} 
[2026-04-17 15:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:33:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:33:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46194,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15: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-04-17 15:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763472384001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763472384001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:33:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:33:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763472384001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":46194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21924,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:33:28] local.INFO: GPS data processed {"connection_id":46194,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:33:28] local.INFO: Acknowledgment sent {"connection_id":46194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:33:36] local.INFO: TCP Data received {"connection_id":45969,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:33:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:33:36] local.INFO: Processing buffer {"connection_id":45969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:33:36] local.INFO: IMEI packet received {"connection_id":45969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:33:36] local.INFO: IMEI acknowledgment sent {"connection_id":45969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:33:37] local.INFO: TCP Data received {"connection_id":45969,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:33:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45969,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:33:37] local.INFO: Processing buffer {"connection_id":45969,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:33:37] local.INFO: IMEI packet received {"connection_id":45969,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:33:37] local.INFO: IMEI acknowledgment sent {"connection_id":45969,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:33:38] local.INFO: TCP Data received {"connection_id":45969,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae2bce0012d1abc40071f3d580044008f29..."} 
[2026-04-17 15:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae2bce0012d1abc40071f3d580044008f29..."} 
[2026-04-17 15:33:38] local.INFO: Processing buffer {"connection_id":45969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae2bce0012d1abc40071f3d580044008f29..."} 
[2026-04-17 15:33:38] local.INFO: Packet analysis {"connection_id":45969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae2"} 
[2026-04-17 15:33:38] local.INFO: Extracted packet for processing {"connection_id":45969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae2"} 
[2026-04-17 15:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756726848,"raw_latitude":119487832,"longitude_deg":75.6726848,"latitude_deg":11.9487832,"altitude":68,"angle":143,"satellites":41,"speed":0,"hex_longitude":"2d1abc40","hex_latitude":"071f3d58","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763525888001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113259189538652160,"note":"Value kept but may cause issues"} 
[2026-04-17 15:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926485139940792320,"note":"Value kept but may cause issues"} 
[2026-04-17 15:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776420044000,"timestamp_ms":1776420044000,"timestamp_seconds":1776420044,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae2bce0"} 
[2026-04-17 15:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 15:33:38] 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-04-17 15: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-04-17 15:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":45969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":45969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":45969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763525888001,"66":12287,"106":206,"83":41984,"24":0,"16":113259189538652160,"45":1926485139940792320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763525888001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:33:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113259189538652160,"km_value":113259189538652.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926485139940792320,"description":"Unknown IO ID 45"} 
[2026-04-17 15:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763525888001,"power":12287,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1926485139940792320}} 
[2026-04-17 15:33:38] local.INFO: DEBUG: GPS processor result {"connection_id":45969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21925,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:33:38] local.INFO: GPS data processed {"connection_id":45969,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:33:38] local.INFO: Acknowledgment sent {"connection_id":45969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:33:38] local.INFO: TCP Data received {"connection_id":45969,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae30ee8012d1abc40071f3d580044008f27..."} 
[2026-04-17 15:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae30ee8012d1abc40071f3d580044008f27..."} 
[2026-04-17 15:33:38] local.INFO: Processing buffer {"connection_id":45969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae30ee8012d1abc40071f3d580044008f27..."} 
[2026-04-17 15:33:38] local.INFO: Packet analysis {"connection_id":45969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:33:38] local.INFO: Extracted packet for processing {"connection_id":45969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:33:38] local.INFO: GPS Element Parsed {"raw_longitude":756726848,"raw_latitude":119487832,"longitude_deg":75.6726848,"latitude_deg":11.9487832,"altitude":68,"angle":143,"satellites":39,"speed":0,"hex_longitude":"2d1abc40","hex_latitude":"071f3d58","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:33:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763531264001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:33:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113259189538652160,"note":"Value kept but may cause issues"} 
[2026-04-17 15:33:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926485139940792320,"note":"Value kept but may cause issues"} 
[2026-04-17 15:33:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:33:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776420065000,"timestamp_ms":1776420065000,"timestamp_seconds":1776420065,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae30ee8"} 
[2026-04-17 15:33:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:33:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 15:33:38] 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-04-17 15: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-04-17 15:33:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:33:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:33:38] local.INFO: Teltonika packet parsed successfully {"connection_id":45969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:33:38] local.INFO: Passing IMEI to GPS processor {"connection_id":45969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:33:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":45969,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:33:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:33:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:33:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:33:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763531264001,"66":12287,"106":206,"83":41984,"24":0,"16":113259189538652160,"45":1926485139940792320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:33:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:33:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:33:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763531264001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:33:38] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:33:38] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:33:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113259189538652160,"km_value":113259189538652.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:33:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926485139940792320,"description":"Unknown IO ID 45"} 
[2026-04-17 15:33:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763531264001,"power":12287,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1926485139940792320}} 
[2026-04-17 15:33:39] local.INFO: DEBUG: GPS processor result {"connection_id":45969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:33:39] local.INFO: GPS data processed {"connection_id":45969,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:33:39] local.INFO: Acknowledgment sent {"connection_id":45969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:33:50] local.INFO: TCP Data received {"connection_id":45971,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:33:50] local.INFO: Processing buffer {"connection_id":45971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:33:50] local.INFO: IMEI packet received {"connection_id":45971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":45971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:33:55] local.INFO: TCP Data received {"connection_id":45971,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:33:55] local.INFO: Processing buffer {"connection_id":45971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:33:55] local.INFO: IMEI packet received {"connection_id":45971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":45971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:33:56] local.INFO: TCP Data received {"connection_id":45971,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:33:56] local.INFO: Processing buffer {"connection_id":45971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:33:56] local.INFO: Packet analysis {"connection_id":45971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:33:56] local.INFO: Extracted packet for processing {"connection_id":45971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":6,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763472384001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776420115000,"timestamp_ms":1776420115000,"timestamp_seconds":1776420115,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae3d238"} 
[2026-04-17 15:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763472384001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763472384001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:33:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763472384001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":45971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21927,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:33:56] local.INFO: GPS data processed {"connection_id":45971,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:33:56] local.INFO: Acknowledgment sent {"connection_id":45971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:34:22] local.INFO: TCP Data received {"connection_id":46724,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:34:22] local.INFO: Processing buffer {"connection_id":46724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:34:22] local.INFO: IMEI packet received {"connection_id":46724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":46724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:34:28] local.INFO: TCP Data received {"connection_id":45971,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:34:28] local.INFO: Processing buffer {"connection_id":45971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:34:28] local.INFO: Packet analysis {"connection_id":45971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:34:28] local.INFO: Extracted packet for processing {"connection_id":45971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:34:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":6,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763472384001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776420115000,"timestamp_ms":1776420115000,"timestamp_seconds":1776420115,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae3d238"} 
[2026-04-17 15:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:34:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:34: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-04-17 15:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763472384001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763472384001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:34:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763472384001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":45971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21928,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:34:28] local.INFO: GPS data processed {"connection_id":45971,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:34:28] local.INFO: Acknowledgment sent {"connection_id":45971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:34:29] local.INFO: TCP Data received {"connection_id":46724,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46724,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:34:29] local.INFO: Processing buffer {"connection_id":46724,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:34:29] local.INFO: IMEI packet received {"connection_id":46724,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":46724,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:34:29] local.INFO: TCP Data received {"connection_id":46724,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae360f0012d1abc40071f3d580044008f27..."} 
[2026-04-17 15:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae360f0012d1abc40071f3d580044008f27..."} 
[2026-04-17 15:34:29] local.INFO: Processing buffer {"connection_id":46724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae360f0012d1abc40071f3d580044008f27..."} 
[2026-04-17 15:34:29] local.INFO: Packet analysis {"connection_id":46724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:34:29] local.INFO: Extracted packet for processing {"connection_id":46724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:34:29] local.INFO: GPS Element Parsed {"raw_longitude":756726848,"raw_latitude":119487832,"longitude_deg":75.6726848,"latitude_deg":11.9487832,"altitude":68,"angle":143,"satellites":39,"speed":0,"hex_longitude":"2d1abc40","hex_latitude":"071f3d58","is_valid_coordinates":true} 
[2026-04-17 15:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:34:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763536640001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:34:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113259189538652160,"note":"Value kept but may cause issues"} 
[2026-04-17 15:34:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1926485139940792320,"note":"Value kept but may cause issues"} 
[2026-04-17 15:34:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:34:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776420086000,"timestamp_ms":1776420086000,"timestamp_seconds":1776420086,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae360f0"} 
[2026-04-17 15:34:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:34:29] 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-04-17 15:34:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 15:34: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-04-17 15:34:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:34:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:34:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:34:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:34:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:34:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:34:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:34:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:34:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:34:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763536640001,"66":12298,"106":206,"83":41984,"24":0,"16":113259189538652160,"45":1926485139940792320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:34:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:34:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:34:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763536640001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:34:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:34:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:34:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113259189538652160,"km_value":113259189538652.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:34:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1926485139940792320,"description":"Unknown IO ID 45"} 
[2026-04-17 15:34:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763536640001,"power":12298,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1926485139940792320}} 
[2026-04-17 15:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":46724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:34:30] local.INFO: GPS data processed {"connection_id":46724,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:34:30] local.INFO: Acknowledgment sent {"connection_id":46724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:34:50] local.INFO: TCP Data received {"connection_id":45873,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:34:50] local.INFO: Processing buffer {"connection_id":45873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:34:50] local.INFO: IMEI packet received {"connection_id":45873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":45873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:34:55] local.INFO: TCP Data received {"connection_id":45873,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:34:55] local.INFO: Processing buffer {"connection_id":45873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:34:55] local.INFO: IMEI packet received {"connection_id":45873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":45873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:34:56] local.INFO: TCP Data received {"connection_id":45873,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:34:56] local.INFO: Processing buffer {"connection_id":45873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:34:56] local.INFO: Packet analysis {"connection_id":45873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:34:56] local.INFO: Extracted packet for processing {"connection_id":45873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":6,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763472384001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776420115000,"timestamp_ms":1776420115000,"timestamp_seconds":1776420115,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae3d238"} 
[2026-04-17 15:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763472384001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763472384001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:34:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763472384001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":45873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21930,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:34:56] local.INFO: GPS data processed {"connection_id":45873,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:34:56] local.INFO: Acknowledgment sent {"connection_id":45873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:35:01] local.INFO: TCP Data received {"connection_id":46724,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae5d5d8012d1ab300071f96d8003d011224..."} 
[2026-04-17 15:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46724,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae5d5d8012d1ab300071f96d8003d011224..."} 
[2026-04-17 15:35:01] local.INFO: Processing buffer {"connection_id":46724,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae5d5d8012d1ab300071f96d8003d011224..."} 
[2026-04-17 15:35:01] local.INFO: Packet analysis {"connection_id":46724,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae5"} 
[2026-04-17 15:35:01] local.INFO: Extracted packet for processing {"connection_id":46724,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae5"} 
[2026-04-17 15:35:01] local.INFO: GPS Element Parsed {"raw_longitude":756724480,"raw_latitude":119510744,"longitude_deg":75.672448,"latitude_deg":11.9510744,"altitude":61,"angle":274,"satellites":36,"speed":34,"hex_longitude":"2d1ab300","hex_latitude":"071f96d8","is_valid_coordinates":true} 
[2026-04-17 15:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763582720001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113260568223154176,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925851821248997376,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776420247000,"timestamp_ms":1776420247000,"timestamp_seconds":1776420247,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae5d5d8"} 
[2026-04-17 15:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:35:01] 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-04-17 15:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-17 15:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733137408,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:01] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2598734752,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:01] local.WARNING: Large IO value detected {"io_id":97,"raw_value":2969567232,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:01] local.WARNING: Invalid MCC detected {"io_id":202,"raw_value":8193,"corrected_to":0} 
[2026-04-17 15:35:01] local.WARNING: Large IO value detected {"io_id":192,"raw_value":84753358451580738,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7899094943593922560,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:01] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505327832793088,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:01] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3854204929,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:01] local.WARNING: Large IO value detected {"io_id":31,"raw_value":2357198912,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:01] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638152328374890,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:01] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4035489153214120192,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-17 15:35:01] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:01] local.WARNING: Large IO value detected {"io_id":216,"raw_value":19704752262612736,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:01] local.WARNING: Large IO value detected {"io_id":26,"raw_value":-4953951759387590587,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:01] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,97,202,45,192,149,63,37,10,66,198,147,194,64,1,240,27,227,154,31,4,113,205,30,155,187,184,239,54,2,146,7,71,35,206,216,26],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":202,"original":8193,"validated":0},{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-17 15:35:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4467886544809623552,"timestamp_seconds":4467886544809623.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 15:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46724,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46724,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:35:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763582720001,"66":14374,"106":206,"83":41984,"24":34,"16":113260568223154176,"45":1925851821248997376},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763582720001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:35:01] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:35:01] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113260568223154176,"km_value":113260568223154.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925851821248997376,"description":"Unknown IO ID 45"} 
[2026-04-17 15:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763582720001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1925851821248997376}} 
[2026-04-17 15:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":46724,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:35:01] local.INFO: GPS data processed {"connection_id":46724,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:35:01] local.INFO: Acknowledgment sent {"connection_id":46724,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:35:14] local.INFO: TCP Data received {"connection_id":45972,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:35:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:35:14] local.INFO: Processing buffer {"connection_id":45972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:35:14] local.INFO: IMEI packet received {"connection_id":45972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 15:35:14] local.INFO: IMEI acknowledgment sent {"connection_id":45972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:35:22] local.INFO: TCP Data received {"connection_id":46725,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:35:22] local.INFO: Processing buffer {"connection_id":46725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:35:22] local.INFO: IMEI packet received {"connection_id":46725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":46725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:35:27] local.INFO: TCP Data received {"connection_id":46725,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46725,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:35:27] local.INFO: Processing buffer {"connection_id":46725,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:35:27] local.INFO: IMEI packet received {"connection_id":46725,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":46725,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:35:28] local.INFO: TCP Data received {"connection_id":45873,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:35:28] local.INFO: Processing buffer {"connection_id":45873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:35:28] local.INFO: Packet analysis {"connection_id":45873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:35:28] local.INFO: Extracted packet for processing {"connection_id":45873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:35:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":6,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763472384001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776420115000,"timestamp_ms":1776420115000,"timestamp_seconds":1776420115,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae3d238"} 
[2026-04-17 15:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:35:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:35: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-04-17 15:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763472384001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763472384001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:35:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:35:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763472384001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":45873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21932,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:35:28] local.INFO: GPS data processed {"connection_id":45873,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:35:28] local.INFO: Acknowledgment sent {"connection_id":45873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:35:28] local.INFO: TCP Data received {"connection_id":46725,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae5e578012d1aa540071f9920003d012227..."} 
[2026-04-17 15:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae5e578012d1aa540071f9920003d012227..."} 
[2026-04-17 15:35:28] local.INFO: Processing buffer {"connection_id":46725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae5e578012d1aa540071f9920003d012227..."} 
[2026-04-17 15:35:28] local.INFO: Packet analysis {"connection_id":46725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae5"} 
[2026-04-17 15:35:28] local.INFO: Extracted packet for processing {"connection_id":46725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae5"} 
[2026-04-17 15:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756720960,"raw_latitude":119511328,"longitude_deg":75.672096,"latitude_deg":11.9511328,"altitude":61,"angle":290,"satellites":39,"speed":32,"hex_longitude":"2d1aa540","hex_latitude":"071f9920","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763583232001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113260735726878720,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1923881496412084224,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776420251000,"timestamp_ms":1776420251000,"timestamp_seconds":1776420251,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae5e578"} 
[2026-04-17 15:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:35:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 15:35:28] 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-04-17 15: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-04-17 15:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763583232001,"66":14428,"106":206,"83":41984,"24":32,"16":113260735726878720,"45":1923881496412084224},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763583232001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:35:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:35:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113260735726878720,"km_value":113260735726878.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1923881496412084224,"description":"Unknown IO ID 45"} 
[2026-04-17 15:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763583232001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1923881496412084224}} 
[2026-04-17 15:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":46725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:35:28] local.INFO: GPS data processed {"connection_id":46725,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:35:28] local.INFO: Acknowledgment sent {"connection_id":46725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:35:56] local.INFO: TCP Data received {"connection_id":46196,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:35:56] local.INFO: Processing buffer {"connection_id":46196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:35:56] local.INFO: IMEI packet received {"connection_id":46196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:35:56] local.INFO: IMEI acknowledgment sent {"connection_id":46196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:35:59] local.INFO: TCP Data received {"connection_id":46725,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae5ed48012d1a9f80071f9c98003d013527..."} 
[2026-04-17 15:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46725,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae5ed48012d1a9f80071f9c98003d013527..."} 
[2026-04-17 15:35:59] local.INFO: Processing buffer {"connection_id":46725,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae5ed48012d1a9f80071f9c98003d013527..."} 
[2026-04-17 15:35:59] local.INFO: Packet analysis {"connection_id":46725,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae5"} 
[2026-04-17 15:35:59] local.INFO: Extracted packet for processing {"connection_id":46725,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae5"} 
[2026-04-17 15:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756719488,"raw_latitude":119512216,"longitude_deg":75.6719488,"latitude_deg":11.9512216,"altitude":61,"angle":309,"satellites":39,"speed":34,"hex_longitude":"2d1a9f80","hex_latitude":"071f9c98","is_valid_coordinates":true} 
[2026-04-17 15:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763584256001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113260817331257344,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1920011215482462208,"note":"Value kept but may cause issues"} 
[2026-04-17 15:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776420253000,"timestamp_ms":1776420253000,"timestamp_seconds":1776420253,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae5ed48"} 
[2026-04-17 15:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:35:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 15:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46725,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46725,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763584256001,"66":14461,"106":206,"83":41984,"24":34,"16":113260817331257344,"45":1920011215482462208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763584256001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:35:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:35:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113260817331257344,"km_value":113260817331257.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1920011215482462208,"description":"Unknown IO ID 45"} 
[2026-04-17 15:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763584256001,"power":14461,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1920011215482462208}} 
[2026-04-17 15:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":46725,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:35:59] local.INFO: GPS data processed {"connection_id":46725,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:35:59] local.INFO: Acknowledgment sent {"connection_id":46725,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:36:00] local.INFO: TCP Data received {"connection_id":46196,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46196,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:36:00] local.INFO: Processing buffer {"connection_id":46196,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:36:00] local.INFO: IMEI packet received {"connection_id":46196,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:36:00] local.INFO: IMEI acknowledgment sent {"connection_id":46196,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:36:01] local.INFO: TCP Data received {"connection_id":46196,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:36:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:36:01] local.INFO: Processing buffer {"connection_id":46196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:36:01] local.INFO: Packet analysis {"connection_id":46196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:36:01] local.INFO: Extracted packet for processing {"connection_id":46196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:36:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":6,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:36:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763472384001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:36:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:36:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:36:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:36:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776420115000,"timestamp_ms":1776420115000,"timestamp_seconds":1776420115,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae3d238"} 
[2026-04-17 15:36:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:36:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:36:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:36:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:36:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:36:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:36:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:36:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15: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-04-17 15:36:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:36:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:36:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763472384001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:36:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:36:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:36:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763472384001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:36:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:36:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:36:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:36:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:36:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763472384001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:36:01] local.INFO: DEBUG: GPS processor result {"connection_id":46196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21935,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:36:01] local.INFO: GPS data processed {"connection_id":46196,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:36:01] local.INFO: Acknowledgment sent {"connection_id":46196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:36:06] local.INFO: TCP Data received {"connection_id":46196,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:36:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46196,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:36:06] local.INFO: Processing buffer {"connection_id":46196,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:36:06] local.INFO: Packet analysis {"connection_id":46196,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:36:06] local.INFO: Extracted packet for processing {"connection_id":46196,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:36:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":6,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:36:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763472384001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:36:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:36:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:36:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:36:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776420115000,"timestamp_ms":1776420115000,"timestamp_seconds":1776420115,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae3d238"} 
[2026-04-17 15:36:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:36:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:36:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:36:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:36:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:36:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:36:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:36:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46196,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:36:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:36:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46196,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:36: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-04-17 15:36:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:36:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:36:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763472384001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:36:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:36:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:36:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763472384001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:36:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:36:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:36:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:36:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:36:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763472384001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:36:06] local.INFO: DEBUG: GPS processor result {"connection_id":46196,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21936,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:36:06] local.INFO: GPS data processed {"connection_id":46196,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:36:06] local.INFO: Acknowledgment sent {"connection_id":46196,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:36:20] local.INFO: TCP Data received {"connection_id":46197,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:36:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:36:20] local.INFO: Processing buffer {"connection_id":46197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:36:20] local.INFO: IMEI packet received {"connection_id":46197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:36:20] local.INFO: IMEI acknowledgment sent {"connection_id":46197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:36:21] local.INFO: TCP Data received {"connection_id":46197,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:36:21] local.INFO: Processing buffer {"connection_id":46197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:36:21] local.INFO: IMEI packet received {"connection_id":46197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":46197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:36:26] local.INFO: TCP Data received {"connection_id":46197,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46197,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:36:26] local.INFO: Processing buffer {"connection_id":46197,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:36:26] local.INFO: IMEI packet received {"connection_id":46197,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":46197,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:36:27] local.INFO: TCP Data received {"connection_id":46197,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae63f50012d1a8d80071fadf0003b013e24..."} 
[2026-04-17 15:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae63f50012d1a8d80071fadf0003b013e24..."} 
[2026-04-17 15:36:27] local.INFO: Processing buffer {"connection_id":46197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae63f50012d1a8d80071fadf0003b013e24..."} 
[2026-04-17 15:36:27] local.INFO: Packet analysis {"connection_id":46197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae6"} 
[2026-04-17 15:36:27] local.INFO: Extracted packet for processing {"connection_id":46197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae6"} 
[2026-04-17 15:36:27] local.INFO: GPS Element Parsed {"raw_longitude":756714880,"raw_latitude":119516656,"longitude_deg":75.671488,"latitude_deg":11.9516656,"altitude":59,"angle":318,"satellites":36,"speed":0,"hex_longitude":"2d1a8d80","hex_latitude":"071fadf0","is_valid_coordinates":true} 
[2026-04-17 15:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763584768001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113261126568902656,"note":"Value kept but may cause issues"} 
[2026-04-17 15:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1918392734366603264,"note":"Value kept but may cause issues"} 
[2026-04-17 15:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776420274000,"timestamp_ms":1776420274000,"timestamp_seconds":1776420274,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae63f50"} 
[2026-04-17 15:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:36: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-04-17 15:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 15:36:27] 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-04-17 15:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763584768001,"66":14341,"106":206,"83":41984,"24":0,"16":113261126568902656,"45":1918392734366603264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763584768001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:36:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:36:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113261126568902656,"km_value":113261126568902.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1918392734366603264,"description":"Unknown IO ID 45"} 
[2026-04-17 15:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763584768001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1918392734366603264}} 
[2026-04-17 15:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":46197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:36:27] local.INFO: GPS data processed {"connection_id":46197,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:36:27] local.INFO: Acknowledgment sent {"connection_id":46197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:36:50] local.INFO: TCP Data received {"connection_id":46726,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:36:50] local.INFO: Processing buffer {"connection_id":46726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:36:50] local.INFO: IMEI packet received {"connection_id":46726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":46726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:36:55] local.INFO: TCP Data received {"connection_id":46726,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46726,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:36:55] local.INFO: Processing buffer {"connection_id":46726,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:36:55] local.INFO: IMEI packet received {"connection_id":46726,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":46726,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:36:56] local.INFO: TCP Data received {"connection_id":46726,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:36:56] local.INFO: Processing buffer {"connection_id":46726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:36:56] local.INFO: Packet analysis {"connection_id":46726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:36:56] local.INFO: Extracted packet for processing {"connection_id":46726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":6,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763472384001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776420115000,"timestamp_ms":1776420115000,"timestamp_seconds":1776420115,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae3d238"} 
[2026-04-17 15:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763472384001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763472384001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:36:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763472384001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":46726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21938,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:36:56] local.INFO: GPS data processed {"connection_id":46726,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:36:56] local.INFO: Acknowledgment sent {"connection_id":46726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:36:58] local.INFO: TCP Data received {"connection_id":46197,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae79710012d19dec007200948002f012f29..."} 
[2026-04-17 15:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46197,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae79710012d19dec007200948002f012f29..."} 
[2026-04-17 15:36:58] local.INFO: Processing buffer {"connection_id":46197,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae79710012d19dec007200948002f012f29..."} 
[2026-04-17 15:36:58] local.INFO: Packet analysis {"connection_id":46197,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae7"} 
[2026-04-17 15:36:58] local.INFO: Extracted packet for processing {"connection_id":46197,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae7"} 
[2026-04-17 15:36:58] local.INFO: GPS Element Parsed {"raw_longitude":756670144,"raw_latitude":119540040,"longitude_deg":75.6670144,"latitude_deg":11.954004,"altitude":47,"angle":303,"satellites":41,"speed":30,"hex_longitude":"2d19dec0","hex_latitude":"07200948","is_valid_coordinates":true} 
[2026-04-17 15:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763611648001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113263673484509184,"note":"Value kept but may cause issues"} 
[2026-04-17 15:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1866179126193297408,"note":"Value kept but may cause issues"} 
[2026-04-17 15:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776420362000,"timestamp_ms":1776420362000,"timestamp_seconds":1776420362,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae79710"} 
[2026-04-17 15:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 15:36:58] 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-04-17 15:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46197,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46197,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763611648001,"66":14048,"106":206,"83":41984,"24":30,"16":113263673484509184,"45":1866179126193297408},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763611648001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:36:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:36:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113263673484509184,"km_value":113263673484509.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1866179126193297408,"description":"Unknown IO ID 45"} 
[2026-04-17 15:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763611648001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1866179126193297408}} 
[2026-04-17 15:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":46197,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:36:58] local.INFO: GPS data processed {"connection_id":46197,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:36:58] local.INFO: Acknowledgment sent {"connection_id":46197,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:37:21] local.INFO: TCP Data received {"connection_id":45974,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:37:21] local.INFO: Processing buffer {"connection_id":45974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:37:21] local.INFO: IMEI packet received {"connection_id":45974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":45974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:37:21] local.INFO: TCP Data received {"connection_id":45974,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:37:21] local.INFO: Processing buffer {"connection_id":45974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:37:21] local.INFO: IMEI packet received {"connection_id":45974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":45974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:37:21] local.INFO: TCP Data received {"connection_id":45974,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:37:21] local.INFO: Processing buffer {"connection_id":45974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:37:21] local.INFO: IMEI packet received {"connection_id":45974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":45974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:37:27] local.INFO: TCP Data received {"connection_id":45974,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45974,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:37:27] local.INFO: Processing buffer {"connection_id":45974,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:37:27] local.INFO: IMEI packet received {"connection_id":45974,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":45974,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:37:27] local.INFO: TCP Data received {"connection_id":46726,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46726,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:37:27] local.INFO: Processing buffer {"connection_id":46726,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae3d238012d7faa8005afd2f8000600002c..."} 
[2026-04-17 15:37:27] local.INFO: Packet analysis {"connection_id":46726,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:37:27] local.INFO: Extracted packet for processing {"connection_id":46726,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae3"} 
[2026-04-17 15:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":6,"angle":0,"satellites":44,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763472384001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776420115000,"timestamp_ms":1776420115000,"timestamp_seconds":1776420115,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae3d238"} 
[2026-04-17 15:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46726,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46726,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:37: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-04-17 15:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763472384001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763472384001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:37:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763472384001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":46726,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21940,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:37:27] local.INFO: GPS data processed {"connection_id":46726,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:37:27] local.INFO: Acknowledgment sent {"connection_id":46726,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:37:28] local.INFO: TCP Data received {"connection_id":45974,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae7b268012d19cdc007201530002e013f25..."} 
[2026-04-17 15:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae7b268012d19cdc007201530002e013f25..."} 
[2026-04-17 15:37:28] local.INFO: Processing buffer {"connection_id":45974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae7b268012d19cdc007201530002e013f25..."} 
[2026-04-17 15:37:28] local.INFO: Packet analysis {"connection_id":45974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae7"} 
[2026-04-17 15:37:28] local.INFO: Extracted packet for processing {"connection_id":45974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae7"} 
[2026-04-17 15:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119543088,"longitude_deg":75.6665792,"latitude_deg":11.9543088,"altitude":46,"angle":319,"satellites":37,"speed":17,"hex_longitude":"2d19cdc0","hex_latitude":"07201530","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763612672001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113263926887579648,"note":"Value kept but may cause issues"} 
[2026-04-17 15:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1864138432612747264,"note":"Value kept but may cause issues"} 
[2026-04-17 15:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776420369000,"timestamp_ms":1776420369000,"timestamp_seconds":1776420369,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae7b268"} 
[2026-04-17 15:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14336,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 15:37: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-04-17 15: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-04-17 15:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763612672001,"66":13972,"106":206,"83":41984,"24":17,"16":113263926887579648,"45":1864138432612747264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763612672001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:37:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:37:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113263926887579648,"km_value":113263926887579.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1864138432612747264,"description":"Unknown IO ID 45"} 
[2026-04-17 15:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763612672001,"power":13972,"unknown_106":206,"unknown_83":41984,"ignition":17,"odometer":null,"unknown_45":1864138432612747264}} 
[2026-04-17 15:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":45974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:37:28] local.INFO: GPS data processed {"connection_id":45974,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:37:28] local.INFO: Acknowledgment sent {"connection_id":45974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:37:50] local.INFO: TCP Data received {"connection_id":46198,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:37:50] local.INFO: Processing buffer {"connection_id":46198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:37:50] local.INFO: IMEI packet received {"connection_id":46198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":46198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:37:55] local.INFO: TCP Data received {"connection_id":46198,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:37:55] local.INFO: Processing buffer {"connection_id":46198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:37:55] local.INFO: IMEI packet received {"connection_id":46198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":46198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:37:56] local.INFO: TCP Data received {"connection_id":46198,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:37:56] local.INFO: Processing buffer {"connection_id":46198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:37:56] local.INFO: Packet analysis {"connection_id":46198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:37:56] local.INFO: Extracted packet for processing {"connection_id":46198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763549440001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776420416000,"timestamp_ms":1776420416000,"timestamp_seconds":1776420416,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae86a00"} 
[2026-04-17 15:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763549440001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763549440001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:37:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763549440001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":46198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21942,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:37:56] local.INFO: GPS data processed {"connection_id":46198,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:37:56] local.INFO: Acknowledgment sent {"connection_id":46198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:38:00] local.INFO: TCP Data received {"connection_id":45974,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae88940012d19b3c00720adf00034012422..."} 
[2026-04-17 15:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae88940012d19b3c00720adf00034012422..."} 
[2026-04-17 15:38:00] local.INFO: Processing buffer {"connection_id":45974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae88940012d19b3c00720adf00034012422..."} 
[2026-04-17 15:38:00] local.INFO: Packet analysis {"connection_id":45974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:38:00] local.INFO: Extracted packet for processing {"connection_id":45974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:38:00] local.INFO: GPS Element Parsed {"raw_longitude":756659136,"raw_latitude":119582192,"longitude_deg":75.6659136,"latitude_deg":11.9582192,"altitude":52,"angle":292,"satellites":34,"speed":23,"hex_longitude":"2d19b3c0","hex_latitude":"0720adf0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 15:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763628288001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113265988471881728,"note":"Value kept but may cause issues"} 
[2026-04-17 15:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852879433555064832,"note":"Value kept but may cause issues"} 
[2026-04-17 15:38:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776420424000,"timestamp_ms":1776420424000,"timestamp_seconds":1776420424,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae88940"} 
[2026-04-17 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-04-17 15:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-04-17 15:38: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-04-17 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-04-17 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-04-17 15:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45974,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763628288001,"66":14026,"106":206,"83":41984,"24":23,"16":113265988471881728,"45":1852879433555064832},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763628288001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:38:00] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:38:00] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113265988471881728,"km_value":113265988471881.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852879433555064832,"description":"Unknown IO ID 45"} 
[2026-04-17 15:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763628288001,"power":14026,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1852879433555064832}} 
[2026-04-17 15:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":45974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21943,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:38:00] local.INFO: GPS data processed {"connection_id":45974,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:38:00] local.INFO: Acknowledgment sent {"connection_id":45974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:38:21] local.INFO: TCP Data received {"connection_id":46200,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:38:21] local.INFO: Processing buffer {"connection_id":46200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:38:21] local.INFO: IMEI packet received {"connection_id":46200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":46200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:38:27] local.INFO: TCP Data received {"connection_id":46200,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46200,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:38:27] local.INFO: Processing buffer {"connection_id":46200,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:38:27] local.INFO: IMEI packet received {"connection_id":46200,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":46200,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:38:27] local.INFO: TCP Data received {"connection_id":46198,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:38:27] local.INFO: Processing buffer {"connection_id":46198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:38:27] local.INFO: Packet analysis {"connection_id":46198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:38:27] local.INFO: Extracted packet for processing {"connection_id":46198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763549440001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776420416000,"timestamp_ms":1776420416000,"timestamp_seconds":1776420416,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae86a00"} 
[2026-04-17 15:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:38: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-04-17 15:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763549440001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763549440001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:38:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:38:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763549440001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":46198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:38:27] local.INFO: GPS data processed {"connection_id":46198,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:38:27] local.INFO: Acknowledgment sent {"connection_id":46198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:38:28] local.INFO: TCP Data received {"connection_id":46200,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae89cc8012d19a7400720b1580036011524..."} 
[2026-04-17 15:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae89cc8012d19a7400720b1580036011524..."} 
[2026-04-17 15:38:28] local.INFO: Processing buffer {"connection_id":46200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae89cc8012d19a7400720b1580036011524..."} 
[2026-04-17 15:38:28] local.INFO: Packet analysis {"connection_id":46200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:38:28] local.INFO: Extracted packet for processing {"connection_id":46200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:38:28] local.INFO: GPS Element Parsed {"raw_longitude":756655936,"raw_latitude":119583064,"longitude_deg":75.6655936,"latitude_deg":11.9583064,"altitude":54,"angle":277,"satellites":36,"speed":25,"hex_longitude":"2d19a740","hex_latitude":"0720b158","is_valid_coordinates":true} 
[2026-04-17 15:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763628544001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113266147385671680,"note":"Value kept but may cause issues"} 
[2026-04-17 15:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852035008624979968,"note":"Value kept but may cause issues"} 
[2026-04-17 15:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776420429000,"timestamp_ms":1776420429000,"timestamp_seconds":1776420429,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae89cc8"} 
[2026-04-17 15:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:38: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-04-17 15:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-04-17 15:38:28] 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-04-17 15:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:38:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763628544001,"66":13928,"106":206,"83":41984,"24":25,"16":113266147385671680,"45":1852035008624979968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763628544001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:38:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:38:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113266147385671680,"km_value":113266147385671.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852035008624979968,"description":"Unknown IO ID 45"} 
[2026-04-17 15:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763628544001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":25,"odometer":null,"unknown_45":1852035008624979968}} 
[2026-04-17 15:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":46200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:38:28] local.INFO: GPS data processed {"connection_id":46200,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:38:28] local.INFO: Acknowledgment sent {"connection_id":46200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:38:50] local.INFO: TCP Data received {"connection_id":45975,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:38:50] local.INFO: Processing buffer {"connection_id":45975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:38:50] local.INFO: IMEI packet received {"connection_id":45975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":45975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:38:55] local.INFO: TCP Data received {"connection_id":45975,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45975,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:38:55] local.INFO: Processing buffer {"connection_id":45975,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:38:55] local.INFO: IMEI packet received {"connection_id":45975,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":45975,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:38:56] local.INFO: TCP Data received {"connection_id":45975,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:38:56] local.INFO: Processing buffer {"connection_id":45975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:38:56] local.INFO: Packet analysis {"connection_id":45975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:38:56] local.INFO: Extracted packet for processing {"connection_id":45975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763549440001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776420416000,"timestamp_ms":1776420416000,"timestamp_seconds":1776420416,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae86a00"} 
[2026-04-17 15:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763549440001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763549440001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:38:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763549440001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":45975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21946,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:38:56] local.INFO: GPS data processed {"connection_id":45975,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:38:56] local.INFO: Acknowledgment sent {"connection_id":45975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:38:59] local.INFO: TCP Data received {"connection_id":46200,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae8c3d8012d1988400720b3c00039010725..."} 
[2026-04-17 15:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46200,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae8c3d8012d1988400720b3c00039010725..."} 
[2026-04-17 15:38:59] local.INFO: Processing buffer {"connection_id":46200,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae8c3d8012d1988400720b3c00039010725..."} 
[2026-04-17 15:38:59] local.INFO: Packet analysis {"connection_id":46200,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:38:59] local.INFO: Extracted packet for processing {"connection_id":46200,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756648000,"raw_latitude":119583680,"longitude_deg":75.6648,"latitude_deg":11.958368,"altitude":57,"angle":263,"satellites":37,"speed":38,"hex_longitude":"2d198840","hex_latitude":"0720b3c0","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763629824001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113266525342793728,"note":"Value kept but may cause issues"} 
[2026-04-17 15:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1848516571416320000,"note":"Value kept but may cause issues"} 
[2026-04-17 15:38:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776420439000,"timestamp_ms":1776420439000,"timestamp_seconds":1776420439,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae8c3d8"} 
[2026-04-17 15:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-17 15:38:59] 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-04-17 15:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46200,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46200,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763629824001,"66":14004,"106":206,"83":41984,"24":38,"16":113266525342793728,"45":1848516571416320000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763629824001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:38:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:38:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113266525342793728,"km_value":113266525342793.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1848516571416320000,"description":"Unknown IO ID 45"} 
[2026-04-17 15:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763629824001,"power":14004,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1848516571416320000}} 
[2026-04-17 15:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":46200,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21947,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:38:59] local.INFO: GPS data processed {"connection_id":46200,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:38:59] local.INFO: Acknowledgment sent {"connection_id":46200,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:39:27] local.INFO: TCP Data received {"connection_id":46728,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:39:27] local.INFO: Processing buffer {"connection_id":46728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:39:27] local.INFO: IMEI packet received {"connection_id":46728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:39:27] local.INFO: IMEI acknowledgment sent {"connection_id":46728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:39:28] local.INFO: TCP Data received {"connection_id":45975,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:39:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:39:28] local.INFO: Processing buffer {"connection_id":45975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:39:28] local.INFO: Packet analysis {"connection_id":45975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:39:28] local.INFO: Extracted packet for processing {"connection_id":45975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:39:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:39:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763549440001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:39:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:39:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:39:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:39:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776420416000,"timestamp_ms":1776420416000,"timestamp_seconds":1776420416,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae86a00"} 
[2026-04-17 15:39:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:39:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:39:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:39: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-04-17 15:39:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:39:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:39:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:39:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:39:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:39:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45975,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:39: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-04-17 15:39:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:39:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:39:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763549440001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:39:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:39:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:39:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763549440001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:39:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:39:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:39:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:39:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:39:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763549440001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:39:28] local.INFO: DEBUG: GPS processor result {"connection_id":45975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21948,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:39:28] local.INFO: GPS data processed {"connection_id":45975,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:39:28] local.INFO: Acknowledgment sent {"connection_id":45975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:39:32] local.INFO: TCP Data received {"connection_id":46728,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46728,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:39:32] local.INFO: Processing buffer {"connection_id":46728,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:39:32] local.INFO: IMEI packet received {"connection_id":46728,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":46728,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:39:33] local.INFO: TCP Data received {"connection_id":46728,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae8e318012d1962400720ac100035010926..."} 
[2026-04-17 15:39:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae8e318012d1962400720ac100035010926..."} 
[2026-04-17 15:39:33] local.INFO: Processing buffer {"connection_id":46728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae8e318012d1962400720ac100035010926..."} 
[2026-04-17 15:39:33] local.INFO: Packet analysis {"connection_id":46728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:39:33] local.INFO: Extracted packet for processing {"connection_id":46728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:39:33] local.INFO: GPS Element Parsed {"raw_longitude":756638272,"raw_latitude":119581712,"longitude_deg":75.6638272,"latitude_deg":11.9581712,"altitude":53,"angle":265,"satellites":38,"speed":50,"hex_longitude":"2d196240","hex_latitude":"0720ac10","is_valid_coordinates":true} 
[2026-04-17 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-04-17 15:39:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763632384001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:39:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113266997789196288,"note":"Value kept but may cause issues"} 
[2026-04-17 15:39:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839790847138447360,"note":"Value kept but may cause issues"} 
[2026-04-17 15:39:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:39:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776420447000,"timestamp_ms":1776420447000,"timestamp_seconds":1776420447,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae8e318"} 
[2026-04-17 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-04-17 15:39:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 15:39:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 15:39:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:39:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:39:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:39:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:39:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:39:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:39:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:39:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763632384001,"66":14363,"106":206,"83":41984,"24":50,"16":113266997789196288,"45":1839790847138447360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:39:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:39:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:39:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763632384001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:39:33] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:39:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:39:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113266997789196288,"km_value":113266997789196.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:39:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839790847138447360,"description":"Unknown IO ID 45"} 
[2026-04-17 15:39:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763632384001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":50,"odometer":null,"unknown_45":1839790847138447360}} 
[2026-04-17 15:39:33] local.INFO: DEBUG: GPS processor result {"connection_id":46728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21949,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:39:33] local.INFO: GPS data processed {"connection_id":46728,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:39:33] local.INFO: Acknowledgment sent {"connection_id":46728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:39:36] local.INFO: TCP Data received {"connection_id":46728,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae8f2b8012d194e400720abe00034011724..."} 
[2026-04-17 15:39:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46728,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae8f2b8012d194e400720abe00034011724..."} 
[2026-04-17 15:39:36] local.INFO: Processing buffer {"connection_id":46728,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae8f2b8012d194e400720abe00034011724..."} 
[2026-04-17 15:39:36] local.INFO: Packet analysis {"connection_id":46728,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:39:36] local.INFO: Extracted packet for processing {"connection_id":46728,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:39:36] local.INFO: GPS Element Parsed {"raw_longitude":756633152,"raw_latitude":119581664,"longitude_deg":75.6633152,"latitude_deg":11.9581664,"altitude":52,"angle":279,"satellites":36,"speed":48,"hex_longitude":"2d194e40","hex_latitude":"0720abe0","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:39:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763634432001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:39:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113267242602332160,"note":"Value kept but may cause issues"} 
[2026-04-17 15:39:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829094798022938624,"note":"Value kept but may cause issues"} 
[2026-04-17 15:39:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:39:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776420451000,"timestamp_ms":1776420451000,"timestamp_seconds":1776420451,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae8f2b8"} 
[2026-04-17 15:39:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:39:36] 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-04-17 15:39:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-17 15:39:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:39:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:39:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:39:36] local.INFO: Teltonika packet parsed successfully {"connection_id":46728,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:39:36] local.INFO: Passing IMEI to GPS processor {"connection_id":46728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:39:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":46728,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:39:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:39:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:39:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:39:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763634432001,"66":14276,"106":206,"83":41984,"24":48,"16":113267242602332160,"45":1829094798022938624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:39:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:39:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:39:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763634432001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:39:36] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:39:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:39:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113267242602332160,"km_value":113267242602332.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:39:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829094798022938624,"description":"Unknown IO ID 45"} 
[2026-04-17 15:39:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763634432001,"power":14276,"unknown_106":206,"unknown_83":41984,"ignition":48,"odometer":null,"unknown_45":1829094798022938624}} 
[2026-04-17 15:39:36] local.INFO: DEBUG: GPS processor result {"connection_id":46728,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:39:36] local.INFO: GPS data processed {"connection_id":46728,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:39:36] local.INFO: Acknowledgment sent {"connection_id":46728,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:39:51] local.INFO: TCP Data received {"connection_id":46201,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:39:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:39:51] local.INFO: Processing buffer {"connection_id":46201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:39:51] local.INFO: IMEI packet received {"connection_id":46201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:39:51] local.INFO: IMEI acknowledgment sent {"connection_id":46201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:39:55] local.INFO: TCP Data received {"connection_id":46201,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:39:55] local.INFO: Processing buffer {"connection_id":46201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:39:55] local.INFO: IMEI packet received {"connection_id":46201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":46201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:39:56] local.INFO: TCP Data received {"connection_id":46201,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:39:56] local.INFO: Processing buffer {"connection_id":46201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:39:56] local.INFO: Packet analysis {"connection_id":46201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:39:56] local.INFO: Extracted packet for processing {"connection_id":46201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763549440001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776420416000,"timestamp_ms":1776420416000,"timestamp_seconds":1776420416,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae86a00"} 
[2026-04-17 15:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763549440001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763549440001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:39:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763549440001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":46201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21951,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:39:56] local.INFO: GPS data processed {"connection_id":46201,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:39:56] local.INFO: Acknowledgment sent {"connection_id":46201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:40:20] local.INFO: TCP Data received {"connection_id":45976,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:40:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:40:20] local.INFO: Processing buffer {"connection_id":45976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:40:20] local.INFO: IMEI packet received {"connection_id":45976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:40:20] local.INFO: IMEI acknowledgment sent {"connection_id":45976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:40:21] local.INFO: TCP Data received {"connection_id":45976,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:40:21] local.INFO: Processing buffer {"connection_id":45976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:40:21] local.INFO: IMEI packet received {"connection_id":45976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":45976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:40:23] local.INFO: TCP Data received {"connection_id":45976,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45976,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:40:23] local.INFO: Processing buffer {"connection_id":45976,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:40:23] local.INFO: IMEI packet received {"connection_id":45976,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":45976,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:40:24] local.INFO: TCP Data received {"connection_id":45976,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aea8ce0012d18c140072154680044014c27..."} 
[2026-04-17 15:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aea8ce0012d18c140072154680044014c27..."} 
[2026-04-17 15:40:24] local.INFO: Processing buffer {"connection_id":45976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aea8ce0012d18c140072154680044014c27..."} 
[2026-04-17 15:40:24] local.INFO: Packet analysis {"connection_id":45976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aea"} 
[2026-04-17 15:40:24] local.INFO: Extracted packet for processing {"connection_id":45976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aea"} 
[2026-04-17 15:40:24] local.INFO: GPS Element Parsed {"raw_longitude":756597056,"raw_latitude":119624808,"longitude_deg":75.6597056,"latitude_deg":11.9624808,"altitude":68,"angle":332,"satellites":39,"speed":27,"hex_longitude":"2d18c140","hex_latitude":"07215468","is_valid_coordinates":true} 
[2026-04-17 15:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:40:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763660800001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:40:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113270197539831808,"note":"Value kept but may cause issues"} 
[2026-04-17 15:40:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784551382968330240,"note":"Value kept but may cause issues"} 
[2026-04-17 15:40:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:40:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776420556000,"timestamp_ms":1776420556000,"timestamp_seconds":1776420556,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aea8ce0"} 
[2026-04-17 15:40:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:40: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-04-17 15:40:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 15:40:24] 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-04-17 15:40:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:40:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:40:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:40:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:40:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:40:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:40:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:40:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:40:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:40:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763660800001,"66":14396,"106":206,"83":41984,"24":27,"16":113270197539831808,"45":1784551382968330240},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:40:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:40:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:40:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763660800001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:40:24] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:40:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:40:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113270197539831808,"km_value":113270197539831.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:40:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784551382968330240,"description":"Unknown IO ID 45"} 
[2026-04-17 15:40:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763660800001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":27,"odometer":null,"unknown_45":1784551382968330240}} 
[2026-04-17 15:40:24] local.INFO: DEBUG: GPS processor result {"connection_id":45976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:40:24] local.INFO: GPS data processed {"connection_id":45976,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:40:24] local.INFO: Acknowledgment sent {"connection_id":45976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:40:27] local.INFO: TCP Data received {"connection_id":46201,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:40:27] local.INFO: Processing buffer {"connection_id":46201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:40:27] local.INFO: Packet analysis {"connection_id":46201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:40:27] local.INFO: Extracted packet for processing {"connection_id":46201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763549440001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776420416000,"timestamp_ms":1776420416000,"timestamp_seconds":1776420416,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae86a00"} 
[2026-04-17 15:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46201,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:40: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-04-17 15:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763549440001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763549440001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:40:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:40:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763549440001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":46201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:40:27] local.INFO: GPS data processed {"connection_id":46201,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:40:27] local.INFO: Acknowledgment sent {"connection_id":46201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:40:50] local.INFO: TCP Data received {"connection_id":46729,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:40:50] local.INFO: Processing buffer {"connection_id":46729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:40:50] local.INFO: IMEI packet received {"connection_id":46729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":46729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:40:55] local.INFO: TCP Data received {"connection_id":45976,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aeab7d8012d18aec007216e100049013f28..."} 
[2026-04-17 15:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aeab7d8012d18aec007216e100049013f28..."} 
[2026-04-17 15:40:55] local.INFO: Processing buffer {"connection_id":45976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aeab7d8012d18aec007216e100049013f28..."} 
[2026-04-17 15:40:55] local.INFO: Packet analysis {"connection_id":45976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aea"} 
[2026-04-17 15:40:55] local.INFO: Extracted packet for processing {"connection_id":45976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aea"} 
[2026-04-17 15:40:55] local.INFO: GPS Element Parsed {"raw_longitude":756592320,"raw_latitude":119631376,"longitude_deg":75.659232,"latitude_deg":11.9631376,"altitude":73,"angle":319,"satellites":40,"speed":29,"hex_longitude":"2d18aec0","hex_latitude":"07216e10","is_valid_coordinates":true} 
[2026-04-17 15:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:40:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763662336001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:40:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113270584086888448,"note":"Value kept but may cause issues"} 
[2026-04-17 15:40:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783777326783555584,"note":"Value kept but may cause issues"} 
[2026-04-17 15:40:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:40:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776420567000,"timestamp_ms":1776420567000,"timestamp_seconds":1776420567,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aeab7d8"} 
[2026-04-17 15:40:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:40: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-04-17 15:40:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-17 15:40:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:40:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:40:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:40:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:40:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:40:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:40:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45976,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:40:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:40:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:40:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:40:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763662336001,"66":14080,"106":206,"83":41984,"24":29,"16":113270584086888448,"45":1783777326783555584},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:40:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:40:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:40:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763662336001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:40:55] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:40:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:40:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113270584086888448,"km_value":113270584086888.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:40:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783777326783555584,"description":"Unknown IO ID 45"} 
[2026-04-17 15:40:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763662336001,"power":14080,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1783777326783555584}} 
[2026-04-17 15:40:55] local.INFO: DEBUG: GPS processor result {"connection_id":45976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21954,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:40:55] local.INFO: GPS data processed {"connection_id":45976,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:40:55] local.INFO: Acknowledgment sent {"connection_id":45976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:40:55] local.INFO: TCP Data received {"connection_id":46729,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46729,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:40:55] local.INFO: Processing buffer {"connection_id":46729,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:40:55] local.INFO: IMEI packet received {"connection_id":46729,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":46729,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:40:56] local.INFO: TCP Data received {"connection_id":46729,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:40:56] local.INFO: Processing buffer {"connection_id":46729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:40:56] local.INFO: Packet analysis {"connection_id":46729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:40:56] local.INFO: Extracted packet for processing {"connection_id":46729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763549440001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776420416000,"timestamp_ms":1776420416000,"timestamp_seconds":1776420416,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae86a00"} 
[2026-04-17 15:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763549440001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763549440001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:40:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763549440001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":46729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:40:56] local.INFO: GPS data processed {"connection_id":46729,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:40:56] local.INFO: Acknowledgment sent {"connection_id":46729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:41:04] local.INFO: TCP Data received {"connection_id":45876,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45876,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:41:04] local.INFO: Processing buffer {"connection_id":45876,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:41:04] local.INFO: IMEI packet received {"connection_id":45876,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 15:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":45876,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:41:21] local.INFO: TCP Data received {"connection_id":45877,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:41:21] local.INFO: Processing buffer {"connection_id":45877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:41:21] local.INFO: IMEI packet received {"connection_id":45877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":45877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:41:27] local.INFO: TCP Data received {"connection_id":45877,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45877,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:41:27] local.INFO: Processing buffer {"connection_id":45877,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:41:27] local.INFO: IMEI packet received {"connection_id":45877,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":45877,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:41:27] local.INFO: TCP Data received {"connection_id":45877,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aeabfa8012d18aa80072172100049012f27..."} 
[2026-04-17 15:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aeabfa8012d18aa80072172100049012f27..."} 
[2026-04-17 15:41:27] local.INFO: Processing buffer {"connection_id":45877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aeabfa8012d18aa80072172100049012f27..."} 
[2026-04-17 15:41:27] local.INFO: Packet analysis {"connection_id":45877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aea"} 
[2026-04-17 15:41:27] local.INFO: Extracted packet for processing {"connection_id":45877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aea"} 
[2026-04-17 15:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756591232,"raw_latitude":119632400,"longitude_deg":75.6591232,"latitude_deg":11.96324,"altitude":73,"angle":303,"satellites":39,"speed":29,"hex_longitude":"2d18aa80","hex_latitude":"07217210","is_valid_coordinates":true} 
[2026-04-17 15:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763665152001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113270657101332480,"note":"Value kept but may cause issues"} 
[2026-04-17 15:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778570039716089856,"note":"Value kept but may cause issues"} 
[2026-04-17 15:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776420569000,"timestamp_ms":1776420569000,"timestamp_seconds":1776420569,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aeabfa8"} 
[2026-04-17 15:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":0,"data_length":795,"current_offset":136} 
[2026-04-17 15:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":3446303232,"note":"Value kept but may cause issues"} 
[2026-04-17 15:41:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-17 15:41:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2599044752,"note":"Value kept but may cause issues"} 
[2026-04-17 15:41:27] local.WARNING: Large IO value detected {"io_id":154,"raw_value":3931772929,"note":"Value kept but may cause issues"} 
[2026-04-17 15:41:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-17 15:41:27] local.WARNING: Large IO value detected {"io_id":207,"raw_value":3221692715,"note":"Value kept but may cause issues"} 
[2026-04-17 15:41:27] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3288386922,"note":"Value kept but may cause issues"} 
[2026-04-17 15:41:27] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,106,83,24,241,157,16,140,45,64,84,68,39,10,66,117,109,192,1,240,60,227,154,33,4,113,205,78,207,120,40,239,55,2,146,7,13],"length":479,"final_offset":609,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-17 15:41:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5260555280778592256,"timestamp_seconds":5260555280778592.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 15:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763665152001,"66":13722,"106":206,"83":41984,"24":29,"16":113270657101332480,"45":1778570039716089856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 15:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763665152001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:41:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 15:41:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113270657101332480,"km_value":113270657101332.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778570039716089856,"description":"Unknown IO ID 45"} 
[2026-04-17 15:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763665152001,"power":13722,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1778570039716089856}} 
[2026-04-17 15:41:28] local.INFO: TCP Data received {"connection_id":46729,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46729,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:41:28] local.INFO: Processing buffer {"connection_id":46729,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:41:28] local.INFO: Packet analysis {"connection_id":46729,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:41:28] local.INFO: Extracted packet for processing {"connection_id":46729,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:41:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763549440001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:41:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776420416000,"timestamp_ms":1776420416000,"timestamp_seconds":1776420416,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae86a00"} 
[2026-04-17 15:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:41:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:41: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-04-17 15:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46729,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46729,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:41: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-04-17 15:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763549440001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763549440001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:41:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:41:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763549440001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":46729,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:41:28] local.INFO: GPS data processed {"connection_id":46729,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:41:28] local.INFO: Acknowledgment sent {"connection_id":46729,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":45877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21957,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:41:28] local.INFO: GPS data processed {"connection_id":45877,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:41:28] local.INFO: Acknowledgment sent {"connection_id":45877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:41:55] local.INFO: TCP Data received {"connection_id":45977,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:41:55] local.INFO: Processing buffer {"connection_id":45977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:41:55] local.INFO: IMEI packet received {"connection_id":45977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":45977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:41:58] local.INFO: TCP Data received {"connection_id":45877,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aec2ed8012d1824400721b6f8004c015e28..."} 
[2026-04-17 15:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aec2ed8012d1824400721b6f8004c015e28..."} 
[2026-04-17 15:41:58] local.INFO: Processing buffer {"connection_id":45877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aec2ed8012d1824400721b6f8004c015e28..."} 
[2026-04-17 15:41:58] local.INFO: Packet analysis {"connection_id":45877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aec"} 
[2026-04-17 15:41:58] local.INFO: Extracted packet for processing {"connection_id":45877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aec"} 
[2026-04-17 15:41:58] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650040,"longitude_deg":75.6556864,"latitude_deg":11.965004,"altitude":76,"angle":350,"satellites":40,"speed":7,"hex_longitude":"2d182440","hex_latitude":"0721b6f8","is_valid_coordinates":true} 
[2026-04-17 15:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763689472001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272765930274816,"note":"Value kept but may cause issues"} 
[2026-04-17 15:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446382592,"note":"Value kept but may cause issues"} 
[2026-04-17 15:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776420663000,"timestamp_ms":1776420663000,"timestamp_seconds":1776420663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aec2ed8"} 
[2026-04-17 15:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:41:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-17 15:41:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":720,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:41:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45877,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763689472001,"66":13243,"105":206,"83":41984,"24":7,"16":113272765930274816,"45":1739585755446382592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763689472001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:41:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:41:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272765930274816,"km_value":113272765930274.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446382592,"description":"Unknown IO ID 45"} 
[2026-04-17 15:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763689472001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739585755446382592}} 
[2026-04-17 15:41:58] local.INFO: DEBUG: GPS processor result {"connection_id":45877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:41:58] local.INFO: GPS data processed {"connection_id":45877,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:41:58] local.INFO: Acknowledgment sent {"connection_id":45877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:42:00] local.INFO: TCP Data received {"connection_id":45977,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45977,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:42:00] local.INFO: Processing buffer {"connection_id":45977,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:42:00] local.INFO: IMEI packet received {"connection_id":45977,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":45977,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:42:01] local.INFO: TCP Data received {"connection_id":45977,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:42:01] local.INFO: Processing buffer {"connection_id":45977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:42:01] local.INFO: Packet analysis {"connection_id":45977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:42:01] local.INFO: Extracted packet for processing {"connection_id":45977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763549440001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776420416000,"timestamp_ms":1776420416000,"timestamp_seconds":1776420416,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae86a00"} 
[2026-04-17 15:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:42: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-04-17 15:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763549440001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763549440001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:42:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763549440001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":45977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:42:01] local.INFO: GPS data processed {"connection_id":45977,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:42:01] local.INFO: Acknowledgment sent {"connection_id":45977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:42:06] local.INFO: TCP Data received {"connection_id":45977,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:42:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:42:06] local.INFO: Processing buffer {"connection_id":45977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ae86a00012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:42:06] local.INFO: Packet analysis {"connection_id":45977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:42:06] local.INFO: Extracted packet for processing {"connection_id":45977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ae8"} 
[2026-04-17 15:42:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:42:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763549440001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:42:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:42:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:42:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:42:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776420416000,"timestamp_ms":1776420416000,"timestamp_seconds":1776420416,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ae86a00"} 
[2026-04-17 15:42:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:42:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:42:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:42:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:42:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:42:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:42:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:42:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45977,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:42: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-04-17 15:42:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:42:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:42:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763549440001,"66":25375,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:42:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:42:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:42:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763549440001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:42:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:42:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:42:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:42:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:42:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763549440001,"power":25375,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:42:06] local.INFO: DEBUG: GPS processor result {"connection_id":45977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21960,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:42:06] local.INFO: GPS data processed {"connection_id":45977,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:42:06] local.INFO: Acknowledgment sent {"connection_id":45977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:42:22] local.INFO: TCP Data received {"connection_id":46730,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:42:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:42:22] local.INFO: Processing buffer {"connection_id":46730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:42:22] local.INFO: IMEI packet received {"connection_id":46730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:42:22] local.INFO: IMEI acknowledgment sent {"connection_id":46730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:42:27] local.INFO: TCP Data received {"connection_id":46730,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46730,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:42:27] local.INFO: Processing buffer {"connection_id":46730,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:42:27] local.INFO: IMEI packet received {"connection_id":46730,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":46730,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:42:27] local.INFO: TCP Data received {"connection_id":46730,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aec61a0012d1823400721b660004c00c428..."} 
[2026-04-17 15:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aec61a0012d1823400721b660004c00c428..."} 
[2026-04-17 15:42:27] local.INFO: Processing buffer {"connection_id":46730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aec61a0012d1823400721b660004c00c428..."} 
[2026-04-17 15:42:27] local.INFO: Packet analysis {"connection_id":46730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aec"} 
[2026-04-17 15:42:27] local.INFO: Extracted packet for processing {"connection_id":46730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aec"} 
[2026-04-17 15:42:27] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119649888,"longitude_deg":75.6556608,"latitude_deg":11.9649888,"altitude":76,"angle":196,"satellites":40,"speed":5,"hex_longitude":"2d182340","hex_latitude":"0721b660","is_valid_coordinates":true} 
[2026-04-17 15:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763689728001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272813174915072,"note":"Value kept but may cause issues"} 
[2026-04-17 15:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446441984,"note":"Value kept but may cause issues"} 
[2026-04-17 15:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776420676000,"timestamp_ms":1776420676000,"timestamp_seconds":1776420676,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aec61a0"} 
[2026-04-17 15:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:42: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-04-17 15:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-17 15:42:27] 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-04-17 15:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763689728001,"66":13102,"105":206,"83":41984,"24":5,"16":113272813174915072,"45":1739585755446441984},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763689728001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:42:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:42:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272813174915072,"km_value":113272813174915.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446441984,"description":"Unknown IO ID 45"} 
[2026-04-17 15:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763689728001,"power":13102,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1739585755446441984}} 
[2026-04-17 15:42:28] local.INFO: DEBUG: GPS processor result {"connection_id":46730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21961,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:42:28] local.INFO: GPS data processed {"connection_id":46730,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:42:28] local.INFO: Acknowledgment sent {"connection_id":46730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:42:50] local.INFO: TCP Data received {"connection_id":46202,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:42:50] local.INFO: Processing buffer {"connection_id":46202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:42:50] local.INFO: IMEI packet received {"connection_id":46202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":46202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:42:55] local.INFO: TCP Data received {"connection_id":46202,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:42:55] local.INFO: Processing buffer {"connection_id":46202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:42:55] local.INFO: IMEI packet received {"connection_id":46202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":46202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:42:56] local.INFO: TCP Data received {"connection_id":46202,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:42:56] local.INFO: Processing buffer {"connection_id":46202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:42:56] local.INFO: Packet analysis {"connection_id":46202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:42:56] local.INFO: Extracted packet for processing {"connection_id":46202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763626496001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776420717000,"timestamp_ms":1776420717000,"timestamp_seconds":1776420717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aed01c8"} 
[2026-04-17 15:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763626496001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763626496001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:42:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763626496001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":46202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21962,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:42:56] local.INFO: GPS data processed {"connection_id":46202,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:42:56] local.INFO: Acknowledgment sent {"connection_id":46202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:42:58] local.INFO: TCP Data received {"connection_id":46730,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aec7140012d1822c00721b4e8004d00d828..."} 
[2026-04-17 15:42:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46730,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aec7140012d1822c00721b4e8004d00d828..."} 
[2026-04-17 15:42:58] local.INFO: Processing buffer {"connection_id":46730,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aec7140012d1822c00721b4e8004d00d828..."} 
[2026-04-17 15:42:58] local.INFO: Packet analysis {"connection_id":46730,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aec"} 
[2026-04-17 15:42:58] local.INFO: Extracted packet for processing {"connection_id":46730,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aec"} 
[2026-04-17 15:42:58] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119649512,"longitude_deg":75.655648,"latitude_deg":11.9649512,"altitude":77,"angle":216,"satellites":40,"speed":3,"hex_longitude":"2d1822c0","hex_latitude":"0721b4e8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:42:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763693056001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:42:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272834649751552,"note":"Value kept but may cause issues"} 
[2026-04-17 15:42:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469692416,"note":"Value kept but may cause issues"} 
[2026-04-17 15:42:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:42:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776420680000,"timestamp_ms":1776420680000,"timestamp_seconds":1776420680,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aec7140"} 
[2026-04-17 15:42:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:42:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":51,"n8_eight_byte":46,"data_length":795,"current_offset":136} 
[2026-04-17 15:42:58] 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-04-17 15: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-04-17 15:42:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:42:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:42:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46730,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:42:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:42:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46730,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:42:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:42:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:42:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:42:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763693056001,"66":13091,"105":206,"83":41984,"24":3,"16":113272834649751552,"45":1739304280469692416},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:42:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:42:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:42:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763693056001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:42:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:42:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:42:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272834649751552,"km_value":113272834649751.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:42:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469692416,"description":"Unknown IO ID 45"} 
[2026-04-17 15:42:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763693056001,"power":13091,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739304280469692416}} 
[2026-04-17 15:42:58] local.INFO: DEBUG: GPS processor result {"connection_id":46730,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21963,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:42:58] local.INFO: GPS data processed {"connection_id":46730,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:42:58] local.INFO: Acknowledgment sent {"connection_id":46730,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:43:19] local.INFO: TCP Data received {"connection_id":45978,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:43:19] local.INFO: Processing buffer {"connection_id":45978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:43:19] local.INFO: IMEI packet received {"connection_id":45978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":45978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:43:21] local.INFO: TCP Data received {"connection_id":45978,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:43:21] local.INFO: Processing buffer {"connection_id":45978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:43:21] local.INFO: IMEI packet received {"connection_id":45978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":45978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:43:27] local.INFO: TCP Data received {"connection_id":45978,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:43:27] local.INFO: Processing buffer {"connection_id":45978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:43:27] local.INFO: IMEI packet received {"connection_id":45978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":45978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:43:28] local.INFO: TCP Data received {"connection_id":45978,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aecb790012d1821c00721b368004d00cc29..."} 
[2026-04-17 15:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aecb790012d1821c00721b368004d00cc29..."} 
[2026-04-17 15:43:28] local.INFO: Processing buffer {"connection_id":45978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aecb790012d1821c00721b368004d00cc29..."} 
[2026-04-17 15:43:28] local.INFO: Packet analysis {"connection_id":45978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aec"} 
[2026-04-17 15:43:28] local.INFO: Extracted packet for processing {"connection_id":45978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aec"} 
[2026-04-17 15:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649128,"longitude_deg":75.6556224,"latitude_deg":11.9649128,"altitude":77,"angle":204,"satellites":41,"speed":2,"hex_longitude":"2d1821c0","hex_latitude":"0721b368","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763694080001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272860419555328,"note":"Value kept but may cause issues"} 
[2026-04-17 15:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981240832,"note":"Value kept but may cause issues"} 
[2026-04-17 15:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776420698000,"timestamp_ms":1776420698000,"timestamp_seconds":1776420698,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aecb790"} 
[2026-04-17 15:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-17 15:43: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-04-17 15: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-04-17 15:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763694080001,"66":13048,"105":206,"83":41984,"24":2,"16":113272860419555328,"45":1739163542981240832},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763694080001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:43:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:43:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272860419555328,"km_value":113272860419555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981240832,"description":"Unknown IO ID 45"} 
[2026-04-17 15:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763694080001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739163542981240832}} 
[2026-04-17 15:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":45978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:43:28] local.INFO: GPS data processed {"connection_id":45978,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:43:28] local.INFO: Acknowledgment sent {"connection_id":45978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:43:28] local.INFO: TCP Data received {"connection_id":46202,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:43:28] local.INFO: Processing buffer {"connection_id":46202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:43:28] local.INFO: Packet analysis {"connection_id":46202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:43:28] local.INFO: Extracted packet for processing {"connection_id":46202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:43:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763626496001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776420717000,"timestamp_ms":1776420717000,"timestamp_seconds":1776420717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aed01c8"} 
[2026-04-17 15:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:43: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-04-17 15:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763626496001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763626496001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:43:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:43:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763626496001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":46202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:43:28] local.INFO: GPS data processed {"connection_id":46202,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:43:28] local.INFO: Acknowledgment sent {"connection_id":46202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:43:50] local.INFO: TCP Data received {"connection_id":45979,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:43:50] local.INFO: Processing buffer {"connection_id":45979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:43:50] local.INFO: IMEI packet received {"connection_id":45979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":45979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:43:55] local.INFO: TCP Data received {"connection_id":45979,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:43:55] local.INFO: Processing buffer {"connection_id":45979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:43:55] local.INFO: IMEI packet received {"connection_id":45979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":45979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:43:56] local.INFO: TCP Data received {"connection_id":45979,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:43:56] local.INFO: Processing buffer {"connection_id":45979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:43:56] local.INFO: Packet analysis {"connection_id":45979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:43:56] local.INFO: Extracted packet for processing {"connection_id":45979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763626496001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776420717000,"timestamp_ms":1776420717000,"timestamp_seconds":1776420717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aed01c8"} 
[2026-04-17 15:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763626496001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763626496001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:43:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763626496001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":45979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21966,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:43:56] local.INFO: GPS data processed {"connection_id":45979,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:43:56] local.INFO: Acknowledgment sent {"connection_id":45979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:43:58] local.INFO: TCP Data received {"connection_id":45978,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aecbb78012d1821c00721b348004d00bb29..."} 
[2026-04-17 15:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aecbb78012d1821c00721b348004d00bb29..."} 
[2026-04-17 15:43:58] local.INFO: Processing buffer {"connection_id":45978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aecbb78012d1821c00721b348004d00bb29..."} 
[2026-04-17 15:43:58] local.INFO: Packet analysis {"connection_id":45978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aec"} 
[2026-04-17 15:43:58] local.INFO: Extracted packet for processing {"connection_id":45978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aec"} 
[2026-04-17 15:43:58] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649096,"longitude_deg":75.6556224,"latitude_deg":11.9649096,"altitude":77,"angle":187,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763698688001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272860419555328,"note":"Value kept but may cause issues"} 
[2026-04-17 15:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004431872,"note":"Value kept but may cause issues"} 
[2026-04-17 15:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776420699000,"timestamp_ms":1776420699000,"timestamp_seconds":1776420699,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aecbb78"} 
[2026-04-17 15:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:43:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-17 15:43: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-04-17 15:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763698688001,"66":13037,"105":206,"83":41984,"24":0,"16":113272860419555328,"45":1738882068004431872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763698688001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:43:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:43:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272860419555328,"km_value":113272860419555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004431872,"description":"Unknown IO ID 45"} 
[2026-04-17 15:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763698688001,"power":13037,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004431872}} 
[2026-04-17 15:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":45978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21967,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:43:58] local.INFO: GPS data processed {"connection_id":45978,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:43:58] local.INFO: Acknowledgment sent {"connection_id":45978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:44:21] local.INFO: TCP Data received {"connection_id":45880,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:44:21] local.INFO: Processing buffer {"connection_id":45880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:44:21] local.INFO: IMEI packet received {"connection_id":45880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":45880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:44:22] local.INFO: TCP Data received {"connection_id":45880,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:44:22] local.INFO: Processing buffer {"connection_id":45880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:44:22] local.INFO: IMEI packet received {"connection_id":45880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":45880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:44:27] local.INFO: TCP Data received {"connection_id":45880,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45880,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:44:27] local.INFO: Processing buffer {"connection_id":45880,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:44:27] local.INFO: IMEI packet received {"connection_id":45880,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":45880,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:44:27] local.INFO: TCP Data received {"connection_id":45880,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aed0d80012d1821c00721b348004e00bb2a..."} 
[2026-04-17 15:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aed0d80012d1821c00721b348004e00bb2a..."} 
[2026-04-17 15:44:27] local.INFO: Processing buffer {"connection_id":45880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aed0d80012d1821c00721b348004e00bb2a..."} 
[2026-04-17 15:44:27] local.INFO: Packet analysis {"connection_id":45880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:44:27] local.INFO: Extracted packet for processing {"connection_id":45880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:44:27] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649096,"longitude_deg":75.6556224,"latitude_deg":11.9649096,"altitude":78,"angle":187,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-04-17 15:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763698944001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272860419555328,"note":"Value kept but may cause issues"} 
[2026-04-17 15:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004423680,"note":"Value kept but may cause issues"} 
[2026-04-17 15:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776420720000,"timestamp_ms":1776420720000,"timestamp_seconds":1776420720,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aed0d80"} 
[2026-04-17 15:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:44: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-04-17 15:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":237,"data_length":795,"current_offset":136} 
[2026-04-17 15:44:27] 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-04-17 15:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763698944001,"66":13015,"105":206,"83":41984,"24":0,"16":113272860419555328,"45":1738882068004423680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763698944001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:44:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:44:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272860419555328,"km_value":113272860419555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004423680,"description":"Unknown IO ID 45"} 
[2026-04-17 15:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763698944001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004423680}} 
[2026-04-17 15:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":45880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:44:28] local.INFO: GPS data processed {"connection_id":45880,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:44:28] local.INFO: Acknowledgment sent {"connection_id":45880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:44:28] local.INFO: TCP Data received {"connection_id":45979,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:44:28] local.INFO: Processing buffer {"connection_id":45979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:44:28] local.INFO: Packet analysis {"connection_id":45979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:44:28] local.INFO: Extracted packet for processing {"connection_id":45979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:44:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763626496001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776420717000,"timestamp_ms":1776420717000,"timestamp_seconds":1776420717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aed01c8"} 
[2026-04-17 15:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:44: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-04-17 15:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763626496001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763626496001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:44:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:44:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763626496001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":45979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21969,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:44:28] local.INFO: GPS data processed {"connection_id":45979,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:44:28] local.INFO: Acknowledgment sent {"connection_id":45979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:44:50] local.INFO: TCP Data received {"connection_id":46204,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:44:50] local.INFO: Processing buffer {"connection_id":46204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:44:50] local.INFO: IMEI packet received {"connection_id":46204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":46204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:44:55] local.INFO: TCP Data received {"connection_id":46204,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46204,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:44:55] local.INFO: Processing buffer {"connection_id":46204,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:44:55] local.INFO: IMEI packet received {"connection_id":46204,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":46204,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:44:56] local.INFO: TCP Data received {"connection_id":46204,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:44:56] local.INFO: Processing buffer {"connection_id":46204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:44:56] local.INFO: Packet analysis {"connection_id":46204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:44:56] local.INFO: Extracted packet for processing {"connection_id":46204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763626496001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776420717000,"timestamp_ms":1776420717000,"timestamp_seconds":1776420717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aed01c8"} 
[2026-04-17 15:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:44:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763626496001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763626496001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:44:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:44:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763626496001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":46204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:44:56] local.INFO: GPS data processed {"connection_id":46204,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:44:56] local.INFO: Acknowledgment sent {"connection_id":46204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:44:58] local.INFO: TCP Data received {"connection_id":45880,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aed5f88012d1821c00721b348004e00bb2a..."} 
[2026-04-17 15:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45880,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aed5f88012d1821c00721b348004e00bb2a..."} 
[2026-04-17 15:44:58] local.INFO: Processing buffer {"connection_id":45880,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aed5f88012d1821c00721b348004e00bb2a..."} 
[2026-04-17 15:44:58] local.INFO: Packet analysis {"connection_id":45880,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:44:58] local.INFO: Extracted packet for processing {"connection_id":45880,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:44:58] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649096,"longitude_deg":75.6556224,"latitude_deg":11.9649096,"altitude":78,"angle":187,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763704320001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272860419555328,"note":"Value kept but may cause issues"} 
[2026-04-17 15:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004423680,"note":"Value kept but may cause issues"} 
[2026-04-17 15:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776420741000,"timestamp_ms":1776420741000,"timestamp_seconds":1776420741,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aed5f88"} 
[2026-04-17 15:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":50,"n8_eight_byte":215,"data_length":795,"current_offset":136} 
[2026-04-17 15:44: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-04-17 15: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-04-17 15:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45880,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45880,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763704320001,"66":12972,"105":206,"83":41984,"24":0,"16":113272860419555328,"45":1738882068004423680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763704320001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:44:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:44:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272860419555328,"km_value":113272860419555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004423680,"description":"Unknown IO ID 45"} 
[2026-04-17 15:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763704320001,"power":12972,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004423680}} 
[2026-04-17 15:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":45880,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21971,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:44:58] local.INFO: GPS data processed {"connection_id":45880,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:44:58] local.INFO: Acknowledgment sent {"connection_id":45880,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:45:21] local.INFO: TCP Data received {"connection_id":45980,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:45:21] local.INFO: Processing buffer {"connection_id":45980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:45:21] local.INFO: IMEI packet received {"connection_id":45980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":45980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:45:26] local.INFO: TCP Data received {"connection_id":45980,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45980,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:45:26] local.INFO: Processing buffer {"connection_id":45980,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:45:26] local.INFO: IMEI packet received {"connection_id":45980,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":45980,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:45:26] local.INFO: TCP Data received {"connection_id":45980,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aedb190012d1821c00721b348004e00bb2a..."} 
[2026-04-17 15:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aedb190012d1821c00721b348004e00bb2a..."} 
[2026-04-17 15:45:26] local.INFO: Processing buffer {"connection_id":45980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aedb190012d1821c00721b348004e00bb2a..."} 
[2026-04-17 15:45:26] local.INFO: Packet analysis {"connection_id":45980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:45:26] local.INFO: Extracted packet for processing {"connection_id":45980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:45:26] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649096,"longitude_deg":75.6556224,"latitude_deg":11.9649096,"altitude":78,"angle":187,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-04-17 15:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:45:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763709696001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:45:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272860419555328,"note":"Value kept but may cause issues"} 
[2026-04-17 15:45:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004423680,"note":"Value kept but may cause issues"} 
[2026-04-17 15:45:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:45:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776420762000,"timestamp_ms":1776420762000,"timestamp_seconds":1776420762,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aedb190"} 
[2026-04-17 15:45:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:45:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:45:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-17 15:45:26] 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-04-17 15:45:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:45:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:45:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:45:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:45:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:45:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:45:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:45:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:45:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:45:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763709696001,"66":12939,"105":206,"83":41984,"24":0,"16":113272860419555328,"45":1738882068004423680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:45:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:45:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:45:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763709696001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:45:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:45:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:45:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272860419555328,"km_value":113272860419555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:45:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004423680,"description":"Unknown IO ID 45"} 
[2026-04-17 15:45:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763709696001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004423680}} 
[2026-04-17 15:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":45980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21972,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:45:27] local.INFO: GPS data processed {"connection_id":45980,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:45:27] local.INFO: Acknowledgment sent {"connection_id":45980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:45:27] local.INFO: TCP Data received {"connection_id":46204,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:45:27] local.INFO: Processing buffer {"connection_id":46204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:45:27] local.INFO: Packet analysis {"connection_id":46204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:45:27] local.INFO: Extracted packet for processing {"connection_id":46204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:45:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763626496001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776420717000,"timestamp_ms":1776420717000,"timestamp_seconds":1776420717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aed01c8"} 
[2026-04-17 15:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46204,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:45: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-04-17 15:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763626496001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763626496001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:45:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:45:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763626496001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":46204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21973,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:45:27] local.INFO: GPS data processed {"connection_id":46204,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:45:27] local.INFO: Acknowledgment sent {"connection_id":46204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:45:50] local.INFO: TCP Data received {"connection_id":45981,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:45:50] local.INFO: Processing buffer {"connection_id":45981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:45:50] local.INFO: IMEI packet received {"connection_id":45981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":45981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:45:55] local.INFO: TCP Data received {"connection_id":45981,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45981,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:45:55] local.INFO: Processing buffer {"connection_id":45981,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:45:55] local.INFO: IMEI packet received {"connection_id":45981,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":45981,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:45:56] local.INFO: TCP Data received {"connection_id":45981,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:45:56] local.INFO: Processing buffer {"connection_id":45981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:45:56] local.INFO: Packet analysis {"connection_id":45981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:45:56] local.INFO: Extracted packet for processing {"connection_id":45981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763626496001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776420717000,"timestamp_ms":1776420717000,"timestamp_seconds":1776420717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aed01c8"} 
[2026-04-17 15:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763626496001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763626496001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:45:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763626496001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":45981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21974,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:45:56] local.INFO: GPS data processed {"connection_id":45981,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:45:56] local.INFO: Acknowledgment sent {"connection_id":45981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:45:57] local.INFO: TCP Data received {"connection_id":45980,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aee0398012d1821c00721b348004e00bb2a..."} 
[2026-04-17 15:45:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aee0398012d1821c00721b348004e00bb2a..."} 
[2026-04-17 15:45:57] local.INFO: Processing buffer {"connection_id":45980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aee0398012d1821c00721b348004e00bb2a..."} 
[2026-04-17 15:45:57] local.INFO: Packet analysis {"connection_id":45980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aee"} 
[2026-04-17 15:45:57] local.INFO: Extracted packet for processing {"connection_id":45980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aee"} 
[2026-04-17 15:45:57] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649096,"longitude_deg":75.6556224,"latitude_deg":11.9649096,"altitude":78,"angle":187,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-04-17 15:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:45:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763715072001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:45:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272860419555328,"note":"Value kept but may cause issues"} 
[2026-04-17 15:45:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004423680,"note":"Value kept but may cause issues"} 
[2026-04-17 15:45:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:45:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776420783000,"timestamp_ms":1776420783000,"timestamp_seconds":1776420783,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aee0398"} 
[2026-04-17 15:45:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:45:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14592,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:45:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-17 15:45:57] 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-04-17 15:45:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:45:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:45:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:45:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:45:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:45:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45980,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:45:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:45:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:45:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:45:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763715072001,"66":12939,"105":206,"83":41984,"24":0,"16":113272860419555328,"45":1738882068004423680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:45:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:45:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:45:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763715072001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:45:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:45:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:45:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272860419555328,"km_value":113272860419555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:45:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004423680,"description":"Unknown IO ID 45"} 
[2026-04-17 15:45:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763715072001,"power":12939,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004423680}} 
[2026-04-17 15:45:57] local.INFO: DEBUG: GPS processor result {"connection_id":45980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21975,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:45:57] local.INFO: GPS data processed {"connection_id":45980,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:45:57] local.INFO: Acknowledgment sent {"connection_id":45980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:46:21] local.INFO: TCP Data received {"connection_id":45882,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:46:21] local.INFO: Processing buffer {"connection_id":45882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:46:21] local.INFO: IMEI packet received {"connection_id":45882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":45882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:46:27] local.INFO: TCP Data received {"connection_id":45882,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45882,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:46:27] local.INFO: Processing buffer {"connection_id":45882,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:46:27] local.INFO: IMEI packet received {"connection_id":45882,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":45882,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:46:27] local.INFO: TCP Data received {"connection_id":45981,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45981,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:46:27] local.INFO: Processing buffer {"connection_id":45981,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:46:27] local.INFO: Packet analysis {"connection_id":45981,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:46:27] local.INFO: Extracted packet for processing {"connection_id":45981,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763626496001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776420717000,"timestamp_ms":1776420717000,"timestamp_seconds":1776420717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aed01c8"} 
[2026-04-17 15:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45981,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45981,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:46: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-04-17 15:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763626496001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763626496001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:46:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:46:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763626496001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":45981,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:46:27] local.INFO: GPS data processed {"connection_id":45981,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:46:27] local.INFO: Acknowledgment sent {"connection_id":45981,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:46:27] local.INFO: TCP Data received {"connection_id":45882,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aee55a0012d1821c00721b348004e00bb2a..."} 
[2026-04-17 15:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aee55a0012d1821c00721b348004e00bb2a..."} 
[2026-04-17 15:46:27] local.INFO: Processing buffer {"connection_id":45882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aee55a0012d1821c00721b348004e00bb2a..."} 
[2026-04-17 15:46:27] local.INFO: Packet analysis {"connection_id":45882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aee"} 
[2026-04-17 15:46:27] local.INFO: Extracted packet for processing {"connection_id":45882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aee"} 
[2026-04-17 15:46:27] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649096,"longitude_deg":75.6556224,"latitude_deg":11.9649096,"altitude":78,"angle":187,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-04-17 15:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763720448001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272860419555328,"note":"Value kept but may cause issues"} 
[2026-04-17 15:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004423680,"note":"Value kept but may cause issues"} 
[2026-04-17 15:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776420804000,"timestamp_ms":1776420804000,"timestamp_seconds":1776420804,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aee55a0"} 
[2026-04-17 15:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-17 15:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763720448001,"66":12885,"105":206,"83":41984,"24":0,"16":113272860419555328,"45":1738882068004423680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763720448001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:46:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:46:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272860419555328,"km_value":113272860419555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004423680,"description":"Unknown IO ID 45"} 
[2026-04-17 15:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763720448001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004423680}} 
[2026-04-17 15:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":45882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21977,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:46:28] local.INFO: GPS data processed {"connection_id":45882,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:46:28] local.INFO: Acknowledgment sent {"connection_id":45882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:46:35] local.INFO: TCP Data received {"connection_id":45881,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:46:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45881,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:46:35] local.INFO: Processing buffer {"connection_id":45881,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:46:35] local.INFO: IMEI packet received {"connection_id":45881,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 15:46:35] local.INFO: IMEI acknowledgment sent {"connection_id":45881,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:46:50] local.INFO: TCP Data received {"connection_id":46205,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:46:50] local.INFO: Processing buffer {"connection_id":46205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:46:50] local.INFO: IMEI packet received {"connection_id":46205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":46205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:46:55] local.INFO: TCP Data received {"connection_id":46205,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46205,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:46:55] local.INFO: Processing buffer {"connection_id":46205,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:46:55] local.INFO: IMEI packet received {"connection_id":46205,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":46205,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:46:56] local.INFO: TCP Data received {"connection_id":46205,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:46:56] local.INFO: Processing buffer {"connection_id":46205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:46:56] local.INFO: Packet analysis {"connection_id":46205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:46:56] local.INFO: Extracted packet for processing {"connection_id":46205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763626496001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776420717000,"timestamp_ms":1776420717000,"timestamp_seconds":1776420717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aed01c8"} 
[2026-04-17 15:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:46:56] 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-04-17 15:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763626496001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763626496001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:46:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763626496001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":46205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:46:56] local.INFO: GPS data processed {"connection_id":46205,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:46:56] local.INFO: Acknowledgment sent {"connection_id":46205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:46:58] local.INFO: TCP Data received {"connection_id":45882,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aeea7a8012d1821c00721b348004e00bb29..."} 
[2026-04-17 15:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45882,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aeea7a8012d1821c00721b348004e00bb29..."} 
[2026-04-17 15:46:58] local.INFO: Processing buffer {"connection_id":45882,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aeea7a8012d1821c00721b348004e00bb29..."} 
[2026-04-17 15:46:58] local.INFO: Packet analysis {"connection_id":45882,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aee"} 
[2026-04-17 15:46:58] local.INFO: Extracted packet for processing {"connection_id":45882,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aee"} 
[2026-04-17 15:46:58] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649096,"longitude_deg":75.6556224,"latitude_deg":11.9649096,"altitude":78,"angle":187,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-04-17 15:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763725824001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272860419555328,"note":"Value kept but may cause issues"} 
[2026-04-17 15:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004423680,"note":"Value kept but may cause issues"} 
[2026-04-17 15:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776420825000,"timestamp_ms":1776420825000,"timestamp_seconds":1776420825,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aeea7a8"} 
[2026-04-17 15:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:46:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 15:46:58] 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-04-17 15:46:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45882,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45882,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763725824001,"66":12874,"105":206,"83":41984,"24":0,"16":113272860419555328,"45":1738882068004423680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763725824001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:46:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:46:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272860419555328,"km_value":113272860419555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004423680,"description":"Unknown IO ID 45"} 
[2026-04-17 15:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763725824001,"power":12874,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004423680}} 
[2026-04-17 15:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":45882,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21979,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:46:58] local.INFO: GPS data processed {"connection_id":45882,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:46:58] local.INFO: Acknowledgment sent {"connection_id":45882,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:47:04] local.INFO: TCP Data received {"connection_id":46732,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46732,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:47:04] local.INFO: Processing buffer {"connection_id":46732,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:47:04] local.INFO: IMEI packet received {"connection_id":46732,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 15:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":46732,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:47:21] local.INFO: TCP Data received {"connection_id":45883,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:47:21] local.INFO: Processing buffer {"connection_id":45883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:47:21] local.INFO: IMEI packet received {"connection_id":45883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":45883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:47:27] local.INFO: TCP Data received {"connection_id":45883,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45883,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:47:27] local.INFO: Processing buffer {"connection_id":45883,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:47:27] local.INFO: IMEI packet received {"connection_id":45883,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":45883,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:47:27] local.INFO: TCP Data received {"connection_id":45883,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aeef9b0012d1821c00721b348004e00bb29..."} 
[2026-04-17 15:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aeef9b0012d1821c00721b348004e00bb29..."} 
[2026-04-17 15:47:27] local.INFO: Processing buffer {"connection_id":45883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aeef9b0012d1821c00721b348004e00bb29..."} 
[2026-04-17 15:47:27] local.INFO: Packet analysis {"connection_id":45883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aee"} 
[2026-04-17 15:47:27] local.INFO: Extracted packet for processing {"connection_id":45883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aee"} 
[2026-04-17 15:47:27] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649096,"longitude_deg":75.6556224,"latitude_deg":11.9649096,"altitude":78,"angle":187,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-04-17 15:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763731200001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272860419555328,"note":"Value kept but may cause issues"} 
[2026-04-17 15:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004423680,"note":"Value kept but may cause issues"} 
[2026-04-17 15:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776420846000,"timestamp_ms":1776420846000,"timestamp_seconds":1776420846,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aeef9b0"} 
[2026-04-17 15:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-04-17 15:47:27] 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-04-17 15:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763731200001,"66":12863,"105":206,"83":41984,"24":0,"16":113272860419555328,"45":1738882068004423680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763731200001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:47:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:47:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272860419555328,"km_value":113272860419555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004423680,"description":"Unknown IO ID 45"} 
[2026-04-17 15:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763731200001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004423680}} 
[2026-04-17 15:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":45883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21980,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:47:28] local.INFO: GPS data processed {"connection_id":45883,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:47:28] local.INFO: Acknowledgment sent {"connection_id":45883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:47:28] local.INFO: TCP Data received {"connection_id":46205,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:47:28] local.INFO: Processing buffer {"connection_id":46205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aed01c8012d7faa8005afd2f80008000030..."} 
[2026-04-17 15:47:28] local.INFO: Packet analysis {"connection_id":46205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:47:28] local.INFO: Extracted packet for processing {"connection_id":46205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aed"} 
[2026-04-17 15:47:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":8,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763626496001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776420717000,"timestamp_ms":1776420717000,"timestamp_seconds":1776420717,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aed01c8"} 
[2026-04-17 15:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 15:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46205,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763626496001,"66":25397,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763626496001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:47:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:47:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763626496001,"power":25397,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":46205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:47:28] local.INFO: GPS data processed {"connection_id":46205,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:47:28] local.INFO: Acknowledgment sent {"connection_id":46205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:47:50] local.INFO: TCP Data received {"connection_id":45982,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:47:50] local.INFO: Processing buffer {"connection_id":45982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:47:50] local.INFO: IMEI packet received {"connection_id":45982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":45982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:47:55] local.INFO: TCP Data received {"connection_id":45982,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45982,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:47:55] local.INFO: Processing buffer {"connection_id":45982,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:47:55] local.INFO: IMEI packet received {"connection_id":45982,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":45982,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:47:56] local.INFO: TCP Data received {"connection_id":45982,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:47:56] local.INFO: Processing buffer {"connection_id":45982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:47:56] local.INFO: Packet analysis {"connection_id":45982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:47:56] local.INFO: Extracted packet for processing {"connection_id":45982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:47:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763703552001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776421018000,"timestamp_ms":1776421018000,"timestamp_seconds":1776421018,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af19990"} 
[2026-04-17 15:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:47:56] 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-04-17 15:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763703552001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763703552001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:47:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763703552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":45982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:47:56] local.INFO: GPS data processed {"connection_id":45982,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:47:56] local.INFO: Acknowledgment sent {"connection_id":45982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:47:58] local.INFO: TCP Data received {"connection_id":45883,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aef4bb8012d1821c00721b348004e00bb28..."} 
[2026-04-17 15:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aef4bb8012d1821c00721b348004e00bb28..."} 
[2026-04-17 15:47:58] local.INFO: Processing buffer {"connection_id":45883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aef4bb8012d1821c00721b348004e00bb28..."} 
[2026-04-17 15:47:58] local.INFO: Packet analysis {"connection_id":45883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aef"} 
[2026-04-17 15:47:58] local.INFO: Extracted packet for processing {"connection_id":45883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aef"} 
[2026-04-17 15:47:58] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649096,"longitude_deg":75.6556224,"latitude_deg":11.9649096,"altitude":78,"angle":187,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-04-17 15:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763736576001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272860419555328,"note":"Value kept but may cause issues"} 
[2026-04-17 15:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004423680,"note":"Value kept but may cause issues"} 
[2026-04-17 15:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776420867000,"timestamp_ms":1776420867000,"timestamp_seconds":1776420867,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aef4bb8"} 
[2026-04-17 15:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:47:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-17 15:47:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45883,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763736576001,"66":12863,"105":206,"83":41984,"24":0,"16":113272860419555328,"45":1738882068004423680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763736576001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:47:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:47:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272860419555328,"km_value":113272860419555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004423680,"description":"Unknown IO ID 45"} 
[2026-04-17 15:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763736576001,"power":12863,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004423680}} 
[2026-04-17 15:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":45883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21983,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:47:58] local.INFO: GPS data processed {"connection_id":45883,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:47:58] local.INFO: Acknowledgment sent {"connection_id":45883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:48:27] local.INFO: TCP Data received {"connection_id":45884,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:48:27] local.INFO: Processing buffer {"connection_id":45884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:48:27] local.INFO: IMEI packet received {"connection_id":45884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":45884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:48:28] local.INFO: TCP Data received {"connection_id":45982,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:48:28] local.INFO: Processing buffer {"connection_id":45982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:48:28] local.INFO: Packet analysis {"connection_id":45982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:48:28] local.INFO: Extracted packet for processing {"connection_id":45982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:48:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763703552001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:48:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776421018000,"timestamp_ms":1776421018000,"timestamp_seconds":1776421018,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af19990"} 
[2026-04-17 15:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:48:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:48: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-04-17 15:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45982,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763703552001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763703552001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:48:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:48:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763703552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":45982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:48:28] local.INFO: GPS data processed {"connection_id":45982,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:48:28] local.INFO: Acknowledgment sent {"connection_id":45982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:48:32] local.INFO: TCP Data received {"connection_id":45884,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45884,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:48:32] local.INFO: Processing buffer {"connection_id":45884,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:48:32] local.INFO: IMEI packet received {"connection_id":45884,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:48:32] local.INFO: IMEI acknowledgment sent {"connection_id":45884,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:48:32] local.INFO: TCP Data received {"connection_id":45884,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aef9dc0012d1821c00721b348004e00bb27..."} 
[2026-04-17 15:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aef9dc0012d1821c00721b348004e00bb27..."} 
[2026-04-17 15:48:32] local.INFO: Processing buffer {"connection_id":45884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aef9dc0012d1821c00721b348004e00bb27..."} 
[2026-04-17 15:48:32] local.INFO: Packet analysis {"connection_id":45884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aef"} 
[2026-04-17 15:48:32] local.INFO: Extracted packet for processing {"connection_id":45884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aef"} 
[2026-04-17 15:48:32] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649096,"longitude_deg":75.6556224,"latitude_deg":11.9649096,"altitude":78,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-04-17 15:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763741952001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272860419555328,"note":"Value kept but may cause issues"} 
[2026-04-17 15:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004423680,"note":"Value kept but may cause issues"} 
[2026-04-17 15:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776420888000,"timestamp_ms":1776420888000,"timestamp_seconds":1776420888,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aef9dc0"} 
[2026-04-17 15:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-17 15:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:48:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763741952001,"66":12841,"105":206,"83":41984,"24":0,"16":113272860419555328,"45":1738882068004423680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763741952001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:48:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:48:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272860419555328,"km_value":113272860419555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004423680,"description":"Unknown IO ID 45"} 
[2026-04-17 15:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763741952001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004423680}} 
[2026-04-17 15:48:33] local.INFO: DEBUG: GPS processor result {"connection_id":45884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21985,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:48:33] local.INFO: GPS data processed {"connection_id":45884,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:48:33] local.INFO: Acknowledgment sent {"connection_id":45884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:48:37] local.INFO: TCP Data received {"connection_id":45884,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aefefc8012d1821c00721b348004e00bb27..."} 
[2026-04-17 15:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aefefc8012d1821c00721b348004e00bb27..."} 
[2026-04-17 15:48:37] local.INFO: Processing buffer {"connection_id":45884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aefefc8012d1821c00721b348004e00bb27..."} 
[2026-04-17 15:48:37] local.INFO: Packet analysis {"connection_id":45884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aef"} 
[2026-04-17 15:48:37] local.INFO: Extracted packet for processing {"connection_id":45884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aef"} 
[2026-04-17 15:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649096,"longitude_deg":75.6556224,"latitude_deg":11.9649096,"altitude":78,"angle":187,"satellites":39,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763747328001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272860419555328,"note":"Value kept but may cause issues"} 
[2026-04-17 15:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004423680,"note":"Value kept but may cause issues"} 
[2026-04-17 15:48:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776420909000,"timestamp_ms":1776420909000,"timestamp_seconds":1776420909,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aefefc8"} 
[2026-04-17 15:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:48:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":41,"data_length":795,"current_offset":136} 
[2026-04-17 15:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":45884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":45884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":45884,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763747328001,"66":12809,"105":206,"83":41984,"24":0,"16":113272860419555328,"45":1738882068004423680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763747328001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:48:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:48:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272860419555328,"km_value":113272860419555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004423680,"description":"Unknown IO ID 45"} 
[2026-04-17 15:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763747328001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004423680}} 
[2026-04-17 15:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":45884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21986,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:48:37] local.INFO: GPS data processed {"connection_id":45884,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:48:37] local.INFO: Acknowledgment sent {"connection_id":45884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:48:50] local.INFO: TCP Data received {"connection_id":45885,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:48:50] local.INFO: Processing buffer {"connection_id":45885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:48:50] local.INFO: IMEI packet received {"connection_id":45885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":45885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:48:55] local.INFO: TCP Data received {"connection_id":45885,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45885,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:48:55] local.INFO: Processing buffer {"connection_id":45885,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:48:55] local.INFO: IMEI packet received {"connection_id":45885,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":45885,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:48:57] local.INFO: TCP Data received {"connection_id":45885,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:48:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:48:57] local.INFO: Processing buffer {"connection_id":45885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:48:57] local.INFO: Packet analysis {"connection_id":45885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:48:57] local.INFO: Extracted packet for processing {"connection_id":45885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:48:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:48:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763703552001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:48:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:48:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:48:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:48:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776421018000,"timestamp_ms":1776421018000,"timestamp_seconds":1776421018,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af19990"} 
[2026-04-17 15:48:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:48:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:48:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:48:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:48:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:48:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:48:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:48:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:48:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:48:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:48:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:48:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763703552001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:48:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:48:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:48:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763703552001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:48:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:48:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:48:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:48:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:48:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763703552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:48:57] local.INFO: DEBUG: GPS processor result {"connection_id":45885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21987,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:48:57] local.INFO: GPS data processed {"connection_id":45885,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:48:57] local.INFO: Acknowledgment sent {"connection_id":45885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:49:21] local.INFO: TCP Data received {"connection_id":46733,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:49:21] local.INFO: Processing buffer {"connection_id":46733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:49:21] local.INFO: IMEI packet received {"connection_id":46733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":46733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:49:21] local.INFO: TCP Data received {"connection_id":46733,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:49:21] local.INFO: Processing buffer {"connection_id":46733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:49:21] local.INFO: IMEI packet received {"connection_id":46733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":46733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:49:27] local.INFO: TCP Data received {"connection_id":46733,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46733,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:49:27] local.INFO: Processing buffer {"connection_id":46733,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:49:27] local.INFO: IMEI packet received {"connection_id":46733,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":46733,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:49:27] local.INFO: TCP Data received {"connection_id":46733,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af041d0012d1821c00721b348004e00bb28..."} 
[2026-04-17 15:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af041d0012d1821c00721b348004e00bb28..."} 
[2026-04-17 15:49:27] local.INFO: Processing buffer {"connection_id":46733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af041d0012d1821c00721b348004e00bb28..."} 
[2026-04-17 15:49:27] local.INFO: Packet analysis {"connection_id":46733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af0"} 
[2026-04-17 15:49:27] local.INFO: Extracted packet for processing {"connection_id":46733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af0"} 
[2026-04-17 15:49:27] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649096,"longitude_deg":75.6556224,"latitude_deg":11.9649096,"altitude":78,"angle":187,"satellites":40,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-04-17 15:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763752704001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272860419555328,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004423680,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776420930000,"timestamp_ms":1776420930000,"timestamp_seconds":1776420930,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af041d0"} 
[2026-04-17 15:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-17 15:49:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2599289752,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:27] local.WARNING: Large IO value detected {"io_id":154,"raw_value":-1319114881116921408,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:27] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3221692851,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-17 15:49:27] local.WARNING: Large IO value detected {"io_id":85,"raw_value":2684431640,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:27] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645525680557,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:27] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2428363790228699946,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:27] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:27] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,109,45,192,179,78,39,10,66,75,40,249,1,240,63,227,154,33,4,113,205,85,72,42,239,50,2,146,7,164,17],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-17 15:49:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620698111136497664,"timestamp_seconds":5620698111136498.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 15:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763752704001,"66":12798,"105":206,"83":41984,"24":0,"16":113272860419555328,"45":1738882068004423680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763752704001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:49:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:49:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272860419555328,"km_value":113272860419555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004423680,"description":"Unknown IO ID 45"} 
[2026-04-17 15:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763752704001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004423680}} 
[2026-04-17 15:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":46733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21988,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:49:28] local.INFO: GPS data processed {"connection_id":46733,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:49:28] local.INFO: Acknowledgment sent {"connection_id":46733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:49:28] local.INFO: TCP Data received {"connection_id":45885,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45885,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:49:28] local.INFO: Processing buffer {"connection_id":45885,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:49:28] local.INFO: Packet analysis {"connection_id":45885,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:49:28] local.INFO: Extracted packet for processing {"connection_id":45885,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:49:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763703552001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776421018000,"timestamp_ms":1776421018000,"timestamp_seconds":1776421018,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af19990"} 
[2026-04-17 15:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:49:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:49: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-04-17 15:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45885,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45885,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763703552001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763703552001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:49:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:49:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763703552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":45885,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:49:28] local.INFO: GPS data processed {"connection_id":45885,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:49:28] local.INFO: Acknowledgment sent {"connection_id":45885,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:49:50] local.INFO: TCP Data received {"connection_id":46734,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:49:50] local.INFO: Processing buffer {"connection_id":46734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:49:50] local.INFO: IMEI packet received {"connection_id":46734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":46734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:49:55] local.INFO: TCP Data received {"connection_id":46734,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46734,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:49:55] local.INFO: Processing buffer {"connection_id":46734,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:49:55] local.INFO: IMEI packet received {"connection_id":46734,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":46734,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:49:56] local.INFO: TCP Data received {"connection_id":46734,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:49:56] local.INFO: Processing buffer {"connection_id":46734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:49:56] local.INFO: Packet analysis {"connection_id":46734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:49:56] local.INFO: Extracted packet for processing {"connection_id":46734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763703552001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776421018000,"timestamp_ms":1776421018000,"timestamp_seconds":1776421018,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af19990"} 
[2026-04-17 15:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:49:56] 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-04-17 15:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763703552001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763703552001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:49:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763703552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":46734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:49:56] local.INFO: GPS data processed {"connection_id":46734,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:49:56] local.INFO: Acknowledgment sent {"connection_id":46734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:49:58] local.INFO: TCP Data received {"connection_id":46733,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af093d8012d1821c00721b348004e00bb2a..."} 
[2026-04-17 15:49:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46733,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af093d8012d1821c00721b348004e00bb2a..."} 
[2026-04-17 15:49:58] local.INFO: Processing buffer {"connection_id":46733,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af093d8012d1821c00721b348004e00bb2a..."} 
[2026-04-17 15:49:58] local.INFO: Packet analysis {"connection_id":46733,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af0"} 
[2026-04-17 15:49:58] local.INFO: Extracted packet for processing {"connection_id":46733,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af0"} 
[2026-04-17 15:49:58] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649096,"longitude_deg":75.6556224,"latitude_deg":11.9649096,"altitude":78,"angle":187,"satellites":42,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:49:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763758080001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272860419555328,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004423680,"note":"Value kept but may cause issues"} 
[2026-04-17 15:49:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:49:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776420951000,"timestamp_ms":1776420951000,"timestamp_seconds":1776420951,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af093d8"} 
[2026-04-17 15:49:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:49: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-04-17 15: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-17 15:49:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:49:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:49:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:49:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46733,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:49:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:49:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46733,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:49:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:49:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:49:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:49:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763758080001,"66":12776,"105":206,"83":41984,"24":0,"16":113272860419555328,"45":1738882068004423680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:49:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:49:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:49:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763758080001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:49:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:49:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:49:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272860419555328,"km_value":113272860419555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:49:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004423680,"description":"Unknown IO ID 45"} 
[2026-04-17 15:49:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763758080001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004423680}} 
[2026-04-17 15:49:58] local.INFO: DEBUG: GPS processor result {"connection_id":46733,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21991,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:49:58] local.INFO: GPS data processed {"connection_id":46733,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:49:58] local.INFO: Acknowledgment sent {"connection_id":46733,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:50:22] local.INFO: TCP Data received {"connection_id":45983,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:50:22] local.INFO: Processing buffer {"connection_id":45983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:50:22] local.INFO: IMEI packet received {"connection_id":45983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":45983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:50:23] local.INFO: TCP Data received {"connection_id":45983,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45983,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:50:23] local.INFO: Processing buffer {"connection_id":45983,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:50:23] local.INFO: IMEI packet received {"connection_id":45983,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:50:23] local.INFO: IMEI acknowledgment sent {"connection_id":45983,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:50:24] local.INFO: TCP Data received {"connection_id":45983,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af0e5e0012d1821c00721b348004e00bb29..."} 
[2026-04-17 15:50:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af0e5e0012d1821c00721b348004e00bb29..."} 
[2026-04-17 15:50:24] local.INFO: Processing buffer {"connection_id":45983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af0e5e0012d1821c00721b348004e00bb29..."} 
[2026-04-17 15:50:24] local.INFO: Packet analysis {"connection_id":45983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af0"} 
[2026-04-17 15:50:24] local.INFO: Extracted packet for processing {"connection_id":45983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af0"} 
[2026-04-17 15:50:24] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649096,"longitude_deg":75.6556224,"latitude_deg":11.9649096,"altitude":78,"angle":187,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-04-17 15:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:50:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763763456001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:50:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272860419555328,"note":"Value kept but may cause issues"} 
[2026-04-17 15:50:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004423680,"note":"Value kept but may cause issues"} 
[2026-04-17 15:50:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:50:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776420972000,"timestamp_ms":1776420972000,"timestamp_seconds":1776420972,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af0e5e0"} 
[2026-04-17 15:50:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:50:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:50:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-17 15:50:24] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:50:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:50:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:50:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:50:24] local.INFO: Teltonika packet parsed successfully {"connection_id":45983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:50:24] local.INFO: Passing IMEI to GPS processor {"connection_id":45983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:50:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":45983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:50:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:50:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:50:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:50:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763763456001,"66":12776,"105":206,"83":41984,"24":0,"16":113272860419555328,"45":1738882068004423680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:50:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:50:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:50:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763763456001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:50:24] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:50:24] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:50:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272860419555328,"km_value":113272860419555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:50:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004423680,"description":"Unknown IO ID 45"} 
[2026-04-17 15:50:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763763456001,"power":12776,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004423680}} 
[2026-04-17 15:50:24] local.INFO: DEBUG: GPS processor result {"connection_id":45983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21992,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:50:24] local.INFO: GPS data processed {"connection_id":45983,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:50:24] local.INFO: Acknowledgment sent {"connection_id":45983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:50:27] local.INFO: TCP Data received {"connection_id":46734,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46734,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:50:27] local.INFO: Processing buffer {"connection_id":46734,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:50:27] local.INFO: Packet analysis {"connection_id":46734,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:50:27] local.INFO: Extracted packet for processing {"connection_id":46734,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763703552001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421018000,"timestamp_ms":1776421018000,"timestamp_seconds":1776421018,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af19990"} 
[2026-04-17 15:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:50:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46734,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46734,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763703552001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763703552001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:50:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:50:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763703552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":46734,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:50:27] local.INFO: GPS data processed {"connection_id":46734,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:50:27] local.INFO: Acknowledgment sent {"connection_id":46734,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:50:50] local.INFO: TCP Data received {"connection_id":46735,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:50:50] local.INFO: Processing buffer {"connection_id":46735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:50:50] local.INFO: IMEI packet received {"connection_id":46735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":46735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:50:55] local.INFO: TCP Data received {"connection_id":45983,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af137e8012d1821c00721b348004e00bb29..."} 
[2026-04-17 15:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45983,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af137e8012d1821c00721b348004e00bb29..."} 
[2026-04-17 15:50:55] local.INFO: Processing buffer {"connection_id":45983,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af137e8012d1821c00721b348004e00bb29..."} 
[2026-04-17 15:50:55] local.INFO: Packet analysis {"connection_id":45983,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:50:55] local.INFO: Extracted packet for processing {"connection_id":45983,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:50:55] local.INFO: GPS Element Parsed {"raw_longitude":756556224,"raw_latitude":119649096,"longitude_deg":75.6556224,"latitude_deg":11.9649096,"altitude":78,"angle":187,"satellites":41,"speed":0,"hex_longitude":"2d1821c0","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763768832001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272860419555328,"note":"Value kept but may cause issues"} 
[2026-04-17 15:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738882068004423680,"note":"Value kept but may cause issues"} 
[2026-04-17 15:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776420993000,"timestamp_ms":1776420993000,"timestamp_seconds":1776420993,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af137e8"} 
[2026-04-17 15:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:50: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-04-17 15:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-17 15:50:55] 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-04-17 15:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":45983,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":45983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":45983,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763768832001,"66":12722,"105":206,"83":41984,"24":0,"16":113272860419555328,"45":1738882068004423680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763768832001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:50:55] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:50:55] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272860419555328,"km_value":113272860419555.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738882068004423680,"description":"Unknown IO ID 45"} 
[2026-04-17 15:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763768832001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738882068004423680}} 
[2026-04-17 15:50:55] local.INFO: TCP Data received {"connection_id":46735,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46735,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:50:55] local.INFO: Processing buffer {"connection_id":46735,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:50:55] local.INFO: IMEI packet received {"connection_id":46735,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":46735,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":45983,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21994,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:50:55] local.INFO: GPS data processed {"connection_id":45983,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:50:55] local.INFO: Acknowledgment sent {"connection_id":45983,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:50:56] local.INFO: TCP Data received {"connection_id":46735,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:50:56] local.INFO: Processing buffer {"connection_id":46735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:50:56] local.INFO: Packet analysis {"connection_id":46735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:50:56] local.INFO: Extracted packet for processing {"connection_id":46735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763703552001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776421018000,"timestamp_ms":1776421018000,"timestamp_seconds":1776421018,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af19990"} 
[2026-04-17 15:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763703552001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763703552001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:50:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763703552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":46735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:50:56] local.INFO: GPS data processed {"connection_id":46735,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:50:56] local.INFO: Acknowledgment sent {"connection_id":46735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:51:22] local.INFO: TCP Data received {"connection_id":46209,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:51:22] local.INFO: Processing buffer {"connection_id":46209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:51:22] local.INFO: IMEI packet received {"connection_id":46209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":46209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:51:27] local.INFO: TCP Data received {"connection_id":46209,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:51:27] local.INFO: Processing buffer {"connection_id":46209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:51:27] local.INFO: IMEI packet received {"connection_id":46209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":46209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:51:27] local.INFO: TCP Data received {"connection_id":46735,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46735,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:51:27] local.INFO: Processing buffer {"connection_id":46735,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:51:27] local.INFO: Packet analysis {"connection_id":46735,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:51:27] local.INFO: Extracted packet for processing {"connection_id":46735,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763703552001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421018000,"timestamp_ms":1776421018000,"timestamp_seconds":1776421018,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af19990"} 
[2026-04-17 15:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46735,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46735,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763703552001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763703552001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:51:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763703552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":46735,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:51:27] local.INFO: GPS data processed {"connection_id":46735,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:51:27] local.INFO: Acknowledgment sent {"connection_id":46735,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:51:28] local.INFO: TCP Data received {"connection_id":46209,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af47bd8012d1821400721b370005100df2a..."} 
[2026-04-17 15:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af47bd8012d1821400721b370005100df2a..."} 
[2026-04-17 15:51:28] local.INFO: Processing buffer {"connection_id":46209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af47bd8012d1821400721b370005100df2a..."} 
[2026-04-17 15:51:28] local.INFO: Packet analysis {"connection_id":46209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af4"} 
[2026-04-17 15:51:28] local.INFO: Extracted packet for processing {"connection_id":46209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af4"} 
[2026-04-17 15:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649136,"longitude_deg":75.6556096,"latitude_deg":11.9649136,"altitude":81,"angle":223,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763823616001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272873304457216,"note":"Value kept but may cause issues"} 
[2026-04-17 15:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516078592,"note":"Value kept but may cause issues"} 
[2026-04-17 15:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776421207000,"timestamp_ms":1776421207000,"timestamp_seconds":1776421207,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af47bd8"} 
[2026-04-17 15:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":14848,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 15:51:28] 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-04-17 15: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-04-17 15:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763823616001,"66":12613,"105":206,"83":41984,"24":0,"16":113272873304457216,"45":1738741330516078592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763823616001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:51:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:51:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272873304457216,"km_value":113272873304457.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516078592,"description":"Unknown IO ID 45"} 
[2026-04-17 15:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763823616001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516078592}} 
[2026-04-17 15:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":46209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21997,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:51:28] local.INFO: GPS data processed {"connection_id":46209,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:51:28] local.INFO: Acknowledgment sent {"connection_id":46209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:51:50] local.INFO: TCP Data received {"connection_id":46210,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:51:50] local.INFO: Processing buffer {"connection_id":46210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:51:50] local.INFO: IMEI packet received {"connection_id":46210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":46210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:51:55] local.INFO: TCP Data received {"connection_id":46210,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46210,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:51:55] local.INFO: Processing buffer {"connection_id":46210,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:51:55] local.INFO: IMEI packet received {"connection_id":46210,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":46210,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:51:56] local.INFO: TCP Data received {"connection_id":46210,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:51:56] local.INFO: Processing buffer {"connection_id":46210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:51:56] local.INFO: Packet analysis {"connection_id":46210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:51:56] local.INFO: Extracted packet for processing {"connection_id":46210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763703552001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776421018000,"timestamp_ms":1776421018000,"timestamp_seconds":1776421018,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af19990"} 
[2026-04-17 15:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763703552001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763703552001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:51:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763703552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":46210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:51:56] local.INFO: GPS data processed {"connection_id":46210,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:51:56] local.INFO: Acknowledgment sent {"connection_id":46210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:51:58] local.INFO: TCP Data received {"connection_id":46209,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af4cde0012d1821400721b370005100df27..."} 
[2026-04-17 15:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af4cde0012d1821400721b370005100df27..."} 
[2026-04-17 15:51:58] local.INFO: Processing buffer {"connection_id":46209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af4cde0012d1821400721b370005100df27..."} 
[2026-04-17 15:51:58] local.INFO: Packet analysis {"connection_id":46209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af4"} 
[2026-04-17 15:51:58] local.INFO: Extracted packet for processing {"connection_id":46209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af4"} 
[2026-04-17 15:51:58] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649136,"longitude_deg":75.6556096,"latitude_deg":11.9649136,"altitude":81,"angle":223,"satellites":39,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-04-17 15:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763828992001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272873304457216,"note":"Value kept but may cause issues"} 
[2026-04-17 15:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516078592,"note":"Value kept but may cause issues"} 
[2026-04-17 15:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776421228000,"timestamp_ms":1776421228000,"timestamp_seconds":1776421228,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af4cde0"} 
[2026-04-17 15:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:51: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-04-17 15:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-17 15:51:58] 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-04-17 15:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763828992001,"66":12613,"105":206,"83":41984,"24":0,"16":113272873304457216,"45":1738741330516078592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763828992001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:51:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:51:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272873304457216,"km_value":113272873304457.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516078592,"description":"Unknown IO ID 45"} 
[2026-04-17 15:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763828992001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516078592}} 
[2026-04-17 15:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":46209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":21999,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:51:59] local.INFO: GPS data processed {"connection_id":46209,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:51:59] local.INFO: Acknowledgment sent {"connection_id":46209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:52:22] local.INFO: TCP Data received {"connection_id":45984,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:52:22] local.INFO: Processing buffer {"connection_id":45984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:52:22] local.INFO: IMEI packet received {"connection_id":45984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":45984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:52:27] local.INFO: TCP Data received {"connection_id":45984,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45984,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:52:27] local.INFO: Processing buffer {"connection_id":45984,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:52:27] local.INFO: IMEI packet received {"connection_id":45984,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":45984,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:52:27] local.INFO: TCP Data received {"connection_id":45984,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af51fe8012d1821400721b370005100df29..."} 
[2026-04-17 15:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af51fe8012d1821400721b370005100df29..."} 
[2026-04-17 15:52:27] local.INFO: Processing buffer {"connection_id":45984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af51fe8012d1821400721b370005100df29..."} 
[2026-04-17 15:52:27] local.INFO: Packet analysis {"connection_id":45984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af5"} 
[2026-04-17 15:52:27] local.INFO: Extracted packet for processing {"connection_id":45984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af5"} 
[2026-04-17 15:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649136,"longitude_deg":75.6556096,"latitude_deg":11.9649136,"altitude":81,"angle":223,"satellites":41,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763834368001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272873304457216,"note":"Value kept but may cause issues"} 
[2026-04-17 15:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516078592,"note":"Value kept but may cause issues"} 
[2026-04-17 15:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421249000,"timestamp_ms":1776421249000,"timestamp_seconds":1776421249,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af51fe8"} 
[2026-04-17 15:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-17 15:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1064,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763834368001,"66":12580,"105":206,"83":41984,"24":0,"16":113272873304457216,"45":1738741330516078592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763834368001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:52:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272873304457216,"km_value":113272873304457.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516078592,"description":"Unknown IO ID 45"} 
[2026-04-17 15:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763834368001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516078592}} 
[2026-04-17 15:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":45984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22000,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:52:28] local.INFO: GPS data processed {"connection_id":45984,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:52:28] local.INFO: Acknowledgment sent {"connection_id":45984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:52:28] local.INFO: TCP Data received {"connection_id":46210,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:52:28] local.INFO: Processing buffer {"connection_id":46210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af19990012d7faa8005afd2f80009000030..."} 
[2026-04-17 15:52:28] local.INFO: Packet analysis {"connection_id":46210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:52:28] local.INFO: Extracted packet for processing {"connection_id":46210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af1"} 
[2026-04-17 15:52:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":48,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:52:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763703552001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:52:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:52:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:52:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:52:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776421018000,"timestamp_ms":1776421018000,"timestamp_seconds":1776421018,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af19990"} 
[2026-04-17 15:52:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:52:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:52:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 15:52: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-04-17 15:52:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:52:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:52:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:52:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:52:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:52:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46210,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:52:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:52:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:52:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:52:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763703552001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:52:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:52:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:52:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763703552001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:52:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:52:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:52:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:52:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:52:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763703552001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:52:28] local.INFO: DEBUG: GPS processor result {"connection_id":46210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22001,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:52:28] local.INFO: GPS data processed {"connection_id":46210,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:52:28] local.INFO: Acknowledgment sent {"connection_id":46210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:52:29] local.INFO: TCP Data received {"connection_id":46736,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:52:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46736,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:52:29] local.INFO: Processing buffer {"connection_id":46736,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:52:29] local.INFO: IMEI packet received {"connection_id":46736,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 15:52:29] local.INFO: IMEI acknowledgment sent {"connection_id":46736,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:52:50] local.INFO: TCP Data received {"connection_id":46737,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:52:50] local.INFO: Processing buffer {"connection_id":46737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:52:50] local.INFO: IMEI packet received {"connection_id":46737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":46737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:52:55] local.INFO: TCP Data received {"connection_id":46737,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46737,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:52:55] local.INFO: Processing buffer {"connection_id":46737,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:52:55] local.INFO: IMEI packet received {"connection_id":46737,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":46737,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:52:57] local.INFO: TCP Data received {"connection_id":46737,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:52:57] local.INFO: Processing buffer {"connection_id":46737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:52:57] local.INFO: Packet analysis {"connection_id":46737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:52:57] local.INFO: Extracted packet for processing {"connection_id":46737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:52:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 15:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763780608001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776421319000,"timestamp_ms":1776421319000,"timestamp_seconds":1776421319,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af63158"} 
[2026-04-17 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-04-17 15:52:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:52:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 15:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763780608001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763780608001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:52:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:52:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763780608001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":46737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:52:57] local.INFO: GPS data processed {"connection_id":46737,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:52:57] local.INFO: Acknowledgment sent {"connection_id":46737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:52:58] local.INFO: TCP Data received {"connection_id":45984,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af571f0012d1821400721b370005100df2a..."} 
[2026-04-17 15:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af571f0012d1821400721b370005100df2a..."} 
[2026-04-17 15:52:58] local.INFO: Processing buffer {"connection_id":45984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af571f0012d1821400721b370005100df2a..."} 
[2026-04-17 15:52:58] local.INFO: Packet analysis {"connection_id":45984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af5"} 
[2026-04-17 15:52:58] local.INFO: Extracted packet for processing {"connection_id":45984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af5"} 
[2026-04-17 15:52:58] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649136,"longitude_deg":75.6556096,"latitude_deg":11.9649136,"altitude":81,"angle":223,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-04-17 15:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763839744001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272873304457216,"note":"Value kept but may cause issues"} 
[2026-04-17 15:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516078592,"note":"Value kept but may cause issues"} 
[2026-04-17 15:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776421270000,"timestamp_ms":1776421270000,"timestamp_seconds":1776421270,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af571f0"} 
[2026-04-17 15:52:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:52:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:52:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 15:52:58] 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-04-17 15: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-04-17 15:52:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45984,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763839744001,"66":12558,"105":206,"83":41984,"24":0,"16":113272873304457216,"45":1738741330516078592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763839744001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:52:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:52:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272873304457216,"km_value":113272873304457.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516078592,"description":"Unknown IO ID 45"} 
[2026-04-17 15:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763839744001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516078592}} 
[2026-04-17 15:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":45984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:52:58] local.INFO: GPS data processed {"connection_id":45984,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:52:58] local.INFO: Acknowledgment sent {"connection_id":45984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:53:08] local.INFO: TCP Data received {"connection_id":46738,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:53:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:53:08] local.INFO: Processing buffer {"connection_id":46738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:53:08] local.INFO: IMEI packet received {"connection_id":46738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 15:53:08] local.INFO: IMEI acknowledgment sent {"connection_id":46738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:53:10] local.INFO: TCP Data received {"connection_id":46738,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:53:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46738,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:53:10] local.INFO: Processing buffer {"connection_id":46738,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:53:10] local.INFO: IMEI packet received {"connection_id":46738,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 15:53:10] local.INFO: IMEI acknowledgment sent {"connection_id":46738,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:53:22] local.INFO: TCP Data received {"connection_id":45887,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:53:22] local.INFO: Processing buffer {"connection_id":45887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:53:22] local.INFO: IMEI packet received {"connection_id":45887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":45887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:53:22] local.INFO: TCP Data received {"connection_id":45887,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:53:22] local.INFO: Processing buffer {"connection_id":45887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:53:22] local.INFO: IMEI packet received {"connection_id":45887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":45887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:53:27] local.INFO: TCP Data received {"connection_id":45887,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45887,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:53:27] local.INFO: Processing buffer {"connection_id":45887,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:53:27] local.INFO: IMEI packet received {"connection_id":45887,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":45887,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:53:27] local.INFO: TCP Data received {"connection_id":45887,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af5c3f8012d1821400721b370005100df2a..."} 
[2026-04-17 15:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af5c3f8012d1821400721b370005100df2a..."} 
[2026-04-17 15:53:27] local.INFO: Processing buffer {"connection_id":45887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af5c3f8012d1821400721b370005100df2a..."} 
[2026-04-17 15:53:27] local.INFO: Packet analysis {"connection_id":45887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af5"} 
[2026-04-17 15:53:27] local.INFO: Extracted packet for processing {"connection_id":45887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af5"} 
[2026-04-17 15:53:27] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649136,"longitude_deg":75.6556096,"latitude_deg":11.9649136,"altitude":81,"angle":223,"satellites":42,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-04-17 15:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763845120001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272873304457216,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516078592,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421291000,"timestamp_ms":1776421291000,"timestamp_seconds":1776421291,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af5c3f8"} 
[2026-04-17 15:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 15:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2599650752,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-17 15:53:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383690029085552,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:27] local.WARNING: Large IO value detected {"io_id":154,"raw_value":4096380929,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:27] local.WARNING: Large IO value detected {"io_id":215,"raw_value":3355520280,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:27] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:27] local.WARNING: Large IO value detected {"io_id":58,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:27] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:27] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,105,83,24,241,157,16,109,31,45,64,179,81,41,10,66,205,39,123,1,240,69,227,154,33,4,113,215,112,239,49,2,146,7,106,58,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-17 15:53:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836910488553783296,"timestamp_seconds":5836910488553783.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 15:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763845120001,"66":12558,"105":206,"83":41984,"24":0,"16":113272873304457216,"45":1738741330516078592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763845120001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:53:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:53:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272873304457216,"km_value":113272873304457.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516078592,"description":"Unknown IO ID 45"} 
[2026-04-17 15:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763845120001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516078592}} 
[2026-04-17 15:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":45887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22004,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:53:27] local.INFO: GPS data processed {"connection_id":45887,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:53:27] local.INFO: Acknowledgment sent {"connection_id":45887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:53:29] local.INFO: TCP Data received {"connection_id":46737,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46737,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:53:29] local.INFO: Processing buffer {"connection_id":46737,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:53:29] local.INFO: Packet analysis {"connection_id":46737,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:53:29] local.INFO: Extracted packet for processing {"connection_id":46737,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:53:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763780608001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776421319000,"timestamp_ms":1776421319000,"timestamp_seconds":1776421319,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af63158"} 
[2026-04-17 15:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:53:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:53:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:53:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:53:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46737,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46737,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763780608001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763780608001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:53:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:53:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763780608001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":46737,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22005,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:53:29] local.INFO: GPS data processed {"connection_id":46737,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:53:29] local.INFO: Acknowledgment sent {"connection_id":46737,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:53:50] local.INFO: TCP Data received {"connection_id":46211,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:53:50] local.INFO: Processing buffer {"connection_id":46211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:53:50] local.INFO: IMEI packet received {"connection_id":46211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":46211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:53:55] local.INFO: TCP Data received {"connection_id":46211,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:53:55] local.INFO: Processing buffer {"connection_id":46211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:53:55] local.INFO: IMEI packet received {"connection_id":46211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":46211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:53:56] local.INFO: TCP Data received {"connection_id":46211,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:53:56] local.INFO: Processing buffer {"connection_id":46211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:53:56] local.INFO: Packet analysis {"connection_id":46211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:53:56] local.INFO: Extracted packet for processing {"connection_id":46211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763780608001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776421319000,"timestamp_ms":1776421319000,"timestamp_seconds":1776421319,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af63158"} 
[2026-04-17 15:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763780608001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763780608001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:53:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763780608001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":46211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:53:56] local.INFO: GPS data processed {"connection_id":46211,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:53:56] local.INFO: Acknowledgment sent {"connection_id":46211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:53:58] local.INFO: TCP Data received {"connection_id":45887,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af61600012d1821400721b370005100df2b..."} 
[2026-04-17 15:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af61600012d1821400721b370005100df2b..."} 
[2026-04-17 15:53:58] local.INFO: Processing buffer {"connection_id":45887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af61600012d1821400721b370005100df2b..."} 
[2026-04-17 15:53:58] local.INFO: Packet analysis {"connection_id":45887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:53:58] local.INFO: Extracted packet for processing {"connection_id":45887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:53:58] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649136,"longitude_deg":75.6556096,"latitude_deg":11.9649136,"altitude":81,"angle":223,"satellites":43,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b370","is_valid_coordinates":true} 
[2026-04-17 15:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763850496001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272873304457216,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516078592,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776421312000,"timestamp_ms":1776421312000,"timestamp_seconds":1776421312,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af61600"} 
[2026-04-17 15:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:53:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15104,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 15:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2599671752,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-17 15:53:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383690029085552,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:58] local.WARNING: Large IO value detected {"io_id":154,"raw_value":4101756929,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:58] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:58] local.WARNING: Large IO value detected {"io_id":58,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:58] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-17 15:53:58] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,105,83,24,241,157,16,109,113,45,64,179,81,42,10,66,31,41,205,1,240,69,227,154,33,4,112,239,49,2,146,7,106,58,206],"length":575,"final_offset":705,"validated_count":35,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-17 15:53:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836910488553783296,"timestamp_seconds":5836910488553783.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 15:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45887,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763850496001,"66":12558,"105":206,"83":41984,"24":0,"16":113272873304457216,"45":1738741330516078592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763850496001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:53:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:53:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272873304457216,"km_value":113272873304457.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516078592,"description":"Unknown IO ID 45"} 
[2026-04-17 15:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763850496001,"power":12558,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516078592}} 
[2026-04-17 15:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":45887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:53:58] local.INFO: GPS data processed {"connection_id":45887,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:53:58] local.INFO: Acknowledgment sent {"connection_id":45887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:54:22] local.INFO: TCP Data received {"connection_id":46213,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:54:22] local.INFO: Processing buffer {"connection_id":46213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:54:22] local.INFO: IMEI packet received {"connection_id":46213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":46213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:54:25] local.INFO: TCP Data received {"connection_id":46213,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:54:25] local.INFO: Processing buffer {"connection_id":46213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:54:25] local.INFO: IMEI packet received {"connection_id":46213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:54:25] local.INFO: IMEI acknowledgment sent {"connection_id":46213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:54:25] local.INFO: TCP Data received {"connection_id":46213,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af63d10012d1820000721b298004e00d32a..."} 
[2026-04-17 15:54:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af63d10012d1820000721b298004e00d32a..."} 
[2026-04-17 15:54:25] local.INFO: Processing buffer {"connection_id":46213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af63d10012d1820000721b298004e00d32a..."} 
[2026-04-17 15:54:25] local.INFO: Packet analysis {"connection_id":46213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:54:25] local.INFO: Extracted packet for processing {"connection_id":46213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:54:25] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648920,"longitude_deg":75.6555776,"latitude_deg":11.964892,"altitude":78,"angle":211,"satellites":42,"speed":2,"hex_longitude":"2d182000","hex_latitude":"0721b298","is_valid_coordinates":true} 
[2026-04-17 15:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763855872001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:54:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272890484326400,"note":"Value kept but may cause issues"} 
[2026-04-17 15:54:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516078592,"note":"Value kept but may cause issues"} 
[2026-04-17 15:54:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:54:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776421322000,"timestamp_ms":1776421322000,"timestamp_seconds":1776421322,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af63d10"} 
[2026-04-17 15:54:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:54: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-04-17 15:54:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 15:54:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863232450621439,"note":"Value kept but may cause issues"} 
[2026-04-17 15:54:25] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-17 15:54:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2599692752,"note":"Value kept but may cause issues"} 
[2026-04-17 15:54:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249383690029085552,"note":"Value kept but may cause issues"} 
[2026-04-17 15:54:25] local.WARNING: Large IO value detected {"io_id":154,"raw_value":4107132929,"note":"Value kept but may cause issues"} 
[2026-04-17 15:54:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-17 15:54:25] local.WARNING: Large IO value detected {"io_id":123,"raw_value":3623955736,"note":"Value kept but may cause issues"} 
[2026-04-17 15:54:25] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-17 15:54:25] local.WARNING: Large IO value detected {"io_id":58,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-17 15:54:25] local.WARNING: Large IO value detected {"io_id":206,"raw_value":6026942304407781378,"note":"Value kept but may cause issues"} 
[2026-04-17 15:54:25] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,105,83,24,241,157,16,109,195,45,64,179,81,42,10,66,113,31,1,240,36,227,154,33,4,205,123,112,239,49,2,146,7,106,58,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-17 15:54:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5836910492848750592,"timestamp_seconds":5836910492848751.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 15:54:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:54:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:54:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:54:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:54:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:54:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:54:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:54:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:54:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763855872001,"66":12504,"105":206,"83":41984,"24":2,"16":113272890484326400,"45":1738741330516078592},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:54:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:54:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:54:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763855872001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:54:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:54:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:54:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272890484326400,"km_value":113272890484326.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:54:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516078592,"description":"Unknown IO ID 45"} 
[2026-04-17 15:54:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763855872001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738741330516078592}} 
[2026-04-17 15:54:26] local.INFO: DEBUG: GPS processor result {"connection_id":46213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22008,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:54:26] local.INFO: GPS data processed {"connection_id":46213,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:54:26] local.INFO: Acknowledgment sent {"connection_id":46213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:54:27] local.INFO: TCP Data received {"connection_id":46211,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:54:27] local.INFO: Processing buffer {"connection_id":46211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:54:27] local.INFO: Packet analysis {"connection_id":46211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:54:27] local.INFO: Extracted packet for processing {"connection_id":46211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763780608001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421319000,"timestamp_ms":1776421319000,"timestamp_seconds":1776421319,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af63158"} 
[2026-04-17 15:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763780608001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763780608001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:54:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:54:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763780608001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":46211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:54:27] local.INFO: GPS data processed {"connection_id":46211,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:54:27] local.INFO: Acknowledgment sent {"connection_id":46211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:54:55] local.INFO: TCP Data received {"connection_id":45888,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:54:55] local.INFO: Processing buffer {"connection_id":45888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:54:55] local.INFO: IMEI packet received {"connection_id":45888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":45888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:54:56] local.INFO: TCP Data received {"connection_id":46213,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af68f18012d181f400721b0d8004e00cb29..."} 
[2026-04-17 15:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af68f18012d181f400721b0d8004e00cb29..."} 
[2026-04-17 15:54:56] local.INFO: Processing buffer {"connection_id":46213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af68f18012d181f400721b0d8004e00cb29..."} 
[2026-04-17 15:54:56] local.INFO: Packet analysis {"connection_id":46213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:54:56] local.INFO: Extracted packet for processing {"connection_id":46213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:54:56] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648472,"longitude_deg":75.6555584,"latitude_deg":11.9648472,"altitude":78,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0d8","is_valid_coordinates":true} 
[2026-04-17 15:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763858432001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272916254130176,"note":"Value kept but may cause issues"} 
[2026-04-17 15:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795134976,"note":"Value kept but may cause issues"} 
[2026-04-17 15:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776421343000,"timestamp_ms":1776421343000,"timestamp_seconds":1776421343,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af68f18"} 
[2026-04-17 15:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 15:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763858432001,"66":12537,"105":206,"83":41984,"24":0,"16":113272916254130176,"45":1738389486795134976},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763858432001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:54:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:54:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272916254130176,"km_value":113272916254130.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795134976,"description":"Unknown IO ID 45"} 
[2026-04-17 15:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763858432001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795134976}} 
[2026-04-17 15:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":46213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22010,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:54:56] local.INFO: GPS data processed {"connection_id":46213,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:54:56] local.INFO: Acknowledgment sent {"connection_id":46213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:55:00] local.INFO: TCP Data received {"connection_id":45888,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45888,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:55:00] local.INFO: Processing buffer {"connection_id":45888,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:55:00] local.INFO: IMEI packet received {"connection_id":45888,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":45888,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:55:01] local.INFO: TCP Data received {"connection_id":45888,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:55:01] local.INFO: Processing buffer {"connection_id":45888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:55:01] local.INFO: Packet analysis {"connection_id":45888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:55:01] local.INFO: Extracted packet for processing {"connection_id":45888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763780608001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776421319000,"timestamp_ms":1776421319000,"timestamp_seconds":1776421319,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af63158"} 
[2026-04-17 15:55:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:55:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:55:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:55:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:55: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-04-17 15:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763780608001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763780608001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:55:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763780608001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":45888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:55:01] local.INFO: GPS data processed {"connection_id":45888,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:55:01] local.INFO: Acknowledgment sent {"connection_id":45888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:55:06] local.INFO: TCP Data received {"connection_id":45888,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45888,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:55:06] local.INFO: Processing buffer {"connection_id":45888,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:55:06] local.INFO: Packet analysis {"connection_id":45888,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:55:06] local.INFO: Extracted packet for processing {"connection_id":45888,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763780608001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776421319000,"timestamp_ms":1776421319000,"timestamp_seconds":1776421319,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af63158"} 
[2026-04-17 15:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45888,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45888,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763780608001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763780608001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:55:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763780608001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":45888,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:55:06] local.INFO: GPS data processed {"connection_id":45888,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:55:06] local.INFO: Acknowledgment sent {"connection_id":45888,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:55:21] local.INFO: TCP Data received {"connection_id":46214,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:55:21] local.INFO: Processing buffer {"connection_id":46214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:55:21] local.INFO: IMEI packet received {"connection_id":46214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":46214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:55:27] local.INFO: TCP Data received {"connection_id":46214,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:55:27] local.INFO: Processing buffer {"connection_id":46214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:55:27] local.INFO: IMEI packet received {"connection_id":46214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":46214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:55:27] local.INFO: TCP Data received {"connection_id":46214,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af6e120012d181f400721b0d8004e00cb29..."} 
[2026-04-17 15:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af6e120012d181f400721b0d8004e00cb29..."} 
[2026-04-17 15:55:27] local.INFO: Processing buffer {"connection_id":46214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af6e120012d181f400721b0d8004e00cb29..."} 
[2026-04-17 15:55:27] local.INFO: Packet analysis {"connection_id":46214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:55:27] local.INFO: Extracted packet for processing {"connection_id":46214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:55:27] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648472,"longitude_deg":75.6555584,"latitude_deg":11.9648472,"altitude":78,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0d8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763863808001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272916254130176,"note":"Value kept but may cause issues"} 
[2026-04-17 15:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562487296,"note":"Value kept but may cause issues"} 
[2026-04-17 15:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421364000,"timestamp_ms":1776421364000,"timestamp_seconds":1776421364,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af6e120"} 
[2026-04-17 15:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-17 15:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763863808001,"66":12504,"105":206,"83":41984,"24":0,"16":113272916254130176,"45":1738178380562487296},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763863808001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:55:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:55:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272916254130176,"km_value":113272916254130.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562487296,"description":"Unknown IO ID 45"} 
[2026-04-17 15:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763863808001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562487296}} 
[2026-04-17 15:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":46214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22013,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:55:28] local.INFO: GPS data processed {"connection_id":46214,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:55:28] local.INFO: Acknowledgment sent {"connection_id":46214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:55:50] local.INFO: TCP Data received {"connection_id":45986,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:55:50] local.INFO: Processing buffer {"connection_id":45986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:55:50] local.INFO: IMEI packet received {"connection_id":45986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":45986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:55:55] local.INFO: TCP Data received {"connection_id":45986,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45986,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:55:55] local.INFO: Processing buffer {"connection_id":45986,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:55:55] local.INFO: IMEI packet received {"connection_id":45986,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":45986,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:55:56] local.INFO: TCP Data received {"connection_id":45986,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:55:56] local.INFO: Processing buffer {"connection_id":45986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:55:56] local.INFO: Packet analysis {"connection_id":45986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:55:56] local.INFO: Extracted packet for processing {"connection_id":45986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 15:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763780608001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776421319000,"timestamp_ms":1776421319000,"timestamp_seconds":1776421319,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af63158"} 
[2026-04-17 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-04-17 15:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 15:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763780608001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763780608001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:55:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:55:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763780608001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":45986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:55:56] local.INFO: GPS data processed {"connection_id":45986,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:55:56] local.INFO: Acknowledgment sent {"connection_id":45986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:55:58] local.INFO: TCP Data received {"connection_id":46214,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af73328012d181f400721b0d8004e00cb2a..."} 
[2026-04-17 15:55:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af73328012d181f400721b0d8004e00cb2a..."} 
[2026-04-17 15:55:58] local.INFO: Processing buffer {"connection_id":46214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af73328012d181f400721b0d8004e00cb2a..."} 
[2026-04-17 15:55:58] local.INFO: Packet analysis {"connection_id":46214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af7"} 
[2026-04-17 15:55:58] local.INFO: Extracted packet for processing {"connection_id":46214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af7"} 
[2026-04-17 15:55:58] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648472,"longitude_deg":75.6555584,"latitude_deg":11.9648472,"altitude":78,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0d8","is_valid_coordinates":true} 
[2026-04-17 15:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:55:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763869184001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:55:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272916254130176,"note":"Value kept but may cause issues"} 
[2026-04-17 15:55:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562487296,"note":"Value kept but may cause issues"} 
[2026-04-17 15:55:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:55:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776421385000,"timestamp_ms":1776421385000,"timestamp_seconds":1776421385,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af73328"} 
[2026-04-17 15:55:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:55: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-04-17 15:55:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 15:55:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:55:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:55:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:55:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:55:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:55:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:55:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:55:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:55:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:55:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:55:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763869184001,"66":12526,"105":206,"83":41984,"24":0,"16":113272916254130176,"45":1738178380562487296},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:55:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:55:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:55:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763869184001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:55:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:55:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:55:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272916254130176,"km_value":113272916254130.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:55:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562487296,"description":"Unknown IO ID 45"} 
[2026-04-17 15:55:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763869184001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562487296}} 
[2026-04-17 15:55:58] local.INFO: DEBUG: GPS processor result {"connection_id":46214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22015,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:55:58] local.INFO: GPS data processed {"connection_id":46214,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:55:58] local.INFO: Acknowledgment sent {"connection_id":46214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:56:21] local.INFO: TCP Data received {"connection_id":46740,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:56:21] local.INFO: Processing buffer {"connection_id":46740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:56:21] local.INFO: IMEI packet received {"connection_id":46740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":46740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:56:27] local.INFO: TCP Data received {"connection_id":46740,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46740,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:56:27] local.INFO: Processing buffer {"connection_id":46740,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:56:27] local.INFO: IMEI packet received {"connection_id":46740,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:56:27] local.INFO: IMEI acknowledgment sent {"connection_id":46740,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:56:27] local.INFO: TCP Data received {"connection_id":45986,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:56:27] local.INFO: Processing buffer {"connection_id":45986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:56:27] local.INFO: Packet analysis {"connection_id":45986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:56:27] local.INFO: Extracted packet for processing {"connection_id":45986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763780608001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421319000,"timestamp_ms":1776421319000,"timestamp_seconds":1776421319,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af63158"} 
[2026-04-17 15:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45986,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763780608001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763780608001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:56:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763780608001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:56:27] local.INFO: TCP Data received {"connection_id":46740,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af78530012d181f400721b0d8004e00cb2b..."} 
[2026-04-17 15:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af78530012d181f400721b0d8004e00cb2b..."} 
[2026-04-17 15:56:27] local.INFO: Processing buffer {"connection_id":46740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af78530012d181f400721b0d8004e00cb2b..."} 
[2026-04-17 15:56:27] local.INFO: Packet analysis {"connection_id":46740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af7"} 
[2026-04-17 15:56:27] local.INFO: Extracted packet for processing {"connection_id":46740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af7"} 
[2026-04-17 15:56:27] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648472,"longitude_deg":75.6555584,"latitude_deg":11.9648472,"altitude":78,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0d8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763874560001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272916254130176,"note":"Value kept but may cause issues"} 
[2026-04-17 15:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562487296,"note":"Value kept but may cause issues"} 
[2026-04-17 15:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421406000,"timestamp_ms":1776421406000,"timestamp_seconds":1776421406,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af78530"} 
[2026-04-17 15:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":238,"data_length":795,"current_offset":136} 
[2026-04-17 15:56: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-04-17 15: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-04-17 15:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763874560001,"66":12537,"105":206,"83":41984,"24":0,"16":113272916254130176,"45":1738178380562487296},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763874560001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:56:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:56:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272916254130176,"km_value":113272916254130.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562487296,"description":"Unknown IO ID 45"} 
[2026-04-17 15:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763874560001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562487296}} 
[2026-04-17 15:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":45986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:56:27] local.INFO: GPS data processed {"connection_id":45986,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:56:27] local.INFO: Acknowledgment sent {"connection_id":45986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:56:28] local.INFO: DEBUG: GPS processor result {"connection_id":46740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22017,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:56:28] local.INFO: GPS data processed {"connection_id":46740,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:56:28] local.INFO: Acknowledgment sent {"connection_id":46740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:56:50] local.INFO: TCP Data received {"connection_id":45890,"ip":"42.106.6.210","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:56:50] local.INFO: Processing buffer {"connection_id":45890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:56:50] local.INFO: IMEI packet received {"connection_id":45890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":45890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:56:55] local.INFO: TCP Data received {"connection_id":45890,"ip":"42.106.6.210","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45890,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:56:55] local.INFO: Processing buffer {"connection_id":45890,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:56:55] local.INFO: IMEI packet received {"connection_id":45890,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":45890,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:56:56] local.INFO: TCP Data received {"connection_id":45890,"ip":"42.106.6.210","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:56:56] local.INFO: Processing buffer {"connection_id":45890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:56:56] local.INFO: Packet analysis {"connection_id":45890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:56:56] local.INFO: Extracted packet for processing {"connection_id":45890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763780608001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776421319000,"timestamp_ms":1776421319000,"timestamp_seconds":1776421319,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af63158"} 
[2026-04-17 15:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.210","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763780608001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.210","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763780608001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:56:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763780608001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":45890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:56:56] local.INFO: GPS data processed {"connection_id":45890,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:56:56] local.INFO: Acknowledgment sent {"connection_id":45890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:56:58] local.INFO: TCP Data received {"connection_id":46740,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af7d738012d181f400721b0d8004e00cb29..."} 
[2026-04-17 15:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46740,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af7d738012d181f400721b0d8004e00cb29..."} 
[2026-04-17 15:56:58] local.INFO: Processing buffer {"connection_id":46740,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af7d738012d181f400721b0d8004e00cb29..."} 
[2026-04-17 15:56:58] local.INFO: Packet analysis {"connection_id":46740,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af7"} 
[2026-04-17 15:56:58] local.INFO: Extracted packet for processing {"connection_id":46740,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af7"} 
[2026-04-17 15:56:58] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648472,"longitude_deg":75.6555584,"latitude_deg":11.9648472,"altitude":78,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0d8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763879936001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272916254130176,"note":"Value kept but may cause issues"} 
[2026-04-17 15:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562487296,"note":"Value kept but may cause issues"} 
[2026-04-17 15:56:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776421427000,"timestamp_ms":1776421427000,"timestamp_seconds":1776421427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af7d738"} 
[2026-04-17 15:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:56: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-04-17 15: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":249,"data_length":795,"current_offset":136} 
[2026-04-17 15:56:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46740,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46740,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763879936001,"66":12537,"105":206,"83":41984,"24":0,"16":113272916254130176,"45":1738178380562487296},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763879936001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:56:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:56:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272916254130176,"km_value":113272916254130.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562487296,"description":"Unknown IO ID 45"} 
[2026-04-17 15:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763879936001,"power":12537,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562487296}} 
[2026-04-17 15:56:58] local.INFO: DEBUG: GPS processor result {"connection_id":46740,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:56:58] local.INFO: GPS data processed {"connection_id":46740,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:56:58] local.INFO: Acknowledgment sent {"connection_id":46740,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:57:22] local.INFO: TCP Data received {"connection_id":46215,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:57:22] local.INFO: Processing buffer {"connection_id":46215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:57:22] local.INFO: IMEI packet received {"connection_id":46215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":46215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:57:27] local.INFO: TCP Data received {"connection_id":46215,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46215,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:57:27] local.INFO: Processing buffer {"connection_id":46215,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:57:27] local.INFO: IMEI packet received {"connection_id":46215,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:57:27] local.INFO: IMEI acknowledgment sent {"connection_id":46215,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:57:27] local.INFO: TCP Data received {"connection_id":46215,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af82940012d181f400721b0d8004e00cb2c..."} 
[2026-04-17 15:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af82940012d181f400721b0d8004e00cb2c..."} 
[2026-04-17 15:57:27] local.INFO: Processing buffer {"connection_id":46215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af82940012d181f400721b0d8004e00cb2c..."} 
[2026-04-17 15:57:27] local.INFO: Packet analysis {"connection_id":46215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af8"} 
[2026-04-17 15:57:27] local.INFO: Extracted packet for processing {"connection_id":46215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af8"} 
[2026-04-17 15:57:27] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648472,"longitude_deg":75.6555584,"latitude_deg":11.9648472,"altitude":78,"angle":203,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b0d8","is_valid_coordinates":true} 
[2026-04-17 15:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763885312001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272916254130176,"note":"Value kept but may cause issues"} 
[2026-04-17 15:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562487296,"note":"Value kept but may cause issues"} 
[2026-04-17 15:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421448000,"timestamp_ms":1776421448000,"timestamp_seconds":1776421448,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af82940"} 
[2026-04-17 15:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-17 15:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2679,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763885312001,"66":12504,"105":206,"83":41984,"24":0,"16":113272916254130176,"45":1738178380562487296},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763885312001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:57:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:57:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272916254130176,"km_value":113272916254130.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562487296,"description":"Unknown IO ID 45"} 
[2026-04-17 15:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763885312001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562487296}} 
[2026-04-17 15:57:27] local.INFO: TCP Data received {"connection_id":45890,"ip":"42.106.6.210","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45890,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:57:27] local.INFO: Processing buffer {"connection_id":45890,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af63158012d7faa8005afd2f8000a00002f..."} 
[2026-04-17 15:57:27] local.INFO: Packet analysis {"connection_id":45890,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:57:27] local.INFO: Extracted packet for processing {"connection_id":45890,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af6"} 
[2026-04-17 15:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":10,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763780608001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421319000,"timestamp_ms":1776421319000,"timestamp_seconds":1776421319,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af63158"} 
[2026-04-17 15:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45890,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45890,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.210","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763780608001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.210","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763780608001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:57:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763780608001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":45890,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22020,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:57:27] local.INFO: GPS data processed {"connection_id":45890,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:57:27] local.INFO: Acknowledgment sent {"connection_id":45890,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":46215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:57:27] local.INFO: GPS data processed {"connection_id":46215,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:57:27] local.INFO: Acknowledgment sent {"connection_id":46215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:57:32] local.INFO: TCP Data received {"connection_id":46215,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af87378012d181fc00721aff0004d00d628..."} 
[2026-04-17 15:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af87378012d181fc00721aff0004d00d628..."} 
[2026-04-17 15:57:32] local.INFO: Processing buffer {"connection_id":46215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af87378012d181fc00721aff0004d00d628..."} 
[2026-04-17 15:57:32] local.INFO: Packet analysis {"connection_id":46215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af8"} 
[2026-04-17 15:57:32] local.INFO: Extracted packet for processing {"connection_id":46215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af8"} 
[2026-04-17 15:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756555712,"raw_latitude":119648240,"longitude_deg":75.6555712,"latitude_deg":11.964824,"altitude":77,"angle":214,"satellites":40,"speed":2,"hex_longitude":"2d181fc0","hex_latitude":"0721aff0","is_valid_coordinates":true} 
[2026-04-17 15:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763890688001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272929139032064,"note":"Value kept but may cause issues"} 
[2026-04-17 15:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562487296,"note":"Value kept but may cause issues"} 
[2026-04-17 15:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776421467000,"timestamp_ms":1776421467000,"timestamp_seconds":1776421467,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af87378"} 
[2026-04-17 15:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 15:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763890688001,"66":12504,"105":206,"83":41984,"24":2,"16":113272929139032064,"45":1738178380562487296},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763890688001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:57:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:57:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272929139032064,"km_value":113272929139032.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562487296,"description":"Unknown IO ID 45"} 
[2026-04-17 15:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763890688001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1738178380562487296}} 
[2026-04-17 15:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":46215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:57:32] local.INFO: GPS data processed {"connection_id":46215,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:57:32] local.INFO: Acknowledgment sent {"connection_id":46215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:57:50] local.INFO: TCP Data received {"connection_id":46741,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:57:50] local.INFO: Processing buffer {"connection_id":46741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:57:50] local.INFO: IMEI packet received {"connection_id":46741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":46741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:57:56] local.INFO: TCP Data received {"connection_id":46741,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46741,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:57:56] local.INFO: Processing buffer {"connection_id":46741,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:57:56] local.INFO: IMEI packet received {"connection_id":46741,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:57:56] local.INFO: IMEI acknowledgment sent {"connection_id":46741,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:57:57] local.INFO: TCP Data received {"connection_id":46741,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 15:57:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 15:57:57] local.INFO: Processing buffer {"connection_id":46741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 15:57:57] local.INFO: Packet analysis {"connection_id":46741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 15:57:57] local.INFO: Extracted packet for processing {"connection_id":46741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 15:57:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763857664001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776421620000,"timestamp_ms":1776421620000,"timestamp_seconds":1776421620,"priority":1,"record_length":96,"hex_timestamp":"0000019d9afac920"} 
[2026-04-17 15:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:57:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:57:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:57:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763857664001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763857664001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:57:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:57:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763857664001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":46741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22023,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:57:57] local.INFO: GPS data processed {"connection_id":46741,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:57:57] local.INFO: Acknowledgment sent {"connection_id":46741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:58:03] local.INFO: TCP Data received {"connection_id":46215,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af87f30012d181f400721af30004d00cb28..."} 
[2026-04-17 15:58:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af87f30012d181f400721af30004d00cb28..."} 
[2026-04-17 15:58:03] local.INFO: Processing buffer {"connection_id":46215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af87f30012d181f400721af30004d00cb28..."} 
[2026-04-17 15:58:03] local.INFO: Packet analysis {"connection_id":46215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af8"} 
[2026-04-17 15:58:03] local.INFO: Extracted packet for processing {"connection_id":46215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af8"} 
[2026-04-17 15:58:03] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648048,"longitude_deg":75.6555584,"latitude_deg":11.9648048,"altitude":77,"angle":203,"satellites":40,"speed":1,"hex_longitude":"2d181f40","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-04-17 15:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:58:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763895552001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:58:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272942023933952,"note":"Value kept but may cause issues"} 
[2026-04-17 15:58:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738319118050783232,"note":"Value kept but may cause issues"} 
[2026-04-17 15:58:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:58:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776421470000,"timestamp_ms":1776421470000,"timestamp_seconds":1776421470,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af87f30"} 
[2026-04-17 15:58:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:58: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-04-17 15:58:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 15:58:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:58:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:58:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:58:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:58:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:58:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:58:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46215,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:58:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:58:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:58:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:58:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763895552001,"66":12504,"105":206,"83":41984,"24":1,"16":113272942023933952,"45":1738319118050783232},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:58:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:58:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:58:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763895552001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:58:03] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:58:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:58:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272942023933952,"km_value":113272942023933.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:58:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738319118050783232,"description":"Unknown IO ID 45"} 
[2026-04-17 15:58:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763895552001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738319118050783232}} 
[2026-04-17 15:58:03] local.INFO: DEBUG: GPS processor result {"connection_id":46215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:58:03] local.INFO: GPS data processed {"connection_id":46215,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:58:03] local.INFO: Acknowledgment sent {"connection_id":46215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:58:22] local.INFO: TCP Data received {"connection_id":45892,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:58:22] local.INFO: Processing buffer {"connection_id":45892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:58:22] local.INFO: IMEI packet received {"connection_id":45892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":45892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:58:27] local.INFO: TCP Data received {"connection_id":45892,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:58:27] local.INFO: Processing buffer {"connection_id":45892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:58:27] local.INFO: IMEI packet received {"connection_id":45892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":45892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:58:27] local.INFO: TCP Data received {"connection_id":45892,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af8d138012d181ec00721af30004c00cb2a..."} 
[2026-04-17 15:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af8d138012d181ec00721af30004c00cb2a..."} 
[2026-04-17 15:58:27] local.INFO: Processing buffer {"connection_id":45892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af8d138012d181ec00721af30004c00cb2a..."} 
[2026-04-17 15:58:27] local.INFO: Packet analysis {"connection_id":45892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af8"} 
[2026-04-17 15:58:27] local.INFO: Extracted packet for processing {"connection_id":45892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af8"} 
[2026-04-17 15:58:27] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648048,"longitude_deg":75.6555456,"latitude_deg":11.9648048,"altitude":76,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-04-17 15:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763896320001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272946318901248,"note":"Value kept but may cause issues"} 
[2026-04-17 15:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380562378752,"note":"Value kept but may cause issues"} 
[2026-04-17 15:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421491000,"timestamp_ms":1776421491000,"timestamp_seconds":1776421491,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af8d138"} 
[2026-04-17 15:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 15:58: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-04-17 15:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763896320001,"66":12461,"105":206,"83":41984,"24":0,"16":113272946318901248,"45":1738178380562378752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763896320001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:58:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:58:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272946318901248,"km_value":113272946318901.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380562378752,"description":"Unknown IO ID 45"} 
[2026-04-17 15:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763896320001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380562378752}} 
[2026-04-17 15:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":45892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:58:27] local.INFO: GPS data processed {"connection_id":45892,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:58:27] local.INFO: Acknowledgment sent {"connection_id":45892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:58:29] local.INFO: TCP Data received {"connection_id":46741,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 15:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46741,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 15:58:29] local.INFO: Processing buffer {"connection_id":46741,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 15:58:29] local.INFO: Packet analysis {"connection_id":46741,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 15:58:29] local.INFO: Extracted packet for processing {"connection_id":46741,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 15:58:29] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763857664001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776421620000,"timestamp_ms":1776421620000,"timestamp_seconds":1776421620,"priority":1,"record_length":96,"hex_timestamp":"0000019d9afac920"} 
[2026-04-17 15:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:58:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:58:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46741,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46741,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:58: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-04-17 15:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763857664001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763857664001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:58:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:58:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763857664001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":46741,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22026,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:58:29] local.INFO: GPS data processed {"connection_id":46741,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:58:29] local.INFO: Acknowledgment sent {"connection_id":46741,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:58:34] local.INFO: TCP Data received {"connection_id":46216,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:58:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:58:34] local.INFO: Processing buffer {"connection_id":46216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:58:34] local.INFO: IMEI packet received {"connection_id":46216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 15:58:34] local.INFO: IMEI acknowledgment sent {"connection_id":46216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:58:50] local.INFO: TCP Data received {"connection_id":46217,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:58:50] local.INFO: Processing buffer {"connection_id":46217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:58:50] local.INFO: IMEI packet received {"connection_id":46217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":46217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:58:55] local.INFO: TCP Data received {"connection_id":46217,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46217,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:58:55] local.INFO: Processing buffer {"connection_id":46217,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:58:55] local.INFO: IMEI packet received {"connection_id":46217,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 15:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":46217,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:58:56] local.INFO: TCP Data received {"connection_id":46217,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 15:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 15:58:56] local.INFO: Processing buffer {"connection_id":46217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 15:58:56] local.INFO: Packet analysis {"connection_id":46217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 15:58:56] local.INFO: Extracted packet for processing {"connection_id":46217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 15:58:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 15:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763857664001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776421620000,"timestamp_ms":1776421620000,"timestamp_seconds":1776421620,"priority":1,"record_length":96,"hex_timestamp":"0000019d9afac920"} 
[2026-04-17 15:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 15:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763857664001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763857664001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:58:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:58:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763857664001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":46217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22027,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:58:56] local.INFO: GPS data processed {"connection_id":46217,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:58:56] local.INFO: Acknowledgment sent {"connection_id":46217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:58:58] local.INFO: TCP Data received {"connection_id":45892,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af92340012d181ec00721af30004c00cb2b..."} 
[2026-04-17 15:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af92340012d181ec00721af30004c00cb2b..."} 
[2026-04-17 15:58:58] local.INFO: Processing buffer {"connection_id":45892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af92340012d181ec00721af30004c00cb2b..."} 
[2026-04-17 15:58:58] local.INFO: Packet analysis {"connection_id":45892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af9"} 
[2026-04-17 15:58:58] local.INFO: Extracted packet for processing {"connection_id":45892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af9"} 
[2026-04-17 15:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648048,"longitude_deg":75.6555456,"latitude_deg":11.9648048,"altitude":76,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763901696001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272946318901248,"note":"Value kept but may cause issues"} 
[2026-04-17 15:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074023424,"note":"Value kept but may cause issues"} 
[2026-04-17 15:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776421512000,"timestamp_ms":1776421512000,"timestamp_seconds":1776421512,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af92340"} 
[2026-04-17 15:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:58: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-04-17 15: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 15:58: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-04-17 15: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-04-17 15:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763901696001,"66":12504,"105":206,"83":41984,"24":0,"16":113272946318901248,"45":1738037643074023424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763901696001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:58:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:58:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272946318901248,"km_value":113272946318901.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074023424,"description":"Unknown IO ID 45"} 
[2026-04-17 15:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763901696001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074023424}} 
[2026-04-17 15:58:58] local.INFO: DEBUG: GPS processor result {"connection_id":45892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:58:58] local.INFO: GPS data processed {"connection_id":45892,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:58:58] local.INFO: Acknowledgment sent {"connection_id":45892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:59:04] local.INFO: TCP Data received {"connection_id":45893,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45893,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:59:04] local.INFO: Processing buffer {"connection_id":45893,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 15:59:04] local.INFO: IMEI packet received {"connection_id":45893,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 15:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":45893,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:59:19] local.INFO: TCP Data received {"connection_id":45987,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:59:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:59:19] local.INFO: Processing buffer {"connection_id":45987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:59:19] local.INFO: IMEI packet received {"connection_id":45987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 15:59:19] local.INFO: IMEI acknowledgment sent {"connection_id":45987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:59:21] local.INFO: TCP Data received {"connection_id":45987,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:59:21] local.INFO: Processing buffer {"connection_id":45987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:59:21] local.INFO: IMEI packet received {"connection_id":45987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":45987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:59:27] local.INFO: TCP Data received {"connection_id":45987,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45987,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:59:27] local.INFO: Processing buffer {"connection_id":45987,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 15:59:27] local.INFO: IMEI packet received {"connection_id":45987,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 15:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":45987,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 15:59:27] local.INFO: TCP Data received {"connection_id":46217,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 15:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 15:59:27] local.INFO: Processing buffer {"connection_id":46217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 15:59:27] local.INFO: Packet analysis {"connection_id":46217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 15:59:27] local.INFO: Extracted packet for processing {"connection_id":46217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 15:59:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763857664001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 15:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 15:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421620000,"timestamp_ms":1776421620000,"timestamp_seconds":1776421620,"priority":1,"record_length":96,"hex_timestamp":"0000019d9afac920"} 
[2026-04-17 15:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 15:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 15:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46217,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 15:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 15:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 15:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763857664001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 15:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 15:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 15:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763857664001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:59:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 15:59:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 15:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 15:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763857664001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 15:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":46217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22029,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:59:27] local.INFO: GPS data processed {"connection_id":46217,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:59:27] local.INFO: Acknowledgment sent {"connection_id":46217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:59:27] local.INFO: TCP Data received {"connection_id":45987,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af97548012d181ec00721af30004c00cb2b..."} 
[2026-04-17 15:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af97548012d181ec00721af30004c00cb2b..."} 
[2026-04-17 15:59:27] local.INFO: Processing buffer {"connection_id":45987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af97548012d181ec00721af30004c00cb2b..."} 
[2026-04-17 15:59:27] local.INFO: Packet analysis {"connection_id":45987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af9"} 
[2026-04-17 15:59:27] local.INFO: Extracted packet for processing {"connection_id":45987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af9"} 
[2026-04-17 15:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648048,"longitude_deg":75.6555456,"latitude_deg":11.9648048,"altitude":76,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763907072001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272946318901248,"note":"Value kept but may cause issues"} 
[2026-04-17 15:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074023424,"note":"Value kept but may cause issues"} 
[2026-04-17 15:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421533000,"timestamp_ms":1776421533000,"timestamp_seconds":1776421533,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af97548"} 
[2026-04-17 15:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15360,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 15: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":216,"data_length":795,"current_offset":136} 
[2026-04-17 15:59: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-04-17 15: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-04-17 15:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763907072001,"66":12504,"105":206,"83":41984,"24":0,"16":113272946318901248,"45":1738037643074023424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763907072001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:59:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:59:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272946318901248,"km_value":113272946318901.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074023424,"description":"Unknown IO ID 45"} 
[2026-04-17 15:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763907072001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074023424}} 
[2026-04-17 15:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":45987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:59:28] local.INFO: GPS data processed {"connection_id":45987,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:59:28] local.INFO: Acknowledgment sent {"connection_id":45987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 15:59:55] local.INFO: TCP Data received {"connection_id":45988,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:59:55] local.INFO: Processing buffer {"connection_id":45988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 15:59:55] local.INFO: IMEI packet received {"connection_id":45988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 15:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":45988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 15:59:58] local.INFO: TCP Data received {"connection_id":45987,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9af9c750012d181ec00721af30004c00cb2b..."} 
[2026-04-17 15:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9af9c750012d181ec00721af30004c00cb2b..."} 
[2026-04-17 15:59:58] local.INFO: Processing buffer {"connection_id":45987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9af9c750012d181ec00721af30004c00cb2b..."} 
[2026-04-17 15:59:58] local.INFO: Packet analysis {"connection_id":45987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9af9"} 
[2026-04-17 15:59:58] local.INFO: Extracted packet for processing {"connection_id":45987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9af9"} 
[2026-04-17 15:59:58] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648048,"longitude_deg":75.6555456,"latitude_deg":11.9648048,"altitude":76,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-04-17 15: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-04-17 15:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763912448001,"note":"Value kept but may cause issues"} 
[2026-04-17 15:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272946318901248,"note":"Value kept but may cause issues"} 
[2026-04-17 15:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074023424,"note":"Value kept but may cause issues"} 
[2026-04-17 15:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 15:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776421554000,"timestamp_ms":1776421554000,"timestamp_seconds":1776421554,"priority":1,"record_length":96,"hex_timestamp":"0000019d9af9c750"} 
[2026-04-17 15:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 15:59: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-04-17 15: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 15:59:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 15: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-04-17 15:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 15:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 15:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 15:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45987,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 15:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 15:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 15:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 15:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763912448001,"66":12504,"105":206,"83":41984,"24":0,"16":113272946318901248,"45":1738037643074023424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 15:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 15:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 15:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763912448001,"description":"Unknown IO ID 0"} 
[2026-04-17 15:59:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 15:59:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 15:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272946318901248,"km_value":113272946318901.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 15:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074023424,"description":"Unknown IO ID 45"} 
[2026-04-17 15:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763912448001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074023424}} 
[2026-04-17 15:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":45987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22031,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 15:59:58] local.INFO: GPS data processed {"connection_id":45987,"processed":1,"errors":0,"total":1} 
[2026-04-17 15:59:58] local.INFO: Acknowledgment sent {"connection_id":45987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:00:00] local.INFO: TCP Data received {"connection_id":45988,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45988,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:00:00] local.INFO: Processing buffer {"connection_id":45988,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:00:00] local.INFO: IMEI packet received {"connection_id":45988,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":45988,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:00:01] local.INFO: TCP Data received {"connection_id":45988,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 16:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 16:00:01] local.INFO: Processing buffer {"connection_id":45988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 16:00:01] local.INFO: Packet analysis {"connection_id":45988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 16:00:01] local.INFO: Extracted packet for processing {"connection_id":45988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 16:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 16:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763857664001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776421620000,"timestamp_ms":1776421620000,"timestamp_seconds":1776421620,"priority":1,"record_length":96,"hex_timestamp":"0000019d9afac920"} 
[2026-04-17 16:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 16:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:00: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-04-17 16:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763857664001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763857664001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:00:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763857664001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":45988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22032,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:00:01] local.INFO: GPS data processed {"connection_id":45988,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:00:01] local.INFO: Acknowledgment sent {"connection_id":45988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:00:06] local.INFO: TCP Data received {"connection_id":45988,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 16:00:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 16:00:06] local.INFO: Processing buffer {"connection_id":45988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 16:00:06] local.INFO: Packet analysis {"connection_id":45988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 16:00:06] local.INFO: Extracted packet for processing {"connection_id":45988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:00:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763857664001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:00:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:00:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:00:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:00:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776421620000,"timestamp_ms":1776421620000,"timestamp_seconds":1776421620,"priority":1,"record_length":96,"hex_timestamp":"0000019d9afac920"} 
[2026-04-17 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-04-17 16:00:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 16:00:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 16:00:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:00:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:00:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:00:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45988,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:00: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-04-17 16:00:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:00:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:00:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763857664001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:00:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:00:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:00:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763857664001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:00:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:00:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:00:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:00:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:00:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763857664001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:00:06] local.INFO: DEBUG: GPS processor result {"connection_id":45988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:00:06] local.INFO: GPS data processed {"connection_id":45988,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:00:06] local.INFO: Acknowledgment sent {"connection_id":45988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:00:22] local.INFO: TCP Data received {"connection_id":45990,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:00:22] local.INFO: Processing buffer {"connection_id":45990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:00:22] local.INFO: IMEI packet received {"connection_id":45990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":45990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:00:22] local.INFO: TCP Data received {"connection_id":45990,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:00:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:00:22] local.INFO: Processing buffer {"connection_id":45990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:00:22] local.INFO: IMEI packet received {"connection_id":45990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:00:22] local.INFO: IMEI acknowledgment sent {"connection_id":45990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:00:27] local.INFO: TCP Data received {"connection_id":45990,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45990,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:00:27] local.INFO: Processing buffer {"connection_id":45990,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:00:27] local.INFO: IMEI packet received {"connection_id":45990,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:00:27] local.INFO: IMEI acknowledgment sent {"connection_id":45990,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:00:27] local.INFO: TCP Data received {"connection_id":45990,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9afa1958012d181ec00721af30004c00cb2a..."} 
[2026-04-17 16:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9afa1958012d181ec00721af30004c00cb2a..."} 
[2026-04-17 16:00:27] local.INFO: Processing buffer {"connection_id":45990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9afa1958012d181ec00721af30004c00cb2a..."} 
[2026-04-17 16:00:27] local.INFO: Packet analysis {"connection_id":45990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 16:00:27] local.INFO: Extracted packet for processing {"connection_id":45990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 16:00:27] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648048,"longitude_deg":75.6555456,"latitude_deg":11.9648048,"altitude":76,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-04-17 16:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763917824001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272946318901248,"note":"Value kept but may cause issues"} 
[2026-04-17 16:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074023424,"note":"Value kept but may cause issues"} 
[2026-04-17 16:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421575000,"timestamp_ms":1776421575000,"timestamp_seconds":1776421575,"priority":1,"record_length":96,"hex_timestamp":"0000019d9afa1958"} 
[2026-04-17 16:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:00:27] 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-04-17 16:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 16:00: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-04-17 16:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763917824001,"66":12504,"105":206,"83":41984,"24":0,"16":113272946318901248,"45":1738037643074023424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763917824001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:00:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:00:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272946318901248,"km_value":113272946318901.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074023424,"description":"Unknown IO ID 45"} 
[2026-04-17 16:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763917824001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074023424}} 
[2026-04-17 16:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":45990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:00:27] local.INFO: GPS data processed {"connection_id":45990,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:00:27] local.INFO: Acknowledgment sent {"connection_id":45990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:00:50] local.INFO: TCP Data received {"connection_id":45894,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:00:50] local.INFO: Processing buffer {"connection_id":45894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:00:50] local.INFO: IMEI packet received {"connection_id":45894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":45894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:00:55] local.INFO: TCP Data received {"connection_id":45894,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:00:55] local.INFO: Processing buffer {"connection_id":45894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:00:55] local.INFO: IMEI packet received {"connection_id":45894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":45894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:00:56] local.INFO: TCP Data received {"connection_id":45894,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 16:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 16:00:56] local.INFO: Processing buffer {"connection_id":45894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 16:00:56] local.INFO: Packet analysis {"connection_id":45894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 16:00:56] local.INFO: Extracted packet for processing {"connection_id":45894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 16:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763857664001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776421620000,"timestamp_ms":1776421620000,"timestamp_seconds":1776421620,"priority":1,"record_length":96,"hex_timestamp":"0000019d9afac920"} 
[2026-04-17 16:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 16:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:00:56] 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-04-17 16:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763857664001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763857664001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:00:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763857664001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:00:57] local.INFO: DEBUG: GPS processor result {"connection_id":45894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:00:57] local.INFO: GPS data processed {"connection_id":45894,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:00:57] local.INFO: Acknowledgment sent {"connection_id":45894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:00:58] local.INFO: TCP Data received {"connection_id":45990,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9afa6b60012d181ec00721af30004c00cb29..."} 
[2026-04-17 16:00:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45990,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9afa6b60012d181ec00721af30004c00cb29..."} 
[2026-04-17 16:00:58] local.INFO: Processing buffer {"connection_id":45990,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9afa6b60012d181ec00721af30004c00cb29..."} 
[2026-04-17 16:00:58] local.INFO: Packet analysis {"connection_id":45990,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 16:00:58] local.INFO: Extracted packet for processing {"connection_id":45990,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 16:00:58] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648048,"longitude_deg":75.6555456,"latitude_deg":11.9648048,"altitude":76,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:00:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763923200001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:00:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272946318901248,"note":"Value kept but may cause issues"} 
[2026-04-17 16:00:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074023424,"note":"Value kept but may cause issues"} 
[2026-04-17 16:00:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:00:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776421596000,"timestamp_ms":1776421596000,"timestamp_seconds":1776421596,"priority":1,"record_length":96,"hex_timestamp":"0000019d9afa6b60"} 
[2026-04-17 16:00:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:00: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-04-17 16: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 16:00:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:00:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:00:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:00:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45990,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:00:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:00:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45990,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:00:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:00:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:00:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:00:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763923200001,"66":12504,"105":206,"83":41984,"24":0,"16":113272946318901248,"45":1738037643074023424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:00:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:00:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:00:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763923200001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:00:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:00:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:00:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272946318901248,"km_value":113272946318901.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:00:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074023424,"description":"Unknown IO ID 45"} 
[2026-04-17 16:00:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763923200001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074023424}} 
[2026-04-17 16:00:58] local.INFO: DEBUG: GPS processor result {"connection_id":45990,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:00:58] local.INFO: GPS data processed {"connection_id":45990,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:00:58] local.INFO: Acknowledgment sent {"connection_id":45990,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:01:22] local.INFO: TCP Data received {"connection_id":45895,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:01:22] local.INFO: Processing buffer {"connection_id":45895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:01:22] local.INFO: IMEI packet received {"connection_id":45895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":45895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:01:26] local.INFO: TCP Data received {"connection_id":45895,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:01:26] local.INFO: Processing buffer {"connection_id":45895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:01:26] local.INFO: IMEI packet received {"connection_id":45895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":45895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:01:26] local.INFO: TCP Data received {"connection_id":45895,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9afabd68012d181ec00721af30004c00cb2b..."} 
[2026-04-17 16:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9afabd68012d181ec00721af30004c00cb2b..."} 
[2026-04-17 16:01:26] local.INFO: Processing buffer {"connection_id":45895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9afabd68012d181ec00721af30004c00cb2b..."} 
[2026-04-17 16:01:26] local.INFO: Packet analysis {"connection_id":45895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 16:01:26] local.INFO: Extracted packet for processing {"connection_id":45895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 16:01:26] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648048,"longitude_deg":75.6555456,"latitude_deg":11.9648048,"altitude":76,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-04-17 16:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763928576001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272946318901248,"note":"Value kept but may cause issues"} 
[2026-04-17 16:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074023424,"note":"Value kept but may cause issues"} 
[2026-04-17 16:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776421617000,"timestamp_ms":1776421617000,"timestamp_seconds":1776421617,"priority":1,"record_length":96,"hex_timestamp":"0000019d9afabd68"} 
[2026-04-17 16:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:01:26] 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-04-17 16:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 16:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763928576001,"66":12461,"105":206,"83":41984,"24":0,"16":113272946318901248,"45":1738037643074023424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763928576001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:01:26] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:01:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272946318901248,"km_value":113272946318901.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074023424,"description":"Unknown IO ID 45"} 
[2026-04-17 16:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763928576001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074023424}} 
[2026-04-17 16:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":45895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22037,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:01:27] local.INFO: GPS data processed {"connection_id":45895,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:01:27] local.INFO: Acknowledgment sent {"connection_id":45895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:01:28] local.INFO: TCP Data received {"connection_id":45894,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 16:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 16:01:28] local.INFO: Processing buffer {"connection_id":45894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 16:01:28] local.INFO: Packet analysis {"connection_id":45894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 16:01:28] local.INFO: Extracted packet for processing {"connection_id":45894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 16:01:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 16:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763857664001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776421620000,"timestamp_ms":1776421620000,"timestamp_seconds":1776421620,"priority":1,"record_length":96,"hex_timestamp":"0000019d9afac920"} 
[2026-04-17 16:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 16:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:01:28] 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-04-17 16:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763857664001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763857664001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:01:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:01:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763857664001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":45894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:01:28] local.INFO: GPS data processed {"connection_id":45894,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:01:28] local.INFO: Acknowledgment sent {"connection_id":45894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:01:50] local.INFO: TCP Data received {"connection_id":46742,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:01:50] local.INFO: Processing buffer {"connection_id":46742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:01:50] local.INFO: IMEI packet received {"connection_id":46742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":46742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:01:55] local.INFO: TCP Data received {"connection_id":46742,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46742,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:01:55] local.INFO: Processing buffer {"connection_id":46742,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:01:55] local.INFO: IMEI packet received {"connection_id":46742,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":46742,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:01:56] local.INFO: TCP Data received {"connection_id":46742,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 16:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 16:01:56] local.INFO: Processing buffer {"connection_id":46742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 16:01:56] local.INFO: Packet analysis {"connection_id":46742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 16:01:56] local.INFO: Extracted packet for processing {"connection_id":46742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 16:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 16:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763857664001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776421620000,"timestamp_ms":1776421620000,"timestamp_seconds":1776421620,"priority":1,"record_length":96,"hex_timestamp":"0000019d9afac920"} 
[2026-04-17 16:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 16:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763857664001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763857664001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:01:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763857664001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":46742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22039,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:01:56] local.INFO: GPS data processed {"connection_id":46742,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:01:56] local.INFO: Acknowledgment sent {"connection_id":46742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:01:57] local.INFO: TCP Data received {"connection_id":45895,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9afb0f70012d181ec00721af30004c00cb2a..."} 
[2026-04-17 16:01:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9afb0f70012d181ec00721af30004c00cb2a..."} 
[2026-04-17 16:01:57] local.INFO: Processing buffer {"connection_id":45895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9afb0f70012d181ec00721af30004c00cb2a..."} 
[2026-04-17 16:01:57] local.INFO: Packet analysis {"connection_id":45895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9afb"} 
[2026-04-17 16:01:57] local.INFO: Extracted packet for processing {"connection_id":45895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9afb"} 
[2026-04-17 16:01:57] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648048,"longitude_deg":75.6555456,"latitude_deg":11.9648048,"altitude":76,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:01:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763933952001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:01:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272946318901248,"note":"Value kept but may cause issues"} 
[2026-04-17 16:01:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074023424,"note":"Value kept but may cause issues"} 
[2026-04-17 16:01:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:01:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776421638000,"timestamp_ms":1776421638000,"timestamp_seconds":1776421638,"priority":1,"record_length":96,"hex_timestamp":"0000019d9afb0f70"} 
[2026-04-17 16:01:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:01: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-04-17 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 16:01:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:01:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:01:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:01:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:01:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:01:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:01:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:01:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:01:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:01:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763933952001,"66":12504,"105":206,"83":41984,"24":0,"16":113272946318901248,"45":1738037643074023424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:01:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:01:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:01:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763933952001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:01:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:01:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:01:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272946318901248,"km_value":113272946318901.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:01:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074023424,"description":"Unknown IO ID 45"} 
[2026-04-17 16:01:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763933952001,"power":12504,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074023424}} 
[2026-04-17 16:01:57] local.INFO: DEBUG: GPS processor result {"connection_id":45895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:01:57] local.INFO: GPS data processed {"connection_id":45895,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:01:57] local.INFO: Acknowledgment sent {"connection_id":45895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:02:21] local.INFO: TCP Data received {"connection_id":46743,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:02:21] local.INFO: Processing buffer {"connection_id":46743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:02:21] local.INFO: IMEI packet received {"connection_id":46743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":46743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:02:27] local.INFO: TCP Data received {"connection_id":46743,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46743,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:02:27] local.INFO: Processing buffer {"connection_id":46743,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:02:27] local.INFO: IMEI packet received {"connection_id":46743,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:02:27] local.INFO: IMEI acknowledgment sent {"connection_id":46743,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:02:27] local.INFO: TCP Data received {"connection_id":46743,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9afb6178012d181ec00721af30004c00cb29..."} 
[2026-04-17 16:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9afb6178012d181ec00721af30004c00cb29..."} 
[2026-04-17 16:02:27] local.INFO: Processing buffer {"connection_id":46743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9afb6178012d181ec00721af30004c00cb29..."} 
[2026-04-17 16:02:27] local.INFO: Packet analysis {"connection_id":46743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9afb"} 
[2026-04-17 16:02:27] local.INFO: Extracted packet for processing {"connection_id":46743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9afb"} 
[2026-04-17 16:02:27] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648048,"longitude_deg":75.6555456,"latitude_deg":11.9648048,"altitude":76,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-04-17 16:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763939328001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272946318901248,"note":"Value kept but may cause issues"} 
[2026-04-17 16:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074023424,"note":"Value kept but may cause issues"} 
[2026-04-17 16:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421659000,"timestamp_ms":1776421659000,"timestamp_seconds":1776421659,"priority":1,"record_length":96,"hex_timestamp":"0000019d9afb6178"} 
[2026-04-17 16:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:02:27] 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-04-17 16:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 16:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763939328001,"66":12439,"105":206,"83":41984,"24":0,"16":113272946318901248,"45":1738037643074023424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763939328001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:02:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:02:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272946318901248,"km_value":113272946318901.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074023424,"description":"Unknown IO ID 45"} 
[2026-04-17 16:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763939328001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074023424}} 
[2026-04-17 16:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":46743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22041,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:02:28] local.INFO: GPS data processed {"connection_id":46743,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:02:28] local.INFO: Acknowledgment sent {"connection_id":46743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:02:28] local.INFO: TCP Data received {"connection_id":46742,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 16:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46742,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 16:02:28] local.INFO: Processing buffer {"connection_id":46742,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9afac920012d7faa8005afd2f8000d00002f..."} 
[2026-04-17 16:02:28] local.INFO: Packet analysis {"connection_id":46742,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 16:02:28] local.INFO: Extracted packet for processing {"connection_id":46742,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9afa"} 
[2026-04-17 16:02:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":13,"angle":0,"satellites":47,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763857664001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776421620000,"timestamp_ms":1776421620000,"timestamp_seconds":1776421620,"priority":1,"record_length":96,"hex_timestamp":"0000019d9afac920"} 
[2026-04-17 16:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 16:02:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46742,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46742,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763857664001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763857664001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:02:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:02:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763857664001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":46742,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22042,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:02:28] local.INFO: GPS data processed {"connection_id":46742,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:02:28] local.INFO: Acknowledgment sent {"connection_id":46742,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:02:50] local.INFO: TCP Data received {"connection_id":45896,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:02:50] local.INFO: Processing buffer {"connection_id":45896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:02:50] local.INFO: IMEI packet received {"connection_id":45896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":45896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:02:55] local.INFO: TCP Data received {"connection_id":45896,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45896,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:02:55] local.INFO: Processing buffer {"connection_id":45896,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:02:55] local.INFO: IMEI packet received {"connection_id":45896,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":45896,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:02:56] local.INFO: TCP Data received {"connection_id":45896,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:02:56] local.INFO: Processing buffer {"connection_id":45896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:02:56] local.INFO: Packet analysis {"connection_id":45896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:02:56] local.INFO: Extracted packet for processing {"connection_id":45896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:02:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 16:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763934720001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776421921000,"timestamp_ms":1776421921000,"timestamp_seconds":1776421921,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aff60e8"} 
[2026-04-17 16:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 16:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:02:56] 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-04-17 16:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763934720001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763934720001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:02:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:02:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763934720001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":45896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22043,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:02:56] local.INFO: GPS data processed {"connection_id":45896,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:02:56] local.INFO: Acknowledgment sent {"connection_id":45896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:02:58] local.INFO: TCP Data received {"connection_id":46743,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9afee7d0012d181ec00721af30004c00cb2a..."} 
[2026-04-17 16:02:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46743,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9afee7d0012d181ec00721af30004c00cb2a..."} 
[2026-04-17 16:02:58] local.INFO: Processing buffer {"connection_id":46743,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9afee7d0012d181ec00721af30004c00cb2a..."} 
[2026-04-17 16:02:58] local.INFO: Packet analysis {"connection_id":46743,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9afe"} 
[2026-04-17 16:02:58] local.INFO: Extracted packet for processing {"connection_id":46743,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9afe"} 
[2026-04-17 16:02:58] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648048,"longitude_deg":75.6555456,"latitude_deg":11.9648048,"altitude":76,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-04-17 16:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:02:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763998464001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:02:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272946318901248,"note":"Value kept but may cause issues"} 
[2026-04-17 16:02:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074023424,"note":"Value kept but may cause issues"} 
[2026-04-17 16:02:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:02:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776421890000,"timestamp_ms":1776421890000,"timestamp_seconds":1776421890,"priority":1,"record_length":96,"hex_timestamp":"0000019d9afee7d0"} 
[2026-04-17 16:02:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:02: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-04-17 16:02:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 16:02: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-04-17 16:02:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:02:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:02:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:02:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46743,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:02:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:02:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46743,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:02:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:02:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:02:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:02:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763998464001,"66":12461,"105":206,"83":41984,"24":0,"16":113272946318901248,"45":1738037643074023424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:02:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:02:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:02:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763998464001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:02:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:02:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:02:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272946318901248,"km_value":113272946318901.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:02:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074023424,"description":"Unknown IO ID 45"} 
[2026-04-17 16:02:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763998464001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074023424}} 
[2026-04-17 16:02:58] local.INFO: DEBUG: GPS processor result {"connection_id":46743,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22044,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:02:58] local.INFO: GPS data processed {"connection_id":46743,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:02:58] local.INFO: Acknowledgment sent {"connection_id":46743,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:03:21] local.INFO: TCP Data received {"connection_id":45992,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:03:21] local.INFO: Processing buffer {"connection_id":45992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:03:21] local.INFO: IMEI packet received {"connection_id":45992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":45992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:03:27] local.INFO: TCP Data received {"connection_id":45992,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45992,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:03:27] local.INFO: Processing buffer {"connection_id":45992,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:03:27] local.INFO: IMEI packet received {"connection_id":45992,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:03:27] local.INFO: IMEI acknowledgment sent {"connection_id":45992,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:03:27] local.INFO: TCP Data received {"connection_id":45992,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aff39d8012d181ec00721af30004c00cb2a..."} 
[2026-04-17 16:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aff39d8012d181ec00721af30004c00cb2a..."} 
[2026-04-17 16:03:27] local.INFO: Processing buffer {"connection_id":45992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aff39d8012d181ec00721af30004c00cb2a..."} 
[2026-04-17 16:03:27] local.INFO: Packet analysis {"connection_id":45992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:03:27] local.INFO: Extracted packet for processing {"connection_id":45992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:03:27] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648048,"longitude_deg":75.6555456,"latitude_deg":11.9648048,"altitude":76,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-04-17 16:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764003840001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272946318901248,"note":"Value kept but may cause issues"} 
[2026-04-17 16:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074023424,"note":"Value kept but may cause issues"} 
[2026-04-17 16:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421911000,"timestamp_ms":1776421911000,"timestamp_seconds":1776421911,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aff39d8"} 
[2026-04-17 16:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:03:27] 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-04-17 16:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 16:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764003840001,"66":12428,"105":206,"83":41984,"24":0,"16":113272946318901248,"45":1738037643074023424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764003840001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:03:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:03:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272946318901248,"km_value":113272946318901.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074023424,"description":"Unknown IO ID 45"} 
[2026-04-17 16:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764003840001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074023424}} 
[2026-04-17 16:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":45992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22045,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:03:27] local.INFO: GPS data processed {"connection_id":45992,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:03:27] local.INFO: Acknowledgment sent {"connection_id":45992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:03:28] local.INFO: TCP Data received {"connection_id":45896,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45896,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:03:28] local.INFO: Processing buffer {"connection_id":45896,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:03:28] local.INFO: Packet analysis {"connection_id":45896,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:03:28] local.INFO: Extracted packet for processing {"connection_id":45896,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:03:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 16:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763934720001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:03:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776421921000,"timestamp_ms":1776421921000,"timestamp_seconds":1776421921,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aff60e8"} 
[2026-04-17 16:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 16:03:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45896,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45896,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763934720001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763934720001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:03:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:03:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763934720001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":45896,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22046,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:03:28] local.INFO: GPS data processed {"connection_id":45896,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:03:28] local.INFO: Acknowledgment sent {"connection_id":45896,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:03:50] local.INFO: TCP Data received {"connection_id":46219,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:03:50] local.INFO: Processing buffer {"connection_id":46219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:03:50] local.INFO: IMEI packet received {"connection_id":46219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":46219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:03:55] local.INFO: TCP Data received {"connection_id":46219,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:03:55] local.INFO: Processing buffer {"connection_id":46219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:03:55] local.INFO: IMEI packet received {"connection_id":46219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":46219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:03:56] local.INFO: TCP Data received {"connection_id":46219,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:03:56] local.INFO: Processing buffer {"connection_id":46219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:03:56] local.INFO: Packet analysis {"connection_id":46219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:03:56] local.INFO: Extracted packet for processing {"connection_id":46219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:03:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763934720001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776421921000,"timestamp_ms":1776421921000,"timestamp_seconds":1776421921,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aff60e8"} 
[2026-04-17 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-04-17 16:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 16:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 16:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:03:56] 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-04-17 16:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763934720001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763934720001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:03:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:03:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763934720001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":46219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:03:56] local.INFO: GPS data processed {"connection_id":46219,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:03:56] local.INFO: Acknowledgment sent {"connection_id":46219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:03:58] local.INFO: TCP Data received {"connection_id":45992,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aff8be0012d181ec00721af30004c00cb29..."} 
[2026-04-17 16:03:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aff8be0012d181ec00721af30004c00cb29..."} 
[2026-04-17 16:03:58] local.INFO: Processing buffer {"connection_id":45992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aff8be0012d181ec00721af30004c00cb29..."} 
[2026-04-17 16:03:58] local.INFO: Packet analysis {"connection_id":45992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:03:58] local.INFO: Extracted packet for processing {"connection_id":45992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:03:58] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648048,"longitude_deg":75.6555456,"latitude_deg":11.9648048,"altitude":76,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-04-17 16:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:03:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764009216001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:03:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272946318901248,"note":"Value kept but may cause issues"} 
[2026-04-17 16:03:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074023424,"note":"Value kept but may cause issues"} 
[2026-04-17 16:03:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:03:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776421932000,"timestamp_ms":1776421932000,"timestamp_seconds":1776421932,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aff8be0"} 
[2026-04-17 16:03:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:03:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:03:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 16:03: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-04-17 16:03:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:03:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:03:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:03:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:03:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:03:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45992,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:03:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:03:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:03:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:03:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764009216001,"66":12461,"105":206,"83":41984,"24":0,"16":113272946318901248,"45":1738037643074023424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:03:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:03:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:03:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764009216001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:03:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:03:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:03:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272946318901248,"km_value":113272946318901.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:03:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074023424,"description":"Unknown IO ID 45"} 
[2026-04-17 16:03:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764009216001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074023424}} 
[2026-04-17 16:03:58] local.INFO: DEBUG: GPS processor result {"connection_id":45992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:03:58] local.INFO: GPS data processed {"connection_id":45992,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:03:58] local.INFO: Acknowledgment sent {"connection_id":45992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:04:21] local.INFO: TCP Data received {"connection_id":46745,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:04:21] local.INFO: Processing buffer {"connection_id":46745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:04:21] local.INFO: IMEI packet received {"connection_id":46745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":46745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:04:27] local.INFO: TCP Data received {"connection_id":46745,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46745,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:04:27] local.INFO: Processing buffer {"connection_id":46745,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:04:27] local.INFO: IMEI packet received {"connection_id":46745,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:04:27] local.INFO: IMEI acknowledgment sent {"connection_id":46745,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:04:27] local.INFO: TCP Data received {"connection_id":46745,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9affdde8012d181ec00721af30004c00cb2a..."} 
[2026-04-17 16:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9affdde8012d181ec00721af30004c00cb2a..."} 
[2026-04-17 16:04:27] local.INFO: Processing buffer {"connection_id":46745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9affdde8012d181ec00721af30004c00cb2a..."} 
[2026-04-17 16:04:27] local.INFO: Packet analysis {"connection_id":46745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:04:27] local.INFO: Extracted packet for processing {"connection_id":46745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:04:27] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648048,"longitude_deg":75.6555456,"latitude_deg":11.9648048,"altitude":76,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-04-17 16:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764014592001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272946318901248,"note":"Value kept but may cause issues"} 
[2026-04-17 16:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074023424,"note":"Value kept but may cause issues"} 
[2026-04-17 16:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421953000,"timestamp_ms":1776421953000,"timestamp_seconds":1776421953,"priority":1,"record_length":96,"hex_timestamp":"0000019d9affdde8"} 
[2026-04-17 16:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:04: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-04-17 16:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 16:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764014592001,"66":12461,"105":206,"83":41984,"24":0,"16":113272946318901248,"45":1738037643074023424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764014592001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:04:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:04:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272946318901248,"km_value":113272946318901.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074023424,"description":"Unknown IO ID 45"} 
[2026-04-17 16:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764014592001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074023424}} 
[2026-04-17 16:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":46745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:04:27] local.INFO: GPS data processed {"connection_id":46745,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:04:27] local.INFO: Acknowledgment sent {"connection_id":46745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:04:28] local.INFO: TCP Data received {"connection_id":46219,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:04:28] local.INFO: Processing buffer {"connection_id":46219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:04:28] local.INFO: Packet analysis {"connection_id":46219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:04:28] local.INFO: Extracted packet for processing {"connection_id":46219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:04:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763934720001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776421921000,"timestamp_ms":1776421921000,"timestamp_seconds":1776421921,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aff60e8"} 
[2026-04-17 16:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 16:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:04:28] 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-04-17 16:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763934720001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763934720001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:04:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:04:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763934720001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":46219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:04:28] local.INFO: GPS data processed {"connection_id":46219,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:04:28] local.INFO: Acknowledgment sent {"connection_id":46219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:04:29] local.INFO: TCP Data received {"connection_id":45897,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:04:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:04:29] local.INFO: Processing buffer {"connection_id":45897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:04:29] local.INFO: IMEI packet received {"connection_id":45897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:04:29] local.INFO: IMEI acknowledgment sent {"connection_id":45897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:04:50] local.INFO: TCP Data received {"connection_id":45993,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:04:50] local.INFO: Processing buffer {"connection_id":45993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:04:50] local.INFO: IMEI packet received {"connection_id":45993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":45993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:04:55] local.INFO: TCP Data received {"connection_id":45993,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:04:55] local.INFO: Processing buffer {"connection_id":45993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:04:55] local.INFO: IMEI packet received {"connection_id":45993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":45993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:04:56] local.INFO: TCP Data received {"connection_id":45993,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:04:56] local.INFO: Processing buffer {"connection_id":45993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:04:56] local.INFO: Packet analysis {"connection_id":45993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:04:56] local.INFO: Extracted packet for processing {"connection_id":45993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:04:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763934720001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776421921000,"timestamp_ms":1776421921000,"timestamp_seconds":1776421921,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aff60e8"} 
[2026-04-17 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-04-17 16:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 16:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 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-04-17 16:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763934720001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763934720001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:04:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:04:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763934720001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":45993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:04:56] local.INFO: GPS data processed {"connection_id":45993,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:04:56] local.INFO: Acknowledgment sent {"connection_id":45993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:04:58] local.INFO: TCP Data received {"connection_id":46745,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b002ff0012d181ec00721af30004c00cb29..."} 
[2026-04-17 16:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46745,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b002ff0012d181ec00721af30004c00cb29..."} 
[2026-04-17 16:04:58] local.INFO: Processing buffer {"connection_id":46745,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b002ff0012d181ec00721af30004c00cb29..."} 
[2026-04-17 16:04:58] local.INFO: Packet analysis {"connection_id":46745,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b00"} 
[2026-04-17 16:04:58] local.INFO: Extracted packet for processing {"connection_id":46745,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b00"} 
[2026-04-17 16:04:58] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648048,"longitude_deg":75.6555456,"latitude_deg":11.9648048,"altitude":76,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-04-17 16:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764019968001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272946318901248,"note":"Value kept but may cause issues"} 
[2026-04-17 16:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074023424,"note":"Value kept but may cause issues"} 
[2026-04-17 16:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776421974000,"timestamp_ms":1776421974000,"timestamp_seconds":1776421974,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b002ff0"} 
[2026-04-17 16:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:04:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 16:04: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-04-17 16:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46745,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46745,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764019968001,"66":12461,"105":206,"83":41984,"24":0,"16":113272946318901248,"45":1738037643074023424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764019968001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:04:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:04:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272946318901248,"km_value":113272946318901.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074023424,"description":"Unknown IO ID 45"} 
[2026-04-17 16:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764019968001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074023424}} 
[2026-04-17 16:04:58] local.INFO: DEBUG: GPS processor result {"connection_id":46745,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:04:58] local.INFO: GPS data processed {"connection_id":46745,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:04:58] local.INFO: Acknowledgment sent {"connection_id":46745,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:05:04] local.INFO: TCP Data received {"connection_id":46220,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:05:04] local.INFO: Processing buffer {"connection_id":46220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:05:04] local.INFO: IMEI packet received {"connection_id":46220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:05:04] local.INFO: IMEI acknowledgment sent {"connection_id":46220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:05:21] local.INFO: TCP Data received {"connection_id":46221,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:05:21] local.INFO: Processing buffer {"connection_id":46221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:05:21] local.INFO: IMEI packet received {"connection_id":46221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":46221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:05:27] local.INFO: TCP Data received {"connection_id":46221,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46221,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:05:27] local.INFO: Processing buffer {"connection_id":46221,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:05:27] local.INFO: IMEI packet received {"connection_id":46221,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:05:27] local.INFO: IMEI acknowledgment sent {"connection_id":46221,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:05:27] local.INFO: TCP Data received {"connection_id":45993,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:05:27] local.INFO: Processing buffer {"connection_id":45993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:05:27] local.INFO: Packet analysis {"connection_id":45993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:05:27] local.INFO: Extracted packet for processing {"connection_id":45993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 16:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763934720001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421921000,"timestamp_ms":1776421921000,"timestamp_seconds":1776421921,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aff60e8"} 
[2026-04-17 16:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 16:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763934720001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763934720001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:05:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:05:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763934720001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":45993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:05:28] local.INFO: GPS data processed {"connection_id":45993,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:05:28] local.INFO: Acknowledgment sent {"connection_id":45993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:05:28] local.INFO: TCP Data received {"connection_id":46221,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0081f8012d181ec00721af30004c00cb29..."} 
[2026-04-17 16:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0081f8012d181ec00721af30004c00cb29..."} 
[2026-04-17 16:05:28] local.INFO: Processing buffer {"connection_id":46221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0081f8012d181ec00721af30004c00cb29..."} 
[2026-04-17 16:05:28] local.INFO: Packet analysis {"connection_id":46221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b00"} 
[2026-04-17 16:05:28] local.INFO: Extracted packet for processing {"connection_id":46221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b00"} 
[2026-04-17 16:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648048,"longitude_deg":75.6555456,"latitude_deg":11.9648048,"altitude":76,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764025344001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272946318901248,"note":"Value kept but may cause issues"} 
[2026-04-17 16:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074023424,"note":"Value kept but may cause issues"} 
[2026-04-17 16:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776421995000,"timestamp_ms":1776421995000,"timestamp_seconds":1776421995,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0081f8"} 
[2026-04-17 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-04-17 16:05: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-04-17 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 16:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 16:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764025344001,"66":12461,"105":206,"83":41984,"24":0,"16":113272946318901248,"45":1738037643074023424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764025344001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:05:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:05:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272946318901248,"km_value":113272946318901.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074023424,"description":"Unknown IO ID 45"} 
[2026-04-17 16:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764025344001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074023424}} 
[2026-04-17 16:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":46221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:05:28] local.INFO: GPS data processed {"connection_id":46221,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:05:28] local.INFO: Acknowledgment sent {"connection_id":46221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:05:50] local.INFO: TCP Data received {"connection_id":46746,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:05:50] local.INFO: Processing buffer {"connection_id":46746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:05:50] local.INFO: IMEI packet received {"connection_id":46746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":46746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:05:55] local.INFO: TCP Data received {"connection_id":46746,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46746,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:05:55] local.INFO: Processing buffer {"connection_id":46746,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:05:55] local.INFO: IMEI packet received {"connection_id":46746,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":46746,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:05:56] local.INFO: TCP Data received {"connection_id":46746,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:05:56] local.INFO: Processing buffer {"connection_id":46746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:05:56] local.INFO: Packet analysis {"connection_id":46746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:05:56] local.INFO: Extracted packet for processing {"connection_id":46746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 16:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763934720001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776421921000,"timestamp_ms":1776421921000,"timestamp_seconds":1776421921,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aff60e8"} 
[2026-04-17 16:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 16:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:05:56] 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-04-17 16:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763934720001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763934720001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:05:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763934720001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":46746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22055,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:05:56] local.INFO: GPS data processed {"connection_id":46746,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:05:56] local.INFO: Acknowledgment sent {"connection_id":46746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:05:58] local.INFO: TCP Data received {"connection_id":46221,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b00d400012d181ec00721af30004c00cb2a..."} 
[2026-04-17 16:05:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b00d400012d181ec00721af30004c00cb2a..."} 
[2026-04-17 16:05:58] local.INFO: Processing buffer {"connection_id":46221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b00d400012d181ec00721af30004c00cb2a..."} 
[2026-04-17 16:05:58] local.INFO: Packet analysis {"connection_id":46221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b00"} 
[2026-04-17 16:05:58] local.INFO: Extracted packet for processing {"connection_id":46221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b00"} 
[2026-04-17 16:05:58] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119648048,"longitude_deg":75.6555456,"latitude_deg":11.9648048,"altitude":76,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181ec0","hex_latitude":"0721af30","is_valid_coordinates":true} 
[2026-04-17 16:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:05:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764030720001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:05:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272946318901248,"note":"Value kept but may cause issues"} 
[2026-04-17 16:05:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074023424,"note":"Value kept but may cause issues"} 
[2026-04-17 16:05:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:05:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776422016000,"timestamp_ms":1776422016000,"timestamp_seconds":1776422016,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b00d400"} 
[2026-04-17 16:05:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:05:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:05:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 16:05: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-04-17 16:05:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:05:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:05:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:05:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:05:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:05:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46221,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:05:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:05:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:05:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:05:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764030720001,"66":12461,"105":206,"83":41984,"24":0,"16":113272946318901248,"45":1738037643074023424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:05:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:05:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:05:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764030720001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:05:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:05:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:05:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272946318901248,"km_value":113272946318901.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:05:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074023424,"description":"Unknown IO ID 45"} 
[2026-04-17 16:05:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764030720001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074023424}} 
[2026-04-17 16:05:58] local.INFO: DEBUG: GPS processor result {"connection_id":46221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22056,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:05:58] local.INFO: GPS data processed {"connection_id":46221,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:05:58] local.INFO: Acknowledgment sent {"connection_id":46221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:06:27] local.INFO: TCP Data received {"connection_id":45995,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:06:27] local.INFO: Processing buffer {"connection_id":45995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:06:27] local.INFO: IMEI packet received {"connection_id":45995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:06:27] local.INFO: IMEI acknowledgment sent {"connection_id":45995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:06:27] local.INFO: TCP Data received {"connection_id":46746,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46746,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:06:27] local.INFO: Processing buffer {"connection_id":46746,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:06:27] local.INFO: Packet analysis {"connection_id":46746,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:06:27] local.INFO: Extracted packet for processing {"connection_id":46746,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 16:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763934720001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776421921000,"timestamp_ms":1776421921000,"timestamp_seconds":1776421921,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aff60e8"} 
[2026-04-17 16:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 16:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46746,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46746,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:06:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763934720001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763934720001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:06:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763934720001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":46746,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22057,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:06:27] local.INFO: GPS data processed {"connection_id":46746,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:06:27] local.INFO: Acknowledgment sent {"connection_id":46746,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:06:32] local.INFO: TCP Data received {"connection_id":45995,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:06:32] local.INFO: Processing buffer {"connection_id":45995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:06:32] local.INFO: IMEI packet received {"connection_id":45995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:06:32] local.INFO: IMEI acknowledgment sent {"connection_id":45995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:06:32] local.INFO: TCP Data received {"connection_id":45995,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b012608012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b012608012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:06:32] local.INFO: Processing buffer {"connection_id":45995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b012608012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:06:32] local.INFO: Packet analysis {"connection_id":45995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b01"} 
[2026-04-17 16:06:32] local.INFO: Extracted packet for processing {"connection_id":45995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b01"} 
[2026-04-17 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647808,"longitude_deg":75.6555072,"latitude_deg":11.9647808,"altitude":78,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-04-17 16:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764036096001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272967793737728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074023424,"note":"Value kept but may cause issues"} 
[2026-04-17 16:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776422037000,"timestamp_ms":1776422037000,"timestamp_seconds":1776422037,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b012608"} 
[2026-04-17 16:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 16:06: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-04-17 16:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764036096001,"66":12439,"105":206,"83":41984,"24":0,"16":113272967793737728,"45":1738037643074023424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764036096001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:06:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:06:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272967793737728,"km_value":113272967793737.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074023424,"description":"Unknown IO ID 45"} 
[2026-04-17 16:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764036096001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738037643074023424}} 
[2026-04-17 16:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":45995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22058,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:06:32] local.INFO: GPS data processed {"connection_id":45995,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:06:32] local.INFO: Acknowledgment sent {"connection_id":45995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:06:37] local.INFO: TCP Data received {"connection_id":45995,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b017810012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b017810012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:06:37] local.INFO: Processing buffer {"connection_id":45995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b017810012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:06:37] local.INFO: Packet analysis {"connection_id":45995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b01"} 
[2026-04-17 16:06:37] local.INFO: Extracted packet for processing {"connection_id":45995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b01"} 
[2026-04-17 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647808,"longitude_deg":75.6555072,"latitude_deg":11.9647808,"altitude":78,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-04-17 16:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764041472001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272967793737728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608896000,"note":"Value kept but may cause issues"} 
[2026-04-17 16:06:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776422058000,"timestamp_ms":1776422058000,"timestamp_seconds":1776422058,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b017810"} 
[2026-04-17 16:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 16:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":45995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":45995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":45995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764041472001,"66":12461,"105":206,"83":41984,"24":0,"16":113272967793737728,"45":1737615430608896000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764041472001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:06:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:06:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272967793737728,"km_value":113272967793737.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608896000,"description":"Unknown IO ID 45"} 
[2026-04-17 16:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764041472001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608896000}} 
[2026-04-17 16:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":45995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22059,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:06:37] local.INFO: GPS data processed {"connection_id":45995,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:06:37] local.INFO: Acknowledgment sent {"connection_id":45995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:06:50] local.INFO: TCP Data received {"connection_id":46222,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:06:50] local.INFO: Processing buffer {"connection_id":46222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:06:50] local.INFO: IMEI packet received {"connection_id":46222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":46222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:06:55] local.INFO: TCP Data received {"connection_id":46222,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:06:55] local.INFO: Processing buffer {"connection_id":46222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:06:55] local.INFO: IMEI packet received {"connection_id":46222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":46222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:06:57] local.INFO: TCP Data received {"connection_id":46222,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:06:57] local.INFO: Processing buffer {"connection_id":46222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:06:57] local.INFO: Packet analysis {"connection_id":46222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:06:57] local.INFO: Extracted packet for processing {"connection_id":46222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:06:57] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 16:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763934720001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776421921000,"timestamp_ms":1776421921000,"timestamp_seconds":1776421921,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aff60e8"} 
[2026-04-17 16:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:06:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 16:06:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:06:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763934720001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763934720001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:06:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:06:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763934720001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":46222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22060,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:06:57] local.INFO: GPS data processed {"connection_id":46222,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:06:57] local.INFO: Acknowledgment sent {"connection_id":46222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:07:22] local.INFO: TCP Data received {"connection_id":46224,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:07:22] local.INFO: Processing buffer {"connection_id":46224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:07:22] local.INFO: IMEI packet received {"connection_id":46224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":46224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:07:22] local.INFO: TCP Data received {"connection_id":46224,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:07:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46224,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:07:22] local.INFO: Processing buffer {"connection_id":46224,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:07:22] local.INFO: IMEI packet received {"connection_id":46224,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:07:22] local.INFO: IMEI acknowledgment sent {"connection_id":46224,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:07:23] local.INFO: TCP Data received {"connection_id":46224,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b01ca18012d181d400721ae40004e00cb23..."} 
[2026-04-17 16:07:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b01ca18012d181d400721ae40004e00cb23..."} 
[2026-04-17 16:07:23] local.INFO: Processing buffer {"connection_id":46224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b01ca18012d181d400721ae40004e00cb23..."} 
[2026-04-17 16:07:23] local.INFO: Packet analysis {"connection_id":46224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b01"} 
[2026-04-17 16:07:23] local.INFO: Extracted packet for processing {"connection_id":46224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b01"} 
[2026-04-17 16:07:23] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647808,"longitude_deg":75.6555072,"latitude_deg":11.9647808,"altitude":78,"angle":203,"satellites":35,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:07:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764046848001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:07:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272967793737728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:07:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608896000,"note":"Value kept but may cause issues"} 
[2026-04-17 16:07:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:07:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776422079000,"timestamp_ms":1776422079000,"timestamp_seconds":1776422079,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b01ca18"} 
[2026-04-17 16:07:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:07: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-04-17 16: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 16:07: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-04-17 16: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-04-17 16:07:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:07:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:07:23] local.INFO: Teltonika packet parsed successfully {"connection_id":46224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:07:23] local.INFO: Passing IMEI to GPS processor {"connection_id":46224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:07:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":46224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:07:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:07:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:07:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:07:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764046848001,"66":12461,"105":206,"83":41984,"24":0,"16":113272967793737728,"45":1737615430608896000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:07:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:07:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:07:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764046848001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:07:23] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:07:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:07:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272967793737728,"km_value":113272967793737.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:07:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608896000,"description":"Unknown IO ID 45"} 
[2026-04-17 16:07:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764046848001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608896000}} 
[2026-04-17 16:07:23] local.INFO: DEBUG: GPS processor result {"connection_id":46224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:07:23] local.INFO: GPS data processed {"connection_id":46224,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:07:23] local.INFO: Acknowledgment sent {"connection_id":46224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:07:27] local.INFO: TCP Data received {"connection_id":46224,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b021c20012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b021c20012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:07:27] local.INFO: Processing buffer {"connection_id":46224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b021c20012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:07:27] local.INFO: Packet analysis {"connection_id":46224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b02"} 
[2026-04-17 16:07:27] local.INFO: Extracted packet for processing {"connection_id":46224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b02"} 
[2026-04-17 16:07:27] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647808,"longitude_deg":75.6555072,"latitude_deg":11.9647808,"altitude":78,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-04-17 16:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764052224001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272967793737728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608896000,"note":"Value kept but may cause issues"} 
[2026-04-17 16:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776422100000,"timestamp_ms":1776422100000,"timestamp_seconds":1776422100,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b021c20"} 
[2026-04-17 16:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:07: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-04-17 16:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 16:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764052224001,"66":12319,"105":206,"83":41984,"24":0,"16":113272967793737728,"45":1737615430608896000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764052224001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:07:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:07:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272967793737728,"km_value":113272967793737.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608896000,"description":"Unknown IO ID 45"} 
[2026-04-17 16:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764052224001,"power":12319,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608896000}} 
[2026-04-17 16:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":46224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22062,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:07:27] local.INFO: GPS data processed {"connection_id":46224,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:07:27] local.INFO: Acknowledgment sent {"connection_id":46224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:07:28] local.INFO: TCP Data received {"connection_id":46222,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:07:28] local.INFO: Processing buffer {"connection_id":46222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9aff60e8012d7faa8005afd2f8000b00002e..."} 
[2026-04-17 16:07:28] local.INFO: Packet analysis {"connection_id":46222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:07:28] local.INFO: Extracted packet for processing {"connection_id":46222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9aff"} 
[2026-04-17 16:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":11,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 16:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454763934720001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776421921000,"timestamp_ms":1776421921000,"timestamp_seconds":1776421921,"priority":1,"record_length":96,"hex_timestamp":"0000019d9aff60e8"} 
[2026-04-17 16:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 16:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454763934720001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454763934720001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:07:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454763934720001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":46222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22063,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:07:28] local.INFO: GPS data processed {"connection_id":46222,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:07:28] local.INFO: Acknowledgment sent {"connection_id":46222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:07:50] local.INFO: TCP Data received {"connection_id":46747,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:07:50] local.INFO: Processing buffer {"connection_id":46747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:07:50] local.INFO: IMEI packet received {"connection_id":46747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":46747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:07:53] local.INFO: TCP Data received {"connection_id":46747,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:07:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:07:53] local.INFO: Processing buffer {"connection_id":46747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:07:53] local.INFO: IMEI packet received {"connection_id":46747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:07:53] local.INFO: IMEI acknowledgment sent {"connection_id":46747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:07:55] local.INFO: TCP Data received {"connection_id":46747,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46747,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:07:55] local.INFO: Processing buffer {"connection_id":46747,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:07:55] local.INFO: IMEI packet received {"connection_id":46747,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":46747,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:07:56] local.INFO: TCP Data received {"connection_id":46747,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b03f8b0012d7faa8005afd2f8000900002e..."} 
[2026-04-17 16:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b03f8b0012d7faa8005afd2f8000900002e..."} 
[2026-04-17 16:07:56] local.INFO: Processing buffer {"connection_id":46747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b03f8b0012d7faa8005afd2f8000900002e..."} 
[2026-04-17 16:07:56] local.INFO: Packet analysis {"connection_id":46747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b03"} 
[2026-04-17 16:07:56] local.INFO: Extracted packet for processing {"connection_id":46747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b03"} 
[2026-04-17 16:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764011776001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776422222000,"timestamp_ms":1776422222000,"timestamp_seconds":1776422222,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b03f8b0"} 
[2026-04-17 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-04-17 16:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 16:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 16:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:07:56] 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-04-17 16:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764011776001,"66":25343,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764011776001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:07:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764011776001,"power":25343,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":46747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:07:56] local.INFO: GPS data processed {"connection_id":46747,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:07:56] local.INFO: Acknowledgment sent {"connection_id":46747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:07:58] local.INFO: TCP Data received {"connection_id":46224,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b026e28012d181d400721ae40004e00cb27..."} 
[2026-04-17 16:07:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b026e28012d181d400721ae40004e00cb27..."} 
[2026-04-17 16:07:58] local.INFO: Processing buffer {"connection_id":46224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b026e28012d181d400721ae40004e00cb27..."} 
[2026-04-17 16:07:58] local.INFO: Packet analysis {"connection_id":46224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b02"} 
[2026-04-17 16:07:58] local.INFO: Extracted packet for processing {"connection_id":46224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b02"} 
[2026-04-17 16:07:58] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647808,"longitude_deg":75.6555072,"latitude_deg":11.9647808,"altitude":78,"angle":203,"satellites":39,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-04-17 16:07:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:07:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764057600001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:07:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272967793737728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:07:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608896000,"note":"Value kept but may cause issues"} 
[2026-04-17 16:07:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:07:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776422121000,"timestamp_ms":1776422121000,"timestamp_seconds":1776422121,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b026e28"} 
[2026-04-17 16:07:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:07:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":15872,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 16:07: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-04-17 16: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-04-17 16:07:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:07:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:07:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:07:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:07:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46224,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:07:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:07:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:07:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:07:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764057600001,"66":12439,"105":206,"83":41984,"24":0,"16":113272967793737728,"45":1737615430608896000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:07:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:07:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:07:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764057600001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:07:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:07:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:07:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272967793737728,"km_value":113272967793737.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:07:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608896000,"description":"Unknown IO ID 45"} 
[2026-04-17 16:07:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764057600001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608896000}} 
[2026-04-17 16:07:58] local.INFO: DEBUG: GPS processor result {"connection_id":46224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22065,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:07:58] local.INFO: GPS data processed {"connection_id":46224,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:07:58] local.INFO: Acknowledgment sent {"connection_id":46224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:08:22] local.INFO: TCP Data received {"connection_id":46748,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:08:22] local.INFO: Processing buffer {"connection_id":46748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:08:22] local.INFO: IMEI packet received {"connection_id":46748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":46748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:08:26] local.INFO: TCP Data received {"connection_id":46748,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46748,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:08:26] local.INFO: Processing buffer {"connection_id":46748,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:08:26] local.INFO: IMEI packet received {"connection_id":46748,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":46748,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:08:27] local.INFO: TCP Data received {"connection_id":46748,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b02c030012d181d400721ae40004e00cb28..."} 
[2026-04-17 16:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b02c030012d181d400721ae40004e00cb28..."} 
[2026-04-17 16:08:27] local.INFO: Processing buffer {"connection_id":46748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b02c030012d181d400721ae40004e00cb28..."} 
[2026-04-17 16:08:27] local.INFO: Packet analysis {"connection_id":46748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b02"} 
[2026-04-17 16:08:27] local.INFO: Extracted packet for processing {"connection_id":46748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b02"} 
[2026-04-17 16:08:27] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647808,"longitude_deg":75.6555072,"latitude_deg":11.9647808,"altitude":78,"angle":203,"satellites":40,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764062976001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272967793737728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608896000,"note":"Value kept but may cause issues"} 
[2026-04-17 16:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776422142000,"timestamp_ms":1776422142000,"timestamp_seconds":1776422142,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b02c030"} 
[2026-04-17 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-04-17 16:08: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-04-17 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":151,"data_length":795,"current_offset":136} 
[2026-04-17 16:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1797,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 16:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764062976001,"66":12406,"105":206,"83":41984,"24":0,"16":113272967793737728,"45":1737615430608896000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764062976001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:08:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:08:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272967793737728,"km_value":113272967793737.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608896000,"description":"Unknown IO ID 45"} 
[2026-04-17 16:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764062976001,"power":12406,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608896000}} 
[2026-04-17 16:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":46748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:08:27] local.INFO: GPS data processed {"connection_id":46748,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:08:27] local.INFO: Acknowledgment sent {"connection_id":46748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:08:27] local.INFO: TCP Data received {"connection_id":46747,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b042790012d7faa8005afd2f8000900002e..."} 
[2026-04-17 16:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46747,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b042790012d7faa8005afd2f8000900002e..."} 
[2026-04-17 16:08:27] local.INFO: Processing buffer {"connection_id":46747,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b042790012d7faa8005afd2f8000900002e..."} 
[2026-04-17 16:08:27] local.INFO: Packet analysis {"connection_id":46747,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b04"} 
[2026-04-17 16:08:27] local.INFO: Extracted packet for processing {"connection_id":46747,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b04"} 
[2026-04-17 16:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95408888,"longitude_deg":76.334144,"latitude_deg":9.5408888,"altitude":9,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afd2f8","is_valid_coordinates":true} 
[2026-04-17 16:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764088832001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065483815190528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776422234000,"timestamp_ms":1776422234000,"timestamp_seconds":1776422234,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b042790"} 
[2026-04-17 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-04-17 16:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 16:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 16:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46747,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46747,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764088832001,"66":25321,"250":206,"85":12544,"24":0,"16":274065483815190528,"45":9199305950770690048},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764088832001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:08:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065483815190528,"km_value":274065483815190.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764088832001,"power":25321,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":46747,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:08:27] local.INFO: GPS data processed {"connection_id":46747,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:08:27] local.INFO: Acknowledgment sent {"connection_id":46747,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:08:50] local.INFO: TCP Data received {"connection_id":45997,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:08:50] local.INFO: Processing buffer {"connection_id":45997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:08:50] local.INFO: IMEI packet received {"connection_id":45997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":45997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:08:55] local.INFO: TCP Data received {"connection_id":45997,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:08:55] local.INFO: Processing buffer {"connection_id":45997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:08:55] local.INFO: IMEI packet received {"connection_id":45997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":45997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:08:56] local.INFO: TCP Data received {"connection_id":45997,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b048550012d7faa4005afd358000900002e..."} 
[2026-04-17 16:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b048550012d7faa4005afd358000900002e..."} 
[2026-04-17 16:08:56] local.INFO: Processing buffer {"connection_id":45997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b048550012d7faa4005afd358000900002e..."} 
[2026-04-17 16:08:56] local.INFO: Packet analysis {"connection_id":45997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b04"} 
[2026-04-17 16:08:56] local.INFO: Extracted packet for processing {"connection_id":45997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b04"} 
[2026-04-17 16:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95408984,"longitude_deg":76.3341376,"latitude_deg":9.5408984,"altitude":9,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa40","hex_latitude":"05afd358","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764091904001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065488110157824,"note":"Value kept but may cause issues"} 
[2026-04-17 16:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950770690048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776422258000,"timestamp_ms":1776422258000,"timestamp_seconds":1776422258,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b048550"} 
[2026-04-17 16:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 16:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:08:56] 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-04-17 16:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764091904001,"66":27865,"250":206,"85":12544,"24":0,"16":274065488110157824,"45":9199305950770690048},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764091904001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:08:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065488110157824,"km_value":274065488110157.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950770690048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764091904001,"power":27865,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950770690048}} 
[2026-04-17 16:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":45997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22068,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:08:56] local.INFO: GPS data processed {"connection_id":45997,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:08:56] local.INFO: Acknowledgment sent {"connection_id":45997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:08:57] local.INFO: TCP Data received {"connection_id":46748,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b031238012d181d400721ae40004e00cb2a..."} 
[2026-04-17 16:08:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46748,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b031238012d181d400721ae40004e00cb2a..."} 
[2026-04-17 16:08:57] local.INFO: Processing buffer {"connection_id":46748,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b031238012d181d400721ae40004e00cb2a..."} 
[2026-04-17 16:08:57] local.INFO: Packet analysis {"connection_id":46748,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b03"} 
[2026-04-17 16:08:57] local.INFO: Extracted packet for processing {"connection_id":46748,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b03"} 
[2026-04-17 16:08:57] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647808,"longitude_deg":75.6555072,"latitude_deg":11.9647808,"altitude":78,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:08:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764068352001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:08:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272967793737728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:08:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608896000,"note":"Value kept but may cause issues"} 
[2026-04-17 16:08:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:08:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776422163000,"timestamp_ms":1776422163000,"timestamp_seconds":1776422163,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b031238"} 
[2026-04-17 16:08:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:08:57] 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-04-17 16: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 16:08:57] 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-04-17 16: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-04-17 16:08:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:08:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:08:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46748,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:08:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:08:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46748,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:08:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:08:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:08:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:08:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764068352001,"66":12428,"105":206,"83":41984,"24":0,"16":113272967793737728,"45":1737615430608896000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:08:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:08:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:08:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764068352001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:08:57] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:08:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:08:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272967793737728,"km_value":113272967793737.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:08:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608896000,"description":"Unknown IO ID 45"} 
[2026-04-17 16:08:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764068352001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608896000}} 
[2026-04-17 16:08:58] local.INFO: DEBUG: GPS processor result {"connection_id":46748,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:08:58] local.INFO: GPS data processed {"connection_id":46748,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:08:58] local.INFO: Acknowledgment sent {"connection_id":46748,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:09:22] local.INFO: TCP Data received {"connection_id":46225,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:09:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:09:22] local.INFO: Processing buffer {"connection_id":46225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:09:22] local.INFO: IMEI packet received {"connection_id":46225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:09:22] local.INFO: IMEI acknowledgment sent {"connection_id":46225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:09:27] local.INFO: TCP Data received {"connection_id":46225,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46225,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:09:27] local.INFO: Processing buffer {"connection_id":46225,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:09:27] local.INFO: IMEI packet received {"connection_id":46225,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":46225,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:09:27] local.INFO: TCP Data received {"connection_id":45997,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b04d758012d7faa0005afd3a0000700002e..."} 
[2026-04-17 16:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b04d758012d7faa0005afd3a0000700002e..."} 
[2026-04-17 16:09:27] local.INFO: Processing buffer {"connection_id":45997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b04d758012d7faa0005afd3a0000700002e..."} 
[2026-04-17 16:09:27] local.INFO: Packet analysis {"connection_id":45997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b04"} 
[2026-04-17 16:09:27] local.INFO: Extracted packet for processing {"connection_id":45997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b04"} 
[2026-04-17 16:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95409056,"longitude_deg":76.3341312,"latitude_deg":9.5409056,"altitude":7,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afd3a0","is_valid_coordinates":true} 
[2026-04-17 16:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764098048001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065496700092416,"note":"Value kept but may cause issues"} 
[2026-04-17 16:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582026536960,"note":"Value kept but may cause issues"} 
[2026-04-17 16:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776422279000,"timestamp_ms":1776422279000,"timestamp_seconds":1776422279,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b04d758"} 
[2026-04-17 16:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:09: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-04-17 16:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":217,"data_length":795,"current_offset":136} 
[2026-04-17 16:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2691,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764098048001,"66":27930,"250":206,"85":12544,"24":0,"16":274065496700092416,"45":9199235582026536960},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764098048001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:09:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:09:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065496700092416,"km_value":274065496700092.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582026536960,"description":"Unknown IO ID 45"} 
[2026-04-17 16:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764098048001,"power":27930,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582026536960}} 
[2026-04-17 16:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":45997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:09:27] local.INFO: GPS data processed {"connection_id":45997,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:09:27] local.INFO: Acknowledgment sent {"connection_id":45997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:09:27] local.INFO: TCP Data received {"connection_id":46225,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b036440012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b036440012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:09:27] local.INFO: Processing buffer {"connection_id":46225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b036440012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:09:27] local.INFO: Packet analysis {"connection_id":46225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b03"} 
[2026-04-17 16:09:27] local.INFO: Extracted packet for processing {"connection_id":46225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b03"} 
[2026-04-17 16:09:27] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647808,"longitude_deg":75.6555072,"latitude_deg":11.9647808,"altitude":78,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-04-17 16:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764073728001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272967793737728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608896000,"note":"Value kept but may cause issues"} 
[2026-04-17 16:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776422184000,"timestamp_ms":1776422184000,"timestamp_seconds":1776422184,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b036440"} 
[2026-04-17 16:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:09: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-04-17 16:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 16:09:27] 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-04-17 16:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764073728001,"66":12461,"105":206,"83":41984,"24":0,"16":113272967793737728,"45":1737615430608896000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764073728001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:09:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:09:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272967793737728,"km_value":113272967793737.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608896000,"description":"Unknown IO ID 45"} 
[2026-04-17 16:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764073728001,"power":12461,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608896000}} 
[2026-04-17 16:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":46225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:09:28] local.INFO: GPS data processed {"connection_id":46225,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:09:28] local.INFO: Acknowledgment sent {"connection_id":46225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:09:49] local.INFO: TCP Data received {"connection_id":45999,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:09:49] local.INFO: Processing buffer {"connection_id":45999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:09:49] local.INFO: IMEI packet received {"connection_id":45999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":45999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:09:50] local.INFO: TCP Data received {"connection_id":45999,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:09:50] local.INFO: Processing buffer {"connection_id":45999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:09:50] local.INFO: IMEI packet received {"connection_id":45999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":45999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:09:55] local.INFO: TCP Data received {"connection_id":45999,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:09:55] local.INFO: Processing buffer {"connection_id":45999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:09:55] local.INFO: IMEI packet received {"connection_id":45999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":45999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:09:56] local.INFO: TCP Data received {"connection_id":45999,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b052960012d7fa9c005afd368000700002e..."} 
[2026-04-17 16:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b052960012d7fa9c005afd368000700002e..."} 
[2026-04-17 16:09:56] local.INFO: Processing buffer {"connection_id":45999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b052960012d7fa9c005afd368000700002e..."} 
[2026-04-17 16:09:56] local.INFO: Packet analysis {"connection_id":45999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:09:56] local.INFO: Extracted packet for processing {"connection_id":45999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763341248,"raw_latitude":95409000,"longitude_deg":76.3341248,"latitude_deg":9.5409,"altitude":7,"angle":0,"satellites":46,"speed":0,"hex_longitude":"2d7fa9c0","hex_latitude":"05afd368","is_valid_coordinates":true} 
[2026-04-17 16:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764103424001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065505290027008,"note":"Value kept but may cause issues"} 
[2026-04-17 16:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213282377728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776422300000,"timestamp_ms":1776422300000,"timestamp_seconds":1776422300,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b052960"} 
[2026-04-17 16:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":26,"data_length":795,"current_offset":136} 
[2026-04-17 16:09:56] 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-04-17 16:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:09:56] 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-04-17 16:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764103424001,"66":27745,"250":206,"85":12544,"24":0,"16":274065505290027008,"45":9199165213282377728},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764103424001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:09:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065505290027008,"km_value":274065505290027.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213282377728,"description":"Unknown IO ID 45"} 
[2026-04-17 16:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764103424001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199165213282377728}} 
[2026-04-17 16:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":45999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22072,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:09:56] local.INFO: GPS data processed {"connection_id":45999,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:09:56] local.INFO: Acknowledgment sent {"connection_id":45999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:09:58] local.INFO: TCP Data received {"connection_id":46225,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b03b648012d181d400721ae40004e00cb29..."} 
[2026-04-17 16:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b03b648012d181d400721ae40004e00cb29..."} 
[2026-04-17 16:09:58] local.INFO: Processing buffer {"connection_id":46225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b03b648012d181d400721ae40004e00cb29..."} 
[2026-04-17 16:09:58] local.INFO: Packet analysis {"connection_id":46225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b03"} 
[2026-04-17 16:09:58] local.INFO: Extracted packet for processing {"connection_id":46225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b03"} 
[2026-04-17 16:09:58] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647808,"longitude_deg":75.6555072,"latitude_deg":11.9647808,"altitude":78,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-04-17 16:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764079104001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272967793737728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608896000,"note":"Value kept but may cause issues"} 
[2026-04-17 16:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776422205000,"timestamp_ms":1776422205000,"timestamp_seconds":1776422205,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b03b648"} 
[2026-04-17 16:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:09:58] 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-04-17 16:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 16:09: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-04-17 16:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46225,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764079104001,"66":12385,"105":206,"83":41984,"24":0,"16":113272967793737728,"45":1737615430608896000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764079104001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:09:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:09:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272967793737728,"km_value":113272967793737.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608896000,"description":"Unknown IO ID 45"} 
[2026-04-17 16:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764079104001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608896000}} 
[2026-04-17 16:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":46225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22073,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:09:58] local.INFO: GPS data processed {"connection_id":46225,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:09:58] local.INFO: Acknowledgment sent {"connection_id":46225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:10:21] local.INFO: TCP Data received {"connection_id":46749,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:10:21] local.INFO: Processing buffer {"connection_id":46749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:10:21] local.INFO: IMEI packet received {"connection_id":46749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":46749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:10:27] local.INFO: TCP Data received {"connection_id":46749,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46749,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:10:27] local.INFO: Processing buffer {"connection_id":46749,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:10:27] local.INFO: IMEI packet received {"connection_id":46749,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:10:27] local.INFO: IMEI acknowledgment sent {"connection_id":46749,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:10:27] local.INFO: TCP Data received {"connection_id":45999,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b057b68012d7faa0005afd498000700022f..."} 
[2026-04-17 16:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b057b68012d7faa0005afd498000700022f..."} 
[2026-04-17 16:10:27] local.INFO: Processing buffer {"connection_id":45999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b057b68012d7faa0005afd498000700022f..."} 
[2026-04-17 16:10:27] local.INFO: Packet analysis {"connection_id":45999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:10:27] local.INFO: Extracted packet for processing {"connection_id":45999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:10:27] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95409304,"longitude_deg":76.3341312,"latitude_deg":9.5409304,"altitude":7,"angle":2,"satellites":47,"speed":0,"hex_longitude":"2d7faa00","hex_latitude":"05afd498","is_valid_coordinates":true} 
[2026-04-17 16:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764108800001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065526764863488,"note":"Value kept but may cause issues"} 
[2026-04-17 16:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199094844538185728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776422321000,"timestamp_ms":1776422321000,"timestamp_seconds":1776422321,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b057b68"} 
[2026-04-17 16:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:10: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-04-17 16:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 16:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764108800001,"66":27800,"250":206,"85":12544,"24":0,"16":274065526764863488,"45":9199094844538185728},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764108800001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:10:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:10:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065526764863488,"km_value":274065526764863.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199094844538185728,"description":"Unknown IO ID 45"} 
[2026-04-17 16:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764108800001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199094844538185728}} 
[2026-04-17 16:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":45999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:10:27] local.INFO: GPS data processed {"connection_id":45999,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:10:27] local.INFO: Acknowledgment sent {"connection_id":45999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:10:28] local.INFO: TCP Data received {"connection_id":46749,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b040850012d181d400721ae40004e00cb29..."} 
[2026-04-17 16:10:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b040850012d181d400721ae40004e00cb29..."} 
[2026-04-17 16:10:28] local.INFO: Processing buffer {"connection_id":46749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b040850012d181d400721ae40004e00cb29..."} 
[2026-04-17 16:10:28] local.INFO: Packet analysis {"connection_id":46749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b04"} 
[2026-04-17 16:10:28] local.INFO: Extracted packet for processing {"connection_id":46749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b04"} 
[2026-04-17 16:10:28] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647808,"longitude_deg":75.6555072,"latitude_deg":11.9647808,"altitude":78,"angle":203,"satellites":41,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:10:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764084480001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:10:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272967793737728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:10:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608896000,"note":"Value kept but may cause issues"} 
[2026-04-17 16:10:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:10:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776422226000,"timestamp_ms":1776422226000,"timestamp_seconds":1776422226,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b040850"} 
[2026-04-17 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-04-17 16:10:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 16:10:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 16:10:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:10:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:10:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:10:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:10:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:10:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:10:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:10:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764084480001,"66":12428,"105":206,"83":41984,"24":0,"16":113272967793737728,"45":1737615430608896000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:10:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:10:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:10:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764084480001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:10:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:10:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:10:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272967793737728,"km_value":113272967793737.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:10:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608896000,"description":"Unknown IO ID 45"} 
[2026-04-17 16:10:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764084480001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608896000}} 
[2026-04-17 16:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":46749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:10:28] local.INFO: GPS data processed {"connection_id":46749,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:10:28] local.INFO: Acknowledgment sent {"connection_id":46749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:10:29] local.INFO: TCP Data received {"connection_id":45898,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45898,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:10:29] local.INFO: Processing buffer {"connection_id":45898,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:10:29] local.INFO: IMEI packet received {"connection_id":45898,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":45898,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:10:50] local.INFO: TCP Data received {"connection_id":46226,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:10:50] local.INFO: Processing buffer {"connection_id":46226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:10:50] local.INFO: IMEI packet received {"connection_id":46226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":46226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:10:57] local.INFO: TCP Data received {"connection_id":46226,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:10:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:10:57] local.INFO: Processing buffer {"connection_id":46226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:10:57] local.INFO: IMEI packet received {"connection_id":46226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:10:57] local.INFO: IMEI acknowledgment sent {"connection_id":46226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:10:58] local.INFO: TCP Data received {"connection_id":46226,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0592d8012d7faa0005afd5100007015e2f..."} 
[2026-04-17 16:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0592d8012d7faa0005afd5100007015e2f..."} 
[2026-04-17 16:10:58] local.INFO: Processing buffer {"connection_id":46226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0592d8012d7faa0005afd5100007015e2f..."} 
[2026-04-17 16:10:58] local.INFO: Packet analysis {"connection_id":46226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:10:58] local.INFO: Extracted packet for processing {"connection_id":46226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:10:58] local.INFO: GPS Element Parsed {"raw_longitude":763341312,"raw_latitude":95409424,"longitude_deg":76.3341312,"latitude_deg":9.5409424,"altitude":7,"angle":350,"satellites":47,"speed":3,"hex_longitude":"2d7faa00","hex_latitude":"05afd510","is_valid_coordinates":true} 
[2026-04-17 16:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764114176001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065535354798080,"note":"Value kept but may cause issues"} 
[2026-04-17 16:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213282441216,"note":"Value kept but may cause issues"} 
[2026-04-17 16:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776422327000,"timestamp_ms":1776422327000,"timestamp_seconds":1776422327,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0592d8"} 
[2026-04-17 16:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:10: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-04-17 16:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 16:10:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764114176001,"66":27919,"250":206,"85":12544,"24":3,"16":274065535354798080,"45":9199165213282441216},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764114176001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:10:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:10:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065535354798080,"km_value":274065535354798.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213282441216,"description":"Unknown IO ID 45"} 
[2026-04-17 16:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764114176001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9199165213282441216}} 
[2026-04-17 16:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":46226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22076,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:10:58] local.INFO: GPS data processed {"connection_id":46226,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:10:58] local.INFO: Acknowledgment sent {"connection_id":46226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:10:58] local.INFO: TCP Data received {"connection_id":46749,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b045a58012d181d400721ae40004e00cb28..."} 
[2026-04-17 16:10:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46749,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b045a58012d181d400721ae40004e00cb28..."} 
[2026-04-17 16:10:58] local.INFO: Processing buffer {"connection_id":46749,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b045a58012d181d400721ae40004e00cb28..."} 
[2026-04-17 16:10:58] local.INFO: Packet analysis {"connection_id":46749,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b04"} 
[2026-04-17 16:10:58] local.INFO: Extracted packet for processing {"connection_id":46749,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b04"} 
[2026-04-17 16:10:58] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647808,"longitude_deg":75.6555072,"latitude_deg":11.9647808,"altitude":78,"angle":203,"satellites":40,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-04-17 16:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:10:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764089856001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:10:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272967793737728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:10:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608896000,"note":"Value kept but may cause issues"} 
[2026-04-17 16:10:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:10:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776422247000,"timestamp_ms":1776422247000,"timestamp_seconds":1776422247,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b045a58"} 
[2026-04-17 16:10:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:10:58] 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-04-17 16:10:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 16:10: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-04-17 16:10:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:10:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:10:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:10:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46749,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:10:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:10:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46749,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:10:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:10:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:10:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:10:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764089856001,"66":12439,"105":206,"83":41984,"24":0,"16":113272967793737728,"45":1737615430608896000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:10:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:10:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:10:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764089856001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:10:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:10:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:10:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272967793737728,"km_value":113272967793737.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:10:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608896000,"description":"Unknown IO ID 45"} 
[2026-04-17 16:10:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764089856001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608896000}} 
[2026-04-17 16:10:58] local.INFO: DEBUG: GPS processor result {"connection_id":46749,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22077,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:10:58] local.INFO: GPS data processed {"connection_id":46749,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:10:58] local.INFO: Acknowledgment sent {"connection_id":46749,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:11:09] local.INFO: TCP Data received {"connection_id":46750,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:11:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46750,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:11:09] local.INFO: Processing buffer {"connection_id":46750,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:11:09] local.INFO: IMEI packet received {"connection_id":46750,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:11:09] local.INFO: IMEI acknowledgment sent {"connection_id":46750,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:11:21] local.INFO: TCP Data received {"connection_id":45899,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:11:21] local.INFO: Processing buffer {"connection_id":45899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:11:21] local.INFO: IMEI packet received {"connection_id":45899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":45899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:11:27] local.INFO: TCP Data received {"connection_id":45899,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45899,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:11:27] local.INFO: Processing buffer {"connection_id":45899,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:11:27] local.INFO: IMEI packet received {"connection_id":45899,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":45899,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:11:28] local.INFO: TCP Data received {"connection_id":45899,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b04ac60012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b04ac60012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:11:28] local.INFO: Processing buffer {"connection_id":45899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b04ac60012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:11:28] local.INFO: Packet analysis {"connection_id":45899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b04"} 
[2026-04-17 16:11:28] local.INFO: Extracted packet for processing {"connection_id":45899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b04"} 
[2026-04-17 16:11:28] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647808,"longitude_deg":75.6555072,"latitude_deg":11.9647808,"altitude":78,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764095232001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272967793737728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608896000,"note":"Value kept but may cause issues"} 
[2026-04-17 16:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776422268000,"timestamp_ms":1776422268000,"timestamp_seconds":1776422268,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b04ac60"} 
[2026-04-17 16:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 16:11:28] 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-04-17 16: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-04-17 16:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764095232001,"66":12385,"105":206,"83":41984,"24":0,"16":113272967793737728,"45":1737615430608896000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764095232001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:11:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:11:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272967793737728,"km_value":113272967793737.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608896000,"description":"Unknown IO ID 45"} 
[2026-04-17 16:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764095232001,"power":12385,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608896000}} 
[2026-04-17 16:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":45899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:11:28] local.INFO: GPS data processed {"connection_id":45899,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:11:28] local.INFO: Acknowledgment sent {"connection_id":45899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:11:29] local.INFO: TCP Data received {"connection_id":46226,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b05ae30012d7fa90005afd778000800032e..."} 
[2026-04-17 16:11:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b05ae30012d7fa90005afd778000800032e..."} 
[2026-04-17 16:11:29] local.INFO: Processing buffer {"connection_id":46226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b05ae30012d7fa90005afd778000800032e..."} 
[2026-04-17 16:11:29] local.INFO: Packet analysis {"connection_id":46226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:11:29] local.INFO: Extracted packet for processing {"connection_id":46226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:11:29] local.INFO: GPS Element Parsed {"raw_longitude":763341056,"raw_latitude":95410040,"longitude_deg":76.3341056,"latitude_deg":9.541004,"altitude":8,"angle":3,"satellites":46,"speed":4,"hex_longitude":"2d7fa900","hex_latitude":"05afd778","is_valid_coordinates":true} 
[2026-04-17 16:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:11:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764115712001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:11:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065569714536448,"note":"Value kept but may cause issues"} 
[2026-04-17 16:11:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199165213282471936,"note":"Value kept but may cause issues"} 
[2026-04-17 16:11:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:11:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776422334000,"timestamp_ms":1776422334000,"timestamp_seconds":1776422334,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b05ae30"} 
[2026-04-17 16:11:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:11: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-04-17 16:11:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 16:11:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:11:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:11:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:11:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:11:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:11:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:11:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:11: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-04-17 16:11:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:11:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:11:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764115712001,"66":27800,"250":206,"85":12544,"24":4,"16":274065569714536448,"45":9199165213282471936},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:11:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:11:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:11:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764115712001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:11:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:11:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:11:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065569714536448,"km_value":274065569714536.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:11:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199165213282471936,"description":"Unknown IO ID 45"} 
[2026-04-17 16:11:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764115712001,"power":27800,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9199165213282471936}} 
[2026-04-17 16:11:29] local.INFO: DEBUG: GPS processor result {"connection_id":46226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:11:29] local.INFO: GPS data processed {"connection_id":46226,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:11:29] local.INFO: Acknowledgment sent {"connection_id":46226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:11:55] local.INFO: TCP Data received {"connection_id":46000,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:11:55] local.INFO: Processing buffer {"connection_id":46000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:11:55] local.INFO: IMEI packet received {"connection_id":46000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":46000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:11:59] local.INFO: TCP Data received {"connection_id":45899,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b04fe68012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45899,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b04fe68012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:11:59] local.INFO: Processing buffer {"connection_id":45899,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b04fe68012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:11:59] local.INFO: Packet analysis {"connection_id":45899,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b04"} 
[2026-04-17 16:11:59] local.INFO: Extracted packet for processing {"connection_id":45899,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b04"} 
[2026-04-17 16:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647808,"longitude_deg":75.6555072,"latitude_deg":11.9647808,"altitude":78,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-04-17 16:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764100608001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272967793737728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608896000,"note":"Value kept but may cause issues"} 
[2026-04-17 16:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776422289000,"timestamp_ms":1776422289000,"timestamp_seconds":1776422289,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b04fe68"} 
[2026-04-17 16:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:11:59] 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-04-17 16:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 16:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45899,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45899,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764100608001,"66":12439,"105":206,"83":41984,"24":0,"16":113272967793737728,"45":1737615430608896000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764100608001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:11:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:11:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272967793737728,"km_value":113272967793737.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608896000,"description":"Unknown IO ID 45"} 
[2026-04-17 16:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764100608001,"power":12439,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608896000}} 
[2026-04-17 16:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":45899,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:11:59] local.INFO: GPS data processed {"connection_id":45899,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:11:59] local.INFO: Acknowledgment sent {"connection_id":45899,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:12:00] local.INFO: TCP Data received {"connection_id":46000,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46000,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:12:00] local.INFO: Processing buffer {"connection_id":46000,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:12:00] local.INFO: IMEI packet received {"connection_id":46000,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":46000,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:12:02] local.INFO: TCP Data received {"connection_id":46000,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b05bdd0012d7fa94005afd908000800172e..."} 
[2026-04-17 16:12:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b05bdd0012d7fa94005afd908000800172e..."} 
[2026-04-17 16:12:02] local.INFO: Processing buffer {"connection_id":46000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b05bdd0012d7fa94005afd908000800172e..."} 
[2026-04-17 16:12:02] local.INFO: Packet analysis {"connection_id":46000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:12:02] local.INFO: Extracted packet for processing {"connection_id":46000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:12:02] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95410440,"longitude_deg":76.334112,"latitude_deg":9.541044,"altitude":8,"angle":23,"satellites":46,"speed":3,"hex_longitude":"2d7fa940","hex_latitude":"05afd908","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:12:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764117504001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:12:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065591189372928,"note":"Value kept but may cause issues"} 
[2026-04-17 16:12:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198883738305918976,"note":"Value kept but may cause issues"} 
[2026-04-17 16:12:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:12:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776422338000,"timestamp_ms":1776422338000,"timestamp_seconds":1776422338,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b05bdd0"} 
[2026-04-17 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-04-17 16:12:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:12:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 16:12: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-04-17 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-04-17 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-04-17 16:12:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:12:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:12:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:12:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:12:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:12:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:12:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:12:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764117504001,"66":27876,"250":206,"85":12544,"24":3,"16":274065591189372928,"45":9198883738305918976},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:12:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:12:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:12:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764117504001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:12:02] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:12:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:12:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065591189372928,"km_value":274065591189372.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:12:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198883738305918976,"description":"Unknown IO ID 45"} 
[2026-04-17 16:12:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764117504001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9198883738305918976}} 
[2026-04-17 16:12:02] local.INFO: DEBUG: GPS processor result {"connection_id":46000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:12:02] local.INFO: GPS data processed {"connection_id":46000,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:12:02] local.INFO: Acknowledgment sent {"connection_id":46000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:12:05] local.INFO: TCP Data received {"connection_id":46000,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b05c1b8012d7fa94005afd958000800242f..."} 
[2026-04-17 16:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b05c1b8012d7fa94005afd958000800242f..."} 
[2026-04-17 16:12:05] local.INFO: Processing buffer {"connection_id":46000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b05c1b8012d7fa94005afd958000800242f..."} 
[2026-04-17 16:12:05] local.INFO: Packet analysis {"connection_id":46000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:12:05] local.INFO: Extracted packet for processing {"connection_id":46000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:12:05] local.INFO: GPS Element Parsed {"raw_longitude":763341120,"raw_latitude":95410520,"longitude_deg":76.334112,"latitude_deg":9.541052,"altitude":8,"angle":36,"satellites":47,"speed":4,"hex_longitude":"2d7fa940","hex_latitude":"05afd958","is_valid_coordinates":true} 
[2026-04-17 16:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:12:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764118528001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:12:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065591189372928,"note":"Value kept but may cause issues"} 
[2026-04-17 16:12:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050199040,"note":"Value kept but may cause issues"} 
[2026-04-17 16:12:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:12:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776422339000,"timestamp_ms":1776422339000,"timestamp_seconds":1776422339,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b05c1b8"} 
[2026-04-17 16:12:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:12: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-04-17 16:12:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 16:12:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:12:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:12:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:12:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:12:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:12:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:12:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46000,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:12: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-04-17 16:12:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:12:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:12:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764118528001,"66":27767,"250":206,"85":12544,"24":4,"16":274065591189372928,"45":9198954107050199040},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:12:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:12:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:12:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764118528001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:12:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:12:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:12:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065591189372928,"km_value":274065591189372.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:12:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050199040,"description":"Unknown IO ID 45"} 
[2026-04-17 16:12:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764118528001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9198954107050199040}} 
[2026-04-17 16:12:05] local.INFO: DEBUG: GPS processor result {"connection_id":46000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22082,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:12:05] local.INFO: GPS data processed {"connection_id":46000,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:12:05] local.INFO: Acknowledgment sent {"connection_id":46000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:12:21] local.INFO: TCP Data received {"connection_id":45900,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:12:21] local.INFO: Processing buffer {"connection_id":45900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:12:21] local.INFO: IMEI packet received {"connection_id":45900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":45900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:12:27] local.INFO: TCP Data received {"connection_id":45900,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:12:27] local.INFO: Processing buffer {"connection_id":45900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:12:27] local.INFO: IMEI packet received {"connection_id":45900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":45900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:12:28] local.INFO: TCP Data received {"connection_id":45900,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b055070012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b055070012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:12:28] local.INFO: Processing buffer {"connection_id":45900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b055070012d181d400721ae40004e00cb2b..."} 
[2026-04-17 16:12:28] local.INFO: Packet analysis {"connection_id":45900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:12:28] local.INFO: Extracted packet for processing {"connection_id":45900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647808,"longitude_deg":75.6555072,"latitude_deg":11.9647808,"altitude":78,"angle":203,"satellites":43,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764105984001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272967793737728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608896000,"note":"Value kept but may cause issues"} 
[2026-04-17 16:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776422310000,"timestamp_ms":1776422310000,"timestamp_seconds":1776422310,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b055070"} 
[2026-04-17 16:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16128,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":48,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 16:12:28] 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-04-17 16: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-04-17 16:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764105984001,"66":12428,"105":206,"83":41984,"24":0,"16":113272967793737728,"45":1737615430608896000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764105984001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:12:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:12:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272967793737728,"km_value":113272967793737.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608896000,"description":"Unknown IO ID 45"} 
[2026-04-17 16:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764105984001,"power":12428,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608896000}} 
[2026-04-17 16:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":45900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:12:28] local.INFO: GPS data processed {"connection_id":45900,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:12:28] local.INFO: Acknowledgment sent {"connection_id":45900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:12:51] local.INFO: TCP Data received {"connection_id":46228,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:12:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:12:51] local.INFO: Processing buffer {"connection_id":46228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:12:51] local.INFO: IMEI packet received {"connection_id":46228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:12:51] local.INFO: IMEI acknowledgment sent {"connection_id":46228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:12:55] local.INFO: TCP Data received {"connection_id":46228,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:12:55] local.INFO: Processing buffer {"connection_id":46228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:12:55] local.INFO: IMEI packet received {"connection_id":46228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":46228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:12:56] local.INFO: TCP Data received {"connection_id":46228,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b05c5a0012d7fa9c005afd9e0000800152f..."} 
[2026-04-17 16:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b05c5a0012d7fa9c005afd9e0000800152f..."} 
[2026-04-17 16:12:56] local.INFO: Processing buffer {"connection_id":46228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b05c5a0012d7fa9c005afd9e0000800152f..."} 
[2026-04-17 16:12:56] local.INFO: Packet analysis {"connection_id":46228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:12:56] local.INFO: Extracted packet for processing {"connection_id":46228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:12:56] local.INFO: GPS Element Parsed {"raw_longitude":763341248,"raw_latitude":95410656,"longitude_deg":76.3341248,"latitude_deg":9.5410656,"altitude":8,"angle":21,"satellites":47,"speed":6,"hex_longitude":"2d7fa9c0","hex_latitude":"05afd9e0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764118784001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065599779307520,"note":"Value kept but may cause issues"} 
[2026-04-17 16:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198954107050219520,"note":"Value kept but may cause issues"} 
[2026-04-17 16:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776422340000,"timestamp_ms":1776422340000,"timestamp_seconds":1776422340,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b05c5a0"} 
[2026-04-17 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-04-17 16:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-17 16:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 16:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:12:56] 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-04-17 16:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764118784001,"66":27767,"250":206,"85":12544,"24":6,"16":274065599779307520,"45":9198954107050219520},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764118784001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:12:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:12:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065599779307520,"km_value":274065599779307.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198954107050219520,"description":"Unknown IO ID 45"} 
[2026-04-17 16:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764118784001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9198954107050219520}} 
[2026-04-17 16:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":46228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:12:56] local.INFO: GPS data processed {"connection_id":46228,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:12:56] local.INFO: Acknowledgment sent {"connection_id":46228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:12:58] local.INFO: TCP Data received {"connection_id":45900,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b05a278012d181d400721ae40004e00cb2a..."} 
[2026-04-17 16:12:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45900,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b05a278012d181d400721ae40004e00cb2a..."} 
[2026-04-17 16:12:58] local.INFO: Processing buffer {"connection_id":45900,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b05a278012d181d400721ae40004e00cb2a..."} 
[2026-04-17 16:12:58] local.INFO: Packet analysis {"connection_id":45900,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:12:58] local.INFO: Extracted packet for processing {"connection_id":45900,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:12:58] local.INFO: GPS Element Parsed {"raw_longitude":756555072,"raw_latitude":119647808,"longitude_deg":75.6555072,"latitude_deg":11.9647808,"altitude":78,"angle":203,"satellites":42,"speed":0,"hex_longitude":"2d181d40","hex_latitude":"0721ae40","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:12:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764111360001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:12:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272967793737728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:12:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608896000,"note":"Value kept but may cause issues"} 
[2026-04-17 16:12:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:12:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776422331000,"timestamp_ms":1776422331000,"timestamp_seconds":1776422331,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b05a278"} 
[2026-04-17 16:12:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:12:58] 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-04-17 16:12:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 16:12: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-04-17 16: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-04-17 16:12:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:12:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:12:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45900,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:12:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:12:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45900,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:12:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:12:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:12:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:12:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764111360001,"66":12374,"105":206,"83":41984,"24":0,"16":113272967793737728,"45":1737615430608896000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:12:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:12:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:12:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764111360001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:12:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:12:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:12:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272967793737728,"km_value":113272967793737.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:12:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608896000,"description":"Unknown IO ID 45"} 
[2026-04-17 16:12:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764111360001,"power":12374,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1737615430608896000}} 
[2026-04-17 16:12:58] local.INFO: DEBUG: GPS processor result {"connection_id":45900,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22085,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:12:58] local.INFO: GPS data processed {"connection_id":45900,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:12:58] local.INFO: Acknowledgment sent {"connection_id":45900,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:13:01] local.INFO: TCP Data received {"connection_id":46228,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b05e0f8012d7faac005afddf8000800082e..."} 
[2026-04-17 16:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b05e0f8012d7faac005afddf8000800082e..."} 
[2026-04-17 16:13:01] local.INFO: Processing buffer {"connection_id":46228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b05e0f8012d7faac005afddf8000800082e..."} 
[2026-04-17 16:13:01] local.INFO: Packet analysis {"connection_id":46228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:13:01] local.INFO: Extracted packet for processing {"connection_id":46228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95411704,"longitude_deg":76.3341504,"latitude_deg":9.5411704,"altitude":8,"angle":8,"satellites":46,"speed":4,"hex_longitude":"2d7faac0","hex_latitude":"05afddf8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764119040001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065655613882368,"note":"Value kept but may cause issues"} 
[2026-04-17 16:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199094844538609664,"note":"Value kept but may cause issues"} 
[2026-04-17 16:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776422347000,"timestamp_ms":1776422347000,"timestamp_seconds":1776422347,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b05e0f8"} 
[2026-04-17 16:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":119,"data_length":795,"current_offset":136} 
[2026-04-17 16:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:13: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-04-17 16:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764119040001,"66":27691,"250":206,"85":12544,"24":4,"16":274065655613882368,"45":9199094844538609664},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764119040001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:13:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065655613882368,"km_value":274065655613882.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199094844538609664,"description":"Unknown IO ID 45"} 
[2026-04-17 16:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764119040001,"power":27691,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9199094844538609664}} 
[2026-04-17 16:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":46228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22086,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:13:01] local.INFO: GPS data processed {"connection_id":46228,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:13:01] local.INFO: Acknowledgment sent {"connection_id":46228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:13:19] local.INFO: TCP Data received {"connection_id":46001,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:13:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:13:19] local.INFO: Processing buffer {"connection_id":46001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:13:19] local.INFO: IMEI packet received {"connection_id":46001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:13:19] local.INFO: IMEI acknowledgment sent {"connection_id":46001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:13:21] local.INFO: TCP Data received {"connection_id":46001,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:13:21] local.INFO: Processing buffer {"connection_id":46001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:13:21] local.INFO: IMEI packet received {"connection_id":46001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":46001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:13:27] local.INFO: TCP Data received {"connection_id":46001,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:13:27] local.INFO: Processing buffer {"connection_id":46001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:13:27] local.INFO: IMEI packet received {"connection_id":46001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":46001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:13:27] local.INFO: TCP Data received {"connection_id":46001,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b091160012d181cc00721acb8004d00b829..."} 
[2026-04-17 16:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b091160012d181cc00721acb8004d00b829..."} 
[2026-04-17 16:13:27] local.INFO: Processing buffer {"connection_id":46001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b091160012d181cc00721acb8004d00b829..."} 
[2026-04-17 16:13:27] local.INFO: Packet analysis {"connection_id":46001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b09"} 
[2026-04-17 16:13:27] local.INFO: Extracted packet for processing {"connection_id":46001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b09"} 
[2026-04-17 16:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647416,"longitude_deg":75.6554944,"latitude_deg":11.9647416,"altitude":77,"angle":184,"satellites":41,"speed":3,"hex_longitude":"2d181cc0","hex_latitude":"0721acb8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764170496001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272989268574208,"note":"Value kept but may cause issues"} 
[2026-04-17 16:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737615430608896000,"note":"Value kept but may cause issues"} 
[2026-04-17 16:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776422556000,"timestamp_ms":1776422556000,"timestamp_seconds":1776422556,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b091160"} 
[2026-04-17 16:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:13:27] 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-04-17 16: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":53,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-17 16:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2731,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764170496001,"66":13004,"105":206,"83":41984,"24":3,"16":113272989268574208,"45":1737615430608896000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764170496001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:13:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:13:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272989268574208,"km_value":113272989268574.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737615430608896000,"description":"Unknown IO ID 45"} 
[2026-04-17 16:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764170496001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1737615430608896000}} 
[2026-04-17 16:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":46001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:13:27] local.INFO: GPS data processed {"connection_id":46001,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:13:27] local.INFO: Acknowledgment sent {"connection_id":46001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:13:33] local.INFO: TCP Data received {"connection_id":46228,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b05e8c8012d7faac005afdec0000801652e..."} 
[2026-04-17 16:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b05e8c8012d7faac005afdec0000801652e..."} 
[2026-04-17 16:13:33] local.INFO: Processing buffer {"connection_id":46228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b05e8c8012d7faac005afdec0000801652e..."} 
[2026-04-17 16:13:33] local.INFO: Packet analysis {"connection_id":46228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:13:33] local.INFO: Extracted packet for processing {"connection_id":46228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:13:33] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95411904,"longitude_deg":76.3341504,"latitude_deg":9.5411904,"altitude":8,"angle":357,"satellites":46,"speed":4,"hex_longitude":"2d7faac0","hex_latitude":"05afdec0","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764120832001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065664203816960,"note":"Value kept but may cause issues"} 
[2026-04-17 16:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515588608,"note":"Value kept but may cause issues"} 
[2026-04-17 16:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776422349000,"timestamp_ms":1776422349000,"timestamp_seconds":1776422349,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b05e8c8"} 
[2026-04-17 16:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":43,"data_length":795,"current_offset":136} 
[2026-04-17 16:13: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-04-17 16: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-04-17 16:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:13:33] 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-04-17 16:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764120832001,"66":27615,"250":206,"85":12544,"24":4,"16":274065664203816960,"45":9199376319515588608},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764120832001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:13:33] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:13:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065664203816960,"km_value":274065664203816.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515588608,"description":"Unknown IO ID 45"} 
[2026-04-17 16:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764120832001,"power":27615,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9199376319515588608}} 
[2026-04-17 16:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":46228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:13:33] local.INFO: GPS data processed {"connection_id":46228,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:13:33] local.INFO: Acknowledgment sent {"connection_id":46228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:13:50] local.INFO: TCP Data received {"connection_id":46751,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:13:50] local.INFO: Processing buffer {"connection_id":46751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:13:50] local.INFO: IMEI packet received {"connection_id":46751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":46751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:13:55] local.INFO: TCP Data received {"connection_id":46751,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46751,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:13:55] local.INFO: Processing buffer {"connection_id":46751,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:13:55] local.INFO: IMEI packet received {"connection_id":46751,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":46751,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:13:56] local.INFO: TCP Data received {"connection_id":46751,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b05f098012d7faac005afdf80000800012e..."} 
[2026-04-17 16:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b05f098012d7faac005afdf80000800012e..."} 
[2026-04-17 16:13:56] local.INFO: Processing buffer {"connection_id":46751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b05f098012d7faac005afdf80000800012e..."} 
[2026-04-17 16:13:56] local.INFO: Packet analysis {"connection_id":46751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:13:56] local.INFO: Extracted packet for processing {"connection_id":46751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:13:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412096,"longitude_deg":76.3341504,"latitude_deg":9.5412096,"altitude":8,"angle":1,"satellites":46,"speed":4,"hex_longitude":"2d7faac0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-04-17 16:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764121344001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515639808,"note":"Value kept but may cause issues"} 
[2026-04-17 16:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776422351000,"timestamp_ms":1776422351000,"timestamp_seconds":1776422351,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b05f098"} 
[2026-04-17 16:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-17 16:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:13:56] 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-04-17 16:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764121344001,"66":27919,"250":206,"85":12544,"24":4,"16":274065672793751552,"45":9199376319515639808},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764121344001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:13:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:13:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515639808,"description":"Unknown IO ID 45"} 
[2026-04-17 16:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764121344001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9199376319515639808}} 
[2026-04-17 16:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":46751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22089,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:13:56] local.INFO: GPS data processed {"connection_id":46751,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:13:56] local.INFO: Acknowledgment sent {"connection_id":46751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:13:58] local.INFO: TCP Data received {"connection_id":46001,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b091548012d181cc00721ac48004d00a529..."} 
[2026-04-17 16:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b091548012d181cc00721ac48004d00a529..."} 
[2026-04-17 16:13:58] local.INFO: Processing buffer {"connection_id":46001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b091548012d181cc00721ac48004d00a529..."} 
[2026-04-17 16:13:58] local.INFO: Packet analysis {"connection_id":46001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b09"} 
[2026-04-17 16:13:58] local.INFO: Extracted packet for processing {"connection_id":46001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b09"} 
[2026-04-17 16:13:58] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119647304,"longitude_deg":75.6554944,"latitude_deg":11.9647304,"altitude":77,"angle":165,"satellites":41,"speed":5,"hex_longitude":"2d181cc0","hex_latitude":"0721ac48","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764174336001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113272993563541504,"note":"Value kept but may cause issues"} 
[2026-04-17 16:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120440320,"note":"Value kept but may cause issues"} 
[2026-04-17 16:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776422557000,"timestamp_ms":1776422557000,"timestamp_seconds":1776422557,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b091548"} 
[2026-04-17 16:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:13:58] 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-04-17 16: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":204,"data_length":795,"current_offset":136} 
[2026-04-17 16:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764174336001,"66":12950,"105":206,"83":41984,"24":5,"16":113272993563541504,"45":1737474693120440320},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764174336001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:13:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:13:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113272993563541504,"km_value":113272993563541.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120440320,"description":"Unknown IO ID 45"} 
[2026-04-17 16:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764174336001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1737474693120440320}} 
[2026-04-17 16:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":46001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22090,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:13:59] local.INFO: GPS data processed {"connection_id":46001,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:13:59] local.INFO: Acknowledgment sent {"connection_id":46001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:14:21] local.INFO: TCP Data received {"connection_id":45901,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:14:21] local.INFO: Processing buffer {"connection_id":45901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:14:21] local.INFO: IMEI packet received {"connection_id":45901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":45901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:14:23] local.INFO: TCP Data received {"connection_id":45901,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:14:23] local.INFO: Processing buffer {"connection_id":45901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:14:23] local.INFO: IMEI packet received {"connection_id":45901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":45901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:14:27] local.INFO: TCP Data received {"connection_id":45901,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45901,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:14:27] local.INFO: Processing buffer {"connection_id":45901,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:14:27] local.INFO: IMEI packet received {"connection_id":45901,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":45901,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:14:27] local.INFO: TCP Data received {"connection_id":45901,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b092100012d181dc00721aa58004d00922b..."} 
[2026-04-17 16:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b092100012d181dc00721aa58004d00922b..."} 
[2026-04-17 16:14:27] local.INFO: Processing buffer {"connection_id":45901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b092100012d181dc00721aa58004d00922b..."} 
[2026-04-17 16:14:27] local.INFO: Packet analysis {"connection_id":45901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b09"} 
[2026-04-17 16:14:27] local.INFO: Extracted packet for processing {"connection_id":45901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b09"} 
[2026-04-17 16:14:27] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646808,"longitude_deg":75.65552,"latitude_deg":11.9646808,"altitude":77,"angle":146,"satellites":43,"speed":9,"hex_longitude":"2d181dc0","hex_latitude":"0721aa58","is_valid_coordinates":true} 
[2026-04-17 16:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764174592001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113273019333345280,"note":"Value kept but may cause issues"} 
[2026-04-17 16:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120411648,"note":"Value kept but may cause issues"} 
[2026-04-17 16:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776422560000,"timestamp_ms":1776422560000,"timestamp_seconds":1776422560,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b092100"} 
[2026-04-17 16:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:14:27] 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-04-17 16:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 16:14:27] 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-04-17 16:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764174592001,"66":12950,"105":206,"83":41984,"24":9,"16":113273019333345280,"45":1737474693120411648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764174592001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:14:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:14:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113273019333345280,"km_value":113273019333345.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120411648,"description":"Unknown IO ID 45"} 
[2026-04-17 16:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764174592001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737474693120411648}} 
[2026-04-17 16:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":45901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:14:27] local.INFO: GPS data processed {"connection_id":45901,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:14:27] local.INFO: Acknowledgment sent {"connection_id":45901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:14:28] local.INFO: TCP Data received {"connection_id":46751,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b05f098012d7faac005afdf80000800012e..."} 
[2026-04-17 16:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46751,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b05f098012d7faac005afdf80000800012e..."} 
[2026-04-17 16:14:28] local.INFO: Processing buffer {"connection_id":46751,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b05f098012d7faac005afdf80000800012e..."} 
[2026-04-17 16:14:28] local.INFO: Packet analysis {"connection_id":46751,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:14:28] local.INFO: Extracted packet for processing {"connection_id":46751,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b05"} 
[2026-04-17 16:14:28] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412096,"longitude_deg":76.3341504,"latitude_deg":9.5412096,"altitude":8,"angle":1,"satellites":46,"speed":4,"hex_longitude":"2d7faac0","hex_latitude":"05afdf80","is_valid_coordinates":true} 
[2026-04-17 16:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764121344001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515639808,"note":"Value kept but may cause issues"} 
[2026-04-17 16:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776422351000,"timestamp_ms":1776422351000,"timestamp_seconds":1776422351,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b05f098"} 
[2026-04-17 16:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:14: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-04-17 16:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-17 16:14:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2740,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46751,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46751,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764121344001,"66":27919,"250":206,"85":12544,"24":4,"16":274065672793751552,"45":9199376319515639808},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 16:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764121344001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:14:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 16:14:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515639808,"description":"Unknown IO ID 45"} 
[2026-04-17 16:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764121344001,"power":27919,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9199376319515639808}} 
[2026-04-17 16:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":46751,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22092,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:14:28] local.INFO: GPS data processed {"connection_id":46751,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:14:28] local.INFO: Acknowledgment sent {"connection_id":46751,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:14:50] local.INFO: TCP Data received {"connection_id":46230,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:14:50] local.INFO: Processing buffer {"connection_id":46230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:14:50] local.INFO: IMEI packet received {"connection_id":46230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":46230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:14:51] local.INFO: TCP Data received {"connection_id":46230,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:14:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:14:51] local.INFO: Processing buffer {"connection_id":46230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:14:51] local.INFO: IMEI packet received {"connection_id":46230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:14:51] local.INFO: IMEI acknowledgment sent {"connection_id":46230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:14:55] local.INFO: TCP Data received {"connection_id":46230,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46230,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:14:55] local.INFO: Processing buffer {"connection_id":46230,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:14:55] local.INFO: IMEI packet received {"connection_id":46230,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":46230,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:14:56] local.INFO: TCP Data received {"connection_id":46230,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:14:56] local.INFO: Processing buffer {"connection_id":46230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:14:56] local.INFO: Packet analysis {"connection_id":46230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:14:56] local.INFO: Extracted packet for processing {"connection_id":46230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764121856001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515688960,"note":"Value kept but may cause issues"} 
[2026-04-17 16:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776422653000,"timestamp_ms":1776422653000,"timestamp_seconds":1776422653,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0a8c48"} 
[2026-04-17 16:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 16:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:14:56] 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-04-17 16:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764121856001,"66":25941,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515688960},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764121856001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:14:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515688960,"description":"Unknown IO ID 45"} 
[2026-04-17 16:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764121856001,"power":25941,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515688960}} 
[2026-04-17 16:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":46230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22093,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:14:56] local.INFO: GPS data processed {"connection_id":46230,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:14:56] local.INFO: Acknowledgment sent {"connection_id":46230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:14:58] local.INFO: TCP Data received {"connection_id":45901,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0928d0012d181f400721a8b0004d008329..."} 
[2026-04-17 16:14:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0928d0012d181f400721a8b0004d008329..."} 
[2026-04-17 16:14:58] local.INFO: Processing buffer {"connection_id":45901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0928d0012d181f400721a8b0004d008329..."} 
[2026-04-17 16:14:58] local.INFO: Packet analysis {"connection_id":45901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b09"} 
[2026-04-17 16:14:58] local.INFO: Extracted packet for processing {"connection_id":45901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b09"} 
[2026-04-17 16:14:58] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646384,"longitude_deg":75.6555584,"latitude_deg":11.9646384,"altitude":77,"angle":131,"satellites":41,"speed":12,"hex_longitude":"2d181f40","hex_latitude":"0721a8b0","is_valid_coordinates":true} 
[2026-04-17 16:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:14:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764175360001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:14:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113273049398116352,"note":"Value kept but may cause issues"} 
[2026-04-17 16:14:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096995328,"note":"Value kept but may cause issues"} 
[2026-04-17 16:14:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:14:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776422562000,"timestamp_ms":1776422562000,"timestamp_seconds":1776422562,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0928d0"} 
[2026-04-17 16:14:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:14:58] 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-04-17 16:14:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 16:14: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-04-17 16:14:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:14:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:14:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:14:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:14:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:14:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45901,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:14:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:14:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:14:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:14:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764175360001,"66":12982,"105":206,"83":41984,"24":12,"16":113273049398116352,"45":1737756168096995328},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:14:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:14:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:14:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764175360001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:14:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:14:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:14:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113273049398116352,"km_value":113273049398116.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:14:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096995328,"description":"Unknown IO ID 45"} 
[2026-04-17 16:14:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764175360001,"power":12982,"unknown_105":206,"unknown_83":41984,"ignition":12,"odometer":null,"unknown_45":1737756168096995328}} 
[2026-04-17 16:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":45901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:14:59] local.INFO: GPS data processed {"connection_id":45901,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:14:59] local.INFO: Acknowledgment sent {"connection_id":45901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:15:21] local.INFO: TCP Data received {"connection_id":46752,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:15:21] local.INFO: Processing buffer {"connection_id":46752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:15:21] local.INFO: IMEI packet received {"connection_id":46752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":46752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:15:27] local.INFO: TCP Data received {"connection_id":46752,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46752,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:15:27] local.INFO: Processing buffer {"connection_id":46752,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:15:27] local.INFO: IMEI packet received {"connection_id":46752,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:15:27] local.INFO: IMEI acknowledgment sent {"connection_id":46752,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:15:27] local.INFO: TCP Data received {"connection_id":46230,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46230,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:15:27] local.INFO: Processing buffer {"connection_id":46230,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:15:27] local.INFO: Packet analysis {"connection_id":46230,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:15:27] local.INFO: Extracted packet for processing {"connection_id":46230,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764121856001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515688960,"note":"Value kept but may cause issues"} 
[2026-04-17 16:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776422653000,"timestamp_ms":1776422653000,"timestamp_seconds":1776422653,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0a8c48"} 
[2026-04-17 16:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 16:15: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-04-17 16:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46230,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46230,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764121856001,"66":25941,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515688960},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764121856001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:15:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515688960,"description":"Unknown IO ID 45"} 
[2026-04-17 16:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764121856001,"power":25941,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515688960}} 
[2026-04-17 16:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":46230,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22095,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:15:27] local.INFO: GPS data processed {"connection_id":46230,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:15:27] local.INFO: Acknowledgment sent {"connection_id":46230,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:15:28] local.INFO: TCP Data received {"connection_id":46752,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b097308012d182ac007219cd8004f009028..."} 
[2026-04-17 16:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b097308012d182ac007219cd8004f009028..."} 
[2026-04-17 16:15:28] local.INFO: Processing buffer {"connection_id":46752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b097308012d182ac007219cd8004f009028..."} 
[2026-04-17 16:15:28] local.INFO: Packet analysis {"connection_id":46752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b09"} 
[2026-04-17 16:15:28] local.INFO: Extracted packet for processing {"connection_id":46752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b09"} 
[2026-04-17 16:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756558528,"raw_latitude":119643352,"longitude_deg":75.6558528,"latitude_deg":11.9643352,"altitude":79,"angle":144,"satellites":40,"speed":16,"hex_longitude":"2d182ac0","hex_latitude":"07219cd8","is_valid_coordinates":true} 
[2026-04-17 16:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764175872001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113273255556546560,"note":"Value kept but may cause issues"} 
[2026-04-17 16:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561952768,"note":"Value kept but may cause issues"} 
[2026-04-17 16:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776422581000,"timestamp_ms":1776422581000,"timestamp_seconds":1776422581,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b097308"} 
[2026-04-17 16:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:15:28] 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-04-17 16:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-04-17 16:15:28] 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-04-17 16:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764175872001,"66":12885,"105":206,"83":41984,"24":16,"16":113273255556546560,"45":1738178380561952768},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764175872001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:15:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:15:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113273255556546560,"km_value":113273255556546.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561952768,"description":"Unknown IO ID 45"} 
[2026-04-17 16:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764175872001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":16,"odometer":null,"unknown_45":1738178380561952768}} 
[2026-04-17 16:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":46752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:15:28] local.INFO: GPS data processed {"connection_id":46752,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:15:28] local.INFO: Acknowledgment sent {"connection_id":46752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:15:55] local.INFO: TCP Data received {"connection_id":45902,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:15:55] local.INFO: Processing buffer {"connection_id":45902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:15:55] local.INFO: IMEI packet received {"connection_id":45902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":45902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:15:59] local.INFO: TCP Data received {"connection_id":46752,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b097ec0012d182d4007219a080050007b28..."} 
[2026-04-17 16:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46752,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b097ec0012d182d4007219a080050007b28..."} 
[2026-04-17 16:15:59] local.INFO: Processing buffer {"connection_id":46752,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b097ec0012d182d4007219a080050007b28..."} 
[2026-04-17 16:15:59] local.INFO: Packet analysis {"connection_id":46752,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b09"} 
[2026-04-17 16:15:59] local.INFO: Extracted packet for processing {"connection_id":46752,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b09"} 
[2026-04-17 16:15:59] local.INFO: GPS Element Parsed {"raw_longitude":756559168,"raw_latitude":119642632,"longitude_deg":75.6559168,"latitude_deg":11.9642632,"altitude":80,"angle":123,"satellites":40,"speed":7,"hex_longitude":"2d182d40","hex_latitude":"07219a08","is_valid_coordinates":true} 
[2026-04-17 16:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764180736001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113273298506219520,"note":"Value kept but may cause issues"} 
[2026-04-17 16:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741415342793349120,"note":"Value kept but may cause issues"} 
[2026-04-17 16:15:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776422584000,"timestamp_ms":1776422584000,"timestamp_seconds":1776422584,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b097ec0"} 
[2026-04-17 16:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:15:59] 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-04-17 16:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 16:15: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-04-17 16:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46752,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46752,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764180736001,"66":12852,"105":206,"83":41984,"24":7,"16":113273298506219520,"45":1741415342793349120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764180736001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:15:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:15:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113273298506219520,"km_value":113273298506219.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741415342793349120,"description":"Unknown IO ID 45"} 
[2026-04-17 16:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764180736001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1741415342793349120}} 
[2026-04-17 16:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":46752,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:15:59] local.INFO: GPS data processed {"connection_id":46752,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:15:59] local.INFO: Acknowledgment sent {"connection_id":46752,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:16:00] local.INFO: TCP Data received {"connection_id":45902,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45902,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:16:00] local.INFO: Processing buffer {"connection_id":45902,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:16:00] local.INFO: IMEI packet received {"connection_id":45902,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:16:00] local.INFO: IMEI acknowledgment sent {"connection_id":45902,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:16:01] local.INFO: TCP Data received {"connection_id":45902,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:16:01] local.INFO: Processing buffer {"connection_id":45902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:16:01] local.INFO: Packet analysis {"connection_id":45902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:16:01] local.INFO: Extracted packet for processing {"connection_id":45902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:16:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764121856001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515688960,"note":"Value kept but may cause issues"} 
[2026-04-17 16:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776422653000,"timestamp_ms":1776422653000,"timestamp_seconds":1776422653,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0a8c48"} 
[2026-04-17 16:16:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:16:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:16:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 16:16: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-04-17 16: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-04-17 16:16:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:16: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-04-17 16:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764121856001,"66":25941,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515688960},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764121856001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:16:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:16:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515688960,"description":"Unknown IO ID 45"} 
[2026-04-17 16:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764121856001,"power":25941,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515688960}} 
[2026-04-17 16:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":45902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22098,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:16:01] local.INFO: GPS data processed {"connection_id":45902,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:16:01] local.INFO: Acknowledgment sent {"connection_id":45902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:16:05] local.INFO: TCP Data received {"connection_id":45902,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:16:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45902,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:16:05] local.INFO: Processing buffer {"connection_id":45902,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:16:05] local.INFO: Packet analysis {"connection_id":45902,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:16:05] local.INFO: Extracted packet for processing {"connection_id":45902,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:16:05] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:16:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764121856001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:16:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:16:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515688960,"note":"Value kept but may cause issues"} 
[2026-04-17 16:16:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:16:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776422653000,"timestamp_ms":1776422653000,"timestamp_seconds":1776422653,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0a8c48"} 
[2026-04-17 16:16:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:16:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16: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-04-17 16: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-04-17 16:16:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:16:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:16:05] local.INFO: Teltonika packet parsed successfully {"connection_id":45902,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:16:05] local.INFO: Passing IMEI to GPS processor {"connection_id":45902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:16:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":45902,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:16:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:16:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:16:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:16:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764121856001,"66":25941,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515688960},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:16:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:16:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:16:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764121856001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:16:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:16:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:16:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:16:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515688960,"description":"Unknown IO ID 45"} 
[2026-04-17 16:16:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764121856001,"power":25941,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515688960}} 
[2026-04-17 16:16:05] local.INFO: DEBUG: GPS processor result {"connection_id":45902,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22099,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:16:05] local.INFO: GPS data processed {"connection_id":45902,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:16:05] local.INFO: Acknowledgment sent {"connection_id":45902,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:16:21] local.INFO: TCP Data received {"connection_id":46003,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:16:21] local.INFO: Processing buffer {"connection_id":46003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:16:21] local.INFO: IMEI packet received {"connection_id":46003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":46003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:16:23] local.INFO: TCP Data received {"connection_id":46003,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:16:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:16:23] local.INFO: Processing buffer {"connection_id":46003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:16:23] local.INFO: IMEI packet received {"connection_id":46003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:16:23] local.INFO: IMEI acknowledgment sent {"connection_id":46003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:16:27] local.INFO: TCP Data received {"connection_id":46003,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:16:27] local.INFO: Processing buffer {"connection_id":46003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:16:27] local.INFO: IMEI packet received {"connection_id":46003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:16:27] local.INFO: IMEI acknowledgment sent {"connection_id":46003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:16:28] local.INFO: TCP Data received {"connection_id":46003,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0b95e8012d18ad0007217240004e007c25..."} 
[2026-04-17 16:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0b95e8012d18ad0007217240004e007c25..."} 
[2026-04-17 16:16:28] local.INFO: Processing buffer {"connection_id":46003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0b95e8012d18ad0007217240004e007c25..."} 
[2026-04-17 16:16:28] local.INFO: Packet analysis {"connection_id":46003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0b"} 
[2026-04-17 16:16:28] local.INFO: Extracted packet for processing {"connection_id":46003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0b"} 
[2026-04-17 16:16:28] local.INFO: GPS Element Parsed {"raw_longitude":756591872,"raw_latitude":119632448,"longitude_deg":75.6591872,"latitude_deg":11.9632448,"altitude":78,"angle":124,"satellites":37,"speed":31,"hex_longitude":"2d18ad00","hex_latitude":"07217240","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:16:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764213760001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:16:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113274956363595776,"note":"Value kept but may cause issues"} 
[2026-04-17 16:16:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1768085096834834432,"note":"Value kept but may cause issues"} 
[2026-04-17 16:16:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:16:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776422721000,"timestamp_ms":1776422721000,"timestamp_seconds":1776422721,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0b95e8"} 
[2026-04-17 16:16:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:16:28] 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-04-17 16: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-17 16:16:28] 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-04-17 16: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-04-17 16:16:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:16:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:16:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:16:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:16:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:16:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:16:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:16:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:16:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764213760001,"66":14233,"106":206,"83":41984,"24":31,"16":113274956363595776,"45":1768085096834834432},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:16:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:16:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:16:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764213760001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:16:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:16:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:16:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113274956363595776,"km_value":113274956363595.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:16:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1768085096834834432,"description":"Unknown IO ID 45"} 
[2026-04-17 16:16:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764213760001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1768085096834834432}} 
[2026-04-17 16:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":46003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:16:28] local.INFO: GPS data processed {"connection_id":46003,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:16:28] local.INFO: Acknowledgment sent {"connection_id":46003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:16:39] local.INFO: TCP Data received {"connection_id":45903,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:16:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:16:39] local.INFO: Processing buffer {"connection_id":45903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:16:39] local.INFO: IMEI packet received {"connection_id":45903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:16:39] local.INFO: IMEI acknowledgment sent {"connection_id":45903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:16:50] local.INFO: TCP Data received {"connection_id":45904,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:16:50] local.INFO: Processing buffer {"connection_id":45904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:16:50] local.INFO: IMEI packet received {"connection_id":45904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":45904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:16:55] local.INFO: TCP Data received {"connection_id":45904,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45904,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:16:55] local.INFO: Processing buffer {"connection_id":45904,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:16:55] local.INFO: IMEI packet received {"connection_id":45904,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":45904,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:16:56] local.INFO: TCP Data received {"connection_id":45904,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:16:56] local.INFO: Processing buffer {"connection_id":45904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:16:56] local.INFO: Packet analysis {"connection_id":45904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:16:56] local.INFO: Extracted packet for processing {"connection_id":45904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764121856001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515688960,"note":"Value kept but may cause issues"} 
[2026-04-17 16:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776422653000,"timestamp_ms":1776422653000,"timestamp_seconds":1776422653,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0a8c48"} 
[2026-04-17 16:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 16:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764121856001,"66":25941,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515688960},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764121856001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:16:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515688960,"description":"Unknown IO ID 45"} 
[2026-04-17 16:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764121856001,"power":25941,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515688960}} 
[2026-04-17 16:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":45904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22101,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:16:56] local.INFO: GPS data processed {"connection_id":45904,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:16:56] local.INFO: Acknowledgment sent {"connection_id":45904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:16:59] local.INFO: TCP Data received {"connection_id":46003,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0c5168012d1906c00720cb580037007c28..."} 
[2026-04-17 16:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0c5168012d1906c00720cb580037007c28..."} 
[2026-04-17 16:16:59] local.INFO: Processing buffer {"connection_id":46003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0c5168012d1906c00720cb580037007c28..."} 
[2026-04-17 16:16:59] local.INFO: Packet analysis {"connection_id":46003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0c"} 
[2026-04-17 16:16:59] local.INFO: Extracted packet for processing {"connection_id":46003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0c"} 
[2026-04-17 16:16:59] local.INFO: GPS Element Parsed {"raw_longitude":756614848,"raw_latitude":119589720,"longitude_deg":75.6614848,"latitude_deg":11.958972,"altitude":55,"angle":124,"satellites":40,"speed":45,"hex_longitude":"2d1906c0","hex_latitude":"0720cb58","is_valid_coordinates":true} 
[2026-04-17 16:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764227584001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113277395905019904,"note":"Value kept but may cause issues"} 
[2026-04-17 16:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1798484394308556800,"note":"Value kept but may cause issues"} 
[2026-04-17 16:16:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776422769000,"timestamp_ms":1776422769000,"timestamp_seconds":1776422769,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0c5168"} 
[2026-04-17 16:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:16:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-17 16:16:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:16:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764227584001,"66":14265,"106":206,"83":41984,"24":45,"16":113277395905019904,"45":1798484394308556800},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764227584001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:16:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:16:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113277395905019904,"km_value":113277395905019.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1798484394308556800,"description":"Unknown IO ID 45"} 
[2026-04-17 16:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764227584001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1798484394308556800}} 
[2026-04-17 16:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":46003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:16:59] local.INFO: GPS data processed {"connection_id":46003,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:16:59] local.INFO: Acknowledgment sent {"connection_id":46003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:17:05] local.INFO: TCP Data received {"connection_id":46753,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46753,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:17:05] local.INFO: Processing buffer {"connection_id":46753,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:17:05] local.INFO: IMEI packet received {"connection_id":46753,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":46753,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:17:22] local.INFO: TCP Data received {"connection_id":46754,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:17:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:17:22] local.INFO: Processing buffer {"connection_id":46754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:17:22] local.INFO: IMEI packet received {"connection_id":46754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:17:22] local.INFO: IMEI acknowledgment sent {"connection_id":46754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:17:27] local.INFO: TCP Data received {"connection_id":46754,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:17:27] local.INFO: Processing buffer {"connection_id":46754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:17:27] local.INFO: IMEI packet received {"connection_id":46754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:17:27] local.INFO: IMEI acknowledgment sent {"connection_id":46754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:17:27] local.INFO: TCP Data received {"connection_id":45904,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45904,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:17:27] local.INFO: Processing buffer {"connection_id":45904,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:17:27] local.INFO: Packet analysis {"connection_id":45904,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:17:27] local.INFO: Extracted packet for processing {"connection_id":45904,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764121856001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515688960,"note":"Value kept but may cause issues"} 
[2026-04-17 16:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776422653000,"timestamp_ms":1776422653000,"timestamp_seconds":1776422653,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0a8c48"} 
[2026-04-17 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-04-17 16:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 16:17: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-04-17 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-04-17 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-04-17 16:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45904,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45904,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764121856001,"66":25941,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515688960},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764121856001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:17:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515688960,"description":"Unknown IO ID 45"} 
[2026-04-17 16:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764121856001,"power":25941,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515688960}} 
[2026-04-17 16:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":45904,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22103,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:17:27] local.INFO: GPS data processed {"connection_id":45904,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:17:27] local.INFO: Acknowledgment sent {"connection_id":45904,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:17:31] local.INFO: TCP Data received {"connection_id":46754,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46754,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:17:31] local.INFO: Processing buffer {"connection_id":46754,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:17:31] local.INFO: IMEI packet received {"connection_id":46754,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":46754,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:17:31] local.INFO: TCP Data received {"connection_id":46754,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0c5d20012d1913400720c4880034007127..."} 
[2026-04-17 16:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0c5d20012d1913400720c4880034007127..."} 
[2026-04-17 16:17:31] local.INFO: Processing buffer {"connection_id":46754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0c5d20012d1913400720c4880034007127..."} 
[2026-04-17 16:17:31] local.INFO: Packet analysis {"connection_id":46754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0c"} 
[2026-04-17 16:17:31] local.INFO: Extracted packet for processing {"connection_id":46754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0c"} 
[2026-04-17 16:17:31] local.INFO: GPS Element Parsed {"raw_longitude":756618048,"raw_latitude":119587976,"longitude_deg":75.6618048,"latitude_deg":11.9587976,"altitude":52,"angle":113,"satellites":39,"speed":51,"hex_longitude":"2d191340","hex_latitude":"0720c488","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:17:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764228864001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:17:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113277567703711744,"note":"Value kept but may cause issues"} 
[2026-04-17 16:17:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1803339837655963648,"note":"Value kept but may cause issues"} 
[2026-04-17 16:17:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:17:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776422772000,"timestamp_ms":1776422772000,"timestamp_seconds":1776422772,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0c5d20"} 
[2026-04-17 16:17:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:17:31] 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-04-17 16:17:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 16:17:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:17:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:17:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:17:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:17:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:17:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:17:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:17:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:17:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:17:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:17:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764228864001,"66":14243,"106":206,"83":41984,"24":51,"16":113277567703711744,"45":1803339837655963648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:17:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:17:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:17:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764228864001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:17:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:17:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:17:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113277567703711744,"km_value":113277567703711.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:17:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1803339837655963648,"description":"Unknown IO ID 45"} 
[2026-04-17 16:17:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764228864001,"power":14243,"unknown_106":206,"unknown_83":41984,"ignition":51,"odometer":null,"unknown_45":1803339837655963648}} 
[2026-04-17 16:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":46754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22104,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:17:32] local.INFO: GPS data processed {"connection_id":46754,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:17:32] local.INFO: Acknowledgment sent {"connection_id":46754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:17:32] local.INFO: TCP Data received {"connection_id":46754,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0c7878012d1936800720b6d80031007827..."} 
[2026-04-17 16:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0c7878012d1936800720b6d80031007827..."} 
[2026-04-17 16:17:32] local.INFO: Processing buffer {"connection_id":46754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0c7878012d1936800720b6d80031007827..."} 
[2026-04-17 16:17:32] local.INFO: Packet analysis {"connection_id":46754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0c"} 
[2026-04-17 16:17:32] local.INFO: Extracted packet for processing {"connection_id":46754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0c"} 
[2026-04-17 16:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756627072,"raw_latitude":119584472,"longitude_deg":75.6627072,"latitude_deg":11.9584472,"altitude":49,"angle":120,"satellites":39,"speed":54,"hex_longitude":"2d193680","hex_latitude":"0720b6d8","is_valid_coordinates":true} 
[2026-04-17 16:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764229632001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113278027265212416,"note":"Value kept but may cause issues"} 
[2026-04-17 16:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1806858274864400384,"note":"Value kept but may cause issues"} 
[2026-04-17 16:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776422779000,"timestamp_ms":1776422779000,"timestamp_seconds":1776422779,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0c7878"} 
[2026-04-17 16:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":163,"data_length":795,"current_offset":136} 
[2026-04-17 16:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1940,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764229632001,"66":13896,"106":206,"83":41984,"24":54,"16":113278027265212416,"45":1806858274864400384},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764229632001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:17:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:17:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113278027265212416,"km_value":113278027265212.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1806858274864400384,"description":"Unknown IO ID 45"} 
[2026-04-17 16:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764229632001,"power":13896,"unknown_106":206,"unknown_83":41984,"ignition":54,"odometer":null,"unknown_45":1806858274864400384}} 
[2026-04-17 16:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":46754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22105,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:17:32] local.INFO: GPS data processed {"connection_id":46754,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:17:32] local.INFO: Acknowledgment sent {"connection_id":46754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:17:50] local.INFO: TCP Data received {"connection_id":45905,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:17:50] local.INFO: Processing buffer {"connection_id":45905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:17:50] local.INFO: IMEI packet received {"connection_id":45905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":45905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:17:55] local.INFO: TCP Data received {"connection_id":45905,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45905,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:17:55] local.INFO: Processing buffer {"connection_id":45905,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:17:55] local.INFO: IMEI packet received {"connection_id":45905,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":45905,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:17:56] local.INFO: TCP Data received {"connection_id":45905,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:17:56] local.INFO: Processing buffer {"connection_id":45905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:17:56] local.INFO: Packet analysis {"connection_id":45905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:17:56] local.INFO: Extracted packet for processing {"connection_id":45905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:17:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764121856001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515688960,"note":"Value kept but may cause issues"} 
[2026-04-17 16:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776422653000,"timestamp_ms":1776422653000,"timestamp_seconds":1776422653,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0a8c48"} 
[2026-04-17 16:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:17:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 16:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764121856001,"66":25941,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515688960},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764121856001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:17:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515688960,"description":"Unknown IO ID 45"} 
[2026-04-17 16:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764121856001,"power":25941,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515688960}} 
[2026-04-17 16:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":45905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22106,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:17:56] local.INFO: GPS data processed {"connection_id":45905,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:17:56] local.INFO: Acknowledgment sent {"connection_id":45905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:18:03] local.INFO: TCP Data received {"connection_id":46754,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0d3bc8012d19ae8007208a30002e00ad22..."} 
[2026-04-17 16:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46754,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0d3bc8012d19ae8007208a30002e00ad22..."} 
[2026-04-17 16:18:03] local.INFO: Processing buffer {"connection_id":46754,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0d3bc8012d19ae8007208a30002e00ad22..."} 
[2026-04-17 16:18:03] local.INFO: Packet analysis {"connection_id":46754,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0d"} 
[2026-04-17 16:18:03] local.INFO: Extracted packet for processing {"connection_id":46754,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0d"} 
[2026-04-17 16:18:03] local.INFO: GPS Element Parsed {"raw_longitude":756657792,"raw_latitude":119573040,"longitude_deg":75.6657792,"latitude_deg":11.957304,"altitude":46,"angle":173,"satellites":34,"speed":38,"hex_longitude":"2d19ae80","hex_latitude":"07208a30","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764243968001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113280161863958528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896250974208,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:18:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776422829000,"timestamp_ms":1776422829000,"timestamp_seconds":1776422829,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0d3bc8"} 
[2026-04-17 16:18:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:18:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-17 16:18:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733139456,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:03] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2601323752,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":3489738009,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:03] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2743599154,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:03] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7893932736501514240,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:03] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505328138256384,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:03] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18638757918763626,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:03] local.WARNING: Large IO value detected {"io_id":113,"raw_value":4611949905517543680,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-17 16:18:03] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-8142500289258192841,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:03] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3103837546,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:03] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:03] local.WARNING: Large IO value detected {"io_id":72,"raw_value":84752196662927536,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:03] local.WARNING: Large IO value detected {"io_id":104,"raw_value":15200100351485952,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:03] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,115,51,45,192,145,48,34,10,66,32,64,158,49,38,28,1,240,5,227,155,4,113,205,25,187,120,36,239,55,2,146,7,30,206,72,104],"length":628,"final_offset":758,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-17 16:18:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3386911574976561152,"timestamp_seconds":3386911574976561.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 16:18:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:18:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:18:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46754,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:18:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:18:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46754,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:18:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:18:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:18:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:18:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764243968001,"66":14276,"106":206,"83":41984,"24":38,"16":113280161863958528,"45":1850486896250974208},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:18:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:18:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:18:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764243968001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:18:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:18:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:18:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113280161863958528,"km_value":113280161863958.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:18:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896250974208,"description":"Unknown IO ID 45"} 
[2026-04-17 16:18:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764243968001,"power":14276,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1850486896250974208}} 
[2026-04-17 16:18:03] local.INFO: DEBUG: GPS processor result {"connection_id":46754,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22107,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:18:03] local.INFO: GPS data processed {"connection_id":46754,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:18:03] local.INFO: Acknowledgment sent {"connection_id":46754,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:18:22] local.INFO: TCP Data received {"connection_id":46755,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:18:22] local.INFO: Processing buffer {"connection_id":46755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:18:22] local.INFO: IMEI packet received {"connection_id":46755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":46755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:18:22] local.INFO: TCP Data received {"connection_id":46755,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:18:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:18:22] local.INFO: Processing buffer {"connection_id":46755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:18:22] local.INFO: IMEI packet received {"connection_id":46755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:18:22] local.INFO: IMEI acknowledgment sent {"connection_id":46755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:18:25] local.INFO: TCP Data received {"connection_id":46755,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46755,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:18:25] local.INFO: Processing buffer {"connection_id":46755,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:18:25] local.INFO: IMEI packet received {"connection_id":46755,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":46755,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:18:25] local.INFO: TCP Data received {"connection_id":46755,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0d4f50012d19b34007207530002b00a220..."} 
[2026-04-17 16:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0d4f50012d19b34007207530002b00a220..."} 
[2026-04-17 16:18:25] local.INFO: Processing buffer {"connection_id":46755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0d4f50012d19b34007207530002b00a220..."} 
[2026-04-17 16:18:25] local.INFO: Packet analysis {"connection_id":46755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0d"} 
[2026-04-17 16:18:25] local.INFO: Extracted packet for processing {"connection_id":46755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0d"} 
[2026-04-17 16:18:26] local.INFO: GPS Element Parsed {"raw_longitude":756659008,"raw_latitude":119567664,"longitude_deg":75.6659008,"latitude_deg":11.9567664,"altitude":43,"angle":162,"satellites":32,"speed":46,"hex_longitude":"2d19b340","hex_latitude":"07207530","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764244224001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113280428151930880,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850557264994906112,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776422834000,"timestamp_ms":1776422834000,"timestamp_seconds":1776422834,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0d4f50"} 
[2026-04-17 16:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:18: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-04-17 16: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":55,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 16:18:26] 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-04-17 16: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-04-17 16:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764244224001,"66":14396,"106":206,"83":41984,"24":46,"16":113280428151930880,"45":1850557264994906112},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764244224001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:18:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:18:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113280428151930880,"km_value":113280428151930.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850557264994906112,"description":"Unknown IO ID 45"} 
[2026-04-17 16:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764244224001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1850557264994906112}} 
[2026-04-17 16:18:26] local.INFO: DEBUG: GPS processor result {"connection_id":46755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22108,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:18:26] local.INFO: GPS data processed {"connection_id":46755,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:18:26] local.INFO: Acknowledgment sent {"connection_id":46755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:18:27] local.INFO: TCP Data received {"connection_id":46755,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0d6e90012d19bc80072052a8002800ad21..."} 
[2026-04-17 16:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0d6e90012d19bc80072052a8002800ad21..."} 
[2026-04-17 16:18:27] local.INFO: Processing buffer {"connection_id":46755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0d6e90012d19bc80072052a8002800ad21..."} 
[2026-04-17 16:18:27] local.INFO: Packet analysis {"connection_id":46755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0d"} 
[2026-04-17 16:18:27] local.INFO: Extracted packet for processing {"connection_id":46755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0d"} 
[2026-04-17 16:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756661376,"raw_latitude":119558824,"longitude_deg":75.6661376,"latitude_deg":11.9558824,"altitude":40,"angle":173,"satellites":33,"speed":46,"hex_longitude":"2d19bc80","hex_latitude":"072052a8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764245504001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113280874828529664,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851894271132905472,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776422842000,"timestamp_ms":1776422842000,"timestamp_seconds":1776422842,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0d6e90"} 
[2026-04-17 16:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:18: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-04-17 16:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-17 16:18:27] 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-04-17 16:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764245504001,"66":14374,"106":206,"83":41984,"24":46,"16":113280874828529664,"45":1851894271132905472},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764245504001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:18:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:18:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113280874828529664,"km_value":113280874828529.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851894271132905472,"description":"Unknown IO ID 45"} 
[2026-04-17 16:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764245504001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":46,"odometer":null,"unknown_45":1851894271132905472}} 
[2026-04-17 16:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":46755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:18:27] local.INFO: GPS data processed {"connection_id":46755,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:18:27] local.INFO: Acknowledgment sent {"connection_id":46755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:18:27] local.INFO: TCP Data received {"connection_id":45905,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45905,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:18:27] local.INFO: Processing buffer {"connection_id":45905,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:18:27] local.INFO: Packet analysis {"connection_id":45905,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:18:27] local.INFO: Extracted packet for processing {"connection_id":45905,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764121856001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515688960,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776422653000,"timestamp_ms":1776422653000,"timestamp_seconds":1776422653,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0a8c48"} 
[2026-04-17 16:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 16:18: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-04-17 16:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45905,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45905,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764121856001,"66":25941,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515688960},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764121856001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:18:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515688960,"description":"Unknown IO ID 45"} 
[2026-04-17 16:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764121856001,"power":25941,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515688960}} 
[2026-04-17 16:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":45905,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:18:27] local.INFO: GPS data processed {"connection_id":45905,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:18:27] local.INFO: Acknowledgment sent {"connection_id":45905,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:18:50] local.INFO: TCP Data received {"connection_id":46232,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:18:50] local.INFO: Processing buffer {"connection_id":46232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:18:50] local.INFO: IMEI packet received {"connection_id":46232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":46232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:18:55] local.INFO: TCP Data received {"connection_id":46232,"ip":"42.106.6.35","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46232,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:18:55] local.INFO: Processing buffer {"connection_id":46232,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:18:55] local.INFO: IMEI packet received {"connection_id":46232,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":46232,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:18:56] local.INFO: TCP Data received {"connection_id":46232,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:18:56] local.INFO: Processing buffer {"connection_id":46232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:18:56] local.INFO: Packet analysis {"connection_id":46232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:18:56] local.INFO: Extracted packet for processing {"connection_id":46232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764121856001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515688960,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776422653000,"timestamp_ms":1776422653000,"timestamp_seconds":1776422653,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0a8c48"} 
[2026-04-17 16:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 16:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:18:56] 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-04-17 16:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764121856001,"66":25941,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515688960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764121856001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:18:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515688960,"description":"Unknown IO ID 45"} 
[2026-04-17 16:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764121856001,"power":25941,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515688960}} 
[2026-04-17 16:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":46232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22111,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:18:56] local.INFO: GPS data processed {"connection_id":46232,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:18:56] local.INFO: Acknowledgment sent {"connection_id":46232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:18:58] local.INFO: TCP Data received {"connection_id":46755,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0d89e8012d19c100072033900028009e23..."} 
[2026-04-17 16:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46755,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0d89e8012d19c100072033900028009e23..."} 
[2026-04-17 16:18:58] local.INFO: Processing buffer {"connection_id":46755,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0d89e8012d19c100072033900028009e23..."} 
[2026-04-17 16:18:58] local.INFO: Packet analysis {"connection_id":46755,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0d"} 
[2026-04-17 16:18:58] local.INFO: Extracted packet for processing {"connection_id":46755,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0d"} 
[2026-04-17 16:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756662528,"raw_latitude":119550864,"longitude_deg":75.6662528,"latitude_deg":11.9550864,"altitude":40,"angle":158,"satellites":35,"speed":42,"hex_longitude":"2d19c100","hex_latitude":"07203390","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764247552001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113281265670553600,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854497914665216000,"note":"Value kept but may cause issues"} 
[2026-04-17 16:18:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776422849000,"timestamp_ms":1776422849000,"timestamp_seconds":1776422849,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0d89e8"} 
[2026-04-17 16:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16384,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 16:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46755,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46755,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764247552001,"66":14298,"106":206,"83":41984,"24":42,"16":113281265670553600,"45":1854497914665216000},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764247552001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:18:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:18:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113281265670553600,"km_value":113281265670553.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854497914665216000,"description":"Unknown IO ID 45"} 
[2026-04-17 16:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764247552001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":42,"odometer":null,"unknown_45":1854497914665216000}} 
[2026-04-17 16:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":46755,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22112,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:18:58] local.INFO: GPS data processed {"connection_id":46755,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:18:58] local.INFO: Acknowledgment sent {"connection_id":46755,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:19:22] local.INFO: TCP Data received {"connection_id":46756,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:19:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:19:22] local.INFO: Processing buffer {"connection_id":46756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:19:22] local.INFO: IMEI packet received {"connection_id":46756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:19:22] local.INFO: IMEI acknowledgment sent {"connection_id":46756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:19:27] local.INFO: TCP Data received {"connection_id":46756,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46756,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:19:27] local.INFO: Processing buffer {"connection_id":46756,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:19:27] local.INFO: IMEI packet received {"connection_id":46756,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":46756,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:19:27] local.INFO: TCP Data received {"connection_id":46232,"ip":"42.106.6.35","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:19:27] local.INFO: Processing buffer {"connection_id":46232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0a8c48012d7faac005afe1800000000926..."} 
[2026-04-17 16:19:27] local.INFO: Packet analysis {"connection_id":46232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:19:27] local.INFO: Extracted packet for processing {"connection_id":46232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0a"} 
[2026-04-17 16:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764121856001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515688960,"note":"Value kept but may cause issues"} 
[2026-04-17 16:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776422653000,"timestamp_ms":1776422653000,"timestamp_seconds":1776422653,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0a8c48"} 
[2026-04-17 16:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":15,"data_length":795,"current_offset":136} 
[2026-04-17 16:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":878,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46232,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.35","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764121856001,"66":25941,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515688960},"client_ip":"42.106.6.35","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764121856001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:19:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515688960,"description":"Unknown IO ID 45"} 
[2026-04-17 16:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764121856001,"power":25941,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515688960}} 
[2026-04-17 16:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":46232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22113,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:19:27] local.INFO: GPS data processed {"connection_id":46232,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:19:27] local.INFO: Acknowledgment sent {"connection_id":46232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:19:28] local.INFO: TCP Data received {"connection_id":46756,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0e58f0012d1a5ec0071fdc000032006221..."} 
[2026-04-17 16:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0e58f0012d1a5ec0071fdc000032006221..."} 
[2026-04-17 16:19:28] local.INFO: Processing buffer {"connection_id":46756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0e58f0012d1a5ec0071fdc000032006221..."} 
[2026-04-17 16:19:28] local.INFO: Packet analysis {"connection_id":46756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0e"} 
[2026-04-17 16:19:28] local.INFO: Extracted packet for processing {"connection_id":46756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0e"} 
[2026-04-17 16:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756702912,"raw_latitude":119528448,"longitude_deg":75.6702912,"latitude_deg":11.9528448,"altitude":50,"angle":98,"satellites":33,"speed":35,"hex_longitude":"2d1a5ec0","hex_latitude":"071fdc00","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764261632001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113283615017664512,"note":"Value kept but may cause issues"} 
[2026-04-17 16:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1895522892513562624,"note":"Value kept but may cause issues"} 
[2026-04-17 16:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776422902000,"timestamp_ms":1776422902000,"timestamp_seconds":1776422902,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0e58f0"} 
[2026-04-17 16:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-17 16:19:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764261632001,"66":13863,"106":206,"83":41984,"24":35,"16":113283615017664512,"45":1895522892513562624},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764261632001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:19:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:19:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113283615017664512,"km_value":113283615017664.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1895522892513562624,"description":"Unknown IO ID 45"} 
[2026-04-17 16:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764261632001,"power":13863,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1895522892513562624}} 
[2026-04-17 16:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":46756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22114,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:19:28] local.INFO: GPS data processed {"connection_id":46756,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:19:28] local.INFO: Acknowledgment sent {"connection_id":46756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:19:50] local.INFO: TCP Data received {"connection_id":46757,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:19:50] local.INFO: Processing buffer {"connection_id":46757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:19:50] local.INFO: IMEI packet received {"connection_id":46757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":46757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:19:52] local.INFO: TCP Data received {"connection_id":46757,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:19:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:19:52] local.INFO: Processing buffer {"connection_id":46757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:19:52] local.INFO: IMEI packet received {"connection_id":46757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:19:52] local.INFO: IMEI acknowledgment sent {"connection_id":46757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:19:55] local.INFO: TCP Data received {"connection_id":46757,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46757,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:19:55] local.INFO: Processing buffer {"connection_id":46757,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:19:55] local.INFO: IMEI packet received {"connection_id":46757,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":46757,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:19:56] local.INFO: TCP Data received {"connection_id":46757,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:19:56] local.INFO: Processing buffer {"connection_id":46757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:19:56] local.INFO: Packet analysis {"connection_id":46757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:19:56] local.INFO: Extracted packet for processing {"connection_id":46757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764199168001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776422954000,"timestamp_ms":1776422954000,"timestamp_seconds":1776422954,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0f2410"} 
[2026-04-17 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-04-17 16:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 16:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 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-04-17 16:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764199168001,"66":25756,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764199168001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:19:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764199168001,"power":25756,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":46757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22115,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:19:56] local.INFO: GPS data processed {"connection_id":46757,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:19:56] local.INFO: Acknowledgment sent {"connection_id":46757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:19:59] local.INFO: TCP Data received {"connection_id":46756,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0e6890012d1a6b80071fd9f00034007222..."} 
[2026-04-17 16:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46756,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0e6890012d1a6b80071fd9f00034007222..."} 
[2026-04-17 16:19:59] local.INFO: Processing buffer {"connection_id":46756,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0e6890012d1a6b80071fd9f00034007222..."} 
[2026-04-17 16:19:59] local.INFO: Packet analysis {"connection_id":46756,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0e"} 
[2026-04-17 16:19:59] local.INFO: Extracted packet for processing {"connection_id":46756,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0e"} 
[2026-04-17 16:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756706176,"raw_latitude":119527920,"longitude_deg":75.6706176,"latitude_deg":11.952792,"altitude":52,"angle":114,"satellites":34,"speed":29,"hex_longitude":"2d1a6b80","hex_latitude":"071fd9f0","is_valid_coordinates":true} 
[2026-04-17 16:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764262912001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113283773931454464,"note":"Value kept but may cause issues"} 
[2026-04-17 16:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1900167229628743680,"note":"Value kept but may cause issues"} 
[2026-04-17 16:19:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776422906000,"timestamp_ms":1776422906000,"timestamp_seconds":1776422906,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0e6890"} 
[2026-04-17 16:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-17 16:19:59] 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-04-17 16:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46756,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46756,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764262912001,"66":13928,"106":206,"83":41984,"24":29,"16":113283773931454464,"45":1900167229628743680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764262912001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:19:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:19:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113283773931454464,"km_value":113283773931454.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1900167229628743680,"description":"Unknown IO ID 45"} 
[2026-04-17 16:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764262912001,"power":13928,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1900167229628743680}} 
[2026-04-17 16:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":46756,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22116,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:19:59] local.INFO: GPS data processed {"connection_id":46756,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:19:59] local.INFO: Acknowledgment sent {"connection_id":46756,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:20:22] local.INFO: TCP Data received {"connection_id":45908,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:20:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:20:22] local.INFO: Processing buffer {"connection_id":45908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:20:22] local.INFO: IMEI packet received {"connection_id":45908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:20:22] local.INFO: IMEI acknowledgment sent {"connection_id":45908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:20:26] local.INFO: TCP Data received {"connection_id":45908,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:20:26] local.INFO: Processing buffer {"connection_id":45908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:20:26] local.INFO: IMEI packet received {"connection_id":45908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":45908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:20:27] local.INFO: TCP Data received {"connection_id":45908,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0e7060012d1a7080071fd6a00035008022..."} 
[2026-04-17 16:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0e7060012d1a7080071fd6a00035008022..."} 
[2026-04-17 16:20:27] local.INFO: Processing buffer {"connection_id":45908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0e7060012d1a7080071fd6a00035008022..."} 
[2026-04-17 16:20:27] local.INFO: Packet analysis {"connection_id":45908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0e"} 
[2026-04-17 16:20:27] local.INFO: Extracted packet for processing {"connection_id":45908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0e"} 
[2026-04-17 16:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756707456,"raw_latitude":119527072,"longitude_deg":75.6707456,"latitude_deg":11.9527072,"altitude":53,"angle":128,"satellites":34,"speed":29,"hex_longitude":"2d1a7080","hex_latitude":"071fd6a0","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764263936001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113283851240865792,"note":"Value kept but may cause issues"} 
[2026-04-17 16:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1903756035581669376,"note":"Value kept but may cause issues"} 
[2026-04-17 16:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776422908000,"timestamp_ms":1776422908000,"timestamp_seconds":1776422908,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0e7060"} 
[2026-04-17 16:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:20: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-04-17 16: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-17 16:20:27] 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-04-17 16: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-04-17 16:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764263936001,"66":13993,"106":206,"83":41984,"24":29,"16":113283851240865792,"45":1903756035581669376},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764263936001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:20:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:20:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113283851240865792,"km_value":113283851240865.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1903756035581669376,"description":"Unknown IO ID 45"} 
[2026-04-17 16:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764263936001,"power":13993,"unknown_106":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1903756035581669376}} 
[2026-04-17 16:20:27] local.INFO: TCP Data received {"connection_id":46757,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46757,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:20:27] local.INFO: Processing buffer {"connection_id":46757,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:20:27] local.INFO: Packet analysis {"connection_id":46757,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:20:27] local.INFO: Extracted packet for processing {"connection_id":46757,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764199168001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776422954000,"timestamp_ms":1776422954000,"timestamp_seconds":1776422954,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0f2410"} 
[2026-04-17 16:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 16:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46757,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46757,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764199168001,"66":25756,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764199168001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:20:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:20:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764199168001,"power":25756,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":45908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:20:27] local.INFO: GPS data processed {"connection_id":45908,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:20:27] local.INFO: Acknowledgment sent {"connection_id":45908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":46757,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:20:27] local.INFO: GPS data processed {"connection_id":46757,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:20:27] local.INFO: Acknowledgment sent {"connection_id":46757,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:20:50] local.INFO: TCP Data received {"connection_id":46758,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:20:50] local.INFO: Processing buffer {"connection_id":46758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:20:50] local.INFO: IMEI packet received {"connection_id":46758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":46758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:20:58] local.INFO: TCP Data received {"connection_id":45908,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b101a28012d1a6bc0071fd9500037012e28..."} 
[2026-04-17 16:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b101a28012d1a6bc0071fd9500037012e28..."} 
[2026-04-17 16:20:58] local.INFO: Processing buffer {"connection_id":45908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b101a28012d1a6bc0071fd9500037012e28..."} 
[2026-04-17 16:20:58] local.INFO: Packet analysis {"connection_id":45908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b10"} 
[2026-04-17 16:20:58] local.INFO: Extracted packet for processing {"connection_id":45908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b10"} 
[2026-04-17 16:20:58] local.INFO: GPS Element Parsed {"raw_longitude":756706240,"raw_latitude":119527760,"longitude_deg":75.670624,"latitude_deg":11.952776,"altitude":55,"angle":302,"satellites":40,"speed":45,"hex_longitude":"2d1a6bc0","hex_latitude":"071fd950","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764291840001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113285225630400512,"note":"Value kept but may cause issues"} 
[2026-04-17 16:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1905867097906587648,"note":"Value kept but may cause issues"} 
[2026-04-17 16:20:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776423017000,"timestamp_ms":1776423017000,"timestamp_seconds":1776423017,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b101a28"} 
[2026-04-17 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-04-17 16:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16640,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":56,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-17 16:20:58] 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-04-17 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-04-17 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-04-17 16:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764291840001,"66":14548,"106":206,"83":41984,"24":45,"16":113285225630400512,"45":1905867097906587648},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764291840001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:20:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:20:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113285225630400512,"km_value":113285225630400.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1905867097906587648,"description":"Unknown IO ID 45"} 
[2026-04-17 16:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764291840001,"power":14548,"unknown_106":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1905867097906587648}} 
[2026-04-17 16:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":45908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:20:58] local.INFO: GPS data processed {"connection_id":45908,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:20:58] local.INFO: Acknowledgment sent {"connection_id":45908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:20:58] local.INFO: TCP Data received {"connection_id":46758,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46758,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:20:58] local.INFO: Processing buffer {"connection_id":46758,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:20:58] local.INFO: IMEI packet received {"connection_id":46758,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:20:58] local.INFO: IMEI acknowledgment sent {"connection_id":46758,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:20:59] local.INFO: TCP Data received {"connection_id":46758,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:20:59] local.INFO: Processing buffer {"connection_id":46758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:20:59] local.INFO: Packet analysis {"connection_id":46758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:20:59] local.INFO: Extracted packet for processing {"connection_id":46758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:20:59] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764199168001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776422954000,"timestamp_ms":1776422954000,"timestamp_seconds":1776422954,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0f2410"} 
[2026-04-17 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-04-17 16:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 16:20:59] 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-04-17 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-04-17 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-04-17 16:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:20:59] 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-04-17 16:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764199168001,"66":25756,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764199168001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:20:59] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:20:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764199168001,"power":25756,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":46758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:20:59] local.INFO: GPS data processed {"connection_id":46758,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:20:59] local.INFO: Acknowledgment sent {"connection_id":46758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:21:01] local.INFO: TCP Data received {"connection_id":46758,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:21:01] local.INFO: Processing buffer {"connection_id":46758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:21:01] local.INFO: Packet analysis {"connection_id":46758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:21:01] local.INFO: Extracted packet for processing {"connection_id":46758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764199168001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776422954000,"timestamp_ms":1776422954000,"timestamp_seconds":1776422954,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0f2410"} 
[2026-04-17 16:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 16:21:01] 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-04-17 16: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-04-17 16:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:21: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-04-17 16:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764199168001,"66":25756,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764199168001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:21:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764199168001,"power":25756,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":46758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22121,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:21:01] local.INFO: GPS data processed {"connection_id":46758,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:21:01] local.INFO: Acknowledgment sent {"connection_id":46758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:21:21] local.INFO: TCP Data received {"connection_id":46759,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:21:21] local.INFO: Processing buffer {"connection_id":46759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:21:21] local.INFO: IMEI packet received {"connection_id":46759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":46759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:21:22] local.INFO: TCP Data received {"connection_id":46759,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:21:22] local.INFO: Processing buffer {"connection_id":46759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:21:22] local.INFO: IMEI packet received {"connection_id":46759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":46759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:21:23] local.INFO: TCP Data received {"connection_id":46759,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:21:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:21:23] local.INFO: Processing buffer {"connection_id":46759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:21:23] local.INFO: IMEI packet received {"connection_id":46759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:21:23] local.INFO: IMEI acknowledgment sent {"connection_id":46759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:21:24] local.INFO: TCP Data received {"connection_id":46759,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:21:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46759,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:21:24] local.INFO: Processing buffer {"connection_id":46759,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:21:24] local.INFO: IMEI packet received {"connection_id":46759,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:21:24] local.INFO: IMEI acknowledgment sent {"connection_id":46759,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:21:32] local.INFO: TCP Data received {"connection_id":46758,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46758,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:21:32] local.INFO: Processing buffer {"connection_id":46758,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:21:32] local.INFO: Packet analysis {"connection_id":46758,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:21:32] local.INFO: Extracted packet for processing {"connection_id":46758,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:21:32] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764199168001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776422954000,"timestamp_ms":1776422954000,"timestamp_seconds":1776422954,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0f2410"} 
[2026-04-17 16:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 16:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46758,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46758,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764199168001,"66":25756,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764199168001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:21:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:21:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764199168001,"power":25756,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":46758,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:21:32] local.INFO: GPS data processed {"connection_id":46758,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:21:32] local.INFO: Acknowledgment sent {"connection_id":46758,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:21:50] local.INFO: TCP Data received {"connection_id":46006,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:21:50] local.INFO: Processing buffer {"connection_id":46006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:21:50] local.INFO: IMEI packet received {"connection_id":46006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":46006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:21:57] local.INFO: TCP Data received {"connection_id":46006,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46006,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:21:57] local.INFO: Processing buffer {"connection_id":46006,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:21:57] local.INFO: IMEI packet received {"connection_id":46006,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:21:57] local.INFO: IMEI acknowledgment sent {"connection_id":46006,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:21:57] local.INFO: TCP Data received {"connection_id":46006,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:21:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:21:57] local.INFO: Processing buffer {"connection_id":46006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:21:57] local.INFO: Packet analysis {"connection_id":46006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:21:57] local.INFO: Extracted packet for processing {"connection_id":46006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:21:57] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:21:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764199168001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:21:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:21:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:21:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:21:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776422954000,"timestamp_ms":1776422954000,"timestamp_seconds":1776422954,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0f2410"} 
[2026-04-17 16:21:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:21:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:21:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 16:21:57] 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-04-17 16:21:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:21:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:21:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:21:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:21:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:21:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:21:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:21:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:21:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:21:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764199168001,"66":25756,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:21:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:21:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:21:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764199168001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:21:57] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:21:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:21:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:21:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:21:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764199168001,"power":25756,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:21:57] local.INFO: DEBUG: GPS processor result {"connection_id":46006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22123,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:21:57] local.INFO: GPS data processed {"connection_id":46006,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:21:57] local.INFO: Acknowledgment sent {"connection_id":46006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:22:30] local.INFO: TCP Data received {"connection_id":46006,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:22:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:22:30] local.INFO: Processing buffer {"connection_id":46006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:22:30] local.INFO: Packet analysis {"connection_id":46006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:22:30] local.INFO: Extracted packet for processing {"connection_id":46006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:22:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764199168001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:22:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:22:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:22:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:22:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776422954000,"timestamp_ms":1776422954000,"timestamp_seconds":1776422954,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0f2410"} 
[2026-04-17 16:22:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:22:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 16:22:30] 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-04-17 16: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-04-17 16:22:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:22:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:22:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:22:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:22:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46006,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:22: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-04-17 16:22:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:22:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:22:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764199168001,"66":25756,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:22:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:22:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:22:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764199168001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:22:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:22:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:22:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:22:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:22:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764199168001,"power":25756,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:22:30] local.INFO: DEBUG: GPS processor result {"connection_id":46006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:22:30] local.INFO: GPS data processed {"connection_id":46006,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:22:30] local.INFO: Acknowledgment sent {"connection_id":46006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:22:34] local.INFO: TCP Data received {"connection_id":46233,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:22:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46233,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:22:34] local.INFO: Processing buffer {"connection_id":46233,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:22:34] local.INFO: IMEI packet received {"connection_id":46233,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:22:34] local.INFO: IMEI acknowledgment sent {"connection_id":46233,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:22:50] local.INFO: TCP Data received {"connection_id":46760,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:22:50] local.INFO: Processing buffer {"connection_id":46760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:22:50] local.INFO: IMEI packet received {"connection_id":46760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":46760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:22:55] local.INFO: TCP Data received {"connection_id":46760,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46760,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:22:55] local.INFO: Processing buffer {"connection_id":46760,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:22:55] local.INFO: IMEI packet received {"connection_id":46760,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":46760,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:22:56] local.INFO: TCP Data received {"connection_id":46760,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:22:56] local.INFO: Processing buffer {"connection_id":46760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:22:56] local.INFO: Packet analysis {"connection_id":46760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:22:56] local.INFO: Extracted packet for processing {"connection_id":46760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:22:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764199168001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776422954000,"timestamp_ms":1776422954000,"timestamp_seconds":1776422954,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0f2410"} 
[2026-04-17 16:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 16:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764199168001,"66":25756,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764199168001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:22:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:22:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764199168001,"power":25756,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":46760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22125,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:22:56] local.INFO: GPS data processed {"connection_id":46760,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:22:56] local.INFO: Acknowledgment sent {"connection_id":46760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:23:04] local.INFO: TCP Data received {"connection_id":45910,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:23:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45910,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:23:04] local.INFO: Processing buffer {"connection_id":45910,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:23:04] local.INFO: IMEI packet received {"connection_id":45910,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:23:04] local.INFO: IMEI acknowledgment sent {"connection_id":45910,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:23:27] local.INFO: TCP Data received {"connection_id":46760,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46760,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:23:27] local.INFO: Processing buffer {"connection_id":46760,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:23:27] local.INFO: Packet analysis {"connection_id":46760,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:23:27] local.INFO: Extracted packet for processing {"connection_id":46760,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764199168001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776422954000,"timestamp_ms":1776422954000,"timestamp_seconds":1776422954,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0f2410"} 
[2026-04-17 16:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 16:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46760,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46760,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764199168001,"66":25756,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764199168001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:23:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:23:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764199168001,"power":25756,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":46760,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22126,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:23:27] local.INFO: GPS data processed {"connection_id":46760,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:23:27] local.INFO: Acknowledgment sent {"connection_id":46760,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:23:50] local.INFO: TCP Data received {"connection_id":46007,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:23:50] local.INFO: Processing buffer {"connection_id":46007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:23:50] local.INFO: IMEI packet received {"connection_id":46007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":46007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:23:55] local.INFO: TCP Data received {"connection_id":46007,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:23:55] local.INFO: Processing buffer {"connection_id":46007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:23:55] local.INFO: IMEI packet received {"connection_id":46007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":46007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:23:56] local.INFO: TCP Data received {"connection_id":46007,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:23:56] local.INFO: Processing buffer {"connection_id":46007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:23:56] local.INFO: Packet analysis {"connection_id":46007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:23:56] local.INFO: Extracted packet for processing {"connection_id":46007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764199168001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776422954000,"timestamp_ms":1776422954000,"timestamp_seconds":1776422954,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0f2410"} 
[2026-04-17 16:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 16:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:23:56] 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-04-17 16:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764199168001,"66":25756,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764199168001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:23:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764199168001,"power":25756,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":46007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:23:56] local.INFO: GPS data processed {"connection_id":46007,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:23:56] local.INFO: Acknowledgment sent {"connection_id":46007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:24:27] local.INFO: TCP Data received {"connection_id":46007,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:24:27] local.INFO: Processing buffer {"connection_id":46007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b0f2410012d7faac005afe180000000092c..."} 
[2026-04-17 16:24:27] local.INFO: Packet analysis {"connection_id":46007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:24:27] local.INFO: Extracted packet for processing {"connection_id":46007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b0f"} 
[2026-04-17 16:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":44,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764199168001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776422954000,"timestamp_ms":1776422954000,"timestamp_seconds":1776422954,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b0f2410"} 
[2026-04-17 16:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 16:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1468,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764199168001,"66":25756,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764199168001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:24:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:24:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764199168001,"power":25756,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":46007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22128,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:24:27] local.INFO: GPS data processed {"connection_id":46007,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:24:27] local.INFO: Acknowledgment sent {"connection_id":46007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:24:53] local.INFO: TCP Data received {"connection_id":46008,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:24:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:24:53] local.INFO: Processing buffer {"connection_id":46008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:24:53] local.INFO: IMEI packet received {"connection_id":46008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:24:53] local.INFO: IMEI acknowledgment sent {"connection_id":46008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:24:55] local.INFO: TCP Data received {"connection_id":46008,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:24:55] local.INFO: Processing buffer {"connection_id":46008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:24:55] local.INFO: IMEI packet received {"connection_id":46008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":46008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:25:00] local.INFO: TCP Data received {"connection_id":46008,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46008,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:25:00] local.INFO: Processing buffer {"connection_id":46008,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:25:00] local.INFO: IMEI packet received {"connection_id":46008,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":46008,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:25:01] local.INFO: TCP Data received {"connection_id":46008,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:25:01] local.INFO: Processing buffer {"connection_id":46008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:25:01] local.INFO: Packet analysis {"connection_id":46008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b13"} 
[2026-04-17 16:25:01] local.INFO: Extracted packet for processing {"connection_id":46008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b13"} 
[2026-04-17 16:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764276224001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776423255000,"timestamp_ms":1776423255000,"timestamp_seconds":1776423255,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b13bbd8"} 
[2026-04-17 16:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 16:25: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-04-17 16:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:25: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-04-17 16:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764276224001,"66":25647,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764276224001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:25:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:25:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764276224001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":46008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22129,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:25:01] local.INFO: GPS data processed {"connection_id":46008,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:25:01] local.INFO: Acknowledgment sent {"connection_id":46008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:25:33] local.INFO: TCP Data received {"connection_id":46008,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:25:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46008,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:25:33] local.INFO: Processing buffer {"connection_id":46008,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:25:33] local.INFO: Packet analysis {"connection_id":46008,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b13"} 
[2026-04-17 16:25:33] local.INFO: Extracted packet for processing {"connection_id":46008,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b13"} 
[2026-04-17 16:25:33] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:25:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764276224001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:25:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:25:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:25:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:25:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776423255000,"timestamp_ms":1776423255000,"timestamp_seconds":1776423255,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b13bbd8"} 
[2026-04-17 16:25:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:25:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:25:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 16:25:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:25:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:25:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:25:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46008,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:25:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:25:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46008,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:25:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:25:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:25:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:25:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764276224001,"66":25647,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:25:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:25:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:25:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764276224001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:25:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:25:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:25:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:25:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:25:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764276224001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:25:33] local.INFO: DEBUG: GPS processor result {"connection_id":46008,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22130,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:25:33] local.INFO: GPS data processed {"connection_id":46008,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:25:33] local.INFO: Acknowledgment sent {"connection_id":46008,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:25:50] local.INFO: TCP Data received {"connection_id":46235,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:25:50] local.INFO: Processing buffer {"connection_id":46235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:25:50] local.INFO: IMEI packet received {"connection_id":46235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":46235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:25:55] local.INFO: TCP Data received {"connection_id":46235,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46235,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:25:55] local.INFO: Processing buffer {"connection_id":46235,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:25:55] local.INFO: IMEI packet received {"connection_id":46235,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":46235,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:25:56] local.INFO: TCP Data received {"connection_id":46235,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:25:56] local.INFO: Processing buffer {"connection_id":46235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:25:56] local.INFO: Packet analysis {"connection_id":46235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b13"} 
[2026-04-17 16:25:56] local.INFO: Extracted packet for processing {"connection_id":46235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b13"} 
[2026-04-17 16:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764276224001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776423255000,"timestamp_ms":1776423255000,"timestamp_seconds":1776423255,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b13bbd8"} 
[2026-04-17 16:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 16:25:56] 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-04-17 16: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-04-17 16:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764276224001,"66":25647,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764276224001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:25:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764276224001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":46235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22131,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:25:56] local.INFO: GPS data processed {"connection_id":46235,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:25:56] local.INFO: Acknowledgment sent {"connection_id":46235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:26:27] local.INFO: TCP Data received {"connection_id":46009,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46009,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:26:27] local.INFO: Processing buffer {"connection_id":46009,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:26:27] local.INFO: IMEI packet received {"connection_id":46009,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:26:27] local.INFO: IMEI acknowledgment sent {"connection_id":46009,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:26:27] local.INFO: TCP Data received {"connection_id":46235,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:26:27] local.INFO: Processing buffer {"connection_id":46235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:26:27] local.INFO: Packet analysis {"connection_id":46235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b13"} 
[2026-04-17 16:26:27] local.INFO: Extracted packet for processing {"connection_id":46235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b13"} 
[2026-04-17 16:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764276224001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776423255000,"timestamp_ms":1776423255000,"timestamp_seconds":1776423255,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b13bbd8"} 
[2026-04-17 16:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 16:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46235,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764276224001,"66":25647,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764276224001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:26:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764276224001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":46235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22132,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:26:27] local.INFO: GPS data processed {"connection_id":46235,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:26:27] local.INFO: Acknowledgment sent {"connection_id":46235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:26:28] local.INFO: TCP Data received {"connection_id":46009,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b14c960012d186080072182b0004b011e23..."} 
[2026-04-17 16:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b14c960012d186080072182b0004b011e23..."} 
[2026-04-17 16:26:28] local.INFO: Processing buffer {"connection_id":46009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b14c960012d186080072182b0004b011e23..."} 
[2026-04-17 16:26:28] local.INFO: Packet analysis {"connection_id":46009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b14"} 
[2026-04-17 16:26:28] local.INFO: Extracted packet for processing {"connection_id":46009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b14"} 
[2026-04-17 16:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756572288,"raw_latitude":119636656,"longitude_deg":75.6572288,"latitude_deg":11.9636656,"altitude":75,"angle":286,"satellites":35,"speed":43,"hex_longitude":"2d186080","hex_latitude":"072182b0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764369408001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113295031040737280,"note":"Value kept but may cause issues"} 
[2026-04-17 16:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1763792603440074752,"note":"Value kept but may cause issues"} 
[2026-04-17 16:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776423324000,"timestamp_ms":1776423324000,"timestamp_seconds":1776423324,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b14c960"} 
[2026-04-17 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-04-17 16:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-17 16:26:28] 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-04-17 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-04-17 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-04-17 16:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764369408001,"66":14559,"105":206,"83":41984,"24":43,"16":113295031040737280,"45":1763792603440074752},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764369408001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:26:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:26:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113295031040737280,"km_value":113295031040737.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1763792603440074752,"description":"Unknown IO ID 45"} 
[2026-04-17 16:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764369408001,"power":14559,"unknown_105":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1763792603440074752}} 
[2026-04-17 16:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":46009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:26:28] local.INFO: GPS data processed {"connection_id":46009,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:26:28] local.INFO: Acknowledgment sent {"connection_id":46009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:26:50] local.INFO: TCP Data received {"connection_id":45913,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:26:50] local.INFO: Processing buffer {"connection_id":45913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:26:50] local.INFO: IMEI packet received {"connection_id":45913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":45913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:26:57] local.INFO: TCP Data received {"connection_id":45913,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45913,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:26:57] local.INFO: Processing buffer {"connection_id":45913,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:26:57] local.INFO: IMEI packet received {"connection_id":45913,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:26:57] local.INFO: IMEI acknowledgment sent {"connection_id":45913,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:26:59] local.INFO: TCP Data received {"connection_id":46009,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b14ec88012d183c4007219250004e012224..."} 
[2026-04-17 16:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46009,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b14ec88012d183c4007219250004e012224..."} 
[2026-04-17 16:26:59] local.INFO: Processing buffer {"connection_id":46009,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b14ec88012d183c4007219250004e012224..."} 
[2026-04-17 16:26:59] local.INFO: Packet analysis {"connection_id":46009,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b14"} 
[2026-04-17 16:26:59] local.INFO: Extracted packet for processing {"connection_id":46009,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b14"} 
[2026-04-17 16:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756563008,"raw_latitude":119640656,"longitude_deg":75.6563008,"latitude_deg":11.9640656,"altitude":78,"angle":290,"satellites":36,"speed":43,"hex_longitude":"2d183c40","hex_latitude":"07219250","is_valid_coordinates":true} 
[2026-04-17 16:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764370944001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113295512077074432,"note":"Value kept but may cause issues"} 
[2026-04-17 16:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1756544622789832704,"note":"Value kept but may cause issues"} 
[2026-04-17 16:26:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776423333000,"timestamp_ms":1776423333000,"timestamp_seconds":1776423333,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b14ec88"} 
[2026-04-17 16:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:26:59] 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-04-17 16:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":223,"data_length":795,"current_offset":136} 
[2026-04-17 16:26:59] 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-04-17 16:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46009,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46009,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764370944001,"66":13993,"105":206,"83":41984,"24":43,"16":113295512077074432,"45":1756544622789832704},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764370944001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:26:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:26:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113295512077074432,"km_value":113295512077074.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1756544622789832704,"description":"Unknown IO ID 45"} 
[2026-04-17 16:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764370944001,"power":13993,"unknown_105":206,"unknown_83":41984,"ignition":43,"odometer":null,"unknown_45":1756544622789832704}} 
[2026-04-17 16:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":46009,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:26:59] local.INFO: GPS data processed {"connection_id":46009,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:26:59] local.INFO: Acknowledgment sent {"connection_id":46009,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:27:01] local.INFO: TCP Data received {"connection_id":45913,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:27:01] local.INFO: Processing buffer {"connection_id":45913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:27:01] local.INFO: Packet analysis {"connection_id":45913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b13"} 
[2026-04-17 16:27:01] local.INFO: Extracted packet for processing {"connection_id":45913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b13"} 
[2026-04-17 16:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764276224001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776423255000,"timestamp_ms":1776423255000,"timestamp_seconds":1776423255,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b13bbd8"} 
[2026-04-17 16:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 16:27: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-04-17 16:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764276224001,"66":25647,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764276224001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:27:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764276224001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":45913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22135,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:27:01] local.INFO: GPS data processed {"connection_id":45913,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:27:01] local.INFO: Acknowledgment sent {"connection_id":45913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:27:21] local.INFO: TCP Data received {"connection_id":46011,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:27:21] local.INFO: Processing buffer {"connection_id":46011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:27:21] local.INFO: IMEI packet received {"connection_id":46011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":46011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:27:27] local.INFO: TCP Data received {"connection_id":46011,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46011,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:27:27] local.INFO: Processing buffer {"connection_id":46011,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:27:27] local.INFO: IMEI packet received {"connection_id":46011,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:27:27] local.INFO: IMEI acknowledgment sent {"connection_id":46011,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:27:27] local.INFO: TCP Data received {"connection_id":46011,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b150010012d182b4007219ad8004f012f25..."} 
[2026-04-17 16:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b150010012d182b4007219ad8004f012f25..."} 
[2026-04-17 16:27:27] local.INFO: Processing buffer {"connection_id":46011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b150010012d182b4007219ad8004f012f25..."} 
[2026-04-17 16:27:27] local.INFO: Packet analysis {"connection_id":46011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b15"} 
[2026-04-17 16:27:27] local.INFO: Extracted packet for processing {"connection_id":46011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b15"} 
[2026-04-17 16:27:27] local.INFO: GPS Element Parsed {"raw_longitude":756558656,"raw_latitude":119642840,"longitude_deg":75.6558656,"latitude_deg":11.964284,"altitude":79,"angle":303,"satellites":37,"speed":30,"hex_longitude":"2d182b40","hex_latitude":"07219ad8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764373248001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113295744005308416,"note":"Value kept but may cause issues"} 
[2026-04-17 16:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1746341154885095424,"note":"Value kept but may cause issues"} 
[2026-04-17 16:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776423338000,"timestamp_ms":1776423338000,"timestamp_seconds":1776423338,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b150010"} 
[2026-04-17 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-04-17 16:27:27] 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-04-17 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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 16:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 16:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764373248001,"66":13798,"105":206,"83":41984,"24":30,"16":113295744005308416,"45":1746341154885095424},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764373248001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:27:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:27:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113295744005308416,"km_value":113295744005308.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1746341154885095424,"description":"Unknown IO ID 45"} 
[2026-04-17 16:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764373248001,"power":13798,"unknown_105":206,"unknown_83":41984,"ignition":30,"odometer":null,"unknown_45":1746341154885095424}} 
[2026-04-17 16:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":46011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:27:28] local.INFO: GPS data processed {"connection_id":46011,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:27:28] local.INFO: Acknowledgment sent {"connection_id":46011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:27:36] local.INFO: TCP Data received {"connection_id":45913,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:27:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45913,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:27:36] local.INFO: Processing buffer {"connection_id":45913,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:27:36] local.INFO: Packet analysis {"connection_id":45913,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b13"} 
[2026-04-17 16:27:36] local.INFO: Extracted packet for processing {"connection_id":45913,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b13"} 
[2026-04-17 16:27:36] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:27:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764276224001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:27:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:27:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:27:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:27:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776423255000,"timestamp_ms":1776423255000,"timestamp_seconds":1776423255,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b13bbd8"} 
[2026-04-17 16:27:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:27:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:27:36] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 16:27: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-04-17 16: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-04-17 16:27:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:27:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:27:36] local.INFO: Teltonika packet parsed successfully {"connection_id":45913,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:27:36] local.INFO: Passing IMEI to GPS processor {"connection_id":45913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:27:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":45913,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:27:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:27:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:27:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:27:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764276224001,"66":25647,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:27:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:27:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:27:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764276224001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:27:36] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:27:36] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:27:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:27:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:27:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764276224001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:27:36] local.INFO: DEBUG: GPS processor result {"connection_id":45913,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22137,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:27:36] local.INFO: GPS data processed {"connection_id":45913,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:27:36] local.INFO: Acknowledgment sent {"connection_id":45913,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:27:50] local.INFO: TCP Data received {"connection_id":46764,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:27:50] local.INFO: Processing buffer {"connection_id":46764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:27:50] local.INFO: IMEI packet received {"connection_id":46764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":46764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:27:56] local.INFO: TCP Data received {"connection_id":46764,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46764,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:27:56] local.INFO: Processing buffer {"connection_id":46764,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:27:56] local.INFO: IMEI packet received {"connection_id":46764,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:27:56] local.INFO: IMEI acknowledgment sent {"connection_id":46764,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:27:57] local.INFO: TCP Data received {"connection_id":46764,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:27:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:27:57] local.INFO: Processing buffer {"connection_id":46764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:27:57] local.INFO: Packet analysis {"connection_id":46764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b13"} 
[2026-04-17 16:27:57] local.INFO: Extracted packet for processing {"connection_id":46764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b13"} 
[2026-04-17 16:27:57] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:27:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764276224001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:27:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:27:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:27:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:27:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776423255000,"timestamp_ms":1776423255000,"timestamp_seconds":1776423255,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b13bbd8"} 
[2026-04-17 16:27:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:27:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:27:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 16:27:57] 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-04-17 16:27:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:27:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:27:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:27:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:27:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:27:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:27:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:27:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:27:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:27:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764276224001,"66":25647,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:27:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:27:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:27:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764276224001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:27:57] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:27:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:27:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:27:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:27:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764276224001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:27:57] local.INFO: DEBUG: GPS processor result {"connection_id":46764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22138,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:27:57] local.INFO: GPS data processed {"connection_id":46764,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:27:57] local.INFO: Acknowledgment sent {"connection_id":46764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:27:59] local.INFO: TCP Data received {"connection_id":46011,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b164448012d182dc00721c1b0004b009d26..."} 
[2026-04-17 16:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b164448012d182dc00721c1b0004b009d26..."} 
[2026-04-17 16:27:59] local.INFO: Processing buffer {"connection_id":46011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b164448012d182dc00721c1b0004b009d26..."} 
[2026-04-17 16:27:59] local.INFO: Packet analysis {"connection_id":46011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b16"} 
[2026-04-17 16:27:59] local.INFO: Extracted packet for processing {"connection_id":46011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b16"} 
[2026-04-17 16:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756559296,"raw_latitude":119652784,"longitude_deg":75.6559296,"latitude_deg":11.9652784,"altitude":75,"angle":157,"satellites":38,"speed":8,"hex_longitude":"2d182dc0","hex_latitude":"0721c1b0","is_valid_coordinates":true} 
[2026-04-17 16:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764395520001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296392545370112,"note":"Value kept but may cause issues"} 
[2026-04-17 16:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742119030237577216,"note":"Value kept but may cause issues"} 
[2026-04-17 16:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776423421000,"timestamp_ms":1776423421000,"timestamp_seconds":1776423421,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b164448"} 
[2026-04-17 16:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:27:59] 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-04-17 16:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-17 16:27:59] 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-04-17 16:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46011,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764395520001,"66":14363,"105":206,"83":41984,"24":8,"16":113296392545370112,"45":1742119030237577216},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764395520001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:27:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:27:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296392545370112,"km_value":113296392545370.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742119030237577216,"description":"Unknown IO ID 45"} 
[2026-04-17 16:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764395520001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1742119030237577216}} 
[2026-04-17 16:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":46011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:27:59] local.INFO: GPS data processed {"connection_id":46011,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:27:59] local.INFO: Acknowledgment sent {"connection_id":46011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:28:19] local.INFO: TCP Data received {"connection_id":46012,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46012,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:28:19] local.INFO: Processing buffer {"connection_id":46012,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:28:19] local.INFO: IMEI packet received {"connection_id":46012,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":46012,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:28:21] local.INFO: TCP Data received {"connection_id":46236,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:28:21] local.INFO: Processing buffer {"connection_id":46236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:28:21] local.INFO: IMEI packet received {"connection_id":46236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":46236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:28:27] local.INFO: TCP Data received {"connection_id":46236,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46236,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:28:27] local.INFO: Processing buffer {"connection_id":46236,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:28:27] local.INFO: IMEI packet received {"connection_id":46236,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:28:27] local.INFO: IMEI acknowledgment sent {"connection_id":46236,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:28:27] local.INFO: TCP Data received {"connection_id":46236,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b164830012d182dc00721c0f0004b00b725..."} 
[2026-04-17 16:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b164830012d182dc00721c0f0004b00b725..."} 
[2026-04-17 16:28:27] local.INFO: Processing buffer {"connection_id":46236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b164830012d182dc00721c0f0004b00b725..."} 
[2026-04-17 16:28:27] local.INFO: Packet analysis {"connection_id":46236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b16"} 
[2026-04-17 16:28:27] local.INFO: Extracted packet for processing {"connection_id":46236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b16"} 
[2026-04-17 16:28:27] local.INFO: GPS Element Parsed {"raw_longitude":756559296,"raw_latitude":119652592,"longitude_deg":75.6559296,"latitude_deg":11.9652592,"altitude":75,"angle":183,"satellites":37,"speed":8,"hex_longitude":"2d182dc0","hex_latitude":"0721c0f0","is_valid_coordinates":true} 
[2026-04-17 16:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764395776001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296401135304704,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1742259767725895680,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776423422000,"timestamp_ms":1776423422000,"timestamp_seconds":1776423422,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b164830"} 
[2026-04-17 16:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:28:27] 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-04-17 16:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-17 16:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:28:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764395776001,"66":14363,"105":206,"83":41984,"24":8,"16":113296401135304704,"45":1742259767725895680},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764395776001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:28:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:28:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296401135304704,"km_value":113296401135304.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1742259767725895680,"description":"Unknown IO ID 45"} 
[2026-04-17 16:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764395776001,"power":14363,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1742259767725895680}} 
[2026-04-17 16:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":46236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:28:27] local.INFO: GPS data processed {"connection_id":46236,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:28:27] local.INFO: Acknowledgment sent {"connection_id":46236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:28:29] local.INFO: TCP Data received {"connection_id":46764,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:28:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46764,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:28:29] local.INFO: Processing buffer {"connection_id":46764,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:28:29] local.INFO: Packet analysis {"connection_id":46764,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b13"} 
[2026-04-17 16:28:29] local.INFO: Extracted packet for processing {"connection_id":46764,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b13"} 
[2026-04-17 16:28:29] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:28:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764276224001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:28:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776423255000,"timestamp_ms":1776423255000,"timestamp_seconds":1776423255,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b13bbd8"} 
[2026-04-17 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-04-17 16:28:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 16:28:29] 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-04-17 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-04-17 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-04-17 16:28:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:28:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46764,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:28:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:28:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46764,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:28: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-04-17 16:28:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:28:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:28:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764276224001,"66":25647,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:28:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:28:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:28:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764276224001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:28:29] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:28:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:28:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:28:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:28:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764276224001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:28:29] local.INFO: DEBUG: GPS processor result {"connection_id":46764,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22141,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:28:29] local.INFO: GPS data processed {"connection_id":46764,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:28:29] local.INFO: Acknowledgment sent {"connection_id":46764,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:28:58] local.INFO: TCP Data received {"connection_id":46236,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1755b8012d1823400721b7b8004d012427..."} 
[2026-04-17 16:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46236,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1755b8012d1823400721b7b8004d012427..."} 
[2026-04-17 16:28:58] local.INFO: Processing buffer {"connection_id":46236,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1755b8012d1823400721b7b8004d012427..."} 
[2026-04-17 16:28:58] local.INFO: Packet analysis {"connection_id":46236,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b17"} 
[2026-04-17 16:28:58] local.INFO: Extracted packet for processing {"connection_id":46236,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b17"} 
[2026-04-17 16:28:58] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650232,"longitude_deg":75.6556608,"latitude_deg":11.9650232,"altitude":77,"angle":292,"satellites":39,"speed":4,"hex_longitude":"2d182340","hex_latitude":"0721b7b8","is_valid_coordinates":true} 
[2026-04-17 16:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764413440001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296658833342464,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213945856,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776423491000,"timestamp_ms":1776423491000,"timestamp_seconds":1776423491,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1755b8"} 
[2026-04-17 16:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:28:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:28:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-17 16:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44441160751616642,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:58] local.WARNING: Large IO value detected {"io_id":24,"raw_value":2702167617761181772,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2601987752,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:58] local.WARNING: Large IO value detected {"io_id":130,"raw_value":2919235584,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":299489383810072586,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:58] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3034579020,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:58] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639552487713385,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-17 16:28:58] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2415996184,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:58] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2147951028,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:58] local.WARNING: Large IO value detected {"io_id":56,"raw_value":-5548208884008563117,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:58] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:58] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2192244736,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:58] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755408031121649,"note":"Value kept but may cause issues"} 
[2026-04-17 16:28:58] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,130,77,45,183,76,40,10,66,181,58,64,1,240,125,227,155,33,4,113,205,5,50,36,136,41,239,56,2,146,7,164],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-17 16:28:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5548779059858898944,"timestamp_seconds":5548779059858899.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 16:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46236,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46236,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764413440001,"66":13450,"105":206,"83":41984,"24":4,"16":113296658833342464,"45":1739374649213945856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764413440001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:28:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:28:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296658833342464,"km_value":113296658833342.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213945856,"description":"Unknown IO ID 45"} 
[2026-04-17 16:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764413440001,"power":13450,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1739374649213945856}} 
[2026-04-17 16:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":46236,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:28:58] local.INFO: GPS data processed {"connection_id":46236,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:28:58] local.INFO: Acknowledgment sent {"connection_id":46236,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:29:00] local.INFO: TCP Data received {"connection_id":46765,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:29:00] local.INFO: Processing buffer {"connection_id":46765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:29:00] local.INFO: IMEI packet received {"connection_id":46765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":46765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:29:05] local.INFO: TCP Data received {"connection_id":46765,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:29:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46765,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:29:05] local.INFO: Processing buffer {"connection_id":46765,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:29:05] local.INFO: IMEI packet received {"connection_id":46765,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:29:05] local.INFO: IMEI acknowledgment sent {"connection_id":46765,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:29:06] local.INFO: TCP Data received {"connection_id":46765,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46765,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:29:06] local.INFO: Processing buffer {"connection_id":46765,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b13bbd8012d7faac005afe1800000000926..."} 
[2026-04-17 16:29:06] local.INFO: Packet analysis {"connection_id":46765,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b13"} 
[2026-04-17 16:29:06] local.INFO: Extracted packet for processing {"connection_id":46765,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b13"} 
[2026-04-17 16:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764276224001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776423255000,"timestamp_ms":1776423255000,"timestamp_seconds":1776423255,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b13bbd8"} 
[2026-04-17 16:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:29:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":100,"n8_eight_byte":156,"data_length":795,"current_offset":136} 
[2026-04-17 16:29: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-04-17 16: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-04-17 16:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46765,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46765,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:29:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764276224001,"66":25647,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764276224001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:29:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764276224001,"power":25647,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":46765,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22143,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:29:06] local.INFO: GPS data processed {"connection_id":46765,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:29:06] local.INFO: Acknowledgment sent {"connection_id":46765,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:29:27] local.INFO: TCP Data received {"connection_id":46013,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:29:27] local.INFO: Processing buffer {"connection_id":46013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:29:27] local.INFO: IMEI packet received {"connection_id":46013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:29:27] local.INFO: IMEI acknowledgment sent {"connection_id":46013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:29:32] local.INFO: TCP Data received {"connection_id":46013,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46013,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:29:32] local.INFO: Processing buffer {"connection_id":46013,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:29:32] local.INFO: IMEI packet received {"connection_id":46013,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:29:32] local.INFO: IMEI acknowledgment sent {"connection_id":46013,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:29:32] local.INFO: TCP Data received {"connection_id":46013,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1759a0012d1822c00721b7c8004d010e27..."} 
[2026-04-17 16:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1759a0012d1822c00721b7c8004d010e27..."} 
[2026-04-17 16:29:32] local.INFO: Processing buffer {"connection_id":46013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1759a0012d1822c00721b7c8004d010e27..."} 
[2026-04-17 16:29:32] local.INFO: Packet analysis {"connection_id":46013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b17"} 
[2026-04-17 16:29:32] local.INFO: Extracted packet for processing {"connection_id":46013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b17"} 
[2026-04-17 16:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119650248,"longitude_deg":75.655648,"latitude_deg":11.9650248,"altitude":77,"angle":270,"satellites":39,"speed":4,"hex_longitude":"2d1822c0","hex_latitude":"0721b7c8","is_valid_coordinates":true} 
[2026-04-17 16:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764413696001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296663128309760,"note":"Value kept but may cause issues"} 
[2026-04-17 16:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469780480,"note":"Value kept but may cause issues"} 
[2026-04-17 16:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776423492000,"timestamp_ms":1776423492000,"timestamp_seconds":1776423492,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1759a0"} 
[2026-04-17 16:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-17 16:29:32] 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-04-17 16:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764413696001,"66":13450,"105":206,"83":41984,"24":4,"16":113296663128309760,"45":1739304280469780480},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764413696001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:29:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:29:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296663128309760,"km_value":113296663128309.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469780480,"description":"Unknown IO ID 45"} 
[2026-04-17 16:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764413696001,"power":13450,"unknown_105":206,"unknown_83":41984,"ignition":4,"odometer":null,"unknown_45":1739304280469780480}} 
[2026-04-17 16:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":46013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:29:32] local.INFO: GPS data processed {"connection_id":46013,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:29:32] local.INFO: Acknowledgment sent {"connection_id":46013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:29:33] local.INFO: TCP Data received {"connection_id":46013,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1778e0012d1822c00721b7a0004d005d27..."} 
[2026-04-17 16:29:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1778e0012d1822c00721b7a0004d005d27..."} 
[2026-04-17 16:29:33] local.INFO: Processing buffer {"connection_id":46013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1778e0012d1822c00721b7a0004d005d27..."} 
[2026-04-17 16:29:33] local.INFO: Packet analysis {"connection_id":46013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b17"} 
[2026-04-17 16:29:33] local.INFO: Extracted packet for processing {"connection_id":46013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b17"} 
[2026-04-17 16:29:33] local.INFO: GPS Element Parsed {"raw_longitude":756556480,"raw_latitude":119650208,"longitude_deg":75.655648,"latitude_deg":11.9650208,"altitude":77,"angle":93,"satellites":39,"speed":3,"hex_longitude":"2d1822c0","hex_latitude":"0721b7a0","is_valid_coordinates":true} 
[2026-04-17 16:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:29:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764413952001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:29:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296680308178944,"note":"Value kept but may cause issues"} 
[2026-04-17 16:29:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981429248,"note":"Value kept but may cause issues"} 
[2026-04-17 16:29:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:29:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776423500000,"timestamp_ms":1776423500000,"timestamp_seconds":1776423500,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1778e0"} 
[2026-04-17 16:29:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:29:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:29:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-17 16:29:33] 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-04-17 16: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-04-17 16:29:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:29:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:29:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:29:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:29:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:29:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:29:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:29:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:29:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764413952001,"66":13254,"105":206,"83":41984,"24":3,"16":113296680308178944,"45":1739163542981429248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:29:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:29:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:29:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764413952001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:29:33] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:29:33] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:29:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296680308178944,"km_value":113296680308178.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:29:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981429248,"description":"Unknown IO ID 45"} 
[2026-04-17 16:29:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764413952001,"power":13254,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739163542981429248}} 
[2026-04-17 16:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":46013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22145,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:29:33] local.INFO: GPS data processed {"connection_id":46013,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:29:33] local.INFO: Acknowledgment sent {"connection_id":46013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:29:54] local.INFO: TCP Data received {"connection_id":46014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:29:54] local.INFO: Processing buffer {"connection_id":46014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:29:54] local.INFO: IMEI packet received {"connection_id":46014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":46014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:30:01] local.INFO: TCP Data received {"connection_id":46014,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:30:01] local.INFO: Processing buffer {"connection_id":46014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:30:01] local.INFO: IMEI packet received {"connection_id":46014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":46014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:30:01] local.INFO: TCP Data received {"connection_id":46014,"ip":"42.106.6.14","data_length":812,"data_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019d9b..."} 
[2026-04-17 16:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46014,"packet_length":812,"packet_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019d9b..."} 
[2026-04-17 16:30:01] local.INFO: Processing buffer {"connection_id":46014,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019d9b..."} 
[2026-04-17 16:30:01] local.INFO: IMEI packet received {"connection_id":46014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:30:01] local.INFO: IMEI acknowledgment sent {"connection_id":46014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:30:04] local.INFO: TCP Data received {"connection_id":46013,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b177cc8012d1823000721b7b8004d005027..."} 
[2026-04-17 16:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46013,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b177cc8012d1823000721b7b8004d005027..."} 
[2026-04-17 16:30:04] local.INFO: Processing buffer {"connection_id":46013,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b177cc8012d1823000721b7b8004d005027..."} 
[2026-04-17 16:30:04] local.INFO: Packet analysis {"connection_id":46013,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b17"} 
[2026-04-17 16:30:04] local.INFO: Extracted packet for processing {"connection_id":46013,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b17"} 
[2026-04-17 16:30:04] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650232,"longitude_deg":75.6556544,"latitude_deg":11.9650232,"altitude":77,"angle":80,"satellites":39,"speed":3,"hex_longitude":"2d182300","hex_latitude":"0721b7b8","is_valid_coordinates":true} 
[2026-04-17 16:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764416000001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296684603146240,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739163542981419008,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776423501000,"timestamp_ms":1776423501000,"timestamp_seconds":1776423501,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b177cc8"} 
[2026-04-17 16:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:30:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:30:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":198,"data_length":795,"current_offset":136} 
[2026-04-17 16:30: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-04-17 16:30:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46013,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46013,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764416000001,"66":13243,"105":206,"83":41984,"24":3,"16":113296684603146240,"45":1739163542981419008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764416000001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:30:04] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:30:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296684603146240,"km_value":113296684603146.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739163542981419008,"description":"Unknown IO ID 45"} 
[2026-04-17 16:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764416000001,"power":13243,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739163542981419008}} 
[2026-04-17 16:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":46013,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:30:04] local.INFO: GPS data processed {"connection_id":46013,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:30:04] local.INFO: Acknowledgment sent {"connection_id":46013,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:30:05] local.INFO: TCP Data received {"connection_id":46014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:30:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:30:05] local.INFO: Processing buffer {"connection_id":46014,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:30:05] local.INFO: Packet analysis {"connection_id":46014,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:30:05] local.INFO: Extracted packet for processing {"connection_id":46014,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764353280001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776423556000,"timestamp_ms":1776423556000,"timestamp_seconds":1776423556,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1853a0"} 
[2026-04-17 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-04-17 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 16:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 16:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16: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-04-17 16:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764353280001,"66":25593,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764353280001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:30:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:30:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764353280001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":46014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22147,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:30:05] local.INFO: GPS data processed {"connection_id":46014,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:30:05] local.INFO: Acknowledgment sent {"connection_id":46014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:30:05] local.INFO: Packet analysis {"connection_id":46014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:30:05] local.INFO: Extracted packet for processing {"connection_id":46014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:30:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764353280001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:30:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776423556000,"timestamp_ms":1776423556000,"timestamp_seconds":1776423556,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1853a0"} 
[2026-04-17 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-04-17 16:30:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 16:30:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 16:30:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:30:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:30:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:30:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16: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-04-17 16:30:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:30:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:30:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764353280001,"66":25593,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:30:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:30:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:30:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764353280001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:30:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:30:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:30:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:30:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:30:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764353280001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:30:05] local.INFO: DEBUG: GPS processor result {"connection_id":46014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:30:05] local.INFO: GPS data processed {"connection_id":46014,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:30:05] local.INFO: Acknowledgment sent {"connection_id":46014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:30:10] local.INFO: TCP Data received {"connection_id":46014,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:30:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:30:10] local.INFO: Processing buffer {"connection_id":46014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:30:10] local.INFO: Packet analysis {"connection_id":46014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:30:10] local.INFO: Extracted packet for processing {"connection_id":46014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:30:10] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:30:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764353280001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:30:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776423556000,"timestamp_ms":1776423556000,"timestamp_seconds":1776423556,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1853a0"} 
[2026-04-17 16:30:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:30:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 16:30:10] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:30:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:30:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:30:10] local.INFO: Teltonika packet parsed successfully {"connection_id":46014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:30:10] local.INFO: Passing IMEI to GPS processor {"connection_id":46014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:30:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":46014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:30:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:30:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:30:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:30:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764353280001,"66":25593,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:30:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:30:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:30:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764353280001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:30:10] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:30:10] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:30:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:30:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:30:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764353280001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:30:10] local.INFO: DEBUG: GPS processor result {"connection_id":46014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22149,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:30:10] local.INFO: GPS data processed {"connection_id":46014,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:30:10] local.INFO: Acknowledgment sent {"connection_id":46014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:30:22] local.INFO: TCP Data received {"connection_id":46238,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:30:22] local.INFO: Processing buffer {"connection_id":46238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:30:22] local.INFO: IMEI packet received {"connection_id":46238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":46238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:30:27] local.INFO: TCP Data received {"connection_id":46238,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46238,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:30:27] local.INFO: Processing buffer {"connection_id":46238,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:30:27] local.INFO: IMEI packet received {"connection_id":46238,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":46238,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:30:27] local.INFO: TCP Data received {"connection_id":46238,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b179438012d1823000721b758004d00d627..."} 
[2026-04-17 16:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b179438012d1823000721b758004d00d627..."} 
[2026-04-17 16:30:27] local.INFO: Processing buffer {"connection_id":46238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b179438012d1823000721b758004d00d627..."} 
[2026-04-17 16:30:27] local.INFO: Packet analysis {"connection_id":46238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b17"} 
[2026-04-17 16:30:27] local.INFO: Extracted packet for processing {"connection_id":46238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b17"} 
[2026-04-17 16:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650136,"longitude_deg":75.6556544,"latitude_deg":11.9650136,"altitude":77,"angle":214,"satellites":39,"speed":3,"hex_longitude":"2d182300","hex_latitude":"0721b758","is_valid_coordinates":true} 
[2026-04-17 16:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764416256001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296693193080832,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725602816,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776423507000,"timestamp_ms":1776423507000,"timestamp_seconds":1776423507,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b179438"} 
[2026-04-17 16:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:30:27] 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-04-17 16:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-17 16:30:27] 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-04-17 16:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764416256001,"66":13222,"105":206,"83":41984,"24":3,"16":113296693193080832,"45":1739233911725602816},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764416256001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:30:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:30:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296693193080832,"km_value":113296693193080.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725602816,"description":"Unknown IO ID 45"} 
[2026-04-17 16:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764416256001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739233911725602816}} 
[2026-04-17 16:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":46238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22150,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:30:28] local.INFO: GPS data processed {"connection_id":46238,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:30:28] local.INFO: Acknowledgment sent {"connection_id":46238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:30:51] local.INFO: TCP Data received {"connection_id":46766,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:30:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:30:51] local.INFO: Processing buffer {"connection_id":46766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:30:51] local.INFO: IMEI packet received {"connection_id":46766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:30:51] local.INFO: IMEI acknowledgment sent {"connection_id":46766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:30:55] local.INFO: TCP Data received {"connection_id":46766,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46766,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:30:55] local.INFO: Processing buffer {"connection_id":46766,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:30:55] local.INFO: IMEI packet received {"connection_id":46766,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":46766,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:30:58] local.INFO: TCP Data received {"connection_id":46766,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:30:58] local.INFO: Processing buffer {"connection_id":46766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:30:58] local.INFO: Packet analysis {"connection_id":46766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:30:58] local.INFO: Extracted packet for processing {"connection_id":46766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:30:58] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764353280001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776423556000,"timestamp_ms":1776423556000,"timestamp_seconds":1776423556,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1853a0"} 
[2026-04-17 16:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 16:30:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764353280001,"66":25593,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764353280001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:30:58] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:30:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764353280001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:30:58] local.INFO: DEBUG: GPS processor result {"connection_id":46766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:30:58] local.INFO: GPS data processed {"connection_id":46766,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:30:58] local.INFO: Acknowledgment sent {"connection_id":46766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:30:58] local.INFO: TCP Data received {"connection_id":46238,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b179820012d1823000721b718004d00c927..."} 
[2026-04-17 16:30:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46238,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b179820012d1823000721b718004d00c927..."} 
[2026-04-17 16:30:58] local.INFO: Processing buffer {"connection_id":46238,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b179820012d1823000721b718004d00c927..."} 
[2026-04-17 16:30:58] local.INFO: Packet analysis {"connection_id":46238,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b17"} 
[2026-04-17 16:30:58] local.INFO: Extracted packet for processing {"connection_id":46238,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b17"} 
[2026-04-17 16:30:58] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650072,"longitude_deg":75.6556544,"latitude_deg":11.9650072,"altitude":77,"angle":201,"satellites":39,"speed":2,"hex_longitude":"2d182300","hex_latitude":"0721b718","is_valid_coordinates":true} 
[2026-04-17 16:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:30:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764417792001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296697488048128,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725578240,"note":"Value kept but may cause issues"} 
[2026-04-17 16:30:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:30:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776423508000,"timestamp_ms":1776423508000,"timestamp_seconds":1776423508,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b179820"} 
[2026-04-17 16:30:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:30:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:30:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-04-17 16:30: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-04-17 16:30:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:30:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:30:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:30:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46238,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:30:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:30:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46238,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:30:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:30:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:30:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:30:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764417792001,"66":13222,"105":206,"83":41984,"24":2,"16":113296697488048128,"45":1739233911725578240},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:30:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:30:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:30:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764417792001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:30:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:30:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:30:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296697488048128,"km_value":113296697488048.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:30:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725578240,"description":"Unknown IO ID 45"} 
[2026-04-17 16:30:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764417792001,"power":13222,"unknown_105":206,"unknown_83":41984,"ignition":2,"odometer":null,"unknown_45":1739233911725578240}} 
[2026-04-17 16:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":46238,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:30:59] local.INFO: GPS data processed {"connection_id":46238,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:30:59] local.INFO: Acknowledgment sent {"connection_id":46238,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:31:22] local.INFO: TCP Data received {"connection_id":46017,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:31:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:31:22] local.INFO: Processing buffer {"connection_id":46017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:31:22] local.INFO: IMEI packet received {"connection_id":46017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:31:22] local.INFO: IMEI acknowledgment sent {"connection_id":46017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:31:27] local.INFO: TCP Data received {"connection_id":46017,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46017,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:31:27] local.INFO: Processing buffer {"connection_id":46017,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:31:27] local.INFO: IMEI packet received {"connection_id":46017,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:31:27] local.INFO: IMEI acknowledgment sent {"connection_id":46017,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:31:27] local.INFO: TCP Data received {"connection_id":46017,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b17a3d8012d1823000721b758004d001d28..."} 
[2026-04-17 16:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b17a3d8012d1823000721b758004d001d28..."} 
[2026-04-17 16:31:27] local.INFO: Processing buffer {"connection_id":46017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b17a3d8012d1823000721b758004d001d28..."} 
[2026-04-17 16:31:27] local.INFO: Packet analysis {"connection_id":46017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b17"} 
[2026-04-17 16:31:27] local.INFO: Extracted packet for processing {"connection_id":46017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b17"} 
[2026-04-17 16:31:27] local.INFO: GPS Element Parsed {"raw_longitude":756556544,"raw_latitude":119650136,"longitude_deg":75.6556544,"latitude_deg":11.9650136,"altitude":77,"angle":29,"satellites":40,"speed":0,"hex_longitude":"2d182300","hex_latitude":"0721b758","is_valid_coordinates":true} 
[2026-04-17 16:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764418048001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296706077982720,"note":"Value kept but may cause issues"} 
[2026-04-17 16:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725561856,"note":"Value kept but may cause issues"} 
[2026-04-17 16:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776423511000,"timestamp_ms":1776423511000,"timestamp_seconds":1776423511,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b17a3d8"} 
[2026-04-17 16:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:31:27] 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-04-17 16:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-04-17 16:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1947,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764418048001,"66":13156,"105":206,"83":41984,"24":0,"16":113296706077982720,"45":1739233911725561856},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764418048001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:31:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:31:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296706077982720,"km_value":113296706077982.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725561856,"description":"Unknown IO ID 45"} 
[2026-04-17 16:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764418048001,"power":13156,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739233911725561856}} 
[2026-04-17 16:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":46017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22153,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:31:27] local.INFO: GPS data processed {"connection_id":46017,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:31:27] local.INFO: Acknowledgment sent {"connection_id":46017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:31:33] local.INFO: TCP Data received {"connection_id":46766,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:31:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46766,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:31:33] local.INFO: Processing buffer {"connection_id":46766,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:31:33] local.INFO: Packet analysis {"connection_id":46766,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:31:33] local.INFO: Extracted packet for processing {"connection_id":46766,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:31:33] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:31:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764353280001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:31:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:31:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:31:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:31:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776423556000,"timestamp_ms":1776423556000,"timestamp_seconds":1776423556,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1853a0"} 
[2026-04-17 16:31:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:31:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:31:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 16:31:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:31:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:31:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:31:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46766,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:31:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:31:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46766,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:31:33] 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-04-17 16:31:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:31:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:31:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764353280001,"66":25593,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:31:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:31:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:31:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764353280001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:31:33] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:31:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:31:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:31:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:31:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764353280001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:31:33] local.INFO: DEBUG: GPS processor result {"connection_id":46766,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22154,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:31:33] local.INFO: GPS data processed {"connection_id":46766,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:31:33] local.INFO: Acknowledgment sent {"connection_id":46766,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:31:50] local.INFO: TCP Data received {"connection_id":46239,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:31:50] local.INFO: Processing buffer {"connection_id":46239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:31:50] local.INFO: IMEI packet received {"connection_id":46239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":46239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:31:55] local.INFO: TCP Data received {"connection_id":46239,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46239,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:31:55] local.INFO: Processing buffer {"connection_id":46239,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:31:55] local.INFO: IMEI packet received {"connection_id":46239,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":46239,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:31:56] local.INFO: TCP Data received {"connection_id":46239,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:31:56] local.INFO: Processing buffer {"connection_id":46239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:31:56] local.INFO: Packet analysis {"connection_id":46239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:31:56] local.INFO: Extracted packet for processing {"connection_id":46239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764353280001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776423556000,"timestamp_ms":1776423556000,"timestamp_seconds":1776423556,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1853a0"} 
[2026-04-17 16:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 16:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764353280001,"66":25593,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764353280001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:31:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764353280001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":46239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:31:56] local.INFO: GPS data processed {"connection_id":46239,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:31:56] local.INFO: Acknowledgment sent {"connection_id":46239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:31:58] local.INFO: TCP Data received {"connection_id":46017,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b17af90012d1823400721b838004d001129..."} 
[2026-04-17 16:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b17af90012d1823400721b838004d001129..."} 
[2026-04-17 16:31:58] local.INFO: Processing buffer {"connection_id":46017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b17af90012d1823400721b838004d001129..."} 
[2026-04-17 16:31:58] local.INFO: Packet analysis {"connection_id":46017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b17"} 
[2026-04-17 16:31:58] local.INFO: Extracted packet for processing {"connection_id":46017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b17"} 
[2026-04-17 16:31:58] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650360,"longitude_deg":75.6556608,"latitude_deg":11.965036,"altitude":77,"angle":17,"satellites":41,"speed":3,"hex_longitude":"2d182340","hex_latitude":"0721b838","is_valid_coordinates":true} 
[2026-04-17 16:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764418816001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296718962884608,"note":"Value kept but may cause issues"} 
[2026-04-17 16:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739233911725578240,"note":"Value kept but may cause issues"} 
[2026-04-17 16:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776423514000,"timestamp_ms":1776423514000,"timestamp_seconds":1776423514,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b17af90"} 
[2026-04-17 16:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:31:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":100,"data_length":795,"current_offset":136} 
[2026-04-17 16:31:58] 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-04-17 16:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46017,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764418816001,"66":13135,"105":206,"83":41984,"24":3,"16":113296718962884608,"45":1739233911725578240},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764418816001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:31:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:31:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296718962884608,"km_value":113296718962884.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739233911725578240,"description":"Unknown IO ID 45"} 
[2026-04-17 16:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764418816001,"power":13135,"unknown_105":206,"unknown_83":41984,"ignition":3,"odometer":null,"unknown_45":1739233911725578240}} 
[2026-04-17 16:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":46017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22156,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:31:59] local.INFO: GPS data processed {"connection_id":46017,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:31:59] local.INFO: Acknowledgment sent {"connection_id":46017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:32:20] local.INFO: TCP Data received {"connection_id":46018,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:32:20] local.INFO: Processing buffer {"connection_id":46018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:32:20] local.INFO: IMEI packet received {"connection_id":46018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":46018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:32:21] local.INFO: TCP Data received {"connection_id":46018,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:32:21] local.INFO: Processing buffer {"connection_id":46018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:32:21] local.INFO: IMEI packet received {"connection_id":46018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":46018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:32:27] local.INFO: TCP Data received {"connection_id":46018,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:32:27] local.INFO: Processing buffer {"connection_id":46018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:32:27] local.INFO: IMEI packet received {"connection_id":46018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:32:27] local.INFO: IMEI acknowledgment sent {"connection_id":46018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:32:27] local.INFO: TCP Data received {"connection_id":46018,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b180198012d1823400721b890004d001028..."} 
[2026-04-17 16:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b180198012d1823400721b890004d001028..."} 
[2026-04-17 16:32:27] local.INFO: Processing buffer {"connection_id":46018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b180198012d1823400721b890004d001028..."} 
[2026-04-17 16:32:27] local.INFO: Packet analysis {"connection_id":46018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:32:27] local.INFO: Extracted packet for processing {"connection_id":46018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:32:27] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650448,"longitude_deg":75.6556608,"latitude_deg":11.9650448,"altitude":77,"angle":16,"satellites":40,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b890","is_valid_coordinates":true} 
[2026-04-17 16:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764419584001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296723257851904,"note":"Value kept but may cause issues"} 
[2026-04-17 16:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469813248,"note":"Value kept but may cause issues"} 
[2026-04-17 16:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776423535000,"timestamp_ms":1776423535000,"timestamp_seconds":1776423535,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b180198"} 
[2026-04-17 16:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:32:27] 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-04-17 16:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":79,"data_length":795,"current_offset":136} 
[2026-04-17 16:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1164,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764419584001,"66":13048,"105":206,"83":41984,"24":0,"16":113296723257851904,"45":1739304280469813248},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764419584001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:32:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:32:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296723257851904,"km_value":113296723257851.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469813248,"description":"Unknown IO ID 45"} 
[2026-04-17 16:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764419584001,"power":13048,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469813248}} 
[2026-04-17 16:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":46018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:32:27] local.INFO: GPS data processed {"connection_id":46018,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:32:27] local.INFO: Acknowledgment sent {"connection_id":46018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:32:27] local.INFO: TCP Data received {"connection_id":46239,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:32:28] local.INFO: Processing buffer {"connection_id":46239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:32:28] local.INFO: Packet analysis {"connection_id":46239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:32:28] local.INFO: Extracted packet for processing {"connection_id":46239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:32:28] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764353280001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:32:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776423556000,"timestamp_ms":1776423556000,"timestamp_seconds":1776423556,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1853a0"} 
[2026-04-17 16:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:32:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 16:32:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46239,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764353280001,"66":25593,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764353280001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:32:28] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:32:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764353280001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":46239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:32:28] local.INFO: GPS data processed {"connection_id":46239,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:32:28] local.INFO: Acknowledgment sent {"connection_id":46239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:32:50] local.INFO: TCP Data received {"connection_id":46019,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:32:50] local.INFO: Processing buffer {"connection_id":46019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:32:50] local.INFO: IMEI packet received {"connection_id":46019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":46019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:32:55] local.INFO: TCP Data received {"connection_id":46019,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:32:55] local.INFO: Processing buffer {"connection_id":46019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:32:55] local.INFO: IMEI packet received {"connection_id":46019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":46019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:32:56] local.INFO: TCP Data received {"connection_id":46019,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:32:56] local.INFO: Processing buffer {"connection_id":46019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:32:56] local.INFO: Packet analysis {"connection_id":46019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:32:56] local.INFO: Extracted packet for processing {"connection_id":46019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764353280001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776423556000,"timestamp_ms":1776423556000,"timestamp_seconds":1776423556,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1853a0"} 
[2026-04-17 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-04-17 16:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 16:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 16:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764353280001,"66":25593,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764353280001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:32:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764353280001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":46019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22159,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:32:56] local.INFO: GPS data processed {"connection_id":46019,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:32:56] local.INFO: Acknowledgment sent {"connection_id":46019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:32:58] local.INFO: TCP Data received {"connection_id":46018,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1853a0012d1823400721b890004d00102a..."} 
[2026-04-17 16:32:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1853a0012d1823400721b890004d00102a..."} 
[2026-04-17 16:32:58] local.INFO: Processing buffer {"connection_id":46018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1853a0012d1823400721b890004d00102a..."} 
[2026-04-17 16:32:58] local.INFO: Packet analysis {"connection_id":46018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:32:58] local.INFO: Extracted packet for processing {"connection_id":46018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:32:58] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650448,"longitude_deg":75.6556608,"latitude_deg":11.9650448,"altitude":77,"angle":16,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b890","is_valid_coordinates":true} 
[2026-04-17 16:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:32:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764424960001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:32:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296723257851904,"note":"Value kept but may cause issues"} 
[2026-04-17 16:32:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469835776,"note":"Value kept but may cause issues"} 
[2026-04-17 16:32:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:32:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776423556000,"timestamp_ms":1776423556000,"timestamp_seconds":1776423556,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1853a0"} 
[2026-04-17 16:32:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:32:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":16896,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:32:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-17 16:32: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-04-17 16:32:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:32:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:32:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:32:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:32:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:32:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:32:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:32:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:32:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:32:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764424960001,"66":13080,"105":206,"83":41984,"24":0,"16":113296723257851904,"45":1739304280469835776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:32:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:32:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:32:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764424960001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:32:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:32:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:32:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296723257851904,"km_value":113296723257851.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:32:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469835776,"description":"Unknown IO ID 45"} 
[2026-04-17 16:32:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764424960001,"power":13080,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469835776}} 
[2026-04-17 16:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":46018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22160,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:32:59] local.INFO: GPS data processed {"connection_id":46018,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:32:59] local.INFO: Acknowledgment sent {"connection_id":46018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:33:21] local.INFO: TCP Data received {"connection_id":46767,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:33:21] local.INFO: Processing buffer {"connection_id":46767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:33:21] local.INFO: IMEI packet received {"connection_id":46767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":46767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:33:23] local.INFO: TCP Data received {"connection_id":46767,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:33:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:33:23] local.INFO: Processing buffer {"connection_id":46767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:33:23] local.INFO: IMEI packet received {"connection_id":46767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:33:23] local.INFO: IMEI acknowledgment sent {"connection_id":46767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:33:27] local.INFO: TCP Data received {"connection_id":46767,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46767,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:33:27] local.INFO: Processing buffer {"connection_id":46767,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:33:27] local.INFO: IMEI packet received {"connection_id":46767,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:33:27] local.INFO: IMEI acknowledgment sent {"connection_id":46767,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:33:27] local.INFO: TCP Data received {"connection_id":46019,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:33:27] local.INFO: Processing buffer {"connection_id":46019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:33:27] local.INFO: Packet analysis {"connection_id":46019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:33:27] local.INFO: Extracted packet for processing {"connection_id":46019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764353280001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776423556000,"timestamp_ms":1776423556000,"timestamp_seconds":1776423556,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1853a0"} 
[2026-04-17 16:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 16:33:27] 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-04-17 16:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764353280001,"66":25593,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764353280001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:33:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764353280001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":46019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22161,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:33:27] local.INFO: GPS data processed {"connection_id":46019,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:33:27] local.INFO: Acknowledgment sent {"connection_id":46019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:33:27] local.INFO: TCP Data received {"connection_id":46767,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b18a5a8012d1823400721b890004d001025..."} 
[2026-04-17 16:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b18a5a8012d1823400721b890004d001025..."} 
[2026-04-17 16:33:27] local.INFO: Processing buffer {"connection_id":46767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b18a5a8012d1823400721b890004d001025..."} 
[2026-04-17 16:33:27] local.INFO: Packet analysis {"connection_id":46767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:33:27] local.INFO: Extracted packet for processing {"connection_id":46767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:33:27] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650448,"longitude_deg":75.6556608,"latitude_deg":11.9650448,"altitude":77,"angle":16,"satellites":37,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b890","is_valid_coordinates":true} 
[2026-04-17 16:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764430336001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296723257851904,"note":"Value kept but may cause issues"} 
[2026-04-17 16:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469835776,"note":"Value kept but may cause issues"} 
[2026-04-17 16:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776423577000,"timestamp_ms":1776423577000,"timestamp_seconds":1776423577,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b18a5a8"} 
[2026-04-17 16:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:33:27] 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-04-17 16:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":24,"data_length":795,"current_offset":136} 
[2026-04-17 16:33:27] 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-04-17 16:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764430336001,"66":13015,"105":206,"83":41984,"24":0,"16":113296723257851904,"45":1739304280469835776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764430336001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:33:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:33:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296723257851904,"km_value":113296723257851.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469835776,"description":"Unknown IO ID 45"} 
[2026-04-17 16:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764430336001,"power":13015,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469835776}} 
[2026-04-17 16:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":46767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22162,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:33:27] local.INFO: GPS data processed {"connection_id":46767,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:33:27] local.INFO: Acknowledgment sent {"connection_id":46767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:33:50] local.INFO: TCP Data received {"connection_id":46768,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:33:50] local.INFO: Processing buffer {"connection_id":46768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:33:50] local.INFO: IMEI packet received {"connection_id":46768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":46768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:33:55] local.INFO: TCP Data received {"connection_id":46768,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46768,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:33:55] local.INFO: Processing buffer {"connection_id":46768,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:33:55] local.INFO: IMEI packet received {"connection_id":46768,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":46768,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:33:56] local.INFO: TCP Data received {"connection_id":46768,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:33:56] local.INFO: Processing buffer {"connection_id":46768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:33:56] local.INFO: Packet analysis {"connection_id":46768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:33:56] local.INFO: Extracted packet for processing {"connection_id":46768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:33:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764353280001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776423556000,"timestamp_ms":1776423556000,"timestamp_seconds":1776423556,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1853a0"} 
[2026-04-17 16:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 16:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:33:56] 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-04-17 16:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764353280001,"66":25593,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764353280001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:33:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:33:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764353280001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":46768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22163,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:33:56] local.INFO: GPS data processed {"connection_id":46768,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:33:56] local.INFO: Acknowledgment sent {"connection_id":46768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:33:59] local.INFO: TCP Data received {"connection_id":46767,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b18f7b0012d1823400721b890004d00102a..."} 
[2026-04-17 16:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46767,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b18f7b0012d1823400721b890004d00102a..."} 
[2026-04-17 16:33:59] local.INFO: Processing buffer {"connection_id":46767,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b18f7b0012d1823400721b890004d00102a..."} 
[2026-04-17 16:33:59] local.INFO: Packet analysis {"connection_id":46767,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:33:59] local.INFO: Extracted packet for processing {"connection_id":46767,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650448,"longitude_deg":75.6556608,"latitude_deg":11.9650448,"altitude":77,"angle":16,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b890","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764435712001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296723257851904,"note":"Value kept but may cause issues"} 
[2026-04-17 16:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469835776,"note":"Value kept but may cause issues"} 
[2026-04-17 16:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776423598000,"timestamp_ms":1776423598000,"timestamp_seconds":1776423598,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b18f7b0"} 
[2026-04-17 16:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:33:59] 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-04-17 16: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":215,"data_length":795,"current_offset":136} 
[2026-04-17 16:33: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-04-17 16: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-04-17 16:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46767,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46767,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764435712001,"66":12993,"105":206,"83":41984,"24":0,"16":113296723257851904,"45":1739304280469835776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764435712001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:33:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:33:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296723257851904,"km_value":113296723257851.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469835776,"description":"Unknown IO ID 45"} 
[2026-04-17 16:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764435712001,"power":12993,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469835776}} 
[2026-04-17 16:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":46767,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22164,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:33:59] local.INFO: GPS data processed {"connection_id":46767,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:33:59] local.INFO: Acknowledgment sent {"connection_id":46767,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:34:21] local.INFO: TCP Data received {"connection_id":46242,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:34:21] local.INFO: Processing buffer {"connection_id":46242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:34:21] local.INFO: IMEI packet received {"connection_id":46242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":46242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:34:27] local.INFO: TCP Data received {"connection_id":46242,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:34:27] local.INFO: Processing buffer {"connection_id":46242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:34:27] local.INFO: IMEI packet received {"connection_id":46242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:34:27] local.INFO: IMEI acknowledgment sent {"connection_id":46242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:34:27] local.INFO: TCP Data received {"connection_id":46768,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46768,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:34:27] local.INFO: Processing buffer {"connection_id":46768,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1853a0012d7faac005afe180000000092a..."} 
[2026-04-17 16:34:27] local.INFO: Packet analysis {"connection_id":46768,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:34:27] local.INFO: Extracted packet for processing {"connection_id":46768,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b18"} 
[2026-04-17 16:34:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764353280001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776423556000,"timestamp_ms":1776423556000,"timestamp_seconds":1776423556,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1853a0"} 
[2026-04-17 16:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 16:34:27] 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-04-17 16:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46768,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46768,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764353280001,"66":25593,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764353280001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:34:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:34:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764353280001,"power":25593,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":46768,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22165,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:34:27] local.INFO: GPS data processed {"connection_id":46768,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:34:27] local.INFO: Acknowledgment sent {"connection_id":46768,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:34:27] local.INFO: TCP Data received {"connection_id":46242,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1949b8012d1823400721b890004d001029..."} 
[2026-04-17 16:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1949b8012d1823400721b890004d001029..."} 
[2026-04-17 16:34:27] local.INFO: Processing buffer {"connection_id":46242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1949b8012d1823400721b890004d001029..."} 
[2026-04-17 16:34:27] local.INFO: Packet analysis {"connection_id":46242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b19"} 
[2026-04-17 16:34:27] local.INFO: Extracted packet for processing {"connection_id":46242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b19"} 
[2026-04-17 16:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650448,"longitude_deg":75.6556608,"latitude_deg":11.9650448,"altitude":77,"angle":16,"satellites":41,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b890","is_valid_coordinates":true} 
[2026-04-17 16:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764441088001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296723257851904,"note":"Value kept but may cause issues"} 
[2026-04-17 16:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469835776,"note":"Value kept but may cause issues"} 
[2026-04-17 16:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776423619000,"timestamp_ms":1776423619000,"timestamp_seconds":1776423619,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1949b8"} 
[2026-04-17 16:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:34:27] 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-04-17 16:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-04-17 16:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2185,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764441088001,"66":12950,"105":206,"83":41984,"24":0,"16":113296723257851904,"45":1739304280469835776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764441088001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:34:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:34:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296723257851904,"km_value":113296723257851.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469835776,"description":"Unknown IO ID 45"} 
[2026-04-17 16:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764441088001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469835776}} 
[2026-04-17 16:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":46242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22166,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:34:28] local.INFO: GPS data processed {"connection_id":46242,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:34:28] local.INFO: Acknowledgment sent {"connection_id":46242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:34:29] local.INFO: TCP Data received {"connection_id":46769,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46769,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:34:29] local.INFO: Processing buffer {"connection_id":46769,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:34:29] local.INFO: IMEI packet received {"connection_id":46769,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":46769,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:34:55] local.INFO: TCP Data received {"connection_id":46020,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:34:55] local.INFO: Processing buffer {"connection_id":46020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:34:55] local.INFO: IMEI packet received {"connection_id":46020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":46020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:34:56] local.INFO: TCP Data received {"connection_id":46020,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:34:56] local.INFO: Processing buffer {"connection_id":46020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:34:56] local.INFO: IMEI packet received {"connection_id":46020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:34:56] local.INFO: IMEI acknowledgment sent {"connection_id":46020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:34:58] local.INFO: TCP Data received {"connection_id":46242,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b199bc0012d1823400721b890004d00102a..."} 
[2026-04-17 16:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b199bc0012d1823400721b890004d00102a..."} 
[2026-04-17 16:34:58] local.INFO: Processing buffer {"connection_id":46242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b199bc0012d1823400721b890004d00102a..."} 
[2026-04-17 16:34:58] local.INFO: Packet analysis {"connection_id":46242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b19"} 
[2026-04-17 16:34:58] local.INFO: Extracted packet for processing {"connection_id":46242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b19"} 
[2026-04-17 16:34:58] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650448,"longitude_deg":75.6556608,"latitude_deg":11.9650448,"altitude":77,"angle":16,"satellites":42,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b890","is_valid_coordinates":true} 
[2026-04-17 16:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:34:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764446464001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:34:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296723257851904,"note":"Value kept but may cause issues"} 
[2026-04-17 16:34:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469835776,"note":"Value kept but may cause issues"} 
[2026-04-17 16:34:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:34:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776423640000,"timestamp_ms":1776423640000,"timestamp_seconds":1776423640,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b199bc0"} 
[2026-04-17 16:34:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:34:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:34:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 16:34: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-04-17 16:34:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:34:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:34:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:34:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:34:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:34:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:34:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:34:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:34:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:34:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764446464001,"66":12950,"105":206,"83":41984,"24":0,"16":113296723257851904,"45":1739304280469835776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:34:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:34:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:34:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764446464001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:34:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:34:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:34:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296723257851904,"km_value":113296723257851.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:34:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469835776,"description":"Unknown IO ID 45"} 
[2026-04-17 16:34:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764446464001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469835776}} 
[2026-04-17 16:34:58] local.INFO: DEBUG: GPS processor result {"connection_id":46242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:34:58] local.INFO: GPS data processed {"connection_id":46242,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:34:58] local.INFO: Acknowledgment sent {"connection_id":46242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:35:00] local.INFO: TCP Data received {"connection_id":46020,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46020,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:35:00] local.INFO: Processing buffer {"connection_id":46020,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:35:00] local.INFO: IMEI packet received {"connection_id":46020,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:35:00] local.INFO: IMEI acknowledgment sent {"connection_id":46020,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:35:01] local.INFO: TCP Data received {"connection_id":46020,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:35:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:35:01] local.INFO: Processing buffer {"connection_id":46020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:35:01] local.INFO: Packet analysis {"connection_id":46020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:35:01] local.INFO: Extracted packet for processing {"connection_id":46020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:35:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:35:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764430336001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:35:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:35:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:35:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:35:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776423857000,"timestamp_ms":1776423857000,"timestamp_seconds":1776423857,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1ceb68"} 
[2026-04-17 16:35:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:35:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:35:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-17 16:35: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-04-17 16:35:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:35:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:35:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:35:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:35:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:35:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16: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-04-17 16:35:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:35:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:35:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764430336001,"66":25538,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:35:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:35:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:35:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764430336001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:35:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:35:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:35:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:35:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:35:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764430336001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:35:01] local.INFO: DEBUG: GPS processor result {"connection_id":46020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:35:01] local.INFO: GPS data processed {"connection_id":46020,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:35:01] local.INFO: Acknowledgment sent {"connection_id":46020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:35:04] local.INFO: TCP Data received {"connection_id":45915,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:35:04] local.INFO: Processing buffer {"connection_id":45915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:35:04] local.INFO: IMEI packet received {"connection_id":45915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":45915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:35:05] local.INFO: TCP Data received {"connection_id":46020,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:35:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46020,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:35:05] local.INFO: Processing buffer {"connection_id":46020,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:35:05] local.INFO: Packet analysis {"connection_id":46020,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:35:05] local.INFO: Extracted packet for processing {"connection_id":46020,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:35:05] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:35:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764430336001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:35:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:35:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:35:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:35:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776423857000,"timestamp_ms":1776423857000,"timestamp_seconds":1776423857,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1ceb68"} 
[2026-04-17 16:35:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:35:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:35:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-17 16:35:05] 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-04-17 16:35:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:35:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:35:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:35:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46020,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:35:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:35:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46020,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:35:05] 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-04-17 16:35:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:35:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:35:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764430336001,"66":25538,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:35:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:35:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:35:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764430336001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:35:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:35:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:35:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:35:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:35:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764430336001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:35:05] local.INFO: DEBUG: GPS processor result {"connection_id":46020,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22169,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:35:05] local.INFO: GPS data processed {"connection_id":46020,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:35:05] local.INFO: Acknowledgment sent {"connection_id":46020,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:35:27] local.INFO: TCP Data received {"connection_id":46770,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:35:27] local.INFO: Processing buffer {"connection_id":46770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:35:27] local.INFO: IMEI packet received {"connection_id":46770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":46770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:35:27] local.INFO: TCP Data received {"connection_id":46770,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:35:27] local.INFO: Processing buffer {"connection_id":46770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:35:27] local.INFO: IMEI packet received {"connection_id":46770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:35:27] local.INFO: IMEI acknowledgment sent {"connection_id":46770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:35:32] local.INFO: TCP Data received {"connection_id":46770,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46770,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:35:32] local.INFO: Processing buffer {"connection_id":46770,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:35:32] local.INFO: IMEI packet received {"connection_id":46770,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:35:32] local.INFO: IMEI acknowledgment sent {"connection_id":46770,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:35:32] local.INFO: TCP Data received {"connection_id":46770,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b19edc8012d1823400721b890004d00102b..."} 
[2026-04-17 16:35:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b19edc8012d1823400721b890004d00102b..."} 
[2026-04-17 16:35:32] local.INFO: Processing buffer {"connection_id":46770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b19edc8012d1823400721b890004d00102b..."} 
[2026-04-17 16:35:32] local.INFO: Packet analysis {"connection_id":46770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b19"} 
[2026-04-17 16:35:32] local.INFO: Extracted packet for processing {"connection_id":46770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b19"} 
[2026-04-17 16:35:32] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650448,"longitude_deg":75.6556608,"latitude_deg":11.9650448,"altitude":77,"angle":16,"satellites":43,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b890","is_valid_coordinates":true} 
[2026-04-17 16:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:35:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764451840001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:35:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296723257851904,"note":"Value kept but may cause issues"} 
[2026-04-17 16:35:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469835776,"note":"Value kept but may cause issues"} 
[2026-04-17 16:35:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:35:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776423661000,"timestamp_ms":1776423661000,"timestamp_seconds":1776423661,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b19edc8"} 
[2026-04-17 16:35:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:35:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:35:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 16:35:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1798,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:35:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:35:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:35:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:35:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:35:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:35:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:35:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:35:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:35:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:35:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764451840001,"66":12885,"105":206,"83":41984,"24":0,"16":113296723257851904,"45":1739304280469835776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:35:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:35:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:35:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764451840001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:35:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:35:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:35:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296723257851904,"km_value":113296723257851.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:35:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469835776,"description":"Unknown IO ID 45"} 
[2026-04-17 16:35:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764451840001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469835776}} 
[2026-04-17 16:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":46770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22170,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:35:33] local.INFO: GPS data processed {"connection_id":46770,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:35:33] local.INFO: Acknowledgment sent {"connection_id":46770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:35:37] local.INFO: TCP Data received {"connection_id":46770,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1a3fd0012d1823400721b890004d00102b..."} 
[2026-04-17 16:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46770,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1a3fd0012d1823400721b890004d00102b..."} 
[2026-04-17 16:35:37] local.INFO: Processing buffer {"connection_id":46770,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1a3fd0012d1823400721b890004d00102b..."} 
[2026-04-17 16:35:37] local.INFO: Packet analysis {"connection_id":46770,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1a"} 
[2026-04-17 16:35:37] local.INFO: Extracted packet for processing {"connection_id":46770,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1a"} 
[2026-04-17 16:35:37] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650448,"longitude_deg":75.6556608,"latitude_deg":11.9650448,"altitude":77,"angle":16,"satellites":43,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b890","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:35:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764457216001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:35:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296723257851904,"note":"Value kept but may cause issues"} 
[2026-04-17 16:35:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469835776,"note":"Value kept but may cause issues"} 
[2026-04-17 16:35:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:35:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776423682000,"timestamp_ms":1776423682000,"timestamp_seconds":1776423682,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1a3fd0"} 
[2026-04-17 16:35:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:35:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 16:35: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-04-17 16: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-04-17 16:35:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:35:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:35:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46770,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:35:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:35:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46770,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:35:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:35:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:35:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:35:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764457216001,"66":12885,"105":206,"83":41984,"24":0,"16":113296723257851904,"45":1739304280469835776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:35:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:35:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:35:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764457216001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:35:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:35:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:35:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296723257851904,"km_value":113296723257851.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:35:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469835776,"description":"Unknown IO ID 45"} 
[2026-04-17 16:35:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764457216001,"power":12885,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469835776}} 
[2026-04-17 16:35:37] local.INFO: DEBUG: GPS processor result {"connection_id":46770,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:35:37] local.INFO: GPS data processed {"connection_id":46770,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:35:37] local.INFO: Acknowledgment sent {"connection_id":46770,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:35:50] local.INFO: TCP Data received {"connection_id":46021,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:35:50] local.INFO: Processing buffer {"connection_id":46021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:35:50] local.INFO: IMEI packet received {"connection_id":46021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":46021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:35:55] local.INFO: TCP Data received {"connection_id":46021,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46021,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:35:55] local.INFO: Processing buffer {"connection_id":46021,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:35:55] local.INFO: IMEI packet received {"connection_id":46021,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":46021,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:35:56] local.INFO: TCP Data received {"connection_id":46021,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:35:56] local.INFO: Processing buffer {"connection_id":46021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:35:56] local.INFO: Packet analysis {"connection_id":46021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:35:56] local.INFO: Extracted packet for processing {"connection_id":46021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764430336001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776423857000,"timestamp_ms":1776423857000,"timestamp_seconds":1776423857,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1ceb68"} 
[2026-04-17 16:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-17 16:35:56] 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-04-17 16:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764430336001,"66":25538,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764430336001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:35:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764430336001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":46021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:35:56] local.INFO: GPS data processed {"connection_id":46021,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:35:56] local.INFO: Acknowledgment sent {"connection_id":46021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:36:22] local.INFO: TCP Data received {"connection_id":46244,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:36:22] local.INFO: Processing buffer {"connection_id":46244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:36:22] local.INFO: IMEI packet received {"connection_id":46244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":46244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:36:27] local.INFO: TCP Data received {"connection_id":46244,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46244,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:36:27] local.INFO: Processing buffer {"connection_id":46244,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:36:27] local.INFO: IMEI packet received {"connection_id":46244,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:36:27] local.INFO: IMEI acknowledgment sent {"connection_id":46244,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:36:27] local.INFO: TCP Data received {"connection_id":46021,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:36:27] local.INFO: Processing buffer {"connection_id":46021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:36:27] local.INFO: Packet analysis {"connection_id":46021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:36:27] local.INFO: Extracted packet for processing {"connection_id":46021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764430336001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776423857000,"timestamp_ms":1776423857000,"timestamp_seconds":1776423857,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1ceb68"} 
[2026-04-17 16:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-17 16:36:27] 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-04-17 16:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46021,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764430336001,"66":25538,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764430336001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:36:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:36:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764430336001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":46021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22173,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:36:27] local.INFO: GPS data processed {"connection_id":46021,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:36:27] local.INFO: Acknowledgment sent {"connection_id":46021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:36:27] local.INFO: TCP Data received {"connection_id":46244,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1a91d8012d1823400721b890004d00102b..."} 
[2026-04-17 16:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1a91d8012d1823400721b890004d00102b..."} 
[2026-04-17 16:36:27] local.INFO: Processing buffer {"connection_id":46244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1a91d8012d1823400721b890004d00102b..."} 
[2026-04-17 16:36:27] local.INFO: Packet analysis {"connection_id":46244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1a"} 
[2026-04-17 16:36:27] local.INFO: Extracted packet for processing {"connection_id":46244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1a"} 
[2026-04-17 16:36:27] local.INFO: GPS Element Parsed {"raw_longitude":756556608,"raw_latitude":119650448,"longitude_deg":75.6556608,"latitude_deg":11.9650448,"altitude":77,"angle":16,"satellites":43,"speed":0,"hex_longitude":"2d182340","hex_latitude":"0721b890","is_valid_coordinates":true} 
[2026-04-17 16:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764462592001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296723257851904,"note":"Value kept but may cause issues"} 
[2026-04-17 16:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739304280469835776,"note":"Value kept but may cause issues"} 
[2026-04-17 16:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776423703000,"timestamp_ms":1776423703000,"timestamp_seconds":1776423703,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1a91d8"} 
[2026-04-17 16:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:36:27] 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-04-17 16:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 16:36:27] 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-04-17 16:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764462592001,"66":12852,"105":206,"83":41984,"24":0,"16":113296723257851904,"45":1739304280469835776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764462592001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:36:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:36:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296723257851904,"km_value":113296723257851.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739304280469835776,"description":"Unknown IO ID 45"} 
[2026-04-17 16:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764462592001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739304280469835776}} 
[2026-04-17 16:36:28] local.INFO: DEBUG: GPS processor result {"connection_id":46244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22174,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:36:28] local.INFO: GPS data processed {"connection_id":46244,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:36:28] local.INFO: Acknowledgment sent {"connection_id":46244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:36:50] local.INFO: TCP Data received {"connection_id":45916,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:36:50] local.INFO: Processing buffer {"connection_id":45916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:36:50] local.INFO: IMEI packet received {"connection_id":45916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":45916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:36:55] local.INFO: TCP Data received {"connection_id":45916,"ip":"42.106.6.50","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:36:55] local.INFO: Processing buffer {"connection_id":45916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:36:55] local.INFO: IMEI packet received {"connection_id":45916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":45916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:36:56] local.INFO: TCP Data received {"connection_id":45916,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:36:56] local.INFO: Processing buffer {"connection_id":45916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:36:56] local.INFO: Packet analysis {"connection_id":45916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:36:56] local.INFO: Extracted packet for processing {"connection_id":45916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764430336001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776423857000,"timestamp_ms":1776423857000,"timestamp_seconds":1776423857,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1ceb68"} 
[2026-04-17 16:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-17 16:36:56] 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-04-17 16: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-04-17 16:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:36:56] 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-04-17 16:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764430336001,"66":25538,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764430336001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:36:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764430336001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":45916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22175,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:36:56] local.INFO: GPS data processed {"connection_id":45916,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:36:56] local.INFO: Acknowledgment sent {"connection_id":45916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:36:58] local.INFO: TCP Data received {"connection_id":46244,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1e0c78012d1822800721b4f8004b00c72b..."} 
[2026-04-17 16:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1e0c78012d1822800721b4f8004b00c72b..."} 
[2026-04-17 16:36:58] local.INFO: Processing buffer {"connection_id":46244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1e0c78012d1822800721b4f8004b00c72b..."} 
[2026-04-17 16:36:58] local.INFO: Packet analysis {"connection_id":46244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1e"} 
[2026-04-17 16:36:58] local.INFO: Extracted packet for processing {"connection_id":46244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1e"} 
[2026-04-17 16:36:58] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649528,"longitude_deg":75.6556416,"latitude_deg":11.9649528,"altitude":75,"angle":199,"satellites":43,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4f8","is_valid_coordinates":true} 
[2026-04-17 16:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764520960001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296770502492160,"note":"Value kept but may cause issues"} 
[2026-04-17 16:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237067264,"note":"Value kept but may cause issues"} 
[2026-04-17 16:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776423931000,"timestamp_ms":1776423931000,"timestamp_seconds":1776423931,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1e0c78"} 
[2026-04-17 16:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:36:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-17 16:36:58] 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-04-17 16:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46244,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764520960001,"66":12667,"105":206,"83":41984,"24":0,"16":113296770502492160,"45":1739093174237067264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764520960001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:36:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:36:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296770502492160,"km_value":113296770502492.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237067264,"description":"Unknown IO ID 45"} 
[2026-04-17 16:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764520960001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237067264}} 
[2026-04-17 16:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":46244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:36:58] local.INFO: GPS data processed {"connection_id":46244,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:36:58] local.INFO: Acknowledgment sent {"connection_id":46244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:37:22] local.INFO: TCP Data received {"connection_id":45917,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:37:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:37:22] local.INFO: Processing buffer {"connection_id":45917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:37:22] local.INFO: IMEI packet received {"connection_id":45917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:37:22] local.INFO: IMEI acknowledgment sent {"connection_id":45917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:37:27] local.INFO: TCP Data received {"connection_id":45917,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45917,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:37:27] local.INFO: Processing buffer {"connection_id":45917,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:37:27] local.INFO: IMEI packet received {"connection_id":45917,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:37:27] local.INFO: IMEI acknowledgment sent {"connection_id":45917,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:37:27] local.INFO: TCP Data received {"connection_id":45916,"ip":"42.106.6.50","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:37:27] local.INFO: Processing buffer {"connection_id":45916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:37:27] local.INFO: Packet analysis {"connection_id":45916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:37:27] local.INFO: Extracted packet for processing {"connection_id":45916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764430336001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776423857000,"timestamp_ms":1776423857000,"timestamp_seconds":1776423857,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1ceb68"} 
[2026-04-17 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-04-17 16:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-17 16:37:27] 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-04-17 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-04-17 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-04-17 16:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.50","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764430336001,"66":25538,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.50","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764430336001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:37:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764430336001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":45916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:37:27] local.INFO: GPS data processed {"connection_id":45916,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:37:27] local.INFO: Acknowledgment sent {"connection_id":45916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:37:28] local.INFO: TCP Data received {"connection_id":45917,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1e5e80012d1822800721b4f8004b00c72b..."} 
[2026-04-17 16:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1e5e80012d1822800721b4f8004b00c72b..."} 
[2026-04-17 16:37:28] local.INFO: Processing buffer {"connection_id":45917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1e5e80012d1822800721b4f8004b00c72b..."} 
[2026-04-17 16:37:28] local.INFO: Packet analysis {"connection_id":45917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1e"} 
[2026-04-17 16:37:28] local.INFO: Extracted packet for processing {"connection_id":45917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1e"} 
[2026-04-17 16:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649528,"longitude_deg":75.6556416,"latitude_deg":11.9649528,"altitude":75,"angle":199,"satellites":43,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4f8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764526336001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296770502492160,"note":"Value kept but may cause issues"} 
[2026-04-17 16:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237067264,"note":"Value kept but may cause issues"} 
[2026-04-17 16:37:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776423952000,"timestamp_ms":1776423952000,"timestamp_seconds":1776423952,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1e5e80"} 
[2026-04-17 16:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:37:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":123,"data_length":795,"current_offset":136} 
[2026-04-17 16:37: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-04-17 16: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-04-17 16:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764526336001,"66":12645,"105":206,"83":41984,"24":0,"16":113296770502492160,"45":1739093174237067264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764526336001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:37:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:37:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296770502492160,"km_value":113296770502492.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237067264,"description":"Unknown IO ID 45"} 
[2026-04-17 16:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764526336001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237067264}} 
[2026-04-17 16:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":45917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22178,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:37:28] local.INFO: GPS data processed {"connection_id":45917,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:37:28] local.INFO: Acknowledgment sent {"connection_id":45917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:37:50] local.INFO: TCP Data received {"connection_id":46772,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:37:50] local.INFO: Processing buffer {"connection_id":46772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:37:50] local.INFO: IMEI packet received {"connection_id":46772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":46772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:37:55] local.INFO: TCP Data received {"connection_id":46772,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46772,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:37:55] local.INFO: Processing buffer {"connection_id":46772,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:37:55] local.INFO: IMEI packet received {"connection_id":46772,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":46772,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:37:56] local.INFO: TCP Data received {"connection_id":46772,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:37:56] local.INFO: Processing buffer {"connection_id":46772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:37:56] local.INFO: Packet analysis {"connection_id":46772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:37:56] local.INFO: Extracted packet for processing {"connection_id":46772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764430336001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776423857000,"timestamp_ms":1776423857000,"timestamp_seconds":1776423857,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1ceb68"} 
[2026-04-17 16:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-17 16:37:56] 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-04-17 16: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-04-17 16:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:37:56] 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-04-17 16:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764430336001,"66":25538,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764430336001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:37:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764430336001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":46772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22179,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:37:56] local.INFO: GPS data processed {"connection_id":46772,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:37:56] local.INFO: Acknowledgment sent {"connection_id":46772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:37:59] local.INFO: TCP Data received {"connection_id":45917,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1eaca0012d1822800721b4f8004b00c729..."} 
[2026-04-17 16:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45917,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1eaca0012d1822800721b4f8004b00c729..."} 
[2026-04-17 16:37:59] local.INFO: Processing buffer {"connection_id":45917,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1eaca0012d1822800721b4f8004b00c729..."} 
[2026-04-17 16:37:59] local.INFO: Packet analysis {"connection_id":45917,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1e"} 
[2026-04-17 16:37:59] local.INFO: Extracted packet for processing {"connection_id":45917,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1e"} 
[2026-04-17 16:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649528,"longitude_deg":75.6556416,"latitude_deg":11.9649528,"altitude":75,"angle":199,"satellites":41,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4f8","is_valid_coordinates":true} 
[2026-04-17 16:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764531712001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296770502492160,"note":"Value kept but may cause issues"} 
[2026-04-17 16:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237067264,"note":"Value kept but may cause issues"} 
[2026-04-17 16:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776423972000,"timestamp_ms":1776423972000,"timestamp_seconds":1776423972,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1eaca0"} 
[2026-04-17 16:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:37:59] 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-04-17 16:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-17 16:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45917,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45917,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764531712001,"66":12667,"105":206,"83":41984,"24":0,"16":113296770502492160,"45":1739093174237067264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764531712001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:37:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:37:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296770502492160,"km_value":113296770502492.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237067264,"description":"Unknown IO ID 45"} 
[2026-04-17 16:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764531712001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237067264}} 
[2026-04-17 16:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":45917,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:37:59] local.INFO: GPS data processed {"connection_id":45917,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:37:59] local.INFO: Acknowledgment sent {"connection_id":45917,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:38:21] local.INFO: TCP Data received {"connection_id":46773,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:38:21] local.INFO: Processing buffer {"connection_id":46773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:38:21] local.INFO: IMEI packet received {"connection_id":46773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":46773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:38:27] local.INFO: TCP Data received {"connection_id":46773,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46773,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:38:27] local.INFO: Processing buffer {"connection_id":46773,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:38:27] local.INFO: IMEI packet received {"connection_id":46773,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":46773,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:38:27] local.INFO: TCP Data received {"connection_id":46772,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46772,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:38:27] local.INFO: Processing buffer {"connection_id":46772,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:38:27] local.INFO: Packet analysis {"connection_id":46772,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:38:27] local.INFO: Extracted packet for processing {"connection_id":46772,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764430336001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776423857000,"timestamp_ms":1776423857000,"timestamp_seconds":1776423857,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1ceb68"} 
[2026-04-17 16:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-17 16:38:27] 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-04-17 16: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-04-17 16:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46772,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46772,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764430336001,"66":25538,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764430336001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:38:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:38:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764430336001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":46772,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:38:27] local.INFO: GPS data processed {"connection_id":46772,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:38:27] local.INFO: Acknowledgment sent {"connection_id":46772,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:38:27] local.INFO: TCP Data received {"connection_id":46773,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1efea8012d1822800721b4f8004b00c72b..."} 
[2026-04-17 16:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1efea8012d1822800721b4f8004b00c72b..."} 
[2026-04-17 16:38:27] local.INFO: Processing buffer {"connection_id":46773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1efea8012d1822800721b4f8004b00c72b..."} 
[2026-04-17 16:38:27] local.INFO: Packet analysis {"connection_id":46773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1e"} 
[2026-04-17 16:38:27] local.INFO: Extracted packet for processing {"connection_id":46773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1e"} 
[2026-04-17 16:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649528,"longitude_deg":75.6556416,"latitude_deg":11.9649528,"altitude":75,"angle":199,"satellites":43,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4f8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764536832001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296770502492160,"note":"Value kept but may cause issues"} 
[2026-04-17 16:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237067264,"note":"Value kept but may cause issues"} 
[2026-04-17 16:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776423993000,"timestamp_ms":1776423993000,"timestamp_seconds":1776423993,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1efea8"} 
[2026-04-17 16:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:38:27] 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-04-17 16: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-17 16:38:27] 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-04-17 16: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-04-17 16:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764536832001,"66":12645,"105":206,"83":41984,"24":0,"16":113296770502492160,"45":1739093174237067264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764536832001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:38:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:38:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296770502492160,"km_value":113296770502492.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237067264,"description":"Unknown IO ID 45"} 
[2026-04-17 16:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764536832001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237067264}} 
[2026-04-17 16:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":46773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22182,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:38:27] local.INFO: GPS data processed {"connection_id":46773,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:38:27] local.INFO: Acknowledgment sent {"connection_id":46773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:38:50] local.INFO: TCP Data received {"connection_id":45918,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:38:50] local.INFO: Processing buffer {"connection_id":45918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:38:50] local.INFO: IMEI packet received {"connection_id":45918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":45918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:38:55] local.INFO: TCP Data received {"connection_id":45918,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:38:55] local.INFO: Processing buffer {"connection_id":45918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:38:55] local.INFO: IMEI packet received {"connection_id":45918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":45918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:38:56] local.INFO: TCP Data received {"connection_id":45918,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:38:56] local.INFO: Processing buffer {"connection_id":45918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:38:56] local.INFO: Packet analysis {"connection_id":45918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:38:56] local.INFO: Extracted packet for processing {"connection_id":45918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764430336001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776423857000,"timestamp_ms":1776423857000,"timestamp_seconds":1776423857,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1ceb68"} 
[2026-04-17 16:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-17 16:38:56] 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-04-17 16:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764430336001,"66":25538,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764430336001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:38:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764430336001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":45918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22183,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:38:56] local.INFO: GPS data processed {"connection_id":45918,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:38:56] local.INFO: Acknowledgment sent {"connection_id":45918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:38:58] local.INFO: TCP Data received {"connection_id":46773,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1f50b0012d1822800721b4f8004b00c72a..."} 
[2026-04-17 16:38:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46773,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1f50b0012d1822800721b4f8004b00c72a..."} 
[2026-04-17 16:38:58] local.INFO: Processing buffer {"connection_id":46773,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1f50b0012d1822800721b4f8004b00c72a..."} 
[2026-04-17 16:38:58] local.INFO: Packet analysis {"connection_id":46773,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1f"} 
[2026-04-17 16:38:58] local.INFO: Extracted packet for processing {"connection_id":46773,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1f"} 
[2026-04-17 16:38:58] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649528,"longitude_deg":75.6556416,"latitude_deg":11.9649528,"altitude":75,"angle":199,"satellites":42,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4f8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:38:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764542208001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:38:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296770502492160,"note":"Value kept but may cause issues"} 
[2026-04-17 16:38:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237067264,"note":"Value kept but may cause issues"} 
[2026-04-17 16:38:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:38:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776424014000,"timestamp_ms":1776424014000,"timestamp_seconds":1776424014,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1f50b0"} 
[2026-04-17 16:38:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:38: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-04-17 16: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-17 16:38:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:38:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:38:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:38:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46773,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:38:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:38:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46773,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:38:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:38:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:38:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:38:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764542208001,"66":12667,"105":206,"83":41984,"24":0,"16":113296770502492160,"45":1739093174237067264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:38:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:38:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:38:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764542208001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:38:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:38:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:38:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296770502492160,"km_value":113296770502492.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:38:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237067264,"description":"Unknown IO ID 45"} 
[2026-04-17 16:38:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764542208001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237067264}} 
[2026-04-17 16:38:58] local.INFO: DEBUG: GPS processor result {"connection_id":46773,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22184,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:38:58] local.INFO: GPS data processed {"connection_id":46773,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:38:58] local.INFO: Acknowledgment sent {"connection_id":46773,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:39:21] local.INFO: TCP Data received {"connection_id":45919,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:39:21] local.INFO: Processing buffer {"connection_id":45919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:39:21] local.INFO: IMEI packet received {"connection_id":45919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":45919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:39:26] local.INFO: TCP Data received {"connection_id":45919,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45919,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:39:26] local.INFO: Processing buffer {"connection_id":45919,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:39:26] local.INFO: IMEI packet received {"connection_id":45919,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":45919,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:39:27] local.INFO: TCP Data received {"connection_id":45918,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:39:27] local.INFO: Processing buffer {"connection_id":45918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1ceb68012d7faac005afe180000000092b..."} 
[2026-04-17 16:39:27] local.INFO: Packet analysis {"connection_id":45918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:39:27] local.INFO: Extracted packet for processing {"connection_id":45918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1c"} 
[2026-04-17 16:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764430336001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776423857000,"timestamp_ms":1776423857000,"timestamp_seconds":1776423857,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1ceb68"} 
[2026-04-17 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-04-17 16:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":249,"data_length":795,"current_offset":136} 
[2026-04-17 16:39:27] 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-04-17 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-04-17 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-04-17 16:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764430336001,"66":25538,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764430336001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:39:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:39:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764430336001,"power":25538,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":45918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22185,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:39:27] local.INFO: GPS data processed {"connection_id":45918,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:39:27] local.INFO: Acknowledgment sent {"connection_id":45918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:39:27] local.INFO: TCP Data received {"connection_id":45919,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1fa2b8012d1822800721b4f8004b00c72b..."} 
[2026-04-17 16:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1fa2b8012d1822800721b4f8004b00c72b..."} 
[2026-04-17 16:39:27] local.INFO: Processing buffer {"connection_id":45919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1fa2b8012d1822800721b4f8004b00c72b..."} 
[2026-04-17 16:39:27] local.INFO: Packet analysis {"connection_id":45919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1f"} 
[2026-04-17 16:39:27] local.INFO: Extracted packet for processing {"connection_id":45919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1f"} 
[2026-04-17 16:39:27] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649528,"longitude_deg":75.6556416,"latitude_deg":11.9649528,"altitude":75,"angle":199,"satellites":43,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764547584001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296770502492160,"note":"Value kept but may cause issues"} 
[2026-04-17 16:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237067264,"note":"Value kept but may cause issues"} 
[2026-04-17 16:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424035000,"timestamp_ms":1776424035000,"timestamp_seconds":1776424035,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1fa2b8"} 
[2026-04-17 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-04-17 16:39: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-04-17 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":123,"data_length":795,"current_offset":136} 
[2026-04-17 16:39:27] 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-04-17 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-04-17 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-04-17 16:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764547584001,"66":12645,"105":206,"83":41984,"24":0,"16":113296770502492160,"45":1739093174237067264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764547584001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:39:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:39:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296770502492160,"km_value":113296770502492.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237067264,"description":"Unknown IO ID 45"} 
[2026-04-17 16:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764547584001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237067264}} 
[2026-04-17 16:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":45919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22186,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:39:27] local.INFO: GPS data processed {"connection_id":45919,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:39:27] local.INFO: Acknowledgment sent {"connection_id":45919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:39:55] local.INFO: TCP Data received {"connection_id":46246,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:39:55] local.INFO: Processing buffer {"connection_id":46246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:39:55] local.INFO: IMEI packet received {"connection_id":46246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":46246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:39:56] local.INFO: TCP Data received {"connection_id":46246,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46246,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:39:56] local.INFO: Processing buffer {"connection_id":46246,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:39:56] local.INFO: IMEI packet received {"connection_id":46246,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:39:56] local.INFO: IMEI acknowledgment sent {"connection_id":46246,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:39:57] local.INFO: TCP Data received {"connection_id":46246,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:39:57] local.INFO: Processing buffer {"connection_id":46246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:39:57] local.INFO: Packet analysis {"connection_id":46246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:39:57] local.INFO: Extracted packet for processing {"connection_id":46246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:39:57] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764507392001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776424158000,"timestamp_ms":1776424158000,"timestamp_seconds":1776424158,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b218330"} 
[2026-04-17 16:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 16:39: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-04-17 16:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764507392001,"66":25473,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764507392001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:39:57] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:39:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764507392001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":46246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22187,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:39:57] local.INFO: GPS data processed {"connection_id":46246,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:39:57] local.INFO: Acknowledgment sent {"connection_id":46246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:39:58] local.INFO: TCP Data received {"connection_id":45919,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b1ff4c0012d1822800721b4f8004b00c72b..."} 
[2026-04-17 16:39:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45919,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b1ff4c0012d1822800721b4f8004b00c72b..."} 
[2026-04-17 16:39:58] local.INFO: Processing buffer {"connection_id":45919,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b1ff4c0012d1822800721b4f8004b00c72b..."} 
[2026-04-17 16:39:58] local.INFO: Packet analysis {"connection_id":45919,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b1f"} 
[2026-04-17 16:39:58] local.INFO: Extracted packet for processing {"connection_id":45919,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b1f"} 
[2026-04-17 16:39:58] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649528,"longitude_deg":75.6556416,"latitude_deg":11.9649528,"altitude":75,"angle":199,"satellites":43,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4f8","is_valid_coordinates":true} 
[2026-04-17 16:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:39:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764552960001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:39:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296770502492160,"note":"Value kept but may cause issues"} 
[2026-04-17 16:39:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237067264,"note":"Value kept but may cause issues"} 
[2026-04-17 16:39:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:39:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776424056000,"timestamp_ms":1776424056000,"timestamp_seconds":1776424056,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b1ff4c0"} 
[2026-04-17 16:39:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:39: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-04-17 16:39:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-17 16:39:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:39:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:39:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:39:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:39:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45919,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:39:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:39:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45919,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:39:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:39:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:39:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:39:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764552960001,"66":12591,"105":206,"83":41984,"24":0,"16":113296770502492160,"45":1739093174237067264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:39:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:39:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:39:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764552960001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:39:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:39:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:39:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296770502492160,"km_value":113296770502492.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:39:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237067264,"description":"Unknown IO ID 45"} 
[2026-04-17 16:39:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764552960001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237067264}} 
[2026-04-17 16:39:58] local.INFO: DEBUG: GPS processor result {"connection_id":45919,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22188,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:39:58] local.INFO: GPS data processed {"connection_id":45919,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:39:58] local.INFO: Acknowledgment sent {"connection_id":45919,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:40:01] local.INFO: TCP Data received {"connection_id":46246,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:40:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:40:01] local.INFO: Processing buffer {"connection_id":46246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:40:01] local.INFO: Packet analysis {"connection_id":46246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:40:01] local.INFO: Extracted packet for processing {"connection_id":46246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:40:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:40:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764507392001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:40:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:40:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:40:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:40:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776424158000,"timestamp_ms":1776424158000,"timestamp_seconds":1776424158,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b218330"} 
[2026-04-17 16:40:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:40:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":194,"data_length":795,"current_offset":136} 
[2026-04-17 16:40: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-04-17 16: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-04-17 16:40:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:40:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:40:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:40:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:40:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:40: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-04-17 16:40:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:40:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:40:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764507392001,"66":25473,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:40:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:40:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:40:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764507392001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:40:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:40:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:40:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:40:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:40:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764507392001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:40:01] local.INFO: DEBUG: GPS processor result {"connection_id":46246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22189,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:40:01] local.INFO: GPS data processed {"connection_id":46246,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:40:01] local.INFO: Acknowledgment sent {"connection_id":46246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:40:21] local.INFO: TCP Data received {"connection_id":46248,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:40:21] local.INFO: Processing buffer {"connection_id":46248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:40:21] local.INFO: IMEI packet received {"connection_id":46248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":46248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:40:24] local.INFO: TCP Data received {"connection_id":46247,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46247,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:40:24] local.INFO: Processing buffer {"connection_id":46247,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:40:24] local.INFO: IMEI packet received {"connection_id":46247,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":46247,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:40:27] local.INFO: TCP Data received {"connection_id":46248,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46248,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:40:27] local.INFO: Processing buffer {"connection_id":46248,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:40:27] local.INFO: IMEI packet received {"connection_id":46248,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:40:27] local.INFO: IMEI acknowledgment sent {"connection_id":46248,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:40:27] local.INFO: TCP Data received {"connection_id":46248,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b204ab0012d1822800721b4f8004b00c72b..."} 
[2026-04-17 16:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b204ab0012d1822800721b4f8004b00c72b..."} 
[2026-04-17 16:40:27] local.INFO: Processing buffer {"connection_id":46248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b204ab0012d1822800721b4f8004b00c72b..."} 
[2026-04-17 16:40:27] local.INFO: Packet analysis {"connection_id":46248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b20"} 
[2026-04-17 16:40:27] local.INFO: Extracted packet for processing {"connection_id":46248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b20"} 
[2026-04-17 16:40:27] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649528,"longitude_deg":75.6556416,"latitude_deg":11.9649528,"altitude":75,"angle":199,"satellites":43,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4f8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764558336001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296770502492160,"note":"Value kept but may cause issues"} 
[2026-04-17 16:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237067264,"note":"Value kept but may cause issues"} 
[2026-04-17 16:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424078000,"timestamp_ms":1776424078000,"timestamp_seconds":1776424078,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b204ab0"} 
[2026-04-17 16:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:40:27] 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-04-17 16: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 16:40:27] 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-04-17 16: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-04-17 16:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764558336001,"66":12613,"105":206,"83":41984,"24":0,"16":113296770502492160,"45":1739093174237067264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764558336001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:40:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:40:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296770502492160,"km_value":113296770502492.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237067264,"description":"Unknown IO ID 45"} 
[2026-04-17 16:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764558336001,"power":12613,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237067264}} 
[2026-04-17 16:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":46248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22190,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:40:27] local.INFO: GPS data processed {"connection_id":46248,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:40:27] local.INFO: Acknowledgment sent {"connection_id":46248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:40:32] local.INFO: TCP Data received {"connection_id":46246,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:40:32] local.INFO: Processing buffer {"connection_id":46246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:40:32] local.INFO: Packet analysis {"connection_id":46246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:40:32] local.INFO: Extracted packet for processing {"connection_id":46246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:40:32] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764507392001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776424158000,"timestamp_ms":1776424158000,"timestamp_seconds":1776424158,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b218330"} 
[2026-04-17 16:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 16:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2439,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46246,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764507392001,"66":25473,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764507392001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:40:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:40:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764507392001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":46246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22191,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:40:32] local.INFO: GPS data processed {"connection_id":46246,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:40:32] local.INFO: Acknowledgment sent {"connection_id":46246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:40:50] local.INFO: TCP Data received {"connection_id":45920,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:40:50] local.INFO: Processing buffer {"connection_id":45920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:40:50] local.INFO: IMEI packet received {"connection_id":45920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":45920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:40:55] local.INFO: TCP Data received {"connection_id":45920,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:40:55] local.INFO: Processing buffer {"connection_id":45920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:40:55] local.INFO: IMEI packet received {"connection_id":45920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":45920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:40:56] local.INFO: TCP Data received {"connection_id":45920,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:40:56] local.INFO: Processing buffer {"connection_id":45920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:40:56] local.INFO: Packet analysis {"connection_id":45920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:40:56] local.INFO: Extracted packet for processing {"connection_id":45920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764507392001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776424158000,"timestamp_ms":1776424158000,"timestamp_seconds":1776424158,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b218330"} 
[2026-04-17 16:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 16:40:56] 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-04-17 16:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764507392001,"66":25473,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764507392001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:40:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764507392001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":45920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22192,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:40:56] local.INFO: GPS data processed {"connection_id":45920,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:40:56] local.INFO: Acknowledgment sent {"connection_id":45920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:40:58] local.INFO: TCP Data received {"connection_id":46248,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b209cb8012d1822800721b4f8004b00c72a..."} 
[2026-04-17 16:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46248,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b209cb8012d1822800721b4f8004b00c72a..."} 
[2026-04-17 16:40:58] local.INFO: Processing buffer {"connection_id":46248,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b209cb8012d1822800721b4f8004b00c72a..."} 
[2026-04-17 16:40:58] local.INFO: Packet analysis {"connection_id":46248,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b20"} 
[2026-04-17 16:40:58] local.INFO: Extracted packet for processing {"connection_id":46248,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b20"} 
[2026-04-17 16:40:58] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649528,"longitude_deg":75.6556416,"latitude_deg":11.9649528,"altitude":75,"angle":199,"satellites":42,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4f8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764563968001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296770502492160,"note":"Value kept but may cause issues"} 
[2026-04-17 16:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237067264,"note":"Value kept but may cause issues"} 
[2026-04-17 16:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776424099000,"timestamp_ms":1776424099000,"timestamp_seconds":1776424099,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b209cb8"} 
[2026-04-17 16:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:40:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17152,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-17 16:40:58] 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-04-17 16: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-04-17 16:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46248,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46248,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764563968001,"66":12591,"105":206,"83":41984,"24":0,"16":113296770502492160,"45":1739093174237067264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764563968001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:40:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:40:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296770502492160,"km_value":113296770502492.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237067264,"description":"Unknown IO ID 45"} 
[2026-04-17 16:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764563968001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237067264}} 
[2026-04-17 16:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":46248,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22193,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:40:59] local.INFO: GPS data processed {"connection_id":46248,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:40:59] local.INFO: Acknowledgment sent {"connection_id":46248,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:41:04] local.INFO: TCP Data received {"connection_id":46774,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46774,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:41:04] local.INFO: Processing buffer {"connection_id":46774,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:41:04] local.INFO: IMEI packet received {"connection_id":46774,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":46774,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:41:21] local.INFO: TCP Data received {"connection_id":46775,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:41:21] local.INFO: Processing buffer {"connection_id":46775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:41:21] local.INFO: IMEI packet received {"connection_id":46775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":46775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:41:27] local.INFO: TCP Data received {"connection_id":46775,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46775,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:41:27] local.INFO: Processing buffer {"connection_id":46775,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:41:27] local.INFO: IMEI packet received {"connection_id":46775,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:41:27] local.INFO: IMEI acknowledgment sent {"connection_id":46775,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:41:27] local.INFO: TCP Data received {"connection_id":45920,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45920,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:41:27] local.INFO: Processing buffer {"connection_id":45920,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:41:27] local.INFO: Packet analysis {"connection_id":45920,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:41:27] local.INFO: Extracted packet for processing {"connection_id":45920,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764507392001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424158000,"timestamp_ms":1776424158000,"timestamp_seconds":1776424158,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b218330"} 
[2026-04-17 16:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 16:41:27] 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-04-17 16:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45920,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45920,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764507392001,"66":25473,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764507392001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:41:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764507392001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":45920,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:41:27] local.INFO: GPS data processed {"connection_id":45920,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:41:27] local.INFO: Acknowledgment sent {"connection_id":45920,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:41:27] local.INFO: TCP Data received {"connection_id":46775,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b20eec0012d1822800721b4f8004b00c72a..."} 
[2026-04-17 16:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b20eec0012d1822800721b4f8004b00c72a..."} 
[2026-04-17 16:41:27] local.INFO: Processing buffer {"connection_id":46775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b20eec0012d1822800721b4f8004b00c72a..."} 
[2026-04-17 16:41:27] local.INFO: Packet analysis {"connection_id":46775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b20"} 
[2026-04-17 16:41:27] local.INFO: Extracted packet for processing {"connection_id":46775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b20"} 
[2026-04-17 16:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756556416,"raw_latitude":119649528,"longitude_deg":75.6556416,"latitude_deg":11.9649528,"altitude":75,"angle":199,"satellites":42,"speed":0,"hex_longitude":"2d182280","hex_latitude":"0721b4f8","is_valid_coordinates":true} 
[2026-04-17 16:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764569344001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296770502492160,"note":"Value kept but may cause issues"} 
[2026-04-17 16:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237067264,"note":"Value kept but may cause issues"} 
[2026-04-17 16:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424120000,"timestamp_ms":1776424120000,"timestamp_seconds":1776424120,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b20eec0"} 
[2026-04-17 16:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:41:27] 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-04-17 16:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 16:41:27] 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-04-17 16:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764569344001,"66":12580,"105":206,"83":41984,"24":0,"16":113296770502492160,"45":1739093174237067264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764569344001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:41:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:41:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296770502492160,"km_value":113296770502492.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237067264,"description":"Unknown IO ID 45"} 
[2026-04-17 16:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764569344001,"power":12580,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739093174237067264}} 
[2026-04-17 16:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":46775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:41:27] local.INFO: GPS data processed {"connection_id":46775,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:41:27] local.INFO: Acknowledgment sent {"connection_id":46775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:41:50] local.INFO: TCP Data received {"connection_id":46249,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:41:50] local.INFO: Processing buffer {"connection_id":46249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:41:50] local.INFO: IMEI packet received {"connection_id":46249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":46249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:41:55] local.INFO: TCP Data received {"connection_id":46249,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46249,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:41:55] local.INFO: Processing buffer {"connection_id":46249,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:41:55] local.INFO: IMEI packet received {"connection_id":46249,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":46249,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:41:56] local.INFO: TCP Data received {"connection_id":46249,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:41:56] local.INFO: Processing buffer {"connection_id":46249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:41:56] local.INFO: Packet analysis {"connection_id":46249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:41:56] local.INFO: Extracted packet for processing {"connection_id":46249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764507392001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776424158000,"timestamp_ms":1776424158000,"timestamp_seconds":1776424158,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b218330"} 
[2026-04-17 16:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 16:41:56] 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-04-17 16:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764507392001,"66":25473,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764507392001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:41:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764507392001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":46249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22196,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:41:56] local.INFO: GPS data processed {"connection_id":46249,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:41:56] local.INFO: Acknowledgment sent {"connection_id":46249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:41:58] local.INFO: TCP Data received {"connection_id":46775,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2138f8012d1822400721b3d8004d00d52d..."} 
[2026-04-17 16:41:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46775,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2138f8012d1822400721b3d8004d00d52d..."} 
[2026-04-17 16:41:58] local.INFO: Processing buffer {"connection_id":46775,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2138f8012d1822400721b3d8004d00d52d..."} 
[2026-04-17 16:41:58] local.INFO: Packet analysis {"connection_id":46775,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:41:58] local.INFO: Extracted packet for processing {"connection_id":46775,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:41:58] local.INFO: GPS Element Parsed {"raw_longitude":756556352,"raw_latitude":119649240,"longitude_deg":75.6556352,"latitude_deg":11.964924,"altitude":77,"angle":213,"satellites":45,"speed":1,"hex_longitude":"2d182240","hex_latitude":"0721b3d8","is_valid_coordinates":true} 
[2026-04-17 16:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:41:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764574720001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:41:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296783387394048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:41:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739093174237067264,"note":"Value kept but may cause issues"} 
[2026-04-17 16:41:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:41:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776424139000,"timestamp_ms":1776424139000,"timestamp_seconds":1776424139,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2138f8"} 
[2026-04-17 16:41:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:41: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-04-17 16:41:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 16:41:58] 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-04-17 16:41:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:41:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:41:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:41:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46775,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:41:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:41:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46775,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:41:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:41:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:41:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:41:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764574720001,"66":12591,"105":206,"83":41984,"24":1,"16":113296783387394048,"45":1739093174237067264},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:41:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:41:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:41:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764574720001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:41:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:41:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:41:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296783387394048,"km_value":113296783387394.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:41:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739093174237067264,"description":"Unknown IO ID 45"} 
[2026-04-17 16:41:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764574720001,"power":12591,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1739093174237067264}} 
[2026-04-17 16:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":46775,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22197,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:41:59] local.INFO: GPS data processed {"connection_id":46775,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:41:59] local.INFO: Acknowledgment sent {"connection_id":46775,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:42:27] local.INFO: TCP Data received {"connection_id":46250,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:42:27] local.INFO: Processing buffer {"connection_id":46250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:42:27] local.INFO: IMEI packet received {"connection_id":46250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:42:27] local.INFO: IMEI acknowledgment sent {"connection_id":46250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:42:27] local.INFO: TCP Data received {"connection_id":46249,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46249,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:42:27] local.INFO: Processing buffer {"connection_id":46249,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:42:27] local.INFO: Packet analysis {"connection_id":46249,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:42:27] local.INFO: Extracted packet for processing {"connection_id":46249,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764507392001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424158000,"timestamp_ms":1776424158000,"timestamp_seconds":1776424158,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b218330"} 
[2026-04-17 16:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 16:42:27] 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-04-17 16:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46249,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46249,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764507392001,"66":25473,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764507392001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:42:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:42:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764507392001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":46249,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:42:27] local.INFO: GPS data processed {"connection_id":46249,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:42:27] local.INFO: Acknowledgment sent {"connection_id":46249,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:42:32] local.INFO: TCP Data received {"connection_id":46250,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46250,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:42:32] local.INFO: Processing buffer {"connection_id":46250,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:42:32] local.INFO: IMEI packet received {"connection_id":46250,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":46250,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:42:32] local.INFO: TCP Data received {"connection_id":46250,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b218b00012d1821400721b2e8004e00d02c..."} 
[2026-04-17 16:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b218b00012d1821400721b2e8004e00d02c..."} 
[2026-04-17 16:42:32] local.INFO: Processing buffer {"connection_id":46250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b218b00012d1821400721b2e8004e00d02c..."} 
[2026-04-17 16:42:32] local.INFO: Packet analysis {"connection_id":46250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:42:32] local.INFO: Extracted packet for processing {"connection_id":46250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649000,"longitude_deg":75.6556096,"latitude_deg":11.9649,"altitude":78,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764579584001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296804862230528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739022805492815872,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776424160000,"timestamp_ms":1776424160000,"timestamp_seconds":1776424160,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b218b00"} 
[2026-04-17 16:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 16:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764579584001,"66":12548,"105":206,"83":41984,"24":0,"16":113296804862230528,"45":1739022805492815872},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764579584001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:42:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:42:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296804862230528,"km_value":113296804862230.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739022805492815872,"description":"Unknown IO ID 45"} 
[2026-04-17 16:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764579584001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739022805492815872}} 
[2026-04-17 16:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":46250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:42:32] local.INFO: GPS data processed {"connection_id":46250,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:42:32] local.INFO: Acknowledgment sent {"connection_id":46250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:42:36] local.INFO: TCP Data received {"connection_id":46250,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b21dd08012d1821400721b2e8004e00d02c..."} 
[2026-04-17 16:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46250,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b21dd08012d1821400721b2e8004e00d02c..."} 
[2026-04-17 16:42:36] local.INFO: Processing buffer {"connection_id":46250,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b21dd08012d1821400721b2e8004e00d02c..."} 
[2026-04-17 16:42:36] local.INFO: Packet analysis {"connection_id":46250,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:42:36] local.INFO: Extracted packet for processing {"connection_id":46250,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:42:36] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649000,"longitude_deg":75.6556096,"latitude_deg":11.9649,"altitude":78,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764584960001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296804862230528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516043776,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:42:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776424181000,"timestamp_ms":1776424181000,"timestamp_seconds":1776424181,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b21dd08"} 
[2026-04-17 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-04-17 16:42:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 16:42:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:36] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:36] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2602541752,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:36] local.WARNING: Large IO value detected {"io_id":130,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:36] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184203387085,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:36] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3036151883,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:36] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-17 16:42:36] local.WARNING: Large IO value detected {"io_id":244,"raw_value":3221302552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:36] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147951028,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:36] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2194669568,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:36] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:36] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,105,83,24,241,157,16,130,56,45,64,179,77,10,66,238,128,180,75,42,156,1,240,47,227,155,33,4,113,205,244,34,248,43,239,49,2,146,7,106],"length":485,"final_offset":615,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-17 16:42:36] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620721222355517440,"timestamp_seconds":5620721222355517.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 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-04-17 16:42:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:42:36] local.INFO: Teltonika packet parsed successfully {"connection_id":46250,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:42:36] local.INFO: Passing IMEI to GPS processor {"connection_id":46250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:42:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":46250,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:42:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:42:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:42:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:42:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764584960001,"66":12548,"105":206,"83":41984,"24":0,"16":113296804862230528,"45":1738741330516043776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:42:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:42:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:42:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764584960001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:42:36] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:42:36] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:42:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296804862230528,"km_value":113296804862230.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:42:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516043776,"description":"Unknown IO ID 45"} 
[2026-04-17 16:42:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764584960001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516043776}} 
[2026-04-17 16:42:36] local.INFO: DEBUG: GPS processor result {"connection_id":46250,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22200,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:42:36] local.INFO: GPS data processed {"connection_id":46250,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:42:36] local.INFO: Acknowledgment sent {"connection_id":46250,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:42:50] local.INFO: TCP Data received {"connection_id":46024,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:42:50] local.INFO: Processing buffer {"connection_id":46024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:42:50] local.INFO: IMEI packet received {"connection_id":46024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":46024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:42:55] local.INFO: TCP Data received {"connection_id":46024,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:42:55] local.INFO: Processing buffer {"connection_id":46024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:42:55] local.INFO: IMEI packet received {"connection_id":46024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":46024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:42:56] local.INFO: TCP Data received {"connection_id":46024,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:42:56] local.INFO: Processing buffer {"connection_id":46024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:42:56] local.INFO: Packet analysis {"connection_id":46024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:42:56] local.INFO: Extracted packet for processing {"connection_id":46024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764507392001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776424158000,"timestamp_ms":1776424158000,"timestamp_seconds":1776424158,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b218330"} 
[2026-04-17 16:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 16:42:56] 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-04-17 16:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764507392001,"66":25473,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764507392001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:42:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764507392001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":46024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22201,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:42:56] local.INFO: GPS data processed {"connection_id":46024,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:42:56] local.INFO: Acknowledgment sent {"connection_id":46024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:43:17] local.INFO: TCP Data received {"connection_id":46777,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:43:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:43:17] local.INFO: Processing buffer {"connection_id":46777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:43:17] local.INFO: IMEI packet received {"connection_id":46777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:43:17] local.INFO: IMEI acknowledgment sent {"connection_id":46777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:43:22] local.INFO: TCP Data received {"connection_id":46777,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:43:22] local.INFO: Processing buffer {"connection_id":46777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:43:22] local.INFO: IMEI packet received {"connection_id":46777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":46777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:43:26] local.INFO: TCP Data received {"connection_id":46024,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:43:26] local.INFO: Processing buffer {"connection_id":46024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:43:26] local.INFO: Packet analysis {"connection_id":46024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:43:26] local.INFO: Extracted packet for processing {"connection_id":46024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:43:26] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764507392001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776424158000,"timestamp_ms":1776424158000,"timestamp_seconds":1776424158,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b218330"} 
[2026-04-17 16:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 16:43:26] 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-04-17 16:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764507392001,"66":25473,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764507392001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:43:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:43:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764507392001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":46024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:43:26] local.INFO: GPS data processed {"connection_id":46024,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:43:26] local.INFO: Acknowledgment sent {"connection_id":46024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:43:27] local.INFO: TCP Data received {"connection_id":46777,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46777,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:43:27] local.INFO: Processing buffer {"connection_id":46777,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:43:27] local.INFO: IMEI packet received {"connection_id":46777,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:43:27] local.INFO: IMEI acknowledgment sent {"connection_id":46777,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:43:27] local.INFO: TCP Data received {"connection_id":46777,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b222f10012d1821400721b2e8004e00d02d..."} 
[2026-04-17 16:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b222f10012d1821400721b2e8004e00d02d..."} 
[2026-04-17 16:43:27] local.INFO: Processing buffer {"connection_id":46777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b222f10012d1821400721b2e8004e00d02d..."} 
[2026-04-17 16:43:27] local.INFO: Packet analysis {"connection_id":46777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b22"} 
[2026-04-17 16:43:27] local.INFO: Extracted packet for processing {"connection_id":46777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b22"} 
[2026-04-17 16:43:27] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649000,"longitude_deg":75.6556096,"latitude_deg":11.9649,"altitude":78,"angle":208,"satellites":45,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764590336001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296804862230528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516043776,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424202000,"timestamp_ms":1776424202000,"timestamp_seconds":1776424202,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b222f10"} 
[2026-04-17 16:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:43: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-04-17 16:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 16:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:27] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2602562752,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:27] local.WARNING: Large IO value detected {"io_id":130,"raw_value":3489660928,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184199848141,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:27] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3036151883,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-17 16:43:27] local.WARNING: Large IO value detected {"io_id":74,"raw_value":2952867096,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:27] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147951028,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:27] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2194669568,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:27] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:27] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,105,83,24,241,157,16,130,139,45,64,178,78,44,10,66,56,179,77,238,128,1,240,36,227,155,33,4,113,205,74,34,248,43,239,49,2,146,7,75,106],"length":485,"final_offset":615,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-17 16:43:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620721222355517440,"timestamp_seconds":5620721222355517.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 16:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764590336001,"66":12548,"105":206,"83":41984,"24":0,"16":113296804862230528,"45":1738741330516043776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764590336001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:43:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:43:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296804862230528,"km_value":113296804862230.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516043776,"description":"Unknown IO ID 45"} 
[2026-04-17 16:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764590336001,"power":12548,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516043776}} 
[2026-04-17 16:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":46777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:43:27] local.INFO: GPS data processed {"connection_id":46777,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:43:27] local.INFO: Acknowledgment sent {"connection_id":46777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:43:50] local.INFO: TCP Data received {"connection_id":46025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:43:50] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:43:50] local.INFO: IMEI packet received {"connection_id":46025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":46025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:43:55] local.INFO: TCP Data received {"connection_id":46025,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:43:55] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:43:55] local.INFO: IMEI packet received {"connection_id":46025,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":46025,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:43:56] local.INFO: TCP Data received {"connection_id":46025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:43:56] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:43:56] local.INFO: Packet analysis {"connection_id":46025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:43:56] local.INFO: Extracted packet for processing {"connection_id":46025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764507392001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776424158000,"timestamp_ms":1776424158000,"timestamp_seconds":1776424158,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b218330"} 
[2026-04-17 16:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 16:43:56] 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-04-17 16:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764507392001,"66":25473,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764507392001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:43:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764507392001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":46025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:43:56] local.INFO: GPS data processed {"connection_id":46025,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:43:56] local.INFO: Acknowledgment sent {"connection_id":46025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:43:59] local.INFO: TCP Data received {"connection_id":46777,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b228118012d1821400721b2e8004e00d02c..."} 
[2026-04-17 16:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46777,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b228118012d1821400721b2e8004e00d02c..."} 
[2026-04-17 16:43:59] local.INFO: Processing buffer {"connection_id":46777,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b228118012d1821400721b2e8004e00d02c..."} 
[2026-04-17 16:43:59] local.INFO: Packet analysis {"connection_id":46777,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b22"} 
[2026-04-17 16:43:59] local.INFO: Extracted packet for processing {"connection_id":46777,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b22"} 
[2026-04-17 16:43:59] local.INFO: GPS Element Parsed {"raw_longitude":756556096,"raw_latitude":119649000,"longitude_deg":75.6556096,"latitude_deg":11.9649,"altitude":78,"angle":208,"satellites":44,"speed":0,"hex_longitude":"2d182140","hex_latitude":"0721b2e8","is_valid_coordinates":true} 
[2026-04-17 16:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764595712001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296804862230528,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516043776,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776424223000,"timestamp_ms":1776424223000,"timestamp_seconds":1776424223,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b228118"} 
[2026-04-17 16:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 16:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2602584752,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:59] local.WARNING: Large IO value detected {"io_id":130,"raw_value":3539992576,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:59] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184201289933,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:59] local.WARNING: Large IO value detected {"io_id":33,"raw_value":3036151883,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-17 16:43:59] local.WARNING: Large IO value detected {"io_id":156,"raw_value":3087084824,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:59] local.WARNING: Large IO value detected {"io_id":34,"raw_value":2147951028,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:59] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2194669568,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:59] local.WARNING: Large IO value detected {"io_id":106,"raw_value":7566274232611510272,"note":"Value kept but may cause issues"} 
[2026-04-17 16:43:59] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,105,83,24,241,157,16,130,221,45,64,178,78,44,10,66,139,56,1,240,47,227,155,33,4,113,205,156,34,248,42,239,49,2,146,7,75,106],"length":485,"final_offset":615,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-17 16:43:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5620721226650484736,"timestamp_seconds":5620721226650485.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 16:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46777,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46777,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:43:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764595712001,"66":12526,"105":206,"83":41984,"24":0,"16":113296804862230528,"45":1738741330516043776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764595712001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:43:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:43:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296804862230528,"km_value":113296804862230.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516043776,"description":"Unknown IO ID 45"} 
[2026-04-17 16:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764595712001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738741330516043776}} 
[2026-04-17 16:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":46777,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:43:59] local.INFO: GPS data processed {"connection_id":46777,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:43:59] local.INFO: Acknowledgment sent {"connection_id":46777,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:44:20] local.INFO: TCP Data received {"connection_id":45922,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:44:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:44:20] local.INFO: Processing buffer {"connection_id":45922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:44:20] local.INFO: IMEI packet received {"connection_id":45922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:44:20] local.INFO: IMEI acknowledgment sent {"connection_id":45922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:44:21] local.INFO: TCP Data received {"connection_id":45922,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:44:21] local.INFO: Processing buffer {"connection_id":45922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:44:21] local.INFO: IMEI packet received {"connection_id":45922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":45922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:44:27] local.INFO: TCP Data received {"connection_id":45922,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45922,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:44:27] local.INFO: Processing buffer {"connection_id":45922,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:44:27] local.INFO: IMEI packet received {"connection_id":45922,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:44:27] local.INFO: IMEI acknowledgment sent {"connection_id":45922,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:44:27] local.INFO: TCP Data received {"connection_id":46025,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:44:27] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b218330012d7faac005afe1800000000926..."} 
[2026-04-17 16:44:27] local.INFO: Packet analysis {"connection_id":46025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:44:27] local.INFO: Extracted packet for processing {"connection_id":46025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b21"} 
[2026-04-17 16:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764507392001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424158000,"timestamp_ms":1776424158000,"timestamp_seconds":1776424158,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b218330"} 
[2026-04-17 16:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 16:44:27] 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-04-17 16:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46025,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764507392001,"66":25473,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764507392001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:44:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764507392001,"power":25473,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":46025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:44:27] local.INFO: GPS data processed {"connection_id":46025,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:44:27] local.INFO: Acknowledgment sent {"connection_id":46025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:44:27] local.INFO: TCP Data received {"connection_id":45922,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b22ac10012d1820000721b278004d00db2c..."} 
[2026-04-17 16:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b22ac10012d1820000721b278004d00db2c..."} 
[2026-04-17 16:44:27] local.INFO: Processing buffer {"connection_id":45922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b22ac10012d1820000721b278004d00db2c..."} 
[2026-04-17 16:44:27] local.INFO: Packet analysis {"connection_id":45922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b22"} 
[2026-04-17 16:44:27] local.INFO: Extracted packet for processing {"connection_id":45922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b22"} 
[2026-04-17 16:44:27] local.INFO: GPS Element Parsed {"raw_longitude":756555776,"raw_latitude":119648888,"longitude_deg":75.6555776,"latitude_deg":11.9648888,"altitude":77,"angle":219,"satellites":44,"speed":1,"hex_longitude":"2d182000","hex_latitude":"0721b278","is_valid_coordinates":true} 
[2026-04-17 16:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764601088001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296822042099712,"note":"Value kept but may cause issues"} 
[2026-04-17 16:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738741330516043776,"note":"Value kept but may cause issues"} 
[2026-04-17 16:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424234000,"timestamp_ms":1776424234000,"timestamp_seconds":1776424234,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b22ac10"} 
[2026-04-17 16:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:44: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-04-17 16:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 16:44: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-04-17 16:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764601088001,"66":12526,"105":206,"83":41984,"24":1,"16":113296822042099712,"45":1738741330516043776},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764601088001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:44:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:44:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296822042099712,"km_value":113296822042099.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738741330516043776,"description":"Unknown IO ID 45"} 
[2026-04-17 16:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764601088001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1738741330516043776}} 
[2026-04-17 16:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":45922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:44:27] local.INFO: GPS data processed {"connection_id":45922,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:44:27] local.INFO: Acknowledgment sent {"connection_id":45922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:44:55] local.INFO: TCP Data received {"connection_id":46026,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:44:55] local.INFO: Processing buffer {"connection_id":46026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:44:55] local.INFO: IMEI packet received {"connection_id":46026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":46026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:44:57] local.INFO: TCP Data received {"connection_id":46026,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:44:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:44:57] local.INFO: Processing buffer {"connection_id":46026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:44:57] local.INFO: IMEI packet received {"connection_id":46026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:44:57] local.INFO: IMEI acknowledgment sent {"connection_id":46026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:44:58] local.INFO: TCP Data received {"connection_id":46026,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:44:58] local.INFO: Processing buffer {"connection_id":46026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:44:58] local.INFO: Packet analysis {"connection_id":46026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:44:58] local.INFO: Extracted packet for processing {"connection_id":46026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:44:58] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764584448001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776424459000,"timestamp_ms":1776424459000,"timestamp_seconds":1776424459,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b261af8"} 
[2026-04-17 16:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:44:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 16:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764584448001,"66":25451,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764584448001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:44:58] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:44:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764584448001,"power":25451,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:44:58] local.INFO: DEBUG: GPS processor result {"connection_id":46026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22208,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:44:58] local.INFO: GPS data processed {"connection_id":46026,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:44:58] local.INFO: Acknowledgment sent {"connection_id":46026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:44:58] local.INFO: TCP Data received {"connection_id":45922,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b22fe18012d181f400721b190004d00d42c..."} 
[2026-04-17 16:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45922,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b22fe18012d181f400721b190004d00d42c..."} 
[2026-04-17 16:44:58] local.INFO: Processing buffer {"connection_id":45922,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b22fe18012d181f400721b190004d00d42c..."} 
[2026-04-17 16:44:58] local.INFO: Packet analysis {"connection_id":45922,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b22"} 
[2026-04-17 16:44:58] local.INFO: Extracted packet for processing {"connection_id":45922,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b22"} 
[2026-04-17 16:44:58] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119648656,"longitude_deg":75.6555584,"latitude_deg":11.9648656,"altitude":77,"angle":212,"satellites":44,"speed":0,"hex_longitude":"2d181f40","hex_latitude":"0721b190","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764603904001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296839221968896,"note":"Value kept but may cause issues"} 
[2026-04-17 16:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738389486795126784,"note":"Value kept but may cause issues"} 
[2026-04-17 16:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776424255000,"timestamp_ms":1776424255000,"timestamp_seconds":1776424255,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b22fe18"} 
[2026-04-17 16:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:44: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-04-17 16:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 16:44:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2580,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45922,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45922,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764603904001,"66":12526,"105":206,"83":41984,"24":0,"16":113296839221968896,"45":1738389486795126784},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764603904001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:44:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:44:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296839221968896,"km_value":113296839221968.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738389486795126784,"description":"Unknown IO ID 45"} 
[2026-04-17 16:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764603904001,"power":12526,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738389486795126784}} 
[2026-04-17 16:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":45922,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22209,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:44:59] local.INFO: GPS data processed {"connection_id":45922,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:44:59] local.INFO: Acknowledgment sent {"connection_id":45922,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:45:00] local.INFO: TCP Data received {"connection_id":46026,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:45:00] local.INFO: Processing buffer {"connection_id":46026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:45:00] local.INFO: Packet analysis {"connection_id":46026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:45:00] local.INFO: Extracted packet for processing {"connection_id":46026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764584448001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776424459000,"timestamp_ms":1776424459000,"timestamp_seconds":1776424459,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b261af8"} 
[2026-04-17 16:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 16:45:00] 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-04-17 16: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-04-17 16:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:45: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-04-17 16:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764584448001,"66":25451,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764584448001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:45:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:45:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764584448001,"power":25451,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":46026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:45:00] local.INFO: GPS data processed {"connection_id":46026,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:45:00] local.INFO: Acknowledgment sent {"connection_id":46026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:45:21] local.INFO: TCP Data received {"connection_id":46778,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:45:21] local.INFO: Processing buffer {"connection_id":46778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:45:21] local.INFO: IMEI packet received {"connection_id":46778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":46778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:45:24] local.INFO: TCP Data received {"connection_id":46778,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:45:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46778,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:45:24] local.INFO: Processing buffer {"connection_id":46778,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:45:24] local.INFO: IMEI packet received {"connection_id":46778,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:45:24] local.INFO: IMEI acknowledgment sent {"connection_id":46778,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:45:25] local.INFO: TCP Data received {"connection_id":46778,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b263a38012d181ec00721adf0004e00aa2a..."} 
[2026-04-17 16:45:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b263a38012d181ec00721adf0004e00aa2a..."} 
[2026-04-17 16:45:25] local.INFO: Processing buffer {"connection_id":46778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b263a38012d181ec00721adf0004e00aa2a..."} 
[2026-04-17 16:45:25] local.INFO: Packet analysis {"connection_id":46778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:45:25] local.INFO: Extracted packet for processing {"connection_id":46778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:45:25] local.INFO: GPS Element Parsed {"raw_longitude":756555456,"raw_latitude":119647728,"longitude_deg":75.6555456,"latitude_deg":11.9647728,"altitude":78,"angle":170,"satellites":42,"speed":5,"hex_longitude":"2d181ec0","hex_latitude":"0721adf0","is_valid_coordinates":true} 
[2026-04-17 16:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:45:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764662528001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:45:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296886466609152,"note":"Value kept but may cause issues"} 
[2026-04-17 16:45:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643074050048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:45:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:45:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776424467000,"timestamp_ms":1776424467000,"timestamp_seconds":1776424467,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b263a38"} 
[2026-04-17 16:45:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:45: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-04-17 16:45:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-17 16:45:25] 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-04-17 16:45:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:45:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:45:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:45:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:45:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:45:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:45:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:45:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:45:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:45:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764662528001,"66":14189,"105":206,"83":41984,"24":5,"16":113296886466609152,"45":1738037643074050048},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:45:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:45:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:45:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764662528001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:45:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:45:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:45:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296886466609152,"km_value":113296886466609.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:45:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643074050048,"description":"Unknown IO ID 45"} 
[2026-04-17 16:45:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764662528001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1738037643074050048}} 
[2026-04-17 16:45:25] local.INFO: DEBUG: GPS processor result {"connection_id":46778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:45:25] local.INFO: GPS data processed {"connection_id":46778,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:45:25] local.INFO: Acknowledgment sent {"connection_id":46778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:45:31] local.INFO: TCP Data received {"connection_id":46026,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:45:31] local.INFO: Processing buffer {"connection_id":46026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:45:31] local.INFO: Packet analysis {"connection_id":46026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:45:31] local.INFO: Extracted packet for processing {"connection_id":46026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:45:31] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764584448001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776424459000,"timestamp_ms":1776424459000,"timestamp_seconds":1776424459,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b261af8"} 
[2026-04-17 16:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 16:45: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-04-17 16: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-04-17 16:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:45:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764584448001,"66":25451,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764584448001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:45:31] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:45:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764584448001,"power":25451,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":46026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:45:31] local.INFO: GPS data processed {"connection_id":46026,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:45:31] local.INFO: Acknowledgment sent {"connection_id":46026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:45:50] local.INFO: TCP Data received {"connection_id":46028,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:45:50] local.INFO: Processing buffer {"connection_id":46028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:45:50] local.INFO: IMEI packet received {"connection_id":46028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":46028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:45:55] local.INFO: TCP Data received {"connection_id":46028,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:45:55] local.INFO: Processing buffer {"connection_id":46028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:45:55] local.INFO: IMEI packet received {"connection_id":46028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":46028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:45:56] local.INFO: TCP Data received {"connection_id":46028,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:45:56] local.INFO: Processing buffer {"connection_id":46028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:45:56] local.INFO: Packet analysis {"connection_id":46028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:45:56] local.INFO: Extracted packet for processing {"connection_id":46028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764584448001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776424459000,"timestamp_ms":1776424459000,"timestamp_seconds":1776424459,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b261af8"} 
[2026-04-17 16:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 16:45:56] 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-04-17 16:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764584448001,"66":25451,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764584448001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:45:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764584448001,"power":25451,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":46028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22213,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:45:56] local.INFO: GPS data processed {"connection_id":46028,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:45:56] local.INFO: Acknowledgment sent {"connection_id":46028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:45:56] local.INFO: TCP Data received {"connection_id":46778,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b264dc0012d181e800721ab48004d00c02c..."} 
[2026-04-17 16:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46778,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b264dc0012d181e800721ab48004d00c02c..."} 
[2026-04-17 16:45:56] local.INFO: Processing buffer {"connection_id":46778,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b264dc0012d181e800721ab48004d00c02c..."} 
[2026-04-17 16:45:56] local.INFO: Packet analysis {"connection_id":46778,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:45:56] local.INFO: Extracted packet for processing {"connection_id":46778,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:45:56] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647048,"longitude_deg":75.6555392,"latitude_deg":11.9647048,"altitude":77,"angle":192,"satellites":44,"speed":11,"hex_longitude":"2d181e80","hex_latitude":"0721ab48","is_valid_coordinates":true} 
[2026-04-17 16:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764663552001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113296920826347520,"note":"Value kept but may cause issues"} 
[2026-04-17 16:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738037643073941504,"note":"Value kept but may cause issues"} 
[2026-04-17 16:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776424472000,"timestamp_ms":1776424472000,"timestamp_seconds":1776424472,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b264dc0"} 
[2026-04-17 16:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17408,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-17 16:45: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-04-17 16:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46778,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46778,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764663552001,"66":14243,"105":206,"83":41984,"24":11,"16":113296920826347520,"45":1738037643073941504},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764663552001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:45:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:45:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113296920826347520,"km_value":113296920826347.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738037643073941504,"description":"Unknown IO ID 45"} 
[2026-04-17 16:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764663552001,"power":14243,"unknown_105":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1738037643073941504}} 
[2026-04-17 16:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":46778,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:45:56] local.INFO: GPS data processed {"connection_id":46778,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:45:56] local.INFO: Acknowledgment sent {"connection_id":46778,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:46:00] local.INFO: TCP Data received {"connection_id":46028,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:46:00] local.INFO: Processing buffer {"connection_id":46028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:46:00] local.INFO: Packet analysis {"connection_id":46028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:46:00] local.INFO: Extracted packet for processing {"connection_id":46028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764584448001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776424459000,"timestamp_ms":1776424459000,"timestamp_seconds":1776424459,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b261af8"} 
[2026-04-17 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-04-17 16:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 16:46:00] 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-04-17 16:46:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:46:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:46:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:46:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:46:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:46:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:46: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-04-17 16:46:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:46:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:46:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764584448001,"66":25451,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:46:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:46:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:46:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764584448001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:46:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:46:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:46:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:46:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:46:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764584448001,"power":25451,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:46:01] local.INFO: DEBUG: GPS processor result {"connection_id":46028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:46:01] local.INFO: GPS data processed {"connection_id":46028,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:46:01] local.INFO: Acknowledgment sent {"connection_id":46028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:46:21] local.INFO: TCP Data received {"connection_id":45924,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:46:21] local.INFO: Processing buffer {"connection_id":45924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:46:21] local.INFO: IMEI packet received {"connection_id":45924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":45924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:46:24] local.INFO: TCP Data received {"connection_id":45923,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45923,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:46:24] local.INFO: Processing buffer {"connection_id":45923,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:46:24] local.INFO: IMEI packet received {"connection_id":45923,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":45923,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:46:27] local.INFO: TCP Data received {"connection_id":45924,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45924,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:46:27] local.INFO: Processing buffer {"connection_id":45924,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:46:27] local.INFO: IMEI packet received {"connection_id":45924,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:46:27] local.INFO: IMEI acknowledgment sent {"connection_id":45924,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:46:27] local.INFO: TCP Data received {"connection_id":45924,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2720b0012d186480072182d8004c006728..."} 
[2026-04-17 16:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2720b0012d186480072182d8004c006728..."} 
[2026-04-17 16:46:27] local.INFO: Processing buffer {"connection_id":45924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2720b0012d186480072182d8004c006728..."} 
[2026-04-17 16:46:27] local.INFO: Packet analysis {"connection_id":45924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b27"} 
[2026-04-17 16:46:27] local.INFO: Extracted packet for processing {"connection_id":45924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b27"} 
[2026-04-17 16:46:27] local.INFO: GPS Element Parsed {"raw_longitude":756573312,"raw_latitude":119636696,"longitude_deg":75.6573312,"latitude_deg":11.9636696,"altitude":76,"angle":103,"satellites":40,"speed":35,"hex_longitude":"2d186480","hex_latitude":"072182d8","is_valid_coordinates":true} 
[2026-04-17 16:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764677888001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113297938733596672,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754785404185673728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424526000,"timestamp_ms":1776424526000,"timestamp_seconds":1776424526,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2720b0"} 
[2026-04-17 16:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:46: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-04-17 16:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-17 16:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764677888001,"66":12809,"105":206,"83":41984,"24":35,"16":113297938733596672,"45":1754785404185673728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764677888001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:46:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:46:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113297938733596672,"km_value":113297938733596.67,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754785404185673728,"description":"Unknown IO ID 45"} 
[2026-04-17 16:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764677888001,"power":12809,"unknown_105":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1754785404185673728}} 
[2026-04-17 16:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":45924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22216,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:46:27] local.INFO: GPS data processed {"connection_id":45924,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:46:27] local.INFO: Acknowledgment sent {"connection_id":45924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:46:32] local.INFO: TCP Data received {"connection_id":46028,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:46:32] local.INFO: Processing buffer {"connection_id":46028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:46:32] local.INFO: Packet analysis {"connection_id":46028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:46:32] local.INFO: Extracted packet for processing {"connection_id":46028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:46:32] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764584448001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776424459000,"timestamp_ms":1776424459000,"timestamp_seconds":1776424459,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b261af8"} 
[2026-04-17 16:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 16:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:46:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764584448001,"66":25451,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764584448001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:46:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:46:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764584448001,"power":25451,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":46028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22217,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:46:32] local.INFO: GPS data processed {"connection_id":46028,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:46:32] local.INFO: Acknowledgment sent {"connection_id":46028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:46:50] local.INFO: TCP Data received {"connection_id":45925,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:46:50] local.INFO: Processing buffer {"connection_id":45925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:46:50] local.INFO: IMEI packet received {"connection_id":45925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":45925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:46:55] local.INFO: TCP Data received {"connection_id":45925,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45925,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:46:55] local.INFO: Processing buffer {"connection_id":45925,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:46:55] local.INFO: IMEI packet received {"connection_id":45925,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":45925,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:46:56] local.INFO: TCP Data received {"connection_id":45925,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:46:56] local.INFO: Processing buffer {"connection_id":45925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:46:56] local.INFO: Packet analysis {"connection_id":45925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:46:56] local.INFO: Extracted packet for processing {"connection_id":45925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764584448001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776424459000,"timestamp_ms":1776424459000,"timestamp_seconds":1776424459,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b261af8"} 
[2026-04-17 16:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:46:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 16:46:56] 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-04-17 16:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:46:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764584448001,"66":25451,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764584448001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:46:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764584448001,"power":25451,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":45925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:46:56] local.INFO: GPS data processed {"connection_id":45925,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:46:56] local.INFO: Acknowledgment sent {"connection_id":45925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:46:58] local.INFO: TCP Data received {"connection_id":45924,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b272c68012d186ec0072181a8004a005c29..."} 
[2026-04-17 16:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b272c68012d186ec0072181a8004a005c29..."} 
[2026-04-17 16:46:58] local.INFO: Processing buffer {"connection_id":45924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b272c68012d186ec0072181a8004a005c29..."} 
[2026-04-17 16:46:58] local.INFO: Packet analysis {"connection_id":45924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b27"} 
[2026-04-17 16:46:58] local.INFO: Extracted packet for processing {"connection_id":45924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b27"} 
[2026-04-17 16:46:58] local.INFO: GPS Element Parsed {"raw_longitude":756575936,"raw_latitude":119636392,"longitude_deg":75.6575936,"latitude_deg":11.9636392,"altitude":74,"angle":92,"satellites":41,"speed":29,"hex_longitude":"2d186ec0","hex_latitude":"072181a8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764678656001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298063287648256,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1757670522696685568,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776424529000,"timestamp_ms":1776424529000,"timestamp_seconds":1776424529,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b272c68"} 
[2026-04-17 16:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:46:58] 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-04-17 16: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-17 16:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":504403158433268736,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2602984752,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:58] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:58] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2765570816070918208,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785266382,"corrected_to":0} 
[2026-04-17 16:46:58] local.WARNING: Large IO value detected {"io_id":55,"raw_value":-9006973397829104045,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:58] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2198077440,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:58] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2424933313933245484,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:58] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755425210990833,"note":"Value kept but may cause issues"} 
[2026-04-17 16:46:58] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,105,83,24,241,157,16,131,20,45,64,135,78,40,10,66,234,150,80,38,210,1,240,63,227,155,33,4,113,205,5,109,128,44,239,55,2,146,7,77,6,164,3],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785266382,"validated":0}]} 
[2026-04-17 16:46:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5476490568381169664,"timestamp_seconds":5476490568381170.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 16:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45924,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764678656001,"66":12841,"105":206,"83":41984,"24":29,"16":113298063287648256,"45":1757670522696685568},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764678656001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:46:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:46:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298063287648256,"km_value":113298063287648.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1757670522696685568,"description":"Unknown IO ID 45"} 
[2026-04-17 16:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764678656001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":29,"odometer":null,"unknown_45":1757670522696685568}} 
[2026-04-17 16:46:58] local.INFO: DEBUG: GPS processor result {"connection_id":45924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:46:58] local.INFO: GPS data processed {"connection_id":45924,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:46:58] local.INFO: Acknowledgment sent {"connection_id":45924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:47:04] local.INFO: TCP Data received {"connection_id":46779,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46779,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:47:04] local.INFO: Processing buffer {"connection_id":46779,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:47:04] local.INFO: IMEI packet received {"connection_id":46779,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":46779,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:47:21] local.INFO: TCP Data received {"connection_id":46029,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:47:21] local.INFO: Processing buffer {"connection_id":46029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:47:21] local.INFO: IMEI packet received {"connection_id":46029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":46029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:47:27] local.INFO: TCP Data received {"connection_id":46029,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46029,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:47:27] local.INFO: Processing buffer {"connection_id":46029,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:47:27] local.INFO: IMEI packet received {"connection_id":46029,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:47:27] local.INFO: IMEI acknowledgment sent {"connection_id":46029,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:47:27] local.INFO: TCP Data received {"connection_id":45925,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45925,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:47:27] local.INFO: Processing buffer {"connection_id":45925,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:47:27] local.INFO: Packet analysis {"connection_id":45925,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:47:27] local.INFO: Extracted packet for processing {"connection_id":45925,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764584448001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424459000,"timestamp_ms":1776424459000,"timestamp_seconds":1776424459,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b261af8"} 
[2026-04-17 16:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 16:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45925,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45925,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764584448001,"66":25451,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764584448001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:47:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:47:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764584448001,"power":25451,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":45925,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:47:27] local.INFO: GPS data processed {"connection_id":45925,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:47:27] local.INFO: Acknowledgment sent {"connection_id":45925,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:47:27] local.INFO: TCP Data received {"connection_id":46029,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b273c08012d187580072181080048007127..."} 
[2026-04-17 16:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b273c08012d187580072181080048007127..."} 
[2026-04-17 16:47:27] local.INFO: Processing buffer {"connection_id":46029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b273c08012d187580072181080048007127..."} 
[2026-04-17 16:47:27] local.INFO: Packet analysis {"connection_id":46029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b27"} 
[2026-04-17 16:47:27] local.INFO: Extracted packet for processing {"connection_id":46029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b27"} 
[2026-04-17 16:47:27] local.INFO: GPS Element Parsed {"raw_longitude":756577664,"raw_latitude":119636232,"longitude_deg":75.6577664,"latitude_deg":11.9636232,"altitude":72,"angle":113,"satellites":39,"speed":8,"hex_longitude":"2d187580","hex_latitude":"07218108","is_valid_coordinates":true} 
[2026-04-17 16:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764679424001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298144892026880,"note":"Value kept but may cause issues"} 
[2026-04-17 16:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760555641207891968,"note":"Value kept but may cause issues"} 
[2026-04-17 16:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424533000,"timestamp_ms":1776424533000,"timestamp_seconds":1776424533,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b273c08"} 
[2026-04-17 16:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 16:47:27] 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-04-17 16:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764679424001,"66":12852,"105":206,"83":41984,"24":8,"16":113298144892026880,"45":1760555641207891968},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764679424001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:47:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:47:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298144892026880,"km_value":113298144892026.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760555641207891968,"description":"Unknown IO ID 45"} 
[2026-04-17 16:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764679424001,"power":12852,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1760555641207891968}} 
[2026-04-17 16:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":46029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:47:27] local.INFO: GPS data processed {"connection_id":46029,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:47:27] local.INFO: Acknowledgment sent {"connection_id":46029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:47:50] local.INFO: TCP Data received {"connection_id":46780,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:47:50] local.INFO: Processing buffer {"connection_id":46780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:47:50] local.INFO: IMEI packet received {"connection_id":46780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":46780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:47:55] local.INFO: TCP Data received {"connection_id":46780,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46780,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:47:55] local.INFO: Processing buffer {"connection_id":46780,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:47:55] local.INFO: IMEI packet received {"connection_id":46780,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":46780,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:47:56] local.INFO: TCP Data received {"connection_id":46780,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:47:56] local.INFO: Processing buffer {"connection_id":46780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:47:56] local.INFO: Packet analysis {"connection_id":46780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:47:56] local.INFO: Extracted packet for processing {"connection_id":46780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:47:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764584448001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776424459000,"timestamp_ms":1776424459000,"timestamp_seconds":1776424459,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b261af8"} 
[2026-04-17 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-04-17 16:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 16:47:56] 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-04-17 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-04-17 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-04-17 16:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:47:56] 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-04-17 16:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764584448001,"66":25451,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764584448001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:47:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764584448001,"power":25451,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":46780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:47:56] local.INFO: GPS data processed {"connection_id":46780,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:47:56] local.INFO: Acknowledgment sent {"connection_id":46780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:47:58] local.INFO: TCP Data received {"connection_id":46029,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b273ff0012d1875c0072180980048008927..."} 
[2026-04-17 16:47:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46029,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b273ff0012d1875c0072180980048008927..."} 
[2026-04-17 16:47:58] local.INFO: Processing buffer {"connection_id":46029,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b273ff0012d1875c0072180980048008927..."} 
[2026-04-17 16:47:58] local.INFO: Packet analysis {"connection_id":46029,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b27"} 
[2026-04-17 16:47:58] local.INFO: Extracted packet for processing {"connection_id":46029,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b27"} 
[2026-04-17 16:47:58] local.INFO: GPS Element Parsed {"raw_longitude":756577728,"raw_latitude":119636120,"longitude_deg":75.6577728,"latitude_deg":11.963612,"altitude":72,"angle":137,"satellites":39,"speed":7,"hex_longitude":"2d1875c0","hex_latitude":"07218098","is_valid_coordinates":true} 
[2026-04-17 16:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:47:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764680448001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:47:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298153481961472,"note":"Value kept but may cause issues"} 
[2026-04-17 16:47:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762455597300647936,"note":"Value kept but may cause issues"} 
[2026-04-17 16:47:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:47:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776424534000,"timestamp_ms":1776424534000,"timestamp_seconds":1776424534,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b273ff0"} 
[2026-04-17 16:47:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:47:58] 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-04-17 16:47:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 16:47:58] 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-04-17 16:47:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:47:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:47:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:47:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46029,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:47:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:47:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46029,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:47:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:47:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:47:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:47:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764680448001,"66":12841,"105":206,"83":41984,"24":7,"16":113298153481961472,"45":1762455597300647936},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:47:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:47:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:47:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764680448001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:47:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:47:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:47:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298153481961472,"km_value":113298153481961.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:47:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762455597300647936,"description":"Unknown IO ID 45"} 
[2026-04-17 16:47:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764680448001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1762455597300647936}} 
[2026-04-17 16:47:58] local.INFO: DEBUG: GPS processor result {"connection_id":46029,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:47:58] local.INFO: GPS data processed {"connection_id":46029,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:47:58] local.INFO: Acknowledgment sent {"connection_id":46029,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:48:21] local.INFO: TCP Data received {"connection_id":45926,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:48:21] local.INFO: Processing buffer {"connection_id":45926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:48:21] local.INFO: IMEI packet received {"connection_id":45926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":45926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:48:27] local.INFO: TCP Data received {"connection_id":45926,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:48:27] local.INFO: Processing buffer {"connection_id":45926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:48:27] local.INFO: IMEI packet received {"connection_id":45926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:48:27] local.INFO: IMEI acknowledgment sent {"connection_id":45926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:48:27] local.INFO: TCP Data received {"connection_id":46780,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46780,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:48:27] local.INFO: Processing buffer {"connection_id":46780,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:48:27] local.INFO: Packet analysis {"connection_id":46780,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:48:27] local.INFO: Extracted packet for processing {"connection_id":46780,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764584448001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424459000,"timestamp_ms":1776424459000,"timestamp_seconds":1776424459,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b261af8"} 
[2026-04-17 16:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 16:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46780,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46780,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764584448001,"66":25451,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764584448001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:48:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:48:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764584448001,"power":25451,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":46780,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22224,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:48:27] local.INFO: GPS data processed {"connection_id":46780,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:48:27] local.INFO: Acknowledgment sent {"connection_id":46780,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:48:27] local.INFO: TCP Data received {"connection_id":45926,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2791f8012d18764007217fc8004700892a..."} 
[2026-04-17 16:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2791f8012d18764007217fc8004700892a..."} 
[2026-04-17 16:48:27] local.INFO: Processing buffer {"connection_id":45926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2791f8012d18764007217fc8004700892a..."} 
[2026-04-17 16:48:27] local.INFO: Packet analysis {"connection_id":45926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b27"} 
[2026-04-17 16:48:27] local.INFO: Extracted packet for processing {"connection_id":45926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b27"} 
[2026-04-17 16:48:27] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119635912,"longitude_deg":75.6577856,"latitude_deg":11.9635912,"altitude":71,"angle":137,"satellites":42,"speed":0,"hex_longitude":"2d187640","hex_latitude":"07217fc8","is_valid_coordinates":true} 
[2026-04-17 16:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764680704001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298166366863360,"note":"Value kept but may cause issues"} 
[2026-04-17 16:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762525966044796928,"note":"Value kept but may cause issues"} 
[2026-04-17 16:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424555000,"timestamp_ms":1776424555000,"timestamp_seconds":1776424555,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2791f8"} 
[2026-04-17 16:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 16:48:27] 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-04-17 16:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764680704001,"66":12841,"105":206,"83":41984,"24":0,"16":113298166366863360,"45":1762525966044796928},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764680704001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:48:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:48:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298166366863360,"km_value":113298166366863.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762525966044796928,"description":"Unknown IO ID 45"} 
[2026-04-17 16:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764680704001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762525966044796928}} 
[2026-04-17 16:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":45926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22225,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:48:27] local.INFO: GPS data processed {"connection_id":45926,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:48:27] local.INFO: Acknowledgment sent {"connection_id":45926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:48:55] local.INFO: TCP Data received {"connection_id":46251,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:48:55] local.INFO: Processing buffer {"connection_id":46251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:48:55] local.INFO: IMEI packet received {"connection_id":46251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":46251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:48:58] local.INFO: TCP Data received {"connection_id":45926,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b27e400012d18764007217fc80047008929..."} 
[2026-04-17 16:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b27e400012d18764007217fc80047008929..."} 
[2026-04-17 16:48:58] local.INFO: Processing buffer {"connection_id":45926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b27e400012d18764007217fc80047008929..."} 
[2026-04-17 16:48:58] local.INFO: Packet analysis {"connection_id":45926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b27"} 
[2026-04-17 16:48:58] local.INFO: Extracted packet for processing {"connection_id":45926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b27"} 
[2026-04-17 16:48:58] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119635912,"longitude_deg":75.6577856,"latitude_deg":11.9635912,"altitude":71,"angle":137,"satellites":41,"speed":0,"hex_longitude":"2d187640","hex_latitude":"07217fc8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764686080001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298166366863360,"note":"Value kept but may cause issues"} 
[2026-04-17 16:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533099008,"note":"Value kept but may cause issues"} 
[2026-04-17 16:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776424576000,"timestamp_ms":1776424576000,"timestamp_seconds":1776424576,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b27e400"} 
[2026-04-17 16:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:48:58] 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-04-17 16: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 16:48: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-04-17 16: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-04-17 16:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764686080001,"66":12765,"105":206,"83":41984,"24":0,"16":113298166366863360,"45":1762666703533099008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764686080001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:48:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:48:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298166366863360,"km_value":113298166366863.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533099008,"description":"Unknown IO ID 45"} 
[2026-04-17 16:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764686080001,"power":12765,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533099008}} 
[2026-04-17 16:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":45926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22226,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:48:59] local.INFO: GPS data processed {"connection_id":45926,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:48:59] local.INFO: Acknowledgment sent {"connection_id":45926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:49:00] local.INFO: TCP Data received {"connection_id":46251,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:49:00] local.INFO: Processing buffer {"connection_id":46251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:49:00] local.INFO: IMEI packet received {"connection_id":46251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:49:00] local.INFO: IMEI acknowledgment sent {"connection_id":46251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:49:01] local.INFO: TCP Data received {"connection_id":46251,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:49:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:49:01] local.INFO: Processing buffer {"connection_id":46251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:49:01] local.INFO: Packet analysis {"connection_id":46251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:49:01] local.INFO: Extracted packet for processing {"connection_id":46251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:49:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:49:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764584448001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:49:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:49:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:49:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:49:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776424459000,"timestamp_ms":1776424459000,"timestamp_seconds":1776424459,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b261af8"} 
[2026-04-17 16:49:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:49:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":129,"data_length":795,"current_offset":136} 
[2026-04-17 16:49: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-04-17 16: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-04-17 16:49:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:49:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:49:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:49:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:49:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:49: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-04-17 16:49:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:49:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:49:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764584448001,"66":25451,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:49:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:49:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:49:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764584448001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:49:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:49:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:49:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:49:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:49:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764584448001,"power":25451,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:49:01] local.INFO: DEBUG: GPS processor result {"connection_id":46251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22227,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:49:01] local.INFO: GPS data processed {"connection_id":46251,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:49:01] local.INFO: Acknowledgment sent {"connection_id":46251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:49:06] local.INFO: TCP Data received {"connection_id":46251,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:49:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:49:06] local.INFO: Processing buffer {"connection_id":46251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:49:06] local.INFO: Packet analysis {"connection_id":46251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:49:06] local.INFO: Extracted packet for processing {"connection_id":46251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:49:06] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:49:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764584448001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:49:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:49:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:49:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:49:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776424459000,"timestamp_ms":1776424459000,"timestamp_seconds":1776424459,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b261af8"} 
[2026-04-17 16:49:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:49:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 16:49:06] 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-04-17 16: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-04-17 16:49:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:49:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:49:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:49:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:49:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:49:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:49:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:49:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:49:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764584448001,"66":25451,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:49:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:49:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:49:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764584448001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:49:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:49:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:49:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:49:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:49:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764584448001,"power":25451,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:49:06] local.INFO: DEBUG: GPS processor result {"connection_id":46251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:49:06] local.INFO: GPS data processed {"connection_id":46251,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:49:06] local.INFO: Acknowledgment sent {"connection_id":46251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:49:27] local.INFO: TCP Data received {"connection_id":45927,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:49:27] local.INFO: Processing buffer {"connection_id":45927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:49:27] local.INFO: IMEI packet received {"connection_id":45927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":45927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:49:32] local.INFO: TCP Data received {"connection_id":45927,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45927,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:49:32] local.INFO: Processing buffer {"connection_id":45927,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:49:32] local.INFO: IMEI packet received {"connection_id":45927,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:49:32] local.INFO: IMEI acknowledgment sent {"connection_id":45927,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:49:32] local.INFO: TCP Data received {"connection_id":45927,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b283608012d18764007217fc80047008928..."} 
[2026-04-17 16:49:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b283608012d18764007217fc80047008928..."} 
[2026-04-17 16:49:32] local.INFO: Processing buffer {"connection_id":45927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b283608012d18764007217fc80047008928..."} 
[2026-04-17 16:49:32] local.INFO: Packet analysis {"connection_id":45927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b28"} 
[2026-04-17 16:49:32] local.INFO: Extracted packet for processing {"connection_id":45927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b28"} 
[2026-04-17 16:49:32] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119635912,"longitude_deg":75.6577856,"latitude_deg":11.9635912,"altitude":71,"angle":137,"satellites":40,"speed":0,"hex_longitude":"2d187640","hex_latitude":"07217fc8","is_valid_coordinates":true} 
[2026-04-17 16:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:49:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764691456001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:49:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298166366863360,"note":"Value kept but may cause issues"} 
[2026-04-17 16:49:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533099008,"note":"Value kept but may cause issues"} 
[2026-04-17 16:49:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:49:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776424597000,"timestamp_ms":1776424597000,"timestamp_seconds":1776424597,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b283608"} 
[2026-04-17 16:49:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:49:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:49:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-17 16:49:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2432,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:49:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:49:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:49:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:49:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:49:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:49:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:49:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:49:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:49:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:49:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764691456001,"66":12798,"105":206,"83":41984,"24":0,"16":113298166366863360,"45":1762666703533099008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:49:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:49:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:49:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764691456001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:49:32] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:49:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:49:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298166366863360,"km_value":113298166366863.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:49:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533099008,"description":"Unknown IO ID 45"} 
[2026-04-17 16:49:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764691456001,"power":12798,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533099008}} 
[2026-04-17 16:49:32] local.INFO: DEBUG: GPS processor result {"connection_id":45927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:49:32] local.INFO: GPS data processed {"connection_id":45927,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:49:32] local.INFO: Acknowledgment sent {"connection_id":45927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:49:37] local.INFO: TCP Data received {"connection_id":45927,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b288810012d18764007217fc8004700892a..."} 
[2026-04-17 16:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45927,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b288810012d18764007217fc8004700892a..."} 
[2026-04-17 16:49:37] local.INFO: Processing buffer {"connection_id":45927,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b288810012d18764007217fc8004700892a..."} 
[2026-04-17 16:49:37] local.INFO: Packet analysis {"connection_id":45927,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b28"} 
[2026-04-17 16:49:37] local.INFO: Extracted packet for processing {"connection_id":45927,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b28"} 
[2026-04-17 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119635912,"longitude_deg":75.6577856,"latitude_deg":11.9635912,"altitude":71,"angle":137,"satellites":42,"speed":0,"hex_longitude":"2d187640","hex_latitude":"07217fc8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764696832001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298166366863360,"note":"Value kept but may cause issues"} 
[2026-04-17 16:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533099008,"note":"Value kept but may cause issues"} 
[2026-04-17 16:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776424618000,"timestamp_ms":1776424618000,"timestamp_seconds":1776424618,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b288810"} 
[2026-04-17 16:49:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-17 16:49:37] 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-04-17 16: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-04-17 16:49:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":45927,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":45927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":45927,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764696832001,"66":12722,"105":206,"83":41984,"24":0,"16":113298166366863360,"45":1762666703533099008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764696832001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:49:37] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:49:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298166366863360,"km_value":113298166366863.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533099008,"description":"Unknown IO ID 45"} 
[2026-04-17 16:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764696832001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533099008}} 
[2026-04-17 16:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":45927,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22230,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:49:37] local.INFO: GPS data processed {"connection_id":45927,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:49:37] local.INFO: Acknowledgment sent {"connection_id":45927,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:49:50] local.INFO: TCP Data received {"connection_id":46030,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:49:50] local.INFO: Processing buffer {"connection_id":46030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:49:50] local.INFO: IMEI packet received {"connection_id":46030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":46030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:49:55] local.INFO: TCP Data received {"connection_id":46030,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:49:55] local.INFO: Processing buffer {"connection_id":46030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:49:55] local.INFO: IMEI packet received {"connection_id":46030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":46030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:49:56] local.INFO: TCP Data received {"connection_id":46030,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:49:56] local.INFO: Processing buffer {"connection_id":46030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b261af8012d7faac005afe1800000000929..."} 
[2026-04-17 16:49:56] local.INFO: Packet analysis {"connection_id":46030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:49:56] local.INFO: Extracted packet for processing {"connection_id":46030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b26"} 
[2026-04-17 16:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764584448001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776424459000,"timestamp_ms":1776424459000,"timestamp_seconds":1776424459,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b261af8"} 
[2026-04-17 16:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 16:49:56] 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-04-17 16:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:49:56] 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-04-17 16:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764584448001,"66":25451,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764584448001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:49:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764584448001,"power":25451,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":46030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22231,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:49:56] local.INFO: GPS data processed {"connection_id":46030,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:49:56] local.INFO: Acknowledgment sent {"connection_id":46030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:50:22] local.INFO: TCP Data received {"connection_id":46253,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:50:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:50:22] local.INFO: Processing buffer {"connection_id":46253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:50:22] local.INFO: IMEI packet received {"connection_id":46253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:50:22] local.INFO: IMEI acknowledgment sent {"connection_id":46253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:50:25] local.INFO: TCP Data received {"connection_id":46253,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46253,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:50:25] local.INFO: Processing buffer {"connection_id":46253,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:50:25] local.INFO: IMEI packet received {"connection_id":46253,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:50:25] local.INFO: IMEI acknowledgment sent {"connection_id":46253,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:50:25] local.INFO: TCP Data received {"connection_id":46253,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b28da18012d18764007217fc80047008928..."} 
[2026-04-17 16:50:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b28da18012d18764007217fc80047008928..."} 
[2026-04-17 16:50:25] local.INFO: Processing buffer {"connection_id":46253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b28da18012d18764007217fc80047008928..."} 
[2026-04-17 16:50:25] local.INFO: Packet analysis {"connection_id":46253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b28"} 
[2026-04-17 16:50:25] local.INFO: Extracted packet for processing {"connection_id":46253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b28"} 
[2026-04-17 16:50:25] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119635912,"longitude_deg":75.6577856,"latitude_deg":11.9635912,"altitude":71,"angle":137,"satellites":40,"speed":0,"hex_longitude":"2d187640","hex_latitude":"07217fc8","is_valid_coordinates":true} 
[2026-04-17 16:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:50:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764702208001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:50:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298166366863360,"note":"Value kept but may cause issues"} 
[2026-04-17 16:50:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533099008,"note":"Value kept but may cause issues"} 
[2026-04-17 16:50:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:50:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776424639000,"timestamp_ms":1776424639000,"timestamp_seconds":1776424639,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b28da18"} 
[2026-04-17 16:50:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:50: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-04-17 16:50:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 16:50:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:50:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:50:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:50:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:50:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:50:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:50:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:50:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:50:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:50:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:50:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764702208001,"66":12743,"105":206,"83":41984,"24":0,"16":113298166366863360,"45":1762666703533099008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:50:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:50:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:50:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764702208001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:50:25] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:50:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:50:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298166366863360,"km_value":113298166366863.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:50:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533099008,"description":"Unknown IO ID 45"} 
[2026-04-17 16:50:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764702208001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533099008}} 
[2026-04-17 16:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":46253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22232,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:50:26] local.INFO: GPS data processed {"connection_id":46253,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:50:26] local.INFO: Acknowledgment sent {"connection_id":46253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:50:27] local.INFO: TCP Data received {"connection_id":46030,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:50:27] local.INFO: Processing buffer {"connection_id":46030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:50:27] local.INFO: Packet analysis {"connection_id":46030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:50:27] local.INFO: Extracted packet for processing {"connection_id":46030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:50:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764661504001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424760000,"timestamp_ms":1776424760000,"timestamp_seconds":1776424760,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2ab2c0"} 
[2026-04-17 16:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 16:50:27] 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-04-17 16:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764661504001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764661504001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:50:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:50:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764661504001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":46030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:50:27] local.INFO: GPS data processed {"connection_id":46030,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:50:27] local.INFO: Acknowledgment sent {"connection_id":46030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:50:50] local.INFO: TCP Data received {"connection_id":46254,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:50:50] local.INFO: Processing buffer {"connection_id":46254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:50:50] local.INFO: IMEI packet received {"connection_id":46254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":46254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:50:55] local.INFO: TCP Data received {"connection_id":46254,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46254,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:50:55] local.INFO: Processing buffer {"connection_id":46254,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:50:55] local.INFO: IMEI packet received {"connection_id":46254,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":46254,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:50:56] local.INFO: TCP Data received {"connection_id":46254,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:50:56] local.INFO: Processing buffer {"connection_id":46254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:50:56] local.INFO: Packet analysis {"connection_id":46254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:50:56] local.INFO: Extracted packet for processing {"connection_id":46254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764661504001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776424760000,"timestamp_ms":1776424760000,"timestamp_seconds":1776424760,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2ab2c0"} 
[2026-04-17 16:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 16:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764661504001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764661504001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:50:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764661504001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":46254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22234,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:50:56] local.INFO: GPS data processed {"connection_id":46254,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:50:56] local.INFO: Acknowledgment sent {"connection_id":46254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:50:56] local.INFO: TCP Data received {"connection_id":46253,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b292c20012d18764007217fc80047008928..."} 
[2026-04-17 16:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b292c20012d18764007217fc80047008928..."} 
[2026-04-17 16:50:56] local.INFO: Processing buffer {"connection_id":46253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b292c20012d18764007217fc80047008928..."} 
[2026-04-17 16:50:56] local.INFO: Packet analysis {"connection_id":46253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b29"} 
[2026-04-17 16:50:56] local.INFO: Extracted packet for processing {"connection_id":46253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b29"} 
[2026-04-17 16:50:56] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119635912,"longitude_deg":75.6577856,"latitude_deg":11.9635912,"altitude":71,"angle":137,"satellites":40,"speed":0,"hex_longitude":"2d187640","hex_latitude":"07217fc8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764707584001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298166366863360,"note":"Value kept but may cause issues"} 
[2026-04-17 16:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533099008,"note":"Value kept but may cause issues"} 
[2026-04-17 16:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776424660000,"timestamp_ms":1776424660000,"timestamp_seconds":1776424660,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b292c20"} 
[2026-04-17 16:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:50: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-04-17 16:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-17 16:50: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-04-17 16: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-04-17 16:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46253,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764707584001,"66":12722,"105":206,"83":41984,"24":0,"16":113298166366863360,"45":1762666703533099008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764707584001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:50:56] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:50:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298166366863360,"km_value":113298166366863.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533099008,"description":"Unknown IO ID 45"} 
[2026-04-17 16:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764707584001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533099008}} 
[2026-04-17 16:50:57] local.INFO: DEBUG: GPS processor result {"connection_id":46253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:50:57] local.INFO: GPS data processed {"connection_id":46253,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:50:57] local.INFO: Acknowledgment sent {"connection_id":46253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:51:22] local.INFO: TCP Data received {"connection_id":46032,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:51:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:51:22] local.INFO: Processing buffer {"connection_id":46032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:51:22] local.INFO: IMEI packet received {"connection_id":46032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:51:22] local.INFO: IMEI acknowledgment sent {"connection_id":46032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:51:27] local.INFO: TCP Data received {"connection_id":46032,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:51:27] local.INFO: Processing buffer {"connection_id":46032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:51:27] local.INFO: IMEI packet received {"connection_id":46032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":46032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:51:27] local.INFO: TCP Data received {"connection_id":46254,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:51:27] local.INFO: Processing buffer {"connection_id":46254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:51:27] local.INFO: Packet analysis {"connection_id":46254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:51:27] local.INFO: Extracted packet for processing {"connection_id":46254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764661504001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424760000,"timestamp_ms":1776424760000,"timestamp_seconds":1776424760,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2ab2c0"} 
[2026-04-17 16:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 16:51:27] 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-04-17 16:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46254,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764661504001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764661504001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:51:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764661504001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":46254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:51:27] local.INFO: GPS data processed {"connection_id":46254,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:51:27] local.INFO: Acknowledgment sent {"connection_id":46254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:51:27] local.INFO: TCP Data received {"connection_id":46032,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b298210012d18764007217fc8004700892a..."} 
[2026-04-17 16:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b298210012d18764007217fc8004700892a..."} 
[2026-04-17 16:51:27] local.INFO: Processing buffer {"connection_id":46032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b298210012d18764007217fc8004700892a..."} 
[2026-04-17 16:51:27] local.INFO: Packet analysis {"connection_id":46032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b29"} 
[2026-04-17 16:51:27] local.INFO: Extracted packet for processing {"connection_id":46032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b29"} 
[2026-04-17 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119635912,"longitude_deg":75.6577856,"latitude_deg":11.9635912,"altitude":71,"angle":137,"satellites":42,"speed":0,"hex_longitude":"2d187640","hex_latitude":"07217fc8","is_valid_coordinates":true} 
[2026-04-17 16:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764712960001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298166366863360,"note":"Value kept but may cause issues"} 
[2026-04-17 16:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533099008,"note":"Value kept but may cause issues"} 
[2026-04-17 16:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424682000,"timestamp_ms":1776424682000,"timestamp_seconds":1776424682,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b298210"} 
[2026-04-17 16:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 16:51:27] 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-04-17 16:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764712960001,"66":12722,"105":206,"83":41984,"24":0,"16":113298166366863360,"45":1762666703533099008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764712960001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:51:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:51:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298166366863360,"km_value":113298166366863.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533099008,"description":"Unknown IO ID 45"} 
[2026-04-17 16:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764712960001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533099008}} 
[2026-04-17 16:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":46032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22237,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:51:28] local.INFO: GPS data processed {"connection_id":46032,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:51:28] local.INFO: Acknowledgment sent {"connection_id":46032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:51:50] local.INFO: TCP Data received {"connection_id":46255,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:51:50] local.INFO: Processing buffer {"connection_id":46255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:51:50] local.INFO: IMEI packet received {"connection_id":46255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":46255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:51:55] local.INFO: TCP Data received {"connection_id":46255,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46255,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:51:55] local.INFO: Processing buffer {"connection_id":46255,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:51:55] local.INFO: IMEI packet received {"connection_id":46255,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":46255,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:51:56] local.INFO: TCP Data received {"connection_id":46255,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:51:56] local.INFO: Processing buffer {"connection_id":46255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:51:56] local.INFO: Packet analysis {"connection_id":46255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:51:56] local.INFO: Extracted packet for processing {"connection_id":46255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764661504001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776424760000,"timestamp_ms":1776424760000,"timestamp_seconds":1776424760,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2ab2c0"} 
[2026-04-17 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-04-17 16:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 16:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 16:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764661504001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764661504001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:51:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764661504001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":46255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22238,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:51:56] local.INFO: GPS data processed {"connection_id":46255,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:51:56] local.INFO: Acknowledgment sent {"connection_id":46255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:51:59] local.INFO: TCP Data received {"connection_id":46032,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b29d418012d18764007217fc80047008928..."} 
[2026-04-17 16:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b29d418012d18764007217fc80047008928..."} 
[2026-04-17 16:51:59] local.INFO: Processing buffer {"connection_id":46032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b29d418012d18764007217fc80047008928..."} 
[2026-04-17 16:51:59] local.INFO: Packet analysis {"connection_id":46032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b29"} 
[2026-04-17 16:51:59] local.INFO: Extracted packet for processing {"connection_id":46032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b29"} 
[2026-04-17 16:51:59] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119635912,"longitude_deg":75.6577856,"latitude_deg":11.9635912,"altitude":71,"angle":137,"satellites":40,"speed":0,"hex_longitude":"2d187640","hex_latitude":"07217fc8","is_valid_coordinates":true} 
[2026-04-17 16:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764718592001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298166366863360,"note":"Value kept but may cause issues"} 
[2026-04-17 16:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533099008,"note":"Value kept but may cause issues"} 
[2026-04-17 16:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776424703000,"timestamp_ms":1776424703000,"timestamp_seconds":1776424703,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b29d418"} 
[2026-04-17 16:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 16:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764718592001,"66":12689,"105":206,"83":41984,"24":0,"16":113298166366863360,"45":1762666703533099008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764718592001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:51:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:51:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298166366863360,"km_value":113298166366863.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533099008,"description":"Unknown IO ID 45"} 
[2026-04-17 16:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764718592001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533099008}} 
[2026-04-17 16:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":46032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:51:59] local.INFO: GPS data processed {"connection_id":46032,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:51:59] local.INFO: Acknowledgment sent {"connection_id":46032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:52:19] local.INFO: TCP Data received {"connection_id":46783,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46783,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:52:19] local.INFO: Processing buffer {"connection_id":46783,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:52:19] local.INFO: IMEI packet received {"connection_id":46783,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":46783,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:52:22] local.INFO: TCP Data received {"connection_id":46784,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:52:22] local.INFO: Processing buffer {"connection_id":46784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:52:22] local.INFO: IMEI packet received {"connection_id":46784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":46784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:52:27] local.INFO: TCP Data received {"connection_id":46784,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46784,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:52:27] local.INFO: Processing buffer {"connection_id":46784,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:52:27] local.INFO: IMEI packet received {"connection_id":46784,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":46784,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:52:27] local.INFO: TCP Data received {"connection_id":46255,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46255,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:52:27] local.INFO: Processing buffer {"connection_id":46255,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:52:27] local.INFO: Packet analysis {"connection_id":46255,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:52:27] local.INFO: Extracted packet for processing {"connection_id":46255,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764661504001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424760000,"timestamp_ms":1776424760000,"timestamp_seconds":1776424760,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2ab2c0"} 
[2026-04-17 16:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 16:52:27] 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-04-17 16: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-04-17 16:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46255,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46255,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764661504001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764661504001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:52:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:52:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764661504001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":46255,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:52:27] local.INFO: GPS data processed {"connection_id":46255,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:52:27] local.INFO: Acknowledgment sent {"connection_id":46255,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:52:27] local.INFO: TCP Data received {"connection_id":46784,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2a2620012d18764007217fc80047008925..."} 
[2026-04-17 16:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2a2620012d18764007217fc80047008925..."} 
[2026-04-17 16:52:27] local.INFO: Processing buffer {"connection_id":46784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2a2620012d18764007217fc80047008925..."} 
[2026-04-17 16:52:27] local.INFO: Packet analysis {"connection_id":46784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:52:27] local.INFO: Extracted packet for processing {"connection_id":46784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119635912,"longitude_deg":75.6577856,"latitude_deg":11.9635912,"altitude":71,"angle":137,"satellites":37,"speed":0,"hex_longitude":"2d187640","hex_latitude":"07217fc8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764723968001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298166366863360,"note":"Value kept but may cause issues"} 
[2026-04-17 16:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533099008,"note":"Value kept but may cause issues"} 
[2026-04-17 16:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424724000,"timestamp_ms":1776424724000,"timestamp_seconds":1776424724,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2a2620"} 
[2026-04-17 16:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-17 16:52: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-04-17 16: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-04-17 16:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764723968001,"66":12689,"105":206,"83":41984,"24":0,"16":113298166366863360,"45":1762666703533099008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764723968001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:52:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:52:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298166366863360,"km_value":113298166366863.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533099008,"description":"Unknown IO ID 45"} 
[2026-04-17 16:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764723968001,"power":12689,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533099008}} 
[2026-04-17 16:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":46784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22241,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:52:27] local.INFO: GPS data processed {"connection_id":46784,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:52:27] local.INFO: Acknowledgment sent {"connection_id":46784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:52:50] local.INFO: TCP Data received {"connection_id":45928,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:52:50] local.INFO: Processing buffer {"connection_id":45928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:52:50] local.INFO: IMEI packet received {"connection_id":45928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":45928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:52:55] local.INFO: TCP Data received {"connection_id":45928,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45928,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:52:55] local.INFO: Processing buffer {"connection_id":45928,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:52:55] local.INFO: IMEI packet received {"connection_id":45928,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":45928,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:52:56] local.INFO: TCP Data received {"connection_id":45928,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:52:56] local.INFO: Processing buffer {"connection_id":45928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:52:56] local.INFO: Packet analysis {"connection_id":45928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:52:56] local.INFO: Extracted packet for processing {"connection_id":45928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:52:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764661504001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776424760000,"timestamp_ms":1776424760000,"timestamp_seconds":1776424760,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2ab2c0"} 
[2026-04-17 16:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 16:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764661504001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764661504001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:52:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764661504001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":45928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22242,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:52:56] local.INFO: GPS data processed {"connection_id":45928,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:52:56] local.INFO: Acknowledgment sent {"connection_id":45928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:52:58] local.INFO: TCP Data received {"connection_id":46784,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2a7828012d18764007217fc80047008924..."} 
[2026-04-17 16:52:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46784,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2a7828012d18764007217fc80047008924..."} 
[2026-04-17 16:52:58] local.INFO: Processing buffer {"connection_id":46784,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2a7828012d18764007217fc80047008924..."} 
[2026-04-17 16:52:58] local.INFO: Packet analysis {"connection_id":46784,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:52:58] local.INFO: Extracted packet for processing {"connection_id":46784,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:52:58] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119635912,"longitude_deg":75.6577856,"latitude_deg":11.9635912,"altitude":71,"angle":137,"satellites":36,"speed":0,"hex_longitude":"2d187640","hex_latitude":"07217fc8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:52:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764729344001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:52:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298166366863360,"note":"Value kept but may cause issues"} 
[2026-04-17 16:52:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533099008,"note":"Value kept but may cause issues"} 
[2026-04-17 16:52:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:52:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776424745000,"timestamp_ms":1776424745000,"timestamp_seconds":1776424745,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2a7828"} 
[2026-04-17 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-04-17 16:52:58] 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-04-17 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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-17 16:52:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 16:52:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:52:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46784,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:52:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:52:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46784,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:52:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:52:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:52:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:52:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764729344001,"66":12678,"105":206,"83":41984,"24":0,"16":113298166366863360,"45":1762666703533099008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:52:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:52:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:52:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764729344001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:52:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:52:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:52:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298166366863360,"km_value":113298166366863.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:52:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533099008,"description":"Unknown IO ID 45"} 
[2026-04-17 16:52:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764729344001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533099008}} 
[2026-04-17 16:52:58] local.INFO: DEBUG: GPS processor result {"connection_id":46784,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22243,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:52:58] local.INFO: GPS data processed {"connection_id":46784,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:52:58] local.INFO: Acknowledgment sent {"connection_id":46784,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:53:04] local.INFO: TCP Data received {"connection_id":46033,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:53:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46033,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:53:04] local.INFO: Processing buffer {"connection_id":46033,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:53:04] local.INFO: IMEI packet received {"connection_id":46033,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:53:04] local.INFO: IMEI acknowledgment sent {"connection_id":46033,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:53:21] local.INFO: TCP Data received {"connection_id":46785,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:53:21] local.INFO: Processing buffer {"connection_id":46785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:53:21] local.INFO: IMEI packet received {"connection_id":46785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":46785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:53:27] local.INFO: TCP Data received {"connection_id":46785,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46785,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:53:27] local.INFO: Processing buffer {"connection_id":46785,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:53:27] local.INFO: IMEI packet received {"connection_id":46785,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:53:27] local.INFO: IMEI acknowledgment sent {"connection_id":46785,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:53:27] local.INFO: TCP Data received {"connection_id":45928,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45928,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:53:27] local.INFO: Processing buffer {"connection_id":45928,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:53:27] local.INFO: Packet analysis {"connection_id":45928,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:53:27] local.INFO: Extracted packet for processing {"connection_id":45928,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764661504001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424760000,"timestamp_ms":1776424760000,"timestamp_seconds":1776424760,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2ab2c0"} 
[2026-04-17 16:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 16:53:27] 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-04-17 16:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45928,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45928,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764661504001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764661504001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:53:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764661504001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":45928,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22244,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:53:27] local.INFO: GPS data processed {"connection_id":45928,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:53:27] local.INFO: Acknowledgment sent {"connection_id":45928,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:53:27] local.INFO: TCP Data received {"connection_id":46785,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2aca30012d18764007217fc80047008928..."} 
[2026-04-17 16:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2aca30012d18764007217fc80047008928..."} 
[2026-04-17 16:53:27] local.INFO: Processing buffer {"connection_id":46785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2aca30012d18764007217fc80047008928..."} 
[2026-04-17 16:53:27] local.INFO: Packet analysis {"connection_id":46785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:53:27] local.INFO: Extracted packet for processing {"connection_id":46785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:53:27] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119635912,"longitude_deg":75.6577856,"latitude_deg":11.9635912,"altitude":71,"angle":137,"satellites":40,"speed":0,"hex_longitude":"2d187640","hex_latitude":"07217fc8","is_valid_coordinates":true} 
[2026-04-17 16:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764734720001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298166366863360,"note":"Value kept but may cause issues"} 
[2026-04-17 16:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533099008,"note":"Value kept but may cause issues"} 
[2026-04-17 16:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424766000,"timestamp_ms":1776424766000,"timestamp_seconds":1776424766,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2aca30"} 
[2026-04-17 16:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-17 16:53:27] 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-04-17 16:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764734720001,"66":12667,"105":206,"83":41984,"24":0,"16":113298166366863360,"45":1762666703533099008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764734720001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:53:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:53:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298166366863360,"km_value":113298166366863.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533099008,"description":"Unknown IO ID 45"} 
[2026-04-17 16:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764734720001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533099008}} 
[2026-04-17 16:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":46785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22245,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:53:28] local.INFO: GPS data processed {"connection_id":46785,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:53:28] local.INFO: Acknowledgment sent {"connection_id":46785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:53:55] local.INFO: TCP Data received {"connection_id":46257,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:53:55] local.INFO: Processing buffer {"connection_id":46257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:53:55] local.INFO: IMEI packet received {"connection_id":46257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":46257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:53:59] local.INFO: TCP Data received {"connection_id":46785,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2b1c38012d18764007217fc80047008927..."} 
[2026-04-17 16:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46785,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2b1c38012d18764007217fc80047008927..."} 
[2026-04-17 16:53:59] local.INFO: Processing buffer {"connection_id":46785,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2b1c38012d18764007217fc80047008927..."} 
[2026-04-17 16:53:59] local.INFO: Packet analysis {"connection_id":46785,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2b"} 
[2026-04-17 16:53:59] local.INFO: Extracted packet for processing {"connection_id":46785,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2b"} 
[2026-04-17 16:53:59] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119635912,"longitude_deg":75.6577856,"latitude_deg":11.9635912,"altitude":71,"angle":137,"satellites":39,"speed":0,"hex_longitude":"2d187640","hex_latitude":"07217fc8","is_valid_coordinates":true} 
[2026-04-17 16:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764740096001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298166366863360,"note":"Value kept but may cause issues"} 
[2026-04-17 16:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533099008,"note":"Value kept but may cause issues"} 
[2026-04-17 16:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776424787000,"timestamp_ms":1776424787000,"timestamp_seconds":1776424787,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2b1c38"} 
[2026-04-17 16:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:53:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-17 16:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1550,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46785,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46785,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764740096001,"66":12667,"105":206,"83":41984,"24":0,"16":113298166366863360,"45":1762666703533099008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764740096001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:53:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:53:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298166366863360,"km_value":113298166366863.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533099008,"description":"Unknown IO ID 45"} 
[2026-04-17 16:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764740096001,"power":12667,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533099008}} 
[2026-04-17 16:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":46785,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:53:59] local.INFO: GPS data processed {"connection_id":46785,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:53:59] local.INFO: Acknowledgment sent {"connection_id":46785,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:54:00] local.INFO: TCP Data received {"connection_id":46257,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46257,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:54:00] local.INFO: Processing buffer {"connection_id":46257,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:54:00] local.INFO: IMEI packet received {"connection_id":46257,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:54:00] local.INFO: IMEI acknowledgment sent {"connection_id":46257,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:54:01] local.INFO: TCP Data received {"connection_id":46257,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:54:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:54:01] local.INFO: Processing buffer {"connection_id":46257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:54:01] local.INFO: Packet analysis {"connection_id":46257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:54:01] local.INFO: Extracted packet for processing {"connection_id":46257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:54:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:54:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764661504001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:54:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:54:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:54:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:54:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776424760000,"timestamp_ms":1776424760000,"timestamp_seconds":1776424760,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2ab2c0"} 
[2026-04-17 16:54:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:54:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:54:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 16:54: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-04-17 16:54:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:54:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:54:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:54:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:54:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:54:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:54: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-04-17 16:54:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:54:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:54:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764661504001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:54:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:54:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:54:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764661504001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:54:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:54:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:54:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:54:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:54:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764661504001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:54:01] local.INFO: DEBUG: GPS processor result {"connection_id":46257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22247,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:54:01] local.INFO: GPS data processed {"connection_id":46257,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:54:01] local.INFO: Acknowledgment sent {"connection_id":46257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:54:06] local.INFO: TCP Data received {"connection_id":46257,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:54:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:54:06] local.INFO: Processing buffer {"connection_id":46257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:54:06] local.INFO: Packet analysis {"connection_id":46257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:54:06] local.INFO: Extracted packet for processing {"connection_id":46257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:54:06] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:54:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764661504001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:54:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:54:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:54:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:54:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776424760000,"timestamp_ms":1776424760000,"timestamp_seconds":1776424760,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2ab2c0"} 
[2026-04-17 16:54:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:54:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 16:54:06] 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-04-17 16: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-04-17 16:54:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:54:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:54:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:54:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:54:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46257,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:54:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:54:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:54:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:54:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764661504001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:54:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:54:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:54:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764661504001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:54:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:54:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:54:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:54:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:54:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764661504001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:54:06] local.INFO: DEBUG: GPS processor result {"connection_id":46257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:54:06] local.INFO: GPS data processed {"connection_id":46257,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:54:06] local.INFO: Acknowledgment sent {"connection_id":46257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:54:21] local.INFO: TCP Data received {"connection_id":46034,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:54:21] local.INFO: Processing buffer {"connection_id":46034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:54:21] local.INFO: IMEI packet received {"connection_id":46034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":46034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:54:27] local.INFO: TCP Data received {"connection_id":46034,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46034,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:54:27] local.INFO: Processing buffer {"connection_id":46034,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:54:27] local.INFO: IMEI packet received {"connection_id":46034,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":46034,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:54:27] local.INFO: TCP Data received {"connection_id":46034,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2b6a58012d18764007217fc8004700892b..."} 
[2026-04-17 16:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2b6a58012d18764007217fc8004700892b..."} 
[2026-04-17 16:54:27] local.INFO: Processing buffer {"connection_id":46034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2b6a58012d18764007217fc8004700892b..."} 
[2026-04-17 16:54:27] local.INFO: Packet analysis {"connection_id":46034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2b"} 
[2026-04-17 16:54:27] local.INFO: Extracted packet for processing {"connection_id":46034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2b"} 
[2026-04-17 16:54:27] local.INFO: GPS Element Parsed {"raw_longitude":756577856,"raw_latitude":119635912,"longitude_deg":75.6577856,"latitude_deg":11.9635912,"altitude":71,"angle":137,"satellites":43,"speed":0,"hex_longitude":"2d187640","hex_latitude":"07217fc8","is_valid_coordinates":true} 
[2026-04-17 16:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764745472001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298166366863360,"note":"Value kept but may cause issues"} 
[2026-04-17 16:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762666703533099008,"note":"Value kept but may cause issues"} 
[2026-04-17 16:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776424807000,"timestamp_ms":1776424807000,"timestamp_seconds":1776424807,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2b6a58"} 
[2026-04-17 16:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-17 16:54:27] 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-04-17 16:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764745472001,"66":12602,"105":206,"83":41984,"24":0,"16":113298166366863360,"45":1762666703533099008},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764745472001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:54:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:54:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298166366863360,"km_value":113298166366863.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762666703533099008,"description":"Unknown IO ID 45"} 
[2026-04-17 16:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764745472001,"power":12602,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1762666703533099008}} 
[2026-04-17 16:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":46034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22249,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:54:27] local.INFO: GPS data processed {"connection_id":46034,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:54:27] local.INFO: Acknowledgment sent {"connection_id":46034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:54:50] local.INFO: TCP Data received {"connection_id":45930,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:54:50] local.INFO: Processing buffer {"connection_id":45930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:54:50] local.INFO: IMEI packet received {"connection_id":45930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":45930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:54:55] local.INFO: TCP Data received {"connection_id":45930,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:54:55] local.INFO: Processing buffer {"connection_id":45930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:54:55] local.INFO: IMEI packet received {"connection_id":45930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":45930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:54:56] local.INFO: TCP Data received {"connection_id":45930,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:54:56] local.INFO: Processing buffer {"connection_id":45930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2ab2c0012d7faac005afe180000000092a..."} 
[2026-04-17 16:54:56] local.INFO: Packet analysis {"connection_id":45930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:54:56] local.INFO: Extracted packet for processing {"connection_id":45930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2a"} 
[2026-04-17 16:54:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764661504001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776424760000,"timestamp_ms":1776424760000,"timestamp_seconds":1776424760,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2ab2c0"} 
[2026-04-17 16:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 16:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764661504001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764661504001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:54:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:54:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764661504001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":45930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22250,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:54:56] local.INFO: GPS data processed {"connection_id":45930,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:54:56] local.INFO: Acknowledgment sent {"connection_id":45930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:54:59] local.INFO: TCP Data received {"connection_id":46034,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2f0c08012d1873c007218400004b014b28..."} 
[2026-04-17 16:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2f0c08012d1873c007218400004b014b28..."} 
[2026-04-17 16:54:59] local.INFO: Processing buffer {"connection_id":46034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2f0c08012d1873c007218400004b014b28..."} 
[2026-04-17 16:54:59] local.INFO: Packet analysis {"connection_id":46034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:54:59] local.INFO: Extracted packet for processing {"connection_id":46034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756577216,"raw_latitude":119636992,"longitude_deg":75.6577216,"latitude_deg":11.9636992,"altitude":75,"angle":331,"satellites":40,"speed":1,"hex_longitude":"2d1873c0","hex_latitude":"07218400","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764809216001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298239381307392,"note":"Value kept but may cause issues"} 
[2026-04-17 16:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1762033384835700736,"note":"Value kept but may cause issues"} 
[2026-04-17 16:54:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776425045000,"timestamp_ms":1776425045000,"timestamp_seconds":1776425045,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2f0c08"} 
[2026-04-17 16:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:54:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":55,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-17 16:54:59] 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-04-17 16: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-04-17 16:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46034,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764809216001,"66":14189,"105":206,"83":41984,"24":1,"16":113298239381307392,"45":1762033384835700736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 16:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764809216001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:54:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 16:54:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298239381307392,"km_value":113298239381307.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1762033384835700736,"description":"Unknown IO ID 45"} 
[2026-04-17 16:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764809216001,"power":14189,"unknown_105":206,"unknown_83":41984,"ignition":1,"odometer":null,"unknown_45":1762033384835700736}} 
[2026-04-17 16:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":46034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22251,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:54:59] local.INFO: GPS data processed {"connection_id":46034,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:54:59] local.INFO: Acknowledgment sent {"connection_id":46034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:55:21] local.INFO: TCP Data received {"connection_id":46787,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:55:21] local.INFO: Processing buffer {"connection_id":46787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:55:21] local.INFO: IMEI packet received {"connection_id":46787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":46787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:55:27] local.INFO: TCP Data received {"connection_id":46787,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46787,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:55:27] local.INFO: Processing buffer {"connection_id":46787,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:55:27] local.INFO: IMEI packet received {"connection_id":46787,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:55:27] local.INFO: IMEI acknowledgment sent {"connection_id":46787,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:55:27] local.INFO: TCP Data received {"connection_id":45930,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:55:27] local.INFO: Processing buffer {"connection_id":45930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:55:27] local.INFO: Packet analysis {"connection_id":45930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:55:27] local.INFO: Extracted packet for processing {"connection_id":45930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764738560001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776425061000,"timestamp_ms":1776425061000,"timestamp_seconds":1776425061,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2f4a88"} 
[2026-04-17 16:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 16:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764738560001,"66":25441,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764738560001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:55:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764738560001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":45930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22252,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:55:27] local.INFO: GPS data processed {"connection_id":45930,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:55:27] local.INFO: Acknowledgment sent {"connection_id":45930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:55:27] local.INFO: TCP Data received {"connection_id":46787,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2f17c0012d18738007218330004b012e25..."} 
[2026-04-17 16:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2f17c0012d18738007218330004b012e25..."} 
[2026-04-17 16:55:27] local.INFO: Processing buffer {"connection_id":46787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2f17c0012d18738007218330004b012e25..."} 
[2026-04-17 16:55:27] local.INFO: Packet analysis {"connection_id":46787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:55:27] local.INFO: Extracted packet for processing {"connection_id":46787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:55:27] local.INFO: GPS Element Parsed {"raw_longitude":756577152,"raw_latitude":119636784,"longitude_deg":75.6577152,"latitude_deg":11.9636784,"altitude":75,"angle":302,"satellites":37,"speed":0,"hex_longitude":"2d187380","hex_latitude":"07218330","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764811520001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113298252266209280,"note":"Value kept but may cause issues"} 
[2026-04-17 16:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761963016091598848,"note":"Value kept but may cause issues"} 
[2026-04-17 16:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776425048000,"timestamp_ms":1776425048000,"timestamp_seconds":1776425048,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2f17c0"} 
[2026-04-17 16:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:55: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-04-17 16: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":55,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-17 16:55:27] 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-04-17 16: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-04-17 16:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764811520001,"66":14189,"106":206,"83":41984,"24":0,"16":113298252266209280,"45":1761963016091598848},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764811520001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:55:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:55:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113298252266209280,"km_value":113298252266209.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761963016091598848,"description":"Unknown IO ID 45"} 
[2026-04-17 16:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764811520001,"power":14189,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1761963016091598848}} 
[2026-04-17 16:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":46787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:55:27] local.INFO: GPS data processed {"connection_id":46787,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:55:27] local.INFO: Acknowledgment sent {"connection_id":46787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:55:50] local.INFO: TCP Data received {"connection_id":45931,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:55:50] local.INFO: Processing buffer {"connection_id":45931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:55:50] local.INFO: IMEI packet received {"connection_id":45931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":45931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:55:55] local.INFO: TCP Data received {"connection_id":45931,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45931,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:55:55] local.INFO: Processing buffer {"connection_id":45931,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:55:55] local.INFO: IMEI packet received {"connection_id":45931,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":45931,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:55:56] local.INFO: TCP Data received {"connection_id":45931,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:55:56] local.INFO: Processing buffer {"connection_id":45931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:55:56] local.INFO: Packet analysis {"connection_id":45931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:55:56] local.INFO: Extracted packet for processing {"connection_id":45931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764738560001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776425061000,"timestamp_ms":1776425061000,"timestamp_seconds":1776425061,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2f4a88"} 
[2026-04-17 16:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:55:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 16:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:55:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:55:56] 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-04-17 16:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764738560001,"66":25441,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764738560001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:55:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:55:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764738560001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":45931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:55:56] local.INFO: GPS data processed {"connection_id":45931,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:55:56] local.INFO: Acknowledgment sent {"connection_id":45931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:55:59] local.INFO: TCP Data received {"connection_id":46787,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b3009f0012d18d24007210d70003600a525..."} 
[2026-04-17 16:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46787,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b3009f0012d18d24007210d70003600a525..."} 
[2026-04-17 16:55:59] local.INFO: Processing buffer {"connection_id":46787,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b3009f0012d18d24007210d70003600a525..."} 
[2026-04-17 16:55:59] local.INFO: Packet analysis {"connection_id":46787,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b30"} 
[2026-04-17 16:55:59] local.INFO: Extracted packet for processing {"connection_id":46787,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b30"} 
[2026-04-17 16:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756601408,"raw_latitude":119606640,"longitude_deg":75.6601408,"latitude_deg":11.960664,"altitude":54,"angle":165,"satellites":37,"speed":37,"hex_longitude":"2d18d240","hex_latitude":"07210d70","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764826624001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113300361095151616,"note":"Value kept but may cause issues"} 
[2026-04-17 16:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788492032640143360,"note":"Value kept but may cause issues"} 
[2026-04-17 16:55:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776425110000,"timestamp_ms":1776425110000,"timestamp_seconds":1776425110,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b3009f0"} 
[2026-04-17 16:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 16:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46787,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46787,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764826624001,"66":14233,"106":206,"83":41984,"24":37,"16":113300361095151616,"45":1788492032640143360},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764826624001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:55:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:55:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113300361095151616,"km_value":113300361095151.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788492032640143360,"description":"Unknown IO ID 45"} 
[2026-04-17 16:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764826624001,"power":14233,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1788492032640143360}} 
[2026-04-17 16:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":46787,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22255,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:55:59] local.INFO: GPS data processed {"connection_id":46787,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:55:59] local.INFO: Acknowledgment sent {"connection_id":46787,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:56:26] local.INFO: TCP Data received {"connection_id":46259,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:56:26] local.INFO: Processing buffer {"connection_id":46259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:56:26] local.INFO: IMEI packet received {"connection_id":46259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":46259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:56:26] local.INFO: TCP Data received {"connection_id":46259,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:56:26] local.INFO: Processing buffer {"connection_id":46259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:56:26] local.INFO: IMEI packet received {"connection_id":46259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":46259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:56:27] local.INFO: TCP Data received {"connection_id":45931,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45931,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:56:27] local.INFO: Processing buffer {"connection_id":45931,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:56:27] local.INFO: Packet analysis {"connection_id":45931,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:56:27] local.INFO: Extracted packet for processing {"connection_id":45931,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764738560001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776425061000,"timestamp_ms":1776425061000,"timestamp_seconds":1776425061,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2f4a88"} 
[2026-04-17 16:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 16:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45931,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45931,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764738560001,"66":25441,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764738560001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:56:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764738560001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":45931,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22256,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:56:27] local.INFO: GPS data processed {"connection_id":45931,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:56:27] local.INFO: Acknowledgment sent {"connection_id":45931,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:56:30] local.INFO: TCP Data received {"connection_id":46259,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:56:30] local.INFO: Processing buffer {"connection_id":46259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:56:30] local.INFO: IMEI packet received {"connection_id":46259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:56:30] local.INFO: IMEI acknowledgment sent {"connection_id":46259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:56:31] local.INFO: TCP Data received {"connection_id":46259,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b301990012d18d7000720ff980036009a24..."} 
[2026-04-17 16:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b301990012d18d7000720ff980036009a24..."} 
[2026-04-17 16:56:31] local.INFO: Processing buffer {"connection_id":46259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b301990012d18d7000720ff980036009a24..."} 
[2026-04-17 16:56:31] local.INFO: Packet analysis {"connection_id":46259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b30"} 
[2026-04-17 16:56:31] local.INFO: Extracted packet for processing {"connection_id":46259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b30"} 
[2026-04-17 16:56:31] local.INFO: GPS Element Parsed {"raw_longitude":756602624,"raw_latitude":119603096,"longitude_deg":75.6602624,"latitude_deg":11.9603096,"altitude":54,"angle":154,"satellites":36,"speed":36,"hex_longitude":"2d18d700","hex_latitude":"0720ff98","is_valid_coordinates":true} 
[2026-04-17 16:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764828160001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113300541483778048,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1788562401382985728,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776425114000,"timestamp_ms":1776425114000,"timestamp_seconds":1776425114,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b301990"} 
[2026-04-17 16:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:56: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-04-17 16:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":153,"data_length":795,"current_offset":136} 
[2026-04-17 16:56:31] 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-04-17 16:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764828160001,"66":14341,"106":206,"83":41984,"24":36,"16":113300541483778048,"45":1788562401382985728},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764828160001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:56:31] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:56:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113300541483778048,"km_value":113300541483778.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1788562401382985728,"description":"Unknown IO ID 45"} 
[2026-04-17 16:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764828160001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1788562401382985728}} 
[2026-04-17 16:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":46259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22257,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:56:31] local.INFO: GPS data processed {"connection_id":46259,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:56:31] local.INFO: Acknowledgment sent {"connection_id":46259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:56:32] local.INFO: TCP Data received {"connection_id":46259,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b302160012d18db400720fa180035008724..."} 
[2026-04-17 16:56:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b302160012d18db400720fa180035008724..."} 
[2026-04-17 16:56:32] local.INFO: Processing buffer {"connection_id":46259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b302160012d18db400720fa180035008724..."} 
[2026-04-17 16:56:32] local.INFO: Packet analysis {"connection_id":46259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b30"} 
[2026-04-17 16:56:32] local.INFO: Extracted packet for processing {"connection_id":46259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b30"} 
[2026-04-17 16:56:32] local.INFO: GPS Element Parsed {"raw_longitude":756603712,"raw_latitude":119601688,"longitude_deg":75.6603712,"latitude_deg":11.9601688,"altitude":53,"angle":135,"satellites":36,"speed":33,"hex_longitude":"2d18db40","hex_latitude":"0720fa18","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764829184001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113300627383123968,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789899407521454080,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:56:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776425116000,"timestamp_ms":1776425116000,"timestamp_seconds":1776425116,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b302160"} 
[2026-04-17 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-04-17 16:56:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17664,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 16:56:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6939160503,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:32] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:32] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2603596752,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:32] local.WARNING: Large IO value detected {"io_id":133,"raw_value":3338665984,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:32] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505328440967168,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:32] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-17 16:56:32] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3288386922,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:32] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2240020480,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:32] local.WARNING: Large IO value detected {"io_id":232,"raw_value":84751194861805904,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:32] local.WARNING: Large IO value detected {"io_id":216,"raw_value":18578036295214336,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:32] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,106,83,24,241,157,16,134,9,45,64,13,54,37,10,66,242,33,57,36,133,234,1,240,153,227,155,4,113,205,34,207,198,41,239,55,2,146,7,206,232,216],"length":529,"final_offset":659,"validated_count":42,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-17 16:56:32] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3891279557459968000,"timestamp_seconds":3891279557459968,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 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-04-17 16:56:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:56:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:56:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:56:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:56:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:56:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:56:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:56:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764829184001,"66":14265,"106":206,"83":41984,"24":33,"16":113300627383123968,"45":1789899407521454080},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:56:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:56:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:56:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764829184001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:56:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:56:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:56:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113300627383123968,"km_value":113300627383123.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:56:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789899407521454080,"description":"Unknown IO ID 45"} 
[2026-04-17 16:56:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764829184001,"power":14265,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1789899407521454080}} 
[2026-04-17 16:56:32] local.INFO: DEBUG: GPS processor result {"connection_id":46259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:56:32] local.INFO: GPS data processed {"connection_id":46259,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:56:32] local.INFO: Acknowledgment sent {"connection_id":46259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:56:50] local.INFO: TCP Data received {"connection_id":46035,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:56:50] local.INFO: Processing buffer {"connection_id":46035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:56:50] local.INFO: IMEI packet received {"connection_id":46035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":46035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:56:55] local.INFO: TCP Data received {"connection_id":46035,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46035,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:56:55] local.INFO: Processing buffer {"connection_id":46035,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:56:55] local.INFO: IMEI packet received {"connection_id":46035,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":46035,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:56:56] local.INFO: TCP Data received {"connection_id":46035,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:56:56] local.INFO: Processing buffer {"connection_id":46035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:56:56] local.INFO: Packet analysis {"connection_id":46035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:56:56] local.INFO: Extracted packet for processing {"connection_id":46035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764738560001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776425061000,"timestamp_ms":1776425061000,"timestamp_seconds":1776425061,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2f4a88"} 
[2026-04-17 16:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 16:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764738560001,"66":25441,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764738560001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:56:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764738560001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":46035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:56:56] local.INFO: GPS data processed {"connection_id":46035,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:56:56] local.INFO: Acknowledgment sent {"connection_id":46035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:57:03] local.INFO: TCP Data received {"connection_id":46259,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b310008012d1991800720b3a0002f005e23..."} 
[2026-04-17 16:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b310008012d1991800720b3a0002f005e23..."} 
[2026-04-17 16:57:03] local.INFO: Processing buffer {"connection_id":46259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b310008012d1991800720b3a0002f005e23..."} 
[2026-04-17 16:57:03] local.INFO: Packet analysis {"connection_id":46259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b31"} 
[2026-04-17 16:57:03] local.INFO: Extracted packet for processing {"connection_id":46259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b31"} 
[2026-04-17 16:57:03] local.INFO: GPS Element Parsed {"raw_longitude":756650368,"raw_latitude":119583648,"longitude_deg":75.6650368,"latitude_deg":11.9583648,"altitude":47,"angle":94,"satellites":35,"speed":34,"hex_longitude":"2d199180","hex_latitude":"0720b3a0","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764844288001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113303217248403456,"note":"Value kept but may cause issues"} 
[2026-04-17 16:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842394490673012736,"note":"Value kept but may cause issues"} 
[2026-04-17 16:57:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776425173000,"timestamp_ms":1776425173000,"timestamp_seconds":1776425173,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b310008"} 
[2026-04-17 16:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:57: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-04-17 16: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":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-17 16:57:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764844288001,"66":14363,"106":206,"83":41984,"24":34,"16":113303217248403456,"45":1842394490673012736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764844288001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:57:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:57:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113303217248403456,"km_value":113303217248403.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842394490673012736,"description":"Unknown IO ID 45"} 
[2026-04-17 16:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764844288001,"power":14363,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1842394490673012736}} 
[2026-04-17 16:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":46259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:57:03] local.INFO: GPS data processed {"connection_id":46259,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:57:03] local.INFO: Acknowledgment sent {"connection_id":46259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:57:22] local.INFO: TCP Data received {"connection_id":46036,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:57:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:57:22] local.INFO: Processing buffer {"connection_id":46036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:57:22] local.INFO: IMEI packet received {"connection_id":46036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:57:22] local.INFO: IMEI acknowledgment sent {"connection_id":46036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:57:23] local.INFO: TCP Data received {"connection_id":46036,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:57:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:57:23] local.INFO: Processing buffer {"connection_id":46036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:57:23] local.INFO: IMEI packet received {"connection_id":46036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:57:23] local.INFO: IMEI acknowledgment sent {"connection_id":46036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:57:26] local.INFO: TCP Data received {"connection_id":46036,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:57:26] local.INFO: Processing buffer {"connection_id":46036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:57:26] local.INFO: IMEI packet received {"connection_id":46036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":46036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:57:27] local.INFO: TCP Data received {"connection_id":46036,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b311b60012d19ad400720afb00030006b22..."} 
[2026-04-17 16:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b311b60012d19ad400720afb00030006b22..."} 
[2026-04-17 16:57:27] local.INFO: Processing buffer {"connection_id":46036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b311b60012d19ad400720afb00030006b22..."} 
[2026-04-17 16:57:27] local.INFO: Packet analysis {"connection_id":46036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b31"} 
[2026-04-17 16:57:27] local.INFO: Extracted packet for processing {"connection_id":46036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b31"} 
[2026-04-17 16:57:27] local.INFO: GPS Element Parsed {"raw_longitude":756657472,"raw_latitude":119582640,"longitude_deg":75.6657472,"latitude_deg":11.958264,"altitude":48,"angle":107,"satellites":34,"speed":40,"hex_longitude":"2d19ad40","hex_latitude":"0720afb0","is_valid_coordinates":true} 
[2026-04-17 16:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764844288001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113303556550819840,"note":"Value kept but may cause issues"} 
[2026-04-17 16:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1842394490673012736,"note":"Value kept but may cause issues"} 
[2026-04-17 16:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776425180000,"timestamp_ms":1776425180000,"timestamp_seconds":1776425180,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b311b60"} 
[2026-04-17 16:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:57: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-04-17 16:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-17 16:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764844288001,"66":14374,"106":206,"83":41984,"24":40,"16":113303556550819840,"45":1842394490673012736},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764844288001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:57:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:57:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113303556550819840,"km_value":113303556550819.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1842394490673012736,"description":"Unknown IO ID 45"} 
[2026-04-17 16:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764844288001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":40,"odometer":null,"unknown_45":1842394490673012736}} 
[2026-04-17 16:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":46036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22261,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:57:27] local.INFO: GPS data processed {"connection_id":46036,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:57:27] local.INFO: Acknowledgment sent {"connection_id":46036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:57:27] local.INFO: TCP Data received {"connection_id":46035,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46035,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:57:27] local.INFO: Processing buffer {"connection_id":46035,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:57:27] local.INFO: Packet analysis {"connection_id":46035,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:57:27] local.INFO: Extracted packet for processing {"connection_id":46035,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764738560001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776425061000,"timestamp_ms":1776425061000,"timestamp_seconds":1776425061,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2f4a88"} 
[2026-04-17 16:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 16:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46035,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46035,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764738560001,"66":25441,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764738560001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:57:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764738560001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":46035,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22262,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:57:27] local.INFO: GPS data processed {"connection_id":46035,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:57:27] local.INFO: Acknowledgment sent {"connection_id":46035,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:57:28] local.INFO: TCP Data received {"connection_id":46036,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b312b00012d19b9400720aa28002f007a24..."} 
[2026-04-17 16:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b312b00012d19b9400720aa28002f007a24..."} 
[2026-04-17 16:57:28] local.INFO: Processing buffer {"connection_id":46036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b312b00012d19b9400720aa28002f007a24..."} 
[2026-04-17 16:57:28] local.INFO: Packet analysis {"connection_id":46036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b31"} 
[2026-04-17 16:57:28] local.INFO: Extracted packet for processing {"connection_id":46036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b31"} 
[2026-04-17 16:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756660544,"raw_latitude":119581224,"longitude_deg":75.6660544,"latitude_deg":11.9581224,"altitude":47,"angle":122,"satellites":36,"speed":26,"hex_longitude":"2d19b940","hex_latitude":"0720aa28","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764846080001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113303719759577088,"note":"Value kept but may cause issues"} 
[2026-04-17 16:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850205421276475392,"note":"Value kept but may cause issues"} 
[2026-04-17 16:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776425184000,"timestamp_ms":1776425184000,"timestamp_seconds":1776425184,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b312b00"} 
[2026-04-17 16:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:57: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-04-17 16: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":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 16:57:28] 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-04-17 16: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-04-17 16:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764846080001,"66":14276,"106":206,"83":41984,"24":26,"16":113303719759577088,"45":1850205421276475392},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764846080001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:57:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:57:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113303719759577088,"km_value":113303719759577.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850205421276475392,"description":"Unknown IO ID 45"} 
[2026-04-17 16:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764846080001,"power":14276,"unknown_106":206,"unknown_83":41984,"ignition":26,"odometer":null,"unknown_45":1850205421276475392}} 
[2026-04-17 16:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":46036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22263,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:57:28] local.INFO: GPS data processed {"connection_id":46036,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:57:28] local.INFO: Acknowledgment sent {"connection_id":46036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:57:50] local.INFO: TCP Data received {"connection_id":46037,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:57:50] local.INFO: Processing buffer {"connection_id":46037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:57:50] local.INFO: IMEI packet received {"connection_id":46037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":46037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:57:55] local.INFO: TCP Data received {"connection_id":46037,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46037,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:57:55] local.INFO: Processing buffer {"connection_id":46037,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:57:55] local.INFO: IMEI packet received {"connection_id":46037,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":46037,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:57:56] local.INFO: TCP Data received {"connection_id":46037,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:57:56] local.INFO: Processing buffer {"connection_id":46037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:57:56] local.INFO: Packet analysis {"connection_id":46037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:57:56] local.INFO: Extracted packet for processing {"connection_id":46037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:57:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764738560001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776425061000,"timestamp_ms":1776425061000,"timestamp_seconds":1776425061,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2f4a88"} 
[2026-04-17 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-04-17 16:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 16:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 16:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:57:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764738560001,"66":25441,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764738560001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:57:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764738560001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":46037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22264,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:57:56] local.INFO: GPS data processed {"connection_id":46037,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:57:56] local.INFO: Acknowledgment sent {"connection_id":46037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:57:59] local.INFO: TCP Data received {"connection_id":46036,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b31f238012d19e3c0072005c00026008c21..."} 
[2026-04-17 16:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b31f238012d19e3c0072005c00026008c21..."} 
[2026-04-17 16:57:59] local.INFO: Processing buffer {"connection_id":46036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b31f238012d19e3c0072005c00026008c21..."} 
[2026-04-17 16:57:59] local.INFO: Packet analysis {"connection_id":46036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b31"} 
[2026-04-17 16:57:59] local.INFO: Extracted packet for processing {"connection_id":46036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b31"} 
[2026-04-17 16:57:59] local.INFO: GPS Element Parsed {"raw_longitude":756671424,"raw_latitude":119539136,"longitude_deg":75.6671424,"latitude_deg":11.9539136,"altitude":38,"angle":140,"satellites":33,"speed":37,"hex_longitude":"2d19e3c0","hex_latitude":"072005c0","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764858880001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113306034746949632,"note":"Value kept but may cause issues"} 
[2026-04-17 16:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861323682846124032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776425235000,"timestamp_ms":1776425235000,"timestamp_seconds":1776425235,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b31f238"} 
[2026-04-17 16:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-17 16:57:59] 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-04-17 16: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-04-17 16:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764858880001,"66":14396,"106":206,"83":41984,"24":37,"16":113306034746949632,"45":1861323682846124032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764858880001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:57:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:57:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113306034746949632,"km_value":113306034746949.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861323682846124032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764858880001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1861323682846124032}} 
[2026-04-17 16:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":46036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22265,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:57:59] local.INFO: GPS data processed {"connection_id":46036,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:57:59] local.INFO: Acknowledgment sent {"connection_id":46036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:58:19] local.INFO: TCP Data received {"connection_id":46260,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:58:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46260,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:58:19] local.INFO: Processing buffer {"connection_id":46260,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:58:19] local.INFO: IMEI packet received {"connection_id":46260,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:58:19] local.INFO: IMEI acknowledgment sent {"connection_id":46260,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:58:25] local.INFO: TCP Data received {"connection_id":45932,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:58:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:58:25] local.INFO: Processing buffer {"connection_id":45932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:58:25] local.INFO: IMEI packet received {"connection_id":45932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 16:58:25] local.INFO: IMEI acknowledgment sent {"connection_id":45932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:58:27] local.INFO: TCP Data received {"connection_id":46037,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46037,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:58:27] local.INFO: Processing buffer {"connection_id":46037,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:58:27] local.INFO: Packet analysis {"connection_id":46037,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:58:27] local.INFO: Extracted packet for processing {"connection_id":46037,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764738560001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776425061000,"timestamp_ms":1776425061000,"timestamp_seconds":1776425061,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2f4a88"} 
[2026-04-17 16:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 16:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46037,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46037,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764738560001,"66":25441,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764738560001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:58:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:58:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764738560001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":46037,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22266,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:58:27] local.INFO: GPS data processed {"connection_id":46037,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:58:27] local.INFO: Acknowledgment sent {"connection_id":46037,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:58:27] local.INFO: TCP Data received {"connection_id":45932,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:58:27] local.INFO: Processing buffer {"connection_id":45932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:58:27] local.INFO: IMEI packet received {"connection_id":45932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:58:27] local.INFO: IMEI acknowledgment sent {"connection_id":45932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:58:29] local.INFO: TCP Data received {"connection_id":45932,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:58:29] local.INFO: Processing buffer {"connection_id":45932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 16:58:29] local.INFO: IMEI packet received {"connection_id":45932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 16:58:29] local.INFO: IMEI acknowledgment sent {"connection_id":45932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:58:30] local.INFO: TCP Data received {"connection_id":45932,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b3201d8012d19ed80071ffb400027007e23..."} 
[2026-04-17 16:58:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b3201d8012d19ed80071ffb400027007e23..."} 
[2026-04-17 16:58:30] local.INFO: Processing buffer {"connection_id":45932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b3201d8012d19ed80071ffb400027007e23..."} 
[2026-04-17 16:58:30] local.INFO: Packet analysis {"connection_id":45932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b32"} 
[2026-04-17 16:58:30] local.INFO: Extracted packet for processing {"connection_id":45932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b32"} 
[2026-04-17 16:58:30] local.INFO: GPS Element Parsed {"raw_longitude":756673920,"raw_latitude":119536448,"longitude_deg":75.667392,"latitude_deg":11.9536448,"altitude":39,"angle":126,"satellites":35,"speed":33,"hex_longitude":"2d19ed80","hex_latitude":"071ffb40","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:58:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764860160001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:58:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113306210840608768,"note":"Value kept but may cause issues"} 
[2026-04-17 16:58:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1865545807496069120,"note":"Value kept but may cause issues"} 
[2026-04-17 16:58:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:58:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776425239000,"timestamp_ms":1776425239000,"timestamp_seconds":1776425239,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b3201d8"} 
[2026-04-17 16:58:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:58:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":17920,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-17 16:58:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:58:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:58:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:58:30] local.INFO: Teltonika packet parsed successfully {"connection_id":45932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:58:30] local.INFO: Passing IMEI to GPS processor {"connection_id":45932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:58:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":45932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 16:58:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:58:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 16:58:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 16:58:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764860160001,"66":14374,"106":206,"83":41984,"24":33,"16":113306210840608768,"45":1865545807496069120},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 16:58:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 16:58:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 16:58:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764860160001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:58:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 16:58:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 16:58:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113306210840608768,"km_value":113306210840608.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:58:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1865545807496069120,"description":"Unknown IO ID 45"} 
[2026-04-17 16:58:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764860160001,"power":14374,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1865545807496069120}} 
[2026-04-17 16:58:30] local.INFO: DEBUG: GPS processor result {"connection_id":45932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:58:30] local.INFO: GPS data processed {"connection_id":45932,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:58:30] local.INFO: Acknowledgment sent {"connection_id":45932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:58:55] local.INFO: TCP Data received {"connection_id":46789,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:58:55] local.INFO: Processing buffer {"connection_id":46789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:58:55] local.INFO: IMEI packet received {"connection_id":46789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":46789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:59:00] local.INFO: TCP Data received {"connection_id":46789,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46789,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:59:00] local.INFO: Processing buffer {"connection_id":46789,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:59:00] local.INFO: IMEI packet received {"connection_id":46789,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":46789,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:59:01] local.INFO: TCP Data received {"connection_id":46789,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:59:01] local.INFO: Processing buffer {"connection_id":46789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:59:01] local.INFO: Packet analysis {"connection_id":46789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:59:01] local.INFO: Extracted packet for processing {"connection_id":46789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 16:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764738560001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776425061000,"timestamp_ms":1776425061000,"timestamp_seconds":1776425061,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2f4a88"} 
[2026-04-17 16:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16:59:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 16:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16:59:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 16:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:59: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-04-17 16:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764738560001,"66":25441,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764738560001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:59:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764738560001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":46789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:59:01] local.INFO: GPS data processed {"connection_id":46789,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:59:01] local.INFO: Acknowledgment sent {"connection_id":46789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:59:04] local.INFO: TCP Data received {"connection_id":46790,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:59:04] local.INFO: Processing buffer {"connection_id":46790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:59:04] local.INFO: IMEI packet received {"connection_id":46790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 16:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":46790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:59:05] local.INFO: TCP Data received {"connection_id":46789,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46789,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:59:05] local.INFO: Processing buffer {"connection_id":46789,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:59:05] local.INFO: Packet analysis {"connection_id":46789,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:59:05] local.INFO: Extracted packet for processing {"connection_id":46789,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:59:05] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764738560001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776425061000,"timestamp_ms":1776425061000,"timestamp_seconds":1776425061,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2f4a88"} 
[2026-04-17 16:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 16: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 16:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 16: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-04-17 16:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46789,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46789,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:59:05] 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-04-17 16:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764738560001,"66":25441,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764738560001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:59:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:59:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764738560001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:59:06] local.INFO: DEBUG: GPS processor result {"connection_id":46789,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:59:06] local.INFO: GPS data processed {"connection_id":46789,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:59:06] local.INFO: Acknowledgment sent {"connection_id":46789,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:59:09] local.INFO: TCP Data received {"connection_id":46790,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:59:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46790,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:59:09] local.INFO: Processing buffer {"connection_id":46790,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 16:59:09] local.INFO: IMEI packet received {"connection_id":46790,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 16:59:09] local.INFO: IMEI acknowledgment sent {"connection_id":46790,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:59:10] local.INFO: TCP Data received {"connection_id":46790,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2bc048012d649a00064fdcd80008008d2d..."} 
[2026-04-17 16:59:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46790,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2bc048012d649a00064fdcd80008008d2d..."} 
[2026-04-17 16:59:10] local.INFO: Processing buffer {"connection_id":46790,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2bc048012d649a00064fdcd80008008d2d..."} 
[2026-04-17 16:59:10] local.INFO: Packet analysis {"connection_id":46790,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2b"} 
[2026-04-17 16:59:10] local.INFO: Extracted packet for processing {"connection_id":46790,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2b"} 
[2026-04-17 16:59:10] local.INFO: GPS Element Parsed {"raw_longitude":761567744,"raw_latitude":105897176,"longitude_deg":76.1567744,"latitude_deg":10.5897176,"altitude":8,"angle":141,"satellites":45,"speed":0,"hex_longitude":"2d649a00","hex_latitude":"064fdcd8","is_valid_coordinates":true} 
[2026-04-17 16: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-04-17 16:59:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764750848001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:59:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106618783551979520,"note":"Value kept but may cause issues"} 
[2026-04-17 16:59:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7236017990902151168,"note":"Value kept but may cause issues"} 
[2026-04-17 16:59:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,14,78,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:59:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776424829000,"timestamp_ms":1776424829000,"timestamp_seconds":1776424829,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2bc048"} 
[2026-04-17 16:59:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 16:59:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19200,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 16: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":110,"n8_eight_byte":194,"data_length":795,"current_offset":136} 
[2026-04-17 16:59:10] 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-04-17 16: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-04-17 16:59:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 16:59:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:59:10] local.INFO: Teltonika packet parsed successfully {"connection_id":46790,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:59:10] local.INFO: Passing IMEI to GPS processor {"connection_id":46790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 16:59:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":46790,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 16:59:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:59:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 16:59:10] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 16:59:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764750848001,"66":28028,"14":206,"78":41216,"24":0,"16":106618783551979520,"45":7236017990902151168},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,14,78,24,16,45]} 
[2026-04-17 16:59:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 16:59:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 16:59:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764750848001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:59:10] local.INFO: Unknown IO ID detected {"io_id":14,"value":206,"description":"Unknown IO ID 14"} 
[2026-04-17 16:59:10] local.INFO: Unknown IO ID detected {"io_id":78,"value":41216,"description":"Unknown IO ID 78"} 
[2026-04-17 16:59:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106618783551979520,"km_value":106618783551979.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:59:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":7236017990902151168,"description":"Unknown IO ID 45"} 
[2026-04-17 16:59:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764750848001,"power":28028,"unknown_14":206,"unknown_78":41216,"ignition":0,"odometer":null,"unknown_45":7236017990902151168}} 
[2026-04-17 16:59:10] local.INFO: DEBUG: GPS processor result {"connection_id":46790,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22270,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:59:10] local.INFO: GPS data processed {"connection_id":46790,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:59:10] local.INFO: Acknowledgment sent {"connection_id":46790,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 16:59:50] local.INFO: TCP Data received {"connection_id":45933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:59:50] local.INFO: Processing buffer {"connection_id":45933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:59:50] local.INFO: IMEI packet received {"connection_id":45933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 16:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":45933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 16:59:55] local.INFO: TCP Data received {"connection_id":45933,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45933,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:59:55] local.INFO: Processing buffer {"connection_id":45933,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 16:59:55] local.INFO: IMEI packet received {"connection_id":45933,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 16:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":45933,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 16:59:56] local.INFO: TCP Data received {"connection_id":45933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:59:56] local.INFO: Processing buffer {"connection_id":45933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b2f4a88012d7faac005afe1800000000926..."} 
[2026-04-17 16:59:56] local.INFO: Packet analysis {"connection_id":45933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:59:56] local.INFO: Extracted packet for processing {"connection_id":45933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b2f"} 
[2026-04-17 16:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 16:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764738560001,"note":"Value kept but may cause issues"} 
[2026-04-17 16:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 16:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 16:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 16:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776425061000,"timestamp_ms":1776425061000,"timestamp_seconds":1776425061,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b2f4a88"} 
[2026-04-17 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-04-17 16:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 16:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 16:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 16:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 16:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 16:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 16:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 16:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 16:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764738560001,"66":25441,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 16:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 16:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 16:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764738560001,"description":"Unknown IO ID 0"} 
[2026-04-17 16:59:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 16:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 16:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 16:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 16:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764738560001,"power":25441,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 16:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":45933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22271,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 16:59:56] local.INFO: GPS data processed {"connection_id":45933,"processed":1,"errors":0,"total":1} 
[2026-04-17 16:59:56] local.INFO: Acknowledgment sent {"connection_id":45933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:00:04] local.INFO: TCP Data received {"connection_id":45934,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45934,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:00:04] local.INFO: Processing buffer {"connection_id":45934,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:00:04] local.INFO: IMEI packet received {"connection_id":45934,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":45934,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:00:24] local.INFO: TCP Data received {"connection_id":46261,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:00:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46261,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:00:24] local.INFO: Processing buffer {"connection_id":46261,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:00:24] local.INFO: IMEI packet received {"connection_id":46261,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:00:24] local.INFO: IMEI acknowledgment sent {"connection_id":46261,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:00:27] local.INFO: TCP Data received {"connection_id":45933,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45933,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:00:27] local.INFO: Processing buffer {"connection_id":45933,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:00:27] local.INFO: Packet analysis {"connection_id":45933,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:00:27] local.INFO: Extracted packet for processing {"connection_id":45933,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764815616001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776425362000,"timestamp_ms":1776425362000,"timestamp_seconds":1776425362,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b33e250"} 
[2026-04-17 17:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 17:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45933,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45933,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764815616001,"66":25419,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764815616001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:00:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:00:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764815616001,"power":25419,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":45933,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:00:27] local.INFO: GPS data processed {"connection_id":45933,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:00:27] local.INFO: Acknowledgment sent {"connection_id":45933,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:00:50] local.INFO: TCP Data received {"connection_id":46038,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:00:50] local.INFO: Processing buffer {"connection_id":46038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:00:50] local.INFO: IMEI packet received {"connection_id":46038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":46038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:00:55] local.INFO: TCP Data received {"connection_id":46038,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:00:55] local.INFO: Processing buffer {"connection_id":46038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:00:55] local.INFO: IMEI packet received {"connection_id":46038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":46038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:00:56] local.INFO: TCP Data received {"connection_id":46038,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:00:56] local.INFO: Processing buffer {"connection_id":46038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:00:56] local.INFO: Packet analysis {"connection_id":46038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:00:56] local.INFO: Extracted packet for processing {"connection_id":46038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764815616001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776425362000,"timestamp_ms":1776425362000,"timestamp_seconds":1776425362,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b33e250"} 
[2026-04-17 17:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 17:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764815616001,"66":25419,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764815616001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:00:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764815616001,"power":25419,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":46038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:00:56] local.INFO: GPS data processed {"connection_id":46038,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:00:56] local.INFO: Acknowledgment sent {"connection_id":46038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:01:26] local.INFO: TCP Data received {"connection_id":46038,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:01:26] local.INFO: Processing buffer {"connection_id":46038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:01:26] local.INFO: Packet analysis {"connection_id":46038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:01:26] local.INFO: Extracted packet for processing {"connection_id":46038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764815616001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776425362000,"timestamp_ms":1776425362000,"timestamp_seconds":1776425362,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b33e250"} 
[2026-04-17 17:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:01:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 17:01:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:01:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764815616001,"66":25419,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764815616001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:01:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764815616001,"power":25419,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":46038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22274,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:01:26] local.INFO: GPS data processed {"connection_id":46038,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:01:26] local.INFO: Acknowledgment sent {"connection_id":46038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:01:50] local.INFO: TCP Data received {"connection_id":45935,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:01:50] local.INFO: Processing buffer {"connection_id":45935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:01:50] local.INFO: IMEI packet received {"connection_id":45935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":45935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:01:55] local.INFO: TCP Data received {"connection_id":45935,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:01:55] local.INFO: Processing buffer {"connection_id":45935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:01:55] local.INFO: IMEI packet received {"connection_id":45935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":45935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:01:56] local.INFO: TCP Data received {"connection_id":45935,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:01:56] local.INFO: Processing buffer {"connection_id":45935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:01:56] local.INFO: Packet analysis {"connection_id":45935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:01:56] local.INFO: Extracted packet for processing {"connection_id":45935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764815616001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776425362000,"timestamp_ms":1776425362000,"timestamp_seconds":1776425362,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b33e250"} 
[2026-04-17 17:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 17:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764815616001,"66":25419,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764815616001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:01:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764815616001,"power":25419,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":45935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:01:56] local.INFO: GPS data processed {"connection_id":45935,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:01:56] local.INFO: Acknowledgment sent {"connection_id":45935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:02:27] local.INFO: TCP Data received {"connection_id":45935,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:02:27] local.INFO: Processing buffer {"connection_id":45935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:02:27] local.INFO: Packet analysis {"connection_id":45935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:02:27] local.INFO: Extracted packet for processing {"connection_id":45935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 17:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764815616001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776425362000,"timestamp_ms":1776425362000,"timestamp_seconds":1776425362,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b33e250"} 
[2026-04-17 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-04-17 17:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 17:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 17:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764815616001,"66":25419,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764815616001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:02:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764815616001,"power":25419,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":45935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22276,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:02:27] local.INFO: GPS data processed {"connection_id":45935,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:02:27] local.INFO: Acknowledgment sent {"connection_id":45935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:02:50] local.INFO: TCP Data received {"connection_id":46039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:02:50] local.INFO: Processing buffer {"connection_id":46039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:02:50] local.INFO: IMEI packet received {"connection_id":46039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":46039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:02:55] local.INFO: TCP Data received {"connection_id":46039,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46039,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:02:55] local.INFO: Processing buffer {"connection_id":46039,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:02:55] local.INFO: IMEI packet received {"connection_id":46039,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":46039,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:02:56] local.INFO: TCP Data received {"connection_id":46039,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:02:56] local.INFO: Processing buffer {"connection_id":46039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:02:56] local.INFO: Packet analysis {"connection_id":46039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:02:56] local.INFO: Extracted packet for processing {"connection_id":46039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:02:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764815616001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776425362000,"timestamp_ms":1776425362000,"timestamp_seconds":1776425362,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b33e250"} 
[2026-04-17 17:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 17:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764815616001,"66":25419,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764815616001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:02:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:02:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764815616001,"power":25419,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":46039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:02:56] local.INFO: GPS data processed {"connection_id":46039,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:02:56] local.INFO: Acknowledgment sent {"connection_id":46039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:03:26] local.INFO: TCP Data received {"connection_id":46039,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:03:26] local.INFO: Processing buffer {"connection_id":46039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:03:26] local.INFO: Packet analysis {"connection_id":46039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:03:26] local.INFO: Extracted packet for processing {"connection_id":46039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:03:26] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:03:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764815616001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:03:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:03:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:03:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:03:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776425362000,"timestamp_ms":1776425362000,"timestamp_seconds":1776425362,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b33e250"} 
[2026-04-17 17:03:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:03:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:03:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 17:03:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:03:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:03:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:03:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:03:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:03:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:03:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46039,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:03:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:03:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:03:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:03:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764815616001,"66":25419,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:03:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:03:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:03:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764815616001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:03:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:03:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:03:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:03:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:03:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764815616001,"power":25419,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:03:26] local.INFO: DEBUG: GPS processor result {"connection_id":46039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22278,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:03:26] local.INFO: GPS data processed {"connection_id":46039,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:03:26] local.INFO: Acknowledgment sent {"connection_id":46039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:03:50] local.INFO: TCP Data received {"connection_id":46264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:03:50] local.INFO: Processing buffer {"connection_id":46264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:03:50] local.INFO: IMEI packet received {"connection_id":46264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":46264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:03:55] local.INFO: TCP Data received {"connection_id":46264,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46264,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:03:55] local.INFO: Processing buffer {"connection_id":46264,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:03:55] local.INFO: IMEI packet received {"connection_id":46264,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":46264,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:03:56] local.INFO: TCP Data received {"connection_id":46264,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:03:56] local.INFO: Processing buffer {"connection_id":46264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:03:56] local.INFO: Packet analysis {"connection_id":46264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:03:56] local.INFO: Extracted packet for processing {"connection_id":46264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:03:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764815616001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776425362000,"timestamp_ms":1776425362000,"timestamp_seconds":1776425362,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b33e250"} 
[2026-04-17 17:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 17:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764815616001,"66":25419,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764815616001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:03:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:03:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764815616001,"power":25419,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":46264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:03:56] local.INFO: GPS data processed {"connection_id":46264,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:03:56] local.INFO: Acknowledgment sent {"connection_id":46264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:04:27] local.INFO: TCP Data received {"connection_id":46264,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:04:27] local.INFO: Processing buffer {"connection_id":46264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:04:27] local.INFO: Packet analysis {"connection_id":46264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:04:27] local.INFO: Extracted packet for processing {"connection_id":46264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:04:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764815616001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776425362000,"timestamp_ms":1776425362000,"timestamp_seconds":1776425362,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b33e250"} 
[2026-04-17 17:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 17:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46264,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764815616001,"66":25419,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764815616001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:04:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:04:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764815616001,"power":25419,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":46264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:04:27] local.INFO: GPS data processed {"connection_id":46264,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:04:27] local.INFO: Acknowledgment sent {"connection_id":46264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:04:55] local.INFO: TCP Data received {"connection_id":46040,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:04:55] local.INFO: Processing buffer {"connection_id":46040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:04:55] local.INFO: IMEI packet received {"connection_id":46040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":46040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:05:00] local.INFO: TCP Data received {"connection_id":46040,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:05:00] local.INFO: Processing buffer {"connection_id":46040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:05:00] local.INFO: IMEI packet received {"connection_id":46040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":46040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:05:01] local.INFO: TCP Data received {"connection_id":46040,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:05:01] local.INFO: Processing buffer {"connection_id":46040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b33e250012d7faac005afe1800000000929..."} 
[2026-04-17 17:05:01] local.INFO: Packet analysis {"connection_id":46040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:05:01] local.INFO: Extracted packet for processing {"connection_id":46040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b33"} 
[2026-04-17 17:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764815616001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776425362000,"timestamp_ms":1776425362000,"timestamp_seconds":1776425362,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b33e250"} 
[2026-04-17 17:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 17:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:05: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-04-17 17:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764815616001,"66":25419,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764815616001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:05:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764815616001,"power":25419,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":46040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22281,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:05:01] local.INFO: GPS data processed {"connection_id":46040,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:05:01] local.INFO: Acknowledgment sent {"connection_id":46040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:05:01] local.INFO: TCP Data received {"connection_id":46040,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:05:01] local.INFO: Processing buffer {"connection_id":46040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:05:01] local.INFO: Packet analysis {"connection_id":46040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:05:01] local.INFO: Extracted packet for processing {"connection_id":46040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764892672001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776425663000,"timestamp_ms":1776425663000,"timestamp_seconds":1776425663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b387a18"} 
[2026-04-17 17:05:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 17:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:05:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:05:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:05: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-04-17 17:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764892672001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764892672001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:05:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764892672001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:05:02] local.INFO: DEBUG: GPS processor result {"connection_id":46040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:05:02] local.INFO: GPS data processed {"connection_id":46040,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:05:02] local.INFO: Acknowledgment sent {"connection_id":46040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:05:32] local.INFO: TCP Data received {"connection_id":46040,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:05:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:05:32] local.INFO: Processing buffer {"connection_id":46040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:05:32] local.INFO: Packet analysis {"connection_id":46040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:05:32] local.INFO: Extracted packet for processing {"connection_id":46040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:05:32] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:05:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764892672001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:05:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:05:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:05:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:05:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776425663000,"timestamp_ms":1776425663000,"timestamp_seconds":1776425663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b387a18"} 
[2026-04-17 17:05:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:05:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:05:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 17:05:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:05:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:05:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:05:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:05:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:05:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:05:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:05:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:05:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:05:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:05:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764892672001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:05:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:05:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:05:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764892672001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:05:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:05:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:05:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:05:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:05:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764892672001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:05:32] local.INFO: DEBUG: GPS processor result {"connection_id":46040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22283,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:05:32] local.INFO: GPS data processed {"connection_id":46040,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:05:32] local.INFO: Acknowledgment sent {"connection_id":46040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:05:34] local.INFO: TCP Data received {"connection_id":46265,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:05:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46265,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:05:34] local.INFO: Processing buffer {"connection_id":46265,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:05:34] local.INFO: IMEI packet received {"connection_id":46265,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:05:34] local.INFO: IMEI acknowledgment sent {"connection_id":46265,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:05:50] local.INFO: TCP Data received {"connection_id":46041,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:05:50] local.INFO: Processing buffer {"connection_id":46041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:05:50] local.INFO: IMEI packet received {"connection_id":46041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":46041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:05:55] local.INFO: TCP Data received {"connection_id":46041,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:05:55] local.INFO: Processing buffer {"connection_id":46041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:05:55] local.INFO: IMEI packet received {"connection_id":46041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":46041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:05:56] local.INFO: TCP Data received {"connection_id":46041,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:05:56] local.INFO: Processing buffer {"connection_id":46041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:05:56] local.INFO: Packet analysis {"connection_id":46041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:05:56] local.INFO: Extracted packet for processing {"connection_id":46041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764892672001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776425663000,"timestamp_ms":1776425663000,"timestamp_seconds":1776425663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b387a18"} 
[2026-04-17 17:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 17:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:05:56] 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-04-17 17:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764892672001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764892672001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:05:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764892672001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":46041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22284,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:05:56] local.INFO: GPS data processed {"connection_id":46041,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:05:56] local.INFO: Acknowledgment sent {"connection_id":46041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:06:04] local.INFO: TCP Data received {"connection_id":46793,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46793,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:06:04] local.INFO: Processing buffer {"connection_id":46793,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:06:04] local.INFO: IMEI packet received {"connection_id":46793,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":46793,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:06:27] local.INFO: TCP Data received {"connection_id":46041,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:06:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:06:27] local.INFO: Processing buffer {"connection_id":46041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:06:27] local.INFO: Packet analysis {"connection_id":46041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:06:27] local.INFO: Extracted packet for processing {"connection_id":46041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:06:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:06:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764892672001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:06:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:06:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:06:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:06:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776425663000,"timestamp_ms":1776425663000,"timestamp_seconds":1776425663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b387a18"} 
[2026-04-17 17:06:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:06:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:06:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 17:06:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:06:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:06:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:06:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:06:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:06:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:06:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:06:27] 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-04-17 17:06:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:06:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:06:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764892672001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:06:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:06:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:06:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764892672001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:06:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:06:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:06:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:06:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:06:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764892672001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:06:27] local.INFO: DEBUG: GPS processor result {"connection_id":46041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:06:27] local.INFO: GPS data processed {"connection_id":46041,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:06:27] local.INFO: Acknowledgment sent {"connection_id":46041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:06:50] local.INFO: TCP Data received {"connection_id":46266,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:06:50] local.INFO: Processing buffer {"connection_id":46266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:06:50] local.INFO: IMEI packet received {"connection_id":46266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":46266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:06:55] local.INFO: TCP Data received {"connection_id":46266,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:06:55] local.INFO: Processing buffer {"connection_id":46266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:06:55] local.INFO: IMEI packet received {"connection_id":46266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":46266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:06:56] local.INFO: TCP Data received {"connection_id":46266,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:06:56] local.INFO: Processing buffer {"connection_id":46266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:06:56] local.INFO: Packet analysis {"connection_id":46266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:06:56] local.INFO: Extracted packet for processing {"connection_id":46266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:06:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764892672001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776425663000,"timestamp_ms":1776425663000,"timestamp_seconds":1776425663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b387a18"} 
[2026-04-17 17:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 17:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:06:56] 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-04-17 17:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764892672001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764892672001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:06:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764892672001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":46266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:06:56] local.INFO: GPS data processed {"connection_id":46266,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:06:56] local.INFO: Acknowledgment sent {"connection_id":46266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:07:27] local.INFO: TCP Data received {"connection_id":46266,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:07:27] local.INFO: Processing buffer {"connection_id":46266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:07:27] local.INFO: Packet analysis {"connection_id":46266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:07:27] local.INFO: Extracted packet for processing {"connection_id":46266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764892672001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776425663000,"timestamp_ms":1776425663000,"timestamp_seconds":1776425663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b387a18"} 
[2026-04-17 17:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 17:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764892672001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764892672001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:07:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:07:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764892672001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":46266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22287,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:07:27] local.INFO: GPS data processed {"connection_id":46266,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:07:27] local.INFO: Acknowledgment sent {"connection_id":46266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:07:50] local.INFO: TCP Data received {"connection_id":46794,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:07:50] local.INFO: Processing buffer {"connection_id":46794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:07:50] local.INFO: IMEI packet received {"connection_id":46794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":46794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:07:55] local.INFO: TCP Data received {"connection_id":46794,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46794,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:07:55] local.INFO: Processing buffer {"connection_id":46794,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:07:55] local.INFO: IMEI packet received {"connection_id":46794,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":46794,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:07:56] local.INFO: TCP Data received {"connection_id":46794,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:07:56] local.INFO: Processing buffer {"connection_id":46794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:07:56] local.INFO: Packet analysis {"connection_id":46794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:07:56] local.INFO: Extracted packet for processing {"connection_id":46794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764892672001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776425663000,"timestamp_ms":1776425663000,"timestamp_seconds":1776425663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b387a18"} 
[2026-04-17 17:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 17:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764892672001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764892672001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:07:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764892672001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":46794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:07:56] local.INFO: GPS data processed {"connection_id":46794,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:07:56] local.INFO: Acknowledgment sent {"connection_id":46794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:08:27] local.INFO: TCP Data received {"connection_id":46794,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46794,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:08:27] local.INFO: Processing buffer {"connection_id":46794,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:08:27] local.INFO: Packet analysis {"connection_id":46794,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:08:27] local.INFO: Extracted packet for processing {"connection_id":46794,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:08:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764892672001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776425663000,"timestamp_ms":1776425663000,"timestamp_seconds":1776425663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b387a18"} 
[2026-04-17 17:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 17:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46794,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46794,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764892672001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764892672001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:08:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:08:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764892672001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":46794,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22289,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:08:27] local.INFO: GPS data processed {"connection_id":46794,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:08:27] local.INFO: Acknowledgment sent {"connection_id":46794,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:08:55] local.INFO: TCP Data received {"connection_id":46043,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:08:55] local.INFO: Processing buffer {"connection_id":46043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:08:55] local.INFO: IMEI packet received {"connection_id":46043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":46043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:09:00] local.INFO: TCP Data received {"connection_id":46043,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46043,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:09:00] local.INFO: Processing buffer {"connection_id":46043,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:09:00] local.INFO: IMEI packet received {"connection_id":46043,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:09:00] local.INFO: IMEI acknowledgment sent {"connection_id":46043,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:09:01] local.INFO: TCP Data received {"connection_id":46043,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:09:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:09:01] local.INFO: Processing buffer {"connection_id":46043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:09:01] local.INFO: Packet analysis {"connection_id":46043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:09:01] local.INFO: Extracted packet for processing {"connection_id":46043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:09:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:09:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764892672001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:09:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:09:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:09:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:09:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776425663000,"timestamp_ms":1776425663000,"timestamp_seconds":1776425663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b387a18"} 
[2026-04-17 17:09:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:09:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":75,"data_length":795,"current_offset":136} 
[2026-04-17 17:09:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:09:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:09:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:09:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:09:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:09:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:09: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-04-17 17:09:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:09:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:09:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764892672001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:09:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:09:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:09:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764892672001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:09:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:09:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:09:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:09:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:09:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764892672001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:09:01] local.INFO: DEBUG: GPS processor result {"connection_id":46043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:09:01] local.INFO: GPS data processed {"connection_id":46043,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:09:01] local.INFO: Acknowledgment sent {"connection_id":46043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:09:05] local.INFO: TCP Data received {"connection_id":46043,"ip":"42.106.6.49","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:09:05] local.INFO: Processing buffer {"connection_id":46043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:09:05] local.INFO: Packet analysis {"connection_id":46043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:09:05] local.INFO: Extracted packet for processing {"connection_id":46043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:09:05] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764892672001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776425663000,"timestamp_ms":1776425663000,"timestamp_seconds":1776425663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b387a18"} 
[2026-04-17 17:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:09:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 17:09:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:09:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46043,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:09:05] 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-04-17 17:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764892672001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.49","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764892672001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:09:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:09:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764892672001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":46043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22291,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:09:05] local.INFO: GPS data processed {"connection_id":46043,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:09:05] local.INFO: Acknowledgment sent {"connection_id":46043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:09:55] local.INFO: TCP Data received {"connection_id":46268,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:09:55] local.INFO: Processing buffer {"connection_id":46268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:09:55] local.INFO: IMEI packet received {"connection_id":46268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":46268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:09:55] local.INFO: TCP Data received {"connection_id":46268,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:09:55] local.INFO: Processing buffer {"connection_id":46268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:09:55] local.INFO: IMEI packet received {"connection_id":46268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":46268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:09:56] local.INFO: TCP Data received {"connection_id":46268,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:09:56] local.INFO: Processing buffer {"connection_id":46268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:09:56] local.INFO: Packet analysis {"connection_id":46268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:09:56] local.INFO: Extracted packet for processing {"connection_id":46268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764892672001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776425663000,"timestamp_ms":1776425663000,"timestamp_seconds":1776425663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b387a18"} 
[2026-04-17 17:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 17:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:09:56] 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-04-17 17:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764892672001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764892672001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:09:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764892672001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":46268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:09:56] local.INFO: GPS data processed {"connection_id":46268,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:09:56] local.INFO: Acknowledgment sent {"connection_id":46268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:10:00] local.INFO: TCP Data received {"connection_id":46268,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:10:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:10:00] local.INFO: Processing buffer {"connection_id":46268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b387a18012d7faac005afe1800000000928..."} 
[2026-04-17 17:10:00] local.INFO: Packet analysis {"connection_id":46268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:10:00] local.INFO: Extracted packet for processing {"connection_id":46268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b38"} 
[2026-04-17 17:10:00] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:10:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764892672001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:10:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:10:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:10:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:10:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776425663000,"timestamp_ms":1776425663000,"timestamp_seconds":1776425663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b387a18"} 
[2026-04-17 17:10:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:10:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":75,"data_length":795,"current_offset":136} 
[2026-04-17 17:10:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1368,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:10:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:10:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:10:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:10:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:10:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:10: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-04-17 17:10:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:10:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:10:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764892672001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:10:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:10:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:10:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764892672001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:10:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:10:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:10:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:10:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:10:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764892672001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":46268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22293,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:10:00] local.INFO: GPS data processed {"connection_id":46268,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:10:00] local.INFO: Acknowledgment sent {"connection_id":46268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:10:32] local.INFO: TCP Data received {"connection_id":46268,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:10:32] local.INFO: Processing buffer {"connection_id":46268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:10:32] local.INFO: Packet analysis {"connection_id":46268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:10:32] local.INFO: Extracted packet for processing {"connection_id":46268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:10:32] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764969728001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776425964000,"timestamp_ms":1776425964000,"timestamp_seconds":1776425964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b3d11e0"} 
[2026-04-17 17:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764969728001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764969728001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:10:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:10:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764969728001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":46268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:10:32] local.INFO: GPS data processed {"connection_id":46268,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:10:32] local.INFO: Acknowledgment sent {"connection_id":46268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:10:50] local.INFO: TCP Data received {"connection_id":46796,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:10:50] local.INFO: Processing buffer {"connection_id":46796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:10:50] local.INFO: IMEI packet received {"connection_id":46796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":46796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:10:55] local.INFO: TCP Data received {"connection_id":46796,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46796,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:10:55] local.INFO: Processing buffer {"connection_id":46796,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:10:55] local.INFO: IMEI packet received {"connection_id":46796,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":46796,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:10:56] local.INFO: TCP Data received {"connection_id":46796,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:10:56] local.INFO: Processing buffer {"connection_id":46796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:10:56] local.INFO: Packet analysis {"connection_id":46796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:10:56] local.INFO: Extracted packet for processing {"connection_id":46796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764969728001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776425964000,"timestamp_ms":1776425964000,"timestamp_seconds":1776425964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b3d11e0"} 
[2026-04-17 17:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764969728001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764969728001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:10:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764969728001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":46796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22295,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:10:56] local.INFO: GPS data processed {"connection_id":46796,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:10:56] local.INFO: Acknowledgment sent {"connection_id":46796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:11:24] local.INFO: TCP Data received {"connection_id":45937,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45937,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:11:24] local.INFO: Processing buffer {"connection_id":45937,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:11:24] local.INFO: IMEI packet received {"connection_id":45937,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":45937,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:11:27] local.INFO: TCP Data received {"connection_id":46796,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46796,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:11:27] local.INFO: Processing buffer {"connection_id":46796,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:11:27] local.INFO: Packet analysis {"connection_id":46796,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:11:27] local.INFO: Extracted packet for processing {"connection_id":46796,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 17:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764969728001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776425964000,"timestamp_ms":1776425964000,"timestamp_seconds":1776425964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b3d11e0"} 
[2026-04-17 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-04-17 17:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 17:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46796,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46796,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764969728001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764969728001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:11:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764969728001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":46796,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22296,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:11:27] local.INFO: GPS data processed {"connection_id":46796,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:11:27] local.INFO: Acknowledgment sent {"connection_id":46796,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:11:50] local.INFO: TCP Data received {"connection_id":46269,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:11:50] local.INFO: Processing buffer {"connection_id":46269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:11:50] local.INFO: IMEI packet received {"connection_id":46269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":46269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:11:55] local.INFO: TCP Data received {"connection_id":46269,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:11:55] local.INFO: Processing buffer {"connection_id":46269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:11:55] local.INFO: IMEI packet received {"connection_id":46269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":46269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:11:56] local.INFO: TCP Data received {"connection_id":46269,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:11:56] local.INFO: Processing buffer {"connection_id":46269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:11:56] local.INFO: Packet analysis {"connection_id":46269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:11:56] local.INFO: Extracted packet for processing {"connection_id":46269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 17:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764969728001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776425964000,"timestamp_ms":1776425964000,"timestamp_seconds":1776425964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b3d11e0"} 
[2026-04-17 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-04-17 17:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 17:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764969728001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764969728001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:11:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764969728001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":46269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:11:56] local.INFO: GPS data processed {"connection_id":46269,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:11:56] local.INFO: Acknowledgment sent {"connection_id":46269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:12:05] local.INFO: TCP Data received {"connection_id":45938,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:12:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45938,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:12:05] local.INFO: Processing buffer {"connection_id":45938,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:12:05] local.INFO: IMEI packet received {"connection_id":45938,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:12:05] local.INFO: IMEI acknowledgment sent {"connection_id":45938,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:12:27] local.INFO: TCP Data received {"connection_id":46269,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:12:27] local.INFO: Processing buffer {"connection_id":46269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:12:27] local.INFO: Packet analysis {"connection_id":46269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:12:27] local.INFO: Extracted packet for processing {"connection_id":46269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764969728001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776425964000,"timestamp_ms":1776425964000,"timestamp_seconds":1776425964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b3d11e0"} 
[2026-04-17 17:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764969728001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764969728001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:12:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:12:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764969728001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":46269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:12:27] local.INFO: GPS data processed {"connection_id":46269,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:12:27] local.INFO: Acknowledgment sent {"connection_id":46269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:12:50] local.INFO: TCP Data received {"connection_id":46270,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:12:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:12:50] local.INFO: Processing buffer {"connection_id":46270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:12:50] local.INFO: IMEI packet received {"connection_id":46270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:12:50] local.INFO: IMEI acknowledgment sent {"connection_id":46270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:12:55] local.INFO: TCP Data received {"connection_id":46270,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46270,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:12:55] local.INFO: Processing buffer {"connection_id":46270,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:12:55] local.INFO: IMEI packet received {"connection_id":46270,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":46270,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:12:56] local.INFO: TCP Data received {"connection_id":46270,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:12:56] local.INFO: Processing buffer {"connection_id":46270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:12:56] local.INFO: Packet analysis {"connection_id":46270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:12:56] local.INFO: Extracted packet for processing {"connection_id":46270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:12:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764969728001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776425964000,"timestamp_ms":1776425964000,"timestamp_seconds":1776425964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b3d11e0"} 
[2026-04-17 17:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:12:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764969728001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764969728001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:12:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:12:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764969728001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":46270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22299,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:12:56] local.INFO: GPS data processed {"connection_id":46270,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:12:56] local.INFO: Acknowledgment sent {"connection_id":46270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:13:27] local.INFO: TCP Data received {"connection_id":46270,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:13:27] local.INFO: Processing buffer {"connection_id":46270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:13:27] local.INFO: Packet analysis {"connection_id":46270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:13:27] local.INFO: Extracted packet for processing {"connection_id":46270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:13:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764969728001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776425964000,"timestamp_ms":1776425964000,"timestamp_seconds":1776425964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b3d11e0"} 
[2026-04-17 17:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46270,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764969728001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764969728001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:13:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:13:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764969728001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":46270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22300,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:13:27] local.INFO: GPS data processed {"connection_id":46270,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:13:27] local.INFO: Acknowledgment sent {"connection_id":46270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:13:55] local.INFO: TCP Data received {"connection_id":46798,"ip":"42.106.6.148","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:13:55] local.INFO: Processing buffer {"connection_id":46798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:13:55] local.INFO: IMEI packet received {"connection_id":46798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":46798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:14:00] local.INFO: TCP Data received {"connection_id":46798,"ip":"42.106.6.148","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46798,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:14:00] local.INFO: Processing buffer {"connection_id":46798,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:14:00] local.INFO: IMEI packet received {"connection_id":46798,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":46798,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:14:01] local.INFO: TCP Data received {"connection_id":46798,"ip":"42.106.6.148","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:14:01] local.INFO: Processing buffer {"connection_id":46798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:14:01] local.INFO: Packet analysis {"connection_id":46798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:14:01] local.INFO: Extracted packet for processing {"connection_id":46798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:14:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764969728001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776425964000,"timestamp_ms":1776425964000,"timestamp_seconds":1776425964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b3d11e0"} 
[2026-04-17 17:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:14:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:14:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.148","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764969728001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.148","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764969728001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:14:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:14:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764969728001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":46798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:14:01] local.INFO: GPS data processed {"connection_id":46798,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:14:01] local.INFO: Acknowledgment sent {"connection_id":46798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:14:05] local.INFO: TCP Data received {"connection_id":46798,"ip":"42.106.6.148","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46798,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:14:05] local.INFO: Processing buffer {"connection_id":46798,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:14:05] local.INFO: Packet analysis {"connection_id":46798,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:14:05] local.INFO: Extracted packet for processing {"connection_id":46798,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764969728001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776425964000,"timestamp_ms":1776425964000,"timestamp_seconds":1776425964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b3d11e0"} 
[2026-04-17 17:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:14:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46798,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46798,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.148","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764969728001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.148","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764969728001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:14:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:14:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764969728001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":46798,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:14:05] local.INFO: GPS data processed {"connection_id":46798,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:14:05] local.INFO: Acknowledgment sent {"connection_id":46798,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:14:50] local.INFO: TCP Data received {"connection_id":45940,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:14:50] local.INFO: Processing buffer {"connection_id":45940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:14:50] local.INFO: IMEI packet received {"connection_id":45940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":45940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:14:55] local.INFO: TCP Data received {"connection_id":45940,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45940,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:14:55] local.INFO: Processing buffer {"connection_id":45940,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:14:55] local.INFO: IMEI packet received {"connection_id":45940,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":45940,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:14:56] local.INFO: TCP Data received {"connection_id":45940,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:14:56] local.INFO: Processing buffer {"connection_id":45940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b3d11e0012d7faac005afe180000000092b..."} 
[2026-04-17 17:14:56] local.INFO: Packet analysis {"connection_id":45940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:14:56] local.INFO: Extracted packet for processing {"connection_id":45940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b3d"} 
[2026-04-17 17:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454764969728001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776425964000,"timestamp_ms":1776425964000,"timestamp_seconds":1776425964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b3d11e0"} 
[2026-04-17 17:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:14:56] 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-04-17 17:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454764969728001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454764969728001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:14:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454764969728001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":45940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22303,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:14:56] local.INFO: GPS data processed {"connection_id":45940,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:14:56] local.INFO: Acknowledgment sent {"connection_id":45940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:15:27] local.INFO: TCP Data received {"connection_id":45940,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:15:27] local.INFO: Processing buffer {"connection_id":45940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:15:27] local.INFO: Packet analysis {"connection_id":45940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:15:27] local.INFO: Extracted packet for processing {"connection_id":45940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765046784001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776426265000,"timestamp_ms":1776426265000,"timestamp_seconds":1776426265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b41a9a8"} 
[2026-04-17 17:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45940,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:15:27] 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-04-17 17:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765046784001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765046784001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:15:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765046784001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":45940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:15:27] local.INFO: GPS data processed {"connection_id":45940,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:15:27] local.INFO: Acknowledgment sent {"connection_id":45940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:15:35] local.INFO: TCP Data received {"connection_id":46045,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:15:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:15:35] local.INFO: Processing buffer {"connection_id":46045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:15:35] local.INFO: IMEI packet received {"connection_id":46045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:15:35] local.INFO: IMEI acknowledgment sent {"connection_id":46045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:15:36] local.INFO: TCP Data received {"connection_id":46045,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:15:36] local.INFO: Processing buffer {"connection_id":46045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:15:36] local.INFO: IMEI packet received {"connection_id":46045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:15:36] local.INFO: IMEI acknowledgment sent {"connection_id":46045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:15:37] local.INFO: TCP Data received {"connection_id":46045,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:15:37] local.INFO: Processing buffer {"connection_id":46045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:15:37] local.INFO: IMEI packet received {"connection_id":46045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":46045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:15:37] local.INFO: TCP Data received {"connection_id":46045,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:15:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46045,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:15:37] local.INFO: Processing buffer {"connection_id":46045,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:15:37] local.INFO: IMEI packet received {"connection_id":46045,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:15:37] local.INFO: IMEI acknowledgment sent {"connection_id":46045,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:15:50] local.INFO: TCP Data received {"connection_id":45941,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:15:50] local.INFO: Processing buffer {"connection_id":45941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:15:50] local.INFO: IMEI packet received {"connection_id":45941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":45941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:15:55] local.INFO: TCP Data received {"connection_id":45941,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45941,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:15:55] local.INFO: Processing buffer {"connection_id":45941,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:15:55] local.INFO: IMEI packet received {"connection_id":45941,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":45941,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:15:56] local.INFO: TCP Data received {"connection_id":45941,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:15:56] local.INFO: Processing buffer {"connection_id":45941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:15:56] local.INFO: Packet analysis {"connection_id":45941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:15:56] local.INFO: Extracted packet for processing {"connection_id":45941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:15:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765046784001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776426265000,"timestamp_ms":1776426265000,"timestamp_seconds":1776426265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b41a9a8"} 
[2026-04-17 17:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:15:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765046784001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765046784001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:15:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765046784001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":45941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22305,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:15:56] local.INFO: GPS data processed {"connection_id":45941,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:15:56] local.INFO: Acknowledgment sent {"connection_id":45941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:16:27] local.INFO: TCP Data received {"connection_id":45941,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45941,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:16:27] local.INFO: Processing buffer {"connection_id":45941,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:16:27] local.INFO: Packet analysis {"connection_id":45941,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:16:27] local.INFO: Extracted packet for processing {"connection_id":45941,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765046784001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776426265000,"timestamp_ms":1776426265000,"timestamp_seconds":1776426265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b41a9a8"} 
[2026-04-17 17:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45941,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45941,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765046784001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765046784001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:16:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765046784001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":45941,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:16:27] local.INFO: GPS data processed {"connection_id":45941,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:16:27] local.INFO: Acknowledgment sent {"connection_id":45941,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:16:50] local.INFO: TCP Data received {"connection_id":46046,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:16:50] local.INFO: Processing buffer {"connection_id":46046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:16:50] local.INFO: IMEI packet received {"connection_id":46046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":46046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:16:55] local.INFO: TCP Data received {"connection_id":46046,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46046,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:16:55] local.INFO: Processing buffer {"connection_id":46046,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:16:55] local.INFO: IMEI packet received {"connection_id":46046,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":46046,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:16:56] local.INFO: TCP Data received {"connection_id":46046,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:16:56] local.INFO: Processing buffer {"connection_id":46046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:16:56] local.INFO: Packet analysis {"connection_id":46046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:16:56] local.INFO: Extracted packet for processing {"connection_id":46046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765046784001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776426265000,"timestamp_ms":1776426265000,"timestamp_seconds":1776426265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b41a9a8"} 
[2026-04-17 17:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:16:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765046784001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765046784001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:16:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765046784001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":46046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22307,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:16:56] local.INFO: GPS data processed {"connection_id":46046,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:16:56] local.INFO: Acknowledgment sent {"connection_id":46046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:17:27] local.INFO: TCP Data received {"connection_id":46046,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:17:27] local.INFO: Processing buffer {"connection_id":46046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:17:27] local.INFO: Packet analysis {"connection_id":46046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:17:27] local.INFO: Extracted packet for processing {"connection_id":46046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765046784001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776426265000,"timestamp_ms":1776426265000,"timestamp_seconds":1776426265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b41a9a8"} 
[2026-04-17 17:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46046,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765046784001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765046784001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:17:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765046784001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":46046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:17:27] local.INFO: GPS data processed {"connection_id":46046,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:17:27] local.INFO: Acknowledgment sent {"connection_id":46046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:17:34] local.INFO: TCP Data received {"connection_id":46799,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46799,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:17:34] local.INFO: Processing buffer {"connection_id":46799,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:17:34] local.INFO: IMEI packet received {"connection_id":46799,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":46799,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:17:50] local.INFO: TCP Data received {"connection_id":46800,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:17:50] local.INFO: Processing buffer {"connection_id":46800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:17:50] local.INFO: IMEI packet received {"connection_id":46800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":46800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:17:55] local.INFO: TCP Data received {"connection_id":46800,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:17:55] local.INFO: Processing buffer {"connection_id":46800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:17:55] local.INFO: IMEI packet received {"connection_id":46800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":46800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:18:00] local.INFO: TCP Data received {"connection_id":46800,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46800,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:18:00] local.INFO: Processing buffer {"connection_id":46800,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:18:00] local.INFO: IMEI packet received {"connection_id":46800,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":46800,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:18:01] local.INFO: TCP Data received {"connection_id":46800,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:18:01] local.INFO: Processing buffer {"connection_id":46800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:18:01] local.INFO: Packet analysis {"connection_id":46800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:18:01] local.INFO: Extracted packet for processing {"connection_id":46800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765046784001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776426265000,"timestamp_ms":1776426265000,"timestamp_seconds":1776426265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b41a9a8"} 
[2026-04-17 17:18:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:18:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:18:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:18:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:18:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:18: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-04-17 17:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765046784001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765046784001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:18:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765046784001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":46800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22309,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:18:01] local.INFO: GPS data processed {"connection_id":46800,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:18:01] local.INFO: Acknowledgment sent {"connection_id":46800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:18:04] local.INFO: TCP Data received {"connection_id":45942,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45942,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:18:04] local.INFO: Processing buffer {"connection_id":45942,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:18:04] local.INFO: IMEI packet received {"connection_id":45942,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":45942,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:18:05] local.INFO: TCP Data received {"connection_id":46800,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46800,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:18:05] local.INFO: Processing buffer {"connection_id":46800,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:18:05] local.INFO: Packet analysis {"connection_id":46800,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:18:05] local.INFO: Extracted packet for processing {"connection_id":46800,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765046784001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776426265000,"timestamp_ms":1776426265000,"timestamp_seconds":1776426265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b41a9a8"} 
[2026-04-17 17:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:18:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46800,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46800,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:18: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-04-17 17:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765046784001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765046784001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:18:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:18:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765046784001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:18:06] local.INFO: DEBUG: GPS processor result {"connection_id":46800,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22310,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:18:06] local.INFO: GPS data processed {"connection_id":46800,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:18:06] local.INFO: Acknowledgment sent {"connection_id":46800,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:18:50] local.INFO: TCP Data received {"connection_id":46801,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:18:50] local.INFO: Processing buffer {"connection_id":46801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:18:50] local.INFO: IMEI packet received {"connection_id":46801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":46801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:18:55] local.INFO: TCP Data received {"connection_id":46801,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46801,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:18:55] local.INFO: Processing buffer {"connection_id":46801,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:18:55] local.INFO: IMEI packet received {"connection_id":46801,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":46801,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:18:56] local.INFO: TCP Data received {"connection_id":46801,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:18:56] local.INFO: Processing buffer {"connection_id":46801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:18:56] local.INFO: Packet analysis {"connection_id":46801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:18:56] local.INFO: Extracted packet for processing {"connection_id":46801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765046784001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776426265000,"timestamp_ms":1776426265000,"timestamp_seconds":1776426265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b41a9a8"} 
[2026-04-17 17:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:18:56] 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-04-17 17:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765046784001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765046784001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:18:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765046784001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":46801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:18:56] local.INFO: GPS data processed {"connection_id":46801,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:18:56] local.INFO: Acknowledgment sent {"connection_id":46801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:19:27] local.INFO: TCP Data received {"connection_id":46801,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46801,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:19:27] local.INFO: Processing buffer {"connection_id":46801,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:19:27] local.INFO: Packet analysis {"connection_id":46801,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:19:27] local.INFO: Extracted packet for processing {"connection_id":46801,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765046784001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776426265000,"timestamp_ms":1776426265000,"timestamp_seconds":1776426265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b41a9a8"} 
[2026-04-17 17:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46801,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46801,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765046784001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765046784001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:19:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765046784001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":46801,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22312,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:19:27] local.INFO: GPS data processed {"connection_id":46801,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:19:27] local.INFO: Acknowledgment sent {"connection_id":46801,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:19:50] local.INFO: TCP Data received {"connection_id":46802,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:19:50] local.INFO: Processing buffer {"connection_id":46802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:19:50] local.INFO: IMEI packet received {"connection_id":46802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":46802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:19:55] local.INFO: TCP Data received {"connection_id":46802,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46802,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:19:55] local.INFO: Processing buffer {"connection_id":46802,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:19:55] local.INFO: IMEI packet received {"connection_id":46802,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":46802,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:19:56] local.INFO: TCP Data received {"connection_id":46802,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:19:56] local.INFO: Processing buffer {"connection_id":46802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b41a9a8012d7faac005afe1800000000929..."} 
[2026-04-17 17:19:56] local.INFO: Packet analysis {"connection_id":46802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:19:56] local.INFO: Extracted packet for processing {"connection_id":46802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b41"} 
[2026-04-17 17:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765046784001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776426265000,"timestamp_ms":1776426265000,"timestamp_seconds":1776426265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b41a9a8"} 
[2026-04-17 17:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:19:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765046784001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765046784001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:19:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765046784001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":46802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22313,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:19:56] local.INFO: GPS data processed {"connection_id":46802,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:19:56] local.INFO: Acknowledgment sent {"connection_id":46802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:20:27] local.INFO: TCP Data received {"connection_id":46802,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46802,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:20:27] local.INFO: Processing buffer {"connection_id":46802,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:20:27] local.INFO: Packet analysis {"connection_id":46802,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:20:27] local.INFO: Extracted packet for processing {"connection_id":46802,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765123840001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776426566000,"timestamp_ms":1776426566000,"timestamp_seconds":1776426566,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b464170"} 
[2026-04-17 17:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46802,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46802,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765123840001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765123840001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:20:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:20:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765123840001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":46802,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:20:27] local.INFO: GPS data processed {"connection_id":46802,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:20:27] local.INFO: Acknowledgment sent {"connection_id":46802,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:20:50] local.INFO: TCP Data received {"connection_id":46273,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:20:50] local.INFO: Processing buffer {"connection_id":46273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:20:50] local.INFO: IMEI packet received {"connection_id":46273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":46273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:20:55] local.INFO: TCP Data received {"connection_id":46273,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46273,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:20:55] local.INFO: Processing buffer {"connection_id":46273,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:20:55] local.INFO: IMEI packet received {"connection_id":46273,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":46273,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:20:56] local.INFO: TCP Data received {"connection_id":46273,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:20:56] local.INFO: Processing buffer {"connection_id":46273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:20:56] local.INFO: Packet analysis {"connection_id":46273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:20:56] local.INFO: Extracted packet for processing {"connection_id":46273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 17:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765123840001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776426566000,"timestamp_ms":1776426566000,"timestamp_seconds":1776426566,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b464170"} 
[2026-04-17 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-04-17 17:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 17:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:20:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765123840001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765123840001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:20:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765123840001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":46273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22315,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:20:56] local.INFO: GPS data processed {"connection_id":46273,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:20:56] local.INFO: Acknowledgment sent {"connection_id":46273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:20:56] local.INFO: TCP Data received {"connection_id":46803,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:20:56] local.INFO: Processing buffer {"connection_id":46803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:20:56] local.INFO: IMEI packet received {"connection_id":46803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:20:56] local.INFO: IMEI acknowledgment sent {"connection_id":46803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:20:59] local.INFO: TCP Data received {"connection_id":46803,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:20:59] local.INFO: Processing buffer {"connection_id":46803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:20:59] local.INFO: IMEI packet received {"connection_id":46803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":46803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:21:02] local.INFO: TCP Data received {"connection_id":46803,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:21:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46803,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:21:02] local.INFO: Processing buffer {"connection_id":46803,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:21:02] local.INFO: IMEI packet received {"connection_id":46803,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:21:02] local.INFO: IMEI acknowledgment sent {"connection_id":46803,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:21:03] local.INFO: TCP Data received {"connection_id":46803,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b440720012d19ab000720b0780037011926..."} 
[2026-04-17 17:21:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46803,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b440720012d19ab000720b0780037011926..."} 
[2026-04-17 17:21:03] local.INFO: Processing buffer {"connection_id":46803,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b440720012d19ab000720b0780037011926..."} 
[2026-04-17 17:21:03] local.INFO: Packet analysis {"connection_id":46803,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b44"} 
[2026-04-17 17:21:03] local.INFO: Extracted packet for processing {"connection_id":46803,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b44"} 
[2026-04-17 17:21:03] local.INFO: GPS Element Parsed {"raw_longitude":756656896,"raw_latitude":119582840,"longitude_deg":75.6656896,"latitude_deg":11.958284,"altitude":55,"angle":281,"satellites":38,"speed":28,"hex_longitude":"2d19ab00","hex_latitude":"0720b078","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:21:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765162752001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:21:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113325838841151488,"note":"Value kept but may cause issues"} 
[2026-04-17 17:21:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1852175746113351680,"note":"Value kept but may cause issues"} 
[2026-04-17 17:21:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:21:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776426420000,"timestamp_ms":1776426420000,"timestamp_seconds":1776426420,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b440720"} 
[2026-04-17 17:21:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:21:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17: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":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-17 17:21:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:21:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:21:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:21:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46803,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:21:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:21:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46803,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:21:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:21:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:21:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:21:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765162752001,"66":13091,"106":206,"83":41984,"24":28,"16":113325838841151488,"45":1852175746113351680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:21:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:21:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:21:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765162752001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:21:03] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:21:03] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:21:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113325838841151488,"km_value":113325838841151.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:21:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1852175746113351680,"description":"Unknown IO ID 45"} 
[2026-04-17 17:21:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765162752001,"power":13091,"unknown_106":206,"unknown_83":41984,"ignition":28,"odometer":null,"unknown_45":1852175746113351680}} 
[2026-04-17 17:21:03] local.INFO: DEBUG: GPS processor result {"connection_id":46803,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22316,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:21:03] local.INFO: GPS data processed {"connection_id":46803,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:21:03] local.INFO: Acknowledgment sent {"connection_id":46803,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:21:27] local.INFO: TCP Data received {"connection_id":46273,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:21:27] local.INFO: Processing buffer {"connection_id":46273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:21:27] local.INFO: Packet analysis {"connection_id":46273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:21:27] local.INFO: Extracted packet for processing {"connection_id":46273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765123840001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776426566000,"timestamp_ms":1776426566000,"timestamp_seconds":1776426566,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b464170"} 
[2026-04-17 17:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46273,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765123840001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765123840001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:21:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765123840001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":46273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:21:27] local.INFO: GPS data processed {"connection_id":46273,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:21:27] local.INFO: Acknowledgment sent {"connection_id":46273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:21:31] local.INFO: TCP Data received {"connection_id":46049,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:21:31] local.INFO: Processing buffer {"connection_id":46049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:21:31] local.INFO: IMEI packet received {"connection_id":46049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":46049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:21:37] local.INFO: TCP Data received {"connection_id":46049,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46049,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:21:37] local.INFO: Processing buffer {"connection_id":46049,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:21:37] local.INFO: IMEI packet received {"connection_id":46049,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:21:37] local.INFO: IMEI acknowledgment sent {"connection_id":46049,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:21:37] local.INFO: TCP Data received {"connection_id":46049,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b443218012d198d800720b3500039010b21..."} 
[2026-04-17 17:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b443218012d198d800720b3500039010b21..."} 
[2026-04-17 17:21:37] local.INFO: Processing buffer {"connection_id":46049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b443218012d198d800720b3500039010b21..."} 
[2026-04-17 17:21:37] local.INFO: Packet analysis {"connection_id":46049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b44"} 
[2026-04-17 17:21:37] local.INFO: Extracted packet for processing {"connection_id":46049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b44"} 
[2026-04-17 17:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756649344,"raw_latitude":119583568,"longitude_deg":75.6649344,"latitude_deg":11.9583568,"altitude":57,"angle":267,"satellites":33,"speed":9,"hex_longitude":"2d198d80","hex_latitude":"0720b350","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765163520001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113326199618404352,"note":"Value kept but may cause issues"} 
[2026-04-17 17:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1849572102578927616,"note":"Value kept but may cause issues"} 
[2026-04-17 17:21:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776426431000,"timestamp_ms":1776426431000,"timestamp_seconds":1776426431,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b443218"} 
[2026-04-17 17:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:21: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-04-17 17:21:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-17 17:21: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-04-17 17: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-04-17 17:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46049,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765163520001,"66":13015,"106":206,"83":41984,"24":9,"16":113326199618404352,"45":1849572102578927616},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765163520001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:21:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:21:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113326199618404352,"km_value":113326199618404.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1849572102578927616,"description":"Unknown IO ID 45"} 
[2026-04-17 17:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765163520001,"power":13015,"unknown_106":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1849572102578927616}} 
[2026-04-17 17:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":46049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:21:37] local.INFO: GPS data processed {"connection_id":46049,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:21:37] local.INFO: Acknowledgment sent {"connection_id":46049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:21:50] local.INFO: TCP Data received {"connection_id":46804,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:21:50] local.INFO: Processing buffer {"connection_id":46804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:21:50] local.INFO: IMEI packet received {"connection_id":46804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":46804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:21:55] local.INFO: TCP Data received {"connection_id":46804,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46804,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:21:55] local.INFO: Processing buffer {"connection_id":46804,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:21:55] local.INFO: IMEI packet received {"connection_id":46804,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":46804,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:21:56] local.INFO: TCP Data received {"connection_id":46804,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:21:56] local.INFO: Processing buffer {"connection_id":46804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:21:56] local.INFO: Packet analysis {"connection_id":46804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:21:56] local.INFO: Extracted packet for processing {"connection_id":46804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765123840001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776426566000,"timestamp_ms":1776426566000,"timestamp_seconds":1776426566,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b464170"} 
[2026-04-17 17:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:21:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:21:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:21:56] 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-04-17 17:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765123840001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765123840001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:21:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765123840001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":46804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22319,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:21:56] local.INFO: GPS data processed {"connection_id":46804,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:21:56] local.INFO: Acknowledgment sent {"connection_id":46804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:22:22] local.INFO: TCP Data received {"connection_id":46274,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:22:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:22:22] local.INFO: Processing buffer {"connection_id":46274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:22:22] local.INFO: IMEI packet received {"connection_id":46274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:22:22] local.INFO: IMEI acknowledgment sent {"connection_id":46274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:22:24] local.INFO: TCP Data received {"connection_id":46274,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46274,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:22:24] local.INFO: Processing buffer {"connection_id":46274,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:22:24] local.INFO: IMEI packet received {"connection_id":46274,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":46274,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:22:25] local.INFO: TCP Data received {"connection_id":46274,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b476a50012d198b400720b298003800f425..."} 
[2026-04-17 17:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b476a50012d198b400720b298003800f425..."} 
[2026-04-17 17:22:25] local.INFO: Processing buffer {"connection_id":46274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b476a50012d198b400720b298003800f425..."} 
[2026-04-17 17:22:25] local.INFO: Packet analysis {"connection_id":46274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b47"} 
[2026-04-17 17:22:25] local.INFO: Extracted packet for processing {"connection_id":46274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b47"} 
[2026-04-17 17:22:25] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583384,"longitude_deg":75.6648768,"latitude_deg":11.9583384,"altitude":56,"angle":244,"satellites":37,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-04-17 17:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:22:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765214976001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113326225388208128,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068503552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:22:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776426642000,"timestamp_ms":1776426642000,"timestamp_seconds":1776426642,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b476a50"} 
[2026-04-17 17:22:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:22: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-04-17 17:22:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 17:22:25] 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-04-17 17:22:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:22:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:22:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:22:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:22:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:22:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:22:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:22:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:22:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:22:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765214976001,"66":12819,"106":206,"83":41984,"24":0,"16":113326225388208128,"45":1840635272068503552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:22:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:22:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:22:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765214976001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:22:25] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:22:25] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:22:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113326225388208128,"km_value":113326225388208.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:22:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068503552,"description":"Unknown IO ID 45"} 
[2026-04-17 17:22:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765214976001,"power":12819,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068503552}} 
[2026-04-17 17:22:25] local.INFO: DEBUG: GPS processor result {"connection_id":46274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22320,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:22:25] local.INFO: GPS data processed {"connection_id":46274,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:22:25] local.INFO: Acknowledgment sent {"connection_id":46274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:22:27] local.INFO: TCP Data received {"connection_id":46804,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46804,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:22:27] local.INFO: Processing buffer {"connection_id":46804,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:22:27] local.INFO: Packet analysis {"connection_id":46804,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:22:27] local.INFO: Extracted packet for processing {"connection_id":46804,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:22:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765123840001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776426566000,"timestamp_ms":1776426566000,"timestamp_seconds":1776426566,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b464170"} 
[2026-04-17 17:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:22:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46804,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46804,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765123840001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765123840001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:22:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:22:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765123840001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":46804,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:22:27] local.INFO: GPS data processed {"connection_id":46804,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:22:27] local.INFO: Acknowledgment sent {"connection_id":46804,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:22:55] local.INFO: TCP Data received {"connection_id":46275,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:22:55] local.INFO: Processing buffer {"connection_id":46275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:22:55] local.INFO: IMEI packet received {"connection_id":46275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":46275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:22:56] local.INFO: TCP Data received {"connection_id":46274,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b47bc58012d198b400720b298003800f426..."} 
[2026-04-17 17:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b47bc58012d198b400720b298003800f426..."} 
[2026-04-17 17:22:56] local.INFO: Processing buffer {"connection_id":46274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b47bc58012d198b400720b298003800f426..."} 
[2026-04-17 17:22:56] local.INFO: Packet analysis {"connection_id":46274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b47"} 
[2026-04-17 17:22:56] local.INFO: Extracted packet for processing {"connection_id":46274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b47"} 
[2026-04-17 17:22:56] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583384,"longitude_deg":75.6648768,"latitude_deg":11.9583384,"altitude":56,"angle":244,"satellites":38,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-04-17 17:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765220352001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113326225388208128,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068503552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776426663000,"timestamp_ms":1776426663000,"timestamp_seconds":1776426663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b47bc58"} 
[2026-04-17 17:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:22:56] 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-04-17 17:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2605022752,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84752053855264946,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505328848338944,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":155,"raw_value":4984385280922979136,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2996305976,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5188410657820967168,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":7667942201718210584,"corrected_to":0} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":152,"raw_value":15763647238242304,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182148105240832,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6845245576674488749,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2644115456,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2356112681775199268,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195047680,"note":"Value kept but may cause issues"} 
[2026-04-17 17:22:56] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,106,83,24,241,157,16,45,64,178,56,39,10,66,198,116,1,240,41,227,155,32,4,113,205,208,139,152,36,239,50,2,146,7,164,154,69],"length":625,"final_offset":755,"validated_count":37,"validation_warnings":[{"io_id":205,"original":7667942201718210584,"validated":0}]} 
[2026-04-17 17:22:56] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035493705874931712,"timestamp_seconds":4035493705874931.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 17:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46274,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765220352001,"66":12841,"106":206,"83":41984,"24":0,"16":113326225388208128,"45":1840635272068503552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765220352001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:22:56] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:22:56] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113326225388208128,"km_value":113326225388208.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068503552,"description":"Unknown IO ID 45"} 
[2026-04-17 17:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765220352001,"power":12841,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068503552}} 
[2026-04-17 17:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":46274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:22:56] local.INFO: GPS data processed {"connection_id":46274,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:22:56] local.INFO: Acknowledgment sent {"connection_id":46274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:23:00] local.INFO: TCP Data received {"connection_id":46275,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46275,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:23:00] local.INFO: Processing buffer {"connection_id":46275,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:23:00] local.INFO: IMEI packet received {"connection_id":46275,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:23:00] local.INFO: IMEI acknowledgment sent {"connection_id":46275,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:23:01] local.INFO: TCP Data received {"connection_id":46275,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:23:01] local.INFO: Processing buffer {"connection_id":46275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:23:01] local.INFO: Packet analysis {"connection_id":46275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:23:01] local.INFO: Extracted packet for processing {"connection_id":46275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:23:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:23:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765123840001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:23:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776426566000,"timestamp_ms":1776426566000,"timestamp_seconds":1776426566,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b464170"} 
[2026-04-17 17:23:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:23:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:23:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:23:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:23:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:23:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:23:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:23:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:23:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:23:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:23:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:23:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:23:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:23:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765123840001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:23:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:23:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:23:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765123840001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:23:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:23:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:23:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:23:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:23:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765123840001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:23:01] local.INFO: DEBUG: GPS processor result {"connection_id":46275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:23:01] local.INFO: GPS data processed {"connection_id":46275,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:23:01] local.INFO: Acknowledgment sent {"connection_id":46275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:23:06] local.INFO: TCP Data received {"connection_id":46275,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46275,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:23:06] local.INFO: Processing buffer {"connection_id":46275,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:23:06] local.INFO: Packet analysis {"connection_id":46275,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:23:06] local.INFO: Extracted packet for processing {"connection_id":46275,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:23:06] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765123840001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776426566000,"timestamp_ms":1776426566000,"timestamp_seconds":1776426566,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b464170"} 
[2026-04-17 17:23:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:23:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:23:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46275,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46275,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765123840001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765123840001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:23:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:23:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765123840001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":46275,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22324,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:23:06] local.INFO: GPS data processed {"connection_id":46275,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:23:06] local.INFO: Acknowledgment sent {"connection_id":46275,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:23:21] local.INFO: TCP Data received {"connection_id":46277,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:23:21] local.INFO: Processing buffer {"connection_id":46277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:23:21] local.INFO: IMEI packet received {"connection_id":46277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":46277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:23:24] local.INFO: TCP Data received {"connection_id":46276,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:23:24] local.INFO: Processing buffer {"connection_id":46276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:23:24] local.INFO: IMEI packet received {"connection_id":46276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":46276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:23:27] local.INFO: TCP Data received {"connection_id":46277,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46277,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:23:27] local.INFO: Processing buffer {"connection_id":46277,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:23:27] local.INFO: IMEI packet received {"connection_id":46277,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":46277,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:23:28] local.INFO: TCP Data received {"connection_id":46277,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b480e60012d198b400720b298003800f426..."} 
[2026-04-17 17:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b480e60012d198b400720b298003800f426..."} 
[2026-04-17 17:23:28] local.INFO: Processing buffer {"connection_id":46277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b480e60012d198b400720b298003800f426..."} 
[2026-04-17 17:23:28] local.INFO: Packet analysis {"connection_id":46277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b48"} 
[2026-04-17 17:23:28] local.INFO: Extracted packet for processing {"connection_id":46277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b48"} 
[2026-04-17 17:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583384,"longitude_deg":75.6648768,"latitude_deg":11.9583384,"altitude":56,"angle":244,"satellites":38,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-04-17 17:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765225728001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113326225388208128,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068503552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776426684000,"timestamp_ms":1776426684000,"timestamp_seconds":1776426684,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b480e60"} 
[2026-04-17 17:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 17:23: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-04-17 17:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765225728001,"66":12809,"106":206,"83":41984,"24":0,"16":113326225388208128,"45":1840635272068503552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765225728001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:23:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:23:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113326225388208128,"km_value":113326225388208.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068503552,"description":"Unknown IO ID 45"} 
[2026-04-17 17:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765225728001,"power":12809,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068503552}} 
[2026-04-17 17:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":46277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22325,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:23:28] local.INFO: GPS data processed {"connection_id":46277,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:23:28] local.INFO: Acknowledgment sent {"connection_id":46277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:23:50] local.INFO: TCP Data received {"connection_id":45945,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:23:50] local.INFO: Processing buffer {"connection_id":45945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:23:50] local.INFO: IMEI packet received {"connection_id":45945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":45945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:23:55] local.INFO: TCP Data received {"connection_id":45945,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:23:55] local.INFO: Processing buffer {"connection_id":45945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:23:55] local.INFO: IMEI packet received {"connection_id":45945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":45945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:23:56] local.INFO: TCP Data received {"connection_id":45945,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:23:56] local.INFO: Processing buffer {"connection_id":45945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:23:56] local.INFO: Packet analysis {"connection_id":45945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:23:56] local.INFO: Extracted packet for processing {"connection_id":45945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765123840001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776426566000,"timestamp_ms":1776426566000,"timestamp_seconds":1776426566,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b464170"} 
[2026-04-17 17:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:23:56] 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-04-17 17:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765123840001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765123840001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:23:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765123840001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":45945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22326,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:23:56] local.INFO: GPS data processed {"connection_id":45945,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:23:56] local.INFO: Acknowledgment sent {"connection_id":45945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:23:59] local.INFO: TCP Data received {"connection_id":46277,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b486068012d198b400720b298003800f425..."} 
[2026-04-17 17:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b486068012d198b400720b298003800f425..."} 
[2026-04-17 17:23:59] local.INFO: Processing buffer {"connection_id":46277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b486068012d198b400720b298003800f425..."} 
[2026-04-17 17:23:59] local.INFO: Packet analysis {"connection_id":46277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b48"} 
[2026-04-17 17:23:59] local.INFO: Extracted packet for processing {"connection_id":46277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b48"} 
[2026-04-17 17:23:59] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583384,"longitude_deg":75.6648768,"latitude_deg":11.9583384,"altitude":56,"angle":244,"satellites":37,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765231104001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113326225388208128,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068503552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776426705000,"timestamp_ms":1776426705000,"timestamp_seconds":1776426705,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b486068"} 
[2026-04-17 17:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:23: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-04-17 17: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-17 17:23:59] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2605064752,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:59] local.WARNING: Large IO value detected {"io_id":155,"raw_value":5030564769289571136,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:59] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2996305976,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-17 17:23:59] local.WARNING: Large IO value detected {"io_id":50,"raw_value":8430964359366233683,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:59] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2644115456,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:59] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2356112681775199268,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:59] local.WARNING: Large IO value detected {"io_id":164,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-17 17:23:59] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,106,83,24,241,157,16,188,45,64,178,56,38,10,66,37,1,240,52,227,155,32,4,113,205,116,139,152,39,239,50,2,146,7,164,154],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-17 17:23:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4035493710169899008,"timestamp_seconds":4035493710169899.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 17:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46277,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765231104001,"66":12363,"106":206,"83":41984,"24":0,"16":113326225388208128,"45":1840635272068503552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765231104001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:23:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:23:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113326225388208128,"km_value":113326225388208.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068503552,"description":"Unknown IO ID 45"} 
[2026-04-17 17:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765231104001,"power":12363,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068503552}} 
[2026-04-17 17:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":46277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:23:59] local.INFO: GPS data processed {"connection_id":46277,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:23:59] local.INFO: Acknowledgment sent {"connection_id":46277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:24:04] local.INFO: TCP Data received {"connection_id":45946,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45946,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:24:04] local.INFO: Processing buffer {"connection_id":45946,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:24:04] local.INFO: IMEI packet received {"connection_id":45946,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":45946,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:24:22] local.INFO: TCP Data received {"connection_id":45947,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:24:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:24:22] local.INFO: Processing buffer {"connection_id":45947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:24:22] local.INFO: IMEI packet received {"connection_id":45947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:24:22] local.INFO: IMEI acknowledgment sent {"connection_id":45947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:24:26] local.INFO: TCP Data received {"connection_id":45947,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45947,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:24:26] local.INFO: Processing buffer {"connection_id":45947,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:24:26] local.INFO: IMEI packet received {"connection_id":45947,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":45947,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:24:27] local.INFO: TCP Data received {"connection_id":45947,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b48b270012d198b400720b298003800f425..."} 
[2026-04-17 17:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b48b270012d198b400720b298003800f425..."} 
[2026-04-17 17:24:27] local.INFO: Processing buffer {"connection_id":45947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b48b270012d198b400720b298003800f425..."} 
[2026-04-17 17:24:27] local.INFO: Packet analysis {"connection_id":45947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b48"} 
[2026-04-17 17:24:27] local.INFO: Extracted packet for processing {"connection_id":45947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b48"} 
[2026-04-17 17:24:27] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583384,"longitude_deg":75.6648768,"latitude_deg":11.9583384,"altitude":56,"angle":244,"satellites":37,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-04-17 17:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765236480001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113326225388208128,"note":"Value kept but may cause issues"} 
[2026-04-17 17:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068503552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776426726000,"timestamp_ms":1776426726000,"timestamp_seconds":1776426726,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b48b270"} 
[2026-04-17 17:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 17:24:27] 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-04-17 17:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765236480001,"66":12798,"106":206,"83":41984,"24":0,"16":113326225388208128,"45":1840635272068503552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765236480001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:24:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:24:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113326225388208128,"km_value":113326225388208.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068503552,"description":"Unknown IO ID 45"} 
[2026-04-17 17:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765236480001,"power":12798,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068503552}} 
[2026-04-17 17:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":45947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22328,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:24:27] local.INFO: GPS data processed {"connection_id":45947,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:24:27] local.INFO: Acknowledgment sent {"connection_id":45947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:24:27] local.INFO: TCP Data received {"connection_id":45945,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45945,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:24:27] local.INFO: Processing buffer {"connection_id":45945,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:24:27] local.INFO: Packet analysis {"connection_id":45945,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:24:27] local.INFO: Extracted packet for processing {"connection_id":45945,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765123840001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776426566000,"timestamp_ms":1776426566000,"timestamp_seconds":1776426566,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b464170"} 
[2026-04-17 17:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45945,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45945,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765123840001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765123840001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:24:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:24:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765123840001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":45945,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:24:27] local.INFO: GPS data processed {"connection_id":45945,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:24:27] local.INFO: Acknowledgment sent {"connection_id":45945,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:24:50] local.INFO: TCP Data received {"connection_id":46278,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:24:50] local.INFO: Processing buffer {"connection_id":46278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:24:50] local.INFO: IMEI packet received {"connection_id":46278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":46278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:24:55] local.INFO: TCP Data received {"connection_id":46278,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46278,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:24:55] local.INFO: Processing buffer {"connection_id":46278,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:24:55] local.INFO: IMEI packet received {"connection_id":46278,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":46278,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:24:56] local.INFO: TCP Data received {"connection_id":46278,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:24:56] local.INFO: Processing buffer {"connection_id":46278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:24:56] local.INFO: Packet analysis {"connection_id":46278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:24:56] local.INFO: Extracted packet for processing {"connection_id":46278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765123840001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776426566000,"timestamp_ms":1776426566000,"timestamp_seconds":1776426566,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b464170"} 
[2026-04-17 17:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765123840001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765123840001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:24:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765123840001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":46278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22330,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:24:56] local.INFO: GPS data processed {"connection_id":46278,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:24:56] local.INFO: Acknowledgment sent {"connection_id":46278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:24:58] local.INFO: TCP Data received {"connection_id":45947,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b490478012d198b400720b298003800f423..."} 
[2026-04-17 17:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45947,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b490478012d198b400720b298003800f423..."} 
[2026-04-17 17:24:58] local.INFO: Processing buffer {"connection_id":45947,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b490478012d198b400720b298003800f423..."} 
[2026-04-17 17:24:58] local.INFO: Packet analysis {"connection_id":45947,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b49"} 
[2026-04-17 17:24:58] local.INFO: Extracted packet for processing {"connection_id":45947,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b49"} 
[2026-04-17 17:24:58] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583384,"longitude_deg":75.6648768,"latitude_deg":11.9583384,"altitude":56,"angle":244,"satellites":35,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765241856001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113326225388208128,"note":"Value kept but may cause issues"} 
[2026-04-17 17:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068503552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:24:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776426747000,"timestamp_ms":1776426747000,"timestamp_seconds":1776426747,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b490478"} 
[2026-04-17 17:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:24:58] 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-04-17 17: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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-17 17:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":45947,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":45947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":45947,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765241856001,"66":12722,"106":206,"83":41984,"24":0,"16":113326225388208128,"45":1840635272068503552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765241856001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:24:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:24:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113326225388208128,"km_value":113326225388208.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068503552,"description":"Unknown IO ID 45"} 
[2026-04-17 17:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765241856001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068503552}} 
[2026-04-17 17:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":45947,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22331,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:24:58] local.INFO: GPS data processed {"connection_id":45947,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:24:58] local.INFO: Acknowledgment sent {"connection_id":45947,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:25:00] local.INFO: TCP Data received {"connection_id":46278,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:25:01] local.INFO: Processing buffer {"connection_id":46278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b464170012d7faac005afe1800000000922..."} 
[2026-04-17 17:25:01] local.INFO: Packet analysis {"connection_id":46278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:25:01] local.INFO: Extracted packet for processing {"connection_id":46278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b46"} 
[2026-04-17 17:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":34,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765123840001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776426566000,"timestamp_ms":1776426566000,"timestamp_seconds":1776426566,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b464170"} 
[2026-04-17 17:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:25:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765123840001,"66":25397,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765123840001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:25:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:25:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765123840001,"power":25397,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":46278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22332,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:25:01] local.INFO: GPS data processed {"connection_id":46278,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:25:01] local.INFO: Acknowledgment sent {"connection_id":46278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:25:21] local.INFO: TCP Data received {"connection_id":45948,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:25:21] local.INFO: Processing buffer {"connection_id":45948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:25:21] local.INFO: IMEI packet received {"connection_id":45948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":45948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:25:26] local.INFO: TCP Data received {"connection_id":45948,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45948,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:25:26] local.INFO: Processing buffer {"connection_id":45948,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:25:26] local.INFO: IMEI packet received {"connection_id":45948,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":45948,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:25:27] local.INFO: TCP Data received {"connection_id":45948,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b495680012d198b400720b298003800f426..."} 
[2026-04-17 17:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b495680012d198b400720b298003800f426..."} 
[2026-04-17 17:25:27] local.INFO: Processing buffer {"connection_id":45948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b495680012d198b400720b298003800f426..."} 
[2026-04-17 17:25:27] local.INFO: Packet analysis {"connection_id":45948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b49"} 
[2026-04-17 17:25:27] local.INFO: Extracted packet for processing {"connection_id":45948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b49"} 
[2026-04-17 17:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583384,"longitude_deg":75.6648768,"latitude_deg":11.9583384,"altitude":56,"angle":244,"satellites":38,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-04-17 17:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765247232001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113326225388208128,"note":"Value kept but may cause issues"} 
[2026-04-17 17:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068503552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776426768000,"timestamp_ms":1776426768000,"timestamp_seconds":1776426768,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b495680"} 
[2026-04-17 17:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 17:25:27] 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-04-17 17:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765247232001,"66":12722,"106":206,"83":41984,"24":0,"16":113326225388208128,"45":1840635272068503552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765247232001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:25:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:25:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113326225388208128,"km_value":113326225388208.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068503552,"description":"Unknown IO ID 45"} 
[2026-04-17 17:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765247232001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068503552}} 
[2026-04-17 17:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":45948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22333,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:25:27] local.INFO: GPS data processed {"connection_id":45948,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:25:27] local.INFO: Acknowledgment sent {"connection_id":45948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:25:31] local.INFO: TCP Data received {"connection_id":46278,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:25:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46278,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:25:31] local.INFO: Processing buffer {"connection_id":46278,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:25:31] local.INFO: Packet analysis {"connection_id":46278,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:25:31] local.INFO: Extracted packet for processing {"connection_id":46278,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:25:31] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:25:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765200896001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:25:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:25:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:25:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:25:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776426867000,"timestamp_ms":1776426867000,"timestamp_seconds":1776426867,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4ad938"} 
[2026-04-17 17:25:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:25:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:25:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:25:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:25:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:25:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:25:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:25:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46278,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:25:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:25:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46278,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:25:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:25:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:25:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:25:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765200896001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:25:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:25:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:25:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765200896001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:25:31] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:25:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:25:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:25:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:25:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765200896001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:25:31] local.INFO: DEBUG: GPS processor result {"connection_id":46278,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22334,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:25:31] local.INFO: GPS data processed {"connection_id":46278,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:25:31] local.INFO: Acknowledgment sent {"connection_id":46278,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:25:50] local.INFO: TCP Data received {"connection_id":46050,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:25:50] local.INFO: Processing buffer {"connection_id":46050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:25:50] local.INFO: IMEI packet received {"connection_id":46050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":46050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:25:55] local.INFO: TCP Data received {"connection_id":46050,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:25:55] local.INFO: Processing buffer {"connection_id":46050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:25:55] local.INFO: IMEI packet received {"connection_id":46050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":46050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:25:56] local.INFO: TCP Data received {"connection_id":46050,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:25:56] local.INFO: Processing buffer {"connection_id":46050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:25:56] local.INFO: Packet analysis {"connection_id":46050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:25:56] local.INFO: Extracted packet for processing {"connection_id":46050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 17:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765200896001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776426867000,"timestamp_ms":1776426867000,"timestamp_seconds":1776426867,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4ad938"} 
[2026-04-17 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-04-17 17:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 17:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765200896001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765200896001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:25:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765200896001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":46050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22335,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:25:56] local.INFO: GPS data processed {"connection_id":46050,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:25:56] local.INFO: Acknowledgment sent {"connection_id":46050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:25:59] local.INFO: TCP Data received {"connection_id":45948,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b49a888012d198b400720b298003800f428..."} 
[2026-04-17 17:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45948,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b49a888012d198b400720b298003800f428..."} 
[2026-04-17 17:25:59] local.INFO: Processing buffer {"connection_id":45948,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b49a888012d198b400720b298003800f428..."} 
[2026-04-17 17:25:59] local.INFO: Packet analysis {"connection_id":45948,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b49"} 
[2026-04-17 17:25:59] local.INFO: Extracted packet for processing {"connection_id":45948,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b49"} 
[2026-04-17 17:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583384,"longitude_deg":75.6648768,"latitude_deg":11.9583384,"altitude":56,"angle":244,"satellites":40,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765252608001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113326225388208128,"note":"Value kept but may cause issues"} 
[2026-04-17 17:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068503552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:25:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776426789000,"timestamp_ms":1776426789000,"timestamp_seconds":1776426789,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b49a888"} 
[2026-04-17 17:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:25: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-04-17 17: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 17:25:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45948,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45948,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765252608001,"66":12722,"106":206,"83":41984,"24":0,"16":113326225388208128,"45":1840635272068503552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765252608001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:25:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:25:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113326225388208128,"km_value":113326225388208.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068503552,"description":"Unknown IO ID 45"} 
[2026-04-17 17:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765252608001,"power":12722,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068503552}} 
[2026-04-17 17:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":45948,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22336,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:25:59] local.INFO: GPS data processed {"connection_id":45948,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:25:59] local.INFO: Acknowledgment sent {"connection_id":45948,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:26:21] local.INFO: TCP Data received {"connection_id":46806,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:26:21] local.INFO: Processing buffer {"connection_id":46806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:26:21] local.INFO: IMEI packet received {"connection_id":46806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":46806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:26:26] local.INFO: TCP Data received {"connection_id":46806,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46806,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:26:26] local.INFO: Processing buffer {"connection_id":46806,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:26:26] local.INFO: IMEI packet received {"connection_id":46806,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":46806,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:26:27] local.INFO: TCP Data received {"connection_id":46806,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b49fa90012d198b400720b298003800f425..."} 
[2026-04-17 17:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b49fa90012d198b400720b298003800f425..."} 
[2026-04-17 17:26:27] local.INFO: Processing buffer {"connection_id":46806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b49fa90012d198b400720b298003800f425..."} 
[2026-04-17 17:26:27] local.INFO: Packet analysis {"connection_id":46806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b49"} 
[2026-04-17 17:26:27] local.INFO: Extracted packet for processing {"connection_id":46806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b49"} 
[2026-04-17 17:26:27] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583384,"longitude_deg":75.6648768,"latitude_deg":11.9583384,"altitude":56,"angle":244,"satellites":37,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-04-17 17:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765257984001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113326225388208128,"note":"Value kept but may cause issues"} 
[2026-04-17 17:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068503552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776426810000,"timestamp_ms":1776426810000,"timestamp_seconds":1776426810,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b49fa90"} 
[2026-04-17 17:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 17:26:27] 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-04-17 17:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765257984001,"66":12689,"106":206,"83":41984,"24":0,"16":113326225388208128,"45":1840635272068503552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765257984001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:26:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:26:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113326225388208128,"km_value":113326225388208.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068503552,"description":"Unknown IO ID 45"} 
[2026-04-17 17:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765257984001,"power":12689,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068503552}} 
[2026-04-17 17:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":46806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22337,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:26:27] local.INFO: GPS data processed {"connection_id":46806,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:26:27] local.INFO: Acknowledgment sent {"connection_id":46806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:26:28] local.INFO: TCP Data received {"connection_id":46050,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:26:28] local.INFO: Processing buffer {"connection_id":46050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:26:28] local.INFO: Packet analysis {"connection_id":46050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:26:28] local.INFO: Extracted packet for processing {"connection_id":46050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:26:28] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765200896001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:26:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776426867000,"timestamp_ms":1776426867000,"timestamp_seconds":1776426867,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4ad938"} 
[2026-04-17 17:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:26:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:26: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-04-17 17: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-04-17 17:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765200896001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765200896001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:26:28] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:26:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765200896001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":46050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22338,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:26:28] local.INFO: GPS data processed {"connection_id":46050,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:26:28] local.INFO: Acknowledgment sent {"connection_id":46050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:26:55] local.INFO: TCP Data received {"connection_id":45949,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:26:55] local.INFO: Processing buffer {"connection_id":45949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:26:55] local.INFO: IMEI packet received {"connection_id":45949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":45949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:26:58] local.INFO: TCP Data received {"connection_id":46806,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4a4c98012d198b400720b298003800f427..."} 
[2026-04-17 17:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46806,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4a4c98012d198b400720b298003800f427..."} 
[2026-04-17 17:26:58] local.INFO: Processing buffer {"connection_id":46806,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4a4c98012d198b400720b298003800f427..."} 
[2026-04-17 17:26:58] local.INFO: Packet analysis {"connection_id":46806,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:26:58] local.INFO: Extracted packet for processing {"connection_id":46806,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:26:58] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583384,"longitude_deg":75.6648768,"latitude_deg":11.9583384,"altitude":56,"angle":244,"satellites":39,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-04-17 17:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765263360001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113326225388208128,"note":"Value kept but may cause issues"} 
[2026-04-17 17:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068503552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:26:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776426831000,"timestamp_ms":1776426831000,"timestamp_seconds":1776426831,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4a4c98"} 
[2026-04-17 17:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:26: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-04-17 17:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-17 17:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:26:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46806,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46806,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765263360001,"66":12689,"106":206,"83":41984,"24":0,"16":113326225388208128,"45":1840635272068503552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765263360001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:26:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:26:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113326225388208128,"km_value":113326225388208.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068503552,"description":"Unknown IO ID 45"} 
[2026-04-17 17:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765263360001,"power":12689,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068503552}} 
[2026-04-17 17:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":46806,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22339,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:26:58] local.INFO: GPS data processed {"connection_id":46806,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:26:58] local.INFO: Acknowledgment sent {"connection_id":46806,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:27:00] local.INFO: TCP Data received {"connection_id":45949,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45949,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:27:00] local.INFO: Processing buffer {"connection_id":45949,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:27:00] local.INFO: IMEI packet received {"connection_id":45949,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:27:00] local.INFO: IMEI acknowledgment sent {"connection_id":45949,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:27:01] local.INFO: TCP Data received {"connection_id":45949,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:27:01] local.INFO: Processing buffer {"connection_id":45949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:27:01] local.INFO: Packet analysis {"connection_id":45949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:27:01] local.INFO: Extracted packet for processing {"connection_id":45949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:27:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765200896001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776426867000,"timestamp_ms":1776426867000,"timestamp_seconds":1776426867,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4ad938"} 
[2026-04-17 17:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:27:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:27: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-04-17 17:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765200896001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765200896001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:27:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:27:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765200896001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":45949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22340,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:27:01] local.INFO: GPS data processed {"connection_id":45949,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:27:01] local.INFO: Acknowledgment sent {"connection_id":45949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:27:05] local.INFO: TCP Data received {"connection_id":45949,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:27:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:27:05] local.INFO: Processing buffer {"connection_id":45949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:27:05] local.INFO: Packet analysis {"connection_id":45949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:27:05] local.INFO: Extracted packet for processing {"connection_id":45949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:27:05] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:27:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765200896001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:27:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:27:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:27:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:27:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776426867000,"timestamp_ms":1776426867000,"timestamp_seconds":1776426867,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4ad938"} 
[2026-04-17 17:27:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:27:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:27:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:27:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:27:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:27:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:27:05] local.INFO: Teltonika packet parsed successfully {"connection_id":45949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:27:05] local.INFO: Passing IMEI to GPS processor {"connection_id":45949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:27:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":45949,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:27:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:27:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:27:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:27:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765200896001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:27:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:27:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:27:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765200896001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:27:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:27:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:27:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:27:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:27:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765200896001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:27:05] local.INFO: DEBUG: GPS processor result {"connection_id":45949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:27:05] local.INFO: GPS data processed {"connection_id":45949,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:27:05] local.INFO: Acknowledgment sent {"connection_id":45949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:27:26] local.INFO: TCP Data received {"connection_id":46280,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:27:26] local.INFO: Processing buffer {"connection_id":46280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:27:26] local.INFO: IMEI packet received {"connection_id":46280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":46280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:27:31] local.INFO: TCP Data received {"connection_id":46280,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:27:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46280,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:27:31] local.INFO: Processing buffer {"connection_id":46280,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:27:31] local.INFO: IMEI packet received {"connection_id":46280,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:27:31] local.INFO: IMEI acknowledgment sent {"connection_id":46280,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:27:32] local.INFO: TCP Data received {"connection_id":46280,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4a9ea0012d198b400720b298003800f427..."} 
[2026-04-17 17:27:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4a9ea0012d198b400720b298003800f427..."} 
[2026-04-17 17:27:32] local.INFO: Processing buffer {"connection_id":46280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4a9ea0012d198b400720b298003800f427..."} 
[2026-04-17 17:27:32] local.INFO: Packet analysis {"connection_id":46280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:27:32] local.INFO: Extracted packet for processing {"connection_id":46280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:27:32] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583384,"longitude_deg":75.6648768,"latitude_deg":11.9583384,"altitude":56,"angle":244,"satellites":39,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-04-17 17:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:27:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765268736001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:27:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113326225388208128,"note":"Value kept but may cause issues"} 
[2026-04-17 17:27:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068503552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:27:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:27:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776426852000,"timestamp_ms":1776426852000,"timestamp_seconds":1776426852,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4a9ea0"} 
[2026-04-17 17:27:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:27:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18432,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:27:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-17 17:27:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:27:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:27:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:27:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:27:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:27:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:27:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:27:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:27:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:27:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:27:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765268736001,"66":12678,"106":206,"83":41984,"24":0,"16":113326225388208128,"45":1840635272068503552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:27:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:27:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:27:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765268736001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:27:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:27:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:27:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113326225388208128,"km_value":113326225388208.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:27:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068503552,"description":"Unknown IO ID 45"} 
[2026-04-17 17:27:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765268736001,"power":12678,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068503552}} 
[2026-04-17 17:27:32] local.INFO: DEBUG: GPS processor result {"connection_id":46280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:27:32] local.INFO: GPS data processed {"connection_id":46280,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:27:32] local.INFO: Acknowledgment sent {"connection_id":46280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:27:37] local.INFO: TCP Data received {"connection_id":46280,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4af0a8012d198b400720b298003800f427..."} 
[2026-04-17 17:27:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46280,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4af0a8012d198b400720b298003800f427..."} 
[2026-04-17 17:27:37] local.INFO: Processing buffer {"connection_id":46280,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4af0a8012d198b400720b298003800f427..."} 
[2026-04-17 17:27:37] local.INFO: Packet analysis {"connection_id":46280,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:27:37] local.INFO: Extracted packet for processing {"connection_id":46280,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:27:37] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583384,"longitude_deg":75.6648768,"latitude_deg":11.9583384,"altitude":56,"angle":244,"satellites":39,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-04-17 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-04-17 17:27:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765274112001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:27:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113326225388208128,"note":"Value kept but may cause issues"} 
[2026-04-17 17:27:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068503552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:27:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:27:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776426873000,"timestamp_ms":1776426873000,"timestamp_seconds":1776426873,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4af0a8"} 
[2026-04-17 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-04-17 17:27: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-04-17 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":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-17 17:27:37] 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-04-17 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-04-17 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-04-17 17:27:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:27:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46280,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:27:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:27:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46280,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:27:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:27:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:27:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:27:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765274112001,"66":12667,"106":206,"83":41984,"24":0,"16":113326225388208128,"45":1840635272068503552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:27:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:27:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:27:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765274112001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:27:37] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:27:37] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:27:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113326225388208128,"km_value":113326225388208.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:27:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068503552,"description":"Unknown IO ID 45"} 
[2026-04-17 17:27:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765274112001,"power":12667,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068503552}} 
[2026-04-17 17:27:37] local.INFO: DEBUG: GPS processor result {"connection_id":46280,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22343,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:27:37] local.INFO: GPS data processed {"connection_id":46280,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:27:37] local.INFO: Acknowledgment sent {"connection_id":46280,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:27:50] local.INFO: TCP Data received {"connection_id":46281,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:27:50] local.INFO: Processing buffer {"connection_id":46281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:27:50] local.INFO: IMEI packet received {"connection_id":46281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":46281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:27:55] local.INFO: TCP Data received {"connection_id":46281,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46281,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:27:55] local.INFO: Processing buffer {"connection_id":46281,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:27:55] local.INFO: IMEI packet received {"connection_id":46281,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":46281,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:27:56] local.INFO: TCP Data received {"connection_id":46281,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:27:56] local.INFO: Processing buffer {"connection_id":46281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:27:56] local.INFO: Packet analysis {"connection_id":46281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:27:56] local.INFO: Extracted packet for processing {"connection_id":46281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765200896001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776426867000,"timestamp_ms":1776426867000,"timestamp_seconds":1776426867,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4ad938"} 
[2026-04-17 17:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:27:56] 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-04-17 17:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765200896001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765200896001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:27:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765200896001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":46281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22344,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:27:56] local.INFO: GPS data processed {"connection_id":46281,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:27:56] local.INFO: Acknowledgment sent {"connection_id":46281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:28:21] local.INFO: TCP Data received {"connection_id":46807,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:28:21] local.INFO: Processing buffer {"connection_id":46807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:28:21] local.INFO: IMEI packet received {"connection_id":46807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":46807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:28:21] local.INFO: TCP Data received {"connection_id":46807,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:28:21] local.INFO: Processing buffer {"connection_id":46807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:28:21] local.INFO: IMEI packet received {"connection_id":46807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":46807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:28:26] local.INFO: TCP Data received {"connection_id":46807,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46807,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:28:26] local.INFO: Processing buffer {"connection_id":46807,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:28:26] local.INFO: IMEI packet received {"connection_id":46807,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":46807,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:28:27] local.INFO: TCP Data received {"connection_id":46281,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:28:27] local.INFO: Processing buffer {"connection_id":46281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:28:27] local.INFO: Packet analysis {"connection_id":46281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:28:27] local.INFO: Extracted packet for processing {"connection_id":46281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:28:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765200896001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776426867000,"timestamp_ms":1776426867000,"timestamp_seconds":1776426867,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4ad938"} 
[2026-04-17 17:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46281,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765200896001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765200896001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:28:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:28:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765200896001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":46281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:28:27] local.INFO: GPS data processed {"connection_id":46281,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:28:27] local.INFO: Acknowledgment sent {"connection_id":46281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:28:27] local.INFO: TCP Data received {"connection_id":46807,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4b42b0012d198b400720b298003800f425..."} 
[2026-04-17 17:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4b42b0012d198b400720b298003800f425..."} 
[2026-04-17 17:28:27] local.INFO: Processing buffer {"connection_id":46807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4b42b0012d198b400720b298003800f425..."} 
[2026-04-17 17:28:27] local.INFO: Packet analysis {"connection_id":46807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4b"} 
[2026-04-17 17:28:27] local.INFO: Extracted packet for processing {"connection_id":46807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4b"} 
[2026-04-17 17:28:27] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583384,"longitude_deg":75.6648768,"latitude_deg":11.9583384,"altitude":56,"angle":244,"satellites":37,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765279488001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113326225388208128,"note":"Value kept but may cause issues"} 
[2026-04-17 17:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068503552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776426894000,"timestamp_ms":1776426894000,"timestamp_seconds":1776426894,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4b42b0"} 
[2026-04-17 17:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17: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":49,"n8_eight_byte":123,"data_length":795,"current_offset":136} 
[2026-04-17 17:28:27] 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-04-17 17: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-04-17 17:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765279488001,"66":12645,"106":206,"83":41984,"24":0,"16":113326225388208128,"45":1840635272068503552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765279488001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:28:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:28:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113326225388208128,"km_value":113326225388208.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068503552,"description":"Unknown IO ID 45"} 
[2026-04-17 17:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765279488001,"power":12645,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068503552}} 
[2026-04-17 17:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":46807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:28:27] local.INFO: GPS data processed {"connection_id":46807,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:28:27] local.INFO: Acknowledgment sent {"connection_id":46807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:28:50] local.INFO: TCP Data received {"connection_id":46808,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:28:50] local.INFO: Processing buffer {"connection_id":46808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:28:50] local.INFO: IMEI packet received {"connection_id":46808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":46808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:28:55] local.INFO: TCP Data received {"connection_id":46808,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46808,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:28:55] local.INFO: Processing buffer {"connection_id":46808,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:28:55] local.INFO: IMEI packet received {"connection_id":46808,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":46808,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:28:56] local.INFO: TCP Data received {"connection_id":46808,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:28:56] local.INFO: Processing buffer {"connection_id":46808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:28:56] local.INFO: Packet analysis {"connection_id":46808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:28:56] local.INFO: Extracted packet for processing {"connection_id":46808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765200896001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776426867000,"timestamp_ms":1776426867000,"timestamp_seconds":1776426867,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4ad938"} 
[2026-04-17 17:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:28:56] 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-04-17 17:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765200896001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765200896001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:28:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765200896001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":46808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22347,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:28:56] local.INFO: GPS data processed {"connection_id":46808,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:28:56] local.INFO: Acknowledgment sent {"connection_id":46808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:28:58] local.INFO: TCP Data received {"connection_id":46807,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4b94b8012d198b400720b298003800f427..."} 
[2026-04-17 17:28:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46807,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4b94b8012d198b400720b298003800f427..."} 
[2026-04-17 17:28:58] local.INFO: Processing buffer {"connection_id":46807,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4b94b8012d198b400720b298003800f427..."} 
[2026-04-17 17:28:58] local.INFO: Packet analysis {"connection_id":46807,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4b"} 
[2026-04-17 17:28:58] local.INFO: Extracted packet for processing {"connection_id":46807,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4b"} 
[2026-04-17 17:28:58] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583384,"longitude_deg":75.6648768,"latitude_deg":11.9583384,"altitude":56,"angle":244,"satellites":39,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:28:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765284864001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:28:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113326225388208128,"note":"Value kept but may cause issues"} 
[2026-04-17 17:28:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068503552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:28:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:28:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776426915000,"timestamp_ms":1776426915000,"timestamp_seconds":1776426915,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4b94b8"} 
[2026-04-17 17:28:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:28: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-04-17 17: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":49,"n8_eight_byte":101,"data_length":795,"current_offset":136} 
[2026-04-17 17:28:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1352,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:28:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:28:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:28:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46807,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:28:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:28:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46807,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:28:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:28:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:28:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:28:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765284864001,"66":12591,"106":206,"83":41984,"24":0,"16":113326225388208128,"45":1840635272068503552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:28:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:28:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:28:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765284864001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:28:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:28:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:28:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113326225388208128,"km_value":113326225388208.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:28:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068503552,"description":"Unknown IO ID 45"} 
[2026-04-17 17:28:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765284864001,"power":12591,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068503552}} 
[2026-04-17 17:28:58] local.INFO: DEBUG: GPS processor result {"connection_id":46807,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22348,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:28:58] local.INFO: GPS data processed {"connection_id":46807,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:28:58] local.INFO: Acknowledgment sent {"connection_id":46807,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:29:21] local.INFO: TCP Data received {"connection_id":46282,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:29:21] local.INFO: Processing buffer {"connection_id":46282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:29:21] local.INFO: IMEI packet received {"connection_id":46282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":46282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:29:26] local.INFO: TCP Data received {"connection_id":46282,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46282,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:29:26] local.INFO: Processing buffer {"connection_id":46282,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:29:26] local.INFO: IMEI packet received {"connection_id":46282,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":46282,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:29:27] local.INFO: TCP Data received {"connection_id":46282,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4be6c0012d198b400720b298003800f427..."} 
[2026-04-17 17:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4be6c0012d198b400720b298003800f427..."} 
[2026-04-17 17:29:27] local.INFO: Processing buffer {"connection_id":46282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4be6c0012d198b400720b298003800f427..."} 
[2026-04-17 17:29:27] local.INFO: Packet analysis {"connection_id":46282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4b"} 
[2026-04-17 17:29:27] local.INFO: Extracted packet for processing {"connection_id":46282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4b"} 
[2026-04-17 17:29:27] local.INFO: GPS Element Parsed {"raw_longitude":756648768,"raw_latitude":119583384,"longitude_deg":75.6648768,"latitude_deg":11.9583384,"altitude":56,"angle":244,"satellites":39,"speed":0,"hex_longitude":"2d198b40","hex_latitude":"0720b298","is_valid_coordinates":true} 
[2026-04-17 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-04-17 17:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765290240001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113326225388208128,"note":"Value kept but may cause issues"} 
[2026-04-17 17:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1840635272068503552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776426936000,"timestamp_ms":1776426936000,"timestamp_seconds":1776426936,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4be6c0"} 
[2026-04-17 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-04-17 17:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 17:29:27] 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-04-17 17:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 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-04-17 17:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765290240001,"66":12602,"106":206,"83":41984,"24":0,"16":113326225388208128,"45":1840635272068503552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765290240001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:29:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:29:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113326225388208128,"km_value":113326225388208.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1840635272068503552,"description":"Unknown IO ID 45"} 
[2026-04-17 17:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765290240001,"power":12602,"unknown_106":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1840635272068503552}} 
[2026-04-17 17:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":46282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22349,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:29:27] local.INFO: GPS data processed {"connection_id":46282,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:29:27] local.INFO: Acknowledgment sent {"connection_id":46282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:29:28] local.INFO: TCP Data received {"connection_id":46808,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46808,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:29:28] local.INFO: Processing buffer {"connection_id":46808,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:29:28] local.INFO: Packet analysis {"connection_id":46808,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:29:28] local.INFO: Extracted packet for processing {"connection_id":46808,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:29:28] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:29:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765200896001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:29:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:29:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:29:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:29:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776426867000,"timestamp_ms":1776426867000,"timestamp_seconds":1776426867,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4ad938"} 
[2026-04-17 17:29:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:29:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:29:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:29: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-04-17 17:29:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:29:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:29:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:29:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46808,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:29:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:29:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46808,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:29:28] 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-04-17 17:29:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:29:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:29:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765200896001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:29:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:29:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:29:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765200896001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:29:28] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:29:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:29:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:29:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:29:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765200896001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:29:28] local.INFO: DEBUG: GPS processor result {"connection_id":46808,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22350,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:29:28] local.INFO: GPS data processed {"connection_id":46808,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:29:28] local.INFO: Acknowledgment sent {"connection_id":46808,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:29:29] local.INFO: TCP Data received {"connection_id":46052,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46052,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:29:29] local.INFO: Processing buffer {"connection_id":46052,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:29:29] local.INFO: IMEI packet received {"connection_id":46052,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":46052,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:29:50] local.INFO: TCP Data received {"connection_id":46809,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:29:50] local.INFO: Processing buffer {"connection_id":46809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:29:50] local.INFO: IMEI packet received {"connection_id":46809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":46809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:29:55] local.INFO: TCP Data received {"connection_id":46809,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46809,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:29:55] local.INFO: Processing buffer {"connection_id":46809,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:29:55] local.INFO: IMEI packet received {"connection_id":46809,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":46809,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:29:56] local.INFO: TCP Data received {"connection_id":46809,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:29:56] local.INFO: Processing buffer {"connection_id":46809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4ad938012d7faac005afe1800000000928..."} 
[2026-04-17 17:29:56] local.INFO: Packet analysis {"connection_id":46809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:29:56] local.INFO: Extracted packet for processing {"connection_id":46809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4a"} 
[2026-04-17 17:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765200896001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776426867000,"timestamp_ms":1776426867000,"timestamp_seconds":1776426867,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4ad938"} 
[2026-04-17 17:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 17:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:29:56] 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-04-17 17:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765200896001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765200896001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:29:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765200896001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":46809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:29:56] local.INFO: GPS data processed {"connection_id":46809,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:29:56] local.INFO: Acknowledgment sent {"connection_id":46809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:29:58] local.INFO: TCP Data received {"connection_id":46282,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4f1b10012d1944800720ae100033012229..."} 
[2026-04-17 17:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4f1b10012d1944800720ae100033012229..."} 
[2026-04-17 17:29:58] local.INFO: Processing buffer {"connection_id":46282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4f1b10012d1944800720ae100033012229..."} 
[2026-04-17 17:29:58] local.INFO: Packet analysis {"connection_id":46282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:29:58] local.INFO: Extracted packet for processing {"connection_id":46282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:29:58] local.INFO: GPS Element Parsed {"raw_longitude":756630656,"raw_latitude":119582224,"longitude_deg":75.6630656,"latitude_deg":11.9582224,"altitude":51,"angle":290,"satellites":41,"speed":33,"hex_longitude":"2d194480","hex_latitude":"0720ae10","is_valid_coordinates":true} 
[2026-04-17 17:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765348352001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113327110151471104,"note":"Value kept but may cause issues"} 
[2026-04-17 17:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824380092162951168,"note":"Value kept but may cause issues"} 
[2026-04-17 17:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776427146000,"timestamp_ms":1776427146000,"timestamp_seconds":1776427146,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4f1b10"} 
[2026-04-17 17:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:29: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-04-17 17:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-17 17:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46282,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765348352001,"66":13472,"106":206,"83":41984,"24":33,"16":113327110151471104,"45":1824380092162951168},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765348352001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:29:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:29:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113327110151471104,"km_value":113327110151471.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824380092162951168,"description":"Unknown IO ID 45"} 
[2026-04-17 17:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765348352001,"power":13472,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1824380092162951168}} 
[2026-04-17 17:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":46282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:29:58] local.INFO: GPS data processed {"connection_id":46282,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:29:58] local.INFO: Acknowledgment sent {"connection_id":46282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:30:08] local.INFO: TCP Data received {"connection_id":46810,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:30:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46810,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:30:08] local.INFO: Processing buffer {"connection_id":46810,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:30:08] local.INFO: IMEI packet received {"connection_id":46810,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:30:08] local.INFO: IMEI acknowledgment sent {"connection_id":46810,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:30:21] local.INFO: TCP Data received {"connection_id":45951,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:30:21] local.INFO: Processing buffer {"connection_id":45951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:30:21] local.INFO: IMEI packet received {"connection_id":45951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":45951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:30:22] local.INFO: TCP Data received {"connection_id":45951,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:30:22] local.INFO: Processing buffer {"connection_id":45951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:30:22] local.INFO: IMEI packet received {"connection_id":45951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":45951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:30:26] local.INFO: TCP Data received {"connection_id":45951,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:30:26] local.INFO: Processing buffer {"connection_id":45951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:30:26] local.INFO: IMEI packet received {"connection_id":45951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":45951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:30:26] local.INFO: TCP Data received {"connection_id":45951,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45951,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:30:26] local.INFO: Processing buffer {"connection_id":45951,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:30:26] local.INFO: IMEI packet received {"connection_id":45951,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":45951,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:30:27] local.INFO: TCP Data received {"connection_id":46809,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46809,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:30:27] local.INFO: Processing buffer {"connection_id":46809,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:30:27] local.INFO: Packet analysis {"connection_id":46809,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:30:27] local.INFO: Extracted packet for processing {"connection_id":46809,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765277952001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776427168000,"timestamp_ms":1776427168000,"timestamp_seconds":1776427168,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4f7100"} 
[2026-04-17 17:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46809,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46809,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765277952001,"66":25343,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765277952001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:30:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765277952001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":46809,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:30:27] local.INFO: GPS data processed {"connection_id":46809,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:30:27] local.INFO: Acknowledgment sent {"connection_id":46809,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:30:27] local.INFO: TCP Data received {"connection_id":45951,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4f26c8012d193b800720b2800032012e2a..."} 
[2026-04-17 17:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4f26c8012d193b800720b2800032012e2a..."} 
[2026-04-17 17:30:27] local.INFO: Processing buffer {"connection_id":45951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4f26c8012d193b800720b2800032012e2a..."} 
[2026-04-17 17:30:27] local.INFO: Packet analysis {"connection_id":45951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:30:27] local.INFO: Extracted packet for processing {"connection_id":45951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756628352,"raw_latitude":119583360,"longitude_deg":75.6628352,"latitude_deg":11.958336,"altitude":50,"angle":302,"satellites":42,"speed":34,"hex_longitude":"2d193b80","hex_latitude":"0720b280","is_valid_coordinates":true} 
[2026-04-17 17:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765349376001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113327230410555392,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1820720917465927680,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776427149000,"timestamp_ms":1776427149000,"timestamp_seconds":1776427149,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4f26c8"} 
[2026-04-17 17:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-17 17:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765349376001,"66":14341,"106":206,"83":41984,"24":34,"16":113327230410555392,"45":1820720917465927680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765349376001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:30:27] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:30:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113327230410555392,"km_value":113327230410555.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1820720917465927680,"description":"Unknown IO ID 45"} 
[2026-04-17 17:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765349376001,"power":14341,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1820720917465927680}} 
[2026-04-17 17:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":45951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:30:27] local.INFO: GPS data processed {"connection_id":45951,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:30:27] local.INFO: Acknowledgment sent {"connection_id":45951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:30:28] local.INFO: TCP Data received {"connection_id":45951,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4f3e38012d1927c00720bd10003101212a..."} 
[2026-04-17 17:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4f3e38012d1927c00720bd10003101212a..."} 
[2026-04-17 17:30:28] local.INFO: Processing buffer {"connection_id":45951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4f3e38012d1927c00720bd10003101212a..."} 
[2026-04-17 17:30:28] local.INFO: Packet analysis {"connection_id":45951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:30:28] local.INFO: Extracted packet for processing {"connection_id":45951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756623296,"raw_latitude":119586064,"longitude_deg":75.6623296,"latitude_deg":11.9586064,"altitude":49,"angle":289,"satellites":42,"speed":38,"hex_longitude":"2d1927c0","hex_latitude":"0720bd10","is_valid_coordinates":true} 
[2026-04-17 17:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765350144001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113327505288462336,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1818187642675822592,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776427155000,"timestamp_ms":1776427155000,"timestamp_seconds":1776427155,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4f3e38"} 
[2026-04-17 17:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:30:28] 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-04-17 17:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 17:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6939168417,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2605623752,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":16326833515528704,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:28] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505328848601088,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:28] local.WARNING: Large IO value detected {"io_id":32,"raw_value":2917662776,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-17 17:30:28] local.WARNING: Large IO value detected {"io_id":177,"raw_value":2550213913,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:28] local.WARNING: Large IO value detected {"io_id":55,"raw_value":2197867882,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:28] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2644574208,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:28] local.WARNING: Large IO value detected {"io_id":248,"raw_value":84752053855264946,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:28] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,106,83,24,241,157,16,158,27,45,128,174,51,41,10,66,11,170,52,240,1,227,155,32,4,113,205,31,177,137,48,40,239,55,2,146,7,58,3,206,248],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-17 17:30:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603211934798839808,"timestamp_seconds":3603211934798840.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 17:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765350144001,"66":14298,"106":206,"83":41984,"24":38,"16":113327505288462336,"45":1818187642675822592},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765350144001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:30:28] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:30:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113327505288462336,"km_value":113327505288462.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1818187642675822592,"description":"Unknown IO ID 45"} 
[2026-04-17 17:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765350144001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1818187642675822592}} 
[2026-04-17 17:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":45951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22355,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:30:28] local.INFO: GPS data processed {"connection_id":45951,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:30:28] local.INFO: Acknowledgment sent {"connection_id":45951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:30:55] local.INFO: TCP Data received {"connection_id":46811,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:30:55] local.INFO: Processing buffer {"connection_id":46811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:30:55] local.INFO: IMEI packet received {"connection_id":46811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":46811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:30:59] local.INFO: TCP Data received {"connection_id":45951,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4f5d78012d190cc00720c8000032012c29..."} 
[2026-04-17 17:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4f5d78012d190cc00720c8000032012c29..."} 
[2026-04-17 17:30:59] local.INFO: Processing buffer {"connection_id":45951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4f5d78012d190cc00720c8000032012c29..."} 
[2026-04-17 17:30:59] local.INFO: Packet analysis {"connection_id":45951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:30:59] local.INFO: Extracted packet for processing {"connection_id":45951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:30:59] local.INFO: GPS Element Parsed {"raw_longitude":756616384,"raw_latitude":119588864,"longitude_deg":75.6616384,"latitude_deg":11.9588864,"altitude":50,"angle":300,"satellites":41,"speed":31,"hex_longitude":"2d190cc0","hex_latitude":"0720c800","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765351680001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113327861770747904,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1812628511886479360,"note":"Value kept but may cause issues"} 
[2026-04-17 17:30:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776427163000,"timestamp_ms":1776427163000,"timestamp_seconds":1776427163,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4f5d78"} 
[2026-04-17 17:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:30:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-17 17:30:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45951,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765351680001,"66":14298,"106":206,"83":41984,"24":31,"16":113327861770747904,"45":1812628511886479360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765351680001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:30:59] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:30:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113327861770747904,"km_value":113327861770747.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1812628511886479360,"description":"Unknown IO ID 45"} 
[2026-04-17 17:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765351680001,"power":14298,"unknown_106":206,"unknown_83":41984,"ignition":31,"odometer":null,"unknown_45":1812628511886479360}} 
[2026-04-17 17:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":45951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:30:59] local.INFO: GPS data processed {"connection_id":45951,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:30:59] local.INFO: Acknowledgment sent {"connection_id":45951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:31:00] local.INFO: TCP Data received {"connection_id":46811,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46811,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:31:00] local.INFO: Processing buffer {"connection_id":46811,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:31:00] local.INFO: IMEI packet received {"connection_id":46811,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:31:00] local.INFO: IMEI acknowledgment sent {"connection_id":46811,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:31:01] local.INFO: TCP Data received {"connection_id":46811,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:31:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:31:01] local.INFO: Processing buffer {"connection_id":46811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:31:01] local.INFO: Packet analysis {"connection_id":46811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:31:01] local.INFO: Extracted packet for processing {"connection_id":46811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:31:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:31:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765277952001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:31:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:31:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:31:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:31:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776427168000,"timestamp_ms":1776427168000,"timestamp_seconds":1776427168,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4f7100"} 
[2026-04-17 17:31:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:31:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:31:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:31:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:31:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:31:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:31:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:31:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:31:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:31:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:31: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-04-17 17:31:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:31:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:31:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765277952001,"66":25343,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:31:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:31:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:31:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765277952001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:31:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:31:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:31:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:31:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:31:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765277952001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:31:01] local.INFO: DEBUG: GPS processor result {"connection_id":46811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:31:01] local.INFO: GPS data processed {"connection_id":46811,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:31:01] local.INFO: Acknowledgment sent {"connection_id":46811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:31:05] local.INFO: TCP Data received {"connection_id":46811,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:31:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46811,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:31:05] local.INFO: Processing buffer {"connection_id":46811,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:31:05] local.INFO: Packet analysis {"connection_id":46811,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:31:05] local.INFO: Extracted packet for processing {"connection_id":46811,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:31:05] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:31:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765277952001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:31:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:31:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:31:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:31:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776427168000,"timestamp_ms":1776427168000,"timestamp_seconds":1776427168,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4f7100"} 
[2026-04-17 17:31:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:31:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:31:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:31:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:31:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:31:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:31:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46811,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:31:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:31:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46811,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:31:05] 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-04-17 17:31:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:31:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:31:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765277952001,"66":25343,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:31:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:31:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:31:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765277952001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:31:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:31:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:31:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:31:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:31:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765277952001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:31:05] local.INFO: DEBUG: GPS processor result {"connection_id":46811,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22358,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:31:05] local.INFO: GPS data processed {"connection_id":46811,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:31:05] local.INFO: Acknowledgment sent {"connection_id":46811,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:31:26] local.INFO: TCP Data received {"connection_id":45952,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:31:26] local.INFO: Processing buffer {"connection_id":45952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:31:26] local.INFO: IMEI packet received {"connection_id":45952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":45952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:31:31] local.INFO: TCP Data received {"connection_id":45952,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:31:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45952,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:31:31] local.INFO: Processing buffer {"connection_id":45952,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:31:31] local.INFO: IMEI packet received {"connection_id":45952,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:31:31] local.INFO: IMEI acknowledgment sent {"connection_id":45952,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:31:32] local.INFO: TCP Data received {"connection_id":45952,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b504008012d18acc0072171000046013c2b..."} 
[2026-04-17 17:31:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b504008012d18acc0072171000046013c2b..."} 
[2026-04-17 17:31:32] local.INFO: Processing buffer {"connection_id":45952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b504008012d18acc0072171000046013c2b..."} 
[2026-04-17 17:31:32] local.INFO: Packet analysis {"connection_id":45952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b50"} 
[2026-04-17 17:31:32] local.INFO: Extracted packet for processing {"connection_id":45952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b50"} 
[2026-04-17 17:31:32] local.INFO: GPS Element Parsed {"raw_longitude":756591808,"raw_latitude":119632128,"longitude_deg":75.6591808,"latitude_deg":11.9632128,"altitude":70,"angle":316,"satellites":43,"speed":36,"hex_longitude":"2d18acc0","hex_latitude":"07217100","is_valid_coordinates":true} 
[2026-04-17 17:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:31:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765366272001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:31:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113330374326616064,"note":"Value kept but may cause issues"} 
[2026-04-17 17:31:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1783636589295300608,"note":"Value kept but may cause issues"} 
[2026-04-17 17:31:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:31:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776427221000,"timestamp_ms":1776427221000,"timestamp_seconds":1776427221,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b504008"} 
[2026-04-17 17:31:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:31:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:31:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-17 17:31:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:31:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:31:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:31:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:31:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:31:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:31:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:31:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:31:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:31:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:31:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765366272001,"66":14428,"106":206,"83":41984,"24":36,"16":113330374326616064,"45":1783636589295300608},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:31:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:31:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:31:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765366272001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:31:32] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:31:32] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:31:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113330374326616064,"km_value":113330374326616.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:31:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1783636589295300608,"description":"Unknown IO ID 45"} 
[2026-04-17 17:31:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765366272001,"power":14428,"unknown_106":206,"unknown_83":41984,"ignition":36,"odometer":null,"unknown_45":1783636589295300608}} 
[2026-04-17 17:31:32] local.INFO: DEBUG: GPS processor result {"connection_id":45952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:31:32] local.INFO: GPS data processed {"connection_id":45952,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:31:32] local.INFO: Acknowledgment sent {"connection_id":45952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:31:35] local.INFO: TCP Data received {"connection_id":45952,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5043f0012d18aa00072173180047012d29..."} 
[2026-04-17 17:31:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5043f0012d18aa00072173180047012d29..."} 
[2026-04-17 17:31:35] local.INFO: Processing buffer {"connection_id":45952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5043f0012d18aa00072173180047012d29..."} 
[2026-04-17 17:31:35] local.INFO: Packet analysis {"connection_id":45952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b50"} 
[2026-04-17 17:31:35] local.INFO: Extracted packet for processing {"connection_id":45952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b50"} 
[2026-04-17 17:31:35] local.INFO: GPS Element Parsed {"raw_longitude":756591104,"raw_latitude":119632664,"longitude_deg":75.6591104,"latitude_deg":11.9632664,"altitude":71,"angle":301,"satellites":41,"speed":35,"hex_longitude":"2d18aa00","hex_latitude":"07217318","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:31:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765368576001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:31:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113330417276289024,"note":"Value kept but may cause issues"} 
[2026-04-17 17:31:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1778007089762861056,"note":"Value kept but may cause issues"} 
[2026-04-17 17:31:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:31:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776427222000,"timestamp_ms":1776427222000,"timestamp_seconds":1776427222,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5043f0"} 
[2026-04-17 17:31:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:31:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 17:31:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:31:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:31:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:31:35] local.INFO: Teltonika packet parsed successfully {"connection_id":45952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:31:35] local.INFO: Passing IMEI to GPS processor {"connection_id":45952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:31:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":45952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:31:35] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:31:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:31:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:31:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765368576001,"66":14407,"106":206,"83":41984,"24":35,"16":113330417276289024,"45":1778007089762861056},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:31:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:31:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:31:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765368576001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:31:35] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:31:35] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:31:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113330417276289024,"km_value":113330417276289.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:31:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":1778007089762861056,"description":"Unknown IO ID 45"} 
[2026-04-17 17:31:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765368576001,"power":14407,"unknown_106":206,"unknown_83":41984,"ignition":35,"odometer":null,"unknown_45":1778007089762861056}} 
[2026-04-17 17:31:36] local.INFO: DEBUG: GPS processor result {"connection_id":45952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22360,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:31:36] local.INFO: GPS data processed {"connection_id":45952,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:31:36] local.INFO: Acknowledgment sent {"connection_id":45952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:31:50] local.INFO: TCP Data received {"connection_id":45953,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:31:50] local.INFO: Processing buffer {"connection_id":45953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:31:50] local.INFO: IMEI packet received {"connection_id":45953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":45953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:31:55] local.INFO: TCP Data received {"connection_id":45953,"ip":"42.106.6.30","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:31:55] local.INFO: Processing buffer {"connection_id":45953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:31:55] local.INFO: IMEI packet received {"connection_id":45953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":45953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:31:56] local.INFO: TCP Data received {"connection_id":45953,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:31:56] local.INFO: Processing buffer {"connection_id":45953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:31:56] local.INFO: Packet analysis {"connection_id":45953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:31:56] local.INFO: Extracted packet for processing {"connection_id":45953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765277952001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776427168000,"timestamp_ms":1776427168000,"timestamp_seconds":1776427168,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4f7100"} 
[2026-04-17 17:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:31:56] 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-04-17 17:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765277952001,"66":25343,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765277952001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:31:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765277952001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":45953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:31:56] local.INFO: GPS data processed {"connection_id":45953,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:31:56] local.INFO: Acknowledgment sent {"connection_id":45953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:32:06] local.INFO: TCP Data received {"connection_id":45952,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b504bc0012d18a340072175b00047011f29..."} 
[2026-04-17 17:32:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b504bc0012d18a340072175b00047011f29..."} 
[2026-04-17 17:32:06] local.INFO: Processing buffer {"connection_id":45952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b504bc0012d18a340072175b00047011f29..."} 
[2026-04-17 17:32:06] local.INFO: Packet analysis {"connection_id":45952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b50"} 
[2026-04-17 17:32:06] local.INFO: Extracted packet for processing {"connection_id":45952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b50"} 
[2026-04-17 17:32:06] local.INFO: GPS Element Parsed {"raw_longitude":756589376,"raw_latitude":119633328,"longitude_deg":75.6589376,"latitude_deg":11.9633328,"altitude":71,"angle":287,"satellites":41,"speed":38,"hex_longitude":"2d18a340","hex_latitude":"072175b0","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:32:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765368832001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:32:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113330507470602240,"note":"Value kept but may cause issues"} 
[2026-04-17 17:32:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777233033577043968,"note":"Value kept but may cause issues"} 
[2026-04-17 17:32:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:32:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776427224000,"timestamp_ms":1776427224000,"timestamp_seconds":1776427224,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b504bc0"} 
[2026-04-17 17:32:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:32: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-04-17 17: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":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 17:32:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:32:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:32:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:32:06] local.INFO: Teltonika packet parsed successfully {"connection_id":45952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:32:06] local.INFO: Passing IMEI to GPS processor {"connection_id":45952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:32:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":45952,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:32:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:32:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:32:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:32:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765368832001,"66":13852,"106":206,"83":41984,"24":38,"16":113330507470602240,"45":1777233033577043968},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:32:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:32:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:32:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765368832001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:32:06] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:32:06] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:32:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113330507470602240,"km_value":113330507470602.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:32:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777233033577043968,"description":"Unknown IO ID 45"} 
[2026-04-17 17:32:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765368832001,"power":13852,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1777233033577043968}} 
[2026-04-17 17:32:06] local.INFO: DEBUG: GPS processor result {"connection_id":45952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:32:06] local.INFO: GPS data processed {"connection_id":45952,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:32:06] local.INFO: Acknowledgment sent {"connection_id":45952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:32:21] local.INFO: TCP Data received {"connection_id":46055,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:32:21] local.INFO: Processing buffer {"connection_id":46055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:32:21] local.INFO: IMEI packet received {"connection_id":46055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":46055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:32:22] local.INFO: TCP Data received {"connection_id":46055,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46055,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:32:22] local.INFO: Processing buffer {"connection_id":46055,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:32:22] local.INFO: IMEI packet received {"connection_id":46055,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":46055,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:32:23] local.INFO: TCP Data received {"connection_id":46055,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b506ee8012d188280072181180047011428..."} 
[2026-04-17 17:32:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b506ee8012d188280072181180047011428..."} 
[2026-04-17 17:32:23] local.INFO: Processing buffer {"connection_id":46055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b506ee8012d188280072181180047011428..."} 
[2026-04-17 17:32:23] local.INFO: Packet analysis {"connection_id":46055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b50"} 
[2026-04-17 17:32:23] local.INFO: Extracted packet for processing {"connection_id":46055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b50"} 
[2026-04-17 17:32:23] local.INFO: GPS Element Parsed {"raw_longitude":756580992,"raw_latitude":119636248,"longitude_deg":75.6580992,"latitude_deg":11.9636248,"altitude":71,"angle":276,"satellites":40,"speed":32,"hex_longitude":"2d188280","hex_latitude":"07218118","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:32:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765369344001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:32:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113330932672364544,"note":"Value kept but may cause issues"} 
[2026-04-17 17:32:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775333077484417024,"note":"Value kept but may cause issues"} 
[2026-04-17 17:32:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:32:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776427233000,"timestamp_ms":1776427233000,"timestamp_seconds":1776427233,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b506ee8"} 
[2026-04-17 17:32:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:32: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-04-17 17: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":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-17 17:32:23] 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-04-17 17: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-04-17 17:32:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:32:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:32:23] local.INFO: Teltonika packet parsed successfully {"connection_id":46055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:32:23] local.INFO: Passing IMEI to GPS processor {"connection_id":46055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:32:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":46055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:32:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:32:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:32:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:32:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765369344001,"66":14407,"106":206,"83":41984,"24":32,"16":113330932672364544,"45":1775333077484417024},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:32:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:32:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:32:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765369344001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:32:23] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:32:23] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:32:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113330932672364544,"km_value":113330932672364.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:32:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775333077484417024,"description":"Unknown IO ID 45"} 
[2026-04-17 17:32:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765369344001,"power":14407,"unknown_106":206,"unknown_83":41984,"ignition":32,"odometer":null,"unknown_45":1775333077484417024}} 
[2026-04-17 17:32:23] local.INFO: DEBUG: GPS processor result {"connection_id":46055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22363,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:32:23] local.INFO: GPS data processed {"connection_id":46055,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:32:23] local.INFO: Acknowledgment sent {"connection_id":46055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:32:27] local.INFO: TCP Data received {"connection_id":45953,"ip":"42.106.6.30","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:32:27] local.INFO: Processing buffer {"connection_id":45953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:32:27] local.INFO: Packet analysis {"connection_id":45953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:32:27] local.INFO: Extracted packet for processing {"connection_id":45953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765277952001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776427168000,"timestamp_ms":1776427168000,"timestamp_seconds":1776427168,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4f7100"} 
[2026-04-17 17:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.30","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765277952001,"66":25343,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.30","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765277952001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:32:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765277952001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":45953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22364,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:32:27] local.INFO: GPS data processed {"connection_id":45953,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:32:27] local.INFO: Acknowledgment sent {"connection_id":45953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:32:53] local.INFO: TCP Data received {"connection_id":46056,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:32:53] local.INFO: Processing buffer {"connection_id":46056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:32:53] local.INFO: IMEI packet received {"connection_id":46056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":46056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:32:54] local.INFO: TCP Data received {"connection_id":46055,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b507aa0012d187b80072181780047010629..."} 
[2026-04-17 17:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b507aa0012d187b80072181780047010629..."} 
[2026-04-17 17:32:54] local.INFO: Processing buffer {"connection_id":46055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b507aa0012d187b80072181780047010629..."} 
[2026-04-17 17:32:54] local.INFO: Packet analysis {"connection_id":46055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b50"} 
[2026-04-17 17:32:54] local.INFO: Extracted packet for processing {"connection_id":46055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b50"} 
[2026-04-17 17:32:54] local.INFO: GPS Element Parsed {"raw_longitude":756579200,"raw_latitude":119636344,"longitude_deg":75.65792,"latitude_deg":11.9636344,"altitude":71,"angle":262,"satellites":41,"speed":14,"hex_longitude":"2d187b80","hex_latitude":"07218178","is_valid_coordinates":true} 
[2026-04-17 17:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:32:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765371648001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:32:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113331014276743168,"note":"Value kept but may cause issues"} 
[2026-04-17 17:32:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1766114771997890560,"note":"Value kept but may cause issues"} 
[2026-04-17 17:32:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:32:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776427236000,"timestamp_ms":1776427236000,"timestamp_seconds":1776427236,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b507aa0"} 
[2026-04-17 17:32:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:32: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-04-17 17:32:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 17:32:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1117,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:32:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:32:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:32:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:32:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:32:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:32:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46055,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:32:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:32:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:32:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:32:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765371648001,"66":14396,"106":206,"83":41984,"24":14,"16":113331014276743168,"45":1766114771997890560},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:32:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:32:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:32:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765371648001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:32:54] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:32:54] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:32:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113331014276743168,"km_value":113331014276743.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:32:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":1766114771997890560,"description":"Unknown IO ID 45"} 
[2026-04-17 17:32:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765371648001,"power":14396,"unknown_106":206,"unknown_83":41984,"ignition":14,"odometer":null,"unknown_45":1766114771997890560}} 
[2026-04-17 17:32:54] local.INFO: DEBUG: GPS processor result {"connection_id":46055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22365,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:32:54] local.INFO: GPS data processed {"connection_id":46055,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:32:54] local.INFO: Acknowledgment sent {"connection_id":46055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:32:55] local.INFO: TCP Data received {"connection_id":46056,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46056,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:32:55] local.INFO: Processing buffer {"connection_id":46056,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:32:55] local.INFO: IMEI packet received {"connection_id":46056,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":46056,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:32:56] local.INFO: TCP Data received {"connection_id":46056,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:32:56] local.INFO: Processing buffer {"connection_id":46056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:32:56] local.INFO: Packet analysis {"connection_id":46056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:32:56] local.INFO: Extracted packet for processing {"connection_id":46056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765277952001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776427168000,"timestamp_ms":1776427168000,"timestamp_seconds":1776427168,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4f7100"} 
[2026-04-17 17:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:32:56] 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-04-17 17:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765277952001,"66":25343,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765277952001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:32:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765277952001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":46056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22366,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:32:56] local.INFO: GPS data processed {"connection_id":46056,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:32:56] local.INFO: Acknowledgment sent {"connection_id":46056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:33:00] local.INFO: TCP Data received {"connection_id":46056,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:33:00] local.INFO: Processing buffer {"connection_id":46056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:33:00] local.INFO: Packet analysis {"connection_id":46056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:33:00] local.INFO: Extracted packet for processing {"connection_id":46056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:33:00] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765277952001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776427168000,"timestamp_ms":1776427168000,"timestamp_seconds":1776427168,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4f7100"} 
[2026-04-17 17:33:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:33:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:33: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-04-17 17:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765277952001,"66":25343,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765277952001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:33:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:33:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765277952001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":46056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:33:00] local.INFO: GPS data processed {"connection_id":46056,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:33:00] local.INFO: Acknowledgment sent {"connection_id":46056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:33:21] local.INFO: TCP Data received {"connection_id":46284,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:33:21] local.INFO: Processing buffer {"connection_id":46284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:33:21] local.INFO: IMEI packet received {"connection_id":46284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":46284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:33:26] local.INFO: TCP Data received {"connection_id":46284,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46284,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:33:26] local.INFO: Processing buffer {"connection_id":46284,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:33:26] local.INFO: IMEI packet received {"connection_id":46284,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":46284,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:33:27] local.INFO: TCP Data received {"connection_id":46284,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b522468012d1824c00721b6080049000b2b..."} 
[2026-04-17 17:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b522468012d1824c00721b6080049000b2b..."} 
[2026-04-17 17:33:27] local.INFO: Processing buffer {"connection_id":46284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b522468012d1824c00721b6080049000b2b..."} 
[2026-04-17 17:33:27] local.INFO: Packet analysis {"connection_id":46284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b52"} 
[2026-04-17 17:33:27] local.INFO: Extracted packet for processing {"connection_id":46284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b52"} 
[2026-04-17 17:33:27] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119649800,"longitude_deg":75.6556992,"latitude_deg":11.96498,"altitude":73,"angle":11,"satellites":43,"speed":13,"hex_longitude":"2d1824c0","hex_latitude":"0721b608","is_valid_coordinates":true} 
[2026-04-17 17:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765399808001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113332504630394880,"note":"Value kept but may cause issues"} 
[2026-04-17 17:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739374649213659136,"note":"Value kept but may cause issues"} 
[2026-04-17 17:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776427345000,"timestamp_ms":1776427345000,"timestamp_seconds":1776427345,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b522468"} 
[2026-04-17 17:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-17 17:33:27] 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-04-17 17:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765399808001,"66":13004,"105":206,"83":41984,"24":13,"16":113332504630394880,"45":1739374649213659136},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 17:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765399808001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:33:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 17:33:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113332504630394880,"km_value":113332504630394.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739374649213659136,"description":"Unknown IO ID 45"} 
[2026-04-17 17:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765399808001,"power":13004,"unknown_105":206,"unknown_83":41984,"ignition":13,"odometer":null,"unknown_45":1739374649213659136}} 
[2026-04-17 17:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":46284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:33:27] local.INFO: GPS data processed {"connection_id":46284,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:33:27] local.INFO: Acknowledgment sent {"connection_id":46284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:33:32] local.INFO: TCP Data received {"connection_id":46056,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:33:32] local.INFO: Processing buffer {"connection_id":46056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:33:32] local.INFO: Packet analysis {"connection_id":46056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:33:32] local.INFO: Extracted packet for processing {"connection_id":46056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:33:32] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765277952001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776427168000,"timestamp_ms":1776427168000,"timestamp_seconds":1776427168,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4f7100"} 
[2026-04-17 17:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:33:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46056,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765277952001,"66":25343,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765277952001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:33:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:33:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765277952001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:33:32] local.INFO: DEBUG: GPS processor result {"connection_id":46056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22369,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:33:32] local.INFO: GPS data processed {"connection_id":46056,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:33:32] local.INFO: Acknowledgment sent {"connection_id":46056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:33:50] local.INFO: TCP Data received {"connection_id":46813,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:33:50] local.INFO: Processing buffer {"connection_id":46813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:33:50] local.INFO: IMEI packet received {"connection_id":46813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":46813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:33:56] local.INFO: TCP Data received {"connection_id":46813,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46813,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:33:56] local.INFO: Processing buffer {"connection_id":46813,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:33:56] local.INFO: IMEI packet received {"connection_id":46813,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":46813,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:33:58] local.INFO: TCP Data received {"connection_id":46813,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:33:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:33:58] local.INFO: Processing buffer {"connection_id":46813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:33:58] local.INFO: Packet analysis {"connection_id":46813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:33:58] local.INFO: Extracted packet for processing {"connection_id":46813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:33:58] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:33:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765277952001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:33:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:33:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:33:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:33:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776427168000,"timestamp_ms":1776427168000,"timestamp_seconds":1776427168,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4f7100"} 
[2026-04-17 17:33:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:33:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:33:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:33:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:33:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:33:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:33:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:33:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:33:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:33:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:33:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:33:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:33:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:33:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765277952001,"66":25343,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:33:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:33:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:33:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765277952001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:33:58] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:33:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:33:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:33:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:33:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765277952001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:33:58] local.INFO: DEBUG: GPS processor result {"connection_id":46813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:33:58] local.INFO: GPS data processed {"connection_id":46813,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:33:58] local.INFO: Acknowledgment sent {"connection_id":46813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:33:59] local.INFO: TCP Data received {"connection_id":46284,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b522850012d1824c00721b728004901592b..."} 
[2026-04-17 17:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46284,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b522850012d1824c00721b728004901592b..."} 
[2026-04-17 17:33:59] local.INFO: Processing buffer {"connection_id":46284,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b522850012d1824c00721b728004901592b..."} 
[2026-04-17 17:33:59] local.INFO: Packet analysis {"connection_id":46284,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b52"} 
[2026-04-17 17:33:59] local.INFO: Extracted packet for processing {"connection_id":46284,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b52"} 
[2026-04-17 17:33:59] local.INFO: GPS Element Parsed {"raw_longitude":756556992,"raw_latitude":119650088,"longitude_deg":75.6556992,"latitude_deg":11.9650088,"altitude":73,"angle":345,"satellites":43,"speed":9,"hex_longitude":"2d1824c0","hex_latitude":"0721b728","is_valid_coordinates":true} 
[2026-04-17 17:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765400320001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113332521810264064,"note":"Value kept but may cause issues"} 
[2026-04-17 17:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934735872,"note":"Value kept but may cause issues"} 
[2026-04-17 17:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776427346000,"timestamp_ms":1776427346000,"timestamp_seconds":1776427346,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b522850"} 
[2026-04-17 17:33:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:33:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":204,"data_length":795,"current_offset":136} 
[2026-04-17 17:33:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2284,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:33:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:33:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46284,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46284,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:33:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765400320001,"66":12982,"105":206,"83":41984,"24":9,"16":113332521810264064,"45":1739726492934735872},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 17:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765400320001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:33:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 17:33:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113332521810264064,"km_value":113332521810264.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934735872,"description":"Unknown IO ID 45"} 
[2026-04-17 17:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765400320001,"power":12982,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1739726492934735872}} 
[2026-04-17 17:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":46284,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:33:59] local.INFO: GPS data processed {"connection_id":46284,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:33:59] local.INFO: Acknowledgment sent {"connection_id":46284,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:34:21] local.INFO: TCP Data received {"connection_id":45954,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:34:21] local.INFO: Processing buffer {"connection_id":45954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:34:21] local.INFO: IMEI packet received {"connection_id":45954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":45954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:34:26] local.INFO: TCP Data received {"connection_id":45954,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:34:26] local.INFO: Processing buffer {"connection_id":45954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:34:26] local.INFO: IMEI packet received {"connection_id":45954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":45954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:34:27] local.INFO: TCP Data received {"connection_id":45954,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b522c38012d1824400721b7d00049013c2c..."} 
[2026-04-17 17:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b522c38012d1824400721b7d00049013c2c..."} 
[2026-04-17 17:34:27] local.INFO: Processing buffer {"connection_id":45954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b522c38012d1824400721b7d00049013c2c..."} 
[2026-04-17 17:34:27] local.INFO: Packet analysis {"connection_id":45954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b52"} 
[2026-04-17 17:34:27] local.INFO: Extracted packet for processing {"connection_id":45954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b52"} 
[2026-04-17 17:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756556864,"raw_latitude":119650256,"longitude_deg":75.6556864,"latitude_deg":11.9650256,"altitude":73,"angle":316,"satellites":44,"speed":7,"hex_longitude":"2d182440","hex_latitude":"0721b7d0","is_valid_coordinates":true} 
[2026-04-17 17:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765400576001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113332530400198656,"note":"Value kept but may cause issues"} 
[2026-04-17 17:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739726492934809600,"note":"Value kept but may cause issues"} 
[2026-04-17 17:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776427347000,"timestamp_ms":1776427347000,"timestamp_seconds":1776427347,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b522c38"} 
[2026-04-17 17:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-04-17 17:34:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765400576001,"66":12982,"105":206,"83":41984,"24":7,"16":113332530400198656,"45":1739726492934809600},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 17:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765400576001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:34:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 17:34:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113332530400198656,"km_value":113332530400198.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739726492934809600,"description":"Unknown IO ID 45"} 
[2026-04-17 17:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765400576001,"power":12982,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1739726492934809600}} 
[2026-04-17 17:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":45954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22372,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:34:27] local.INFO: GPS data processed {"connection_id":45954,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:34:27] local.INFO: Acknowledgment sent {"connection_id":45954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:34:30] local.INFO: TCP Data received {"connection_id":46813,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46813,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:34:30] local.INFO: Processing buffer {"connection_id":46813,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:34:30] local.INFO: Packet analysis {"connection_id":46813,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:34:30] local.INFO: Extracted packet for processing {"connection_id":46813,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765277952001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776427168000,"timestamp_ms":1776427168000,"timestamp_seconds":1776427168,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4f7100"} 
[2026-04-17 17:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:34:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:34:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:34:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46813,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46813,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:34: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-04-17 17:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765277952001,"66":25343,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765277952001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:34:30] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765277952001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":46813,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:34:30] local.INFO: GPS data processed {"connection_id":46813,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:34:30] local.INFO: Acknowledgment sent {"connection_id":46813,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:34:50] local.INFO: TCP Data received {"connection_id":46814,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:34:50] local.INFO: Processing buffer {"connection_id":46814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:34:50] local.INFO: IMEI packet received {"connection_id":46814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":46814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:34:55] local.INFO: TCP Data received {"connection_id":46814,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46814,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:34:55] local.INFO: Processing buffer {"connection_id":46814,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:34:55] local.INFO: IMEI packet received {"connection_id":46814,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":46814,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:34:57] local.INFO: TCP Data received {"connection_id":46814,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:34:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:34:57] local.INFO: Processing buffer {"connection_id":46814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b4f7100012d7faac005afe180000000092b..."} 
[2026-04-17 17:34:57] local.INFO: Packet analysis {"connection_id":46814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:34:57] local.INFO: Extracted packet for processing {"connection_id":46814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b4f"} 
[2026-04-17 17:34:57] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:34:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765277952001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:34:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:34:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:34:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:34:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776427168000,"timestamp_ms":1776427168000,"timestamp_seconds":1776427168,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b4f7100"} 
[2026-04-17 17:34:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:34:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:34:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:34:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:34:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:34:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:34:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:34:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:34:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:34:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:34:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:34:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:34:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:34:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765277952001,"66":25343,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:34:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:34:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:34:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765277952001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:34:57] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:34:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:34:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:34:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:34:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765277952001,"power":25343,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:34:57] local.INFO: DEBUG: GPS processor result {"connection_id":46814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22374,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:34:57] local.INFO: GPS data processed {"connection_id":46814,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:34:57] local.INFO: Acknowledgment sent {"connection_id":46814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:34:59] local.INFO: TCP Data received {"connection_id":45954,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b525348012d1824000721b6d0004a00d22a..."} 
[2026-04-17 17:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b525348012d1824000721b6d0004a00d22a..."} 
[2026-04-17 17:34:59] local.INFO: Processing buffer {"connection_id":45954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b525348012d1824000721b6d0004a00d22a..."} 
[2026-04-17 17:34:59] local.INFO: Packet analysis {"connection_id":45954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b52"} 
[2026-04-17 17:34:59] local.INFO: Extracted packet for processing {"connection_id":45954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b52"} 
[2026-04-17 17:34:59] local.INFO: GPS Element Parsed {"raw_longitude":756556800,"raw_latitude":119650000,"longitude_deg":75.65568,"latitude_deg":11.965,"altitude":74,"angle":210,"satellites":42,"speed":6,"hex_longitude":"2d182400","hex_latitude":"0721b6d0","is_valid_coordinates":true} 
[2026-04-17 17:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765400832001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113332573349871616,"note":"Value kept but may cause issues"} 
[2026-04-17 17:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739585755446497280,"note":"Value kept but may cause issues"} 
[2026-04-17 17:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776427357000,"timestamp_ms":1776427357000,"timestamp_seconds":1776427357,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b525348"} 
[2026-04-17 17:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-04-17 17:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765400832001,"66":12950,"105":206,"83":41984,"24":6,"16":113332573349871616,"45":1739585755446497280},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 17:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765400832001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:34:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 17:34:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113332573349871616,"km_value":113332573349871.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739585755446497280,"description":"Unknown IO ID 45"} 
[2026-04-17 17:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765400832001,"power":12950,"unknown_105":206,"unknown_83":41984,"ignition":6,"odometer":null,"unknown_45":1739585755446497280}} 
[2026-04-17 17:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":45954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:34:59] local.INFO: GPS data processed {"connection_id":45954,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:34:59] local.INFO: Acknowledgment sent {"connection_id":45954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:35:22] local.INFO: TCP Data received {"connection_id":46057,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:35:22] local.INFO: Processing buffer {"connection_id":46057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:35:22] local.INFO: IMEI packet received {"connection_id":46057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":46057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:35:22] local.INFO: TCP Data received {"connection_id":46057,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:35:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:35:22] local.INFO: Processing buffer {"connection_id":46057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:35:22] local.INFO: IMEI packet received {"connection_id":46057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:35:22] local.INFO: IMEI acknowledgment sent {"connection_id":46057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:35:24] local.INFO: TCP Data received {"connection_id":46815,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46815,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:35:24] local.INFO: Processing buffer {"connection_id":46815,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:35:24] local.INFO: IMEI packet received {"connection_id":46815,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":46815,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:35:26] local.INFO: TCP Data received {"connection_id":46057,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:35:26] local.INFO: Processing buffer {"connection_id":46057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:35:26] local.INFO: IMEI packet received {"connection_id":46057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":46057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:35:27] local.INFO: TCP Data received {"connection_id":46057,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b52a550012d1821800721b348004a00d42b..."} 
[2026-04-17 17:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b52a550012d1821800721b348004a00d42b..."} 
[2026-04-17 17:35:27] local.INFO: Processing buffer {"connection_id":46057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b52a550012d1821800721b348004a00d42b..."} 
[2026-04-17 17:35:27] local.INFO: Packet analysis {"connection_id":46057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b52"} 
[2026-04-17 17:35:27] local.INFO: Extracted packet for processing {"connection_id":46057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b52"} 
[2026-04-17 17:35:27] local.INFO: GPS Element Parsed {"raw_longitude":756556160,"raw_latitude":119649096,"longitude_deg":75.655616,"latitude_deg":11.9649096,"altitude":74,"angle":212,"satellites":43,"speed":0,"hex_longitude":"2d182180","hex_latitude":"0721b348","is_valid_coordinates":true} 
[2026-04-17 17:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765403392001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113332629184446464,"note":"Value kept but may cause issues"} 
[2026-04-17 17:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1739515386702254080,"note":"Value kept but may cause issues"} 
[2026-04-17 17:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776427378000,"timestamp_ms":1776427378000,"timestamp_seconds":1776427378,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b52a550"} 
[2026-04-17 17:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":150,"data_length":795,"current_offset":136} 
[2026-04-17 17:35:27] 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-04-17 17:35:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765403392001,"66":12722,"105":206,"83":41984,"24":0,"16":113332629184446464,"45":1739515386702254080},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 17:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765403392001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:35:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 17:35:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113332629184446464,"km_value":113332629184446.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1739515386702254080,"description":"Unknown IO ID 45"} 
[2026-04-17 17:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765403392001,"power":12722,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1739515386702254080}} 
[2026-04-17 17:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":46057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22376,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:35:27] local.INFO: GPS data processed {"connection_id":46057,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:35:27] local.INFO: Acknowledgment sent {"connection_id":46057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:35:29] local.INFO: TCP Data received {"connection_id":46814,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46814,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:35:29] local.INFO: Processing buffer {"connection_id":46814,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:35:29] local.INFO: Packet analysis {"connection_id":46814,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:35:29] local.INFO: Extracted packet for processing {"connection_id":46814,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:35:29] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:35:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765355008001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:35:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:35:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:35:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:35:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776427469000,"timestamp_ms":1776427469000,"timestamp_seconds":1776427469,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5408c8"} 
[2026-04-17 17:35:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:35:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 17:35:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:35:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:35:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:35:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46814,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:35:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:35:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46814,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:35: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-04-17 17:35:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:35:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:35:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765355008001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:35:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:35:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:35:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765355008001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:35:29] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:35:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:35:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:35:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:35:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765355008001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:35:29] local.INFO: DEBUG: GPS processor result {"connection_id":46814,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:35:29] local.INFO: GPS data processed {"connection_id":46814,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:35:29] local.INFO: Acknowledgment sent {"connection_id":46814,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:35:50] local.INFO: TCP Data received {"connection_id":45955,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:35:50] local.INFO: Processing buffer {"connection_id":45955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:35:50] local.INFO: IMEI packet received {"connection_id":45955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":45955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:35:55] local.INFO: TCP Data received {"connection_id":45955,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:35:55] local.INFO: Processing buffer {"connection_id":45955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:35:55] local.INFO: IMEI packet received {"connection_id":45955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":45955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:35:56] local.INFO: TCP Data received {"connection_id":45955,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:35:56] local.INFO: Processing buffer {"connection_id":45955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:35:56] local.INFO: Packet analysis {"connection_id":45955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:35:56] local.INFO: Extracted packet for processing {"connection_id":45955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765355008001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776427469000,"timestamp_ms":1776427469000,"timestamp_seconds":1776427469,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5408c8"} 
[2026-04-17 17:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 17:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765355008001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765355008001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:35:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765355008001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":45955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:35:56] local.INFO: GPS data processed {"connection_id":45955,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:35:56] local.INFO: Acknowledgment sent {"connection_id":45955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:35:58] local.INFO: TCP Data received {"connection_id":46057,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b549d38012d17f000072187f8004801352b..."} 
[2026-04-17 17:35:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b549d38012d17f000072187f8004801352b..."} 
[2026-04-17 17:35:58] local.INFO: Processing buffer {"connection_id":46057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b549d38012d17f000072187f8004801352b..."} 
[2026-04-17 17:35:58] local.INFO: Packet analysis {"connection_id":46057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:35:58] local.INFO: Extracted packet for processing {"connection_id":46057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:35:58] local.INFO: GPS Element Parsed {"raw_longitude":756543488,"raw_latitude":119638008,"longitude_deg":75.6543488,"latitude_deg":11.9638008,"altitude":72,"angle":309,"satellites":43,"speed":5,"hex_longitude":"2d17f000","hex_latitude":"072187f8","is_valid_coordinates":true} 
[2026-04-17 17:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:35:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765441024001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:35:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113333556897382400,"note":"Value kept but may cause issues"} 
[2026-04-17 17:35:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725512006607765504,"note":"Value kept but may cause issues"} 
[2026-04-17 17:35:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:35:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776427507000,"timestamp_ms":1776427507000,"timestamp_seconds":1776427507,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b549d38"} 
[2026-04-17 17:35:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:35: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-04-17 17:35:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-17 17:35:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:35:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:35:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:35:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:35:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:35:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:35:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:35:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:35:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:35:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:35:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765441024001,"66":13906,"107":206,"83":41984,"24":5,"16":113333556897382400,"45":1725512006607765504},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-17 17:35:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:35:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:35:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765441024001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:35:58] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-17 17:35:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:35:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113333556897382400,"km_value":113333556897382.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:35:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725512006607765504,"description":"Unknown IO ID 45"} 
[2026-04-17 17:35:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765441024001,"power":13906,"unknown_107":206,"unknown_83":41984,"ignition":5,"odometer":null,"unknown_45":1725512006607765504}} 
[2026-04-17 17:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":46057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:35:59] local.INFO: GPS data processed {"connection_id":46057,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:35:59] local.INFO: Acknowledgment sent {"connection_id":46057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:36:05] local.INFO: TCP Data received {"connection_id":45956,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45956,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:36:05] local.INFO: Processing buffer {"connection_id":45956,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:36:05] local.INFO: IMEI packet received {"connection_id":45956,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:36:05] local.INFO: IMEI acknowledgment sent {"connection_id":45956,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:36:21] local.INFO: TCP Data received {"connection_id":46058,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:36:21] local.INFO: Processing buffer {"connection_id":46058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:36:21] local.INFO: IMEI packet received {"connection_id":46058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":46058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:36:26] local.INFO: TCP Data received {"connection_id":46058,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46058,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:36:26] local.INFO: Processing buffer {"connection_id":46058,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:36:26] local.INFO: IMEI packet received {"connection_id":46058,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":46058,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:36:27] local.INFO: TCP Data received {"connection_id":45955,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:36:27] local.INFO: Processing buffer {"connection_id":45955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:36:27] local.INFO: Packet analysis {"connection_id":45955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:36:27] local.INFO: Extracted packet for processing {"connection_id":45955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765355008001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776427469000,"timestamp_ms":1776427469000,"timestamp_seconds":1776427469,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5408c8"} 
[2026-04-17 17:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 17:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765355008001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765355008001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:36:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:36:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765355008001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":45955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22380,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:36:27] local.INFO: GPS data processed {"connection_id":45955,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:36:27] local.INFO: Acknowledgment sent {"connection_id":45955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:36:27] local.INFO: TCP Data received {"connection_id":46058,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b54bc78012d17f00007218b28004a00052c..."} 
[2026-04-17 17:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b54bc78012d17f00007218b28004a00052c..."} 
[2026-04-17 17:36:27] local.INFO: Processing buffer {"connection_id":46058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b54bc78012d17f00007218b28004a00052c..."} 
[2026-04-17 17:36:27] local.INFO: Packet analysis {"connection_id":46058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:36:27] local.INFO: Extracted packet for processing {"connection_id":46058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:36:27] local.INFO: GPS Element Parsed {"raw_longitude":756543488,"raw_latitude":119638824,"longitude_deg":75.6543488,"latitude_deg":11.9638824,"altitude":74,"angle":5,"satellites":44,"speed":7,"hex_longitude":"2d17f000","hex_latitude":"07218b28","is_valid_coordinates":true} 
[2026-04-17 17:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765441792001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113333604142022656,"note":"Value kept but may cause issues"} 
[2026-04-17 17:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724878687910230016,"note":"Value kept but may cause issues"} 
[2026-04-17 17:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776427515000,"timestamp_ms":1776427515000,"timestamp_seconds":1776427515,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b54bc78"} 
[2026-04-17 17:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":82,"data_length":795,"current_offset":136} 
[2026-04-17 17:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1206,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765441792001,"66":14396,"107":206,"83":41984,"24":7,"16":113333604142022656,"45":1724878687910230016},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-17 17:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765441792001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:36:27] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-17 17:36:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113333604142022656,"km_value":113333604142022.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724878687910230016,"description":"Unknown IO ID 45"} 
[2026-04-17 17:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765441792001,"power":14396,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1724878687910230016}} 
[2026-04-17 17:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":46058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22381,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:36:27] local.INFO: GPS data processed {"connection_id":46058,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:36:27] local.INFO: Acknowledgment sent {"connection_id":46058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:36:50] local.INFO: TCP Data received {"connection_id":45957,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:36:50] local.INFO: Processing buffer {"connection_id":45957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:36:50] local.INFO: IMEI packet received {"connection_id":45957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":45957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:36:55] local.INFO: TCP Data received {"connection_id":45957,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45957,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:36:55] local.INFO: Processing buffer {"connection_id":45957,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:36:55] local.INFO: IMEI packet received {"connection_id":45957,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":45957,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:36:56] local.INFO: TCP Data received {"connection_id":45957,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:36:56] local.INFO: Processing buffer {"connection_id":45957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:36:56] local.INFO: Packet analysis {"connection_id":45957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:36:56] local.INFO: Extracted packet for processing {"connection_id":45957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765355008001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776427469000,"timestamp_ms":1776427469000,"timestamp_seconds":1776427469,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5408c8"} 
[2026-04-17 17:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 17:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:36:56] 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-04-17 17:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765355008001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765355008001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:36:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765355008001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":45957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22382,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:36:56] local.INFO: GPS data processed {"connection_id":45957,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:36:56] local.INFO: Acknowledgment sent {"connection_id":45957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:36:58] local.INFO: TCP Data received {"connection_id":46058,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b54c448012d17f04007218ca0004a00132c..."} 
[2026-04-17 17:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46058,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b54c448012d17f04007218ca0004a00132c..."} 
[2026-04-17 17:36:58] local.INFO: Processing buffer {"connection_id":46058,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b54c448012d17f04007218ca0004a00132c..."} 
[2026-04-17 17:36:58] local.INFO: Packet analysis {"connection_id":46058,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:36:58] local.INFO: Extracted packet for processing {"connection_id":46058,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:36:58] local.INFO: GPS Element Parsed {"raw_longitude":756543552,"raw_latitude":119639200,"longitude_deg":75.6543552,"latitude_deg":11.96392,"altitude":74,"angle":19,"satellites":44,"speed":7,"hex_longitude":"2d17f040","hex_latitude":"07218ca0","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765443840001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113333621321891840,"note":"Value kept but may cause issues"} 
[2026-04-17 17:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1724878687910438912,"note":"Value kept but may cause issues"} 
[2026-04-17 17:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776427517000,"timestamp_ms":1776427517000,"timestamp_seconds":1776427517,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b54c448"} 
[2026-04-17 17:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:36: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-04-17 17: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":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-17 17:36:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1018,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46058,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46058,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765443840001,"66":13722,"107":206,"83":41984,"24":7,"16":113333621321891840,"45":1724878687910438912},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-17 17:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765443840001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:36:58] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-17 17:36:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113333621321891840,"km_value":113333621321891.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1724878687910438912,"description":"Unknown IO ID 45"} 
[2026-04-17 17:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765443840001,"power":13722,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1724878687910438912}} 
[2026-04-17 17:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":46058,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22383,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:36:58] local.INFO: GPS data processed {"connection_id":46058,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:36:58] local.INFO: Acknowledgment sent {"connection_id":46058,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:37:21] local.INFO: TCP Data received {"connection_id":46287,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:37:21] local.INFO: Processing buffer {"connection_id":46287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:37:21] local.INFO: IMEI packet received {"connection_id":46287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":46287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:37:26] local.INFO: TCP Data received {"connection_id":46287,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46287,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:37:26] local.INFO: Processing buffer {"connection_id":46287,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:37:26] local.INFO: IMEI packet received {"connection_id":46287,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":46287,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:37:27] local.INFO: TCP Data received {"connection_id":45957,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45957,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:37:27] local.INFO: Processing buffer {"connection_id":45957,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:37:27] local.INFO: Packet analysis {"connection_id":45957,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:37:27] local.INFO: Extracted packet for processing {"connection_id":45957,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765355008001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776427469000,"timestamp_ms":1776427469000,"timestamp_seconds":1776427469,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5408c8"} 
[2026-04-17 17:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 17:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45957,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45957,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765355008001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765355008001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:37:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765355008001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":45957,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22384,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:37:27] local.INFO: GPS data processed {"connection_id":45957,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:37:27] local.INFO: Acknowledgment sent {"connection_id":45957,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:37:27] local.INFO: TCP Data received {"connection_id":46287,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b55ca00012d17f40007218750004700732b..."} 
[2026-04-17 17:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b55ca00012d17f40007218750004700732b..."} 
[2026-04-17 17:37:27] local.INFO: Processing buffer {"connection_id":46287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b55ca00012d17f40007218750004700732b..."} 
[2026-04-17 17:37:27] local.INFO: Packet analysis {"connection_id":46287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b55"} 
[2026-04-17 17:37:27] local.INFO: Extracted packet for processing {"connection_id":46287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b55"} 
[2026-04-17 17:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756544512,"raw_latitude":119637840,"longitude_deg":75.6544512,"latitude_deg":11.963784,"altitude":71,"angle":115,"satellites":43,"speed":11,"hex_longitude":"2d17f400","hex_latitude":"07218750","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765460736001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113333745875943424,"note":"Value kept but may cause issues"} 
[2026-04-17 17:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725300900375306240,"note":"Value kept but may cause issues"} 
[2026-04-17 17:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776427584000,"timestamp_ms":1776427584000,"timestamp_seconds":1776427584,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b55ca00"} 
[2026-04-17 17:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 17:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765460736001,"66":14428,"107":206,"83":41984,"24":11,"16":113333745875943424,"45":1725300900375306240},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-17 17:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765460736001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:37:27] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-17 17:37:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113333745875943424,"km_value":113333745875943.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725300900375306240,"description":"Unknown IO ID 45"} 
[2026-04-17 17:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765460736001,"power":14428,"unknown_107":206,"unknown_83":41984,"ignition":11,"odometer":null,"unknown_45":1725300900375306240}} 
[2026-04-17 17:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":46287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22385,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:37:27] local.INFO: GPS data processed {"connection_id":46287,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:37:27] local.INFO: Acknowledgment sent {"connection_id":46287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:37:50] local.INFO: TCP Data received {"connection_id":46816,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:37:50] local.INFO: Processing buffer {"connection_id":46816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:37:50] local.INFO: IMEI packet received {"connection_id":46816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":46816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:37:55] local.INFO: TCP Data received {"connection_id":46816,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46816,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:37:55] local.INFO: Processing buffer {"connection_id":46816,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:37:55] local.INFO: IMEI packet received {"connection_id":46816,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":46816,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:37:56] local.INFO: TCP Data received {"connection_id":46816,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:37:56] local.INFO: Processing buffer {"connection_id":46816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:37:56] local.INFO: Packet analysis {"connection_id":46816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:37:56] local.INFO: Extracted packet for processing {"connection_id":46816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 17:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765355008001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776427469000,"timestamp_ms":1776427469000,"timestamp_seconds":1776427469,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5408c8"} 
[2026-04-17 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-04-17 17:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 17:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 17:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765355008001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765355008001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:37:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765355008001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":46816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22386,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:37:56] local.INFO: GPS data processed {"connection_id":46816,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:37:56] local.INFO: Acknowledgment sent {"connection_id":46816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:37:58] local.INFO: TCP Data received {"connection_id":46287,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b55d1d0012d17f60007218610004800842c..."} 
[2026-04-17 17:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b55d1d0012d17f60007218610004800842c..."} 
[2026-04-17 17:37:58] local.INFO: Processing buffer {"connection_id":46287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b55d1d0012d17f60007218610004800842c..."} 
[2026-04-17 17:37:58] local.INFO: Packet analysis {"connection_id":46287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b55"} 
[2026-04-17 17:37:58] local.INFO: Extracted packet for processing {"connection_id":46287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b55"} 
[2026-04-17 17:37:58] local.INFO: GPS Element Parsed {"raw_longitude":756545024,"raw_latitude":119637520,"longitude_deg":75.6545024,"latitude_deg":11.963752,"altitude":72,"angle":132,"satellites":44,"speed":10,"hex_longitude":"2d17f600","hex_latitude":"07218610","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:37:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765461504001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:37:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113333775940714496,"note":"Value kept but may cause issues"} 
[2026-04-17 17:37:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726004587817029632,"note":"Value kept but may cause issues"} 
[2026-04-17 17:37:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:37:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776427586000,"timestamp_ms":1776427586000,"timestamp_seconds":1776427586,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b55d1d0"} 
[2026-04-17 17:37:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:37: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-04-17 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 17:37:58] 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-04-17 17: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-04-17 17:37:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:37:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:37:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:37:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:37:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46287,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:37:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:37:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:37:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:37:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765461504001,"66":14374,"107":206,"83":41984,"24":10,"16":113333775940714496,"45":1726004587817029632},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-17 17:37:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:37:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:37:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765461504001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:37:58] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-17 17:37:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:37:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113333775940714496,"km_value":113333775940714.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:37:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726004587817029632,"description":"Unknown IO ID 45"} 
[2026-04-17 17:37:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765461504001,"power":14374,"unknown_107":206,"unknown_83":41984,"ignition":10,"odometer":null,"unknown_45":1726004587817029632}} 
[2026-04-17 17:37:58] local.INFO: DEBUG: GPS processor result {"connection_id":46287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:37:58] local.INFO: GPS data processed {"connection_id":46287,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:37:58] local.INFO: Acknowledgment sent {"connection_id":46287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:38:27] local.INFO: TCP Data received {"connection_id":46288,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:38:27] local.INFO: Processing buffer {"connection_id":46288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:38:27] local.INFO: IMEI packet received {"connection_id":46288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:38:27] local.INFO: IMEI acknowledgment sent {"connection_id":46288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:38:27] local.INFO: TCP Data received {"connection_id":46816,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46816,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:38:27] local.INFO: Processing buffer {"connection_id":46816,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:38:27] local.INFO: Packet analysis {"connection_id":46816,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:38:27] local.INFO: Extracted packet for processing {"connection_id":46816,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:38:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765355008001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776427469000,"timestamp_ms":1776427469000,"timestamp_seconds":1776427469,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5408c8"} 
[2026-04-17 17:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 17:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:38:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46816,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46816,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765355008001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765355008001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:38:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:38:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765355008001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":46816,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:38:27] local.INFO: GPS data processed {"connection_id":46816,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:38:27] local.INFO: Acknowledgment sent {"connection_id":46816,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:38:28] local.INFO: TCP Data received {"connection_id":46288,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46288,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:38:28] local.INFO: Processing buffer {"connection_id":46288,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:38:28] local.INFO: IMEI packet received {"connection_id":46288,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:38:28] local.INFO: IMEI acknowledgment sent {"connection_id":46288,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:38:29] local.INFO: TCP Data received {"connection_id":46288,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b55dd88012d17f78007218418004700942c..."} 
[2026-04-17 17:38:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b55dd88012d17f78007218418004700942c..."} 
[2026-04-17 17:38:29] local.INFO: Processing buffer {"connection_id":46288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b55dd88012d17f78007218418004700942c..."} 
[2026-04-17 17:38:29] local.INFO: Packet analysis {"connection_id":46288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b55"} 
[2026-04-17 17:38:29] local.INFO: Extracted packet for processing {"connection_id":46288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b55"} 
[2026-04-17 17:38:29] local.INFO: GPS Element Parsed {"raw_longitude":756545408,"raw_latitude":119637016,"longitude_deg":75.6545408,"latitude_deg":11.9637016,"altitude":71,"angle":148,"satellites":44,"speed":7,"hex_longitude":"2d17f780","hex_latitude":"07218418","is_valid_coordinates":true} 
[2026-04-17 17:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:38:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765462016001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113333806005485568,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726567537770369024,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:38:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776427589000,"timestamp_ms":1776427589000,"timestamp_seconds":1776427589,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b55dd88"} 
[2026-04-17 17:38:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:38:29] 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-04-17 17:38:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 17:38:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:38:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:38:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:38:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:38:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:38:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:38:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:38:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:38:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:38:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:38:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765462016001,"66":14352,"107":206,"83":41984,"24":7,"16":113333806005485568,"45":1726567537770369024},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-17 17:38:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:38:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:38:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765462016001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:38:29] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-17 17:38:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:38:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113333806005485568,"km_value":113333806005485.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:38:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726567537770369024,"description":"Unknown IO ID 45"} 
[2026-04-17 17:38:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765462016001,"power":14352,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1726567537770369024}} 
[2026-04-17 17:38:29] local.INFO: DEBUG: GPS processor result {"connection_id":46288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:38:29] local.INFO: GPS data processed {"connection_id":46288,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:38:29] local.INFO: Acknowledgment sent {"connection_id":46288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:38:31] local.INFO: TCP Data received {"connection_id":46288,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b55e170012d17f7c007218360004700a02c..."} 
[2026-04-17 17:38:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b55e170012d17f7c007218360004700a02c..."} 
[2026-04-17 17:38:31] local.INFO: Processing buffer {"connection_id":46288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b55e170012d17f7c007218360004700a02c..."} 
[2026-04-17 17:38:31] local.INFO: Packet analysis {"connection_id":46288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b55"} 
[2026-04-17 17:38:31] local.INFO: Extracted packet for processing {"connection_id":46288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b55"} 
[2026-04-17 17:38:31] local.INFO: GPS Element Parsed {"raw_longitude":756545472,"raw_latitude":119636832,"longitude_deg":75.6545472,"latitude_deg":11.9636832,"altitude":71,"angle":160,"satellites":44,"speed":7,"hex_longitude":"2d17f7c0","hex_latitude":"07218360","is_valid_coordinates":true} 
[2026-04-17 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-04-17 17:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765462784001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113333814595420160,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1726989750235305984,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:38:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776427590000,"timestamp_ms":1776427590000,"timestamp_seconds":1776427590,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b55e170"} 
[2026-04-17 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-04-17 17:38:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":56,"n8_eight_byte":16,"data_length":795,"current_offset":136} 
[2026-04-17 17:38:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288493163733141760,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:31] local.WARNING: Large IO value detected {"io_id":83,"raw_value":2751469568,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:31] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2606084752,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:31] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7880067894875258880,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:31] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:31] local.WARNING: Large IO value detected {"io_id":227,"raw_value":4505328962306048,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:31] local.WARNING: Large IO value detected {"io_id":33,"raw_value":2286944327,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:31] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18639552487713387,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:31] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5332525845896823040,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:31] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785397454,"corrected_to":0} 
[2026-04-17 17:38:31] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472036167696,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:31] local.WARNING: Large IO value detected {"io_id":146,"raw_value":2758148096,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:31] local.WARNING: Large IO value detected {"io_id":144,"raw_value":20266963548766976,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:31] local.WARNING: Large IO value detected {"io_id":23,"raw_value":-1134899265445298104,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:31] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,107,83,24,241,157,16,164,209,45,134,72,44,10,66,202,135,71,43,190,128,1,240,92,227,155,33,4,113,205,6,182,160,239,56,2,146,7,206,144,23],"length":628,"final_offset":758,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1785397454,"validated":0}]} 
[2026-04-17 17:38:31] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5116252093392814080,"timestamp_seconds":5116252093392814.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 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-04-17 17:38:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:38:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:38:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:38:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:38:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:38:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:38:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:38:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765462784001,"66":13678,"107":206,"83":41984,"24":7,"16":113333814595420160,"45":1726989750235305984},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-17 17:38:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:38:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:38:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765462784001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:38:31] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-17 17:38:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:38:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113333814595420160,"km_value":113333814595420.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:38:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1726989750235305984,"description":"Unknown IO ID 45"} 
[2026-04-17 17:38:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765462784001,"power":13678,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1726989750235305984}} 
[2026-04-17 17:38:31] local.INFO: DEBUG: GPS processor result {"connection_id":46288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22390,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:38:31] local.INFO: GPS data processed {"connection_id":46288,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:38:31] local.INFO: Acknowledgment sent {"connection_id":46288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:38:50] local.INFO: TCP Data received {"connection_id":46289,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:38:50] local.INFO: Processing buffer {"connection_id":46289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:38:50] local.INFO: IMEI packet received {"connection_id":46289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":46289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:38:55] local.INFO: TCP Data received {"connection_id":46289,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46289,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:38:55] local.INFO: Processing buffer {"connection_id":46289,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:38:55] local.INFO: IMEI packet received {"connection_id":46289,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":46289,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:38:56] local.INFO: TCP Data received {"connection_id":46289,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:38:56] local.INFO: Processing buffer {"connection_id":46289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:38:56] local.INFO: Packet analysis {"connection_id":46289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:38:56] local.INFO: Extracted packet for processing {"connection_id":46289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765355008001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776427469000,"timestamp_ms":1776427469000,"timestamp_seconds":1776427469,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5408c8"} 
[2026-04-17 17:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 17:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765355008001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765355008001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:38:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765355008001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":46289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:38:56] local.INFO: GPS data processed {"connection_id":46289,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:38:56] local.INFO: Acknowledgment sent {"connection_id":46289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:39:02] local.INFO: TCP Data received {"connection_id":46288,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b55e558012d17f7c0072182a0004700b32c..."} 
[2026-04-17 17:39:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b55e558012d17f7c0072182a0004700b32c..."} 
[2026-04-17 17:39:02] local.INFO: Processing buffer {"connection_id":46288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b55e558012d17f7c0072182a0004700b32c..."} 
[2026-04-17 17:39:02] local.INFO: Packet analysis {"connection_id":46288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b55"} 
[2026-04-17 17:39:02] local.INFO: Extracted packet for processing {"connection_id":46288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b55"} 
[2026-04-17 17:39:02] local.INFO: GPS Element Parsed {"raw_longitude":756545472,"raw_latitude":119636640,"longitude_deg":75.6545472,"latitude_deg":11.963664,"altitude":71,"angle":179,"satellites":44,"speed":7,"hex_longitude":"2d17f7c0","hex_latitude":"072182a0","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:39:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765463040001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:39:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113333823185354752,"note":"Value kept but may cause issues"} 
[2026-04-17 17:39:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1727060118979436544,"note":"Value kept but may cause issues"} 
[2026-04-17 17:39:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:39:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776427591000,"timestamp_ms":1776427591000,"timestamp_seconds":1776427591,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b55e558"} 
[2026-04-17 17:39:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:39:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18688,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-17 17:39:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:39:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:39:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:39:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:39:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:39:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46288,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:39:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:39:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:39:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:39:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765463040001,"66":13678,"107":206,"83":41984,"24":7,"16":113333823185354752,"45":1727060118979436544},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-17 17:39:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:39:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:39:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765463040001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:39:02] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-17 17:39:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:39:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113333823185354752,"km_value":113333823185354.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:39:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1727060118979436544,"description":"Unknown IO ID 45"} 
[2026-04-17 17:39:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765463040001,"power":13678,"unknown_107":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1727060118979436544}} 
[2026-04-17 17:39:02] local.INFO: DEBUG: GPS processor result {"connection_id":46288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:39:02] local.INFO: GPS data processed {"connection_id":46288,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:39:02] local.INFO: Acknowledgment sent {"connection_id":46288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:39:18] local.INFO: TCP Data received {"connection_id":46817,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:39:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:39:18] local.INFO: Processing buffer {"connection_id":46817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:39:18] local.INFO: IMEI packet received {"connection_id":46817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:39:18] local.INFO: IMEI acknowledgment sent {"connection_id":46817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:39:21] local.INFO: TCP Data received {"connection_id":46817,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:39:21] local.INFO: Processing buffer {"connection_id":46817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:39:21] local.INFO: IMEI packet received {"connection_id":46817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":46817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:39:25] local.INFO: TCP Data received {"connection_id":46817,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:39:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46817,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:39:25] local.INFO: Processing buffer {"connection_id":46817,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:39:25] local.INFO: IMEI packet received {"connection_id":46817,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:39:25] local.INFO: IMEI acknowledgment sent {"connection_id":46817,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:39:26] local.INFO: TCP Data received {"connection_id":46817,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b57a690012d1775400720e878003800dd26..."} 
[2026-04-17 17:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b57a690012d1775400720e878003800dd26..."} 
[2026-04-17 17:39:26] local.INFO: Processing buffer {"connection_id":46817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b57a690012d1775400720e878003800dd26..."} 
[2026-04-17 17:39:26] local.INFO: Packet analysis {"connection_id":46817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b57"} 
[2026-04-17 17:39:26] local.INFO: Extracted packet for processing {"connection_id":46817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b57"} 
[2026-04-17 17:39:26] local.INFO: GPS Element Parsed {"raw_longitude":756512064,"raw_latitude":119597176,"longitude_deg":75.6512064,"latitude_deg":11.9597176,"altitude":56,"angle":221,"satellites":38,"speed":49,"hex_longitude":"2d177540","hex_latitude":"0720e878","is_valid_coordinates":true} 
[2026-04-17 17:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765490688001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113336352921092096,"note":"Value kept but may cause issues"} 
[2026-04-17 17:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1697786721393047552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776427706000,"timestamp_ms":1776427706000,"timestamp_seconds":1776427706,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b57a690"} 
[2026-04-17 17:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:39: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-04-17 17:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-17 17:39:26] 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-04-17 17:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765490688001,"66":14048,"107":206,"83":41984,"24":49,"16":113336352921092096,"45":1697786721393047552},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-17 17:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765490688001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:39:26] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-17 17:39:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113336352921092096,"km_value":113336352921092.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1697786721393047552,"description":"Unknown IO ID 45"} 
[2026-04-17 17:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765490688001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1697786721393047552}} 
[2026-04-17 17:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":46817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:39:26] local.INFO: GPS data processed {"connection_id":46817,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:39:26] local.INFO: Acknowledgment sent {"connection_id":46817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:39:26] local.INFO: TCP Data received {"connection_id":46817,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b57a690012d1775400720e878003800dd26..."} 
[2026-04-17 17:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b57a690012d1775400720e878003800dd26..."} 
[2026-04-17 17:39:26] local.INFO: Processing buffer {"connection_id":46817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b57a690012d1775400720e878003800dd26..."} 
[2026-04-17 17:39:26] local.INFO: Packet analysis {"connection_id":46817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b57"} 
[2026-04-17 17:39:26] local.INFO: Extracted packet for processing {"connection_id":46817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b57"} 
[2026-04-17 17:39:26] local.INFO: GPS Element Parsed {"raw_longitude":756512064,"raw_latitude":119597176,"longitude_deg":75.6512064,"latitude_deg":11.9597176,"altitude":56,"angle":221,"satellites":38,"speed":49,"hex_longitude":"2d177540","hex_latitude":"0720e878","is_valid_coordinates":true} 
[2026-04-17 17:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765492736001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113336352921092096,"note":"Value kept but may cause issues"} 
[2026-04-17 17:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1690327634508544000,"note":"Value kept but may cause issues"} 
[2026-04-17 17:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776427706000,"timestamp_ms":1776427706000,"timestamp_seconds":1776427706,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b57a690"} 
[2026-04-17 17:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:39:26] 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-04-17 17:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 17:39:26] 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-04-17 17:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765492736001,"66":14048,"107":206,"83":41984,"24":49,"16":113336352921092096,"45":1690327634508544000},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-17 17:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765492736001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:39:26] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-17 17:39:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113336352921092096,"km_value":113336352921092.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1690327634508544000,"description":"Unknown IO ID 45"} 
[2026-04-17 17:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765492736001,"power":14048,"unknown_107":206,"unknown_83":41984,"ignition":49,"odometer":null,"unknown_45":1690327634508544000}} 
[2026-04-17 17:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":46817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22394,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:39:27] local.INFO: GPS data processed {"connection_id":46817,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:39:27] local.INFO: Acknowledgment sent {"connection_id":46817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:39:27] local.INFO: TCP Data received {"connection_id":46289,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:39:27] local.INFO: Processing buffer {"connection_id":46289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:39:27] local.INFO: Packet analysis {"connection_id":46289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:39:27] local.INFO: Extracted packet for processing {"connection_id":46289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765355008001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776427469000,"timestamp_ms":1776427469000,"timestamp_seconds":1776427469,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5408c8"} 
[2026-04-17 17:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 17:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46289,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765355008001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765355008001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:39:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:39:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765355008001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":46289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:39:27] local.INFO: GPS data processed {"connection_id":46289,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:39:27] local.INFO: Acknowledgment sent {"connection_id":46289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:39:50] local.INFO: TCP Data received {"connection_id":45958,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:39:50] local.INFO: Processing buffer {"connection_id":45958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:39:50] local.INFO: IMEI packet received {"connection_id":45958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":45958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:39:55] local.INFO: TCP Data received {"connection_id":45958,"ip":"42.106.6.31","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45958,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:39:55] local.INFO: Processing buffer {"connection_id":45958,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:39:55] local.INFO: IMEI packet received {"connection_id":45958,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":45958,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:39:56] local.INFO: TCP Data received {"connection_id":45958,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:39:56] local.INFO: Processing buffer {"connection_id":45958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5408c8012d7faac005afe1800000000927..."} 
[2026-04-17 17:39:56] local.INFO: Packet analysis {"connection_id":45958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:39:56] local.INFO: Extracted packet for processing {"connection_id":45958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b54"} 
[2026-04-17 17:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765355008001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776427469000,"timestamp_ms":1776427469000,"timestamp_seconds":1776427469,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5408c8"} 
[2026-04-17 17:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 17:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765355008001,"66":25375,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765355008001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:39:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765355008001,"power":25375,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":45958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22396,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:39:56] local.INFO: GPS data processed {"connection_id":45958,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:39:56] local.INFO: Acknowledgment sent {"connection_id":45958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:39:57] local.INFO: TCP Data received {"connection_id":46817,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b57c1e8012d175d400720ce80003300e22c..."} 
[2026-04-17 17:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46817,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b57c1e8012d175d400720ce80003300e22c..."} 
[2026-04-17 17:39:57] local.INFO: Processing buffer {"connection_id":46817,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b57c1e8012d175d400720ce80003300e22c..."} 
[2026-04-17 17:39:57] local.INFO: Packet analysis {"connection_id":46817,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b57"} 
[2026-04-17 17:39:57] local.INFO: Extracted packet for processing {"connection_id":46817,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b57"} 
[2026-04-17 17:39:57] local.INFO: GPS Element Parsed {"raw_longitude":756505920,"raw_latitude":119590528,"longitude_deg":75.650592,"latitude_deg":11.9590528,"altitude":51,"angle":226,"satellites":44,"speed":52,"hex_longitude":"2d175d40","hex_latitude":"0720ce80","is_valid_coordinates":true} 
[2026-04-17 17:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:39:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765492736001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:39:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113336786712788992,"note":"Value kept but may cause issues"} 
[2026-04-17 17:39:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1690327634508544000,"note":"Value kept but may cause issues"} 
[2026-04-17 17:39:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:39:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776427713000,"timestamp_ms":1776427713000,"timestamp_seconds":1776427713,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b57c1e8"} 
[2026-04-17 17:39:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:39:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:39:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 17:39:57] 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-04-17 17:39:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:39:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:39:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:39:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46817,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:39:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:39:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46817,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:39:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:39:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:39:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:39:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765492736001,"66":14352,"107":206,"83":41984,"24":52,"16":113336786712788992,"45":1690327634508544000},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-17 17:39:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:39:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:39:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765492736001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:39:57] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-17 17:39:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:39:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113336786712788992,"km_value":113336786712788.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:39:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1690327634508544000,"description":"Unknown IO ID 45"} 
[2026-04-17 17:39:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765492736001,"power":14352,"unknown_107":206,"unknown_83":41984,"ignition":52,"odometer":null,"unknown_45":1690327634508544000}} 
[2026-04-17 17:39:57] local.INFO: DEBUG: GPS processor result {"connection_id":46817,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:39:57] local.INFO: GPS data processed {"connection_id":46817,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:39:57] local.INFO: Acknowledgment sent {"connection_id":46817,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:40:21] local.INFO: TCP Data received {"connection_id":46818,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:40:21] local.INFO: Processing buffer {"connection_id":46818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:40:21] local.INFO: IMEI packet received {"connection_id":46818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":46818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:40:21] local.INFO: TCP Data received {"connection_id":46818,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:40:21] local.INFO: Processing buffer {"connection_id":46818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:40:21] local.INFO: IMEI packet received {"connection_id":46818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":46818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:40:22] local.INFO: TCP Data received {"connection_id":46818,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:40:22] local.INFO: Processing buffer {"connection_id":46818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:40:22] local.INFO: IMEI packet received {"connection_id":46818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":46818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:40:22] local.INFO: TCP Data received {"connection_id":46818,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46818,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:40:22] local.INFO: Processing buffer {"connection_id":46818,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:40:22] local.INFO: IMEI packet received {"connection_id":46818,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":46818,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:40:26] local.INFO: TCP Data received {"connection_id":45958,"ip":"42.106.6.31","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:40:27] local.INFO: Processing buffer {"connection_id":45958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:40:27] local.INFO: Packet analysis {"connection_id":45958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:40:27] local.INFO: Extracted packet for processing {"connection_id":45958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765432064001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776427770000,"timestamp_ms":1776427770000,"timestamp_seconds":1776427770,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b58a090"} 
[2026-04-17 17:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45958,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.31","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765432064001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.31","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765432064001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:40:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:40:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765432064001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":45958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:40:27] local.INFO: GPS data processed {"connection_id":45958,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:40:27] local.INFO: Acknowledgment sent {"connection_id":45958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:40:50] local.INFO: TCP Data received {"connection_id":46062,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:40:50] local.INFO: Processing buffer {"connection_id":46062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:40:50] local.INFO: IMEI packet received {"connection_id":46062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":46062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:40:55] local.INFO: TCP Data received {"connection_id":46062,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:40:55] local.INFO: Processing buffer {"connection_id":46062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:40:55] local.INFO: IMEI packet received {"connection_id":46062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":46062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:40:56] local.INFO: TCP Data received {"connection_id":46062,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:40:56] local.INFO: Processing buffer {"connection_id":46062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:40:56] local.INFO: Packet analysis {"connection_id":46062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:40:56] local.INFO: Extracted packet for processing {"connection_id":46062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765432064001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776427770000,"timestamp_ms":1776427770000,"timestamp_seconds":1776427770,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b58a090"} 
[2026-04-17 17:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:40:56] 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-04-17 17:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765432064001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765432064001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:40:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765432064001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":46062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22399,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:40:56] local.INFO: GPS data processed {"connection_id":46062,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:40:56] local.INFO: Acknowledgment sent {"connection_id":46062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:41:27] local.INFO: TCP Data received {"connection_id":46062,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:41:27] local.INFO: Processing buffer {"connection_id":46062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:41:27] local.INFO: Packet analysis {"connection_id":46062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:41:27] local.INFO: Extracted packet for processing {"connection_id":46062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765432064001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776427770000,"timestamp_ms":1776427770000,"timestamp_seconds":1776427770,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b58a090"} 
[2026-04-17 17:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765432064001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765432064001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:41:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765432064001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":46062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:41:27] local.INFO: GPS data processed {"connection_id":46062,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:41:27] local.INFO: Acknowledgment sent {"connection_id":46062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:41:39] local.INFO: TCP Data received {"connection_id":46063,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:41:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:41:39] local.INFO: Processing buffer {"connection_id":46063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:41:39] local.INFO: IMEI packet received {"connection_id":46063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:41:39] local.INFO: IMEI acknowledgment sent {"connection_id":46063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:41:50] local.INFO: TCP Data received {"connection_id":46819,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:41:50] local.INFO: Processing buffer {"connection_id":46819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:41:50] local.INFO: IMEI packet received {"connection_id":46819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":46819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:41:55] local.INFO: TCP Data received {"connection_id":46819,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46819,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:41:55] local.INFO: Processing buffer {"connection_id":46819,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:41:55] local.INFO: IMEI packet received {"connection_id":46819,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":46819,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:41:56] local.INFO: TCP Data received {"connection_id":46819,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:41:56] local.INFO: Processing buffer {"connection_id":46819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:41:56] local.INFO: Packet analysis {"connection_id":46819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:41:56] local.INFO: Extracted packet for processing {"connection_id":46819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765432064001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776427770000,"timestamp_ms":1776427770000,"timestamp_seconds":1776427770,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b58a090"} 
[2026-04-17 17:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765432064001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765432064001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:41:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765432064001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":46819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22401,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:41:56] local.INFO: GPS data processed {"connection_id":46819,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:41:56] local.INFO: Acknowledgment sent {"connection_id":46819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:42:10] local.INFO: TCP Data received {"connection_id":46820,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:42:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46820,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:42:10] local.INFO: Processing buffer {"connection_id":46820,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:42:10] local.INFO: IMEI packet received {"connection_id":46820,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:42:10] local.INFO: IMEI acknowledgment sent {"connection_id":46820,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:42:27] local.INFO: TCP Data received {"connection_id":46819,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46819,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:42:27] local.INFO: Processing buffer {"connection_id":46819,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:42:27] local.INFO: Packet analysis {"connection_id":46819,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:42:27] local.INFO: Extracted packet for processing {"connection_id":46819,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:42:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765432064001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776427770000,"timestamp_ms":1776427770000,"timestamp_seconds":1776427770,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b58a090"} 
[2026-04-17 17:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46819,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46819,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765432064001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765432064001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:42:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:42:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765432064001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":46819,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22402,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:42:27] local.INFO: GPS data processed {"connection_id":46819,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:42:27] local.INFO: Acknowledgment sent {"connection_id":46819,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:42:50] local.INFO: TCP Data received {"connection_id":46292,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:42:50] local.INFO: Processing buffer {"connection_id":46292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:42:50] local.INFO: IMEI packet received {"connection_id":46292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":46292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:42:55] local.INFO: TCP Data received {"connection_id":46292,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46292,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:42:55] local.INFO: Processing buffer {"connection_id":46292,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:42:55] local.INFO: IMEI packet received {"connection_id":46292,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":46292,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:42:56] local.INFO: TCP Data received {"connection_id":46292,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:42:56] local.INFO: Processing buffer {"connection_id":46292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:42:56] local.INFO: Packet analysis {"connection_id":46292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:42:56] local.INFO: Extracted packet for processing {"connection_id":46292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765432064001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776427770000,"timestamp_ms":1776427770000,"timestamp_seconds":1776427770,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b58a090"} 
[2026-04-17 17:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765432064001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765432064001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:42:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765432064001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":46292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:42:56] local.INFO: GPS data processed {"connection_id":46292,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:42:56] local.INFO: Acknowledgment sent {"connection_id":46292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:43:27] local.INFO: TCP Data received {"connection_id":46292,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46292,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:43:27] local.INFO: Processing buffer {"connection_id":46292,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:43:27] local.INFO: Packet analysis {"connection_id":46292,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:43:27] local.INFO: Extracted packet for processing {"connection_id":46292,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765432064001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776427770000,"timestamp_ms":1776427770000,"timestamp_seconds":1776427770,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b58a090"} 
[2026-04-17 17:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46292,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46292,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765432064001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765432064001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:43:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765432064001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":46292,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22404,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:43:27] local.INFO: GPS data processed {"connection_id":46292,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:43:27] local.INFO: Acknowledgment sent {"connection_id":46292,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:43:50] local.INFO: TCP Data received {"connection_id":45959,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:43:50] local.INFO: Processing buffer {"connection_id":45959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:43:50] local.INFO: IMEI packet received {"connection_id":45959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":45959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:43:55] local.INFO: TCP Data received {"connection_id":45959,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45959,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:43:55] local.INFO: Processing buffer {"connection_id":45959,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:43:55] local.INFO: IMEI packet received {"connection_id":45959,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":45959,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:43:56] local.INFO: TCP Data received {"connection_id":45959,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:43:56] local.INFO: Processing buffer {"connection_id":45959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:43:56] local.INFO: Packet analysis {"connection_id":45959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:43:56] local.INFO: Extracted packet for processing {"connection_id":45959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765432064001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776427770000,"timestamp_ms":1776427770000,"timestamp_seconds":1776427770,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b58a090"} 
[2026-04-17 17:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765432064001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765432064001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:43:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765432064001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":45959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:43:56] local.INFO: GPS data processed {"connection_id":45959,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:43:56] local.INFO: Acknowledgment sent {"connection_id":45959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:44:27] local.INFO: TCP Data received {"connection_id":45959,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:44:27] local.INFO: Processing buffer {"connection_id":45959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:44:27] local.INFO: Packet analysis {"connection_id":45959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:44:27] local.INFO: Extracted packet for processing {"connection_id":45959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765432064001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776427770000,"timestamp_ms":1776427770000,"timestamp_seconds":1776427770,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b58a090"} 
[2026-04-17 17:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45959,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765432064001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765432064001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:44:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765432064001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":45959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22406,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:44:27] local.INFO: GPS data processed {"connection_id":45959,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:44:27] local.INFO: Acknowledgment sent {"connection_id":45959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:44:55] local.INFO: TCP Data received {"connection_id":46294,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:44:55] local.INFO: Processing buffer {"connection_id":46294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:44:55] local.INFO: IMEI packet received {"connection_id":46294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":46294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:45:00] local.INFO: TCP Data received {"connection_id":46294,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46294,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:45:00] local.INFO: Processing buffer {"connection_id":46294,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:45:00] local.INFO: IMEI packet received {"connection_id":46294,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:45:00] local.INFO: IMEI acknowledgment sent {"connection_id":46294,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:45:01] local.INFO: TCP Data received {"connection_id":46294,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:45:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:45:01] local.INFO: Processing buffer {"connection_id":46294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:45:01] local.INFO: Packet analysis {"connection_id":46294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:45:01] local.INFO: Extracted packet for processing {"connection_id":46294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:45:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:45:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765432064001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:45:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:45:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:45:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:45:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776427770000,"timestamp_ms":1776427770000,"timestamp_seconds":1776427770,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b58a090"} 
[2026-04-17 17:45:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:45:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:45:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:45:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:45:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:45:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:45:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:45:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:45:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:45:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:45:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:45:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:45:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:45:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765432064001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:45:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:45:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:45:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765432064001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:45:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:45:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:45:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:45:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:45:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765432064001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:45:01] local.INFO: DEBUG: GPS processor result {"connection_id":46294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:45:01] local.INFO: GPS data processed {"connection_id":46294,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:45:01] local.INFO: Acknowledgment sent {"connection_id":46294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:45:06] local.INFO: TCP Data received {"connection_id":46294,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:45:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46294,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:45:06] local.INFO: Processing buffer {"connection_id":46294,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b58a090012d7faac005afe1800000000924..."} 
[2026-04-17 17:45:06] local.INFO: Packet analysis {"connection_id":46294,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:45:06] local.INFO: Extracted packet for processing {"connection_id":46294,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b58"} 
[2026-04-17 17:45:06] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 17:45:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765432064001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:45:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:45:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:45:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:45:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776427770000,"timestamp_ms":1776427770000,"timestamp_seconds":1776427770,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b58a090"} 
[2026-04-17 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-04-17 17:45:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 17:45:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":972,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 17:45:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:45:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46294,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:45:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:45:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46294,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:45:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:45:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:45:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:45:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765432064001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:45:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:45:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:45:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765432064001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:45:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:45:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:45:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:45:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:45:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765432064001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:45:06] local.INFO: DEBUG: GPS processor result {"connection_id":46294,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:45:06] local.INFO: GPS data processed {"connection_id":46294,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:45:06] local.INFO: Acknowledgment sent {"connection_id":46294,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:45:26] local.INFO: TCP Data received {"connection_id":46066,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46066,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:45:26] local.INFO: Processing buffer {"connection_id":46066,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:45:26] local.INFO: IMEI packet received {"connection_id":46066,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":46066,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:45:27] local.INFO: TCP Data received {"connection_id":46066,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5b2130012d166d4007200420002300222d..."} 
[2026-04-17 17:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5b2130012d166d4007200420002300222d..."} 
[2026-04-17 17:45:27] local.INFO: Processing buffer {"connection_id":46066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5b2130012d166d4007200420002300222d..."} 
[2026-04-17 17:45:27] local.INFO: Packet analysis {"connection_id":46066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5b"} 
[2026-04-17 17:45:27] local.INFO: Extracted packet for processing {"connection_id":46066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5b"} 
[2026-04-17 17:45:27] local.INFO: GPS Element Parsed {"raw_longitude":756444480,"raw_latitude":119538720,"longitude_deg":75.644448,"latitude_deg":11.953872,"altitude":35,"angle":34,"satellites":45,"speed":7,"hex_longitude":"2d166d40","hex_latitude":"07200420","is_valid_coordinates":true} 
[2026-04-17 17:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765550592001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113341416687534080,"note":"Value kept but may cause issues"} 
[2026-04-17 17:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1615877503153555456,"note":"Value kept but may cause issues"} 
[2026-04-17 17:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776427934000,"timestamp_ms":1776427934000,"timestamp_seconds":1776427934,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5b2130"} 
[2026-04-17 17:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:45: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-04-17 17:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 17:45:27] 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-04-17 17:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765550592001,"66":14428,"85":206,"83":41984,"24":7,"16":113341416687534080,"45":1615877503153555456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-17 17:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765550592001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:45:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-17 17:45:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113341416687534080,"km_value":113341416687534.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1615877503153555456,"description":"Unknown IO ID 45"} 
[2026-04-17 17:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765550592001,"power":14428,"unknown_85":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1615877503153555456}} 
[2026-04-17 17:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":46066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:45:27] local.INFO: GPS data processed {"connection_id":46066,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:45:27] local.INFO: Acknowledgment sent {"connection_id":46066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:45:50] local.INFO: TCP Data received {"connection_id":46296,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:45:50] local.INFO: Processing buffer {"connection_id":46296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:45:50] local.INFO: IMEI packet received {"connection_id":46296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":46296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:45:55] local.INFO: TCP Data received {"connection_id":46296,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46296,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:45:55] local.INFO: Processing buffer {"connection_id":46296,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:45:55] local.INFO: IMEI packet received {"connection_id":46296,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":46296,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:45:56] local.INFO: TCP Data received {"connection_id":46296,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:45:56] local.INFO: Processing buffer {"connection_id":46296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:45:56] local.INFO: Packet analysis {"connection_id":46296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:45:56] local.INFO: Extracted packet for processing {"connection_id":46296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765509120001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776428071000,"timestamp_ms":1776428071000,"timestamp_seconds":1776428071,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5d3858"} 
[2026-04-17 17:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 17:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765509120001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765509120001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:45:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765509120001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":46296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22410,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:45:56] local.INFO: GPS data processed {"connection_id":46296,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:45:56] local.INFO: Acknowledgment sent {"connection_id":46296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:45:59] local.INFO: TCP Data received {"connection_id":46066,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5da9a0012d16b6c007202d90002600332f..."} 
[2026-04-17 17:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5da9a0012d16b6c007202d90002600332f..."} 
[2026-04-17 17:45:59] local.INFO: Processing buffer {"connection_id":46066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5da9a0012d16b6c007202d90002600332f..."} 
[2026-04-17 17:45:59] local.INFO: Packet analysis {"connection_id":46066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:45:59] local.INFO: Extracted packet for processing {"connection_id":46066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756463296,"raw_latitude":119549328,"longitude_deg":75.6463296,"latitude_deg":11.9549328,"altitude":38,"angle":51,"satellites":47,"speed":47,"hex_longitude":"2d16b6c0","hex_latitude":"07202d90","is_valid_coordinates":true} 
[2026-04-17 17:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765593600001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113342456069619712,"note":"Value kept but may cause issues"} 
[2026-04-17 17:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1636706651432914944,"note":"Value kept but may cause issues"} 
[2026-04-17 17:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,85,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776428100000,"timestamp_ms":1776428100000,"timestamp_seconds":1776428100,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5da9a0"} 
[2026-04-17 17:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-17 17:45:59] 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-04-17 17:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46066,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765593600001,"66":13961,"85":206,"83":41984,"24":47,"16":113342456069619712,"45":1636706651432914944},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,85,83,24,16,45]} 
[2026-04-17 17:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765593600001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:45:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":206,"description":"Unknown IO ID 85"} 
[2026-04-17 17:45:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113342456069619712,"km_value":113342456069619.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1636706651432914944,"description":"Unknown IO ID 45"} 
[2026-04-17 17:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765593600001,"power":13961,"unknown_85":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1636706651432914944}} 
[2026-04-17 17:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":46066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22411,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:45:59] local.INFO: GPS data processed {"connection_id":46066,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:45:59] local.INFO: Acknowledgment sent {"connection_id":46066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:46:21] local.INFO: TCP Data received {"connection_id":46822,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:46:21] local.INFO: Processing buffer {"connection_id":46822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:46:21] local.INFO: IMEI packet received {"connection_id":46822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":46822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:46:26] local.INFO: TCP Data received {"connection_id":46822,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46822,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:46:26] local.INFO: Processing buffer {"connection_id":46822,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:46:26] local.INFO: IMEI packet received {"connection_id":46822,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":46822,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:46:27] local.INFO: TCP Data received {"connection_id":46296,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46296,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:46:27] local.INFO: Processing buffer {"connection_id":46296,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:46:27] local.INFO: Packet analysis {"connection_id":46296,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:46:27] local.INFO: Extracted packet for processing {"connection_id":46296,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:46:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765509120001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776428071000,"timestamp_ms":1776428071000,"timestamp_seconds":1776428071,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5d3858"} 
[2026-04-17 17:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 17:46:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46296,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46296,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765509120001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765509120001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:46:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:46:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765509120001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":46296,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:46:27] local.INFO: GPS data processed {"connection_id":46296,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:46:27] local.INFO: Acknowledgment sent {"connection_id":46296,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:46:28] local.INFO: TCP Data received {"connection_id":46822,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5dc8e0012d16d38007204940002200282c..."} 
[2026-04-17 17:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5dc8e0012d16d38007204940002200282c..."} 
[2026-04-17 17:46:28] local.INFO: Processing buffer {"connection_id":46822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5dc8e0012d16d38007204940002200282c..."} 
[2026-04-17 17:46:28] local.INFO: Packet analysis {"connection_id":46822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:46:28] local.INFO: Extracted packet for processing {"connection_id":46822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756470656,"raw_latitude":119556416,"longitude_deg":75.6470656,"latitude_deg":11.9556416,"altitude":34,"angle":40,"satellites":44,"speed":51,"hex_longitude":"2d16d380","hex_latitude":"07204940","is_valid_coordinates":true} 
[2026-04-17 17:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765593600001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113342945695891456,"note":"Value kept but may cause issues"} 
[2026-04-17 17:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1636706651432914944,"note":"Value kept but may cause issues"} 
[2026-04-17 17:46:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776428108000,"timestamp_ms":1776428108000,"timestamp_seconds":1776428108,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5dc8e0"} 
[2026-04-17 17:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:46:28] 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-04-17 17:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-17 17:46:28] 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-04-17 17:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765593600001,"66":14026,"107":206,"83":41984,"24":51,"16":113342945695891456,"45":1636706651432914944},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-17 17:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765593600001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:46:28] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-17 17:46:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113342945695891456,"km_value":113342945695891.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1636706651432914944,"description":"Unknown IO ID 45"} 
[2026-04-17 17:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765593600001,"power":14026,"unknown_107":206,"unknown_83":41984,"ignition":51,"odometer":null,"unknown_45":1636706651432914944}} 
[2026-04-17 17:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":46822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:46:28] local.INFO: GPS data processed {"connection_id":46822,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:46:28] local.INFO: Acknowledgment sent {"connection_id":46822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:46:50] local.INFO: TCP Data received {"connection_id":46297,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:46:50] local.INFO: Processing buffer {"connection_id":46297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:46:50] local.INFO: IMEI packet received {"connection_id":46297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":46297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:46:56] local.INFO: TCP Data received {"connection_id":46297,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:46:56] local.INFO: Processing buffer {"connection_id":46297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:46:56] local.INFO: IMEI packet received {"connection_id":46297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:46:56] local.INFO: IMEI acknowledgment sent {"connection_id":46297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:46:57] local.INFO: TCP Data received {"connection_id":46297,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:46:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:46:57] local.INFO: Processing buffer {"connection_id":46297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:46:57] local.INFO: Packet analysis {"connection_id":46297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:46:57] local.INFO: Extracted packet for processing {"connection_id":46297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:46:57] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:46:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765509120001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:46:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:46:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:46:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:46:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776428071000,"timestamp_ms":1776428071000,"timestamp_seconds":1776428071,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5d3858"} 
[2026-04-17 17:46:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:46:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:46:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 17:46:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:46:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:46:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:46:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:46:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:46:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:46:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:46:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.23","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:46:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:46:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:46:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765509120001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:46:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:46:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:46:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765509120001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:46:57] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:46:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:46:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:46:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:46:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765509120001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:46:57] local.INFO: DEBUG: GPS processor result {"connection_id":46297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:46:57] local.INFO: GPS data processed {"connection_id":46297,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:46:57] local.INFO: Acknowledgment sent {"connection_id":46297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:46:59] local.INFO: TCP Data received {"connection_id":46822,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5de820012d16eb8007206610002400282a..."} 
[2026-04-17 17:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46822,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5de820012d16eb8007206610002400282a..."} 
[2026-04-17 17:46:59] local.INFO: Processing buffer {"connection_id":46822,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5de820012d16eb8007206610002400282a..."} 
[2026-04-17 17:46:59] local.INFO: Packet analysis {"connection_id":46822,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:46:59] local.INFO: Extracted packet for processing {"connection_id":46822,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:46:59] local.INFO: GPS Element Parsed {"raw_longitude":756476800,"raw_latitude":119563792,"longitude_deg":75.64768,"latitude_deg":11.9563792,"altitude":36,"angle":40,"satellites":42,"speed":45,"hex_longitude":"2d16eb80","hex_latitude":"07206610","is_valid_coordinates":true} 
[2026-04-17 17:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765595648001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113343409552359424,"note":"Value kept but may cause issues"} 
[2026-04-17 17:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1644799057015160832,"note":"Value kept but may cause issues"} 
[2026-04-17 17:46:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776428116000,"timestamp_ms":1776428116000,"timestamp_seconds":1776428116,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5de820"} 
[2026-04-17 17:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-04-17 17:46:59] 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-04-17 17:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46822,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46822,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765595648001,"66":13993,"107":206,"83":41984,"24":45,"16":113343409552359424,"45":1644799057015160832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-17 17:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765595648001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:46:59] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-17 17:46:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113343409552359424,"km_value":113343409552359.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1644799057015160832,"description":"Unknown IO ID 45"} 
[2026-04-17 17:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765595648001,"power":13993,"unknown_107":206,"unknown_83":41984,"ignition":45,"odometer":null,"unknown_45":1644799057015160832}} 
[2026-04-17 17:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":46822,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:46:59] local.INFO: GPS data processed {"connection_id":46822,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:46:59] local.INFO: Acknowledgment sent {"connection_id":46822,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:47:21] local.INFO: TCP Data received {"connection_id":46299,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:47:21] local.INFO: Processing buffer {"connection_id":46299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:47:21] local.INFO: IMEI packet received {"connection_id":46299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":46299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:47:22] local.INFO: TCP Data received {"connection_id":46299,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:47:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:47:22] local.INFO: Processing buffer {"connection_id":46299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:47:22] local.INFO: IMEI packet received {"connection_id":46299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:47:22] local.INFO: IMEI acknowledgment sent {"connection_id":46299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:47:26] local.INFO: TCP Data received {"connection_id":46299,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46299,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:47:26] local.INFO: Processing buffer {"connection_id":46299,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:47:26] local.INFO: IMEI packet received {"connection_id":46299,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":46299,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:47:27] local.INFO: TCP Data received {"connection_id":46299,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5e0760012d1703c0072081400024002a24..."} 
[2026-04-17 17:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5e0760012d1703c0072081400024002a24..."} 
[2026-04-17 17:47:27] local.INFO: Processing buffer {"connection_id":46299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5e0760012d1703c0072081400024002a24..."} 
[2026-04-17 17:47:27] local.INFO: Packet analysis {"connection_id":46299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5e"} 
[2026-04-17 17:47:27] local.INFO: Extracted packet for processing {"connection_id":46299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5e"} 
[2026-04-17 17:47:27] local.INFO: GPS Element Parsed {"raw_longitude":756483008,"raw_latitude":119570752,"longitude_deg":75.6483008,"latitude_deg":11.9570752,"altitude":36,"angle":42,"satellites":36,"speed":47,"hex_longitude":"2d1703c0","hex_latitude":"07208140","is_valid_coordinates":true} 
[2026-04-17 17:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765597696001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113343856228958208,"note":"Value kept but may cause issues"} 
[2026-04-17 17:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1651554456458104832,"note":"Value kept but may cause issues"} 
[2026-04-17 17:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,107,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776428124000,"timestamp_ms":1776428124000,"timestamp_seconds":1776428124,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5e0760"} 
[2026-04-17 17:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:47: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-04-17 17:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 17:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765597696001,"66":13972,"107":206,"83":41984,"24":47,"16":113343856228958208,"45":1651554456458104832},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,107,83,24,16,45]} 
[2026-04-17 17:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765597696001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:47:27] local.INFO: Unknown IO ID detected {"io_id":107,"value":206,"description":"Unknown IO ID 107"} 
[2026-04-17 17:47:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113343856228958208,"km_value":113343856228958.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1651554456458104832,"description":"Unknown IO ID 45"} 
[2026-04-17 17:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765597696001,"power":13972,"unknown_107":206,"unknown_83":41984,"ignition":47,"odometer":null,"unknown_45":1651554456458104832}} 
[2026-04-17 17:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":46299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22416,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:47:27] local.INFO: GPS data processed {"connection_id":46299,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:47:27] local.INFO: Acknowledgment sent {"connection_id":46299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:47:28] local.INFO: TCP Data received {"connection_id":46297,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:47:28] local.INFO: Processing buffer {"connection_id":46297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:47:28] local.INFO: Packet analysis {"connection_id":46297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:47:28] local.INFO: Extracted packet for processing {"connection_id":46297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:47:28] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765509120001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:47:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776428071000,"timestamp_ms":1776428071000,"timestamp_seconds":1776428071,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5d3858"} 
[2026-04-17 17:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 17:47:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:47:28] 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-04-17 17:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765509120001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765509120001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:47:28] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:47:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765509120001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":46297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22417,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:47:28] local.INFO: GPS data processed {"connection_id":46297,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:47:28] local.INFO: Acknowledgment sent {"connection_id":46297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:47:50] local.INFO: TCP Data received {"connection_id":46067,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:47:50] local.INFO: Processing buffer {"connection_id":46067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:47:50] local.INFO: IMEI packet received {"connection_id":46067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":46067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:47:55] local.INFO: TCP Data received {"connection_id":46067,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:47:55] local.INFO: Processing buffer {"connection_id":46067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:47:55] local.INFO: IMEI packet received {"connection_id":46067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":46067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:47:56] local.INFO: TCP Data received {"connection_id":46067,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:47:56] local.INFO: Processing buffer {"connection_id":46067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:47:56] local.INFO: Packet analysis {"connection_id":46067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:47:56] local.INFO: Extracted packet for processing {"connection_id":46067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:47:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765509120001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776428071000,"timestamp_ms":1776428071000,"timestamp_seconds":1776428071,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5d3858"} 
[2026-04-17 17:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 17:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765509120001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765509120001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:47:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765509120001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":46067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:47:56] local.INFO: GPS data processed {"connection_id":46067,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:47:56] local.INFO: Acknowledgment sent {"connection_id":46067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:47:59] local.INFO: TCP Data received {"connection_id":46299,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5f7690012d180ec007219550004300262e..."} 
[2026-04-17 17:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46299,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5f7690012d180ec007219550004300262e..."} 
[2026-04-17 17:47:59] local.INFO: Processing buffer {"connection_id":46299,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5f7690012d180ec007219550004300262e..."} 
[2026-04-17 17:47:59] local.INFO: Packet analysis {"connection_id":46299,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5f"} 
[2026-04-17 17:47:59] local.INFO: Extracted packet for processing {"connection_id":46299,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5f"} 
[2026-04-17 17:47:59] local.INFO: GPS Element Parsed {"raw_longitude":756551360,"raw_latitude":119641424,"longitude_deg":75.655136,"latitude_deg":11.9641424,"altitude":67,"angle":38,"satellites":46,"speed":38,"hex_longitude":"2d180ec0","hex_latitude":"07219550","is_valid_coordinates":true} 
[2026-04-17 17:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765621504001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113348615052722176,"note":"Value kept but may cause issues"} 
[2026-04-17 17:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1725934219072147456,"note":"Value kept but may cause issues"} 
[2026-04-17 17:47:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776428218000,"timestamp_ms":1776428218000,"timestamp_seconds":1776428218,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5f7690"} 
[2026-04-17 17:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-17 17:47:59] 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-04-17 17:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46299,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46299,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765621504001,"66":13972,"105":206,"83":41984,"24":38,"16":113348615052722176,"45":1725934219072147456},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 17:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765621504001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:47:59] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 17:47:59] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113348615052722176,"km_value":113348615052722.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1725934219072147456,"description":"Unknown IO ID 45"} 
[2026-04-17 17:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765621504001,"power":13972,"unknown_105":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1725934219072147456}} 
[2026-04-17 17:47:59] local.INFO: TCP Data received {"connection_id":46068,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46068,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:47:59] local.INFO: Processing buffer {"connection_id":46068,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:47:59] local.INFO: IMEI packet received {"connection_id":46068,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:47:59] local.INFO: IMEI acknowledgment sent {"connection_id":46068,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":46299,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:47:59] local.INFO: GPS data processed {"connection_id":46299,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:47:59] local.INFO: Acknowledgment sent {"connection_id":46299,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:48:21] local.INFO: TCP Data received {"connection_id":46300,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:48:21] local.INFO: Processing buffer {"connection_id":46300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:48:21] local.INFO: IMEI packet received {"connection_id":46300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":46300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:48:25] local.INFO: TCP Data received {"connection_id":46300,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:48:25] local.INFO: Processing buffer {"connection_id":46300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:48:25] local.INFO: IMEI packet received {"connection_id":46300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":46300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:48:26] local.INFO: TCP Data received {"connection_id":46300,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:48:26] local.INFO: Processing buffer {"connection_id":46300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:48:26] local.INFO: IMEI packet received {"connection_id":46300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":46300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:48:27] local.INFO: TCP Data received {"connection_id":46067,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:48:27] local.INFO: Processing buffer {"connection_id":46067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:48:27] local.INFO: Packet analysis {"connection_id":46067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:48:27] local.INFO: Extracted packet for processing {"connection_id":46067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765509120001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776428071000,"timestamp_ms":1776428071000,"timestamp_seconds":1776428071,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5d3858"} 
[2026-04-17 17:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 17:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765509120001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765509120001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:48:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:48:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765509120001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":46067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:48:27] local.INFO: GPS data processed {"connection_id":46067,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:48:27] local.INFO: Acknowledgment sent {"connection_id":46067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:48:27] local.INFO: TCP Data received {"connection_id":46300,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5f99b8012d1818800721a3900044001b2d..."} 
[2026-04-17 17:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5f99b8012d1818800721a3900044001b2d..."} 
[2026-04-17 17:48:27] local.INFO: Processing buffer {"connection_id":46300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5f99b8012d1818800721a3900044001b2d..."} 
[2026-04-17 17:48:27] local.INFO: Packet analysis {"connection_id":46300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5f"} 
[2026-04-17 17:48:27] local.INFO: Extracted packet for processing {"connection_id":46300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5f"} 
[2026-04-17 17:48:27] local.INFO: GPS Element Parsed {"raw_longitude":756553856,"raw_latitude":119645072,"longitude_deg":75.6553856,"latitude_deg":11.9645072,"altitude":68,"angle":27,"satellites":45,"speed":9,"hex_longitude":"2d181880","hex_latitude":"0721a390","is_valid_coordinates":true} 
[2026-04-17 17:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765623808001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113348829801086976,"note":"Value kept but may cause issues"} 
[2026-04-17 17:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1733534043444957184,"note":"Value kept but may cause issues"} 
[2026-04-17 17:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776428227000,"timestamp_ms":1776428227000,"timestamp_seconds":1776428227,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5f99b8"} 
[2026-04-17 17:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:48: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-04-17 17:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-17 17:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765623808001,"66":12841,"105":206,"83":41984,"24":9,"16":113348829801086976,"45":1733534043444957184},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 17:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765623808001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:48:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 17:48:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113348829801086976,"km_value":113348829801086.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1733534043444957184,"description":"Unknown IO ID 45"} 
[2026-04-17 17:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765623808001,"power":12841,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1733534043444957184}} 
[2026-04-17 17:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":46300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:48:27] local.INFO: GPS data processed {"connection_id":46300,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:48:27] local.INFO: Acknowledgment sent {"connection_id":46300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:48:34] local.INFO: TCP Data received {"connection_id":46823,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:48:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46823,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:48:34] local.INFO: Processing buffer {"connection_id":46823,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:48:34] local.INFO: IMEI packet received {"connection_id":46823,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:48:34] local.INFO: IMEI acknowledgment sent {"connection_id":46823,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:48:50] local.INFO: TCP Data received {"connection_id":45961,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:48:50] local.INFO: Processing buffer {"connection_id":45961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:48:50] local.INFO: IMEI packet received {"connection_id":45961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":45961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:48:55] local.INFO: TCP Data received {"connection_id":45961,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45961,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:48:55] local.INFO: Processing buffer {"connection_id":45961,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:48:55] local.INFO: IMEI packet received {"connection_id":45961,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":45961,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:48:56] local.INFO: TCP Data received {"connection_id":45961,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:48:56] local.INFO: Processing buffer {"connection_id":45961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:48:56] local.INFO: Packet analysis {"connection_id":45961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:48:56] local.INFO: Extracted packet for processing {"connection_id":45961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765509120001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776428071000,"timestamp_ms":1776428071000,"timestamp_seconds":1776428071,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5d3858"} 
[2026-04-17 17:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 17:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765509120001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765509120001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:48:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765509120001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":45961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:48:56] local.INFO: GPS data processed {"connection_id":45961,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:48:56] local.INFO: Acknowledgment sent {"connection_id":45961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:48:58] local.INFO: TCP Data received {"connection_id":46300,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5fa958012d181b000721a6a8004500262c..."} 
[2026-04-17 17:48:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5fa958012d181b000721a6a8004500262c..."} 
[2026-04-17 17:48:58] local.INFO: Processing buffer {"connection_id":46300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5fa958012d181b000721a6a8004500262c..."} 
[2026-04-17 17:48:58] local.INFO: Packet analysis {"connection_id":46300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5f"} 
[2026-04-17 17:48:58] local.INFO: Extracted packet for processing {"connection_id":46300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5f"} 
[2026-04-17 17:48:58] local.INFO: GPS Element Parsed {"raw_longitude":756554496,"raw_latitude":119645864,"longitude_deg":75.6554496,"latitude_deg":11.9645864,"altitude":69,"angle":38,"satellites":44,"speed":7,"hex_longitude":"2d181b00","hex_latitude":"0721a6a8","is_valid_coordinates":true} 
[2026-04-17 17:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:48:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765626112001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:48:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113348877045727232,"note":"Value kept but may cause issues"} 
[2026-04-17 17:48:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736278424468819968,"note":"Value kept but may cause issues"} 
[2026-04-17 17:48:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:48:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776428231000,"timestamp_ms":1776428231000,"timestamp_seconds":1776428231,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5fa958"} 
[2026-04-17 17:48:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:48: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-04-17 17:48:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 17:48: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-04-17 17:48:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:48:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:48:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:48:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:48:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:48:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:48:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:48:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:48:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:48:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765626112001,"66":12917,"105":206,"83":41984,"24":7,"16":113348877045727232,"45":1736278424468819968},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 17:48:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:48:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:48:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765626112001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:48:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 17:48:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:48:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113348877045727232,"km_value":113348877045727.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:48:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736278424468819968,"description":"Unknown IO ID 45"} 
[2026-04-17 17:48:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765626112001,"power":12917,"unknown_105":206,"unknown_83":41984,"ignition":7,"odometer":null,"unknown_45":1736278424468819968}} 
[2026-04-17 17:48:58] local.INFO: DEBUG: GPS processor result {"connection_id":46300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:48:58] local.INFO: GPS data processed {"connection_id":46300,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:48:58] local.INFO: Acknowledgment sent {"connection_id":46300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:49:26] local.INFO: TCP Data received {"connection_id":46069,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:49:26] local.INFO: Processing buffer {"connection_id":46069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:49:26] local.INFO: IMEI packet received {"connection_id":46069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":46069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:49:27] local.INFO: TCP Data received {"connection_id":45961,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45961,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:49:27] local.INFO: Processing buffer {"connection_id":45961,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:49:27] local.INFO: Packet analysis {"connection_id":45961,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:49:27] local.INFO: Extracted packet for processing {"connection_id":45961,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765509120001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776428071000,"timestamp_ms":1776428071000,"timestamp_seconds":1776428071,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5d3858"} 
[2026-04-17 17:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 17:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45961,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45961,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765509120001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765509120001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:49:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765509120001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":45961,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:49:27] local.INFO: GPS data processed {"connection_id":45961,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:49:27] local.INFO: Acknowledgment sent {"connection_id":45961,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:49:27] local.INFO: TCP Data received {"connection_id":46069,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46069,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:49:27] local.INFO: Processing buffer {"connection_id":46069,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:49:27] local.INFO: IMEI packet received {"connection_id":46069,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":46069,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:49:28] local.INFO: TCP Data received {"connection_id":46069,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5fd450012d181cc00721a7f80046004e2b..."} 
[2026-04-17 17:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5fd450012d181cc00721a7f80046004e2b..."} 
[2026-04-17 17:49:28] local.INFO: Processing buffer {"connection_id":46069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5fd450012d181cc00721a7f80046004e2b..."} 
[2026-04-17 17:49:28] local.INFO: Packet analysis {"connection_id":46069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5f"} 
[2026-04-17 17:49:28] local.INFO: Extracted packet for processing {"connection_id":46069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5f"} 
[2026-04-17 17:49:28] local.INFO: GPS Element Parsed {"raw_longitude":756554944,"raw_latitude":119646200,"longitude_deg":75.6554944,"latitude_deg":11.96462,"altitude":70,"angle":78,"satellites":43,"speed":8,"hex_longitude":"2d181cc0","hex_latitude":"0721a7f8","is_valid_coordinates":true} 
[2026-04-17 17:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765627136001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113348907110498304,"note":"Value kept but may cause issues"} 
[2026-04-17 17:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1736982111910799360,"note":"Value kept but may cause issues"} 
[2026-04-17 17:49:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776428242000,"timestamp_ms":1776428242000,"timestamp_seconds":1776428242,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5fd450"} 
[2026-04-17 17:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:49:28] 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-04-17 17:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-17 17:49:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1501,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765627136001,"66":12743,"105":206,"83":41984,"24":8,"16":113348907110498304,"45":1736982111910799360},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 17:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765627136001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:49:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 17:49:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113348907110498304,"km_value":113348907110498.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1736982111910799360,"description":"Unknown IO ID 45"} 
[2026-04-17 17:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765627136001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1736982111910799360}} 
[2026-04-17 17:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":46069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:49:28] local.INFO: GPS data processed {"connection_id":46069,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:49:28] local.INFO: Acknowledgment sent {"connection_id":46069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:49:31] local.INFO: TCP Data received {"connection_id":46069,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5fd838012d181dc00721a7f80046005e2b..."} 
[2026-04-17 17:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5fd838012d181dc00721a7f80046005e2b..."} 
[2026-04-17 17:49:31] local.INFO: Processing buffer {"connection_id":46069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5fd838012d181dc00721a7f80046005e2b..."} 
[2026-04-17 17:49:31] local.INFO: Packet analysis {"connection_id":46069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5f"} 
[2026-04-17 17:49:31] local.INFO: Extracted packet for processing {"connection_id":46069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5f"} 
[2026-04-17 17:49:31] local.INFO: GPS Element Parsed {"raw_longitude":756555200,"raw_latitude":119646200,"longitude_deg":75.65552,"latitude_deg":11.96462,"altitude":70,"angle":94,"satellites":43,"speed":8,"hex_longitude":"2d181dc0","hex_latitude":"0721a7f8","is_valid_coordinates":true} 
[2026-04-17 17:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765629952001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113348919995400192,"note":"Value kept but may cause issues"} 
[2026-04-17 17:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737474693120129024,"note":"Value kept but may cause issues"} 
[2026-04-17 17:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776428243000,"timestamp_ms":1776428243000,"timestamp_seconds":1776428243,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5fd838"} 
[2026-04-17 17:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-17 17:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:49:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765629952001,"66":12743,"105":206,"83":41984,"24":8,"16":113348919995400192,"45":1737474693120129024},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 17:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765629952001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:49:31] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 17:49:31] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113348919995400192,"km_value":113348919995400.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737474693120129024,"description":"Unknown IO ID 45"} 
[2026-04-17 17:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765629952001,"power":12743,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737474693120129024}} 
[2026-04-17 17:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":46069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22426,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:49:31] local.INFO: GPS data processed {"connection_id":46069,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:49:31] local.INFO: Acknowledgment sent {"connection_id":46069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:49:55] local.INFO: TCP Data received {"connection_id":46301,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:49:55] local.INFO: Processing buffer {"connection_id":46301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:49:55] local.INFO: IMEI packet received {"connection_id":46301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":46301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:50:00] local.INFO: TCP Data received {"connection_id":46301,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46301,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:50:00] local.INFO: Processing buffer {"connection_id":46301,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:50:00] local.INFO: IMEI packet received {"connection_id":46301,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":46301,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:50:01] local.INFO: TCP Data received {"connection_id":46301,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:50:01] local.INFO: Processing buffer {"connection_id":46301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:50:01] local.INFO: Packet analysis {"connection_id":46301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:50:01] local.INFO: Extracted packet for processing {"connection_id":46301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:50:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765509120001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776428071000,"timestamp_ms":1776428071000,"timestamp_seconds":1776428071,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5d3858"} 
[2026-04-17 17:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 17:50:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:50: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-04-17 17:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765509120001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765509120001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:50:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:50:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765509120001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":46301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22427,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:50:01] local.INFO: GPS data processed {"connection_id":46301,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:50:01] local.INFO: Acknowledgment sent {"connection_id":46301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:50:02] local.INFO: TCP Data received {"connection_id":46069,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5fdc20012d181e800721a7b8004600742b..."} 
[2026-04-17 17:50:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5fdc20012d181e800721a7b8004600742b..."} 
[2026-04-17 17:50:02] local.INFO: Processing buffer {"connection_id":46069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5fdc20012d181e800721a7b8004600742b..."} 
[2026-04-17 17:50:02] local.INFO: Packet analysis {"connection_id":46069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5f"} 
[2026-04-17 17:50:02] local.INFO: Extracted packet for processing {"connection_id":46069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5f"} 
[2026-04-17 17:50:02] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119646136,"longitude_deg":75.6555392,"latitude_deg":11.9646136,"altitude":70,"angle":116,"satellites":43,"speed":9,"hex_longitude":"2d181e80","hex_latitude":"0721a7b8","is_valid_coordinates":true} 
[2026-04-17 17:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:50:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765630208001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:50:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113348928585334784,"note":"Value kept but may cause issues"} 
[2026-04-17 17:50:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737756168096839680,"note":"Value kept but may cause issues"} 
[2026-04-17 17:50:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:50:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776428244000,"timestamp_ms":1776428244000,"timestamp_seconds":1776428244,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5fdc20"} 
[2026-04-17 17:50:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:50:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17:50:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-17 17:50: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-04-17 17:50:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:50:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:50:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:50:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:50:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:50:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46069,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:50:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:50:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:50:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:50:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765630208001,"66":12711,"105":206,"83":41984,"24":9,"16":113348928585334784,"45":1737756168096839680},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 17:50:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:50:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:50:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765630208001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:50:02] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 17:50:02] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:50:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113348928585334784,"km_value":113348928585334.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:50:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737756168096839680,"description":"Unknown IO ID 45"} 
[2026-04-17 17:50:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765630208001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":9,"odometer":null,"unknown_45":1737756168096839680}} 
[2026-04-17 17:50:02] local.INFO: DEBUG: GPS processor result {"connection_id":46069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22428,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:50:02] local.INFO: GPS data processed {"connection_id":46069,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:50:02] local.INFO: Acknowledgment sent {"connection_id":46069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:50:05] local.INFO: TCP Data received {"connection_id":46301,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46301,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:50:05] local.INFO: Processing buffer {"connection_id":46301,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5d3858012d7faac005afe1800000000924..."} 
[2026-04-17 17:50:05] local.INFO: Packet analysis {"connection_id":46301,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:50:05] local.INFO: Extracted packet for processing {"connection_id":46301,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5d"} 
[2026-04-17 17:50:05] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":36,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765509120001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:50:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776428071000,"timestamp_ms":1776428071000,"timestamp_seconds":1776428071,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5d3858"} 
[2026-04-17 17:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:50:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 17:50:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46301,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46301,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765509120001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765509120001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:50:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:50:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765509120001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":46301,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22429,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:50:05] local.INFO: GPS data processed {"connection_id":46301,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:50:05] local.INFO: Acknowledgment sent {"connection_id":46301,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:50:21] local.INFO: TCP Data received {"connection_id":46825,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:50:21] local.INFO: Processing buffer {"connection_id":46825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:50:21] local.INFO: IMEI packet received {"connection_id":46825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":46825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:50:26] local.INFO: TCP Data received {"connection_id":46825,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46825,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:50:26] local.INFO: Processing buffer {"connection_id":46825,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:50:26] local.INFO: IMEI packet received {"connection_id":46825,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":46825,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:50:27] local.INFO: TCP Data received {"connection_id":46825,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b5fe008012d181f400721a738004600802e..."} 
[2026-04-17 17:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b5fe008012d181f400721a738004600802e..."} 
[2026-04-17 17:50:27] local.INFO: Processing buffer {"connection_id":46825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b5fe008012d181f400721a738004600802e..."} 
[2026-04-17 17:50:27] local.INFO: Packet analysis {"connection_id":46825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b5f"} 
[2026-04-17 17:50:27] local.INFO: Extracted packet for processing {"connection_id":46825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b5f"} 
[2026-04-17 17:50:27] local.INFO: GPS Element Parsed {"raw_longitude":756555584,"raw_latitude":119646008,"longitude_deg":75.6555584,"latitude_deg":11.9646008,"altitude":70,"angle":128,"satellites":46,"speed":8,"hex_longitude":"2d181f40","hex_latitude":"0721a738","is_valid_coordinates":true} 
[2026-04-17 17:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765630464001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113348937175269376,"note":"Value kept but may cause issues"} 
[2026-04-17 17:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329356288,"note":"Value kept but may cause issues"} 
[2026-04-17 17:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776428245000,"timestamp_ms":1776428245000,"timestamp_seconds":1776428245,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b5fe008"} 
[2026-04-17 17:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:50: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-04-17 17:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-17 17:50:27] 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-04-17 17:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765630464001,"66":12711,"105":206,"83":41984,"24":8,"16":113348937175269376,"45":1737967274329356288},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 17:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765630464001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:50:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 17:50:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113348937175269376,"km_value":113348937175269.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329356288,"description":"Unknown IO ID 45"} 
[2026-04-17 17:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765630464001,"power":12711,"unknown_105":206,"unknown_83":41984,"ignition":8,"odometer":null,"unknown_45":1737967274329356288}} 
[2026-04-17 17:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":46825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22430,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:50:27] local.INFO: GPS data processed {"connection_id":46825,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:50:27] local.INFO: Acknowledgment sent {"connection_id":46825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:50:50] local.INFO: TCP Data received {"connection_id":45962,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:50:50] local.INFO: Processing buffer {"connection_id":45962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:50:50] local.INFO: IMEI packet received {"connection_id":45962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":45962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:50:55] local.INFO: TCP Data received {"connection_id":45962,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45962,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:50:55] local.INFO: Processing buffer {"connection_id":45962,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:50:55] local.INFO: IMEI packet received {"connection_id":45962,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":45962,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:50:56] local.INFO: TCP Data received {"connection_id":45962,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:50:56] local.INFO: Processing buffer {"connection_id":45962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:50:56] local.INFO: Packet analysis {"connection_id":45962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:50:56] local.INFO: Extracted packet for processing {"connection_id":45962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765586176001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776428372000,"timestamp_ms":1776428372000,"timestamp_seconds":1776428372,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b61d020"} 
[2026-04-17 17:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:50:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:50:56] 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-04-17 17:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765586176001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765586176001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:50:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765586176001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":45962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22431,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:50:56] local.INFO: GPS data processed {"connection_id":45962,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:50:56] local.INFO: Acknowledgment sent {"connection_id":45962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:50:58] local.INFO: TCP Data received {"connection_id":46825,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b603210012d182a4007219d88004c00862e..."} 
[2026-04-17 17:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46825,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b603210012d182a4007219d88004c00862e..."} 
[2026-04-17 17:50:58] local.INFO: Processing buffer {"connection_id":46825,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b603210012d182a4007219d88004c00862e..."} 
[2026-04-17 17:50:58] local.INFO: Packet analysis {"connection_id":46825,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b60"} 
[2026-04-17 17:50:58] local.INFO: Extracted packet for processing {"connection_id":46825,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b60"} 
[2026-04-17 17:50:58] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643528,"longitude_deg":75.65584,"latitude_deg":11.9643528,"altitude":76,"angle":134,"satellites":46,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219d88","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765630720001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113349121858863104,"note":"Value kept but may cause issues"} 
[2026-04-17 17:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1738178380561856512,"note":"Value kept but may cause issues"} 
[2026-04-17 17:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776428266000,"timestamp_ms":1776428266000,"timestamp_seconds":1776428266,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b603210"} 
[2026-04-17 17:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:50: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-04-17 17:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-17 17:50:58] 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-04-17 17:50:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46825,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46825,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765630720001,"66":12678,"105":206,"83":41984,"24":0,"16":113349121858863104,"45":1738178380561856512},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 17:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765630720001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:50:58] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 17:50:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113349121858863104,"km_value":113349121858863.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1738178380561856512,"description":"Unknown IO ID 45"} 
[2026-04-17 17:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765630720001,"power":12678,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1738178380561856512}} 
[2026-04-17 17:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":46825,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22432,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:50:58] local.INFO: GPS data processed {"connection_id":46825,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:50:58] local.INFO: Acknowledgment sent {"connection_id":46825,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:51:00] local.INFO: TCP Data received {"connection_id":45962,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:51:00] local.INFO: Processing buffer {"connection_id":45962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:51:00] local.INFO: Packet analysis {"connection_id":45962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:51:00] local.INFO: Extracted packet for processing {"connection_id":45962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:51:00] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765586176001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776428372000,"timestamp_ms":1776428372000,"timestamp_seconds":1776428372,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b61d020"} 
[2026-04-17 17:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:51:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:51: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-04-17 17:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765586176001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765586176001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:51:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:51:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765586176001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":45962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22433,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:51:00] local.INFO: GPS data processed {"connection_id":45962,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:51:00] local.INFO: Acknowledgment sent {"connection_id":45962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:51:21] local.INFO: TCP Data received {"connection_id":46071,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:51:21] local.INFO: Processing buffer {"connection_id":46071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:51:21] local.INFO: IMEI packet received {"connection_id":46071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":46071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:51:26] local.INFO: TCP Data received {"connection_id":46071,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:51:26] local.INFO: Processing buffer {"connection_id":46071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:51:26] local.INFO: IMEI packet received {"connection_id":46071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":46071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:51:27] local.INFO: TCP Data received {"connection_id":46071,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b608418012d182a4007219d88004c00862a..."} 
[2026-04-17 17:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b608418012d182a4007219d88004c00862a..."} 
[2026-04-17 17:51:27] local.INFO: Processing buffer {"connection_id":46071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b608418012d182a4007219d88004c00862a..."} 
[2026-04-17 17:51:27] local.INFO: Packet analysis {"connection_id":46071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b60"} 
[2026-04-17 17:51:27] local.INFO: Extracted packet for processing {"connection_id":46071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b60"} 
[2026-04-17 17:51:27] local.INFO: GPS Element Parsed {"raw_longitude":756558400,"raw_latitude":119643528,"longitude_deg":75.65584,"latitude_deg":11.9643528,"altitude":76,"angle":134,"satellites":42,"speed":0,"hex_longitude":"2d182a40","hex_latitude":"07219d88","is_valid_coordinates":true} 
[2026-04-17 17:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765636096001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113349121858863104,"note":"Value kept but may cause issues"} 
[2026-04-17 17:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1741274605305038848,"note":"Value kept but may cause issues"} 
[2026-04-17 17:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776428287000,"timestamp_ms":1776428287000,"timestamp_seconds":1776428287,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b608418"} 
[2026-04-17 17:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:51: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-04-17 17:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":134,"data_length":795,"current_offset":136} 
[2026-04-17 17:51:27] 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-04-17 17:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765636096001,"66":12645,"105":206,"83":41984,"24":0,"16":113349121858863104,"45":1741274605305038848},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 17:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765636096001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:51:27] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 17:51:27] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113349121858863104,"km_value":113349121858863.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1741274605305038848,"description":"Unknown IO ID 45"} 
[2026-04-17 17:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765636096001,"power":12645,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1741274605305038848}} 
[2026-04-17 17:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":46071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22434,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:51:27] local.INFO: GPS data processed {"connection_id":46071,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:51:27] local.INFO: Acknowledgment sent {"connection_id":46071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:51:32] local.INFO: TCP Data received {"connection_id":45962,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:51:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:51:32] local.INFO: Processing buffer {"connection_id":45962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:51:32] local.INFO: Packet analysis {"connection_id":45962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:51:32] local.INFO: Extracted packet for processing {"connection_id":45962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:51:32] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:51:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765586176001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:51:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:51:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:51:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:51:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776428372000,"timestamp_ms":1776428372000,"timestamp_seconds":1776428372,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b61d020"} 
[2026-04-17 17:51:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:51:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:51:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:51:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:51:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:51:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:51:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:51:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:51:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:51:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45962,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:51:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:51:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:51:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:51:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765586176001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:51:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:51:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:51:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765586176001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:51:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:51:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:51:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:51:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:51:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765586176001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:51:32] local.INFO: DEBUG: GPS processor result {"connection_id":45962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22435,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:51:32] local.INFO: GPS data processed {"connection_id":45962,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:51:32] local.INFO: Acknowledgment sent {"connection_id":45962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:51:50] local.INFO: TCP Data received {"connection_id":46302,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:51:50] local.INFO: Processing buffer {"connection_id":46302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:51:50] local.INFO: IMEI packet received {"connection_id":46302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":46302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:51:55] local.INFO: TCP Data received {"connection_id":46302,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:51:55] local.INFO: Processing buffer {"connection_id":46302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:51:55] local.INFO: IMEI packet received {"connection_id":46302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":46302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:51:56] local.INFO: TCP Data received {"connection_id":46302,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:51:56] local.INFO: Processing buffer {"connection_id":46302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:51:56] local.INFO: Packet analysis {"connection_id":46302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:51:56] local.INFO: Extracted packet for processing {"connection_id":46302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765586176001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776428372000,"timestamp_ms":1776428372000,"timestamp_seconds":1776428372,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b61d020"} 
[2026-04-17 17:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:51:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765586176001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765586176001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:51:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765586176001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":46302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:51:56] local.INFO: GPS data processed {"connection_id":46302,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:51:56] local.INFO: Acknowledgment sent {"connection_id":46302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:51:58] local.INFO: TCP Data received {"connection_id":46071,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b633b68012d1870c0072181f8004c00552a..."} 
[2026-04-17 17:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b633b68012d1870c0072181f8004c00552a..."} 
[2026-04-17 17:51:58] local.INFO: Processing buffer {"connection_id":46071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b633b68012d1870c0072181f8004c00552a..."} 
[2026-04-17 17:51:58] local.INFO: Packet analysis {"connection_id":46071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b63"} 
[2026-04-17 17:51:58] local.INFO: Extracted packet for processing {"connection_id":46071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b63"} 
[2026-04-17 17:51:58] local.INFO: GPS Element Parsed {"raw_longitude":756576448,"raw_latitude":119636472,"longitude_deg":75.6576448,"latitude_deg":11.9636472,"altitude":76,"angle":85,"satellites":42,"speed":34,"hex_longitude":"2d1870c0","hex_latitude":"072181f8","is_valid_coordinates":true} 
[2026-04-17 17:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765686272001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113350062456700928,"note":"Value kept but may cause issues"} 
[2026-04-17 17:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1758092735161735168,"note":"Value kept but may cause issues"} 
[2026-04-17 17:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776428465000,"timestamp_ms":1776428465000,"timestamp_seconds":1776428465,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b633b68"} 
[2026-04-17 17:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:51: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-04-17 17:51:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 17:51:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:51:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765686272001,"66":14330,"106":206,"83":41984,"24":34,"16":113350062456700928,"45":1758092735161735168},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765686272001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:51:58] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:51:58] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113350062456700928,"km_value":113350062456700.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1758092735161735168,"description":"Unknown IO ID 45"} 
[2026-04-17 17:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765686272001,"power":14330,"unknown_106":206,"unknown_83":41984,"ignition":34,"odometer":null,"unknown_45":1758092735161735168}} 
[2026-04-17 17:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":46071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:51:58] local.INFO: GPS data processed {"connection_id":46071,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:51:58] local.INFO: Acknowledgment sent {"connection_id":46071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:52:21] local.INFO: TCP Data received {"connection_id":46827,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:52:21] local.INFO: Processing buffer {"connection_id":46827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:52:21] local.INFO: IMEI packet received {"connection_id":46827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":46827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:52:26] local.INFO: TCP Data received {"connection_id":46827,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46827,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:52:26] local.INFO: Processing buffer {"connection_id":46827,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:52:26] local.INFO: IMEI packet received {"connection_id":46827,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":46827,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:52:26] local.INFO: TCP Data received {"connection_id":46827,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b634ef0012d1881c007218228004b00622b..."} 
[2026-04-17 17:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b634ef0012d1881c007218228004b00622b..."} 
[2026-04-17 17:52:26] local.INFO: Processing buffer {"connection_id":46827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b634ef0012d1881c007218228004b00622b..."} 
[2026-04-17 17:52:26] local.INFO: Packet analysis {"connection_id":46827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b63"} 
[2026-04-17 17:52:26] local.INFO: Extracted packet for processing {"connection_id":46827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b63"} 
[2026-04-17 17:52:26] local.INFO: GPS Element Parsed {"raw_longitude":756580800,"raw_latitude":119636520,"longitude_deg":75.65808,"latitude_deg":11.963652,"altitude":75,"angle":98,"satellites":43,"speed":33,"hex_longitude":"2d1881c0","hex_latitude":"07218228","is_valid_coordinates":true} 
[2026-04-17 17:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765687040001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113350268615131136,"note":"Value kept but may cause issues"} 
[2026-04-17 17:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1761118591161333760,"note":"Value kept but may cause issues"} 
[2026-04-17 17:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776428470000,"timestamp_ms":1776428470000,"timestamp_seconds":1776428470,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b634ef0"} 
[2026-04-17 17:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:52:26] 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-04-17 17:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":250,"data_length":795,"current_offset":136} 
[2026-04-17 17:52:26] 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-04-17 17:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765687040001,"66":13243,"106":206,"83":41984,"24":33,"16":113350268615131136,"45":1761118591161333760},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765687040001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:52:26] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:52:26] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113350268615131136,"km_value":113350268615131.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1761118591161333760,"description":"Unknown IO ID 45"} 
[2026-04-17 17:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765687040001,"power":13243,"unknown_106":206,"unknown_83":41984,"ignition":33,"odometer":null,"unknown_45":1761118591161333760}} 
[2026-04-17 17:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":46827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22438,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:52:26] local.INFO: GPS data processed {"connection_id":46827,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:52:26] local.INFO: Acknowledgment sent {"connection_id":46827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:52:27] local.INFO: TCP Data received {"connection_id":46302,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:52:27] local.INFO: Processing buffer {"connection_id":46302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:52:27] local.INFO: Packet analysis {"connection_id":46302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:52:27] local.INFO: Extracted packet for processing {"connection_id":46302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:52:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765586176001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776428372000,"timestamp_ms":1776428372000,"timestamp_seconds":1776428372,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b61d020"} 
[2026-04-17 17:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:52:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765586176001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765586176001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:52:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:52:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765586176001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":46302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22439,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:52:27] local.INFO: GPS data processed {"connection_id":46302,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:52:27] local.INFO: Acknowledgment sent {"connection_id":46302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:52:50] local.INFO: TCP Data received {"connection_id":46073,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:52:50] local.INFO: Processing buffer {"connection_id":46073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:52:50] local.INFO: IMEI packet received {"connection_id":46073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":46073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:52:55] local.INFO: TCP Data received {"connection_id":46073,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46073,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:52:55] local.INFO: Processing buffer {"connection_id":46073,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:52:55] local.INFO: IMEI packet received {"connection_id":46073,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":46073,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:52:56] local.INFO: TCP Data received {"connection_id":46073,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:52:56] local.INFO: Processing buffer {"connection_id":46073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:52:56] local.INFO: Packet analysis {"connection_id":46073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:52:56] local.INFO: Extracted packet for processing {"connection_id":46073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:52:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765586176001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776428372000,"timestamp_ms":1776428372000,"timestamp_seconds":1776428372,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b61d020"} 
[2026-04-17 17:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:52:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765586176001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765586176001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:52:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765586176001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":46073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:52:56] local.INFO: GPS data processed {"connection_id":46073,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:52:56] local.INFO: Acknowledgment sent {"connection_id":46073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:52:57] local.INFO: TCP Data received {"connection_id":46827,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b643950012d18d8c00720fe20003b00922b..."} 
[2026-04-17 17:52:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46827,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b643950012d18d8c00720fe20003b00922b..."} 
[2026-04-17 17:52:57] local.INFO: Processing buffer {"connection_id":46827,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b643950012d18d8c00720fe20003b00922b..."} 
[2026-04-17 17:52:57] local.INFO: Packet analysis {"connection_id":46827,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b64"} 
[2026-04-17 17:52:57] local.INFO: Extracted packet for processing {"connection_id":46827,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b64"} 
[2026-04-17 17:52:57] local.INFO: GPS Element Parsed {"raw_longitude":756603072,"raw_latitude":119602720,"longitude_deg":75.6603072,"latitude_deg":11.960272,"altitude":59,"angle":146,"satellites":43,"speed":37,"hex_longitude":"2d18d8c0","hex_latitude":"0720fe20","is_valid_coordinates":true} 
[2026-04-17 17:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:52:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765703168001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:52:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113352416098779136,"note":"Value kept but may cause issues"} 
[2026-04-17 17:52:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1789477195056730112,"note":"Value kept but may cause issues"} 
[2026-04-17 17:52:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:52:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776428530000,"timestamp_ms":1776428530000,"timestamp_seconds":1776428530,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b643950"} 
[2026-04-17 17:52:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:52:57] 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-04-17 17:52:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 17:52: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-04-17 17:52:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:52:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:52:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:52:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46827,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:52:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:52:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46827,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:52:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:52:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:52:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:52:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765703168001,"66":12298,"106":206,"83":41984,"24":37,"16":113352416098779136,"45":1789477195056730112},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:52:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:52:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:52:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765703168001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:52:57] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:52:57] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:52:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113352416098779136,"km_value":113352416098779.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:52:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1789477195056730112,"description":"Unknown IO ID 45"} 
[2026-04-17 17:52:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765703168001,"power":12298,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1789477195056730112}} 
[2026-04-17 17:52:57] local.INFO: DEBUG: GPS processor result {"connection_id":46827,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:52:57] local.INFO: GPS data processed {"connection_id":46827,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:52:57] local.INFO: Acknowledgment sent {"connection_id":46827,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:53:22] local.INFO: TCP Data received {"connection_id":46074,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:53:22] local.INFO: Processing buffer {"connection_id":46074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:53:22] local.INFO: IMEI packet received {"connection_id":46074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":46074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:53:22] local.INFO: TCP Data received {"connection_id":46074,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:53:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:53:22] local.INFO: Processing buffer {"connection_id":46074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:53:22] local.INFO: IMEI packet received {"connection_id":46074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:53:22] local.INFO: IMEI acknowledgment sent {"connection_id":46074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:53:25] local.INFO: TCP Data received {"connection_id":46074,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:53:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:53:25] local.INFO: Processing buffer {"connection_id":46074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:53:25] local.INFO: IMEI packet received {"connection_id":46074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:53:25] local.INFO: IMEI acknowledgment sent {"connection_id":46074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:53:26] local.INFO: TCP Data received {"connection_id":46074,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:53:26] local.INFO: Processing buffer {"connection_id":46074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:53:26] local.INFO: IMEI packet received {"connection_id":46074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":46074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:53:27] local.INFO: TCP Data received {"connection_id":46073,"ip":"42.106.6.152","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46073,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:53:27] local.INFO: Processing buffer {"connection_id":46073,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:53:27] local.INFO: Packet analysis {"connection_id":46073,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:53:27] local.INFO: Extracted packet for processing {"connection_id":46073,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765586176001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776428372000,"timestamp_ms":1776428372000,"timestamp_seconds":1776428372,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b61d020"} 
[2026-04-17 17:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46073,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46073,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.152","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765586176001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.152","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765586176001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:53:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765586176001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":46073,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22442,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:53:27] local.INFO: GPS data processed {"connection_id":46073,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:53:27] local.INFO: Acknowledgment sent {"connection_id":46073,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:53:29] local.INFO: TCP Data received {"connection_id":46074,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b644120012d18de000720f8b0003b00842b..."} 
[2026-04-17 17:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b644120012d18de000720f8b0003b00842b..."} 
[2026-04-17 17:53:29] local.INFO: Processing buffer {"connection_id":46074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b644120012d18de000720f8b0003b00842b..."} 
[2026-04-17 17:53:29] local.INFO: Packet analysis {"connection_id":46074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b64"} 
[2026-04-17 17:53:29] local.INFO: Extracted packet for processing {"connection_id":46074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b64"} 
[2026-04-17 17:53:29] local.INFO: GPS Element Parsed {"raw_longitude":756604416,"raw_latitude":119601328,"longitude_deg":75.6604416,"latitude_deg":11.9601328,"altitude":59,"angle":132,"satellites":43,"speed":37,"hex_longitude":"2d18de00","hex_latitude":"0720f8b0","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765703680001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113352510588059648,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1790391988730601472,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:53:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776428532000,"timestamp_ms":1776428532000,"timestamp_seconds":1776428532,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b644120"} 
[2026-04-17 17:53:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:53: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-04-17 17: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":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-17 17:53:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:29] local.WARNING: Large IO value detected {"io_id":83,"raw_value":-6629272262455328256,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:29] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173598284186002,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:29] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-7249705268627564351,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:29] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832586,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:29] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3491979443326025934,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:29] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1785331918,"corrected_to":0} 
[2026-04-17 17:53:29] local.WARNING: Large IO value detected {"io_id":250,"raw_value":3489738008,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:29] local.WARNING: Large IO value detected {"io_id":48,"raw_value":3623931242,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:29] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3031957504,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:29] local.WARNING: Large IO value detected {"io_id":68,"raw_value":46488451888971776,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:29] local.WARNING: Large IO value detected {"io_id":180,"raw_value":8791026472627208193,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:29] local.WARNING: Large IO value detected {"io_id":64,"raw_value":513786562300084373,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:29] local.WARNING: Large IO value detected {"io_id":41,"raw_value":12103423999213572,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:29] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,106,83,24,241,157,16,181,49,45,128,4,60,42,10,66,37,15,62,22,192,1,240,140,227,155,33,113,205,39,250,201,224,35,239,48,2,146,7,68,180,64,41],"length":534,"final_offset":664,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1785331918,"validated":0}]} 
[2026-04-17 17:53:29] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4251558761621422080,"timestamp_seconds":4251558761621422.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 17:53:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:53:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:53:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:53:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:53:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:53:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:53:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:53:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:53:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765703680001,"66":12287,"106":206,"83":41984,"24":37,"16":113352510588059648,"45":1790391988730601472},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:53:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:53:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:53:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765703680001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:53:29] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:53:29] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:53:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113352510588059648,"km_value":113352510588059.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:53:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1790391988730601472,"description":"Unknown IO ID 45"} 
[2026-04-17 17:53:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765703680001,"power":12287,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1790391988730601472}} 
[2026-04-17 17:53:29] local.INFO: DEBUG: GPS processor result {"connection_id":46074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22443,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:53:29] local.INFO: GPS data processed {"connection_id":46074,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:53:29] local.INFO: Acknowledgment sent {"connection_id":46074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:53:30] local.INFO: TCP Data received {"connection_id":46074,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b644cd8012d18e5000720f090003900912a..."} 
[2026-04-17 17:53:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b644cd8012d18e5000720f090003900912a..."} 
[2026-04-17 17:53:30] local.INFO: Processing buffer {"connection_id":46074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b644cd8012d18e5000720f090003900912a..."} 
[2026-04-17 17:53:30] local.INFO: Packet analysis {"connection_id":46074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b64"} 
[2026-04-17 17:53:30] local.INFO: Extracted packet for processing {"connection_id":46074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b64"} 
[2026-04-17 17:53:30] local.INFO: GPS Element Parsed {"raw_longitude":756606208,"raw_latitude":119599248,"longitude_deg":75.6606208,"latitude_deg":11.9599248,"altitude":57,"angle":145,"satellites":42,"speed":37,"hex_longitude":"2d18e500","hex_latitude":"0720f090","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:53:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765704192001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113352643732045824,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1791869732357976064,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:53:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776428535000,"timestamp_ms":1776428535000,"timestamp_seconds":1776428535,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b644cd8"} 
[2026-04-17 17:53:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:53:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":18944,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 17: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 17:53: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-04-17 17: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-04-17 17:53:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:53:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:53:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:53:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:53:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:53:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:53:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:53:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:53:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765704192001,"66":13222,"106":206,"83":41984,"24":37,"16":113352643732045824,"45":1791869732357976064},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:53:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:53:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:53:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765704192001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:53:30] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:53:30] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:53:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113352643732045824,"km_value":113352643732045.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:53:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1791869732357976064,"description":"Unknown IO ID 45"} 
[2026-04-17 17:53:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765704192001,"power":13222,"unknown_106":206,"unknown_83":41984,"ignition":37,"odometer":null,"unknown_45":1791869732357976064}} 
[2026-04-17 17:53:30] local.INFO: DEBUG: GPS processor result {"connection_id":46074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22444,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:53:30] local.INFO: GPS data processed {"connection_id":46074,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:53:30] local.INFO: Acknowledgment sent {"connection_id":46074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:53:42] local.INFO: TCP Data received {"connection_id":45963,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:53:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:53:42] local.INFO: Processing buffer {"connection_id":45963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:53:42] local.INFO: IMEI packet received {"connection_id":45963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:53:42] local.INFO: IMEI acknowledgment sent {"connection_id":45963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:53:50] local.INFO: TCP Data received {"connection_id":46303,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:53:50] local.INFO: Processing buffer {"connection_id":46303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:53:50] local.INFO: IMEI packet received {"connection_id":46303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":46303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:53:55] local.INFO: TCP Data received {"connection_id":46303,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46303,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:53:55] local.INFO: Processing buffer {"connection_id":46303,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:53:55] local.INFO: IMEI packet received {"connection_id":46303,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":46303,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:53:56] local.INFO: TCP Data received {"connection_id":46303,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:53:56] local.INFO: Processing buffer {"connection_id":46303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:53:56] local.INFO: Packet analysis {"connection_id":46303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:53:56] local.INFO: Extracted packet for processing {"connection_id":46303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765586176001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776428372000,"timestamp_ms":1776428372000,"timestamp_seconds":1776428372,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b61d020"} 
[2026-04-17 17:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765586176001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765586176001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:53:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765586176001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":46303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22445,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:53:56] local.INFO: GPS data processed {"connection_id":46303,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:53:56] local.INFO: Acknowledgment sent {"connection_id":46303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:54:14] local.INFO: TCP Data received {"connection_id":46074,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b647000012d18f9400720d508003600832b..."} 
[2026-04-17 17:54:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b647000012d18f9400720d508003600832b..."} 
[2026-04-17 17:54:14] local.INFO: Processing buffer {"connection_id":46074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b647000012d18f9400720d508003600832b..."} 
[2026-04-17 17:54:14] local.INFO: Packet analysis {"connection_id":46074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b64"} 
[2026-04-17 17:54:14] local.INFO: Extracted packet for processing {"connection_id":46074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b64"} 
[2026-04-17 17:54:14] local.INFO: GPS Element Parsed {"raw_longitude":756611392,"raw_latitude":119592200,"longitude_deg":75.6611392,"latitude_deg":11.95922,"altitude":54,"angle":131,"satellites":43,"speed":38,"hex_longitude":"2d18f940","hex_latitude":"0720d508","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:54:14] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765704960001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:54:14] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113353064638840832,"note":"Value kept but may cause issues"} 
[2026-04-17 17:54:14] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1793840057194418176,"note":"Value kept but may cause issues"} 
[2026-04-17 17:54:14] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:54:14] local.INFO: AVL Record Parsed {"raw_timestamp":1776428544000,"timestamp_ms":1776428544000,"timestamp_seconds":1776428544,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b647000"} 
[2026-04-17 17:54:14] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:54: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-04-17 17: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":51,"n8_eight_byte":166,"data_length":795,"current_offset":136} 
[2026-04-17 17:54: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-04-17 17: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-04-17 17:54:14] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:54:14] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:54:14] local.INFO: Teltonika packet parsed successfully {"connection_id":46074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:54:14] local.INFO: Passing IMEI to GPS processor {"connection_id":46074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:54:14] local.INFO: DEBUG: About to call GPS processor {"connection_id":46074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:54:14] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:54:14] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:54:14] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:54:14] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765704960001,"66":13243,"106":206,"83":41984,"24":38,"16":113353064638840832,"45":1793840057194418176},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 17:54:14] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:54:14] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:54:14] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765704960001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:54:14] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 17:54:14] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:54:14] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113353064638840832,"km_value":113353064638840.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:54:14] local.INFO: Unknown IO ID detected {"io_id":45,"value":1793840057194418176,"description":"Unknown IO ID 45"} 
[2026-04-17 17:54:14] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765704960001,"power":13243,"unknown_106":206,"unknown_83":41984,"ignition":38,"odometer":null,"unknown_45":1793840057194418176}} 
[2026-04-17 17:54:14] local.INFO: DEBUG: GPS processor result {"connection_id":46074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22446,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:54:14] local.INFO: GPS data processed {"connection_id":46074,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:54:14] local.INFO: Acknowledgment sent {"connection_id":46074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:54:27] local.INFO: TCP Data received {"connection_id":46303,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:54:27] local.INFO: Processing buffer {"connection_id":46303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:54:27] local.INFO: Packet analysis {"connection_id":46303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:54:27] local.INFO: Extracted packet for processing {"connection_id":46303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765586176001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776428372000,"timestamp_ms":1776428372000,"timestamp_seconds":1776428372,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b61d020"} 
[2026-04-17 17:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46303,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765586176001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765586176001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:54:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:54:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765586176001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":46303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22447,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:54:27] local.INFO: GPS data processed {"connection_id":46303,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:54:27] local.INFO: Acknowledgment sent {"connection_id":46303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:54:40] local.INFO: TCP Data received {"connection_id":46828,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:54:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46828,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:54:40] local.INFO: Processing buffer {"connection_id":46828,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:54:40] local.INFO: IMEI packet received {"connection_id":46828,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:54:40] local.INFO: IMEI acknowledgment sent {"connection_id":46828,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:54:55] local.INFO: TCP Data received {"connection_id":46829,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:54:55] local.INFO: Processing buffer {"connection_id":46829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:54:55] local.INFO: IMEI packet received {"connection_id":46829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":46829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:55:00] local.INFO: TCP Data received {"connection_id":46829,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46829,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:55:00] local.INFO: Processing buffer {"connection_id":46829,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:55:00] local.INFO: IMEI packet received {"connection_id":46829,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":46829,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:55:01] local.INFO: TCP Data received {"connection_id":46829,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:55:01] local.INFO: Processing buffer {"connection_id":46829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:55:01] local.INFO: Packet analysis {"connection_id":46829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:55:01] local.INFO: Extracted packet for processing {"connection_id":46829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:55:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 17:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765586176001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776428372000,"timestamp_ms":1776428372000,"timestamp_seconds":1776428372,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b61d020"} 
[2026-04-17 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-04-17 17:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:55:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 17:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:55: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-04-17 17:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765586176001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765586176001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:55:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:55:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765586176001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":46829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22448,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:55:01] local.INFO: GPS data processed {"connection_id":46829,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:55:01] local.INFO: Acknowledgment sent {"connection_id":46829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:55:05] local.INFO: TCP Data received {"connection_id":46829,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:55:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46829,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:55:06] local.INFO: Processing buffer {"connection_id":46829,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b61d020012d7faac005afe180000000092a..."} 
[2026-04-17 17:55:06] local.INFO: Packet analysis {"connection_id":46829,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:55:06] local.INFO: Extracted packet for processing {"connection_id":46829,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b61"} 
[2026-04-17 17:55:06] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":42,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:55:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765586176001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:55:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:55:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:55:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:55:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776428372000,"timestamp_ms":1776428372000,"timestamp_seconds":1776428372,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b61d020"} 
[2026-04-17 17:55:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:55:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:55:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:55:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:55:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:55:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46829,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:55:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:55:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46829,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:55:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:55:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:55:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:55:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765586176001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:55:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:55:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:55:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765586176001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:55:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:55:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:55:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:55:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:55:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765586176001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:55:06] local.INFO: DEBUG: GPS processor result {"connection_id":46829,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:55:06] local.INFO: GPS data processed {"connection_id":46829,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:55:06] local.INFO: Acknowledgment sent {"connection_id":46829,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:55:09] local.INFO: TCP Data received {"connection_id":45964,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:55:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45964,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:55:09] local.INFO: Processing buffer {"connection_id":45964,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 17:55:09] local.INFO: IMEI packet received {"connection_id":45964,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 17:55:09] local.INFO: IMEI acknowledgment sent {"connection_id":45964,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:55:50] local.INFO: TCP Data received {"connection_id":46830,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:55:50] local.INFO: Processing buffer {"connection_id":46830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:55:50] local.INFO: IMEI packet received {"connection_id":46830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":46830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:55:55] local.INFO: TCP Data received {"connection_id":46830,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46830,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:55:55] local.INFO: Processing buffer {"connection_id":46830,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:55:55] local.INFO: IMEI packet received {"connection_id":46830,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":46830,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:55:56] local.INFO: TCP Data received {"connection_id":46830,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:55:56] local.INFO: Processing buffer {"connection_id":46830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:55:56] local.INFO: Packet analysis {"connection_id":46830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 17:55:56] local.INFO: Extracted packet for processing {"connection_id":46830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 17:55:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765663232001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776428673000,"timestamp_ms":1776428673000,"timestamp_seconds":1776428673,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6667e8"} 
[2026-04-17 17:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765663232001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765663232001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:55:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:55:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765663232001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":46830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:55:56] local.INFO: GPS data processed {"connection_id":46830,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:55:56] local.INFO: Acknowledgment sent {"connection_id":46830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:56:27] local.INFO: TCP Data received {"connection_id":46830,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46830,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:56:27] local.INFO: Processing buffer {"connection_id":46830,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:56:27] local.INFO: Packet analysis {"connection_id":46830,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 17:56:27] local.INFO: Extracted packet for processing {"connection_id":46830,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 17:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765663232001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776428673000,"timestamp_ms":1776428673000,"timestamp_seconds":1776428673,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6667e8"} 
[2026-04-17 17:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46830,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46830,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765663232001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765663232001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:56:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765663232001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":46830,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22451,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:56:27] local.INFO: GPS data processed {"connection_id":46830,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:56:27] local.INFO: Acknowledgment sent {"connection_id":46830,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:56:50] local.INFO: TCP Data received {"connection_id":45965,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:56:50] local.INFO: Processing buffer {"connection_id":45965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:56:50] local.INFO: IMEI packet received {"connection_id":45965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":45965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:56:55] local.INFO: TCP Data received {"connection_id":45965,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45965,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:56:55] local.INFO: Processing buffer {"connection_id":45965,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:56:55] local.INFO: IMEI packet received {"connection_id":45965,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":45965,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:56:56] local.INFO: TCP Data received {"connection_id":45965,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:56:56] local.INFO: Processing buffer {"connection_id":45965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:56:56] local.INFO: Packet analysis {"connection_id":45965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 17:56:56] local.INFO: Extracted packet for processing {"connection_id":45965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 17:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765663232001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776428673000,"timestamp_ms":1776428673000,"timestamp_seconds":1776428673,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6667e8"} 
[2026-04-17 17:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:56:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:56:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765663232001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765663232001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:56:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765663232001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":45965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:56:56] local.INFO: GPS data processed {"connection_id":45965,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:56:56] local.INFO: Acknowledgment sent {"connection_id":45965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:57:27] local.INFO: TCP Data received {"connection_id":45965,"ip":"42.106.6.16","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:57:27] local.INFO: Processing buffer {"connection_id":45965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:57:27] local.INFO: Packet analysis {"connection_id":45965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 17:57:27] local.INFO: Extracted packet for processing {"connection_id":45965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 17:57:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765663232001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776428673000,"timestamp_ms":1776428673000,"timestamp_seconds":1776428673,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6667e8"} 
[2026-04-17 17:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45965,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.16","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765663232001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.16","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765663232001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:57:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:57:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765663232001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":45965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22453,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:57:27] local.INFO: GPS data processed {"connection_id":45965,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:57:27] local.INFO: Acknowledgment sent {"connection_id":45965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:57:50] local.INFO: TCP Data received {"connection_id":46076,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:57:50] local.INFO: Processing buffer {"connection_id":46076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:57:50] local.INFO: IMEI packet received {"connection_id":46076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":46076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:57:55] local.INFO: TCP Data received {"connection_id":46076,"ip":"42.106.6.51","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:57:55] local.INFO: Processing buffer {"connection_id":46076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:57:55] local.INFO: IMEI packet received {"connection_id":46076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":46076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:57:56] local.INFO: TCP Data received {"connection_id":46076,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:57:56] local.INFO: Processing buffer {"connection_id":46076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:57:56] local.INFO: Packet analysis {"connection_id":46076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 17:57:56] local.INFO: Extracted packet for processing {"connection_id":46076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 17:57:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765663232001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776428673000,"timestamp_ms":1776428673000,"timestamp_seconds":1776428673,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6667e8"} 
[2026-04-17 17:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:57:56] 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-04-17 17:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765663232001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765663232001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:57:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765663232001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":46076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:57:56] local.INFO: GPS data processed {"connection_id":46076,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:57:56] local.INFO: Acknowledgment sent {"connection_id":46076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:58:23] local.INFO: TCP Data received {"connection_id":46077,"ip":"117.224.208.250","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:58:23] local.INFO: Processing buffer {"connection_id":46077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:58:23] local.INFO: IMEI packet received {"connection_id":46077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":46077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:58:26] local.INFO: TCP Data received {"connection_id":46077,"ip":"117.224.208.250","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:58:26] local.INFO: Processing buffer {"connection_id":46077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:58:26] local.INFO: IMEI packet received {"connection_id":46077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":46077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:58:26] local.INFO: TCP Data received {"connection_id":46077,"ip":"117.224.208.250","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46077,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:58:26] local.INFO: Processing buffer {"connection_id":46077,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:58:26] local.INFO: IMEI packet received {"connection_id":46077,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":46077,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:58:27] local.INFO: TCP Data received {"connection_id":46077,"ip":"117.224.208.250","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b681598012d1a3cc00720f828003b00192d..."} 
[2026-04-17 17:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b681598012d1a3cc00720f828003b00192d..."} 
[2026-04-17 17:58:27] local.INFO: Processing buffer {"connection_id":46077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b681598012d1a3cc00720f828003b00192d..."} 
[2026-04-17 17:58:27] local.INFO: Packet analysis {"connection_id":46077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b68"} 
[2026-04-17 17:58:27] local.INFO: Extracted packet for processing {"connection_id":46077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b68"} 
[2026-04-17 17:58:27] local.INFO: GPS Element Parsed {"raw_longitude":756694208,"raw_latitude":119601192,"longitude_deg":75.6694208,"latitude_deg":11.9601192,"altitude":59,"angle":25,"satellites":45,"speed":0,"hex_longitude":"2d1a3cc0","hex_latitude":"0720f828","is_valid_coordinates":true} 
[2026-04-17 17:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765763072001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113357634484043776,"note":"Value kept but may cause issues"} 
[2026-04-17 17:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890597080439203840,"note":"Value kept but may cause issues"} 
[2026-04-17 17:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,187,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776428783000,"timestamp_ms":1776428783000,"timestamp_seconds":1776428783,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b681598"} 
[2026-04-17 17:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:58:27] 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-04-17 17:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":28,"data_length":795,"current_offset":136} 
[2026-04-17 17:58:27] 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-04-17 17:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.208.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765763072001,"66":13798,"169":206,"187":32768,"24":0,"16":113357634484043776,"45":1890597080439203840},"client_ip":"117.224.208.250","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,187,24,16,45]} 
[2026-04-17 17:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765763072001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:58:27] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-17 17:58:27] local.INFO: Unknown IO ID detected {"io_id":187,"value":32768,"description":"Unknown IO ID 187"} 
[2026-04-17 17:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113357634484043776,"km_value":113357634484043.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890597080439203840,"description":"Unknown IO ID 45"} 
[2026-04-17 17:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765763072001,"power":13798,"unknown_169":206,"unknown_187":32768,"ignition":0,"odometer":null,"unknown_45":1890597080439203840}} 
[2026-04-17 17:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":46077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:58:27] local.INFO: GPS data processed {"connection_id":46077,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:58:27] local.INFO: Acknowledgment sent {"connection_id":46077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:58:27] local.INFO: TCP Data received {"connection_id":46076,"ip":"42.106.6.51","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:58:27] local.INFO: Processing buffer {"connection_id":46076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:58:27] local.INFO: Packet analysis {"connection_id":46076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 17:58:27] local.INFO: Extracted packet for processing {"connection_id":46076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 17:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 17:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765663232001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776428673000,"timestamp_ms":1776428673000,"timestamp_seconds":1776428673,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6667e8"} 
[2026-04-17 17:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 17:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.51","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765663232001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.51","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765663232001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:58:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:58:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765663232001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":46076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:58:27] local.INFO: GPS data processed {"connection_id":46076,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:58:27] local.INFO: Acknowledgment sent {"connection_id":46076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:58:28] local.INFO: TCP Data received {"connection_id":46077,"ip":"117.224.208.250","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6867a0012d1a3cc00720f828003b00192a..."} 
[2026-04-17 17:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6867a0012d1a3cc00720f828003b00192a..."} 
[2026-04-17 17:58:28] local.INFO: Processing buffer {"connection_id":46077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6867a0012d1a3cc00720f828003b00192a..."} 
[2026-04-17 17:58:28] local.INFO: Packet analysis {"connection_id":46077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b68"} 
[2026-04-17 17:58:28] local.INFO: Extracted packet for processing {"connection_id":46077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b68"} 
[2026-04-17 17:58:28] local.INFO: GPS Element Parsed {"raw_longitude":756694208,"raw_latitude":119601192,"longitude_deg":75.6694208,"latitude_deg":11.9601192,"altitude":59,"angle":25,"satellites":42,"speed":0,"hex_longitude":"2d1a3cc0","hex_latitude":"0720f828","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765768448001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113357634484043776,"note":"Value kept but may cause issues"} 
[2026-04-17 17:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890597080439203840,"note":"Value kept but may cause issues"} 
[2026-04-17 17:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,105,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776428804000,"timestamp_ms":1776428804000,"timestamp_seconds":1776428804,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6867a0"} 
[2026-04-17 17:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:58:28] 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-04-17 17: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":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-17 17:58:28] 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-04-17 17: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-04-17 17:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.208.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765768448001,"66":13820,"105":206,"83":41984,"24":0,"16":113357634484043776,"45":1890597080439203840},"client_ip":"117.224.208.250","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,105,83,24,16,45]} 
[2026-04-17 17:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765768448001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:58:28] local.INFO: Unknown IO ID detected {"io_id":105,"value":206,"description":"Unknown IO ID 105"} 
[2026-04-17 17:58:28] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 17:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113357634484043776,"km_value":113357634484043.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890597080439203840,"description":"Unknown IO ID 45"} 
[2026-04-17 17:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765768448001,"power":13820,"unknown_105":206,"unknown_83":41984,"ignition":0,"odometer":null,"unknown_45":1890597080439203840}} 
[2026-04-17 17:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":46077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:58:28] local.INFO: GPS data processed {"connection_id":46077,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:58:28] local.INFO: Acknowledgment sent {"connection_id":46077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:58:55] local.INFO: TCP Data received {"connection_id":45966,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:58:55] local.INFO: Processing buffer {"connection_id":45966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:58:55] local.INFO: IMEI packet received {"connection_id":45966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":45966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:59:00] local.INFO: TCP Data received {"connection_id":45966,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45966,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:59:00] local.INFO: Processing buffer {"connection_id":45966,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:59:00] local.INFO: IMEI packet received {"connection_id":45966,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":45966,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:59:01] local.INFO: TCP Data received {"connection_id":45966,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:59:01] local.INFO: Processing buffer {"connection_id":45966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:59:01] local.INFO: Packet analysis {"connection_id":45966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 17:59:01] local.INFO: Extracted packet for processing {"connection_id":45966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 17:59:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765663232001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:59:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776428673000,"timestamp_ms":1776428673000,"timestamp_seconds":1776428673,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6667e8"} 
[2026-04-17 17:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:59:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:59:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:59: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-04-17 17:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765663232001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765663232001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:59:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765663232001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":45966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22458,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:59:01] local.INFO: GPS data processed {"connection_id":45966,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:59:01] local.INFO: Acknowledgment sent {"connection_id":45966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:59:01] local.INFO: TCP Data received {"connection_id":46077,"ip":"117.224.208.250","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b69a408012d1a23800720fd50004501052d..."} 
[2026-04-17 17:59:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b69a408012d1a23800720fd50004501052d..."} 
[2026-04-17 17:59:01] local.INFO: Processing buffer {"connection_id":46077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b69a408012d1a23800720fd50004501052d..."} 
[2026-04-17 17:59:01] local.INFO: Packet analysis {"connection_id":46077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b69"} 
[2026-04-17 17:59:01] local.INFO: Extracted packet for processing {"connection_id":46077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b69"} 
[2026-04-17 17:59:01] local.INFO: GPS Element Parsed {"raw_longitude":756687744,"raw_latitude":119602512,"longitude_deg":75.6687744,"latitude_deg":11.9602512,"altitude":69,"angle":261,"satellites":45,"speed":8,"hex_longitude":"2d1a2380","hex_latitude":"0720fd50","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:59:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765792256001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:59:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113358003851231232,"note":"Value kept but may cause issues"} 
[2026-04-17 17:59:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1886304587044876288,"note":"Value kept but may cause issues"} 
[2026-04-17 17:59: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-04-17 17:59:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776428885000,"timestamp_ms":1776428885000,"timestamp_seconds":1776428885,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b69a408"} 
[2026-04-17 17:59:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:59:01] 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-04-17 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 17:59: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-04-17 17: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-04-17 17:59:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:59:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46077,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:59:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.208.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765792256001,"66":14428,"121":206,"28":31744,"24":8,"16":113358003851231232,"45":1886304587044876288},"client_ip":"117.224.208.250","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 17:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765792256001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:59:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 17:59:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 17:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113358003851231232,"km_value":113358003851231.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1886304587044876288,"description":"Unknown IO ID 45"} 
[2026-04-17 17:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765792256001,"power":14428,"unknown_121":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1886304587044876288}} 
[2026-04-17 17:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":46077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22459,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:59:01] local.INFO: GPS data processed {"connection_id":46077,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:59:01] local.INFO: Acknowledgment sent {"connection_id":46077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:59:05] local.INFO: TCP Data received {"connection_id":45966,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:59:05] local.INFO: Processing buffer {"connection_id":45966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:59:05] local.INFO: Packet analysis {"connection_id":45966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 17:59:05] local.INFO: Extracted packet for processing {"connection_id":45966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 17:59:05] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765663232001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776428673000,"timestamp_ms":1776428673000,"timestamp_seconds":1776428673,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6667e8"} 
[2026-04-17 17:59:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 17: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:59:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 17: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-04-17 17:59:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":45966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":45966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":45966,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:59:05] 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-04-17 17:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765663232001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765663232001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:59:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:59:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765663232001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":45966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:59:05] local.INFO: GPS data processed {"connection_id":45966,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:59:05] local.INFO: Acknowledgment sent {"connection_id":45966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:59:27] local.INFO: TCP Data received {"connection_id":46304,"ip":"117.224.208.250","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:59:27] local.INFO: Processing buffer {"connection_id":46304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:59:27] local.INFO: IMEI packet received {"connection_id":46304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 17:59:27] local.INFO: IMEI acknowledgment sent {"connection_id":46304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:59:42] local.INFO: TCP Data received {"connection_id":46304,"ip":"117.224.208.250","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:59:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46304,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:59:42] local.INFO: Processing buffer {"connection_id":46304,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 17:59:42] local.INFO: IMEI packet received {"connection_id":46304,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 17:59:42] local.INFO: IMEI acknowledgment sent {"connection_id":46304,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:59:50] local.INFO: TCP Data received {"connection_id":46078,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:59:50] local.INFO: Processing buffer {"connection_id":46078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:59:50] local.INFO: IMEI packet received {"connection_id":46078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 17:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":46078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 17:59:50] local.INFO: TCP Data received {"connection_id":46304,"ip":"117.224.208.250","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b69a7f0012d1a23000720fd58004501122e..."} 
[2026-04-17 17:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46304,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b69a7f0012d1a23000720fd58004501122e..."} 
[2026-04-17 17:59:50] local.INFO: Processing buffer {"connection_id":46304,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b69a7f0012d1a23000720fd58004501122e..."} 
[2026-04-17 17:59:50] local.INFO: Packet analysis {"connection_id":46304,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b69"} 
[2026-04-17 17:59:50] local.INFO: Extracted packet for processing {"connection_id":46304,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b69"} 
[2026-04-17 17:59:50] local.INFO: GPS Element Parsed {"raw_longitude":756687616,"raw_latitude":119602520,"longitude_deg":75.6687616,"latitude_deg":11.960252,"altitude":69,"angle":274,"satellites":46,"speed":7,"hex_longitude":"2d1a2300","hex_latitude":"0720fd58","is_valid_coordinates":true} 
[2026-04-17 17: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-04-17 17:59:50] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765794560001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:59:50] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113358012441165824,"note":"Value kept but may cause issues"} 
[2026-04-17 17:59:50] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883489837277597696,"note":"Value kept but may cause issues"} 
[2026-04-17 17: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-04-17 17:59:50] local.INFO: AVL Record Parsed {"raw_timestamp":1776428886000,"timestamp_ms":1776428886000,"timestamp_seconds":1776428886,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b69a7f0"} 
[2026-04-17 17:59:50] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 17:59: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-04-17 17: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 17:59:50] 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-04-17 17: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-04-17 17:59:50] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 17:59:50] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:59:50] local.INFO: Teltonika packet parsed successfully {"connection_id":46304,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:59:50] local.INFO: Passing IMEI to GPS processor {"connection_id":46304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:59:50] local.INFO: DEBUG: About to call GPS processor {"connection_id":46304,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 17:59:50] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.208.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:59:50] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 17:59:50] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 17:59:50] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765794560001,"66":14450,"121":206,"28":31744,"24":7,"16":113358012441165824,"45":1883489837277597696},"client_ip":"117.224.208.250","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 17:59:50] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 17:59:50] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 17:59:50] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765794560001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:59:50] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 17:59:50] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 17:59:50] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113358012441165824,"km_value":113358012441165.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:59:50] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883489837277597696,"description":"Unknown IO ID 45"} 
[2026-04-17 17:59:50] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765794560001,"power":14450,"unknown_121":206,"unknown_28":31744,"ignition":7,"odometer":null,"unknown_45":1883489837277597696}} 
[2026-04-17 17:59:50] local.INFO: DEBUG: GPS processor result {"connection_id":46304,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:59:50] local.INFO: GPS data processed {"connection_id":46304,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:59:50] local.INFO: Acknowledgment sent {"connection_id":46304,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 17:59:55] local.INFO: TCP Data received {"connection_id":46078,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46078,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:59:55] local.INFO: Processing buffer {"connection_id":46078,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 17:59:55] local.INFO: IMEI packet received {"connection_id":46078,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 17:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":46078,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 17:59:56] local.INFO: TCP Data received {"connection_id":46078,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:59:56] local.INFO: Processing buffer {"connection_id":46078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 17:59:56] local.INFO: Packet analysis {"connection_id":46078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 17:59:56] local.INFO: Extracted packet for processing {"connection_id":46078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 17:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 17:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765663232001,"note":"Value kept but may cause issues"} 
[2026-04-17 17:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 17:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 17:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 17:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776428673000,"timestamp_ms":1776428673000,"timestamp_seconds":1776428673,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6667e8"} 
[2026-04-17 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-04-17 17:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 17:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 17:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 17:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 17:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 17:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 17:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 17:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 17:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765663232001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 17:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 17:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 17:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765663232001,"description":"Unknown IO ID 0"} 
[2026-04-17 17:59:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 17:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 17:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 17:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 17:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765663232001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 17:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":46078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22462,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 17:59:56] local.INFO: GPS data processed {"connection_id":46078,"processed":1,"errors":0,"total":1} 
[2026-04-17 17:59:56] local.INFO: Acknowledgment sent {"connection_id":46078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:00:01] local.INFO: TCP Data received {"connection_id":46078,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 18:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 18:00:01] local.INFO: Processing buffer {"connection_id":46078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6667e8012d7faac005afe1800000000929..."} 
[2026-04-17 18:00:01] local.INFO: Packet analysis {"connection_id":46078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 18:00:01] local.INFO: Extracted packet for processing {"connection_id":46078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b66"} 
[2026-04-17 18:00:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":41,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765663232001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776428673000,"timestamp_ms":1776428673000,"timestamp_seconds":1776428673,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6667e8"} 
[2026-04-17 18:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:00:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:00:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:00: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-04-17 18:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765663232001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765663232001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:00:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:00:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765663232001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":46078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:00:01] local.INFO: GPS data processed {"connection_id":46078,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:00:01] local.INFO: Acknowledgment sent {"connection_id":46078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:00:14] local.INFO: TCP Data received {"connection_id":45967,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:00:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45967,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:00:14] local.INFO: Processing buffer {"connection_id":45967,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:00:14] local.INFO: IMEI packet received {"connection_id":45967,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 18:00:14] local.INFO: IMEI acknowledgment sent {"connection_id":45967,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:00:21] local.INFO: TCP Data received {"connection_id":46079,"ip":"117.224.208.250","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:00:21] local.INFO: Processing buffer {"connection_id":46079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:00:21] local.INFO: IMEI packet received {"connection_id":46079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":46079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:00:26] local.INFO: TCP Data received {"connection_id":46079,"ip":"117.224.208.250","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:00:26] local.INFO: Processing buffer {"connection_id":46079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:00:26] local.INFO: IMEI packet received {"connection_id":46079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":46079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:00:28] local.INFO: TCP Data received {"connection_id":46079,"ip":"117.224.208.250","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b69b790012d1a20000720fd90004600f92e..."} 
[2026-04-17 18:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b69b790012d1a20000720fd90004600f92e..."} 
[2026-04-17 18:00:28] local.INFO: Processing buffer {"connection_id":46079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b69b790012d1a20000720fd90004600f92e..."} 
[2026-04-17 18:00:28] local.INFO: Packet analysis {"connection_id":46079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b69"} 
[2026-04-17 18:00:28] local.INFO: Extracted packet for processing {"connection_id":46079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b69"} 
[2026-04-17 18:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756686848,"raw_latitude":119602576,"longitude_deg":75.6686848,"latitude_deg":11.9602576,"altitude":70,"angle":249,"satellites":46,"speed":6,"hex_longitude":"2d1a2000","hex_latitude":"0720fd90","is_valid_coordinates":true} 
[2026-04-17 18:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765794816001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113358046800904192,"note":"Value kept but may cause issues"} 
[2026-04-17 18:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883349099789244416,"note":"Value kept but may cause issues"} 
[2026-04-17 18:00: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-04-17 18:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776428890000,"timestamp_ms":1776428890000,"timestamp_seconds":1776428890,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b69b790"} 
[2026-04-17 18:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":114,"data_length":795,"current_offset":136} 
[2026-04-17 18:00:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1504,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.208.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765794816001,"66":13928,"121":206,"28":31744,"24":6,"16":113358046800904192,"45":1883349099789244416},"client_ip":"117.224.208.250","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 18:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765794816001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:00:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 18:00:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113358046800904192,"km_value":113358046800904.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883349099789244416,"description":"Unknown IO ID 45"} 
[2026-04-17 18:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765794816001,"power":13928,"unknown_121":206,"unknown_28":31744,"ignition":6,"odometer":null,"unknown_45":1883349099789244416}} 
[2026-04-17 18:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":46079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22464,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:00:28] local.INFO: GPS data processed {"connection_id":46079,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:00:28] local.INFO: Acknowledgment sent {"connection_id":46079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:00:32] local.INFO: TCP Data received {"connection_id":46078,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:00:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46078,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:00:32] local.INFO: Processing buffer {"connection_id":46078,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:00:32] local.INFO: Packet analysis {"connection_id":46078,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:00:32] local.INFO: Extracted packet for processing {"connection_id":46078,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:00:32] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":33,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:00:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765740288001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:00:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:00:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:00:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:00:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776428974000,"timestamp_ms":1776428974000,"timestamp_seconds":1776428974,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6affb0"} 
[2026-04-17 18:00:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:00:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:00:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:00:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:00:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:00:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:00:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:00:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46078,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:00:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:00:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46078,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:00:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:00:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:00:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:00:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765740288001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:00:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:00:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:00:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765740288001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:00:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:00:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:00:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:00:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:00:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765740288001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:00:32] local.INFO: DEBUG: GPS processor result {"connection_id":46078,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22465,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:00:32] local.INFO: GPS data processed {"connection_id":46078,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:00:32] local.INFO: Acknowledgment sent {"connection_id":46078,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:00:50] local.INFO: TCP Data received {"connection_id":45968,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:00:50] local.INFO: Processing buffer {"connection_id":45968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:00:50] local.INFO: IMEI packet received {"connection_id":45968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":45968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:00:55] local.INFO: TCP Data received {"connection_id":45968,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45968,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:00:55] local.INFO: Processing buffer {"connection_id":45968,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:00:55] local.INFO: IMEI packet received {"connection_id":45968,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":45968,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:00:56] local.INFO: TCP Data received {"connection_id":45968,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:00:56] local.INFO: Processing buffer {"connection_id":45968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:00:56] local.INFO: Packet analysis {"connection_id":45968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:00:56] local.INFO: Extracted packet for processing {"connection_id":45968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":33,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765740288001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776428974000,"timestamp_ms":1776428974000,"timestamp_seconds":1776428974,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6affb0"} 
[2026-04-17 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-04-17 18:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 18:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765740288001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765740288001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:00:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765740288001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":45968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:00:56] local.INFO: GPS data processed {"connection_id":45968,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:00:56] local.INFO: Acknowledgment sent {"connection_id":45968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:01:27] local.INFO: TCP Data received {"connection_id":45968,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45968,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:01:27] local.INFO: Processing buffer {"connection_id":45968,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:01:27] local.INFO: Packet analysis {"connection_id":45968,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:01:27] local.INFO: Extracted packet for processing {"connection_id":45968,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:01:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":33,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765740288001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776428974000,"timestamp_ms":1776428974000,"timestamp_seconds":1776428974,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6affb0"} 
[2026-04-17 18:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:01:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:01:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45968,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45968,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765740288001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765740288001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:01:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:01:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765740288001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":45968,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22467,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:01:27] local.INFO: GPS data processed {"connection_id":45968,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:01:27] local.INFO: Acknowledgment sent {"connection_id":45968,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:01:55] local.INFO: TCP Data received {"connection_id":45969,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:01:55] local.INFO: Processing buffer {"connection_id":45969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:01:55] local.INFO: IMEI packet received {"connection_id":45969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":45969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:02:00] local.INFO: TCP Data received {"connection_id":45969,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:02:00] local.INFO: Processing buffer {"connection_id":45969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:02:00] local.INFO: IMEI packet received {"connection_id":45969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":45969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:02:01] local.INFO: TCP Data received {"connection_id":45969,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:02:01] local.INFO: Processing buffer {"connection_id":45969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:02:01] local.INFO: Packet analysis {"connection_id":45969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:02:01] local.INFO: Extracted packet for processing {"connection_id":45969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:02:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":33,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765740288001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776428974000,"timestamp_ms":1776428974000,"timestamp_seconds":1776428974,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6affb0"} 
[2026-04-17 18:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:02:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:02:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:02:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:02: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-04-17 18:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765740288001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765740288001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:02:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:02:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765740288001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":45969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:02:01] local.INFO: GPS data processed {"connection_id":45969,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:02:01] local.INFO: Acknowledgment sent {"connection_id":45969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:02:05] local.INFO: TCP Data received {"connection_id":45969,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:02:05] local.INFO: Processing buffer {"connection_id":45969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:02:05] local.INFO: Packet analysis {"connection_id":45969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:02:05] local.INFO: Extracted packet for processing {"connection_id":45969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:02:05] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":33,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765740288001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:02:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776428974000,"timestamp_ms":1776428974000,"timestamp_seconds":1776428974,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6affb0"} 
[2026-04-17 18:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:02:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":45969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":45969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":45969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765740288001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765740288001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:02:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:02:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765740288001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":45969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22469,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:02:05] local.INFO: GPS data processed {"connection_id":45969,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:02:05] local.INFO: Acknowledgment sent {"connection_id":45969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:02:50] local.INFO: TCP Data received {"connection_id":46306,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:02:50] local.INFO: Processing buffer {"connection_id":46306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:02:50] local.INFO: IMEI packet received {"connection_id":46306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":46306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:02:55] local.INFO: TCP Data received {"connection_id":46306,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46306,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:02:55] local.INFO: Processing buffer {"connection_id":46306,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:02:55] local.INFO: IMEI packet received {"connection_id":46306,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":46306,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:02:56] local.INFO: TCP Data received {"connection_id":46306,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:02:56] local.INFO: Processing buffer {"connection_id":46306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:02:56] local.INFO: Packet analysis {"connection_id":46306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:02:56] local.INFO: Extracted packet for processing {"connection_id":46306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:02:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":33,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765740288001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776428974000,"timestamp_ms":1776428974000,"timestamp_seconds":1776428974,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6affb0"} 
[2026-04-17 18:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765740288001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765740288001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:02:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:02:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765740288001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":46306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22470,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:02:56] local.INFO: GPS data processed {"connection_id":46306,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:02:56] local.INFO: Acknowledgment sent {"connection_id":46306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:03:27] local.INFO: TCP Data received {"connection_id":46306,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46306,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:03:27] local.INFO: Processing buffer {"connection_id":46306,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:03:27] local.INFO: Packet analysis {"connection_id":46306,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:03:27] local.INFO: Extracted packet for processing {"connection_id":46306,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:03:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":33,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765740288001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776428974000,"timestamp_ms":1776428974000,"timestamp_seconds":1776428974,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6affb0"} 
[2026-04-17 18:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46306,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46306,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765740288001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765740288001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:03:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:03:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765740288001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":46306,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:03:27] local.INFO: GPS data processed {"connection_id":46306,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:03:27] local.INFO: Acknowledgment sent {"connection_id":46306,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:03:36] local.INFO: TCP Data received {"connection_id":46308,"ip":"117.224.208.250","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:03:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:03:36] local.INFO: Processing buffer {"connection_id":46308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:03:36] local.INFO: IMEI packet received {"connection_id":46308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:03:36] local.INFO: IMEI acknowledgment sent {"connection_id":46308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:03:42] local.INFO: TCP Data received {"connection_id":46308,"ip":"117.224.208.250","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:03:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46308,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:03:42] local.INFO: Processing buffer {"connection_id":46308,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:03:42] local.INFO: IMEI packet received {"connection_id":46308,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:03:42] local.INFO: IMEI acknowledgment sent {"connection_id":46308,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:03:44] local.INFO: TCP Data received {"connection_id":46308,"ip":"117.224.208.250","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6a5ba0012d1a1fc00720fe18004600f92c..."} 
[2026-04-17 18:03:44] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46308,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6a5ba0012d1a1fc00720fe18004600f92c..."} 
[2026-04-17 18:03:44] local.INFO: Processing buffer {"connection_id":46308,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6a5ba0012d1a1fc00720fe18004600f92c..."} 
[2026-04-17 18:03:44] local.INFO: Packet analysis {"connection_id":46308,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:03:44] local.INFO: Extracted packet for processing {"connection_id":46308,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:03:44] local.INFO: GPS Element Parsed {"raw_longitude":756686784,"raw_latitude":119602712,"longitude_deg":75.6686784,"latitude_deg":11.9602712,"altitude":70,"angle":249,"satellites":44,"speed":0,"hex_longitude":"2d1a1fc0","hex_latitude":"0720fe18","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765801216001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:03:44] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113358072570707968,"note":"Value kept but may cause issues"} 
[2026-04-17 18:03:44] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882434306114983936,"note":"Value kept but may cause issues"} 
[2026-04-17 18:03:44] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:03:44] local.INFO: AVL Record Parsed {"raw_timestamp":1776428932000,"timestamp_ms":1776428932000,"timestamp_seconds":1776428932,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6a5ba0"} 
[2026-04-17 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-04-17 18:03:44] 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-04-17 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":3,"data_length":795,"current_offset":136} 
[2026-04-17 18:03:44] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303185074900455,"note":"Value kept but may cause issues"} 
[2026-04-17 18:03:44] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2164260864,"note":"Value kept but may cause issues"} 
[2026-04-17 18:03:44] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2607377752,"note":"Value kept but may cause issues"} 
[2026-04-17 18:03:44] local.WARNING: Large IO value detected {"io_id":121,"raw_value":58015164105490447,"note":"Value kept but may cause issues"} 
[2026-04-17 18:03:44] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4293918786,"note":"Value kept but may cause issues"} 
[2026-04-17 18:03:44] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-04-17 18:03:44] local.WARNING: Large IO value detected {"io_id":49,"raw_value":3221692673,"note":"Value kept but may cause issues"} 
[2026-04-17 18:03:44] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3126329344,"note":"Value kept but may cause issues"} 
[2026-04-17 18:03:44] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,50,28,24,241,158,16,186,157,183,45,253,70,46,10,66,121,167,69,164,128,1,240,92,155,32,4,113,205,14,117,49,48,239,56,2,146,7,65,15],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-04-17 18:03:44] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044305550028832768,"timestamp_seconds":5044305550028833.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 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-04-17 18:03:44] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:03:44] local.INFO: Teltonika packet parsed successfully {"connection_id":46308,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:03:44] local.INFO: Passing IMEI to GPS processor {"connection_id":46308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:03:44] local.INFO: DEBUG: About to call GPS processor {"connection_id":46308,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:03:44] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.208.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:03:44] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:03:44] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:03:44] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765801216001,"66":13015,"50":206,"28":31744,"24":0,"16":113358072570707968,"45":1882434306114983936},"client_ip":"117.224.208.250","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-04-17 18:03:44] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:03:44] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:03:44] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765801216001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:03:44] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-17 18:03:44] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:03:44] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113358072570707968,"km_value":113358072570707.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:03:44] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882434306114983936,"description":"Unknown IO ID 45"} 
[2026-04-17 18:03:44] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765801216001,"power":13015,"unknown_50":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1882434306114983936}} 
[2026-04-17 18:03:44] local.INFO: DEBUG: GPS processor result {"connection_id":46308,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:03:44] local.INFO: GPS data processed {"connection_id":46308,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:03:44] local.INFO: Acknowledgment sent {"connection_id":46308,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:03:50] local.INFO: TCP Data received {"connection_id":46081,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:03:50] local.INFO: Processing buffer {"connection_id":46081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:03:50] local.INFO: IMEI packet received {"connection_id":46081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":46081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:03:56] local.INFO: TCP Data received {"connection_id":46081,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:03:56] local.INFO: Processing buffer {"connection_id":46081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:03:56] local.INFO: IMEI packet received {"connection_id":46081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:03:56] local.INFO: IMEI acknowledgment sent {"connection_id":46081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:03:57] local.INFO: TCP Data received {"connection_id":46081,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:03:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:03:57] local.INFO: Processing buffer {"connection_id":46081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:03:57] local.INFO: Packet analysis {"connection_id":46081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:03:57] local.INFO: Extracted packet for processing {"connection_id":46081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:03:57] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":33,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:03:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765740288001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:03:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:03:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:03:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:03:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776428974000,"timestamp_ms":1776428974000,"timestamp_seconds":1776428974,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6affb0"} 
[2026-04-17 18:03:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:03:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:03:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:03:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:03:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:03:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:03:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:03:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:03:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:03:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:03:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:03:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:03:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:03:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765740288001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:03:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:03:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:03:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765740288001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:03:57] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:03:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:03:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:03:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:03:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765740288001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:03:57] local.INFO: DEBUG: GPS processor result {"connection_id":46081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:03:57] local.INFO: GPS data processed {"connection_id":46081,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:03:57] local.INFO: Acknowledgment sent {"connection_id":46081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:04:24] local.INFO: TCP Data received {"connection_id":46309,"ip":"117.224.208.250","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:04:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:04:24] local.INFO: Processing buffer {"connection_id":46309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:04:24] local.INFO: IMEI packet received {"connection_id":46309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:04:24] local.INFO: IMEI acknowledgment sent {"connection_id":46309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:04:26] local.INFO: TCP Data received {"connection_id":46309,"ip":"117.224.208.250","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:04:26] local.INFO: Processing buffer {"connection_id":46309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:04:26] local.INFO: IMEI packet received {"connection_id":46309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":46309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:04:28] local.INFO: TCP Data received {"connection_id":46081,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:04:28] local.INFO: Processing buffer {"connection_id":46081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:04:28] local.INFO: Packet analysis {"connection_id":46081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:04:28] local.INFO: Extracted packet for processing {"connection_id":46081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:04:28] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":33,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765740288001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:04:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776428974000,"timestamp_ms":1776428974000,"timestamp_seconds":1776428974,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6affb0"} 
[2026-04-17 18:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:04:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765740288001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765740288001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:04:28] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:04:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765740288001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":46081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:04:28] local.INFO: GPS data processed {"connection_id":46081,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:04:28] local.INFO: Acknowledgment sent {"connection_id":46081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:04:37] local.INFO: TCP Data received {"connection_id":46309,"ip":"117.224.208.250","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:04:37] local.INFO: Processing buffer {"connection_id":46309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:04:37] local.INFO: IMEI packet received {"connection_id":46309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:04:37] local.INFO: IMEI acknowledgment sent {"connection_id":46309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:04:40] local.INFO: TCP Data received {"connection_id":46309,"ip":"117.224.208.250","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6de1f8012d1a1fc00720fe18004600f92d..."} 
[2026-04-17 18:04:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6de1f8012d1a1fc00720fe18004600f92d..."} 
[2026-04-17 18:04:40] local.INFO: Processing buffer {"connection_id":46309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6de1f8012d1a1fc00720fe18004600f92d..."} 
[2026-04-17 18:04:40] local.INFO: Packet analysis {"connection_id":46309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6d"} 
[2026-04-17 18:04:40] local.INFO: Extracted packet for processing {"connection_id":46309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6d"} 
[2026-04-17 18:04:40] local.INFO: GPS Element Parsed {"raw_longitude":756686784,"raw_latitude":119602712,"longitude_deg":75.6686784,"latitude_deg":11.9602712,"altitude":70,"angle":249,"satellites":45,"speed":0,"hex_longitude":"2d1a1fc0","hex_latitude":"0720fe18","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:04:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765860352001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:04:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113358072570707968,"note":"Value kept but may cause issues"} 
[2026-04-17 18:04:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882434306114983936,"note":"Value kept but may cause issues"} 
[2026-04-17 18:04:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:04:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776429163000,"timestamp_ms":1776429163000,"timestamp_seconds":1776429163,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6de1f8"} 
[2026-04-17 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-04-17 18:04:40] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 18:04:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":817,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 18:04:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:04:40] local.INFO: Teltonika packet parsed successfully {"connection_id":46309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:04:40] local.INFO: Passing IMEI to GPS processor {"connection_id":46309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:04:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":46309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:04:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.208.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:04:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:04:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:04:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765860352001,"66":12809,"32":206,"28":31744,"24":0,"16":113358072570707968,"45":1882434306114983936},"client_ip":"117.224.208.250","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-17 18:04:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:04:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:04:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765860352001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:04:40] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 18:04:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:04:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113358072570707968,"km_value":113358072570707.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:04:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882434306114983936,"description":"Unknown IO ID 45"} 
[2026-04-17 18:04:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765860352001,"power":12809,"unknown_32":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1882434306114983936}} 
[2026-04-17 18:04:40] local.INFO: DEBUG: GPS processor result {"connection_id":46309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:04:40] local.INFO: GPS data processed {"connection_id":46309,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:04:40] local.INFO: Acknowledgment sent {"connection_id":46309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:04:50] local.INFO: TCP Data received {"connection_id":46310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:04:50] local.INFO: Processing buffer {"connection_id":46310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:04:50] local.INFO: IMEI packet received {"connection_id":46310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":46310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:04:55] local.INFO: TCP Data received {"connection_id":46310,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46310,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:04:55] local.INFO: Processing buffer {"connection_id":46310,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:04:55] local.INFO: IMEI packet received {"connection_id":46310,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":46310,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:04:56] local.INFO: TCP Data received {"connection_id":46310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:04:56] local.INFO: Processing buffer {"connection_id":46310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6affb0012d7faac005afe1800000000921..."} 
[2026-04-17 18:04:56] local.INFO: Packet analysis {"connection_id":46310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:04:56] local.INFO: Extracted packet for processing {"connection_id":46310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6a"} 
[2026-04-17 18:04:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":33,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765740288001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776428974000,"timestamp_ms":1776428974000,"timestamp_seconds":1776428974,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6affb0"} 
[2026-04-17 18:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765740288001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765740288001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:04:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:04:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765740288001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":46310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:04:56] local.INFO: GPS data processed {"connection_id":46310,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:04:56] local.INFO: Acknowledgment sent {"connection_id":46310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:05:26] local.INFO: TCP Data received {"connection_id":46311,"ip":"117.224.208.250","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:05:26] local.INFO: Processing buffer {"connection_id":46311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:05:26] local.INFO: IMEI packet received {"connection_id":46311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":46311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:05:27] local.INFO: TCP Data received {"connection_id":46310,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46310,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:05:27] local.INFO: Processing buffer {"connection_id":46310,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:05:27] local.INFO: Packet analysis {"connection_id":46310,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:05:27] local.INFO: Extracted packet for processing {"connection_id":46310,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765817344001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776429275000,"timestamp_ms":1776429275000,"timestamp_seconds":1776429275,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6f9778"} 
[2026-04-17 18:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46310,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46310,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765817344001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765817344001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:05:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765817344001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":46310,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22477,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:05:27] local.INFO: GPS data processed {"connection_id":46310,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:05:27] local.INFO: Acknowledgment sent {"connection_id":46310,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:05:35] local.INFO: TCP Data received {"connection_id":46311,"ip":"117.224.208.250","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:05:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:05:35] local.INFO: Processing buffer {"connection_id":46311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:05:35] local.INFO: IMEI packet received {"connection_id":46311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:05:35] local.INFO: IMEI acknowledgment sent {"connection_id":46311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:05:38] local.INFO: TCP Data received {"connection_id":46311,"ip":"117.224.208.250","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:05:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46311,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:05:38] local.INFO: Processing buffer {"connection_id":46311,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:05:38] local.INFO: IMEI packet received {"connection_id":46311,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:05:38] local.INFO: IMEI acknowledgment sent {"connection_id":46311,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:05:39] local.INFO: TCP Data received {"connection_id":46311,"ip":"117.224.208.250","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6e3400012d1a1fc00720fe18004600f929..."} 
[2026-04-17 18:05:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6e3400012d1a1fc00720fe18004600f929..."} 
[2026-04-17 18:05:39] local.INFO: Processing buffer {"connection_id":46311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6e3400012d1a1fc00720fe18004600f929..."} 
[2026-04-17 18:05:39] local.INFO: Packet analysis {"connection_id":46311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6e"} 
[2026-04-17 18:05:39] local.INFO: Extracted packet for processing {"connection_id":46311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6e"} 
[2026-04-17 18:05:39] local.INFO: GPS Element Parsed {"raw_longitude":756686784,"raw_latitude":119602712,"longitude_deg":75.6686784,"latitude_deg":11.9602712,"altitude":70,"angle":249,"satellites":41,"speed":0,"hex_longitude":"2d1a1fc0","hex_latitude":"0720fe18","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:05:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765865728001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113358072570707968,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882434306114983936,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:05:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776429184000,"timestamp_ms":1776429184000,"timestamp_seconds":1776429184,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6e3400"} 
[2026-04-17 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-04-17 18:05: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-04-17 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-17 18:05:39] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4262985798,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:39] local.WARNING: Large IO value detected {"io_id":186,"raw_value":2432696320,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:39] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2607543752,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:39] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:39] local.WARNING: Large IO value detected {"io_id":155,"raw_value":7756254094546313152,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:39] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3883466958,"corrected_to":0} 
[2026-04-17 18:05:39] local.WARNING: Large IO value detected {"io_id":71,"raw_value":3489738010,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:39] local.WARNING: Large IO value detected {"io_id":31,"raw_value":3221692670,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:39] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512109577515492,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:39] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3130064896,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:39] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2377364042751736108,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:39] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:39] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,32,28,24,241,158,16,186,157,143,45,192,254,70,43,10,66,121,61,40,235,1,240,41,155,4,113,205,71,31,42,239,50,2,146,7,124,145],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":3883466958,"validated":0}]} 
[2026-04-17 18:05:39] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":5044305554323800064,"timestamp_seconds":5044305554323800.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 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-04-17 18:05:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:05:39] local.INFO: Teltonika packet parsed successfully {"connection_id":46311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:05:39] local.INFO: Passing IMEI to GPS processor {"connection_id":46311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:05:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":46311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:05:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.208.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:05:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:05:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:05:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765865728001,"66":12743,"131":206,"28":31744,"24":0,"16":113358072570707968,"45":1882434306114983936},"client_ip":"117.224.208.250","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-17 18:05:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:05:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:05:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765865728001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:05:39] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 18:05:39] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:05:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113358072570707968,"km_value":113358072570707.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:05:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882434306114983936,"description":"Unknown IO ID 45"} 
[2026-04-17 18:05:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765865728001,"power":12743,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1882434306114983936}} 
[2026-04-17 18:05:40] local.INFO: DEBUG: GPS processor result {"connection_id":46311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:05:40] local.INFO: GPS data processed {"connection_id":46311,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:05:40] local.INFO: Acknowledgment sent {"connection_id":46311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:05:41] local.INFO: TCP Data received {"connection_id":46311,"ip":"117.224.208.250","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6e8608012d1a1fc00720fe18004600f928..."} 
[2026-04-17 18:05:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46311,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6e8608012d1a1fc00720fe18004600f928..."} 
[2026-04-17 18:05:41] local.INFO: Processing buffer {"connection_id":46311,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6e8608012d1a1fc00720fe18004600f928..."} 
[2026-04-17 18:05:41] local.INFO: Packet analysis {"connection_id":46311,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6e"} 
[2026-04-17 18:05:41] local.INFO: Extracted packet for processing {"connection_id":46311,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6e"} 
[2026-04-17 18:05:41] local.INFO: GPS Element Parsed {"raw_longitude":756686784,"raw_latitude":119602712,"longitude_deg":75.6686784,"latitude_deg":11.9602712,"altitude":70,"angle":249,"satellites":40,"speed":0,"hex_longitude":"2d1a1fc0","hex_latitude":"0720fe18","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:05:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765871104001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113358072570707968,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882434306114983936,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:05:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776429205000,"timestamp_ms":1776429205000,"timestamp_seconds":1776429205,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6e8608"} 
[2026-04-17 18:05:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:05:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-17 18:05: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-04-17 18: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-04-17 18:05:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:05:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:05:41] local.INFO: Teltonika packet parsed successfully {"connection_id":46311,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:05:41] local.INFO: Passing IMEI to GPS processor {"connection_id":46311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:05:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":46311,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:05:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.208.250","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:05:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:05:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:05:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765871104001,"66":12776,"131":206,"28":31744,"24":0,"16":113358072570707968,"45":1882434306114983936},"client_ip":"117.224.208.250","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,28,24,16,45]} 
[2026-04-17 18:05:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:05:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:05:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765871104001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:05:41] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 18:05:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:05:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113358072570707968,"km_value":113358072570707.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:05:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882434306114983936,"description":"Unknown IO ID 45"} 
[2026-04-17 18:05:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765871104001,"power":12776,"unknown_131":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1882434306114983936}} 
[2026-04-17 18:05:41] local.INFO: DEBUG: GPS processor result {"connection_id":46311,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22479,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:05:41] local.INFO: GPS data processed {"connection_id":46311,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:05:41] local.INFO: Acknowledgment sent {"connection_id":46311,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:05:50] local.INFO: TCP Data received {"connection_id":46082,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:05:50] local.INFO: Processing buffer {"connection_id":46082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:05:50] local.INFO: IMEI packet received {"connection_id":46082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":46082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:05:55] local.INFO: TCP Data received {"connection_id":46082,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46082,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:05:55] local.INFO: Processing buffer {"connection_id":46082,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:05:55] local.INFO: IMEI packet received {"connection_id":46082,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":46082,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:05:56] local.INFO: TCP Data received {"connection_id":46082,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:05:56] local.INFO: Processing buffer {"connection_id":46082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:05:56] local.INFO: Packet analysis {"connection_id":46082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:05:56] local.INFO: Extracted packet for processing {"connection_id":46082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:05:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765817344001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776429275000,"timestamp_ms":1776429275000,"timestamp_seconds":1776429275,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6f9778"} 
[2026-04-17 18:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:05:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765817344001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765817344001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:05:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:05:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765817344001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":46082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:05:56] local.INFO: GPS data processed {"connection_id":46082,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:05:56] local.INFO: Acknowledgment sent {"connection_id":46082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:06:20] local.INFO: TCP Data received {"connection_id":46083,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46083,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:06:20] local.INFO: Processing buffer {"connection_id":46083,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:06:20] local.INFO: IMEI packet received {"connection_id":46083,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 18:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":46083,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:06:21] local.INFO: TCP Data received {"connection_id":46312,"ip":"117.224.208.250","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:06:21] local.INFO: Processing buffer {"connection_id":46312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:06:21] local.INFO: IMEI packet received {"connection_id":46312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":46312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:06:24] local.INFO: TCP Data received {"connection_id":46312,"ip":"117.224.208.250","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:06:24] local.INFO: Processing buffer {"connection_id":46312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:06:24] local.INFO: IMEI packet received {"connection_id":46312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":46312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:06:28] local.INFO: TCP Data received {"connection_id":46082,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46082,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:06:28] local.INFO: Processing buffer {"connection_id":46082,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:06:28] local.INFO: Packet analysis {"connection_id":46082,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:06:28] local.INFO: Extracted packet for processing {"connection_id":46082,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:06:28] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765817344001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776429275000,"timestamp_ms":1776429275000,"timestamp_seconds":1776429275,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6f9778"} 
[2026-04-17 18:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:06:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:06:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46082,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46082,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765817344001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765817344001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:06:28] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:06:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765817344001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":46082,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22481,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:06:28] local.INFO: GPS data processed {"connection_id":46082,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:06:28] local.INFO: Acknowledgment sent {"connection_id":46082,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:06:33] local.INFO: TCP Data received {"connection_id":46312,"ip":"117.224.208.250","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:06:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:06:33] local.INFO: Processing buffer {"connection_id":46312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:06:33] local.INFO: IMEI packet received {"connection_id":46312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:06:33] local.INFO: IMEI acknowledgment sent {"connection_id":46312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:06:50] local.INFO: TCP Data received {"connection_id":45971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:06:50] local.INFO: Processing buffer {"connection_id":45971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:06:50] local.INFO: IMEI packet received {"connection_id":45971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":45971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:06:55] local.INFO: TCP Data received {"connection_id":45971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:06:55] local.INFO: Processing buffer {"connection_id":45971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:06:55] local.INFO: IMEI packet received {"connection_id":45971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":45971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:07:00] local.INFO: TCP Data received {"connection_id":45971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:07:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45971,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:07:00] local.INFO: Processing buffer {"connection_id":45971,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:07:00] local.INFO: IMEI packet received {"connection_id":45971,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:07:00] local.INFO: IMEI acknowledgment sent {"connection_id":45971,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:07:01] local.INFO: TCP Data received {"connection_id":45971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:07:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:07:01] local.INFO: Processing buffer {"connection_id":45971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:07:01] local.INFO: Packet analysis {"connection_id":45971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:07:01] local.INFO: Extracted packet for processing {"connection_id":45971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:07:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:07:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765817344001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:07:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:07:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:07:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:07:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776429275000,"timestamp_ms":1776429275000,"timestamp_seconds":1776429275,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6f9778"} 
[2026-04-17 18:07:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:07:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:07:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:07:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:07:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:07:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:07:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:07:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:07:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:07:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:07:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:07:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765817344001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:07:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:07:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:07:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765817344001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:07:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:07:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:07:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:07:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:07:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765817344001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:07:01] local.INFO: DEBUG: GPS processor result {"connection_id":45971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22482,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:07:01] local.INFO: GPS data processed {"connection_id":45971,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:07:01] local.INFO: Acknowledgment sent {"connection_id":45971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:07:05] local.INFO: TCP Data received {"connection_id":45971,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:07:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45971,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:07:05] local.INFO: Processing buffer {"connection_id":45971,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:07:05] local.INFO: Packet analysis {"connection_id":45971,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:07:05] local.INFO: Extracted packet for processing {"connection_id":45971,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:07:05] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:07:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765817344001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:07:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:07:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:07:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:07:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776429275000,"timestamp_ms":1776429275000,"timestamp_seconds":1776429275,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6f9778"} 
[2026-04-17 18:07:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:07:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:07:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:07:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:07:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:07:05] local.INFO: Teltonika packet parsed successfully {"connection_id":45971,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:07:05] local.INFO: Passing IMEI to GPS processor {"connection_id":45971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:07:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":45971,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:07: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-04-17 18:07:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:07:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:07:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765817344001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:07:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:07:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:07:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765817344001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:07:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:07:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:07:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:07:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:07:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765817344001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:07:05] local.INFO: DEBUG: GPS processor result {"connection_id":45971,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:07:05] local.INFO: GPS data processed {"connection_id":45971,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:07:05] local.INFO: Acknowledgment sent {"connection_id":45971,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:07:12] local.INFO: TCP Data received {"connection_id":45972,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:07:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45972,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:07:12] local.INFO: Processing buffer {"connection_id":45972,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:07:12] local.INFO: IMEI packet received {"connection_id":45972,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 18:07:12] local.INFO: IMEI acknowledgment sent {"connection_id":45972,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:07:50] local.INFO: TCP Data received {"connection_id":45974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:07:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:07:50] local.INFO: Processing buffer {"connection_id":45974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:07:50] local.INFO: IMEI packet received {"connection_id":45974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:07:50] local.INFO: IMEI acknowledgment sent {"connection_id":45974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:07:55] local.INFO: TCP Data received {"connection_id":45974,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:07:55] local.INFO: Processing buffer {"connection_id":45974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:07:55] local.INFO: IMEI packet received {"connection_id":45974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":45974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:07:56] local.INFO: TCP Data received {"connection_id":45974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:07:56] local.INFO: Processing buffer {"connection_id":45974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:07:56] local.INFO: Packet analysis {"connection_id":45974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:07:56] local.INFO: Extracted packet for processing {"connection_id":45974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:07:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765817344001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776429275000,"timestamp_ms":1776429275000,"timestamp_seconds":1776429275,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6f9778"} 
[2026-04-17 18:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:07:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765817344001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765817344001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:07:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:07:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765817344001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":45974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:07:56] local.INFO: GPS data processed {"connection_id":45974,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:07:56] local.INFO: Acknowledgment sent {"connection_id":45974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:08:00] local.INFO: TCP Data received {"connection_id":45974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:08:00] local.INFO: Processing buffer {"connection_id":45974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:08:00] local.INFO: Packet analysis {"connection_id":45974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:08:00] local.INFO: Extracted packet for processing {"connection_id":45974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765817344001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776429275000,"timestamp_ms":1776429275000,"timestamp_seconds":1776429275,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6f9778"} 
[2026-04-17 18:08:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:08:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:08: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-04-17 18:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765817344001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765817344001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:08:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:08:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765817344001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":45974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:08:00] local.INFO: GPS data processed {"connection_id":45974,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:08:00] local.INFO: Acknowledgment sent {"connection_id":45974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:08:31] local.INFO: TCP Data received {"connection_id":45974,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:08:31] local.INFO: Processing buffer {"connection_id":45974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:08:31] local.INFO: Packet analysis {"connection_id":45974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:08:31] local.INFO: Extracted packet for processing {"connection_id":45974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765817344001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776429275000,"timestamp_ms":1776429275000,"timestamp_seconds":1776429275,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6f9778"} 
[2026-04-17 18:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":45974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":45974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":45974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:08:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765817344001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765817344001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:08:31] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:08:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765817344001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":45974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22486,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:08:31] local.INFO: GPS data processed {"connection_id":45974,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:08:31] local.INFO: Acknowledgment sent {"connection_id":45974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:08:50] local.INFO: TCP Data received {"connection_id":46835,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:08:50] local.INFO: Processing buffer {"connection_id":46835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:08:50] local.INFO: IMEI packet received {"connection_id":46835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":46835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:08:55] local.INFO: TCP Data received {"connection_id":46835,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46835,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:08:55] local.INFO: Processing buffer {"connection_id":46835,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:08:55] local.INFO: IMEI packet received {"connection_id":46835,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":46835,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:08:55] local.INFO: TCP Data received {"connection_id":46313,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:08:55] local.INFO: Processing buffer {"connection_id":46313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:08:55] local.INFO: IMEI packet received {"connection_id":46313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":46313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:08:56] local.INFO: TCP Data received {"connection_id":46835,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:08:56] local.INFO: Processing buffer {"connection_id":46835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:08:56] local.INFO: Packet analysis {"connection_id":46835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:08:56] local.INFO: Extracted packet for processing {"connection_id":46835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765817344001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776429275000,"timestamp_ms":1776429275000,"timestamp_seconds":1776429275,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6f9778"} 
[2026-04-17 18:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765817344001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765817344001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:08:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765817344001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":46835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:08:56] local.INFO: GPS data processed {"connection_id":46835,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:08:56] local.INFO: Acknowledgment sent {"connection_id":46835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:08:56] local.INFO: TCP Data received {"connection_id":46313,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:08:56] local.INFO: Processing buffer {"connection_id":46313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:08:56] local.INFO: IMEI packet received {"connection_id":46313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:08:56] local.INFO: IMEI acknowledgment sent {"connection_id":46313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:09:02] local.INFO: TCP Data received {"connection_id":46313,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:09:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46313,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:09:02] local.INFO: Processing buffer {"connection_id":46313,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:09:02] local.INFO: IMEI packet received {"connection_id":46313,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:09:02] local.INFO: IMEI acknowledgment sent {"connection_id":46313,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:09:04] local.INFO: TCP Data received {"connection_id":46313,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b728190012d19d8400720b2a8003700fb21..."} 
[2026-04-17 18:09:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46313,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b728190012d19d8400720b2a8003700fb21..."} 
[2026-04-17 18:09:04] local.INFO: Processing buffer {"connection_id":46313,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b728190012d19d8400720b2a8003700fb21..."} 
[2026-04-17 18:09:04] local.INFO: Packet analysis {"connection_id":46313,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b72"} 
[2026-04-17 18:09:04] local.INFO: Extracted packet for processing {"connection_id":46313,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b72"} 
[2026-04-17 18:09:04] local.INFO: GPS Element Parsed {"raw_longitude":756668480,"raw_latitude":119583400,"longitude_deg":75.666848,"latitude_deg":11.95834,"altitude":55,"angle":251,"satellites":33,"speed":23,"hex_longitude":"2d19d840","hex_latitude":"0720b2a8","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:09:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765943040001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:09:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113360099795271680,"note":"Value kept but may cause issues"} 
[2026-04-17 18:09:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1862942163972872192,"note":"Value kept but may cause issues"} 
[2026-04-17 18:09:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,106,83,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:09:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776429466000,"timestamp_ms":1776429466000,"timestamp_seconds":1776429466,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b728190"} 
[2026-04-17 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-04-17 18:09:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-17 18:09:04] 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-04-17 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-04-17 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-04-17 18:09:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:09:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46313,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:09:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:09:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46313,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:09:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:09:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:09:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:09:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765943040001,"66":14048,"106":206,"83":41984,"24":23,"16":113360099795271680,"45":1862942163972872192},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,106,83,24,16,45]} 
[2026-04-17 18:09:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:09:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:09:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765943040001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:09:04] local.INFO: Unknown IO ID detected {"io_id":106,"value":206,"description":"Unknown IO ID 106"} 
[2026-04-17 18:09:04] local.INFO: Unknown IO ID detected {"io_id":83,"value":41984,"description":"Unknown IO ID 83"} 
[2026-04-17 18:09:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113360099795271680,"km_value":113360099795271.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:09:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1862942163972872192,"description":"Unknown IO ID 45"} 
[2026-04-17 18:09:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765943040001,"power":14048,"unknown_106":206,"unknown_83":41984,"ignition":23,"odometer":null,"unknown_45":1862942163972872192}} 
[2026-04-17 18:09:04] local.INFO: DEBUG: GPS processor result {"connection_id":46313,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:09:04] local.INFO: GPS data processed {"connection_id":46313,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:09:04] local.INFO: Acknowledgment sent {"connection_id":46313,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:09:26] local.INFO: TCP Data received {"connection_id":46085,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:09:26] local.INFO: Processing buffer {"connection_id":46085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:09:26] local.INFO: IMEI packet received {"connection_id":46085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":46085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:09:27] local.INFO: TCP Data received {"connection_id":46835,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46835,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:09:27] local.INFO: Processing buffer {"connection_id":46835,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:09:27] local.INFO: Packet analysis {"connection_id":46835,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:09:27] local.INFO: Extracted packet for processing {"connection_id":46835,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765817344001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776429275000,"timestamp_ms":1776429275000,"timestamp_seconds":1776429275,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6f9778"} 
[2026-04-17 18:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46835,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46835,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765817344001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765817344001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:09:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:09:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765817344001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":46835,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:09:27] local.INFO: GPS data processed {"connection_id":46835,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:09:27] local.INFO: Acknowledgment sent {"connection_id":46835,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:09:27] local.INFO: TCP Data received {"connection_id":46085,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:09:27] local.INFO: Processing buffer {"connection_id":46085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:09:27] local.INFO: IMEI packet received {"connection_id":46085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:09:27] local.INFO: IMEI acknowledgment sent {"connection_id":46085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:09:32] local.INFO: TCP Data received {"connection_id":46085,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:09:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46085,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:09:32] local.INFO: Processing buffer {"connection_id":46085,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:09:32] local.INFO: IMEI packet received {"connection_id":46085,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:09:32] local.INFO: IMEI acknowledgment sent {"connection_id":46085,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:09:33] local.INFO: TCP Data received {"connection_id":46085,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b733928012d197fc00720b1980045010124..."} 
[2026-04-17 18:09:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b733928012d197fc00720b1980045010124..."} 
[2026-04-17 18:09:33] local.INFO: Processing buffer {"connection_id":46085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b733928012d197fc00720b1980045010124..."} 
[2026-04-17 18:09:33] local.INFO: Packet analysis {"connection_id":46085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b73"} 
[2026-04-17 18:09:33] local.INFO: Extracted packet for processing {"connection_id":46085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b73"} 
[2026-04-17 18:09:33] local.INFO: GPS Element Parsed {"raw_longitude":756645824,"raw_latitude":119583128,"longitude_deg":75.6645824,"latitude_deg":11.9583128,"altitude":69,"angle":257,"satellites":36,"speed":35,"hex_longitude":"2d197fc0","hex_latitude":"0720b198","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:09:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765954304001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:09:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113361276616310784,"note":"Value kept but may cause issues"} 
[2026-04-17 18:09:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1841127853277790208,"note":"Value kept but may cause issues"} 
[2026-04-17 18:09: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-04-17 18:09:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776429513000,"timestamp_ms":1776429513000,"timestamp_seconds":1776429513,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b733928"} 
[2026-04-17 18:09:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:09: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-04-17 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 18:09:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:09:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:09:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:09:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:09:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:09:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:09:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:09:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:09:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:09:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765954304001,"66":14048,"121":206,"28":31744,"24":35,"16":113361276616310784,"45":1841127853277790208},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 18:09:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:09:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:09:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765954304001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:09:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 18:09:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:09:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113361276616310784,"km_value":113361276616310.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:09:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1841127853277790208,"description":"Unknown IO ID 45"} 
[2026-04-17 18:09:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765954304001,"power":14048,"unknown_121":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1841127853277790208}} 
[2026-04-17 18:09:33] local.INFO: DEBUG: GPS processor result {"connection_id":46085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:09:33] local.INFO: GPS data processed {"connection_id":46085,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:09:33] local.INFO: Acknowledgment sent {"connection_id":46085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:09:50] local.INFO: TCP Data received {"connection_id":46315,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:09:50] local.INFO: Processing buffer {"connection_id":46315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:09:50] local.INFO: IMEI packet received {"connection_id":46315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":46315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:09:55] local.INFO: TCP Data received {"connection_id":46315,"ip":"42.106.6.29","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46315,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:09:55] local.INFO: Processing buffer {"connection_id":46315,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:09:55] local.INFO: IMEI packet received {"connection_id":46315,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":46315,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:09:56] local.INFO: TCP Data received {"connection_id":46315,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:09:56] local.INFO: Processing buffer {"connection_id":46315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b6f9778012d7faac005afe1800000000928..."} 
[2026-04-17 18:09:56] local.INFO: Packet analysis {"connection_id":46315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:09:56] local.INFO: Extracted packet for processing {"connection_id":46315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b6f"} 
[2026-04-17 18:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765817344001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776429275000,"timestamp_ms":1776429275000,"timestamp_seconds":1776429275,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b6f9778"} 
[2026-04-17 18:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:09:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765817344001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765817344001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:09:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765817344001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":46315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:09:56] local.INFO: GPS data processed {"connection_id":46315,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:09:56] local.INFO: Acknowledgment sent {"connection_id":46315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:10:05] local.INFO: TCP Data received {"connection_id":46085,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b735c50012d195d400720aa900043010a27..."} 
[2026-04-17 18:10:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46085,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b735c50012d195d400720aa900043010a27..."} 
[2026-04-17 18:10:05] local.INFO: Processing buffer {"connection_id":46085,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b735c50012d195d400720aa900043010a27..."} 
[2026-04-17 18:10:05] local.INFO: Packet analysis {"connection_id":46085,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b73"} 
[2026-04-17 18:10:05] local.INFO: Extracted packet for processing {"connection_id":46085,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b73"} 
[2026-04-17 18:10:05] local.INFO: GPS Element Parsed {"raw_longitude":756636992,"raw_latitude":119581328,"longitude_deg":75.6636992,"latitude_deg":11.9581328,"altitude":67,"angle":266,"satellites":39,"speed":41,"hex_longitude":"2d195d40","hex_latitude":"0720aa90","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:10:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765955328001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:10:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113361710408007680,"note":"Value kept but may cause issues"} 
[2026-04-17 18:10:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1837398309836265472,"note":"Value kept but may cause issues"} 
[2026-04-17 18:10: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-04-17 18:10:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776429522000,"timestamp_ms":1776429522000,"timestamp_seconds":1776429522,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b735c50"} 
[2026-04-17 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-04-17 18:10: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-04-17 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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 18:10:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 18:10:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:10:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46085,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:10:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:10:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46085,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:10:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:10:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:10:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:10:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765955328001,"66":14363,"121":206,"28":31744,"24":41,"16":113361710408007680,"45":1837398309836265472},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 18:10:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:10:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:10:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765955328001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:10:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 18:10:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:10:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113361710408007680,"km_value":113361710408007.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:10:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1837398309836265472,"description":"Unknown IO ID 45"} 
[2026-04-17 18:10:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765955328001,"power":14363,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1837398309836265472}} 
[2026-04-17 18:10:05] local.INFO: DEBUG: GPS processor result {"connection_id":46085,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:10:05] local.INFO: GPS data processed {"connection_id":46085,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:10:05] local.INFO: Acknowledgment sent {"connection_id":46085,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:10:21] local.INFO: TCP Data received {"connection_id":46316,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:10:21] local.INFO: Processing buffer {"connection_id":46316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:10:21] local.INFO: IMEI packet received {"connection_id":46316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":46316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:10:22] local.INFO: TCP Data received {"connection_id":46316,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:10:22] local.INFO: Processing buffer {"connection_id":46316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:10:22] local.INFO: IMEI packet received {"connection_id":46316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":46316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:10:24] local.INFO: TCP Data received {"connection_id":46316,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:10:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:10:24] local.INFO: Processing buffer {"connection_id":46316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:10:24] local.INFO: IMEI packet received {"connection_id":46316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:10:24] local.INFO: IMEI acknowledgment sent {"connection_id":46316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:10:26] local.INFO: TCP Data received {"connection_id":46316,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46316,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:10:26] local.INFO: Processing buffer {"connection_id":46316,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:10:26] local.INFO: IMEI packet received {"connection_id":46316,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":46316,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:10:27] local.INFO: TCP Data received {"connection_id":46315,"ip":"42.106.6.29","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:10:27] local.INFO: Processing buffer {"connection_id":46315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:10:27] local.INFO: Packet analysis {"connection_id":46315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:10:27] local.INFO: Extracted packet for processing {"connection_id":46315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:10:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765894400001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776429576000,"timestamp_ms":1776429576000,"timestamp_seconds":1776429576,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b742f40"} 
[2026-04-17 18:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46315,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.29","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765894400001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.29","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765894400001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:10:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:10:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765894400001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":46315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22493,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:10:27] local.INFO: GPS data processed {"connection_id":46315,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:10:27] local.INFO: Acknowledgment sent {"connection_id":46315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:10:27] local.INFO: TCP Data received {"connection_id":46316,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b736808012d1951000720ab200042011821..."} 
[2026-04-17 18:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b736808012d1951000720ab200042011821..."} 
[2026-04-17 18:10:27] local.INFO: Processing buffer {"connection_id":46316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b736808012d1951000720ab200042011821..."} 
[2026-04-17 18:10:27] local.INFO: Packet analysis {"connection_id":46316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b73"} 
[2026-04-17 18:10:27] local.INFO: Extracted packet for processing {"connection_id":46316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b73"} 
[2026-04-17 18:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756633856,"raw_latitude":119581472,"longitude_deg":75.6633856,"latitude_deg":11.9581472,"altitude":66,"angle":280,"satellites":33,"speed":40,"hex_longitude":"2d195100","hex_latitude":"0720ab20","is_valid_coordinates":true} 
[2026-04-17 18:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765957632001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113361856436895744,"note":"Value kept but may cause issues"} 
[2026-04-17 18:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1827687423139287040,"note":"Value kept but may cause issues"} 
[2026-04-17 18:10: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-04-17 18:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776429525000,"timestamp_ms":1776429525000,"timestamp_seconds":1776429525,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b736808"} 
[2026-04-17 18:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:10: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-04-17 18:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-17 18:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":721,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765957632001,"66":14298,"121":206,"28":31744,"24":40,"16":113361856436895744,"45":1827687423139287040},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 18:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765957632001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:10:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 18:10:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113361856436895744,"km_value":113361856436895.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1827687423139287040,"description":"Unknown IO ID 45"} 
[2026-04-17 18:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765957632001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":40,"odometer":null,"unknown_45":1827687423139287040}} 
[2026-04-17 18:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":46316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22494,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:10:27] local.INFO: GPS data processed {"connection_id":46316,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:10:27] local.INFO: Acknowledgment sent {"connection_id":46316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:10:30] local.INFO: TCP Data received {"connection_id":46316,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b7377a8012d1941800720afa80042012320..."} 
[2026-04-17 18:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b7377a8012d1941800720afa80042012320..."} 
[2026-04-17 18:10:30] local.INFO: Processing buffer {"connection_id":46316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b7377a8012d1941800720afa80042012320..."} 
[2026-04-17 18:10:30] local.INFO: Packet analysis {"connection_id":46316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b73"} 
[2026-04-17 18:10:30] local.INFO: Extracted packet for processing {"connection_id":46316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b73"} 
[2026-04-17 18:10:30] local.INFO: GPS Element Parsed {"raw_longitude":756629888,"raw_latitude":119582632,"longitude_deg":75.6629888,"latitude_deg":11.9582632,"altitude":66,"angle":291,"satellites":32,"speed":39,"hex_longitude":"2d194180","hex_latitude":"0720afa8","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765958400001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113362054005391360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1824239354674618368,"note":"Value kept but may cause issues"} 
[2026-04-17 18:10: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-04-17 18:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776429529000,"timestamp_ms":1776429529000,"timestamp_seconds":1776429529,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b7377a8"} 
[2026-04-17 18:10:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:10:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18: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":55,"n8_eight_byte":218,"data_length":795,"current_offset":136} 
[2026-04-17 18:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2435,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:10:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765958400001,"66":14298,"121":206,"28":31744,"24":39,"16":113362054005391360,"45":1824239354674618368},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 18:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765958400001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:10:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 18:10:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113362054005391360,"km_value":113362054005391.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1824239354674618368,"description":"Unknown IO ID 45"} 
[2026-04-17 18:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765958400001,"power":14298,"unknown_121":206,"unknown_28":31744,"ignition":39,"odometer":null,"unknown_45":1824239354674618368}} 
[2026-04-17 18:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":46316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22495,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:10:30] local.INFO: GPS data processed {"connection_id":46316,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:10:30] local.INFO: Acknowledgment sent {"connection_id":46316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:10:50] local.INFO: TCP Data received {"connection_id":45976,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:10:50] local.INFO: Processing buffer {"connection_id":45976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:10:50] local.INFO: IMEI packet received {"connection_id":45976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":45976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:10:55] local.INFO: TCP Data received {"connection_id":45976,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:10:55] local.INFO: Processing buffer {"connection_id":45976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:10:55] local.INFO: IMEI packet received {"connection_id":45976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":45976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:10:56] local.INFO: TCP Data received {"connection_id":45976,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:10:56] local.INFO: Processing buffer {"connection_id":45976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:10:56] local.INFO: Packet analysis {"connection_id":45976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:10:56] local.INFO: Extracted packet for processing {"connection_id":45976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765894400001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776429576000,"timestamp_ms":1776429576000,"timestamp_seconds":1776429576,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b742f40"} 
[2026-04-17 18:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765894400001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765894400001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:10:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765894400001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":45976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22496,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:10:56] local.INFO: GPS data processed {"connection_id":45976,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:10:56] local.INFO: Acknowledgment sent {"connection_id":45976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:11:01] local.INFO: TCP Data received {"connection_id":46316,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b74b410012d18a98007217410003b012728..."} 
[2026-04-17 18:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46316,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b74b410012d18a98007217410003b012728..."} 
[2026-04-17 18:11:01] local.INFO: Processing buffer {"connection_id":46316,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b74b410012d18a98007217410003b012728..."} 
[2026-04-17 18:11:01] local.INFO: Packet analysis {"connection_id":46316,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:11:01] local.INFO: Extracted packet for processing {"connection_id":46316,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:11:01] local.INFO: GPS Element Parsed {"raw_longitude":756590976,"raw_latitude":119632912,"longitude_deg":75.6590976,"latitude_deg":11.9632912,"altitude":59,"angle":295,"satellites":40,"speed":29,"hex_longitude":"2d18a980","hex_latitude":"07217410","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765979904001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113365322475503616,"note":"Value kept but may cause issues"} 
[2026-04-17 18:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777725614786254848,"note":"Value kept but may cause issues"} 
[2026-04-17 18:11: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-04-17 18:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776429610000,"timestamp_ms":1776429610000,"timestamp_seconds":1776429610,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b74b410"} 
[2026-04-17 18:11:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:11:01] 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-04-17 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 18:11:01] 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-04-17 18: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-04-17 18:11:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46316,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46316,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765979904001,"66":13678,"121":206,"28":31744,"24":29,"16":113365322475503616,"45":1777725614786254848},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 18:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765979904001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:11:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 18:11:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113365322475503616,"km_value":113365322475503.61,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777725614786254848,"description":"Unknown IO ID 45"} 
[2026-04-17 18:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765979904001,"power":13678,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1777725614786254848}} 
[2026-04-17 18:11:02] local.INFO: DEBUG: GPS processor result {"connection_id":46316,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22497,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:11:02] local.INFO: GPS data processed {"connection_id":46316,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:11:02] local.INFO: Acknowledgment sent {"connection_id":46316,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:11:21] local.INFO: TCP Data received {"connection_id":45977,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:11:21] local.INFO: Processing buffer {"connection_id":45977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:11:21] local.INFO: IMEI packet received {"connection_id":45977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":45977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:11:22] local.INFO: TCP Data received {"connection_id":45977,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:11:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:11:22] local.INFO: Processing buffer {"connection_id":45977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:11:22] local.INFO: IMEI packet received {"connection_id":45977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:11:22] local.INFO: IMEI acknowledgment sent {"connection_id":45977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:11:24] local.INFO: TCP Data received {"connection_id":45977,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:11:24] local.INFO: Processing buffer {"connection_id":45977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:11:24] local.INFO: IMEI packet received {"connection_id":45977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":45977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:11:26] local.INFO: TCP Data received {"connection_id":45977,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:11:26] local.INFO: Processing buffer {"connection_id":45977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:11:26] local.INFO: IMEI packet received {"connection_id":45977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":45977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:11:27] local.INFO: TCP Data received {"connection_id":45977,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b74bbe0012d18a380072175d8003c011c24..."} 
[2026-04-17 18:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b74bbe0012d18a380072175d8003c011c24..."} 
[2026-04-17 18:11:27] local.INFO: Processing buffer {"connection_id":45977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b74bbe0012d18a380072175d8003c011c24..."} 
[2026-04-17 18:11:27] local.INFO: Packet analysis {"connection_id":45977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:11:27] local.INFO: Extracted packet for processing {"connection_id":45977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:11:27] local.INFO: GPS Element Parsed {"raw_longitude":756589440,"raw_latitude":119633368,"longitude_deg":75.658944,"latitude_deg":11.9633368,"altitude":60,"angle":284,"satellites":36,"speed":31,"hex_longitude":"2d18a380","hex_latitude":"072175d8","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765980160001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113365399784914944,"note":"Value kept but may cause issues"} 
[2026-04-17 18:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1777092296088752128,"note":"Value kept but may cause issues"} 
[2026-04-17 18:11: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-04-17 18:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776429612000,"timestamp_ms":1776429612000,"timestamp_seconds":1776429612,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b74bbe0"} 
[2026-04-17 18:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:11: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-04-17 18: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":53,"n8_eight_byte":110,"data_length":795,"current_offset":136} 
[2026-04-17 18:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1453,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765980160001,"66":13243,"121":206,"28":31744,"24":31,"16":113365399784914944,"45":1777092296088752128},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 18:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765980160001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:11:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 18:11:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113365399784914944,"km_value":113365399784914.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1777092296088752128,"description":"Unknown IO ID 45"} 
[2026-04-17 18:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765980160001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1777092296088752128}} 
[2026-04-17 18:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":45977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:11:27] local.INFO: GPS data processed {"connection_id":45977,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:11:27] local.INFO: Acknowledgment sent {"connection_id":45977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:11:28] local.INFO: TCP Data received {"connection_id":45976,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:11:28] local.INFO: Processing buffer {"connection_id":45976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:11:28] local.INFO: Packet analysis {"connection_id":45976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:11:28] local.INFO: Extracted packet for processing {"connection_id":45976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:11:28] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765894400001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776429576000,"timestamp_ms":1776429576000,"timestamp_seconds":1776429576,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b742f40"} 
[2026-04-17 18:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:11:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765894400001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765894400001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:11:28] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:11:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765894400001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":45976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22499,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:11:28] local.INFO: GPS data processed {"connection_id":45976,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:11:28] local.INFO: Acknowledgment sent {"connection_id":45976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:11:50] local.INFO: TCP Data received {"connection_id":46836,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:11:50] local.INFO: Processing buffer {"connection_id":46836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:11:50] local.INFO: IMEI packet received {"connection_id":46836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":46836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:11:55] local.INFO: TCP Data received {"connection_id":46836,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46836,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:11:55] local.INFO: Processing buffer {"connection_id":46836,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:11:55] local.INFO: IMEI packet received {"connection_id":46836,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":46836,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:11:56] local.INFO: TCP Data received {"connection_id":46836,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:11:56] local.INFO: Processing buffer {"connection_id":46836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:11:56] local.INFO: Packet analysis {"connection_id":46836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:11:56] local.INFO: Extracted packet for processing {"connection_id":46836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765894400001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776429576000,"timestamp_ms":1776429576000,"timestamp_seconds":1776429576,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b742f40"} 
[2026-04-17 18:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765894400001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765894400001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:11:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765894400001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":46836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:11:56] local.INFO: GPS data processed {"connection_id":46836,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:11:56] local.INFO: Acknowledgment sent {"connection_id":46836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:11:59] local.INFO: TCP Data received {"connection_id":45977,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b74e2f0012d187f80072182000040011327..."} 
[2026-04-17 18:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b74e2f0012d187f80072182000040011327..."} 
[2026-04-17 18:11:59] local.INFO: Processing buffer {"connection_id":45977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b74e2f0012d187f80072182000040011327..."} 
[2026-04-17 18:11:59] local.INFO: Packet analysis {"connection_id":45977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:11:59] local.INFO: Extracted packet for processing {"connection_id":45977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756580224,"raw_latitude":119636480,"longitude_deg":75.6580224,"latitude_deg":11.963648,"altitude":64,"angle":275,"satellites":39,"speed":42,"hex_longitude":"2d187f80","hex_latitude":"07218200","is_valid_coordinates":true} 
[2026-04-17 18:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765980672001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113365863641382912,"note":"Value kept but may cause issues"} 
[2026-04-17 18:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1775403446228604928,"note":"Value kept but may cause issues"} 
[2026-04-17 18:11: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-04-17 18:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776429622000,"timestamp_ms":1776429622000,"timestamp_seconds":1776429622,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b74e2f0"} 
[2026-04-17 18:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-17 18:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":45977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":45977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":45977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765980672001,"66":13896,"121":206,"28":31744,"24":42,"16":113365863641382912,"45":1775403446228604928},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 18:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765980672001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:11:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 18:11:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113365863641382912,"km_value":113365863641382.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1775403446228604928,"description":"Unknown IO ID 45"} 
[2026-04-17 18:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765980672001,"power":13896,"unknown_121":206,"unknown_28":31744,"ignition":42,"odometer":null,"unknown_45":1775403446228604928}} 
[2026-04-17 18:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":45977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22501,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:11:59] local.INFO: GPS data processed {"connection_id":45977,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:11:59] local.INFO: Acknowledgment sent {"connection_id":45977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:12:15] local.INFO: TCP Data received {"connection_id":46317,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:12:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46317,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:12:15] local.INFO: Processing buffer {"connection_id":46317,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:12:15] local.INFO: IMEI packet received {"connection_id":46317,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 18:12:15] local.INFO: IMEI acknowledgment sent {"connection_id":46317,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:12:27] local.INFO: TCP Data received {"connection_id":46837,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:12:27] local.INFO: Processing buffer {"connection_id":46837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:12:27] local.INFO: IMEI packet received {"connection_id":46837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:12:27] local.INFO: IMEI acknowledgment sent {"connection_id":46837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:12:27] local.INFO: TCP Data received {"connection_id":46836,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46836,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:12:27] local.INFO: Processing buffer {"connection_id":46836,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:12:27] local.INFO: Packet analysis {"connection_id":46836,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:12:27] local.INFO: Extracted packet for processing {"connection_id":46836,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765894400001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776429576000,"timestamp_ms":1776429576000,"timestamp_seconds":1776429576,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b742f40"} 
[2026-04-17 18:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:12:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46836,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46836,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765894400001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765894400001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:12:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:12:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765894400001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":46836,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22502,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:12:27] local.INFO: GPS data processed {"connection_id":46836,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:12:27] local.INFO: Acknowledgment sent {"connection_id":46836,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:12:32] local.INFO: TCP Data received {"connection_id":46837,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:12:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46837,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:12:32] local.INFO: Processing buffer {"connection_id":46837,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:12:32] local.INFO: IMEI packet received {"connection_id":46837,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:12:32] local.INFO: IMEI acknowledgment sent {"connection_id":46837,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:12:33] local.INFO: TCP Data received {"connection_id":46837,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b75b5e0012d181e800721abb00044002227..."} 
[2026-04-17 18:12:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b75b5e0012d181e800721abb00044002227..."} 
[2026-04-17 18:12:33] local.INFO: Processing buffer {"connection_id":46837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b75b5e0012d181e800721abb00044002227..."} 
[2026-04-17 18:12:33] local.INFO: Packet analysis {"connection_id":46837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b75"} 
[2026-04-17 18:12:33] local.INFO: Extracted packet for processing {"connection_id":46837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b75"} 
[2026-04-17 18:12:33] local.INFO: GPS Element Parsed {"raw_longitude":756555392,"raw_latitude":119647152,"longitude_deg":75.6555392,"latitude_deg":11.9647152,"altitude":68,"angle":34,"satellites":39,"speed":16,"hex_longitude":"2d181e80","hex_latitude":"0721abb0","is_valid_coordinates":true} 
[2026-04-17 18:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:12:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765996544001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:12:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113367250915819520,"note":"Value kept but may cause issues"} 
[2026-04-17 18:12:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737545061864390656,"note":"Value kept but may cause issues"} 
[2026-04-17 18:12:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:12:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776429676000,"timestamp_ms":1776429676000,"timestamp_seconds":1776429676,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b75b5e0"} 
[2026-04-17 18:12:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:12: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-04-17 18:12:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-17 18:12:33] 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-04-17 18:12:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:12:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:12:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:12:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:12:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:12:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:12:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:12:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:12:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:12:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765996544001,"66":14048,"120":206,"28":31744,"24":16,"16":113367250915819520,"45":1737545061864390656},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 18:12:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:12:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:12:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765996544001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:12:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 18:12:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:12:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113367250915819520,"km_value":113367250915819.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:12:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737545061864390656,"description":"Unknown IO ID 45"} 
[2026-04-17 18:12:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765996544001,"power":14048,"unknown_120":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1737545061864390656}} 
[2026-04-17 18:12:33] local.INFO: DEBUG: GPS processor result {"connection_id":46837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22503,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:12:33] local.INFO: GPS data processed {"connection_id":46837,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:12:33] local.INFO: Acknowledgment sent {"connection_id":46837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:12:34] local.INFO: TCP Data received {"connection_id":46837,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b75f078012d1831400721c9900048002329..."} 
[2026-04-17 18:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b75f078012d1831400721c9900048002329..."} 
[2026-04-17 18:12:34] local.INFO: Processing buffer {"connection_id":46837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b75f078012d1831400721c9900048002329..."} 
[2026-04-17 18:12:34] local.INFO: Packet analysis {"connection_id":46837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b75"} 
[2026-04-17 18:12:34] local.INFO: Extracted packet for processing {"connection_id":46837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b75"} 
[2026-04-17 18:12:34] local.INFO: GPS Element Parsed {"raw_longitude":756560192,"raw_latitude":119654800,"longitude_deg":75.6560192,"latitude_deg":11.96548,"altitude":72,"angle":35,"satellites":41,"speed":30,"hex_longitude":"2d183140","hex_latitude":"0721c990","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:12:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765997056001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:12:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113367689002483712,"note":"Value kept but may cause issues"} 
[2026-04-17 18:12:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1737967274329616384,"note":"Value kept but may cause issues"} 
[2026-04-17 18:12:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:12:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776429691000,"timestamp_ms":1776429691000,"timestamp_seconds":1776429691,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b75f078"} 
[2026-04-17 18:12:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:12:34] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 18:12:34] 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-04-17 18: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-04-17 18:12:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:12:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:12:34] local.INFO: Teltonika packet parsed successfully {"connection_id":46837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:12:34] local.INFO: Passing IMEI to GPS processor {"connection_id":46837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:12:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":46837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:12:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:12:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:12:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:12:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765997056001,"66":13993,"120":206,"28":31744,"24":30,"16":113367689002483712,"45":1737967274329616384},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 18:12:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:12:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:12:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765997056001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:12:34] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 18:12:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:12:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113367689002483712,"km_value":113367689002483.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:12:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1737967274329616384,"description":"Unknown IO ID 45"} 
[2026-04-17 18:12:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765997056001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1737967274329616384}} 
[2026-04-17 18:12:34] local.INFO: DEBUG: GPS processor result {"connection_id":46837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:12:34] local.INFO: GPS data processed {"connection_id":46837,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:12:34] local.INFO: Acknowledgment sent {"connection_id":46837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:12:55] local.INFO: TCP Data received {"connection_id":46087,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:12:55] local.INFO: Processing buffer {"connection_id":46087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:12:55] local.INFO: IMEI packet received {"connection_id":46087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":46087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:13:00] local.INFO: TCP Data received {"connection_id":46087,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46087,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:13:00] local.INFO: Processing buffer {"connection_id":46087,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:13:00] local.INFO: IMEI packet received {"connection_id":46087,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":46087,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:13:01] local.INFO: TCP Data received {"connection_id":46087,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:13:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:13:01] local.INFO: Processing buffer {"connection_id":46087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:13:01] local.INFO: Packet analysis {"connection_id":46087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:13:01] local.INFO: Extracted packet for processing {"connection_id":46087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:13:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:13:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765894400001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:13:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:13:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:13:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:13:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776429576000,"timestamp_ms":1776429576000,"timestamp_seconds":1776429576,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b742f40"} 
[2026-04-17 18:13:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:13:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:13:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:13:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:13:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:13:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:13:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:13:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:13:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:13:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:13: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-04-17 18:13:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:13:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:13:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765894400001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:13:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:13:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:13:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765894400001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:13:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:13:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:13:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:13:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:13:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765894400001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:13:01] local.INFO: DEBUG: GPS processor result {"connection_id":46087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:13:01] local.INFO: GPS data processed {"connection_id":46087,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:13:01] local.INFO: Acknowledgment sent {"connection_id":46087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:13:06] local.INFO: TCP Data received {"connection_id":46837,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b761f58012d1846800721e8c0004d00202a..."} 
[2026-04-17 18:13:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46837,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b761f58012d1846800721e8c0004d00202a..."} 
[2026-04-17 18:13:06] local.INFO: Processing buffer {"connection_id":46837,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b761f58012d1846800721e8c0004d00202a..."} 
[2026-04-17 18:13:06] local.INFO: Packet analysis {"connection_id":46837,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b76"} 
[2026-04-17 18:13:06] local.INFO: Extracted packet for processing {"connection_id":46837,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b76"} 
[2026-04-17 18:13:06] local.INFO: GPS Element Parsed {"raw_longitude":756565632,"raw_latitude":119662784,"longitude_deg":75.6565632,"latitude_deg":11.9662784,"altitude":77,"angle":32,"satellites":42,"speed":33,"hex_longitude":"2d184680","hex_latitude":"0721e8c0","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:13:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766000896001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:13:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113368152858951680,"note":"Value kept but may cause issues"} 
[2026-04-17 18:13:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1743244930144899072,"note":"Value kept but may cause issues"} 
[2026-04-17 18:13:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:13:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776429703000,"timestamp_ms":1776429703000,"timestamp_seconds":1776429703,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b761f58"} 
[2026-04-17 18:13:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:13: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-04-17 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 18:13:06] 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-04-17 18: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-04-17 18:13:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:13:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:13:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46837,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:13:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:13:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46837,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:13:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:13:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:13:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:13:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766000896001,"66":14070,"120":206,"28":31744,"24":33,"16":113368152858951680,"45":1743244930144899072},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 18:13:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:13:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:13:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766000896001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:13:06] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 18:13:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:13:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113368152858951680,"km_value":113368152858951.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:13:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1743244930144899072,"description":"Unknown IO ID 45"} 
[2026-04-17 18:13:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766000896001,"power":14070,"unknown_120":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1743244930144899072}} 
[2026-04-17 18:13:06] local.INFO: DEBUG: GPS processor result {"connection_id":46837,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:13:06] local.INFO: GPS data processed {"connection_id":46837,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:13:06] local.INFO: Acknowledgment sent {"connection_id":46837,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:13:07] local.INFO: TCP Data received {"connection_id":46087,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:13:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46087,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:13:07] local.INFO: Processing buffer {"connection_id":46087,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:13:07] local.INFO: Packet analysis {"connection_id":46087,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:13:07] local.INFO: Extracted packet for processing {"connection_id":46087,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:13:07] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:13:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765894400001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:13:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:13:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:13:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:13:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776429576000,"timestamp_ms":1776429576000,"timestamp_seconds":1776429576,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b742f40"} 
[2026-04-17 18:13:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:13:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:13:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:13:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:13:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:13:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:13:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:13:07] local.INFO: Teltonika packet parsed successfully {"connection_id":46087,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:13:07] local.INFO: Passing IMEI to GPS processor {"connection_id":46087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:13:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":46087,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:13:07] 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-04-17 18:13:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:13:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:13:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765894400001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:13:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:13:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:13:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765894400001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:13:07] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:13:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:13:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:13:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:13:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765894400001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:13:07] local.INFO: DEBUG: GPS processor result {"connection_id":46087,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:13:07] local.INFO: GPS data processed {"connection_id":46087,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:13:07] local.INFO: Acknowledgment sent {"connection_id":46087,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:13:21] local.INFO: TCP Data received {"connection_id":45978,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:13:21] local.INFO: Processing buffer {"connection_id":45978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:13:21] local.INFO: IMEI packet received {"connection_id":45978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":45978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:13:23] local.INFO: TCP Data received {"connection_id":45978,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:13:23] local.INFO: Processing buffer {"connection_id":45978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:13:23] local.INFO: IMEI packet received {"connection_id":45978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":45978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:13:26] local.INFO: TCP Data received {"connection_id":45978,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45978,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:13:26] local.INFO: Processing buffer {"connection_id":45978,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:13:26] local.INFO: IMEI packet received {"connection_id":45978,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":45978,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:13:28] local.INFO: TCP Data received {"connection_id":45978,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b764a50012d185ac0072207480050002127..."} 
[2026-04-17 18:13:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b764a50012d185ac0072207480050002127..."} 
[2026-04-17 18:13:28] local.INFO: Processing buffer {"connection_id":45978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b764a50012d185ac0072207480050002127..."} 
[2026-04-17 18:13:28] local.INFO: Packet analysis {"connection_id":45978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b76"} 
[2026-04-17 18:13:28] local.INFO: Extracted packet for processing {"connection_id":45978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b76"} 
[2026-04-17 18:13:28] local.INFO: GPS Element Parsed {"raw_longitude":756570816,"raw_latitude":119670600,"longitude_deg":75.6570816,"latitude_deg":11.96706,"altitude":80,"angle":33,"satellites":39,"speed":33,"hex_longitude":"2d185ac0","hex_latitude":"07220748","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:13:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766003968001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:13:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113368603830517760,"note":"Value kept but may cause issues"} 
[2026-04-17 18:13:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1749226273402044416,"note":"Value kept but may cause issues"} 
[2026-04-17 18:13: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-04-17 18:13:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776429714000,"timestamp_ms":1776429714000,"timestamp_seconds":1776429714,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b764a50"} 
[2026-04-17 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-04-17 18:13:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":54,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-17 18:13:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2682,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 18:13:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:13:28] local.INFO: Teltonika packet parsed successfully {"connection_id":45978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:13:28] local.INFO: Passing IMEI to GPS processor {"connection_id":45978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:13:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":45978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:13:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:13:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:13:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:13:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766003968001,"66":13993,"120":206,"28":31744,"24":33,"16":113368603830517760,"45":1749226273402044416},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 18:13:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:13:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:13:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766003968001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:13:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 18:13:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:13:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113368603830517760,"km_value":113368603830517.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:13:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1749226273402044416,"description":"Unknown IO ID 45"} 
[2026-04-17 18:13:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766003968001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1749226273402044416}} 
[2026-04-17 18:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":45978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:13:28] local.INFO: GPS data processed {"connection_id":45978,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:13:28] local.INFO: Acknowledgment sent {"connection_id":45978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:13:33] local.INFO: TCP Data received {"connection_id":45978,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b767548012d186dc0072224a00056002229..."} 
[2026-04-17 18:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b767548012d186dc0072224a00056002229..."} 
[2026-04-17 18:13:33] local.INFO: Processing buffer {"connection_id":45978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b767548012d186dc0072224a00056002229..."} 
[2026-04-17 18:13:33] local.INFO: Packet analysis {"connection_id":45978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b76"} 
[2026-04-17 18:13:33] local.INFO: Extracted packet for processing {"connection_id":45978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b76"} 
[2026-04-17 18:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756575680,"raw_latitude":119678112,"longitude_deg":75.657568,"latitude_deg":11.9678112,"altitude":86,"angle":34,"satellites":41,"speed":31,"hex_longitude":"2d186dc0","hex_latitude":"072224a0","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766006784001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113369037622214656,"note":"Value kept but may cause issues"} 
[2026-04-17 18:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1754926141682436096,"note":"Value kept but may cause issues"} 
[2026-04-17 18:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776429725000,"timestamp_ms":1776429725000,"timestamp_seconds":1776429725,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b767548"} 
[2026-04-17 18:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:13: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-04-17 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 18:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":45978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":45978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":45978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766006784001,"66":14026,"120":206,"28":31744,"24":31,"16":113369037622214656,"45":1754926141682436096},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 18:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766006784001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:13:33] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 18:13:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113369037622214656,"km_value":113369037622214.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1754926141682436096,"description":"Unknown IO ID 45"} 
[2026-04-17 18:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766006784001,"power":14026,"unknown_120":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1754926141682436096}} 
[2026-04-17 18:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":45978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22509,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:13:33] local.INFO: GPS data processed {"connection_id":45978,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:13:33] local.INFO: Acknowledgment sent {"connection_id":45978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:13:50] local.INFO: TCP Data received {"connection_id":46318,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:13:50] local.INFO: Processing buffer {"connection_id":46318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:13:50] local.INFO: IMEI packet received {"connection_id":46318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":46318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:13:55] local.INFO: TCP Data received {"connection_id":46318,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46318,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:13:55] local.INFO: Processing buffer {"connection_id":46318,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:13:55] local.INFO: IMEI packet received {"connection_id":46318,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":46318,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:13:56] local.INFO: TCP Data received {"connection_id":46318,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:13:56] local.INFO: Processing buffer {"connection_id":46318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:13:56] local.INFO: Packet analysis {"connection_id":46318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:13:56] local.INFO: Extracted packet for processing {"connection_id":46318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:13:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765894400001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776429576000,"timestamp_ms":1776429576000,"timestamp_seconds":1776429576,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b742f40"} 
[2026-04-17 18:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:13:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765894400001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765894400001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:13:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:13:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765894400001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":46318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22510,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:13:56] local.INFO: GPS data processed {"connection_id":46318,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:13:56] local.INFO: Acknowledgment sent {"connection_id":46318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:14:11] local.INFO: TCP Data received {"connection_id":45978,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b76a428012d18828007224388005d002121..."} 
[2026-04-17 18:14:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b76a428012d18828007224388005d002121..."} 
[2026-04-17 18:14:11] local.INFO: Processing buffer {"connection_id":45978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b76a428012d18828007224388005d002121..."} 
[2026-04-17 18:14:11] local.INFO: Packet analysis {"connection_id":45978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b76"} 
[2026-04-17 18:14:11] local.INFO: Extracted packet for processing {"connection_id":45978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b76"} 
[2026-04-17 18:14:11] local.INFO: GPS Element Parsed {"raw_longitude":756580992,"raw_latitude":119686024,"longitude_deg":75.6580992,"latitude_deg":11.9686024,"altitude":93,"angle":33,"satellites":33,"speed":30,"hex_longitude":"2d188280","hex_latitude":"07224388","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:14:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766009600001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:14:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113369492888748032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:14:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1760274166241861632,"note":"Value kept but may cause issues"} 
[2026-04-17 18:14:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:14:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776429737000,"timestamp_ms":1776429737000,"timestamp_seconds":1776429737,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b76a428"} 
[2026-04-17 18:14:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:14:11] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19456,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18: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":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-04-17 18:14:11] 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-04-17 18: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-04-17 18:14:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:14:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:14:11] local.INFO: Teltonika packet parsed successfully {"connection_id":45978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:14:11] local.INFO: Passing IMEI to GPS processor {"connection_id":45978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:14:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":45978,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:14:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:14:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:14:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:14:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766009600001,"66":13993,"120":206,"28":31744,"24":30,"16":113369492888748032,"45":1760274166241861632},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,28,24,16,45]} 
[2026-04-17 18:14:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:14:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:14:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766009600001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:14:11] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 18:14:11] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:14:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113369492888748032,"km_value":113369492888748.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:14:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":1760274166241861632,"description":"Unknown IO ID 45"} 
[2026-04-17 18:14:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766009600001,"power":13993,"unknown_120":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1760274166241861632}} 
[2026-04-17 18:14:11] local.INFO: DEBUG: GPS processor result {"connection_id":45978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22511,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:14:11] local.INFO: GPS data processed {"connection_id":45978,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:14:11] local.INFO: Acknowledgment sent {"connection_id":45978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:14:21] local.INFO: TCP Data received {"connection_id":45979,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:14:21] local.INFO: Processing buffer {"connection_id":45979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:14:21] local.INFO: IMEI packet received {"connection_id":45979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":45979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:14:21] local.INFO: TCP Data received {"connection_id":45979,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:14:21] local.INFO: Processing buffer {"connection_id":45979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:14:21] local.INFO: IMEI packet received {"connection_id":45979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":45979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:14:23] local.INFO: TCP Data received {"connection_id":45979,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:14:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:14:23] local.INFO: Processing buffer {"connection_id":45979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:14:23] local.INFO: IMEI packet received {"connection_id":45979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:14:23] local.INFO: IMEI acknowledgment sent {"connection_id":45979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:14:24] local.INFO: TCP Data received {"connection_id":45979,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:14:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45979,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:14:24] local.INFO: Processing buffer {"connection_id":45979,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:14:24] local.INFO: IMEI packet received {"connection_id":45979,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:14:24] local.INFO: IMEI acknowledgment sent {"connection_id":45979,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:14:27] local.INFO: TCP Data received {"connection_id":46318,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:14:27] local.INFO: Processing buffer {"connection_id":46318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:14:27] local.INFO: Packet analysis {"connection_id":46318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:14:27] local.INFO: Extracted packet for processing {"connection_id":46318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765894400001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776429576000,"timestamp_ms":1776429576000,"timestamp_seconds":1776429576,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b742f40"} 
[2026-04-17 18:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:14:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46318,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765894400001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765894400001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:14:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765894400001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":46318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22512,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:14:27] local.INFO: GPS data processed {"connection_id":46318,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:14:27] local.INFO: Acknowledgment sent {"connection_id":46318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:14:50] local.INFO: TCP Data received {"connection_id":46319,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:14:50] local.INFO: Processing buffer {"connection_id":46319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:14:50] local.INFO: IMEI packet received {"connection_id":46319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":46319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:14:55] local.INFO: TCP Data received {"connection_id":46319,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46319,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:14:55] local.INFO: Processing buffer {"connection_id":46319,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:14:55] local.INFO: IMEI packet received {"connection_id":46319,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":46319,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:14:56] local.INFO: TCP Data received {"connection_id":46319,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:14:56] local.INFO: Processing buffer {"connection_id":46319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b742f40012d7faac005afe1800000000927..."} 
[2026-04-17 18:14:56] local.INFO: Packet analysis {"connection_id":46319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:14:56] local.INFO: Extracted packet for processing {"connection_id":46319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b74"} 
[2026-04-17 18:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":39,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765894400001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776429576000,"timestamp_ms":1776429576000,"timestamp_seconds":1776429576,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b742f40"} 
[2026-04-17 18:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765894400001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765894400001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:14:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765894400001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":46319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:14:56] local.INFO: GPS data processed {"connection_id":46319,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:14:56] local.INFO: Acknowledgment sent {"connection_id":46319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:15:27] local.INFO: TCP Data received {"connection_id":46319,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46319,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:15:27] local.INFO: Processing buffer {"connection_id":46319,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:15:27] local.INFO: Packet analysis {"connection_id":46319,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:15:27] local.INFO: Extracted packet for processing {"connection_id":46319,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":2,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765971456001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776429877000,"timestamp_ms":1776429877000,"timestamp_seconds":1776429877,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b78c708"} 
[2026-04-17 18:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:15:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46319,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46319,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765971456001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765971456001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:15:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765971456001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":46319,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22514,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:15:27] local.INFO: GPS data processed {"connection_id":46319,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:15:27] local.INFO: Acknowledgment sent {"connection_id":46319,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:15:50] local.INFO: TCP Data received {"connection_id":46320,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:15:50] local.INFO: Processing buffer {"connection_id":46320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:15:50] local.INFO: IMEI packet received {"connection_id":46320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":46320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:15:55] local.INFO: TCP Data received {"connection_id":46320,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46320,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:15:55] local.INFO: Processing buffer {"connection_id":46320,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:15:55] local.INFO: IMEI packet received {"connection_id":46320,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":46320,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:15:56] local.INFO: TCP Data received {"connection_id":46320,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:15:56] local.INFO: Processing buffer {"connection_id":46320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:15:56] local.INFO: Packet analysis {"connection_id":46320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:15:56] local.INFO: Extracted packet for processing {"connection_id":46320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:15:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":2,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765971456001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776429877000,"timestamp_ms":1776429877000,"timestamp_seconds":1776429877,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b78c708"} 
[2026-04-17 18:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765971456001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765971456001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:15:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765971456001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":46320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22515,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:15:56] local.INFO: GPS data processed {"connection_id":46320,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:15:56] local.INFO: Acknowledgment sent {"connection_id":46320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:16:27] local.INFO: TCP Data received {"connection_id":46320,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46320,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:16:27] local.INFO: Processing buffer {"connection_id":46320,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:16:27] local.INFO: Packet analysis {"connection_id":46320,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:16:27] local.INFO: Extracted packet for processing {"connection_id":46320,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":2,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765971456001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776429877000,"timestamp_ms":1776429877000,"timestamp_seconds":1776429877,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b78c708"} 
[2026-04-17 18:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46320,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46320,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765971456001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765971456001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:16:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765971456001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":46320,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:16:27] local.INFO: GPS data processed {"connection_id":46320,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:16:27] local.INFO: Acknowledgment sent {"connection_id":46320,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:16:55] local.INFO: TCP Data received {"connection_id":46842,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:16:55] local.INFO: Processing buffer {"connection_id":46842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:16:55] local.INFO: IMEI packet received {"connection_id":46842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":46842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:17:00] local.INFO: TCP Data received {"connection_id":46842,"ip":"42.106.6.17","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46842,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:17:00] local.INFO: Processing buffer {"connection_id":46842,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:17:00] local.INFO: IMEI packet received {"connection_id":46842,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":46842,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:17:01] local.INFO: TCP Data received {"connection_id":46842,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:17:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:17:01] local.INFO: Processing buffer {"connection_id":46842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:17:01] local.INFO: Packet analysis {"connection_id":46842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:17:01] local.INFO: Extracted packet for processing {"connection_id":46842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:17:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":2,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:17:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765971456001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:17:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:17:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:17:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:17:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776429877000,"timestamp_ms":1776429877000,"timestamp_seconds":1776429877,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b78c708"} 
[2026-04-17 18:17:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:17:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:17:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:17:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:17:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:17:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:17:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:17:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:17:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:17:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:17: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-04-17 18:17:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:17:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:17:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765971456001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:17:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:17:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:17:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765971456001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:17:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:17:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:17:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:17:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:17:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765971456001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:17:01] local.INFO: DEBUG: GPS processor result {"connection_id":46842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:17:01] local.INFO: GPS data processed {"connection_id":46842,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:17:01] local.INFO: Acknowledgment sent {"connection_id":46842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:17:06] local.INFO: TCP Data received {"connection_id":46842,"ip":"42.106.6.17","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46842,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:17:06] local.INFO: Processing buffer {"connection_id":46842,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:17:06] local.INFO: Packet analysis {"connection_id":46842,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:17:06] local.INFO: Extracted packet for processing {"connection_id":46842,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:17:06] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":2,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765971456001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776429877000,"timestamp_ms":1776429877000,"timestamp_seconds":1776429877,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b78c708"} 
[2026-04-17 18:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46842,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46842,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.17","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765971456001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.17","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765971456001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:17:06] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:17:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765971456001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":46842,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22518,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:17:06] local.INFO: GPS data processed {"connection_id":46842,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:17:06] local.INFO: Acknowledgment sent {"connection_id":46842,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:17:50] local.INFO: TCP Data received {"connection_id":46091,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:17:50] local.INFO: Processing buffer {"connection_id":46091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:17:50] local.INFO: IMEI packet received {"connection_id":46091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":46091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:17:55] local.INFO: TCP Data received {"connection_id":46091,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46091,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:17:55] local.INFO: Processing buffer {"connection_id":46091,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:17:55] local.INFO: IMEI packet received {"connection_id":46091,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":46091,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:17:56] local.INFO: TCP Data received {"connection_id":46091,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:17:56] local.INFO: Processing buffer {"connection_id":46091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:17:56] local.INFO: Packet analysis {"connection_id":46091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:17:56] local.INFO: Extracted packet for processing {"connection_id":46091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:17:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":2,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765971456001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776429877000,"timestamp_ms":1776429877000,"timestamp_seconds":1776429877,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b78c708"} 
[2026-04-17 18:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:17:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.37","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765971456001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765971456001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:17:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:17:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765971456001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":46091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22519,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:17:56] local.INFO: GPS data processed {"connection_id":46091,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:17:56] local.INFO: Acknowledgment sent {"connection_id":46091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:18:04] local.INFO: TCP Data received {"connection_id":46843,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46843,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:18:04] local.INFO: Processing buffer {"connection_id":46843,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:18:04] local.INFO: IMEI packet received {"connection_id":46843,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 18:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":46843,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:18:27] local.INFO: TCP Data received {"connection_id":46091,"ip":"42.106.6.37","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46091,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:18:27] local.INFO: Processing buffer {"connection_id":46091,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:18:27] local.INFO: Packet analysis {"connection_id":46091,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:18:27] local.INFO: Extracted packet for processing {"connection_id":46091,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:18:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":2,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765971456001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776429877000,"timestamp_ms":1776429877000,"timestamp_seconds":1776429877,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b78c708"} 
[2026-04-17 18:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:18:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46091,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46091,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:18: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-04-17 18:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765971456001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.37","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765971456001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:18:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:18:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765971456001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":46091,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:18:27] local.INFO: GPS data processed {"connection_id":46091,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:18:27] local.INFO: Acknowledgment sent {"connection_id":46091,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:18:50] local.INFO: TCP Data received {"connection_id":45980,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:18:50] local.INFO: Processing buffer {"connection_id":45980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:18:50] local.INFO: IMEI packet received {"connection_id":45980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":45980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:18:55] local.INFO: TCP Data received {"connection_id":45980,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:18:55] local.INFO: Processing buffer {"connection_id":45980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:18:55] local.INFO: IMEI packet received {"connection_id":45980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":45980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:18:56] local.INFO: TCP Data received {"connection_id":45980,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:18:56] local.INFO: Processing buffer {"connection_id":45980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:18:56] local.INFO: Packet analysis {"connection_id":45980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:18:56] local.INFO: Extracted packet for processing {"connection_id":45980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:18:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":2,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765971456001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776429877000,"timestamp_ms":1776429877000,"timestamp_seconds":1776429877,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b78c708"} 
[2026-04-17 18:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:18:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:18:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:18:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:18:56] 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-04-17 18:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765971456001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765971456001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:18:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:18:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765971456001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":45980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22521,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:18:56] local.INFO: GPS data processed {"connection_id":45980,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:18:56] local.INFO: Acknowledgment sent {"connection_id":45980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:19:27] local.INFO: TCP Data received {"connection_id":46323,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:19:27] local.INFO: Processing buffer {"connection_id":46323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:19:27] local.INFO: IMEI packet received {"connection_id":46323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:19:27] local.INFO: IMEI acknowledgment sent {"connection_id":46323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:19:27] local.INFO: TCP Data received {"connection_id":45980,"ip":"42.106.6.46","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:19:27] local.INFO: Processing buffer {"connection_id":45980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:19:27] local.INFO: Packet analysis {"connection_id":45980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:19:27] local.INFO: Extracted packet for processing {"connection_id":45980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":2,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765971456001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776429877000,"timestamp_ms":1776429877000,"timestamp_seconds":1776429877,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b78c708"} 
[2026-04-17 18:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:19:27] 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-04-17 18:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765971456001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.46","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765971456001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:19:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765971456001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":45980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:19:27] local.INFO: GPS data processed {"connection_id":45980,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:19:27] local.INFO: Acknowledgment sent {"connection_id":45980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:19:28] local.INFO: TCP Data received {"connection_id":46323,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b7b9d98012d1b5bc007251c50002a000d26..."} 
[2026-04-17 18:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b7b9d98012d1b5bc007251c50002a000d26..."} 
[2026-04-17 18:19:28] local.INFO: Processing buffer {"connection_id":46323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b7b9d98012d1b5bc007251c50002a000d26..."} 
[2026-04-17 18:19:28] local.INFO: Packet analysis {"connection_id":46323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b7b"} 
[2026-04-17 18:19:28] local.INFO: Extracted packet for processing {"connection_id":46323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b7b"} 
[2026-04-17 18:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756767680,"raw_latitude":119872592,"longitude_deg":75.676768,"latitude_deg":11.9872592,"altitude":42,"angle":13,"satellites":38,"speed":25,"hex_longitude":"2d1b5bc0","hex_latitude":"07251c50","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766093312001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113383717820432384,"note":"Value kept but may cause issues"} 
[2026-04-17 18:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970113761427818496,"note":"Value kept but may cause issues"} 
[2026-04-17 18:19:28] 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-04-17 18:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776430063000,"timestamp_ms":1776430063000,"timestamp_seconds":1776430063,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b7b9d98"} 
[2026-04-17 18:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:19: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-04-17 18:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 18:19:28] 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-04-17 18: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-04-17 18:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766093312001,"66":14461,"91":206,"28":31744,"24":25,"16":113383717820432384,"45":1970113761427818496},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-04-17 18:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766093312001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:19:28] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-04-17 18:19:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113383717820432384,"km_value":113383717820432.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970113761427818496,"description":"Unknown IO ID 45"} 
[2026-04-17 18:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766093312001,"power":14461,"unknown_91":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1970113761427818496}} 
[2026-04-17 18:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":46323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:19:28] local.INFO: GPS data processed {"connection_id":46323,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:19:28] local.INFO: Acknowledgment sent {"connection_id":46323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:19:50] local.INFO: TCP Data received {"connection_id":46844,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:19:50] local.INFO: Processing buffer {"connection_id":46844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:19:50] local.INFO: IMEI packet received {"connection_id":46844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":46844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:19:55] local.INFO: TCP Data received {"connection_id":46844,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46844,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:19:55] local.INFO: Processing buffer {"connection_id":46844,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:19:55] local.INFO: IMEI packet received {"connection_id":46844,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":46844,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:19:56] local.INFO: TCP Data received {"connection_id":46844,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:19:56] local.INFO: Processing buffer {"connection_id":46844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b78c708012d7faac005afe1800002000928..."} 
[2026-04-17 18:19:56] local.INFO: Packet analysis {"connection_id":46844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:19:56] local.INFO: Extracted packet for processing {"connection_id":46844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b78"} 
[2026-04-17 18:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":2,"angle":9,"satellites":40,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454765971456001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776429877000,"timestamp_ms":1776429877000,"timestamp_seconds":1776429877,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b78c708"} 
[2026-04-17 18:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:19:56] 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-04-17 18:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454765971456001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454765971456001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:19:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454765971456001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":46844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:19:56] local.INFO: GPS data processed {"connection_id":46844,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:19:56] local.INFO: Acknowledgment sent {"connection_id":46844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:20:00] local.INFO: TCP Data received {"connection_id":46323,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b7bd060012d1b614007253e78002b000626..."} 
[2026-04-17 18:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b7bd060012d1b614007253e78002b000626..."} 
[2026-04-17 18:20:00] local.INFO: Processing buffer {"connection_id":46323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b7bd060012d1b614007253e78002b000626..."} 
[2026-04-17 18:20:00] local.INFO: Packet analysis {"connection_id":46323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b7b"} 
[2026-04-17 18:20:00] local.INFO: Extracted packet for processing {"connection_id":46323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b7b"} 
[2026-04-17 18:20:00] local.INFO: GPS Element Parsed {"raw_longitude":756769088,"raw_latitude":119881336,"longitude_deg":75.6769088,"latitude_deg":11.9881336,"altitude":43,"angle":6,"satellites":38,"speed":25,"hex_longitude":"2d1b6140","hex_latitude":"07253e78","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:20:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766096128001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:20:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113384147317161984,"note":"Value kept but may cause issues"} 
[2026-04-17 18:20:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971380398824640512,"note":"Value kept but may cause issues"} 
[2026-04-17 18:20:00] 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-04-17 18:20:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776430076000,"timestamp_ms":1776430076000,"timestamp_seconds":1776430076,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b7bd060"} 
[2026-04-17 18:20:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:20:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:20:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 18:20:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1603,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:20:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:20:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:20:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:20:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:20:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:20:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:20:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:20:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:20:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766096128001,"66":14396,"91":206,"28":31744,"24":25,"16":113384147317161984,"45":1971380398824640512},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-04-17 18:20:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:20:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:20:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766096128001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:20:00] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-04-17 18:20:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:20:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113384147317161984,"km_value":113384147317161.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:20:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971380398824640512,"description":"Unknown IO ID 45"} 
[2026-04-17 18:20:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766096128001,"power":14396,"unknown_91":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1971380398824640512}} 
[2026-04-17 18:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":46323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:20:00] local.INFO: GPS data processed {"connection_id":46323,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:20:00] local.INFO: Acknowledgment sent {"connection_id":46323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:20:18] local.INFO: TCP Data received {"connection_id":45982,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:20:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:20:18] local.INFO: Processing buffer {"connection_id":45982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:20:18] local.INFO: IMEI packet received {"connection_id":45982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:20:18] local.INFO: IMEI acknowledgment sent {"connection_id":45982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:20:21] local.INFO: TCP Data received {"connection_id":45982,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:20:21] local.INFO: Processing buffer {"connection_id":45982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:20:21] local.INFO: IMEI packet received {"connection_id":45982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":45982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:20:24] local.INFO: TCP Data received {"connection_id":45982,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:20:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45982,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:20:24] local.INFO: Processing buffer {"connection_id":45982,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:20:24] local.INFO: IMEI packet received {"connection_id":45982,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:20:24] local.INFO: IMEI acknowledgment sent {"connection_id":45982,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:20:25] local.INFO: TCP Data received {"connection_id":45982,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b7c2268012d1b640007254cf80028000a2a..."} 
[2026-04-17 18:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b7c2268012d1b640007254cf80028000a2a..."} 
[2026-04-17 18:20:25] local.INFO: Processing buffer {"connection_id":45982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b7c2268012d1b640007254cf80028000a2a..."} 
[2026-04-17 18:20:25] local.INFO: Packet analysis {"connection_id":45982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b7c"} 
[2026-04-17 18:20:25] local.INFO: Extracted packet for processing {"connection_id":45982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b7c"} 
[2026-04-17 18:20:25] local.INFO: GPS Element Parsed {"raw_longitude":756769792,"raw_latitude":119885048,"longitude_deg":75.6769792,"latitude_deg":11.9885048,"altitude":40,"angle":10,"satellites":42,"speed":8,"hex_longitude":"2d1b6400","hex_latitude":"07254cf8","is_valid_coordinates":true} 
[2026-04-17 18:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:20:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766099456001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:20:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113384336295723008,"note":"Value kept but may cause issues"} 
[2026-04-17 18:20:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972928511198787584,"note":"Value kept but may cause issues"} 
[2026-04-17 18:20:25] 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-04-17 18:20:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776430097000,"timestamp_ms":1776430097000,"timestamp_seconds":1776430097,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b7c2268"} 
[2026-04-17 18:20:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:20:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:20:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":60,"data_length":795,"current_offset":136} 
[2026-04-17 18:20: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-04-17 18:20:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:20:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:20:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:20:25] local.INFO: Teltonika packet parsed successfully {"connection_id":45982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:20:25] local.INFO: Passing IMEI to GPS processor {"connection_id":45982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:20:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":45982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:20:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:20:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:20:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:20:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766099456001,"66":14080,"91":206,"28":31744,"24":8,"16":113384336295723008,"45":1972928511198787584},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,91,28,24,16,45]} 
[2026-04-17 18:20:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:20:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:20:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766099456001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:20:25] local.INFO: Unknown IO ID detected {"io_id":91,"value":206,"description":"Unknown IO ID 91"} 
[2026-04-17 18:20:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:20:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113384336295723008,"km_value":113384336295723.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:20:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972928511198787584,"description":"Unknown IO ID 45"} 
[2026-04-17 18:20:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766099456001,"power":14080,"unknown_91":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1972928511198787584}} 
[2026-04-17 18:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":45982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22526,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:20:26] local.INFO: GPS data processed {"connection_id":45982,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:20:26] local.INFO: Acknowledgment sent {"connection_id":45982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:20:27] local.INFO: TCP Data received {"connection_id":46844,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46844,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:20:27] local.INFO: Processing buffer {"connection_id":46844,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:20:27] local.INFO: Packet analysis {"connection_id":46844,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:20:27] local.INFO: Extracted packet for processing {"connection_id":46844,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766048512001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776430178000,"timestamp_ms":1776430178000,"timestamp_seconds":1776430178,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b7d5ed0"} 
[2026-04-17 18:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:20:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46844,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46844,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766048512001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766048512001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:20:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:20:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766048512001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":46844,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22527,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:20:27] local.INFO: GPS data processed {"connection_id":46844,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:20:27] local.INFO: Acknowledgment sent {"connection_id":46844,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:20:55] local.INFO: TCP Data received {"connection_id":46092,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:20:55] local.INFO: Processing buffer {"connection_id":46092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:20:55] local.INFO: IMEI packet received {"connection_id":46092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":46092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:20:57] local.INFO: TCP Data received {"connection_id":45982,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b7d9d50012d1b3a800725c4b8002f001b2b..."} 
[2026-04-17 18:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45982,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b7d9d50012d1b3a800725c4b8002f001b2b..."} 
[2026-04-17 18:20:57] local.INFO: Processing buffer {"connection_id":45982,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b7d9d50012d1b3a800725c4b8002f001b2b..."} 
[2026-04-17 18:20:57] local.INFO: Packet analysis {"connection_id":45982,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:20:57] local.INFO: Extracted packet for processing {"connection_id":45982,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:20:57] local.INFO: GPS Element Parsed {"raw_longitude":756759168,"raw_latitude":119915704,"longitude_deg":75.6759168,"latitude_deg":11.9915704,"altitude":47,"angle":27,"satellites":43,"speed":28,"hex_longitude":"2d1b3a80","hex_latitude":"0725c4b8","is_valid_coordinates":true} 
[2026-04-17 18:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:20:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766128384001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:20:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113386019922903040,"note":"Value kept but may cause issues"} 
[2026-04-17 18:20:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1960684349719791616,"note":"Value kept but may cause issues"} 
[2026-04-17 18:20:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:20:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776430194000,"timestamp_ms":1776430194000,"timestamp_seconds":1776430194,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b7d9d50"} 
[2026-04-17 18:20:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:20: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-04-17 18:20:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":55,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 18:20:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2138,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:20:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:20:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:20:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:20:57] local.INFO: Teltonika packet parsed successfully {"connection_id":45982,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:20:57] local.INFO: Passing IMEI to GPS processor {"connection_id":45982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:20:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":45982,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:20:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:20:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:20:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:20:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766128384001,"66":14374,"92":206,"28":31744,"24":28,"16":113386019922903040,"45":1960684349719791616},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,28,24,16,45]} 
[2026-04-17 18:20:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:20:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:20:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766128384001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:20:57] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-17 18:20:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:20:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113386019922903040,"km_value":113386019922903.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:20:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1960684349719791616,"description":"Unknown IO ID 45"} 
[2026-04-17 18:20:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766128384001,"power":14374,"unknown_92":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1960684349719791616}} 
[2026-04-17 18:20:57] local.INFO: DEBUG: GPS processor result {"connection_id":45982,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22528,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:20:57] local.INFO: GPS data processed {"connection_id":45982,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:20:57] local.INFO: Acknowledgment sent {"connection_id":45982,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:21:00] local.INFO: TCP Data received {"connection_id":46092,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46092,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:21:00] local.INFO: Processing buffer {"connection_id":46092,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:21:00] local.INFO: IMEI packet received {"connection_id":46092,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:21:00] local.INFO: IMEI acknowledgment sent {"connection_id":46092,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:21:01] local.INFO: TCP Data received {"connection_id":46092,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:21:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:21:01] local.INFO: Processing buffer {"connection_id":46092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:21:01] local.INFO: Packet analysis {"connection_id":46092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:21:01] local.INFO: Extracted packet for processing {"connection_id":46092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:21:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:21:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766048512001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:21:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:21:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:21:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:21:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776430178000,"timestamp_ms":1776430178000,"timestamp_seconds":1776430178,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b7d5ed0"} 
[2026-04-17 18:21:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:21:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:21:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:21:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:21:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:21:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:21:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:21:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:21:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:21: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-04-17 18:21:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:21:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:21:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766048512001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:21:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:21:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:21:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766048512001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:21:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:21:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:21:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:21:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:21:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766048512001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:21:01] local.INFO: DEBUG: GPS processor result {"connection_id":46092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22529,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:21:01] local.INFO: GPS data processed {"connection_id":46092,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:21:01] local.INFO: Acknowledgment sent {"connection_id":46092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:21:05] local.INFO: TCP Data received {"connection_id":46092,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:21:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:21:05] local.INFO: Processing buffer {"connection_id":46092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:21:05] local.INFO: Packet analysis {"connection_id":46092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:21:05] local.INFO: Extracted packet for processing {"connection_id":46092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:21:05] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:21:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766048512001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:21:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:21:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:21:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:21:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776430178000,"timestamp_ms":1776430178000,"timestamp_seconds":1776430178,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b7d5ed0"} 
[2026-04-17 18:21:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:21:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:21:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:21:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:21:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:21:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:21:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:21:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46092,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:21:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:21:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:21:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:21:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766048512001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:21:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:21:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:21:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766048512001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:21:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:21:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:21:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:21:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:21:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766048512001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:21:05] local.INFO: DEBUG: GPS processor result {"connection_id":46092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:21:05] local.INFO: GPS data processed {"connection_id":46092,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:21:05] local.INFO: Acknowledgment sent {"connection_id":46092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:21:19] local.INFO: TCP Data received {"connection_id":46846,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:21:19] local.INFO: Processing buffer {"connection_id":46846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:21:19] local.INFO: IMEI packet received {"connection_id":46846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":46846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:21:21] local.INFO: TCP Data received {"connection_id":46846,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:21:21] local.INFO: Processing buffer {"connection_id":46846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:21:21] local.INFO: IMEI packet received {"connection_id":46846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":46846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:21:22] local.INFO: TCP Data received {"connection_id":46846,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:21:22] local.INFO: Processing buffer {"connection_id":46846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:21:22] local.INFO: IMEI packet received {"connection_id":46846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":46846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:21:22] local.INFO: TCP Data received {"connection_id":46846,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:21:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46846,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:21:22] local.INFO: Processing buffer {"connection_id":46846,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:21:22] local.INFO: IMEI packet received {"connection_id":46846,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:21:22] local.INFO: IMEI acknowledgment sent {"connection_id":46846,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:21:51] local.INFO: TCP Data received {"connection_id":46847,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:21:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:21:51] local.INFO: Processing buffer {"connection_id":46847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:21:51] local.INFO: IMEI packet received {"connection_id":46847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:21:51] local.INFO: IMEI acknowledgment sent {"connection_id":46847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:21:55] local.INFO: TCP Data received {"connection_id":46847,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46847,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:21:55] local.INFO: Processing buffer {"connection_id":46847,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:21:55] local.INFO: IMEI packet received {"connection_id":46847,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":46847,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:21:56] local.INFO: TCP Data received {"connection_id":46847,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:21:56] local.INFO: Processing buffer {"connection_id":46847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:21:56] local.INFO: Packet analysis {"connection_id":46847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:21:56] local.INFO: Extracted packet for processing {"connection_id":46847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:21:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766048512001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776430178000,"timestamp_ms":1776430178000,"timestamp_seconds":1776430178,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b7d5ed0"} 
[2026-04-17 18:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:21:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766048512001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766048512001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:21:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:21:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766048512001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":46847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22531,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:21:56] local.INFO: GPS data processed {"connection_id":46847,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:21:56] local.INFO: Acknowledgment sent {"connection_id":46847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:22:00] local.INFO: TCP Data received {"connection_id":46847,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:22:00] local.INFO: Processing buffer {"connection_id":46847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:22:00] local.INFO: Packet analysis {"connection_id":46847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:22:00] local.INFO: Extracted packet for processing {"connection_id":46847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766048512001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776430178000,"timestamp_ms":1776430178000,"timestamp_seconds":1776430178,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b7d5ed0"} 
[2026-04-17 18:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:22: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-04-17 18:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766048512001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766048512001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:22:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:22:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766048512001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":46847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:22:00] local.INFO: GPS data processed {"connection_id":46847,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:22:00] local.INFO: Acknowledgment sent {"connection_id":46847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:22:32] local.INFO: TCP Data received {"connection_id":46847,"ip":"42.106.6.40","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46847,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:22:32] local.INFO: Processing buffer {"connection_id":46847,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:22:32] local.INFO: Packet analysis {"connection_id":46847,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:22:32] local.INFO: Extracted packet for processing {"connection_id":46847,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766048512001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776430178000,"timestamp_ms":1776430178000,"timestamp_seconds":1776430178,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b7d5ed0"} 
[2026-04-17 18:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:22:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46847,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46847,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.40","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766048512001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.40","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766048512001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:22:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766048512001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":46847,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22533,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:22:32] local.INFO: GPS data processed {"connection_id":46847,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:22:32] local.INFO: Acknowledgment sent {"connection_id":46847,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:22:50] local.INFO: TCP Data received {"connection_id":46094,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:22:50] local.INFO: Processing buffer {"connection_id":46094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:22:50] local.INFO: IMEI packet received {"connection_id":46094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":46094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:22:55] local.INFO: TCP Data received {"connection_id":46094,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46094,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:22:55] local.INFO: Processing buffer {"connection_id":46094,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:22:55] local.INFO: IMEI packet received {"connection_id":46094,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":46094,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:22:56] local.INFO: TCP Data received {"connection_id":46094,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:22:56] local.INFO: Processing buffer {"connection_id":46094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:22:56] local.INFO: Packet analysis {"connection_id":46094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:22:56] local.INFO: Extracted packet for processing {"connection_id":46094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:22:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766048512001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776430178000,"timestamp_ms":1776430178000,"timestamp_seconds":1776430178,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b7d5ed0"} 
[2026-04-17 18:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:22:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766048512001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766048512001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:22:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:22:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766048512001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":46094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:22:56] local.INFO: GPS data processed {"connection_id":46094,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:22:56] local.INFO: Acknowledgment sent {"connection_id":46094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:23:27] local.INFO: TCP Data received {"connection_id":46094,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:23:27] local.INFO: Processing buffer {"connection_id":46094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:23:27] local.INFO: Packet analysis {"connection_id":46094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:23:27] local.INFO: Extracted packet for processing {"connection_id":46094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:23:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766048512001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776430178000,"timestamp_ms":1776430178000,"timestamp_seconds":1776430178,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b7d5ed0"} 
[2026-04-17 18:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:23:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46094,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766048512001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766048512001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:23:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:23:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766048512001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":46094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22535,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:23:27] local.INFO: GPS data processed {"connection_id":46094,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:23:27] local.INFO: Acknowledgment sent {"connection_id":46094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:23:39] local.INFO: TCP Data received {"connection_id":46848,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:23:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46848,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:23:39] local.INFO: Processing buffer {"connection_id":46848,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:23:39] local.INFO: IMEI packet received {"connection_id":46848,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 18:23:39] local.INFO: IMEI acknowledgment sent {"connection_id":46848,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:23:50] local.INFO: TCP Data received {"connection_id":46849,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:23:50] local.INFO: Processing buffer {"connection_id":46849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:23:50] local.INFO: IMEI packet received {"connection_id":46849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":46849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:23:55] local.INFO: TCP Data received {"connection_id":46849,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46849,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:23:55] local.INFO: Processing buffer {"connection_id":46849,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:23:55] local.INFO: IMEI packet received {"connection_id":46849,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":46849,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:23:56] local.INFO: TCP Data received {"connection_id":46849,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:23:56] local.INFO: Processing buffer {"connection_id":46849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:23:56] local.INFO: Packet analysis {"connection_id":46849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:23:56] local.INFO: Extracted packet for processing {"connection_id":46849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766048512001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776430178000,"timestamp_ms":1776430178000,"timestamp_seconds":1776430178,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b7d5ed0"} 
[2026-04-17 18:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:23:56] 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-04-17 18:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766048512001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766048512001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:23:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766048512001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":46849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22536,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:23:56] local.INFO: GPS data processed {"connection_id":46849,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:23:56] local.INFO: Acknowledgment sent {"connection_id":46849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:24:06] local.INFO: TCP Data received {"connection_id":45983,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:24:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45983,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:24:06] local.INFO: Processing buffer {"connection_id":45983,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:24:06] local.INFO: IMEI packet received {"connection_id":45983,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 18:24:06] local.INFO: IMEI acknowledgment sent {"connection_id":45983,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:24:27] local.INFO: TCP Data received {"connection_id":46849,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46849,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:24:27] local.INFO: Processing buffer {"connection_id":46849,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:24:27] local.INFO: Packet analysis {"connection_id":46849,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:24:27] local.INFO: Extracted packet for processing {"connection_id":46849,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766048512001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776430178000,"timestamp_ms":1776430178000,"timestamp_seconds":1776430178,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b7d5ed0"} 
[2026-04-17 18:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:24:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46849,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46849,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:24:27] 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-04-17 18:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766048512001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766048512001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:24:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:24:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766048512001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":46849,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:24:27] local.INFO: GPS data processed {"connection_id":46849,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:24:27] local.INFO: Acknowledgment sent {"connection_id":46849,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:24:55] local.INFO: TCP Data received {"connection_id":46328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:24:55] local.INFO: Processing buffer {"connection_id":46328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:24:55] local.INFO: IMEI packet received {"connection_id":46328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":46328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:25:00] local.INFO: TCP Data received {"connection_id":46328,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46328,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:25:00] local.INFO: Processing buffer {"connection_id":46328,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:25:00] local.INFO: IMEI packet received {"connection_id":46328,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:25:00] local.INFO: IMEI acknowledgment sent {"connection_id":46328,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:25:01] local.INFO: TCP Data received {"connection_id":46328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:25:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:25:01] local.INFO: Processing buffer {"connection_id":46328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:25:01] local.INFO: Packet analysis {"connection_id":46328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:25:01] local.INFO: Extracted packet for processing {"connection_id":46328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:25:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:25:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766048512001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:25:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:25:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:25:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:25:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776430178000,"timestamp_ms":1776430178000,"timestamp_seconds":1776430178,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b7d5ed0"} 
[2026-04-17 18:25:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:25:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:25:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:25:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:25:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:25:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:25:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:25:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:25:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:25:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18: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-04-17 18:25:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:25:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:25:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766048512001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:25:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:25:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:25:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766048512001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:25:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:25:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:25:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:25:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:25:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766048512001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:25:01] local.INFO: DEBUG: GPS processor result {"connection_id":46328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:25:01] local.INFO: GPS data processed {"connection_id":46328,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:25:01] local.INFO: Acknowledgment sent {"connection_id":46328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:25:05] local.INFO: TCP Data received {"connection_id":46328,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:25:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46328,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:25:05] local.INFO: Processing buffer {"connection_id":46328,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b7d5ed0012d7faac005afe1800000000926..."} 
[2026-04-17 18:25:05] local.INFO: Packet analysis {"connection_id":46328,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:25:05] local.INFO: Extracted packet for processing {"connection_id":46328,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b7d"} 
[2026-04-17 18:25:05] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:25:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766048512001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:25:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:25:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:25:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:25:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776430178000,"timestamp_ms":1776430178000,"timestamp_seconds":1776430178,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b7d5ed0"} 
[2026-04-17 18:25:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:25:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:25:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:25:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:25:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:25:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:25:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:25:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46328,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:25:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:25:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46328,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:25: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-04-17 18:25:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:25:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:25:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766048512001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:25:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:25:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:25:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766048512001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:25:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:25:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:25:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:25:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:25:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766048512001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:25:06] local.INFO: DEBUG: GPS processor result {"connection_id":46328,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22539,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:25:06] local.INFO: GPS data processed {"connection_id":46328,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:25:06] local.INFO: Acknowledgment sent {"connection_id":46328,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:25:50] local.INFO: TCP Data received {"connection_id":45984,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:25:50] local.INFO: Processing buffer {"connection_id":45984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:25:50] local.INFO: IMEI packet received {"connection_id":45984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":45984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:25:55] local.INFO: TCP Data received {"connection_id":45984,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:25:55] local.INFO: Processing buffer {"connection_id":45984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:25:55] local.INFO: IMEI packet received {"connection_id":45984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":45984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:25:56] local.INFO: TCP Data received {"connection_id":45984,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:25:56] local.INFO: Processing buffer {"connection_id":45984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:25:56] local.INFO: Packet analysis {"connection_id":45984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:25:56] local.INFO: Extracted packet for processing {"connection_id":45984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":1,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766125568001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776430479000,"timestamp_ms":1776430479000,"timestamp_seconds":1776430479,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b81f698"} 
[2026-04-17 18:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766125568001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766125568001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:25:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766125568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":45984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:25:56] local.INFO: GPS data processed {"connection_id":45984,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:25:56] local.INFO: Acknowledgment sent {"connection_id":45984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:26:23] local.INFO: TCP Data received {"connection_id":46329,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:26:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:26:23] local.INFO: Processing buffer {"connection_id":46329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:26:23] local.INFO: IMEI packet received {"connection_id":46329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:26:23] local.INFO: IMEI acknowledgment sent {"connection_id":46329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:26:25] local.INFO: TCP Data received {"connection_id":46329,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46329,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:26:25] local.INFO: Processing buffer {"connection_id":46329,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:26:25] local.INFO: IMEI packet received {"connection_id":46329,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":46329,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:26:26] local.INFO: TCP Data received {"connection_id":46329,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b828ef0012d17818007254118001c00f126..."} 
[2026-04-17 18:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b828ef0012d17818007254118001c00f126..."} 
[2026-04-17 18:26:26] local.INFO: Processing buffer {"connection_id":46329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b828ef0012d17818007254118001c00f126..."} 
[2026-04-17 18:26:26] local.INFO: Packet analysis {"connection_id":46329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b82"} 
[2026-04-17 18:26:26] local.INFO: Extracted packet for processing {"connection_id":46329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b82"} 
[2026-04-17 18:26:26] local.INFO: GPS Element Parsed {"raw_longitude":756515200,"raw_latitude":119882008,"longitude_deg":75.65152,"latitude_deg":11.9882008,"altitude":28,"angle":241,"satellites":38,"speed":44,"hex_longitude":"2d178180","hex_latitude":"07254118","is_valid_coordinates":true} 
[2026-04-17 18:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766210560001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113400618516742144,"note":"Value kept but may cause issues"} 
[2026-04-17 18:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1702994008534401024,"note":"Value kept but may cause issues"} 
[2026-04-17 18:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776430518000,"timestamp_ms":1776430518000,"timestamp_seconds":1776430518,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b828ef0"} 
[2026-04-17 18:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:26: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-04-17 18:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 18:26:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766210560001,"66":14004,"113":206,"28":31744,"24":44,"16":113400618516742144,"45":1702994008534401024},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,28,24,16,45]} 
[2026-04-17 18:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766210560001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:26:26] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-04-17 18:26:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113400618516742144,"km_value":113400618516742.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1702994008534401024,"description":"Unknown IO ID 45"} 
[2026-04-17 18:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766210560001,"power":14004,"unknown_113":206,"unknown_28":31744,"ignition":44,"odometer":null,"unknown_45":1702994008534401024}} 
[2026-04-17 18:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":46329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:26:26] local.INFO: GPS data processed {"connection_id":46329,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:26:26] local.INFO: Acknowledgment sent {"connection_id":46329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:26:27] local.INFO: TCP Data received {"connection_id":45984,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:26:27] local.INFO: Processing buffer {"connection_id":45984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:26:27] local.INFO: Packet analysis {"connection_id":45984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:26:27] local.INFO: Extracted packet for processing {"connection_id":45984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":1,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766125568001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776430479000,"timestamp_ms":1776430479000,"timestamp_seconds":1776430479,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b81f698"} 
[2026-04-17 18:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766125568001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766125568001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:26:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766125568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":45984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:26:27] local.INFO: GPS data processed {"connection_id":45984,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:26:27] local.INFO: Acknowledgment sent {"connection_id":45984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:26:50] local.INFO: TCP Data received {"connection_id":46853,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:26:50] local.INFO: Processing buffer {"connection_id":46853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:26:50] local.INFO: IMEI packet received {"connection_id":46853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":46853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:26:55] local.INFO: TCP Data received {"connection_id":46853,"ip":"42.106.6.48","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46853,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:26:55] local.INFO: Processing buffer {"connection_id":46853,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:26:55] local.INFO: IMEI packet received {"connection_id":46853,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":46853,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:26:56] local.INFO: TCP Data received {"connection_id":46853,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:26:56] local.INFO: Processing buffer {"connection_id":46853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:26:56] local.INFO: Packet analysis {"connection_id":46853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:26:56] local.INFO: Extracted packet for processing {"connection_id":46853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":1,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766125568001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776430479000,"timestamp_ms":1776430479000,"timestamp_seconds":1776430479,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b81f698"} 
[2026-04-17 18:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:26:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:26:56] 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-04-17 18:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766125568001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766125568001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:26:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:26:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766125568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":46853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22543,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:26:56] local.INFO: GPS data processed {"connection_id":46853,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:26:56] local.INFO: Acknowledgment sent {"connection_id":46853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:26:57] local.INFO: TCP Data received {"connection_id":46329,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b82ae30012d17614007253100001900f823..."} 
[2026-04-17 18:26:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46329,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b82ae30012d17614007253100001900f823..."} 
[2026-04-17 18:26:57] local.INFO: Processing buffer {"connection_id":46329,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b82ae30012d17614007253100001900f823..."} 
[2026-04-17 18:26:57] local.INFO: Packet analysis {"connection_id":46329,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b82"} 
[2026-04-17 18:26:57] local.INFO: Extracted packet for processing {"connection_id":46329,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b82"} 
[2026-04-17 18:26:57] local.INFO: GPS Element Parsed {"raw_longitude":756506944,"raw_latitude":119877888,"longitude_deg":75.6506944,"latitude_deg":11.9877888,"altitude":25,"angle":248,"satellites":35,"speed":47,"hex_longitude":"2d176140","hex_latitude":"07253100","is_valid_coordinates":true} 
[2026-04-17 18:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:26:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766212608001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:26:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113401056603406336,"note":"Value kept but may cause issues"} 
[2026-04-17 18:26:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1693775703046166528,"note":"Value kept but may cause issues"} 
[2026-04-17 18:26:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,113,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:26:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776430526000,"timestamp_ms":1776430526000,"timestamp_seconds":1776430526,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b82ae30"} 
[2026-04-17 18:26:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:26:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:26:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 18:26:57] 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-04-17 18:26:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:26:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:26:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:26:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46329,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:26:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:26:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46329,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:26:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:26:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:26:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:26:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766212608001,"66":14004,"113":206,"28":31744,"24":47,"16":113401056603406336,"45":1693775703046166528},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,113,28,24,16,45]} 
[2026-04-17 18:26:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:26:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:26:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766212608001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:26:57] local.INFO: Unknown IO ID detected {"io_id":113,"value":206,"description":"Unknown IO ID 113"} 
[2026-04-17 18:26:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:26:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113401056603406336,"km_value":113401056603406.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:26:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1693775703046166528,"description":"Unknown IO ID 45"} 
[2026-04-17 18:26:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766212608001,"power":14004,"unknown_113":206,"unknown_28":31744,"ignition":47,"odometer":null,"unknown_45":1693775703046166528}} 
[2026-04-17 18:26:57] local.INFO: DEBUG: GPS processor result {"connection_id":46329,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22544,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:26:57] local.INFO: GPS data processed {"connection_id":46329,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:26:57] local.INFO: Acknowledgment sent {"connection_id":46329,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:27:21] local.INFO: TCP Data received {"connection_id":46854,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:27:21] local.INFO: Processing buffer {"connection_id":46854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:27:21] local.INFO: IMEI packet received {"connection_id":46854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":46854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:27:22] local.INFO: TCP Data received {"connection_id":46854,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:27:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:27:22] local.INFO: Processing buffer {"connection_id":46854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:27:22] local.INFO: IMEI packet received {"connection_id":46854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:27:22] local.INFO: IMEI acknowledgment sent {"connection_id":46854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:27:26] local.INFO: TCP Data received {"connection_id":46854,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46854,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:27:26] local.INFO: Processing buffer {"connection_id":46854,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:27:26] local.INFO: IMEI packet received {"connection_id":46854,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":46854,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:27:27] local.INFO: TCP Data received {"connection_id":46853,"ip":"42.106.6.48","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46853,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:27:27] local.INFO: Processing buffer {"connection_id":46853,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:27:27] local.INFO: Packet analysis {"connection_id":46853,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:27:27] local.INFO: Extracted packet for processing {"connection_id":46853,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:27:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":1,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766125568001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776430479000,"timestamp_ms":1776430479000,"timestamp_seconds":1776430479,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b81f698"} 
[2026-04-17 18:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:27:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46853,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46853,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.48","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766125568001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.48","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766125568001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:27:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:27:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766125568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":46853,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22545,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:27:27] local.INFO: GPS data processed {"connection_id":46853,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:27:27] local.INFO: Acknowledgment sent {"connection_id":46853,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:27:27] local.INFO: TCP Data received {"connection_id":46854,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b837d38012d169f80072554c00025016125..."} 
[2026-04-17 18:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b837d38012d169f80072554c00025016125..."} 
[2026-04-17 18:27:27] local.INFO: Processing buffer {"connection_id":46854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b837d38012d169f80072554c00025016125..."} 
[2026-04-17 18:27:27] local.INFO: Packet analysis {"connection_id":46854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b83"} 
[2026-04-17 18:27:27] local.INFO: Extracted packet for processing {"connection_id":46854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b83"} 
[2026-04-17 18:27:27] local.INFO: GPS Element Parsed {"raw_longitude":756457344,"raw_latitude":119887040,"longitude_deg":75.6457344,"latitude_deg":11.988704,"altitude":37,"angle":353,"satellites":37,"speed":33,"hex_longitude":"2d169f80","hex_latitude":"072554c0","is_valid_coordinates":true} 
[2026-04-17 18:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766227712001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113403792497573888,"note":"Value kept but may cause issues"} 
[2026-04-17 18:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1630443833287118848,"note":"Value kept but may cause issues"} 
[2026-04-17 18:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776430579000,"timestamp_ms":1776430579000,"timestamp_seconds":1776430579,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b837d38"} 
[2026-04-17 18:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:27: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-04-17 18:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-17 18:27:27] 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-04-17 18:27:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766227712001,"66":13863,"31":206,"28":26880,"24":33,"16":113403792497573888,"45":1630443833287118848},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,28,24,16,45]} 
[2026-04-17 18:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766227712001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:27:27] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-04-17 18:27:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113403792497573888,"km_value":113403792497573.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1630443833287118848,"description":"Unknown IO ID 45"} 
[2026-04-17 18:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766227712001,"power":13863,"unknown_31":206,"unknown_28":26880,"ignition":33,"odometer":null,"unknown_45":1630443833287118848}} 
[2026-04-17 18:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":46854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22546,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:27:27] local.INFO: GPS data processed {"connection_id":46854,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:27:27] local.INFO: Acknowledgment sent {"connection_id":46854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:27:50] local.INFO: TCP Data received {"connection_id":46330,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:27:50] local.INFO: Processing buffer {"connection_id":46330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:27:50] local.INFO: IMEI packet received {"connection_id":46330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":46330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:27:55] local.INFO: TCP Data received {"connection_id":46330,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46330,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:27:55] local.INFO: Processing buffer {"connection_id":46330,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:27:55] local.INFO: IMEI packet received {"connection_id":46330,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":46330,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:27:56] local.INFO: TCP Data received {"connection_id":46330,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:27:56] local.INFO: Processing buffer {"connection_id":46330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:27:56] local.INFO: Packet analysis {"connection_id":46330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:27:56] local.INFO: Extracted packet for processing {"connection_id":46330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":1,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766125568001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776430479000,"timestamp_ms":1776430479000,"timestamp_seconds":1776430479,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b81f698"} 
[2026-04-17 18:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:27:56] 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-04-17 18:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766125568001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766125568001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:27:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766125568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":46330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22547,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:27:56] local.INFO: GPS data processed {"connection_id":46330,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:27:56] local.INFO: Acknowledgment sent {"connection_id":46330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:27:59] local.INFO: TCP Data received {"connection_id":46854,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b83a060012d169f8007257a180028015b23..."} 
[2026-04-17 18:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46854,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b83a060012d169f8007257a180028015b23..."} 
[2026-04-17 18:27:59] local.INFO: Processing buffer {"connection_id":46854,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b83a060012d169f8007257a180028015b23..."} 
[2026-04-17 18:27:59] local.INFO: Packet analysis {"connection_id":46854,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b83"} 
[2026-04-17 18:27:59] local.INFO: Extracted packet for processing {"connection_id":46854,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b83"} 
[2026-04-17 18:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756457344,"raw_latitude":119896600,"longitude_deg":75.6457344,"latitude_deg":11.98966,"altitude":40,"angle":347,"satellites":35,"speed":45,"hex_longitude":"2d169f80","hex_latitude":"07257a18","is_valid_coordinates":true} 
[2026-04-17 18:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766228224001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113404256354041856,"note":"Value kept but may cause issues"} 
[2026-04-17 18:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1630162358310846464,"note":"Value kept but may cause issues"} 
[2026-04-17 18:27:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776430588000,"timestamp_ms":1776430588000,"timestamp_seconds":1776430588,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b83a060"} 
[2026-04-17 18:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:27:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-17 18:27:59] 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-04-17 18:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46854,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46854,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766228224001,"66":14428,"31":206,"28":26880,"24":45,"16":113404256354041856,"45":1630162358310846464},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,28,24,16,45]} 
[2026-04-17 18:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766228224001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:27:59] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-04-17 18:27:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113404256354041856,"km_value":113404256354041.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1630162358310846464,"description":"Unknown IO ID 45"} 
[2026-04-17 18:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766228224001,"power":14428,"unknown_31":206,"unknown_28":26880,"ignition":45,"odometer":null,"unknown_45":1630162358310846464}} 
[2026-04-17 18:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":46854,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22548,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:27:59] local.INFO: GPS data processed {"connection_id":46854,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:27:59] local.INFO: Acknowledgment sent {"connection_id":46854,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:28:21] local.INFO: TCP Data received {"connection_id":45986,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:28:21] local.INFO: Processing buffer {"connection_id":45986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:28:21] local.INFO: IMEI packet received {"connection_id":45986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":45986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:28:26] local.INFO: TCP Data received {"connection_id":45986,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:28:26] local.INFO: Processing buffer {"connection_id":45986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:28:26] local.INFO: IMEI packet received {"connection_id":45986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":45986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:28:26] local.INFO: TCP Data received {"connection_id":45986,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45986,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:28:26] local.INFO: Processing buffer {"connection_id":45986,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:28:26] local.INFO: IMEI packet received {"connection_id":45986,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":45986,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:28:27] local.INFO: TCP Data received {"connection_id":46330,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46330,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:28:27] local.INFO: Processing buffer {"connection_id":46330,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:28:27] local.INFO: Packet analysis {"connection_id":46330,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:28:27] local.INFO: Extracted packet for processing {"connection_id":46330,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:28:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":1,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766125568001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776430479000,"timestamp_ms":1776430479000,"timestamp_seconds":1776430479,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b81f698"} 
[2026-04-17 18:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46330,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46330,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.24","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766125568001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766125568001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:28:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:28:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766125568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":46330,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22549,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:28:27] local.INFO: GPS data processed {"connection_id":46330,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:28:27] local.INFO: Acknowledgment sent {"connection_id":46330,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:28:27] local.INFO: TCP Data received {"connection_id":45986,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b83bfa0012d16940007259e900028015226..."} 
[2026-04-17 18:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b83bfa0012d16940007259e900028015226..."} 
[2026-04-17 18:28:27] local.INFO: Processing buffer {"connection_id":45986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b83bfa0012d16940007259e900028015226..."} 
[2026-04-17 18:28:27] local.INFO: Packet analysis {"connection_id":45986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b83"} 
[2026-04-17 18:28:27] local.INFO: Extracted packet for processing {"connection_id":45986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b83"} 
[2026-04-17 18:28:27] local.INFO: GPS Element Parsed {"raw_longitude":756454400,"raw_latitude":119905936,"longitude_deg":75.64544,"latitude_deg":11.9905936,"altitude":40,"angle":338,"satellites":38,"speed":50,"hex_longitude":"2d169400","hex_latitude":"07259e90","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766230528001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113404733095411712,"note":"Value kept but may cause issues"} 
[2026-04-17 18:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1630162358313293824,"note":"Value kept but may cause issues"} 
[2026-04-17 18:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776430596000,"timestamp_ms":1776430596000,"timestamp_seconds":1776430596,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b83bfa0"} 
[2026-04-17 18:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18: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":56,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 18:28:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1306,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766230528001,"66":14374,"31":206,"28":26880,"24":50,"16":113404733095411712,"45":1630162358313293824},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,28,24,16,45]} 
[2026-04-17 18:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766230528001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:28:28] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-04-17 18:28:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113404733095411712,"km_value":113404733095411.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1630162358313293824,"description":"Unknown IO ID 45"} 
[2026-04-17 18:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766230528001,"power":14374,"unknown_31":206,"unknown_28":26880,"ignition":50,"odometer":null,"unknown_45":1630162358313293824}} 
[2026-04-17 18:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":45986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22550,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:28:28] local.INFO: GPS data processed {"connection_id":45986,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:28:28] local.INFO: Acknowledgment sent {"connection_id":45986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:28:32] local.INFO: TCP Data received {"connection_id":45986,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b83dee0012d1685400725c0680026014f29..."} 
[2026-04-17 18:28:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b83dee0012d1685400725c0680026014f29..."} 
[2026-04-17 18:28:32] local.INFO: Processing buffer {"connection_id":45986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b83dee0012d1685400725c0680026014f29..."} 
[2026-04-17 18:28:32] local.INFO: Packet analysis {"connection_id":45986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b83"} 
[2026-04-17 18:28:32] local.INFO: Extracted packet for processing {"connection_id":45986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b83"} 
[2026-04-17 18:28:32] local.INFO: GPS Element Parsed {"raw_longitude":756450624,"raw_latitude":119914600,"longitude_deg":75.6450624,"latitude_deg":11.99146,"altitude":38,"angle":335,"satellites":41,"speed":44,"hex_longitude":"2d168540","hex_latitude":"0725c068","is_valid_coordinates":true} 
[2026-04-17 18:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:28:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766232576001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:28:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113405188361945088,"note":"Value kept but may cause issues"} 
[2026-04-17 18:28:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1626925396083511296,"note":"Value kept but may cause issues"} 
[2026-04-17 18:28:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:28:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776430604000,"timestamp_ms":1776430604000,"timestamp_seconds":1776430604,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b83dee0"} 
[2026-04-17 18:28:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:28:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:28:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 18:28:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":820,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:28:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:28:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:28:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:28:32] local.INFO: Teltonika packet parsed successfully {"connection_id":45986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:28:32] local.INFO: Passing IMEI to GPS processor {"connection_id":45986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:28:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":45986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:28:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:28:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:28:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:28:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766232576001,"66":14157,"31":206,"28":26880,"24":44,"16":113405188361945088,"45":1626925396083511296},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,28,24,16,45]} 
[2026-04-17 18:28:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:28:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:28:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766232576001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:28:32] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-04-17 18:28:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:28:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113405188361945088,"km_value":113405188361945.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:28:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1626925396083511296,"description":"Unknown IO ID 45"} 
[2026-04-17 18:28:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766232576001,"power":14157,"unknown_31":206,"unknown_28":26880,"ignition":44,"odometer":null,"unknown_45":1626925396083511296}} 
[2026-04-17 18:28:32] local.INFO: DEBUG: GPS processor result {"connection_id":45986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:28:32] local.INFO: GPS data processed {"connection_id":45986,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:28:32] local.INFO: Acknowledgment sent {"connection_id":45986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:28:55] local.INFO: TCP Data received {"connection_id":46097,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:28:55] local.INFO: Processing buffer {"connection_id":46097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:28:55] local.INFO: IMEI packet received {"connection_id":46097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":46097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:29:00] local.INFO: TCP Data received {"connection_id":46097,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46097,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:29:00] local.INFO: Processing buffer {"connection_id":46097,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:29:00] local.INFO: IMEI packet received {"connection_id":46097,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":46097,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:29:01] local.INFO: TCP Data received {"connection_id":46097,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:29:01] local.INFO: Processing buffer {"connection_id":46097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:29:01] local.INFO: Packet analysis {"connection_id":46097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:29:01] local.INFO: Extracted packet for processing {"connection_id":46097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":1,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766125568001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776430479000,"timestamp_ms":1776430479000,"timestamp_seconds":1776430479,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b81f698"} 
[2026-04-17 18:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:29: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-04-17 18:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766125568001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766125568001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:29:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766125568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":46097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22552,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:29:01] local.INFO: GPS data processed {"connection_id":46097,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:29:01] local.INFO: Acknowledgment sent {"connection_id":46097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:29:04] local.INFO: TCP Data received {"connection_id":45986,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b850f90012d155e80072652c8002e013424..."} 
[2026-04-17 18:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45986,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b850f90012d155e80072652c8002e013424..."} 
[2026-04-17 18:29:04] local.INFO: Processing buffer {"connection_id":45986,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b850f90012d155e80072652c8002e013424..."} 
[2026-04-17 18:29:04] local.INFO: Packet analysis {"connection_id":45986,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b85"} 
[2026-04-17 18:29:04] local.INFO: Extracted packet for processing {"connection_id":45986,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b85"} 
[2026-04-17 18:29:04] local.INFO: GPS Element Parsed {"raw_longitude":756375168,"raw_latitude":119952072,"longitude_deg":75.6375168,"latitude_deg":11.9952072,"altitude":46,"angle":308,"satellites":36,"speed":49,"hex_longitude":"2d155e80","hex_latitude":"072652c8","is_valid_coordinates":true} 
[2026-04-17 18:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766252800001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113409341595320320,"note":"Value kept but may cause issues"} 
[2026-04-17 18:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1548323508847677440,"note":"Value kept but may cause issues"} 
[2026-04-17 18:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776430682000,"timestamp_ms":1776430682000,"timestamp_seconds":1776430682,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b850f90"} 
[2026-04-17 18:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 18:29:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":45986,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":45986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":45986,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766252800001,"66":13972,"32":206,"28":26880,"24":49,"16":113409341595320320,"45":1548323508847677440},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-17 18:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766252800001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:29:04] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 18:29:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113409341595320320,"km_value":113409341595320.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1548323508847677440,"description":"Unknown IO ID 45"} 
[2026-04-17 18:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766252800001,"power":13972,"unknown_32":206,"unknown_28":26880,"ignition":49,"odometer":null,"unknown_45":1548323508847677440}} 
[2026-04-17 18:29:04] local.INFO: DEBUG: GPS processor result {"connection_id":45986,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22553,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:29:04] local.INFO: GPS data processed {"connection_id":45986,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:29:04] local.INFO: Acknowledgment sent {"connection_id":45986,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:29:08] local.INFO: TCP Data received {"connection_id":46097,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:29:08] local.INFO: Processing buffer {"connection_id":46097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:29:08] local.INFO: Packet analysis {"connection_id":46097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:29:08] local.INFO: Extracted packet for processing {"connection_id":46097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":1,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:29:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766125568001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:29:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:29:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:29:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:29:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776430479000,"timestamp_ms":1776430479000,"timestamp_seconds":1776430479,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b81f698"} 
[2026-04-17 18:29:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:29:08] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:29:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:29:08] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:29:08] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:29:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:29:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:29:08] local.INFO: Teltonika packet parsed successfully {"connection_id":46097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:29:08] local.INFO: Passing IMEI to GPS processor {"connection_id":46097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:29:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":46097,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:29:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:29:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:29:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:29:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766125568001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:29:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:29:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:29:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766125568001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:29:08] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:29:08] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:29:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:29:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:29:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766125568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:29:08] local.INFO: DEBUG: GPS processor result {"connection_id":46097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:29:08] local.INFO: GPS data processed {"connection_id":46097,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:29:08] local.INFO: Acknowledgment sent {"connection_id":46097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:29:24] local.INFO: TCP Data received {"connection_id":46098,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:29:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46098,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:29:24] local.INFO: Processing buffer {"connection_id":46098,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:29:24] local.INFO: IMEI packet received {"connection_id":46098,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 18:29:24] local.INFO: IMEI acknowledgment sent {"connection_id":46098,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:29:28] local.INFO: TCP Data received {"connection_id":46331,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:29:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:29:28] local.INFO: Processing buffer {"connection_id":46331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:29:28] local.INFO: IMEI packet received {"connection_id":46331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:29:28] local.INFO: IMEI acknowledgment sent {"connection_id":46331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:29:29] local.INFO: TCP Data received {"connection_id":46331,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:29:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46331,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:29:29] local.INFO: Processing buffer {"connection_id":46331,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:29:29] local.INFO: IMEI packet received {"connection_id":46331,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:29:29] local.INFO: IMEI acknowledgment sent {"connection_id":46331,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:29:30] local.INFO: TCP Data received {"connection_id":46331,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8532b8012d1541c007266d68002f013725..."} 
[2026-04-17 18:29:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8532b8012d1541c007266d68002f013725..."} 
[2026-04-17 18:29:30] local.INFO: Processing buffer {"connection_id":46331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8532b8012d1541c007266d68002f013725..."} 
[2026-04-17 18:29:30] local.INFO: Packet analysis {"connection_id":46331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b85"} 
[2026-04-17 18:29:30] local.INFO: Extracted packet for processing {"connection_id":46331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b85"} 
[2026-04-17 18:29:30] local.INFO: GPS Element Parsed {"raw_longitude":756367808,"raw_latitude":119958888,"longitude_deg":75.6367808,"latitude_deg":11.9958888,"altitude":47,"angle":311,"satellites":37,"speed":43,"hex_longitude":"2d1541c0","hex_latitude":"07266d68","is_valid_coordinates":true} 
[2026-04-17 18:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:29:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766254592001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:29:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113409826926624768,"note":"Value kept but may cause issues"} 
[2026-04-17 18:29:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1539808890803374080,"note":"Value kept but may cause issues"} 
[2026-04-17 18:29:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:29:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776430691000,"timestamp_ms":1776430691000,"timestamp_seconds":1776430691,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8532b8"} 
[2026-04-17 18:29:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:29: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-04-17 18:29:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-17 18:29:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1800,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:29:30] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:29:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:29:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:29:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:29:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:29:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:29:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:29:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:29:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:29:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766254592001,"66":14026,"32":206,"28":26880,"24":43,"16":113409826926624768,"45":1539808890803374080},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-17 18:29:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:29:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:29:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766254592001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:29:30] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 18:29:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:29:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113409826926624768,"km_value":113409826926624.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:29:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1539808890803374080,"description":"Unknown IO ID 45"} 
[2026-04-17 18:29:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766254592001,"power":14026,"unknown_32":206,"unknown_28":26880,"ignition":43,"odometer":null,"unknown_45":1539808890803374080}} 
[2026-04-17 18:29:30] local.INFO: DEBUG: GPS processor result {"connection_id":46331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:29:30] local.INFO: GPS data processed {"connection_id":46331,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:29:30] local.INFO: Acknowledgment sent {"connection_id":46331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:29:32] local.INFO: TCP Data received {"connection_id":46331,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8551f8012d1528c0072680f8002e012923..."} 
[2026-04-17 18:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8551f8012d1528c0072680f8002e012923..."} 
[2026-04-17 18:29:32] local.INFO: Processing buffer {"connection_id":46331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8551f8012d1528c0072680f8002e012923..."} 
[2026-04-17 18:29:32] local.INFO: Packet analysis {"connection_id":46331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b85"} 
[2026-04-17 18:29:32] local.INFO: Extracted packet for processing {"connection_id":46331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b85"} 
[2026-04-17 18:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756361408,"raw_latitude":119963896,"longitude_deg":75.6361408,"latitude_deg":11.9963896,"altitude":46,"angle":297,"satellites":35,"speed":37,"hex_longitude":"2d1528c0","hex_latitude":"072680f8","is_valid_coordinates":true} 
[2026-04-17 18:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766256896001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113410217768648704,"note":"Value kept but may cause issues"} 
[2026-04-17 18:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1531716485224687616,"note":"Value kept but may cause issues"} 
[2026-04-17 18:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776430699000,"timestamp_ms":1776430699000,"timestamp_seconds":1776430699,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8551f8"} 
[2026-04-17 18:29:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:29:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":202,"data_length":795,"current_offset":136} 
[2026-04-17 18:29:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2286,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:29:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:29:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766256896001,"66":14048,"32":206,"28":26880,"24":37,"16":113410217768648704,"45":1531716485224687616},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-17 18:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766256896001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:29:32] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 18:29:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113410217768648704,"km_value":113410217768648.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1531716485224687616,"description":"Unknown IO ID 45"} 
[2026-04-17 18:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766256896001,"power":14048,"unknown_32":206,"unknown_28":26880,"ignition":37,"odometer":null,"unknown_45":1531716485224687616}} 
[2026-04-17 18:29:33] local.INFO: DEBUG: GPS processor result {"connection_id":46331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:29:33] local.INFO: GPS data processed {"connection_id":46331,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:29:33] local.INFO: Acknowledgment sent {"connection_id":46331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:29:50] local.INFO: TCP Data received {"connection_id":46332,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:29:50] local.INFO: Processing buffer {"connection_id":46332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:29:50] local.INFO: IMEI packet received {"connection_id":46332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":46332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:29:55] local.INFO: TCP Data received {"connection_id":46332,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46332,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:29:55] local.INFO: Processing buffer {"connection_id":46332,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:29:55] local.INFO: IMEI packet received {"connection_id":46332,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":46332,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:29:55] local.INFO: TCP Data received {"connection_id":46332,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:29:55] local.INFO: Processing buffer {"connection_id":46332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:29:55] local.INFO: Packet analysis {"connection_id":46332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:29:55] local.INFO: Extracted packet for processing {"connection_id":46332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:29:55] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":1,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766125568001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776430479000,"timestamp_ms":1776430479000,"timestamp_seconds":1776430479,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b81f698"} 
[2026-04-17 18:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:29:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766125568001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766125568001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:29:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:29:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766125568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":46332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22557,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:29:55] local.INFO: GPS data processed {"connection_id":46332,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:29:55] local.INFO: Acknowledgment sent {"connection_id":46332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:30:01] local.INFO: TCP Data received {"connection_id":46332,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:30:01] local.INFO: Processing buffer {"connection_id":46332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b81f698012d7faac005afe1800001000926..."} 
[2026-04-17 18:30:01] local.INFO: Packet analysis {"connection_id":46332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:30:01] local.INFO: Extracted packet for processing {"connection_id":46332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b81"} 
[2026-04-17 18:30:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":1,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766125568001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776430479000,"timestamp_ms":1776430479000,"timestamp_seconds":1776430479,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b81f698"} 
[2026-04-17 18:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:30:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:30:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:30: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-04-17 18:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766125568001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766125568001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:30:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:30:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766125568001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":46332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22558,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:30:01] local.INFO: GPS data processed {"connection_id":46332,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:30:01] local.INFO: Acknowledgment sent {"connection_id":46332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:30:04] local.INFO: TCP Data received {"connection_id":46331,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b863c58012d1425c007268a600031010e24..."} 
[2026-04-17 18:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46331,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b863c58012d1425c007268a600031010e24..."} 
[2026-04-17 18:30:04] local.INFO: Processing buffer {"connection_id":46331,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b863c58012d1425c007268a600031010e24..."} 
[2026-04-17 18:30:04] local.INFO: Packet analysis {"connection_id":46331,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:30:04] local.INFO: Extracted packet for processing {"connection_id":46331,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:30:04] local.INFO: GPS Element Parsed {"raw_longitude":756295104,"raw_latitude":119966304,"longitude_deg":75.6295104,"latitude_deg":11.9966304,"altitude":49,"angle":270,"satellites":36,"speed":50,"hex_longitude":"2d1425c0","hex_latitude":"07268a60","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766273536001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113413464763924480,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1456070085235722240,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776430759000,"timestamp_ms":1776430759000,"timestamp_seconds":1776430759,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b863c58"} 
[2026-04-17 18:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:30: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-04-17 18: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":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 18:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6939182476,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:04] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505330148638720,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2609229752,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:04] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2246213633,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:04] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2187329594,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1780482254,"corrected_to":0} 
[2026-04-17 18:30:04] local.WARNING: Invalid MNC detected {"io_id":203,"raw_value":268512532,"corrected_to":0} 
[2026-04-17 18:30:04] local.WARNING: Large IO value detected {"io_id":144,"raw_value":84746972908955275,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:04] local.WARNING: Large IO value detected {"io_id":54,"raw_value":2298531178,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:04] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3949592576,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:04] local.WARNING: Large IO value detected {"io_id":88,"raw_value":14356332467464960,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:04] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,1,28,24,241,158,16,236,157,21,45,192,148,51,35,10,66,13,34,64,240,196,155,38,4,113,205,39,203,171,144,32,239,54,2,146,7,55,42,206,88],"length":529,"final_offset":659,"validated_count":41,"validation_warnings":[{"io_id":205,"original":1780482254,"validated":0},{"io_id":203,"original":268512532,"validated":0}]} 
[2026-04-17 18:30:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3531103737457410048,"timestamp_seconds":3531103737457410.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 18:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46331,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46331,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766273536001,"66":14341,"1":206,"28":26880,"24":50,"16":113413464763924480,"45":1456070085235722240},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":206,"io_data_keys":[0,66,1,28,24,16,45]} 
[2026-04-17 18:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766273536001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:30:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113413464763924480,"km_value":113413464763924.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1456070085235722240,"description":"Unknown IO ID 45"} 
[2026-04-17 18:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766273536001,"power":14341,"imei":206,"unknown_28":26880,"ignition":50,"odometer":null,"unknown_45":1456070085235722240}} 
[2026-04-17 18:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":46331,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:30:04] local.INFO: GPS data processed {"connection_id":46331,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:30:04] local.INFO: Acknowledgment sent {"connection_id":46331,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:30:04] local.INFO: TCP Data received {"connection_id":45987,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45987,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:30:04] local.INFO: Processing buffer {"connection_id":45987,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:30:04] local.INFO: IMEI packet received {"connection_id":45987,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 18:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":45987,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:30:20] local.INFO: TCP Data received {"connection_id":46099,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:30:20] local.INFO: Processing buffer {"connection_id":46099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:30:20] local.INFO: IMEI packet received {"connection_id":46099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":46099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:30:21] local.INFO: TCP Data received {"connection_id":46099,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:30:21] local.INFO: Processing buffer {"connection_id":46099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:30:21] local.INFO: IMEI packet received {"connection_id":46099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":46099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:30:22] local.INFO: TCP Data received {"connection_id":46099,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:30:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:30:22] local.INFO: Processing buffer {"connection_id":46099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:30:22] local.INFO: IMEI packet received {"connection_id":46099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:30:22] local.INFO: IMEI acknowledgment sent {"connection_id":46099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:30:27] local.INFO: TCP Data received {"connection_id":46099,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:30:27] local.INFO: Processing buffer {"connection_id":46099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:30:27] local.INFO: IMEI packet received {"connection_id":46099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:30:27] local.INFO: IMEI acknowledgment sent {"connection_id":46099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:30:28] local.INFO: TCP Data received {"connection_id":46099,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b864428012d141c4007268bd00032011c26..."} 
[2026-04-17 18:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b864428012d141c4007268bd00032011c26..."} 
[2026-04-17 18:30:28] local.INFO: Processing buffer {"connection_id":46099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b864428012d141c4007268bd00032011c26..."} 
[2026-04-17 18:30:28] local.INFO: Packet analysis {"connection_id":46099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:30:28] local.INFO: Extracted packet for processing {"connection_id":46099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756292672,"raw_latitude":119966672,"longitude_deg":75.6292672,"latitude_deg":11.9966672,"altitude":50,"angle":284,"satellites":38,"speed":47,"hex_longitude":"2d141c40","hex_latitude":"07268bd0","is_valid_coordinates":true} 
[2026-04-17 18:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766274304001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113413585023008768,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1451777591840759808,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776430761000,"timestamp_ms":1776430761000,"timestamp_seconds":1776430761,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b864428"} 
[2026-04-17 18:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:30: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-04-17 18:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 18:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6939182511,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:28] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505330153816064,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2609236752,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:28] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2248261633,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:28] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2441084983,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1778450638,"corrected_to":0} 
[2026-04-17 18:30:28] local.WARNING: Large IO value detected {"io_id":226,"raw_value":2147560724,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:28] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3953721344,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:28] local.WARNING: Large IO value detected {"io_id":184,"raw_value":84746812921423489,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:28] local.WARNING: Large IO value detected {"io_id":56,"raw_value":15482240964241920,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:28] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,1,28,24,241,158,16,236,157,48,45,140,49,36,10,66,21,192,148,51,35,13,240,125,155,38,4,113,205,226,149,96,34,239,53,32,2,146,7,58,206,184,56],"length":529,"final_offset":659,"validated_count":43,"validation_warnings":[{"io_id":205,"original":1778450638,"validated":0}]} 
[2026-04-17 18:30:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3531119130620067840,"timestamp_seconds":3531119130620068.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 18:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766274304001,"66":14341,"1":206,"28":26880,"24":47,"16":113413585023008768,"45":1451777591840759808},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":206,"io_data_keys":[0,66,1,28,24,16,45]} 
[2026-04-17 18:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766274304001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:30:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113413585023008768,"km_value":113413585023008.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1451777591840759808,"description":"Unknown IO ID 45"} 
[2026-04-17 18:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766274304001,"power":14341,"imei":206,"unknown_28":26880,"ignition":47,"odometer":null,"unknown_45":1451777591840759808}} 
[2026-04-17 18:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":46099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:30:28] local.INFO: GPS data processed {"connection_id":46099,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:30:28] local.INFO: Acknowledgment sent {"connection_id":46099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:30:32] local.INFO: TCP Data received {"connection_id":46332,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46332,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:30:32] local.INFO: Processing buffer {"connection_id":46332,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:30:32] local.INFO: Packet analysis {"connection_id":46332,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:30:32] local.INFO: Extracted packet for processing {"connection_id":46332,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:30:32] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766202624001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776430780000,"timestamp_ms":1776430780000,"timestamp_seconds":1776430780,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b868e60"} 
[2026-04-17 18:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46332,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46332,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766202624001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766202624001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:30:32] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:30:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766202624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":46332,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22561,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:30:32] local.INFO: GPS data processed {"connection_id":46332,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:30:32] local.INFO: Acknowledgment sent {"connection_id":46332,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:30:50] local.INFO: TCP Data received {"connection_id":46855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:30:50] local.INFO: Processing buffer {"connection_id":46855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:30:50] local.INFO: IMEI packet received {"connection_id":46855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":46855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:30:55] local.INFO: TCP Data received {"connection_id":46855,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46855,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:30:55] local.INFO: Processing buffer {"connection_id":46855,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:30:55] local.INFO: IMEI packet received {"connection_id":46855,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":46855,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:30:55] local.INFO: TCP Data received {"connection_id":46855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:30:55] local.INFO: Processing buffer {"connection_id":46855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:30:55] local.INFO: Packet analysis {"connection_id":46855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:30:55] local.INFO: Extracted packet for processing {"connection_id":46855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:30:55] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766202624001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776430780000,"timestamp_ms":1776430780000,"timestamp_seconds":1776430780,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b868e60"} 
[2026-04-17 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-04-17 18:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 18:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766202624001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766202624001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:30:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:30:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766202624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":46855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22562,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:30:55] local.INFO: GPS data processed {"connection_id":46855,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:30:55] local.INFO: Acknowledgment sent {"connection_id":46855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:31:00] local.INFO: TCP Data received {"connection_id":46099,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b864bf8012d14140007268f680031012a25..."} 
[2026-04-17 18:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b864bf8012d14140007268f680031012a25..."} 
[2026-04-17 18:31:00] local.INFO: Processing buffer {"connection_id":46099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b864bf8012d14140007268f680031012a25..."} 
[2026-04-17 18:31:00] local.INFO: Packet analysis {"connection_id":46099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:31:00] local.INFO: Extracted packet for processing {"connection_id":46099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:31:00] local.INFO: GPS Element Parsed {"raw_longitude":756290560,"raw_latitude":119967592,"longitude_deg":75.629056,"latitude_deg":11.9967592,"altitude":49,"angle":298,"satellites":37,"speed":43,"hex_longitude":"2d141400","hex_latitude":"07268f68","is_valid_coordinates":true} 
[2026-04-17 18:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766274816001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113413692397191168,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1449103579562102784,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776430763000,"timestamp_ms":1776430763000,"timestamp_seconds":1776430763,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b864bf8"} 
[2026-04-17 18:31:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:31:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:31:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 18:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":6939182539,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:00] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505330157944832,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":84746693736081022,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2609242752,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:00] local.WARNING: Large IO value detected {"io_id":155,"raw_value":2249029633,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:00] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2497183795,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1778450638,"corrected_to":0} 
[2026-04-17 18:31:00] local.WARNING: Large IO value detected {"io_id":55,"raw_value":3288386922,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:00] local.WARNING: Large IO value detected {"io_id":146,"raw_value":3960799232,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:00] local.WARNING: Large IO value detected {"io_id":144,"raw_value":16326717417202688,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:00] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,1,28,24,241,158,16,237,157,60,45,192,138,49,36,10,66,236,48,140,21,240,155,38,4,113,205,51,114,128,32,239,55,2,146,7,58,39,206,144],"length":529,"final_offset":659,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1778450638,"validated":0}]} 
[2026-04-17 18:31:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3603192126410522624,"timestamp_seconds":3603192126410522.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 18:31:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766274816001,"66":14374,"1":206,"28":26880,"24":43,"16":113413692397191168,"45":1449103579562102784},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":206,"io_data_keys":[0,66,1,28,24,16,45]} 
[2026-04-17 18:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766274816001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:31:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113413692397191168,"km_value":113413692397191.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1449103579562102784,"description":"Unknown IO ID 45"} 
[2026-04-17 18:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766274816001,"power":14374,"imei":206,"unknown_28":26880,"ignition":43,"odometer":null,"unknown_45":1449103579562102784}} 
[2026-04-17 18:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":46099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:31:00] local.INFO: GPS data processed {"connection_id":46099,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:31:00] local.INFO: Acknowledgment sent {"connection_id":46099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:31:20] local.INFO: TCP Data received {"connection_id":45989,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:31:20] local.INFO: Processing buffer {"connection_id":45989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:31:20] local.INFO: IMEI packet received {"connection_id":45989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":45989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:31:21] local.INFO: TCP Data received {"connection_id":45989,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:31:21] local.INFO: Processing buffer {"connection_id":45989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:31:21] local.INFO: IMEI packet received {"connection_id":45989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":45989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:31:26] local.INFO: TCP Data received {"connection_id":46855,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46855,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:31:26] local.INFO: Processing buffer {"connection_id":46855,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:31:26] local.INFO: Packet analysis {"connection_id":46855,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:31:26] local.INFO: Extracted packet for processing {"connection_id":46855,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766202624001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776430780000,"timestamp_ms":1776430780000,"timestamp_seconds":1776430780,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b868e60"} 
[2026-04-17 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-04-17 18:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 18:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46855,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46855,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766202624001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766202624001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:31:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766202624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":46855,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22564,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:31:26] local.INFO: GPS data processed {"connection_id":46855,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:31:26] local.INFO: Acknowledgment sent {"connection_id":46855,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:31:26] local.INFO: TCP Data received {"connection_id":45989,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45989,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:31:26] local.INFO: Processing buffer {"connection_id":45989,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:31:26] local.INFO: IMEI packet received {"connection_id":45989,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":45989,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:31:27] local.INFO: TCP Data received {"connection_id":45989,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8657b0012d140a80072696c8002e013728..."} 
[2026-04-17 18:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8657b0012d140a80072696c8002e013728..."} 
[2026-04-17 18:31:27] local.INFO: Processing buffer {"connection_id":45989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8657b0012d140a80072696c8002e013728..."} 
[2026-04-17 18:31:27] local.INFO: Packet analysis {"connection_id":45989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:31:27] local.INFO: Extracted packet for processing {"connection_id":45989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:31:27] local.INFO: GPS Element Parsed {"raw_longitude":756288128,"raw_latitude":119969480,"longitude_deg":75.6288128,"latitude_deg":11.996948,"altitude":46,"angle":311,"satellites":40,"speed":40,"hex_longitude":"2d140a80","hex_latitude":"072696c8","is_valid_coordinates":true} 
[2026-04-17 18:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766275328001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113413838426079232,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1446781411004475392,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,1,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776430766000,"timestamp_ms":1776430766000,"timestamp_seconds":1776430766,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8657b0"} 
[2026-04-17 18:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:31: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-04-17 18:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 18:31:27] 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-04-17 18:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766275328001,"66":13559,"1":206,"28":26880,"24":40,"16":113413838426079232,"45":1446781411004475392},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":206,"io_data_keys":[0,66,1,28,24,16,45]} 
[2026-04-17 18:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766275328001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:31:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113413838426079232,"km_value":113413838426079.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1446781411004475392,"description":"Unknown IO ID 45"} 
[2026-04-17 18:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766275328001,"power":13559,"imei":206,"unknown_28":26880,"ignition":40,"odometer":null,"unknown_45":1446781411004475392}} 
[2026-04-17 18:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":45989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:31:28] local.INFO: GPS data processed {"connection_id":45989,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:31:28] local.INFO: Acknowledgment sent {"connection_id":45989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:31:50] local.INFO: TCP Data received {"connection_id":46856,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:31:50] local.INFO: Processing buffer {"connection_id":46856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:31:50] local.INFO: IMEI packet received {"connection_id":46856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":46856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:31:55] local.INFO: TCP Data received {"connection_id":46856,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46856,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:31:55] local.INFO: Processing buffer {"connection_id":46856,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:31:55] local.INFO: IMEI packet received {"connection_id":46856,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":46856,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:31:57] local.INFO: TCP Data received {"connection_id":46856,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:31:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:31:57] local.INFO: Processing buffer {"connection_id":46856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:31:57] local.INFO: Packet analysis {"connection_id":46856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:31:57] local.INFO: Extracted packet for processing {"connection_id":46856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:31:57] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:31:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766202624001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:31:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:31:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776430780000,"timestamp_ms":1776430780000,"timestamp_seconds":1776430780,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b868e60"} 
[2026-04-17 18:31:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:31:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:31:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:31:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:31:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:31:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:31:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:31:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:31:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:31:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:31:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:31:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:31:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:31:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766202624001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:31:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:31:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:31:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766202624001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:31:57] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:31:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:31:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:31:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:31:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766202624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:31:57] local.INFO: DEBUG: GPS processor result {"connection_id":46856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22566,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:31:57] local.INFO: GPS data processed {"connection_id":46856,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:31:57] local.INFO: Acknowledgment sent {"connection_id":46856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:32:00] local.INFO: TCP Data received {"connection_id":45989,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b87c2f8012d12e700072693a8003400f525..."} 
[2026-04-17 18:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45989,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b87c2f8012d12e700072693a8003400f525..."} 
[2026-04-17 18:32:00] local.INFO: Processing buffer {"connection_id":45989,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b87c2f8012d12e700072693a8003400f525..."} 
[2026-04-17 18:32:00] local.INFO: Packet analysis {"connection_id":45989,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b87"} 
[2026-04-17 18:32:00] local.INFO: Extracted packet for processing {"connection_id":45989,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b87"} 
[2026-04-17 18:32:00] local.INFO: GPS Element Parsed {"raw_longitude":756213504,"raw_latitude":119968680,"longitude_deg":75.6213504,"latitude_deg":11.996868,"altitude":52,"angle":245,"satellites":37,"speed":39,"hex_longitude":"2d12e700","hex_latitude":"072693a8","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766297600001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113417673831874560,"note":"Value kept but may cause issues"} 
[2026-04-17 18:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1371205379759036416,"note":"Value kept but may cause issues"} 
[2026-04-17 18:32:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776430859000,"timestamp_ms":1776430859000,"timestamp_seconds":1776430859,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b87c2f8"} 
[2026-04-17 18:32:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:32:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-17 18:32:00] 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-04-17 18: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-04-17 18:32:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":45989,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":45989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":45989,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766297600001,"66":13798,"236":206,"28":26880,"24":39,"16":113417673831874560,"45":1371205379759036416},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-04-17 18:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766297600001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:32:00] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-17 18:32:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113417673831874560,"km_value":113417673831874.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1371205379759036416,"description":"Unknown IO ID 45"} 
[2026-04-17 18:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766297600001,"power":13798,"unknown_236":206,"unknown_28":26880,"ignition":39,"odometer":null,"unknown_45":1371205379759036416}} 
[2026-04-17 18:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":45989,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22567,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:32:00] local.INFO: GPS data processed {"connection_id":45989,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:32:00] local.INFO: Acknowledgment sent {"connection_id":45989,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:32:21] local.INFO: TCP Data received {"connection_id":46333,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:32:21] local.INFO: Processing buffer {"connection_id":46333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:32:21] local.INFO: IMEI packet received {"connection_id":46333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":46333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:32:22] local.INFO: TCP Data received {"connection_id":46333,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:32:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:32:22] local.INFO: Processing buffer {"connection_id":46333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:32:22] local.INFO: IMEI packet received {"connection_id":46333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:32:22] local.INFO: IMEI acknowledgment sent {"connection_id":46333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:32:27] local.INFO: TCP Data received {"connection_id":46856,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46856,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:32:27] local.INFO: Processing buffer {"connection_id":46856,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:32:27] local.INFO: Packet analysis {"connection_id":46856,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:32:27] local.INFO: Extracted packet for processing {"connection_id":46856,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766202624001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776430780000,"timestamp_ms":1776430780000,"timestamp_seconds":1776430780,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b868e60"} 
[2026-04-17 18:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46856,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46856,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766202624001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766202624001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:32:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766202624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":46856,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22568,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:32:27] local.INFO: GPS data processed {"connection_id":46856,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:32:27] local.INFO: Acknowledgment sent {"connection_id":46856,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:32:30] local.INFO: TCP Data received {"connection_id":46333,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:32:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46333,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:32:30] local.INFO: Processing buffer {"connection_id":46333,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:32:30] local.INFO: IMEI packet received {"connection_id":46333,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:32:30] local.INFO: IMEI acknowledgment sent {"connection_id":46333,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:32:32] local.INFO: TCP Data received {"connection_id":46333,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b87e620012d12c580072683f8003700f426..."} 
[2026-04-17 18:32:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b87e620012d12c580072683f8003700f426..."} 
[2026-04-17 18:32:32] local.INFO: Processing buffer {"connection_id":46333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b87e620012d12c580072683f8003700f426..."} 
[2026-04-17 18:32:32] local.INFO: Packet analysis {"connection_id":46333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b87"} 
[2026-04-17 18:32:32] local.INFO: Extracted packet for processing {"connection_id":46333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b87"} 
[2026-04-17 18:32:32] local.INFO: GPS Element Parsed {"raw_longitude":756204928,"raw_latitude":119964664,"longitude_deg":75.6204928,"latitude_deg":11.9964664,"altitude":55,"angle":244,"satellites":38,"speed":42,"hex_longitude":"2d12c580","hex_latitude":"072683f8","is_valid_coordinates":true} 
[2026-04-17 18:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:32:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766299904001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:32:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113418129098407936,"note":"Value kept but may cause issues"} 
[2026-04-17 18:32:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1362057443014846464,"note":"Value kept but may cause issues"} 
[2026-04-17 18:32:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:32:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776430868000,"timestamp_ms":1776430868000,"timestamp_seconds":1776430868,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b87e620"} 
[2026-04-17 18:32:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:32:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:32:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":230,"data_length":795,"current_offset":136} 
[2026-04-17 18:32:32] 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-04-17 18:32:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:32:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:32:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:32:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:32:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:32:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:32:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:32:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:32:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:32:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766299904001,"66":14070,"236":206,"28":26880,"24":42,"16":113418129098407936,"45":1362057443014846464},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-04-17 18:32:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:32:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:32:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766299904001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:32:32] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-17 18:32:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:32:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113418129098407936,"km_value":113418129098407.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:32:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1362057443014846464,"description":"Unknown IO ID 45"} 
[2026-04-17 18:32:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766299904001,"power":14070,"unknown_236":206,"unknown_28":26880,"ignition":42,"odometer":null,"unknown_45":1362057443014846464}} 
[2026-04-17 18:32:32] local.INFO: DEBUG: GPS processor result {"connection_id":46333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:32:32] local.INFO: GPS data processed {"connection_id":46333,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:32:32] local.INFO: Acknowledgment sent {"connection_id":46333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:32:50] local.INFO: TCP Data received {"connection_id":46334,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:32:50] local.INFO: Processing buffer {"connection_id":46334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:32:50] local.INFO: IMEI packet received {"connection_id":46334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":46334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:32:55] local.INFO: TCP Data received {"connection_id":46334,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46334,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:32:55] local.INFO: Processing buffer {"connection_id":46334,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:32:55] local.INFO: IMEI packet received {"connection_id":46334,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":46334,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:32:55] local.INFO: TCP Data received {"connection_id":46334,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:32:55] local.INFO: Processing buffer {"connection_id":46334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:32:55] local.INFO: Packet analysis {"connection_id":46334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:32:55] local.INFO: Extracted packet for processing {"connection_id":46334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:32:55] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766202624001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776430780000,"timestamp_ms":1776430780000,"timestamp_seconds":1776430780,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b868e60"} 
[2026-04-17 18:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766202624001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766202624001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:32:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:32:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766202624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":46334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22570,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:32:55] local.INFO: GPS data processed {"connection_id":46334,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:32:55] local.INFO: Acknowledgment sent {"connection_id":46334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:33:04] local.INFO: TCP Data received {"connection_id":46333,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b88e020012d126180072673d8003f012529..."} 
[2026-04-17 18:33:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46333,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b88e020012d126180072673d8003f012529..."} 
[2026-04-17 18:33:04] local.INFO: Processing buffer {"connection_id":46333,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b88e020012d126180072673d8003f012529..."} 
[2026-04-17 18:33:04] local.INFO: Packet analysis {"connection_id":46333,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b88"} 
[2026-04-17 18:33:04] local.INFO: Extracted packet for processing {"connection_id":46333,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b88"} 
[2026-04-17 18:33:04] local.INFO: GPS Element Parsed {"raw_longitude":756179328,"raw_latitude":119960536,"longitude_deg":75.6179328,"latitude_deg":11.9960536,"altitude":63,"angle":293,"satellites":41,"speed":18,"hex_longitude":"2d126180","hex_latitude":"072673d8","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:33:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766318080001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:33:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113420156322971648,"note":"Value kept but may cause issues"} 
[2026-04-17 18:33:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1325395327296077824,"note":"Value kept but may cause issues"} 
[2026-04-17 18:33:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:33:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776430932000,"timestamp_ms":1776430932000,"timestamp_seconds":1776430932,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b88e020"} 
[2026-04-17 18:33:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:33:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18: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":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-17 18:33:04] 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-04-17 18: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-04-17 18:33:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:33:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:33:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46333,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:33:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:33:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46333,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:33:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:33:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:33:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:33:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766318080001,"66":13961,"72":206,"28":31744,"24":18,"16":113420156322971648,"45":1325395327296077824},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,28,24,16,45]} 
[2026-04-17 18:33:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:33:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:33:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766318080001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:33:04] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-04-17 18:33:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:33:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113420156322971648,"km_value":113420156322971.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:33:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1325395327296077824,"description":"Unknown IO ID 45"} 
[2026-04-17 18:33:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766318080001,"power":13961,"unknown_72":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1325395327296077824}} 
[2026-04-17 18:33:04] local.INFO: DEBUG: GPS processor result {"connection_id":46333,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:33:04] local.INFO: GPS data processed {"connection_id":46333,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:33:04] local.INFO: Acknowledgment sent {"connection_id":46333,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:33:21] local.INFO: TCP Data received {"connection_id":46101,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:33:21] local.INFO: Processing buffer {"connection_id":46101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:33:21] local.INFO: IMEI packet received {"connection_id":46101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":46101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:33:26] local.INFO: TCP Data received {"connection_id":46101,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46101,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:33:26] local.INFO: Processing buffer {"connection_id":46101,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:33:26] local.INFO: IMEI packet received {"connection_id":46101,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":46101,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:33:27] local.INFO: TCP Data received {"connection_id":46334,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46334,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:33:27] local.INFO: Processing buffer {"connection_id":46334,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:33:27] local.INFO: Packet analysis {"connection_id":46334,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:33:27] local.INFO: Extracted packet for processing {"connection_id":46334,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766202624001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776430780000,"timestamp_ms":1776430780000,"timestamp_seconds":1776430780,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b868e60"} 
[2026-04-17 18:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:33:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46334,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46334,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766202624001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766202624001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:33:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766202624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":46334,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:33:27] local.INFO: GPS data processed {"connection_id":46334,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:33:27] local.INFO: Acknowledgment sent {"connection_id":46334,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:33:27] local.INFO: TCP Data received {"connection_id":46101,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b88f3a8012d125980072675e8004301142b..."} 
[2026-04-17 18:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b88f3a8012d125980072675e8004301142b..."} 
[2026-04-17 18:33:27] local.INFO: Processing buffer {"connection_id":46101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b88f3a8012d125980072675e8004301142b..."} 
[2026-04-17 18:33:27] local.INFO: Packet analysis {"connection_id":46101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b88"} 
[2026-04-17 18:33:27] local.INFO: Extracted packet for processing {"connection_id":46101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b88"} 
[2026-04-17 18:33:27] local.INFO: GPS Element Parsed {"raw_longitude":756177280,"raw_latitude":119961064,"longitude_deg":75.617728,"latitude_deg":11.9961064,"altitude":67,"angle":276,"satellites":43,"speed":16,"hex_longitude":"2d125980","hex_latitude":"072675e8","is_valid_coordinates":true} 
[2026-04-17 18:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766318592001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113420259402186752,"note":"Value kept but may cause issues"} 
[2026-04-17 18:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1324480533621889024,"note":"Value kept but may cause issues"} 
[2026-04-17 18:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776430937000,"timestamp_ms":1776430937000,"timestamp_seconds":1776430937,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b88f3a8"} 
[2026-04-17 18:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-17 18:33:27] 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-04-17 18:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766318592001,"66":13993,"72":206,"28":31744,"24":16,"16":113420259402186752,"45":1324480533621889024},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,28,24,16,45]} 
[2026-04-17 18:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766318592001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:33:27] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-04-17 18:33:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113420259402186752,"km_value":113420259402186.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1324480533621889024,"description":"Unknown IO ID 45"} 
[2026-04-17 18:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766318592001,"power":13993,"unknown_72":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1324480533621889024}} 
[2026-04-17 18:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":46101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:33:27] local.INFO: GPS data processed {"connection_id":46101,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:33:27] local.INFO: Acknowledgment sent {"connection_id":46101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:33:55] local.INFO: TCP Data received {"connection_id":46857,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:33:55] local.INFO: Processing buffer {"connection_id":46857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:33:55] local.INFO: IMEI packet received {"connection_id":46857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":46857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:34:00] local.INFO: TCP Data received {"connection_id":46857,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46857,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:34:00] local.INFO: Processing buffer {"connection_id":46857,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:34:00] local.INFO: IMEI packet received {"connection_id":46857,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:34:00] local.INFO: IMEI acknowledgment sent {"connection_id":46857,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:34:01] local.INFO: TCP Data received {"connection_id":46857,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:34:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:34:01] local.INFO: Processing buffer {"connection_id":46857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:34:01] local.INFO: Packet analysis {"connection_id":46857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:34:01] local.INFO: Extracted packet for processing {"connection_id":46857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:34:01] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:34:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766202624001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:34:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:34:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:34:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:34:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776430780000,"timestamp_ms":1776430780000,"timestamp_seconds":1776430780,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b868e60"} 
[2026-04-17 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-04-17 18:34:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:34:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 18:34:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:34:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:34:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:34:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:34: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-04-17 18:34:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:34:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:34:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766202624001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:34:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:34:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:34:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766202624001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:34:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:34:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:34:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:34:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:34:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766202624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:34:01] local.INFO: DEBUG: GPS processor result {"connection_id":46857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:34:01] local.INFO: GPS data processed {"connection_id":46857,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:34:01] local.INFO: Acknowledgment sent {"connection_id":46857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:34:05] local.INFO: TCP Data received {"connection_id":46857,"ip":"42.106.6.18","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:34:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46857,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:34:05] local.INFO: Processing buffer {"connection_id":46857,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:34:05] local.INFO: Packet analysis {"connection_id":46857,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:34:05] local.INFO: Extracted packet for processing {"connection_id":46857,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:34:05] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:34:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766202624001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:34:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:34:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:34:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:34:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776430780000,"timestamp_ms":1776430780000,"timestamp_seconds":1776430780,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b868e60"} 
[2026-04-17 18:34:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:34:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:34:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:34:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:34:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:34:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46857,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:34:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:34:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46857,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:34:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.18","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:34:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:34:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:34:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766202624001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.18","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:34:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:34:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:34:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766202624001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:34:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:34:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:34:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:34:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:34:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766202624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:34:05] local.INFO: DEBUG: GPS processor result {"connection_id":46857,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22575,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:34:05] local.INFO: GPS data processed {"connection_id":46857,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:34:05] local.INFO: Acknowledgment sent {"connection_id":46857,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:34:09] local.INFO: TCP Data received {"connection_id":46101,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b890348012d125380072675d0004501072b..."} 
[2026-04-17 18:34:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46101,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b890348012d125380072675d0004501072b..."} 
[2026-04-17 18:34:09] local.INFO: Processing buffer {"connection_id":46101,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b890348012d125380072675d0004501072b..."} 
[2026-04-17 18:34:09] local.INFO: Packet analysis {"connection_id":46101,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b89"} 
[2026-04-17 18:34:09] local.INFO: Extracted packet for processing {"connection_id":46101,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b89"} 
[2026-04-17 18:34:09] local.INFO: GPS Element Parsed {"raw_longitude":756175744,"raw_latitude":119961040,"longitude_deg":75.6175744,"latitude_deg":11.996104,"altitude":69,"angle":263,"satellites":43,"speed":14,"hex_longitude":"2d125380","hex_latitude":"072675d0","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:34:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766319872001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:34:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113420332416630784,"note":"Value kept but may cause issues"} 
[2026-04-17 18:34:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1322228733808338944,"note":"Value kept but may cause issues"} 
[2026-04-17 18:34:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:34:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776430941000,"timestamp_ms":1776430941000,"timestamp_seconds":1776430941,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b890348"} 
[2026-04-17 18:34:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:34:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 18:34:09] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:34:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:34:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:34:09] local.INFO: Teltonika packet parsed successfully {"connection_id":46101,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:34:09] local.INFO: Passing IMEI to GPS processor {"connection_id":46101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:34:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":46101,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:34:09] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:34:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:34:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:34:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766319872001,"66":13972,"72":206,"28":31744,"24":14,"16":113420332416630784,"45":1322228733808338944},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,28,24,16,45]} 
[2026-04-17 18:34:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:34:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:34:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766319872001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:34:09] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-04-17 18:34:09] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:34:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113420332416630784,"km_value":113420332416630.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:34:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":1322228733808338944,"description":"Unknown IO ID 45"} 
[2026-04-17 18:34:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766319872001,"power":13972,"unknown_72":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1322228733808338944}} 
[2026-04-17 18:34:09] local.INFO: DEBUG: GPS processor result {"connection_id":46101,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:34:09] local.INFO: GPS data processed {"connection_id":46101,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:34:09] local.INFO: Acknowledgment sent {"connection_id":46101,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:34:19] local.INFO: TCP Data received {"connection_id":46335,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:34:19] local.INFO: Processing buffer {"connection_id":46335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:34:19] local.INFO: IMEI packet received {"connection_id":46335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":46335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:34:21] local.INFO: TCP Data received {"connection_id":46335,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:34:21] local.INFO: Processing buffer {"connection_id":46335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:34:21] local.INFO: IMEI packet received {"connection_id":46335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":46335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:34:23] local.INFO: TCP Data received {"connection_id":46335,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46335,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:34:23] local.INFO: Processing buffer {"connection_id":46335,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:34:23] local.INFO: IMEI packet received {"connection_id":46335,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":46335,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:34:25] local.INFO: TCP Data received {"connection_id":46335,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8916d0012d124e4007267490004700fc2a..."} 
[2026-04-17 18:34:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8916d0012d124e4007267490004700fc2a..."} 
[2026-04-17 18:34:25] local.INFO: Processing buffer {"connection_id":46335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8916d0012d124e4007267490004700fc2a..."} 
[2026-04-17 18:34:25] local.INFO: Packet analysis {"connection_id":46335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b89"} 
[2026-04-17 18:34:25] local.INFO: Extracted packet for processing {"connection_id":46335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b89"} 
[2026-04-17 18:34:25] local.INFO: GPS Element Parsed {"raw_longitude":756174400,"raw_latitude":119960720,"longitude_deg":75.61744,"latitude_deg":11.996072,"altitude":71,"angle":252,"satellites":42,"speed":9,"hex_longitude":"2d124e40","hex_latitude":"07267490","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:34:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766320896001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:34:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113420401136107520,"note":"Value kept but may cause issues"} 
[2026-04-17 18:34:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1320539883948068864,"note":"Value kept but may cause issues"} 
[2026-04-17 18:34:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:34:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776430946000,"timestamp_ms":1776430946000,"timestamp_seconds":1776430946,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8916d0"} 
[2026-04-17 18:34:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:34:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18: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":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-17 18:34:25] 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-04-17 18: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-04-17 18:34:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:34:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:34:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:34:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:34:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:34:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:34:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:34:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:34:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766320896001,"66":13972,"72":206,"28":31744,"24":9,"16":113420401136107520,"45":1320539883948068864},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,28,24,16,45]} 
[2026-04-17 18:34:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:34:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:34:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766320896001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:34:25] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-04-17 18:34:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:34:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113420401136107520,"km_value":113420401136107.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:34:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1320539883948068864,"description":"Unknown IO ID 45"} 
[2026-04-17 18:34:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766320896001,"power":13972,"unknown_72":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1320539883948068864}} 
[2026-04-17 18:34:25] local.INFO: DEBUG: GPS processor result {"connection_id":46335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22577,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:34:25] local.INFO: GPS data processed {"connection_id":46335,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:34:25] local.INFO: Acknowledgment sent {"connection_id":46335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:34:50] local.INFO: TCP Data received {"connection_id":46103,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:34:50] local.INFO: Processing buffer {"connection_id":46103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:34:50] local.INFO: IMEI packet received {"connection_id":46103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":46103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:34:55] local.INFO: TCP Data received {"connection_id":46103,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46103,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:34:55] local.INFO: Processing buffer {"connection_id":46103,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:34:55] local.INFO: IMEI packet received {"connection_id":46103,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":46103,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:34:56] local.INFO: TCP Data received {"connection_id":46103,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:34:56] local.INFO: Processing buffer {"connection_id":46103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b868e60012d7faac005afe180000000092b..."} 
[2026-04-17 18:34:56] local.INFO: Packet analysis {"connection_id":46103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:34:56] local.INFO: Extracted packet for processing {"connection_id":46103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b86"} 
[2026-04-17 18:34:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":43,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766202624001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776430780000,"timestamp_ms":1776430780000,"timestamp_seconds":1776430780,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b868e60"} 
[2026-04-17 18:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766202624001,"66":25299,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766202624001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:34:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:34:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766202624001,"power":25299,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":46103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22578,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:34:56] local.INFO: GPS data processed {"connection_id":46103,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:34:56] local.INFO: Acknowledgment sent {"connection_id":46103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:34:56] local.INFO: TCP Data received {"connection_id":46335,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b892a58012d12498007267278004900ed29..."} 
[2026-04-17 18:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b892a58012d12498007267278004900ed29..."} 
[2026-04-17 18:34:56] local.INFO: Processing buffer {"connection_id":46335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b892a58012d12498007267278004900ed29..."} 
[2026-04-17 18:34:56] local.INFO: Packet analysis {"connection_id":46335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b89"} 
[2026-04-17 18:34:56] local.INFO: Extracted packet for processing {"connection_id":46335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b89"} 
[2026-04-17 18:34:56] local.INFO: GPS Element Parsed {"raw_longitude":756173184,"raw_latitude":119960184,"longitude_deg":75.6173184,"latitude_deg":11.9960184,"altitude":73,"angle":237,"satellites":41,"speed":10,"hex_longitude":"2d124980","hex_latitude":"07267278","is_valid_coordinates":true} 
[2026-04-17 18:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766322176001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113420461265649664,"note":"Value kept but may cause issues"} 
[2026-04-17 18:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1319062140320256000,"note":"Value kept but may cause issues"} 
[2026-04-17 18:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776430951000,"timestamp_ms":1776430951000,"timestamp_seconds":1776430951,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b892a58"} 
[2026-04-17 18:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":148,"data_length":795,"current_offset":136} 
[2026-04-17 18:34: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-04-17 18:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46335,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766322176001,"66":13917,"72":206,"28":31744,"24":10,"16":113420461265649664,"45":1319062140320256000},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,28,24,16,45]} 
[2026-04-17 18:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766322176001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:34:56] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-04-17 18:34:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113420461265649664,"km_value":113420461265649.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":1319062140320256000,"description":"Unknown IO ID 45"} 
[2026-04-17 18:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766322176001,"power":13917,"unknown_72":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1319062140320256000}} 
[2026-04-17 18:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":46335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22579,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:34:56] local.INFO: GPS data processed {"connection_id":46335,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:34:56] local.INFO: Acknowledgment sent {"connection_id":46335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:35:20] local.INFO: TCP Data received {"connection_id":46104,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:35:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:35:20] local.INFO: Processing buffer {"connection_id":46104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:35:20] local.INFO: IMEI packet received {"connection_id":46104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:35:20] local.INFO: IMEI acknowledgment sent {"connection_id":46104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:35:23] local.INFO: TCP Data received {"connection_id":46104,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:35:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46104,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:35:23] local.INFO: Processing buffer {"connection_id":46104,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:35:23] local.INFO: IMEI packet received {"connection_id":46104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:35:23] local.INFO: IMEI acknowledgment sent {"connection_id":46104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:35:27] local.INFO: TCP Data received {"connection_id":46103,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8b2628012d7faac005afe1800000000926..."} 
[2026-04-17 18:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8b2628012d7faac005afe1800000000926..."} 
[2026-04-17 18:35:27] local.INFO: Processing buffer {"connection_id":46103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8b2628012d7faac005afe1800000000926..."} 
[2026-04-17 18:35:27] local.INFO: Packet analysis {"connection_id":46103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:35:27] local.INFO: Extracted packet for processing {"connection_id":46103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:35:27] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766279680001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776431081000,"timestamp_ms":1776431081000,"timestamp_seconds":1776431081,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8b2628"} 
[2026-04-17 18:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 18:35:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46103,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766279680001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766279680001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:35:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:35:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766279680001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":46103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22580,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:35:27] local.INFO: GPS data processed {"connection_id":46103,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:35:27] local.INFO: Acknowledgment sent {"connection_id":46103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:35:29] local.INFO: TCP Data received {"connection_id":46858,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:35:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46858,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:35:29] local.INFO: Processing buffer {"connection_id":46858,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:35:29] local.INFO: IMEI packet received {"connection_id":46858,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 18:35:29] local.INFO: IMEI acknowledgment sent {"connection_id":46858,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:35:36] local.INFO: TCP Data received {"connection_id":46104,"ip":"117.224.221.165","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 18:35:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46104,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 18:35:36] local.INFO: Processing buffer {"connection_id":46104,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 18:35:36] local.INFO: IMEI packet received {"connection_id":46104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:35:36] local.INFO: IMEI acknowledgment sent {"connection_id":46104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:35:37] local.INFO: TCP Data received {"connection_id":46104,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8ad038012d11e90007267330006a014023..."} 
[2026-04-17 18:35:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8ad038012d11e90007267330006a014023..."} 
[2026-04-17 18:35:37] local.INFO: Processing buffer {"connection_id":46104,"buffer_length":812,"buffer_hex":"000f383632353637303734383131333630000000000000030f8e0a0000019d9b..."} 
[2026-04-17 18:35:37] local.INFO: IMEI packet received {"connection_id":46104,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:35:37] local.INFO: IMEI acknowledgment sent {"connection_id":46104,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:35:38] local.INFO: TCP Data received {"connection_id":46104,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8b06e8012d11de4007267e10006e013528..."} 
[2026-04-17 18:35:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8b06e8012d11de4007267e10006e013528..."} 
[2026-04-17 18:35:38] local.INFO: Processing buffer {"connection_id":46104,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019d9b8ad038012d11e90007267330006a014023..."} 
[2026-04-17 18:35:38] local.INFO: Packet analysis {"connection_id":46104,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d9b8a"} 
[2026-04-17 18:35:38] local.INFO: Extracted packet for processing {"connection_id":46104,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8a"} 
[2026-04-17 18:35:38] local.INFO: GPS Element Parsed {"raw_longitude":756148480,"raw_latitude":119960368,"longitude_deg":75.614848,"latitude_deg":11.9960368,"altitude":106,"angle":320,"satellites":35,"speed":9,"hex_longitude":"2d11e900","hex_latitude":"07267330","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766348288001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113421797000478720,"note":"Value kept but may cause issues"} 
[2026-04-17 18:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1293025704973950976,"note":"Value kept but may cause issues"} 
[2026-04-17 18:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776431059000,"timestamp_ms":1776431059000,"timestamp_seconds":1776431059,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8ad038"} 
[2026-04-17 18:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18: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":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 18:35:38] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":46104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":46104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":46104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766348288001,"66":13493,"236":206,"28":26880,"24":9,"16":113421797000478720,"45":1293025704973950976},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-04-17 18:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766348288001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:35:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-17 18:35:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113421797000478720,"km_value":113421797000478.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1293025704973950976,"description":"Unknown IO ID 45"} 
[2026-04-17 18:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766348288001,"power":13493,"unknown_236":206,"unknown_28":26880,"ignition":9,"odometer":null,"unknown_45":1293025704973950976}} 
[2026-04-17 18:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":46104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:35:38] local.INFO: GPS data processed {"connection_id":46104,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:35:38] local.INFO: Acknowledgment sent {"connection_id":46104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:35:38] local.INFO: Packet analysis {"connection_id":46104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:35:38] local.INFO: Extracted packet for processing {"connection_id":46104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:35:38] local.INFO: GPS Element Parsed {"raw_longitude":756145728,"raw_latitude":119963152,"longitude_deg":75.6145728,"latitude_deg":11.9963152,"altitude":110,"angle":309,"satellites":40,"speed":14,"hex_longitude":"2d11de40","hex_latitude":"07267e10","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:35:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766351104001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:35:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113421985979039744,"note":"Value kept but may cause issues"} 
[2026-04-17 18:35:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1290562798928211968,"note":"Value kept but may cause issues"} 
[2026-04-17 18:35:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:35:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776431073000,"timestamp_ms":1776431073000,"timestamp_seconds":1776431073,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8b06e8"} 
[2026-04-17 18:35:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:35:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-17 18:35:38] 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-04-17 18: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-04-17 18:35:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:35:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:35:38] local.INFO: Teltonika packet parsed successfully {"connection_id":46104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:35:38] local.INFO: Passing IMEI to GPS processor {"connection_id":46104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:35:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":46104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:35:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:35:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:35:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:35:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766351104001,"66":14004,"236":206,"28":26880,"24":14,"16":113421985979039744,"45":1290562798928211968},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-04-17 18:35:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:35:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:35:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766351104001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:35:38] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-17 18:35:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:35:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113421985979039744,"km_value":113421985979039.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:35:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1290562798928211968,"description":"Unknown IO ID 45"} 
[2026-04-17 18:35:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766351104001,"power":14004,"unknown_236":206,"unknown_28":26880,"ignition":14,"odometer":null,"unknown_45":1290562798928211968}} 
[2026-04-17 18:35:38] local.INFO: DEBUG: GPS processor result {"connection_id":46104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:35:38] local.INFO: GPS data processed {"connection_id":46104,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:35:38] local.INFO: Acknowledgment sent {"connection_id":46104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:35:40] local.INFO: TCP Data received {"connection_id":46104,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8b1e58012d11d5c007268420006f012627..."} 
[2026-04-17 18:35:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46104,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8b1e58012d11d5c007268420006f012627..."} 
[2026-04-17 18:35:40] local.INFO: Processing buffer {"connection_id":46104,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8b1e58012d11d5c007268420006f012627..."} 
[2026-04-17 18:35:40] local.INFO: Packet analysis {"connection_id":46104,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:35:40] local.INFO: Extracted packet for processing {"connection_id":46104,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:35:40] local.INFO: GPS Element Parsed {"raw_longitude":756143552,"raw_latitude":119964704,"longitude_deg":75.6143552,"latitude_deg":11.9964704,"altitude":111,"angle":294,"satellites":39,"speed":17,"hex_longitude":"2d11d5c0","hex_latitude":"07268420","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:35:40] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766354688001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:35:40] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113422114828058624,"note":"Value kept but may cause issues"} 
[2026-04-17 18:35:40] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1287536942929285120,"note":"Value kept but may cause issues"} 
[2026-04-17 18:35:40] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:35:40] local.INFO: AVL Record Parsed {"raw_timestamp":1776431079000,"timestamp_ms":1776431079000,"timestamp_seconds":1776431079,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8b1e58"} 
[2026-04-17 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-04-17 18:35: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-04-17 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":54,"n8_eight_byte":180,"data_length":795,"current_offset":136} 
[2026-04-17 18:35:40] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2088,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 18:35:40] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:35:40] local.INFO: Teltonika packet parsed successfully {"connection_id":46104,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:35:40] local.INFO: Passing IMEI to GPS processor {"connection_id":46104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:35:40] local.INFO: DEBUG: About to call GPS processor {"connection_id":46104,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:35:40] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:35:40] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:35:40] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:35:40] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766354688001,"66":14004,"236":206,"28":26880,"24":17,"16":113422114828058624,"45":1287536942929285120},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-04-17 18:35:40] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:35:40] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:35:40] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766354688001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:35:40] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-17 18:35:40] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:35:40] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113422114828058624,"km_value":113422114828058.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:35:40] local.INFO: Unknown IO ID detected {"io_id":45,"value":1287536942929285120,"description":"Unknown IO ID 45"} 
[2026-04-17 18:35:40] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766354688001,"power":14004,"unknown_236":206,"unknown_28":26880,"ignition":17,"odometer":null,"unknown_45":1287536942929285120}} 
[2026-04-17 18:35:40] local.INFO: DEBUG: GPS processor result {"connection_id":46104,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:35:40] local.INFO: GPS data processed {"connection_id":46104,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:35:40] local.INFO: Acknowledgment sent {"connection_id":46104,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:35:50] local.INFO: TCP Data received {"connection_id":46105,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:35:50] local.INFO: Processing buffer {"connection_id":46105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:35:50] local.INFO: IMEI packet received {"connection_id":46105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":46105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:35:55] local.INFO: TCP Data received {"connection_id":46105,"ip":"42.106.6.39","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46105,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:35:55] local.INFO: Processing buffer {"connection_id":46105,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:35:55] local.INFO: IMEI packet received {"connection_id":46105,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":46105,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:35:56] local.INFO: TCP Data received {"connection_id":46105,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8b2628012d7faac005afe1800000000926..."} 
[2026-04-17 18:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8b2628012d7faac005afe1800000000926..."} 
[2026-04-17 18:35:56] local.INFO: Processing buffer {"connection_id":46105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8b2628012d7faac005afe1800000000926..."} 
[2026-04-17 18:35:56] local.INFO: Packet analysis {"connection_id":46105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:35:56] local.INFO: Extracted packet for processing {"connection_id":46105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763341504,"raw_latitude":95412608,"longitude_deg":76.3341504,"latitude_deg":9.5412608,"altitude":0,"angle":9,"satellites":38,"speed":0,"hex_longitude":"2d7faac0","hex_latitude":"05afe180","is_valid_coordinates":true} 
[2026-04-17 18:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766279680001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776431081000,"timestamp_ms":1776431081000,"timestamp_seconds":1776431081,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8b2628"} 
[2026-04-17 18:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":211,"data_length":795,"current_offset":136} 
[2026-04-17 18:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2587,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:35:56] 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-04-17 18:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766279680001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766279680001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:35:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766279680001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":46105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22584,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:35:56] local.INFO: GPS data processed {"connection_id":46105,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:35:56] local.INFO: Acknowledgment sent {"connection_id":46105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:36:04] local.INFO: TCP Data received {"connection_id":46336,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46336,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:36:04] local.INFO: Processing buffer {"connection_id":46336,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:36:04] local.INFO: IMEI packet received {"connection_id":46336,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 18:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":46336,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:36:27] local.INFO: TCP Data received {"connection_id":46105,"ip":"42.106.6.39","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:36:27] local.INFO: Processing buffer {"connection_id":46105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:36:27] local.INFO: Packet analysis {"connection_id":46105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:36:27] local.INFO: Extracted packet for processing {"connection_id":46105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:36:27] local.INFO: GPS Element Parsed {"raw_longitude":763343232,"raw_latitude":95413872,"longitude_deg":76.3343232,"latitude_deg":9.5413872,"altitude":0,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7fb180","hex_latitude":"05afe670","is_valid_coordinates":true} 
[2026-04-17 18:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766356736001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776431132000,"timestamp_ms":1776431132000,"timestamp_seconds":1776431132,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8bed60"} 
[2026-04-17 18:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46105,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.39","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766356736001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.39","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766356736001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:36:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:36:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766356736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":46105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22585,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:36:27] local.INFO: GPS data processed {"connection_id":46105,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:36:27] local.INFO: Acknowledgment sent {"connection_id":46105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:36:50] local.INFO: TCP Data received {"connection_id":46859,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:36:50] local.INFO: Processing buffer {"connection_id":46859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:36:50] local.INFO: IMEI packet received {"connection_id":46859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":46859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:36:55] local.INFO: TCP Data received {"connection_id":46859,"ip":"42.106.6.19","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46859,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:36:55] local.INFO: Processing buffer {"connection_id":46859,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:36:55] local.INFO: IMEI packet received {"connection_id":46859,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":46859,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:36:56] local.INFO: TCP Data received {"connection_id":46859,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:36:56] local.INFO: Processing buffer {"connection_id":46859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:36:56] local.INFO: Packet analysis {"connection_id":46859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:36:56] local.INFO: Extracted packet for processing {"connection_id":46859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763343232,"raw_latitude":95413872,"longitude_deg":76.3343232,"latitude_deg":9.5413872,"altitude":0,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7fb180","hex_latitude":"05afe670","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766356736001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776431132000,"timestamp_ms":1776431132000,"timestamp_seconds":1776431132,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8bed60"} 
[2026-04-17 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-04-17 18:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 18:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766356736001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766356736001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:36:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766356736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":46859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22586,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:36:56] local.INFO: GPS data processed {"connection_id":46859,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:36:56] local.INFO: Acknowledgment sent {"connection_id":46859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:37:11] local.INFO: TCP Data received {"connection_id":46106,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:37:11] local.INFO: Processing buffer {"connection_id":46106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:37:11] local.INFO: IMEI packet received {"connection_id":46106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:37:11] local.INFO: IMEI acknowledgment sent {"connection_id":46106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:37:18] local.INFO: TCP Data received {"connection_id":46106,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:37:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46106,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:37:18] local.INFO: Processing buffer {"connection_id":46106,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:37:18] local.INFO: IMEI packet received {"connection_id":46106,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:37:18] local.INFO: IMEI acknowledgment sent {"connection_id":46106,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:37:19] local.INFO: TCP Data received {"connection_id":46106,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8c2410012d116ac00726b0b0008f010a26..."} 
[2026-04-17 18:37:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8c2410012d116ac00726b0b0008f010a26..."} 
[2026-04-17 18:37:19] local.INFO: Processing buffer {"connection_id":46106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8c2410012d116ac00726b0b0008f010a26..."} 
[2026-04-17 18:37:19] local.INFO: Packet analysis {"connection_id":46106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8c"} 
[2026-04-17 18:37:19] local.INFO: Extracted packet for processing {"connection_id":46106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8c"} 
[2026-04-17 18:37:19] local.INFO: GPS Element Parsed {"raw_longitude":756116160,"raw_latitude":119976112,"longitude_deg":75.611616,"latitude_deg":11.9976112,"altitude":143,"angle":266,"satellites":38,"speed":19,"hex_longitude":"2d116ac0","hex_latitude":"0726b0b0","is_valid_coordinates":true} 
[2026-04-17 18:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:37:19] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766368768001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:37:19] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113423613771644928,"note":"Value kept but may cause issues"} 
[2026-04-17 18:37:19] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1264596732330432512,"note":"Value kept but may cause issues"} 
[2026-04-17 18:37:19] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,72,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:37:19] local.INFO: AVL Record Parsed {"raw_timestamp":1776431146000,"timestamp_ms":1776431146000,"timestamp_seconds":1776431146,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8c2410"} 
[2026-04-17 18:37:19] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:37:19] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:37:19] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":39,"data_length":795,"current_offset":136} 
[2026-04-17 18:37:19] 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-04-17 18:37:19] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:37:19] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:37:19] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:37:19] local.INFO: Teltonika packet parsed successfully {"connection_id":46106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:37:19] local.INFO: Passing IMEI to GPS processor {"connection_id":46106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:37:19] local.INFO: DEBUG: About to call GPS processor {"connection_id":46106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:37:19] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:37:19] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:37:19] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:37:19] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766368768001,"66":13961,"72":206,"28":31744,"24":19,"16":113423613771644928,"45":1264596732330432512},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,72,28,24,16,45]} 
[2026-04-17 18:37:19] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:37:19] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:37:19] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766368768001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:37:19] local.INFO: Unknown IO ID detected {"io_id":72,"value":206,"description":"Unknown IO ID 72"} 
[2026-04-17 18:37:19] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:37:19] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113423613771644928,"km_value":113423613771644.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:37:19] local.INFO: Unknown IO ID detected {"io_id":45,"value":1264596732330432512,"description":"Unknown IO ID 45"} 
[2026-04-17 18:37:19] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766368768001,"power":13961,"unknown_72":206,"unknown_28":31744,"ignition":19,"odometer":null,"unknown_45":1264596732330432512}} 
[2026-04-17 18:37:19] local.INFO: DEBUG: GPS processor result {"connection_id":46106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:37:19] local.INFO: GPS data processed {"connection_id":46106,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:37:19] local.INFO: Acknowledgment sent {"connection_id":46106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:37:27] local.INFO: TCP Data received {"connection_id":46859,"ip":"42.106.6.19","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46859,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:37:27] local.INFO: Processing buffer {"connection_id":46859,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:37:27] local.INFO: Packet analysis {"connection_id":46859,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:37:27] local.INFO: Extracted packet for processing {"connection_id":46859,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763343232,"raw_latitude":95413872,"longitude_deg":76.3343232,"latitude_deg":9.5413872,"altitude":0,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7fb180","hex_latitude":"05afe670","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766356736001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776431132000,"timestamp_ms":1776431132000,"timestamp_seconds":1776431132,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8bed60"} 
[2026-04-17 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-04-17 18:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 18:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46859,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46859,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.19","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766356736001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.19","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766356736001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:37:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766356736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":46859,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22588,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:37:27] local.INFO: GPS data processed {"connection_id":46859,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:37:27] local.INFO: Acknowledgment sent {"connection_id":46859,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:37:55] local.INFO: TCP Data received {"connection_id":46106,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8c7618012d1146800726aeb8009a010a26..."} 
[2026-04-17 18:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46106,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8c7618012d1146800726aeb8009a010a26..."} 
[2026-04-17 18:37:55] local.INFO: Processing buffer {"connection_id":46106,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8c7618012d1146800726aeb8009a010a26..."} 
[2026-04-17 18:37:55] local.INFO: Packet analysis {"connection_id":46106,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8c"} 
[2026-04-17 18:37:55] local.INFO: Extracted packet for processing {"connection_id":46106,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8c"} 
[2026-04-17 18:37:55] local.INFO: GPS Element Parsed {"raw_longitude":756106880,"raw_latitude":119975608,"longitude_deg":75.610688,"latitude_deg":11.9975608,"altitude":154,"angle":266,"satellites":38,"speed":15,"hex_longitude":"2d114680","hex_latitude":"0726aeb8","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:37:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766373376001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:37:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113424056153276416,"note":"Value kept but may cause issues"} 
[2026-04-17 18:37:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1255026583122522112,"note":"Value kept but may cause issues"} 
[2026-04-17 18:37:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:37:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776431167000,"timestamp_ms":1776431167000,"timestamp_seconds":1776431167,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8c7618"} 
[2026-04-17 18:37:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:37: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-04-17 18: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":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-17 18:37:55] 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-04-17 18: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-04-17 18:37:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:37:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:37:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46106,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:37:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:37:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46106,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:37:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:37:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:37:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:37:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766373376001,"66":13961,"32":206,"28":26880,"24":15,"16":113424056153276416,"45":1255026583122522112},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-17 18:37:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:37:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:37:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766373376001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:37:55] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 18:37:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:37:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113424056153276416,"km_value":113424056153276.42,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:37:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1255026583122522112,"description":"Unknown IO ID 45"} 
[2026-04-17 18:37:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766373376001,"power":13961,"unknown_32":206,"unknown_28":26880,"ignition":15,"odometer":null,"unknown_45":1255026583122522112}} 
[2026-04-17 18:37:55] local.INFO: DEBUG: GPS processor result {"connection_id":46106,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:37:55] local.INFO: GPS data processed {"connection_id":46106,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:37:55] local.INFO: Acknowledgment sent {"connection_id":46106,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:37:55] local.INFO: TCP Data received {"connection_id":46338,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:37:55] local.INFO: Processing buffer {"connection_id":46338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:37:55] local.INFO: IMEI packet received {"connection_id":46338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":46338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:38:00] local.INFO: TCP Data received {"connection_id":46338,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46338,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:38:00] local.INFO: Processing buffer {"connection_id":46338,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:38:00] local.INFO: IMEI packet received {"connection_id":46338,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:38:00] local.INFO: IMEI acknowledgment sent {"connection_id":46338,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:38:01] local.INFO: TCP Data received {"connection_id":46338,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:38:01] local.INFO: Processing buffer {"connection_id":46338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:38:01] local.INFO: Packet analysis {"connection_id":46338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:38:01] local.INFO: Extracted packet for processing {"connection_id":46338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763343232,"raw_latitude":95413872,"longitude_deg":76.3343232,"latitude_deg":9.5413872,"altitude":0,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7fb180","hex_latitude":"05afe670","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766356736001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:38:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776431132000,"timestamp_ms":1776431132000,"timestamp_seconds":1776431132,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8bed60"} 
[2026-04-17 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-04-17 18:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 18:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 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-04-17 18:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766356736001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766356736001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:38:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:38:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766356736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":46338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22590,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:38:01] local.INFO: GPS data processed {"connection_id":46338,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:38:01] local.INFO: Acknowledgment sent {"connection_id":46338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:38:05] local.INFO: TCP Data received {"connection_id":46338,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:38:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46338,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:38:05] local.INFO: Processing buffer {"connection_id":46338,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:38:05] local.INFO: Packet analysis {"connection_id":46338,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:38:05] local.INFO: Extracted packet for processing {"connection_id":46338,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:38:05] local.INFO: GPS Element Parsed {"raw_longitude":763343232,"raw_latitude":95413872,"longitude_deg":76.3343232,"latitude_deg":9.5413872,"altitude":0,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7fb180","hex_latitude":"05afe670","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:38:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766356736001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:38:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:38:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:38:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:38:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776431132000,"timestamp_ms":1776431132000,"timestamp_seconds":1776431132,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8bed60"} 
[2026-04-17 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-04-17 18:38:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:38:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 18:38:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:38:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46338,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:38:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:38:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46338,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:38:05] 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-04-17 18:38:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:38:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:38:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766356736001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:38:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:38:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:38:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766356736001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:38:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:38:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:38:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:38:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:38:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766356736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:38:05] local.INFO: DEBUG: GPS processor result {"connection_id":46338,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22591,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:38:05] local.INFO: GPS data processed {"connection_id":46338,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:38:05] local.INFO: Acknowledgment sent {"connection_id":46338,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:38:50] local.INFO: TCP Data received {"connection_id":46339,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:38:50] local.INFO: Processing buffer {"connection_id":46339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:38:50] local.INFO: IMEI packet received {"connection_id":46339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":46339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:38:55] local.INFO: TCP Data received {"connection_id":46339,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:38:55] local.INFO: Processing buffer {"connection_id":46339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:38:55] local.INFO: IMEI packet received {"connection_id":46339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":46339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:38:56] local.INFO: TCP Data received {"connection_id":46339,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:38:56] local.INFO: Processing buffer {"connection_id":46339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:38:56] local.INFO: Packet analysis {"connection_id":46339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:38:56] local.INFO: Extracted packet for processing {"connection_id":46339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763343232,"raw_latitude":95413872,"longitude_deg":76.3343232,"latitude_deg":9.5413872,"altitude":0,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7fb180","hex_latitude":"05afe670","is_valid_coordinates":true} 
[2026-04-17 18:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766356736001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776431132000,"timestamp_ms":1776431132000,"timestamp_seconds":1776431132,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8bed60"} 
[2026-04-17 18:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:38:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766356736001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766356736001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:38:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766356736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":46339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22592,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:38:56] local.INFO: GPS data processed {"connection_id":46339,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:38:56] local.INFO: Acknowledgment sent {"connection_id":46339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:39:00] local.INFO: TCP Data received {"connection_id":45991,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:39:00] local.INFO: Processing buffer {"connection_id":45991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:39:00] local.INFO: IMEI packet received {"connection_id":45991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":45991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:39:01] local.INFO: TCP Data received {"connection_id":45991,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:39:01] local.INFO: Processing buffer {"connection_id":45991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:39:01] local.INFO: IMEI packet received {"connection_id":45991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:39:01] local.INFO: IMEI acknowledgment sent {"connection_id":45991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:39:27] local.INFO: TCP Data received {"connection_id":46339,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:39:27] local.INFO: Processing buffer {"connection_id":46339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:39:27] local.INFO: Packet analysis {"connection_id":46339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:39:27] local.INFO: Extracted packet for processing {"connection_id":46339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763343232,"raw_latitude":95413872,"longitude_deg":76.3343232,"latitude_deg":9.5413872,"altitude":0,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7fb180","hex_latitude":"05afe670","is_valid_coordinates":true} 
[2026-04-17 18:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766356736001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776431132000,"timestamp_ms":1776431132000,"timestamp_seconds":1776431132,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8bed60"} 
[2026-04-17 18:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766356736001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766356736001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:39:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:39:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766356736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":46339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22593,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:39:27] local.INFO: GPS data processed {"connection_id":46339,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:39:27] local.INFO: Acknowledgment sent {"connection_id":46339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:39:29] local.INFO: TCP Data received {"connection_id":46860,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:39:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:39:29] local.INFO: Processing buffer {"connection_id":46860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:39:29] local.INFO: IMEI packet received {"connection_id":46860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:39:29] local.INFO: IMEI acknowledgment sent {"connection_id":46860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:39:32] local.INFO: TCP Data received {"connection_id":46860,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46860,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:39:32] local.INFO: Processing buffer {"connection_id":46860,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:39:32] local.INFO: IMEI packet received {"connection_id":46860,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:39:32] local.INFO: IMEI acknowledgment sent {"connection_id":46860,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:39:50] local.INFO: TCP Data received {"connection_id":46861,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:39:50] local.INFO: Processing buffer {"connection_id":46861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:39:50] local.INFO: IMEI packet received {"connection_id":46861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":46861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:39:55] local.INFO: TCP Data received {"connection_id":46861,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46861,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:39:55] local.INFO: Processing buffer {"connection_id":46861,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:39:55] local.INFO: IMEI packet received {"connection_id":46861,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":46861,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:39:56] local.INFO: TCP Data received {"connection_id":46861,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:39:56] local.INFO: Processing buffer {"connection_id":46861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:39:56] local.INFO: Packet analysis {"connection_id":46861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:39:56] local.INFO: Extracted packet for processing {"connection_id":46861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763343232,"raw_latitude":95413872,"longitude_deg":76.3343232,"latitude_deg":9.5413872,"altitude":0,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7fb180","hex_latitude":"05afe670","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766356736001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776431132000,"timestamp_ms":1776431132000,"timestamp_seconds":1776431132,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8bed60"} 
[2026-04-17 18:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:39:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:39:56] 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-04-17 18:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766356736001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766356736001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:39:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766356736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":46861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22594,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:39:56] local.INFO: GPS data processed {"connection_id":46861,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:39:56] local.INFO: Acknowledgment sent {"connection_id":46861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:40:22] local.INFO: TCP Data received {"connection_id":46860,"ip":"117.224.221.165","data_length":1360,"data_hex":"000000000000030f8e0a0000019d9b8dd1c0012d10ec800726bdb000c2011d24..."} 
[2026-04-17 18:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46860,"packet_length":1360,"packet_hex":"000000000000030f8e0a0000019d9b8dd1c0012d10ec800726bdb000c2011d24..."} 
[2026-04-17 18:40:22] local.INFO: Processing buffer {"connection_id":46860,"buffer_length":1360,"buffer_hex":"000000000000030f8e0a0000019d9b8dd1c0012d10ec800726bdb000c2011d24..."} 
[2026-04-17 18:40:22] local.INFO: Packet analysis {"connection_id":46860,"data_field_length":783,"total_packet_length":795,"buffer_length":1360,"packet_hex_start":"000000000000030f8e0a0000019d9b8d"} 
[2026-04-17 18:40:22] local.INFO: Extracted packet for processing {"connection_id":46860,"packet_length":795,"remaining_buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019d9b8d"} 
[2026-04-17 18:40:22] local.INFO: GPS Element Parsed {"raw_longitude":756083840,"raw_latitude":119979440,"longitude_deg":75.608384,"latitude_deg":11.997944,"altitude":194,"angle":285,"satellites":36,"speed":9,"hex_longitude":"2d10ec80","hex_latitude":"0726bdb0","is_valid_coordinates":true} 
[2026-04-17 18:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:40:22] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766399232001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:40:22] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113425185729675264,"note":"Value kept but may cause issues"} 
[2026-04-17 18:40:22] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1222305117080659968,"note":"Value kept but may cause issues"} 
[2026-04-17 18:40:22] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:40:22] local.INFO: AVL Record Parsed {"raw_timestamp":1776431256000,"timestamp_ms":1776431256000,"timestamp_seconds":1776431256,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8dd1c0"} 
[2026-04-17 18:40:22] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18: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-04-17 18:40:22] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 18:40:22] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2484,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:40:22] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:40:22] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:40:22] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:40:22] local.INFO: Teltonika packet parsed successfully {"connection_id":46860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:40:22] local.INFO: Passing IMEI to GPS processor {"connection_id":46860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:40:22] local.INFO: DEBUG: About to call GPS processor {"connection_id":46860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:40:22] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:40:22] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:40:22] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:40:22] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766399232001,"66":13993,"32":206,"28":26880,"24":9,"16":113425185729675264,"45":1222305117080659968},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-17 18:40:22] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:40:22] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:40:22] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766399232001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:40:22] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 18:40:22] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:40:22] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113425185729675264,"km_value":113425185729675.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:40:22] local.INFO: Unknown IO ID detected {"io_id":45,"value":1222305117080659968,"description":"Unknown IO ID 45"} 
[2026-04-17 18:40:22] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766399232001,"power":13993,"unknown_32":206,"unknown_28":26880,"ignition":9,"odometer":null,"unknown_45":1222305117080659968}} 
[2026-04-17 18:40:22] local.INFO: DEBUG: GPS processor result {"connection_id":46860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:40:22] local.INFO: GPS data processed {"connection_id":46860,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:40:22] local.INFO: Acknowledgment sent {"connection_id":46860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:40:22] local.INFO: Packet analysis {"connection_id":46860,"data_field_length":783,"total_packet_length":795,"buffer_length":565,"packet_hex_start":"000000000000030f8e0a0000019d9b8f"} 
[2026-04-17 18:40:22] local.INFO: Incomplete packet, waiting for more data {"connection_id":46860,"needed":795,"available":565} 
[2026-04-17 18:40:22] local.INFO: TCP Data received {"connection_id":46862,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:40:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:40:22] local.INFO: Processing buffer {"connection_id":46862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:40:22] local.INFO: IMEI packet received {"connection_id":46862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:40:22] local.INFO: IMEI acknowledgment sent {"connection_id":46862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:40:23] local.INFO: TCP Data received {"connection_id":46860,"ip":"117.224.221.165","data_length":230,"data_hex":"2d10d4400726b9d000c200ef2800060000000a000400ef0100715000f0010045..."} 
[2026-04-17 18:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46860,"packet_length":230,"packet_hex":"2d10d4400726b9d000c200ef2800060000000a000400ef0100715000f0010045..."} 
[2026-04-17 18:40:23] local.INFO: Processing buffer {"connection_id":46860,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8f0a40012d1097000726bdb800c4012529..."} 
[2026-04-17 18:40:23] local.INFO: Packet analysis {"connection_id":46860,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8f"} 
[2026-04-17 18:40:23] local.INFO: Extracted packet for processing {"connection_id":46860,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8f"} 
[2026-04-17 18:40:23] local.INFO: GPS Element Parsed {"raw_longitude":756061952,"raw_latitude":119979448,"longitude_deg":75.6061952,"latitude_deg":11.9979448,"altitude":196,"angle":293,"satellites":41,"speed":13,"hex_longitude":"2d109700","hex_latitude":"0726bdb8","is_valid_coordinates":true} 
[2026-04-17 18:40: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-04-17 18:40:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766416640001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:40:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113426289536270336,"note":"Value kept but may cause issues"} 
[2026-04-17 18:40:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1202250024989360128,"note":"Value kept but may cause issues"} 
[2026-04-17 18:40:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:40:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776431336000,"timestamp_ms":1776431336000,"timestamp_seconds":1776431336,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8f0a40"} 
[2026-04-17 18:40:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:40:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:40: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":92,"data_length":795,"current_offset":136} 
[2026-04-17 18:40:23] 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-04-17 18:40: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-04-17 18:40:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:40:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:40:23] local.INFO: Teltonika packet parsed successfully {"connection_id":46860,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:40:23] local.INFO: Passing IMEI to GPS processor {"connection_id":46860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:40:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":46860,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:40:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:40:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:40:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:40:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766416640001,"66":14363,"234":206,"28":26880,"24":13,"16":113426289536270336,"45":1202250024989360128},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,28,24,16,45]} 
[2026-04-17 18:40:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:40:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:40:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766416640001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:40:23] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-17 18:40:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:40:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113426289536270336,"km_value":113426289536270.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:40:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1202250024989360128,"description":"Unknown IO ID 45"} 
[2026-04-17 18:40:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766416640001,"power":14363,"unknown_234":206,"unknown_28":26880,"ignition":13,"odometer":null,"unknown_45":1202250024989360128}} 
[2026-04-17 18:40:23] local.INFO: DEBUG: GPS processor result {"connection_id":46860,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:40:23] local.INFO: GPS data processed {"connection_id":46860,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:40:23] local.INFO: Acknowledgment sent {"connection_id":46860,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:40:23] local.INFO: TCP Data received {"connection_id":46862,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:40:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:40:23] local.INFO: Processing buffer {"connection_id":46862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:40:23] local.INFO: IMEI packet received {"connection_id":46862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:40:23] local.INFO: IMEI acknowledgment sent {"connection_id":46862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:40:24] local.INFO: TCP Data received {"connection_id":46862,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:40:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:40:24] local.INFO: Processing buffer {"connection_id":46862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:40:24] local.INFO: IMEI packet received {"connection_id":46862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:40:24] local.INFO: IMEI acknowledgment sent {"connection_id":46862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:40:27] local.INFO: TCP Data received {"connection_id":46861,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46861,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:40:27] local.INFO: Processing buffer {"connection_id":46861,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:40:27] local.INFO: Packet analysis {"connection_id":46861,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:40:27] local.INFO: Extracted packet for processing {"connection_id":46861,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763343232,"raw_latitude":95413872,"longitude_deg":76.3343232,"latitude_deg":9.5413872,"altitude":0,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7fb180","hex_latitude":"05afe670","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766356736001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776431132000,"timestamp_ms":1776431132000,"timestamp_seconds":1776431132,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8bed60"} 
[2026-04-17 18:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46861,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46861,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766356736001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766356736001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:40:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:40:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766356736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":46861,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22597,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:40:27] local.INFO: GPS data processed {"connection_id":46861,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:40:27] local.INFO: Acknowledgment sent {"connection_id":46861,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:40:28] local.INFO: TCP Data received {"connection_id":46862,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:40:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46862,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:40:28] local.INFO: Processing buffer {"connection_id":46862,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:40:28] local.INFO: IMEI packet received {"connection_id":46862,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:40:28] local.INFO: IMEI acknowledgment sent {"connection_id":46862,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:40:29] local.INFO: TCP Data received {"connection_id":46862,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8f3d08012d1088400726c52000c6013129..."} 
[2026-04-17 18:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8f3d08012d1088400726c52000c6013129..."} 
[2026-04-17 18:40:29] local.INFO: Processing buffer {"connection_id":46862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8f3d08012d1088400726c52000c6013129..."} 
[2026-04-17 18:40:29] local.INFO: Packet analysis {"connection_id":46862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8f"} 
[2026-04-17 18:40:29] local.INFO: Extracted packet for processing {"connection_id":46862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8f"} 
[2026-04-17 18:40:29] local.INFO: GPS Element Parsed {"raw_longitude":756058176,"raw_latitude":119981344,"longitude_deg":75.6058176,"latitude_deg":11.9981344,"altitude":198,"angle":305,"satellites":41,"speed":12,"hex_longitude":"2d108840","hex_latitude":"0726c520","is_valid_coordinates":true} 
[2026-04-17 18:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:40:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766422016001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:40:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113426487104765952,"note":"Value kept but may cause issues"} 
[2026-04-17 18:40:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1195424256804894720,"note":"Value kept but may cause issues"} 
[2026-04-17 18:40:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:40:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776431349000,"timestamp_ms":1776431349000,"timestamp_seconds":1776431349,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8f3d08"} 
[2026-04-17 18:40:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:40: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-04-17 18:40:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":56,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-17 18:40:29] 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-04-17 18:40:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:40:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:40:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:40:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:40:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:40:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:40:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:40:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:40:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:40:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766422016001,"66":13961,"234":206,"28":26880,"24":12,"16":113426487104765952,"45":1195424256804894720},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,28,24,16,45]} 
[2026-04-17 18:40:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:40:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:40:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766422016001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:40:29] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-17 18:40:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:40:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113426487104765952,"km_value":113426487104765.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:40:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1195424256804894720,"description":"Unknown IO ID 45"} 
[2026-04-17 18:40:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766422016001,"power":13961,"unknown_234":206,"unknown_28":26880,"ignition":12,"odometer":null,"unknown_45":1195424256804894720}} 
[2026-04-17 18:40:29] local.INFO: DEBUG: GPS processor result {"connection_id":46862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:40:29] local.INFO: GPS data processed {"connection_id":46862,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:40:29] local.INFO: Acknowledgment sent {"connection_id":46862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:40:31] local.INFO: TCP Data received {"connection_id":46862,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8f5860012d107fc00726c92800c5012128..."} 
[2026-04-17 18:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8f5860012d107fc00726c92800c5012128..."} 
[2026-04-17 18:40:31] local.INFO: Processing buffer {"connection_id":46862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8f5860012d107fc00726c92800c5012128..."} 
[2026-04-17 18:40:31] local.INFO: Packet analysis {"connection_id":46862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8f"} 
[2026-04-17 18:40:31] local.INFO: Extracted packet for processing {"connection_id":46862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8f"} 
[2026-04-17 18:40:31] local.INFO: GPS Element Parsed {"raw_longitude":756056000,"raw_latitude":119982376,"longitude_deg":75.6056,"latitude_deg":11.9982376,"altitude":197,"angle":289,"satellites":40,"speed":16,"hex_longitude":"2d107fc0","hex_latitude":"0726c928","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:40:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766425344001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:40:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113426603068882944,"note":"Value kept but may cause issues"} 
[2026-04-17 18:40:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1191272500898897920,"note":"Value kept but may cause issues"} 
[2026-04-17 18:40:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:40:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776431356000,"timestamp_ms":1776431356000,"timestamp_seconds":1776431356,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8f5860"} 
[2026-04-17 18:40:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:40:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20224,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:40:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":54,"n8_eight_byte":137,"data_length":795,"current_offset":136} 
[2026-04-17 18:40:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1701,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:40:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:40:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:40:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:40:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:40:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:40:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:40:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:40:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:40:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766425344001,"66":13993,"234":206,"28":26880,"24":16,"16":113426603068882944,"45":1191272500898897920},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,28,24,16,45]} 
[2026-04-17 18:40:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:40:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:40:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766425344001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:40:31] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-17 18:40:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 18:40:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113426603068882944,"km_value":113426603068882.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:40:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":1191272500898897920,"description":"Unknown IO ID 45"} 
[2026-04-17 18:40:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766425344001,"power":13993,"unknown_234":206,"unknown_28":26880,"ignition":16,"odometer":null,"unknown_45":1191272500898897920}} 
[2026-04-17 18:40:31] local.INFO: DEBUG: GPS processor result {"connection_id":46862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:40:31] local.INFO: GPS data processed {"connection_id":46862,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:40:31] local.INFO: Acknowledgment sent {"connection_id":46862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:40:51] local.INFO: TCP Data received {"connection_id":46110,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:40:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:40:51] local.INFO: Processing buffer {"connection_id":46110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:40:51] local.INFO: IMEI packet received {"connection_id":46110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:40:51] local.INFO: IMEI acknowledgment sent {"connection_id":46110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:40:55] local.INFO: TCP Data received {"connection_id":46110,"ip":"42.106.6.32","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46110,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:40:55] local.INFO: Processing buffer {"connection_id":46110,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:40:55] local.INFO: IMEI packet received {"connection_id":46110,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":46110,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:40:56] local.INFO: TCP Data received {"connection_id":46110,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:40:56] local.INFO: Processing buffer {"connection_id":46110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8bed60012d7fb18005afe6700000003424..."} 
[2026-04-17 18:40:56] local.INFO: Packet analysis {"connection_id":46110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:40:56] local.INFO: Extracted packet for processing {"connection_id":46110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8b"} 
[2026-04-17 18:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763343232,"raw_latitude":95413872,"longitude_deg":76.3343232,"latitude_deg":9.5413872,"altitude":0,"angle":52,"satellites":36,"speed":0,"hex_longitude":"2d7fb180","hex_latitude":"05afe670","is_valid_coordinates":true} 
[2026-04-17 18:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766356736001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199376319515820032,"note":"Value kept but may cause issues"} 
[2026-04-17 18:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776431132000,"timestamp_ms":1776431132000,"timestamp_seconds":1776431132,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8bed60"} 
[2026-04-17 18:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766356736001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9199376319515820032},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766356736001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:40:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199376319515820032,"description":"Unknown IO ID 45"} 
[2026-04-17 18:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766356736001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199376319515820032}} 
[2026-04-17 18:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":46110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22600,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:40:56] local.INFO: GPS data processed {"connection_id":46110,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:40:56] local.INFO: Acknowledgment sent {"connection_id":46110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:41:27] local.INFO: TCP Data received {"connection_id":46110,"ip":"42.106.6.32","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46110,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:41:27] local.INFO: Processing buffer {"connection_id":46110,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:41:27] local.INFO: Packet analysis {"connection_id":46110,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:41:27] local.INFO: Extracted packet for processing {"connection_id":46110,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766369792001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201276275608940544,"note":"Value kept but may cause issues"} 
[2026-04-17 18:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776431427000,"timestamp_ms":1776431427000,"timestamp_seconds":1776431427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b906db8"} 
[2026-04-17 18:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46110,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46110,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.32","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766369792001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201276275608940544},"client_ip":"42.106.6.32","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766369792001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:41:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201276275608940544,"description":"Unknown IO ID 45"} 
[2026-04-17 18:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766369792001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201276275608940544}} 
[2026-04-17 18:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":46110,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22601,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:41:27] local.INFO: GPS data processed {"connection_id":46110,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:41:27] local.INFO: Acknowledgment sent {"connection_id":46110,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:41:29] local.INFO: TCP Data received {"connection_id":46340,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:41:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46340,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:41:29] local.INFO: Processing buffer {"connection_id":46340,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:41:29] local.INFO: IMEI packet received {"connection_id":46340,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 18:41:29] local.INFO: IMEI acknowledgment sent {"connection_id":46340,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:41:30] local.INFO: TCP Data received {"connection_id":46862,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b8f92f8012d105fc00726d85800c301282a..."} 
[2026-04-17 18:41:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46862,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b8f92f8012d105fc00726d85800c301282a..."} 
[2026-04-17 18:41:30] local.INFO: Processing buffer {"connection_id":46862,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b8f92f8012d105fc00726d85800c301282a..."} 
[2026-04-17 18:41:30] local.INFO: Packet analysis {"connection_id":46862,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b8f"} 
[2026-04-17 18:41:30] local.INFO: Extracted packet for processing {"connection_id":46862,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b8f"} 
[2026-04-17 18:41:30] local.INFO: GPS Element Parsed {"raw_longitude":756047808,"raw_latitude":119986264,"longitude_deg":75.6047808,"latitude_deg":11.9986264,"altitude":195,"angle":296,"satellites":42,"speed":32,"hex_longitude":"2d105fc0","hex_latitude":"0726d858","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:41:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766427136001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:41:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113427036860579840,"note":"Value kept but may cause issues"} 
[2026-04-17 18:41:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1188879963597121536,"note":"Value kept but may cause issues"} 
[2026-04-17 18:41:30] 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-04-17 18:41:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776431371000,"timestamp_ms":1776431371000,"timestamp_seconds":1776431371,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b8f92f8"} 
[2026-04-17 18:41:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:41:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18: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":54,"n8_eight_byte":169,"data_length":795,"current_offset":136} 
[2026-04-17 18:41:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1989,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:41:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:41:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:41:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46862,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:41:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:41:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46862,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:41:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:41:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:41:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:41:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766427136001,"66":13972,"70":206,"28":31744,"24":32,"16":113427036860579840,"45":1188879963597121536},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 18:41:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:41:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:41:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766427136001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:41:30] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 18:41:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 18:41:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113427036860579840,"km_value":113427036860579.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:41:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1188879963597121536,"description":"Unknown IO ID 45"} 
[2026-04-17 18:41:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766427136001,"power":13972,"unknown_70":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1188879963597121536}} 
[2026-04-17 18:41:30] local.INFO: DEBUG: GPS processor result {"connection_id":46862,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:41:30] local.INFO: GPS data processed {"connection_id":46862,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:41:30] local.INFO: Acknowledgment sent {"connection_id":46862,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:41:55] local.INFO: TCP Data received {"connection_id":45992,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:41:55] local.INFO: Processing buffer {"connection_id":45992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:41:55] local.INFO: IMEI packet received {"connection_id":45992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":45992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:42:00] local.INFO: TCP Data received {"connection_id":45992,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:42:00] local.INFO: Processing buffer {"connection_id":45992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:42:00] local.INFO: IMEI packet received {"connection_id":45992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":45992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:42:01] local.INFO: TCP Data received {"connection_id":45992,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:42:01] local.INFO: Processing buffer {"connection_id":45992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:42:01] local.INFO: Packet analysis {"connection_id":45992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:42:01] local.INFO: Extracted packet for processing {"connection_id":45992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:42:01] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766369792001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201276275608940544,"note":"Value kept but may cause issues"} 
[2026-04-17 18:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776431427000,"timestamp_ms":1776431427000,"timestamp_seconds":1776431427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b906db8"} 
[2026-04-17 18:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:42:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:42:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":45992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":45992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":45992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766369792001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201276275608940544},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766369792001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:42:01] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:42:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201276275608940544,"description":"Unknown IO ID 45"} 
[2026-04-17 18:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766369792001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201276275608940544}} 
[2026-04-17 18:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":45992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22603,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:42:01] local.INFO: GPS data processed {"connection_id":45992,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:42:01] local.INFO: Acknowledgment sent {"connection_id":45992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:42:04] local.INFO: TCP Data received {"connection_id":46111,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:42:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:42:04] local.INFO: Processing buffer {"connection_id":46111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:42:04] local.INFO: IMEI packet received {"connection_id":46111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 18:42:04] local.INFO: IMEI acknowledgment sent {"connection_id":46111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:42:05] local.INFO: TCP Data received {"connection_id":45992,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:42:05] local.INFO: Processing buffer {"connection_id":45992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:42:05] local.INFO: Packet analysis {"connection_id":45992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:42:05] local.INFO: Extracted packet for processing {"connection_id":45992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:42:05] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766369792001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201276275608940544,"note":"Value kept but may cause issues"} 
[2026-04-17 18:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776431427000,"timestamp_ms":1776431427000,"timestamp_seconds":1776431427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b906db8"} 
[2026-04-17 18:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:42:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:42:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":45992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":45992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":45992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766369792001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201276275608940544},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766369792001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:42:05] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:42:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201276275608940544,"description":"Unknown IO ID 45"} 
[2026-04-17 18:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766369792001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201276275608940544}} 
[2026-04-17 18:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":45992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:42:05] local.INFO: GPS data processed {"connection_id":45992,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:42:05] local.INFO: Acknowledgment sent {"connection_id":45992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:42:32] local.INFO: TCP Data received {"connection_id":46341,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:42:32] local.INFO: Processing buffer {"connection_id":46341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:42:32] local.INFO: IMEI packet received {"connection_id":46341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:42:32] local.INFO: IMEI acknowledgment sent {"connection_id":46341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:42:36] local.INFO: TCP Data received {"connection_id":46341,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46341,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:42:36] local.INFO: Processing buffer {"connection_id":46341,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:42:36] local.INFO: IMEI packet received {"connection_id":46341,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":46341,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:42:37] local.INFO: TCP Data received {"connection_id":46341,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b908cf8012d0fd28007271b8800d0011829..."} 
[2026-04-17 18:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46341,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b908cf8012d0fd28007271b8800d0011829..."} 
[2026-04-17 18:42:37] local.INFO: Processing buffer {"connection_id":46341,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b908cf8012d0fd28007271b8800d0011829..."} 
[2026-04-17 18:42:37] local.INFO: Packet analysis {"connection_id":46341,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:42:37] local.INFO: Extracted packet for processing {"connection_id":46341,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756011648,"raw_latitude":120003464,"longitude_deg":75.6011648,"latitude_deg":12.0003464,"altitude":208,"angle":280,"satellites":41,"speed":26,"hex_longitude":"2d0fd280","hex_latitude":"07271b88","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766444288001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113429051200241664,"note":"Value kept but may cause issues"} 
[2026-04-17 18:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1147010560816926720,"note":"Value kept but may cause issues"} 
[2026-04-17 18:42:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776431435000,"timestamp_ms":1776431435000,"timestamp_seconds":1776431435,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b908cf8"} 
[2026-04-17 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-04-17 18:42: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-04-17 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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-17 18:42:37] 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-04-17 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-04-17 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-04-17 18:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46341,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46341,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766444288001,"66":13993,"166":206,"28":26368,"24":26,"16":113429051200241664,"45":1147010560816926720},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,45]} 
[2026-04-17 18:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766444288001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:42:37] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-17 18:42:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 18:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113429051200241664,"km_value":113429051200241.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1147010560816926720,"description":"Unknown IO ID 45"} 
[2026-04-17 18:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766444288001,"power":13993,"unknown_166":206,"unknown_28":26368,"ignition":26,"odometer":null,"unknown_45":1147010560816926720}} 
[2026-04-17 18:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":46341,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:42:37] local.INFO: GPS data processed {"connection_id":46341,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:42:37] local.INFO: Acknowledgment sent {"connection_id":46341,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:42:50] local.INFO: TCP Data received {"connection_id":46342,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:42:50] local.INFO: Processing buffer {"connection_id":46342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:42:50] local.INFO: IMEI packet received {"connection_id":46342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":46342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:42:55] local.INFO: TCP Data received {"connection_id":46342,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46342,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:42:55] local.INFO: Processing buffer {"connection_id":46342,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:42:55] local.INFO: IMEI packet received {"connection_id":46342,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":46342,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:42:56] local.INFO: TCP Data received {"connection_id":46342,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:42:56] local.INFO: Processing buffer {"connection_id":46342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:42:56] local.INFO: Packet analysis {"connection_id":46342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:42:56] local.INFO: Extracted packet for processing {"connection_id":46342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766369792001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201276275608940544,"note":"Value kept but may cause issues"} 
[2026-04-17 18:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776431427000,"timestamp_ms":1776431427000,"timestamp_seconds":1776431427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b906db8"} 
[2026-04-17 18:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766369792001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201276275608940544},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766369792001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:42:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201276275608940544,"description":"Unknown IO ID 45"} 
[2026-04-17 18:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766369792001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201276275608940544}} 
[2026-04-17 18:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":46342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:42:56] local.INFO: GPS data processed {"connection_id":46342,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:42:56] local.INFO: Acknowledgment sent {"connection_id":46342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:43:19] local.INFO: TCP Data received {"connection_id":46863,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:43:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:43:19] local.INFO: Processing buffer {"connection_id":46863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:43:19] local.INFO: IMEI packet received {"connection_id":46863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:43:19] local.INFO: IMEI acknowledgment sent {"connection_id":46863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:43:21] local.INFO: TCP Data received {"connection_id":46863,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:43:21] local.INFO: Processing buffer {"connection_id":46863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:43:21] local.INFO: IMEI packet received {"connection_id":46863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":46863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:43:24] local.INFO: TCP Data received {"connection_id":46863,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46863,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:43:24] local.INFO: Processing buffer {"connection_id":46863,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:43:24] local.INFO: IMEI packet received {"connection_id":46863,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":46863,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:43:25] local.INFO: TCP Data received {"connection_id":46863,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b91d900012d0ed0c007277d2000e201392a..."} 
[2026-04-17 18:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b91d900012d0ed0c007277d2000e201392a..."} 
[2026-04-17 18:43:25] local.INFO: Processing buffer {"connection_id":46863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b91d900012d0ed0c007277d2000e201392a..."} 
[2026-04-17 18:43:25] local.INFO: Packet analysis {"connection_id":46863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b91"} 
[2026-04-17 18:43:25] local.INFO: Extracted packet for processing {"connection_id":46863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b91"} 
[2026-04-17 18:43:25] local.INFO: GPS Element Parsed {"raw_longitude":755945664,"raw_latitude":120028448,"longitude_deg":75.5945664,"latitude_deg":12.0028448,"altitude":226,"angle":313,"satellites":42,"speed":31,"hex_longitude":"2d0ed0c0","hex_latitude":"07277d20","is_valid_coordinates":true} 
[2026-04-17 18:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766468352001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113432452814340096,"note":"Value kept but may cause issues"} 
[2026-04-17 18:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1069675310971582464,"note":"Value kept but may cause issues"} 
[2026-04-17 18:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776431520000,"timestamp_ms":1776431520000,"timestamp_seconds":1776431520,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b91d900"} 
[2026-04-17 18:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:43: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-04-17 18:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":154,"data_length":795,"current_offset":136} 
[2026-04-17 18:43:25] 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-04-17 18:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766468352001,"66":13787,"166":206,"28":26368,"24":31,"16":113432452814340096,"45":1069675310971582464},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,45]} 
[2026-04-17 18:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766468352001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:43:25] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-17 18:43:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 18:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113432452814340096,"km_value":113432452814340.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1069675310971582464,"description":"Unknown IO ID 45"} 
[2026-04-17 18:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766468352001,"power":13787,"unknown_166":206,"unknown_28":26368,"ignition":31,"odometer":null,"unknown_45":1069675310971582464}} 
[2026-04-17 18:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":46863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:43:25] local.INFO: GPS data processed {"connection_id":46863,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:43:25] local.INFO: Acknowledgment sent {"connection_id":46863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:43:27] local.INFO: TCP Data received {"connection_id":46342,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46342,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:43:27] local.INFO: Processing buffer {"connection_id":46342,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:43:27] local.INFO: Packet analysis {"connection_id":46342,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:43:27] local.INFO: Extracted packet for processing {"connection_id":46342,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766369792001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201276275608940544,"note":"Value kept but may cause issues"} 
[2026-04-17 18:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776431427000,"timestamp_ms":1776431427000,"timestamp_seconds":1776431427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b906db8"} 
[2026-04-17 18:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46342,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46342,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766369792001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201276275608940544},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766369792001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:43:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201276275608940544,"description":"Unknown IO ID 45"} 
[2026-04-17 18:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766369792001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201276275608940544}} 
[2026-04-17 18:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":46342,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:43:27] local.INFO: GPS data processed {"connection_id":46342,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:43:27] local.INFO: Acknowledgment sent {"connection_id":46342,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:43:50] local.INFO: TCP Data received {"connection_id":46112,"ip":"42.106.6.148","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:43:50] local.INFO: Processing buffer {"connection_id":46112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:43:50] local.INFO: IMEI packet received {"connection_id":46112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":46112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:43:55] local.INFO: TCP Data received {"connection_id":46112,"ip":"42.106.6.148","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46112,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:43:55] local.INFO: Processing buffer {"connection_id":46112,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:43:55] local.INFO: IMEI packet received {"connection_id":46112,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":46112,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:43:56] local.INFO: TCP Data received {"connection_id":46112,"ip":"42.106.6.148","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:43:56] local.INFO: Processing buffer {"connection_id":46112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:43:56] local.INFO: Packet analysis {"connection_id":46112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:43:56] local.INFO: Extracted packet for processing {"connection_id":46112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:43:56] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766369792001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201276275608940544,"note":"Value kept but may cause issues"} 
[2026-04-17 18:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776431427000,"timestamp_ms":1776431427000,"timestamp_seconds":1776431427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b906db8"} 
[2026-04-17 18:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.148","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766369792001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201276275608940544},"client_ip":"42.106.6.148","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766369792001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:43:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:43:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201276275608940544,"description":"Unknown IO ID 45"} 
[2026-04-17 18:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766369792001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201276275608940544}} 
[2026-04-17 18:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":46112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22609,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:43:56] local.INFO: GPS data processed {"connection_id":46112,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:43:56] local.INFO: Acknowledgment sent {"connection_id":46112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:43:57] local.INFO: TCP Data received {"connection_id":46863,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9203f8012d0eb900072798b800df013528..."} 
[2026-04-17 18:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46863,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9203f8012d0eb900072798b800df013528..."} 
[2026-04-17 18:43:57] local.INFO: Processing buffer {"connection_id":46863,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9203f8012d0eb900072798b800df013528..."} 
[2026-04-17 18:43:57] local.INFO: Packet analysis {"connection_id":46863,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b92"} 
[2026-04-17 18:43:57] local.INFO: Extracted packet for processing {"connection_id":46863,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b92"} 
[2026-04-17 18:43:57] local.INFO: GPS Element Parsed {"raw_longitude":755939584,"raw_latitude":120035512,"longitude_deg":75.5939584,"latitude_deg":12.0035512,"altitude":223,"angle":309,"satellites":40,"speed":35,"hex_longitude":"2d0eb900","hex_latitude":"072798b8","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766469120001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113432903785906176,"note":"Value kept but may cause issues"} 
[2026-04-17 18:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1067564248646623232,"note":"Value kept but may cause issues"} 
[2026-04-17 18:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776431531000,"timestamp_ms":1776431531000,"timestamp_seconds":1776431531,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9203f8"} 
[2026-04-17 18:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18: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":53,"n8_eight_byte":219,"data_length":795,"current_offset":136} 
[2026-04-17 18:43:57] 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-04-17 18: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-04-17 18:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46863,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46863,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766469120001,"66":13559,"166":206,"28":26368,"24":35,"16":113432903785906176,"45":1067564248646623232},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,45]} 
[2026-04-17 18:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766469120001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:43:57] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-17 18:43:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 18:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113432903785906176,"km_value":113432903785906.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1067564248646623232,"description":"Unknown IO ID 45"} 
[2026-04-17 18:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766469120001,"power":13559,"unknown_166":206,"unknown_28":26368,"ignition":35,"odometer":null,"unknown_45":1067564248646623232}} 
[2026-04-17 18:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":46863,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22610,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:43:57] local.INFO: GPS data processed {"connection_id":46863,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:43:57] local.INFO: Acknowledgment sent {"connection_id":46863,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:44:21] local.INFO: TCP Data received {"connection_id":45995,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:44:21] local.INFO: Processing buffer {"connection_id":45995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:44:21] local.INFO: IMEI packet received {"connection_id":45995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":45995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:44:22] local.INFO: TCP Data received {"connection_id":45995,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:44:22] local.INFO: Processing buffer {"connection_id":45995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:44:22] local.INFO: IMEI packet received {"connection_id":45995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":45995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:44:22] local.INFO: TCP Data received {"connection_id":45995,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:44:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:44:22] local.INFO: Processing buffer {"connection_id":45995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:44:22] local.INFO: IMEI packet received {"connection_id":45995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:44:22] local.INFO: IMEI acknowledgment sent {"connection_id":45995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:44:23] local.INFO: TCP Data received {"connection_id":45995,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:44:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:44:23] local.INFO: Processing buffer {"connection_id":45995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:44:23] local.INFO: IMEI packet received {"connection_id":45995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:44:23] local.INFO: IMEI acknowledgment sent {"connection_id":45995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:44:27] local.INFO: TCP Data received {"connection_id":46112,"ip":"42.106.6.148","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:44:27] local.INFO: Processing buffer {"connection_id":46112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:44:27] local.INFO: Packet analysis {"connection_id":46112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:44:27] local.INFO: Extracted packet for processing {"connection_id":46112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:44:27] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766369792001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201276275608940544,"note":"Value kept but may cause issues"} 
[2026-04-17 18:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776431427000,"timestamp_ms":1776431427000,"timestamp_seconds":1776431427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b906db8"} 
[2026-04-17 18:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46112,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.148","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766369792001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201276275608940544},"client_ip":"42.106.6.148","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766369792001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:44:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:44:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201276275608940544,"description":"Unknown IO ID 45"} 
[2026-04-17 18:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766369792001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201276275608940544}} 
[2026-04-17 18:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":46112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22611,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:44:27] local.INFO: GPS data processed {"connection_id":46112,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:44:27] local.INFO: Acknowledgment sent {"connection_id":46112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:44:50] local.INFO: TCP Data received {"connection_id":46864,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:44:50] local.INFO: Processing buffer {"connection_id":46864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:44:50] local.INFO: IMEI packet received {"connection_id":46864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":46864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:44:55] local.INFO: TCP Data received {"connection_id":46864,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46864,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:44:55] local.INFO: Processing buffer {"connection_id":46864,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:44:55] local.INFO: IMEI packet received {"connection_id":46864,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":46864,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:44:56] local.INFO: TCP Data received {"connection_id":46864,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:44:56] local.INFO: Processing buffer {"connection_id":46864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:44:56] local.INFO: Packet analysis {"connection_id":46864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:44:56] local.INFO: Extracted packet for processing {"connection_id":46864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:44:56] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766369792001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201276275608940544,"note":"Value kept but may cause issues"} 
[2026-04-17 18:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776431427000,"timestamp_ms":1776431427000,"timestamp_seconds":1776431427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b906db8"} 
[2026-04-17 18:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:44:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766369792001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201276275608940544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766369792001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:44:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:44:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201276275608940544,"description":"Unknown IO ID 45"} 
[2026-04-17 18:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766369792001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201276275608940544}} 
[2026-04-17 18:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":46864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:44:56] local.INFO: GPS data processed {"connection_id":46864,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:44:56] local.INFO: Acknowledgment sent {"connection_id":46864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:45:27] local.INFO: TCP Data received {"connection_id":46864,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46864,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:45:27] local.INFO: Processing buffer {"connection_id":46864,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:45:27] local.INFO: Packet analysis {"connection_id":46864,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:45:27] local.INFO: Extracted packet for processing {"connection_id":46864,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:45:27] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766369792001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201276275608940544,"note":"Value kept but may cause issues"} 
[2026-04-17 18:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776431427000,"timestamp_ms":1776431427000,"timestamp_seconds":1776431427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b906db8"} 
[2026-04-17 18:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46864,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46864,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766369792001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201276275608940544},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766369792001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:45:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:45:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201276275608940544,"description":"Unknown IO ID 45"} 
[2026-04-17 18:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766369792001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201276275608940544}} 
[2026-04-17 18:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":46864,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22613,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:45:27] local.INFO: GPS data processed {"connection_id":46864,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:45:27] local.INFO: Acknowledgment sent {"connection_id":46864,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:45:50] local.INFO: TCP Data received {"connection_id":45997,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:45:50] local.INFO: Processing buffer {"connection_id":45997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:45:50] local.INFO: IMEI packet received {"connection_id":45997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":45997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:45:55] local.INFO: TCP Data received {"connection_id":45997,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45997,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:45:55] local.INFO: Processing buffer {"connection_id":45997,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:45:55] local.INFO: IMEI packet received {"connection_id":45997,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":45997,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:45:56] local.INFO: TCP Data received {"connection_id":45997,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:45:56] local.INFO: Processing buffer {"connection_id":45997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b906db8012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:45:56] local.INFO: Packet analysis {"connection_id":45997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:45:56] local.INFO: Extracted packet for processing {"connection_id":45997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b90"} 
[2026-04-17 18:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766369792001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201276275608940544,"note":"Value kept but may cause issues"} 
[2026-04-17 18:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776431427000,"timestamp_ms":1776431427000,"timestamp_seconds":1776431427,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b906db8"} 
[2026-04-17 18:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766369792001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201276275608940544},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766369792001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:45:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201276275608940544,"description":"Unknown IO ID 45"} 
[2026-04-17 18:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766369792001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201276275608940544}} 
[2026-04-17 18:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":45997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22614,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:45:56] local.INFO: GPS data processed {"connection_id":45997,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:45:56] local.INFO: Acknowledgment sent {"connection_id":45997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:46:26] local.INFO: TCP Data received {"connection_id":45997,"ip":"42.106.6.43","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45997,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:46:26] local.INFO: Processing buffer {"connection_id":45997,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:46:26] local.INFO: Packet analysis {"connection_id":45997,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:46:26] local.INFO: Extracted packet for processing {"connection_id":45997,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:46:26] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766445312001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776431728000,"timestamp_ms":1776431728000,"timestamp_seconds":1776431728,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b950580"} 
[2026-04-17 18:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":45997,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":45997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":45997,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.43","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766445312001,"66":25158,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.43","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766445312001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:46:26] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:46:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766445312001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":45997,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:46:26] local.INFO: GPS data processed {"connection_id":45997,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:46:26] local.INFO: Acknowledgment sent {"connection_id":45997,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:46:50] local.INFO: TCP Data received {"connection_id":46343,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:46:50] local.INFO: Processing buffer {"connection_id":46343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:46:50] local.INFO: IMEI packet received {"connection_id":46343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":46343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:46:55] local.INFO: TCP Data received {"connection_id":46343,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46343,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:46:55] local.INFO: Processing buffer {"connection_id":46343,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:46:55] local.INFO: IMEI packet received {"connection_id":46343,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":46343,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:46:56] local.INFO: TCP Data received {"connection_id":46343,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:46:56] local.INFO: Processing buffer {"connection_id":46343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:46:56] local.INFO: Packet analysis {"connection_id":46343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:46:56] local.INFO: Extracted packet for processing {"connection_id":46343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766445312001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776431728000,"timestamp_ms":1776431728000,"timestamp_seconds":1776431728,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b950580"} 
[2026-04-17 18:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:46:56] 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-04-17 18:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766445312001,"66":25158,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766445312001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:46:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766445312001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":46343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:46:56] local.INFO: GPS data processed {"connection_id":46343,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:46:56] local.INFO: Acknowledgment sent {"connection_id":46343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:47:27] local.INFO: TCP Data received {"connection_id":46343,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46343,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:47:27] local.INFO: Processing buffer {"connection_id":46343,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:47:27] local.INFO: Packet analysis {"connection_id":46343,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:47:27] local.INFO: Extracted packet for processing {"connection_id":46343,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:47:27] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766445312001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:47:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776431728000,"timestamp_ms":1776431728000,"timestamp_seconds":1776431728,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b950580"} 
[2026-04-17 18:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:47:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:47:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46343,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46343,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:47:27] 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-04-17 18:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766445312001,"66":25158,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766445312001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:47:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:47:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766445312001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":46343,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22617,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:47:27] local.INFO: GPS data processed {"connection_id":46343,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:47:27] local.INFO: Acknowledgment sent {"connection_id":46343,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:47:29] local.INFO: TCP Data received {"connection_id":45998,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45998,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:47:29] local.INFO: Processing buffer {"connection_id":45998,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:47:29] local.INFO: IMEI packet received {"connection_id":45998,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 18:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":45998,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:47:50] local.INFO: TCP Data received {"connection_id":45999,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:47:50] local.INFO: Processing buffer {"connection_id":45999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:47:50] local.INFO: IMEI packet received {"connection_id":45999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":45999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:47:55] local.INFO: TCP Data received {"connection_id":45999,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45999,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:47:55] local.INFO: Processing buffer {"connection_id":45999,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:47:55] local.INFO: IMEI packet received {"connection_id":45999,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":45999,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:47:56] local.INFO: TCP Data received {"connection_id":45999,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:47:56] local.INFO: Processing buffer {"connection_id":45999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:47:56] local.INFO: Packet analysis {"connection_id":45999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:47:56] local.INFO: Extracted packet for processing {"connection_id":45999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:47:56] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766445312001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776431728000,"timestamp_ms":1776431728000,"timestamp_seconds":1776431728,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b950580"} 
[2026-04-17 18:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:47:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:47:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":45999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":45999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":45999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766445312001,"66":25158,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766445312001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:47:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766445312001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":45999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22618,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:47:56] local.INFO: GPS data processed {"connection_id":45999,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:47:56] local.INFO: Acknowledgment sent {"connection_id":45999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:48:04] local.INFO: TCP Data received {"connection_id":46000,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:48:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46000,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:48:04] local.INFO: Processing buffer {"connection_id":46000,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:48:04] local.INFO: IMEI packet received {"connection_id":46000,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 18:48:04] local.INFO: IMEI acknowledgment sent {"connection_id":46000,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:48:27] local.INFO: TCP Data received {"connection_id":45999,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":45999,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:48:27] local.INFO: Processing buffer {"connection_id":45999,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:48:27] local.INFO: Packet analysis {"connection_id":45999,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:48:27] local.INFO: Extracted packet for processing {"connection_id":45999,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766445312001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776431728000,"timestamp_ms":1776431728000,"timestamp_seconds":1776431728,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b950580"} 
[2026-04-17 18:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":45999,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":45999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":45999,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766445312001,"66":25158,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766445312001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:48:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:48:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766445312001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":45999,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:48:27] local.INFO: GPS data processed {"connection_id":45999,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:48:27] local.INFO: Acknowledgment sent {"connection_id":45999,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:48:50] local.INFO: TCP Data received {"connection_id":46001,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:48:50] local.INFO: Processing buffer {"connection_id":46001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:48:50] local.INFO: IMEI packet received {"connection_id":46001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":46001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:48:55] local.INFO: TCP Data received {"connection_id":46001,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46001,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:48:55] local.INFO: Processing buffer {"connection_id":46001,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:48:55] local.INFO: IMEI packet received {"connection_id":46001,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":46001,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:48:56] local.INFO: TCP Data received {"connection_id":46001,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:48:56] local.INFO: Processing buffer {"connection_id":46001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:48:56] local.INFO: Packet analysis {"connection_id":46001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:48:56] local.INFO: Extracted packet for processing {"connection_id":46001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766445312001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776431728000,"timestamp_ms":1776431728000,"timestamp_seconds":1776431728,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b950580"} 
[2026-04-17 18:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766445312001,"66":25158,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766445312001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:48:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766445312001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":46001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22620,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:48:56] local.INFO: GPS data processed {"connection_id":46001,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:48:56] local.INFO: Acknowledgment sent {"connection_id":46001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:49:27] local.INFO: TCP Data received {"connection_id":46869,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:49:27] local.INFO: Processing buffer {"connection_id":46869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:49:27] local.INFO: IMEI packet received {"connection_id":46869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:49:27] local.INFO: IMEI acknowledgment sent {"connection_id":46869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:49:27] local.INFO: TCP Data received {"connection_id":46001,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:49:27] local.INFO: Processing buffer {"connection_id":46001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:49:27] local.INFO: Packet analysis {"connection_id":46001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:49:27] local.INFO: Extracted packet for processing {"connection_id":46001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766445312001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776431728000,"timestamp_ms":1776431728000,"timestamp_seconds":1776431728,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b950580"} 
[2026-04-17 18:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46001,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766445312001,"66":25158,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766445312001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:49:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766445312001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":46001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:49:27] local.INFO: GPS data processed {"connection_id":46001,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:49:27] local.INFO: Acknowledgment sent {"connection_id":46001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:49:31] local.INFO: TCP Data received {"connection_id":46869,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46869,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:49:31] local.INFO: Processing buffer {"connection_id":46869,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:49:31] local.INFO: IMEI packet received {"connection_id":46869,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:49:31] local.INFO: IMEI acknowledgment sent {"connection_id":46869,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:49:33] local.INFO: TCP Data received {"connection_id":46869,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9762f8012d0c2680072a17c800b600b121..."} 
[2026-04-17 18:49:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9762f8012d0c2680072a17c800b600b121..."} 
[2026-04-17 18:49:33] local.INFO: Processing buffer {"connection_id":46869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9762f8012d0c2680072a17c800b600b121..."} 
[2026-04-17 18:49:33] local.INFO: Packet analysis {"connection_id":46869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b97"} 
[2026-04-17 18:49:33] local.INFO: Extracted packet for processing {"connection_id":46869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b97"} 
[2026-04-17 18:49:33] local.INFO: GPS Element Parsed {"raw_longitude":755771008,"raw_latitude":120199112,"longitude_deg":75.5771008,"latitude_deg":12.0199112,"altitude":182,"angle":177,"satellites":33,"speed":8,"hex_longitude":"2d0c2680","hex_latitude":"072a17c8","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:49:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766561536001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:49:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113446218184523776,"note":"Value kept but may cause issues"} 
[2026-04-17 18:49:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875527945829603328,"note":"Value kept but may cause issues"} 
[2026-04-17 18:49:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:49:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776431883000,"timestamp_ms":1776431883000,"timestamp_seconds":1776431883,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9762f8"} 
[2026-04-17 18:49:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:49:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18: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":49,"n8_eight_byte":69,"data_length":795,"current_offset":136} 
[2026-04-17 18:49:33] 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-04-17 18: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-04-17 18:49:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:49:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:49:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:49:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:49:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:49:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:49:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:49:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:49:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766561536001,"66":12917,"81":206,"28":26368,"24":8,"16":113446218184523776,"45":875527945829603328},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 18:49:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:49:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:49:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766561536001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:49:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 18:49:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 18:49:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113446218184523776,"km_value":113446218184523.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:49:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":875527945829603328,"description":"Unknown IO ID 45"} 
[2026-04-17 18:49:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766561536001,"power":12917,"unknown_81":206,"unknown_28":26368,"ignition":8,"odometer":null,"unknown_45":875527945829603328}} 
[2026-04-17 18:49:33] local.INFO: DEBUG: GPS processor result {"connection_id":46869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22622,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:49:33] local.INFO: GPS data processed {"connection_id":46869,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:49:33] local.INFO: Acknowledgment sent {"connection_id":46869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:49:37] local.INFO: TCP Data received {"connection_id":46869,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b97b500012d0c2680072a16f800b600b127..."} 
[2026-04-17 18:49:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46869,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b97b500012d0c2680072a16f800b600b127..."} 
[2026-04-17 18:49:37] local.INFO: Processing buffer {"connection_id":46869,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b97b500012d0c2680072a16f800b600b127..."} 
[2026-04-17 18:49:37] local.INFO: Packet analysis {"connection_id":46869,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b97"} 
[2026-04-17 18:49:37] local.INFO: Extracted packet for processing {"connection_id":46869,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b97"} 
[2026-04-17 18:49:37] local.INFO: GPS Element Parsed {"raw_longitude":755771008,"raw_latitude":120198904,"longitude_deg":75.5771008,"latitude_deg":12.0198904,"altitude":182,"angle":177,"satellites":39,"speed":0,"hex_longitude":"2d0c2680","hex_latitude":"072a16f8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:49:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766562048001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:49:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113446231069425664,"note":"Value kept but may cause issues"} 
[2026-04-17 18:49:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875527945829468160,"note":"Value kept but may cause issues"} 
[2026-04-17 18:49:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:49:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776431904000,"timestamp_ms":1776431904000,"timestamp_seconds":1776431904,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b97b500"} 
[2026-04-17 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-04-17 18:49:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":50,"n8_eight_byte":117,"data_length":795,"current_offset":136} 
[2026-04-17 18:49:37] 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-04-17 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-04-17 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-04-17 18:49:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:49:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46869,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:49:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:49:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46869,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:49:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:49:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:49:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:49:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766562048001,"66":12841,"81":206,"28":26368,"24":0,"16":113446231069425664,"45":875527945829468160},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 18:49:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:49:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:49:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766562048001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:49:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 18:49:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 18:49:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113446231069425664,"km_value":113446231069425.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:49:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":875527945829468160,"description":"Unknown IO ID 45"} 
[2026-04-17 18:49:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766562048001,"power":12841,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875527945829468160}} 
[2026-04-17 18:49:37] local.INFO: DEBUG: GPS processor result {"connection_id":46869,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:49:37] local.INFO: GPS data processed {"connection_id":46869,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:49:37] local.INFO: Acknowledgment sent {"connection_id":46869,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:49:50] local.INFO: TCP Data received {"connection_id":46345,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:49:50] local.INFO: Processing buffer {"connection_id":46345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:49:50] local.INFO: IMEI packet received {"connection_id":46345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":46345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:49:56] local.INFO: TCP Data received {"connection_id":46345,"ip":"42.106.6.15","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46345,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:49:56] local.INFO: Processing buffer {"connection_id":46345,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:49:56] local.INFO: IMEI packet received {"connection_id":46345,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:49:56] local.INFO: IMEI acknowledgment sent {"connection_id":46345,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:49:57] local.INFO: TCP Data received {"connection_id":46345,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:49:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:49:57] local.INFO: Processing buffer {"connection_id":46345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:49:57] local.INFO: Packet analysis {"connection_id":46345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:49:57] local.INFO: Extracted packet for processing {"connection_id":46345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:49:57] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:49:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766445312001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:49:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:49:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:49:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:49:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776431728000,"timestamp_ms":1776431728000,"timestamp_seconds":1776431728,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b950580"} 
[2026-04-17 18:49:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:49:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:49:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:49:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:49:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:49:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:49:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:49:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:49:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:49:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:49:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:49:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:49:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:49:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766445312001,"66":25158,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:49:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:49:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:49:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766445312001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:49:57] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:49:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:49:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:49:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:49:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766445312001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:49:57] local.INFO: DEBUG: GPS processor result {"connection_id":46345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:49:57] local.INFO: GPS data processed {"connection_id":46345,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:49:57] local.INFO: Acknowledgment sent {"connection_id":46345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:50:21] local.INFO: TCP Data received {"connection_id":46346,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:50:21] local.INFO: Processing buffer {"connection_id":46346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:50:21] local.INFO: IMEI packet received {"connection_id":46346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":46346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:50:27] local.INFO: TCP Data received {"connection_id":46346,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46346,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:50:27] local.INFO: Processing buffer {"connection_id":46346,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:50:27] local.INFO: IMEI packet received {"connection_id":46346,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":46346,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:50:28] local.INFO: TCP Data received {"connection_id":46346,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b980708012d0c2680072a16f800b600b129..."} 
[2026-04-17 18:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b980708012d0c2680072a16f800b600b129..."} 
[2026-04-17 18:50:28] local.INFO: Processing buffer {"connection_id":46346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b980708012d0c2680072a16f800b600b129..."} 
[2026-04-17 18:50:28] local.INFO: Packet analysis {"connection_id":46346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b98"} 
[2026-04-17 18:50:28] local.INFO: Extracted packet for processing {"connection_id":46346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b98"} 
[2026-04-17 18:50:28] local.INFO: GPS Element Parsed {"raw_longitude":755771008,"raw_latitude":120198904,"longitude_deg":75.5771008,"latitude_deg":12.0198904,"altitude":182,"angle":177,"satellites":41,"speed":0,"hex_longitude":"2d0c2680","hex_latitude":"072a16f8","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766567424001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113446231069425664,"note":"Value kept but may cause issues"} 
[2026-04-17 18:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875527945829414912,"note":"Value kept but may cause issues"} 
[2026-04-17 18:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776431925000,"timestamp_ms":1776431925000,"timestamp_seconds":1776431925,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b980708"} 
[2026-04-17 18:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:50: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-04-17 18: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 18:50: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-04-17 18: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-04-17 18:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766567424001,"66":12722,"81":206,"28":26368,"24":0,"16":113446231069425664,"45":875527945829414912},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 18:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766567424001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:50:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 18:50:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 18:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113446231069425664,"km_value":113446231069425.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":875527945829414912,"description":"Unknown IO ID 45"} 
[2026-04-17 18:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766567424001,"power":12722,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875527945829414912}} 
[2026-04-17 18:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":46346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:50:28] local.INFO: GPS data processed {"connection_id":46346,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:50:28] local.INFO: Acknowledgment sent {"connection_id":46346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:50:28] local.INFO: TCP Data received {"connection_id":46345,"ip":"42.106.6.15","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46345,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:50:28] local.INFO: Processing buffer {"connection_id":46345,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:50:28] local.INFO: Packet analysis {"connection_id":46345,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:50:28] local.INFO: Extracted packet for processing {"connection_id":46345,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766445312001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776431728000,"timestamp_ms":1776431728000,"timestamp_seconds":1776431728,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b950580"} 
[2026-04-17 18:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:50:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46345,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46345,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:50:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.15","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766445312001,"66":25158,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.15","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766445312001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:50:28] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766445312001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":46345,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:50:28] local.INFO: GPS data processed {"connection_id":46345,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:50:28] local.INFO: Acknowledgment sent {"connection_id":46345,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:50:50] local.INFO: TCP Data received {"connection_id":46871,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:50:50] local.INFO: Processing buffer {"connection_id":46871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:50:50] local.INFO: IMEI packet received {"connection_id":46871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":46871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:50:55] local.INFO: TCP Data received {"connection_id":46871,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46871,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:50:55] local.INFO: Processing buffer {"connection_id":46871,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:50:55] local.INFO: IMEI packet received {"connection_id":46871,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":46871,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:50:56] local.INFO: TCP Data received {"connection_id":46871,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:50:56] local.INFO: Processing buffer {"connection_id":46871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b950580012d7fb0c005afe6500000003425..."} 
[2026-04-17 18:50:56] local.INFO: Packet analysis {"connection_id":46871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:50:56] local.INFO: Extracted packet for processing {"connection_id":46871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b95"} 
[2026-04-17 18:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":37,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766445312001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776431728000,"timestamp_ms":1776431728000,"timestamp_seconds":1776431728,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b950580"} 
[2026-04-17 18:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:50:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766445312001,"66":25158,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766445312001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:50:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766445312001,"power":25158,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":46871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22627,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:50:56] local.INFO: GPS data processed {"connection_id":46871,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:50:56] local.INFO: Acknowledgment sent {"connection_id":46871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:51:00] local.INFO: TCP Data received {"connection_id":46346,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b985910012d0c2680072a16f800b600b128..."} 
[2026-04-17 18:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46346,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b985910012d0c2680072a16f800b600b128..."} 
[2026-04-17 18:51:00] local.INFO: Processing buffer {"connection_id":46346,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b985910012d0c2680072a16f800b600b128..."} 
[2026-04-17 18:51:00] local.INFO: Packet analysis {"connection_id":46346,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b98"} 
[2026-04-17 18:51:00] local.INFO: Extracted packet for processing {"connection_id":46346,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b98"} 
[2026-04-17 18:51:00] local.INFO: GPS Element Parsed {"raw_longitude":755771008,"raw_latitude":120198904,"longitude_deg":75.5771008,"latitude_deg":12.0198904,"altitude":182,"angle":177,"satellites":40,"speed":0,"hex_longitude":"2d0c2680","hex_latitude":"072a16f8","is_valid_coordinates":true} 
[2026-04-17 18:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:51:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766572800001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:51:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113446231069425664,"note":"Value kept but may cause issues"} 
[2026-04-17 18:51:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875527945829414912,"note":"Value kept but may cause issues"} 
[2026-04-17 18:51:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:51:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776431946000,"timestamp_ms":1776431946000,"timestamp_seconds":1776431946,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b985910"} 
[2026-04-17 18:51:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:51:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:51:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 18:51:00] 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-04-17 18:51:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:51:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:51:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:51:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46346,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:51:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:51:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46346,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:51:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:51:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:51:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:51:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766572800001,"66":12743,"81":206,"28":26368,"24":0,"16":113446231069425664,"45":875527945829414912},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 18:51:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:51:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:51:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766572800001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:51:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 18:51:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 18:51:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113446231069425664,"km_value":113446231069425.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:51:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":875527945829414912,"description":"Unknown IO ID 45"} 
[2026-04-17 18:51:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766572800001,"power":12743,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875527945829414912}} 
[2026-04-17 18:51:00] local.INFO: DEBUG: GPS processor result {"connection_id":46346,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22628,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:51:00] local.INFO: GPS data processed {"connection_id":46346,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:51:00] local.INFO: Acknowledgment sent {"connection_id":46346,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:51:21] local.INFO: TCP Data received {"connection_id":46002,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:51:21] local.INFO: Processing buffer {"connection_id":46002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:51:21] local.INFO: IMEI packet received {"connection_id":46002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":46002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:51:26] local.INFO: TCP Data received {"connection_id":46002,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46002,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:51:26] local.INFO: Processing buffer {"connection_id":46002,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:51:26] local.INFO: IMEI packet received {"connection_id":46002,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":46002,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:51:27] local.INFO: TCP Data received {"connection_id":46871,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46871,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:51:27] local.INFO: Processing buffer {"connection_id":46871,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:51:27] local.INFO: Packet analysis {"connection_id":46871,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b99"} 
[2026-04-17 18:51:27] local.INFO: Extracted packet for processing {"connection_id":46871,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b99"} 
[2026-04-17 18:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":42,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766522368001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776432029000,"timestamp_ms":1776432029000,"timestamp_seconds":1776432029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b999d48"} 
[2026-04-17 18:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 18:51:27] 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-04-17 18:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46871,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46871,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766522368001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766522368001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:51:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766522368001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":46871,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:51:27] local.INFO: GPS data processed {"connection_id":46871,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:51:27] local.INFO: Acknowledgment sent {"connection_id":46871,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:51:27] local.INFO: TCP Data received {"connection_id":46002,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b98ab18012d0c2680072a16f800b600b12a..."} 
[2026-04-17 18:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b98ab18012d0c2680072a16f800b600b12a..."} 
[2026-04-17 18:51:27] local.INFO: Processing buffer {"connection_id":46002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b98ab18012d0c2680072a16f800b600b12a..."} 
[2026-04-17 18:51:27] local.INFO: Packet analysis {"connection_id":46002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b98"} 
[2026-04-17 18:51:27] local.INFO: Extracted packet for processing {"connection_id":46002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b98"} 
[2026-04-17 18:51:27] local.INFO: GPS Element Parsed {"raw_longitude":755771008,"raw_latitude":120198904,"longitude_deg":75.5771008,"latitude_deg":12.0198904,"altitude":182,"angle":177,"satellites":42,"speed":0,"hex_longitude":"2d0c2680","hex_latitude":"072a16f8","is_valid_coordinates":true} 
[2026-04-17 18:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766578176001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113446231069425664,"note":"Value kept but may cause issues"} 
[2026-04-17 18:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875527945829414912,"note":"Value kept but may cause issues"} 
[2026-04-17 18:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776431967000,"timestamp_ms":1776431967000,"timestamp_seconds":1776431967,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b98ab18"} 
[2026-04-17 18:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-17 18:51:27] 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-04-17 18:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766578176001,"66":13091,"81":206,"28":26368,"24":0,"16":113446231069425664,"45":875527945829414912},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 18:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766578176001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:51:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 18:51:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 18:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113446231069425664,"km_value":113446231069425.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":875527945829414912,"description":"Unknown IO ID 45"} 
[2026-04-17 18:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766578176001,"power":13091,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875527945829414912}} 
[2026-04-17 18:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":46002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22630,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:51:27] local.INFO: GPS data processed {"connection_id":46002,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:51:27] local.INFO: Acknowledgment sent {"connection_id":46002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:51:53] local.INFO: TCP Data received {"connection_id":46115,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:51:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:51:53] local.INFO: Processing buffer {"connection_id":46115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:51:53] local.INFO: IMEI packet received {"connection_id":46115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:51:53] local.INFO: IMEI acknowledgment sent {"connection_id":46115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:51:55] local.INFO: TCP Data received {"connection_id":46115,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:51:55] local.INFO: Processing buffer {"connection_id":46115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:51:55] local.INFO: IMEI packet received {"connection_id":46115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":46115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:51:56] local.INFO: TCP Data received {"connection_id":46115,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:51:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:51:56] local.INFO: Processing buffer {"connection_id":46115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:51:56] local.INFO: Packet analysis {"connection_id":46115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b99"} 
[2026-04-17 18:51:56] local.INFO: Extracted packet for processing {"connection_id":46115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b99"} 
[2026-04-17 18:51:56] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":42,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:51:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:51:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766522368001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:51:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:51:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:51:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:51:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776432029000,"timestamp_ms":1776432029000,"timestamp_seconds":1776432029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b999d48"} 
[2026-04-17 18:51:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:51:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 18:51:56] 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-04-17 18: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-04-17 18:51:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:51:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:51:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:51:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:51:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:51:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:51:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:51:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:51:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766522368001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:51:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:51:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:51:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766522368001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:51:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:51:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:51:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:51:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:51:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766522368001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:51:56] local.INFO: DEBUG: GPS processor result {"connection_id":46115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:51:56] local.INFO: GPS data processed {"connection_id":46115,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:51:56] local.INFO: Acknowledgment sent {"connection_id":46115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:51:58] local.INFO: TCP Data received {"connection_id":46002,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9a58c8012d0c3400072a23b800bc016127..."} 
[2026-04-17 18:51:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9a58c8012d0c3400072a23b800bc016127..."} 
[2026-04-17 18:51:58] local.INFO: Processing buffer {"connection_id":46002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9a58c8012d0c3400072a23b800bc016127..."} 
[2026-04-17 18:51:58] local.INFO: Packet analysis {"connection_id":46002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9a"} 
[2026-04-17 18:51:58] local.INFO: Extracted packet for processing {"connection_id":46002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9a"} 
[2026-04-17 18:51:58] local.INFO: GPS Element Parsed {"raw_longitude":755774464,"raw_latitude":120202168,"longitude_deg":75.5774464,"latitude_deg":12.0202168,"altitude":188,"angle":353,"satellites":39,"speed":6,"hex_longitude":"2d0c3400","hex_latitude":"072a23b8","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:51:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766611200001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:51:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113446613321515008,"note":"Value kept but may cause issues"} 
[2026-04-17 18:51:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":879327858015739904,"note":"Value kept but may cause issues"} 
[2026-04-17 18:51:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:51:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776432077000,"timestamp_ms":1776432077000,"timestamp_seconds":1776432077,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9a58c8"} 
[2026-04-17 18:51:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:51: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-04-17 18: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":54,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-17 18:51:58] 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-04-17 18: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-04-17 18:51:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:51:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:51:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:51:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:51:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46002,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:51:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:51:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:51:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:51:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766611200001,"66":13678,"81":206,"28":26368,"24":6,"16":113446613321515008,"45":879327858015739904},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 18:51:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:51:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:51:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766611200001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:51:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 18:51:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 18:51:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113446613321515008,"km_value":113446613321515.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:51:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":879327858015739904,"description":"Unknown IO ID 45"} 
[2026-04-17 18:51:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766611200001,"power":13678,"unknown_81":206,"unknown_28":26368,"ignition":6,"odometer":null,"unknown_45":879327858015739904}} 
[2026-04-17 18:51:58] local.INFO: DEBUG: GPS processor result {"connection_id":46002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22632,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:51:58] local.INFO: GPS data processed {"connection_id":46002,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:51:58] local.INFO: Acknowledgment sent {"connection_id":46002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:52:00] local.INFO: TCP Data received {"connection_id":46115,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:52:00] local.INFO: Processing buffer {"connection_id":46115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:52:00] local.INFO: Packet analysis {"connection_id":46115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b99"} 
[2026-04-17 18:52:00] local.INFO: Extracted packet for processing {"connection_id":46115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b99"} 
[2026-04-17 18:52:00] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":42,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766522368001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:52:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776432029000,"timestamp_ms":1776432029000,"timestamp_seconds":1776432029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b999d48"} 
[2026-04-17 18:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 18:52:00] 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-04-17 18: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-04-17 18:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766522368001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766522368001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:52:00] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:52:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766522368001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":46115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:52:00] local.INFO: GPS data processed {"connection_id":46115,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:52:00] local.INFO: Acknowledgment sent {"connection_id":46115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:52:19] local.INFO: TCP Data received {"connection_id":46348,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:52:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:52:19] local.INFO: Processing buffer {"connection_id":46348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:52:19] local.INFO: IMEI packet received {"connection_id":46348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:52:19] local.INFO: IMEI acknowledgment sent {"connection_id":46348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:52:20] local.INFO: TCP Data received {"connection_id":46348,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:52:20] local.INFO: Processing buffer {"connection_id":46348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:52:20] local.INFO: IMEI packet received {"connection_id":46348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":46348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:52:21] local.INFO: TCP Data received {"connection_id":46348,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:52:21] local.INFO: Processing buffer {"connection_id":46348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:52:21] local.INFO: IMEI packet received {"connection_id":46348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":46348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:52:22] local.INFO: TCP Data received {"connection_id":46348,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:52:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46348,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:52:22] local.INFO: Processing buffer {"connection_id":46348,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:52:22] local.INFO: IMEI packet received {"connection_id":46348,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:52:22] local.INFO: IMEI acknowledgment sent {"connection_id":46348,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:52:31] local.INFO: TCP Data received {"connection_id":46115,"ip":"42.106.6.27","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:52:31] local.INFO: Processing buffer {"connection_id":46115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:52:31] local.INFO: Packet analysis {"connection_id":46115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b99"} 
[2026-04-17 18:52:31] local.INFO: Extracted packet for processing {"connection_id":46115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b99"} 
[2026-04-17 18:52:31] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":42,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:52:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766522368001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:52:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:52:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:52:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:52:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776432029000,"timestamp_ms":1776432029000,"timestamp_seconds":1776432029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b999d48"} 
[2026-04-17 18:52:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:52:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 18:52:31] 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-04-17 18: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-04-17 18:52:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:52:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:52:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:52:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:52:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:52:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.27","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:52:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:52:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:52:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766522368001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.27","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:52:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:52:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:52:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766522368001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:52:31] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:52:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:52:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:52:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:52:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766522368001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:52:31] local.INFO: DEBUG: GPS processor result {"connection_id":46115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:52:31] local.INFO: GPS data processed {"connection_id":46115,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:52:31] local.INFO: Acknowledgment sent {"connection_id":46115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:52:50] local.INFO: TCP Data received {"connection_id":46003,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:52:50] local.INFO: Processing buffer {"connection_id":46003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:52:50] local.INFO: IMEI packet received {"connection_id":46003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":46003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:52:55] local.INFO: TCP Data received {"connection_id":46003,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46003,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:52:55] local.INFO: Processing buffer {"connection_id":46003,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:52:55] local.INFO: IMEI packet received {"connection_id":46003,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":46003,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:52:56] local.INFO: TCP Data received {"connection_id":46003,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:52:56] local.INFO: Processing buffer {"connection_id":46003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:52:56] local.INFO: Packet analysis {"connection_id":46003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b99"} 
[2026-04-17 18:52:56] local.INFO: Extracted packet for processing {"connection_id":46003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b99"} 
[2026-04-17 18:52:56] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":42,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766522368001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776432029000,"timestamp_ms":1776432029000,"timestamp_seconds":1776432029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b999d48"} 
[2026-04-17 18:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 18:52:56] 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-04-17 18:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:52:56] 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-04-17 18:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766522368001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766522368001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:52:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766522368001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":46003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:52:56] local.INFO: GPS data processed {"connection_id":46003,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:52:56] local.INFO: Acknowledgment sent {"connection_id":46003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:53:27] local.INFO: TCP Data received {"connection_id":46003,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:53:27] local.INFO: Processing buffer {"connection_id":46003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:53:27] local.INFO: Packet analysis {"connection_id":46003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b99"} 
[2026-04-17 18:53:27] local.INFO: Extracted packet for processing {"connection_id":46003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b99"} 
[2026-04-17 18:53:27] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":42,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766522368001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776432029000,"timestamp_ms":1776432029000,"timestamp_seconds":1776432029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b999d48"} 
[2026-04-17 18:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 18:53:27] 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-04-17 18:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46003,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766522368001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766522368001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:53:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:53:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766522368001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":46003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:53:27] local.INFO: GPS data processed {"connection_id":46003,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:53:27] local.INFO: Acknowledgment sent {"connection_id":46003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:53:29] local.INFO: TCP Data received {"connection_id":46116,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:53:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:53:29] local.INFO: Processing buffer {"connection_id":46116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:53:29] local.INFO: IMEI packet received {"connection_id":46116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 18:53:29] local.INFO: IMEI acknowledgment sent {"connection_id":46116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:53:50] local.INFO: TCP Data received {"connection_id":46873,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:53:50] local.INFO: Processing buffer {"connection_id":46873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:53:50] local.INFO: IMEI packet received {"connection_id":46873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":46873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:53:55] local.INFO: TCP Data received {"connection_id":46873,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46873,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:53:55] local.INFO: Processing buffer {"connection_id":46873,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:53:55] local.INFO: IMEI packet received {"connection_id":46873,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":46873,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:53:56] local.INFO: TCP Data received {"connection_id":46873,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:53:56] local.INFO: Processing buffer {"connection_id":46873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:53:56] local.INFO: Packet analysis {"connection_id":46873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b99"} 
[2026-04-17 18:53:56] local.INFO: Extracted packet for processing {"connection_id":46873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b99"} 
[2026-04-17 18:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":42,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766522368001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776432029000,"timestamp_ms":1776432029000,"timestamp_seconds":1776432029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b999d48"} 
[2026-04-17 18:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 18:53:56] 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-04-17 18:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766522368001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766522368001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:53:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766522368001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":46873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:53:56] local.INFO: GPS data processed {"connection_id":46873,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:53:56] local.INFO: Acknowledgment sent {"connection_id":46873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:54:04] local.INFO: TCP Data received {"connection_id":46118,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:54:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46118,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:54:04] local.INFO: Processing buffer {"connection_id":46118,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:54:04] local.INFO: IMEI packet received {"connection_id":46118,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 18:54:04] local.INFO: IMEI acknowledgment sent {"connection_id":46118,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:54:27] local.INFO: TCP Data received {"connection_id":46873,"ip":"42.106.6.21","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46873,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:54:27] local.INFO: Processing buffer {"connection_id":46873,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b999d48012d7fb0c005afe650000000342a..."} 
[2026-04-17 18:54:27] local.INFO: Packet analysis {"connection_id":46873,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b99"} 
[2026-04-17 18:54:27] local.INFO: Extracted packet for processing {"connection_id":46873,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b99"} 
[2026-04-17 18:54:27] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":42,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766522368001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776432029000,"timestamp_ms":1776432029000,"timestamp_seconds":1776432029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b999d48"} 
[2026-04-17 18:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 18:54:27] 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-04-17 18:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46873,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46873,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.21","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766522368001,"66":25321,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.21","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766522368001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:54:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:54:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766522368001,"power":25321,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":46873,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:54:27] local.INFO: GPS data processed {"connection_id":46873,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:54:27] local.INFO: Acknowledgment sent {"connection_id":46873,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:54:50] local.INFO: TCP Data received {"connection_id":46119,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:54:50] local.INFO: Processing buffer {"connection_id":46119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:54:50] local.INFO: IMEI packet received {"connection_id":46119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":46119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:54:51] local.INFO: TCP Data received {"connection_id":46119,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:54:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:54:51] local.INFO: Processing buffer {"connection_id":46119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:54:51] local.INFO: IMEI packet received {"connection_id":46119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:54:51] local.INFO: IMEI acknowledgment sent {"connection_id":46119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:54:55] local.INFO: TCP Data received {"connection_id":46119,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46119,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:54:55] local.INFO: Processing buffer {"connection_id":46119,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:54:55] local.INFO: IMEI packet received {"connection_id":46119,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":46119,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:54:56] local.INFO: TCP Data received {"connection_id":46119,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9cfc90012d7fb0c005afe6500000003429..."} 
[2026-04-17 18:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9cfc90012d7fb0c005afe6500000003429..."} 
[2026-04-17 18:54:56] local.INFO: Processing buffer {"connection_id":46119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9cfc90012d7fb0c005afe6500000003429..."} 
[2026-04-17 18:54:56] local.INFO: Packet analysis {"connection_id":46119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9c"} 
[2026-04-17 18:54:56] local.INFO: Extracted packet for processing {"connection_id":46119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9c"} 
[2026-04-17 18:54:56] local.INFO: GPS Element Parsed {"raw_longitude":763343040,"raw_latitude":95413840,"longitude_deg":76.334304,"latitude_deg":9.541384,"altitude":0,"angle":52,"satellites":41,"speed":0,"hex_longitude":"2d7fb0c0","hex_latitude":"05afe650","is_valid_coordinates":true} 
[2026-04-17 18:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766599424001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776432250000,"timestamp_ms":1776432250000,"timestamp_seconds":1776432250,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9cfc90"} 
[2026-04-17 18:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":233,"data_length":795,"current_offset":136} 
[2026-04-17 18:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2785,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:54:56] 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-04-17 18:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766599424001,"66":25288,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766599424001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:54:56] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:54:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766599424001,"power":25288,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":46119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:54:56] local.INFO: GPS data processed {"connection_id":46119,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:54:56] local.INFO: Acknowledgment sent {"connection_id":46119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:55:27] local.INFO: TCP Data received {"connection_id":46119,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9d0848012d7fa8c005afe8780000012527..."} 
[2026-04-17 18:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9d0848012d7fa8c005afe8780000012527..."} 
[2026-04-17 18:55:27] local.INFO: Processing buffer {"connection_id":46119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9d0848012d7fa8c005afe8780000012527..."} 
[2026-04-17 18:55:27] local.INFO: Packet analysis {"connection_id":46119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9d"} 
[2026-04-17 18:55:27] local.INFO: Extracted packet for processing {"connection_id":46119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9d"} 
[2026-04-17 18:55:27] local.INFO: GPS Element Parsed {"raw_longitude":763340992,"raw_latitude":95414392,"longitude_deg":76.3340992,"latitude_deg":9.5414392,"altitude":0,"angle":293,"satellites":39,"speed":0,"hex_longitude":"2d7fa8c0","hex_latitude":"05afe878","is_valid_coordinates":true} 
[2026-04-17 18:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766656000001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201065169376399360,"note":"Value kept but may cause issues"} 
[2026-04-17 18:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776432253000,"timestamp_ms":1776432253000,"timestamp_seconds":1776432253,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9d0848"} 
[2026-04-17 18:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:55:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":200,"data_length":795,"current_offset":136} 
[2026-04-17 18:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2488,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:55:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46119,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766656000001,"66":26767,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9201065169376399360},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766656000001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:55:27] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:55:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201065169376399360,"description":"Unknown IO ID 45"} 
[2026-04-17 18:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766656000001,"power":26767,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9201065169376399360}} 
[2026-04-17 18:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":46119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:55:27] local.INFO: GPS data processed {"connection_id":46119,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:55:27] local.INFO: Acknowledgment sent {"connection_id":46119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:55:50] local.INFO: TCP Data received {"connection_id":46005,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:55:50] local.INFO: Processing buffer {"connection_id":46005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:55:50] local.INFO: IMEI packet received {"connection_id":46005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":46005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:55:54] local.INFO: TCP Data received {"connection_id":46005,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:55:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:55:54] local.INFO: Processing buffer {"connection_id":46005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:55:54] local.INFO: IMEI packet received {"connection_id":46005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:55:54] local.INFO: IMEI acknowledgment sent {"connection_id":46005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:55:55] local.INFO: TCP Data received {"connection_id":46005,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9d5a50012d7fa8c005afe8780000012529..."} 
[2026-04-17 18:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9d5a50012d7fa8c005afe8780000012529..."} 
[2026-04-17 18:55:55] local.INFO: Processing buffer {"connection_id":46005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9d5a50012d7fa8c005afe8780000012529..."} 
[2026-04-17 18:55:55] local.INFO: Packet analysis {"connection_id":46005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9d"} 
[2026-04-17 18:55:55] local.INFO: Extracted packet for processing {"connection_id":46005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9d"} 
[2026-04-17 18:55:55] local.INFO: GPS Element Parsed {"raw_longitude":763340992,"raw_latitude":95414392,"longitude_deg":76.3340992,"latitude_deg":9.5414392,"altitude":0,"angle":293,"satellites":41,"speed":0,"hex_longitude":"2d7fa8c0","hex_latitude":"05afe878","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:55:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766656768001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:55:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:55:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198813369562855424,"note":"Value kept but may cause issues"} 
[2026-04-17 18:55:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,199,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:55:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776432274000,"timestamp_ms":1776432274000,"timestamp_seconds":1776432274,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9d5a50"} 
[2026-04-17 18:55:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:55: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-04-17 18: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":104,"n8_eight_byte":143,"data_length":795,"current_offset":136} 
[2026-04-17 18:55:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2005,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:55:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:55:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:55:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:55:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:55:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:55:55] 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-04-17 18:55:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:55:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:55:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766656768001,"66":27789,"199":206,"85":12544,"24":0,"16":274065672793751552,"45":9198813369562855424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,199,85,24,16,45]} 
[2026-04-17 18:55:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:55:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:55:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766656768001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:55:55] local.INFO: Trip odometer value processed {"io_id":199,"raw_meters":206,"kilometers":0.206} 
[2026-04-17 18:55:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:55:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:55:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198813369562855424,"description":"Unknown IO ID 45"} 
[2026-04-17 18:55:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766656768001,"power":27789,"trip_odometer":0.206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198813369562855424}} 
[2026-04-17 18:55:55] local.INFO: DEBUG: GPS processor result {"connection_id":46005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:55:55] local.INFO: GPS data processed {"connection_id":46005,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:55:55] local.INFO: Acknowledgment sent {"connection_id":46005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:56:27] local.INFO: TCP Data received {"connection_id":46005,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9dac58012d7fa8c005afe878000001252a..."} 
[2026-04-17 18:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9dac58012d7fa8c005afe878000001252a..."} 
[2026-04-17 18:56:27] local.INFO: Processing buffer {"connection_id":46005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9dac58012d7fa8c005afe878000001252a..."} 
[2026-04-17 18:56:27] local.INFO: Packet analysis {"connection_id":46005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9d"} 
[2026-04-17 18:56:27] local.INFO: Extracted packet for processing {"connection_id":46005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9d"} 
[2026-04-17 18:56:27] local.INFO: GPS Element Parsed {"raw_longitude":763340992,"raw_latitude":95414392,"longitude_deg":76.3340992,"latitude_deg":9.5414392,"altitude":0,"angle":293,"satellites":42,"speed":0,"hex_longitude":"2d7fa8c0","hex_latitude":"05afe878","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766662144001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198813369562855424,"note":"Value kept but may cause issues"} 
[2026-04-17 18:56:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776432295000,"timestamp_ms":1776432295000,"timestamp_seconds":1776432295,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9dac58"} 
[2026-04-17 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-04-17 18:56:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":108,"n8_eight_byte":141,"data_length":795,"current_offset":136} 
[2026-04-17 18:56:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2007,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 18:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766662144001,"66":27745,"33":206,"85":12544,"24":0,"16":274065672793751552,"45":9198813369562855424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,85,24,16,45]} 
[2026-04-17 18:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766662144001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:56:27] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-04-17 18:56:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198813369562855424,"description":"Unknown IO ID 45"} 
[2026-04-17 18:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766662144001,"power":27745,"unknown_33":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198813369562855424}} 
[2026-04-17 18:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":46005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:56:27] local.INFO: GPS data processed {"connection_id":46005,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:56:27] local.INFO: Acknowledgment sent {"connection_id":46005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:56:50] local.INFO: TCP Data received {"connection_id":46875,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:56:50] local.INFO: Processing buffer {"connection_id":46875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:56:50] local.INFO: IMEI packet received {"connection_id":46875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":46875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:56:55] local.INFO: TCP Data received {"connection_id":46875,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46875,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:56:55] local.INFO: Processing buffer {"connection_id":46875,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:56:55] local.INFO: IMEI packet received {"connection_id":46875,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":46875,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:56:57] local.INFO: TCP Data received {"connection_id":46875,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9dfe60012d7fa8c005afe8780000012525..."} 
[2026-04-17 18:56:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9dfe60012d7fa8c005afe8780000012525..."} 
[2026-04-17 18:56:57] local.INFO: Processing buffer {"connection_id":46875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9dfe60012d7fa8c005afe8780000012525..."} 
[2026-04-17 18:56:57] local.INFO: Packet analysis {"connection_id":46875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9d"} 
[2026-04-17 18:56:57] local.INFO: Extracted packet for processing {"connection_id":46875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9d"} 
[2026-04-17 18:56:57] local.INFO: GPS Element Parsed {"raw_longitude":763340992,"raw_latitude":95414392,"longitude_deg":76.3340992,"latitude_deg":9.5414392,"altitude":0,"angle":293,"satellites":37,"speed":0,"hex_longitude":"2d7fa8c0","hex_latitude":"05afe878","is_valid_coordinates":true} 
[2026-04-17 18:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:56:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766667520001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:56:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:56:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198813369562855424,"note":"Value kept but may cause issues"} 
[2026-04-17 18:56:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:56:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776432316000,"timestamp_ms":1776432316000,"timestamp_seconds":1776432316,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9dfe60"} 
[2026-04-17 18:56:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:56:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:56:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 18:56:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:56:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:56:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:56:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:56:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:56:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:56:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:56:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:56:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:56:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:56:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766667520001,"66":27876,"250":206,"85":12544,"24":0,"16":274065672793751552,"45":9198813369562855424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 18:56:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:56:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:56:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766667520001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:56:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 18:56:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:56:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:56:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198813369562855424,"description":"Unknown IO ID 45"} 
[2026-04-17 18:56:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766667520001,"power":27876,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198813369562855424}} 
[2026-04-17 18:56:57] local.INFO: DEBUG: GPS processor result {"connection_id":46875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:56:57] local.INFO: GPS data processed {"connection_id":46875,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:56:57] local.INFO: Acknowledgment sent {"connection_id":46875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:57:26] local.INFO: TCP Data received {"connection_id":46350,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46350,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:57:26] local.INFO: Processing buffer {"connection_id":46350,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:57:26] local.INFO: IMEI packet received {"connection_id":46350,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":46350,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:57:27] local.INFO: TCP Data received {"connection_id":46350,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9e0630012d0c0380072a640000bb00a327..."} 
[2026-04-17 18:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9e0630012d0c0380072a640000bb00a327..."} 
[2026-04-17 18:57:27] local.INFO: Processing buffer {"connection_id":46350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9e0630012d0c0380072a640000bb00a327..."} 
[2026-04-17 18:57:27] local.INFO: Packet analysis {"connection_id":46350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:57:27] local.INFO: Extracted packet for processing {"connection_id":46350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:57:27] local.INFO: GPS Element Parsed {"raw_longitude":755762048,"raw_latitude":120218624,"longitude_deg":75.5762048,"latitude_deg":12.0218624,"altitude":187,"angle":163,"satellites":39,"speed":0,"hex_longitude":"2d0c0380","hex_latitude":"072a6400","is_valid_coordinates":true} 
[2026-04-17 18:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766668032001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113447906106671104,"note":"Value kept but may cause issues"} 
[2026-04-17 18:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865676321649590272,"note":"Value kept but may cause issues"} 
[2026-04-17 18:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776432318000,"timestamp_ms":1776432318000,"timestamp_seconds":1776432318,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9e0630"} 
[2026-04-17 18:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 18:57:27] 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-04-17 18:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766668032001,"66":12863,"81":206,"28":26368,"24":0,"16":113447906106671104,"45":865676321649590272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 18:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766668032001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:57:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 18:57:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 18:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113447906106671104,"km_value":113447906106671.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":865676321649590272,"description":"Unknown IO ID 45"} 
[2026-04-17 18:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766668032001,"power":12863,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":865676321649590272}} 
[2026-04-17 18:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":46350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22644,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:57:27] local.INFO: GPS data processed {"connection_id":46350,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:57:27] local.INFO: Acknowledgment sent {"connection_id":46350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:57:28] local.INFO: TCP Data received {"connection_id":46875,"ip":"42.106.6.33","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9e5068012d7fa8c005afe8780000012528..."} 
[2026-04-17 18:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46875,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9e5068012d7fa8c005afe8780000012528..."} 
[2026-04-17 18:57:28] local.INFO: Processing buffer {"connection_id":46875,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9e5068012d7fa8c005afe8780000012528..."} 
[2026-04-17 18:57:28] local.INFO: Packet analysis {"connection_id":46875,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:57:28] local.INFO: Extracted packet for processing {"connection_id":46875,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:57:28] local.INFO: GPS Element Parsed {"raw_longitude":763340992,"raw_latitude":95414392,"longitude_deg":76.3340992,"latitude_deg":9.5414392,"altitude":0,"angle":293,"satellites":40,"speed":0,"hex_longitude":"2d7fa8c0","hex_latitude":"05afe878","is_valid_coordinates":true} 
[2026-04-17 18:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766672896001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065672793751552,"note":"Value kept but may cause issues"} 
[2026-04-17 18:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198813369562855424,"note":"Value kept but may cause issues"} 
[2026-04-17 18:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776432337000,"timestamp_ms":1776432337000,"timestamp_seconds":1776432337,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9e5068"} 
[2026-04-17 18:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:57: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-04-17 18:57:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 18:57: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-04-17 18:57:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46875,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46875,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.33","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766672896001,"66":27767,"250":206,"85":12544,"24":0,"16":274065672793751552,"45":9198813369562855424},"client_ip":"42.106.6.33","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 18:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766672896001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:57:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 18:57:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065672793751552,"km_value":274065672793751.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198813369562855424,"description":"Unknown IO ID 45"} 
[2026-04-17 18:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766672896001,"power":27767,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198813369562855424}} 
[2026-04-17 18:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":46875,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:57:28] local.INFO: GPS data processed {"connection_id":46875,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:57:28] local.INFO: Acknowledgment sent {"connection_id":46875,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:57:50] local.INFO: TCP Data received {"connection_id":46351,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:57:50] local.INFO: Processing buffer {"connection_id":46351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:57:50] local.INFO: IMEI packet received {"connection_id":46351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":46351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:57:55] local.INFO: TCP Data received {"connection_id":46351,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46351,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:57:55] local.INFO: Processing buffer {"connection_id":46351,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:57:55] local.INFO: IMEI packet received {"connection_id":46351,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":46351,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:57:56] local.INFO: TCP Data received {"connection_id":46351,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9e8718012d7faa8005afe560000000292b..."} 
[2026-04-17 18:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9e8718012d7faa8005afe560000000292b..."} 
[2026-04-17 18:57:56] local.INFO: Processing buffer {"connection_id":46351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9e8718012d7faa8005afe560000000292b..."} 
[2026-04-17 18:57:56] local.INFO: Packet analysis {"connection_id":46351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:57:56] local.INFO: Extracted packet for processing {"connection_id":46351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:57:56] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95413600,"longitude_deg":76.334144,"latitude_deg":9.54136,"altitude":0,"angle":41,"satellites":43,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afe560","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766678272001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065715743424512,"note":"Value kept but may cause issues"} 
[2026-04-17 18:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9198813369562855424,"note":"Value kept but may cause issues"} 
[2026-04-17 18:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776432351000,"timestamp_ms":1776432351000,"timestamp_seconds":1776432351,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9e8718"} 
[2026-04-17 18:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":119,"data_length":795,"current_offset":136} 
[2026-04-17 18:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1809,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:57:56] 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-04-17 18:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766678272001,"66":27745,"250":206,"85":12544,"24":0,"16":274065715743424512,"45":9198813369562855424},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 18:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766678272001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:57:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 18:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065715743424512,"km_value":274065715743424.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9198813369562855424,"description":"Unknown IO ID 45"} 
[2026-04-17 18:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766678272001,"power":27745,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9198813369562855424}} 
[2026-04-17 18:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":46351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:57:56] local.INFO: GPS data processed {"connection_id":46351,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:57:56] local.INFO: Acknowledgment sent {"connection_id":46351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:57:59] local.INFO: TCP Data received {"connection_id":46350,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9e5838012d0c0380072a640000bb00a324..."} 
[2026-04-17 18:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46350,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9e5838012d0c0380072a640000bb00a324..."} 
[2026-04-17 18:57:59] local.INFO: Processing buffer {"connection_id":46350,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9e5838012d0c0380072a640000bb00a324..."} 
[2026-04-17 18:57:59] local.INFO: Packet analysis {"connection_id":46350,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:57:59] local.INFO: Extracted packet for processing {"connection_id":46350,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:57:59] local.INFO: GPS Element Parsed {"raw_longitude":755762048,"raw_latitude":120218624,"longitude_deg":75.5762048,"latitude_deg":12.0218624,"altitude":187,"angle":163,"satellites":36,"speed":0,"hex_longitude":"2d0c0380","hex_latitude":"072a6400","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766673408001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113447906106671104,"note":"Value kept but may cause issues"} 
[2026-04-17 18:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865676321649590272,"note":"Value kept but may cause issues"} 
[2026-04-17 18:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776432339000,"timestamp_ms":1776432339000,"timestamp_seconds":1776432339,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9e5838"} 
[2026-04-17 18:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:57:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20480,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-17 18:57:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1015,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46350,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46350,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766673408001,"66":12885,"81":206,"28":26368,"24":0,"16":113447906106671104,"45":865676321649590272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 18:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766673408001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:57:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 18:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 18:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113447906106671104,"km_value":113447906106671.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":865676321649590272,"description":"Unknown IO ID 45"} 
[2026-04-17 18:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766673408001,"power":12885,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":865676321649590272}} 
[2026-04-17 18:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":46350,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22647,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:57:59] local.INFO: GPS data processed {"connection_id":46350,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:57:59] local.INFO: Acknowledgment sent {"connection_id":46350,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:58:21] local.INFO: TCP Data received {"connection_id":46121,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:58:21] local.INFO: Processing buffer {"connection_id":46121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:58:21] local.INFO: IMEI packet received {"connection_id":46121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":46121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:58:23] local.INFO: TCP Data received {"connection_id":46121,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:58:23] local.INFO: Processing buffer {"connection_id":46121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:58:23] local.INFO: IMEI packet received {"connection_id":46121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":46121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:58:26] local.INFO: TCP Data received {"connection_id":46121,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:58:26] local.INFO: Processing buffer {"connection_id":46121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:58:26] local.INFO: IMEI packet received {"connection_id":46121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":46121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:58:27] local.INFO: TCP Data received {"connection_id":46351,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9e9e88012d7faa8005afe4f0000000292d..."} 
[2026-04-17 18:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46351,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9e9e88012d7faa8005afe4f0000000292d..."} 
[2026-04-17 18:58:27] local.INFO: Processing buffer {"connection_id":46351,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9e9e88012d7faa8005afe4f0000000292d..."} 
[2026-04-17 18:58:27] local.INFO: Packet analysis {"connection_id":46351,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:58:27] local.INFO: Extracted packet for processing {"connection_id":46351,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763341440,"raw_latitude":95413488,"longitude_deg":76.334144,"latitude_deg":9.5413488,"altitude":0,"angle":41,"satellites":45,"speed":0,"hex_longitude":"2d7faa80","hex_latitude":"05afe4f0","is_valid_coordinates":true} 
[2026-04-17 18:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766681856001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 18:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950771896320,"note":"Value kept but may cause issues"} 
[2026-04-17 18:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776432357000,"timestamp_ms":1776432357000,"timestamp_seconds":1776432357,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9e9e88"} 
[2026-04-17 18:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 18:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46351,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46351,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766681856001,"66":27713,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9199305950771896320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 18:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766681856001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:58:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 18:58:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950771896320,"description":"Unknown IO ID 45"} 
[2026-04-17 18:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766681856001,"power":27713,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199305950771896320}} 
[2026-04-17 18:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":46351,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:58:27] local.INFO: GPS data processed {"connection_id":46351,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:58:27] local.INFO: Acknowledgment sent {"connection_id":46351,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:58:28] local.INFO: TCP Data received {"connection_id":46121,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9eaa40012d0c0380072a640000bb00a327..."} 
[2026-04-17 18:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9eaa40012d0c0380072a640000bb00a327..."} 
[2026-04-17 18:58:28] local.INFO: Processing buffer {"connection_id":46121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9eaa40012d0c0380072a640000bb00a327..."} 
[2026-04-17 18:58:28] local.INFO: Packet analysis {"connection_id":46121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:58:28] local.INFO: Extracted packet for processing {"connection_id":46121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:58:28] local.INFO: GPS Element Parsed {"raw_longitude":755762048,"raw_latitude":120218624,"longitude_deg":75.5762048,"latitude_deg":12.0218624,"altitude":187,"angle":163,"satellites":39,"speed":0,"hex_longitude":"2d0c0380","hex_latitude":"072a6400","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:58:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766678784001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:58:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113447906106671104,"note":"Value kept but may cause issues"} 
[2026-04-17 18:58:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865676321649590272,"note":"Value kept but may cause issues"} 
[2026-04-17 18:58:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:58:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776432360000,"timestamp_ms":1776432360000,"timestamp_seconds":1776432360,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9eaa40"} 
[2026-04-17 18:58:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:58: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-04-17 18: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 18:58:28] 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-04-17 18: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-04-17 18:58:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:58:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:58:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:58:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:58:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:58:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:58:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:58:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:58:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766678784001,"66":12635,"81":206,"28":26368,"24":0,"16":113447906106671104,"45":865676321649590272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 18:58:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:58:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:58:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766678784001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:58:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 18:58:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 18:58:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113447906106671104,"km_value":113447906106671.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:58:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":865676321649590272,"description":"Unknown IO ID 45"} 
[2026-04-17 18:58:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766678784001,"power":12635,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":865676321649590272}} 
[2026-04-17 18:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":46121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22649,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:58:28] local.INFO: GPS data processed {"connection_id":46121,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:58:28] local.INFO: Acknowledgment sent {"connection_id":46121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:58:31] local.INFO: TCP Data received {"connection_id":46121,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9efc48012d0c0380072a640000bb00a328..."} 
[2026-04-17 18:58:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9efc48012d0c0380072a640000bb00a328..."} 
[2026-04-17 18:58:31] local.INFO: Processing buffer {"connection_id":46121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9efc48012d0c0380072a640000bb00a328..."} 
[2026-04-17 18:58:31] local.INFO: Packet analysis {"connection_id":46121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:58:31] local.INFO: Extracted packet for processing {"connection_id":46121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:58:31] local.INFO: GPS Element Parsed {"raw_longitude":755762048,"raw_latitude":120218624,"longitude_deg":75.5762048,"latitude_deg":12.0218624,"altitude":187,"angle":163,"satellites":40,"speed":0,"hex_longitude":"2d0c0380","hex_latitude":"072a6400","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:58:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766684160001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:58:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113447906106671104,"note":"Value kept but may cause issues"} 
[2026-04-17 18:58:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865676321649590272,"note":"Value kept but may cause issues"} 
[2026-04-17 18:58:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:58:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776432381000,"timestamp_ms":1776432381000,"timestamp_seconds":1776432381,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9efc48"} 
[2026-04-17 18:58:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:58:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18: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":49,"n8_eight_byte":91,"data_length":795,"current_offset":136} 
[2026-04-17 18:58:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1262,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18: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-04-17 18:58:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:58:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:58:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:58:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:58:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:58:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:58:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:58:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:58:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766684160001,"66":12809,"81":206,"28":26368,"24":0,"16":113447906106671104,"45":865676321649590272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 18:58:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:58:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:58:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766684160001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:58:31] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 18:58:31] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 18:58:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113447906106671104,"km_value":113447906106671.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:58:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":865676321649590272,"description":"Unknown IO ID 45"} 
[2026-04-17 18:58:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766684160001,"power":12809,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":865676321649590272}} 
[2026-04-17 18:58:31] local.INFO: DEBUG: GPS processor result {"connection_id":46121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22650,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:58:31] local.INFO: GPS data processed {"connection_id":46121,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:58:31] local.INFO: Acknowledgment sent {"connection_id":46121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:58:55] local.INFO: TCP Data received {"connection_id":46352,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:58:55] local.INFO: Processing buffer {"connection_id":46352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:58:55] local.INFO: IMEI packet received {"connection_id":46352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":46352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:59:00] local.INFO: TCP Data received {"connection_id":46352,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46352,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:59:00] local.INFO: Processing buffer {"connection_id":46352,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:59:00] local.INFO: IMEI packet received {"connection_id":46352,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:59:00] local.INFO: IMEI acknowledgment sent {"connection_id":46352,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:59:00] local.INFO: TCP Data received {"connection_id":46352,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9ea658012d7faa4005afe300000000bc2d..."} 
[2026-04-17 18:59:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9ea658012d7faa4005afe300000000bc2d..."} 
[2026-04-17 18:59:00] local.INFO: Processing buffer {"connection_id":46352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9ea658012d7faa4005afe300000000bc2d..."} 
[2026-04-17 18:59:00] local.INFO: Packet analysis {"connection_id":46352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:59:00] local.INFO: Extracted packet for processing {"connection_id":46352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:59:00] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95412992,"longitude_deg":76.3341376,"latitude_deg":9.5412992,"altitude":0,"angle":188,"satellites":45,"speed":4,"hex_longitude":"2d7faa40","hex_latitude":"05afe300","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:59:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766683392001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199305950771867648,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:59:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776432359000,"timestamp_ms":1776432359000,"timestamp_seconds":1776432359,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9ea658"} 
[2026-04-17 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-04-17 18:59:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":65,"data_length":795,"current_offset":136} 
[2026-04-17 18:59:00] 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-04-17 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-04-17 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-04-17 18:59:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:59:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:59:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:59:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:59: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-04-17 18:59:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:59:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:59:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766683392001,"66":27234,"250":206,"85":12544,"24":4,"16":274065724333359104,"45":9199305950771867648},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 18:59:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:59:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:59:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766683392001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:59:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 18:59:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:59:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:59:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199305950771867648,"description":"Unknown IO ID 45"} 
[2026-04-17 18:59:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766683392001,"power":27234,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9199305950771867648}} 
[2026-04-17 18:59:01] local.INFO: DEBUG: GPS processor result {"connection_id":46352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:59:01] local.INFO: GPS data processed {"connection_id":46352,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:59:01] local.INFO: Acknowledgment sent {"connection_id":46352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:59:03] local.INFO: TCP Data received {"connection_id":46121,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9f4e50012d0c0380072a640000bb00a326..."} 
[2026-04-17 18:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9f4e50012d0c0380072a640000bb00a326..."} 
[2026-04-17 18:59:03] local.INFO: Processing buffer {"connection_id":46121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9f4e50012d0c0380072a640000bb00a326..."} 
[2026-04-17 18:59:03] local.INFO: Packet analysis {"connection_id":46121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9f"} 
[2026-04-17 18:59:03] local.INFO: Extracted packet for processing {"connection_id":46121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9f"} 
[2026-04-17 18:59:03] local.INFO: GPS Element Parsed {"raw_longitude":755762048,"raw_latitude":120218624,"longitude_deg":75.5762048,"latitude_deg":12.0218624,"altitude":187,"angle":163,"satellites":38,"speed":0,"hex_longitude":"2d0c0380","hex_latitude":"072a6400","is_valid_coordinates":true} 
[2026-04-17 18:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:59:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766689536001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113447906106671104,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865676321649590272,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:59:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776432402000,"timestamp_ms":1776432402000,"timestamp_seconds":1776432402,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9f4e50"} 
[2026-04-17 18:59:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:59: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-04-17 18:59:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-17 18:59:03] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2610761752,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:03] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:03] local.WARNING: Large IO value detected {"io_id":155,"raw_value":-7152261560980995200,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:03] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1783693518,"corrected_to":0} 
[2026-04-17 18:59:03] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2147953252,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:03] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-6052612042676711908,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:03] local.WARNING: Large IO value detected {"io_id":7,"raw_value":3054566450401420070,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:03] local.WARNING: Large IO value detected {"io_id":103,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:03] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,81,28,24,241,158,16,12,157,170,45,128,100,187,39,10,66,88,36,6,1,240,63,155,42,4,113,205,98,3,239,50,2,147,7,103,69],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1783693518,"validated":0}]} 
[2026-04-17 18:59:03] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":-4971794596423008256,"timestamp_seconds":-4971794596423008.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 18:59:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:59:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:59:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:59:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:59:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:59:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:59:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:59:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:59:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766689536001,"66":12809,"81":206,"28":26368,"24":0,"16":113447906106671104,"45":865676321649590272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 18:59:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:59:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:59:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766689536001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:59:03] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 18:59:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 18:59:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113447906106671104,"km_value":113447906106671.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:59:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":865676321649590272,"description":"Unknown IO ID 45"} 
[2026-04-17 18:59:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766689536001,"power":12809,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":865676321649590272}} 
[2026-04-17 18:59:03] local.INFO: DEBUG: GPS processor result {"connection_id":46121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22652,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:59:03] local.INFO: GPS data processed {"connection_id":46121,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:59:03] local.INFO: Acknowledgment sent {"connection_id":46121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:59:05] local.INFO: TCP Data received {"connection_id":46352,"ip":"42.106.6.24","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9eaa40012d7faa4005afe270000000a82c..."} 
[2026-04-17 18:59:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46352,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9eaa40012d7faa4005afe270000000a82c..."} 
[2026-04-17 18:59:05] local.INFO: Processing buffer {"connection_id":46352,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9eaa40012d7faa4005afe270000000a82c..."} 
[2026-04-17 18:59:05] local.INFO: Packet analysis {"connection_id":46352,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:59:05] local.INFO: Extracted packet for processing {"connection_id":46352,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:59:05] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95412848,"longitude_deg":76.3341376,"latitude_deg":9.5412848,"altitude":0,"angle":168,"satellites":44,"speed":7,"hex_longitude":"2d7faa40","hex_latitude":"05afe270","is_valid_coordinates":true} 
[2026-04-17 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-04-17 18:59:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766683904001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027563008,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:59:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776432360000,"timestamp_ms":1776432360000,"timestamp_seconds":1776432360,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9eaa40"} 
[2026-04-17 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-04-17 18:59:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 18:59: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-04-17 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-04-17 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-04-17 18:59:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:59:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46352,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:59:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:59:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46352,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:59:05] 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-04-17 18:59:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:59:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:59:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766683904001,"66":27234,"250":206,"85":12544,"24":7,"16":274065724333359104,"45":9199235582027563008},"client_ip":"42.106.6.24","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 18:59:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:59:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:59:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766683904001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:59:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 18:59:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:59:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:59:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027563008,"description":"Unknown IO ID 45"} 
[2026-04-17 18:59:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766683904001,"power":27234,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9199235582027563008}} 
[2026-04-17 18:59:05] local.INFO: DEBUG: GPS processor result {"connection_id":46352,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:59:05] local.INFO: GPS data processed {"connection_id":46352,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:59:05] local.INFO: Acknowledgment sent {"connection_id":46352,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:59:21] local.INFO: TCP Data received {"connection_id":46010,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:59:21] local.INFO: Processing buffer {"connection_id":46010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:59:21] local.INFO: IMEI packet received {"connection_id":46010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 18:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":46010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:59:26] local.INFO: TCP Data received {"connection_id":46010,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46010,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:59:26] local.INFO: Processing buffer {"connection_id":46010,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 18:59:26] local.INFO: IMEI packet received {"connection_id":46010,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 18:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":46010,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:59:27] local.INFO: TCP Data received {"connection_id":46010,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9fa058012d0c0380072a640000bb00a323..."} 
[2026-04-17 18:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9fa058012d0c0380072a640000bb00a323..."} 
[2026-04-17 18:59:27] local.INFO: Processing buffer {"connection_id":46010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9fa058012d0c0380072a640000bb00a323..."} 
[2026-04-17 18:59:27] local.INFO: Packet analysis {"connection_id":46010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9f"} 
[2026-04-17 18:59:27] local.INFO: Extracted packet for processing {"connection_id":46010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9f"} 
[2026-04-17 18:59:27] local.INFO: GPS Element Parsed {"raw_longitude":755762048,"raw_latitude":120218624,"longitude_deg":75.5762048,"latitude_deg":12.0218624,"altitude":187,"angle":163,"satellites":35,"speed":0,"hex_longitude":"2d0c0380","hex_latitude":"072a6400","is_valid_coordinates":true} 
[2026-04-17 18: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-04-17 18:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766694912001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113447906106671104,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865676321649590272,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776432423000,"timestamp_ms":1776432423000,"timestamp_seconds":1776432423,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9fa058"} 
[2026-04-17 18:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-17 18:59:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2610782752,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:27] local.WARNING: Large IO value detected {"io_id":155,"raw_value":-7129171816797699200,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1783693518,"corrected_to":0} 
[2026-04-17 18:59:27] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2147953252,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:27] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-8430512645928333796,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:27] local.WARNING: Large IO value detected {"io_id":7,"raw_value":3054566450401420070,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:27] local.WARNING: Large IO value detected {"io_id":103,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:27] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,81,28,24,241,158,16,12,157,252,45,128,100,187,40,10,66,170,39,88,1,240,85,155,42,4,113,205,180,3,239,50,2,147,7,103,69],"length":535,"final_offset":665,"validated_count":37,"validation_warnings":[{"io_id":205,"original":1783693518,"validated":0}]} 
[2026-04-17 18:59:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":-4971794605012942848,"timestamp_seconds":-4971794605012943.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 18:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766694912001,"66":12809,"81":206,"28":26368,"24":0,"16":113447906106671104,"45":865676321649590272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 18:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766694912001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:59:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 18:59:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 18:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113447906106671104,"km_value":113447906106671.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":865676321649590272,"description":"Unknown IO ID 45"} 
[2026-04-17 18:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766694912001,"power":12809,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":865676321649590272}} 
[2026-04-17 18:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":46010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22654,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:59:28] local.INFO: GPS data processed {"connection_id":46010,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:59:28] local.INFO: Acknowledgment sent {"connection_id":46010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:59:29] local.INFO: TCP Data received {"connection_id":46009,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:59:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:59:29] local.INFO: Processing buffer {"connection_id":46009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 18:59:29] local.INFO: IMEI packet received {"connection_id":46009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 18:59:29] local.INFO: IMEI acknowledgment sent {"connection_id":46009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:59:50] local.INFO: TCP Data received {"connection_id":46353,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:59:50] local.INFO: Processing buffer {"connection_id":46353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:59:50] local.INFO: IMEI packet received {"connection_id":46353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 18:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":46353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 18:59:55] local.INFO: TCP Data received {"connection_id":46353,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46353,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:59:55] local.INFO: Processing buffer {"connection_id":46353,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 18:59:55] local.INFO: IMEI packet received {"connection_id":46353,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 18:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":46353,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 18:59:56] local.INFO: TCP Data received {"connection_id":46353,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9eaa40012d7faa4005afe270000000a82c..."} 
[2026-04-17 18:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9eaa40012d7faa4005afe270000000a82c..."} 
[2026-04-17 18:59:56] local.INFO: Processing buffer {"connection_id":46353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9eaa40012d7faa4005afe270000000a82c..."} 
[2026-04-17 18:59:56] local.INFO: Packet analysis {"connection_id":46353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:59:56] local.INFO: Extracted packet for processing {"connection_id":46353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 18:59:56] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95412848,"longitude_deg":76.3341376,"latitude_deg":9.5412848,"altitude":0,"angle":168,"satellites":44,"speed":7,"hex_longitude":"2d7faa40","hex_latitude":"05afe270","is_valid_coordinates":true} 
[2026-04-17 18:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766683904001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027563008,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776432360000,"timestamp_ms":1776432360000,"timestamp_seconds":1776432360,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9eaa40"} 
[2026-04-17 18:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 18:59:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 18:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 18:59:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 18:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 18:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 18:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 18:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766683904001,"66":27234,"250":206,"85":12544,"24":7,"16":274065724333359104,"45":9199235582027563008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 18:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 18:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 18:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766683904001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:59:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 18:59:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 18:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027563008,"description":"Unknown IO ID 45"} 
[2026-04-17 18:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766683904001,"power":27234,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9199235582027563008}} 
[2026-04-17 18:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":46353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 18:59:56] local.INFO: GPS data processed {"connection_id":46353,"processed":1,"errors":0,"total":1} 
[2026-04-17 18:59:56] local.INFO: Acknowledgment sent {"connection_id":46353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 18:59:59] local.INFO: TCP Data received {"connection_id":46010,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9ff260012d0c0380072a640000bb00a31f..."} 
[2026-04-17 18:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46010,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9ff260012d0c0380072a640000bb00a31f..."} 
[2026-04-17 18:59:59] local.INFO: Processing buffer {"connection_id":46010,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9ff260012d0c0380072a640000bb00a31f..."} 
[2026-04-17 18:59:59] local.INFO: Packet analysis {"connection_id":46010,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9f"} 
[2026-04-17 18:59:59] local.INFO: Extracted packet for processing {"connection_id":46010,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9f"} 
[2026-04-17 18:59:59] local.INFO: GPS Element Parsed {"raw_longitude":755762048,"raw_latitude":120218624,"longitude_deg":75.5762048,"latitude_deg":12.0218624,"altitude":187,"angle":163,"satellites":31,"speed":0,"hex_longitude":"2d0c0380","hex_latitude":"072a6400","is_valid_coordinates":true} 
[2026-04-17 18:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 18:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766700288001,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113447906106671104,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865676321649590272,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 18:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776432444000,"timestamp_ms":1776432444000,"timestamp_seconds":1776432444,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9ff260"} 
[2026-04-17 18:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 18:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 18:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-17 18:59:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2610803752,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:59] local.WARNING: Large IO value detected {"io_id":155,"raw_value":-7106082072614403200,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1783693518,"corrected_to":0} 
[2026-04-17 18:59:59] local.WARNING: Large IO value detected {"io_id":3,"raw_value":2147953252,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:59] local.WARNING: Large IO value detected {"io_id":50,"raw_value":2954587212064280092,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:59] local.WARNING: Large IO value detected {"io_id":7,"raw_value":3054566450401420071,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:59] local.WARNING: Large IO value detected {"io_id":103,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-17 18:59:59] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,81,28,24,241,158,16,12,157,78,45,128,100,187,38,10,66,252,40,170,1,240,91,155,42,4,113,205,6,3,39,239,50,2,147,7,103,69],"length":535,"final_offset":665,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1783693518,"validated":0}]} 
[2026-04-17 18:59:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":-4971794617897844736,"timestamp_seconds":-4971794617897845.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 18:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 18:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 18:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46010,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 18:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46010,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 18:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 18:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 18:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 18:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766700288001,"66":12798,"81":206,"28":26368,"24":0,"16":113447906106671104,"45":865676321649590272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 18:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 18:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 18:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766700288001,"description":"Unknown IO ID 0"} 
[2026-04-17 18:59:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 18:59:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 18:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113447906106671104,"km_value":113447906106671.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 18:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":865676321649590272,"description":"Unknown IO ID 45"} 
[2026-04-17 18:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766700288001,"power":12798,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":865676321649590272}} 
[2026-04-17 19:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":46010,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22656,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:00:00] local.INFO: GPS data processed {"connection_id":46010,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:00:00] local.INFO: Acknowledgment sent {"connection_id":46010,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:00:04] local.INFO: TCP Data received {"connection_id":46011,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46011,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:00:04] local.INFO: Processing buffer {"connection_id":46011,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:00:04] local.INFO: IMEI packet received {"connection_id":46011,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:00:04] local.INFO: IMEI acknowledgment sent {"connection_id":46011,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:00:21] local.INFO: TCP Data received {"connection_id":46012,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:00:21] local.INFO: Processing buffer {"connection_id":46012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:00:21] local.INFO: IMEI packet received {"connection_id":46012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":46012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:00:26] local.INFO: TCP Data received {"connection_id":46012,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46012,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:00:26] local.INFO: Processing buffer {"connection_id":46012,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:00:26] local.INFO: IMEI packet received {"connection_id":46012,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":46012,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:00:27] local.INFO: TCP Data received {"connection_id":46353,"ip":"42.106.6.25","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9eaa40012d7faa4005afe270000000a82c..."} 
[2026-04-17 19:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46353,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9eaa40012d7faa4005afe270000000a82c..."} 
[2026-04-17 19:00:27] local.INFO: Processing buffer {"connection_id":46353,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9eaa40012d7faa4005afe270000000a82c..."} 
[2026-04-17 19:00:27] local.INFO: Packet analysis {"connection_id":46353,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 19:00:27] local.INFO: Extracted packet for processing {"connection_id":46353,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 19:00:27] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95412848,"longitude_deg":76.3341376,"latitude_deg":9.5412848,"altitude":0,"angle":168,"satellites":44,"speed":7,"hex_longitude":"2d7faa40","hex_latitude":"05afe270","is_valid_coordinates":true} 
[2026-04-17 19:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766683904001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027563008,"note":"Value kept but may cause issues"} 
[2026-04-17 19:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776432360000,"timestamp_ms":1776432360000,"timestamp_seconds":1776432360,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9eaa40"} 
[2026-04-17 19:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 19:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46353,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46353,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.25","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766683904001,"66":27234,"250":206,"85":12544,"24":7,"16":274065724333359104,"45":9199235582027563008},"client_ip":"42.106.6.25","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766683904001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:00:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:00:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027563008,"description":"Unknown IO ID 45"} 
[2026-04-17 19:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766683904001,"power":27234,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9199235582027563008}} 
[2026-04-17 19:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":46353,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:00:27] local.INFO: GPS data processed {"connection_id":46353,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:00:27] local.INFO: Acknowledgment sent {"connection_id":46353,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:00:28] local.INFO: TCP Data received {"connection_id":46012,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba04468012d0c0380072a640000bb00a328..."} 
[2026-04-17 19:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba04468012d0c0380072a640000bb00a328..."} 
[2026-04-17 19:00:28] local.INFO: Processing buffer {"connection_id":46012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba04468012d0c0380072a640000bb00a328..."} 
[2026-04-17 19:00:28] local.INFO: Packet analysis {"connection_id":46012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba0"} 
[2026-04-17 19:00:28] local.INFO: Extracted packet for processing {"connection_id":46012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba0"} 
[2026-04-17 19:00:28] local.INFO: GPS Element Parsed {"raw_longitude":755762048,"raw_latitude":120218624,"longitude_deg":75.5762048,"latitude_deg":12.0218624,"altitude":187,"angle":163,"satellites":40,"speed":0,"hex_longitude":"2d0c0380","hex_latitude":"072a6400","is_valid_coordinates":true} 
[2026-04-17 19:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766705664001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113447906106671104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865676321649590272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:00:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776432465000,"timestamp_ms":1776432465000,"timestamp_seconds":1776432465,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba04468"} 
[2026-04-17 19:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:00: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-04-17 19:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-17 19:00:28] 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-04-17 19:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766705664001,"66":12765,"81":206,"28":26368,"24":0,"16":113447906106671104,"45":865676321649590272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766705664001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:00:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:00:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113447906106671104,"km_value":113447906106671.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":865676321649590272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766705664001,"power":12765,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":865676321649590272}} 
[2026-04-17 19:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":46012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22658,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:00:28] local.INFO: GPS data processed {"connection_id":46012,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:00:28] local.INFO: Acknowledgment sent {"connection_id":46012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:00:50] local.INFO: TCP Data received {"connection_id":46876,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:00:50] local.INFO: Processing buffer {"connection_id":46876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:00:50] local.INFO: IMEI packet received {"connection_id":46876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":46876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:00:55] local.INFO: TCP Data received {"connection_id":46876,"ip":"42.106.6.26","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46876,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:00:55] local.INFO: Processing buffer {"connection_id":46876,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:00:55] local.INFO: IMEI packet received {"connection_id":46876,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":46876,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:00:56] local.INFO: TCP Data received {"connection_id":46876,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9eaa40012d7faa4005afe270000000a82c..."} 
[2026-04-17 19:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9eaa40012d7faa4005afe270000000a82c..."} 
[2026-04-17 19:00:56] local.INFO: Processing buffer {"connection_id":46876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9eaa40012d7faa4005afe270000000a82c..."} 
[2026-04-17 19:00:56] local.INFO: Packet analysis {"connection_id":46876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 19:00:56] local.INFO: Extracted packet for processing {"connection_id":46876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 19:00:56] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95412848,"longitude_deg":76.3341376,"latitude_deg":9.5412848,"altitude":0,"angle":168,"satellites":44,"speed":7,"hex_longitude":"2d7faa40","hex_latitude":"05afe270","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766683904001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027563008,"note":"Value kept but may cause issues"} 
[2026-04-17 19:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776432360000,"timestamp_ms":1776432360000,"timestamp_seconds":1776432360,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9eaa40"} 
[2026-04-17 19:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 19:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766683904001,"66":27234,"250":206,"85":12544,"24":7,"16":274065724333359104,"45":9199235582027563008},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766683904001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:00:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:00:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027563008,"description":"Unknown IO ID 45"} 
[2026-04-17 19:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766683904001,"power":27234,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9199235582027563008}} 
[2026-04-17 19:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":46876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:00:56] local.INFO: GPS data processed {"connection_id":46876,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:00:56] local.INFO: Acknowledgment sent {"connection_id":46876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:00:59] local.INFO: TCP Data received {"connection_id":46012,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba09670012d0c0380072a640000bb00a324..."} 
[2026-04-17 19:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba09670012d0c0380072a640000bb00a324..."} 
[2026-04-17 19:00:59] local.INFO: Processing buffer {"connection_id":46012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba09670012d0c0380072a640000bb00a324..."} 
[2026-04-17 19:00:59] local.INFO: Packet analysis {"connection_id":46012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba0"} 
[2026-04-17 19:00:59] local.INFO: Extracted packet for processing {"connection_id":46012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba0"} 
[2026-04-17 19:00:59] local.INFO: GPS Element Parsed {"raw_longitude":755762048,"raw_latitude":120218624,"longitude_deg":75.5762048,"latitude_deg":12.0218624,"altitude":187,"angle":163,"satellites":36,"speed":0,"hex_longitude":"2d0c0380","hex_latitude":"072a6400","is_valid_coordinates":true} 
[2026-04-17 19:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766711040001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113447906106671104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":865676321649590272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776432486000,"timestamp_ms":1776432486000,"timestamp_seconds":1776432486,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba09670"} 
[2026-04-17 19:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-17 19:00: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-04-17 19:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46012,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766711040001,"66":12776,"81":206,"28":26368,"24":0,"16":113447906106671104,"45":865676321649590272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766711040001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:00:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:00:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113447906106671104,"km_value":113447906106671.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":865676321649590272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766711040001,"power":12776,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":865676321649590272}} 
[2026-04-17 19:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":46012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22660,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:01:00] local.INFO: GPS data processed {"connection_id":46012,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:01:00] local.INFO: Acknowledgment sent {"connection_id":46012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:01:22] local.INFO: TCP Data received {"connection_id":46014,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:01:22] local.INFO: Processing buffer {"connection_id":46014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:01:22] local.INFO: IMEI packet received {"connection_id":46014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":46014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:01:25] local.INFO: TCP Data received {"connection_id":46014,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:01:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:01:25] local.INFO: Processing buffer {"connection_id":46014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:01:25] local.INFO: IMEI packet received {"connection_id":46014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:01:25] local.INFO: IMEI acknowledgment sent {"connection_id":46014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:01:26] local.INFO: TCP Data received {"connection_id":46014,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:01:26] local.INFO: Processing buffer {"connection_id":46014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:01:26] local.INFO: IMEI packet received {"connection_id":46014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":46014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:01:28] local.INFO: TCP Data received {"connection_id":46876,"ip":"42.106.6.26","data_length":795,"data_hex":"000000000000030f8e0a0000019d9b9eaa40012d7faa4005afe270000000a82c..."} 
[2026-04-17 19:01:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46876,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9b9eaa40012d7faa4005afe270000000a82c..."} 
[2026-04-17 19:01:28] local.INFO: Processing buffer {"connection_id":46876,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9b9eaa40012d7faa4005afe270000000a82c..."} 
[2026-04-17 19:01:28] local.INFO: Packet analysis {"connection_id":46876,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 19:01:28] local.INFO: Extracted packet for processing {"connection_id":46876,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9b9e"} 
[2026-04-17 19:01:28] local.INFO: GPS Element Parsed {"raw_longitude":763341376,"raw_latitude":95412848,"longitude_deg":76.3341376,"latitude_deg":9.5412848,"altitude":0,"angle":168,"satellites":44,"speed":7,"hex_longitude":"2d7faa40","hex_latitude":"05afe270","is_valid_coordinates":true} 
[2026-04-17 19:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:01:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766683904001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:01:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:01:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027563008,"note":"Value kept but may cause issues"} 
[2026-04-17 19:01:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:01:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776432360000,"timestamp_ms":1776432360000,"timestamp_seconds":1776432360,"priority":1,"record_length":96,"hex_timestamp":"0000019d9b9eaa40"} 
[2026-04-17 19:01:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:01:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:01:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 19:01:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:01:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:01:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:01:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:01:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46876,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:01:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:01:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46876,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:01:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.26","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:01:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:01:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:01:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766683904001,"66":27234,"250":206,"85":12544,"24":7,"16":274065724333359104,"45":9199235582027563008},"client_ip":"42.106.6.26","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:01:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:01:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:01:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766683904001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:01:28] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:01:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:01:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:01:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027563008,"description":"Unknown IO ID 45"} 
[2026-04-17 19:01:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766683904001,"power":27234,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9199235582027563008}} 
[2026-04-17 19:01:28] local.INFO: DEBUG: GPS processor result {"connection_id":46876,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:01:28] local.INFO: GPS data processed {"connection_id":46876,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:01:28] local.INFO: Acknowledgment sent {"connection_id":46876,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:01:31] local.INFO: TCP Data received {"connection_id":46014,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46014,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:01:31] local.INFO: Processing buffer {"connection_id":46014,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:01:31] local.INFO: IMEI packet received {"connection_id":46014,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":46014,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:01:32] local.INFO: TCP Data received {"connection_id":46014,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba2a5c8012d0c0dc0072a488000b600a42b..."} 
[2026-04-17 19:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba2a5c8012d0c0dc0072a488000b600a42b..."} 
[2026-04-17 19:01:32] local.INFO: Processing buffer {"connection_id":46014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba2a5c8012d0c0dc0072a488000b600a42b..."} 
[2026-04-17 19:01:32] local.INFO: Packet analysis {"connection_id":46014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba2"} 
[2026-04-17 19:01:32] local.INFO: Extracted packet for processing {"connection_id":46014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba2"} 
[2026-04-17 19:01:32] local.INFO: GPS Element Parsed {"raw_longitude":755764672,"raw_latitude":120211584,"longitude_deg":75.5764672,"latitude_deg":12.0211584,"altitude":182,"angle":164,"satellites":43,"speed":22,"hex_longitude":"2d0c0dc0","hex_latitude":"072a4880","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766749440001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113448279768825856,"note":"Value kept but may cause issues"} 
[2026-04-17 19:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":867576277741283328,"note":"Value kept but may cause issues"} 
[2026-04-17 19:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776432621000,"timestamp_ms":1776432621000,"timestamp_seconds":1776432621,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba2a5c8"} 
[2026-04-17 19:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":52,"n8_eight_byte":203,"data_length":795,"current_offset":136} 
[2026-04-17 19:01:32] 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-04-17 19: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-04-17 19:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766749440001,"66":12461,"81":206,"28":26368,"24":22,"16":113448279768825856,"45":867576277741283328},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766749440001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:01:32] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:01:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113448279768825856,"km_value":113448279768825.86,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":867576277741283328,"description":"Unknown IO ID 45"} 
[2026-04-17 19:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766749440001,"power":12461,"unknown_81":206,"unknown_28":26368,"ignition":22,"odometer":null,"unknown_45":867576277741283328}} 
[2026-04-17 19:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":46014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22662,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:01:32] local.INFO: GPS data processed {"connection_id":46014,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:01:32] local.INFO: Acknowledgment sent {"connection_id":46014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:01:37] local.INFO: TCP Data received {"connection_id":46014,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba2c508012d0c1280072a37e800b2009928..."} 
[2026-04-17 19:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba2c508012d0c1280072a37e800b2009928..."} 
[2026-04-17 19:01:37] local.INFO: Processing buffer {"connection_id":46014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba2c508012d0c1280072a37e800b2009928..."} 
[2026-04-17 19:01:37] local.INFO: Packet analysis {"connection_id":46014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba2"} 
[2026-04-17 19:01:37] local.INFO: Extracted packet for processing {"connection_id":46014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba2"} 
[2026-04-17 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":755765888,"raw_latitude":120207336,"longitude_deg":75.5765888,"latitude_deg":12.0207336,"altitude":178,"angle":153,"satellites":40,"speed":10,"hex_longitude":"2d0c1280","hex_latitude":"072a37e8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766750976001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113448494517190656,"note":"Value kept but may cause issues"} 
[2026-04-17 19:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":868561440159072256,"note":"Value kept but may cause issues"} 
[2026-04-17 19:01:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776432629000,"timestamp_ms":1776432629000,"timestamp_seconds":1776432629,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba2c508"} 
[2026-04-17 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-04-17 19:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 19:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 19:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46014,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766750976001,"66":13004,"81":206,"28":26368,"24":10,"16":113448494517190656,"45":868561440159072256},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766750976001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:01:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113448494517190656,"km_value":113448494517190.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":868561440159072256,"description":"Unknown IO ID 45"} 
[2026-04-17 19:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766750976001,"power":13004,"unknown_81":206,"unknown_28":26368,"ignition":10,"odometer":null,"unknown_45":868561440159072256}} 
[2026-04-17 19:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":46014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22663,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:01:37] local.INFO: GPS data processed {"connection_id":46014,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:01:37] local.INFO: Acknowledgment sent {"connection_id":46014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:01:50] local.INFO: TCP Data received {"connection_id":46877,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:01:50] local.INFO: Processing buffer {"connection_id":46877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:01:50] local.INFO: IMEI packet received {"connection_id":46877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":46877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:01:55] local.INFO: TCP Data received {"connection_id":46877,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46877,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:01:55] local.INFO: Processing buffer {"connection_id":46877,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:01:55] local.INFO: IMEI packet received {"connection_id":46877,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":46877,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:01:56] local.INFO: TCP Data received {"connection_id":46877,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:01:56] local.INFO: Processing buffer {"connection_id":46877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:01:56] local.INFO: Packet analysis {"connection_id":46877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:01:56] local.INFO: Extracted packet for processing {"connection_id":46877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766684160001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027526144,"note":"Value kept but may cause issues"} 
[2026-04-17 19:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776432663000,"timestamp_ms":1776432663000,"timestamp_seconds":1776432663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba349d8"} 
[2026-04-17 19:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 19:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766684160001,"66":25995,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9199235582027526144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766684160001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:01:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027526144,"description":"Unknown IO ID 45"} 
[2026-04-17 19:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766684160001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027526144}} 
[2026-04-17 19:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":46877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:01:56] local.INFO: GPS data processed {"connection_id":46877,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:01:56] local.INFO: Acknowledgment sent {"connection_id":46877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:02:19] local.INFO: TCP Data received {"connection_id":46015,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:02:19] local.INFO: Processing buffer {"connection_id":46015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:02:19] local.INFO: IMEI packet received {"connection_id":46015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":46015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:02:21] local.INFO: TCP Data received {"connection_id":46015,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:02:21] local.INFO: Processing buffer {"connection_id":46015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:02:21] local.INFO: IMEI packet received {"connection_id":46015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":46015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:02:22] local.INFO: TCP Data received {"connection_id":46015,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:02:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:02:22] local.INFO: Processing buffer {"connection_id":46015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:02:22] local.INFO: IMEI packet received {"connection_id":46015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:02:22] local.INFO: IMEI acknowledgment sent {"connection_id":46015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:02:26] local.INFO: TCP Data received {"connection_id":46015,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46015,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:02:26] local.INFO: Processing buffer {"connection_id":46015,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:02:26] local.INFO: IMEI packet received {"connection_id":46015,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":46015,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:02:27] local.INFO: TCP Data received {"connection_id":46877,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46877,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:02:27] local.INFO: Processing buffer {"connection_id":46877,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:02:27] local.INFO: Packet analysis {"connection_id":46877,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:02:27] local.INFO: Extracted packet for processing {"connection_id":46877,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766684160001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027526144,"note":"Value kept but may cause issues"} 
[2026-04-17 19:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776432663000,"timestamp_ms":1776432663000,"timestamp_seconds":1776432663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba349d8"} 
[2026-04-17 19:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:02:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 19:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:02:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46877,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46877,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766684160001,"66":25995,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9199235582027526144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766684160001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:02:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027526144,"description":"Unknown IO ID 45"} 
[2026-04-17 19:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766684160001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027526144}} 
[2026-04-17 19:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":46877,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:02:27] local.INFO: GPS data processed {"connection_id":46877,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:02:27] local.INFO: Acknowledgment sent {"connection_id":46877,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:02:28] local.INFO: TCP Data received {"connection_id":46015,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba378b8012d0c2740072a1c3000bb00cc26..."} 
[2026-04-17 19:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba378b8012d0c2740072a1c3000bb00cc26..."} 
[2026-04-17 19:02:28] local.INFO: Processing buffer {"connection_id":46015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba378b8012d0c2740072a1c3000bb00cc26..."} 
[2026-04-17 19:02:28] local.INFO: Packet analysis {"connection_id":46015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:02:28] local.INFO: Extracted packet for processing {"connection_id":46015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:02:28] local.INFO: GPS Element Parsed {"raw_longitude":755771200,"raw_latitude":120200240,"longitude_deg":75.57712,"latitude_deg":12.020024,"altitude":187,"angle":204,"satellites":38,"speed":12,"hex_longitude":"2d0c2740","hex_latitude":"072a1c30","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766764544001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449198891827200,"note":"Value kept but may cause issues"} 
[2026-04-17 19:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875879789550712832,"note":"Value kept but may cause issues"} 
[2026-04-17 19:02:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776432675000,"timestamp_ms":1776432675000,"timestamp_seconds":1776432675,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba378b8"} 
[2026-04-17 19:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:02: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-04-17 19: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":35,"data_length":795,"current_offset":136} 
[2026-04-17 19:02: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-04-17 19: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-04-17 19:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766764544001,"66":13091,"81":206,"28":26368,"24":12,"16":113449198891827200,"45":875879789550712832},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766764544001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:02:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:02:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449198891827200,"km_value":113449198891827.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":875879789550712832,"description":"Unknown IO ID 45"} 
[2026-04-17 19:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766764544001,"power":13091,"unknown_81":206,"unknown_28":26368,"ignition":12,"odometer":null,"unknown_45":875879789550712832}} 
[2026-04-17 19:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":46015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22666,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:02:28] local.INFO: GPS data processed {"connection_id":46015,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:02:28] local.INFO: Acknowledgment sent {"connection_id":46015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:02:55] local.INFO: TCP Data received {"connection_id":46878,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:02:55] local.INFO: Processing buffer {"connection_id":46878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:02:55] local.INFO: IMEI packet received {"connection_id":46878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":46878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:03:00] local.INFO: TCP Data received {"connection_id":46015,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba42498012d0c26c0072a155800b6001f27..."} 
[2026-04-17 19:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46015,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba42498012d0c26c0072a155800b6001f27..."} 
[2026-04-17 19:03:00] local.INFO: Processing buffer {"connection_id":46015,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba42498012d0c26c0072a155800b6001f27..."} 
[2026-04-17 19:03:00] local.INFO: Packet analysis {"connection_id":46015,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba4"} 
[2026-04-17 19:03:00] local.INFO: Extracted packet for processing {"connection_id":46015,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba4"} 
[2026-04-17 19:03:00] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198488,"longitude_deg":75.5771072,"latitude_deg":12.0198488,"altitude":182,"angle":31,"satellites":39,"speed":5,"hex_longitude":"2d0c26c0","hex_latitude":"072a1558","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766775808001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449357805617152,"note":"Value kept but may cause issues"} 
[2026-04-17 19:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875527945829285888,"note":"Value kept but may cause issues"} 
[2026-04-17 19:03:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776432719000,"timestamp_ms":1776432719000,"timestamp_seconds":1776432719,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba42498"} 
[2026-04-17 19:03:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:03:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-17 19:03:00] 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-04-17 19: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-04-17 19:03:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46015,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46015,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766775808001,"66":13450,"81":206,"28":26368,"24":5,"16":113449357805617152,"45":875527945829285888},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766775808001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:03:00] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:03:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449357805617152,"km_value":113449357805617.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":875527945829285888,"description":"Unknown IO ID 45"} 
[2026-04-17 19:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766775808001,"power":13450,"unknown_81":206,"unknown_28":26368,"ignition":5,"odometer":null,"unknown_45":875527945829285888}} 
[2026-04-17 19:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":46015,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22667,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:03:00] local.INFO: GPS data processed {"connection_id":46015,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:03:00] local.INFO: Acknowledgment sent {"connection_id":46015,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:03:00] local.INFO: TCP Data received {"connection_id":46878,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46878,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:03:00] local.INFO: Processing buffer {"connection_id":46878,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:03:00] local.INFO: IMEI packet received {"connection_id":46878,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:03:00] local.INFO: IMEI acknowledgment sent {"connection_id":46878,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:03:01] local.INFO: TCP Data received {"connection_id":46878,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:03:01] local.INFO: Processing buffer {"connection_id":46878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:03:01] local.INFO: Packet analysis {"connection_id":46878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:03:01] local.INFO: Extracted packet for processing {"connection_id":46878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:03:01] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766684160001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027526144,"note":"Value kept but may cause issues"} 
[2026-04-17 19:03:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776432663000,"timestamp_ms":1776432663000,"timestamp_seconds":1776432663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba349d8"} 
[2026-04-17 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-04-17 19:03:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 19:03:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 19:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:03: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-04-17 19:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766684160001,"66":25995,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9199235582027526144},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766684160001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:03:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:03:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027526144,"description":"Unknown IO ID 45"} 
[2026-04-17 19:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766684160001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027526144}} 
[2026-04-17 19:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":46878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:03:01] local.INFO: GPS data processed {"connection_id":46878,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:03:01] local.INFO: Acknowledgment sent {"connection_id":46878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:03:06] local.INFO: TCP Data received {"connection_id":46878,"ip":"42.106.6.45","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:03:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46878,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:03:06] local.INFO: Processing buffer {"connection_id":46878,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:03:06] local.INFO: Packet analysis {"connection_id":46878,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:03:06] local.INFO: Extracted packet for processing {"connection_id":46878,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:03:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766684160001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:03:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:03:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027526144,"note":"Value kept but may cause issues"} 
[2026-04-17 19:03:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:03:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776432663000,"timestamp_ms":1776432663000,"timestamp_seconds":1776432663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba349d8"} 
[2026-04-17 19:03:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:03:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 19:03: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-04-17 19:03:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:03:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:03:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:03:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46878,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:03:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:03:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46878,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:03:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.45","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:03:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:03:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:03:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766684160001,"66":25995,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9199235582027526144},"client_ip":"42.106.6.45","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:03:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:03:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:03:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766684160001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:03:06] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:03:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:03:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:03:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027526144,"description":"Unknown IO ID 45"} 
[2026-04-17 19:03:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766684160001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027526144}} 
[2026-04-17 19:03:06] local.INFO: DEBUG: GPS processor result {"connection_id":46878,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:03:06] local.INFO: GPS data processed {"connection_id":46878,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:03:06] local.INFO: Acknowledgment sent {"connection_id":46878,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:03:21] local.INFO: TCP Data received {"connection_id":46016,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:03:21] local.INFO: Processing buffer {"connection_id":46016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:03:21] local.INFO: IMEI packet received {"connection_id":46016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":46016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:03:23] local.INFO: TCP Data received {"connection_id":46016,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:03:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:03:23] local.INFO: Processing buffer {"connection_id":46016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:03:23] local.INFO: IMEI packet received {"connection_id":46016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:03:23] local.INFO: IMEI acknowledgment sent {"connection_id":46016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:03:26] local.INFO: TCP Data received {"connection_id":46016,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:03:26] local.INFO: Processing buffer {"connection_id":46016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:03:26] local.INFO: IMEI packet received {"connection_id":46016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":46016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:03:27] local.INFO: TCP Data received {"connection_id":46016,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba42c68012d0c2780072a15f000b6003d28..."} 
[2026-04-17 19:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba42c68012d0c2780072a15f000b6003d28..."} 
[2026-04-17 19:03:27] local.INFO: Processing buffer {"connection_id":46016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba42c68012d0c2780072a15f000b6003d28..."} 
[2026-04-17 19:03:27] local.INFO: Packet analysis {"connection_id":46016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba4"} 
[2026-04-17 19:03:27] local.INFO: Extracted packet for processing {"connection_id":46016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba4"} 
[2026-04-17 19:03:27] local.INFO: GPS Element Parsed {"raw_longitude":755771264,"raw_latitude":120198640,"longitude_deg":75.5771264,"latitude_deg":12.019864,"altitude":182,"angle":61,"satellites":40,"speed":3,"hex_longitude":"2d0c2780","hex_latitude":"072a15f0","is_valid_coordinates":true} 
[2026-04-17 19:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766776064001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449366395551744,"note":"Value kept but may cause issues"} 
[2026-04-17 19:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598314573486080,"note":"Value kept but may cause issues"} 
[2026-04-17 19:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776432721000,"timestamp_ms":1776432721000,"timestamp_seconds":1776432721,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba42c68"} 
[2026-04-17 19:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-17 19:03:27] 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-04-17 19:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766776064001,"66":13048,"81":206,"28":26368,"24":3,"16":113449366395551744,"45":875598314573486080},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766776064001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:03:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:03:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449366395551744,"km_value":113449366395551.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598314573486080,"description":"Unknown IO ID 45"} 
[2026-04-17 19:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766776064001,"power":13048,"unknown_81":206,"unknown_28":26368,"ignition":3,"odometer":null,"unknown_45":875598314573486080}} 
[2026-04-17 19:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":46016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22670,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:03:27] local.INFO: GPS data processed {"connection_id":46016,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:03:27] local.INFO: Acknowledgment sent {"connection_id":46016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:03:50] local.INFO: TCP Data received {"connection_id":46017,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:03:50] local.INFO: Processing buffer {"connection_id":46017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:03:50] local.INFO: IMEI packet received {"connection_id":46017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":46017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:03:55] local.INFO: TCP Data received {"connection_id":46017,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46017,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:03:55] local.INFO: Processing buffer {"connection_id":46017,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:03:55] local.INFO: IMEI packet received {"connection_id":46017,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":46017,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:03:56] local.INFO: TCP Data received {"connection_id":46017,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:03:56] local.INFO: Processing buffer {"connection_id":46017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:03:56] local.INFO: Packet analysis {"connection_id":46017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:03:56] local.INFO: Extracted packet for processing {"connection_id":46017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:03:56] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766684160001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027526144,"note":"Value kept but may cause issues"} 
[2026-04-17 19:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776432663000,"timestamp_ms":1776432663000,"timestamp_seconds":1776432663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba349d8"} 
[2026-04-17 19:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 19:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766684160001,"66":25995,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9199235582027526144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766684160001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:03:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:03:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027526144,"description":"Unknown IO ID 45"} 
[2026-04-17 19:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766684160001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027526144}} 
[2026-04-17 19:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":46017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:03:56] local.INFO: GPS data processed {"connection_id":46017,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:03:56] local.INFO: Acknowledgment sent {"connection_id":46017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:03:59] local.INFO: TCP Data received {"connection_id":46016,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba43438012d0c27c0072a15f800b6005728..."} 
[2026-04-17 19:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba43438012d0c27c0072a15f800b6005728..."} 
[2026-04-17 19:03:59] local.INFO: Processing buffer {"connection_id":46016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba43438012d0c27c0072a15f800b6005728..."} 
[2026-04-17 19:03:59] local.INFO: Packet analysis {"connection_id":46016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba4"} 
[2026-04-17 19:03:59] local.INFO: Extracted packet for processing {"connection_id":46016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba4"} 
[2026-04-17 19:03:59] local.INFO: GPS Element Parsed {"raw_longitude":755771328,"raw_latitude":120198648,"longitude_deg":75.5771328,"latitude_deg":12.0198648,"altitude":182,"angle":87,"satellites":40,"speed":0,"hex_longitude":"2d0c27c0","hex_latitude":"072a15f8","is_valid_coordinates":true} 
[2026-04-17 19:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766776576001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449370690519040,"note":"Value kept but may cause issues"} 
[2026-04-17 19:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875809420806057984,"note":"Value kept but may cause issues"} 
[2026-04-17 19:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776432723000,"timestamp_ms":1776432723000,"timestamp_seconds":1776432723,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba43438"} 
[2026-04-17 19:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:03: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-04-17 19:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":248,"data_length":795,"current_offset":136} 
[2026-04-17 19:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2680,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766776576001,"66":12841,"81":206,"28":26368,"24":0,"16":113449370690519040,"45":875809420806057984},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766776576001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:03:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:03:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449370690519040,"km_value":113449370690519.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":875809420806057984,"description":"Unknown IO ID 45"} 
[2026-04-17 19:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766776576001,"power":12841,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875809420806057984}} 
[2026-04-17 19:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":46016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22672,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:03:59] local.INFO: GPS data processed {"connection_id":46016,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:03:59] local.INFO: Acknowledgment sent {"connection_id":46016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:04:21] local.INFO: TCP Data received {"connection_id":46879,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:04:21] local.INFO: Processing buffer {"connection_id":46879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:04:21] local.INFO: IMEI packet received {"connection_id":46879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":46879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:04:26] local.INFO: TCP Data received {"connection_id":46879,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46879,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:04:26] local.INFO: Processing buffer {"connection_id":46879,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:04:26] local.INFO: IMEI packet received {"connection_id":46879,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":46879,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:04:27] local.INFO: TCP Data received {"connection_id":46017,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46017,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:04:27] local.INFO: Processing buffer {"connection_id":46017,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:04:27] local.INFO: Packet analysis {"connection_id":46017,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:04:27] local.INFO: Extracted packet for processing {"connection_id":46017,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:04:27] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766684160001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027526144,"note":"Value kept but may cause issues"} 
[2026-04-17 19:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776432663000,"timestamp_ms":1776432663000,"timestamp_seconds":1776432663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba349d8"} 
[2026-04-17 19:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 19:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46017,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46017,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766684160001,"66":25995,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9199235582027526144},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766684160001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:04:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:04:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027526144,"description":"Unknown IO ID 45"} 
[2026-04-17 19:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766684160001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027526144}} 
[2026-04-17 19:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":46017,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:04:27] local.INFO: GPS data processed {"connection_id":46017,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:04:27] local.INFO: Acknowledgment sent {"connection_id":46017,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:04:27] local.INFO: TCP Data received {"connection_id":46879,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba48640012d0c27c0072a161000b6005725..."} 
[2026-04-17 19:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba48640012d0c27c0072a161000b6005725..."} 
[2026-04-17 19:04:27] local.INFO: Processing buffer {"connection_id":46879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba48640012d0c27c0072a161000b6005725..."} 
[2026-04-17 19:04:27] local.INFO: Packet analysis {"connection_id":46879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba4"} 
[2026-04-17 19:04:27] local.INFO: Extracted packet for processing {"connection_id":46879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba4"} 
[2026-04-17 19:04:27] local.INFO: GPS Element Parsed {"raw_longitude":755771328,"raw_latitude":120198672,"longitude_deg":75.5771328,"latitude_deg":12.0198672,"altitude":182,"angle":87,"satellites":37,"speed":0,"hex_longitude":"2d0c27c0","hex_latitude":"072a1610","is_valid_coordinates":true} 
[2026-04-17 19:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766777088001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449370690519040,"note":"Value kept but may cause issues"} 
[2026-04-17 19:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875879789550237696,"note":"Value kept but may cause issues"} 
[2026-04-17 19:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776432744000,"timestamp_ms":1776432744000,"timestamp_seconds":1776432744,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba48640"} 
[2026-04-17 19:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:04:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 19:04:27] 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-04-17 19:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766777088001,"66":12776,"81":206,"28":26368,"24":0,"16":113449370690519040,"45":875879789550237696},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766777088001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:04:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:04:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449370690519040,"km_value":113449370690519.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":875879789550237696,"description":"Unknown IO ID 45"} 
[2026-04-17 19:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766777088001,"power":12776,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875879789550237696}} 
[2026-04-17 19:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":46879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22674,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:04:27] local.INFO: GPS data processed {"connection_id":46879,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:04:27] local.INFO: Acknowledgment sent {"connection_id":46879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:04:50] local.INFO: TCP Data received {"connection_id":46018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:04:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:04:50] local.INFO: Processing buffer {"connection_id":46018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:04:50] local.INFO: IMEI packet received {"connection_id":46018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:04:50] local.INFO: IMEI acknowledgment sent {"connection_id":46018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:04:55] local.INFO: TCP Data received {"connection_id":46018,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46018,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:04:55] local.INFO: Processing buffer {"connection_id":46018,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:04:55] local.INFO: IMEI packet received {"connection_id":46018,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":46018,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:04:56] local.INFO: TCP Data received {"connection_id":46018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:04:56] local.INFO: Processing buffer {"connection_id":46018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:04:56] local.INFO: Packet analysis {"connection_id":46018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:04:56] local.INFO: Extracted packet for processing {"connection_id":46018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:04:56] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766684160001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027526144,"note":"Value kept but may cause issues"} 
[2026-04-17 19:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776432663000,"timestamp_ms":1776432663000,"timestamp_seconds":1776432663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba349d8"} 
[2026-04-17 19:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 19:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766684160001,"66":25995,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9199235582027526144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766684160001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:04:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:04:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027526144,"description":"Unknown IO ID 45"} 
[2026-04-17 19:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766684160001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027526144}} 
[2026-04-17 19:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":46018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:04:56] local.INFO: GPS data processed {"connection_id":46018,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:04:56] local.INFO: Acknowledgment sent {"connection_id":46018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:04:58] local.INFO: TCP Data received {"connection_id":46879,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba4d848012d0c27c0072a161000b6005729..."} 
[2026-04-17 19:04:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46879,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba4d848012d0c27c0072a161000b6005729..."} 
[2026-04-17 19:04:58] local.INFO: Processing buffer {"connection_id":46879,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba4d848012d0c27c0072a161000b6005729..."} 
[2026-04-17 19:04:58] local.INFO: Packet analysis {"connection_id":46879,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba4"} 
[2026-04-17 19:04:58] local.INFO: Extracted packet for processing {"connection_id":46879,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba4"} 
[2026-04-17 19:04:58] local.INFO: GPS Element Parsed {"raw_longitude":755771328,"raw_latitude":120198672,"longitude_deg":75.5771328,"latitude_deg":12.0198672,"altitude":182,"angle":87,"satellites":41,"speed":0,"hex_longitude":"2d0c27c0","hex_latitude":"072a1610","is_valid_coordinates":true} 
[2026-04-17 19:04:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:04:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766782464001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:04:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449370690519040,"note":"Value kept but may cause issues"} 
[2026-04-17 19:04:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875879789550243840,"note":"Value kept but may cause issues"} 
[2026-04-17 19:04:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:04:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776432765000,"timestamp_ms":1776432765000,"timestamp_seconds":1776432765,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba4d848"} 
[2026-04-17 19:04:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:04: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-04-17 19: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-17 19:04:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:04:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:04:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:04:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:04:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46879,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:04:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:04:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46879,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:04:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:04:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:04:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:04:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766782464001,"66":12939,"81":206,"28":26368,"24":0,"16":113449370690519040,"45":875879789550243840},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:04:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:04:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:04:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766782464001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:04:58] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:04:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:04:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449370690519040,"km_value":113449370690519.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:04:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":875879789550243840,"description":"Unknown IO ID 45"} 
[2026-04-17 19:04:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766782464001,"power":12939,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875879789550243840}} 
[2026-04-17 19:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":46879,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22676,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:04:59] local.INFO: GPS data processed {"connection_id":46879,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:04:59] local.INFO: Acknowledgment sent {"connection_id":46879,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:05:24] local.INFO: TCP Data received {"connection_id":46123,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:05:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46123,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:05:24] local.INFO: Processing buffer {"connection_id":46123,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:05:24] local.INFO: IMEI packet received {"connection_id":46123,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:05:24] local.INFO: IMEI acknowledgment sent {"connection_id":46123,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:05:26] local.INFO: TCP Data received {"connection_id":46124,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:05:26] local.INFO: Processing buffer {"connection_id":46124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:05:26] local.INFO: IMEI packet received {"connection_id":46124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":46124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:05:27] local.INFO: TCP Data received {"connection_id":46018,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:05:27] local.INFO: Processing buffer {"connection_id":46018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:05:27] local.INFO: Packet analysis {"connection_id":46018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:05:27] local.INFO: Extracted packet for processing {"connection_id":46018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:05:27] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766684160001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027526144,"note":"Value kept but may cause issues"} 
[2026-04-17 19:05:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776432663000,"timestamp_ms":1776432663000,"timestamp_seconds":1776432663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba349d8"} 
[2026-04-17 19:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 19:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46018,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766684160001,"66":25995,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9199235582027526144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766684160001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:05:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:05:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027526144,"description":"Unknown IO ID 45"} 
[2026-04-17 19:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766684160001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027526144}} 
[2026-04-17 19:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":46018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:05:27] local.INFO: GPS data processed {"connection_id":46018,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:05:27] local.INFO: Acknowledgment sent {"connection_id":46018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:05:31] local.INFO: TCP Data received {"connection_id":46124,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46124,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:05:31] local.INFO: Processing buffer {"connection_id":46124,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:05:31] local.INFO: IMEI packet received {"connection_id":46124,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:05:31] local.INFO: IMEI acknowledgment sent {"connection_id":46124,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:05:33] local.INFO: TCP Data received {"connection_id":46124,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba4e400012d0c2680072a15c800b300c028..."} 
[2026-04-17 19:05:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba4e400012d0c2680072a15c800b300c028..."} 
[2026-04-17 19:05:33] local.INFO: Processing buffer {"connection_id":46124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba4e400012d0c2680072a15c800b300c028..."} 
[2026-04-17 19:05:33] local.INFO: Packet analysis {"connection_id":46124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba4"} 
[2026-04-17 19:05:33] local.INFO: Extracted packet for processing {"connection_id":46124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba4"} 
[2026-04-17 19:05:33] local.INFO: GPS Element Parsed {"raw_longitude":755771008,"raw_latitude":120198600,"longitude_deg":75.5771008,"latitude_deg":12.01986,"altitude":179,"angle":192,"satellites":40,"speed":2,"hex_longitude":"2d0c2680","hex_latitude":"072a15c8","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:05:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766787840001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:05:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449387870388224,"note":"Value kept but may cause issues"} 
[2026-04-17 19:05:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875879789550243840,"note":"Value kept but may cause issues"} 
[2026-04-17 19:05:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:05:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776432768000,"timestamp_ms":1776432768000,"timestamp_seconds":1776432768,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba4e400"} 
[2026-04-17 19:05:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:05: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-04-17 19: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":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-17 19:05:33] 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-04-17 19: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-04-17 19:05:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:05:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:05:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:05:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:05:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:05:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:05:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:05:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:05:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766787840001,"66":12874,"81":206,"28":26368,"24":2,"16":113449387870388224,"45":875879789550243840},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:05:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:05:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:05:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766787840001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:05:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:05:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:05:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449387870388224,"km_value":113449387870388.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:05:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":875879789550243840,"description":"Unknown IO ID 45"} 
[2026-04-17 19:05:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766787840001,"power":12874,"unknown_81":206,"unknown_28":26368,"ignition":2,"odometer":null,"unknown_45":875879789550243840}} 
[2026-04-17 19:05:33] local.INFO: DEBUG: GPS processor result {"connection_id":46124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22678,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:05:33] local.INFO: GPS data processed {"connection_id":46124,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:05:33] local.INFO: Acknowledgment sent {"connection_id":46124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:05:37] local.INFO: TCP Data received {"connection_id":46124,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba4e7e8012d0c2680072a158800b300b527..."} 
[2026-04-17 19:05:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46124,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba4e7e8012d0c2680072a158800b300b527..."} 
[2026-04-17 19:05:37] local.INFO: Processing buffer {"connection_id":46124,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba4e7e8012d0c2680072a158800b300b527..."} 
[2026-04-17 19:05:37] local.INFO: Packet analysis {"connection_id":46124,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba4"} 
[2026-04-17 19:05:37] local.INFO: Extracted packet for processing {"connection_id":46124,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba4"} 
[2026-04-17 19:05:37] local.INFO: GPS Element Parsed {"raw_longitude":755771008,"raw_latitude":120198536,"longitude_deg":75.5771008,"latitude_deg":12.0198536,"altitude":179,"angle":181,"satellites":39,"speed":2,"hex_longitude":"2d0c2680","hex_latitude":"072a1588","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:05:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766788608001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:05:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449392165355520,"note":"Value kept but may cause issues"} 
[2026-04-17 19:05:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875527945829337088,"note":"Value kept but may cause issues"} 
[2026-04-17 19:05:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:05:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776432769000,"timestamp_ms":1776432769000,"timestamp_seconds":1776432769,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba4e7e8"} 
[2026-04-17 19:05:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:05:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-04-17 19:05:37] 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-04-17 19: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-04-17 19:05:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:05:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:05:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46124,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:05:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:05:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46124,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:05:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:05:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:05:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:05:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766788608001,"66":12874,"81":206,"28":26368,"24":2,"16":113449392165355520,"45":875527945829337088},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:05:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:05:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:05:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766788608001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:05:37] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:05:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:05:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449392165355520,"km_value":113449392165355.52,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:05:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":875527945829337088,"description":"Unknown IO ID 45"} 
[2026-04-17 19:05:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766788608001,"power":12874,"unknown_81":206,"unknown_28":26368,"ignition":2,"odometer":null,"unknown_45":875527945829337088}} 
[2026-04-17 19:05:37] local.INFO: DEBUG: GPS processor result {"connection_id":46124,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22679,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:05:37] local.INFO: GPS data processed {"connection_id":46124,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:05:37] local.INFO: Acknowledgment sent {"connection_id":46124,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:05:50] local.INFO: TCP Data received {"connection_id":46019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:05:50] local.INFO: Processing buffer {"connection_id":46019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:05:50] local.INFO: IMEI packet received {"connection_id":46019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":46019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:05:55] local.INFO: TCP Data received {"connection_id":46019,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:05:55] local.INFO: Processing buffer {"connection_id":46019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:05:55] local.INFO: IMEI packet received {"connection_id":46019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":46019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:05:55] local.INFO: TCP Data received {"connection_id":46019,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:05:55] local.INFO: Processing buffer {"connection_id":46019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:05:55] local.INFO: Packet analysis {"connection_id":46019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:05:55] local.INFO: Extracted packet for processing {"connection_id":46019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:05:55] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766684160001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027526144,"note":"Value kept but may cause issues"} 
[2026-04-17 19:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776432663000,"timestamp_ms":1776432663000,"timestamp_seconds":1776432663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba349d8"} 
[2026-04-17 19:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:05:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 19:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:05:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766684160001,"66":25995,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9199235582027526144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766684160001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:05:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:05:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027526144,"description":"Unknown IO ID 45"} 
[2026-04-17 19:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766684160001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027526144}} 
[2026-04-17 19:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":46019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22680,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:05:56] local.INFO: GPS data processed {"connection_id":46019,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:05:56] local.INFO: Acknowledgment sent {"connection_id":46019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:06:09] local.INFO: TCP Data received {"connection_id":46880,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:06:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46880,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:06:09] local.INFO: Processing buffer {"connection_id":46880,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:06:09] local.INFO: IMEI packet received {"connection_id":46880,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:06:09] local.INFO: IMEI acknowledgment sent {"connection_id":46880,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:06:21] local.INFO: TCP Data received {"connection_id":46355,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:06:21] local.INFO: Processing buffer {"connection_id":46355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:06:21] local.INFO: IMEI packet received {"connection_id":46355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":46355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:06:24] local.INFO: TCP Data received {"connection_id":46355,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:06:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46355,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:06:24] local.INFO: Processing buffer {"connection_id":46355,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:06:24] local.INFO: IMEI packet received {"connection_id":46355,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:06:24] local.INFO: IMEI acknowledgment sent {"connection_id":46355,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:06:25] local.INFO: TCP Data received {"connection_id":46355,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba4f3a0012d0c26c0072a14c800b300a526..."} 
[2026-04-17 19:06:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba4f3a0012d0c26c0072a14c800b300a526..."} 
[2026-04-17 19:06:25] local.INFO: Processing buffer {"connection_id":46355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba4f3a0012d0c26c0072a14c800b300a526..."} 
[2026-04-17 19:06:25] local.INFO: Packet analysis {"connection_id":46355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba4"} 
[2026-04-17 19:06:25] local.INFO: Extracted packet for processing {"connection_id":46355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba4"} 
[2026-04-17 19:06:25] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198344,"longitude_deg":75.5771072,"latitude_deg":12.0198344,"altitude":179,"angle":165,"satellites":38,"speed":2,"hex_longitude":"2d0c26c0","hex_latitude":"072a14c8","is_valid_coordinates":true} 
[2026-04-17 19:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:06:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766788864001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:06:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449400755290112,"note":"Value kept but may cause issues"} 
[2026-04-17 19:06:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875527945829320704,"note":"Value kept but may cause issues"} 
[2026-04-17 19:06:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:06:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776432772000,"timestamp_ms":1776432772000,"timestamp_seconds":1776432772,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba4f3a0"} 
[2026-04-17 19:06:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:06: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-04-17 19:06:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":74,"data_length":795,"current_offset":136} 
[2026-04-17 19:06:25] 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-04-17 19:06:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:06:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:06:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:06:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:06:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:06:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:06:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:06:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:06:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:06:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766788864001,"66":12863,"81":206,"28":26368,"24":2,"16":113449400755290112,"45":875527945829320704},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:06:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:06:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:06:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766788864001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:06:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:06:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:06:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449400755290112,"km_value":113449400755290.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:06:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":875527945829320704,"description":"Unknown IO ID 45"} 
[2026-04-17 19:06:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766788864001,"power":12863,"unknown_81":206,"unknown_28":26368,"ignition":2,"odometer":null,"unknown_45":875527945829320704}} 
[2026-04-17 19:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":46355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22681,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:06:26] local.INFO: GPS data processed {"connection_id":46355,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:06:26] local.INFO: Acknowledgment sent {"connection_id":46355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:06:26] local.INFO: TCP Data received {"connection_id":46019,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:06:26] local.INFO: Processing buffer {"connection_id":46019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba349d8012d7f9f4005afd3b0000000b232..."} 
[2026-04-17 19:06:26] local.INFO: Packet analysis {"connection_id":46019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:06:26] local.INFO: Extracted packet for processing {"connection_id":46019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba3"} 
[2026-04-17 19:06:26] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":50,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:06:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766684160001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:06:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:06:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199235582027526144,"note":"Value kept but may cause issues"} 
[2026-04-17 19:06:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:06:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776432663000,"timestamp_ms":1776432663000,"timestamp_seconds":1776432663,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba349d8"} 
[2026-04-17 19:06:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:06:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:06:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 19:06:26] 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-04-17 19:06:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:06:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:06:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:06:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:06:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:06:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:06:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:06:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:06:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:06:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766684160001,"66":25995,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9199235582027526144},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:06:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:06:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:06:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766684160001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:06:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:06:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:06:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:06:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199235582027526144,"description":"Unknown IO ID 45"} 
[2026-04-17 19:06:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766684160001,"power":25995,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9199235582027526144}} 
[2026-04-17 19:06:26] local.INFO: DEBUG: GPS processor result {"connection_id":46019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22682,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:06:26] local.INFO: GPS data processed {"connection_id":46019,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:06:26] local.INFO: Acknowledgment sent {"connection_id":46019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:06:50] local.INFO: TCP Data received {"connection_id":46125,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:06:50] local.INFO: Processing buffer {"connection_id":46125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:06:50] local.INFO: IMEI packet received {"connection_id":46125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":46125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:06:55] local.INFO: TCP Data received {"connection_id":46125,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:06:55] local.INFO: Processing buffer {"connection_id":46125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:06:55] local.INFO: IMEI packet received {"connection_id":46125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":46125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:06:56] local.INFO: TCP Data received {"connection_id":46125,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:06:56] local.INFO: Processing buffer {"connection_id":46125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:06:56] local.INFO: Packet analysis {"connection_id":46125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:06:56] local.INFO: Extracted packet for processing {"connection_id":46125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:06:56] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766761728001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776432964000,"timestamp_ms":1776432964000,"timestamp_seconds":1776432964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba7e1a0"} 
[2026-04-17 19:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-17 19:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766761728001,"66":25647,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766761728001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:06:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766761728001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":46125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22683,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:06:56] local.INFO: GPS data processed {"connection_id":46125,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:06:56] local.INFO: Acknowledgment sent {"connection_id":46125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:06:57] local.INFO: TCP Data received {"connection_id":46355,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba4ff58012d0c26c0072a150000b3001727..."} 
[2026-04-17 19:06:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46355,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba4ff58012d0c26c0072a150000b3001727..."} 
[2026-04-17 19:06:57] local.INFO: Processing buffer {"connection_id":46355,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba4ff58012d0c26c0072a150000b3001727..."} 
[2026-04-17 19:06:57] local.INFO: Packet analysis {"connection_id":46355,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba4"} 
[2026-04-17 19:06:57] local.INFO: Extracted packet for processing {"connection_id":46355,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba4"} 
[2026-04-17 19:06:57] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198400,"longitude_deg":75.5771072,"latitude_deg":12.01984,"altitude":179,"angle":23,"satellites":39,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"072a1500","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:06:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766789632001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:06:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449409345224704,"note":"Value kept but may cause issues"} 
[2026-04-17 19:06:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598314573449216,"note":"Value kept but may cause issues"} 
[2026-04-17 19:06:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:06:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776432775000,"timestamp_ms":1776432775000,"timestamp_seconds":1776432775,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba4ff58"} 
[2026-04-17 19:06:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:06:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":50,"n8_eight_byte":63,"data_length":795,"current_offset":136} 
[2026-04-17 19:06:57] 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-04-17 19: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-04-17 19:06:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:06:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:06:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46355,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:06:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:06:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46355,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:06:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:06:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:06:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:06:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766789632001,"66":12841,"81":206,"28":26368,"24":0,"16":113449409345224704,"45":875598314573449216},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:06:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:06:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:06:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766789632001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:06:57] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:06:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:06:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449409345224704,"km_value":113449409345224.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:06:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598314573449216,"description":"Unknown IO ID 45"} 
[2026-04-17 19:06:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766789632001,"power":12841,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875598314573449216}} 
[2026-04-17 19:06:57] local.INFO: DEBUG: GPS processor result {"connection_id":46355,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22684,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:06:57] local.INFO: GPS data processed {"connection_id":46355,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:06:57] local.INFO: Acknowledgment sent {"connection_id":46355,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:07:21] local.INFO: TCP Data received {"connection_id":46356,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:07:21] local.INFO: Processing buffer {"connection_id":46356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:07:21] local.INFO: IMEI packet received {"connection_id":46356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":46356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:07:27] local.INFO: TCP Data received {"connection_id":46356,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46356,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:07:27] local.INFO: Processing buffer {"connection_id":46356,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:07:27] local.INFO: IMEI packet received {"connection_id":46356,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:07:27] local.INFO: IMEI acknowledgment sent {"connection_id":46356,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:07:27] local.INFO: TCP Data received {"connection_id":46125,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:07:27] local.INFO: Processing buffer {"connection_id":46125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:07:27] local.INFO: Packet analysis {"connection_id":46125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:07:27] local.INFO: Extracted packet for processing {"connection_id":46125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:07:27] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766761728001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776432964000,"timestamp_ms":1776432964000,"timestamp_seconds":1776432964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba7e1a0"} 
[2026-04-17 19:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-17 19:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766761728001,"66":25647,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766761728001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:07:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:07:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766761728001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":46125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22685,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:07:27] local.INFO: GPS data processed {"connection_id":46125,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:07:27] local.INFO: Acknowledgment sent {"connection_id":46125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:07:28] local.INFO: TCP Data received {"connection_id":46356,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba50728012d0c26c0072a156800b3000727..."} 
[2026-04-17 19:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba50728012d0c26c0072a156800b3000727..."} 
[2026-04-17 19:07:28] local.INFO: Processing buffer {"connection_id":46356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba50728012d0c26c0072a156800b3000727..."} 
[2026-04-17 19:07:28] local.INFO: Packet analysis {"connection_id":46356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba5"} 
[2026-04-17 19:07:28] local.INFO: Extracted packet for processing {"connection_id":46356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba5"} 
[2026-04-17 19:07:28] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198504,"longitude_deg":75.5771072,"latitude_deg":12.0198504,"altitude":179,"angle":7,"satellites":39,"speed":2,"hex_longitude":"2d0c26c0","hex_latitude":"072a1568","is_valid_coordinates":true} 
[2026-04-17 19:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766790400001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449413640192000,"note":"Value kept but may cause issues"} 
[2026-04-17 19:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598314573463552,"note":"Value kept but may cause issues"} 
[2026-04-17 19:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776432777000,"timestamp_ms":1776432777000,"timestamp_seconds":1776432777,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba50728"} 
[2026-04-17 19:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 19:07: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-04-17 19:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766790400001,"66":12885,"81":206,"28":26368,"24":2,"16":113449413640192000,"45":875598314573463552},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766790400001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:07:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:07:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449413640192000,"km_value":113449413640192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598314573463552,"description":"Unknown IO ID 45"} 
[2026-04-17 19:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766790400001,"power":12885,"unknown_81":206,"unknown_28":26368,"ignition":2,"odometer":null,"unknown_45":875598314573463552}} 
[2026-04-17 19:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":46356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22686,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:07:28] local.INFO: GPS data processed {"connection_id":46356,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:07:28] local.INFO: Acknowledgment sent {"connection_id":46356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:07:55] local.INFO: TCP Data received {"connection_id":46126,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:07:55] local.INFO: Processing buffer {"connection_id":46126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:07:55] local.INFO: IMEI packet received {"connection_id":46126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":46126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:07:59] local.INFO: TCP Data received {"connection_id":46356,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba55930012d0c26c0072a157800b400002b..."} 
[2026-04-17 19:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46356,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba55930012d0c26c0072a157800b400002b..."} 
[2026-04-17 19:07:59] local.INFO: Processing buffer {"connection_id":46356,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba55930012d0c26c0072a157800b400002b..."} 
[2026-04-17 19:07:59] local.INFO: Packet analysis {"connection_id":46356,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba5"} 
[2026-04-17 19:07:59] local.INFO: Extracted packet for processing {"connection_id":46356,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba5"} 
[2026-04-17 19:07:59] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198520,"longitude_deg":75.5771072,"latitude_deg":12.019852,"altitude":180,"angle":0,"satellites":43,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"072a1578","is_valid_coordinates":true} 
[2026-04-17 19:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766790912001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449413640192000,"note":"Value kept but may cause issues"} 
[2026-04-17 19:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598314573490176,"note":"Value kept but may cause issues"} 
[2026-04-17 19:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776432798000,"timestamp_ms":1776432798000,"timestamp_seconds":1776432798,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba55930"} 
[2026-04-17 19:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 19:07: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-04-17 19:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46356,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46356,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766790912001,"66":12841,"81":206,"28":26368,"24":0,"16":113449413640192000,"45":875598314573490176},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766790912001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:07:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:07:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449413640192000,"km_value":113449413640192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598314573490176,"description":"Unknown IO ID 45"} 
[2026-04-17 19:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766790912001,"power":12841,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875598314573490176}} 
[2026-04-17 19:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":46356,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22687,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:08:00] local.INFO: GPS data processed {"connection_id":46356,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:08:00] local.INFO: Acknowledgment sent {"connection_id":46356,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:08:00] local.INFO: TCP Data received {"connection_id":46126,"ip":"42.106.6.28","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46126,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:08:00] local.INFO: Processing buffer {"connection_id":46126,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:08:00] local.INFO: IMEI packet received {"connection_id":46126,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:08:00] local.INFO: IMEI acknowledgment sent {"connection_id":46126,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:08:01] local.INFO: TCP Data received {"connection_id":46126,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:08:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:08:01] local.INFO: Processing buffer {"connection_id":46126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:08:01] local.INFO: Packet analysis {"connection_id":46126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:08:01] local.INFO: Extracted packet for processing {"connection_id":46126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:08:01] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:08:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766761728001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:08:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:08:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:08:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:08:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776432964000,"timestamp_ms":1776432964000,"timestamp_seconds":1776432964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba7e1a0"} 
[2026-04-17 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-04-17 19:08:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:08:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-17 19:08:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 19:08:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:08:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:08:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:08:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:08:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:08:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:08:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:08:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766761728001,"66":25647,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:08:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:08:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:08:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766761728001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:08:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:08:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:08:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:08:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:08:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766761728001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:08:01] local.INFO: DEBUG: GPS processor result {"connection_id":46126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22688,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:08:01] local.INFO: GPS data processed {"connection_id":46126,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:08:01] local.INFO: Acknowledgment sent {"connection_id":46126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:08:05] local.INFO: TCP Data received {"connection_id":46126,"ip":"42.106.6.28","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:08:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46126,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:08:05] local.INFO: Processing buffer {"connection_id":46126,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:08:05] local.INFO: Packet analysis {"connection_id":46126,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:08:05] local.INFO: Extracted packet for processing {"connection_id":46126,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:08:05] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:08:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766761728001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:08:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:08:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:08:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:08:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776432964000,"timestamp_ms":1776432964000,"timestamp_seconds":1776432964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba7e1a0"} 
[2026-04-17 19:08:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:08:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-17 19:08:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:08:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:08:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:08:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46126,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:08:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:08:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46126,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:08:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.28","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:08:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:08:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:08:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766761728001,"66":25647,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.28","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:08:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:08:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:08:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766761728001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:08:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:08:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:08:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:08:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:08:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766761728001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:08:05] local.INFO: DEBUG: GPS processor result {"connection_id":46126,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22689,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:08:05] local.INFO: GPS data processed {"connection_id":46126,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:08:05] local.INFO: Acknowledgment sent {"connection_id":46126,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:08:21] local.INFO: TCP Data received {"connection_id":46357,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:08:21] local.INFO: Processing buffer {"connection_id":46357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:08:21] local.INFO: IMEI packet received {"connection_id":46357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":46357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:08:26] local.INFO: TCP Data received {"connection_id":46357,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46357,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:08:26] local.INFO: Processing buffer {"connection_id":46357,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:08:26] local.INFO: IMEI packet received {"connection_id":46357,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":46357,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:08:28] local.INFO: TCP Data received {"connection_id":46357,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba5ab38012d0c26c0072a157800b4000029..."} 
[2026-04-17 19:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba5ab38012d0c26c0072a157800b4000029..."} 
[2026-04-17 19:08:28] local.INFO: Processing buffer {"connection_id":46357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba5ab38012d0c26c0072a157800b4000029..."} 
[2026-04-17 19:08:28] local.INFO: Packet analysis {"connection_id":46357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba5"} 
[2026-04-17 19:08:28] local.INFO: Extracted packet for processing {"connection_id":46357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba5"} 
[2026-04-17 19:08:28] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198520,"longitude_deg":75.5771072,"latitude_deg":12.019852,"altitude":180,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"072a1578","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766796288001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449413640192000,"note":"Value kept but may cause issues"} 
[2026-04-17 19:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598314573494272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776432819000,"timestamp_ms":1776432819000,"timestamp_seconds":1776432819,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba5ab38"} 
[2026-04-17 19:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:08: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-04-17 19: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":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 19:08: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-04-17 19: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-04-17 19:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766796288001,"66":12113,"81":206,"28":26368,"24":0,"16":113449413640192000,"45":875598314573494272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766796288001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:08:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:08:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449413640192000,"km_value":113449413640192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598314573494272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766796288001,"power":12113,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875598314573494272}} 
[2026-04-17 19:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":46357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22690,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:08:28] local.INFO: GPS data processed {"connection_id":46357,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:08:28] local.INFO: Acknowledgment sent {"connection_id":46357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:08:50] local.INFO: TCP Data received {"connection_id":46883,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:08:50] local.INFO: Processing buffer {"connection_id":46883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:08:50] local.INFO: IMEI packet received {"connection_id":46883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":46883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:08:55] local.INFO: TCP Data received {"connection_id":46883,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46883,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:08:55] local.INFO: Processing buffer {"connection_id":46883,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:08:55] local.INFO: IMEI packet received {"connection_id":46883,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":46883,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:08:56] local.INFO: TCP Data received {"connection_id":46883,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:08:56] local.INFO: Processing buffer {"connection_id":46883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:08:56] local.INFO: Packet analysis {"connection_id":46883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:08:56] local.INFO: Extracted packet for processing {"connection_id":46883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766761728001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776432964000,"timestamp_ms":1776432964000,"timestamp_seconds":1776432964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba7e1a0"} 
[2026-04-17 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-04-17 19:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-17 19:08:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 19:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:08:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766761728001,"66":25647,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766761728001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:08:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766761728001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":46883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22691,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:08:56] local.INFO: GPS data processed {"connection_id":46883,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:08:56] local.INFO: Acknowledgment sent {"connection_id":46883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:08:59] local.INFO: TCP Data received {"connection_id":46357,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba93190012d0c26c0072a157800b4000025..."} 
[2026-04-17 19:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46357,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba93190012d0c26c0072a157800b4000025..."} 
[2026-04-17 19:08:59] local.INFO: Processing buffer {"connection_id":46357,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba93190012d0c26c0072a157800b4000025..."} 
[2026-04-17 19:08:59] local.INFO: Packet analysis {"connection_id":46357,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba9"} 
[2026-04-17 19:08:59] local.INFO: Extracted packet for processing {"connection_id":46357,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba9"} 
[2026-04-17 19:08:59] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198520,"longitude_deg":75.5771072,"latitude_deg":12.019852,"altitude":180,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"072a1578","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766855424001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449413640192000,"note":"Value kept but may cause issues"} 
[2026-04-17 19:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598314573494272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776433050000,"timestamp_ms":1776433050000,"timestamp_seconds":1776433050,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba93190"} 
[2026-04-17 19:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:08: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-04-17 19: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 19:08:59] 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-04-17 19: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-04-17 19:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46357,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46357,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766855424001,"66":12385,"81":206,"28":26368,"24":0,"16":113449413640192000,"45":875598314573494272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766855424001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:08:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:08:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449413640192000,"km_value":113449413640192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598314573494272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766855424001,"power":12385,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875598314573494272}} 
[2026-04-17 19:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":46357,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22692,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:08:59] local.INFO: GPS data processed {"connection_id":46357,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:08:59] local.INFO: Acknowledgment sent {"connection_id":46357,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:09:00] local.INFO: TCP Data received {"connection_id":46883,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:09:00] local.INFO: Processing buffer {"connection_id":46883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:09:00] local.INFO: Packet analysis {"connection_id":46883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:09:00] local.INFO: Extracted packet for processing {"connection_id":46883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:09:00] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766761728001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776432964000,"timestamp_ms":1776432964000,"timestamp_seconds":1776432964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba7e1a0"} 
[2026-04-17 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-04-17 19:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-17 19:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 19:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:09: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-04-17 19:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766761728001,"66":25647,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766761728001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:09:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:09:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766761728001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":46883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22693,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:09:00] local.INFO: GPS data processed {"connection_id":46883,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:09:00] local.INFO: Acknowledgment sent {"connection_id":46883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:09:21] local.INFO: TCP Data received {"connection_id":46023,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:09:21] local.INFO: Processing buffer {"connection_id":46023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:09:21] local.INFO: IMEI packet received {"connection_id":46023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":46023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:09:26] local.INFO: TCP Data received {"connection_id":46023,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46023,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:09:26] local.INFO: Processing buffer {"connection_id":46023,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:09:26] local.INFO: IMEI packet received {"connection_id":46023,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":46023,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:09:28] local.INFO: TCP Data received {"connection_id":46023,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba98398012d0c26c0072a157800b4000028..."} 
[2026-04-17 19:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba98398012d0c26c0072a157800b4000028..."} 
[2026-04-17 19:09:28] local.INFO: Processing buffer {"connection_id":46023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba98398012d0c26c0072a157800b4000028..."} 
[2026-04-17 19:09:28] local.INFO: Packet analysis {"connection_id":46023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba9"} 
[2026-04-17 19:09:28] local.INFO: Extracted packet for processing {"connection_id":46023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba9"} 
[2026-04-17 19:09:28] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198520,"longitude_deg":75.5771072,"latitude_deg":12.019852,"altitude":180,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"072a1578","is_valid_coordinates":true} 
[2026-04-17 19:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766860800001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449413640192000,"note":"Value kept but may cause issues"} 
[2026-04-17 19:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598314573494272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:09:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776433071000,"timestamp_ms":1776433071000,"timestamp_seconds":1776433071,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba98398"} 
[2026-04-17 19:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:09: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-04-17 19:09:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 19:09:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:09:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766860800001,"66":12374,"81":206,"28":26368,"24":0,"16":113449413640192000,"45":875598314573494272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766860800001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:09:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:09:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449413640192000,"km_value":113449413640192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598314573494272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766860800001,"power":12374,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875598314573494272}} 
[2026-04-17 19:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":46023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22694,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:09:28] local.INFO: GPS data processed {"connection_id":46023,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:09:28] local.INFO: Acknowledgment sent {"connection_id":46023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:09:31] local.INFO: TCP Data received {"connection_id":46883,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:09:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46883,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:09:31] local.INFO: Processing buffer {"connection_id":46883,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:09:31] local.INFO: Packet analysis {"connection_id":46883,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:09:31] local.INFO: Extracted packet for processing {"connection_id":46883,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:09:31] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:09:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766761728001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:09:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:09:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:09:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:09:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776432964000,"timestamp_ms":1776432964000,"timestamp_seconds":1776432964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba7e1a0"} 
[2026-04-17 19:09:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:09:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-17 19:09:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:09:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:09:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:09:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46883,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:09:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:09:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46883,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:09:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:09:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:09:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:09:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766761728001,"66":25647,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:09:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:09:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:09:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766761728001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:09:31] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:09:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:09:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:09:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:09:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766761728001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:09:31] local.INFO: DEBUG: GPS processor result {"connection_id":46883,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22695,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:09:31] local.INFO: GPS data processed {"connection_id":46883,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:09:31] local.INFO: Acknowledgment sent {"connection_id":46883,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:09:50] local.INFO: TCP Data received {"connection_id":46127,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:09:50] local.INFO: Processing buffer {"connection_id":46127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:09:50] local.INFO: IMEI packet received {"connection_id":46127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":46127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:09:58] local.INFO: TCP Data received {"connection_id":46127,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46127,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:09:58] local.INFO: Processing buffer {"connection_id":46127,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:09:58] local.INFO: IMEI packet received {"connection_id":46127,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:09:58] local.INFO: IMEI acknowledgment sent {"connection_id":46127,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:09:58] local.INFO: TCP Data received {"connection_id":46127,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:09:58] local.INFO: Processing buffer {"connection_id":46127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:09:58] local.INFO: Packet analysis {"connection_id":46127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:09:58] local.INFO: Extracted packet for processing {"connection_id":46127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:09:58] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766761728001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776432964000,"timestamp_ms":1776432964000,"timestamp_seconds":1776432964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba7e1a0"} 
[2026-04-17 19:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:09:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-17 19:09:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.41","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766761728001,"66":25647,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766761728001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:09:58] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:09:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766761728001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":46127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22696,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:09:58] local.INFO: GPS data processed {"connection_id":46127,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:09:58] local.INFO: Acknowledgment sent {"connection_id":46127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:09:59] local.INFO: TCP Data received {"connection_id":46023,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba9d5a0012d0c26c0072a157800b4000025..."} 
[2026-04-17 19:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46023,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba9d5a0012d0c26c0072a157800b4000025..."} 
[2026-04-17 19:09:59] local.INFO: Processing buffer {"connection_id":46023,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba9d5a0012d0c26c0072a157800b4000025..."} 
[2026-04-17 19:09:59] local.INFO: Packet analysis {"connection_id":46023,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba9"} 
[2026-04-17 19:09:59] local.INFO: Extracted packet for processing {"connection_id":46023,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba9"} 
[2026-04-17 19:09:59] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198520,"longitude_deg":75.5771072,"latitude_deg":12.019852,"altitude":180,"angle":0,"satellites":37,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"072a1578","is_valid_coordinates":true} 
[2026-04-17 19:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766866176001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449413640192000,"note":"Value kept but may cause issues"} 
[2026-04-17 19:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598314573494272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:09:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776433092000,"timestamp_ms":1776433092000,"timestamp_seconds":1776433092,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba9d5a0"} 
[2026-04-17 19:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:09: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-04-17 19:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 19:09:59] 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-04-17 19:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46023,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46023,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766866176001,"66":11656,"81":206,"28":26368,"24":0,"16":113449413640192000,"45":875598314573494272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766866176001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:09:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:09:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449413640192000,"km_value":113449413640192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598314573494272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766866176001,"power":11656,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875598314573494272}} 
[2026-04-17 19:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":46023,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22697,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:09:59] local.INFO: GPS data processed {"connection_id":46023,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:09:59] local.INFO: Acknowledgment sent {"connection_id":46023,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:10:21] local.INFO: TCP Data received {"connection_id":46358,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:10:21] local.INFO: Processing buffer {"connection_id":46358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:10:21] local.INFO: IMEI packet received {"connection_id":46358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":46358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:10:26] local.INFO: TCP Data received {"connection_id":46358,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46358,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:10:26] local.INFO: Processing buffer {"connection_id":46358,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:10:26] local.INFO: IMEI packet received {"connection_id":46358,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":46358,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:10:27] local.INFO: TCP Data received {"connection_id":46358,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9baa27a8012d0c26c0072a157800b4000026..."} 
[2026-04-17 19:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9baa27a8012d0c26c0072a157800b4000026..."} 
[2026-04-17 19:10:27] local.INFO: Processing buffer {"connection_id":46358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9baa27a8012d0c26c0072a157800b4000026..."} 
[2026-04-17 19:10:27] local.INFO: Packet analysis {"connection_id":46358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9baa"} 
[2026-04-17 19:10:27] local.INFO: Extracted packet for processing {"connection_id":46358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9baa"} 
[2026-04-17 19:10:27] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198520,"longitude_deg":75.5771072,"latitude_deg":12.019852,"altitude":180,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"072a1578","is_valid_coordinates":true} 
[2026-04-17 19:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766871552001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449413640192000,"note":"Value kept but may cause issues"} 
[2026-04-17 19:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598314573494272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776433113000,"timestamp_ms":1776433113000,"timestamp_seconds":1776433113,"priority":1,"record_length":96,"hex_timestamp":"0000019d9baa27a8"} 
[2026-04-17 19:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":45,"n8_eight_byte":136,"data_length":795,"current_offset":136} 
[2026-04-17 19:10:27] 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-04-17 19:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766871552001,"66":12385,"81":206,"28":26368,"24":0,"16":113449413640192000,"45":875598314573494272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766871552001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:10:27] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:10:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449413640192000,"km_value":113449413640192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598314573494272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766871552001,"power":12385,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875598314573494272}} 
[2026-04-17 19:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":46358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22698,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:10:27] local.INFO: GPS data processed {"connection_id":46358,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:10:27] local.INFO: Acknowledgment sent {"connection_id":46358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:10:29] local.INFO: TCP Data received {"connection_id":46127,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46127,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:10:29] local.INFO: Processing buffer {"connection_id":46127,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:10:29] local.INFO: Packet analysis {"connection_id":46127,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:10:29] local.INFO: Extracted packet for processing {"connection_id":46127,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:10:29] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:10:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766761728001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:10:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:10:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:10:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:10:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776432964000,"timestamp_ms":1776432964000,"timestamp_seconds":1776432964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba7e1a0"} 
[2026-04-17 19:10:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:10:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19: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":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-17 19:10:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:10:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:10:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:10:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46127,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:10:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:10:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46127,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:10: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-04-17 19:10:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:10:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:10:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766761728001,"66":25647,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:10:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:10:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:10:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766761728001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:10:29] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:10:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:10:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:10:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:10:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766761728001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:10:29] local.INFO: DEBUG: GPS processor result {"connection_id":46127,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22699,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:10:29] local.INFO: GPS data processed {"connection_id":46127,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:10:29] local.INFO: Acknowledgment sent {"connection_id":46127,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:10:50] local.INFO: TCP Data received {"connection_id":46884,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:10:50] local.INFO: Processing buffer {"connection_id":46884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:10:50] local.INFO: IMEI packet received {"connection_id":46884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":46884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:10:55] local.INFO: TCP Data received {"connection_id":46884,"ip":"42.106.6.20","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46884,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:10:55] local.INFO: Processing buffer {"connection_id":46884,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:10:55] local.INFO: IMEI packet received {"connection_id":46884,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":46884,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:10:56] local.INFO: TCP Data received {"connection_id":46884,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:10:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:10:56] local.INFO: Processing buffer {"connection_id":46884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:10:56] local.INFO: Packet analysis {"connection_id":46884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:10:56] local.INFO: Extracted packet for processing {"connection_id":46884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:10:56] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:10:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766761728001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:10:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:10:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:10:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:10:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776432964000,"timestamp_ms":1776432964000,"timestamp_seconds":1776432964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba7e1a0"} 
[2026-04-17 19:10:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:10:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:10:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-17 19:10:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:10:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:10:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:10:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:10:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:10:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:10:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:10:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:10:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:10:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766761728001,"66":25647,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766761728001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:10:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:10:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766761728001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":46884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22700,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:10:56] local.INFO: GPS data processed {"connection_id":46884,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:10:56] local.INFO: Acknowledgment sent {"connection_id":46884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:10:59] local.INFO: TCP Data received {"connection_id":46358,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9baa79b0012d0c26c0072a157800b4000026..."} 
[2026-04-17 19:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46358,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9baa79b0012d0c26c0072a157800b4000026..."} 
[2026-04-17 19:10:59] local.INFO: Processing buffer {"connection_id":46358,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9baa79b0012d0c26c0072a157800b4000026..."} 
[2026-04-17 19:10:59] local.INFO: Packet analysis {"connection_id":46358,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9baa"} 
[2026-04-17 19:10:59] local.INFO: Extracted packet for processing {"connection_id":46358,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9baa"} 
[2026-04-17 19:10:59] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198520,"longitude_deg":75.5771072,"latitude_deg":12.019852,"altitude":180,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"072a1578","is_valid_coordinates":true} 
[2026-04-17 19:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766876928001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449413640192000,"note":"Value kept but may cause issues"} 
[2026-04-17 19:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598314573494272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:10:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776433134000,"timestamp_ms":1776433134000,"timestamp_seconds":1776433134,"priority":1,"record_length":96,"hex_timestamp":"0000019d9baa79b0"} 
[2026-04-17 19:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 19:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46358,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46358,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766876928001,"66":12385,"81":206,"28":26368,"24":0,"16":113449413640192000,"45":875598314573494272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766876928001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:10:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:10:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449413640192000,"km_value":113449413640192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598314573494272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766876928001,"power":12385,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875598314573494272}} 
[2026-04-17 19:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":46358,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22701,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:10:59] local.INFO: GPS data processed {"connection_id":46358,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:10:59] local.INFO: Acknowledgment sent {"connection_id":46358,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:11:21] local.INFO: TCP Data received {"connection_id":46359,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:11:21] local.INFO: Processing buffer {"connection_id":46359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:11:21] local.INFO: IMEI packet received {"connection_id":46359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":46359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:11:26] local.INFO: TCP Data received {"connection_id":46359,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46359,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:11:26] local.INFO: Processing buffer {"connection_id":46359,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:11:26] local.INFO: IMEI packet received {"connection_id":46359,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":46359,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:11:27] local.INFO: TCP Data received {"connection_id":46884,"ip":"42.106.6.20","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46884,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:11:27] local.INFO: Processing buffer {"connection_id":46884,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ba7e1a0012d7f9f4005afd3b0000000b22f..."} 
[2026-04-17 19:11:27] local.INFO: Packet analysis {"connection_id":46884,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:11:27] local.INFO: Extracted packet for processing {"connection_id":46884,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ba7"} 
[2026-04-17 19:11:27] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":47,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766761728001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:11:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776432964000,"timestamp_ms":1776432964000,"timestamp_seconds":1776432964,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ba7e1a0"} 
[2026-04-17 19:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-17 19:11:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1954,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46884,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46884,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.20","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766761728001,"66":25647,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.20","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766761728001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:11:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:11:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766761728001,"power":25647,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":46884,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22702,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:11:27] local.INFO: GPS data processed {"connection_id":46884,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:11:27] local.INFO: Acknowledgment sent {"connection_id":46884,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:11:28] local.INFO: TCP Data received {"connection_id":46359,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9baacbb8012d0c26c0072a157800b4000028..."} 
[2026-04-17 19:11:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9baacbb8012d0c26c0072a157800b4000028..."} 
[2026-04-17 19:11:28] local.INFO: Processing buffer {"connection_id":46359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9baacbb8012d0c26c0072a157800b4000028..."} 
[2026-04-17 19:11:28] local.INFO: Packet analysis {"connection_id":46359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9baa"} 
[2026-04-17 19:11:28] local.INFO: Extracted packet for processing {"connection_id":46359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9baa"} 
[2026-04-17 19:11:28] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198520,"longitude_deg":75.5771072,"latitude_deg":12.019852,"altitude":180,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"072a1578","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:11:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766882304001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:11:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449413640192000,"note":"Value kept but may cause issues"} 
[2026-04-17 19:11:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598314573494272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:11:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:11:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776433155000,"timestamp_ms":1776433155000,"timestamp_seconds":1776433155,"priority":1,"record_length":96,"hex_timestamp":"0000019d9baacbb8"} 
[2026-04-17 19:11:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:11:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:11:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 19:11:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:11:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:11:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:11:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:11:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:11:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:11:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:11:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:11:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:11:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766882304001,"66":12406,"81":206,"28":26368,"24":0,"16":113449413640192000,"45":875598314573494272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:11:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:11:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:11:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766882304001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:11:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:11:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:11:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449413640192000,"km_value":113449413640192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:11:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598314573494272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:11:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766882304001,"power":12406,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875598314573494272}} 
[2026-04-17 19:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":46359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22703,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:11:28] local.INFO: GPS data processed {"connection_id":46359,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:11:28] local.INFO: Acknowledgment sent {"connection_id":46359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:11:39] local.INFO: TCP Data received {"connection_id":46024,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:11:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46024,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:11:39] local.INFO: Processing buffer {"connection_id":46024,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:11:39] local.INFO: IMEI packet received {"connection_id":46024,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:11:39] local.INFO: IMEI acknowledgment sent {"connection_id":46024,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:11:50] local.INFO: TCP Data received {"connection_id":46360,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:11:50] local.INFO: Processing buffer {"connection_id":46360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:11:50] local.INFO: IMEI packet received {"connection_id":46360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":46360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:11:55] local.INFO: TCP Data received {"connection_id":46360,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46360,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:11:55] local.INFO: Processing buffer {"connection_id":46360,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:11:55] local.INFO: IMEI packet received {"connection_id":46360,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":46360,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:11:56] local.INFO: TCP Data received {"connection_id":46360,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:11:56] local.INFO: Processing buffer {"connection_id":46360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:11:56] local.INFO: Packet analysis {"connection_id":46360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:11:56] local.INFO: Extracted packet for processing {"connection_id":46360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:11:56] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":51,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766838784001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776433265000,"timestamp_ms":1776433265000,"timestamp_seconds":1776433265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bac7968"} 
[2026-04-17 19:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:11:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 19:11:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:11:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766838784001,"66":25473,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766838784001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:11:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:11:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766838784001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":46360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22704,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:11:56] local.INFO: GPS data processed {"connection_id":46360,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:11:56] local.INFO: Acknowledgment sent {"connection_id":46360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:11:59] local.INFO: TCP Data received {"connection_id":46359,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bab1dc0012d0c26c0072a157800b4000026..."} 
[2026-04-17 19:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46359,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bab1dc0012d0c26c0072a157800b4000026..."} 
[2026-04-17 19:11:59] local.INFO: Processing buffer {"connection_id":46359,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bab1dc0012d0c26c0072a157800b4000026..."} 
[2026-04-17 19:11:59] local.INFO: Packet analysis {"connection_id":46359,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bab"} 
[2026-04-17 19:11:59] local.INFO: Extracted packet for processing {"connection_id":46359,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bab"} 
[2026-04-17 19:11:59] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198520,"longitude_deg":75.5771072,"latitude_deg":12.019852,"altitude":180,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"072a1578","is_valid_coordinates":true} 
[2026-04-17 19:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766887680001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449413640192000,"note":"Value kept but may cause issues"} 
[2026-04-17 19:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598314573494272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:11:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776433176000,"timestamp_ms":1776433176000,"timestamp_seconds":1776433176,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bab1dc0"} 
[2026-04-17 19:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 19:11:59] 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-04-17 19:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46359,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46359,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766887680001,"66":12374,"81":206,"28":26368,"24":0,"16":113449413640192000,"45":875598314573494272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766887680001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:11:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:11:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449413640192000,"km_value":113449413640192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598314573494272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766887680001,"power":12374,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875598314573494272}} 
[2026-04-17 19:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":46359,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22705,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:11:59] local.INFO: GPS data processed {"connection_id":46359,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:11:59] local.INFO: Acknowledgment sent {"connection_id":46359,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:12:04] local.INFO: TCP Data received {"connection_id":46885,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46885,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:12:04] local.INFO: Processing buffer {"connection_id":46885,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:12:04] local.INFO: IMEI packet received {"connection_id":46885,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:12:04] local.INFO: IMEI acknowledgment sent {"connection_id":46885,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:12:21] local.INFO: TCP Data received {"connection_id":46025,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:12:21] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:12:21] local.INFO: IMEI packet received {"connection_id":46025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":46025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:12:26] local.INFO: TCP Data received {"connection_id":46025,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:12:26] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:12:26] local.INFO: IMEI packet received {"connection_id":46025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":46025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:12:27] local.INFO: TCP Data received {"connection_id":46360,"ip":"42.106.6.36","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46360,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:12:27] local.INFO: Processing buffer {"connection_id":46360,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:12:27] local.INFO: Packet analysis {"connection_id":46360,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:12:27] local.INFO: Extracted packet for processing {"connection_id":46360,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:12:27] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":51,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766838784001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776433265000,"timestamp_ms":1776433265000,"timestamp_seconds":1776433265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bac7968"} 
[2026-04-17 19:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 19:12:27] 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-04-17 19:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46360,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46360,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.36","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766838784001,"66":25473,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.36","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766838784001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:12:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:12:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766838784001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":46360,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22706,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:12:27] local.INFO: GPS data processed {"connection_id":46360,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:12:27] local.INFO: Acknowledgment sent {"connection_id":46360,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:12:28] local.INFO: TCP Data received {"connection_id":46025,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bab6fc8012d0c26c0072a157800b4000026..."} 
[2026-04-17 19:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bab6fc8012d0c26c0072a157800b4000026..."} 
[2026-04-17 19:12:28] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bab6fc8012d0c26c0072a157800b4000026..."} 
[2026-04-17 19:12:28] local.INFO: Packet analysis {"connection_id":46025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bab"} 
[2026-04-17 19:12:28] local.INFO: Extracted packet for processing {"connection_id":46025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bab"} 
[2026-04-17 19:12:28] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198520,"longitude_deg":75.5771072,"latitude_deg":12.019852,"altitude":180,"angle":0,"satellites":38,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"072a1578","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766893056001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449413640192000,"note":"Value kept but may cause issues"} 
[2026-04-17 19:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598314573494272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776433197000,"timestamp_ms":1776433197000,"timestamp_seconds":1776433197,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bab6fc8"} 
[2026-04-17 19:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:12: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-04-17 19: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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 19:12:28] 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-04-17 19: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-04-17 19:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766893056001,"66":12428,"81":206,"28":26368,"24":0,"16":113449413640192000,"45":875598314573494272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766893056001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:12:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:12:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449413640192000,"km_value":113449413640192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598314573494272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766893056001,"power":12428,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875598314573494272}} 
[2026-04-17 19:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":46025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22707,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:12:28] local.INFO: GPS data processed {"connection_id":46025,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:12:28] local.INFO: Acknowledgment sent {"connection_id":46025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:12:55] local.INFO: TCP Data received {"connection_id":46129,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:12:55] local.INFO: Processing buffer {"connection_id":46129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:12:55] local.INFO: IMEI packet received {"connection_id":46129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":46129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:12:59] local.INFO: TCP Data received {"connection_id":46025,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9babc1d0012d0c26c0072a157800b4000027..."} 
[2026-04-17 19:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9babc1d0012d0c26c0072a157800b4000027..."} 
[2026-04-17 19:12:59] local.INFO: Processing buffer {"connection_id":46025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9babc1d0012d0c26c0072a157800b4000027..."} 
[2026-04-17 19:12:59] local.INFO: Packet analysis {"connection_id":46025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bab"} 
[2026-04-17 19:12:59] local.INFO: Extracted packet for processing {"connection_id":46025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bab"} 
[2026-04-17 19:12:59] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198520,"longitude_deg":75.5771072,"latitude_deg":12.019852,"altitude":180,"angle":0,"satellites":39,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"072a1578","is_valid_coordinates":true} 
[2026-04-17 19:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766898432001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449413640192000,"note":"Value kept but may cause issues"} 
[2026-04-17 19:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598314573494272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776433218000,"timestamp_ms":1776433218000,"timestamp_seconds":1776433218,"priority":1,"record_length":96,"hex_timestamp":"0000019d9babc1d0"} 
[2026-04-17 19:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:12:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20736,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 19:12: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-04-17 19:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766898432001,"66":12385,"81":206,"28":26368,"24":0,"16":113449413640192000,"45":875598314573494272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766898432001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:12:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:12:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449413640192000,"km_value":113449413640192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598314573494272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766898432001,"power":12385,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875598314573494272}} 
[2026-04-17 19:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":46025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22708,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:12:59] local.INFO: GPS data processed {"connection_id":46025,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:12:59] local.INFO: Acknowledgment sent {"connection_id":46025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:13:00] local.INFO: TCP Data received {"connection_id":46129,"ip":"42.106.6.23","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46129,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:13:00] local.INFO: Processing buffer {"connection_id":46129,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:13:00] local.INFO: IMEI packet received {"connection_id":46129,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:13:00] local.INFO: IMEI acknowledgment sent {"connection_id":46129,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:13:00] local.INFO: TCP Data received {"connection_id":46129,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:13:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:13:00] local.INFO: Processing buffer {"connection_id":46129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:13:00] local.INFO: Packet analysis {"connection_id":46129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:13:00] local.INFO: Extracted packet for processing {"connection_id":46129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:13:00] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":51,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:13:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766838784001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:13:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:13:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:13:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:13:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776433265000,"timestamp_ms":1776433265000,"timestamp_seconds":1776433265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bac7968"} 
[2026-04-17 19:13:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:13:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:13:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 19:13: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-04-17 19:13:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:13:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:13:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:13:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:13:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:13:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:13:00] 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-04-17 19:13:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:13:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:13:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766838784001,"66":25473,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:13:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:13:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:13:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766838784001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:13:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:13:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:13:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:13:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:13:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766838784001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:13:00] local.INFO: DEBUG: GPS processor result {"connection_id":46129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22709,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:13:00] local.INFO: GPS data processed {"connection_id":46129,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:13:00] local.INFO: Acknowledgment sent {"connection_id":46129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:13:05] local.INFO: TCP Data received {"connection_id":46129,"ip":"42.106.6.23","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:13:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46129,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:13:05] local.INFO: Processing buffer {"connection_id":46129,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:13:05] local.INFO: Packet analysis {"connection_id":46129,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:13:05] local.INFO: Extracted packet for processing {"connection_id":46129,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:13:05] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":51,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:13:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766838784001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:13:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:13:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:13:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:13:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776433265000,"timestamp_ms":1776433265000,"timestamp_seconds":1776433265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bac7968"} 
[2026-04-17 19:13:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:13:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 19:13:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:13:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:13:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:13:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46129,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:13:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:13:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46129,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:13: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-04-17 19:13:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:13:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:13:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766838784001,"66":25473,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.23","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:13:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:13:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:13:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766838784001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:13:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:13:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:13:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:13:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:13:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766838784001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:13:05] local.INFO: DEBUG: GPS processor result {"connection_id":46129,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22710,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:13:05] local.INFO: GPS data processed {"connection_id":46129,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:13:05] local.INFO: Acknowledgment sent {"connection_id":46129,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:13:23] local.INFO: TCP Data received {"connection_id":46027,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:13:23] local.INFO: Processing buffer {"connection_id":46027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:13:23] local.INFO: IMEI packet received {"connection_id":46027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":46027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:13:27] local.INFO: TCP Data received {"connection_id":46027,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:13:27] local.INFO: Processing buffer {"connection_id":46027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:13:27] local.INFO: IMEI packet received {"connection_id":46027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:13:27] local.INFO: IMEI acknowledgment sent {"connection_id":46027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:13:31] local.INFO: TCP Data received {"connection_id":46027,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:13:31] local.INFO: Processing buffer {"connection_id":46027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:13:31] local.INFO: IMEI packet received {"connection_id":46027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":46027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:13:33] local.INFO: TCP Data received {"connection_id":46027,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bac13d8012d0c26c0072a157800b4000029..."} 
[2026-04-17 19:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bac13d8012d0c26c0072a157800b4000029..."} 
[2026-04-17 19:13:33] local.INFO: Processing buffer {"connection_id":46027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bac13d8012d0c26c0072a157800b4000029..."} 
[2026-04-17 19:13:33] local.INFO: Packet analysis {"connection_id":46027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:13:33] local.INFO: Extracted packet for processing {"connection_id":46027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:13:33] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198520,"longitude_deg":75.5771072,"latitude_deg":12.019852,"altitude":180,"angle":0,"satellites":41,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"072a1578","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766903808001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449413640192000,"note":"Value kept but may cause issues"} 
[2026-04-17 19:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598314573494272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:13:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776433239000,"timestamp_ms":1776433239000,"timestamp_seconds":1776433239,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bac13d8"} 
[2026-04-17 19:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:13:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 19:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766903808001,"66":12406,"81":206,"28":26368,"24":0,"16":113449413640192000,"45":875598314573494272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766903808001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:13:33] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:13:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449413640192000,"km_value":113449413640192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598314573494272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766903808001,"power":12406,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875598314573494272}} 
[2026-04-17 19:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":46027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22711,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:13:33] local.INFO: GPS data processed {"connection_id":46027,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:13:33] local.INFO: Acknowledgment sent {"connection_id":46027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:13:38] local.INFO: TCP Data received {"connection_id":46027,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bac65e0012d0c26c0072a157800b4000028..."} 
[2026-04-17 19:13:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bac65e0012d0c26c0072a157800b4000028..."} 
[2026-04-17 19:13:38] local.INFO: Processing buffer {"connection_id":46027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bac65e0012d0c26c0072a157800b4000028..."} 
[2026-04-17 19:13:38] local.INFO: Packet analysis {"connection_id":46027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:13:38] local.INFO: Extracted packet for processing {"connection_id":46027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:13:38] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198520,"longitude_deg":75.5771072,"latitude_deg":12.019852,"altitude":180,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"072a1578","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:13:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766909184001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:13:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449413640192000,"note":"Value kept but may cause issues"} 
[2026-04-17 19:13:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598314573494272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:13:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:13:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776433260000,"timestamp_ms":1776433260000,"timestamp_seconds":1776433260,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bac65e0"} 
[2026-04-17 19:13:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:13: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-04-17 19: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 19:13:38] 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-04-17 19: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-04-17 19:13:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:13:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:13:38] local.INFO: Teltonika packet parsed successfully {"connection_id":46027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:13:38] local.INFO: Passing IMEI to GPS processor {"connection_id":46027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:13:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":46027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:13:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:13:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:13:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:13:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766909184001,"66":12363,"81":206,"28":26368,"24":0,"16":113449413640192000,"45":875598314573494272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:13:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:13:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:13:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766909184001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:13:38] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:13:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:13:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449413640192000,"km_value":113449413640192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:13:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598314573494272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:13:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766909184001,"power":12363,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875598314573494272}} 
[2026-04-17 19:13:38] local.INFO: DEBUG: GPS processor result {"connection_id":46027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22712,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:13:38] local.INFO: GPS data processed {"connection_id":46027,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:13:38] local.INFO: Acknowledgment sent {"connection_id":46027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:13:50] local.INFO: TCP Data received {"connection_id":46361,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:13:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:13:50] local.INFO: Processing buffer {"connection_id":46361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:13:50] local.INFO: IMEI packet received {"connection_id":46361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:13:50] local.INFO: IMEI acknowledgment sent {"connection_id":46361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:13:55] local.INFO: TCP Data received {"connection_id":46361,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46361,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:13:55] local.INFO: Processing buffer {"connection_id":46361,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:13:55] local.INFO: IMEI packet received {"connection_id":46361,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":46361,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:13:56] local.INFO: TCP Data received {"connection_id":46361,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:13:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:13:56] local.INFO: Processing buffer {"connection_id":46361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:13:56] local.INFO: Packet analysis {"connection_id":46361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:13:56] local.INFO: Extracted packet for processing {"connection_id":46361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:13:56] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":51,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:13:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766838784001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:13:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:13:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:13:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:13:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776433265000,"timestamp_ms":1776433265000,"timestamp_seconds":1776433265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bac7968"} 
[2026-04-17 19:13:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:13:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 19:13:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:13:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:13:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:13:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:13:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:13:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:13:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:13:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:13:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:13:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766838784001,"66":25473,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:13:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:13:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:13:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766838784001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:13:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:13:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:13:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:13:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:13:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766838784001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:13:56] local.INFO: DEBUG: GPS processor result {"connection_id":46361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22713,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:13:56] local.INFO: GPS data processed {"connection_id":46361,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:13:56] local.INFO: Acknowledgment sent {"connection_id":46361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:14:21] local.INFO: TCP Data received {"connection_id":46028,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:14:21] local.INFO: Processing buffer {"connection_id":46028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:14:21] local.INFO: IMEI packet received {"connection_id":46028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":46028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:14:27] local.INFO: TCP Data received {"connection_id":46028,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46028,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:14:27] local.INFO: Processing buffer {"connection_id":46028,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:14:27] local.INFO: IMEI packet received {"connection_id":46028,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:14:27] local.INFO: IMEI acknowledgment sent {"connection_id":46028,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:14:27] local.INFO: TCP Data received {"connection_id":46361,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46361,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:14:27] local.INFO: Processing buffer {"connection_id":46361,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:14:27] local.INFO: Packet analysis {"connection_id":46361,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:14:27] local.INFO: Extracted packet for processing {"connection_id":46361,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:14:27] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":51,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766838784001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:14:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776433265000,"timestamp_ms":1776433265000,"timestamp_seconds":1776433265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bac7968"} 
[2026-04-17 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-04-17 19:14:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 19:14:27] 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-04-17 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-04-17 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-04-17 19:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46361,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46361,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766838784001,"66":25473,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766838784001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:14:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:14:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766838784001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":46361,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22714,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:14:27] local.INFO: GPS data processed {"connection_id":46361,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:14:27] local.INFO: Acknowledgment sent {"connection_id":46361,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:14:28] local.INFO: TCP Data received {"connection_id":46028,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bacb7e8012d0c26c0072a157800b4000028..."} 
[2026-04-17 19:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bacb7e8012d0c26c0072a157800b4000028..."} 
[2026-04-17 19:14:28] local.INFO: Processing buffer {"connection_id":46028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bacb7e8012d0c26c0072a157800b4000028..."} 
[2026-04-17 19:14:28] local.INFO: Packet analysis {"connection_id":46028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:14:28] local.INFO: Extracted packet for processing {"connection_id":46028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:14:28] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198520,"longitude_deg":75.5771072,"latitude_deg":12.019852,"altitude":180,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"072a1578","is_valid_coordinates":true} 
[2026-04-17 19:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:14:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766914560001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:14:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449413640192000,"note":"Value kept but may cause issues"} 
[2026-04-17 19:14:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598314573494272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:14:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:14:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776433281000,"timestamp_ms":1776433281000,"timestamp_seconds":1776433281,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bacb7e8"} 
[2026-04-17 19:14:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:14:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:14:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 19:14: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-04-17 19:14:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:14:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:14:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:14:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:14:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:14:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:14:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:14:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:14:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:14:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766914560001,"66":12363,"81":206,"28":26368,"24":0,"16":113449413640192000,"45":875598314573494272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:14:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:14:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:14:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766914560001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:14:28] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:14:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:14:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449413640192000,"km_value":113449413640192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:14:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598314573494272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:14:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766914560001,"power":12363,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875598314573494272}} 
[2026-04-17 19:14:28] local.INFO: DEBUG: GPS processor result {"connection_id":46028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22715,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:14:28] local.INFO: GPS data processed {"connection_id":46028,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:14:28] local.INFO: Acknowledgment sent {"connection_id":46028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:14:50] local.INFO: TCP Data received {"connection_id":46130,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:14:50] local.INFO: Processing buffer {"connection_id":46130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:14:50] local.INFO: IMEI packet received {"connection_id":46130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":46130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:14:55] local.INFO: TCP Data received {"connection_id":46130,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46130,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:14:55] local.INFO: Processing buffer {"connection_id":46130,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:14:55] local.INFO: IMEI packet received {"connection_id":46130,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":46130,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:14:56] local.INFO: TCP Data received {"connection_id":46130,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:14:56] local.INFO: Processing buffer {"connection_id":46130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:14:56] local.INFO: Packet analysis {"connection_id":46130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:14:56] local.INFO: Extracted packet for processing {"connection_id":46130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:14:56] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":51,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766838784001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776433265000,"timestamp_ms":1776433265000,"timestamp_seconds":1776433265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bac7968"} 
[2026-04-17 19:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 19:14:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:14:56] 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-04-17 19:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766838784001,"66":25473,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766838784001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:14:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:14:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766838784001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":46130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22716,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:14:56] local.INFO: GPS data processed {"connection_id":46130,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:14:56] local.INFO: Acknowledgment sent {"connection_id":46130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:14:59] local.INFO: TCP Data received {"connection_id":46028,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bad09f0012d0c26c0072a157800b4000028..."} 
[2026-04-17 19:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bad09f0012d0c26c0072a157800b4000028..."} 
[2026-04-17 19:14:59] local.INFO: Processing buffer {"connection_id":46028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bad09f0012d0c26c0072a157800b4000028..."} 
[2026-04-17 19:14:59] local.INFO: Packet analysis {"connection_id":46028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bad"} 
[2026-04-17 19:14:59] local.INFO: Extracted packet for processing {"connection_id":46028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bad"} 
[2026-04-17 19:14:59] local.INFO: GPS Element Parsed {"raw_longitude":755771072,"raw_latitude":120198520,"longitude_deg":75.5771072,"latitude_deg":12.019852,"altitude":180,"angle":0,"satellites":40,"speed":0,"hex_longitude":"2d0c26c0","hex_latitude":"072a1578","is_valid_coordinates":true} 
[2026-04-17 19:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766919936001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113449413640192000,"note":"Value kept but may cause issues"} 
[2026-04-17 19:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":875598314573494272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:14:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776433302000,"timestamp_ms":1776433302000,"timestamp_seconds":1776433302,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bad09f0"} 
[2026-04-17 19:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:14: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-04-17 19:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":75,"data_length":795,"current_offset":136} 
[2026-04-17 19:14:59] 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-04-17 19:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46028,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766919936001,"66":12298,"81":206,"28":26368,"24":0,"16":113449413640192000,"45":875598314573494272},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,28,24,16,45]} 
[2026-04-17 19:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766919936001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:14:59] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 19:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113449413640192000,"km_value":113449413640192,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":875598314573494272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766919936001,"power":12298,"unknown_81":206,"unknown_28":26368,"ignition":0,"odometer":null,"unknown_45":875598314573494272}} 
[2026-04-17 19:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":46028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22717,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:14:59] local.INFO: GPS data processed {"connection_id":46028,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:14:59] local.INFO: Acknowledgment sent {"connection_id":46028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:15:19] local.INFO: TCP Data received {"connection_id":46131,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:15:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:15:19] local.INFO: Processing buffer {"connection_id":46131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:15:19] local.INFO: IMEI packet received {"connection_id":46131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:15:19] local.INFO: IMEI acknowledgment sent {"connection_id":46131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:15:20] local.INFO: TCP Data received {"connection_id":46131,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:15:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46131,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:15:20] local.INFO: Processing buffer {"connection_id":46131,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:15:20] local.INFO: IMEI packet received {"connection_id":46131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:15:20] local.INFO: IMEI acknowledgment sent {"connection_id":46131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:15:21] local.INFO: TCP Data received {"connection_id":46131,"ip":"117.224.221.165","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 19:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46131,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 19:15:21] local.INFO: Processing buffer {"connection_id":46131,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 19:15:21] local.INFO: IMEI packet received {"connection_id":46131,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":46131,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:15:27] local.INFO: TCP Data received {"connection_id":46130,"ip":"42.106.6.41","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46130,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:15:27] local.INFO: Processing buffer {"connection_id":46130,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:15:27] local.INFO: Packet analysis {"connection_id":46130,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:15:27] local.INFO: Extracted packet for processing {"connection_id":46130,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:15:27] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":51,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766838784001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776433265000,"timestamp_ms":1776433265000,"timestamp_seconds":1776433265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bac7968"} 
[2026-04-17 19:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 19:15:27] 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-04-17 19:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46130,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46130,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:15:27] 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-04-17 19:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766838784001,"66":25473,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.41","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766838784001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:15:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:15:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766838784001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:15:27] local.INFO: DEBUG: GPS processor result {"connection_id":46130,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22718,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:15:27] local.INFO: GPS data processed {"connection_id":46130,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:15:27] local.INFO: Acknowledgment sent {"connection_id":46130,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:15:50] local.INFO: TCP Data received {"connection_id":46887,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:15:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:15:50] local.INFO: Processing buffer {"connection_id":46887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:15:50] local.INFO: IMEI packet received {"connection_id":46887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:15:50] local.INFO: IMEI acknowledgment sent {"connection_id":46887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:15:55] local.INFO: TCP Data received {"connection_id":46887,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46887,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:15:55] local.INFO: Processing buffer {"connection_id":46887,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:15:55] local.INFO: IMEI packet received {"connection_id":46887,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":46887,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:15:56] local.INFO: TCP Data received {"connection_id":46887,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:15:56] local.INFO: Processing buffer {"connection_id":46887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:15:56] local.INFO: Packet analysis {"connection_id":46887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:15:56] local.INFO: Extracted packet for processing {"connection_id":46887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:15:56] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":51,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766838784001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776433265000,"timestamp_ms":1776433265000,"timestamp_seconds":1776433265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bac7968"} 
[2026-04-17 19:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19: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":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 19:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1121,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766838784001,"66":25473,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766838784001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:15:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:15:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766838784001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":46887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22719,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:15:56] local.INFO: GPS data processed {"connection_id":46887,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:15:56] local.INFO: Acknowledgment sent {"connection_id":46887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:16:27] local.INFO: TCP Data received {"connection_id":46887,"ip":"42.106.6.14","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46887,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:16:27] local.INFO: Processing buffer {"connection_id":46887,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bac7968012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:16:27] local.INFO: Packet analysis {"connection_id":46887,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:16:27] local.INFO: Extracted packet for processing {"connection_id":46887,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bac"} 
[2026-04-17 19:16:27] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":51,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766838784001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776433265000,"timestamp_ms":1776433265000,"timestamp_seconds":1776433265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bac7968"} 
[2026-04-17 19:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 19:16:27] 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-04-17 19:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46887,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46887,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.14","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766838784001,"66":25473,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.14","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766838784001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:16:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:16:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766838784001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":46887,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22720,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:16:27] local.INFO: GPS data processed {"connection_id":46887,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:16:27] local.INFO: Acknowledgment sent {"connection_id":46887,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:16:50] local.INFO: TCP Data received {"connection_id":46363,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:16:50] local.INFO: Processing buffer {"connection_id":46363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:16:50] local.INFO: IMEI packet received {"connection_id":46363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":46363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:16:55] local.INFO: TCP Data received {"connection_id":46363,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46363,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:16:55] local.INFO: Processing buffer {"connection_id":46363,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:16:55] local.INFO: IMEI packet received {"connection_id":46363,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":46363,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:16:56] local.INFO: TCP Data received {"connection_id":46363,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb11130012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb11130012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:16:56] local.INFO: Processing buffer {"connection_id":46363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb11130012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:16:56] local.INFO: Packet analysis {"connection_id":46363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb1"} 
[2026-04-17 19:16:56] local.INFO: Extracted packet for processing {"connection_id":46363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb1"} 
[2026-04-17 19:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":51,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766915840001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776433566000,"timestamp_ms":1776433566000,"timestamp_seconds":1776433566,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb11130"} 
[2026-04-17 19:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:16:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 19:16:56] 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-04-17 19:16:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:16:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766915840001,"66":25495,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766915840001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:16:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766915840001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":46363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22721,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:16:56] local.INFO: GPS data processed {"connection_id":46363,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:16:56] local.INFO: Acknowledgment sent {"connection_id":46363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:17:27] local.INFO: TCP Data received {"connection_id":46363,"ip":"42.106.6.22","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb11130012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46363,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb11130012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:17:27] local.INFO: Processing buffer {"connection_id":46363,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb11130012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:17:27] local.INFO: Packet analysis {"connection_id":46363,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb1"} 
[2026-04-17 19:17:27] local.INFO: Extracted packet for processing {"connection_id":46363,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb1"} 
[2026-04-17 19:17:27] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":51,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766915840001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:17:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776433566000,"timestamp_ms":1776433566000,"timestamp_seconds":1776433566,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb11130"} 
[2026-04-17 19:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:17:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:17:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 19:17:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:17:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46363,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46363,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.22","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766915840001,"66":25495,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.22","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766915840001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:17:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:17:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766915840001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":46363,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22722,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:17:27] local.INFO: GPS data processed {"connection_id":46363,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:17:27] local.INFO: Acknowledgment sent {"connection_id":46363,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:17:34] local.INFO: TCP Data received {"connection_id":46132,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:17:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46132,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:17:34] local.INFO: Processing buffer {"connection_id":46132,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:17:34] local.INFO: IMEI packet received {"connection_id":46132,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:17:34] local.INFO: IMEI acknowledgment sent {"connection_id":46132,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:17:55] local.INFO: TCP Data received {"connection_id":46133,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:17:55] local.INFO: Processing buffer {"connection_id":46133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:17:55] local.INFO: IMEI packet received {"connection_id":46133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":46133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:18:00] local.INFO: TCP Data received {"connection_id":46133,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:18:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46133,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:18:00] local.INFO: Processing buffer {"connection_id":46133,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:18:00] local.INFO: IMEI packet received {"connection_id":46133,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:18:00] local.INFO: IMEI acknowledgment sent {"connection_id":46133,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:18:01] local.INFO: TCP Data received {"connection_id":46133,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb11130012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:18:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb11130012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:18:01] local.INFO: Processing buffer {"connection_id":46133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb11130012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:18:01] local.INFO: Packet analysis {"connection_id":46133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb1"} 
[2026-04-17 19:18:01] local.INFO: Extracted packet for processing {"connection_id":46133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb1"} 
[2026-04-17 19:18:01] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":51,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:18:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766915840001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:18:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:18:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:18:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:18:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776433566000,"timestamp_ms":1776433566000,"timestamp_seconds":1776433566,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb11130"} 
[2026-04-17 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-04-17 19:18:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 19:18: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-04-17 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-04-17 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-04-17 19:18:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:18:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:18:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:18:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:18: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-04-17 19:18:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:18:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:18:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766915840001,"66":25495,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:18:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:18:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:18:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766915840001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:18:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:18:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:18:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:18:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:18:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766915840001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:18:01] local.INFO: DEBUG: GPS processor result {"connection_id":46133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22723,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:18:01] local.INFO: GPS data processed {"connection_id":46133,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:18:01] local.INFO: Acknowledgment sent {"connection_id":46133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:18:05] local.INFO: TCP Data received {"connection_id":46133,"ip":"42.106.6.42","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb11130012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb11130012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:18:05] local.INFO: Processing buffer {"connection_id":46133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb11130012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:18:05] local.INFO: Packet analysis {"connection_id":46133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb1"} 
[2026-04-17 19:18:05] local.INFO: Extracted packet for processing {"connection_id":46133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb1"} 
[2026-04-17 19:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":51,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766915840001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776433566000,"timestamp_ms":1776433566000,"timestamp_seconds":1776433566,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb11130"} 
[2026-04-17 19:18:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:18:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 19:18: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-04-17 19: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-04-17 19:18:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46133,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:18:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.42","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766915840001,"66":25495,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.42","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766915840001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:18:05] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:18:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766915840001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":46133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22724,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:18:05] local.INFO: GPS data processed {"connection_id":46133,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:18:05] local.INFO: Acknowledgment sent {"connection_id":46133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:18:16] local.INFO: TCP Data received {"connection_id":46031,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:18:16] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46031,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:18:16] local.INFO: Processing buffer {"connection_id":46031,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:18:16] local.INFO: IMEI packet received {"connection_id":46031,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:18:16] local.INFO: IMEI acknowledgment sent {"connection_id":46031,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:18:50] local.INFO: TCP Data received {"connection_id":46365,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:18:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:18:50] local.INFO: Processing buffer {"connection_id":46365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:18:50] local.INFO: IMEI packet received {"connection_id":46365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:18:50] local.INFO: IMEI acknowledgment sent {"connection_id":46365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:18:55] local.INFO: TCP Data received {"connection_id":46365,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46365,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:18:55] local.INFO: Processing buffer {"connection_id":46365,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:18:55] local.INFO: IMEI packet received {"connection_id":46365,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":46365,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:18:57] local.INFO: TCP Data received {"connection_id":46365,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb11130012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:18:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb11130012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:18:57] local.INFO: Processing buffer {"connection_id":46365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb11130012d7f9f4005afd3b0000000b233..."} 
[2026-04-17 19:18:57] local.INFO: Packet analysis {"connection_id":46365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb1"} 
[2026-04-17 19:18:57] local.INFO: Extracted packet for processing {"connection_id":46365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb1"} 
[2026-04-17 19:18:57] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":51,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19:18: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-04-17 19:18:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766915840001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:18:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:18:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:18:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:18:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776433566000,"timestamp_ms":1776433566000,"timestamp_seconds":1776433566,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb11130"} 
[2026-04-17 19:18:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:18:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:18:57] local.INFO: IO Element 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-04-17 19:18:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:18: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-04-17 19:18:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:18:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:18:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:18:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:18:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:18:57] 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-04-17 19:18:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:18:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:18:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766915840001,"66":25495,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:18:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:18:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:18:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766915840001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:18:57] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:18:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:18:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:18:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:18:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766915840001,"power":25495,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:18:57] local.INFO: DEBUG: GPS processor result {"connection_id":46365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22725,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:18:57] local.INFO: GPS data processed {"connection_id":46365,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:18:57] local.INFO: Acknowledgment sent {"connection_id":46365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:19:27] local.INFO: TCP Data received {"connection_id":46365,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb38a00012d7f9f4005afd3b0000000b231..."} 
[2026-04-17 19:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46365,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb38a00012d7f9f4005afd3b0000000b231..."} 
[2026-04-17 19:19:27] local.INFO: Processing buffer {"connection_id":46365,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb38a00012d7f9f4005afd3b0000000b231..."} 
[2026-04-17 19:19:27] local.INFO: Packet analysis {"connection_id":46365,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb3"} 
[2026-04-17 19:19:27] local.INFO: Extracted packet for processing {"connection_id":46365,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb3"} 
[2026-04-17 19:19:27] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95409072,"longitude_deg":76.333856,"latitude_deg":9.5409072,"altitude":0,"angle":178,"satellites":49,"speed":0,"hex_longitude":"2d7f9f40","hex_latitude":"05afd3b0","is_valid_coordinates":true} 
[2026-04-17 19:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454766992896001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:19:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776433728000,"timestamp_ms":1776433728000,"timestamp_seconds":1776433728,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb38a00"} 
[2026-04-17 19:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 19:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":151,"data_length":795,"current_offset":136} 
[2026-04-17 19:19:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2052,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46365,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46365,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454766992896001,"66":25473,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454766992896001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:19:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:19:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454766992896001,"power":25473,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":46365,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22726,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:19:27] local.INFO: GPS data processed {"connection_id":46365,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:19:27] local.INFO: Acknowledgment sent {"connection_id":46365,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:19:50] local.INFO: TCP Data received {"connection_id":46368,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:19:50] local.INFO: Processing buffer {"connection_id":46368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:19:50] local.INFO: IMEI packet received {"connection_id":46368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":46368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:19:51] local.INFO: TCP Data received {"connection_id":46368,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:19:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:19:51] local.INFO: Processing buffer {"connection_id":46368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:19:51] local.INFO: IMEI packet received {"connection_id":46368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:19:51] local.INFO: IMEI acknowledgment sent {"connection_id":46368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:19:55] local.INFO: TCP Data received {"connection_id":46368,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46368,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:19:55] local.INFO: Processing buffer {"connection_id":46368,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:19:55] local.INFO: IMEI packet received {"connection_id":46368,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":46368,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:19:55] local.INFO: TCP Data received {"connection_id":46368,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb3eba8012d7f9c8005afd0d8000000ab30..."} 
[2026-04-17 19:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb3eba8012d7f9c8005afd0d8000000ab30..."} 
[2026-04-17 19:19:55] local.INFO: Processing buffer {"connection_id":46368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb3eba8012d7f9c8005afd0d8000000ab30..."} 
[2026-04-17 19:19:55] local.INFO: Packet analysis {"connection_id":46368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb3"} 
[2026-04-17 19:19:55] local.INFO: Extracted packet for processing {"connection_id":46368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb3"} 
[2026-04-17 19:19:55] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95408344,"longitude_deg":76.3337856,"latitude_deg":9.5408344,"altitude":0,"angle":171,"satellites":48,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd0d8","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:19:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767034368001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:19:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:19:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196139357282742272,"note":"Value kept but may cause issues"} 
[2026-04-17 19:19:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:19:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776433753000,"timestamp_ms":1776433753000,"timestamp_seconds":1776433753,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb3eba8"} 
[2026-04-17 19:19:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:19: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-04-17 19: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 19:19:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:19:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:19:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:19:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:19:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:19:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:19:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:19:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:19:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:19:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767034368001,"66":27484,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9196139357282742272},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:19:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:19:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:19:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767034368001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:19:55] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:19:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:19:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:19:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196139357282742272,"description":"Unknown IO ID 45"} 
[2026-04-17 19:19:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767034368001,"power":27484,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9196139357282742272}} 
[2026-04-17 19:19:55] local.INFO: DEBUG: GPS processor result {"connection_id":46368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22727,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:19:55] local.INFO: GPS data processed {"connection_id":46368,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:19:55] local.INFO: Acknowledgment sent {"connection_id":46368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:20:26] local.INFO: TCP Data received {"connection_id":46889,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:20:26] local.INFO: Processing buffer {"connection_id":46889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:20:26] local.INFO: IMEI packet received {"connection_id":46889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":46889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:20:26] local.INFO: TCP Data received {"connection_id":46368,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb43db0012d7f9c8005afd0d8000000ab33..."} 
[2026-04-17 19:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46368,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb43db0012d7f9c8005afd0d8000000ab33..."} 
[2026-04-17 19:20:26] local.INFO: Processing buffer {"connection_id":46368,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb43db0012d7f9c8005afd0d8000000ab33..."} 
[2026-04-17 19:20:26] local.INFO: Packet analysis {"connection_id":46368,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb4"} 
[2026-04-17 19:20:26] local.INFO: Extracted packet for processing {"connection_id":46368,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb4"} 
[2026-04-17 19:20:26] local.INFO: GPS Element Parsed {"raw_longitude":763337856,"raw_latitude":95408344,"longitude_deg":76.3337856,"latitude_deg":9.5408344,"altitude":0,"angle":171,"satellites":51,"speed":0,"hex_longitude":"2d7f9c80","hex_latitude":"05afd0d8","is_valid_coordinates":true} 
[2026-04-17 19:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:20:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767040768001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:20:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065724333359104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:20:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096601600,"note":"Value kept but may cause issues"} 
[2026-04-17 19:20:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:20:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776433774000,"timestamp_ms":1776433774000,"timestamp_seconds":1776433774,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb43db0"} 
[2026-04-17 19:20:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:20: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-04-17 19:20:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 19:20:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:20:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:20:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:20:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:20:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46368,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:20:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:20:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46368,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:20:26] 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-04-17 19:20:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:20:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:20:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767040768001,"66":27376,"250":206,"85":12544,"24":0,"16":274065724333359104,"45":9195365301096601600},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:20:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:20:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:20:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767040768001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:20:26] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:20:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:20:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065724333359104,"km_value":274065724333359.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:20:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096601600,"description":"Unknown IO ID 45"} 
[2026-04-17 19:20:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767040768001,"power":27376,"unknown_250":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9195365301096601600}} 
[2026-04-17 19:20:26] local.INFO: DEBUG: GPS processor result {"connection_id":46368,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22728,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:20:26] local.INFO: GPS data processed {"connection_id":46368,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:20:26] local.INFO: Acknowledgment sent {"connection_id":46368,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:20:26] local.INFO: TCP Data received {"connection_id":46889,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:20:26] local.INFO: Processing buffer {"connection_id":46889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:20:26] local.INFO: IMEI packet received {"connection_id":46889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":46889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:20:31] local.INFO: TCP Data received {"connection_id":46889,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46889,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:20:31] local.INFO: Processing buffer {"connection_id":46889,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:20:31] local.INFO: IMEI packet received {"connection_id":46889,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":46889,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:20:33] local.INFO: TCP Data received {"connection_id":46889,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb38de8012d0dc7c00728396800c400c324..."} 
[2026-04-17 19:20:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb38de8012d0dc7c00728396800c400c324..."} 
[2026-04-17 19:20:33] local.INFO: Processing buffer {"connection_id":46889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb38de8012d0dc7c00728396800c400c324..."} 
[2026-04-17 19:20:33] local.INFO: Packet analysis {"connection_id":46889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb3"} 
[2026-04-17 19:20:33] local.INFO: Extracted packet for processing {"connection_id":46889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb3"} 
[2026-04-17 19:20:33] local.INFO: GPS Element Parsed {"raw_longitude":755877824,"raw_latitude":120076648,"longitude_deg":75.5877824,"latitude_deg":12.0076648,"altitude":196,"angle":195,"satellites":36,"speed":31,"hex_longitude":"2d0dc7c0","hex_latitude":"07283968","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:20:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767033856001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:20:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113458123833868288,"note":"Value kept but may cause issues"} 
[2026-04-17 19:20:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":993325223552139264,"note":"Value kept but may cause issues"} 
[2026-04-17 19:20:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:20:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776433729000,"timestamp_ms":1776433729000,"timestamp_seconds":1776433729,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb38de8"} 
[2026-04-17 19:20:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:20:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-04-17 19:20:33] 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-04-17 19: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-04-17 19:20:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:20:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:20:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:20:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:20:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:20:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:20:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:20:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:20:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767033856001,"66":13559,"167":206,"28":26368,"24":31,"16":113458123833868288,"45":993325223552139264},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,45]} 
[2026-04-17 19:20:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:20:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:20:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767033856001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:20:33] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-17 19:20:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:20:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113458123833868288,"km_value":113458123833868.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:20:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":993325223552139264,"description":"Unknown IO ID 45"} 
[2026-04-17 19:20:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767033856001,"power":13559,"unknown_167":206,"unknown_28":26368,"ignition":31,"odometer":null,"unknown_45":993325223552139264}} 
[2026-04-17 19:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":46889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22729,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:20:33] local.INFO: GPS data processed {"connection_id":46889,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:20:33] local.INFO: Acknowledgment sent {"connection_id":46889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:20:37] local.INFO: TCP Data received {"connection_id":46889,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb39d88012d0dc30007282e1000c300d326..."} 
[2026-04-17 19:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46889,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb39d88012d0dc30007282e1000c300d326..."} 
[2026-04-17 19:20:37] local.INFO: Processing buffer {"connection_id":46889,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb39d88012d0dc30007282e1000c300d326..."} 
[2026-04-17 19:20:37] local.INFO: Packet analysis {"connection_id":46889,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb3"} 
[2026-04-17 19:20:37] local.INFO: Extracted packet for processing {"connection_id":46889,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb3"} 
[2026-04-17 19:20:37] local.INFO: GPS Element Parsed {"raw_longitude":755876608,"raw_latitude":120073744,"longitude_deg":75.5876608,"latitude_deg":12.0073744,"altitude":195,"angle":211,"satellites":38,"speed":31,"hex_longitude":"2d0dc300","hex_latitude":"07282e10","is_valid_coordinates":true} 
[2026-04-17 19:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767034624001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113458274157723648,"note":"Value kept but may cause issues"} 
[2026-04-17 19:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":992973379830638592,"note":"Value kept but may cause issues"} 
[2026-04-17 19:20:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776433733000,"timestamp_ms":1776433733000,"timestamp_seconds":1776433733,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb39d88"} 
[2026-04-17 19:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:20: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-04-17 19:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-17 19:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46889,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46889,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767034624001,"66":13602,"167":206,"28":26368,"24":31,"16":113458274157723648,"45":992973379830638592},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,45]} 
[2026-04-17 19:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767034624001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:20:37] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-17 19:20:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113458274157723648,"km_value":113458274157723.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":992973379830638592,"description":"Unknown IO ID 45"} 
[2026-04-17 19:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767034624001,"power":13602,"unknown_167":206,"unknown_28":26368,"ignition":31,"odometer":null,"unknown_45":992973379830638592}} 
[2026-04-17 19:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":46889,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22730,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:20:37] local.INFO: GPS data processed {"connection_id":46889,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:20:37] local.INFO: Acknowledgment sent {"connection_id":46889,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:20:50] local.INFO: TCP Data received {"connection_id":46135,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:20:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:20:50] local.INFO: Processing buffer {"connection_id":46135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:20:50] local.INFO: IMEI packet received {"connection_id":46135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:20:50] local.INFO: IMEI acknowledgment sent {"connection_id":46135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:20:55] local.INFO: TCP Data received {"connection_id":46135,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:20:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46135,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:20:55] local.INFO: Processing buffer {"connection_id":46135,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:20:55] local.INFO: IMEI packet received {"connection_id":46135,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:20:55] local.INFO: IMEI acknowledgment sent {"connection_id":46135,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:20:56] local.INFO: TCP Data received {"connection_id":46135,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb44198012d7f9dc005afce80000b009433..."} 
[2026-04-17 19:20:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb44198012d7f9dc005afce80000b009433..."} 
[2026-04-17 19:20:56] local.INFO: Processing buffer {"connection_id":46135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb44198012d7f9dc005afce80000b009433..."} 
[2026-04-17 19:20:56] local.INFO: Packet analysis {"connection_id":46135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb4"} 
[2026-04-17 19:20:56] local.INFO: Extracted packet for processing {"connection_id":46135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb4"} 
[2026-04-17 19:20:56] local.INFO: GPS Element Parsed {"raw_longitude":763338176,"raw_latitude":95407744,"longitude_deg":76.3338176,"latitude_deg":9.5407744,"altitude":11,"angle":148,"satellites":51,"speed":4,"hex_longitude":"2d7f9dc0","hex_latitude":"05afce80","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:20:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767046144001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:20:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065754398130176,"note":"Value kept but may cause issues"} 
[2026-04-17 19:20:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195365301096601600,"note":"Value kept but may cause issues"} 
[2026-04-17 19:20:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:20:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776433775000,"timestamp_ms":1776433775000,"timestamp_seconds":1776433775,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb44198"} 
[2026-04-17 19:20:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:20:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 19:20:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:20:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:20:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:20:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:20:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:20:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:20:56] 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-04-17 19:20:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:20:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:20:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767046144001,"66":27234,"250":206,"85":12544,"24":4,"16":274065754398130176,"45":9195365301096601600},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:20:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:20:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:20:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767046144001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:20:56] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:20:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:20:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065754398130176,"km_value":274065754398130.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:20:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195365301096601600,"description":"Unknown IO ID 45"} 
[2026-04-17 19:20:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767046144001,"power":27234,"unknown_250":206,"unknown_85":12544,"ignition":4,"odometer":null,"unknown_45":9195365301096601600}} 
[2026-04-17 19:20:56] local.INFO: DEBUG: GPS processor result {"connection_id":46135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22731,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:20:56] local.INFO: GPS data processed {"connection_id":46135,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:20:56] local.INFO: Acknowledgment sent {"connection_id":46135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:21:21] local.INFO: TCP Data received {"connection_id":46136,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:21:21] local.INFO: Processing buffer {"connection_id":46136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:21:21] local.INFO: IMEI packet received {"connection_id":46136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":46136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:21:27] local.INFO: TCP Data received {"connection_id":46136,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:21:27] local.INFO: Processing buffer {"connection_id":46136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:21:27] local.INFO: IMEI packet received {"connection_id":46136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:21:27] local.INFO: IMEI acknowledgment sent {"connection_id":46136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:21:27] local.INFO: TCP Data received {"connection_id":46135,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb44580012d7f9e0005afce10000b008433..."} 
[2026-04-17 19:21:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb44580012d7f9e0005afce10000b008433..."} 
[2026-04-17 19:21:27] local.INFO: Processing buffer {"connection_id":46135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb44580012d7f9e0005afce10000b008433..."} 
[2026-04-17 19:21:27] local.INFO: Packet analysis {"connection_id":46135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb4"} 
[2026-04-17 19:21:27] local.INFO: Extracted packet for processing {"connection_id":46135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb4"} 
[2026-04-17 19:21:27] local.INFO: GPS Element Parsed {"raw_longitude":763338240,"raw_latitude":95407632,"longitude_deg":76.333824,"latitude_deg":9.5407632,"altitude":11,"angle":132,"satellites":51,"speed":6,"hex_longitude":"2d7f9e00","hex_latitude":"05afce10","is_valid_coordinates":true} 
[2026-04-17 19:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:21:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767046400001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:21:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274065762988064768,"note":"Value kept but may cause issues"} 
[2026-04-17 19:21:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195717144817336320,"note":"Value kept but may cause issues"} 
[2026-04-17 19:21:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:21:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776433776000,"timestamp_ms":1776433776000,"timestamp_seconds":1776433776,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb44580"} 
[2026-04-17 19:21:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:21:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:21:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 19:21:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:21:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:21:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:21:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:21:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:21:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:21:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46135,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:21:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:21:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:21:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:21:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767046400001,"66":27234,"250":206,"85":12544,"24":6,"16":274065762988064768,"45":9195717144817336320},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:21:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:21:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:21:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767046400001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:21:27] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:21:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:21:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274065762988064768,"km_value":274065762988064.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:21:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195717144817336320,"description":"Unknown IO ID 45"} 
[2026-04-17 19:21:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767046400001,"power":27234,"unknown_250":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9195717144817336320}} 
[2026-04-17 19:21:27] local.INFO: DEBUG: GPS processor result {"connection_id":46135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22732,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:21:27] local.INFO: GPS data processed {"connection_id":46135,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:21:27] local.INFO: Acknowledgment sent {"connection_id":46135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:21:28] local.INFO: TCP Data received {"connection_id":46136,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb3b8e0012d0db5c007281e3800c100e026..."} 
[2026-04-17 19:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb3b8e0012d0db5c007281e3800c100e026..."} 
[2026-04-17 19:21:28] local.INFO: Processing buffer {"connection_id":46136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb3b8e0012d0db5c007281e3800c100e026..."} 
[2026-04-17 19:21:28] local.INFO: Packet analysis {"connection_id":46136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb3"} 
[2026-04-17 19:21:28] local.INFO: Extracted packet for processing {"connection_id":46136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb3"} 
[2026-04-17 19:21:28] local.INFO: GPS Element Parsed {"raw_longitude":755873216,"raw_latitude":120069688,"longitude_deg":75.5873216,"latitude_deg":12.0069688,"altitude":193,"angle":224,"satellites":38,"speed":30,"hex_longitude":"2d0db5c0","hex_latitude":"07281e38","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767035648001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113458531855761408,"note":"Value kept but may cause issues"} 
[2026-04-17 19:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":991636373690519552,"note":"Value kept but may cause issues"} 
[2026-04-17 19:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776433740000,"timestamp_ms":1776433740000,"timestamp_seconds":1776433740,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb3b8e0"} 
[2026-04-17 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-04-17 19:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-17 19:21:28] 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-04-17 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-04-17 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-04-17 19:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767035648001,"66":13656,"167":206,"28":26368,"24":30,"16":113458531855761408,"45":991636373690519552},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,45]} 
[2026-04-17 19:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767035648001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:21:28] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-17 19:21:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113458531855761408,"km_value":113458531855761.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":991636373690519552,"description":"Unknown IO ID 45"} 
[2026-04-17 19:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767035648001,"power":13656,"unknown_167":206,"unknown_28":26368,"ignition":30,"odometer":null,"unknown_45":991636373690519552}} 
[2026-04-17 19:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":46136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22733,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:21:28] local.INFO: GPS data processed {"connection_id":46136,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:21:28] local.INFO: Acknowledgment sent {"connection_id":46136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:21:32] local.INFO: TCP Data received {"connection_id":46136,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb3ef90012d0d9f80072808e800bd00d028..."} 
[2026-04-17 19:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb3ef90012d0d9f80072808e800bd00d028..."} 
[2026-04-17 19:21:32] local.INFO: Processing buffer {"connection_id":46136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb3ef90012d0d9f80072808e800bd00d028..."} 
[2026-04-17 19:21:32] local.INFO: Packet analysis {"connection_id":46136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb3"} 
[2026-04-17 19:21:32] local.INFO: Extracted packet for processing {"connection_id":46136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb3"} 
[2026-04-17 19:21:32] local.INFO: GPS Element Parsed {"raw_longitude":755867520,"raw_latitude":120064232,"longitude_deg":75.586752,"latitude_deg":12.0064232,"altitude":189,"angle":208,"satellites":40,"speed":9,"hex_longitude":"2d0d9f80","hex_latitude":"072808e8","is_valid_coordinates":true} 
[2026-04-17 19:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767037440001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113458909812883456,"note":"Value kept but may cause issues"} 
[2026-04-17 19:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":987906830248065024,"note":"Value kept but may cause issues"} 
[2026-04-17 19:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776433754000,"timestamp_ms":1776433754000,"timestamp_seconds":1776433754,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb3ef90"} 
[2026-04-17 19:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:21: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-04-17 19:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-17 19:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767037440001,"66":12993,"167":206,"28":26368,"24":9,"16":113458909812883456,"45":987906830248065024},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,45]} 
[2026-04-17 19:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767037440001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:21:32] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-17 19:21:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113458909812883456,"km_value":113458909812883.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":987906830248065024,"description":"Unknown IO ID 45"} 
[2026-04-17 19:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767037440001,"power":12993,"unknown_167":206,"unknown_28":26368,"ignition":9,"odometer":null,"unknown_45":987906830248065024}} 
[2026-04-17 19:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":46136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22734,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:21:32] local.INFO: GPS data processed {"connection_id":46136,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:21:32] local.INFO: Acknowledgment sent {"connection_id":46136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:21:55] local.INFO: TCP Data received {"connection_id":46370,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:21:55] local.INFO: Processing buffer {"connection_id":46370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:21:55] local.INFO: IMEI packet received {"connection_id":46370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":46370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:21:59] local.INFO: TCP Data received {"connection_id":46370,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46370,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:21:59] local.INFO: Processing buffer {"connection_id":46370,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:21:59] local.INFO: IMEI packet received {"connection_id":46370,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:21:59] local.INFO: IMEI acknowledgment sent {"connection_id":46370,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:22:00] local.INFO: TCP Data received {"connection_id":46370,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb56e60012d7fa00005afb9c8000b00c031..."} 
[2026-04-17 19:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb56e60012d7fa00005afb9c8000b00c031..."} 
[2026-04-17 19:22:00] local.INFO: Processing buffer {"connection_id":46370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb56e60012d7fa00005afb9c8000b00c031..."} 
[2026-04-17 19:22:00] local.INFO: Packet analysis {"connection_id":46370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb5"} 
[2026-04-17 19:22:00] local.INFO: Extracted packet for processing {"connection_id":46370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb5"} 
[2026-04-17 19:22:00] local.INFO: GPS Element Parsed {"raw_longitude":763338752,"raw_latitude":95402440,"longitude_deg":76.3338752,"latitude_deg":9.540244,"altitude":11,"angle":192,"satellites":49,"speed":7,"hex_longitude":"2d7fa000","hex_latitude":"05afb9c8","is_valid_coordinates":true} 
[2026-04-17 19:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767060736001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274066067930742784,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196631938490511360,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776433852000,"timestamp_ms":1776433852000,"timestamp_seconds":1776433852,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb56e60"} 
[2026-04-17 19:22:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:22:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 19:22:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:22:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:22:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:22: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-04-17 19:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767060736001,"66":27397,"250":206,"85":12544,"24":7,"16":274066067930742784,"45":9196631938490511360},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767060736001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:22:00] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:22:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274066067930742784,"km_value":274066067930742.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196631938490511360,"description":"Unknown IO ID 45"} 
[2026-04-17 19:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767060736001,"power":27397,"unknown_250":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9196631938490511360}} 
[2026-04-17 19:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":46370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22735,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:22:00] local.INFO: GPS data processed {"connection_id":46370,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:22:00] local.INFO: Acknowledgment sent {"connection_id":46370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:22:01] local.INFO: TCP Data received {"connection_id":46370,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb57a18012d7f9f8005afb858000b00d533..."} 
[2026-04-17 19:22:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb57a18012d7f9f8005afb858000b00d533..."} 
[2026-04-17 19:22:01] local.INFO: Processing buffer {"connection_id":46370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb57a18012d7f9f8005afb858000b00d533..."} 
[2026-04-17 19:22:01] local.INFO: Packet analysis {"connection_id":46370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb5"} 
[2026-04-17 19:22:01] local.INFO: Extracted packet for processing {"connection_id":46370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb5"} 
[2026-04-17 19:22:01] local.INFO: GPS Element Parsed {"raw_longitude":763338624,"raw_latitude":95402072,"longitude_deg":76.3338624,"latitude_deg":9.5402072,"altitude":11,"angle":213,"satellites":51,"speed":3,"hex_longitude":"2d7f9f80","hex_latitude":"05afb858","is_valid_coordinates":true} 
[2026-04-17 19:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:22:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767066112001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274066089405579264,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196350463513577472,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:22:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776433855000,"timestamp_ms":1776433855000,"timestamp_seconds":1776433855,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb57a18"} 
[2026-04-17 19:22:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:22:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:22:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 19:22: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-04-17 19:22:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:22:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:22:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:22:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:22:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:22:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:22: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-04-17 19:22:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:22:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:22:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767066112001,"66":27343,"250":206,"85":12544,"24":3,"16":274066089405579264,"45":9196350463513577472},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:22:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:22:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:22:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767066112001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:22:01] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:22:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:22:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274066089405579264,"km_value":274066089405579.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:22:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196350463513577472,"description":"Unknown IO ID 45"} 
[2026-04-17 19:22:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767066112001,"power":27343,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9196350463513577472}} 
[2026-04-17 19:22:01] local.INFO: DEBUG: GPS processor result {"connection_id":46370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22736,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:22:01] local.INFO: GPS data processed {"connection_id":46370,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:22:01] local.INFO: Acknowledgment sent {"connection_id":46370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:22:04] local.INFO: TCP Data received {"connection_id":46136,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb3f760012d0d9f400728077800bd00ab28..."} 
[2026-04-17 19:22:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb3f760012d0d9f400728077800bd00ab28..."} 
[2026-04-17 19:22:04] local.INFO: Processing buffer {"connection_id":46136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb3f760012d0d9f400728077800bd00ab28..."} 
[2026-04-17 19:22:04] local.INFO: Packet analysis {"connection_id":46136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb3"} 
[2026-04-17 19:22:04] local.INFO: Extracted packet for processing {"connection_id":46136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb3"} 
[2026-04-17 19:22:04] local.INFO: GPS Element Parsed {"raw_longitude":755867456,"raw_latitude":120063864,"longitude_deg":75.5867456,"latitude_deg":12.0063864,"altitude":189,"angle":171,"satellites":40,"speed":5,"hex_longitude":"2d0d9f40","hex_latitude":"07280778","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:22:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767041024001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113458926992752640,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981644012014856192,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:22:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776433756000,"timestamp_ms":1776433756000,"timestamp_seconds":1776433756,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb3f760"} 
[2026-04-17 19:22:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:22: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-04-17 19: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":50,"n8_eight_byte":193,"data_length":795,"current_offset":136} 
[2026-04-17 19:22:04] 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-04-17 19: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-04-17 19:22:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:22:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:22:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:22:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:22:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:22:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:22:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:22:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:22:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767041024001,"66":13602,"167":206,"28":26368,"24":5,"16":113458926992752640,"45":981644012014856192},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,45]} 
[2026-04-17 19:22:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:22:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:22:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767041024001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:22:04] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-17 19:22:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:22:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113458926992752640,"km_value":113458926992752.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:22:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":981644012014856192,"description":"Unknown IO ID 45"} 
[2026-04-17 19:22:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767041024001,"power":13602,"unknown_167":206,"unknown_28":26368,"ignition":5,"odometer":null,"unknown_45":981644012014856192}} 
[2026-04-17 19:22:04] local.INFO: DEBUG: GPS processor result {"connection_id":46136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22737,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:22:04] local.INFO: GPS data processed {"connection_id":46136,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:22:04] local.INFO: Acknowledgment sent {"connection_id":46136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:22:21] local.INFO: TCP Data received {"connection_id":46032,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:22:21] local.INFO: Processing buffer {"connection_id":46032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:22:21] local.INFO: IMEI packet received {"connection_id":46032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":46032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:22:26] local.INFO: TCP Data received {"connection_id":46032,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46032,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:22:26] local.INFO: Processing buffer {"connection_id":46032,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:22:26] local.INFO: IMEI packet received {"connection_id":46032,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":46032,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:22:28] local.INFO: TCP Data received {"connection_id":46032,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb412b8012d0da040072806f000bc006727..."} 
[2026-04-17 19:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb412b8012d0da040072806f000bc006727..."} 
[2026-04-17 19:22:28] local.INFO: Processing buffer {"connection_id":46032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb412b8012d0da040072806f000bc006727..."} 
[2026-04-17 19:22:28] local.INFO: Packet analysis {"connection_id":46032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb4"} 
[2026-04-17 19:22:28] local.INFO: Extracted packet for processing {"connection_id":46032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb4"} 
[2026-04-17 19:22:28] local.INFO: GPS Element Parsed {"raw_longitude":755867712,"raw_latitude":120063728,"longitude_deg":75.5867712,"latitude_deg":12.0063728,"altitude":188,"angle":103,"satellites":39,"speed":7,"hex_longitude":"2d0da040","hex_latitude":"072806f0","is_valid_coordinates":true} 
[2026-04-17 19:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767041536001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113458944172621824,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981573643270584320,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776433763000,"timestamp_ms":1776433763000,"timestamp_seconds":1776433763,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb412b8"} 
[2026-04-17 19:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-17 19:22:28] 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-04-17 19:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767041536001,"66":12982,"167":206,"28":26368,"24":7,"16":113458944172621824,"45":981573643270584320},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,45]} 
[2026-04-17 19:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767041536001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:22:28] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-17 19:22:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113458944172621824,"km_value":113458944172621.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":981573643270584320,"description":"Unknown IO ID 45"} 
[2026-04-17 19:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767041536001,"power":12982,"unknown_167":206,"unknown_28":26368,"ignition":7,"odometer":null,"unknown_45":981573643270584320}} 
[2026-04-17 19:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":46032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22738,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:22:28] local.INFO: GPS data processed {"connection_id":46032,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:22:28] local.INFO: Acknowledgment sent {"connection_id":46032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:22:32] local.INFO: TCP Data received {"connection_id":46370,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb57e00012d7f9f8005afb828000b00c932..."} 
[2026-04-17 19:22:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46370,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb57e00012d7f9f8005afb828000b00c932..."} 
[2026-04-17 19:22:32] local.INFO: Processing buffer {"connection_id":46370,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb57e00012d7f9f8005afb828000b00c932..."} 
[2026-04-17 19:22:32] local.INFO: Packet analysis {"connection_id":46370,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb5"} 
[2026-04-17 19:22:32] local.INFO: Extracted packet for processing {"connection_id":46370,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb5"} 
[2026-04-17 19:22:32] local.INFO: GPS Element Parsed {"raw_longitude":763338624,"raw_latitude":95402024,"longitude_deg":76.3338624,"latitude_deg":9.5402024,"altitude":11,"angle":201,"satellites":50,"speed":1,"hex_longitude":"2d7f9f80","hex_latitude":"05afb828","is_valid_coordinates":true} 
[2026-04-17 19:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:22:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767066880001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274066089405579264,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196209726025127936,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:22:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776433856000,"timestamp_ms":1776433856000,"timestamp_seconds":1776433856,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb57e00"} 
[2026-04-17 19:22:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:22:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:22:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 19:22: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-04-17 19:22:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:22:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:22:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:22:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46370,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:22:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:22:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46370,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:22:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:22:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:22:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:22:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767066880001,"66":27343,"250":206,"85":12544,"24":1,"16":274066089405579264,"45":9196209726025127936},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:22:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:22:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:22:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767066880001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:22:32] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:22:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:22:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274066089405579264,"km_value":274066089405579.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:22:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196209726025127936,"description":"Unknown IO ID 45"} 
[2026-04-17 19:22:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767066880001,"power":27343,"unknown_250":206,"unknown_85":12544,"ignition":1,"odometer":null,"unknown_45":9196209726025127936}} 
[2026-04-17 19:22:32] local.INFO: DEBUG: GPS processor result {"connection_id":46370,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22739,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:22:32] local.INFO: GPS data processed {"connection_id":46370,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:22:32] local.INFO: Acknowledgment sent {"connection_id":46370,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:22:50] local.INFO: TCP Data received {"connection_id":46033,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:22:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:22:50] local.INFO: Processing buffer {"connection_id":46033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:22:50] local.INFO: IMEI packet received {"connection_id":46033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:22:50] local.INFO: IMEI acknowledgment sent {"connection_id":46033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:22:52] local.INFO: TCP Data received {"connection_id":46033,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:22:52] local.INFO: Processing buffer {"connection_id":46033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:22:52] local.INFO: IMEI packet received {"connection_id":46033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:22:52] local.INFO: IMEI acknowledgment sent {"connection_id":46033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:22:52] local.INFO: TCP Data received {"connection_id":46033,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb585d0012d7f9f4005afb7d0000b00da2f..."} 
[2026-04-17 19:22:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb585d0012d7f9f4005afb7d0000b00da2f..."} 
[2026-04-17 19:22:52] local.INFO: Processing buffer {"connection_id":46033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb585d0012d7f9f4005afb7d0000b00da2f..."} 
[2026-04-17 19:22:52] local.INFO: Packet analysis {"connection_id":46033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb5"} 
[2026-04-17 19:22:52] local.INFO: Extracted packet for processing {"connection_id":46033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb5"} 
[2026-04-17 19:22:52] local.INFO: GPS Element Parsed {"raw_longitude":763338560,"raw_latitude":95401936,"longitude_deg":76.333856,"latitude_deg":9.5401936,"altitude":11,"angle":218,"satellites":47,"speed":3,"hex_longitude":"2d7f9f40","hex_latitude":"05afb7d0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:22:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767067136001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274066097995513856,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9196209726025115648,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,250,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:22:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776433858000,"timestamp_ms":1776433858000,"timestamp_seconds":1776433858,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb585d0"} 
[2026-04-17 19:22:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:22: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-04-17 19:22:52] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 19:22:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:22:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:22:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:22:52] local.INFO: Teltonika packet parsed successfully {"connection_id":46033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:22:52] local.INFO: Passing IMEI to GPS processor {"connection_id":46033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:22:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":46033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:22:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:22:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:22:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:22:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767067136001,"66":27332,"250":206,"85":12544,"24":3,"16":274066097995513856,"45":9196209726025115648},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,250,85,24,16,45]} 
[2026-04-17 19:22:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:22:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:22:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767067136001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:22:52] local.INFO: Unknown IO ID detected {"io_id":250,"value":206,"description":"Unknown IO ID 250"} 
[2026-04-17 19:22:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:22:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274066097995513856,"km_value":274066097995513.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:22:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":9196209726025115648,"description":"Unknown IO ID 45"} 
[2026-04-17 19:22:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767067136001,"power":27332,"unknown_250":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9196209726025115648}} 
[2026-04-17 19:22:52] local.INFO: DEBUG: GPS processor result {"connection_id":46033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22740,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:22:52] local.INFO: GPS data processed {"connection_id":46033,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:22:52] local.INFO: Acknowledgment sent {"connection_id":46033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:22:59] local.INFO: TCP Data received {"connection_id":46032,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb41e70012d0da3400728069800bb005929..."} 
[2026-04-17 19:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46032,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb41e70012d0da3400728069800bb005929..."} 
[2026-04-17 19:22:59] local.INFO: Processing buffer {"connection_id":46032,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb41e70012d0da3400728069800bb005929..."} 
[2026-04-17 19:22:59] local.INFO: Packet analysis {"connection_id":46032,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb4"} 
[2026-04-17 19:22:59] local.INFO: Extracted packet for processing {"connection_id":46032,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb4"} 
[2026-04-17 19:22:59] local.INFO: GPS Element Parsed {"raw_longitude":755868480,"raw_latitude":120063640,"longitude_deg":75.586848,"latitude_deg":12.006364,"altitude":187,"angle":89,"satellites":41,"speed":10,"hex_longitude":"2d0da340","hex_latitude":"07280698","is_valid_coordinates":true} 
[2026-04-17 19:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767043328001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113458978532360192,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":981855118247260160,"note":"Value kept but may cause issues"} 
[2026-04-17 19:22:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,167,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776433766000,"timestamp_ms":1776433766000,"timestamp_seconds":1776433766,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb41e70"} 
[2026-04-17 19:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:22: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-04-17 19:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":182,"data_length":795,"current_offset":136} 
[2026-04-17 19:22:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2086,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46032,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46032,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767043328001,"66":13091,"167":206,"28":26368,"24":10,"16":113458978532360192,"45":981855118247260160},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,167,28,24,16,45]} 
[2026-04-17 19:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767043328001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:22:59] local.INFO: Unknown IO ID detected {"io_id":167,"value":206,"description":"Unknown IO ID 167"} 
[2026-04-17 19:22:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113458978532360192,"km_value":113458978532360.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":981855118247260160,"description":"Unknown IO ID 45"} 
[2026-04-17 19:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767043328001,"power":13091,"unknown_167":206,"unknown_28":26368,"ignition":10,"odometer":null,"unknown_45":981855118247260160}} 
[2026-04-17 19:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":46032,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22741,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:23:00] local.INFO: GPS data processed {"connection_id":46032,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:23:00] local.INFO: Acknowledgment sent {"connection_id":46032,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:23:22] local.INFO: TCP Data received {"connection_id":46372,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:23:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:23:22] local.INFO: Processing buffer {"connection_id":46372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:23:22] local.INFO: IMEI packet received {"connection_id":46372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:23:22] local.INFO: IMEI acknowledgment sent {"connection_id":46372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:23:23] local.INFO: TCP Data received {"connection_id":46033,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb70888012d7f2c4005af56080008013a2f..."} 
[2026-04-17 19:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb70888012d7f2c4005af56080008013a2f..."} 
[2026-04-17 19:23:24] local.INFO: Processing buffer {"connection_id":46033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb70888012d7f2c4005af56080008013a2f..."} 
[2026-04-17 19:23:24] local.INFO: Packet analysis {"connection_id":46033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb7"} 
[2026-04-17 19:23:24] local.INFO: Extracted packet for processing {"connection_id":46033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb7"} 
[2026-04-17 19:23:24] local.INFO: GPS Element Parsed {"raw_longitude":763309120,"raw_latitude":95376904,"longitude_deg":76.330912,"latitude_deg":9.5376904,"altitude":8,"angle":314,"satellites":47,"speed":15,"hex_longitude":"2d7f2c40","hex_latitude":"05af5608","is_valid_coordinates":true} 
[2026-04-17 19:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:23:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767092736001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:23:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274068623436283904,"note":"Value kept but may cause issues"} 
[2026-04-17 19:23:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9164051209929431040,"note":"Value kept but may cause issues"} 
[2026-04-17 19:23:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:23:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776433957000,"timestamp_ms":1776433957000,"timestamp_seconds":1776433957,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb70888"} 
[2026-04-17 19:23:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:23: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-04-17 19:23:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 19:23:24] 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-04-17 19:23:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:23:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:23:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:23:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:23:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:23:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:23:24] 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-04-17 19:23:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:23:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:23:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767092736001,"66":27332,"28":206,"85":12544,"24":15,"16":274068623436283904,"45":9164051209929431040},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 19:23:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:23:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:23:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767092736001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:23:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 19:23:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:23:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274068623436283904,"km_value":274068623436283.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:23:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":9164051209929431040,"description":"Unknown IO ID 45"} 
[2026-04-17 19:23:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767092736001,"power":27332,"unknown_28":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9164051209929431040}} 
[2026-04-17 19:23:24] local.INFO: DEBUG: GPS processor result {"connection_id":46033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22742,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:23:24] local.INFO: GPS data processed {"connection_id":46033,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:23:24] local.INFO: Acknowledgment sent {"connection_id":46033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:23:27] local.INFO: TCP Data received {"connection_id":46372,"ip":"117.224.221.165","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46372,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:23:27] local.INFO: Processing buffer {"connection_id":46372,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:23:27] local.INFO: IMEI packet received {"connection_id":46372,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:23:27] local.INFO: IMEI acknowledgment sent {"connection_id":46372,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:23:28] local.INFO: TCP Data received {"connection_id":46372,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb6ca08012d0de8400727f43000cc007824..."} 
[2026-04-17 19:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb6ca08012d0de8400727f43000cc007824..."} 
[2026-04-17 19:23:28] local.INFO: Processing buffer {"connection_id":46372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb6ca08012d0de8400727f43000cc007824..."} 
[2026-04-17 19:23:28] local.INFO: Packet analysis {"connection_id":46372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb6"} 
[2026-04-17 19:23:28] local.INFO: Extracted packet for processing {"connection_id":46372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb6"} 
[2026-04-17 19:23:28] local.INFO: GPS Element Parsed {"raw_longitude":755886144,"raw_latitude":120058928,"longitude_deg":75.5886144,"latitude_deg":12.0058928,"altitude":204,"angle":120,"satellites":36,"speed":11,"hex_longitude":"2d0de840","hex_latitude":"0727f430","is_valid_coordinates":true} 
[2026-04-17 19:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767083520001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113459906245296128,"note":"Value kept but may cause issues"} 
[2026-04-17 19:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1001206522894970880,"note":"Value kept but may cause issues"} 
[2026-04-17 19:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776433941000,"timestamp_ms":1776433941000,"timestamp_seconds":1776433941,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb6ca08"} 
[2026-04-17 19:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-04-17 19:23:28] 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-04-17 19:23:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767083520001,"66":13580,"166":206,"28":26368,"24":11,"16":113459906245296128,"45":1001206522894970880},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,45]} 
[2026-04-17 19:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767083520001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:23:28] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-17 19:23:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113459906245296128,"km_value":113459906245296.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1001206522894970880,"description":"Unknown IO ID 45"} 
[2026-04-17 19:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767083520001,"power":13580,"unknown_166":206,"unknown_28":26368,"ignition":11,"odometer":null,"unknown_45":1001206522894970880}} 
[2026-04-17 19:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":46372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22743,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:23:28] local.INFO: GPS data processed {"connection_id":46372,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:23:28] local.INFO: Acknowledgment sent {"connection_id":46372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:23:29] local.INFO: TCP Data received {"connection_id":46371,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:23:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46371,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:23:29] local.INFO: Processing buffer {"connection_id":46371,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:23:29] local.INFO: IMEI packet received {"connection_id":46371,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:23:29] local.INFO: IMEI acknowledgment sent {"connection_id":46371,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:23:50] local.INFO: TCP Data received {"connection_id":46373,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:23:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:23:50] local.INFO: Processing buffer {"connection_id":46373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:23:50] local.INFO: IMEI packet received {"connection_id":46373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:23:50] local.INFO: IMEI acknowledgment sent {"connection_id":46373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:23:55] local.INFO: TCP Data received {"connection_id":46373,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46373,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:23:55] local.INFO: Processing buffer {"connection_id":46373,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:23:55] local.INFO: IMEI packet received {"connection_id":46373,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":46373,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:23:56] local.INFO: TCP Data received {"connection_id":46373,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb70c70012d7f2b8005af57780007014e2e..."} 
[2026-04-17 19:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb70c70012d7f2b8005af57780007014e2e..."} 
[2026-04-17 19:23:56] local.INFO: Processing buffer {"connection_id":46373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb70c70012d7f2b8005af57780007014e2e..."} 
[2026-04-17 19:23:56] local.INFO: Packet analysis {"connection_id":46373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb7"} 
[2026-04-17 19:23:56] local.INFO: Extracted packet for processing {"connection_id":46373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb7"} 
[2026-04-17 19:23:56] local.INFO: GPS Element Parsed {"raw_longitude":763308928,"raw_latitude":95377272,"longitude_deg":76.3308928,"latitude_deg":9.5377272,"altitude":7,"angle":334,"satellites":46,"speed":15,"hex_longitude":"2d7f2b80","hex_latitude":"05af5778","is_valid_coordinates":true} 
[2026-04-17 19:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:23:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767092992001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:23:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274068644911120384,"note":"Value kept but may cause issues"} 
[2026-04-17 19:23:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163769734952781824,"note":"Value kept but may cause issues"} 
[2026-04-17 19:23:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:23:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776433958000,"timestamp_ms":1776433958000,"timestamp_seconds":1776433958,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb70c70"} 
[2026-04-17 19:23:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:23:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:23:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 19:23:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:23:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:23:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:23:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:23:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:23:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:23:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:23:56] 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-04-17 19:23:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:23:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:23:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767092992001,"66":27332,"28":206,"85":12544,"24":15,"16":274068644911120384,"45":9163769734952781824},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 19:23:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:23:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:23:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767092992001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:23:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 19:23:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:23:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274068644911120384,"km_value":274068644911120.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:23:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163769734952781824,"description":"Unknown IO ID 45"} 
[2026-04-17 19:23:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767092992001,"power":27332,"unknown_28":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9163769734952781824}} 
[2026-04-17 19:23:56] local.INFO: DEBUG: GPS processor result {"connection_id":46373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22744,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:23:56] local.INFO: GPS data processed {"connection_id":46373,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:23:56] local.INFO: Acknowledgment sent {"connection_id":46373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:24:01] local.INFO: TCP Data received {"connection_id":46372,"ip":"117.224.221.165","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb71440012d0e06000727e0a000d0007126..."} 
[2026-04-17 19:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46372,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb71440012d0e06000727e0a000d0007126..."} 
[2026-04-17 19:24:01] local.INFO: Processing buffer {"connection_id":46372,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb71440012d0e06000727e0a000d0007126..."} 
[2026-04-17 19:24:01] local.INFO: Packet analysis {"connection_id":46372,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb7"} 
[2026-04-17 19:24:01] local.INFO: Extracted packet for processing {"connection_id":46372,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb7"} 
[2026-04-17 19:24:01] local.INFO: GPS Element Parsed {"raw_longitude":755893760,"raw_latitude":120053920,"longitude_deg":75.589376,"latitude_deg":12.005392,"altitude":208,"angle":113,"satellites":38,"speed":20,"hex_longitude":"2d0e0600","hex_latitude":"0727e0a0","is_valid_coordinates":true} 
[2026-04-17 19:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767088896001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113460344331960320,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1002121316569198592,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776433960000,"timestamp_ms":1776433960000,"timestamp_seconds":1776433960,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb71440"} 
[2026-04-17 19:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:24:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-17 19:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867888919,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:01] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2612321752,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:01] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7847770840320966656,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:01] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:01] local.WARNING: Large IO value detected {"io_id":103,"raw_value":6755446685827313,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:01] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3045189633,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:01] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18629979005610407,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:01] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1772552398,"corrected_to":0} 
[2026-04-17 19:24:01] local.WARNING: Large IO value detected {"io_id":47,"raw_value":3758173453,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:01] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:01] local.WARNING: Large IO value detected {"io_id":13,"raw_value":-2197748749905690427,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:01] local.WARNING: Large IO value detected {"io_id":46,"raw_value":-5115863323035775460,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:01] local.INFO: IO Element Parsed {"io_data_count":38,"io_data_keys":[0,166,28,24,241,158,16,23,157,120,45,245,198,33,10,66,37,36,211,1,240,103,155,39,4,113,205,47,229,112,239,48,167,2,147,7,13,46],"length":577,"final_offset":707,"validated_count":38,"validation_warnings":[{"io_id":205,"original":1772552398,"validated":0}]} 
[2026-04-17 19:24:01] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":-3746862793957376000,"timestamp_seconds":-3746862793957376,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 19:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46372,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46372,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.221.165","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767088896001,"66":12809,"166":206,"28":26368,"24":20,"16":113460344331960320,"45":1002121316569198592},"client_ip":"117.224.221.165","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,45]} 
[2026-04-17 19:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767088896001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:24:01] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-17 19:24:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113460344331960320,"km_value":113460344331960.31,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1002121316569198592,"description":"Unknown IO ID 45"} 
[2026-04-17 19:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767088896001,"power":12809,"unknown_166":206,"unknown_28":26368,"ignition":20,"odometer":null,"unknown_45":1002121316569198592}} 
[2026-04-17 19:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":46372,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22745,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:24:01] local.INFO: GPS data processed {"connection_id":46372,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:24:01] local.INFO: Acknowledgment sent {"connection_id":46372,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:24:04] local.INFO: TCP Data received {"connection_id":46891,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46891,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:24:04] local.INFO: Processing buffer {"connection_id":46891,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:24:04] local.INFO: IMEI packet received {"connection_id":46891,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":46891,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:24:27] local.INFO: TCP Data received {"connection_id":46373,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb71058012d7f2b4005af59280007015f30..."} 
[2026-04-17 19:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46373,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb71058012d7f2b4005af59280007015f30..."} 
[2026-04-17 19:24:27] local.INFO: Processing buffer {"connection_id":46373,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb71058012d7f2b4005af59280007015f30..."} 
[2026-04-17 19:24:27] local.INFO: Packet analysis {"connection_id":46373,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb7"} 
[2026-04-17 19:24:27] local.INFO: Extracted packet for processing {"connection_id":46373,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb7"} 
[2026-04-17 19:24:27] local.INFO: GPS Element Parsed {"raw_longitude":763308864,"raw_latitude":95377704,"longitude_deg":76.3308864,"latitude_deg":9.5377704,"altitude":7,"angle":351,"satellites":48,"speed":17,"hex_longitude":"2d7f2b40","hex_latitude":"05af5928","is_valid_coordinates":true} 
[2026-04-17 19:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767093248001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274068662090989568,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9163558628720343040,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776433959000,"timestamp_ms":1776433959000,"timestamp_seconds":1776433959,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb71058"} 
[2026-04-17 19:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:24:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 19:24:27] 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-04-17 19:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46373,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46373,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767093248001,"66":27484,"28":206,"85":12544,"24":17,"16":274068662090989568,"45":9163558628720343040},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 19:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767093248001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:24:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 19:24:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274068662090989568,"km_value":274068662090989.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9163558628720343040,"description":"Unknown IO ID 45"} 
[2026-04-17 19:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767093248001,"power":27484,"unknown_28":206,"unknown_85":12544,"ignition":17,"odometer":null,"unknown_45":9163558628720343040}} 
[2026-04-17 19:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":46373,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22746,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:24:27] local.INFO: GPS data processed {"connection_id":46373,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:24:27] local.INFO: Acknowledgment sent {"connection_id":46373,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:24:50] local.INFO: TCP Data received {"connection_id":46034,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:24:50] local.INFO: Processing buffer {"connection_id":46034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:24:50] local.INFO: IMEI packet received {"connection_id":46034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":46034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:24:55] local.INFO: TCP Data received {"connection_id":46034,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:24:55] local.INFO: Processing buffer {"connection_id":46034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:24:55] local.INFO: IMEI packet received {"connection_id":46034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":46034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:24:56] local.INFO: TCP Data received {"connection_id":46034,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb82998012d7ea0c005af7410000800d82f..."} 
[2026-04-17 19:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb82998012d7ea0c005af7410000800d82f..."} 
[2026-04-17 19:24:56] local.INFO: Processing buffer {"connection_id":46034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb82998012d7ea0c005af7410000800d82f..."} 
[2026-04-17 19:24:56] local.INFO: Packet analysis {"connection_id":46034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb8"} 
[2026-04-17 19:24:56] local.INFO: Extracted packet for processing {"connection_id":46034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb8"} 
[2026-04-17 19:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763273408,"raw_latitude":95384592,"longitude_deg":76.3273408,"latitude_deg":9.5384592,"altitude":8,"angle":216,"satellites":47,"speed":10,"hex_longitude":"2d7ea0c0","hex_latitude":"05af7410","is_valid_coordinates":true} 
[2026-04-17 19:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767111680001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274070594826272768,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124644713192003584,"note":"Value kept but may cause issues"} 
[2026-04-17 19:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776434031000,"timestamp_ms":1776434031000,"timestamp_seconds":1776434031,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb82998"} 
[2026-04-17 19:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 19:24:56] 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-04-17 19:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:24:56] 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-04-17 19:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767111680001,"66":27397,"27":206,"85":12544,"24":10,"16":274070594826272768,"45":9124644713192003584},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-17 19:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767111680001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:24:56] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-17 19:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274070594826272768,"km_value":274070594826272.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124644713192003584,"description":"Unknown IO ID 45"} 
[2026-04-17 19:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767111680001,"power":27397,"unknown_27":206,"unknown_85":12544,"ignition":10,"odometer":null,"unknown_45":9124644713192003584}} 
[2026-04-17 19:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":46034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22747,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:24:56] local.INFO: GPS data processed {"connection_id":46034,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:24:56] local.INFO: Acknowledgment sent {"connection_id":46034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:25:27] local.INFO: TCP Data received {"connection_id":46034,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb82d80012d7ea00005af7320000800c42f..."} 
[2026-04-17 19:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb82d80012d7ea00005af7320000800c42f..."} 
[2026-04-17 19:25:27] local.INFO: Processing buffer {"connection_id":46034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb82d80012d7ea00005af7320000800c42f..."} 
[2026-04-17 19:25:27] local.INFO: Packet analysis {"connection_id":46034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb8"} 
[2026-04-17 19:25:27] local.INFO: Extracted packet for processing {"connection_id":46034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb8"} 
[2026-04-17 19:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763273216,"raw_latitude":95384352,"longitude_deg":76.3273216,"latitude_deg":9.5384352,"altitude":8,"angle":196,"satellites":47,"speed":11,"hex_longitude":"2d7ea000","hex_latitude":"05af7320","is_valid_coordinates":true} 
[2026-04-17 19:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767111936001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274070607711174656,"note":"Value kept but may cause issues"} 
[2026-04-17 19:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124503975703613440,"note":"Value kept but may cause issues"} 
[2026-04-17 19:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776434032000,"timestamp_ms":1776434032000,"timestamp_seconds":1776434032,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb82d80"} 
[2026-04-17 19:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 19:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767111936001,"66":27397,"27":206,"85":12544,"24":11,"16":274070607711174656,"45":9124503975703613440},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-17 19:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767111936001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:25:27] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-17 19:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274070607711174656,"km_value":274070607711174.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124503975703613440,"description":"Unknown IO ID 45"} 
[2026-04-17 19:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767111936001,"power":27397,"unknown_27":206,"unknown_85":12544,"ignition":11,"odometer":null,"unknown_45":9124503975703613440}} 
[2026-04-17 19:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":46034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22748,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:25:27] local.INFO: GPS data processed {"connection_id":46034,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:25:27] local.INFO: Acknowledgment sent {"connection_id":46034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:25:50] local.INFO: TCP Data received {"connection_id":46374,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:25:50] local.INFO: Processing buffer {"connection_id":46374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:25:50] local.INFO: IMEI packet received {"connection_id":46374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":46374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:25:50] local.INFO: TCP Data received {"connection_id":46374,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:25:50] local.INFO: Processing buffer {"connection_id":46374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:25:50] local.INFO: IMEI packet received {"connection_id":46374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":46374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:25:53] local.INFO: TCP Data received {"connection_id":46374,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:25:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46374,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:25:53] local.INFO: Processing buffer {"connection_id":46374,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:25:53] local.INFO: IMEI packet received {"connection_id":46374,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:25:53] local.INFO: IMEI acknowledgment sent {"connection_id":46374,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:25:54] local.INFO: TCP Data received {"connection_id":46374,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb83168012d7ea00005af7220000800af2e..."} 
[2026-04-17 19:25:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb83168012d7ea00005af7220000800af2e..."} 
[2026-04-17 19:25:54] local.INFO: Processing buffer {"connection_id":46374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb83168012d7ea00005af7220000800af2e..."} 
[2026-04-17 19:25:54] local.INFO: Packet analysis {"connection_id":46374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb8"} 
[2026-04-17 19:25:54] local.INFO: Extracted packet for processing {"connection_id":46374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb8"} 
[2026-04-17 19:25:54] local.INFO: GPS Element Parsed {"raw_longitude":763273216,"raw_latitude":95384096,"longitude_deg":76.3273216,"latitude_deg":9.5384096,"altitude":8,"angle":175,"satellites":46,"speed":9,"hex_longitude":"2d7ea000","hex_latitude":"05af7220","is_valid_coordinates":true} 
[2026-04-17 19:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:25:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767112192001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:25:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274070620596076544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:25:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124292869471019008,"note":"Value kept but may cause issues"} 
[2026-04-17 19:25:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,27,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:25:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776434033000,"timestamp_ms":1776434033000,"timestamp_seconds":1776434033,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb83168"} 
[2026-04-17 19:25:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:25: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-04-17 19:25:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 19:25:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:25:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:25:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:25:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:25:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:25:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:25:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:25:54] 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-04-17 19:25:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:25:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:25:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767112192001,"66":27376,"27":206,"85":12544,"24":9,"16":274070620596076544,"45":9124292869471019008},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,27,85,24,16,45]} 
[2026-04-17 19:25:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:25:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:25:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767112192001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:25:54] local.INFO: Unknown IO ID detected {"io_id":27,"value":206,"description":"Unknown IO ID 27"} 
[2026-04-17 19:25:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:25:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274070620596076544,"km_value":274070620596076.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:25:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124292869471019008,"description":"Unknown IO ID 45"} 
[2026-04-17 19:25:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767112192001,"power":27376,"unknown_27":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9124292869471019008}} 
[2026-04-17 19:25:54] local.INFO: DEBUG: GPS processor result {"connection_id":46374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22749,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:25:54] local.INFO: GPS data processed {"connection_id":46374,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:25:54] local.INFO: Acknowledgment sent {"connection_id":46374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:26:17] local.INFO: TCP Data received {"connection_id":46036,"ip":"117.224.245.215","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:26:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:26:17] local.INFO: Processing buffer {"connection_id":46036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:26:17] local.INFO: IMEI packet received {"connection_id":46036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:26:17] local.INFO: IMEI acknowledgment sent {"connection_id":46036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:26:21] local.INFO: TCP Data received {"connection_id":46036,"ip":"117.224.245.215","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46036,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:26:21] local.INFO: Processing buffer {"connection_id":46036,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:26:21] local.INFO: IMEI packet received {"connection_id":46036,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":46036,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:26:25] local.INFO: TCP Data received {"connection_id":46374,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb98540012d7e9b0005aec178000b000733..."} 
[2026-04-17 19:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46374,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb98540012d7e9b0005aec178000b000733..."} 
[2026-04-17 19:26:25] local.INFO: Processing buffer {"connection_id":46374,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb98540012d7e9b0005aec178000b000733..."} 
[2026-04-17 19:26:25] local.INFO: Packet analysis {"connection_id":46374,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb9"} 
[2026-04-17 19:26:25] local.INFO: Extracted packet for processing {"connection_id":46374,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb9"} 
[2026-04-17 19:26:25] local.INFO: GPS Element Parsed {"raw_longitude":763271936,"raw_latitude":95338872,"longitude_deg":76.3271936,"latitude_deg":9.5338872,"altitude":11,"angle":7,"satellites":51,"speed":17,"hex_longitude":"2d7e9b00","hex_latitude":"05aec178","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:26:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767134208001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:26:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274073115972075520,"note":"Value kept but may cause issues"} 
[2026-04-17 19:26:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122885494575624192,"note":"Value kept but may cause issues"} 
[2026-04-17 19:26:25] 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-04-17 19:26:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776434120000,"timestamp_ms":1776434120000,"timestamp_seconds":1776434120,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb98540"} 
[2026-04-17 19:26:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:26:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:26:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-04-17 19:26:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:26:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:26:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:26:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46374,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:26:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:26:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46374,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:26:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:26:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:26:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:26:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767134208001,"66":27158,"29":206,"85":12544,"24":17,"16":274073115972075520,"45":9122885494575624192},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-04-17 19:26:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:26:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:26:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767134208001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:26:25] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-17 19:26:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:26:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274073115972075520,"km_value":274073115972075.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:26:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122885494575624192,"description":"Unknown IO ID 45"} 
[2026-04-17 19:26:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767134208001,"power":27158,"unknown_29":206,"unknown_85":12544,"ignition":17,"odometer":null,"unknown_45":9122885494575624192}} 
[2026-04-17 19:26:25] local.INFO: DEBUG: GPS processor result {"connection_id":46374,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22750,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:26:25] local.INFO: GPS data processed {"connection_id":46374,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:26:25] local.INFO: Acknowledgment sent {"connection_id":46374,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:26:26] local.INFO: TCP Data received {"connection_id":46036,"ip":"117.224.245.215","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb942d8012d0fd34007271bb800cc006c2a..."} 
[2026-04-17 19:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46036,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb942d8012d0fd34007271bb800cc006c2a..."} 
[2026-04-17 19:26:26] local.INFO: Processing buffer {"connection_id":46036,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb942d8012d0fd34007271bb800cc006c2a..."} 
[2026-04-17 19:26:26] local.INFO: Packet analysis {"connection_id":46036,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb9"} 
[2026-04-17 19:26:26] local.INFO: Extracted packet for processing {"connection_id":46036,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb9"} 
[2026-04-17 19:26:26] local.INFO: GPS Element Parsed {"raw_longitude":756011840,"raw_latitude":120003512,"longitude_deg":75.601184,"latitude_deg":12.0003512,"altitude":204,"angle":108,"satellites":42,"speed":38,"hex_longitude":"2d0fd340","hex_latitude":"07271bb8","is_valid_coordinates":true} 
[2026-04-17 19:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:26:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767129600001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:26:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113466640754016256,"note":"Value kept but may cause issues"} 
[2026-04-17 19:26:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1137158936632274944,"note":"Value kept but may cause issues"} 
[2026-04-17 19:26:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,166,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:26:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776434103000,"timestamp_ms":1776434103000,"timestamp_seconds":1776434103,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb942d8"} 
[2026-04-17 19:26:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:26: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-04-17 19:26:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":149,"data_length":795,"current_offset":136} 
[2026-04-17 19:26:26] 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-04-17 19:26:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:26:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:26:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:26:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46036,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:26:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:26:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46036,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:26:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.245.215","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:26:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:26:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:26:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767129600001,"66":13472,"166":206,"28":26368,"24":38,"16":113466640754016256,"45":1137158936632274944},"client_ip":"117.224.245.215","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,166,28,24,16,45]} 
[2026-04-17 19:26:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:26:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:26:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767129600001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:26:26] local.INFO: Unknown IO ID detected {"io_id":166,"value":206,"description":"Unknown IO ID 166"} 
[2026-04-17 19:26:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":26368,"description":"Unknown IO ID 28"} 
[2026-04-17 19:26:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113466640754016256,"km_value":113466640754016.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:26:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1137158936632274944,"description":"Unknown IO ID 45"} 
[2026-04-17 19:26:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767129600001,"power":13472,"unknown_166":206,"unknown_28":26368,"ignition":38,"odometer":null,"unknown_45":1137158936632274944}} 
[2026-04-17 19:26:26] local.INFO: DEBUG: GPS processor result {"connection_id":46036,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22751,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:26:26] local.INFO: GPS data processed {"connection_id":46036,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:26:26] local.INFO: Acknowledgment sent {"connection_id":46036,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:26:50] local.INFO: TCP Data received {"connection_id":46138,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:26:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:26:50] local.INFO: Processing buffer {"connection_id":46138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:26:50] local.INFO: IMEI packet received {"connection_id":46138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:26:50] local.INFO: IMEI acknowledgment sent {"connection_id":46138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:26:55] local.INFO: TCP Data received {"connection_id":46138,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46138,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:26:55] local.INFO: Processing buffer {"connection_id":46138,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:26:55] local.INFO: IMEI packet received {"connection_id":46138,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":46138,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:26:56] local.INFO: TCP Data received {"connection_id":46138,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb9a480012d7e9ac005aed3e8000a016434..."} 
[2026-04-17 19:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb9a480012d7e9ac005aed3e8000a016434..."} 
[2026-04-17 19:26:56] local.INFO: Processing buffer {"connection_id":46138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb9a480012d7e9ac005aed3e8000a016434..."} 
[2026-04-17 19:26:56] local.INFO: Packet analysis {"connection_id":46138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb9"} 
[2026-04-17 19:26:56] local.INFO: Extracted packet for processing {"connection_id":46138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb9"} 
[2026-04-17 19:26:56] local.INFO: GPS Element Parsed {"raw_longitude":763271872,"raw_latitude":95343592,"longitude_deg":76.3271872,"latitude_deg":9.5343592,"altitude":10,"angle":356,"satellites":52,"speed":26,"hex_longitude":"2d7e9ac0","hex_latitude":"05aed3e8","is_valid_coordinates":true} 
[2026-04-17 19:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767134720001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274073343605342208,"note":"Value kept but may cause issues"} 
[2026-04-17 19:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122885494575822848,"note":"Value kept but may cause issues"} 
[2026-04-17 19:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776434128000,"timestamp_ms":1776434128000,"timestamp_seconds":1776434128,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb9a480"} 
[2026-04-17 19:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-17 19:26:56] 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-04-17 19:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:26:56] 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-04-17 19:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767134720001,"66":27463,"28":206,"85":12544,"24":26,"16":274073343605342208,"45":9122885494575822848},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 19:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767134720001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:26:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 19:26:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274073343605342208,"km_value":274073343605342.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122885494575822848,"description":"Unknown IO ID 45"} 
[2026-04-17 19:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767134720001,"power":27463,"unknown_28":206,"unknown_85":12544,"ignition":26,"odometer":null,"unknown_45":9122885494575822848}} 
[2026-04-17 19:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":46138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22752,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:26:56] local.INFO: GPS data processed {"connection_id":46138,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:26:56] local.INFO: Acknowledgment sent {"connection_id":46138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:27:28] local.INFO: TCP Data received {"connection_id":46138,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb9cf78012d7e99c005aef8580009016734..."} 
[2026-04-17 19:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb9cf78012d7e99c005aef8580009016734..."} 
[2026-04-17 19:27:28] local.INFO: Processing buffer {"connection_id":46138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb9cf78012d7e99c005aef8580009016734..."} 
[2026-04-17 19:27:28] local.INFO: Packet analysis {"connection_id":46138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb9"} 
[2026-04-17 19:27:28] local.INFO: Extracted packet for processing {"connection_id":46138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb9"} 
[2026-04-17 19:27:28] local.INFO: GPS Element Parsed {"raw_longitude":763271616,"raw_latitude":95352920,"longitude_deg":76.3271616,"latitude_deg":9.535292,"altitude":9,"angle":359,"satellites":52,"speed":38,"hex_longitude":"2d7e99c0","hex_latitude":"05aef858","is_valid_coordinates":true} 
[2026-04-17 19:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767136768001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274073798871875584,"note":"Value kept but may cause issues"} 
[2026-04-17 19:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122815125832853504,"note":"Value kept but may cause issues"} 
[2026-04-17 19:27:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776434139000,"timestamp_ms":1776434139000,"timestamp_seconds":1776434139,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb9cf78"} 
[2026-04-17 19:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:27: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-04-17 19:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 19:27:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46138,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.34","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767136768001,"66":27517,"28":206,"85":12544,"24":38,"16":274073798871875584,"45":9122815125832853504},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 19:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767136768001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:27:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 19:27:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274073798871875584,"km_value":274073798871875.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122815125832853504,"description":"Unknown IO ID 45"} 
[2026-04-17 19:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767136768001,"power":27517,"unknown_28":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9122815125832853504}} 
[2026-04-17 19:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":46138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22753,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:27:28] local.INFO: GPS data processed {"connection_id":46138,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:27:28] local.INFO: Acknowledgment sent {"connection_id":46138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:27:50] local.INFO: TCP Data received {"connection_id":46376,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:27:50] local.INFO: Processing buffer {"connection_id":46376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:27:50] local.INFO: IMEI packet received {"connection_id":46376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":46376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:27:51] local.INFO: TCP Data received {"connection_id":46376,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:27:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:27:51] local.INFO: Processing buffer {"connection_id":46376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:27:51] local.INFO: IMEI packet received {"connection_id":46376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:27:51] local.INFO: IMEI acknowledgment sent {"connection_id":46376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:27:55] local.INFO: TCP Data received {"connection_id":46376,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46376,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:27:55] local.INFO: Processing buffer {"connection_id":46376,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:27:55] local.INFO: IMEI packet received {"connection_id":46376,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":46376,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:27:56] local.INFO: TCP Data received {"connection_id":46376,"ip":"42.106.6.34","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bb9f688012d7e98c005af1ea00009016533..."} 
[2026-04-17 19:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46376,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bb9f688012d7e98c005af1ea00009016533..."} 
[2026-04-17 19:27:56] local.INFO: Processing buffer {"connection_id":46376,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bb9f688012d7e98c005af1ea00009016533..."} 
[2026-04-17 19:27:56] local.INFO: Packet analysis {"connection_id":46376,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bb9"} 
[2026-04-17 19:27:56] local.INFO: Extracted packet for processing {"connection_id":46376,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bb9"} 
[2026-04-17 19:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763271360,"raw_latitude":95362720,"longitude_deg":76.327136,"latitude_deg":9.536272,"altitude":9,"angle":357,"satellites":51,"speed":38,"hex_longitude":"2d7e98c0","hex_latitude":"05af1ea0","is_valid_coordinates":true} 
[2026-04-17 19:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767139584001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274074275613245440,"note":"Value kept but may cause issues"} 
[2026-04-17 19:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9122533650858530816,"note":"Value kept but may cause issues"} 
[2026-04-17 19:27:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,28,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776434149000,"timestamp_ms":1776434149000,"timestamp_seconds":1776434149,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bb9f688"} 
[2026-04-17 19:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 19:27:56] 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-04-17 19:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46376,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46376,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:27:56] 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-04-17 19:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767139584001,"66":27463,"28":206,"85":12544,"24":38,"16":274074275613245440,"45":9122533650858530816},"client_ip":"42.106.6.34","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,28,85,24,16,45]} 
[2026-04-17 19:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767139584001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:27:56] local.INFO: Unknown IO ID detected {"io_id":28,"value":206,"description":"Unknown IO ID 28"} 
[2026-04-17 19:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274074275613245440,"km_value":274074275613245.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9122533650858530816,"description":"Unknown IO ID 45"} 
[2026-04-17 19:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767139584001,"power":27463,"unknown_28":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9122533650858530816}} 
[2026-04-17 19:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":46376,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22754,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:27:56] local.INFO: GPS data processed {"connection_id":46376,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:27:56] local.INFO: Acknowledgment sent {"connection_id":46376,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:28:31] local.INFO: TCP Data received {"connection_id":46892,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:28:31] local.INFO: Processing buffer {"connection_id":46892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:28:31] local.INFO: IMEI packet received {"connection_id":46892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":46892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:28:36] local.INFO: TCP Data received {"connection_id":46892,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46892,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:28:36] local.INFO: Processing buffer {"connection_id":46892,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:28:36] local.INFO: IMEI packet received {"connection_id":46892,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:28:36] local.INFO: IMEI acknowledgment sent {"connection_id":46892,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:28:38] local.INFO: TCP Data received {"connection_id":46892,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bba11e0012d107cc00726cb1000c8007128..."} 
[2026-04-17 19:28:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bba11e0012d107cc00726cb1000c8007128..."} 
[2026-04-17 19:28:38] local.INFO: Processing buffer {"connection_id":46892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bba11e0012d107cc00726cb1000c8007128..."} 
[2026-04-17 19:28:38] local.INFO: Packet analysis {"connection_id":46892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bba"} 
[2026-04-17 19:28:38] local.INFO: Extracted packet for processing {"connection_id":46892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bba"} 
[2026-04-17 19:28:38] local.INFO: GPS Element Parsed {"raw_longitude":756055232,"raw_latitude":119982864,"longitude_deg":75.6055232,"latitude_deg":11.9982864,"altitude":200,"angle":113,"satellites":40,"speed":25,"hex_longitude":"2d107cc0","hex_latitude":"0726cb10","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:28:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767141120001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:28:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113469028755832832,"note":"Value kept but may cause issues"} 
[2026-04-17 19:28:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1179098708157618176,"note":"Value kept but may cause issues"} 
[2026-04-17 19:28:38] 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-04-17 19:28:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776434156000,"timestamp_ms":1776434156000,"timestamp_seconds":1776434156,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bba11e0"} 
[2026-04-17 19:28:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:28: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-04-17 19: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":48,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 19:28:38] 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-04-17 19: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-04-17 19:28:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:28:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:28:38] local.INFO: Teltonika packet parsed successfully {"connection_id":46892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:28:38] local.INFO: Passing IMEI to GPS processor {"connection_id":46892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:28:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":46892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:28:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:28:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:28:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:28:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767141120001,"66":13417,"70":206,"28":31744,"24":25,"16":113469028755832832,"45":1179098708157618176},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 19:28:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:28:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:28:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767141120001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:28:38] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 19:28:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:28:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113469028755832832,"km_value":113469028755832.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:28:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1179098708157618176,"description":"Unknown IO ID 45"} 
[2026-04-17 19:28:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767141120001,"power":13417,"unknown_70":206,"unknown_28":31744,"ignition":25,"odometer":null,"unknown_45":1179098708157618176}} 
[2026-04-17 19:28:38] local.INFO: DEBUG: GPS processor result {"connection_id":46892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22755,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:28:38] local.INFO: GPS data processed {"connection_id":46892,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:28:38] local.INFO: Acknowledgment sent {"connection_id":46892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:28:41] local.INFO: TCP Data received {"connection_id":46892,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bba63e8012d1091800726c0e000c500752b..."} 
[2026-04-17 19:28:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46892,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bba63e8012d1091800726c0e000c500752b..."} 
[2026-04-17 19:28:41] local.INFO: Processing buffer {"connection_id":46892,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bba63e8012d1091800726c0e000c500752b..."} 
[2026-04-17 19:28:41] local.INFO: Packet analysis {"connection_id":46892,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bba"} 
[2026-04-17 19:28:41] local.INFO: Extracted packet for processing {"connection_id":46892,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bba"} 
[2026-04-17 19:28:41] local.INFO: GPS Element Parsed {"raw_longitude":756060544,"raw_latitude":119980256,"longitude_deg":75.6060544,"latitude_deg":11.9980256,"altitude":197,"angle":117,"satellites":43,"speed":11,"hex_longitude":"2d109180","hex_latitude":"0726c0e0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:28:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767143936001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:28:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113469312223674368,"note":"Value kept but may cause issues"} 
[2026-04-17 19:28:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1188035538667114496,"note":"Value kept but may cause issues"} 
[2026-04-17 19:28:41] 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-04-17 19:28:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776434177000,"timestamp_ms":1776434177000,"timestamp_seconds":1776434177,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bba63e8"} 
[2026-04-17 19:28:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:28:41] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":105,"data_length":795,"current_offset":136} 
[2026-04-17 19:28:41] 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-04-17 19: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-04-17 19:28:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:28:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:28:41] local.INFO: Teltonika packet parsed successfully {"connection_id":46892,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:28:41] local.INFO: Passing IMEI to GPS processor {"connection_id":46892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:28:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":46892,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:28:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:28:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:28:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:28:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767143936001,"66":13493,"70":206,"28":31744,"24":11,"16":113469312223674368,"45":1188035538667114496},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 19:28:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:28:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:28:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767143936001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:28:41] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 19:28:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:28:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113469312223674368,"km_value":113469312223674.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:28:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1188035538667114496,"description":"Unknown IO ID 45"} 
[2026-04-17 19:28:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767143936001,"power":13493,"unknown_70":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1188035538667114496}} 
[2026-04-17 19:28:42] local.INFO: DEBUG: GPS processor result {"connection_id":46892,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22756,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:28:42] local.INFO: GPS data processed {"connection_id":46892,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:28:42] local.INFO: Acknowledgment sent {"connection_id":46892,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:28:55] local.INFO: TCP Data received {"connection_id":46038,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:28:55] local.INFO: Processing buffer {"connection_id":46038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:28:55] local.INFO: IMEI packet received {"connection_id":46038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":46038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:29:00] local.INFO: TCP Data received {"connection_id":46038,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:29:00] local.INFO: Processing buffer {"connection_id":46038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:29:00] local.INFO: IMEI packet received {"connection_id":46038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:29:00] local.INFO: IMEI acknowledgment sent {"connection_id":46038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:29:01] local.INFO: TCP Data received {"connection_id":46038,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:29:01] local.INFO: Processing buffer {"connection_id":46038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:29:01] local.INFO: IMEI packet received {"connection_id":46038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:29:01] local.INFO: IMEI acknowledgment sent {"connection_id":46038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:29:01] local.INFO: TCP Data received {"connection_id":46038,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbbded0012d7e9e0005b0d3180007000131..."} 
[2026-04-17 19:29:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbbded0012d7e9e0005b0d3180007000131..."} 
[2026-04-17 19:29:01] local.INFO: Processing buffer {"connection_id":46038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbbded0012d7e9e0005b0d3180007000131..."} 
[2026-04-17 19:29:01] local.INFO: Packet analysis {"connection_id":46038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbb"} 
[2026-04-17 19:29:01] local.INFO: Extracted packet for processing {"connection_id":46038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbb"} 
[2026-04-17 19:29:01] local.INFO: GPS Element Parsed {"raw_longitude":763272704,"raw_latitude":95474456,"longitude_deg":76.3272704,"latitude_deg":9.5474456,"altitude":7,"angle":1,"satellites":49,"speed":29,"hex_longitude":"2d7e9e00","hex_latitude":"05b0d318","is_valid_coordinates":true} 
[2026-04-17 19:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:29:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767170560001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:29:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274079700156940288,"note":"Value kept but may cause issues"} 
[2026-04-17 19:29:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123589182049861632,"note":"Value kept but may cause issues"} 
[2026-04-17 19:29:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:29:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776434274000,"timestamp_ms":1776434274000,"timestamp_seconds":1776434274,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbbded0"} 
[2026-04-17 19:29:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:29:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:29:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 19:29:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:29:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:29:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:29:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:29:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:29:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:29:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19: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-04-17 19:29:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:29:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:29:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767170560001,"66":27484,"92":206,"85":12544,"24":29,"16":274079700156940288,"45":9123589182049861632},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-17 19:29:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:29:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:29:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767170560001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:29:01] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-17 19:29:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:29:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274079700156940288,"km_value":274079700156940.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:29:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123589182049861632,"description":"Unknown IO ID 45"} 
[2026-04-17 19:29:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767170560001,"power":27484,"unknown_92":206,"unknown_85":12544,"ignition":29,"odometer":null,"unknown_45":9123589182049861632}} 
[2026-04-17 19:29:01] local.INFO: DEBUG: GPS processor result {"connection_id":46038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22757,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:29:01] local.INFO: GPS data processed {"connection_id":46038,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:29:01] local.INFO: Acknowledgment sent {"connection_id":46038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:29:06] local.INFO: TCP Data received {"connection_id":46038,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbc05e0012d7e9f0005b0f7000007000131..."} 
[2026-04-17 19:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbc05e0012d7e9f0005b0f7000007000131..."} 
[2026-04-17 19:29:06] local.INFO: Processing buffer {"connection_id":46038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbc05e0012d7e9f0005b0f7000007000131..."} 
[2026-04-17 19:29:06] local.INFO: Packet analysis {"connection_id":46038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbc"} 
[2026-04-17 19:29:06] local.INFO: Extracted packet for processing {"connection_id":46038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbc"} 
[2026-04-17 19:29:06] local.INFO: GPS Element Parsed {"raw_longitude":763272960,"raw_latitude":95483648,"longitude_deg":76.327296,"latitude_deg":9.5483648,"altitude":7,"angle":1,"satellites":49,"speed":40,"hex_longitude":"2d7e9f00","hex_latitude":"05b0f700","is_valid_coordinates":true} 
[2026-04-17 19:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:29:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767174144001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:29:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274080142538571776,"note":"Value kept but may cause issues"} 
[2026-04-17 19:29:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9123729919540664320,"note":"Value kept but may cause issues"} 
[2026-04-17 19:29:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:29:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776434284000,"timestamp_ms":1776434284000,"timestamp_seconds":1776434284,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbc05e0"} 
[2026-04-17 19:29:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:29: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-04-17 19:29:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 19:29:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:29:06] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:29:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:29:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:29:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:29:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:29:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:29:06] 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-04-17 19:29:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:29:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:29:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767174144001,"66":27343,"92":206,"85":12544,"24":40,"16":274080142538571776,"45":9123729919540664320},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-17 19:29:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:29:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:29:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767174144001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:29:06] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-17 19:29:06] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:29:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274080142538571776,"km_value":274080142538571.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:29:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":9123729919540664320,"description":"Unknown IO ID 45"} 
[2026-04-17 19:29:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767174144001,"power":27343,"unknown_92":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9123729919540664320}} 
[2026-04-17 19:29:06] local.INFO: DEBUG: GPS processor result {"connection_id":46038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22758,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:29:06] local.INFO: GPS data processed {"connection_id":46038,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:29:06] local.INFO: Acknowledgment sent {"connection_id":46038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:29:19] local.INFO: TCP Data received {"connection_id":46377,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:29:19] local.INFO: Processing buffer {"connection_id":46377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:29:19] local.INFO: IMEI packet received {"connection_id":46377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":46377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:29:19] local.INFO: TCP Data received {"connection_id":46139,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:29:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46139,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:29:19] local.INFO: Processing buffer {"connection_id":46139,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:29:19] local.INFO: IMEI packet received {"connection_id":46139,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:29:19] local.INFO: IMEI acknowledgment sent {"connection_id":46139,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:29:21] local.INFO: TCP Data received {"connection_id":46377,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:29:21] local.INFO: Processing buffer {"connection_id":46377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:29:21] local.INFO: IMEI packet received {"connection_id":46377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":46377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:29:22] local.INFO: TCP Data received {"connection_id":46377,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:29:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46377,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:29:22] local.INFO: Processing buffer {"connection_id":46377,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:29:22] local.INFO: IMEI packet received {"connection_id":46377,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:29:22] local.INFO: IMEI acknowledgment sent {"connection_id":46377,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:29:23] local.INFO: TCP Data received {"connection_id":46377,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbc05e0012d10ffc00726b93800b7006b27..."} 
[2026-04-17 19:29:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbc05e0012d10ffc00726b93800b7006b27..."} 
[2026-04-17 19:29:23] local.INFO: Processing buffer {"connection_id":46377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbc05e0012d10ffc00726b93800b7006b27..."} 
[2026-04-17 19:29:23] local.INFO: Packet analysis {"connection_id":46377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbc"} 
[2026-04-17 19:29:23] local.INFO: Extracted packet for processing {"connection_id":46377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbc"} 
[2026-04-17 19:29:23] local.INFO: GPS Element Parsed {"raw_longitude":756088768,"raw_latitude":119978296,"longitude_deg":75.6088768,"latitude_deg":11.9978296,"altitude":183,"angle":107,"satellites":39,"speed":8,"hex_longitude":"2d10ffc0","hex_latitude":"0726b938","is_valid_coordinates":true} 
[2026-04-17 19:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:29:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767172096001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:29:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113470742447783936,"note":"Value kept but may cause issues"} 
[2026-04-17 19:29:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1218645942383458304,"note":"Value kept but may cause issues"} 
[2026-04-17 19:29:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:29:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776434284000,"timestamp_ms":1776434284000,"timestamp_seconds":1776434284,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbc05e0"} 
[2026-04-17 19:29:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:29:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:29:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":47,"n8_eight_byte":146,"data_length":795,"current_offset":136} 
[2026-04-17 19:29:23] 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-04-17 19:29:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:29:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:29:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:29:23] local.INFO: Teltonika packet parsed successfully {"connection_id":46377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:29:23] local.INFO: Passing IMEI to GPS processor {"connection_id":46377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:29:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":46377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:29:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:29:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:29:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:29:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767172096001,"66":12211,"32":206,"28":26880,"24":8,"16":113470742447783936,"45":1218645942383458304},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-17 19:29:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:29:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:29:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767172096001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:29:23] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 19:29:23] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 19:29:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113470742447783936,"km_value":113470742447783.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:29:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":1218645942383458304,"description":"Unknown IO ID 45"} 
[2026-04-17 19:29:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767172096001,"power":12211,"unknown_32":206,"unknown_28":26880,"ignition":8,"odometer":null,"unknown_45":1218645942383458304}} 
[2026-04-17 19:29:23] local.INFO: DEBUG: GPS processor result {"connection_id":46377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22759,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:29:23] local.INFO: GPS data processed {"connection_id":46377,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:29:23] local.INFO: Acknowledgment sent {"connection_id":46377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:29:50] local.INFO: TCP Data received {"connection_id":46378,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:29:50] local.INFO: Processing buffer {"connection_id":46378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:29:50] local.INFO: IMEI packet received {"connection_id":46378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":46378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:29:55] local.INFO: TCP Data received {"connection_id":46377,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbcf810012d1136000726b1d0008e008120..."} 
[2026-04-17 19:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46377,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbcf810012d1136000726b1d0008e008120..."} 
[2026-04-17 19:29:55] local.INFO: Processing buffer {"connection_id":46377,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbcf810012d1136000726b1d0008e008120..."} 
[2026-04-17 19:29:55] local.INFO: Packet analysis {"connection_id":46377,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbc"} 
[2026-04-17 19:29:55] local.INFO: Extracted packet for processing {"connection_id":46377,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbc"} 
[2026-04-17 19:29:55] local.INFO: GPS Element Parsed {"raw_longitude":756102656,"raw_latitude":119976400,"longitude_deg":75.6102656,"latitude_deg":11.99764,"altitude":142,"angle":129,"satellites":32,"speed":9,"hex_longitude":"2d113600","hex_latitude":"0726b1d0","is_valid_coordinates":true} 
[2026-04-17 19:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:29:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767190784001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:29:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113471421052616704,"note":"Value kept but may cause issues"} 
[2026-04-17 19:29:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1238912140706076672,"note":"Value kept but may cause issues"} 
[2026-04-17 19:29:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:29:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776434346000,"timestamp_ms":1776434346000,"timestamp_seconds":1776434346,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbcf810"} 
[2026-04-17 19:29:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:29:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:29:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 19:29:55] 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-04-17 19:29:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:29:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:29:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:29:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46377,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:29:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:29:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46377,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:29:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:29:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:29:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:29:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767190784001,"66":11961,"32":206,"28":26880,"24":9,"16":113471421052616704,"45":1238912140706076672},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-17 19:29:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:29:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:29:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767190784001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:29:55] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 19:29:55] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 19:29:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113471421052616704,"km_value":113471421052616.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:29:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":1238912140706076672,"description":"Unknown IO ID 45"} 
[2026-04-17 19:29:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767190784001,"power":11961,"unknown_32":206,"unknown_28":26880,"ignition":9,"odometer":null,"unknown_45":1238912140706076672}} 
[2026-04-17 19:29:55] local.INFO: DEBUG: GPS processor result {"connection_id":46377,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22760,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:29:55] local.INFO: GPS data processed {"connection_id":46377,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:29:55] local.INFO: Acknowledgment sent {"connection_id":46377,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:29:57] local.INFO: TCP Data received {"connection_id":46378,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:29:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46378,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:29:57] local.INFO: Processing buffer {"connection_id":46378,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:29:57] local.INFO: IMEI packet received {"connection_id":46378,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:29:57] local.INFO: IMEI acknowledgment sent {"connection_id":46378,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:29:58] local.INFO: TCP Data received {"connection_id":46378,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbc2908012d7e9f8005b11a900007000130..."} 
[2026-04-17 19:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbc2908012d7e9f8005b11a900007000130..."} 
[2026-04-17 19:29:58] local.INFO: Processing buffer {"connection_id":46378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbc2908012d7e9f8005b11a900007000130..."} 
[2026-04-17 19:29:58] local.INFO: Packet analysis {"connection_id":46378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbc"} 
[2026-04-17 19:29:58] local.INFO: Extracted packet for processing {"connection_id":46378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbc"} 
[2026-04-17 19:29:58] local.INFO: GPS Element Parsed {"raw_longitude":763273088,"raw_latitude":95492752,"longitude_deg":76.3273088,"latitude_deg":9.5492752,"altitude":7,"angle":1,"satellites":48,"speed":38,"hex_longitude":"2d7e9f80","hex_latitude":"05b11a90","is_valid_coordinates":true} 
[2026-04-17 19:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767176704001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274080584920203264,"note":"Value kept but may cause issues"} 
[2026-04-17 19:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124011394519728128,"note":"Value kept but may cause issues"} 
[2026-04-17 19:29:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776434293000,"timestamp_ms":1776434293000,"timestamp_seconds":1776434293,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbc2908"} 
[2026-04-17 19:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:29: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-04-17 19:29:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 19:29:58] 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-04-17 19:29:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767176704001,"66":27376,"92":206,"85":12544,"24":38,"16":274080584920203264,"45":9124011394519728128},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-17 19:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767176704001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:29:58] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-17 19:29:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274080584920203264,"km_value":274080584920203.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124011394519728128,"description":"Unknown IO ID 45"} 
[2026-04-17 19:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767176704001,"power":27376,"unknown_92":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9124011394519728128}} 
[2026-04-17 19:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":46378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22761,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:29:58] local.INFO: GPS data processed {"connection_id":46378,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:29:58] local.INFO: Acknowledgment sent {"connection_id":46378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:30:04] local.INFO: TCP Data received {"connection_id":46039,"ip":"42.106.6.49","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46039,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:30:04] local.INFO: Processing buffer {"connection_id":46039,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:30:04] local.INFO: IMEI packet received {"connection_id":46039,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:30:04] local.INFO: IMEI acknowledgment sent {"connection_id":46039,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:30:20] local.INFO: TCP Data received {"connection_id":46893,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:30:20] local.INFO: Processing buffer {"connection_id":46893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:30:20] local.INFO: IMEI packet received {"connection_id":46893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":46893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:30:21] local.INFO: TCP Data received {"connection_id":46893,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:30:21] local.INFO: Processing buffer {"connection_id":46893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:30:21] local.INFO: IMEI packet received {"connection_id":46893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":46893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:30:26] local.INFO: TCP Data received {"connection_id":46893,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46893,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:30:26] local.INFO: Processing buffer {"connection_id":46893,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:30:26] local.INFO: IMEI packet received {"connection_id":46893,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":46893,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:30:27] local.INFO: TCP Data received {"connection_id":46893,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbd03c8012d1139c00726b090008b006e21..."} 
[2026-04-17 19:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbd03c8012d1139c00726b090008b006e21..."} 
[2026-04-17 19:30:27] local.INFO: Processing buffer {"connection_id":46893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbd03c8012d1139c00726b090008b006e21..."} 
[2026-04-17 19:30:27] local.INFO: Packet analysis {"connection_id":46893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbd"} 
[2026-04-17 19:30:27] local.INFO: Extracted packet for processing {"connection_id":46893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbd"} 
[2026-04-17 19:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756103616,"raw_latitude":119976080,"longitude_deg":75.6103616,"latitude_deg":11.997608,"altitude":139,"angle":110,"satellites":33,"speed":17,"hex_longitude":"2d1139c0","hex_latitude":"0726b090","is_valid_coordinates":true} 
[2026-04-17 19:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767192576001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113471468297256960,"note":"Value kept but may cause issues"} 
[2026-04-17 19:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1240178778101108736,"note":"Value kept but may cause issues"} 
[2026-04-17 19:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776434349000,"timestamp_ms":1776434349000,"timestamp_seconds":1776434349,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbd03c8"} 
[2026-04-17 19:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:30: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-04-17 19:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 19:30:27] 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-04-17 19:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767192576001,"66":11961,"32":206,"28":26880,"24":17,"16":113471468297256960,"45":1240178778101108736},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-17 19:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767192576001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:30:27] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 19:30:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 19:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113471468297256960,"km_value":113471468297256.95,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1240178778101108736,"description":"Unknown IO ID 45"} 
[2026-04-17 19:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767192576001,"power":11961,"unknown_32":206,"unknown_28":26880,"ignition":17,"odometer":null,"unknown_45":1240178778101108736}} 
[2026-04-17 19:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":46893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22762,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:30:27] local.INFO: GPS data processed {"connection_id":46893,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:30:27] local.INFO: Acknowledgment sent {"connection_id":46893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:30:31] local.INFO: TCP Data received {"connection_id":46378,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbc5018012d7ea08005b13e78000700012f..."} 
[2026-04-17 19:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46378,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbc5018012d7ea08005b13e78000700012f..."} 
[2026-04-17 19:30:31] local.INFO: Processing buffer {"connection_id":46378,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbc5018012d7ea08005b13e78000700012f..."} 
[2026-04-17 19:30:31] local.INFO: Packet analysis {"connection_id":46378,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbc"} 
[2026-04-17 19:30:31] local.INFO: Extracted packet for processing {"connection_id":46378,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbc"} 
[2026-04-17 19:30:31] local.INFO: GPS Element Parsed {"raw_longitude":763273344,"raw_latitude":95501944,"longitude_deg":76.3273344,"latitude_deg":9.5501944,"altitude":7,"angle":1,"satellites":47,"speed":37,"hex_longitude":"2d7ea080","hex_latitude":"05b13e78","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:30:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767179008001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:30:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274081031596802048,"note":"Value kept but may cause issues"} 
[2026-04-17 19:30:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124152132010414080,"note":"Value kept but may cause issues"} 
[2026-04-17 19:30:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:30:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776434303000,"timestamp_ms":1776434303000,"timestamp_seconds":1776434303,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbc5018"} 
[2026-04-17 19:30:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:30:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 19:30:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:30:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:30:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:30:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46378,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:30:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:30:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46378,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:30:31] 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-04-17 19:30:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:30:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:30:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767179008001,"66":27463,"92":206,"85":12544,"24":37,"16":274081031596802048,"45":9124152132010414080},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-17 19:30:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:30:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:30:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767179008001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:30:31] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-17 19:30:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:30:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274081031596802048,"km_value":274081031596802.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:30:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124152132010414080,"description":"Unknown IO ID 45"} 
[2026-04-17 19:30:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767179008001,"power":27463,"unknown_92":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9124152132010414080}} 
[2026-04-17 19:30:31] local.INFO: DEBUG: GPS processor result {"connection_id":46378,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22763,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:30:31] local.INFO: GPS data processed {"connection_id":46378,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:30:31] local.INFO: Acknowledgment sent {"connection_id":46378,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:30:50] local.INFO: TCP Data received {"connection_id":46140,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:30:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:30:50] local.INFO: Processing buffer {"connection_id":46140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:30:50] local.INFO: IMEI packet received {"connection_id":46140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:30:50] local.INFO: IMEI acknowledgment sent {"connection_id":46140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:30:55] local.INFO: TCP Data received {"connection_id":46140,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:30:55] local.INFO: Processing buffer {"connection_id":46140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:30:55] local.INFO: IMEI packet received {"connection_id":46140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":46140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:30:56] local.INFO: TCP Data received {"connection_id":46140,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbc7728012d7ea18005b16338000900022e..."} 
[2026-04-17 19:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbc7728012d7ea18005b16338000900022e..."} 
[2026-04-17 19:30:56] local.INFO: Processing buffer {"connection_id":46140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbc7728012d7ea18005b16338000900022e..."} 
[2026-04-17 19:30:56] local.INFO: Packet analysis {"connection_id":46140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbc"} 
[2026-04-17 19:30:56] local.INFO: Extracted packet for processing {"connection_id":46140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbc"} 
[2026-04-17 19:30:56] local.INFO: GPS Element Parsed {"raw_longitude":763273600,"raw_latitude":95511352,"longitude_deg":76.32736,"latitude_deg":9.5511352,"altitude":9,"angle":2,"satellites":46,"speed":37,"hex_longitude":"2d7ea180","hex_latitude":"05b16338","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767181568001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274081486863335424,"note":"Value kept but may cause issues"} 
[2026-04-17 19:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9124433606989477888,"note":"Value kept but may cause issues"} 
[2026-04-17 19:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,92,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776434313000,"timestamp_ms":1776434313000,"timestamp_seconds":1776434313,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbc7728"} 
[2026-04-17 19:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 19:30:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:30:56] 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-04-17 19:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767181568001,"66":27463,"92":206,"85":12544,"24":37,"16":274081486863335424,"45":9124433606989477888},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,92,85,24,16,45]} 
[2026-04-17 19:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767181568001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:30:56] local.INFO: Unknown IO ID detected {"io_id":92,"value":206,"description":"Unknown IO ID 92"} 
[2026-04-17 19:30:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274081486863335424,"km_value":274081486863335.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9124433606989477888,"description":"Unknown IO ID 45"} 
[2026-04-17 19:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767181568001,"power":27463,"unknown_92":206,"unknown_85":12544,"ignition":37,"odometer":null,"unknown_45":9124433606989477888}} 
[2026-04-17 19:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":46140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22764,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:30:56] local.INFO: GPS data processed {"connection_id":46140,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:30:56] local.INFO: Acknowledgment sent {"connection_id":46140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:31:08] local.INFO: TCP Data received {"connection_id":46893,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbddaa0012d11d600072683a8006b007529..."} 
[2026-04-17 19:31:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46893,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbddaa0012d11d600072683a8006b007529..."} 
[2026-04-17 19:31:08] local.INFO: Processing buffer {"connection_id":46893,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbddaa0012d11d600072683a8006b007529..."} 
[2026-04-17 19:31:08] local.INFO: Packet analysis {"connection_id":46893,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbd"} 
[2026-04-17 19:31:08] local.INFO: Extracted packet for processing {"connection_id":46893,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbd"} 
[2026-04-17 19:31:08] local.INFO: GPS Element Parsed {"raw_longitude":756143616,"raw_latitude":119964584,"longitude_deg":75.6143616,"latitude_deg":11.9964584,"altitude":107,"angle":117,"satellites":41,"speed":27,"hex_longitude":"2d11d600","hex_latitude":"072683a8","is_valid_coordinates":true} 
[2026-04-17 19:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767206912001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:08] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113473568536264704,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:08] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1283877768232509440,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:08] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:31:08] local.INFO: AVL Record Parsed {"raw_timestamp":1776434404000,"timestamp_ms":1776434404000,"timestamp_seconds":1776434404,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbddaa0"} 
[2026-04-17 19:31:08] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:31:08] 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-04-17 19:31:08] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":10,"data_length":795,"current_offset":136} 
[2026-04-17 19:31:08] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:08] local.WARNING: Large IO value detected {"io_id":28,"raw_value":7566073762815148544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:08] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452691,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:08] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-7224498105567342188,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:08] local.WARNING: Large IO value detected {"io_id":64,"raw_value":515286845919658094,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:08] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832595,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:08] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3204312017119477966,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:08] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3181893633,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:08] local.WARNING: Large IO value detected {"io_id":38,"raw_value":2255487087,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:08] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":1777074382,"corrected_to":0} 
[2026-04-17 19:31:08] local.WARNING: Large IO value detected {"io_id":132,"raw_value":2952867089,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:08] local.WARNING: Large IO value detected {"io_id":39,"raw_value":9851624185528324,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:08] local.WARNING: Large IO value detected {"io_id":120,"raw_value":34665403154169856,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:08] local.WARNING: Large IO value detected {"io_id":34,"raw_value":-3314649325744685055,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:08] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,32,28,24,241,158,16,35,157,183,45,64,131,109,41,10,66,179,40,236,175,1,240,136,155,38,4,113,205,132,165,160,39,239,47,2,147,7,120,34],"length":534,"final_offset":664,"validated_count":40,"validation_warnings":[{"io_id":205,"original":1777074382,"validated":0}]} 
[2026-04-17 19:31:08] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":7782325881012617216,"timestamp_seconds":7782325881012617.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 19:31:08] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:31:08] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:31:08] local.INFO: Teltonika packet parsed successfully {"connection_id":46893,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:31:08] local.INFO: Passing IMEI to GPS processor {"connection_id":46893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:31:08] local.INFO: DEBUG: About to call GPS processor {"connection_id":46893,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:31:08] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:31:08] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:31:08] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:31:08] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767206912001,"66":12156,"32":206,"28":26880,"24":27,"16":113473568536264704,"45":1283877768232509440},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-17 19:31:08] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:31:08] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:31:08] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767206912001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:31:08] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 19:31:08] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 19:31:08] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113473568536264704,"km_value":113473568536264.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:31:08] local.INFO: Unknown IO ID detected {"io_id":45,"value":1283877768232509440,"description":"Unknown IO ID 45"} 
[2026-04-17 19:31:08] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767206912001,"power":12156,"unknown_32":206,"unknown_28":26880,"ignition":27,"odometer":null,"unknown_45":1283877768232509440}} 
[2026-04-17 19:31:08] local.INFO: DEBUG: GPS processor result {"connection_id":46893,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22765,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:31:08] local.INFO: GPS data processed {"connection_id":46893,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:31:08] local.INFO: Acknowledgment sent {"connection_id":46893,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:31:21] local.INFO: TCP Data received {"connection_id":46141,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:31:21] local.INFO: Processing buffer {"connection_id":46141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:31:21] local.INFO: IMEI packet received {"connection_id":46141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":46141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:31:23] local.INFO: TCP Data received {"connection_id":46141,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:31:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:31:23] local.INFO: Processing buffer {"connection_id":46141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:31:23] local.INFO: IMEI packet received {"connection_id":46141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:31:23] local.INFO: IMEI acknowledgment sent {"connection_id":46141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:31:25] local.INFO: TCP Data received {"connection_id":46141,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46141,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:31:25] local.INFO: Processing buffer {"connection_id":46141,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:31:25] local.INFO: IMEI packet received {"connection_id":46141,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":46141,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:31:26] local.INFO: TCP Data received {"connection_id":46141,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbde270012d11da80072680a0006b008128..."} 
[2026-04-17 19:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbde270012d11da80072680a0006b008128..."} 
[2026-04-17 19:31:26] local.INFO: Processing buffer {"connection_id":46141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbde270012d11da80072680a0006b008128..."} 
[2026-04-17 19:31:26] local.INFO: Packet analysis {"connection_id":46141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbd"} 
[2026-04-17 19:31:26] local.INFO: Extracted packet for processing {"connection_id":46141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbd"} 
[2026-04-17 19:31:26] local.INFO: GPS Element Parsed {"raw_longitude":756144768,"raw_latitude":119963808,"longitude_deg":75.6144768,"latitude_deg":11.9963808,"altitude":107,"angle":129,"satellites":40,"speed":26,"hex_longitude":"2d11da80","hex_latitude":"072680a0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767207424001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113473632960774144,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1285214774371788800,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776434406000,"timestamp_ms":1776434406000,"timestamp_seconds":1776434406,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbde270"} 
[2026-04-17 19:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":47,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 19:31:26] 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-04-17 19: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-04-17 19:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767207424001,"66":12004,"32":206,"28":26880,"24":26,"16":113473632960774144,"45":1285214774371788800},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-17 19:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767207424001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:31:26] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 19:31:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 19:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113473632960774144,"km_value":113473632960774.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1285214774371788800,"description":"Unknown IO ID 45"} 
[2026-04-17 19:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767207424001,"power":12004,"unknown_32":206,"unknown_28":26880,"ignition":26,"odometer":null,"unknown_45":1285214774371788800}} 
[2026-04-17 19:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":46141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22766,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:31:26] local.INFO: GPS data processed {"connection_id":46141,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:31:26] local.INFO: Acknowledgment sent {"connection_id":46141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:31:27] local.INFO: TCP Data received {"connection_id":46140,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbe3860012d7eb8c005b2f420000b000033..."} 
[2026-04-17 19:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbe3860012d7eb8c005b2f420000b000033..."} 
[2026-04-17 19:31:27] local.INFO: Processing buffer {"connection_id":46140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbe3860012d7eb8c005b2f420000b000033..."} 
[2026-04-17 19:31:27] local.INFO: Packet analysis {"connection_id":46140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:31:27] local.INFO: Extracted packet for processing {"connection_id":46140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:31:27] local.INFO: GPS Element Parsed {"raw_longitude":763279552,"raw_latitude":95613984,"longitude_deg":76.3279552,"latitude_deg":9.5613984,"altitude":11,"angle":0,"satellites":51,"speed":43,"hex_longitude":"2d7eb8c0","hex_latitude":"05b2f420","is_valid_coordinates":true} 
[2026-04-17 19:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767211520001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274086486205267968,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131540850177798144,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776434428000,"timestamp_ms":1776434428000,"timestamp_seconds":1776434428,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbe3860"} 
[2026-04-17 19:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 19:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767211520001,"66":27332,"58":206,"85":12544,"24":43,"16":274086486205267968,"45":9131540850177798144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-17 19:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767211520001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:31:27] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-17 19:31:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274086486205267968,"km_value":274086486205267.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131540850177798144,"description":"Unknown IO ID 45"} 
[2026-04-17 19:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767211520001,"power":27332,"unknown_58":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":9131540850177798144}} 
[2026-04-17 19:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":46140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22767,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:31:27] local.INFO: GPS data processed {"connection_id":46140,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:31:27] local.INFO: Acknowledgment sent {"connection_id":46140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:31:27] local.INFO: TCP Data received {"connection_id":46141,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbe0d68012d11f580072668300062007f28..."} 
[2026-04-17 19:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbe0d68012d11f580072668300062007f28..."} 
[2026-04-17 19:31:27] local.INFO: Processing buffer {"connection_id":46141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbe0d68012d11f580072668300062007f28..."} 
[2026-04-17 19:31:27] local.INFO: Packet analysis {"connection_id":46141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:31:27] local.INFO: Extracted packet for processing {"connection_id":46141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:31:27] local.INFO: GPS Element Parsed {"raw_longitude":756151680,"raw_latitude":119957552,"longitude_deg":75.615168,"latitude_deg":11.9957552,"altitude":98,"angle":127,"satellites":40,"speed":38,"hex_longitude":"2d11f580","hex_latitude":"07266830","is_valid_coordinates":true} 
[2026-04-17 19:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767207936001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113474079637372928,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1286481411766788096,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776434417000,"timestamp_ms":1776434417000,"timestamp_seconds":1776434417,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbe0d68"} 
[2026-04-17 19:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 19:31:27] 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-04-17 19:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767207936001,"66":12026,"32":206,"28":26880,"24":38,"16":113474079637372928,"45":1286481411766788096},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-17 19:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767207936001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:31:27] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 19:31:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 19:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113474079637372928,"km_value":113474079637372.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1286481411766788096,"description":"Unknown IO ID 45"} 
[2026-04-17 19:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767207936001,"power":12026,"unknown_32":206,"unknown_28":26880,"ignition":38,"odometer":null,"unknown_45":1286481411766788096}} 
[2026-04-17 19:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":46141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22768,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:31:27] local.INFO: GPS data processed {"connection_id":46141,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:31:27] local.INFO: Acknowledgment sent {"connection_id":46141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:31:52] local.INFO: TCP Data received {"connection_id":46040,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:31:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:31:52] local.INFO: Processing buffer {"connection_id":46040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:31:52] local.INFO: IMEI packet received {"connection_id":46040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:31:52] local.INFO: IMEI acknowledgment sent {"connection_id":46040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:31:56] local.INFO: TCP Data received {"connection_id":46040,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:31:56] local.INFO: Processing buffer {"connection_id":46040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:31:56] local.INFO: IMEI packet received {"connection_id":46040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:31:56] local.INFO: IMEI acknowledgment sent {"connection_id":46040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:31:58] local.INFO: TCP Data received {"connection_id":46141,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbef7c8012d126a80072642f8002f007124..."} 
[2026-04-17 19:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46141,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbef7c8012d126a80072642f8002f007124..."} 
[2026-04-17 19:31:58] local.INFO: Processing buffer {"connection_id":46141,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbef7c8012d126a80072642f8002f007124..."} 
[2026-04-17 19:31:58] local.INFO: Packet analysis {"connection_id":46141,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:31:58] local.INFO: Extracted packet for processing {"connection_id":46141,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:31:58] local.INFO: GPS Element Parsed {"raw_longitude":756181632,"raw_latitude":119948024,"longitude_deg":75.6181632,"latitude_deg":11.9948024,"altitude":47,"angle":113,"satellites":36,"speed":7,"hex_longitude":"2d126a80","hex_latitude":"072642f8","is_valid_coordinates":true} 
[2026-04-17 19:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767225856001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113476158401544192,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1326802702176577536,"note":"Value kept but may cause issues"} 
[2026-04-17 19:31:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776434477000,"timestamp_ms":1776434477000,"timestamp_seconds":1776434477,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbef7c8"} 
[2026-04-17 19:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:31: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-04-17 19:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-04-17 19:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46141,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46141,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767225856001,"66":13287,"236":206,"28":26880,"24":7,"16":113476158401544192,"45":1326802702176577536},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-04-17 19:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767225856001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:31:58] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-17 19:31:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 19:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113476158401544192,"km_value":113476158401544.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1326802702176577536,"description":"Unknown IO ID 45"} 
[2026-04-17 19:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767225856001,"power":13287,"unknown_236":206,"unknown_28":26880,"ignition":7,"odometer":null,"unknown_45":1326802702176577536}} 
[2026-04-17 19:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":46141,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22769,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:31:58] local.INFO: GPS data processed {"connection_id":46141,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:31:58] local.INFO: Acknowledgment sent {"connection_id":46141,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:32:00] local.INFO: TCP Data received {"connection_id":46040,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46040,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:32:00] local.INFO: Processing buffer {"connection_id":46040,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:32:00] local.INFO: IMEI packet received {"connection_id":46040,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":46040,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:32:02] local.INFO: TCP Data received {"connection_id":46040,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbe5b88012d7eb7c005b319c8000c016534..."} 
[2026-04-17 19:32:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbe5b88012d7eb7c005b319c8000c016534..."} 
[2026-04-17 19:32:02] local.INFO: Processing buffer {"connection_id":46040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbe5b88012d7eb7c005b319c8000c016534..."} 
[2026-04-17 19:32:02] local.INFO: Packet analysis {"connection_id":46040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:32:02] local.INFO: Extracted packet for processing {"connection_id":46040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:32:02] local.INFO: GPS Element Parsed {"raw_longitude":763279296,"raw_latitude":95623624,"longitude_deg":76.3279296,"latitude_deg":9.5623624,"altitude":12,"angle":357,"satellites":52,"speed":40,"hex_longitude":"2d7eb7c0","hex_latitude":"05b319c8","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:32:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767213568001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:32:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274086954356703232,"note":"Value kept but may cause issues"} 
[2026-04-17 19:32:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9131259375203393536,"note":"Value kept but may cause issues"} 
[2026-04-17 19:32:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:32:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776434437000,"timestamp_ms":1776434437000,"timestamp_seconds":1776434437,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbe5b88"} 
[2026-04-17 19:32:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:32:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 19:32:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:32:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:32:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:32:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:32:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:32:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:32:02] 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-04-17 19:32:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:32:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:32:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767213568001,"66":27517,"58":206,"85":12544,"24":40,"16":274086954356703232,"45":9131259375203393536},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-17 19:32:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:32:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:32:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767213568001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:32:02] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-17 19:32:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:32:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274086954356703232,"km_value":274086954356703.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:32:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9131259375203393536,"description":"Unknown IO ID 45"} 
[2026-04-17 19:32:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767213568001,"power":27517,"unknown_58":206,"unknown_85":12544,"ignition":40,"odometer":null,"unknown_45":9131259375203393536}} 
[2026-04-17 19:32:02] local.INFO: DEBUG: GPS processor result {"connection_id":46040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22770,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:32:02] local.INFO: GPS data processed {"connection_id":46040,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:32:02] local.INFO: Acknowledgment sent {"connection_id":46040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:32:07] local.INFO: TCP Data received {"connection_id":46040,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbe7eb0012d7eb6c005b33e10000a016634..."} 
[2026-04-17 19:32:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbe7eb0012d7eb6c005b33e10000a016634..."} 
[2026-04-17 19:32:07] local.INFO: Processing buffer {"connection_id":46040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbe7eb0012d7eb6c005b33e10000a016634..."} 
[2026-04-17 19:32:07] local.INFO: Packet analysis {"connection_id":46040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:32:07] local.INFO: Extracted packet for processing {"connection_id":46040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:32:07] local.INFO: GPS Element Parsed {"raw_longitude":763279040,"raw_latitude":95632912,"longitude_deg":76.327904,"latitude_deg":9.5632912,"altitude":10,"angle":358,"satellites":52,"speed":41,"hex_longitude":"2d7eb6c0","hex_latitude":"05b33e10","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:32:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767215872001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:32:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274087405328269312,"note":"Value kept but may cause issues"} 
[2026-04-17 19:32:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130977900229150720,"note":"Value kept but may cause issues"} 
[2026-04-17 19:32:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:32:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776434446000,"timestamp_ms":1776434446000,"timestamp_seconds":1776434446,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbe7eb0"} 
[2026-04-17 19:32:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:32:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 19:32: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-04-17 19: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-04-17 19:32:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:32:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:32:07] local.INFO: Teltonika packet parsed successfully {"connection_id":46040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:32:07] local.INFO: Passing IMEI to GPS processor {"connection_id":46040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:32:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":46040,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:32:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:32:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:32:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:32:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767215872001,"66":27571,"58":206,"85":12544,"24":41,"16":274087405328269312,"45":9130977900229150720},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-17 19:32:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:32:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:32:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767215872001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:32:07] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-17 19:32:07] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:32:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274087405328269312,"km_value":274087405328269.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:32:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130977900229150720,"description":"Unknown IO ID 45"} 
[2026-04-17 19:32:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767215872001,"power":27571,"unknown_58":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9130977900229150720}} 
[2026-04-17 19:32:07] local.INFO: DEBUG: GPS processor result {"connection_id":46040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22771,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:32:07] local.INFO: GPS data processed {"connection_id":46040,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:32:07] local.INFO: Acknowledgment sent {"connection_id":46040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:32:20] local.INFO: TCP Data received {"connection_id":46381,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:32:20] local.INFO: Processing buffer {"connection_id":46381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:32:20] local.INFO: IMEI packet received {"connection_id":46381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":46381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:32:21] local.INFO: TCP Data received {"connection_id":46381,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:32:21] local.INFO: Processing buffer {"connection_id":46381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:32:21] local.INFO: IMEI packet received {"connection_id":46381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":46381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:32:26] local.INFO: TCP Data received {"connection_id":46381,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46381,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:32:26] local.INFO: Processing buffer {"connection_id":46381,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:32:26] local.INFO: IMEI packet received {"connection_id":46381,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":46381,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:32:27] local.INFO: TCP Data received {"connection_id":46381,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbefbb0012d126b40072642c8002f005424..."} 
[2026-04-17 19:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbefbb0012d126b40072642c8002f005424..."} 
[2026-04-17 19:32:27] local.INFO: Processing buffer {"connection_id":46381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbefbb0012d126b40072642c8002f005424..."} 
[2026-04-17 19:32:27] local.INFO: Packet analysis {"connection_id":46381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:32:27] local.INFO: Extracted packet for processing {"connection_id":46381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:32:27] local.INFO: GPS Element Parsed {"raw_longitude":756181824,"raw_latitude":119947976,"longitude_deg":75.6181824,"latitude_deg":11.9947976,"altitude":47,"angle":84,"satellites":36,"speed":6,"hex_longitude":"2d126b40","hex_latitude":"072642c8","is_valid_coordinates":true} 
[2026-04-17 19:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767226112001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113476162696511488,"note":"Value kept but may cause issues"} 
[2026-04-17 19:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1327013808409081856,"note":"Value kept but may cause issues"} 
[2026-04-17 19:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776434478000,"timestamp_ms":1776434478000,"timestamp_seconds":1776434478,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbefbb0"} 
[2026-04-17 19:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":231,"data_length":795,"current_offset":136} 
[2026-04-17 19:32:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2532,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767226112001,"66":13439,"236":206,"28":26880,"24":6,"16":113476162696511488,"45":1327013808409081856},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-04-17 19:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767226112001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:32:27] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-17 19:32:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 19:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113476162696511488,"km_value":113476162696511.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1327013808409081856,"description":"Unknown IO ID 45"} 
[2026-04-17 19:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767226112001,"power":13439,"unknown_236":206,"unknown_28":26880,"ignition":6,"odometer":null,"unknown_45":1327013808409081856}} 
[2026-04-17 19:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":46381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22772,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:32:27] local.INFO: GPS data processed {"connection_id":46381,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:32:27] local.INFO: Acknowledgment sent {"connection_id":46381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:32:47] local.INFO: TCP Data received {"connection_id":46894,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:32:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:32:47] local.INFO: Processing buffer {"connection_id":46894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:32:47] local.INFO: IMEI packet received {"connection_id":46894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:32:47] local.INFO: IMEI acknowledgment sent {"connection_id":46894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:32:50] local.INFO: TCP Data received {"connection_id":46894,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:32:50] local.INFO: Processing buffer {"connection_id":46894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:32:50] local.INFO: IMEI packet received {"connection_id":46894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":46894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:32:55] local.INFO: TCP Data received {"connection_id":46894,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46894,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:32:55] local.INFO: Processing buffer {"connection_id":46894,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:32:55] local.INFO: IMEI packet received {"connection_id":46894,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":46894,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:32:56] local.INFO: TCP Data received {"connection_id":46894,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbea1d8012d7eb5c005b36300000a016734..."} 
[2026-04-17 19:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbea1d8012d7eb5c005b36300000a016734..."} 
[2026-04-17 19:32:56] local.INFO: Processing buffer {"connection_id":46894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbea1d8012d7eb5c005b36300000a016734..."} 
[2026-04-17 19:32:56] local.INFO: Packet analysis {"connection_id":46894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:32:56] local.INFO: Extracted packet for processing {"connection_id":46894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:32:56] local.INFO: GPS Element Parsed {"raw_longitude":763278784,"raw_latitude":95642368,"longitude_deg":76.3278784,"latitude_deg":9.5642368,"altitude":10,"angle":359,"satellites":52,"speed":41,"hex_longitude":"2d7eb5c0","hex_latitude":"05b36300","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767218176001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274087864889769984,"note":"Value kept but may cause issues"} 
[2026-04-17 19:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130696425254817792,"note":"Value kept but may cause issues"} 
[2026-04-17 19:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,58,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776434455000,"timestamp_ms":1776434455000,"timestamp_seconds":1776434455,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbea1d8"} 
[2026-04-17 19:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-17 19:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:32:56] 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-04-17 19:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767218176001,"66":27484,"58":206,"85":12544,"24":41,"16":274087864889769984,"45":9130696425254817792},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,58,85,24,16,45]} 
[2026-04-17 19:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767218176001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:32:56] local.INFO: Unknown IO ID detected {"io_id":58,"value":206,"description":"Unknown IO ID 58"} 
[2026-04-17 19:32:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274087864889769984,"km_value":274087864889769.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130696425254817792,"description":"Unknown IO ID 45"} 
[2026-04-17 19:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767218176001,"power":27484,"unknown_58":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9130696425254817792}} 
[2026-04-17 19:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":46894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22773,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:32:56] local.INFO: GPS data processed {"connection_id":46894,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:32:56] local.INFO: Acknowledgment sent {"connection_id":46894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:33:02] local.INFO: TCP Data received {"connection_id":46381,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbeff98012d126bc007264318002f003025..."} 
[2026-04-17 19:33:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46381,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbeff98012d126bc007264318002f003025..."} 
[2026-04-17 19:33:02] local.INFO: Processing buffer {"connection_id":46381,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbeff98012d126bc007264318002f003025..."} 
[2026-04-17 19:33:02] local.INFO: Packet analysis {"connection_id":46381,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:33:02] local.INFO: Extracted packet for processing {"connection_id":46381,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:33:02] local.INFO: GPS Element Parsed {"raw_longitude":756181952,"raw_latitude":119948056,"longitude_deg":75.6181952,"latitude_deg":11.9948056,"altitude":47,"angle":48,"satellites":37,"speed":7,"hex_longitude":"2d126bc0","hex_latitude":"07264318","is_valid_coordinates":true} 
[2026-04-17 19:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:33:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767226368001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:33:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113476171286446080,"note":"Value kept but may cause issues"} 
[2026-04-17 19:33:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1327224914641602560,"note":"Value kept but may cause issues"} 
[2026-04-17 19:33:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:33:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776434479000,"timestamp_ms":1776434479000,"timestamp_seconds":1776434479,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbeff98"} 
[2026-04-17 19:33:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:33: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-04-17 19:33:02] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-04-17 19:33:02] 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-04-17 19:33:02] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:33:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:33:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:33:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46381,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:33:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:33:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46381,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:33:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:33:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:33:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:33:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767226368001,"66":13439,"236":206,"28":26880,"24":7,"16":113476171286446080,"45":1327224914641602560},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-04-17 19:33:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:33:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:33:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767226368001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:33:02] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-17 19:33:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 19:33:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113476171286446080,"km_value":113476171286446.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:33:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1327224914641602560,"description":"Unknown IO ID 45"} 
[2026-04-17 19:33:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767226368001,"power":13439,"unknown_236":206,"unknown_28":26880,"ignition":7,"odometer":null,"unknown_45":1327224914641602560}} 
[2026-04-17 19:33:02] local.INFO: DEBUG: GPS processor result {"connection_id":46381,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22774,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:33:02] local.INFO: GPS data processed {"connection_id":46381,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:33:02] local.INFO: Acknowledgment sent {"connection_id":46381,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:33:27] local.INFO: TCP Data received {"connection_id":46894,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbec500012d7eb50005b387800009016534..."} 
[2026-04-17 19:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46894,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbec500012d7eb50005b387800009016534..."} 
[2026-04-17 19:33:27] local.INFO: Processing buffer {"connection_id":46894,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbec500012d7eb50005b387800009016534..."} 
[2026-04-17 19:33:27] local.INFO: Packet analysis {"connection_id":46894,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:33:27] local.INFO: Extracted packet for processing {"connection_id":46894,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:33:27] local.INFO: GPS Element Parsed {"raw_longitude":763278592,"raw_latitude":95651712,"longitude_deg":76.3278592,"latitude_deg":9.5651712,"altitude":9,"angle":357,"satellites":52,"speed":41,"hex_longitude":"2d7eb500","hex_latitude":"05b38780","is_valid_coordinates":true} 
[2026-04-17 19:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767220480001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274088315861336064,"note":"Value kept but may cause issues"} 
[2026-04-17 19:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130414950280527872,"note":"Value kept but may cause issues"} 
[2026-04-17 19:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776434464000,"timestamp_ms":1776434464000,"timestamp_seconds":1776434464,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbec500"} 
[2026-04-17 19:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 19:33:27] 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-04-17 19:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46894,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46894,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767220480001,"66":27365,"13":206,"85":12544,"24":41,"16":274088315861336064,"45":9130414950280527872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,85,24,16,45]} 
[2026-04-17 19:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767220480001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:33:27] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-04-17 19:33:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274088315861336064,"km_value":274088315861336.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130414950280527872,"description":"Unknown IO ID 45"} 
[2026-04-17 19:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767220480001,"power":27365,"unknown_13":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9130414950280527872}} 
[2026-04-17 19:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":46894,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22775,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:33:27] local.INFO: GPS data processed {"connection_id":46894,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:33:27] local.INFO: Acknowledgment sent {"connection_id":46894,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:33:38] local.INFO: TCP Data received {"connection_id":46895,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:33:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:33:38] local.INFO: Processing buffer {"connection_id":46895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:33:38] local.INFO: IMEI packet received {"connection_id":46895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:33:38] local.INFO: IMEI acknowledgment sent {"connection_id":46895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:33:40] local.INFO: TCP Data received {"connection_id":46895,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:33:40] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46895,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:33:40] local.INFO: Processing buffer {"connection_id":46895,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:33:40] local.INFO: IMEI packet received {"connection_id":46895,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:33:40] local.INFO: IMEI acknowledgment sent {"connection_id":46895,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:33:42] local.INFO: TCP Data received {"connection_id":46895,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbf3260012d128840072658d8002e003424..."} 
[2026-04-17 19:33:42] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbf3260012d128840072658d8002e003424..."} 
[2026-04-17 19:33:42] local.INFO: Processing buffer {"connection_id":46895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbf3260012d128840072658d8002e003424..."} 
[2026-04-17 19:33:42] local.INFO: Packet analysis {"connection_id":46895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbf"} 
[2026-04-17 19:33:42] local.INFO: Extracted packet for processing {"connection_id":46895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbf"} 
[2026-04-17 19:33:42] local.INFO: GPS Element Parsed {"raw_longitude":756189248,"raw_latitude":119953624,"longitude_deg":75.6189248,"latitude_deg":11.9953624,"altitude":46,"angle":52,"satellites":36,"speed":37,"hex_longitude":"2d128840","hex_latitude":"072658d8","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:33:42] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767226624001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:33:42] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113476613668077568,"note":"Value kept but may cause issues"} 
[2026-04-17 19:33:42] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1327365652129978368,"note":"Value kept but may cause issues"} 
[2026-04-17 19:33:42] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,236,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:33:42] local.INFO: AVL Record Parsed {"raw_timestamp":1776434492000,"timestamp_ms":1776434492000,"timestamp_seconds":1776434492,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbf3260"} 
[2026-04-17 19:33:42] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:33:42] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-04-17 19:33:42] 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-04-17 19: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-04-17 19:33:42] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:33:42] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:33:42] local.INFO: Teltonika packet parsed successfully {"connection_id":46895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:33:42] local.INFO: Passing IMEI to GPS processor {"connection_id":46895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:33:42] local.INFO: DEBUG: About to call GPS processor {"connection_id":46895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:33:42] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:33:42] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:33:42] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:33:42] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767226624001,"66":13091,"236":206,"28":26880,"24":37,"16":113476613668077568,"45":1327365652129978368},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,236,28,24,16,45]} 
[2026-04-17 19:33:42] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:33:42] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:33:42] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767226624001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:33:42] local.INFO: Unknown IO ID detected {"io_id":236,"value":206,"description":"Unknown IO ID 236"} 
[2026-04-17 19:33:42] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 19:33:42] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113476613668077568,"km_value":113476613668077.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:33:42] local.INFO: Unknown IO ID detected {"io_id":45,"value":1327365652129978368,"description":"Unknown IO ID 45"} 
[2026-04-17 19:33:42] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767226624001,"power":13091,"unknown_236":206,"unknown_28":26880,"ignition":37,"odometer":null,"unknown_45":1327365652129978368}} 
[2026-04-17 19:33:42] local.INFO: DEBUG: GPS processor result {"connection_id":46895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22776,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:33:42] local.INFO: GPS data processed {"connection_id":46895,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:33:42] local.INFO: Acknowledgment sent {"connection_id":46895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:33:43] local.INFO: TCP Data received {"connection_id":46895,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbf5970012d12a54007266f70002e003221..."} 
[2026-04-17 19:33:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46895,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbf5970012d12a54007266f70002e003221..."} 
[2026-04-17 19:33:43] local.INFO: Processing buffer {"connection_id":46895,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbf5970012d12a54007266f70002e003221..."} 
[2026-04-17 19:33:43] local.INFO: Packet analysis {"connection_id":46895,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbf"} 
[2026-04-17 19:33:43] local.INFO: Extracted packet for processing {"connection_id":46895,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbf"} 
[2026-04-17 19:33:43] local.INFO: GPS Element Parsed {"raw_longitude":756196672,"raw_latitude":119959408,"longitude_deg":75.6196672,"latitude_deg":11.9959408,"altitude":46,"angle":50,"satellites":33,"speed":35,"hex_longitude":"2d12a540","hex_latitude":"07266f70","is_valid_coordinates":true} 
[2026-04-17 19:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:33:43] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767229952001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:33:43] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113477060344676352,"note":"Value kept but may cause issues"} 
[2026-04-17 19:33:43] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1335387688967657472,"note":"Value kept but may cause issues"} 
[2026-04-17 19:33:43] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,2,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:33:43] local.INFO: AVL Record Parsed {"raw_timestamp":1776434502000,"timestamp_ms":1776434502000,"timestamp_seconds":1776434502,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbf5970"} 
[2026-04-17 19:33:43] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:33:43] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:33:43] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":35,"data_length":795,"current_offset":136} 
[2026-04-17 19:33:43] 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-04-17 19:33:43] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:33:43] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:33:43] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:33:43] local.INFO: Teltonika packet parsed successfully {"connection_id":46895,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:33:43] local.INFO: Passing IMEI to GPS processor {"connection_id":46895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:33:43] local.INFO: DEBUG: About to call GPS processor {"connection_id":46895,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:33:43] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:33:43] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:33:43] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:33:43] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767229952001,"66":13374,"2":206,"28":26880,"24":35,"16":113477060344676352,"45":1335387688967657472},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,2,28,24,16,45]} 
[2026-04-17 19:33:43] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:33:43] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:33:43] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767229952001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:33:43] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 19:33:43] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113477060344676352,"km_value":113477060344676.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:33:43] local.INFO: Unknown IO ID detected {"io_id":45,"value":1335387688967657472,"description":"Unknown IO ID 45"} 
[2026-04-17 19:33:43] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767229952001,"power":13374,"power_alt":206,"unknown_28":26880,"ignition":35,"odometer":null,"unknown_45":1335387688967657472}} 
[2026-04-17 19:33:43] local.INFO: DEBUG: GPS processor result {"connection_id":46895,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22777,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:33:43] local.INFO: GPS data processed {"connection_id":46895,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:33:43] local.INFO: Acknowledgment sent {"connection_id":46895,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:33:49] local.INFO: TCP Data received {"connection_id":46041,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:33:49] local.INFO: Processing buffer {"connection_id":46041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:33:49] local.INFO: IMEI packet received {"connection_id":46041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":46041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:33:50] local.INFO: TCP Data received {"connection_id":46041,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:33:50] local.INFO: Processing buffer {"connection_id":46041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:33:50] local.INFO: IMEI packet received {"connection_id":46041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":46041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:33:55] local.INFO: TCP Data received {"connection_id":46041,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46041,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:33:55] local.INFO: Processing buffer {"connection_id":46041,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:33:55] local.INFO: IMEI packet received {"connection_id":46041,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":46041,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:33:59] local.INFO: TCP Data received {"connection_id":46041,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bbeec10012d7eb34005b3acf80009016334..."} 
[2026-04-17 19:33:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bbeec10012d7eb34005b3acf80009016334..."} 
[2026-04-17 19:33:59] local.INFO: Processing buffer {"connection_id":46041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bbeec10012d7eb34005b3acf80009016334..."} 
[2026-04-17 19:33:59] local.INFO: Packet analysis {"connection_id":46041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:33:59] local.INFO: Extracted packet for processing {"connection_id":46041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bbe"} 
[2026-04-17 19:33:59] local.INFO: GPS Element Parsed {"raw_longitude":763278144,"raw_latitude":95661304,"longitude_deg":76.3278144,"latitude_deg":9.5661304,"altitude":9,"angle":355,"satellites":52,"speed":29,"hex_longitude":"2d7eb340","hex_latitude":"05b3acf8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:33:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767222784001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:33:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274088784012771328,"note":"Value kept but may cause issues"} 
[2026-04-17 19:33:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9130203844050386944,"note":"Value kept but may cause issues"} 
[2026-04-17 19:33:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,13,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:33:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776434474000,"timestamp_ms":1776434474000,"timestamp_seconds":1776434474,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bbeec10"} 
[2026-04-17 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-04-17 19:33:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 19:33: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-04-17 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-04-17 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-04-17 19:33:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:33:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:33:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:33:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:33:59] 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-04-17 19:33:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:33:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:33:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767222784001,"66":27234,"13":206,"85":12544,"24":29,"16":274088784012771328,"45":9130203844050386944},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,13,85,24,16,45]} 
[2026-04-17 19:33:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:33:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:33:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767222784001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:33:59] local.INFO: Unknown IO ID detected {"io_id":13,"value":206,"description":"Unknown IO ID 13"} 
[2026-04-17 19:33:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:33:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274088784012771328,"km_value":274088784012771.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:33:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9130203844050386944,"description":"Unknown IO ID 45"} 
[2026-04-17 19:33:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767222784001,"power":27234,"unknown_13":206,"unknown_85":12544,"ignition":29,"odometer":null,"unknown_45":9130203844050386944}} 
[2026-04-17 19:33:59] local.INFO: DEBUG: GPS processor result {"connection_id":46041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22778,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:33:59] local.INFO: GPS data processed {"connection_id":46041,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:33:59] local.INFO: Acknowledgment sent {"connection_id":46041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:34:19] local.INFO: TCP Data received {"connection_id":46382,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:34:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:34:19] local.INFO: Processing buffer {"connection_id":46382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:34:19] local.INFO: IMEI packet received {"connection_id":46382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:34:19] local.INFO: IMEI acknowledgment sent {"connection_id":46382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:34:21] local.INFO: TCP Data received {"connection_id":46382,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:34:21] local.INFO: Processing buffer {"connection_id":46382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:34:21] local.INFO: IMEI packet received {"connection_id":46382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":46382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:34:22] local.INFO: TCP Data received {"connection_id":46382,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:34:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:34:22] local.INFO: Processing buffer {"connection_id":46382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:34:22] local.INFO: IMEI packet received {"connection_id":46382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:34:22] local.INFO: IMEI acknowledgment sent {"connection_id":46382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:34:26] local.INFO: TCP Data received {"connection_id":46382,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46382,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:34:26] local.INFO: Processing buffer {"connection_id":46382,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:34:26] local.INFO: IMEI packet received {"connection_id":46382,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":46382,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:34:27] local.INFO: TCP Data received {"connection_id":46382,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc0e010012d14198007268d400022007622..."} 
[2026-04-17 19:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc0e010012d14198007268d400022007622..."} 
[2026-04-17 19:34:27] local.INFO: Processing buffer {"connection_id":46382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc0e010012d14198007268d400022007622..."} 
[2026-04-17 19:34:27] local.INFO: Packet analysis {"connection_id":46382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc0"} 
[2026-04-17 19:34:27] local.INFO: Extracted packet for processing {"connection_id":46382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc0"} 
[2026-04-17 19:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756291968,"raw_latitude":119967040,"longitude_deg":75.6291968,"latitude_deg":11.996704,"altitude":34,"angle":118,"satellites":34,"speed":37,"hex_longitude":"2d141980","hex_latitude":"07268d40","is_valid_coordinates":true} 
[2026-04-17 19:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767256320001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113482033916805120,"note":"Value kept but may cause issues"} 
[2026-04-17 19:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1442840761331441664,"note":"Value kept but may cause issues"} 
[2026-04-17 19:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776434602000,"timestamp_ms":1776434602000,"timestamp_seconds":1776434602,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc0e010"} 
[2026-04-17 19:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-04-17 19:34:27] 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-04-17 19:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767256320001,"66":13341,"32":206,"28":26880,"24":37,"16":113482033916805120,"45":1442840761331441664},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-17 19:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767256320001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:34:27] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 19:34:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 19:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113482033916805120,"km_value":113482033916805.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1442840761331441664,"description":"Unknown IO ID 45"} 
[2026-04-17 19:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767256320001,"power":13341,"unknown_32":206,"unknown_28":26880,"ignition":37,"odometer":null,"unknown_45":1442840761331441664}} 
[2026-04-17 19:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":46382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22779,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:34:27] local.INFO: GPS data processed {"connection_id":46382,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:34:27] local.INFO: Acknowledgment sent {"connection_id":46382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:34:30] local.INFO: TCP Data received {"connection_id":46041,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc10ef0012d7ea60005b504b00008016733..."} 
[2026-04-17 19:34:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46041,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc10ef0012d7ea60005b504b00008016733..."} 
[2026-04-17 19:34:30] local.INFO: Processing buffer {"connection_id":46041,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc10ef0012d7ea60005b504b00008016733..."} 
[2026-04-17 19:34:30] local.INFO: Packet analysis {"connection_id":46041,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc1"} 
[2026-04-17 19:34:30] local.INFO: Extracted packet for processing {"connection_id":46041,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc1"} 
[2026-04-17 19:34:30] local.INFO: GPS Element Parsed {"raw_longitude":763274752,"raw_latitude":95749296,"longitude_deg":76.3274752,"latitude_deg":9.5749296,"altitude":8,"angle":359,"satellites":51,"speed":38,"hex_longitude":"2d7ea600","hex_latitude":"05b504b0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:34:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767259904001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:34:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274093070390132736,"note":"Value kept but may cause issues"} 
[2026-04-17 19:34:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125348400725929984,"note":"Value kept but may cause issues"} 
[2026-04-17 19:34:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:34:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776434614000,"timestamp_ms":1776434614000,"timestamp_seconds":1776434614,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc10ef0"} 
[2026-04-17 19:34:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:34: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-04-17 19:34:30] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 19:34: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-04-17 19: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-04-17 19:34:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:34:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:34:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46041,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:34:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:34:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46041,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:34: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-04-17 19:34:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:34:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:34:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767259904001,"66":27463,"122":206,"85":12544,"24":38,"16":274093070390132736,"45":9125348400725929984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-04-17 19:34:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:34:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:34:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767259904001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:34:30] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-17 19:34:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:34:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274093070390132736,"km_value":274093070390132.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:34:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125348400725929984,"description":"Unknown IO ID 45"} 
[2026-04-17 19:34:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767259904001,"power":27463,"unknown_122":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9125348400725929984}} 
[2026-04-17 19:34:30] local.INFO: DEBUG: GPS processor result {"connection_id":46041,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22780,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:34:30] local.INFO: GPS data processed {"connection_id":46041,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:34:30] local.INFO: Acknowledgment sent {"connection_id":46041,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:34:32] local.INFO: TCP Data received {"connection_id":46382,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc0e7e0012d14214007268af80023006424..."} 
[2026-04-17 19:34:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc0e7e0012d14214007268af80023006424..."} 
[2026-04-17 19:34:32] local.INFO: Processing buffer {"connection_id":46382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc0e7e0012d14214007268af80023006424..."} 
[2026-04-17 19:34:32] local.INFO: Packet analysis {"connection_id":46382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc0"} 
[2026-04-17 19:34:32] local.INFO: Extracted packet for processing {"connection_id":46382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc0"} 
[2026-04-17 19:34:32] local.INFO: GPS Element Parsed {"raw_longitude":756293952,"raw_latitude":119966456,"longitude_deg":75.6293952,"latitude_deg":11.9966456,"altitude":35,"angle":100,"satellites":36,"speed":40,"hex_longitude":"2d142140","hex_latitude":"07268af8","is_valid_coordinates":true} 
[2026-04-17 19:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:34:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767258112001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:34:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113482132701052928,"note":"Value kept but may cause issues"} 
[2026-04-17 19:34:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1448329523376242688,"note":"Value kept but may cause issues"} 
[2026-04-17 19:34:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:34:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776434604000,"timestamp_ms":1776434604000,"timestamp_seconds":1776434604,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc0e7e0"} 
[2026-04-17 19:34:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:34:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:34:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-17 19:34:32] 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-04-17 19:34:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:34:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:34:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:34:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:34:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:34:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:34:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:34:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:34:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:34:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767258112001,"66":12972,"32":206,"28":26880,"24":40,"16":113482132701052928,"45":1448329523376242688},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-17 19:34:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:34:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:34:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767258112001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:34:32] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 19:34:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 19:34:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113482132701052928,"km_value":113482132701052.92,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:34:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1448329523376242688,"description":"Unknown IO ID 45"} 
[2026-04-17 19:34:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767258112001,"power":12972,"unknown_32":206,"unknown_28":26880,"ignition":40,"odometer":null,"unknown_45":1448329523376242688}} 
[2026-04-17 19:34:32] local.INFO: DEBUG: GPS processor result {"connection_id":46382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22781,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:34:32] local.INFO: GPS data processed {"connection_id":46382,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:34:32] local.INFO: Acknowledgment sent {"connection_id":46382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:34:50] local.INFO: TCP Data received {"connection_id":46143,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:34:50] local.INFO: Processing buffer {"connection_id":46143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:34:50] local.INFO: IMEI packet received {"connection_id":46143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":46143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:34:50] local.INFO: TCP Data received {"connection_id":46143,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:34:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:34:50] local.INFO: Processing buffer {"connection_id":46143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:34:50] local.INFO: IMEI packet received {"connection_id":46143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:34:50] local.INFO: IMEI acknowledgment sent {"connection_id":46143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:34:55] local.INFO: TCP Data received {"connection_id":46143,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:34:55] local.INFO: Processing buffer {"connection_id":46143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:34:55] local.INFO: IMEI packet received {"connection_id":46143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":46143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:35:03] local.INFO: TCP Data received {"connection_id":46382,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc0efb0012d1429c007268a780023005925..."} 
[2026-04-17 19:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46382,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc0efb0012d1429c007268a780023005925..."} 
[2026-04-17 19:35:03] local.INFO: Processing buffer {"connection_id":46382,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc0efb0012d1429c007268a780023005925..."} 
[2026-04-17 19:35:03] local.INFO: Packet analysis {"connection_id":46382,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc0"} 
[2026-04-17 19:35:03] local.INFO: Extracted packet for processing {"connection_id":46382,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc0"} 
[2026-04-17 19:35:03] local.INFO: GPS Element Parsed {"raw_longitude":756296128,"raw_latitude":119966328,"longitude_deg":75.6296128,"latitude_deg":11.9966328,"altitude":35,"angle":89,"satellites":37,"speed":44,"hex_longitude":"2d1429c0","hex_latitude":"07268a78","is_valid_coordinates":true} 
[2026-04-17 19:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:35:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767258624001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:35:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113482240075235328,"note":"Value kept but may cause issues"} 
[2026-04-17 19:35:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1450510954445600768,"note":"Value kept but may cause issues"} 
[2026-04-17 19:35:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:35:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776434606000,"timestamp_ms":1776434606000,"timestamp_seconds":1776434606,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc0efb0"} 
[2026-04-17 19:35:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:35: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-04-17 19:35:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-17 19:35:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1996,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:35:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:35:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:35:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:35:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46382,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:35:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:35:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46382,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:35:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:35:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:35:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:35:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767258624001,"66":12722,"32":206,"28":26880,"24":44,"16":113482240075235328,"45":1450510954445600768},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-17 19:35:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:35:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:35:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767258624001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:35:03] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 19:35:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 19:35:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113482240075235328,"km_value":113482240075235.33,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:35:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1450510954445600768,"description":"Unknown IO ID 45"} 
[2026-04-17 19:35:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767258624001,"power":12722,"unknown_32":206,"unknown_28":26880,"ignition":44,"odometer":null,"unknown_45":1450510954445600768}} 
[2026-04-17 19:35:03] local.INFO: DEBUG: GPS processor result {"connection_id":46382,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22782,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:35:03] local.INFO: GPS data processed {"connection_id":46382,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:35:03] local.INFO: Acknowledgment sent {"connection_id":46382,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:35:09] local.INFO: TCP Data received {"connection_id":46143,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc13218012d7ea58005b529680009016634..."} 
[2026-04-17 19:35:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc13218012d7ea58005b529680009016634..."} 
[2026-04-17 19:35:09] local.INFO: Processing buffer {"connection_id":46143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc13218012d7ea58005b529680009016634..."} 
[2026-04-17 19:35:09] local.INFO: Packet analysis {"connection_id":46143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc1"} 
[2026-04-17 19:35:09] local.INFO: Extracted packet for processing {"connection_id":46143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc1"} 
[2026-04-17 19:35:09] local.INFO: GPS Element Parsed {"raw_longitude":763274624,"raw_latitude":95758696,"longitude_deg":76.3274624,"latitude_deg":9.5758696,"altitude":9,"angle":358,"satellites":52,"speed":43,"hex_longitude":"2d7ea580","hex_latitude":"05b52968","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:35:09] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767261184001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:35:09] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274093525656666112,"note":"Value kept but may cause issues"} 
[2026-04-17 19:35:09] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125981719424708608,"note":"Value kept but may cause issues"} 
[2026-04-17 19:35:09] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:35:09] local.INFO: AVL Record Parsed {"raw_timestamp":1776434623000,"timestamp_ms":1776434623000,"timestamp_seconds":1776434623,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc13218"} 
[2026-04-17 19:35:09] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:35:09] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 19:35:09] 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-04-17 19: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-04-17 19:35:09] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:35:09] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:35:09] local.INFO: Teltonika packet parsed successfully {"connection_id":46143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:35:09] local.INFO: Passing IMEI to GPS processor {"connection_id":46143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:35:09] local.INFO: DEBUG: About to call GPS processor {"connection_id":46143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:35:09] 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-04-17 19:35:09] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:35:09] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:35:09] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767261184001,"66":27463,"122":206,"85":12544,"24":43,"16":274093525656666112,"45":9125981719424708608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-04-17 19:35:09] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:35:09] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:35:09] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767261184001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:35:09] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-17 19:35:09] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:35:09] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274093525656666112,"km_value":274093525656666.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:35:09] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125981719424708608,"description":"Unknown IO ID 45"} 
[2026-04-17 19:35:09] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767261184001,"power":27463,"unknown_122":206,"unknown_85":12544,"ignition":43,"odometer":null,"unknown_45":9125981719424708608}} 
[2026-04-17 19:35:09] local.INFO: DEBUG: GPS processor result {"connection_id":46143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22783,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:35:09] local.INFO: GPS data processed {"connection_id":46143,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:35:09] local.INFO: Acknowledgment sent {"connection_id":46143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:35:19] local.INFO: TCP Data received {"connection_id":46043,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:35:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:35:19] local.INFO: Processing buffer {"connection_id":46043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:35:19] local.INFO: IMEI packet received {"connection_id":46043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:35:19] local.INFO: IMEI acknowledgment sent {"connection_id":46043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:35:21] local.INFO: TCP Data received {"connection_id":46043,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:35:21] local.INFO: Processing buffer {"connection_id":46043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:35:21] local.INFO: IMEI packet received {"connection_id":46043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":46043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:35:24] local.INFO: TCP Data received {"connection_id":46042,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:35:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46042,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:35:24] local.INFO: Processing buffer {"connection_id":46042,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:35:24] local.INFO: IMEI packet received {"connection_id":46042,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:35:24] local.INFO: IMEI acknowledgment sent {"connection_id":46042,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:35:26] local.INFO: TCP Data received {"connection_id":46043,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:35:26] local.INFO: Processing buffer {"connection_id":46043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:35:26] local.INFO: IMEI packet received {"connection_id":46043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":46043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:35:27] local.INFO: TCP Data received {"connection_id":46043,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc1e5c8012d152a4007268000002a007121..."} 
[2026-04-17 19:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc1e5c8012d152a4007268000002a007121..."} 
[2026-04-17 19:35:27] local.INFO: Processing buffer {"connection_id":46043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc1e5c8012d152a4007268000002a007121..."} 
[2026-04-17 19:35:27] local.INFO: Packet analysis {"connection_id":46043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc1"} 
[2026-04-17 19:35:27] local.INFO: Extracted packet for processing {"connection_id":46043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc1"} 
[2026-04-17 19:35:27] local.INFO: GPS Element Parsed {"raw_longitude":756361792,"raw_latitude":119963648,"longitude_deg":75.6361792,"latitude_deg":11.9963648,"altitude":42,"angle":113,"satellites":33,"speed":46,"hex_longitude":"2d152a40","hex_latitude":"07268000","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767272960001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113485448415805440,"note":"Value kept but may cause issues"} 
[2026-04-17 19:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1514827986623913984,"note":"Value kept but may cause issues"} 
[2026-04-17 19:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776434669000,"timestamp_ms":1776434669000,"timestamp_seconds":1776434669,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc1e5c8"} 
[2026-04-17 19:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-17 19:35:27] 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-04-17 19: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-04-17 19:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767272960001,"66":13439,"32":206,"28":26880,"24":46,"16":113485448415805440,"45":1514827986623913984},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-17 19:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767272960001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:35:27] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 19:35:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 19:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113485448415805440,"km_value":113485448415805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1514827986623913984,"description":"Unknown IO ID 45"} 
[2026-04-17 19:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767272960001,"power":13439,"unknown_32":206,"unknown_28":26880,"ignition":46,"odometer":null,"unknown_45":1514827986623913984}} 
[2026-04-17 19:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":46043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22784,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:35:27] local.INFO: GPS data processed {"connection_id":46043,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:35:27] local.INFO: Acknowledgment sent {"connection_id":46043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:35:50] local.INFO: TCP Data received {"connection_id":46383,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:35:50] local.INFO: Processing buffer {"connection_id":46383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:35:50] local.INFO: IMEI packet received {"connection_id":46383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":46383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:35:54] local.INFO: TCP Data received {"connection_id":46383,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:35:54] local.INFO: Processing buffer {"connection_id":46383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:35:54] local.INFO: IMEI packet received {"connection_id":46383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:35:54] local.INFO: IMEI acknowledgment sent {"connection_id":46383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:35:55] local.INFO: TCP Data received {"connection_id":46383,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46383,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:35:55] local.INFO: Processing buffer {"connection_id":46383,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:35:55] local.INFO: IMEI packet received {"connection_id":46383,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":46383,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:35:56] local.INFO: TCP Data received {"connection_id":46383,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc15158012d7ea54005b54ce8000a000034..."} 
[2026-04-17 19:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc15158012d7ea54005b54ce8000a000034..."} 
[2026-04-17 19:35:56] local.INFO: Processing buffer {"connection_id":46383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc15158012d7ea54005b54ce8000a000034..."} 
[2026-04-17 19:35:56] local.INFO: Packet analysis {"connection_id":46383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc1"} 
[2026-04-17 19:35:56] local.INFO: Extracted packet for processing {"connection_id":46383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc1"} 
[2026-04-17 19:35:56] local.INFO: GPS Element Parsed {"raw_longitude":763274560,"raw_latitude":95767784,"longitude_deg":76.327456,"latitude_deg":9.5767784,"altitude":10,"angle":0,"satellites":52,"speed":48,"hex_longitude":"2d7ea540","hex_latitude":"05b54ce8","is_valid_coordinates":true} 
[2026-04-17 19:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767263488001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274093968038297600,"note":"Value kept but may cause issues"} 
[2026-04-17 19:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125840981938759680,"note":"Value kept but may cause issues"} 
[2026-04-17 19:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776434631000,"timestamp_ms":1776434631000,"timestamp_seconds":1776434631,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc15158"} 
[2026-04-17 19:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 19:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:35:56] 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-04-17 19:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767263488001,"66":27376,"122":206,"85":12544,"24":48,"16":274093968038297600,"45":9125840981938759680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-04-17 19:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767263488001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:35:56] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-17 19:35:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274093968038297600,"km_value":274093968038297.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125840981938759680,"description":"Unknown IO ID 45"} 
[2026-04-17 19:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767263488001,"power":27376,"unknown_122":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9125840981938759680}} 
[2026-04-17 19:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":46383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22785,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:35:56] local.INFO: GPS data processed {"connection_id":46383,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:35:56] local.INFO: Acknowledgment sent {"connection_id":46383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:35:59] local.INFO: TCP Data received {"connection_id":46043,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc1e5c8012d152a4007268000002a007121..."} 
[2026-04-17 19:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc1e5c8012d152a4007268000002a007121..."} 
[2026-04-17 19:35:59] local.INFO: Processing buffer {"connection_id":46043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc1e5c8012d152a4007268000002a007121..."} 
[2026-04-17 19:35:59] local.INFO: Packet analysis {"connection_id":46043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc1"} 
[2026-04-17 19:35:59] local.INFO: Extracted packet for processing {"connection_id":46043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc1"} 
[2026-04-17 19:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756361792,"raw_latitude":119963648,"longitude_deg":75.6361792,"latitude_deg":11.9963648,"altitude":42,"angle":113,"satellites":33,"speed":46,"hex_longitude":"2d152a40","hex_latitude":"07268000","is_valid_coordinates":true} 
[2026-04-17 19:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767275264001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113485448415805440,"note":"Value kept but may cause issues"} 
[2026-04-17 19:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1525101823273205760,"note":"Value kept but may cause issues"} 
[2026-04-17 19:35:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776434669000,"timestamp_ms":1776434669000,"timestamp_seconds":1776434669,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc1e5c8"} 
[2026-04-17 19:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:35: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-04-17 19:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-04-17 19:35:59] 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-04-17 19:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767275264001,"66":13439,"32":206,"28":26880,"24":46,"16":113485448415805440,"45":1525101823273205760},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-17 19:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767275264001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:35:59] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 19:35:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 19:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113485448415805440,"km_value":113485448415805.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1525101823273205760,"description":"Unknown IO ID 45"} 
[2026-04-17 19:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767275264001,"power":13439,"unknown_32":206,"unknown_28":26880,"ignition":46,"odometer":null,"unknown_45":1525101823273205760}} 
[2026-04-17 19:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":46043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22786,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:35:59] local.INFO: GPS data processed {"connection_id":46043,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:35:59] local.INFO: Acknowledgment sent {"connection_id":46043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:36:00] local.INFO: TCP Data received {"connection_id":46383,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc168c8012d7ea64005b568e8000a000c33..."} 
[2026-04-17 19:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46383,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc168c8012d7ea64005b568e8000a000c33..."} 
[2026-04-17 19:36:00] local.INFO: Processing buffer {"connection_id":46383,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc168c8012d7ea64005b568e8000a000c33..."} 
[2026-04-17 19:36:00] local.INFO: Packet analysis {"connection_id":46383,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc1"} 
[2026-04-17 19:36:00] local.INFO: Extracted packet for processing {"connection_id":46383,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc1"} 
[2026-04-17 19:36:00] local.INFO: GPS Element Parsed {"raw_longitude":763274816,"raw_latitude":95774952,"longitude_deg":76.3274816,"latitude_deg":9.5774952,"altitude":10,"angle":12,"satellites":51,"speed":42,"hex_longitude":"2d7ea640","hex_latitude":"05b568e8","is_valid_coordinates":true} 
[2026-04-17 19:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767265536001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274094315930648576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9125770613196908544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776434637000,"timestamp_ms":1776434637000,"timestamp_seconds":1776434637,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc168c8"} 
[2026-04-17 19:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:36:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 19:36:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:36:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46383,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46383,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:36: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-04-17 19:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767265536001,"66":27571,"122":206,"85":12544,"24":42,"16":274094315930648576,"45":9125770613196908544},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-04-17 19:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767265536001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:36:00] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-17 19:36:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274094315930648576,"km_value":274094315930648.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9125770613196908544,"description":"Unknown IO ID 45"} 
[2026-04-17 19:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767265536001,"power":27571,"unknown_122":206,"unknown_85":12544,"ignition":42,"odometer":null,"unknown_45":9125770613196908544}} 
[2026-04-17 19:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":46383,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22787,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:36:00] local.INFO: GPS data processed {"connection_id":46383,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:36:00] local.INFO: Acknowledgment sent {"connection_id":46383,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:36:03] local.INFO: TCP Data received {"connection_id":46897,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:36:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46897,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:36:03] local.INFO: Processing buffer {"connection_id":46897,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:36:03] local.INFO: IMEI packet received {"connection_id":46897,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:36:03] local.INFO: IMEI acknowledgment sent {"connection_id":46897,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:36:21] local.INFO: TCP Data received {"connection_id":46044,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:36:21] local.INFO: Processing buffer {"connection_id":46044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:36:21] local.INFO: IMEI packet received {"connection_id":46044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":46044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:36:22] local.INFO: TCP Data received {"connection_id":46044,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:36:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:36:22] local.INFO: Processing buffer {"connection_id":46044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:36:22] local.INFO: IMEI packet received {"connection_id":46044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:36:22] local.INFO: IMEI acknowledgment sent {"connection_id":46044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:36:26] local.INFO: TCP Data received {"connection_id":46044,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46044,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:36:26] local.INFO: Processing buffer {"connection_id":46044,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:36:26] local.INFO: IMEI packet received {"connection_id":46044,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":46044,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:36:27] local.INFO: TCP Data received {"connection_id":46044,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc1f568012d153a0007267650002a008024..."} 
[2026-04-17 19:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc1f568012d153a0007267650002a008024..."} 
[2026-04-17 19:36:27] local.INFO: Processing buffer {"connection_id":46044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc1f568012d153a0007267650002a008024..."} 
[2026-04-17 19:36:27] local.INFO: Packet analysis {"connection_id":46044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc1"} 
[2026-04-17 19:36:27] local.INFO: Extracted packet for processing {"connection_id":46044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc1"} 
[2026-04-17 19:36:27] local.INFO: GPS Element Parsed {"raw_longitude":756365824,"raw_latitude":119961168,"longitude_deg":75.6365824,"latitude_deg":11.9961168,"altitude":42,"angle":128,"satellites":36,"speed":47,"hex_longitude":"2d153a00","hex_latitude":"07267650","is_valid_coordinates":true} 
[2026-04-17 19:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767275264001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113485676049072128,"note":"Value kept but may cause issues"} 
[2026-04-17 19:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1525101823273205760,"note":"Value kept but may cause issues"} 
[2026-04-17 19:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,32,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776434673000,"timestamp_ms":1776434673000,"timestamp_seconds":1776434673,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc1f568"} 
[2026-04-17 19:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":127,"data_length":795,"current_offset":136} 
[2026-04-17 19:36: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-04-17 19:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767275264001,"66":13493,"32":206,"28":26880,"24":47,"16":113485676049072128,"45":1525101823273205760},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,32,28,24,16,45]} 
[2026-04-17 19:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767275264001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:36:27] local.INFO: Unknown IO ID detected {"io_id":32,"value":206,"description":"Unknown IO ID 32"} 
[2026-04-17 19:36:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 19:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113485676049072128,"km_value":113485676049072.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1525101823273205760,"description":"Unknown IO ID 45"} 
[2026-04-17 19:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767275264001,"power":13493,"unknown_32":206,"unknown_28":26880,"ignition":47,"odometer":null,"unknown_45":1525101823273205760}} 
[2026-04-17 19:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":46044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22788,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:36:27] local.INFO: GPS data processed {"connection_id":46044,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:36:27] local.INFO: Acknowledgment sent {"connection_id":46044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:36:50] local.INFO: TCP Data received {"connection_id":46898,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:36:50] local.INFO: Processing buffer {"connection_id":46898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:36:50] local.INFO: IMEI packet received {"connection_id":46898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":46898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:36:56] local.INFO: TCP Data received {"connection_id":46898,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46898,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:36:56] local.INFO: Processing buffer {"connection_id":46898,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:36:56] local.INFO: IMEI packet received {"connection_id":46898,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:36:56] local.INFO: IMEI acknowledgment sent {"connection_id":46898,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:36:58] local.INFO: TCP Data received {"connection_id":46898,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc2fb20012d7ea8c005b6c660000c000230..."} 
[2026-04-17 19:36:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc2fb20012d7ea8c005b6c660000c000230..."} 
[2026-04-17 19:36:58] local.INFO: Processing buffer {"connection_id":46898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc2fb20012d7ea8c005b6c660000c000230..."} 
[2026-04-17 19:36:58] local.INFO: Packet analysis {"connection_id":46898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc2"} 
[2026-04-17 19:36:58] local.INFO: Extracted packet for processing {"connection_id":46898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc2"} 
[2026-04-17 19:36:58] local.INFO: GPS Element Parsed {"raw_longitude":763275456,"raw_latitude":95864416,"longitude_deg":76.3275456,"latitude_deg":9.5864416,"altitude":12,"angle":2,"satellites":48,"speed":45,"hex_longitude":"2d7ea8c0","hex_latitude":"05b6c660","is_valid_coordinates":true} 
[2026-04-17 19:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:36:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767291136001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:36:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274098666732519424,"note":"Value kept but may cause issues"} 
[2026-04-17 19:36:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126403931916724224,"note":"Value kept but may cause issues"} 
[2026-04-17 19:36:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,122,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:36:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776434740000,"timestamp_ms":1776434740000,"timestamp_seconds":1776434740,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc2fb20"} 
[2026-04-17 19:36:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:36: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-04-17 19:36:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 19:36: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-04-17 19:36:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:36:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:36:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:36:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:36:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:36:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:36:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:36:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:36:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:36:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767291136001,"66":27484,"122":206,"85":12544,"24":45,"16":274098666732519424,"45":9126403931916724224},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,122,85,24,16,45]} 
[2026-04-17 19:36:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:36:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:36:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767291136001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:36:58] local.INFO: Unknown IO ID detected {"io_id":122,"value":206,"description":"Unknown IO ID 122"} 
[2026-04-17 19:36:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:36:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274098666732519424,"km_value":274098666732519.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:36:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126403931916724224,"description":"Unknown IO ID 45"} 
[2026-04-17 19:36:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767291136001,"power":27484,"unknown_122":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9126403931916724224}} 
[2026-04-17 19:36:58] local.INFO: DEBUG: GPS processor result {"connection_id":46898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22789,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:36:58] local.INFO: GPS data processed {"connection_id":46898,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:36:58] local.INFO: Acknowledgment sent {"connection_id":46898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:36:59] local.INFO: TCP Data received {"connection_id":46044,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc214a8012d15550007265d280027008825..."} 
[2026-04-17 19:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc214a8012d15550007265d280027008825..."} 
[2026-04-17 19:36:59] local.INFO: Processing buffer {"connection_id":46044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc214a8012d15550007265d280027008825..."} 
[2026-04-17 19:36:59] local.INFO: Packet analysis {"connection_id":46044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc2"} 
[2026-04-17 19:36:59] local.INFO: Extracted packet for processing {"connection_id":46044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc2"} 
[2026-04-17 19:36:59] local.INFO: GPS Element Parsed {"raw_longitude":756372736,"raw_latitude":119954728,"longitude_deg":75.6372736,"latitude_deg":11.9954728,"altitude":39,"angle":136,"satellites":37,"speed":46,"hex_longitude":"2d155500","hex_latitude":"07265d28","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767276288001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113486131315605504,"note":"Value kept but may cause issues"} 
[2026-04-17 19:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1529535054155763712,"note":"Value kept but may cause issues"} 
[2026-04-17 19:36:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,31,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776434681000,"timestamp_ms":1776434681000,"timestamp_seconds":1776434681,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc214a8"} 
[2026-04-17 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-04-17 19:36: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-04-17 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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-17 19:36:59] 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-04-17 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-04-17 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-04-17 19:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46044,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767276288001,"66":13472,"31":206,"28":26880,"24":46,"16":113486131315605504,"45":1529535054155763712},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,31,28,24,16,45]} 
[2026-04-17 19:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767276288001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:36:59] local.INFO: Unknown IO ID detected {"io_id":31,"value":206,"description":"Unknown IO ID 31"} 
[2026-04-17 19:36:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":26880,"description":"Unknown IO ID 28"} 
[2026-04-17 19:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113486131315605504,"km_value":113486131315605.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1529535054155763712,"description":"Unknown IO ID 45"} 
[2026-04-17 19:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767276288001,"power":13472,"unknown_31":206,"unknown_28":26880,"ignition":46,"odometer":null,"unknown_45":1529535054155763712}} 
[2026-04-17 19:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":46044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22790,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:36:59] local.INFO: GPS data processed {"connection_id":46044,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:36:59] local.INFO: Acknowledgment sent {"connection_id":46044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:37:28] local.INFO: TCP Data received {"connection_id":46900,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:37:28] local.INFO: Processing buffer {"connection_id":46900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:37:28] local.INFO: IMEI packet received {"connection_id":46900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:37:28] local.INFO: IMEI acknowledgment sent {"connection_id":46900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:37:29] local.INFO: TCP Data received {"connection_id":46898,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc31a60012d7ea9c005b6e930000b000132..."} 
[2026-04-17 19:37:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46898,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc31a60012d7ea9c005b6e930000b000132..."} 
[2026-04-17 19:37:29] local.INFO: Processing buffer {"connection_id":46898,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc31a60012d7ea9c005b6e930000b000132..."} 
[2026-04-17 19:37:29] local.INFO: Packet analysis {"connection_id":46898,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc3"} 
[2026-04-17 19:37:29] local.INFO: Extracted packet for processing {"connection_id":46898,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc3"} 
[2026-04-17 19:37:29] local.INFO: GPS Element Parsed {"raw_longitude":763275712,"raw_latitude":95873328,"longitude_deg":76.3275712,"latitude_deg":9.5873328,"altitude":11,"angle":1,"satellites":50,"speed":41,"hex_longitude":"2d7ea9c0","hex_latitude":"05b6e930","is_valid_coordinates":true} 
[2026-04-17 19:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:37:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767293440001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:37:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274099100524216320,"note":"Value kept but may cause issues"} 
[2026-04-17 19:37:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9126755775640133632,"note":"Value kept but may cause issues"} 
[2026-04-17 19:37:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:37:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776434748000,"timestamp_ms":1776434748000,"timestamp_seconds":1776434748,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc31a60"} 
[2026-04-17 19:37:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:37: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-04-17 19:37:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 19:37:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:37:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:37:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:37:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:37:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46898,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:37:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:37:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46898,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:37: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-04-17 19:37:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:37:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:37:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767293440001,"66":27484,"121":206,"85":12544,"24":41,"16":274099100524216320,"45":9126755775640133632},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:37:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:37:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:37:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767293440001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:37:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:37:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:37:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274099100524216320,"km_value":274099100524216.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:37:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9126755775640133632,"description":"Unknown IO ID 45"} 
[2026-04-17 19:37:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767293440001,"power":27484,"unknown_121":206,"unknown_85":12544,"ignition":41,"odometer":null,"unknown_45":9126755775640133632}} 
[2026-04-17 19:37:29] local.INFO: DEBUG: GPS processor result {"connection_id":46898,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22791,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:37:29] local.INFO: GPS data processed {"connection_id":46898,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:37:29] local.INFO: Acknowledgment sent {"connection_id":46898,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:37:32] local.INFO: TCP Data received {"connection_id":46900,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46900,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:37:32] local.INFO: Processing buffer {"connection_id":46900,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:37:32] local.INFO: IMEI packet received {"connection_id":46900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":46900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:37:32] local.INFO: TCP Data received {"connection_id":46900,"ip":"117.224.167.9","data_length":34,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 19:37:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46900,"packet_length":34,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 19:37:32] local.INFO: Processing buffer {"connection_id":46900,"buffer_length":34,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 19:37:32] local.INFO: IMEI packet received {"connection_id":46900,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:37:32] local.INFO: IMEI acknowledgment sent {"connection_id":46900,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:37:50] local.INFO: TCP Data received {"connection_id":46144,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:37:50] local.INFO: Processing buffer {"connection_id":46144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:37:50] local.INFO: IMEI packet received {"connection_id":46144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":46144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:37:52] local.INFO: TCP Data received {"connection_id":46144,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:37:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:37:52] local.INFO: Processing buffer {"connection_id":46144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:37:52] local.INFO: IMEI packet received {"connection_id":46144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:37:52] local.INFO: IMEI acknowledgment sent {"connection_id":46144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:37:55] local.INFO: TCP Data received {"connection_id":46144,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46144,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:37:55] local.INFO: Processing buffer {"connection_id":46144,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:37:55] local.INFO: IMEI packet received {"connection_id":46144,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":46144,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:37:56] local.INFO: TCP Data received {"connection_id":46144,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc33d88012d7eaac005b70ca0000a000132..."} 
[2026-04-17 19:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc33d88012d7eaac005b70ca0000a000132..."} 
[2026-04-17 19:37:56] local.INFO: Processing buffer {"connection_id":46144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc33d88012d7eaac005b70ca0000a000132..."} 
[2026-04-17 19:37:56] local.INFO: Packet analysis {"connection_id":46144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc3"} 
[2026-04-17 19:37:56] local.INFO: Extracted packet for processing {"connection_id":46144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc3"} 
[2026-04-17 19:37:56] local.INFO: GPS Element Parsed {"raw_longitude":763275968,"raw_latitude":95882400,"longitude_deg":76.3275968,"latitude_deg":9.58824,"altitude":10,"angle":1,"satellites":50,"speed":38,"hex_longitude":"2d7eaac0","hex_latitude":"05b70ca0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767295488001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274099538610880512,"note":"Value kept but may cause issues"} 
[2026-04-17 19:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127037250619125760,"note":"Value kept but may cause issues"} 
[2026-04-17 19:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776434757000,"timestamp_ms":1776434757000,"timestamp_seconds":1776434757,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc33d88"} 
[2026-04-17 19:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 19:37:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:37:56] 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-04-17 19:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767295488001,"66":27376,"121":206,"85":12544,"24":38,"16":274099538610880512,"45":9127037250619125760},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767295488001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:37:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:37:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274099538610880512,"km_value":274099538610880.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127037250619125760,"description":"Unknown IO ID 45"} 
[2026-04-17 19:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767295488001,"power":27376,"unknown_121":206,"unknown_85":12544,"ignition":38,"odometer":null,"unknown_45":9127037250619125760}} 
[2026-04-17 19:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":46144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22792,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:37:56] local.INFO: GPS data processed {"connection_id":46144,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:37:56] local.INFO: Acknowledgment sent {"connection_id":46144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:38:28] local.INFO: TCP Data received {"connection_id":46144,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc36498012d7eac0005b72f38000a000332..."} 
[2026-04-17 19:38:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46144,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc36498012d7eac0005b72f38000a000332..."} 
[2026-04-17 19:38:28] local.INFO: Processing buffer {"connection_id":46144,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc36498012d7eac0005b72f38000a000332..."} 
[2026-04-17 19:38:28] local.INFO: Packet analysis {"connection_id":46144,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc3"} 
[2026-04-17 19:38:28] local.INFO: Extracted packet for processing {"connection_id":46144,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc3"} 
[2026-04-17 19:38:28] local.INFO: GPS Element Parsed {"raw_longitude":763276288,"raw_latitude":95891256,"longitude_deg":76.3276288,"latitude_deg":9.5891256,"altitude":10,"angle":3,"satellites":50,"speed":31,"hex_longitude":"2d7eac00","hex_latitude":"05b72f38","is_valid_coordinates":true} 
[2026-04-17 19:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:38:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767297792001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:38:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274099968107610112,"note":"Value kept but may cause issues"} 
[2026-04-17 19:38:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127318725598158848,"note":"Value kept but may cause issues"} 
[2026-04-17 19:38:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:38:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776434767000,"timestamp_ms":1776434767000,"timestamp_seconds":1776434767,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc36498"} 
[2026-04-17 19:38:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:38: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-04-17 19:38:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 19:38:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:38:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:38:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:38:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:38:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46144,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:38:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:38:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46144,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:38:28] 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-04-17 19:38:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:38:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:38:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767297792001,"66":27397,"121":206,"85":12544,"24":31,"16":274099968107610112,"45":9127318725598158848},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:38:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:38:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:38:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767297792001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:38:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:38:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:38:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274099968107610112,"km_value":274099968107610.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:38:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127318725598158848,"description":"Unknown IO ID 45"} 
[2026-04-17 19:38:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767297792001,"power":27397,"unknown_121":206,"unknown_85":12544,"ignition":31,"odometer":null,"unknown_45":9127318725598158848}} 
[2026-04-17 19:38:28] local.INFO: DEBUG: GPS processor result {"connection_id":46144,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22793,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:38:28] local.INFO: GPS data processed {"connection_id":46144,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:38:28] local.INFO: Acknowledgment sent {"connection_id":46144,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:38:55] local.INFO: TCP Data received {"connection_id":46901,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:38:55] local.INFO: Processing buffer {"connection_id":46901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:38:55] local.INFO: IMEI packet received {"connection_id":46901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":46901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:39:00] local.INFO: TCP Data received {"connection_id":46901,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46901,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:39:00] local.INFO: Processing buffer {"connection_id":46901,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:39:00] local.INFO: IMEI packet received {"connection_id":46901,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":46901,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:39:00] local.INFO: TCP Data received {"connection_id":46901,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc39378012d7ead0005b75400000800012f..."} 
[2026-04-17 19:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc39378012d7ead0005b75400000800012f..."} 
[2026-04-17 19:39:00] local.INFO: Processing buffer {"connection_id":46901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc39378012d7ead0005b75400000800012f..."} 
[2026-04-17 19:39:00] local.INFO: Packet analysis {"connection_id":46901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc3"} 
[2026-04-17 19:39:00] local.INFO: Extracted packet for processing {"connection_id":46901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc3"} 
[2026-04-17 19:39:00] local.INFO: GPS Element Parsed {"raw_longitude":763276544,"raw_latitude":95900672,"longitude_deg":76.3276544,"latitude_deg":9.5900672,"altitude":8,"angle":1,"satellites":47,"speed":22,"hex_longitude":"2d7ead00","hex_latitude":"05b75400","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:39:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767300352001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:39:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274100427669110784,"note":"Value kept but may cause issues"} 
[2026-04-17 19:39:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9127670569321314304,"note":"Value kept but may cause issues"} 
[2026-04-17 19:39:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:39:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776434779000,"timestamp_ms":1776434779000,"timestamp_seconds":1776434779,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc39378"} 
[2026-04-17 19:39:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:39:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:39:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 19:39:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:39:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:39:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:39:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:39:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:39:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:39: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-04-17 19:39:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:39:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:39:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767300352001,"66":27397,"121":206,"85":12544,"24":22,"16":274100427669110784,"45":9127670569321314304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:39:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:39:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:39:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767300352001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:39:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:39:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:39:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274100427669110784,"km_value":274100427669110.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:39:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9127670569321314304,"description":"Unknown IO ID 45"} 
[2026-04-17 19:39:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767300352001,"power":27397,"unknown_121":206,"unknown_85":12544,"ignition":22,"odometer":null,"unknown_45":9127670569321314304}} 
[2026-04-17 19:39:00] local.INFO: DEBUG: GPS processor result {"connection_id":46901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22794,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:39:00] local.INFO: GPS data processed {"connection_id":46901,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:39:00] local.INFO: Acknowledgment sent {"connection_id":46901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:39:32] local.INFO: TCP Data received {"connection_id":46901,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc58778012d7ec74005b90a800009000731..."} 
[2026-04-17 19:39:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46901,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc58778012d7ec74005b90a800009000731..."} 
[2026-04-17 19:39:32] local.INFO: Processing buffer {"connection_id":46901,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc58778012d7ec74005b90a800009000731..."} 
[2026-04-17 19:39:32] local.INFO: Packet analysis {"connection_id":46901,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc5"} 
[2026-04-17 19:39:32] local.INFO: Extracted packet for processing {"connection_id":46901,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc5"} 
[2026-04-17 19:39:32] local.INFO: GPS Element Parsed {"raw_longitude":763283264,"raw_latitude":96012928,"longitude_deg":76.3283264,"latitude_deg":9.6012928,"altitude":9,"angle":7,"satellites":49,"speed":27,"hex_longitude":"2d7ec740","hex_latitude":"05b90a80","is_valid_coordinates":true} 
[2026-04-17 19:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:39:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767331328001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:39:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274105890867511296,"note":"Value kept but may cause issues"} 
[2026-04-17 19:39:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9133933387581927424,"note":"Value kept but may cause issues"} 
[2026-04-17 19:39:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:39:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776434907000,"timestamp_ms":1776434907000,"timestamp_seconds":1776434907,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc58778"} 
[2026-04-17 19:39:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:39:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:39:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 19:39: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-04-17 19:39:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:39:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:39:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:39:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46901,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:39:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:39:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46901,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:39:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:39:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:39:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:39:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767331328001,"66":27343,"127":206,"85":12544,"24":27,"16":274105890867511296,"45":9133933387581927424},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-04-17 19:39:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:39:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:39:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767331328001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:39:32] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-17 19:39:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:39:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274105890867511296,"km_value":274105890867511.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:39:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9133933387581927424,"description":"Unknown IO ID 45"} 
[2026-04-17 19:39:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767331328001,"power":27343,"unknown_127":206,"unknown_85":12544,"ignition":27,"odometer":null,"unknown_45":9133933387581927424}} 
[2026-04-17 19:39:32] local.INFO: DEBUG: GPS processor result {"connection_id":46901,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22795,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:39:32] local.INFO: GPS data processed {"connection_id":46901,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:39:32] local.INFO: Acknowledgment sent {"connection_id":46901,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:39:49] local.INFO: TCP Data received {"connection_id":46047,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:39:49] local.INFO: Processing buffer {"connection_id":46047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:39:49] local.INFO: IMEI packet received {"connection_id":46047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":46047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:39:50] local.INFO: TCP Data received {"connection_id":46047,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:39:50] local.INFO: Processing buffer {"connection_id":46047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:39:50] local.INFO: IMEI packet received {"connection_id":46047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":46047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:39:55] local.INFO: TCP Data received {"connection_id":46047,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46047,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:39:55] local.INFO: Processing buffer {"connection_id":46047,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:39:55] local.INFO: IMEI packet received {"connection_id":46047,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":46047,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:39:56] local.INFO: TCP Data received {"connection_id":46047,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc5b658012d7ecb4005b92f60000a000733..."} 
[2026-04-17 19:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc5b658012d7ecb4005b92f60000a000733..."} 
[2026-04-17 19:39:56] local.INFO: Processing buffer {"connection_id":46047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc5b658012d7ecb4005b92f60000a000733..."} 
[2026-04-17 19:39:56] local.INFO: Packet analysis {"connection_id":46047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc5"} 
[2026-04-17 19:39:56] local.INFO: Extracted packet for processing {"connection_id":46047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc5"} 
[2026-04-17 19:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763284288,"raw_latitude":96022368,"longitude_deg":76.3284288,"latitude_deg":9.6022368,"altitude":10,"angle":7,"satellites":51,"speed":35,"hex_longitude":"2d7ecb40","hex_latitude":"05b92f60","is_valid_coordinates":true} 
[2026-04-17 19:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767336192001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274106350429011968,"note":"Value kept but may cause issues"} 
[2026-04-17 19:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9135340762467827712,"note":"Value kept but may cause issues"} 
[2026-04-17 19:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776434919000,"timestamp_ms":1776434919000,"timestamp_seconds":1776434919,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc5b658"} 
[2026-04-17 19:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 19:39:56] 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-04-17 19:39:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:39:56] 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-04-17 19:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767336192001,"66":27332,"127":206,"85":12544,"24":35,"16":274106350429011968,"45":9135340762467827712},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-04-17 19:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767336192001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:39:56] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-17 19:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274106350429011968,"km_value":274106350429011.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9135340762467827712,"description":"Unknown IO ID 45"} 
[2026-04-17 19:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767336192001,"power":27332,"unknown_127":206,"unknown_85":12544,"ignition":35,"odometer":null,"unknown_45":9135340762467827712}} 
[2026-04-17 19:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":46047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22796,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:39:56] local.INFO: GPS data processed {"connection_id":46047,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:39:56] local.INFO: Acknowledgment sent {"connection_id":46047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:40:27] local.INFO: TCP Data received {"connection_id":46047,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc5e150012d7ed04005b953c8000b000931..."} 
[2026-04-17 19:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46047,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc5e150012d7ed04005b953c8000b000931..."} 
[2026-04-17 19:40:27] local.INFO: Processing buffer {"connection_id":46047,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc5e150012d7ed04005b953c8000b000931..."} 
[2026-04-17 19:40:27] local.INFO: Packet analysis {"connection_id":46047,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc5"} 
[2026-04-17 19:40:27] local.INFO: Extracted packet for processing {"connection_id":46047,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc5"} 
[2026-04-17 19:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763285568,"raw_latitude":96031688,"longitude_deg":76.3285568,"latitude_deg":9.6031688,"altitude":11,"angle":9,"satellites":49,"speed":36,"hex_longitude":"2d7ed040","hex_latitude":"05b953c8","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767339264001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274106805695545344,"note":"Value kept but may cause issues"} 
[2026-04-17 19:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9136466662377086976,"note":"Value kept but may cause issues"} 
[2026-04-17 19:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776434930000,"timestamp_ms":1776434930000,"timestamp_seconds":1776434930,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc5e150"} 
[2026-04-17 19:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 19:40:27] 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-04-17 19: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-04-17 19:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46047,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46047,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767339264001,"66":27484,"127":206,"85":12544,"24":36,"16":274106805695545344,"45":9136466662377086976},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-04-17 19:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767339264001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:40:27] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-17 19:40:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274106805695545344,"km_value":274106805695545.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9136466662377086976,"description":"Unknown IO ID 45"} 
[2026-04-17 19:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767339264001,"power":27484,"unknown_127":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9136466662377086976}} 
[2026-04-17 19:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":46047,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22797,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:40:27] local.INFO: GPS data processed {"connection_id":46047,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:40:27] local.INFO: Acknowledgment sent {"connection_id":46047,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:40:50] local.INFO: TCP Data received {"connection_id":46386,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:40:50] local.INFO: Processing buffer {"connection_id":46386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:40:50] local.INFO: IMEI packet received {"connection_id":46386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":46386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:40:55] local.INFO: TCP Data received {"connection_id":46386,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46386,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:40:55] local.INFO: Processing buffer {"connection_id":46386,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:40:55] local.INFO: IMEI packet received {"connection_id":46386,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":46386,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:40:56] local.INFO: TCP Data received {"connection_id":46386,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc60860012d7ed64005b977380009000b32..."} 
[2026-04-17 19:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc60860012d7ed64005b977380009000b32..."} 
[2026-04-17 19:40:56] local.INFO: Processing buffer {"connection_id":46386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc60860012d7ed64005b977380009000b32..."} 
[2026-04-17 19:40:56] local.INFO: Packet analysis {"connection_id":46386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc6"} 
[2026-04-17 19:40:56] local.INFO: Extracted packet for processing {"connection_id":46386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc6"} 
[2026-04-17 19:40:56] local.INFO: GPS Element Parsed {"raw_longitude":763287104,"raw_latitude":96040760,"longitude_deg":76.3287104,"latitude_deg":9.604076,"altitude":9,"angle":11,"satellites":50,"speed":35,"hex_longitude":"2d7ed640","hex_latitude":"05b97738","is_valid_coordinates":true} 
[2026-04-17 19:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767342080001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274107252372144128,"note":"Value kept but may cause issues"} 
[2026-04-17 19:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9137874037263026176,"note":"Value kept but may cause issues"} 
[2026-04-17 19:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776434940000,"timestamp_ms":1776434940000,"timestamp_seconds":1776434940,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc60860"} 
[2026-04-17 19:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 19:40:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:40:56] 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-04-17 19:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767342080001,"66":27484,"127":206,"85":12544,"24":35,"16":274107252372144128,"45":9137874037263026176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-04-17 19:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767342080001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:40:56] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-17 19:40:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274107252372144128,"km_value":274107252372144.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9137874037263026176,"description":"Unknown IO ID 45"} 
[2026-04-17 19:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767342080001,"power":27484,"unknown_127":206,"unknown_85":12544,"ignition":35,"odometer":null,"unknown_45":9137874037263026176}} 
[2026-04-17 19:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":46386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22798,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:40:56] local.INFO: GPS data processed {"connection_id":46386,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:40:56] local.INFO: Acknowledgment sent {"connection_id":46386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:41:19] local.INFO: TCP Data received {"connection_id":46146,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:41:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46146,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:41:19] local.INFO: Processing buffer {"connection_id":46146,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:41:19] local.INFO: IMEI packet received {"connection_id":46146,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:41:19] local.INFO: IMEI acknowledgment sent {"connection_id":46146,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:41:27] local.INFO: TCP Data received {"connection_id":46386,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc63358012d7edd0005b99b180009000931..."} 
[2026-04-17 19:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46386,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc63358012d7edd0005b99b180009000931..."} 
[2026-04-17 19:41:27] local.INFO: Processing buffer {"connection_id":46386,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc63358012d7edd0005b99b180009000931..."} 
[2026-04-17 19:41:27] local.INFO: Packet analysis {"connection_id":46386,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc6"} 
[2026-04-17 19:41:27] local.INFO: Extracted packet for processing {"connection_id":46386,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc6"} 
[2026-04-17 19:41:27] local.INFO: GPS Element Parsed {"raw_longitude":763288832,"raw_latitude":96049944,"longitude_deg":76.3288832,"latitude_deg":9.6049944,"altitude":9,"angle":9,"satellites":49,"speed":33,"hex_longitude":"2d7edd00","hex_latitude":"05b99b18","is_valid_coordinates":true} 
[2026-04-17 19:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767344640001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274107703343710208,"note":"Value kept but may cause issues"} 
[2026-04-17 19:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9139562887125612544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,127,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776434951000,"timestamp_ms":1776434951000,"timestamp_seconds":1776434951,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc63358"} 
[2026-04-17 19:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 19:41:27] 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-04-17 19:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46386,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46386,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767344640001,"66":27376,"127":206,"85":12544,"24":33,"16":274107703343710208,"45":9139562887125612544},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,127,85,24,16,45]} 
[2026-04-17 19:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767344640001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:41:27] local.INFO: Unknown IO ID detected {"io_id":127,"value":206,"description":"Unknown IO ID 127"} 
[2026-04-17 19:41:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274107703343710208,"km_value":274107703343710.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9139562887125612544,"description":"Unknown IO ID 45"} 
[2026-04-17 19:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767344640001,"power":27376,"unknown_127":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9139562887125612544}} 
[2026-04-17 19:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":46386,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22799,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:41:27] local.INFO: GPS data processed {"connection_id":46386,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:41:27] local.INFO: Acknowledgment sent {"connection_id":46386,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:41:50] local.INFO: TCP Data received {"connection_id":46049,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:41:50] local.INFO: Processing buffer {"connection_id":46049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:41:50] local.INFO: IMEI packet received {"connection_id":46049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":46049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:41:52] local.INFO: TCP Data received {"connection_id":46049,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:41:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:41:52] local.INFO: Processing buffer {"connection_id":46049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:41:52] local.INFO: IMEI packet received {"connection_id":46049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:41:52] local.INFO: IMEI acknowledgment sent {"connection_id":46049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:41:55] local.INFO: TCP Data received {"connection_id":46049,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:41:55] local.INFO: Processing buffer {"connection_id":46049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:41:55] local.INFO: IMEI packet received {"connection_id":46049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":46049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:41:56] local.INFO: TCP Data received {"connection_id":46049,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc7f878012d7f1a4005bb03500008002131..."} 
[2026-04-17 19:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc7f878012d7f1a4005bb03500008002131..."} 
[2026-04-17 19:41:56] local.INFO: Processing buffer {"connection_id":46049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc7f878012d7f1a4005bb03500008002131..."} 
[2026-04-17 19:41:56] local.INFO: Packet analysis {"connection_id":46049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc7"} 
[2026-04-17 19:41:56] local.INFO: Extracted packet for processing {"connection_id":46049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc7"} 
[2026-04-17 19:41:56] local.INFO: GPS Element Parsed {"raw_longitude":763304512,"raw_latitude":96142160,"longitude_deg":76.3304512,"latitude_deg":9.614216,"altitude":8,"angle":33,"satellites":49,"speed":33,"hex_longitude":"2d7f1a40","hex_latitude":"05bb0350","is_valid_coordinates":true} 
[2026-04-17 19:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767376640001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274112247419109376,"note":"Value kept but may cause issues"} 
[2026-04-17 19:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9157858760637360128,"note":"Value kept but may cause issues"} 
[2026-04-17 19:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776435067000,"timestamp_ms":1776435067000,"timestamp_seconds":1776435067,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc7f878"} 
[2026-04-17 19:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 19:41:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:41:56] 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-04-17 19:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767376640001,"66":27365,"120":206,"85":12544,"24":33,"16":274112247419109376,"45":9157858760637360128},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-17 19:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767376640001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:41:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 19:41:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274112247419109376,"km_value":274112247419109.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9157858760637360128,"description":"Unknown IO ID 45"} 
[2026-04-17 19:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767376640001,"power":27365,"unknown_120":206,"unknown_85":12544,"ignition":33,"odometer":null,"unknown_45":9157858760637360128}} 
[2026-04-17 19:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":46049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22800,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:41:56] local.INFO: GPS data processed {"connection_id":46049,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:41:56] local.INFO: Acknowledgment sent {"connection_id":46049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:41:59] local.INFO: TCP Data received {"connection_id":46049,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc80048012d7f1d8005bb09780008001332..."} 
[2026-04-17 19:41:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc80048012d7f1d8005bb09780008001332..."} 
[2026-04-17 19:41:59] local.INFO: Processing buffer {"connection_id":46049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc80048012d7f1d8005bb09780008001332..."} 
[2026-04-17 19:41:59] local.INFO: Packet analysis {"connection_id":46049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc8"} 
[2026-04-17 19:41:59] local.INFO: Extracted packet for processing {"connection_id":46049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc8"} 
[2026-04-17 19:41:59] local.INFO: GPS Element Parsed {"raw_longitude":763305344,"raw_latitude":96143736,"longitude_deg":76.3305344,"latitude_deg":9.6143736,"altitude":8,"angle":19,"satellites":50,"speed":36,"hex_longitude":"2d7f1d80","hex_latitude":"05bb0978","is_valid_coordinates":true} 
[2026-04-17 19:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:41:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767377152001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:41:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274112333318455296,"note":"Value kept but may cause issues"} 
[2026-04-17 19:41:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9158703185567895552,"note":"Value kept but may cause issues"} 
[2026-04-17 19:41:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:41:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776435069000,"timestamp_ms":1776435069000,"timestamp_seconds":1776435069,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc80048"} 
[2026-04-17 19:41:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:41:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:41:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 19:41: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-04-17 19:41:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:41:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:41:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:41:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:41:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:41:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:41:59] 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-04-17 19:41:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:41:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:41:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767377152001,"66":27376,"120":206,"85":12544,"24":36,"16":274112333318455296,"45":9158703185567895552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-17 19:41:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:41:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:41:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767377152001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:41:59] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 19:41:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:41:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274112333318455296,"km_value":274112333318455.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:41:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9158703185567895552,"description":"Unknown IO ID 45"} 
[2026-04-17 19:41:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767377152001,"power":27376,"unknown_120":206,"unknown_85":12544,"ignition":36,"odometer":null,"unknown_45":9158703185567895552}} 
[2026-04-17 19:41:59] local.INFO: DEBUG: GPS processor result {"connection_id":46049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22801,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:41:59] local.INFO: GPS data processed {"connection_id":46049,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:41:59] local.INFO: Acknowledgment sent {"connection_id":46049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:42:09] local.INFO: TCP Data received {"connection_id":46903,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:42:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46903,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:42:09] local.INFO: Processing buffer {"connection_id":46903,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:42:09] local.INFO: IMEI packet received {"connection_id":46903,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:42:09] local.INFO: IMEI acknowledgment sent {"connection_id":46903,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:42:30] local.INFO: TCP Data received {"connection_id":46049,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc813d0012d7f228005bb18a80007001f31..."} 
[2026-04-17 19:42:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc813d0012d7f228005bb18a80007001f31..."} 
[2026-04-17 19:42:30] local.INFO: Processing buffer {"connection_id":46049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc813d0012d7f228005bb18a80007001f31..."} 
[2026-04-17 19:42:30] local.INFO: Packet analysis {"connection_id":46049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc8"} 
[2026-04-17 19:42:30] local.INFO: Extracted packet for processing {"connection_id":46049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc8"} 
[2026-04-17 19:42:30] local.INFO: GPS Element Parsed {"raw_longitude":763306624,"raw_latitude":96147624,"longitude_deg":76.3306624,"latitude_deg":9.6147624,"altitude":7,"angle":31,"satellites":49,"speed":23,"hex_longitude":"2d7f2280","hex_latitude":"05bb18a8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:42:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767377664001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:42:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274112530886950912,"note":"Value kept but may cause issues"} 
[2026-04-17 19:42:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9159617979242608640,"note":"Value kept but may cause issues"} 
[2026-04-17 19:42:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:42:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776435074000,"timestamp_ms":1776435074000,"timestamp_seconds":1776435074,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc813d0"} 
[2026-04-17 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-04-17 19:42: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-04-17 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-04-17 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-04-17 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-04-17 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-04-17 19:42:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:42:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:42:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:42:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:42: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-04-17 19:42:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:42:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:42:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767377664001,"66":27463,"120":206,"85":12544,"24":23,"16":274112530886950912,"45":9159617979242608640},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-17 19:42:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:42:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:42:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767377664001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:42:30] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 19:42:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:42:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274112530886950912,"km_value":274112530886950.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:42:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9159617979242608640,"description":"Unknown IO ID 45"} 
[2026-04-17 19:42:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767377664001,"power":27463,"unknown_120":206,"unknown_85":12544,"ignition":23,"odometer":null,"unknown_45":9159617979242608640}} 
[2026-04-17 19:42:30] local.INFO: DEBUG: GPS processor result {"connection_id":46049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22802,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:42:30] local.INFO: GPS data processed {"connection_id":46049,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:42:30] local.INFO: Acknowledgment sent {"connection_id":46049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:42:36] local.INFO: TCP Data received {"connection_id":46387,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:42:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46387,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:42:36] local.INFO: Processing buffer {"connection_id":46387,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:42:36] local.INFO: IMEI packet received {"connection_id":46387,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:42:36] local.INFO: IMEI acknowledgment sent {"connection_id":46387,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:42:38] local.INFO: TCP Data received {"connection_id":46387,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc81ba0012d1a30c0072622380027007e28..."} 
[2026-04-17 19:42:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46387,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc81ba0012d1a30c0072622380027007e28..."} 
[2026-04-17 19:42:38] local.INFO: Processing buffer {"connection_id":46387,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc81ba0012d1a30c0072622380027007e28..."} 
[2026-04-17 19:42:38] local.INFO: Packet analysis {"connection_id":46387,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc8"} 
[2026-04-17 19:42:38] local.INFO: Extracted packet for processing {"connection_id":46387,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc8"} 
[2026-04-17 19:42:38] local.INFO: GPS Element Parsed {"raw_longitude":756691136,"raw_latitude":119939640,"longitude_deg":75.6691136,"latitude_deg":11.993964,"altitude":39,"angle":126,"satellites":40,"speed":16,"hex_longitude":"2d1a30c0","hex_latitude":"07262238","is_valid_coordinates":true} 
[2026-04-17 19:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:42:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767378176001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:42:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113504810128375808,"note":"Value kept but may cause issues"} 
[2026-04-17 19:42:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1884123156061900800,"note":"Value kept but may cause issues"} 
[2026-04-17 19:42:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:42:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776435076000,"timestamp_ms":1776435076000,"timestamp_seconds":1776435076,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc81ba0"} 
[2026-04-17 19:42:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:42:38] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:42:38] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-17 19:42:38] 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-04-17 19:42:38] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:42:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:42:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:42:38] local.INFO: Teltonika packet parsed successfully {"connection_id":46387,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:42:38] local.INFO: Passing IMEI to GPS processor {"connection_id":46387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:42:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":46387,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:42:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:42:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:42:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:42:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767378176001,"66":13450,"82":206,"28":31744,"24":16,"16":113504810128375808,"45":1884123156061900800},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,28,24,16,45]} 
[2026-04-17 19:42:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:42:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:42:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767378176001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:42:38] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-04-17 19:42:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:42:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113504810128375808,"km_value":113504810128375.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:42:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1884123156061900800,"description":"Unknown IO ID 45"} 
[2026-04-17 19:42:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767378176001,"power":13450,"unknown_82":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1884123156061900800}} 
[2026-04-17 19:42:38] local.INFO: DEBUG: GPS processor result {"connection_id":46387,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22803,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:42:38] local.INFO: GPS data processed {"connection_id":46387,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:42:38] local.INFO: Acknowledgment sent {"connection_id":46387,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:42:50] local.INFO: TCP Data received {"connection_id":46147,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:42:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:42:50] local.INFO: Processing buffer {"connection_id":46147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:42:50] local.INFO: IMEI packet received {"connection_id":46147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:42:50] local.INFO: IMEI acknowledgment sent {"connection_id":46147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:42:51] local.INFO: TCP Data received {"connection_id":46147,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:42:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:42:51] local.INFO: Processing buffer {"connection_id":46147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:42:51] local.INFO: IMEI packet received {"connection_id":46147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:42:51] local.INFO: IMEI acknowledgment sent {"connection_id":46147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:42:55] local.INFO: TCP Data received {"connection_id":46147,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:42:55] local.INFO: Processing buffer {"connection_id":46147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:42:55] local.INFO: IMEI packet received {"connection_id":46147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":46147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:42:56] local.INFO: TCP Data received {"connection_id":46147,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc82f28012d7f280005bb21580007000c31..."} 
[2026-04-17 19:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc82f28012d7f280005bb21580007000c31..."} 
[2026-04-17 19:42:56] local.INFO: Processing buffer {"connection_id":46147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc82f28012d7f280005bb21580007000c31..."} 
[2026-04-17 19:42:56] local.INFO: Packet analysis {"connection_id":46147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc8"} 
[2026-04-17 19:42:56] local.INFO: Extracted packet for processing {"connection_id":46147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc8"} 
[2026-04-17 19:42:56] local.INFO: GPS Element Parsed {"raw_longitude":763308032,"raw_latitude":96149848,"longitude_deg":76.3308032,"latitude_deg":9.6149848,"altitude":7,"angle":12,"satellites":49,"speed":15,"hex_longitude":"2d7f2800","hex_latitude":"05bb2158","is_valid_coordinates":true} 
[2026-04-17 19:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767378944001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274112659735969792,"note":"Value kept but may cause issues"} 
[2026-04-17 19:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9161025354127157248,"note":"Value kept but may cause issues"} 
[2026-04-17 19:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776435081000,"timestamp_ms":1776435081000,"timestamp_seconds":1776435081,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc82f28"} 
[2026-04-17 19:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 19:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:42:56] 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-04-17 19:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767378944001,"66":27376,"120":206,"85":12544,"24":15,"16":274112659735969792,"45":9161025354127157248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-17 19:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767378944001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:42:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 19:42:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274112659735969792,"km_value":274112659735969.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9161025354127157248,"description":"Unknown IO ID 45"} 
[2026-04-17 19:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767378944001,"power":27376,"unknown_120":206,"unknown_85":12544,"ignition":15,"odometer":null,"unknown_45":9161025354127157248}} 
[2026-04-17 19:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":46147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22804,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:42:56] local.INFO: GPS data processed {"connection_id":46147,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:42:56] local.INFO: Acknowledgment sent {"connection_id":46147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:43:21] local.INFO: TCP Data received {"connection_id":46906,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:43:21] local.INFO: Processing buffer {"connection_id":46906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:43:21] local.INFO: IMEI packet received {"connection_id":46906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":46906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:43:22] local.INFO: TCP Data received {"connection_id":46906,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:43:22] local.INFO: Processing buffer {"connection_id":46906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:43:22] local.INFO: IMEI packet received {"connection_id":46906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":46906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:43:22] local.INFO: TCP Data received {"connection_id":46906,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:43:22] local.INFO: Processing buffer {"connection_id":46906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:43:22] local.INFO: IMEI packet received {"connection_id":46906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":46906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:43:24] local.INFO: TCP Data received {"connection_id":46906,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:43:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46906,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:43:24] local.INFO: Processing buffer {"connection_id":46906,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:43:24] local.INFO: IMEI packet received {"connection_id":46906,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:43:24] local.INFO: IMEI acknowledgment sent {"connection_id":46906,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:43:25] local.INFO: TCP Data received {"connection_id":46906,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc8fe30012d1acf40072636200027004f23..."} 
[2026-04-17 19:43:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc8fe30012d1acf40072636200027004f23..."} 
[2026-04-17 19:43:25] local.INFO: Processing buffer {"connection_id":46906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc8fe30012d1acf40072636200027004f23..."} 
[2026-04-17 19:43:25] local.INFO: Packet analysis {"connection_id":46906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc8"} 
[2026-04-17 19:43:25] local.INFO: Extracted packet for processing {"connection_id":46906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc8"} 
[2026-04-17 19:43:25] local.INFO: GPS Element Parsed {"raw_longitude":756731712,"raw_latitude":119944736,"longitude_deg":75.6731712,"latitude_deg":11.9944736,"altitude":39,"angle":79,"satellites":35,"speed":37,"hex_longitude":"2d1acf40","hex_latitude":"07263620","is_valid_coordinates":true} 
[2026-04-17 19:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:43:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767394304001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:43:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113506871712677888,"note":"Value kept but may cause issues"} 
[2026-04-17 19:43:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1931833164615262208,"note":"Value kept but may cause issues"} 
[2026-04-17 19:43:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:43:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776435134000,"timestamp_ms":1776435134000,"timestamp_seconds":1776435134,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc8fe30"} 
[2026-04-17 19:43:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:43:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:43:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-17 19:43:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":719,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:43:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:43:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:43:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:43:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:43:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:43:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:43:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:43:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:43:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:43:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767394304001,"66":13341,"82":206,"28":31744,"24":37,"16":113506871712677888,"45":1931833164615262208},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,28,24,16,45]} 
[2026-04-17 19:43:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:43:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:43:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767394304001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:43:25] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-04-17 19:43:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:43:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113506871712677888,"km_value":113506871712677.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:43:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1931833164615262208,"description":"Unknown IO ID 45"} 
[2026-04-17 19:43:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767394304001,"power":13341,"unknown_82":206,"unknown_28":31744,"ignition":37,"odometer":null,"unknown_45":1931833164615262208}} 
[2026-04-17 19:43:25] local.INFO: DEBUG: GPS processor result {"connection_id":46906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22805,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:43:25] local.INFO: GPS data processed {"connection_id":46906,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:43:25] local.INFO: Acknowledgment sent {"connection_id":46906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:43:26] local.INFO: TCP Data received {"connection_id":46906,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc911b8012d1ae240072636d00028005c23..."} 
[2026-04-17 19:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc911b8012d1ae240072636d00028005c23..."} 
[2026-04-17 19:43:26] local.INFO: Processing buffer {"connection_id":46906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc911b8012d1ae240072636d00028005c23..."} 
[2026-04-17 19:43:26] local.INFO: Packet analysis {"connection_id":46906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc9"} 
[2026-04-17 19:43:26] local.INFO: Extracted packet for processing {"connection_id":46906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc9"} 
[2026-04-17 19:43:26] local.INFO: GPS Element Parsed {"raw_longitude":756736576,"raw_latitude":119944912,"longitude_deg":75.6736576,"latitude_deg":11.9944912,"altitude":40,"angle":92,"satellites":35,"speed":38,"hex_longitude":"2d1ae240","hex_latitude":"072636d0","is_valid_coordinates":true} 
[2026-04-17 19:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:43:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767394304001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:43:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113507103640911872,"note":"Value kept but may cause issues"} 
[2026-04-17 19:43:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1931833164615262208,"note":"Value kept but may cause issues"} 
[2026-04-17 19:43:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:43:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776435139000,"timestamp_ms":1776435139000,"timestamp_seconds":1776435139,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc911b8"} 
[2026-04-17 19:43:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:43:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:43:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":29,"data_length":795,"current_offset":136} 
[2026-04-17 19:43:26] 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-04-17 19:43:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:43:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:43:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:43:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:43:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:43:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:43:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:43:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:43:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:43:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767394304001,"66":13352,"82":206,"28":31744,"24":38,"16":113507103640911872,"45":1931833164615262208},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,28,24,16,45]} 
[2026-04-17 19:43:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:43:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:43:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767394304001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:43:26] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-04-17 19:43:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:43:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113507103640911872,"km_value":113507103640911.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:43:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1931833164615262208,"description":"Unknown IO ID 45"} 
[2026-04-17 19:43:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767394304001,"power":13352,"unknown_82":206,"unknown_28":31744,"ignition":38,"odometer":null,"unknown_45":1931833164615262208}} 
[2026-04-17 19:43:26] local.INFO: DEBUG: GPS processor result {"connection_id":46906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22806,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:43:26] local.INFO: GPS data processed {"connection_id":46906,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:43:26] local.INFO: Acknowledgment sent {"connection_id":46906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:43:27] local.INFO: TCP Data received {"connection_id":46147,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc84e68012d7f2a0005bb2ff00007016532..."} 
[2026-04-17 19:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc84e68012d7f2a0005bb2ff00007016532..."} 
[2026-04-17 19:43:27] local.INFO: Processing buffer {"connection_id":46147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc84e68012d7f2a0005bb2ff00007016532..."} 
[2026-04-17 19:43:27] local.INFO: Packet analysis {"connection_id":46147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc8"} 
[2026-04-17 19:43:27] local.INFO: Extracted packet for processing {"connection_id":46147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc8"} 
[2026-04-17 19:43:27] local.INFO: GPS Element Parsed {"raw_longitude":763308544,"raw_latitude":96153584,"longitude_deg":76.3308544,"latitude_deg":9.6153584,"altitude":7,"angle":357,"satellites":50,"speed":17,"hex_longitude":"2d7f2a00","hex_latitude":"05bb2ff0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767380736001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274112840124596224,"note":"Value kept but may cause issues"} 
[2026-04-17 19:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9162573466499635200,"note":"Value kept but may cause issues"} 
[2026-04-17 19:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776435089000,"timestamp_ms":1776435089000,"timestamp_seconds":1776435089,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc84e68"} 
[2026-04-17 19:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 19:43:27] 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-04-17 19: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-04-17 19:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767380736001,"66":27376,"120":206,"85":12544,"24":17,"16":274112840124596224,"45":9162573466499635200},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-17 19:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767380736001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:43:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 19:43:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274112840124596224,"km_value":274112840124596.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9162573466499635200,"description":"Unknown IO ID 45"} 
[2026-04-17 19:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767380736001,"power":27376,"unknown_120":206,"unknown_85":12544,"ignition":17,"odometer":null,"unknown_45":9162573466499635200}} 
[2026-04-17 19:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":46147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22807,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:43:27] local.INFO: GPS data processed {"connection_id":46147,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:43:27] local.INFO: Acknowledgment sent {"connection_id":46147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:43:50] local.INFO: TCP Data received {"connection_id":46388,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:43:50] local.INFO: Processing buffer {"connection_id":46388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:43:50] local.INFO: IMEI packet received {"connection_id":46388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":46388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:43:54] local.INFO: TCP Data received {"connection_id":46388,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:43:54] local.INFO: Processing buffer {"connection_id":46388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:43:54] local.INFO: IMEI packet received {"connection_id":46388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":46388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:43:55] local.INFO: TCP Data received {"connection_id":46388,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46388,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:43:55] local.INFO: Processing buffer {"connection_id":46388,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:43:55] local.INFO: IMEI packet received {"connection_id":46388,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":46388,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:43:55] local.INFO: TCP Data received {"connection_id":46388,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc96b90012d7f4e8005bc2a400009000a34..."} 
[2026-04-17 19:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc96b90012d7f4e8005bc2a400009000a34..."} 
[2026-04-17 19:43:55] local.INFO: Processing buffer {"connection_id":46388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc96b90012d7f4e8005bc2a400009000a34..."} 
[2026-04-17 19:43:55] local.INFO: Packet analysis {"connection_id":46388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc9"} 
[2026-04-17 19:43:55] local.INFO: Extracted packet for processing {"connection_id":46388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc9"} 
[2026-04-17 19:43:55] local.INFO: GPS Element Parsed {"raw_longitude":763317888,"raw_latitude":96217664,"longitude_deg":76.3317888,"latitude_deg":9.6217664,"altitude":9,"angle":10,"satellites":52,"speed":45,"hex_longitude":"2d7f4e80","hex_latitude":"05bc2a40","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:43:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767399168001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:43:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274116014105427968,"note":"Value kept but may cause issues"} 
[2026-04-17 19:43:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9171580665769342976,"note":"Value kept but may cause issues"} 
[2026-04-17 19:43:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:43:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776435162000,"timestamp_ms":1776435162000,"timestamp_seconds":1776435162,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc96b90"} 
[2026-04-17 19:43:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:43: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-04-17 19:43:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 19:43:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:43:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:43:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:43:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:43:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:43:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:43:55] 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-04-17 19:43:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:43:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:43:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767399168001,"66":27463,"121":206,"85":12544,"24":45,"16":274116014105427968,"45":9171580665769342976},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:43:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:43:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:43:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767399168001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:43:55] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:43:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:43:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274116014105427968,"km_value":274116014105427.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:43:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9171580665769342976,"description":"Unknown IO ID 45"} 
[2026-04-17 19:43:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767399168001,"power":27463,"unknown_121":206,"unknown_85":12544,"ignition":45,"odometer":null,"unknown_45":9171580665769342976}} 
[2026-04-17 19:43:55] local.INFO: DEBUG: GPS processor result {"connection_id":46388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22808,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:43:55] local.INFO: GPS data processed {"connection_id":46388,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:43:55] local.INFO: Acknowledgment sent {"connection_id":46388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:43:58] local.INFO: TCP Data received {"connection_id":46906,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc9d508012d1b570007261b40002c009727..."} 
[2026-04-17 19:43:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46906,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc9d508012d1b570007261b40002c009727..."} 
[2026-04-17 19:43:58] local.INFO: Processing buffer {"connection_id":46906,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc9d508012d1b570007261b40002c009727..."} 
[2026-04-17 19:43:58] local.INFO: Packet analysis {"connection_id":46906,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc9"} 
[2026-04-17 19:43:58] local.INFO: Extracted packet for processing {"connection_id":46906,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc9"} 
[2026-04-17 19:43:58] local.INFO: GPS Element Parsed {"raw_longitude":756766464,"raw_latitude":119937856,"longitude_deg":75.6766464,"latitude_deg":11.9937856,"altitude":44,"angle":151,"satellites":39,"speed":13,"hex_longitude":"2d1b5700","hex_latitude":"07261b40","is_valid_coordinates":true} 
[2026-04-17 19:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:43:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767407616001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:43:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113508645534171136,"note":"Value kept but may cause issues"} 
[2026-04-17 19:43:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969339705260371968,"note":"Value kept but may cause issues"} 
[2026-04-17 19:43:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:43:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776435189000,"timestamp_ms":1776435189000,"timestamp_seconds":1776435189,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc9d508"} 
[2026-04-17 19:43:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:43: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-04-17 19:43:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-17 19:43:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1898,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:43:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:43:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:43:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:43:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46906,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:43:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:43:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46906,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:43:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:43:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:43:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:43:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767407616001,"66":13493,"82":206,"28":31744,"24":13,"16":113508645534171136,"45":1969339705260371968},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,28,24,16,45]} 
[2026-04-17 19:43:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:43:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:43:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767407616001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:43:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-04-17 19:43:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:43:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113508645534171136,"km_value":113508645534171.14,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:43:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969339705260371968,"description":"Unknown IO ID 45"} 
[2026-04-17 19:43:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767407616001,"power":13493,"unknown_82":206,"unknown_28":31744,"ignition":13,"odometer":null,"unknown_45":1969339705260371968}} 
[2026-04-17 19:43:58] local.INFO: DEBUG: GPS processor result {"connection_id":46906,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22809,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:43:58] local.INFO: GPS data processed {"connection_id":46906,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:43:58] local.INFO: Acknowledgment sent {"connection_id":46906,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:43:59] local.INFO: TCP Data received {"connection_id":46388,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc98ad0012d7f554005bc4f880009000932..."} 
[2026-04-17 19:43:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc98ad0012d7f554005bc4f880009000932..."} 
[2026-04-17 19:43:59] local.INFO: Processing buffer {"connection_id":46388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc98ad0012d7f554005bc4f880009000932..."} 
[2026-04-17 19:43:59] local.INFO: Packet analysis {"connection_id":46388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc9"} 
[2026-04-17 19:43:59] local.INFO: Extracted packet for processing {"connection_id":46388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc9"} 
[2026-04-17 19:43:59] local.INFO: GPS Element Parsed {"raw_longitude":763319616,"raw_latitude":96227208,"longitude_deg":76.3319616,"latitude_deg":9.6227208,"altitude":9,"angle":9,"satellites":50,"speed":48,"hex_longitude":"2d7f5540","hex_latitude":"05bc4f88","is_valid_coordinates":true} 
[2026-04-17 19:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:43:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767401472001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:43:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274116482256863232,"note":"Value kept but may cause issues"} 
[2026-04-17 19:43:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9173410253120356352,"note":"Value kept but may cause issues"} 
[2026-04-17 19:43:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:43:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776435170000,"timestamp_ms":1776435170000,"timestamp_seconds":1776435170,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc98ad0"} 
[2026-04-17 19:43:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:43:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:43:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 19:43:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:43:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:43:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:43:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:43:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:43:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:43:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:43:59] 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-04-17 19:43:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:43:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:43:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767401472001,"66":27463,"121":206,"85":12544,"24":48,"16":274116482256863232,"45":9173410253120356352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:43:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:43:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:43:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767401472001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:43:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:43:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:43:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274116482256863232,"km_value":274116482256863.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:43:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9173410253120356352,"description":"Unknown IO ID 45"} 
[2026-04-17 19:43:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767401472001,"power":27463,"unknown_121":206,"unknown_85":12544,"ignition":48,"odometer":null,"unknown_45":9173410253120356352}} 
[2026-04-17 19:43:59] local.INFO: DEBUG: GPS processor result {"connection_id":46388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22810,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:43:59] local.INFO: GPS data processed {"connection_id":46388,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:43:59] local.INFO: Acknowledgment sent {"connection_id":46388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:44:18] local.INFO: TCP Data received {"connection_id":46149,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:44:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:44:18] local.INFO: Processing buffer {"connection_id":46149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:44:18] local.INFO: IMEI packet received {"connection_id":46149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:44:18] local.INFO: IMEI acknowledgment sent {"connection_id":46149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:44:19] local.INFO: TCP Data received {"connection_id":46149,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:44:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:44:19] local.INFO: Processing buffer {"connection_id":46149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:44:19] local.INFO: IMEI packet received {"connection_id":46149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:44:19] local.INFO: IMEI acknowledgment sent {"connection_id":46149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:44:21] local.INFO: TCP Data received {"connection_id":46149,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:44:21] local.INFO: Processing buffer {"connection_id":46149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:44:21] local.INFO: IMEI packet received {"connection_id":46149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":46149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:44:26] local.INFO: TCP Data received {"connection_id":46149,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:44:26] local.INFO: Processing buffer {"connection_id":46149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:44:26] local.INFO: IMEI packet received {"connection_id":46149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":46149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:44:27] local.INFO: TCP Data received {"connection_id":46149,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc9d8f0012d1b574007261a10002c00a727..."} 
[2026-04-17 19:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc9d8f0012d1b574007261a10002c00a727..."} 
[2026-04-17 19:44:27] local.INFO: Processing buffer {"connection_id":46149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc9d8f0012d1b574007261a10002c00a727..."} 
[2026-04-17 19:44:27] local.INFO: Packet analysis {"connection_id":46149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc9"} 
[2026-04-17 19:44:27] local.INFO: Extracted packet for processing {"connection_id":46149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc9"} 
[2026-04-17 19:44:27] local.INFO: GPS Element Parsed {"raw_longitude":756766528,"raw_latitude":119937552,"longitude_deg":75.6766528,"latitude_deg":11.9937552,"altitude":44,"angle":167,"satellites":39,"speed":12,"hex_longitude":"2d1b5740","hex_latitude":"07261a10","is_valid_coordinates":true} 
[2026-04-17 19:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767408384001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113508658419073024,"note":"Value kept but may cause issues"} 
[2026-04-17 19:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970043392701972480,"note":"Value kept but may cause issues"} 
[2026-04-17 19:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776435190000,"timestamp_ms":1776435190000,"timestamp_seconds":1776435190,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc9d8f0"} 
[2026-04-17 19:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:44: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-04-17 19:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-17 19:44: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-04-17 19:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767408384001,"66":12841,"82":206,"28":31744,"24":12,"16":113508658419073024,"45":1970043392701972480},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,28,24,16,45]} 
[2026-04-17 19:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767408384001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:44:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-04-17 19:44:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113508658419073024,"km_value":113508658419073.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970043392701972480,"description":"Unknown IO ID 45"} 
[2026-04-17 19:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767408384001,"power":12841,"unknown_82":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1970043392701972480}} 
[2026-04-17 19:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":46149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22811,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:44:27] local.INFO: GPS data processed {"connection_id":46149,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:44:27] local.INFO: Acknowledgment sent {"connection_id":46149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:44:31] local.INFO: TCP Data received {"connection_id":46388,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc9adf8012d7f5b8005bc7238000a000a34..."} 
[2026-04-17 19:44:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46388,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc9adf8012d7f5b8005bc7238000a000a34..."} 
[2026-04-17 19:44:31] local.INFO: Processing buffer {"connection_id":46388,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc9adf8012d7f5b8005bc7238000a000a34..."} 
[2026-04-17 19:44:31] local.INFO: Packet analysis {"connection_id":46388,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc9"} 
[2026-04-17 19:44:31] local.INFO: Extracted packet for processing {"connection_id":46388,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc9"} 
[2026-04-17 19:44:31] local.INFO: GPS Element Parsed {"raw_longitude":763321216,"raw_latitude":96236088,"longitude_deg":76.3321216,"latitude_deg":9.6236088,"altitude":10,"angle":10,"satellites":52,"speed":17,"hex_longitude":"2d7f5b80","hex_latitude":"05bc7238","is_valid_coordinates":true} 
[2026-04-17 19:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:44:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767403520001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:44:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274116920343527424,"note":"Value kept but may cause issues"} 
[2026-04-17 19:44:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9175310209215596544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:44:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:44:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776435179000,"timestamp_ms":1776435179000,"timestamp_seconds":1776435179,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc9adf8"} 
[2026-04-17 19:44:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:44:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:44:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 19:44: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-04-17 19:44:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:44:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:44:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:44:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46388,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:44:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:44:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46388,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:44:31] 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-04-17 19:44:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:44:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:44:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767403520001,"66":27517,"121":206,"85":12544,"24":17,"16":274116920343527424,"45":9175310209215596544},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:44:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:44:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:44:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767403520001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:44:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:44:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:44:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274116920343527424,"km_value":274116920343527.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:44:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9175310209215596544,"description":"Unknown IO ID 45"} 
[2026-04-17 19:44:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767403520001,"power":27517,"unknown_121":206,"unknown_85":12544,"ignition":17,"odometer":null,"unknown_45":9175310209215596544}} 
[2026-04-17 19:44:31] local.INFO: DEBUG: GPS processor result {"connection_id":46388,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22812,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:44:31] local.INFO: GPS data processed {"connection_id":46388,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:44:31] local.INFO: Acknowledgment sent {"connection_id":46388,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:44:55] local.INFO: TCP Data received {"connection_id":46907,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:44:55] local.INFO: Processing buffer {"connection_id":46907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:44:55] local.INFO: IMEI packet received {"connection_id":46907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":46907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:44:58] local.INFO: TCP Data received {"connection_id":46907,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46907,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:44:58] local.INFO: Processing buffer {"connection_id":46907,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:44:58] local.INFO: IMEI packet received {"connection_id":46907,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:44:58] local.INFO: IMEI acknowledgment sent {"connection_id":46907,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:44:58] local.INFO: TCP Data received {"connection_id":46149,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc9e0c0012d1b5740072617c0002c00c027..."} 
[2026-04-17 19:44:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc9e0c0012d1b5740072617c0002c00c027..."} 
[2026-04-17 19:44:58] local.INFO: Processing buffer {"connection_id":46149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc9e0c0012d1b5740072617c0002c00c027..."} 
[2026-04-17 19:44:58] local.INFO: Packet analysis {"connection_id":46149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc9"} 
[2026-04-17 19:44:58] local.INFO: Extracted packet for processing {"connection_id":46149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc9"} 
[2026-04-17 19:44:58] local.INFO: GPS Element Parsed {"raw_longitude":756766528,"raw_latitude":119936960,"longitude_deg":75.6766528,"latitude_deg":11.993696,"altitude":44,"angle":192,"satellites":39,"speed":12,"hex_longitude":"2d1b5740","hex_latitude":"072617c0","is_valid_coordinates":true} 
[2026-04-17 19:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:44:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767408640001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:44:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113508688483844096,"note":"Value kept but may cause issues"} 
[2026-04-17 19:44:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970113761446072320,"note":"Value kept but may cause issues"} 
[2026-04-17 19:44:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:44:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776435192000,"timestamp_ms":1776435192000,"timestamp_seconds":1776435192,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc9e0c0"} 
[2026-04-17 19:44:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:44: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-04-17 19:44:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":41,"data_length":795,"current_offset":136} 
[2026-04-17 19:44: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-04-17 19:44:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:44:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:44:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:44:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:44:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:44:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:44:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:44:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:44:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:44:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767408640001,"66":13276,"82":206,"28":31744,"24":12,"16":113508688483844096,"45":1970113761446072320},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,28,24,16,45]} 
[2026-04-17 19:44:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:44:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:44:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767408640001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:44:58] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-04-17 19:44:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:44:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113508688483844096,"km_value":113508688483844.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:44:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970113761446072320,"description":"Unknown IO ID 45"} 
[2026-04-17 19:44:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767408640001,"power":13276,"unknown_82":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1970113761446072320}} 
[2026-04-17 19:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":46149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22813,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:44:59] local.INFO: GPS data processed {"connection_id":46149,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:44:59] local.INFO: Acknowledgment sent {"connection_id":46149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:44:59] local.INFO: TCP Data received {"connection_id":46907,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bc9f060012d7f5d4005bc8138000a016534..."} 
[2026-04-17 19:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bc9f060012d7f5d4005bc8138000a016534..."} 
[2026-04-17 19:44:59] local.INFO: Processing buffer {"connection_id":46907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bc9f060012d7f5d4005bc8138000a016534..."} 
[2026-04-17 19:44:59] local.INFO: Packet analysis {"connection_id":46907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bc9"} 
[2026-04-17 19:44:59] local.INFO: Extracted packet for processing {"connection_id":46907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bc9"} 
[2026-04-17 19:44:59] local.INFO: GPS Element Parsed {"raw_longitude":763321664,"raw_latitude":96239928,"longitude_deg":76.3321664,"latitude_deg":9.6239928,"altitude":10,"angle":357,"satellites":52,"speed":6,"hex_longitude":"2d7f5d40","hex_latitude":"05bc8138","is_valid_coordinates":true} 
[2026-04-17 19:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767405824001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274117109322088448,"note":"Value kept but may cause issues"} 
[2026-04-17 19:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177069427822311424,"note":"Value kept but may cause issues"} 
[2026-04-17 19:44:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776435196000,"timestamp_ms":1776435196000,"timestamp_seconds":1776435196,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bc9f060"} 
[2026-04-17 19:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 19:44:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:44:59] 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-04-17 19:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767405824001,"66":27484,"121":206,"85":12544,"24":6,"16":274117109322088448,"45":9177069427822311424},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767405824001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:44:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:44:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274117109322088448,"km_value":274117109322088.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177069427822311424,"description":"Unknown IO ID 45"} 
[2026-04-17 19:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767405824001,"power":27484,"unknown_121":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9177069427822311424}} 
[2026-04-17 19:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":46907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22814,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:44:59] local.INFO: GPS data processed {"connection_id":46907,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:44:59] local.INFO: Acknowledgment sent {"connection_id":46907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:45:00] local.INFO: TCP Data received {"connection_id":46907,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bca03e8012d7f5d0005bc84a0000a015a34..."} 
[2026-04-17 19:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bca03e8012d7f5d0005bc84a0000a015a34..."} 
[2026-04-17 19:45:00] local.INFO: Processing buffer {"connection_id":46907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bca03e8012d7f5d0005bc84a0000a015a34..."} 
[2026-04-17 19:45:00] local.INFO: Packet analysis {"connection_id":46907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bca"} 
[2026-04-17 19:45:00] local.INFO: Extracted packet for processing {"connection_id":46907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bca"} 
[2026-04-17 19:45:00] local.INFO: GPS Element Parsed {"raw_longitude":763321600,"raw_latitude":96240800,"longitude_deg":76.33216,"latitude_deg":9.62408,"altitude":10,"angle":346,"satellites":52,"speed":6,"hex_longitude":"2d7f5d00","hex_latitude":"05bc84a0","is_valid_coordinates":true} 
[2026-04-17 19:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767410176001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274117152271761408,"note":"Value kept but may cause issues"} 
[2026-04-17 19:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177562009032538112,"note":"Value kept but may cause issues"} 
[2026-04-17 19:45:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776435201000,"timestamp_ms":1776435201000,"timestamp_seconds":1776435201,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bca03e8"} 
[2026-04-17 19:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:45:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 19:45:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:45: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-04-17 19:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767410176001,"66":27376,"121":206,"85":12544,"24":6,"16":274117152271761408,"45":9177562009032538112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767410176001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:45:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:45:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274117152271761408,"km_value":274117152271761.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177562009032538112,"description":"Unknown IO ID 45"} 
[2026-04-17 19:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767410176001,"power":27376,"unknown_121":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9177562009032538112}} 
[2026-04-17 19:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":46907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22815,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:45:00] local.INFO: GPS data processed {"connection_id":46907,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:45:00] local.INFO: Acknowledgment sent {"connection_id":46907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:45:21] local.INFO: TCP Data received {"connection_id":46389,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:45:21] local.INFO: Processing buffer {"connection_id":46389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:45:21] local.INFO: IMEI packet received {"connection_id":46389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":46389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:45:22] local.INFO: TCP Data received {"connection_id":46389,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:45:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:45:22] local.INFO: Processing buffer {"connection_id":46389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:45:22] local.INFO: IMEI packet received {"connection_id":46389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:45:22] local.INFO: IMEI acknowledgment sent {"connection_id":46389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:45:26] local.INFO: TCP Data received {"connection_id":46389,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46389,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:45:26] local.INFO: Processing buffer {"connection_id":46389,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:45:26] local.INFO: IMEI packet received {"connection_id":46389,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":46389,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:45:27] local.INFO: TCP Data received {"connection_id":46389,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bca1f40012d1b50000725f550002a00bd27..."} 
[2026-04-17 19:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bca1f40012d1b50000725f550002a00bd27..."} 
[2026-04-17 19:45:27] local.INFO: Processing buffer {"connection_id":46389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bca1f40012d1b50000725f550002a00bd27..."} 
[2026-04-17 19:45:27] local.INFO: Packet analysis {"connection_id":46389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bca"} 
[2026-04-17 19:45:27] local.INFO: Extracted packet for processing {"connection_id":46389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bca"} 
[2026-04-17 19:45:27] local.INFO: GPS Element Parsed {"raw_longitude":756764672,"raw_latitude":119928144,"longitude_deg":75.6764672,"latitude_deg":11.9928144,"altitude":42,"angle":189,"satellites":39,"speed":29,"hex_longitude":"2d1b5000","hex_latitude":"0725f550","is_valid_coordinates":true} 
[2026-04-17 19:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767409152001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113509126570508288,"note":"Value kept but may cause issues"} 
[2026-04-17 19:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970113761445920768,"note":"Value kept but may cause issues"} 
[2026-04-17 19:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,82,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776435208000,"timestamp_ms":1776435208000,"timestamp_seconds":1776435208,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bca1f40"} 
[2026-04-17 19:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:45: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-04-17 19:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":220,"data_length":795,"current_offset":136} 
[2026-04-17 19:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2433,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767409152001,"66":13559,"82":206,"28":31744,"24":29,"16":113509126570508288,"45":1970113761445920768},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,82,28,24,16,45]} 
[2026-04-17 19:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767409152001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:45:27] local.INFO: Unknown IO ID detected {"io_id":82,"value":206,"description":"Unknown IO ID 82"} 
[2026-04-17 19:45:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113509126570508288,"km_value":113509126570508.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970113761445920768,"description":"Unknown IO ID 45"} 
[2026-04-17 19:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767409152001,"power":13559,"unknown_82":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1970113761445920768}} 
[2026-04-17 19:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":46389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22816,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:45:28] local.INFO: GPS data processed {"connection_id":46389,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:45:28] local.INFO: Acknowledgment sent {"connection_id":46389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:45:31] local.INFO: TCP Data received {"connection_id":46907,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bca2328012d7f5c4005bc8a600009016631..."} 
[2026-04-17 19:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46907,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bca2328012d7f5c4005bc8a600009016631..."} 
[2026-04-17 19:45:31] local.INFO: Processing buffer {"connection_id":46907,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bca2328012d7f5c4005bc8a600009016631..."} 
[2026-04-17 19:45:31] local.INFO: Packet analysis {"connection_id":46907,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bca"} 
[2026-04-17 19:45:31] local.INFO: Extracted packet for processing {"connection_id":46907,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bca"} 
[2026-04-17 19:45:31] local.INFO: GPS Element Parsed {"raw_longitude":763321408,"raw_latitude":96242272,"longitude_deg":76.3321408,"latitude_deg":9.6242272,"altitude":9,"angle":358,"satellites":49,"speed":6,"hex_longitude":"2d7f5c40","hex_latitude":"05bc8a60","is_valid_coordinates":true} 
[2026-04-17 19:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:45:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767411456001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:45:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274117225286205440,"note":"Value kept but may cause issues"} 
[2026-04-17 19:45:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177491640288583680,"note":"Value kept but may cause issues"} 
[2026-04-17 19:45:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:45:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776435209000,"timestamp_ms":1776435209000,"timestamp_seconds":1776435209,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bca2328"} 
[2026-04-17 19:45:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:45:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:45:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 19:45:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:45:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:45:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:45:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:45:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46907,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:45:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:45:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46907,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:45:31] 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-04-17 19:45:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:45:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:45:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767411456001,"66":27463,"121":206,"85":12544,"24":6,"16":274117225286205440,"45":9177491640288583680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:45:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:45:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:45:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767411456001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:45:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:45:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:45:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274117225286205440,"km_value":274117225286205.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:45:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177491640288583680,"description":"Unknown IO ID 45"} 
[2026-04-17 19:45:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767411456001,"power":27463,"unknown_121":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9177491640288583680}} 
[2026-04-17 19:45:31] local.INFO: DEBUG: GPS processor result {"connection_id":46907,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22817,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:45:31] local.INFO: GPS data processed {"connection_id":46907,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:45:31] local.INFO: Acknowledgment sent {"connection_id":46907,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:45:50] local.INFO: TCP Data received {"connection_id":46390,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:45:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:45:50] local.INFO: Processing buffer {"connection_id":46390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:45:50] local.INFO: IMEI packet received {"connection_id":46390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:45:50] local.INFO: IMEI acknowledgment sent {"connection_id":46390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:45:55] local.INFO: TCP Data received {"connection_id":46390,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46390,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:45:55] local.INFO: Processing buffer {"connection_id":46390,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:45:55] local.INFO: IMEI packet received {"connection_id":46390,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":46390,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:45:56] local.INFO: TCP Data received {"connection_id":46390,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bca4650012d7f5c8005bc8fe8000a000933..."} 
[2026-04-17 19:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bca4650012d7f5c8005bc8fe8000a000933..."} 
[2026-04-17 19:45:56] local.INFO: Processing buffer {"connection_id":46390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bca4650012d7f5c8005bc8fe8000a000933..."} 
[2026-04-17 19:45:56] local.INFO: Packet analysis {"connection_id":46390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bca"} 
[2026-04-17 19:45:56] local.INFO: Extracted packet for processing {"connection_id":46390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bca"} 
[2026-04-17 19:45:56] local.INFO: GPS Element Parsed {"raw_longitude":763321472,"raw_latitude":96243688,"longitude_deg":76.3321472,"latitude_deg":9.6243688,"altitude":10,"angle":9,"satellites":51,"speed":6,"hex_longitude":"2d7f5c80","hex_latitude":"05bc8fe8","is_valid_coordinates":true} 
[2026-04-17 19:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767413504001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274117298300649472,"note":"Value kept but may cause issues"} 
[2026-04-17 19:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177280534056427520,"note":"Value kept but may cause issues"} 
[2026-04-17 19:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776435218000,"timestamp_ms":1776435218000,"timestamp_seconds":1776435218,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bca4650"} 
[2026-04-17 19:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 19:45:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:45:56] 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-04-17 19:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767413504001,"66":27343,"121":206,"85":12544,"24":6,"16":274117298300649472,"45":9177280534056427520},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767413504001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:45:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:45:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274117298300649472,"km_value":274117298300649.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177280534056427520,"description":"Unknown IO ID 45"} 
[2026-04-17 19:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767413504001,"power":27343,"unknown_121":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9177280534056427520}} 
[2026-04-17 19:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":46390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22818,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:45:56] local.INFO: GPS data processed {"connection_id":46390,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:45:56] local.INFO: Acknowledgment sent {"connection_id":46390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:45:59] local.INFO: TCP Data received {"connection_id":46389,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bca4e20012d1b47c00725d350002900cf28..."} 
[2026-04-17 19:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46389,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bca4e20012d1b47c00725d350002900cf28..."} 
[2026-04-17 19:45:59] local.INFO: Processing buffer {"connection_id":46389,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bca4e20012d1b47c00725d350002900cf28..."} 
[2026-04-17 19:45:59] local.INFO: Packet analysis {"connection_id":46389,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bca"} 
[2026-04-17 19:45:59] local.INFO: Extracted packet for processing {"connection_id":46389,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bca"} 
[2026-04-17 19:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756762560,"raw_latitude":119919440,"longitude_deg":75.676256,"latitude_deg":11.991944,"altitude":41,"angle":207,"satellites":40,"speed":28,"hex_longitude":"2d1b47c0","hex_latitude":"0725d350","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767413248001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113509560362205184,"note":"Value kept but may cause issues"} 
[2026-04-17 19:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968073067862511616,"note":"Value kept but may cause issues"} 
[2026-04-17 19:45:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776435220000,"timestamp_ms":1776435220000,"timestamp_seconds":1776435220,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bca4e20"} 
[2026-04-17 19:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:45: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-04-17 19:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-17 19:45:59] 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-04-17 19: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-04-17 19:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46389,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46389,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767413248001,"66":13059,"80":206,"28":31744,"24":28,"16":113509560362205184,"45":1968073067862511616},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767413248001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:45:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:45:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113509560362205184,"km_value":113509560362205.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968073067862511616,"description":"Unknown IO ID 45"} 
[2026-04-17 19:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767413248001,"power":13059,"unknown_80":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1968073067862511616}} 
[2026-04-17 19:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":46389,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22819,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:45:59] local.INFO: GPS data processed {"connection_id":46389,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:45:59] local.INFO: Acknowledgment sent {"connection_id":46389,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:46:00] local.INFO: TCP Data received {"connection_id":46390,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bca9858012d7f5e0005bc9810000a000732..."} 
[2026-04-17 19:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bca9858012d7f5e0005bc9810000a000732..."} 
[2026-04-17 19:46:00] local.INFO: Processing buffer {"connection_id":46390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bca9858012d7f5e0005bc9810000a000732..."} 
[2026-04-17 19:46:00] local.INFO: Packet analysis {"connection_id":46390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bca"} 
[2026-04-17 19:46:00] local.INFO: Extracted packet for processing {"connection_id":46390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bca"} 
[2026-04-17 19:46:00] local.INFO: GPS Element Parsed {"raw_longitude":763321856,"raw_latitude":96245776,"longitude_deg":76.3321856,"latitude_deg":9.6245776,"altitude":10,"angle":7,"satellites":50,"speed":6,"hex_longitude":"2d7f5e00","hex_latitude":"05bc9810","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:46:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767415808001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274117405674831872,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177350902800967680,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:46:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776435239000,"timestamp_ms":1776435239000,"timestamp_seconds":1776435239,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bca9858"} 
[2026-04-17 19:46:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:46:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 19:46:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:46:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:46:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:46:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:46:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:46:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:46: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-04-17 19:46:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:46:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:46:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767415808001,"66":27234,"121":206,"85":12544,"24":6,"16":274117405674831872,"45":9177350902800967680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:46:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:46:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:46:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767415808001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:46:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:46:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:46:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274117405674831872,"km_value":274117405674831.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:46:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177350902800967680,"description":"Unknown IO ID 45"} 
[2026-04-17 19:46:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767415808001,"power":27234,"unknown_121":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9177350902800967680}} 
[2026-04-17 19:46:00] local.INFO: DEBUG: GPS processor result {"connection_id":46390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22820,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:46:00] local.INFO: GPS data processed {"connection_id":46390,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:46:00] local.INFO: Acknowledgment sent {"connection_id":46390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:46:21] local.INFO: TCP Data received {"connection_id":46908,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:46:21] local.INFO: Processing buffer {"connection_id":46908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:46:21] local.INFO: IMEI packet received {"connection_id":46908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":46908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:46:24] local.INFO: TCP Data received {"connection_id":46908,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:46:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:46:24] local.INFO: Processing buffer {"connection_id":46908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:46:24] local.INFO: IMEI packet received {"connection_id":46908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:46:24] local.INFO: IMEI acknowledgment sent {"connection_id":46908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:46:26] local.INFO: TCP Data received {"connection_id":46908,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46908,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:46:26] local.INFO: Processing buffer {"connection_id":46908,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:46:26] local.INFO: IMEI packet received {"connection_id":46908,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":46908,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:46:27] local.INFO: TCP Data received {"connection_id":46908,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bca4e20012d1b47c00725d350002900cf28..."} 
[2026-04-17 19:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bca4e20012d1b47c00725d350002900cf28..."} 
[2026-04-17 19:46:27] local.INFO: Processing buffer {"connection_id":46908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bca4e20012d1b47c00725d350002900cf28..."} 
[2026-04-17 19:46:27] local.INFO: Packet analysis {"connection_id":46908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bca"} 
[2026-04-17 19:46:27] local.INFO: Extracted packet for processing {"connection_id":46908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bca"} 
[2026-04-17 19:46:27] local.INFO: GPS Element Parsed {"raw_longitude":756762560,"raw_latitude":119919440,"longitude_deg":75.676256,"latitude_deg":11.991944,"altitude":41,"angle":207,"satellites":40,"speed":28,"hex_longitude":"2d1b47c0","hex_latitude":"0725d350","is_valid_coordinates":true} 
[2026-04-17 19:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767416320001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113509560362205184,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965750899302420480,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776435220000,"timestamp_ms":1776435220000,"timestamp_seconds":1776435220,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bca4e20"} 
[2026-04-17 19:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:46: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-04-17 19:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-17 19:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169941851623,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2613687752,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:27] local.WARNING: Large IO value detected {"io_id":82,"raw_value":58015164105490447,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:27] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2248146944,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:27] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3386181633,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880911054,"corrected_to":0} 
[2026-04-17 19:46:27] local.WARNING: Large IO value detected {"io_id":84,"raw_value":2147952157,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:27] local.WARNING: Large IO value detected {"io_id":52,"raw_value":2684407271,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:27] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,80,28,24,241,158,16,68,157,31,45,245,42,39,10,66,82,67,224,64,23,44,216,1,240,41,155,38,4,113,205,13,201,84,239,52,2,147,7,15],"length":486,"final_offset":616,"validated_count":40,"validation_warnings":[{"io_id":205,"original":3880911054,"validated":0}]} 
[2026-04-17 19:46:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954589126262521856,"timestamp_seconds":2954589126262522.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 19:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767416320001,"66":13059,"80":206,"28":31744,"24":28,"16":113509560362205184,"45":1965750899302420480},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767416320001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:46:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:46:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113509560362205184,"km_value":113509560362205.19,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965750899302420480,"description":"Unknown IO ID 45"} 
[2026-04-17 19:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767416320001,"power":13059,"unknown_80":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1965750899302420480}} 
[2026-04-17 19:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":46908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22821,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:46:27] local.INFO: GPS data processed {"connection_id":46908,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:46:27] local.INFO: Acknowledgment sent {"connection_id":46908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:46:31] local.INFO: TCP Data received {"connection_id":46390,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bcaea60012d7f5e8005bc9c58000a000b33..."} 
[2026-04-17 19:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46390,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bcaea60012d7f5e8005bc9c58000a000b33..."} 
[2026-04-17 19:46:31] local.INFO: Processing buffer {"connection_id":46390,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bcaea60012d7f5e8005bc9c58000a000b33..."} 
[2026-04-17 19:46:31] local.INFO: Packet analysis {"connection_id":46390,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bca"} 
[2026-04-17 19:46:31] local.INFO: Extracted packet for processing {"connection_id":46390,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bca"} 
[2026-04-17 19:46:31] local.INFO: GPS Element Parsed {"raw_longitude":763321984,"raw_latitude":96246872,"longitude_deg":76.3321984,"latitude_deg":9.6246872,"altitude":10,"angle":11,"satellites":51,"speed":0,"hex_longitude":"2d7f5e80","hex_latitude":"05bc9c58","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:46:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767421184001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274117457214439424,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177773115266568192,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:46:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776435260000,"timestamp_ms":1776435260000,"timestamp_seconds":1776435260,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bcaea60"} 
[2026-04-17 19:46:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:46:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:46:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 19:46: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-04-17 19: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-04-17 19:46:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:46:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:46:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46390,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:46:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:46:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46390,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:46:31] 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-04-17 19:46:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:46:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:46:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767421184001,"66":27267,"121":206,"85":12544,"24":0,"16":274117457214439424,"45":9177773115266568192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:46:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:46:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:46:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767421184001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:46:31] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:46:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:46:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274117457214439424,"km_value":274117457214439.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:46:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177773115266568192,"description":"Unknown IO ID 45"} 
[2026-04-17 19:46:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767421184001,"power":27267,"unknown_121":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9177773115266568192}} 
[2026-04-17 19:46:31] local.INFO: DEBUG: GPS processor result {"connection_id":46390,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22822,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:46:31] local.INFO: GPS data processed {"connection_id":46390,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:46:31] local.INFO: Acknowledgment sent {"connection_id":46390,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:46:50] local.INFO: TCP Data received {"connection_id":46152,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:46:50] local.INFO: Processing buffer {"connection_id":46152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:46:50] local.INFO: IMEI packet received {"connection_id":46152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":46152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:46:55] local.INFO: TCP Data received {"connection_id":46152,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46152,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:46:55] local.INFO: Processing buffer {"connection_id":46152,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:46:55] local.INFO: IMEI packet received {"connection_id":46152,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":46152,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:46:56] local.INFO: TCP Data received {"connection_id":46152,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bcb3c68012d7f5fc005bca2b0000b000b33..."} 
[2026-04-17 19:46:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bcb3c68012d7f5fc005bca2b0000b000b33..."} 
[2026-04-17 19:46:56] local.INFO: Processing buffer {"connection_id":46152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bcb3c68012d7f5fc005bca2b0000b000b33..."} 
[2026-04-17 19:46:56] local.INFO: Packet analysis {"connection_id":46152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bcb"} 
[2026-04-17 19:46:56] local.INFO: Extracted packet for processing {"connection_id":46152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bcb"} 
[2026-04-17 19:46:56] local.INFO: GPS Element Parsed {"raw_longitude":763322304,"raw_latitude":96248496,"longitude_deg":76.3322304,"latitude_deg":9.6248496,"altitude":11,"angle":11,"satellites":51,"speed":0,"hex_longitude":"2d7f5fc0","hex_latitude":"05bca2b0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:46:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767426560001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274117538818818048,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9177913852755204096,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:46:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776435281000,"timestamp_ms":1776435281000,"timestamp_seconds":1776435281,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bcb3c68"} 
[2026-04-17 19:46:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:46:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 19:46:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:46:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:46:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:46:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:46:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:46:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:46:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:46:56] 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-04-17 19:46:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:46:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:46:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767426560001,"66":27321,"121":206,"85":12544,"24":0,"16":274117538818818048,"45":9177913852755204096},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:46:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:46:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:46:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767426560001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:46:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:46:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:46:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274117538818818048,"km_value":274117538818818.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:46:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9177913852755204096,"description":"Unknown IO ID 45"} 
[2026-04-17 19:46:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767426560001,"power":27321,"unknown_121":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9177913852755204096}} 
[2026-04-17 19:46:56] local.INFO: DEBUG: GPS processor result {"connection_id":46152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22823,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:46:56] local.INFO: GPS data processed {"connection_id":46152,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:46:56] local.INFO: Acknowledgment sent {"connection_id":46152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:46:58] local.INFO: TCP Data received {"connection_id":46908,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bca7530012d1b39000725b918002a00c127..."} 
[2026-04-17 19:46:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46908,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bca7530012d1b39000725b918002a00c127..."} 
[2026-04-17 19:46:58] local.INFO: Processing buffer {"connection_id":46908,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bca7530012d1b39000725b918002a00c127..."} 
[2026-04-17 19:46:58] local.INFO: Packet analysis {"connection_id":46908,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bca"} 
[2026-04-17 19:46:58] local.INFO: Extracted packet for processing {"connection_id":46908,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bca"} 
[2026-04-17 19:46:58] local.INFO: GPS Element Parsed {"raw_longitude":756758784,"raw_latitude":119912728,"longitude_deg":75.6758784,"latitude_deg":11.9912728,"altitude":42,"angle":193,"satellites":39,"speed":30,"hex_longitude":"2d1b3900","hex_latitude":"0725b918","is_valid_coordinates":true} 
[2026-04-17 19:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767416320001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113509934024359936,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1965750899302420480,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:46:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776435230000,"timestamp_ms":1776435230000,"timestamp_seconds":1776435230,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bca7530"} 
[2026-04-17 19:46:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:46: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-04-17 19:46:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":3,"data_length":795,"current_offset":136} 
[2026-04-17 19:46:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":288303169941851623,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2613692752,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:58] local.WARNING: Large IO value detected {"io_id":82,"raw_value":58015164105490442,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:58] local.WARNING: Large IO value detected {"io_id":67,"raw_value":2365587456,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:58] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3386437633,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880911054,"corrected_to":0} 
[2026-04-17 19:46:58] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3036728807,"note":"Value kept but may cause issues"} 
[2026-04-17 19:46:58] local.INFO: IO Element Parsed {"io_data_count":42,"io_data_keys":[0,80,28,24,241,158,16,68,157,78,45,192,211,41,40,10,66,31,245,42,39,82,67,224,64,1,240,220,155,38,4,113,205,12,213,87,239,52,2,147,7,43],"length":486,"final_offset":616,"validated_count":42,"validation_warnings":[{"io_id":205,"original":3880911054,"validated":0}]} 
[2026-04-17 19:46:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954589126262521856,"timestamp_seconds":2954589126262522.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 19:46:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:46:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:46:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46908,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:46:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:46:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46908,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:46:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:46:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:46:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:46:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767416320001,"66":12298,"80":206,"28":31744,"24":30,"16":113509934024359936,"45":1965750899302420480},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:46:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:46:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:46:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767416320001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:46:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:46:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:46:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113509934024359936,"km_value":113509934024359.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:46:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1965750899302420480,"description":"Unknown IO ID 45"} 
[2026-04-17 19:46:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767416320001,"power":12298,"unknown_80":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1965750899302420480}} 
[2026-04-17 19:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":46908,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22824,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:46:59] local.INFO: GPS data processed {"connection_id":46908,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:46:59] local.INFO: Acknowledgment sent {"connection_id":46908,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:47:26] local.INFO: TCP Data received {"connection_id":46392,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:47:26] local.INFO: Processing buffer {"connection_id":46392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:47:26] local.INFO: IMEI packet received {"connection_id":46392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":46392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:47:26] local.INFO: TCP Data received {"connection_id":46152,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bcb8e70012d7f610005bca988000b000932..."} 
[2026-04-17 19:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bcb8e70012d7f610005bca988000b000932..."} 
[2026-04-17 19:47:26] local.INFO: Processing buffer {"connection_id":46152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bcb8e70012d7f610005bca988000b000932..."} 
[2026-04-17 19:47:26] local.INFO: Packet analysis {"connection_id":46152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bcb"} 
[2026-04-17 19:47:26] local.INFO: Extracted packet for processing {"connection_id":46152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bcb"} 
[2026-04-17 19:47:26] local.INFO: GPS Element Parsed {"raw_longitude":763322624,"raw_latitude":96250248,"longitude_deg":76.3322624,"latitude_deg":9.6250248,"altitude":11,"angle":9,"satellites":50,"speed":0,"hex_longitude":"2d7f6100","hex_latitude":"05bca988","is_valid_coordinates":true} 
[2026-04-17 19:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767431936001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274117629013131264,"note":"Value kept but may cause issues"} 
[2026-04-17 19:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9178265696476508160,"note":"Value kept but may cause issues"} 
[2026-04-17 19:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776435302000,"timestamp_ms":1776435302000,"timestamp_seconds":1776435302,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bcb8e70"} 
[2026-04-17 19:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:47: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-04-17 19:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 19:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46152,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:47:26] 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-04-17 19:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767431936001,"66":27484,"121":206,"85":12544,"24":0,"16":274117629013131264,"45":9178265696476508160},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767431936001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:47:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:47:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274117629013131264,"km_value":274117629013131.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9178265696476508160,"description":"Unknown IO ID 45"} 
[2026-04-17 19:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767431936001,"power":27484,"unknown_121":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9178265696476508160}} 
[2026-04-17 19:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":46152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22825,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:47:27] local.INFO: GPS data processed {"connection_id":46152,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:47:27] local.INFO: Acknowledgment sent {"connection_id":46152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:47:29] local.INFO: TCP Data received {"connection_id":46391,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:47:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46391,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:47:29] local.INFO: Processing buffer {"connection_id":46391,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:47:29] local.INFO: IMEI packet received {"connection_id":46391,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:47:29] local.INFO: IMEI acknowledgment sent {"connection_id":46391,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:47:31] local.INFO: TCP Data received {"connection_id":46392,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46392,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:47:31] local.INFO: Processing buffer {"connection_id":46392,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:47:31] local.INFO: IMEI packet received {"connection_id":46392,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":46392,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:47:33] local.INFO: TCP Data received {"connection_id":46392,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bcca3c8012d1b5f00072570980026008c21..."} 
[2026-04-17 19:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bcca3c8012d1b5f00072570980026008c21..."} 
[2026-04-17 19:47:33] local.INFO: Processing buffer {"connection_id":46392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bcca3c8012d1b5f00072570980026008c21..."} 
[2026-04-17 19:47:33] local.INFO: Packet analysis {"connection_id":46392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bcc"} 
[2026-04-17 19:47:33] local.INFO: Extracted packet for processing {"connection_id":46392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bcc"} 
[2026-04-17 19:47:33] local.INFO: GPS Element Parsed {"raw_longitude":756768512,"raw_latitude":119894168,"longitude_deg":75.6768512,"latitude_deg":11.9894168,"altitude":38,"angle":140,"satellites":33,"speed":3,"hex_longitude":"2d1b5f00","hex_latitude":"07257098","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767453952001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113510994881282048,"note":"Value kept but may cause issues"} 
[2026-04-17 19:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971943348783628288,"note":"Value kept but may cause issues"} 
[2026-04-17 19:47:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776435373000,"timestamp_ms":1776435373000,"timestamp_seconds":1776435373,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bcca3c8"} 
[2026-04-17 19:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:47: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-04-17 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 19:47: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-04-17 19: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-04-17 19:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767453952001,"66":12591,"80":206,"28":31744,"24":3,"16":113510994881282048,"45":1971943348783628288},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767453952001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:47:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:47:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113510994881282048,"km_value":113510994881282.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971943348783628288,"description":"Unknown IO ID 45"} 
[2026-04-17 19:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767453952001,"power":12591,"unknown_80":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1971943348783628288}} 
[2026-04-17 19:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":46392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22826,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:47:33] local.INFO: GPS data processed {"connection_id":46392,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:47:33] local.INFO: Acknowledgment sent {"connection_id":46392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:47:34] local.INFO: TCP Data received {"connection_id":46392,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bccd2a8012d1b6600072567b00026009925..."} 
[2026-04-17 19:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bccd2a8012d1b6600072567b00026009925..."} 
[2026-04-17 19:47:34] local.INFO: Processing buffer {"connection_id":46392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bccd2a8012d1b6600072567b00026009925..."} 
[2026-04-17 19:47:34] local.INFO: Packet analysis {"connection_id":46392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bcc"} 
[2026-04-17 19:47:34] local.INFO: Extracted packet for processing {"connection_id":46392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bcc"} 
[2026-04-17 19:47:34] local.INFO: GPS Element Parsed {"raw_longitude":756770304,"raw_latitude":119891888,"longitude_deg":75.6770304,"latitude_deg":11.9891888,"altitude":38,"angle":153,"satellites":37,"speed":10,"hex_longitude":"2d1b6600","hex_latitude":"072567b0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767455488001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511136615202816,"note":"Value kept but may cause issues"} 
[2026-04-17 19:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1972295192504473600,"note":"Value kept but may cause issues"} 
[2026-04-17 19:47:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776435385000,"timestamp_ms":1776435385000,"timestamp_seconds":1776435385,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bccd2a8"} 
[2026-04-17 19:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:47: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-04-17 19: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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 19:47:34] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":866,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":46392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":46392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":46392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767455488001,"66":13450,"80":206,"28":31744,"24":10,"16":113511136615202816,"45":1972295192504473600},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767455488001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:47:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:47:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511136615202816,"km_value":113511136615202.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1972295192504473600,"description":"Unknown IO ID 45"} 
[2026-04-17 19:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767455488001,"power":13450,"unknown_80":206,"unknown_28":31744,"ignition":10,"odometer":null,"unknown_45":1972295192504473600}} 
[2026-04-17 19:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":46392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22827,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:47:34] local.INFO: GPS data processed {"connection_id":46392,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:47:34] local.INFO: Acknowledgment sent {"connection_id":46392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:47:50] local.INFO: TCP Data received {"connection_id":46153,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:47:50] local.INFO: Processing buffer {"connection_id":46153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:47:50] local.INFO: IMEI packet received {"connection_id":46153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":46153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:47:55] local.INFO: TCP Data received {"connection_id":46153,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46153,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:47:55] local.INFO: Processing buffer {"connection_id":46153,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:47:55] local.INFO: IMEI packet received {"connection_id":46153,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":46153,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:47:56] local.INFO: TCP Data received {"connection_id":46153,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bcbe078012d7f610005bca988000b000931..."} 
[2026-04-17 19:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bcbe078012d7f610005bca988000b000931..."} 
[2026-04-17 19:47:56] local.INFO: Processing buffer {"connection_id":46153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bcbe078012d7f610005bca988000b000931..."} 
[2026-04-17 19:47:56] local.INFO: Packet analysis {"connection_id":46153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bcb"} 
[2026-04-17 19:47:56] local.INFO: Extracted packet for processing {"connection_id":46153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bcb"} 
[2026-04-17 19:47:56] local.INFO: GPS Element Parsed {"raw_longitude":763322624,"raw_latitude":96250248,"longitude_deg":76.3322624,"latitude_deg":9.6250248,"altitude":11,"angle":9,"satellites":49,"speed":0,"hex_longitude":"2d7f6100","hex_latitude":"05bca988","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767437312001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274117629013131264,"note":"Value kept but may cause issues"} 
[2026-04-17 19:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9178617540197844992,"note":"Value kept but may cause issues"} 
[2026-04-17 19:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776435323000,"timestamp_ms":1776435323000,"timestamp_seconds":1776435323,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bcbe078"} 
[2026-04-17 19:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 19:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:47:56] 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-04-17 19:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767437312001,"66":27539,"121":206,"85":12544,"24":0,"16":274117629013131264,"45":9178617540197844992},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767437312001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:47:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:47:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274117629013131264,"km_value":274117629013131.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9178617540197844992,"description":"Unknown IO ID 45"} 
[2026-04-17 19:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767437312001,"power":27539,"unknown_121":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9178617540197844992}} 
[2026-04-17 19:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":46153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22828,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:47:56] local.INFO: GPS data processed {"connection_id":46153,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:47:56] local.INFO: Acknowledgment sent {"connection_id":46153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:48:06] local.INFO: TCP Data received {"connection_id":46392,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bcda598012d1b8500072570f80032010327..."} 
[2026-04-17 19:48:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46392,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bcda598012d1b8500072570f80032010327..."} 
[2026-04-17 19:48:06] local.INFO: Processing buffer {"connection_id":46392,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bcda598012d1b8500072570f80032010327..."} 
[2026-04-17 19:48:06] local.INFO: Packet analysis {"connection_id":46392,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bcd"} 
[2026-04-17 19:48:06] local.INFO: Extracted packet for processing {"connection_id":46392,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bcd"} 
[2026-04-17 19:48:06] local.INFO: GPS Element Parsed {"raw_longitude":756778240,"raw_latitude":119894264,"longitude_deg":75.677824,"latitude_deg":11.9894264,"altitude":50,"angle":259,"satellites":39,"speed":9,"hex_longitude":"2d1b8500","hex_latitude":"072570f8","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:48:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767471616001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:48:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511699255918592,"note":"Value kept but may cause issues"} 
[2026-04-17 19:48:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1982991241619550208,"note":"Value kept but may cause issues"} 
[2026-04-17 19:48:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:48:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776435439000,"timestamp_ms":1776435439000,"timestamp_seconds":1776435439,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bcda598"} 
[2026-04-17 19:48:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:48: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-04-17 19: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 19:48:06] 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-04-17 19: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-04-17 19:48:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:48:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:48:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46392,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:48:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:48:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46392,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:48:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:48:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:48:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:48:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767471616001,"66":12885,"80":206,"28":31744,"24":9,"16":113511699255918592,"45":1982991241619550208},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:48:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:48:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:48:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767471616001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:48:06] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:48:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:48:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511699255918592,"km_value":113511699255918.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:48:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1982991241619550208,"description":"Unknown IO ID 45"} 
[2026-04-17 19:48:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767471616001,"power":12885,"unknown_80":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1982991241619550208}} 
[2026-04-17 19:48:06] local.INFO: DEBUG: GPS processor result {"connection_id":46392,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22829,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:48:06] local.INFO: GPS data processed {"connection_id":46392,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:48:06] local.INFO: Acknowledgment sent {"connection_id":46392,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:48:09] local.INFO: TCP Data received {"connection_id":46050,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:48:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46050,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:48:09] local.INFO: Processing buffer {"connection_id":46050,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:48:09] local.INFO: IMEI packet received {"connection_id":46050,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:48:09] local.INFO: IMEI acknowledgment sent {"connection_id":46050,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:48:24] local.INFO: TCP Data received {"connection_id":46909,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:48:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:48:24] local.INFO: Processing buffer {"connection_id":46909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:48:24] local.INFO: IMEI packet received {"connection_id":46909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:48:24] local.INFO: IMEI acknowledgment sent {"connection_id":46909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:48:25] local.INFO: TCP Data received {"connection_id":46909,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:48:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46909,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:48:25] local.INFO: Processing buffer {"connection_id":46909,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:48:25] local.INFO: IMEI packet received {"connection_id":46909,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:48:25] local.INFO: IMEI acknowledgment sent {"connection_id":46909,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:48:26] local.INFO: TCP Data received {"connection_id":46909,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bcda980012d1b8400072570f00033010f26..."} 
[2026-04-17 19:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bcda980012d1b8400072570f00033010f26..."} 
[2026-04-17 19:48:26] local.INFO: Processing buffer {"connection_id":46909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bcda980012d1b8400072570f00033010f26..."} 
[2026-04-17 19:48:26] local.INFO: Packet analysis {"connection_id":46909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bcd"} 
[2026-04-17 19:48:26] local.INFO: Extracted packet for processing {"connection_id":46909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bcd"} 
[2026-04-17 19:48:26] local.INFO: GPS Element Parsed {"raw_longitude":756777984,"raw_latitude":119894256,"longitude_deg":75.6777984,"latitude_deg":11.9894256,"altitude":51,"angle":271,"satellites":38,"speed":12,"hex_longitude":"2d1b8400","hex_latitude":"072570f0","is_valid_coordinates":true} 
[2026-04-17 19:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767472384001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511716435787776,"note":"Value kept but may cause issues"} 
[2026-04-17 19:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1982991241619503104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776435440000,"timestamp_ms":1776435440000,"timestamp_seconds":1776435440,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bcda980"} 
[2026-04-17 19:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 19:48:26] 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-04-17 19:48:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:48:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767472384001,"66":12928,"80":206,"28":31744,"24":12,"16":113511716435787776,"45":1982991241619503104},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:48:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:48:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:48:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767472384001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:48:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:48:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:48:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511716435787776,"km_value":113511716435787.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:48:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1982991241619503104,"description":"Unknown IO ID 45"} 
[2026-04-17 19:48:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767472384001,"power":12928,"unknown_80":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1982991241619503104}} 
[2026-04-17 19:48:26] local.INFO: DEBUG: GPS processor result {"connection_id":46909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22830,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:48:26] local.INFO: GPS data processed {"connection_id":46909,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:48:26] local.INFO: Acknowledgment sent {"connection_id":46909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:48:27] local.INFO: TCP Data received {"connection_id":46153,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bcc3280012d7f62c005bcb3f8000c000c33..."} 
[2026-04-17 19:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bcc3280012d7f62c005bcb3f8000c000c33..."} 
[2026-04-17 19:48:27] local.INFO: Processing buffer {"connection_id":46153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bcc3280012d7f62c005bcb3f8000c000c33..."} 
[2026-04-17 19:48:27] local.INFO: Packet analysis {"connection_id":46153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bcc"} 
[2026-04-17 19:48:27] local.INFO: Extracted packet for processing {"connection_id":46153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bcc"} 
[2026-04-17 19:48:27] local.INFO: GPS Element Parsed {"raw_longitude":763323072,"raw_latitude":96252920,"longitude_deg":76.3323072,"latitude_deg":9.625292,"altitude":12,"angle":12,"satellites":51,"speed":6,"hex_longitude":"2d7f62c0","hex_latitude":"05bcb3f8","is_valid_coordinates":true} 
[2026-04-17 19:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767442688001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274117762157117440,"note":"Value kept but may cause issues"} 
[2026-04-17 19:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9178617540197844992,"note":"Value kept but may cause issues"} 
[2026-04-17 19:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776435344000,"timestamp_ms":1776435344000,"timestamp_seconds":1776435344,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bcc3280"} 
[2026-04-17 19:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-17 19:48:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2056,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46153,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767442688001,"66":27484,"121":206,"85":12544,"24":6,"16":274117762157117440,"45":9178617540197844992},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767442688001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:48:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:48:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274117762157117440,"km_value":274117762157117.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9178617540197844992,"description":"Unknown IO ID 45"} 
[2026-04-17 19:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767442688001,"power":27484,"unknown_121":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9178617540197844992}} 
[2026-04-17 19:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":46153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22831,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:48:27] local.INFO: GPS data processed {"connection_id":46153,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:48:27] local.INFO: Acknowledgment sent {"connection_id":46153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:48:27] local.INFO: TCP Data received {"connection_id":46909,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bcdc0f0012d1b7b0007257118003300ff26..."} 
[2026-04-17 19:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bcdc0f0012d1b7b0007257118003300ff26..."} 
[2026-04-17 19:48:27] local.INFO: Processing buffer {"connection_id":46909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bcdc0f0012d1b7b0007257118003300ff26..."} 
[2026-04-17 19:48:27] local.INFO: Packet analysis {"connection_id":46909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bcd"} 
[2026-04-17 19:48:27] local.INFO: Extracted packet for processing {"connection_id":46909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bcd"} 
[2026-04-17 19:48:27] local.INFO: GPS Element Parsed {"raw_longitude":756775680,"raw_latitude":119894296,"longitude_deg":75.677568,"latitude_deg":11.9894296,"altitude":51,"angle":255,"satellites":38,"speed":11,"hex_longitude":"2d1b7b00","hex_latitude":"07257118","is_valid_coordinates":true} 
[2026-04-17 19:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767472640001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511823809970176,"note":"Value kept but may cause issues"} 
[2026-04-17 19:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1982709766642790400,"note":"Value kept but may cause issues"} 
[2026-04-17 19:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776435446000,"timestamp_ms":1776435446000,"timestamp_seconds":1776435446,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bcdc0f0"} 
[2026-04-17 19:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:48: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-04-17 19:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":128,"data_length":795,"current_offset":136} 
[2026-04-17 19:48:27] 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-04-17 19:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767472640001,"66":12885,"80":206,"28":31744,"24":11,"16":113511823809970176,"45":1982709766642790400},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767472640001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:48:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:48:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511823809970176,"km_value":113511823809970.17,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1982709766642790400,"description":"Unknown IO ID 45"} 
[2026-04-17 19:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767472640001,"power":12885,"unknown_80":206,"unknown_28":31744,"ignition":11,"odometer":null,"unknown_45":1982709766642790400}} 
[2026-04-17 19:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":46909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22832,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:48:28] local.INFO: GPS data processed {"connection_id":46909,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:48:28] local.INFO: Acknowledgment sent {"connection_id":46909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:48:49] local.INFO: TCP Data received {"connection_id":46051,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:48:49] local.INFO: Processing buffer {"connection_id":46051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:48:49] local.INFO: IMEI packet received {"connection_id":46051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":46051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:48:50] local.INFO: TCP Data received {"connection_id":46051,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:48:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:48:50] local.INFO: Processing buffer {"connection_id":46051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:48:50] local.INFO: IMEI packet received {"connection_id":46051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:48:50] local.INFO: IMEI acknowledgment sent {"connection_id":46051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:48:55] local.INFO: TCP Data received {"connection_id":46051,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46051,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:48:55] local.INFO: Processing buffer {"connection_id":46051,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:48:55] local.INFO: IMEI packet received {"connection_id":46051,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":46051,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:48:56] local.INFO: TCP Data received {"connection_id":46051,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bcc8488012d7f648005bcbec0000a000832..."} 
[2026-04-17 19:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bcc8488012d7f648005bcbec0000a000832..."} 
[2026-04-17 19:48:56] local.INFO: Processing buffer {"connection_id":46051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bcc8488012d7f648005bcbec0000a000832..."} 
[2026-04-17 19:48:56] local.INFO: Packet analysis {"connection_id":46051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bcc"} 
[2026-04-17 19:48:56] local.INFO: Extracted packet for processing {"connection_id":46051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bcc"} 
[2026-04-17 19:48:56] local.INFO: GPS Element Parsed {"raw_longitude":763323520,"raw_latitude":96255680,"longitude_deg":76.332352,"latitude_deg":9.625568,"altitude":10,"angle":8,"satellites":50,"speed":7,"hex_longitude":"2d7f6480","hex_latitude":"05bcbec0","is_valid_coordinates":true} 
[2026-04-17 19:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767448064001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274117903891038208,"note":"Value kept but may cause issues"} 
[2026-04-17 19:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9179110121407772672,"note":"Value kept but may cause issues"} 
[2026-04-17 19:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776435365000,"timestamp_ms":1776435365000,"timestamp_seconds":1776435365,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bcc8488"} 
[2026-04-17 19:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 19:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:48:56] 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-04-17 19:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767448064001,"66":27593,"121":206,"85":12544,"24":7,"16":274117903891038208,"45":9179110121407772672},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767448064001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:48:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:48:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274117903891038208,"km_value":274117903891038.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9179110121407772672,"description":"Unknown IO ID 45"} 
[2026-04-17 19:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767448064001,"power":27593,"unknown_121":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9179110121407772672}} 
[2026-04-17 19:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":46051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22833,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:48:56] local.INFO: GPS data processed {"connection_id":46051,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:48:56] local.INFO: Acknowledgment sent {"connection_id":46051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:48:59] local.INFO: TCP Data received {"connection_id":46909,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bce12f8012d1b7840072571300033010226..."} 
[2026-04-17 19:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46909,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bce12f8012d1b7840072571300033010226..."} 
[2026-04-17 19:48:59] local.INFO: Processing buffer {"connection_id":46909,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bce12f8012d1b7840072571300033010226..."} 
[2026-04-17 19:48:59] local.INFO: Packet analysis {"connection_id":46909,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bce"} 
[2026-04-17 19:48:59] local.INFO: Extracted packet for processing {"connection_id":46909,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bce"} 
[2026-04-17 19:48:59] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767474176001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1980176491852404736,"note":"Value kept but may cause issues"} 
[2026-04-17 19:48:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776435467000,"timestamp_ms":1776435467000,"timestamp_seconds":1776435467,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bce12f8"} 
[2026-04-17 19:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:48: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-04-17 19: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":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 19:48: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-04-17 19: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-04-17 19:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46909,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46909,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767474176001,"66":12885,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1980176491852404736},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767474176001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:48:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:48:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1980176491852404736,"description":"Unknown IO ID 45"} 
[2026-04-17 19:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767474176001,"power":12885,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1980176491852404736}} 
[2026-04-17 19:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":46909,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22834,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:48:59] local.INFO: GPS data processed {"connection_id":46909,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:48:59] local.INFO: Acknowledgment sent {"connection_id":46909,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:49:21] local.INFO: TCP Data received {"connection_id":46053,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:49:21] local.INFO: Processing buffer {"connection_id":46053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:49:21] local.INFO: IMEI packet received {"connection_id":46053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":46053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:49:26] local.INFO: TCP Data received {"connection_id":46053,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46053,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:49:26] local.INFO: Processing buffer {"connection_id":46053,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:49:26] local.INFO: IMEI packet received {"connection_id":46053,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":46053,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:49:27] local.INFO: TCP Data received {"connection_id":46051,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bccd690012d7f680005bccf18000b000f34..."} 
[2026-04-17 19:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46051,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bccd690012d7f680005bccf18000b000f34..."} 
[2026-04-17 19:49:27] local.INFO: Processing buffer {"connection_id":46051,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bccd690012d7f680005bccf18000b000f34..."} 
[2026-04-17 19:49:27] local.INFO: Packet analysis {"connection_id":46051,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bcc"} 
[2026-04-17 19:49:27] local.INFO: Extracted packet for processing {"connection_id":46051,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bcc"} 
[2026-04-17 19:49:27] local.INFO: GPS Element Parsed {"raw_longitude":763324416,"raw_latitude":96259864,"longitude_deg":76.3324416,"latitude_deg":9.6259864,"altitude":11,"angle":15,"satellites":52,"speed":7,"hex_longitude":"2d7f6800","hex_latitude":"05bccf18","is_valid_coordinates":true} 
[2026-04-17 19:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767453440001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274118114344435712,"note":"Value kept but may cause issues"} 
[2026-04-17 19:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9179602702617722880,"note":"Value kept but may cause issues"} 
[2026-04-17 19:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776435386000,"timestamp_ms":1776435386000,"timestamp_seconds":1776435386,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bccd690"} 
[2026-04-17 19:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":201,"data_length":795,"current_offset":136} 
[2026-04-17 19:49:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2542,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46051,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46051,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767453440001,"66":27213,"121":206,"85":12544,"24":7,"16":274118114344435712,"45":9179602702617722880},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767453440001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:49:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:49:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274118114344435712,"km_value":274118114344435.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9179602702617722880,"description":"Unknown IO ID 45"} 
[2026-04-17 19:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767453440001,"power":27213,"unknown_121":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9179602702617722880}} 
[2026-04-17 19:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":46051,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22835,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:49:27] local.INFO: GPS data processed {"connection_id":46051,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:49:27] local.INFO: Acknowledgment sent {"connection_id":46051,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:49:27] local.INFO: TCP Data received {"connection_id":46053,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bce6500012d1b7840072571300033010226..."} 
[2026-04-17 19:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bce6500012d1b7840072571300033010226..."} 
[2026-04-17 19:49:27] local.INFO: Processing buffer {"connection_id":46053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bce6500012d1b7840072571300033010226..."} 
[2026-04-17 19:49:27] local.INFO: Packet analysis {"connection_id":46053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bce"} 
[2026-04-17 19:49:27] local.INFO: Extracted packet for processing {"connection_id":46053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bce"} 
[2026-04-17 19:49:27] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 19:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767479552001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776435488000,"timestamp_ms":1776435488000,"timestamp_seconds":1776435488,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bce6500"} 
[2026-04-17 19:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:49: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-04-17 19:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 19:49:27] 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-04-17 19:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767479552001,"66":12885,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767479552001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:49:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:49:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767479552001,"power":12885,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":46053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22836,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:49:27] local.INFO: GPS data processed {"connection_id":46053,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:49:27] local.INFO: Acknowledgment sent {"connection_id":46053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:49:50] local.INFO: TCP Data received {"connection_id":46154,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:49:50] local.INFO: Processing buffer {"connection_id":46154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:49:50] local.INFO: IMEI packet received {"connection_id":46154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":46154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:49:52] local.INFO: TCP Data received {"connection_id":46154,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:49:52] local.INFO: Processing buffer {"connection_id":46154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:49:52] local.INFO: IMEI packet received {"connection_id":46154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":46154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:49:55] local.INFO: TCP Data received {"connection_id":46154,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:49:55] local.INFO: Processing buffer {"connection_id":46154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:49:55] local.INFO: IMEI packet received {"connection_id":46154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":46154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:49:56] local.INFO: TCP Data received {"connection_id":46154,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bcd2898012d7f6ac005bcd9e0000a000d32..."} 
[2026-04-17 19:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bcd2898012d7f6ac005bcd9e0000a000d32..."} 
[2026-04-17 19:49:56] local.INFO: Processing buffer {"connection_id":46154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bcd2898012d7f6ac005bcd9e0000a000d32..."} 
[2026-04-17 19:49:56] local.INFO: Packet analysis {"connection_id":46154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bcd"} 
[2026-04-17 19:49:56] local.INFO: Extracted packet for processing {"connection_id":46154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bcd"} 
[2026-04-17 19:49:56] local.INFO: GPS Element Parsed {"raw_longitude":763325120,"raw_latitude":96262624,"longitude_deg":76.332512,"latitude_deg":9.6262624,"altitude":10,"angle":13,"satellites":50,"speed":6,"hex_longitude":"2d7f6ac0","hex_latitude":"05bcd9e0","is_valid_coordinates":true} 
[2026-04-17 19:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767458816001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274118256078356480,"note":"Value kept but may cause issues"} 
[2026-04-17 19:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9180587865037281280,"note":"Value kept but may cause issues"} 
[2026-04-17 19:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776435407000,"timestamp_ms":1776435407000,"timestamp_seconds":1776435407,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bcd2898"} 
[2026-04-17 19:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-17 19:49:56] 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-04-17 19:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:49:56] 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-04-17 19:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767458816001,"66":26984,"121":206,"85":12544,"24":6,"16":274118256078356480,"45":9180587865037281280},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767458816001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:49:56] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:49:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274118256078356480,"km_value":274118256078356.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9180587865037281280,"description":"Unknown IO ID 45"} 
[2026-04-17 19:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767458816001,"power":26984,"unknown_121":206,"unknown_85":12544,"ignition":6,"odometer":null,"unknown_45":9180587865037281280}} 
[2026-04-17 19:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":46154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22837,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:49:56] local.INFO: GPS data processed {"connection_id":46154,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:49:56] local.INFO: Acknowledgment sent {"connection_id":46154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:49:59] local.INFO: TCP Data received {"connection_id":46053,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bceb708012d1b7840072571300033010226..."} 
[2026-04-17 19:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46053,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bceb708012d1b7840072571300033010226..."} 
[2026-04-17 19:49:59] local.INFO: Processing buffer {"connection_id":46053,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bceb708012d1b7840072571300033010226..."} 
[2026-04-17 19:49:59] local.INFO: Packet analysis {"connection_id":46053,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bce"} 
[2026-04-17 19:49:59] local.INFO: Extracted packet for processing {"connection_id":46053,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bce"} 
[2026-04-17 19:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767484928001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:49:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776435509000,"timestamp_ms":1776435509000,"timestamp_seconds":1776435509,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bceb708"} 
[2026-04-17 19:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:49: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-04-17 19:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":85,"data_length":795,"current_offset":136} 
[2026-04-17 19:49: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-04-17 19: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-04-17 19:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46053,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46053,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767484928001,"66":12852,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767484928001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:49:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:49:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767484928001,"power":12852,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":46053,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22838,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:49:59] local.INFO: GPS data processed {"connection_id":46053,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:49:59] local.INFO: Acknowledgment sent {"connection_id":46053,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:50:21] local.INFO: TCP Data received {"connection_id":46394,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:50:21] local.INFO: Processing buffer {"connection_id":46394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:50:21] local.INFO: IMEI packet received {"connection_id":46394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":46394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:50:26] local.INFO: TCP Data received {"connection_id":46394,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46394,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:50:26] local.INFO: Processing buffer {"connection_id":46394,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:50:26] local.INFO: IMEI packet received {"connection_id":46394,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":46394,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:50:27] local.INFO: TCP Data received {"connection_id":46394,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bcf0910012d1b7840072571300033010226..."} 
[2026-04-17 19:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bcf0910012d1b7840072571300033010226..."} 
[2026-04-17 19:50:27] local.INFO: Processing buffer {"connection_id":46394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bcf0910012d1b7840072571300033010226..."} 
[2026-04-17 19:50:27] local.INFO: Packet analysis {"connection_id":46394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bcf"} 
[2026-04-17 19:50:27] local.INFO: Extracted packet for processing {"connection_id":46394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bcf"} 
[2026-04-17 19:50:27] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 19:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767490304001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776435530000,"timestamp_ms":1776435530000,"timestamp_seconds":1776435530,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bcf0910"} 
[2026-04-17 19:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:50: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-04-17 19:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 19:50:27] 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-04-17 19:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767490304001,"66":12819,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767490304001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:50:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:50:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767490304001,"power":12819,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":46394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22839,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:50:27] local.INFO: GPS data processed {"connection_id":46394,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:50:27] local.INFO: Acknowledgment sent {"connection_id":46394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:50:28] local.INFO: TCP Data received {"connection_id":46154,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bcd7aa0012d7f6c8005bce358000a000933..."} 
[2026-04-17 19:50:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bcd7aa0012d7f6c8005bce358000a000933..."} 
[2026-04-17 19:50:28] local.INFO: Processing buffer {"connection_id":46154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bcd7aa0012d7f6c8005bce358000a000933..."} 
[2026-04-17 19:50:28] local.INFO: Packet analysis {"connection_id":46154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bcd"} 
[2026-04-17 19:50:28] local.INFO: Extracted packet for processing {"connection_id":46154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bcd"} 
[2026-04-17 19:50:28] local.INFO: GPS Element Parsed {"raw_longitude":763325568,"raw_latitude":96265048,"longitude_deg":76.3325568,"latitude_deg":9.6265048,"altitude":10,"angle":9,"satellites":51,"speed":0,"hex_longitude":"2d7f6c80","hex_latitude":"05bce358","is_valid_coordinates":true} 
[2026-04-17 19:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:50:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767464192001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274118376337440768,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181361921223942144,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:50:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776435428000,"timestamp_ms":1776435428000,"timestamp_seconds":1776435428,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bcd7aa0"} 
[2026-04-17 19:50:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:50: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-04-17 19:50:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-17 19:50:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1659,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:50:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:50:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:50:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:50:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:50:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:50:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:50:28] 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-04-17 19:50:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:50:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:50:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767464192001,"66":27484,"120":206,"85":12544,"24":0,"16":274118376337440768,"45":9181361921223942144},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-17 19:50:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:50:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:50:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767464192001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:50:28] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 19:50:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:50:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274118376337440768,"km_value":274118376337440.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:50:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181361921223942144,"description":"Unknown IO ID 45"} 
[2026-04-17 19:50:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767464192001,"power":27484,"unknown_120":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9181361921223942144}} 
[2026-04-17 19:50:28] local.INFO: DEBUG: GPS processor result {"connection_id":46154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22840,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:50:28] local.INFO: GPS data processed {"connection_id":46154,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:50:28] local.INFO: Acknowledgment sent {"connection_id":46154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:50:50] local.INFO: TCP Data received {"connection_id":46054,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:50:50] local.INFO: Processing buffer {"connection_id":46054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:50:50] local.INFO: IMEI packet received {"connection_id":46054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":46054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:50:55] local.INFO: TCP Data received {"connection_id":46054,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:50:55] local.INFO: Processing buffer {"connection_id":46054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:50:55] local.INFO: IMEI packet received {"connection_id":46054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":46054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:50:56] local.INFO: TCP Data received {"connection_id":46054,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bcdcca8012d7f6d8005bce7780009000d33..."} 
[2026-04-17 19:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bcdcca8012d7f6d8005bce7780009000d33..."} 
[2026-04-17 19:50:56] local.INFO: Processing buffer {"connection_id":46054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bcdcca8012d7f6d8005bce7780009000d33..."} 
[2026-04-17 19:50:56] local.INFO: Packet analysis {"connection_id":46054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bcd"} 
[2026-04-17 19:50:56] local.INFO: Extracted packet for processing {"connection_id":46054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bcd"} 
[2026-04-17 19:50:56] local.INFO: GPS Element Parsed {"raw_longitude":763325824,"raw_latitude":96266104,"longitude_deg":76.3325824,"latitude_deg":9.6266104,"altitude":9,"angle":13,"satellites":51,"speed":0,"hex_longitude":"2d7f6d80","hex_latitude":"05bce778","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767469568001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274118432172015616,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9181854502433806336,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776435449000,"timestamp_ms":1776435449000,"timestamp_seconds":1776435449,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bcdcca8"} 
[2026-04-17 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-04-17 19:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 19:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 19:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:50:56] 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-04-17 19:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767469568001,"66":27571,"120":206,"85":12544,"24":0,"16":274118432172015616,"45":9181854502433806336},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-17 19:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767469568001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:50:56] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 19:50:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274118432172015616,"km_value":274118432172015.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9181854502433806336,"description":"Unknown IO ID 45"} 
[2026-04-17 19:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767469568001,"power":27571,"unknown_120":206,"unknown_85":12544,"ignition":0,"odometer":null,"unknown_45":9181854502433806336}} 
[2026-04-17 19:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":46054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22841,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:50:56] local.INFO: GPS data processed {"connection_id":46054,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:50:56] local.INFO: Acknowledgment sent {"connection_id":46054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:50:59] local.INFO: TCP Data received {"connection_id":46394,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bcf5b18012d1b7840072571300033010226..."} 
[2026-04-17 19:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46394,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bcf5b18012d1b7840072571300033010226..."} 
[2026-04-17 19:50:59] local.INFO: Processing buffer {"connection_id":46394,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bcf5b18012d1b7840072571300033010226..."} 
[2026-04-17 19:50:59] local.INFO: Packet analysis {"connection_id":46394,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bcf"} 
[2026-04-17 19:50:59] local.INFO: Extracted packet for processing {"connection_id":46394,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bcf"} 
[2026-04-17 19:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767495680001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776435551000,"timestamp_ms":1776435551000,"timestamp_seconds":1776435551,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bcf5b18"} 
[2026-04-17 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-04-17 19:50: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-04-17 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":50,"n8_eight_byte":19,"data_length":795,"current_offset":136} 
[2026-04-17 19:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":2814766962639104,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:59] local.WARNING: Large IO value detected {"io_id":24,"raw_value":4505331678117888,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2613945752,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:59] local.WARNING: Large IO value detected {"io_id":64,"raw_value":84754200265172338,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:59] local.WARNING: Large IO value detected {"io_id":113,"raw_value":5981044192238174464,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:59] local.WARNING: Large IO value detected {"io_id":155,"raw_value":-3631625328841227008,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1778920967570194408,"corrected_to":0} 
[2026-04-17 19:50:59] local.WARNING: Large IO value detected {"io_id":169,"raw_value":2147560731,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:59] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182195349881088,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:59] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121886587244060,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:59] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2698131166640237863,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:59] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755438095892721,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:59] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993195033856,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:59] local.WARNING: Large IO value detected {"io_id":40,"raw_value":13511173198583040,"note":"Value kept but may cause issues"} 
[2026-04-17 19:50:59] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,80,28,24,241,158,16,70,157,183,45,64,113,51,38,10,66,101,18,1,240,85,155,37,4,205,11,169,132,239,50,2,147,7,9,124,74,69,40],"length":625,"final_offset":755,"validated_count":39,"validation_warnings":[{"io_id":205,"original":-1778920967570194408,"validated":0}]} 
[2026-04-17 19:50:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675221133143048192,"timestamp_seconds":3675221133143048.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 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-04-17 19:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46394,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46394,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767495680001,"66":12809,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767495680001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:50:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:50:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767495680001,"power":12809,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":46394,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22842,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:50:59] local.INFO: GPS data processed {"connection_id":46394,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:50:59] local.INFO: Acknowledgment sent {"connection_id":46394,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:51:21] local.INFO: TCP Data received {"connection_id":46156,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:51:21] local.INFO: Processing buffer {"connection_id":46156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:51:21] local.INFO: IMEI packet received {"connection_id":46156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":46156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:51:26] local.INFO: TCP Data received {"connection_id":46156,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46156,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:51:26] local.INFO: Processing buffer {"connection_id":46156,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:51:26] local.INFO: IMEI packet received {"connection_id":46156,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":46156,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:51:27] local.INFO: TCP Data received {"connection_id":46054,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bce1eb0012d7f6f8005bcf1c00008000a33..."} 
[2026-04-17 19:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46054,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bce1eb0012d7f6f8005bcf1c00008000a33..."} 
[2026-04-17 19:51:27] local.INFO: Processing buffer {"connection_id":46054,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bce1eb0012d7f6f8005bcf1c00008000a33..."} 
[2026-04-17 19:51:27] local.INFO: Packet analysis {"connection_id":46054,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bce"} 
[2026-04-17 19:51:27] local.INFO: Extracted packet for processing {"connection_id":46054,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bce"} 
[2026-04-17 19:51:27] local.INFO: GPS Element Parsed {"raw_longitude":763326336,"raw_latitude":96268736,"longitude_deg":76.3326336,"latitude_deg":9.6268736,"altitude":8,"angle":10,"satellites":51,"speed":9,"hex_longitude":"2d7f6f80","hex_latitude":"05bcf1c0","is_valid_coordinates":true} 
[2026-04-17 19:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767474944001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274118565316001792,"note":"Value kept but may cause issues"} 
[2026-04-17 19:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9182135977410787328,"note":"Value kept but may cause issues"} 
[2026-04-17 19:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,120,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776435470000,"timestamp_ms":1776435470000,"timestamp_seconds":1776435470,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bce1eb0"} 
[2026-04-17 19:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:51:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-17 19:51:27] 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-04-17 19:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46054,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46054,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767474944001,"66":27343,"120":206,"85":12544,"24":9,"16":274118565316001792,"45":9182135977410787328},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,120,85,24,16,45]} 
[2026-04-17 19:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767474944001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:51:27] local.INFO: Unknown IO ID detected {"io_id":120,"value":206,"description":"Unknown IO ID 120"} 
[2026-04-17 19:51:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274118565316001792,"km_value":274118565316001.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9182135977410787328,"description":"Unknown IO ID 45"} 
[2026-04-17 19:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767474944001,"power":27343,"unknown_120":206,"unknown_85":12544,"ignition":9,"odometer":null,"unknown_45":9182135977410787328}} 
[2026-04-17 19:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":46054,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22843,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:51:27] local.INFO: GPS data processed {"connection_id":46054,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:51:27] local.INFO: Acknowledgment sent {"connection_id":46054,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:51:28] local.INFO: TCP Data received {"connection_id":46156,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bcfad20012d1b7840072571300033010228..."} 
[2026-04-17 19:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bcfad20012d1b7840072571300033010228..."} 
[2026-04-17 19:51:28] local.INFO: Processing buffer {"connection_id":46156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bcfad20012d1b7840072571300033010228..."} 
[2026-04-17 19:51:28] local.INFO: Packet analysis {"connection_id":46156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bcf"} 
[2026-04-17 19:51:28] local.INFO: Extracted packet for processing {"connection_id":46156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bcf"} 
[2026-04-17 19:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767501056001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:51:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776435572000,"timestamp_ms":1776435572000,"timestamp_seconds":1776435572,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bcfad20"} 
[2026-04-17 19:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:51: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-04-17 19: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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-17 19:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":648518346509124608,"note":"Value kept but may cause issues"} 
[2026-04-17 19:51:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2613946752,"note":"Value kept but may cause issues"} 
[2026-04-17 19:51:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 19:51:28] local.WARNING: Large IO value detected {"io_id":155,"raw_value":-3628326793957899008,"note":"Value kept but may cause issues"} 
[2026-04-17 19:51:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880779982,"corrected_to":0} 
[2026-04-17 19:51:28] local.WARNING: Large IO value detected {"io_id":192,"raw_value":4026608923,"note":"Value kept but may cause issues"} 
[2026-04-17 19:51:28] local.WARNING: Large IO value detected {"io_id":50,"raw_value":-9223145643491406308,"note":"Value kept but may cause issues"} 
[2026-04-17 19:51:28] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2697928856517542695,"note":"Value kept but may cause issues"} 
[2026-04-17 19:51:28] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-04-17 19:51:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,80,28,24,241,158,16,70,157,9,45,64,113,51,38,10,66,183,101,1,240,85,155,37,4,205,192,123,239,50,2,147,7,12,124,78],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3880779982,"validated":0}]} 
[2026-04-17 19:51:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675221133143048192,"timestamp_seconds":3675221133143048.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 19:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767501056001,"66":12776,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767501056001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:51:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:51:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767501056001,"power":12776,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":46156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22844,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:51:28] local.INFO: GPS data processed {"connection_id":46156,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:51:28] local.INFO: Acknowledgment sent {"connection_id":46156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:51:55] local.INFO: TCP Data received {"connection_id":46055,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:51:55] local.INFO: Processing buffer {"connection_id":46055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:51:55] local.INFO: IMEI packet received {"connection_id":46055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":46055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:51:55] local.INFO: TCP Data received {"connection_id":46055,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:51:55] local.INFO: Processing buffer {"connection_id":46055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:51:55] local.INFO: IMEI packet received {"connection_id":46055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":46055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:51:59] local.INFO: TCP Data received {"connection_id":46156,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bcfff28012d1b7840072571300033010225..."} 
[2026-04-17 19:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bcfff28012d1b7840072571300033010225..."} 
[2026-04-17 19:51:59] local.INFO: Processing buffer {"connection_id":46156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bcfff28012d1b7840072571300033010225..."} 
[2026-04-17 19:51:59] local.INFO: Packet analysis {"connection_id":46156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bcf"} 
[2026-04-17 19:51:59] local.INFO: Extracted packet for processing {"connection_id":46156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bcf"} 
[2026-04-17 19:51:59] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 19:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767506432001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:51:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776435593000,"timestamp_ms":1776435593000,"timestamp_seconds":1776435593,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bcfff28"} 
[2026-04-17 19:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:51:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-17 19:51:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2531,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46156,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767506432001,"66":12798,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767506432001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:51:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:51:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767506432001,"power":12798,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":46156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22845,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:51:59] local.INFO: GPS data processed {"connection_id":46156,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:51:59] local.INFO: Acknowledgment sent {"connection_id":46156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:52:00] local.INFO: TCP Data received {"connection_id":46055,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46055,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:52:00] local.INFO: Processing buffer {"connection_id":46055,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:52:00] local.INFO: IMEI packet received {"connection_id":46055,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:52:00] local.INFO: IMEI acknowledgment sent {"connection_id":46055,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:52:01] local.INFO: TCP Data received {"connection_id":46055,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bce70b8012d7f714005bcfc480007000c33..."} 
[2026-04-17 19:52:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bce70b8012d7f714005bcfc480007000c33..."} 
[2026-04-17 19:52:01] local.INFO: Processing buffer {"connection_id":46055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bce70b8012d7f714005bcfc480007000c33..."} 
[2026-04-17 19:52:01] local.INFO: Packet analysis {"connection_id":46055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bce"} 
[2026-04-17 19:52:01] local.INFO: Extracted packet for processing {"connection_id":46055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bce"} 
[2026-04-17 19:52:01] local.INFO: GPS Element Parsed {"raw_longitude":763326784,"raw_latitude":96271432,"longitude_deg":76.3326784,"latitude_deg":9.6271432,"altitude":7,"angle":12,"satellites":51,"speed":3,"hex_longitude":"2d7f7140","hex_latitude":"05bcfc48","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:52:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767480320001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:52:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274118702754955264,"note":"Value kept but may cause issues"} 
[2026-04-17 19:52:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9182698927364882432,"note":"Value kept but may cause issues"} 
[2026-04-17 19:52:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:52:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776435491000,"timestamp_ms":1776435491000,"timestamp_seconds":1776435491,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bce70b8"} 
[2026-04-17 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-04-17 19:52:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 19:52:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 19:52:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:52:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:52:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:52:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:52: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-04-17 19:52:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:52:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:52:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767480320001,"66":27300,"121":206,"85":12544,"24":3,"16":274118702754955264,"45":9182698927364882432},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:52:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:52:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:52:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767480320001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:52:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:52:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:52:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274118702754955264,"km_value":274118702754955.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:52:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9182698927364882432,"description":"Unknown IO ID 45"} 
[2026-04-17 19:52:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767480320001,"power":27300,"unknown_121":206,"unknown_85":12544,"ignition":3,"odometer":null,"unknown_45":9182698927364882432}} 
[2026-04-17 19:52:01] local.INFO: DEBUG: GPS processor result {"connection_id":46055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22846,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:52:01] local.INFO: GPS data processed {"connection_id":46055,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:52:01] local.INFO: Acknowledgment sent {"connection_id":46055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:52:05] local.INFO: TCP Data received {"connection_id":46055,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bcec2c0012d7f730005bd06480008000a33..."} 
[2026-04-17 19:52:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46055,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bcec2c0012d7f730005bd06480008000a33..."} 
[2026-04-17 19:52:05] local.INFO: Processing buffer {"connection_id":46055,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bcec2c0012d7f730005bd06480008000a33..."} 
[2026-04-17 19:52:05] local.INFO: Packet analysis {"connection_id":46055,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bce"} 
[2026-04-17 19:52:05] local.INFO: Extracted packet for processing {"connection_id":46055,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bce"} 
[2026-04-17 19:52:05] local.INFO: GPS Element Parsed {"raw_longitude":763327232,"raw_latitude":96273992,"longitude_deg":76.3327232,"latitude_deg":9.6273992,"altitude":8,"angle":10,"satellites":51,"speed":7,"hex_longitude":"2d7f7300","hex_latitude":"05bd0648","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:52:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767485696001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:52:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274118831603974144,"note":"Value kept but may cause issues"} 
[2026-04-17 19:52:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9183191508574816256,"note":"Value kept but may cause issues"} 
[2026-04-17 19:52:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:52:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776435512000,"timestamp_ms":1776435512000,"timestamp_seconds":1776435512,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bcec2c0"} 
[2026-04-17 19:52:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:52:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:52:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 19:52:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:52:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:52:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:52:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:52:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46055,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:52:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:52:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46055,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:52: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-04-17 19:52:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:52:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:52:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767485696001,"66":27397,"121":206,"85":12544,"24":7,"16":274118831603974144,"45":9183191508574816256},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,85,24,16,45]} 
[2026-04-17 19:52:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:52:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:52:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767485696001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:52:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 19:52:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:52:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274118831603974144,"km_value":274118831603974.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:52:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9183191508574816256,"description":"Unknown IO ID 45"} 
[2026-04-17 19:52:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767485696001,"power":27397,"unknown_121":206,"unknown_85":12544,"ignition":7,"odometer":null,"unknown_45":9183191508574816256}} 
[2026-04-17 19:52:05] local.INFO: DEBUG: GPS processor result {"connection_id":46055,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22847,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:52:05] local.INFO: GPS data processed {"connection_id":46055,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:52:05] local.INFO: Acknowledgment sent {"connection_id":46055,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:52:21] local.INFO: TCP Data received {"connection_id":46056,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:52:21] local.INFO: Processing buffer {"connection_id":46056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:52:21] local.INFO: IMEI packet received {"connection_id":46056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":46056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:52:28] local.INFO: TCP Data received {"connection_id":46056,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:52:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46056,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:52:28] local.INFO: Processing buffer {"connection_id":46056,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:52:28] local.INFO: IMEI packet received {"connection_id":46056,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:52:28] local.INFO: IMEI acknowledgment sent {"connection_id":46056,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:52:30] local.INFO: TCP Data received {"connection_id":46056,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd05130012d1b7840072571300033010229..."} 
[2026-04-17 19:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd05130012d1b7840072571300033010229..."} 
[2026-04-17 19:52:30] local.INFO: Processing buffer {"connection_id":46056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd05130012d1b7840072571300033010229..."} 
[2026-04-17 19:52:30] local.INFO: Packet analysis {"connection_id":46056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd0"} 
[2026-04-17 19:52:30] local.INFO: Extracted packet for processing {"connection_id":46056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd0"} 
[2026-04-17 19:52:30] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:52:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767511808001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:52:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:52:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:52:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:52:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776435614000,"timestamp_ms":1776435614000,"timestamp_seconds":1776435614,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd05130"} 
[2026-04-17 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-04-17 19: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-04-17 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-17 19:52:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 19:52:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:52:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:52:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:52:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:52:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:52:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:52:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:52:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767511808001,"66":12765,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:52:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:52:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:52:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767511808001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:52:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:52:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:52:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:52:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:52:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767511808001,"power":12765,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:52:30] local.INFO: DEBUG: GPS processor result {"connection_id":46056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22848,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:52:30] local.INFO: GPS data processed {"connection_id":46056,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:52:30] local.INFO: Acknowledgment sent {"connection_id":46056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:52:50] local.INFO: TCP Data received {"connection_id":46057,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:52:50] local.INFO: Processing buffer {"connection_id":46057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:52:50] local.INFO: IMEI packet received {"connection_id":46057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":46057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:52:50] local.INFO: TCP Data received {"connection_id":46057,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:52:50] local.INFO: Processing buffer {"connection_id":46057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:52:50] local.INFO: IMEI packet received {"connection_id":46057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":46057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:52:55] local.INFO: TCP Data received {"connection_id":46057,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46057,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:52:55] local.INFO: Processing buffer {"connection_id":46057,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:52:55] local.INFO: IMEI packet received {"connection_id":46057,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":46057,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:52:56] local.INFO: TCP Data received {"connection_id":46057,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd1a508012d7f9e0005bdf7380009000935..."} 
[2026-04-17 19:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd1a508012d7f9e0005bdf7380009000935..."} 
[2026-04-17 19:52:56] local.INFO: Processing buffer {"connection_id":46057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd1a508012d7f9e0005bdf7380009000935..."} 
[2026-04-17 19:52:56] local.INFO: Packet analysis {"connection_id":46057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd1"} 
[2026-04-17 19:52:56] local.INFO: Extracted packet for processing {"connection_id":46057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd1"} 
[2026-04-17 19:52:56] local.INFO: GPS Element Parsed {"raw_longitude":763338240,"raw_latitude":96335672,"longitude_deg":76.333824,"latitude_deg":9.6335672,"altitude":9,"angle":9,"satellites":53,"speed":54,"hex_longitude":"2d7f9e00","hex_latitude":"05bdf738","is_valid_coordinates":true} 
[2026-04-17 19:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767537664001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274121893915656192,"note":"Value kept but may cause issues"} 
[2026-04-17 19:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9194169032680667136,"note":"Value kept but may cause issues"} 
[2026-04-17 19:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776435701000,"timestamp_ms":1776435701000,"timestamp_seconds":1776435701,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd1a508"} 
[2026-04-17 19:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 19:52:56] 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-04-17 19:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:52:56] 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-04-17 19:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767537664001,"66":27376,"119":206,"85":12544,"24":54,"16":274121893915656192,"45":9194169032680667136},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-17 19:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767537664001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:52:56] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-17 19:52:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274121893915656192,"km_value":274121893915656.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9194169032680667136,"description":"Unknown IO ID 45"} 
[2026-04-17 19:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767537664001,"power":27376,"unknown_119":206,"unknown_85":12544,"ignition":54,"odometer":null,"unknown_45":9194169032680667136}} 
[2026-04-17 19:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":46057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22849,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:52:56] local.INFO: GPS data processed {"connection_id":46057,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:52:56] local.INFO: Acknowledgment sent {"connection_id":46057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:53:00] local.INFO: TCP Data received {"connection_id":46057,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd1c060012d7fa48005be1d400009000a35..."} 
[2026-04-17 19:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd1c060012d7fa48005be1d400009000a35..."} 
[2026-04-17 19:53:00] local.INFO: Processing buffer {"connection_id":46057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd1c060012d7fa48005be1d400009000a35..."} 
[2026-04-17 19:53:00] local.INFO: Packet analysis {"connection_id":46057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd1"} 
[2026-04-17 19:53:00] local.INFO: Extracted packet for processing {"connection_id":46057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd1"} 
[2026-04-17 19:53:00] local.INFO: GPS Element Parsed {"raw_longitude":763339904,"raw_latitude":96345408,"longitude_deg":76.3339904,"latitude_deg":9.6345408,"altitude":9,"angle":10,"satellites":53,"speed":57,"hex_longitude":"2d7fa480","hex_latitude":"05be1d40","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767539456001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274122370657026048,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9195787513799063552,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,119,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776435708000,"timestamp_ms":1776435708000,"timestamp_seconds":1776435708,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd1c060"} 
[2026-04-17 19:53:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:53:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 19:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:53:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:53: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-04-17 19:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767539456001,"66":27234,"119":206,"85":12544,"24":57,"16":274122370657026048,"45":9195787513799063552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,119,85,24,16,45]} 
[2026-04-17 19:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767539456001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:53:00] local.INFO: Unknown IO ID detected {"io_id":119,"value":206,"description":"Unknown IO ID 119"} 
[2026-04-17 19:53:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12544,"description":"Unknown IO ID 85"} 
[2026-04-17 19:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274122370657026048,"km_value":274122370657026.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9195787513799063552,"description":"Unknown IO ID 45"} 
[2026-04-17 19:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767539456001,"power":27234,"unknown_119":206,"unknown_85":12544,"ignition":57,"odometer":null,"unknown_45":9195787513799063552}} 
[2026-04-17 19:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":46057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22850,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:53:00] local.INFO: GPS data processed {"connection_id":46057,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:53:00] local.INFO: Acknowledgment sent {"connection_id":46057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:53:01] local.INFO: TCP Data received {"connection_id":46056,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd0a338012d1b7840072571300033010228..."} 
[2026-04-17 19:53:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46056,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd0a338012d1b7840072571300033010228..."} 
[2026-04-17 19:53:01] local.INFO: Processing buffer {"connection_id":46056,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd0a338012d1b7840072571300033010228..."} 
[2026-04-17 19:53:01] local.INFO: Packet analysis {"connection_id":46056,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd0"} 
[2026-04-17 19:53:01] local.INFO: Extracted packet for processing {"connection_id":46056,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd0"} 
[2026-04-17 19:53:01] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:53:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767517184001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:53:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776435635000,"timestamp_ms":1776435635000,"timestamp_seconds":1776435635,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd0a338"} 
[2026-04-17 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-04-17 19: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-04-17 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":49,"n8_eight_byte":221,"data_length":795,"current_offset":136} 
[2026-04-17 19:53:01] 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-04-17 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-04-17 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-04-17 19:53:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:53:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46056,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:53:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:53:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46056,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:53:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:53:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:53:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:53:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767517184001,"66":11950,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:53:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:53:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:53:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767517184001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:53:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:53:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:53:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:53:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:53:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767517184001,"power":11950,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:53:01] local.INFO: DEBUG: GPS processor result {"connection_id":46056,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22851,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:53:01] local.INFO: GPS data processed {"connection_id":46056,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:53:01] local.INFO: Acknowledgment sent {"connection_id":46056,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:53:21] local.INFO: TCP Data received {"connection_id":46158,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:53:21] local.INFO: Processing buffer {"connection_id":46158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:53:21] local.INFO: IMEI packet received {"connection_id":46158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":46158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:53:26] local.INFO: TCP Data received {"connection_id":46158,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46158,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:53:26] local.INFO: Processing buffer {"connection_id":46158,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:53:26] local.INFO: IMEI packet received {"connection_id":46158,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":46158,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:53:28] local.INFO: TCP Data received {"connection_id":46158,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd0f540012d1b7840072571300033010227..."} 
[2026-04-17 19:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd0f540012d1b7840072571300033010227..."} 
[2026-04-17 19:53:28] local.INFO: Processing buffer {"connection_id":46158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd0f540012d1b7840072571300033010227..."} 
[2026-04-17 19:53:28] local.INFO: Packet analysis {"connection_id":46158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd0"} 
[2026-04-17 19:53:28] local.INFO: Extracted packet for processing {"connection_id":46158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd0"} 
[2026-04-17 19:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 19:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767522560001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776435656000,"timestamp_ms":1776435656000,"timestamp_seconds":1776435656,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd0f540"} 
[2026-04-17 19:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:53: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-04-17 19:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 19:53:28] 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-04-17 19:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767522560001,"66":12722,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767522560001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:53:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:53:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767522560001,"power":12722,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":46158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22852,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:53:28] local.INFO: GPS data processed {"connection_id":46158,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:53:28] local.INFO: Acknowledgment sent {"connection_id":46158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:53:31] local.INFO: TCP Data received {"connection_id":46057,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd1dbb8012d7fab0005be41f00008000a35..."} 
[2026-04-17 19:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd1dbb8012d7fab0005be41f00008000a35..."} 
[2026-04-17 19:53:31] local.INFO: Processing buffer {"connection_id":46057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd1dbb8012d7fab0005be41f00008000a35..."} 
[2026-04-17 19:53:31] local.INFO: Packet analysis {"connection_id":46057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd1"} 
[2026-04-17 19:53:31] local.INFO: Extracted packet for processing {"connection_id":46057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd1"} 
[2026-04-17 19:53:31] local.INFO: GPS Element Parsed {"raw_longitude":763341568,"raw_latitude":96354800,"longitude_deg":76.3341568,"latitude_deg":9.63548,"altitude":8,"angle":10,"satellites":53,"speed":49,"hex_longitude":"2d7fab00","hex_latitude":"05be41f0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767541248001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274122834513494016,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9197617101150175232,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776435715000,"timestamp_ms":1776435715000,"timestamp_seconds":1776435715,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd1dbb8"} 
[2026-04-17 19:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 19:53: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-04-17 19: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-04-17 19:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46057,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:53:31] 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-04-17 19:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767541248001,"66":26289,"52":206,"85":12288,"24":49,"16":274122834513494016,"45":9197617101150175232},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-04-17 19:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767541248001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:53:31] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-04-17 19:53:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 19:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274122834513494016,"km_value":274122834513494.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9197617101150175232,"description":"Unknown IO ID 45"} 
[2026-04-17 19:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767541248001,"power":26289,"unknown_52":206,"unknown_85":12288,"ignition":49,"odometer":null,"unknown_45":9197617101150175232}} 
[2026-04-17 19:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":46057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22853,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:53:31] local.INFO: GPS data processed {"connection_id":46057,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:53:31] local.INFO: Acknowledgment sent {"connection_id":46057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:53:39] local.INFO: TCP Data received {"connection_id":46395,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:53:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46395,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:53:39] local.INFO: Processing buffer {"connection_id":46395,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:53:39] local.INFO: IMEI packet received {"connection_id":46395,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:53:39] local.INFO: IMEI acknowledgment sent {"connection_id":46395,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:53:50] local.INFO: TCP Data received {"connection_id":46159,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:53:50] local.INFO: Processing buffer {"connection_id":46159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:53:50] local.INFO: IMEI packet received {"connection_id":46159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":46159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:53:51] local.INFO: TCP Data received {"connection_id":46159,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:53:51] local.INFO: Processing buffer {"connection_id":46159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:53:51] local.INFO: IMEI packet received {"connection_id":46159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":46159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:53:55] local.INFO: TCP Data received {"connection_id":46159,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46159,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:53:55] local.INFO: Processing buffer {"connection_id":46159,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:53:55] local.INFO: IMEI packet received {"connection_id":46159,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":46159,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:53:56] local.INFO: TCP Data received {"connection_id":46159,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd1faf8012d7fb24005be67880007000a33..."} 
[2026-04-17 19:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd1faf8012d7fb24005be67880007000a33..."} 
[2026-04-17 19:53:56] local.INFO: Processing buffer {"connection_id":46159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd1faf8012d7fb24005be67880007000a33..."} 
[2026-04-17 19:53:56] local.INFO: Packet analysis {"connection_id":46159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd1"} 
[2026-04-17 19:53:56] local.INFO: Extracted packet for processing {"connection_id":46159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd1"} 
[2026-04-17 19:53:56] local.INFO: GPS Element Parsed {"raw_longitude":763343424,"raw_latitude":96364424,"longitude_deg":76.3343424,"latitude_deg":9.6364424,"altitude":7,"angle":10,"satellites":51,"speed":46,"hex_longitude":"2d7fb240","hex_latitude":"05be6788","is_valid_coordinates":true} 
[2026-04-17 19:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767543040001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274123306959896576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9199446688501198848,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776435723000,"timestamp_ms":1776435723000,"timestamp_seconds":1776435723,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd1faf8"} 
[2026-04-17 19:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":102,"n8_eight_byte":177,"data_length":795,"current_offset":136} 
[2026-04-17 19:53:56] 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-04-17 19:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:53:56] 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-04-17 19:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767543040001,"66":27300,"52":206,"85":12288,"24":46,"16":274123306959896576,"45":9199446688501198848},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-04-17 19:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767543040001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:53:56] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-04-17 19:53:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 19:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274123306959896576,"km_value":274123306959896.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9199446688501198848,"description":"Unknown IO ID 45"} 
[2026-04-17 19:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767543040001,"power":27300,"unknown_52":206,"unknown_85":12288,"ignition":46,"odometer":null,"unknown_45":9199446688501198848}} 
[2026-04-17 19:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":46159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22854,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:53:56] local.INFO: GPS data processed {"connection_id":46159,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:53:56] local.INFO: Acknowledgment sent {"connection_id":46159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:53:58] local.INFO: TCP Data received {"connection_id":46159,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd21e20012d7fb8c005be8b200007000832..."} 
[2026-04-17 19:53:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd21e20012d7fb8c005be8b200007000832..."} 
[2026-04-17 19:53:58] local.INFO: Processing buffer {"connection_id":46159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd21e20012d7fb8c005be8b200007000832..."} 
[2026-04-17 19:53:58] local.INFO: Packet analysis {"connection_id":46159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd2"} 
[2026-04-17 19:53:58] local.INFO: Extracted packet for processing {"connection_id":46159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd2"} 
[2026-04-17 19:53:58] local.INFO: GPS Element Parsed {"raw_longitude":763345088,"raw_latitude":96373536,"longitude_deg":76.3345088,"latitude_deg":9.6373536,"altitude":7,"angle":8,"satellites":50,"speed":38,"hex_longitude":"2d7fb8c0","hex_latitude":"05be8b20","is_valid_coordinates":true} 
[2026-04-17 19:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:53:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767545088001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274123757931462656,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9201487382084814848,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:53:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776435732000,"timestamp_ms":1776435732000,"timestamp_seconds":1776435732,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd21e20"} 
[2026-04-17 19:53:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:53: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-04-17 19:53:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 19:53:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:53:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:53:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:53:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:53:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:53:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:53:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:53:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:53:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:53:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:53:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767545088001,"66":27300,"52":206,"85":12288,"24":38,"16":274123757931462656,"45":9201487382084814848},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-04-17 19:53:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:53:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:53:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767545088001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:53:58] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-04-17 19:53:58] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 19:53:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274123757931462656,"km_value":274123757931462.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:53:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":9201487382084814848,"description":"Unknown IO ID 45"} 
[2026-04-17 19:53:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767545088001,"power":27300,"unknown_52":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":9201487382084814848}} 
[2026-04-17 19:53:58] local.INFO: DEBUG: GPS processor result {"connection_id":46159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22855,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:53:58] local.INFO: GPS data processed {"connection_id":46159,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:53:58] local.INFO: Acknowledgment sent {"connection_id":46159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:53:59] local.INFO: TCP Data received {"connection_id":46158,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd14748012d1b7840072571300033010228..."} 
[2026-04-17 19:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd14748012d1b7840072571300033010228..."} 
[2026-04-17 19:53:59] local.INFO: Processing buffer {"connection_id":46158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd14748012d1b7840072571300033010228..."} 
[2026-04-17 19:53:59] local.INFO: Packet analysis {"connection_id":46158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd1"} 
[2026-04-17 19:53:59] local.INFO: Extracted packet for processing {"connection_id":46158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd1"} 
[2026-04-17 19:53:59] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 19:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767527936001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:53:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776435677000,"timestamp_ms":1776435677000,"timestamp_seconds":1776435677,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd14748"} 
[2026-04-17 19:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:53: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-04-17 19:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 19:53:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46158,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767527936001,"66":12689,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767527936001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:53:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:53:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767527936001,"power":12689,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":46158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22856,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:53:59] local.INFO: GPS data processed {"connection_id":46158,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:53:59] local.INFO: Acknowledgment sent {"connection_id":46158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:54:09] local.INFO: TCP Data received {"connection_id":46160,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:54:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46160,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:54:09] local.INFO: Processing buffer {"connection_id":46160,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:54:09] local.INFO: IMEI packet received {"connection_id":46160,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:54:09] local.INFO: IMEI acknowledgment sent {"connection_id":46160,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:54:21] local.INFO: TCP Data received {"connection_id":46161,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:54:21] local.INFO: Processing buffer {"connection_id":46161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:54:21] local.INFO: IMEI packet received {"connection_id":46161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":46161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:54:22] local.INFO: TCP Data received {"connection_id":46161,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:54:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:54:22] local.INFO: Processing buffer {"connection_id":46161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:54:22] local.INFO: IMEI packet received {"connection_id":46161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:54:22] local.INFO: IMEI acknowledgment sent {"connection_id":46161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:54:26] local.INFO: TCP Data received {"connection_id":46161,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:54:26] local.INFO: Processing buffer {"connection_id":46161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:54:26] local.INFO: IMEI packet received {"connection_id":46161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":46161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:54:27] local.INFO: TCP Data received {"connection_id":46161,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd19950012d1b7840072571300033010226..."} 
[2026-04-17 19:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd19950012d1b7840072571300033010226..."} 
[2026-04-17 19:54:27] local.INFO: Processing buffer {"connection_id":46161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd19950012d1b7840072571300033010226..."} 
[2026-04-17 19:54:27] local.INFO: Packet analysis {"connection_id":46161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd1"} 
[2026-04-17 19:54:27] local.INFO: Extracted packet for processing {"connection_id":46161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd1"} 
[2026-04-17 19:54:27] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 19:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767533312001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776435698000,"timestamp_ms":1776435698000,"timestamp_seconds":1776435698,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd19950"} 
[2026-04-17 19:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:54: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-04-17 19:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-17 19:54: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-04-17 19:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767533312001,"66":12689,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767533312001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:54:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:54:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767533312001,"power":12689,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":46161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22857,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:54:27] local.INFO: GPS data processed {"connection_id":46161,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:54:27] local.INFO: Acknowledgment sent {"connection_id":46161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:54:30] local.INFO: TCP Data received {"connection_id":46159,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd24d00012d7fbf8005beaf880007000834..."} 
[2026-04-17 19:54:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd24d00012d7fbf8005beaf880007000834..."} 
[2026-04-17 19:54:30] local.INFO: Processing buffer {"connection_id":46159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd24d00012d7fbf8005beaf880007000834..."} 
[2026-04-17 19:54:30] local.INFO: Packet analysis {"connection_id":46159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd2"} 
[2026-04-17 19:54:30] local.INFO: Extracted packet for processing {"connection_id":46159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd2"} 
[2026-04-17 19:54:30] local.INFO: GPS Element Parsed {"raw_longitude":763346816,"raw_latitude":96382856,"longitude_deg":76.3346816,"latitude_deg":9.6382856,"altitude":7,"angle":8,"satellites":52,"speed":35,"hex_longitude":"2d7fbf80","hex_latitude":"05beaf88","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:54:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767547392001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:54:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274124217492963328,"note":"Value kept but may cause issues"} 
[2026-04-17 19:54:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9203316969435766784,"note":"Value kept but may cause issues"} 
[2026-04-17 19:54:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,52,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:54:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776435744000,"timestamp_ms":1776435744000,"timestamp_seconds":1776435744,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd24d00"} 
[2026-04-17 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-04-17 19:54: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-04-17 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 19:54:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 19:54:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:54:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:54:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:54:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46159,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19: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-04-17 19:54:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:54:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:54:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767547392001,"66":27321,"52":206,"85":12288,"24":35,"16":274124217492963328,"45":9203316969435766784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,52,85,24,16,45]} 
[2026-04-17 19:54:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:54:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:54:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767547392001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:54:30] local.INFO: Unknown IO ID detected {"io_id":52,"value":206,"description":"Unknown IO ID 52"} 
[2026-04-17 19:54:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 19:54:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274124217492963328,"km_value":274124217492963.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:54:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9203316969435766784,"description":"Unknown IO ID 45"} 
[2026-04-17 19:54:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767547392001,"power":27321,"unknown_52":206,"unknown_85":12288,"ignition":35,"odometer":null,"unknown_45":9203316969435766784}} 
[2026-04-17 19:54:30] local.INFO: DEBUG: GPS processor result {"connection_id":46159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22858,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:54:30] local.INFO: GPS data processed {"connection_id":46159,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:54:30] local.INFO: Acknowledgment sent {"connection_id":46159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:54:50] local.INFO: TCP Data received {"connection_id":46910,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:54:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:54:50] local.INFO: Processing buffer {"connection_id":46910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:54:50] local.INFO: IMEI packet received {"connection_id":46910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:54:50] local.INFO: IMEI acknowledgment sent {"connection_id":46910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:54:53] local.INFO: TCP Data received {"connection_id":46910,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:54:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46910,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:54:53] local.INFO: Processing buffer {"connection_id":46910,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:54:53] local.INFO: IMEI packet received {"connection_id":46910,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:54:53] local.INFO: IMEI acknowledgment sent {"connection_id":46910,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:54:54] local.INFO: TCP Data received {"connection_id":46910,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd29350012d7fc4c005bed3c80007000834..."} 
[2026-04-17 19:54:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd29350012d7fc4c005bed3c80007000834..."} 
[2026-04-17 19:54:54] local.INFO: Processing buffer {"connection_id":46910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd29350012d7fc4c005bed3c80007000834..."} 
[2026-04-17 19:54:54] local.INFO: Packet analysis {"connection_id":46910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd2"} 
[2026-04-17 19:54:54] local.INFO: Extracted packet for processing {"connection_id":46910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd2"} 
[2026-04-17 19:54:54] local.INFO: GPS Element Parsed {"raw_longitude":763348160,"raw_latitude":96392136,"longitude_deg":76.334816,"latitude_deg":9.6392136,"altitude":7,"angle":8,"satellites":52,"speed":25,"hex_longitude":"2d7fc4c0","hex_latitude":"05bed3c8","is_valid_coordinates":true} 
[2026-04-17 19:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:54:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767550464001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:54:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274124672759496704,"note":"Value kept but may cause issues"} 
[2026-04-17 19:54:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9205216925530949632,"note":"Value kept but may cause issues"} 
[2026-04-17 19:54:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,227,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:54:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776435762000,"timestamp_ms":1776435762000,"timestamp_seconds":1776435762,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd29350"} 
[2026-04-17 19:54:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:54: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-04-17 19:54:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 19:54:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:54:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:54:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:54:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:54:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:54:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:54:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:54:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:54:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:54:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:54:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767550464001,"66":27463,"227":206,"85":12288,"24":25,"16":274124672759496704,"45":9205216925530949632},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,227,85,24,16,45]} 
[2026-04-17 19:54:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:54:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:54:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767550464001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:54:54] local.INFO: Unknown IO ID detected {"io_id":227,"value":206,"description":"Unknown IO ID 227"} 
[2026-04-17 19:54:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 19:54:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274124672759496704,"km_value":274124672759496.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:54:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9205216925530949632,"description":"Unknown IO ID 45"} 
[2026-04-17 19:54:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767550464001,"power":27463,"unknown_227":206,"unknown_85":12288,"ignition":25,"odometer":null,"unknown_45":9205216925530949632}} 
[2026-04-17 19:54:54] local.INFO: DEBUG: GPS processor result {"connection_id":46910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22859,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:54:54] local.INFO: GPS data processed {"connection_id":46910,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:54:54] local.INFO: Acknowledgment sent {"connection_id":46910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:54:58] local.INFO: TCP Data received {"connection_id":46161,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd1eb58012d1b7840072571300033010228..."} 
[2026-04-17 19:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd1eb58012d1b7840072571300033010228..."} 
[2026-04-17 19:54:58] local.INFO: Processing buffer {"connection_id":46161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd1eb58012d1b7840072571300033010228..."} 
[2026-04-17 19:54:58] local.INFO: Packet analysis {"connection_id":46161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd1"} 
[2026-04-17 19:54:58] local.INFO: Extracted packet for processing {"connection_id":46161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd1"} 
[2026-04-17 19:54:58] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 19:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767538688001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:54:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776435719000,"timestamp_ms":1776435719000,"timestamp_seconds":1776435719,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd1eb58"} 
[2026-04-17 19:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:54: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-04-17 19:54:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-17 19:54:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:54:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767538688001,"66":12689,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767538688001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:54:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:54:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767538688001,"power":12689,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":46161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22860,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:54:59] local.INFO: GPS data processed {"connection_id":46161,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:54:59] local.INFO: Acknowledgment sent {"connection_id":46161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:55:24] local.INFO: TCP Data received {"connection_id":46910,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd41dd8012d800bc005c087b00009000934..."} 
[2026-04-17 19:55:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46910,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd41dd8012d800bc005c087b00009000934..."} 
[2026-04-17 19:55:24] local.INFO: Processing buffer {"connection_id":46910,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd41dd8012d800bc005c087b00009000934..."} 
[2026-04-17 19:55:24] local.INFO: Packet analysis {"connection_id":46910,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd4"} 
[2026-04-17 19:55:24] local.INFO: Extracted packet for processing {"connection_id":46910,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd4"} 
[2026-04-17 19:55:24] local.INFO: GPS Element Parsed {"raw_longitude":763366336,"raw_latitude":96503728,"longitude_deg":76.3366336,"latitude_deg":9.6503728,"altitude":9,"angle":9,"satellites":52,"speed":44,"hex_longitude":"2d800bc0","hex_latitude":"05c087b0","is_valid_coordinates":true} 
[2026-04-17 19:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:55:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767578880001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:55:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274130153137766400,"note":"Value kept but may cause issues"} 
[2026-04-17 19:55:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9221753531035985920,"note":"Value kept but may cause issues"} 
[2026-04-17 19:55:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:55:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776435863000,"timestamp_ms":1776435863000,"timestamp_seconds":1776435863,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd41dd8"} 
[2026-04-17 19:55:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:55: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-04-17 19:55:24] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 19:55:24] 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-04-17 19:55:24] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:55:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:55:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:55:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46910,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:55:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:55:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46910,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:55:24] 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-04-17 19:55:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:55:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:55:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767578880001,"66":27300,"225":206,"85":12288,"24":44,"16":274130153137766400,"45":-9221753531035985920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-17 19:55:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:55:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:55:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767578880001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:55:24] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-17 19:55:24] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 19:55:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274130153137766400,"km_value":274130153137766.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:55:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9221753531035985920,"description":"Unknown IO ID 45"} 
[2026-04-17 19:55:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767578880001,"power":27300,"unknown_225":206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":-9221753531035985920}} 
[2026-04-17 19:55:24] local.INFO: DEBUG: GPS processor result {"connection_id":46910,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22861,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:55:24] local.INFO: GPS data processed {"connection_id":46910,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:55:24] local.INFO: Acknowledgment sent {"connection_id":46910,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:55:25] local.INFO: TCP Data received {"connection_id":46059,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:55:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:55:25] local.INFO: Processing buffer {"connection_id":46059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:55:25] local.INFO: IMEI packet received {"connection_id":46059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:55:25] local.INFO: IMEI acknowledgment sent {"connection_id":46059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:55:26] local.INFO: TCP Data received {"connection_id":46059,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:55:26] local.INFO: Processing buffer {"connection_id":46059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:55:26] local.INFO: IMEI packet received {"connection_id":46059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":46059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:55:36] local.INFO: TCP Data received {"connection_id":46059,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:55:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46059,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:55:36] local.INFO: Processing buffer {"connection_id":46059,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:55:36] local.INFO: IMEI packet received {"connection_id":46059,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:55:36] local.INFO: IMEI acknowledgment sent {"connection_id":46059,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:55:37] local.INFO: TCP Data received {"connection_id":46059,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd23d60012d1b7840072571300033010229..."} 
[2026-04-17 19:55:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd23d60012d1b7840072571300033010229..."} 
[2026-04-17 19:55:37] local.INFO: Processing buffer {"connection_id":46059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd23d60012d1b7840072571300033010229..."} 
[2026-04-17 19:55:37] local.INFO: Packet analysis {"connection_id":46059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd2"} 
[2026-04-17 19:55:37] local.INFO: Extracted packet for processing {"connection_id":46059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd2"} 
[2026-04-17 19:55:37] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:55:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767544064001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:55:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:55:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:55:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:55:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776435740000,"timestamp_ms":1776435740000,"timestamp_seconds":1776435740,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd23d60"} 
[2026-04-17 19:55:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:55: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-04-17 19: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-17 19:55:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1748,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:55:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:55:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:55:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:55:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:55:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:55:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:55:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:55:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:55:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767544064001,"66":12287,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:55:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:55:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:55:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767544064001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:55:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:55:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:55:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:55:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:55:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767544064001,"power":12287,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:55:37] local.INFO: DEBUG: GPS processor result {"connection_id":46059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22862,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:55:37] local.INFO: GPS data processed {"connection_id":46059,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:55:37] local.INFO: Acknowledgment sent {"connection_id":46059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:55:38] local.INFO: TCP Data received {"connection_id":46059,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd28f68012d1b7840072571300033010227..."} 
[2026-04-17 19:55:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46059,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd28f68012d1b7840072571300033010227..."} 
[2026-04-17 19:55:38] local.INFO: Processing buffer {"connection_id":46059,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd28f68012d1b7840072571300033010227..."} 
[2026-04-17 19:55:38] local.INFO: Packet analysis {"connection_id":46059,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd2"} 
[2026-04-17 19:55:38] local.INFO: Extracted packet for processing {"connection_id":46059,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd2"} 
[2026-04-17 19:55:38] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:55:38] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767549440001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:55:38] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:55:38] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:55:38] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:55:38] local.INFO: AVL Record Parsed {"raw_timestamp":1776435761000,"timestamp_ms":1776435761000,"timestamp_seconds":1776435761,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd28f68"} 
[2026-04-17 19:55:38] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:55: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-04-17 19: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 19:55:38] 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-04-17 19: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-04-17 19:55:38] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:55:38] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:55:38] local.INFO: Teltonika packet parsed successfully {"connection_id":46059,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:55:38] local.INFO: Passing IMEI to GPS processor {"connection_id":46059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:55:38] local.INFO: DEBUG: About to call GPS processor {"connection_id":46059,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:55:38] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:55:38] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:55:38] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:55:38] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767549440001,"66":11852,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:55:38] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:55:38] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:55:38] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767549440001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:55:38] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:55:38] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:55:38] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:55:38] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:55:38] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767549440001,"power":11852,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:55:38] local.INFO: DEBUG: GPS processor result {"connection_id":46059,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22863,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:55:38] local.INFO: GPS data processed {"connection_id":46059,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:55:38] local.INFO: Acknowledgment sent {"connection_id":46059,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:55:55] local.INFO: TCP Data received {"connection_id":46396,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:55:55] local.INFO: Processing buffer {"connection_id":46396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:55:55] local.INFO: IMEI packet received {"connection_id":46396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":46396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:55:59] local.INFO: TCP Data received {"connection_id":46396,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46396,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:55:59] local.INFO: Processing buffer {"connection_id":46396,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:55:59] local.INFO: IMEI packet received {"connection_id":46396,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:55:59] local.INFO: IMEI acknowledgment sent {"connection_id":46396,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:56:01] local.INFO: TCP Data received {"connection_id":46396,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd43d18012d80110005c0aa58000a000934..."} 
[2026-04-17 19:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd43d18012d80110005c0aa58000a000934..."} 
[2026-04-17 19:56:01] local.INFO: Processing buffer {"connection_id":46396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd43d18012d80110005c0aa58000a000934..."} 
[2026-04-17 19:56:01] local.INFO: Packet analysis {"connection_id":46396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd4"} 
[2026-04-17 19:56:01] local.INFO: Extracted packet for processing {"connection_id":46396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd4"} 
[2026-04-17 19:56:01] local.INFO: GPS Element Parsed {"raw_longitude":763367680,"raw_latitude":96512600,"longitude_deg":76.336768,"latitude_deg":9.65126,"altitude":10,"angle":9,"satellites":52,"speed":43,"hex_longitude":"2d801100","hex_latitude":"05c0aa58","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767580928001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274130586929463296,"note":"Value kept but may cause issues"} 
[2026-04-17 19:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9220064681173471232,"note":"Value kept but may cause issues"} 
[2026-04-17 19:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776435871000,"timestamp_ms":1776435871000,"timestamp_seconds":1776435871,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd43d18"} 
[2026-04-17 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-04-17 19:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 19:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 19:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:56: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-04-17 19:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767580928001,"66":27484,"225":206,"85":12288,"24":43,"16":274130586929463296,"45":-9220064681173471232},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-17 19:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767580928001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:56:01] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-17 19:56:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 19:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274130586929463296,"km_value":274130586929463.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9220064681173471232,"description":"Unknown IO ID 45"} 
[2026-04-17 19:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767580928001,"power":27484,"unknown_225":206,"unknown_85":12288,"ignition":43,"odometer":null,"unknown_45":-9220064681173471232}} 
[2026-04-17 19:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":46396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22864,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:56:01] local.INFO: GPS data processed {"connection_id":46396,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:56:01] local.INFO: Acknowledgment sent {"connection_id":46396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:56:02] local.INFO: TCP Data received {"connection_id":46396,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd46428012d8016c005c0cde00009000933..."} 
[2026-04-17 19:56:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd46428012d8016c005c0cde00009000933..."} 
[2026-04-17 19:56:02] local.INFO: Processing buffer {"connection_id":46396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd46428012d8016c005c0cde00009000933..."} 
[2026-04-17 19:56:02] local.INFO: Packet analysis {"connection_id":46396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd4"} 
[2026-04-17 19:56:02] local.INFO: Extracted packet for processing {"connection_id":46396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd4"} 
[2026-04-17 19:56:02] local.INFO: GPS Element Parsed {"raw_longitude":763369152,"raw_latitude":96521696,"longitude_deg":76.3369152,"latitude_deg":9.6521696,"altitude":9,"angle":9,"satellites":51,"speed":29,"hex_longitude":"2d8016c0","hex_latitude":"05c0cde0","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:56:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767582976001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:56:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274131033606062080,"note":"Value kept but may cause issues"} 
[2026-04-17 19:56:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9218586937543469056,"note":"Value kept but may cause issues"} 
[2026-04-17 19:56:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:56:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776435881000,"timestamp_ms":1776435881000,"timestamp_seconds":1776435881,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd46428"} 
[2026-04-17 19:56:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:56:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 19:56:02] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19: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-04-17 19:56:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:56:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:56:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:56:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:56:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:56:02] 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-04-17 19:56:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:56:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:56:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767582976001,"66":27463,"225":206,"85":12288,"24":29,"16":274131033606062080,"45":-9218586937543469056},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-17 19:56:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:56:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:56:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767582976001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:56:02] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-17 19:56:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 19:56:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274131033606062080,"km_value":274131033606062.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:56:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9218586937543469056,"description":"Unknown IO ID 45"} 
[2026-04-17 19:56:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767582976001,"power":27463,"unknown_225":206,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":-9218586937543469056}} 
[2026-04-17 19:56:02] local.INFO: DEBUG: GPS processor result {"connection_id":46396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22865,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:56:02] local.INFO: GPS data processed {"connection_id":46396,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:56:02] local.INFO: Acknowledgment sent {"connection_id":46396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:56:21] local.INFO: TCP Data received {"connection_id":46060,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:56:21] local.INFO: Processing buffer {"connection_id":46060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:56:21] local.INFO: IMEI packet received {"connection_id":46060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":46060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:56:28] local.INFO: TCP Data received {"connection_id":46060,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:56:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46060,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:56:28] local.INFO: Processing buffer {"connection_id":46060,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:56:28] local.INFO: IMEI packet received {"connection_id":46060,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:56:28] local.INFO: IMEI acknowledgment sent {"connection_id":46060,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:56:30] local.INFO: TCP Data received {"connection_id":46060,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd2e170012d1b7840072571300033010229..."} 
[2026-04-17 19:56:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd2e170012d1b7840072571300033010229..."} 
[2026-04-17 19:56:30] local.INFO: Processing buffer {"connection_id":46060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd2e170012d1b7840072571300033010229..."} 
[2026-04-17 19:56:30] local.INFO: Packet analysis {"connection_id":46060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd2"} 
[2026-04-17 19:56:30] local.INFO: Extracted packet for processing {"connection_id":46060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd2"} 
[2026-04-17 19:56:30] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:56:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767554816001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:56:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:56:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:56:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:56:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776435782000,"timestamp_ms":1776435782000,"timestamp_seconds":1776435782,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd2e170"} 
[2026-04-17 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-04-17 19: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-04-17 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":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-04-17 19:56:30] 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-04-17 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-04-17 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-04-17 19:56:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:56:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:56:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:56:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:56:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:56:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:56:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:56:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767554816001,"66":12591,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:56:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:56:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:56:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767554816001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:56:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:56:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:56:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:56:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:56:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767554816001,"power":12591,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:56:30] local.INFO: DEBUG: GPS processor result {"connection_id":46060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22866,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:56:30] local.INFO: GPS data processed {"connection_id":46060,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:56:30] local.INFO: Acknowledgment sent {"connection_id":46060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:56:33] local.INFO: TCP Data received {"connection_id":46396,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd48f20012d801c0005c0f3000009000633..."} 
[2026-04-17 19:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46396,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd48f20012d801c0005c0f3000009000633..."} 
[2026-04-17 19:56:33] local.INFO: Processing buffer {"connection_id":46396,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd48f20012d801c0005c0f3000009000633..."} 
[2026-04-17 19:56:33] local.INFO: Packet analysis {"connection_id":46396,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd4"} 
[2026-04-17 19:56:33] local.INFO: Extracted packet for processing {"connection_id":46396,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd4"} 
[2026-04-17 19:56:33] local.INFO: GPS Element Parsed {"raw_longitude":763370496,"raw_latitude":96531200,"longitude_deg":76.3370496,"latitude_deg":9.65312,"altitude":9,"angle":6,"satellites":51,"speed":38,"hex_longitude":"2d801c00","hex_latitude":"05c0f300","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767585536001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274131501757497344,"note":"Value kept but may cause issues"} 
[2026-04-17 19:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9216968456425054208,"note":"Value kept but may cause issues"} 
[2026-04-17 19:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776435892000,"timestamp_ms":1776435892000,"timestamp_seconds":1776435892,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd48f20"} 
[2026-04-17 19:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:56: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-04-17 19:56:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 19:56: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-04-17 19: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-04-17 19:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46396,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46396,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767585536001,"66":27343,"225":206,"85":12288,"24":38,"16":274131501757497344,"45":-9216968456425054208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-17 19:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767585536001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:56:33] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-17 19:56:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 19:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274131501757497344,"km_value":274131501757497.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9216968456425054208,"description":"Unknown IO ID 45"} 
[2026-04-17 19:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767585536001,"power":27343,"unknown_225":206,"unknown_85":12288,"ignition":38,"odometer":null,"unknown_45":-9216968456425054208}} 
[2026-04-17 19:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":46396,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22867,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:56:33] local.INFO: GPS data processed {"connection_id":46396,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:56:33] local.INFO: Acknowledgment sent {"connection_id":46396,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:56:50] local.INFO: TCP Data received {"connection_id":46061,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:56:50] local.INFO: Processing buffer {"connection_id":46061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:56:50] local.INFO: IMEI packet received {"connection_id":46061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":46061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:56:51] local.INFO: TCP Data received {"connection_id":46061,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:56:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:56:51] local.INFO: Processing buffer {"connection_id":46061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:56:51] local.INFO: IMEI packet received {"connection_id":46061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:56:51] local.INFO: IMEI acknowledgment sent {"connection_id":46061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:56:55] local.INFO: TCP Data received {"connection_id":46061,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:56:55] local.INFO: Processing buffer {"connection_id":46061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:56:55] local.INFO: IMEI packet received {"connection_id":46061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":46061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:56:56] local.INFO: TCP Data received {"connection_id":46061,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd4ba18012d80200005c117300007000633..."} 
[2026-04-17 19:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd4ba18012d80200005c117300007000633..."} 
[2026-04-17 19:56:56] local.INFO: Processing buffer {"connection_id":46061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd4ba18012d80200005c117300007000633..."} 
[2026-04-17 19:56:56] local.INFO: Packet analysis {"connection_id":46061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd4"} 
[2026-04-17 19:56:56] local.INFO: Extracted packet for processing {"connection_id":46061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd4"} 
[2026-04-17 19:56:56] local.INFO: GPS Element Parsed {"raw_longitude":763371520,"raw_latitude":96540464,"longitude_deg":76.337152,"latitude_deg":9.6540464,"altitude":7,"angle":6,"satellites":51,"speed":27,"hex_longitude":"2d802000","hex_latitude":"05c11730","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767588352001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274131952729063424,"note":"Value kept but may cause issues"} 
[2026-04-17 19:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9215490712794890240,"note":"Value kept but may cause issues"} 
[2026-04-17 19:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,225,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776435903000,"timestamp_ms":1776435903000,"timestamp_seconds":1776435903,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd4ba18"} 
[2026-04-17 19:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 19:56:56] 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-04-17 19: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-04-17 19:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:56:56] 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-04-17 19:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767588352001,"66":27463,"225":206,"85":12288,"24":27,"16":274131952729063424,"45":-9215490712794890240},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,225,85,24,16,45]} 
[2026-04-17 19:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767588352001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:56:56] local.INFO: Unknown IO ID detected {"io_id":225,"value":206,"description":"Unknown IO ID 225"} 
[2026-04-17 19:56:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 19:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274131952729063424,"km_value":274131952729063.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9215490712794890240,"description":"Unknown IO ID 45"} 
[2026-04-17 19:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767588352001,"power":27463,"unknown_225":206,"unknown_85":12288,"ignition":27,"odometer":null,"unknown_45":-9215490712794890240}} 
[2026-04-17 19:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":46061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22868,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:56:56] local.INFO: GPS data processed {"connection_id":46061,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:56:56] local.INFO: Acknowledgment sent {"connection_id":46061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:57:01] local.INFO: TCP Data received {"connection_id":46060,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd33378012d1b784007257130003301022a..."} 
[2026-04-17 19:57:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd33378012d1b784007257130003301022a..."} 
[2026-04-17 19:57:01] local.INFO: Processing buffer {"connection_id":46060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd33378012d1b784007257130003301022a..."} 
[2026-04-17 19:57:01] local.INFO: Packet analysis {"connection_id":46060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd3"} 
[2026-04-17 19:57:01] local.INFO: Extracted packet for processing {"connection_id":46060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd3"} 
[2026-04-17 19:57:01] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 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-04-17 19:57:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767560192001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:57:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776435803000,"timestamp_ms":1776435803000,"timestamp_seconds":1776435803,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd33378"} 
[2026-04-17 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-04-17 19:57: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-04-17 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":49,"n8_eight_byte":47,"data_length":795,"current_offset":136} 
[2026-04-17 19:57:01] 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-04-17 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-04-17 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-04-17 19:57:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:57:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:57:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:57:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46060,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:57:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:57:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:57:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:57:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767560192001,"66":12558,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:57:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:57:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:57:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767560192001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:57:02] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:57:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:57:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:57:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:57:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767560192001,"power":12558,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:57:02] local.INFO: DEBUG: GPS processor result {"connection_id":46060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22869,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:57:02] local.INFO: GPS data processed {"connection_id":46060,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:57:02] local.INFO: Acknowledgment sent {"connection_id":46060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:57:21] local.INFO: TCP Data received {"connection_id":46163,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:57:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:57:21] local.INFO: Processing buffer {"connection_id":46163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:57:21] local.INFO: IMEI packet received {"connection_id":46163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:57:21] local.INFO: IMEI acknowledgment sent {"connection_id":46163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:57:26] local.INFO: TCP Data received {"connection_id":46163,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46163,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:57:26] local.INFO: Processing buffer {"connection_id":46163,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:57:26] local.INFO: IMEI packet received {"connection_id":46163,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":46163,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:57:26] local.INFO: TCP Data received {"connection_id":46061,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd50068012d8023c005c13ac8000700052f..."} 
[2026-04-17 19:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd50068012d8023c005c13ac8000700052f..."} 
[2026-04-17 19:57:26] local.INFO: Processing buffer {"connection_id":46061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd50068012d8023c005c13ac8000700052f..."} 
[2026-04-17 19:57:26] local.INFO: Packet analysis {"connection_id":46061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd5"} 
[2026-04-17 19:57:26] local.INFO: Extracted packet for processing {"connection_id":46061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd5"} 
[2026-04-17 19:57:26] local.INFO: GPS Element Parsed {"raw_longitude":763372480,"raw_latitude":96549576,"longitude_deg":76.337248,"latitude_deg":9.6549576,"altitude":7,"angle":5,"satellites":47,"speed":16,"hex_longitude":"2d8023c0","hex_latitude":"05c13ac8","is_valid_coordinates":true} 
[2026-04-17 19:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767591168001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274132399405662208,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9214364812885676032,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776435921000,"timestamp_ms":1776435921000,"timestamp_seconds":1776435921,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd50068"} 
[2026-04-17 19:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:57: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-04-17 19:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 19:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:57:26] 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-04-17 19:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767591168001,"66":27463,"235":206,"85":12288,"24":16,"16":274132399405662208,"45":-9214364812885676032},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-17 19:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767591168001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:57:26] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 19:57:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 19:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274132399405662208,"km_value":274132399405662.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9214364812885676032,"description":"Unknown IO ID 45"} 
[2026-04-17 19:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767591168001,"power":27463,"unknown_235":206,"unknown_85":12288,"ignition":16,"odometer":null,"unknown_45":-9214364812885676032}} 
[2026-04-17 19:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":46061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22870,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:57:26] local.INFO: GPS data processed {"connection_id":46061,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:57:26] local.INFO: Acknowledgment sent {"connection_id":46061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:57:28] local.INFO: TCP Data received {"connection_id":46163,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd38580012d1b7840072571300033010229..."} 
[2026-04-17 19:57:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd38580012d1b7840072571300033010229..."} 
[2026-04-17 19:57:28] local.INFO: Processing buffer {"connection_id":46163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd38580012d1b7840072571300033010229..."} 
[2026-04-17 19:57:28] local.INFO: Packet analysis {"connection_id":46163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd3"} 
[2026-04-17 19:57:28] local.INFO: Extracted packet for processing {"connection_id":46163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd3"} 
[2026-04-17 19:57:28] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767565568001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:57:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776435824000,"timestamp_ms":1776435824000,"timestamp_seconds":1776435824,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd38580"} 
[2026-04-17 19:57:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:57: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-04-17 19: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 19:57:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428991,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2614183752,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250323772471079216,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:28] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3521861633,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880779982,"corrected_to":0} 
[2026-04-17 19:57:28] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432749031,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:28] local.WARNING: Large IO value detected {"io_id":231,"raw_value":5764834144769021952,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:28] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:28] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:28] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,80,28,24,241,158,16,70,157,225,45,64,113,51,41,10,66,143,39,61,1,240,255,155,37,4,205,153,120,48,38,239,49,2,147,7,231,83,206],"length":575,"final_offset":705,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3880779982,"validated":0}]} 
[2026-04-17 19:57:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675221150322917376,"timestamp_seconds":3675221150322917.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 19:57:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:57:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:57:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:57:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:57:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:57:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:57:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:57:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:57:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767565568001,"66":12428,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:57:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:57:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:57:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767565568001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:57:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:57:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:57:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:57:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:57:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767565568001,"power":12428,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:57:28] local.INFO: DEBUG: GPS processor result {"connection_id":46163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22871,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:57:28] local.INFO: GPS data processed {"connection_id":46163,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:57:28] local.INFO: Acknowledgment sent {"connection_id":46163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:57:50] local.INFO: TCP Data received {"connection_id":46062,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:57:50] local.INFO: Processing buffer {"connection_id":46062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:57:50] local.INFO: IMEI packet received {"connection_id":46062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":46062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:57:50] local.INFO: TCP Data received {"connection_id":46062,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:57:50] local.INFO: Processing buffer {"connection_id":46062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:57:50] local.INFO: IMEI packet received {"connection_id":46062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":46062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:57:55] local.INFO: TCP Data received {"connection_id":46062,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:57:55] local.INFO: Processing buffer {"connection_id":46062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:57:55] local.INFO: IMEI packet received {"connection_id":46062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":46062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:57:56] local.INFO: TCP Data received {"connection_id":46062,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd68320012d805d4005c2a7780009000633..."} 
[2026-04-17 19:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd68320012d805d4005c2a7780009000633..."} 
[2026-04-17 19:57:56] local.INFO: Processing buffer {"connection_id":46062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd68320012d805d4005c2a7780009000633..."} 
[2026-04-17 19:57:56] local.INFO: Packet analysis {"connection_id":46062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd6"} 
[2026-04-17 19:57:56] local.INFO: Extracted packet for processing {"connection_id":46062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd6"} 
[2026-04-17 19:57:56] local.INFO: GPS Element Parsed {"raw_longitude":763387200,"raw_latitude":96642936,"longitude_deg":76.33872,"latitude_deg":9.6642936,"altitude":9,"angle":6,"satellites":51,"speed":59,"hex_longitude":"2d805d40","hex_latitude":"05c2a778","is_valid_coordinates":true} 
[2026-04-17 19:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:57:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767619584001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274136982135767040,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9198391107933425664,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:57:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776436020000,"timestamp_ms":1776436020000,"timestamp_seconds":1776436020,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd68320"} 
[2026-04-17 19:57:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:57:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:57:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 19:57:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:57:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:57:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:57:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:57:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:57:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:57:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:57:56] 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-04-17 19:57:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:57:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:57:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767619584001,"66":27397,"234":206,"85":12288,"24":59,"16":274136982135767040,"45":-9198391107933425664},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-04-17 19:57:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:57:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:57:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767619584001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:57:56] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-17 19:57:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 19:57:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274136982135767040,"km_value":274136982135767.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:57:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9198391107933425664,"description":"Unknown IO ID 45"} 
[2026-04-17 19:57:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767619584001,"power":27397,"unknown_234":206,"unknown_85":12288,"ignition":59,"odometer":null,"unknown_45":-9198391107933425664}} 
[2026-04-17 19:57:56] local.INFO: DEBUG: GPS processor result {"connection_id":46062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22872,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:57:56] local.INFO: GPS data processed {"connection_id":46062,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:57:56] local.INFO: Acknowledgment sent {"connection_id":46062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:57:59] local.INFO: TCP Data received {"connection_id":46163,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd3d788012d1b7840072571300033010227..."} 
[2026-04-17 19:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd3d788012d1b7840072571300033010227..."} 
[2026-04-17 19:57:59] local.INFO: Processing buffer {"connection_id":46163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd3d788012d1b7840072571300033010227..."} 
[2026-04-17 19:57:59] local.INFO: Packet analysis {"connection_id":46163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd3"} 
[2026-04-17 19:57:59] local.INFO: Extracted packet for processing {"connection_id":46163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd3"} 
[2026-04-17 19:57:59] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767570944001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:57:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776435845000,"timestamp_ms":1776435845000,"timestamp_seconds":1776435845,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd3d788"} 
[2026-04-17 19:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:57: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-04-17 19: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":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 19:57: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-04-17 19: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-04-17 19:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46163,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767570944001,"66":12602,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767570944001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:57:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767570944001,"power":12602,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":46163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22873,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:57:59] local.INFO: GPS data processed {"connection_id":46163,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:57:59] local.INFO: Acknowledgment sent {"connection_id":46163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:58:21] local.INFO: TCP Data received {"connection_id":46399,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:58:21] local.INFO: Processing buffer {"connection_id":46399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:58:21] local.INFO: IMEI packet received {"connection_id":46399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":46399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:58:26] local.INFO: TCP Data received {"connection_id":46399,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46399,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:58:26] local.INFO: Processing buffer {"connection_id":46399,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:58:26] local.INFO: IMEI packet received {"connection_id":46399,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":46399,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:58:27] local.INFO: TCP Data received {"connection_id":46399,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd42990012d1b7840072571300033010225..."} 
[2026-04-17 19:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd42990012d1b7840072571300033010225..."} 
[2026-04-17 19:58:27] local.INFO: Processing buffer {"connection_id":46399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd42990012d1b7840072571300033010225..."} 
[2026-04-17 19:58:27] local.INFO: Packet analysis {"connection_id":46399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd4"} 
[2026-04-17 19:58:27] local.INFO: Extracted packet for processing {"connection_id":46399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd4"} 
[2026-04-17 19:58:27] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 19:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767576320001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776435866000,"timestamp_ms":1776435866000,"timestamp_seconds":1776435866,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd42990"} 
[2026-04-17 19:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:58: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-04-17 19:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":58,"data_length":795,"current_offset":136} 
[2026-04-17 19:58:27] 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-04-17 19:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767576320001,"66":12558,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767576320001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:58:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:58:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767576320001,"power":12558,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":46399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22874,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:58:27] local.INFO: GPS data processed {"connection_id":46399,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:58:27] local.INFO: Acknowledgment sent {"connection_id":46399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:58:27] local.INFO: TCP Data received {"connection_id":46062,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd69a90012d80618005c2ca700009000834..."} 
[2026-04-17 19:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd69a90012d80618005c2ca700009000834..."} 
[2026-04-17 19:58:27] local.INFO: Processing buffer {"connection_id":46062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd69a90012d80618005c2ca700009000834..."} 
[2026-04-17 19:58:27] local.INFO: Packet analysis {"connection_id":46062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd6"} 
[2026-04-17 19:58:27] local.INFO: Extracted packet for processing {"connection_id":46062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd6"} 
[2026-04-17 19:58:27] local.INFO: GPS Element Parsed {"raw_longitude":763388288,"raw_latitude":96651888,"longitude_deg":76.3388288,"latitude_deg":9.6651888,"altitude":9,"angle":8,"satellites":52,"speed":59,"hex_longitude":"2d806180","hex_latitude":"05c2ca70","is_valid_coordinates":true} 
[2026-04-17 19:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767621120001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274137420222431232,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9197124470535915520,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776436026000,"timestamp_ms":1776436026000,"timestamp_seconds":1776436026,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd69a90"} 
[2026-04-17 19:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 19:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767621120001,"66":27463,"234":206,"85":12288,"24":59,"16":274137420222431232,"45":-9197124470535915520},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-04-17 19:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767621120001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:58:27] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-17 19:58:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 19:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274137420222431232,"km_value":274137420222431.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9197124470535915520,"description":"Unknown IO ID 45"} 
[2026-04-17 19:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767621120001,"power":27463,"unknown_234":206,"unknown_85":12288,"ignition":59,"odometer":null,"unknown_45":-9197124470535915520}} 
[2026-04-17 19:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":46062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22875,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:58:27] local.INFO: GPS data processed {"connection_id":46062,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:58:27] local.INFO: Acknowledgment sent {"connection_id":46062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:58:50] local.INFO: TCP Data received {"connection_id":46911,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:58:50] local.INFO: Processing buffer {"connection_id":46911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:58:50] local.INFO: IMEI packet received {"connection_id":46911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":46911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:58:55] local.INFO: TCP Data received {"connection_id":46911,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46911,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:58:55] local.INFO: Processing buffer {"connection_id":46911,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:58:55] local.INFO: IMEI packet received {"connection_id":46911,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 19:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":46911,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:58:56] local.INFO: TCP Data received {"connection_id":46911,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd6b200012d8066c005c2ed380009000734..."} 
[2026-04-17 19:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd6b200012d8066c005c2ed380009000734..."} 
[2026-04-17 19:58:56] local.INFO: Processing buffer {"connection_id":46911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd6b200012d8066c005c2ed380009000734..."} 
[2026-04-17 19:58:56] local.INFO: Packet analysis {"connection_id":46911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd6"} 
[2026-04-17 19:58:56] local.INFO: Extracted packet for processing {"connection_id":46911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd6"} 
[2026-04-17 19:58:56] local.INFO: GPS Element Parsed {"raw_longitude":763389632,"raw_latitude":96660792,"longitude_deg":76.3389632,"latitude_deg":9.6660792,"altitude":9,"angle":7,"satellites":52,"speed":58,"hex_longitude":"2d8066c0","hex_latitude":"05c2ed38","is_valid_coordinates":true} 
[2026-04-17 19:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767622656001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274137858309095424,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9195928201882603520,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:56] 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-04-17 19:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776436032000,"timestamp_ms":1776436032000,"timestamp_seconds":1776436032,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd6b200"} 
[2026-04-17 19:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 19:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 19:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 19:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:58:56] 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-04-17 19:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767622656001,"66":27332,"157":206,"85":12288,"24":58,"16":274137858309095424,"45":-9195928201882603520},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-04-17 19:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767622656001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:58:56] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-17 19:58:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 19:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274137858309095424,"km_value":274137858309095.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9195928201882603520,"description":"Unknown IO ID 45"} 
[2026-04-17 19:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767622656001,"power":27332,"unknown_157":206,"unknown_85":12288,"ignition":58,"odometer":null,"unknown_45":-9195928201882603520}} 
[2026-04-17 19:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":46911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22876,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:58:56] local.INFO: GPS data processed {"connection_id":46911,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:58:56] local.INFO: Acknowledgment sent {"connection_id":46911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:58:58] local.INFO: TCP Data received {"connection_id":46399,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd47b98012d1b784007257130003301022a..."} 
[2026-04-17 19:58:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46399,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd47b98012d1b784007257130003301022a..."} 
[2026-04-17 19:58:58] local.INFO: Processing buffer {"connection_id":46399,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd47b98012d1b784007257130003301022a..."} 
[2026-04-17 19:58:58] local.INFO: Packet analysis {"connection_id":46399,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd4"} 
[2026-04-17 19:58:58] local.INFO: Extracted packet for processing {"connection_id":46399,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd4"} 
[2026-04-17 19:58:58] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 19:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767581696001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:58:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776435887000,"timestamp_ms":1776435887000,"timestamp_seconds":1776435887,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd47b98"} 
[2026-04-17 19:58:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:58: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-04-17 19:58:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 19:58:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428991,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2614246752,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250323772471079216,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:58] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3537989633,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880779982,"corrected_to":0} 
[2026-04-17 19:58:58] local.WARNING: Large IO value detected {"io_id":231,"raw_value":5764834144769021952,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:58] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-04-17 19:58:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,80,28,24,241,158,16,70,157,215,45,64,113,51,39,10,66,133,41,1,240,14,155,37,4,205,143,120,48,239,46,2,147,7,231,83,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3880779982,"validated":0}]} 
[2026-04-17 19:58:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675221128848080896,"timestamp_seconds":3675221128848081.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 19:58:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:58:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:58:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46399,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:58:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:58:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46399,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:58:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:58:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:58:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:58:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767581696001,"66":12548,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:58:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:58:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:58:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767581696001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:58:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:58:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:58:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:58:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:58:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767581696001,"power":12548,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":46399,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22877,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:58:59] local.INFO: GPS data processed {"connection_id":46399,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:58:59] local.INFO: Acknowledgment sent {"connection_id":46399,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:59:21] local.INFO: TCP Data received {"connection_id":46064,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:59:21] local.INFO: Processing buffer {"connection_id":46064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:59:21] local.INFO: IMEI packet received {"connection_id":46064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 19:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":46064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:59:26] local.INFO: TCP Data received {"connection_id":46064,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46064,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:59:26] local.INFO: Processing buffer {"connection_id":46064,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 19:59:26] local.INFO: IMEI packet received {"connection_id":46064,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 19:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":46064,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 19:59:27] local.INFO: TCP Data received {"connection_id":46064,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd4cda0012d1b7840072571300033010228..."} 
[2026-04-17 19:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd4cda0012d1b7840072571300033010228..."} 
[2026-04-17 19:59:27] local.INFO: Processing buffer {"connection_id":46064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd4cda0012d1b7840072571300033010228..."} 
[2026-04-17 19:59:27] local.INFO: Packet analysis {"connection_id":46064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd4"} 
[2026-04-17 19:59:27] local.INFO: Extracted packet for processing {"connection_id":46064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd4"} 
[2026-04-17 19:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 19:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767587072001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776435908000,"timestamp_ms":1776435908000,"timestamp_seconds":1776435908,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd4cda0"} 
[2026-04-17 19:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:59: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-04-17 19:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 19:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":42949935343,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2614267752,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":1126184151417037,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:27] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3543365633,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880779982,"corrected_to":0} 
[2026-04-17 19:59:27] local.WARNING: Large IO value detected {"io_id":231,"raw_value":5764834144769021952,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:27] local.INFO: IO Element Parsed {"io_data_count":35,"io_data_keys":[0,80,28,24,241,158,16,70,157,41,45,64,113,51,37,10,66,215,39,133,1,240,140,155,4,205,225,120,48,239,49,2,147,7,231],"length":485,"final_offset":615,"validated_count":35,"validation_warnings":[{"io_id":205,"original":3880779982,"validated":0}]} 
[2026-04-17 19:59:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675221150322917376,"timestamp_seconds":3675221150322917.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 19:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767587072001,"66":12558,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767587072001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:59:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:59:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767587072001,"power":12558,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":46064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22878,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:59:27] local.INFO: GPS data processed {"connection_id":46064,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:59:27] local.INFO: Acknowledgment sent {"connection_id":46064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:59:31] local.INFO: TCP Data received {"connection_id":46911,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd6cd58012d806dc005c311980009000935..."} 
[2026-04-17 19:59:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46911,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd6cd58012d806dc005c311980009000935..."} 
[2026-04-17 19:59:31] local.INFO: Processing buffer {"connection_id":46911,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd6cd58012d806dc005c311980009000935..."} 
[2026-04-17 19:59:31] local.INFO: Packet analysis {"connection_id":46911,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd6"} 
[2026-04-17 19:59:31] local.INFO: Extracted packet for processing {"connection_id":46911,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd6"} 
[2026-04-17 19:59:31] local.INFO: GPS Element Parsed {"raw_longitude":763391424,"raw_latitude":96670104,"longitude_deg":76.3391424,"latitude_deg":9.6670104,"altitude":9,"angle":9,"satellites":53,"speed":55,"hex_longitude":"2d806dc0","hex_latitude":"05c31198","is_valid_coordinates":true} 
[2026-04-17 19: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-04-17 19:59:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767624192001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274138317870596096,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9194450458252593152,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:31] 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-04-17 19:59:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776436039000,"timestamp_ms":1776436039000,"timestamp_seconds":1776436039,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd6cd58"} 
[2026-04-17 19:59:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:59:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 19: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 19:59: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-04-17 19: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-04-17 19:59:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:59:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:59:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46911,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:59:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:59:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46911,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 19:59:31] 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-04-17 19:59:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 19:59:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 19:59:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767624192001,"66":27343,"157":206,"85":12288,"24":55,"16":274138317870596096,"45":-9194450458252593152},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-04-17 19:59:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 19:59:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 19:59:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767624192001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:59:31] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-17 19:59:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 19:59:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274138317870596096,"km_value":274138317870596.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:59:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9194450458252593152,"description":"Unknown IO ID 45"} 
[2026-04-17 19:59:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767624192001,"power":27343,"unknown_157":206,"unknown_85":12288,"ignition":55,"odometer":null,"unknown_45":-9194450458252593152}} 
[2026-04-17 19:59:31] local.INFO: DEBUG: GPS processor result {"connection_id":46911,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22879,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:59:31] local.INFO: GPS data processed {"connection_id":46911,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:59:31] local.INFO: Acknowledgment sent {"connection_id":46911,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 19:59:34] local.INFO: TCP Data received {"connection_id":46063,"ip":"42.106.6.25","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:59:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:59:34] local.INFO: Processing buffer {"connection_id":46063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 19:59:34] local.INFO: IMEI packet received {"connection_id":46063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 19:59:34] local.INFO: IMEI acknowledgment sent {"connection_id":46063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:59:55] local.INFO: TCP Data received {"connection_id":46912,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:59:55] local.INFO: Processing buffer {"connection_id":46912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 19:59:55] local.INFO: IMEI packet received {"connection_id":46912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 19:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":46912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 19:59:58] local.INFO: TCP Data received {"connection_id":46064,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd51fa8012d1b784007257130003301022a..."} 
[2026-04-17 19:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd51fa8012d1b784007257130003301022a..."} 
[2026-04-17 19:59:58] local.INFO: Processing buffer {"connection_id":46064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd51fa8012d1b784007257130003301022a..."} 
[2026-04-17 19:59:58] local.INFO: Packet analysis {"connection_id":46064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd5"} 
[2026-04-17 19:59:58] local.INFO: Extracted packet for processing {"connection_id":46064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd5"} 
[2026-04-17 19:59:58] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 19:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 19:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767592448001,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 19:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776435929000,"timestamp_ms":1776435929000,"timestamp_seconds":1776435929,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd51fa8"} 
[2026-04-17 19:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 19:59: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-04-17 19:59:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 19:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428991,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2614288752,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3250323772471079216,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:58] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3548741633,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880779982,"corrected_to":0} 
[2026-04-17 19:59:58] local.WARNING: Large IO value detected {"io_id":231,"raw_value":5764834144769021952,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:58] local.WARNING: Large IO value detected {"io_id":83,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:58] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-04-17 19:59:58] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,80,28,24,241,158,16,70,157,123,45,64,113,51,42,10,66,41,37,215,1,240,58,155,4,205,120,48,239,49,2,147,7,231,83,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3880779982,"validated":0}]} 
[2026-04-17 19:59:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3675221141732982784,"timestamp_seconds":3675221141732983.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 19:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 19:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 19:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 19:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46064,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 19:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 19:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 19:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 19:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767592448001,"66":12504,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 19:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 19:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 19:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767592448001,"description":"Unknown IO ID 0"} 
[2026-04-17 19:59:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 19:59:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 19:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 19:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 19:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767592448001,"power":12504,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 19:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":46064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22880,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 19:59:59] local.INFO: GPS data processed {"connection_id":46064,"processed":1,"errors":0,"total":1} 
[2026-04-17 19:59:59] local.INFO: Acknowledgment sent {"connection_id":46064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:00:00] local.INFO: TCP Data received {"connection_id":46912,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46912,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:00:00] local.INFO: Processing buffer {"connection_id":46912,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:00:00] local.INFO: IMEI packet received {"connection_id":46912,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":46912,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:00:00] local.INFO: TCP Data received {"connection_id":46912,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd6e8b0012d8073c005c33848000a000934..."} 
[2026-04-17 20:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd6e8b0012d8073c005c33848000a000934..."} 
[2026-04-17 20:00:00] local.INFO: Processing buffer {"connection_id":46912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd6e8b0012d8073c005c33848000a000934..."} 
[2026-04-17 20:00:00] local.INFO: Packet analysis {"connection_id":46912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd6"} 
[2026-04-17 20:00:00] local.INFO: Extracted packet for processing {"connection_id":46912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd6"} 
[2026-04-17 20:00:00] local.INFO: GPS Element Parsed {"raw_longitude":763392960,"raw_latitude":96680008,"longitude_deg":76.339296,"latitude_deg":9.6680008,"altitude":10,"angle":9,"satellites":52,"speed":54,"hex_longitude":"2d8073c0","hex_latitude":"05c33848","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:00:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767625984001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:00:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274138803201900544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:00:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9192480133413234688,"note":"Value kept but may cause issues"} 
[2026-04-17 20:00:00] 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-04-17 20:00:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776436046000,"timestamp_ms":1776436046000,"timestamp_seconds":1776436046,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd6e8b0"} 
[2026-04-17 20:00:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:00:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 20:00:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:00:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:00:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:00:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:00:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:00:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:00: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-04-17 20:00:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:00:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:00:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767625984001,"66":27397,"157":206,"85":12288,"24":54,"16":274138803201900544,"45":-9192480133413234688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-04-17 20:00:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:00:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:00:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767625984001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:00:00] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-17 20:00:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:00:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274138803201900544,"km_value":274138803201900.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:00:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9192480133413234688,"description":"Unknown IO ID 45"} 
[2026-04-17 20:00:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767625984001,"power":27397,"unknown_157":206,"unknown_85":12288,"ignition":54,"odometer":null,"unknown_45":-9192480133413234688}} 
[2026-04-17 20:00:00] local.INFO: DEBUG: GPS processor result {"connection_id":46912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22881,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:00:00] local.INFO: GPS data processed {"connection_id":46912,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:00:00] local.INFO: Acknowledgment sent {"connection_id":46912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:00:02] local.INFO: TCP Data received {"connection_id":46912,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd70408012d8075c005c35380000a016535..."} 
[2026-04-17 20:00:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd70408012d8075c005c35380000a016535..."} 
[2026-04-17 20:00:02] local.INFO: Processing buffer {"connection_id":46912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd70408012d8075c005c35380000a016535..."} 
[2026-04-17 20:00:02] local.INFO: Packet analysis {"connection_id":46912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd7"} 
[2026-04-17 20:00:02] local.INFO: Extracted packet for processing {"connection_id":46912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd7"} 
[2026-04-17 20:00:02] local.INFO: GPS Element Parsed {"raw_longitude":763393472,"raw_latitude":96686976,"longitude_deg":76.3393472,"latitude_deg":9.6686976,"altitude":10,"angle":357,"satellites":53,"speed":20,"hex_longitude":"2d8075c0","hex_latitude":"05c35380","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:00:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767627776001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:00:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274139142504316928,"note":"Value kept but may cause issues"} 
[2026-04-17 20:00:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190791283550435328,"note":"Value kept but may cause issues"} 
[2026-04-17 20:00:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,157,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:00:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776436053000,"timestamp_ms":1776436053000,"timestamp_seconds":1776436053,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd70408"} 
[2026-04-17 20:00:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:00:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:00: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-04-17 20: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-04-17 20:00:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:00:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:00:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:00:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:00:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:00:02] 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-04-17 20:00:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:00:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:00:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767627776001,"66":27365,"157":206,"85":12288,"24":20,"16":274139142504316928,"45":-9190791283550435328},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,157,85,24,16,45]} 
[2026-04-17 20:00:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:00:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:00:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767627776001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:00:02] local.INFO: Unknown IO ID detected {"io_id":157,"value":206,"description":"Unknown IO ID 157"} 
[2026-04-17 20:00:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:00:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274139142504316928,"km_value":274139142504316.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:00:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190791283550435328,"description":"Unknown IO ID 45"} 
[2026-04-17 20:00:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767627776001,"power":27365,"unknown_157":206,"unknown_85":12288,"ignition":20,"odometer":null,"unknown_45":-9190791283550435328}} 
[2026-04-17 20:00:02] local.INFO: DEBUG: GPS processor result {"connection_id":46912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22882,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:00:02] local.INFO: GPS data processed {"connection_id":46912,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:00:02] local.INFO: Acknowledgment sent {"connection_id":46912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:00:03] local.INFO: TCP Data received {"connection_id":46913,"ip":"42.106.6.36","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:00:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46913,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:00:03] local.INFO: Processing buffer {"connection_id":46913,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:00:03] local.INFO: IMEI packet received {"connection_id":46913,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:00:03] local.INFO: IMEI acknowledgment sent {"connection_id":46913,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:00:21] local.INFO: TCP Data received {"connection_id":46065,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:00:21] local.INFO: Processing buffer {"connection_id":46065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:00:21] local.INFO: IMEI packet received {"connection_id":46065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":46065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:00:26] local.INFO: TCP Data received {"connection_id":46065,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46065,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:00:26] local.INFO: Processing buffer {"connection_id":46065,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:00:26] local.INFO: IMEI packet received {"connection_id":46065,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":46065,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:00:27] local.INFO: TCP Data received {"connection_id":46065,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd571b0012d1b7840072571300033010227..."} 
[2026-04-17 20:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd571b0012d1b7840072571300033010227..."} 
[2026-04-17 20:00:27] local.INFO: Processing buffer {"connection_id":46065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd571b0012d1b7840072571300033010227..."} 
[2026-04-17 20:00:27] local.INFO: Packet analysis {"connection_id":46065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd5"} 
[2026-04-17 20:00:27] local.INFO: Extracted packet for processing {"connection_id":46065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd5"} 
[2026-04-17 20:00:27] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":39,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767597824001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776435950000,"timestamp_ms":1776435950000,"timestamp_seconds":1776435950,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd571b0"} 
[2026-04-17 20:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:00: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-04-17 20:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 20:00: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-04-17 20:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767597824001,"66":12504,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767597824001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:00:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:00:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767597824001,"power":12504,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":46065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22883,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:00:27] local.INFO: GPS data processed {"connection_id":46065,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:00:27] local.INFO: Acknowledgment sent {"connection_id":46065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:00:33] local.INFO: TCP Data received {"connection_id":46912,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd732e8012d80758005c360080009000933..."} 
[2026-04-17 20:00:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46912,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd732e8012d80758005c360080009000933..."} 
[2026-04-17 20:00:33] local.INFO: Processing buffer {"connection_id":46912,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd732e8012d80758005c360080009000933..."} 
[2026-04-17 20:00:33] local.INFO: Packet analysis {"connection_id":46912,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd7"} 
[2026-04-17 20:00:33] local.INFO: Extracted packet for processing {"connection_id":46912,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd7"} 
[2026-04-17 20:00:33] local.INFO: GPS Element Parsed {"raw_longitude":763393408,"raw_latitude":96690184,"longitude_deg":76.3393408,"latitude_deg":9.6690184,"altitude":9,"angle":9,"satellites":51,"speed":18,"hex_longitude":"2d807580","hex_latitude":"05c36008","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:00:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767629568001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:00:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274139301418106880,"note":"Value kept but may cause issues"} 
[2026-04-17 20:00:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9190228333595230208,"note":"Value kept but may cause issues"} 
[2026-04-17 20:00:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:00:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776436065000,"timestamp_ms":1776436065000,"timestamp_seconds":1776436065,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd732e8"} 
[2026-04-17 20:00:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:00: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-04-17 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 20:00: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-04-17 20: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-04-17 20:00:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:00:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:00:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46912,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:00:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:00:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46912,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:00:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:00:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:00:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:00:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767629568001,"66":27463,"234":206,"85":12288,"24":18,"16":274139301418106880,"45":-9190228333595230208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,85,24,16,45]} 
[2026-04-17 20:00:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:00:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:00:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767629568001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:00:33] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-17 20:00:33] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:00:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274139301418106880,"km_value":274139301418106.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:00:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9190228333595230208,"description":"Unknown IO ID 45"} 
[2026-04-17 20:00:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767629568001,"power":27463,"unknown_234":206,"unknown_85":12288,"ignition":18,"odometer":null,"unknown_45":-9190228333595230208}} 
[2026-04-17 20:00:33] local.INFO: DEBUG: GPS processor result {"connection_id":46912,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22884,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:00:33] local.INFO: GPS data processed {"connection_id":46912,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:00:33] local.INFO: Acknowledgment sent {"connection_id":46912,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:00:49] local.INFO: TCP Data received {"connection_id":46164,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:00:50] local.INFO: Processing buffer {"connection_id":46164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:00:50] local.INFO: IMEI packet received {"connection_id":46164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":46164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:00:54] local.INFO: TCP Data received {"connection_id":46164,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:00:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:00:54] local.INFO: Processing buffer {"connection_id":46164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:00:54] local.INFO: IMEI packet received {"connection_id":46164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:00:54] local.INFO: IMEI acknowledgment sent {"connection_id":46164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:00:55] local.INFO: TCP Data received {"connection_id":46164,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd907a8012d804c0005c495a8000a014632..."} 
[2026-04-17 20:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd907a8012d804c0005c495a8000a014632..."} 
[2026-04-17 20:00:55] local.INFO: Processing buffer {"connection_id":46164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd907a8012d804c0005c495a8000a014632..."} 
[2026-04-17 20:00:55] local.INFO: Packet analysis {"connection_id":46164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd9"} 
[2026-04-17 20:00:55] local.INFO: Extracted packet for processing {"connection_id":46164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd9"} 
[2026-04-17 20:00:55] local.INFO: GPS Element Parsed {"raw_longitude":763382784,"raw_latitude":96769448,"longitude_deg":76.3382784,"latitude_deg":9.6769448,"altitude":10,"angle":326,"satellites":50,"speed":26,"hex_longitude":"2d804c00","hex_latitude":"05c495a8","is_valid_coordinates":true} 
[2026-04-17 20:00:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:00:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767657984001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:00:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274143377342070784,"note":"Value kept but may cause issues"} 
[2026-04-17 20:00:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9198391107900119040,"note":"Value kept but may cause issues"} 
[2026-04-17 20:00:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:00:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776436185000,"timestamp_ms":1776436185000,"timestamp_seconds":1776436185,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd907a8"} 
[2026-04-17 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-04-17 20:00: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-04-17 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 20:00:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 20:00:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:00:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:00:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:00:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:00:55] 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-04-17 20:00:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:00:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:00:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767657984001,"66":27267,"93":206,"85":12288,"24":26,"16":274143377342070784,"45":-9198391107900119040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-17 20:00:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:00:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:00:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767657984001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:00:55] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-17 20:00:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:00:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274143377342070784,"km_value":274143377342070.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:00:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9198391107900119040,"description":"Unknown IO ID 45"} 
[2026-04-17 20:00:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767657984001,"power":27267,"unknown_93":206,"unknown_85":12288,"ignition":26,"odometer":null,"unknown_45":-9198391107900119040}} 
[2026-04-17 20:00:55] local.INFO: DEBUG: GPS processor result {"connection_id":46164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22885,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:00:55] local.INFO: GPS data processed {"connection_id":46164,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:00:55] local.INFO: Acknowledgment sent {"connection_id":46164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:00:59] local.INFO: TCP Data received {"connection_id":46065,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd5c3b8012d1b784007257130003301022a..."} 
[2026-04-17 20:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46065,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd5c3b8012d1b784007257130003301022a..."} 
[2026-04-17 20:00:59] local.INFO: Processing buffer {"connection_id":46065,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd5c3b8012d1b784007257130003301022a..."} 
[2026-04-17 20:00:59] local.INFO: Packet analysis {"connection_id":46065,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd5"} 
[2026-04-17 20:00:59] local.INFO: Extracted packet for processing {"connection_id":46065,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd5"} 
[2026-04-17 20:00:59] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767603200001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:00:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776435971000,"timestamp_ms":1776435971000,"timestamp_seconds":1776435971,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd5c3b8"} 
[2026-04-17 20:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:00: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-04-17 20:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 20:00:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2382,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46065,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46065,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767603200001,"66":12537,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767603200001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:00:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:00:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767603200001,"power":12537,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":46065,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22886,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:00:59] local.INFO: GPS data processed {"connection_id":46065,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:00:59] local.INFO: Acknowledgment sent {"connection_id":46065,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:01:21] local.INFO: TCP Data received {"connection_id":46400,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:01:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:01:21] local.INFO: Processing buffer {"connection_id":46400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:01:21] local.INFO: IMEI packet received {"connection_id":46400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:01:21] local.INFO: IMEI acknowledgment sent {"connection_id":46400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:01:22] local.INFO: TCP Data received {"connection_id":46400,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:01:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:01:22] local.INFO: Processing buffer {"connection_id":46400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:01:22] local.INFO: IMEI packet received {"connection_id":46400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:01:22] local.INFO: IMEI acknowledgment sent {"connection_id":46400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:01:26] local.INFO: TCP Data received {"connection_id":46164,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd93688012d8037c005c4b448000b014931..."} 
[2026-04-17 20:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd93688012d8037c005c4b448000b014931..."} 
[2026-04-17 20:01:26] local.INFO: Processing buffer {"connection_id":46164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd93688012d8037c005c4b448000b014931..."} 
[2026-04-17 20:01:26] local.INFO: Packet analysis {"connection_id":46164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd9"} 
[2026-04-17 20:01:26] local.INFO: Extracted packet for processing {"connection_id":46164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd9"} 
[2026-04-17 20:01:26] local.INFO: GPS Element Parsed {"raw_longitude":763377600,"raw_latitude":96777288,"longitude_deg":76.33776,"latitude_deg":9.6777288,"altitude":11,"angle":329,"satellites":49,"speed":31,"hex_longitude":"2d8037c0","hex_latitude":"05c4b448","is_valid_coordinates":true} 
[2026-04-17 20:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:01:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767663360001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:01:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274143832608604160,"note":"Value kept but may cause issues"} 
[2026-04-17 20:01:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-9201979913851787264,"note":"Value kept but may cause issues"} 
[2026-04-17 20:01:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:01:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776436197000,"timestamp_ms":1776436197000,"timestamp_seconds":1776436197,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd93688"} 
[2026-04-17 20:01:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:01: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-04-17 20:01:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 20:01:26] 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-04-17 20:01:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:01:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:01:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:01:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:01:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:01:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:01:26] 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-04-17 20:01:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:01:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:01:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767663360001,"66":27365,"93":206,"85":12288,"24":31,"16":274143832608604160,"45":-9201979913851787264},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-17 20:01:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:01:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:01:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767663360001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:01:26] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-17 20:01:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:01:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274143832608604160,"km_value":274143832608604.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:01:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":-9201979913851787264,"description":"Unknown IO ID 45"} 
[2026-04-17 20:01:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767663360001,"power":27365,"unknown_93":206,"unknown_85":12288,"ignition":31,"odometer":null,"unknown_45":-9201979913851787264}} 
[2026-04-17 20:01:26] local.INFO: DEBUG: GPS processor result {"connection_id":46164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22887,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:01:26] local.INFO: GPS data processed {"connection_id":46164,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:01:26] local.INFO: Acknowledgment sent {"connection_id":46164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:01:26] local.INFO: TCP Data received {"connection_id":46400,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46400,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:01:26] local.INFO: Processing buffer {"connection_id":46400,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:01:26] local.INFO: IMEI packet received {"connection_id":46400,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":46400,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:01:27] local.INFO: TCP Data received {"connection_id":46400,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd94a10012d1b784007257130003301022c..."} 
[2026-04-17 20:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd94a10012d1b784007257130003301022c..."} 
[2026-04-17 20:01:27] local.INFO: Processing buffer {"connection_id":46400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd94a10012d1b784007257130003301022c..."} 
[2026-04-17 20:01:27] local.INFO: Packet analysis {"connection_id":46400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd9"} 
[2026-04-17 20:01:27] local.INFO: Extracted packet for processing {"connection_id":46400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd9"} 
[2026-04-17 20:01:27] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":44,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767662336001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776436202000,"timestamp_ms":1776436202000,"timestamp_seconds":1776436202,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd94a10"} 
[2026-04-17 20:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":140,"data_length":795,"current_offset":136} 
[2026-04-17 20:01:27] 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-04-17 20: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-04-17 20:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767662336001,"66":12428,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767662336001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:01:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:01:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767662336001,"power":12428,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":46400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22888,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:01:27] local.INFO: GPS data processed {"connection_id":46400,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:01:27] local.INFO: Acknowledgment sent {"connection_id":46400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:01:50] local.INFO: TCP Data received {"connection_id":46066,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:01:50] local.INFO: Processing buffer {"connection_id":46066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:01:50] local.INFO: IMEI packet received {"connection_id":46066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":46066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:01:50] local.INFO: TCP Data received {"connection_id":46066,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:01:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:01:50] local.INFO: Processing buffer {"connection_id":46066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:01:50] local.INFO: IMEI packet received {"connection_id":46066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:01:50] local.INFO: IMEI acknowledgment sent {"connection_id":46066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:01:55] local.INFO: TCP Data received {"connection_id":46066,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:01:55] local.INFO: Processing buffer {"connection_id":46066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:01:55] local.INFO: IMEI packet received {"connection_id":46066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":46066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:01:56] local.INFO: TCP Data received {"connection_id":46066,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bda2ca0012d7fdf0005c537a80009015533..."} 
[2026-04-17 20:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bda2ca0012d7fdf0005c537a80009015533..."} 
[2026-04-17 20:01:56] local.INFO: Processing buffer {"connection_id":46066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bda2ca0012d7fdf0005c537a80009015533..."} 
[2026-04-17 20:01:56] local.INFO: Packet analysis {"connection_id":46066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bda"} 
[2026-04-17 20:01:56] local.INFO: Extracted packet for processing {"connection_id":46066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bda"} 
[2026-04-17 20:01:56] local.INFO: GPS Element Parsed {"raw_longitude":763354880,"raw_latitude":96810920,"longitude_deg":76.335488,"latitude_deg":9.681092,"altitude":9,"angle":341,"satellites":51,"speed":24,"hex_longitude":"2d7fdf00","hex_latitude":"05c537a8","is_valid_coordinates":true} 
[2026-04-17 20:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767681280001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274145834063364096,"note":"Value kept but may cause issues"} 
[2026-04-17 20:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9214294493638862848,"note":"Value kept but may cause issues"} 
[2026-04-17 20:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,93,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776436260000,"timestamp_ms":1776436260000,"timestamp_seconds":1776436260,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bda2ca0"} 
[2026-04-17 20:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-17 20:01:56] 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-04-17 20:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:01:56] 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-04-17 20:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767681280001,"66":27376,"93":206,"85":12288,"24":24,"16":274145834063364096,"45":9214294493638862848},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,93,85,24,16,45]} 
[2026-04-17 20:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767681280001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:01:56] local.INFO: Unknown IO ID detected {"io_id":93,"value":206,"description":"Unknown IO ID 93"} 
[2026-04-17 20:01:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274145834063364096,"km_value":274145834063364.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9214294493638862848,"description":"Unknown IO ID 45"} 
[2026-04-17 20:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767681280001,"power":27376,"unknown_93":206,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9214294493638862848}} 
[2026-04-17 20:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":46066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22889,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:01:56] local.INFO: GPS data processed {"connection_id":46066,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:01:56] local.INFO: Acknowledgment sent {"connection_id":46066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:01:58] local.INFO: TCP Data received {"connection_id":46400,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd99c18012d1b784007257130003301022b..."} 
[2026-04-17 20:01:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46400,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd99c18012d1b784007257130003301022b..."} 
[2026-04-17 20:01:58] local.INFO: Processing buffer {"connection_id":46400,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd99c18012d1b784007257130003301022b..."} 
[2026-04-17 20:01:58] local.INFO: Packet analysis {"connection_id":46400,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd9"} 
[2026-04-17 20:01:58] local.INFO: Extracted packet for processing {"connection_id":46400,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd9"} 
[2026-04-17 20:01:58] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":43,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:01:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767667712001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:01:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:01:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:01:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:01:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776436223000,"timestamp_ms":1776436223000,"timestamp_seconds":1776436223,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd99c18"} 
[2026-04-17 20:01:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:01: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-04-17 20:01:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 20:01: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-04-17 20:01:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:01:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:01:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:01:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46400,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:01:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:01:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46400,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:01:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:01:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:01:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:01:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767667712001,"66":12385,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:01:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:01:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:01:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767667712001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:01:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:01:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:01:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:01:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:01:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767667712001,"power":12385,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:01:58] local.INFO: DEBUG: GPS processor result {"connection_id":46400,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22890,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:01:58] local.INFO: GPS data processed {"connection_id":46400,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:01:58] local.INFO: Acknowledgment sent {"connection_id":46400,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:02:21] local.INFO: TCP Data received {"connection_id":46167,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:02:21] local.INFO: Processing buffer {"connection_id":46167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:02:21] local.INFO: IMEI packet received {"connection_id":46167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":46167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:02:26] local.INFO: TCP Data received {"connection_id":46167,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:02:26] local.INFO: Processing buffer {"connection_id":46167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:02:26] local.INFO: IMEI packet received {"connection_id":46167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":46167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:02:26] local.INFO: TCP Data received {"connection_id":46167,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46167,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:02:26] local.INFO: Processing buffer {"connection_id":46167,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:02:26] local.INFO: IMEI packet received {"connection_id":46167,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":46167,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:02:27] local.INFO: TCP Data received {"connection_id":46066,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bda3470012d7fdc8005c53c680009014633..."} 
[2026-04-17 20:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bda3470012d7fdc8005c53c680009014633..."} 
[2026-04-17 20:02:27] local.INFO: Processing buffer {"connection_id":46066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bda3470012d7fdc8005c53c680009014633..."} 
[2026-04-17 20:02:27] local.INFO: Packet analysis {"connection_id":46066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bda"} 
[2026-04-17 20:02:27] local.INFO: Extracted packet for processing {"connection_id":46066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bda"} 
[2026-04-17 20:02:27] local.INFO: GPS Element Parsed {"raw_longitude":763354240,"raw_latitude":96812136,"longitude_deg":76.335424,"latitude_deg":9.6812136,"altitude":9,"angle":326,"satellites":51,"speed":28,"hex_longitude":"2d7fdc80","hex_latitude":"05c53c68","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767682560001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274145898487873536,"note":"Value kept but may cause issues"} 
[2026-04-17 20:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9214083387406919680,"note":"Value kept but may cause issues"} 
[2026-04-17 20:02:27] 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-04-17 20:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776436262000,"timestamp_ms":1776436262000,"timestamp_seconds":1776436262,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bda3470"} 
[2026-04-17 20:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 20:02:27] 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-04-17 20: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-04-17 20:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767682560001,"66":27267,"95":206,"85":12288,"24":28,"16":274145898487873536,"45":9214083387406919680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-04-17 20:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767682560001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:02:27] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-17 20:02:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274145898487873536,"km_value":274145898487873.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9214083387406919680,"description":"Unknown IO ID 45"} 
[2026-04-17 20:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767682560001,"power":27267,"unknown_95":206,"unknown_85":12288,"ignition":28,"odometer":null,"unknown_45":9214083387406919680}} 
[2026-04-17 20:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":46066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22891,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:02:27] local.INFO: GPS data processed {"connection_id":46066,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:02:27] local.INFO: Acknowledgment sent {"connection_id":46066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:02:27] local.INFO: TCP Data received {"connection_id":46167,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bd9ee20012d1b7840072571300033010229..."} 
[2026-04-17 20:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bd9ee20012d1b7840072571300033010229..."} 
[2026-04-17 20:02:27] local.INFO: Processing buffer {"connection_id":46167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bd9ee20012d1b7840072571300033010229..."} 
[2026-04-17 20:02:27] local.INFO: Packet analysis {"connection_id":46167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bd9"} 
[2026-04-17 20:02:27] local.INFO: Extracted packet for processing {"connection_id":46167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bd9"} 
[2026-04-17 20:02:27] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767673088001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776436244000,"timestamp_ms":1776436244000,"timestamp_seconds":1776436244,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bd9ee20"} 
[2026-04-17 20:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21248,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20: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-04-17 20: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-04-17 20:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767673088001,"66":12385,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767673088001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:02:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:02:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767673088001,"power":12385,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":46167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22892,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:02:27] local.INFO: GPS data processed {"connection_id":46167,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:02:27] local.INFO: Acknowledgment sent {"connection_id":46167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:02:32] local.INFO: TCP Data received {"connection_id":46167,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bda4028012d1b7840072571300033010229..."} 
[2026-04-17 20:02:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bda4028012d1b7840072571300033010229..."} 
[2026-04-17 20:02:32] local.INFO: Processing buffer {"connection_id":46167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bda4028012d1b7840072571300033010229..."} 
[2026-04-17 20:02:32] local.INFO: Packet analysis {"connection_id":46167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bda"} 
[2026-04-17 20:02:32] local.INFO: Extracted packet for processing {"connection_id":46167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bda"} 
[2026-04-17 20:02:32] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:02:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767678464001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:02:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:02:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:02:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:02:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776436265000,"timestamp_ms":1776436265000,"timestamp_seconds":1776436265,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bda4028"} 
[2026-04-17 20:02:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:02: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-04-17 20:02:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 20:02:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:02:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:02:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:02:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:02:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:02:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:02:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:02:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:02:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:02:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:02:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767678464001,"66":11852,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:02:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:02:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:02:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767678464001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:02:32] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:02:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:02:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:02:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:02:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767678464001,"power":11852,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:02:32] local.INFO: DEBUG: GPS processor result {"connection_id":46167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22893,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:02:32] local.INFO: GPS data processed {"connection_id":46167,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:02:32] local.INFO: Acknowledgment sent {"connection_id":46167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:02:50] local.INFO: TCP Data received {"connection_id":46401,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:02:50] local.INFO: Processing buffer {"connection_id":46401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:02:50] local.INFO: IMEI packet received {"connection_id":46401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":46401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:02:55] local.INFO: TCP Data received {"connection_id":46401,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46401,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:02:55] local.INFO: Processing buffer {"connection_id":46401,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:02:55] local.INFO: IMEI packet received {"connection_id":46401,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":46401,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:02:57] local.INFO: TCP Data received {"connection_id":46401,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bda5b80012d7fc64005c55be00008014332..."} 
[2026-04-17 20:02:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bda5b80012d7fc64005c55be00008014332..."} 
[2026-04-17 20:02:57] local.INFO: Processing buffer {"connection_id":46401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bda5b80012d7fc64005c55be00008014332..."} 
[2026-04-17 20:02:57] local.INFO: Packet analysis {"connection_id":46401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bda"} 
[2026-04-17 20:02:57] local.INFO: Extracted packet for processing {"connection_id":46401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bda"} 
[2026-04-17 20:02:57] local.INFO: GPS Element Parsed {"raw_longitude":763348544,"raw_latitude":96820192,"longitude_deg":76.3348544,"latitude_deg":9.6820192,"altitude":8,"angle":323,"satellites":50,"speed":44,"hex_longitude":"2d7fc640","hex_latitude":"05c55be0","is_valid_coordinates":true} 
[2026-04-17 20:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:02:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767683072001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:02:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274146375229243392,"note":"Value kept but may cause issues"} 
[2026-04-17 20:02:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9213379699965454336,"note":"Value kept but may cause issues"} 
[2026-04-17 20:02:57] 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-04-17 20:02:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776436272000,"timestamp_ms":1776436272000,"timestamp_seconds":1776436272,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bda5b80"} 
[2026-04-17 20:02:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:02: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-04-17 20:02:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 20:02:57] 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-04-17 20:02:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:02:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:02:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:02:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:02:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:02:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:02:57] 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-04-17 20:02:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:02:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:02:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767683072001,"66":27321,"95":206,"85":12288,"24":44,"16":274146375229243392,"45":9213379699965454336},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,95,85,24,16,45]} 
[2026-04-17 20:02:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:02:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:02:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767683072001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:02:57] local.INFO: Unknown IO ID detected {"io_id":95,"value":206,"description":"Unknown IO ID 95"} 
[2026-04-17 20:02:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:02:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274146375229243392,"km_value":274146375229243.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:02:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":9213379699965454336,"description":"Unknown IO ID 45"} 
[2026-04-17 20:02:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767683072001,"power":27321,"unknown_95":206,"unknown_85":12288,"ignition":44,"odometer":null,"unknown_45":9213379699965454336}} 
[2026-04-17 20:02:57] local.INFO: DEBUG: GPS processor result {"connection_id":46401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22894,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:02:57] local.INFO: GPS data processed {"connection_id":46401,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:02:57] local.INFO: Acknowledgment sent {"connection_id":46401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:03:03] local.INFO: TCP Data received {"connection_id":46167,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bda9230012d1b784007257130003301022a..."} 
[2026-04-17 20:03:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bda9230012d1b784007257130003301022a..."} 
[2026-04-17 20:03:03] local.INFO: Processing buffer {"connection_id":46167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bda9230012d1b784007257130003301022a..."} 
[2026-04-17 20:03:03] local.INFO: Packet analysis {"connection_id":46167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bda"} 
[2026-04-17 20:03:03] local.INFO: Extracted packet for processing {"connection_id":46167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bda"} 
[2026-04-17 20:03:03] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:03:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767683840001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:03:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:03:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:03:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:03:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776436286000,"timestamp_ms":1776436286000,"timestamp_seconds":1776436286,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bda9230"} 
[2026-04-17 20:03:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:03:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:03:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":46,"n8_eight_byte":76,"data_length":795,"current_offset":136} 
[2026-04-17 20:03:03] 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-04-17 20:03:03] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:03:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:03:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:03:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:03:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:03:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46167,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:03:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:03:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:03:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:03:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767683840001,"66":12428,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:03:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:03:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:03:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767683840001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:03:03] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:03:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:03:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:03:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:03:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767683840001,"power":12428,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:03:03] local.INFO: DEBUG: GPS processor result {"connection_id":46167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22895,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:03:03] local.INFO: GPS data processed {"connection_id":46167,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:03:03] local.INFO: Acknowledgment sent {"connection_id":46167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:03:21] local.INFO: TCP Data received {"connection_id":46068,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:03:21] local.INFO: Processing buffer {"connection_id":46068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:03:21] local.INFO: IMEI packet received {"connection_id":46068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":46068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:03:26] local.INFO: TCP Data received {"connection_id":46068,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46068,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:03:26] local.INFO: Processing buffer {"connection_id":46068,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:03:26] local.INFO: IMEI packet received {"connection_id":46068,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":46068,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:03:27] local.INFO: TCP Data received {"connection_id":46068,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdae438012d1b7840072571300033010224..."} 
[2026-04-17 20:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdae438012d1b7840072571300033010224..."} 
[2026-04-17 20:03:27] local.INFO: Processing buffer {"connection_id":46068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdae438012d1b7840072571300033010224..."} 
[2026-04-17 20:03:27] local.INFO: Packet analysis {"connection_id":46068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bda"} 
[2026-04-17 20:03:27] local.INFO: Extracted packet for processing {"connection_id":46068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bda"} 
[2026-04-17 20:03:27] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":36,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767689216001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776436307000,"timestamp_ms":1776436307000,"timestamp_seconds":1776436307,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdae438"} 
[2026-04-17 20:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:03: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-04-17 20:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 20:03:27] 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-04-17 20:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767689216001,"66":12385,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767689216001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:03:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:03:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767689216001,"power":12385,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":46068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22896,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:03:27] local.INFO: GPS data processed {"connection_id":46068,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:03:27] local.INFO: Acknowledgment sent {"connection_id":46068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:03:32] local.INFO: TCP Data received {"connection_id":46401,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdbaf58012d7f140005c642400005014132..."} 
[2026-04-17 20:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46401,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdbaf58012d7f140005c642400005014132..."} 
[2026-04-17 20:03:32] local.INFO: Processing buffer {"connection_id":46401,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdbaf58012d7f140005c642400005014132..."} 
[2026-04-17 20:03:32] local.INFO: Packet analysis {"connection_id":46401,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdb"} 
[2026-04-17 20:03:32] local.INFO: Extracted packet for processing {"connection_id":46401,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdb"} 
[2026-04-17 20:03:32] local.INFO: GPS Element Parsed {"raw_longitude":763302912,"raw_latitude":96879168,"longitude_deg":76.3302912,"latitude_deg":9.6879168,"altitude":5,"angle":321,"satellites":50,"speed":37,"hex_longitude":"2d7f1400","hex_latitude":"05c64240","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767707904001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274150000181641216,"note":"Value kept but may cause issues"} 
[2026-04-17 20:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156943967152128000,"note":"Value kept but may cause issues"} 
[2026-04-17 20:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,235,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776436359000,"timestamp_ms":1776436359000,"timestamp_seconds":1776436359,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdbaf58"} 
[2026-04-17 20:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 20:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46401,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46401,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767707904001,"66":27484,"235":206,"85":12288,"24":37,"16":274150000181641216,"45":9156943967152128000},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,235,85,24,16,45]} 
[2026-04-17 20:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767707904001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:03:32] local.INFO: Unknown IO ID detected {"io_id":235,"value":206,"description":"Unknown IO ID 235"} 
[2026-04-17 20:03:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274150000181641216,"km_value":274150000181641.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156943967152128000,"description":"Unknown IO ID 45"} 
[2026-04-17 20:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767707904001,"power":27484,"unknown_235":206,"unknown_85":12288,"ignition":37,"odometer":null,"unknown_45":9156943967152128000}} 
[2026-04-17 20:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":46401,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22897,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:03:32] local.INFO: GPS data processed {"connection_id":46401,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:03:32] local.INFO: Acknowledgment sent {"connection_id":46401,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:03:50] local.INFO: TCP Data received {"connection_id":46069,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:03:50] local.INFO: Processing buffer {"connection_id":46069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:03:50] local.INFO: IMEI packet received {"connection_id":46069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":46069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:03:51] local.INFO: TCP Data received {"connection_id":46069,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:03:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:03:51] local.INFO: Processing buffer {"connection_id":46069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:03:51] local.INFO: IMEI packet received {"connection_id":46069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:03:51] local.INFO: IMEI acknowledgment sent {"connection_id":46069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:03:54] local.INFO: TCP Data received {"connection_id":46069,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46069,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:03:55] local.INFO: Processing buffer {"connection_id":46069,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:03:55] local.INFO: IMEI packet received {"connection_id":46069,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":46069,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:03:55] local.INFO: TCP Data received {"connection_id":46069,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdbd280012d7efe8005c660900006014b32..."} 
[2026-04-17 20:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdbd280012d7efe8005c660900006014b32..."} 
[2026-04-17 20:03:55] local.INFO: Processing buffer {"connection_id":46069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdbd280012d7efe8005c660900006014b32..."} 
[2026-04-17 20:03:55] local.INFO: Packet analysis {"connection_id":46069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdb"} 
[2026-04-17 20:03:55] local.INFO: Extracted packet for processing {"connection_id":46069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdb"} 
[2026-04-17 20:03:55] local.INFO: GPS Element Parsed {"raw_longitude":763297408,"raw_latitude":96886928,"longitude_deg":76.3297408,"latitude_deg":9.6886928,"altitude":6,"angle":331,"satellites":50,"speed":42,"hex_longitude":"2d7efe80","hex_latitude":"05c66090","is_valid_coordinates":true} 
[2026-04-17 20:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:03:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767707904001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:03:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 20:03:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274150459743141888,"note":"Value kept but may cause issues"} 
[2026-04-17 20:03:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9156943967152128000,"note":"Value kept but may cause issues"} 
[2026-04-17 20:03:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 20:03:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776436368000,"timestamp_ms":1776436368000,"timestamp_seconds":1776436368,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdbd280"} 
[2026-04-17 20:03:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:03: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-04-17 20:03:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 20:03:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:03:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:03:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:03:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:03:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:03:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:03:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:03:55] 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-04-17 20:03:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:03:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:03:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767707904001,"66":27463,"200":0,"85":12288,"24":42,"16":274150459743141888,"45":9156943967152128000},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-17 20:03:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:03:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:03:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767707904001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:03:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:03:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274150459743141888,"km_value":274150459743141.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:03:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9156943967152128000,"description":"Unknown IO ID 45"} 
[2026-04-17 20:03:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767707904001,"power":27463,"gsm_signal":0,"unknown_85":12288,"ignition":42,"odometer":null,"unknown_45":9156943967152128000}} 
[2026-04-17 20:03:55] local.INFO: DEBUG: GPS processor result {"connection_id":46069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22898,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:03:55] local.INFO: GPS data processed {"connection_id":46069,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:03:55] local.INFO: Acknowledgment sent {"connection_id":46069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:03:59] local.INFO: TCP Data received {"connection_id":46068,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdb3640012d1b7840072571300033010228..."} 
[2026-04-17 20:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdb3640012d1b7840072571300033010228..."} 
[2026-04-17 20:03:59] local.INFO: Processing buffer {"connection_id":46068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdb3640012d1b7840072571300033010228..."} 
[2026-04-17 20:03:59] local.INFO: Packet analysis {"connection_id":46068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdb"} 
[2026-04-17 20:03:59] local.INFO: Extracted packet for processing {"connection_id":46068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdb"} 
[2026-04-17 20:03:59] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767694592001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:03:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776436328000,"timestamp_ms":1776436328000,"timestamp_seconds":1776436328,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdb3640"} 
[2026-04-17 20:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:03: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-04-17 20:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 20:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46068,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767694592001,"66":12145,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767694592001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:03:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:03:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767694592001,"power":12145,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":46068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22899,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:03:59] local.INFO: GPS data processed {"connection_id":46068,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:03:59] local.INFO: Acknowledgment sent {"connection_id":46068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:04:26] local.INFO: TCP Data received {"connection_id":46403,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:04:26] local.INFO: Processing buffer {"connection_id":46403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:04:26] local.INFO: IMEI packet received {"connection_id":46403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":46403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:04:26] local.INFO: TCP Data received {"connection_id":46069,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdbde38012d7ef78005c66a600006013a32..."} 
[2026-04-17 20:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46069,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdbde38012d7ef78005c66a600006013a32..."} 
[2026-04-17 20:04:26] local.INFO: Processing buffer {"connection_id":46069,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdbde38012d7ef78005c66a600006013a32..."} 
[2026-04-17 20:04:26] local.INFO: Packet analysis {"connection_id":46069,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdb"} 
[2026-04-17 20:04:26] local.INFO: Extracted packet for processing {"connection_id":46069,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdb"} 
[2026-04-17 20:04:26] local.INFO: GPS Element Parsed {"raw_longitude":763295616,"raw_latitude":96889440,"longitude_deg":76.3295616,"latitude_deg":9.688944,"altitude":6,"angle":314,"satellites":50,"speed":40,"hex_longitude":"2d7ef780","hex_latitude":"05c66a60","is_valid_coordinates":true} 
[2026-04-17 20:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:04:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767710208001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:04:26] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 20:04:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274150610066997248,"note":"Value kept but may cause issues"} 
[2026-04-17 20:04:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9150892255154835456,"note":"Value kept but may cause issues"} 
[2026-04-17 20:04:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 20:04:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776436371000,"timestamp_ms":1776436371000,"timestamp_seconds":1776436371,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdbde38"} 
[2026-04-17 20:04:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:04: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-04-17 20:04:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 20:04:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:04:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:04:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:04:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:04:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46069,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:04:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:04:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46069,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:04:26] 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-04-17 20:04:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:04:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:04:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767710208001,"66":27376,"200":0,"85":12288,"24":40,"16":274150610066997248,"45":9150892255154835456},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-17 20:04:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:04:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:04:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767710208001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:04:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:04:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274150610066997248,"km_value":274150610066997.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:04:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9150892255154835456,"description":"Unknown IO ID 45"} 
[2026-04-17 20:04:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767710208001,"power":27376,"gsm_signal":0,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9150892255154835456}} 
[2026-04-17 20:04:26] local.INFO: DEBUG: GPS processor result {"connection_id":46069,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22900,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:04:26] local.INFO: GPS data processed {"connection_id":46069,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:04:26] local.INFO: Acknowledgment sent {"connection_id":46069,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:04:31] local.INFO: TCP Data received {"connection_id":46403,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46403,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:04:31] local.INFO: Processing buffer {"connection_id":46403,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:04:31] local.INFO: IMEI packet received {"connection_id":46403,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":46403,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:04:33] local.INFO: TCP Data received {"connection_id":46403,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdb8848012d1b7840072571300033010229..."} 
[2026-04-17 20:04:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdb8848012d1b7840072571300033010229..."} 
[2026-04-17 20:04:33] local.INFO: Processing buffer {"connection_id":46403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdb8848012d1b7840072571300033010229..."} 
[2026-04-17 20:04:33] local.INFO: Packet analysis {"connection_id":46403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdb"} 
[2026-04-17 20:04:33] local.INFO: Extracted packet for processing {"connection_id":46403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdb"} 
[2026-04-17 20:04:33] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:04:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767699968001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:04:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:04:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:04:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:04:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776436349000,"timestamp_ms":1776436349000,"timestamp_seconds":1776436349,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdb8848"} 
[2026-04-17 20:04:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:04: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-04-17 20: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":47,"n8_eight_byte":113,"data_length":795,"current_offset":136} 
[2026-04-17 20:04:33] 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-04-17 20: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-04-17 20:04:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:04:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:04:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:04:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:04:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:04:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:04:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:04:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:04:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767699968001,"66":12406,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:04:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:04:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:04:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767699968001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:04:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:04:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:04:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:04:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:04:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767699968001,"power":12406,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":46403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22901,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:04:33] local.INFO: GPS data processed {"connection_id":46403,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:04:33] local.INFO: Acknowledgment sent {"connection_id":46403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:04:55] local.INFO: TCP Data received {"connection_id":46914,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:04:55] local.INFO: Processing buffer {"connection_id":46914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:04:55] local.INFO: IMEI packet received {"connection_id":46914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":46914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:05:00] local.INFO: TCP Data received {"connection_id":46914,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:05:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46914,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:05:00] local.INFO: Processing buffer {"connection_id":46914,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:05:00] local.INFO: IMEI packet received {"connection_id":46914,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:05:00] local.INFO: IMEI acknowledgment sent {"connection_id":46914,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:05:01] local.INFO: TCP Data received {"connection_id":46914,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdbfd78012d7edbc005c681b00006013332..."} 
[2026-04-17 20:05:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdbfd78012d7edbc005c681b00006013332..."} 
[2026-04-17 20:05:01] local.INFO: Processing buffer {"connection_id":46914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdbfd78012d7edbc005c681b00006013332..."} 
[2026-04-17 20:05:01] local.INFO: Packet analysis {"connection_id":46914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdb"} 
[2026-04-17 20:05:01] local.INFO: Extracted packet for processing {"connection_id":46914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdb"} 
[2026-04-17 20:05:01] local.INFO: GPS Element Parsed {"raw_longitude":763288512,"raw_latitude":96895408,"longitude_deg":76.3288512,"latitude_deg":9.6895408,"altitude":6,"angle":307,"satellites":50,"speed":49,"hex_longitude":"2d7edbc0","hex_latitude":"05c681b0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:05:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767710976001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:05:01] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 20:05:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274151052448628736,"note":"Value kept but may cause issues"} 
[2026-04-17 20:05:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9148921930318503936,"note":"Value kept but may cause issues"} 
[2026-04-17 20:05:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 20:05:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776436379000,"timestamp_ms":1776436379000,"timestamp_seconds":1776436379,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdbfd78"} 
[2026-04-17 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-04-17 20:05:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:05:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 20:05:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 20:05:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:05:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:05:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:05:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:05: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-04-17 20:05:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:05:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:05:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767710976001,"66":27397,"200":0,"85":12288,"24":49,"16":274151052448628736,"45":9148921930318503936},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-17 20:05:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:05:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:05:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767710976001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:05:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:05:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274151052448628736,"km_value":274151052448628.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:05:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":9148921930318503936,"description":"Unknown IO ID 45"} 
[2026-04-17 20:05:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767710976001,"power":27397,"gsm_signal":0,"unknown_85":12288,"ignition":49,"odometer":null,"unknown_45":9148921930318503936}} 
[2026-04-17 20:05:01] local.INFO: DEBUG: GPS processor result {"connection_id":46914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22902,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:05:01] local.INFO: GPS data processed {"connection_id":46914,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:05:01] local.INFO: Acknowledgment sent {"connection_id":46914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:05:04] local.INFO: TCP Data received {"connection_id":46403,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdbda50012d1b7840072571300033010229..."} 
[2026-04-17 20:05:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46403,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdbda50012d1b7840072571300033010229..."} 
[2026-04-17 20:05:04] local.INFO: Processing buffer {"connection_id":46403,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdbda50012d1b7840072571300033010229..."} 
[2026-04-17 20:05:04] local.INFO: Packet analysis {"connection_id":46403,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdb"} 
[2026-04-17 20:05:04] local.INFO: Extracted packet for processing {"connection_id":46403,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdb"} 
[2026-04-17 20:05:04] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:05:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767705344001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:05:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:05:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:05:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:05:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776436370000,"timestamp_ms":1776436370000,"timestamp_seconds":1776436370,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdbda50"} 
[2026-04-17 20:05:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:05: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-04-17 20:05:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 20:05:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1500,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:05:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:05:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:05:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46403,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:05:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:05:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46403,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:05:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:05:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:05:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:05:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767705344001,"66":12385,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:05:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:05:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:05:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767705344001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:05:04] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:05:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:05:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:05:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:05:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767705344001,"power":12385,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:05:04] local.INFO: DEBUG: GPS processor result {"connection_id":46403,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22903,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:05:04] local.INFO: GPS data processed {"connection_id":46403,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:05:04] local.INFO: Acknowledgment sent {"connection_id":46403,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:05:21] local.INFO: TCP Data received {"connection_id":46404,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:05:21] local.INFO: Processing buffer {"connection_id":46404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:05:21] local.INFO: IMEI packet received {"connection_id":46404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":46404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:05:26] local.INFO: TCP Data received {"connection_id":46404,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46404,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:05:26] local.INFO: Processing buffer {"connection_id":46404,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:05:26] local.INFO: IMEI packet received {"connection_id":46404,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":46404,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:05:28] local.INFO: TCP Data received {"connection_id":46404,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdc2c58012d1b7840072571300033010229..."} 
[2026-04-17 20:05:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdc2c58012d1b7840072571300033010229..."} 
[2026-04-17 20:05:28] local.INFO: Processing buffer {"connection_id":46404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdc2c58012d1b7840072571300033010229..."} 
[2026-04-17 20:05:28] local.INFO: Packet analysis {"connection_id":46404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdc"} 
[2026-04-17 20:05:28] local.INFO: Extracted packet for processing {"connection_id":46404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdc"} 
[2026-04-17 20:05:28] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:05:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767710720001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:05:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:05:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:05:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:05:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776436391000,"timestamp_ms":1776436391000,"timestamp_seconds":1776436391,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdc2c58"} 
[2026-04-17 20:05:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:05:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 20:05:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:05:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:05:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:05:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:05:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:05:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:05:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:05:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:05:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:05:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767710720001,"66":12406,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:05:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:05:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:05:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767710720001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:05:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:05:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:05:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:05:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:05:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767710720001,"power":12406,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":46404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22904,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:05:28] local.INFO: GPS data processed {"connection_id":46404,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:05:28] local.INFO: Acknowledgment sent {"connection_id":46404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:05:29] local.INFO: TCP Data received {"connection_id":46915,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:05:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46915,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:05:29] local.INFO: Processing buffer {"connection_id":46915,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:05:29] local.INFO: IMEI packet received {"connection_id":46915,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:05:29] local.INFO: IMEI acknowledgment sent {"connection_id":46915,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:05:31] local.INFO: TCP Data received {"connection_id":46914,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdd4598012d7d8f0005c76178000701312f..."} 
[2026-04-17 20:05:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46914,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdd4598012d7d8f0005c76178000701312f..."} 
[2026-04-17 20:05:31] local.INFO: Processing buffer {"connection_id":46914,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdd4598012d7d8f0005c76178000701312f..."} 
[2026-04-17 20:05:31] local.INFO: Packet analysis {"connection_id":46914,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdd"} 
[2026-04-17 20:05:31] local.INFO: Extracted packet for processing {"connection_id":46914,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdd"} 
[2026-04-17 20:05:31] local.INFO: GPS Element Parsed {"raw_longitude":763203328,"raw_latitude":96952696,"longitude_deg":76.3203328,"latitude_deg":9.6952696,"altitude":7,"angle":305,"satellites":47,"speed":40,"hex_longitude":"2d7d8f00","hex_latitude":"05c76178","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:05:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767731968001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:05:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 20:05:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274155995955986432,"note":"Value kept but may cause issues"} 
[2026-04-17 20:05:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9056175925507168256,"note":"Value kept but may cause issues"} 
[2026-04-17 20:05:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 20:05:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776436463000,"timestamp_ms":1776436463000,"timestamp_seconds":1776436463,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdd4598"} 
[2026-04-17 20:05:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:05:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:05: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-04-17 20: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-04-17 20:05:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:05:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:05:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46914,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:05:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:05:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46914,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:05:31] 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-04-17 20:05:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:05:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:05:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767731968001,"66":27332,"200":0,"85":12288,"24":40,"16":274155995955986432,"45":9056175925507168256},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-17 20:05:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:05:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:05:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767731968001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:05:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:05:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274155995955986432,"km_value":274155995955986.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:05:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9056175925507168256,"description":"Unknown IO ID 45"} 
[2026-04-17 20:05:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767731968001,"power":27332,"gsm_signal":0,"unknown_85":12288,"ignition":40,"odometer":null,"unknown_45":9056175925507168256}} 
[2026-04-17 20:05:31] local.INFO: DEBUG: GPS processor result {"connection_id":46914,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22905,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:05:31] local.INFO: GPS data processed {"connection_id":46914,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:05:31] local.INFO: Acknowledgment sent {"connection_id":46914,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:05:50] local.INFO: TCP Data received {"connection_id":46916,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:05:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:05:50] local.INFO: Processing buffer {"connection_id":46916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:05:50] local.INFO: IMEI packet received {"connection_id":46916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:05:50] local.INFO: IMEI acknowledgment sent {"connection_id":46916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:05:52] local.INFO: TCP Data received {"connection_id":46916,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:05:52] local.INFO: Processing buffer {"connection_id":46916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:05:52] local.INFO: IMEI packet received {"connection_id":46916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":46916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:05:52] local.INFO: TCP Data received {"connection_id":46916,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:05:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:05:52] local.INFO: Processing buffer {"connection_id":46916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:05:52] local.INFO: IMEI packet received {"connection_id":46916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:05:52] local.INFO: IMEI acknowledgment sent {"connection_id":46916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:05:55] local.INFO: TCP Data received {"connection_id":46916,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46916,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:05:55] local.INFO: Processing buffer {"connection_id":46916,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:05:55] local.INFO: IMEI packet received {"connection_id":46916,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:05:55] local.INFO: IMEI acknowledgment sent {"connection_id":46916,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:05:55] local.INFO: TCP Data received {"connection_id":46916,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdd7478012d7d730005c77948000701392e..."} 
[2026-04-17 20:05:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdd7478012d7d730005c77948000701392e..."} 
[2026-04-17 20:05:55] local.INFO: Processing buffer {"connection_id":46916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdd7478012d7d730005c77948000701392e..."} 
[2026-04-17 20:05:55] local.INFO: Packet analysis {"connection_id":46916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdd"} 
[2026-04-17 20:05:55] local.INFO: Extracted packet for processing {"connection_id":46916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdd"} 
[2026-04-17 20:05:55] local.INFO: GPS Element Parsed {"raw_longitude":763196160,"raw_latitude":96958792,"longitude_deg":76.319616,"latitude_deg":9.6958792,"altitude":7,"angle":313,"satellites":46,"speed":29,"hex_longitude":"2d7d7300","hex_latitude":"05c77948","is_valid_coordinates":true} 
[2026-04-17 20:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:05:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767734528001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:05:55] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 20:05:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274156446927552512,"note":"Value kept but may cause issues"} 
[2026-04-17 20:05:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9047450201230505984,"note":"Value kept but may cause issues"} 
[2026-04-17 20:05:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 20:05:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776436475000,"timestamp_ms":1776436475000,"timestamp_seconds":1776436475,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdd7478"} 
[2026-04-17 20:05:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:05: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-04-17 20:05:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 20:05:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:05:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:05:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:05:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:05:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:05:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:05:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:05:55] 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-04-17 20:05:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:05:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:05:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767734528001,"66":27463,"200":0,"85":12288,"24":29,"16":274156446927552512,"45":9047450201230505984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-17 20:05:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:05:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:05:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767734528001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:05:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:05:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274156446927552512,"km_value":274156446927552.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:05:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9047450201230505984,"description":"Unknown IO ID 45"} 
[2026-04-17 20:05:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767734528001,"power":27463,"gsm_signal":0,"unknown_85":12288,"ignition":29,"odometer":null,"unknown_45":9047450201230505984}} 
[2026-04-17 20:05:55] local.INFO: DEBUG: GPS processor result {"connection_id":46916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22906,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:05:55] local.INFO: GPS data processed {"connection_id":46916,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:05:55] local.INFO: Acknowledgment sent {"connection_id":46916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:05:59] local.INFO: TCP Data received {"connection_id":46404,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdc7e60012d1b7840072571300033010229..."} 
[2026-04-17 20:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46404,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdc7e60012d1b7840072571300033010229..."} 
[2026-04-17 20:05:59] local.INFO: Processing buffer {"connection_id":46404,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdc7e60012d1b7840072571300033010229..."} 
[2026-04-17 20:05:59] local.INFO: Packet analysis {"connection_id":46404,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdc"} 
[2026-04-17 20:05:59] local.INFO: Extracted packet for processing {"connection_id":46404,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdc"} 
[2026-04-17 20:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767716096001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:05:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776436412000,"timestamp_ms":1776436412000,"timestamp_seconds":1776436412,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdc7e60"} 
[2026-04-17 20:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:05: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-04-17 20: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":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 20:05:59] 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-04-17 20: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-04-17 20:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46404,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46404,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767716096001,"66":12385,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767716096001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:05:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:05:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767716096001,"power":12385,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":46404,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22907,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:05:59] local.INFO: GPS data processed {"connection_id":46404,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:05:59] local.INFO: Acknowledgment sent {"connection_id":46404,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:06:00] local.INFO: TCP Data received {"connection_id":46916,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bddbac8012d7d5a4005c794800007014231..."} 
[2026-04-17 20:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bddbac8012d7d5a4005c794800007014231..."} 
[2026-04-17 20:06:00] local.INFO: Processing buffer {"connection_id":46916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bddbac8012d7d5a4005c794800007014231..."} 
[2026-04-17 20:06:00] local.INFO: Packet analysis {"connection_id":46916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdd"} 
[2026-04-17 20:06:00] local.INFO: Extracted packet for processing {"connection_id":46916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdd"} 
[2026-04-17 20:06:00] local.INFO: GPS Element Parsed {"raw_longitude":763189824,"raw_latitude":96965760,"longitude_deg":76.3189824,"latitude_deg":9.696576,"altitude":7,"angle":322,"satellites":49,"speed":24,"hex_longitude":"2d7d5a40","hex_latitude":"05c79480","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767737600001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:06:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 20:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274156902194085888,"note":"Value kept but may cause issues"} 
[2026-04-17 20:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9039568901884168192,"note":"Value kept but may cause issues"} 
[2026-04-17 20:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 20:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776436493000,"timestamp_ms":1776436493000,"timestamp_seconds":1776436493,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bddbac8"} 
[2026-04-17 20:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 20:06: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-04-17 20: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-04-17 20:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:06: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-04-17 20:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767737600001,"66":27571,"200":0,"85":12288,"24":24,"16":274156902194085888,"45":9039568901884168192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-17 20:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767737600001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:06:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274156902194085888,"km_value":274156902194085.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9039568901884168192,"description":"Unknown IO ID 45"} 
[2026-04-17 20:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767737600001,"power":27571,"gsm_signal":0,"unknown_85":12288,"ignition":24,"odometer":null,"unknown_45":9039568901884168192}} 
[2026-04-17 20:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":46916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22908,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:06:00] local.INFO: GPS data processed {"connection_id":46916,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:06:00] local.INFO: Acknowledgment sent {"connection_id":46916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:06:04] local.INFO: TCP Data received {"connection_id":46405,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:06:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46405,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:06:04] local.INFO: Processing buffer {"connection_id":46405,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:06:04] local.INFO: IMEI packet received {"connection_id":46405,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:06:04] local.INFO: IMEI acknowledgment sent {"connection_id":46405,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:06:22] local.INFO: TCP Data received {"connection_id":46406,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:06:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:06:22] local.INFO: Processing buffer {"connection_id":46406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:06:22] local.INFO: IMEI packet received {"connection_id":46406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:06:22] local.INFO: IMEI acknowledgment sent {"connection_id":46406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:06:26] local.INFO: TCP Data received {"connection_id":46406,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46406,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:06:26] local.INFO: Processing buffer {"connection_id":46406,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:06:26] local.INFO: IMEI packet received {"connection_id":46406,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":46406,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:06:28] local.INFO: TCP Data received {"connection_id":46406,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdcd068012d1b7840072571300033010229..."} 
[2026-04-17 20:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdcd068012d1b7840072571300033010229..."} 
[2026-04-17 20:06:28] local.INFO: Processing buffer {"connection_id":46406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdcd068012d1b7840072571300033010229..."} 
[2026-04-17 20:06:28] local.INFO: Packet analysis {"connection_id":46406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdc"} 
[2026-04-17 20:06:28] local.INFO: Extracted packet for processing {"connection_id":46406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdc"} 
[2026-04-17 20:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767721472001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:06:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776436433000,"timestamp_ms":1776436433000,"timestamp_seconds":1776436433,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdcd068"} 
[2026-04-17 20:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:06: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-04-17 20: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 20:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767721472001,"66":12385,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767721472001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:06:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:06:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767721472001,"power":12385,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":46406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22909,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:06:28] local.INFO: GPS data processed {"connection_id":46406,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:06:28] local.INFO: Acknowledgment sent {"connection_id":46406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:06:31] local.INFO: TCP Data received {"connection_id":46916,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bde0cd0012d7d458005c7b0e80006014a32..."} 
[2026-04-17 20:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46916,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bde0cd0012d7d458005c7b0e80006014a32..."} 
[2026-04-17 20:06:31] local.INFO: Processing buffer {"connection_id":46916,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bde0cd0012d7d458005c7b0e80006014a32..."} 
[2026-04-17 20:06:31] local.INFO: Packet analysis {"connection_id":46916,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bde"} 
[2026-04-17 20:06:31] local.INFO: Extracted packet for processing {"connection_id":46916,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bde"} 
[2026-04-17 20:06:31] local.INFO: GPS Element Parsed {"raw_longitude":763184512,"raw_latitude":96973032,"longitude_deg":76.3184512,"latitude_deg":9.6973032,"altitude":6,"angle":330,"satellites":50,"speed":10,"hex_longitude":"2d7d4580","hex_latitude":"05c7b0e8","is_valid_coordinates":true} 
[2026-04-17 20:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767742208001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:06:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 20:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274157335985782784,"note":"Value kept but may cause issues"} 
[2026-04-17 20:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9032602396212363264,"note":"Value kept but may cause issues"} 
[2026-04-17 20:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 20:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776436514000,"timestamp_ms":1776436514000,"timestamp_seconds":1776436514,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bde0cd0"} 
[2026-04-17 20:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:06:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-17 20:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:06:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46916,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46916,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:06:31] 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-04-17 20:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767742208001,"66":27365,"200":0,"85":12288,"24":10,"16":274157335985782784,"45":9032602396212363264},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-17 20:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767742208001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:06:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274157335985782784,"km_value":274157335985782.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9032602396212363264,"description":"Unknown IO ID 45"} 
[2026-04-17 20:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767742208001,"power":27365,"gsm_signal":0,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":9032602396212363264}} 
[2026-04-17 20:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":46916,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22910,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:06:31] local.INFO: GPS data processed {"connection_id":46916,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:06:31] local.INFO: Acknowledgment sent {"connection_id":46916,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:06:49] local.INFO: TCP Data received {"connection_id":46070,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:06:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:06:50] local.INFO: Processing buffer {"connection_id":46070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:06:50] local.INFO: IMEI packet received {"connection_id":46070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:06:50] local.INFO: IMEI acknowledgment sent {"connection_id":46070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:06:52] local.INFO: TCP Data received {"connection_id":46070,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:06:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:06:52] local.INFO: Processing buffer {"connection_id":46070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:06:52] local.INFO: IMEI packet received {"connection_id":46070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:06:52] local.INFO: IMEI acknowledgment sent {"connection_id":46070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:06:55] local.INFO: TCP Data received {"connection_id":46070,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:06:55] local.INFO: Processing buffer {"connection_id":46070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:06:55] local.INFO: IMEI packet received {"connection_id":46070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":46070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:06:56] local.INFO: TCP Data received {"connection_id":46070,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bde0cd0012d7d458005c7b0e80006014a32..."} 
[2026-04-17 20:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bde0cd0012d7d458005c7b0e80006014a32..."} 
[2026-04-17 20:06:56] local.INFO: Processing buffer {"connection_id":46070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bde0cd0012d7d458005c7b0e80006014a32..."} 
[2026-04-17 20:06:56] local.INFO: Packet analysis {"connection_id":46070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bde"} 
[2026-04-17 20:06:56] local.INFO: Extracted packet for processing {"connection_id":46070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bde"} 
[2026-04-17 20:06:56] local.INFO: GPS Element Parsed {"raw_longitude":763184512,"raw_latitude":96973032,"longitude_deg":76.3184512,"latitude_deg":9.6973032,"altitude":6,"angle":330,"satellites":50,"speed":10,"hex_longitude":"2d7d4580","hex_latitude":"05c7b0e8","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767747584001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:06:56] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 20:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274157335985782784,"note":"Value kept but may cause issues"} 
[2026-04-17 20:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026761790447478784,"note":"Value kept but may cause issues"} 
[2026-04-17 20:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 20:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776436514000,"timestamp_ms":1776436514000,"timestamp_seconds":1776436514,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bde0cd0"} 
[2026-04-17 20:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 20:06:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:06:56] 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-04-17 20:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767747584001,"66":27365,"200":0,"85":12288,"24":10,"16":274157335985782784,"45":9026761790447478784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-17 20:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767747584001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:06:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274157335985782784,"km_value":274157335985782.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026761790447478784,"description":"Unknown IO ID 45"} 
[2026-04-17 20:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767747584001,"power":27365,"gsm_signal":0,"unknown_85":12288,"ignition":10,"odometer":null,"unknown_45":9026761790447478784}} 
[2026-04-17 20:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":46070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22911,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:06:56] local.INFO: GPS data processed {"connection_id":46070,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:06:56] local.INFO: Acknowledgment sent {"connection_id":46070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:06:59] local.INFO: TCP Data received {"connection_id":46406,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdd2270012d1b7840072571300033010228..."} 
[2026-04-17 20:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46406,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdd2270012d1b7840072571300033010228..."} 
[2026-04-17 20:06:59] local.INFO: Processing buffer {"connection_id":46406,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdd2270012d1b7840072571300033010228..."} 
[2026-04-17 20:06:59] local.INFO: Packet analysis {"connection_id":46406,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdd"} 
[2026-04-17 20:06:59] local.INFO: Extracted packet for processing {"connection_id":46406,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdd"} 
[2026-04-17 20:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767726848001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:06:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776436454000,"timestamp_ms":1776436454000,"timestamp_seconds":1776436454,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdd2270"} 
[2026-04-17 20:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:06: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-04-17 20: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 20:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46406,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46406,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767726848001,"66":12406,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767726848001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:06:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:06:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767726848001,"power":12406,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":46406,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22912,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:06:59] local.INFO: GPS data processed {"connection_id":46406,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:06:59] local.INFO: Acknowledgment sent {"connection_id":46406,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:07:19] local.INFO: TCP Data received {"connection_id":46407,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:07:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:07:19] local.INFO: Processing buffer {"connection_id":46407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:07:19] local.INFO: IMEI packet received {"connection_id":46407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:07:19] local.INFO: IMEI acknowledgment sent {"connection_id":46407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:07:21] local.INFO: TCP Data received {"connection_id":46407,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:07:21] local.INFO: Processing buffer {"connection_id":46407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:07:21] local.INFO: IMEI packet received {"connection_id":46407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":46407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:07:26] local.INFO: TCP Data received {"connection_id":46407,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46407,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:07:26] local.INFO: Processing buffer {"connection_id":46407,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:07:26] local.INFO: IMEI packet received {"connection_id":46407,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":46407,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:07:28] local.INFO: TCP Data received {"connection_id":46407,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdd7478012d1b784007257130003301022c..."} 
[2026-04-17 20:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdd7478012d1b784007257130003301022c..."} 
[2026-04-17 20:07:28] local.INFO: Processing buffer {"connection_id":46407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdd7478012d1b784007257130003301022c..."} 
[2026-04-17 20:07:28] local.INFO: Packet analysis {"connection_id":46407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdd"} 
[2026-04-17 20:07:28] local.INFO: Extracted packet for processing {"connection_id":46407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdd"} 
[2026-04-17 20:07:28] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":44,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767732224001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776436475000,"timestamp_ms":1776436475000,"timestamp_seconds":1776436475,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdd7478"} 
[2026-04-17 20:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:07:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 20:07:28] 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-04-17 20:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:07:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767732224001,"66":12374,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767732224001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:07:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:07:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767732224001,"power":12374,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":46407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22913,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:07:28] local.INFO: GPS data processed {"connection_id":46407,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:07:28] local.INFO: Acknowledgment sent {"connection_id":46407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:07:28] local.INFO: TCP Data received {"connection_id":46070,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bde5ed8012d7d3f8005c7ba400009014332..."} 
[2026-04-17 20:07:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46070,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bde5ed8012d7d3f8005c7ba400009014332..."} 
[2026-04-17 20:07:28] local.INFO: Processing buffer {"connection_id":46070,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bde5ed8012d7d3f8005c7ba400009014332..."} 
[2026-04-17 20:07:28] local.INFO: Packet analysis {"connection_id":46070,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bde"} 
[2026-04-17 20:07:28] local.INFO: Extracted packet for processing {"connection_id":46070,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bde"} 
[2026-04-17 20:07:28] local.INFO: GPS Element Parsed {"raw_longitude":763182976,"raw_latitude":96975424,"longitude_deg":76.3182976,"latitude_deg":9.6975424,"altitude":9,"angle":323,"satellites":50,"speed":5,"hex_longitude":"2d7d3f80","hex_latitude":"05c7ba40","is_valid_coordinates":true} 
[2026-04-17 20:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:07:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767747584001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:07:28] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 20:07:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274157477719703552,"note":"Value kept but may cause issues"} 
[2026-04-17 20:07:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026761790447478784,"note":"Value kept but may cause issues"} 
[2026-04-17 20:07:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 20:07:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776436535000,"timestamp_ms":1776436535000,"timestamp_seconds":1776436535,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bde5ed8"} 
[2026-04-17 20:07:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:07: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-04-17 20:07:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 20:07:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:07:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:07:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:07:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:07:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46070,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:07:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:07:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46070,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:07:28] 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-04-17 20:07:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:07:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:07:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767747584001,"66":27321,"200":0,"85":12288,"24":5,"16":274157477719703552,"45":9026761790447478784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-17 20:07:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:07:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:07:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767747584001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:07:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:07:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274157477719703552,"km_value":274157477719703.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:07:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026761790447478784,"description":"Unknown IO ID 45"} 
[2026-04-17 20:07:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767747584001,"power":27321,"gsm_signal":0,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":9026761790447478784}} 
[2026-04-17 20:07:28] local.INFO: DEBUG: GPS processor result {"connection_id":46070,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22914,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:07:28] local.INFO: GPS data processed {"connection_id":46070,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:07:28] local.INFO: Acknowledgment sent {"connection_id":46070,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:07:49] local.INFO: TCP Data received {"connection_id":46408,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:07:49] local.INFO: Processing buffer {"connection_id":46408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:07:49] local.INFO: IMEI packet received {"connection_id":46408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":46408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:07:51] local.INFO: TCP Data received {"connection_id":46408,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:07:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:07:51] local.INFO: Processing buffer {"connection_id":46408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:07:51] local.INFO: IMEI packet received {"connection_id":46408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:07:51] local.INFO: IMEI acknowledgment sent {"connection_id":46408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:07:59] local.INFO: TCP Data received {"connection_id":46408,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46408,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:07:59] local.INFO: Processing buffer {"connection_id":46408,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:07:59] local.INFO: IMEI packet received {"connection_id":46408,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:07:59] local.INFO: IMEI acknowledgment sent {"connection_id":46408,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:07:59] local.INFO: TCP Data received {"connection_id":46407,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bddc680012d1b7840072571300033010228..."} 
[2026-04-17 20:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46407,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bddc680012d1b7840072571300033010228..."} 
[2026-04-17 20:07:59] local.INFO: Processing buffer {"connection_id":46407,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bddc680012d1b7840072571300033010228..."} 
[2026-04-17 20:07:59] local.INFO: Packet analysis {"connection_id":46407,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdd"} 
[2026-04-17 20:07:59] local.INFO: Extracted packet for processing {"connection_id":46407,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdd"} 
[2026-04-17 20:07:59] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767737600001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:07:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776436496000,"timestamp_ms":1776436496000,"timestamp_seconds":1776436496,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bddc680"} 
[2026-04-17 20:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:07: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-04-17 20:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 20:07:59] 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-04-17 20:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46407,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46407,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767737600001,"66":12385,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767737600001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:07:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:07:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767737600001,"power":12385,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":46407,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22915,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:07:59] local.INFO: GPS data processed {"connection_id":46407,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:07:59] local.INFO: Acknowledgment sent {"connection_id":46407,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:08:00] local.INFO: TCP Data received {"connection_id":46408,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bde6e78012d7d3e4005c7bc40000a015032..."} 
[2026-04-17 20:08:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bde6e78012d7d3e4005c7bc40000a015032..."} 
[2026-04-17 20:08:00] local.INFO: Processing buffer {"connection_id":46408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bde6e78012d7d3e4005c7bc40000a015032..."} 
[2026-04-17 20:08:00] local.INFO: Packet analysis {"connection_id":46408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bde"} 
[2026-04-17 20:08:00] local.INFO: Extracted packet for processing {"connection_id":46408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bde"} 
[2026-04-17 20:08:00] local.INFO: GPS Element Parsed {"raw_longitude":763182656,"raw_latitude":96975936,"longitude_deg":76.3182656,"latitude_deg":9.6975936,"altitude":10,"angle":336,"satellites":50,"speed":5,"hex_longitude":"2d7d3e40","hex_latitude":"05c7bc40","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:08:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767752960001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:08:00] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 20:08:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274157507784474624,"note":"Value kept but may cause issues"} 
[2026-04-17 20:08:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025072940587827200,"note":"Value kept but may cause issues"} 
[2026-04-17 20:08:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 20:08:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776436539000,"timestamp_ms":1776436539000,"timestamp_seconds":1776436539,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bde6e78"} 
[2026-04-17 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-04-17 20:08:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 20:08:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 20:08:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:08:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:08:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:08:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:08: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-04-17 20:08:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:08:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:08:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767752960001,"66":27484,"200":0,"85":12288,"24":5,"16":274157507784474624,"45":9025072940587827200},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-17 20:08:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:08:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:08:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767752960001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:08:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:08:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274157507784474624,"km_value":274157507784474.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:08:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025072940587827200,"description":"Unknown IO ID 45"} 
[2026-04-17 20:08:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767752960001,"power":27484,"gsm_signal":0,"unknown_85":12288,"ignition":5,"odometer":null,"unknown_45":9025072940587827200}} 
[2026-04-17 20:08:00] local.INFO: DEBUG: GPS processor result {"connection_id":46408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22916,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:08:00] local.INFO: GPS data processed {"connection_id":46408,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:08:00] local.INFO: Acknowledgment sent {"connection_id":46408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:08:21] local.INFO: TCP Data received {"connection_id":46071,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:08:21] local.INFO: Processing buffer {"connection_id":46071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:08:21] local.INFO: IMEI packet received {"connection_id":46071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":46071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:08:22] local.INFO: TCP Data received {"connection_id":46071,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:08:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:08:22] local.INFO: Processing buffer {"connection_id":46071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:08:22] local.INFO: IMEI packet received {"connection_id":46071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:08:22] local.INFO: IMEI acknowledgment sent {"connection_id":46071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:08:26] local.INFO: TCP Data received {"connection_id":46071,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46071,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:08:26] local.INFO: Processing buffer {"connection_id":46071,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:08:26] local.INFO: IMEI packet received {"connection_id":46071,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":46071,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:08:28] local.INFO: TCP Data received {"connection_id":46071,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bde1888012d1b7840072571300033010229..."} 
[2026-04-17 20:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bde1888012d1b7840072571300033010229..."} 
[2026-04-17 20:08:28] local.INFO: Processing buffer {"connection_id":46071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bde1888012d1b7840072571300033010229..."} 
[2026-04-17 20:08:28] local.INFO: Packet analysis {"connection_id":46071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bde"} 
[2026-04-17 20:08:28] local.INFO: Extracted packet for processing {"connection_id":46071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bde"} 
[2026-04-17 20:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767742976001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:08:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776436517000,"timestamp_ms":1776436517000,"timestamp_seconds":1776436517,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bde1888"} 
[2026-04-17 20:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:08: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-04-17 20: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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 20:08:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1311,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767742976001,"66":12341,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767742976001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:08:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:08:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767742976001,"power":12341,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":46071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22917,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:08:28] local.INFO: GPS data processed {"connection_id":46071,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:08:28] local.INFO: Acknowledgment sent {"connection_id":46071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:08:31] local.INFO: TCP Data received {"connection_id":46408,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdec080012d7d358005c7cfa00008015633..."} 
[2026-04-17 20:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46408,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdec080012d7d358005c7cfa00008015633..."} 
[2026-04-17 20:08:31] local.INFO: Processing buffer {"connection_id":46408,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdec080012d7d358005c7cfa00008015633..."} 
[2026-04-17 20:08:31] local.INFO: Packet analysis {"connection_id":46408,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bde"} 
[2026-04-17 20:08:31] local.INFO: Extracted packet for processing {"connection_id":46408,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bde"} 
[2026-04-17 20:08:31] local.INFO: GPS Element Parsed {"raw_longitude":763180416,"raw_latitude":96980896,"longitude_deg":76.3180416,"latitude_deg":9.6980896,"altitude":8,"angle":342,"satellites":51,"speed":12,"hex_longitude":"2d7d3580","hex_latitude":"05c7cfa0","is_valid_coordinates":true} 
[2026-04-17 20:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:08:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767753984001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:08:31] local.WARNING: Invalid GSM signal strength detected {"io_id":200,"raw_value":206,"corrected_to":0} 
[2026-04-17 20:08:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274157769777479680,"note":"Value kept but may cause issues"} 
[2026-04-17 20:08:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024721096867069952,"note":"Value kept but may cause issues"} 
[2026-04-17 20:08:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,200,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[{"io_id":200,"original":206,"validated":0}]} 
[2026-04-17 20:08:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776436560000,"timestamp_ms":1776436560000,"timestamp_seconds":1776436560,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdec080"} 
[2026-04-17 20:08:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:08:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:08:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 20:08:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:08:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:08:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:08:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:08:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46408,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:08:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:08:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46408,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:08:31] 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-04-17 20:08:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:08:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:08:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767753984001,"66":27376,"200":0,"85":12288,"24":12,"16":274157769777479680,"45":9024721096867069952},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,200,85,24,16,45]} 
[2026-04-17 20:08:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:08:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:08:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767753984001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:08:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":12288,"description":"Unknown IO ID 85"} 
[2026-04-17 20:08:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274157769777479680,"km_value":274157769777479.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:08:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024721096867069952,"description":"Unknown IO ID 45"} 
[2026-04-17 20:08:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767753984001,"power":27376,"gsm_signal":0,"unknown_85":12288,"ignition":12,"odometer":null,"unknown_45":9024721096867069952}} 
[2026-04-17 20:08:31] local.INFO: DEBUG: GPS processor result {"connection_id":46408,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22918,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:08:31] local.INFO: GPS data processed {"connection_id":46408,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:08:31] local.INFO: Acknowledgment sent {"connection_id":46408,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:08:50] local.INFO: TCP Data received {"connection_id":46918,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:08:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:08:50] local.INFO: Processing buffer {"connection_id":46918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:08:50] local.INFO: IMEI packet received {"connection_id":46918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:08:50] local.INFO: IMEI acknowledgment sent {"connection_id":46918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:08:53] local.INFO: TCP Data received {"connection_id":46918,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:08:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:08:53] local.INFO: Processing buffer {"connection_id":46918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:08:53] local.INFO: IMEI packet received {"connection_id":46918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:08:53] local.INFO: IMEI acknowledgment sent {"connection_id":46918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:08:55] local.INFO: TCP Data received {"connection_id":46918,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46918,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:08:55] local.INFO: Processing buffer {"connection_id":46918,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:08:55] local.INFO: IMEI packet received {"connection_id":46918,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":46918,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:08:56] local.INFO: TCP Data received {"connection_id":46918,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be06e30012d7d080005c953c00008016634..."} 
[2026-04-17 20:08:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be06e30012d7d080005c953c00008016634..."} 
[2026-04-17 20:08:56] local.INFO: Processing buffer {"connection_id":46918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be06e30012d7d080005c953c00008016634..."} 
[2026-04-17 20:08:56] local.INFO: Packet analysis {"connection_id":46918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be0"} 
[2026-04-17 20:08:56] local.INFO: Extracted packet for processing {"connection_id":46918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be0"} 
[2026-04-17 20:08:56] local.INFO: GPS Element Parsed {"raw_longitude":763168768,"raw_latitude":97080256,"longitude_deg":76.3168768,"latitude_deg":9.7080256,"altitude":8,"angle":358,"satellites":52,"speed":50,"hex_longitude":"2d7d0800","hex_latitude":"05c953c0","is_valid_coordinates":true} 
[2026-04-17 20:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:08:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767785472001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:08:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274162648860327936,"note":"Value kept but may cause issues"} 
[2026-04-17 20:08:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009732554381580288,"note":"Value kept but may cause issues"} 
[2026-04-17 20:08:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:08:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776436670000,"timestamp_ms":1776436670000,"timestamp_seconds":1776436670,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be06e30"} 
[2026-04-17 20:08:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:08:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:08:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:08:56] 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-04-17 20:08:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:08:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:08:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:08:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:08:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:08:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:08:56] 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-04-17 20:08:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:08:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:08:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767785472001,"66":27397,"131":206,"85":15104,"24":50,"16":274162648860327936,"45":9009732554381580288},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-17 20:08:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:08:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:08:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767785472001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:08:56] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 20:08:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:08:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274162648860327936,"km_value":274162648860327.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:08:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009732554381580288,"description":"Unknown IO ID 45"} 
[2026-04-17 20:08:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767785472001,"power":27397,"unknown_131":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":9009732554381580288}} 
[2026-04-17 20:08:56] local.INFO: DEBUG: GPS processor result {"connection_id":46918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22919,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:08:56] local.INFO: GPS data processed {"connection_id":46918,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:08:56] local.INFO: Acknowledgment sent {"connection_id":46918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:08:59] local.INFO: TCP Data received {"connection_id":46071,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bde6a90012d1b7840072571300033010226..."} 
[2026-04-17 20:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46071,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bde6a90012d1b7840072571300033010226..."} 
[2026-04-17 20:08:59] local.INFO: Processing buffer {"connection_id":46071,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bde6a90012d1b7840072571300033010226..."} 
[2026-04-17 20:08:59] local.INFO: Packet analysis {"connection_id":46071,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bde"} 
[2026-04-17 20:08:59] local.INFO: Extracted packet for processing {"connection_id":46071,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bde"} 
[2026-04-17 20:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":38,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767748352001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776436538000,"timestamp_ms":1776436538000,"timestamp_seconds":1776436538,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bde6a90"} 
[2026-04-17 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-04-17 20:08: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-04-17 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 20:08:59] 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-04-17 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-04-17 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-04-17 20:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46071,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46071,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767748352001,"66":12341,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767748352001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:08:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:08:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767748352001,"power":12341,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":46071,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22920,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:08:59] local.INFO: GPS data processed {"connection_id":46071,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:08:59] local.INFO: Acknowledgment sent {"connection_id":46071,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:09:21] local.INFO: TCP Data received {"connection_id":46169,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:09:21] local.INFO: Processing buffer {"connection_id":46169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:09:21] local.INFO: IMEI packet received {"connection_id":46169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":46169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:09:25] local.INFO: TCP Data received {"connection_id":46169,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:09:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:09:25] local.INFO: Processing buffer {"connection_id":46169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:09:25] local.INFO: IMEI packet received {"connection_id":46169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:09:25] local.INFO: IMEI acknowledgment sent {"connection_id":46169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:09:27] local.INFO: TCP Data received {"connection_id":46169,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdebc98012d1b7840072571300033010228..."} 
[2026-04-17 20:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdebc98012d1b7840072571300033010228..."} 
[2026-04-17 20:09:27] local.INFO: Processing buffer {"connection_id":46169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdebc98012d1b7840072571300033010228..."} 
[2026-04-17 20:09:27] local.INFO: Packet analysis {"connection_id":46169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bde"} 
[2026-04-17 20:09:27] local.INFO: Extracted packet for processing {"connection_id":46169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bde"} 
[2026-04-17 20:09:27] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767753728001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776436559000,"timestamp_ms":1776436559000,"timestamp_seconds":1776436559,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdebc98"} 
[2026-04-17 20:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:09: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-04-17 20:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 20:09: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-04-17 20:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767753728001,"66":12406,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767753728001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:09:27] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:09:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767753728001,"power":12406,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":46169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22921,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:09:27] local.INFO: GPS data processed {"connection_id":46169,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:09:27] local.INFO: Acknowledgment sent {"connection_id":46169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:09:27] local.INFO: TCP Data received {"connection_id":46918,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be08988012d7d07c005c979600007000034..."} 
[2026-04-17 20:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46918,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be08988012d7d07c005c979600007000034..."} 
[2026-04-17 20:09:27] local.INFO: Processing buffer {"connection_id":46918,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be08988012d7d07c005c979600007000034..."} 
[2026-04-17 20:09:27] local.INFO: Packet analysis {"connection_id":46918,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be0"} 
[2026-04-17 20:09:27] local.INFO: Extracted packet for processing {"connection_id":46918,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be0"} 
[2026-04-17 20:09:27] local.INFO: GPS Element Parsed {"raw_longitude":763168704,"raw_latitude":97089888,"longitude_deg":76.3168704,"latitude_deg":9.7089888,"altitude":7,"angle":0,"satellites":52,"speed":58,"hex_longitude":"2d7d07c0","hex_latitude":"05c97960","is_valid_coordinates":true} 
[2026-04-17 20:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767787520001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274163112716795904,"note":"Value kept but may cause issues"} 
[2026-04-17 20:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9009451079407222784,"note":"Value kept but may cause issues"} 
[2026-04-17 20:09:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776436677000,"timestamp_ms":1776436677000,"timestamp_seconds":1776436677,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be08988"} 
[2026-04-17 20:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:09:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:09:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46918,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46918,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767787520001,"66":27376,"131":206,"85":15104,"24":58,"16":274163112716795904,"45":9009451079407222784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-17 20:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767787520001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:09:27] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 20:09:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274163112716795904,"km_value":274163112716795.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9009451079407222784,"description":"Unknown IO ID 45"} 
[2026-04-17 20:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767787520001,"power":27376,"unknown_131":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9009451079407222784}} 
[2026-04-17 20:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":46918,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22922,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:09:27] local.INFO: GPS data processed {"connection_id":46918,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:09:27] local.INFO: Acknowledgment sent {"connection_id":46918,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:09:49] local.INFO: TCP Data received {"connection_id":46072,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:09:49] local.INFO: Processing buffer {"connection_id":46072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:09:49] local.INFO: IMEI packet received {"connection_id":46072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":46072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:09:51] local.INFO: TCP Data received {"connection_id":46072,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:09:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:09:51] local.INFO: Processing buffer {"connection_id":46072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:09:51] local.INFO: IMEI packet received {"connection_id":46072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:09:51] local.INFO: IMEI acknowledgment sent {"connection_id":46072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:09:55] local.INFO: TCP Data received {"connection_id":46072,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46072,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:09:55] local.INFO: Processing buffer {"connection_id":46072,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:09:55] local.INFO: IMEI packet received {"connection_id":46072,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":46072,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:09:56] local.INFO: TCP Data received {"connection_id":46072,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be18b58012d7d298005caf9d00005000436..."} 
[2026-04-17 20:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be18b58012d7d298005caf9d00005000436..."} 
[2026-04-17 20:09:56] local.INFO: Processing buffer {"connection_id":46072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be18b58012d7d298005caf9d00005000436..."} 
[2026-04-17 20:09:56] local.INFO: Packet analysis {"connection_id":46072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be1"} 
[2026-04-17 20:09:56] local.INFO: Extracted packet for processing {"connection_id":46072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be1"} 
[2026-04-17 20:09:56] local.INFO: GPS Element Parsed {"raw_longitude":763177344,"raw_latitude":97188304,"longitude_deg":76.3177344,"latitude_deg":9.7188304,"altitude":5,"angle":4,"satellites":54,"speed":58,"hex_longitude":"2d7d2980","hex_latitude":"05caf9d0","is_valid_coordinates":true} 
[2026-04-17 20:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767804672001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274167905900298240,"note":"Value kept but may cause issues"} 
[2026-04-17 20:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018176803710642176,"note":"Value kept but may cause issues"} 
[2026-04-17 20:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776436743000,"timestamp_ms":1776436743000,"timestamp_seconds":1776436743,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be18b58"} 
[2026-04-17 20:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 20:09:56] 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-04-17 20:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:09:56] 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-04-17 20:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767804672001,"66":27397,"131":206,"85":15104,"24":58,"16":274167905900298240,"45":9018176803710642176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-17 20:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767804672001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:09:56] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 20:09:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274167905900298240,"km_value":274167905900298.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018176803710642176,"description":"Unknown IO ID 45"} 
[2026-04-17 20:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767804672001,"power":27397,"unknown_131":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9018176803710642176}} 
[2026-04-17 20:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":46072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22923,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:09:56] local.INFO: GPS data processed {"connection_id":46072,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:09:56] local.INFO: Acknowledgment sent {"connection_id":46072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:09:58] local.INFO: TCP Data received {"connection_id":46169,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdf0ea0012d1b784007257130003301022a..."} 
[2026-04-17 20:09:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdf0ea0012d1b784007257130003301022a..."} 
[2026-04-17 20:09:58] local.INFO: Processing buffer {"connection_id":46169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdf0ea0012d1b784007257130003301022a..."} 
[2026-04-17 20:09:58] local.INFO: Packet analysis {"connection_id":46169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdf"} 
[2026-04-17 20:09:58] local.INFO: Extracted packet for processing {"connection_id":46169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdf"} 
[2026-04-17 20:09:58] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:09:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767759104001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:09:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:09:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:09:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:09:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776436580000,"timestamp_ms":1776436580000,"timestamp_seconds":1776436580,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdf0ea0"} 
[2026-04-17 20:09:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:09: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-04-17 20:09:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 20:09:58] 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-04-17 20:09:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:09:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:09:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:09:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:09:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:09:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:09:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:09:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:09:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:09:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767759104001,"66":11547,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:09:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:09:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:09:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767759104001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:09:58] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:09:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:09:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:09:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:09:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767759104001,"power":11547,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:09:58] local.INFO: DEBUG: GPS processor result {"connection_id":46169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22924,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:09:58] local.INFO: GPS data processed {"connection_id":46169,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:09:58] local.INFO: Acknowledgment sent {"connection_id":46169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:10:21] local.INFO: TCP Data received {"connection_id":46409,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:10:21] local.INFO: Processing buffer {"connection_id":46409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:10:21] local.INFO: IMEI packet received {"connection_id":46409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":46409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:10:22] local.INFO: TCP Data received {"connection_id":46409,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:10:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:10:22] local.INFO: Processing buffer {"connection_id":46409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:10:22] local.INFO: IMEI packet received {"connection_id":46409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:10:22] local.INFO: IMEI acknowledgment sent {"connection_id":46409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:10:27] local.INFO: TCP Data received {"connection_id":46072,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be1a6b0012d7d2a0005cb1dc00006015f34..."} 
[2026-04-17 20:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46072,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be1a6b0012d7d2a0005cb1dc00006015f34..."} 
[2026-04-17 20:10:27] local.INFO: Processing buffer {"connection_id":46072,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be1a6b0012d7d2a0005cb1dc00006015f34..."} 
[2026-04-17 20:10:27] local.INFO: Packet analysis {"connection_id":46072,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be1"} 
[2026-04-17 20:10:27] local.INFO: Extracted packet for processing {"connection_id":46072,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be1"} 
[2026-04-17 20:10:27] local.INFO: GPS Element Parsed {"raw_longitude":763177472,"raw_latitude":97197504,"longitude_deg":76.3177472,"latitude_deg":9.7197504,"altitude":6,"angle":351,"satellites":52,"speed":39,"hex_longitude":"2d7d2a00","hex_latitude":"05cb1dc0","is_valid_coordinates":true} 
[2026-04-17 20:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767806208001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274168352576897024,"note":"Value kept but may cause issues"} 
[2026-04-17 20:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018880491154690048,"note":"Value kept but may cause issues"} 
[2026-04-17 20:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776436750000,"timestamp_ms":1776436750000,"timestamp_seconds":1776436750,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be1a6b0"} 
[2026-04-17 20:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46072,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46072,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767806208001,"66":27267,"131":206,"85":15104,"24":39,"16":274168352576897024,"45":9018880491154690048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,85,24,16,45]} 
[2026-04-17 20:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767806208001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:10:27] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 20:10:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274168352576897024,"km_value":274168352576897.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018880491154690048,"description":"Unknown IO ID 45"} 
[2026-04-17 20:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767806208001,"power":27267,"unknown_131":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":9018880491154690048}} 
[2026-04-17 20:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":46072,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22925,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:10:27] local.INFO: GPS data processed {"connection_id":46072,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:10:27] local.INFO: Acknowledgment sent {"connection_id":46072,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:10:29] local.INFO: TCP Data received {"connection_id":46409,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:10:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46409,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:10:29] local.INFO: Processing buffer {"connection_id":46409,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:10:29] local.INFO: IMEI packet received {"connection_id":46409,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:10:29] local.INFO: IMEI acknowledgment sent {"connection_id":46409,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:10:30] local.INFO: TCP Data received {"connection_id":46409,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdf60a8012d1b7840072571300033010229..."} 
[2026-04-17 20:10:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdf60a8012d1b7840072571300033010229..."} 
[2026-04-17 20:10:30] local.INFO: Processing buffer {"connection_id":46409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdf60a8012d1b7840072571300033010229..."} 
[2026-04-17 20:10:30] local.INFO: Packet analysis {"connection_id":46409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdf"} 
[2026-04-17 20:10:30] local.INFO: Extracted packet for processing {"connection_id":46409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdf"} 
[2026-04-17 20:10:30] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:10:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767764480001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:10:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:10:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:10:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:10:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776436601000,"timestamp_ms":1776436601000,"timestamp_seconds":1776436601,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdf60a8"} 
[2026-04-17 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-04-17 20:10: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-04-17 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":45,"n8_eight_byte":27,"data_length":795,"current_offset":136} 
[2026-04-17 20:10:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":666,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 20:10:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:10:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:10:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:10:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:10:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:10:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:10:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:10:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767764480001,"66":12319,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:10:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:10:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:10:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767764480001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:10:30] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:10:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:10:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:10:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:10:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767764480001,"power":12319,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:10:30] local.INFO: DEBUG: GPS processor result {"connection_id":46409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22926,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:10:30] local.INFO: GPS data processed {"connection_id":46409,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:10:30] local.INFO: Acknowledgment sent {"connection_id":46409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:11:01] local.INFO: TCP Data received {"connection_id":46409,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bdfb2b0012d1b784007257130003301022a..."} 
[2026-04-17 20:11:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46409,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bdfb2b0012d1b784007257130003301022a..."} 
[2026-04-17 20:11:01] local.INFO: Processing buffer {"connection_id":46409,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bdfb2b0012d1b784007257130003301022a..."} 
[2026-04-17 20:11:01] local.INFO: Packet analysis {"connection_id":46409,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bdf"} 
[2026-04-17 20:11:01] local.INFO: Extracted packet for processing {"connection_id":46409,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bdf"} 
[2026-04-17 20:11:01] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:11:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767769856001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:11:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:11:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:11:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:11:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776436622000,"timestamp_ms":1776436622000,"timestamp_seconds":1776436622,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bdfb2b0"} 
[2026-04-17 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-04-17 20:11: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-04-17 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":48,"n8_eight_byte":31,"data_length":795,"current_offset":136} 
[2026-04-17 20:11:01] 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-04-17 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-04-17 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-04-17 20:11:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:11:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46409,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:11:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:11:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46409,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:11:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:11:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:11:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:11:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767769856001,"66":12341,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:11:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:11:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:11:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767769856001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:11:01] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:11:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:11:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:11:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:11:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767769856001,"power":12341,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:11:01] local.INFO: DEBUG: GPS processor result {"connection_id":46409,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22927,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:11:01] local.INFO: GPS data processed {"connection_id":46409,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:11:01] local.INFO: Acknowledgment sent {"connection_id":46409,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:11:13] local.INFO: TCP Data received {"connection_id":46920,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:11:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46920,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:11:13] local.INFO: Processing buffer {"connection_id":46920,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:11:13] local.INFO: IMEI packet received {"connection_id":46920,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:11:13] local.INFO: IMEI acknowledgment sent {"connection_id":46920,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:11:24] local.INFO: TCP Data received {"connection_id":46410,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:11:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:11:24] local.INFO: Processing buffer {"connection_id":46410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:11:24] local.INFO: IMEI packet received {"connection_id":46410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:11:24] local.INFO: IMEI acknowledgment sent {"connection_id":46410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:11:26] local.INFO: TCP Data received {"connection_id":46410,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:11:26] local.INFO: Processing buffer {"connection_id":46410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:11:26] local.INFO: IMEI packet received {"connection_id":46410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":46410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:11:31] local.INFO: TCP Data received {"connection_id":46410,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46410,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:11:31] local.INFO: Processing buffer {"connection_id":46410,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:11:31] local.INFO: IMEI packet received {"connection_id":46410,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":46410,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:11:33] local.INFO: TCP Data received {"connection_id":46410,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be004b8012d1b7840072571300033010228..."} 
[2026-04-17 20:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be004b8012d1b7840072571300033010228..."} 
[2026-04-17 20:11:33] local.INFO: Processing buffer {"connection_id":46410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be004b8012d1b7840072571300033010228..."} 
[2026-04-17 20:11:33] local.INFO: Packet analysis {"connection_id":46410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be0"} 
[2026-04-17 20:11:33] local.INFO: Extracted packet for processing {"connection_id":46410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be0"} 
[2026-04-17 20:11:33] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":40,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:11:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767775232001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:11:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:11:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:11:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:11:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776436643000,"timestamp_ms":1776436643000,"timestamp_seconds":1776436643,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be004b8"} 
[2026-04-17 20:11:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:11: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-04-17 20: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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 20:11:33] 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-04-17 20: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-04-17 20:11:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:11:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:11:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:11:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:11:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:11:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:11:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:11:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:11:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767775232001,"66":12341,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:11:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:11:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:11:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767775232001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:11:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:11:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:11:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:11:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:11:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767775232001,"power":12341,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:11:33] local.INFO: DEBUG: GPS processor result {"connection_id":46410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22928,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:11:33] local.INFO: GPS data processed {"connection_id":46410,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:11:33] local.INFO: Acknowledgment sent {"connection_id":46410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:11:33] local.INFO: TCP Data received {"connection_id":46171,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:11:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46171,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:11:33] local.INFO: Processing buffer {"connection_id":46171,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:11:33] local.INFO: IMEI packet received {"connection_id":46171,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:11:33] local.INFO: IMEI acknowledgment sent {"connection_id":46171,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:11:37] local.INFO: TCP Data received {"connection_id":46410,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be056c0012d1b784007257130003301022a..."} 
[2026-04-17 20:11:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46410,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be056c0012d1b784007257130003301022a..."} 
[2026-04-17 20:11:37] local.INFO: Processing buffer {"connection_id":46410,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be056c0012d1b784007257130003301022a..."} 
[2026-04-17 20:11:37] local.INFO: Packet analysis {"connection_id":46410,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be0"} 
[2026-04-17 20:11:37] local.INFO: Extracted packet for processing {"connection_id":46410,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be0"} 
[2026-04-17 20:11:37] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":42,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:11:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767780608001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:11:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:11:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:11:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:11:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776436664000,"timestamp_ms":1776436664000,"timestamp_seconds":1776436664,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be056c0"} 
[2026-04-17 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-04-17 20:11: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-04-17 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":48,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 20:11:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":915,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 20:11:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:11:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46410,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:11:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:11:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46410,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:11:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:11:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:11:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:11:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767780608001,"66":12374,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:11:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:11:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:11:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767780608001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:11:37] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:11:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:11:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:11:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:11:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767780608001,"power":12374,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":46410,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22929,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:11:37] local.INFO: GPS data processed {"connection_id":46410,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:11:37] local.INFO: Acknowledgment sent {"connection_id":46410,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:12:03] local.INFO: TCP Data received {"connection_id":46073,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:12:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46073,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:12:03] local.INFO: Processing buffer {"connection_id":46073,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:12:03] local.INFO: IMEI packet received {"connection_id":46073,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:12:03] local.INFO: IMEI acknowledgment sent {"connection_id":46073,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:12:21] local.INFO: TCP Data received {"connection_id":46173,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:12:21] local.INFO: Processing buffer {"connection_id":46173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:12:21] local.INFO: IMEI packet received {"connection_id":46173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":46173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:12:26] local.INFO: TCP Data received {"connection_id":46173,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:12:26] local.INFO: Processing buffer {"connection_id":46173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:12:26] local.INFO: IMEI packet received {"connection_id":46173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":46173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:12:28] local.INFO: TCP Data received {"connection_id":46173,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be0a8c8012d1b7840072571300033010229..."} 
[2026-04-17 20:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be0a8c8012d1b7840072571300033010229..."} 
[2026-04-17 20:12:28] local.INFO: Processing buffer {"connection_id":46173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be0a8c8012d1b7840072571300033010229..."} 
[2026-04-17 20:12:28] local.INFO: Packet analysis {"connection_id":46173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be0"} 
[2026-04-17 20:12:28] local.INFO: Extracted packet for processing {"connection_id":46173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be0"} 
[2026-04-17 20:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":41,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767785984001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:12:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776436685000,"timestamp_ms":1776436685000,"timestamp_seconds":1776436685,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be0a8c8"} 
[2026-04-17 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-04-17 20:12: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-04-17 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":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 20:12:28] 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-04-17 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-04-17 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-04-17 20:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767785984001,"66":12374,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767785984001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:12:28] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:12:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767785984001,"power":12374,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":46173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22930,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:12:28] local.INFO: GPS data processed {"connection_id":46173,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:12:28] local.INFO: Acknowledgment sent {"connection_id":46173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:12:59] local.INFO: TCP Data received {"connection_id":46173,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be0fad0012d1b7840072571300033010225..."} 
[2026-04-17 20:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be0fad0012d1b7840072571300033010225..."} 
[2026-04-17 20:12:59] local.INFO: Processing buffer {"connection_id":46173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be0fad0012d1b7840072571300033010225..."} 
[2026-04-17 20:12:59] local.INFO: Packet analysis {"connection_id":46173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be0"} 
[2026-04-17 20:12:59] local.INFO: Extracted packet for processing {"connection_id":46173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be0"} 
[2026-04-17 20:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756774976,"raw_latitude":119894320,"longitude_deg":75.6774976,"latitude_deg":11.989432,"altitude":51,"angle":258,"satellites":37,"speed":0,"hex_longitude":"2d1b7840","hex_latitude":"07257130","is_valid_coordinates":true} 
[2026-04-17 20:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767791360001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511858169708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1979402435666456576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:12:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776436706000,"timestamp_ms":1776436706000,"timestamp_seconds":1776436706,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be0fad0"} 
[2026-04-17 20:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:12: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-04-17 20:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 20:12:59] 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-04-17 20:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767791360001,"66":11602,"80":206,"28":31744,"24":0,"16":113511858169708544,"45":1979402435666456576},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767791360001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:12:59] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:12:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511858169708544,"km_value":113511858169708.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1979402435666456576,"description":"Unknown IO ID 45"} 
[2026-04-17 20:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767791360001,"power":11602,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1979402435666456576}} 
[2026-04-17 20:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":46173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22931,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:12:59] local.INFO: GPS data processed {"connection_id":46173,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:12:59] local.INFO: Acknowledgment sent {"connection_id":46173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:13:22] local.INFO: TCP Data received {"connection_id":46412,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:13:22] local.INFO: Processing buffer {"connection_id":46412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:13:22] local.INFO: IMEI packet received {"connection_id":46412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":46412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:13:22] local.INFO: TCP Data received {"connection_id":46412,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:13:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:13:22] local.INFO: Processing buffer {"connection_id":46412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:13:22] local.INFO: IMEI packet received {"connection_id":46412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:13:22] local.INFO: IMEI acknowledgment sent {"connection_id":46412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:13:23] local.INFO: TCP Data received {"connection_id":46412,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:13:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46412,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:13:23] local.INFO: Processing buffer {"connection_id":46412,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:13:23] local.INFO: IMEI packet received {"connection_id":46412,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:13:23] local.INFO: IMEI acknowledgment sent {"connection_id":46412,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:13:24] local.INFO: TCP Data received {"connection_id":46412,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be465d0012d1b750007256f20002600d327..."} 
[2026-04-17 20:13:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be465d0012d1b750007256f20002600d327..."} 
[2026-04-17 20:13:24] local.INFO: Processing buffer {"connection_id":46412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be465d0012d1b750007256f20002600d327..."} 
[2026-04-17 20:13:24] local.INFO: Packet analysis {"connection_id":46412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be4"} 
[2026-04-17 20:13:24] local.INFO: Extracted packet for processing {"connection_id":46412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be4"} 
[2026-04-17 20:13:24] local.INFO: GPS Element Parsed {"raw_longitude":756774144,"raw_latitude":119893792,"longitude_deg":75.6774144,"latitude_deg":11.9893792,"altitude":38,"angle":211,"satellites":39,"speed":0,"hex_longitude":"2d1b7500","hex_latitude":"07256f20","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:13:24] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767848704001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:13:24] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511909709316096,"note":"Value kept but may cause issues"} 
[2026-04-17 20:13:24] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978487641992011776,"note":"Value kept but may cause issues"} 
[2026-04-17 20:13:24] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:13:24] local.INFO: AVL Record Parsed {"raw_timestamp":1776436930000,"timestamp_ms":1776436930000,"timestamp_seconds":1776436930,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be465d0"} 
[2026-04-17 20:13:24] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:13:24] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-17 20:13:24] 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-04-17 20: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-04-17 20:13:24] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:13:24] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:13:24] local.INFO: Teltonika packet parsed successfully {"connection_id":46412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:13:24] local.INFO: Passing IMEI to GPS processor {"connection_id":46412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:13:24] local.INFO: DEBUG: About to call GPS processor {"connection_id":46412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:13:24] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:13:24] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:13:24] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:13:24] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767848704001,"66":13559,"80":206,"28":31744,"24":0,"16":113511909709316096,"45":1978487641992011776},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:13:24] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:13:24] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:13:24] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767848704001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:13:24] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:13:24] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:13:24] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511909709316096,"km_value":113511909709316.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:13:24] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978487641992011776,"description":"Unknown IO ID 45"} 
[2026-04-17 20:13:24] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767848704001,"power":13559,"unknown_80":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1978487641992011776}} 
[2026-04-17 20:13:24] local.INFO: DEBUG: GPS processor result {"connection_id":46412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22932,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:13:24] local.INFO: GPS data processed {"connection_id":46412,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:13:24] local.INFO: Acknowledgment sent {"connection_id":46412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:13:26] local.INFO: TCP Data received {"connection_id":46412,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be4b3f0012d1b7400072570080027012625..."} 
[2026-04-17 20:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be4b3f0012d1b7400072570080027012625..."} 
[2026-04-17 20:13:26] local.INFO: Processing buffer {"connection_id":46412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be4b3f0012d1b7400072570080027012625..."} 
[2026-04-17 20:13:26] local.INFO: Packet analysis {"connection_id":46412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be4"} 
[2026-04-17 20:13:26] local.INFO: Extracted packet for processing {"connection_id":46412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be4"} 
[2026-04-17 20:13:26] local.INFO: GPS Element Parsed {"raw_longitude":756773888,"raw_latitude":119894024,"longitude_deg":75.6773888,"latitude_deg":11.9894024,"altitude":39,"angle":294,"satellites":37,"speed":3,"hex_longitude":"2d1b7400","hex_latitude":"07257008","is_valid_coordinates":true} 
[2026-04-17 20:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:13:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767854080001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:13:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511922594217984,"note":"Value kept but may cause issues"} 
[2026-04-17 20:13:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978487641992011776,"note":"Value kept but may cause issues"} 
[2026-04-17 20:13:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:13:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776436950000,"timestamp_ms":1776436950000,"timestamp_seconds":1776436950,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be4b3f0"} 
[2026-04-17 20:13:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:13:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:13:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-17 20:13:26] 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-04-17 20:13:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:13:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:13:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:13:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:13:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:13:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:13:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:13:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:13:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:13:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767854080001,"66":12776,"80":206,"28":31744,"24":3,"16":113511922594217984,"45":1978487641992011776},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:13:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:13:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:13:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767854080001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:13:26] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:13:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:13:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511922594217984,"km_value":113511922594217.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:13:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978487641992011776,"description":"Unknown IO ID 45"} 
[2026-04-17 20:13:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767854080001,"power":12776,"unknown_80":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1978487641992011776}} 
[2026-04-17 20:13:26] local.INFO: DEBUG: GPS processor result {"connection_id":46412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22933,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:13:26] local.INFO: GPS data processed {"connection_id":46412,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:13:26] local.INFO: Acknowledgment sent {"connection_id":46412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:13:57] local.INFO: TCP Data received {"connection_id":46412,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be4bbc0012d1b7380072570380028011a24..."} 
[2026-04-17 20:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46412,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be4bbc0012d1b7380072570380028011a24..."} 
[2026-04-17 20:13:57] local.INFO: Processing buffer {"connection_id":46412,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be4bbc0012d1b7380072570380028011a24..."} 
[2026-04-17 20:13:57] local.INFO: Packet analysis {"connection_id":46412,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be4"} 
[2026-04-17 20:13:57] local.INFO: Extracted packet for processing {"connection_id":46412,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be4"} 
[2026-04-17 20:13:57] local.INFO: GPS Element Parsed {"raw_longitude":756773760,"raw_latitude":119894072,"longitude_deg":75.677376,"latitude_deg":11.9894072,"altitude":40,"angle":282,"satellites":36,"speed":3,"hex_longitude":"2d1b7380","hex_latitude":"07257038","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767859200001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511931184152576,"note":"Value kept but may cause issues"} 
[2026-04-17 20:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978206167015360512,"note":"Value kept but may cause issues"} 
[2026-04-17 20:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776436952000,"timestamp_ms":1776436952000,"timestamp_seconds":1776436952,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be4bbc0"} 
[2026-04-17 20:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:13: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-04-17 20: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":49,"n8_eight_byte":232,"data_length":795,"current_offset":136} 
[2026-04-17 20:13:57] 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-04-17 20:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46412,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46412,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767859200001,"66":12037,"80":206,"28":31744,"24":3,"16":113511931184152576,"45":1978206167015360512},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767859200001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:13:57] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:13:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511931184152576,"km_value":113511931184152.58,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978206167015360512,"description":"Unknown IO ID 45"} 
[2026-04-17 20:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767859200001,"power":12037,"unknown_80":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1978206167015360512}} 
[2026-04-17 20:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":46412,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22934,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:13:57] local.INFO: GPS data processed {"connection_id":46412,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:13:57] local.INFO: Acknowledgment sent {"connection_id":46412,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:14:22] local.INFO: TCP Data received {"connection_id":46923,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:14:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:14:22] local.INFO: Processing buffer {"connection_id":46923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:14:22] local.INFO: IMEI packet received {"connection_id":46923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:14:22] local.INFO: IMEI acknowledgment sent {"connection_id":46923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:14:28] local.INFO: TCP Data received {"connection_id":46923,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:14:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:14:28] local.INFO: Processing buffer {"connection_id":46923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:14:28] local.INFO: IMEI packet received {"connection_id":46923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:14:28] local.INFO: IMEI acknowledgment sent {"connection_id":46923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:14:32] local.INFO: TCP Data received {"connection_id":46923,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:14:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46923,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:14:32] local.INFO: Processing buffer {"connection_id":46923,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:14:32] local.INFO: IMEI packet received {"connection_id":46923,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:14:32] local.INFO: IMEI acknowledgment sent {"connection_id":46923,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:14:33] local.INFO: TCP Data received {"connection_id":46923,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be4d718012d1b710007257080002a010b28..."} 
[2026-04-17 20:14:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be4d718012d1b710007257080002a010b28..."} 
[2026-04-17 20:14:33] local.INFO: Processing buffer {"connection_id":46923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be4d718012d1b710007257080002a010b28..."} 
[2026-04-17 20:14:33] local.INFO: Packet analysis {"connection_id":46923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be4"} 
[2026-04-17 20:14:33] local.INFO: Extracted packet for processing {"connection_id":46923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be4"} 
[2026-04-17 20:14:33] local.INFO: GPS Element Parsed {"raw_longitude":756773120,"raw_latitude":119894144,"longitude_deg":75.677312,"latitude_deg":11.9894144,"altitude":42,"angle":267,"satellites":40,"speed":3,"hex_longitude":"2d1b7100","hex_latitude":"07257080","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:14:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767859712001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511961248923648,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1978065429527017472,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:14:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776436959000,"timestamp_ms":1776436959000,"timestamp_seconds":1776436959,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be4d718"} 
[2026-04-17 20:14:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:14: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-04-17 20: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:14:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2615352752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:33] local.WARNING: Large IO value detected {"io_id":111,"raw_value":3087084827,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:33] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3821125633,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1778920967570194408,"corrected_to":0} 
[2026-04-17 20:14:33] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182199644848384,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2697409886827893549,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:33] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194883584,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:33] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,80,28,24,241,158,16,70,157,179,45,112,39,37,10,66,101,111,38,19,1,240,145,155,4,113,205,117,32,43,239,48,2,147,7,69],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":205,"original":-1778920967570194408,"validated":0}]} 
[2026-04-17 20:14:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882613978415169536,"timestamp_seconds":2882613978415169.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 20:14:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:14:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:14:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:14:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:14:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:14:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:14:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:14:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:14:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767859712001,"66":13580,"80":206,"28":31744,"24":3,"16":113511961248923648,"45":1978065429527017472},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:14:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:14:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:14:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767859712001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:14:33] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:14:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:14:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511961248923648,"km_value":113511961248923.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:14:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1978065429527017472,"description":"Unknown IO ID 45"} 
[2026-04-17 20:14:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767859712001,"power":13580,"unknown_80":206,"unknown_28":31744,"ignition":3,"odometer":null,"unknown_45":1978065429527017472}} 
[2026-04-17 20:14:33] local.INFO: DEBUG: GPS processor result {"connection_id":46923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22935,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:14:33] local.INFO: GPS data processed {"connection_id":46923,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:14:33] local.INFO: Acknowledgment sent {"connection_id":46923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:14:34] local.INFO: TCP Data received {"connection_id":46923,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be4e6b8012d1b6f8007257038002b00fd2b..."} 
[2026-04-17 20:14:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be4e6b8012d1b6f8007257038002b00fd2b..."} 
[2026-04-17 20:14:34] local.INFO: Processing buffer {"connection_id":46923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be4e6b8012d1b6f8007257038002b00fd2b..."} 
[2026-04-17 20:14:34] local.INFO: Packet analysis {"connection_id":46923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be4"} 
[2026-04-17 20:14:34] local.INFO: Extracted packet for processing {"connection_id":46923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be4"} 
[2026-04-17 20:14:34] local.INFO: GPS Element Parsed {"raw_longitude":756772736,"raw_latitude":119894072,"longitude_deg":75.6772736,"latitude_deg":11.9894072,"altitude":43,"angle":253,"satellites":43,"speed":4,"hex_longitude":"2d1b6f80","hex_latitude":"07257038","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767861504001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113511978428792832,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1977361742085259264,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:34] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,80,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:14:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776436963000,"timestamp_ms":1776436963000,"timestamp_seconds":1776436963,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be4e6b8"} 
[2026-04-17 20:14:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:14: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-04-17 20: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-17 20:14:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867888966,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:34] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2615373752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:34] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7834439261834182656,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:34] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:34] local.WARNING: Invalid internal battery voltage detected {"io_id":247,"raw_value":13494096,"corrected_to":0} 
[2026-04-17 20:14:34] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3826501633,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:34] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18630447157077840,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:34] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3880779982,"corrected_to":0} 
[2026-04-17 20:14:34] local.WARNING: Large IO value detected {"io_id":193,"raw_value":3221302555,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:34] local.WARNING: Large IO value detected {"io_id":48,"raw_value":720802333742648860,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:34] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:34] local.WARNING: Large IO value detected {"io_id":27,"raw_value":8430746359797121062,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:34] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-17 20:14:34] local.INFO: IO Element Parsed {"io_data_count":40,"io_data_keys":[0,80,28,24,241,158,16,70,157,187,45,128,112,40,36,10,66,179,39,37,101,1,240,247,155,4,113,205,193,117,32,43,239,48,2,147,7,38,27,124],"length":577,"final_offset":707,"validated_count":40,"validation_warnings":[{"io_id":247,"original":13494096,"validated":0},{"io_id":205,"original":3880779982,"validated":0}]} 
[2026-04-17 20:14:34] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026712690996477952,"timestamp_seconds":3026712690996478.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 20:14:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:14:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:14:34] local.INFO: Teltonika packet parsed successfully {"connection_id":46923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:14:34] local.INFO: Passing IMEI to GPS processor {"connection_id":46923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:14:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":46923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:14:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:14:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:14:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:14:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767861504001,"66":13537,"80":206,"28":31744,"24":4,"16":113511978428792832,"45":1977361742085259264},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,80,28,24,16,45]} 
[2026-04-17 20:14:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:14:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:14:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767861504001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:14:34] local.INFO: Unknown IO ID detected {"io_id":80,"value":206,"description":"Unknown IO ID 80"} 
[2026-04-17 20:14:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:14:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113511978428792832,"km_value":113511978428792.83,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:14:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1977361742085259264,"description":"Unknown IO ID 45"} 
[2026-04-17 20:14:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767861504001,"power":13537,"unknown_80":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1977361742085259264}} 
[2026-04-17 20:14:34] local.INFO: DEBUG: GPS processor result {"connection_id":46923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22936,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:14:34] local.INFO: GPS data processed {"connection_id":46923,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:14:34] local.INFO: Acknowledgment sent {"connection_id":46923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:15:06] local.INFO: TCP Data received {"connection_id":46923,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be61b50012d1b5a800724f478002600a324..."} 
[2026-04-17 20:15:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46923,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be61b50012d1b5a800724f478002600a324..."} 
[2026-04-17 20:15:06] local.INFO: Processing buffer {"connection_id":46923,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be61b50012d1b5a800724f478002600a324..."} 
[2026-04-17 20:15:06] local.INFO: Packet analysis {"connection_id":46923,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be6"} 
[2026-04-17 20:15:06] local.INFO: Extracted packet for processing {"connection_id":46923,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be6"} 
[2026-04-17 20:15:06] local.INFO: GPS Element Parsed {"raw_longitude":756767360,"raw_latitude":119862392,"longitude_deg":75.676736,"latitude_deg":11.9862392,"altitude":38,"angle":163,"satellites":36,"speed":12,"hex_longitude":"2d1b5a80","hex_latitude":"0724f478","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:15:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767880704001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:15:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113513558976757760,"note":"Value kept but may cause issues"} 
[2026-04-17 20:15:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970606342636843008,"note":"Value kept but may cause issues"} 
[2026-04-17 20:15:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:15:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776437042000,"timestamp_ms":1776437042000,"timestamp_seconds":1776437042,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be61b50"} 
[2026-04-17 20:15:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:15: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-04-17 20: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":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-17 20:15: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-04-17 20: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-04-17 20:15:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:15:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:15:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46923,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:15:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:15:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46923,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:15:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:15:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:15:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:15:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767880704001,"66":13559,"62":206,"28":31744,"24":12,"16":113513558976757760,"45":1970606342636843008},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-17 20:15:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:15:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:15:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767880704001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:15:06] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 20:15:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:15:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113513558976757760,"km_value":113513558976757.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:15:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970606342636843008,"description":"Unknown IO ID 45"} 
[2026-04-17 20:15:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767880704001,"power":13559,"unknown_62":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1970606342636843008}} 
[2026-04-17 20:15:06] local.INFO: DEBUG: GPS processor result {"connection_id":46923,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22937,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:15:06] local.INFO: GPS data processed {"connection_id":46923,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:15:06] local.INFO: Acknowledgment sent {"connection_id":46923,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:15:21] local.INFO: TCP Data received {"connection_id":46177,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:15:21] local.INFO: Processing buffer {"connection_id":46177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:15:21] local.INFO: IMEI packet received {"connection_id":46177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":46177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:15:26] local.INFO: TCP Data received {"connection_id":46177,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46177,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:15:26] local.INFO: Processing buffer {"connection_id":46177,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:15:26] local.INFO: IMEI packet received {"connection_id":46177,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":46177,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:15:28] local.INFO: TCP Data received {"connection_id":46177,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be64648012d1b5c400724df18002200b129..."} 
[2026-04-17 20:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be64648012d1b5c400724df18002200b129..."} 
[2026-04-17 20:15:28] local.INFO: Processing buffer {"connection_id":46177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be64648012d1b5c400724df18002200b129..."} 
[2026-04-17 20:15:28] local.INFO: Packet analysis {"connection_id":46177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be6"} 
[2026-04-17 20:15:28] local.INFO: Extracted packet for processing {"connection_id":46177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be6"} 
[2026-04-17 20:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756767808,"raw_latitude":119856920,"longitude_deg":75.6767808,"latitude_deg":11.985692,"altitude":34,"angle":177,"satellites":41,"speed":20,"hex_longitude":"2d1b5c40","hex_latitude":"0724df18","is_valid_coordinates":true} 
[2026-04-17 20:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767882752001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113513825264730112,"note":"Value kept but may cause issues"} 
[2026-04-17 20:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971028555101140992,"note":"Value kept but may cause issues"} 
[2026-04-17 20:15:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776437053000,"timestamp_ms":1776437053000,"timestamp_seconds":1776437053,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be64648"} 
[2026-04-17 20:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:15: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-04-17 20:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-17 20:15:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767882752001,"66":13537,"62":206,"28":31744,"24":20,"16":113513825264730112,"45":1971028555101140992},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-17 20:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767882752001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:15:28] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 20:15:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113513825264730112,"km_value":113513825264730.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971028555101140992,"description":"Unknown IO ID 45"} 
[2026-04-17 20:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767882752001,"power":13537,"unknown_62":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1971028555101140992}} 
[2026-04-17 20:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":46177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22938,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:15:28] local.INFO: GPS data processed {"connection_id":46177,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:15:28] local.INFO: Acknowledgment sent {"connection_id":46177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:15:29] local.INFO: TCP Data received {"connection_id":46177,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be67528012d1b59800724c938002000bc2c..."} 
[2026-04-17 20:15:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be67528012d1b59800724c938002000bc2c..."} 
[2026-04-17 20:15:29] local.INFO: Processing buffer {"connection_id":46177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be67528012d1b59800724c938002000bc2c..."} 
[2026-04-17 20:15:29] local.INFO: Packet analysis {"connection_id":46177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be6"} 
[2026-04-17 20:15:29] local.INFO: Extracted packet for processing {"connection_id":46177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be6"} 
[2026-04-17 20:15:29] local.INFO: GPS Element Parsed {"raw_longitude":756767104,"raw_latitude":119851320,"longitude_deg":75.6767104,"latitude_deg":11.985132,"altitude":32,"angle":188,"satellites":44,"speed":22,"hex_longitude":"2d1b5980","hex_latitude":"0724c938","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:15:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767885568001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:15:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113514100142637056,"note":"Value kept but may cause issues"} 
[2026-04-17 20:15:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1971521136308983808,"note":"Value kept but may cause issues"} 
[2026-04-17 20:15:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:15:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776437065000,"timestamp_ms":1776437065000,"timestamp_seconds":1776437065,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be67528"} 
[2026-04-17 20:15:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:15:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-04-17 20:15:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2483,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:15:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:15:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:15:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:15:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:15:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:15:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:15:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:15:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:15:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767885568001,"66":13656,"62":206,"28":31744,"24":22,"16":113514100142637056,"45":1971521136308983808},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-17 20:15:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:15:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:15:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767885568001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:15:29] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 20:15:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:15:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113514100142637056,"km_value":113514100142637.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:15:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1971521136308983808,"description":"Unknown IO ID 45"} 
[2026-04-17 20:15:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767885568001,"power":13656,"unknown_62":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1971521136308983808}} 
[2026-04-17 20:15:29] local.INFO: DEBUG: GPS processor result {"connection_id":46177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22939,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:15:29] local.INFO: GPS data processed {"connection_id":46177,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:15:29] local.INFO: Acknowledgment sent {"connection_id":46177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:16:01] local.INFO: TCP Data received {"connection_id":46177,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be688b0012d1b56400724be80002100cc2d..."} 
[2026-04-17 20:16:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46177,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be688b0012d1b56400724be80002100cc2d..."} 
[2026-04-17 20:16:01] local.INFO: Processing buffer {"connection_id":46177,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be688b0012d1b56400724be80002100cc2d..."} 
[2026-04-17 20:16:01] local.INFO: Packet analysis {"connection_id":46177,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be6"} 
[2026-04-17 20:16:01] local.INFO: Extracted packet for processing {"connection_id":46177,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be6"} 
[2026-04-17 20:16:01] local.INFO: GPS Element Parsed {"raw_longitude":756766272,"raw_latitude":119848576,"longitude_deg":75.6766272,"latitude_deg":11.9848576,"altitude":33,"angle":204,"satellites":45,"speed":22,"hex_longitude":"2d1b5640","hex_latitude":"0724be80","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:16:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767888640001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:16:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113514237581590528,"note":"Value kept but may cause issues"} 
[2026-04-17 20:16:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1970747080121595904,"note":"Value kept but may cause issues"} 
[2026-04-17 20:16:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:16:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776437070000,"timestamp_ms":1776437070000,"timestamp_seconds":1776437070,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be688b0"} 
[2026-04-17 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-04-17 20:16: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-04-17 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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-17 20:16:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 20:16:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:16:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46177,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:16:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:16:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46177,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:16:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:16:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:16:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:16:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767888640001,"66":13624,"62":206,"28":31744,"24":22,"16":113514237581590528,"45":1970747080121595904},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-17 20:16:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:16:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:16:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767888640001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:16:01] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 20:16:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:16:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113514237581590528,"km_value":113514237581590.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:16:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1970747080121595904,"description":"Unknown IO ID 45"} 
[2026-04-17 20:16:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767888640001,"power":13624,"unknown_62":206,"unknown_28":31744,"ignition":22,"odometer":null,"unknown_45":1970747080121595904}} 
[2026-04-17 20:16:01] local.INFO: DEBUG: GPS processor result {"connection_id":46177,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22940,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:16:01] local.INFO: GPS data processed {"connection_id":46177,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:16:01] local.INFO: Acknowledgment sent {"connection_id":46177,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:16:21] local.INFO: TCP Data received {"connection_id":46414,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:16:21] local.INFO: Processing buffer {"connection_id":46414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:16:21] local.INFO: IMEI packet received {"connection_id":46414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":46414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:16:22] local.INFO: TCP Data received {"connection_id":46414,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:16:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:16:22] local.INFO: Processing buffer {"connection_id":46414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:16:22] local.INFO: IMEI packet received {"connection_id":46414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:16:22] local.INFO: IMEI acknowledgment sent {"connection_id":46414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:16:26] local.INFO: TCP Data received {"connection_id":46414,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46414,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:16:26] local.INFO: Processing buffer {"connection_id":46414,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:16:26] local.INFO: IMEI packet received {"connection_id":46414,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":46414,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:16:29] local.INFO: TCP Data received {"connection_id":46414,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be69850012d1b51800724b700002200db2d..."} 
[2026-04-17 20:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be69850012d1b51800724b700002200db2d..."} 
[2026-04-17 20:16:29] local.INFO: Processing buffer {"connection_id":46414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be69850012d1b51800724b700002200db2d..."} 
[2026-04-17 20:16:29] local.INFO: Packet analysis {"connection_id":46414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be6"} 
[2026-04-17 20:16:29] local.INFO: Extracted packet for processing {"connection_id":46414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be6"} 
[2026-04-17 20:16:29] local.INFO: GPS Element Parsed {"raw_longitude":756765056,"raw_latitude":119846656,"longitude_deg":75.6765056,"latitude_deg":11.9846656,"altitude":34,"angle":219,"satellites":45,"speed":23,"hex_longitude":"2d1b5180","hex_latitude":"0724b700","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:16:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767889920001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:16:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113514349250740224,"note":"Value kept but may cause issues"} 
[2026-04-17 20:16:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1969832286446583808,"note":"Value kept but may cause issues"} 
[2026-04-17 20:16:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:16:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776437074000,"timestamp_ms":1776437074000,"timestamp_seconds":1776437074,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be69850"} 
[2026-04-17 20:16:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:16:29] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-17 20:16:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":967,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:16:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:16:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:16:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:16:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:16:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:16:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:16:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:16:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:16:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767889920001,"66":13537,"62":206,"28":31744,"24":23,"16":113514349250740224,"45":1969832286446583808},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-17 20:16:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:16:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:16:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767889920001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:16:29] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 20:16:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:16:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113514349250740224,"km_value":113514349250740.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:16:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1969832286446583808,"description":"Unknown IO ID 45"} 
[2026-04-17 20:16:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767889920001,"power":13537,"unknown_62":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1969832286446583808}} 
[2026-04-17 20:16:29] local.INFO: DEBUG: GPS processor result {"connection_id":46414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22941,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:16:29] local.INFO: GPS data processed {"connection_id":46414,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:16:29] local.INFO: Acknowledgment sent {"connection_id":46414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:16:29] local.INFO: TCP Data received {"connection_id":46178,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:16:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46178,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:16:29] local.INFO: Processing buffer {"connection_id":46178,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:16:29] local.INFO: IMEI packet received {"connection_id":46178,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:16:29] local.INFO: IMEI acknowledgment sent {"connection_id":46178,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:16:30] local.INFO: TCP Data received {"connection_id":46414,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be6d2e8012d1b4b800724b0c0002500e62c..."} 
[2026-04-17 20:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be6d2e8012d1b4b800724b0c0002500e62c..."} 
[2026-04-17 20:16:30] local.INFO: Processing buffer {"connection_id":46414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be6d2e8012d1b4b800724b0c0002500e62c..."} 
[2026-04-17 20:16:30] local.INFO: Packet analysis {"connection_id":46414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be6"} 
[2026-04-17 20:16:30] local.INFO: Extracted packet for processing {"connection_id":46414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be6"} 
[2026-04-17 20:16:30] local.INFO: GPS Element Parsed {"raw_longitude":756763520,"raw_latitude":119845056,"longitude_deg":75.676352,"latitude_deg":11.9845056,"altitude":37,"angle":230,"satellites":44,"speed":4,"hex_longitude":"2d1b4b80","hex_latitude":"0724b0c0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767890944001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113514456624922624,"note":"Value kept but may cause issues"} 
[2026-04-17 20:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1968495280306716672,"note":"Value kept but may cause issues"} 
[2026-04-17 20:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776437089000,"timestamp_ms":1776437089000,"timestamp_seconds":1776437089,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be6d2e8"} 
[2026-04-17 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-04-17 20:16: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-04-17 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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-04-17 20:16:30] 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-04-17 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-04-17 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-04-17 20:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:16:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767890944001,"66":13580,"62":206,"28":31744,"24":4,"16":113514456624922624,"45":1968495280306716672},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-17 20:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767890944001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:16:30] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 20:16:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113514456624922624,"km_value":113514456624922.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1968495280306716672,"description":"Unknown IO ID 45"} 
[2026-04-17 20:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767890944001,"power":13580,"unknown_62":206,"unknown_28":31744,"ignition":4,"odometer":null,"unknown_45":1968495280306716672}} 
[2026-04-17 20:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":46414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22942,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:16:30] local.INFO: GPS data processed {"connection_id":46414,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:16:30] local.INFO: Acknowledgment sent {"connection_id":46414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:16:30] local.INFO: TCP Data received {"connection_id":46178,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be69850012d7d45c005ce73980009000334..."} 
[2026-04-17 20:16:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be69850012d7d45c005ce73980009000334..."} 
[2026-04-17 20:16:30] local.INFO: Processing buffer {"connection_id":46178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be69850012d7d45c005ce73980009000334..."} 
[2026-04-17 20:16:30] local.INFO: Packet analysis {"connection_id":46178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be6"} 
[2026-04-17 20:16:30] local.INFO: Extracted packet for processing {"connection_id":46178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be6"} 
[2026-04-17 20:16:30] local.INFO: GPS Element Parsed {"raw_longitude":763184576,"raw_latitude":97416088,"longitude_deg":76.3184576,"latitude_deg":9.7416088,"altitude":9,"angle":3,"satellites":52,"speed":34,"hex_longitude":"2d7d45c0","hex_latitude":"05ce7398","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:16:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767887872001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:16:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274179029865594880,"note":"Value kept but may cause issues"} 
[2026-04-17 20:16:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026058103116736512,"note":"Value kept but may cause issues"} 
[2026-04-17 20:16:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:16:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776437074000,"timestamp_ms":1776437074000,"timestamp_seconds":1776437074,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be69850"} 
[2026-04-17 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-04-17 20:16: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-04-17 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-17 20:16:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 20:16:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:16:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:16:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:16:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46178,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:16: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-04-17 20:16:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:16:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:16:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767887872001,"66":27300,"237":206,"85":15104,"24":34,"16":274179029865594880,"45":9026058103116736512},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-17 20:16:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:16:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:16:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767887872001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:16:30] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-17 20:16:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:16:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274179029865594880,"km_value":274179029865594.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:16:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026058103116736512,"description":"Unknown IO ID 45"} 
[2026-04-17 20:16:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767887872001,"power":27300,"unknown_237":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":9026058103116736512}} 
[2026-04-17 20:16:30] local.INFO: DEBUG: GPS processor result {"connection_id":46178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22943,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:16:30] local.INFO: GPS data processed {"connection_id":46178,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:16:30] local.INFO: Acknowledgment sent {"connection_id":46178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:16:50] local.INFO: TCP Data received {"connection_id":46924,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:16:50] local.INFO: Processing buffer {"connection_id":46924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:16:50] local.INFO: IMEI packet received {"connection_id":46924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":46924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:16:50] local.INFO: TCP Data received {"connection_id":46924,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:16:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:16:50] local.INFO: Processing buffer {"connection_id":46924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:16:50] local.INFO: IMEI packet received {"connection_id":46924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:16:50] local.INFO: IMEI acknowledgment sent {"connection_id":46924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:16:55] local.INFO: TCP Data received {"connection_id":46924,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:16:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46924,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:16:55] local.INFO: Processing buffer {"connection_id":46924,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:16:55] local.INFO: IMEI packet received {"connection_id":46924,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:16:55] local.INFO: IMEI acknowledgment sent {"connection_id":46924,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:16:56] local.INFO: TCP Data received {"connection_id":46924,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be6c730012d7d478005ce98100007000333..."} 
[2026-04-17 20:16:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be6c730012d7d478005ce98100007000333..."} 
[2026-04-17 20:16:56] local.INFO: Processing buffer {"connection_id":46924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be6c730012d7d478005ce98100007000333..."} 
[2026-04-17 20:16:56] local.INFO: Packet analysis {"connection_id":46924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be6"} 
[2026-04-17 20:16:56] local.INFO: Extracted packet for processing {"connection_id":46924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be6"} 
[2026-04-17 20:16:56] local.INFO: GPS Element Parsed {"raw_longitude":763185024,"raw_latitude":97425424,"longitude_deg":76.3185024,"latitude_deg":9.7425424,"altitude":7,"angle":3,"satellites":51,"speed":21,"hex_longitude":"2d7d4780","hex_latitude":"05ce9810","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:16:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767890944001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:16:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274179480837160960,"note":"Value kept but may cause issues"} 
[2026-04-17 20:16:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9026832159305078784,"note":"Value kept but may cause issues"} 
[2026-04-17 20:16:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:16:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776437086000,"timestamp_ms":1776437086000,"timestamp_seconds":1776437086,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be6c730"} 
[2026-04-17 20:16:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:16:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 20:16:56] 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-04-17 20: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-04-17 20:16:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:16:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:16:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:16:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:16:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:16:56] 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-04-17 20:16:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:16:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:16:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767890944001,"66":27245,"237":206,"85":15104,"24":21,"16":274179480837160960,"45":9026832159305078784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-17 20:16:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:16:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:16:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767890944001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:16:56] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-17 20:16:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:16:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274179480837160960,"km_value":274179480837160.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:16:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9026832159305078784,"description":"Unknown IO ID 45"} 
[2026-04-17 20:16:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767890944001,"power":27245,"unknown_237":206,"unknown_85":15104,"ignition":21,"odometer":null,"unknown_45":9026832159305078784}} 
[2026-04-17 20:16:56] local.INFO: DEBUG: GPS processor result {"connection_id":46924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22944,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:16:56] local.INFO: GPS data processed {"connection_id":46924,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:16:56] local.INFO: Acknowledgment sent {"connection_id":46924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:17:02] local.INFO: TCP Data received {"connection_id":46414,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be71550012d1b2e4007249b30002500e929..."} 
[2026-04-17 20:17:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46414,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be71550012d1b2e4007249b30002500e929..."} 
[2026-04-17 20:17:02] local.INFO: Processing buffer {"connection_id":46414,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be71550012d1b2e4007249b30002500e929..."} 
[2026-04-17 20:17:02] local.INFO: Packet analysis {"connection_id":46414,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be7"} 
[2026-04-17 20:17:02] local.INFO: Extracted packet for processing {"connection_id":46414,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be7"} 
[2026-04-17 20:17:02] local.INFO: GPS Element Parsed {"raw_longitude":756756032,"raw_latitude":119839536,"longitude_deg":75.6756032,"latitude_deg":11.9839536,"altitude":37,"angle":233,"satellites":41,"speed":28,"hex_longitude":"2d1b2e40","hex_latitude":"07249b30","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767894784001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113514903301521408,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1966806430446043136,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:17:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776437106000,"timestamp_ms":1776437106000,"timestamp_seconds":1776437106,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be71550"} 
[2026-04-17 20:17:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:17: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-04-17 20: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-17 20:17:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867888967,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:02] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2615540752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:02] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7834055532276088832,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:02] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:02] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3863365633,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:02] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937963856,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:02] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3879600334,"corrected_to":0} 
[2026-04-17 20:17:02] local.WARNING: Large IO value detected {"io_id":27,"raw_value":6683349702960742442,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:02] local.WARNING: Large IO value detected {"io_id":90,"raw_value":2147951860,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:02] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-3818826090646811108,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:02] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:02] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:02] local.INFO: IO Element Parsed {"io_data_count":41,"io_data_keys":[0,62,28,24,241,158,16,72,157,152,45,128,183,34,10,66,136,64,190,33,117,1,240,88,155,36,4,113,205,20,27,90,120,239,52,2,147,7,40,22,124],"length":577,"final_offset":707,"validated_count":41,"validation_warnings":[{"io_id":205,"original":3879600334,"validated":0}]} 
[2026-04-17 20:17:02] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666384056056545280,"timestamp_seconds":2666384056056545.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 20:17:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:17:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:17:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46414,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:17:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:17:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46414,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:17:02] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:17:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:17:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:17:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767894784001,"66":13580,"62":206,"28":31744,"24":28,"16":113514903301521408,"45":1966806430446043136},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-17 20:17:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:17:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:17:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767894784001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:17:02] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 20:17:02] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:17:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113514903301521408,"km_value":113514903301521.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:17:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":1966806430446043136,"description":"Unknown IO ID 45"} 
[2026-04-17 20:17:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767894784001,"power":13580,"unknown_62":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1966806430446043136}} 
[2026-04-17 20:17:02] local.INFO: DEBUG: GPS processor result {"connection_id":46414,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22945,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:17:02] local.INFO: GPS data processed {"connection_id":46414,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:17:02] local.INFO: Acknowledgment sent {"connection_id":46414,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:17:20] local.INFO: TCP Data received {"connection_id":46180,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:17:20] local.INFO: Processing buffer {"connection_id":46180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:17:20] local.INFO: IMEI packet received {"connection_id":46180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":46180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:17:21] local.INFO: TCP Data received {"connection_id":46180,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:17:21] local.INFO: Processing buffer {"connection_id":46180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:17:21] local.INFO: IMEI packet received {"connection_id":46180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":46180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:17:24] local.INFO: TCP Data received {"connection_id":46179,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46179,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:17:24] local.INFO: Processing buffer {"connection_id":46179,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:17:24] local.INFO: IMEI packet received {"connection_id":46179,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":46179,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:17:24] local.INFO: TCP Data received {"connection_id":46180,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:17:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46180,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:17:24] local.INFO: Processing buffer {"connection_id":46180,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:17:24] local.INFO: IMEI packet received {"connection_id":46180,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:17:24] local.INFO: IMEI acknowledgment sent {"connection_id":46180,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:17:25] local.INFO: TCP Data received {"connection_id":46180,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be74818012d1b0fc0072484a8002800e528..."} 
[2026-04-17 20:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be74818012d1b0fc0072484a8002800e528..."} 
[2026-04-17 20:17:25] local.INFO: Processing buffer {"connection_id":46180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be74818012d1b0fc0072484a8002800e528..."} 
[2026-04-17 20:17:25] local.INFO: Packet analysis {"connection_id":46180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be7"} 
[2026-04-17 20:17:25] local.INFO: Extracted packet for processing {"connection_id":46180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be7"} 
[2026-04-17 20:17:25] local.INFO: GPS Element Parsed {"raw_longitude":756748224,"raw_latitude":119833768,"longitude_deg":75.6748224,"latitude_deg":11.9833768,"altitude":40,"angle":229,"satellites":40,"speed":31,"hex_longitude":"2d1b0fc0","hex_latitude":"072484a8","is_valid_coordinates":true} 
[2026-04-17 20:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767899136001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113515367157989376,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1958573287375843328,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:25] 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-04-17 20:17:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776437119000,"timestamp_ms":1776437119000,"timestamp_seconds":1776437119,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be74818"} 
[2026-04-17 20:17:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:17:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:17:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-17 20:17:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867888967,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:25] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2615548752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:25] local.WARNING: Large IO value detected {"io_id":72,"raw_value":2566914048,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:25] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7834017049369116672,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:25] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:25] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3866437633,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:25] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3375890464,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:25] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635583937963838,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:25] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3879600334,"corrected_to":0} 
[2026-04-17 20:17:25] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648291952977981924,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:25] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:25] local.WARNING: Large IO value detected {"io_id":27,"raw_value":6413133724873916456,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:25] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755493930467569,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:25] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,62,28,24,241,158,16,73,157,210,45,128,176,37,44,10,66,72,152,183,34,136,64,1,240,56,155,36,4,113,205,22,70,92,41,239,52,2,147,7,38,12,27,124],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":3879600334,"validated":0}]} 
[2026-04-17 20:17:25] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2666387341708099584,"timestamp_seconds":2666387341708099.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 20:17:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:17:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:17:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:17:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:17:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:17:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:17:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:17:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:17:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767899136001,"66":13580,"112":206,"28":31744,"24":31,"16":113515367157989376,"45":1958573287375843328},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-04-17 20:17:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:17:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:17:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767899136001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:17:25] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-04-17 20:17:25] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:17:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113515367157989376,"km_value":113515367157989.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:17:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":1958573287375843328,"description":"Unknown IO ID 45"} 
[2026-04-17 20:17:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767899136001,"power":13580,"unknown_112":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1958573287375843328}} 
[2026-04-17 20:17:25] local.INFO: DEBUG: GPS processor result {"connection_id":46180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22946,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:17:25] local.INFO: GPS data processed {"connection_id":46180,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:17:25] local.INFO: Acknowledgment sent {"connection_id":46180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:17:30] local.INFO: TCP Data received {"connection_id":46924,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be71938012d7d474005ceb740000a00022f..."} 
[2026-04-17 20:17:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46924,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be71938012d7d474005ceb740000a00022f..."} 
[2026-04-17 20:17:30] local.INFO: Processing buffer {"connection_id":46924,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be71938012d7d474005ceb740000a00022f..."} 
[2026-04-17 20:17:30] local.INFO: Packet analysis {"connection_id":46924,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be7"} 
[2026-04-17 20:17:30] local.INFO: Extracted packet for processing {"connection_id":46924,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be7"} 
[2026-04-17 20:17:30] local.INFO: GPS Element Parsed {"raw_longitude":763184960,"raw_latitude":97433408,"longitude_deg":76.318496,"latitude_deg":9.7433408,"altitude":10,"angle":2,"satellites":47,"speed":0,"hex_longitude":"2d7d4740","hex_latitude":"05ceb740","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:17:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767894016001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274179871679184896,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9027324740516712448,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,237,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:17:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776437107000,"timestamp_ms":1776437107000,"timestamp_seconds":1776437107,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be71938"} 
[2026-04-17 20:17:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:17: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-04-17 20: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":109,"data_length":795,"current_offset":136} 
[2026-04-17 20:17:30] 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-04-17 20: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-04-17 20:17:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:17:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:17:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46924,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:17:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:17:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46924,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:17: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-04-17 20:17:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:17:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:17:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767894016001,"66":27365,"237":206,"85":15104,"24":0,"16":274179871679184896,"45":9027324740516712448},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,237,85,24,16,45]} 
[2026-04-17 20:17:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:17:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:17:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767894016001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:17:30] local.INFO: Unknown IO ID detected {"io_id":237,"value":206,"description":"Unknown IO ID 237"} 
[2026-04-17 20:17:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:17:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274179871679184896,"km_value":274179871679184.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:17:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9027324740516712448,"description":"Unknown IO ID 45"} 
[2026-04-17 20:17:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767894016001,"power":27365,"unknown_237":206,"unknown_85":15104,"ignition":0,"odometer":null,"unknown_45":9027324740516712448}} 
[2026-04-17 20:17:30] local.INFO: DEBUG: GPS processor result {"connection_id":46924,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22947,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:17:30] local.INFO: GPS data processed {"connection_id":46924,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:17:30] local.INFO: Acknowledgment sent {"connection_id":46924,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:17:50] local.INFO: TCP Data received {"connection_id":46181,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:17:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:17:50] local.INFO: Processing buffer {"connection_id":46181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:17:50] local.INFO: IMEI packet received {"connection_id":46181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:17:50] local.INFO: IMEI acknowledgment sent {"connection_id":46181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:17:51] local.INFO: TCP Data received {"connection_id":46181,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:17:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:17:51] local.INFO: Processing buffer {"connection_id":46181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:17:51] local.INFO: IMEI packet received {"connection_id":46181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:17:51] local.INFO: IMEI acknowledgment sent {"connection_id":46181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:17:57] local.INFO: TCP Data received {"connection_id":46180,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be76f28012d1af8c007246cb8002800d923..."} 
[2026-04-17 20:17:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be76f28012d1af8c007246cb8002800d923..."} 
[2026-04-17 20:17:57] local.INFO: Processing buffer {"connection_id":46180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be76f28012d1af8c007246cb8002800d923..."} 
[2026-04-17 20:17:57] local.INFO: Packet analysis {"connection_id":46180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be7"} 
[2026-04-17 20:17:57] local.INFO: Extracted packet for processing {"connection_id":46180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be7"} 
[2026-04-17 20:17:57] local.INFO: GPS Element Parsed {"raw_longitude":756742336,"raw_latitude":119827640,"longitude_deg":75.6742336,"latitude_deg":11.982764,"altitude":40,"angle":217,"satellites":35,"speed":28,"hex_longitude":"2d1af8c0","hex_latitude":"07246cb8","is_valid_coordinates":true} 
[2026-04-17 20:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767902464001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113515775179882496,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1949988300584691712,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:57] 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-04-17 20:17:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776437129000,"timestamp_ms":1776437129000,"timestamp_seconds":1776437129,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be76f28"} 
[2026-04-17 20:17:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:17:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:17:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-17 20:17:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867888967,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:57] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2615559752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:57] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3867717633,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:57] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3003121664,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:57] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7833948879648194560,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:57] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:57] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3196059681,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:57] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635489448683326,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:57] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3879600334,"corrected_to":0} 
[2026-04-17 20:17:57] local.WARNING: Large IO value detected {"io_id":89,"raw_value":2147951817,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:57] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:57] local.WARNING: Large IO value detected {"io_id":27,"raw_value":6521220115734200358,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:57] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-648291953279971812,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:57] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755450980794609,"note":"Value kept but may cause issues"} 
[2026-04-17 20:17:57] local.INFO: IO Element Parsed {"io_data_count":45,"io_data_keys":[0,112,28,24,241,158,16,73,157,21,45,64,155,37,41,10,66,62,210,128,176,44,72,152,1,240,225,36,4,113,205,22,117,89,56,239,53,2,147,7,34,20,27,52,124],"length":577,"final_offset":707,"validated_count":45,"validation_warnings":[{"io_id":205,"original":3879600334,"validated":0}]} 
[2026-04-17 20:17:57] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882555721480601600,"timestamp_seconds":2882555721480601.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 20:17:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:17:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:17:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:17:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:17:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46180,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:17:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:17:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:17:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:17:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767902464001,"66":13580,"112":206,"28":31744,"24":28,"16":113515775179882496,"45":1949988300584691712},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-04-17 20:17:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:17:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:17:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767902464001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:17:57] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-04-17 20:17:57] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:17:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113515775179882496,"km_value":113515775179882.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:17:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":1949988300584691712,"description":"Unknown IO ID 45"} 
[2026-04-17 20:17:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767902464001,"power":13580,"unknown_112":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1949988300584691712}} 
[2026-04-17 20:17:57] local.INFO: DEBUG: GPS processor result {"connection_id":46180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22948,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:17:57] local.INFO: GPS data processed {"connection_id":46180,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:17:57] local.INFO: Acknowledgment sent {"connection_id":46180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:18:03] local.INFO: TCP Data received {"connection_id":46181,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:18:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:18:03] local.INFO: Processing buffer {"connection_id":46181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:18:03] local.INFO: IMEI packet received {"connection_id":46181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:18:03] local.INFO: IMEI acknowledgment sent {"connection_id":46181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:18:04] local.INFO: TCP Data received {"connection_id":46415,"ip":"42.106.6.45","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:18:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46415,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:18:04] local.INFO: Processing buffer {"connection_id":46415,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:18:04] local.INFO: IMEI packet received {"connection_id":46415,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:18:04] local.INFO: IMEI acknowledgment sent {"connection_id":46415,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:18:05] local.INFO: TCP Data received {"connection_id":46181,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be8ab90012d7d49c005d00c600008016634..."} 
[2026-04-17 20:18:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be8ab90012d7d49c005d00c600008016634..."} 
[2026-04-17 20:18:05] local.INFO: Processing buffer {"connection_id":46181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be8ab90012d7d49c005d00c600008016634..."} 
[2026-04-17 20:18:05] local.INFO: Packet analysis {"connection_id":46181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be8"} 
[2026-04-17 20:18:05] local.INFO: Extracted packet for processing {"connection_id":46181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be8"} 
[2026-04-17 20:18:05] local.INFO: GPS Element Parsed {"raw_longitude":763185600,"raw_latitude":97520736,"longitude_deg":76.31856,"latitude_deg":9.7520736,"altitude":8,"angle":358,"satellites":52,"speed":59,"hex_longitude":"2d7d49c0","hex_latitude":"05d00c60","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:18:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767924224001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274184110811906048,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9028169165468940288,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:18:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776437210000,"timestamp_ms":1776437210000,"timestamp_seconds":1776437210,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be8ab90"} 
[2026-04-17 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-04-17 20:18: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-04-17 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 20:18: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-04-17 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-04-17 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-04-17 20:18:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:18:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:18:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:18:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:18: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-04-17 20:18:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:18:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:18:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767924224001,"66":27376,"198":206,"85":15104,"24":59,"16":274184110811906048,"45":9028169165468940288},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,85,24,16,45]} 
[2026-04-17 20:18:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:18:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:18:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767924224001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:18:05] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-04-17 20:18:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:18:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274184110811906048,"km_value":274184110811906.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:18:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9028169165468940288,"description":"Unknown IO ID 45"} 
[2026-04-17 20:18:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767924224001,"power":27376,"unknown_198":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":9028169165468940288}} 
[2026-04-17 20:18:05] local.INFO: DEBUG: GPS processor result {"connection_id":46181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22949,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:18:05] local.INFO: GPS data processed {"connection_id":46181,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:18:05] local.INFO: Acknowledgment sent {"connection_id":46181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:18:21] local.INFO: TCP Data received {"connection_id":46074,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:18:21] local.INFO: Processing buffer {"connection_id":46074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:18:21] local.INFO: IMEI packet received {"connection_id":46074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":46074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:18:26] local.INFO: TCP Data received {"connection_id":46074,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46074,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:18:26] local.INFO: Processing buffer {"connection_id":46074,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:18:26] local.INFO: IMEI packet received {"connection_id":46074,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":46074,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:18:27] local.INFO: TCP Data received {"connection_id":46074,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be7a5d8012d1ae54007244ec8002900d126..."} 
[2026-04-17 20:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be7a5d8012d1ae54007244ec8002900d126..."} 
[2026-04-17 20:18:27] local.INFO: Processing buffer {"connection_id":46074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be7a5d8012d1ae54007244ec8002900d126..."} 
[2026-04-17 20:18:27] local.INFO: Packet analysis {"connection_id":46074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be7"} 
[2026-04-17 20:18:27] local.INFO: Extracted packet for processing {"connection_id":46074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be7"} 
[2026-04-17 20:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756737344,"raw_latitude":119819976,"longitude_deg":75.6737344,"latitude_deg":11.9819976,"altitude":41,"angle":209,"satellites":38,"speed":28,"hex_longitude":"2d1ae540","hex_latitude":"07244ec8","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767905024001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113516217561513984,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1943514376118777856,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:27] 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-04-17 20:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776437143000,"timestamp_ms":1776437143000,"timestamp_seconds":1776437143,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be7a5d8"} 
[2026-04-17 20:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-17 20:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867888968,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2615571752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:27] local.WARNING: Large IO value detected {"io_id":72,"raw_value":3422552064,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:27] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3868741633,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:27] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7833878510904016896,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:27] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:27] local.WARNING: Large IO value detected {"io_id":36,"raw_value":3070230562,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:27] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18636000549791550,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3879600334,"corrected_to":0} 
[2026-04-17 20:18:27] local.WARNING: Large IO value detected {"io_id":136,"raw_value":2952867099,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:27] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:27] local.WARNING: Large IO value detected {"io_id":27,"raw_value":6647320904941961250,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:27] local.WARNING: Large IO value detected {"io_id":52,"raw_value":-2233559022114386404,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:27] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755485340532977,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:27] local.INFO: IO Element Parsed {"io_data_count":44,"io_data_keys":[0,112,28,24,241,158,16,73,157,72,45,192,132,40,10,66,21,64,155,37,41,62,210,128,1,240,12,36,4,113,205,23,136,86,239,53,2,147,7,32,22,27,52,124],"length":577,"final_offset":707,"validated_count":44,"validation_warnings":[{"io_id":205,"original":3879600334,"validated":0}]} 
[2026-04-17 20:18:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2882542505866035200,"timestamp_seconds":2882542505866035.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 20:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767905024001,"66":12809,"112":206,"28":31744,"24":28,"16":113516217561513984,"45":1943514376118777856},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-04-17 20:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767905024001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:18:27] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-04-17 20:18:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113516217561513984,"km_value":113516217561513.98,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1943514376118777856,"description":"Unknown IO ID 45"} 
[2026-04-17 20:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767905024001,"power":12809,"unknown_112":206,"unknown_28":31744,"ignition":28,"odometer":null,"unknown_45":1943514376118777856}} 
[2026-04-17 20:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":46074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22950,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:18:27] local.INFO: GPS data processed {"connection_id":46074,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:18:27] local.INFO: Acknowledgment sent {"connection_id":46074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:18:59] local.INFO: TCP Data received {"connection_id":46074,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be7c130012d1ad9c007243df0002b00de2a..."} 
[2026-04-17 20:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46074,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be7c130012d1ad9c007243df0002b00de2a..."} 
[2026-04-17 20:18:59] local.INFO: Processing buffer {"connection_id":46074,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be7c130012d1ad9c007243df0002b00de2a..."} 
[2026-04-17 20:18:59] local.INFO: Packet analysis {"connection_id":46074,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be7"} 
[2026-04-17 20:18:59] local.INFO: Extracted packet for processing {"connection_id":46074,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be7"} 
[2026-04-17 20:18:59] local.INFO: GPS Element Parsed {"raw_longitude":756734400,"raw_latitude":119815664,"longitude_deg":75.67344,"latitude_deg":11.9815664,"altitude":43,"angle":222,"satellites":42,"speed":31,"hex_longitude":"2d1ad9c0","hex_latitude":"07243df0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767908608001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113516470964584448,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1938025614070958080,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:59] 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-04-17 20:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776437150000,"timestamp_ms":1776437150000,"timestamp_seconds":1776437150,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be7c130"} 
[2026-04-17 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-04-17 20: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-04-17 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":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-17 20:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":1585267069002187776,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:59] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2615576752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:59] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:59] local.WARNING: Large IO value detected {"io_id":155,"raw_value":-1840520887194134144,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:59] local.WARNING: Large IO value detected {"io_id":36,"raw_value":2965372965,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:59] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3879600334,"corrected_to":0} 
[2026-04-17 20:18:59] local.WARNING: Large IO value detected {"io_id":81,"raw_value":2147951799,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:59] local.WARNING: Large IO value detected {"io_id":52,"raw_value":3774926311,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:59] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2650711428872322092,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:59] local.WARNING: Large IO value detected {"io_id":53,"raw_value":4035451659185344028,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:59] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755493930467569,"note":"Value kept but may cause issues"} 
[2026-04-17 20:18:59] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,112,28,24,241,158,16,74,157,111,45,192,108,40,35,10,66,73,72,132,21,64,1,240,12,155,36,4,113,205,152,81,239,52,62,2,147,7,33,22,53,124,153],"length":535,"final_offset":665,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3879600334,"validated":0}]} 
[2026-04-17 20:18:59] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":2954591316695842816,"timestamp_seconds":2954591316695843.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 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-04-17 20:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46074,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46074,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767908608001,"66":13646,"112":206,"28":31744,"24":31,"16":113516470964584448,"45":1938025614070958080},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-04-17 20:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767908608001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:18:59] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-04-17 20:18:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113516470964584448,"km_value":113516470964584.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1938025614070958080,"description":"Unknown IO ID 45"} 
[2026-04-17 20:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767908608001,"power":13646,"unknown_112":206,"unknown_28":31744,"ignition":31,"odometer":null,"unknown_45":1938025614070958080}} 
[2026-04-17 20:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":46074,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22951,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:18:59] local.INFO: GPS data processed {"connection_id":46074,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:18:59] local.INFO: Acknowledgment sent {"connection_id":46074,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:18:59] local.INFO: TCP Data received {"connection_id":46075,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:18:59] local.INFO: Processing buffer {"connection_id":46075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:18:59] local.INFO: IMEI packet received {"connection_id":46075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:18:59] local.INFO: IMEI acknowledgment sent {"connection_id":46075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:19:19] local.INFO: TCP Data received {"connection_id":46075,"ip":"42.106.6.44","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 20:19:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46075,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 20:19:19] local.INFO: Processing buffer {"connection_id":46075,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 20:19:19] local.INFO: IMEI packet received {"connection_id":46075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:19:19] local.INFO: IMEI acknowledgment sent {"connection_id":46075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:19:21] local.INFO: TCP Data received {"connection_id":46926,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:19:21] local.INFO: Processing buffer {"connection_id":46926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:19:21] local.INFO: IMEI packet received {"connection_id":46926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":46926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:19:26] local.INFO: TCP Data received {"connection_id":46926,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46926,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:19:26] local.INFO: Processing buffer {"connection_id":46926,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:19:26] local.INFO: IMEI packet received {"connection_id":46926,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":46926,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:19:26] local.INFO: TCP Data received {"connection_id":46075,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be9d470012d7d334005d17ce80007016531..."} 
[2026-04-17 20:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be9d470012d7d334005d17ce80007016531..."} 
[2026-04-17 20:19:26] local.INFO: Processing buffer {"connection_id":46075,"buffer_length":829,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 20:19:26] local.INFO: IMEI packet received {"connection_id":46075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":46075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:19:28] local.INFO: TCP Data received {"connection_id":46926,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be7cce8012d1ad24007243798002b00eb2a..."} 
[2026-04-17 20:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be7cce8012d1ad24007243798002b00eb2a..."} 
[2026-04-17 20:19:28] local.INFO: Processing buffer {"connection_id":46926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be7cce8012d1ad24007243798002b00eb2a..."} 
[2026-04-17 20:19:28] local.INFO: Packet analysis {"connection_id":46926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be7"} 
[2026-04-17 20:19:28] local.INFO: Extracted packet for processing {"connection_id":46926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be7"} 
[2026-04-17 20:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756732480,"raw_latitude":119814040,"longitude_deg":75.673248,"latitude_deg":11.981404,"altitude":43,"angle":235,"satellites":42,"speed":33,"hex_longitude":"2d1ad240","hex_latitude":"07243798","is_valid_coordinates":true} 
[2026-04-17 20:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767910400001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113516591223668736,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1934788651837681664,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776437153000,"timestamp_ms":1776437153000,"timestamp_seconds":1776437153,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be7cce8"} 
[2026-04-17 20:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:19: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-04-17 20:19:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":78,"data_length":795,"current_offset":136} 
[2026-04-17 20:19:28] 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-04-17 20:19:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767910400001,"66":13450,"112":206,"28":31744,"24":33,"16":113516591223668736,"45":1934788651837681664},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-04-17 20:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767910400001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:19:28] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-04-17 20:19:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113516591223668736,"km_value":113516591223668.73,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1934788651837681664,"description":"Unknown IO ID 45"} 
[2026-04-17 20:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767910400001,"power":13450,"unknown_112":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1934788651837681664}} 
[2026-04-17 20:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":46926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22952,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:19:28] local.INFO: GPS data processed {"connection_id":46926,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:19:28] local.INFO: Acknowledgment sent {"connection_id":46926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:19:28] local.INFO: TCP Data received {"connection_id":46075,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be9efc8012d7d30c005d1a2600007016231..."} 
[2026-04-17 20:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be9efc8012d7d30c005d1a2600007016231..."} 
[2026-04-17 20:19:28] local.INFO: Processing buffer {"connection_id":46075,"buffer_length":1607,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019d9b..."} 
[2026-04-17 20:19:28] local.INFO: IMEI packet received {"connection_id":46075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:19:28] local.INFO: IMEI acknowledgment sent {"connection_id":46075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:19:29] local.INFO: TCP Data received {"connection_id":46075,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bea0738012d7d2dc005d1bbb80007014f2f..."} 
[2026-04-17 20:19:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bea0738012d7d2dc005d1bbb80007014f2f..."} 
[2026-04-17 20:19:29] local.INFO: Processing buffer {"connection_id":46075,"buffer_length":2385,"buffer_hex":"000000000000030f8e0a0000019d9be9d470012d7d334005d17ce80007016531..."} 
[2026-04-17 20:19:29] local.INFO: Packet analysis {"connection_id":46075,"data_field_length":783,"total_packet_length":795,"buffer_length":2385,"packet_hex_start":"000000000000030f8e0a0000019d9be9"} 
[2026-04-17 20:19:29] local.INFO: Extracted packet for processing {"connection_id":46075,"packet_length":795,"remaining_buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d9be9"} 
[2026-04-17 20:19:29] local.INFO: GPS Element Parsed {"raw_longitude":763179840,"raw_latitude":97615080,"longitude_deg":76.317984,"latitude_deg":9.761508,"altitude":7,"angle":357,"satellites":49,"speed":53,"hex_longitude":"2d7d3340","hex_latitude":"05d17ce8","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767943424001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274188702131945472,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022328559726245888,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776437286000,"timestamp_ms":1776437286000,"timestamp_seconds":1776437286,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be9d470"} 
[2026-04-17 20:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:19: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-04-17 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 20:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:19: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-04-17 20:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767943424001,"66":27343,"23":206,"85":15104,"24":53,"16":274188702131945472,"45":9022328559726245888},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-04-17 20:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767943424001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:19:29] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-17 20:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274188702131945472,"km_value":274188702131945.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022328559726245888,"description":"Unknown IO ID 45"} 
[2026-04-17 20:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767943424001,"power":27343,"unknown_23":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9022328559726245888}} 
[2026-04-17 20:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":46075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22953,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:19:29] local.INFO: GPS data processed {"connection_id":46075,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:19:29] local.INFO: Acknowledgment sent {"connection_id":46075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:19:29] local.INFO: Packet analysis {"connection_id":46075,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d9be9"} 
[2026-04-17 20:19:29] local.INFO: Extracted packet for processing {"connection_id":46075,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be9"} 
[2026-04-17 20:19:29] local.INFO: GPS Element Parsed {"raw_longitude":763179200,"raw_latitude":97624672,"longitude_deg":76.31792,"latitude_deg":9.7624672,"altitude":7,"angle":354,"satellites":49,"speed":53,"hex_longitude":"2d7d30c0","hex_latitude":"05d1a260","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767945216001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274189170283380736,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9021624872286873600,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776437293000,"timestamp_ms":1776437293000,"timestamp_seconds":1776437293,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be9efc8"} 
[2026-04-17 20:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:19: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-04-17 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 20:19: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-04-17 20: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-04-17 20:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:19: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-04-17 20:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767945216001,"66":27484,"23":206,"85":15104,"24":53,"16":274189170283380736,"45":9021624872286873600},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-04-17 20:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767945216001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:19:29] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-17 20:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274189170283380736,"km_value":274189170283380.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9021624872286873600,"description":"Unknown IO ID 45"} 
[2026-04-17 20:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767945216001,"power":27484,"unknown_23":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":9021624872286873600}} 
[2026-04-17 20:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":46075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22954,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:19:29] local.INFO: GPS data processed {"connection_id":46075,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:19:29] local.INFO: Acknowledgment sent {"connection_id":46075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:19:29] local.INFO: Packet analysis {"connection_id":46075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bea"} 
[2026-04-17 20:19:29] local.INFO: Extracted packet for processing {"connection_id":46075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bea"} 
[2026-04-17 20:19:29] local.INFO: GPS Element Parsed {"raw_longitude":763178432,"raw_latitude":97631160,"longitude_deg":76.3178432,"latitude_deg":9.763116,"altitude":7,"angle":335,"satellites":47,"speed":29,"hex_longitude":"2d7d2dc0","hex_latitude":"05d1bbb8","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:19:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767947008001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274189488110960640,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020921184847552512,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:19:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776437299000,"timestamp_ms":1776437299000,"timestamp_seconds":1776437299,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bea0738"} 
[2026-04-17 20:19:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:19: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-04-17 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 20:19:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:19:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:19:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:19:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:19:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:19:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:19: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-04-17 20:19:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:19:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:19:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767947008001,"66":27517,"23":206,"85":15104,"24":29,"16":274189488110960640,"45":9020921184847552512},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-04-17 20:19:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:19:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:19:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767947008001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:19:29] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-17 20:19:29] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:19:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274189488110960640,"km_value":274189488110960.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:19:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020921184847552512,"description":"Unknown IO ID 45"} 
[2026-04-17 20:19:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767947008001,"power":27517,"unknown_23":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9020921184847552512}} 
[2026-04-17 20:19:29] local.INFO: DEBUG: GPS processor result {"connection_id":46075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22955,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:19:29] local.INFO: GPS data processed {"connection_id":46075,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:19:29] local.INFO: Acknowledgment sent {"connection_id":46075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:19:30] local.INFO: TCP Data received {"connection_id":46075,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bea16d8012d7d294005d1c5300006016132..."} 
[2026-04-17 20:19:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bea16d8012d7d294005d1c5300006016132..."} 
[2026-04-17 20:19:30] local.INFO: Processing buffer {"connection_id":46075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bea16d8012d7d294005d1c5300006016132..."} 
[2026-04-17 20:19:30] local.INFO: Packet analysis {"connection_id":46075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bea"} 
[2026-04-17 20:19:30] local.INFO: Extracted packet for processing {"connection_id":46075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bea"} 
[2026-04-17 20:19:30] local.INFO: GPS Element Parsed {"raw_longitude":763177280,"raw_latitude":97633584,"longitude_deg":76.317728,"latitude_deg":9.7633584,"altitude":6,"angle":353,"satellites":50,"speed":27,"hex_longitude":"2d7d2940","hex_latitude":"05d1c530","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:19:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767948544001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274189616959979520,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9020076759919081472,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:19:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776437303000,"timestamp_ms":1776437303000,"timestamp_seconds":1776437303,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bea16d8"} 
[2026-04-17 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-04-17 20:19: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-04-17 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 20:19:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 20:19:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:19:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:19:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:19:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:19: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-04-17 20:19:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:19:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:19:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767948544001,"66":27376,"23":206,"85":15104,"24":27,"16":274189616959979520,"45":9020076759919081472},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-04-17 20:19:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:19:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:19:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767948544001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:19:30] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-17 20:19:30] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:19:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274189616959979520,"km_value":274189616959979.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:19:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":9020076759919081472,"description":"Unknown IO ID 45"} 
[2026-04-17 20:19:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767948544001,"power":27376,"unknown_23":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9020076759919081472}} 
[2026-04-17 20:19:30] local.INFO: DEBUG: GPS processor result {"connection_id":46075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22956,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:19:30] local.INFO: GPS data processed {"connection_id":46075,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:19:30] local.INFO: Acknowledgment sent {"connection_id":46075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:19:49] local.INFO: TCP Data received {"connection_id":46182,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:19:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:19:49] local.INFO: Processing buffer {"connection_id":46182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:19:49] local.INFO: IMEI packet received {"connection_id":46182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:19:49] local.INFO: IMEI acknowledgment sent {"connection_id":46182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:19:50] local.INFO: TCP Data received {"connection_id":46182,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:19:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:19:50] local.INFO: Processing buffer {"connection_id":46182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:19:50] local.INFO: IMEI packet received {"connection_id":46182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:19:50] local.INFO: IMEI acknowledgment sent {"connection_id":46182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:19:55] local.INFO: TCP Data received {"connection_id":46182,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46182,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:19:55] local.INFO: Processing buffer {"connection_id":46182,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:19:55] local.INFO: IMEI packet received {"connection_id":46182,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":46182,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:19:56] local.INFO: TCP Data received {"connection_id":46182,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bea45b8012d7d26c005d1eb080006016632..."} 
[2026-04-17 20:19:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bea45b8012d7d26c005d1eb080006016632..."} 
[2026-04-17 20:19:56] local.INFO: Processing buffer {"connection_id":46182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bea45b8012d7d26c005d1eb080006016632..."} 
[2026-04-17 20:19:56] local.INFO: Packet analysis {"connection_id":46182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bea"} 
[2026-04-17 20:19:56] local.INFO: Extracted packet for processing {"connection_id":46182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bea"} 
[2026-04-17 20:19:56] local.INFO: GPS Element Parsed {"raw_longitude":763176640,"raw_latitude":97643272,"longitude_deg":76.317664,"latitude_deg":9.7643272,"altitude":6,"angle":358,"satellites":50,"speed":36,"hex_longitude":"2d7d26c0","hex_latitude":"05d1eb08","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:19:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767949568001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274190089406382080,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018810122524504064,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:19:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776437315000,"timestamp_ms":1776437315000,"timestamp_seconds":1776437315,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bea45b8"} 
[2026-04-17 20:19:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:19:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 20:19:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:19:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:19:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:19:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:19:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:19:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:19:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:19:56] 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-04-17 20:19:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:19:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:19:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767949568001,"66":27332,"23":206,"85":15104,"24":36,"16":274190089406382080,"45":9018810122524504064},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-04-17 20:19:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:19:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:19:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767949568001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:19:56] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-17 20:19:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:19:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274190089406382080,"km_value":274190089406382.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:19:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018810122524504064,"description":"Unknown IO ID 45"} 
[2026-04-17 20:19:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767949568001,"power":27332,"unknown_23":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9018810122524504064}} 
[2026-04-17 20:19:56] local.INFO: DEBUG: GPS processor result {"connection_id":46182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22957,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:19:56] local.INFO: GPS data processed {"connection_id":46182,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:19:56] local.INFO: Acknowledgment sent {"connection_id":46182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:19:59] local.INFO: TCP Data received {"connection_id":46926,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be7f010012d1ab8c007242b18002900f727..."} 
[2026-04-17 20:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46926,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be7f010012d1ab8c007242b18002900f727..."} 
[2026-04-17 20:19:59] local.INFO: Processing buffer {"connection_id":46926,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be7f010012d1ab8c007242b18002900f727..."} 
[2026-04-17 20:19:59] local.INFO: Packet analysis {"connection_id":46926,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be7"} 
[2026-04-17 20:19:59] local.INFO: Extracted packet for processing {"connection_id":46926,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be7"} 
[2026-04-17 20:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756725952,"raw_latitude":119810840,"longitude_deg":75.6725952,"latitude_deg":11.981084,"altitude":41,"angle":247,"satellites":39,"speed":23,"hex_longitude":"2d1ab8c0","hex_latitude":"07242b18","is_valid_coordinates":true} 
[2026-04-17 20:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767911168001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113516939116019712,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1932677589511936000,"note":"Value kept but may cause issues"} 
[2026-04-17 20:19:59] 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-04-17 20:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776437162000,"timestamp_ms":1776437162000,"timestamp_seconds":1776437162,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be7f010"} 
[2026-04-17 20:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:19: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-04-17 20:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-17 20:19: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-04-17 20:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46926,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46926,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767911168001,"66":13450,"112":206,"28":31744,"24":23,"16":113516939116019712,"45":1932677589511936000},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-04-17 20:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767911168001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:19:59] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-04-17 20:19:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113516939116019712,"km_value":113516939116019.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1932677589511936000,"description":"Unknown IO ID 45"} 
[2026-04-17 20:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767911168001,"power":13450,"unknown_112":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1932677589511936000}} 
[2026-04-17 20:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":46926,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22958,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:19:59] local.INFO: GPS data processed {"connection_id":46926,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:19:59] local.INFO: Acknowledgment sent {"connection_id":46926,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:20:26] local.INFO: TCP Data received {"connection_id":46183,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:20:26] local.INFO: Processing buffer {"connection_id":46183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:20:26] local.INFO: IMEI packet received {"connection_id":46183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":46183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:20:27] local.INFO: TCP Data received {"connection_id":46182,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bea70b0012d7d290005d210d00005000733..."} 
[2026-04-17 20:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46182,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bea70b0012d7d290005d210d00005000733..."} 
[2026-04-17 20:20:27] local.INFO: Processing buffer {"connection_id":46182,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bea70b0012d7d290005d210d00005000733..."} 
[2026-04-17 20:20:27] local.INFO: Packet analysis {"connection_id":46182,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bea"} 
[2026-04-17 20:20:27] local.INFO: Extracted packet for processing {"connection_id":46182,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bea"} 
[2026-04-17 20:20:27] local.INFO: GPS Element Parsed {"raw_longitude":763177216,"raw_latitude":97652944,"longitude_deg":76.3177216,"latitude_deg":9.7652944,"altitude":5,"angle":7,"satellites":51,"speed":36,"hex_longitude":"2d7d2900","hex_latitude":"05d210d0","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767952640001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274190557557817344,"note":"Value kept but may cause issues"} 
[2026-04-17 20:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018106435085207552,"note":"Value kept but may cause issues"} 
[2026-04-17 20:20:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776437326000,"timestamp_ms":1776437326000,"timestamp_seconds":1776437326,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bea70b0"} 
[2026-04-17 20:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 20:20:27] 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-04-17 20: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-04-17 20:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46182,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46182,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767952640001,"66":27365,"23":206,"85":15104,"24":36,"16":274190557557817344,"45":9018106435085207552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-04-17 20:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767952640001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:20:27] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-17 20:20:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274190557557817344,"km_value":274190557557817.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018106435085207552,"description":"Unknown IO ID 45"} 
[2026-04-17 20:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767952640001,"power":27365,"unknown_23":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":9018106435085207552}} 
[2026-04-17 20:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":46182,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22959,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:20:27] local.INFO: GPS data processed {"connection_id":46182,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:20:27] local.INFO: Acknowledgment sent {"connection_id":46182,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:20:31] local.INFO: TCP Data received {"connection_id":46183,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:20:31] local.INFO: Processing buffer {"connection_id":46183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:20:31] local.INFO: IMEI packet received {"connection_id":46183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":46183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:20:32] local.INFO: TCP Data received {"connection_id":46183,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be82e90012d1a958007241b58002a00f42a..."} 
[2026-04-17 20:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be82e90012d1a958007241b58002a00f42a..."} 
[2026-04-17 20:20:32] local.INFO: Processing buffer {"connection_id":46183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be82e90012d1a958007241b58002a00f42a..."} 
[2026-04-17 20:20:32] local.INFO: Packet analysis {"connection_id":46183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be8"} 
[2026-04-17 20:20:32] local.INFO: Extracted packet for processing {"connection_id":46183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be8"} 
[2026-04-17 20:20:32] local.INFO: GPS Element Parsed {"raw_longitude":756716928,"raw_latitude":119806808,"longitude_deg":75.6716928,"latitude_deg":11.9806808,"altitude":42,"angle":244,"satellites":42,"speed":34,"hex_longitude":"2d1a9580","hex_latitude":"07241b58","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767913472001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517407267454976,"note":"Value kept but may cause issues"} 
[2026-04-17 20:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1925499977604995072,"note":"Value kept but may cause issues"} 
[2026-04-17 20:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776437178000,"timestamp_ms":1776437178000,"timestamp_seconds":1776437178,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be82e90"} 
[2026-04-17 20:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:20: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-04-17 20:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":138,"data_length":795,"current_offset":136} 
[2026-04-17 20:20:32] 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-04-17 20:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767913472001,"66":13580,"112":206,"28":31744,"24":34,"16":113517407267454976,"45":1925499977604995072},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-04-17 20:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767913472001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:20:32] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-04-17 20:20:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517407267454976,"km_value":113517407267454.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1925499977604995072,"description":"Unknown IO ID 45"} 
[2026-04-17 20:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767913472001,"power":13580,"unknown_112":206,"unknown_28":31744,"ignition":34,"odometer":null,"unknown_45":1925499977604995072}} 
[2026-04-17 20:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":46183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22960,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:20:33] local.INFO: GPS data processed {"connection_id":46183,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:20:33] local.INFO: Acknowledgment sent {"connection_id":46183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:20:49] local.INFO: TCP Data received {"connection_id":46416,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:20:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:20:49] local.INFO: Processing buffer {"connection_id":46416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:20:49] local.INFO: IMEI packet received {"connection_id":46416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:20:49] local.INFO: IMEI acknowledgment sent {"connection_id":46416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:20:53] local.INFO: TCP Data received {"connection_id":46416,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:20:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46416,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:20:53] local.INFO: Processing buffer {"connection_id":46416,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:20:53] local.INFO: IMEI packet received {"connection_id":46416,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:20:53] local.INFO: IMEI acknowledgment sent {"connection_id":46416,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:20:54] local.INFO: TCP Data received {"connection_id":46416,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bea93d8012d7d2f4005d234380005000a31..."} 
[2026-04-17 20:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bea93d8012d7d2f4005d234380005000a31..."} 
[2026-04-17 20:20:54] local.INFO: Processing buffer {"connection_id":46416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bea93d8012d7d2f4005d234380005000a31..."} 
[2026-04-17 20:20:54] local.INFO: Packet analysis {"connection_id":46416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bea"} 
[2026-04-17 20:20:54] local.INFO: Extracted packet for processing {"connection_id":46416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bea"} 
[2026-04-17 20:20:54] local.INFO: GPS Element Parsed {"raw_longitude":763178816,"raw_latitude":97662008,"longitude_deg":76.3178816,"latitude_deg":9.7662008,"altitude":5,"angle":10,"satellites":49,"speed":44,"hex_longitude":"2d7d2f40","hex_latitude":"05d23438","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:20:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767955456001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:20:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274191004234416128,"note":"Value kept but may cause issues"} 
[2026-04-17 20:20:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9018739753785282560,"note":"Value kept but may cause issues"} 
[2026-04-17 20:20:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,23,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:20:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776437335000,"timestamp_ms":1776437335000,"timestamp_seconds":1776437335,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bea93d8"} 
[2026-04-17 20:20:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:20: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-04-17 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 20:20:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:20:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:20:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:20:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:20:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:20:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:20:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:20:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:20:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:20:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:20:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767955456001,"66":27376,"23":206,"85":15104,"24":44,"16":274191004234416128,"45":9018739753785282560},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,23,85,24,16,45]} 
[2026-04-17 20:20:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:20:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:20:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767955456001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:20:54] local.INFO: Unknown IO ID detected {"io_id":23,"value":206,"description":"Unknown IO ID 23"} 
[2026-04-17 20:20:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:20:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274191004234416128,"km_value":274191004234416.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:20:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":9018739753785282560,"description":"Unknown IO ID 45"} 
[2026-04-17 20:20:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767955456001,"power":27376,"unknown_23":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9018739753785282560}} 
[2026-04-17 20:20:54] local.INFO: DEBUG: GPS processor result {"connection_id":46416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22961,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:20:54] local.INFO: GPS data processed {"connection_id":46416,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:20:54] local.INFO: Acknowledgment sent {"connection_id":46416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:21:04] local.INFO: TCP Data received {"connection_id":46183,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be86158012d1a740007240b60002c00ef2b..."} 
[2026-04-17 20:21:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be86158012d1a740007240b60002c00ef2b..."} 
[2026-04-17 20:21:04] local.INFO: Processing buffer {"connection_id":46183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be86158012d1a740007240b60002c00ef2b..."} 
[2026-04-17 20:21:04] local.INFO: Packet analysis {"connection_id":46183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be8"} 
[2026-04-17 20:21:04] local.INFO: Extracted packet for processing {"connection_id":46183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be8"} 
[2026-04-17 20:21:04] local.INFO: GPS Element Parsed {"raw_longitude":756708352,"raw_latitude":119802720,"longitude_deg":75.6708352,"latitude_deg":11.980272,"altitude":44,"angle":239,"satellites":43,"speed":26,"hex_longitude":"2d1a7400","hex_latitude":"07240b60","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767917568001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113517858239021056,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1915577984674912256,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:21:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776437191000,"timestamp_ms":1776437191000,"timestamp_seconds":1776437191,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be86158"} 
[2026-04-17 20:21:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:21: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-04-17 20: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":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-17 20:21:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867888969,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:04] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2615625752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:04] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:04] local.WARNING: Large IO value detected {"io_id":74,"raw_value":2701131776,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:04] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7833554154973822976,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:04] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3886405633,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:04] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18635674132277104,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:04] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-04-17 20:21:04] local.WARNING: Large IO value detected {"io_id":248,"raw_value":3221693548,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:04] local.WARNING: Large IO value detected {"io_id":53,"raw_value":864917521516514844,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:04] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:04] local.WARNING: Large IO value detected {"io_id":27,"raw_value":3332671578057998373,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:04] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755519700271345,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:04] local.INFO: IO Element Parsed {"io_data_count":43,"io_data_keys":[0,112,28,24,241,158,16,75,157,240,45,192,43,41,39,10,66,204,64,55,42,74,193,1,78,155,36,4,113,205,111,248,184,35,239,53,2,147,7,40,31,27,124],"length":577,"final_offset":707,"validated_count":43,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-04-17 20:21:04] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3026687410821005312,"timestamp_seconds":3026687410821005.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 20:21:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:21:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:21:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:21:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:21:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:21:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:21:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:21:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:21:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767917568001,"66":12287,"112":206,"28":31744,"24":26,"16":113517858239021056,"45":1915577984674912256},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-04-17 20:21:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:21:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:21:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767917568001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:21:04] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-04-17 20:21:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:21:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113517858239021056,"km_value":113517858239021.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:21:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1915577984674912256,"description":"Unknown IO ID 45"} 
[2026-04-17 20:21:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767917568001,"power":12287,"unknown_112":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1915577984674912256}} 
[2026-04-17 20:21:04] local.INFO: DEBUG: GPS processor result {"connection_id":46183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22962,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:21:04] local.INFO: GPS data processed {"connection_id":46183,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:21:04] local.INFO: Acknowledgment sent {"connection_id":46183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:21:21] local.INFO: TCP Data received {"connection_id":46929,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:21:21] local.INFO: Processing buffer {"connection_id":46929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:21:21] local.INFO: IMEI packet received {"connection_id":46929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":46929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:21:25] local.INFO: TCP Data received {"connection_id":46416,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bebe3c8012d7d378005d3cd500000000528..."} 
[2026-04-17 20:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46416,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bebe3c8012d7d378005d3cd500000000528..."} 
[2026-04-17 20:21:25] local.INFO: Processing buffer {"connection_id":46416,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bebe3c8012d7d378005d3cd500000000528..."} 
[2026-04-17 20:21:25] local.INFO: Packet analysis {"connection_id":46416,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9beb"} 
[2026-04-17 20:21:25] local.INFO: Extracted packet for processing {"connection_id":46416,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9beb"} 
[2026-04-17 20:21:25] local.INFO: GPS Element Parsed {"raw_longitude":763180928,"raw_latitude":97766736,"longitude_deg":76.3180928,"latitude_deg":9.7766736,"altitude":0,"angle":5,"satellites":40,"speed":58,"hex_longitude":"2d7d3780","hex_latitude":"05d3cd50","is_valid_coordinates":true} 
[2026-04-17 20:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:21:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767978240001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274196102360596480,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022047084788490240,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:25] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,81,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:21:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776437421000,"timestamp_ms":1776437421000,"timestamp_seconds":1776437421,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bebe3c8"} 
[2026-04-17 20:21:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:21:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:21:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:21:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:21:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:21:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:21:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:21:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46416,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:21:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:21:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46416,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:21:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:21:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:21:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:21:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767978240001,"66":27343,"81":206,"85":15104,"24":58,"16":274196102360596480,"45":9022047084788490240},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,81,85,24,16,45]} 
[2026-04-17 20:21:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:21:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:21:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767978240001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:21:25] local.INFO: Unknown IO ID detected {"io_id":81,"value":206,"description":"Unknown IO ID 81"} 
[2026-04-17 20:21:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:21:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274196102360596480,"km_value":274196102360596.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:21:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022047084788490240,"description":"Unknown IO ID 45"} 
[2026-04-17 20:21:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767978240001,"power":27343,"unknown_81":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":9022047084788490240}} 
[2026-04-17 20:21:25] local.INFO: DEBUG: GPS processor result {"connection_id":46416,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22963,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:21:25] local.INFO: GPS data processed {"connection_id":46416,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:21:25] local.INFO: Acknowledgment sent {"connection_id":46416,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:21:26] local.INFO: TCP Data received {"connection_id":46929,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46929,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:21:26] local.INFO: Processing buffer {"connection_id":46929,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:21:26] local.INFO: IMEI packet received {"connection_id":46929,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":46929,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:21:28] local.INFO: TCP Data received {"connection_id":46929,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9be878c8012d1a650007240088002c00e328..."} 
[2026-04-17 20:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9be878c8012d1a650007240088002c00e328..."} 
[2026-04-17 20:21:28] local.INFO: Processing buffer {"connection_id":46929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9be878c8012d1a650007240088002c00e328..."} 
[2026-04-17 20:21:28] local.INFO: Packet analysis {"connection_id":46929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9be8"} 
[2026-04-17 20:21:28] local.INFO: Extracted packet for processing {"connection_id":46929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9be8"} 
[2026-04-17 20:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756704512,"raw_latitude":119799944,"longitude_deg":75.6704512,"latitude_deg":11.9799944,"altitude":44,"angle":227,"satellites":40,"speed":35,"hex_longitude":"2d1a6500","hex_latitude":"07240088","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767920896001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113518090167255040,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1906148572954058752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776437197000,"timestamp_ms":1776437197000,"timestamp_seconds":1776437197,"priority":1,"record_length":96,"hex_timestamp":"0000019d9be878c8"} 
[2026-04-17 20:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:21: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-04-17 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 20:21: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-04-17 20: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-04-17 20:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767920896001,"66":13048,"112":206,"28":31744,"24":35,"16":113518090167255040,"45":1906148572954058752},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-04-17 20:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767920896001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:21:28] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-04-17 20:21:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113518090167255040,"km_value":113518090167255.05,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1906148572954058752,"description":"Unknown IO ID 45"} 
[2026-04-17 20:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767920896001,"power":13048,"unknown_112":206,"unknown_28":31744,"ignition":35,"odometer":null,"unknown_45":1906148572954058752}} 
[2026-04-17 20:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":46929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22964,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:21:28] local.INFO: GPS data processed {"connection_id":46929,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:21:28] local.INFO: Acknowledgment sent {"connection_id":46929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:21:50] local.INFO: TCP Data received {"connection_id":46930,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:21:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:21:50] local.INFO: Processing buffer {"connection_id":46930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:21:50] local.INFO: IMEI packet received {"connection_id":46930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:21:50] local.INFO: IMEI acknowledgment sent {"connection_id":46930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:21:54] local.INFO: TCP Data received {"connection_id":46930,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:21:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46930,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:21:54] local.INFO: Processing buffer {"connection_id":46930,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:21:54] local.INFO: IMEI packet received {"connection_id":46930,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:21:54] local.INFO: IMEI acknowledgment sent {"connection_id":46930,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:21:55] local.INFO: TCP Data received {"connection_id":46930,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bebff20012d7d3b0005d3f368000000042a..."} 
[2026-04-17 20:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bebff20012d7d3b0005d3f368000000042a..."} 
[2026-04-17 20:21:55] local.INFO: Processing buffer {"connection_id":46930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bebff20012d7d3b0005d3f368000000042a..."} 
[2026-04-17 20:21:55] local.INFO: Packet analysis {"connection_id":46930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9beb"} 
[2026-04-17 20:21:55] local.INFO: Extracted packet for processing {"connection_id":46930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9beb"} 
[2026-04-17 20:21:55] local.INFO: GPS Element Parsed {"raw_longitude":763181824,"raw_latitude":97776488,"longitude_deg":76.3181824,"latitude_deg":9.7776488,"altitude":0,"angle":4,"satellites":42,"speed":42,"hex_longitude":"2d7d3b00","hex_latitude":"05d3f368","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:21:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767979776001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274196574806999040,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9022821140976717824,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:21:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776437428000,"timestamp_ms":1776437428000,"timestamp_seconds":1776437428,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bebff20"} 
[2026-04-17 20:21:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:21: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-04-17 20:21:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 20:21:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:21:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:21:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:21:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:21:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:21:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:21:55] 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-04-17 20:21:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:21:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:21:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767979776001,"66":27245,"254":206,"85":15104,"24":42,"16":274196574806999040,"45":9022821140976717824},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-17 20:21:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:21:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:21:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767979776001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:21:55] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-17 20:21:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:21:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274196574806999040,"km_value":274196574806999.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:21:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":9022821140976717824,"description":"Unknown IO ID 45"} 
[2026-04-17 20:21:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767979776001,"power":27245,"unknown_254":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":9022821140976717824}} 
[2026-04-17 20:21:55] local.INFO: DEBUG: GPS processor result {"connection_id":46930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22965,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:21:55] local.INFO: GPS data processed {"connection_id":46930,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:21:55] local.INFO: Acknowledgment sent {"connection_id":46930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:21:59] local.INFO: TCP Data received {"connection_id":46929,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bec7068012d1a23000723ac280034015c2e..."} 
[2026-04-17 20:21:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46929,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bec7068012d1a23000723ac280034015c2e..."} 
[2026-04-17 20:21:59] local.INFO: Processing buffer {"connection_id":46929,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bec7068012d1a23000723ac280034015c2e..."} 
[2026-04-17 20:21:59] local.INFO: Packet analysis {"connection_id":46929,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bec"} 
[2026-04-17 20:21:59] local.INFO: Extracted packet for processing {"connection_id":46929,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bec"} 
[2026-04-17 20:21:59] local.INFO: GPS Element Parsed {"raw_longitude":756687616,"raw_latitude":119778344,"longitude_deg":75.6687616,"latitude_deg":11.9778344,"altitude":52,"angle":348,"satellites":46,"speed":5,"hex_longitude":"2d1a2300","hex_latitude":"0723ac28","is_valid_coordinates":true} 
[2026-04-17 20:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:21:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767987456001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113518528253919232,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883419468578314240,"note":"Value kept but may cause issues"} 
[2026-04-17 20:21:59] 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-04-17 20:21:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776437457000,"timestamp_ms":1776437457000,"timestamp_seconds":1776437457,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bec7068"} 
[2026-04-17 20:21:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:21: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-04-17 20:21:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":62,"data_length":795,"current_offset":136} 
[2026-04-17 20:21:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1016,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:21:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:21:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:21:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:21:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46929,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:21:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:21:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46929,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:21:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:21:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:21:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:21:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767987456001,"66":13624,"112":206,"28":31744,"24":5,"16":113518528253919232,"45":1883419468578314240},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-04-17 20:21:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:21:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:21:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767987456001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:21:59] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-04-17 20:21:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:21:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113518528253919232,"km_value":113518528253919.23,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:21:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883419468578314240,"description":"Unknown IO ID 45"} 
[2026-04-17 20:21:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767987456001,"power":13624,"unknown_112":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1883419468578314240}} 
[2026-04-17 20:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":46929,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22966,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:22:00] local.INFO: GPS data processed {"connection_id":46929,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:22:00] local.INFO: Acknowledgment sent {"connection_id":46929,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:22:21] local.INFO: TCP Data received {"connection_id":46932,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:22:21] local.INFO: Processing buffer {"connection_id":46932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:22:21] local.INFO: IMEI packet received {"connection_id":46932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":46932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:22:24] local.INFO: TCP Data received {"connection_id":46932,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:22:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46932,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:22:24] local.INFO: Processing buffer {"connection_id":46932,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:22:24] local.INFO: IMEI packet received {"connection_id":46932,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:22:24] local.INFO: IMEI acknowledgment sent {"connection_id":46932,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:22:26] local.INFO: TCP Data received {"connection_id":46930,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bec31e8012d7d3e4005d41890000000052a..."} 
[2026-04-17 20:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46930,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bec31e8012d7d3e4005d41890000000052a..."} 
[2026-04-17 20:22:26] local.INFO: Processing buffer {"connection_id":46930,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bec31e8012d7d3e4005d41890000000052a..."} 
[2026-04-17 20:22:26] local.INFO: Packet analysis {"connection_id":46930,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bec"} 
[2026-04-17 20:22:26] local.INFO: Extracted packet for processing {"connection_id":46930,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bec"} 
[2026-04-17 20:22:26] local.INFO: GPS Element Parsed {"raw_longitude":763182656,"raw_latitude":97786000,"longitude_deg":76.3182656,"latitude_deg":9.7786,"altitude":0,"angle":5,"satellites":42,"speed":35,"hex_longitude":"2d7d3e40","hex_latitude":"05d41890","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767981568001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274197038663467008,"note":"Value kept but may cause issues"} 
[2026-04-17 20:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9023806303397701632,"note":"Value kept but may cause issues"} 
[2026-04-17 20:22:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776437441000,"timestamp_ms":1776437441000,"timestamp_seconds":1776437441,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bec31e8"} 
[2026-04-17 20:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:22: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-04-17 20: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-17 20:22:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46930,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46930,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:22:26] 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-04-17 20:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767981568001,"66":27397,"254":206,"85":15104,"24":35,"16":274197038663467008,"45":9023806303397701632},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-17 20:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767981568001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:22:26] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-17 20:22:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274197038663467008,"km_value":274197038663467.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":9023806303397701632,"description":"Unknown IO ID 45"} 
[2026-04-17 20:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767981568001,"power":27397,"unknown_254":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":9023806303397701632}} 
[2026-04-17 20:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":46930,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22967,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:22:26] local.INFO: GPS data processed {"connection_id":46930,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:22:26] local.INFO: Acknowledgment sent {"connection_id":46930,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:22:26] local.INFO: TCP Data received {"connection_id":46932,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bec7838012d1a22800723ad180034014c2e..."} 
[2026-04-17 20:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bec7838012d1a22800723ad180034014c2e..."} 
[2026-04-17 20:22:26] local.INFO: Processing buffer {"connection_id":46932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bec7838012d1a22800723ad180034014c2e..."} 
[2026-04-17 20:22:26] local.INFO: Packet analysis {"connection_id":46932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bec"} 
[2026-04-17 20:22:26] local.INFO: Extracted packet for processing {"connection_id":46932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bec"} 
[2026-04-17 20:22:26] local.INFO: GPS Element Parsed {"raw_longitude":756687488,"raw_latitude":119778584,"longitude_deg":75.6687488,"latitude_deg":11.9778584,"altitude":52,"angle":332,"satellites":46,"speed":5,"hex_longitude":"2d1a2280","hex_latitude":"0723ad18","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767988992001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113518541138821120,"note":"Value kept but may cause issues"} 
[2026-04-17 20:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883349099834255360,"note":"Value kept but may cause issues"} 
[2026-04-17 20:22:26] 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-04-17 20:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776437459000,"timestamp_ms":1776437459000,"timestamp_seconds":1776437459,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bec7838"} 
[2026-04-17 20:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:22: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-04-17 20:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-17 20:22:26] 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-04-17 20: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-04-17 20:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767988992001,"66":13559,"112":206,"28":31744,"24":5,"16":113518541138821120,"45":1883349099834255360},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-04-17 20:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767988992001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:22:26] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-04-17 20:22:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113518541138821120,"km_value":113518541138821.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883349099834255360,"description":"Unknown IO ID 45"} 
[2026-04-17 20:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767988992001,"power":13559,"unknown_112":206,"unknown_28":31744,"ignition":5,"odometer":null,"unknown_45":1883349099834255360}} 
[2026-04-17 20:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":46932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22968,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:22:27] local.INFO: GPS data processed {"connection_id":46932,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:22:27] local.INFO: Acknowledgment sent {"connection_id":46932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:22:49] local.INFO: TCP Data received {"connection_id":46417,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:22:49] local.INFO: Processing buffer {"connection_id":46417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:22:49] local.INFO: IMEI packet received {"connection_id":46417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":46417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:22:54] local.INFO: TCP Data received {"connection_id":46417,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:22:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46417,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:22:54] local.INFO: Processing buffer {"connection_id":46417,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:22:54] local.INFO: IMEI packet received {"connection_id":46417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:22:54] local.INFO: IMEI acknowledgment sent {"connection_id":46417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:22:58] local.INFO: TCP Data received {"connection_id":46417,"ip":"42.106.6.44","data_length":34,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 20:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46417,"packet_length":34,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 20:22:58] local.INFO: Processing buffer {"connection_id":46417,"buffer_length":34,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 20:22:58] local.INFO: IMEI packet received {"connection_id":46417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:22:58] local.INFO: IMEI acknowledgment sent {"connection_id":46417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:23:00] local.INFO: TCP Data received {"connection_id":46932,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bec9390012d1a1fc00723adb8003400fc2d..."} 
[2026-04-17 20:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46932,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bec9390012d1a1fc00723adb8003400fc2d..."} 
[2026-04-17 20:23:00] local.INFO: Processing buffer {"connection_id":46932,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bec9390012d1a1fc00723adb8003400fc2d..."} 
[2026-04-17 20:23:00] local.INFO: Packet analysis {"connection_id":46932,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bec"} 
[2026-04-17 20:23:00] local.INFO: Extracted packet for processing {"connection_id":46932,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bec"} 
[2026-04-17 20:23:00] local.INFO: GPS Element Parsed {"raw_longitude":756686784,"raw_latitude":119778744,"longitude_deg":75.6686784,"latitude_deg":11.9778744,"altitude":52,"angle":252,"satellites":45,"speed":8,"hex_longitude":"2d1a1fc0","hex_latitude":"0723adb8","is_valid_coordinates":true} 
[2026-04-17 20:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767989504001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113518579793526784,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1883208362345961472,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776437466000,"timestamp_ms":1776437466000,"timestamp_seconds":1776437466,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bec9390"} 
[2026-04-17 20:23:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:23:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":247,"data_length":795,"current_offset":136} 
[2026-04-17 20:23:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2681,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:23:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:23:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46932,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46932,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767989504001,"66":13580,"112":206,"28":31744,"24":8,"16":113518579793526784,"45":1883208362345961472},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-04-17 20:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767989504001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:23:00] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-04-17 20:23:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113518579793526784,"km_value":113518579793526.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1883208362345961472,"description":"Unknown IO ID 45"} 
[2026-04-17 20:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767989504001,"power":13580,"unknown_112":206,"unknown_28":31744,"ignition":8,"odometer":null,"unknown_45":1883208362345961472}} 
[2026-04-17 20:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":46932,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22969,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:23:00] local.INFO: GPS data processed {"connection_id":46932,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:23:00] local.INFO: Acknowledgment sent {"connection_id":46932,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:23:01] local.INFO: TCP Data received {"connection_id":46417,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bec5510012d7d3f4005d43c380000000022..."} 
[2026-04-17 20:23:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bec5510012d7d3f4005d43c380000000022..."} 
[2026-04-17 20:23:01] local.INFO: Processing buffer {"connection_id":46417,"buffer_length":812,"buffer_hex":"000f383632353637303734373733313135000000000000030f8e0a0000019d9b..."} 
[2026-04-17 20:23:01] local.INFO: IMEI packet received {"connection_id":46417,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:23:01] local.INFO: IMEI acknowledgment sent {"connection_id":46417,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:23:02] local.INFO: TCP Data received {"connection_id":46417,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bec7450012d7d3dc005d45ed00000016224..."} 
[2026-04-17 20:23:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bec7450012d7d3dc005d45ed00000016224..."} 
[2026-04-17 20:23:02] local.INFO: Processing buffer {"connection_id":46417,"buffer_length":1590,"buffer_hex":"000000000000030f8e0a0000019d9bec5510012d7d3f4005d43c380000000022..."} 
[2026-04-17 20:23:02] local.INFO: Packet analysis {"connection_id":46417,"data_field_length":783,"total_packet_length":795,"buffer_length":1590,"packet_hex_start":"000000000000030f8e0a0000019d9bec"} 
[2026-04-17 20:23:02] local.INFO: Extracted packet for processing {"connection_id":46417,"packet_length":795,"remaining_buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bec"} 
[2026-04-17 20:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763182912,"raw_latitude":97795128,"longitude_deg":76.3182912,"latitude_deg":9.7795128,"altitude":0,"angle":0,"satellites":34,"speed":43,"hex_longitude":"2d7d3f40","hex_latitude":"05d43c38","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767984896001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274197481045098496,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024721097074446336,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776437450000,"timestamp_ms":1776437450000,"timestamp_seconds":1776437450,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bec5510"} 
[2026-04-17 20:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:23: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-04-17 20: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-04-17 20:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:23:02] 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-04-17 20:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767984896001,"66":27343,"254":206,"85":15104,"24":43,"16":274197481045098496,"45":9024721097074446336},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-17 20:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767984896001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:23:02] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-17 20:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274197481045098496,"km_value":274197481045098.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024721097074446336,"description":"Unknown IO ID 45"} 
[2026-04-17 20:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767984896001,"power":27343,"unknown_254":206,"unknown_85":15104,"ignition":43,"odometer":null,"unknown_45":9024721097074446336}} 
[2026-04-17 20:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":46417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22970,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:23:02] local.INFO: GPS data processed {"connection_id":46417,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:23:02] local.INFO: Acknowledgment sent {"connection_id":46417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:23:02] local.INFO: Packet analysis {"connection_id":46417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bec"} 
[2026-04-17 20:23:02] local.INFO: Extracted packet for processing {"connection_id":46417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bec"} 
[2026-04-17 20:23:02] local.INFO: GPS Element Parsed {"raw_longitude":763182528,"raw_latitude":97803984,"longitude_deg":76.3182528,"latitude_deg":9.7803984,"altitude":0,"angle":354,"satellites":36,"speed":44,"hex_longitude":"2d7d3dc0","hex_latitude":"05d45ed0","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:23:02] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767987200001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:02] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274197910541828096,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:02] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9025002572053493760,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:02] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:23:02] local.INFO: AVL Record Parsed {"raw_timestamp":1776437458000,"timestamp_ms":1776437458000,"timestamp_seconds":1776437458,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bec7450"} 
[2026-04-17 20:23:02] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:23:02] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 20:23:02] 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-04-17 20: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-04-17 20:23:02] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:23:02] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:23:02] local.INFO: Teltonika packet parsed successfully {"connection_id":46417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:23:02] local.INFO: Passing IMEI to GPS processor {"connection_id":46417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:23:02] local.INFO: DEBUG: About to call GPS processor {"connection_id":46417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:23:02] 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-04-17 20:23:02] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:23:02] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:23:02] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767987200001,"66":27267,"254":206,"85":15104,"24":44,"16":274197910541828096,"45":9025002572053493760},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-17 20:23:02] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:23:02] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:23:02] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767987200001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:23:02] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-17 20:23:02] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:23:02] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274197910541828096,"km_value":274197910541828.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:23:02] local.INFO: Unknown IO ID detected {"io_id":45,"value":9025002572053493760,"description":"Unknown IO ID 45"} 
[2026-04-17 20:23:02] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767987200001,"power":27267,"unknown_254":206,"unknown_85":15104,"ignition":44,"odometer":null,"unknown_45":9025002572053493760}} 
[2026-04-17 20:23:02] local.INFO: DEBUG: GPS processor result {"connection_id":46417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22971,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:23:02] local.INFO: GPS data processed {"connection_id":46417,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:23:02] local.INFO: Acknowledgment sent {"connection_id":46417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:23:05] local.INFO: TCP Data received {"connection_id":46417,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bec9778012d7d374005d484800000015e25..."} 
[2026-04-17 20:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46417,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bec9778012d7d374005d484800000015e25..."} 
[2026-04-17 20:23:05] local.INFO: Processing buffer {"connection_id":46417,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bec9778012d7d374005d484800000015e25..."} 
[2026-04-17 20:23:05] local.INFO: Packet analysis {"connection_id":46417,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bec"} 
[2026-04-17 20:23:05] local.INFO: Extracted packet for processing {"connection_id":46417,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bec"} 
[2026-04-17 20:23:05] local.INFO: GPS Element Parsed {"raw_longitude":763180864,"raw_latitude":97813632,"longitude_deg":76.3180864,"latitude_deg":9.7813632,"altitude":0,"angle":350,"satellites":37,"speed":38,"hex_longitude":"2d7d3740","hex_latitude":"05d48480","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:23:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767989248001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274198387283197952,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9024580359590694912,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,254,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:23:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776437467000,"timestamp_ms":1776437467000,"timestamp_seconds":1776437467,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bec9778"} 
[2026-04-17 20:23:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:23: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-04-17 20: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 20:23:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:23:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:23:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:23:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46417,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:23:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:23:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46417,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:23: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-04-17 20:23:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:23:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:23:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767989248001,"66":27365,"254":206,"85":15104,"24":38,"16":274198387283197952,"45":9024580359590694912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,254,85,24,16,45]} 
[2026-04-17 20:23:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:23:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:23:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767989248001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:23:05] local.INFO: Unknown IO ID detected {"io_id":254,"value":206,"description":"Unknown IO ID 254"} 
[2026-04-17 20:23:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:23:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274198387283197952,"km_value":274198387283197.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:23:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9024580359590694912,"description":"Unknown IO ID 45"} 
[2026-04-17 20:23:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767989248001,"power":27365,"unknown_254":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":9024580359590694912}} 
[2026-04-17 20:23:05] local.INFO: DEBUG: GPS processor result {"connection_id":46417,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22972,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:23:05] local.INFO: GPS data processed {"connection_id":46417,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:23:05] local.INFO: Acknowledgment sent {"connection_id":46417,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:23:21] local.INFO: TCP Data received {"connection_id":46185,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:23:21] local.INFO: Processing buffer {"connection_id":46185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:23:21] local.INFO: IMEI packet received {"connection_id":46185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":46185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:23:24] local.INFO: TCP Data received {"connection_id":46184,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:23:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46184,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:23:24] local.INFO: Processing buffer {"connection_id":46184,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:23:24] local.INFO: IMEI packet received {"connection_id":46184,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:23:24] local.INFO: IMEI acknowledgment sent {"connection_id":46184,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:23:26] local.INFO: TCP Data received {"connection_id":46185,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46185,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:23:26] local.INFO: Processing buffer {"connection_id":46185,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:23:26] local.INFO: IMEI packet received {"connection_id":46185,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":46185,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:23:28] local.INFO: TCP Data received {"connection_id":46185,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9becd210012d19fd000723a6a0003201072b..."} 
[2026-04-17 20:23:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9becd210012d19fd000723a6a0003201072b..."} 
[2026-04-17 20:23:28] local.INFO: Processing buffer {"connection_id":46185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9becd210012d19fd000723a6a0003201072b..."} 
[2026-04-17 20:23:28] local.INFO: Packet analysis {"connection_id":46185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bec"} 
[2026-04-17 20:23:28] local.INFO: Extracted packet for processing {"connection_id":46185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bec"} 
[2026-04-17 20:23:28] local.INFO: GPS Element Parsed {"raw_longitude":756677888,"raw_latitude":119776928,"longitude_deg":75.6677888,"latitude_deg":11.9776928,"altitude":50,"angle":263,"satellites":43,"speed":29,"hex_longitude":"2d19fd00","hex_latitude":"0723a6a0","is_valid_coordinates":true} 
[2026-04-17 20:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454767991296001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113519013585223680,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1882434306160048128,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,112,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:23:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776437482000,"timestamp_ms":1776437482000,"timestamp_seconds":1776437482,"priority":1,"record_length":96,"hex_timestamp":"0000019d9becd210"} 
[2026-04-17 20:23:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:23:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":20992,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:23:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-17 20:23:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867888972,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2615909752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7832751511485546496,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:28] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:28] local.WARNING: Large IO value detected {"io_id":155,"raw_value":3959877633,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:28] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18586651375560560,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3882877134,"corrected_to":0} 
[2026-04-17 20:23:28] local.WARNING: Large IO value detected {"io_id":180,"raw_value":3892391194,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:28] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432749031,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:28] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:28] local.WARNING: Large IO value detected {"io_id":26,"raw_value":2990398002479759408,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:28] local.WARNING: Large IO value detected {"io_id":8,"raw_value":8503022490375736860,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:28] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:28] local.INFO: IO Element Parsed {"io_data_count":39,"io_data_keys":[0,112,28,24,241,158,16,76,157,120,45,128,173,52,46,10,66,172,88,64,1,240,62,155,35,4,113,205,180,44,239,49,2,147,7,48,26,8,124],"length":577,"final_offset":707,"validated_count":39,"validation_warnings":[{"io_id":205,"original":3882877134,"validated":0}]} 
[2026-04-17 20:23:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3747272160176504832,"timestamp_seconds":3747272160176505.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 20:23:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:23:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:23:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:23:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:23:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:23:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:23:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:23:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:23:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454767991296001,"66":13559,"112":206,"28":31744,"24":29,"16":113519013585223680,"45":1882434306160048128},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,112,28,24,16,45]} 
[2026-04-17 20:23:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:23:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:23:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454767991296001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:23:28] local.INFO: Unknown IO ID detected {"io_id":112,"value":206,"description":"Unknown IO ID 112"} 
[2026-04-17 20:23:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:23:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113519013585223680,"km_value":113519013585223.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:23:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1882434306160048128,"description":"Unknown IO ID 45"} 
[2026-04-17 20:23:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454767991296001,"power":13559,"unknown_112":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1882434306160048128}} 
[2026-04-17 20:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":46185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22973,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:23:28] local.INFO: GPS data processed {"connection_id":46185,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:23:28] local.INFO: Acknowledgment sent {"connection_id":46185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:23:55] local.INFO: TCP Data received {"connection_id":46076,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:23:55] local.INFO: Processing buffer {"connection_id":46076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:23:55] local.INFO: IMEI packet received {"connection_id":46076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":46076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:23:56] local.INFO: TCP Data received {"connection_id":46076,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:23:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:23:56] local.INFO: Processing buffer {"connection_id":46076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:23:56] local.INFO: IMEI packet received {"connection_id":46076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:23:56] local.INFO: IMEI acknowledgment sent {"connection_id":46076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:23:59] local.INFO: TCP Data received {"connection_id":46185,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bee8b78012d18f1400722f468005a010422..."} 
[2026-04-17 20:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46185,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bee8b78012d18f1400722f468005a010422..."} 
[2026-04-17 20:23:59] local.INFO: Processing buffer {"connection_id":46185,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bee8b78012d18f1400722f468005a010422..."} 
[2026-04-17 20:23:59] local.INFO: Packet analysis {"connection_id":46185,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bee"} 
[2026-04-17 20:23:59] local.INFO: Extracted packet for processing {"connection_id":46185,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bee"} 
[2026-04-17 20:23:59] local.INFO: GPS Element Parsed {"raw_longitude":756609344,"raw_latitude":119731304,"longitude_deg":75.6609344,"latitude_deg":11.9731304,"altitude":90,"angle":260,"satellites":34,"speed":33,"hex_longitude":"2d18f140","hex_latitude":"0722f468","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768023808001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113523239833042944,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1799117713041668096,"note":"Value kept but may cause issues"} 
[2026-04-17 20:23:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776437595000,"timestamp_ms":1776437595000,"timestamp_seconds":1776437595,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bee8b78"} 
[2026-04-17 20:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:23: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-04-17 20: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":127,"data_length":795,"current_offset":136} 
[2026-04-17 20:23:59] 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-04-17 20:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46185,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46185,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768023808001,"66":13537,"62":206,"28":31744,"24":33,"16":113523239833042944,"45":1799117713041668096},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,28,24,16,45]} 
[2026-04-17 20:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768023808001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:23:59] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 20:23:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113523239833042944,"km_value":113523239833042.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1799117713041668096,"description":"Unknown IO ID 45"} 
[2026-04-17 20:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768023808001,"power":13537,"unknown_62":206,"unknown_28":31744,"ignition":33,"odometer":null,"unknown_45":1799117713041668096}} 
[2026-04-17 20:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":46185,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22974,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:23:59] local.INFO: GPS data processed {"connection_id":46185,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:23:59] local.INFO: Acknowledgment sent {"connection_id":46185,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:24:04] local.INFO: TCP Data received {"connection_id":46076,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:24:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46076,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:24:04] local.INFO: Processing buffer {"connection_id":46076,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:24:04] local.INFO: IMEI packet received {"connection_id":46076,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:24:04] local.INFO: IMEI acknowledgment sent {"connection_id":46076,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:24:05] local.INFO: TCP Data received {"connection_id":46076,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bee3588012d7cfe8005d5e1180004015625..."} 
[2026-04-17 20:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46076,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bee3588012d7cfe8005d5e1180004015625..."} 
[2026-04-17 20:24:05] local.INFO: Processing buffer {"connection_id":46076,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bee3588012d7cfe8005d5e1180004015625..."} 
[2026-04-17 20:24:05] local.INFO: Packet analysis {"connection_id":46076,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bee"} 
[2026-04-17 20:24:05] local.INFO: Extracted packet for processing {"connection_id":46076,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bee"} 
[2026-04-17 20:24:05] local.INFO: GPS Element Parsed {"raw_longitude":763166336,"raw_latitude":97902872,"longitude_deg":76.3166336,"latitude_deg":9.7902872,"altitude":4,"angle":342,"satellites":37,"speed":29,"hex_longitude":"2d7cfe80","hex_latitude":"05d5e118","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768015616001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274202811099512832,"note":"Value kept but may cause issues"} 
[2026-04-17 20:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9010506610778281984,"note":"Value kept but may cause issues"} 
[2026-04-17 20:24:05] 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-04-17 20:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776437573000,"timestamp_ms":1776437573000,"timestamp_seconds":1776437573,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bee3588"} 
[2026-04-17 20:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:24: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-04-17 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 20:24: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-04-17 20: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-04-17 20:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46076,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46076,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:24: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-04-17 20:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768015616001,"66":27365,"29":206,"85":15104,"24":29,"16":274202811099512832,"45":9010506610778281984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-04-17 20:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768015616001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:24:05] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-17 20:24:05] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274202811099512832,"km_value":274202811099512.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":9010506610778281984,"description":"Unknown IO ID 45"} 
[2026-04-17 20:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768015616001,"power":27365,"unknown_29":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":9010506610778281984}} 
[2026-04-17 20:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":46076,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22975,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:24:05] local.INFO: GPS data processed {"connection_id":46076,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:24:05] local.INFO: Acknowledgment sent {"connection_id":46076,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:24:09] local.INFO: TCP Data received {"connection_id":46933,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:24:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46933,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:24:09] local.INFO: Processing buffer {"connection_id":46933,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:24:09] local.INFO: IMEI packet received {"connection_id":46933,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:24:09] local.INFO: IMEI acknowledgment sent {"connection_id":46933,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:24:27] local.INFO: TCP Data received {"connection_id":46418,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:24:27] local.INFO: Processing buffer {"connection_id":46418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:24:27] local.INFO: IMEI packet received {"connection_id":46418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:24:27] local.INFO: IMEI acknowledgment sent {"connection_id":46418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:24:28] local.INFO: TCP Data received {"connection_id":46418,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:24:28] local.INFO: Processing buffer {"connection_id":46418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:24:28] local.INFO: IMEI packet received {"connection_id":46418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":46418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:24:28] local.INFO: TCP Data received {"connection_id":46418,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:24:28] local.INFO: Processing buffer {"connection_id":46418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:24:28] local.INFO: IMEI packet received {"connection_id":46418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":46418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:24:30] local.INFO: TCP Data received {"connection_id":46418,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46418,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:24:30] local.INFO: Processing buffer {"connection_id":46418,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:24:30] local.INFO: IMEI packet received {"connection_id":46418,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:24:30] local.INFO: IMEI acknowledgment sent {"connection_id":46418,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:24:49] local.INFO: TCP Data received {"connection_id":46419,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:24:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:24:49] local.INFO: Processing buffer {"connection_id":46419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:24:49] local.INFO: IMEI packet received {"connection_id":46419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:24:49] local.INFO: IMEI acknowledgment sent {"connection_id":46419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:24:55] local.INFO: TCP Data received {"connection_id":46419,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46419,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:24:55] local.INFO: Processing buffer {"connection_id":46419,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:24:55] local.INFO: IMEI packet received {"connection_id":46419,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":46419,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:24:56] local.INFO: TCP Data received {"connection_id":46419,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bee6080012d7cf70005d601d80006016128..."} 
[2026-04-17 20:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bee6080012d7cf70005d601d80006016128..."} 
[2026-04-17 20:24:56] local.INFO: Processing buffer {"connection_id":46419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bee6080012d7cf70005d601d80006016128..."} 
[2026-04-17 20:24:56] local.INFO: Packet analysis {"connection_id":46419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bee"} 
[2026-04-17 20:24:56] local.INFO: Extracted packet for processing {"connection_id":46419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bee"} 
[2026-04-17 20:24:56] local.INFO: GPS Element Parsed {"raw_longitude":763164416,"raw_latitude":97911256,"longitude_deg":76.3164416,"latitude_deg":9.7911256,"altitude":6,"angle":353,"satellites":40,"speed":27,"hex_longitude":"2d7cf700","hex_latitude":"05d601d8","is_valid_coordinates":true} 
[2026-04-17 20:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768018688001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274203227711340544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9006777067339061248,"note":"Value kept but may cause issues"} 
[2026-04-17 20:24:56] 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-04-17 20:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776437584000,"timestamp_ms":1776437584000,"timestamp_seconds":1776437584,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bee6080"} 
[2026-04-17 20:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 20:24:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:24:56] 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-04-17 20:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768018688001,"66":27397,"29":206,"85":15104,"24":27,"16":274203227711340544,"45":9006777067339061248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-04-17 20:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768018688001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:24:56] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-17 20:24:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274203227711340544,"km_value":274203227711340.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9006777067339061248,"description":"Unknown IO ID 45"} 
[2026-04-17 20:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768018688001,"power":27397,"unknown_29":206,"unknown_85":15104,"ignition":27,"odometer":null,"unknown_45":9006777067339061248}} 
[2026-04-17 20:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":46419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22976,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:24:56] local.INFO: GPS data processed {"connection_id":46419,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:24:56] local.INFO: Acknowledgment sent {"connection_id":46419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:25:27] local.INFO: TCP Data received {"connection_id":46419,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bee8f60012d7cf34005d624d00005016125..."} 
[2026-04-17 20:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46419,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bee8f60012d7cf34005d624d00005016125..."} 
[2026-04-17 20:25:27] local.INFO: Processing buffer {"connection_id":46419,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bee8f60012d7cf34005d624d00005016125..."} 
[2026-04-17 20:25:27] local.INFO: Packet analysis {"connection_id":46419,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bee"} 
[2026-04-17 20:25:27] local.INFO: Extracted packet for processing {"connection_id":46419,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bee"} 
[2026-04-17 20:25:27] local.INFO: GPS Element Parsed {"raw_longitude":763163456,"raw_latitude":97920208,"longitude_deg":76.3163456,"latitude_deg":9.7920208,"altitude":5,"angle":353,"satellites":37,"speed":33,"hex_longitude":"2d7cf340","hex_latitude":"05d624d0","is_valid_coordinates":true} 
[2026-04-17 20:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768021504001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274203665798004736,"note":"Value kept but may cause issues"} 
[2026-04-17 20:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9004666005015877632,"note":"Value kept but may cause issues"} 
[2026-04-17 20:25:27] 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-04-17 20:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776437596000,"timestamp_ms":1776437596000,"timestamp_seconds":1776437596,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bee8f60"} 
[2026-04-17 20:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:25:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46419,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46419,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768021504001,"66":27332,"29":206,"85":15104,"24":33,"16":274203665798004736,"45":9004666005015877632},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-04-17 20:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768021504001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:25:27] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-17 20:25:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274203665798004736,"km_value":274203665798004.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":9004666005015877632,"description":"Unknown IO ID 45"} 
[2026-04-17 20:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768021504001,"power":27332,"unknown_29":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":9004666005015877632}} 
[2026-04-17 20:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":46419,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22977,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:25:27] local.INFO: GPS data processed {"connection_id":46419,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:25:27] local.INFO: Acknowledgment sent {"connection_id":46419,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:25:49] local.INFO: TCP Data received {"connection_id":46188,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:25:49] local.INFO: Processing buffer {"connection_id":46188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:25:49] local.INFO: IMEI packet received {"connection_id":46188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":46188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:25:52] local.INFO: TCP Data received {"connection_id":46188,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:25:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:25:52] local.INFO: Processing buffer {"connection_id":46188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:25:52] local.INFO: IMEI packet received {"connection_id":46188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:25:52] local.INFO: IMEI acknowledgment sent {"connection_id":46188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:25:55] local.INFO: TCP Data received {"connection_id":46188,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46188,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:25:55] local.INFO: Processing buffer {"connection_id":46188,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:25:55] local.INFO: IMEI packet received {"connection_id":46188,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":46188,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:25:56] local.INFO: TCP Data received {"connection_id":46188,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9beeb670012d7cf00005d647580006016227..."} 
[2026-04-17 20:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9beeb670012d7cf00005d647580006016227..."} 
[2026-04-17 20:25:56] local.INFO: Processing buffer {"connection_id":46188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9beeb670012d7cf00005d647580006016227..."} 
[2026-04-17 20:25:56] local.INFO: Packet analysis {"connection_id":46188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bee"} 
[2026-04-17 20:25:56] local.INFO: Extracted packet for processing {"connection_id":46188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bee"} 
[2026-04-17 20:25:56] local.INFO: GPS Element Parsed {"raw_longitude":763162624,"raw_latitude":97929048,"longitude_deg":76.3162624,"latitude_deg":9.7929048,"altitude":6,"angle":354,"satellites":39,"speed":32,"hex_longitude":"2d7cf000","hex_latitude":"05d64758","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768024576001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274204095294734336,"note":"Value kept but may cause issues"} 
[2026-04-17 20:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":9003610473855504384,"note":"Value kept but may cause issues"} 
[2026-04-17 20:25:56] 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-04-17 20:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776437606000,"timestamp_ms":1776437606000,"timestamp_seconds":1776437606,"priority":1,"record_length":96,"hex_timestamp":"0000019d9beeb670"} 
[2026-04-17 20:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 20:25:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:25:56] 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-04-17 20:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768024576001,"66":27463,"29":206,"85":15104,"24":32,"16":274204095294734336,"45":9003610473855504384},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,85,24,16,45]} 
[2026-04-17 20:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768024576001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:25:56] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-17 20:25:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274204095294734336,"km_value":274204095294734.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":9003610473855504384,"description":"Unknown IO ID 45"} 
[2026-04-17 20:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768024576001,"power":27463,"unknown_29":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":9003610473855504384}} 
[2026-04-17 20:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":46188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22978,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:25:56] local.INFO: GPS data processed {"connection_id":46188,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:25:56] local.INFO: Acknowledgment sent {"connection_id":46188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:26:27] local.INFO: TCP Data received {"connection_id":46188,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf05c50012d7c9f4005d7c9080000016428..."} 
[2026-04-17 20:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46188,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf05c50012d7c9f4005d7c9080000016428..."} 
[2026-04-17 20:26:27] local.INFO: Processing buffer {"connection_id":46188,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf05c50012d7c9f4005d7c9080000016428..."} 
[2026-04-17 20:26:27] local.INFO: Packet analysis {"connection_id":46188,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf0"} 
[2026-04-17 20:26:27] local.INFO: Extracted packet for processing {"connection_id":46188,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf0"} 
[2026-04-17 20:26:27] local.INFO: GPS Element Parsed {"raw_longitude":763141952,"raw_latitude":98027784,"longitude_deg":76.3141952,"latitude_deg":9.8027784,"altitude":0,"angle":356,"satellites":40,"speed":19,"hex_longitude":"2d7c9f40","hex_latitude":"05d7c908","is_valid_coordinates":true} 
[2026-04-17 20:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768051200001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274209000147386368,"note":"Value kept but may cause issues"} 
[2026-04-17 20:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8981233213232222208,"note":"Value kept but may cause issues"} 
[2026-04-17 20:26:27] 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-04-17 20:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776437714000,"timestamp_ms":1776437714000,"timestamp_seconds":1776437714,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf05c50"} 
[2026-04-17 20:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 20:26:27] 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-04-17 20:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46188,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46188,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768051200001,"66":27441,"195":206,"85":15104,"24":19,"16":274209000147386368,"45":8981233213232222208},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-04-17 20:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768051200001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:26:27] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-04-17 20:26:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274209000147386368,"km_value":274209000147386.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8981233213232222208,"description":"Unknown IO ID 45"} 
[2026-04-17 20:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768051200001,"power":27441,"unknown_195":206,"unknown_85":15104,"ignition":19,"odometer":null,"unknown_45":8981233213232222208}} 
[2026-04-17 20:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":46188,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22979,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:26:27] local.INFO: GPS data processed {"connection_id":46188,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:26:27] local.INFO: Acknowledgment sent {"connection_id":46188,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:26:58] local.INFO: TCP Data received {"connection_id":46934,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:26:58] local.INFO: Processing buffer {"connection_id":46934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:26:58] local.INFO: IMEI packet received {"connection_id":46934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":46934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:26:58] local.INFO: TCP Data received {"connection_id":46934,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:26:58] local.INFO: Processing buffer {"connection_id":46934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:26:58] local.INFO: IMEI packet received {"connection_id":46934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:26:58] local.INFO: IMEI acknowledgment sent {"connection_id":46934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:26:59] local.INFO: TCP Data received {"connection_id":46934,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46934,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:26:59] local.INFO: Processing buffer {"connection_id":46934,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:26:59] local.INFO: IMEI packet received {"connection_id":46934,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:26:59] local.INFO: IMEI acknowledgment sent {"connection_id":46934,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:27:00] local.INFO: TCP Data received {"connection_id":46934,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf09eb8012d7c9c0005d7ebf8000001632b..."} 
[2026-04-17 20:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf09eb8012d7c9c0005d7ebf8000001632b..."} 
[2026-04-17 20:27:00] local.INFO: Processing buffer {"connection_id":46934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf09eb8012d7c9c0005d7ebf8000001632b..."} 
[2026-04-17 20:27:00] local.INFO: Packet analysis {"connection_id":46934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf0"} 
[2026-04-17 20:27:00] local.INFO: Extracted packet for processing {"connection_id":46934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf0"} 
[2026-04-17 20:27:00] local.INFO: GPS Element Parsed {"raw_longitude":763141120,"raw_latitude":98036728,"longitude_deg":76.314112,"latitude_deg":9.8036728,"altitude":0,"angle":355,"satellites":43,"speed":32,"hex_longitude":"2d7c9c00","hex_latitude":"05d7ebf8","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768054784001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274209438234050560,"note":"Value kept but may cause issues"} 
[2026-04-17 20:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979966575839348736,"note":"Value kept but may cause issues"} 
[2026-04-17 20:27:00] 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-04-17 20:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776437731000,"timestamp_ms":1776437731000,"timestamp_seconds":1776437731,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf09eb8"} 
[2026-04-17 20:27:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":107,"n8_eight_byte":49,"data_length":795,"current_offset":136} 
[2026-04-17 20:27:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1174,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:27:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:27: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-04-17 20:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768054784001,"66":27213,"195":206,"85":15104,"24":32,"16":274209438234050560,"45":8979966575839348736},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,195,85,24,16,45]} 
[2026-04-17 20:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768054784001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:27:00] local.INFO: Unknown IO ID detected {"io_id":195,"value":206,"description":"Unknown IO ID 195"} 
[2026-04-17 20:27:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274209438234050560,"km_value":274209438234050.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979966575839348736,"description":"Unknown IO ID 45"} 
[2026-04-17 20:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768054784001,"power":27213,"unknown_195":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8979966575839348736}} 
[2026-04-17 20:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":46934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22980,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:27:00] local.INFO: GPS data processed {"connection_id":46934,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:27:00] local.INFO: Acknowledgment sent {"connection_id":46934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:27:04] local.INFO: TCP Data received {"connection_id":46934,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf0c5c8012d7c9a8005d80f100000016528..."} 
[2026-04-17 20:27:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf0c5c8012d7c9a8005d80f100000016528..."} 
[2026-04-17 20:27:04] local.INFO: Processing buffer {"connection_id":46934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf0c5c8012d7c9a8005d80f100000016528..."} 
[2026-04-17 20:27:04] local.INFO: Packet analysis {"connection_id":46934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf0"} 
[2026-04-17 20:27:04] local.INFO: Extracted packet for processing {"connection_id":46934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf0"} 
[2026-04-17 20:27:04] local.INFO: GPS Element Parsed {"raw_longitude":763140736,"raw_latitude":98045712,"longitude_deg":76.3140736,"latitude_deg":9.8045712,"altitude":0,"angle":357,"satellites":40,"speed":42,"hex_longitude":"2d7c9a80","hex_latitude":"05d80f10","is_valid_coordinates":true} 
[2026-04-17 20:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:27:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768059136001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:27:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274209872025747456,"note":"Value kept but may cause issues"} 
[2026-04-17 20:27:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8979051782167328768,"note":"Value kept but may cause issues"} 
[2026-04-17 20:27:04] 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-04-17 20:27:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776437741000,"timestamp_ms":1776437741000,"timestamp_seconds":1776437741,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf0c5c8"} 
[2026-04-17 20:27:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:27:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:27:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-17 20:27:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:27:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:27:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:27:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:27:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:27:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:27:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:27:04] 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-04-17 20:27:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:27:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:27:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768059136001,"66":27343,"196":206,"85":15104,"24":42,"16":274209872025747456,"45":8979051782167328768},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-17 20:27:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:27:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:27:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768059136001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:27:04] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-17 20:27:04] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:27:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274209872025747456,"km_value":274209872025747.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:27:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8979051782167328768,"description":"Unknown IO ID 45"} 
[2026-04-17 20:27:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768059136001,"power":27343,"unknown_196":206,"unknown_85":15104,"ignition":42,"odometer":null,"unknown_45":8979051782167328768}} 
[2026-04-17 20:27:04] local.INFO: DEBUG: GPS processor result {"connection_id":46934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22981,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:27:04] local.INFO: GPS data processed {"connection_id":46934,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:27:04] local.INFO: Acknowledgment sent {"connection_id":46934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:27:35] local.INFO: TCP Data received {"connection_id":46934,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf0e508012d7c998005d833380000016524..."} 
[2026-04-17 20:27:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46934,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf0e508012d7c998005d833380000016524..."} 
[2026-04-17 20:27:35] local.INFO: Processing buffer {"connection_id":46934,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf0e508012d7c998005d833380000016524..."} 
[2026-04-17 20:27:35] local.INFO: Packet analysis {"connection_id":46934,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf0"} 
[2026-04-17 20:27:35] local.INFO: Extracted packet for processing {"connection_id":46934,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf0"} 
[2026-04-17 20:27:35] local.INFO: GPS Element Parsed {"raw_longitude":763140480,"raw_latitude":98054968,"longitude_deg":76.314048,"latitude_deg":9.8054968,"altitude":0,"angle":357,"satellites":36,"speed":50,"hex_longitude":"2d7c9980","hex_latitude":"05d83338","is_valid_coordinates":true} 
[2026-04-17 20:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:27:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768061696001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:27:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274210322997313536,"note":"Value kept but may cause issues"} 
[2026-04-17 20:27:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978629569704562688,"note":"Value kept but may cause issues"} 
[2026-04-17 20:27:35] 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-04-17 20:27:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776437749000,"timestamp_ms":1776437749000,"timestamp_seconds":1776437749,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf0e508"} 
[2026-04-17 20:27:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:27:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:27:35] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 20:27:35] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:27:35] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:27:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:27:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:27:35] local.INFO: Teltonika packet parsed successfully {"connection_id":46934,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:27:35] local.INFO: Passing IMEI to GPS processor {"connection_id":46934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:27:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":46934,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:27:35] 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-04-17 20:27:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:27:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:27:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768061696001,"66":27310,"196":206,"85":15104,"24":50,"16":274210322997313536,"45":8978629569704562688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-17 20:27:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:27:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:27:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768061696001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:27:35] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-17 20:27:35] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:27:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274210322997313536,"km_value":274210322997313.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:27:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978629569704562688,"description":"Unknown IO ID 45"} 
[2026-04-17 20:27:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768061696001,"power":27310,"unknown_196":206,"unknown_85":15104,"ignition":50,"odometer":null,"unknown_45":8978629569704562688}} 
[2026-04-17 20:27:35] local.INFO: DEBUG: GPS processor result {"connection_id":46934,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22982,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:27:35] local.INFO: GPS data processed {"connection_id":46934,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:27:35] local.INFO: Acknowledgment sent {"connection_id":46934,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:27:50] local.INFO: TCP Data received {"connection_id":46421,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:27:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:27:50] local.INFO: Processing buffer {"connection_id":46421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:27:50] local.INFO: IMEI packet received {"connection_id":46421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:27:50] local.INFO: IMEI acknowledgment sent {"connection_id":46421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:27:55] local.INFO: TCP Data received {"connection_id":46421,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46421,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:27:55] local.INFO: Processing buffer {"connection_id":46421,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:27:55] local.INFO: IMEI packet received {"connection_id":46421,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":46421,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:27:56] local.INFO: TCP Data received {"connection_id":46421,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf10060012d7c980005d857c00000016626..."} 
[2026-04-17 20:27:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf10060012d7c980005d857c00000016626..."} 
[2026-04-17 20:27:56] local.INFO: Processing buffer {"connection_id":46421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf10060012d7c980005d857c00000016626..."} 
[2026-04-17 20:27:56] local.INFO: Packet analysis {"connection_id":46421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf1"} 
[2026-04-17 20:27:56] local.INFO: Extracted packet for processing {"connection_id":46421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf1"} 
[2026-04-17 20:27:56] local.INFO: GPS Element Parsed {"raw_longitude":763140096,"raw_latitude":98064320,"longitude_deg":76.3140096,"latitude_deg":9.806432,"altitude":0,"angle":358,"satellites":38,"speed":57,"hex_longitude":"2d7c9800","hex_latitude":"05d857c0","is_valid_coordinates":true} 
[2026-04-17 20:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:27:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768063744001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:27:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274210773968879616,"note":"Value kept but may cause issues"} 
[2026-04-17 20:27:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8978348094730221568,"note":"Value kept but may cause issues"} 
[2026-04-17 20:27:56] 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-04-17 20:27:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776437756000,"timestamp_ms":1776437756000,"timestamp_seconds":1776437756,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf10060"} 
[2026-04-17 20:27:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:27:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:27:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 20:27:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:27:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:27:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:27:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:27:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:27:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:27:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:27:56] 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-04-17 20:27:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:27:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:27:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768063744001,"66":27376,"196":206,"85":15104,"24":57,"16":274210773968879616,"45":8978348094730221568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-17 20:27:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:27:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:27:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768063744001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:27:56] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-17 20:27:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:27:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274210773968879616,"km_value":274210773968879.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:27:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8978348094730221568,"description":"Unknown IO ID 45"} 
[2026-04-17 20:27:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768063744001,"power":27376,"unknown_196":206,"unknown_85":15104,"ignition":57,"odometer":null,"unknown_45":8978348094730221568}} 
[2026-04-17 20:27:56] local.INFO: DEBUG: GPS processor result {"connection_id":46421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22983,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:27:56] local.INFO: GPS data processed {"connection_id":46421,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:27:56] local.INFO: Acknowledgment sent {"connection_id":46421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:28:28] local.INFO: TCP Data received {"connection_id":46421,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf117d0012d7c968005d87ab00003016525..."} 
[2026-04-17 20:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46421,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf117d0012d7c968005d87ab00003016525..."} 
[2026-04-17 20:28:28] local.INFO: Processing buffer {"connection_id":46421,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf117d0012d7c968005d87ab00003016525..."} 
[2026-04-17 20:28:28] local.INFO: Packet analysis {"connection_id":46421,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf1"} 
[2026-04-17 20:28:28] local.INFO: Extracted packet for processing {"connection_id":46421,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf1"} 
[2026-04-17 20:28:28] local.INFO: GPS Element Parsed {"raw_longitude":763139712,"raw_latitude":98073264,"longitude_deg":76.3139712,"latitude_deg":9.8073264,"altitude":3,"angle":357,"satellites":37,"speed":61,"hex_longitude":"2d7c9680","hex_latitude":"05d87ab0","is_valid_coordinates":true} 
[2026-04-17 20:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768065536001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274211207760576512,"note":"Value kept but may cause issues"} 
[2026-04-17 20:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8977925882267549696,"note":"Value kept but may cause issues"} 
[2026-04-17 20:28:28] 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-04-17 20:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776437762000,"timestamp_ms":1776437762000,"timestamp_seconds":1776437762,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf117d0"} 
[2026-04-17 20:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:28: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-04-17 20:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 20:28:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46421,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46421,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:28:28] 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-04-17 20:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768065536001,"66":27310,"196":206,"85":15104,"24":61,"16":274211207760576512,"45":8977925882267549696},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,196,85,24,16,45]} 
[2026-04-17 20:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768065536001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:28:28] local.INFO: Unknown IO ID detected {"io_id":196,"value":206,"description":"Unknown IO ID 196"} 
[2026-04-17 20:28:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274211207760576512,"km_value":274211207760576.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8977925882267549696,"description":"Unknown IO ID 45"} 
[2026-04-17 20:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768065536001,"power":27310,"unknown_196":206,"unknown_85":15104,"ignition":61,"odometer":null,"unknown_45":8977925882267549696}} 
[2026-04-17 20:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":46421,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22984,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:28:28] local.INFO: GPS data processed {"connection_id":46421,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:28:28] local.INFO: Acknowledgment sent {"connection_id":46421,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:28:50] local.INFO: TCP Data received {"connection_id":46935,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:28:50] local.INFO: Processing buffer {"connection_id":46935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:28:50] local.INFO: IMEI packet received {"connection_id":46935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":46935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:28:50] local.INFO: TCP Data received {"connection_id":46935,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:28:50] local.INFO: Processing buffer {"connection_id":46935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:28:50] local.INFO: IMEI packet received {"connection_id":46935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":46935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:28:55] local.INFO: TCP Data received {"connection_id":46935,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46935,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:28:55] local.INFO: Processing buffer {"connection_id":46935,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:28:55] local.INFO: IMEI packet received {"connection_id":46935,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":46935,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:28:56] local.INFO: TCP Data received {"connection_id":46935,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf2c580012d7c6c4005da10a00000015924..."} 
[2026-04-17 20:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf2c580012d7c6c4005da10a00000015924..."} 
[2026-04-17 20:28:56] local.INFO: Processing buffer {"connection_id":46935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf2c580012d7c6c4005da10a00000015924..."} 
[2026-04-17 20:28:56] local.INFO: Packet analysis {"connection_id":46935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf2"} 
[2026-04-17 20:28:56] local.INFO: Extracted packet for processing {"connection_id":46935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf2"} 
[2026-04-17 20:28:56] local.INFO: GPS Element Parsed {"raw_longitude":763128896,"raw_latitude":98177184,"longitude_deg":76.3128896,"latitude_deg":9.8177184,"altitude":0,"angle":345,"satellites":36,"speed":32,"hex_longitude":"2d7c6c40","hex_latitude":"05da10a0","is_valid_coordinates":true} 
[2026-04-17 20:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768092672001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274216280116953088,"note":"Value kept but may cause issues"} 
[2026-04-17 20:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8967370570667364352,"note":"Value kept but may cause issues"} 
[2026-04-17 20:28:56] 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-04-17 20:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776437872000,"timestamp_ms":1776437872000,"timestamp_seconds":1776437872,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf2c580"} 
[2026-04-17 20:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 20:28:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:28:56] 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-04-17 20:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768092672001,"66":27310,"187":206,"85":15104,"24":32,"16":274216280116953088,"45":8967370570667364352},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-17 20:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768092672001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:28:56] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-17 20:28:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274216280116953088,"km_value":274216280116953.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8967370570667364352,"description":"Unknown IO ID 45"} 
[2026-04-17 20:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768092672001,"power":27310,"unknown_187":206,"unknown_85":15104,"ignition":32,"odometer":null,"unknown_45":8967370570667364352}} 
[2026-04-17 20:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":46935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22985,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:28:56] local.INFO: GPS data processed {"connection_id":46935,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:28:56] local.INFO: Acknowledgment sent {"connection_id":46935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:29:27] local.INFO: TCP Data received {"connection_id":46935,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf2f078012d7c628005da34e00000015828..."} 
[2026-04-17 20:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46935,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf2f078012d7c628005da34e00000015828..."} 
[2026-04-17 20:29:27] local.INFO: Processing buffer {"connection_id":46935,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf2f078012d7c628005da34e00000015828..."} 
[2026-04-17 20:29:27] local.INFO: Packet analysis {"connection_id":46935,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf2"} 
[2026-04-17 20:29:27] local.INFO: Extracted packet for processing {"connection_id":46935,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf2"} 
[2026-04-17 20:29:27] local.INFO: GPS Element Parsed {"raw_longitude":763126400,"raw_latitude":98186464,"longitude_deg":76.31264,"latitude_deg":9.8186464,"altitude":0,"angle":344,"satellites":40,"speed":39,"hex_longitude":"2d7c6280","hex_latitude":"05da34e0","is_valid_coordinates":true} 
[2026-04-17 20:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768095232001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274216743973421056,"note":"Value kept but may cause issues"} 
[2026-04-17 20:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8965611352065351680,"note":"Value kept but may cause issues"} 
[2026-04-17 20:29:27] 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-04-17 20:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776437883000,"timestamp_ms":1776437883000,"timestamp_seconds":1776437883,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf2f078"} 
[2026-04-17 20:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:29:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 20:29:27] 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-04-17 20:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46935,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46935,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768095232001,"66":27365,"187":206,"85":15104,"24":39,"16":274216743973421056,"45":8965611352065351680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-17 20:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768095232001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:29:27] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-17 20:29:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274216743973421056,"km_value":274216743973421.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8965611352065351680,"description":"Unknown IO ID 45"} 
[2026-04-17 20:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768095232001,"power":27365,"unknown_187":206,"unknown_85":15104,"ignition":39,"odometer":null,"unknown_45":8965611352065351680}} 
[2026-04-17 20:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":46935,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22986,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:29:27] local.INFO: GPS data processed {"connection_id":46935,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:29:27] local.INFO: Acknowledgment sent {"connection_id":46935,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:29:39] local.INFO: TCP Data received {"connection_id":46423,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:29:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46423,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:29:39] local.INFO: Processing buffer {"connection_id":46423,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:29:39] local.INFO: IMEI packet received {"connection_id":46423,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:29:39] local.INFO: IMEI acknowledgment sent {"connection_id":46423,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:29:46] local.INFO: TCP Data received {"connection_id":46079,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:29:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46079,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:29:46] local.INFO: Processing buffer {"connection_id":46079,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:29:46] local.INFO: IMEI packet received {"connection_id":46079,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:29:46] local.INFO: IMEI acknowledgment sent {"connection_id":46079,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:29:50] local.INFO: TCP Data received {"connection_id":46191,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:29:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:29:50] local.INFO: Processing buffer {"connection_id":46191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:29:50] local.INFO: IMEI packet received {"connection_id":46191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:29:50] local.INFO: IMEI acknowledgment sent {"connection_id":46191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:29:51] local.INFO: TCP Data received {"connection_id":46191,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:29:51] local.INFO: Processing buffer {"connection_id":46191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:29:51] local.INFO: IMEI packet received {"connection_id":46191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:29:51] local.INFO: IMEI acknowledgment sent {"connection_id":46191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:29:51] local.INFO: TCP Data received {"connection_id":46079,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf31f58012d18c4c007214838004300b42d..."} 
[2026-04-17 20:29:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46079,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf31f58012d18c4c007214838004300b42d..."} 
[2026-04-17 20:29:51] local.INFO: Processing buffer {"connection_id":46079,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf31f58012d18c4c007214838004300b42d..."} 
[2026-04-17 20:29:51] local.INFO: Packet analysis {"connection_id":46079,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf3"} 
[2026-04-17 20:29:51] local.INFO: Extracted packet for processing {"connection_id":46079,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf3"} 
[2026-04-17 20:29:51] local.INFO: GPS Element Parsed {"raw_longitude":756597952,"raw_latitude":119621688,"longitude_deg":75.6597952,"latitude_deg":11.9621688,"altitude":67,"angle":180,"satellites":45,"speed":29,"hex_longitude":"2d18c4c0","hex_latitude":"07214838","is_valid_coordinates":true} 
[2026-04-17 20:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:29:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768100608001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:29:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113531275716853760,"note":"Value kept but may cause issues"} 
[2026-04-17 20:29:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1784621751713273856,"note":"Value kept but may cause issues"} 
[2026-04-17 20: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-04-17 20:29:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776437895000,"timestamp_ms":1776437895000,"timestamp_seconds":1776437895,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf31f58"} 
[2026-04-17 20:29:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:29:51] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:29:51] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-04-17 20:29:51] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1502,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:29:51] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:29:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:29:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:29:51] local.INFO: Teltonika packet parsed successfully {"connection_id":46079,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:29:51] local.INFO: Passing IMEI to GPS processor {"connection_id":46079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:29:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":46079,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:29:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:29:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:29:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:29:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768100608001,"66":13580,"121":206,"28":31744,"24":29,"16":113531275716853760,"45":1784621751713273856},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:29:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:29:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:29:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768100608001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:29:51] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:29:51] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:29:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113531275716853760,"km_value":113531275716853.77,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:29:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":1784621751713273856,"description":"Unknown IO ID 45"} 
[2026-04-17 20:29:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768100608001,"power":13580,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1784621751713273856}} 
[2026-04-17 20:29:51] local.INFO: DEBUG: GPS processor result {"connection_id":46079,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22987,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:29:51] local.INFO: GPS data processed {"connection_id":46079,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:29:51] local.INFO: Acknowledgment sent {"connection_id":46079,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:29:55] local.INFO: TCP Data received {"connection_id":46191,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46191,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:29:55] local.INFO: Processing buffer {"connection_id":46191,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:29:55] local.INFO: IMEI packet received {"connection_id":46191,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":46191,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:29:56] local.INFO: TCP Data received {"connection_id":46191,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf313a0012d7c574005da59200000015529..."} 
[2026-04-17 20:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf313a0012d7c574005da59200000015529..."} 
[2026-04-17 20:29:56] local.INFO: Processing buffer {"connection_id":46191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf313a0012d7c574005da59200000015529..."} 
[2026-04-17 20:29:56] local.INFO: Packet analysis {"connection_id":46191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf3"} 
[2026-04-17 20:29:56] local.INFO: Extracted packet for processing {"connection_id":46191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf3"} 
[2026-04-17 20:29:56] local.INFO: GPS Element Parsed {"raw_longitude":763123520,"raw_latitude":98195744,"longitude_deg":76.312352,"latitude_deg":9.8195744,"altitude":0,"angle":341,"satellites":41,"speed":41,"hex_longitude":"2d7c5740","hex_latitude":"05da5920","is_valid_coordinates":true} 
[2026-04-17 20:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768098048001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274217216419823616,"note":"Value kept but may cause issues"} 
[2026-04-17 20:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8962866971044798464,"note":"Value kept but may cause issues"} 
[2026-04-17 20:29:56] 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-04-17 20:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776437892000,"timestamp_ms":1776437892000,"timestamp_seconds":1776437892,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf313a0"} 
[2026-04-17 20:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:29:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 20:29:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:29:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:29:56] 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-04-17 20:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768098048001,"66":27484,"187":206,"85":15104,"24":41,"16":274217216419823616,"45":8962866971044798464},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-17 20:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768098048001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:29:56] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-17 20:29:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274217216419823616,"km_value":274217216419823.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8962866971044798464,"description":"Unknown IO ID 45"} 
[2026-04-17 20:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768098048001,"power":27484,"unknown_187":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8962866971044798464}} 
[2026-04-17 20:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":46191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22988,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:29:56] local.INFO: GPS data processed {"connection_id":46191,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:29:56] local.INFO: Acknowledgment sent {"connection_id":46191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:30:19] local.INFO: TCP Data received {"connection_id":46424,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:30:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:30:19] local.INFO: Processing buffer {"connection_id":46424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:30:19] local.INFO: IMEI packet received {"connection_id":46424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:30:19] local.INFO: IMEI acknowledgment sent {"connection_id":46424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:30:24] local.INFO: TCP Data received {"connection_id":46424,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:30:24] local.INFO: Processing buffer {"connection_id":46424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:30:24] local.INFO: IMEI packet received {"connection_id":46424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 20:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":46424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:30:24] local.INFO: TCP Data received {"connection_id":46936,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:30:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46936,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:30:24] local.INFO: Processing buffer {"connection_id":46936,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:30:24] local.INFO: IMEI packet received {"connection_id":46936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:30:24] local.INFO: IMEI acknowledgment sent {"connection_id":46936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:30:27] local.INFO: TCP Data received {"connection_id":46191,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf33ab0012d7c4a8005da7c900000015326..."} 
[2026-04-17 20:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46191,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf33ab0012d7c4a8005da7c900000015326..."} 
[2026-04-17 20:30:27] local.INFO: Processing buffer {"connection_id":46191,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf33ab0012d7c4a8005da7c900000015326..."} 
[2026-04-17 20:30:27] local.INFO: Packet analysis {"connection_id":46191,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf3"} 
[2026-04-17 20:30:27] local.INFO: Extracted packet for processing {"connection_id":46191,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf3"} 
[2026-04-17 20:30:27] local.INFO: GPS Element Parsed {"raw_longitude":763120256,"raw_latitude":98204816,"longitude_deg":76.3120256,"latitude_deg":9.8204816,"altitude":0,"angle":339,"satellites":38,"speed":36,"hex_longitude":"2d7c4a80","hex_latitude":"05da7c90","is_valid_coordinates":true} 
[2026-04-17 20:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768100352001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274217684571258880,"note":"Value kept but may cause issues"} 
[2026-04-17 20:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8959700377559179264,"note":"Value kept but may cause issues"} 
[2026-04-17 20:30:27] 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-04-17 20:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776437902000,"timestamp_ms":1776437902000,"timestamp_seconds":1776437902,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf33ab0"} 
[2026-04-17 20:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 20:30:27] 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-04-17 20:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46191,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46191,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768100352001,"66":27463,"187":206,"85":15104,"24":36,"16":274217684571258880,"45":8959700377559179264},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-17 20:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768100352001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:30:27] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-17 20:30:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274217684571258880,"km_value":274217684571258.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8959700377559179264,"description":"Unknown IO ID 45"} 
[2026-04-17 20:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768100352001,"power":27463,"unknown_187":206,"unknown_85":15104,"ignition":36,"odometer":null,"unknown_45":8959700377559179264}} 
[2026-04-17 20:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":46191,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22989,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:30:27] local.INFO: GPS data processed {"connection_id":46191,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:30:27] local.INFO: Acknowledgment sent {"connection_id":46191,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:30:28] local.INFO: TCP Data received {"connection_id":46936,"ip":"117.224.167.9","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 20:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46936,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 20:30:28] local.INFO: Processing buffer {"connection_id":46936,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 20:30:28] local.INFO: IMEI packet received {"connection_id":46936,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:30:28] local.INFO: IMEI acknowledgment sent {"connection_id":46936,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:30:29] local.INFO: TCP Data received {"connection_id":46424,"ip":"42.106.6.34","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:30:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46424,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:30:29] local.INFO: Processing buffer {"connection_id":46424,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:30:29] local.INFO: IMEI packet received {"connection_id":46424,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 20:30:29] local.INFO: IMEI acknowledgment sent {"connection_id":46424,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:30:49] local.INFO: TCP Data received {"connection_id":46192,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:30:49] local.INFO: Processing buffer {"connection_id":46192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:30:49] local.INFO: IMEI packet received {"connection_id":46192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":46192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:30:53] local.INFO: TCP Data received {"connection_id":46192,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:30:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:30:53] local.INFO: Processing buffer {"connection_id":46192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:30:53] local.INFO: IMEI packet received {"connection_id":46192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:30:53] local.INFO: IMEI acknowledgment sent {"connection_id":46192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:30:54] local.INFO: TCP Data received {"connection_id":46192,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46192,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:30:54] local.INFO: Processing buffer {"connection_id":46192,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:30:54] local.INFO: IMEI packet received {"connection_id":46192,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":46192,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:30:55] local.INFO: TCP Data received {"connection_id":46192,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf35dd8012d7c3e4005da9ee00000015322..."} 
[2026-04-17 20:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf35dd8012d7c3e4005da9ee00000015322..."} 
[2026-04-17 20:30:55] local.INFO: Processing buffer {"connection_id":46192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf35dd8012d7c3e4005da9ee00000015322..."} 
[2026-04-17 20:30:55] local.INFO: Packet analysis {"connection_id":46192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf3"} 
[2026-04-17 20:30:55] local.INFO: Extracted packet for processing {"connection_id":46192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf3"} 
[2026-04-17 20:30:55] local.INFO: GPS Element Parsed {"raw_longitude":763117120,"raw_latitude":98213600,"longitude_deg":76.311712,"latitude_deg":9.82136,"altitude":0,"angle":339,"satellites":34,"speed":45,"hex_longitude":"2d7c3e40","hex_latitude":"05da9ee0","is_valid_coordinates":true} 
[2026-04-17 20:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768102912001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274218135542824960,"note":"Value kept but may cause issues"} 
[2026-04-17 20:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8956111571608440832,"note":"Value kept but may cause issues"} 
[2026-04-17 20:30:55] 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-04-17 20:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776437911000,"timestamp_ms":1776437911000,"timestamp_seconds":1776437911,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf35dd8"} 
[2026-04-17 20:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:30: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-04-17 20:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 20:30:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:30:55] 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-04-17 20:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768102912001,"66":27365,"187":206,"85":15104,"24":45,"16":274218135542824960,"45":8956111571608440832},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-17 20:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768102912001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:30:55] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-17 20:30:55] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274218135542824960,"km_value":274218135542824.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8956111571608440832,"description":"Unknown IO ID 45"} 
[2026-04-17 20:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768102912001,"power":27365,"unknown_187":206,"unknown_85":15104,"ignition":45,"odometer":null,"unknown_45":8956111571608440832}} 
[2026-04-17 20:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":46192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22990,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:30:55] local.INFO: GPS data processed {"connection_id":46192,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:30:55] local.INFO: Acknowledgment sent {"connection_id":46192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:31:03] local.INFO: TCP Data received {"connection_id":46425,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:31:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46425,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:31:03] local.INFO: Processing buffer {"connection_id":46425,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:31:03] local.INFO: IMEI packet received {"connection_id":46425,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:31:03] local.INFO: IMEI acknowledgment sent {"connection_id":46425,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:31:26] local.INFO: TCP Data received {"connection_id":46192,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf37930012d7c334005dabfc00000015525..."} 
[2026-04-17 20:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf37930012d7c334005dabfc00000015525..."} 
[2026-04-17 20:31:26] local.INFO: Processing buffer {"connection_id":46192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf37930012d7c334005dabfc00000015525..."} 
[2026-04-17 20:31:26] local.INFO: Packet analysis {"connection_id":46192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf3"} 
[2026-04-17 20:31:26] local.INFO: Extracted packet for processing {"connection_id":46192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf3"} 
[2026-04-17 20:31:26] local.INFO: GPS Element Parsed {"raw_longitude":763114304,"raw_latitude":98222016,"longitude_deg":76.3114304,"latitude_deg":9.8222016,"altitude":0,"angle":341,"satellites":37,"speed":53,"hex_longitude":"2d7c3340","hex_latitude":"05dabfc0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768105216001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274218565039554560,"note":"Value kept but may cause issues"} 
[2026-04-17 20:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8952663503145984000,"note":"Value kept but may cause issues"} 
[2026-04-17 20:31:26] 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-04-17 20:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776437918000,"timestamp_ms":1776437918000,"timestamp_seconds":1776437918,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf37930"} 
[2026-04-17 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-04-17 20:31: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-04-17 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 20:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 20:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46192,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:31:26] 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-04-17 20:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768105216001,"66":27397,"187":206,"85":15104,"24":53,"16":274218565039554560,"45":8952663503145984000},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,187,85,24,16,45]} 
[2026-04-17 20:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768105216001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:31:26] local.INFO: Unknown IO ID detected {"io_id":187,"value":206,"description":"Unknown IO ID 187"} 
[2026-04-17 20:31:26] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274218565039554560,"km_value":274218565039554.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8952663503145984000,"description":"Unknown IO ID 45"} 
[2026-04-17 20:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768105216001,"power":27397,"unknown_187":206,"unknown_85":15104,"ignition":53,"odometer":null,"unknown_45":8952663503145984000}} 
[2026-04-17 20:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":46192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22991,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:31:26] local.INFO: GPS data processed {"connection_id":46192,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:31:26] local.INFO: Acknowledgment sent {"connection_id":46192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:31:49] local.INFO: TCP Data received {"connection_id":46427,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:31:49] local.INFO: Processing buffer {"connection_id":46427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:31:49] local.INFO: IMEI packet received {"connection_id":46427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":46427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:31:51] local.INFO: TCP Data received {"connection_id":46427,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:31:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:31:51] local.INFO: Processing buffer {"connection_id":46427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:31:51] local.INFO: IMEI packet received {"connection_id":46427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:31:51] local.INFO: IMEI acknowledgment sent {"connection_id":46427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:31:55] local.INFO: TCP Data received {"connection_id":46427,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46427,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:31:55] local.INFO: Processing buffer {"connection_id":46427,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:31:55] local.INFO: IMEI packet received {"connection_id":46427,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":46427,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:31:56] local.INFO: TCP Data received {"connection_id":46427,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf551d8012d7be54005dc49d8000001662b..."} 
[2026-04-17 20:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf551d8012d7be54005dc49d8000001662b..."} 
[2026-04-17 20:31:56] local.INFO: Processing buffer {"connection_id":46427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf551d8012d7be54005dc49d8000001662b..."} 
[2026-04-17 20:31:56] local.INFO: Packet analysis {"connection_id":46427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf5"} 
[2026-04-17 20:31:56] local.INFO: Extracted packet for processing {"connection_id":46427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf5"} 
[2026-04-17 20:31:56] local.INFO: GPS Element Parsed {"raw_longitude":763094336,"raw_latitude":98322904,"longitude_deg":76.3094336,"latitude_deg":9.8322904,"altitude":0,"angle":358,"satellites":43,"speed":29,"hex_longitude":"2d7be540","hex_latitude":"05dc49d8","is_valid_coordinates":true} 
[2026-04-17 20:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768135168001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274223568676454400,"note":"Value kept but may cause issues"} 
[2026-04-17 20:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8928034442709362688,"note":"Value kept but may cause issues"} 
[2026-04-17 20:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776438039000,"timestamp_ms":1776438039000,"timestamp_seconds":1776438039,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf551d8"} 
[2026-04-17 20:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 20:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:31:56] 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-04-17 20:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768135168001,"66":27376,"168":206,"85":15104,"24":29,"16":274223568676454400,"45":8928034442709362688},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-04-17 20:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768135168001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:31:56] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-17 20:31:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274223568676454400,"km_value":274223568676454.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8928034442709362688,"description":"Unknown IO ID 45"} 
[2026-04-17 20:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768135168001,"power":27376,"unknown_168":206,"unknown_85":15104,"ignition":29,"odometer":null,"unknown_45":8928034442709362688}} 
[2026-04-17 20:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":46427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22992,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:31:56] local.INFO: GPS data processed {"connection_id":46427,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:31:56] local.INFO: Acknowledgment sent {"connection_id":46427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:32:27] local.INFO: TCP Data received {"connection_id":46427,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf580b8012d7be40005dc6e080000016429..."} 
[2026-04-17 20:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46427,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf580b8012d7be40005dc6e080000016429..."} 
[2026-04-17 20:32:27] local.INFO: Processing buffer {"connection_id":46427,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf580b8012d7be40005dc6e080000016429..."} 
[2026-04-17 20:32:27] local.INFO: Packet analysis {"connection_id":46427,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf5"} 
[2026-04-17 20:32:27] local.INFO: Extracted packet for processing {"connection_id":46427,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf5"} 
[2026-04-17 20:32:27] local.INFO: GPS Element Parsed {"raw_longitude":763094016,"raw_latitude":98332168,"longitude_deg":76.3094016,"latitude_deg":9.8332168,"altitude":0,"angle":356,"satellites":41,"speed":28,"hex_longitude":"2d7be400","hex_latitude":"05dc6e08","is_valid_coordinates":true} 
[2026-04-17 20:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768137984001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274224015353053184,"note":"Value kept but may cause issues"} 
[2026-04-17 20:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927612230246717440,"note":"Value kept but may cause issues"} 
[2026-04-17 20:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,168,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776438051000,"timestamp_ms":1776438051000,"timestamp_seconds":1776438051,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf580b8"} 
[2026-04-17 20:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 20:32:27] 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-04-17 20:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46427,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46427,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768137984001,"66":27397,"168":206,"85":15104,"24":28,"16":274224015353053184,"45":8927612230246717440},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,168,85,24,16,45]} 
[2026-04-17 20:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768137984001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:32:27] local.INFO: Unknown IO ID detected {"io_id":168,"value":206,"description":"Unknown IO ID 168"} 
[2026-04-17 20:32:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274224015353053184,"km_value":274224015353053.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927612230246717440,"description":"Unknown IO ID 45"} 
[2026-04-17 20:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768137984001,"power":27397,"unknown_168":206,"unknown_85":15104,"ignition":28,"odometer":null,"unknown_45":8927612230246717440}} 
[2026-04-17 20:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":46427,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22993,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:32:27] local.INFO: GPS data processed {"connection_id":46427,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:32:27] local.INFO: Acknowledgment sent {"connection_id":46427,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:32:55] local.INFO: TCP Data received {"connection_id":46081,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:32:55] local.INFO: Processing buffer {"connection_id":46081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:32:55] local.INFO: IMEI packet received {"connection_id":46081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":46081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:33:00] local.INFO: TCP Data received {"connection_id":46081,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46081,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:33:00] local.INFO: Processing buffer {"connection_id":46081,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:33:00] local.INFO: IMEI packet received {"connection_id":46081,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:33:00] local.INFO: IMEI acknowledgment sent {"connection_id":46081,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:33:01] local.INFO: TCP Data received {"connection_id":46081,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf5abb0012d7be2c005dc93900000016427..."} 
[2026-04-17 20:33:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf5abb0012d7be2c005dc93900000016427..."} 
[2026-04-17 20:33:01] local.INFO: Processing buffer {"connection_id":46081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf5abb0012d7be2c005dc93900000016427..."} 
[2026-04-17 20:33:01] local.INFO: Packet analysis {"connection_id":46081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf5"} 
[2026-04-17 20:33:01] local.INFO: Extracted packet for processing {"connection_id":46081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf5"} 
[2026-04-17 20:33:01] local.INFO: GPS Element Parsed {"raw_longitude":763093696,"raw_latitude":98341776,"longitude_deg":76.3093696,"latitude_deg":9.8341776,"altitude":0,"angle":356,"satellites":39,"speed":33,"hex_longitude":"2d7be2c0","hex_latitude":"05dc9390","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:33:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768141056001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:33:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274224483504488448,"note":"Value kept but may cause issues"} 
[2026-04-17 20:33:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8927260386528200704,"note":"Value kept but may cause issues"} 
[2026-04-17 20:33:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:33:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776438062000,"timestamp_ms":1776438062000,"timestamp_seconds":1776438062,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf5abb0"} 
[2026-04-17 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-04-17 20:33:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:33: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-04-17 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-04-17 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-04-17 20:33:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:33:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:33:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:33:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:33: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-04-17 20:33:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:33:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:33:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768141056001,"66":27343,"169":206,"85":15104,"24":33,"16":274224483504488448,"45":8927260386528200704},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-17 20:33:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:33:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:33:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768141056001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:33:01] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-17 20:33:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:33:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274224483504488448,"km_value":274224483504488.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:33:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8927260386528200704,"description":"Unknown IO ID 45"} 
[2026-04-17 20:33:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768141056001,"power":27343,"unknown_169":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8927260386528200704}} 
[2026-04-17 20:33:01] local.INFO: DEBUG: GPS processor result {"connection_id":46081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22994,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:33:01] local.INFO: GPS data processed {"connection_id":46081,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:33:01] local.INFO: Acknowledgment sent {"connection_id":46081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:33:31] local.INFO: TCP Data received {"connection_id":46081,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf5d6a8012d7be1c005dcb9b8000001612a..."} 
[2026-04-17 20:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46081,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf5d6a8012d7be1c005dcb9b8000001612a..."} 
[2026-04-17 20:33:31] local.INFO: Processing buffer {"connection_id":46081,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf5d6a8012d7be1c005dcb9b8000001612a..."} 
[2026-04-17 20:33:31] local.INFO: Packet analysis {"connection_id":46081,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf5"} 
[2026-04-17 20:33:31] local.INFO: Extracted packet for processing {"connection_id":46081,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf5"} 
[2026-04-17 20:33:31] local.INFO: GPS Element Parsed {"raw_longitude":763093440,"raw_latitude":98351544,"longitude_deg":76.309344,"latitude_deg":9.8351544,"altitude":0,"angle":353,"satellites":42,"speed":38,"hex_longitude":"2d7be1c0","hex_latitude":"05dcb9b8","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:33:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768143872001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:33:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274224955950891008,"note":"Value kept but may cause issues"} 
[2026-04-17 20:33:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8926908542809772032,"note":"Value kept but may cause issues"} 
[2026-04-17 20:33:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,169,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:33:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776438073000,"timestamp_ms":1776438073000,"timestamp_seconds":1776438073,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf5d6a8"} 
[2026-04-17 20:33:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:33:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":207,"data_length":795,"current_offset":136} 
[2026-04-17 20:33: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-04-17 20: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-04-17 20:33:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:33:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:33:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46081,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:33:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:33:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46081,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:33:31] 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-04-17 20:33:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:33:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:33:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768143872001,"66":27267,"169":206,"85":15104,"24":38,"16":274224955950891008,"45":8926908542809772032},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,169,85,24,16,45]} 
[2026-04-17 20:33:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:33:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:33:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768143872001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:33:31] local.INFO: Unknown IO ID detected {"io_id":169,"value":206,"description":"Unknown IO ID 169"} 
[2026-04-17 20:33:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:33:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274224955950891008,"km_value":274224955950891.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:33:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8926908542809772032,"description":"Unknown IO ID 45"} 
[2026-04-17 20:33:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768143872001,"power":27267,"unknown_169":206,"unknown_85":15104,"ignition":38,"odometer":null,"unknown_45":8926908542809772032}} 
[2026-04-17 20:33:31] local.INFO: DEBUG: GPS processor result {"connection_id":46081,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22995,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:33:31] local.INFO: GPS data processed {"connection_id":46081,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:33:31] local.INFO: Acknowledgment sent {"connection_id":46081,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:33:49] local.INFO: TCP Data received {"connection_id":46938,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:33:49] local.INFO: Processing buffer {"connection_id":46938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:33:49] local.INFO: IMEI packet received {"connection_id":46938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":46938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:33:52] local.INFO: TCP Data received {"connection_id":46938,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:33:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:33:52] local.INFO: Processing buffer {"connection_id":46938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:33:52] local.INFO: IMEI packet received {"connection_id":46938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:33:52] local.INFO: IMEI acknowledgment sent {"connection_id":46938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:33:56] local.INFO: TCP Data received {"connection_id":46938,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46938,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:33:56] local.INFO: Processing buffer {"connection_id":46938,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:33:56] local.INFO: IMEI packet received {"connection_id":46938,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:33:56] local.INFO: IMEI acknowledgment sent {"connection_id":46938,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:33:57] local.INFO: TCP Data received {"connection_id":46938,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf75d48012d7baa8005de42980000015c26..."} 
[2026-04-17 20:33:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf75d48012d7baa8005de42980000015c26..."} 
[2026-04-17 20:33:57] local.INFO: Processing buffer {"connection_id":46938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf75d48012d7baa8005de42980000015c26..."} 
[2026-04-17 20:33:57] local.INFO: Packet analysis {"connection_id":46938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf7"} 
[2026-04-17 20:33:57] local.INFO: Extracted packet for processing {"connection_id":46938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf7"} 
[2026-04-17 20:33:57] local.INFO: GPS Element Parsed {"raw_longitude":763079296,"raw_latitude":98452120,"longitude_deg":76.3079296,"latitude_deg":9.845212,"altitude":0,"angle":348,"satellites":38,"speed":47,"hex_longitude":"2d7baa80","hex_latitude":"05de4298","is_valid_coordinates":true} 
[2026-04-17 20:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:33:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768170240001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:33:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274229890868314112,"note":"Value kept but may cause issues"} 
[2026-04-17 20:33:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8913257006465263616,"note":"Value kept but may cause issues"} 
[2026-04-17 20:33:57] 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-04-17 20:33:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776438173000,"timestamp_ms":1776438173000,"timestamp_seconds":1776438173,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf75d48"} 
[2026-04-17 20:33:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:33: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-04-17 20:33:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":44,"data_length":795,"current_offset":136} 
[2026-04-17 20:33:57] 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-04-17 20:33:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:33:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:33:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:33:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:33:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:33:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:33:57] 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-04-17 20:33:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:33:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:33:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768170240001,"66":27343,"50":206,"85":15104,"24":47,"16":274229890868314112,"45":8913257006465263616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,85,24,16,45]} 
[2026-04-17 20:33:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:33:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:33:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768170240001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:33:57] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-17 20:33:57] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:33:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274229890868314112,"km_value":274229890868314.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:33:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8913257006465263616,"description":"Unknown IO ID 45"} 
[2026-04-17 20:33:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768170240001,"power":27343,"unknown_50":206,"unknown_85":15104,"ignition":47,"odometer":null,"unknown_45":8913257006465263616}} 
[2026-04-17 20:33:57] local.INFO: DEBUG: GPS processor result {"connection_id":46938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22996,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:33:57] local.INFO: GPS data processed {"connection_id":46938,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:33:57] local.INFO: Acknowledgment sent {"connection_id":46938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:34:28] local.INFO: TCP Data received {"connection_id":46938,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf778a0012d7ba3c005de65d00000015d23..."} 
[2026-04-17 20:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46938,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf778a0012d7ba3c005de65d00000015d23..."} 
[2026-04-17 20:34:28] local.INFO: Processing buffer {"connection_id":46938,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf778a0012d7ba3c005de65d00000015d23..."} 
[2026-04-17 20:34:28] local.INFO: Packet analysis {"connection_id":46938,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf7"} 
[2026-04-17 20:34:28] local.INFO: Extracted packet for processing {"connection_id":46938,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf7"} 
[2026-04-17 20:34:28] local.INFO: GPS Element Parsed {"raw_longitude":763077568,"raw_latitude":98461136,"longitude_deg":76.3077568,"latitude_deg":9.8461136,"altitude":0,"angle":349,"satellites":35,"speed":55,"hex_longitude":"2d7ba3c0","hex_latitude":"05de65d0","is_valid_coordinates":true} 
[2026-04-17 20:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768172288001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274230337544912896,"note":"Value kept but may cause issues"} 
[2026-04-17 20:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8911075575398045696,"note":"Value kept but may cause issues"} 
[2026-04-17 20:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776438180000,"timestamp_ms":1776438180000,"timestamp_seconds":1776438180,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf778a0"} 
[2026-04-17 20:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:34: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-04-17 20:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 20:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46938,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46938,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:34:28] 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-04-17 20:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768172288001,"66":27321,"49":206,"85":15104,"24":55,"16":274230337544912896,"45":8911075575398045696},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-04-17 20:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768172288001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:34:28] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-17 20:34:28] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274230337544912896,"km_value":274230337544912.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8911075575398045696,"description":"Unknown IO ID 45"} 
[2026-04-17 20:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768172288001,"power":27321,"unknown_49":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8911075575398045696}} 
[2026-04-17 20:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":46938,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22997,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:34:28] local.INFO: GPS data processed {"connection_id":46938,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:34:28] local.INFO: Acknowledgment sent {"connection_id":46938,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:34:51] local.INFO: TCP Data received {"connection_id":46193,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:34:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:34:51] local.INFO: Processing buffer {"connection_id":46193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:34:51] local.INFO: IMEI packet received {"connection_id":46193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:34:51] local.INFO: IMEI acknowledgment sent {"connection_id":46193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:34:55] local.INFO: TCP Data received {"connection_id":46193,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:34:55] local.INFO: Processing buffer {"connection_id":46193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:34:55] local.INFO: IMEI packet received {"connection_id":46193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":46193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:34:58] local.INFO: TCP Data received {"connection_id":46193,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:34:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46193,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:34:58] local.INFO: Processing buffer {"connection_id":46193,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:34:58] local.INFO: IMEI packet received {"connection_id":46193,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:34:58] local.INFO: IMEI acknowledgment sent {"connection_id":46193,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:34:59] local.INFO: TCP Data received {"connection_id":46193,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf793f8012d7b9e0005de8a780000016221..."} 
[2026-04-17 20:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf793f8012d7b9e0005de8a780000016221..."} 
[2026-04-17 20:34:59] local.INFO: Processing buffer {"connection_id":46193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf793f8012d7b9e0005de8a780000016221..."} 
[2026-04-17 20:34:59] local.INFO: Packet analysis {"connection_id":46193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf7"} 
[2026-04-17 20:34:59] local.INFO: Extracted packet for processing {"connection_id":46193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf7"} 
[2026-04-17 20:34:59] local.INFO: GPS Element Parsed {"raw_longitude":763076096,"raw_latitude":98470520,"longitude_deg":76.3076096,"latitude_deg":9.847052,"altitude":0,"angle":354,"satellites":33,"speed":55,"hex_longitude":"2d7b9e00","hex_latitude":"05de8a78","is_valid_coordinates":true} 
[2026-04-17 20:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768174080001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274230797106413568,"note":"Value kept but may cause issues"} 
[2026-04-17 20:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8909175619307556864,"note":"Value kept but may cause issues"} 
[2026-04-17 20:34:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,49,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776438187000,"timestamp_ms":1776438187000,"timestamp_seconds":1776438187,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf793f8"} 
[2026-04-17 20:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:34:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 20:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:34:59] 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-04-17 20:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768174080001,"66":27376,"49":206,"85":15104,"24":55,"16":274230797106413568,"45":8909175619307556864},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-04-17 20:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768174080001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:34:59] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-17 20:34:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274230797106413568,"km_value":274230797106413.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8909175619307556864,"description":"Unknown IO ID 45"} 
[2026-04-17 20:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768174080001,"power":27376,"unknown_49":206,"unknown_85":15104,"ignition":55,"odometer":null,"unknown_45":8909175619307556864}} 
[2026-04-17 20:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":46193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22998,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:34:59] local.INFO: GPS data processed {"connection_id":46193,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:34:59] local.INFO: Acknowledgment sent {"connection_id":46193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:35:00] local.INFO: TCP Data received {"connection_id":46193,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf7af50012d7b9c0005deb0180000016422..."} 
[2026-04-17 20:35:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf7af50012d7b9c0005deb0180000016422..."} 
[2026-04-17 20:35:00] local.INFO: Processing buffer {"connection_id":46193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf7af50012d7b9c0005deb0180000016422..."} 
[2026-04-17 20:35:00] local.INFO: Packet analysis {"connection_id":46193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf7"} 
[2026-04-17 20:35:00] local.INFO: Extracted packet for processing {"connection_id":46193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf7"} 
[2026-04-17 20:35:00] local.INFO: GPS Element Parsed {"raw_longitude":763075584,"raw_latitude":98480152,"longitude_deg":76.3075584,"latitude_deg":9.8480152,"altitude":0,"angle":356,"satellites":34,"speed":52,"hex_longitude":"2d7b9c00","hex_latitude":"05deb018","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:35:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768175872001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274231265257848832,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8907557138193872896,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:00] 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-04-17 20:35:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776438194000,"timestamp_ms":1776438194000,"timestamp_seconds":1776438194,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf7af50"} 
[2026-04-17 20:35:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:35:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 20:35:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:35:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:35:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:35:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:35:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:35:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:35: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-04-17 20:35:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:35:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:35:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768175872001,"66":27321,"49":206,"85":15104,"24":52,"16":274231265257848832,"45":8907557138193872896},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,49,85,24,16,45]} 
[2026-04-17 20:35:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:35:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:35:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768175872001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:35:00] local.INFO: Unknown IO ID detected {"io_id":49,"value":206,"description":"Unknown IO ID 49"} 
[2026-04-17 20:35:00] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:35:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274231265257848832,"km_value":274231265257848.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:35:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8907557138193872896,"description":"Unknown IO ID 45"} 
[2026-04-17 20:35:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768175872001,"power":27321,"unknown_49":206,"unknown_85":15104,"ignition":52,"odometer":null,"unknown_45":8907557138193872896}} 
[2026-04-17 20:35:00] local.INFO: DEBUG: GPS processor result {"connection_id":46193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":22999,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:35:00] local.INFO: GPS data processed {"connection_id":46193,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:35:00] local.INFO: Acknowledgment sent {"connection_id":46193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:35:31] local.INFO: TCP Data received {"connection_id":46193,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf8fb58012d7b6c4005e069880000016127..."} 
[2026-04-17 20:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46193,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf8fb58012d7b6c4005e069880000016127..."} 
[2026-04-17 20:35:31] local.INFO: Processing buffer {"connection_id":46193,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf8fb58012d7b6c4005e069880000016127..."} 
[2026-04-17 20:35:31] local.INFO: Packet analysis {"connection_id":46193,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf8"} 
[2026-04-17 20:35:31] local.INFO: Extracted packet for processing {"connection_id":46193,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf8"} 
[2026-04-17 20:35:31] local.INFO: GPS Element Parsed {"raw_longitude":763063360,"raw_latitude":98593160,"longitude_deg":76.306336,"latitude_deg":9.859316,"altitude":0,"angle":353,"satellites":39,"speed":60,"hex_longitude":"2d7b6c40","hex_latitude":"05e06988","is_valid_coordinates":true} 
[2026-04-17 20:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:35:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768197888001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274236775700889600,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8894609289294258176,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:35:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776438279000,"timestamp_ms":1776438279000,"timestamp_seconds":1776438279,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf8fb58"} 
[2026-04-17 20:35:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:35:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:35:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 20:35:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:35:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:35:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:35:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:35:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46193,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:35:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:35:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46193,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:35:31] 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-04-17 20:35:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:35:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:35:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768197888001,"66":27365,"170":206,"85":15104,"24":60,"16":274236775700889600,"45":8894609289294258176},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-17 20:35:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:35:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:35:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768197888001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:35:31] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-17 20:35:31] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:35:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274236775700889600,"km_value":274236775700889.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:35:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8894609289294258176,"description":"Unknown IO ID 45"} 
[2026-04-17 20:35:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768197888001,"power":27365,"unknown_170":206,"unknown_85":15104,"ignition":60,"odometer":null,"unknown_45":8894609289294258176}} 
[2026-04-17 20:35:31] local.INFO: DEBUG: GPS processor result {"connection_id":46193,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23000,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:35:31] local.INFO: GPS data processed {"connection_id":46193,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:35:31] local.INFO: Acknowledgment sent {"connection_id":46193,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:35:31] local.INFO: TCP Data received {"connection_id":46084,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:35:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46084,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:35:31] local.INFO: Processing buffer {"connection_id":46084,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:35:31] local.INFO: IMEI packet received {"connection_id":46084,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:35:31] local.INFO: IMEI acknowledgment sent {"connection_id":46084,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:35:33] local.INFO: TCP Data received {"connection_id":46084,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf843c0012d1a1e000720fdc0004301422b..."} 
[2026-04-17 20:35:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf843c0012d1a1e000720fdc0004301422b..."} 
[2026-04-17 20:35:33] local.INFO: Processing buffer {"connection_id":46084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf843c0012d1a1e000720fdc0004301422b..."} 
[2026-04-17 20:35:33] local.INFO: Packet analysis {"connection_id":46084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf8"} 
[2026-04-17 20:35:33] local.INFO: Extracted packet for processing {"connection_id":46084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf8"} 
[2026-04-17 20:35:33] local.INFO: GPS Element Parsed {"raw_longitude":756686336,"raw_latitude":119602624,"longitude_deg":75.6686336,"latitude_deg":11.9602624,"altitude":67,"angle":322,"satellites":43,"speed":0,"hex_longitude":"2d1a1e00","hex_latitude":"0720fdc0","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768182016001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113537980160802816,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881941724905717760,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:33] 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-04-17 20:35:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776438232000,"timestamp_ms":1776438232000,"timestamp_seconds":1776438232,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf843c0"} 
[2026-04-17 20:35:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:35: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-04-17 20: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":47,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:35:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":360287970357412864,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2616591752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:33] local.WARNING: Large IO value detected {"io_id":155,"raw_value":4138309633,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:33] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4257218627,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":-1787365216871514088,"corrected_to":0} 
[2026-04-17 20:35:33] local.WARNING: Large IO value detected {"io_id":87,"raw_value":2415996186,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:33] local.WARNING: Large IO value detected {"io_id":239,"raw_value":72182199644848384,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:33] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397159,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:33] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2377258489568379436,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:33] local.WARNING: Large IO value detected {"io_id":69,"raw_value":72061993194989312,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:33] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,70,28,24,241,158,16,94,157,159,45,253,67,41,10,66,77,43,251,1,240,173,155,32,4,113,205,87,30,192,239,49,2,147,7,69],"length":484,"final_offset":614,"validated_count":36,"validation_warnings":[{"io_id":205,"original":-1787365216871514088,"validated":0}]} 
[2026-04-17 20:35:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4828213027968909312,"timestamp_seconds":4828213027968909.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 20:35:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:35:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:35:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:35:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:35:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:35:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:35:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:35:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:35:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768182016001,"66":12461,"70":206,"28":31744,"24":0,"16":113537980160802816,"45":1881941724905717760},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 20:35:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:35:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:35:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768182016001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:35:33] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 20:35:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:35:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113537980160802816,"km_value":113537980160802.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:35:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881941724905717760,"description":"Unknown IO ID 45"} 
[2026-04-17 20:35:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768182016001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1881941724905717760}} 
[2026-04-17 20:35:33] local.INFO: DEBUG: GPS processor result {"connection_id":46084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23001,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:35:33] local.INFO: GPS data processed {"connection_id":46084,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:35:33] local.INFO: Acknowledgment sent {"connection_id":46084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:35:47] local.INFO: TCP Data received {"connection_id":46939,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:35:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:35:47] local.INFO: Processing buffer {"connection_id":46939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:35:47] local.INFO: IMEI packet received {"connection_id":46939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:35:47] local.INFO: IMEI acknowledgment sent {"connection_id":46939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:35:50] local.INFO: TCP Data received {"connection_id":46939,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:35:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:35:50] local.INFO: Processing buffer {"connection_id":46939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:35:50] local.INFO: IMEI packet received {"connection_id":46939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:35:50] local.INFO: IMEI acknowledgment sent {"connection_id":46939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:35:53] local.INFO: TCP Data received {"connection_id":46939,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:35:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46939,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:35:53] local.INFO: Processing buffer {"connection_id":46939,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:35:53] local.INFO: IMEI packet received {"connection_id":46939,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:35:53] local.INFO: IMEI acknowledgment sent {"connection_id":46939,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:35:54] local.INFO: TCP Data received {"connection_id":46939,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf912c8012d7b67c005e08ca00000016024..."} 
[2026-04-17 20:35:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf912c8012d7b67c005e08ca00000016024..."} 
[2026-04-17 20:35:54] local.INFO: Processing buffer {"connection_id":46939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf912c8012d7b67c005e08ca00000016024..."} 
[2026-04-17 20:35:54] local.INFO: Packet analysis {"connection_id":46939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf9"} 
[2026-04-17 20:35:54] local.INFO: Extracted packet for processing {"connection_id":46939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf9"} 
[2026-04-17 20:35:54] local.INFO: GPS Element Parsed {"raw_longitude":763062208,"raw_latitude":98602144,"longitude_deg":76.3062208,"latitude_deg":9.8602144,"altitude":0,"angle":352,"satellites":36,"speed":59,"hex_longitude":"2d7b67c0","hex_latitude":"05e08ca0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:35:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768199424001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274237218082521088,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8893553758133913600,"note":"Value kept but may cause issues"} 
[2026-04-17 20:35:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,170,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:35:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776438285000,"timestamp_ms":1776438285000,"timestamp_seconds":1776438285,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf912c8"} 
[2026-04-17 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-04-17 20:35: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-04-17 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 20:35:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 20:35:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:35:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:35:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:35:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:35:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:35:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:35:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:35:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768199424001,"66":27332,"170":206,"85":15104,"24":59,"16":274237218082521088,"45":8893553758133913600},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-17 20:35:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:35:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:35:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768199424001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:35:54] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-17 20:35:54] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:35:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274237218082521088,"km_value":274237218082521.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:35:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8893553758133913600,"description":"Unknown IO ID 45"} 
[2026-04-17 20:35:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768199424001,"power":27332,"unknown_170":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":8893553758133913600}} 
[2026-04-17 20:35:54] local.INFO: DEBUG: GPS processor result {"connection_id":46939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23002,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:35:54] local.INFO: GPS data processed {"connection_id":46939,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:35:54] local.INFO: Acknowledgment sent {"connection_id":46939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:36:04] local.INFO: TCP Data received {"connection_id":46084,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf895c8012d1a1e000720fdc0004301422a..."} 
[2026-04-17 20:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46084,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf895c8012d1a1e000720fdc0004301422a..."} 
[2026-04-17 20:36:04] local.INFO: Processing buffer {"connection_id":46084,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf895c8012d1a1e000720fdc0004301422a..."} 
[2026-04-17 20:36:04] local.INFO: Packet analysis {"connection_id":46084,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf8"} 
[2026-04-17 20:36:04] local.INFO: Extracted packet for processing {"connection_id":46084,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf8"} 
[2026-04-17 20:36:04] local.INFO: GPS Element Parsed {"raw_longitude":756686336,"raw_latitude":119602624,"longitude_deg":75.6686336,"latitude_deg":11.9602624,"altitude":67,"angle":322,"satellites":42,"speed":0,"hex_longitude":"2d1a1e00","hex_latitude":"0720fdc0","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:36:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768187392001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:36:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113537980160802816,"note":"Value kept but may cause issues"} 
[2026-04-17 20:36:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881941724905717760,"note":"Value kept but may cause issues"} 
[2026-04-17 20:36:04] 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-04-17 20:36:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776438253000,"timestamp_ms":1776438253000,"timestamp_seconds":1776438253,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf895c8"} 
[2026-04-17 20:36:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:36: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-04-17 20: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":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 20:36: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-04-17 20: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-04-17 20:36:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:36:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:36:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46084,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:36:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:36:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46084,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:36:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:36:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:36:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:36:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768187392001,"66":12461,"70":206,"28":31744,"24":0,"16":113537980160802816,"45":1881941724905717760},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 20:36:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:36:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:36:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768187392001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:36:04] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 20:36:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:36:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113537980160802816,"km_value":113537980160802.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:36:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881941724905717760,"description":"Unknown IO ID 45"} 
[2026-04-17 20:36:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768187392001,"power":12461,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1881941724905717760}} 
[2026-04-17 20:36:04] local.INFO: DEBUG: GPS processor result {"connection_id":46084,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23003,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:36:04] local.INFO: GPS data processed {"connection_id":46084,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:36:04] local.INFO: Acknowledgment sent {"connection_id":46084,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:36:21] local.INFO: TCP Data received {"connection_id":46940,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:36:21] local.INFO: Processing buffer {"connection_id":46940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:36:21] local.INFO: IMEI packet received {"connection_id":46940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":46940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:36:24] local.INFO: TCP Data received {"connection_id":46430,"ip":"42.106.6.152","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46430,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:36:24] local.INFO: Processing buffer {"connection_id":46430,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:36:24] local.INFO: IMEI packet received {"connection_id":46430,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":46430,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:36:25] local.INFO: TCP Data received {"connection_id":46939,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf92a38012d7b62c005e0af680000015f23..."} 
[2026-04-17 20:36:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46939,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf92a38012d7b62c005e0af680000015f23..."} 
[2026-04-17 20:36:25] local.INFO: Processing buffer {"connection_id":46939,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf92a38012d7b62c005e0af680000015f23..."} 
[2026-04-17 20:36:25] local.INFO: Packet analysis {"connection_id":46939,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf9"} 
[2026-04-17 20:36:25] local.INFO: Extracted packet for processing {"connection_id":46939,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf9"} 
[2026-04-17 20:36:25] local.INFO: GPS Element Parsed {"raw_longitude":763060928,"raw_latitude":98611048,"longitude_deg":76.3060928,"latitude_deg":9.8611048,"altitude":0,"angle":351,"satellites":35,"speed":59,"hex_longitude":"2d7b62c0","hex_latitude":"05e0af68","is_valid_coordinates":true} 
[2026-04-17 20:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:36:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768200960001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:36:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274237651874217984,"note":"Value kept but may cause issues"} 
[2026-04-17 20:36:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8892287120741015552,"note":"Value kept but may cause issues"} 
[2026-04-17 20:36:25] 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-04-17 20:36:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776438291000,"timestamp_ms":1776438291000,"timestamp_seconds":1776438291,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf92a38"} 
[2026-04-17 20:36:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:36:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:36:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 20:36:25] 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-04-17 20:36:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:36:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:36:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:36:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46939,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:36:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:36:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46939,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:36:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:36:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:36:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:36:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768200960001,"66":27463,"170":206,"85":15104,"24":59,"16":274237651874217984,"45":8892287120741015552},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-17 20:36:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:36:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:36:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768200960001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:36:25] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-17 20:36:25] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:36:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274237651874217984,"km_value":274237651874217.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:36:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8892287120741015552,"description":"Unknown IO ID 45"} 
[2026-04-17 20:36:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768200960001,"power":27463,"unknown_170":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":8892287120741015552}} 
[2026-04-17 20:36:25] local.INFO: DEBUG: GPS processor result {"connection_id":46939,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23004,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:36:25] local.INFO: GPS data processed {"connection_id":46939,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:36:25] local.INFO: Acknowledgment sent {"connection_id":46939,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:36:26] local.INFO: TCP Data received {"connection_id":46940,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46940,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:36:26] local.INFO: Processing buffer {"connection_id":46940,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:36:26] local.INFO: IMEI packet received {"connection_id":46940,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":46940,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:36:27] local.INFO: TCP Data received {"connection_id":46940,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf8e7d0012d1a1e000720fdc0004301422c..."} 
[2026-04-17 20:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf8e7d0012d1a1e000720fdc0004301422c..."} 
[2026-04-17 20:36:27] local.INFO: Processing buffer {"connection_id":46940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf8e7d0012d1a1e000720fdc0004301422c..."} 
[2026-04-17 20:36:27] local.INFO: Packet analysis {"connection_id":46940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf8"} 
[2026-04-17 20:36:27] local.INFO: Extracted packet for processing {"connection_id":46940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf8"} 
[2026-04-17 20:36:27] local.INFO: GPS Element Parsed {"raw_longitude":756686336,"raw_latitude":119602624,"longitude_deg":75.6686336,"latitude_deg":11.9602624,"altitude":67,"angle":322,"satellites":44,"speed":0,"hex_longitude":"2d1a1e00","hex_latitude":"0720fdc0","is_valid_coordinates":true} 
[2026-04-17 20:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768192768001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113537980160802816,"note":"Value kept but may cause issues"} 
[2026-04-17 20:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881941724905717760,"note":"Value kept but may cause issues"} 
[2026-04-17 20:36:27] 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-04-17 20:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776438274000,"timestamp_ms":1776438274000,"timestamp_seconds":1776438274,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf8e7d0"} 
[2026-04-17 20:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 20:36:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768192768001,"66":12428,"70":206,"28":31744,"24":0,"16":113537980160802816,"45":1881941724905717760},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 20:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768192768001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:36:27] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 20:36:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113537980160802816,"km_value":113537980160802.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881941724905717760,"description":"Unknown IO ID 45"} 
[2026-04-17 20:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768192768001,"power":12428,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1881941724905717760}} 
[2026-04-17 20:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":46940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23005,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:36:27] local.INFO: GPS data processed {"connection_id":46940,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:36:27] local.INFO: Acknowledgment sent {"connection_id":46940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:36:50] local.INFO: TCP Data received {"connection_id":46195,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:36:50] local.INFO: Processing buffer {"connection_id":46195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:36:50] local.INFO: IMEI packet received {"connection_id":46195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":46195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:36:55] local.INFO: TCP Data received {"connection_id":46195,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46195,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:36:55] local.INFO: Processing buffer {"connection_id":46195,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:36:55] local.INFO: IMEI packet received {"connection_id":46195,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":46195,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:36:56] local.INFO: TCP Data received {"connection_id":46195,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf941a8012d7b5d4005e0d2100001015e22..."} 
[2026-04-17 20:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf941a8012d7b5d4005e0d2100001015e22..."} 
[2026-04-17 20:36:56] local.INFO: Processing buffer {"connection_id":46195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf941a8012d7b5d4005e0d2100001015e22..."} 
[2026-04-17 20:36:56] local.INFO: Packet analysis {"connection_id":46195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf9"} 
[2026-04-17 20:36:56] local.INFO: Extracted packet for processing {"connection_id":46195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf9"} 
[2026-04-17 20:36:56] local.INFO: GPS Element Parsed {"raw_longitude":763059520,"raw_latitude":98619920,"longitude_deg":76.305952,"latitude_deg":9.861992,"altitude":1,"angle":350,"satellites":34,"speed":59,"hex_longitude":"2d7b5d40","hex_latitude":"05e0d210","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768202496001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274238089960882176,"note":"Value kept but may cause issues"} 
[2026-04-17 20:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8890879745859741696,"note":"Value kept but may cause issues"} 
[2026-04-17 20:36:56] 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-04-17 20:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776438297000,"timestamp_ms":1776438297000,"timestamp_seconds":1776438297,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf941a8"} 
[2026-04-17 20:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 20:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:36:56] 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-04-17 20:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768202496001,"66":27343,"170":206,"85":15104,"24":59,"16":274238089960882176,"45":8890879745859741696},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-17 20:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768202496001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:36:56] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-17 20:36:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274238089960882176,"km_value":274238089960882.2,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8890879745859741696,"description":"Unknown IO ID 45"} 
[2026-04-17 20:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768202496001,"power":27343,"unknown_170":206,"unknown_85":15104,"ignition":59,"odometer":null,"unknown_45":8890879745859741696}} 
[2026-04-17 20:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":46195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23006,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:36:56] local.INFO: GPS data processed {"connection_id":46195,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:36:56] local.INFO: Acknowledgment sent {"connection_id":46195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:37:03] local.INFO: TCP Data received {"connection_id":46940,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf939d8012d1a1e000720fdc00043014229..."} 
[2026-04-17 20:37:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46940,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf939d8012d1a1e000720fdc00043014229..."} 
[2026-04-17 20:37:03] local.INFO: Processing buffer {"connection_id":46940,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf939d8012d1a1e000720fdc00043014229..."} 
[2026-04-17 20:37:03] local.INFO: Packet analysis {"connection_id":46940,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf9"} 
[2026-04-17 20:37:03] local.INFO: Extracted packet for processing {"connection_id":46940,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf9"} 
[2026-04-17 20:37:03] local.INFO: GPS Element Parsed {"raw_longitude":756686336,"raw_latitude":119602624,"longitude_deg":75.6686336,"latitude_deg":11.9602624,"altitude":67,"angle":322,"satellites":41,"speed":0,"hex_longitude":"2d1a1e00","hex_latitude":"0720fdc0","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:37:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768198144001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:37:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113537980160802816,"note":"Value kept but may cause issues"} 
[2026-04-17 20:37:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1881941724905717760,"note":"Value kept but may cause issues"} 
[2026-04-17 20:37:03] 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-04-17 20:37:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776438295000,"timestamp_ms":1776438295000,"timestamp_seconds":1776438295,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf939d8"} 
[2026-04-17 20:37:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:37: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-04-17 20:37:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":140,"data_length":795,"current_offset":136} 
[2026-04-17 20:37:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1698,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:37:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:37:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:37:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46940,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:37:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:37:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46940,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:37:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:37:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:37:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:37:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768198144001,"66":12428,"70":206,"28":31744,"24":0,"16":113537980160802816,"45":1881941724905717760},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,70,28,24,16,45]} 
[2026-04-17 20:37:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:37:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:37:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768198144001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:37:03] local.INFO: Unknown IO ID detected {"io_id":70,"value":206,"description":"Unknown IO ID 70"} 
[2026-04-17 20:37:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:37:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113537980160802816,"km_value":113537980160802.81,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:37:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1881941724905717760,"description":"Unknown IO ID 45"} 
[2026-04-17 20:37:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768198144001,"power":12428,"unknown_70":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1881941724905717760}} 
[2026-04-17 20:37:03] local.INFO: DEBUG: GPS processor result {"connection_id":46940,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23007,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:37:03] local.INFO: GPS data processed {"connection_id":46940,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:37:03] local.INFO: Acknowledgment sent {"connection_id":46940,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:37:06] local.INFO: TCP Data received {"connection_id":46431,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:37:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46431,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:37:06] local.INFO: Processing buffer {"connection_id":46431,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:37:06] local.INFO: IMEI packet received {"connection_id":46431,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:37:06] local.INFO: IMEI acknowledgment sent {"connection_id":46431,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:37:27] local.INFO: TCP Data received {"connection_id":46195,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bf95918012d7b570005e0f4900004015e21..."} 
[2026-04-17 20:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bf95918012d7b570005e0f4900004015e21..."} 
[2026-04-17 20:37:27] local.INFO: Processing buffer {"connection_id":46195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bf95918012d7b570005e0f4900004015e21..."} 
[2026-04-17 20:37:27] local.INFO: Packet analysis {"connection_id":46195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bf9"} 
[2026-04-17 20:37:27] local.INFO: Extracted packet for processing {"connection_id":46195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bf9"} 
[2026-04-17 20:37:27] local.INFO: GPS Element Parsed {"raw_longitude":763057920,"raw_latitude":98628752,"longitude_deg":76.305792,"latitude_deg":9.8628752,"altitude":4,"angle":350,"satellites":33,"speed":58,"hex_longitude":"2d7b5700","hex_latitude":"05e0f490","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768204032001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274238523752579072,"note":"Value kept but may cause issues"} 
[2026-04-17 20:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8889331633490104320,"note":"Value kept but may cause issues"} 
[2026-04-17 20:37:27] 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-04-17 20:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776438303000,"timestamp_ms":1776438303000,"timestamp_seconds":1776438303,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bf95918"} 
[2026-04-17 20:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 20:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46195,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768204032001,"66":27397,"170":206,"85":15104,"24":58,"16":274238523752579072,"45":8889331633490104320},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,170,85,24,16,45]} 
[2026-04-17 20:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768204032001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:37:27] local.INFO: Unknown IO ID detected {"io_id":170,"value":206,"description":"Unknown IO ID 170"} 
[2026-04-17 20:37:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274238523752579072,"km_value":274238523752579.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8889331633490104320,"description":"Unknown IO ID 45"} 
[2026-04-17 20:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768204032001,"power":27397,"unknown_170":206,"unknown_85":15104,"ignition":58,"odometer":null,"unknown_45":8889331633490104320}} 
[2026-04-17 20:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":46195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23008,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:37:27] local.INFO: GPS data processed {"connection_id":46195,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:37:27] local.INFO: Acknowledgment sent {"connection_id":46195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:37:36] local.INFO: TCP Data received {"connection_id":46196,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:37:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46196,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:37:36] local.INFO: Processing buffer {"connection_id":46196,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:37:36] local.INFO: IMEI packet received {"connection_id":46196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:37:36] local.INFO: IMEI acknowledgment sent {"connection_id":46196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:37:39] local.INFO: TCP Data received {"connection_id":46196,"ip":"117.224.167.9","data_length":51,"data_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 20:37:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46196,"packet_length":51,"packet_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 20:37:39] local.INFO: Processing buffer {"connection_id":46196,"buffer_length":51,"buffer_hex":"000f383632353637303734383131333630000f38363235363730373438313133..."} 
[2026-04-17 20:37:39] local.INFO: IMEI packet received {"connection_id":46196,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:37:39] local.INFO: IMEI acknowledgment sent {"connection_id":46196,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:37:55] local.INFO: TCP Data received {"connection_id":46432,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:37:55] local.INFO: Processing buffer {"connection_id":46432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:37:55] local.INFO: IMEI packet received {"connection_id":46432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":46432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:37:56] local.INFO: TCP Data received {"connection_id":46432,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46432,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:37:56] local.INFO: Processing buffer {"connection_id":46432,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:37:56] local.INFO: IMEI packet received {"connection_id":46432,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:37:56] local.INFO: IMEI acknowledgment sent {"connection_id":46432,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:37:58] local.INFO: TCP Data received {"connection_id":46432,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bfb0e98012d7b230005e27da80005015f24..."} 
[2026-04-17 20:37:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bfb0e98012d7b230005e27da80005015f24..."} 
[2026-04-17 20:37:59] local.INFO: Processing buffer {"connection_id":46432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bfb0e98012d7b230005e27da80005015f24..."} 
[2026-04-17 20:37:59] local.INFO: Packet analysis {"connection_id":46432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bfb"} 
[2026-04-17 20:37:59] local.INFO: Extracted packet for processing {"connection_id":46432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bfb"} 
[2026-04-17 20:37:59] local.INFO: GPS Element Parsed {"raw_longitude":763044608,"raw_latitude":98729384,"longitude_deg":76.3044608,"latitude_deg":9.8729384,"altitude":5,"angle":351,"satellites":36,"speed":20,"hex_longitude":"2d7b2300","hex_latitude":"05e27da8","is_valid_coordinates":true} 
[2026-04-17 20:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768230912001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274243450080067584,"note":"Value kept but may cause issues"} 
[2026-04-17 20:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8874343091005960192,"note":"Value kept but may cause issues"} 
[2026-04-17 20:37:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,96,85,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776438415000,"timestamp_ms":1776438415000,"timestamp_seconds":1776438415,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bfb0e98"} 
[2026-04-17 20:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:37:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 20:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:37:59] 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-04-17 20:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768230912001,"66":27484,"96":206,"85":15104,"24":20,"16":274243450080067584,"45":8874343091005960192},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,85,24,16,45]} 
[2026-04-17 20:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768230912001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:37:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-17 20:37:59] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274243450080067584,"km_value":274243450080067.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8874343091005960192,"description":"Unknown IO ID 45"} 
[2026-04-17 20:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768230912001,"power":27484,"unknown_96":206,"unknown_85":15104,"ignition":20,"odometer":null,"unknown_45":8874343091005960192}} 
[2026-04-17 20:37:59] local.INFO: DEBUG: GPS processor result {"connection_id":46432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23009,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:37:59] local.INFO: GPS data processed {"connection_id":46432,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:37:59] local.INFO: Acknowledgment sent {"connection_id":46432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:38:01] local.INFO: TCP Data received {"connection_id":46432,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bfb4548012d7b1e4005e2a0480006015e26..."} 
[2026-04-17 20:38:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bfb4548012d7b1e4005e2a0480006015e26..."} 
[2026-04-17 20:38:01] local.INFO: Processing buffer {"connection_id":46432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bfb4548012d7b1e4005e2a0480006015e26..."} 
[2026-04-17 20:38:01] local.INFO: Packet analysis {"connection_id":46432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bfb"} 
[2026-04-17 20:38:01] local.INFO: Extracted packet for processing {"connection_id":46432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bfb"} 
[2026-04-17 20:38:01] local.INFO: GPS Element Parsed {"raw_longitude":763043392,"raw_latitude":98738248,"longitude_deg":76.3043392,"latitude_deg":9.8738248,"altitude":6,"angle":350,"satellites":38,"speed":34,"hex_longitude":"2d7b1e40","hex_latitude":"05e2a048","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:38:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768234240001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:38:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274243883871764480,"note":"Value kept but may cause issues"} 
[2026-04-17 20:38:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8872935716124731392,"note":"Value kept but may cause issues"} 
[2026-04-17 20:38: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-04-17 20:38:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776438429000,"timestamp_ms":1776438429000,"timestamp_seconds":1776438429,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bfb4548"} 
[2026-04-17 20:38:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:38:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:38:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 20:38:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:38:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:38:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:38:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:38:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:38:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:38: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-04-17 20:38:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:38:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:38:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768234240001,"66":27365,"97":206,"85":15104,"24":34,"16":274243883871764480,"45":8872935716124731392},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-17 20:38:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:38:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:38:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768234240001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:38:01] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-17 20:38:01] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:38:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274243883871764480,"km_value":274243883871764.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:38:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8872935716124731392,"description":"Unknown IO ID 45"} 
[2026-04-17 20:38:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768234240001,"power":27365,"unknown_97":206,"unknown_85":15104,"ignition":34,"odometer":null,"unknown_45":8872935716124731392}} 
[2026-04-17 20:38:01] local.INFO: DEBUG: GPS processor result {"connection_id":46432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23010,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:38:01] local.INFO: GPS data processed {"connection_id":46432,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:38:01] local.INFO: Acknowledgment sent {"connection_id":46432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:38:32] local.INFO: TCP Data received {"connection_id":46432,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bfb6870012d7b184005e2c4a80003016222..."} 
[2026-04-17 20:38:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46432,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bfb6870012d7b184005e2c4a80003016222..."} 
[2026-04-17 20:38:32] local.INFO: Processing buffer {"connection_id":46432,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bfb6870012d7b184005e2c4a80003016222..."} 
[2026-04-17 20:38:32] local.INFO: Packet analysis {"connection_id":46432,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bfb"} 
[2026-04-17 20:38:32] local.INFO: Extracted packet for processing {"connection_id":46432,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bfb"} 
[2026-04-17 20:38:32] local.INFO: GPS Element Parsed {"raw_longitude":763041856,"raw_latitude":98747560,"longitude_deg":76.3041856,"latitude_deg":9.874756,"altitude":3,"angle":354,"satellites":34,"speed":41,"hex_longitude":"2d7b1840","hex_latitude":"05e2c4a8","is_valid_coordinates":true} 
[2026-04-17 20:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:38:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768237824001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:38:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274244339138297856,"note":"Value kept but may cause issues"} 
[2026-04-17 20:38:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8871598709987624960,"note":"Value kept but may cause issues"} 
[2026-04-17 20:38: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-04-17 20:38:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776438438000,"timestamp_ms":1776438438000,"timestamp_seconds":1776438438,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bfb6870"} 
[2026-04-17 20:38:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:38:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:38:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 20:38: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-04-17 20:38:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:38:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:38:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:38:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46432,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:38:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:38:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46432,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:38:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:38:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:38:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:38:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768237824001,"66":27332,"97":206,"85":15104,"24":41,"16":274244339138297856,"45":8871598709987624960},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-17 20:38:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:38:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:38:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768237824001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:38:32] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-17 20:38:32] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:38:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274244339138297856,"km_value":274244339138297.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:38:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8871598709987624960,"description":"Unknown IO ID 45"} 
[2026-04-17 20:38:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768237824001,"power":27332,"unknown_97":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8871598709987624960}} 
[2026-04-17 20:38:32] local.INFO: DEBUG: GPS processor result {"connection_id":46432,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23011,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:38:32] local.INFO: GPS data processed {"connection_id":46432,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:38:32] local.INFO: Acknowledgment sent {"connection_id":46432,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:38:50] local.INFO: TCP Data received {"connection_id":46086,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:38:50] local.INFO: Processing buffer {"connection_id":46086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:38:50] local.INFO: IMEI packet received {"connection_id":46086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":46086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:38:51] local.INFO: TCP Data received {"connection_id":46086,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:38:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46086,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:38:51] local.INFO: Processing buffer {"connection_id":46086,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:38:51] local.INFO: IMEI packet received {"connection_id":46086,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:38:51] local.INFO: IMEI acknowledgment sent {"connection_id":46086,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:38:52] local.INFO: TCP Data received {"connection_id":46086,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bfb8b98012d7b138005e2e6f80001015e1f..."} 
[2026-04-17 20:38:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bfb8b98012d7b138005e2e6f80001015e1f..."} 
[2026-04-17 20:38:52] local.INFO: Processing buffer {"connection_id":46086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bfb8b98012d7b138005e2e6f80001015e1f..."} 
[2026-04-17 20:38:52] local.INFO: Packet analysis {"connection_id":46086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bfb"} 
[2026-04-17 20:38:52] local.INFO: Extracted packet for processing {"connection_id":46086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bfb"} 
[2026-04-17 20:38:52] local.INFO: GPS Element Parsed {"raw_longitude":763040640,"raw_latitude":98756344,"longitude_deg":76.304064,"latitude_deg":9.8756344,"altitude":1,"angle":350,"satellites":31,"speed":41,"hex_longitude":"2d7b1380","hex_latitude":"05e2e6f8","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:38:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768240128001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:38:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274244772929994752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:38:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8869909860129744896,"note":"Value kept but may cause issues"} 
[2026-04-17 20:38:52] 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-04-17 20:38:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776438447000,"timestamp_ms":1776438447000,"timestamp_seconds":1776438447,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bfb8b98"} 
[2026-04-17 20:38:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:38: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-04-17 20: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 20:38:52] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:38:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:38:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:38:52] local.INFO: Teltonika packet parsed successfully {"connection_id":46086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:38:52] local.INFO: Passing IMEI to GPS processor {"connection_id":46086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:38:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":46086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:38:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:38:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:38:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:38:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768240128001,"66":27343,"97":206,"85":15104,"24":41,"16":274244772929994752,"45":8869909860129744896},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-17 20:38:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:38:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:38:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768240128001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:38:52] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-17 20:38:52] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:38:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274244772929994752,"km_value":274244772929994.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:38:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":8869909860129744896,"description":"Unknown IO ID 45"} 
[2026-04-17 20:38:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768240128001,"power":27343,"unknown_97":206,"unknown_85":15104,"ignition":41,"odometer":null,"unknown_45":8869909860129744896}} 
[2026-04-17 20:38:52] local.INFO: DEBUG: GPS processor result {"connection_id":46086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23012,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:38:52] local.INFO: GPS data processed {"connection_id":46086,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:38:52] local.INFO: Acknowledgment sent {"connection_id":46086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:38:56] local.INFO: TCP Data received {"connection_id":46086,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bfbb2a8012d7b0c8005e30b380001015d1f..."} 
[2026-04-17 20:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bfbb2a8012d7b0c8005e30b380001015d1f..."} 
[2026-04-17 20:38:56] local.INFO: Processing buffer {"connection_id":46086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bfbb2a8012d7b0c8005e30b380001015d1f..."} 
[2026-04-17 20:38:56] local.INFO: Packet analysis {"connection_id":46086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bfb"} 
[2026-04-17 20:38:56] local.INFO: Extracted packet for processing {"connection_id":46086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bfb"} 
[2026-04-17 20:38:56] local.INFO: GPS Element Parsed {"raw_longitude":763038848,"raw_latitude":98765624,"longitude_deg":76.3038848,"latitude_deg":9.8765624,"altitude":1,"angle":349,"satellites":31,"speed":35,"hex_longitude":"2d7b0c80","hex_latitude":"05e30b38","is_valid_coordinates":true} 
[2026-04-17 20:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768242432001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274245228196528128,"note":"Value kept but may cause issues"} 
[2026-04-17 20:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8868572853992617984,"note":"Value kept but may cause issues"} 
[2026-04-17 20:38: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-04-17 20:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776438457000,"timestamp_ms":1776438457000,"timestamp_seconds":1776438457,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bfbb2a8"} 
[2026-04-17 20:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 20:38:56] 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-04-17 20:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:38:56] 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-04-17 20:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768242432001,"66":27300,"97":206,"85":15104,"24":35,"16":274245228196528128,"45":8868572853992617984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-17 20:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768242432001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:38:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-17 20:38:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274245228196528128,"km_value":274245228196528.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8868572853992617984,"description":"Unknown IO ID 45"} 
[2026-04-17 20:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768242432001,"power":27300,"unknown_97":206,"unknown_85":15104,"ignition":35,"odometer":null,"unknown_45":8868572853992617984}} 
[2026-04-17 20:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":46086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23013,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:38:56] local.INFO: GPS data processed {"connection_id":46086,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:38:56] local.INFO: Acknowledgment sent {"connection_id":46086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:39:27] local.INFO: TCP Data received {"connection_id":46086,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bfbed40012d7b090005e32e900001015e23..."} 
[2026-04-17 20:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46086,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bfbed40012d7b090005e32e900001015e23..."} 
[2026-04-17 20:39:27] local.INFO: Processing buffer {"connection_id":46086,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bfbed40012d7b090005e32e900001015e23..."} 
[2026-04-17 20:39:27] local.INFO: Packet analysis {"connection_id":46086,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bfb"} 
[2026-04-17 20:39:27] local.INFO: Extracted packet for processing {"connection_id":46086,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bfb"} 
[2026-04-17 20:39:27] local.INFO: GPS Element Parsed {"raw_longitude":763037952,"raw_latitude":98774672,"longitude_deg":76.3037952,"latitude_deg":9.8774672,"altitude":1,"angle":350,"satellites":35,"speed":24,"hex_longitude":"2d7b0900","hex_latitude":"05e32e90","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768244992001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274245670578159616,"note":"Value kept but may cause issues"} 
[2026-04-17 20:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8866602529158019072,"note":"Value kept but may cause issues"} 
[2026-04-17 20:39: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-04-17 20:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776438472000,"timestamp_ms":1776438472000,"timestamp_seconds":1776438472,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bfbed40"} 
[2026-04-17 20:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 20:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46086,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46086,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768244992001,"66":27397,"97":206,"85":15104,"24":24,"16":274245670578159616,"45":8866602529158019072},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-17 20:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768244992001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:39:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-17 20:39:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274245670578159616,"km_value":274245670578159.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8866602529158019072,"description":"Unknown IO ID 45"} 
[2026-04-17 20:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768244992001,"power":27397,"unknown_97":206,"unknown_85":15104,"ignition":24,"odometer":null,"unknown_45":8866602529158019072}} 
[2026-04-17 20:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":46086,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23014,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:39:27] local.INFO: GPS data processed {"connection_id":46086,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:39:27] local.INFO: Acknowledgment sent {"connection_id":46086,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:39:50] local.INFO: TCP Data received {"connection_id":46198,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:39:50] local.INFO: Processing buffer {"connection_id":46198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:39:50] local.INFO: IMEI packet received {"connection_id":46198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":46198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:39:55] local.INFO: TCP Data received {"connection_id":46198,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46198,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:39:55] local.INFO: Processing buffer {"connection_id":46198,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:39:55] local.INFO: IMEI packet received {"connection_id":46198,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":46198,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:39:56] local.INFO: TCP Data received {"connection_id":46198,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bfc0898012d7b048005e343200001000126..."} 
[2026-04-17 20:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bfc0898012d7b048005e343200001000126..."} 
[2026-04-17 20:39:56] local.INFO: Processing buffer {"connection_id":46198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bfc0898012d7b048005e343200001000126..."} 
[2026-04-17 20:39:56] local.INFO: Packet analysis {"connection_id":46198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bfc"} 
[2026-04-17 20:39:56] local.INFO: Extracted packet for processing {"connection_id":46198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bfc"} 
[2026-04-17 20:39:56] local.INFO: GPS Element Parsed {"raw_longitude":763036800,"raw_latitude":98779936,"longitude_deg":76.30368,"latitude_deg":9.8779936,"altitude":1,"angle":1,"satellites":38,"speed":33,"hex_longitude":"2d7b0480","hex_latitude":"05e34320","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768248832001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274245932571164672,"note":"Value kept but may cause issues"} 
[2026-04-17 20:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8865617366741848064,"note":"Value kept but may cause issues"} 
[2026-04-17 20:39: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-04-17 20:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776438479000,"timestamp_ms":1776438479000,"timestamp_seconds":1776438479,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bfc0898"} 
[2026-04-17 20:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:39:56] 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-04-17 20: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-04-17 20:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:39:56] 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-04-17 20:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768248832001,"66":27397,"97":206,"85":15104,"24":33,"16":274245932571164672,"45":8865617366741848064},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-17 20:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768248832001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:39:56] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-17 20:39:56] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274245932571164672,"km_value":274245932571164.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8865617366741848064,"description":"Unknown IO ID 45"} 
[2026-04-17 20:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768248832001,"power":27397,"unknown_97":206,"unknown_85":15104,"ignition":33,"odometer":null,"unknown_45":8865617366741848064}} 
[2026-04-17 20:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":46198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23015,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:39:56] local.INFO: GPS data processed {"connection_id":46198,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:39:56] local.INFO: Acknowledgment sent {"connection_id":46198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:40:27] local.INFO: TCP Data received {"connection_id":46198,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bfc1838012d7b034005e352600004015a29..."} 
[2026-04-17 20:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46198,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bfc1838012d7b034005e352600004015a29..."} 
[2026-04-17 20:40:27] local.INFO: Processing buffer {"connection_id":46198,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bfc1838012d7b034005e352600004015a29..."} 
[2026-04-17 20:40:27] local.INFO: Packet analysis {"connection_id":46198,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bfc"} 
[2026-04-17 20:40:27] local.INFO: Extracted packet for processing {"connection_id":46198,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bfc"} 
[2026-04-17 20:40:27] local.INFO: GPS Element Parsed {"raw_longitude":763036480,"raw_latitude":98783840,"longitude_deg":76.303648,"latitude_deg":9.878384,"altitude":4,"angle":346,"satellites":41,"speed":40,"hex_longitude":"2d7b0340","hex_latitude":"05e35260","is_valid_coordinates":true} 
[2026-04-17 20:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768250624001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274246121549725696,"note":"Value kept but may cause issues"} 
[2026-04-17 20:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8864350729347997696,"note":"Value kept but may cause issues"} 
[2026-04-17 20:40: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-04-17 20:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776438483000,"timestamp_ms":1776438483000,"timestamp_seconds":1776438483,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bfc1838"} 
[2026-04-17 20:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:40:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46198,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46198,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768250624001,"66":27397,"97":206,"85":15104,"24":40,"16":274246121549725696,"45":8864350729347997696},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,97,85,24,16,45]} 
[2026-04-17 20:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768250624001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:40:27] local.INFO: Unknown IO ID detected {"io_id":97,"value":206,"description":"Unknown IO ID 97"} 
[2026-04-17 20:40:27] local.INFO: Unknown IO ID detected {"io_id":85,"value":15104,"description":"Unknown IO ID 85"} 
[2026-04-17 20:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274246121549725696,"km_value":274246121549725.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8864350729347997696,"description":"Unknown IO ID 45"} 
[2026-04-17 20:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768250624001,"power":27397,"unknown_97":206,"unknown_85":15104,"ignition":40,"odometer":null,"unknown_45":8864350729347997696}} 
[2026-04-17 20:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":46198,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23016,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:40:27] local.INFO: GPS data processed {"connection_id":46198,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:40:27] local.INFO: Acknowledgment sent {"connection_id":46198,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:40:50] local.INFO: TCP Data received {"connection_id":46433,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:40:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:40:50] local.INFO: Processing buffer {"connection_id":46433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:40:50] local.INFO: IMEI packet received {"connection_id":46433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:40:50] local.INFO: IMEI acknowledgment sent {"connection_id":46433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:40:53] local.INFO: TCP Data received {"connection_id":46433,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:40:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46433,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:40:53] local.INFO: Processing buffer {"connection_id":46433,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:40:53] local.INFO: IMEI packet received {"connection_id":46433,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:40:53] local.INFO: IMEI acknowledgment sent {"connection_id":46433,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:40:54] local.INFO: TCP Data received {"connection_id":46433,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bfdcdb8012d7a5cc005e47088000501352d..."} 
[2026-04-17 20:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bfdcdb8012d7a5cc005e47088000501352d..."} 
[2026-04-17 20:40:54] local.INFO: Processing buffer {"connection_id":46433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bfdcdb8012d7a5cc005e47088000501352d..."} 
[2026-04-17 20:40:54] local.INFO: Packet analysis {"connection_id":46433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bfd"} 
[2026-04-17 20:40:54] local.INFO: Extracted packet for processing {"connection_id":46433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bfd"} 
[2026-04-17 20:40:54] local.INFO: GPS Element Parsed {"raw_longitude":762993856,"raw_latitude":98857096,"longitude_deg":76.2993856,"latitude_deg":9.8857096,"altitude":5,"angle":309,"satellites":45,"speed":23,"hex_longitude":"2d7a5cc0","hex_latitude":"05e47088","is_valid_coordinates":true} 
[2026-04-17 20:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:40:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768277248001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:40:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274250399337152512,"note":"Value kept but may cause issues"} 
[2026-04-17 20:40:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8825014601371039744,"note":"Value kept but may cause issues"} 
[2026-04-17 20:40:54] 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-04-17 20:40:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776438595000,"timestamp_ms":1776438595000,"timestamp_seconds":1776438595,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bfdcdb8"} 
[2026-04-17 20:40:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:40: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-04-17 20:40:54] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 20:40:54] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:40:54] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:40:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:40:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:40:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:40:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:40:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:40:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:40:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:40:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:40:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768277248001,"66":27300,"39":206,"87":13824,"24":23,"16":274250399337152512,"45":8825014601371039744},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-17 20:40:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:40:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:40:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768277248001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:40:54] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-17 20:40:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 20:40:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274250399337152512,"km_value":274250399337152.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:40:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8825014601371039744,"description":"Unknown IO ID 45"} 
[2026-04-17 20:40:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768277248001,"power":27300,"unknown_39":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8825014601371039744}} 
[2026-04-17 20:40:54] local.INFO: DEBUG: GPS processor result {"connection_id":46433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23017,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:40:54] local.INFO: GPS data processed {"connection_id":46433,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:40:54] local.INFO: Acknowledgment sent {"connection_id":46433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:41:25] local.INFO: TCP Data received {"connection_id":46433,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bfdf0e0012d7a4a8005e482c0000301402e..."} 
[2026-04-17 20:41:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46433,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bfdf0e0012d7a4a8005e482c0000301402e..."} 
[2026-04-17 20:41:25] local.INFO: Processing buffer {"connection_id":46433,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bfdf0e0012d7a4a8005e482c0000301402e..."} 
[2026-04-17 20:41:25] local.INFO: Packet analysis {"connection_id":46433,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bfd"} 
[2026-04-17 20:41:25] local.INFO: Extracted packet for processing {"connection_id":46433,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bfd"} 
[2026-04-17 20:41:25] local.INFO: GPS Element Parsed {"raw_longitude":762989184,"raw_latitude":98861760,"longitude_deg":76.2989184,"latitude_deg":9.886176,"altitude":3,"angle":320,"satellites":46,"speed":35,"hex_longitude":"2d7a4a80","hex_latitude":"05e482c0","is_valid_coordinates":true} 
[2026-04-17 20:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:41:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768280320001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:41:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274250717164732416,"note":"Value kept but may cause issues"} 
[2026-04-17 20:41:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8817133302024538112,"note":"Value kept but may cause issues"} 
[2026-04-17 20:41:25] 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-04-17 20:41:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776438604000,"timestamp_ms":1776438604000,"timestamp_seconds":1776438604,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bfdf0e0"} 
[2026-04-17 20:41:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:41:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:41:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 20:41:25] 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-04-17 20:41:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:41:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:41:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:41:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46433,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:41:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:41:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46433,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:41:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:41:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:41:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:41:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768280320001,"66":27484,"39":206,"87":13824,"24":35,"16":274250717164732416,"45":8817133302024538112},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-17 20:41:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:41:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:41:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768280320001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:41:25] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-17 20:41:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 20:41:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274250717164732416,"km_value":274250717164732.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:41:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8817133302024538112,"description":"Unknown IO ID 45"} 
[2026-04-17 20:41:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768280320001,"power":27484,"unknown_39":206,"unknown_87":13824,"ignition":35,"odometer":null,"unknown_45":8817133302024538112}} 
[2026-04-17 20:41:26] local.INFO: DEBUG: GPS processor result {"connection_id":46433,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23018,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:41:26] local.INFO: GPS data processed {"connection_id":46433,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:41:26] local.INFO: Acknowledgment sent {"connection_id":46433,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:42:24] local.INFO: TCP Data received {"connection_id":46087,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:42:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46087,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:42:24] local.INFO: Processing buffer {"connection_id":46087,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:42:24] local.INFO: IMEI packet received {"connection_id":46087,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:42:24] local.INFO: IMEI acknowledgment sent {"connection_id":46087,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:42:29] local.INFO: TCP Data received {"connection_id":46201,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:42:29] local.INFO: Processing buffer {"connection_id":46201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:42:29] local.INFO: IMEI packet received {"connection_id":46201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:42:29] local.INFO: IMEI acknowledgment sent {"connection_id":46201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:42:34] local.INFO: TCP Data received {"connection_id":46201,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:42:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46201,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:42:34] local.INFO: Processing buffer {"connection_id":46201,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:42:34] local.INFO: IMEI packet received {"connection_id":46201,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:42:34] local.INFO: IMEI acknowledgment sent {"connection_id":46201,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:42:43] local.INFO: TCP Data received {"connection_id":46088,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:42:43] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46088,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:42:43] local.INFO: Processing buffer {"connection_id":46088,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:42:43] local.INFO: IMEI packet received {"connection_id":46088,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:42:43] local.INFO: IMEI acknowledgment sent {"connection_id":46088,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:42:45] local.INFO: TCP Data received {"connection_id":46088,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bfec7b8012d1a3ac00720f548003f00202b..."} 
[2026-04-17 20:42:45] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46088,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bfec7b8012d1a3ac00720f548003f00202b..."} 
[2026-04-17 20:42:45] local.INFO: Processing buffer {"connection_id":46088,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bfec7b8012d1a3ac00720f548003f00202b..."} 
[2026-04-17 20:42:45] local.INFO: Packet analysis {"connection_id":46088,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bfe"} 
[2026-04-17 20:42:45] local.INFO: Extracted packet for processing {"connection_id":46088,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bfe"} 
[2026-04-17 20:42:45] local.INFO: GPS Element Parsed {"raw_longitude":756693696,"raw_latitude":119600456,"longitude_deg":75.6693696,"latitude_deg":11.9600456,"altitude":63,"angle":32,"satellites":43,"speed":0,"hex_longitude":"2d1a3ac0","hex_latitude":"0720f548","is_valid_coordinates":true} 
[2026-04-17 20:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:42:45] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768291328001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:42:45] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113538590046158848,"note":"Value kept but may cause issues"} 
[2026-04-17 20:42:45] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890034130485594112,"note":"Value kept but may cause issues"} 
[2026-04-17 20:42:45] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:42:45] local.INFO: AVL Record Parsed {"raw_timestamp":1776438659000,"timestamp_ms":1776438659000,"timestamp_seconds":1776438659,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bfec7b8"} 
[2026-04-17 20:42:45] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:42:45] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:42:45] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":9,"data_length":795,"current_offset":136} 
[2026-04-17 20:42:45] local.WARNING: Large IO value detected {"io_id":50,"raw_value":6125121886083927580,"note":"Value kept but may cause issues"} 
[2026-04-17 20:42:45] local.WARNING: Large IO value detected {"io_id":94,"raw_value":3204448256,"note":"Value kept but may cause issues"} 
[2026-04-17 20:42:45] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2617018752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:42:45] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 20:42:45] local.WARNING: Large IO value detected {"io_id":155,"raw_value":-272617305985631552,"note":"Value kept but may cause issues"} 
[2026-04-17 20:42:45] local.WARNING: Large IO value detected {"io_id":32,"raw_value":4115136575,"note":"Value kept but may cause issues"} 
[2026-04-17 20:42:45] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3878813902,"corrected_to":0} 
[2026-04-17 20:42:45] local.WARNING: Large IO value detected {"io_id":219,"raw_value":2281778458,"note":"Value kept but may cause issues"} 
[2026-04-17 20:42:45] local.WARNING: Large IO value detected {"io_id":58,"raw_value":3221692661,"note":"Value kept but may cause issues"} 
[2026-04-17 20:42:45] local.WARNING: Large IO value detected {"io_id":7,"raw_value":2374883544401977387,"note":"Value kept but may cause issues"} 
[2026-04-17 20:42:45] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-17 20:42:45] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,50,28,24,241,158,16,94,157,35,45,192,245,63,43,10,66,209,127,1,240,41,155,32,4,113,205,219,58,72,239,2,147,7,124,191],"length":535,"final_offset":665,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3878813902,"validated":0}]} 
[2026-04-17 20:42:45] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":4539663793445142528,"timestamp_seconds":4539663793445143.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 20:42:45] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:42:45] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:42:45] local.INFO: Teltonika packet parsed successfully {"connection_id":46088,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:42:45] local.INFO: Passing IMEI to GPS processor {"connection_id":46088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:42:45] local.INFO: DEBUG: About to call GPS processor {"connection_id":46088,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:42:45] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:42:45] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:42:45] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:42:45] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768291328001,"66":12798,"50":206,"28":31744,"24":0,"16":113538590046158848,"45":1890034130485594112},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-04-17 20:42:45] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:42:45] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:42:45] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768291328001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:42:45] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-17 20:42:45] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:42:45] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113538590046158848,"km_value":113538590046158.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:42:45] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890034130485594112,"description":"Unknown IO ID 45"} 
[2026-04-17 20:42:45] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768291328001,"power":12798,"unknown_50":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1890034130485594112}} 
[2026-04-17 20:42:45] local.INFO: DEBUG: GPS processor result {"connection_id":46088,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23019,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:42:45] local.INFO: GPS data processed {"connection_id":46088,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:42:45] local.INFO: Acknowledgment sent {"connection_id":46088,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:43:06] local.INFO: TCP Data received {"connection_id":46945,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:43:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:43:06] local.INFO: Processing buffer {"connection_id":46945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:43:06] local.INFO: IMEI packet received {"connection_id":46945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:43:06] local.INFO: IMEI acknowledgment sent {"connection_id":46945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:43:08] local.INFO: TCP Data received {"connection_id":46945,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:43:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46945,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:43:08] local.INFO: Processing buffer {"connection_id":46945,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:43:08] local.INFO: IMEI packet received {"connection_id":46945,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:43:08] local.INFO: IMEI acknowledgment sent {"connection_id":46945,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:43:09] local.INFO: TCP Data received {"connection_id":46944,"ip":"42.106.6.24","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:43:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46944,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:43:09] local.INFO: Processing buffer {"connection_id":46944,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:43:09] local.INFO: IMEI packet received {"connection_id":46944,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:43:09] local.INFO: IMEI acknowledgment sent {"connection_id":46944,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:43:21] local.INFO: TCP Data received {"connection_id":46946,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:43:21] local.INFO: Processing buffer {"connection_id":46946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:43:21] local.INFO: IMEI packet received {"connection_id":46946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":46946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:43:22] local.INFO: TCP Data received {"connection_id":46946,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:43:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:43:22] local.INFO: Processing buffer {"connection_id":46946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:43:22] local.INFO: IMEI packet received {"connection_id":46946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:43:22] local.INFO: IMEI acknowledgment sent {"connection_id":46946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:43:36] local.INFO: TCP Data received {"connection_id":46946,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:43:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46946,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:43:36] local.INFO: Processing buffer {"connection_id":46946,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:43:36] local.INFO: IMEI packet received {"connection_id":46946,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:43:36] local.INFO: IMEI acknowledgment sent {"connection_id":46946,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:43:41] local.INFO: TCP Data received {"connection_id":46946,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bff19c0012d1a3ac00720f548003f002028..."} 
[2026-04-17 20:43:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bff19c0012d1a3ac00720f548003f002028..."} 
[2026-04-17 20:43:41] local.INFO: Processing buffer {"connection_id":46946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bff19c0012d1a3ac00720f548003f002028..."} 
[2026-04-17 20:43:41] local.INFO: Packet analysis {"connection_id":46946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bff"} 
[2026-04-17 20:43:41] local.INFO: Extracted packet for processing {"connection_id":46946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bff"} 
[2026-04-17 20:43:41] local.INFO: GPS Element Parsed {"raw_longitude":756693696,"raw_latitude":119600456,"longitude_deg":75.6693696,"latitude_deg":11.9600456,"altitude":63,"angle":32,"satellites":40,"speed":0,"hex_longitude":"2d1a3ac0","hex_latitude":"0720f548","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:43:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768296704001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:43:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113538590046158848,"note":"Value kept but may cause issues"} 
[2026-04-17 20:43:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890034130485594112,"note":"Value kept but may cause issues"} 
[2026-04-17 20:43: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-04-17 20:43:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776438680000,"timestamp_ms":1776438680000,"timestamp_seconds":1776438680,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bff19c0"} 
[2026-04-17 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-04-17 20:43: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-04-17 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":49,"n8_eight_byte":254,"data_length":795,"current_offset":136} 
[2026-04-17 20:43:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2729,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 20:43:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:43:41] local.INFO: Teltonika packet parsed successfully {"connection_id":46946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:43:41] local.INFO: Passing IMEI to GPS processor {"connection_id":46946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:43:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":46946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:43:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:43:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:43:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:43:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768296704001,"66":12287,"121":206,"28":31744,"24":0,"16":113538590046158848,"45":1890034130485594112},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:43:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:43:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:43:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768296704001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:43:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:43:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:43:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113538590046158848,"km_value":113538590046158.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:43:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890034130485594112,"description":"Unknown IO ID 45"} 
[2026-04-17 20:43:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768296704001,"power":12287,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1890034130485594112}} 
[2026-04-17 20:43:41] local.INFO: DEBUG: GPS processor result {"connection_id":46946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23020,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:43:41] local.INFO: GPS data processed {"connection_id":46946,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:43:41] local.INFO: Acknowledgment sent {"connection_id":46946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:44:06] local.INFO: TCP Data received {"connection_id":46946,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9bff6bc8012d1a3ac00720f548003f002029..."} 
[2026-04-17 20:44:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46946,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9bff6bc8012d1a3ac00720f548003f002029..."} 
[2026-04-17 20:44:06] local.INFO: Processing buffer {"connection_id":46946,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9bff6bc8012d1a3ac00720f548003f002029..."} 
[2026-04-17 20:44:06] local.INFO: Packet analysis {"connection_id":46946,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9bff"} 
[2026-04-17 20:44:06] local.INFO: Extracted packet for processing {"connection_id":46946,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9bff"} 
[2026-04-17 20:44:06] local.INFO: GPS Element Parsed {"raw_longitude":756693696,"raw_latitude":119600456,"longitude_deg":75.6693696,"latitude_deg":11.9600456,"altitude":63,"angle":32,"satellites":41,"speed":0,"hex_longitude":"2d1a3ac0","hex_latitude":"0720f548","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:44:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768302080001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:44:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113538590046158848,"note":"Value kept but may cause issues"} 
[2026-04-17 20:44:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1890034130485594112,"note":"Value kept but may cause issues"} 
[2026-04-17 20:44:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,130,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:44:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776438701000,"timestamp_ms":1776438701000,"timestamp_seconds":1776438701,"priority":1,"record_length":96,"hex_timestamp":"0000019d9bff6bc8"} 
[2026-04-17 20:44:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:44: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-04-17 20: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":47,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 20:44:06] 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-04-17 20: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-04-17 20:44:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:44:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:44:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46946,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:44:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:44:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46946,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:44:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:44:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:44:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:44:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768302080001,"66":12667,"130":206,"28":31744,"24":0,"16":113538590046158848,"45":1890034130485594112},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,130,28,24,16,45]} 
[2026-04-17 20:44:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:44:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:44:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768302080001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:44:06] local.INFO: Unknown IO ID detected {"io_id":130,"value":206,"description":"Unknown IO ID 130"} 
[2026-04-17 20:44:06] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:44:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113538590046158848,"km_value":113538590046158.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:44:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":1890034130485594112,"description":"Unknown IO ID 45"} 
[2026-04-17 20:44:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768302080001,"power":12667,"unknown_130":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1890034130485594112}} 
[2026-04-17 20:44:06] local.INFO: DEBUG: GPS processor result {"connection_id":46946,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23021,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:44:06] local.INFO: GPS data processed {"connection_id":46946,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:44:06] local.INFO: Acknowledgment sent {"connection_id":46946,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:44:21] local.INFO: TCP Data received {"connection_id":46202,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:44:21] local.INFO: Processing buffer {"connection_id":46202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:44:21] local.INFO: IMEI packet received {"connection_id":46202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":46202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:44:26] local.INFO: TCP Data received {"connection_id":46202,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46202,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:44:26] local.INFO: Processing buffer {"connection_id":46202,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:44:26] local.INFO: IMEI packet received {"connection_id":46202,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":46202,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:44:28] local.INFO: TCP Data received {"connection_id":46202,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c00e2c8012d1a22c00720d1b8003a00f32e..."} 
[2026-04-17 20:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c00e2c8012d1a22c00720d1b8003a00f32e..."} 
[2026-04-17 20:44:28] local.INFO: Processing buffer {"connection_id":46202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c00e2c8012d1a22c00720d1b8003a00f32e..."} 
[2026-04-17 20:44:28] local.INFO: Packet analysis {"connection_id":46202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c00"} 
[2026-04-17 20:44:28] local.INFO: Extracted packet for processing {"connection_id":46202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c00"} 
[2026-04-17 20:44:28] local.INFO: GPS Element Parsed {"raw_longitude":756687552,"raw_latitude":119591352,"longitude_deg":75.6687552,"latitude_deg":11.9591352,"altitude":58,"angle":243,"satellites":46,"speed":23,"hex_longitude":"2d1a22c0","hex_latitude":"0720d1b8","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768331008001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113539251471122432,"note":"Value kept but may cause issues"} 
[2026-04-17 20:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1885600899600404480,"note":"Value kept but may cause issues"} 
[2026-04-17 20:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,50,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776438797000,"timestamp_ms":1776438797000,"timestamp_seconds":1776438797,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c00e2c8"} 
[2026-04-17 20:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":53,"n8_eight_byte":88,"data_length":795,"current_offset":136} 
[2026-04-17 20:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1255,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768331008001,"66":13515,"50":206,"28":31744,"24":23,"16":113539251471122432,"45":1885600899600404480},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,50,28,24,16,45]} 
[2026-04-17 20:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768331008001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:44:28] local.INFO: Unknown IO ID detected {"io_id":50,"value":206,"description":"Unknown IO ID 50"} 
[2026-04-17 20:44:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113539251471122432,"km_value":113539251471122.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1885600899600404480,"description":"Unknown IO ID 45"} 
[2026-04-17 20:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768331008001,"power":13515,"unknown_50":206,"unknown_28":31744,"ignition":23,"odometer":null,"unknown_45":1885600899600404480}} 
[2026-04-17 20:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":46202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23022,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:44:28] local.INFO: GPS data processed {"connection_id":46202,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:44:28] local.INFO: Acknowledgment sent {"connection_id":46202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:45:00] local.INFO: TCP Data received {"connection_id":46202,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c01cd28012d19bd000720a5b0003401042d..."} 
[2026-04-17 20:45:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c01cd28012d19bd000720a5b0003401042d..."} 
[2026-04-17 20:45:00] local.INFO: Processing buffer {"connection_id":46202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c01cd28012d19bd000720a5b0003401042d..."} 
[2026-04-17 20:45:00] local.INFO: Packet analysis {"connection_id":46202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c01"} 
[2026-04-17 20:45:00] local.INFO: Extracted packet for processing {"connection_id":46202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c01"} 
[2026-04-17 20:45:00] local.INFO: GPS Element Parsed {"raw_longitude":756661504,"raw_latitude":119580080,"longitude_deg":75.6661504,"latitude_deg":11.958008,"altitude":52,"angle":260,"satellites":45,"speed":14,"hex_longitude":"2d19bd00","hex_latitude":"0720a5b0","is_valid_coordinates":true} 
[2026-04-17 20:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:45:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768346368001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:45:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113540668810330112,"note":"Value kept but may cause issues"} 
[2026-04-17 20:45:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1856749714484271104,"note":"Value kept but may cause issues"} 
[2026-04-17 20: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-04-17 20:45:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776438857000,"timestamp_ms":1776438857000,"timestamp_seconds":1776438857,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c01cd28"} 
[2026-04-17 20:45:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:45: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-04-17 20:45:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":116,"data_length":795,"current_offset":136} 
[2026-04-17 20:45:00] 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-04-17 20:45:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:45:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:45:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:45:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:45:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:45:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46202,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:45:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:45:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:45:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:45:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768346368001,"66":13352,"121":206,"28":31744,"24":14,"16":113540668810330112,"45":1856749714484271104},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:45:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:45:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:45:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768346368001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:45:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:45:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:45:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113540668810330112,"km_value":113540668810330.11,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:45:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1856749714484271104,"description":"Unknown IO ID 45"} 
[2026-04-17 20:45:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768346368001,"power":13352,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1856749714484271104}} 
[2026-04-17 20:45:00] local.INFO: DEBUG: GPS processor result {"connection_id":46202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23023,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:45:00] local.INFO: GPS data processed {"connection_id":46202,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:45:00] local.INFO: Acknowledgment sent {"connection_id":46202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:45:20] local.INFO: TCP Data received {"connection_id":46436,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:45:20] local.INFO: Processing buffer {"connection_id":46436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:45:20] local.INFO: IMEI packet received {"connection_id":46436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":46436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:45:21] local.INFO: TCP Data received {"connection_id":46436,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:45:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:45:21] local.INFO: Processing buffer {"connection_id":46436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:45:21] local.INFO: IMEI packet received {"connection_id":46436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:45:21] local.INFO: IMEI acknowledgment sent {"connection_id":46436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:45:26] local.INFO: TCP Data received {"connection_id":46436,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46436,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:45:26] local.INFO: Processing buffer {"connection_id":46436,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:45:26] local.INFO: IMEI packet received {"connection_id":46436,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":46436,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:45:28] local.INFO: TCP Data received {"connection_id":46436,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c01d110012d19bc000720a520003400ee2d..."} 
[2026-04-17 20:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c01d110012d19bc000720a520003400ee2d..."} 
[2026-04-17 20:45:28] local.INFO: Processing buffer {"connection_id":46436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c01d110012d19bc000720a520003400ee2d..."} 
[2026-04-17 20:45:28] local.INFO: Packet analysis {"connection_id":46436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c01"} 
[2026-04-17 20:45:28] local.INFO: Extracted packet for processing {"connection_id":46436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c01"} 
[2026-04-17 20:45:28] local.INFO: GPS Element Parsed {"raw_longitude":756661248,"raw_latitude":119579936,"longitude_deg":75.6661248,"latitude_deg":11.9579936,"altitude":52,"angle":238,"satellites":45,"speed":14,"hex_longitude":"2d19bc00","hex_latitude":"0720a520","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768347392001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113540685990199296,"note":"Value kept but may cause issues"} 
[2026-04-17 20:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854638652159012864,"note":"Value kept but may cause issues"} 
[2026-04-17 20: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-04-17 20:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776438858000,"timestamp_ms":1776438858000,"timestamp_seconds":1776438858,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c01d110"} 
[2026-04-17 20:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:45: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-04-17 20: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":52,"n8_eight_byte":40,"data_length":795,"current_offset":136} 
[2026-04-17 20:45:28] 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-04-17 20: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-04-17 20:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768347392001,"66":13504,"121":206,"28":31744,"24":14,"16":113540685990199296,"45":1854638652159012864},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768347392001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:45:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:45:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113540685990199296,"km_value":113540685990199.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854638652159012864,"description":"Unknown IO ID 45"} 
[2026-04-17 20:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768347392001,"power":13504,"unknown_121":206,"unknown_28":31744,"ignition":14,"odometer":null,"unknown_45":1854638652159012864}} 
[2026-04-17 20:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":46436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23024,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:45:28] local.INFO: GPS data processed {"connection_id":46436,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:45:28] local.INFO: Acknowledgment sent {"connection_id":46436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:45:59] local.INFO: TCP Data received {"connection_id":46436,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c01d4f8012d19bac00720a3f0003400de2c..."} 
[2026-04-17 20:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46436,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c01d4f8012d19bac00720a3f0003400de2c..."} 
[2026-04-17 20:45:59] local.INFO: Processing buffer {"connection_id":46436,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c01d4f8012d19bac00720a3f0003400de2c..."} 
[2026-04-17 20:45:59] local.INFO: Packet analysis {"connection_id":46436,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c01"} 
[2026-04-17 20:45:59] local.INFO: Extracted packet for processing {"connection_id":46436,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c01"} 
[2026-04-17 20:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119579632,"longitude_deg":75.6660928,"latitude_deg":11.9579632,"altitude":52,"angle":222,"satellites":44,"speed":18,"hex_longitude":"2d19bac0","hex_latitude":"0720a3f0","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768347648001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113540703170068480,"note":"Value kept but may cause issues"} 
[2026-04-17 20:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854357177182265344,"note":"Value kept but may cause issues"} 
[2026-04-17 20:45: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-04-17 20:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776438859000,"timestamp_ms":1776438859000,"timestamp_seconds":1776438859,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c01d4f8"} 
[2026-04-17 20:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:45: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-04-17 20:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-04-17 20:45:59] 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-04-17 20: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-04-17 20:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46436,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46436,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768347648001,"66":13504,"121":206,"28":31744,"24":18,"16":113540703170068480,"45":1854357177182265344},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768347648001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:45:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:45:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113540703170068480,"km_value":113540703170068.48,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854357177182265344,"description":"Unknown IO ID 45"} 
[2026-04-17 20:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768347648001,"power":13504,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1854357177182265344}} 
[2026-04-17 20:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":46436,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23025,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:45:59] local.INFO: GPS data processed {"connection_id":46436,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:45:59] local.INFO: Acknowledgment sent {"connection_id":46436,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:46:21] local.INFO: TCP Data received {"connection_id":46092,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:46:21] local.INFO: Processing buffer {"connection_id":46092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:46:21] local.INFO: IMEI packet received {"connection_id":46092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":46092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:46:26] local.INFO: TCP Data received {"connection_id":46092,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46092,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:46:26] local.INFO: Processing buffer {"connection_id":46092,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:46:26] local.INFO: IMEI packet received {"connection_id":46092,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":46092,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:46:28] local.INFO: TCP Data received {"connection_id":46092,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c01f050012d19af00072093e0003300cd2b..."} 
[2026-04-17 20:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c01f050012d19af00072093e0003300cd2b..."} 
[2026-04-17 20:46:28] local.INFO: Processing buffer {"connection_id":46092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c01f050012d19af00072093e0003300cd2b..."} 
[2026-04-17 20:46:28] local.INFO: Packet analysis {"connection_id":46092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c01"} 
[2026-04-17 20:46:28] local.INFO: Extracted packet for processing {"connection_id":46092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c01"} 
[2026-04-17 20:46:28] local.INFO: GPS Element Parsed {"raw_longitude":756657920,"raw_latitude":119575520,"longitude_deg":75.665792,"latitude_deg":11.957552,"altitude":51,"angle":205,"satellites":43,"speed":29,"hex_longitude":"2d19af00","hex_latitude":"072093e0","is_valid_coordinates":true} 
[2026-04-17 20:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:46:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768347904001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:46:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113540947983204352,"note":"Value kept but may cause issues"} 
[2026-04-17 20:46:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333461299200,"note":"Value kept but may cause issues"} 
[2026-04-17 20:46: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-04-17 20:46:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776438866000,"timestamp_ms":1776438866000,"timestamp_seconds":1776438866,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c01f050"} 
[2026-04-17 20:46:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:46: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-04-17 20:46:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":192,"data_length":795,"current_offset":136} 
[2026-04-17 20:46:28] 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-04-17 20:46:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:46:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:46:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:46:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:46:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:46:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:46:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:46:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:46:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:46:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768347904001,"66":13493,"121":206,"28":31744,"24":29,"16":113540947983204352,"45":1854005333461299200},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:46:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:46:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:46:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768347904001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:46:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:46:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:46:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113540947983204352,"km_value":113540947983204.36,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:46:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333461299200,"description":"Unknown IO ID 45"} 
[2026-04-17 20:46:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768347904001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":29,"odometer":null,"unknown_45":1854005333461299200}} 
[2026-04-17 20:46:28] local.INFO: DEBUG: GPS processor result {"connection_id":46092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23026,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:46:28] local.INFO: GPS data processed {"connection_id":46092,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:46:28] local.INFO: Acknowledgment sent {"connection_id":46092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:47:00] local.INFO: TCP Data received {"connection_id":46092,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c01f438012d19ae4007209108003300c02a..."} 
[2026-04-17 20:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46092,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c01f438012d19ae4007209108003300c02a..."} 
[2026-04-17 20:47:00] local.INFO: Processing buffer {"connection_id":46092,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c01f438012d19ae4007209108003300c02a..."} 
[2026-04-17 20:47:00] local.INFO: Packet analysis {"connection_id":46092,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c01"} 
[2026-04-17 20:47:00] local.INFO: Extracted packet for processing {"connection_id":46092,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c01"} 
[2026-04-17 20:47:00] local.INFO: GPS Element Parsed {"raw_longitude":756657728,"raw_latitude":119574792,"longitude_deg":75.6657728,"latitude_deg":11.9574792,"altitude":51,"angle":192,"satellites":42,"speed":30,"hex_longitude":"2d19ae40","hex_latitude":"07209108","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:47:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768349696001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:47:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113540986637910016,"note":"Value kept but may cause issues"} 
[2026-04-17 20:47:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850698002483896320,"note":"Value kept but may cause issues"} 
[2026-04-17 20:47: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-04-17 20:47:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776438867000,"timestamp_ms":1776438867000,"timestamp_seconds":1776438867,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c01f438"} 
[2026-04-17 20:47:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:47: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-04-17 20: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-17 20:47:00] 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-04-17 20: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-04-17 20:47:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:47:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:47:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46092,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:47:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:47:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46092,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:47:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:47:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:47:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:47:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768349696001,"66":13493,"121":206,"28":31744,"24":30,"16":113540986637910016,"45":1850698002483896320},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:47:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:47:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:47:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768349696001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:47:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:47:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:47:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113540986637910016,"km_value":113540986637910.02,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:47:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850698002483896320,"description":"Unknown IO ID 45"} 
[2026-04-17 20:47:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768349696001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":30,"odometer":null,"unknown_45":1850698002483896320}} 
[2026-04-17 20:47:00] local.INFO: DEBUG: GPS processor result {"connection_id":46092,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23027,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:47:00] local.INFO: GPS data processed {"connection_id":46092,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:47:00] local.INFO: Acknowledgment sent {"connection_id":46092,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:47:26] local.INFO: TCP Data received {"connection_id":46093,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:47:26] local.INFO: Processing buffer {"connection_id":46093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:47:26] local.INFO: IMEI packet received {"connection_id":46093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":46093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:47:31] local.INFO: TCP Data received {"connection_id":46093,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:47:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46093,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:47:31] local.INFO: Processing buffer {"connection_id":46093,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:47:31] local.INFO: IMEI packet received {"connection_id":46093,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:47:31] local.INFO: IMEI acknowledgment sent {"connection_id":46093,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:47:33] local.INFO: TCP Data received {"connection_id":46093,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c01f820012d19ae0007208dd8003200b12c..."} 
[2026-04-17 20:47:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c01f820012d19ae0007208dd8003200b12c..."} 
[2026-04-17 20:47:33] local.INFO: Processing buffer {"connection_id":46093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c01f820012d19ae0007208dd8003200b12c..."} 
[2026-04-17 20:47:33] local.INFO: Packet analysis {"connection_id":46093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c01"} 
[2026-04-17 20:47:33] local.INFO: Extracted packet for processing {"connection_id":46093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c01"} 
[2026-04-17 20:47:33] local.INFO: GPS Element Parsed {"raw_longitude":756657664,"raw_latitude":119573976,"longitude_deg":75.6657664,"latitude_deg":11.9573976,"altitude":50,"angle":177,"satellites":44,"speed":32,"hex_longitude":"2d19ae00","hex_latitude":"07208dd8","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:47:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768349952001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:47:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113541025292615680,"note":"Value kept but may cause issues"} 
[2026-04-17 20:47:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850486896251176960,"note":"Value kept but may cause issues"} 
[2026-04-17 20:47: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-04-17 20:47:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776438868000,"timestamp_ms":1776438868000,"timestamp_seconds":1776438868,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c01f820"} 
[2026-04-17 20:47:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:47: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-04-17 20: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":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-17 20:47:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2087,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:47:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:47:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:47:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:47:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:47:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:47:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:47:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:47:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:47:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768349952001,"66":13472,"121":206,"28":31744,"24":32,"16":113541025292615680,"45":1850486896251176960},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:47:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:47:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:47:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768349952001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:47:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:47:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:47:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113541025292615680,"km_value":113541025292615.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:47:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850486896251176960,"description":"Unknown IO ID 45"} 
[2026-04-17 20:47:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768349952001,"power":13472,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1850486896251176960}} 
[2026-04-17 20:47:33] local.INFO: DEBUG: GPS processor result {"connection_id":46093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23028,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:47:33] local.INFO: GPS data processed {"connection_id":46093,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:47:33] local.INFO: Acknowledgment sent {"connection_id":46093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:47:34] local.INFO: TCP Data received {"connection_id":46093,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0207c0012d19b08007207eb8002f00a52a..."} 
[2026-04-17 20:47:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0207c0012d19b08007207eb8002f00a52a..."} 
[2026-04-17 20:47:34] local.INFO: Processing buffer {"connection_id":46093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0207c0012d19b08007207eb8002f00a52a..."} 
[2026-04-17 20:47:34] local.INFO: Packet analysis {"connection_id":46093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c02"} 
[2026-04-17 20:47:34] local.INFO: Extracted packet for processing {"connection_id":46093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c02"} 
[2026-04-17 20:47:34] local.INFO: GPS Element Parsed {"raw_longitude":756658304,"raw_latitude":119570104,"longitude_deg":75.6658304,"latitude_deg":11.9570104,"altitude":47,"angle":165,"satellites":42,"speed":41,"hex_longitude":"2d19b080","hex_latitude":"07207eb8","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:47:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768350208001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:47:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113541218566144000,"note":"Value kept but may cause issues"} 
[2026-04-17 20:47:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1850416527506790400,"note":"Value kept but may cause issues"} 
[2026-04-17 20:47: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-04-17 20:47:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776438872000,"timestamp_ms":1776438872000,"timestamp_seconds":1776438872,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0207c0"} 
[2026-04-17 20:47:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:47: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-04-17 20: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":52,"n8_eight_byte":160,"data_length":795,"current_offset":136} 
[2026-04-17 20:47: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-04-17 20: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-04-17 20:47:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:47:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:47:34] local.INFO: Teltonika packet parsed successfully {"connection_id":46093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:47:34] local.INFO: Passing IMEI to GPS processor {"connection_id":46093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:47:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":46093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:47:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:47:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:47:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:47:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768350208001,"66":13243,"121":206,"28":31744,"24":41,"16":113541218566144000,"45":1850416527506790400},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:47:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:47:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:47:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768350208001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:47:34] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:47:34] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:47:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113541218566144000,"km_value":113541218566144,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:47:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":1850416527506790400,"description":"Unknown IO ID 45"} 
[2026-04-17 20:47:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768350208001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":41,"odometer":null,"unknown_45":1850416527506790400}} 
[2026-04-17 20:47:34] local.INFO: DEBUG: GPS processor result {"connection_id":46093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23029,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:47:34] local.INFO: GPS data processed {"connection_id":46093,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:47:34] local.INFO: Acknowledgment sent {"connection_id":46093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:48:05] local.INFO: TCP Data received {"connection_id":46093,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c022ed0012d19bac007205ba8002a00ae29..."} 
[2026-04-17 20:48:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46093,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c022ed0012d19bac007205ba8002a00ae29..."} 
[2026-04-17 20:48:05] local.INFO: Processing buffer {"connection_id":46093,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c022ed0012d19bac007205ba8002a00ae29..."} 
[2026-04-17 20:48:05] local.INFO: Packet analysis {"connection_id":46093,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c02"} 
[2026-04-17 20:48:05] local.INFO: Extracted packet for processing {"connection_id":46093,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c02"} 
[2026-04-17 20:48:05] local.INFO: GPS Element Parsed {"raw_longitude":756660928,"raw_latitude":119561128,"longitude_deg":75.6660928,"latitude_deg":11.9561128,"altitude":42,"angle":174,"satellites":41,"speed":32,"hex_longitude":"2d19bac0","hex_latitude":"07205ba8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:48:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768351232001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:48:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113541669537710080,"note":"Value kept but may cause issues"} 
[2026-04-17 20:48:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1851120214947575808,"note":"Value kept but may cause issues"} 
[2026-04-17 20:48: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-04-17 20:48:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776438882000,"timestamp_ms":1776438882000,"timestamp_seconds":1776438882,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c022ed0"} 
[2026-04-17 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-04-17 20:48: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-04-17 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-17 20:48: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-04-17 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-04-17 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-04-17 20:48:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:48:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46093,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:48:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:48:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46093,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:48:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:48:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:48:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:48:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768351232001,"66":12743,"121":206,"28":31744,"24":32,"16":113541669537710080,"45":1851120214947575808},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:48:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:48:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:48:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768351232001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:48:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:48:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:48:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113541669537710080,"km_value":113541669537710.08,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:48:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1851120214947575808,"description":"Unknown IO ID 45"} 
[2026-04-17 20:48:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768351232001,"power":12743,"unknown_121":206,"unknown_28":31744,"ignition":32,"odometer":null,"unknown_45":1851120214947575808}} 
[2026-04-17 20:48:05] local.INFO: DEBUG: GPS processor result {"connection_id":46093,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23030,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:48:05] local.INFO: GPS data processed {"connection_id":46093,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:48:05] local.INFO: Acknowledgment sent {"connection_id":46093,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:48:10] local.INFO: TCP Data received {"connection_id":46437,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:48:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46437,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:48:10] local.INFO: Processing buffer {"connection_id":46437,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:48:10] local.INFO: IMEI packet received {"connection_id":46437,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:48:10] local.INFO: IMEI acknowledgment sent {"connection_id":46437,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:48:11] local.INFO: TCP Data received {"connection_id":46437,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c03d0c8012d792c8005e89480000001212a..."} 
[2026-04-17 20:48:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46437,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c03d0c8012d792c8005e89480000001212a..."} 
[2026-04-17 20:48:11] local.INFO: Processing buffer {"connection_id":46437,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c03d0c8012d792c8005e89480000001212a..."} 
[2026-04-17 20:48:11] local.INFO: Packet analysis {"connection_id":46437,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c03"} 
[2026-04-17 20:48:11] local.INFO: Extracted packet for processing {"connection_id":46437,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c03"} 
[2026-04-17 20:48:11] local.INFO: GPS Element Parsed {"raw_longitude":762915968,"raw_latitude":99128448,"longitude_deg":76.2915968,"latitude_deg":9.9128448,"altitude":0,"angle":289,"satellites":42,"speed":30,"hex_longitude":"2d792c80","hex_latitude":"05e89480","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:48:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768380160001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:48:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274264903441711104,"note":"Value kept but may cause issues"} 
[2026-04-17 20:48:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8734661133917636608,"note":"Value kept but may cause issues"} 
[2026-04-17 20:48:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:48:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776438989000,"timestamp_ms":1776438989000,"timestamp_seconds":1776438989,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c03d0c8"} 
[2026-04-17 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-04-17 20:48: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-04-17 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 20:48:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 20:48:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:48:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46437,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:48:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:48:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46437,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:48:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:48:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:48:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:48:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768380160001,"66":27376,"173":206,"87":13824,"24":30,"16":274264903441711104,"45":8734661133917636608},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-04-17 20:48:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:48:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:48:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768380160001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:48:11] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-04-17 20:48:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 20:48:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274264903441711104,"km_value":274264903441711.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:48:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8734661133917636608,"description":"Unknown IO ID 45"} 
[2026-04-17 20:48:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768380160001,"power":27376,"unknown_173":206,"unknown_87":13824,"ignition":30,"odometer":null,"unknown_45":8734661133917636608}} 
[2026-04-17 20:48:11] local.INFO: DEBUG: GPS processor result {"connection_id":46437,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23031,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:48:11] local.INFO: GPS data processed {"connection_id":46437,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:48:11] local.INFO: Acknowledgment sent {"connection_id":46437,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:48:21] local.INFO: TCP Data received {"connection_id":46094,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:48:21] local.INFO: Processing buffer {"connection_id":46094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:48:21] local.INFO: IMEI packet received {"connection_id":46094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":46094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:48:26] local.INFO: TCP Data received {"connection_id":46094,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46094,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:48:26] local.INFO: Processing buffer {"connection_id":46094,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:48:26] local.INFO: IMEI packet received {"connection_id":46094,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":46094,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:48:27] local.INFO: TCP Data received {"connection_id":46094,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c025db0012d19bf4007203770002d009f2a..."} 
[2026-04-17 20:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c025db0012d19bf4007203770002d009f2a..."} 
[2026-04-17 20:48:27] local.INFO: Processing buffer {"connection_id":46094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c025db0012d19bf4007203770002d009f2a..."} 
[2026-04-17 20:48:27] local.INFO: Packet analysis {"connection_id":46094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c02"} 
[2026-04-17 20:48:27] local.INFO: Extracted packet for processing {"connection_id":46094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c02"} 
[2026-04-17 20:48:27] local.INFO: GPS Element Parsed {"raw_longitude":756662080,"raw_latitude":119551856,"longitude_deg":75.666208,"latitude_deg":11.9551856,"altitude":45,"angle":159,"satellites":42,"speed":26,"hex_longitude":"2d19bf40","hex_latitude":"07203770","is_valid_coordinates":true} 
[2026-04-17 20:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768353792001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542124804243456,"note":"Value kept but may cause issues"} 
[2026-04-17 20:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1854005333456562176,"note":"Value kept but may cause issues"} 
[2026-04-17 20:48: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-04-17 20:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776438894000,"timestamp_ms":1776438894000,"timestamp_seconds":1776438894,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c025db0"} 
[2026-04-17 20:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21504,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-17 20:48:27] 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-04-17 20:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768353792001,"66":12972,"121":206,"28":31744,"24":26,"16":113542124804243456,"45":1854005333456562176},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768353792001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:48:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:48:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542124804243456,"km_value":113542124804243.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1854005333456562176,"description":"Unknown IO ID 45"} 
[2026-04-17 20:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768353792001,"power":12972,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1854005333456562176}} 
[2026-04-17 20:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":46094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23032,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:48:27] local.INFO: GPS data processed {"connection_id":46094,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:48:27] local.INFO: Acknowledgment sent {"connection_id":46094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:48:39] local.INFO: TCP Data received {"connection_id":46948,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:48:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46948,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:48:39] local.INFO: Processing buffer {"connection_id":46948,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:48:39] local.INFO: IMEI packet received {"connection_id":46948,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:48:39] local.INFO: IMEI acknowledgment sent {"connection_id":46948,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:48:49] local.INFO: TCP Data received {"connection_id":46438,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:48:49] local.INFO: Processing buffer {"connection_id":46438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:48:49] local.INFO: IMEI packet received {"connection_id":46438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":46438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:48:54] local.INFO: TCP Data received {"connection_id":46438,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:48:54] local.INFO: Processing buffer {"connection_id":46438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:48:54] local.INFO: IMEI packet received {"connection_id":46438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":46438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:48:54] local.INFO: TCP Data received {"connection_id":46438,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:48:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46438,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:48:54] local.INFO: Processing buffer {"connection_id":46438,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:48:54] local.INFO: IMEI packet received {"connection_id":46438,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:48:54] local.INFO: IMEI acknowledgment sent {"connection_id":46438,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:48:55] local.INFO: TCP Data received {"connection_id":46438,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c03e068012d7921c005e899700000012e2b..."} 
[2026-04-17 20:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c03e068012d7921c005e899700000012e2b..."} 
[2026-04-17 20:48:55] local.INFO: Processing buffer {"connection_id":46438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c03e068012d7921c005e899700000012e2b..."} 
[2026-04-17 20:48:55] local.INFO: Packet analysis {"connection_id":46438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c03"} 
[2026-04-17 20:48:55] local.INFO: Extracted packet for processing {"connection_id":46438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c03"} 
[2026-04-17 20:48:55] local.INFO: GPS Element Parsed {"raw_longitude":762913216,"raw_latitude":99129712,"longitude_deg":76.2913216,"latitude_deg":9.9129712,"altitude":0,"angle":302,"satellites":43,"speed":31,"hex_longitude":"2d7921c0","hex_latitude":"05e89970","is_valid_coordinates":true} 
[2026-04-17 20:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:48:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768381184001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:48:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274265049470599168,"note":"Value kept but may cause issues"} 
[2026-04-17 20:48:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8731494540429787136,"note":"Value kept but may cause issues"} 
[2026-04-17 20:48:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:48:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776438993000,"timestamp_ms":1776438993000,"timestamp_seconds":1776438993,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c03e068"} 
[2026-04-17 20:48:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:48: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-04-17 20:48:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 20:48:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:48:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:48:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:48:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:48:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:48:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:48:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:48:55] 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-04-17 20:48:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:48:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:48:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768381184001,"66":27484,"173":206,"87":13824,"24":31,"16":274265049470599168,"45":8731494540429787136},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-04-17 20:48:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:48:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:48:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768381184001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:48:55] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-04-17 20:48:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 20:48:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274265049470599168,"km_value":274265049470599.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:48:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8731494540429787136,"description":"Unknown IO ID 45"} 
[2026-04-17 20:48:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768381184001,"power":27484,"unknown_173":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8731494540429787136}} 
[2026-04-17 20:48:55] local.INFO: DEBUG: GPS processor result {"connection_id":46438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23033,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:48:55] local.INFO: GPS data processed {"connection_id":46438,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:48:55] local.INFO: Acknowledgment sent {"connection_id":46438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:48:59] local.INFO: TCP Data received {"connection_id":46094,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c025db0012d19bf4007203770002d009f2a..."} 
[2026-04-17 20:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46094,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c025db0012d19bf4007203770002d009f2a..."} 
[2026-04-17 20:48:59] local.INFO: Processing buffer {"connection_id":46094,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c025db0012d19bf4007203770002d009f2a..."} 
[2026-04-17 20:48:59] local.INFO: Packet analysis {"connection_id":46094,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c02"} 
[2026-04-17 20:48:59] local.INFO: Extracted packet for processing {"connection_id":46094,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c02"} 
[2026-04-17 20:48:59] local.INFO: GPS Element Parsed {"raw_longitude":756662080,"raw_latitude":119551856,"longitude_deg":75.666208,"latitude_deg":11.9551856,"altitude":45,"angle":159,"satellites":42,"speed":26,"hex_longitude":"2d19bf40","hex_latitude":"07203770","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768356864001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542124804243456,"note":"Value kept but may cause issues"} 
[2026-04-17 20:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855271970849386496,"note":"Value kept but may cause issues"} 
[2026-04-17 20:48: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-04-17 20:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776438894000,"timestamp_ms":1776438894000,"timestamp_seconds":1776438894,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c025db0"} 
[2026-04-17 20:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:48: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-04-17 20: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":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-17 20:48:59] 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-04-17 20: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-04-17 20:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46094,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46094,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768356864001,"66":12972,"121":206,"28":31744,"24":26,"16":113542124804243456,"45":1855271970849386496},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768356864001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:48:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:48:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542124804243456,"km_value":113542124804243.45,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855271970849386496,"description":"Unknown IO ID 45"} 
[2026-04-17 20:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768356864001,"power":12972,"unknown_121":206,"unknown_28":31744,"ignition":26,"odometer":null,"unknown_45":1855271970849386496}} 
[2026-04-17 20:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":46094,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23034,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:48:59] local.INFO: GPS data processed {"connection_id":46094,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:48:59] local.INFO: Acknowledgment sent {"connection_id":46094,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:49:00] local.INFO: TCP Data received {"connection_id":46438,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c03f3f0012d79110005e8a140000101202e..."} 
[2026-04-17 20:49:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c03f3f0012d79110005e8a140000101202e..."} 
[2026-04-17 20:49:00] local.INFO: Processing buffer {"connection_id":46438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c03f3f0012d79110005e8a140000101202e..."} 
[2026-04-17 20:49:00] local.INFO: Packet analysis {"connection_id":46438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c03"} 
[2026-04-17 20:49:00] local.INFO: Extracted packet for processing {"connection_id":46438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c03"} 
[2026-04-17 20:49:00] local.INFO: GPS Element Parsed {"raw_longitude":762908928,"raw_latitude":99131712,"longitude_deg":76.2908928,"latitude_deg":9.9131712,"altitude":1,"angle":288,"satellites":46,"speed":41,"hex_longitude":"2d791100","hex_latitude":"05e8a140","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:49:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768382208001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:49:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274265272808898560,"note":"Value kept but may cause issues"} 
[2026-04-17 20:49:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8728468684430471168,"note":"Value kept but may cause issues"} 
[2026-04-17 20:49:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:49:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776438998000,"timestamp_ms":1776438998000,"timestamp_seconds":1776438998,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c03f3f0"} 
[2026-04-17 20:49:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:49:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 20:49:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:49:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:49:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:49:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:49:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:49:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:49: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-04-17 20:49:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:49:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:49:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768382208001,"66":27310,"173":206,"87":13824,"24":41,"16":274265272808898560,"45":8728468684430471168},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-04-17 20:49:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:49:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:49:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768382208001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:49:00] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-04-17 20:49:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 20:49:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274265272808898560,"km_value":274265272808898.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:49:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8728468684430471168,"description":"Unknown IO ID 45"} 
[2026-04-17 20:49:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768382208001,"power":27310,"unknown_173":206,"unknown_87":13824,"ignition":41,"odometer":null,"unknown_45":8728468684430471168}} 
[2026-04-17 20:49:00] local.INFO: DEBUG: GPS processor result {"connection_id":46438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23035,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:49:00] local.INFO: GPS data processed {"connection_id":46438,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:49:00] local.INFO: Acknowledgment sent {"connection_id":46438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:49:04] local.INFO: TCP Data received {"connection_id":46206,"ip":"42.106.6.46","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:49:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46206,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:49:04] local.INFO: Processing buffer {"connection_id":46206,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:49:04] local.INFO: IMEI packet received {"connection_id":46206,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:49:04] local.INFO: IMEI acknowledgment sent {"connection_id":46206,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:49:21] local.INFO: TCP Data received {"connection_id":46949,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:49:21] local.INFO: Processing buffer {"connection_id":46949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:49:21] local.INFO: IMEI packet received {"connection_id":46949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":46949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:49:26] local.INFO: TCP Data received {"connection_id":46949,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46949,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:49:26] local.INFO: Processing buffer {"connection_id":46949,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:49:26] local.INFO: IMEI packet received {"connection_id":46949,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":46949,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:49:28] local.INFO: TCP Data received {"connection_id":46949,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c028c90012d19c94007201e90002e00942a..."} 
[2026-04-17 20:49:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c028c90012d19c94007201e90002e00942a..."} 
[2026-04-17 20:49:28] local.INFO: Processing buffer {"connection_id":46949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c028c90012d19c94007201e90002e00942a..."} 
[2026-04-17 20:49:28] local.INFO: Packet analysis {"connection_id":46949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c02"} 
[2026-04-17 20:49:28] local.INFO: Extracted packet for processing {"connection_id":46949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c02"} 
[2026-04-17 20:49:28] local.INFO: GPS Element Parsed {"raw_longitude":756664640,"raw_latitude":119545488,"longitude_deg":75.666464,"latitude_deg":11.9545488,"altitude":46,"angle":148,"satellites":42,"speed":18,"hex_longitude":"2d19c940","hex_latitude":"07201e90","is_valid_coordinates":true} 
[2026-04-17 20:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:49:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768356864001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:49:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542459811692544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:49:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1855271970849386496,"note":"Value kept but may cause issues"} 
[2026-04-17 20:49: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-04-17 20:49:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776438906000,"timestamp_ms":1776438906000,"timestamp_seconds":1776438906,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c028c90"} 
[2026-04-17 20:49:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:49: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-04-17 20:49:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":172,"data_length":795,"current_offset":136} 
[2026-04-17 20:49:28] 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-04-17 20:49:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:49:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:49:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:49:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:49:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:49:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:49:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:49:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:49:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:49:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768356864001,"66":12939,"121":206,"28":31744,"24":18,"16":113542459811692544,"45":1855271970849386496},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:49:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:49:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:49:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768356864001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:49:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:49:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:49:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542459811692544,"km_value":113542459811692.55,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:49:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1855271970849386496,"description":"Unknown IO ID 45"} 
[2026-04-17 20:49:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768356864001,"power":12939,"unknown_121":206,"unknown_28":31744,"ignition":18,"odometer":null,"unknown_45":1855271970849386496}} 
[2026-04-17 20:49:28] local.INFO: DEBUG: GPS processor result {"connection_id":46949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23036,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:49:28] local.INFO: GPS data processed {"connection_id":46949,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:49:28] local.INFO: Acknowledgment sent {"connection_id":46949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:49:31] local.INFO: TCP Data received {"connection_id":46438,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c040778012d78fec005e8a4f0000101142d..."} 
[2026-04-17 20:49:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46438,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c040778012d78fec005e8a4f0000101142d..."} 
[2026-04-17 20:49:31] local.INFO: Processing buffer {"connection_id":46438,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c040778012d78fec005e8a4f0000101142d..."} 
[2026-04-17 20:49:31] local.INFO: Packet analysis {"connection_id":46438,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c04"} 
[2026-04-17 20:49:31] local.INFO: Extracted packet for processing {"connection_id":46438,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c04"} 
[2026-04-17 20:49:31] local.INFO: GPS Element Parsed {"raw_longitude":762904256,"raw_latitude":99132656,"longitude_deg":76.2904256,"latitude_deg":9.9132656,"altitude":1,"angle":276,"satellites":45,"speed":31,"hex_longitude":"2d78fec0","hex_latitude":"05e8a4f0","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:49:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768383488001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:49:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274265500442165248,"note":"Value kept but may cause issues"} 
[2026-04-17 20:49:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8723753978571079680,"note":"Value kept but may cause issues"} 
[2026-04-17 20:49:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,173,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:49:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776439003000,"timestamp_ms":1776439003000,"timestamp_seconds":1776439003,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c040778"} 
[2026-04-17 20:49:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:49:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:49:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":174,"data_length":795,"current_offset":136} 
[2026-04-17 20:49:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2294,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:49:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:49:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:49:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46438,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:49:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:49:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46438,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:49:31] 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-04-17 20:49:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:49:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:49:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768383488001,"66":27397,"173":206,"87":13824,"24":31,"16":274265500442165248,"45":8723753978571079680},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,173,87,24,16,45]} 
[2026-04-17 20:49:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:49:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:49:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768383488001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:49:31] local.INFO: Unknown IO ID detected {"io_id":173,"value":206,"description":"Unknown IO ID 173"} 
[2026-04-17 20:49:31] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 20:49:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274265500442165248,"km_value":274265500442165.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:49:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8723753978571079680,"description":"Unknown IO ID 45"} 
[2026-04-17 20:49:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768383488001,"power":27397,"unknown_173":206,"unknown_87":13824,"ignition":31,"odometer":null,"unknown_45":8723753978571079680}} 
[2026-04-17 20:49:31] local.INFO: DEBUG: GPS processor result {"connection_id":46438,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23037,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:49:31] local.INFO: GPS data processed {"connection_id":46438,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:49:31] local.INFO: Acknowledgment sent {"connection_id":46438,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:49:49] local.INFO: TCP Data received {"connection_id":46207,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:49:49] local.INFO: Processing buffer {"connection_id":46207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:49:49] local.INFO: IMEI packet received {"connection_id":46207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":46207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:49:51] local.INFO: TCP Data received {"connection_id":46207,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:49:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:49:51] local.INFO: Processing buffer {"connection_id":46207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:49:51] local.INFO: IMEI packet received {"connection_id":46207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:49:51] local.INFO: IMEI acknowledgment sent {"connection_id":46207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:49:54] local.INFO: TCP Data received {"connection_id":46207,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46207,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:49:54] local.INFO: Processing buffer {"connection_id":46207,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:49:54] local.INFO: IMEI packet received {"connection_id":46207,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":46207,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:49:55] local.INFO: TCP Data received {"connection_id":46207,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c05ebd8012d779e0005e8b9300008011c2e..."} 
[2026-04-17 20:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46207,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c05ebd8012d779e0005e8b9300008011c2e..."} 
[2026-04-17 20:49:55] local.INFO: Processing buffer {"connection_id":46207,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c05ebd8012d779e0005e8b9300008011c2e..."} 
[2026-04-17 20:49:55] local.INFO: Packet analysis {"connection_id":46207,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c05"} 
[2026-04-17 20:49:55] local.INFO: Extracted packet for processing {"connection_id":46207,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c05"} 
[2026-04-17 20:49:55] local.INFO: GPS Element Parsed {"raw_longitude":762813952,"raw_latitude":99137840,"longitude_deg":76.2813952,"latitude_deg":9.913784,"altitude":8,"angle":284,"satellites":46,"speed":30,"hex_longitude":"2d779e00","hex_latitude":"05e8b930","is_valid_coordinates":true} 
[2026-04-17 20:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:49:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768413440001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:49:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274269907078610944,"note":"Value kept but may cause issues"} 
[2026-04-17 20:49:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8629319123885588480,"note":"Value kept but may cause issues"} 
[2026-04-17 20:49:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,164,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:49:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776439127000,"timestamp_ms":1776439127000,"timestamp_seconds":1776439127,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c05ebd8"} 
[2026-04-17 20:49:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:49: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-04-17 20:49:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:49:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:49:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:49:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:49:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:49:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46207,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:49:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:49:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46207,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:49:55] 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-04-17 20:49:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:49:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:49:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768413440001,"66":27365,"164":206,"87":12288,"24":30,"16":274269907078610944,"45":8629319123885588480},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,164,87,24,16,45]} 
[2026-04-17 20:49:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:49:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:49:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768413440001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:49:55] local.INFO: Unknown IO ID detected {"io_id":164,"value":206,"description":"Unknown IO ID 164"} 
[2026-04-17 20:49:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:49:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274269907078610944,"km_value":274269907078610.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:49:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8629319123885588480,"description":"Unknown IO ID 45"} 
[2026-04-17 20:49:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768413440001,"power":27365,"unknown_164":206,"unknown_87":12288,"ignition":30,"odometer":null,"unknown_45":8629319123885588480}} 
[2026-04-17 20:49:55] local.INFO: DEBUG: GPS processor result {"connection_id":46207,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23038,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:49:55] local.INFO: GPS data processed {"connection_id":46207,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:49:55] local.INFO: Acknowledgment sent {"connection_id":46207,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:49:59] local.INFO: TCP Data received {"connection_id":46949,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c029848012d19cc4007201ad8002e008529..."} 
[2026-04-17 20:49:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46949,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c029848012d19cc4007201ad8002e008529..."} 
[2026-04-17 20:49:59] local.INFO: Processing buffer {"connection_id":46949,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c029848012d19cc4007201ad8002e008529..."} 
[2026-04-17 20:49:59] local.INFO: Packet analysis {"connection_id":46949,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c02"} 
[2026-04-17 20:49:59] local.INFO: Extracted packet for processing {"connection_id":46949,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c02"} 
[2026-04-17 20:49:59] local.INFO: GPS Element Parsed {"raw_longitude":756665408,"raw_latitude":119544536,"longitude_deg":75.6665408,"latitude_deg":11.9544536,"altitude":46,"angle":133,"satellites":41,"speed":12,"hex_longitude":"2d19cc40","hex_latitude":"07201ad8","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:49:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768359936001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:49:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542519941234688,"note":"Value kept but may cause issues"} 
[2026-04-17 20:49:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1858086720614862848,"note":"Value kept but may cause issues"} 
[2026-04-17 20:49: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-04-17 20:49:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776438909000,"timestamp_ms":1776438909000,"timestamp_seconds":1776438909,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c029848"} 
[2026-04-17 20:49:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:49:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:49:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":50,"n8_eight_byte":139,"data_length":795,"current_offset":136} 
[2026-04-17 20:49:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1699,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:49:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:49:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:49:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46949,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:49:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:49:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46949,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:49:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:49:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:49:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:49:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768359936001,"66":12928,"121":206,"28":31744,"24":12,"16":113542519941234688,"45":1858086720614862848},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:49:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:49:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:49:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768359936001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:49:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:49:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:49:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542519941234688,"km_value":113542519941234.69,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:49:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1858086720614862848,"description":"Unknown IO ID 45"} 
[2026-04-17 20:49:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768359936001,"power":12928,"unknown_121":206,"unknown_28":31744,"ignition":12,"odometer":null,"unknown_45":1858086720614862848}} 
[2026-04-17 20:49:59] local.INFO: DEBUG: GPS processor result {"connection_id":46949,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23039,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:49:59] local.INFO: GPS data processed {"connection_id":46949,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:49:59] local.INFO: Acknowledgment sent {"connection_id":46949,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:50:20] local.INFO: TCP Data received {"connection_id":46439,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:50:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:50:20] local.INFO: Processing buffer {"connection_id":46439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:50:20] local.INFO: IMEI packet received {"connection_id":46439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:50:20] local.INFO: IMEI acknowledgment sent {"connection_id":46439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:50:21] local.INFO: TCP Data received {"connection_id":46439,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:50:21] local.INFO: Processing buffer {"connection_id":46439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:50:21] local.INFO: IMEI packet received {"connection_id":46439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":46439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:50:26] local.INFO: TCP Data received {"connection_id":46207,"ip":"42.106.6.44","data_length":93,"data_hex":"00000000000000518e010000019d9c060f00012d7787c005e8bd10000801102c..."} 
[2026-04-17 20:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46207,"packet_length":93,"packet_hex":"00000000000000518e010000019d9c060f00012d7787c005e8bd10000801102c..."} 
[2026-04-17 20:50:26] local.INFO: Processing buffer {"connection_id":46207,"buffer_length":93,"buffer_hex":"00000000000000518e010000019d9c060f00012d7787c005e8bd10000801102c..."} 
[2026-04-17 20:50:26] local.INFO: Packet analysis {"connection_id":46207,"data_field_length":81,"total_packet_length":93,"buffer_length":93,"packet_hex_start":"00000000000000518e010000019d9c06"} 
[2026-04-17 20:50:26] local.INFO: Extracted packet for processing {"connection_id":46207,"packet_length":93,"remaining_buffer_length":0,"packet_hex_start":"00000000000000518e010000019d9c06"} 
[2026-04-17 20:50:26] local.INFO: GPS Element Parsed {"raw_longitude":762808256,"raw_latitude":99138832,"longitude_deg":76.2808256,"latitude_deg":9.9138832,"altitude":8,"angle":272,"satellites":44,"speed":13,"hex_longitude":"2d7787c0","hex_latitude":"05e8bd10","is_valid_coordinates":true} 
[2026-04-17 20:50:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":93,"current_offset":40} 
[2026-04-17 20:50:26] 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-04-17 20:50:26] 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-04-17 20:50:26] local.WARNING: AVL Record parsing failed {"record_number":1,"total_expected":1,"offset":10,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:50:26] local.INFO: AVL Records parsing completed {"total_expected":1,"successful_records":0,"records_with_valid_data":0} 
[2026-04-17 20:50:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46207,"avl_records_parsed":0,"avl_records_expected":1,"crc_valid":false} 
[2026-04-17 20:50:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46207,"device_imei":"862567074773115","avl_records_count":0} 
[2026-04-17 20:50:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46207,"device_imei":"862567074773115","avl_records_count":0} 
[2026-04-17 20:50:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":0,"parser_version":"unknown"} 
[2026-04-17 20:50:26] local.WARNING: DEBUG: No valid data to process  
[2026-04-17 20:50:26] local.INFO: DEBUG: GPS processor result {"connection_id":46207,"result":{"success":false,"message":"No valid data to process"}} 
[2026-04-17 20:50:26] local.ERROR: GPS data processing failed {"connection_id":46207,"error":"No valid data to process"} 
[2026-04-17 20:50:26] local.INFO: Acknowledgment sent {"connection_id":46207,"records_acknowledged":0,"records_expected":1,"ack_packet":"00000000000000028e000000a065"} 
[2026-04-17 20:50:27] local.INFO: TCP Data received {"connection_id":46439,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46439,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:50:27] local.INFO: Processing buffer {"connection_id":46439,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:50:27] local.INFO: IMEI packet received {"connection_id":46439,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:50:27] local.INFO: IMEI acknowledgment sent {"connection_id":46439,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:50:29] local.INFO: TCP Data received {"connection_id":46439,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c061ea0012d19cdc007201930002e008f2f..."} 
[2026-04-17 20:50:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c061ea0012d19cdc007201930002e008f2f..."} 
[2026-04-17 20:50:29] local.INFO: Processing buffer {"connection_id":46439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c061ea0012d19cdc007201930002e008f2f..."} 
[2026-04-17 20:50:29] local.INFO: Packet analysis {"connection_id":46439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c06"} 
[2026-04-17 20:50:29] local.INFO: Extracted packet for processing {"connection_id":46439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c06"} 
[2026-04-17 20:50:29] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544112,"longitude_deg":75.6665792,"latitude_deg":11.9544112,"altitude":46,"angle":143,"satellites":47,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201930","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:50:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768414464001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:50:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542545711038464,"note":"Value kept but may cause issues"} 
[2026-04-17 20:50:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:50: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-04-17 20:50:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776439140000,"timestamp_ms":1776439140000,"timestamp_seconds":1776439140,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c061ea0"} 
[2026-04-17 20:50:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:50: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-04-17 20: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":49,"n8_eight_byte":199,"data_length":795,"current_offset":136} 
[2026-04-17 20:50:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2234,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:50:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:50:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:50:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:50:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:50:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:50:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:50:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:50:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:50:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768414464001,"66":12722,"121":206,"28":31744,"24":0,"16":113542545711038464,"45":1859353358009708544},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:50:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:50:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:50:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768414464001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:50:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:50:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:50:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542545711038464,"km_value":113542545711038.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:50:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009708544,"description":"Unknown IO ID 45"} 
[2026-04-17 20:50:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768414464001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859353358009708544}} 
[2026-04-17 20:50:29] local.INFO: DEBUG: GPS processor result {"connection_id":46439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23040,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:50:29] local.INFO: GPS data processed {"connection_id":46439,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:50:29] local.INFO: Acknowledgment sent {"connection_id":46439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:50:54] local.INFO: TCP Data received {"connection_id":46096,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:50:54] local.INFO: Processing buffer {"connection_id":46096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:50:54] local.INFO: IMEI packet received {"connection_id":46096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":46096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:50:55] local.INFO: TCP Data received {"connection_id":46096,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:50:55] local.INFO: Processing buffer {"connection_id":46096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:50:55] local.INFO: IMEI packet received {"connection_id":46096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":46096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:50:57] local.INFO: TCP Data received {"connection_id":46096,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:50:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46096,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:50:57] local.INFO: Processing buffer {"connection_id":46096,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:50:57] local.INFO: IMEI packet received {"connection_id":46096,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:50:57] local.INFO: IMEI acknowledgment sent {"connection_id":46096,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:50:58] local.INFO: TCP Data received {"connection_id":46096,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c065168012d77634005e8bfc8000b010a2a..."} 
[2026-04-17 20:50:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c065168012d77634005e8bfc8000b010a2a..."} 
[2026-04-17 20:50:58] local.INFO: Processing buffer {"connection_id":46096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c065168012d77634005e8bfc8000b010a2a..."} 
[2026-04-17 20:50:58] local.INFO: Packet analysis {"connection_id":46096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c06"} 
[2026-04-17 20:50:58] local.INFO: Extracted packet for processing {"connection_id":46096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c06"} 
[2026-04-17 20:50:58] local.INFO: GPS Element Parsed {"raw_longitude":762798912,"raw_latitude":99139528,"longitude_deg":76.2798912,"latitude_deg":9.9139528,"altitude":11,"angle":266,"satellites":42,"speed":31,"hex_longitude":"2d776340","hex_latitude":"05e8bfc8","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:50:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768418816001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:50:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274270632928083968,"note":"Value kept but may cause issues"} 
[2026-04-17 20:50:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8613063943981436928,"note":"Value kept but may cause issues"} 
[2026-04-17 20:50:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:50:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776439153000,"timestamp_ms":1776439153000,"timestamp_seconds":1776439153,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c065168"} 
[2026-04-17 20:50:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:50: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-04-17 20:50:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:50:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:50:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:50:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:50:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:50:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:50:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:50:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:50:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:50:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:50:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768418816001,"66":27517,"129":206,"87":12288,"24":31,"16":274270632928083968,"45":8613063943981436928},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-04-17 20:50:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:50:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:50:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768418816001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:50:58] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 20:50:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:50:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274270632928083968,"km_value":274270632928083.97,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:50:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8613063943981436928,"description":"Unknown IO ID 45"} 
[2026-04-17 20:50:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768418816001,"power":27517,"unknown_129":206,"unknown_87":12288,"ignition":31,"odometer":null,"unknown_45":8613063943981436928}} 
[2026-04-17 20:50:58] local.INFO: DEBUG: GPS processor result {"connection_id":46096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23041,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:50:58] local.INFO: GPS data processed {"connection_id":46096,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:50:58] local.INFO: Acknowledgment sent {"connection_id":46096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:51:01] local.INFO: TCP Data received {"connection_id":46439,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0670a8012d19cdc007201930002e008f2e..."} 
[2026-04-17 20:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46439,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0670a8012d19cdc007201930002e008f2e..."} 
[2026-04-17 20:51:01] local.INFO: Processing buffer {"connection_id":46439,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0670a8012d19cdc007201930002e008f2e..."} 
[2026-04-17 20:51:01] local.INFO: Packet analysis {"connection_id":46439,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c06"} 
[2026-04-17 20:51:01] local.INFO: Extracted packet for processing {"connection_id":46439,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c06"} 
[2026-04-17 20:51:01] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544112,"longitude_deg":75.6665792,"latitude_deg":11.9544112,"altitude":46,"angle":143,"satellites":46,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201930","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768419840001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542545711038464,"note":"Value kept but may cause issues"} 
[2026-04-17 20:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:51: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-04-17 20:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776439161000,"timestamp_ms":1776439161000,"timestamp_seconds":1776439161,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0670a8"} 
[2026-04-17 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-04-17 20:51: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-04-17 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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 20:51:01] 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-04-17 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-04-17 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-04-17 20:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46439,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46439,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768419840001,"66":12722,"121":206,"28":31744,"24":0,"16":113542545711038464,"45":1859353358009708544},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768419840001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:51:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:51:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542545711038464,"km_value":113542545711038.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009708544,"description":"Unknown IO ID 45"} 
[2026-04-17 20:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768419840001,"power":12722,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859353358009708544}} 
[2026-04-17 20:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":46439,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23042,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:51:01] local.INFO: GPS data processed {"connection_id":46439,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:51:01] local.INFO: Acknowledgment sent {"connection_id":46439,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:51:21] local.INFO: TCP Data received {"connection_id":46097,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:51:21] local.INFO: Processing buffer {"connection_id":46097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:51:21] local.INFO: IMEI packet received {"connection_id":46097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":46097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:51:23] local.INFO: TCP Data received {"connection_id":46097,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:51:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:51:23] local.INFO: Processing buffer {"connection_id":46097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:51:23] local.INFO: IMEI packet received {"connection_id":46097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:51:23] local.INFO: IMEI acknowledgment sent {"connection_id":46097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:51:27] local.INFO: TCP Data received {"connection_id":46097,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46097,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:51:27] local.INFO: Processing buffer {"connection_id":46097,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:51:27] local.INFO: IMEI packet received {"connection_id":46097,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:51:27] local.INFO: IMEI acknowledgment sent {"connection_id":46097,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:51:28] local.INFO: TCP Data received {"connection_id":46097,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c06c2b0012d19cdc007201930002e008f2e..."} 
[2026-04-17 20:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c06c2b0012d19cdc007201930002e008f2e..."} 
[2026-04-17 20:51:28] local.INFO: Processing buffer {"connection_id":46097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c06c2b0012d19cdc007201930002e008f2e..."} 
[2026-04-17 20:51:28] local.INFO: Packet analysis {"connection_id":46097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c06"} 
[2026-04-17 20:51:28] local.INFO: Extracted packet for processing {"connection_id":46097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c06"} 
[2026-04-17 20:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544112,"longitude_deg":75.6665792,"latitude_deg":11.9544112,"altitude":46,"angle":143,"satellites":46,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201930","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768425216001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542545711038464,"note":"Value kept but may cause issues"} 
[2026-04-17 20:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:51: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-04-17 20:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776439182000,"timestamp_ms":1776439182000,"timestamp_seconds":1776439182,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c06c2b0"} 
[2026-04-17 20:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:51: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-04-17 20: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":49,"n8_eight_byte":178,"data_length":795,"current_offset":136} 
[2026-04-17 20:51:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2045,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768425216001,"66":12689,"121":206,"28":31744,"24":0,"16":113542545711038464,"45":1859353358009708544},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768425216001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:51:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:51:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542545711038464,"km_value":113542545711038.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009708544,"description":"Unknown IO ID 45"} 
[2026-04-17 20:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768425216001,"power":12689,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859353358009708544}} 
[2026-04-17 20:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":46097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23043,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:51:28] local.INFO: GPS data processed {"connection_id":46097,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:51:28] local.INFO: Acknowledgment sent {"connection_id":46097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:51:29] local.INFO: TCP Data received {"connection_id":46096,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c068430012d77400005e8bd50000a010b2d..."} 
[2026-04-17 20:51:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46096,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c068430012d77400005e8bd50000a010b2d..."} 
[2026-04-17 20:51:29] local.INFO: Processing buffer {"connection_id":46096,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c068430012d77400005e8bd50000a010b2d..."} 
[2026-04-17 20:51:29] local.INFO: Packet analysis {"connection_id":46096,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c06"} 
[2026-04-17 20:51:29] local.INFO: Extracted packet for processing {"connection_id":46096,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c06"} 
[2026-04-17 20:51:29] local.INFO: GPS Element Parsed {"raw_longitude":762789888,"raw_latitude":99138896,"longitude_deg":76.2789888,"latitude_deg":9.9138896,"altitude":10,"angle":267,"satellites":45,"speed":20,"hex_longitude":"2d774000","hex_latitude":"05e8bd50","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:51:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768423168001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:51:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274271062424813568,"note":"Value kept but may cause issues"} 
[2026-04-17 20:51:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8602790107331676160,"note":"Value kept but may cause issues"} 
[2026-04-17 20:51:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:51:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776439166000,"timestamp_ms":1776439166000,"timestamp_seconds":1776439166,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c068430"} 
[2026-04-17 20:51:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:51: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-04-17 20: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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 20:51:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:51:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:51:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:51:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46096,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:51:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:51:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46096,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:51: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-04-17 20:51:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:51:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:51:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768423168001,"66":27397,"129":206,"87":12288,"24":20,"16":274271062424813568,"45":8602790107331676160},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-04-17 20:51:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:51:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:51:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768423168001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:51:29] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 20:51:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:51:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274271062424813568,"km_value":274271062424813.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:51:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8602790107331676160,"description":"Unknown IO ID 45"} 
[2026-04-17 20:51:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768423168001,"power":27397,"unknown_129":206,"unknown_87":12288,"ignition":20,"odometer":null,"unknown_45":8602790107331676160}} 
[2026-04-17 20:51:29] local.INFO: DEBUG: GPS processor result {"connection_id":46096,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23044,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:51:29] local.INFO: GPS data processed {"connection_id":46096,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:51:29] local.INFO: Acknowledgment sent {"connection_id":46096,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:51:47] local.INFO: TCP Data received {"connection_id":46440,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:51:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:51:47] local.INFO: Processing buffer {"connection_id":46440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:51:47] local.INFO: IMEI packet received {"connection_id":46440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:51:47] local.INFO: IMEI acknowledgment sent {"connection_id":46440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:51:50] local.INFO: TCP Data received {"connection_id":46440,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:51:50] local.INFO: Processing buffer {"connection_id":46440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:51:50] local.INFO: IMEI packet received {"connection_id":46440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":46440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:51:55] local.INFO: TCP Data received {"connection_id":46440,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46440,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:51:55] local.INFO: Processing buffer {"connection_id":46440,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:51:55] local.INFO: IMEI packet received {"connection_id":46440,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:51:55] local.INFO: IMEI acknowledgment sent {"connection_id":46440,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:51:55] local.INFO: TCP Data received {"connection_id":46440,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c06c2b0012d771bc005e8ba00000a01072c..."} 
[2026-04-17 20:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c06c2b0012d771bc005e8ba00000a01072c..."} 
[2026-04-17 20:51:55] local.INFO: Processing buffer {"connection_id":46440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c06c2b0012d771bc005e8ba00000a01072c..."} 
[2026-04-17 20:51:55] local.INFO: Packet analysis {"connection_id":46440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c06"} 
[2026-04-17 20:51:55] local.INFO: Extracted packet for processing {"connection_id":46440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c06"} 
[2026-04-17 20:51:55] local.INFO: GPS Element Parsed {"raw_longitude":762780608,"raw_latitude":99138048,"longitude_deg":76.2780608,"latitude_deg":9.9138048,"altitude":10,"angle":263,"satellites":44,"speed":24,"hex_longitude":"2d771bc0","hex_latitude":"05e8ba00","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768426496001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274271509101412352,"note":"Value kept but may cause issues"} 
[2026-04-17 20:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8592868114402463744,"note":"Value kept but may cause issues"} 
[2026-04-17 20:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,129,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776439182000,"timestamp_ms":1776439182000,"timestamp_seconds":1776439182,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c06c2b0"} 
[2026-04-17 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-04-17 20:51: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-04-17 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 20:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:51:55] 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-04-17 20:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768426496001,"66":27365,"129":206,"87":12288,"24":24,"16":274271509101412352,"45":8592868114402463744},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,129,87,24,16,45]} 
[2026-04-17 20:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768426496001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:51:55] local.INFO: Unknown IO ID detected {"io_id":129,"value":206,"description":"Unknown IO ID 129"} 
[2026-04-17 20:51:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274271509101412352,"km_value":274271509101412.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8592868114402463744,"description":"Unknown IO ID 45"} 
[2026-04-17 20:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768426496001,"power":27365,"unknown_129":206,"unknown_87":12288,"ignition":24,"odometer":null,"unknown_45":8592868114402463744}} 
[2026-04-17 20:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":46440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23045,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:51:55] local.INFO: GPS data processed {"connection_id":46440,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:51:55] local.INFO: Acknowledgment sent {"connection_id":46440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:52:00] local.INFO: TCP Data received {"connection_id":46097,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0714b8012d19cdc007201930002e008f2d..."} 
[2026-04-17 20:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46097,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0714b8012d19cdc007201930002e008f2d..."} 
[2026-04-17 20:52:00] local.INFO: Processing buffer {"connection_id":46097,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0714b8012d19cdc007201930002e008f2d..."} 
[2026-04-17 20:52:00] local.INFO: Packet analysis {"connection_id":46097,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c07"} 
[2026-04-17 20:52:00] local.INFO: Extracted packet for processing {"connection_id":46097,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c07"} 
[2026-04-17 20:52:00] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544112,"longitude_deg":75.6665792,"latitude_deg":11.9544112,"altitude":46,"angle":143,"satellites":45,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201930","is_valid_coordinates":true} 
[2026-04-17 20:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768430592001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542545711038464,"note":"Value kept but may cause issues"} 
[2026-04-17 20:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:52: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-04-17 20:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776439203000,"timestamp_ms":1776439203000,"timestamp_seconds":1776439203,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0714b8"} 
[2026-04-17 20:52:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:52: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-04-17 20:52:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":145,"data_length":795,"current_offset":136} 
[2026-04-17 20:52:00] 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-04-17 20:52:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:52:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46097,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46097,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768430592001,"66":12711,"121":206,"28":31744,"24":0,"16":113542545711038464,"45":1859353358009708544},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768430592001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:52:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:52:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542545711038464,"km_value":113542545711038.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009708544,"description":"Unknown IO ID 45"} 
[2026-04-17 20:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768430592001,"power":12711,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859353358009708544}} 
[2026-04-17 20:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":46097,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23046,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:52:00] local.INFO: GPS data processed {"connection_id":46097,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:52:00] local.INFO: Acknowledgment sent {"connection_id":46097,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:52:26] local.INFO: TCP Data received {"connection_id":46209,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:52:26] local.INFO: Processing buffer {"connection_id":46209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:52:26] local.INFO: IMEI packet received {"connection_id":46209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":46209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:52:27] local.INFO: TCP Data received {"connection_id":46209,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:52:27] local.INFO: Processing buffer {"connection_id":46209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:52:27] local.INFO: IMEI packet received {"connection_id":46209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:52:27] local.INFO: IMEI acknowledgment sent {"connection_id":46209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:52:31] local.INFO: TCP Data received {"connection_id":46209,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:52:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46209,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:52:31] local.INFO: Processing buffer {"connection_id":46209,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:52:31] local.INFO: IMEI packet received {"connection_id":46209,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:52:31] local.INFO: IMEI acknowledgment sent {"connection_id":46209,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:52:32] local.INFO: TCP Data received {"connection_id":46440,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c081688012d76ce8005e8f4680009015c2d..."} 
[2026-04-17 20:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46440,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c081688012d76ce8005e8f4680009015c2d..."} 
[2026-04-17 20:52:32] local.INFO: Processing buffer {"connection_id":46440,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c081688012d76ce8005e8f4680009015c2d..."} 
[2026-04-17 20:52:32] local.INFO: Packet analysis {"connection_id":46440,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c08"} 
[2026-04-17 20:52:32] local.INFO: Extracted packet for processing {"connection_id":46440,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c08"} 
[2026-04-17 20:52:32] local.INFO: GPS Element Parsed {"raw_longitude":762760832,"raw_latitude":99153000,"longitude_deg":76.2760832,"latitude_deg":9.9153,"altitude":9,"angle":348,"satellites":45,"speed":7,"hex_longitude":"2d76ce80","hex_latitude":"05e8f468","is_valid_coordinates":true} 
[2026-04-17 20:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768447488001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274272969390292992,"note":"Value kept but may cause issues"} 
[2026-04-17 20:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8563313241849886720,"note":"Value kept but may cause issues"} 
[2026-04-17 20:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776439269000,"timestamp_ms":1776439269000,"timestamp_seconds":1776439269,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c081688"} 
[2026-04-17 20:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:52:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46440,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46440,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768447488001,"66":27517,"131":206,"87":12288,"24":7,"16":274272969390292992,"45":8563313241849886720},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-04-17 20:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768447488001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:52:32] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 20:52:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274272969390292992,"km_value":274272969390293.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8563313241849886720,"description":"Unknown IO ID 45"} 
[2026-04-17 20:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768447488001,"power":27517,"unknown_131":206,"unknown_87":12288,"ignition":7,"odometer":null,"unknown_45":8563313241849886720}} 
[2026-04-17 20:52:32] local.INFO: DEBUG: GPS processor result {"connection_id":46440,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23047,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:52:32] local.INFO: GPS data processed {"connection_id":46440,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:52:32] local.INFO: Acknowledgment sent {"connection_id":46440,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:52:32] local.INFO: TCP Data received {"connection_id":46209,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0766c0012d19cdc007201930002e008f2c..."} 
[2026-04-17 20:52:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0766c0012d19cdc007201930002e008f2c..."} 
[2026-04-17 20:52:32] local.INFO: Processing buffer {"connection_id":46209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0766c0012d19cdc007201930002e008f2c..."} 
[2026-04-17 20:52:32] local.INFO: Packet analysis {"connection_id":46209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c07"} 
[2026-04-17 20:52:32] local.INFO: Extracted packet for processing {"connection_id":46209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c07"} 
[2026-04-17 20:52:32] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544112,"longitude_deg":75.6665792,"latitude_deg":11.9544112,"altitude":46,"angle":143,"satellites":44,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201930","is_valid_coordinates":true} 
[2026-04-17 20:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:52:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768435968001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:52:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542545711038464,"note":"Value kept but may cause issues"} 
[2026-04-17 20:52:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:52:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:52:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776439224000,"timestamp_ms":1776439224000,"timestamp_seconds":1776439224,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0766c0"} 
[2026-04-17 20:52:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:52: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-04-17 20:52:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":167,"data_length":795,"current_offset":136} 
[2026-04-17 20:52:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1946,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:52:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:52:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:52:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:52:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:52:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:52:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:52:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:52:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:52:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:52:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768435968001,"66":12113,"121":206,"28":31744,"24":0,"16":113542545711038464,"45":1859353358009708544},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:52:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:52:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:52:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768435968001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:52:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:52:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:52:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542545711038464,"km_value":113542545711038.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:52:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009708544,"description":"Unknown IO ID 45"} 
[2026-04-17 20:52:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768435968001,"power":12113,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859353358009708544}} 
[2026-04-17 20:52:33] local.INFO: DEBUG: GPS processor result {"connection_id":46209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23048,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:52:33] local.INFO: GPS data processed {"connection_id":46209,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:52:33] local.INFO: Acknowledgment sent {"connection_id":46209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:52:37] local.INFO: TCP Data received {"connection_id":46209,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c07b8c8012d19cdc007201930002e008f2c..."} 
[2026-04-17 20:52:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46209,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c07b8c8012d19cdc007201930002e008f2c..."} 
[2026-04-17 20:52:37] local.INFO: Processing buffer {"connection_id":46209,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c07b8c8012d19cdc007201930002e008f2c..."} 
[2026-04-17 20:52:37] local.INFO: Packet analysis {"connection_id":46209,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c07"} 
[2026-04-17 20:52:37] local.INFO: Extracted packet for processing {"connection_id":46209,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c07"} 
[2026-04-17 20:52:37] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544112,"longitude_deg":75.6665792,"latitude_deg":11.9544112,"altitude":46,"angle":143,"satellites":44,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201930","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:52:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768441344001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:52:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542545711038464,"note":"Value kept but may cause issues"} 
[2026-04-17 20:52:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:52: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-04-17 20:52:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776439245000,"timestamp_ms":1776439245000,"timestamp_seconds":1776439245,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c07b8c8"} 
[2026-04-17 20:52:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:52: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-04-17 20: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":47,"n8_eight_byte":81,"data_length":795,"current_offset":136} 
[2026-04-17 20:52:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1162,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:52:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:52:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:52:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46209,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:52:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:52:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46209,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:52:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:52:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:52:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:52:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768441344001,"66":12461,"121":206,"28":31744,"24":0,"16":113542545711038464,"45":1859353358009708544},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:52:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:52:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:52:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768441344001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:52:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:52:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:52:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542545711038464,"km_value":113542545711038.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:52:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009708544,"description":"Unknown IO ID 45"} 
[2026-04-17 20:52:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768441344001,"power":12461,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859353358009708544}} 
[2026-04-17 20:52:37] local.INFO: DEBUG: GPS processor result {"connection_id":46209,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23049,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:52:37] local.INFO: GPS data processed {"connection_id":46209,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:52:37] local.INFO: Acknowledgment sent {"connection_id":46209,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:52:50] local.INFO: TCP Data received {"connection_id":46098,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:52:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:52:50] local.INFO: Processing buffer {"connection_id":46098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:52:50] local.INFO: IMEI packet received {"connection_id":46098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:52:50] local.INFO: IMEI acknowledgment sent {"connection_id":46098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:52:50] local.INFO: TCP Data received {"connection_id":46098,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:52:51] local.INFO: Processing buffer {"connection_id":46098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:52:51] local.INFO: IMEI packet received {"connection_id":46098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":46098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:52:55] local.INFO: TCP Data received {"connection_id":46098,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46098,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:52:55] local.INFO: Processing buffer {"connection_id":46098,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:52:55] local.INFO: IMEI packet received {"connection_id":46098,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":46098,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:52:56] local.INFO: TCP Data received {"connection_id":46098,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0835c8012d76cb4005e8fd80000a01512c..."} 
[2026-04-17 20:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0835c8012d76cb4005e8fd80000a01512c..."} 
[2026-04-17 20:52:56] local.INFO: Processing buffer {"connection_id":46098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0835c8012d76cb4005e8fd80000a01512c..."} 
[2026-04-17 20:52:56] local.INFO: Packet analysis {"connection_id":46098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c08"} 
[2026-04-17 20:52:56] local.INFO: Extracted packet for processing {"connection_id":46098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c08"} 
[2026-04-17 20:52:56] local.INFO: GPS Element Parsed {"raw_longitude":762760000,"raw_latitude":99155328,"longitude_deg":76.276,"latitude_deg":9.9155328,"altitude":10,"angle":337,"satellites":44,"speed":18,"hex_longitude":"2d76cb40","hex_latitude":"05e8fd80","is_valid_coordinates":true} 
[2026-04-17 20:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768452864001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274273089649377280,"note":"Value kept but may cause issues"} 
[2026-04-17 20:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8560920704549414912,"note":"Value kept but may cause issues"} 
[2026-04-17 20:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776439277000,"timestamp_ms":1776439277000,"timestamp_seconds":1776439277,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0835c8"} 
[2026-04-17 20:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 20:52:56] 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-04-17 20:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:52:56] 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-04-17 20:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768452864001,"66":27365,"131":206,"87":12288,"24":18,"16":274273089649377280,"45":8560920704549414912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-04-17 20:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768452864001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:52:56] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 20:52:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274273089649377280,"km_value":274273089649377.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8560920704549414912,"description":"Unknown IO ID 45"} 
[2026-04-17 20:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768452864001,"power":27365,"unknown_131":206,"unknown_87":12288,"ignition":18,"odometer":null,"unknown_45":8560920704549414912}} 
[2026-04-17 20:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":46098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23050,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:52:56] local.INFO: GPS data processed {"connection_id":46098,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:52:56] local.INFO: Acknowledgment sent {"connection_id":46098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:53:21] local.INFO: TCP Data received {"connection_id":46210,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:53:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:53:21] local.INFO: Processing buffer {"connection_id":46210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:53:21] local.INFO: IMEI packet received {"connection_id":46210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:53:21] local.INFO: IMEI acknowledgment sent {"connection_id":46210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:53:26] local.INFO: TCP Data received {"connection_id":46210,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46210,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:53:26] local.INFO: Processing buffer {"connection_id":46210,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:53:26] local.INFO: IMEI packet received {"connection_id":46210,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":46210,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:53:27] local.INFO: TCP Data received {"connection_id":46098,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c088000012d76be8005e91ee0000a01542e..."} 
[2026-04-17 20:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46098,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c088000012d76be8005e91ee0000a01542e..."} 
[2026-04-17 20:53:27] local.INFO: Processing buffer {"connection_id":46098,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c088000012d76be8005e91ee0000a01542e..."} 
[2026-04-17 20:53:27] local.INFO: Packet analysis {"connection_id":46098,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c08"} 
[2026-04-17 20:53:27] local.INFO: Extracted packet for processing {"connection_id":46098,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c08"} 
[2026-04-17 20:53:27] local.INFO: GPS Element Parsed {"raw_longitude":762756736,"raw_latitude":99163872,"longitude_deg":76.2756736,"latitude_deg":9.9163872,"altitude":10,"angle":340,"satellites":46,"speed":13,"hex_longitude":"2d76be80","hex_latitude":"05e91ee0","is_valid_coordinates":true} 
[2026-04-17 20:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768454912001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274273536325976064,"note":"Value kept but may cause issues"} 
[2026-04-17 20:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8560005910875701248,"note":"Value kept but may cause issues"} 
[2026-04-17 20:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776439296000,"timestamp_ms":1776439296000,"timestamp_seconds":1776439296,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c088000"} 
[2026-04-17 20:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 20:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46098,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46098,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768454912001,"66":27397,"131":206,"87":12288,"24":13,"16":274273536325976064,"45":8560005910875701248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-04-17 20:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768454912001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:53:27] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 20:53:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274273536325976064,"km_value":274273536325976.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8560005910875701248,"description":"Unknown IO ID 45"} 
[2026-04-17 20:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768454912001,"power":27397,"unknown_131":206,"unknown_87":12288,"ignition":13,"odometer":null,"unknown_45":8560005910875701248}} 
[2026-04-17 20:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":46098,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23051,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:53:27] local.INFO: GPS data processed {"connection_id":46098,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:53:27] local.INFO: Acknowledgment sent {"connection_id":46098,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:53:28] local.INFO: TCP Data received {"connection_id":46210,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c080ad0012d19cdc007201930002e008f2e..."} 
[2026-04-17 20:53:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c080ad0012d19cdc007201930002e008f2e..."} 
[2026-04-17 20:53:28] local.INFO: Processing buffer {"connection_id":46210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c080ad0012d19cdc007201930002e008f2e..."} 
[2026-04-17 20:53:28] local.INFO: Packet analysis {"connection_id":46210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c08"} 
[2026-04-17 20:53:28] local.INFO: Extracted packet for processing {"connection_id":46210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c08"} 
[2026-04-17 20:53:28] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544112,"longitude_deg":75.6665792,"latitude_deg":11.9544112,"altitude":46,"angle":143,"satellites":46,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201930","is_valid_coordinates":true} 
[2026-04-17 20:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:53:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768446720001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:53:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542545711038464,"note":"Value kept but may cause issues"} 
[2026-04-17 20:53:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:53: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-04-17 20:53:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776439266000,"timestamp_ms":1776439266000,"timestamp_seconds":1776439266,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c080ad0"} 
[2026-04-17 20:53:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:53:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:53:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":48,"n8_eight_byte":173,"data_length":795,"current_offset":136} 
[2026-04-17 20:53:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1995,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:53:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:53:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:53:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:53:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:53:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:53:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:53:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:53:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:53:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:53:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768446720001,"66":12558,"121":206,"28":31744,"24":0,"16":113542545711038464,"45":1859353358009708544},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:53:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:53:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:53:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768446720001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:53:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:53:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:53:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542545711038464,"km_value":113542545711038.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:53:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009708544,"description":"Unknown IO ID 45"} 
[2026-04-17 20:53:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768446720001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859353358009708544}} 
[2026-04-17 20:53:28] local.INFO: DEBUG: GPS processor result {"connection_id":46210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23052,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:53:28] local.INFO: GPS data processed {"connection_id":46210,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:53:28] local.INFO: Acknowledgment sent {"connection_id":46210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:53:50] local.INFO: TCP Data received {"connection_id":46951,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:53:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:53:50] local.INFO: Processing buffer {"connection_id":46951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:53:50] local.INFO: IMEI packet received {"connection_id":46951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:53:50] local.INFO: IMEI acknowledgment sent {"connection_id":46951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:53:55] local.INFO: TCP Data received {"connection_id":46951,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46951,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:53:55] local.INFO: Processing buffer {"connection_id":46951,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:53:55] local.INFO: IMEI packet received {"connection_id":46951,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":46951,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:53:56] local.INFO: TCP Data received {"connection_id":46951,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c08d208012d76b74005e93210000c01592d..."} 
[2026-04-17 20:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c08d208012d76b74005e93210000c01592d..."} 
[2026-04-17 20:53:56] local.INFO: Processing buffer {"connection_id":46951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c08d208012d76b74005e93210000c01592d..."} 
[2026-04-17 20:53:56] local.INFO: Packet analysis {"connection_id":46951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c08"} 
[2026-04-17 20:53:56] local.INFO: Extracted packet for processing {"connection_id":46951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c08"} 
[2026-04-17 20:53:56] local.INFO: GPS Element Parsed {"raw_longitude":762754880,"raw_latitude":99168784,"longitude_deg":76.275488,"latitude_deg":9.9168784,"altitude":12,"angle":345,"satellites":45,"speed":11,"hex_longitude":"2d76b740","hex_latitude":"05e93210","is_valid_coordinates":true} 
[2026-04-17 20:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768459776001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274273789729046528,"note":"Value kept but may cause issues"} 
[2026-04-17 20:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8556417104924827648,"note":"Value kept but may cause issues"} 
[2026-04-17 20:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,131,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776439317000,"timestamp_ms":1776439317000,"timestamp_seconds":1776439317,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c08d208"} 
[2026-04-17 20:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:53:56] 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-04-17 20:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:53:56] 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-04-17 20:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768459776001,"66":27234,"131":206,"87":12288,"24":11,"16":274273789729046528,"45":8556417104924827648},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,131,87,24,16,45]} 
[2026-04-17 20:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768459776001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:53:56] local.INFO: Unknown IO ID detected {"io_id":131,"value":206,"description":"Unknown IO ID 131"} 
[2026-04-17 20:53:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274273789729046528,"km_value":274273789729046.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8556417104924827648,"description":"Unknown IO ID 45"} 
[2026-04-17 20:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768459776001,"power":27234,"unknown_131":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8556417104924827648}} 
[2026-04-17 20:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":46951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23053,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:53:56] local.INFO: GPS data processed {"connection_id":46951,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:53:56] local.INFO: Acknowledgment sent {"connection_id":46951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:54:00] local.INFO: TCP Data received {"connection_id":46210,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c085cd8012d19cdc007201930002e008f2c..."} 
[2026-04-17 20:54:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46210,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c085cd8012d19cdc007201930002e008f2c..."} 
[2026-04-17 20:54:00] local.INFO: Processing buffer {"connection_id":46210,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c085cd8012d19cdc007201930002e008f2c..."} 
[2026-04-17 20:54:00] local.INFO: Packet analysis {"connection_id":46210,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c08"} 
[2026-04-17 20:54:00] local.INFO: Extracted packet for processing {"connection_id":46210,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c08"} 
[2026-04-17 20:54:00] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544112,"longitude_deg":75.6665792,"latitude_deg":11.9544112,"altitude":46,"angle":143,"satellites":44,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201930","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768452096001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542545711038464,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54: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-04-17 20:54:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776439287000,"timestamp_ms":1776439287000,"timestamp_seconds":1776439287,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c085cd8"} 
[2026-04-17 20:54:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:54:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 20:54:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428991,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:00] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2617646752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:00] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249854830761482544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:00] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3221692441,"corrected_to":0} 
[2026-04-17 20:54:00] local.WARNING: Large IO value detected {"io_id":112,"raw_value":2818649369,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:00] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2986397159,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:00] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:00] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:00] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:00] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,98,157,184,45,192,25,46,44,10,66,102,20,1,240,167,156,32,4,113,205,112,48,239,49,2,147,7,231,85,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3221692441,"validated":0}]} 
[2026-04-17 20:54:00] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314806753475952640,"timestamp_seconds":3314806753475952.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 20:54:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:54:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:54:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46210,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:54:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:54:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46210,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:54:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:54:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:54:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:54:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768452096001,"66":12558,"121":206,"28":31744,"24":0,"16":113542545711038464,"45":1859353358009708544},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:54:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:54:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:54:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768452096001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:54:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:54:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:54:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542545711038464,"km_value":113542545711038.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:54:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009708544,"description":"Unknown IO ID 45"} 
[2026-04-17 20:54:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768452096001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859353358009708544}} 
[2026-04-17 20:54:00] local.INFO: DEBUG: GPS processor result {"connection_id":46210,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23054,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:54:00] local.INFO: GPS data processed {"connection_id":46210,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:54:00] local.INFO: Acknowledgment sent {"connection_id":46210,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:54:21] local.INFO: TCP Data received {"connection_id":46443,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:54:21] local.INFO: Processing buffer {"connection_id":46443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:54:21] local.INFO: IMEI packet received {"connection_id":46443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":46443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:54:24] local.INFO: TCP Data received {"connection_id":46442,"ip":"42.106.6.21","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:54:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46442,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:54:24] local.INFO: Processing buffer {"connection_id":46442,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:54:24] local.INFO: IMEI packet received {"connection_id":46442,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:54:24] local.INFO: IMEI acknowledgment sent {"connection_id":46442,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:54:27] local.INFO: TCP Data received {"connection_id":46443,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46443,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:54:27] local.INFO: Processing buffer {"connection_id":46443,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:54:27] local.INFO: IMEI packet received {"connection_id":46443,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:54:27] local.INFO: IMEI acknowledgment sent {"connection_id":46443,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:54:28] local.INFO: TCP Data received {"connection_id":46443,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c08aee0012d19cdc007201930002e008f2e..."} 
[2026-04-17 20:54:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c08aee0012d19cdc007201930002e008f2e..."} 
[2026-04-17 20:54:28] local.INFO: Processing buffer {"connection_id":46443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c08aee0012d19cdc007201930002e008f2e..."} 
[2026-04-17 20:54:28] local.INFO: Packet analysis {"connection_id":46443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c08"} 
[2026-04-17 20:54:28] local.INFO: Extracted packet for processing {"connection_id":46443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c08"} 
[2026-04-17 20:54:28] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544112,"longitude_deg":75.6665792,"latitude_deg":11.9544112,"altitude":46,"angle":143,"satellites":46,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201930","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768457472001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542545711038464,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54: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-04-17 20:54:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776439308000,"timestamp_ms":1776439308000,"timestamp_seconds":1776439308,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c08aee0"} 
[2026-04-17 20:54:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:54: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-04-17 20: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 20:54:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428991,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2617667752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249854830761482544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3221692441,"corrected_to":0} 
[2026-04-17 20:54:28] local.WARNING: Large IO value detected {"io_id":194,"raw_value":2952867097,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:28] local.WARNING: Large IO value detected {"io_id":49,"raw_value":2432749031,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:28] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:28] local.WARNING: Large IO value detected {"io_id":84,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:28] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,98,157,10,45,192,25,46,66,184,44,102,1,240,81,156,32,4,113,205,194,48,239,49,2,147,7,231,84,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3221692441,"validated":0}]} 
[2026-04-17 20:54:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314806744886018048,"timestamp_seconds":3314806744886018.0,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 20:54:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:54:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:54:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:54:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:54:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:54:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:54:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:54:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:54:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768457472001,"66":12580,"121":206,"28":31744,"24":0,"16":113542545711038464,"45":1859353358009708544},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:54:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:54:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:54:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768457472001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:54:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:54:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:54:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542545711038464,"km_value":113542545711038.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:54:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009708544,"description":"Unknown IO ID 45"} 
[2026-04-17 20:54:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768457472001,"power":12580,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859353358009708544}} 
[2026-04-17 20:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":46443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23055,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:54:28] local.INFO: GPS data processed {"connection_id":46443,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:54:28] local.INFO: Acknowledgment sent {"connection_id":46443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:54:35] local.INFO: TCP Data received {"connection_id":46951,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c091088012d76aac005e95258000e01512b..."} 
[2026-04-17 20:54:35] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46951,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c091088012d76aac005e95258000e01512b..."} 
[2026-04-17 20:54:35] local.INFO: Processing buffer {"connection_id":46951,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c091088012d76aac005e95258000e01512b..."} 
[2026-04-17 20:54:35] local.INFO: Packet analysis {"connection_id":46951,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c09"} 
[2026-04-17 20:54:35] local.INFO: Extracted packet for processing {"connection_id":46951,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c09"} 
[2026-04-17 20:54:35] local.INFO: GPS Element Parsed {"raw_longitude":762751680,"raw_latitude":99177048,"longitude_deg":76.275168,"latitude_deg":9.9177048,"altitude":14,"angle":337,"satellites":43,"speed":28,"hex_longitude":"2d76aac0","hex_latitude":"05e95258","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:54:35] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768465152001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:35] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274274219225776128,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:35] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8554376411344932864,"note":"Value kept but may cause issues"} 
[2026-04-17 20:54:35] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,33,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:54:35] local.INFO: AVL Record Parsed {"raw_timestamp":1776439333000,"timestamp_ms":1776439333000,"timestamp_seconds":1776439333,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c091088"} 
[2026-04-17 20:54:35] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:54:35] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 20:54:35] 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-04-17 20: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-04-17 20:54:35] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:54:35] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:54:35] local.INFO: Teltonika packet parsed successfully {"connection_id":46951,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:54:35] local.INFO: Passing IMEI to GPS processor {"connection_id":46951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:54:35] local.INFO: DEBUG: About to call GPS processor {"connection_id":46951,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:54:35] 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-04-17 20:54:35] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:54:35] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:54:35] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768465152001,"66":27397,"33":206,"87":12288,"24":28,"16":274274219225776128,"45":8554376411344932864},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,33,87,24,16,45]} 
[2026-04-17 20:54:35] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:54:35] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:54:35] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768465152001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:54:35] local.INFO: Unknown IO ID detected {"io_id":33,"value":206,"description":"Unknown IO ID 33"} 
[2026-04-17 20:54:35] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:54:35] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274274219225776128,"km_value":274274219225776.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:54:35] local.INFO: Unknown IO ID detected {"io_id":45,"value":8554376411344932864,"description":"Unknown IO ID 45"} 
[2026-04-17 20:54:35] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768465152001,"power":27397,"unknown_33":206,"unknown_87":12288,"ignition":28,"odometer":null,"unknown_45":8554376411344932864}} 
[2026-04-17 20:54:35] local.INFO: DEBUG: GPS processor result {"connection_id":46951,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23056,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:54:35] local.INFO: GPS data processed {"connection_id":46951,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:54:35] local.INFO: Acknowledgment sent {"connection_id":46951,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:54:52] local.INFO: TCP Data received {"connection_id":46444,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:54:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:54:52] local.INFO: Processing buffer {"connection_id":46444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:54:52] local.INFO: IMEI packet received {"connection_id":46444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:54:52] local.INFO: IMEI acknowledgment sent {"connection_id":46444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:54:55] local.INFO: TCP Data received {"connection_id":46444,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:54:55] local.INFO: Processing buffer {"connection_id":46444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:54:55] local.INFO: IMEI packet received {"connection_id":46444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":46444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:54:59] local.INFO: TCP Data received {"connection_id":46444,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46444,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:54:59] local.INFO: Processing buffer {"connection_id":46444,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:54:59] local.INFO: IMEI packet received {"connection_id":46444,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:54:59] local.INFO: IMEI acknowledgment sent {"connection_id":46444,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:55:00] local.INFO: TCP Data received {"connection_id":46443,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0900e8012d19cdc007201930002e008f2e..."} 
[2026-04-17 20:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46443,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0900e8012d19cdc007201930002e008f2e..."} 
[2026-04-17 20:55:00] local.INFO: Processing buffer {"connection_id":46443,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0900e8012d19cdc007201930002e008f2e..."} 
[2026-04-17 20:55:00] local.INFO: Packet analysis {"connection_id":46443,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c09"} 
[2026-04-17 20:55:00] local.INFO: Extracted packet for processing {"connection_id":46443,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c09"} 
[2026-04-17 20:55:00] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544112,"longitude_deg":75.6665792,"latitude_deg":11.9544112,"altitude":46,"angle":143,"satellites":46,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201930","is_valid_coordinates":true} 
[2026-04-17 20:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:55:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768462848001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:55:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542545711038464,"note":"Value kept but may cause issues"} 
[2026-04-17 20:55:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20: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-04-17 20:55:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776439329000,"timestamp_ms":1776439329000,"timestamp_seconds":1776439329,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0900e8"} 
[2026-04-17 20:55:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:55: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-04-17 20:55:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":36,"data_length":795,"current_offset":136} 
[2026-04-17 20:55:00] 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-04-17 20:55:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:55:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:55:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:55:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46443,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:55:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:55:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46443,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:55:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:55:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:55:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:55:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768462848001,"66":12558,"121":206,"28":31744,"24":0,"16":113542545711038464,"45":1859353358009708544},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:55:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:55:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:55:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768462848001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:55:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:55:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:55:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542545711038464,"km_value":113542545711038.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:55:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009708544,"description":"Unknown IO ID 45"} 
[2026-04-17 20:55:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768462848001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859353358009708544}} 
[2026-04-17 20:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":46443,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23057,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:55:01] local.INFO: GPS data processed {"connection_id":46443,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:55:01] local.INFO: Acknowledgment sent {"connection_id":46443,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:55:01] local.INFO: TCP Data received {"connection_id":46444,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0952f0012d769dc005e97468000d01522c..."} 
[2026-04-17 20:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0952f0012d769dc005e97468000d01522c..."} 
[2026-04-17 20:55:01] local.INFO: Processing buffer {"connection_id":46444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0952f0012d769dc005e97468000d01522c..."} 
[2026-04-17 20:55:01] local.INFO: Packet analysis {"connection_id":46444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c09"} 
[2026-04-17 20:55:01] local.INFO: Extracted packet for processing {"connection_id":46444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c09"} 
[2026-04-17 20:55:01] local.INFO: GPS Element Parsed {"raw_longitude":762748352,"raw_latitude":99185768,"longitude_deg":76.2748352,"latitude_deg":9.9185768,"altitude":13,"angle":338,"satellites":44,"speed":21,"hex_longitude":"2d769dc0","hex_latitude":"05e97468","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768469248001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274274674492309504,"note":"Value kept but may cause issues"} 
[2026-04-17 20:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8550857974138165248,"note":"Value kept but may cause issues"} 
[2026-04-17 20:55:01] 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-04-17 20:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776439350000,"timestamp_ms":1776439350000,"timestamp_seconds":1776439350,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0952f0"} 
[2026-04-17 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-04-17 20:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 20:55: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-04-17 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-04-17 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-04-17 20:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20: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-04-17 20:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768469248001,"66":27365,"39":206,"87":12288,"24":21,"16":274274674492309504,"45":8550857974138165248},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-17 20:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768469248001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:55:01] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-17 20:55:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274274674492309504,"km_value":274274674492309.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8550857974138165248,"description":"Unknown IO ID 45"} 
[2026-04-17 20:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768469248001,"power":27365,"unknown_39":206,"unknown_87":12288,"ignition":21,"odometer":null,"unknown_45":8550857974138165248}} 
[2026-04-17 20:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":46444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23058,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:55:01] local.INFO: GPS data processed {"connection_id":46444,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:55:01] local.INFO: Acknowledgment sent {"connection_id":46444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:55:04] local.INFO: TCP Data received {"connection_id":46445,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:55:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46445,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:55:04] local.INFO: Processing buffer {"connection_id":46445,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 20:55:04] local.INFO: IMEI packet received {"connection_id":46445,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 20:55:04] local.INFO: IMEI acknowledgment sent {"connection_id":46445,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:55:05] local.INFO: TCP Data received {"connection_id":46444,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c098d88012d76908005e995a8000f01552b..."} 
[2026-04-17 20:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46444,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c098d88012d76908005e995a8000f01552b..."} 
[2026-04-17 20:55:05] local.INFO: Processing buffer {"connection_id":46444,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c098d88012d76908005e995a8000f01552b..."} 
[2026-04-17 20:55:05] local.INFO: Packet analysis {"connection_id":46444,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c09"} 
[2026-04-17 20:55:05] local.INFO: Extracted packet for processing {"connection_id":46444,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c09"} 
[2026-04-17 20:55:05] local.INFO: GPS Element Parsed {"raw_longitude":762744960,"raw_latitude":99194280,"longitude_deg":76.274496,"latitude_deg":9.919428,"altitude":15,"angle":341,"satellites":43,"speed":25,"hex_longitude":"2d769080","hex_latitude":"05e995a8","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768473600001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274275116873940992,"note":"Value kept but may cause issues"} 
[2026-04-17 20:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8547198799443159040,"note":"Value kept but may cause issues"} 
[2026-04-17 20:55:05] 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-04-17 20:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776439365000,"timestamp_ms":1776439365000,"timestamp_seconds":1776439365,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c098d88"} 
[2026-04-17 20:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:55: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-04-17 20: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 20:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46444,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46444,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:55: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-04-17 20:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768473600001,"66":27484,"39":206,"87":12288,"24":25,"16":274275116873940992,"45":8547198799443159040},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-17 20:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768473600001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:55:05] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-17 20:55:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274275116873940992,"km_value":274275116873941.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8547198799443159040,"description":"Unknown IO ID 45"} 
[2026-04-17 20:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768473600001,"power":27484,"unknown_39":206,"unknown_87":12288,"ignition":25,"odometer":null,"unknown_45":8547198799443159040}} 
[2026-04-17 20:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":46444,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23059,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:55:05] local.INFO: GPS data processed {"connection_id":46444,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:55:05] local.INFO: Acknowledgment sent {"connection_id":46444,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:55:21] local.INFO: TCP Data received {"connection_id":46099,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:55:21] local.INFO: Processing buffer {"connection_id":46099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:55:21] local.INFO: IMEI packet received {"connection_id":46099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":46099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:55:26] local.INFO: TCP Data received {"connection_id":46099,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46099,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:55:26] local.INFO: Processing buffer {"connection_id":46099,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:55:26] local.INFO: IMEI packet received {"connection_id":46099,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":46099,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:55:28] local.INFO: TCP Data received {"connection_id":46099,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0952f0012d19cdc007201930002e008f2b..."} 
[2026-04-17 20:55:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0952f0012d19cdc007201930002e008f2b..."} 
[2026-04-17 20:55:28] local.INFO: Processing buffer {"connection_id":46099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0952f0012d19cdc007201930002e008f2b..."} 
[2026-04-17 20:55:28] local.INFO: Packet analysis {"connection_id":46099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c09"} 
[2026-04-17 20:55:28] local.INFO: Extracted packet for processing {"connection_id":46099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c09"} 
[2026-04-17 20:55:28] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544112,"longitude_deg":75.6665792,"latitude_deg":11.9544112,"altitude":46,"angle":143,"satellites":43,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201930","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768468224001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:55:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542545711038464,"note":"Value kept but may cause issues"} 
[2026-04-17 20:55:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:55: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-04-17 20:55:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776439350000,"timestamp_ms":1776439350000,"timestamp_seconds":1776439350,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0952f0"} 
[2026-04-17 20:55:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:55: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-04-17 20: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 20:55:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428991,"note":"Value kept but may cause issues"} 
[2026-04-17 20:55:28] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2617709752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:55:28] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249854830761482544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:55:28] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3221692441,"corrected_to":0} 
[2026-04-17 20:55:28] local.WARNING: Large IO value detected {"io_id":102,"raw_value":3221302553,"note":"Value kept but may cause issues"} 
[2026-04-17 20:55:28] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-04-17 20:55:28] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-17 20:55:28] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-04-17 20:55:28] local.INFO: IO Element Parsed {"io_data_count":36,"io_data_keys":[0,121,28,24,241,158,16,98,157,174,45,192,25,46,10,66,92,44,1,240,14,156,32,4,113,205,102,48,239,47,2,147,7,231,85,206],"length":575,"final_offset":705,"validated_count":36,"validation_warnings":[{"io_id":205,"original":3221692441,"validated":0}]} 
[2026-04-17 20:55:28] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314806753475952640,"timestamp_seconds":3314806753475952.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 20:55:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:55:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:55:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:55:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:55:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:55:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:55:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:55:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:55:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768468224001,"66":12385,"121":206,"28":31744,"24":0,"16":113542545711038464,"45":1859353358009708544},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:55:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:55:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:55:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768468224001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:55:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:55:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:55:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542545711038464,"km_value":113542545711038.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:55:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009708544,"description":"Unknown IO ID 45"} 
[2026-04-17 20:55:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768468224001,"power":12385,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859353358009708544}} 
[2026-04-17 20:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":46099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23060,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:55:28] local.INFO: GPS data processed {"connection_id":46099,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:55:28] local.INFO: Acknowledgment sent {"connection_id":46099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:55:49] local.INFO: TCP Data received {"connection_id":46952,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:55:49] local.INFO: Processing buffer {"connection_id":46952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:55:49] local.INFO: IMEI packet received {"connection_id":46952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":46952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:55:49] local.INFO: TCP Data received {"connection_id":46952,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:55:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:55:49] local.INFO: Processing buffer {"connection_id":46952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:55:49] local.INFO: IMEI packet received {"connection_id":46952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:55:49] local.INFO: IMEI acknowledgment sent {"connection_id":46952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:55:55] local.INFO: TCP Data received {"connection_id":46952,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46952,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:55:55] local.INFO: Processing buffer {"connection_id":46952,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:55:55] local.INFO: IMEI packet received {"connection_id":46952,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":46952,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:56:00] local.INFO: TCP Data received {"connection_id":46099,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c09a4f8012d19cdc007201930002e008f2e..."} 
[2026-04-17 20:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46099,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c09a4f8012d19cdc007201930002e008f2e..."} 
[2026-04-17 20:56:00] local.INFO: Processing buffer {"connection_id":46099,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c09a4f8012d19cdc007201930002e008f2e..."} 
[2026-04-17 20:56:00] local.INFO: Packet analysis {"connection_id":46099,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c09"} 
[2026-04-17 20:56:00] local.INFO: Extracted packet for processing {"connection_id":46099,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c09"} 
[2026-04-17 20:56:00] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544112,"longitude_deg":75.6665792,"latitude_deg":11.9544112,"altitude":46,"angle":143,"satellites":46,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201930","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768473600001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542545711038464,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009708544,"note":"Value kept but may cause issues"} 
[2026-04-17 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-04-17 20:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776439371000,"timestamp_ms":1776439371000,"timestamp_seconds":1776439371,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c09a4f8"} 
[2026-04-17 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-04-17 20:56: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-04-17 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":48,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 20:56: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-04-17 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-04-17 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-04-17 20:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46099,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46099,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768473600001,"66":12298,"121":206,"28":31744,"24":0,"16":113542545711038464,"45":1859353358009708544},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768473600001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:56:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:56:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542545711038464,"km_value":113542545711038.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009708544,"description":"Unknown IO ID 45"} 
[2026-04-17 20:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768473600001,"power":12298,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859353358009708544}} 
[2026-04-17 20:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":46099,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23061,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:56:00] local.INFO: GPS data processed {"connection_id":46099,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:56:00] local.INFO: Acknowledgment sent {"connection_id":46099,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:56:00] local.INFO: TCP Data received {"connection_id":46952,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c09c438012d76820005e9b618000e014b2e..."} 
[2026-04-17 20:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c09c438012d76820005e9b618000e014b2e..."} 
[2026-04-17 20:56:00] local.INFO: Processing buffer {"connection_id":46952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c09c438012d76820005e9b618000e014b2e..."} 
[2026-04-17 20:56:00] local.INFO: Packet analysis {"connection_id":46952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c09"} 
[2026-04-17 20:56:00] local.INFO: Extracted packet for processing {"connection_id":46952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c09"} 
[2026-04-17 20:56:00] local.INFO: GPS Element Parsed {"raw_longitude":762741248,"raw_latitude":99202584,"longitude_deg":76.2741248,"latitude_deg":9.9202584,"altitude":14,"angle":331,"satellites":46,"speed":13,"hex_longitude":"2d768200","hex_latitude":"05e9b618","is_valid_coordinates":true} 
[2026-04-17 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-04-17 20:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768477440001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274275559255572480,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8543469256003921920,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,35,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776439379000,"timestamp_ms":1776439379000,"timestamp_seconds":1776439379,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c09c438"} 
[2026-04-17 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-04-17 20:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 20:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 20:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:56: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-04-17 20:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768477440001,"66":27300,"35":206,"87":12288,"24":13,"16":274275559255572480,"45":8543469256003921920},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,35,87,24,16,45]} 
[2026-04-17 20:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768477440001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:56:00] local.INFO: Unknown IO ID detected {"io_id":35,"value":206,"description":"Unknown IO ID 35"} 
[2026-04-17 20:56:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274275559255572480,"km_value":274275559255572.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8543469256003921920,"description":"Unknown IO ID 45"} 
[2026-04-17 20:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768477440001,"power":27300,"unknown_35":206,"unknown_87":12288,"ignition":13,"odometer":null,"unknown_45":8543469256003921920}} 
[2026-04-17 20:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":46952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23062,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:56:00] local.INFO: GPS data processed {"connection_id":46952,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:56:00] local.INFO: Acknowledgment sent {"connection_id":46952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:56:21] local.INFO: TCP Data received {"connection_id":46212,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:56:21] local.INFO: Processing buffer {"connection_id":46212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:56:21] local.INFO: IMEI packet received {"connection_id":46212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":46212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:56:26] local.INFO: TCP Data received {"connection_id":46212,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46212,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:56:26] local.INFO: Processing buffer {"connection_id":46212,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:56:26] local.INFO: IMEI packet received {"connection_id":46212,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":46212,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:56:27] local.INFO: TCP Data received {"connection_id":46212,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c09f700012d19cdc007201930002e008f27..."} 
[2026-04-17 20:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c09f700012d19cdc007201930002e008f27..."} 
[2026-04-17 20:56:27] local.INFO: Processing buffer {"connection_id":46212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c09f700012d19cdc007201930002e008f27..."} 
[2026-04-17 20:56:27] local.INFO: Packet analysis {"connection_id":46212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c09"} 
[2026-04-17 20:56:27] local.INFO: Extracted packet for processing {"connection_id":46212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c09"} 
[2026-04-17 20:56:27] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544112,"longitude_deg":75.6665792,"latitude_deg":11.9544112,"altitude":46,"angle":143,"satellites":39,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201930","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768478976001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542545711038464,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20: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-04-17 20:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776439392000,"timestamp_ms":1776439392000,"timestamp_seconds":1776439392,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c09f700"} 
[2026-04-17 20:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:56: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-04-17 20: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":10,"data_length":795,"current_offset":136} 
[2026-04-17 20:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1152639733260614656,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:27] local.WARNING: Large IO value detected {"io_id":28,"raw_value":8935168048982131200,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:27] local.WARNING: Large IO value detected {"io_id":241,"raw_value":173825917452691,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:27] local.WARNING: Large IO value detected {"io_id":98,"raw_value":6341068275337658369,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:27] local.WARNING: Large IO value detected {"io_id":157,"raw_value":-7203676104116332083,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:27] local.WARNING: Large IO value detected {"io_id":192,"raw_value":513438051472375951,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:27] local.WARNING: Large IO value detected {"io_id":46,"raw_value":40299300181245952,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:27] local.WARNING: Large IO value detected {"io_id":10,"raw_value":1126926420832597,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:27] local.WARNING: Large IO value detected {"io_id":66,"raw_value":3507460569143247054,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:27] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3221692441,"corrected_to":0} 
[2026-04-17 20:56:27] local.INFO: IO Element Parsed {"io_data_count":33,"io_data_keys":[0,121,28,24,241,158,16,98,157,82,45,192,25,46,43,10,66,174,1,240,36,156,32,4,113,205,48,239,49,2,147,7,44],"length":534,"final_offset":664,"validated_count":33,"validation_warnings":[{"io_id":205,"original":3221692441,"validated":0}]} 
[2026-04-17 20:56:27] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314806753475952640,"timestamp_seconds":3314806753475952.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 20:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768478976001,"66":12558,"121":206,"28":31744,"24":0,"16":113542545711038464,"45":1859353358009708544},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768478976001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:56:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:56:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542545711038464,"km_value":113542545711038.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009708544,"description":"Unknown IO ID 45"} 
[2026-04-17 20:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768478976001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859353358009708544}} 
[2026-04-17 20:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":46212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23063,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:56:27] local.INFO: GPS data processed {"connection_id":46212,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:56:27] local.INFO: Acknowledgment sent {"connection_id":46212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:56:33] local.INFO: TCP Data received {"connection_id":46952,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0c2598012d76028005eae8b80007012f2c..."} 
[2026-04-17 20:56:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46952,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0c2598012d76028005eae8b80007012f2c..."} 
[2026-04-17 20:56:33] local.INFO: Processing buffer {"connection_id":46952,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0c2598012d76028005eae8b80007012f2c..."} 
[2026-04-17 20:56:33] local.INFO: Packet analysis {"connection_id":46952,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0c"} 
[2026-04-17 20:56:33] local.INFO: Extracted packet for processing {"connection_id":46952,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0c"} 
[2026-04-17 20:56:33] local.INFO: GPS Element Parsed {"raw_longitude":762708608,"raw_latitude":99281080,"longitude_deg":76.2708608,"latitude_deg":9.928108,"altitude":7,"angle":303,"satellites":44,"speed":21,"hex_longitude":"2d760280","hex_latitude":"05eae8b8","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:56:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768520448001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274279699604045824,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8504344234263195648,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:56:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776439535000,"timestamp_ms":1776439535000,"timestamp_seconds":1776439535,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0c2598"} 
[2026-04-17 20:56:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:56: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-04-17 20: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":196,"data_length":795,"current_offset":136} 
[2026-04-17 20:56:33] 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-04-17 20: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-04-17 20:56:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:56:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:56:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46952,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:56:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:56:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46952,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:56:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:56:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:56:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:56:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768520448001,"66":27321,"185":206,"87":12288,"24":21,"16":274279699604045824,"45":8504344234263195648},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,87,24,16,45]} 
[2026-04-17 20:56:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:56:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:56:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768520448001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:56:33] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-17 20:56:33] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:56:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274279699604045824,"km_value":274279699604045.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:56:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8504344234263195648,"description":"Unknown IO ID 45"} 
[2026-04-17 20:56:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768520448001,"power":27321,"unknown_185":206,"unknown_87":12288,"ignition":21,"odometer":null,"unknown_45":8504344234263195648}} 
[2026-04-17 20:56:33] local.INFO: DEBUG: GPS processor result {"connection_id":46952,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23064,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:56:33] local.INFO: GPS data processed {"connection_id":46952,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:56:33] local.INFO: Acknowledgment sent {"connection_id":46952,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:56:50] local.INFO: TCP Data received {"connection_id":46100,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:56:50] local.INFO: Processing buffer {"connection_id":46100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:56:50] local.INFO: IMEI packet received {"connection_id":46100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":46100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:56:52] local.INFO: TCP Data received {"connection_id":46100,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:56:52] local.INFO: Processing buffer {"connection_id":46100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:56:52] local.INFO: IMEI packet received {"connection_id":46100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":46100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:56:54] local.INFO: TCP Data received {"connection_id":46100,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46100,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:56:54] local.INFO: Processing buffer {"connection_id":46100,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:56:54] local.INFO: IMEI packet received {"connection_id":46100,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":46100,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:56:55] local.INFO: TCP Data received {"connection_id":46100,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0c5c48012d75e78005eaf9780009013b2c..."} 
[2026-04-17 20:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0c5c48012d75e78005eaf9780009013b2c..."} 
[2026-04-17 20:56:55] local.INFO: Processing buffer {"connection_id":46100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0c5c48012d75e78005eaf9780009013b2c..."} 
[2026-04-17 20:56:55] local.INFO: Packet analysis {"connection_id":46100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0c"} 
[2026-04-17 20:56:55] local.INFO: Extracted packet for processing {"connection_id":46100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0c"} 
[2026-04-17 20:56:55] local.INFO: GPS Element Parsed {"raw_longitude":762701696,"raw_latitude":99285368,"longitude_deg":76.2701696,"latitude_deg":9.9285368,"altitude":9,"angle":315,"satellites":44,"speed":16,"hex_longitude":"2d75e780","hex_latitude":"05eaf978","is_valid_coordinates":true} 
[2026-04-17 20:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:56:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768520960001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274280090446069760,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8503499809333229568,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:56:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776439549000,"timestamp_ms":1776439549000,"timestamp_seconds":1776439549,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0c5c48"} 
[2026-04-17 20:56:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:56: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-04-17 20:56:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 20:56:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:56:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:56:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:56:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:56:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:56:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:56:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:56:55] 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-04-17 20:56:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:56:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:56:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768520960001,"66":27463,"185":206,"87":12288,"24":16,"16":274280090446069760,"45":8503499809333229568},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,87,24,16,45]} 
[2026-04-17 20:56:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:56:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:56:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768520960001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:56:55] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-17 20:56:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:56:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274280090446069760,"km_value":274280090446069.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:56:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8503499809333229568,"description":"Unknown IO ID 45"} 
[2026-04-17 20:56:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768520960001,"power":27463,"unknown_185":206,"unknown_87":12288,"ignition":16,"odometer":null,"unknown_45":8503499809333229568}} 
[2026-04-17 20:56:55] local.INFO: DEBUG: GPS processor result {"connection_id":46100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23065,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:56:55] local.INFO: GPS data processed {"connection_id":46100,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:56:55] local.INFO: Acknowledgment sent {"connection_id":46100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:56:58] local.INFO: TCP Data received {"connection_id":46212,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0a4908012d19cdc007201930002e008f2a..."} 
[2026-04-17 20:56:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0a4908012d19cdc007201930002e008f2a..."} 
[2026-04-17 20:56:58] local.INFO: Processing buffer {"connection_id":46212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0a4908012d19cdc007201930002e008f2a..."} 
[2026-04-17 20:56:58] local.INFO: Packet analysis {"connection_id":46212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0a"} 
[2026-04-17 20:56:58] local.INFO: Extracted packet for processing {"connection_id":46212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0a"} 
[2026-04-17 20:56:58] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544112,"longitude_deg":75.6665792,"latitude_deg":11.9544112,"altitude":46,"angle":143,"satellites":42,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201930","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768484352001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542545711038464,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56: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-04-17 20:56:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776439413000,"timestamp_ms":1776439413000,"timestamp_seconds":1776439413,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0a4908"} 
[2026-04-17 20:56:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:56: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-04-17 20:56:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 20:56:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428991,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:58] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2617772752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:58] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249854830761482544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:58] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3221692441,"corrected_to":0} 
[2026-04-17 20:56:58] local.WARNING: Large IO value detected {"io_id":92,"raw_value":3623955737,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:58] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:58] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:58] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-04-17 20:56:58] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,98,157,164,45,192,25,46,10,66,82,43,1,240,14,156,32,4,113,205,92,48,44,239,49,2,147,7,231,85,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3221692441,"validated":0}]} 
[2026-04-17 20:56:58] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314806723411181568,"timestamp_seconds":3314806723411181.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 20:56:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:56:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:56:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:56:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:56:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46212,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:56:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:56:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:56:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:56:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768484352001,"66":12558,"121":206,"28":31744,"24":0,"16":113542545711038464,"45":1859353358009708544},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:56:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:56:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:56:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768484352001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:56:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:56:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:56:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542545711038464,"km_value":113542545711038.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:56:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009708544,"description":"Unknown IO ID 45"} 
[2026-04-17 20:56:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768484352001,"power":12558,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859353358009708544}} 
[2026-04-17 20:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":46212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23066,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:56:59] local.INFO: GPS data processed {"connection_id":46212,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:56:59] local.INFO: Acknowledgment sent {"connection_id":46212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:57:26] local.INFO: TCP Data received {"connection_id":46100,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0c6800012d75e50005eafd70000901492e..."} 
[2026-04-17 20:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46100,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0c6800012d75e50005eafd70000901492e..."} 
[2026-04-17 20:57:26] local.INFO: Processing buffer {"connection_id":46100,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0c6800012d75e50005eafd70000901492e..."} 
[2026-04-17 20:57:26] local.INFO: Packet analysis {"connection_id":46100,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0c"} 
[2026-04-17 20:57:26] local.INFO: Extracted packet for processing {"connection_id":46100,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0c"} 
[2026-04-17 20:57:26] local.INFO: GPS Element Parsed {"raw_longitude":762701056,"raw_latitude":99286384,"longitude_deg":76.2701056,"latitude_deg":9.9286384,"altitude":9,"angle":329,"satellites":46,"speed":12,"hex_longitude":"2d75e500","hex_latitude":"05eafd70","is_valid_coordinates":true} 
[2026-04-17 20:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:57:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768524544001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274280150575611904,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8495899984963139584,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,185,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:57:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776439552000,"timestamp_ms":1776439552000,"timestamp_seconds":1776439552,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0c6800"} 
[2026-04-17 20:57:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:57: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-04-17 20:57:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 20:57:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:57:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:57:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:57:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:57:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46100,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:57:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:57:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46100,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:57:26] 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-04-17 20:57:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:57:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:57:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768524544001,"66":27517,"185":206,"87":12288,"24":12,"16":274280150575611904,"45":8495899984963139584},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,185,87,24,16,45]} 
[2026-04-17 20:57:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:57:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:57:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768524544001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:57:26] local.INFO: Unknown IO ID detected {"io_id":185,"value":206,"description":"Unknown IO ID 185"} 
[2026-04-17 20:57:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:57:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274280150575611904,"km_value":274280150575611.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:57:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8495899984963139584,"description":"Unknown IO ID 45"} 
[2026-04-17 20:57:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768524544001,"power":27517,"unknown_185":206,"unknown_87":12288,"ignition":12,"odometer":null,"unknown_45":8495899984963139584}} 
[2026-04-17 20:57:26] local.INFO: DEBUG: GPS processor result {"connection_id":46100,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23067,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:57:26] local.INFO: GPS data processed {"connection_id":46100,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:57:26] local.INFO: Acknowledgment sent {"connection_id":46100,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:57:26] local.INFO: TCP Data received {"connection_id":46213,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:57:26] local.INFO: Processing buffer {"connection_id":46213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:57:26] local.INFO: IMEI packet received {"connection_id":46213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":46213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:57:31] local.INFO: TCP Data received {"connection_id":46213,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46213,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:57:31] local.INFO: Processing buffer {"connection_id":46213,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:57:31] local.INFO: IMEI packet received {"connection_id":46213,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":46213,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:57:33] local.INFO: TCP Data received {"connection_id":46213,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0a9b10012d19cdc007201930002e008f2a..."} 
[2026-04-17 20:57:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0a9b10012d19cdc007201930002e008f2a..."} 
[2026-04-17 20:57:33] local.INFO: Processing buffer {"connection_id":46213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0a9b10012d19cdc007201930002e008f2a..."} 
[2026-04-17 20:57:33] local.INFO: Packet analysis {"connection_id":46213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0a"} 
[2026-04-17 20:57:33] local.INFO: Extracted packet for processing {"connection_id":46213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0a"} 
[2026-04-17 20:57:33] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544112,"longitude_deg":75.6665792,"latitude_deg":11.9544112,"altitude":46,"angle":143,"satellites":42,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201930","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768489728001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542545711038464,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57: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-04-17 20:57:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776439434000,"timestamp_ms":1776439434000,"timestamp_seconds":1776439434,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0a9b10"} 
[2026-04-17 20:57:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:57: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-04-17 20: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":49,"n8_eight_byte":14,"data_length":795,"current_offset":136} 
[2026-04-17 20:57:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":-1080863231561428991,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57:33] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2617793752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57:33] local.WARNING: Large IO value detected {"io_id":1,"raw_value":3249854830761482544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57:33] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3221692441,"corrected_to":0} 
[2026-04-17 20:57:33] local.WARNING: Large IO value detected {"io_id":174,"raw_value":3758173465,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57:33] local.WARNING: Large IO value detected {"io_id":231,"raw_value":8719195500324067328,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57:33] local.WARNING: Large IO value detected {"io_id":85,"raw_value":67555095079878660,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57:33] local.WARNING: Large IO value detected {"io_id":206,"raw_value":2052515633253318658,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57:33] local.INFO: IO Element Parsed {"io_data_count":37,"io_data_keys":[0,121,28,24,241,158,16,98,157,247,45,192,25,46,39,10,66,164,82,1,240,97,156,32,4,113,205,174,48,239,49,2,147,7,231,85,206],"length":575,"final_offset":705,"validated_count":37,"validation_warnings":[{"io_id":205,"original":3221692441,"validated":0}]} 
[2026-04-17 20:57:33] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3314806736296083456,"timestamp_seconds":3314806736296083.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 20:57:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:57:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:57:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:57:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:57:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:57:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:57:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:57:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:57:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768489728001,"66":12504,"121":206,"28":31744,"24":0,"16":113542545711038464,"45":1859353358009708544},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:57:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:57:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:57:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768489728001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:57:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:57:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:57:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542545711038464,"km_value":113542545711038.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:57:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009708544,"description":"Unknown IO ID 45"} 
[2026-04-17 20:57:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768489728001,"power":12504,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859353358009708544}} 
[2026-04-17 20:57:33] local.INFO: DEBUG: GPS processor result {"connection_id":46213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23068,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:57:33] local.INFO: GPS data processed {"connection_id":46213,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:57:33] local.INFO: Acknowledgment sent {"connection_id":46213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:57:37] local.INFO: TCP Data received {"connection_id":46213,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0aed18012d19cdc007201930002e008f2c..."} 
[2026-04-17 20:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0aed18012d19cdc007201930002e008f2c..."} 
[2026-04-17 20:57:37] local.INFO: Processing buffer {"connection_id":46213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0aed18012d19cdc007201930002e008f2c..."} 
[2026-04-17 20:57:37] local.INFO: Packet analysis {"connection_id":46213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0a"} 
[2026-04-17 20:57:37] local.INFO: Extracted packet for processing {"connection_id":46213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0a"} 
[2026-04-17 20:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756665792,"raw_latitude":119544112,"longitude_deg":75.6665792,"latitude_deg":11.9544112,"altitude":46,"angle":143,"satellites":44,"speed":0,"hex_longitude":"2d19cdc0","hex_latitude":"07201930","is_valid_coordinates":true} 
[2026-04-17 20: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-04-17 20:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768495104001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542545711038464,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859353358009708544,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57: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-04-17 20:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776439455000,"timestamp_ms":1776439455000,"timestamp_seconds":1776439455,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0aed18"} 
[2026-04-17 20:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:57: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-04-17 20: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":48,"n8_eight_byte":216,"data_length":795,"current_offset":136} 
[2026-04-17 20:57: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-04-17 20: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-04-17 20:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46213,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768495104001,"66":12548,"121":206,"28":31744,"24":0,"16":113542545711038464,"45":1859353358009708544},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768495104001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:57:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542545711038464,"km_value":113542545711038.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859353358009708544,"description":"Unknown IO ID 45"} 
[2026-04-17 20:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768495104001,"power":12548,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1859353358009708544}} 
[2026-04-17 20:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":46213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23069,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:57:37] local.INFO: GPS data processed {"connection_id":46213,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:57:37] local.INFO: Acknowledgment sent {"connection_id":46213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:57:49] local.INFO: TCP Data received {"connection_id":46953,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:57:49] local.INFO: Processing buffer {"connection_id":46953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:57:49] local.INFO: IMEI packet received {"connection_id":46953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":46953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:57:49] local.INFO: TCP Data received {"connection_id":46953,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:57:49] local.INFO: Processing buffer {"connection_id":46953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:57:49] local.INFO: IMEI packet received {"connection_id":46953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":46953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:57:50] local.INFO: TCP Data received {"connection_id":46953,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:57:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:57:50] local.INFO: Processing buffer {"connection_id":46953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:57:50] local.INFO: IMEI packet received {"connection_id":46953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:57:50] local.INFO: IMEI acknowledgment sent {"connection_id":46953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:57:55] local.INFO: TCP Data received {"connection_id":46953,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46953,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:57:55] local.INFO: Processing buffer {"connection_id":46953,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:57:55] local.INFO: IMEI packet received {"connection_id":46953,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":46953,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:57:56] local.INFO: TCP Data received {"connection_id":46953,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0d8cf8012d757a8005eb6458000700072c..."} 
[2026-04-17 20:57:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0d8cf8012d757a8005eb6458000700072c..."} 
[2026-04-17 20:57:56] local.INFO: Processing buffer {"connection_id":46953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0d8cf8012d757a8005eb6458000700072c..."} 
[2026-04-17 20:57:56] local.INFO: Packet analysis {"connection_id":46953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0d"} 
[2026-04-17 20:57:57] local.INFO: Extracted packet for processing {"connection_id":46953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0d"} 
[2026-04-17 20:57:57] local.INFO: GPS Element Parsed {"raw_longitude":762673792,"raw_latitude":99312728,"longitude_deg":76.2673792,"latitude_deg":9.9312728,"altitude":7,"angle":7,"satellites":44,"speed":8,"hex_longitude":"2d757a80","hex_latitude":"05eb6458","is_valid_coordinates":true} 
[2026-04-17 20:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:57:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768544256001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274282079015927808,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465148843764445184,"note":"Value kept but may cause issues"} 
[2026-04-17 20:57:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:57:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776439627000,"timestamp_ms":1776439627000,"timestamp_seconds":1776439627,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0d8cf8"} 
[2026-04-17 20:57:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:57: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-04-17 20:57:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 20:57:57] 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-04-17 20:57:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:57:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:57:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:57:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:57:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:57:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:57:57] 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-04-17 20:57:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:57:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:57:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768544256001,"66":27343,"186":206,"87":12288,"24":8,"16":274282079015927808,"45":8465148843764445184},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-04-17 20:57:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:57:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:57:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768544256001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:57:57] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-17 20:57:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:57:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274282079015927808,"km_value":274282079015927.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:57:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465148843764445184,"description":"Unknown IO ID 45"} 
[2026-04-17 20:57:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768544256001,"power":27343,"unknown_186":206,"unknown_87":12288,"ignition":8,"odometer":null,"unknown_45":8465148843764445184}} 
[2026-04-17 20:57:57] local.INFO: DEBUG: GPS processor result {"connection_id":46953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23070,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:57:57] local.INFO: GPS data processed {"connection_id":46953,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:57:57] local.INFO: Acknowledgment sent {"connection_id":46953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:58:17] local.INFO: TCP Data received {"connection_id":46214,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:58:17] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:58:17] local.INFO: Processing buffer {"connection_id":46214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:58:17] local.INFO: IMEI packet received {"connection_id":46214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:58:17] local.INFO: IMEI acknowledgment sent {"connection_id":46214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:58:21] local.INFO: TCP Data received {"connection_id":46214,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:58:21] local.INFO: Processing buffer {"connection_id":46214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:58:21] local.INFO: IMEI packet received {"connection_id":46214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":46214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:58:22] local.INFO: TCP Data received {"connection_id":46214,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:58:22] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:58:22] local.INFO: Processing buffer {"connection_id":46214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:58:22] local.INFO: IMEI packet received {"connection_id":46214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:58:22] local.INFO: IMEI acknowledgment sent {"connection_id":46214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:58:23] local.INFO: TCP Data received {"connection_id":46214,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:58:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46214,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:58:23] local.INFO: Processing buffer {"connection_id":46214,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:58:23] local.INFO: IMEI packet received {"connection_id":46214,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:58:23] local.INFO: IMEI acknowledgment sent {"connection_id":46214,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:58:26] local.INFO: TCP Data received {"connection_id":46214,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0dc790012d19d4c0072011500030007e2e..."} 
[2026-04-17 20:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0dc790012d19d4c0072011500030007e2e..."} 
[2026-04-17 20:58:26] local.INFO: Processing buffer {"connection_id":46214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0dc790012d19d4c0072011500030007e2e..."} 
[2026-04-17 20:58:26] local.INFO: Packet analysis {"connection_id":46214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0d"} 
[2026-04-17 20:58:26] local.INFO: Extracted packet for processing {"connection_id":46214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0d"} 
[2026-04-17 20:58:26] local.INFO: GPS Element Parsed {"raw_longitude":756667584,"raw_latitude":119542096,"longitude_deg":75.6667584,"latitude_deg":11.9542096,"altitude":48,"angle":126,"satellites":46,"speed":20,"hex_longitude":"2d19d4c0","hex_latitude":"07201150","is_valid_coordinates":true} 
[2026-04-17 20:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768547328001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542678855024640,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1859775570474559488,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58: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-04-17 20:58:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776439642000,"timestamp_ms":1776439642000,"timestamp_seconds":1776439642,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0dc790"} 
[2026-04-17 20:58:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:58:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:58:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":12,"data_length":795,"current_offset":136} 
[2026-04-17 20:58:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":44499434867888994,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:26] local.WARNING: Large IO value detected {"io_id":157,"raw_value":2618045752,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:26] local.WARNING: Large IO value detected {"io_id":48,"raw_value":-2882077367465882084,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:26] local.WARNING: Large IO value detected {"io_id":25,"raw_value":-3620886265962954706,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:26] local.WARNING: Large IO value detected {"io_id":1,"raw_value":-7826596445393256448,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:26] local.WARNING: Large IO value detected {"io_id":240,"raw_value":72133464635473986,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:26] local.WARNING: Large IO value detected {"io_id":4,"raw_value":18631052747466617,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:26] local.WARNING: Invalid Cell ID detected {"io_id":205,"raw_value":3221692441,"corrected_to":0} 
[2026-04-17 20:58:26] local.WARNING: Large IO value detected {"io_id":2,"raw_value":67835472039641104,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:26] local.WARNING: Large IO value detected {"io_id":124,"raw_value":6755399441187057,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:26] local.INFO: IO Element Parsed {"io_data_count":34,"io_data_keys":[0,121,28,24,241,158,16,98,157,172,45,192,48,44,10,66,125,25,46,43,1,240,138,156,32,4,113,205,135,239,2,147,7,124],"length":577,"final_offset":707,"validated_count":34,"validation_warnings":[{"io_id":205,"original":3221692441,"validated":0}]} 
[2026-04-17 20:58:26] local.WARNING: AVL record rejected due to invalid timestamp {"raw_timestamp":3458918625837842432,"timestamp_seconds":3458918625837842.5,"min_valid":946684800000,"max_valid":4102444800000,"reason":"Timestamp outside valid range"} 
[2026-04-17 20:58:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:58:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:58:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:58:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:58:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:58:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:58:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:58:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:58:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768547328001,"66":13624,"121":206,"28":31744,"24":20,"16":113542678855024640,"45":1859775570474559488},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:58:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:58:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:58:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768547328001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:58:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:58:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:58:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542678855024640,"km_value":113542678855024.64,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:58:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1859775570474559488,"description":"Unknown IO ID 45"} 
[2026-04-17 20:58:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768547328001,"power":13624,"unknown_121":206,"unknown_28":31744,"ignition":20,"odometer":null,"unknown_45":1859775570474559488}} 
[2026-04-17 20:58:26] local.INFO: DEBUG: GPS processor result {"connection_id":46214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23071,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:58:26] local.INFO: GPS data processed {"connection_id":46214,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:58:26] local.INFO: Acknowledgment sent {"connection_id":46214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:58:27] local.INFO: TCP Data received {"connection_id":46214,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0de2e8012d19de4007200ae80030009e2f..."} 
[2026-04-17 20:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0de2e8012d19de4007200ae80030009e2f..."} 
[2026-04-17 20:58:27] local.INFO: Processing buffer {"connection_id":46214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0de2e8012d19de4007200ae80030009e2f..."} 
[2026-04-17 20:58:27] local.INFO: Packet analysis {"connection_id":46214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0d"} 
[2026-04-17 20:58:27] local.INFO: Extracted packet for processing {"connection_id":46214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0d"} 
[2026-04-17 20:58:27] local.INFO: GPS Element Parsed {"raw_longitude":756670016,"raw_latitude":119540456,"longitude_deg":75.6670016,"latitude_deg":11.9540456,"altitude":48,"angle":158,"satellites":47,"speed":9,"hex_longitude":"2d19de40","hex_latitude":"07200ae8","is_valid_coordinates":true} 
[2026-04-17 20:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768548352001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113542824883912704,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1861323682846167040,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58: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-04-17 20:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776439649000,"timestamp_ms":1776439649000,"timestamp_seconds":1776439649,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0de2e8"} 
[2026-04-17 20:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:58: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-04-17 20:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-17 20:58:27] 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-04-17 20:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768548352001,"66":13537,"121":206,"28":31744,"24":9,"16":113542824883912704,"45":1861323682846167040},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768548352001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:58:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:58:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113542824883912704,"km_value":113542824883912.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1861323682846167040,"description":"Unknown IO ID 45"} 
[2026-04-17 20:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768548352001,"power":13537,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1861323682846167040}} 
[2026-04-17 20:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":46214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23072,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:58:27] local.INFO: GPS data processed {"connection_id":46214,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:58:27] local.INFO: Acknowledgment sent {"connection_id":46214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:58:29] local.INFO: TCP Data received {"connection_id":46953,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0d94c8012d757ac005eb65e8000700192e..."} 
[2026-04-17 20:58:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46953,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0d94c8012d757ac005eb65e8000700192e..."} 
[2026-04-17 20:58:29] local.INFO: Processing buffer {"connection_id":46953,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0d94c8012d757ac005eb65e8000700192e..."} 
[2026-04-17 20:58:29] local.INFO: Packet analysis {"connection_id":46953,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0d"} 
[2026-04-17 20:58:29] local.INFO: Extracted packet for processing {"connection_id":46953,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0d"} 
[2026-04-17 20:58:29] local.INFO: GPS Element Parsed {"raw_longitude":762673856,"raw_latitude":99313128,"longitude_deg":76.2673856,"latitude_deg":9.9313128,"altitude":7,"angle":25,"satellites":46,"speed":10,"hex_longitude":"2d757ac0","hex_latitude":"05eb65e8","is_valid_coordinates":true} 
[2026-04-17 20:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:58:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768544512001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274282096195796992,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465219212508682240,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:58:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776439629000,"timestamp_ms":1776439629000,"timestamp_seconds":1776439629,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0d94c8"} 
[2026-04-17 20:58:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:58: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-04-17 20:58:29] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 20:58: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-04-17 20:58:29] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:58:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:58:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:58:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46953,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:58:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:58:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46953,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:58: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-04-17 20:58:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:58:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:58:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768544512001,"66":27463,"186":206,"87":12288,"24":10,"16":274282096195796992,"45":8465219212508682240},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-04-17 20:58:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:58:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:58:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768544512001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:58:29] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-17 20:58:29] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:58:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274282096195796992,"km_value":274282096195797.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:58:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465219212508682240,"description":"Unknown IO ID 45"} 
[2026-04-17 20:58:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768544512001,"power":27463,"unknown_186":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8465219212508682240}} 
[2026-04-17 20:58:29] local.INFO: DEBUG: GPS processor result {"connection_id":46953,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23073,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:58:29] local.INFO: GPS data processed {"connection_id":46953,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:58:29] local.INFO: Acknowledgment sent {"connection_id":46953,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:58:49] local.INFO: TCP Data received {"connection_id":46447,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:58:49] local.INFO: Processing buffer {"connection_id":46447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:58:49] local.INFO: IMEI packet received {"connection_id":46447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":46447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:58:55] local.INFO: TCP Data received {"connection_id":46447,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46447,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:58:55] local.INFO: Processing buffer {"connection_id":46447,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:58:55] local.INFO: IMEI packet received {"connection_id":46447,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 20:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":46447,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:58:55] local.INFO: TCP Data received {"connection_id":46447,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0d98b0012d757b8005eb66c0000700262e..."} 
[2026-04-17 20:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0d98b0012d757b8005eb66c0000700262e..."} 
[2026-04-17 20:58:55] local.INFO: Processing buffer {"connection_id":46447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0d98b0012d757b8005eb66c0000700262e..."} 
[2026-04-17 20:58:55] local.INFO: Packet analysis {"connection_id":46447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0d"} 
[2026-04-17 20:58:55] local.INFO: Extracted packet for processing {"connection_id":46447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0d"} 
[2026-04-17 20:58:55] local.INFO: GPS Element Parsed {"raw_longitude":762674048,"raw_latitude":99313344,"longitude_deg":76.2674048,"latitude_deg":9.9313344,"altitude":7,"angle":38,"satellites":46,"speed":11,"hex_longitude":"2d757b80","hex_latitude":"05eb66c0","is_valid_coordinates":true} 
[2026-04-17 20:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:58:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768545024001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274282109080698880,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465289581252962304,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:58:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776439630000,"timestamp_ms":1776439630000,"timestamp_seconds":1776439630,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0d98b0"} 
[2026-04-17 20:58:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:58: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-04-17 20:58:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 20:58:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20:58:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:58:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:58:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:58:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:58:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:58:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:58:55] 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-04-17 20:58:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:58:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:58:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768545024001,"66":27463,"186":206,"87":12288,"24":11,"16":274282109080698880,"45":8465289581252962304},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-04-17 20:58:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:58:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:58:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768545024001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:58:55] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-17 20:58:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:58:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274282109080698880,"km_value":274282109080698.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:58:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465289581252962304,"description":"Unknown IO ID 45"} 
[2026-04-17 20:58:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768545024001,"power":27463,"unknown_186":206,"unknown_87":12288,"ignition":11,"odometer":null,"unknown_45":8465289581252962304}} 
[2026-04-17 20:58:55] local.INFO: DEBUG: GPS processor result {"connection_id":46447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23074,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:58:55] local.INFO: GPS data processed {"connection_id":46447,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:58:55] local.INFO: Acknowledgment sent {"connection_id":46447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:58:59] local.INFO: TCP Data received {"connection_id":46214,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0e8310012d19a3c0071ff0f0003500f12b..."} 
[2026-04-17 20:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46214,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0e8310012d19a3c0071ff0f0003500f12b..."} 
[2026-04-17 20:58:59] local.INFO: Processing buffer {"connection_id":46214,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0e8310012d19a3c0071ff0f0003500f12b..."} 
[2026-04-17 20:58:59] local.INFO: Packet analysis {"connection_id":46214,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 20:58:59] local.INFO: Extracted packet for processing {"connection_id":46214,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 20:58:59] local.INFO: GPS Element Parsed {"raw_longitude":756655040,"raw_latitude":119533808,"longitude_deg":75.665504,"latitude_deg":11.9533808,"altitude":53,"angle":241,"satellites":43,"speed":9,"hex_longitude":"2d19a3c0","hex_latitude":"071ff0f0","is_valid_coordinates":true} 
[2026-04-17 20:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768560384001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113543705352208384,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847812883961962496,"note":"Value kept but may cause issues"} 
[2026-04-17 20:58: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-04-17 20:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776439690000,"timestamp_ms":1776439690000,"timestamp_seconds":1776439690,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0e8310"} 
[2026-04-17 20:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":21760,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 20:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":34,"data_length":795,"current_offset":136} 
[2026-04-17 20:58: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-04-17 20:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46214,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46214,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768560384001,"66":13624,"121":206,"28":31744,"24":9,"16":113543705352208384,"45":1847812883961962496},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768560384001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:58:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:58:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113543705352208384,"km_value":113543705352208.39,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847812883961962496,"description":"Unknown IO ID 45"} 
[2026-04-17 20:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768560384001,"power":13624,"unknown_121":206,"unknown_28":31744,"ignition":9,"odometer":null,"unknown_45":1847812883961962496}} 
[2026-04-17 20:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":46214,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23075,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:58:59] local.INFO: GPS data processed {"connection_id":46214,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:58:59] local.INFO: Acknowledgment sent {"connection_id":46214,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:59:25] local.INFO: TCP Data received {"connection_id":46954,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:59:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:59:25] local.INFO: Processing buffer {"connection_id":46954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:59:25] local.INFO: IMEI packet received {"connection_id":46954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 20:59:25] local.INFO: IMEI acknowledgment sent {"connection_id":46954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 20:59:26] local.INFO: TCP Data received {"connection_id":46954,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46954,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:59:26] local.INFO: Processing buffer {"connection_id":46954,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 20:59:26] local.INFO: IMEI packet received {"connection_id":46954,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 20:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":46954,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 20:59:27] local.INFO: TCP Data received {"connection_id":46954,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0e8ec8012d19a000071fef48003601062d..."} 
[2026-04-17 20:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0e8ec8012d19a000071fef48003601062d..."} 
[2026-04-17 20:59:27] local.INFO: Processing buffer {"connection_id":46954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0e8ec8012d19a000071fef48003601062d..."} 
[2026-04-17 20:59:27] local.INFO: Packet analysis {"connection_id":46954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 20:59:27] local.INFO: Extracted packet for processing {"connection_id":46954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 20:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756654080,"raw_latitude":119533384,"longitude_deg":75.665408,"latitude_deg":11.9533384,"altitude":54,"angle":262,"satellites":45,"speed":16,"hex_longitude":"2d19a000","hex_latitude":"071fef48","is_valid_coordinates":true} 
[2026-04-17 20:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768560640001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113543756891815936,"note":"Value kept but may cause issues"} 
[2026-04-17 20:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1847531408985223168,"note":"Value kept but may cause issues"} 
[2026-04-17 20:59: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-04-17 20:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776439693000,"timestamp_ms":1776439693000,"timestamp_seconds":1776439693,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0e8ec8"} 
[2026-04-17 20:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:59: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-04-17 20:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":53,"n8_eight_byte":56,"data_length":795,"current_offset":136} 
[2026-04-17 20:59:27] 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-04-17 20:59:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768560640001,"66":13493,"121":206,"28":31744,"24":16,"16":113543756891815936,"45":1847531408985223168},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768560640001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:59:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:59:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113543756891815936,"km_value":113543756891815.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1847531408985223168,"description":"Unknown IO ID 45"} 
[2026-04-17 20:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768560640001,"power":13493,"unknown_121":206,"unknown_28":31744,"ignition":16,"odometer":null,"unknown_45":1847531408985223168}} 
[2026-04-17 20:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":46954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23076,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:59:27] local.INFO: GPS data processed {"connection_id":46954,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:59:27] local.INFO: Acknowledgment sent {"connection_id":46954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:59:28] local.INFO: TCP Data received {"connection_id":46447,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0d9c98012d757c4005eb6788000700352e..."} 
[2026-04-17 20:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46447,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0d9c98012d757c4005eb6788000700352e..."} 
[2026-04-17 20:59:28] local.INFO: Processing buffer {"connection_id":46447,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0d9c98012d757c4005eb6788000700352e..."} 
[2026-04-17 20:59:28] local.INFO: Packet analysis {"connection_id":46447,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0d"} 
[2026-04-17 20:59:28] local.INFO: Extracted packet for processing {"connection_id":46447,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0d"} 
[2026-04-17 20:59:28] local.INFO: GPS Element Parsed {"raw_longitude":762674240,"raw_latitude":99313544,"longitude_deg":76.267424,"latitude_deg":9.9313544,"altitude":7,"angle":53,"satellites":46,"speed":13,"hex_longitude":"2d757c40","hex_latitude":"05eb6788","is_valid_coordinates":true} 
[2026-04-17 20:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768545280001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274282126260568064,"note":"Value kept but may cause issues"} 
[2026-04-17 20:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465500687485550592,"note":"Value kept but may cause issues"} 
[2026-04-17 20:59:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776439631000,"timestamp_ms":1776439631000,"timestamp_seconds":1776439631,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0d9c98"} 
[2026-04-17 20:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:59: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-04-17 20: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 20:59:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 20: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-04-17 20:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46447,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46447,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 20:59:28] 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-04-17 20:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 20:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 20:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768545280001,"66":27365,"186":206,"87":12288,"24":13,"16":274282126260568064,"45":8465500687485550592},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-04-17 20:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 20:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 20:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768545280001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:59:28] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-17 20:59:28] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 20:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274282126260568064,"km_value":274282126260568.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465500687485550592,"description":"Unknown IO ID 45"} 
[2026-04-17 20:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768545280001,"power":27365,"unknown_186":206,"unknown_87":12288,"ignition":13,"odometer":null,"unknown_45":8465500687485550592}} 
[2026-04-17 20:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":46447,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23077,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:59:28] local.INFO: GPS data processed {"connection_id":46447,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:59:28] local.INFO: Acknowledgment sent {"connection_id":46447,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:59:32] local.INFO: TCP Data received {"connection_id":46954,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0e9698012d199c40071fef98003701152f..."} 
[2026-04-17 20:59:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0e9698012d199c40071fef98003701152f..."} 
[2026-04-17 20:59:32] local.INFO: Processing buffer {"connection_id":46954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0e9698012d199c40071fef98003701152f..."} 
[2026-04-17 20:59:32] local.INFO: Packet analysis {"connection_id":46954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 20:59:32] local.INFO: Extracted packet for processing {"connection_id":46954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 20:59:32] local.INFO: GPS Element Parsed {"raw_longitude":756653120,"raw_latitude":119533464,"longitude_deg":75.665312,"latitude_deg":11.9533464,"altitude":55,"angle":277,"satellites":47,"speed":17,"hex_longitude":"2d199c40","hex_latitude":"071fef98","is_valid_coordinates":true} 
[2026-04-17 20:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 20:59:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768561408001,"note":"Value kept but may cause issues"} 
[2026-04-17 20:59:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113543799841488896,"note":"Value kept but may cause issues"} 
[2026-04-17 20:59:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1846475877822449664,"note":"Value kept but may cause issues"} 
[2026-04-17 20:59:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 20:59:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776439695000,"timestamp_ms":1776439695000,"timestamp_seconds":1776439695,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0e9698"} 
[2026-04-17 20:59:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 20:59: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-04-17 20:59:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":52,"n8_eight_byte":181,"data_length":795,"current_offset":136} 
[2026-04-17 20:59:32] 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-04-17 20:59:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 20:59:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 20:59:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 20:59:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 20:59:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:59:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 20:59:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 20:59:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 20:59:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 20:59:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768561408001,"66":13537,"121":206,"28":31744,"24":17,"16":113543799841488896,"45":1846475877822449664},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 20:59:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 20:59:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 20:59:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768561408001,"description":"Unknown IO ID 0"} 
[2026-04-17 20:59:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 20:59:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 20:59:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113543799841488896,"km_value":113543799841488.89,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 20:59:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1846475877822449664,"description":"Unknown IO ID 45"} 
[2026-04-17 20:59:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768561408001,"power":13537,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1846475877822449664}} 
[2026-04-17 20:59:33] local.INFO: DEBUG: GPS processor result {"connection_id":46954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23078,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 20:59:33] local.INFO: GPS data processed {"connection_id":46954,"processed":1,"errors":0,"total":1} 
[2026-04-17 20:59:33] local.INFO: Acknowledgment sent {"connection_id":46954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 20:59:55] local.INFO: TCP Data received {"connection_id":46215,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:59:55] local.INFO: Processing buffer {"connection_id":46215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 20:59:55] local.INFO: IMEI packet received {"connection_id":46215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 20:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":46215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:00:00] local.INFO: TCP Data received {"connection_id":46215,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46215,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:00:00] local.INFO: Processing buffer {"connection_id":46215,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:00:00] local.INFO: IMEI packet received {"connection_id":46215,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":46215,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:00:01] local.INFO: TCP Data received {"connection_id":46215,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0da080012d757dc005eb6840000700412d..."} 
[2026-04-17 21:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0da080012d757dc005eb6840000700412d..."} 
[2026-04-17 21:00:01] local.INFO: Processing buffer {"connection_id":46215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0da080012d757dc005eb6840000700412d..."} 
[2026-04-17 21:00:01] local.INFO: Packet analysis {"connection_id":46215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0d"} 
[2026-04-17 21:00:01] local.INFO: Extracted packet for processing {"connection_id":46215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0d"} 
[2026-04-17 21:00:01] local.INFO: GPS Element Parsed {"raw_longitude":762674624,"raw_latitude":99313728,"longitude_deg":76.2674624,"latitude_deg":9.9313728,"altitude":7,"angle":65,"satellites":45,"speed":15,"hex_longitude":"2d757dc0","hex_latitude":"05eb6840","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768545536001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274282143440437248,"note":"Value kept but may cause issues"} 
[2026-04-17 21:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8465711793718134784,"note":"Value kept but may cause issues"} 
[2026-04-17 21:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776439632000,"timestamp_ms":1776439632000,"timestamp_seconds":1776439632,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0da080"} 
[2026-04-17 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-04-17 21:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 21:00: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-04-17 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-04-17 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-04-17 21:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:00: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-04-17 21:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768545536001,"66":27365,"186":206,"87":12288,"24":15,"16":274282143440437248,"45":8465711793718134784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-04-17 21:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768545536001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:00:01] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-17 21:00:01] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 21:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274282143440437248,"km_value":274282143440437.25,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8465711793718134784,"description":"Unknown IO ID 45"} 
[2026-04-17 21:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768545536001,"power":27365,"unknown_186":206,"unknown_87":12288,"ignition":15,"odometer":null,"unknown_45":8465711793718134784}} 
[2026-04-17 21:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":46215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23079,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:00:01] local.INFO: GPS data processed {"connection_id":46215,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:00:01] local.INFO: Acknowledgment sent {"connection_id":46215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:00:04] local.INFO: TCP Data received {"connection_id":46954,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0ec578012d1988c0071ff0f0003b010c2b..."} 
[2026-04-17 21:00:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46954,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0ec578012d1988c0071ff0f0003b010c2b..."} 
[2026-04-17 21:00:04] local.INFO: Processing buffer {"connection_id":46954,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0ec578012d1988c0071ff0f0003b010c2b..."} 
[2026-04-17 21:00:04] local.INFO: Packet analysis {"connection_id":46954,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 21:00:04] local.INFO: Extracted packet for processing {"connection_id":46954,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 21:00:04] local.INFO: GPS Element Parsed {"raw_longitude":756648128,"raw_latitude":119533808,"longitude_deg":75.6648128,"latitude_deg":11.9533808,"altitude":59,"angle":268,"satellites":43,"speed":17,"hex_longitude":"2d1988c0","hex_latitude":"071ff0f0","is_valid_coordinates":true} 
[2026-04-17 21:00: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-04-17 21:00:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768561920001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:00:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:00:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1845420346659805184,"note":"Value kept but may cause issues"} 
[2026-04-17 21:00:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:00:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776439707000,"timestamp_ms":1776439707000,"timestamp_seconds":1776439707,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0ec578"} 
[2026-04-17 21:00:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:00: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-04-17 21: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":52,"n8_eight_byte":225,"data_length":795,"current_offset":136} 
[2026-04-17 21:00:04] 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-04-17 21: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-04-17 21:00:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:00:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:00:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46954,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:00:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:00:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46954,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:00:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:00:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:00:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:00:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768561920001,"66":13243,"121":206,"28":31744,"24":17,"16":113544040359657472,"45":1845420346659805184},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:00:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:00:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:00:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768561920001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:00:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:00:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:00:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:00:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1845420346659805184,"description":"Unknown IO ID 45"} 
[2026-04-17 21:00:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768561920001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1845420346659805184}} 
[2026-04-17 21:00:04] local.INFO: DEBUG: GPS processor result {"connection_id":46954,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23080,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:00:04] local.INFO: GPS data processed {"connection_id":46954,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:00:04] local.INFO: Acknowledgment sent {"connection_id":46954,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:00:05] local.INFO: TCP Data received {"connection_id":46215,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0deab8012d759e4005eb7980000d003528..."} 
[2026-04-17 21:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46215,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0deab8012d759e4005eb7980000d003528..."} 
[2026-04-17 21:00:05] local.INFO: Processing buffer {"connection_id":46215,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0deab8012d759e4005eb7980000d003528..."} 
[2026-04-17 21:00:05] local.INFO: Packet analysis {"connection_id":46215,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0d"} 
[2026-04-17 21:00:05] local.INFO: Extracted packet for processing {"connection_id":46215,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0d"} 
[2026-04-17 21:00:05] local.INFO: GPS Element Parsed {"raw_longitude":762682944,"raw_latitude":99318144,"longitude_deg":76.2682944,"latitude_deg":9.9318144,"altitude":13,"angle":53,"satellites":40,"speed":20,"hex_longitude":"2d759e40","hex_latitude":"05eb7980","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768545792001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274282598706970624,"note":"Value kept but may cause issues"} 
[2026-04-17 21:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8466134006183247872,"note":"Value kept but may cause issues"} 
[2026-04-17 21:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,186,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776439651000,"timestamp_ms":1776439651000,"timestamp_seconds":1776439651,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0deab8"} 
[2026-04-17 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-04-17 21:00: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-04-17 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 21:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 21:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46215,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46215,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:00: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-04-17 21:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768545792001,"66":27343,"186":206,"87":12288,"24":20,"16":274282598706970624,"45":8466134006183247872},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,186,87,24,16,45]} 
[2026-04-17 21:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768545792001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:00:05] local.INFO: Unknown IO ID detected {"io_id":186,"value":206,"description":"Unknown IO ID 186"} 
[2026-04-17 21:00:05] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 21:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274282598706970624,"km_value":274282598706970.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8466134006183247872,"description":"Unknown IO ID 45"} 
[2026-04-17 21:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768545792001,"power":27343,"unknown_186":206,"unknown_87":12288,"ignition":20,"odometer":null,"unknown_45":8466134006183247872}} 
[2026-04-17 21:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":46215,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23081,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:00:05] local.INFO: GPS data processed {"connection_id":46215,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:00:05] local.INFO: Acknowledgment sent {"connection_id":46215,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:00:21] local.INFO: TCP Data received {"connection_id":46103,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:00:21] local.INFO: Processing buffer {"connection_id":46103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:00:21] local.INFO: IMEI packet received {"connection_id":46103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":46103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:00:26] local.INFO: TCP Data received {"connection_id":46103,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46103,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:00:26] local.INFO: Processing buffer {"connection_id":46103,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:00:26] local.INFO: IMEI packet received {"connection_id":46103,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":46103,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:00:29] local.INFO: TCP Data received {"connection_id":46216,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:00:29] local.INFO: Processing buffer {"connection_id":46216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:00:29] local.INFO: IMEI packet received {"connection_id":46216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:00:29] local.INFO: IMEI acknowledgment sent {"connection_id":46216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:00:29] local.INFO: TCP Data received {"connection_id":46103,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0ec578012d1988c0071ff0f0003b010c2b..."} 
[2026-04-17 21:00:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0ec578012d1988c0071ff0f0003b010c2b..."} 
[2026-04-17 21:00:29] local.INFO: Processing buffer {"connection_id":46103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0ec578012d1988c0071ff0f0003b010c2b..."} 
[2026-04-17 21:00:29] local.INFO: Packet analysis {"connection_id":46103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 21:00:29] local.INFO: Extracted packet for processing {"connection_id":46103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 21:00:29] local.INFO: GPS Element Parsed {"raw_longitude":756648128,"raw_latitude":119533808,"longitude_deg":75.6648128,"latitude_deg":11.9533808,"altitude":59,"angle":268,"satellites":43,"speed":17,"hex_longitude":"2d1988c0","hex_latitude":"071ff0f0","is_valid_coordinates":true} 
[2026-04-17 21:00: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-04-17 21:00:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768564992001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:00:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:00:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614035456,"note":"Value kept but may cause issues"} 
[2026-04-17 21:00: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-04-17 21:00:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776439707000,"timestamp_ms":1776439707000,"timestamp_seconds":1776439707,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0ec578"} 
[2026-04-17 21:00:29] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:00: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-04-17 21: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-17 21:00: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-04-17 21: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-04-17 21:00:29] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:00:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:00:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:00:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:00:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:00:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:00:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:00:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:00:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768564992001,"66":13243,"121":206,"28":31744,"24":17,"16":113544040359657472,"45":1839931584614035456},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:00:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:00:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:00:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768564992001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:00:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:00:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:00:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:00:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614035456,"description":"Unknown IO ID 45"} 
[2026-04-17 21:00:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768564992001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1839931584614035456}} 
[2026-04-17 21:00:29] local.INFO: DEBUG: GPS processor result {"connection_id":46103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23082,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:00:29] local.INFO: GPS data processed {"connection_id":46103,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:00:29] local.INFO: Acknowledgment sent {"connection_id":46103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:01:01] local.INFO: TCP Data received {"connection_id":46955,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:01:01] local.INFO: Processing buffer {"connection_id":46955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:01:01] local.INFO: IMEI packet received {"connection_id":46955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:01:01] local.INFO: IMEI acknowledgment sent {"connection_id":46955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:01:01] local.INFO: TCP Data received {"connection_id":46103,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0ec578012d1988c0071ff0f0003b010c2b..."} 
[2026-04-17 21:01:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46103,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0ec578012d1988c0071ff0f0003b010c2b..."} 
[2026-04-17 21:01:01] local.INFO: Processing buffer {"connection_id":46103,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0ec578012d1988c0071ff0f0003b010c2b..."} 
[2026-04-17 21:01:01] local.INFO: Packet analysis {"connection_id":46103,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 21:01:01] local.INFO: Extracted packet for processing {"connection_id":46103,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 21:01:01] local.INFO: GPS Element Parsed {"raw_longitude":756648128,"raw_latitude":119533808,"longitude_deg":75.6648128,"latitude_deg":11.9533808,"altitude":59,"angle":268,"satellites":43,"speed":17,"hex_longitude":"2d1988c0","hex_latitude":"071ff0f0","is_valid_coordinates":true} 
[2026-04-17 21:01:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":66,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:01:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768564992001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:01:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:01:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614035456,"note":"Value kept but may cause issues"} 
[2026-04-17 21:01: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-04-17 21:01:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776439707000,"timestamp_ms":1776439707000,"timestamp_seconds":1776439707,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0ec578"} 
[2026-04-17 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-04-17 21:01: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-04-17 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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-17 21:01:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 21:01:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:01:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46103,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:01:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:01:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46103,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:01:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:01:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:01:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:01:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768564992001,"66":13243,"121":206,"28":31744,"24":17,"16":113544040359657472,"45":1839931584614035456},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:01:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:01:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:01:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768564992001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:01:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:01:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:01:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:01:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614035456,"description":"Unknown IO ID 45"} 
[2026-04-17 21:01:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768564992001,"power":13243,"unknown_121":206,"unknown_28":31744,"ignition":17,"odometer":null,"unknown_45":1839931584614035456}} 
[2026-04-17 21:01:01] local.INFO: DEBUG: GPS processor result {"connection_id":46103,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23083,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:01:01] local.INFO: GPS data processed {"connection_id":46103,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:01:01] local.INFO: Acknowledgment sent {"connection_id":46103,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:01:02] local.INFO: TCP Data received {"connection_id":46955,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:01:02] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46955,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:01:02] local.INFO: Processing buffer {"connection_id":46955,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:01:02] local.INFO: IMEI packet received {"connection_id":46955,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:01:02] local.INFO: IMEI acknowledgment sent {"connection_id":46955,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:01:04] local.INFO: TCP Data received {"connection_id":46104,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46104,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:01:04] local.INFO: Processing buffer {"connection_id":46104,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:01:04] local.INFO: IMEI packet received {"connection_id":46104,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:01:04] local.INFO: IMEI acknowledgment sent {"connection_id":46104,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:01:06] local.INFO: TCP Data received {"connection_id":46955,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c100d98012d76390005ec2b30000c00242f..."} 
[2026-04-17 21:01:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c100d98012d76390005ec2b30000c00242f..."} 
[2026-04-17 21:01:06] local.INFO: Processing buffer {"connection_id":46955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c100d98012d76390005ec2b30000c00242f..."} 
[2026-04-17 21:01:06] local.INFO: Packet analysis {"connection_id":46955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c10"} 
[2026-04-17 21:01:06] local.INFO: Extracted packet for processing {"connection_id":46955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c10"} 
[2026-04-17 21:01:06] local.INFO: GPS Element Parsed {"raw_longitude":762722560,"raw_latitude":99363632,"longitude_deg":76.272256,"latitude_deg":9.9363632,"altitude":12,"angle":36,"satellites":47,"speed":10,"hex_longitude":"2d763900","hex_latitude":"05ec2b30","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:01:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768585216001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:01:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274285506399830016,"note":"Value kept but may cause issues"} 
[2026-04-17 21:01:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8518066139398950912,"note":"Value kept but may cause issues"} 
[2026-04-17 21:01:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:01:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776439791000,"timestamp_ms":1776439791000,"timestamp_seconds":1776439791,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c100d98"} 
[2026-04-17 21:01:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:01: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-04-17 21:01:06] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-17 21:01:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:01:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:01:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:01:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:01:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:01:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:01:06] 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-04-17 21:01:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:01:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:01:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768585216001,"66":27234,"191":206,"87":12288,"24":10,"16":274285506399830016,"45":8518066139398950912},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-04-17 21:01:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:01:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:01:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768585216001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:01:06] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-17 21:01:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 21:01:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274285506399830016,"km_value":274285506399830.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:01:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8518066139398950912,"description":"Unknown IO ID 45"} 
[2026-04-17 21:01:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768585216001,"power":27234,"unknown_191":206,"unknown_87":12288,"ignition":10,"odometer":null,"unknown_45":8518066139398950912}} 
[2026-04-17 21:01:06] local.INFO: DEBUG: GPS processor result {"connection_id":46955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23084,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:01:06] local.INFO: GPS data processed {"connection_id":46955,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:01:06] local.INFO: Acknowledgment sent {"connection_id":46955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:01:11] local.INFO: TCP Data received {"connection_id":46955,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c103890012d7640c005ec3998000c001832..."} 
[2026-04-17 21:01:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46955,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c103890012d7640c005ec3998000c001832..."} 
[2026-04-17 21:01:11] local.INFO: Processing buffer {"connection_id":46955,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c103890012d7640c005ec3998000c001832..."} 
[2026-04-17 21:01:11] local.INFO: Packet analysis {"connection_id":46955,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c10"} 
[2026-04-17 21:01:11] local.INFO: Extracted packet for processing {"connection_id":46955,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c10"} 
[2026-04-17 21:01:11] local.INFO: GPS Element Parsed {"raw_longitude":762724544,"raw_latitude":99367320,"longitude_deg":76.2724544,"latitude_deg":9.936732,"altitude":12,"angle":24,"satellites":50,"speed":18,"hex_longitude":"2d7640c0","hex_latitude":"05ec3998","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:01:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768586496001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:01:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274285712558260224,"note":"Value kept but may cause issues"} 
[2026-04-17 21:01:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8518840195585093632,"note":"Value kept but may cause issues"} 
[2026-04-17 21:01:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,191,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:01:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776439802000,"timestamp_ms":1776439802000,"timestamp_seconds":1776439802,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c103890"} 
[2026-04-17 21:01:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:01: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-04-17 21: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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 21:01:11] 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-04-17 21: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-04-17 21:01:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:01:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:01:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46955,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:01:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:01:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46955,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:01:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:01:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:01:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:01:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768586496001,"66":27397,"191":206,"87":12288,"24":18,"16":274285712558260224,"45":8518840195585093632},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,191,87,24,16,45]} 
[2026-04-17 21:01:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:01:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:01:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768586496001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:01:11] local.INFO: Unknown IO ID detected {"io_id":191,"value":206,"description":"Unknown IO ID 191"} 
[2026-04-17 21:01:11] local.INFO: Unknown IO ID detected {"io_id":87,"value":12288,"description":"Unknown IO ID 87"} 
[2026-04-17 21:01:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274285712558260224,"km_value":274285712558260.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:01:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8518840195585093632,"description":"Unknown IO ID 45"} 
[2026-04-17 21:01:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768586496001,"power":27397,"unknown_191":206,"unknown_87":12288,"ignition":18,"odometer":null,"unknown_45":8518840195585093632}} 
[2026-04-17 21:01:11] local.INFO: DEBUG: GPS processor result {"connection_id":46955,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23085,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:01:11] local.INFO: GPS data processed {"connection_id":46955,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:01:11] local.INFO: Acknowledgment sent {"connection_id":46955,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:01:26] local.INFO: TCP Data received {"connection_id":46105,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:01:26] local.INFO: Processing buffer {"connection_id":46105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:01:26] local.INFO: IMEI packet received {"connection_id":46105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":46105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:01:31] local.INFO: TCP Data received {"connection_id":46105,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46105,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:01:31] local.INFO: Processing buffer {"connection_id":46105,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:01:31] local.INFO: IMEI packet received {"connection_id":46105,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":46105,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:01:33] local.INFO: TCP Data received {"connection_id":46105,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0ecd48012d198500071ff048003b00fa2b..."} 
[2026-04-17 21:01:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0ecd48012d198500071ff048003b00fa2b..."} 
[2026-04-17 21:01:33] local.INFO: Processing buffer {"connection_id":46105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0ecd48012d198500071ff048003b00fa2b..."} 
[2026-04-17 21:01:33] local.INFO: Packet analysis {"connection_id":46105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 21:01:33] local.INFO: Extracted packet for processing {"connection_id":46105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 21:01:33] local.INFO: GPS Element Parsed {"raw_longitude":756647168,"raw_latitude":119533640,"longitude_deg":75.6647168,"latitude_deg":11.953364,"altitude":59,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d198500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-04-17 21:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:01:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768564992001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:01:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:01:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614035456,"note":"Value kept but may cause issues"} 
[2026-04-17 21:01: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-04-17 21:01:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776439709000,"timestamp_ms":1776439709000,"timestamp_seconds":1776439709,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0ecd48"} 
[2026-04-17 21:01:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:01: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-04-17 21:01:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-17 21:01: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-04-17 21:01:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:01:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:01:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:01:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:01:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:01:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:01:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:01:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:01:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:01:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768564992001,"66":3383,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1839931584614035456},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:01:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:01:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:01:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768564992001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:01:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:01:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:01:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:01:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614035456,"description":"Unknown IO ID 45"} 
[2026-04-17 21:01:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768564992001,"power":3383,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1839931584614035456}} 
[2026-04-17 21:01:33] local.INFO: DEBUG: GPS processor result {"connection_id":46105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23086,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:01:33] local.INFO: GPS data processed {"connection_id":46105,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:01:33] local.INFO: Acknowledgment sent {"connection_id":46105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:02:05] local.INFO: TCP Data received {"connection_id":46105,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0ecd48012d198500071ff048003b00fa2b..."} 
[2026-04-17 21:02:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46105,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0ecd48012d198500071ff048003b00fa2b..."} 
[2026-04-17 21:02:05] local.INFO: Processing buffer {"connection_id":46105,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0ecd48012d198500071ff048003b00fa2b..."} 
[2026-04-17 21:02:05] local.INFO: Packet analysis {"connection_id":46105,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 21:02:05] local.INFO: Extracted packet for processing {"connection_id":46105,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 21:02:05] local.INFO: GPS Element Parsed {"raw_longitude":756647168,"raw_latitude":119533640,"longitude_deg":75.6647168,"latitude_deg":11.953364,"altitude":59,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d198500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:02:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768564992001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:02:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:02:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614035456,"note":"Value kept but may cause issues"} 
[2026-04-17 21:02: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-04-17 21:02:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776439709000,"timestamp_ms":1776439709000,"timestamp_seconds":1776439709,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0ecd48"} 
[2026-04-17 21:02:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:02:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:02:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-17 21:02: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-04-17 21: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-04-17 21:02:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:02:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:02:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46105,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:02:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:02:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46105,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:02:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:02:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:02:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:02:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768564992001,"66":3383,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1839931584614035456},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:02:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:02:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:02:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768564992001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:02:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:02:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:02:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:02:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614035456,"description":"Unknown IO ID 45"} 
[2026-04-17 21:02:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768564992001,"power":3383,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1839931584614035456}} 
[2026-04-17 21:02:05] local.INFO: DEBUG: GPS processor result {"connection_id":46105,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23087,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:02:05] local.INFO: GPS data processed {"connection_id":46105,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:02:05] local.INFO: Acknowledgment sent {"connection_id":46105,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:02:19] local.INFO: TCP Data received {"connection_id":46956,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:02:19] local.INFO: Processing buffer {"connection_id":46956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:02:19] local.INFO: IMEI packet received {"connection_id":46956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":46956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:02:19] local.INFO: TCP Data received {"connection_id":46956,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:02:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:02:19] local.INFO: Processing buffer {"connection_id":46956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:02:19] local.INFO: IMEI packet received {"connection_id":46956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:02:19] local.INFO: IMEI acknowledgment sent {"connection_id":46956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:02:21] local.INFO: TCP Data received {"connection_id":46217,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:02:21] local.INFO: Processing buffer {"connection_id":46217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:02:21] local.INFO: IMEI packet received {"connection_id":46217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":46217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:02:23] local.INFO: TCP Data received {"connection_id":46956,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:02:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:02:23] local.INFO: Processing buffer {"connection_id":46956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:02:23] local.INFO: IMEI packet received {"connection_id":46956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:02:23] local.INFO: IMEI acknowledgment sent {"connection_id":46956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:02:25] local.INFO: TCP Data received {"connection_id":46956,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:02:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46956,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:02:25] local.INFO: Processing buffer {"connection_id":46956,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:02:25] local.INFO: IMEI packet received {"connection_id":46956,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:02:25] local.INFO: IMEI acknowledgment sent {"connection_id":46956,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:02:26] local.INFO: TCP Data received {"connection_id":46956,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c114618012d76b08005ec35a8000600352e..."} 
[2026-04-17 21:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c114618012d76b08005ec35a8000600352e..."} 
[2026-04-17 21:02:26] local.INFO: Processing buffer {"connection_id":46956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c114618012d76b08005ec35a8000600352e..."} 
[2026-04-17 21:02:26] local.INFO: Packet analysis {"connection_id":46956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c11"} 
[2026-04-17 21:02:26] local.INFO: Extracted packet for processing {"connection_id":46956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c11"} 
[2026-04-17 21:02:26] local.INFO: GPS Element Parsed {"raw_longitude":762753152,"raw_latitude":99366312,"longitude_deg":76.2753152,"latitude_deg":9.9366312,"altitude":6,"angle":53,"satellites":46,"speed":13,"hex_longitude":"2d76b080","hex_latitude":"05ec35a8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:02:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768606464001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:02:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274287353235767296,"note":"Value kept but may cause issues"} 
[2026-04-17 21:02:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8551913505349203968,"note":"Value kept but may cause issues"} 
[2026-04-17 21:02:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:02:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776439871000,"timestamp_ms":1776439871000,"timestamp_seconds":1776439871,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c114618"} 
[2026-04-17 21:02:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:02: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-04-17 21: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 21:02:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:02:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:02:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:02:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:02:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:02:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:02:26] 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-04-17 21:02:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:02:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:02:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768606464001,"66":27234,"102":206,"87":13824,"24":13,"16":274287353235767296,"45":8551913505349203968},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-04-17 21:02:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:02:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:02:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768606464001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:02:26] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-04-17 21:02:26] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 21:02:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274287353235767296,"km_value":274287353235767.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:02:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8551913505349203968,"description":"Unknown IO ID 45"} 
[2026-04-17 21:02:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768606464001,"power":27234,"unknown_102":206,"unknown_87":13824,"ignition":13,"odometer":null,"unknown_45":8551913505349203968}} 
[2026-04-17 21:02:26] local.INFO: DEBUG: GPS processor result {"connection_id":46956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23088,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:02:26] local.INFO: GPS data processed {"connection_id":46956,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:02:26] local.INFO: Acknowledgment sent {"connection_id":46956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:02:26] local.INFO: TCP Data received {"connection_id":46217,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46217,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:02:26] local.INFO: Processing buffer {"connection_id":46217,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:02:26] local.INFO: IMEI packet received {"connection_id":46217,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":46217,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:02:27] local.INFO: TCP Data received {"connection_id":46217,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0ecd48012d198500071ff048003b00fa2b..."} 
[2026-04-17 21:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0ecd48012d198500071ff048003b00fa2b..."} 
[2026-04-17 21:02:27] local.INFO: Processing buffer {"connection_id":46217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0ecd48012d198500071ff048003b00fa2b..."} 
[2026-04-17 21:02:27] local.INFO: Packet analysis {"connection_id":46217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 21:02:27] local.INFO: Extracted packet for processing {"connection_id":46217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 21:02:27] local.INFO: GPS Element Parsed {"raw_longitude":756647168,"raw_latitude":119533640,"longitude_deg":75.6647168,"latitude_deg":11.953364,"altitude":59,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d198500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768564992001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614035456,"note":"Value kept but may cause issues"} 
[2026-04-17 21:02: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-04-17 21:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776439709000,"timestamp_ms":1776439709000,"timestamp_seconds":1776439709,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0ecd48"} 
[2026-04-17 21:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-17 21:02:27] 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-04-17 21: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-04-17 21:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768564992001,"66":3383,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1839931584614035456},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768564992001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:02:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:02:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614035456,"description":"Unknown IO ID 45"} 
[2026-04-17 21:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768564992001,"power":3383,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1839931584614035456}} 
[2026-04-17 21:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":46217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23089,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:02:28] local.INFO: GPS data processed {"connection_id":46217,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:02:28] local.INFO: Acknowledgment sent {"connection_id":46217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:02:30] local.INFO: TCP Data received {"connection_id":46956,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c115d88012d76b9c005ec3c000006004a30..."} 
[2026-04-17 21:02:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46956,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c115d88012d76b9c005ec3c000006004a30..."} 
[2026-04-17 21:02:30] local.INFO: Processing buffer {"connection_id":46956,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c115d88012d76b9c005ec3c000006004a30..."} 
[2026-04-17 21:02:30] local.INFO: Packet analysis {"connection_id":46956,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c11"} 
[2026-04-17 21:02:30] local.INFO: Extracted packet for processing {"connection_id":46956,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c11"} 
[2026-04-17 21:02:30] local.INFO: GPS Element Parsed {"raw_longitude":762755520,"raw_latitude":99367936,"longitude_deg":76.275552,"latitude_deg":9.9367936,"altitude":6,"angle":74,"satellites":48,"speed":23,"hex_longitude":"2d76b9c0","hex_latitude":"05ec3c00","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:02:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768606976001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:02:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274287490674720768,"note":"Value kept but may cause issues"} 
[2026-04-17 21:02:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8552476455302703104,"note":"Value kept but may cause issues"} 
[2026-04-17 21:02:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,102,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:02:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776439877000,"timestamp_ms":1776439877000,"timestamp_seconds":1776439877,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c115d88"} 
[2026-04-17 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-04-17 21:02: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-04-17 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 21:02:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1610,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 21:02:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:02:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46956,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:02:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:02:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46956,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:02: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-04-17 21:02:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:02:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:02:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768606976001,"66":27376,"102":206,"87":13824,"24":23,"16":274287490674720768,"45":8552476455302703104},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,102,87,24,16,45]} 
[2026-04-17 21:02:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:02:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:02:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768606976001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:02:30] local.INFO: Unknown IO ID detected {"io_id":102,"value":206,"description":"Unknown IO ID 102"} 
[2026-04-17 21:02:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13824,"description":"Unknown IO ID 87"} 
[2026-04-17 21:02:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274287490674720768,"km_value":274287490674720.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:02:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8552476455302703104,"description":"Unknown IO ID 45"} 
[2026-04-17 21:02:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768606976001,"power":27376,"unknown_102":206,"unknown_87":13824,"ignition":23,"odometer":null,"unknown_45":8552476455302703104}} 
[2026-04-17 21:02:30] local.INFO: DEBUG: GPS processor result {"connection_id":46956,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23090,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:02:30] local.INFO: GPS data processed {"connection_id":46956,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:02:30] local.INFO: Acknowledgment sent {"connection_id":46956,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:02:55] local.INFO: TCP Data received {"connection_id":46106,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:02:55] local.INFO: Processing buffer {"connection_id":46106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:02:55] local.INFO: IMEI packet received {"connection_id":46106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":46106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:02:59] local.INFO: TCP Data received {"connection_id":46217,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0ecd48012d198500071ff048003b00fa2b..."} 
[2026-04-17 21:02:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46217,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0ecd48012d198500071ff048003b00fa2b..."} 
[2026-04-17 21:02:59] local.INFO: Processing buffer {"connection_id":46217,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0ecd48012d198500071ff048003b00fa2b..."} 
[2026-04-17 21:02:59] local.INFO: Packet analysis {"connection_id":46217,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 21:02:59] local.INFO: Extracted packet for processing {"connection_id":46217,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 21:02:59] local.INFO: GPS Element Parsed {"raw_longitude":756647168,"raw_latitude":119533640,"longitude_deg":75.6647168,"latitude_deg":11.953364,"altitude":59,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d198500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:02:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768564992001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:02:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:02:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614035456,"note":"Value kept but may cause issues"} 
[2026-04-17 21:02: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-04-17 21:02:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776439709000,"timestamp_ms":1776439709000,"timestamp_seconds":1776439709,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0ecd48"} 
[2026-04-17 21:02:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:02:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-17 21:02:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:02:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:02:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:02:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46217,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:02:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:02:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46217,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:02:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:02:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:02:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:02:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768564992001,"66":3383,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1839931584614035456},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:02:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:02:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:02:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768564992001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:02:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:02:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:02:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:02:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614035456,"description":"Unknown IO ID 45"} 
[2026-04-17 21:02:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768564992001,"power":3383,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1839931584614035456}} 
[2026-04-17 21:02:59] local.INFO: DEBUG: GPS processor result {"connection_id":46217,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23091,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:02:59] local.INFO: GPS data processed {"connection_id":46217,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:02:59] local.INFO: Acknowledgment sent {"connection_id":46217,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:03:12] local.INFO: TCP Data received {"connection_id":46106,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:03:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:03:12] local.INFO: Processing buffer {"connection_id":46106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:03:12] local.INFO: IMEI packet received {"connection_id":46106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:03:12] local.INFO: IMEI acknowledgment sent {"connection_id":46106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:03:21] local.INFO: TCP Data received {"connection_id":46107,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:03:21] local.INFO: Processing buffer {"connection_id":46107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:03:21] local.INFO: IMEI packet received {"connection_id":46107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":46107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:03:26] local.INFO: TCP Data received {"connection_id":46107,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46107,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:03:26] local.INFO: Processing buffer {"connection_id":46107,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:03:26] local.INFO: IMEI packet received {"connection_id":46107,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":46107,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:03:27] local.INFO: TCP Data received {"connection_id":46107,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0ecd48012d198500071ff048003b00fa2b..."} 
[2026-04-17 21:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0ecd48012d198500071ff048003b00fa2b..."} 
[2026-04-17 21:03:27] local.INFO: Processing buffer {"connection_id":46107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0ecd48012d198500071ff048003b00fa2b..."} 
[2026-04-17 21:03:27] local.INFO: Packet analysis {"connection_id":46107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 21:03:27] local.INFO: Extracted packet for processing {"connection_id":46107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 21:03:27] local.INFO: GPS Element Parsed {"raw_longitude":756647168,"raw_latitude":119533640,"longitude_deg":75.6647168,"latitude_deg":11.953364,"altitude":59,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d198500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-04-17 21:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768564992001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614035456,"note":"Value kept but may cause issues"} 
[2026-04-17 21:03: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-04-17 21:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776439709000,"timestamp_ms":1776439709000,"timestamp_seconds":1776439709,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0ecd48"} 
[2026-04-17 21:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-17 21:03:27] 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-04-17 21:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768564992001,"66":3383,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1839931584614035456},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768564992001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:03:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:03:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614035456,"description":"Unknown IO ID 45"} 
[2026-04-17 21:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768564992001,"power":3383,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1839931584614035456}} 
[2026-04-17 21:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":46107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23092,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:03:28] local.INFO: GPS data processed {"connection_id":46107,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:03:28] local.INFO: Acknowledgment sent {"connection_id":46107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:03:29] local.INFO: TCP Data received {"connection_id":46106,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:03:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46106,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:03:29] local.INFO: Processing buffer {"connection_id":46106,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:03:29] local.INFO: IMEI packet received {"connection_id":46106,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:03:29] local.INFO: IMEI acknowledgment sent {"connection_id":46106,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:03:49] local.INFO: TCP Data received {"connection_id":46108,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:03:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46108,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:03:49] local.INFO: Processing buffer {"connection_id":46108,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:03:49] local.INFO: IMEI packet received {"connection_id":46108,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:03:49] local.INFO: IMEI acknowledgment sent {"connection_id":46108,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:03:59] local.INFO: TCP Data received {"connection_id":46107,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c0ecd48012d198500071ff048003b00fa2b..."} 
[2026-04-17 21:03:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46107,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c0ecd48012d198500071ff048003b00fa2b..."} 
[2026-04-17 21:03:59] local.INFO: Processing buffer {"connection_id":46107,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c0ecd48012d198500071ff048003b00fa2b..."} 
[2026-04-17 21:03:59] local.INFO: Packet analysis {"connection_id":46107,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 21:03:59] local.INFO: Extracted packet for processing {"connection_id":46107,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c0e"} 
[2026-04-17 21:03:59] local.INFO: GPS Element Parsed {"raw_longitude":756647168,"raw_latitude":119533640,"longitude_deg":75.6647168,"latitude_deg":11.953364,"altitude":59,"angle":250,"satellites":43,"speed":0,"hex_longitude":"2d198500","hex_latitude":"071ff048","is_valid_coordinates":true} 
[2026-04-17 21:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:03:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768564992001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:03:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:03:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1839931584614035456,"note":"Value kept but may cause issues"} 
[2026-04-17 21:03: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-04-17 21:03:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776439709000,"timestamp_ms":1776439709000,"timestamp_seconds":1776439709,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c0ecd48"} 
[2026-04-17 21:03:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:03:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":21760,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:03:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":51,"n8_eight_byte":187,"data_length":795,"current_offset":136} 
[2026-04-17 21:03:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2136,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:03:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:03:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:03:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:03:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46107,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:03:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:03:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46107,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:03:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:03:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:03:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:03:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768564992001,"66":3383,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1839931584614035456},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:03:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:03:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:03:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768564992001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:03:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:03:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:03:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:03:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1839931584614035456,"description":"Unknown IO ID 45"} 
[2026-04-17 21:03:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768564992001,"power":3383,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1839931584614035456}} 
[2026-04-17 21:03:59] local.INFO: DEBUG: GPS processor result {"connection_id":46107,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23093,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:03:59] local.INFO: GPS data processed {"connection_id":46107,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:03:59] local.INFO: Acknowledgment sent {"connection_id":46107,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:04:26] local.INFO: TCP Data received {"connection_id":46958,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:04:26] local.INFO: Processing buffer {"connection_id":46958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:04:26] local.INFO: IMEI packet received {"connection_id":46958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":46958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:04:31] local.INFO: TCP Data received {"connection_id":46958,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:04:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46958,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:04:31] local.INFO: Processing buffer {"connection_id":46958,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:04:31] local.INFO: IMEI packet received {"connection_id":46958,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:04:31] local.INFO: IMEI acknowledgment sent {"connection_id":46958,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:04:32] local.INFO: TCP Data received {"connection_id":46958,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:04:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:04:32] local.INFO: Processing buffer {"connection_id":46958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:04:32] local.INFO: Packet analysis {"connection_id":46958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:04:32] local.INFO: Extracted packet for processing {"connection_id":46958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:04:32] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119533168,"longitude_deg":75.6640704,"latitude_deg":11.9533168,"altitude":51,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d196bc0","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-04-17 21:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:04:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768565504001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:04:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:04:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838876053451327488,"note":"Value kept but may cause issues"} 
[2026-04-17 21:04:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:04:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776440010000,"timestamp_ms":1776440010000,"timestamp_seconds":1776440010,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c136510"} 
[2026-04-17 21:04:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:04: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-04-17 21:04:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-17 21:04:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":758,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:04:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:04:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:04:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:04:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:04:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:04:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:04:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:04:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:04:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:04:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768565504001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1838876053451327488},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:04:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:04:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:04:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768565504001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:04:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:04:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:04:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:04:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838876053451327488,"description":"Unknown IO ID 45"} 
[2026-04-17 21:04:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768565504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1838876053451327488}} 
[2026-04-17 21:04:33] local.INFO: DEBUG: GPS processor result {"connection_id":46958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23094,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:04:33] local.INFO: GPS data processed {"connection_id":46958,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:04:33] local.INFO: Acknowledgment sent {"connection_id":46958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:04:37] local.INFO: TCP Data received {"connection_id":46958,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:04:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46958,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:04:37] local.INFO: Processing buffer {"connection_id":46958,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:04:37] local.INFO: Packet analysis {"connection_id":46958,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:04:37] local.INFO: Extracted packet for processing {"connection_id":46958,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:04:37] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119533168,"longitude_deg":75.6640704,"latitude_deg":11.9533168,"altitude":51,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d196bc0","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-04-17 21:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:04:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768565504001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:04:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:04:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838876053451327488,"note":"Value kept but may cause issues"} 
[2026-04-17 21:04:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:04:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776440010000,"timestamp_ms":1776440010000,"timestamp_seconds":1776440010,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c136510"} 
[2026-04-17 21:04:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:04: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-04-17 21:04:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-17 21:04:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":758,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:04:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:04:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:04:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:04:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46958,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:04:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:04:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46958,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:04:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:04:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:04:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:04:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768565504001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1838876053451327488},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:04:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:04:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:04:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768565504001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:04:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:04:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:04:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:04:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838876053451327488,"description":"Unknown IO ID 45"} 
[2026-04-17 21:04:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768565504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1838876053451327488}} 
[2026-04-17 21:04:37] local.INFO: DEBUG: GPS processor result {"connection_id":46958,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23095,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:04:37] local.INFO: GPS data processed {"connection_id":46958,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:04:37] local.INFO: Acknowledgment sent {"connection_id":46958,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:05:21] local.INFO: TCP Data received {"connection_id":46219,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:05:21] local.INFO: Processing buffer {"connection_id":46219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:05:21] local.INFO: IMEI packet received {"connection_id":46219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":46219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:05:26] local.INFO: TCP Data received {"connection_id":46219,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46219,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:05:26] local.INFO: Processing buffer {"connection_id":46219,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:05:26] local.INFO: IMEI packet received {"connection_id":46219,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":46219,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:05:27] local.INFO: TCP Data received {"connection_id":46219,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:05:27] local.INFO: Processing buffer {"connection_id":46219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:05:27] local.INFO: Packet analysis {"connection_id":46219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:05:27] local.INFO: Extracted packet for processing {"connection_id":46219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119533168,"longitude_deg":75.6640704,"latitude_deg":11.9533168,"altitude":51,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d196bc0","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-04-17 21:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768565504001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838876053451327488,"note":"Value kept but may cause issues"} 
[2026-04-17 21:05: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-04-17 21:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776440010000,"timestamp_ms":1776440010000,"timestamp_seconds":1776440010,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c136510"} 
[2026-04-17 21:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:05: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-04-17 21:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-17 21:05:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":758,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768565504001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1838876053451327488},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768565504001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:05:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:05:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838876053451327488,"description":"Unknown IO ID 45"} 
[2026-04-17 21:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768565504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1838876053451327488}} 
[2026-04-17 21:05:28] local.INFO: DEBUG: GPS processor result {"connection_id":46219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23096,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:05:28] local.INFO: GPS data processed {"connection_id":46219,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:05:28] local.INFO: Acknowledgment sent {"connection_id":46219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:05:59] local.INFO: TCP Data received {"connection_id":46219,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:05:59] local.INFO: Processing buffer {"connection_id":46219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:05:59] local.INFO: Packet analysis {"connection_id":46219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:05:59] local.INFO: Extracted packet for processing {"connection_id":46219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119533168,"longitude_deg":75.6640704,"latitude_deg":11.9533168,"altitude":51,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d196bc0","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-04-17 21:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768565504001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838876053451327488,"note":"Value kept but may cause issues"} 
[2026-04-17 21:05: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-04-17 21:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776440010000,"timestamp_ms":1776440010000,"timestamp_seconds":1776440010,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c136510"} 
[2026-04-17 21:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-17 21:05:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":758,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46219,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768565504001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1838876053451327488},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768565504001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:05:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:05:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838876053451327488,"description":"Unknown IO ID 45"} 
[2026-04-17 21:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768565504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1838876053451327488}} 
[2026-04-17 21:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":46219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23097,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:05:59] local.INFO: GPS data processed {"connection_id":46219,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:05:59] local.INFO: Acknowledgment sent {"connection_id":46219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:06:21] local.INFO: TCP Data received {"connection_id":46959,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:06:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:06:21] local.INFO: Processing buffer {"connection_id":46959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:06:21] local.INFO: IMEI packet received {"connection_id":46959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:06:21] local.INFO: IMEI acknowledgment sent {"connection_id":46959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:06:26] local.INFO: TCP Data received {"connection_id":46959,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46959,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:06:26] local.INFO: Processing buffer {"connection_id":46959,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:06:26] local.INFO: IMEI packet received {"connection_id":46959,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":46959,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:06:28] local.INFO: TCP Data received {"connection_id":46959,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:06:28] local.INFO: Processing buffer {"connection_id":46959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:06:28] local.INFO: Packet analysis {"connection_id":46959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:06:28] local.INFO: Extracted packet for processing {"connection_id":46959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119533168,"longitude_deg":75.6640704,"latitude_deg":11.9533168,"altitude":51,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d196bc0","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768565504001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838876053451327488,"note":"Value kept but may cause issues"} 
[2026-04-17 21:06: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-04-17 21:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776440010000,"timestamp_ms":1776440010000,"timestamp_seconds":1776440010,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c136510"} 
[2026-04-17 21:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21: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-04-17 21: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":13,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-17 21:06:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":758,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768565504001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1838876053451327488},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768565504001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:06:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:06:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838876053451327488,"description":"Unknown IO ID 45"} 
[2026-04-17 21:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768565504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1838876053451327488}} 
[2026-04-17 21:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":46959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23098,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:06:28] local.INFO: GPS data processed {"connection_id":46959,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:06:28] local.INFO: Acknowledgment sent {"connection_id":46959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:06:34] local.INFO: TCP Data received {"connection_id":46450,"ip":"42.106.6.41","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:06:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46450,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:06:34] local.INFO: Processing buffer {"connection_id":46450,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:06:34] local.INFO: IMEI packet received {"connection_id":46450,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:06:34] local.INFO: IMEI acknowledgment sent {"connection_id":46450,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:06:59] local.INFO: TCP Data received {"connection_id":46959,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46959,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:06:59] local.INFO: Processing buffer {"connection_id":46959,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:06:59] local.INFO: Packet analysis {"connection_id":46959,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:06:59] local.INFO: Extracted packet for processing {"connection_id":46959,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119533168,"longitude_deg":75.6640704,"latitude_deg":11.9533168,"altitude":51,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d196bc0","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768565504001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838876053451327488,"note":"Value kept but may cause issues"} 
[2026-04-17 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-04-17 21:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776440010000,"timestamp_ms":1776440010000,"timestamp_seconds":1776440010,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c136510"} 
[2026-04-17 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-04-17 21:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":13,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-17 21:06:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":758,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 21:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46959,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46959,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768565504001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1838876053451327488},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768565504001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:06:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:06:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838876053451327488,"description":"Unknown IO ID 45"} 
[2026-04-17 21:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768565504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1838876053451327488}} 
[2026-04-17 21:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":46959,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23099,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:06:59] local.INFO: GPS data processed {"connection_id":46959,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:06:59] local.INFO: Acknowledgment sent {"connection_id":46959,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:07:04] local.INFO: TCP Data received {"connection_id":46111,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:07:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46111,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:07:04] local.INFO: Processing buffer {"connection_id":46111,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:07:04] local.INFO: IMEI packet received {"connection_id":46111,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:07:04] local.INFO: IMEI acknowledgment sent {"connection_id":46111,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:07:21] local.INFO: TCP Data received {"connection_id":46112,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:07:21] local.INFO: Processing buffer {"connection_id":46112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:07:21] local.INFO: IMEI packet received {"connection_id":46112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":46112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:07:26] local.INFO: TCP Data received {"connection_id":46112,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46112,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:07:26] local.INFO: Processing buffer {"connection_id":46112,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:07:26] local.INFO: IMEI packet received {"connection_id":46112,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":46112,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:07:27] local.INFO: TCP Data received {"connection_id":46112,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:07:27] local.INFO: Processing buffer {"connection_id":46112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:07:27] local.INFO: Packet analysis {"connection_id":46112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:07:27] local.INFO: Extracted packet for processing {"connection_id":46112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:07:27] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119533168,"longitude_deg":75.6640704,"latitude_deg":11.9533168,"altitude":51,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d196bc0","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-04-17 21:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768565504001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838876053451327488,"note":"Value kept but may cause issues"} 
[2026-04-17 21:07: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-04-17 21:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776440010000,"timestamp_ms":1776440010000,"timestamp_seconds":1776440010,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c136510"} 
[2026-04-17 21:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:07: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-04-17 21:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-17 21:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":758,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768565504001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1838876053451327488},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768565504001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:07:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:07:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838876053451327488,"description":"Unknown IO ID 45"} 
[2026-04-17 21:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768565504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1838876053451327488}} 
[2026-04-17 21:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":46112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23100,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:07:27] local.INFO: GPS data processed {"connection_id":46112,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:07:27] local.INFO: Acknowledgment sent {"connection_id":46112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:07:59] local.INFO: TCP Data received {"connection_id":46112,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46112,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:07:59] local.INFO: Processing buffer {"connection_id":46112,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:07:59] local.INFO: Packet analysis {"connection_id":46112,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:07:59] local.INFO: Extracted packet for processing {"connection_id":46112,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:07:59] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119533168,"longitude_deg":75.6640704,"latitude_deg":11.9533168,"altitude":51,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d196bc0","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-04-17 21:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768565504001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838876053451327488,"note":"Value kept but may cause issues"} 
[2026-04-17 21:07: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-04-17 21:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776440010000,"timestamp_ms":1776440010000,"timestamp_seconds":1776440010,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c136510"} 
[2026-04-17 21:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:07:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":22016,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":13,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-17 21:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":758,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46112,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46112,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768565504001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1838876053451327488},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768565504001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:07:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:07:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838876053451327488,"description":"Unknown IO ID 45"} 
[2026-04-17 21:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768565504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1838876053451327488}} 
[2026-04-17 21:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":46112,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23101,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:07:59] local.INFO: GPS data processed {"connection_id":46112,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:07:59] local.INFO: Acknowledgment sent {"connection_id":46112,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:08:26] local.INFO: TCP Data received {"connection_id":46960,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:08:26] local.INFO: Processing buffer {"connection_id":46960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:08:26] local.INFO: IMEI packet received {"connection_id":46960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":46960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:08:31] local.INFO: TCP Data received {"connection_id":46960,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:08:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46960,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:08:31] local.INFO: Processing buffer {"connection_id":46960,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:08:31] local.INFO: IMEI packet received {"connection_id":46960,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:08:31] local.INFO: IMEI acknowledgment sent {"connection_id":46960,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:08:32] local.INFO: TCP Data received {"connection_id":46960,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:08:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:08:32] local.INFO: Processing buffer {"connection_id":46960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:08:32] local.INFO: Packet analysis {"connection_id":46960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:08:32] local.INFO: Extracted packet for processing {"connection_id":46960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:08:32] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119533168,"longitude_deg":75.6640704,"latitude_deg":11.9533168,"altitude":51,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d196bc0","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:08:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768565504001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:08:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:08:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838876053451327488,"note":"Value kept but may cause issues"} 
[2026-04-17 21:08:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:08:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776440010000,"timestamp_ms":1776440010000,"timestamp_seconds":1776440010,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c136510"} 
[2026-04-17 21:08:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21: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-04-17 21: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":13,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-17 21:08:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":758,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:08:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:08:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:08:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:08:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:08:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:08:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:08:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:08:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:08:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768565504001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1838876053451327488},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:08:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:08:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:08:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768565504001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:08:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:08:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:08:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:08:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838876053451327488,"description":"Unknown IO ID 45"} 
[2026-04-17 21:08:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768565504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1838876053451327488}} 
[2026-04-17 21:08:32] local.INFO: DEBUG: GPS processor result {"connection_id":46960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23102,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:08:32] local.INFO: GPS data processed {"connection_id":46960,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:08:32] local.INFO: Acknowledgment sent {"connection_id":46960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:08:37] local.INFO: TCP Data received {"connection_id":46960,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:08:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46960,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:08:37] local.INFO: Processing buffer {"connection_id":46960,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c136510012d196bc0071fee70003300fa2a..."} 
[2026-04-17 21:08:37] local.INFO: Packet analysis {"connection_id":46960,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:08:37] local.INFO: Extracted packet for processing {"connection_id":46960,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c13"} 
[2026-04-17 21:08:37] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119533168,"longitude_deg":75.6640704,"latitude_deg":11.9533168,"altitude":51,"angle":250,"satellites":42,"speed":0,"hex_longitude":"2d196bc0","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:08:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768565504001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:08:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:08:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1838876053451327488,"note":"Value kept but may cause issues"} 
[2026-04-17 21:08:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:08:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776440010000,"timestamp_ms":1776440010000,"timestamp_seconds":1776440010,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c136510"} 
[2026-04-17 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-04-17 21:08: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-04-17 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":13,"n8_eight_byte":55,"data_length":795,"current_offset":136} 
[2026-04-17 21:08:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":758,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 21:08:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:08:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46960,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:08:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:08:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46960,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:08:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:08:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:08:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:08:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768565504001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1838876053451327488},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:08:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:08:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:08:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768565504001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:08:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:08:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:08:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:08:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1838876053451327488,"description":"Unknown IO ID 45"} 
[2026-04-17 21:08:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768565504001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1838876053451327488}} 
[2026-04-17 21:08:37] local.INFO: DEBUG: GPS processor result {"connection_id":46960,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23103,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:08:37] local.INFO: GPS data processed {"connection_id":46960,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:08:37] local.INFO: Acknowledgment sent {"connection_id":46960,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:08:55] local.INFO: TCP Data received {"connection_id":46114,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:08:55] local.INFO: Processing buffer {"connection_id":46114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:08:55] local.INFO: IMEI packet received {"connection_id":46114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":46114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:08:58] local.INFO: TCP Data received {"connection_id":46114,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:08:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46114,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:08:58] local.INFO: Processing buffer {"connection_id":46114,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:08:58] local.INFO: IMEI packet received {"connection_id":46114,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:08:58] local.INFO: IMEI acknowledgment sent {"connection_id":46114,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:08:59] local.INFO: TCP Data received {"connection_id":46114,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c179360012d78c70005efb598000a01582d..."} 
[2026-04-17 21:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c179360012d78c70005efb598000a01582d..."} 
[2026-04-17 21:08:59] local.INFO: Processing buffer {"connection_id":46114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c179360012d78c70005efb598000a01582d..."} 
[2026-04-17 21:08:59] local.INFO: Packet analysis {"connection_id":46114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:08:59] local.INFO: Extracted packet for processing {"connection_id":46114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:08:59] local.INFO: GPS Element Parsed {"raw_longitude":762889984,"raw_latitude":99595672,"longitude_deg":76.2889984,"latitude_deg":9.9595672,"altitude":10,"angle":344,"satellites":45,"speed":47,"hex_longitude":"2d78c700","hex_latitude":"05efb598","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768710400001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274303953284366336,"note":"Value kept but may cause issues"} 
[2026-04-17 21:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8705880317666254848,"note":"Value kept but may cause issues"} 
[2026-04-17 21:08:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776440284000,"timestamp_ms":1776440284000,"timestamp_seconds":1776440284,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c179360"} 
[2026-04-17 21:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:08:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 21:08:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 21:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:08:59] 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-04-17 21:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768710400001,"66":27397,"39":206,"87":11776,"24":47,"16":274303953284366336,"45":8705880317666254848},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-17 21:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768710400001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:08:59] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-17 21:08:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-17 21:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274303953284366336,"km_value":274303953284366.34,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8705880317666254848,"description":"Unknown IO ID 45"} 
[2026-04-17 21:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768710400001,"power":27397,"unknown_39":206,"unknown_87":11776,"ignition":47,"odometer":null,"unknown_45":8705880317666254848}} 
[2026-04-17 21:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":46114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23104,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:08:59] local.INFO: GPS data processed {"connection_id":46114,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:08:59] local.INFO: Acknowledgment sent {"connection_id":46114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:09:00] local.INFO: TCP Data received {"connection_id":46114,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c17b2a0012d78be0005efdb380009015b2a..."} 
[2026-04-17 21:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c17b2a0012d78be0005efdb380009015b2a..."} 
[2026-04-17 21:09:00] local.INFO: Processing buffer {"connection_id":46114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c17b2a0012d78be0005efdb380009015b2a..."} 
[2026-04-17 21:09:00] local.INFO: Packet analysis {"connection_id":46114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:09:00] local.INFO: Extracted packet for processing {"connection_id":46114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:09:00] local.INFO: GPS Element Parsed {"raw_longitude":762887680,"raw_latitude":99605304,"longitude_deg":76.288768,"latitude_deg":9.9605304,"altitude":9,"angle":347,"satellites":42,"speed":48,"hex_longitude":"2d78be00","hex_latitude":"05efdb38","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768712704001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274304434320703488,"note":"Value kept but may cause issues"} 
[2026-04-17 21:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8702924830413264896,"note":"Value kept but may cause issues"} 
[2026-04-17 21:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776440292000,"timestamp_ms":1776440292000,"timestamp_seconds":1776440292,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c17b2a0"} 
[2026-04-17 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-04-17 21:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 21:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 21:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:09: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-04-17 21:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768712704001,"66":27234,"39":206,"87":11776,"24":48,"16":274304434320703488,"45":8702924830413264896},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-17 21:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768712704001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:09:00] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-17 21:09:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-17 21:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274304434320703488,"km_value":274304434320703.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8702924830413264896,"description":"Unknown IO ID 45"} 
[2026-04-17 21:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768712704001,"power":27234,"unknown_39":206,"unknown_87":11776,"ignition":48,"odometer":null,"unknown_45":8702924830413264896}} 
[2026-04-17 21:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":46114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23105,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:09:00] local.INFO: GPS data processed {"connection_id":46114,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:09:00] local.INFO: Acknowledgment sent {"connection_id":46114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:09:21] local.INFO: TCP Data received {"connection_id":46223,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:09:21] local.INFO: Processing buffer {"connection_id":46223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:09:21] local.INFO: IMEI packet received {"connection_id":46223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":46223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:09:26] local.INFO: TCP Data received {"connection_id":46223,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46223,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:09:26] local.INFO: Processing buffer {"connection_id":46223,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:09:26] local.INFO: IMEI packet received {"connection_id":46223,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":46223,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:09:28] local.INFO: TCP Data received {"connection_id":46223,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:09:28] local.INFO: Processing buffer {"connection_id":46223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:09:28] local.INFO: Packet analysis {"connection_id":46223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:09:28] local.INFO: Extracted packet for processing {"connection_id":46223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119533168,"longitude_deg":75.6640704,"latitude_deg":11.9533168,"altitude":51,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d196bc0","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768642560001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289262592,"note":"Value kept but may cause issues"} 
[2026-04-17 21:09: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-04-17 21:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776440311000,"timestamp_ms":1776440311000,"timestamp_seconds":1776440311,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c17fcd8"} 
[2026-04-17 21:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:09:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:09: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-04-17 21: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-04-17 21:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768642560001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1831768810289262592},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768642560001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:09:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:09:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289262592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768642560001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810289262592}} 
[2026-04-17 21:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":46223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23106,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:09:28] local.INFO: GPS data processed {"connection_id":46223,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:09:28] local.INFO: Acknowledgment sent {"connection_id":46223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:09:39] local.INFO: TCP Data received {"connection_id":46114,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c17d1e0012d78b6c005effdc8000a01612b..."} 
[2026-04-17 21:09:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46114,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c17d1e0012d78b6c005effdc8000a01612b..."} 
[2026-04-17 21:09:39] local.INFO: Processing buffer {"connection_id":46114,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c17d1e0012d78b6c005effdc8000a01612b..."} 
[2026-04-17 21:09:39] local.INFO: Packet analysis {"connection_id":46114,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:09:39] local.INFO: Extracted packet for processing {"connection_id":46114,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:09:39] local.INFO: GPS Element Parsed {"raw_longitude":762885824,"raw_latitude":99614152,"longitude_deg":76.2885824,"latitude_deg":9.9614152,"altitude":10,"angle":353,"satellites":43,"speed":38,"hex_longitude":"2d78b6c0","hex_latitude":"05effdc8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:09:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768714752001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:09:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274304872407367680,"note":"Value kept but may cause issues"} 
[2026-04-17 21:09:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8700391555625334784,"note":"Value kept but may cause issues"} 
[2026-04-17 21:09:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,39,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:09:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776440300000,"timestamp_ms":1776440300000,"timestamp_seconds":1776440300,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c17d1e0"} 
[2026-04-17 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-04-17 21:09: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-04-17 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":106,"n8_eight_byte":98,"data_length":795,"current_offset":136} 
[2026-04-17 21:09:39] 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-04-17 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-04-17 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-04-17 21:09:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:09:39] local.INFO: Teltonika packet parsed successfully {"connection_id":46114,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:09:39] local.INFO: Passing IMEI to GPS processor {"connection_id":46114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:09:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":46114,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:09:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:09:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:09:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:09:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768714752001,"66":27343,"39":206,"87":11776,"24":38,"16":274304872407367680,"45":8700391555625334784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,39,87,24,16,45]} 
[2026-04-17 21:09:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:09:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:09:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768714752001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:09:39] local.INFO: Unknown IO ID detected {"io_id":39,"value":206,"description":"Unknown IO ID 39"} 
[2026-04-17 21:09:39] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-17 21:09:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274304872407367680,"km_value":274304872407367.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:09:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8700391555625334784,"description":"Unknown IO ID 45"} 
[2026-04-17 21:09:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768714752001,"power":27343,"unknown_39":206,"unknown_87":11776,"ignition":38,"odometer":null,"unknown_45":8700391555625334784}} 
[2026-04-17 21:09:39] local.INFO: DEBUG: GPS processor result {"connection_id":46114,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23107,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:09:39] local.INFO: GPS data processed {"connection_id":46114,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:09:39] local.INFO: Acknowledgment sent {"connection_id":46114,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:09:48] local.INFO: TCP Data received {"connection_id":46115,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:09:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:09:48] local.INFO: Processing buffer {"connection_id":46115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:09:48] local.INFO: IMEI packet received {"connection_id":46115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:09:48] local.INFO: IMEI acknowledgment sent {"connection_id":46115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:09:49] local.INFO: TCP Data received {"connection_id":46115,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:09:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:09:49] local.INFO: Processing buffer {"connection_id":46115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:09:49] local.INFO: IMEI packet received {"connection_id":46115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:09:49] local.INFO: IMEI acknowledgment sent {"connection_id":46115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:09:53] local.INFO: TCP Data received {"connection_id":46115,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46115,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:09:53] local.INFO: Processing buffer {"connection_id":46115,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:09:53] local.INFO: IMEI packet received {"connection_id":46115,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:09:53] local.INFO: IMEI acknowledgment sent {"connection_id":46115,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:09:53] local.INFO: TCP Data received {"connection_id":46115,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c17f8f0012d78b1c005f02350000a01602b..."} 
[2026-04-17 21:09:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c17f8f0012d78b1c005f02350000a01602b..."} 
[2026-04-17 21:09:53] local.INFO: Processing buffer {"connection_id":46115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c17f8f0012d78b1c005f02350000a01602b..."} 
[2026-04-17 21:09:53] local.INFO: Packet analysis {"connection_id":46115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:09:53] local.INFO: Extracted packet for processing {"connection_id":46115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:09:53] local.INFO: GPS Element Parsed {"raw_longitude":762884544,"raw_latitude":99623760,"longitude_deg":76.2884544,"latitude_deg":9.962376,"altitude":10,"angle":352,"satellites":43,"speed":36,"hex_longitude":"2d78b1c0","hex_latitude":"05f02350","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:09:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768716800001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:09:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274305340558802944,"note":"Value kept but may cause issues"} 
[2026-04-17 21:09:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698350862046447616,"note":"Value kept but may cause issues"} 
[2026-04-17 21:09:53] 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-04-17 21:09:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776440310000,"timestamp_ms":1776440310000,"timestamp_seconds":1776440310,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c17f8f0"} 
[2026-04-17 21:09:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:09: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-04-17 21: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 21:09:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:09:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:09:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:09:53] local.INFO: Teltonika packet parsed successfully {"connection_id":46115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:09:53] local.INFO: Passing IMEI to GPS processor {"connection_id":46115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:09:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":46115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:09:53] 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-04-17 21:09:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:09:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:09:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768716800001,"66":27343,"59":206,"87":11776,"24":36,"16":274305340558802944,"45":8698350862046447616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,87,24,16,45]} 
[2026-04-17 21:09:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:09:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:09:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768716800001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:09:53] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-17 21:09:53] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-17 21:09:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274305340558802944,"km_value":274305340558802.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:09:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698350862046447616,"description":"Unknown IO ID 45"} 
[2026-04-17 21:09:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768716800001,"power":27343,"unknown_59":206,"unknown_87":11776,"ignition":36,"odometer":null,"unknown_45":8698350862046447616}} 
[2026-04-17 21:09:53] local.INFO: DEBUG: GPS processor result {"connection_id":46115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23108,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:09:53] local.INFO: GPS data processed {"connection_id":46115,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:09:53] local.INFO: Acknowledgment sent {"connection_id":46115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:09:59] local.INFO: TCP Data received {"connection_id":46223,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46223,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:09:59] local.INFO: Processing buffer {"connection_id":46223,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:09:59] local.INFO: Packet analysis {"connection_id":46223,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:09:59] local.INFO: Extracted packet for processing {"connection_id":46223,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:09:59] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119533168,"longitude_deg":75.6640704,"latitude_deg":11.9533168,"altitude":51,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d196bc0","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-04-17 21:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768642560001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289262592,"note":"Value kept but may cause issues"} 
[2026-04-17 21:09: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-04-17 21:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776440311000,"timestamp_ms":1776440311000,"timestamp_seconds":1776440311,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c17fcd8"} 
[2026-04-17 21:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:09:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:09: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-04-17 21:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46223,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46223,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768642560001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1831768810289262592},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768642560001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:09:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:09:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289262592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768642560001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810289262592}} 
[2026-04-17 21:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":46223,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23109,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:09:59] local.INFO: GPS data processed {"connection_id":46223,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:09:59] local.INFO: Acknowledgment sent {"connection_id":46223,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:10:21] local.INFO: TCP Data received {"connection_id":46451,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:10:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:10:21] local.INFO: Processing buffer {"connection_id":46451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:10:21] local.INFO: IMEI packet received {"connection_id":46451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:10:21] local.INFO: IMEI acknowledgment sent {"connection_id":46451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:10:25] local.INFO: TCP Data received {"connection_id":46115,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c180890012d78ae0005f03128000a014b2c..."} 
[2026-04-17 21:10:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46115,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c180890012d78ae0005f03128000a014b2c..."} 
[2026-04-17 21:10:25] local.INFO: Processing buffer {"connection_id":46115,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c180890012d78ae0005f03128000a014b2c..."} 
[2026-04-17 21:10:25] local.INFO: Packet analysis {"connection_id":46115,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c18"} 
[2026-04-17 21:10:25] local.INFO: Extracted packet for processing {"connection_id":46115,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c18"} 
[2026-04-17 21:10:25] local.INFO: GPS Element Parsed {"raw_longitude":762883584,"raw_latitude":99627304,"longitude_deg":76.2883584,"latitude_deg":9.9627304,"altitude":10,"angle":331,"satellites":44,"speed":37,"hex_longitude":"2d78ae00","hex_latitude":"05f03128","is_valid_coordinates":true} 
[2026-04-17 21:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:10:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768719360001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:10:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274305516652462080,"note":"Value kept but may cause issues"} 
[2026-04-17 21:10:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8696943487165353984,"note":"Value kept but may cause issues"} 
[2026-04-17 21:10:25] 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-04-17 21:10:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776440314000,"timestamp_ms":1776440314000,"timestamp_seconds":1776440314,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c180890"} 
[2026-04-17 21:10:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:10:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 21:10:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 21:10:25] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2591,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:10:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:10:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:10:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:10:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46115,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:10:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:10:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46115,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:10:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:10:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:10:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:10:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768719360001,"66":27517,"59":206,"87":11776,"24":37,"16":274305516652462080,"45":8696943487165353984},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,87,24,16,45]} 
[2026-04-17 21:10:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:10:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:10:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768719360001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:10:25] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-17 21:10:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-17 21:10:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274305516652462080,"km_value":274305516652462.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:10:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8696943487165353984,"description":"Unknown IO ID 45"} 
[2026-04-17 21:10:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768719360001,"power":27517,"unknown_59":206,"unknown_87":11776,"ignition":37,"odometer":null,"unknown_45":8696943487165353984}} 
[2026-04-17 21:10:25] local.INFO: DEBUG: GPS processor result {"connection_id":46115,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23110,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:10:25] local.INFO: GPS data processed {"connection_id":46115,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:10:25] local.INFO: Acknowledgment sent {"connection_id":46115,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:10:26] local.INFO: TCP Data received {"connection_id":46451,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46451,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:10:26] local.INFO: Processing buffer {"connection_id":46451,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:10:26] local.INFO: IMEI packet received {"connection_id":46451,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":46451,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:10:27] local.INFO: TCP Data received {"connection_id":46451,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:10:27] local.INFO: Processing buffer {"connection_id":46451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:10:27] local.INFO: Packet analysis {"connection_id":46451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:10:27] local.INFO: Extracted packet for processing {"connection_id":46451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119533168,"longitude_deg":75.6640704,"latitude_deg":11.9533168,"altitude":51,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d196bc0","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-04-17 21:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768642560001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289262592,"note":"Value kept but may cause issues"} 
[2026-04-17 21:10: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-04-17 21:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776440311000,"timestamp_ms":1776440311000,"timestamp_seconds":1776440311,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c17fcd8"} 
[2026-04-17 21:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:10: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-04-17 21:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768642560001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1831768810289262592},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768642560001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:10:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:10:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289262592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768642560001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810289262592}} 
[2026-04-17 21:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":46451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23111,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:10:28] local.INFO: GPS data processed {"connection_id":46451,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:10:28] local.INFO: Acknowledgment sent {"connection_id":46451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:10:50] local.INFO: TCP Data received {"connection_id":46224,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:10:50] local.INFO: Processing buffer {"connection_id":46224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:10:50] local.INFO: IMEI packet received {"connection_id":46224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":46224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:10:50] local.INFO: TCP Data received {"connection_id":46224,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:10:50] local.INFO: Processing buffer {"connection_id":46224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:10:50] local.INFO: IMEI packet received {"connection_id":46224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":46224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:10:55] local.INFO: TCP Data received {"connection_id":46224,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46224,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:10:55] local.INFO: Processing buffer {"connection_id":46224,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:10:55] local.INFO: IMEI packet received {"connection_id":46224,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:10:55] local.INFO: IMEI acknowledgment sent {"connection_id":46224,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:10:55] local.INFO: TCP Data received {"connection_id":46224,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c182bb8012d789a8005f04ea8000a014625..."} 
[2026-04-17 21:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c182bb8012d789a8005f04ea8000a014625..."} 
[2026-04-17 21:10:55] local.INFO: Processing buffer {"connection_id":46224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c182bb8012d789a8005f04ea8000a014625..."} 
[2026-04-17 21:10:55] local.INFO: Packet analysis {"connection_id":46224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c18"} 
[2026-04-17 21:10:55] local.INFO: Extracted packet for processing {"connection_id":46224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c18"} 
[2026-04-17 21:10:55] local.INFO: GPS Element Parsed {"raw_longitude":762878592,"raw_latitude":99634856,"longitude_deg":76.2878592,"latitude_deg":9.9634856,"altitude":10,"angle":326,"satellites":37,"speed":38,"hex_longitude":"2d789a80","hex_latitude":"05f04ea8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768720384001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274305959034093568,"note":"Value kept but may cause issues"} 
[2026-04-17 21:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8695887956003596288,"note":"Value kept but may cause issues"} 
[2026-04-17 21:10:55] 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-04-17 21:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776440323000,"timestamp_ms":1776440323000,"timestamp_seconds":1776440323,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c182bb8"} 
[2026-04-17 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-04-17 21:10: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-04-17 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":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 21:10:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 21:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:10:55] 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-04-17 21:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:10:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768720384001,"66":27484,"59":206,"87":11776,"24":38,"16":274305959034093568,"45":8695887956003596288},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,87,24,16,45]} 
[2026-04-17 21:10:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:10:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:10:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768720384001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:10:56] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-17 21:10:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-17 21:10:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274305959034093568,"km_value":274305959034093.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:10:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8695887956003596288,"description":"Unknown IO ID 45"} 
[2026-04-17 21:10:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768720384001,"power":27484,"unknown_59":206,"unknown_87":11776,"ignition":38,"odometer":null,"unknown_45":8695887956003596288}} 
[2026-04-17 21:10:56] local.INFO: DEBUG: GPS processor result {"connection_id":46224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23112,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:10:56] local.INFO: GPS data processed {"connection_id":46224,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:10:56] local.INFO: Acknowledgment sent {"connection_id":46224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:10:59] local.INFO: TCP Data received {"connection_id":46451,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46451,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:10:59] local.INFO: Processing buffer {"connection_id":46451,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:10:59] local.INFO: Packet analysis {"connection_id":46451,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:10:59] local.INFO: Extracted packet for processing {"connection_id":46451,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:10:59] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119533168,"longitude_deg":75.6640704,"latitude_deg":11.9533168,"altitude":51,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d196bc0","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-04-17 21:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768642560001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289262592,"note":"Value kept but may cause issues"} 
[2026-04-17 21:10: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-04-17 21:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776440311000,"timestamp_ms":1776440311000,"timestamp_seconds":1776440311,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c17fcd8"} 
[2026-04-17 21:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:10:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:10: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-04-17 21:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46451,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46451,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768642560001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1831768810289262592},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768642560001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:10:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:10:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289262592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768642560001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810289262592}} 
[2026-04-17 21:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":46451,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23113,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:10:59] local.INFO: GPS data processed {"connection_id":46451,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:10:59] local.INFO: Acknowledgment sent {"connection_id":46451,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:11:21] local.INFO: TCP Data received {"connection_id":46962,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:11:21] local.INFO: Processing buffer {"connection_id":46962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:11:21] local.INFO: IMEI packet received {"connection_id":46962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":46962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:11:26] local.INFO: TCP Data received {"connection_id":46962,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46962,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:11:26] local.INFO: Processing buffer {"connection_id":46962,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:11:26] local.INFO: IMEI packet received {"connection_id":46962,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":46962,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:11:27] local.INFO: TCP Data received {"connection_id":46224,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c187dc0012d788ec005f062f8000e01482c..."} 
[2026-04-17 21:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46224,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c187dc0012d788ec005f062f8000e01482c..."} 
[2026-04-17 21:11:27] local.INFO: Processing buffer {"connection_id":46224,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c187dc0012d788ec005f062f8000e01482c..."} 
[2026-04-17 21:11:27] local.INFO: Packet analysis {"connection_id":46224,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c18"} 
[2026-04-17 21:11:27] local.INFO: Extracted packet for processing {"connection_id":46224,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c18"} 
[2026-04-17 21:11:27] local.INFO: GPS Element Parsed {"raw_longitude":762875584,"raw_latitude":99640056,"longitude_deg":76.2875584,"latitude_deg":9.9640056,"altitude":14,"angle":328,"satellites":44,"speed":0,"hex_longitude":"2d788ec0","hex_latitude":"05f062f8","is_valid_coordinates":true} 
[2026-04-17 21:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768722688001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274306251091869696,"note":"Value kept but may cause issues"} 
[2026-04-17 21:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8690399193959671808,"note":"Value kept but may cause issues"} 
[2026-04-17 21:11:27] 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-04-17 21:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776440344000,"timestamp_ms":1776440344000,"timestamp_seconds":1776440344,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c187dc0"} 
[2026-04-17 21:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 21:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 21:11:27] 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-04-17 21:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46224,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46224,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768722688001,"66":27267,"60":206,"87":11776,"24":0,"16":274306251091869696,"45":8690399193959671808},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-04-17 21:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768722688001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:11:27] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-17 21:11:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-17 21:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274306251091869696,"km_value":274306251091869.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8690399193959671808,"description":"Unknown IO ID 45"} 
[2026-04-17 21:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768722688001,"power":27267,"unknown_60":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8690399193959671808}} 
[2026-04-17 21:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":46224,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23114,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:11:27] local.INFO: GPS data processed {"connection_id":46224,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:11:27] local.INFO: Acknowledgment sent {"connection_id":46224,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:11:27] local.INFO: TCP Data received {"connection_id":46962,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:11:27] local.INFO: Processing buffer {"connection_id":46962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:11:27] local.INFO: Packet analysis {"connection_id":46962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:11:27] local.INFO: Extracted packet for processing {"connection_id":46962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:11:27] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119533168,"longitude_deg":75.6640704,"latitude_deg":11.9533168,"altitude":51,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d196bc0","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-04-17 21:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768642560001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289262592,"note":"Value kept but may cause issues"} 
[2026-04-17 21:11: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-04-17 21:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776440311000,"timestamp_ms":1776440311000,"timestamp_seconds":1776440311,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c17fcd8"} 
[2026-04-17 21:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:11:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:11:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:11: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-04-17 21:11:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768642560001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1831768810289262592},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768642560001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:11:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:11:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289262592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768642560001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810289262592}} 
[2026-04-17 21:11:28] local.INFO: DEBUG: GPS processor result {"connection_id":46962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23115,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:11:28] local.INFO: GPS data processed {"connection_id":46962,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:11:28] local.INFO: Acknowledgment sent {"connection_id":46962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:11:50] local.INFO: TCP Data received {"connection_id":46226,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:11:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:11:50] local.INFO: Processing buffer {"connection_id":46226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:11:50] local.INFO: IMEI packet received {"connection_id":46226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:11:50] local.INFO: IMEI acknowledgment sent {"connection_id":46226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:11:53] local.INFO: TCP Data received {"connection_id":46226,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:11:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46226,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:11:53] local.INFO: Processing buffer {"connection_id":46226,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:11:53] local.INFO: IMEI packet received {"connection_id":46226,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:11:53] local.INFO: IMEI acknowledgment sent {"connection_id":46226,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:11:54] local.INFO: TCP Data received {"connection_id":46226,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c189530012d788cc005f065a8000f01532e..."} 
[2026-04-17 21:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c189530012d788cc005f065a8000f01532e..."} 
[2026-04-17 21:11:54] local.INFO: Processing buffer {"connection_id":46226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c189530012d788cc005f065a8000f01532e..."} 
[2026-04-17 21:11:54] local.INFO: Packet analysis {"connection_id":46226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c18"} 
[2026-04-17 21:11:54] local.INFO: Extracted packet for processing {"connection_id":46226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c18"} 
[2026-04-17 21:11:54] local.INFO: GPS Element Parsed {"raw_longitude":762875072,"raw_latitude":99640744,"longitude_deg":76.2875072,"latitude_deg":9.9640744,"altitude":15,"angle":339,"satellites":46,"speed":5,"hex_longitude":"2d788cc0","hex_latitude":"05f065a8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:11:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768728064001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:11:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274306294041542656,"note":"Value kept but may cause issues"} 
[2026-04-17 21:11:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8687091862984652800,"note":"Value kept but may cause issues"} 
[2026-04-17 21:11:54] 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-04-17 21:11:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776440350000,"timestamp_ms":1776440350000,"timestamp_seconds":1776440350,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c189530"} 
[2026-04-17 21:11:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:11: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-04-17 21: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 21:11:54] 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-04-17 21: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-04-17 21:11:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:11:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:11:54] local.INFO: Teltonika packet parsed successfully {"connection_id":46226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:11:54] local.INFO: Passing IMEI to GPS processor {"connection_id":46226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:11:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":46226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:11:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:11:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:11:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:11:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768728064001,"66":27430,"60":206,"87":11776,"24":5,"16":274306294041542656,"45":8687091862984652800},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-04-17 21:11:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:11:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:11:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768728064001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:11:54] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-17 21:11:54] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-17 21:11:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274306294041542656,"km_value":274306294041542.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:11:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8687091862984652800,"description":"Unknown IO ID 45"} 
[2026-04-17 21:11:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768728064001,"power":27430,"unknown_60":206,"unknown_87":11776,"ignition":5,"odometer":null,"unknown_45":8687091862984652800}} 
[2026-04-17 21:11:54] local.INFO: DEBUG: GPS processor result {"connection_id":46226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23116,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:11:54] local.INFO: GPS data processed {"connection_id":46226,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:11:54] local.INFO: Acknowledgment sent {"connection_id":46226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:11:59] local.INFO: TCP Data received {"connection_id":46962,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46962,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:11:59] local.INFO: Processing buffer {"connection_id":46962,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:11:59] local.INFO: Packet analysis {"connection_id":46962,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:11:59] local.INFO: Extracted packet for processing {"connection_id":46962,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119533168,"longitude_deg":75.6640704,"latitude_deg":11.9533168,"altitude":51,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d196bc0","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-04-17 21:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768642560001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289262592,"note":"Value kept but may cause issues"} 
[2026-04-17 21:11: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-04-17 21:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776440311000,"timestamp_ms":1776440311000,"timestamp_seconds":1776440311,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c17fcd8"} 
[2026-04-17 21:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:11:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:11: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-04-17 21:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46962,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46962,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768642560001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1831768810289262592},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768642560001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:11:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:11:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289262592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768642560001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810289262592}} 
[2026-04-17 21:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":46962,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23117,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:11:59] local.INFO: GPS data processed {"connection_id":46962,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:11:59] local.INFO: Acknowledgment sent {"connection_id":46962,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:12:21] local.INFO: TCP Data received {"connection_id":46227,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:12:21] local.INFO: Processing buffer {"connection_id":46227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:12:21] local.INFO: IMEI packet received {"connection_id":46227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":46227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:12:25] local.INFO: TCP Data received {"connection_id":46226,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c18a8b8012d788a8005f069b8000f01482e..."} 
[2026-04-17 21:12:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46226,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c18a8b8012d788a8005f069b8000f01482e..."} 
[2026-04-17 21:12:25] local.INFO: Processing buffer {"connection_id":46226,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c18a8b8012d788a8005f069b8000f01482e..."} 
[2026-04-17 21:12:25] local.INFO: Packet analysis {"connection_id":46226,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c18"} 
[2026-04-17 21:12:25] local.INFO: Extracted packet for processing {"connection_id":46226,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c18"} 
[2026-04-17 21:12:25] local.INFO: GPS Element Parsed {"raw_longitude":762874496,"raw_latitude":99641784,"longitude_deg":76.2874496,"latitude_deg":9.9641784,"altitude":15,"angle":328,"satellites":46,"speed":10,"hex_longitude":"2d788a80","hex_latitude":"05f069b8","is_valid_coordinates":true} 
[2026-04-17 21:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:12:25] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768729600001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:12:25] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274306354171084800,"note":"Value kept but may cause issues"} 
[2026-04-17 21:12:25] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8686528913031407616,"note":"Value kept but may cause issues"} 
[2026-04-17 21:12:25] 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-04-17 21:12:25] local.INFO: AVL Record Parsed {"raw_timestamp":1776440355000,"timestamp_ms":1776440355000,"timestamp_seconds":1776440355,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c18a8b8"} 
[2026-04-17 21:12:25] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:12:25] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 21:12:25] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":38,"data_length":795,"current_offset":136} 
[2026-04-17 21:12:25] 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-04-17 21:12:25] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:12:25] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:12:25] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:12:25] local.INFO: Teltonika packet parsed successfully {"connection_id":46226,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:12:25] local.INFO: Passing IMEI to GPS processor {"connection_id":46226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:12:25] local.INFO: DEBUG: About to call GPS processor {"connection_id":46226,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:12:25] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:12:25] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:12:25] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:12:25] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768729600001,"66":27300,"60":206,"87":11776,"24":10,"16":274306354171084800,"45":8686528913031407616},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-04-17 21:12:25] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:12:25] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:12:25] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768729600001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:12:25] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-17 21:12:25] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-17 21:12:25] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274306354171084800,"km_value":274306354171084.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:12:25] local.INFO: Unknown IO ID detected {"io_id":45,"value":8686528913031407616,"description":"Unknown IO ID 45"} 
[2026-04-17 21:12:25] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768729600001,"power":27300,"unknown_60":206,"unknown_87":11776,"ignition":10,"odometer":null,"unknown_45":8686528913031407616}} 
[2026-04-17 21:12:25] local.INFO: DEBUG: GPS processor result {"connection_id":46226,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23118,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:12:25] local.INFO: GPS data processed {"connection_id":46226,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:12:25] local.INFO: Acknowledgment sent {"connection_id":46226,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:12:26] local.INFO: TCP Data received {"connection_id":46227,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46227,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:12:26] local.INFO: Processing buffer {"connection_id":46227,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:12:26] local.INFO: IMEI packet received {"connection_id":46227,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":46227,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:12:28] local.INFO: TCP Data received {"connection_id":46227,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:12:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:12:28] local.INFO: Processing buffer {"connection_id":46227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c17fcd8012d196bc0071fee70003300fa2c..."} 
[2026-04-17 21:12:28] local.INFO: Packet analysis {"connection_id":46227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:12:28] local.INFO: Extracted packet for processing {"connection_id":46227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c17"} 
[2026-04-17 21:12:28] local.INFO: GPS Element Parsed {"raw_longitude":756640704,"raw_latitude":119533168,"longitude_deg":75.6640704,"latitude_deg":11.9533168,"altitude":51,"angle":250,"satellites":44,"speed":0,"hex_longitude":"2d196bc0","hex_latitude":"071fee70","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:12:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768642560001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:12:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:12:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289262592,"note":"Value kept but may cause issues"} 
[2026-04-17 21:12: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-04-17 21:12:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776440311000,"timestamp_ms":1776440311000,"timestamp_seconds":1776440311,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c17fcd8"} 
[2026-04-17 21:12:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:12:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20480,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:12: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-04-17 21: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-04-17 21:12:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:12:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:12:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:12:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:12:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:12:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:12:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:12:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:12:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768642560001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1831768810289262592},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:12:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:12:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:12:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768642560001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:12:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:12:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:12:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:12:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289262592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:12:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768642560001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810289262592}} 
[2026-04-17 21:12:28] local.INFO: DEBUG: GPS processor result {"connection_id":46227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23119,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:12:28] local.INFO: GPS data processed {"connection_id":46227,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:12:28] local.INFO: Acknowledgment sent {"connection_id":46227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:12:34] local.INFO: TCP Data received {"connection_id":46116,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:12:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46116,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:12:34] local.INFO: Processing buffer {"connection_id":46116,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:12:34] local.INFO: IMEI packet received {"connection_id":46116,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:12:34] local.INFO: IMEI acknowledgment sent {"connection_id":46116,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:12:48] local.INFO: TCP Data received {"connection_id":46117,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:12:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:12:48] local.INFO: Processing buffer {"connection_id":46117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:12:48] local.INFO: IMEI packet received {"connection_id":46117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:12:48] local.INFO: IMEI acknowledgment sent {"connection_id":46117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:12:49] local.INFO: TCP Data received {"connection_id":46117,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:12:49] local.INFO: Processing buffer {"connection_id":46117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:12:49] local.INFO: IMEI packet received {"connection_id":46117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":46117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:12:55] local.INFO: TCP Data received {"connection_id":46117,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46117,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:12:55] local.INFO: Processing buffer {"connection_id":46117,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:12:55] local.INFO: IMEI packet received {"connection_id":46117,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":46117,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:12:56] local.INFO: TCP Data received {"connection_id":46117,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c18db80012d78760005f08690000d01422e..."} 
[2026-04-17 21:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c18db80012d78760005f08690000d01422e..."} 
[2026-04-17 21:12:56] local.INFO: Processing buffer {"connection_id":46117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c18db80012d78760005f08690000d01422e..."} 
[2026-04-17 21:12:56] local.INFO: Packet analysis {"connection_id":46117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c18"} 
[2026-04-17 21:12:56] local.INFO: Extracted packet for processing {"connection_id":46117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c18"} 
[2026-04-17 21:12:56] local.INFO: GPS Element Parsed {"raw_longitude":762869248,"raw_latitude":99649168,"longitude_deg":76.2869248,"latitude_deg":9.9649168,"altitude":13,"angle":322,"satellites":46,"speed":35,"hex_longitude":"2d787600","hex_latitude":"05f08690","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768730880001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274306792257748992,"note":"Value kept but may cause issues"} 
[2026-04-17 21:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8685895594334074880,"note":"Value kept but may cause issues"} 
[2026-04-17 21:12:56] 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-04-17 21:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776440368000,"timestamp_ms":1776440368000,"timestamp_seconds":1776440368,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c18db80"} 
[2026-04-17 21:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 21: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 21:12:56] 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-04-17 21: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-04-17 21:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:12:56] 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-04-17 21:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768730880001,"66":27397,"60":206,"87":11776,"24":35,"16":274306792257748992,"45":8685895594334074880},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-04-17 21:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768730880001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:12:56] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-17 21:12:56] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-17 21:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274306792257748992,"km_value":274306792257749.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8685895594334074880,"description":"Unknown IO ID 45"} 
[2026-04-17 21:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768730880001,"power":27397,"unknown_60":206,"unknown_87":11776,"ignition":35,"odometer":null,"unknown_45":8685895594334074880}} 
[2026-04-17 21:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":46117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23120,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:12:56] local.INFO: GPS data processed {"connection_id":46117,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:12:56] local.INFO: Acknowledgment sent {"connection_id":46117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:12:59] local.INFO: TCP Data received {"connection_id":46227,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46227,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:12:59] local.INFO: Processing buffer {"connection_id":46227,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:12:59] local.INFO: Packet analysis {"connection_id":46227,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:12:59] local.INFO: Extracted packet for processing {"connection_id":46227,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533752,"longitude_deg":75.6639104,"latitude_deg":11.9533752,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-04-17 21:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768719616001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289262592,"note":"Value kept but may cause issues"} 
[2026-04-17 21:12: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-04-17 21:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776440526000,"timestamp_ms":1776440526000,"timestamp_seconds":1776440526,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1b44b0"} 
[2026-04-17 21:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:12:59] 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-04-17 21:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 21:12:59] 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-04-17 21:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46227,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46227,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768719616001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1831768810289262592},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768719616001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:12:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:12:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289262592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768719616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810289262592}} 
[2026-04-17 21:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":46227,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23121,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:12:59] local.INFO: GPS data processed {"connection_id":46227,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:12:59] local.INFO: Acknowledgment sent {"connection_id":46227,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:13:04] local.INFO: TCP Data received {"connection_id":46963,"ip":"42.106.6.22","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46963,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:13:04] local.INFO: Processing buffer {"connection_id":46963,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:13:04] local.INFO: IMEI packet received {"connection_id":46963,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:13:04] local.INFO: IMEI acknowledgment sent {"connection_id":46963,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:13:21] local.INFO: TCP Data received {"connection_id":46452,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:13:21] local.INFO: Processing buffer {"connection_id":46452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:13:21] local.INFO: IMEI packet received {"connection_id":46452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":46452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:13:26] local.INFO: TCP Data received {"connection_id":46452,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46452,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:13:26] local.INFO: Processing buffer {"connection_id":46452,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:13:26] local.INFO: IMEI packet received {"connection_id":46452,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":46452,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:13:27] local.INFO: TCP Data received {"connection_id":46452,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:13:27] local.INFO: Processing buffer {"connection_id":46452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:13:27] local.INFO: Packet analysis {"connection_id":46452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:13:27] local.INFO: Extracted packet for processing {"connection_id":46452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533752,"longitude_deg":75.6639104,"latitude_deg":11.9533752,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768719616001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289262592,"note":"Value kept but may cause issues"} 
[2026-04-17 21: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-04-17 21:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776440526000,"timestamp_ms":1776440526000,"timestamp_seconds":1776440526,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1b44b0"} 
[2026-04-17 21:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:13:27] 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-04-17 21: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":96,"data_length":795,"current_offset":136} 
[2026-04-17 21:13:27] 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-04-17 21: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-04-17 21:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768719616001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1831768810289262592},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768719616001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:13:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:13:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289262592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768719616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810289262592}} 
[2026-04-17 21:13:27] local.INFO: TCP Data received {"connection_id":46117,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c18f6d8012d78694005f09880000b01532d..."} 
[2026-04-17 21:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46117,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c18f6d8012d78694005f09880000b01532d..."} 
[2026-04-17 21:13:27] local.INFO: Processing buffer {"connection_id":46117,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c18f6d8012d78694005f09880000b01532d..."} 
[2026-04-17 21:13:27] local.INFO: Packet analysis {"connection_id":46117,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c18"} 
[2026-04-17 21:13:27] local.INFO: Extracted packet for processing {"connection_id":46117,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c18"} 
[2026-04-17 21:13:27] local.INFO: GPS Element Parsed {"raw_longitude":762865984,"raw_latitude":99653760,"longitude_deg":76.2865984,"latitude_deg":9.965376,"altitude":11,"angle":339,"satellites":45,"speed":29,"hex_longitude":"2d786940","hex_latitude":"05f09880","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768734208001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274307062840688640,"note":"Value kept but may cause issues"} 
[2026-04-17 21:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8680125357313396736,"note":"Value kept but may cause issues"} 
[2026-04-17 21:13:27] 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-04-17 21:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776440375000,"timestamp_ms":1776440375000,"timestamp_seconds":1776440375,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c18f6d8"} 
[2026-04-17 21:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 21:13:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 21:13:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46117,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46117,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768734208001,"66":27397,"60":206,"87":11776,"24":29,"16":274307062840688640,"45":8680125357313396736},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,60,87,24,16,45]} 
[2026-04-17 21:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768734208001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:13:27] local.INFO: Unknown IO ID detected {"io_id":60,"value":206,"description":"Unknown IO ID 60"} 
[2026-04-17 21:13:27] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-17 21:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274307062840688640,"km_value":274307062840688.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8680125357313396736,"description":"Unknown IO ID 45"} 
[2026-04-17 21:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768734208001,"power":27397,"unknown_60":206,"unknown_87":11776,"ignition":29,"odometer":null,"unknown_45":8680125357313396736}} 
[2026-04-17 21:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":46117,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23122,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:13:27] local.INFO: GPS data processed {"connection_id":46117,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:13:27] local.INFO: Acknowledgment sent {"connection_id":46117,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:13:28] local.INFO: DEBUG: GPS processor result {"connection_id":46452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23123,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:13:28] local.INFO: GPS data processed {"connection_id":46452,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:13:28] local.INFO: Acknowledgment sent {"connection_id":46452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:13:49] local.INFO: TCP Data received {"connection_id":46228,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:13:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:13:49] local.INFO: Processing buffer {"connection_id":46228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:13:49] local.INFO: IMEI packet received {"connection_id":46228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:13:49] local.INFO: IMEI acknowledgment sent {"connection_id":46228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:13:55] local.INFO: TCP Data received {"connection_id":46228,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46228,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:13:55] local.INFO: Processing buffer {"connection_id":46228,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:13:55] local.INFO: IMEI packet received {"connection_id":46228,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":46228,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:13:58] local.INFO: TCP Data received {"connection_id":46228,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1bb210012d783a4005f17d50001401612a..."} 
[2026-04-17 21:13:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46228,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1bb210012d783a4005f17d50001401612a..."} 
[2026-04-17 21:13:58] local.INFO: Processing buffer {"connection_id":46228,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1bb210012d783a4005f17d50001401612a..."} 
[2026-04-17 21:13:58] local.INFO: Packet analysis {"connection_id":46228,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:13:58] local.INFO: Extracted packet for processing {"connection_id":46228,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:13:58] local.INFO: GPS Element Parsed {"raw_longitude":762853952,"raw_latitude":99712336,"longitude_deg":76.2853952,"latitude_deg":9.9712336,"altitude":20,"angle":353,"satellites":42,"speed":35,"hex_longitude":"2d783a40","hex_latitude":"05f17d50","is_valid_coordinates":true} 
[2026-04-17 21:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:13:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768779008001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:13:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274309987713417216,"note":"Value kept but may cause issues"} 
[2026-04-17 21:13:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8664855339840630784,"note":"Value kept but may cause issues"} 
[2026-04-17 21:13:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:13:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776440554000,"timestamp_ms":1776440554000,"timestamp_seconds":1776440554,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1bb210"} 
[2026-04-17 21:13:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:13: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-04-17 21:13:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 21:13:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:13:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:13:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:13:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:13:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46228,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:13:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:13:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46228,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:13:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"42.106.6.44","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:13:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:13:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:13:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768779008001,"66":27213,"198":206,"87":11776,"24":35,"16":274309987713417216,"45":8664855339840630784},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-04-17 21:13:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:13:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:13:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768779008001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:13:58] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-04-17 21:13:58] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-17 21:13:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274309987713417216,"km_value":274309987713417.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:13:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8664855339840630784,"description":"Unknown IO ID 45"} 
[2026-04-17 21:13:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768779008001,"power":27213,"unknown_198":206,"unknown_87":11776,"ignition":35,"odometer":null,"unknown_45":8664855339840630784}} 
[2026-04-17 21:13:58] local.INFO: DEBUG: GPS processor result {"connection_id":46228,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23124,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:13:58] local.INFO: GPS data processed {"connection_id":46228,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:13:58] local.INFO: Acknowledgment sent {"connection_id":46228,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:13:59] local.INFO: TCP Data received {"connection_id":46452,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46452,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:13:59] local.INFO: Processing buffer {"connection_id":46452,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:13:59] local.INFO: Packet analysis {"connection_id":46452,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:13:59] local.INFO: Extracted packet for processing {"connection_id":46452,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533752,"longitude_deg":75.6639104,"latitude_deg":11.9533752,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-04-17 21:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768719616001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289262592,"note":"Value kept but may cause issues"} 
[2026-04-17 21:13: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-04-17 21:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776440526000,"timestamp_ms":1776440526000,"timestamp_seconds":1776440526,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1b44b0"} 
[2026-04-17 21:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:13:59] 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-04-17 21:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 21:13:59] 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-04-17 21:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46452,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46452,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768719616001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1831768810289262592},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768719616001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:13:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:13:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289262592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768719616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810289262592}} 
[2026-04-17 21:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":46452,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23125,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:13:59] local.INFO: GPS data processed {"connection_id":46452,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:13:59] local.INFO: Acknowledgment sent {"connection_id":46452,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:14:21] local.INFO: TCP Data received {"connection_id":46965,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:14:21] local.INFO: Processing buffer {"connection_id":46965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:14:21] local.INFO: IMEI packet received {"connection_id":46965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":46965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:14:26] local.INFO: TCP Data received {"connection_id":46965,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46965,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:14:26] local.INFO: Processing buffer {"connection_id":46965,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:14:26] local.INFO: IMEI packet received {"connection_id":46965,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":46965,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:14:27] local.INFO: TCP Data received {"connection_id":46965,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:14:27] local.INFO: Processing buffer {"connection_id":46965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:14:27] local.INFO: Packet analysis {"connection_id":46965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:14:27] local.INFO: Extracted packet for processing {"connection_id":46965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:14:27] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533752,"longitude_deg":75.6639104,"latitude_deg":11.9533752,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-04-17 21:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768719616001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289262592,"note":"Value kept but may cause issues"} 
[2026-04-17 21:14: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-04-17 21:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776440526000,"timestamp_ms":1776440526000,"timestamp_seconds":1776440526,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1b44b0"} 
[2026-04-17 21:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:14:27] 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-04-17 21:14:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 21:14:27] 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-04-17 21:14:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768719616001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1831768810289262592},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768719616001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:14:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:14:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289262592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768719616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810289262592}} 
[2026-04-17 21:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":46965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23126,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:14:27] local.INFO: GPS data processed {"connection_id":46965,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:14:27] local.INFO: Acknowledgment sent {"connection_id":46965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:14:50] local.INFO: TCP Data received {"connection_id":46229,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:14:50] local.INFO: Processing buffer {"connection_id":46229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:14:50] local.INFO: IMEI packet received {"connection_id":46229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":46229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:14:55] local.INFO: TCP Data received {"connection_id":46229,"ip":"42.106.6.44","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46229,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:14:55] local.INFO: Processing buffer {"connection_id":46229,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:14:55] local.INFO: IMEI packet received {"connection_id":46229,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":46229,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:14:57] local.INFO: TCP Data received {"connection_id":46229,"ip":"42.106.6.44","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1c0418012d78394005f192a0001a015b33..."} 
[2026-04-17 21:14:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46229,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1c0418012d78394005f192a0001a015b33..."} 
[2026-04-17 21:14:57] local.INFO: Processing buffer {"connection_id":46229,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1c0418012d78394005f192a0001a015b33..."} 
[2026-04-17 21:14:57] local.INFO: Packet analysis {"connection_id":46229,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1c"} 
[2026-04-17 21:14:57] local.INFO: Extracted packet for processing {"connection_id":46229,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1c"} 
[2026-04-17 21:14:57] local.INFO: GPS Element Parsed {"raw_longitude":762853696,"raw_latitude":99717792,"longitude_deg":76.2853696,"latitude_deg":9.9717792,"altitude":26,"angle":347,"satellites":51,"speed":0,"hex_longitude":"2d783940","hex_latitude":"05f192a0","is_valid_coordinates":true} 
[2026-04-17 21:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:14:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768781824001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:14:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274310271181258752,"note":"Value kept but may cause issues"} 
[2026-04-17 21:14:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8663307227471106048,"note":"Value kept but may cause issues"} 
[2026-04-17 21:14:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,198,87,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:14:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776440575000,"timestamp_ms":1776440575000,"timestamp_seconds":1776440575,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1c0418"} 
[2026-04-17 21:14:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:14: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-04-17 21:14:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-17 21:14:57] 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-04-17 21:14:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:14:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:14:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:14:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46229,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:14:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:14:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46229,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:14:57] 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-04-17 21:14:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:14:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:14:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768781824001,"66":27463,"198":206,"87":11776,"24":0,"16":274310271181258752,"45":8663307227471106048},"client_ip":"42.106.6.44","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,198,87,24,16,45]} 
[2026-04-17 21:14:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:14:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:14:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768781824001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:14:57] local.INFO: Unknown IO ID detected {"io_id":198,"value":206,"description":"Unknown IO ID 198"} 
[2026-04-17 21:14:57] local.INFO: Unknown IO ID detected {"io_id":87,"value":11776,"description":"Unknown IO ID 87"} 
[2026-04-17 21:14:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274310271181258752,"km_value":274310271181258.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:14:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8663307227471106048,"description":"Unknown IO ID 45"} 
[2026-04-17 21:14:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768781824001,"power":27463,"unknown_198":206,"unknown_87":11776,"ignition":0,"odometer":null,"unknown_45":8663307227471106048}} 
[2026-04-17 21:14:57] local.INFO: DEBUG: GPS processor result {"connection_id":46229,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23127,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:14:57] local.INFO: GPS data processed {"connection_id":46229,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:14:57] local.INFO: Acknowledgment sent {"connection_id":46229,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:14:59] local.INFO: TCP Data received {"connection_id":46965,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46965,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:14:59] local.INFO: Processing buffer {"connection_id":46965,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:14:59] local.INFO: Packet analysis {"connection_id":46965,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:14:59] local.INFO: Extracted packet for processing {"connection_id":46965,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:14:59] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533752,"longitude_deg":75.6639104,"latitude_deg":11.9533752,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768719616001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289262592,"note":"Value kept but may cause issues"} 
[2026-04-17 21:14: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-04-17 21:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776440526000,"timestamp_ms":1776440526000,"timestamp_seconds":1776440526,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1b44b0"} 
[2026-04-17 21:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:14:59] 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-04-17 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 21:14:59] 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-04-17 21:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46965,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46965,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768719616001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1831768810289262592},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768719616001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:14:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289262592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768719616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810289262592}} 
[2026-04-17 21:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":46965,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23128,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:14:59] local.INFO: GPS data processed {"connection_id":46965,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:14:59] local.INFO: Acknowledgment sent {"connection_id":46965,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:15:21] local.INFO: TCP Data received {"connection_id":46454,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:15:21] local.INFO: Processing buffer {"connection_id":46454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:15:21] local.INFO: IMEI packet received {"connection_id":46454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":46454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:15:26] local.INFO: TCP Data received {"connection_id":46454,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46454,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:15:26] local.INFO: Processing buffer {"connection_id":46454,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:15:26] local.INFO: IMEI packet received {"connection_id":46454,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":46454,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:15:27] local.INFO: TCP Data received {"connection_id":46454,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:15:27] local.INFO: Processing buffer {"connection_id":46454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:15:27] local.INFO: Packet analysis {"connection_id":46454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:15:27] local.INFO: Extracted packet for processing {"connection_id":46454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:15:27] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533752,"longitude_deg":75.6639104,"latitude_deg":11.9533752,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-04-17 21:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768719616001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289262592,"note":"Value kept but may cause issues"} 
[2026-04-17 21:15: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-04-17 21:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776440526000,"timestamp_ms":1776440526000,"timestamp_seconds":1776440526,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1b44b0"} 
[2026-04-17 21:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:15:27] 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-04-17 21:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 21:15:27] 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-04-17 21:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768719616001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1831768810289262592},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768719616001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:15:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:15:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289262592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768719616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810289262592}} 
[2026-04-17 21:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":46454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23129,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:15:28] local.INFO: GPS data processed {"connection_id":46454,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:15:28] local.INFO: Acknowledgment sent {"connection_id":46454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:15:59] local.INFO: TCP Data received {"connection_id":46454,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:15:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46454,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:15:59] local.INFO: Processing buffer {"connection_id":46454,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:15:59] local.INFO: Packet analysis {"connection_id":46454,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:15:59] local.INFO: Extracted packet for processing {"connection_id":46454,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:15:59] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533752,"longitude_deg":75.6639104,"latitude_deg":11.9533752,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-04-17 21:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:15:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768719616001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:15:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:15:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289262592,"note":"Value kept but may cause issues"} 
[2026-04-17 21:15: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-04-17 21:15:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776440526000,"timestamp_ms":1776440526000,"timestamp_seconds":1776440526,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1b44b0"} 
[2026-04-17 21:15:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:15:59] 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-04-17 21:15:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 21:15:59] 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-04-17 21:15:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:15:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:15:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:15:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46454,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:15:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:15:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46454,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:15:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:15:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:15:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:15:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768719616001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1831768810289262592},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:15:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:15:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:15:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768719616001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:15:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:15:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:15:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:15:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289262592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:15:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768719616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810289262592}} 
[2026-04-17 21:15:59] local.INFO: DEBUG: GPS processor result {"connection_id":46454,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23130,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:15:59] local.INFO: GPS data processed {"connection_id":46454,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:15:59] local.INFO: Acknowledgment sent {"connection_id":46454,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:16:21] local.INFO: TCP Data received {"connection_id":46966,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:16:21] local.INFO: Processing buffer {"connection_id":46966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:16:21] local.INFO: IMEI packet received {"connection_id":46966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":46966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:16:26] local.INFO: TCP Data received {"connection_id":46966,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46966,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:16:26] local.INFO: Processing buffer {"connection_id":46966,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:16:26] local.INFO: IMEI packet received {"connection_id":46966,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":46966,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:16:27] local.INFO: TCP Data received {"connection_id":46966,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:16:27] local.INFO: Processing buffer {"connection_id":46966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:16:27] local.INFO: Packet analysis {"connection_id":46966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:16:27] local.INFO: Extracted packet for processing {"connection_id":46966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:16:27] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533752,"longitude_deg":75.6639104,"latitude_deg":11.9533752,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-04-17 21:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768719616001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289262592,"note":"Value kept but may cause issues"} 
[2026-04-17 21:16: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-04-17 21:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776440526000,"timestamp_ms":1776440526000,"timestamp_seconds":1776440526,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1b44b0"} 
[2026-04-17 21:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:16:27] 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-04-17 21:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 21:16:27] 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-04-17 21:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768719616001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1831768810289262592},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768719616001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:16:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:16:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289262592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768719616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810289262592}} 
[2026-04-17 21:16:28] local.INFO: DEBUG: GPS processor result {"connection_id":46966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23131,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:16:28] local.INFO: GPS data processed {"connection_id":46966,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:16:28] local.INFO: Acknowledgment sent {"connection_id":46966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:16:59] local.INFO: TCP Data received {"connection_id":46966,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46966,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:16:59] local.INFO: Processing buffer {"connection_id":46966,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:16:59] local.INFO: Packet analysis {"connection_id":46966,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:16:59] local.INFO: Extracted packet for processing {"connection_id":46966,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:16:59] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533752,"longitude_deg":75.6639104,"latitude_deg":11.9533752,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-04-17 21:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768719616001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289262592,"note":"Value kept but may cause issues"} 
[2026-04-17 21:16: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-04-17 21:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776440526000,"timestamp_ms":1776440526000,"timestamp_seconds":1776440526,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1b44b0"} 
[2026-04-17 21:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:16:59] 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-04-17 21: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 21:16:59] 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-04-17 21: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-04-17 21:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46966,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46966,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768719616001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1831768810289262592},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768719616001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:16:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:16:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289262592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768719616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810289262592}} 
[2026-04-17 21:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":46966,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23132,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:16:59] local.INFO: GPS data processed {"connection_id":46966,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:16:59] local.INFO: Acknowledgment sent {"connection_id":46966,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:17:26] local.INFO: TCP Data received {"connection_id":46119,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:17:26] local.INFO: Processing buffer {"connection_id":46119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:17:26] local.INFO: IMEI packet received {"connection_id":46119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":46119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:17:31] local.INFO: TCP Data received {"connection_id":46119,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:17:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46119,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:17:31] local.INFO: Processing buffer {"connection_id":46119,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:17:31] local.INFO: IMEI packet received {"connection_id":46119,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:17:31] local.INFO: IMEI acknowledgment sent {"connection_id":46119,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:17:32] local.INFO: TCP Data received {"connection_id":46119,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:17:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:17:32] local.INFO: Processing buffer {"connection_id":46119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:17:32] local.INFO: Packet analysis {"connection_id":46119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:17:32] local.INFO: Extracted packet for processing {"connection_id":46119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:17:32] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533752,"longitude_deg":75.6639104,"latitude_deg":11.9533752,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-04-17 21:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:17:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768719616001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:17:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:17:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289262592,"note":"Value kept but may cause issues"} 
[2026-04-17 21:17:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:17:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776440526000,"timestamp_ms":1776440526000,"timestamp_seconds":1776440526,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1b44b0"} 
[2026-04-17 21:17:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:17:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:17:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 21:17:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:17:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:17:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:17:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:17:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:17:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:17:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:17:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:17:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:17:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:17:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768719616001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1831768810289262592},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:17:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:17:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:17:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768719616001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:17:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:17:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:17:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:17:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289262592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:17:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768719616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810289262592}} 
[2026-04-17 21:17:32] local.INFO: DEBUG: GPS processor result {"connection_id":46119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23133,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:17:32] local.INFO: GPS data processed {"connection_id":46119,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:17:32] local.INFO: Acknowledgment sent {"connection_id":46119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:17:37] local.INFO: TCP Data received {"connection_id":46119,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:17:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46119,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:17:37] local.INFO: Processing buffer {"connection_id":46119,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1b44b0012d196580071ff0b80033013b2c..."} 
[2026-04-17 21:17:37] local.INFO: Packet analysis {"connection_id":46119,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:17:37] local.INFO: Extracted packet for processing {"connection_id":46119,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1b"} 
[2026-04-17 21:17:37] local.INFO: GPS Element Parsed {"raw_longitude":756639104,"raw_latitude":119533752,"longitude_deg":75.6639104,"latitude_deg":11.9533752,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196580","hex_latitude":"071ff0b8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:17:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768719616001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:17:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:17:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1831768810289262592,"note":"Value kept but may cause issues"} 
[2026-04-17 21:17: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-04-17 21:17:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776440526000,"timestamp_ms":1776440526000,"timestamp_seconds":1776440526,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1b44b0"} 
[2026-04-17 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-04-17 21:17:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":20224,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 21:17:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 21:17:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:17:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46119,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:17:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:17:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46119,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:17:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:17:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:17:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:17:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768719616001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1831768810289262592},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:17:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:17:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:17:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768719616001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:17:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:17:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:17:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:17:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1831768810289262592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:17:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768719616001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1831768810289262592}} 
[2026-04-17 21:17:37] local.INFO: DEBUG: GPS processor result {"connection_id":46119,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23134,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:17:37] local.INFO: GPS data processed {"connection_id":46119,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:17:37] local.INFO: Acknowledgment sent {"connection_id":46119,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:18:21] local.INFO: TCP Data received {"connection_id":46456,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:18:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:18:21] local.INFO: Processing buffer {"connection_id":46456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:18:21] local.INFO: IMEI packet received {"connection_id":46456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:18:21] local.INFO: IMEI acknowledgment sent {"connection_id":46456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:18:26] local.INFO: TCP Data received {"connection_id":46456,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46456,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:18:26] local.INFO: Processing buffer {"connection_id":46456,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:18:26] local.INFO: IMEI packet received {"connection_id":46456,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":46456,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:18:27] local.INFO: TCP Data received {"connection_id":46456,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:18:27] local.INFO: Processing buffer {"connection_id":46456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:18:27] local.INFO: Packet analysis {"connection_id":46456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:18:27] local.INFO: Extracted packet for processing {"connection_id":46456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:18:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768774656001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684970496,"note":"Value kept but may cause issues"} 
[2026-04-17 21:18: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-04-17 21:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776440827000,"timestamp_ms":1776440827000,"timestamp_seconds":1776440827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1fdc78"} 
[2026-04-17 21:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 21:18:27] 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-04-17 21:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768774656001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1830009591684970496},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768774656001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:18:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:18:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684970496,"description":"Unknown IO ID 45"} 
[2026-04-17 21:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768774656001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684970496}} 
[2026-04-17 21:18:28] local.INFO: DEBUG: GPS processor result {"connection_id":46456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23135,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:18:28] local.INFO: GPS data processed {"connection_id":46456,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:18:28] local.INFO: Acknowledgment sent {"connection_id":46456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:18:34] local.INFO: TCP Data received {"connection_id":46455,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:18:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46455,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:18:34] local.INFO: Processing buffer {"connection_id":46455,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:18:34] local.INFO: IMEI packet received {"connection_id":46455,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:18:34] local.INFO: IMEI acknowledgment sent {"connection_id":46455,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:18:59] local.INFO: TCP Data received {"connection_id":46456,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:18:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46456,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:18:59] local.INFO: Processing buffer {"connection_id":46456,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:18:59] local.INFO: Packet analysis {"connection_id":46456,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:18:59] local.INFO: Extracted packet for processing {"connection_id":46456,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:18:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:18:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768774656001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:18:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:18:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684970496,"note":"Value kept but may cause issues"} 
[2026-04-17 21: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-04-17 21:18:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776440827000,"timestamp_ms":1776440827000,"timestamp_seconds":1776440827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1fdc78"} 
[2026-04-17 21:18:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:18:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:18:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 21:18:59] 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-04-17 21:18:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:18:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:18:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:18:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46456,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:18:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:18:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46456,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:18:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:18:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:18:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:18:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768774656001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1830009591684970496},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:18:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:18:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:18:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768774656001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:18:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:18:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:18:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:18:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684970496,"description":"Unknown IO ID 45"} 
[2026-04-17 21:18:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768774656001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684970496}} 
[2026-04-17 21:18:59] local.INFO: DEBUG: GPS processor result {"connection_id":46456,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23136,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:18:59] local.INFO: GPS data processed {"connection_id":46456,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:18:59] local.INFO: Acknowledgment sent {"connection_id":46456,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:19:03] local.INFO: TCP Data received {"connection_id":46120,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:19:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46120,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:19:03] local.INFO: Processing buffer {"connection_id":46120,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:19:03] local.INFO: IMEI packet received {"connection_id":46120,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:19:03] local.INFO: IMEI acknowledgment sent {"connection_id":46120,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:19:21] local.INFO: TCP Data received {"connection_id":46121,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:19:21] local.INFO: Processing buffer {"connection_id":46121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:19:21] local.INFO: IMEI packet received {"connection_id":46121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":46121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:19:26] local.INFO: TCP Data received {"connection_id":46121,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46121,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:19:26] local.INFO: Processing buffer {"connection_id":46121,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:19:26] local.INFO: IMEI packet received {"connection_id":46121,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":46121,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:19:28] local.INFO: TCP Data received {"connection_id":46121,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:19:28] local.INFO: Processing buffer {"connection_id":46121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:19:28] local.INFO: Packet analysis {"connection_id":46121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:19:28] local.INFO: Extracted packet for processing {"connection_id":46121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768774656001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684970496,"note":"Value kept but may cause issues"} 
[2026-04-17 21:19: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-04-17 21:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776440827000,"timestamp_ms":1776440827000,"timestamp_seconds":1776440827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1fdc78"} 
[2026-04-17 21:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 21:19:28] 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-04-17 21: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-04-17 21:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768774656001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1830009591684970496},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768774656001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:19:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:19:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684970496,"description":"Unknown IO ID 45"} 
[2026-04-17 21:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768774656001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684970496}} 
[2026-04-17 21:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":46121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23137,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:19:28] local.INFO: GPS data processed {"connection_id":46121,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:19:28] local.INFO: Acknowledgment sent {"connection_id":46121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:19:59] local.INFO: TCP Data received {"connection_id":46121,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46121,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:19:59] local.INFO: Processing buffer {"connection_id":46121,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:19:59] local.INFO: Packet analysis {"connection_id":46121,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:19:59] local.INFO: Extracted packet for processing {"connection_id":46121,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768774656001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684970496,"note":"Value kept but may cause issues"} 
[2026-04-17 21:19: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-04-17 21:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776440827000,"timestamp_ms":1776440827000,"timestamp_seconds":1776440827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1fdc78"} 
[2026-04-17 21:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:19:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 21:19:59] 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-04-17 21:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46121,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46121,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768774656001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1830009591684970496},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768774656001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:19:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:19:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684970496,"description":"Unknown IO ID 45"} 
[2026-04-17 21:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768774656001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684970496}} 
[2026-04-17 21:20:00] local.INFO: DEBUG: GPS processor result {"connection_id":46121,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23138,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:20:00] local.INFO: GPS data processed {"connection_id":46121,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:20:00] local.INFO: Acknowledgment sent {"connection_id":46121,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:20:26] local.INFO: TCP Data received {"connection_id":46967,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:20:26] local.INFO: Processing buffer {"connection_id":46967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:20:26] local.INFO: IMEI packet received {"connection_id":46967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":46967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:20:31] local.INFO: TCP Data received {"connection_id":46967,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:20:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46967,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:20:31] local.INFO: Processing buffer {"connection_id":46967,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:20:31] local.INFO: IMEI packet received {"connection_id":46967,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:20:31] local.INFO: IMEI acknowledgment sent {"connection_id":46967,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:20:32] local.INFO: TCP Data received {"connection_id":46967,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:20:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:20:32] local.INFO: Processing buffer {"connection_id":46967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:20:32] local.INFO: Packet analysis {"connection_id":46967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:20:32] local.INFO: Extracted packet for processing {"connection_id":46967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:20:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:20:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768774656001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:20:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:20:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684970496,"note":"Value kept but may cause issues"} 
[2026-04-17 21:20:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:20:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776440827000,"timestamp_ms":1776440827000,"timestamp_seconds":1776440827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1fdc78"} 
[2026-04-17 21:20:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:20:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:20:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 21:20:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:20:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:20:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:20:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:20:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:20:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:20:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:20:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:20:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:20:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:20:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768774656001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1830009591684970496},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:20:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:20:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:20:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768774656001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:20:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:20:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:20:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:20:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684970496,"description":"Unknown IO ID 45"} 
[2026-04-17 21:20:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768774656001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684970496}} 
[2026-04-17 21:20:33] local.INFO: DEBUG: GPS processor result {"connection_id":46967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23139,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:20:33] local.INFO: GPS data processed {"connection_id":46967,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:20:33] local.INFO: Acknowledgment sent {"connection_id":46967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:20:37] local.INFO: TCP Data received {"connection_id":46967,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:20:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46967,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:20:37] local.INFO: Processing buffer {"connection_id":46967,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:20:37] local.INFO: Packet analysis {"connection_id":46967,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:20:37] local.INFO: Extracted packet for processing {"connection_id":46967,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:20:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:20:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768774656001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:20:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:20:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684970496,"note":"Value kept but may cause issues"} 
[2026-04-17 21:20: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-04-17 21:20:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776440827000,"timestamp_ms":1776440827000,"timestamp_seconds":1776440827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1fdc78"} 
[2026-04-17 21:20:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:20:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:20:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 21:20:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:20:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:20:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:20:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:20:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46967,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:20:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:20:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46967,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:20:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:20:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:20:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:20:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768774656001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1830009591684970496},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:20:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:20:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:20:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768774656001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:20:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:20:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:20:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:20:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684970496,"description":"Unknown IO ID 45"} 
[2026-04-17 21:20:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768774656001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684970496}} 
[2026-04-17 21:20:37] local.INFO: DEBUG: GPS processor result {"connection_id":46967,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23140,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:20:37] local.INFO: GPS data processed {"connection_id":46967,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:20:37] local.INFO: Acknowledgment sent {"connection_id":46967,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:21:21] local.INFO: TCP Data received {"connection_id":46457,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:21:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:21:21] local.INFO: Processing buffer {"connection_id":46457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:21:21] local.INFO: IMEI packet received {"connection_id":46457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:21:21] local.INFO: IMEI acknowledgment sent {"connection_id":46457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:21:26] local.INFO: TCP Data received {"connection_id":46457,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46457,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:21:26] local.INFO: Processing buffer {"connection_id":46457,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:21:26] local.INFO: IMEI packet received {"connection_id":46457,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":46457,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:21:28] local.INFO: TCP Data received {"connection_id":46457,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:21:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:21:28] local.INFO: Processing buffer {"connection_id":46457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:21:28] local.INFO: Packet analysis {"connection_id":46457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:21:28] local.INFO: Extracted packet for processing {"connection_id":46457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:21:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:21:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768774656001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:21:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:21:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684970496,"note":"Value kept but may cause issues"} 
[2026-04-17 21: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-04-17 21:21:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776440827000,"timestamp_ms":1776440827000,"timestamp_seconds":1776440827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1fdc78"} 
[2026-04-17 21:21:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:21:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 21:21:28] 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-04-17 21: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-04-17 21:21:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:21:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:21:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:21:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:21:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:21:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:21:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:21:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:21:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768774656001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1830009591684970496},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:21:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:21:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:21:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768774656001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:21:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:21:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:21:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:21:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684970496,"description":"Unknown IO ID 45"} 
[2026-04-17 21:21:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768774656001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684970496}} 
[2026-04-17 21:21:28] local.INFO: DEBUG: GPS processor result {"connection_id":46457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23141,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:21:28] local.INFO: GPS data processed {"connection_id":46457,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:21:28] local.INFO: Acknowledgment sent {"connection_id":46457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:22:00] local.INFO: TCP Data received {"connection_id":46457,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:22:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46457,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:22:00] local.INFO: Processing buffer {"connection_id":46457,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:22:00] local.INFO: Packet analysis {"connection_id":46457,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:22:00] local.INFO: Extracted packet for processing {"connection_id":46457,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:22:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:22:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768774656001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:22:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:22:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684970496,"note":"Value kept but may cause issues"} 
[2026-04-17 21: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-04-17 21:22:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776440827000,"timestamp_ms":1776440827000,"timestamp_seconds":1776440827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1fdc78"} 
[2026-04-17 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-04-17 21:22:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 21:22:00] 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-04-17 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-04-17 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-04-17 21:22:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:22:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46457,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:22:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:22:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46457,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:22:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:22:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:22:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:22:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768774656001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1830009591684970496},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:22:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:22:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:22:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768774656001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:22:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:22:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:22:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:22:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684970496,"description":"Unknown IO ID 45"} 
[2026-04-17 21:22:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768774656001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684970496}} 
[2026-04-17 21:22:00] local.INFO: DEBUG: GPS processor result {"connection_id":46457,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23142,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:22:00] local.INFO: GPS data processed {"connection_id":46457,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:22:00] local.INFO: Acknowledgment sent {"connection_id":46457,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:22:21] local.INFO: TCP Data received {"connection_id":46458,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:22:21] local.INFO: Processing buffer {"connection_id":46458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:22:21] local.INFO: IMEI packet received {"connection_id":46458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":46458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:22:26] local.INFO: TCP Data received {"connection_id":46458,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46458,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:22:26] local.INFO: Processing buffer {"connection_id":46458,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:22:26] local.INFO: IMEI packet received {"connection_id":46458,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":46458,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:22:28] local.INFO: TCP Data received {"connection_id":46458,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:22:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:22:28] local.INFO: Processing buffer {"connection_id":46458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1fdc78012d196500071ff0900033013b2d..."} 
[2026-04-17 21:22:28] local.INFO: Packet analysis {"connection_id":46458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:22:28] local.INFO: Extracted packet for processing {"connection_id":46458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:22:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:22:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768774656001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:22:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:22:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1830009591684970496,"note":"Value kept but may cause issues"} 
[2026-04-17 21:22: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-04-17 21:22:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776440827000,"timestamp_ms":1776440827000,"timestamp_seconds":1776440827,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1fdc78"} 
[2026-04-17 21:22:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:22:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:22:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 21:22:28] 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-04-17 21:22:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:22:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:22:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:22:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:22:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:22:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:22:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:22:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:22:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:22:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768774656001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1830009591684970496},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:22:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:22:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:22:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768774656001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:22:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:22:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:22:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:22:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1830009591684970496,"description":"Unknown IO ID 45"} 
[2026-04-17 21:22:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768774656001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1830009591684970496}} 
[2026-04-17 21:22:28] local.INFO: DEBUG: GPS processor result {"connection_id":46458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23143,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:22:28] local.INFO: GPS data processed {"connection_id":46458,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:22:28] local.INFO: Acknowledgment sent {"connection_id":46458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:22:59] local.INFO: TCP Data received {"connection_id":46123,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:22:59] local.INFO: Processing buffer {"connection_id":46123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:22:59] local.INFO: IMEI packet received {"connection_id":46123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:22:59] local.INFO: IMEI acknowledgment sent {"connection_id":46123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:23:00] local.INFO: TCP Data received {"connection_id":46458,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:23:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46458,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:23:00] local.INFO: Processing buffer {"connection_id":46458,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:23:00] local.INFO: Packet analysis {"connection_id":46458,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:23:00] local.INFO: Extracted packet for processing {"connection_id":46458,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:23:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:23:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768851712001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:23:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:23:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:23: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-04-17 21:23:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776441128000,"timestamp_ms":1776441128000,"timestamp_seconds":1776441128,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c247440"} 
[2026-04-17 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-04-17 21:23:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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-04-17 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-04-17 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-04-17 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-04-17 21:23:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:23:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46458,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:23:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:23:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46458,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:23:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:23:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:23:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:23:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768851712001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:23:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:23:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:23:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768851712001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:23:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:23:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:23:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:23:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:23:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768851712001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:23:00] local.INFO: DEBUG: GPS processor result {"connection_id":46458,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23144,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:23:00] local.INFO: GPS data processed {"connection_id":46458,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:23:00] local.INFO: Acknowledgment sent {"connection_id":46458,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:23:05] local.INFO: TCP Data received {"connection_id":46123,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:23:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46123,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:23:05] local.INFO: Processing buffer {"connection_id":46123,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:23:05] local.INFO: IMEI packet received {"connection_id":46123,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:23:05] local.INFO: IMEI acknowledgment sent {"connection_id":46123,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:23:06] local.INFO: TCP Data received {"connection_id":46123,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1ef218012d77a44005f2a4900010000626..."} 
[2026-04-17 21:23:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46123,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1ef218012d77a44005f2a4900010000626..."} 
[2026-04-17 21:23:06] local.INFO: Processing buffer {"connection_id":46123,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1ef218012d77a44005f2a4900010000626..."} 
[2026-04-17 21:23:06] local.INFO: Packet analysis {"connection_id":46123,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1e"} 
[2026-04-17 21:23:06] local.INFO: Extracted packet for processing {"connection_id":46123,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1e"} 
[2026-04-17 21:23:06] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99787920,"longitude_deg":76.2815552,"latitude_deg":9.978792,"altitude":16,"angle":6,"satellites":38,"speed":10,"hex_longitude":"2d77a440","hex_latitude":"05f2a490","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:23:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768835840001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:23:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315060069793792,"note":"Value kept but may cause issues"} 
[2026-04-17 21:23:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621156349727887360,"note":"Value kept but may cause issues"} 
[2026-04-17 21:23: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-04-17 21:23:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776440767000,"timestamp_ms":1776440767000,"timestamp_seconds":1776440767,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1ef218"} 
[2026-04-17 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-04-17 21:23: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-04-17 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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 21:23:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 21:23:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:23:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46123,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:23:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:23:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46123,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:23:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:23:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:23:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:23:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768835840001,"66":27267,"96":206,"87":13568,"24":10,"16":274315060069793792,"45":8621156349727887360},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-04-17 21:23:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:23:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:23:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768835840001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:23:06] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-17 21:23:06] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-04-17 21:23:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315060069793792,"km_value":274315060069793.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:23:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621156349727887360,"description":"Unknown IO ID 45"} 
[2026-04-17 21:23:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768835840001,"power":27267,"unknown_96":206,"unknown_87":13568,"ignition":10,"odometer":null,"unknown_45":8621156349727887360}} 
[2026-04-17 21:23:06] local.INFO: DEBUG: GPS processor result {"connection_id":46123,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23145,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:23:06] local.INFO: GPS data processed {"connection_id":46123,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:23:06] local.INFO: Acknowledgment sent {"connection_id":46123,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:23:26] local.INFO: TCP Data received {"connection_id":46232,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:23:26] local.INFO: Processing buffer {"connection_id":46232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:23:26] local.INFO: IMEI packet received {"connection_id":46232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":46232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:23:31] local.INFO: TCP Data received {"connection_id":46232,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:23:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46232,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:23:31] local.INFO: Processing buffer {"connection_id":46232,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:23:31] local.INFO: IMEI packet received {"connection_id":46232,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:23:31] local.INFO: IMEI acknowledgment sent {"connection_id":46232,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:23:32] local.INFO: TCP Data received {"connection_id":46232,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:23:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:23:32] local.INFO: Processing buffer {"connection_id":46232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:23:32] local.INFO: Packet analysis {"connection_id":46232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:23:32] local.INFO: Extracted packet for processing {"connection_id":46232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:23:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:23:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768851712001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:23:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:23:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:23:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:23:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776441128000,"timestamp_ms":1776441128000,"timestamp_seconds":1776441128,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c247440"} 
[2026-04-17 21:23:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:23:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:23:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:23:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:23:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:23:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:23:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:23:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:23:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:23:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:23:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:23:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:23:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:23:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768851712001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:23:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:23:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:23:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768851712001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:23:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:23:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:23:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:23:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:23:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768851712001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:23:33] local.INFO: DEBUG: GPS processor result {"connection_id":46232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23146,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:23:33] local.INFO: GPS data processed {"connection_id":46232,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:23:33] local.INFO: Acknowledgment sent {"connection_id":46232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:23:37] local.INFO: TCP Data received {"connection_id":46232,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:23:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46232,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:23:37] local.INFO: Processing buffer {"connection_id":46232,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:23:37] local.INFO: Packet analysis {"connection_id":46232,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:23:37] local.INFO: Extracted packet for processing {"connection_id":46232,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:23:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:23:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768851712001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:23:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:23:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:23: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-04-17 21:23:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776441128000,"timestamp_ms":1776441128000,"timestamp_seconds":1776441128,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c247440"} 
[2026-04-17 21:23:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:23:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:23:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:23:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:23:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:23:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46232,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:23:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:23:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46232,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:23:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:23:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:23:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:23:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768851712001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:23:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:23:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:23:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768851712001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:23:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:23:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:23:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:23:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:23:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768851712001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:23:37] local.INFO: DEBUG: GPS processor result {"connection_id":46232,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23147,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:23:37] local.INFO: GPS data processed {"connection_id":46232,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:23:37] local.INFO: Acknowledgment sent {"connection_id":46232,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:23:49] local.INFO: TCP Data received {"connection_id":46969,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:23:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:23:49] local.INFO: Processing buffer {"connection_id":46969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:23:49] local.INFO: IMEI packet received {"connection_id":46969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:23:49] local.INFO: IMEI acknowledgment sent {"connection_id":46969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:23:58] local.INFO: TCP Data received {"connection_id":46969,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46969,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:23:58] local.INFO: Processing buffer {"connection_id":46969,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:23:58] local.INFO: IMEI packet received {"connection_id":46969,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:23:58] local.INFO: IMEI acknowledgment sent {"connection_id":46969,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:23:59] local.INFO: TCP Data received {"connection_id":46969,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1ef600012d77a48005f2a540000f001427..."} 
[2026-04-17 21:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1ef600012d77a48005f2a540000f001427..."} 
[2026-04-17 21:23:59] local.INFO: Processing buffer {"connection_id":46969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1ef600012d77a48005f2a540000f001427..."} 
[2026-04-17 21:23:59] local.INFO: Packet analysis {"connection_id":46969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1e"} 
[2026-04-17 21:23:59] local.INFO: Extracted packet for processing {"connection_id":46969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1e"} 
[2026-04-17 21:23:59] local.INFO: GPS Element Parsed {"raw_longitude":762815616,"raw_latitude":99788096,"longitude_deg":76.2815616,"latitude_deg":9.9788096,"altitude":15,"angle":20,"satellites":39,"speed":6,"hex_longitude":"2d77a480","hex_latitude":"05f2a540","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768836352001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315068659728384,"note":"Value kept but may cause issues"} 
[2026-04-17 21:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983857152,"note":"Value kept but may cause issues"} 
[2026-04-17 21: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-04-17 21:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776440768000,"timestamp_ms":1776440768000,"timestamp_seconds":1776440768,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1ef600"} 
[2026-04-17 21:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:23:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 21:23:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 21:23:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768836352001,"66":27267,"96":206,"87":13568,"24":6,"16":274315068659728384,"45":8621085980983857152},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-04-17 21:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768836352001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:23:59] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-17 21:23:59] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-04-17 21:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315068659728384,"km_value":274315068659728.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983857152,"description":"Unknown IO ID 45"} 
[2026-04-17 21:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768836352001,"power":27267,"unknown_96":206,"unknown_87":13568,"ignition":6,"odometer":null,"unknown_45":8621085980983857152}} 
[2026-04-17 21:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":46969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23148,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:23:59] local.INFO: GPS data processed {"connection_id":46969,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:23:59] local.INFO: Acknowledgment sent {"connection_id":46969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:24:21] local.INFO: TCP Data received {"connection_id":46970,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:24:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:24:21] local.INFO: Processing buffer {"connection_id":46970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:24:21] local.INFO: IMEI packet received {"connection_id":46970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:24:21] local.INFO: IMEI acknowledgment sent {"connection_id":46970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:24:26] local.INFO: TCP Data received {"connection_id":46970,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46970,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:24:26] local.INFO: Processing buffer {"connection_id":46970,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:24:26] local.INFO: IMEI packet received {"connection_id":46970,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":46970,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:24:27] local.INFO: TCP Data received {"connection_id":46970,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:24:27] local.INFO: Processing buffer {"connection_id":46970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:24:27] local.INFO: Packet analysis {"connection_id":46970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:24:27] local.INFO: Extracted packet for processing {"connection_id":46970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:24:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768851712001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:24: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-04-17 21:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776441128000,"timestamp_ms":1776441128000,"timestamp_seconds":1776441128,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c247440"} 
[2026-04-17 21:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:24:27] 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-04-17 21:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:24: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-04-17 21:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768851712001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768851712001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:24:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:24:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768851712001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:24:28] local.INFO: DEBUG: GPS processor result {"connection_id":46970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23149,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:24:28] local.INFO: GPS data processed {"connection_id":46970,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:24:28] local.INFO: Acknowledgment sent {"connection_id":46970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:24:28] local.INFO: TCP Data received {"connection_id":46460,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:24:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46460,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:24:28] local.INFO: Processing buffer {"connection_id":46460,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:24:28] local.INFO: IMEI packet received {"connection_id":46460,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:24:28] local.INFO: IMEI acknowledgment sent {"connection_id":46460,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:24:30] local.INFO: TCP Data received {"connection_id":46969,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1ef9e8012d77a4c005f2a5a8000e002f26..."} 
[2026-04-17 21:24:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46969,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1ef9e8012d77a4c005f2a5a8000e002f26..."} 
[2026-04-17 21:24:30] local.INFO: Processing buffer {"connection_id":46969,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1ef9e8012d77a4c005f2a5a8000e002f26..."} 
[2026-04-17 21:24:30] local.INFO: Packet analysis {"connection_id":46969,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1e"} 
[2026-04-17 21:24:30] local.INFO: Extracted packet for processing {"connection_id":46969,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1e"} 
[2026-04-17 21:24:30] local.INFO: GPS Element Parsed {"raw_longitude":762815680,"raw_latitude":99788200,"longitude_deg":76.281568,"latitude_deg":9.97882,"altitude":14,"angle":47,"satellites":38,"speed":6,"hex_longitude":"2d77a4c0","hex_latitude":"05f2a5a8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:24:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768836608001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:24:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315072954695680,"note":"Value kept but may cause issues"} 
[2026-04-17 21:24:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621156349728079872,"note":"Value kept but may cause issues"} 
[2026-04-17 21:24:30] 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-04-17 21:24:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776440769000,"timestamp_ms":1776440769000,"timestamp_seconds":1776440769,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1ef9e8"} 
[2026-04-17 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-04-17 21:24: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-04-17 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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 21:24: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-04-17 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-04-17 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-04-17 21:24:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:24:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46969,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:24:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:24:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46969,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:24:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:24:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:24:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:24:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768836608001,"66":27517,"96":206,"87":13568,"24":6,"16":274315072954695680,"45":8621156349728079872},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-04-17 21:24:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:24:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:24:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768836608001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:24:30] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-17 21:24:30] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-04-17 21:24:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315072954695680,"km_value":274315072954695.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:24:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621156349728079872,"description":"Unknown IO ID 45"} 
[2026-04-17 21:24:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768836608001,"power":27517,"unknown_96":206,"unknown_87":13568,"ignition":6,"odometer":null,"unknown_45":8621156349728079872}} 
[2026-04-17 21:24:30] local.INFO: DEBUG: GPS processor result {"connection_id":46969,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23150,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:24:30] local.INFO: GPS data processed {"connection_id":46969,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:24:30] local.INFO: Acknowledgment sent {"connection_id":46969,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:24:50] local.INFO: TCP Data received {"connection_id":46233,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:24:50] local.INFO: Processing buffer {"connection_id":46233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:24:50] local.INFO: IMEI packet received {"connection_id":46233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":46233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:24:54] local.INFO: TCP Data received {"connection_id":46233,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:24:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46233,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:24:54] local.INFO: Processing buffer {"connection_id":46233,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:24:54] local.INFO: IMEI packet received {"connection_id":46233,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:24:54] local.INFO: IMEI acknowledgment sent {"connection_id":46233,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:24:55] local.INFO: TCP Data received {"connection_id":46233,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1efdd0012d77a58005f2a5f0000e004128..."} 
[2026-04-17 21:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1efdd0012d77a58005f2a5f0000e004128..."} 
[2026-04-17 21:24:55] local.INFO: Processing buffer {"connection_id":46233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1efdd0012d77a58005f2a5f0000e004128..."} 
[2026-04-17 21:24:55] local.INFO: Packet analysis {"connection_id":46233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1e"} 
[2026-04-17 21:24:55] local.INFO: Extracted packet for processing {"connection_id":46233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1e"} 
[2026-04-17 21:24:55] local.INFO: GPS Element Parsed {"raw_longitude":762815872,"raw_latitude":99788272,"longitude_deg":76.2815872,"latitude_deg":9.9788272,"altitude":14,"angle":65,"satellites":40,"speed":7,"hex_longitude":"2d77a580","hex_latitude":"05f2a5f0","is_valid_coordinates":true} 
[2026-04-17 21:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:24:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768836864001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:24:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315081544630272,"note":"Value kept but may cause issues"} 
[2026-04-17 21:24:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621226718472284160,"note":"Value kept but may cause issues"} 
[2026-04-17 21:24:55] 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-04-17 21:24:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776440770000,"timestamp_ms":1776440770000,"timestamp_seconds":1776440770,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1efdd0"} 
[2026-04-17 21:24:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:24: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-04-17 21:24:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 21:24:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:24:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:24:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:24:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:24:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:24:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:24:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:24:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:24:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:24:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:24:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768836864001,"66":27517,"96":206,"87":13568,"24":7,"16":274315081544630272,"45":8621226718472284160},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-04-17 21:24:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:24:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:24:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768836864001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:24:55] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-17 21:24:55] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-04-17 21:24:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315081544630272,"km_value":274315081544630.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:24:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621226718472284160,"description":"Unknown IO ID 45"} 
[2026-04-17 21:24:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768836864001,"power":27517,"unknown_96":206,"unknown_87":13568,"ignition":7,"odometer":null,"unknown_45":8621226718472284160}} 
[2026-04-17 21:24:55] local.INFO: DEBUG: GPS processor result {"connection_id":46233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23151,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:24:55] local.INFO: GPS data processed {"connection_id":46233,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:24:55] local.INFO: Acknowledgment sent {"connection_id":46233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:24:59] local.INFO: TCP Data received {"connection_id":46970,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:24:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46970,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:24:59] local.INFO: Processing buffer {"connection_id":46970,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:24:59] local.INFO: Packet analysis {"connection_id":46970,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:24:59] local.INFO: Extracted packet for processing {"connection_id":46970,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:24:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:24:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768851712001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:24:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:24:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:24: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-04-17 21:24:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776441128000,"timestamp_ms":1776441128000,"timestamp_seconds":1776441128,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c247440"} 
[2026-04-17 21:24:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:24:59] 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-04-17 21:24:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:24: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-04-17 21:24:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:24:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:24:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:24:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46970,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:24:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:24:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46970,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:24:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:24:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:24:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:24:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768851712001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:24:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:24:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:24:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768851712001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:24:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:24:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:24:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:24:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:24:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768851712001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:24:59] local.INFO: DEBUG: GPS processor result {"connection_id":46970,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23152,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:24:59] local.INFO: GPS data processed {"connection_id":46970,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:24:59] local.INFO: Acknowledgment sent {"connection_id":46970,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:25:00] local.INFO: TCP Data received {"connection_id":46233,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1f01b8012d77a60005f2a620000e004d28..."} 
[2026-04-17 21:25:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1f01b8012d77a60005f2a620000e004d28..."} 
[2026-04-17 21:25:00] local.INFO: Processing buffer {"connection_id":46233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1f01b8012d77a60005f2a620000e004d28..."} 
[2026-04-17 21:25:00] local.INFO: Packet analysis {"connection_id":46233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:25:00] local.INFO: Extracted packet for processing {"connection_id":46233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:25:00] local.INFO: GPS Element Parsed {"raw_longitude":762816000,"raw_latitude":99788320,"longitude_deg":76.2816,"latitude_deg":9.978832,"altitude":14,"angle":77,"satellites":40,"speed":7,"hex_longitude":"2d77a600","hex_latitude":"05f2a620","is_valid_coordinates":true} 
[2026-04-17 21:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:25:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768837120001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:25:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315090134564864,"note":"Value kept but may cause issues"} 
[2026-04-17 21:25:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621437824704835584,"note":"Value kept but may cause issues"} 
[2026-04-17 21:25:00] 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-04-17 21:25:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776440771000,"timestamp_ms":1776440771000,"timestamp_seconds":1776440771,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1f01b8"} 
[2026-04-17 21:25:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:25:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 21:25:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":125,"data_length":795,"current_offset":136} 
[2026-04-17 21:25:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1858,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:25:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:25:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:25:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:25:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:25:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:25:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:25:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:25:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:25:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:25:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768837120001,"66":27300,"96":206,"87":13568,"24":7,"16":274315090134564864,"45":8621437824704835584},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-04-17 21:25:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:25:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:25:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768837120001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:25:00] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-17 21:25:00] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-04-17 21:25:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315090134564864,"km_value":274315090134564.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:25:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621437824704835584,"description":"Unknown IO ID 45"} 
[2026-04-17 21:25:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768837120001,"power":27300,"unknown_96":206,"unknown_87":13568,"ignition":7,"odometer":null,"unknown_45":8621437824704835584}} 
[2026-04-17 21:25:00] local.INFO: DEBUG: GPS processor result {"connection_id":46233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23153,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:25:00] local.INFO: GPS data processed {"connection_id":46233,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:25:00] local.INFO: Acknowledgment sent {"connection_id":46233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:25:03] local.INFO: TCP Data received {"connection_id":46971,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:25:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46971,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:25:03] local.INFO: Processing buffer {"connection_id":46971,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:25:03] local.INFO: IMEI packet received {"connection_id":46971,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:25:03] local.INFO: IMEI acknowledgment sent {"connection_id":46971,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:25:21] local.INFO: TCP Data received {"connection_id":46972,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:25:21] local.INFO: Processing buffer {"connection_id":46972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:25:21] local.INFO: IMEI packet received {"connection_id":46972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":46972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:25:26] local.INFO: TCP Data received {"connection_id":46972,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46972,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:25:26] local.INFO: Processing buffer {"connection_id":46972,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:25:26] local.INFO: IMEI packet received {"connection_id":46972,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":46972,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:25:27] local.INFO: TCP Data received {"connection_id":46972,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:25:27] local.INFO: Processing buffer {"connection_id":46972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:25:27] local.INFO: Packet analysis {"connection_id":46972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:25:27] local.INFO: Extracted packet for processing {"connection_id":46972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768851712001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:25: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-04-17 21:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776441128000,"timestamp_ms":1776441128000,"timestamp_seconds":1776441128,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c247440"} 
[2026-04-17 21:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:25:27] 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-04-17 21:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:25: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-04-17 21:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768851712001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768851712001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:25:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:25:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768851712001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:25:28] local.INFO: DEBUG: GPS processor result {"connection_id":46972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23154,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:25:28] local.INFO: GPS data processed {"connection_id":46972,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:25:28] local.INFO: Acknowledgment sent {"connection_id":46972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:25:32] local.INFO: TCP Data received {"connection_id":46233,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c1f28c8012d77a90005f2a658000c005127..."} 
[2026-04-17 21:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46233,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c1f28c8012d77a90005f2a658000c005127..."} 
[2026-04-17 21:25:32] local.INFO: Processing buffer {"connection_id":46233,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c1f28c8012d77a90005f2a658000c005127..."} 
[2026-04-17 21:25:32] local.INFO: Packet analysis {"connection_id":46233,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:25:32] local.INFO: Extracted packet for processing {"connection_id":46233,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c1f"} 
[2026-04-17 21:25:32] local.INFO: GPS Element Parsed {"raw_longitude":762816768,"raw_latitude":99788376,"longitude_deg":76.2816768,"latitude_deg":9.9788376,"altitude":12,"angle":81,"satellites":39,"speed":0,"hex_longitude":"2d77a900","hex_latitude":"05f2a658","is_valid_coordinates":true} 
[2026-04-17 21:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768837376001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621578562193203200,"note":"Value kept but may cause issues"} 
[2026-04-17 21:25:32] 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-04-17 21:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776440781000,"timestamp_ms":1776440781000,"timestamp_seconds":1776440781,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c1f28c8"} 
[2026-04-17 21:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 21:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 21:25: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-04-17 21:25:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46233,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46233,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768837376001,"66":27908,"96":206,"87":13568,"24":0,"16":274315128789270528,"45":8621578562193203200},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,96,87,24,16,45]} 
[2026-04-17 21:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768837376001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:25:32] local.INFO: Unknown IO ID detected {"io_id":96,"value":206,"description":"Unknown IO ID 96"} 
[2026-04-17 21:25:32] local.INFO: Unknown IO ID detected {"io_id":87,"value":13568,"description":"Unknown IO ID 87"} 
[2026-04-17 21:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621578562193203200,"description":"Unknown IO ID 45"} 
[2026-04-17 21:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768837376001,"power":27908,"unknown_96":206,"unknown_87":13568,"ignition":0,"odometer":null,"unknown_45":8621578562193203200}} 
[2026-04-17 21:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":46233,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23155,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:25:32] local.INFO: GPS data processed {"connection_id":46233,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:25:32] local.INFO: Acknowledgment sent {"connection_id":46233,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:25:50] local.INFO: TCP Data received {"connection_id":46461,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:25:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:25:50] local.INFO: Processing buffer {"connection_id":46461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:25:50] local.INFO: IMEI packet received {"connection_id":46461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:25:50] local.INFO: IMEI acknowledgment sent {"connection_id":46461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:25:55] local.INFO: TCP Data received {"connection_id":46461,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46461,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:25:55] local.INFO: Processing buffer {"connection_id":46461,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:25:55] local.INFO: IMEI packet received {"connection_id":46461,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":46461,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:25:56] local.INFO: TCP Data received {"connection_id":46461,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2402f8012d77aa8005f2a5e0001100512e..."} 
[2026-04-17 21:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2402f8012d77aa8005f2a5e0001100512e..."} 
[2026-04-17 21:25:56] local.INFO: Processing buffer {"connection_id":46461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2402f8012d77aa8005f2a5e0001100512e..."} 
[2026-04-17 21:25:56] local.INFO: Packet analysis {"connection_id":46461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:25:56] local.INFO: Extracted packet for processing {"connection_id":46461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:25:56] local.INFO: GPS Element Parsed {"raw_longitude":762817152,"raw_latitude":99788256,"longitude_deg":76.2817152,"latitude_deg":9.9788256,"altitude":17,"angle":81,"satellites":46,"speed":0,"hex_longitude":"2d77aa80","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-04-17 21:25:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768839936001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622422987123349504,"note":"Value kept but may cause issues"} 
[2026-04-17 21:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776441099000,"timestamp_ms":1776441099000,"timestamp_seconds":1776441099,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2402f8"} 
[2026-04-17 21:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 21:25: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-04-17 21: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-04-17 21:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768839936001,"66":25441,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622422987123349504},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768839936001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:25:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:25:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622422987123349504,"description":"Unknown IO ID 45"} 
[2026-04-17 21:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768839936001,"power":25441,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622422987123349504}} 
[2026-04-17 21:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":46461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23156,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:25:56] local.INFO: GPS data processed {"connection_id":46461,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:25:56] local.INFO: Acknowledgment sent {"connection_id":46461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:25:59] local.INFO: TCP Data received {"connection_id":46972,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:25:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46972,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:25:59] local.INFO: Processing buffer {"connection_id":46972,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:25:59] local.INFO: Packet analysis {"connection_id":46972,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:25:59] local.INFO: Extracted packet for processing {"connection_id":46972,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:25:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:25:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768851712001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:25:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:25:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:25: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-04-17 21:25:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776441128000,"timestamp_ms":1776441128000,"timestamp_seconds":1776441128,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c247440"} 
[2026-04-17 21:25:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:25:59] 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-04-17 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:25: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-04-17 21: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-04-17 21:25:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:25:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:25:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46972,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:25:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:25:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46972,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:25:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:25:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:25:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:25:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768851712001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:25:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:25:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:25:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768851712001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:25:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:25:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:25:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:25:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:25:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768851712001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:25:59] local.INFO: DEBUG: GPS processor result {"connection_id":46972,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23157,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:25:59] local.INFO: GPS data processed {"connection_id":46972,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:25:59] local.INFO: Acknowledgment sent {"connection_id":46972,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:26:21] local.INFO: TCP Data received {"connection_id":46973,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:26:21] local.INFO: Processing buffer {"connection_id":46973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:26:21] local.INFO: IMEI packet received {"connection_id":46973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":46973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:26:26] local.INFO: TCP Data received {"connection_id":46973,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46973,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:26:26] local.INFO: Processing buffer {"connection_id":46973,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:26:26] local.INFO: IMEI packet received {"connection_id":46973,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":46973,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:26:27] local.INFO: TCP Data received {"connection_id":46461,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c241298012d77aa8005f2a6400011002d2c..."} 
[2026-04-17 21:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46461,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c241298012d77aa8005f2a6400011002d2c..."} 
[2026-04-17 21:26:27] local.INFO: Processing buffer {"connection_id":46461,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c241298012d77aa8005f2a6400011002d2c..."} 
[2026-04-17 21:26:27] local.INFO: Packet analysis {"connection_id":46461,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:26:27] local.INFO: Extracted packet for processing {"connection_id":46461,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:26:27] local.INFO: GPS Element Parsed {"raw_longitude":762817152,"raw_latitude":99788352,"longitude_deg":76.2817152,"latitude_deg":9.9788352,"altitude":17,"angle":45,"satellites":44,"speed":0,"hex_longitude":"2d77aa80","hex_latitude":"05f2a640","is_valid_coordinates":true} 
[2026-04-17 21:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768921344001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588384768,"note":"Value kept but may cause issues"} 
[2026-04-17 21:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776441103000,"timestamp_ms":1776441103000,"timestamp_seconds":1776441103,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c241298"} 
[2026-04-17 21:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 21:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 21:26:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1566,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46461,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46461,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768921344001,"66":25158,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622845199588384768},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768921344001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:26:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:26:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588384768,"description":"Unknown IO ID 45"} 
[2026-04-17 21:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768921344001,"power":25158,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622845199588384768}} 
[2026-04-17 21:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":46461,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23158,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:26:27] local.INFO: GPS data processed {"connection_id":46461,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:26:27] local.INFO: Acknowledgment sent {"connection_id":46461,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:26:28] local.INFO: TCP Data received {"connection_id":46973,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:26:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:26:28] local.INFO: Processing buffer {"connection_id":46973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:26:28] local.INFO: Packet analysis {"connection_id":46973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:26:28] local.INFO: Extracted packet for processing {"connection_id":46973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:26:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:26:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768851712001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:26:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:26:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21: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-04-17 21:26:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776441128000,"timestamp_ms":1776441128000,"timestamp_seconds":1776441128,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c247440"} 
[2026-04-17 21:26:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:26:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:26: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-04-17 21: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-04-17 21:26:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:26:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:26:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:26:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:26:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:26:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:26:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:26:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:26:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768851712001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:26:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:26:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:26:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768851712001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:26:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:26:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:26:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:26:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:26:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768851712001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:26:28] local.INFO: DEBUG: GPS processor result {"connection_id":46973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23159,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:26:28] local.INFO: GPS data processed {"connection_id":46973,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:26:28] local.INFO: Acknowledgment sent {"connection_id":46973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:26:49] local.INFO: TCP Data received {"connection_id":46125,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:26:49] local.INFO: Processing buffer {"connection_id":46125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:26:49] local.INFO: IMEI packet received {"connection_id":46125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":46125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:26:55] local.INFO: TCP Data received {"connection_id":46125,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46125,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:26:55] local.INFO: Processing buffer {"connection_id":46125,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:26:55] local.INFO: IMEI packet received {"connection_id":46125,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":46125,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:26:56] local.INFO: TCP Data received {"connection_id":46125,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c241298012d77aa8005f2a6400011002d2c..."} 
[2026-04-17 21:26:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c241298012d77aa8005f2a6400011002d2c..."} 
[2026-04-17 21:26:56] local.INFO: Processing buffer {"connection_id":46125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c241298012d77aa8005f2a6400011002d2c..."} 
[2026-04-17 21:26:56] local.INFO: Packet analysis {"connection_id":46125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:26:56] local.INFO: Extracted packet for processing {"connection_id":46125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:26:56] local.INFO: GPS Element Parsed {"raw_longitude":762817152,"raw_latitude":99788352,"longitude_deg":76.2817152,"latitude_deg":9.9788352,"altitude":17,"angle":45,"satellites":44,"speed":0,"hex_longitude":"2d77aa80","hex_latitude":"05f2a640","is_valid_coordinates":true} 
[2026-04-17 21:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:26:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768922368001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:26:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:26:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588409344,"note":"Value kept but may cause issues"} 
[2026-04-17 21:26:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:26:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776441103000,"timestamp_ms":1776441103000,"timestamp_seconds":1776441103,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c241298"} 
[2026-04-17 21:26:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:26:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 21:26:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 21:26:56] 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-04-17 21:26:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:26:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:26:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:26:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:26:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:26:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:26:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:26:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:26:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:26:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768922368001,"66":25158,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622845199588409344},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:26:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:26:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:26:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768922368001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:26:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:26:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:26:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:26:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588409344,"description":"Unknown IO ID 45"} 
[2026-04-17 21:26:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768922368001,"power":25158,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622845199588409344}} 
[2026-04-17 21:26:56] local.INFO: DEBUG: GPS processor result {"connection_id":46125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23160,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:26:56] local.INFO: GPS data processed {"connection_id":46125,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:26:56] local.INFO: Acknowledgment sent {"connection_id":46125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:27:00] local.INFO: TCP Data received {"connection_id":46973,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:27:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46973,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:27:00] local.INFO: Processing buffer {"connection_id":46973,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:27:00] local.INFO: Packet analysis {"connection_id":46973,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:27:00] local.INFO: Extracted packet for processing {"connection_id":46973,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:27:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:27:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768851712001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:27:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:27:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:27: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-04-17 21:27:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776441128000,"timestamp_ms":1776441128000,"timestamp_seconds":1776441128,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c247440"} 
[2026-04-17 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-04-17 21:27:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:27: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-04-17 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-04-17 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-04-17 21:27:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:27:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46973,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:27:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:27:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46973,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:27:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:27:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:27:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:27:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768851712001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:27:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:27:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:27:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768851712001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:27:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:27:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:27:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:27:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:27:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768851712001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:27:00] local.INFO: DEBUG: GPS processor result {"connection_id":46973,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23161,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:27:00] local.INFO: GPS data processed {"connection_id":46973,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:27:00] local.INFO: Acknowledgment sent {"connection_id":46973,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:27:21] local.INFO: TCP Data received {"connection_id":46462,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:27:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:27:21] local.INFO: Processing buffer {"connection_id":46462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:27:21] local.INFO: IMEI packet received {"connection_id":46462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:27:21] local.INFO: IMEI acknowledgment sent {"connection_id":46462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:27:26] local.INFO: TCP Data received {"connection_id":46462,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46462,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:27:26] local.INFO: Processing buffer {"connection_id":46462,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:27:26] local.INFO: IMEI packet received {"connection_id":46462,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":46462,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:27:27] local.INFO: TCP Data received {"connection_id":46125,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c241298012d77aa8005f2a6400011002d2c..."} 
[2026-04-17 21:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46125,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c241298012d77aa8005f2a6400011002d2c..."} 
[2026-04-17 21:27:27] local.INFO: Processing buffer {"connection_id":46125,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c241298012d77aa8005f2a6400011002d2c..."} 
[2026-04-17 21:27:27] local.INFO: Packet analysis {"connection_id":46125,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:27:27] local.INFO: Extracted packet for processing {"connection_id":46125,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:27:27] local.INFO: GPS Element Parsed {"raw_longitude":762817152,"raw_latitude":99788352,"longitude_deg":76.2817152,"latitude_deg":9.9788352,"altitude":17,"angle":45,"satellites":44,"speed":0,"hex_longitude":"2d77aa80","hex_latitude":"05f2a640","is_valid_coordinates":true} 
[2026-04-17 21:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768922368001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588409344,"note":"Value kept but may cause issues"} 
[2026-04-17 21:27:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776441103000,"timestamp_ms":1776441103000,"timestamp_seconds":1776441103,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c241298"} 
[2026-04-17 21:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:27:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 21:27:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 21:27:27] 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-04-17 21: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-04-17 21:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46125,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46125,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768922368001,"66":25158,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622845199588409344},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768922368001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:27:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:27:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588409344,"description":"Unknown IO ID 45"} 
[2026-04-17 21:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768922368001,"power":25158,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622845199588409344}} 
[2026-04-17 21:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":46125,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23162,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:27:27] local.INFO: GPS data processed {"connection_id":46125,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:27:27] local.INFO: Acknowledgment sent {"connection_id":46125,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:27:28] local.INFO: TCP Data received {"connection_id":46462,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:27:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:27:28] local.INFO: Processing buffer {"connection_id":46462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c247440012d196500071ff0900033013b2b..."} 
[2026-04-17 21:27:28] local.INFO: Packet analysis {"connection_id":46462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:27:28] local.INFO: Extracted packet for processing {"connection_id":46462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c24"} 
[2026-04-17 21:27:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:27:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768851712001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:27:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:27:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:27: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-04-17 21:27:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776441128000,"timestamp_ms":1776441128000,"timestamp_seconds":1776441128,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c247440"} 
[2026-04-17 21:27:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:27:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:27:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:27: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-04-17 21:27:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:27:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:27:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:27:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:27:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:27:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:27:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:27:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:27:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:27:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768851712001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:27:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:27:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:27:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768851712001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:27:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:27:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:27:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:27:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:27:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768851712001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:27:28] local.INFO: DEBUG: GPS processor result {"connection_id":46462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23163,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:27:28] local.INFO: GPS data processed {"connection_id":46462,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:27:28] local.INFO: Acknowledgment sent {"connection_id":46462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:27:49] local.INFO: TCP Data received {"connection_id":46974,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:27:49] local.INFO: Processing buffer {"connection_id":46974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:27:49] local.INFO: IMEI packet received {"connection_id":46974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":46974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:27:54] local.INFO: TCP Data received {"connection_id":46974,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46974,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:27:54] local.INFO: Processing buffer {"connection_id":46974,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:27:54] local.INFO: IMEI packet received {"connection_id":46974,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":46974,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:27:55] local.INFO: TCP Data received {"connection_id":46974,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:27:55] local.INFO: Processing buffer {"connection_id":46974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:27:55] local.INFO: Packet analysis {"connection_id":46974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:27:55] local.INFO: Extracted packet for processing {"connection_id":46974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:27:55] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768922368001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588409344,"note":"Value kept but may cause issues"} 
[2026-04-17 21:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776441428000,"timestamp_ms":1776441428000,"timestamp_seconds":1776441428,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290820"} 
[2026-04-17 21:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 21:27:55] 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-04-17 21:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768922368001,"66":25180,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622845199588409344},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768922368001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:27:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:27:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588409344,"description":"Unknown IO ID 45"} 
[2026-04-17 21:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768922368001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622845199588409344}} 
[2026-04-17 21:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":46974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23164,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:27:55] local.INFO: GPS data processed {"connection_id":46974,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:27:55] local.INFO: Acknowledgment sent {"connection_id":46974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:28:00] local.INFO: TCP Data received {"connection_id":46462,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46462,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:28:00] local.INFO: Processing buffer {"connection_id":46462,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:28:00] local.INFO: Packet analysis {"connection_id":46462,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:28:00] local.INFO: Extracted packet for processing {"connection_id":46462,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:28:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:28:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768928768001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:28:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:28:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:28: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-04-17 21:28:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776441429000,"timestamp_ms":1776441429000,"timestamp_seconds":1776441429,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290c08"} 
[2026-04-17 21:28:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:28:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:28:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:28: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-04-17 21:28:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:28:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:28:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:28:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46462,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:28:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:28:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46462,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:28:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:28:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:28:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:28:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768928768001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:28:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:28:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:28:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768928768001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:28:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:28:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:28:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:28:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:28:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768928768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:28:00] local.INFO: DEBUG: GPS processor result {"connection_id":46462,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23165,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:28:00] local.INFO: GPS data processed {"connection_id":46462,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:28:00] local.INFO: Acknowledgment sent {"connection_id":46462,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:28:21] local.INFO: TCP Data received {"connection_id":46975,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:28:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:28:21] local.INFO: Processing buffer {"connection_id":46975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:28:21] local.INFO: IMEI packet received {"connection_id":46975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:28:21] local.INFO: IMEI acknowledgment sent {"connection_id":46975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:28:26] local.INFO: TCP Data received {"connection_id":46975,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46975,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:28:26] local.INFO: Processing buffer {"connection_id":46975,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:28:26] local.INFO: IMEI packet received {"connection_id":46975,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":46975,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:28:27] local.INFO: TCP Data received {"connection_id":46974,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46974,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:28:27] local.INFO: Processing buffer {"connection_id":46974,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:28:27] local.INFO: Packet analysis {"connection_id":46974,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:28:27] local.INFO: Extracted packet for processing {"connection_id":46974,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:28:27] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768922368001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588409344,"note":"Value kept but may cause issues"} 
[2026-04-17 21:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776441428000,"timestamp_ms":1776441428000,"timestamp_seconds":1776441428,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290820"} 
[2026-04-17 21:28:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:28:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 21:28:27] 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-04-17 21: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-04-17 21:28:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46974,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46974,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768922368001,"66":25180,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622845199588409344},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768922368001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:28:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:28:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588409344,"description":"Unknown IO ID 45"} 
[2026-04-17 21:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768922368001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622845199588409344}} 
[2026-04-17 21:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":46974,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23166,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:28:27] local.INFO: GPS data processed {"connection_id":46974,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:28:27] local.INFO: Acknowledgment sent {"connection_id":46974,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:28:28] local.INFO: TCP Data received {"connection_id":46975,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:28:28] local.INFO: Processing buffer {"connection_id":46975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:28:28] local.INFO: Packet analysis {"connection_id":46975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:28:28] local.INFO: Extracted packet for processing {"connection_id":46975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:28:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:28:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768928768001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:28:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:28:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:28:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:28:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776441429000,"timestamp_ms":1776441429000,"timestamp_seconds":1776441429,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290c08"} 
[2026-04-17 21:28:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:28:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:28:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:28: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-04-17 21:28:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:28:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:28:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:28:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:28:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:28:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:28:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:28:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:28:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:28:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768928768001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:28:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:28:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:28:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768928768001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:28:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:28:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:28:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:28:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:28:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768928768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:28:28] local.INFO: DEBUG: GPS processor result {"connection_id":46975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23167,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:28:28] local.INFO: GPS data processed {"connection_id":46975,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:28:28] local.INFO: Acknowledgment sent {"connection_id":46975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:28:50] local.INFO: TCP Data received {"connection_id":46976,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:28:50] local.INFO: Processing buffer {"connection_id":46976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:28:50] local.INFO: IMEI packet received {"connection_id":46976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":46976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:28:55] local.INFO: TCP Data received {"connection_id":46976,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46976,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:28:55] local.INFO: Processing buffer {"connection_id":46976,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:28:55] local.INFO: IMEI packet received {"connection_id":46976,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":46976,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:28:56] local.INFO: TCP Data received {"connection_id":46976,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:28:56] local.INFO: Processing buffer {"connection_id":46976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:28:56] local.INFO: Packet analysis {"connection_id":46976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:28:56] local.INFO: Extracted packet for processing {"connection_id":46976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:28:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768922368001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588409344,"note":"Value kept but may cause issues"} 
[2026-04-17 21:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776441428000,"timestamp_ms":1776441428000,"timestamp_seconds":1776441428,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290820"} 
[2026-04-17 21:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 21:28:56] 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-04-17 21:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768922368001,"66":25180,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622845199588409344},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768922368001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:28:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:28:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588409344,"description":"Unknown IO ID 45"} 
[2026-04-17 21:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768922368001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622845199588409344}} 
[2026-04-17 21:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":46976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23168,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:28:56] local.INFO: GPS data processed {"connection_id":46976,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:28:56] local.INFO: Acknowledgment sent {"connection_id":46976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:29:00] local.INFO: TCP Data received {"connection_id":46975,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46975,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:29:00] local.INFO: Processing buffer {"connection_id":46975,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:29:00] local.INFO: Packet analysis {"connection_id":46975,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:29:00] local.INFO: Extracted packet for processing {"connection_id":46975,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:29:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768928768001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21: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-04-17 21:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776441429000,"timestamp_ms":1776441429000,"timestamp_seconds":1776441429,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290c08"} 
[2026-04-17 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-04-17 21:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21: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-04-17 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-04-17 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-04-17 21:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46975,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46975,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768928768001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768928768001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:29:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:29:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768928768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":46975,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23169,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:29:00] local.INFO: GPS data processed {"connection_id":46975,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:29:00] local.INFO: Acknowledgment sent {"connection_id":46975,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:29:26] local.INFO: TCP Data received {"connection_id":46235,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:29:26] local.INFO: Processing buffer {"connection_id":46235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:29:26] local.INFO: IMEI packet received {"connection_id":46235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":46235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:29:27] local.INFO: TCP Data received {"connection_id":46976,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46976,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:29:27] local.INFO: Processing buffer {"connection_id":46976,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:29:27] local.INFO: Packet analysis {"connection_id":46976,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:29:27] local.INFO: Extracted packet for processing {"connection_id":46976,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:29:27] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768922368001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588409344,"note":"Value kept but may cause issues"} 
[2026-04-17 21:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776441428000,"timestamp_ms":1776441428000,"timestamp_seconds":1776441428,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290820"} 
[2026-04-17 21:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 21:29:27] 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-04-17 21:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46976,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46976,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768922368001,"66":25180,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622845199588409344},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768922368001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:29:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:29:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588409344,"description":"Unknown IO ID 45"} 
[2026-04-17 21:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768922368001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622845199588409344}} 
[2026-04-17 21:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":46976,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23170,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:29:27] local.INFO: GPS data processed {"connection_id":46976,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:29:27] local.INFO: Acknowledgment sent {"connection_id":46976,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:29:31] local.INFO: TCP Data received {"connection_id":46235,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:29:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46235,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:29:31] local.INFO: Processing buffer {"connection_id":46235,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:29:31] local.INFO: IMEI packet received {"connection_id":46235,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:29:31] local.INFO: IMEI acknowledgment sent {"connection_id":46235,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:29:32] local.INFO: TCP Data received {"connection_id":46235,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:29:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:29:32] local.INFO: Processing buffer {"connection_id":46235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:29:32] local.INFO: Packet analysis {"connection_id":46235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:29:32] local.INFO: Extracted packet for processing {"connection_id":46235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:29:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:29:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768928768001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:29:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:29:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:29:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:29:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776441429000,"timestamp_ms":1776441429000,"timestamp_seconds":1776441429,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290c08"} 
[2026-04-17 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-04-17 21:29:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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-04-17 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-04-17 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-04-17 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-04-17 21:29:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:29:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:29:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:29:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:29:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:29:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:29:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:29:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768928768001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:29:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:29:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:29:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768928768001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:29:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:29:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:29:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:29:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:29:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768928768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:29:32] local.INFO: DEBUG: GPS processor result {"connection_id":46235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23171,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:29:32] local.INFO: GPS data processed {"connection_id":46235,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:29:32] local.INFO: Acknowledgment sent {"connection_id":46235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:29:49] local.INFO: TCP Data received {"connection_id":46463,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:29:49] local.INFO: Processing buffer {"connection_id":46463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:29:49] local.INFO: IMEI packet received {"connection_id":46463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":46463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:29:55] local.INFO: TCP Data received {"connection_id":46463,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46463,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:29:55] local.INFO: Processing buffer {"connection_id":46463,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:29:55] local.INFO: IMEI packet received {"connection_id":46463,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":46463,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:29:56] local.INFO: TCP Data received {"connection_id":46463,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:29:56] local.INFO: Processing buffer {"connection_id":46463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:29:56] local.INFO: Packet analysis {"connection_id":46463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:29:56] local.INFO: Extracted packet for processing {"connection_id":46463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:29:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768922368001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588409344,"note":"Value kept but may cause issues"} 
[2026-04-17 21:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776441428000,"timestamp_ms":1776441428000,"timestamp_seconds":1776441428,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290820"} 
[2026-04-17 21:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":70,"data_length":795,"current_offset":136} 
[2026-04-17 21:29:56] 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-04-17 21: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-04-17 21:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768922368001,"66":25180,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622845199588409344},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768922368001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:29:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:29:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588409344,"description":"Unknown IO ID 45"} 
[2026-04-17 21:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768922368001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622845199588409344}} 
[2026-04-17 21:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":46463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23172,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:29:56] local.INFO: GPS data processed {"connection_id":46463,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:29:56] local.INFO: Acknowledgment sent {"connection_id":46463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:30:04] local.INFO: TCP Data received {"connection_id":46235,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:30:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46235,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:30:04] local.INFO: Processing buffer {"connection_id":46235,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:30:04] local.INFO: Packet analysis {"connection_id":46235,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:30:04] local.INFO: Extracted packet for processing {"connection_id":46235,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:30:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:30:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768928768001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:30:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:30:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:30:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:30:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776441429000,"timestamp_ms":1776441429000,"timestamp_seconds":1776441429,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290c08"} 
[2026-04-17 21:30:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:30:04] 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-04-17 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:30:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:30:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:30:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:30:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46235,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:30:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:30:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46235,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:30:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:30:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:30:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:30:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768928768001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:30:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:30:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:30:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768928768001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:30:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:30:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:30:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:30:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:30:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768928768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:30:04] local.INFO: DEBUG: GPS processor result {"connection_id":46235,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23173,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:30:04] local.INFO: GPS data processed {"connection_id":46235,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:30:04] local.INFO: Acknowledgment sent {"connection_id":46235,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:30:23] local.INFO: TCP Data received {"connection_id":46236,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:30:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46236,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:30:23] local.INFO: Processing buffer {"connection_id":46236,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:30:23] local.INFO: IMEI packet received {"connection_id":46236,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:30:23] local.INFO: IMEI acknowledgment sent {"connection_id":46236,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:30:26] local.INFO: TCP Data received {"connection_id":46128,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:30:26] local.INFO: Processing buffer {"connection_id":46128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:30:26] local.INFO: IMEI packet received {"connection_id":46128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":46128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:30:27] local.INFO: TCP Data received {"connection_id":46463,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46463,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:30:27] local.INFO: Processing buffer {"connection_id":46463,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:30:27] local.INFO: Packet analysis {"connection_id":46463,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:30:27] local.INFO: Extracted packet for processing {"connection_id":46463,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:30:27] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768922368001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588409344,"note":"Value kept but may cause issues"} 
[2026-04-17 21:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776441428000,"timestamp_ms":1776441428000,"timestamp_seconds":1776441428,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290820"} 
[2026-04-17 21:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 21:30:27] 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-04-17 21:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46463,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46463,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768922368001,"66":25180,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622845199588409344},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768922368001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:30:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:30:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588409344,"description":"Unknown IO ID 45"} 
[2026-04-17 21:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768922368001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622845199588409344}} 
[2026-04-17 21:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":46463,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23174,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:30:27] local.INFO: GPS data processed {"connection_id":46463,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:30:27] local.INFO: Acknowledgment sent {"connection_id":46463,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:30:31] local.INFO: TCP Data received {"connection_id":46128,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:30:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46128,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:30:31] local.INFO: Processing buffer {"connection_id":46128,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:30:31] local.INFO: IMEI packet received {"connection_id":46128,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:30:31] local.INFO: IMEI acknowledgment sent {"connection_id":46128,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:30:32] local.INFO: TCP Data received {"connection_id":46128,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:30:32] local.INFO: Processing buffer {"connection_id":46128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:30:32] local.INFO: Packet analysis {"connection_id":46128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:30:32] local.INFO: Extracted packet for processing {"connection_id":46128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:30:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768928768001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776441429000,"timestamp_ms":1776441429000,"timestamp_seconds":1776441429,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290c08"} 
[2026-04-17 21:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:30: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-04-17 21: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-04-17 21:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768928768001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768928768001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:30:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:30:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768928768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":46128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23175,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:30:32] local.INFO: GPS data processed {"connection_id":46128,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:30:32] local.INFO: Acknowledgment sent {"connection_id":46128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:30:37] local.INFO: TCP Data received {"connection_id":46128,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:30:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46128,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:30:37] local.INFO: Processing buffer {"connection_id":46128,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:30:37] local.INFO: Packet analysis {"connection_id":46128,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:30:37] local.INFO: Extracted packet for processing {"connection_id":46128,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:30:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:30:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768928768001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:30:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:30:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:30: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-04-17 21:30:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776441429000,"timestamp_ms":1776441429000,"timestamp_seconds":1776441429,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290c08"} 
[2026-04-17 21:30:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:30:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:30:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:30:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:30:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:30:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:30:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:30:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46128,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:30:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:30:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46128,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:30:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:30:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:30:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:30:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768928768001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:30:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:30:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:30:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768928768001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:30:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:30:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:30:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:30:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:30:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768928768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:30:37] local.INFO: DEBUG: GPS processor result {"connection_id":46128,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23176,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:30:37] local.INFO: GPS data processed {"connection_id":46128,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:30:37] local.INFO: Acknowledgment sent {"connection_id":46128,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:30:49] local.INFO: TCP Data received {"connection_id":46464,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:30:49] local.INFO: Processing buffer {"connection_id":46464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:30:49] local.INFO: IMEI packet received {"connection_id":46464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":46464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:30:55] local.INFO: TCP Data received {"connection_id":46464,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46464,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:30:55] local.INFO: Processing buffer {"connection_id":46464,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:30:55] local.INFO: IMEI packet received {"connection_id":46464,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:30:55] local.INFO: IMEI acknowledgment sent {"connection_id":46464,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:30:56] local.INFO: TCP Data received {"connection_id":46464,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:30:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:30:56] local.INFO: Processing buffer {"connection_id":46464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:30:56] local.INFO: Packet analysis {"connection_id":46464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:30:56] local.INFO: Extracted packet for processing {"connection_id":46464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:30:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:30:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768922368001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:30:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:30:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588409344,"note":"Value kept but may cause issues"} 
[2026-04-17 21:30:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:30:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776441428000,"timestamp_ms":1776441428000,"timestamp_seconds":1776441428,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290820"} 
[2026-04-17 21:30:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:30:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 21:30:56] 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-04-17 21: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-04-17 21:30:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:30:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:30:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:30:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:30:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:30:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:30:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:30:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:30:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768922368001,"66":25180,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622845199588409344},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:30:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:30:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:30:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768922368001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:30:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:30:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:30:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:30:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588409344,"description":"Unknown IO ID 45"} 
[2026-04-17 21:30:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768922368001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622845199588409344}} 
[2026-04-17 21:30:56] local.INFO: DEBUG: GPS processor result {"connection_id":46464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23177,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:30:56] local.INFO: GPS data processed {"connection_id":46464,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:30:56] local.INFO: Acknowledgment sent {"connection_id":46464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:31:09] local.INFO: TCP Data received {"connection_id":46129,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:31:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46129,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:31:09] local.INFO: Processing buffer {"connection_id":46129,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:31:09] local.INFO: IMEI packet received {"connection_id":46129,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:31:09] local.INFO: IMEI acknowledgment sent {"connection_id":46129,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:31:21] local.INFO: TCP Data received {"connection_id":46465,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:31:21] local.INFO: Processing buffer {"connection_id":46465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:31:21] local.INFO: IMEI packet received {"connection_id":46465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":46465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:31:26] local.INFO: TCP Data received {"connection_id":46465,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46465,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:31:26] local.INFO: Processing buffer {"connection_id":46465,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:31:26] local.INFO: IMEI packet received {"connection_id":46465,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":46465,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:31:26] local.INFO: TCP Data received {"connection_id":46464,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46464,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:31:26] local.INFO: Processing buffer {"connection_id":46464,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:31:26] local.INFO: Packet analysis {"connection_id":46464,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:31:26] local.INFO: Extracted packet for processing {"connection_id":46464,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:31:26] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768922368001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588409344,"note":"Value kept but may cause issues"} 
[2026-04-17 21:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776441428000,"timestamp_ms":1776441428000,"timestamp_seconds":1776441428,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290820"} 
[2026-04-17 21:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:31:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 21:31:26] 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-04-17 21: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-04-17 21:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46464,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46464,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768922368001,"66":25180,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622845199588409344},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768922368001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:31:26] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:31:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588409344,"description":"Unknown IO ID 45"} 
[2026-04-17 21:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768922368001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622845199588409344}} 
[2026-04-17 21:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":46464,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23178,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:31:26] local.INFO: GPS data processed {"connection_id":46464,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:31:26] local.INFO: Acknowledgment sent {"connection_id":46464,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:31:28] local.INFO: TCP Data received {"connection_id":46465,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:31:28] local.INFO: Processing buffer {"connection_id":46465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:31:28] local.INFO: Packet analysis {"connection_id":46465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:31:28] local.INFO: Extracted packet for processing {"connection_id":46465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768928768001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:31: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-04-17 21:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776441429000,"timestamp_ms":1776441429000,"timestamp_seconds":1776441429,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290c08"} 
[2026-04-17 21:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:31:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:31: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-04-17 21:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768928768001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768928768001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:31:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:31:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768928768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":46465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23179,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:31:28] local.INFO: GPS data processed {"connection_id":46465,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:31:28] local.INFO: Acknowledgment sent {"connection_id":46465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:31:55] local.INFO: TCP Data received {"connection_id":46466,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:31:55] local.INFO: Processing buffer {"connection_id":46466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:31:55] local.INFO: IMEI packet received {"connection_id":46466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":46466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:32:00] local.INFO: TCP Data received {"connection_id":46466,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46466,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:32:00] local.INFO: Processing buffer {"connection_id":46466,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:32:00] local.INFO: IMEI packet received {"connection_id":46466,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:32:00] local.INFO: IMEI acknowledgment sent {"connection_id":46466,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:32:00] local.INFO: TCP Data received {"connection_id":46465,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:32:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46465,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:32:00] local.INFO: Processing buffer {"connection_id":46465,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:32:00] local.INFO: Packet analysis {"connection_id":46465,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:32:00] local.INFO: Extracted packet for processing {"connection_id":46465,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:32:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:32:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768928768001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:32:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:32:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:32: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-04-17 21:32:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776441429000,"timestamp_ms":1776441429000,"timestamp_seconds":1776441429,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290c08"} 
[2026-04-17 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-04-17 21:32:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19456,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:32: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-04-17 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-04-17 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-04-17 21:32:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:32:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46465,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:32:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:32:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46465,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:32:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:32:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:32:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:32:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768928768001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:32:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:32:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:32:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768928768001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:32:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:32:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:32:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:32:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:32:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768928768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:32:00] local.INFO: DEBUG: GPS processor result {"connection_id":46465,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23180,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:32:00] local.INFO: GPS data processed {"connection_id":46465,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:32:00] local.INFO: Acknowledgment sent {"connection_id":46465,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:32:01] local.INFO: TCP Data received {"connection_id":46466,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:32:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:32:01] local.INFO: Processing buffer {"connection_id":46466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:32:01] local.INFO: Packet analysis {"connection_id":46466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:32:01] local.INFO: Extracted packet for processing {"connection_id":46466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:32:01] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:32:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768922368001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:32:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:32:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588409344,"note":"Value kept but may cause issues"} 
[2026-04-17 21:32:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:32:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776441428000,"timestamp_ms":1776441428000,"timestamp_seconds":1776441428,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290820"} 
[2026-04-17 21:32:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:32:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:32:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 21:32:01] 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-04-17 21:32:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:32:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:32:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:32:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:32:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:32:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:32:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:32:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:32:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:32:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768922368001,"66":25180,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622845199588409344},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:32:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:32:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:32:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768922368001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:32:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:32:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:32:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:32:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588409344,"description":"Unknown IO ID 45"} 
[2026-04-17 21:32:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768922368001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622845199588409344}} 
[2026-04-17 21:32:01] local.INFO: DEBUG: GPS processor result {"connection_id":46466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23181,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:32:01] local.INFO: GPS data processed {"connection_id":46466,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:32:01] local.INFO: Acknowledgment sent {"connection_id":46466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:32:05] local.INFO: TCP Data received {"connection_id":46466,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:32:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46466,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:32:05] local.INFO: Processing buffer {"connection_id":46466,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290820012d77ab0005f2a5e80012002d2d..."} 
[2026-04-17 21:32:05] local.INFO: Packet analysis {"connection_id":46466,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:32:05] local.INFO: Extracted packet for processing {"connection_id":46466,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:32:05] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":45,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:32:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768922368001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:32:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:32:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622845199588409344,"note":"Value kept but may cause issues"} 
[2026-04-17 21:32:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:32:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776441428000,"timestamp_ms":1776441428000,"timestamp_seconds":1776441428,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290820"} 
[2026-04-17 21:32:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:32:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:32:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":70,"data_length":795,"current_offset":136} 
[2026-04-17 21:32: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-04-17 21:32:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:32:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:32:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:32:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46466,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:32:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:32:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46466,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:32:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:32:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:32:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:32:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768922368001,"66":25180,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622845199588409344},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:32:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:32:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:32:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768922368001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:32:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:32:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:32:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:32:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622845199588409344,"description":"Unknown IO ID 45"} 
[2026-04-17 21:32:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768922368001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622845199588409344}} 
[2026-04-17 21:32:05] local.INFO: DEBUG: GPS processor result {"connection_id":46466,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23182,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:32:05] local.INFO: GPS data processed {"connection_id":46466,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:32:05] local.INFO: Acknowledgment sent {"connection_id":46466,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:32:21] local.INFO: TCP Data received {"connection_id":46977,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:32:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:32:21] local.INFO: Processing buffer {"connection_id":46977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:32:21] local.INFO: IMEI packet received {"connection_id":46977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:32:21] local.INFO: IMEI acknowledgment sent {"connection_id":46977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:32:26] local.INFO: TCP Data received {"connection_id":46977,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46977,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:32:26] local.INFO: Processing buffer {"connection_id":46977,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:32:26] local.INFO: IMEI packet received {"connection_id":46977,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":46977,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:32:27] local.INFO: TCP Data received {"connection_id":46977,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:32:27] local.INFO: Processing buffer {"connection_id":46977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c290c08012d196500071ff0900033013b2d..."} 
[2026-04-17 21:32:27] local.INFO: Packet analysis {"connection_id":46977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:32:27] local.INFO: Extracted packet for processing {"connection_id":46977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c29"} 
[2026-04-17 21:32:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":45,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454768928768001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:32: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-04-17 21:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776441429000,"timestamp_ms":1776441429000,"timestamp_seconds":1776441429,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c290c08"} 
[2026-04-17 21:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:32:27] 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-04-17 21:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:32: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-04-17 21:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454768928768001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454768928768001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:32:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:32:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454768928768001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":46977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23183,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:32:28] local.INFO: GPS data processed {"connection_id":46977,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:32:28] local.INFO: Acknowledgment sent {"connection_id":46977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:32:46] local.INFO: TCP Data received {"connection_id":46467,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:32:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:32:46] local.INFO: Processing buffer {"connection_id":46467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:32:46] local.INFO: IMEI packet received {"connection_id":46467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:32:46] local.INFO: IMEI acknowledgment sent {"connection_id":46467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:32:49] local.INFO: TCP Data received {"connection_id":46467,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:32:49] local.INFO: Processing buffer {"connection_id":46467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:32:49] local.INFO: IMEI packet received {"connection_id":46467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":46467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:32:55] local.INFO: TCP Data received {"connection_id":46467,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46467,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:32:55] local.INFO: Processing buffer {"connection_id":46467,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:32:55] local.INFO: IMEI packet received {"connection_id":46467,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":46467,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:32:56] local.INFO: TCP Data received {"connection_id":46467,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:32:56] local.INFO: Processing buffer {"connection_id":46467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:32:56] local.INFO: Packet analysis {"connection_id":46467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:32:56] local.INFO: Extracted packet for processing {"connection_id":46467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:32:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005568001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776441729000,"timestamp_ms":1776441729000,"timestamp_seconds":1776441729,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2d9fe8"} 
[2026-04-17 21:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 21:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005568001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005568001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:32:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:32:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005568001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":46467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23184,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:32:56] local.INFO: GPS data processed {"connection_id":46467,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:32:56] local.INFO: Acknowledgment sent {"connection_id":46467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:32:59] local.INFO: TCP Data received {"connection_id":46977,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:32:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46977,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:32:59] local.INFO: Processing buffer {"connection_id":46977,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:32:59] local.INFO: Packet analysis {"connection_id":46977,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:32:59] local.INFO: Extracted packet for processing {"connection_id":46977,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:32:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:32:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005824001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:32:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:32:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:32: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-04-17 21:32:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776441730000,"timestamp_ms":1776441730000,"timestamp_seconds":1776441730,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2da3d0"} 
[2026-04-17 21:32:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:32:59] 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-04-17 21:32:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:32: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-04-17 21:32:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:32:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:32:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:32:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46977,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:32:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:32:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46977,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:32:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:32:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:32:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:32:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005824001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:32:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:32:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:32:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005824001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:32:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:32:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:32:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:32:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:32:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:32:59] local.INFO: DEBUG: GPS processor result {"connection_id":46977,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23185,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:32:59] local.INFO: GPS data processed {"connection_id":46977,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:32:59] local.INFO: Acknowledgment sent {"connection_id":46977,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:33:21] local.INFO: TCP Data received {"connection_id":46468,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:33:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:33:21] local.INFO: Processing buffer {"connection_id":46468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:33:21] local.INFO: IMEI packet received {"connection_id":46468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:33:21] local.INFO: IMEI acknowledgment sent {"connection_id":46468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:33:26] local.INFO: TCP Data received {"connection_id":46468,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46468,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:33:26] local.INFO: Processing buffer {"connection_id":46468,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:33:26] local.INFO: IMEI packet received {"connection_id":46468,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":46468,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:33:27] local.INFO: TCP Data received {"connection_id":46467,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46467,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:33:27] local.INFO: Processing buffer {"connection_id":46467,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:33:27] local.INFO: Packet analysis {"connection_id":46467,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:33:27] local.INFO: Extracted packet for processing {"connection_id":46467,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:33:27] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005568001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776441729000,"timestamp_ms":1776441729000,"timestamp_seconds":1776441729,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2d9fe8"} 
[2026-04-17 21:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 21:33:27] 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-04-17 21:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46467,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46467,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005568001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005568001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:33:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:33:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005568001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":46467,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23186,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:33:27] local.INFO: GPS data processed {"connection_id":46467,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:33:27] local.INFO: Acknowledgment sent {"connection_id":46467,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:33:28] local.INFO: TCP Data received {"connection_id":46468,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:33:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:33:28] local.INFO: Processing buffer {"connection_id":46468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:33:28] local.INFO: Packet analysis {"connection_id":46468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:33:28] local.INFO: Extracted packet for processing {"connection_id":46468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:33:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:33:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005824001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:33:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:33:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:33: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-04-17 21:33:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776441730000,"timestamp_ms":1776441730000,"timestamp_seconds":1776441730,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2da3d0"} 
[2026-04-17 21:33:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:33:28] 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-04-17 21:33:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:33: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-04-17 21:33:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:33:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:33:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:33:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:33:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:33:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:33:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:33:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:33:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:33:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005824001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:33:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:33:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:33:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005824001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:33:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:33:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:33:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:33:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:33:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:33:28] local.INFO: DEBUG: GPS processor result {"connection_id":46468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23187,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:33:28] local.INFO: GPS data processed {"connection_id":46468,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:33:28] local.INFO: Acknowledgment sent {"connection_id":46468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:33:49] local.INFO: TCP Data received {"connection_id":46978,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:33:49] local.INFO: Processing buffer {"connection_id":46978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:33:49] local.INFO: IMEI packet received {"connection_id":46978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":46978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:33:55] local.INFO: TCP Data received {"connection_id":46978,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46978,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:33:55] local.INFO: Processing buffer {"connection_id":46978,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:33:55] local.INFO: IMEI packet received {"connection_id":46978,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":46978,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:33:56] local.INFO: TCP Data received {"connection_id":46978,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:33:56] local.INFO: Processing buffer {"connection_id":46978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:33:56] local.INFO: Packet analysis {"connection_id":46978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:33:56] local.INFO: Extracted packet for processing {"connection_id":46978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:33:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005568001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776441729000,"timestamp_ms":1776441729000,"timestamp_seconds":1776441729,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2d9fe8"} 
[2026-04-17 21:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:33:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 21:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:33:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005568001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005568001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:33:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:33:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005568001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":46978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23188,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:33:56] local.INFO: GPS data processed {"connection_id":46978,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:33:56] local.INFO: Acknowledgment sent {"connection_id":46978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:34:00] local.INFO: TCP Data received {"connection_id":46468,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:34:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46468,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:34:00] local.INFO: Processing buffer {"connection_id":46468,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:34:00] local.INFO: Packet analysis {"connection_id":46468,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:34:00] local.INFO: Extracted packet for processing {"connection_id":46468,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:34:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:34:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005824001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:34:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:34:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:34: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-04-17 21:34:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776441730000,"timestamp_ms":1776441730000,"timestamp_seconds":1776441730,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2da3d0"} 
[2026-04-17 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-04-17 21:34:00] 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-04-17 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:34: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-04-17 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-04-17 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-04-17 21:34:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:34:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46468,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:34:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:34:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46468,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:34:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:34:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:34:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:34:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005824001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:34:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:34:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:34:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005824001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:34:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:34:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:34:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:34:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:34:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:34:00] local.INFO: DEBUG: GPS processor result {"connection_id":46468,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23189,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:34:00] local.INFO: GPS data processed {"connection_id":46468,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:34:00] local.INFO: Acknowledgment sent {"connection_id":46468,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:34:27] local.INFO: TCP Data received {"connection_id":46978,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46978,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:34:27] local.INFO: Processing buffer {"connection_id":46978,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:34:27] local.INFO: Packet analysis {"connection_id":46978,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:34:27] local.INFO: Extracted packet for processing {"connection_id":46978,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:34:27] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005568001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776441729000,"timestamp_ms":1776441729000,"timestamp_seconds":1776441729,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2d9fe8"} 
[2026-04-17 21:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 21:34:27] 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-04-17 21:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46978,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46978,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005568001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005568001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:34:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:34:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005568001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":46978,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23190,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:34:27] local.INFO: GPS data processed {"connection_id":46978,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:34:27] local.INFO: Acknowledgment sent {"connection_id":46978,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:34:29] local.INFO: TCP Data received {"connection_id":46239,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:34:29] local.INFO: Processing buffer {"connection_id":46239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:34:29] local.INFO: IMEI packet received {"connection_id":46239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":46239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:34:31] local.INFO: TCP Data received {"connection_id":46239,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:34:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46239,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:34:31] local.INFO: Processing buffer {"connection_id":46239,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:34:31] local.INFO: IMEI packet received {"connection_id":46239,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:34:31] local.INFO: IMEI acknowledgment sent {"connection_id":46239,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:34:33] local.INFO: TCP Data received {"connection_id":46239,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:34:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:34:33] local.INFO: Processing buffer {"connection_id":46239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:34:33] local.INFO: Packet analysis {"connection_id":46239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:34:33] local.INFO: Extracted packet for processing {"connection_id":46239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:34:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:34:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005824001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:34:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:34:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:34: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-04-17 21:34:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776441730000,"timestamp_ms":1776441730000,"timestamp_seconds":1776441730,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2da3d0"} 
[2026-04-17 21:34:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:34: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-04-17 21:34:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:34:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:34:33] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:34:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:34:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:34:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:34:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:34:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:34:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:34:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:34:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:34:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005824001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:34:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:34:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:34:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005824001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:34:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:34:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:34:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:34:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:34:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:34:33] local.INFO: DEBUG: GPS processor result {"connection_id":46239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23191,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:34:33] local.INFO: GPS data processed {"connection_id":46239,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:34:33] local.INFO: Acknowledgment sent {"connection_id":46239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:34:37] local.INFO: TCP Data received {"connection_id":46239,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:34:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46239,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:34:37] local.INFO: Processing buffer {"connection_id":46239,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:34:37] local.INFO: Packet analysis {"connection_id":46239,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:34:37] local.INFO: Extracted packet for processing {"connection_id":46239,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:34:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:34:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005824001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:34:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:34:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:34: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-04-17 21:34:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776441730000,"timestamp_ms":1776441730000,"timestamp_seconds":1776441730,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2da3d0"} 
[2026-04-17 21:34:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:34:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19200,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:34:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:34:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:34:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:34:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:34:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:34:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46239,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:34:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:34:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46239,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:34:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:34:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:34:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:34:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005824001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:34:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:34:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:34:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005824001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:34:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:34:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:34:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:34:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:34:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:34:38] local.INFO: DEBUG: GPS processor result {"connection_id":46239,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23192,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:34:38] local.INFO: GPS data processed {"connection_id":46239,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:34:38] local.INFO: Acknowledgment sent {"connection_id":46239,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:34:49] local.INFO: TCP Data received {"connection_id":46240,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:34:49] local.INFO: Processing buffer {"connection_id":46240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:34:49] local.INFO: IMEI packet received {"connection_id":46240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":46240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:34:55] local.INFO: TCP Data received {"connection_id":46240,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46240,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:34:55] local.INFO: Processing buffer {"connection_id":46240,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:34:55] local.INFO: IMEI packet received {"connection_id":46240,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":46240,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:34:56] local.INFO: TCP Data received {"connection_id":46240,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:34:56] local.INFO: Processing buffer {"connection_id":46240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:34:56] local.INFO: Packet analysis {"connection_id":46240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:34:56] local.INFO: Extracted packet for processing {"connection_id":46240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:34:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005568001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776441729000,"timestamp_ms":1776441729000,"timestamp_seconds":1776441729,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2d9fe8"} 
[2026-04-17 21:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 21:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005568001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005568001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:34:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:34:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005568001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":46240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23193,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:34:56] local.INFO: GPS data processed {"connection_id":46240,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:34:56] local.INFO: Acknowledgment sent {"connection_id":46240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:35:21] local.INFO: TCP Data received {"connection_id":46470,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:35:21] local.INFO: Processing buffer {"connection_id":46470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:35:21] local.INFO: IMEI packet received {"connection_id":46470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":46470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:35:26] local.INFO: TCP Data received {"connection_id":46470,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46470,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:35:26] local.INFO: Processing buffer {"connection_id":46470,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:35:26] local.INFO: IMEI packet received {"connection_id":46470,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":46470,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:35:27] local.INFO: TCP Data received {"connection_id":46240,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46240,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:35:27] local.INFO: Processing buffer {"connection_id":46240,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:35:27] local.INFO: Packet analysis {"connection_id":46240,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:35:27] local.INFO: Extracted packet for processing {"connection_id":46240,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:35:27] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005568001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776441729000,"timestamp_ms":1776441729000,"timestamp_seconds":1776441729,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2d9fe8"} 
[2026-04-17 21:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 21:35:27] 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-04-17 21: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-04-17 21:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46240,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46240,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005568001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005568001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:35:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:35:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005568001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":46240,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23194,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:35:27] local.INFO: GPS data processed {"connection_id":46240,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:35:27] local.INFO: Acknowledgment sent {"connection_id":46240,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:35:28] local.INFO: TCP Data received {"connection_id":46470,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:35:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:35:28] local.INFO: Processing buffer {"connection_id":46470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:35:28] local.INFO: Packet analysis {"connection_id":46470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:35:28] local.INFO: Extracted packet for processing {"connection_id":46470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:35:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:35:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005824001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:35:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:35:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:35: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-04-17 21:35:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776441730000,"timestamp_ms":1776441730000,"timestamp_seconds":1776441730,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2da3d0"} 
[2026-04-17 21:35:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:35:28] 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-04-17 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:35: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-04-17 21: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-04-17 21:35:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:35:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:35:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:35:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:35:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:35:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:35:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:35:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:35:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005824001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:35:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:35:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:35:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005824001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:35:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:35:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:35:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:35:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:35:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:35:28] local.INFO: DEBUG: GPS processor result {"connection_id":46470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23195,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:35:28] local.INFO: GPS data processed {"connection_id":46470,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:35:28] local.INFO: Acknowledgment sent {"connection_id":46470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:35:55] local.INFO: TCP Data received {"connection_id":46979,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:35:55] local.INFO: Processing buffer {"connection_id":46979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:35:55] local.INFO: IMEI packet received {"connection_id":46979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":46979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:35:59] local.INFO: TCP Data received {"connection_id":46470,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46470,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:35:59] local.INFO: Processing buffer {"connection_id":46470,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:35:59] local.INFO: Packet analysis {"connection_id":46470,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:35:59] local.INFO: Extracted packet for processing {"connection_id":46470,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005824001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:35: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-04-17 21:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776441730000,"timestamp_ms":1776441730000,"timestamp_seconds":1776441730,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2da3d0"} 
[2026-04-17 21:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:35:59] 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-04-17 21:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:35: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-04-17 21:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46470,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46470,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005824001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005824001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:35:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:35:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:35:59] local.INFO: TCP Data received {"connection_id":46979,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46979,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:35:59] local.INFO: Processing buffer {"connection_id":46979,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:35:59] local.INFO: IMEI packet received {"connection_id":46979,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":46979,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":46470,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23196,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:36:00] local.INFO: GPS data processed {"connection_id":46470,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:36:00] local.INFO: Acknowledgment sent {"connection_id":46470,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:36:00] local.INFO: TCP Data received {"connection_id":46979,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:36:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:36:00] local.INFO: Processing buffer {"connection_id":46979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:36:00] local.INFO: Packet analysis {"connection_id":46979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:36:00] local.INFO: Extracted packet for processing {"connection_id":46979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:36:00] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:36:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005568001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:36:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:36:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:36:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:36:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776441729000,"timestamp_ms":1776441729000,"timestamp_seconds":1776441729,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2d9fe8"} 
[2026-04-17 21:36:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:36:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 21:36:00] 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-04-17 21: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-04-17 21:36:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:36:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:36:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:36:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:36:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:36:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:36:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:36:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:36:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005568001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:36:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:36:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:36:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005568001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:36:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:36:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:36:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:36:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:36:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005568001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:36:00] local.INFO: DEBUG: GPS processor result {"connection_id":46979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23197,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:36:00] local.INFO: GPS data processed {"connection_id":46979,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:36:00] local.INFO: Acknowledgment sent {"connection_id":46979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:36:05] local.INFO: TCP Data received {"connection_id":46979,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:36:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46979,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:36:05] local.INFO: Processing buffer {"connection_id":46979,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:36:05] local.INFO: Packet analysis {"connection_id":46979,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:36:05] local.INFO: Extracted packet for processing {"connection_id":46979,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:36:05] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:36:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005568001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:36:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:36:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:36:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:36:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776441729000,"timestamp_ms":1776441729000,"timestamp_seconds":1776441729,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2d9fe8"} 
[2026-04-17 21:36:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:36:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 21:36: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-04-17 21: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-04-17 21:36:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:36:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:36:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46979,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:36:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:36:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46979,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:36:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:36:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:36:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:36:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005568001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:36:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:36:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:36:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005568001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:36:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:36:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:36:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:36:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:36:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005568001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:36:05] local.INFO: DEBUG: GPS processor result {"connection_id":46979,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23198,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:36:05] local.INFO: GPS data processed {"connection_id":46979,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:36:05] local.INFO: Acknowledgment sent {"connection_id":46979,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:36:21] local.INFO: TCP Data received {"connection_id":46241,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:36:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:36:21] local.INFO: Processing buffer {"connection_id":46241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:36:21] local.INFO: IMEI packet received {"connection_id":46241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:36:21] local.INFO: IMEI acknowledgment sent {"connection_id":46241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:36:24] local.INFO: TCP Data received {"connection_id":46131,"ip":"42.106.6.37","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:36:24] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46131,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:36:24] local.INFO: Processing buffer {"connection_id":46131,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:36:24] local.INFO: IMEI packet received {"connection_id":46131,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:36:24] local.INFO: IMEI acknowledgment sent {"connection_id":46131,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:36:26] local.INFO: TCP Data received {"connection_id":46241,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46241,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:36:26] local.INFO: Processing buffer {"connection_id":46241,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:36:26] local.INFO: IMEI packet received {"connection_id":46241,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":46241,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:36:27] local.INFO: TCP Data received {"connection_id":46241,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:36:27] local.INFO: Processing buffer {"connection_id":46241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:36:27] local.INFO: Packet analysis {"connection_id":46241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:36:27] local.INFO: Extracted packet for processing {"connection_id":46241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:36:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005824001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:36: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-04-17 21:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776441730000,"timestamp_ms":1776441730000,"timestamp_seconds":1776441730,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2da3d0"} 
[2026-04-17 21:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:36:27] 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-04-17 21:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:36: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-04-17 21:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005824001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005824001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:36:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:36:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":46241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23199,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:36:27] local.INFO: GPS data processed {"connection_id":46241,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:36:27] local.INFO: Acknowledgment sent {"connection_id":46241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:36:49] local.INFO: TCP Data received {"connection_id":46132,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:36:49] local.INFO: Processing buffer {"connection_id":46132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:36:49] local.INFO: IMEI packet received {"connection_id":46132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":46132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:36:55] local.INFO: TCP Data received {"connection_id":46132,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46132,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:36:55] local.INFO: Processing buffer {"connection_id":46132,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:36:55] local.INFO: IMEI packet received {"connection_id":46132,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":46132,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:36:56] local.INFO: TCP Data received {"connection_id":46132,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:36:56] local.INFO: Processing buffer {"connection_id":46132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:36:56] local.INFO: Packet analysis {"connection_id":46132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:36:56] local.INFO: Extracted packet for processing {"connection_id":46132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:36:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005568001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776441729000,"timestamp_ms":1776441729000,"timestamp_seconds":1776441729,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2d9fe8"} 
[2026-04-17 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-04-17 21:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 21:36:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 21:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005568001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005568001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:36:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:36:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005568001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":46132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23200,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:36:56] local.INFO: GPS data processed {"connection_id":46132,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:36:56] local.INFO: Acknowledgment sent {"connection_id":46132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:36:59] local.INFO: TCP Data received {"connection_id":46241,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:36:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46241,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:36:59] local.INFO: Processing buffer {"connection_id":46241,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:36:59] local.INFO: Packet analysis {"connection_id":46241,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:36:59] local.INFO: Extracted packet for processing {"connection_id":46241,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:36:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:36:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005824001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:36:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:36:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21: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-04-17 21:36:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776441730000,"timestamp_ms":1776441730000,"timestamp_seconds":1776441730,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2da3d0"} 
[2026-04-17 21:36:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:36:59] 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-04-17 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:36: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-04-17 21: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-04-17 21:36:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:36:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:36:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46241,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:36:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:36:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46241,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:36:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:36:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:36:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:36:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005824001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:36:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:36:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:36:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005824001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:36:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:36:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:36:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:36:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:36:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:36:59] local.INFO: DEBUG: GPS processor result {"connection_id":46241,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23201,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:36:59] local.INFO: GPS data processed {"connection_id":46241,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:36:59] local.INFO: Acknowledgment sent {"connection_id":46241,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:37:04] local.INFO: TCP Data received {"connection_id":46471,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:37:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46471,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:37:04] local.INFO: Processing buffer {"connection_id":46471,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:37:04] local.INFO: IMEI packet received {"connection_id":46471,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:37:04] local.INFO: IMEI acknowledgment sent {"connection_id":46471,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:37:21] local.INFO: TCP Data received {"connection_id":46133,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:37:21] local.INFO: Processing buffer {"connection_id":46133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:37:21] local.INFO: IMEI packet received {"connection_id":46133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":46133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:37:26] local.INFO: TCP Data received {"connection_id":46133,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46133,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:37:26] local.INFO: Processing buffer {"connection_id":46133,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:37:26] local.INFO: IMEI packet received {"connection_id":46133,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":46133,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:37:27] local.INFO: TCP Data received {"connection_id":46132,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46132,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:37:27] local.INFO: Processing buffer {"connection_id":46132,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2d9fe8012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:37:27] local.INFO: Packet analysis {"connection_id":46132,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:37:27] local.INFO: Extracted packet for processing {"connection_id":46132,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:37:27] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005568001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776441729000,"timestamp_ms":1776441729000,"timestamp_seconds":1776441729,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2d9fe8"} 
[2026-04-17 21:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19712,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:37:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 21:37:27] 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-04-17 21: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-04-17 21:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46132,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46132,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005568001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005568001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:37:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:37:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005568001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":46132,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23202,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:37:27] local.INFO: GPS data processed {"connection_id":46132,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:37:27] local.INFO: Acknowledgment sent {"connection_id":46132,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:37:28] local.INFO: TCP Data received {"connection_id":46133,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:37:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:37:28] local.INFO: Processing buffer {"connection_id":46133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c2da3d0012d196500071ff0900033013b28..."} 
[2026-04-17 21:37:28] local.INFO: Packet analysis {"connection_id":46133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:37:28] local.INFO: Extracted packet for processing {"connection_id":46133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c2d"} 
[2026-04-17 21:37:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:37:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769005824001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:37:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:37:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:37: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-04-17 21:37:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776441730000,"timestamp_ms":1776441730000,"timestamp_seconds":1776441730,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c2da3d0"} 
[2026-04-17 21:37:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:37:28] 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-04-17 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:37: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-04-17 21: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-04-17 21:37:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:37:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:37:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:37:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:37:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:37:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:37:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:37:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:37:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769005824001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:37:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:37:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:37:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769005824001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:37:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:37:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:37:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:37:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:37:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769005824001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:37:28] local.INFO: DEBUG: GPS processor result {"connection_id":46133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23203,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:37:28] local.INFO: GPS data processed {"connection_id":46133,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:37:28] local.INFO: Acknowledgment sent {"connection_id":46133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:37:49] local.INFO: TCP Data received {"connection_id":46980,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:37:49] local.INFO: Processing buffer {"connection_id":46980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:37:49] local.INFO: IMEI packet received {"connection_id":46980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":46980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:37:55] local.INFO: TCP Data received {"connection_id":46980,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46980,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:37:55] local.INFO: Processing buffer {"connection_id":46980,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:37:55] local.INFO: IMEI packet received {"connection_id":46980,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":46980,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:37:56] local.INFO: TCP Data received {"connection_id":46980,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:37:56] local.INFO: Processing buffer {"connection_id":46980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:37:56] local.INFO: Packet analysis {"connection_id":46980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:37:56] local.INFO: Extracted packet for processing {"connection_id":46980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:37:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":48,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082624001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776442029000,"timestamp_ms":1776442029000,"timestamp_seconds":1776442029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3233c8"} 
[2026-04-17 21:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:37:56] 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-04-17 21: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-04-17 21:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082624001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082624001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:37:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:37:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082624001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":46980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23204,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:37:56] local.INFO: GPS data processed {"connection_id":46980,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:37:56] local.INFO: Acknowledgment sent {"connection_id":46980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:38:00] local.INFO: TCP Data received {"connection_id":46133,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:38:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46133,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:38:00] local.INFO: Processing buffer {"connection_id":46133,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:38:00] local.INFO: Packet analysis {"connection_id":46133,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:38:00] local.INFO: Extracted packet for processing {"connection_id":46133,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:38:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:38:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082880001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:38:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:38:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:38: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-04-17 21:38:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776442031000,"timestamp_ms":1776442031000,"timestamp_seconds":1776442031,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c323b98"} 
[2026-04-17 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-04-17 21:38:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:38: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-04-17 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-04-17 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-04-17 21:38:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:38:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46133,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:38:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:38:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46133,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:38:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:38:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:38:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:38:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082880001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:38:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:38:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:38:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082880001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:38:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:38:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:38:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:38:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:38:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":46133,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23205,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:38:00] local.INFO: GPS data processed {"connection_id":46133,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:38:00] local.INFO: Acknowledgment sent {"connection_id":46133,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:38:21] local.INFO: TCP Data received {"connection_id":46242,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:38:21] local.INFO: Processing buffer {"connection_id":46242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:38:21] local.INFO: IMEI packet received {"connection_id":46242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":46242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:38:26] local.INFO: TCP Data received {"connection_id":46242,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46242,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:38:26] local.INFO: Processing buffer {"connection_id":46242,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:38:26] local.INFO: IMEI packet received {"connection_id":46242,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":46242,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:38:27] local.INFO: TCP Data received {"connection_id":46980,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46980,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:38:27] local.INFO: Processing buffer {"connection_id":46980,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:38:27] local.INFO: Packet analysis {"connection_id":46980,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:38:27] local.INFO: Extracted packet for processing {"connection_id":46980,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:38:27] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":48,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082624001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442029000,"timestamp_ms":1776442029000,"timestamp_seconds":1776442029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3233c8"} 
[2026-04-17 21:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:38:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46980,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46980,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082624001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082624001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:38:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:38:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082624001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":46980,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23206,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:38:27] local.INFO: GPS data processed {"connection_id":46980,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:38:27] local.INFO: Acknowledgment sent {"connection_id":46980,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:38:27] local.INFO: TCP Data received {"connection_id":46242,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:38:27] local.INFO: Processing buffer {"connection_id":46242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:38:27] local.INFO: Packet analysis {"connection_id":46242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:38:27] local.INFO: Extracted packet for processing {"connection_id":46242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082880001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:38: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-04-17 21:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442031000,"timestamp_ms":1776442031000,"timestamp_seconds":1776442031,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c323b98"} 
[2026-04-17 21:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:38: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-04-17 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:38: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-04-17 21: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-04-17 21:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082880001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082880001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:38:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:38:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":46242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23207,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:38:27] local.INFO: GPS data processed {"connection_id":46242,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:38:27] local.INFO: Acknowledgment sent {"connection_id":46242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:38:55] local.INFO: TCP Data received {"connection_id":46472,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:38:55] local.INFO: Processing buffer {"connection_id":46472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:38:55] local.INFO: IMEI packet received {"connection_id":46472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":46472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:38:59] local.INFO: TCP Data received {"connection_id":46242,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46242,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:38:59] local.INFO: Processing buffer {"connection_id":46242,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:38:59] local.INFO: Packet analysis {"connection_id":46242,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:38:59] local.INFO: Extracted packet for processing {"connection_id":46242,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082880001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:38: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-04-17 21:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776442031000,"timestamp_ms":1776442031000,"timestamp_seconds":1776442031,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c323b98"} 
[2026-04-17 21:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:38:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46242,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46242,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082880001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082880001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:38:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:38:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":46242,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23208,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:38:59] local.INFO: GPS data processed {"connection_id":46242,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:38:59] local.INFO: Acknowledgment sent {"connection_id":46242,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:39:00] local.INFO: TCP Data received {"connection_id":46472,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:39:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46472,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:39:00] local.INFO: Processing buffer {"connection_id":46472,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:39:00] local.INFO: IMEI packet received {"connection_id":46472,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:39:00] local.INFO: IMEI acknowledgment sent {"connection_id":46472,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:39:01] local.INFO: TCP Data received {"connection_id":46472,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:39:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:39:01] local.INFO: Processing buffer {"connection_id":46472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:39:01] local.INFO: Packet analysis {"connection_id":46472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:39:01] local.INFO: Extracted packet for processing {"connection_id":46472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:39:01] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":48,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:39:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082624001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:39:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:39:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:39:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:39:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776442029000,"timestamp_ms":1776442029000,"timestamp_seconds":1776442029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3233c8"} 
[2026-04-17 21:39:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:39:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:39:01] 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-04-17 21: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-04-17 21:39:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:39:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:39:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:39:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:39:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:39:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:39:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:39:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:39:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082624001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:39:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:39:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:39:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082624001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:39:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:39:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:39:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:39:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:39:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082624001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:39:01] local.INFO: DEBUG: GPS processor result {"connection_id":46472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23209,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:39:01] local.INFO: GPS data processed {"connection_id":46472,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:39:01] local.INFO: Acknowledgment sent {"connection_id":46472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:39:05] local.INFO: TCP Data received {"connection_id":46472,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:39:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46472,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:39:05] local.INFO: Processing buffer {"connection_id":46472,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:39:05] local.INFO: Packet analysis {"connection_id":46472,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:39:05] local.INFO: Extracted packet for processing {"connection_id":46472,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:39:05] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":48,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:39:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082624001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:39:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:39:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:39:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:39:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776442029000,"timestamp_ms":1776442029000,"timestamp_seconds":1776442029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3233c8"} 
[2026-04-17 21:39:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:39:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:39: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-04-17 21: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-04-17 21:39:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:39:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:39:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46472,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:39:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:39:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46472,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:39:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:39:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:39:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:39:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082624001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:39:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:39:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:39:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082624001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:39:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:39:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:39:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:39:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:39:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082624001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:39:05] local.INFO: DEBUG: GPS processor result {"connection_id":46472,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23210,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:39:05] local.INFO: GPS data processed {"connection_id":46472,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:39:05] local.INFO: Acknowledgment sent {"connection_id":46472,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:39:21] local.INFO: TCP Data received {"connection_id":46134,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:39:21] local.INFO: Processing buffer {"connection_id":46134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:39:21] local.INFO: IMEI packet received {"connection_id":46134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":46134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:39:26] local.INFO: TCP Data received {"connection_id":46134,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46134,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:39:26] local.INFO: Processing buffer {"connection_id":46134,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:39:26] local.INFO: IMEI packet received {"connection_id":46134,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":46134,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:39:27] local.INFO: TCP Data received {"connection_id":46134,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:39:27] local.INFO: Processing buffer {"connection_id":46134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:39:27] local.INFO: Packet analysis {"connection_id":46134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:39:27] local.INFO: Extracted packet for processing {"connection_id":46134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:39:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082880001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:39: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-04-17 21:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442031000,"timestamp_ms":1776442031000,"timestamp_seconds":1776442031,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c323b98"} 
[2026-04-17 21:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:39: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-04-17 21:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:39: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-04-17 21:39:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082880001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082880001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:39:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:39:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":46134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23211,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:39:27] local.INFO: GPS data processed {"connection_id":46134,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:39:27] local.INFO: Acknowledgment sent {"connection_id":46134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:39:50] local.INFO: TCP Data received {"connection_id":46473,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:39:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:39:50] local.INFO: Processing buffer {"connection_id":46473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:39:50] local.INFO: IMEI packet received {"connection_id":46473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:39:50] local.INFO: IMEI acknowledgment sent {"connection_id":46473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:39:57] local.INFO: TCP Data received {"connection_id":46473,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:39:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46473,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:39:57] local.INFO: Processing buffer {"connection_id":46473,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:39:57] local.INFO: IMEI packet received {"connection_id":46473,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:39:57] local.INFO: IMEI acknowledgment sent {"connection_id":46473,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:39:59] local.INFO: TCP Data received {"connection_id":46473,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:39:59] local.INFO: Processing buffer {"connection_id":46473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:39:59] local.INFO: Packet analysis {"connection_id":46473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:39:59] local.INFO: Extracted packet for processing {"connection_id":46473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:39:59] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":48,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082624001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:39:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776442029000,"timestamp_ms":1776442029000,"timestamp_seconds":1776442029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3233c8"} 
[2026-04-17 21:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082624001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082624001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:39:59] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:39:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082624001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":46473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23212,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:39:59] local.INFO: GPS data processed {"connection_id":46473,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:39:59] local.INFO: Acknowledgment sent {"connection_id":46473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:39:59] local.INFO: TCP Data received {"connection_id":46134,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46134,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:39:59] local.INFO: Processing buffer {"connection_id":46134,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:39:59] local.INFO: Packet analysis {"connection_id":46134,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:39:59] local.INFO: Extracted packet for processing {"connection_id":46134,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:39:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082880001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:39: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-04-17 21:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776442031000,"timestamp_ms":1776442031000,"timestamp_seconds":1776442031,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c323b98"} 
[2026-04-17 21:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:39: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-04-17 21:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:39:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46134,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46134,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082880001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082880001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:39:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:39:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":46134,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23213,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:39:59] local.INFO: GPS data processed {"connection_id":46134,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:39:59] local.INFO: Acknowledgment sent {"connection_id":46134,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:40:21] local.INFO: TCP Data received {"connection_id":46243,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:40:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:40:21] local.INFO: Processing buffer {"connection_id":46243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:40:21] local.INFO: IMEI packet received {"connection_id":46243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:40:21] local.INFO: IMEI acknowledgment sent {"connection_id":46243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:40:26] local.INFO: TCP Data received {"connection_id":46243,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46243,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:40:26] local.INFO: Processing buffer {"connection_id":46243,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:40:26] local.INFO: IMEI packet received {"connection_id":46243,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":46243,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:40:27] local.INFO: TCP Data received {"connection_id":46243,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:40:27] local.INFO: Processing buffer {"connection_id":46243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:40:27] local.INFO: Packet analysis {"connection_id":46243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:40:27] local.INFO: Extracted packet for processing {"connection_id":46243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:40:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082880001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:40: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-04-17 21:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442031000,"timestamp_ms":1776442031000,"timestamp_seconds":1776442031,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c323b98"} 
[2026-04-17 21:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:40: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-04-17 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:40: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-04-17 21: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-04-17 21:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082880001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082880001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:40:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:40:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:40:28] local.INFO: DEBUG: GPS processor result {"connection_id":46243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23214,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:40:28] local.INFO: GPS data processed {"connection_id":46243,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:40:28] local.INFO: Acknowledgment sent {"connection_id":46243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:40:30] local.INFO: TCP Data received {"connection_id":46473,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:40:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46473,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:40:30] local.INFO: Processing buffer {"connection_id":46473,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:40:30] local.INFO: Packet analysis {"connection_id":46473,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:40:30] local.INFO: Extracted packet for processing {"connection_id":46473,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:40:30] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":48,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:40:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082624001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:40:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:40:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:40:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:40:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776442029000,"timestamp_ms":1776442029000,"timestamp_seconds":1776442029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3233c8"} 
[2026-04-17 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-04-17 21:40:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:40:30] 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-04-17 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-04-17 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-04-17 21:40:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:40:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46473,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:40:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:40:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46473,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:40:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:40:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:40:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:40:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082624001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:40:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:40:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:40:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082624001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:40:30] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:40:30] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:40:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:40:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:40:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082624001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:40:30] local.INFO: DEBUG: GPS processor result {"connection_id":46473,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23215,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:40:30] local.INFO: GPS data processed {"connection_id":46473,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:40:30] local.INFO: Acknowledgment sent {"connection_id":46473,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:40:49] local.INFO: TCP Data received {"connection_id":46984,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:40:49] local.INFO: Processing buffer {"connection_id":46984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:40:49] local.INFO: IMEI packet received {"connection_id":46984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":46984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:40:55] local.INFO: TCP Data received {"connection_id":46984,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46984,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:40:55] local.INFO: Processing buffer {"connection_id":46984,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:40:55] local.INFO: IMEI packet received {"connection_id":46984,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":46984,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:40:56] local.INFO: TCP Data received {"connection_id":46984,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:40:56] local.INFO: Processing buffer {"connection_id":46984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:40:56] local.INFO: Packet analysis {"connection_id":46984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:40:56] local.INFO: Extracted packet for processing {"connection_id":46984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:40:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":48,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082624001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776442029000,"timestamp_ms":1776442029000,"timestamp_seconds":1776442029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3233c8"} 
[2026-04-17 21:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:40:56] 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-04-17 21:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082624001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082624001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:40:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:40:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082624001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":46984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23216,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:40:56] local.INFO: GPS data processed {"connection_id":46984,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:40:56] local.INFO: Acknowledgment sent {"connection_id":46984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:40:59] local.INFO: TCP Data received {"connection_id":46243,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:40:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46243,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:40:59] local.INFO: Processing buffer {"connection_id":46243,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:40:59] local.INFO: Packet analysis {"connection_id":46243,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:40:59] local.INFO: Extracted packet for processing {"connection_id":46243,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:40:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:40:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082880001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:40:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:40:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:40: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-04-17 21:40:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776442031000,"timestamp_ms":1776442031000,"timestamp_seconds":1776442031,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c323b98"} 
[2026-04-17 21:40:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:40: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-04-17 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:40:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:40:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:40:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:40:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46243,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:40:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:40:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46243,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:40:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:40:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:40:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:40:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082880001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:40:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:40:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:40:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082880001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:40:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:40:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:40:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:40:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:40:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:40:59] local.INFO: DEBUG: GPS processor result {"connection_id":46243,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23217,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:40:59] local.INFO: GPS data processed {"connection_id":46243,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:40:59] local.INFO: Acknowledgment sent {"connection_id":46243,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:41:21] local.INFO: TCP Data received {"connection_id":46135,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:41:21] local.INFO: Processing buffer {"connection_id":46135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:41:21] local.INFO: IMEI packet received {"connection_id":46135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":46135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:41:26] local.INFO: TCP Data received {"connection_id":46135,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46135,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:41:26] local.INFO: Processing buffer {"connection_id":46135,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:41:26] local.INFO: IMEI packet received {"connection_id":46135,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":46135,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:41:27] local.INFO: TCP Data received {"connection_id":46984,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46984,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:41:27] local.INFO: Processing buffer {"connection_id":46984,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:41:27] local.INFO: Packet analysis {"connection_id":46984,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:41:27] local.INFO: Extracted packet for processing {"connection_id":46984,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:41:27] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":48,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082624001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442029000,"timestamp_ms":1776442029000,"timestamp_seconds":1776442029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3233c8"} 
[2026-04-17 21:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46984,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46984,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082624001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082624001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:41:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:41:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082624001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":46984,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23218,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:41:27] local.INFO: GPS data processed {"connection_id":46984,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:41:27] local.INFO: Acknowledgment sent {"connection_id":46984,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:41:28] local.INFO: TCP Data received {"connection_id":46135,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:41:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:41:28] local.INFO: Processing buffer {"connection_id":46135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:41:28] local.INFO: Packet analysis {"connection_id":46135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:41:28] local.INFO: Extracted packet for processing {"connection_id":46135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:41:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:41:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082880001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:41:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:41:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:41: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-04-17 21:41:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776442031000,"timestamp_ms":1776442031000,"timestamp_seconds":1776442031,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c323b98"} 
[2026-04-17 21:41:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:41:28] 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-04-17 21:41:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:41: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-04-17 21:41:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:41:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:41:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:41:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:41:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:41:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:41:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:41:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:41:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:41:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082880001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:41:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:41:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:41:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082880001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:41:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:41:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:41:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:41:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:41:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:41:28] local.INFO: DEBUG: GPS processor result {"connection_id":46135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23219,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:41:28] local.INFO: GPS data processed {"connection_id":46135,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:41:28] local.INFO: Acknowledgment sent {"connection_id":46135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:41:49] local.INFO: TCP Data received {"connection_id":46474,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:41:49] local.INFO: Processing buffer {"connection_id":46474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:41:49] local.INFO: IMEI packet received {"connection_id":46474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":46474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:41:55] local.INFO: TCP Data received {"connection_id":46474,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:41:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46474,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:41:55] local.INFO: Processing buffer {"connection_id":46474,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:41:55] local.INFO: IMEI packet received {"connection_id":46474,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:41:55] local.INFO: IMEI acknowledgment sent {"connection_id":46474,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:41:56] local.INFO: TCP Data received {"connection_id":46474,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:41:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:41:56] local.INFO: Processing buffer {"connection_id":46474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:41:56] local.INFO: Packet analysis {"connection_id":46474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:41:56] local.INFO: Extracted packet for processing {"connection_id":46474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:41:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":48,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:41:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082624001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:41:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:41:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:41:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:41:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776442029000,"timestamp_ms":1776442029000,"timestamp_seconds":1776442029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3233c8"} 
[2026-04-17 21:41:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:41:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:41:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:41:56] 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-04-17 21:41:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:41:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:41:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:41:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:41:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:41:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:41:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:41:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:41:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:41:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082624001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:41:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:41:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:41:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082624001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:41:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:41:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:41:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:41:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:41:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082624001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:41:56] local.INFO: DEBUG: GPS processor result {"connection_id":46474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23220,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:41:56] local.INFO: GPS data processed {"connection_id":46474,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:41:56] local.INFO: Acknowledgment sent {"connection_id":46474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:42:00] local.INFO: TCP Data received {"connection_id":46135,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46135,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:42:00] local.INFO: Processing buffer {"connection_id":46135,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:42:00] local.INFO: Packet analysis {"connection_id":46135,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:42:00] local.INFO: Extracted packet for processing {"connection_id":46135,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:42:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082880001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:42: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-04-17 21:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776442031000,"timestamp_ms":1776442031000,"timestamp_seconds":1776442031,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c323b98"} 
[2026-04-17 21:42:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:42:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:42: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-04-17 21: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-04-17 21:42:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46135,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46135,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082880001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082880001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:42:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:42:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":46135,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23221,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:42:00] local.INFO: GPS data processed {"connection_id":46135,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:42:00] local.INFO: Acknowledgment sent {"connection_id":46135,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:42:26] local.INFO: TCP Data received {"connection_id":46476,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:42:26] local.INFO: Processing buffer {"connection_id":46476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:42:26] local.INFO: IMEI packet received {"connection_id":46476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":46476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:42:27] local.INFO: TCP Data received {"connection_id":46474,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46474,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:42:27] local.INFO: Processing buffer {"connection_id":46474,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3233c8012d77ab0005f2a5e80012002d30..."} 
[2026-04-17 21:42:27] local.INFO: Packet analysis {"connection_id":46474,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:42:27] local.INFO: Extracted packet for processing {"connection_id":46474,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:42:27] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":48,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082624001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:42:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442029000,"timestamp_ms":1776442029000,"timestamp_seconds":1776442029,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3233c8"} 
[2026-04-17 21:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:42:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:42:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46474,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46474,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082624001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082624001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:42:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:42:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082624001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":46474,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23222,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:42:27] local.INFO: GPS data processed {"connection_id":46474,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:42:27] local.INFO: Acknowledgment sent {"connection_id":46474,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:42:28] local.INFO: TCP Data received {"connection_id":46475,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:42:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46475,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:42:28] local.INFO: Processing buffer {"connection_id":46475,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:42:28] local.INFO: IMEI packet received {"connection_id":46475,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:42:28] local.INFO: IMEI acknowledgment sent {"connection_id":46475,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:42:31] local.INFO: TCP Data received {"connection_id":46476,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:42:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46476,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:42:31] local.INFO: Processing buffer {"connection_id":46476,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:42:31] local.INFO: IMEI packet received {"connection_id":46476,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:42:31] local.INFO: IMEI acknowledgment sent {"connection_id":46476,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:42:32] local.INFO: TCP Data received {"connection_id":46476,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:42:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:42:32] local.INFO: Processing buffer {"connection_id":46476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:42:32] local.INFO: Packet analysis {"connection_id":46476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:42:32] local.INFO: Extracted packet for processing {"connection_id":46476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:42:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:42:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082880001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:42:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:42:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:42:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:42:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776442031000,"timestamp_ms":1776442031000,"timestamp_seconds":1776442031,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c323b98"} 
[2026-04-17 21:42:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:42:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:42:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:42:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:42:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:42:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:42:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:42:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:42:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:42:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:42:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:42:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:42:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:42:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082880001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:42:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:42:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:42:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082880001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:42:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:42:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:42:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:42:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:42:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:42:32] local.INFO: DEBUG: GPS processor result {"connection_id":46476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23223,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:42:32] local.INFO: GPS data processed {"connection_id":46476,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:42:32] local.INFO: Acknowledgment sent {"connection_id":46476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:42:37] local.INFO: TCP Data received {"connection_id":46476,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:42:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46476,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:42:37] local.INFO: Processing buffer {"connection_id":46476,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c323b98012d196500071ff0900033013b2a..."} 
[2026-04-17 21:42:37] local.INFO: Packet analysis {"connection_id":46476,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:42:37] local.INFO: Extracted packet for processing {"connection_id":46476,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c32"} 
[2026-04-17 21:42:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:42:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769082880001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:42:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:42:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:42: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-04-17 21:42:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776442031000,"timestamp_ms":1776442031000,"timestamp_seconds":1776442031,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c323b98"} 
[2026-04-17 21:42:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:42: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-04-17 21: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":107,"data_length":795,"current_offset":136} 
[2026-04-17 21:42:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:42:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:42:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:42:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46476,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:42:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:42:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46476,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:42:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:42:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:42:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:42:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769082880001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:42:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:42:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:42:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769082880001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:42:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:42:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:42:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:42:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:42:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769082880001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:42:37] local.INFO: DEBUG: GPS processor result {"connection_id":46476,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23224,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:42:37] local.INFO: GPS data processed {"connection_id":46476,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:42:37] local.INFO: Acknowledgment sent {"connection_id":46476,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:42:49] local.INFO: TCP Data received {"connection_id":46244,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:42:49] local.INFO: Processing buffer {"connection_id":46244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:42:49] local.INFO: IMEI packet received {"connection_id":46244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":46244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:42:55] local.INFO: TCP Data received {"connection_id":46244,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46244,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:42:55] local.INFO: Processing buffer {"connection_id":46244,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:42:55] local.INFO: IMEI packet received {"connection_id":46244,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":46244,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:42:56] local.INFO: TCP Data received {"connection_id":46244,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:42:56] local.INFO: Processing buffer {"connection_id":46244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:42:56] local.INFO: Packet analysis {"connection_id":46244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:42:56] local.INFO: Extracted packet for processing {"connection_id":46244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:42:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":43,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769159424001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776442331000,"timestamp_ms":1776442331000,"timestamp_seconds":1776442331,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c36cf78"} 
[2026-04-17 21:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:42:56] 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-04-17 21:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769159424001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769159424001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:42:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:42:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769159424001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":46244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23225,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:42:56] local.INFO: GPS data processed {"connection_id":46244,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:42:56] local.INFO: Acknowledgment sent {"connection_id":46244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:43:21] local.INFO: TCP Data received {"connection_id":46136,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:43:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:43:21] local.INFO: Processing buffer {"connection_id":46136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:43:21] local.INFO: IMEI packet received {"connection_id":46136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:43:21] local.INFO: IMEI acknowledgment sent {"connection_id":46136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:43:26] local.INFO: TCP Data received {"connection_id":46136,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46136,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:43:26] local.INFO: Processing buffer {"connection_id":46136,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:43:26] local.INFO: IMEI packet received {"connection_id":46136,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":46136,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:43:27] local.INFO: TCP Data received {"connection_id":46244,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46244,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:43:27] local.INFO: Processing buffer {"connection_id":46244,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:43:27] local.INFO: Packet analysis {"connection_id":46244,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:43:27] local.INFO: Extracted packet for processing {"connection_id":46244,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:43:27] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":43,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769159424001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442331000,"timestamp_ms":1776442331000,"timestamp_seconds":1776442331,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c36cf78"} 
[2026-04-17 21:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:43:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46244,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46244,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:43:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:43:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769159424001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:43:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:43:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:43:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769159424001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:43:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:43:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:43:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:43:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:43:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769159424001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:43:27] local.INFO: DEBUG: GPS processor result {"connection_id":46244,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23226,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:43:27] local.INFO: GPS data processed {"connection_id":46244,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:43:27] local.INFO: Acknowledgment sent {"connection_id":46244,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:43:28] local.INFO: TCP Data received {"connection_id":46136,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:43:28] local.INFO: Processing buffer {"connection_id":46136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:43:28] local.INFO: Packet analysis {"connection_id":46136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:43:28] local.INFO: Extracted packet for processing {"connection_id":46136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:43:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769159936001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:43: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-04-17 21:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776442332000,"timestamp_ms":1776442332000,"timestamp_seconds":1776442332,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c36d360"} 
[2026-04-17 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-04-17 21:43:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:43: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-04-17 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-04-17 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-04-17 21:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769159936001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769159936001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:43:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:43:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769159936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":46136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23227,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:43:28] local.INFO: GPS data processed {"connection_id":46136,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:43:28] local.INFO: Acknowledgment sent {"connection_id":46136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:43:50] local.INFO: TCP Data received {"connection_id":46478,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:43:50] local.INFO: Processing buffer {"connection_id":46478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:43:50] local.INFO: IMEI packet received {"connection_id":46478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":46478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:43:55] local.INFO: TCP Data received {"connection_id":46478,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46478,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:43:55] local.INFO: Processing buffer {"connection_id":46478,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:43:55] local.INFO: IMEI packet received {"connection_id":46478,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":46478,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:43:56] local.INFO: TCP Data received {"connection_id":46478,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:43:56] local.INFO: Processing buffer {"connection_id":46478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:43:56] local.INFO: Packet analysis {"connection_id":46478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:43:56] local.INFO: Extracted packet for processing {"connection_id":46478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:43:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":43,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769159424001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776442331000,"timestamp_ms":1776442331000,"timestamp_seconds":1776442331,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c36cf78"} 
[2026-04-17 21:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:43:56] 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-04-17 21:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769159424001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769159424001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:43:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:43:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769159424001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":46478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23228,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:43:56] local.INFO: GPS data processed {"connection_id":46478,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:43:56] local.INFO: Acknowledgment sent {"connection_id":46478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:44:00] local.INFO: TCP Data received {"connection_id":46136,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:44:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46136,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:44:00] local.INFO: Processing buffer {"connection_id":46136,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:44:00] local.INFO: Packet analysis {"connection_id":46136,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:44:00] local.INFO: Extracted packet for processing {"connection_id":46136,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:44:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:44:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769159936001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:44:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:44:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21: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-04-17 21:44:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776442332000,"timestamp_ms":1776442332000,"timestamp_seconds":1776442332,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c36d360"} 
[2026-04-17 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-04-17 21:44:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21: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-04-17 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-04-17 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-04-17 21:44:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:44:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46136,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:44:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:44:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46136,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:44:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:44:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:44:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:44:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769159936001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:44:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:44:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:44:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769159936001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:44:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:44:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:44:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:44:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:44:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769159936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:44:00] local.INFO: DEBUG: GPS processor result {"connection_id":46136,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23229,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:44:00] local.INFO: GPS data processed {"connection_id":46136,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:44:00] local.INFO: Acknowledgment sent {"connection_id":46136,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:44:21] local.INFO: TCP Data received {"connection_id":46245,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:44:21] local.INFO: Processing buffer {"connection_id":46245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:44:21] local.INFO: IMEI packet received {"connection_id":46245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":46245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:44:27] local.INFO: TCP Data received {"connection_id":46478,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46478,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:44:27] local.INFO: Processing buffer {"connection_id":46478,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:44:27] local.INFO: Packet analysis {"connection_id":46478,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:44:27] local.INFO: Extracted packet for processing {"connection_id":46478,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:44:27] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":43,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769159424001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:44:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442331000,"timestamp_ms":1776442331000,"timestamp_seconds":1776442331,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c36cf78"} 
[2026-04-17 21:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:44:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:44:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46478,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46478,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769159424001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769159424001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:44:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:44:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769159424001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":46478,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23230,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:44:27] local.INFO: GPS data processed {"connection_id":46478,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:44:27] local.INFO: Acknowledgment sent {"connection_id":46478,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:44:28] local.INFO: TCP Data received {"connection_id":46245,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46245,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:44:28] local.INFO: Processing buffer {"connection_id":46245,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:44:28] local.INFO: IMEI packet received {"connection_id":46245,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:44:28] local.INFO: IMEI acknowledgment sent {"connection_id":46245,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:44:30] local.INFO: TCP Data received {"connection_id":46245,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:44:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46245,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:44:30] local.INFO: Processing buffer {"connection_id":46245,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:44:30] local.INFO: Packet analysis {"connection_id":46245,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:44:30] local.INFO: Extracted packet for processing {"connection_id":46245,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:44:30] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:44:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769159936001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:44:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:44:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:44: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-04-17 21:44:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776442332000,"timestamp_ms":1776442332000,"timestamp_seconds":1776442332,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c36d360"} 
[2026-04-17 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-04-17 21:44:30] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:44:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 21:44:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:44:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46245,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:44:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:44:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46245,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:44:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:44:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:44:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:44:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769159936001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:44:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:44:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:44:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769159936001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:44:30] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:44:30] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:44:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:44:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:44:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769159936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:44:30] local.INFO: DEBUG: GPS processor result {"connection_id":46245,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23231,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:44:30] local.INFO: GPS data processed {"connection_id":46245,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:44:30] local.INFO: Acknowledgment sent {"connection_id":46245,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:44:49] local.INFO: TCP Data received {"connection_id":46137,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:44:49] local.INFO: Processing buffer {"connection_id":46137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:44:49] local.INFO: IMEI packet received {"connection_id":46137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":46137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:44:55] local.INFO: TCP Data received {"connection_id":46137,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46137,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:44:55] local.INFO: Processing buffer {"connection_id":46137,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:44:55] local.INFO: IMEI packet received {"connection_id":46137,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":46137,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:44:56] local.INFO: TCP Data received {"connection_id":46137,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:44:56] local.INFO: Processing buffer {"connection_id":46137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:44:56] local.INFO: Packet analysis {"connection_id":46137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:44:56] local.INFO: Extracted packet for processing {"connection_id":46137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:44:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":43,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769159424001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776442331000,"timestamp_ms":1776442331000,"timestamp_seconds":1776442331,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c36cf78"} 
[2026-04-17 21:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:44:56] 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-04-17 21:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769159424001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769159424001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:44:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:44:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769159424001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":46137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23232,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:44:56] local.INFO: GPS data processed {"connection_id":46137,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:44:56] local.INFO: Acknowledgment sent {"connection_id":46137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:45:26] local.INFO: TCP Data received {"connection_id":46246,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:45:26] local.INFO: Processing buffer {"connection_id":46246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:45:26] local.INFO: IMEI packet received {"connection_id":46246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":46246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:45:28] local.INFO: TCP Data received {"connection_id":46137,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:45:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46137,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:45:28] local.INFO: Processing buffer {"connection_id":46137,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:45:28] local.INFO: Packet analysis {"connection_id":46137,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:45:28] local.INFO: Extracted packet for processing {"connection_id":46137,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:45:28] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":43,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:45:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769159424001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:45:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:45:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:45:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:45:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776442331000,"timestamp_ms":1776442331000,"timestamp_seconds":1776442331,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c36cf78"} 
[2026-04-17 21:45:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:45:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:45:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:45:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:45:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:45:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46137,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:45:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:45:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46137,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:45:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:45:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:45:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:45:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769159424001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:45:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:45:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:45:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769159424001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:45:28] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:45:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:45:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:45:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:45:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769159424001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:45:28] local.INFO: DEBUG: GPS processor result {"connection_id":46137,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23233,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:45:28] local.INFO: GPS data processed {"connection_id":46137,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:45:28] local.INFO: Acknowledgment sent {"connection_id":46137,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:45:31] local.INFO: TCP Data received {"connection_id":46246,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:45:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46246,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:45:31] local.INFO: Processing buffer {"connection_id":46246,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:45:31] local.INFO: IMEI packet received {"connection_id":46246,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:45:31] local.INFO: IMEI acknowledgment sent {"connection_id":46246,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:45:32] local.INFO: TCP Data received {"connection_id":46246,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:45:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:45:32] local.INFO: Processing buffer {"connection_id":46246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:45:32] local.INFO: Packet analysis {"connection_id":46246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:45:32] local.INFO: Extracted packet for processing {"connection_id":46246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:45:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:45:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769159936001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:45:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:45:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:45:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:45:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776442332000,"timestamp_ms":1776442332000,"timestamp_seconds":1776442332,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c36d360"} 
[2026-04-17 21:45:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:45:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:45:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:45:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:45:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:45:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:45:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:45:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:45:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:45:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:45:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:45:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:45:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769159936001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:45:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:45:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:45:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769159936001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:45:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:45:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:45:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:45:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:45:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769159936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:45:32] local.INFO: DEBUG: GPS processor result {"connection_id":46246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23234,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:45:32] local.INFO: GPS data processed {"connection_id":46246,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:45:32] local.INFO: Acknowledgment sent {"connection_id":46246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:45:37] local.INFO: TCP Data received {"connection_id":46246,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:45:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46246,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:45:37] local.INFO: Processing buffer {"connection_id":46246,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:45:37] local.INFO: Packet analysis {"connection_id":46246,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:45:37] local.INFO: Extracted packet for processing {"connection_id":46246,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:45:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:45:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769159936001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:45:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:45:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:45: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-04-17 21:45:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776442332000,"timestamp_ms":1776442332000,"timestamp_seconds":1776442332,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c36d360"} 
[2026-04-17 21:45:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:45:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:45:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:45:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:45:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:45:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:45:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:45:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46246,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:45:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:45:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46246,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:45:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:45:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:45:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:45:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769159936001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:45:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:45:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:45:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769159936001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:45:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:45:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:45:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:45:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:45:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769159936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:45:37] local.INFO: DEBUG: GPS processor result {"connection_id":46246,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23235,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:45:37] local.INFO: GPS data processed {"connection_id":46246,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:45:37] local.INFO: Acknowledgment sent {"connection_id":46246,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:45:49] local.INFO: TCP Data received {"connection_id":46987,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:45:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:45:49] local.INFO: Processing buffer {"connection_id":46987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:45:49] local.INFO: IMEI packet received {"connection_id":46987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:45:49] local.INFO: IMEI acknowledgment sent {"connection_id":46987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:45:55] local.INFO: TCP Data received {"connection_id":46987,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46987,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:45:55] local.INFO: Processing buffer {"connection_id":46987,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:45:55] local.INFO: IMEI packet received {"connection_id":46987,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":46987,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:45:56] local.INFO: TCP Data received {"connection_id":46987,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:45:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:45:56] local.INFO: Processing buffer {"connection_id":46987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:45:56] local.INFO: Packet analysis {"connection_id":46987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:45:56] local.INFO: Extracted packet for processing {"connection_id":46987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:45:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":43,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:45:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769159424001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:45:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:45:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:45:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:45:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776442331000,"timestamp_ms":1776442331000,"timestamp_seconds":1776442331,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c36cf78"} 
[2026-04-17 21:45:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:45:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:45:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:45:56] 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-04-17 21:45:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:45:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:45:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:45:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:45:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:45:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:45:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:45:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:45:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:45:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769159424001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:45:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:45:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:45:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769159424001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:45:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:45:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:45:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:45:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:45:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769159424001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:45:56] local.INFO: DEBUG: GPS processor result {"connection_id":46987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23236,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:45:56] local.INFO: GPS data processed {"connection_id":46987,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:45:56] local.INFO: Acknowledgment sent {"connection_id":46987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:46:21] local.INFO: TCP Data received {"connection_id":46988,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:46:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:46:21] local.INFO: Processing buffer {"connection_id":46988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:46:21] local.INFO: IMEI packet received {"connection_id":46988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:46:21] local.INFO: IMEI acknowledgment sent {"connection_id":46988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:46:26] local.INFO: TCP Data received {"connection_id":46988,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46988,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:46:26] local.INFO: Processing buffer {"connection_id":46988,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:46:26] local.INFO: IMEI packet received {"connection_id":46988,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":46988,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:46:26] local.INFO: TCP Data received {"connection_id":46987,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46987,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:46:26] local.INFO: Processing buffer {"connection_id":46987,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:46:26] local.INFO: Packet analysis {"connection_id":46987,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:46:26] local.INFO: Extracted packet for processing {"connection_id":46987,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:46:26] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":43,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:46:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769159424001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:46:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:46:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:46:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:46:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776442331000,"timestamp_ms":1776442331000,"timestamp_seconds":1776442331,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c36cf78"} 
[2026-04-17 21:46:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:46:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:46:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:46:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:46:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:46:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:46:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:46:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46987,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:46:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:46:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46987,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:46:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:46:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:46:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:46:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769159424001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:46:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:46:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:46:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769159424001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:46:26] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:46:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:46:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:46:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:46:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769159424001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:46:26] local.INFO: DEBUG: GPS processor result {"connection_id":46987,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23237,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:46:26] local.INFO: GPS data processed {"connection_id":46987,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:46:26] local.INFO: Acknowledgment sent {"connection_id":46987,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:46:27] local.INFO: TCP Data received {"connection_id":46988,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:46:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:46:27] local.INFO: Processing buffer {"connection_id":46988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:46:27] local.INFO: Packet analysis {"connection_id":46988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:46:27] local.INFO: Extracted packet for processing {"connection_id":46988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:46:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:46:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769159936001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:46:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:46:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:46: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-04-17 21:46:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442332000,"timestamp_ms":1776442332000,"timestamp_seconds":1776442332,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c36d360"} 
[2026-04-17 21:46:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:46:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:46:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:46: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-04-17 21:46:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:46:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:46:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:46:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:46:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:46:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:46:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:46:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:46:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:46:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769159936001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:46:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:46:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:46:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769159936001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:46:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:46:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:46:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:46:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:46:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769159936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:46:27] local.INFO: DEBUG: GPS processor result {"connection_id":46988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23238,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:46:27] local.INFO: GPS data processed {"connection_id":46988,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:46:27] local.INFO: Acknowledgment sent {"connection_id":46988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:46:55] local.INFO: TCP Data received {"connection_id":46247,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:46:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:46:55] local.INFO: Processing buffer {"connection_id":46247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:46:55] local.INFO: IMEI packet received {"connection_id":46247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:46:55] local.INFO: IMEI acknowledgment sent {"connection_id":46247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:46:59] local.INFO: TCP Data received {"connection_id":46988,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:46:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46988,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:46:59] local.INFO: Processing buffer {"connection_id":46988,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:46:59] local.INFO: Packet analysis {"connection_id":46988,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:46:59] local.INFO: Extracted packet for processing {"connection_id":46988,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:46:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:46:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769159936001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:46:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:46:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:46: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-04-17 21:46:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776442332000,"timestamp_ms":1776442332000,"timestamp_seconds":1776442332,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c36d360"} 
[2026-04-17 21:46:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:46:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:46:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:46: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-04-17 21:46:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:46:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:46:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:46:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46988,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:46:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:46:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46988,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:46:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:46:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:46:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:46:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769159936001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:46:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:46:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:46:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769159936001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:46:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:46:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:46:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:46:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:46:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769159936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:46:59] local.INFO: DEBUG: GPS processor result {"connection_id":46988,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23239,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:46:59] local.INFO: GPS data processed {"connection_id":46988,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:46:59] local.INFO: Acknowledgment sent {"connection_id":46988,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:47:00] local.INFO: TCP Data received {"connection_id":46247,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:47:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46247,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:47:00] local.INFO: Processing buffer {"connection_id":46247,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:47:00] local.INFO: IMEI packet received {"connection_id":46247,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:47:00] local.INFO: IMEI acknowledgment sent {"connection_id":46247,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:47:01] local.INFO: TCP Data received {"connection_id":46247,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:47:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:47:01] local.INFO: Processing buffer {"connection_id":46247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:47:01] local.INFO: Packet analysis {"connection_id":46247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:47:01] local.INFO: Extracted packet for processing {"connection_id":46247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:47:01] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":43,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:47:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769159424001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:47:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:47:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:47:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:47:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776442331000,"timestamp_ms":1776442331000,"timestamp_seconds":1776442331,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c36cf78"} 
[2026-04-17 21:47:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:47:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:47:01] 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-04-17 21: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-04-17 21:47:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:47:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:47:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:47:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:47:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:47:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:47:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:47:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:47:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769159424001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:47:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:47:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:47:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769159424001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:47:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:47:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:47:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:47:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:47:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769159424001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:47:01] local.INFO: DEBUG: GPS processor result {"connection_id":46247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23240,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:47:01] local.INFO: GPS data processed {"connection_id":46247,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:47:01] local.INFO: Acknowledgment sent {"connection_id":46247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:47:05] local.INFO: TCP Data received {"connection_id":46247,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:47:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46247,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:47:05] local.INFO: Processing buffer {"connection_id":46247,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c36cf78012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:47:05] local.INFO: Packet analysis {"connection_id":46247,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:47:05] local.INFO: Extracted packet for processing {"connection_id":46247,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:47:05] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":43,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:47:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769159424001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:47:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:47:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:47:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:47:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776442331000,"timestamp_ms":1776442331000,"timestamp_seconds":1776442331,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c36cf78"} 
[2026-04-17 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-04-17 21:47:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:47:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:47: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-04-17 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-04-17 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-04-17 21:47:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:47:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46247,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:47:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:47:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46247,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:47:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:47:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:47:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:47:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769159424001,"66":25147,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:47:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:47:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:47:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769159424001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:47:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:47:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:47:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:47:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:47:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769159424001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:47:05] local.INFO: DEBUG: GPS processor result {"connection_id":46247,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23241,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:47:05] local.INFO: GPS data processed {"connection_id":46247,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:47:05] local.INFO: Acknowledgment sent {"connection_id":46247,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:47:21] local.INFO: TCP Data received {"connection_id":46138,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:47:21] local.INFO: Processing buffer {"connection_id":46138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:47:21] local.INFO: IMEI packet received {"connection_id":46138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":46138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:47:26] local.INFO: TCP Data received {"connection_id":46138,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46138,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:47:26] local.INFO: Processing buffer {"connection_id":46138,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:47:26] local.INFO: IMEI packet received {"connection_id":46138,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":46138,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:47:28] local.INFO: TCP Data received {"connection_id":46138,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:47:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:47:28] local.INFO: Processing buffer {"connection_id":46138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c36d360012d196500071ff0900033013b2c..."} 
[2026-04-17 21:47:28] local.INFO: Packet analysis {"connection_id":46138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:47:28] local.INFO: Extracted packet for processing {"connection_id":46138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c36"} 
[2026-04-17 21:47:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":51,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:47:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769159936001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:47:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:47:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:47: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-04-17 21:47:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776442332000,"timestamp_ms":1776442332000,"timestamp_seconds":1776442332,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c36d360"} 
[2026-04-17 21:47:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:47:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":18688,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:47:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:47: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-04-17 21:47:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:47:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:47:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:47:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:47:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:47:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:47:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:47:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:47:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:47:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769159936001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:47:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:47:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:47:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769159936001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:47:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:47:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:47:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:47:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:47:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769159936001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:47:28] local.INFO: DEBUG: GPS processor result {"connection_id":46138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23242,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:47:28] local.INFO: GPS data processed {"connection_id":46138,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:47:28] local.INFO: Acknowledgment sent {"connection_id":46138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:47:46] local.INFO: TCP Data received {"connection_id":46989,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:47:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46989,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:47:46] local.INFO: Processing buffer {"connection_id":46989,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:47:46] local.INFO: IMEI packet received {"connection_id":46989,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:47:46] local.INFO: IMEI acknowledgment sent {"connection_id":46989,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:47:49] local.INFO: TCP Data received {"connection_id":46481,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:47:49] local.INFO: Processing buffer {"connection_id":46481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:47:49] local.INFO: IMEI packet received {"connection_id":46481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":46481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:47:50] local.INFO: TCP Data received {"connection_id":46481,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:47:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:47:50] local.INFO: Processing buffer {"connection_id":46481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:47:50] local.INFO: IMEI packet received {"connection_id":46481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:47:50] local.INFO: IMEI acknowledgment sent {"connection_id":46481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:47:55] local.INFO: TCP Data received {"connection_id":46481,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46481,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:47:55] local.INFO: Processing buffer {"connection_id":46481,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:47:55] local.INFO: IMEI packet received {"connection_id":46481,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":46481,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:47:56] local.INFO: TCP Data received {"connection_id":46481,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3b6358012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3b6358012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:47:56] local.INFO: Processing buffer {"connection_id":46481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3b6358012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:47:56] local.INFO: Packet analysis {"connection_id":46481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:47:56] local.INFO: Extracted packet for processing {"connection_id":46481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:47:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769236736001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776442631000,"timestamp_ms":1776442631000,"timestamp_seconds":1776442631,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3b6358"} 
[2026-04-17 21:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:47:56] 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-04-17 21: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-04-17 21:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769236736001,"66":25071,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769236736001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:47:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:47:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769236736001,"power":25071,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":46481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23243,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:47:56] local.INFO: GPS data processed {"connection_id":46481,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:47:56] local.INFO: Acknowledgment sent {"connection_id":46481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:48:00] local.INFO: TCP Data received {"connection_id":46138,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:48:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46138,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:48:00] local.INFO: Processing buffer {"connection_id":46138,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:48:00] local.INFO: Packet analysis {"connection_id":46138,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:48:00] local.INFO: Extracted packet for processing {"connection_id":46138,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:48:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:48:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769236992001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:48:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:48:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21: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-04-17 21:48:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776442633000,"timestamp_ms":1776442633000,"timestamp_seconds":1776442633,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3b6b28"} 
[2026-04-17 21:48:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:48:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:48:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21: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-04-17 21:48:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:48:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:48:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:48:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46138,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:48:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:48:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46138,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:48:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:48:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:48:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:48:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769236992001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:48:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:48:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:48:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769236992001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:48:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:48:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:48:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:48:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:48:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769236992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:48:00] local.INFO: DEBUG: GPS processor result {"connection_id":46138,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23244,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:48:00] local.INFO: GPS data processed {"connection_id":46138,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:48:00] local.INFO: Acknowledgment sent {"connection_id":46138,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:48:03] local.INFO: TCP Data received {"connection_id":46990,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:48:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46990,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:48:03] local.INFO: Processing buffer {"connection_id":46990,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:48:03] local.INFO: IMEI packet received {"connection_id":46990,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:48:03] local.INFO: IMEI acknowledgment sent {"connection_id":46990,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:48:26] local.INFO: TCP Data received {"connection_id":46139,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:48:26] local.INFO: Processing buffer {"connection_id":46139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:48:26] local.INFO: IMEI packet received {"connection_id":46139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":46139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:48:26] local.INFO: TCP Data received {"connection_id":46481,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3b6358012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46481,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3b6358012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:48:26] local.INFO: Processing buffer {"connection_id":46481,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3b6358012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:48:26] local.INFO: Packet analysis {"connection_id":46481,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:48:26] local.INFO: Extracted packet for processing {"connection_id":46481,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:48:26] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:48:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769236736001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:48:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:48:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:48:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:48:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776442631000,"timestamp_ms":1776442631000,"timestamp_seconds":1776442631,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3b6358"} 
[2026-04-17 21:48:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:48:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:48:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:48:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:48:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:48:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:48:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46481,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:48:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:48:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46481,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:48:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:48:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:48:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769236736001,"66":25071,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769236736001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:48:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:48:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769236736001,"power":25071,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":46481,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23245,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:48:27] local.INFO: GPS data processed {"connection_id":46481,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:48:27] local.INFO: Acknowledgment sent {"connection_id":46481,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:48:31] local.INFO: TCP Data received {"connection_id":46139,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:48:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46139,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:48:31] local.INFO: Processing buffer {"connection_id":46139,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:48:31] local.INFO: IMEI packet received {"connection_id":46139,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:48:31] local.INFO: IMEI acknowledgment sent {"connection_id":46139,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:48:32] local.INFO: TCP Data received {"connection_id":46139,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:48:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:48:32] local.INFO: Processing buffer {"connection_id":46139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:48:32] local.INFO: Packet analysis {"connection_id":46139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:48:32] local.INFO: Extracted packet for processing {"connection_id":46139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:48:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:48:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769236992001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:48:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:48:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:48:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:48:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776442633000,"timestamp_ms":1776442633000,"timestamp_seconds":1776442633,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3b6b28"} 
[2026-04-17 21:48:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:48:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:48:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:48:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:48:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:48:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:48:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:48:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:48:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:48:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:48:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:48:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:48:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769236992001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:48:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:48:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:48:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769236992001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:48:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:48:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:48:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:48:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:48:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769236992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:48:32] local.INFO: DEBUG: GPS processor result {"connection_id":46139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23246,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:48:32] local.INFO: GPS data processed {"connection_id":46139,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:48:32] local.INFO: Acknowledgment sent {"connection_id":46139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:48:37] local.INFO: TCP Data received {"connection_id":46139,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:48:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46139,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:48:37] local.INFO: Processing buffer {"connection_id":46139,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:48:37] local.INFO: Packet analysis {"connection_id":46139,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:48:37] local.INFO: Extracted packet for processing {"connection_id":46139,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:48:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:48:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769236992001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:48:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:48:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:48: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-04-17 21:48:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776442633000,"timestamp_ms":1776442633000,"timestamp_seconds":1776442633,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3b6b28"} 
[2026-04-17 21:48:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:48: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-04-17 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:48:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:48:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:48:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:48:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46139,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:48:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:48:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46139,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:48:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:48:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:48:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:48:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769236992001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:48:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:48:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:48:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769236992001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:48:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:48:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:48:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:48:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:48:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769236992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:48:37] local.INFO: DEBUG: GPS processor result {"connection_id":46139,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23247,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:48:37] local.INFO: GPS data processed {"connection_id":46139,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:48:37] local.INFO: Acknowledgment sent {"connection_id":46139,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:48:49] local.INFO: TCP Data received {"connection_id":46482,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:48:49] local.INFO: Processing buffer {"connection_id":46482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:48:49] local.INFO: IMEI packet received {"connection_id":46482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":46482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:48:55] local.INFO: TCP Data received {"connection_id":46482,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46482,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:48:55] local.INFO: Processing buffer {"connection_id":46482,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:48:55] local.INFO: IMEI packet received {"connection_id":46482,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":46482,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:48:56] local.INFO: TCP Data received {"connection_id":46482,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3b6358012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3b6358012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:48:56] local.INFO: Processing buffer {"connection_id":46482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3b6358012d77ab0005f2a5e80012002d2c..."} 
[2026-04-17 21:48:56] local.INFO: Packet analysis {"connection_id":46482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:48:56] local.INFO: Extracted packet for processing {"connection_id":46482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:48:56] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":44,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769236736001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776442631000,"timestamp_ms":1776442631000,"timestamp_seconds":1776442631,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3b6358"} 
[2026-04-17 21:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 21:48:56] 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-04-17 21:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769236736001,"66":25071,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769236736001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:48:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:48:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769236736001,"power":25071,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":46482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23248,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:48:56] local.INFO: GPS data processed {"connection_id":46482,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:48:56] local.INFO: Acknowledgment sent {"connection_id":46482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:49:21] local.INFO: TCP Data received {"connection_id":46991,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:49:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:49:21] local.INFO: Processing buffer {"connection_id":46991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:49:21] local.INFO: IMEI packet received {"connection_id":46991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:49:21] local.INFO: IMEI acknowledgment sent {"connection_id":46991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:49:26] local.INFO: TCP Data received {"connection_id":46991,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46991,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:49:26] local.INFO: Processing buffer {"connection_id":46991,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:49:26] local.INFO: IMEI packet received {"connection_id":46991,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":46991,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:49:27] local.INFO: TCP Data received {"connection_id":46482,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3cde40012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46482,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3cde40012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:49:27] local.INFO: Processing buffer {"connection_id":46482,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3cde40012d77ab0005f2a5e80012002d2b..."} 
[2026-04-17 21:49:27] local.INFO: Packet analysis {"connection_id":46482,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3c"} 
[2026-04-17 21:49:27] local.INFO: Extracted packet for processing {"connection_id":46482,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3c"} 
[2026-04-17 21:49:27] local.INFO: GPS Element Parsed {"raw_longitude":762817280,"raw_latitude":99788264,"longitude_deg":76.281728,"latitude_deg":9.9788264,"altitude":18,"angle":45,"satellites":43,"speed":0,"hex_longitude":"2d77ab00","hex_latitude":"05f2a5e8","is_valid_coordinates":true} 
[2026-04-17 21:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769313536001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442728000,"timestamp_ms":1776442728000,"timestamp_seconds":1776442728,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3cde40"} 
[2026-04-17 21:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":97,"n8_eight_byte":239,"data_length":795,"current_offset":136} 
[2026-04-17 21:49: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-04-17 21:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46482,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46482,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769313536001,"66":25125,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769313536001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:49:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:49:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769313536001,"power":25125,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":46482,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23249,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:49:27] local.INFO: GPS data processed {"connection_id":46482,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:49:27] local.INFO: Acknowledgment sent {"connection_id":46482,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:49:27] local.INFO: TCP Data received {"connection_id":46991,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:49:27] local.INFO: Processing buffer {"connection_id":46991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:49:27] local.INFO: Packet analysis {"connection_id":46991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:49:27] local.INFO: Extracted packet for processing {"connection_id":46991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:49:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769236992001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:49: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-04-17 21:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442633000,"timestamp_ms":1776442633000,"timestamp_seconds":1776442633,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3b6b28"} 
[2026-04-17 21:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:49:27] 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-04-17 21:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:49: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-04-17 21:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769236992001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769236992001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:49:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:49:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769236992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":46991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23250,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:49:27] local.INFO: GPS data processed {"connection_id":46991,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:49:27] local.INFO: Acknowledgment sent {"connection_id":46991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:49:52] local.INFO: TCP Data received {"connection_id":46140,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:49:52] local.INFO: Processing buffer {"connection_id":46140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:49:52] local.INFO: IMEI packet received {"connection_id":46140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:49:52] local.INFO: IMEI acknowledgment sent {"connection_id":46140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:49:54] local.INFO: TCP Data received {"connection_id":46140,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:49:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:49:54] local.INFO: Processing buffer {"connection_id":46140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:49:54] local.INFO: IMEI packet received {"connection_id":46140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:49:54] local.INFO: IMEI acknowledgment sent {"connection_id":46140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:50:00] local.INFO: TCP Data received {"connection_id":46140,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46140,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:50:00] local.INFO: Processing buffer {"connection_id":46140,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:50:00] local.INFO: IMEI packet received {"connection_id":46140,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:50:00] local.INFO: IMEI acknowledgment sent {"connection_id":46140,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:50:01] local.INFO: TCP Data received {"connection_id":46140,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3cf1c8012d77aa4005f2a718001200e92c..."} 
[2026-04-17 21:50:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3cf1c8012d77aa4005f2a718001200e92c..."} 
[2026-04-17 21:50:01] local.INFO: Processing buffer {"connection_id":46140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3cf1c8012d77aa4005f2a718001200e92c..."} 
[2026-04-17 21:50:01] local.INFO: Packet analysis {"connection_id":46140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3c"} 
[2026-04-17 21:50:01] local.INFO: Extracted packet for processing {"connection_id":46140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3c"} 
[2026-04-17 21:50:01] local.INFO: GPS Element Parsed {"raw_longitude":762817088,"raw_latitude":99788568,"longitude_deg":76.2817088,"latitude_deg":9.9788568,"altitude":18,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d77aa40","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-04-17 21:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:50:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769338368001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:50:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:50:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622985937076742144,"note":"Value kept but may cause issues"} 
[2026-04-17 21:50:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:50:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776442733000,"timestamp_ms":1776442733000,"timestamp_seconds":1776442733,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3cf1c8"} 
[2026-04-17 21:50:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:50:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 21:50:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":37,"data_length":795,"current_offset":136} 
[2026-04-17 21:50:01] 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-04-17 21:50:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:50:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:50:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:50:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:50:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:50:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:50:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:50:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:50:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:50:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769338368001,"66":27463,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622985937076742144},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:50:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:50:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:50:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769338368001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:50:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:50:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:50:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:50:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622985937076742144,"description":"Unknown IO ID 45"} 
[2026-04-17 21:50:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769338368001,"power":27463,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622985937076742144}} 
[2026-04-17 21:50:01] local.INFO: DEBUG: GPS processor result {"connection_id":46140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23251,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:50:01] local.INFO: GPS data processed {"connection_id":46140,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:50:01] local.INFO: Acknowledgment sent {"connection_id":46140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:50:05] local.INFO: TCP Data received {"connection_id":46991,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:50:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46991,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:50:05] local.INFO: Processing buffer {"connection_id":46991,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:50:05] local.INFO: Packet analysis {"connection_id":46991,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:50:05] local.INFO: Extracted packet for processing {"connection_id":46991,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:50:05] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:50:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769236992001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:50:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:50:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21: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-04-17 21:50:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776442633000,"timestamp_ms":1776442633000,"timestamp_seconds":1776442633,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3b6b28"} 
[2026-04-17 21:50:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:50: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-04-17 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:50: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-04-17 21: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-04-17 21:50:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:50:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:50:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46991,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:50:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:50:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46991,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:50:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:50:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:50:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:50:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769236992001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:50:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:50:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:50:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769236992001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:50:05] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:50:05] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:50:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:50:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:50:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769236992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:50:05] local.INFO: DEBUG: GPS processor result {"connection_id":46991,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23252,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:50:05] local.INFO: GPS data processed {"connection_id":46991,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:50:05] local.INFO: Acknowledgment sent {"connection_id":46991,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:50:21] local.INFO: TCP Data received {"connection_id":46485,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:50:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:50:21] local.INFO: Processing buffer {"connection_id":46485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:50:21] local.INFO: IMEI packet received {"connection_id":46485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:50:21] local.INFO: IMEI acknowledgment sent {"connection_id":46485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:50:26] local.INFO: TCP Data received {"connection_id":46485,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46485,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:50:26] local.INFO: Processing buffer {"connection_id":46485,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:50:26] local.INFO: IMEI packet received {"connection_id":46485,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":46485,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:50:27] local.INFO: TCP Data received {"connection_id":46485,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:50:27] local.INFO: Processing buffer {"connection_id":46485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:50:27] local.INFO: Packet analysis {"connection_id":46485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:50:27] local.INFO: Extracted packet for processing {"connection_id":46485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:50:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769236992001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:50: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-04-17 21:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442633000,"timestamp_ms":1776442633000,"timestamp_seconds":1776442633,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3b6b28"} 
[2026-04-17 21:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:50:27] 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-04-17 21:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:50: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-04-17 21:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769236992001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769236992001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:50:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:50:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769236992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":46485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23253,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:50:27] local.INFO: GPS data processed {"connection_id":46485,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:50:27] local.INFO: Acknowledgment sent {"connection_id":46485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:50:31] local.INFO: TCP Data received {"connection_id":46140,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3d43d0012d77aa4005f2a718001200e92b..."} 
[2026-04-17 21:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46140,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3d43d0012d77aa4005f2a718001200e92b..."} 
[2026-04-17 21:50:31] local.INFO: Processing buffer {"connection_id":46140,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3d43d0012d77aa4005f2a718001200e92b..."} 
[2026-04-17 21:50:31] local.INFO: Packet analysis {"connection_id":46140,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:50:31] local.INFO: Extracted packet for processing {"connection_id":46140,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:50:31] local.INFO: GPS Element Parsed {"raw_longitude":762817088,"raw_latitude":99788568,"longitude_deg":76.2817088,"latitude_deg":9.9788568,"altitude":18,"angle":233,"satellites":43,"speed":0,"hex_longitude":"2d77aa40","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-04-17 21:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:50:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769339648001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:50:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:50:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830844286976,"note":"Value kept but may cause issues"} 
[2026-04-17 21:50:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:50:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776442754000,"timestamp_ms":1776442754000,"timestamp_seconds":1776442754,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3d43d0"} 
[2026-04-17 21:50:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:50:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 21:50:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 21:50: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-04-17 21:50:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:50:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:50:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:50:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46140,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:50:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:50:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46140,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:50:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:50:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:50:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:50:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769339648001,"66":27800,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622774830844286976},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:50:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:50:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:50:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769339648001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:50:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:50:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:50:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:50:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830844286976,"description":"Unknown IO ID 45"} 
[2026-04-17 21:50:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769339648001,"power":27800,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622774830844286976}} 
[2026-04-17 21:50:31] local.INFO: DEBUG: GPS processor result {"connection_id":46140,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23254,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:50:31] local.INFO: GPS data processed {"connection_id":46140,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:50:31] local.INFO: Acknowledgment sent {"connection_id":46140,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:50:48] local.INFO: TCP Data received {"connection_id":46486,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:50:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:50:48] local.INFO: Processing buffer {"connection_id":46486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:50:48] local.INFO: IMEI packet received {"connection_id":46486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:50:48] local.INFO: IMEI acknowledgment sent {"connection_id":46486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:50:49] local.INFO: TCP Data received {"connection_id":46486,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:50:49] local.INFO: Processing buffer {"connection_id":46486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:50:49] local.INFO: IMEI packet received {"connection_id":46486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":46486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:50:55] local.INFO: TCP Data received {"connection_id":46486,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46486,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:50:55] local.INFO: Processing buffer {"connection_id":46486,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:50:55] local.INFO: IMEI packet received {"connection_id":46486,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":46486,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:50:56] local.INFO: TCP Data received {"connection_id":46486,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3d95d8012d77aa4005f2a718001200e92c..."} 
[2026-04-17 21:50:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3d95d8012d77aa4005f2a718001200e92c..."} 
[2026-04-17 21:50:56] local.INFO: Processing buffer {"connection_id":46486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3d95d8012d77aa4005f2a718001200e92c..."} 
[2026-04-17 21:50:56] local.INFO: Packet analysis {"connection_id":46486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:50:56] local.INFO: Extracted packet for processing {"connection_id":46486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:50:56] local.INFO: GPS Element Parsed {"raw_longitude":762817088,"raw_latitude":99788568,"longitude_deg":76.2817088,"latitude_deg":9.9788568,"altitude":18,"angle":233,"satellites":44,"speed":0,"hex_longitude":"2d77aa40","hex_latitude":"05f2a718","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:50:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769345024001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:50:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315128789270528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:50:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830844286976,"note":"Value kept but may cause issues"} 
[2026-04-17 21:50:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:50:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776442775000,"timestamp_ms":1776442775000,"timestamp_seconds":1776442775,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3d95d8"} 
[2026-04-17 21:50:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:50:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 21: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":108,"n8_eight_byte":152,"data_length":795,"current_offset":136} 
[2026-04-17 21:50:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2106,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:50:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:50:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:50:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:50:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:50:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:50:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:50:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:50:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:50:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769345024001,"66":27745,"133":206,"9":24832,"24":0,"16":274315128789270528,"45":8622774830844286976},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:50:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:50:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:50:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769345024001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:50:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:50:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:50:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315128789270528,"km_value":274315128789270.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:50:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830844286976,"description":"Unknown IO ID 45"} 
[2026-04-17 21:50:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769345024001,"power":27745,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8622774830844286976}} 
[2026-04-17 21:50:56] local.INFO: DEBUG: GPS processor result {"connection_id":46486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23255,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:50:56] local.INFO: GPS data processed {"connection_id":46486,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:50:56] local.INFO: Acknowledgment sent {"connection_id":46486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:50:59] local.INFO: TCP Data received {"connection_id":46485,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:50:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46485,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:50:59] local.INFO: Processing buffer {"connection_id":46485,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:50:59] local.INFO: Packet analysis {"connection_id":46485,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:50:59] local.INFO: Extracted packet for processing {"connection_id":46485,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:50:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:50:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769236992001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:50:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:50:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21: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-04-17 21:50:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776442633000,"timestamp_ms":1776442633000,"timestamp_seconds":1776442633,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3b6b28"} 
[2026-04-17 21:50:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:50:59] 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-04-17 21:50:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:50: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-04-17 21: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-04-17 21:50:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:50:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:50:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46485,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:50:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:50:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46485,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:50:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:50:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:50:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:50:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769236992001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:50:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:50:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:50:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769236992001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:50:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:50:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:50:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:50:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:50:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769236992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:50:59] local.INFO: DEBUG: GPS processor result {"connection_id":46485,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23256,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:50:59] local.INFO: GPS data processed {"connection_id":46485,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:50:59] local.INFO: Acknowledgment sent {"connection_id":46485,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:51:21] local.INFO: TCP Data received {"connection_id":46142,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:51:21] local.INFO: Processing buffer {"connection_id":46142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:51:21] local.INFO: IMEI packet received {"connection_id":46142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":46142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:51:26] local.INFO: TCP Data received {"connection_id":46142,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46142,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:51:26] local.INFO: Processing buffer {"connection_id":46142,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:51:26] local.INFO: IMEI packet received {"connection_id":46142,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":46142,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:51:27] local.INFO: TCP Data received {"connection_id":46486,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3dc8a0012d77a80005f2a5e0001400fb2d..."} 
[2026-04-17 21:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46486,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3dc8a0012d77a80005f2a5e0001400fb2d..."} 
[2026-04-17 21:51:27] local.INFO: Processing buffer {"connection_id":46486,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3dc8a0012d77a80005f2a5e0001400fb2d..."} 
[2026-04-17 21:51:27] local.INFO: Packet analysis {"connection_id":46486,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:51:27] local.INFO: Extracted packet for processing {"connection_id":46486,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:51:27] local.INFO: GPS Element Parsed {"raw_longitude":762816512,"raw_latitude":99788256,"longitude_deg":76.2816512,"latitude_deg":9.9788256,"altitude":20,"angle":251,"satellites":45,"speed":1,"hex_longitude":"2d77a800","hex_latitude":"05f2a5e0","is_valid_coordinates":true} 
[2026-04-17 21:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769350400001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315158854041600,"note":"Value kept but may cause issues"} 
[2026-04-17 21:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622774830844286976,"note":"Value kept but may cause issues"} 
[2026-04-17 21:51:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442788000,"timestamp_ms":1776442788000,"timestamp_seconds":1776442788,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3dc8a0"} 
[2026-04-17 21:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:51: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-04-17 21:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":97,"data_length":795,"current_offset":136} 
[2026-04-17 21:51:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1611,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46486,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46486,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769350400001,"66":27604,"133":206,"9":24832,"24":1,"16":274315158854041600,"45":8622774830844286976},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769350400001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:51:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:51:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315158854041600,"km_value":274315158854041.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622774830844286976,"description":"Unknown IO ID 45"} 
[2026-04-17 21:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769350400001,"power":27604,"unknown_133":206,"unknown_9":24832,"ignition":1,"odometer":null,"unknown_45":8622774830844286976}} 
[2026-04-17 21:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":46486,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23257,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:51:27] local.INFO: GPS data processed {"connection_id":46486,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:51:27] local.INFO: Acknowledgment sent {"connection_id":46486,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:51:28] local.INFO: TCP Data received {"connection_id":46142,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:51:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:51:28] local.INFO: Processing buffer {"connection_id":46142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:51:28] local.INFO: Packet analysis {"connection_id":46142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:51:28] local.INFO: Extracted packet for processing {"connection_id":46142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:51:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:51:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769236992001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:51:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:51:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:51: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-04-17 21:51:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776442633000,"timestamp_ms":1776442633000,"timestamp_seconds":1776442633,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3b6b28"} 
[2026-04-17 21:51:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:51:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:51:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:51: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-04-17 21: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-04-17 21:51:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:51:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:51:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:51:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:51:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:51:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:51:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:51:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:51:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769236992001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:51:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:51:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:51:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769236992001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:51:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:51:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:51:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:51:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:51:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769236992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:51:28] local.INFO: DEBUG: GPS processor result {"connection_id":46142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23258,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:51:28] local.INFO: GPS data processed {"connection_id":46142,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:51:28] local.INFO: Acknowledgment sent {"connection_id":46142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:51:49] local.INFO: TCP Data received {"connection_id":46992,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:51:49] local.INFO: Processing buffer {"connection_id":46992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:51:49] local.INFO: IMEI packet received {"connection_id":46992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":46992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:51:54] local.INFO: TCP Data received {"connection_id":46992,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46992,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:51:54] local.INFO: Processing buffer {"connection_id":46992,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:51:54] local.INFO: IMEI packet received {"connection_id":46992,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":46992,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:51:55] local.INFO: TCP Data received {"connection_id":46992,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3dd458012d77a70005f2a5b80013010c2e..."} 
[2026-04-17 21:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3dd458012d77a70005f2a5b80013010c2e..."} 
[2026-04-17 21:51:55] local.INFO: Processing buffer {"connection_id":46992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3dd458012d77a70005f2a5b80013010c2e..."} 
[2026-04-17 21:51:55] local.INFO: Packet analysis {"connection_id":46992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:51:55] local.INFO: Extracted packet for processing {"connection_id":46992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:51:55] local.INFO: GPS Element Parsed {"raw_longitude":762816256,"raw_latitude":99788216,"longitude_deg":76.2816256,"latitude_deg":9.9788216,"altitude":19,"angle":268,"satellites":46,"speed":3,"hex_longitude":"2d77a700","hex_latitude":"05f2a5b8","is_valid_coordinates":true} 
[2026-04-17 21:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769353728001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315171738943488,"note":"Value kept but may cause issues"} 
[2026-04-17 21:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8622141512146608128,"note":"Value kept but may cause issues"} 
[2026-04-17 21:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776442791000,"timestamp_ms":1776442791000,"timestamp_seconds":1776442791,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3dd458"} 
[2026-04-17 21:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 21:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-17 21:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769353728001,"66":27713,"133":206,"9":24832,"24":3,"16":274315171738943488,"45":8622141512146608128},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769353728001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:51:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:51:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315171738943488,"km_value":274315171738943.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8622141512146608128,"description":"Unknown IO ID 45"} 
[2026-04-17 21:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769353728001,"power":27713,"unknown_133":206,"unknown_9":24832,"ignition":3,"odometer":null,"unknown_45":8622141512146608128}} 
[2026-04-17 21:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":46992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23259,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:51:55] local.INFO: GPS data processed {"connection_id":46992,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:51:55] local.INFO: Acknowledgment sent {"connection_id":46992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:52:00] local.INFO: TCP Data received {"connection_id":46142,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:52:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46142,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:52:00] local.INFO: Processing buffer {"connection_id":46142,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:52:00] local.INFO: Packet analysis {"connection_id":46142,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:52:00] local.INFO: Extracted packet for processing {"connection_id":46142,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:52:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:52:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769236992001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:52:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:52:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:52: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-04-17 21:52:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776442633000,"timestamp_ms":1776442633000,"timestamp_seconds":1776442633,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3b6b28"} 
[2026-04-17 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-04-17 21:52:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:52: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-04-17 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-04-17 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-04-17 21:52:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:52:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46142,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:52:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:52:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46142,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:52:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:52:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:52:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:52:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769236992001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:52:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:52:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:52:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769236992001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:52:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:52:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:52:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:52:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:52:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769236992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:52:00] local.INFO: DEBUG: GPS processor result {"connection_id":46142,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23260,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:52:00] local.INFO: GPS data processed {"connection_id":46142,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:52:00] local.INFO: Acknowledgment sent {"connection_id":46142,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:52:21] local.INFO: TCP Data received {"connection_id":46487,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:52:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:52:21] local.INFO: Processing buffer {"connection_id":46487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:52:21] local.INFO: IMEI packet received {"connection_id":46487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:52:21] local.INFO: IMEI acknowledgment sent {"connection_id":46487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:52:26] local.INFO: TCP Data received {"connection_id":46487,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46487,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:52:26] local.INFO: Processing buffer {"connection_id":46487,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:52:26] local.INFO: IMEI packet received {"connection_id":46487,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":46487,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:52:27] local.INFO: TCP Data received {"connection_id":46992,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3dd840012d77a6c005f2a5a0001301002e..."} 
[2026-04-17 21:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46992,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3dd840012d77a6c005f2a5a0001301002e..."} 
[2026-04-17 21:52:27] local.INFO: Processing buffer {"connection_id":46992,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3dd840012d77a6c005f2a5a0001301002e..."} 
[2026-04-17 21:52:27] local.INFO: Packet analysis {"connection_id":46992,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:52:27] local.INFO: Extracted packet for processing {"connection_id":46992,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:52:27] local.INFO: GPS Element Parsed {"raw_longitude":762816192,"raw_latitude":99788192,"longitude_deg":76.2816192,"latitude_deg":9.9788192,"altitude":19,"angle":256,"satellites":46,"speed":3,"hex_longitude":"2d77a6c0","hex_latitude":"05f2a5a0","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769354496001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315176033910784,"note":"Value kept but may cause issues"} 
[2026-04-17 21:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621860037169887232,"note":"Value kept but may cause issues"} 
[2026-04-17 21:52:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442792000,"timestamp_ms":1776442792000,"timestamp_seconds":1776442792,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3dd840"} 
[2026-04-17 21:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:52: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-04-17 21:52:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-04-17 21:52:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1323,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46992,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46992,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769354496001,"66":27713,"133":206,"9":24832,"24":3,"16":274315176033910784,"45":8621860037169887232},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769354496001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:52:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:52:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315176033910784,"km_value":274315176033910.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621860037169887232,"description":"Unknown IO ID 45"} 
[2026-04-17 21:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769354496001,"power":27713,"unknown_133":206,"unknown_9":24832,"ignition":3,"odometer":null,"unknown_45":8621860037169887232}} 
[2026-04-17 21:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":46992,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23261,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:52:27] local.INFO: GPS data processed {"connection_id":46992,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:52:27] local.INFO: Acknowledgment sent {"connection_id":46992,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:52:27] local.INFO: TCP Data received {"connection_id":46487,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:52:27] local.INFO: Processing buffer {"connection_id":46487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3b6b28012d196500071ff0900048013b2b..."} 
[2026-04-17 21:52:27] local.INFO: Packet analysis {"connection_id":46487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:52:27] local.INFO: Extracted packet for processing {"connection_id":46487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3b"} 
[2026-04-17 21:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769236992001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21: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-04-17 21:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442633000,"timestamp_ms":1776442633000,"timestamp_seconds":1776442633,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3b6b28"} 
[2026-04-17 21:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:52:27] 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-04-17 21: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:52: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-04-17 21: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-04-17 21:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769236992001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769236992001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:52:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:52:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769236992001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":46487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23262,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:52:27] local.INFO: GPS data processed {"connection_id":46487,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:52:27] local.INFO: Acknowledgment sent {"connection_id":46487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:52:49] local.INFO: TCP Data received {"connection_id":46143,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:52:49] local.INFO: Processing buffer {"connection_id":46143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:52:49] local.INFO: IMEI packet received {"connection_id":46143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":46143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:52:55] local.INFO: TCP Data received {"connection_id":46143,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46143,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:52:55] local.INFO: Processing buffer {"connection_id":46143,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:52:55] local.INFO: IMEI packet received {"connection_id":46143,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":46143,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:52:56] local.INFO: TCP Data received {"connection_id":46143,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3ddc28012d77a64005f2a5800013010b2e..."} 
[2026-04-17 21:52:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3ddc28012d77a64005f2a5800013010b2e..."} 
[2026-04-17 21:52:56] local.INFO: Processing buffer {"connection_id":46143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3ddc28012d77a64005f2a5800013010b2e..."} 
[2026-04-17 21:52:56] local.INFO: Packet analysis {"connection_id":46143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:52:56] local.INFO: Extracted packet for processing {"connection_id":46143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:52:56] local.INFO: GPS Element Parsed {"raw_longitude":762816064,"raw_latitude":99788160,"longitude_deg":76.2816064,"latitude_deg":9.978816,"altitude":19,"angle":267,"satellites":46,"speed":3,"hex_longitude":"2d77a640","hex_latitude":"05f2a580","is_valid_coordinates":true} 
[2026-04-17 21:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:52:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769354752001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:52:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315180328878080,"note":"Value kept but may cause issues"} 
[2026-04-17 21:52:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621789668425703424,"note":"Value kept but may cause issues"} 
[2026-04-17 21:52:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:52:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776442793000,"timestamp_ms":1776442793000,"timestamp_seconds":1776442793,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3ddc28"} 
[2026-04-17 21:52:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:52:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 21:52:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":65,"data_length":795,"current_offset":136} 
[2026-04-17 21:52:56] 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-04-17 21:52:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:52:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:52:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:52:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:52:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:52:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:52:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:52:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769354752001,"66":27908,"133":206,"9":24832,"24":3,"16":274315180328878080,"45":8621789668425703424},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769354752001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:52:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:52:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315180328878080,"km_value":274315180328878.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621789668425703424,"description":"Unknown IO ID 45"} 
[2026-04-17 21:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769354752001,"power":27908,"unknown_133":206,"unknown_9":24832,"ignition":3,"odometer":null,"unknown_45":8621789668425703424}} 
[2026-04-17 21:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":46143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23263,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:52:56] local.INFO: GPS data processed {"connection_id":46143,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:52:56] local.INFO: Acknowledgment sent {"connection_id":46143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:52:59] local.INFO: TCP Data received {"connection_id":46487,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46487,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:52:59] local.INFO: Processing buffer {"connection_id":46487,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:52:59] local.INFO: Packet analysis {"connection_id":46487,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:52:59] local.INFO: Extracted packet for processing {"connection_id":46487,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:52:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769314048001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:52: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-04-17 21:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776442934000,"timestamp_ms":1776442934000,"timestamp_seconds":1776442934,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4002f0"} 
[2026-04-17 21:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:52: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-04-17 21:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:52: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-04-17 21:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46487,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46487,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769314048001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769314048001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:52:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:52:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769314048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":46487,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23264,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:52:59] local.INFO: GPS data processed {"connection_id":46487,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:52:59] local.INFO: Acknowledgment sent {"connection_id":46487,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:53:18] local.INFO: TCP Data received {"connection_id":46488,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:53:18] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46488,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:53:18] local.INFO: Processing buffer {"connection_id":46488,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:53:18] local.INFO: IMEI packet received {"connection_id":46488,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:53:18] local.INFO: IMEI acknowledgment sent {"connection_id":46488,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:53:26] local.INFO: TCP Data received {"connection_id":46489,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:53:26] local.INFO: Processing buffer {"connection_id":46489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:53:26] local.INFO: IMEI packet received {"connection_id":46489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":46489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:53:27] local.INFO: TCP Data received {"connection_id":46143,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3de010012d77a5c005f2a578001301182f..."} 
[2026-04-17 21:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46143,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3de010012d77a5c005f2a578001301182f..."} 
[2026-04-17 21:53:27] local.INFO: Processing buffer {"connection_id":46143,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3de010012d77a5c005f2a578001301182f..."} 
[2026-04-17 21:53:27] local.INFO: Packet analysis {"connection_id":46143,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:53:27] local.INFO: Extracted packet for processing {"connection_id":46143,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:53:27] local.INFO: GPS Element Parsed {"raw_longitude":762815936,"raw_latitude":99788152,"longitude_deg":76.2815936,"latitude_deg":9.9788152,"altitude":19,"angle":280,"satellites":47,"speed":5,"hex_longitude":"2d77a5c0","hex_latitude":"05f2a578","is_valid_coordinates":true} 
[2026-04-17 21:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769355008001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315188918812672,"note":"Value kept but may cause issues"} 
[2026-04-17 21:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621648930937339904,"note":"Value kept but may cause issues"} 
[2026-04-17 21:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442794000,"timestamp_ms":1776442794000,"timestamp_seconds":1776442794,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3de010"} 
[2026-04-17 21:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:53: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-04-17 21:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 21:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46143,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46143,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769355008001,"66":27908,"133":206,"9":24832,"24":5,"16":274315188918812672,"45":8621648930937339904},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769355008001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:53:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:53:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315188918812672,"km_value":274315188918812.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621648930937339904,"description":"Unknown IO ID 45"} 
[2026-04-17 21:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769355008001,"power":27908,"unknown_133":206,"unknown_9":24832,"ignition":5,"odometer":null,"unknown_45":8621648930937339904}} 
[2026-04-17 21:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":46143,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23265,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:53:27] local.INFO: GPS data processed {"connection_id":46143,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:53:27] local.INFO: Acknowledgment sent {"connection_id":46143,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:53:31] local.INFO: TCP Data received {"connection_id":46489,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46489,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:53:31] local.INFO: Processing buffer {"connection_id":46489,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:53:31] local.INFO: IMEI packet received {"connection_id":46489,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:53:31] local.INFO: IMEI acknowledgment sent {"connection_id":46489,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:53:32] local.INFO: TCP Data received {"connection_id":46489,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:53:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:53:32] local.INFO: Processing buffer {"connection_id":46489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:53:32] local.INFO: Packet analysis {"connection_id":46489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:53:32] local.INFO: Extracted packet for processing {"connection_id":46489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:53:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:53:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769314048001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:53:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:53:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:53:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:53:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776442934000,"timestamp_ms":1776442934000,"timestamp_seconds":1776442934,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4002f0"} 
[2026-04-17 21:53:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:53:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:53:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:53:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:53:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:53:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:53:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:53:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:53:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:53:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:53:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:53:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:53:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:53:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769314048001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:53:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:53:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:53:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769314048001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:53:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:53:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:53:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:53:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:53:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769314048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:53:32] local.INFO: DEBUG: GPS processor result {"connection_id":46489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23266,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:53:32] local.INFO: GPS data processed {"connection_id":46489,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:53:32] local.INFO: Acknowledgment sent {"connection_id":46489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:53:37] local.INFO: TCP Data received {"connection_id":46489,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:53:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46489,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:53:37] local.INFO: Processing buffer {"connection_id":46489,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:53:37] local.INFO: Packet analysis {"connection_id":46489,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:53:37] local.INFO: Extracted packet for processing {"connection_id":46489,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:53:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:53:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769314048001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:53:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:53:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:53: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-04-17 21:53:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776442934000,"timestamp_ms":1776442934000,"timestamp_seconds":1776442934,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4002f0"} 
[2026-04-17 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-04-17 21:53: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-04-17 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":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:53:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 21:53:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:53:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46489,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:53:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:53:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46489,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:53:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:53:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:53:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:53:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769314048001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:53:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:53:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:53:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769314048001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:53:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:53:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:53:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:53:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:53:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769314048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:53:37] local.INFO: DEBUG: GPS processor result {"connection_id":46489,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23267,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:53:37] local.INFO: GPS data processed {"connection_id":46489,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:53:37] local.INFO: Acknowledgment sent {"connection_id":46489,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:53:49] local.INFO: TCP Data received {"connection_id":46993,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:53:49] local.INFO: Processing buffer {"connection_id":46993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:53:49] local.INFO: IMEI packet received {"connection_id":46993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":46993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:53:55] local.INFO: TCP Data received {"connection_id":46993,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46993,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:53:55] local.INFO: Processing buffer {"connection_id":46993,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:53:55] local.INFO: IMEI packet received {"connection_id":46993,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":46993,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:53:56] local.INFO: TCP Data received {"connection_id":46993,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3debc8012d77a44005f2a580001401042e..."} 
[2026-04-17 21:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3debc8012d77a44005f2a580001401042e..."} 
[2026-04-17 21:53:56] local.INFO: Processing buffer {"connection_id":46993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3debc8012d77a44005f2a580001401042e..."} 
[2026-04-17 21:53:56] local.INFO: Packet analysis {"connection_id":46993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:53:56] local.INFO: Extracted packet for processing {"connection_id":46993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:53:56] local.INFO: GPS Element Parsed {"raw_longitude":762815552,"raw_latitude":99788160,"longitude_deg":76.2815552,"latitude_deg":9.978816,"altitude":20,"angle":260,"satellites":46,"speed":3,"hex_longitude":"2d77a440","hex_latitude":"05f2a580","is_valid_coordinates":true} 
[2026-04-17 21:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769355264001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315206098681856,"note":"Value kept but may cause issues"} 
[2026-04-17 21:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621508193448982528,"note":"Value kept but may cause issues"} 
[2026-04-17 21:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776442797000,"timestamp_ms":1776442797000,"timestamp_seconds":1776442797,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3debc8"} 
[2026-04-17 21:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 21:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 21:53: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-04-17 21:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769355264001,"66":27908,"133":206,"9":24832,"24":3,"16":274315206098681856,"45":8621508193448982528},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769355264001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:53:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:53:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315206098681856,"km_value":274315206098681.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621508193448982528,"description":"Unknown IO ID 45"} 
[2026-04-17 21:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769355264001,"power":27908,"unknown_133":206,"unknown_9":24832,"ignition":3,"odometer":null,"unknown_45":8621508193448982528}} 
[2026-04-17 21:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":46993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23268,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:53:56] local.INFO: GPS data processed {"connection_id":46993,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:53:56] local.INFO: Acknowledgment sent {"connection_id":46993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:54:08] local.INFO: TCP Data received {"connection_id":46144,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:54:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46144,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:54:08] local.INFO: Processing buffer {"connection_id":46144,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:54:08] local.INFO: IMEI packet received {"connection_id":46144,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:54:08] local.INFO: IMEI acknowledgment sent {"connection_id":46144,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:54:21] local.INFO: TCP Data received {"connection_id":46145,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:54:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:54:21] local.INFO: Processing buffer {"connection_id":46145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:54:21] local.INFO: IMEI packet received {"connection_id":46145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:54:21] local.INFO: IMEI acknowledgment sent {"connection_id":46145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:54:26] local.INFO: TCP Data received {"connection_id":46145,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46145,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:54:26] local.INFO: Processing buffer {"connection_id":46145,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:54:26] local.INFO: IMEI packet received {"connection_id":46145,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":46145,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:54:27] local.INFO: TCP Data received {"connection_id":46993,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3df398012d77a3c005f2a570001400f52d..."} 
[2026-04-17 21:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46993,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3df398012d77a3c005f2a570001400f52d..."} 
[2026-04-17 21:54:27] local.INFO: Processing buffer {"connection_id":46993,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3df398012d77a3c005f2a570001400f52d..."} 
[2026-04-17 21:54:27] local.INFO: Packet analysis {"connection_id":46993,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:54:27] local.INFO: Extracted packet for processing {"connection_id":46993,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:54:27] local.INFO: GPS Element Parsed {"raw_longitude":762815424,"raw_latitude":99788144,"longitude_deg":76.2815424,"latitude_deg":9.9788144,"altitude":20,"angle":245,"satellites":45,"speed":2,"hex_longitude":"2d77a3c0","hex_latitude":"05f2a570","is_valid_coordinates":true} 
[2026-04-17 21:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769356032001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315214688616448,"note":"Value kept but may cause issues"} 
[2026-04-17 21:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8621085980983918592,"note":"Value kept but may cause issues"} 
[2026-04-17 21:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442799000,"timestamp_ms":1776442799000,"timestamp_seconds":1776442799,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3df398"} 
[2026-04-17 21:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:54: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-04-17 21:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 21:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46993,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46993,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769356032001,"66":27843,"133":206,"9":24832,"24":2,"16":274315214688616448,"45":8621085980983918592},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769356032001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:54:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:54:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315214688616448,"km_value":274315214688616.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8621085980983918592,"description":"Unknown IO ID 45"} 
[2026-04-17 21:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769356032001,"power":27843,"unknown_133":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8621085980983918592}} 
[2026-04-17 21:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":46993,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23269,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:54:27] local.INFO: GPS data processed {"connection_id":46993,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:54:27] local.INFO: Acknowledgment sent {"connection_id":46993,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:54:27] local.INFO: TCP Data received {"connection_id":46145,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:54:27] local.INFO: Processing buffer {"connection_id":46145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:54:27] local.INFO: Packet analysis {"connection_id":46145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:54:27] local.INFO: Extracted packet for processing {"connection_id":46145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:54:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769314048001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:54: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-04-17 21:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442934000,"timestamp_ms":1776442934000,"timestamp_seconds":1776442934,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4002f0"} 
[2026-04-17 21:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:54: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-04-17 21:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:54: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-04-17 21:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769314048001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769314048001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:54:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:54:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769314048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:54:28] local.INFO: DEBUG: GPS processor result {"connection_id":46145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23270,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:54:28] local.INFO: GPS data processed {"connection_id":46145,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:54:28] local.INFO: Acknowledgment sent {"connection_id":46145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:54:55] local.INFO: TCP Data received {"connection_id":46994,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:54:55] local.INFO: Processing buffer {"connection_id":46994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:54:55] local.INFO: IMEI packet received {"connection_id":46994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":46994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:54:59] local.INFO: TCP Data received {"connection_id":46145,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:54:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46145,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:54:59] local.INFO: Processing buffer {"connection_id":46145,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:54:59] local.INFO: Packet analysis {"connection_id":46145,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:54:59] local.INFO: Extracted packet for processing {"connection_id":46145,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:54:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:54:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769314048001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:54:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:54:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:54: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-04-17 21:54:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776442934000,"timestamp_ms":1776442934000,"timestamp_seconds":1776442934,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4002f0"} 
[2026-04-17 21:54:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:54: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-04-17 21:54:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:54: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-04-17 21: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-04-17 21:54:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:54:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:54:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46145,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:54:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:54:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46145,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:54:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:54:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:54:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:54:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769314048001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:54:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:54:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:54:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769314048001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:54:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:54:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:54:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:54:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:54:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769314048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:54:59] local.INFO: DEBUG: GPS processor result {"connection_id":46145,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23271,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:54:59] local.INFO: GPS data processed {"connection_id":46145,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:54:59] local.INFO: Acknowledgment sent {"connection_id":46145,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:55:00] local.INFO: TCP Data received {"connection_id":46994,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:55:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46994,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:55:00] local.INFO: Processing buffer {"connection_id":46994,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:55:00] local.INFO: IMEI packet received {"connection_id":46994,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:55:00] local.INFO: IMEI acknowledgment sent {"connection_id":46994,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:55:01] local.INFO: TCP Data received {"connection_id":46994,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3dfb68012d77a30005f2a570001501042f..."} 
[2026-04-17 21:55:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3dfb68012d77a30005f2a570001501042f..."} 
[2026-04-17 21:55:01] local.INFO: Processing buffer {"connection_id":46994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3dfb68012d77a30005f2a570001501042f..."} 
[2026-04-17 21:55:01] local.INFO: Packet analysis {"connection_id":46994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:55:01] local.INFO: Extracted packet for processing {"connection_id":46994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3d"} 
[2026-04-17 21:55:01] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99788144,"longitude_deg":76.2815232,"latitude_deg":9.9788144,"altitude":21,"angle":260,"satellites":47,"speed":2,"hex_longitude":"2d77a300","hex_latitude":"05f2a570","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:55:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769356544001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:55:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315223278551040,"note":"Value kept but may cause issues"} 
[2026-04-17 21:55:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620945243495559168,"note":"Value kept but may cause issues"} 
[2026-04-17 21:55:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:55:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776442801000,"timestamp_ms":1776442801000,"timestamp_seconds":1776442801,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3dfb68"} 
[2026-04-17 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-04-17 21:55:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":108,"n8_eight_byte":195,"data_length":795,"current_offset":136} 
[2026-04-17 21: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-04-17 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-04-17 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-04-17 21:55:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:55:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:55:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:55:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:55:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:55:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:55:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:55:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769356544001,"66":27908,"133":206,"9":24832,"24":2,"16":274315223278551040,"45":8620945243495559168},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:55:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:55:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:55:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769356544001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:55:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:55:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:55:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315223278551040,"km_value":274315223278551.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:55:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620945243495559168,"description":"Unknown IO ID 45"} 
[2026-04-17 21:55:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769356544001,"power":27908,"unknown_133":206,"unknown_9":24832,"ignition":2,"odometer":null,"unknown_45":8620945243495559168}} 
[2026-04-17 21:55:01] local.INFO: DEBUG: GPS processor result {"connection_id":46994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23272,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:55:01] local.INFO: GPS data processed {"connection_id":46994,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:55:01] local.INFO: Acknowledgment sent {"connection_id":46994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:55:05] local.INFO: TCP Data received {"connection_id":46994,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c3e1e90012d77a18005f2a590001601052f..."} 
[2026-04-17 21:55:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46994,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c3e1e90012d77a18005f2a590001601052f..."} 
[2026-04-17 21:55:05] local.INFO: Processing buffer {"connection_id":46994,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c3e1e90012d77a18005f2a590001601052f..."} 
[2026-04-17 21:55:05] local.INFO: Packet analysis {"connection_id":46994,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c3e"} 
[2026-04-17 21:55:05] local.INFO: Extracted packet for processing {"connection_id":46994,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c3e"} 
[2026-04-17 21:55:05] local.INFO: GPS Element Parsed {"raw_longitude":762814848,"raw_latitude":99788176,"longitude_deg":76.2814848,"latitude_deg":9.9788176,"altitude":22,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d77a180","hex_latitude":"05f2a590","is_valid_coordinates":true} 
[2026-04-17 21:55: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-04-17 21:55:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769357056001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:55:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 21:55:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137263026176,"note":"Value kept but may cause issues"} 
[2026-04-17 21:55:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:55:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776442810000,"timestamp_ms":1776442810000,"timestamp_seconds":1776442810,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c3e1e90"} 
[2026-04-17 21:55:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:55: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-04-17 21: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":109,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 21:55:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":779,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:55:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:55:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:55:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46994,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:55:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:55:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46994,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:55:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:55:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:55:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:55:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769357056001,"66":27876,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137263026176},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:55:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:55:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:55:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769357056001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:55:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:55:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:55:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:55:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137263026176,"description":"Unknown IO ID 45"} 
[2026-04-17 21:55:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769357056001,"power":27876,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137263026176}} 
[2026-04-17 21:55:05] local.INFO: DEBUG: GPS processor result {"connection_id":46994,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23273,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:55:05] local.INFO: GPS data processed {"connection_id":46994,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:55:05] local.INFO: Acknowledgment sent {"connection_id":46994,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:55:21] local.INFO: TCP Data received {"connection_id":46995,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:55:21] local.INFO: Processing buffer {"connection_id":46995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:55:21] local.INFO: IMEI packet received {"connection_id":46995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":46995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:55:26] local.INFO: TCP Data received {"connection_id":46995,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46995,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:55:26] local.INFO: Processing buffer {"connection_id":46995,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:55:26] local.INFO: IMEI packet received {"connection_id":46995,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":46995,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:55:27] local.INFO: TCP Data received {"connection_id":46995,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:55:27] local.INFO: Processing buffer {"connection_id":46995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:55:27] local.INFO: Packet analysis {"connection_id":46995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:55:27] local.INFO: Extracted packet for processing {"connection_id":46995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:55:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769314048001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:55: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-04-17 21:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442934000,"timestamp_ms":1776442934000,"timestamp_seconds":1776442934,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4002f0"} 
[2026-04-17 21:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:55: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-04-17 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:55: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-04-17 21: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-04-17 21:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769314048001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769314048001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:55:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:55:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769314048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":46995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23274,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:55:27] local.INFO: GPS data processed {"connection_id":46995,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:55:27] local.INFO: Acknowledgment sent {"connection_id":46995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:55:50] local.INFO: TCP Data received {"connection_id":46491,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:55:50] local.INFO: Processing buffer {"connection_id":46491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:55:50] local.INFO: IMEI packet received {"connection_id":46491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":46491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:55:51] local.INFO: TCP Data received {"connection_id":46491,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:55:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:55:51] local.INFO: Processing buffer {"connection_id":46491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:55:51] local.INFO: IMEI packet received {"connection_id":46491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:55:51] local.INFO: IMEI acknowledgment sent {"connection_id":46491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:55:55] local.INFO: TCP Data received {"connection_id":46491,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46491,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:55:55] local.INFO: Processing buffer {"connection_id":46491,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:55:55] local.INFO: IMEI packet received {"connection_id":46491,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":46491,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:55:56] local.INFO: TCP Data received {"connection_id":46491,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:55:56] local.INFO: Processing buffer {"connection_id":46491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:55:56] local.INFO: Packet analysis {"connection_id":46491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:55:56] local.INFO: Extracted packet for processing {"connection_id":46491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:55:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:55:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769359360001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:55:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 21:55:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620311924797968384,"note":"Value kept but may cause issues"} 
[2026-04-17 21:55:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:55:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776443113000,"timestamp_ms":1776443113000,"timestamp_seconds":1776443113,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c42be28"} 
[2026-04-17 21:55:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:55:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 21:55:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:55:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:55:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:55:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:55:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:55:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:55:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:55:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:55:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:55:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769359360001,"66":25908,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620311924797968384},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:55:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:55:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:55:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769359360001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:55:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:55:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:55:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:55:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620311924797968384,"description":"Unknown IO ID 45"} 
[2026-04-17 21:55:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769359360001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620311924797968384}} 
[2026-04-17 21:55:56] local.INFO: DEBUG: GPS processor result {"connection_id":46491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23275,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:55:56] local.INFO: GPS data processed {"connection_id":46491,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:55:56] local.INFO: Acknowledgment sent {"connection_id":46491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:55:59] local.INFO: TCP Data received {"connection_id":46995,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46995,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:55:59] local.INFO: Processing buffer {"connection_id":46995,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:55:59] local.INFO: Packet analysis {"connection_id":46995,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:55:59] local.INFO: Extracted packet for processing {"connection_id":46995,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:55:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769314048001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:55: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-04-17 21:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776442934000,"timestamp_ms":1776442934000,"timestamp_seconds":1776442934,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4002f0"} 
[2026-04-17 21:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:55: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-04-17 21:55:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:55: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-04-17 21:55:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46995,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46995,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769314048001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769314048001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:55:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:55:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769314048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":46995,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23276,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:55:59] local.INFO: GPS data processed {"connection_id":46995,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:55:59] local.INFO: Acknowledgment sent {"connection_id":46995,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:56:00] local.INFO: TCP Data received {"connection_id":46491,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:56:00] local.INFO: Processing buffer {"connection_id":46491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:56:00] local.INFO: Packet analysis {"connection_id":46491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:56:00] local.INFO: Extracted packet for processing {"connection_id":46491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:56:00] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:56:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769359360001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:56:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 21:56:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620311924797968384,"note":"Value kept but may cause issues"} 
[2026-04-17 21:56:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:56:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776443113000,"timestamp_ms":1776443113000,"timestamp_seconds":1776443113,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c42be28"} 
[2026-04-17 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-04-17 21:56:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 21:56:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 21:56:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:56:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:56:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:56:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:56:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:56:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:56:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:56:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769359360001,"66":25908,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620311924797968384},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:56:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:56:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:56:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769359360001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:56:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:56:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:56:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:56:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620311924797968384,"description":"Unknown IO ID 45"} 
[2026-04-17 21:56:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769359360001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620311924797968384}} 
[2026-04-17 21:56:00] local.INFO: DEBUG: GPS processor result {"connection_id":46491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23277,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:56:00] local.INFO: GPS data processed {"connection_id":46491,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:56:00] local.INFO: Acknowledgment sent {"connection_id":46491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:56:21] local.INFO: TCP Data received {"connection_id":46996,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:56:21] local.INFO: Processing buffer {"connection_id":46996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:56:21] local.INFO: IMEI packet received {"connection_id":46996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":46996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:56:26] local.INFO: TCP Data received {"connection_id":46996,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46996,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:56:26] local.INFO: Processing buffer {"connection_id":46996,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:56:26] local.INFO: IMEI packet received {"connection_id":46996,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":46996,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:56:27] local.INFO: TCP Data received {"connection_id":46996,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:56:27] local.INFO: Processing buffer {"connection_id":46996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:56:27] local.INFO: Packet analysis {"connection_id":46996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:56:27] local.INFO: Extracted packet for processing {"connection_id":46996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:56:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769314048001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21: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-04-17 21:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776442934000,"timestamp_ms":1776442934000,"timestamp_seconds":1776442934,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4002f0"} 
[2026-04-17 21:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:56: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-04-17 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:56: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-04-17 21: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-04-17 21:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769314048001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769314048001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:56:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:56:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769314048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":46996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23278,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:56:27] local.INFO: GPS data processed {"connection_id":46996,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:56:27] local.INFO: Acknowledgment sent {"connection_id":46996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:56:31] local.INFO: TCP Data received {"connection_id":46491,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:56:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46491,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:56:31] local.INFO: Processing buffer {"connection_id":46491,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:56:31] local.INFO: Packet analysis {"connection_id":46491,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:56:31] local.INFO: Extracted packet for processing {"connection_id":46491,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:56:31] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 21:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:56:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769359360001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:56:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 21:56:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620311924797968384,"note":"Value kept but may cause issues"} 
[2026-04-17 21:56:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:56:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776443113000,"timestamp_ms":1776443113000,"timestamp_seconds":1776443113,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c42be28"} 
[2026-04-17 21:56:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:56:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:56:31] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 21:56: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-04-17 21:56:31] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:56:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:56:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:56:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46491,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:56:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:56:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46491,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:56:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:56:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:56:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:56:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769359360001,"66":25908,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620311924797968384},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:56:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:56:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:56:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769359360001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:56:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:56:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:56:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:56:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620311924797968384,"description":"Unknown IO ID 45"} 
[2026-04-17 21:56:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769359360001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620311924797968384}} 
[2026-04-17 21:56:31] local.INFO: DEBUG: GPS processor result {"connection_id":46491,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23279,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:56:31] local.INFO: GPS data processed {"connection_id":46491,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:56:31] local.INFO: Acknowledgment sent {"connection_id":46491,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:56:49] local.INFO: TCP Data received {"connection_id":46146,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:56:49] local.INFO: Processing buffer {"connection_id":46146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:56:49] local.INFO: IMEI packet received {"connection_id":46146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":46146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:56:55] local.INFO: TCP Data received {"connection_id":46146,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46146,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:56:55] local.INFO: Processing buffer {"connection_id":46146,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:56:55] local.INFO: IMEI packet received {"connection_id":46146,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":46146,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:56:56] local.INFO: TCP Data received {"connection_id":46146,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:56:56] local.INFO: Processing buffer {"connection_id":46146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:56:56] local.INFO: Packet analysis {"connection_id":46146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:56:56] local.INFO: Extracted packet for processing {"connection_id":46146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:56:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769359360001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 21:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620311924797968384,"note":"Value kept but may cause issues"} 
[2026-04-17 21:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776443113000,"timestamp_ms":1776443113000,"timestamp_seconds":1776443113,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c42be28"} 
[2026-04-17 21:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 21:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769359360001,"66":25908,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620311924797968384},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769359360001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:56:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:56:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620311924797968384,"description":"Unknown IO ID 45"} 
[2026-04-17 21:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769359360001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620311924797968384}} 
[2026-04-17 21:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":46146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23280,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:56:56] local.INFO: GPS data processed {"connection_id":46146,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:56:56] local.INFO: Acknowledgment sent {"connection_id":46146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:56:59] local.INFO: TCP Data received {"connection_id":46996,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46996,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:56:59] local.INFO: Processing buffer {"connection_id":46996,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:56:59] local.INFO: Packet analysis {"connection_id":46996,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:56:59] local.INFO: Extracted packet for processing {"connection_id":46996,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:56:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769314048001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:56: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-04-17 21:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776442934000,"timestamp_ms":1776442934000,"timestamp_seconds":1776442934,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4002f0"} 
[2026-04-17 21:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:56: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-04-17 21:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:56: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-04-17 21:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46996,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46996,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769314048001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769314048001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:56:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:56:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769314048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":46996,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23281,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:56:59] local.INFO: GPS data processed {"connection_id":46996,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:56:59] local.INFO: Acknowledgment sent {"connection_id":46996,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:57:26] local.INFO: TCP Data received {"connection_id":46493,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:57:26] local.INFO: Processing buffer {"connection_id":46493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:57:26] local.INFO: IMEI packet received {"connection_id":46493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":46493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:57:27] local.INFO: TCP Data received {"connection_id":46146,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46146,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:57:27] local.INFO: Processing buffer {"connection_id":46146,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:57:27] local.INFO: Packet analysis {"connection_id":46146,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:57:27] local.INFO: Extracted packet for processing {"connection_id":46146,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:57:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 21:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769359360001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 21:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620311924797968384,"note":"Value kept but may cause issues"} 
[2026-04-17 21:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776443113000,"timestamp_ms":1776443113000,"timestamp_seconds":1776443113,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c42be28"} 
[2026-04-17 21:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 21:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46146,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46146,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769359360001,"66":25908,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620311924797968384},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769359360001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:57:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:57:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620311924797968384,"description":"Unknown IO ID 45"} 
[2026-04-17 21:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769359360001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620311924797968384}} 
[2026-04-17 21:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":46146,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23282,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:57:27] local.INFO: GPS data processed {"connection_id":46146,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:57:27] local.INFO: Acknowledgment sent {"connection_id":46146,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:57:31] local.INFO: TCP Data received {"connection_id":46493,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:57:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46493,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:57:31] local.INFO: Processing buffer {"connection_id":46493,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:57:31] local.INFO: IMEI packet received {"connection_id":46493,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:57:31] local.INFO: IMEI acknowledgment sent {"connection_id":46493,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:57:32] local.INFO: TCP Data received {"connection_id":46493,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:57:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:57:32] local.INFO: Processing buffer {"connection_id":46493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:57:32] local.INFO: Packet analysis {"connection_id":46493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:57:32] local.INFO: Extracted packet for processing {"connection_id":46493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:57:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:57:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769314048001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:57:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:57:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:57:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:57:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776442934000,"timestamp_ms":1776442934000,"timestamp_seconds":1776442934,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4002f0"} 
[2026-04-17 21:57:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:57:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17920,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:57:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:57:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:57:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:57:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:57:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:57:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:57:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:57:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:57:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:57:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:57:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:57:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769314048001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:57:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:57:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:57:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769314048001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:57:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:57:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:57:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:57:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:57:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769314048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:57:32] local.INFO: DEBUG: GPS processor result {"connection_id":46493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23283,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:57:32] local.INFO: GPS data processed {"connection_id":46493,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:57:32] local.INFO: Acknowledgment sent {"connection_id":46493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:57:37] local.INFO: TCP Data received {"connection_id":46493,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:57:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46493,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:57:37] local.INFO: Processing buffer {"connection_id":46493,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4002f0012d196500071ff0900048013b2a..."} 
[2026-04-17 21:57:37] local.INFO: Packet analysis {"connection_id":46493,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:57:37] local.INFO: Extracted packet for processing {"connection_id":46493,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c40"} 
[2026-04-17 21:57:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:57:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769314048001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:57:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:57:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:57: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-04-17 21:57:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776442934000,"timestamp_ms":1776442934000,"timestamp_seconds":1776442934,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4002f0"} 
[2026-04-17 21:57:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:57: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-04-17 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:57:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:57:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:57:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:57:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46493,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:57:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:57:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46493,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:57:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:57:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:57:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:57:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769314048001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:57:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:57:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:57:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769314048001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:57:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:57:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:57:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:57:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:57:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769314048001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:57:37] local.INFO: DEBUG: GPS processor result {"connection_id":46493,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23284,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:57:37] local.INFO: GPS data processed {"connection_id":46493,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:57:37] local.INFO: Acknowledgment sent {"connection_id":46493,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:57:55] local.INFO: TCP Data received {"connection_id":46251,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:57:55] local.INFO: Processing buffer {"connection_id":46251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:57:55] local.INFO: IMEI packet received {"connection_id":46251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":46251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:58:00] local.INFO: TCP Data received {"connection_id":46251,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46251,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:58:00] local.INFO: Processing buffer {"connection_id":46251,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:58:00] local.INFO: IMEI packet received {"connection_id":46251,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:58:00] local.INFO: IMEI acknowledgment sent {"connection_id":46251,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:58:01] local.INFO: TCP Data received {"connection_id":46251,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:58:01] local.INFO: Processing buffer {"connection_id":46251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:58:01] local.INFO: Packet analysis {"connection_id":46251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:58:01] local.INFO: Extracted packet for processing {"connection_id":46251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:58:01] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 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-04-17 21:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769359360001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 21:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620311924797968384,"note":"Value kept but may cause issues"} 
[2026-04-17 21:58:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776443113000,"timestamp_ms":1776443113000,"timestamp_seconds":1776443113,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c42be28"} 
[2026-04-17 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-04-17 21:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 21:58: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-04-17 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-04-17 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-04-17 21:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769359360001,"66":25908,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620311924797968384},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769359360001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:58:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:58:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620311924797968384,"description":"Unknown IO ID 45"} 
[2026-04-17 21:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769359360001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620311924797968384}} 
[2026-04-17 21:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":46251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23285,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:58:01] local.INFO: GPS data processed {"connection_id":46251,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:58:01] local.INFO: Acknowledgment sent {"connection_id":46251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:58:05] local.INFO: TCP Data received {"connection_id":46251,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:58:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46251,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:58:05] local.INFO: Processing buffer {"connection_id":46251,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:58:05] local.INFO: Packet analysis {"connection_id":46251,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:58:05] local.INFO: Extracted packet for processing {"connection_id":46251,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:58:05] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:58:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769359360001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:58:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 21:58:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620311924797968384,"note":"Value kept but may cause issues"} 
[2026-04-17 21:58:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:58:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776443113000,"timestamp_ms":1776443113000,"timestamp_seconds":1776443113,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c42be28"} 
[2026-04-17 21:58:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:58:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 21:58:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:58:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:58:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:58:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46251,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:58:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:58:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46251,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:58:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:58:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:58:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:58:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769359360001,"66":25908,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620311924797968384},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:58:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:58:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:58:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769359360001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:58:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:58:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:58:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:58:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620311924797968384,"description":"Unknown IO ID 45"} 
[2026-04-17 21:58:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769359360001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620311924797968384}} 
[2026-04-17 21:58:05] local.INFO: DEBUG: GPS processor result {"connection_id":46251,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23286,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:58:05] local.INFO: GPS data processed {"connection_id":46251,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:58:05] local.INFO: Acknowledgment sent {"connection_id":46251,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:58:21] local.INFO: TCP Data received {"connection_id":46494,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:58:21] local.INFO: Processing buffer {"connection_id":46494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:58:21] local.INFO: IMEI packet received {"connection_id":46494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":46494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:58:26] local.INFO: TCP Data received {"connection_id":46494,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46494,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:58:26] local.INFO: Processing buffer {"connection_id":46494,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:58:26] local.INFO: IMEI packet received {"connection_id":46494,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":46494,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:58:27] local.INFO: TCP Data received {"connection_id":46494,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 21:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 21:58:27] local.INFO: Processing buffer {"connection_id":46494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 21:58:27] local.INFO: Packet analysis {"connection_id":46494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c44"} 
[2026-04-17 21:58:27] local.INFO: Extracted packet for processing {"connection_id":46494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c44"} 
[2026-04-17 21:58:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769391104001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:58: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-04-17 21:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776443235000,"timestamp_ms":1776443235000,"timestamp_seconds":1776443235,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c449ab8"} 
[2026-04-17 21:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:58:27] 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-04-17 21:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:58: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-04-17 21:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769391104001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769391104001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:58:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:58:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769391104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:58:28] local.INFO: DEBUG: GPS processor result {"connection_id":46494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23287,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:58:28] local.INFO: GPS data processed {"connection_id":46494,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:58:28] local.INFO: Acknowledgment sent {"connection_id":46494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:58:50] local.INFO: TCP Data received {"connection_id":46147,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:58:50] local.INFO: Processing buffer {"connection_id":46147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:58:50] local.INFO: IMEI packet received {"connection_id":46147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":46147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:58:55] local.INFO: TCP Data received {"connection_id":46147,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46147,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:58:55] local.INFO: Processing buffer {"connection_id":46147,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:58:55] local.INFO: IMEI packet received {"connection_id":46147,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":46147,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:58:56] local.INFO: TCP Data received {"connection_id":46147,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:58:56] local.INFO: Processing buffer {"connection_id":46147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:58:56] local.INFO: Packet analysis {"connection_id":46147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:58:56] local.INFO: Extracted packet for processing {"connection_id":46147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:58:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 21:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769359360001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 21:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620311924797968384,"note":"Value kept but may cause issues"} 
[2026-04-17 21:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776443113000,"timestamp_ms":1776443113000,"timestamp_seconds":1776443113,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c42be28"} 
[2026-04-17 21:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 21:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769359360001,"66":25908,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620311924797968384},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769359360001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:58:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:58:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620311924797968384,"description":"Unknown IO ID 45"} 
[2026-04-17 21:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769359360001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620311924797968384}} 
[2026-04-17 21:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":46147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23288,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:58:56] local.INFO: GPS data processed {"connection_id":46147,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:58:56] local.INFO: Acknowledgment sent {"connection_id":46147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:58:59] local.INFO: TCP Data received {"connection_id":46494,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 21:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46494,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 21:58:59] local.INFO: Processing buffer {"connection_id":46494,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 21:58:59] local.INFO: Packet analysis {"connection_id":46494,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c44"} 
[2026-04-17 21:58:59] local.INFO: Extracted packet for processing {"connection_id":46494,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c44"} 
[2026-04-17 21:58:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769391104001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:58: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-04-17 21:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776443235000,"timestamp_ms":1776443235000,"timestamp_seconds":1776443235,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c449ab8"} 
[2026-04-17 21:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:58:59] 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-04-17 21:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:58: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-04-17 21:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46494,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46494,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769391104001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769391104001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:58:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:58:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769391104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":46494,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23289,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:58:59] local.INFO: GPS data processed {"connection_id":46494,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:58:59] local.INFO: Acknowledgment sent {"connection_id":46494,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:59:14] local.INFO: TCP Data received {"connection_id":46495,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:59:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46495,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:59:14] local.INFO: Processing buffer {"connection_id":46495,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 21:59:14] local.INFO: IMEI packet received {"connection_id":46495,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 21:59:14] local.INFO: IMEI acknowledgment sent {"connection_id":46495,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:59:21] local.INFO: TCP Data received {"connection_id":46252,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:59:21] local.INFO: Processing buffer {"connection_id":46252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:59:21] local.INFO: IMEI packet received {"connection_id":46252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 21:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":46252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:59:26] local.INFO: TCP Data received {"connection_id":46252,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46252,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:59:26] local.INFO: Processing buffer {"connection_id":46252,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 21:59:26] local.INFO: IMEI packet received {"connection_id":46252,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 21:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":46252,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:59:27] local.INFO: TCP Data received {"connection_id":46147,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46147,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:59:27] local.INFO: Processing buffer {"connection_id":46147,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:59:27] local.INFO: Packet analysis {"connection_id":46147,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:59:27] local.INFO: Extracted packet for processing {"connection_id":46147,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:59:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769359360001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 21:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620311924797968384,"note":"Value kept but may cause issues"} 
[2026-04-17 21:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776443113000,"timestamp_ms":1776443113000,"timestamp_seconds":1776443113,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c42be28"} 
[2026-04-17 21:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 21:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46147,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46147,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769359360001,"66":25908,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620311924797968384},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769359360001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:59:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:59:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620311924797968384,"description":"Unknown IO ID 45"} 
[2026-04-17 21:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769359360001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620311924797968384}} 
[2026-04-17 21:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":46147,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23290,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:59:27] local.INFO: GPS data processed {"connection_id":46147,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:59:27] local.INFO: Acknowledgment sent {"connection_id":46147,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:59:27] local.INFO: TCP Data received {"connection_id":46252,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 21:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 21:59:27] local.INFO: Processing buffer {"connection_id":46252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 21:59:27] local.INFO: Packet analysis {"connection_id":46252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c44"} 
[2026-04-17 21:59:27] local.INFO: Extracted packet for processing {"connection_id":46252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c44"} 
[2026-04-17 21:59:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769391104001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:59: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-04-17 21:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776443235000,"timestamp_ms":1776443235000,"timestamp_seconds":1776443235,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c449ab8"} 
[2026-04-17 21:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:59:27] 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-04-17 21: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:59: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-04-17 21: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-04-17 21:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769391104001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769391104001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:59:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:59:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769391104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":46252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23291,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:59:28] local.INFO: GPS data processed {"connection_id":46252,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:59:28] local.INFO: Acknowledgment sent {"connection_id":46252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:59:50] local.INFO: TCP Data received {"connection_id":46496,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:59:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:59:50] local.INFO: Processing buffer {"connection_id":46496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:59:50] local.INFO: IMEI packet received {"connection_id":46496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 21:59:50] local.INFO: IMEI acknowledgment sent {"connection_id":46496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 21:59:55] local.INFO: TCP Data received {"connection_id":46496,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46496,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:59:55] local.INFO: Processing buffer {"connection_id":46496,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 21:59:55] local.INFO: IMEI packet received {"connection_id":46496,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 21:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":46496,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 21:59:56] local.INFO: TCP Data received {"connection_id":46496,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:59:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:59:56] local.INFO: Processing buffer {"connection_id":46496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 21:59:56] local.INFO: Packet analysis {"connection_id":46496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:59:56] local.INFO: Extracted packet for processing {"connection_id":46496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 21:59:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 21: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-04-17 21:59:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769359360001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:59:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 21:59:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620311924797968384,"note":"Value kept but may cause issues"} 
[2026-04-17 21:59:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 21:59:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776443113000,"timestamp_ms":1776443113000,"timestamp_seconds":1776443113,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c42be28"} 
[2026-04-17 21:59:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:59:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 21: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":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 21:59:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 21: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-04-17 21:59:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:59:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:59:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:59:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:59:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 21:59:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:59:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 21:59:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 21:59:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769359360001,"66":25908,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620311924797968384},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 21:59:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 21:59:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 21:59:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769359360001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:59:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 21:59:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 21:59:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:59:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620311924797968384,"description":"Unknown IO ID 45"} 
[2026-04-17 21:59:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769359360001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620311924797968384}} 
[2026-04-17 21:59:56] local.INFO: DEBUG: GPS processor result {"connection_id":46496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23292,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:59:56] local.INFO: GPS data processed {"connection_id":46496,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:59:56] local.INFO: Acknowledgment sent {"connection_id":46496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 21:59:59] local.INFO: TCP Data received {"connection_id":46252,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 21:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46252,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 21:59:59] local.INFO: Processing buffer {"connection_id":46252,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 21:59:59] local.INFO: Packet analysis {"connection_id":46252,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c44"} 
[2026-04-17 21:59:59] local.INFO: Extracted packet for processing {"connection_id":46252,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c44"} 
[2026-04-17 21:59:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 21:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 21:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769391104001,"note":"Value kept but may cause issues"} 
[2026-04-17 21:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 21:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 21:59: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-04-17 21:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776443235000,"timestamp_ms":1776443235000,"timestamp_seconds":1776443235,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c449ab8"} 
[2026-04-17 21:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 21:59:59] 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-04-17 21:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 21:59: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-04-17 21:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 21:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 21:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 21:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46252,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 21:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46252,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 21:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 21:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 21:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 21:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769391104001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 21:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 21:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 21:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769391104001,"description":"Unknown IO ID 0"} 
[2026-04-17 21:59:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 21:59:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 21:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 21:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 21:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769391104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 21:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":46252,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23293,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 21:59:59] local.INFO: GPS data processed {"connection_id":46252,"processed":1,"errors":0,"total":1} 
[2026-04-17 21:59:59] local.INFO: Acknowledgment sent {"connection_id":46252,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:00:21] local.INFO: TCP Data received {"connection_id":47000,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:00:21] local.INFO: Processing buffer {"connection_id":47000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:00:21] local.INFO: IMEI packet received {"connection_id":47000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":47000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:00:26] local.INFO: TCP Data received {"connection_id":47000,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47000,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:00:26] local.INFO: Processing buffer {"connection_id":47000,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:00:26] local.INFO: IMEI packet received {"connection_id":47000,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":47000,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:00:27] local.INFO: TCP Data received {"connection_id":46496,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 22:00:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46496,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 22:00:27] local.INFO: Processing buffer {"connection_id":46496,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c42be28012d77a0c005f2a608001701052d..."} 
[2026-04-17 22:00:27] local.INFO: Packet analysis {"connection_id":46496,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 22:00:27] local.INFO: Extracted packet for processing {"connection_id":46496,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c42"} 
[2026-04-17 22:00:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":23,"angle":261,"satellites":45,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:00:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769359360001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:00:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:00:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620311924797968384,"note":"Value kept but may cause issues"} 
[2026-04-17 22:00:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:00:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776443113000,"timestamp_ms":1776443113000,"timestamp_seconds":1776443113,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c42be28"} 
[2026-04-17 22:00:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:00:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:00:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":108,"n8_eight_byte":228,"data_length":795,"current_offset":136} 
[2026-04-17 22:00:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2790,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:00:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:00:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:00:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:00:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46496,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:00:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:00:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46496,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:00:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:00:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:00:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:00:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769359360001,"66":25908,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620311924797968384},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:00:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:00:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:00:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769359360001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:00:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:00:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:00:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:00:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620311924797968384,"description":"Unknown IO ID 45"} 
[2026-04-17 22:00:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769359360001,"power":25908,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620311924797968384}} 
[2026-04-17 22:00:27] local.INFO: DEBUG: GPS processor result {"connection_id":46496,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23294,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:00:27] local.INFO: GPS data processed {"connection_id":46496,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:00:27] local.INFO: Acknowledgment sent {"connection_id":46496,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:00:28] local.INFO: TCP Data received {"connection_id":47000,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 22:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 22:00:28] local.INFO: Processing buffer {"connection_id":47000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 22:00:28] local.INFO: Packet analysis {"connection_id":47000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c44"} 
[2026-04-17 22:00:28] local.INFO: Extracted packet for processing {"connection_id":47000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c44"} 
[2026-04-17 22:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769391104001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:00: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-04-17 22:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776443235000,"timestamp_ms":1776443235000,"timestamp_seconds":1776443235,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c449ab8"} 
[2026-04-17 22:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:00: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-04-17 22:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:00: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-04-17 22:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":47000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":47000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":47000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769391104001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769391104001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:00:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:00:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769391104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":47000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23295,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:00:28] local.INFO: GPS data processed {"connection_id":47000,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:00:28] local.INFO: Acknowledgment sent {"connection_id":47000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:00:49] local.INFO: TCP Data received {"connection_id":46253,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:00:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:00:49] local.INFO: Processing buffer {"connection_id":46253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:00:49] local.INFO: IMEI packet received {"connection_id":46253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:00:49] local.INFO: IMEI acknowledgment sent {"connection_id":46253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:00:51] local.INFO: TCP Data received {"connection_id":46253,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:00:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:00:51] local.INFO: Processing buffer {"connection_id":46253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:00:51] local.INFO: IMEI packet received {"connection_id":46253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:00:51] local.INFO: IMEI acknowledgment sent {"connection_id":46253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:00:57] local.INFO: TCP Data received {"connection_id":46253,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:00:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46253,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:00:57] local.INFO: Processing buffer {"connection_id":46253,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:00:57] local.INFO: IMEI packet received {"connection_id":46253,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:00:57] local.INFO: IMEI acknowledgment sent {"connection_id":46253,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:00:59] local.INFO: TCP Data received {"connection_id":47000,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 22:01:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47000,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 22:01:00] local.INFO: Processing buffer {"connection_id":47000,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 22:01:00] local.INFO: Packet analysis {"connection_id":47000,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c44"} 
[2026-04-17 22:01:00] local.INFO: Extracted packet for processing {"connection_id":47000,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c44"} 
[2026-04-17 22:01:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 22:01:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769391104001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:01:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:01:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22: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-04-17 22:01:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776443235000,"timestamp_ms":1776443235000,"timestamp_seconds":1776443235,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c449ab8"} 
[2026-04-17 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-04-17 22:01: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-04-17 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:01: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-04-17 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-04-17 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-04-17 22:01:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:01:00] local.INFO: Teltonika packet parsed successfully {"connection_id":47000,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:01:00] local.INFO: Passing IMEI to GPS processor {"connection_id":47000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:01:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":47000,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:01:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:01:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:01:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:01:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769391104001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:01:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:01:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:01:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769391104001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:01:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:01:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:01:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:01:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:01:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769391104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:01:00] local.INFO: DEBUG: GPS processor result {"connection_id":47000,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23296,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:01:00] local.INFO: GPS data processed {"connection_id":47000,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:01:00] local.INFO: Acknowledgment sent {"connection_id":47000,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:01:04] local.INFO: TCP Data received {"connection_id":46253,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:01:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:01:04] local.INFO: Processing buffer {"connection_id":46253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:01:04] local.INFO: Packet analysis {"connection_id":46253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c47"} 
[2026-04-17 22:01:04] local.INFO: Extracted packet for processing {"connection_id":46253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c47"} 
[2026-04-17 22:01:04] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":34,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:01:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769436928001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:01:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:01:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:01:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:01:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776443414000,"timestamp_ms":1776443414000,"timestamp_seconds":1776443414,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4755f0"} 
[2026-04-17 22:01:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:01:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 22:01: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-04-17 22: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-04-17 22:01:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:01:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:01:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:01:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:01:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:01:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:01:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:01:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:01:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769436928001,"66":25702,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:01:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:01:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:01:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769436928001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:01:04] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:01:04] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:01:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:01:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:01:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769436928001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:01:04] local.INFO: DEBUG: GPS processor result {"connection_id":46253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23297,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:01:04] local.INFO: GPS data processed {"connection_id":46253,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:01:04] local.INFO: Acknowledgment sent {"connection_id":46253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:01:05] local.INFO: TCP Data received {"connection_id":46253,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:01:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46253,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:01:05] local.INFO: Processing buffer {"connection_id":46253,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:01:05] local.INFO: Packet analysis {"connection_id":46253,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c47"} 
[2026-04-17 22:01:05] local.INFO: Extracted packet for processing {"connection_id":46253,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c47"} 
[2026-04-17 22:01:05] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":34,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:01:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769436928001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:01:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:01:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:01:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:01:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776443414000,"timestamp_ms":1776443414000,"timestamp_seconds":1776443414,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4755f0"} 
[2026-04-17 22:01:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:01:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 22:01:05] 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-04-17 22: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-04-17 22:01:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:01:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:01:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46253,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:01:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:01:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46253,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:01:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:01:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:01:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:01:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769436928001,"66":25702,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:01:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:01:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:01:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769436928001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:01:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:01:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:01:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:01:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:01:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769436928001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:01:05] local.INFO: DEBUG: GPS processor result {"connection_id":46253,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23298,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:01:05] local.INFO: GPS data processed {"connection_id":46253,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:01:05] local.INFO: Acknowledgment sent {"connection_id":46253,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:01:26] local.INFO: TCP Data received {"connection_id":46254,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:01:26] local.INFO: Processing buffer {"connection_id":46254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:01:26] local.INFO: IMEI packet received {"connection_id":46254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":46254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:01:31] local.INFO: TCP Data received {"connection_id":46254,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:01:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46254,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:01:31] local.INFO: Processing buffer {"connection_id":46254,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:01:31] local.INFO: IMEI packet received {"connection_id":46254,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:01:31] local.INFO: IMEI acknowledgment sent {"connection_id":46254,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:01:32] local.INFO: TCP Data received {"connection_id":46254,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 22:01:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 22:01:32] local.INFO: Processing buffer {"connection_id":46254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 22:01:32] local.INFO: Packet analysis {"connection_id":46254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c44"} 
[2026-04-17 22:01:32] local.INFO: Extracted packet for processing {"connection_id":46254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c44"} 
[2026-04-17 22:01:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:01:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769391104001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:01:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:01:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:01:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:01:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776443235000,"timestamp_ms":1776443235000,"timestamp_seconds":1776443235,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c449ab8"} 
[2026-04-17 22:01:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:01:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:01:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:01:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:01:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:01:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:01:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:01:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:01:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:01:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:01:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:01:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:01:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:01:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769391104001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:01:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:01:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:01:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769391104001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:01:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:01:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:01:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:01:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:01:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769391104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:01:32] local.INFO: DEBUG: GPS processor result {"connection_id":46254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23299,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:01:32] local.INFO: GPS data processed {"connection_id":46254,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:01:32] local.INFO: Acknowledgment sent {"connection_id":46254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:01:37] local.INFO: TCP Data received {"connection_id":46254,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 22:01:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46254,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 22:01:37] local.INFO: Processing buffer {"connection_id":46254,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 22:01:37] local.INFO: Packet analysis {"connection_id":46254,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c44"} 
[2026-04-17 22:01:37] local.INFO: Extracted packet for processing {"connection_id":46254,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c44"} 
[2026-04-17 22:01:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:01:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769391104001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:01:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:01:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:01: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-04-17 22:01:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776443235000,"timestamp_ms":1776443235000,"timestamp_seconds":1776443235,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c449ab8"} 
[2026-04-17 22:01:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:01:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:01:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:01:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:01:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:01:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46254,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:01:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:01:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46254,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:01:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:01:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:01:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:01:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769391104001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:01:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:01:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:01:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769391104001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:01:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:01:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:01:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:01:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:01:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769391104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:01:37] local.INFO: DEBUG: GPS processor result {"connection_id":46254,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23300,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:01:37] local.INFO: GPS data processed {"connection_id":46254,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:01:37] local.INFO: Acknowledgment sent {"connection_id":46254,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:01:55] local.INFO: TCP Data received {"connection_id":46148,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:01:55] local.INFO: Processing buffer {"connection_id":46148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:01:55] local.INFO: IMEI packet received {"connection_id":46148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":46148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:02:00] local.INFO: TCP Data received {"connection_id":46148,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:02:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46148,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:02:00] local.INFO: Processing buffer {"connection_id":46148,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:02:00] local.INFO: IMEI packet received {"connection_id":46148,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:02:00] local.INFO: IMEI acknowledgment sent {"connection_id":46148,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:02:01] local.INFO: TCP Data received {"connection_id":46148,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:02:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:02:01] local.INFO: Processing buffer {"connection_id":46148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:02:01] local.INFO: Packet analysis {"connection_id":46148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c47"} 
[2026-04-17 22:02:01] local.INFO: Extracted packet for processing {"connection_id":46148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c47"} 
[2026-04-17 22:02:01] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":34,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:02:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769436928001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:02:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:02:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:02:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:02:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776443414000,"timestamp_ms":1776443414000,"timestamp_seconds":1776443414,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4755f0"} 
[2026-04-17 22:02:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:02:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 22:02: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-04-17 22: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-04-17 22:02:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:02:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:02:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:02:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:02:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:02:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:02:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:02:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:02:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769436928001,"66":25702,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:02:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:02:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:02:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769436928001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:02:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:02:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:02:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:02:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:02:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769436928001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:02:01] local.INFO: DEBUG: GPS processor result {"connection_id":46148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23301,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:02:01] local.INFO: GPS data processed {"connection_id":46148,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:02:01] local.INFO: Acknowledgment sent {"connection_id":46148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:02:06] local.INFO: TCP Data received {"connection_id":46148,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:02:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46148,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:02:06] local.INFO: Processing buffer {"connection_id":46148,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:02:06] local.INFO: Packet analysis {"connection_id":46148,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c47"} 
[2026-04-17 22:02:06] local.INFO: Extracted packet for processing {"connection_id":46148,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c47"} 
[2026-04-17 22:02:06] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":34,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:02:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769436928001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:02:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:02:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:02:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:02:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776443414000,"timestamp_ms":1776443414000,"timestamp_seconds":1776443414,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4755f0"} 
[2026-04-17 22:02:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:02:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 22:02:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:02:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:02:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:02:06] local.INFO: Teltonika packet parsed successfully {"connection_id":46148,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:02:06] local.INFO: Passing IMEI to GPS processor {"connection_id":46148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:02:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":46148,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:02:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:02:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:02:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:02:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769436928001,"66":25702,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:02:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:02:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:02:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769436928001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:02:06] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:02:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:02:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:02:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:02:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769436928001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:02:06] local.INFO: DEBUG: GPS processor result {"connection_id":46148,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23302,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:02:06] local.INFO: GPS data processed {"connection_id":46148,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:02:06] local.INFO: Acknowledgment sent {"connection_id":46148,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:02:21] local.INFO: TCP Data received {"connection_id":46149,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:02:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:02:21] local.INFO: Processing buffer {"connection_id":46149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:02:21] local.INFO: IMEI packet received {"connection_id":46149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:02:21] local.INFO: IMEI acknowledgment sent {"connection_id":46149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:02:26] local.INFO: TCP Data received {"connection_id":46149,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46149,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:02:26] local.INFO: Processing buffer {"connection_id":46149,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:02:26] local.INFO: IMEI packet received {"connection_id":46149,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":46149,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:02:29] local.INFO: TCP Data received {"connection_id":46149,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 22:02:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 22:02:29] local.INFO: Processing buffer {"connection_id":46149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c449ab8012d196500071ff0900048013b29..."} 
[2026-04-17 22:02:29] local.INFO: Packet analysis {"connection_id":46149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c44"} 
[2026-04-17 22:02:29] local.INFO: Extracted packet for processing {"connection_id":46149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c44"} 
[2026-04-17 22:02:29] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":72,"angle":315,"satellites":41,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 22:02:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769391104001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:02:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:02:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:02: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-04-17 22:02:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776443235000,"timestamp_ms":1776443235000,"timestamp_seconds":1776443235,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c449ab8"} 
[2026-04-17 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-04-17 22:02: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-04-17 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:02:29] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 22:02:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:02:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:02:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:02:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:02:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:02:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:02:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:02:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769391104001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:02:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:02:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:02:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769391104001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:02:29] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:02:29] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:02:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:02:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:02:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769391104001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:02:29] local.INFO: DEBUG: GPS processor result {"connection_id":46149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23303,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:02:29] local.INFO: GPS data processed {"connection_id":46149,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:02:29] local.INFO: Acknowledgment sent {"connection_id":46149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:02:50] local.INFO: TCP Data received {"connection_id":46499,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:02:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:02:50] local.INFO: Processing buffer {"connection_id":46499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:02:50] local.INFO: IMEI packet received {"connection_id":46499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:02:50] local.INFO: IMEI acknowledgment sent {"connection_id":46499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:02:55] local.INFO: TCP Data received {"connection_id":46499,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46499,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:02:55] local.INFO: Processing buffer {"connection_id":46499,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:02:55] local.INFO: IMEI packet received {"connection_id":46499,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":46499,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:02:56] local.INFO: TCP Data received {"connection_id":46499,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:02:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:02:56] local.INFO: Processing buffer {"connection_id":46499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:02:56] local.INFO: Packet analysis {"connection_id":46499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c47"} 
[2026-04-17 22:02:56] local.INFO: Extracted packet for processing {"connection_id":46499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c47"} 
[2026-04-17 22:02:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":34,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:02:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769436928001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:02:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:02:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:02:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:02:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776443414000,"timestamp_ms":1776443414000,"timestamp_seconds":1776443414,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4755f0"} 
[2026-04-17 22:02:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:02:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:02:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 22:02:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:02:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:02:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:02:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:02:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:02:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:02:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:02:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:02:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769436928001,"66":25702,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769436928001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:02:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:02:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769436928001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":46499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23304,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:02:56] local.INFO: GPS data processed {"connection_id":46499,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:02:56] local.INFO: Acknowledgment sent {"connection_id":46499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:03:01] local.INFO: TCP Data received {"connection_id":46149,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:03:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46149,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:03:01] local.INFO: Processing buffer {"connection_id":46149,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:03:01] local.INFO: Packet analysis {"connection_id":46149,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:03:01] local.INFO: Extracted packet for processing {"connection_id":46149,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:03:01] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 22:03:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769468160001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:03:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:03:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22: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-04-17 22:03:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776443536000,"timestamp_ms":1776443536000,"timestamp_seconds":1776443536,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c493280"} 
[2026-04-17 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-04-17 22:03:01] 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-04-17 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:03: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-04-17 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-04-17 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-04-17 22:03:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:03:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46149,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:03:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:03:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46149,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:03:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:03:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:03:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:03:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769468160001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:03:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:03:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:03:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769468160001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:03:01] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:03:01] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:03:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:03:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:03:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769468160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:03:01] local.INFO: DEBUG: GPS processor result {"connection_id":46149,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23305,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:03:01] local.INFO: GPS data processed {"connection_id":46149,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:03:01] local.INFO: Acknowledgment sent {"connection_id":46149,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:03:21] local.INFO: TCP Data received {"connection_id":47001,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:03:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:03:21] local.INFO: Processing buffer {"connection_id":47001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:03:21] local.INFO: IMEI packet received {"connection_id":47001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:03:21] local.INFO: IMEI acknowledgment sent {"connection_id":47001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:03:26] local.INFO: TCP Data received {"connection_id":47001,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47001,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:03:26] local.INFO: Processing buffer {"connection_id":47001,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:03:26] local.INFO: IMEI packet received {"connection_id":47001,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":47001,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:03:27] local.INFO: TCP Data received {"connection_id":46499,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46499,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:03:27] local.INFO: Processing buffer {"connection_id":46499,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:03:27] local.INFO: Packet analysis {"connection_id":46499,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c47"} 
[2026-04-17 22:03:27] local.INFO: Extracted packet for processing {"connection_id":46499,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c47"} 
[2026-04-17 22:03:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":34,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769436928001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776443414000,"timestamp_ms":1776443414000,"timestamp_seconds":1776443414,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4755f0"} 
[2026-04-17 22:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 22:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46499,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46499,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769436928001,"66":25702,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769436928001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:03:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:03:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769436928001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":46499,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23306,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:03:27] local.INFO: GPS data processed {"connection_id":46499,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:03:27] local.INFO: Acknowledgment sent {"connection_id":46499,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:03:28] local.INFO: TCP Data received {"connection_id":47001,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:03:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:03:28] local.INFO: Processing buffer {"connection_id":47001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:03:28] local.INFO: Packet analysis {"connection_id":47001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:03:28] local.INFO: Extracted packet for processing {"connection_id":47001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:03:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:03:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769468160001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:03:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:03:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:03: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-04-17 22:03:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776443536000,"timestamp_ms":1776443536000,"timestamp_seconds":1776443536,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c493280"} 
[2026-04-17 22:03:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:03:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:03:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:03: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-04-17 22:03:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:03:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:03:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:03:28] local.INFO: Teltonika packet parsed successfully {"connection_id":47001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:03:28] local.INFO: Passing IMEI to GPS processor {"connection_id":47001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:03:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":47001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:03:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:03:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:03:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:03:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769468160001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:03:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:03:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:03:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769468160001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:03:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:03:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:03:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:03:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:03:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769468160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:03:28] local.INFO: DEBUG: GPS processor result {"connection_id":47001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23307,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:03:28] local.INFO: GPS data processed {"connection_id":47001,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:03:28] local.INFO: Acknowledgment sent {"connection_id":47001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:03:50] local.INFO: TCP Data received {"connection_id":47002,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:03:50] local.INFO: Processing buffer {"connection_id":47002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:03:50] local.INFO: IMEI packet received {"connection_id":47002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":47002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:03:55] local.INFO: TCP Data received {"connection_id":47002,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47002,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:03:55] local.INFO: Processing buffer {"connection_id":47002,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:03:55] local.INFO: IMEI packet received {"connection_id":47002,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":47002,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:03:56] local.INFO: TCP Data received {"connection_id":47002,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47002,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:03:56] local.INFO: Processing buffer {"connection_id":47002,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:03:56] local.INFO: Packet analysis {"connection_id":47002,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c47"} 
[2026-04-17 22:03:56] local.INFO: Extracted packet for processing {"connection_id":47002,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c47"} 
[2026-04-17 22:03:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":34,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769436928001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776443414000,"timestamp_ms":1776443414000,"timestamp_seconds":1776443414,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4755f0"} 
[2026-04-17 22:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 22:03:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":47002,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":47002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":47002,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769436928001,"66":25702,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769436928001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:03:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:03:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769436928001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":47002,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23308,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:03:56] local.INFO: GPS data processed {"connection_id":47002,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:03:56] local.INFO: Acknowledgment sent {"connection_id":47002,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:04:00] local.INFO: TCP Data received {"connection_id":47001,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:04:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47001,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:04:00] local.INFO: Processing buffer {"connection_id":47001,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:04:00] local.INFO: Packet analysis {"connection_id":47001,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:04:00] local.INFO: Extracted packet for processing {"connection_id":47001,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:04:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 22:04:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769468160001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:04:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:04:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:04: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-04-17 22:04:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776443536000,"timestamp_ms":1776443536000,"timestamp_seconds":1776443536,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c493280"} 
[2026-04-17 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-04-17 22:04: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-04-17 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:04: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-04-17 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-04-17 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-04-17 22:04:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:04:00] local.INFO: Teltonika packet parsed successfully {"connection_id":47001,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:04:00] local.INFO: Passing IMEI to GPS processor {"connection_id":47001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:04:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":47001,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:04:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:04:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:04:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:04:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769468160001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:04:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:04:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:04:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769468160001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:04:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:04:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:04:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:04:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:04:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769468160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:04:00] local.INFO: DEBUG: GPS processor result {"connection_id":47001,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23309,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:04:00] local.INFO: GPS data processed {"connection_id":47001,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:04:00] local.INFO: Acknowledgment sent {"connection_id":47001,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:04:21] local.INFO: TCP Data received {"connection_id":47003,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:04:21] local.INFO: Processing buffer {"connection_id":47003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:04:21] local.INFO: IMEI packet received {"connection_id":47003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":47003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:04:26] local.INFO: TCP Data received {"connection_id":47003,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47003,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:04:26] local.INFO: Processing buffer {"connection_id":47003,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:04:26] local.INFO: IMEI packet received {"connection_id":47003,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":47003,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:04:27] local.INFO: TCP Data received {"connection_id":47003,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:04:27] local.INFO: Processing buffer {"connection_id":47003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:04:27] local.INFO: Packet analysis {"connection_id":47003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:04:27] local.INFO: Extracted packet for processing {"connection_id":47003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:04:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769468160001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:04: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-04-17 22:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776443536000,"timestamp_ms":1776443536000,"timestamp_seconds":1776443536,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c493280"} 
[2026-04-17 22:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:04:27] 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-04-17 22:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:04: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-04-17 22:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":47003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":47003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":47003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769468160001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769468160001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:04:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:04:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769468160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":47003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23310,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:04:27] local.INFO: GPS data processed {"connection_id":47003,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:04:27] local.INFO: Acknowledgment sent {"connection_id":47003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:04:49] local.INFO: TCP Data received {"connection_id":46150,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:04:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:04:49] local.INFO: Processing buffer {"connection_id":46150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:04:49] local.INFO: IMEI packet received {"connection_id":46150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:04:49] local.INFO: IMEI acknowledgment sent {"connection_id":46150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:04:55] local.INFO: TCP Data received {"connection_id":46150,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:04:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46150,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:04:55] local.INFO: Processing buffer {"connection_id":46150,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:04:55] local.INFO: IMEI packet received {"connection_id":46150,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:04:55] local.INFO: IMEI acknowledgment sent {"connection_id":46150,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:04:56] local.INFO: TCP Data received {"connection_id":46150,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:04:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46150,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:04:56] local.INFO: Processing buffer {"connection_id":46150,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4755f0012d77a0c005f2a608002201052c..."} 
[2026-04-17 22:04:56] local.INFO: Packet analysis {"connection_id":46150,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c47"} 
[2026-04-17 22:04:56] local.INFO: Extracted packet for processing {"connection_id":46150,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c47"} 
[2026-04-17 22:04:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":34,"angle":261,"satellites":44,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:04:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769436928001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:04:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:04:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:04:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:04:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776443414000,"timestamp_ms":1776443414000,"timestamp_seconds":1776443414,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4755f0"} 
[2026-04-17 22:04:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:04:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":101,"n8_eight_byte":52,"data_length":795,"current_offset":136} 
[2026-04-17 22:04:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1171,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:04:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:04:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:04:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46150,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:04:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:04:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46150,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:04:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:04:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:04:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:04:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769436928001,"66":25702,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:04:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:04:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:04:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769436928001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:04:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:04:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:04:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:04:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:04:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769436928001,"power":25702,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:04:56] local.INFO: DEBUG: GPS processor result {"connection_id":46150,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23311,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:04:56] local.INFO: GPS data processed {"connection_id":46150,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:04:56] local.INFO: Acknowledgment sent {"connection_id":46150,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:04:59] local.INFO: TCP Data received {"connection_id":47003,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47003,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:04:59] local.INFO: Processing buffer {"connection_id":47003,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:04:59] local.INFO: Packet analysis {"connection_id":47003,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:04:59] local.INFO: Extracted packet for processing {"connection_id":47003,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769468160001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22: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-04-17 22:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776443536000,"timestamp_ms":1776443536000,"timestamp_seconds":1776443536,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c493280"} 
[2026-04-17 22:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:04:59] 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-04-17 22:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":47003,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":47003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":47003,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769468160001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769468160001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:04:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:04:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769468160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":47003,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23312,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:04:59] local.INFO: GPS data processed {"connection_id":47003,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:04:59] local.INFO: Acknowledgment sent {"connection_id":47003,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:05:09] local.INFO: TCP Data received {"connection_id":46501,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:05:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46501,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:05:09] local.INFO: Processing buffer {"connection_id":46501,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:05:09] local.INFO: IMEI packet received {"connection_id":46501,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 22:05:09] local.INFO: IMEI acknowledgment sent {"connection_id":46501,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:05:21] local.INFO: TCP Data received {"connection_id":46256,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:05:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:05:21] local.INFO: Processing buffer {"connection_id":46256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:05:21] local.INFO: IMEI packet received {"connection_id":46256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:05:21] local.INFO: IMEI acknowledgment sent {"connection_id":46256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:05:26] local.INFO: TCP Data received {"connection_id":46256,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46256,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:05:26] local.INFO: Processing buffer {"connection_id":46256,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:05:26] local.INFO: IMEI packet received {"connection_id":46256,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":46256,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:05:27] local.INFO: TCP Data received {"connection_id":46256,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:05:27] local.INFO: Processing buffer {"connection_id":46256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:05:27] local.INFO: Packet analysis {"connection_id":46256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:05:27] local.INFO: Extracted packet for processing {"connection_id":46256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769468160001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:05: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-04-17 22:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776443536000,"timestamp_ms":1776443536000,"timestamp_seconds":1776443536,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c493280"} 
[2026-04-17 22:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:05:27] 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-04-17 22:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:05: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-04-17 22:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769468160001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769468160001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:05:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:05:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769468160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":46256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23313,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:05:27] local.INFO: GPS data processed {"connection_id":46256,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:05:27] local.INFO: Acknowledgment sent {"connection_id":46256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:05:49] local.INFO: TCP Data received {"connection_id":47004,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:05:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:05:49] local.INFO: Processing buffer {"connection_id":47004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:05:49] local.INFO: IMEI packet received {"connection_id":47004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:05:49] local.INFO: IMEI acknowledgment sent {"connection_id":47004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:05:53] local.INFO: TCP Data received {"connection_id":47004,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:05:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:05:53] local.INFO: Processing buffer {"connection_id":47004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:05:53] local.INFO: IMEI packet received {"connection_id":47004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:05:53] local.INFO: IMEI acknowledgment sent {"connection_id":47004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:05:56] local.INFO: TCP Data received {"connection_id":47004,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47004,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:05:56] local.INFO: Processing buffer {"connection_id":47004,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:05:56] local.INFO: IMEI packet received {"connection_id":47004,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:05:56] local.INFO: IMEI acknowledgment sent {"connection_id":47004,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:05:56] local.INFO: TCP Data received {"connection_id":47004,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:05:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:05:56] local.INFO: Processing buffer {"connection_id":47004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:05:56] local.INFO: Packet analysis {"connection_id":47004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:05:56] local.INFO: Extracted packet for processing {"connection_id":47004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:05:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":21,"angle":261,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:05:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769513984001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:05:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:05:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:05:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:05:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776443715000,"timestamp_ms":1776443715000,"timestamp_seconds":1776443715,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4bedb8"} 
[2026-04-17 22:05:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:05:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:05:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 22:05:56] 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-04-17 22:05:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:05:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:05:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:05:56] local.INFO: Teltonika packet parsed successfully {"connection_id":47004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:05:56] local.INFO: Passing IMEI to GPS processor {"connection_id":47004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:05:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":47004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:05:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:05:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:05:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:05:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769513984001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:05:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:05:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:05:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769513984001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:05:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:05:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:05:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:05:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:05:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769513984001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:05:56] local.INFO: DEBUG: GPS processor result {"connection_id":47004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23314,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:05:56] local.INFO: GPS data processed {"connection_id":47004,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:05:56] local.INFO: Acknowledgment sent {"connection_id":47004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:05:59] local.INFO: TCP Data received {"connection_id":46256,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46256,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:05:59] local.INFO: Processing buffer {"connection_id":46256,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:05:59] local.INFO: Packet analysis {"connection_id":46256,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:05:59] local.INFO: Extracted packet for processing {"connection_id":46256,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769468160001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:05: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-04-17 22:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776443536000,"timestamp_ms":1776443536000,"timestamp_seconds":1776443536,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c493280"} 
[2026-04-17 22:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:05:59] 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-04-17 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:05: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-04-17 22: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-04-17 22:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46256,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46256,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769468160001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769468160001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:05:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:05:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769468160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":46256,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23315,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:05:59] local.INFO: GPS data processed {"connection_id":46256,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:05:59] local.INFO: Acknowledgment sent {"connection_id":46256,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:06:00] local.INFO: TCP Data received {"connection_id":47004,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:06:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:06:00] local.INFO: Processing buffer {"connection_id":47004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:06:00] local.INFO: Packet analysis {"connection_id":47004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:06:00] local.INFO: Extracted packet for processing {"connection_id":47004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:06:00] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":21,"angle":261,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:06:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769513984001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:06:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:06:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:06:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:06:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776443715000,"timestamp_ms":1776443715000,"timestamp_seconds":1776443715,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4bedb8"} 
[2026-04-17 22:06:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:06:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 22:06:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:06:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:06:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:06:00] local.INFO: Teltonika packet parsed successfully {"connection_id":47004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:06:00] local.INFO: Passing IMEI to GPS processor {"connection_id":47004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:06:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":47004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:06:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:06:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:06:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:06:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769513984001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:06:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:06:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:06:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769513984001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:06:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:06:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:06:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:06:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:06:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769513984001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:06:00] local.INFO: DEBUG: GPS processor result {"connection_id":47004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23316,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:06:00] local.INFO: GPS data processed {"connection_id":47004,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:06:00] local.INFO: Acknowledgment sent {"connection_id":47004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:06:26] local.INFO: TCP Data received {"connection_id":46257,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:06:26] local.INFO: Processing buffer {"connection_id":46257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:06:26] local.INFO: IMEI packet received {"connection_id":46257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":46257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:06:31] local.INFO: TCP Data received {"connection_id":46257,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46257,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:06:31] local.INFO: Processing buffer {"connection_id":46257,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:06:31] local.INFO: IMEI packet received {"connection_id":46257,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:06:31] local.INFO: IMEI acknowledgment sent {"connection_id":46257,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:06:31] local.INFO: TCP Data received {"connection_id":47004,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:06:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47004,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:06:31] local.INFO: Processing buffer {"connection_id":47004,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:06:31] local.INFO: Packet analysis {"connection_id":47004,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:06:31] local.INFO: Extracted packet for processing {"connection_id":47004,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:06:31] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":21,"angle":261,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:06:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769513984001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:06:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:06:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:06:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:06:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776443715000,"timestamp_ms":1776443715000,"timestamp_seconds":1776443715,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4bedb8"} 
[2026-04-17 22:06:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:06:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 22:06:31] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:06:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:06:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:06:31] local.INFO: Teltonika packet parsed successfully {"connection_id":47004,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:06:31] local.INFO: Passing IMEI to GPS processor {"connection_id":47004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:06:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":47004,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:06:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:06:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:06:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:06:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769513984001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:06:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:06:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:06:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769513984001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:06:31] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:06:31] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:06:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:06:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:06:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769513984001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:06:31] local.INFO: DEBUG: GPS processor result {"connection_id":47004,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23317,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:06:31] local.INFO: GPS data processed {"connection_id":47004,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:06:31] local.INFO: Acknowledgment sent {"connection_id":47004,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:06:32] local.INFO: TCP Data received {"connection_id":46257,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:06:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:06:32] local.INFO: Processing buffer {"connection_id":46257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:06:32] local.INFO: Packet analysis {"connection_id":46257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:06:32] local.INFO: Extracted packet for processing {"connection_id":46257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:06:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:06:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769468160001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:06:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:06:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:06:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:06:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776443536000,"timestamp_ms":1776443536000,"timestamp_seconds":1776443536,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c493280"} 
[2026-04-17 22:06:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:06:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:06:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:06:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:06:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:06:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:06:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:06:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:06:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:06:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:06:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:06:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:06:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:06:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769468160001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:06:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:06:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:06:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769468160001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:06:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:06:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:06:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:06:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:06:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769468160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:06:32] local.INFO: DEBUG: GPS processor result {"connection_id":46257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23318,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:06:32] local.INFO: GPS data processed {"connection_id":46257,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:06:32] local.INFO: Acknowledgment sent {"connection_id":46257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:06:37] local.INFO: TCP Data received {"connection_id":46257,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:06:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46257,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:06:37] local.INFO: Processing buffer {"connection_id":46257,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:06:37] local.INFO: Packet analysis {"connection_id":46257,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:06:37] local.INFO: Extracted packet for processing {"connection_id":46257,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:06:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:06:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769468160001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:06:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:06:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:06: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-04-17 22:06:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776443536000,"timestamp_ms":1776443536000,"timestamp_seconds":1776443536,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c493280"} 
[2026-04-17 22:06:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:06:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17664,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:06:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:06:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:06:37] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:06:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:06:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:06:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46257,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:06:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:06:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46257,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:06:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:06:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:06:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:06:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769468160001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:06:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:06:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:06:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769468160001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:06:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:06:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:06:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:06:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:06:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769468160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:06:37] local.INFO: DEBUG: GPS processor result {"connection_id":46257,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23319,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:06:37] local.INFO: GPS data processed {"connection_id":46257,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:06:37] local.INFO: Acknowledgment sent {"connection_id":46257,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:06:49] local.INFO: TCP Data received {"connection_id":47005,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:06:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:06:49] local.INFO: Processing buffer {"connection_id":47005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:06:49] local.INFO: IMEI packet received {"connection_id":47005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:06:49] local.INFO: IMEI acknowledgment sent {"connection_id":47005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:06:55] local.INFO: TCP Data received {"connection_id":47005,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:06:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47005,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:06:55] local.INFO: Processing buffer {"connection_id":47005,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:06:55] local.INFO: IMEI packet received {"connection_id":47005,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:06:55] local.INFO: IMEI acknowledgment sent {"connection_id":47005,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:06:56] local.INFO: TCP Data received {"connection_id":47005,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:06:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:06:56] local.INFO: Processing buffer {"connection_id":47005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:06:56] local.INFO: Packet analysis {"connection_id":47005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:06:56] local.INFO: Extracted packet for processing {"connection_id":47005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:06:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":21,"angle":261,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:06:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769513984001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:06:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:06:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:06:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:06:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776443715000,"timestamp_ms":1776443715000,"timestamp_seconds":1776443715,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4bedb8"} 
[2026-04-17 22:06:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:06:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 22:06:56] 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-04-17 22: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-04-17 22:06:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:06:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:06:56] local.INFO: Teltonika packet parsed successfully {"connection_id":47005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:06:56] local.INFO: Passing IMEI to GPS processor {"connection_id":47005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:06:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":47005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:06:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:06:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:06:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:06:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769513984001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:06:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:06:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:06:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769513984001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:06:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:06:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:06:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:06:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:06:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769513984001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:06:56] local.INFO: DEBUG: GPS processor result {"connection_id":47005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23320,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:06:56] local.INFO: GPS data processed {"connection_id":47005,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:06:56] local.INFO: Acknowledgment sent {"connection_id":47005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:07:21] local.INFO: TCP Data received {"connection_id":46504,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:07:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:07:21] local.INFO: Processing buffer {"connection_id":46504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:07:21] local.INFO: IMEI packet received {"connection_id":46504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:07:21] local.INFO: IMEI acknowledgment sent {"connection_id":46504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:07:26] local.INFO: TCP Data received {"connection_id":46504,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:07:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46504,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:07:26] local.INFO: Processing buffer {"connection_id":46504,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:07:26] local.INFO: IMEI packet received {"connection_id":46504,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:07:26] local.INFO: IMEI acknowledgment sent {"connection_id":46504,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:07:27] local.INFO: TCP Data received {"connection_id":47005,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47005,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:07:27] local.INFO: Processing buffer {"connection_id":47005,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:07:27] local.INFO: Packet analysis {"connection_id":47005,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:07:27] local.INFO: Extracted packet for processing {"connection_id":47005,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:07:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":21,"angle":261,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769513984001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:07:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776443715000,"timestamp_ms":1776443715000,"timestamp_seconds":1776443715,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4bedb8"} 
[2026-04-17 22:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:07:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 22:07:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":47005,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":47005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":47005,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769513984001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769513984001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:07:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:07:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769513984001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":47005,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23321,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:07:27] local.INFO: GPS data processed {"connection_id":47005,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:07:27] local.INFO: Acknowledgment sent {"connection_id":47005,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:07:27] local.INFO: TCP Data received {"connection_id":46504,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:07:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:07:27] local.INFO: Processing buffer {"connection_id":46504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c493280012d196500071ff090003a013b2c..."} 
[2026-04-17 22:07:27] local.INFO: Packet analysis {"connection_id":46504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:07:27] local.INFO: Extracted packet for processing {"connection_id":46504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c49"} 
[2026-04-17 22:07:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:07:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769468160001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:07:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:07:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:07: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-04-17 22:07:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776443536000,"timestamp_ms":1776443536000,"timestamp_seconds":1776443536,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c493280"} 
[2026-04-17 22:07:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:07:27] 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-04-17 22:07:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:07: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-04-17 22:07:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:07:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:07:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:07:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:07:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:07:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:07:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:07:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:07:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:07:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769468160001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:07:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:07:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:07:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769468160001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:07:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:07:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:07:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:07:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:07:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769468160001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:07:27] local.INFO: DEBUG: GPS processor result {"connection_id":46504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23322,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:07:27] local.INFO: GPS data processed {"connection_id":46504,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:07:27] local.INFO: Acknowledgment sent {"connection_id":46504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:07:49] local.INFO: TCP Data received {"connection_id":46151,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:07:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:07:49] local.INFO: Processing buffer {"connection_id":46151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:07:49] local.INFO: IMEI packet received {"connection_id":46151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:07:49] local.INFO: IMEI acknowledgment sent {"connection_id":46151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:07:55] local.INFO: TCP Data received {"connection_id":46151,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:07:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46151,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:07:55] local.INFO: Processing buffer {"connection_id":46151,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:07:55] local.INFO: IMEI packet received {"connection_id":46151,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:07:55] local.INFO: IMEI acknowledgment sent {"connection_id":46151,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:07:56] local.INFO: TCP Data received {"connection_id":46151,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:07:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:07:56] local.INFO: Processing buffer {"connection_id":46151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:07:56] local.INFO: Packet analysis {"connection_id":46151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:07:56] local.INFO: Extracted packet for processing {"connection_id":46151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:07:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":21,"angle":261,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:07:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769513984001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:07:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:07:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:07:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:07:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776443715000,"timestamp_ms":1776443715000,"timestamp_seconds":1776443715,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4bedb8"} 
[2026-04-17 22:07:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:07:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 22:07:56] 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-04-17 22: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-04-17 22:07:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:07:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:07:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:07:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:07:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:07:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:07:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:07:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:07:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769513984001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:07:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:07:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:07:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769513984001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:07:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:07:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:07:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:07:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:07:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769513984001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:07:56] local.INFO: DEBUG: GPS processor result {"connection_id":46151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23323,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:07:56] local.INFO: GPS data processed {"connection_id":46151,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:07:56] local.INFO: Acknowledgment sent {"connection_id":46151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:07:59] local.INFO: TCP Data received {"connection_id":46504,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:07:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46504,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:07:59] local.INFO: Processing buffer {"connection_id":46504,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:07:59] local.INFO: Packet analysis {"connection_id":46504,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:07:59] local.INFO: Extracted packet for processing {"connection_id":46504,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:07:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:07:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769545216001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:07:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:07:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:07: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-04-17 22:07:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776443837000,"timestamp_ms":1776443837000,"timestamp_seconds":1776443837,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4dca48"} 
[2026-04-17 22:07:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:07:59] 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-04-17 22:07:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:07:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:07:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:07:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:07:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:07:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46504,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:07:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:07:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46504,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:07:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:07:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:07:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:07:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769545216001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:07:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:07:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:07:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769545216001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:07:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:07:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:07:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:07:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:07:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769545216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:07:59] local.INFO: DEBUG: GPS processor result {"connection_id":46504,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23324,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:07:59] local.INFO: GPS data processed {"connection_id":46504,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:07:59] local.INFO: Acknowledgment sent {"connection_id":46504,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:08:21] local.INFO: TCP Data received {"connection_id":47006,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:08:21] local.INFO: Processing buffer {"connection_id":47006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:08:21] local.INFO: IMEI packet received {"connection_id":47006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":47006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:08:26] local.INFO: TCP Data received {"connection_id":47006,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47006,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:08:26] local.INFO: Processing buffer {"connection_id":47006,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:08:26] local.INFO: IMEI packet received {"connection_id":47006,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":47006,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:08:27] local.INFO: TCP Data received {"connection_id":46151,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46151,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:08:27] local.INFO: Processing buffer {"connection_id":46151,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:08:27] local.INFO: Packet analysis {"connection_id":46151,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:08:27] local.INFO: Extracted packet for processing {"connection_id":46151,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:08:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":21,"angle":261,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769513984001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:08:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776443715000,"timestamp_ms":1776443715000,"timestamp_seconds":1776443715,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4bedb8"} 
[2026-04-17 22:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:08:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 22:08:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46151,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46151,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769513984001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769513984001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:08:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:08:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769513984001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":46151,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23325,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:08:27] local.INFO: GPS data processed {"connection_id":46151,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:08:27] local.INFO: Acknowledgment sent {"connection_id":46151,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:08:27] local.INFO: TCP Data received {"connection_id":47006,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:08:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:08:27] local.INFO: Processing buffer {"connection_id":47006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:08:27] local.INFO: Packet analysis {"connection_id":47006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:08:27] local.INFO: Extracted packet for processing {"connection_id":47006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:08:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:08:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769545216001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:08:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:08:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22: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-04-17 22:08:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776443837000,"timestamp_ms":1776443837000,"timestamp_seconds":1776443837,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4dca48"} 
[2026-04-17 22:08:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:08:27] 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-04-17 22:08:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:08: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-04-17 22: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-04-17 22:08:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:08:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:08:27] local.INFO: Teltonika packet parsed successfully {"connection_id":47006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:08:27] local.INFO: Passing IMEI to GPS processor {"connection_id":47006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:08:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":47006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:08:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:08:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:08:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:08:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769545216001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:08:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:08:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:08:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769545216001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:08:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:08:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:08:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:08:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:08:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769545216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:08:27] local.INFO: DEBUG: GPS processor result {"connection_id":47006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23326,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:08:27] local.INFO: GPS data processed {"connection_id":47006,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:08:27] local.INFO: Acknowledgment sent {"connection_id":47006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:08:55] local.INFO: TCP Data received {"connection_id":46505,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:08:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:08:55] local.INFO: Processing buffer {"connection_id":46505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:08:55] local.INFO: IMEI packet received {"connection_id":46505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:08:55] local.INFO: IMEI acknowledgment sent {"connection_id":46505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:08:59] local.INFO: TCP Data received {"connection_id":47006,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47006,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:08:59] local.INFO: Processing buffer {"connection_id":47006,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:08:59] local.INFO: Packet analysis {"connection_id":47006,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:08:59] local.INFO: Extracted packet for processing {"connection_id":47006,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:08:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:08:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769545216001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:08:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:08:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22: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-04-17 22:08:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776443837000,"timestamp_ms":1776443837000,"timestamp_seconds":1776443837,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4dca48"} 
[2026-04-17 22:08:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:08:59] 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-04-17 22: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":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:08:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:08:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:08:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:08:59] local.INFO: Teltonika packet parsed successfully {"connection_id":47006,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:08:59] local.INFO: Passing IMEI to GPS processor {"connection_id":47006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:08:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":47006,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:08:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:08:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:08:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:08:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769545216001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:08:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:08:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:08:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769545216001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:08:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:08:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:08:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:08:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:08:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769545216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:08:59] local.INFO: DEBUG: GPS processor result {"connection_id":47006,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23327,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:08:59] local.INFO: GPS data processed {"connection_id":47006,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:08:59] local.INFO: Acknowledgment sent {"connection_id":47006,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:08:59] local.INFO: TCP Data received {"connection_id":46505,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:08:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46505,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:08:59] local.INFO: Processing buffer {"connection_id":46505,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:08:59] local.INFO: IMEI packet received {"connection_id":46505,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:08:59] local.INFO: IMEI acknowledgment sent {"connection_id":46505,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:09:00] local.INFO: TCP Data received {"connection_id":46505,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:09:00] local.INFO: Processing buffer {"connection_id":46505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:09:00] local.INFO: Packet analysis {"connection_id":46505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:09:00] local.INFO: Extracted packet for processing {"connection_id":46505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:09:00] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":21,"angle":261,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769513984001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:09:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776443715000,"timestamp_ms":1776443715000,"timestamp_seconds":1776443715,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4bedb8"} 
[2026-04-17 22:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:09:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:09:00] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 22:09:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:09:00] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769513984001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769513984001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:09:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:09:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769513984001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":46505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23328,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:09:00] local.INFO: GPS data processed {"connection_id":46505,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:09:00] local.INFO: Acknowledgment sent {"connection_id":46505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:09:05] local.INFO: TCP Data received {"connection_id":46505,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:09:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46505,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:09:05] local.INFO: Processing buffer {"connection_id":46505,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:09:05] local.INFO: Packet analysis {"connection_id":46505,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:09:05] local.INFO: Extracted packet for processing {"connection_id":46505,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:09:05] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":21,"angle":261,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:09:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769513984001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:09:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:09:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:09:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:09:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776443715000,"timestamp_ms":1776443715000,"timestamp_seconds":1776443715,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4bedb8"} 
[2026-04-17 22:09:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:09:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 22:09:05] 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-04-17 22: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-04-17 22:09:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:09:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:09:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46505,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:09:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:09:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46505,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:09:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:09:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:09:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:09:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769513984001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:09:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:09:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:09:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769513984001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:09:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:09:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:09:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:09:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:09:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769513984001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:09:05] local.INFO: DEBUG: GPS processor result {"connection_id":46505,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23329,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:09:05] local.INFO: GPS data processed {"connection_id":46505,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:09:05] local.INFO: Acknowledgment sent {"connection_id":46505,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:09:21] local.INFO: TCP Data received {"connection_id":46259,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:09:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:09:21] local.INFO: Processing buffer {"connection_id":46259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:09:21] local.INFO: IMEI packet received {"connection_id":46259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:09:21] local.INFO: IMEI acknowledgment sent {"connection_id":46259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:09:26] local.INFO: TCP Data received {"connection_id":46259,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46259,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:09:26] local.INFO: Processing buffer {"connection_id":46259,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:09:26] local.INFO: IMEI packet received {"connection_id":46259,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":46259,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:09:27] local.INFO: TCP Data received {"connection_id":46259,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:09:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:09:27] local.INFO: Processing buffer {"connection_id":46259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:09:27] local.INFO: Packet analysis {"connection_id":46259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:09:27] local.INFO: Extracted packet for processing {"connection_id":46259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:09:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:09:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769545216001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:09:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:09:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:09: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-04-17 22:09:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776443837000,"timestamp_ms":1776443837000,"timestamp_seconds":1776443837,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4dca48"} 
[2026-04-17 22:09:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:09:27] 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-04-17 22:09:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:09: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-04-17 22:09:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:09:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:09:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:09:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:09:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:09:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:09:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:09:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:09:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:09:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769545216001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:09:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:09:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:09:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769545216001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:09:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:09:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:09:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:09:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:09:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769545216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:09:27] local.INFO: DEBUG: GPS processor result {"connection_id":46259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23330,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:09:27] local.INFO: GPS data processed {"connection_id":46259,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:09:27] local.INFO: Acknowledgment sent {"connection_id":46259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:09:50] local.INFO: TCP Data received {"connection_id":47007,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:09:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:09:50] local.INFO: Processing buffer {"connection_id":47007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:09:50] local.INFO: IMEI packet received {"connection_id":47007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:09:50] local.INFO: IMEI acknowledgment sent {"connection_id":47007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:09:55] local.INFO: TCP Data received {"connection_id":47007,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:09:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47007,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:09:55] local.INFO: Processing buffer {"connection_id":47007,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:09:55] local.INFO: IMEI packet received {"connection_id":47007,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:09:55] local.INFO: IMEI acknowledgment sent {"connection_id":47007,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:09:56] local.INFO: TCP Data received {"connection_id":47007,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:09:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:09:56] local.INFO: Processing buffer {"connection_id":47007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:09:56] local.INFO: Packet analysis {"connection_id":47007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:09:56] local.INFO: Extracted packet for processing {"connection_id":47007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:09:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":21,"angle":261,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:09:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769513984001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:09:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:09:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:09:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:09:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776443715000,"timestamp_ms":1776443715000,"timestamp_seconds":1776443715,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4bedb8"} 
[2026-04-17 22:09:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:09:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:09:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 22:09:56] 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-04-17 22:09:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:09:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:09:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:09:56] local.INFO: Teltonika packet parsed successfully {"connection_id":47007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:09:56] local.INFO: Passing IMEI to GPS processor {"connection_id":47007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:09:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":47007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:09:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:09:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:09:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:09:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769513984001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:09:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:09:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:09:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769513984001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:09:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:09:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:09:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:09:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:09:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769513984001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:09:56] local.INFO: DEBUG: GPS processor result {"connection_id":47007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23331,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:09:56] local.INFO: GPS data processed {"connection_id":47007,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:09:56] local.INFO: Acknowledgment sent {"connection_id":47007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:09:59] local.INFO: TCP Data received {"connection_id":46259,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46259,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:09:59] local.INFO: Processing buffer {"connection_id":46259,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:09:59] local.INFO: Packet analysis {"connection_id":46259,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:09:59] local.INFO: Extracted packet for processing {"connection_id":46259,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:09:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769545216001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:09: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-04-17 22:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776443837000,"timestamp_ms":1776443837000,"timestamp_seconds":1776443837,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4dca48"} 
[2026-04-17 22:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:09:59] 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-04-17 22:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46259,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46259,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769545216001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769545216001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:09:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:09:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769545216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:09:59] local.INFO: DEBUG: GPS processor result {"connection_id":46259,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23332,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:09:59] local.INFO: GPS data processed {"connection_id":46259,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:09:59] local.INFO: Acknowledgment sent {"connection_id":46259,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:10:26] local.INFO: TCP Data received {"connection_id":46152,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:10:26] local.INFO: Processing buffer {"connection_id":46152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:10:26] local.INFO: IMEI packet received {"connection_id":46152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":46152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:10:27] local.INFO: TCP Data received {"connection_id":47007,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47007,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:10:27] local.INFO: Processing buffer {"connection_id":47007,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4bedb8012d77a0c005f2a608001501052e..."} 
[2026-04-17 22:10:27] local.INFO: Packet analysis {"connection_id":47007,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:10:27] local.INFO: Extracted packet for processing {"connection_id":47007,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4b"} 
[2026-04-17 22:10:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":21,"angle":261,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769513984001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:10:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776443715000,"timestamp_ms":1776443715000,"timestamp_seconds":1776443715,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4bedb8"} 
[2026-04-17 22:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:10:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":102,"data_length":795,"current_offset":136} 
[2026-04-17 22:10:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1616,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":47007,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":47007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":47007,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769513984001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769513984001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:10:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:10:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769513984001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:10:27] local.INFO: DEBUG: GPS processor result {"connection_id":47007,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23333,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:10:27] local.INFO: GPS data processed {"connection_id":47007,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:10:27] local.INFO: Acknowledgment sent {"connection_id":47007,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:10:31] local.INFO: TCP Data received {"connection_id":46152,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:10:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46152,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:10:31] local.INFO: Processing buffer {"connection_id":46152,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:10:31] local.INFO: IMEI packet received {"connection_id":46152,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:10:31] local.INFO: IMEI acknowledgment sent {"connection_id":46152,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:10:32] local.INFO: TCP Data received {"connection_id":46152,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:10:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:10:32] local.INFO: Processing buffer {"connection_id":46152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:10:32] local.INFO: Packet analysis {"connection_id":46152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:10:32] local.INFO: Extracted packet for processing {"connection_id":46152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:10:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:10:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769545216001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:10:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:10:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:10:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:10:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776443837000,"timestamp_ms":1776443837000,"timestamp_seconds":1776443837,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4dca48"} 
[2026-04-17 22:10:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:10:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:10:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:10:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:10:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:10:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:10:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:10:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:10:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:10:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:10:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:10:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:10:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:10:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769545216001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:10:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:10:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:10:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769545216001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:10:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:10:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:10:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:10:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:10:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769545216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:10:32] local.INFO: DEBUG: GPS processor result {"connection_id":46152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23334,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:10:32] local.INFO: GPS data processed {"connection_id":46152,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:10:32] local.INFO: Acknowledgment sent {"connection_id":46152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:10:37] local.INFO: TCP Data received {"connection_id":46152,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:10:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46152,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:10:37] local.INFO: Processing buffer {"connection_id":46152,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:10:37] local.INFO: Packet analysis {"connection_id":46152,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:10:37] local.INFO: Extracted packet for processing {"connection_id":46152,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:10:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:10:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769545216001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:10:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:10:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:10:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:10:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776443837000,"timestamp_ms":1776443837000,"timestamp_seconds":1776443837,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4dca48"} 
[2026-04-17 22:10:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:10:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:10:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:10:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:10:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:10:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46152,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:10:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:10:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46152,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:10:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:10:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:10:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:10:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769545216001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:10:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:10:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:10:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769545216001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:10:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:10:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:10:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:10:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:10:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769545216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:10:37] local.INFO: DEBUG: GPS processor result {"connection_id":46152,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23335,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:10:37] local.INFO: GPS data processed {"connection_id":46152,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:10:37] local.INFO: Acknowledgment sent {"connection_id":46152,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:10:38] local.INFO: TCP Data received {"connection_id":47008,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:10:38] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47008,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:10:38] local.INFO: Processing buffer {"connection_id":47008,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:10:38] local.INFO: IMEI packet received {"connection_id":47008,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 22:10:38] local.INFO: IMEI acknowledgment sent {"connection_id":47008,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:10:50] local.INFO: TCP Data received {"connection_id":46260,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:10:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:10:50] local.INFO: Processing buffer {"connection_id":46260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:10:50] local.INFO: IMEI packet received {"connection_id":46260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:10:50] local.INFO: IMEI acknowledgment sent {"connection_id":46260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:10:54] local.INFO: TCP Data received {"connection_id":46260,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:10:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46260,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:10:54] local.INFO: Processing buffer {"connection_id":46260,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:10:54] local.INFO: IMEI packet received {"connection_id":46260,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:10:54] local.INFO: IMEI acknowledgment sent {"connection_id":46260,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:10:55] local.INFO: TCP Data received {"connection_id":46260,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:10:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:10:55] local.INFO: Processing buffer {"connection_id":46260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:10:55] local.INFO: Packet analysis {"connection_id":46260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:10:55] local.INFO: Extracted packet for processing {"connection_id":46260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:10:55] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":29,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:10:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769591040001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:10:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:10:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:10:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:10:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776444016000,"timestamp_ms":1776444016000,"timestamp_seconds":1776444016,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c508580"} 
[2026-04-17 22:10:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:10:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:10:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:10:55] 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-04-17 22:10:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:10:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:10:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:10:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:10:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:10:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:10:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:10:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:10:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:10:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769591040001,"66":25343,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:10:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:10:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:10:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769591040001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:10:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:10:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:10:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:10:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:10:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769591040001,"power":25343,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:10:55] local.INFO: DEBUG: GPS processor result {"connection_id":46260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23336,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:10:55] local.INFO: GPS data processed {"connection_id":46260,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:10:55] local.INFO: Acknowledgment sent {"connection_id":46260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:11:03] local.INFO: TCP Data received {"connection_id":47009,"ip":"42.106.6.27","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:11:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47009,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:11:03] local.INFO: Processing buffer {"connection_id":47009,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:11:03] local.INFO: IMEI packet received {"connection_id":47009,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 22:11:03] local.INFO: IMEI acknowledgment sent {"connection_id":47009,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:11:21] local.INFO: TCP Data received {"connection_id":46153,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:11:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:11:21] local.INFO: Processing buffer {"connection_id":46153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:11:21] local.INFO: IMEI packet received {"connection_id":46153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:11:21] local.INFO: IMEI acknowledgment sent {"connection_id":46153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:11:26] local.INFO: TCP Data received {"connection_id":46260,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46260,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:11:26] local.INFO: Processing buffer {"connection_id":46260,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:11:26] local.INFO: Packet analysis {"connection_id":46260,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:11:26] local.INFO: Extracted packet for processing {"connection_id":46260,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:11:26] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":29,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:11:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769591040001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:11:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:11:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:11:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:11:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776444016000,"timestamp_ms":1776444016000,"timestamp_seconds":1776444016,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c508580"} 
[2026-04-17 22:11:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:11:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:11:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:11:26] 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-04-17 22:11:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:11:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:11:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:11:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46260,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:11:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:11:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46260,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:11:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:11:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:11:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:11:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769591040001,"66":25343,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:11:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:11:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:11:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769591040001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:11:26] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:11:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:11:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:11:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:11:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769591040001,"power":25343,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:11:26] local.INFO: DEBUG: GPS processor result {"connection_id":46260,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23337,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:11:26] local.INFO: GPS data processed {"connection_id":46260,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:11:26] local.INFO: Acknowledgment sent {"connection_id":46260,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:11:26] local.INFO: TCP Data received {"connection_id":46153,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:11:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46153,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:11:26] local.INFO: Processing buffer {"connection_id":46153,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:11:26] local.INFO: IMEI packet received {"connection_id":46153,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:11:26] local.INFO: IMEI acknowledgment sent {"connection_id":46153,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:11:27] local.INFO: TCP Data received {"connection_id":46153,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:11:27] local.INFO: Processing buffer {"connection_id":46153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:11:27] local.INFO: Packet analysis {"connection_id":46153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:11:27] local.INFO: Extracted packet for processing {"connection_id":46153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:11:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:11:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769545216001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:11:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:11:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:11: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-04-17 22:11:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776443837000,"timestamp_ms":1776443837000,"timestamp_seconds":1776443837,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4dca48"} 
[2026-04-17 22:11:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:11:27] 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-04-17 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:11: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-04-17 22: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-04-17 22:11:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:11:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:11:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:11:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:11:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:11:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:11:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:11:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:11:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769545216001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:11:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:11:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:11:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769545216001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:11:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:11:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:11:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:11:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:11:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769545216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:11:27] local.INFO: DEBUG: GPS processor result {"connection_id":46153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23338,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:11:27] local.INFO: GPS data processed {"connection_id":46153,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:11:27] local.INFO: Acknowledgment sent {"connection_id":46153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:11:49] local.INFO: TCP Data received {"connection_id":47011,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:11:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:11:49] local.INFO: Processing buffer {"connection_id":47011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:11:49] local.INFO: IMEI packet received {"connection_id":47011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:11:49] local.INFO: IMEI acknowledgment sent {"connection_id":47011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:11:55] local.INFO: TCP Data received {"connection_id":47011,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:11:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47011,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:11:55] local.INFO: Processing buffer {"connection_id":47011,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:11:55] local.INFO: IMEI packet received {"connection_id":47011,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:11:55] local.INFO: IMEI acknowledgment sent {"connection_id":47011,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:11:56] local.INFO: TCP Data received {"connection_id":47011,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:11:56] local.INFO: Processing buffer {"connection_id":47011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:11:56] local.INFO: Packet analysis {"connection_id":47011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:11:56] local.INFO: Extracted packet for processing {"connection_id":47011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:11:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":29,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:11:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769591040001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:11:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:11:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:11:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:11:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776444016000,"timestamp_ms":1776444016000,"timestamp_seconds":1776444016,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c508580"} 
[2026-04-17 22:11:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:11:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:11:56] 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-04-17 22: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-04-17 22:11:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:11:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:11:56] local.INFO: Teltonika packet parsed successfully {"connection_id":47011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:11:56] local.INFO: Passing IMEI to GPS processor {"connection_id":47011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:11:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":47011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:11:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:11:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:11:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:11:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769591040001,"66":25343,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:11:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:11:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:11:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769591040001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:11:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:11:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:11:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:11:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:11:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769591040001,"power":25343,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:11:56] local.INFO: DEBUG: GPS processor result {"connection_id":47011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23339,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:11:56] local.INFO: GPS data processed {"connection_id":47011,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:11:56] local.INFO: Acknowledgment sent {"connection_id":47011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:11:59] local.INFO: TCP Data received {"connection_id":46153,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:11:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46153,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:11:59] local.INFO: Processing buffer {"connection_id":46153,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:11:59] local.INFO: Packet analysis {"connection_id":46153,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:11:59] local.INFO: Extracted packet for processing {"connection_id":46153,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:11:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:11:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769545216001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:11:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:11:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:11: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-04-17 22:11:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776443837000,"timestamp_ms":1776443837000,"timestamp_seconds":1776443837,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4dca48"} 
[2026-04-17 22:11:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:11:59] 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-04-17 22:11:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:11:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:11:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:11:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:11:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:11:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46153,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:11:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:11:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46153,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:11:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:11:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:11:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:11:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769545216001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:11:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:11:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:11:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769545216001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:11:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:11:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:11:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:11:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:11:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769545216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:11:59] local.INFO: DEBUG: GPS processor result {"connection_id":46153,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23340,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:11:59] local.INFO: GPS data processed {"connection_id":46153,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:11:59] local.INFO: Acknowledgment sent {"connection_id":46153,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:12:21] local.INFO: TCP Data received {"connection_id":46507,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:12:21] local.INFO: Processing buffer {"connection_id":46507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:12:21] local.INFO: IMEI packet received {"connection_id":46507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":46507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:12:26] local.INFO: TCP Data received {"connection_id":46507,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46507,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:12:26] local.INFO: Processing buffer {"connection_id":46507,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:12:26] local.INFO: IMEI packet received {"connection_id":46507,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":46507,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:12:27] local.INFO: TCP Data received {"connection_id":47011,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47011,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:12:27] local.INFO: Processing buffer {"connection_id":47011,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:12:27] local.INFO: Packet analysis {"connection_id":47011,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:12:27] local.INFO: Extracted packet for processing {"connection_id":47011,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:12:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":29,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769591040001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:12:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444016000,"timestamp_ms":1776444016000,"timestamp_seconds":1776444016,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c508580"} 
[2026-04-17 22:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:12:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:12:27] 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-04-17 22:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":47011,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":47011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":47011,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769591040001,"66":25343,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769591040001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:12:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:12:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769591040001,"power":25343,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":47011,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23341,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:12:27] local.INFO: GPS data processed {"connection_id":47011,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:12:27] local.INFO: Acknowledgment sent {"connection_id":47011,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:12:27] local.INFO: TCP Data received {"connection_id":46507,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:12:27] local.INFO: Processing buffer {"connection_id":46507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c4dca48012d196500071ff090003a013b2b..."} 
[2026-04-17 22:12:27] local.INFO: Packet analysis {"connection_id":46507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:12:27] local.INFO: Extracted packet for processing {"connection_id":46507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c4d"} 
[2026-04-17 22:12:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769545216001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:12: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-04-17 22:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776443837000,"timestamp_ms":1776443837000,"timestamp_seconds":1776443837,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c4dca48"} 
[2026-04-17 22:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:12:27] 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-04-17 22:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:12: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-04-17 22:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769545216001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769545216001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:12:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:12:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769545216001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":46507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23342,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:12:27] local.INFO: GPS data processed {"connection_id":46507,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:12:27] local.INFO: Acknowledgment sent {"connection_id":46507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:12:49] local.INFO: TCP Data received {"connection_id":46154,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:12:49] local.INFO: Processing buffer {"connection_id":46154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:12:49] local.INFO: IMEI packet received {"connection_id":46154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":46154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:12:55] local.INFO: TCP Data received {"connection_id":46154,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46154,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:12:55] local.INFO: Processing buffer {"connection_id":46154,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:12:55] local.INFO: IMEI packet received {"connection_id":46154,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":46154,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:12:56] local.INFO: TCP Data received {"connection_id":46154,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:12:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:12:56] local.INFO: Processing buffer {"connection_id":46154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:12:56] local.INFO: Packet analysis {"connection_id":46154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:12:56] local.INFO: Extracted packet for processing {"connection_id":46154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:12:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":29,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:12:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769591040001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:12:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:12:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:12:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:12:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776444016000,"timestamp_ms":1776444016000,"timestamp_seconds":1776444016,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c508580"} 
[2026-04-17 22:12:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:12:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:12:56] 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-04-17 22: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-04-17 22:12:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:12:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:12:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:12:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:12:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:12:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:12:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:12:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:12:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769591040001,"66":25343,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:12:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:12:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:12:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769591040001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:12:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:12:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:12:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:12:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:12:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769591040001,"power":25343,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:12:56] local.INFO: DEBUG: GPS processor result {"connection_id":46154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23343,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:12:56] local.INFO: GPS data processed {"connection_id":46154,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:12:56] local.INFO: Acknowledgment sent {"connection_id":46154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:12:59] local.INFO: TCP Data received {"connection_id":46507,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:12:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46507,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:12:59] local.INFO: Processing buffer {"connection_id":46507,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:12:59] local.INFO: Packet analysis {"connection_id":46507,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:12:59] local.INFO: Extracted packet for processing {"connection_id":46507,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:12:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:12:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769622272001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:12:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:12:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:12: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-04-17 22:12:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776444138000,"timestamp_ms":1776444138000,"timestamp_seconds":1776444138,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c526210"} 
[2026-04-17 22:12:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:12:59] 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-04-17 22:12:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:12: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-04-17 22:12:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:12:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:12:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:12:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46507,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:12:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:12:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46507,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:12:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:12:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:12:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:12:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769622272001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:12:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:12:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:12:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769622272001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:12:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:12:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:12:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:12:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:12:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769622272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:12:59] local.INFO: DEBUG: GPS processor result {"connection_id":46507,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23344,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:12:59] local.INFO: GPS data processed {"connection_id":46507,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:12:59] local.INFO: Acknowledgment sent {"connection_id":46507,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:13:26] local.INFO: TCP Data received {"connection_id":46263,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:13:26] local.INFO: Processing buffer {"connection_id":46263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:13:26] local.INFO: IMEI packet received {"connection_id":46263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":46263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:13:27] local.INFO: TCP Data received {"connection_id":46154,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46154,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:13:27] local.INFO: Processing buffer {"connection_id":46154,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:13:27] local.INFO: Packet analysis {"connection_id":46154,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:13:27] local.INFO: Extracted packet for processing {"connection_id":46154,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:13:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":29,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769591040001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:13:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444016000,"timestamp_ms":1776444016000,"timestamp_seconds":1776444016,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c508580"} 
[2026-04-17 22:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:13:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:13:27] 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-04-17 22: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-04-17 22:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46154,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46154,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769591040001,"66":25343,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769591040001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:13:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:13:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769591040001,"power":25343,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":46154,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23345,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:13:27] local.INFO: GPS data processed {"connection_id":46154,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:13:27] local.INFO: Acknowledgment sent {"connection_id":46154,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:13:31] local.INFO: TCP Data received {"connection_id":46263,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:13:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46263,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:13:31] local.INFO: Processing buffer {"connection_id":46263,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:13:31] local.INFO: IMEI packet received {"connection_id":46263,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:13:31] local.INFO: IMEI acknowledgment sent {"connection_id":46263,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:13:33] local.INFO: TCP Data received {"connection_id":46263,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:13:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:13:33] local.INFO: Processing buffer {"connection_id":46263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:13:33] local.INFO: Packet analysis {"connection_id":46263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:13:33] local.INFO: Extracted packet for processing {"connection_id":46263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:13:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:13:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769622272001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:13:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:13:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:13: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-04-17 22:13:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776444138000,"timestamp_ms":1776444138000,"timestamp_seconds":1776444138,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c526210"} 
[2026-04-17 22:13:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:13:33] 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-04-17 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:13:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:13:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:13:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:13:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:13:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:13:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:13:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:13:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:13:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:13:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769622272001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:13:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:13:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:13:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769622272001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:13:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:13:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:13:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:13:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:13:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769622272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:13:33] local.INFO: DEBUG: GPS processor result {"connection_id":46263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23346,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:13:33] local.INFO: GPS data processed {"connection_id":46263,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:13:33] local.INFO: Acknowledgment sent {"connection_id":46263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:13:37] local.INFO: TCP Data received {"connection_id":46263,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:13:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46263,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:13:37] local.INFO: Processing buffer {"connection_id":46263,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:13:37] local.INFO: Packet analysis {"connection_id":46263,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:13:37] local.INFO: Extracted packet for processing {"connection_id":46263,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:13:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 22:13:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769622272001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:13:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:13:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:13: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-04-17 22:13:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776444138000,"timestamp_ms":1776444138000,"timestamp_seconds":1776444138,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c526210"} 
[2026-04-17 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-04-17 22:13:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":17152,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:13:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 22:13:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:13:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46263,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:13:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:13:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46263,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:13:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:13:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:13:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:13:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769622272001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:13:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:13:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:13:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769622272001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:13:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:13:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:13:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:13:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:13:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769622272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:13:37] local.INFO: DEBUG: GPS processor result {"connection_id":46263,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23347,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:13:37] local.INFO: GPS data processed {"connection_id":46263,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:13:37] local.INFO: Acknowledgment sent {"connection_id":46263,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:13:55] local.INFO: TCP Data received {"connection_id":47012,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:13:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:13:55] local.INFO: Processing buffer {"connection_id":47012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:13:55] local.INFO: IMEI packet received {"connection_id":47012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:13:55] local.INFO: IMEI acknowledgment sent {"connection_id":47012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:14:00] local.INFO: TCP Data received {"connection_id":47012,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:14:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47012,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:14:00] local.INFO: Processing buffer {"connection_id":47012,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:14:00] local.INFO: IMEI packet received {"connection_id":47012,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:14:00] local.INFO: IMEI acknowledgment sent {"connection_id":47012,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:14:01] local.INFO: TCP Data received {"connection_id":47012,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:14:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:14:01] local.INFO: Processing buffer {"connection_id":47012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:14:01] local.INFO: Packet analysis {"connection_id":47012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:14:01] local.INFO: Extracted packet for processing {"connection_id":47012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:14:01] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":29,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:14:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769591040001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:14:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:14:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:14:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:14:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776444016000,"timestamp_ms":1776444016000,"timestamp_seconds":1776444016,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c508580"} 
[2026-04-17 22:14:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:14:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:14:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:14: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-04-17 22: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-04-17 22:14:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:14:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:14:01] local.INFO: Teltonika packet parsed successfully {"connection_id":47012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:14:01] local.INFO: Passing IMEI to GPS processor {"connection_id":47012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:14:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":47012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:14:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:14:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:14:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:14:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769591040001,"66":25343,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:14:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:14:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:14:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769591040001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:14:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:14:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:14:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:14:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:14:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769591040001,"power":25343,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:14:01] local.INFO: DEBUG: GPS processor result {"connection_id":47012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23348,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:14:01] local.INFO: GPS data processed {"connection_id":47012,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:14:01] local.INFO: Acknowledgment sent {"connection_id":47012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:14:05] local.INFO: TCP Data received {"connection_id":47012,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47012,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:14:05] local.INFO: Processing buffer {"connection_id":47012,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:14:05] local.INFO: Packet analysis {"connection_id":47012,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:14:05] local.INFO: Extracted packet for processing {"connection_id":47012,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:14:05] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":29,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769591040001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776444016000,"timestamp_ms":1776444016000,"timestamp_seconds":1776444016,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c508580"} 
[2026-04-17 22:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:14:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:14:05] 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-04-17 22: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-04-17 22:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":47012,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":47012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":47012,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769591040001,"66":25343,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769591040001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:14:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:14:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769591040001,"power":25343,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":47012,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23349,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:14:05] local.INFO: GPS data processed {"connection_id":47012,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:14:05] local.INFO: Acknowledgment sent {"connection_id":47012,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:14:21] local.INFO: TCP Data received {"connection_id":46155,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:14:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:14:21] local.INFO: Processing buffer {"connection_id":46155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:14:21] local.INFO: IMEI packet received {"connection_id":46155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:14:21] local.INFO: IMEI acknowledgment sent {"connection_id":46155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:14:26] local.INFO: TCP Data received {"connection_id":46155,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46155,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:14:26] local.INFO: Processing buffer {"connection_id":46155,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:14:26] local.INFO: IMEI packet received {"connection_id":46155,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":46155,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:14:27] local.INFO: TCP Data received {"connection_id":46155,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:14:27] local.INFO: Processing buffer {"connection_id":46155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:14:27] local.INFO: Packet analysis {"connection_id":46155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:14:27] local.INFO: Extracted packet for processing {"connection_id":46155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:14:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769622272001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:14: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-04-17 22:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444138000,"timestamp_ms":1776444138000,"timestamp_seconds":1776444138,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c526210"} 
[2026-04-17 22:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:14:27] 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-04-17 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:14: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-04-17 22: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-04-17 22:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769622272001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769622272001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:14:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:14:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769622272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":46155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23350,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:14:27] local.INFO: GPS data processed {"connection_id":46155,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:14:27] local.INFO: Acknowledgment sent {"connection_id":46155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:14:50] local.INFO: TCP Data received {"connection_id":46509,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:14:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:14:50] local.INFO: Processing buffer {"connection_id":46509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:14:50] local.INFO: IMEI packet received {"connection_id":46509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:14:50] local.INFO: IMEI acknowledgment sent {"connection_id":46509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:14:55] local.INFO: TCP Data received {"connection_id":46509,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:14:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46509,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:14:55] local.INFO: Processing buffer {"connection_id":46509,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:14:55] local.INFO: IMEI packet received {"connection_id":46509,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:14:55] local.INFO: IMEI acknowledgment sent {"connection_id":46509,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:14:56] local.INFO: TCP Data received {"connection_id":46509,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:14:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:14:56] local.INFO: Processing buffer {"connection_id":46509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:14:56] local.INFO: Packet analysis {"connection_id":46509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:14:56] local.INFO: Extracted packet for processing {"connection_id":46509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:14:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":29,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:14:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769591040001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:14:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:14:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:14:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:14:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776444016000,"timestamp_ms":1776444016000,"timestamp_seconds":1776444016,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c508580"} 
[2026-04-17 22:14:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:14:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:14:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:14:56] 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-04-17 22:14:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:14:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:14:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:14:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:14:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:14:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:14:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:14:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:14:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:14:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769591040001,"66":25343,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:14:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:14:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:14:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769591040001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:14:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:14:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:14:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:14:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:14:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769591040001,"power":25343,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:14:56] local.INFO: DEBUG: GPS processor result {"connection_id":46509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23351,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:14:56] local.INFO: GPS data processed {"connection_id":46509,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:14:56] local.INFO: Acknowledgment sent {"connection_id":46509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:14:59] local.INFO: TCP Data received {"connection_id":46155,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46155,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:14:59] local.INFO: Processing buffer {"connection_id":46155,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:14:59] local.INFO: Packet analysis {"connection_id":46155,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:14:59] local.INFO: Extracted packet for processing {"connection_id":46155,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:14:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769622272001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:14: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-04-17 22:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776444138000,"timestamp_ms":1776444138000,"timestamp_seconds":1776444138,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c526210"} 
[2026-04-17 22:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:14:59] 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-04-17 22:14:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:14: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-04-17 22:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46155,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46155,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769622272001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769622272001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:14:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769622272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":46155,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23352,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:14:59] local.INFO: GPS data processed {"connection_id":46155,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:14:59] local.INFO: Acknowledgment sent {"connection_id":46155,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:15:21] local.INFO: TCP Data received {"connection_id":46511,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:15:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:15:21] local.INFO: Processing buffer {"connection_id":46511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:15:21] local.INFO: IMEI packet received {"connection_id":46511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:15:21] local.INFO: IMEI acknowledgment sent {"connection_id":46511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:15:26] local.INFO: TCP Data received {"connection_id":46511,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46511,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:15:26] local.INFO: Processing buffer {"connection_id":46511,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:15:26] local.INFO: IMEI packet received {"connection_id":46511,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":46511,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:15:27] local.INFO: TCP Data received {"connection_id":46509,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:15:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46509,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:15:27] local.INFO: Processing buffer {"connection_id":46509,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c508580012d77a0c005f2a608001d01052f..."} 
[2026-04-17 22:15:27] local.INFO: Packet analysis {"connection_id":46509,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:15:27] local.INFO: Extracted packet for processing {"connection_id":46509,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c50"} 
[2026-04-17 22:15:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":29,"angle":261,"satellites":47,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:15:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769591040001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:15:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:15:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:15:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:15:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444016000,"timestamp_ms":1776444016000,"timestamp_seconds":1776444016,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c508580"} 
[2026-04-17 22:15:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:15:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:15:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:15:27] 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-04-17 22:15:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:15:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:15:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:15:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46509,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:15:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:15:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46509,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:15:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:15:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:15:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:15:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769591040001,"66":25343,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:15:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:15:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:15:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769591040001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:15:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:15:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:15:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:15:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:15:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769591040001,"power":25343,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":46509,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23353,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:15:28] local.INFO: GPS data processed {"connection_id":46509,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:15:28] local.INFO: Acknowledgment sent {"connection_id":46509,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:15:28] local.INFO: TCP Data received {"connection_id":46511,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:15:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:15:28] local.INFO: Processing buffer {"connection_id":46511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:15:28] local.INFO: Packet analysis {"connection_id":46511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:15:28] local.INFO: Extracted packet for processing {"connection_id":46511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:15:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:15:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769622272001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:15:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:15:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:15: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-04-17 22:15:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776444138000,"timestamp_ms":1776444138000,"timestamp_seconds":1776444138,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c526210"} 
[2026-04-17 22:15:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:15:28] 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-04-17 22:15:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:15: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-04-17 22:15:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:15:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:15:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:15:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:15:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:15:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:15:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:15:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:15:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:15:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769622272001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:15:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:15:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:15:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769622272001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:15:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:15:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:15:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:15:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:15:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769622272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:15:28] local.INFO: DEBUG: GPS processor result {"connection_id":46511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23354,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:15:28] local.INFO: GPS data processed {"connection_id":46511,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:15:28] local.INFO: Acknowledgment sent {"connection_id":46511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:15:49] local.INFO: TCP Data received {"connection_id":46156,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:15:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:15:49] local.INFO: Processing buffer {"connection_id":46156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:15:49] local.INFO: IMEI packet received {"connection_id":46156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:15:49] local.INFO: IMEI acknowledgment sent {"connection_id":46156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:15:55] local.INFO: TCP Data received {"connection_id":46156,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:15:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46156,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:15:55] local.INFO: Processing buffer {"connection_id":46156,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:15:55] local.INFO: IMEI packet received {"connection_id":46156,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:15:55] local.INFO: IMEI acknowledgment sent {"connection_id":46156,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:15:56] local.INFO: TCP Data received {"connection_id":46156,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c551960012d77a0c005f2a608001d01052e..."} 
[2026-04-17 22:15:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c551960012d77a0c005f2a608001d01052e..."} 
[2026-04-17 22:15:56] local.INFO: Processing buffer {"connection_id":46156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c551960012d77a0c005f2a608001d01052e..."} 
[2026-04-17 22:15:56] local.INFO: Packet analysis {"connection_id":46156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:15:56] local.INFO: Extracted packet for processing {"connection_id":46156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:15:56] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":29,"angle":261,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:15:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769668096001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:15:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:15:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:15:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:15:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776444316000,"timestamp_ms":1776444316000,"timestamp_seconds":1776444316,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c551960"} 
[2026-04-17 22:15:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:15:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 22:15:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:15:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:15:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:15:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:15:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:15:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:15:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:15:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:15:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:15:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769668096001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:15:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:15:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:15:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769668096001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:15:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:15:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:15:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:15:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:15:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769668096001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:15:56] local.INFO: DEBUG: GPS processor result {"connection_id":46156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23355,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:15:56] local.INFO: GPS data processed {"connection_id":46156,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:15:56] local.INFO: Acknowledgment sent {"connection_id":46156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:16:00] local.INFO: TCP Data received {"connection_id":46511,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:16:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46511,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:16:00] local.INFO: Processing buffer {"connection_id":46511,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:16:00] local.INFO: Packet analysis {"connection_id":46511,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:16:00] local.INFO: Extracted packet for processing {"connection_id":46511,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:16:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 22:16:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769622272001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:16:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:16:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22: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-04-17 22:16:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776444138000,"timestamp_ms":1776444138000,"timestamp_seconds":1776444138,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c526210"} 
[2026-04-17 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-04-17 22:16: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-04-17 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22: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-04-17 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-04-17 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-04-17 22:16:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:16:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46511,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:16:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:16:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46511,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:16:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:16:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:16:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:16:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769622272001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:16:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:16:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:16:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769622272001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:16:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:16:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:16:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:16:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:16:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769622272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:16:00] local.INFO: DEBUG: GPS processor result {"connection_id":46511,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23356,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:16:00] local.INFO: GPS data processed {"connection_id":46511,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:16:00] local.INFO: Acknowledgment sent {"connection_id":46511,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:16:14] local.INFO: TCP Data received {"connection_id":47013,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:16:14] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47013,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:16:14] local.INFO: Processing buffer {"connection_id":47013,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:16:14] local.INFO: IMEI packet received {"connection_id":47013,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 22:16:14] local.INFO: IMEI acknowledgment sent {"connection_id":47013,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:16:21] local.INFO: TCP Data received {"connection_id":46264,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:16:21] local.INFO: Processing buffer {"connection_id":46264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:16:21] local.INFO: IMEI packet received {"connection_id":46264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":46264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:16:26] local.INFO: TCP Data received {"connection_id":46264,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46264,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:16:26] local.INFO: Processing buffer {"connection_id":46264,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:16:26] local.INFO: IMEI packet received {"connection_id":46264,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:16:26] local.INFO: IMEI acknowledgment sent {"connection_id":46264,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:16:27] local.INFO: TCP Data received {"connection_id":46156,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c551960012d77a0c005f2a608001d01052e..."} 
[2026-04-17 22:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46156,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c551960012d77a0c005f2a608001d01052e..."} 
[2026-04-17 22:16:27] local.INFO: Processing buffer {"connection_id":46156,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c551960012d77a0c005f2a608001d01052e..."} 
[2026-04-17 22:16:27] local.INFO: Packet analysis {"connection_id":46156,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:16:27] local.INFO: Extracted packet for processing {"connection_id":46156,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:16:27] local.INFO: GPS Element Parsed {"raw_longitude":762814656,"raw_latitude":99788296,"longitude_deg":76.2814656,"latitude_deg":9.9788296,"altitude":29,"angle":261,"satellites":46,"speed":0,"hex_longitude":"2d77a0c0","hex_latitude":"05f2a608","is_valid_coordinates":true} 
[2026-04-17 22:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769668096001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:16:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444316000,"timestamp_ms":1776444316000,"timestamp_seconds":1776444316,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c551960"} 
[2026-04-17 22:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:16:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":255,"data_length":795,"current_offset":136} 
[2026-04-17 22:16:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2983,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46156,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46156,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769668096001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769668096001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:16:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:16:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769668096001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":46156,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23357,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:16:27] local.INFO: GPS data processed {"connection_id":46156,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:16:27] local.INFO: Acknowledgment sent {"connection_id":46156,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:16:27] local.INFO: TCP Data received {"connection_id":46264,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:16:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:16:27] local.INFO: Processing buffer {"connection_id":46264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:16:27] local.INFO: Packet analysis {"connection_id":46264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:16:27] local.INFO: Extracted packet for processing {"connection_id":46264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:16:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:16:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769622272001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:16:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:16:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:16: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-04-17 22:16:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444138000,"timestamp_ms":1776444138000,"timestamp_seconds":1776444138,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c526210"} 
[2026-04-17 22:16:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:16:27] 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-04-17 22:16:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:16: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-04-17 22:16:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:16:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:16:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:16:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:16:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:16:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:16:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:16:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:16:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:16:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769622272001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:16:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:16:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:16:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769622272001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:16:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:16:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:16:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:16:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:16:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769622272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:16:27] local.INFO: DEBUG: GPS processor result {"connection_id":46264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23358,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:16:27] local.INFO: GPS data processed {"connection_id":46264,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:16:27] local.INFO: Acknowledgment sent {"connection_id":46264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:16:59] local.INFO: TCP Data received {"connection_id":46264,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:16:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46264,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:16:59] local.INFO: Processing buffer {"connection_id":46264,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:16:59] local.INFO: Packet analysis {"connection_id":46264,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:16:59] local.INFO: Extracted packet for processing {"connection_id":46264,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:16:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:16:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:16:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769622272001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:16:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:16:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:16: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-04-17 22:16:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776444138000,"timestamp_ms":1776444138000,"timestamp_seconds":1776444138,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c526210"} 
[2026-04-17 22:16:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:16:59] 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-04-17 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:16: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-04-17 22: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-04-17 22:16:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:16:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:16:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46264,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:16:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:16:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46264,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:16:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:16:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:16:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:16:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769622272001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:16:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:16:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:16:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769622272001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:16:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:16:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:16:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:16:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:16:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769622272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:16:59] local.INFO: DEBUG: GPS processor result {"connection_id":46264,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23359,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:16:59] local.INFO: GPS data processed {"connection_id":46264,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:16:59] local.INFO: Acknowledgment sent {"connection_id":46264,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:17:00] local.INFO: TCP Data received {"connection_id":47014,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:17:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:17:00] local.INFO: Processing buffer {"connection_id":47014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:17:00] local.INFO: IMEI packet received {"connection_id":47014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:17:00] local.INFO: IMEI acknowledgment sent {"connection_id":47014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:17:05] local.INFO: TCP Data received {"connection_id":47014,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:17:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47014,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:17:05] local.INFO: Processing buffer {"connection_id":47014,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:17:05] local.INFO: IMEI packet received {"connection_id":47014,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:17:05] local.INFO: IMEI acknowledgment sent {"connection_id":47014,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:17:06] local.INFO: TCP Data received {"connection_id":47014,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:17:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:17:06] local.INFO: Processing buffer {"connection_id":47014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:17:06] local.INFO: Packet analysis {"connection_id":47014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:17:06] local.INFO: Extracted packet for processing {"connection_id":47014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:17:06] local.INFO: GPS Element Parsed {"raw_longitude":762815104,"raw_latitude":99787928,"longitude_deg":76.2815104,"latitude_deg":9.9787928,"altitude":29,"angle":213,"satellites":49,"speed":0,"hex_longitude":"2d77a280","hex_latitude":"05f2a498","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:17:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769744896001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:17:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:17:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:17:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:17:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776444368000,"timestamp_ms":1776444368000,"timestamp_seconds":1776444368,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c55e480"} 
[2026-04-17 22:17:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:17:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:17:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:17:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:17:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:17:06] local.INFO: Teltonika packet parsed successfully {"connection_id":47014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:17:06] local.INFO: Passing IMEI to GPS processor {"connection_id":47014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:17:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":47014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:17:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:17:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:17:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:17:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769744896001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:17:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:17:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:17:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769744896001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:17:06] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:17:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:17:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:17:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:17:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769744896001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:17:06] local.INFO: DEBUG: GPS processor result {"connection_id":47014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23360,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:17:06] local.INFO: GPS data processed {"connection_id":47014,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:17:06] local.INFO: Acknowledgment sent {"connection_id":47014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:17:10] local.INFO: TCP Data received {"connection_id":47014,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:17:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47014,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:17:10] local.INFO: Processing buffer {"connection_id":47014,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:17:10] local.INFO: Packet analysis {"connection_id":47014,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:17:10] local.INFO: Extracted packet for processing {"connection_id":47014,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:17:10] local.INFO: GPS Element Parsed {"raw_longitude":762815104,"raw_latitude":99787928,"longitude_deg":76.2815104,"latitude_deg":9.9787928,"altitude":29,"angle":213,"satellites":49,"speed":0,"hex_longitude":"2d77a280","hex_latitude":"05f2a498","is_valid_coordinates":true} 
[2026-04-17 22:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:17:10] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769744896001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:17:10] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:17:10] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:17:10] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:17:10] local.INFO: AVL Record Parsed {"raw_timestamp":1776444368000,"timestamp_ms":1776444368000,"timestamp_seconds":1776444368,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c55e480"} 
[2026-04-17 22:17:10] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:17:10] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:17:10] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:17:10] 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-04-17 22:17:10] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:17:10] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:17:10] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:17:10] local.INFO: Teltonika packet parsed successfully {"connection_id":47014,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:17:10] local.INFO: Passing IMEI to GPS processor {"connection_id":47014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:17:10] local.INFO: DEBUG: About to call GPS processor {"connection_id":47014,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:17:10] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:17:10] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:17:10] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:17:10] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769744896001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:17:10] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:17:10] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:17:10] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769744896001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:17:10] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:17:10] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:17:10] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:17:10] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:17:10] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769744896001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:17:10] local.INFO: DEBUG: GPS processor result {"connection_id":47014,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23361,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:17:10] local.INFO: GPS data processed {"connection_id":47014,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:17:10] local.INFO: Acknowledgment sent {"connection_id":47014,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:17:21] local.INFO: TCP Data received {"connection_id":46157,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:17:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:17:21] local.INFO: Processing buffer {"connection_id":46157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:17:21] local.INFO: IMEI packet received {"connection_id":46157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:17:21] local.INFO: IMEI acknowledgment sent {"connection_id":46157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:17:26] local.INFO: TCP Data received {"connection_id":46157,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46157,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:17:26] local.INFO: Processing buffer {"connection_id":46157,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:17:26] local.INFO: IMEI packet received {"connection_id":46157,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:17:26] local.INFO: IMEI acknowledgment sent {"connection_id":46157,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:17:27] local.INFO: TCP Data received {"connection_id":46157,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:17:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:17:27] local.INFO: Processing buffer {"connection_id":46157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c526210012d196500071ff090003a013b2e..."} 
[2026-04-17 22:17:27] local.INFO: Packet analysis {"connection_id":46157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:17:27] local.INFO: Extracted packet for processing {"connection_id":46157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c52"} 
[2026-04-17 22:17:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":46,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:17:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769622272001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:17:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:17:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22: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-04-17 22:17:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444138000,"timestamp_ms":1776444138000,"timestamp_seconds":1776444138,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c526210"} 
[2026-04-17 22:17:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:17:27] 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-04-17 22: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-04-17 22: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-04-17 22: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-04-17 22:17:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:17:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:17:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:17:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:17:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:17:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:17:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:17:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:17:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769622272001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:17:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:17:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:17:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769622272001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:17:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:17:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:17:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:17:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:17:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769622272001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:17:27] local.INFO: DEBUG: GPS processor result {"connection_id":46157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23362,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:17:27] local.INFO: GPS data processed {"connection_id":46157,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:17:27] local.INFO: Acknowledgment sent {"connection_id":46157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:17:49] local.INFO: TCP Data received {"connection_id":46265,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:17:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:17:49] local.INFO: Processing buffer {"connection_id":46265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:17:49] local.INFO: IMEI packet received {"connection_id":46265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:17:49] local.INFO: IMEI acknowledgment sent {"connection_id":46265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:17:55] local.INFO: TCP Data received {"connection_id":46265,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:17:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46265,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:17:55] local.INFO: Processing buffer {"connection_id":46265,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:17:55] local.INFO: IMEI packet received {"connection_id":46265,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:17:55] local.INFO: IMEI acknowledgment sent {"connection_id":46265,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:17:56] local.INFO: TCP Data received {"connection_id":46265,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:17:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:17:56] local.INFO: Processing buffer {"connection_id":46265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:17:56] local.INFO: Packet analysis {"connection_id":46265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:17:56] local.INFO: Extracted packet for processing {"connection_id":46265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:17:56] local.INFO: GPS Element Parsed {"raw_longitude":762815104,"raw_latitude":99787928,"longitude_deg":76.2815104,"latitude_deg":9.9787928,"altitude":29,"angle":213,"satellites":49,"speed":0,"hex_longitude":"2d77a280","hex_latitude":"05f2a498","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:17:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769744896001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:17:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:17:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:17:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:17:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776444368000,"timestamp_ms":1776444368000,"timestamp_seconds":1776444368,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c55e480"} 
[2026-04-17 22:17:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:17:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:17:56] 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-04-17 22:17:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:17:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:17:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:17:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:17:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:17:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:17:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:17:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:17:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:17:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769744896001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:17:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:17:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:17:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769744896001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:17:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:17:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:17:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:17:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:17:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769744896001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:17:56] local.INFO: DEBUG: GPS processor result {"connection_id":46265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23363,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:17:56] local.INFO: GPS data processed {"connection_id":46265,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:17:56] local.INFO: Acknowledgment sent {"connection_id":46265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:17:59] local.INFO: TCP Data received {"connection_id":46157,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:17:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46157,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:17:59] local.INFO: Processing buffer {"connection_id":46157,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:17:59] local.INFO: Packet analysis {"connection_id":46157,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:17:59] local.INFO: Extracted packet for processing {"connection_id":46157,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:17:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:17:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769699328001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:17:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:17:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:17: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-04-17 22:17:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776444439000,"timestamp_ms":1776444439000,"timestamp_seconds":1776444439,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c56f9d8"} 
[2026-04-17 22:17:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:17:59] 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-04-17 22:17:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:17: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-04-17 22:17:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:17:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:17:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:17:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46157,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:17:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:17:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46157,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:17:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:17:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:17:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:17:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769699328001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:17:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:17:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:17:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769699328001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:17:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:17:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:17:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:17:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:17:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769699328001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:17:59] local.INFO: DEBUG: GPS processor result {"connection_id":46157,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23364,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:17:59] local.INFO: GPS data processed {"connection_id":46157,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:17:59] local.INFO: Acknowledgment sent {"connection_id":46157,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:18:26] local.INFO: TCP Data received {"connection_id":47016,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:18:26] local.INFO: Processing buffer {"connection_id":47016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:18:26] local.INFO: IMEI packet received {"connection_id":47016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:18:26] local.INFO: IMEI acknowledgment sent {"connection_id":47016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:18:27] local.INFO: TCP Data received {"connection_id":46265,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:18:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46265,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:18:27] local.INFO: Processing buffer {"connection_id":46265,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:18:27] local.INFO: Packet analysis {"connection_id":46265,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:18:27] local.INFO: Extracted packet for processing {"connection_id":46265,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:18:27] local.INFO: GPS Element Parsed {"raw_longitude":762815104,"raw_latitude":99787928,"longitude_deg":76.2815104,"latitude_deg":9.9787928,"altitude":29,"angle":213,"satellites":49,"speed":0,"hex_longitude":"2d77a280","hex_latitude":"05f2a498","is_valid_coordinates":true} 
[2026-04-17 22:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:18:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769744896001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:18:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:18:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:18:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:18:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444368000,"timestamp_ms":1776444368000,"timestamp_seconds":1776444368,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c55e480"} 
[2026-04-17 22:18:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:18:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:18:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:18:27] 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-04-17 22:18:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:18:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:18:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:18:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46265,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:18:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:18:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46265,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:18:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:18:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:18:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:18:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769744896001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:18:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:18:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:18:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769744896001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:18:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:18:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:18:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:18:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:18:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769744896001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":46265,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23365,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:18:27] local.INFO: GPS data processed {"connection_id":46265,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:18:27] local.INFO: Acknowledgment sent {"connection_id":46265,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:18:31] local.INFO: TCP Data received {"connection_id":47016,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:18:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47016,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:18:31] local.INFO: Processing buffer {"connection_id":47016,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:18:31] local.INFO: IMEI packet received {"connection_id":47016,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:18:31] local.INFO: IMEI acknowledgment sent {"connection_id":47016,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:18:33] local.INFO: TCP Data received {"connection_id":47016,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:18:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:18:33] local.INFO: Processing buffer {"connection_id":47016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:18:33] local.INFO: Packet analysis {"connection_id":47016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:18:33] local.INFO: Extracted packet for processing {"connection_id":47016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:18:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:18:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769699328001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:18:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:18:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:18: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-04-17 22:18:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776444439000,"timestamp_ms":1776444439000,"timestamp_seconds":1776444439,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c56f9d8"} 
[2026-04-17 22:18:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:18:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:18:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:18:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:18:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:18:33] local.INFO: Teltonika packet parsed successfully {"connection_id":47016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:18:33] local.INFO: Passing IMEI to GPS processor {"connection_id":47016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:18:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":47016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:18:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:18:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:18:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:18:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769699328001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:18:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:18:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:18:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769699328001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:18:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:18:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:18:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:18:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:18:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769699328001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:18:33] local.INFO: DEBUG: GPS processor result {"connection_id":47016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23366,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:18:33] local.INFO: GPS data processed {"connection_id":47016,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:18:33] local.INFO: Acknowledgment sent {"connection_id":47016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:18:49] local.INFO: TCP Data received {"connection_id":46266,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:18:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:18:49] local.INFO: Processing buffer {"connection_id":46266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:18:49] local.INFO: IMEI packet received {"connection_id":46266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:18:49] local.INFO: IMEI acknowledgment sent {"connection_id":46266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:18:55] local.INFO: TCP Data received {"connection_id":46266,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:18:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46266,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:18:55] local.INFO: Processing buffer {"connection_id":46266,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:18:55] local.INFO: IMEI packet received {"connection_id":46266,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:18:55] local.INFO: IMEI acknowledgment sent {"connection_id":46266,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:18:56] local.INFO: TCP Data received {"connection_id":46266,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:18:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:18:56] local.INFO: Processing buffer {"connection_id":46266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:18:56] local.INFO: Packet analysis {"connection_id":46266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:18:56] local.INFO: Extracted packet for processing {"connection_id":46266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:18:56] local.INFO: GPS Element Parsed {"raw_longitude":762815104,"raw_latitude":99787928,"longitude_deg":76.2815104,"latitude_deg":9.9787928,"altitude":29,"angle":213,"satellites":49,"speed":0,"hex_longitude":"2d77a280","hex_latitude":"05f2a498","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:18:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769744896001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:18:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:18:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:18:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:18:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776444368000,"timestamp_ms":1776444368000,"timestamp_seconds":1776444368,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c55e480"} 
[2026-04-17 22:18:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:18:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:18:56] 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-04-17 22: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-04-17 22:18:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:18:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:18:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:18:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:18:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:18:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:18:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:18:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:18:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769744896001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:18:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:18:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:18:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769744896001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:18:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:18:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:18:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:18:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:18:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769744896001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:18:56] local.INFO: DEBUG: GPS processor result {"connection_id":46266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23367,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:18:56] local.INFO: GPS data processed {"connection_id":46266,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:18:56] local.INFO: Acknowledgment sent {"connection_id":46266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:19:04] local.INFO: TCP Data received {"connection_id":47016,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:19:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47016,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:19:04] local.INFO: Processing buffer {"connection_id":47016,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:19:04] local.INFO: Packet analysis {"connection_id":47016,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:19:04] local.INFO: Extracted packet for processing {"connection_id":47016,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:19:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:19:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769699328001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:19:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:19:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:19:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:19:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776444439000,"timestamp_ms":1776444439000,"timestamp_seconds":1776444439,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c56f9d8"} 
[2026-04-17 22:19:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:19:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:19:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:19:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:19:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:19:04] local.INFO: Teltonika packet parsed successfully {"connection_id":47016,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:19:04] local.INFO: Passing IMEI to GPS processor {"connection_id":47016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:19:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":47016,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:19:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:19:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:19:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:19:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769699328001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:19:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:19:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:19:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769699328001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:19:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:19:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:19:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:19:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:19:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769699328001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:19:04] local.INFO: DEBUG: GPS processor result {"connection_id":47016,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23368,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:19:04] local.INFO: GPS data processed {"connection_id":47016,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:19:04] local.INFO: Acknowledgment sent {"connection_id":47016,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:19:21] local.INFO: TCP Data received {"connection_id":46513,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:19:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:19:21] local.INFO: Processing buffer {"connection_id":46513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:19:21] local.INFO: IMEI packet received {"connection_id":46513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:19:21] local.INFO: IMEI acknowledgment sent {"connection_id":46513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:19:26] local.INFO: TCP Data received {"connection_id":46513,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:19:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46513,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:19:26] local.INFO: Processing buffer {"connection_id":46513,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:19:26] local.INFO: IMEI packet received {"connection_id":46513,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:19:26] local.INFO: IMEI acknowledgment sent {"connection_id":46513,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:19:27] local.INFO: TCP Data received {"connection_id":46513,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:19:27] local.INFO: Processing buffer {"connection_id":46513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:19:27] local.INFO: Packet analysis {"connection_id":46513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:19:28] local.INFO: Extracted packet for processing {"connection_id":46513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:19:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769699328001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:19: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-04-17 22:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776444439000,"timestamp_ms":1776444439000,"timestamp_seconds":1776444439,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c56f9d8"} 
[2026-04-17 22:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:19: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-04-17 22: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-04-17 22:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769699328001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769699328001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:19:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:19:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769699328001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:19:28] local.INFO: TCP Data received {"connection_id":46266,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:19:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46266,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:19:28] local.INFO: Processing buffer {"connection_id":46266,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:19:28] local.INFO: Packet analysis {"connection_id":46266,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:19:28] local.INFO: Extracted packet for processing {"connection_id":46266,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:19:28] local.INFO: GPS Element Parsed {"raw_longitude":762815104,"raw_latitude":99787928,"longitude_deg":76.2815104,"latitude_deg":9.9787928,"altitude":29,"angle":213,"satellites":49,"speed":0,"hex_longitude":"2d77a280","hex_latitude":"05f2a498","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:19:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769744896001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:19:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:19:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:19:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:19:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776444368000,"timestamp_ms":1776444368000,"timestamp_seconds":1776444368,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c55e480"} 
[2026-04-17 22:19:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:19:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:19:28] 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-04-17 22: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-04-17 22:19:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:19:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:19:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46266,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:19:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:19:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46266,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:19:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:19:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:19:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:19:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769744896001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:19:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:19:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:19:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769744896001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:19:28] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:19:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:19:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:19:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:19:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769744896001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":46513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23369,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:19:28] local.INFO: GPS data processed {"connection_id":46513,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:19:28] local.INFO: Acknowledgment sent {"connection_id":46513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:19:28] local.INFO: DEBUG: GPS processor result {"connection_id":46266,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23370,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:19:28] local.INFO: GPS data processed {"connection_id":46266,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:19:28] local.INFO: Acknowledgment sent {"connection_id":46266,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:19:55] local.INFO: TCP Data received {"connection_id":46514,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:19:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:19:55] local.INFO: Processing buffer {"connection_id":46514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:19:55] local.INFO: IMEI packet received {"connection_id":46514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:19:55] local.INFO: IMEI acknowledgment sent {"connection_id":46514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:19:59] local.INFO: TCP Data received {"connection_id":46513,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:19:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46513,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:19:59] local.INFO: Processing buffer {"connection_id":46513,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:19:59] local.INFO: Packet analysis {"connection_id":46513,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:19:59] local.INFO: Extracted packet for processing {"connection_id":46513,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:19:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:19:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769699328001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:19:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:19:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:19: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-04-17 22:19:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776444439000,"timestamp_ms":1776444439000,"timestamp_seconds":1776444439,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c56f9d8"} 
[2026-04-17 22:19:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:19:59] 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-04-17 22:19:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:19: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-04-17 22:19:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:19:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:19:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:19:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46513,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:19:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:19:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46513,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:19:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:19:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:19:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:19:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769699328001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:19:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:19:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:19:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769699328001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:19:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:19:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:19:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:19:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:19:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769699328001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:19:59] local.INFO: DEBUG: GPS processor result {"connection_id":46513,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23371,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:19:59] local.INFO: GPS data processed {"connection_id":46513,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:19:59] local.INFO: Acknowledgment sent {"connection_id":46513,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:20:00] local.INFO: TCP Data received {"connection_id":46514,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:20:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46514,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:20:00] local.INFO: Processing buffer {"connection_id":46514,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:20:00] local.INFO: IMEI packet received {"connection_id":46514,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:20:00] local.INFO: IMEI acknowledgment sent {"connection_id":46514,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:20:01] local.INFO: TCP Data received {"connection_id":46514,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:20:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:20:01] local.INFO: Processing buffer {"connection_id":46514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:20:01] local.INFO: Packet analysis {"connection_id":46514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:20:01] local.INFO: Extracted packet for processing {"connection_id":46514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:20:01] local.INFO: GPS Element Parsed {"raw_longitude":762815104,"raw_latitude":99787928,"longitude_deg":76.2815104,"latitude_deg":9.9787928,"altitude":29,"angle":213,"satellites":49,"speed":0,"hex_longitude":"2d77a280","hex_latitude":"05f2a498","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:20:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769744896001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:20:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:20:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:20:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:20:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776444368000,"timestamp_ms":1776444368000,"timestamp_seconds":1776444368,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c55e480"} 
[2026-04-17 22:20:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:20:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:20: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-04-17 22: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-04-17 22:20:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:20:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:20:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:20:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:20:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:20:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:20:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:20:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:20:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769744896001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:20:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:20:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:20:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769744896001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:20:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:20:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:20:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:20:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:20:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769744896001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:20:01] local.INFO: DEBUG: GPS processor result {"connection_id":46514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23372,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:20:01] local.INFO: GPS data processed {"connection_id":46514,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:20:01] local.INFO: Acknowledgment sent {"connection_id":46514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:20:05] local.INFO: TCP Data received {"connection_id":46514,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:20:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46514,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:20:05] local.INFO: Processing buffer {"connection_id":46514,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:20:05] local.INFO: Packet analysis {"connection_id":46514,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:20:05] local.INFO: Extracted packet for processing {"connection_id":46514,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:20:05] local.INFO: GPS Element Parsed {"raw_longitude":762815104,"raw_latitude":99787928,"longitude_deg":76.2815104,"latitude_deg":9.9787928,"altitude":29,"angle":213,"satellites":49,"speed":0,"hex_longitude":"2d77a280","hex_latitude":"05f2a498","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:20:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769744896001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:20:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:20:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:20:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:20:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776444368000,"timestamp_ms":1776444368000,"timestamp_seconds":1776444368,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c55e480"} 
[2026-04-17 22:20:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:20:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:20:05] 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-04-17 22: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-04-17 22:20:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:20:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:20:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46514,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:20:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:20:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46514,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:20:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:20:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:20:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:20:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769744896001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:20:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:20:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:20:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769744896001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:20:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:20:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:20:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:20:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:20:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769744896001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:20:05] local.INFO: DEBUG: GPS processor result {"connection_id":46514,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23373,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:20:05] local.INFO: GPS data processed {"connection_id":46514,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:20:05] local.INFO: Acknowledgment sent {"connection_id":46514,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:20:21] local.INFO: TCP Data received {"connection_id":47018,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:20:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:20:21] local.INFO: Processing buffer {"connection_id":47018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:20:21] local.INFO: IMEI packet received {"connection_id":47018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:20:21] local.INFO: IMEI acknowledgment sent {"connection_id":47018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:20:26] local.INFO: TCP Data received {"connection_id":47018,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:20:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47018,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:20:26] local.INFO: Processing buffer {"connection_id":47018,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:20:26] local.INFO: IMEI packet received {"connection_id":47018,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:20:26] local.INFO: IMEI acknowledgment sent {"connection_id":47018,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:20:27] local.INFO: TCP Data received {"connection_id":47018,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:20:27] local.INFO: Processing buffer {"connection_id":47018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:20:27] local.INFO: Packet analysis {"connection_id":47018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:20:27] local.INFO: Extracted packet for processing {"connection_id":47018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769699328001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:20: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-04-17 22:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444439000,"timestamp_ms":1776444439000,"timestamp_seconds":1776444439,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c56f9d8"} 
[2026-04-17 22:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:20:27] 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-04-17 22:20:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:20: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-04-17 22:20:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":47018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":47018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":47018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769699328001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769699328001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:20:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:20:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769699328001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":47018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23374,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:20:27] local.INFO: GPS data processed {"connection_id":47018,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:20:27] local.INFO: Acknowledgment sent {"connection_id":47018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:20:54] local.INFO: TCP Data received {"connection_id":46268,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:20:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:20:54] local.INFO: Processing buffer {"connection_id":46268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:20:54] local.INFO: IMEI packet received {"connection_id":46268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:20:54] local.INFO: IMEI acknowledgment sent {"connection_id":46268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:20:59] local.INFO: TCP Data received {"connection_id":46268,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46268,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:20:59] local.INFO: Processing buffer {"connection_id":46268,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:20:59] local.INFO: IMEI packet received {"connection_id":46268,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:20:59] local.INFO: IMEI acknowledgment sent {"connection_id":46268,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:20:59] local.INFO: TCP Data received {"connection_id":47018,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47018,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:20:59] local.INFO: Processing buffer {"connection_id":47018,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:20:59] local.INFO: Packet analysis {"connection_id":47018,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:20:59] local.INFO: Extracted packet for processing {"connection_id":47018,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:20:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769699328001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:20: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-04-17 22:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776444439000,"timestamp_ms":1776444439000,"timestamp_seconds":1776444439,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c56f9d8"} 
[2026-04-17 22:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:20:59] 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-04-17 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:20: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-04-17 22: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-04-17 22:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":47018,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":47018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":47018,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769699328001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769699328001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:20:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:20:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769699328001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":47018,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23375,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:20:59] local.INFO: GPS data processed {"connection_id":47018,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:20:59] local.INFO: Acknowledgment sent {"connection_id":47018,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:20:59] local.INFO: TCP Data received {"connection_id":46268,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:20:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:20:59] local.INFO: Processing buffer {"connection_id":46268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:20:59] local.INFO: Packet analysis {"connection_id":46268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:20:59] local.INFO: Extracted packet for processing {"connection_id":46268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:20:59] local.INFO: GPS Element Parsed {"raw_longitude":762815104,"raw_latitude":99787928,"longitude_deg":76.2815104,"latitude_deg":9.9787928,"altitude":29,"angle":213,"satellites":49,"speed":0,"hex_longitude":"2d77a280","hex_latitude":"05f2a498","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:20:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769744896001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:20:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:20:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:20:59] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:20:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776444368000,"timestamp_ms":1776444368000,"timestamp_seconds":1776444368,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c55e480"} 
[2026-04-17 22:20:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:20:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:20:59] 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-04-17 22: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-04-17 22:20:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:20:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:20:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:20:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:20:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:20:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:20:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:20:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:20:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769744896001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:20:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:20:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:20:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769744896001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:20:59] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:20:59] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:20:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:20:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:20:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769744896001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:20:59] local.INFO: DEBUG: GPS processor result {"connection_id":46268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23376,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:20:59] local.INFO: GPS data processed {"connection_id":46268,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:20:59] local.INFO: Acknowledgment sent {"connection_id":46268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:21:00] local.INFO: TCP Data received {"connection_id":46268,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:21:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:21:00] local.INFO: Processing buffer {"connection_id":46268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:21:00] local.INFO: Packet analysis {"connection_id":46268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:21:00] local.INFO: Extracted packet for processing {"connection_id":46268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:21:00] local.INFO: GPS Element Parsed {"raw_longitude":762815104,"raw_latitude":99787928,"longitude_deg":76.2815104,"latitude_deg":9.9787928,"altitude":29,"angle":213,"satellites":49,"speed":0,"hex_longitude":"2d77a280","hex_latitude":"05f2a498","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:21:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769744896001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:21:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:21:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:21:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:21:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776444368000,"timestamp_ms":1776444368000,"timestamp_seconds":1776444368,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c55e480"} 
[2026-04-17 22:21:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:21:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:21: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-04-17 22: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-04-17 22:21:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:21:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:21:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:21:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:21:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:21:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:21:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:21:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:21:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769744896001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:21:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:21:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:21:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769744896001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:21:00] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:21:00] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:21:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:21:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:21:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769744896001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:21:00] local.INFO: DEBUG: GPS processor result {"connection_id":46268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23377,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:21:00] local.INFO: GPS data processed {"connection_id":46268,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:21:00] local.INFO: Acknowledgment sent {"connection_id":46268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:21:26] local.INFO: TCP Data received {"connection_id":46516,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:21:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:21:26] local.INFO: Processing buffer {"connection_id":46516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:21:26] local.INFO: IMEI packet received {"connection_id":46516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:21:26] local.INFO: IMEI acknowledgment sent {"connection_id":46516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:21:31] local.INFO: TCP Data received {"connection_id":46516,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:21:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46516,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:21:31] local.INFO: Processing buffer {"connection_id":46516,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:21:31] local.INFO: IMEI packet received {"connection_id":46516,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:21:31] local.INFO: IMEI acknowledgment sent {"connection_id":46516,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:21:32] local.INFO: TCP Data received {"connection_id":46268,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46268,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:21:32] local.INFO: Processing buffer {"connection_id":46268,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c55e480012d77a28005f2a498001d00d531..."} 
[2026-04-17 22:21:32] local.INFO: Packet analysis {"connection_id":46268,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:21:32] local.INFO: Extracted packet for processing {"connection_id":46268,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c55"} 
[2026-04-17 22:21:32] local.INFO: GPS Element Parsed {"raw_longitude":762815104,"raw_latitude":99787928,"longitude_deg":76.2815104,"latitude_deg":9.9787928,"altitude":29,"angle":213,"satellites":49,"speed":0,"hex_longitude":"2d77a280","hex_latitude":"05f2a498","is_valid_coordinates":true} 
[2026-04-17 22:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769744896001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620100818565466112,"note":"Value kept but may cause issues"} 
[2026-04-17 22:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776444368000,"timestamp_ms":1776444368000,"timestamp_seconds":1776444368,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c55e480"} 
[2026-04-17 22:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":734,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:21:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46268,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46268,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769744896001,"66":25604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620100818565466112},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769744896001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:21:32] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:21:32] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620100818565466112,"description":"Unknown IO ID 45"} 
[2026-04-17 22:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769744896001,"power":25604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620100818565466112}} 
[2026-04-17 22:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":46268,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23378,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:21:32] local.INFO: GPS data processed {"connection_id":46268,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:21:32] local.INFO: Acknowledgment sent {"connection_id":46268,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:21:33] local.INFO: TCP Data received {"connection_id":46516,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:21:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:21:33] local.INFO: Processing buffer {"connection_id":46516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:21:33] local.INFO: Packet analysis {"connection_id":46516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:21:33] local.INFO: Extracted packet for processing {"connection_id":46516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:21:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:21:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769699328001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:21:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:21:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:21:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:21:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776444439000,"timestamp_ms":1776444439000,"timestamp_seconds":1776444439,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c56f9d8"} 
[2026-04-17 22:21:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:21:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:21:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:21:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:21:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:21:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:21:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:21:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:21:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:21:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:21:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:21:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769699328001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:21:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:21:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:21:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769699328001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:21:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:21:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:21:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:21:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:21:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769699328001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:21:33] local.INFO: DEBUG: GPS processor result {"connection_id":46516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23379,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:21:33] local.INFO: GPS data processed {"connection_id":46516,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:21:33] local.INFO: Acknowledgment sent {"connection_id":46516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:21:37] local.INFO: TCP Data received {"connection_id":46516,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:21:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46516,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:21:37] local.INFO: Processing buffer {"connection_id":46516,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:21:37] local.INFO: Packet analysis {"connection_id":46516,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:21:37] local.INFO: Extracted packet for processing {"connection_id":46516,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:21:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:21:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769699328001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:21:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:21:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:21: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-04-17 22:21:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776444439000,"timestamp_ms":1776444439000,"timestamp_seconds":1776444439,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c56f9d8"} 
[2026-04-17 22:21:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:21: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-04-17 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:21:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:21:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:21:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:21:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46516,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:21:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:21:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46516,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:21:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:21:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:21:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:21:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769699328001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:21:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:21:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:21:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769699328001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:21:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:21:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:21:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:21:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:21:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769699328001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:21:37] local.INFO: DEBUG: GPS processor result {"connection_id":46516,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23380,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:21:37] local.INFO: GPS data processed {"connection_id":46516,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:21:37] local.INFO: Acknowledgment sent {"connection_id":46516,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:21:49] local.INFO: TCP Data received {"connection_id":46269,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:21:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:21:49] local.INFO: Processing buffer {"connection_id":46269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:21:49] local.INFO: IMEI packet received {"connection_id":46269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:21:49] local.INFO: IMEI acknowledgment sent {"connection_id":46269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:21:55] local.INFO: TCP Data received {"connection_id":46269,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:21:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46269,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:21:55] local.INFO: Processing buffer {"connection_id":46269,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:21:55] local.INFO: IMEI packet received {"connection_id":46269,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:21:55] local.INFO: IMEI acknowledgment sent {"connection_id":46269,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:21:56] local.INFO: TCP Data received {"connection_id":46269,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:21:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:21:56] local.INFO: Processing buffer {"connection_id":46269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:21:56] local.INFO: Packet analysis {"connection_id":46269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:21:56] local.INFO: Extracted packet for processing {"connection_id":46269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:21:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":29,"angle":213,"satellites":50,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:21:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769758208001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:21:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:21:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620593399774615552,"note":"Value kept but may cause issues"} 
[2026-04-17 22:21:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:21:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776444669000,"timestamp_ms":1776444669000,"timestamp_seconds":1776444669,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5a7c48"} 
[2026-04-17 22:21:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:21:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:21:56] 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-04-17 22: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-04-17 22:21:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:21:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:21:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:21:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:21:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:21:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:21:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:21:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:21:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769758208001,"66":25582,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620593399774615552},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:21:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:21:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:21:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769758208001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:21:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:21:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:21:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:21:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620593399774615552,"description":"Unknown IO ID 45"} 
[2026-04-17 22:21:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769758208001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620593399774615552}} 
[2026-04-17 22:21:56] local.INFO: DEBUG: GPS processor result {"connection_id":46269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23381,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:21:56] local.INFO: GPS data processed {"connection_id":46269,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:21:56] local.INFO: Acknowledgment sent {"connection_id":46269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:22:03] local.INFO: TCP Data received {"connection_id":46158,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:22:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:22:03] local.INFO: Processing buffer {"connection_id":46158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:22:03] local.INFO: IMEI packet received {"connection_id":46158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 22:22:03] local.INFO: IMEI acknowledgment sent {"connection_id":46158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:22:12] local.INFO: TCP Data received {"connection_id":46158,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:22:12] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46158,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:22:12] local.INFO: Processing buffer {"connection_id":46158,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:22:12] local.INFO: IMEI packet received {"connection_id":46158,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":true} 
[2026-04-17 22:22:12] local.INFO: IMEI acknowledgment sent {"connection_id":46158,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:22:13] local.INFO: TCP Data received {"connection_id":46158,"ip":"42.106.6.38","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c593428012d86d3c006162d88001c009630..."} 
[2026-04-17 22:22:13] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46158,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c593428012d86d3c006162d88001c009630..."} 
[2026-04-17 22:22:13] local.INFO: Processing buffer {"connection_id":46158,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c593428012d86d3c006162d88001c009630..."} 
[2026-04-17 22:22:13] local.INFO: Packet analysis {"connection_id":46158,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c59"} 
[2026-04-17 22:22:13] local.INFO: Extracted packet for processing {"connection_id":46158,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c59"} 
[2026-04-17 22:22:13] local.INFO: GPS Element Parsed {"raw_longitude":763810752,"raw_latitude":102116744,"longitude_deg":76.3810752,"latitude_deg":10.2116744,"altitude":28,"angle":150,"satellites":48,"speed":0,"hex_longitude":"2d86d3c0","hex_latitude":"06162d88","is_valid_coordinates":true} 
[2026-04-17 22:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:22:13] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769808384001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:22:13] local.WARNING: Large IO value detected {"io_id":16,"raw_value":106622378439606272,"note":"Value kept but may cause issues"} 
[2026-04-17 22:22:13] local.WARNING: Large IO value detected {"io_id":45,"raw_value":-8740994269371058176,"note":"Value kept but may cause issues"} 
[2026-04-17 22:22:13] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,154,79,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:22:13] local.INFO: AVL Record Parsed {"raw_timestamp":1776444585000,"timestamp_ms":1776444585000,"timestamp_seconds":1776444585,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c593428"} 
[2026-04-17 22:22:13] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:22:13] 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-04-17 22:22:13] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":109,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 22:22:13] 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-04-17 22:22:13] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:22:13] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:22:13] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:22:13] local.INFO: Teltonika packet parsed successfully {"connection_id":46158,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:22:13] local.INFO: Passing IMEI to GPS processor {"connection_id":46158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 22:22:13] local.INFO: DEBUG: About to call GPS processor {"connection_id":46158,"device_imei":"862567071632322","avl_records_count":1} 
[2026-04-17 22:22:13] local.INFO: DEBUG: GPS processor called {"device_imei":"862567071632322","client_ip":"42.106.6.38","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:22:13] local.INFO: DEBUG: Checking if device exists {"imei":"862567071632322"} 
[2026-04-17 22:22:13] local.INFO: DEBUG: Device exists check result {"imei":"862567071632322","exists":true} 
[2026-04-17 22:22:13] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769808384001,"66":27952,"154":206,"79":46592,"24":0,"16":106622378439606272,"45":-8740994269371058176},"client_ip":"42.106.6.38","device_imei_from_tcp":"862567071632322","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,154,79,24,16,45]} 
[2026-04-17 22:22:13] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567071632322"} 
[2026-04-17 22:22:13] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567071632322","device_id":174459,"device_uniqueid":"862567071632322"} 
[2026-04-17 22:22:13] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769808384001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:22:13] local.INFO: Unknown IO ID detected {"io_id":154,"value":206,"description":"Unknown IO ID 154"} 
[2026-04-17 22:22:13] local.INFO: Unknown IO ID detected {"io_id":79,"value":46592,"description":"Unknown IO ID 79"} 
[2026-04-17 22:22:13] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":106622378439606272,"km_value":106622378439606.27,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:22:13] local.INFO: Unknown IO ID detected {"io_id":45,"value":-8740994269371058176,"description":"Unknown IO ID 45"} 
[2026-04-17 22:22:13] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769808384001,"power":27952,"unknown_154":206,"unknown_79":46592,"ignition":0,"odometer":null,"unknown_45":-8740994269371058176}} 
[2026-04-17 22:22:13] local.INFO: DEBUG: GPS processor result {"connection_id":46158,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23382,"device_id":174459,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:22:13] local.INFO: GPS data processed {"connection_id":46158,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:22:13] local.INFO: Acknowledgment sent {"connection_id":46158,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:22:21] local.INFO: TCP Data received {"connection_id":46517,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:22:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:22:21] local.INFO: Processing buffer {"connection_id":46517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:22:21] local.INFO: IMEI packet received {"connection_id":46517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:22:21] local.INFO: IMEI acknowledgment sent {"connection_id":46517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:22:26] local.INFO: TCP Data received {"connection_id":46517,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46517,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:22:26] local.INFO: Processing buffer {"connection_id":46517,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:22:26] local.INFO: IMEI packet received {"connection_id":46517,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:22:26] local.INFO: IMEI acknowledgment sent {"connection_id":46517,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:22:27] local.INFO: TCP Data received {"connection_id":46269,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46269,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:22:27] local.INFO: Processing buffer {"connection_id":46269,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:22:27] local.INFO: Packet analysis {"connection_id":46269,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:22:27] local.INFO: Extracted packet for processing {"connection_id":46269,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:22:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":29,"angle":213,"satellites":50,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769758208001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620593399774615552,"note":"Value kept but may cause issues"} 
[2026-04-17 22:22:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444669000,"timestamp_ms":1776444669000,"timestamp_seconds":1776444669,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5a7c48"} 
[2026-04-17 22:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:22:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:22:27] 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-04-17 22:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46269,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46269,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769758208001,"66":25582,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620593399774615552},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769758208001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:22:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:22:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620593399774615552,"description":"Unknown IO ID 45"} 
[2026-04-17 22:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769758208001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620593399774615552}} 
[2026-04-17 22:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":46269,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23383,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:22:27] local.INFO: GPS data processed {"connection_id":46269,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:22:27] local.INFO: Acknowledgment sent {"connection_id":46269,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:22:27] local.INFO: TCP Data received {"connection_id":46517,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:22:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:22:27] local.INFO: Processing buffer {"connection_id":46517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c56f9d8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:22:27] local.INFO: Packet analysis {"connection_id":46517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:22:27] local.INFO: Extracted packet for processing {"connection_id":46517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c56"} 
[2026-04-17 22:22:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:22:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769699328001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:22:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:22:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:22: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-04-17 22:22:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444439000,"timestamp_ms":1776444439000,"timestamp_seconds":1776444439,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c56f9d8"} 
[2026-04-17 22:22:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:22:27] 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-04-17 22:22:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:22: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-04-17 22:22:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:22:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:22:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:22:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:22:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:22:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:22:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:22:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:22:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:22:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769699328001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:22:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:22:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:22:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769699328001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:22:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:22:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:22:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:22:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:22:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769699328001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:22:27] local.INFO: DEBUG: GPS processor result {"connection_id":46517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23384,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:22:27] local.INFO: GPS data processed {"connection_id":46517,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:22:27] local.INFO: Acknowledgment sent {"connection_id":46517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:22:49] local.INFO: TCP Data received {"connection_id":47019,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:22:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:22:49] local.INFO: Processing buffer {"connection_id":47019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:22:49] local.INFO: IMEI packet received {"connection_id":47019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:22:49] local.INFO: IMEI acknowledgment sent {"connection_id":47019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:22:55] local.INFO: TCP Data received {"connection_id":47019,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:22:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47019,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:22:55] local.INFO: Processing buffer {"connection_id":47019,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:22:55] local.INFO: IMEI packet received {"connection_id":47019,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:22:55] local.INFO: IMEI acknowledgment sent {"connection_id":47019,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:22:56] local.INFO: TCP Data received {"connection_id":47019,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:22:56] local.INFO: Processing buffer {"connection_id":47019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:22:56] local.INFO: Packet analysis {"connection_id":47019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:22:56] local.INFO: Extracted packet for processing {"connection_id":47019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:22:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":29,"angle":213,"satellites":50,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:22:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769758208001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:22:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:22:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620593399774615552,"note":"Value kept but may cause issues"} 
[2026-04-17 22:22:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:22:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776444669000,"timestamp_ms":1776444669000,"timestamp_seconds":1776444669,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5a7c48"} 
[2026-04-17 22:22:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:22:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:22:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:22:56] 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-04-17 22:22:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:22:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:22:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:22:56] local.INFO: Teltonika packet parsed successfully {"connection_id":47019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:22:56] local.INFO: Passing IMEI to GPS processor {"connection_id":47019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:22:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":47019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:22:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:22:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:22:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:22:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769758208001,"66":25582,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620593399774615552},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:22:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:22:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:22:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769758208001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:22:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:22:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:22:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:22:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620593399774615552,"description":"Unknown IO ID 45"} 
[2026-04-17 22:22:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769758208001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620593399774615552}} 
[2026-04-17 22:22:56] local.INFO: DEBUG: GPS processor result {"connection_id":47019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23385,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:22:56] local.INFO: GPS data processed {"connection_id":47019,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:22:56] local.INFO: Acknowledgment sent {"connection_id":47019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:22:56] local.INFO: TCP Data received {"connection_id":46518,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:22:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46518,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:22:56] local.INFO: Processing buffer {"connection_id":46518,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:22:56] local.INFO: IMEI packet received {"connection_id":46518,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 22:22:56] local.INFO: IMEI acknowledgment sent {"connection_id":46518,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:22:59] local.INFO: TCP Data received {"connection_id":46517,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:22:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46517,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:22:59] local.INFO: Processing buffer {"connection_id":46517,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:22:59] local.INFO: Packet analysis {"connection_id":46517,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:22:59] local.INFO: Extracted packet for processing {"connection_id":46517,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:22:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:22:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769776384001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:22:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:22:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:22: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-04-17 22:22:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776444740000,"timestamp_ms":1776444740000,"timestamp_seconds":1776444740,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5b91a0"} 
[2026-04-17 22:22:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:22:59] 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-04-17 22:22:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:22:59] 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-04-17 22:22:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:22:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:22:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:22:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46517,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:22:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:22:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46517,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:22:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:22:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:22:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:22:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769776384001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:22:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:22:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:22:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769776384001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:22:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:22:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:22:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:22:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:22:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769776384001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:22:59] local.INFO: DEBUG: GPS processor result {"connection_id":46517,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23386,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:22:59] local.INFO: GPS data processed {"connection_id":46517,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:22:59] local.INFO: Acknowledgment sent {"connection_id":46517,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:23:21] local.INFO: TCP Data received {"connection_id":46159,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:23:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:23:21] local.INFO: Processing buffer {"connection_id":46159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:23:21] local.INFO: IMEI packet received {"connection_id":46159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:23:21] local.INFO: IMEI acknowledgment sent {"connection_id":46159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:23:26] local.INFO: TCP Data received {"connection_id":46159,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:23:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46159,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:23:26] local.INFO: Processing buffer {"connection_id":46159,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:23:26] local.INFO: IMEI packet received {"connection_id":46159,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:23:26] local.INFO: IMEI acknowledgment sent {"connection_id":46159,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:23:27] local.INFO: TCP Data received {"connection_id":46159,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:23:27] local.INFO: Processing buffer {"connection_id":46159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:23:27] local.INFO: Packet analysis {"connection_id":46159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:23:27] local.INFO: Extracted packet for processing {"connection_id":46159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:23:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769776384001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:23: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-04-17 22:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444740000,"timestamp_ms":1776444740000,"timestamp_seconds":1776444740,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5b91a0"} 
[2026-04-17 22:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:23:27] 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-04-17 22:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:23:27] 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-04-17 22:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769776384001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769776384001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:23:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:23:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769776384001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":46159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23387,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:23:27] local.INFO: GPS data processed {"connection_id":46159,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:23:27] local.INFO: Acknowledgment sent {"connection_id":46159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:23:27] local.INFO: TCP Data received {"connection_id":47019,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47019,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:23:27] local.INFO: Processing buffer {"connection_id":47019,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:23:27] local.INFO: Packet analysis {"connection_id":47019,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:23:27] local.INFO: Extracted packet for processing {"connection_id":47019,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:23:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":29,"angle":213,"satellites":50,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769758208001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620593399774615552,"note":"Value kept but may cause issues"} 
[2026-04-17 22:23:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444669000,"timestamp_ms":1776444669000,"timestamp_seconds":1776444669,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5a7c48"} 
[2026-04-17 22:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:23:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:23:27] 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-04-17 22:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":47019,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":47019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":47019,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769758208001,"66":25582,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620593399774615552},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769758208001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:23:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:23:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620593399774615552,"description":"Unknown IO ID 45"} 
[2026-04-17 22:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769758208001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620593399774615552}} 
[2026-04-17 22:23:28] local.INFO: DEBUG: GPS processor result {"connection_id":47019,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23388,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:23:28] local.INFO: GPS data processed {"connection_id":47019,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:23:28] local.INFO: Acknowledgment sent {"connection_id":47019,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:23:55] local.INFO: TCP Data received {"connection_id":46519,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:23:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:23:55] local.INFO: Processing buffer {"connection_id":46519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:23:55] local.INFO: IMEI packet received {"connection_id":46519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:23:55] local.INFO: IMEI acknowledgment sent {"connection_id":46519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:23:59] local.INFO: TCP Data received {"connection_id":46159,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:23:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46159,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:23:59] local.INFO: Processing buffer {"connection_id":46159,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:23:59] local.INFO: Packet analysis {"connection_id":46159,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:23:59] local.INFO: Extracted packet for processing {"connection_id":46159,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:23:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:23:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769776384001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:23:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:23:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:23: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-04-17 22:23:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776444740000,"timestamp_ms":1776444740000,"timestamp_seconds":1776444740,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5b91a0"} 
[2026-04-17 22:23:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:23:59] 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-04-17 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:23:59] 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-04-17 22:23:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:23:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:23:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:23:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46159,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:23:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:23:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46159,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:23:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:23:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:23:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:23:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769776384001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:23:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:23:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:23:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769776384001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:23:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:23:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:23:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:23:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:23:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769776384001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:23:59] local.INFO: DEBUG: GPS processor result {"connection_id":46159,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23389,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:23:59] local.INFO: GPS data processed {"connection_id":46159,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:23:59] local.INFO: Acknowledgment sent {"connection_id":46159,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:24:00] local.INFO: TCP Data received {"connection_id":46519,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:24:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46519,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:24:00] local.INFO: Processing buffer {"connection_id":46519,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:24:00] local.INFO: IMEI packet received {"connection_id":46519,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:24:00] local.INFO: IMEI acknowledgment sent {"connection_id":46519,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:24:01] local.INFO: TCP Data received {"connection_id":46519,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:24:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:24:01] local.INFO: Processing buffer {"connection_id":46519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:24:01] local.INFO: Packet analysis {"connection_id":46519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:24:01] local.INFO: Extracted packet for processing {"connection_id":46519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:24:01] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":29,"angle":213,"satellites":50,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:24:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769758208001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:24:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:24:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620593399774615552,"note":"Value kept but may cause issues"} 
[2026-04-17 22:24:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:24:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776444669000,"timestamp_ms":1776444669000,"timestamp_seconds":1776444669,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5a7c48"} 
[2026-04-17 22:24:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:24:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:24: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-04-17 22: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-04-17 22:24:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:24:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:24:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:24:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:24:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:24:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:24:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:24:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:24:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769758208001,"66":25582,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620593399774615552},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:24:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:24:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:24:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769758208001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:24:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:24:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:24:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:24:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620593399774615552,"description":"Unknown IO ID 45"} 
[2026-04-17 22:24:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769758208001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620593399774615552}} 
[2026-04-17 22:24:01] local.INFO: DEBUG: GPS processor result {"connection_id":46519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23390,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:24:01] local.INFO: GPS data processed {"connection_id":46519,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:24:01] local.INFO: Acknowledgment sent {"connection_id":46519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:24:05] local.INFO: TCP Data received {"connection_id":46519,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:24:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46519,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:24:05] local.INFO: Processing buffer {"connection_id":46519,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:24:05] local.INFO: Packet analysis {"connection_id":46519,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:24:05] local.INFO: Extracted packet for processing {"connection_id":46519,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:24:05] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":29,"angle":213,"satellites":50,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:24:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769758208001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:24:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:24:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620593399774615552,"note":"Value kept but may cause issues"} 
[2026-04-17 22:24:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:24:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776444669000,"timestamp_ms":1776444669000,"timestamp_seconds":1776444669,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5a7c48"} 
[2026-04-17 22:24:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:24:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:24:05] 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-04-17 22: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-04-17 22:24:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:24:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:24:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46519,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:24:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:24:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46519,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:24:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:24:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:24:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:24:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769758208001,"66":25582,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620593399774615552},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:24:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:24:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:24:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769758208001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:24:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:24:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:24:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:24:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620593399774615552,"description":"Unknown IO ID 45"} 
[2026-04-17 22:24:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769758208001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620593399774615552}} 
[2026-04-17 22:24:05] local.INFO: DEBUG: GPS processor result {"connection_id":46519,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23391,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:24:05] local.INFO: GPS data processed {"connection_id":46519,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:24:05] local.INFO: Acknowledgment sent {"connection_id":46519,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:24:26] local.INFO: TCP Data received {"connection_id":46270,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:24:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:24:26] local.INFO: Processing buffer {"connection_id":46270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:24:26] local.INFO: IMEI packet received {"connection_id":46270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:24:26] local.INFO: IMEI acknowledgment sent {"connection_id":46270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:24:31] local.INFO: TCP Data received {"connection_id":46270,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:24:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46270,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:24:31] local.INFO: Processing buffer {"connection_id":46270,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:24:31] local.INFO: IMEI packet received {"connection_id":46270,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:24:31] local.INFO: IMEI acknowledgment sent {"connection_id":46270,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:24:32] local.INFO: TCP Data received {"connection_id":46270,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:24:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:24:32] local.INFO: Processing buffer {"connection_id":46270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:24:32] local.INFO: Packet analysis {"connection_id":46270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:24:32] local.INFO: Extracted packet for processing {"connection_id":46270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:24:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:24:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769776384001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:24:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:24:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:24:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:24:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776444740000,"timestamp_ms":1776444740000,"timestamp_seconds":1776444740,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5b91a0"} 
[2026-04-17 22:24:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:24:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:24:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:24:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:24:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:24:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:24:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:24:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:24:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:24:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:24:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:24:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769776384001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:24:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:24:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:24:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769776384001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:24:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:24:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:24:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:24:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:24:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769776384001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:24:32] local.INFO: DEBUG: GPS processor result {"connection_id":46270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23392,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:24:32] local.INFO: GPS data processed {"connection_id":46270,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:24:32] local.INFO: Acknowledgment sent {"connection_id":46270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:24:37] local.INFO: TCP Data received {"connection_id":46270,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:24:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46270,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:24:37] local.INFO: Processing buffer {"connection_id":46270,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:24:37] local.INFO: Packet analysis {"connection_id":46270,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:24:37] local.INFO: Extracted packet for processing {"connection_id":46270,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:24:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:24:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769776384001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:24:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:24:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:24: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-04-17 22:24:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776444740000,"timestamp_ms":1776444740000,"timestamp_seconds":1776444740,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5b91a0"} 
[2026-04-17 22:24:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:24: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-04-17 22:24:37] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:24:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:24:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:24:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:24:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46270,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:24:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:24:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46270,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:24:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:24:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:24:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:24:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769776384001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:24:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:24:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:24:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769776384001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:24:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:24:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:24:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:24:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:24:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769776384001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:24:37] local.INFO: DEBUG: GPS processor result {"connection_id":46270,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23393,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:24:37] local.INFO: GPS data processed {"connection_id":46270,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:24:37] local.INFO: Acknowledgment sent {"connection_id":46270,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:24:50] local.INFO: TCP Data received {"connection_id":46160,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:24:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:24:50] local.INFO: Processing buffer {"connection_id":46160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:24:50] local.INFO: IMEI packet received {"connection_id":46160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:24:50] local.INFO: IMEI acknowledgment sent {"connection_id":46160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:24:55] local.INFO: TCP Data received {"connection_id":46160,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:24:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46160,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:24:55] local.INFO: Processing buffer {"connection_id":46160,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:24:55] local.INFO: IMEI packet received {"connection_id":46160,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:24:55] local.INFO: IMEI acknowledgment sent {"connection_id":46160,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:24:56] local.INFO: TCP Data received {"connection_id":46160,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:24:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:24:56] local.INFO: Processing buffer {"connection_id":46160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:24:56] local.INFO: Packet analysis {"connection_id":46160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:24:56] local.INFO: Extracted packet for processing {"connection_id":46160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:24:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":29,"angle":213,"satellites":50,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:24:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769758208001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:24:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:24:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620593399774615552,"note":"Value kept but may cause issues"} 
[2026-04-17 22:24:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:24:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776444669000,"timestamp_ms":1776444669000,"timestamp_seconds":1776444669,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5a7c48"} 
[2026-04-17 22:24:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:24:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:24:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:24:56] 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-04-17 22:24:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:24:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:24:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:24:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:24:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:24:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:24:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:24:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:24:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:24:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769758208001,"66":25582,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620593399774615552},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:24:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:24:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:24:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769758208001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:24:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:24:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:24:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:24:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620593399774615552,"description":"Unknown IO ID 45"} 
[2026-04-17 22:24:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769758208001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620593399774615552}} 
[2026-04-17 22:24:56] local.INFO: DEBUG: GPS processor result {"connection_id":46160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23394,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:24:56] local.INFO: GPS data processed {"connection_id":46160,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:24:56] local.INFO: Acknowledgment sent {"connection_id":46160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:25:21] local.INFO: TCP Data received {"connection_id":47021,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:25:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:25:21] local.INFO: Processing buffer {"connection_id":47021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:25:21] local.INFO: IMEI packet received {"connection_id":47021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:25:21] local.INFO: IMEI acknowledgment sent {"connection_id":47021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:25:26] local.INFO: TCP Data received {"connection_id":47021,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47021,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:25:26] local.INFO: Processing buffer {"connection_id":47021,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:25:26] local.INFO: IMEI packet received {"connection_id":47021,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:25:26] local.INFO: IMEI acknowledgment sent {"connection_id":47021,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:25:27] local.INFO: TCP Data received {"connection_id":47021,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:25:27] local.INFO: Processing buffer {"connection_id":47021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:25:27] local.INFO: Packet analysis {"connection_id":47021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:25:27] local.INFO: Extracted packet for processing {"connection_id":47021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:25:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769776384001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:25: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-04-17 22:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444740000,"timestamp_ms":1776444740000,"timestamp_seconds":1776444740,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5b91a0"} 
[2026-04-17 22:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:25:27] 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-04-17 22:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:25:27] 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-04-17 22:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":47021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":47021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":47021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769776384001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769776384001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:25:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:25:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769776384001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:25:27] local.INFO: TCP Data received {"connection_id":46160,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:25:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46160,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:25:27] local.INFO: Processing buffer {"connection_id":46160,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:25:27] local.INFO: Packet analysis {"connection_id":46160,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:25:27] local.INFO: Extracted packet for processing {"connection_id":46160,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:25:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":29,"angle":213,"satellites":50,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:25:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769758208001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:25:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:25:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620593399774615552,"note":"Value kept but may cause issues"} 
[2026-04-17 22:25:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:25:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444669000,"timestamp_ms":1776444669000,"timestamp_seconds":1776444669,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5a7c48"} 
[2026-04-17 22:25:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:25:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:25:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:25:27] 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-04-17 22:25:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:25:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:25:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:25:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46160,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:25:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:25:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46160,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:25:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:25:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:25:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:25:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769758208001,"66":25582,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620593399774615552},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:25:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:25:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:25:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769758208001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:25:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:25:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:25:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:25:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620593399774615552,"description":"Unknown IO ID 45"} 
[2026-04-17 22:25:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769758208001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620593399774615552}} 
[2026-04-17 22:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":46160,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23395,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:25:27] local.INFO: GPS data processed {"connection_id":46160,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:25:27] local.INFO: Acknowledgment sent {"connection_id":46160,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:25:27] local.INFO: DEBUG: GPS processor result {"connection_id":47021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23396,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:25:27] local.INFO: GPS data processed {"connection_id":47021,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:25:27] local.INFO: Acknowledgment sent {"connection_id":47021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:25:32] local.INFO: TCP Data received {"connection_id":47021,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:25:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:25:32] local.INFO: Processing buffer {"connection_id":47021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:25:32] local.INFO: Packet analysis {"connection_id":47021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:25:32] local.INFO: Extracted packet for processing {"connection_id":47021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:25:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:25:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769776384001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:25:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:25:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:25:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:25:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776444740000,"timestamp_ms":1776444740000,"timestamp_seconds":1776444740,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5b91a0"} 
[2026-04-17 22:25:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:25:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:25:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:25:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:25:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:25:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:25:32] local.INFO: Teltonika packet parsed successfully {"connection_id":47021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:25:32] local.INFO: Passing IMEI to GPS processor {"connection_id":47021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:25:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":47021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:25:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:25:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:25:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:25:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769776384001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:25:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:25:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:25:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769776384001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:25:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:25:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:25:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:25:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:25:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769776384001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:25:32] local.INFO: DEBUG: GPS processor result {"connection_id":47021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23397,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:25:32] local.INFO: GPS data processed {"connection_id":47021,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:25:32] local.INFO: Acknowledgment sent {"connection_id":47021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:25:49] local.INFO: TCP Data received {"connection_id":46521,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:25:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:25:49] local.INFO: Processing buffer {"connection_id":46521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:25:49] local.INFO: IMEI packet received {"connection_id":46521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:25:49] local.INFO: IMEI acknowledgment sent {"connection_id":46521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:25:55] local.INFO: TCP Data received {"connection_id":46521,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:25:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46521,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:25:55] local.INFO: Processing buffer {"connection_id":46521,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:25:55] local.INFO: IMEI packet received {"connection_id":46521,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:25:55] local.INFO: IMEI acknowledgment sent {"connection_id":46521,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:25:56] local.INFO: TCP Data received {"connection_id":46521,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:25:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:25:56] local.INFO: Processing buffer {"connection_id":46521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:25:56] local.INFO: Packet analysis {"connection_id":46521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:25:56] local.INFO: Extracted packet for processing {"connection_id":46521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:25:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":29,"angle":213,"satellites":50,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:25:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769758208001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:25:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:25:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620593399774615552,"note":"Value kept but may cause issues"} 
[2026-04-17 22:25:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:25:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776444669000,"timestamp_ms":1776444669000,"timestamp_seconds":1776444669,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5a7c48"} 
[2026-04-17 22:25:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:25:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:25:56] 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-04-17 22: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-04-17 22:25:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:25:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:25:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:25:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:25:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:25:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:25:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:25:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:25:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769758208001,"66":25582,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620593399774615552},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:25:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:25:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:25:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769758208001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:25:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:25:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:25:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:25:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620593399774615552,"description":"Unknown IO ID 45"} 
[2026-04-17 22:25:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769758208001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620593399774615552}} 
[2026-04-17 22:25:56] local.INFO: DEBUG: GPS processor result {"connection_id":46521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23398,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:25:56] local.INFO: GPS data processed {"connection_id":46521,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:25:56] local.INFO: Acknowledgment sent {"connection_id":46521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:26:03] local.INFO: TCP Data received {"connection_id":47021,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:26:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47021,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:26:03] local.INFO: Processing buffer {"connection_id":47021,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:26:03] local.INFO: Packet analysis {"connection_id":47021,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:26:03] local.INFO: Extracted packet for processing {"connection_id":47021,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:26:03] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:26:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769776384001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:26:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:26:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:26:03] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:26:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776444740000,"timestamp_ms":1776444740000,"timestamp_seconds":1776444740,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5b91a0"} 
[2026-04-17 22:26:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:26:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16640,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:26:03] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:26:03] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:26:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:26:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:26:03] local.INFO: Teltonika packet parsed successfully {"connection_id":47021,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:26:03] local.INFO: Passing IMEI to GPS processor {"connection_id":47021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:26:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":47021,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:26:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:26:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:26:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:26:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769776384001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:26:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:26:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:26:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769776384001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:26:03] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:26:03] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:26:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:26:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:26:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769776384001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:26:03] local.INFO: DEBUG: GPS processor result {"connection_id":47021,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23399,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:26:03] local.INFO: GPS data processed {"connection_id":47021,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:26:03] local.INFO: Acknowledgment sent {"connection_id":47021,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:26:21] local.INFO: TCP Data received {"connection_id":46272,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:26:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:26:21] local.INFO: Processing buffer {"connection_id":46272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:26:21] local.INFO: IMEI packet received {"connection_id":46272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:26:21] local.INFO: IMEI acknowledgment sent {"connection_id":46272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:26:26] local.INFO: TCP Data received {"connection_id":46272,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:26:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46272,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:26:26] local.INFO: Processing buffer {"connection_id":46272,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:26:26] local.INFO: IMEI packet received {"connection_id":46272,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:26:26] local.INFO: IMEI acknowledgment sent {"connection_id":46272,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:26:27] local.INFO: TCP Data received {"connection_id":46521,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46521,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:26:27] local.INFO: Processing buffer {"connection_id":46521,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5a7c48012d77a30005f2a4b0001d00d532..."} 
[2026-04-17 22:26:27] local.INFO: Packet analysis {"connection_id":46521,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:26:27] local.INFO: Extracted packet for processing {"connection_id":46521,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5a"} 
[2026-04-17 22:26:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":29,"angle":213,"satellites":50,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769758208001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620593399774615552,"note":"Value kept but may cause issues"} 
[2026-04-17 22:26:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444669000,"timestamp_ms":1776444669000,"timestamp_seconds":1776444669,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5a7c48"} 
[2026-04-17 22:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:26:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":100,"n8_eight_byte":4,"data_length":795,"current_offset":136} 
[2026-04-17 22:26:27] 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-04-17 22:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46521,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46521,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769758208001,"66":25582,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620593399774615552},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769758208001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:26:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:26:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620593399774615552,"description":"Unknown IO ID 45"} 
[2026-04-17 22:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769758208001,"power":25582,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620593399774615552}} 
[2026-04-17 22:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":46521,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23400,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:26:27] local.INFO: GPS data processed {"connection_id":46521,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:26:27] local.INFO: Acknowledgment sent {"connection_id":46521,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:26:27] local.INFO: TCP Data received {"connection_id":46272,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:26:27] local.INFO: Processing buffer {"connection_id":46272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:26:27] local.INFO: Packet analysis {"connection_id":46272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:26:27] local.INFO: Extracted packet for processing {"connection_id":46272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:26:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769776384001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:26: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-04-17 22:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444740000,"timestamp_ms":1776444740000,"timestamp_seconds":1776444740,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5b91a0"} 
[2026-04-17 22:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:26:27] 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-04-17 22:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:26:27] 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-04-17 22:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769776384001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769776384001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:26:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:26:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769776384001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":46272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23401,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:26:27] local.INFO: GPS data processed {"connection_id":46272,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:26:27] local.INFO: Acknowledgment sent {"connection_id":46272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:26:48] local.INFO: TCP Data received {"connection_id":46522,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:26:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:26:48] local.INFO: Processing buffer {"connection_id":46522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:26:48] local.INFO: IMEI packet received {"connection_id":46522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:26:48] local.INFO: IMEI acknowledgment sent {"connection_id":46522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:26:49] local.INFO: TCP Data received {"connection_id":46522,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:26:49] local.INFO: Processing buffer {"connection_id":46522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:26:49] local.INFO: IMEI packet received {"connection_id":46522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":46522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:26:55] local.INFO: TCP Data received {"connection_id":46522,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46522,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:26:55] local.INFO: Processing buffer {"connection_id":46522,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:26:55] local.INFO: IMEI packet received {"connection_id":46522,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:26:55] local.INFO: IMEI acknowledgment sent {"connection_id":46522,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:26:59] local.INFO: TCP Data received {"connection_id":46272,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:26:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46272,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:26:59] local.INFO: Processing buffer {"connection_id":46272,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:26:59] local.INFO: Packet analysis {"connection_id":46272,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:26:59] local.INFO: Extracted packet for processing {"connection_id":46272,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:26:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:26:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769776384001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:26:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:26:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:26: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-04-17 22:26:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776444740000,"timestamp_ms":1776444740000,"timestamp_seconds":1776444740,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5b91a0"} 
[2026-04-17 22:26:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:26:59] 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-04-17 22:26:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:26:59] 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-04-17 22:26:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:26:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:26:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:26:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46272,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:26:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:26:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46272,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:26:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:26:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:26:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:26:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769776384001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:26:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:26:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:26:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769776384001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:26:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:26:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:26:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:26:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:26:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769776384001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:26:59] local.INFO: DEBUG: GPS processor result {"connection_id":46272,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23402,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:26:59] local.INFO: GPS data processed {"connection_id":46272,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:26:59] local.INFO: Acknowledgment sent {"connection_id":46272,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:27:01] local.INFO: TCP Data received {"connection_id":46522,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:27:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:27:01] local.INFO: Processing buffer {"connection_id":46522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:27:01] local.INFO: Packet analysis {"connection_id":46522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:27:01] local.INFO: Extracted packet for processing {"connection_id":46522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:27:01] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":23,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:27:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769835264001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:27:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:27:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:27:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:27:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776444970000,"timestamp_ms":1776444970000,"timestamp_seconds":1776444970,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5f1410"} 
[2026-04-17 22:27:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:27:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:27:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 22:27: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-04-17 22:27:01] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:27:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:27:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:27:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:27:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:27:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:27:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:27:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:27:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:27:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769835264001,"66":25180,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:27:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:27:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:27:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769835264001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:27:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:27:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:27:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:27:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:27:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769835264001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:27:01] local.INFO: DEBUG: GPS processor result {"connection_id":46522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23403,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:27:01] local.INFO: GPS data processed {"connection_id":46522,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:27:01] local.INFO: Acknowledgment sent {"connection_id":46522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:27:20] local.INFO: TCP Data received {"connection_id":46161,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:27:20] local.INFO: Processing buffer {"connection_id":46161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:27:20] local.INFO: IMEI packet received {"connection_id":46161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":46161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:27:26] local.INFO: TCP Data received {"connection_id":46161,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46161,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:27:26] local.INFO: Processing buffer {"connection_id":46161,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:27:26] local.INFO: IMEI packet received {"connection_id":46161,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:27:26] local.INFO: IMEI acknowledgment sent {"connection_id":46161,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:27:27] local.INFO: TCP Data received {"connection_id":46161,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:27:27] local.INFO: Processing buffer {"connection_id":46161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:27:27] local.INFO: Packet analysis {"connection_id":46161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:27:27] local.INFO: Extracted packet for processing {"connection_id":46161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:27:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769776384001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22: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-04-17 22:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444740000,"timestamp_ms":1776444740000,"timestamp_seconds":1776444740,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5b91a0"} 
[2026-04-17 22:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:27:27] 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-04-17 22: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:27:27] 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-04-17 22: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-04-17 22:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769776384001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769776384001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:27:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:27:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769776384001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":46161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23404,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:27:27] local.INFO: GPS data processed {"connection_id":46161,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:27:27] local.INFO: Acknowledgment sent {"connection_id":46161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:27:39] local.INFO: TCP Data received {"connection_id":46522,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:27:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46522,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:27:39] local.INFO: Processing buffer {"connection_id":46522,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:27:39] local.INFO: Packet analysis {"connection_id":46522,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:27:39] local.INFO: Extracted packet for processing {"connection_id":46522,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:27:39] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":23,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 22:27:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769835264001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:27:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:27:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:27:39] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:27:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776444970000,"timestamp_ms":1776444970000,"timestamp_seconds":1776444970,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5f1410"} 
[2026-04-17 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-04-17 22:27:39] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":238,"data_length":795,"current_offset":136} 
[2026-04-17 22:27: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-04-17 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-04-17 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-04-17 22:27:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:27:39] local.INFO: Teltonika packet parsed successfully {"connection_id":46522,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:27:39] local.INFO: Passing IMEI to GPS processor {"connection_id":46522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:27:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":46522,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:27:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:27:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:27:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:27:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769835264001,"66":25180,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:27:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:27:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:27:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769835264001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:27:39] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:27:39] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:27:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:27:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:27:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769835264001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:27:39] local.INFO: DEBUG: GPS processor result {"connection_id":46522,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23405,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:27:39] local.INFO: GPS data processed {"connection_id":46522,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:27:39] local.INFO: Acknowledgment sent {"connection_id":46522,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:27:55] local.INFO: TCP Data received {"connection_id":46162,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:27:55] local.INFO: Processing buffer {"connection_id":46162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:27:55] local.INFO: IMEI packet received {"connection_id":46162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:27:55] local.INFO: IMEI acknowledgment sent {"connection_id":46162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:27:59] local.INFO: TCP Data received {"connection_id":46161,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46161,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:27:59] local.INFO: Processing buffer {"connection_id":46161,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5b91a0012d196500071ff090003a013b2c..."} 
[2026-04-17 22:27:59] local.INFO: Packet analysis {"connection_id":46161,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:27:59] local.INFO: Extracted packet for processing {"connection_id":46161,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5b"} 
[2026-04-17 22:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769776384001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:27: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-04-17 22:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776444740000,"timestamp_ms":1776444740000,"timestamp_seconds":1776444740,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5b91a0"} 
[2026-04-17 22:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:27:59] 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-04-17 22:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:27:59] 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-04-17 22:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46161,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46161,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769776384001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769776384001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:27:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:27:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769776384001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":46161,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23406,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:27:59] local.INFO: GPS data processed {"connection_id":46161,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:27:59] local.INFO: Acknowledgment sent {"connection_id":46161,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:28:00] local.INFO: TCP Data received {"connection_id":46162,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:28:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46162,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:28:00] local.INFO: Processing buffer {"connection_id":46162,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:28:00] local.INFO: IMEI packet received {"connection_id":46162,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:28:00] local.INFO: IMEI acknowledgment sent {"connection_id":46162,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:28:01] local.INFO: TCP Data received {"connection_id":46162,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:28:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:28:01] local.INFO: Processing buffer {"connection_id":46162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:28:01] local.INFO: Packet analysis {"connection_id":46162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:28:01] local.INFO: Extracted packet for processing {"connection_id":46162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:28:01] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":23,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 22:28:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769835264001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:28:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:28:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:28:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:28:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776444970000,"timestamp_ms":1776444970000,"timestamp_seconds":1776444970,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5f1410"} 
[2026-04-17 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-04-17 22:28:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":238,"data_length":795,"current_offset":136} 
[2026-04-17 22:28: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-04-17 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-04-17 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-04-17 22:28:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:28:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:28:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:28:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:28:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:28:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:28:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:28:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769835264001,"66":25180,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:28:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:28:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:28:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769835264001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:28:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:28:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:28:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:28:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:28:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769835264001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:28:01] local.INFO: DEBUG: GPS processor result {"connection_id":46162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23407,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:28:01] local.INFO: GPS data processed {"connection_id":46162,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:28:01] local.INFO: Acknowledgment sent {"connection_id":46162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:28:05] local.INFO: TCP Data received {"connection_id":46162,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:28:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46162,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:28:05] local.INFO: Processing buffer {"connection_id":46162,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:28:05] local.INFO: Packet analysis {"connection_id":46162,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:28:05] local.INFO: Extracted packet for processing {"connection_id":46162,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:28:05] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":23,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:28:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769835264001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:28:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:28:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:28:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:28:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776444970000,"timestamp_ms":1776444970000,"timestamp_seconds":1776444970,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5f1410"} 
[2026-04-17 22:28:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:28:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:28:05] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 22:28:05] 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-04-17 22:28:05] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:28:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:28:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:28:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46162,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:28:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:28:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46162,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:28:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:28:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:28:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:28:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769835264001,"66":25180,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:28:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:28:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:28:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769835264001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:28:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:28:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:28:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:28:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:28:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769835264001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:28:05] local.INFO: DEBUG: GPS processor result {"connection_id":46162,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23408,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:28:05] local.INFO: GPS data processed {"connection_id":46162,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:28:05] local.INFO: Acknowledgment sent {"connection_id":46162,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:28:19] local.INFO: TCP Data received {"connection_id":46524,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:28:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46524,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:28:19] local.INFO: Processing buffer {"connection_id":46524,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:28:19] local.INFO: IMEI packet received {"connection_id":46524,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 22:28:19] local.INFO: IMEI acknowledgment sent {"connection_id":46524,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:28:26] local.INFO: TCP Data received {"connection_id":47022,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:28:26] local.INFO: Processing buffer {"connection_id":47022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:28:26] local.INFO: IMEI packet received {"connection_id":47022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":47022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:28:31] local.INFO: TCP Data received {"connection_id":47022,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47022,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:28:31] local.INFO: Processing buffer {"connection_id":47022,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:28:31] local.INFO: IMEI packet received {"connection_id":47022,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":47022,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:28:33] local.INFO: TCP Data received {"connection_id":47022,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:28:33] local.INFO: Processing buffer {"connection_id":47022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:28:33] local.INFO: Packet analysis {"connection_id":47022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:28:33] local.INFO: Extracted packet for processing {"connection_id":47022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769853440001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:28: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-04-17 22:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776445041000,"timestamp_ms":1776445041000,"timestamp_seconds":1776445041,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c602968"} 
[2026-04-17 22:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:28:33] 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-04-17 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:28: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-04-17 22: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-04-17 22:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":47022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":47022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":47022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769853440001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769853440001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:28:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:28:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769853440001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":47022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23409,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:28:33] local.INFO: GPS data processed {"connection_id":47022,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:28:33] local.INFO: Acknowledgment sent {"connection_id":47022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:28:37] local.INFO: TCP Data received {"connection_id":47022,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:28:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47022,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:28:37] local.INFO: Processing buffer {"connection_id":47022,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:28:37] local.INFO: Packet analysis {"connection_id":47022,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:28:37] local.INFO: Extracted packet for processing {"connection_id":47022,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:28:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:28:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769853440001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:28:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:28:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:28: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-04-17 22:28:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776445041000,"timestamp_ms":1776445041000,"timestamp_seconds":1776445041,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c602968"} 
[2026-04-17 22:28:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:28:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:28:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:28:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:28:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:28:37] local.INFO: Teltonika packet parsed successfully {"connection_id":47022,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:28:37] local.INFO: Passing IMEI to GPS processor {"connection_id":47022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:28:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":47022,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:28:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:28:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:28:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:28:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769853440001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:28:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:28:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:28:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769853440001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:28:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:28:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:28:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:28:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:28:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769853440001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:28:37] local.INFO: DEBUG: GPS processor result {"connection_id":47022,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23410,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:28:37] local.INFO: GPS data processed {"connection_id":47022,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:28:37] local.INFO: Acknowledgment sent {"connection_id":47022,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:28:50] local.INFO: TCP Data received {"connection_id":46163,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:28:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:28:50] local.INFO: Processing buffer {"connection_id":46163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:28:50] local.INFO: IMEI packet received {"connection_id":46163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:28:50] local.INFO: IMEI acknowledgment sent {"connection_id":46163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:28:55] local.INFO: TCP Data received {"connection_id":46163,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46163,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:28:55] local.INFO: Processing buffer {"connection_id":46163,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:28:55] local.INFO: IMEI packet received {"connection_id":46163,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":46163,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:28:56] local.INFO: TCP Data received {"connection_id":46163,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:28:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:28:56] local.INFO: Processing buffer {"connection_id":46163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:28:56] local.INFO: Packet analysis {"connection_id":46163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:28:56] local.INFO: Extracted packet for processing {"connection_id":46163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:28:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":23,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:28:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769835264001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:28:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:28:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:28:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:28:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776444970000,"timestamp_ms":1776444970000,"timestamp_seconds":1776444970,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5f1410"} 
[2026-04-17 22:28:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:28:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:28:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 22:28:56] 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-04-17 22:28:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:28:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:28:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:28:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:28:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:28:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:28:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:28:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:28:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:28:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769835264001,"66":25180,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:28:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:28:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:28:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769835264001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:28:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:28:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:28:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:28:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:28:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769835264001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:28:56] local.INFO: DEBUG: GPS processor result {"connection_id":46163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23411,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:28:56] local.INFO: GPS data processed {"connection_id":46163,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:28:56] local.INFO: Acknowledgment sent {"connection_id":46163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:29:06] local.INFO: TCP Data received {"connection_id":47023,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:29:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47023,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:29:06] local.INFO: Processing buffer {"connection_id":47023,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:29:06] local.INFO: IMEI packet received {"connection_id":47023,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 22:29:06] local.INFO: IMEI acknowledgment sent {"connection_id":47023,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:29:21] local.INFO: TCP Data received {"connection_id":46525,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:29:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:29:21] local.INFO: Processing buffer {"connection_id":46525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:29:21] local.INFO: IMEI packet received {"connection_id":46525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:29:21] local.INFO: IMEI acknowledgment sent {"connection_id":46525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:29:26] local.INFO: TCP Data received {"connection_id":46525,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:29:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46525,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:29:26] local.INFO: Processing buffer {"connection_id":46525,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:29:26] local.INFO: IMEI packet received {"connection_id":46525,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:29:26] local.INFO: IMEI acknowledgment sent {"connection_id":46525,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:29:27] local.INFO: TCP Data received {"connection_id":46163,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46163,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:29:27] local.INFO: Processing buffer {"connection_id":46163,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:29:27] local.INFO: Packet analysis {"connection_id":46163,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:29:27] local.INFO: Extracted packet for processing {"connection_id":46163,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:29:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":23,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769835264001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:29:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444970000,"timestamp_ms":1776444970000,"timestamp_seconds":1776444970,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5f1410"} 
[2026-04-17 22:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:29:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 22:29:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46163,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46163,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769835264001,"66":25180,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769835264001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:29:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:29:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769835264001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":46163,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23412,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:29:27] local.INFO: GPS data processed {"connection_id":46163,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:29:27] local.INFO: Acknowledgment sent {"connection_id":46163,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:29:27] local.INFO: TCP Data received {"connection_id":46525,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:29:27] local.INFO: Processing buffer {"connection_id":46525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:29:27] local.INFO: Packet analysis {"connection_id":46525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:29:27] local.INFO: Extracted packet for processing {"connection_id":46525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:29:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769853440001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:29: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-04-17 22:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445041000,"timestamp_ms":1776445041000,"timestamp_seconds":1776445041,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c602968"} 
[2026-04-17 22:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:29:27] 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-04-17 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:29: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-04-17 22:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769853440001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769853440001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:29:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:29:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769853440001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":46525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23413,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:29:27] local.INFO: GPS data processed {"connection_id":46525,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:29:27] local.INFO: Acknowledgment sent {"connection_id":46525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:29:49] local.INFO: TCP Data received {"connection_id":46164,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:29:49] local.INFO: Processing buffer {"connection_id":46164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:29:49] local.INFO: IMEI packet received {"connection_id":46164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":46164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:29:55] local.INFO: TCP Data received {"connection_id":46164,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:29:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46164,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:29:55] local.INFO: Processing buffer {"connection_id":46164,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:29:55] local.INFO: IMEI packet received {"connection_id":46164,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:29:55] local.INFO: IMEI acknowledgment sent {"connection_id":46164,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:29:56] local.INFO: TCP Data received {"connection_id":46164,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:29:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:29:56] local.INFO: Processing buffer {"connection_id":46164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:29:56] local.INFO: Packet analysis {"connection_id":46164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:29:56] local.INFO: Extracted packet for processing {"connection_id":46164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:29:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":23,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:29:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769835264001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:29:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:29:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:29:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:29:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776444970000,"timestamp_ms":1776444970000,"timestamp_seconds":1776444970,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5f1410"} 
[2026-04-17 22:29:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:29:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 22:29:56] 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-04-17 22: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-04-17 22:29:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:29:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:29:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:29:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:29:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:29:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:29:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:29:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:29:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769835264001,"66":25180,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:29:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:29:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:29:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769835264001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:29:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:29:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:29:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:29:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:29:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769835264001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:29:56] local.INFO: DEBUG: GPS processor result {"connection_id":46164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23414,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:29:56] local.INFO: GPS data processed {"connection_id":46164,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:29:56] local.INFO: Acknowledgment sent {"connection_id":46164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:29:59] local.INFO: TCP Data received {"connection_id":46525,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:29:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46525,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:29:59] local.INFO: Processing buffer {"connection_id":46525,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:29:59] local.INFO: Packet analysis {"connection_id":46525,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:29:59] local.INFO: Extracted packet for processing {"connection_id":46525,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:29:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:29:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769853440001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:29:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:29:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:29: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-04-17 22:29:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776445041000,"timestamp_ms":1776445041000,"timestamp_seconds":1776445041,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c602968"} 
[2026-04-17 22:29:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:29:59] 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-04-17 22:29:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:29:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:29:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:29:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:29:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:29:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46525,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:29:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:29:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46525,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:29:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:29:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:29:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:29:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769853440001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:29:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:29:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:29:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769853440001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:29:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:29:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:29:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:29:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:29:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769853440001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:29:59] local.INFO: DEBUG: GPS processor result {"connection_id":46525,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23415,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:29:59] local.INFO: GPS data processed {"connection_id":46525,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:29:59] local.INFO: Acknowledgment sent {"connection_id":46525,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:30:21] local.INFO: TCP Data received {"connection_id":46273,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:30:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:30:21] local.INFO: Processing buffer {"connection_id":46273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:30:21] local.INFO: IMEI packet received {"connection_id":46273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:30:21] local.INFO: IMEI acknowledgment sent {"connection_id":46273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:30:26] local.INFO: TCP Data received {"connection_id":46273,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:30:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46273,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:30:26] local.INFO: Processing buffer {"connection_id":46273,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:30:26] local.INFO: IMEI packet received {"connection_id":46273,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:30:26] local.INFO: IMEI acknowledgment sent {"connection_id":46273,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:30:27] local.INFO: TCP Data received {"connection_id":46164,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46164,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:30:27] local.INFO: Processing buffer {"connection_id":46164,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:30:27] local.INFO: Packet analysis {"connection_id":46164,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:30:27] local.INFO: Extracted packet for processing {"connection_id":46164,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:30:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":23,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769835264001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:30:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444970000,"timestamp_ms":1776444970000,"timestamp_seconds":1776444970,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5f1410"} 
[2026-04-17 22:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:30:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 22:30:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46164,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46164,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769835264001,"66":25180,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769835264001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:30:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:30:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769835264001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":46164,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23416,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:30:27] local.INFO: GPS data processed {"connection_id":46164,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:30:27] local.INFO: Acknowledgment sent {"connection_id":46164,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:30:28] local.INFO: TCP Data received {"connection_id":46273,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:30:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:30:28] local.INFO: Processing buffer {"connection_id":46273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:30:28] local.INFO: Packet analysis {"connection_id":46273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:30:28] local.INFO: Extracted packet for processing {"connection_id":46273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:30:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:30:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769853440001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:30:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:30:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:30: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-04-17 22:30:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776445041000,"timestamp_ms":1776445041000,"timestamp_seconds":1776445041,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c602968"} 
[2026-04-17 22:30:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:30: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-04-17 22:30:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:30: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-04-17 22:30:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:30:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:30:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:30:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:30:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:30:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:30:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:30:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:30:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:30:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769853440001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:30:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:30:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:30:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769853440001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:30:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:30:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:30:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:30:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:30:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769853440001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:30:28] local.INFO: DEBUG: GPS processor result {"connection_id":46273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23417,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:30:28] local.INFO: GPS data processed {"connection_id":46273,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:30:28] local.INFO: Acknowledgment sent {"connection_id":46273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:30:49] local.INFO: TCP Data received {"connection_id":46274,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:30:49] local.INFO: Processing buffer {"connection_id":46274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:30:49] local.INFO: IMEI packet received {"connection_id":46274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":46274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:30:54] local.INFO: TCP Data received {"connection_id":46274,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46274,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:30:54] local.INFO: Processing buffer {"connection_id":46274,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:30:54] local.INFO: IMEI packet received {"connection_id":46274,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":46274,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:30:55] local.INFO: TCP Data received {"connection_id":46274,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:30:55] local.INFO: Processing buffer {"connection_id":46274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:30:55] local.INFO: Packet analysis {"connection_id":46274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:30:55] local.INFO: Extracted packet for processing {"connection_id":46274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:30:55] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":23,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769835264001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776444970000,"timestamp_ms":1776444970000,"timestamp_seconds":1776444970,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5f1410"} 
[2026-04-17 22:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 22:30:55] 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-04-17 22:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769835264001,"66":25180,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769835264001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:30:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:30:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769835264001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":46274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23418,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:30:55] local.INFO: GPS data processed {"connection_id":46274,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:30:55] local.INFO: Acknowledgment sent {"connection_id":46274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:31:00] local.INFO: TCP Data received {"connection_id":46273,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:31:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46273,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:31:00] local.INFO: Processing buffer {"connection_id":46273,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:31:00] local.INFO: Packet analysis {"connection_id":46273,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:31:00] local.INFO: Extracted packet for processing {"connection_id":46273,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:31:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 22:31:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769853440001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:31:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:31:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22: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-04-17 22:31:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776445041000,"timestamp_ms":1776445041000,"timestamp_seconds":1776445041,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c602968"} 
[2026-04-17 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-04-17 22:31: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-04-17 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:31: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-04-17 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-04-17 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-04-17 22:31:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:31:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46273,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:31:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:31:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46273,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:31:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:31:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:31:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:31:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769853440001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:31:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:31:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:31:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769853440001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:31:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:31:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:31:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:31:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:31:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769853440001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:31:00] local.INFO: DEBUG: GPS processor result {"connection_id":46273,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23419,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:31:00] local.INFO: GPS data processed {"connection_id":46273,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:31:00] local.INFO: Acknowledgment sent {"connection_id":46273,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:31:21] local.INFO: TCP Data received {"connection_id":46166,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:31:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:31:21] local.INFO: Processing buffer {"connection_id":46166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:31:21] local.INFO: IMEI packet received {"connection_id":46166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:31:21] local.INFO: IMEI acknowledgment sent {"connection_id":46166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:31:26] local.INFO: TCP Data received {"connection_id":46166,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46166,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:31:26] local.INFO: Processing buffer {"connection_id":46166,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:31:26] local.INFO: IMEI packet received {"connection_id":46166,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:31:26] local.INFO: IMEI acknowledgment sent {"connection_id":46166,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:31:27] local.INFO: TCP Data received {"connection_id":46274,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46274,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:31:27] local.INFO: Processing buffer {"connection_id":46274,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c5f1410012d77a30005f2a4b0001700d52e..."} 
[2026-04-17 22:31:27] local.INFO: Packet analysis {"connection_id":46274,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:31:27] local.INFO: Extracted packet for processing {"connection_id":46274,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c5f"} 
[2026-04-17 22:31:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":23,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769835264001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:31:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776444970000,"timestamp_ms":1776444970000,"timestamp_seconds":1776444970,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c5f1410"} 
[2026-04-17 22:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:31:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":238,"data_length":795,"current_offset":136} 
[2026-04-17 22:31:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2835,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46274,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46274,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769835264001,"66":25180,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769835264001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:31:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:31:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769835264001,"power":25180,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":46274,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23420,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:31:27] local.INFO: GPS data processed {"connection_id":46274,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:31:27] local.INFO: Acknowledgment sent {"connection_id":46274,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:31:28] local.INFO: TCP Data received {"connection_id":46166,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:31:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:31:28] local.INFO: Processing buffer {"connection_id":46166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:31:28] local.INFO: Packet analysis {"connection_id":46166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:31:28] local.INFO: Extracted packet for processing {"connection_id":46166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:31:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:31:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769853440001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:31:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:31:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:31: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-04-17 22:31:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776445041000,"timestamp_ms":1776445041000,"timestamp_seconds":1776445041,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c602968"} 
[2026-04-17 22:31:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:31: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-04-17 22:31:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:31: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-04-17 22:31:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:31:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:31:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:31:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:31:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:31:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:31:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:31:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:31:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:31:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769853440001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:31:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:31:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:31:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769853440001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:31:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:31:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:31:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:31:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:31:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769853440001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:31:28] local.INFO: DEBUG: GPS processor result {"connection_id":46166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23421,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:31:28] local.INFO: GPS data processed {"connection_id":46166,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:31:28] local.INFO: Acknowledgment sent {"connection_id":46166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:31:49] local.INFO: TCP Data received {"connection_id":47024,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:31:49] local.INFO: Processing buffer {"connection_id":47024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:31:49] local.INFO: IMEI packet received {"connection_id":47024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":47024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:31:50] local.INFO: TCP Data received {"connection_id":47024,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:31:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:31:50] local.INFO: Processing buffer {"connection_id":47024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:31:50] local.INFO: IMEI packet received {"connection_id":47024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:31:50] local.INFO: IMEI acknowledgment sent {"connection_id":47024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:31:55] local.INFO: TCP Data received {"connection_id":47024,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47024,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:31:55] local.INFO: Processing buffer {"connection_id":47024,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:31:55] local.INFO: IMEI packet received {"connection_id":47024,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:31:55] local.INFO: IMEI acknowledgment sent {"connection_id":47024,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:31:56] local.INFO: TCP Data received {"connection_id":47024,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:31:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:31:56] local.INFO: Processing buffer {"connection_id":47024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:31:56] local.INFO: Packet analysis {"connection_id":47024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:31:56] local.INFO: Extracted packet for processing {"connection_id":47024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:31:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:31:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769912320001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:31:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:31:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:31:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:31:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776445271000,"timestamp_ms":1776445271000,"timestamp_seconds":1776445271,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c63abd8"} 
[2026-04-17 22:31:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:31:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:31:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 22:31:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:31:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:31:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:31:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:31:56] local.INFO: Teltonika packet parsed successfully {"connection_id":47024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:31:56] local.INFO: Passing IMEI to GPS processor {"connection_id":47024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:31:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":47024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:31:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:31:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:31:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:31:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769912320001,"66":25473,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:31:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:31:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:31:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769912320001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:31:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:31:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:31:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:31:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:31:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769912320001,"power":25473,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:31:56] local.INFO: DEBUG: GPS processor result {"connection_id":47024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23422,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:31:56] local.INFO: GPS data processed {"connection_id":47024,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:31:56] local.INFO: Acknowledgment sent {"connection_id":47024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:31:59] local.INFO: TCP Data received {"connection_id":46166,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:31:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46166,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:31:59] local.INFO: Processing buffer {"connection_id":46166,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:31:59] local.INFO: Packet analysis {"connection_id":46166,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:31:59] local.INFO: Extracted packet for processing {"connection_id":46166,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:31:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:31:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769853440001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:31:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:31:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:31: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-04-17 22:31:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776445041000,"timestamp_ms":1776445041000,"timestamp_seconds":1776445041,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c602968"} 
[2026-04-17 22:31:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:31:59] 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-04-17 22:31:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:31:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:31:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:31:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:31:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:31:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46166,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:31:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:31:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46166,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:31:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:31:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:31:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:31:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769853440001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:31:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:31:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:31:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769853440001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:31:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:31:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:31:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:31:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:31:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769853440001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:31:59] local.INFO: DEBUG: GPS processor result {"connection_id":46166,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23423,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:31:59] local.INFO: GPS data processed {"connection_id":46166,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:31:59] local.INFO: Acknowledgment sent {"connection_id":46166,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:32:20] local.INFO: TCP Data received {"connection_id":47025,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:32:20] local.INFO: Processing buffer {"connection_id":47025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:32:20] local.INFO: IMEI packet received {"connection_id":47025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":47025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:32:26] local.INFO: TCP Data received {"connection_id":47025,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47025,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:32:26] local.INFO: Processing buffer {"connection_id":47025,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:32:26] local.INFO: IMEI packet received {"connection_id":47025,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:32:26] local.INFO: IMEI acknowledgment sent {"connection_id":47025,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:32:27] local.INFO: TCP Data received {"connection_id":47024,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:32:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47024,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:32:27] local.INFO: Processing buffer {"connection_id":47024,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:32:27] local.INFO: Packet analysis {"connection_id":47024,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:32:27] local.INFO: Extracted packet for processing {"connection_id":47024,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:32:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:32:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769912320001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:32:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:32:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:32:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:32:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445271000,"timestamp_ms":1776445271000,"timestamp_seconds":1776445271,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c63abd8"} 
[2026-04-17 22:32:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:32:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:32:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 22:32:27] 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-04-17 22:32:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:32:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:32:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:32:27] local.INFO: Teltonika packet parsed successfully {"connection_id":47024,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:32:27] local.INFO: Passing IMEI to GPS processor {"connection_id":47024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:32:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":47024,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:32:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:32:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:32:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:32:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769912320001,"66":25473,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:32:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:32:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:32:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769912320001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:32:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:32:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:32:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:32:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:32:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769912320001,"power":25473,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:32:27] local.INFO: DEBUG: GPS processor result {"connection_id":47024,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23424,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:32:27] local.INFO: GPS data processed {"connection_id":47024,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:32:27] local.INFO: Acknowledgment sent {"connection_id":47024,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:32:28] local.INFO: TCP Data received {"connection_id":47025,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:32:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:32:28] local.INFO: Processing buffer {"connection_id":47025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:32:28] local.INFO: Packet analysis {"connection_id":47025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:32:28] local.INFO: Extracted packet for processing {"connection_id":47025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:32:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:32:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769853440001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:32:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:32:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:32: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-04-17 22:32:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776445041000,"timestamp_ms":1776445041000,"timestamp_seconds":1776445041,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c602968"} 
[2026-04-17 22:32:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:32: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-04-17 22:32:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:32: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-04-17 22:32:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:32:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:32:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:32:28] local.INFO: Teltonika packet parsed successfully {"connection_id":47025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:32:28] local.INFO: Passing IMEI to GPS processor {"connection_id":47025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:32:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":47025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:32:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:32:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:32:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:32:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769853440001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:32:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:32:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:32:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769853440001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:32:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:32:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:32:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:32:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:32:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769853440001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:32:28] local.INFO: DEBUG: GPS processor result {"connection_id":47025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23425,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:32:28] local.INFO: GPS data processed {"connection_id":47025,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:32:28] local.INFO: Acknowledgment sent {"connection_id":47025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:32:50] local.INFO: TCP Data received {"connection_id":46167,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:32:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:32:50] local.INFO: Processing buffer {"connection_id":46167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:32:50] local.INFO: IMEI packet received {"connection_id":46167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:32:50] local.INFO: IMEI acknowledgment sent {"connection_id":46167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:32:55] local.INFO: TCP Data received {"connection_id":46167,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46167,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:32:55] local.INFO: Processing buffer {"connection_id":46167,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:32:55] local.INFO: IMEI packet received {"connection_id":46167,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:32:55] local.INFO: IMEI acknowledgment sent {"connection_id":46167,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:32:56] local.INFO: TCP Data received {"connection_id":46167,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:32:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:32:56] local.INFO: Processing buffer {"connection_id":46167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:32:56] local.INFO: Packet analysis {"connection_id":46167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:32:56] local.INFO: Extracted packet for processing {"connection_id":46167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:32:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:32:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769912320001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:32:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:32:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:32:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:32:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776445271000,"timestamp_ms":1776445271000,"timestamp_seconds":1776445271,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c63abd8"} 
[2026-04-17 22:32:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:32:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 22:32:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:32:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:32:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:32:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:32:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:32:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:32:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:32:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:32:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:32:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769912320001,"66":25473,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:32:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:32:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:32:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769912320001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:32:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:32:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:32:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:32:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:32:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769912320001,"power":25473,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:32:56] local.INFO: DEBUG: GPS processor result {"connection_id":46167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23426,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:32:56] local.INFO: GPS data processed {"connection_id":46167,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:32:56] local.INFO: Acknowledgment sent {"connection_id":46167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:33:00] local.INFO: TCP Data received {"connection_id":47025,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47025,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:33:00] local.INFO: Processing buffer {"connection_id":47025,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c602968012d196500071ff090003a013b2b..."} 
[2026-04-17 22:33:00] local.INFO: Packet analysis {"connection_id":47025,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:33:00] local.INFO: Extracted packet for processing {"connection_id":47025,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c60"} 
[2026-04-17 22:33:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 22:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769853440001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22: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-04-17 22:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776445041000,"timestamp_ms":1776445041000,"timestamp_seconds":1776445041,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c602968"} 
[2026-04-17 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-04-17 22:33: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-04-17 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:33: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-04-17 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-04-17 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-04-17 22:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":47025,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":47025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":47025,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769853440001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769853440001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:33:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:33:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769853440001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":47025,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23427,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:33:00] local.INFO: GPS data processed {"connection_id":47025,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:33:00] local.INFO: Acknowledgment sent {"connection_id":47025,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:33:26] local.INFO: TCP Data received {"connection_id":46529,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:33:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:33:26] local.INFO: Processing buffer {"connection_id":46529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:33:26] local.INFO: IMEI packet received {"connection_id":46529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:33:26] local.INFO: IMEI acknowledgment sent {"connection_id":46529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:33:27] local.INFO: TCP Data received {"connection_id":46167,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:33:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46167,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:33:27] local.INFO: Processing buffer {"connection_id":46167,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:33:27] local.INFO: Packet analysis {"connection_id":46167,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:33:27] local.INFO: Extracted packet for processing {"connection_id":46167,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:33:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:33:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769912320001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:33:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:33:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:33:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:33:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445271000,"timestamp_ms":1776445271000,"timestamp_seconds":1776445271,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c63abd8"} 
[2026-04-17 22:33:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:33:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:33:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 22:33:27] 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-04-17 22:33:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:33:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:33:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:33:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46167,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:33:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:33:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46167,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:33:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:33:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:33:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:33:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769912320001,"66":25473,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:33:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:33:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:33:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769912320001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:33:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:33:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:33:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:33:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:33:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769912320001,"power":25473,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:33:27] local.INFO: DEBUG: GPS processor result {"connection_id":46167,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23428,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:33:27] local.INFO: GPS data processed {"connection_id":46167,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:33:27] local.INFO: Acknowledgment sent {"connection_id":46167,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:33:31] local.INFO: TCP Data received {"connection_id":46529,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:33:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46529,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:33:31] local.INFO: Processing buffer {"connection_id":46529,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:33:31] local.INFO: IMEI packet received {"connection_id":46529,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:33:31] local.INFO: IMEI acknowledgment sent {"connection_id":46529,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:33:32] local.INFO: TCP Data received {"connection_id":46529,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:33:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:33:32] local.INFO: Processing buffer {"connection_id":46529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:33:32] local.INFO: Packet analysis {"connection_id":46529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:33:32] local.INFO: Extracted packet for processing {"connection_id":46529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:33:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:33:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769930496001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:33:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:33:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:33:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:33:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776445342000,"timestamp_ms":1776445342000,"timestamp_seconds":1776445342,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c64c130"} 
[2026-04-17 22:33:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:33:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:33:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:33: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-04-17 22:33:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:33:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:33:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:33:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:33:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:33:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:33:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:33:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:33:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:33:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769930496001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:33:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:33:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:33:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769930496001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:33:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:33:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:33:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:33:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:33:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769930496001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:33:33] local.INFO: DEBUG: GPS processor result {"connection_id":46529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23429,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:33:33] local.INFO: GPS data processed {"connection_id":46529,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:33:33] local.INFO: Acknowledgment sent {"connection_id":46529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:33:49] local.INFO: TCP Data received {"connection_id":47026,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:33:49] local.INFO: Processing buffer {"connection_id":47026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:33:49] local.INFO: IMEI packet received {"connection_id":47026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":47026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:33:55] local.INFO: TCP Data received {"connection_id":47026,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47026,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:33:55] local.INFO: Processing buffer {"connection_id":47026,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:33:55] local.INFO: IMEI packet received {"connection_id":47026,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:33:55] local.INFO: IMEI acknowledgment sent {"connection_id":47026,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:33:56] local.INFO: TCP Data received {"connection_id":47026,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:33:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:33:56] local.INFO: Processing buffer {"connection_id":47026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:33:56] local.INFO: Packet analysis {"connection_id":47026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:33:56] local.INFO: Extracted packet for processing {"connection_id":47026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:33:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:33:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769912320001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:33:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:33:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:33:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:33:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776445271000,"timestamp_ms":1776445271000,"timestamp_seconds":1776445271,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c63abd8"} 
[2026-04-17 22:33:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:33:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 22:33:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:33:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:33:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:33:56] local.INFO: Teltonika packet parsed successfully {"connection_id":47026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:33:56] local.INFO: Passing IMEI to GPS processor {"connection_id":47026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:33:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":47026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:33:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:33:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:33:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:33:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769912320001,"66":25473,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:33:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:33:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:33:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769912320001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:33:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:33:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:33:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:33:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:33:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769912320001,"power":25473,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:33:56] local.INFO: DEBUG: GPS processor result {"connection_id":47026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23430,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:33:56] local.INFO: GPS data processed {"connection_id":47026,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:33:56] local.INFO: Acknowledgment sent {"connection_id":47026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:34:04] local.INFO: TCP Data received {"connection_id":46529,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:34:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46529,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:34:04] local.INFO: Processing buffer {"connection_id":46529,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:34:04] local.INFO: Packet analysis {"connection_id":46529,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:34:04] local.INFO: Extracted packet for processing {"connection_id":46529,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:34:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:34:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769930496001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:34:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:34:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:34:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:34:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776445342000,"timestamp_ms":1776445342000,"timestamp_seconds":1776445342,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c64c130"} 
[2026-04-17 22:34:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:34:04] 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-04-17 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:34:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:34:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:34:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:34:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46529,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:34:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:34:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46529,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:34:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:34:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:34:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:34:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769930496001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:34:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:34:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:34:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769930496001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:34:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:34:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:34:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:34:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:34:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769930496001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:34:04] local.INFO: DEBUG: GPS processor result {"connection_id":46529,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23431,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:34:04] local.INFO: GPS data processed {"connection_id":46529,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:34:04] local.INFO: Acknowledgment sent {"connection_id":46529,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:34:21] local.INFO: TCP Data received {"connection_id":46530,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:34:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:34:21] local.INFO: Processing buffer {"connection_id":46530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:34:21] local.INFO: IMEI packet received {"connection_id":46530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:34:21] local.INFO: IMEI acknowledgment sent {"connection_id":46530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:34:26] local.INFO: TCP Data received {"connection_id":46530,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:34:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46530,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:34:26] local.INFO: Processing buffer {"connection_id":46530,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:34:26] local.INFO: IMEI packet received {"connection_id":46530,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:34:26] local.INFO: IMEI acknowledgment sent {"connection_id":46530,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:34:27] local.INFO: TCP Data received {"connection_id":46530,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:34:27] local.INFO: Processing buffer {"connection_id":46530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:34:27] local.INFO: Packet analysis {"connection_id":46530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:34:27] local.INFO: Extracted packet for processing {"connection_id":46530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:34:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769930496001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:34: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-04-17 22:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445342000,"timestamp_ms":1776445342000,"timestamp_seconds":1776445342,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c64c130"} 
[2026-04-17 22:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:34:27] 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-04-17 22:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:34: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-04-17 22:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769930496001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769930496001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:34:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:34:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769930496001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:34:27] local.INFO: TCP Data received {"connection_id":47026,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:34:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47026,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:34:27] local.INFO: Processing buffer {"connection_id":47026,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:34:27] local.INFO: Packet analysis {"connection_id":47026,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:34:27] local.INFO: Extracted packet for processing {"connection_id":47026,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:34:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:34:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769912320001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:34:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:34:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:34:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:34:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445271000,"timestamp_ms":1776445271000,"timestamp_seconds":1776445271,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c63abd8"} 
[2026-04-17 22:34:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:34:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:34:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 22:34:27] 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-04-17 22:34:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:34:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:34:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:34:27] local.INFO: Teltonika packet parsed successfully {"connection_id":47026,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:34:27] local.INFO: Passing IMEI to GPS processor {"connection_id":47026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:34:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":47026,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:34:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:34:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:34:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:34:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769912320001,"66":25473,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:34:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:34:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:34:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769912320001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:34:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:34:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:34:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:34:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:34:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769912320001,"power":25473,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":47026,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23432,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:34:27] local.INFO: GPS data processed {"connection_id":47026,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:34:27] local.INFO: Acknowledgment sent {"connection_id":47026,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:34:27] local.INFO: DEBUG: GPS processor result {"connection_id":46530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23433,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:34:27] local.INFO: GPS data processed {"connection_id":46530,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:34:27] local.INFO: Acknowledgment sent {"connection_id":46530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:34:29] local.INFO: TCP Data received {"connection_id":46276,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:34:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46276,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:34:29] local.INFO: Processing buffer {"connection_id":46276,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:34:29] local.INFO: IMEI packet received {"connection_id":46276,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 22:34:29] local.INFO: IMEI acknowledgment sent {"connection_id":46276,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:34:49] local.INFO: TCP Data received {"connection_id":46277,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:34:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:34:49] local.INFO: Processing buffer {"connection_id":46277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:34:49] local.INFO: IMEI packet received {"connection_id":46277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:34:49] local.INFO: IMEI acknowledgment sent {"connection_id":46277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:34:55] local.INFO: TCP Data received {"connection_id":46277,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:34:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46277,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:34:55] local.INFO: Processing buffer {"connection_id":46277,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:34:55] local.INFO: IMEI packet received {"connection_id":46277,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:34:55] local.INFO: IMEI acknowledgment sent {"connection_id":46277,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:34:56] local.INFO: TCP Data received {"connection_id":46277,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:34:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:34:56] local.INFO: Processing buffer {"connection_id":46277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:34:56] local.INFO: Packet analysis {"connection_id":46277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:34:56] local.INFO: Extracted packet for processing {"connection_id":46277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:34:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:34:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769912320001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:34:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:34:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:34:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:34:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776445271000,"timestamp_ms":1776445271000,"timestamp_seconds":1776445271,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c63abd8"} 
[2026-04-17 22:34:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:34:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:34:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 22:34:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:34:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:34:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:34:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:34:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:34:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:34:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:34:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:34:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:34:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:34:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769912320001,"66":25473,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:34:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:34:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:34:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769912320001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:34:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:34:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:34:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:34:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:34:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769912320001,"power":25473,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:34:56] local.INFO: DEBUG: GPS processor result {"connection_id":46277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23434,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:34:56] local.INFO: GPS data processed {"connection_id":46277,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:34:56] local.INFO: Acknowledgment sent {"connection_id":46277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:34:59] local.INFO: TCP Data received {"connection_id":46530,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:34:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46530,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:34:59] local.INFO: Processing buffer {"connection_id":46530,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:34:59] local.INFO: Packet analysis {"connection_id":46530,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:34:59] local.INFO: Extracted packet for processing {"connection_id":46530,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:34:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:34:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769930496001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:34:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:34:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:34: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-04-17 22:34:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776445342000,"timestamp_ms":1776445342000,"timestamp_seconds":1776445342,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c64c130"} 
[2026-04-17 22:34:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:34:59] 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-04-17 22:34:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:34:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:34:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:34:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:34:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:34:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46530,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:34:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:34:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46530,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:34:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:34:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:34:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:34:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769930496001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:34:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:34:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:34:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769930496001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:34:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:34:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:34:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:34:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:34:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769930496001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:34:59] local.INFO: DEBUG: GPS processor result {"connection_id":46530,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23435,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:34:59] local.INFO: GPS data processed {"connection_id":46530,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:34:59] local.INFO: Acknowledgment sent {"connection_id":46530,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:35:04] local.INFO: TCP Data received {"connection_id":46278,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:35:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46278,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:35:04] local.INFO: Processing buffer {"connection_id":46278,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:35:04] local.INFO: IMEI packet received {"connection_id":46278,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 22:35:04] local.INFO: IMEI acknowledgment sent {"connection_id":46278,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:35:21] local.INFO: TCP Data received {"connection_id":46279,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:35:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:35:21] local.INFO: Processing buffer {"connection_id":46279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:35:21] local.INFO: IMEI packet received {"connection_id":46279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:35:21] local.INFO: IMEI acknowledgment sent {"connection_id":46279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:35:26] local.INFO: TCP Data received {"connection_id":46279,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:35:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46279,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:35:26] local.INFO: Processing buffer {"connection_id":46279,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:35:26] local.INFO: IMEI packet received {"connection_id":46279,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:35:26] local.INFO: IMEI acknowledgment sent {"connection_id":46279,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:35:27] local.INFO: TCP Data received {"connection_id":46277,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46277,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:35:27] local.INFO: Processing buffer {"connection_id":46277,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:35:27] local.INFO: Packet analysis {"connection_id":46277,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:35:27] local.INFO: Extracted packet for processing {"connection_id":46277,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:35:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769912320001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:35:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445271000,"timestamp_ms":1776445271000,"timestamp_seconds":1776445271,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c63abd8"} 
[2026-04-17 22:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:35:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:35:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 22:35:27] 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-04-17 22: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-04-17 22:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46277,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46277,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769912320001,"66":25473,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769912320001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:35:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:35:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769912320001,"power":25473,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":46277,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23436,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:35:27] local.INFO: GPS data processed {"connection_id":46277,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:35:27] local.INFO: Acknowledgment sent {"connection_id":46277,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:35:27] local.INFO: TCP Data received {"connection_id":46279,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:35:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:35:27] local.INFO: Processing buffer {"connection_id":46279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:35:27] local.INFO: Packet analysis {"connection_id":46279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:35:27] local.INFO: Extracted packet for processing {"connection_id":46279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:35:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:35:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769930496001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:35:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:35:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22: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-04-17 22:35:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445342000,"timestamp_ms":1776445342000,"timestamp_seconds":1776445342,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c64c130"} 
[2026-04-17 22:35:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:35:27] 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-04-17 22: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":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:35: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-04-17 22: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-04-17 22:35:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:35:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:35:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:35:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:35:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:35:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:35:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:35:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:35:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769930496001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:35:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:35:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:35:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769930496001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:35:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:35:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:35:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:35:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:35:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769930496001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:35:27] local.INFO: DEBUG: GPS processor result {"connection_id":46279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23437,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:35:27] local.INFO: GPS data processed {"connection_id":46279,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:35:27] local.INFO: Acknowledgment sent {"connection_id":46279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:35:49] local.INFO: TCP Data received {"connection_id":46531,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:35:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:35:49] local.INFO: Processing buffer {"connection_id":46531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:35:49] local.INFO: IMEI packet received {"connection_id":46531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:35:49] local.INFO: IMEI acknowledgment sent {"connection_id":46531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:35:55] local.INFO: TCP Data received {"connection_id":46531,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:35:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46531,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:35:55] local.INFO: Processing buffer {"connection_id":46531,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:35:55] local.INFO: IMEI packet received {"connection_id":46531,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:35:55] local.INFO: IMEI acknowledgment sent {"connection_id":46531,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:35:56] local.INFO: TCP Data received {"connection_id":46531,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:35:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:35:56] local.INFO: Processing buffer {"connection_id":46531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:35:56] local.INFO: Packet analysis {"connection_id":46531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:35:56] local.INFO: Extracted packet for processing {"connection_id":46531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:35:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:35:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769912320001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:35:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:35:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:35:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:35:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776445271000,"timestamp_ms":1776445271000,"timestamp_seconds":1776445271,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c63abd8"} 
[2026-04-17 22:35:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:35:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:35:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 22:35:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1516,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:35:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:35:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:35:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:35:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:35:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:35:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:35:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:35:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:35:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:35:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769912320001,"66":25473,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:35:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:35:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:35:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769912320001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:35:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:35:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:35:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:35:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:35:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769912320001,"power":25473,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:35:56] local.INFO: DEBUG: GPS processor result {"connection_id":46531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23438,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:35:56] local.INFO: GPS data processed {"connection_id":46531,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:35:56] local.INFO: Acknowledgment sent {"connection_id":46531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:35:59] local.INFO: TCP Data received {"connection_id":46279,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46279,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:35:59] local.INFO: Processing buffer {"connection_id":46279,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:35:59] local.INFO: Packet analysis {"connection_id":46279,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:35:59] local.INFO: Extracted packet for processing {"connection_id":46279,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:35:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:35:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769930496001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:35:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:35:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:35: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-04-17 22:35:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776445342000,"timestamp_ms":1776445342000,"timestamp_seconds":1776445342,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c64c130"} 
[2026-04-17 22:35:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:35:59] 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-04-17 22:35:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:35:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:35:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:35:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:35:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:35:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46279,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:35:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:35:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46279,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:35:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:35:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:35:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:35:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769930496001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:35:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:35:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:35:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769930496001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:35:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:35:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:35:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:35:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:35:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769930496001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:35:59] local.INFO: DEBUG: GPS processor result {"connection_id":46279,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23439,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:35:59] local.INFO: GPS data processed {"connection_id":46279,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:35:59] local.INFO: Acknowledgment sent {"connection_id":46279,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:36:26] local.INFO: TCP Data received {"connection_id":46281,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:36:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:36:26] local.INFO: Processing buffer {"connection_id":46281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:36:26] local.INFO: IMEI packet received {"connection_id":46281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:36:26] local.INFO: IMEI acknowledgment sent {"connection_id":46281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:36:27] local.INFO: TCP Data received {"connection_id":46531,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:36:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46531,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:36:27] local.INFO: Processing buffer {"connection_id":46531,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c63abd8012d77a30005f2a4b0001600d52b..."} 
[2026-04-17 22:36:27] local.INFO: Packet analysis {"connection_id":46531,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:36:27] local.INFO: Extracted packet for processing {"connection_id":46531,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c63"} 
[2026-04-17 22:36:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":43,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:36:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769912320001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:36:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:36:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:36:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:36:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445271000,"timestamp_ms":1776445271000,"timestamp_seconds":1776445271,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c63abd8"} 
[2026-04-17 22:36:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:36:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:36:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 22:36:27] 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-04-17 22:36:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:36:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:36:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:36:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46531,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:36:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:36:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46531,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:36:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:36:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:36:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:36:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769912320001,"66":25473,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:36:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:36:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:36:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769912320001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:36:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:36:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:36:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:36:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:36:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769912320001,"power":25473,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:36:27] local.INFO: DEBUG: GPS processor result {"connection_id":46531,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23440,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:36:27] local.INFO: GPS data processed {"connection_id":46531,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:36:27] local.INFO: Acknowledgment sent {"connection_id":46531,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:36:31] local.INFO: TCP Data received {"connection_id":46281,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:36:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46281,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:36:31] local.INFO: Processing buffer {"connection_id":46281,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:36:31] local.INFO: IMEI packet received {"connection_id":46281,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:36:31] local.INFO: IMEI acknowledgment sent {"connection_id":46281,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:36:32] local.INFO: TCP Data received {"connection_id":46281,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:36:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:36:32] local.INFO: Processing buffer {"connection_id":46281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:36:32] local.INFO: Packet analysis {"connection_id":46281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:36:32] local.INFO: Extracted packet for processing {"connection_id":46281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:36:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:36:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769930496001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:36:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:36:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:36:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:36:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776445342000,"timestamp_ms":1776445342000,"timestamp_seconds":1776445342,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c64c130"} 
[2026-04-17 22:36:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:36:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:36:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:36:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:36:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:36:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:36:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:36:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:36:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:36:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:36:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:36:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:36:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769930496001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:36:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:36:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:36:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769930496001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:36:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:36:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:36:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:36:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:36:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769930496001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:36:32] local.INFO: DEBUG: GPS processor result {"connection_id":46281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23441,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:36:32] local.INFO: GPS data processed {"connection_id":46281,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:36:32] local.INFO: Acknowledgment sent {"connection_id":46281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:36:37] local.INFO: TCP Data received {"connection_id":46281,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:36:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46281,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:36:37] local.INFO: Processing buffer {"connection_id":46281,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:36:37] local.INFO: Packet analysis {"connection_id":46281,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:36:37] local.INFO: Extracted packet for processing {"connection_id":46281,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:36:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:36:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769930496001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:36:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:36:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:36: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-04-17 22:36:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776445342000,"timestamp_ms":1776445342000,"timestamp_seconds":1776445342,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c64c130"} 
[2026-04-17 22:36:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:36:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":16384,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:36:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:36:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:36:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:36:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46281,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:36:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:36:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46281,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:36:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:36:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:36:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:36:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769930496001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:36:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:36:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:36:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769930496001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:36:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:36:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:36:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:36:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:36:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769930496001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:36:37] local.INFO: DEBUG: GPS processor result {"connection_id":46281,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23442,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:36:37] local.INFO: GPS data processed {"connection_id":46281,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:36:37] local.INFO: Acknowledgment sent {"connection_id":46281,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:36:49] local.INFO: TCP Data received {"connection_id":46532,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:36:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:36:49] local.INFO: Processing buffer {"connection_id":46532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:36:49] local.INFO: IMEI packet received {"connection_id":46532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:36:49] local.INFO: IMEI acknowledgment sent {"connection_id":46532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:36:50] local.INFO: TCP Data received {"connection_id":46532,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:36:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:36:50] local.INFO: Processing buffer {"connection_id":46532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:36:50] local.INFO: IMEI packet received {"connection_id":46532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:36:50] local.INFO: IMEI acknowledgment sent {"connection_id":46532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:36:55] local.INFO: TCP Data received {"connection_id":46532,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:36:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46532,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:36:55] local.INFO: Processing buffer {"connection_id":46532,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:36:55] local.INFO: IMEI packet received {"connection_id":46532,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:36:55] local.INFO: IMEI acknowledgment sent {"connection_id":46532,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:36:56] local.INFO: TCP Data received {"connection_id":46532,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:36:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:36:56] local.INFO: Processing buffer {"connection_id":46532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:36:56] local.INFO: Packet analysis {"connection_id":46532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:36:56] local.INFO: Extracted packet for processing {"connection_id":46532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:36:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:36:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769989376001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:36:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:36:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:36:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:36:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776445572000,"timestamp_ms":1776445572000,"timestamp_seconds":1776445572,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6843a0"} 
[2026-04-17 22:36:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:36:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:36:56] 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-04-17 22: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-04-17 22:36:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:36:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:36:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:36:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:36:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:36:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:36:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:36:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:36:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769989376001,"66":25212,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:36:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:36:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:36:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769989376001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:36:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:36:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:36:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:36:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:36:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769989376001,"power":25212,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:36:56] local.INFO: DEBUG: GPS processor result {"connection_id":46532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23443,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:36:56] local.INFO: GPS data processed {"connection_id":46532,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:36:56] local.INFO: Acknowledgment sent {"connection_id":46532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:37:21] local.INFO: TCP Data received {"connection_id":47027,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:37:21] local.INFO: Processing buffer {"connection_id":47027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:37:21] local.INFO: IMEI packet received {"connection_id":47027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:37:21] local.INFO: IMEI acknowledgment sent {"connection_id":47027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:37:26] local.INFO: TCP Data received {"connection_id":47027,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:37:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47027,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:37:26] local.INFO: Processing buffer {"connection_id":47027,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:37:26] local.INFO: IMEI packet received {"connection_id":47027,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:37:26] local.INFO: IMEI acknowledgment sent {"connection_id":47027,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:37:27] local.INFO: TCP Data received {"connection_id":46532,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46532,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:37:27] local.INFO: Processing buffer {"connection_id":46532,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:37:27] local.INFO: Packet analysis {"connection_id":46532,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:37:27] local.INFO: Extracted packet for processing {"connection_id":46532,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:37:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769989376001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:37:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445572000,"timestamp_ms":1776445572000,"timestamp_seconds":1776445572,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6843a0"} 
[2026-04-17 22:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:37:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:37:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46532,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46532,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769989376001,"66":25212,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769989376001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:37:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:37:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769989376001,"power":25212,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":46532,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23444,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:37:27] local.INFO: GPS data processed {"connection_id":46532,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:37:27] local.INFO: Acknowledgment sent {"connection_id":46532,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:37:27] local.INFO: TCP Data received {"connection_id":47027,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:37:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:37:27] local.INFO: Processing buffer {"connection_id":47027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:37:27] local.INFO: Packet analysis {"connection_id":47027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:37:27] local.INFO: Extracted packet for processing {"connection_id":47027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:37:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:37:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769930496001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:37:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:37:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22: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-04-17 22:37:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445342000,"timestamp_ms":1776445342000,"timestamp_seconds":1776445342,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c64c130"} 
[2026-04-17 22:37:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:37:27] 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-04-17 22: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:37: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-04-17 22: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-04-17 22:37:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:37:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:37:27] local.INFO: Teltonika packet parsed successfully {"connection_id":47027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:37:27] local.INFO: Passing IMEI to GPS processor {"connection_id":47027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:37:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":47027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:37:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:37:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:37:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:37:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769930496001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:37:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:37:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:37:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769930496001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:37:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:37:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:37:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:37:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:37:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769930496001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:37:27] local.INFO: DEBUG: GPS processor result {"connection_id":47027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23445,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:37:27] local.INFO: GPS data processed {"connection_id":47027,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:37:27] local.INFO: Acknowledgment sent {"connection_id":47027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:37:50] local.INFO: TCP Data received {"connection_id":46282,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:37:50] local.INFO: Processing buffer {"connection_id":46282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:37:50] local.INFO: IMEI packet received {"connection_id":46282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":46282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:37:55] local.INFO: TCP Data received {"connection_id":46282,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:37:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46282,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:37:55] local.INFO: Processing buffer {"connection_id":46282,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:37:55] local.INFO: IMEI packet received {"connection_id":46282,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:37:55] local.INFO: IMEI acknowledgment sent {"connection_id":46282,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:37:56] local.INFO: TCP Data received {"connection_id":46282,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:37:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:37:56] local.INFO: Processing buffer {"connection_id":46282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:37:56] local.INFO: Packet analysis {"connection_id":46282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:37:56] local.INFO: Extracted packet for processing {"connection_id":46282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:37:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:37:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769989376001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:37:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:37:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:37:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:37:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776445572000,"timestamp_ms":1776445572000,"timestamp_seconds":1776445572,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6843a0"} 
[2026-04-17 22:37:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:37:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:37:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:37:56] 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-04-17 22:37:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:37:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:37:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:37:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:37:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:37:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:37:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:37:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:37:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:37:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769989376001,"66":25212,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:37:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:37:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:37:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769989376001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:37:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:37:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:37:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:37:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:37:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769989376001,"power":25212,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:37:56] local.INFO: DEBUG: GPS processor result {"connection_id":46282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23446,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:37:56] local.INFO: GPS data processed {"connection_id":46282,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:37:56] local.INFO: Acknowledgment sent {"connection_id":46282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:37:59] local.INFO: TCP Data received {"connection_id":47027,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:37:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47027,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:37:59] local.INFO: Processing buffer {"connection_id":47027,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c64c130012d196500071ff090003a013b28..."} 
[2026-04-17 22:37:59] local.INFO: Packet analysis {"connection_id":47027,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:37:59] local.INFO: Extracted packet for processing {"connection_id":47027,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c64"} 
[2026-04-17 22:37:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:37:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769930496001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:37:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:37:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:37: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-04-17 22:37:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776445342000,"timestamp_ms":1776445342000,"timestamp_seconds":1776445342,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c64c130"} 
[2026-04-17 22:37:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:37:59] 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-04-17 22:37:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:37:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:37:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:37:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:37:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:37:59] local.INFO: Teltonika packet parsed successfully {"connection_id":47027,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:37:59] local.INFO: Passing IMEI to GPS processor {"connection_id":47027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:37:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":47027,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:37:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:37:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:37:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:37:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769930496001,"66":2177,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:37:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:37:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:37:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769930496001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:37:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:37:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:37:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:37:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:37:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769930496001,"power":2177,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:38:00] local.INFO: DEBUG: GPS processor result {"connection_id":47027,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23447,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:38:00] local.INFO: GPS data processed {"connection_id":47027,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:38:00] local.INFO: Acknowledgment sent {"connection_id":47027,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:38:21] local.INFO: TCP Data received {"connection_id":46535,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:38:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:38:21] local.INFO: Processing buffer {"connection_id":46535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:38:21] local.INFO: IMEI packet received {"connection_id":46535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:38:21] local.INFO: IMEI acknowledgment sent {"connection_id":46535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:38:26] local.INFO: TCP Data received {"connection_id":46535,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:38:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46535,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:38:26] local.INFO: Processing buffer {"connection_id":46535,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:38:26] local.INFO: IMEI packet received {"connection_id":46535,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:38:26] local.INFO: IMEI acknowledgment sent {"connection_id":46535,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:38:27] local.INFO: TCP Data received {"connection_id":46535,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:38:27] local.INFO: Processing buffer {"connection_id":46535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:38:27] local.INFO: Packet analysis {"connection_id":46535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:38:27] local.INFO: Extracted packet for processing {"connection_id":46535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:38:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770007552001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:38: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-04-17 22:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445643000,"timestamp_ms":1776445643000,"timestamp_seconds":1776445643,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6958f8"} 
[2026-04-17 22:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:38:27] 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-04-17 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:38:27] 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-04-17 22: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-04-17 22:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770007552001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770007552001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:38:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:38:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770007552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":46535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23448,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:38:27] local.INFO: GPS data processed {"connection_id":46535,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:38:27] local.INFO: Acknowledgment sent {"connection_id":46535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:38:27] local.INFO: TCP Data received {"connection_id":46282,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:38:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46282,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:38:27] local.INFO: Processing buffer {"connection_id":46282,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:38:27] local.INFO: Packet analysis {"connection_id":46282,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:38:27] local.INFO: Extracted packet for processing {"connection_id":46282,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:38:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:38:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769989376001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:38:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:38:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:38:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:38:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445572000,"timestamp_ms":1776445572000,"timestamp_seconds":1776445572,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6843a0"} 
[2026-04-17 22:38:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:38:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:38:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:38:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:38:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:38:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46282,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:38:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:38:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46282,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:38:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:38:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:38:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:38:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769989376001,"66":25212,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:38:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:38:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:38:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769989376001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:38:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:38:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:38:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:38:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:38:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769989376001,"power":25212,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:38:27] local.INFO: DEBUG: GPS processor result {"connection_id":46282,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23449,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:38:27] local.INFO: GPS data processed {"connection_id":46282,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:38:27] local.INFO: Acknowledgment sent {"connection_id":46282,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:38:49] local.INFO: TCP Data received {"connection_id":47028,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:38:49] local.INFO: Processing buffer {"connection_id":47028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:38:49] local.INFO: IMEI packet received {"connection_id":47028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":47028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:38:55] local.INFO: TCP Data received {"connection_id":47028,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47028,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:38:55] local.INFO: Processing buffer {"connection_id":47028,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:38:55] local.INFO: IMEI packet received {"connection_id":47028,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:38:55] local.INFO: IMEI acknowledgment sent {"connection_id":47028,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:38:56] local.INFO: TCP Data received {"connection_id":47028,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:38:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:38:56] local.INFO: Processing buffer {"connection_id":47028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:38:56] local.INFO: Packet analysis {"connection_id":47028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:38:56] local.INFO: Extracted packet for processing {"connection_id":47028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:38:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:38:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769989376001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:38:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:38:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:38:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:38:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776445572000,"timestamp_ms":1776445572000,"timestamp_seconds":1776445572,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6843a0"} 
[2026-04-17 22:38:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:38:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:38:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:38:56] 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-04-17 22:38:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:38:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:38:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:38:56] local.INFO: Teltonika packet parsed successfully {"connection_id":47028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:38:56] local.INFO: Passing IMEI to GPS processor {"connection_id":47028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:38:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":47028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:38:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:38:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:38:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:38:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769989376001,"66":25212,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:38:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:38:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:38:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769989376001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:38:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:38:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:38:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:38:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:38:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769989376001,"power":25212,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:38:56] local.INFO: DEBUG: GPS processor result {"connection_id":47028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23450,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:38:56] local.INFO: GPS data processed {"connection_id":47028,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:38:56] local.INFO: Acknowledgment sent {"connection_id":47028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:38:59] local.INFO: TCP Data received {"connection_id":46535,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:38:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46535,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:38:59] local.INFO: Processing buffer {"connection_id":46535,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:38:59] local.INFO: Packet analysis {"connection_id":46535,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:38:59] local.INFO: Extracted packet for processing {"connection_id":46535,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:38:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:38:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770007552001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:38:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:38:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:38: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-04-17 22:38:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776445643000,"timestamp_ms":1776445643000,"timestamp_seconds":1776445643,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6958f8"} 
[2026-04-17 22:38:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:38:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:38:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:38:59] 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-04-17 22:38:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:38:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:38:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:38:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46535,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:38:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:38:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46535,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:38:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:38:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:38:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:38:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770007552001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:38:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:38:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:38:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770007552001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:38:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:38:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:38:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:38:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:38:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770007552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:38:59] local.INFO: DEBUG: GPS processor result {"connection_id":46535,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23451,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:38:59] local.INFO: GPS data processed {"connection_id":46535,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:38:59] local.INFO: Acknowledgment sent {"connection_id":46535,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:39:21] local.INFO: TCP Data received {"connection_id":46536,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:39:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:39:21] local.INFO: Processing buffer {"connection_id":46536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:39:21] local.INFO: IMEI packet received {"connection_id":46536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:39:21] local.INFO: IMEI acknowledgment sent {"connection_id":46536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:39:26] local.INFO: TCP Data received {"connection_id":46536,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46536,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:39:26] local.INFO: Processing buffer {"connection_id":46536,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:39:26] local.INFO: IMEI packet received {"connection_id":46536,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:39:26] local.INFO: IMEI acknowledgment sent {"connection_id":46536,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:39:27] local.INFO: TCP Data received {"connection_id":47028,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47028,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:39:27] local.INFO: Processing buffer {"connection_id":47028,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:39:27] local.INFO: Packet analysis {"connection_id":47028,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:39:27] local.INFO: Extracted packet for processing {"connection_id":47028,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:39:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769989376001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:39:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445572000,"timestamp_ms":1776445572000,"timestamp_seconds":1776445572,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6843a0"} 
[2026-04-17 22:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:39:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:39:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:39:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":47028,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":47028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":47028,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769989376001,"66":25212,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769989376001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:39:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:39:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769989376001,"power":25212,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":47028,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23452,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:39:27] local.INFO: GPS data processed {"connection_id":47028,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:39:27] local.INFO: Acknowledgment sent {"connection_id":47028,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:39:27] local.INFO: TCP Data received {"connection_id":46536,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:39:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:39:27] local.INFO: Processing buffer {"connection_id":46536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:39:27] local.INFO: Packet analysis {"connection_id":46536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:39:27] local.INFO: Extracted packet for processing {"connection_id":46536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:39:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:39:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770007552001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:39:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:39:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:39: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-04-17 22:39:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445643000,"timestamp_ms":1776445643000,"timestamp_seconds":1776445643,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6958f8"} 
[2026-04-17 22:39:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:39:27] 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-04-17 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:39:27] 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-04-17 22: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-04-17 22:39:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:39:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:39:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:39:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:39:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:39:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:39:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:39:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:39:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770007552001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:39:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:39:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:39:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770007552001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:39:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:39:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:39:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:39:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:39:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770007552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:39:27] local.INFO: DEBUG: GPS processor result {"connection_id":46536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23453,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:39:27] local.INFO: GPS data processed {"connection_id":46536,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:39:27] local.INFO: Acknowledgment sent {"connection_id":46536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:39:49] local.INFO: TCP Data received {"connection_id":46168,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:39:49] local.INFO: Processing buffer {"connection_id":46168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:39:49] local.INFO: IMEI packet received {"connection_id":46168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":46168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:39:55] local.INFO: TCP Data received {"connection_id":46168,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46168,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:39:55] local.INFO: Processing buffer {"connection_id":46168,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:39:55] local.INFO: IMEI packet received {"connection_id":46168,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:39:55] local.INFO: IMEI acknowledgment sent {"connection_id":46168,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:39:56] local.INFO: TCP Data received {"connection_id":46168,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:39:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:39:56] local.INFO: Processing buffer {"connection_id":46168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:39:56] local.INFO: Packet analysis {"connection_id":46168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:39:56] local.INFO: Extracted packet for processing {"connection_id":46168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:39:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:39:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769989376001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:39:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:39:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:39:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:39:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776445572000,"timestamp_ms":1776445572000,"timestamp_seconds":1776445572,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6843a0"} 
[2026-04-17 22:39:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:39:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:39:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:39:56] 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-04-17 22: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-04-17 22:39:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:39:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:39:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:39:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:39:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:39:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:39:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:39:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:39:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769989376001,"66":25212,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:39:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:39:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:39:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769989376001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:39:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:39:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:39:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:39:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:39:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769989376001,"power":25212,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:39:56] local.INFO: DEBUG: GPS processor result {"connection_id":46168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23454,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:39:56] local.INFO: GPS data processed {"connection_id":46168,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:39:56] local.INFO: Acknowledgment sent {"connection_id":46168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:39:59] local.INFO: TCP Data received {"connection_id":46536,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:39:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46536,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:39:59] local.INFO: Processing buffer {"connection_id":46536,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:39:59] local.INFO: Packet analysis {"connection_id":46536,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:39:59] local.INFO: Extracted packet for processing {"connection_id":46536,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:39:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:39:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770007552001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:39:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:39:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:39: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-04-17 22:39:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776445643000,"timestamp_ms":1776445643000,"timestamp_seconds":1776445643,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6958f8"} 
[2026-04-17 22:39:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:39:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:39:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:39:59] 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-04-17 22:39:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:39:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:39:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:39:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46536,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:39:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:39:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46536,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:39:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:39:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:39:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:39:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770007552001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:39:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:39:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:39:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770007552001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:39:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:39:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:39:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:39:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:39:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770007552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:39:59] local.INFO: DEBUG: GPS processor result {"connection_id":46536,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23455,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:39:59] local.INFO: GPS data processed {"connection_id":46536,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:39:59] local.INFO: Acknowledgment sent {"connection_id":46536,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:40:26] local.INFO: TCP Data received {"connection_id":46537,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:40:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:40:26] local.INFO: Processing buffer {"connection_id":46537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:40:26] local.INFO: IMEI packet received {"connection_id":46537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:40:26] local.INFO: IMEI acknowledgment sent {"connection_id":46537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:40:27] local.INFO: TCP Data received {"connection_id":46168,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46168,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:40:27] local.INFO: Processing buffer {"connection_id":46168,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:40:27] local.INFO: Packet analysis {"connection_id":46168,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:40:27] local.INFO: Extracted packet for processing {"connection_id":46168,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:40:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769989376001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445572000,"timestamp_ms":1776445572000,"timestamp_seconds":1776445572,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6843a0"} 
[2026-04-17 22:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:40:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:40:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:40:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46168,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46168,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769989376001,"66":25212,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769989376001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:40:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:40:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769989376001,"power":25212,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":46168,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23456,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:40:27] local.INFO: GPS data processed {"connection_id":46168,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:40:27] local.INFO: Acknowledgment sent {"connection_id":46168,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:40:28] local.INFO: TCP Data received {"connection_id":46284,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:40:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46284,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:40:29] local.INFO: Processing buffer {"connection_id":46284,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:40:29] local.INFO: IMEI packet received {"connection_id":46284,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 22:40:29] local.INFO: IMEI acknowledgment sent {"connection_id":46284,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:40:31] local.INFO: TCP Data received {"connection_id":46537,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:40:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46537,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:40:31] local.INFO: Processing buffer {"connection_id":46537,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:40:31] local.INFO: IMEI packet received {"connection_id":46537,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:40:31] local.INFO: IMEI acknowledgment sent {"connection_id":46537,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:40:32] local.INFO: TCP Data received {"connection_id":46537,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:40:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:40:32] local.INFO: Processing buffer {"connection_id":46537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:40:32] local.INFO: Packet analysis {"connection_id":46537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:40:32] local.INFO: Extracted packet for processing {"connection_id":46537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:40:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:40:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770007552001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:40:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:40:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:40:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:40:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776445643000,"timestamp_ms":1776445643000,"timestamp_seconds":1776445643,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6958f8"} 
[2026-04-17 22:40:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:40:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:40:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:40:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:40:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:40:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:40:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:40:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:40:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:40:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:40:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:40:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:40:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770007552001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:40:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:40:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:40:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770007552001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:40:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:40:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:40:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:40:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:40:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770007552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:40:32] local.INFO: DEBUG: GPS processor result {"connection_id":46537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23457,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:40:32] local.INFO: GPS data processed {"connection_id":46537,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:40:32] local.INFO: Acknowledgment sent {"connection_id":46537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:40:37] local.INFO: TCP Data received {"connection_id":46537,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:40:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46537,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:40:37] local.INFO: Processing buffer {"connection_id":46537,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:40:37] local.INFO: Packet analysis {"connection_id":46537,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:40:37] local.INFO: Extracted packet for processing {"connection_id":46537,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:40:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:40:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770007552001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:40:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:40:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:40:37] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:40:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776445643000,"timestamp_ms":1776445643000,"timestamp_seconds":1776445643,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6958f8"} 
[2026-04-17 22:40:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:40: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-04-17 22: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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:40:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1399,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:40:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:40:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:40:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46537,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:40:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:40:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46537,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:40:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:40:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:40:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:40:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770007552001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:40:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:40:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:40:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770007552001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:40:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:40:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:40:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:40:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:40:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770007552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:40:37] local.INFO: DEBUG: GPS processor result {"connection_id":46537,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23458,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:40:37] local.INFO: GPS data processed {"connection_id":46537,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:40:37] local.INFO: Acknowledgment sent {"connection_id":46537,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:40:49] local.INFO: TCP Data received {"connection_id":46538,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:40:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:40:49] local.INFO: Processing buffer {"connection_id":46538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:40:49] local.INFO: IMEI packet received {"connection_id":46538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:40:49] local.INFO: IMEI acknowledgment sent {"connection_id":46538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:40:55] local.INFO: TCP Data received {"connection_id":46538,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:40:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46538,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:40:55] local.INFO: Processing buffer {"connection_id":46538,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:40:55] local.INFO: IMEI packet received {"connection_id":46538,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:40:55] local.INFO: IMEI acknowledgment sent {"connection_id":46538,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:40:56] local.INFO: TCP Data received {"connection_id":46538,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:40:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:40:56] local.INFO: Processing buffer {"connection_id":46538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:40:56] local.INFO: Packet analysis {"connection_id":46538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:40:56] local.INFO: Extracted packet for processing {"connection_id":46538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:40:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:40:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769989376001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:40:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:40:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:40:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:40:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776445572000,"timestamp_ms":1776445572000,"timestamp_seconds":1776445572,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6843a0"} 
[2026-04-17 22:40:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:40:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:40:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:40:56] 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-04-17 22:40:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:40:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:40:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:40:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:40:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:40:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:40:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:40:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:40:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:40:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769989376001,"66":25212,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:40:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:40:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:40:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769989376001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:40:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:40:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:40:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:40:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:40:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769989376001,"power":25212,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:40:56] local.INFO: DEBUG: GPS processor result {"connection_id":46538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23459,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:40:56] local.INFO: GPS data processed {"connection_id":46538,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:40:56] local.INFO: Acknowledgment sent {"connection_id":46538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:41:03] local.INFO: TCP Data received {"connection_id":47029,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:41:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47029,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:41:04] local.INFO: Processing buffer {"connection_id":47029,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:41:04] local.INFO: IMEI packet received {"connection_id":47029,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 22:41:04] local.INFO: IMEI acknowledgment sent {"connection_id":47029,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:41:21] local.INFO: TCP Data received {"connection_id":46169,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:41:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:41:21] local.INFO: Processing buffer {"connection_id":46169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:41:21] local.INFO: IMEI packet received {"connection_id":46169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:41:21] local.INFO: IMEI acknowledgment sent {"connection_id":46169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:41:26] local.INFO: TCP Data received {"connection_id":46169,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:41:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46169,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:41:26] local.INFO: Processing buffer {"connection_id":46169,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:41:26] local.INFO: IMEI packet received {"connection_id":46169,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:41:26] local.INFO: IMEI acknowledgment sent {"connection_id":46169,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:41:27] local.INFO: TCP Data received {"connection_id":46169,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:41:27] local.INFO: Processing buffer {"connection_id":46169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:41:27] local.INFO: Packet analysis {"connection_id":46169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:41:27] local.INFO: Extracted packet for processing {"connection_id":46169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:41:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770007552001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:41: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-04-17 22:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445643000,"timestamp_ms":1776445643000,"timestamp_seconds":1776445643,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6958f8"} 
[2026-04-17 22:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:41:27] 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-04-17 22:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:41:27] 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-04-17 22:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770007552001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770007552001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:41:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:41:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770007552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:41:27] local.INFO: TCP Data received {"connection_id":46538,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:41:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46538,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:41:27] local.INFO: Processing buffer {"connection_id":46538,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6843a0012d77a30005f2a4b0001600d52a..."} 
[2026-04-17 22:41:27] local.INFO: Packet analysis {"connection_id":46538,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:41:27] local.INFO: Extracted packet for processing {"connection_id":46538,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c68"} 
[2026-04-17 22:41:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:41:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454769989376001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:41:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:41:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:41:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:41:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445572000,"timestamp_ms":1776445572000,"timestamp_seconds":1776445572,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6843a0"} 
[2026-04-17 22:41:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:41:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:41:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:41:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1854,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:41:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:41:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:41:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:41:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46538,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:41:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:41:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46538,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:41:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:41:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:41:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:41:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454769989376001,"66":25212,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:41:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:41:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:41:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454769989376001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:41:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:41:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:41:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:41:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:41:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454769989376001,"power":25212,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":46538,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23460,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:41:27] local.INFO: GPS data processed {"connection_id":46538,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:41:27] local.INFO: Acknowledgment sent {"connection_id":46538,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:41:27] local.INFO: DEBUG: GPS processor result {"connection_id":46169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23461,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:41:27] local.INFO: GPS data processed {"connection_id":46169,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:41:27] local.INFO: Acknowledgment sent {"connection_id":46169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:41:51] local.INFO: TCP Data received {"connection_id":47030,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:41:51] local.INFO: Processing buffer {"connection_id":47030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:41:51] local.INFO: IMEI packet received {"connection_id":47030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:41:51] local.INFO: IMEI acknowledgment sent {"connection_id":47030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:41:54] local.INFO: TCP Data received {"connection_id":47030,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:41:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:41:54] local.INFO: Processing buffer {"connection_id":47030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:41:54] local.INFO: IMEI packet received {"connection_id":47030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:41:54] local.INFO: IMEI acknowledgment sent {"connection_id":47030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:42:00] local.INFO: TCP Data received {"connection_id":46169,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46169,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:42:00] local.INFO: Processing buffer {"connection_id":46169,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:42:00] local.INFO: Packet analysis {"connection_id":46169,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:42:00] local.INFO: Extracted packet for processing {"connection_id":46169,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:42:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 22:42:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770007552001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:42:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:42:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:42: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-04-17 22:42:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776445643000,"timestamp_ms":1776445643000,"timestamp_seconds":1776445643,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6958f8"} 
[2026-04-17 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-04-17 22:42: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-04-17 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":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:42:00] 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-04-17 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-04-17 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-04-17 22:42:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:42:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46169,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:42:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:42:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46169,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:42:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:42:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:42:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:42:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770007552001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:42:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:42:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:42:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770007552001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:42:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:42:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:42:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:42:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:42:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770007552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:42:00] local.INFO: DEBUG: GPS processor result {"connection_id":46169,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23462,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:42:00] local.INFO: GPS data processed {"connection_id":46169,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:42:00] local.INFO: Acknowledgment sent {"connection_id":46169,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:42:00] local.INFO: TCP Data received {"connection_id":47030,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:42:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47030,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:42:00] local.INFO: Processing buffer {"connection_id":47030,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:42:00] local.INFO: IMEI packet received {"connection_id":47030,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:42:00] local.INFO: IMEI acknowledgment sent {"connection_id":47030,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:42:01] local.INFO: TCP Data received {"connection_id":47030,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:42:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:42:01] local.INFO: Processing buffer {"connection_id":47030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:42:01] local.INFO: Packet analysis {"connection_id":47030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:42:01] local.INFO: Extracted packet for processing {"connection_id":47030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:42:01] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:42:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770066432001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:42:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:42:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:42:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:42:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776445873000,"timestamp_ms":1776445873000,"timestamp_seconds":1776445873,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6cdb68"} 
[2026-04-17 22:42:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:42:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 22:42:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:42:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:42:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:42:01] local.INFO: Teltonika packet parsed successfully {"connection_id":47030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:42:01] local.INFO: Passing IMEI to GPS processor {"connection_id":47030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:42:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":47030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:42:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:42:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:42:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:42:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770066432001,"66":25451,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:42:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:42:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:42:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770066432001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:42:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:42:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:42:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:42:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:42:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770066432001,"power":25451,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:42:01] local.INFO: DEBUG: GPS processor result {"connection_id":47030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23463,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:42:01] local.INFO: GPS data processed {"connection_id":47030,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:42:01] local.INFO: Acknowledgment sent {"connection_id":47030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:42:05] local.INFO: TCP Data received {"connection_id":47030,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:42:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47030,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:42:05] local.INFO: Processing buffer {"connection_id":47030,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:42:05] local.INFO: Packet analysis {"connection_id":47030,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:42:05] local.INFO: Extracted packet for processing {"connection_id":47030,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:42:05] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:42:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770066432001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:42:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:42:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:42:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:42:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776445873000,"timestamp_ms":1776445873000,"timestamp_seconds":1776445873,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6cdb68"} 
[2026-04-17 22:42:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:42:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 22:42:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:42:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:42:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:42:05] local.INFO: Teltonika packet parsed successfully {"connection_id":47030,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:42:05] local.INFO: Passing IMEI to GPS processor {"connection_id":47030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:42:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":47030,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:42:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:42:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:42:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:42:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770066432001,"66":25451,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:42:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:42:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:42:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770066432001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:42:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:42:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:42:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:42:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:42:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770066432001,"power":25451,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:42:05] local.INFO: DEBUG: GPS processor result {"connection_id":47030,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23464,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:42:05] local.INFO: GPS data processed {"connection_id":47030,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:42:05] local.INFO: Acknowledgment sent {"connection_id":47030,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:42:20] local.INFO: TCP Data received {"connection_id":47031,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:42:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:42:20] local.INFO: Processing buffer {"connection_id":47031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:42:20] local.INFO: IMEI packet received {"connection_id":47031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:42:20] local.INFO: IMEI acknowledgment sent {"connection_id":47031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:42:26] local.INFO: TCP Data received {"connection_id":47031,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:42:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47031,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:42:26] local.INFO: Processing buffer {"connection_id":47031,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:42:26] local.INFO: IMEI packet received {"connection_id":47031,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:42:26] local.INFO: IMEI acknowledgment sent {"connection_id":47031,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:42:27] local.INFO: TCP Data received {"connection_id":47031,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:42:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:42:27] local.INFO: Processing buffer {"connection_id":47031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:42:27] local.INFO: Packet analysis {"connection_id":47031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:42:27] local.INFO: Extracted packet for processing {"connection_id":47031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:42:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:42:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770007552001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:42:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:42:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:42: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-04-17 22:42:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445643000,"timestamp_ms":1776445643000,"timestamp_seconds":1776445643,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6958f8"} 
[2026-04-17 22:42:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:42:27] 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-04-17 22:42:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:42:27] 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-04-17 22:42:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:42:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:42:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:42:27] local.INFO: Teltonika packet parsed successfully {"connection_id":47031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:42:27] local.INFO: Passing IMEI to GPS processor {"connection_id":47031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:42:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":47031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:42:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:42:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:42:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:42:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770007552001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:42:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:42:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:42:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770007552001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:42:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:42:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:42:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:42:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:42:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770007552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:42:27] local.INFO: DEBUG: GPS processor result {"connection_id":47031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23465,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:42:27] local.INFO: GPS data processed {"connection_id":47031,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:42:27] local.INFO: Acknowledgment sent {"connection_id":47031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:42:49] local.INFO: TCP Data received {"connection_id":46540,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:42:49] local.INFO: Processing buffer {"connection_id":46540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:42:49] local.INFO: IMEI packet received {"connection_id":46540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":46540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:42:55] local.INFO: TCP Data received {"connection_id":46540,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:42:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46540,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:42:55] local.INFO: Processing buffer {"connection_id":46540,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:42:55] local.INFO: IMEI packet received {"connection_id":46540,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:42:55] local.INFO: IMEI acknowledgment sent {"connection_id":46540,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:42:56] local.INFO: TCP Data received {"connection_id":46540,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:42:56] local.INFO: Processing buffer {"connection_id":46540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:42:56] local.INFO: Packet analysis {"connection_id":46540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:42:56] local.INFO: Extracted packet for processing {"connection_id":46540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:42:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770066432001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776445873000,"timestamp_ms":1776445873000,"timestamp_seconds":1776445873,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6cdb68"} 
[2026-04-17 22:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 22:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770066432001,"66":25451,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770066432001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:42:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:42:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770066432001,"power":25451,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":46540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23466,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:42:56] local.INFO: GPS data processed {"connection_id":46540,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:42:56] local.INFO: Acknowledgment sent {"connection_id":46540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:42:59] local.INFO: TCP Data received {"connection_id":47031,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:42:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47031,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:42:59] local.INFO: Processing buffer {"connection_id":47031,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6958f8012d196500071ff090003a013b2c..."} 
[2026-04-17 22:42:59] local.INFO: Packet analysis {"connection_id":47031,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:42:59] local.INFO: Extracted packet for processing {"connection_id":47031,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c69"} 
[2026-04-17 22:42:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:42:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770007552001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:42:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:42:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:42: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-04-17 22:42:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776445643000,"timestamp_ms":1776445643000,"timestamp_seconds":1776445643,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6958f8"} 
[2026-04-17 22:42:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:42:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15872,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:42:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":129,"data_length":795,"current_offset":136} 
[2026-04-17 22:42:59] 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-04-17 22:42:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:42:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:42:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:42:59] local.INFO: Teltonika packet parsed successfully {"connection_id":47031,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:42:59] local.INFO: Passing IMEI to GPS processor {"connection_id":47031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:42:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":47031,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:42:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:42:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:42:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:42:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770007552001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:42:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:42:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:42:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770007552001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:42:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:42:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:42:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:42:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:42:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770007552001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:42:59] local.INFO: DEBUG: GPS processor result {"connection_id":47031,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23467,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:42:59] local.INFO: GPS data processed {"connection_id":47031,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:42:59] local.INFO: Acknowledgment sent {"connection_id":47031,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:43:26] local.INFO: TCP Data received {"connection_id":46171,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:43:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:43:26] local.INFO: Processing buffer {"connection_id":46171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:43:26] local.INFO: IMEI packet received {"connection_id":46171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:43:26] local.INFO: IMEI acknowledgment sent {"connection_id":46171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:43:27] local.INFO: TCP Data received {"connection_id":46540,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:43:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46540,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:43:27] local.INFO: Processing buffer {"connection_id":46540,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:43:27] local.INFO: Packet analysis {"connection_id":46540,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:43:27] local.INFO: Extracted packet for processing {"connection_id":46540,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:43:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:43:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770066432001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:43:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:43:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:43:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:43:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445873000,"timestamp_ms":1776445873000,"timestamp_seconds":1776445873,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6cdb68"} 
[2026-04-17 22:43:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:43:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:43:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 22:43:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:43:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:43:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:43:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46540,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:43:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:43:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46540,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:43:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:43:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770066432001,"66":25451,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770066432001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:43:28] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:43:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770066432001,"power":25451,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":46540,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23468,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:43:28] local.INFO: GPS data processed {"connection_id":46540,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:43:28] local.INFO: Acknowledgment sent {"connection_id":46540,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:43:31] local.INFO: TCP Data received {"connection_id":46171,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:43:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46171,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:43:31] local.INFO: Processing buffer {"connection_id":46171,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:43:31] local.INFO: IMEI packet received {"connection_id":46171,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:43:31] local.INFO: IMEI acknowledgment sent {"connection_id":46171,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:43:32] local.INFO: TCP Data received {"connection_id":46171,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:43:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:43:32] local.INFO: Processing buffer {"connection_id":46171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:43:32] local.INFO: Packet analysis {"connection_id":46171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:43:32] local.INFO: Extracted packet for processing {"connection_id":46171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:43:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:43:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770084608001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:43:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:43:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:43:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:43:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776445944000,"timestamp_ms":1776445944000,"timestamp_seconds":1776445944,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6df0c0"} 
[2026-04-17 22:43:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:43:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:43:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:43:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:43:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:43:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:43:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:43:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:43:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:43:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:43:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:43:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:43:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770084608001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:43:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:43:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:43:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770084608001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:43:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:43:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:43:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:43:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:43:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770084608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:43:32] local.INFO: DEBUG: GPS processor result {"connection_id":46171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23469,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:43:32] local.INFO: GPS data processed {"connection_id":46171,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:43:32] local.INFO: Acknowledgment sent {"connection_id":46171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:43:37] local.INFO: TCP Data received {"connection_id":46171,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:43:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46171,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:43:37] local.INFO: Processing buffer {"connection_id":46171,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:43:37] local.INFO: Packet analysis {"connection_id":46171,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:43:37] local.INFO: Extracted packet for processing {"connection_id":46171,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:43:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:43:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770084608001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:43:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:43:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:43: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-04-17 22:43:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776445944000,"timestamp_ms":1776445944000,"timestamp_seconds":1776445944,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6df0c0"} 
[2026-04-17 22:43:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:43:37] 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-04-17 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:43:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:43:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:43:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:43:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46171,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:43:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:43:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46171,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:43:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:43:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:43:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:43:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770084608001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:43:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:43:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:43:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770084608001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:43:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:43:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:43:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:43:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:43:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770084608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:43:37] local.INFO: DEBUG: GPS processor result {"connection_id":46171,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23470,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:43:37] local.INFO: GPS data processed {"connection_id":46171,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:43:37] local.INFO: Acknowledgment sent {"connection_id":46171,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:43:49] local.INFO: TCP Data received {"connection_id":46285,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:43:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:43:49] local.INFO: Processing buffer {"connection_id":46285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:43:49] local.INFO: IMEI packet received {"connection_id":46285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:43:49] local.INFO: IMEI acknowledgment sent {"connection_id":46285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:43:55] local.INFO: TCP Data received {"connection_id":46285,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:43:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46285,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:43:55] local.INFO: Processing buffer {"connection_id":46285,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:43:55] local.INFO: IMEI packet received {"connection_id":46285,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:43:55] local.INFO: IMEI acknowledgment sent {"connection_id":46285,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:43:56] local.INFO: TCP Data received {"connection_id":46285,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:43:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:43:56] local.INFO: Processing buffer {"connection_id":46285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:43:56] local.INFO: Packet analysis {"connection_id":46285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:43:56] local.INFO: Extracted packet for processing {"connection_id":46285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:43:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:43:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770066432001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:43:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:43:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:43:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:43:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776445873000,"timestamp_ms":1776445873000,"timestamp_seconds":1776445873,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6cdb68"} 
[2026-04-17 22:43:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:43:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:43:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 22:43:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:43:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:43:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:43:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:43:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:43:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:43:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:43:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:43:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:43:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:43:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770066432001,"66":25451,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:43:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:43:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:43:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770066432001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:43:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:43:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:43:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:43:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:43:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770066432001,"power":25451,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:43:56] local.INFO: DEBUG: GPS processor result {"connection_id":46285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23471,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:43:56] local.INFO: GPS data processed {"connection_id":46285,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:43:56] local.INFO: Acknowledgment sent {"connection_id":46285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:44:21] local.INFO: TCP Data received {"connection_id":46286,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:44:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:44:21] local.INFO: Processing buffer {"connection_id":46286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:44:21] local.INFO: IMEI packet received {"connection_id":46286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:44:21] local.INFO: IMEI acknowledgment sent {"connection_id":46286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:44:26] local.INFO: TCP Data received {"connection_id":46286,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:44:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46286,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:44:26] local.INFO: Processing buffer {"connection_id":46286,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:44:26] local.INFO: IMEI packet received {"connection_id":46286,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:44:26] local.INFO: IMEI acknowledgment sent {"connection_id":46286,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:44:27] local.INFO: TCP Data received {"connection_id":46286,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:44:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:44:27] local.INFO: Processing buffer {"connection_id":46286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:44:27] local.INFO: Packet analysis {"connection_id":46286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:44:27] local.INFO: Extracted packet for processing {"connection_id":46286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:44:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:44:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770084608001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:44:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:44:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:44: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-04-17 22:44:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445944000,"timestamp_ms":1776445944000,"timestamp_seconds":1776445944,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6df0c0"} 
[2026-04-17 22:44:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:44: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-04-17 22:44:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:44: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-04-17 22:44:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:44:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:44:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:44:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:44:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:44:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:44:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:44:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:44:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:44:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770084608001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:44:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:44:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:44:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770084608001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:44:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:44:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:44:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:44:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:44:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770084608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:44:27] local.INFO: DEBUG: GPS processor result {"connection_id":46286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23472,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:44:27] local.INFO: GPS data processed {"connection_id":46286,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:44:27] local.INFO: Acknowledgment sent {"connection_id":46286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:44:28] local.INFO: TCP Data received {"connection_id":46285,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46285,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:44:28] local.INFO: Processing buffer {"connection_id":46285,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:44:28] local.INFO: Packet analysis {"connection_id":46285,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:44:28] local.INFO: Extracted packet for processing {"connection_id":46285,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:44:28] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770066432001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776445873000,"timestamp_ms":1776445873000,"timestamp_seconds":1776445873,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6cdb68"} 
[2026-04-17 22:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:44:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 22:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46285,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46285,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770066432001,"66":25451,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770066432001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:44:28] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:44:28] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770066432001,"power":25451,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":46285,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23473,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:44:28] local.INFO: GPS data processed {"connection_id":46285,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:44:28] local.INFO: Acknowledgment sent {"connection_id":46285,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:44:49] local.INFO: TCP Data received {"connection_id":46287,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:44:49] local.INFO: Processing buffer {"connection_id":46287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:44:49] local.INFO: IMEI packet received {"connection_id":46287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":46287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:44:55] local.INFO: TCP Data received {"connection_id":46287,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:44:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46287,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:44:55] local.INFO: Processing buffer {"connection_id":46287,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:44:55] local.INFO: IMEI packet received {"connection_id":46287,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:44:55] local.INFO: IMEI acknowledgment sent {"connection_id":46287,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:44:56] local.INFO: TCP Data received {"connection_id":46287,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:44:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:44:56] local.INFO: Processing buffer {"connection_id":46287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:44:56] local.INFO: Packet analysis {"connection_id":46287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:44:56] local.INFO: Extracted packet for processing {"connection_id":46287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:44:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:44:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770066432001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:44:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:44:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:44:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:44:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776445873000,"timestamp_ms":1776445873000,"timestamp_seconds":1776445873,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6cdb68"} 
[2026-04-17 22:44:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:44:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:44:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 22:44:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:44:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:44:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:44:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:44:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:44:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:44:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:44:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:44:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:44:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:44:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770066432001,"66":25451,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:44:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:44:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:44:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770066432001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:44:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:44:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:44:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:44:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:44:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770066432001,"power":25451,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:44:56] local.INFO: DEBUG: GPS processor result {"connection_id":46287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23474,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:44:56] local.INFO: GPS data processed {"connection_id":46287,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:44:56] local.INFO: Acknowledgment sent {"connection_id":46287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:44:59] local.INFO: TCP Data received {"connection_id":46286,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:44:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46286,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:44:59] local.INFO: Processing buffer {"connection_id":46286,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:44:59] local.INFO: Packet analysis {"connection_id":46286,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:44:59] local.INFO: Extracted packet for processing {"connection_id":46286,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:44:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:44:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770084608001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:44:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:44:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:44: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-04-17 22:44:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776445944000,"timestamp_ms":1776445944000,"timestamp_seconds":1776445944,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6df0c0"} 
[2026-04-17 22:44:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:44:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:44:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:44: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-04-17 22:44:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:44:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:44:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:44:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46286,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:44:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:44:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46286,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:44:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:44:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:44:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:44:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770084608001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:44:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:44:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:44:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770084608001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:44:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:44:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:44:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:44:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:44:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770084608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:44:59] local.INFO: DEBUG: GPS processor result {"connection_id":46286,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23475,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:44:59] local.INFO: GPS data processed {"connection_id":46286,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:44:59] local.INFO: Acknowledgment sent {"connection_id":46286,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:45:20] local.INFO: TCP Data received {"connection_id":46542,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:45:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:45:20] local.INFO: Processing buffer {"connection_id":46542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:45:20] local.INFO: IMEI packet received {"connection_id":46542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:45:20] local.INFO: IMEI acknowledgment sent {"connection_id":46542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:45:26] local.INFO: TCP Data received {"connection_id":46542,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:45:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46542,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:45:26] local.INFO: Processing buffer {"connection_id":46542,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:45:26] local.INFO: IMEI packet received {"connection_id":46542,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:45:26] local.INFO: IMEI acknowledgment sent {"connection_id":46542,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:45:27] local.INFO: TCP Data received {"connection_id":46287,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46287,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:45:27] local.INFO: Processing buffer {"connection_id":46287,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:45:27] local.INFO: Packet analysis {"connection_id":46287,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:45:27] local.INFO: Extracted packet for processing {"connection_id":46287,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:45:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770066432001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:45:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445873000,"timestamp_ms":1776445873000,"timestamp_seconds":1776445873,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6cdb68"} 
[2026-04-17 22:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:45:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 22:45:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46287,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46287,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770066432001,"66":25451,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770066432001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:45:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:45:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770066432001,"power":25451,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":46287,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23476,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:45:27] local.INFO: GPS data processed {"connection_id":46287,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:45:27] local.INFO: Acknowledgment sent {"connection_id":46287,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:45:27] local.INFO: TCP Data received {"connection_id":46542,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:45:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:45:27] local.INFO: Processing buffer {"connection_id":46542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:45:27] local.INFO: Packet analysis {"connection_id":46542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:45:27] local.INFO: Extracted packet for processing {"connection_id":46542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:45:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:45:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770084608001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:45:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:45:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:45: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-04-17 22:45:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445944000,"timestamp_ms":1776445944000,"timestamp_seconds":1776445944,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6df0c0"} 
[2026-04-17 22:45:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:45: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-04-17 22:45:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:45: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-04-17 22:45:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:45:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:45:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:45:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:45:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:45:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:45:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:45:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:45:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:45:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770084608001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:45:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:45:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:45:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770084608001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:45:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:45:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:45:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:45:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:45:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770084608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:45:27] local.INFO: DEBUG: GPS processor result {"connection_id":46542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23477,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:45:27] local.INFO: GPS data processed {"connection_id":46542,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:45:27] local.INFO: Acknowledgment sent {"connection_id":46542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:45:55] local.INFO: TCP Data received {"connection_id":47033,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:45:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:45:55] local.INFO: Processing buffer {"connection_id":47033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:45:55] local.INFO: IMEI packet received {"connection_id":47033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:45:55] local.INFO: IMEI acknowledgment sent {"connection_id":47033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:45:59] local.INFO: TCP Data received {"connection_id":46542,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:45:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46542,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:45:59] local.INFO: Processing buffer {"connection_id":46542,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:45:59] local.INFO: Packet analysis {"connection_id":46542,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:45:59] local.INFO: Extracted packet for processing {"connection_id":46542,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:45:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:45:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770084608001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:45:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:45:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:45: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-04-17 22:45:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776445944000,"timestamp_ms":1776445944000,"timestamp_seconds":1776445944,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6df0c0"} 
[2026-04-17 22:45:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:45:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:45:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:45: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-04-17 22:45:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:45:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:45:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:45:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46542,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:45:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:45:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46542,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:45:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:45:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:45:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:45:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770084608001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:45:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:45:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:45:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770084608001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:45:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:45:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:45:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:45:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:45:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770084608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:45:59] local.INFO: DEBUG: GPS processor result {"connection_id":46542,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23478,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:45:59] local.INFO: GPS data processed {"connection_id":46542,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:45:59] local.INFO: Acknowledgment sent {"connection_id":46542,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:46:00] local.INFO: TCP Data received {"connection_id":47033,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:46:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47033,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:46:00] local.INFO: Processing buffer {"connection_id":47033,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:46:00] local.INFO: IMEI packet received {"connection_id":47033,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:46:00] local.INFO: IMEI acknowledgment sent {"connection_id":47033,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:46:06] local.INFO: TCP Data received {"connection_id":47033,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:46:06] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:46:06] local.INFO: Processing buffer {"connection_id":47033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:46:06] local.INFO: Packet analysis {"connection_id":47033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:46:06] local.INFO: Extracted packet for processing {"connection_id":47033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:46:06] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:46:06] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770066432001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:46:06] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:46:06] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:46:06] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:46:06] local.INFO: AVL Record Parsed {"raw_timestamp":1776445873000,"timestamp_ms":1776445873000,"timestamp_seconds":1776445873,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6cdb68"} 
[2026-04-17 22:46:06] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:46:06] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 22:46:06] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:46:06] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:46:06] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:46:06] local.INFO: Teltonika packet parsed successfully {"connection_id":47033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:46:06] local.INFO: Passing IMEI to GPS processor {"connection_id":47033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:46:06] local.INFO: DEBUG: About to call GPS processor {"connection_id":47033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:46:06] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:46:06] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:46:06] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:46:06] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770066432001,"66":25451,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:46:06] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:46:06] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:46:06] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770066432001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:46:06] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:46:06] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:46:06] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:46:06] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:46:06] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770066432001,"power":25451,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:46:06] local.INFO: DEBUG: GPS processor result {"connection_id":47033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23479,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:46:06] local.INFO: GPS data processed {"connection_id":47033,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:46:06] local.INFO: Acknowledgment sent {"connection_id":47033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:46:07] local.INFO: TCP Data received {"connection_id":47033,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:46:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47033,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:46:07] local.INFO: Processing buffer {"connection_id":47033,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6cdb68012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:46:07] local.INFO: Packet analysis {"connection_id":47033,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:46:07] local.INFO: Extracted packet for processing {"connection_id":47033,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6c"} 
[2026-04-17 22:46:07] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:46:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770066432001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:46:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:46:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:46:07] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:46:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776445873000,"timestamp_ms":1776445873000,"timestamp_seconds":1776445873,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6cdb68"} 
[2026-04-17 22:46:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:46:07] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":98,"n8_eight_byte":124,"data_length":795,"current_offset":136} 
[2026-04-17 22:46:07] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1804,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:46:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:46:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:46:07] local.INFO: Teltonika packet parsed successfully {"connection_id":47033,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:46:07] local.INFO: Passing IMEI to GPS processor {"connection_id":47033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:46:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":47033,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:46:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:46:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:46:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:46:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770066432001,"66":25451,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:46:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:46:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:46:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770066432001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:46:07] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:46:07] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:46:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:46:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:46:07] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770066432001,"power":25451,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:46:07] local.INFO: DEBUG: GPS processor result {"connection_id":47033,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23480,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:46:07] local.INFO: GPS data processed {"connection_id":47033,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:46:07] local.INFO: Acknowledgment sent {"connection_id":47033,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:46:26] local.INFO: TCP Data received {"connection_id":46173,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:46:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:46:26] local.INFO: Processing buffer {"connection_id":46173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:46:26] local.INFO: IMEI packet received {"connection_id":46173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:46:26] local.INFO: IMEI acknowledgment sent {"connection_id":46173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:46:29] local.INFO: TCP Data received {"connection_id":46172,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:46:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46172,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:46:29] local.INFO: Processing buffer {"connection_id":46172,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:46:29] local.INFO: IMEI packet received {"connection_id":46172,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 22:46:29] local.INFO: IMEI acknowledgment sent {"connection_id":46172,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:46:31] local.INFO: TCP Data received {"connection_id":46173,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:46:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46173,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:46:31] local.INFO: Processing buffer {"connection_id":46173,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:46:31] local.INFO: IMEI packet received {"connection_id":46173,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:46:31] local.INFO: IMEI acknowledgment sent {"connection_id":46173,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:46:32] local.INFO: TCP Data received {"connection_id":46173,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:46:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:46:32] local.INFO: Processing buffer {"connection_id":46173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:46:32] local.INFO: Packet analysis {"connection_id":46173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:46:32] local.INFO: Extracted packet for processing {"connection_id":46173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:46:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:46:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770084608001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:46:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:46:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:46:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:46:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776445944000,"timestamp_ms":1776445944000,"timestamp_seconds":1776445944,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6df0c0"} 
[2026-04-17 22:46:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:46:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:46:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:46:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:46:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:46:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:46:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:46:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:46:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:46:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:46:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:46:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:46:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770084608001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:46:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:46:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:46:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770084608001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:46:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:46:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:46:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:46:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:46:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770084608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:46:32] local.INFO: DEBUG: GPS processor result {"connection_id":46173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23481,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:46:32] local.INFO: GPS data processed {"connection_id":46173,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:46:32] local.INFO: Acknowledgment sent {"connection_id":46173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:46:37] local.INFO: TCP Data received {"connection_id":46173,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:46:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46173,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:46:37] local.INFO: Processing buffer {"connection_id":46173,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:46:37] local.INFO: Packet analysis {"connection_id":46173,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:46:37] local.INFO: Extracted packet for processing {"connection_id":46173,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:46:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:46:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770084608001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:46:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:46:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:46: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-04-17 22:46:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776445944000,"timestamp_ms":1776445944000,"timestamp_seconds":1776445944,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6df0c0"} 
[2026-04-17 22:46:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:46:37] 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-04-17 22: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:46:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:46:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:46:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:46:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46173,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:46:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:46:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46173,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:46:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:46:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:46:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:46:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770084608001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:46:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:46:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:46:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770084608001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:46:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:46:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:46:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:46:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:46:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770084608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:46:37] local.INFO: DEBUG: GPS processor result {"connection_id":46173,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23482,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:46:37] local.INFO: GPS data processed {"connection_id":46173,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:46:37] local.INFO: Acknowledgment sent {"connection_id":46173,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:46:50] local.INFO: TCP Data received {"connection_id":47034,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:46:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:46:50] local.INFO: Processing buffer {"connection_id":47034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:46:50] local.INFO: IMEI packet received {"connection_id":47034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:46:50] local.INFO: IMEI acknowledgment sent {"connection_id":47034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:46:52] local.INFO: TCP Data received {"connection_id":47034,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:46:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47034,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:46:52] local.INFO: Processing buffer {"connection_id":47034,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:46:52] local.INFO: IMEI packet received {"connection_id":47034,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:46:52] local.INFO: IMEI acknowledgment sent {"connection_id":47034,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:46:53] local.INFO: TCP Data received {"connection_id":47034,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:46:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:46:53] local.INFO: Processing buffer {"connection_id":47034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:46:53] local.INFO: Packet analysis {"connection_id":47034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:46:53] local.INFO: Extracted packet for processing {"connection_id":47034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:46:53] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:46:53] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770143488001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:46:53] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:46:53] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:46:53] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:46:53] local.INFO: AVL Record Parsed {"raw_timestamp":1776446174000,"timestamp_ms":1776446174000,"timestamp_seconds":1776446174,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c717330"} 
[2026-04-17 22:46:53] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:46:53] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:46:53] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:46:53] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:46:53] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:46:53] local.INFO: Teltonika packet parsed successfully {"connection_id":47034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:46:53] local.INFO: Passing IMEI to GPS processor {"connection_id":47034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:46:53] local.INFO: DEBUG: About to call GPS processor {"connection_id":47034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:46:53] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:46:53] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:46:53] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:46:53] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770143488001,"66":25430,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:46:53] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:46:53] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:46:53] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770143488001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:46:53] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:46:53] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:46:53] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:46:53] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:46:53] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770143488001,"power":25430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:46:53] local.INFO: DEBUG: GPS processor result {"connection_id":47034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23483,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:46:53] local.INFO: GPS data processed {"connection_id":47034,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:46:53] local.INFO: Acknowledgment sent {"connection_id":47034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:46:54] local.INFO: TCP Data received {"connection_id":47034,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:46:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:46:54] local.INFO: Processing buffer {"connection_id":47034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:46:54] local.INFO: Packet analysis {"connection_id":47034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:46:54] local.INFO: Extracted packet for processing {"connection_id":47034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:46:54] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:46:54] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770143488001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:46:54] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:46:54] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:46:54] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:46:54] local.INFO: AVL Record Parsed {"raw_timestamp":1776446174000,"timestamp_ms":1776446174000,"timestamp_seconds":1776446174,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c717330"} 
[2026-04-17 22:46:54] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:46:54] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:46:54] 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-04-17 22: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-04-17 22:46:54] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:46:54] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:46:54] local.INFO: Teltonika packet parsed successfully {"connection_id":47034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:46:54] local.INFO: Passing IMEI to GPS processor {"connection_id":47034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:46:54] local.INFO: DEBUG: About to call GPS processor {"connection_id":47034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:46:54] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:46:54] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:46:54] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:46:54] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770143488001,"66":25430,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:46:54] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:46:54] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:46:54] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770143488001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:46:54] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:46:54] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:46:54] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:46:54] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:46:54] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770143488001,"power":25430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:46:55] local.INFO: DEBUG: GPS processor result {"connection_id":47034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23484,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:46:55] local.INFO: GPS data processed {"connection_id":47034,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:46:55] local.INFO: Acknowledgment sent {"connection_id":47034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:47:04] local.INFO: TCP Data received {"connection_id":47035,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:47:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47035,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:47:04] local.INFO: Processing buffer {"connection_id":47035,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:47:04] local.INFO: IMEI packet received {"connection_id":47035,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 22:47:04] local.INFO: IMEI acknowledgment sent {"connection_id":47035,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:47:21] local.INFO: TCP Data received {"connection_id":46174,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:47:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:47:21] local.INFO: Processing buffer {"connection_id":46174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:47:21] local.INFO: IMEI packet received {"connection_id":46174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:47:21] local.INFO: IMEI acknowledgment sent {"connection_id":46174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:47:26] local.INFO: TCP Data received {"connection_id":47034,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47034,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:47:26] local.INFO: Processing buffer {"connection_id":47034,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:47:26] local.INFO: Packet analysis {"connection_id":47034,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:47:26] local.INFO: Extracted packet for processing {"connection_id":47034,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:47:26] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:47:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770143488001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:47:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:47:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:47:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:47:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776446174000,"timestamp_ms":1776446174000,"timestamp_seconds":1776446174,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c717330"} 
[2026-04-17 22:47:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:47:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:47:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:47:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:47:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:47:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:47:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:47:26] local.INFO: Teltonika packet parsed successfully {"connection_id":47034,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:47:26] local.INFO: Passing IMEI to GPS processor {"connection_id":47034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:47:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":47034,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:47:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:47:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:47:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:47:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770143488001,"66":25430,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:47:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:47:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:47:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770143488001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:47:26] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:47:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:47:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:47:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:47:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770143488001,"power":25430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:47:26] local.INFO: DEBUG: GPS processor result {"connection_id":47034,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23485,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:47:26] local.INFO: GPS data processed {"connection_id":47034,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:47:26] local.INFO: Acknowledgment sent {"connection_id":47034,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:47:26] local.INFO: TCP Data received {"connection_id":46174,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:47:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46174,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:47:26] local.INFO: Processing buffer {"connection_id":46174,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:47:26] local.INFO: IMEI packet received {"connection_id":46174,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:47:26] local.INFO: IMEI acknowledgment sent {"connection_id":46174,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:47:27] local.INFO: TCP Data received {"connection_id":46174,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:47:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:47:27] local.INFO: Processing buffer {"connection_id":46174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:47:27] local.INFO: Packet analysis {"connection_id":46174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:47:27] local.INFO: Extracted packet for processing {"connection_id":46174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:47:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:47:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770084608001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:47:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:47:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:47: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-04-17 22:47:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776445944000,"timestamp_ms":1776445944000,"timestamp_seconds":1776445944,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6df0c0"} 
[2026-04-17 22:47:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:47: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-04-17 22:47:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:47: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-04-17 22:47:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:47:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:47:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:47:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:47:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:47:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:47:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:47:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:47:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:47:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770084608001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:47:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:47:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:47:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770084608001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:47:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:47:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:47:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:47:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:47:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770084608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:47:27] local.INFO: DEBUG: GPS processor result {"connection_id":46174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23486,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:47:27] local.INFO: GPS data processed {"connection_id":46174,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:47:27] local.INFO: Acknowledgment sent {"connection_id":46174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:47:49] local.INFO: TCP Data received {"connection_id":46288,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:47:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:47:49] local.INFO: Processing buffer {"connection_id":46288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:47:49] local.INFO: IMEI packet received {"connection_id":46288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:47:49] local.INFO: IMEI acknowledgment sent {"connection_id":46288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:47:55] local.INFO: TCP Data received {"connection_id":46288,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:47:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46288,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:47:55] local.INFO: Processing buffer {"connection_id":46288,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:47:55] local.INFO: IMEI packet received {"connection_id":46288,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:47:55] local.INFO: IMEI acknowledgment sent {"connection_id":46288,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:47:56] local.INFO: TCP Data received {"connection_id":46288,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:47:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:47:56] local.INFO: Processing buffer {"connection_id":46288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:47:56] local.INFO: Packet analysis {"connection_id":46288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:47:56] local.INFO: Extracted packet for processing {"connection_id":46288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:47:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:47:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770143488001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:47:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:47:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:47:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:47:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776446174000,"timestamp_ms":1776446174000,"timestamp_seconds":1776446174,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c717330"} 
[2026-04-17 22:47:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:47:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:47:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:47:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:47:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:47:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:47:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:47:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:47:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:47:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:47:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:47:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770143488001,"66":25430,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:47:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:47:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:47:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770143488001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:47:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:47:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:47:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:47:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:47:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770143488001,"power":25430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:47:56] local.INFO: DEBUG: GPS processor result {"connection_id":46288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23487,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:47:56] local.INFO: GPS data processed {"connection_id":46288,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:47:56] local.INFO: Acknowledgment sent {"connection_id":46288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:47:59] local.INFO: TCP Data received {"connection_id":46174,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:47:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46174,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:47:59] local.INFO: Processing buffer {"connection_id":46174,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c6df0c0012d196500071ff090003a013b2a..."} 
[2026-04-17 22:47:59] local.INFO: Packet analysis {"connection_id":46174,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:47:59] local.INFO: Extracted packet for processing {"connection_id":46174,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c6d"} 
[2026-04-17 22:47:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:47:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770084608001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:47:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:47:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:47: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-04-17 22:47:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776445944000,"timestamp_ms":1776445944000,"timestamp_seconds":1776445944,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c6df0c0"} 
[2026-04-17 22:47:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:47:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":15616,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:47:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:47: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-04-17 22:47:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:47:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:47:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:47:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46174,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:47:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:47:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46174,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:47:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:47:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:47:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:47:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770084608001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:47:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:47:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:47:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770084608001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:47:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:47:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:47:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:47:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:47:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770084608001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:47:59] local.INFO: DEBUG: GPS processor result {"connection_id":46174,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23488,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:47:59] local.INFO: GPS data processed {"connection_id":46174,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:47:59] local.INFO: Acknowledgment sent {"connection_id":46174,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:48:21] local.INFO: TCP Data received {"connection_id":46289,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:48:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:48:21] local.INFO: Processing buffer {"connection_id":46289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:48:21] local.INFO: IMEI packet received {"connection_id":46289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:48:21] local.INFO: IMEI acknowledgment sent {"connection_id":46289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:48:26] local.INFO: TCP Data received {"connection_id":46289,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:48:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46289,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:48:26] local.INFO: Processing buffer {"connection_id":46289,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:48:26] local.INFO: IMEI packet received {"connection_id":46289,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:48:26] local.INFO: IMEI acknowledgment sent {"connection_id":46289,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:48:27] local.INFO: TCP Data received {"connection_id":46288,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:48:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46288,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:48:27] local.INFO: Processing buffer {"connection_id":46288,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:48:27] local.INFO: Packet analysis {"connection_id":46288,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:48:27] local.INFO: Extracted packet for processing {"connection_id":46288,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:48:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:48:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770143488001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:48:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:48:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:48:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:48:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446174000,"timestamp_ms":1776446174000,"timestamp_seconds":1776446174,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c717330"} 
[2026-04-17 22:48:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:48:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:48:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:48:27] 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-04-17 22:48:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:48:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:48:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:48:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46288,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:48:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:48:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46288,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:48:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:48:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:48:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:48:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770143488001,"66":25430,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:48:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:48:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:48:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770143488001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:48:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:48:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:48:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:48:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:48:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770143488001,"power":25430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:48:27] local.INFO: DEBUG: GPS processor result {"connection_id":46288,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23489,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:48:27] local.INFO: GPS data processed {"connection_id":46288,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:48:27] local.INFO: Acknowledgment sent {"connection_id":46288,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:48:28] local.INFO: TCP Data received {"connection_id":46289,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:48:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:48:28] local.INFO: Processing buffer {"connection_id":46289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:48:28] local.INFO: Packet analysis {"connection_id":46289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:48:28] local.INFO: Extracted packet for processing {"connection_id":46289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:48:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:48:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770161664001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:48:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:48:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:48: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-04-17 22:48:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776446245000,"timestamp_ms":1776446245000,"timestamp_seconds":1776446245,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c728888"} 
[2026-04-17 22:48:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:48:28] 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-04-17 22:48:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:48: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-04-17 22:48:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:48:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:48:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:48:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:48:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:48:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:48:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:48:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:48:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:48:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770161664001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:48:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:48:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:48:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770161664001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:48:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:48:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:48:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:48:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:48:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770161664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:48:28] local.INFO: DEBUG: GPS processor result {"connection_id":46289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23490,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:48:28] local.INFO: GPS data processed {"connection_id":46289,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:48:28] local.INFO: Acknowledgment sent {"connection_id":46289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:48:49] local.INFO: TCP Data received {"connection_id":46544,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:48:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:48:49] local.INFO: Processing buffer {"connection_id":46544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:48:49] local.INFO: IMEI packet received {"connection_id":46544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:48:49] local.INFO: IMEI acknowledgment sent {"connection_id":46544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:48:55] local.INFO: TCP Data received {"connection_id":46544,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:48:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46544,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:48:55] local.INFO: Processing buffer {"connection_id":46544,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:48:55] local.INFO: IMEI packet received {"connection_id":46544,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:48:55] local.INFO: IMEI acknowledgment sent {"connection_id":46544,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:48:56] local.INFO: TCP Data received {"connection_id":46544,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:48:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:48:56] local.INFO: Processing buffer {"connection_id":46544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:48:56] local.INFO: Packet analysis {"connection_id":46544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:48:56] local.INFO: Extracted packet for processing {"connection_id":46544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:48:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:48:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770143488001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:48:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:48:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:48:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:48:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776446174000,"timestamp_ms":1776446174000,"timestamp_seconds":1776446174,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c717330"} 
[2026-04-17 22:48:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:48:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:48:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:48:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:48:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:48:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:48:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:48:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:48:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:48:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:48:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:48:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:48:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:48:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770143488001,"66":25430,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:48:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:48:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:48:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770143488001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:48:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:48:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:48:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:48:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:48:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770143488001,"power":25430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:48:56] local.INFO: DEBUG: GPS processor result {"connection_id":46544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23491,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:48:56] local.INFO: GPS data processed {"connection_id":46544,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:48:56] local.INFO: Acknowledgment sent {"connection_id":46544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:48:59] local.INFO: TCP Data received {"connection_id":46289,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:48:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46289,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:48:59] local.INFO: Processing buffer {"connection_id":46289,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:48:59] local.INFO: Packet analysis {"connection_id":46289,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:48:59] local.INFO: Extracted packet for processing {"connection_id":46289,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:48:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:48:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770161664001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:48:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:48:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:48: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-04-17 22:48:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776446245000,"timestamp_ms":1776446245000,"timestamp_seconds":1776446245,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c728888"} 
[2026-04-17 22:48:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:48: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-04-17 22:48:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:48:59] 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-04-17 22: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-04-17 22:48:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:48:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:48:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46289,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:48:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:48:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46289,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:48:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:48:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:48:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:48:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770161664001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:48:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:48:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:48:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770161664001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:48:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:48:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:48:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:48:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:48:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770161664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:48:59] local.INFO: DEBUG: GPS processor result {"connection_id":46289,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23492,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:48:59] local.INFO: GPS data processed {"connection_id":46289,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:48:59] local.INFO: Acknowledgment sent {"connection_id":46289,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:49:20] local.INFO: TCP Data received {"connection_id":46290,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:49:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:49:20] local.INFO: Processing buffer {"connection_id":46290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:49:20] local.INFO: IMEI packet received {"connection_id":46290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:49:20] local.INFO: IMEI acknowledgment sent {"connection_id":46290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:49:26] local.INFO: TCP Data received {"connection_id":46290,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:49:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46290,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:49:26] local.INFO: Processing buffer {"connection_id":46290,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:49:26] local.INFO: IMEI packet received {"connection_id":46290,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:49:26] local.INFO: IMEI acknowledgment sent {"connection_id":46290,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:49:27] local.INFO: TCP Data received {"connection_id":46290,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:49:27] local.INFO: Processing buffer {"connection_id":46290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:49:27] local.INFO: Packet analysis {"connection_id":46290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:49:27] local.INFO: Extracted packet for processing {"connection_id":46290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:49:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770161664001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:49: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-04-17 22:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446245000,"timestamp_ms":1776446245000,"timestamp_seconds":1776446245,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c728888"} 
[2026-04-17 22:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:49:27] 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-04-17 22:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:49:27] 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-04-17 22:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770161664001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770161664001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:49:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:49:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770161664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:49:27] local.INFO: TCP Data received {"connection_id":46544,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:49:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46544,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:49:27] local.INFO: Processing buffer {"connection_id":46544,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:49:27] local.INFO: Packet analysis {"connection_id":46544,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:49:27] local.INFO: Extracted packet for processing {"connection_id":46544,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:49:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:49:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770143488001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:49:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:49:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:49:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:49:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446174000,"timestamp_ms":1776446174000,"timestamp_seconds":1776446174,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c717330"} 
[2026-04-17 22:49:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:49:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:49:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:49:27] 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-04-17 22:49:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:49:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:49:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:49:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46544,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:49:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:49:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46544,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:49:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:49:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:49:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:49:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770143488001,"66":25430,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:49:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:49:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:49:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770143488001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:49:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:49:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:49:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:49:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:49:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770143488001,"power":25430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":46290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23493,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:49:27] local.INFO: GPS data processed {"connection_id":46290,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:49:27] local.INFO: Acknowledgment sent {"connection_id":46290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:49:27] local.INFO: DEBUG: GPS processor result {"connection_id":46544,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23494,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:49:27] local.INFO: GPS data processed {"connection_id":46544,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:49:27] local.INFO: Acknowledgment sent {"connection_id":46544,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:49:49] local.INFO: TCP Data received {"connection_id":46175,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:49:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:49:49] local.INFO: Processing buffer {"connection_id":46175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:49:49] local.INFO: IMEI packet received {"connection_id":46175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:49:49] local.INFO: IMEI acknowledgment sent {"connection_id":46175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:49:55] local.INFO: TCP Data received {"connection_id":46175,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:49:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46175,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:49:55] local.INFO: Processing buffer {"connection_id":46175,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:49:55] local.INFO: IMEI packet received {"connection_id":46175,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:49:55] local.INFO: IMEI acknowledgment sent {"connection_id":46175,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:49:56] local.INFO: TCP Data received {"connection_id":46175,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:49:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:49:56] local.INFO: Processing buffer {"connection_id":46175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:49:56] local.INFO: Packet analysis {"connection_id":46175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:49:56] local.INFO: Extracted packet for processing {"connection_id":46175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:49:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:49:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770143488001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:49:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:49:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:49:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:49:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776446174000,"timestamp_ms":1776446174000,"timestamp_seconds":1776446174,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c717330"} 
[2026-04-17 22:49:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:49:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:49:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:49:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1656,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:49:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:49:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:49:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:49:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:49:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:49:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:49:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:49:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:49:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:49:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770143488001,"66":25430,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:49:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:49:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:49:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770143488001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:49:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:49:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:49:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:49:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:49:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770143488001,"power":25430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:49:56] local.INFO: DEBUG: GPS processor result {"connection_id":46175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23495,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:49:56] local.INFO: GPS data processed {"connection_id":46175,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:49:56] local.INFO: Acknowledgment sent {"connection_id":46175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:50:00] local.INFO: TCP Data received {"connection_id":46290,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:50:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46290,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:50:00] local.INFO: Processing buffer {"connection_id":46290,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:50:00] local.INFO: Packet analysis {"connection_id":46290,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:50:00] local.INFO: Extracted packet for processing {"connection_id":46290,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:50:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 22:50:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770161664001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:50:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:50:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:50: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-04-17 22:50:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776446245000,"timestamp_ms":1776446245000,"timestamp_seconds":1776446245,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c728888"} 
[2026-04-17 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-04-17 22:50: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-04-17 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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:50:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 22:50:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:50:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46290,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:50:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:50:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46290,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:50:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:50:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:50:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:50:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770161664001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:50:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:50:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:50:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770161664001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:50:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:50:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:50:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:50:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:50:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770161664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:50:00] local.INFO: DEBUG: GPS processor result {"connection_id":46290,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23496,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:50:00] local.INFO: GPS data processed {"connection_id":46290,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:50:00] local.INFO: Acknowledgment sent {"connection_id":46290,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:50:26] local.INFO: TCP Data received {"connection_id":46546,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:50:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:50:26] local.INFO: Processing buffer {"connection_id":46546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:50:26] local.INFO: IMEI packet received {"connection_id":46546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:50:26] local.INFO: IMEI acknowledgment sent {"connection_id":46546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:50:27] local.INFO: TCP Data received {"connection_id":46175,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:50:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46175,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:50:27] local.INFO: Processing buffer {"connection_id":46175,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:50:27] local.INFO: Packet analysis {"connection_id":46175,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:50:27] local.INFO: Extracted packet for processing {"connection_id":46175,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:50:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:50:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770143488001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:50:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:50:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:50:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:50:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446174000,"timestamp_ms":1776446174000,"timestamp_seconds":1776446174,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c717330"} 
[2026-04-17 22:50:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:50:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:50:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:50:27] 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-04-17 22:50:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:50:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:50:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:50:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46175,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:50:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:50:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46175,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:50:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:50:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:50:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:50:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770143488001,"66":25430,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:50:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:50:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:50:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770143488001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:50:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:50:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:50:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:50:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:50:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770143488001,"power":25430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:50:27] local.INFO: DEBUG: GPS processor result {"connection_id":46175,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23497,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:50:27] local.INFO: GPS data processed {"connection_id":46175,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:50:27] local.INFO: Acknowledgment sent {"connection_id":46175,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:50:31] local.INFO: TCP Data received {"connection_id":46546,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:50:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46546,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:50:31] local.INFO: Processing buffer {"connection_id":46546,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:50:31] local.INFO: IMEI packet received {"connection_id":46546,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:50:31] local.INFO: IMEI acknowledgment sent {"connection_id":46546,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:50:32] local.INFO: TCP Data received {"connection_id":46546,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:50:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:50:32] local.INFO: Processing buffer {"connection_id":46546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:50:32] local.INFO: Packet analysis {"connection_id":46546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:50:32] local.INFO: Extracted packet for processing {"connection_id":46546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:50:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:50:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770161664001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:50:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:50:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:50:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:50:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776446245000,"timestamp_ms":1776446245000,"timestamp_seconds":1776446245,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c728888"} 
[2026-04-17 22:50:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:50:32] 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-04-17 22:50:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:50:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:50:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:50:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:50:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:50:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:50:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:50:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:50:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:50:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:50:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770161664001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:50:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:50:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:50:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770161664001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:50:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:50:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:50:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:50:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:50:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770161664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:50:32] local.INFO: DEBUG: GPS processor result {"connection_id":46546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23498,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:50:32] local.INFO: GPS data processed {"connection_id":46546,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:50:32] local.INFO: Acknowledgment sent {"connection_id":46546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:50:37] local.INFO: TCP Data received {"connection_id":46546,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:50:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46546,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:50:37] local.INFO: Processing buffer {"connection_id":46546,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:50:37] local.INFO: Packet analysis {"connection_id":46546,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:50:37] local.INFO: Extracted packet for processing {"connection_id":46546,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:50:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:50:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770161664001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:50:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:50:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:50: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-04-17 22:50:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776446245000,"timestamp_ms":1776446245000,"timestamp_seconds":1776446245,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c728888"} 
[2026-04-17 22:50:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:50:37] 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-04-17 22: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":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:50:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:50:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:50:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:50:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46546,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:50:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:50:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46546,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:50:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:50:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:50:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:50:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770161664001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:50:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:50:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:50:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770161664001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:50:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:50:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:50:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:50:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:50:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770161664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:50:37] local.INFO: DEBUG: GPS processor result {"connection_id":46546,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23499,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:50:37] local.INFO: GPS data processed {"connection_id":46546,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:50:37] local.INFO: Acknowledgment sent {"connection_id":46546,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:50:55] local.INFO: TCP Data received {"connection_id":46291,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:50:55] local.INFO: Processing buffer {"connection_id":46291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:50:55] local.INFO: IMEI packet received {"connection_id":46291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:50:55] local.INFO: IMEI acknowledgment sent {"connection_id":46291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:51:00] local.INFO: TCP Data received {"connection_id":46291,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:51:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46291,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:51:00] local.INFO: Processing buffer {"connection_id":46291,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:51:00] local.INFO: IMEI packet received {"connection_id":46291,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:51:00] local.INFO: IMEI acknowledgment sent {"connection_id":46291,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:51:01] local.INFO: TCP Data received {"connection_id":46291,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:51:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:51:01] local.INFO: Processing buffer {"connection_id":46291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:51:01] local.INFO: Packet analysis {"connection_id":46291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:51:01] local.INFO: Extracted packet for processing {"connection_id":46291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:51:01] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:51:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770143488001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:51:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:51:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:51:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:51:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776446174000,"timestamp_ms":1776446174000,"timestamp_seconds":1776446174,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c717330"} 
[2026-04-17 22:51:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:51:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:51: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-04-17 22: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-04-17 22:51:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:51:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:51:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:51:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:51:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:51:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:51:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:51:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:51:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770143488001,"66":25430,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:51:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:51:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:51:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770143488001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:51:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:51:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:51:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:51:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:51:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770143488001,"power":25430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:51:01] local.INFO: DEBUG: GPS processor result {"connection_id":46291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23500,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:51:01] local.INFO: GPS data processed {"connection_id":46291,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:51:01] local.INFO: Acknowledgment sent {"connection_id":46291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:51:05] local.INFO: TCP Data received {"connection_id":46291,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:51:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46291,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:51:05] local.INFO: Processing buffer {"connection_id":46291,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c717330012d77a30005f2a4b0001600d52f..."} 
[2026-04-17 22:51:05] local.INFO: Packet analysis {"connection_id":46291,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:51:05] local.INFO: Extracted packet for processing {"connection_id":46291,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c71"} 
[2026-04-17 22:51:05] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":47,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:51:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770143488001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:51:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:51:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:51:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:51:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776446174000,"timestamp_ms":1776446174000,"timestamp_seconds":1776446174,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c717330"} 
[2026-04-17 22:51:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:51:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":99,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 22:51:05] 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-04-17 22: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-04-17 22:51:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:51:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:51:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46291,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:51:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:51:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46291,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:51:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:51:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:51:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:51:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770143488001,"66":25430,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:51:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:51:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:51:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770143488001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:51:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:51:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:51:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:51:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:51:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770143488001,"power":25430,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:51:05] local.INFO: DEBUG: GPS processor result {"connection_id":46291,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23501,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:51:05] local.INFO: GPS data processed {"connection_id":46291,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:51:05] local.INFO: Acknowledgment sent {"connection_id":46291,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:51:21] local.INFO: TCP Data received {"connection_id":46176,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:51:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:51:21] local.INFO: Processing buffer {"connection_id":46176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:51:21] local.INFO: IMEI packet received {"connection_id":46176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:51:21] local.INFO: IMEI acknowledgment sent {"connection_id":46176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:51:26] local.INFO: TCP Data received {"connection_id":46176,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46176,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:51:26] local.INFO: Processing buffer {"connection_id":46176,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:51:26] local.INFO: IMEI packet received {"connection_id":46176,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:51:26] local.INFO: IMEI acknowledgment sent {"connection_id":46176,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:51:27] local.INFO: TCP Data received {"connection_id":46176,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:51:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:51:27] local.INFO: Processing buffer {"connection_id":46176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:51:27] local.INFO: Packet analysis {"connection_id":46176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:51:27] local.INFO: Extracted packet for processing {"connection_id":46176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:51:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:51:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770161664001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:51:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:51:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:51: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-04-17 22:51:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446245000,"timestamp_ms":1776446245000,"timestamp_seconds":1776446245,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c728888"} 
[2026-04-17 22:51:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:51:27] 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-04-17 22:51:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:51:27] 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-04-17 22:51:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:51:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:51:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:51:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:51:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:51:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:51:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:51:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:51:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:51:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770161664001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:51:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:51:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:51:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770161664001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:51:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:51:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:51:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:51:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:51:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770161664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:51:27] local.INFO: DEBUG: GPS processor result {"connection_id":46176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23502,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:51:27] local.INFO: GPS data processed {"connection_id":46176,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:51:27] local.INFO: Acknowledgment sent {"connection_id":46176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:51:50] local.INFO: TCP Data received {"connection_id":47038,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:51:50] local.INFO: Processing buffer {"connection_id":47038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:51:50] local.INFO: IMEI packet received {"connection_id":47038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":47038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:51:54] local.INFO: TCP Data received {"connection_id":47038,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47038,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:51:54] local.INFO: Processing buffer {"connection_id":47038,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:51:54] local.INFO: IMEI packet received {"connection_id":47038,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":47038,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:51:55] local.INFO: TCP Data received {"connection_id":47038,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:51:55] local.INFO: Processing buffer {"connection_id":47038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:51:55] local.INFO: Packet analysis {"connection_id":47038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:51:55] local.INFO: Extracted packet for processing {"connection_id":47038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:51:55] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770220544001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776446475000,"timestamp_ms":1776446475000,"timestamp_seconds":1776446475,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c760af8"} 
[2026-04-17 22:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:51:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 22:51:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:51:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":47038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":47038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":47038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770220544001,"66":25397,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770220544001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:51:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:51:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770220544001,"power":25397,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":47038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23503,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:51:55] local.INFO: GPS data processed {"connection_id":47038,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:51:55] local.INFO: Acknowledgment sent {"connection_id":47038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:51:59] local.INFO: TCP Data received {"connection_id":46176,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:51:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46176,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:51:59] local.INFO: Processing buffer {"connection_id":46176,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:51:59] local.INFO: Packet analysis {"connection_id":46176,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:51:59] local.INFO: Extracted packet for processing {"connection_id":46176,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:51:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:51:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770161664001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:51:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:51:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:51: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-04-17 22:51:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776446245000,"timestamp_ms":1776446245000,"timestamp_seconds":1776446245,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c728888"} 
[2026-04-17 22:51:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:51: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-04-17 22:51:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:51:59] 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-04-17 22:51:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:51:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:51:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:51:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46176,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:51:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:51:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46176,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:51:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:51:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:51:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:51:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770161664001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:51:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:51:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:51:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770161664001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:51:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:51:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:51:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:51:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:51:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770161664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:51:59] local.INFO: DEBUG: GPS processor result {"connection_id":46176,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23504,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:51:59] local.INFO: GPS data processed {"connection_id":46176,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:51:59] local.INFO: Acknowledgment sent {"connection_id":46176,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:52:20] local.INFO: TCP Data received {"connection_id":47039,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:52:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:52:20] local.INFO: Processing buffer {"connection_id":47039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:52:20] local.INFO: IMEI packet received {"connection_id":47039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:52:20] local.INFO: IMEI acknowledgment sent {"connection_id":47039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:52:26] local.INFO: TCP Data received {"connection_id":47038,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47038,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:52:26] local.INFO: Processing buffer {"connection_id":47038,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:52:26] local.INFO: Packet analysis {"connection_id":47038,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:52:26] local.INFO: Extracted packet for processing {"connection_id":47038,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:52:26] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770220544001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776446475000,"timestamp_ms":1776446475000,"timestamp_seconds":1776446475,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c760af8"} 
[2026-04-17 22:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:52:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 22:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":47038,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":47038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":47038,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770220544001,"66":25397,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770220544001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:52:26] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:52:26] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770220544001,"power":25397,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":47038,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23505,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:52:26] local.INFO: GPS data processed {"connection_id":47038,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:52:26] local.INFO: Acknowledgment sent {"connection_id":47038,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:52:26] local.INFO: TCP Data received {"connection_id":47039,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47039,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:52:26] local.INFO: Processing buffer {"connection_id":47039,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:52:26] local.INFO: IMEI packet received {"connection_id":47039,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:52:26] local.INFO: IMEI acknowledgment sent {"connection_id":47039,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:52:27] local.INFO: TCP Data received {"connection_id":47039,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:52:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:52:27] local.INFO: Processing buffer {"connection_id":47039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:52:27] local.INFO: Packet analysis {"connection_id":47039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:52:27] local.INFO: Extracted packet for processing {"connection_id":47039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:52:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:52:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770161664001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:52:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:52:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22: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-04-17 22:52:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446245000,"timestamp_ms":1776446245000,"timestamp_seconds":1776446245,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c728888"} 
[2026-04-17 22:52:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:52:27] 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-04-17 22: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":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:52:27] 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-04-17 22: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-04-17 22:52:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:52:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:52:27] local.INFO: Teltonika packet parsed successfully {"connection_id":47039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:52:27] local.INFO: Passing IMEI to GPS processor {"connection_id":47039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:52:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":47039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:52:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:52:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:52:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:52:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770161664001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:52:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:52:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:52:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770161664001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:52:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:52:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:52:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:52:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:52:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770161664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:52:27] local.INFO: DEBUG: GPS processor result {"connection_id":47039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23506,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:52:27] local.INFO: GPS data processed {"connection_id":47039,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:52:27] local.INFO: Acknowledgment sent {"connection_id":47039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:52:34] local.INFO: TCP Data received {"connection_id":46292,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:52:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46292,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:52:34] local.INFO: Processing buffer {"connection_id":46292,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:52:34] local.INFO: IMEI packet received {"connection_id":46292,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 22:52:34] local.INFO: IMEI acknowledgment sent {"connection_id":46292,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:52:49] local.INFO: TCP Data received {"connection_id":46293,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:52:49] local.INFO: Processing buffer {"connection_id":46293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:52:49] local.INFO: IMEI packet received {"connection_id":46293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":46293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:52:55] local.INFO: TCP Data received {"connection_id":46293,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46293,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:52:55] local.INFO: Processing buffer {"connection_id":46293,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:52:55] local.INFO: IMEI packet received {"connection_id":46293,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:52:55] local.INFO: IMEI acknowledgment sent {"connection_id":46293,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:52:55] local.INFO: TCP Data received {"connection_id":46293,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:52:55] local.INFO: Processing buffer {"connection_id":46293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:52:55] local.INFO: Packet analysis {"connection_id":46293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:52:55] local.INFO: Extracted packet for processing {"connection_id":46293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:52:55] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770220544001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776446475000,"timestamp_ms":1776446475000,"timestamp_seconds":1776446475,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c760af8"} 
[2026-04-17 22:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 22:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:52:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:52:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770220544001,"66":25397,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:52:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:52:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:52:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770220544001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:52:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:52:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:52:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:52:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:52:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770220544001,"power":25397,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":46293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23507,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:52:56] local.INFO: GPS data processed {"connection_id":46293,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:52:56] local.INFO: Acknowledgment sent {"connection_id":46293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:52:59] local.INFO: TCP Data received {"connection_id":47039,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:52:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47039,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:52:59] local.INFO: Processing buffer {"connection_id":47039,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c728888012d196500071ff090003a013b2b..."} 
[2026-04-17 22:52:59] local.INFO: Packet analysis {"connection_id":47039,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:52:59] local.INFO: Extracted packet for processing {"connection_id":47039,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c72"} 
[2026-04-17 22:52:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:52:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770161664001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:52:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:52:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:52: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-04-17 22:52:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776446245000,"timestamp_ms":1776446245000,"timestamp_seconds":1776446245,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c728888"} 
[2026-04-17 22:52:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:52: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-04-17 22:52:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 22:52:59] 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-04-17 22:52:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:52:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:52:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:52:59] local.INFO: Teltonika packet parsed successfully {"connection_id":47039,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:52:59] local.INFO: Passing IMEI to GPS processor {"connection_id":47039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:52:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":47039,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:52:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:52:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:52:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:52:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770161664001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:52:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:52:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:52:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770161664001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:52:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:52:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:52:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:52:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:52:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770161664001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:52:59] local.INFO: DEBUG: GPS processor result {"connection_id":47039,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23508,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:52:59] local.INFO: GPS data processed {"connection_id":47039,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:52:59] local.INFO: Acknowledgment sent {"connection_id":47039,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:53:03] local.INFO: TCP Data received {"connection_id":46177,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46177,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:53:03] local.INFO: Processing buffer {"connection_id":46177,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:53:03] local.INFO: IMEI packet received {"connection_id":46177,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 22:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":46177,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:53:20] local.INFO: TCP Data received {"connection_id":46178,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:53:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:53:20] local.INFO: Processing buffer {"connection_id":46178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:53:20] local.INFO: IMEI packet received {"connection_id":46178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:53:20] local.INFO: IMEI acknowledgment sent {"connection_id":46178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:53:26] local.INFO: TCP Data received {"connection_id":46178,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:53:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46178,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:53:26] local.INFO: Processing buffer {"connection_id":46178,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:53:26] local.INFO: IMEI packet received {"connection_id":46178,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:53:26] local.INFO: IMEI acknowledgment sent {"connection_id":46178,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:53:27] local.INFO: TCP Data received {"connection_id":46293,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46293,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:53:27] local.INFO: Processing buffer {"connection_id":46293,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:53:27] local.INFO: Packet analysis {"connection_id":46293,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:53:27] local.INFO: Extracted packet for processing {"connection_id":46293,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:53:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770220544001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:53:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446475000,"timestamp_ms":1776446475000,"timestamp_seconds":1776446475,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c760af8"} 
[2026-04-17 22:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:53:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 22:53:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46293,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46293,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770220544001,"66":25397,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770220544001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:53:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:53:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770220544001,"power":25397,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":46293,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23509,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:53:27] local.INFO: GPS data processed {"connection_id":46293,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:53:27] local.INFO: Acknowledgment sent {"connection_id":46293,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:53:27] local.INFO: TCP Data received {"connection_id":46178,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:53:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:53:27] local.INFO: Processing buffer {"connection_id":46178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:53:27] local.INFO: Packet analysis {"connection_id":46178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:53:27] local.INFO: Extracted packet for processing {"connection_id":46178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:53:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:53:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770238720001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:53:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:53:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:53: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-04-17 22:53:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446546000,"timestamp_ms":1776446546000,"timestamp_seconds":1776446546,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c772050"} 
[2026-04-17 22:53:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:53:27] 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-04-17 22:53:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:53: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-04-17 22:53:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:53:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:53:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:53:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:53:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:53:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:53:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:53:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:53:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:53:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770238720001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:53:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:53:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:53:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770238720001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:53:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:53:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:53:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:53:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:53:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770238720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:53:27] local.INFO: DEBUG: GPS processor result {"connection_id":46178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23510,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:53:27] local.INFO: GPS data processed {"connection_id":46178,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:53:27] local.INFO: Acknowledgment sent {"connection_id":46178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:53:49] local.INFO: TCP Data received {"connection_id":46179,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:53:49] local.INFO: Processing buffer {"connection_id":46179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:53:49] local.INFO: IMEI packet received {"connection_id":46179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":46179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:53:55] local.INFO: TCP Data received {"connection_id":46179,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46179,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:53:55] local.INFO: Processing buffer {"connection_id":46179,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:53:55] local.INFO: IMEI packet received {"connection_id":46179,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:53:55] local.INFO: IMEI acknowledgment sent {"connection_id":46179,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:53:56] local.INFO: TCP Data received {"connection_id":46179,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:53:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:53:56] local.INFO: Processing buffer {"connection_id":46179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:53:56] local.INFO: Packet analysis {"connection_id":46179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:53:56] local.INFO: Extracted packet for processing {"connection_id":46179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:53:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:53:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770220544001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:53:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:53:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:53:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:53:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776446475000,"timestamp_ms":1776446475000,"timestamp_seconds":1776446475,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c760af8"} 
[2026-04-17 22:53:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:53:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:53:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 22:53:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:53:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:53:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:53:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:53:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:53:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:53:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:53:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:53:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:53:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:53:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770220544001,"66":25397,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:53:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:53:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:53:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770220544001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:53:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:53:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:53:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:53:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:53:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770220544001,"power":25397,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:53:56] local.INFO: DEBUG: GPS processor result {"connection_id":46179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23511,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:53:56] local.INFO: GPS data processed {"connection_id":46179,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:53:56] local.INFO: Acknowledgment sent {"connection_id":46179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:53:59] local.INFO: TCP Data received {"connection_id":46178,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:53:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46178,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:53:59] local.INFO: Processing buffer {"connection_id":46178,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:53:59] local.INFO: Packet analysis {"connection_id":46178,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:53:59] local.INFO: Extracted packet for processing {"connection_id":46178,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:53:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:53:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770238720001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:53:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:53:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:53: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-04-17 22:53:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776446546000,"timestamp_ms":1776446546000,"timestamp_seconds":1776446546,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c772050"} 
[2026-04-17 22:53:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:53:59] 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-04-17 22:53:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:53: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-04-17 22:53:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:53:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:53:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:53:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46178,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:53:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:53:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46178,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:53:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:53:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:53:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:53:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770238720001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:53:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:53:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:53:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770238720001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:53:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:53:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:53:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:53:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:53:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770238720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:53:59] local.INFO: DEBUG: GPS processor result {"connection_id":46178,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23512,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:53:59] local.INFO: GPS data processed {"connection_id":46178,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:53:59] local.INFO: Acknowledgment sent {"connection_id":46178,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:54:26] local.INFO: TCP Data received {"connection_id":46548,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:54:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:54:26] local.INFO: Processing buffer {"connection_id":46548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:54:26] local.INFO: IMEI packet received {"connection_id":46548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:54:26] local.INFO: IMEI acknowledgment sent {"connection_id":46548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:54:27] local.INFO: TCP Data received {"connection_id":46179,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:54:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46179,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:54:27] local.INFO: Processing buffer {"connection_id":46179,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:54:27] local.INFO: Packet analysis {"connection_id":46179,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:54:27] local.INFO: Extracted packet for processing {"connection_id":46179,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:54:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:54:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770220544001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:54:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:54:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:54:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:54:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446475000,"timestamp_ms":1776446475000,"timestamp_seconds":1776446475,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c760af8"} 
[2026-04-17 22:54:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:54:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:54:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 22:54:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:54:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:54:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:54:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:54:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46179,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:54:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:54:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46179,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:54:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:54:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:54:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:54:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770220544001,"66":25397,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:54:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:54:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:54:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770220544001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:54:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:54:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:54:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:54:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:54:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770220544001,"power":25397,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:54:27] local.INFO: DEBUG: GPS processor result {"connection_id":46179,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23513,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:54:27] local.INFO: GPS data processed {"connection_id":46179,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:54:27] local.INFO: Acknowledgment sent {"connection_id":46179,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:54:31] local.INFO: TCP Data received {"connection_id":46548,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:54:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46548,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:54:31] local.INFO: Processing buffer {"connection_id":46548,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:54:31] local.INFO: IMEI packet received {"connection_id":46548,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:54:31] local.INFO: IMEI acknowledgment sent {"connection_id":46548,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:54:32] local.INFO: TCP Data received {"connection_id":46548,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:54:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:54:32] local.INFO: Processing buffer {"connection_id":46548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:54:32] local.INFO: Packet analysis {"connection_id":46548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:54:32] local.INFO: Extracted packet for processing {"connection_id":46548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:54:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:54:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770238720001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:54:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:54:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:54:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:54:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776446546000,"timestamp_ms":1776446546000,"timestamp_seconds":1776446546,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c772050"} 
[2026-04-17 22:54:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:54:32] 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-04-17 22:54:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:54:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:54:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:54:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:54:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:54:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:54:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:54:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:54:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:54:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:54:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770238720001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:54:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:54:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:54:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770238720001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:54:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:54:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:54:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:54:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:54:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770238720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":46548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23514,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:54:33] local.INFO: GPS data processed {"connection_id":46548,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:54:33] local.INFO: Acknowledgment sent {"connection_id":46548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:54:37] local.INFO: TCP Data received {"connection_id":46548,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:54:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46548,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:54:37] local.INFO: Processing buffer {"connection_id":46548,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:54:37] local.INFO: Packet analysis {"connection_id":46548,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:54:37] local.INFO: Extracted packet for processing {"connection_id":46548,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:54:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:54:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770238720001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:54:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:54:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:54: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-04-17 22:54:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776446546000,"timestamp_ms":1776446546000,"timestamp_seconds":1776446546,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c772050"} 
[2026-04-17 22:54:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:54: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-04-17 22: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:54:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:54:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:54:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:54:37] local.INFO: Teltonika packet parsed successfully {"connection_id":46548,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:54:37] local.INFO: Passing IMEI to GPS processor {"connection_id":46548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:54:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":46548,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:54:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:54:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:54:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:54:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770238720001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:54:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:54:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:54:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770238720001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:54:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:54:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:54:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:54:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:54:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770238720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:54:37] local.INFO: DEBUG: GPS processor result {"connection_id":46548,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23515,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:54:37] local.INFO: GPS data processed {"connection_id":46548,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:54:37] local.INFO: Acknowledgment sent {"connection_id":46548,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:54:49] local.INFO: TCP Data received {"connection_id":46180,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:54:49] local.INFO: Processing buffer {"connection_id":46180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:54:49] local.INFO: IMEI packet received {"connection_id":46180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":46180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:54:55] local.INFO: TCP Data received {"connection_id":46180,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:54:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46180,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:54:55] local.INFO: Processing buffer {"connection_id":46180,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:54:55] local.INFO: IMEI packet received {"connection_id":46180,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:54:55] local.INFO: IMEI acknowledgment sent {"connection_id":46180,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:54:56] local.INFO: TCP Data received {"connection_id":46180,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:54:56] local.INFO: Processing buffer {"connection_id":46180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:54:56] local.INFO: Packet analysis {"connection_id":46180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:54:56] local.INFO: Extracted packet for processing {"connection_id":46180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:54:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:54:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770220544001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:54:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:54:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:54:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:54:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776446475000,"timestamp_ms":1776446475000,"timestamp_seconds":1776446475,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c760af8"} 
[2026-04-17 22:54:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:54:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:54:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 22:54:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:54:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:54:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:54:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:54:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:54:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:54:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:54:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:54:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:54:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:54:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770220544001,"66":25397,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:54:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:54:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:54:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770220544001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:54:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:54:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:54:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:54:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:54:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770220544001,"power":25397,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:54:56] local.INFO: DEBUG: GPS processor result {"connection_id":46180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23516,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:54:56] local.INFO: GPS data processed {"connection_id":46180,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:54:56] local.INFO: Acknowledgment sent {"connection_id":46180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:55:21] local.INFO: TCP Data received {"connection_id":46549,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:55:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:55:21] local.INFO: Processing buffer {"connection_id":46549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:55:21] local.INFO: IMEI packet received {"connection_id":46549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:55:21] local.INFO: IMEI acknowledgment sent {"connection_id":46549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:55:26] local.INFO: TCP Data received {"connection_id":46549,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:55:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46549,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:55:26] local.INFO: Processing buffer {"connection_id":46549,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:55:26] local.INFO: IMEI packet received {"connection_id":46549,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:55:26] local.INFO: IMEI acknowledgment sent {"connection_id":46549,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:55:27] local.INFO: TCP Data received {"connection_id":46180,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46180,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:55:27] local.INFO: Processing buffer {"connection_id":46180,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:55:27] local.INFO: Packet analysis {"connection_id":46180,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:55:27] local.INFO: Extracted packet for processing {"connection_id":46180,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:55:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770220544001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:55:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446475000,"timestamp_ms":1776446475000,"timestamp_seconds":1776446475,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c760af8"} 
[2026-04-17 22:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:55:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 22:55:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46180,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46180,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770220544001,"66":25397,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770220544001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:55:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:55:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770220544001,"power":25397,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:55:27] local.INFO: DEBUG: GPS processor result {"connection_id":46180,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23517,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:55:27] local.INFO: GPS data processed {"connection_id":46180,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:55:27] local.INFO: Acknowledgment sent {"connection_id":46180,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:55:27] local.INFO: TCP Data received {"connection_id":46549,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:55:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:55:27] local.INFO: Processing buffer {"connection_id":46549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:55:27] local.INFO: Packet analysis {"connection_id":46549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:55:27] local.INFO: Extracted packet for processing {"connection_id":46549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:55:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:55:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770238720001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:55:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:55:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:55: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-04-17 22:55:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446546000,"timestamp_ms":1776446546000,"timestamp_seconds":1776446546,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c772050"} 
[2026-04-17 22:55:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:55:27] 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-04-17 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:55: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-04-17 22: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-04-17 22:55:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:55:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:55:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:55:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:55:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:55:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:55:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:55:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:55:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770238720001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:55:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:55:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:55:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770238720001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:55:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:55:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:55:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:55:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:55:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770238720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:55:28] local.INFO: DEBUG: GPS processor result {"connection_id":46549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23518,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:55:28] local.INFO: GPS data processed {"connection_id":46549,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:55:28] local.INFO: Acknowledgment sent {"connection_id":46549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:55:32] local.INFO: TCP Data received {"connection_id":46549,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:55:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:55:32] local.INFO: Processing buffer {"connection_id":46549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:55:32] local.INFO: Packet analysis {"connection_id":46549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:55:32] local.INFO: Extracted packet for processing {"connection_id":46549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:55:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:55:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770238720001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:55:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:55:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:55:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:55:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776446546000,"timestamp_ms":1776446546000,"timestamp_seconds":1776446546,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c772050"} 
[2026-04-17 22:55:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:55:32] 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-04-17 22:55:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:55:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:55:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:55:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:55:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:55:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:55:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:55:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:55:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:55:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:55:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770238720001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:55:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:55:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:55:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770238720001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:55:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:55:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:55:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:55:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:55:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770238720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:55:32] local.INFO: DEBUG: GPS processor result {"connection_id":46549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23519,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:55:32] local.INFO: GPS data processed {"connection_id":46549,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:55:32] local.INFO: Acknowledgment sent {"connection_id":46549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:55:55] local.INFO: TCP Data received {"connection_id":46295,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:55:55] local.INFO: Processing buffer {"connection_id":46295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:55:55] local.INFO: IMEI packet received {"connection_id":46295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":46295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:56:00] local.INFO: TCP Data received {"connection_id":46295,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:56:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46295,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:56:00] local.INFO: Processing buffer {"connection_id":46295,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:56:00] local.INFO: IMEI packet received {"connection_id":46295,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:56:00] local.INFO: IMEI acknowledgment sent {"connection_id":46295,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:56:01] local.INFO: TCP Data received {"connection_id":46295,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:56:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:56:01] local.INFO: Processing buffer {"connection_id":46295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:56:01] local.INFO: Packet analysis {"connection_id":46295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:56:01] local.INFO: Extracted packet for processing {"connection_id":46295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:56:01] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:56:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770220544001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:56:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:56:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:56:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:56:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776446475000,"timestamp_ms":1776446475000,"timestamp_seconds":1776446475,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c760af8"} 
[2026-04-17 22:56:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:56:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 22:56:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:56:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:56:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:56:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:56:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:56:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:56:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:56:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:56:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:56:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770220544001,"66":25397,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:56:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:56:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:56:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770220544001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:56:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:56:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:56:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:56:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:56:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770220544001,"power":25397,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:56:01] local.INFO: DEBUG: GPS processor result {"connection_id":46295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23520,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:56:01] local.INFO: GPS data processed {"connection_id":46295,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:56:01] local.INFO: Acknowledgment sent {"connection_id":46295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:56:04] local.INFO: TCP Data received {"connection_id":46549,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:56:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46549,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:56:04] local.INFO: Processing buffer {"connection_id":46549,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:56:04] local.INFO: Packet analysis {"connection_id":46549,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:56:04] local.INFO: Extracted packet for processing {"connection_id":46549,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:56:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:56:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770238720001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:56:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:56:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:56:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:56:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776446546000,"timestamp_ms":1776446546000,"timestamp_seconds":1776446546,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c772050"} 
[2026-04-17 22:56:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:56:04] 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-04-17 22:56:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:56:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:56:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:56:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:56:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:56:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46549,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:56:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:56:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46549,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:56:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:56:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:56:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:56:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770238720001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:56:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:56:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:56:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770238720001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:56:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:56:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:56:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:56:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:56:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770238720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:56:04] local.INFO: DEBUG: GPS processor result {"connection_id":46549,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23521,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:56:04] local.INFO: GPS data processed {"connection_id":46549,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:56:04] local.INFO: Acknowledgment sent {"connection_id":46549,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:56:05] local.INFO: TCP Data received {"connection_id":46295,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:56:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46295,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:56:05] local.INFO: Processing buffer {"connection_id":46295,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c760af8012d77a30005f2a4b0001600d52e..."} 
[2026-04-17 22:56:05] local.INFO: Packet analysis {"connection_id":46295,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:56:05] local.INFO: Extracted packet for processing {"connection_id":46295,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c76"} 
[2026-04-17 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":46,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 22:56:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770220544001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:56:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:56:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:56:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:56:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776446475000,"timestamp_ms":1776446475000,"timestamp_seconds":1776446475,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c760af8"} 
[2026-04-17 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-04-17 22:56:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":99,"n8_eight_byte":86,"data_length":795,"current_offset":136} 
[2026-04-17 22:56:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1467,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 22:56:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:56:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46295,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:56:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:56:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46295,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:56:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:56:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:56:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:56:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770220544001,"66":25397,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:56:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:56:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:56:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770220544001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:56:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:56:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:56:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:56:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:56:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770220544001,"power":25397,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:56:05] local.INFO: DEBUG: GPS processor result {"connection_id":46295,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23522,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:56:05] local.INFO: GPS data processed {"connection_id":46295,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:56:05] local.INFO: Acknowledgment sent {"connection_id":46295,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:56:21] local.INFO: TCP Data received {"connection_id":47040,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:56:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:56:21] local.INFO: Processing buffer {"connection_id":47040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:56:21] local.INFO: IMEI packet received {"connection_id":47040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:56:21] local.INFO: IMEI acknowledgment sent {"connection_id":47040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:56:26] local.INFO: TCP Data received {"connection_id":47040,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:56:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47040,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:56:26] local.INFO: Processing buffer {"connection_id":47040,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:56:26] local.INFO: IMEI packet received {"connection_id":47040,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:56:26] local.INFO: IMEI acknowledgment sent {"connection_id":47040,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:56:27] local.INFO: TCP Data received {"connection_id":47040,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:56:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:56:27] local.INFO: Processing buffer {"connection_id":47040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:56:27] local.INFO: Packet analysis {"connection_id":47040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:56:27] local.INFO: Extracted packet for processing {"connection_id":47040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:56:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:56:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770238720001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:56:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:56:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22: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-04-17 22:56:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446546000,"timestamp_ms":1776446546000,"timestamp_seconds":1776446546,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c772050"} 
[2026-04-17 22:56:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:56:27] 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-04-17 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:56: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-04-17 22: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-04-17 22:56:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:56:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:56:27] local.INFO: Teltonika packet parsed successfully {"connection_id":47040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:56:27] local.INFO: Passing IMEI to GPS processor {"connection_id":47040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:56:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":47040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:56:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:56:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:56:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:56:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770238720001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:56:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:56:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:56:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770238720001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:56:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:56:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:56:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:56:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:56:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770238720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:56:27] local.INFO: DEBUG: GPS processor result {"connection_id":47040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23523,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:56:27] local.INFO: GPS data processed {"connection_id":47040,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:56:27] local.INFO: Acknowledgment sent {"connection_id":47040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:56:50] local.INFO: TCP Data received {"connection_id":46297,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:56:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:56:50] local.INFO: Processing buffer {"connection_id":46297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:56:50] local.INFO: IMEI packet received {"connection_id":46297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:56:50] local.INFO: IMEI acknowledgment sent {"connection_id":46297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:56:55] local.INFO: TCP Data received {"connection_id":46297,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46297,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:56:55] local.INFO: Processing buffer {"connection_id":46297,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:56:55] local.INFO: IMEI packet received {"connection_id":46297,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":46297,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:56:56] local.INFO: TCP Data received {"connection_id":46297,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 22:56:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 22:56:56] local.INFO: Processing buffer {"connection_id":46297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 22:56:56] local.INFO: Packet analysis {"connection_id":46297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 22:56:56] local.INFO: Extracted packet for processing {"connection_id":46297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 22:56:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:56:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770297600001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:56:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:56:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:56:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:56:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776446776000,"timestamp_ms":1776446776000,"timestamp_seconds":1776446776,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7aa2c0"} 
[2026-04-17 22:56:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:56:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 22:56:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:56:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:56:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:56:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:56:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:56:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:56:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:56:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:56:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:56:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770297600001,"66":24680,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:56:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:56:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:56:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770297600001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:56:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:56:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:56:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:56:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:56:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770297600001,"power":24680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:56:56] local.INFO: DEBUG: GPS processor result {"connection_id":46297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23524,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:56:56] local.INFO: GPS data processed {"connection_id":46297,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:56:56] local.INFO: Acknowledgment sent {"connection_id":46297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:56:59] local.INFO: TCP Data received {"connection_id":47040,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:56:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47040,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:56:59] local.INFO: Processing buffer {"connection_id":47040,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:56:59] local.INFO: Packet analysis {"connection_id":47040,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:56:59] local.INFO: Extracted packet for processing {"connection_id":47040,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:56:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:56:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770238720001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:56:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:56:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:56: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-04-17 22:56:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776446546000,"timestamp_ms":1776446546000,"timestamp_seconds":1776446546,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c772050"} 
[2026-04-17 22:56:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:56:59] 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-04-17 22:56:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:56: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-04-17 22:56:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:56:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:56:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:56:59] local.INFO: Teltonika packet parsed successfully {"connection_id":47040,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:56:59] local.INFO: Passing IMEI to GPS processor {"connection_id":47040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:56:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":47040,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:56:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:56:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:56:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:56:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770238720001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:56:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:56:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:56:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770238720001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:56:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:56:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:56:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:56:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:56:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770238720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:56:59] local.INFO: DEBUG: GPS processor result {"connection_id":47040,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23525,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:56:59] local.INFO: GPS data processed {"connection_id":47040,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:56:59] local.INFO: Acknowledgment sent {"connection_id":47040,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:57:20] local.INFO: TCP Data received {"connection_id":46298,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:57:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:57:20] local.INFO: Processing buffer {"connection_id":46298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:57:20] local.INFO: IMEI packet received {"connection_id":46298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:57:20] local.INFO: IMEI acknowledgment sent {"connection_id":46298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:57:26] local.INFO: TCP Data received {"connection_id":46298,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:57:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46298,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:57:26] local.INFO: Processing buffer {"connection_id":46298,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:57:26] local.INFO: IMEI packet received {"connection_id":46298,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:57:26] local.INFO: IMEI acknowledgment sent {"connection_id":46298,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:57:27] local.INFO: TCP Data received {"connection_id":46297,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 22:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46297,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 22:57:27] local.INFO: Processing buffer {"connection_id":46297,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 22:57:27] local.INFO: Packet analysis {"connection_id":46297,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 22:57:27] local.INFO: Extracted packet for processing {"connection_id":46297,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 22:57:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770297600001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:57:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446776000,"timestamp_ms":1776446776000,"timestamp_seconds":1776446776,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7aa2c0"} 
[2026-04-17 22:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:57:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 22:57:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46297,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46297,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770297600001,"66":24680,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770297600001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:57:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:57:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770297600001,"power":24680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":46297,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23526,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:57:27] local.INFO: GPS data processed {"connection_id":46297,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:57:27] local.INFO: Acknowledgment sent {"connection_id":46297,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:57:27] local.INFO: TCP Data received {"connection_id":46298,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:57:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:57:27] local.INFO: Processing buffer {"connection_id":46298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:57:27] local.INFO: Packet analysis {"connection_id":46298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:57:27] local.INFO: Extracted packet for processing {"connection_id":46298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:57:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:57:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770238720001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:57:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:57:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:57: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-04-17 22:57:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446546000,"timestamp_ms":1776446546000,"timestamp_seconds":1776446546,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c772050"} 
[2026-04-17 22:57:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:57:27] 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-04-17 22:57:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:57: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-04-17 22:57:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:57:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:57:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:57:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:57:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:57:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:57:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:57:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:57:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:57:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770238720001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:57:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:57:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:57:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770238720001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:57:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:57:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:57:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:57:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:57:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770238720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:57:27] local.INFO: DEBUG: GPS processor result {"connection_id":46298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23527,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:57:27] local.INFO: GPS data processed {"connection_id":46298,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:57:27] local.INFO: Acknowledgment sent {"connection_id":46298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:57:49] local.INFO: TCP Data received {"connection_id":46181,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:57:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:57:49] local.INFO: Processing buffer {"connection_id":46181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:57:49] local.INFO: IMEI packet received {"connection_id":46181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:57:49] local.INFO: IMEI acknowledgment sent {"connection_id":46181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:57:55] local.INFO: TCP Data received {"connection_id":46181,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46181,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:57:55] local.INFO: Processing buffer {"connection_id":46181,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:57:55] local.INFO: IMEI packet received {"connection_id":46181,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:57:55] local.INFO: IMEI acknowledgment sent {"connection_id":46181,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:57:55] local.INFO: TCP Data received {"connection_id":46181,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 22:57:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 22:57:55] local.INFO: Processing buffer {"connection_id":46181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 22:57:55] local.INFO: Packet analysis {"connection_id":46181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 22:57:55] local.INFO: Extracted packet for processing {"connection_id":46181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 22:57:55] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:57:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770297600001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:57:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:57:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:57:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:57:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776446776000,"timestamp_ms":1776446776000,"timestamp_seconds":1776446776,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7aa2c0"} 
[2026-04-17 22:57:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:57:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:57:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 22:57:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:57:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:57:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:57:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:57:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:57:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:57:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:57:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:57:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:57:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:57:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770297600001,"66":24680,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:57:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:57:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:57:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770297600001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:57:55] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:57:55] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:57:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:57:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:57:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770297600001,"power":24680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:57:55] local.INFO: DEBUG: GPS processor result {"connection_id":46181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23528,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:57:55] local.INFO: GPS data processed {"connection_id":46181,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:57:55] local.INFO: Acknowledgment sent {"connection_id":46181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:57:59] local.INFO: TCP Data received {"connection_id":46298,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:57:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46298,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:57:59] local.INFO: Processing buffer {"connection_id":46298,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c772050012d196500071ff090003a013b2b..."} 
[2026-04-17 22:57:59] local.INFO: Packet analysis {"connection_id":46298,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:57:59] local.INFO: Extracted packet for processing {"connection_id":46298,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c77"} 
[2026-04-17 22:57:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:57:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770238720001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:57:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:57:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:57: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-04-17 22:57:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776446546000,"timestamp_ms":1776446546000,"timestamp_seconds":1776446546,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c772050"} 
[2026-04-17 22:57:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:57:59] 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-04-17 22:57:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:57: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-04-17 22: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-04-17 22:57:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:57:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:57:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46298,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:57:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:57:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46298,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:57:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:57:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:57:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:57:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770238720001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:57:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:57:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:57:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770238720001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:57:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:57:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:57:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:57:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:57:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770238720001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:57:59] local.INFO: DEBUG: GPS processor result {"connection_id":46298,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23529,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:57:59] local.INFO: GPS data processed {"connection_id":46298,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:57:59] local.INFO: Acknowledgment sent {"connection_id":46298,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:58:21] local.INFO: TCP Data received {"connection_id":47042,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:58:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:58:21] local.INFO: Processing buffer {"connection_id":47042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:58:21] local.INFO: IMEI packet received {"connection_id":47042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:58:21] local.INFO: IMEI acknowledgment sent {"connection_id":47042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:58:26] local.INFO: TCP Data received {"connection_id":47042,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47042,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:58:26] local.INFO: Processing buffer {"connection_id":47042,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:58:26] local.INFO: IMEI packet received {"connection_id":47042,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":47042,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:58:26] local.INFO: TCP Data received {"connection_id":46550,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:58:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46550,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:58:26] local.INFO: Processing buffer {"connection_id":46550,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:58:26] local.INFO: IMEI packet received {"connection_id":46550,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 22:58:26] local.INFO: IMEI acknowledgment sent {"connection_id":46550,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:58:27] local.INFO: TCP Data received {"connection_id":46181,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 22:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46181,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 22:58:27] local.INFO: Processing buffer {"connection_id":46181,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 22:58:27] local.INFO: Packet analysis {"connection_id":46181,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 22:58:27] local.INFO: Extracted packet for processing {"connection_id":46181,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 22:58:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770297600001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:58:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446776000,"timestamp_ms":1776446776000,"timestamp_seconds":1776446776,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7aa2c0"} 
[2026-04-17 22:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 22:58:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46181,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46181,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770297600001,"66":24680,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770297600001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:58:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:58:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770297600001,"power":24680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":46181,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23530,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:58:27] local.INFO: GPS data processed {"connection_id":46181,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:58:27] local.INFO: Acknowledgment sent {"connection_id":46181,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:58:27] local.INFO: TCP Data received {"connection_id":47042,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 22:58:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 22:58:27] local.INFO: Processing buffer {"connection_id":47042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 22:58:27] local.INFO: Packet analysis {"connection_id":47042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 22:58:27] local.INFO: Extracted packet for processing {"connection_id":47042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 22:58:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:58:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770315776001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:58:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:58:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:58: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-04-17 22:58:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446847000,"timestamp_ms":1776446847000,"timestamp_seconds":1776446847,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7bb818"} 
[2026-04-17 22:58:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:58:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:58:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:58: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-04-17 22:58:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:58:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:58:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:58:27] local.INFO: Teltonika packet parsed successfully {"connection_id":47042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:58:27] local.INFO: Passing IMEI to GPS processor {"connection_id":47042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:58:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":47042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:58:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:58:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:58:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:58:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770315776001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:58:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:58:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:58:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770315776001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:58:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:58:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:58:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:58:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:58:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770315776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:58:27] local.INFO: DEBUG: GPS processor result {"connection_id":47042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23531,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:58:27] local.INFO: GPS data processed {"connection_id":47042,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:58:27] local.INFO: Acknowledgment sent {"connection_id":47042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:58:49] local.INFO: TCP Data received {"connection_id":46551,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:58:49] local.INFO: Processing buffer {"connection_id":46551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:58:49] local.INFO: IMEI packet received {"connection_id":46551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":46551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:58:55] local.INFO: TCP Data received {"connection_id":46551,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:58:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46551,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:58:55] local.INFO: Processing buffer {"connection_id":46551,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:58:55] local.INFO: IMEI packet received {"connection_id":46551,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 22:58:55] local.INFO: IMEI acknowledgment sent {"connection_id":46551,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:58:56] local.INFO: TCP Data received {"connection_id":46551,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 22:58:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 22:58:56] local.INFO: Processing buffer {"connection_id":46551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 22:58:56] local.INFO: Packet analysis {"connection_id":46551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 22:58:56] local.INFO: Extracted packet for processing {"connection_id":46551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 22:58:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:58:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770297600001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:58:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:58:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:58:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:58:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776446776000,"timestamp_ms":1776446776000,"timestamp_seconds":1776446776,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7aa2c0"} 
[2026-04-17 22:58:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:58:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:58:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 22:58:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22:58:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:58:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:58:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:58:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:58:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:58:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:58:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:58:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:58:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:58:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770297600001,"66":24680,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:58:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:58:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:58:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770297600001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:58:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:58:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:58:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:58:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:58:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770297600001,"power":24680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:58:56] local.INFO: DEBUG: GPS processor result {"connection_id":46551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23532,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:58:56] local.INFO: GPS data processed {"connection_id":46551,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:58:56] local.INFO: Acknowledgment sent {"connection_id":46551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:58:59] local.INFO: TCP Data received {"connection_id":47042,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 22:58:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47042,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 22:58:59] local.INFO: Processing buffer {"connection_id":47042,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 22:58:59] local.INFO: Packet analysis {"connection_id":47042,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 22:58:59] local.INFO: Extracted packet for processing {"connection_id":47042,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 22:58:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:58:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770315776001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:58:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:58:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:58: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-04-17 22:58:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776446847000,"timestamp_ms":1776446847000,"timestamp_seconds":1776446847,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7bb818"} 
[2026-04-17 22:58:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:58:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:58:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:58: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-04-17 22:58:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:58:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:58:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:58:59] local.INFO: Teltonika packet parsed successfully {"connection_id":47042,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:58:59] local.INFO: Passing IMEI to GPS processor {"connection_id":47042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:58:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":47042,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:58:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:58:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:58:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:58:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770315776001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:58:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:58:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:58:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770315776001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:58:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:58:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:58:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:58:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:58:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770315776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:58:59] local.INFO: DEBUG: GPS processor result {"connection_id":47042,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23533,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:58:59] local.INFO: GPS data processed {"connection_id":47042,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:58:59] local.INFO: Acknowledgment sent {"connection_id":47042,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:59:04] local.INFO: TCP Data received {"connection_id":46552,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:59:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46552,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:59:04] local.INFO: Processing buffer {"connection_id":46552,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 22:59:04] local.INFO: IMEI packet received {"connection_id":46552,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 22:59:04] local.INFO: IMEI acknowledgment sent {"connection_id":46552,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:59:21] local.INFO: TCP Data received {"connection_id":47043,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:59:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:59:21] local.INFO: Processing buffer {"connection_id":47043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:59:21] local.INFO: IMEI packet received {"connection_id":47043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 22:59:21] local.INFO: IMEI acknowledgment sent {"connection_id":47043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:59:26] local.INFO: TCP Data received {"connection_id":47043,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47043,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:59:26] local.INFO: Processing buffer {"connection_id":47043,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 22:59:26] local.INFO: IMEI packet received {"connection_id":47043,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 22:59:26] local.INFO: IMEI acknowledgment sent {"connection_id":47043,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 22:59:27] local.INFO: TCP Data received {"connection_id":46551,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 22:59:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46551,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 22:59:27] local.INFO: Processing buffer {"connection_id":46551,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 22:59:27] local.INFO: Packet analysis {"connection_id":46551,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 22:59:27] local.INFO: Extracted packet for processing {"connection_id":46551,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 22:59:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 22: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-04-17 22:59:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770297600001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:59:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 22:59:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 22:59:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 22:59:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446776000,"timestamp_ms":1776446776000,"timestamp_seconds":1776446776,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7aa2c0"} 
[2026-04-17 22:59:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:59:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:59:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 22:59:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 22: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-04-17 22:59:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:59:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:59:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46551,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:59:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:59:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46551,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 22:59:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:59:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 22:59:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 22:59:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770297600001,"66":24680,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 22:59:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 22:59:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 22:59:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770297600001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:59:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 22:59:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 22:59:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:59:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 22:59:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770297600001,"power":24680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 22:59:27] local.INFO: DEBUG: GPS processor result {"connection_id":46551,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23534,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:59:27] local.INFO: GPS data processed {"connection_id":46551,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:59:27] local.INFO: Acknowledgment sent {"connection_id":46551,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:59:28] local.INFO: TCP Data received {"connection_id":47043,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 22:59:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 22:59:28] local.INFO: Processing buffer {"connection_id":47043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 22:59:28] local.INFO: Packet analysis {"connection_id":47043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 22:59:28] local.INFO: Extracted packet for processing {"connection_id":47043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 22:59:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:59:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:59:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770315776001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:59:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:59:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22: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-04-17 22:59:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776446847000,"timestamp_ms":1776446847000,"timestamp_seconds":1776446847,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7bb818"} 
[2026-04-17 22:59:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:59:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:59: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-04-17 22: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-04-17 22:59:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:59:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:59:28] local.INFO: Teltonika packet parsed successfully {"connection_id":47043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:59:28] local.INFO: Passing IMEI to GPS processor {"connection_id":47043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:59:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":47043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:59:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:59:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:59:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:59:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770315776001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:59:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:59:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:59:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770315776001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:59:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:59:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:59:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:59:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:59:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770315776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:59:28] local.INFO: DEBUG: GPS processor result {"connection_id":47043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23535,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:59:28] local.INFO: GPS data processed {"connection_id":47043,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:59:28] local.INFO: Acknowledgment sent {"connection_id":47043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 22:59:55] local.INFO: TCP Data received {"connection_id":46553,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:59:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:59:55] local.INFO: Processing buffer {"connection_id":46553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 22:59:55] local.INFO: IMEI packet received {"connection_id":46553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 22:59:55] local.INFO: IMEI acknowledgment sent {"connection_id":46553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 22:59:59] local.INFO: TCP Data received {"connection_id":47043,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 22:59:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47043,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 22:59:59] local.INFO: Processing buffer {"connection_id":47043,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 22:59:59] local.INFO: Packet analysis {"connection_id":47043,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 22:59:59] local.INFO: Extracted packet for processing {"connection_id":47043,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 22:59:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 22:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 22:59:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770315776001,"note":"Value kept but may cause issues"} 
[2026-04-17 22:59:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 22:59:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 22:59: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-04-17 22:59:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776446847000,"timestamp_ms":1776446847000,"timestamp_seconds":1776446847,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7bb818"} 
[2026-04-17 22:59:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 22:59:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 22:59:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 22:59: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-04-17 22:59:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 22:59:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 22:59:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 22:59:59] local.INFO: Teltonika packet parsed successfully {"connection_id":47043,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 22:59:59] local.INFO: Passing IMEI to GPS processor {"connection_id":47043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:59:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":47043,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 22:59:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 22:59:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 22:59:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 22:59:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770315776001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 22:59:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 22:59:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 22:59:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770315776001,"description":"Unknown IO ID 0"} 
[2026-04-17 22:59:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 22:59:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 22:59:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 22:59:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 22:59:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770315776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 22:59:59] local.INFO: DEBUG: GPS processor result {"connection_id":47043,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23536,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 22:59:59] local.INFO: GPS data processed {"connection_id":47043,"processed":1,"errors":0,"total":1} 
[2026-04-17 22:59:59] local.INFO: Acknowledgment sent {"connection_id":47043,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:00:00] local.INFO: TCP Data received {"connection_id":46553,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:00:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46553,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:00:00] local.INFO: Processing buffer {"connection_id":46553,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:00:00] local.INFO: IMEI packet received {"connection_id":46553,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:00:00] local.INFO: IMEI acknowledgment sent {"connection_id":46553,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:00:01] local.INFO: TCP Data received {"connection_id":46553,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 23:00:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 23:00:01] local.INFO: Processing buffer {"connection_id":46553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 23:00:01] local.INFO: Packet analysis {"connection_id":46553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 23:00:01] local.INFO: Extracted packet for processing {"connection_id":46553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 23:00:01] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:00:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770297600001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:00:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 23:00:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 23:00:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:00:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776446776000,"timestamp_ms":1776446776000,"timestamp_seconds":1776446776,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7aa2c0"} 
[2026-04-17 23:00:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:00:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23: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":53,"data_length":795,"current_offset":136} 
[2026-04-17 23:00:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:00:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:00:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:00:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:00:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:00:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:00:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:00:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:00:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:00:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770297600001,"66":24680,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 23:00:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:00:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:00:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770297600001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:00:01] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 23:00:01] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 23:00:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:00:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 23:00:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770297600001,"power":24680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 23:00:01] local.INFO: DEBUG: GPS processor result {"connection_id":46553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23537,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:00:01] local.INFO: GPS data processed {"connection_id":46553,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:00:01] local.INFO: Acknowledgment sent {"connection_id":46553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:00:05] local.INFO: TCP Data received {"connection_id":46553,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 23:00:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46553,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 23:00:05] local.INFO: Processing buffer {"connection_id":46553,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 23:00:05] local.INFO: Packet analysis {"connection_id":46553,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 23:00:05] local.INFO: Extracted packet for processing {"connection_id":46553,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 23:00:05] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:00:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770297600001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:00:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 23:00:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 23:00:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:00:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776446776000,"timestamp_ms":1776446776000,"timestamp_seconds":1776446776,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7aa2c0"} 
[2026-04-17 23:00:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:00:05] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 23:00:05] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:00:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:00:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:00:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46553,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:00:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:00:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46553,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:00:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:00:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:00:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:00:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770297600001,"66":24680,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 23:00:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:00:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:00:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770297600001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:00:05] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 23:00:05] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 23:00:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:00:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 23:00:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770297600001,"power":24680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 23:00:05] local.INFO: DEBUG: GPS processor result {"connection_id":46553,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23538,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:00:05] local.INFO: GPS data processed {"connection_id":46553,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:00:05] local.INFO: Acknowledgment sent {"connection_id":46553,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:00:21] local.INFO: TCP Data received {"connection_id":46183,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:00:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:00:21] local.INFO: Processing buffer {"connection_id":46183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:00:21] local.INFO: IMEI packet received {"connection_id":46183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:00:21] local.INFO: IMEI acknowledgment sent {"connection_id":46183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:00:26] local.INFO: TCP Data received {"connection_id":46183,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:00:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46183,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:00:26] local.INFO: Processing buffer {"connection_id":46183,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:00:26] local.INFO: IMEI packet received {"connection_id":46183,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:00:26] local.INFO: IMEI acknowledgment sent {"connection_id":46183,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:00:28] local.INFO: TCP Data received {"connection_id":46183,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 23:00:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 23:00:28] local.INFO: Processing buffer {"connection_id":46183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 23:00:28] local.INFO: Packet analysis {"connection_id":46183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 23:00:28] local.INFO: Extracted packet for processing {"connection_id":46183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 23:00:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:00:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770315776001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:00:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:00:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:00: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-04-17 23:00:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776446847000,"timestamp_ms":1776446847000,"timestamp_seconds":1776446847,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7bb818"} 
[2026-04-17 23:00:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:00:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:00:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:00: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-04-17 23:00:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:00:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:00:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:00:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:00:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:00:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:00:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:00:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:00:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:00:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770315776001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:00:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:00:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:00:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770315776001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:00:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:00:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:00:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:00:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:00:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770315776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:00:28] local.INFO: DEBUG: GPS processor result {"connection_id":46183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23539,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:00:28] local.INFO: GPS data processed {"connection_id":46183,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:00:28] local.INFO: Acknowledgment sent {"connection_id":46183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:00:50] local.INFO: TCP Data received {"connection_id":47044,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:00:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:00:50] local.INFO: Processing buffer {"connection_id":47044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:00:50] local.INFO: IMEI packet received {"connection_id":47044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:00:50] local.INFO: IMEI acknowledgment sent {"connection_id":47044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:00:55] local.INFO: TCP Data received {"connection_id":47044,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:00:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47044,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:00:55] local.INFO: Processing buffer {"connection_id":47044,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:00:55] local.INFO: IMEI packet received {"connection_id":47044,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:00:55] local.INFO: IMEI acknowledgment sent {"connection_id":47044,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:00:56] local.INFO: TCP Data received {"connection_id":47044,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 23:00:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 23:00:56] local.INFO: Processing buffer {"connection_id":47044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 23:00:56] local.INFO: Packet analysis {"connection_id":47044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 23:00:56] local.INFO: Extracted packet for processing {"connection_id":47044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 23:00:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:00:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770297600001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:00:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 23:00:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 23:00:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:00:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776446776000,"timestamp_ms":1776446776000,"timestamp_seconds":1776446776,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7aa2c0"} 
[2026-04-17 23:00:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:00:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 23:00:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:00:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:00:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:00:56] local.INFO: Teltonika packet parsed successfully {"connection_id":47044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:00:56] local.INFO: Passing IMEI to GPS processor {"connection_id":47044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:00:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":47044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:00:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:00:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:00:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:00:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770297600001,"66":24680,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 23:00:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:00:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:00:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770297600001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:00:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 23:00:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 23:00:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:00:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 23:00:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770297600001,"power":24680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 23:00:56] local.INFO: DEBUG: GPS processor result {"connection_id":47044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23540,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:00:56] local.INFO: GPS data processed {"connection_id":47044,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:00:56] local.INFO: Acknowledgment sent {"connection_id":47044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:00:59] local.INFO: TCP Data received {"connection_id":46183,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 23:00:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46183,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 23:00:59] local.INFO: Processing buffer {"connection_id":46183,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 23:00:59] local.INFO: Packet analysis {"connection_id":46183,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 23:00:59] local.INFO: Extracted packet for processing {"connection_id":46183,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 23:00:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:00:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770315776001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:00:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:00:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:00: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-04-17 23:00:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776446847000,"timestamp_ms":1776446847000,"timestamp_seconds":1776446847,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7bb818"} 
[2026-04-17 23:00:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:00:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:00:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:00: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-04-17 23:00:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:00:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:00:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:00:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46183,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:00:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:00:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46183,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:00:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:00:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:00:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:00:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770315776001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:00:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:00:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:00:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770315776001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:00:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:00:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:00:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:00:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:00:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770315776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:00:59] local.INFO: DEBUG: GPS processor result {"connection_id":46183,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23541,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:00:59] local.INFO: GPS data processed {"connection_id":46183,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:00:59] local.INFO: Acknowledgment sent {"connection_id":46183,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:01:20] local.INFO: TCP Data received {"connection_id":46300,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:01:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:01:20] local.INFO: Processing buffer {"connection_id":46300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:01:20] local.INFO: IMEI packet received {"connection_id":46300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:01:20] local.INFO: IMEI acknowledgment sent {"connection_id":46300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:01:26] local.INFO: TCP Data received {"connection_id":46300,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:01:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46300,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:01:26] local.INFO: Processing buffer {"connection_id":46300,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:01:26] local.INFO: IMEI packet received {"connection_id":46300,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:01:26] local.INFO: IMEI acknowledgment sent {"connection_id":46300,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:01:27] local.INFO: TCP Data received {"connection_id":47044,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 23:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47044,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 23:01:27] local.INFO: Processing buffer {"connection_id":47044,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7aa2c0012d77a30005f2a4b0001600d52c..."} 
[2026-04-17 23:01:27] local.INFO: Packet analysis {"connection_id":47044,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 23:01:27] local.INFO: Extracted packet for processing {"connection_id":47044,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7a"} 
[2026-04-17 23:01:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":22,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770297600001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 23:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 23:01:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446776000,"timestamp_ms":1776446776000,"timestamp_seconds":1776446776,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7aa2c0"} 
[2026-04-17 23:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23: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":99,"n8_eight_byte":53,"data_length":795,"current_offset":136} 
[2026-04-17 23:01:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1170,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":47044,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":47044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":47044,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770297600001,"66":24680,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 23:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770297600001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:01:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 23:01:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 23:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 23:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770297600001,"power":24680,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 23:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":47044,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23542,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:01:27] local.INFO: GPS data processed {"connection_id":47044,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:01:27] local.INFO: Acknowledgment sent {"connection_id":47044,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:01:27] local.INFO: TCP Data received {"connection_id":46300,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 23:01:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 23:01:27] local.INFO: Processing buffer {"connection_id":46300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 23:01:27] local.INFO: Packet analysis {"connection_id":46300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 23:01:27] local.INFO: Extracted packet for processing {"connection_id":46300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 23:01:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:01:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770315776001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:01:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:01:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:01: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-04-17 23:01:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776446847000,"timestamp_ms":1776446847000,"timestamp_seconds":1776446847,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7bb818"} 
[2026-04-17 23:01:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:01:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:01: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-04-17 23: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-04-17 23:01:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:01:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:01:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:01:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:01:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:01:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:01:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:01:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:01:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770315776001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:01:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:01:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:01:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770315776001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:01:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:01:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:01:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:01:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:01:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770315776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:01:27] local.INFO: DEBUG: GPS processor result {"connection_id":46300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23543,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:01:27] local.INFO: GPS data processed {"connection_id":46300,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:01:27] local.INFO: Acknowledgment sent {"connection_id":46300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:01:49] local.INFO: TCP Data received {"connection_id":46554,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:01:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:01:49] local.INFO: Processing buffer {"connection_id":46554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:01:49] local.INFO: IMEI packet received {"connection_id":46554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:01:49] local.INFO: IMEI acknowledgment sent {"connection_id":46554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:01:55] local.INFO: TCP Data received {"connection_id":46554,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:01:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46554,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:01:55] local.INFO: Processing buffer {"connection_id":46554,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:01:55] local.INFO: IMEI packet received {"connection_id":46554,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:01:55] local.INFO: IMEI acknowledgment sent {"connection_id":46554,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:01:56] local.INFO: TCP Data received {"connection_id":46554,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7f3a88012d77a30005f2a4b0002000d52c..."} 
[2026-04-17 23:01:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7f3a88012d77a30005f2a4b0002000d52c..."} 
[2026-04-17 23:01:56] local.INFO: Processing buffer {"connection_id":46554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7f3a88012d77a30005f2a4b0002000d52c..."} 
[2026-04-17 23:01:56] local.INFO: Packet analysis {"connection_id":46554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7f"} 
[2026-04-17 23:01:56] local.INFO: Extracted packet for processing {"connection_id":46554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7f"} 
[2026-04-17 23:01:56] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":32,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 23:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:01:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770374656001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:01:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 23:01:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 23:01:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:01:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776447077000,"timestamp_ms":1776447077000,"timestamp_seconds":1776447077,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7f3a88"} 
[2026-04-17 23:01:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:01:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:01:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-17 23:01:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:01:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:01:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:01:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:01:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:01:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:01:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:01:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:01:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:01:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:01:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770374656001,"66":25147,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 23:01:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:01:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:01:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770374656001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:01:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 23:01:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 23:01:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:01:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 23:01:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770374656001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 23:01:56] local.INFO: DEBUG: GPS processor result {"connection_id":46554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23544,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:01:56] local.INFO: GPS data processed {"connection_id":46554,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:01:56] local.INFO: Acknowledgment sent {"connection_id":46554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:01:59] local.INFO: TCP Data received {"connection_id":46300,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 23:01:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46300,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 23:01:59] local.INFO: Processing buffer {"connection_id":46300,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 23:01:59] local.INFO: Packet analysis {"connection_id":46300,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 23:01:59] local.INFO: Extracted packet for processing {"connection_id":46300,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 23:01:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:01:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770315776001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:01:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:01:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:01: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-04-17 23:01:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776446847000,"timestamp_ms":1776446847000,"timestamp_seconds":1776446847,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7bb818"} 
[2026-04-17 23:01:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:01:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:01:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:01: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-04-17 23:01:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:01:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:01:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:01:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46300,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:01:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:01:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46300,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:01:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:01:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:01:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:01:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770315776001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:01:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:01:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:01:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770315776001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:01:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:01:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:01:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:01:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:01:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770315776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:01:59] local.INFO: DEBUG: GPS processor result {"connection_id":46300,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23545,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:01:59] local.INFO: GPS data processed {"connection_id":46300,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:01:59] local.INFO: Acknowledgment sent {"connection_id":46300,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:02:20] local.INFO: TCP Data received {"connection_id":46184,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:02:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:02:20] local.INFO: Processing buffer {"connection_id":46184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:02:20] local.INFO: IMEI packet received {"connection_id":46184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:02:20] local.INFO: IMEI acknowledgment sent {"connection_id":46184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:02:26] local.INFO: TCP Data received {"connection_id":46184,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:02:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46184,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:02:26] local.INFO: Processing buffer {"connection_id":46184,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:02:26] local.INFO: IMEI packet received {"connection_id":46184,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:02:26] local.INFO: IMEI acknowledgment sent {"connection_id":46184,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:02:27] local.INFO: TCP Data received {"connection_id":46554,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7f3a88012d77a30005f2a4b0002000d52c..."} 
[2026-04-17 23:02:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46554,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7f3a88012d77a30005f2a4b0002000d52c..."} 
[2026-04-17 23:02:27] local.INFO: Processing buffer {"connection_id":46554,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7f3a88012d77a30005f2a4b0002000d52c..."} 
[2026-04-17 23:02:27] local.INFO: Packet analysis {"connection_id":46554,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7f"} 
[2026-04-17 23:02:27] local.INFO: Extracted packet for processing {"connection_id":46554,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7f"} 
[2026-04-17 23:02:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":32,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:02:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770374656001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:02:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 23:02:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 23:02:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:02:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776447077000,"timestamp_ms":1776447077000,"timestamp_seconds":1776447077,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7f3a88"} 
[2026-04-17 23:02:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:02:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23: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":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-17 23:02:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:02:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:02:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:02:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46554,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:02:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:02:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46554,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:02:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:02:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:02:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:02:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770374656001,"66":25147,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 23:02:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:02:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:02:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770374656001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:02:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 23:02:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 23:02:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:02:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 23:02:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770374656001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 23:02:27] local.INFO: DEBUG: GPS processor result {"connection_id":46554,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23546,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:02:27] local.INFO: GPS data processed {"connection_id":46554,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:02:27] local.INFO: Acknowledgment sent {"connection_id":46554,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:02:28] local.INFO: TCP Data received {"connection_id":46184,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 23:02:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 23:02:28] local.INFO: Processing buffer {"connection_id":46184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 23:02:28] local.INFO: Packet analysis {"connection_id":46184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 23:02:28] local.INFO: Extracted packet for processing {"connection_id":46184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 23:02:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:02:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770315776001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:02:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:02:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:02: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-04-17 23:02:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776446847000,"timestamp_ms":1776446847000,"timestamp_seconds":1776446847,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7bb818"} 
[2026-04-17 23:02:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:02:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:02: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-04-17 23: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-04-17 23:02:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:02:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:02:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:02:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:02:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:02:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:02:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:02:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:02:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770315776001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:02:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:02:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:02:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770315776001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:02:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:02:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:02:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:02:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:02:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770315776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:02:28] local.INFO: DEBUG: GPS processor result {"connection_id":46184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23547,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:02:28] local.INFO: GPS data processed {"connection_id":46184,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:02:28] local.INFO: Acknowledgment sent {"connection_id":46184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:02:49] local.INFO: TCP Data received {"connection_id":46555,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:02:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:02:49] local.INFO: Processing buffer {"connection_id":46555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:02:49] local.INFO: IMEI packet received {"connection_id":46555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:02:49] local.INFO: IMEI acknowledgment sent {"connection_id":46555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:02:55] local.INFO: TCP Data received {"connection_id":46555,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46555,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:02:55] local.INFO: Processing buffer {"connection_id":46555,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:02:55] local.INFO: IMEI packet received {"connection_id":46555,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:02:55] local.INFO: IMEI acknowledgment sent {"connection_id":46555,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:02:55] local.INFO: TCP Data received {"connection_id":46555,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7f3a88012d77a30005f2a4b0002000d52c..."} 
[2026-04-17 23:02:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7f3a88012d77a30005f2a4b0002000d52c..."} 
[2026-04-17 23:02:55] local.INFO: Processing buffer {"connection_id":46555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7f3a88012d77a30005f2a4b0002000d52c..."} 
[2026-04-17 23:02:55] local.INFO: Packet analysis {"connection_id":46555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7f"} 
[2026-04-17 23:02:55] local.INFO: Extracted packet for processing {"connection_id":46555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7f"} 
[2026-04-17 23:02:55] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":32,"angle":213,"satellites":44,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 23:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:02:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770374656001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:02:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 23:02:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 23:02:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:02:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776447077000,"timestamp_ms":1776447077000,"timestamp_seconds":1776447077,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7f3a88"} 
[2026-04-17 23:02:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:02:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:02:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":96,"n8_eight_byte":104,"data_length":795,"current_offset":136} 
[2026-04-17 23:02:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1614,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:02:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:02:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:02:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:02:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:02:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:02:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:02:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:02:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:02:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:02:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770374656001,"66":25147,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 23:02:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:02:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:02:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770374656001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:02:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 23:02:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 23:02:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:02:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 23:02:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770374656001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 23:02:56] local.INFO: DEBUG: GPS processor result {"connection_id":46555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23548,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:02:56] local.INFO: GPS data processed {"connection_id":46555,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:02:56] local.INFO: Acknowledgment sent {"connection_id":46555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:03:00] local.INFO: TCP Data received {"connection_id":46184,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 23:03:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46184,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 23:03:00] local.INFO: Processing buffer {"connection_id":46184,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c7bb818012d196500071ff090003a013b24..."} 
[2026-04-17 23:03:00] local.INFO: Packet analysis {"connection_id":46184,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 23:03:00] local.INFO: Extracted packet for processing {"connection_id":46184,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c7b"} 
[2026-04-17 23:03:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":36,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 23:03:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770315776001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:03:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:03:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:03: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-04-17 23:03:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776446847000,"timestamp_ms":1776446847000,"timestamp_seconds":1776446847,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c7bb818"} 
[2026-04-17 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-04-17 23:03:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14336,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:03: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-04-17 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-04-17 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-04-17 23:03:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:03:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46184,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:03:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:03:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46184,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:03:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:03:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:03:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:03:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770315776001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:03:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:03:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:03:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770315776001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:03:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:03:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:03:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:03:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:03:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770315776001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:03:00] local.INFO: DEBUG: GPS processor result {"connection_id":46184,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23549,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:03:00] local.INFO: GPS data processed {"connection_id":46184,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:03:00] local.INFO: Acknowledgment sent {"connection_id":46184,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:03:26] local.INFO: TCP Data received {"connection_id":47046,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:03:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:03:26] local.INFO: Processing buffer {"connection_id":47046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:03:26] local.INFO: IMEI packet received {"connection_id":47046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:03:26] local.INFO: IMEI acknowledgment sent {"connection_id":47046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:03:27] local.INFO: TCP Data received {"connection_id":46555,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c807308012d77a30005f2a4b0002000d52a..."} 
[2026-04-17 23:03:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46555,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c807308012d77a30005f2a4b0002000d52a..."} 
[2026-04-17 23:03:27] local.INFO: Processing buffer {"connection_id":46555,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c807308012d77a30005f2a4b0002000d52a..."} 
[2026-04-17 23:03:27] local.INFO: Packet analysis {"connection_id":46555,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:03:27] local.INFO: Extracted packet for processing {"connection_id":46555,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:03:27] local.INFO: GPS Element Parsed {"raw_longitude":762815232,"raw_latitude":99787952,"longitude_deg":76.2815232,"latitude_deg":9.9787952,"altitude":32,"angle":213,"satellites":42,"speed":0,"hex_longitude":"2d77a300","hex_latitude":"05f2a4b0","is_valid_coordinates":true} 
[2026-04-17 23:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":239,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:03:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770451712001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:03:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 23:03:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 23:03:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:03:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776447157000,"timestamp_ms":1776447157000,"timestamp_seconds":1776447157,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c807308"} 
[2026-04-17 23:03:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:03:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":19968,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:03:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 23:03:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1219,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:03:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:03:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:03:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:03:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46555,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:03:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:03:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46555,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:03:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:03:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:03:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:03:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770451712001,"66":25147,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 23:03:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:03:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:03:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770451712001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:03:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 23:03:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 23:03:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:03:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 23:03:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770451712001,"power":25147,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 23:03:27] local.INFO: DEBUG: GPS processor result {"connection_id":46555,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23550,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:03:27] local.INFO: GPS data processed {"connection_id":46555,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:03:27] local.INFO: Acknowledgment sent {"connection_id":46555,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:03:31] local.INFO: TCP Data received {"connection_id":47046,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:03:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47046,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:03:31] local.INFO: Processing buffer {"connection_id":47046,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:03:31] local.INFO: IMEI packet received {"connection_id":47046,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:03:31] local.INFO: IMEI acknowledgment sent {"connection_id":47046,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:03:32] local.INFO: TCP Data received {"connection_id":47046,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:03:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:03:32] local.INFO: Processing buffer {"connection_id":47046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:03:32] local.INFO: Packet analysis {"connection_id":47046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:03:32] local.INFO: Extracted packet for processing {"connection_id":47046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:03:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:03:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770392832001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:03:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:03:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:03:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:03:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776447148000,"timestamp_ms":1776447148000,"timestamp_seconds":1776447148,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c804fe0"} 
[2026-04-17 23:03:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:03:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:03:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:03:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:03:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:03:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:03:32] local.INFO: Teltonika packet parsed successfully {"connection_id":47046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:03:32] local.INFO: Passing IMEI to GPS processor {"connection_id":47046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:03:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":47046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:03:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:03:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:03:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:03:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770392832001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:03:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:03:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:03:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770392832001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:03:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:03:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:03:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:03:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:03:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770392832001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:03:32] local.INFO: DEBUG: GPS processor result {"connection_id":47046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23551,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:03:32] local.INFO: GPS data processed {"connection_id":47046,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:03:32] local.INFO: Acknowledgment sent {"connection_id":47046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:03:37] local.INFO: TCP Data received {"connection_id":47046,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:03:37] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47046,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:03:37] local.INFO: Processing buffer {"connection_id":47046,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:03:37] local.INFO: Packet analysis {"connection_id":47046,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:03:37] local.INFO: Extracted packet for processing {"connection_id":47046,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:03:37] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:03:37] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770392832001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:03:37] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:03:37] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:03: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-04-17 23:03:37] local.INFO: AVL Record Parsed {"raw_timestamp":1776447148000,"timestamp_ms":1776447148000,"timestamp_seconds":1776447148,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c804fe0"} 
[2026-04-17 23:03:37] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:03:37] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:03:37] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:03:37] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:03:37] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:03:37] local.INFO: Teltonika packet parsed successfully {"connection_id":47046,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:03:37] local.INFO: Passing IMEI to GPS processor {"connection_id":47046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:03:37] local.INFO: DEBUG: About to call GPS processor {"connection_id":47046,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:03:37] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:03:37] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:03:37] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:03:37] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770392832001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:03:37] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:03:37] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:03:37] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770392832001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:03:37] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:03:37] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:03:37] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:03:37] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:03:37] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770392832001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:03:37] local.INFO: DEBUG: GPS processor result {"connection_id":47046,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23552,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:03:37] local.INFO: GPS data processed {"connection_id":47046,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:03:37] local.INFO: Acknowledgment sent {"connection_id":47046,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:03:50] local.INFO: TCP Data received {"connection_id":46302,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:03:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:03:50] local.INFO: Processing buffer {"connection_id":46302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:03:50] local.INFO: IMEI packet received {"connection_id":46302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:03:50] local.INFO: IMEI acknowledgment sent {"connection_id":46302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:03:55] local.INFO: TCP Data received {"connection_id":46302,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:03:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46302,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:03:55] local.INFO: Processing buffer {"connection_id":46302,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:03:55] local.INFO: IMEI packet received {"connection_id":46302,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:03:55] local.INFO: IMEI acknowledgment sent {"connection_id":46302,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:03:56] local.INFO: TCP Data received {"connection_id":46302,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c808690012d77a2c005f2a560002000f82c..."} 
[2026-04-17 23:03:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c808690012d77a2c005f2a560002000f82c..."} 
[2026-04-17 23:03:56] local.INFO: Processing buffer {"connection_id":46302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c808690012d77a2c005f2a560002000f82c..."} 
[2026-04-17 23:03:56] local.INFO: Packet analysis {"connection_id":46302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:03:56] local.INFO: Extracted packet for processing {"connection_id":46302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:03:56] local.INFO: GPS Element Parsed {"raw_longitude":762815168,"raw_latitude":99788128,"longitude_deg":76.2815168,"latitude_deg":9.9788128,"altitude":32,"angle":248,"satellites":44,"speed":0,"hex_longitude":"2d77a2c0","hex_latitude":"05f2a560","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:03:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770472192001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:03:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 23:03:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620734137262977024,"note":"Value kept but may cause issues"} 
[2026-04-17 23:03:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:03:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776447162000,"timestamp_ms":1776447162000,"timestamp_seconds":1776447162,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c808690"} 
[2026-04-17 23:03:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:03:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23: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":98,"n8_eight_byte":59,"data_length":795,"current_offset":136} 
[2026-04-17 23:03:56] 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-04-17 23: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-04-17 23:03:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:03:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:03:56] local.INFO: Teltonika packet parsed successfully {"connection_id":46302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:03:56] local.INFO: Passing IMEI to GPS processor {"connection_id":46302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:03:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":46302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:03:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:03:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:03:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:03:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770472192001,"66":27604,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620734137262977024},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 23:03:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:03:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:03:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770472192001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:03:56] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 23:03:56] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 23:03:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:03:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620734137262977024,"description":"Unknown IO ID 45"} 
[2026-04-17 23:03:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770472192001,"power":27604,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620734137262977024}} 
[2026-04-17 23:03:56] local.INFO: DEBUG: GPS processor result {"connection_id":46302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23553,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:03:56] local.INFO: GPS data processed {"connection_id":46302,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:03:56] local.INFO: Acknowledgment sent {"connection_id":46302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:04:21] local.INFO: TCP Data received {"connection_id":46303,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:04:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:04:21] local.INFO: Processing buffer {"connection_id":46303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:04:21] local.INFO: IMEI packet received {"connection_id":46303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:04:21] local.INFO: IMEI acknowledgment sent {"connection_id":46303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:04:26] local.INFO: TCP Data received {"connection_id":46303,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:04:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46303,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:04:26] local.INFO: Processing buffer {"connection_id":46303,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:04:26] local.INFO: IMEI packet received {"connection_id":46303,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:04:26] local.INFO: IMEI acknowledgment sent {"connection_id":46303,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:04:27] local.INFO: TCP Data received {"connection_id":46302,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c80d898012d77a2c005f2a560002000f82a..."} 
[2026-04-17 23:04:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46302,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c80d898012d77a2c005f2a560002000f82a..."} 
[2026-04-17 23:04:27] local.INFO: Processing buffer {"connection_id":46302,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c80d898012d77a2c005f2a560002000f82a..."} 
[2026-04-17 23:04:27] local.INFO: Packet analysis {"connection_id":46302,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:04:27] local.INFO: Extracted packet for processing {"connection_id":46302,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:04:27] local.INFO: GPS Element Parsed {"raw_longitude":762815168,"raw_latitude":99788128,"longitude_deg":76.2815168,"latitude_deg":9.9788128,"altitude":32,"angle":248,"satellites":42,"speed":0,"hex_longitude":"2d77a2c0","hex_latitude":"05f2a560","is_valid_coordinates":true} 
[2026-04-17 23:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:04:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770473472001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:04:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274315240458420224,"note":"Value kept but may cause issues"} 
[2026-04-17 23:04:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8620663768518844416,"note":"Value kept but may cause issues"} 
[2026-04-17 23:04:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,133,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:04:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776447183000,"timestamp_ms":1776447183000,"timestamp_seconds":1776447183,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c80d898"} 
[2026-04-17 23:04:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:04: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-04-17 23:04:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":212,"data_length":795,"current_offset":136} 
[2026-04-17 23:04:27] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2641,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:04:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:04:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:04:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:04:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46302,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:04:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:04:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46302,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:04:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:04:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:04:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:04:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770473472001,"66":27213,"133":206,"9":24832,"24":0,"16":274315240458420224,"45":8620663768518844416},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,133,9,24,16,45]} 
[2026-04-17 23:04:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:04:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:04:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770473472001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:04:27] local.INFO: Unknown IO ID detected {"io_id":133,"value":206,"description":"Unknown IO ID 133"} 
[2026-04-17 23:04:27] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 23:04:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274315240458420224,"km_value":274315240458420.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:04:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8620663768518844416,"description":"Unknown IO ID 45"} 
[2026-04-17 23:04:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770473472001,"power":27213,"unknown_133":206,"unknown_9":24832,"ignition":0,"odometer":null,"unknown_45":8620663768518844416}} 
[2026-04-17 23:04:27] local.INFO: DEBUG: GPS processor result {"connection_id":46302,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23554,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:04:27] local.INFO: GPS data processed {"connection_id":46302,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:04:27] local.INFO: Acknowledgment sent {"connection_id":46302,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:04:28] local.INFO: TCP Data received {"connection_id":46303,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:04:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:04:28] local.INFO: Processing buffer {"connection_id":46303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:04:28] local.INFO: Packet analysis {"connection_id":46303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:04:28] local.INFO: Extracted packet for processing {"connection_id":46303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:04:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:04:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770392832001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:04:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:04:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:04: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-04-17 23:04:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776447148000,"timestamp_ms":1776447148000,"timestamp_seconds":1776447148,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c804fe0"} 
[2026-04-17 23:04:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:04:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:04: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-04-17 23: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-04-17 23:04:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:04:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:04:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:04:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:04:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:04:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:04:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:04:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:04:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770392832001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:04:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:04:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:04:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770392832001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:04:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:04:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:04:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:04:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:04:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770392832001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:04:28] local.INFO: DEBUG: GPS processor result {"connection_id":46303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23555,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:04:28] local.INFO: GPS data processed {"connection_id":46303,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:04:28] local.INFO: Acknowledgment sent {"connection_id":46303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:04:54] local.INFO: TCP Data received {"connection_id":46185,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:04:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46185,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:04:54] local.INFO: Processing buffer {"connection_id":46185,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:04:54] local.INFO: IMEI packet received {"connection_id":46185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:04:54] local.INFO: IMEI acknowledgment sent {"connection_id":46185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:04:59] local.INFO: TCP Data received {"connection_id":46303,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:04:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46303,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:04:59] local.INFO: Processing buffer {"connection_id":46303,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:04:59] local.INFO: Packet analysis {"connection_id":46303,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:04:59] local.INFO: Extracted packet for processing {"connection_id":46303,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:04:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:04:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770392832001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:04:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:04:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23: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-04-17 23:04:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776447148000,"timestamp_ms":1776447148000,"timestamp_seconds":1776447148,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c804fe0"} 
[2026-04-17 23:04:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:04:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:04:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:04:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:04:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:04:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:04:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:04:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46303,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:04:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:04:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46303,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:04:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:04:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:04:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:04:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770392832001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:04:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:04:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:04:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770392832001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:04:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:04:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:04:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:04:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:04:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770392832001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:04:59] local.INFO: DEBUG: GPS processor result {"connection_id":46303,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23556,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:04:59] local.INFO: GPS data processed {"connection_id":46303,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:04:59] local.INFO: Acknowledgment sent {"connection_id":46303,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:05:03] local.INFO: TCP Data received {"connection_id":46304,"ip":"42.106.6.38","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:05:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46304,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:05:03] local.INFO: Processing buffer {"connection_id":46304,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:05:03] local.INFO: IMEI packet received {"connection_id":46304,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:05:03] local.INFO: IMEI acknowledgment sent {"connection_id":46304,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:05:07] local.INFO: TCP Data received {"connection_id":46185,"ip":"117.224.132.221","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 23:05:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46185,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 23:05:07] local.INFO: Processing buffer {"connection_id":46185,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 23:05:07] local.INFO: IMEI packet received {"connection_id":46185,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:05:07] local.INFO: IMEI acknowledgment sent {"connection_id":46185,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:05:20] local.INFO: TCP Data received {"connection_id":46556,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:05:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:05:20] local.INFO: Processing buffer {"connection_id":46556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:05:20] local.INFO: IMEI packet received {"connection_id":46556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:05:20] local.INFO: IMEI acknowledgment sent {"connection_id":46556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:05:26] local.INFO: TCP Data received {"connection_id":46556,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:05:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46556,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:05:26] local.INFO: Processing buffer {"connection_id":46556,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:05:26] local.INFO: IMEI packet received {"connection_id":46556,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:05:26] local.INFO: IMEI acknowledgment sent {"connection_id":46556,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:05:27] local.INFO: TCP Data received {"connection_id":46556,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:05:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:05:27] local.INFO: Processing buffer {"connection_id":46556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:05:27] local.INFO: Packet analysis {"connection_id":46556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:05:27] local.INFO: Extracted packet for processing {"connection_id":46556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:05:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:05:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770392832001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:05:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:05:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:05: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-04-17 23:05:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776447148000,"timestamp_ms":1776447148000,"timestamp_seconds":1776447148,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c804fe0"} 
[2026-04-17 23:05:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:05:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:05:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:05: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-04-17 23:05:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:05:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:05:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:05:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:05:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:05:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:05:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:05:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:05:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:05:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770392832001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:05:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:05:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:05:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770392832001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:05:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:05:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:05:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:05:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:05:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770392832001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:05:27] local.INFO: DEBUG: GPS processor result {"connection_id":46556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23557,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:05:27] local.INFO: GPS data processed {"connection_id":46556,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:05:27] local.INFO: Acknowledgment sent {"connection_id":46556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:05:59] local.INFO: TCP Data received {"connection_id":46556,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:05:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46556,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:05:59] local.INFO: Processing buffer {"connection_id":46556,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:05:59] local.INFO: Packet analysis {"connection_id":46556,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:05:59] local.INFO: Extracted packet for processing {"connection_id":46556,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:05:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:05:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770392832001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:05:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:05:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:05: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-04-17 23:05:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776447148000,"timestamp_ms":1776447148000,"timestamp_seconds":1776447148,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c804fe0"} 
[2026-04-17 23:05:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:05:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:05:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:05: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-04-17 23:05:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:05:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:05:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:05:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46556,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:05:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:05:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46556,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:05:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:05:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:05:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:05:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770392832001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:05:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:05:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:05:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770392832001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:05:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:05:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:05:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:05:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:05:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770392832001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:05:59] local.INFO: DEBUG: GPS processor result {"connection_id":46556,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23558,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:05:59] local.INFO: GPS data processed {"connection_id":46556,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:05:59] local.INFO: Acknowledgment sent {"connection_id":46556,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:06:20] local.INFO: TCP Data received {"connection_id":46187,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:06:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:06:20] local.INFO: Processing buffer {"connection_id":46187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:06:20] local.INFO: IMEI packet received {"connection_id":46187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:06:20] local.INFO: IMEI acknowledgment sent {"connection_id":46187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:06:26] local.INFO: TCP Data received {"connection_id":46187,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:06:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46187,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:06:26] local.INFO: Processing buffer {"connection_id":46187,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:06:26] local.INFO: IMEI packet received {"connection_id":46187,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:06:26] local.INFO: IMEI acknowledgment sent {"connection_id":46187,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:06:28] local.INFO: TCP Data received {"connection_id":46187,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:06:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:06:28] local.INFO: Processing buffer {"connection_id":46187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:06:28] local.INFO: Packet analysis {"connection_id":46187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:06:28] local.INFO: Extracted packet for processing {"connection_id":46187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:06:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:06:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770392832001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:06:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:06:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:06: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-04-17 23:06:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776447148000,"timestamp_ms":1776447148000,"timestamp_seconds":1776447148,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c804fe0"} 
[2026-04-17 23:06:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:06:28] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:06: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-04-17 23: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-04-17 23:06:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:06:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:06:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:06:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:06:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:06:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:06:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:06:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:06:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770392832001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:06:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:06:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:06:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770392832001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:06:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:06:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:06:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:06:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:06:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770392832001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:06:28] local.INFO: DEBUG: GPS processor result {"connection_id":46187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23559,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:06:28] local.INFO: GPS data processed {"connection_id":46187,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:06:28] local.INFO: Acknowledgment sent {"connection_id":46187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:06:59] local.INFO: TCP Data received {"connection_id":46187,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:06:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46187,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:06:59] local.INFO: Processing buffer {"connection_id":46187,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:06:59] local.INFO: Packet analysis {"connection_id":46187,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:06:59] local.INFO: Extracted packet for processing {"connection_id":46187,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:06:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:06:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770392832001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:06:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:06:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23: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-04-17 23:06:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776447148000,"timestamp_ms":1776447148000,"timestamp_seconds":1776447148,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c804fe0"} 
[2026-04-17 23:06:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:06:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:06:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23: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-04-17 23:06:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:06:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:06:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:06:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46187,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:06:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:06:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46187,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:06:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:06:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:06:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:06:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770392832001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:06:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:06:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:06:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770392832001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:06:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:06:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:06:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:06:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:06:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770392832001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:06:59] local.INFO: DEBUG: GPS processor result {"connection_id":46187,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23560,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:06:59] local.INFO: GPS data processed {"connection_id":46187,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:06:59] local.INFO: Acknowledgment sent {"connection_id":46187,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:07:25] local.INFO: TCP Data received {"connection_id":46307,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:07:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:07:25] local.INFO: Processing buffer {"connection_id":46307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:07:25] local.INFO: IMEI packet received {"connection_id":46307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:07:25] local.INFO: IMEI acknowledgment sent {"connection_id":46307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:07:31] local.INFO: TCP Data received {"connection_id":46307,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:07:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46307,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:07:31] local.INFO: Processing buffer {"connection_id":46307,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:07:31] local.INFO: IMEI packet received {"connection_id":46307,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:07:31] local.INFO: IMEI acknowledgment sent {"connection_id":46307,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:07:32] local.INFO: TCP Data received {"connection_id":46307,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:07:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:07:32] local.INFO: Processing buffer {"connection_id":46307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:07:32] local.INFO: Packet analysis {"connection_id":46307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:07:32] local.INFO: Extracted packet for processing {"connection_id":46307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:07:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:07:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770392832001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:07:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:07:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:07:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:07:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776447148000,"timestamp_ms":1776447148000,"timestamp_seconds":1776447148,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c804fe0"} 
[2026-04-17 23:07:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:07:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:07:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:07:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:07:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:07:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:07:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:07:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:07:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:07:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:07:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:07:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:07:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770392832001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:07:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:07:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:07:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770392832001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:07:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:07:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:07:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:07:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:07:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770392832001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:07:32] local.INFO: DEBUG: GPS processor result {"connection_id":46307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23561,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:07:32] local.INFO: GPS data processed {"connection_id":46307,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:07:32] local.INFO: Acknowledgment sent {"connection_id":46307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:07:36] local.INFO: TCP Data received {"connection_id":46307,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:07:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46307,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:07:36] local.INFO: Processing buffer {"connection_id":46307,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c804fe0012d196500071ff090003a013b2a..."} 
[2026-04-17 23:07:36] local.INFO: Packet analysis {"connection_id":46307,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:07:36] local.INFO: Extracted packet for processing {"connection_id":46307,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c80"} 
[2026-04-17 23:07:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:07:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770392832001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:07:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:07:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:07:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:07:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776447148000,"timestamp_ms":1776447148000,"timestamp_seconds":1776447148,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c804fe0"} 
[2026-04-17 23:07:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:07:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":14080,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:07:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:07:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:07:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:07:36] local.INFO: Teltonika packet parsed successfully {"connection_id":46307,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:07:36] local.INFO: Passing IMEI to GPS processor {"connection_id":46307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:07:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":46307,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:07:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:07:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:07:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:07:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770392832001,"66":2155,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:07:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:07:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:07:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770392832001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:07:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:07:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:07:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:07:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:07:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770392832001,"power":2155,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:07:37] local.INFO: DEBUG: GPS processor result {"connection_id":46307,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23562,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:07:37] local.INFO: GPS data processed {"connection_id":46307,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:07:37] local.INFO: Acknowledgment sent {"connection_id":46307,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:08:21] local.INFO: TCP Data received {"connection_id":46309,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:08:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:08:21] local.INFO: Processing buffer {"connection_id":46309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:08:21] local.INFO: IMEI packet received {"connection_id":46309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:08:21] local.INFO: IMEI acknowledgment sent {"connection_id":46309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:08:26] local.INFO: TCP Data received {"connection_id":46309,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:08:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46309,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:08:26] local.INFO: Processing buffer {"connection_id":46309,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:08:26] local.INFO: IMEI packet received {"connection_id":46309,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:08:26] local.INFO: IMEI acknowledgment sent {"connection_id":46309,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:08:28] local.INFO: TCP Data received {"connection_id":46309,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:08:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:08:28] local.INFO: Processing buffer {"connection_id":46309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:08:28] local.INFO: Packet analysis {"connection_id":46309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:08:28] local.INFO: Extracted packet for processing {"connection_id":46309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:08:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:08:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770469888001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:08:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:08:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23: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-04-17 23:08:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776447449000,"timestamp_ms":1776447449000,"timestamp_seconds":1776447449,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c84e7a8"} 
[2026-04-17 23:08:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:08:28] 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-04-17 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 23:08: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-04-17 23: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-04-17 23:08:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:08:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:08:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:08:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:08:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:08:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:08:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:08:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:08:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770469888001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:08:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:08:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:08:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770469888001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:08:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:08:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:08:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:08:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:08:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770469888001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:08:28] local.INFO: DEBUG: GPS processor result {"connection_id":46309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23563,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:08:28] local.INFO: GPS data processed {"connection_id":46309,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:08:28] local.INFO: Acknowledgment sent {"connection_id":46309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:09:00] local.INFO: TCP Data received {"connection_id":46309,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:09:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46309,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:09:00] local.INFO: Processing buffer {"connection_id":46309,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:09:00] local.INFO: Packet analysis {"connection_id":46309,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:09:00] local.INFO: Extracted packet for processing {"connection_id":46309,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:09:00] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:09:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770469888001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:09:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:09:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:09: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-04-17 23:09:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776447449000,"timestamp_ms":1776447449000,"timestamp_seconds":1776447449,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c84e7a8"} 
[2026-04-17 23:09:00] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:09:00] 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-04-17 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 23:09: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-04-17 23: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-04-17 23:09:00] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:09:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:09:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46309,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:09:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:09:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46309,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:09:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:09:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:09:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:09:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770469888001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:09:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:09:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:09:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770469888001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:09:00] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:09:00] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:09:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:09:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:09:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770469888001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:09:00] local.INFO: DEBUG: GPS processor result {"connection_id":46309,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23564,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:09:00] local.INFO: GPS data processed {"connection_id":46309,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:09:00] local.INFO: Acknowledgment sent {"connection_id":46309,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:09:20] local.INFO: TCP Data received {"connection_id":46190,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:09:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:09:20] local.INFO: Processing buffer {"connection_id":46190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:09:20] local.INFO: IMEI packet received {"connection_id":46190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:09:20] local.INFO: IMEI acknowledgment sent {"connection_id":46190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:09:26] local.INFO: TCP Data received {"connection_id":46190,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:09:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46190,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:09:26] local.INFO: Processing buffer {"connection_id":46190,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:09:26] local.INFO: IMEI packet received {"connection_id":46190,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:09:26] local.INFO: IMEI acknowledgment sent {"connection_id":46190,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:09:28] local.INFO: TCP Data received {"connection_id":46190,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:09:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:09:28] local.INFO: Processing buffer {"connection_id":46190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:09:28] local.INFO: Packet analysis {"connection_id":46190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:09:28] local.INFO: Extracted packet for processing {"connection_id":46190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:09:28] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:09:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770469888001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:09:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:09:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:09: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-04-17 23:09:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776447449000,"timestamp_ms":1776447449000,"timestamp_seconds":1776447449,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c84e7a8"} 
[2026-04-17 23:09:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:09:28] 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-04-17 23: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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 23:09: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-04-17 23: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-04-17 23:09:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:09:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:09:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:09:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:09:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:09:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:09:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:09:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:09:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770469888001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:09:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:09:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:09:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770469888001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:09:28] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:09:28] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:09:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:09:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:09:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770469888001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:09:28] local.INFO: DEBUG: GPS processor result {"connection_id":46190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23565,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:09:28] local.INFO: GPS data processed {"connection_id":46190,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:09:28] local.INFO: Acknowledgment sent {"connection_id":46190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:09:59] local.INFO: TCP Data received {"connection_id":46190,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:09:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46190,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:09:59] local.INFO: Processing buffer {"connection_id":46190,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:09:59] local.INFO: Packet analysis {"connection_id":46190,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:09:59] local.INFO: Extracted packet for processing {"connection_id":46190,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:09:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:09:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770469888001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:09:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:09:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:09: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-04-17 23:09:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776447449000,"timestamp_ms":1776447449000,"timestamp_seconds":1776447449,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c84e7a8"} 
[2026-04-17 23:09:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:09:59] 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-04-17 23:09:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 23:09:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:09:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:09:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:09:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:09:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46190,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:09:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:09:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46190,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:09:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:09:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:09:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:09:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770469888001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:09:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:09:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:09:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770469888001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:09:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:09:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:09:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:09:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:09:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770469888001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:10:00] local.INFO: DEBUG: GPS processor result {"connection_id":46190,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23566,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:10:00] local.INFO: GPS data processed {"connection_id":46190,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:10:00] local.INFO: Acknowledgment sent {"connection_id":46190,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:10:10] local.INFO: TCP Data received {"connection_id":46558,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:10:10] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46558,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:10:10] local.INFO: Processing buffer {"connection_id":46558,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:10:10] local.INFO: IMEI packet received {"connection_id":46558,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:10:10] local.INFO: IMEI acknowledgment sent {"connection_id":46558,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:10:11] local.INFO: TCP Data received {"connection_id":46558,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c854d38012d78ae0005f490800009003423..."} 
[2026-04-17 23:10:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46558,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c854d38012d78ae0005f490800009003423..."} 
[2026-04-17 23:10:11] local.INFO: Processing buffer {"connection_id":46558,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c854d38012d78ae0005f490800009003423..."} 
[2026-04-17 23:10:11] local.INFO: Packet analysis {"connection_id":46558,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c85"} 
[2026-04-17 23:10:11] local.INFO: Extracted packet for processing {"connection_id":46558,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c85"} 
[2026-04-17 23:10:11] local.INFO: GPS Element Parsed {"raw_longitude":762883584,"raw_latitude":99913856,"longitude_deg":76.2883584,"latitude_deg":9.9913856,"altitude":9,"angle":52,"satellites":35,"speed":37,"hex_longitude":"2d78ae00","hex_latitude":"05f49080","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:10:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770551040001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:10:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274323572694974464,"note":"Value kept but may cause issues"} 
[2026-04-17 23:10:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8687514075518296064,"note":"Value kept but may cause issues"} 
[2026-04-17 23:10:11] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,53,9,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:10:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776447475000,"timestamp_ms":1776447475000,"timestamp_seconds":1776447475,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c854d38"} 
[2026-04-17 23:10:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:10: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-04-17 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-17 23:10:11] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1709,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:10:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:10:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:10:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46558,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:10:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:10:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46558,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:10:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:10:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:10:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:10:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770551040001,"66":26789,"53":206,"9":24832,"24":37,"16":274323572694974464,"45":8687514075518296064},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,53,9,24,16,45]} 
[2026-04-17 23:10:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:10:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:10:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770551040001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:10:11] local.INFO: Unknown IO ID detected {"io_id":53,"value":206,"description":"Unknown IO ID 53"} 
[2026-04-17 23:10:11] local.INFO: Unknown IO ID detected {"io_id":9,"value":24832,"description":"Unknown IO ID 9"} 
[2026-04-17 23:10:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274323572694974464,"km_value":274323572694974.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:10:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8687514075518296064,"description":"Unknown IO ID 45"} 
[2026-04-17 23:10:11] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770551040001,"power":26789,"unknown_53":206,"unknown_9":24832,"ignition":37,"odometer":null,"unknown_45":8687514075518296064}} 
[2026-04-17 23:10:12] local.INFO: DEBUG: GPS processor result {"connection_id":46558,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23567,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:10:12] local.INFO: GPS data processed {"connection_id":46558,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:10:12] local.INFO: Acknowledgment sent {"connection_id":46558,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:10:20] local.INFO: TCP Data received {"connection_id":46312,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:10:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:10:20] local.INFO: Processing buffer {"connection_id":46312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:10:20] local.INFO: IMEI packet received {"connection_id":46312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:10:20] local.INFO: IMEI acknowledgment sent {"connection_id":46312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:10:26] local.INFO: TCP Data received {"connection_id":46312,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:10:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46312,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:10:26] local.INFO: Processing buffer {"connection_id":46312,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:10:26] local.INFO: IMEI packet received {"connection_id":46312,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:10:26] local.INFO: IMEI acknowledgment sent {"connection_id":46312,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:10:27] local.INFO: TCP Data received {"connection_id":46312,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:10:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:10:27] local.INFO: Processing buffer {"connection_id":46312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:10:27] local.INFO: Packet analysis {"connection_id":46312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:10:27] local.INFO: Extracted packet for processing {"connection_id":46312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:10:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:10:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770469888001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:10:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:10:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:10: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-04-17 23:10:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776447449000,"timestamp_ms":1776447449000,"timestamp_seconds":1776447449,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c84e7a8"} 
[2026-04-17 23:10:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:10:27] 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-04-17 23:10:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 23:10: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-04-17 23:10:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:10:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:10:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:10:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:10:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:10:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:10:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:10:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:10:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:10:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770469888001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:10:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:10:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:10:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770469888001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:10:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:10:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:10:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:10:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:10:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770469888001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:10:28] local.INFO: DEBUG: GPS processor result {"connection_id":46312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23568,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:10:28] local.INFO: GPS data processed {"connection_id":46312,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:10:28] local.INFO: Acknowledgment sent {"connection_id":46312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:10:34] local.INFO: TCP Data received {"connection_id":46311,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:10:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46311,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:10:34] local.INFO: Processing buffer {"connection_id":46311,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:10:34] local.INFO: IMEI packet received {"connection_id":46311,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:10:34] local.INFO: IMEI acknowledgment sent {"connection_id":46311,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:10:59] local.INFO: TCP Data received {"connection_id":46312,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:10:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46312,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:10:59] local.INFO: Processing buffer {"connection_id":46312,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:10:59] local.INFO: Packet analysis {"connection_id":46312,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:10:59] local.INFO: Extracted packet for processing {"connection_id":46312,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:10:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:10:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770469888001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:10:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:10:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:10: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-04-17 23:10:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776447449000,"timestamp_ms":1776447449000,"timestamp_seconds":1776447449,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c84e7a8"} 
[2026-04-17 23:10:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:10:59] 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-04-17 23:10:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 23:10:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:10:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:10:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:10:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:10:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46312,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:10:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:10:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46312,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:10:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:10:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:10:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:10:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770469888001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:10:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:10:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:10:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770469888001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:10:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:10:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:10:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:10:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:10:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770469888001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:10:59] local.INFO: DEBUG: GPS processor result {"connection_id":46312,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23569,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:10:59] local.INFO: GPS data processed {"connection_id":46312,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:10:59] local.INFO: Acknowledgment sent {"connection_id":46312,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:11:04] local.INFO: TCP Data received {"connection_id":47048,"ip":"42.106.6.18","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:11:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47048,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:11:04] local.INFO: Processing buffer {"connection_id":47048,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:11:04] local.INFO: IMEI packet received {"connection_id":47048,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:11:04] local.INFO: IMEI acknowledgment sent {"connection_id":47048,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:11:27] local.INFO: TCP Data received {"connection_id":46559,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:11:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:11:27] local.INFO: Processing buffer {"connection_id":46559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:11:27] local.INFO: IMEI packet received {"connection_id":46559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:11:27] local.INFO: IMEI acknowledgment sent {"connection_id":46559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:11:31] local.INFO: TCP Data received {"connection_id":46559,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:11:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46559,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:11:31] local.INFO: Processing buffer {"connection_id":46559,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:11:31] local.INFO: IMEI packet received {"connection_id":46559,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:11:31] local.INFO: IMEI acknowledgment sent {"connection_id":46559,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:11:32] local.INFO: TCP Data received {"connection_id":46559,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:11:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:11:32] local.INFO: Processing buffer {"connection_id":46559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:11:32] local.INFO: Packet analysis {"connection_id":46559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:11:32] local.INFO: Extracted packet for processing {"connection_id":46559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:11:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:11:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770469888001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:11:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:11:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:11:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:11:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776447449000,"timestamp_ms":1776447449000,"timestamp_seconds":1776447449,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c84e7a8"} 
[2026-04-17 23:11:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:11:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":13568,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:11:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 23:11:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:11:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:11:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:11:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:11:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:11:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:11:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:11:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:11:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:11:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770469888001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:11:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:11:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:11:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770469888001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:11:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:11:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:11:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:11:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:11:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770469888001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:11:32] local.INFO: DEBUG: GPS processor result {"connection_id":46559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23570,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:11:32] local.INFO: GPS data processed {"connection_id":46559,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:11:32] local.INFO: Acknowledgment sent {"connection_id":46559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:11:36] local.INFO: TCP Data received {"connection_id":46559,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:11:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46559,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:11:36] local.INFO: Processing buffer {"connection_id":46559,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:11:36] local.INFO: Packet analysis {"connection_id":46559,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:11:36] local.INFO: Extracted packet for processing {"connection_id":46559,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:11:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 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-04-17 23:11:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770469888001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:11:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:11:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:11:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:11:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776447449000,"timestamp_ms":1776447449000,"timestamp_seconds":1776447449,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c84e7a8"} 
[2026-04-17 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-04-17 23:11:36] 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-04-17 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":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 23:11:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 23:11:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:11:36] local.INFO: Teltonika packet parsed successfully {"connection_id":46559,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:11:36] local.INFO: Passing IMEI to GPS processor {"connection_id":46559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:11:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":46559,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:11:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:11:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:11:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:11:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770469888001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:11:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:11:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:11:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770469888001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:11:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:11:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:11:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:11:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:11:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770469888001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:11:37] local.INFO: DEBUG: GPS processor result {"connection_id":46559,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23571,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:11:37] local.INFO: GPS data processed {"connection_id":46559,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:11:37] local.INFO: Acknowledgment sent {"connection_id":46559,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:11:54] local.INFO: TCP Data received {"connection_id":47049,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:11:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:11:54] local.INFO: Processing buffer {"connection_id":47049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:11:54] local.INFO: IMEI packet received {"connection_id":47049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:11:54] local.INFO: IMEI acknowledgment sent {"connection_id":47049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:11:56] local.INFO: TCP Data received {"connection_id":47049,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:11:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:11:56] local.INFO: Processing buffer {"connection_id":47049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:11:56] local.INFO: IMEI packet received {"connection_id":47049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:11:56] local.INFO: IMEI acknowledgment sent {"connection_id":47049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:12:00] local.INFO: TCP Data received {"connection_id":47049,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:12:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47049,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:12:00] local.INFO: Processing buffer {"connection_id":47049,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:12:00] local.INFO: IMEI packet received {"connection_id":47049,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:12:00] local.INFO: IMEI acknowledgment sent {"connection_id":47049,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:12:04] local.INFO: TCP Data received {"connection_id":47049,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c879ef8012d79a84005f56c50000e003729..."} 
[2026-04-17 23:12:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47049,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c879ef8012d79a84005f56c50000e003729..."} 
[2026-04-17 23:12:04] local.INFO: Processing buffer {"connection_id":47049,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c879ef8012d79a84005f56c50000e003729..."} 
[2026-04-17 23:12:04] local.INFO: Packet analysis {"connection_id":47049,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c87"} 
[2026-04-17 23:12:04] local.INFO: Extracted packet for processing {"connection_id":47049,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c87"} 
[2026-04-17 23:12:04] local.INFO: GPS Element Parsed {"raw_longitude":762947648,"raw_latitude":99970128,"longitude_deg":76.2947648,"latitude_deg":9.9970128,"altitude":14,"angle":55,"satellites":41,"speed":33,"hex_longitude":"2d79a840","hex_latitude":"05f56c50","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:12:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770589952001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:12:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274327708748480512,"note":"Value kept but may cause issues"} 
[2026-04-17 23:12:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8757671713477869568,"note":"Value kept but may cause issues"} 
[2026-04-17 23:12:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:12:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776447627000,"timestamp_ms":1776447627000,"timestamp_seconds":1776447627,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c879ef8"} 
[2026-04-17 23:12:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:12:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 23:12: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-04-17 23: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-04-17 23:12:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:12:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:12:04] local.INFO: Teltonika packet parsed successfully {"connection_id":47049,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:12:04] local.INFO: Passing IMEI to GPS processor {"connection_id":47049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:12:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":47049,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:12:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:12:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:12:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:12:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770589952001,"66":27332,"203":206,"8":64768,"24":33,"16":274327708748480512,"45":8757671713477869568},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,8,24,16,45]} 
[2026-04-17 23:12:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:12:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:12:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770589952001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:12:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-04-17 23:12:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274327708748480512,"km_value":274327708748480.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:12:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8757671713477869568,"description":"Unknown IO ID 45"} 
[2026-04-17 23:12:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770589952001,"power":27332,"mnc":206,"unknown_8":64768,"ignition":33,"odometer":null,"unknown_45":8757671713477869568}} 
[2026-04-17 23:12:04] local.INFO: DEBUG: GPS processor result {"connection_id":47049,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23572,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:12:04] local.INFO: GPS data processed {"connection_id":47049,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:12:04] local.INFO: Acknowledgment sent {"connection_id":47049,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:12:21] local.INFO: TCP Data received {"connection_id":46192,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:12:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:12:21] local.INFO: Processing buffer {"connection_id":46192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:12:21] local.INFO: IMEI packet received {"connection_id":46192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:12:21] local.INFO: IMEI acknowledgment sent {"connection_id":46192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:12:26] local.INFO: TCP Data received {"connection_id":46192,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:12:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46192,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:12:26] local.INFO: Processing buffer {"connection_id":46192,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:12:26] local.INFO: IMEI packet received {"connection_id":46192,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:12:26] local.INFO: IMEI acknowledgment sent {"connection_id":46192,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:12:27] local.INFO: TCP Data received {"connection_id":46192,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:12:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:12:27] local.INFO: Processing buffer {"connection_id":46192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:12:27] local.INFO: Packet analysis {"connection_id":46192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:12:27] local.INFO: Extracted packet for processing {"connection_id":46192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:12:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:12:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770469888001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:12:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:12:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:12: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-04-17 23:12:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776447449000,"timestamp_ms":1776447449000,"timestamp_seconds":1776447449,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c84e7a8"} 
[2026-04-17 23:12:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:12:27] 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-04-17 23:12:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 23:12: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-04-17 23:12:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:12:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:12:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:12:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:12:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:12:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:12:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:12:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:12:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:12:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770469888001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:12:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:12:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:12:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770469888001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:12:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:12:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:12:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:12:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:12:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770469888001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:12:27] local.INFO: DEBUG: GPS processor result {"connection_id":46192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23573,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:12:27] local.INFO: GPS data processed {"connection_id":46192,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:12:27] local.INFO: Acknowledgment sent {"connection_id":46192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:12:49] local.INFO: TCP Data received {"connection_id":47050,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:12:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:12:49] local.INFO: Processing buffer {"connection_id":47050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:12:49] local.INFO: IMEI packet received {"connection_id":47050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:12:49] local.INFO: IMEI acknowledgment sent {"connection_id":47050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:12:55] local.INFO: TCP Data received {"connection_id":47050,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:12:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47050,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:12:55] local.INFO: Processing buffer {"connection_id":47050,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:12:55] local.INFO: IMEI packet received {"connection_id":47050,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:12:55] local.INFO: IMEI acknowledgment sent {"connection_id":47050,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:12:57] local.INFO: TCP Data received {"connection_id":47050,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c87cdd8012d79c54005f582f8000c003324..."} 
[2026-04-17 23:12:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c87cdd8012d79c54005f582f8000c003324..."} 
[2026-04-17 23:12:57] local.INFO: Processing buffer {"connection_id":47050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c87cdd8012d79c54005f582f8000c003324..."} 
[2026-04-17 23:12:57] local.INFO: Packet analysis {"connection_id":47050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c87"} 
[2026-04-17 23:12:57] local.INFO: Extracted packet for processing {"connection_id":47050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c87"} 
[2026-04-17 23:12:57] local.INFO: GPS Element Parsed {"raw_longitude":762955072,"raw_latitude":99975928,"longitude_deg":76.2955072,"latitude_deg":9.9975928,"altitude":12,"angle":51,"satellites":36,"speed":32,"hex_longitude":"2d79c540","hex_latitude":"05f582f8","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:12:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770592512001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:12:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274328164015013888,"note":"Value kept but may cause issues"} 
[2026-04-17 23:12:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8766327069013200896,"note":"Value kept but may cause issues"} 
[2026-04-17 23:12:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:12:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776447639000,"timestamp_ms":1776447639000,"timestamp_seconds":1776447639,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c87cdd8"} 
[2026-04-17 23:12:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:12:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23: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":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 23:12:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:12:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:12:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:12:57] local.INFO: Teltonika packet parsed successfully {"connection_id":47050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:12:57] local.INFO: Passing IMEI to GPS processor {"connection_id":47050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:12:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":47050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:12:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:12:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:12:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:12:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770592512001,"66":27484,"203":206,"8":64768,"24":32,"16":274328164015013888,"45":8766327069013200896},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,8,24,16,45]} 
[2026-04-17 23:12:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:12:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:12:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770592512001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:12:57] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-04-17 23:12:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274328164015013888,"km_value":274328164015013.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:12:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8766327069013200896,"description":"Unknown IO ID 45"} 
[2026-04-17 23:12:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770592512001,"power":27484,"mnc":206,"unknown_8":64768,"ignition":32,"odometer":null,"unknown_45":8766327069013200896}} 
[2026-04-17 23:12:57] local.INFO: DEBUG: GPS processor result {"connection_id":47050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23574,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:12:57] local.INFO: GPS data processed {"connection_id":47050,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:12:57] local.INFO: Acknowledgment sent {"connection_id":47050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:13:04] local.INFO: TCP Data received {"connection_id":46192,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:13:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46192,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:13:04] local.INFO: Processing buffer {"connection_id":46192,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c84e7a8012d196500071ff090003a013b2b..."} 
[2026-04-17 23:13:04] local.INFO: Packet analysis {"connection_id":46192,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:13:04] local.INFO: Extracted packet for processing {"connection_id":46192,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c84"} 
[2026-04-17 23:13:04] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:13:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770469888001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:13:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:13:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:13:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:13:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776447449000,"timestamp_ms":1776447449000,"timestamp_seconds":1776447449,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c84e7a8"} 
[2026-04-17 23:13:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:13:04] 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-04-17 23:13:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":107,"data_length":795,"current_offset":136} 
[2026-04-17 23:13:04] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1201,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:13:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:13:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:13:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46192,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:13:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:13:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46192,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:13:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:13:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:13:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:13:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770469888001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:13:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:13:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:13:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770469888001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:13:04] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:13:04] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:13:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:13:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:13:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770469888001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:13:04] local.INFO: DEBUG: GPS processor result {"connection_id":46192,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23575,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:13:04] local.INFO: GPS data processed {"connection_id":46192,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:13:04] local.INFO: Acknowledgment sent {"connection_id":46192,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:13:21] local.INFO: TCP Data received {"connection_id":46314,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:13:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:13:21] local.INFO: Processing buffer {"connection_id":46314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:13:21] local.INFO: IMEI packet received {"connection_id":46314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:13:21] local.INFO: IMEI acknowledgment sent {"connection_id":46314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:13:26] local.INFO: TCP Data received {"connection_id":46314,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:13:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46314,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:13:26] local.INFO: Processing buffer {"connection_id":46314,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:13:26] local.INFO: IMEI packet received {"connection_id":46314,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:13:26] local.INFO: IMEI acknowledgment sent {"connection_id":46314,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:13:27] local.INFO: TCP Data received {"connection_id":46314,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:13:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:13:27] local.INFO: Processing buffer {"connection_id":46314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:13:27] local.INFO: Packet analysis {"connection_id":46314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:13:27] local.INFO: Extracted packet for processing {"connection_id":46314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:13:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:13:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770546944001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:13:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:13:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23: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-04-17 23:13:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776447750000,"timestamp_ms":1776447750000,"timestamp_seconds":1776447750,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c897f70"} 
[2026-04-17 23:13:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:13:27] 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-04-17 23: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":96,"data_length":795,"current_offset":136} 
[2026-04-17 23:13:27] 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-04-17 23: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-04-17 23:13:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:13:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:13:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:13:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:13:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:13:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:13:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:13:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:13:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770546944001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:13:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:13:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:13:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770546944001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:13:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:13:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:13:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:13:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:13:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770546944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:13:27] local.INFO: DEBUG: GPS processor result {"connection_id":46314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23576,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:13:27] local.INFO: GPS data processed {"connection_id":46314,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:13:27] local.INFO: Acknowledgment sent {"connection_id":46314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:13:57] local.INFO: TCP Data received {"connection_id":47050,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c87f4e8012d79e38005f59a88001400302a..."} 
[2026-04-17 23:13:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47050,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c87f4e8012d79e38005f59a88001400302a..."} 
[2026-04-17 23:13:57] local.INFO: Processing buffer {"connection_id":47050,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c87f4e8012d79e38005f59a88001400302a..."} 
[2026-04-17 23:13:57] local.INFO: Packet analysis {"connection_id":47050,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c87"} 
[2026-04-17 23:13:57] local.INFO: Extracted packet for processing {"connection_id":47050,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c87"} 
[2026-04-17 23:13:57] local.INFO: GPS Element Parsed {"raw_longitude":762962816,"raw_latitude":99981960,"longitude_deg":76.2962816,"latitude_deg":9.998196,"altitude":20,"angle":48,"satellites":42,"speed":41,"hex_longitude":"2d79e380","hex_latitude":"05f59a88","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:13:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770595584001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:13:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274328632166449152,"note":"Value kept but may cause issues"} 
[2026-04-17 23:13:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8774489843339294720,"note":"Value kept but may cause issues"} 
[2026-04-17 23:13:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,203,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:13:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776447649000,"timestamp_ms":1776447649000,"timestamp_seconds":1776447649,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c87f4e8"} 
[2026-04-17 23:13:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:13:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 23:13:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:13:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:13:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:13:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:13:57] local.INFO: Teltonika packet parsed successfully {"connection_id":47050,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:13:57] local.INFO: Passing IMEI to GPS processor {"connection_id":47050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:13:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":47050,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:13:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:13:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:13:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:13:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770595584001,"66":27517,"203":206,"8":64768,"24":41,"16":274328632166449152,"45":8774489843339294720},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,203,8,24,16,45]} 
[2026-04-17 23:13:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:13:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:13:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770595584001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:13:57] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-04-17 23:13:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274328632166449152,"km_value":274328632166449.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:13:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8774489843339294720,"description":"Unknown IO ID 45"} 
[2026-04-17 23:13:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770595584001,"power":27517,"mnc":206,"unknown_8":64768,"ignition":41,"odometer":null,"unknown_45":8774489843339294720}} 
[2026-04-17 23:13:57] local.INFO: DEBUG: GPS processor result {"connection_id":47050,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23577,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:13:57] local.INFO: GPS data processed {"connection_id":47050,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:13:57] local.INFO: Acknowledgment sent {"connection_id":47050,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:13:59] local.INFO: TCP Data received {"connection_id":46314,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46314,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:13:59] local.INFO: Processing buffer {"connection_id":46314,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:13:59] local.INFO: Packet analysis {"connection_id":46314,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:13:59] local.INFO: Extracted packet for processing {"connection_id":46314,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:13:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:13:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770546944001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:13:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:13:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:13: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-04-17 23:13:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776447750000,"timestamp_ms":1776447750000,"timestamp_seconds":1776447750,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c897f70"} 
[2026-04-17 23:13:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:13:59] 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-04-17 23:13:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 23:13:59] 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-04-17 23:13:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:13:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:13:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:13:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46314,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:13:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:13:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46314,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:13:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:13:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:13:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:13:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770546944001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:13:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:13:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:13:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770546944001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:13:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:13:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:13:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:13:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:13:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770546944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:13:59] local.INFO: DEBUG: GPS processor result {"connection_id":46314,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23578,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:13:59] local.INFO: GPS data processed {"connection_id":46314,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:13:59] local.INFO: Acknowledgment sent {"connection_id":46314,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:13:59] local.INFO: TCP Data received {"connection_id":46560,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:13:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:13:59] local.INFO: Processing buffer {"connection_id":46560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:13:59] local.INFO: IMEI packet received {"connection_id":46560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:13:59] local.INFO: IMEI acknowledgment sent {"connection_id":46560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:14:04] local.INFO: TCP Data received {"connection_id":46560,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:14:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46560,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:14:04] local.INFO: Processing buffer {"connection_id":46560,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:14:04] local.INFO: IMEI packet received {"connection_id":46560,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:14:04] local.INFO: IMEI acknowledgment sent {"connection_id":46560,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:14:05] local.INFO: TCP Data received {"connection_id":46560,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c89bdf0012d7b08c005f63568000d002d28..."} 
[2026-04-17 23:14:05] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46560,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c89bdf0012d7b08c005f63568000d002d28..."} 
[2026-04-17 23:14:05] local.INFO: Processing buffer {"connection_id":46560,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c89bdf0012d7b08c005f63568000d002d28..."} 
[2026-04-17 23:14:05] local.INFO: Packet analysis {"connection_id":46560,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:14:05] local.INFO: Extracted packet for processing {"connection_id":46560,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:14:05] local.INFO: GPS Element Parsed {"raw_longitude":763037888,"raw_latitude":100021608,"longitude_deg":76.3037888,"latitude_deg":10.0021608,"altitude":13,"angle":45,"satellites":40,"speed":36,"hex_longitude":"2d7b08c0","hex_latitude":"05f63568","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:14:05] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770627072001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:14:05] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274332789694791680,"note":"Value kept but may cause issues"} 
[2026-04-17 23:14:05] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8862591511060850688,"note":"Value kept but may cause issues"} 
[2026-04-17 23:14:05] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,64,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:14:05] local.INFO: AVL Record Parsed {"raw_timestamp":1776447766000,"timestamp_ms":1776447766000,"timestamp_seconds":1776447766,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c89bdf0"} 
[2026-04-17 23:14:05] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:14: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-04-17 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 23:14: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-04-17 23: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-04-17 23:14:05] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:14:05] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:14:05] local.INFO: Teltonika packet parsed successfully {"connection_id":46560,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:14:05] local.INFO: Passing IMEI to GPS processor {"connection_id":46560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:14:05] local.INFO: DEBUG: About to call GPS processor {"connection_id":46560,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:14:05] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:14:05] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:14:05] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:14:05] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770627072001,"66":27463,"64":206,"8":64768,"24":36,"16":274332789694791680,"45":8862591511060850688},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,64,8,24,16,45]} 
[2026-04-17 23:14:05] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:14:05] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:14:05] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770627072001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:14:05] local.INFO: Unknown IO ID detected {"io_id":64,"value":206,"description":"Unknown IO ID 64"} 
[2026-04-17 23:14:05] local.INFO: Unknown IO ID detected {"io_id":8,"value":64768,"description":"Unknown IO ID 8"} 
[2026-04-17 23:14:05] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274332789694791680,"km_value":274332789694791.7,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:14:05] local.INFO: Unknown IO ID detected {"io_id":45,"value":8862591511060850688,"description":"Unknown IO ID 45"} 
[2026-04-17 23:14:05] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770627072001,"power":27463,"unknown_64":206,"unknown_8":64768,"ignition":36,"odometer":null,"unknown_45":8862591511060850688}} 
[2026-04-17 23:14:05] local.INFO: DEBUG: GPS processor result {"connection_id":46560,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23579,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:14:05] local.INFO: GPS data processed {"connection_id":46560,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:14:05] local.INFO: Acknowledgment sent {"connection_id":46560,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:14:20] local.INFO: TCP Data received {"connection_id":46315,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:14:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:14:20] local.INFO: Processing buffer {"connection_id":46315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:14:20] local.INFO: IMEI packet received {"connection_id":46315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:14:20] local.INFO: IMEI acknowledgment sent {"connection_id":46315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:14:26] local.INFO: TCP Data received {"connection_id":46315,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:14:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46315,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:14:26] local.INFO: Processing buffer {"connection_id":46315,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:14:26] local.INFO: IMEI packet received {"connection_id":46315,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:14:26] local.INFO: IMEI acknowledgment sent {"connection_id":46315,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:14:27] local.INFO: TCP Data received {"connection_id":46315,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:14:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:14:27] local.INFO: Processing buffer {"connection_id":46315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:14:27] local.INFO: Packet analysis {"connection_id":46315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:14:27] local.INFO: Extracted packet for processing {"connection_id":46315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:14:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:14:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770546944001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:14:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:14:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:14: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-04-17 23:14:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776447750000,"timestamp_ms":1776447750000,"timestamp_seconds":1776447750,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c897f70"} 
[2026-04-17 23:14:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:14:27] 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-04-17 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 23:14:27] 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-04-17 23: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-04-17 23:14:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:14:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:14:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:14:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:14:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:14:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:14:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:14:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:14:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770546944001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:14:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:14:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:14:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770546944001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:14:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:14:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:14:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:14:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:14:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770546944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:14:27] local.INFO: DEBUG: GPS processor result {"connection_id":46315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23580,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:14:27] local.INFO: GPS data processed {"connection_id":46315,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:14:27] local.INFO: Acknowledgment sent {"connection_id":46315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:14:59] local.INFO: TCP Data received {"connection_id":46315,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:14:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46315,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:14:59] local.INFO: Processing buffer {"connection_id":46315,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:14:59] local.INFO: Packet analysis {"connection_id":46315,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:14:59] local.INFO: Extracted packet for processing {"connection_id":46315,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:14:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:14:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770546944001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:14:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:14:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:14: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-04-17 23:14:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776447750000,"timestamp_ms":1776447750000,"timestamp_seconds":1776447750,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c897f70"} 
[2026-04-17 23:14:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:14:59] 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-04-17 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 23:14:59] 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-04-17 23:14:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:14:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:14:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:14:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46315,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:14:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:14:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46315,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:14:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:14:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:14:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:14:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770546944001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:14:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:14:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:14:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770546944001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:14:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:14:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:14:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:14:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:14:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770546944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:14:59] local.INFO: DEBUG: GPS processor result {"connection_id":46315,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23581,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:14:59] local.INFO: GPS data processed {"connection_id":46315,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:14:59] local.INFO: Acknowledgment sent {"connection_id":46315,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:15:26] local.INFO: TCP Data received {"connection_id":46194,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:15:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:15:26] local.INFO: Processing buffer {"connection_id":46194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:15:26] local.INFO: IMEI packet received {"connection_id":46194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:15:26] local.INFO: IMEI acknowledgment sent {"connection_id":46194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:15:31] local.INFO: TCP Data received {"connection_id":46194,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:15:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46194,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:15:31] local.INFO: Processing buffer {"connection_id":46194,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:15:31] local.INFO: IMEI packet received {"connection_id":46194,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:15:31] local.INFO: IMEI acknowledgment sent {"connection_id":46194,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:15:36] local.INFO: TCP Data received {"connection_id":46194,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:15:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:15:36] local.INFO: Processing buffer {"connection_id":46194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:15:36] local.INFO: Packet analysis {"connection_id":46194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:15:36] local.INFO: Extracted packet for processing {"connection_id":46194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:15:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:15:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770546944001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:15:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:15:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:15:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:15:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776447750000,"timestamp_ms":1776447750000,"timestamp_seconds":1776447750,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c897f70"} 
[2026-04-17 23:15:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:15:36] 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-04-17 23: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":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 23:15:36] 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-04-17 23: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-04-17 23:15:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:15:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:15:36] local.INFO: Teltonika packet parsed successfully {"connection_id":46194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:15:36] local.INFO: Passing IMEI to GPS processor {"connection_id":46194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:15:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":46194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:15:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:15:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:15:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:15:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770546944001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:15:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:15:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:15:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770546944001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:15:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:15:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:15:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:15:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:15:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770546944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:15:37] local.INFO: DEBUG: GPS processor result {"connection_id":46194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23582,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:15:37] local.INFO: GPS data processed {"connection_id":46194,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:15:37] local.INFO: Acknowledgment sent {"connection_id":46194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:15:41] local.INFO: TCP Data received {"connection_id":46194,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:15:41] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46194,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:15:41] local.INFO: Processing buffer {"connection_id":46194,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:15:41] local.INFO: Packet analysis {"connection_id":46194,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:15:41] local.INFO: Extracted packet for processing {"connection_id":46194,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:15:41] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:15:41] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770546944001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:15:41] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:15:41] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:15:41] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:15:41] local.INFO: AVL Record Parsed {"raw_timestamp":1776447750000,"timestamp_ms":1776447750000,"timestamp_seconds":1776447750,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c897f70"} 
[2026-04-17 23:15:41] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:15:41] 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-04-17 23:15:41] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 23:15:41] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1102,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:15:41] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:15:41] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:15:41] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:15:41] local.INFO: Teltonika packet parsed successfully {"connection_id":46194,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:15:41] local.INFO: Passing IMEI to GPS processor {"connection_id":46194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:15:41] local.INFO: DEBUG: About to call GPS processor {"connection_id":46194,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:15:41] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:15:41] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:15:41] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:15:41] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770546944001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:15:41] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:15:41] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:15:41] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770546944001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:15:41] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:15:41] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:15:41] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:15:41] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:15:41] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770546944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:15:42] local.INFO: DEBUG: GPS processor result {"connection_id":46194,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23583,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:15:42] local.INFO: GPS data processed {"connection_id":46194,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:15:42] local.INFO: Acknowledgment sent {"connection_id":46194,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:15:51] local.INFO: TCP Data received {"connection_id":47052,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:15:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47052,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:15:51] local.INFO: Processing buffer {"connection_id":47052,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:15:51] local.INFO: IMEI packet received {"connection_id":47052,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:15:51] local.INFO: IMEI acknowledgment sent {"connection_id":47052,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:16:21] local.INFO: TCP Data received {"connection_id":46195,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:16:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:16:21] local.INFO: Processing buffer {"connection_id":46195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:16:21] local.INFO: IMEI packet received {"connection_id":46195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:16:21] local.INFO: IMEI acknowledgment sent {"connection_id":46195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:16:25] local.INFO: TCP Data received {"connection_id":46195,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:16:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46195,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:16:25] local.INFO: Processing buffer {"connection_id":46195,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:16:25] local.INFO: IMEI packet received {"connection_id":46195,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:16:25] local.INFO: IMEI acknowledgment sent {"connection_id":46195,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:16:26] local.INFO: TCP Data received {"connection_id":46195,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:16:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:16:26] local.INFO: Processing buffer {"connection_id":46195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:16:26] local.INFO: Packet analysis {"connection_id":46195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:16:26] local.INFO: Extracted packet for processing {"connection_id":46195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:16:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:16:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770546944001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:16:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:16:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:16: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-04-17 23:16:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776447750000,"timestamp_ms":1776447750000,"timestamp_seconds":1776447750,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c897f70"} 
[2026-04-17 23:16:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:16:26] 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-04-17 23:16:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 23:16: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-04-17 23:16:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:16:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:16:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:16:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:16:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:16:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:16:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:16:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:16:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:16:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770546944001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:16:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:16:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:16:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770546944001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:16:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:16:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:16:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:16:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:16:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770546944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:16:26] local.INFO: DEBUG: GPS processor result {"connection_id":46195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23584,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:16:26] local.INFO: GPS data processed {"connection_id":46195,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:16:26] local.INFO: Acknowledgment sent {"connection_id":46195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:16:28] local.INFO: TCP Data received {"connection_id":46562,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:16:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46562,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:16:28] local.INFO: Processing buffer {"connection_id":46562,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:16:28] local.INFO: IMEI packet received {"connection_id":46562,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:16:28] local.INFO: IMEI acknowledgment sent {"connection_id":46562,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:16:58] local.INFO: TCP Data received {"connection_id":46195,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:16:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46195,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:16:58] local.INFO: Processing buffer {"connection_id":46195,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:16:58] local.INFO: Packet analysis {"connection_id":46195,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:16:58] local.INFO: Extracted packet for processing {"connection_id":46195,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:16:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:16:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770546944001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:16:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:16:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:16: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-04-17 23:16:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776447750000,"timestamp_ms":1776447750000,"timestamp_seconds":1776447750,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c897f70"} 
[2026-04-17 23:16:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:16:58] 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-04-17 23:16:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 23:16: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-04-17 23: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-04-17 23:16:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:16:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:16:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46195,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:16:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:16:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46195,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:16:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:16:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:16:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:16:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770546944001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:16:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:16:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:16:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770546944001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:16:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:16:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:16:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:16:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:16:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770546944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:16:58] local.INFO: DEBUG: GPS processor result {"connection_id":46195,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23585,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:16:58] local.INFO: GPS data processed {"connection_id":46195,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:16:58] local.INFO: Acknowledgment sent {"connection_id":46195,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:17:03] local.INFO: TCP Data received {"connection_id":46564,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:17:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46564,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:17:03] local.INFO: Processing buffer {"connection_id":46564,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:17:03] local.INFO: IMEI packet received {"connection_id":46564,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:17:03] local.INFO: IMEI acknowledgment sent {"connection_id":46564,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:17:20] local.INFO: TCP Data received {"connection_id":46565,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:17:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:17:20] local.INFO: Processing buffer {"connection_id":46565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:17:20] local.INFO: IMEI packet received {"connection_id":46565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:17:20] local.INFO: IMEI acknowledgment sent {"connection_id":46565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:17:25] local.INFO: TCP Data received {"connection_id":46565,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:17:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46565,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:17:25] local.INFO: Processing buffer {"connection_id":46565,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:17:25] local.INFO: IMEI packet received {"connection_id":46565,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:17:25] local.INFO: IMEI acknowledgment sent {"connection_id":46565,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:17:26] local.INFO: TCP Data received {"connection_id":46565,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:17:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:17:26] local.INFO: Processing buffer {"connection_id":46565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:17:26] local.INFO: Packet analysis {"connection_id":46565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:17:26] local.INFO: Extracted packet for processing {"connection_id":46565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:17:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:17:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770546944001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:17:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:17:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:17: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-04-17 23:17:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776447750000,"timestamp_ms":1776447750000,"timestamp_seconds":1776447750,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c897f70"} 
[2026-04-17 23:17:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:17:26] 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-04-17 23:17:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 23:17: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-04-17 23:17:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:17:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:17:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:17:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:17:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:17:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:17:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:17:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:17:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:17:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770546944001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:17:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:17:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:17:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770546944001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:17:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:17:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:17:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:17:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:17:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770546944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:17:26] local.INFO: DEBUG: GPS processor result {"connection_id":46565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23586,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:17:26] local.INFO: GPS data processed {"connection_id":46565,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:17:26] local.INFO: Acknowledgment sent {"connection_id":46565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:17:58] local.INFO: TCP Data received {"connection_id":46565,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:17:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46565,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:17:58] local.INFO: Processing buffer {"connection_id":46565,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c897f70012d196500071ff090003a013b2c..."} 
[2026-04-17 23:17:58] local.INFO: Packet analysis {"connection_id":46565,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:17:58] local.INFO: Extracted packet for processing {"connection_id":46565,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c89"} 
[2026-04-17 23:17:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":44,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:17:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770546944001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:17:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:17:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:17: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-04-17 23:17:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776447750000,"timestamp_ms":1776447750000,"timestamp_seconds":1776447750,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c897f70"} 
[2026-04-17 23:17:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:17:58] 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-04-17 23:17:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":96,"data_length":795,"current_offset":136} 
[2026-04-17 23:17: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-04-17 23: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-04-17 23:17:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:17:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:17:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46565,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:17:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:17:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46565,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:17:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:17:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:17:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:17:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770546944001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:17:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:17:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:17:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770546944001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:17:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:17:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:17:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:17:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:17:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770546944001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:17:58] local.INFO: DEBUG: GPS processor result {"connection_id":46565,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23587,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:17:58] local.INFO: GPS data processed {"connection_id":46565,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:17:58] local.INFO: Acknowledgment sent {"connection_id":46565,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:18:20] local.INFO: TCP Data received {"connection_id":46566,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:18:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:18:20] local.INFO: Processing buffer {"connection_id":46566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:18:20] local.INFO: IMEI packet received {"connection_id":46566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:18:20] local.INFO: IMEI acknowledgment sent {"connection_id":46566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:18:25] local.INFO: TCP Data received {"connection_id":46566,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:18:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46566,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:18:25] local.INFO: Processing buffer {"connection_id":46566,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:18:25] local.INFO: IMEI packet received {"connection_id":46566,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:18:25] local.INFO: IMEI acknowledgment sent {"connection_id":46566,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:18:26] local.INFO: TCP Data received {"connection_id":46566,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:18:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:18:26] local.INFO: Processing buffer {"connection_id":46566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:18:26] local.INFO: Packet analysis {"connection_id":46566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:18:26] local.INFO: Extracted packet for processing {"connection_id":46566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:18:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:18:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770624000001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:18:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:18:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:18: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-04-17 23:18:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776448051000,"timestamp_ms":1776448051000,"timestamp_seconds":1776448051,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c8e1738"} 
[2026-04-17 23:18:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:18:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:18:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:18: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-04-17 23:18:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:18:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:18:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:18:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:18:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:18:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:18:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:18:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:18:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:18:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770624000001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:18:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:18:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:18:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770624000001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:18:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:18:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:18:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:18:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:18:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770624000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:18:27] local.INFO: DEBUG: GPS processor result {"connection_id":46566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23588,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:18:27] local.INFO: GPS data processed {"connection_id":46566,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:18:27] local.INFO: Acknowledgment sent {"connection_id":46566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:18:58] local.INFO: TCP Data received {"connection_id":46566,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:18:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46566,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:18:58] local.INFO: Processing buffer {"connection_id":46566,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:18:58] local.INFO: Packet analysis {"connection_id":46566,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:18:58] local.INFO: Extracted packet for processing {"connection_id":46566,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:18:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:18:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770624000001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:18:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:18:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:18: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-04-17 23:18:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776448051000,"timestamp_ms":1776448051000,"timestamp_seconds":1776448051,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c8e1738"} 
[2026-04-17 23:18:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:18:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:18:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:18:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:18:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:18:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:18:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46566,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:18:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:18:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46566,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:18:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:18:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:18:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:18:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770624000001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:18:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:18:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:18:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770624000001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:18:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:18:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:18:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:18:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:18:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770624000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:18:58] local.INFO: DEBUG: GPS processor result {"connection_id":46566,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23589,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:18:58] local.INFO: GPS data processed {"connection_id":46566,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:18:58] local.INFO: Acknowledgment sent {"connection_id":46566,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:19:20] local.INFO: TCP Data received {"connection_id":46567,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:19:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:19:20] local.INFO: Processing buffer {"connection_id":46567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:19:20] local.INFO: IMEI packet received {"connection_id":46567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:19:20] local.INFO: IMEI acknowledgment sent {"connection_id":46567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:19:25] local.INFO: TCP Data received {"connection_id":46567,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:19:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46567,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:19:25] local.INFO: Processing buffer {"connection_id":46567,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:19:25] local.INFO: IMEI packet received {"connection_id":46567,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:19:25] local.INFO: IMEI acknowledgment sent {"connection_id":46567,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:19:27] local.INFO: TCP Data received {"connection_id":46567,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:19:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:19:27] local.INFO: Processing buffer {"connection_id":46567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:19:27] local.INFO: Packet analysis {"connection_id":46567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:19:27] local.INFO: Extracted packet for processing {"connection_id":46567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:19:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:19:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770624000001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:19:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:19:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:19: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-04-17 23:19:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776448051000,"timestamp_ms":1776448051000,"timestamp_seconds":1776448051,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c8e1738"} 
[2026-04-17 23:19:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:19:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:19:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:19: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-04-17 23:19:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:19:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:19:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:19:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:19:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:19:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:19:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:19:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:19:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:19:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770624000001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:19:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:19:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:19:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770624000001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:19:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:19:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:19:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:19:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:19:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770624000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:19:27] local.INFO: DEBUG: GPS processor result {"connection_id":46567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23590,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:19:27] local.INFO: GPS data processed {"connection_id":46567,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:19:27] local.INFO: Acknowledgment sent {"connection_id":46567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:19:58] local.INFO: TCP Data received {"connection_id":46567,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:19:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46567,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:19:58] local.INFO: Processing buffer {"connection_id":46567,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:19:58] local.INFO: Packet analysis {"connection_id":46567,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:19:58] local.INFO: Extracted packet for processing {"connection_id":46567,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:19:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:19:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770624000001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:19:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:19:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23: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-04-17 23:19:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776448051000,"timestamp_ms":1776448051000,"timestamp_seconds":1776448051,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c8e1738"} 
[2026-04-17 23:19:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:19:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:19:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:19:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:19:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:19:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:19:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46567,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:19:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:19:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46567,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:19:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:19:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:19:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:19:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770624000001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:19:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:19:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:19:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770624000001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:19:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:19:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:19:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:19:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:19:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770624000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:19:58] local.INFO: DEBUG: GPS processor result {"connection_id":46567,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23591,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:19:58] local.INFO: GPS data processed {"connection_id":46567,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:19:58] local.INFO: Acknowledgment sent {"connection_id":46567,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:20:20] local.INFO: TCP Data received {"connection_id":46199,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:20:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:20:20] local.INFO: Processing buffer {"connection_id":46199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:20:20] local.INFO: IMEI packet received {"connection_id":46199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:20:20] local.INFO: IMEI acknowledgment sent {"connection_id":46199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:20:25] local.INFO: TCP Data received {"connection_id":46199,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:20:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46199,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:20:25] local.INFO: Processing buffer {"connection_id":46199,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:20:25] local.INFO: IMEI packet received {"connection_id":46199,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:20:25] local.INFO: IMEI acknowledgment sent {"connection_id":46199,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:20:27] local.INFO: TCP Data received {"connection_id":46199,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:20:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:20:27] local.INFO: Processing buffer {"connection_id":46199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:20:27] local.INFO: Packet analysis {"connection_id":46199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:20:27] local.INFO: Extracted packet for processing {"connection_id":46199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:20:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:20:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770624000001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:20:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:20:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:20: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-04-17 23:20:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776448051000,"timestamp_ms":1776448051000,"timestamp_seconds":1776448051,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c8e1738"} 
[2026-04-17 23:20:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:20:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:20: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-04-17 23: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-04-17 23:20:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:20:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:20:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:20:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:20:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:20:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:20:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:20:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:20:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770624000001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:20:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:20:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:20:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770624000001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:20:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:20:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:20:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:20:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:20:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770624000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:20:27] local.INFO: DEBUG: GPS processor result {"connection_id":46199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23592,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:20:27] local.INFO: GPS data processed {"connection_id":46199,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:20:27] local.INFO: Acknowledgment sent {"connection_id":46199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:20:57] local.INFO: TCP Data received {"connection_id":47054,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:20:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47054,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:20:57] local.INFO: Processing buffer {"connection_id":47054,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:20:57] local.INFO: IMEI packet received {"connection_id":47054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:20:57] local.INFO: IMEI acknowledgment sent {"connection_id":47054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:20:58] local.INFO: TCP Data received {"connection_id":46199,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:20:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46199,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:20:58] local.INFO: Processing buffer {"connection_id":46199,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:20:58] local.INFO: Packet analysis {"connection_id":46199,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:20:58] local.INFO: Extracted packet for processing {"connection_id":46199,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:20:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:20:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770624000001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:20:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:20:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23: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-04-17 23:20:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776448051000,"timestamp_ms":1776448051000,"timestamp_seconds":1776448051,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c8e1738"} 
[2026-04-17 23:20:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:20:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:20:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:20:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:20:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:20:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46199,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:20:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:20:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46199,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:20:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:20:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:20:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:20:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770624000001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:20:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:20:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:20:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770624000001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:20:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:20:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:20:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:20:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:20:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770624000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:20:58] local.INFO: DEBUG: GPS processor result {"connection_id":46199,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23593,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:20:58] local.INFO: GPS data processed {"connection_id":46199,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:20:58] local.INFO: Acknowledgment sent {"connection_id":46199,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:21:19] local.INFO: TCP Data received {"connection_id":47054,"ip":"117.224.132.221","data_length":51,"data_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 23:21:19] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47054,"packet_length":51,"packet_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 23:21:19] local.INFO: Processing buffer {"connection_id":47054,"buffer_length":51,"buffer_hex":"000f383632353637303734373733313135000f38363235363730373437373331..."} 
[2026-04-17 23:21:19] local.INFO: IMEI packet received {"connection_id":47054,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:21:19] local.INFO: IMEI acknowledgment sent {"connection_id":47054,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:21:25] local.INFO: TCP Data received {"connection_id":46318,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:21:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:21:25] local.INFO: Processing buffer {"connection_id":46318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:21:25] local.INFO: IMEI packet received {"connection_id":46318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:21:25] local.INFO: IMEI acknowledgment sent {"connection_id":46318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:21:30] local.INFO: TCP Data received {"connection_id":46318,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:21:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46318,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:21:30] local.INFO: Processing buffer {"connection_id":46318,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:21:30] local.INFO: IMEI packet received {"connection_id":46318,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:21:30] local.INFO: IMEI acknowledgment sent {"connection_id":46318,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:21:32] local.INFO: TCP Data received {"connection_id":46318,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:21:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:21:32] local.INFO: Processing buffer {"connection_id":46318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:21:32] local.INFO: Packet analysis {"connection_id":46318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:21:32] local.INFO: Extracted packet for processing {"connection_id":46318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:21:32] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:21:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770624000001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:21:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:21:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:21:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:21:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776448051000,"timestamp_ms":1776448051000,"timestamp_seconds":1776448051,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c8e1738"} 
[2026-04-17 23:21:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:21:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:21:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:21:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:21:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:21:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:21:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:21:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:21:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:21:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:21:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:21:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:21:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770624000001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:21:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:21:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:21:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770624000001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:21:32] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:21:32] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:21:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:21:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:21:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770624000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:21:32] local.INFO: DEBUG: GPS processor result {"connection_id":46318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23594,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:21:32] local.INFO: GPS data processed {"connection_id":46318,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:21:32] local.INFO: Acknowledgment sent {"connection_id":46318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:21:36] local.INFO: TCP Data received {"connection_id":46318,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:21:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46318,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:21:36] local.INFO: Processing buffer {"connection_id":46318,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:21:36] local.INFO: Packet analysis {"connection_id":46318,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:21:36] local.INFO: Extracted packet for processing {"connection_id":46318,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:21:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:21:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770624000001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:21:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:21:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:21:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:21:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776448051000,"timestamp_ms":1776448051000,"timestamp_seconds":1776448051,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c8e1738"} 
[2026-04-17 23:21:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:21:36] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:21:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:21:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:21:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:21:36] local.INFO: Teltonika packet parsed successfully {"connection_id":46318,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:21:36] local.INFO: Passing IMEI to GPS processor {"connection_id":46318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:21:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":46318,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:21:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:21:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:21:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:21:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770624000001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:21:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:21:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:21:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770624000001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:21:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:21:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:21:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:21:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:21:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770624000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:21:36] local.INFO: DEBUG: GPS processor result {"connection_id":46318,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23595,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:21:36] local.INFO: GPS data processed {"connection_id":46318,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:21:36] local.INFO: Acknowledgment sent {"connection_id":46318,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:22:20] local.INFO: TCP Data received {"connection_id":47057,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:22:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:22:20] local.INFO: Processing buffer {"connection_id":47057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:22:20] local.INFO: IMEI packet received {"connection_id":47057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:22:20] local.INFO: IMEI acknowledgment sent {"connection_id":47057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:22:25] local.INFO: TCP Data received {"connection_id":47057,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:22:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47057,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:22:25] local.INFO: Processing buffer {"connection_id":47057,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:22:25] local.INFO: IMEI packet received {"connection_id":47057,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:22:25] local.INFO: IMEI acknowledgment sent {"connection_id":47057,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:22:26] local.INFO: TCP Data received {"connection_id":47057,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:22:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:22:26] local.INFO: Processing buffer {"connection_id":47057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:22:26] local.INFO: Packet analysis {"connection_id":47057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:22:26] local.INFO: Extracted packet for processing {"connection_id":47057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:22:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:22:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770624000001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:22:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:22:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23: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-04-17 23:22:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776448051000,"timestamp_ms":1776448051000,"timestamp_seconds":1776448051,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c8e1738"} 
[2026-04-17 23:22:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:22:26] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:22:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:22: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-04-17 23:22:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:22:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:22:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:22:26] local.INFO: Teltonika packet parsed successfully {"connection_id":47057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:22:26] local.INFO: Passing IMEI to GPS processor {"connection_id":47057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:22:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":47057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:22:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:22:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:22:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:22:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770624000001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:22:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:22:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:22:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770624000001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:22:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:22:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:22:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:22:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:22:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770624000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:22:26] local.INFO: DEBUG: GPS processor result {"connection_id":47057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23596,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:22:26] local.INFO: GPS data processed {"connection_id":47057,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:22:26] local.INFO: Acknowledgment sent {"connection_id":47057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:22:33] local.INFO: TCP Data received {"connection_id":47056,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:22:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47056,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:22:33] local.INFO: Processing buffer {"connection_id":47056,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:22:33] local.INFO: IMEI packet received {"connection_id":47056,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:22:33] local.INFO: IMEI acknowledgment sent {"connection_id":47056,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:22:58] local.INFO: TCP Data received {"connection_id":47057,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:22:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47057,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:22:58] local.INFO: Processing buffer {"connection_id":47057,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c8e1738012d196500071ff090003a013b2a..."} 
[2026-04-17 23:22:58] local.INFO: Packet analysis {"connection_id":47057,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:22:58] local.INFO: Extracted packet for processing {"connection_id":47057,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c8e"} 
[2026-04-17 23:22:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":42,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:22:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770624000001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:22:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:22:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:22: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-04-17 23:22:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776448051000,"timestamp_ms":1776448051000,"timestamp_seconds":1776448051,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c8e1738"} 
[2026-04-17 23:22:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:22:58] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009754737,"longitude_deg":16.7773184,"latitude_deg":-28.5212559,"altitude":11264,"angle":61440,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef000071","is_valid_coordinates":true} 
[2026-04-17 23:22:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:22:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:22:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:22:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:22:58] local.INFO: Teltonika packet parsed successfully {"connection_id":47057,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:22:58] local.INFO: Passing IMEI to GPS processor {"connection_id":47057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:22:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":47057,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:22:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:22:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:22:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:22:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770624000001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:22:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:22:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:22:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770624000001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:22:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:22:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:22:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:22:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:22:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770624000001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:22:58] local.INFO: DEBUG: GPS processor result {"connection_id":47057,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23597,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:22:58] local.INFO: GPS data processed {"connection_id":47057,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:22:58] local.INFO: Acknowledgment sent {"connection_id":47057,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:23:03] local.INFO: TCP Data received {"connection_id":46200,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:23:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46200,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:23:03] local.INFO: Processing buffer {"connection_id":46200,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:23:03] local.INFO: IMEI packet received {"connection_id":46200,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:23:03] local.INFO: IMEI acknowledgment sent {"connection_id":46200,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:23:20] local.INFO: TCP Data received {"connection_id":46570,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:23:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:23:20] local.INFO: Processing buffer {"connection_id":46570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:23:20] local.INFO: IMEI packet received {"connection_id":46570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:23:20] local.INFO: IMEI acknowledgment sent {"connection_id":46570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:23:25] local.INFO: TCP Data received {"connection_id":46570,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:23:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46570,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:23:25] local.INFO: Processing buffer {"connection_id":46570,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:23:25] local.INFO: IMEI packet received {"connection_id":46570,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:23:25] local.INFO: IMEI acknowledgment sent {"connection_id":46570,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:23:27] local.INFO: TCP Data received {"connection_id":46570,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:23:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:23:27] local.INFO: Processing buffer {"connection_id":46570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:23:27] local.INFO: Packet analysis {"connection_id":46570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:23:27] local.INFO: Extracted packet for processing {"connection_id":46570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:23:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:23:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770701056001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:23:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:23:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:23: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-04-17 23:23:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776448352000,"timestamp_ms":1776448352000,"timestamp_seconds":1776448352,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c92af00"} 
[2026-04-17 23:23:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:23:27] 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-04-17 23:23:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:23: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-04-17 23:23:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:23:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:23:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:23:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:23:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:23:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:23:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:23:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:23:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:23:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770701056001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:23:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:23:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:23:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770701056001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:23:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:23:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:23:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:23:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:23:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770701056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:23:27] local.INFO: DEBUG: GPS processor result {"connection_id":46570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23598,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:23:27] local.INFO: GPS data processed {"connection_id":46570,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:23:27] local.INFO: Acknowledgment sent {"connection_id":46570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:23:58] local.INFO: TCP Data received {"connection_id":46570,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:23:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46570,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:23:58] local.INFO: Processing buffer {"connection_id":46570,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:23:58] local.INFO: Packet analysis {"connection_id":46570,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:23:58] local.INFO: Extracted packet for processing {"connection_id":46570,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:23:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:23:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770701056001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:23:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:23:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:23: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-04-17 23:23:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776448352000,"timestamp_ms":1776448352000,"timestamp_seconds":1776448352,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c92af00"} 
[2026-04-17 23:23:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:23:58] 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-04-17 23:23:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:23:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:23:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:23:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:23:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46570,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:23:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:23:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46570,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:23:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:23:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:23:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:23:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770701056001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:23:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:23:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:23:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770701056001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:23:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:23:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:23:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:23:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:23:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770701056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:23:58] local.INFO: DEBUG: GPS processor result {"connection_id":46570,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23599,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:23:58] local.INFO: GPS data processed {"connection_id":46570,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:23:58] local.INFO: Acknowledgment sent {"connection_id":46570,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:24:20] local.INFO: TCP Data received {"connection_id":46201,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:24:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:24:20] local.INFO: Processing buffer {"connection_id":46201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:24:20] local.INFO: IMEI packet received {"connection_id":46201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:24:20] local.INFO: IMEI acknowledgment sent {"connection_id":46201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:24:25] local.INFO: TCP Data received {"connection_id":46201,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:24:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46201,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:24:25] local.INFO: Processing buffer {"connection_id":46201,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:24:25] local.INFO: IMEI packet received {"connection_id":46201,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:24:25] local.INFO: IMEI acknowledgment sent {"connection_id":46201,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:24:27] local.INFO: TCP Data received {"connection_id":46201,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:24:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:24:27] local.INFO: Processing buffer {"connection_id":46201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:24:27] local.INFO: Packet analysis {"connection_id":46201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:24:27] local.INFO: Extracted packet for processing {"connection_id":46201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:24:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:24:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770701056001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:24:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:24:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:24: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-04-17 23:24:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776448352000,"timestamp_ms":1776448352000,"timestamp_seconds":1776448352,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c92af00"} 
[2026-04-17 23:24:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:24:27] 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-04-17 23:24:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:24: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-04-17 23:24:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:24:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:24:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:24:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:24:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:24:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:24:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:24:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:24:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:24:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770701056001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:24:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:24:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:24:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770701056001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:24:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:24:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:24:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:24:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:24:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770701056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:24:27] local.INFO: DEBUG: GPS processor result {"connection_id":46201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23600,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:24:27] local.INFO: GPS data processed {"connection_id":46201,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:24:27] local.INFO: Acknowledgment sent {"connection_id":46201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:24:58] local.INFO: TCP Data received {"connection_id":46201,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:24:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46201,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:24:58] local.INFO: Processing buffer {"connection_id":46201,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:24:58] local.INFO: Packet analysis {"connection_id":46201,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:24:58] local.INFO: Extracted packet for processing {"connection_id":46201,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:24:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:24:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770701056001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:24:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:24:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:24: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-04-17 23:24:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776448352000,"timestamp_ms":1776448352000,"timestamp_seconds":1776448352,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c92af00"} 
[2026-04-17 23:24:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:24:58] 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-04-17 23:24:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:24:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:24:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:24:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:24:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46201,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:24:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:24:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46201,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:24:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:24:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:24:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:24:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770701056001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:24:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:24:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:24:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770701056001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:24:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:24:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:24:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:24:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:24:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770701056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:24:58] local.INFO: DEBUG: GPS processor result {"connection_id":46201,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23601,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:24:58] local.INFO: GPS data processed {"connection_id":46201,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:24:58] local.INFO: Acknowledgment sent {"connection_id":46201,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:25:20] local.INFO: TCP Data received {"connection_id":46572,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:25:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:25:20] local.INFO: Processing buffer {"connection_id":46572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:25:20] local.INFO: IMEI packet received {"connection_id":46572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:25:20] local.INFO: IMEI acknowledgment sent {"connection_id":46572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:25:25] local.INFO: TCP Data received {"connection_id":46572,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:25:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46572,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:25:25] local.INFO: Processing buffer {"connection_id":46572,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:25:25] local.INFO: IMEI packet received {"connection_id":46572,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:25:25] local.INFO: IMEI acknowledgment sent {"connection_id":46572,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:25:26] local.INFO: TCP Data received {"connection_id":46572,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:25:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:25:26] local.INFO: Processing buffer {"connection_id":46572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:25:26] local.INFO: Packet analysis {"connection_id":46572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:25:26] local.INFO: Extracted packet for processing {"connection_id":46572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:25:26] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:25:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770701056001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:25:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:25:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:25: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-04-17 23:25:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776448352000,"timestamp_ms":1776448352000,"timestamp_seconds":1776448352,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c92af00"} 
[2026-04-17 23:25:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:25:26] 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-04-17 23:25:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:25: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-04-17 23:25:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:25:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:25:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:25:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:25:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:25:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:25:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:25:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:25:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:25:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770701056001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:25:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:25:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:25:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770701056001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:25:26] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:25:26] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:25:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:25:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:25:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770701056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:25:26] local.INFO: DEBUG: GPS processor result {"connection_id":46572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23602,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:25:26] local.INFO: GPS data processed {"connection_id":46572,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:25:26] local.INFO: Acknowledgment sent {"connection_id":46572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:25:58] local.INFO: TCP Data received {"connection_id":46572,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:25:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46572,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:25:58] local.INFO: Processing buffer {"connection_id":46572,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:25:58] local.INFO: Packet analysis {"connection_id":46572,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:25:58] local.INFO: Extracted packet for processing {"connection_id":46572,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:25:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:25:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770701056001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:25:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:25:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:25: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-04-17 23:25:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776448352000,"timestamp_ms":1776448352000,"timestamp_seconds":1776448352,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c92af00"} 
[2026-04-17 23:25:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:25:58] 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-04-17 23:25:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:25:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:25:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:25:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:25:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46572,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:25:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:25:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46572,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:25:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:25:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:25:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:25:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770701056001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:25:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:25:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:25:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770701056001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:25:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:25:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:25:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:25:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:25:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770701056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:25:58] local.INFO: DEBUG: GPS processor result {"connection_id":46572,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23603,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:25:58] local.INFO: GPS data processed {"connection_id":46572,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:25:58] local.INFO: Acknowledgment sent {"connection_id":46572,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:26:09] local.INFO: TCP Data received {"connection_id":46321,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:26:09] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46321,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:26:09] local.INFO: Processing buffer {"connection_id":46321,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:26:09] local.INFO: IMEI packet received {"connection_id":46321,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:26:09] local.INFO: IMEI acknowledgment sent {"connection_id":46321,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:26:15] local.INFO: TCP Data received {"connection_id":46321,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9504a8012d78b3c005ff3a480008011a2c..."} 
[2026-04-17 23:26:15] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46321,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9504a8012d78b3c005ff3a480008011a2c..."} 
[2026-04-17 23:26:15] local.INFO: Processing buffer {"connection_id":46321,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9504a8012d78b3c005ff3a480008011a2c..."} 
[2026-04-17 23:26:15] local.INFO: Packet analysis {"connection_id":46321,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c95"} 
[2026-04-17 23:26:15] local.INFO: Extracted packet for processing {"connection_id":46321,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c95"} 
[2026-04-17 23:26:15] local.INFO: GPS Element Parsed {"raw_longitude":762885056,"raw_latitude":100612680,"longitude_deg":76.2885056,"latitude_deg":10.061268,"altitude":8,"angle":282,"satellites":44,"speed":23,"hex_longitude":"2d78b3c0","hex_latitude":"05ff3a48","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:26:15] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770817024001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:26:15] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274365079258923008,"note":"Value kept but may cause issues"} 
[2026-04-17 23:26:15] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8698210124813670400,"note":"Value kept but may cause issues"} 
[2026-04-17 23:26:15] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,224,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:26:15] local.INFO: AVL Record Parsed {"raw_timestamp":1776448505000,"timestamp_ms":1776448505000,"timestamp_seconds":1776448505,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9504a8"} 
[2026-04-17 23:26:15] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:26:15] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 23:26:15] 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-04-17 23: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-04-17 23:26:15] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:26:15] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:26:15] local.INFO: Teltonika packet parsed successfully {"connection_id":46321,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:26:15] local.INFO: Passing IMEI to GPS processor {"connection_id":46321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:26:15] local.INFO: DEBUG: About to call GPS processor {"connection_id":46321,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:26:15] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:26:15] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:26:15] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:26:15] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770817024001,"66":27376,"224":206,"8":65280,"24":23,"16":274365079258923008,"45":8698210124813670400},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,224,8,24,16,45]} 
[2026-04-17 23:26:15] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:26:15] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:26:15] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770817024001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:26:15] local.INFO: Unknown IO ID detected {"io_id":224,"value":206,"description":"Unknown IO ID 224"} 
[2026-04-17 23:26:15] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:26:15] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274365079258923008,"km_value":274365079258923.0,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:26:15] local.INFO: Unknown IO ID detected {"io_id":45,"value":8698210124813670400,"description":"Unknown IO ID 45"} 
[2026-04-17 23:26:15] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770817024001,"power":27376,"unknown_224":206,"unknown_8":65280,"ignition":23,"odometer":null,"unknown_45":8698210124813670400}} 
[2026-04-17 23:26:15] local.INFO: DEBUG: GPS processor result {"connection_id":46321,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23604,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:26:15] local.INFO: GPS data processed {"connection_id":46321,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:26:15] local.INFO: Acknowledgment sent {"connection_id":46321,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:26:20] local.INFO: TCP Data received {"connection_id":46573,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:26:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:26:20] local.INFO: Processing buffer {"connection_id":46573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:26:20] local.INFO: IMEI packet received {"connection_id":46573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:26:20] local.INFO: IMEI acknowledgment sent {"connection_id":46573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:26:25] local.INFO: TCP Data received {"connection_id":46573,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:26:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46573,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:26:25] local.INFO: Processing buffer {"connection_id":46573,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:26:25] local.INFO: IMEI packet received {"connection_id":46573,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:26:25] local.INFO: IMEI acknowledgment sent {"connection_id":46573,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:26:27] local.INFO: TCP Data received {"connection_id":46573,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:26:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:26:27] local.INFO: Processing buffer {"connection_id":46573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:26:27] local.INFO: Packet analysis {"connection_id":46573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:26:27] local.INFO: Extracted packet for processing {"connection_id":46573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:26:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:26:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770701056001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:26:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:26:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:26: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-04-17 23:26:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776448352000,"timestamp_ms":1776448352000,"timestamp_seconds":1776448352,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c92af00"} 
[2026-04-17 23:26:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:26:27] 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-04-17 23:26:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:26: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-04-17 23:26:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:26:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:26:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:26:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:26:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:26:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:26:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:26:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:26:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:26:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770701056001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:26:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:26:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:26:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770701056001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:26:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:26:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:26:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:26:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:26:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770701056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:26:27] local.INFO: DEBUG: GPS processor result {"connection_id":46573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23605,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:26:27] local.INFO: GPS data processed {"connection_id":46573,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:26:27] local.INFO: Acknowledgment sent {"connection_id":46573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:26:47] local.INFO: TCP Data received {"connection_id":46202,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:26:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:26:47] local.INFO: Processing buffer {"connection_id":46202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:26:47] local.INFO: IMEI packet received {"connection_id":46202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:26:47] local.INFO: IMEI acknowledgment sent {"connection_id":46202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:26:49] local.INFO: TCP Data received {"connection_id":46202,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:26:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:26:49] local.INFO: Processing buffer {"connection_id":46202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:26:49] local.INFO: IMEI packet received {"connection_id":46202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:26:49] local.INFO: IMEI acknowledgment sent {"connection_id":46202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:26:51] local.INFO: TCP Data received {"connection_id":46202,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:26:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:26:51] local.INFO: Processing buffer {"connection_id":46202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:26:51] local.INFO: IMEI packet received {"connection_id":46202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:26:51] local.INFO: IMEI acknowledgment sent {"connection_id":46202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:26:54] local.INFO: TCP Data received {"connection_id":46202,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:26:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46202,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:26:54] local.INFO: Processing buffer {"connection_id":46202,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:26:54] local.INFO: IMEI packet received {"connection_id":46202,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:26:54] local.INFO: IMEI acknowledgment sent {"connection_id":46202,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:26:55] local.INFO: TCP Data received {"connection_id":46202,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c95c7f8012d78874005ffdb880008015f32..."} 
[2026-04-17 23:26:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c95c7f8012d78874005ffdb880008015f32..."} 
[2026-04-17 23:26:55] local.INFO: Processing buffer {"connection_id":46202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c95c7f8012d78874005ffdb880008015f32..."} 
[2026-04-17 23:26:55] local.INFO: Packet analysis {"connection_id":46202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c95"} 
[2026-04-17 23:26:55] local.INFO: Extracted packet for processing {"connection_id":46202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c95"} 
[2026-04-17 23:26:55] local.INFO: GPS Element Parsed {"raw_longitude":762873664,"raw_latitude":100653960,"longitude_deg":76.2873664,"latitude_deg":10.065396,"altitude":8,"angle":351,"satellites":50,"speed":46,"hex_longitude":"2d788740","hex_latitude":"05ffdb88","is_valid_coordinates":true} 
[2026-04-17 23:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:26:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770828032001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:26:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274367261102309376,"note":"Value kept but may cause issues"} 
[2026-04-17 23:26:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8686599282032687104,"note":"Value kept but may cause issues"} 
[2026-04-17 23:26:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:26:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776448555000,"timestamp_ms":1776448555000,"timestamp_seconds":1776448555,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c95c7f8"} 
[2026-04-17 23:26:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:26:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23:26:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 23:26:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:26:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:26:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:26:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:26:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:26:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:26:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:26:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:26:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:26:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:26:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770828032001,"66":27104,"210":206,"8":65280,"24":46,"16":274367261102309376,"45":8686599282032687104},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-04-17 23:26:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:26:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:26:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770828032001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:26:55] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-17 23:26:55] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:26:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274367261102309376,"km_value":274367261102309.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:26:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8686599282032687104,"description":"Unknown IO ID 45"} 
[2026-04-17 23:26:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770828032001,"power":27104,"unknown_210":206,"unknown_8":65280,"ignition":46,"odometer":null,"unknown_45":8686599282032687104}} 
[2026-04-17 23:26:55] local.INFO: DEBUG: GPS processor result {"connection_id":46202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23606,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:26:55] local.INFO: GPS data processed {"connection_id":46202,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:26:55] local.INFO: Acknowledgment sent {"connection_id":46202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:26:58] local.INFO: TCP Data received {"connection_id":46573,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:26:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46573,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:26:58] local.INFO: Processing buffer {"connection_id":46573,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:26:58] local.INFO: Packet analysis {"connection_id":46573,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:26:58] local.INFO: Extracted packet for processing {"connection_id":46573,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:26:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:26:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770701056001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:26:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:26:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:26: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-04-17 23:26:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776448352000,"timestamp_ms":1776448352000,"timestamp_seconds":1776448352,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c92af00"} 
[2026-04-17 23:26:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:26:58] 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-04-17 23:26:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:26:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:26:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:26:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:26:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46573,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:26:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:26:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46573,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:26:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:26:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:26:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:26:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770701056001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:26:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:26:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:26:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770701056001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:26:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:26:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:26:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:26:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:26:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770701056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:26:58] local.INFO: DEBUG: GPS processor result {"connection_id":46573,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23607,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:26:58] local.INFO: GPS data processed {"connection_id":46573,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:26:58] local.INFO: Acknowledgment sent {"connection_id":46573,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:27:20] local.INFO: TCP Data received {"connection_id":46204,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:27:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:27:20] local.INFO: Processing buffer {"connection_id":46204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:27:20] local.INFO: IMEI packet received {"connection_id":46204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:27:20] local.INFO: IMEI acknowledgment sent {"connection_id":46204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:27:25] local.INFO: TCP Data received {"connection_id":46204,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:27:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46204,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:27:25] local.INFO: Processing buffer {"connection_id":46204,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:27:25] local.INFO: IMEI packet received {"connection_id":46204,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:27:25] local.INFO: IMEI acknowledgment sent {"connection_id":46204,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:27:26] local.INFO: TCP Data received {"connection_id":46202,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c95e738012d7882c005ffffd00008015e31..."} 
[2026-04-17 23:27:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46202,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c95e738012d7882c005ffffd00008015e31..."} 
[2026-04-17 23:27:26] local.INFO: Processing buffer {"connection_id":46202,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c95e738012d7882c005ffffd00008015e31..."} 
[2026-04-17 23:27:26] local.INFO: Packet analysis {"connection_id":46202,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c95"} 
[2026-04-17 23:27:26] local.INFO: Extracted packet for processing {"connection_id":46202,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c95"} 
[2026-04-17 23:27:26] local.INFO: GPS Element Parsed {"raw_longitude":762872512,"raw_latitude":100663248,"longitude_deg":76.2872512,"latitude_deg":10.0663248,"altitude":8,"angle":350,"satellites":49,"speed":43,"hex_longitude":"2d7882c0","hex_latitude":"05ffffd0","is_valid_coordinates":true} 
[2026-04-17 23:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:27:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770830080001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:27:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274367716368842752,"note":"Value kept but may cause issues"} 
[2026-04-17 23:27:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8684980800918882304,"note":"Value kept but may cause issues"} 
[2026-04-17 23:27:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:27:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776448563000,"timestamp_ms":1776448563000,"timestamp_seconds":1776448563,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c95e738"} 
[2026-04-17 23:27:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:27: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-04-17 23:27:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":224,"data_length":795,"current_offset":136} 
[2026-04-17 23:27:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2739,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:27:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:27:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:27:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:27:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46202,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:27:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:27:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46202,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:27:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:27:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:27:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:27:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770830080001,"66":27484,"210":206,"8":65280,"24":43,"16":274367716368842752,"45":8684980800918882304},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-04-17 23:27:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:27:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:27:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770830080001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:27:26] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-17 23:27:26] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:27:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274367716368842752,"km_value":274367716368842.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:27:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8684980800918882304,"description":"Unknown IO ID 45"} 
[2026-04-17 23:27:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770830080001,"power":27484,"unknown_210":206,"unknown_8":65280,"ignition":43,"odometer":null,"unknown_45":8684980800918882304}} 
[2026-04-17 23:27:26] local.INFO: DEBUG: GPS processor result {"connection_id":46202,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23608,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:27:26] local.INFO: GPS data processed {"connection_id":46202,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:27:26] local.INFO: Acknowledgment sent {"connection_id":46202,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:27:27] local.INFO: TCP Data received {"connection_id":46204,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:27:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:27:27] local.INFO: Processing buffer {"connection_id":46204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:27:27] local.INFO: Packet analysis {"connection_id":46204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:27:27] local.INFO: Extracted packet for processing {"connection_id":46204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:27:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:27:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770701056001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:27:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:27:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23: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-04-17 23:27:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776448352000,"timestamp_ms":1776448352000,"timestamp_seconds":1776448352,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c92af00"} 
[2026-04-17 23:27:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:27:27] 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-04-17 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:27: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-04-17 23: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-04-17 23:27:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:27:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:27:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:27:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:27:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:27:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:27:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:27:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:27:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770701056001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:27:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:27:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:27:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770701056001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:27:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:27:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:27:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:27:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:27:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770701056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:27:27] local.INFO: DEBUG: GPS processor result {"connection_id":46204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23609,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:27:27] local.INFO: GPS data processed {"connection_id":46204,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:27:27] local.INFO: Acknowledgment sent {"connection_id":46204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:27:49] local.INFO: TCP Data received {"connection_id":47060,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:27:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:27:49] local.INFO: Processing buffer {"connection_id":47060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:27:49] local.INFO: IMEI packet received {"connection_id":47060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:27:49] local.INFO: IMEI acknowledgment sent {"connection_id":47060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:27:54] local.INFO: TCP Data received {"connection_id":47060,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:27:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47060,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:27:54] local.INFO: Processing buffer {"connection_id":47060,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:27:54] local.INFO: IMEI packet received {"connection_id":47060,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:27:54] local.INFO: IMEI acknowledgment sent {"connection_id":47060,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:27:55] local.INFO: TCP Data received {"connection_id":47060,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c95f2f0012d78800006000a380008014f31..."} 
[2026-04-17 23:27:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c95f2f0012d78800006000a380008014f31..."} 
[2026-04-17 23:27:55] local.INFO: Processing buffer {"connection_id":47060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c95f2f0012d78800006000a380008014f31..."} 
[2026-04-17 23:27:55] local.INFO: Packet analysis {"connection_id":47060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c95"} 
[2026-04-17 23:27:55] local.INFO: Extracted packet for processing {"connection_id":47060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c95"} 
[2026-04-17 23:27:55] local.INFO: GPS Element Parsed {"raw_longitude":762871808,"raw_latitude":100665912,"longitude_deg":76.2871808,"latitude_deg":10.0665912,"altitude":8,"angle":335,"satellites":49,"speed":29,"hex_longitude":"2d788000","hex_latitude":"06000a38","is_valid_coordinates":true} 
[2026-04-17 23:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:27:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770832128001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:27:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274367849512828928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:27:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8683714163526062080,"note":"Value kept but may cause issues"} 
[2026-04-17 23:27:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:27:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776448566000,"timestamp_ms":1776448566000,"timestamp_seconds":1776448566,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c95f2f0"} 
[2026-04-17 23:27:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:27:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23:27:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 23:27:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:27:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:27:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:27:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:27:55] local.INFO: Teltonika packet parsed successfully {"connection_id":47060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:27:55] local.INFO: Passing IMEI to GPS processor {"connection_id":47060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:27:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":47060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:27:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:27:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:27:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:27:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770832128001,"66":27484,"210":206,"8":65280,"24":29,"16":274367849512828928,"45":8683714163526062080},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-04-17 23:27:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:27:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:27:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770832128001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:27:55] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-17 23:27:55] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:27:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274367849512828928,"km_value":274367849512828.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:27:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8683714163526062080,"description":"Unknown IO ID 45"} 
[2026-04-17 23:27:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770832128001,"power":27484,"unknown_210":206,"unknown_8":65280,"ignition":29,"odometer":null,"unknown_45":8683714163526062080}} 
[2026-04-17 23:27:55] local.INFO: DEBUG: GPS processor result {"connection_id":47060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23610,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:27:55] local.INFO: GPS data processed {"connection_id":47060,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:27:55] local.INFO: Acknowledgment sent {"connection_id":47060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:27:59] local.INFO: TCP Data received {"connection_id":46204,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:27:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46204,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:27:59] local.INFO: Processing buffer {"connection_id":46204,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c92af00012d196500071ff090003a013b2b..."} 
[2026-04-17 23:27:59] local.INFO: Packet analysis {"connection_id":46204,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:27:59] local.INFO: Extracted packet for processing {"connection_id":46204,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c92"} 
[2026-04-17 23:27:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":43,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:27:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770701056001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:27:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:27:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:27: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-04-17 23:27:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776448352000,"timestamp_ms":1776448352000,"timestamp_seconds":1776448352,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c92af00"} 
[2026-04-17 23:27:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:27:59] 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-04-17 23:27:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:27: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-04-17 23:27:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:27:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:27:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:27:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46204,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:27:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:27:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46204,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:27:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:27:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:27:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:27:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770701056001,"66":2166,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:27:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:27:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:27:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770701056001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:27:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:27:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:27:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:27:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:27:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770701056001,"power":2166,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:27:59] local.INFO: DEBUG: GPS processor result {"connection_id":46204,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23611,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:27:59] local.INFO: GPS data processed {"connection_id":46204,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:27:59] local.INFO: Acknowledgment sent {"connection_id":46204,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:28:26] local.INFO: TCP Data received {"connection_id":46205,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:28:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:28:26] local.INFO: Processing buffer {"connection_id":46205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:28:26] local.INFO: IMEI packet received {"connection_id":46205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:28:26] local.INFO: IMEI acknowledgment sent {"connection_id":46205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:28:27] local.INFO: TCP Data received {"connection_id":47060,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c973340012d77d3c00600cae80013013731..."} 
[2026-04-17 23:28:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47060,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c973340012d77d3c00600cae80013013731..."} 
[2026-04-17 23:28:27] local.INFO: Processing buffer {"connection_id":47060,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c973340012d77d3c00600cae80013013731..."} 
[2026-04-17 23:28:27] local.INFO: Packet analysis {"connection_id":47060,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:28:27] local.INFO: Extracted packet for processing {"connection_id":47060,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:28:27] local.INFO: GPS Element Parsed {"raw_longitude":762827712,"raw_latitude":100715240,"longitude_deg":76.2827712,"latitude_deg":10.071524,"altitude":19,"angle":311,"satellites":49,"speed":42,"hex_longitude":"2d77d3c0","hex_latitude":"0600cae8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 23:28:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770851584001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:28:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274371087918170112,"note":"Value kept but may cause issues"} 
[2026-04-17 23:28:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8641985498240471040,"note":"Value kept but may cause issues"} 
[2026-04-17 23:28:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:28:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776448648000,"timestamp_ms":1776448648000,"timestamp_seconds":1776448648,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c973340"} 
[2026-04-17 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-04-17 23:28:27] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 23:28:27] 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-04-17 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-04-17 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-04-17 23:28:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:28:27] local.INFO: Teltonika packet parsed successfully {"connection_id":47060,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:28:27] local.INFO: Passing IMEI to GPS processor {"connection_id":47060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:28:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":47060,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:28:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:28:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:28:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:28:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770851584001,"66":27300,"210":206,"8":65280,"24":42,"16":274371087918170112,"45":8641985498240471040},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-04-17 23:28:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:28:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:28:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770851584001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:28:27] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-17 23:28:27] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:28:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274371087918170112,"km_value":274371087918170.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:28:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8641985498240471040,"description":"Unknown IO ID 45"} 
[2026-04-17 23:28:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770851584001,"power":27300,"unknown_210":206,"unknown_8":65280,"ignition":42,"odometer":null,"unknown_45":8641985498240471040}} 
[2026-04-17 23:28:27] local.INFO: DEBUG: GPS processor result {"connection_id":47060,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23612,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:28:27] local.INFO: GPS data processed {"connection_id":47060,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:28:27] local.INFO: Acknowledgment sent {"connection_id":47060,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:28:28] local.INFO: TCP Data received {"connection_id":46574,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:28:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46574,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:28:28] local.INFO: Processing buffer {"connection_id":46574,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:28:28] local.INFO: IMEI packet received {"connection_id":46574,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:28:28] local.INFO: IMEI acknowledgment sent {"connection_id":46574,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:28:31] local.INFO: TCP Data received {"connection_id":46205,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:28:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46205,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:28:31] local.INFO: Processing buffer {"connection_id":46205,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:28:31] local.INFO: IMEI packet received {"connection_id":46205,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:28:31] local.INFO: IMEI acknowledgment sent {"connection_id":46205,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:28:33] local.INFO: TCP Data received {"connection_id":46205,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:28:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:28:33] local.INFO: Processing buffer {"connection_id":46205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:28:33] local.INFO: Packet analysis {"connection_id":46205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:28:33] local.INFO: Extracted packet for processing {"connection_id":46205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:28:33] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:28:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770778112001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:28:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:28:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:28: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-04-17 23:28:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776448653000,"timestamp_ms":1776448653000,"timestamp_seconds":1776448653,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9746c8"} 
[2026-04-17 23:28:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:28:33] 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-04-17 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:28:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:28:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:28:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:28:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:28:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:28:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:28:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:28:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:28:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:28:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770778112001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:28:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:28:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:28:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770778112001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:28:33] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:28:33] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:28:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:28:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:28:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770778112001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:28:33] local.INFO: DEBUG: GPS processor result {"connection_id":46205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23613,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:28:33] local.INFO: GPS data processed {"connection_id":46205,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:28:33] local.INFO: Acknowledgment sent {"connection_id":46205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:28:36] local.INFO: TCP Data received {"connection_id":46205,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:28:36] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46205,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:28:36] local.INFO: Processing buffer {"connection_id":46205,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:28:36] local.INFO: Packet analysis {"connection_id":46205,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:28:36] local.INFO: Extracted packet for processing {"connection_id":46205,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:28:36] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:28:36] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770778112001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:28:36] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:28:36] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:28:36] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,121,28,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:28:36] local.INFO: AVL Record Parsed {"raw_timestamp":1776448653000,"timestamp_ms":1776448653000,"timestamp_seconds":1776448653,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9746c8"} 
[2026-04-17 23:28:36] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:28:36] 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-04-17 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:28:36] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:28:36] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:28:36] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:28:36] local.INFO: Teltonika packet parsed successfully {"connection_id":46205,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:28:36] local.INFO: Passing IMEI to GPS processor {"connection_id":46205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:28:36] local.INFO: DEBUG: About to call GPS processor {"connection_id":46205,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:28:36] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:28:36] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:28:36] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:28:36] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770778112001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:28:36] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:28:36] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:28:36] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770778112001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:28:36] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:28:36] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:28:36] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:28:36] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:28:36] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770778112001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:28:36] local.INFO: DEBUG: GPS processor result {"connection_id":46205,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23614,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:28:36] local.INFO: GPS data processed {"connection_id":46205,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:28:36] local.INFO: Acknowledgment sent {"connection_id":46205,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:28:54] local.INFO: TCP Data received {"connection_id":46575,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:28:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:28:54] local.INFO: Processing buffer {"connection_id":46575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:28:54] local.INFO: IMEI packet received {"connection_id":46575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:28:54] local.INFO: IMEI acknowledgment sent {"connection_id":46575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:28:55] local.INFO: TCP Data received {"connection_id":46575,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:28:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:28:55] local.INFO: Processing buffer {"connection_id":46575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:28:55] local.INFO: IMEI packet received {"connection_id":46575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:28:55] local.INFO: IMEI acknowledgment sent {"connection_id":46575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:28:59] local.INFO: TCP Data received {"connection_id":46575,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:28:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46575,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:28:59] local.INFO: Processing buffer {"connection_id":46575,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:28:59] local.INFO: IMEI packet received {"connection_id":46575,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:28:59] local.INFO: IMEI acknowledgment sent {"connection_id":46575,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:29:00] local.INFO: TCP Data received {"connection_id":46575,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c975280012d77b9000600e2a00013013831..."} 
[2026-04-17 23:29:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c975280012d77b9000600e2a00013013831..."} 
[2026-04-17 23:29:00] local.INFO: Processing buffer {"connection_id":46575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c975280012d77b9000600e2a00013013831..."} 
[2026-04-17 23:29:00] local.INFO: Packet analysis {"connection_id":46575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:29:00] local.INFO: Extracted packet for processing {"connection_id":46575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:29:00] local.INFO: GPS Element Parsed {"raw_longitude":762820864,"raw_latitude":100721312,"longitude_deg":76.2820864,"latitude_deg":10.0721312,"altitude":19,"angle":312,"satellites":49,"speed":47,"hex_longitude":"2d77b900","hex_latitude":"0600e2a0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 23:29:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770853888001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:29:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274371526004834304,"note":"Value kept but may cause issues"} 
[2026-04-17 23:29:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8634456042615007232,"note":"Value kept but may cause issues"} 
[2026-04-17 23:29:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:29:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776448656000,"timestamp_ms":1776448656000,"timestamp_seconds":1776448656,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c975280"} 
[2026-04-17 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-04-17 23:29:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 23:29:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 23:29:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:29:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:29:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:29:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:29:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:29:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:29:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:29:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770853888001,"66":27463,"210":206,"8":65280,"24":47,"16":274371526004834304,"45":8634456042615007232},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-04-17 23:29:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:29:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:29:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770853888001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:29:00] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-17 23:29:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:29:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274371526004834304,"km_value":274371526004834.3,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:29:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8634456042615007232,"description":"Unknown IO ID 45"} 
[2026-04-17 23:29:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770853888001,"power":27463,"unknown_210":206,"unknown_8":65280,"ignition":47,"odometer":null,"unknown_45":8634456042615007232}} 
[2026-04-17 23:29:00] local.INFO: DEBUG: GPS processor result {"connection_id":46575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23615,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:29:00] local.INFO: GPS data processed {"connection_id":46575,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:29:00] local.INFO: Acknowledgment sent {"connection_id":46575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:29:04] local.INFO: TCP Data received {"connection_id":46575,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9771c0012d779c800600fb980013013731..."} 
[2026-04-17 23:29:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46575,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9771c0012d779c800600fb980013013731..."} 
[2026-04-17 23:29:04] local.INFO: Processing buffer {"connection_id":46575,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9771c0012d779c800600fb980013013731..."} 
[2026-04-17 23:29:04] local.INFO: Packet analysis {"connection_id":46575,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:29:04] local.INFO: Extracted packet for processing {"connection_id":46575,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:29:04] local.INFO: GPS Element Parsed {"raw_longitude":762813568,"raw_latitude":100727704,"longitude_deg":76.2813568,"latitude_deg":10.0727704,"altitude":19,"angle":311,"satellites":49,"speed":47,"hex_longitude":"2d779c80","hex_latitude":"0600fb98","is_valid_coordinates":true} 
[2026-04-17 23:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:29:04] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770855936001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:29:04] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274371994156269568,"note":"Value kept but may cause issues"} 
[2026-04-17 23:29:04] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8626926586989551616,"note":"Value kept but may cause issues"} 
[2026-04-17 23:29:04] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:29:04] local.INFO: AVL Record Parsed {"raw_timestamp":1776448664000,"timestamp_ms":1776448664000,"timestamp_seconds":1776448664,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9771c0"} 
[2026-04-17 23:29:04] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:29:04] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23:29:04] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 23:29: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-04-17 23:29:04] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:29:04] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:29:04] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:29:04] local.INFO: Teltonika packet parsed successfully {"connection_id":46575,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:29:04] local.INFO: Passing IMEI to GPS processor {"connection_id":46575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:29:04] local.INFO: DEBUG: About to call GPS processor {"connection_id":46575,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:29:04] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:29:04] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:29:04] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:29:04] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770855936001,"66":27397,"210":206,"8":65280,"24":47,"16":274371994156269568,"45":8626926586989551616},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-04-17 23:29:04] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:29:04] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:29:04] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770855936001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:29:04] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-17 23:29:04] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:29:04] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274371994156269568,"km_value":274371994156269.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:29:04] local.INFO: Unknown IO ID detected {"io_id":45,"value":8626926586989551616,"description":"Unknown IO ID 45"} 
[2026-04-17 23:29:04] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770855936001,"power":27397,"unknown_210":206,"unknown_8":65280,"ignition":47,"odometer":null,"unknown_45":8626926586989551616}} 
[2026-04-17 23:29:05] local.INFO: DEBUG: GPS processor result {"connection_id":46575,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23616,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:29:05] local.INFO: GPS data processed {"connection_id":46575,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:29:05] local.INFO: Acknowledgment sent {"connection_id":46575,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:29:08] local.INFO: TCP Data received {"connection_id":46322,"ip":"42.106.6.43","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:29:08] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46322,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:29:08] local.INFO: Processing buffer {"connection_id":46322,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:29:08] local.INFO: IMEI packet received {"connection_id":46322,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:29:08] local.INFO: IMEI acknowledgment sent {"connection_id":46322,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:29:20] local.INFO: TCP Data received {"connection_id":46323,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:29:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:29:20] local.INFO: Processing buffer {"connection_id":46323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:29:20] local.INFO: IMEI packet received {"connection_id":46323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:29:20] local.INFO: IMEI acknowledgment sent {"connection_id":46323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:29:25] local.INFO: TCP Data received {"connection_id":46323,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:29:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46323,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:29:25] local.INFO: Processing buffer {"connection_id":46323,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:29:25] local.INFO: IMEI packet received {"connection_id":46323,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:29:25] local.INFO: IMEI acknowledgment sent {"connection_id":46323,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:29:27] local.INFO: TCP Data received {"connection_id":46323,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:29:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:29:27] local.INFO: Processing buffer {"connection_id":46323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:29:27] local.INFO: Packet analysis {"connection_id":46323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:29:27] local.INFO: Extracted packet for processing {"connection_id":46323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:29:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:29:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770778112001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:29:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:29:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:29: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-04-17 23:29:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776448653000,"timestamp_ms":1776448653000,"timestamp_seconds":1776448653,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9746c8"} 
[2026-04-17 23:29:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:29:27] 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-04-17 23: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":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:29: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-04-17 23:29:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:29:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:29:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:29:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:29:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:29:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:29:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:29:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:29:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:29:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770778112001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:29:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:29:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:29:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770778112001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:29:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:29:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:29:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:29:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:29:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770778112001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:29:27] local.INFO: DEBUG: GPS processor result {"connection_id":46323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23617,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:29:27] local.INFO: GPS data processed {"connection_id":46323,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:29:27] local.INFO: Acknowledgment sent {"connection_id":46323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:29:49] local.INFO: TCP Data received {"connection_id":46324,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:29:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:29:49] local.INFO: Processing buffer {"connection_id":46324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:29:49] local.INFO: IMEI packet received {"connection_id":46324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:29:49] local.INFO: IMEI acknowledgment sent {"connection_id":46324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:29:54] local.INFO: TCP Data received {"connection_id":46324,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:29:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46324,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:29:54] local.INFO: Processing buffer {"connection_id":46324,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:29:54] local.INFO: IMEI packet received {"connection_id":46324,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:29:54] local.INFO: IMEI acknowledgment sent {"connection_id":46324,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:29:58] local.INFO: TCP Data received {"connection_id":46323,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:29:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46323,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:29:58] local.INFO: Processing buffer {"connection_id":46323,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:29:58] local.INFO: Packet analysis {"connection_id":46323,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:29:58] local.INFO: Extracted packet for processing {"connection_id":46323,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:29:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:29:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770778112001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:29:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:29:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:29: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-04-17 23:29:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776448653000,"timestamp_ms":1776448653000,"timestamp_seconds":1776448653,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9746c8"} 
[2026-04-17 23:29:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:29:58] 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-04-17 23: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":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:29:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:29:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:29:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:29:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46323,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:29:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:29:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46323,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:29:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:29:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:29:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:29:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770778112001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:29:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:29:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:29:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770778112001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:29:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:29:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:29:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:29:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:29:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770778112001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:29:58] local.INFO: DEBUG: GPS processor result {"connection_id":46323,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23618,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:29:58] local.INFO: GPS data processed {"connection_id":46323,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:29:58] local.INFO: Acknowledgment sent {"connection_id":46323,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:30:01] local.INFO: TCP Data received {"connection_id":46324,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c979100012d778000060114d80013013730..."} 
[2026-04-17 23:30:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c979100012d778000060114d80013013730..."} 
[2026-04-17 23:30:01] local.INFO: Processing buffer {"connection_id":46324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c979100012d778000060114d80013013730..."} 
[2026-04-17 23:30:01] local.INFO: Packet analysis {"connection_id":46324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:30:01] local.INFO: Extracted packet for processing {"connection_id":46324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:30:01] local.INFO: GPS Element Parsed {"raw_longitude":762806272,"raw_latitude":100734168,"longitude_deg":76.2806272,"latitude_deg":10.0734168,"altitude":19,"angle":311,"satellites":48,"speed":49,"hex_longitude":"2d778000","hex_latitude":"060114d8","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:30:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770857984001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:30:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274372462307704832,"note":"Value kept but may cause issues"} 
[2026-04-17 23:30:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8618904550154934272,"note":"Value kept but may cause issues"} 
[2026-04-17 23:30:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,210,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:30:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776448672000,"timestamp_ms":1776448672000,"timestamp_seconds":1776448672,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c979100"} 
[2026-04-17 23:30:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:30:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23:30:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 23:30: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-04-17 23: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-04-17 23:30:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:30:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:30:01] local.INFO: Teltonika packet parsed successfully {"connection_id":46324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:30:01] local.INFO: Passing IMEI to GPS processor {"connection_id":46324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:30:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":46324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:30:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:30:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:30:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:30:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770857984001,"66":27397,"210":206,"8":65280,"24":49,"16":274372462307704832,"45":8618904550154934272},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,210,8,24,16,45]} 
[2026-04-17 23:30:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:30:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:30:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770857984001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:30:01] local.INFO: Unknown IO ID detected {"io_id":210,"value":206,"description":"Unknown IO ID 210"} 
[2026-04-17 23:30:01] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:30:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274372462307704832,"km_value":274372462307704.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:30:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8618904550154934272,"description":"Unknown IO ID 45"} 
[2026-04-17 23:30:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770857984001,"power":27397,"unknown_210":206,"unknown_8":65280,"ignition":49,"odometer":null,"unknown_45":8618904550154934272}} 
[2026-04-17 23:30:01] local.INFO: DEBUG: GPS processor result {"connection_id":46324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23619,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:30:01] local.INFO: GPS data processed {"connection_id":46324,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:30:01] local.INFO: Acknowledgment sent {"connection_id":46324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:30:20] local.INFO: TCP Data received {"connection_id":46206,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:30:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:30:20] local.INFO: Processing buffer {"connection_id":46206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:30:20] local.INFO: IMEI packet received {"connection_id":46206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:30:20] local.INFO: IMEI acknowledgment sent {"connection_id":46206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:30:25] local.INFO: TCP Data received {"connection_id":46206,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:30:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46206,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:30:25] local.INFO: Processing buffer {"connection_id":46206,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:30:25] local.INFO: IMEI packet received {"connection_id":46206,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:30:25] local.INFO: IMEI acknowledgment sent {"connection_id":46206,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:30:27] local.INFO: TCP Data received {"connection_id":46206,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:30:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:30:27] local.INFO: Processing buffer {"connection_id":46206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:30:27] local.INFO: Packet analysis {"connection_id":46206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:30:27] local.INFO: Extracted packet for processing {"connection_id":46206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:30:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:30:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770778112001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:30:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:30:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:30: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-04-17 23:30:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776448653000,"timestamp_ms":1776448653000,"timestamp_seconds":1776448653,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9746c8"} 
[2026-04-17 23:30:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:30:27] 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-04-17 23:30:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:30: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-04-17 23:30:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:30:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:30:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:30:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:30:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:30:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:30:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:30:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:30:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:30:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770778112001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:30:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:30:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:30:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770778112001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:30:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:30:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:30:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:30:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:30:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770778112001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:30:27] local.INFO: DEBUG: GPS processor result {"connection_id":46206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23620,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:30:27] local.INFO: GPS data processed {"connection_id":46206,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:30:27] local.INFO: Acknowledgment sent {"connection_id":46206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:30:32] local.INFO: TCP Data received {"connection_id":46324,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c994298012d764b40060220900008011f33..."} 
[2026-04-17 23:30:32] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46324,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c994298012d764b40060220900008011f33..."} 
[2026-04-17 23:30:32] local.INFO: Processing buffer {"connection_id":46324,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c994298012d764b40060220900008011f33..."} 
[2026-04-17 23:30:32] local.INFO: Packet analysis {"connection_id":46324,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c99"} 
[2026-04-17 23:30:32] local.INFO: Extracted packet for processing {"connection_id":46324,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c99"} 
[2026-04-17 23:30:32] local.INFO: GPS Element Parsed {"raw_longitude":762727232,"raw_latitude":100802704,"longitude_deg":76.2727232,"latitude_deg":10.0802704,"altitude":8,"angle":287,"satellites":51,"speed":30,"hex_longitude":"2d764b40","hex_latitude":"06022090","is_valid_coordinates":true} 
[2026-04-17 23:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:30:32] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770887680001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:30:32] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274377521779179520,"note":"Value kept but may cause issues"} 
[2026-04-17 23:30:32] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8526369651580413952,"note":"Value kept but may cause issues"} 
[2026-04-17 23:30:32] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:30:32] local.INFO: AVL Record Parsed {"raw_timestamp":1776448783000,"timestamp_ms":1776448783000,"timestamp_seconds":1776448783,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c994298"} 
[2026-04-17 23:30:32] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:30:32] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23:30:32] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 23:30:32] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:30:32] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:30:32] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:30:32] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:30:32] local.INFO: Teltonika packet parsed successfully {"connection_id":46324,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:30:32] local.INFO: Passing IMEI to GPS processor {"connection_id":46324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:30:32] local.INFO: DEBUG: About to call GPS processor {"connection_id":46324,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:30:32] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:30:32] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:30:32] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:30:32] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770887680001,"66":27245,"162":206,"8":65280,"24":30,"16":274377521779179520,"45":8526369651580413952},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,8,24,16,45]} 
[2026-04-17 23:30:32] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:30:32] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:30:32] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770887680001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:30:32] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-04-17 23:30:32] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:30:32] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274377521779179520,"km_value":274377521779179.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:30:32] local.INFO: Unknown IO ID detected {"io_id":45,"value":8526369651580413952,"description":"Unknown IO ID 45"} 
[2026-04-17 23:30:32] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770887680001,"power":27245,"unknown_162":206,"unknown_8":65280,"ignition":30,"odometer":null,"unknown_45":8526369651580413952}} 
[2026-04-17 23:30:32] local.INFO: DEBUG: GPS processor result {"connection_id":46324,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23621,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:30:32] local.INFO: GPS data processed {"connection_id":46324,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:30:32] local.INFO: Acknowledgment sent {"connection_id":46324,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:30:49] local.INFO: TCP Data received {"connection_id":47061,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:30:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:30:49] local.INFO: Processing buffer {"connection_id":47061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:30:49] local.INFO: IMEI packet received {"connection_id":47061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:30:49] local.INFO: IMEI acknowledgment sent {"connection_id":47061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:30:54] local.INFO: TCP Data received {"connection_id":47061,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:30:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47061,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:30:54] local.INFO: Processing buffer {"connection_id":47061,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:30:54] local.INFO: IMEI packet received {"connection_id":47061,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:30:54] local.INFO: IMEI acknowledgment sent {"connection_id":47061,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:30:55] local.INFO: TCP Data received {"connection_id":47061,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c994a68012d764580060223300008012d33..."} 
[2026-04-17 23:30:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c994a68012d764580060223300008012d33..."} 
[2026-04-17 23:30:55] local.INFO: Processing buffer {"connection_id":47061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c994a68012d764580060223300008012d33..."} 
[2026-04-17 23:30:55] local.INFO: Packet analysis {"connection_id":47061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c99"} 
[2026-04-17 23:30:55] local.INFO: Extracted packet for processing {"connection_id":47061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c99"} 
[2026-04-17 23:30:55] local.INFO: GPS Element Parsed {"raw_longitude":762725760,"raw_latitude":100803376,"longitude_deg":76.272576,"latitude_deg":10.0803376,"altitude":8,"angle":301,"satellites":51,"speed":31,"hex_longitude":"2d764580","hex_latitude":"06022330","is_valid_coordinates":true} 
[2026-04-17 23:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:30:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770888448001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:30:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274377599088590848,"note":"Value kept but may cause issues"} 
[2026-04-17 23:30:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8523977114278465536,"note":"Value kept but may cause issues"} 
[2026-04-17 23:30:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:30:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776448785000,"timestamp_ms":1776448785000,"timestamp_seconds":1776448785,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c994a68"} 
[2026-04-17 23:30:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:30:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23:30:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-17 23:30:55] 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-04-17 23:30:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:30:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:30:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:30:55] local.INFO: Teltonika packet parsed successfully {"connection_id":47061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:30:55] local.INFO: Passing IMEI to GPS processor {"connection_id":47061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:30:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":47061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:30:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:30:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:30:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:30:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770888448001,"66":27321,"162":206,"8":65280,"24":31,"16":274377599088590848,"45":8523977114278465536},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,8,24,16,45]} 
[2026-04-17 23:30:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:30:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:30:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770888448001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:30:55] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-04-17 23:30:55] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:30:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274377599088590848,"km_value":274377599088590.84,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:30:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8523977114278465536,"description":"Unknown IO ID 45"} 
[2026-04-17 23:30:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770888448001,"power":27321,"unknown_162":206,"unknown_8":65280,"ignition":31,"odometer":null,"unknown_45":8523977114278465536}} 
[2026-04-17 23:30:55] local.INFO: DEBUG: GPS processor result {"connection_id":47061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23622,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:30:55] local.INFO: GPS data processed {"connection_id":47061,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:30:55] local.INFO: Acknowledgment sent {"connection_id":47061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:30:59] local.INFO: TCP Data received {"connection_id":46206,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:30:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46206,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:30:59] local.INFO: Processing buffer {"connection_id":46206,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:30:59] local.INFO: Packet analysis {"connection_id":46206,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:30:59] local.INFO: Extracted packet for processing {"connection_id":46206,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:30:59] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:30:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770778112001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:30:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:30:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:30: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-04-17 23:30:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776448653000,"timestamp_ms":1776448653000,"timestamp_seconds":1776448653,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9746c8"} 
[2026-04-17 23:30:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:30:59] 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-04-17 23:30:59] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:30: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-04-17 23:30:59] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:30:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:30:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:30:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46206,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:30:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:30:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46206,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:30:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:30:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:30:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:30:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770778112001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:30:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:30:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:30:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770778112001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:30:59] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:30:59] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:30:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:30:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:30:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770778112001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:30:59] local.INFO: DEBUG: GPS processor result {"connection_id":46206,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23623,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:30:59] local.INFO: GPS data processed {"connection_id":46206,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:30:59] local.INFO: Acknowledgment sent {"connection_id":46206,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:31:20] local.INFO: TCP Data received {"connection_id":46327,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:31:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:31:20] local.INFO: Processing buffer {"connection_id":46327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:31:20] local.INFO: IMEI packet received {"connection_id":46327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:31:20] local.INFO: IMEI acknowledgment sent {"connection_id":46327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:31:25] local.INFO: TCP Data received {"connection_id":46327,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:31:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46327,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:31:25] local.INFO: Processing buffer {"connection_id":46327,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:31:25] local.INFO: IMEI packet received {"connection_id":46327,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":true} 
[2026-04-17 23:31:25] local.INFO: IMEI acknowledgment sent {"connection_id":46327,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:31:26] local.INFO: TCP Data received {"connection_id":47061,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9965c0012d76368006022f600008013a34..."} 
[2026-04-17 23:31:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47061,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9965c0012d76368006022f600008013a34..."} 
[2026-04-17 23:31:26] local.INFO: Processing buffer {"connection_id":47061,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9965c0012d76368006022f600008013a34..."} 
[2026-04-17 23:31:26] local.INFO: Packet analysis {"connection_id":47061,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c99"} 
[2026-04-17 23:31:26] local.INFO: Extracted packet for processing {"connection_id":47061,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c99"} 
[2026-04-17 23:31:26] local.INFO: GPS Element Parsed {"raw_longitude":762721920,"raw_latitude":100806496,"longitude_deg":76.272192,"latitude_deg":10.0806496,"altitude":8,"angle":314,"satellites":52,"speed":28,"hex_longitude":"2d763680","hex_latitude":"06022f60","is_valid_coordinates":true} 
[2026-04-17 23:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:31:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770888960001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:31:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274377835311792128,"note":"Value kept but may cause issues"} 
[2026-04-17 23:31:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8522358633162551296,"note":"Value kept but may cause issues"} 
[2026-04-17 23:31:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:31:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776448792000,"timestamp_ms":1776448792000,"timestamp_seconds":1776448792,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9965c0"} 
[2026-04-17 23:31:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:31: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-04-17 23:31:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 23:31:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:31:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:31:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:31:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:31:26] local.INFO: Teltonika packet parsed successfully {"connection_id":47061,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:31:26] local.INFO: Passing IMEI to GPS processor {"connection_id":47061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:31:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":47061,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:31:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:31:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:31:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:31:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770888960001,"66":27484,"162":206,"8":65280,"24":28,"16":274377835311792128,"45":8522358633162551296},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,8,24,16,45]} 
[2026-04-17 23:31:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:31:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:31:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770888960001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:31:26] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-04-17 23:31:26] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:31:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274377835311792128,"km_value":274377835311792.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:31:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8522358633162551296,"description":"Unknown IO ID 45"} 
[2026-04-17 23:31:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770888960001,"power":27484,"unknown_162":206,"unknown_8":65280,"ignition":28,"odometer":null,"unknown_45":8522358633162551296}} 
[2026-04-17 23:31:26] local.INFO: DEBUG: GPS processor result {"connection_id":47061,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23624,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:31:26] local.INFO: GPS data processed {"connection_id":47061,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:31:26] local.INFO: Acknowledgment sent {"connection_id":47061,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:31:27] local.INFO: TCP Data received {"connection_id":46327,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:31:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:31:27] local.INFO: Processing buffer {"connection_id":46327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:31:27] local.INFO: Packet analysis {"connection_id":46327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:31:27] local.INFO: Extracted packet for processing {"connection_id":46327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:31:27] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:31:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770778112001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:31:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:31:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:31: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-04-17 23:31:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776448653000,"timestamp_ms":1776448653000,"timestamp_seconds":1776448653,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9746c8"} 
[2026-04-17 23:31:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:31:27] 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-04-17 23:31:27] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:31: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-04-17 23:31:27] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:31:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:31:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:31:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:31:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:31:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:31:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:31:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:31:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:31:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770778112001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:31:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:31:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:31:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770778112001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:31:27] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:31:27] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:31:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:31:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:31:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770778112001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:31:27] local.INFO: DEBUG: GPS processor result {"connection_id":46327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23625,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:31:27] local.INFO: GPS data processed {"connection_id":46327,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:31:27] local.INFO: Acknowledgment sent {"connection_id":46327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:31:49] local.INFO: TCP Data received {"connection_id":46576,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:31:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:31:49] local.INFO: Processing buffer {"connection_id":46576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:31:49] local.INFO: IMEI packet received {"connection_id":46576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:31:49] local.INFO: IMEI acknowledgment sent {"connection_id":46576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:31:54] local.INFO: TCP Data received {"connection_id":46576,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:31:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46576,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:31:54] local.INFO: Processing buffer {"connection_id":46576,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:31:54] local.INFO: IMEI packet received {"connection_id":46576,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:31:54] local.INFO: IMEI acknowledgment sent {"connection_id":46576,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:31:55] local.INFO: TCP Data received {"connection_id":46576,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c997178012d763100060236380008014933..."} 
[2026-04-17 23:31:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c997178012d763100060236380008014933..."} 
[2026-04-17 23:31:55] local.INFO: Processing buffer {"connection_id":46576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c997178012d763100060236380008014933..."} 
[2026-04-17 23:31:55] local.INFO: Packet analysis {"connection_id":46576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c99"} 
[2026-04-17 23:31:55] local.INFO: Extracted packet for processing {"connection_id":46576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c99"} 
[2026-04-17 23:31:55] local.INFO: GPS Element Parsed {"raw_longitude":762720512,"raw_latitude":100808248,"longitude_deg":76.2720512,"latitude_deg":10.0808248,"altitude":8,"angle":329,"satellites":51,"speed":29,"hex_longitude":"2d763100","hex_latitude":"06023638","is_valid_coordinates":true} 
[2026-04-17 23:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:31:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770890752001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:31:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274377946980941824,"note":"Value kept but may cause issues"} 
[2026-04-17 23:31:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8518136508512690176,"note":"Value kept but may cause issues"} 
[2026-04-17 23:31:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:31:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776448795000,"timestamp_ms":1776448795000,"timestamp_seconds":1776448795,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c997178"} 
[2026-04-17 23:31:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:31:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23:31:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 23:31:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:31:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:31:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:31:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:31:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:31:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:31:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:31:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:31:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:31:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:31:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770890752001,"66":27126,"162":206,"8":65280,"24":29,"16":274377946980941824,"45":8518136508512690176},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,8,24,16,45]} 
[2026-04-17 23:31:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:31:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:31:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770890752001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:31:55] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-04-17 23:31:55] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:31:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274377946980941824,"km_value":274377946980941.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:31:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8518136508512690176,"description":"Unknown IO ID 45"} 
[2026-04-17 23:31:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770890752001,"power":27126,"unknown_162":206,"unknown_8":65280,"ignition":29,"odometer":null,"unknown_45":8518136508512690176}} 
[2026-04-17 23:31:55] local.INFO: DEBUG: GPS processor result {"connection_id":46576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23626,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:31:55] local.INFO: GPS data processed {"connection_id":46576,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:31:55] local.INFO: Acknowledgment sent {"connection_id":46576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:31:58] local.INFO: TCP Data received {"connection_id":46327,"ip":"117.224.167.9","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:31:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46327,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:31:58] local.INFO: Processing buffer {"connection_id":46327,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9746c8012d196500071ff090003a013b28..."} 
[2026-04-17 23:31:58] local.INFO: Packet analysis {"connection_id":46327,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:31:58] local.INFO: Extracted packet for processing {"connection_id":46327,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c97"} 
[2026-04-17 23:31:58] local.INFO: GPS Element Parsed {"raw_longitude":756638976,"raw_latitude":119533712,"longitude_deg":75.6638976,"latitude_deg":11.9533712,"altitude":58,"angle":315,"satellites":40,"speed":0,"hex_longitude":"2d196500","hex_latitude":"071ff090","is_valid_coordinates":true} 
[2026-04-17 23:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:31:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770778112001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:31:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":113544040359657472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:31:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":1829868854196604928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:31: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-04-17 23:31:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776448653000,"timestamp_ms":1776448653000,"timestamp_seconds":1776448653,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9746c8"} 
[2026-04-17 23:31:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:31:58] 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-04-17 23:31:58] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":8,"n8_eight_byte":118,"data_length":795,"current_offset":136} 
[2026-04-17 23:31:58] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1300,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:31:58] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:31:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:31:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:31:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46327,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:31:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:31:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46327,"device_imei":"862567074811360","avl_records_count":1} 
[2026-04-17 23:31:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074811360","client_ip":"117.224.167.9","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:31:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074811360"} 
[2026-04-17 23:31:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074811360","exists":true} 
[2026-04-17 23:31:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770778112001,"66":2144,"121":206,"28":31744,"24":0,"16":113544040359657472,"45":1829868854196604928},"client_ip":"117.224.167.9","device_imei_from_tcp":"862567074811360","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,121,28,24,16,45]} 
[2026-04-17 23:31:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074811360"} 
[2026-04-17 23:31:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074811360","device_id":185893,"device_uniqueid":"862567074811360"} 
[2026-04-17 23:31:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770778112001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:31:58] local.INFO: Unknown IO ID detected {"io_id":121,"value":206,"description":"Unknown IO ID 121"} 
[2026-04-17 23:31:58] local.INFO: Unknown IO ID detected {"io_id":28,"value":31744,"description":"Unknown IO ID 28"} 
[2026-04-17 23:31:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":113544040359657472,"km_value":113544040359657.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:31:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":1829868854196604928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:31:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770778112001,"power":2144,"unknown_121":206,"unknown_28":31744,"ignition":0,"odometer":null,"unknown_45":1829868854196604928}} 
[2026-04-17 23:31:58] local.INFO: DEBUG: GPS processor result {"connection_id":46327,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23627,"device_id":185893,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:31:58] local.INFO: GPS data processed {"connection_id":46327,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:31:58] local.INFO: Acknowledgment sent {"connection_id":46327,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:32:20] local.INFO: TCP Data received {"connection_id":46328,"ip":"117.224.167.9","data_length":17,"data_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:32:20] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46328,"packet_length":17,"packet_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:32:20] local.INFO: Processing buffer {"connection_id":46328,"buffer_length":17,"buffer_hex":"000f383632353637303734383131333630..."} 
[2026-04-17 23:32:20] local.INFO: IMEI packet received {"connection_id":46328,"imei_length":15,"imei_hex":"383632353637303734383131333630","imei":"862567074811360","is_repeated":false} 
[2026-04-17 23:32:20] local.INFO: IMEI acknowledgment sent {"connection_id":46328,"imei":"862567074811360","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:32:26] local.INFO: TCP Data received {"connection_id":46576,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c997948012d762ec006023b480008015934..."} 
[2026-04-17 23:32:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46576,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c997948012d762ec006023b480008015934..."} 
[2026-04-17 23:32:26] local.INFO: Processing buffer {"connection_id":46576,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c997948012d762ec006023b480008015934..."} 
[2026-04-17 23:32:26] local.INFO: Packet analysis {"connection_id":46576,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c99"} 
[2026-04-17 23:32:26] local.INFO: Extracted packet for processing {"connection_id":46576,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c99"} 
[2026-04-17 23:32:26] local.INFO: GPS Element Parsed {"raw_longitude":762719936,"raw_latitude":100809544,"longitude_deg":76.2719936,"latitude_deg":10.0809544,"altitude":8,"angle":345,"satellites":52,"speed":27,"hex_longitude":"2d762ec0","hex_latitude":"06023b48","is_valid_coordinates":true} 
[2026-04-17 23:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:32:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770891520001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:32:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274378015700418560,"note":"Value kept but may cause issues"} 
[2026-04-17 23:32:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8516588396141230080,"note":"Value kept but may cause issues"} 
[2026-04-17 23:32:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,162,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:32:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776448797000,"timestamp_ms":1776448797000,"timestamp_seconds":1776448797,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c997948"} 
[2026-04-17 23:32:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:32: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-04-17 23:32:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":105,"n8_eight_byte":246,"data_length":795,"current_offset":136} 
[2026-04-17 23:32:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2937,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:32:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:32:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:32:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:32:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46576,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:32:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:32:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46576,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:32:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:32:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:32:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:32:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770891520001,"66":27321,"162":206,"8":65280,"24":27,"16":274378015700418560,"45":8516588396141230080},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,162,8,24,16,45]} 
[2026-04-17 23:32:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:32:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:32:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770891520001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:32:26] local.INFO: Unknown IO ID detected {"io_id":162,"value":206,"description":"Unknown IO ID 162"} 
[2026-04-17 23:32:26] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:32:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274378015700418560,"km_value":274378015700418.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:32:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8516588396141230080,"description":"Unknown IO ID 45"} 
[2026-04-17 23:32:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770891520001,"power":27321,"unknown_162":206,"unknown_8":65280,"ignition":27,"odometer":null,"unknown_45":8516588396141230080}} 
[2026-04-17 23:32:26] local.INFO: DEBUG: GPS processor result {"connection_id":46576,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23628,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:32:26] local.INFO: GPS data processed {"connection_id":46576,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:32:26] local.INFO: Acknowledgment sent {"connection_id":46576,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:32:49] local.INFO: TCP Data received {"connection_id":47062,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:32:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:32:49] local.INFO: Processing buffer {"connection_id":47062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:32:49] local.INFO: IMEI packet received {"connection_id":47062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:32:49] local.INFO: IMEI acknowledgment sent {"connection_id":47062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:32:53] local.INFO: TCP Data received {"connection_id":47062,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:32:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:32:53] local.INFO: Processing buffer {"connection_id":47062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:32:53] local.INFO: IMEI packet received {"connection_id":47062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:32:53] local.INFO: IMEI acknowledgment sent {"connection_id":47062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:32:54] local.INFO: TCP Data received {"connection_id":47062,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:32:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47062,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:32:54] local.INFO: Processing buffer {"connection_id":47062,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:32:54] local.INFO: IMEI packet received {"connection_id":47062,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:32:54] local.INFO: IMEI acknowledgment sent {"connection_id":47062,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:32:55] local.INFO: TCP Data received {"connection_id":47062,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9b4638012d758d00060362b00007015531..."} 
[2026-04-17 23:32:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9b4638012d758d00060362b00007015531..."} 
[2026-04-17 23:32:55] local.INFO: Processing buffer {"connection_id":47062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9b4638012d758d00060362b00007015531..."} 
[2026-04-17 23:32:55] local.INFO: Packet analysis {"connection_id":47062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c9b"} 
[2026-04-17 23:32:55] local.INFO: Extracted packet for processing {"connection_id":47062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c9b"} 
[2026-04-17 23:32:55] local.INFO: GPS Element Parsed {"raw_longitude":762678528,"raw_latitude":100885168,"longitude_deg":76.2678528,"latitude_deg":10.0885168,"altitude":7,"angle":341,"satellites":49,"speed":54,"hex_longitude":"2d758d00","hex_latitude":"060362b0","is_valid_coordinates":true} 
[2026-04-17 23:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:32:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770920192001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:32:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274382289192878080,"note":"Value kept but may cause issues"} 
[2026-04-17 23:32:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8473874568442605568,"note":"Value kept but may cause issues"} 
[2026-04-17 23:32:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:32:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776448915000,"timestamp_ms":1776448915000,"timestamp_seconds":1776448915,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9b4638"} 
[2026-04-17 23:32:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:32:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23:32:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 23:32:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2492,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:32:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:32:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:32:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:32:55] local.INFO: Teltonika packet parsed successfully {"connection_id":47062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:32:55] local.INFO: Passing IMEI to GPS processor {"connection_id":47062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:32:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":47062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:32:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:32:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:32:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:32:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770920192001,"66":27571,"62":206,"8":65280,"24":54,"16":274382289192878080,"45":8473874568442605568},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,8,24,16,45]} 
[2026-04-17 23:32:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:32:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:32:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770920192001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:32:55] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 23:32:55] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:32:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274382289192878080,"km_value":274382289192878.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:32:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8473874568442605568,"description":"Unknown IO ID 45"} 
[2026-04-17 23:32:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770920192001,"power":27571,"unknown_62":206,"unknown_8":65280,"ignition":54,"odometer":null,"unknown_45":8473874568442605568}} 
[2026-04-17 23:32:55] local.INFO: DEBUG: GPS processor result {"connection_id":47062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23629,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:32:55] local.INFO: GPS data processed {"connection_id":47062,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:32:55] local.INFO: Acknowledgment sent {"connection_id":47062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:33:00] local.INFO: TCP Data received {"connection_id":47062,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9b6190012d758100060387c80008015731..."} 
[2026-04-17 23:33:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9b6190012d758100060387c80008015731..."} 
[2026-04-17 23:33:00] local.INFO: Processing buffer {"connection_id":47062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9b6190012d758100060387c80008015731..."} 
[2026-04-17 23:33:00] local.INFO: Packet analysis {"connection_id":47062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c9b"} 
[2026-04-17 23:33:00] local.INFO: Extracted packet for processing {"connection_id":47062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c9b"} 
[2026-04-17 23:33:00] local.INFO: GPS Element Parsed {"raw_longitude":762675456,"raw_latitude":100894664,"longitude_deg":76.2675456,"latitude_deg":10.0894664,"altitude":8,"angle":343,"satellites":49,"speed":57,"hex_longitude":"2d758100","hex_latitude":"060387c8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 23:33:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770922240001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:33:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274382774524182528,"note":"Value kept but may cause issues"} 
[2026-04-17 23:33:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8470426499980374016,"note":"Value kept but may cause issues"} 
[2026-04-17 23:33:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:33:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776448922000,"timestamp_ms":1776448922000,"timestamp_seconds":1776448922,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9b6190"} 
[2026-04-17 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-04-17 23:33:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":107,"n8_eight_byte":179,"data_length":795,"current_offset":136} 
[2026-04-17 23:33:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2344,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 23:33:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:33:00] local.INFO: Teltonika packet parsed successfully {"connection_id":47062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:33:00] local.INFO: Passing IMEI to GPS processor {"connection_id":47062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:33:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":47062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:33:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:33:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:33:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:33:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770922240001,"66":27267,"62":206,"8":65280,"24":57,"16":274382774524182528,"45":8470426499980374016},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,8,24,16,45]} 
[2026-04-17 23:33:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:33:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:33:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770922240001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:33:00] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 23:33:00] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:33:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274382774524182528,"km_value":274382774524182.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:33:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":8470426499980374016,"description":"Unknown IO ID 45"} 
[2026-04-17 23:33:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770922240001,"power":27267,"unknown_62":206,"unknown_8":65280,"ignition":57,"odometer":null,"unknown_45":8470426499980374016}} 
[2026-04-17 23:33:00] local.INFO: DEBUG: GPS processor result {"connection_id":47062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23630,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:33:00] local.INFO: GPS data processed {"connection_id":47062,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:33:00] local.INFO: Acknowledgment sent {"connection_id":47062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:33:30] local.INFO: TCP Data received {"connection_id":47062,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9b7ce8012d7575c00603ade0000a015630..."} 
[2026-04-17 23:33:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47062,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9b7ce8012d7575c00603ade0000a015630..."} 
[2026-04-17 23:33:30] local.INFO: Processing buffer {"connection_id":47062,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9b7ce8012d7575c00603ade0000a015630..."} 
[2026-04-17 23:33:30] local.INFO: Packet analysis {"connection_id":47062,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c9b"} 
[2026-04-17 23:33:30] local.INFO: Extracted packet for processing {"connection_id":47062,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c9b"} 
[2026-04-17 23:33:30] local.INFO: GPS Element Parsed {"raw_longitude":762672576,"raw_latitude":100904416,"longitude_deg":76.2672576,"latitude_deg":10.0904416,"altitude":10,"angle":342,"satellites":48,"speed":58,"hex_longitude":"2d7575c0","hex_latitude":"0603ade0","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:33:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770924032001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:33:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274383268445421568,"note":"Value kept but may cause issues"} 
[2026-04-17 23:33:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8467048800262277120,"note":"Value kept but may cause issues"} 
[2026-04-17 23:33:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:33:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776448929000,"timestamp_ms":1776448929000,"timestamp_seconds":1776448929,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9b7ce8"} 
[2026-04-17 23:33:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:33: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-04-17 23: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":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 23:33: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-04-17 23: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-04-17 23:33:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:33:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:33:30] local.INFO: Teltonika packet parsed successfully {"connection_id":47062,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:33:30] local.INFO: Passing IMEI to GPS processor {"connection_id":47062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:33:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":47062,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:33:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:33:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:33:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:33:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770924032001,"66":27300,"62":206,"8":65280,"24":58,"16":274383268445421568,"45":8467048800262277120},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,8,24,16,45]} 
[2026-04-17 23:33:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:33:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:33:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770924032001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:33:30] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 23:33:30] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:33:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274383268445421568,"km_value":274383268445421.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:33:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8467048800262277120,"description":"Unknown IO ID 45"} 
[2026-04-17 23:33:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770924032001,"power":27300,"unknown_62":206,"unknown_8":65280,"ignition":58,"odometer":null,"unknown_45":8467048800262277120}} 
[2026-04-17 23:33:30] local.INFO: DEBUG: GPS processor result {"connection_id":47062,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23631,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:33:30] local.INFO: GPS data processed {"connection_id":47062,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:33:30] local.INFO: Acknowledgment sent {"connection_id":47062,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:33:49] local.INFO: TCP Data received {"connection_id":46577,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:33:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:33:49] local.INFO: Processing buffer {"connection_id":46577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:33:49] local.INFO: IMEI packet received {"connection_id":46577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:33:49] local.INFO: IMEI acknowledgment sent {"connection_id":46577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:33:50] local.INFO: TCP Data received {"connection_id":46577,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:33:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:33:50] local.INFO: Processing buffer {"connection_id":46577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:33:50] local.INFO: IMEI packet received {"connection_id":46577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:33:50] local.INFO: IMEI acknowledgment sent {"connection_id":46577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:33:54] local.INFO: TCP Data received {"connection_id":46577,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:33:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46577,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:33:54] local.INFO: Processing buffer {"connection_id":46577,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:33:54] local.INFO: IMEI packet received {"connection_id":46577,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:33:54] local.INFO: IMEI acknowledgment sent {"connection_id":46577,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:33:55] local.INFO: TCP Data received {"connection_id":46577,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9b9458012d756c400603cf58000a015930..."} 
[2026-04-17 23:33:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9b9458012d756c400603cf58000a015930..."} 
[2026-04-17 23:33:55] local.INFO: Processing buffer {"connection_id":46577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9b9458012d756c400603cf58000a015930..."} 
[2026-04-17 23:33:55] local.INFO: Packet analysis {"connection_id":46577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c9b"} 
[2026-04-17 23:33:55] local.INFO: Extracted packet for processing {"connection_id":46577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c9b"} 
[2026-04-17 23:33:55] local.INFO: GPS Element Parsed {"raw_longitude":762670144,"raw_latitude":100912984,"longitude_deg":76.2670144,"latitude_deg":10.0912984,"altitude":10,"angle":345,"satellites":48,"speed":59,"hex_longitude":"2d756c40","hex_latitude":"0603cf58","is_valid_coordinates":true} 
[2026-04-17 23:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:33:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770925824001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:33:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274383697942151168,"note":"Value kept but may cause issues"} 
[2026-04-17 23:33:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8463882206776778752,"note":"Value kept but may cause issues"} 
[2026-04-17 23:33:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:33:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776448935000,"timestamp_ms":1776448935000,"timestamp_seconds":1776448935,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9b9458"} 
[2026-04-17 23:33:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:33:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23:33:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 23:33:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:33:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:33:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:33:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:33:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:33:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:33:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:33:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:33:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:33:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:33:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770925824001,"66":27463,"62":206,"8":65280,"24":59,"16":274383697942151168,"45":8463882206776778752},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,8,24,16,45]} 
[2026-04-17 23:33:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:33:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:33:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770925824001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:33:55] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 23:33:55] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:33:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274383697942151168,"km_value":274383697942151.16,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:33:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8463882206776778752,"description":"Unknown IO ID 45"} 
[2026-04-17 23:33:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770925824001,"power":27463,"unknown_62":206,"unknown_8":65280,"ignition":59,"odometer":null,"unknown_45":8463882206776778752}} 
[2026-04-17 23:33:55] local.INFO: DEBUG: GPS processor result {"connection_id":46577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23632,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:33:55] local.INFO: GPS data processed {"connection_id":46577,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:33:55] local.INFO: Acknowledgment sent {"connection_id":46577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:34:23] local.INFO: TCP Data received {"connection_id":46209,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:34:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46209,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:34:23] local.INFO: Processing buffer {"connection_id":46209,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:34:23] local.INFO: IMEI packet received {"connection_id":46209,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:34:23] local.INFO: IMEI acknowledgment sent {"connection_id":46209,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:34:28] local.INFO: TCP Data received {"connection_id":46577,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9babc8012d7564c00603f168000a015d31..."} 
[2026-04-17 23:34:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46577,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9babc8012d7564c00603f168000a015d31..."} 
[2026-04-17 23:34:28] local.INFO: Processing buffer {"connection_id":46577,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9babc8012d7564c00603f168000a015d31..."} 
[2026-04-17 23:34:28] local.INFO: Packet analysis {"connection_id":46577,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c9b"} 
[2026-04-17 23:34:28] local.INFO: Extracted packet for processing {"connection_id":46577,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c9b"} 
[2026-04-17 23:34:28] local.INFO: GPS Element Parsed {"raw_longitude":762668224,"raw_latitude":100921704,"longitude_deg":76.2668224,"latitude_deg":10.0921704,"altitude":10,"angle":349,"satellites":49,"speed":57,"hex_longitude":"2d7564c0","hex_latitude":"0603f168","is_valid_coordinates":true} 
[2026-04-17 23:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:34:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770927360001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:34:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274384131733848064,"note":"Value kept but may cause issues"} 
[2026-04-17 23:34:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8461208194500220928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:34:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,62,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:34:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776448941000,"timestamp_ms":1776448941000,"timestamp_seconds":1776448941,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9babc8"} 
[2026-04-17 23:34:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:34: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-04-17 23:34:28] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 23:34:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:34:28] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:34:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:34:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:34:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46577,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:34:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:34:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46577,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:34:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:34:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:34:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:34:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770927360001,"66":27321,"62":206,"8":65280,"24":57,"16":274384131733848064,"45":8461208194500220928},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,62,8,24,16,45]} 
[2026-04-17 23:34:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:34:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:34:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770927360001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:34:28] local.INFO: Unknown IO ID detected {"io_id":62,"value":206,"description":"Unknown IO ID 62"} 
[2026-04-17 23:34:28] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:34:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274384131733848064,"km_value":274384131733848.06,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:34:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8461208194500220928,"description":"Unknown IO ID 45"} 
[2026-04-17 23:34:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770927360001,"power":27321,"unknown_62":206,"unknown_8":65280,"ignition":57,"odometer":null,"unknown_45":8461208194500220928}} 
[2026-04-17 23:34:28] local.INFO: DEBUG: GPS processor result {"connection_id":46577,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23633,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:34:28] local.INFO: GPS data processed {"connection_id":46577,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:34:28] local.INFO: Acknowledgment sent {"connection_id":46577,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:35:03] local.INFO: TCP Data received {"connection_id":47063,"ip":"42.106.6.14","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:35:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47063,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:35:03] local.INFO: Processing buffer {"connection_id":47063,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:35:03] local.INFO: IMEI packet received {"connection_id":47063,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:35:03] local.INFO: IMEI acknowledgment sent {"connection_id":47063,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:35:59] local.INFO: TCP Data received {"connection_id":47064,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:35:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:35:59] local.INFO: Processing buffer {"connection_id":47064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:35:59] local.INFO: IMEI packet received {"connection_id":47064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:35:59] local.INFO: IMEI acknowledgment sent {"connection_id":47064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:36:04] local.INFO: TCP Data received {"connection_id":47064,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:36:04] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47064,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:36:04] local.INFO: Processing buffer {"connection_id":47064,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:36:04] local.INFO: IMEI packet received {"connection_id":47064,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:36:04] local.INFO: IMEI acknowledgment sent {"connection_id":47064,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:36:07] local.INFO: TCP Data received {"connection_id":47064,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9d3650012d74f3c006054350000601512f..."} 
[2026-04-17 23:36:07] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47064,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9d3650012d74f3c006054350000601512f..."} 
[2026-04-17 23:36:07] local.INFO: Processing buffer {"connection_id":47064,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9d3650012d74f3c006054350000601512f..."} 
[2026-04-17 23:36:07] local.INFO: Packet analysis {"connection_id":47064,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c9d"} 
[2026-04-17 23:36:07] local.INFO: Extracted packet for processing {"connection_id":47064,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c9d"} 
[2026-04-17 23:36:07] local.INFO: GPS Element Parsed {"raw_longitude":762639296,"raw_latitude":101008208,"longitude_deg":76.2639296,"latitude_deg":10.1008208,"altitude":6,"angle":337,"satellites":47,"speed":29,"hex_longitude":"2d74f3c0","hex_latitude":"06054350","is_valid_coordinates":true} 
[2026-04-17 23:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:36:07] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770953472001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:36:07] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274388555550162944,"note":"Value kept but may cause issues"} 
[2026-04-17 23:36:07] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8428416359737001984,"note":"Value kept but may cause issues"} 
[2026-04-17 23:36:07] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,8,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 23:36:07] local.INFO: AVL Record Parsed {"raw_timestamp":1776449042000,"timestamp_ms":1776449042000,"timestamp_seconds":1776449042,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9d3650"} 
[2026-04-17 23:36:07] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:36: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-04-17 23:36:07] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 23:36: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-04-17 23:36:07] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:36:07] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:36:07] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:36:07] local.INFO: Teltonika packet parsed successfully {"connection_id":47064,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:36:07] local.INFO: Passing IMEI to GPS processor {"connection_id":47064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:36:07] local.INFO: DEBUG: About to call GPS processor {"connection_id":47064,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:36:07] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:36:07] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:36:07] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:36:07] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770953472001,"66":27463,"24":29,"8":65280,"16":274388555550162944,"45":8428416359737001984},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-04-17 23:36:07] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:36:07] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:36:07] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770953472001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:36:07] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:36:07] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274388555550162944,"km_value":274388555550162.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:36:07] local.INFO: Unknown IO ID detected {"io_id":45,"value":8428416359737001984,"description":"Unknown IO ID 45"} 
[2026-04-17 23:36:07] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454770953472001,"power":27463,"ignition":29,"unknown_8":65280,"odometer":null,"unknown_45":8428416359737001984}} 
[2026-04-17 23:36:07] local.INFO: DEBUG: GPS processor result {"connection_id":47064,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23634,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:36:07] local.INFO: GPS data processed {"connection_id":47064,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:36:07] local.INFO: Acknowledgment sent {"connection_id":47064,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:36:51] local.INFO: TCP Data received {"connection_id":46211,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:36:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:36:51] local.INFO: Processing buffer {"connection_id":46211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:36:51] local.INFO: IMEI packet received {"connection_id":46211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:36:51] local.INFO: IMEI acknowledgment sent {"connection_id":46211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:36:54] local.INFO: TCP Data received {"connection_id":46211,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:36:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46211,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:36:54] local.INFO: Processing buffer {"connection_id":46211,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:36:54] local.INFO: IMEI packet received {"connection_id":46211,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:36:54] local.INFO: IMEI acknowledgment sent {"connection_id":46211,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:37:11] local.INFO: TCP Data received {"connection_id":46211,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9ea198012d749e40060659680008015731..."} 
[2026-04-17 23:37:11] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9ea198012d749e40060659680008015731..."} 
[2026-04-17 23:37:11] local.INFO: Processing buffer {"connection_id":46211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9ea198012d749e40060659680008015731..."} 
[2026-04-17 23:37:11] local.INFO: Packet analysis {"connection_id":46211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c9e"} 
[2026-04-17 23:37:11] local.INFO: Extracted packet for processing {"connection_id":46211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c9e"} 
[2026-04-17 23:37:11] local.INFO: GPS Element Parsed {"raw_longitude":762617408,"raw_latitude":101079400,"longitude_deg":76.2617408,"latitude_deg":10.10794,"altitude":8,"angle":343,"satellites":49,"speed":42,"hex_longitude":"2d749e40","hex_latitude":"06065968","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:37:11] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770976256001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:37:11] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274392279286808576,"note":"Value kept but may cause issues"} 
[2026-04-17 23:37:11] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8405968730361169920,"note":"Value kept but may cause issues"} 
[2026-04-17 23:37:11] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,8,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 23:37:11] local.INFO: AVL Record Parsed {"raw_timestamp":1776449135000,"timestamp_ms":1776449135000,"timestamp_seconds":1776449135,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9ea198"} 
[2026-04-17 23:37:11] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:37: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-04-17 23: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":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 23:37:11] 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-04-17 23: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-04-17 23:37:11] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:37:11] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:37:11] local.INFO: Teltonika packet parsed successfully {"connection_id":46211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:37:11] local.INFO: Passing IMEI to GPS processor {"connection_id":46211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:37:11] local.INFO: DEBUG: About to call GPS processor {"connection_id":46211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:37:11] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:37:11] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:37:11] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:37:11] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770976256001,"66":27158,"24":42,"8":65280,"16":274392279286808576,"45":8405968730361169920},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-04-17 23:37:11] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:37:11] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:37:11] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770976256001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:37:11] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:37:11] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274392279286808576,"km_value":274392279286808.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:37:11] local.INFO: Unknown IO ID detected {"io_id":45,"value":8405968730361169920,"description":"Unknown IO ID 45"} 
[2026-04-17 23:37:11] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454770976256001,"power":27158,"ignition":42,"unknown_8":65280,"odometer":null,"unknown_45":8405968730361169920}} 
[2026-04-17 23:37:11] local.INFO: DEBUG: GPS processor result {"connection_id":46211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23635,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:37:11] local.INFO: GPS data processed {"connection_id":46211,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:37:11] local.INFO: Acknowledgment sent {"connection_id":46211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:37:21] local.INFO: TCP Data received {"connection_id":46211,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9ec4c0012d74944006067e200009015830..."} 
[2026-04-17 23:37:21] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46211,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9ec4c0012d74944006067e200009015830..."} 
[2026-04-17 23:37:21] local.INFO: Processing buffer {"connection_id":46211,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9ec4c0012d74944006067e200009015830..."} 
[2026-04-17 23:37:21] local.INFO: Packet analysis {"connection_id":46211,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c9e"} 
[2026-04-17 23:37:21] local.INFO: Extracted packet for processing {"connection_id":46211,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c9e"} 
[2026-04-17 23:37:21] local.INFO: GPS Element Parsed {"raw_longitude":762614848,"raw_latitude":101088800,"longitude_deg":76.2614848,"latitude_deg":10.10888,"altitude":9,"angle":344,"satellites":48,"speed":43,"hex_longitude":"2d749440","hex_latitude":"06067e20","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:37:21] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770978560001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:37:21] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274392751733211136,"note":"Value kept but may cause issues"} 
[2026-04-17 23:37:21] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8403224349340428288,"note":"Value kept but may cause issues"} 
[2026-04-17 23:37:21] local.INFO: IO Element Parsed {"io_data_count":6,"io_data_keys":[0,66,24,8,16,45],"length":72,"final_offset":106,"validated_count":6,"validation_warnings":[]} 
[2026-04-17 23:37:21] local.INFO: AVL Record Parsed {"raw_timestamp":1776449144000,"timestamp_ms":1776449144000,"timestamp_seconds":1776449144,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9ec4c0"} 
[2026-04-17 23:37:21] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:37: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-04-17 23: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":106,"n8_eight_byte":22,"data_length":795,"current_offset":136} 
[2026-04-17 23:37:21] 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-04-17 23: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-04-17 23:37:21] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:37:21] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:37:21] local.INFO: Teltonika packet parsed successfully {"connection_id":46211,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:37:21] local.INFO: Passing IMEI to GPS processor {"connection_id":46211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:37:21] local.INFO: DEBUG: About to call GPS processor {"connection_id":46211,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:37:21] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:37:21] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:37:21] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:37:21] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770978560001,"66":27397,"24":43,"8":65280,"16":274392751733211136,"45":8403224349340428288},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,24,8,16,45]} 
[2026-04-17 23:37:21] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:37:21] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:37:21] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770978560001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:37:21] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:37:21] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274392751733211136,"km_value":274392751733211.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:37:21] local.INFO: Unknown IO ID detected {"io_id":45,"value":8403224349340428288,"description":"Unknown IO ID 45"} 
[2026-04-17 23:37:21] local.INFO: IO Data Validated and Processed {"original_count":6,"validated_count":6,"validated_data":{"unknown_0":454770978560001,"power":27397,"ignition":43,"unknown_8":65280,"odometer":null,"unknown_45":8403224349340428288}} 
[2026-04-17 23:37:21] local.INFO: DEBUG: GPS processor result {"connection_id":46211,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23636,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:37:21] local.INFO: GPS data processed {"connection_id":46211,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:37:21] local.INFO: Acknowledgment sent {"connection_id":46211,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:37:49] local.INFO: TCP Data received {"connection_id":46578,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:37:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:37:49] local.INFO: Processing buffer {"connection_id":46578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:37:49] local.INFO: IMEI packet received {"connection_id":46578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:37:49] local.INFO: IMEI acknowledgment sent {"connection_id":46578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:37:50] local.INFO: TCP Data received {"connection_id":46578,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:37:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:37:50] local.INFO: Processing buffer {"connection_id":46578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:37:50] local.INFO: IMEI packet received {"connection_id":46578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:37:50] local.INFO: IMEI acknowledgment sent {"connection_id":46578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:37:53] local.INFO: TCP Data received {"connection_id":46578,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:37:53] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46578,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:37:53] local.INFO: Processing buffer {"connection_id":46578,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:37:53] local.INFO: IMEI packet received {"connection_id":46578,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:37:53] local.INFO: IMEI acknowledgment sent {"connection_id":46578,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:37:57] local.INFO: TCP Data received {"connection_id":46578,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9c9fde00012d741ac00607a1f80008013b30..."} 
[2026-04-17 23:37:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9c9fde00012d741ac00607a1f80008013b30..."} 
[2026-04-17 23:37:57] local.INFO: Processing buffer {"connection_id":46578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9c9fde00012d741ac00607a1f80008013b30..."} 
[2026-04-17 23:37:57] local.INFO: Packet analysis {"connection_id":46578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9c9f"} 
[2026-04-17 23:37:57] local.INFO: Extracted packet for processing {"connection_id":46578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9c9f"} 
[2026-04-17 23:37:57] local.INFO: GPS Element Parsed {"raw_longitude":762583744,"raw_latitude":101163512,"longitude_deg":76.2583744,"latitude_deg":10.1163512,"altitude":8,"angle":315,"satellites":48,"speed":47,"hex_longitude":"2d741ac0","hex_latitude":"0607a1f8","is_valid_coordinates":true} 
[2026-04-17 23:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:37:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454770998272001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:37:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274396728872927232,"note":"Value kept but may cause issues"} 
[2026-04-17 23:37:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8369236245923172352,"note":"Value kept but may cause issues"} 
[2026-04-17 23:37:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:37:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776449216000,"timestamp_ms":1776449216000,"timestamp_seconds":1776449216,"priority":1,"record_length":96,"hex_timestamp":"0000019d9c9fde00"} 
[2026-04-17 23:37:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:37: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-04-17 23:37:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 23:37:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:37:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:37:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:37:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:37:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:37:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:37:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:37:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:37:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:37:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:37:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454770998272001,"66":27463,"20":206,"8":65280,"24":47,"16":274396728872927232,"45":8369236245923172352},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,8,24,16,45]} 
[2026-04-17 23:37:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:37:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:37:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454770998272001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:37:57] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-04-17 23:37:57] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:37:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274396728872927232,"km_value":274396728872927.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:37:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8369236245923172352,"description":"Unknown IO ID 45"} 
[2026-04-17 23:37:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454770998272001,"power":27463,"unknown_20":206,"unknown_8":65280,"ignition":47,"odometer":null,"unknown_45":8369236245923172352}} 
[2026-04-17 23:37:57] local.INFO: DEBUG: GPS processor result {"connection_id":46578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23637,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:37:57] local.INFO: GPS data processed {"connection_id":46578,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:37:57] local.INFO: Acknowledgment sent {"connection_id":46578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:38:30] local.INFO: TCP Data received {"connection_id":46578,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ca09598012d73a6c0060836180007013526..."} 
[2026-04-17 23:38:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46578,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ca09598012d73a6c0060836180007013526..."} 
[2026-04-17 23:38:30] local.INFO: Processing buffer {"connection_id":46578,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ca09598012d73a6c0060836180007013526..."} 
[2026-04-17 23:38:30] local.INFO: Packet analysis {"connection_id":46578,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ca0"} 
[2026-04-17 23:38:30] local.INFO: Extracted packet for processing {"connection_id":46578,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ca0"} 
[2026-04-17 23:38:30] local.INFO: GPS Element Parsed {"raw_longitude":762554048,"raw_latitude":101201432,"longitude_deg":76.2554048,"latitude_deg":10.1201432,"altitude":7,"angle":309,"satellites":38,"speed":52,"hex_longitude":"2d73a6c0","hex_latitude":"06083618","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:38:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771010304001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:38:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274399207069057024,"note":"Value kept but may cause issues"} 
[2026-04-17 23:38:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8337570311052898304,"note":"Value kept but may cause issues"} 
[2026-04-17 23:38:30] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:38:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776449263000,"timestamp_ms":1776449263000,"timestamp_seconds":1776449263,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ca09598"} 
[2026-04-17 23:38:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:38: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-04-17 23: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":104,"n8_eight_byte":252,"data_length":795,"current_offset":136} 
[2026-04-17 23:38:30] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2986,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:38:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:38:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:38:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46578,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:38:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:38:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46578,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:38:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:38:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:38:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:38:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771010304001,"66":27397,"20":206,"8":65280,"24":52,"16":274399207069057024,"45":8337570311052898304},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,8,24,16,45]} 
[2026-04-17 23:38:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:38:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:38:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771010304001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:38:30] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-04-17 23:38:30] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:38:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274399207069057024,"km_value":274399207069057.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:38:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":8337570311052898304,"description":"Unknown IO ID 45"} 
[2026-04-17 23:38:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771010304001,"power":27397,"unknown_20":206,"unknown_8":65280,"ignition":52,"odometer":null,"unknown_45":8337570311052898304}} 
[2026-04-17 23:38:30] local.INFO: DEBUG: GPS processor result {"connection_id":46578,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23638,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:38:30] local.INFO: GPS data processed {"connection_id":46578,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:38:30] local.INFO: Acknowledgment sent {"connection_id":46578,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:38:49] local.INFO: TCP Data received {"connection_id":47066,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:38:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:38:49] local.INFO: Processing buffer {"connection_id":47066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:38:49] local.INFO: IMEI packet received {"connection_id":47066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:38:49] local.INFO: IMEI acknowledgment sent {"connection_id":47066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:38:50] local.INFO: TCP Data received {"connection_id":47066,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:38:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:38:50] local.INFO: Processing buffer {"connection_id":47066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:38:50] local.INFO: IMEI packet received {"connection_id":47066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:38:50] local.INFO: IMEI acknowledgment sent {"connection_id":47066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:38:54] local.INFO: TCP Data received {"connection_id":47066,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:38:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47066,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:38:54] local.INFO: Processing buffer {"connection_id":47066,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:38:54] local.INFO: IMEI packet received {"connection_id":47066,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:38:54] local.INFO: IMEI acknowledgment sent {"connection_id":47066,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:38:55] local.INFO: TCP Data received {"connection_id":47066,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ca0a150012d739cc0060841400008014c2f..."} 
[2026-04-17 23:38:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ca0a150012d739cc0060841400008014c2f..."} 
[2026-04-17 23:38:55] local.INFO: Processing buffer {"connection_id":47066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ca0a150012d739cc0060841400008014c2f..."} 
[2026-04-17 23:38:55] local.INFO: Packet analysis {"connection_id":47066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ca0"} 
[2026-04-17 23:38:55] local.INFO: Extracted packet for processing {"connection_id":47066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ca0"} 
[2026-04-17 23:38:55] local.INFO: GPS Element Parsed {"raw_longitude":762551488,"raw_latitude":101204288,"longitude_deg":76.2551488,"latitude_deg":10.1204288,"altitude":8,"angle":332,"satellites":47,"speed":50,"hex_longitude":"2d739cc0","hex_latitude":"06084140","is_valid_coordinates":true} 
[2026-04-17 23:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:38:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771011328001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:38:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274399391752650752,"note":"Value kept but may cause issues"} 
[2026-04-17 23:38:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8333559292635781120,"note":"Value kept but may cause issues"} 
[2026-04-17 23:38:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,20,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:38:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776449266000,"timestamp_ms":1776449266000,"timestamp_seconds":1776449266,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ca0a150"} 
[2026-04-17 23:38:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:38:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23:38:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 23:38:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:38:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:38:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:38:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:38:55] local.INFO: Teltonika packet parsed successfully {"connection_id":47066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:38:55] local.INFO: Passing IMEI to GPS processor {"connection_id":47066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:38:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":47066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:38:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:38:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:38:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:38:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771011328001,"66":27463,"20":206,"8":65280,"24":50,"16":274399391752650752,"45":8333559292635781120},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,8,24,16,45]} 
[2026-04-17 23:38:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:38:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:38:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771011328001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:38:55] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-04-17 23:38:55] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:38:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274399391752650752,"km_value":274399391752650.75,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:38:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8333559292635781120,"description":"Unknown IO ID 45"} 
[2026-04-17 23:38:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771011328001,"power":27463,"unknown_20":206,"unknown_8":65280,"ignition":50,"odometer":null,"unknown_45":8333559292635781120}} 
[2026-04-17 23:38:55] local.INFO: DEBUG: GPS processor result {"connection_id":47066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23639,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:38:55] local.INFO: GPS data processed {"connection_id":47066,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:38:55] local.INFO: Acknowledgment sent {"connection_id":47066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:39:26] local.INFO: TCP Data received {"connection_id":47066,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ca158e8012d7318400608d4280007012330..."} 
[2026-04-17 23:39:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47066,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ca158e8012d7318400608d4280007012330..."} 
[2026-04-17 23:39:26] local.INFO: Processing buffer {"connection_id":47066,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ca158e8012d7318400608d4280007012330..."} 
[2026-04-17 23:39:26] local.INFO: Packet analysis {"connection_id":47066,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ca1"} 
[2026-04-17 23:39:26] local.INFO: Extracted packet for processing {"connection_id":47066,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ca1"} 
[2026-04-17 23:39:26] local.INFO: GPS Element Parsed {"raw_longitude":762517568,"raw_latitude":101241896,"longitude_deg":76.2517568,"latitude_deg":10.1241896,"altitude":7,"angle":291,"satellites":48,"speed":46,"hex_longitude":"2d731840","hex_latitude":"0608d428","is_valid_coordinates":true} 
[2026-04-17 23:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:39:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771021824001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:39:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274402063222308864,"note":"Value kept but may cause issues"} 
[2026-04-17 23:39:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8303230363904563200,"note":"Value kept but may cause issues"} 
[2026-04-17 23:39:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:39:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776449313000,"timestamp_ms":1776449313000,"timestamp_seconds":1776449313,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ca158e8"} 
[2026-04-17 23:39:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:39: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-04-17 23:39:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 23:39:26] 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-04-17 23:39:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:39:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:39:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:39:26] local.INFO: Teltonika packet parsed successfully {"connection_id":47066,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:39:26] local.INFO: Passing IMEI to GPS processor {"connection_id":47066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:39:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":47066,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:39:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:39:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:39:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:39:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771021824001,"66":27397,"233":206,"8":65280,"24":46,"16":274402063222308864,"45":8303230363904563200},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-04-17 23:39:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:39:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:39:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771021824001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:39:26] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-04-17 23:39:26] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:39:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274402063222308864,"km_value":274402063222308.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:39:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":8303230363904563200,"description":"Unknown IO ID 45"} 
[2026-04-17 23:39:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771021824001,"power":27397,"unknown_233":206,"unknown_8":65280,"ignition":46,"odometer":null,"unknown_45":8303230363904563200}} 
[2026-04-17 23:39:26] local.INFO: DEBUG: GPS processor result {"connection_id":47066,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23640,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:39:26] local.INFO: GPS data processed {"connection_id":47066,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:39:26] local.INFO: Acknowledgment sent {"connection_id":47066,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:39:49] local.INFO: TCP Data received {"connection_id":46580,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:39:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:39:49] local.INFO: Processing buffer {"connection_id":46580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:39:49] local.INFO: IMEI packet received {"connection_id":46580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:39:49] local.INFO: IMEI acknowledgment sent {"connection_id":46580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:39:54] local.INFO: TCP Data received {"connection_id":46580,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:39:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46580,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:39:54] local.INFO: Processing buffer {"connection_id":46580,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:39:54] local.INFO: IMEI packet received {"connection_id":46580,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:39:54] local.INFO: IMEI acknowledgment sent {"connection_id":46580,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:39:55] local.INFO: TCP Data received {"connection_id":46580,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ca17828012d72f3c00608dd880009011930..."} 
[2026-04-17 23:39:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ca17828012d72f3c00608dd880009011930..."} 
[2026-04-17 23:39:55] local.INFO: Processing buffer {"connection_id":46580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ca17828012d72f3c00608dd880009011930..."} 
[2026-04-17 23:39:55] local.INFO: Packet analysis {"connection_id":46580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ca1"} 
[2026-04-17 23:39:55] local.INFO: Extracted packet for processing {"connection_id":46580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ca1"} 
[2026-04-17 23:39:55] local.INFO: GPS Element Parsed {"raw_longitude":762508224,"raw_latitude":101244296,"longitude_deg":76.2508224,"latitude_deg":10.1244296,"altitude":9,"angle":281,"satellites":48,"speed":46,"hex_longitude":"2d72f3c0","hex_latitude":"0608dd88","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:39:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771024128001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:39:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274402522783809536,"note":"Value kept but may cause issues"} 
[2026-04-17 23:39:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8293449108464871424,"note":"Value kept but may cause issues"} 
[2026-04-17 23:39:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:39:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776449321000,"timestamp_ms":1776449321000,"timestamp_seconds":1776449321,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ca17828"} 
[2026-04-17 23:39:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:39: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-04-17 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 23:39:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:39:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:39:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:39:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:39:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:39:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:39:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:39:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:39:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:39:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771024128001,"66":27169,"233":206,"8":65280,"24":46,"16":274402522783809536,"45":8293449108464871424},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-04-17 23:39:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:39:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:39:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771024128001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:39:55] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-04-17 23:39:55] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:39:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274402522783809536,"km_value":274402522783809.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:39:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":8293449108464871424,"description":"Unknown IO ID 45"} 
[2026-04-17 23:39:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771024128001,"power":27169,"unknown_233":206,"unknown_8":65280,"ignition":46,"odometer":null,"unknown_45":8293449108464871424}} 
[2026-04-17 23:39:55] local.INFO: DEBUG: GPS processor result {"connection_id":46580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23641,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:39:55] local.INFO: GPS data processed {"connection_id":46580,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:39:55] local.INFO: Acknowledgment sent {"connection_id":46580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:40:25] local.INFO: TCP Data received {"connection_id":46581,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:40:25] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46581,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:40:25] local.INFO: Processing buffer {"connection_id":46581,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:40:25] local.INFO: IMEI packet received {"connection_id":46581,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:40:25] local.INFO: IMEI acknowledgment sent {"connection_id":46581,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:40:27] local.INFO: TCP Data received {"connection_id":46580,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ca187c8012d72e2000608df70000a010c2e..."} 
[2026-04-17 23:40:27] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46580,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ca187c8012d72e2000608df70000a010c2e..."} 
[2026-04-17 23:40:27] local.INFO: Processing buffer {"connection_id":46580,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ca187c8012d72e2000608df70000a010c2e..."} 
[2026-04-17 23:40:27] local.INFO: Packet analysis {"connection_id":46580,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ca1"} 
[2026-04-17 23:40:27] local.INFO: Extracted packet for processing {"connection_id":46580,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ca1"} 
[2026-04-17 23:40:27] local.INFO: GPS Element Parsed {"raw_longitude":762503680,"raw_latitude":101244784,"longitude_deg":76.250368,"latitude_deg":10.1244784,"altitude":10,"angle":268,"satellites":46,"speed":45,"hex_longitude":"2d72e200","hex_latitude":"0608df70","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:40:27] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771026176001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:40:27] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274402741827141632,"note":"Value kept but may cause issues"} 
[2026-04-17 23:40:27] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8283175271815546880,"note":"Value kept but may cause issues"} 
[2026-04-17 23:40:27] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:40:27] local.INFO: AVL Record Parsed {"raw_timestamp":1776449325000,"timestamp_ms":1776449325000,"timestamp_seconds":1776449325,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ca187c8"} 
[2026-04-17 23:40:27] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:40: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-04-17 23: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":106,"n8_eight_byte":33,"data_length":795,"current_offset":136} 
[2026-04-17 23:40:27] 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-04-17 23: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-04-17 23:40:27] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:40:27] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:40:27] local.INFO: Teltonika packet parsed successfully {"connection_id":46580,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:40:27] local.INFO: Passing IMEI to GPS processor {"connection_id":46580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:40:27] local.INFO: DEBUG: About to call GPS processor {"connection_id":46580,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:40:27] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:40:27] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:40:27] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:40:27] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771026176001,"66":27343,"233":206,"8":65280,"24":45,"16":274402741827141632,"45":8283175271815546880},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-04-17 23:40:27] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:40:27] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:40:27] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771026176001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:40:27] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-04-17 23:40:27] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:40:27] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274402741827141632,"km_value":274402741827141.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:40:27] local.INFO: Unknown IO ID detected {"io_id":45,"value":8283175271815546880,"description":"Unknown IO ID 45"} 
[2026-04-17 23:40:27] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771026176001,"power":27343,"unknown_233":206,"unknown_8":65280,"ignition":45,"odometer":null,"unknown_45":8283175271815546880}} 
[2026-04-17 23:40:27] local.INFO: DEBUG: GPS processor result {"connection_id":46580,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23642,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:40:27] local.INFO: GPS data processed {"connection_id":46580,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:40:27] local.INFO: Acknowledgment sent {"connection_id":46580,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:40:54] local.INFO: TCP Data received {"connection_id":47067,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:40:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:40:54] local.INFO: Processing buffer {"connection_id":47067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:40:54] local.INFO: IMEI packet received {"connection_id":47067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:40:54] local.INFO: IMEI acknowledgment sent {"connection_id":47067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:40:57] local.INFO: TCP Data received {"connection_id":47067,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47067,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:40:58] local.INFO: Processing buffer {"connection_id":47067,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:40:58] local.INFO: IMEI packet received {"connection_id":47067,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:40:58] local.INFO: IMEI acknowledgment sent {"connection_id":47067,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:40:58] local.INFO: TCP Data received {"connection_id":47067,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ca29938012d71fe800608d9e00007013030..."} 
[2026-04-17 23:40:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ca29938012d71fe800608d9e00007013030..."} 
[2026-04-17 23:40:58] local.INFO: Processing buffer {"connection_id":47067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ca29938012d71fe800608d9e00007013030..."} 
[2026-04-17 23:40:58] local.INFO: Packet analysis {"connection_id":47067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ca2"} 
[2026-04-17 23:40:58] local.INFO: Extracted packet for processing {"connection_id":47067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ca2"} 
[2026-04-17 23:40:58] local.INFO: GPS Element Parsed {"raw_longitude":762445440,"raw_latitude":101243360,"longitude_deg":76.244544,"latitude_deg":10.124336,"altitude":7,"angle":304,"satellites":48,"speed":29,"hex_longitude":"2d71fe80","hex_latitude":"0608d9e0","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:40:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771043840001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:40:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274406001707319296,"note":"Value kept but may cause issues"} 
[2026-04-17 23:40:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8217099021031516160,"note":"Value kept but may cause issues"} 
[2026-04-17 23:40:58] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:40:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776449395000,"timestamp_ms":1776449395000,"timestamp_seconds":1776449395,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ca29938"} 
[2026-04-17 23:40:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:40: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-04-17 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 23:40:58] 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-04-17 23: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-04-17 23:40:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:40:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:40:58] local.INFO: Teltonika packet parsed successfully {"connection_id":47067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:40:58] local.INFO: Passing IMEI to GPS processor {"connection_id":47067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:40:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":47067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:40:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:40:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:40:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:40:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771043840001,"66":27484,"233":206,"8":65280,"24":29,"16":274406001707319296,"45":8217099021031516160},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-04-17 23:40:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:40:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:40:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771043840001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:40:58] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-04-17 23:40:58] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:40:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274406001707319296,"km_value":274406001707319.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:40:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":8217099021031516160,"description":"Unknown IO ID 45"} 
[2026-04-17 23:40:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771043840001,"power":27484,"unknown_233":206,"unknown_8":65280,"ignition":29,"odometer":null,"unknown_45":8217099021031516160}} 
[2026-04-17 23:40:58] local.INFO: DEBUG: GPS processor result {"connection_id":47067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23643,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:40:58] local.INFO: GPS data processed {"connection_id":47067,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:40:58] local.INFO: Acknowledgment sent {"connection_id":47067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:41:01] local.INFO: TCP Data received {"connection_id":47067,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ca29d20012d71fc400608db300007012231..."} 
[2026-04-17 23:41:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ca29d20012d71fc400608db300007012231..."} 
[2026-04-17 23:41:01] local.INFO: Processing buffer {"connection_id":47067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ca29d20012d71fc400608db300007012231..."} 
[2026-04-17 23:41:01] local.INFO: Packet analysis {"connection_id":47067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ca2"} 
[2026-04-17 23:41:01] local.INFO: Extracted packet for processing {"connection_id":47067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ca2"} 
[2026-04-17 23:41:01] local.INFO: GPS Element Parsed {"raw_longitude":762444864,"raw_latitude":101243696,"longitude_deg":76.2444864,"latitude_deg":10.1243696,"altitude":7,"angle":290,"satellites":49,"speed":28,"hex_longitude":"2d71fc40","hex_latitude":"0608db30","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:41:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771045120001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:41:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274406036067057664,"note":"Value kept but may cause issues"} 
[2026-04-17 23:41:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8214143533777018880,"note":"Value kept but may cause issues"} 
[2026-04-17 23:41:01] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:41:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776449396000,"timestamp_ms":1776449396000,"timestamp_seconds":1776449396,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ca29d20"} 
[2026-04-17 23:41:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:41:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23:41:01] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 23:41:01] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:41:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:41:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:41:01] local.INFO: Teltonika packet parsed successfully {"connection_id":47067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:41:01] local.INFO: Passing IMEI to GPS processor {"connection_id":47067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:41:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":47067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:41:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:41:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:41:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:41:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771045120001,"66":27332,"233":206,"8":65280,"24":28,"16":274406036067057664,"45":8214143533777018880},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-04-17 23:41:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:41:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:41:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771045120001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:41:01] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-04-17 23:41:01] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:41:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274406036067057664,"km_value":274406036067057.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:41:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":8214143533777018880,"description":"Unknown IO ID 45"} 
[2026-04-17 23:41:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771045120001,"power":27332,"unknown_233":206,"unknown_8":65280,"ignition":28,"odometer":null,"unknown_45":8214143533777018880}} 
[2026-04-17 23:41:01] local.INFO: DEBUG: GPS processor result {"connection_id":47067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23644,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:41:01] local.INFO: GPS data processed {"connection_id":47067,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:41:01] local.INFO: Acknowledgment sent {"connection_id":47067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:41:03] local.INFO: TCP Data received {"connection_id":46330,"ip":"42.106.6.33","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:41:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46330,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:41:03] local.INFO: Processing buffer {"connection_id":46330,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:41:03] local.INFO: IMEI packet received {"connection_id":46330,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:41:03] local.INFO: IMEI acknowledgment sent {"connection_id":46330,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:41:33] local.INFO: TCP Data received {"connection_id":47067,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ca2a108012d71f9800608dbb00007011432..."} 
[2026-04-17 23:41:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47067,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ca2a108012d71f9800608dbb00007011432..."} 
[2026-04-17 23:41:33] local.INFO: Processing buffer {"connection_id":47067,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ca2a108012d71f9800608dbb00007011432..."} 
[2026-04-17 23:41:33] local.INFO: Packet analysis {"connection_id":47067,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ca2"} 
[2026-04-17 23:41:33] local.INFO: Extracted packet for processing {"connection_id":47067,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ca2"} 
[2026-04-17 23:41:33] local.INFO: GPS Element Parsed {"raw_longitude":762444160,"raw_latitude":101243824,"longitude_deg":76.244416,"latitude_deg":10.1243824,"altitude":7,"angle":276,"satellites":50,"speed":27,"hex_longitude":"2d71f980","hex_latitude":"0608dbb0","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:41:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771045376001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:41:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274406070426796032,"note":"Value kept but may cause issues"} 
[2026-04-17 23:41:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8213510215079505920,"note":"Value kept but may cause issues"} 
[2026-04-17 23:41:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,233,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:41:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776449397000,"timestamp_ms":1776449397000,"timestamp_seconds":1776449397,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ca2a108"} 
[2026-04-17 23:41:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:41:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23:41:33] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":196,"data_length":795,"current_offset":136} 
[2026-04-17 23:41:33] 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-04-17 23: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-04-17 23:41:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:41:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:41:33] local.INFO: Teltonika packet parsed successfully {"connection_id":47067,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:41:33] local.INFO: Passing IMEI to GPS processor {"connection_id":47067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:41:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":47067,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:41:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:41:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:41:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:41:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771045376001,"66":27332,"233":206,"8":65280,"24":27,"16":274406070426796032,"45":8213510215079505920},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,233,8,24,16,45]} 
[2026-04-17 23:41:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:41:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:41:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771045376001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:41:33] local.INFO: Unknown IO ID detected {"io_id":233,"value":206,"description":"Unknown IO ID 233"} 
[2026-04-17 23:41:33] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:41:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274406070426796032,"km_value":274406070426796.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:41:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":8213510215079505920,"description":"Unknown IO ID 45"} 
[2026-04-17 23:41:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771045376001,"power":27332,"unknown_233":206,"unknown_8":65280,"ignition":27,"odometer":null,"unknown_45":8213510215079505920}} 
[2026-04-17 23:41:33] local.INFO: DEBUG: GPS processor result {"connection_id":47067,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23645,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:41:33] local.INFO: GPS data processed {"connection_id":47067,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:41:33] local.INFO: Acknowledgment sent {"connection_id":47067,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:41:49] local.INFO: TCP Data received {"connection_id":46212,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:41:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:41:49] local.INFO: Processing buffer {"connection_id":46212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:41:49] local.INFO: IMEI packet received {"connection_id":46212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:41:49] local.INFO: IMEI acknowledgment sent {"connection_id":46212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:41:50] local.INFO: TCP Data received {"connection_id":46212,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:41:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46212,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:41:50] local.INFO: Processing buffer {"connection_id":46212,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:41:50] local.INFO: IMEI packet received {"connection_id":46212,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:41:50] local.INFO: IMEI acknowledgment sent {"connection_id":46212,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:41:51] local.INFO: TCP Data received {"connection_id":46212,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ca38b68012d71b98006098f88000601542d..."} 
[2026-04-17 23:41:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ca38b68012d71b98006098f88000601542d..."} 
[2026-04-17 23:41:51] local.INFO: Processing buffer {"connection_id":46212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ca38b68012d71b98006098f88000601542d..."} 
[2026-04-17 23:41:51] local.INFO: Packet analysis {"connection_id":46212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ca3"} 
[2026-04-17 23:41:51] local.INFO: Extracted packet for processing {"connection_id":46212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ca3"} 
[2026-04-17 23:41:51] local.INFO: GPS Element Parsed {"raw_longitude":762427776,"raw_latitude":101289864,"longitude_deg":76.2427776,"latitude_deg":10.1289864,"altitude":6,"angle":340,"satellites":45,"speed":44,"hex_longitude":"2d71b980","hex_latitude":"06098f88","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:41:51] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771058688001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:41:51] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274408548622925824,"note":"Value kept but may cause issues"} 
[2026-04-17 23:41:51] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8198380935090814976,"note":"Value kept but may cause issues"} 
[2026-04-17 23:41:51] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:41:51] local.INFO: AVL Record Parsed {"raw_timestamp":1776449457000,"timestamp_ms":1776449457000,"timestamp_seconds":1776449457,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ca38b68"} 
[2026-04-17 23:41:51] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:41: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-04-17 23: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":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 23:41:51] 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-04-17 23: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-04-17 23:41:51] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:41:51] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:41:51] local.INFO: Teltonika packet parsed successfully {"connection_id":46212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:41:51] local.INFO: Passing IMEI to GPS processor {"connection_id":46212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:41:51] local.INFO: DEBUG: About to call GPS processor {"connection_id":46212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:41:51] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:41:51] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:41:51] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:41:51] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771058688001,"66":27376,"234":206,"8":65280,"24":44,"16":274408548622925824,"45":8198380935090814976},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-04-17 23:41:51] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:41:51] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:41:51] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771058688001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:41:51] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-17 23:41:51] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:41:51] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274408548622925824,"km_value":274408548622925.8,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:41:51] local.INFO: Unknown IO ID detected {"io_id":45,"value":8198380935090814976,"description":"Unknown IO ID 45"} 
[2026-04-17 23:41:51] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771058688001,"power":27376,"unknown_234":206,"unknown_8":65280,"ignition":44,"odometer":null,"unknown_45":8198380935090814976}} 
[2026-04-17 23:41:51] local.INFO: DEBUG: GPS processor result {"connection_id":46212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23646,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:41:51] local.INFO: GPS data processed {"connection_id":46212,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:41:51] local.INFO: Acknowledgment sent {"connection_id":46212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:41:57] local.INFO: TCP Data received {"connection_id":46212,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ca3aaa8012d71ac000609b230000601502e..."} 
[2026-04-17 23:41:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ca3aaa8012d71ac000609b230000601502e..."} 
[2026-04-17 23:41:57] local.INFO: Processing buffer {"connection_id":46212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ca3aaa8012d71ac000609b230000601502e..."} 
[2026-04-17 23:41:57] local.INFO: Packet analysis {"connection_id":46212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ca3"} 
[2026-04-17 23:41:57] local.INFO: Extracted packet for processing {"connection_id":46212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ca3"} 
[2026-04-17 23:41:57] local.INFO: GPS Element Parsed {"raw_longitude":762424320,"raw_latitude":101298736,"longitude_deg":76.242432,"latitude_deg":10.1298736,"altitude":6,"angle":336,"satellites":46,"speed":49,"hex_longitude":"2d71ac00","hex_latitude":"0609b230","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:41:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771060992001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:41:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274409008184426496,"note":"Value kept but may cause issues"} 
[2026-04-17 23:41:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8194721760395888640,"note":"Value kept but may cause issues"} 
[2026-04-17 23:41:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:41:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776449465000,"timestamp_ms":1776449465000,"timestamp_seconds":1776449465,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ca3aaa8"} 
[2026-04-17 23:41:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:41:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 23:41:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2888,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:41:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:41:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:41:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:41:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:41:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:41:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:41:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:41:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:41:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771060992001,"66":26832,"234":206,"8":65280,"24":49,"16":274409008184426496,"45":8194721760395888640},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-04-17 23:41:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:41:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:41:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771060992001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:41:57] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-17 23:41:57] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:41:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274409008184426496,"km_value":274409008184426.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:41:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8194721760395888640,"description":"Unknown IO ID 45"} 
[2026-04-17 23:41:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771060992001,"power":26832,"unknown_234":206,"unknown_8":65280,"ignition":49,"odometer":null,"unknown_45":8194721760395888640}} 
[2026-04-17 23:41:57] local.INFO: DEBUG: GPS processor result {"connection_id":46212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23647,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:41:57] local.INFO: GPS data processed {"connection_id":46212,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:41:57] local.INFO: Acknowledgment sent {"connection_id":46212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:42:29] local.INFO: TCP Data received {"connection_id":46212,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ca3c600012d719dc00609d1f00006014d2f..."} 
[2026-04-17 23:42:29] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46212,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ca3c600012d719dc00609d1f00006014d2f..."} 
[2026-04-17 23:42:29] local.INFO: Processing buffer {"connection_id":46212,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ca3c600012d719dc00609d1f00006014d2f..."} 
[2026-04-17 23:42:29] local.INFO: Packet analysis {"connection_id":46212,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ca3"} 
[2026-04-17 23:42:29] local.INFO: Extracted packet for processing {"connection_id":46212,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ca3"} 
[2026-04-17 23:42:29] local.INFO: GPS Element Parsed {"raw_longitude":762420672,"raw_latitude":101306864,"longitude_deg":76.2420672,"latitude_deg":10.1306864,"altitude":6,"angle":333,"satellites":47,"speed":52,"hex_longitude":"2d719dc0","hex_latitude":"0609d1f0","is_valid_coordinates":true} 
[2026-04-17 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-04-17 23:42:29] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771063040001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:42:29] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274409437681156096,"note":"Value kept but may cause issues"} 
[2026-04-17 23:42:29] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8190921848212566016,"note":"Value kept but may cause issues"} 
[2026-04-17 23:42:29] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:42:29] local.INFO: AVL Record Parsed {"raw_timestamp":1776449472000,"timestamp_ms":1776449472000,"timestamp_seconds":1776449472,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ca3c600"} 
[2026-04-17 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-04-17 23:42: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-04-17 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":104,"n8_eight_byte":208,"data_length":795,"current_offset":136} 
[2026-04-17 23:42:29] 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-04-17 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-04-17 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-04-17 23:42:29] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:42:29] local.INFO: Teltonika packet parsed successfully {"connection_id":46212,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:42:29] local.INFO: Passing IMEI to GPS processor {"connection_id":46212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:42:29] local.INFO: DEBUG: About to call GPS processor {"connection_id":46212,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:42:29] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:42:29] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:42:29] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:42:29] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771063040001,"66":27463,"234":206,"8":65280,"24":52,"16":274409437681156096,"45":8190921848212566016},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-04-17 23:42:29] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:42:29] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:42:29] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771063040001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:42:29] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-17 23:42:29] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:42:29] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274409437681156096,"km_value":274409437681156.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:42:29] local.INFO: Unknown IO ID detected {"io_id":45,"value":8190921848212566016,"description":"Unknown IO ID 45"} 
[2026-04-17 23:42:29] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771063040001,"power":27463,"unknown_234":206,"unknown_8":65280,"ignition":52,"odometer":null,"unknown_45":8190921848212566016}} 
[2026-04-17 23:42:29] local.INFO: DEBUG: GPS processor result {"connection_id":46212,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23648,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:42:29] local.INFO: GPS data processed {"connection_id":46212,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:42:29] local.INFO: Acknowledgment sent {"connection_id":46212,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:42:49] local.INFO: TCP Data received {"connection_id":47068,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:42:49] local.INFO: Processing buffer {"connection_id":47068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:42:49] local.INFO: IMEI packet received {"connection_id":47068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":47068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:42:49] local.INFO: TCP Data received {"connection_id":47068,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:42:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:42:49] local.INFO: Processing buffer {"connection_id":47068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:42:49] local.INFO: IMEI packet received {"connection_id":47068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:42:49] local.INFO: IMEI acknowledgment sent {"connection_id":47068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:42:54] local.INFO: TCP Data received {"connection_id":47068,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:42:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47068,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:42:54] local.INFO: Processing buffer {"connection_id":47068,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:42:54] local.INFO: IMEI packet received {"connection_id":47068,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:42:54] local.INFO: IMEI acknowledgment sent {"connection_id":47068,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:42:56] local.INFO: TCP Data received {"connection_id":47068,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ca3e158012d718cc00609f1080005014a30..."} 
[2026-04-17 23:42:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ca3e158012d718cc00609f1080005014a30..."} 
[2026-04-17 23:42:56] local.INFO: Processing buffer {"connection_id":47068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ca3e158012d718cc00609f1080005014a30..."} 
[2026-04-17 23:42:56] local.INFO: Packet analysis {"connection_id":47068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ca3"} 
[2026-04-17 23:42:56] local.INFO: Extracted packet for processing {"connection_id":47068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ca3"} 
[2026-04-17 23:42:56] local.INFO: GPS Element Parsed {"raw_longitude":762416320,"raw_latitude":101314824,"longitude_deg":76.241632,"latitude_deg":10.1314824,"altitude":5,"angle":330,"satellites":48,"speed":51,"hex_longitude":"2d718cc0","hex_latitude":"0609f108","is_valid_coordinates":true} 
[2026-04-17 23:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:42:56] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771064832001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:42:56] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274409875767820288,"note":"Value kept but may cause issues"} 
[2026-04-17 23:42:56] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8186910829796519936,"note":"Value kept but may cause issues"} 
[2026-04-17 23:42:56] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,234,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:42:56] local.INFO: AVL Record Parsed {"raw_timestamp":1776449479000,"timestamp_ms":1776449479000,"timestamp_seconds":1776449479,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ca3e158"} 
[2026-04-17 23:42:56] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:42:56] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23:42:56] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 23:42:56] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:42:56] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:42:56] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:42:56] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:42:56] local.INFO: Teltonika packet parsed successfully {"connection_id":47068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:42:56] local.INFO: Passing IMEI to GPS processor {"connection_id":47068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:42:56] local.INFO: DEBUG: About to call GPS processor {"connection_id":47068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:42:56] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:42:56] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:42:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:42:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771064832001,"66":27397,"234":206,"8":65280,"24":51,"16":274409875767820288,"45":8186910829796519936},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,234,8,24,16,45]} 
[2026-04-17 23:42:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:42:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:42:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771064832001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:42:56] local.INFO: Unknown IO ID detected {"io_id":234,"value":206,"description":"Unknown IO ID 234"} 
[2026-04-17 23:42:56] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:42:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274409875767820288,"km_value":274409875767820.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:42:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":8186910829796519936,"description":"Unknown IO ID 45"} 
[2026-04-17 23:42:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771064832001,"power":27397,"unknown_234":206,"unknown_8":65280,"ignition":51,"odometer":null,"unknown_45":8186910829796519936}} 
[2026-04-17 23:42:56] local.INFO: DEBUG: GPS processor result {"connection_id":47068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23649,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:42:56] local.INFO: GPS data processed {"connection_id":47068,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:42:56] local.INFO: Acknowledgment sent {"connection_id":47068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:43:28] local.INFO: TCP Data received {"connection_id":47068,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ca40098012d717880060a0fb80005014d2f..."} 
[2026-04-17 23:43:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47068,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ca40098012d717880060a0fb80005014d2f..."} 
[2026-04-17 23:43:28] local.INFO: Processing buffer {"connection_id":47068,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ca40098012d717880060a0fb80005014d2f..."} 
[2026-04-17 23:43:28] local.INFO: Packet analysis {"connection_id":47068,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ca4"} 
[2026-04-17 23:43:28] local.INFO: Extracted packet for processing {"connection_id":47068,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ca4"} 
[2026-04-17 23:43:28] local.INFO: GPS Element Parsed {"raw_longitude":762411136,"raw_latitude":101322680,"longitude_deg":76.2411136,"latitude_deg":10.132268,"altitude":5,"angle":333,"satellites":47,"speed":45,"hex_longitude":"2d717880","hex_latitude":"060a0fb8","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:43:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771066624001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:43:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274410331034353664,"note":"Value kept but may cause issues"} 
[2026-04-17 23:43:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8182125755194476544,"note":"Value kept but may cause issues"} 
[2026-04-17 23:43:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,29,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:43:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776449487000,"timestamp_ms":1776449487000,"timestamp_seconds":1776449487,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ca40098"} 
[2026-04-17 23:43:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:43: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-04-17 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 23:43:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:43:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:43:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:43:28] local.INFO: Teltonika packet parsed successfully {"connection_id":47068,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:43:28] local.INFO: Passing IMEI to GPS processor {"connection_id":47068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:43:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":47068,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:43:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:43:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:43:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:43:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771066624001,"66":27245,"29":206,"8":65280,"24":45,"16":274410331034353664,"45":8182125755194476544},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,29,8,24,16,45]} 
[2026-04-17 23:43:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:43:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:43:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771066624001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:43:28] local.INFO: Unknown IO ID detected {"io_id":29,"value":206,"description":"Unknown IO ID 29"} 
[2026-04-17 23:43:28] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:43:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274410331034353664,"km_value":274410331034353.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:43:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8182125755194476544,"description":"Unknown IO ID 45"} 
[2026-04-17 23:43:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771066624001,"power":27245,"unknown_29":206,"unknown_8":65280,"ignition":45,"odometer":null,"unknown_45":8182125755194476544}} 
[2026-04-17 23:43:28] local.INFO: DEBUG: GPS processor result {"connection_id":47068,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23650,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:43:28] local.INFO: GPS data processed {"connection_id":47068,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:43:28] local.INFO: Acknowledgment sent {"connection_id":47068,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:43:50] local.INFO: TCP Data received {"connection_id":46213,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:43:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:43:50] local.INFO: Processing buffer {"connection_id":46213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:43:50] local.INFO: IMEI packet received {"connection_id":46213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:43:50] local.INFO: IMEI acknowledgment sent {"connection_id":46213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:43:54] local.INFO: TCP Data received {"connection_id":46213,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:43:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46213,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:43:54] local.INFO: Processing buffer {"connection_id":46213,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:43:54] local.INFO: IMEI packet received {"connection_id":46213,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:43:54] local.INFO: IMEI acknowledgment sent {"connection_id":46213,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:43:57] local.INFO: TCP Data received {"connection_id":46213,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ca540e8012d70d1c0060b74d00006014d2d..."} 
[2026-04-17 23:43:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ca540e8012d70d1c0060b74d00006014d2d..."} 
[2026-04-17 23:43:57] local.INFO: Processing buffer {"connection_id":46213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ca540e8012d70d1c0060b74d00006014d2d..."} 
[2026-04-17 23:43:57] local.INFO: Packet analysis {"connection_id":46213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ca5"} 
[2026-04-17 23:43:57] local.INFO: Extracted packet for processing {"connection_id":46213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ca5"} 
[2026-04-17 23:43:57] local.INFO: GPS Element Parsed {"raw_longitude":762368448,"raw_latitude":101414096,"longitude_deg":76.2368448,"latitude_deg":10.1414096,"altitude":6,"angle":333,"satellites":45,"speed":37,"hex_longitude":"2d70d1c0","hex_latitude":"060b74d0","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:43:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771087104001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:43:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274415248771907584,"note":"Value kept but may cause issues"} 
[2026-04-17 23:43:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8134063902944325632,"note":"Value kept but may cause issues"} 
[2026-04-17 23:43:57] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:43:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776449569000,"timestamp_ms":1776449569000,"timestamp_seconds":1776449569,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ca540e8"} 
[2026-04-17 23:43:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:43:57] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23:43:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":92,"data_length":795,"current_offset":136} 
[2026-04-17 23:43:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1561,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:43:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:43:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:43:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:43:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:43:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:43:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:43:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:43:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:43:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771087104001,"66":27397,"30":206,"8":65280,"24":37,"16":274415248771907584,"45":8134063902944325632},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-04-17 23:43:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:43:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:43:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771087104001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:43:57] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-17 23:43:57] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:43:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274415248771907584,"km_value":274415248771907.6,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:43:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":8134063902944325632,"description":"Unknown IO ID 45"} 
[2026-04-17 23:43:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771087104001,"power":27397,"unknown_30":206,"unknown_8":65280,"ignition":37,"odometer":null,"unknown_45":8134063902944325632}} 
[2026-04-17 23:43:57] local.INFO: DEBUG: GPS processor result {"connection_id":46213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23651,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:43:57] local.INFO: GPS data processed {"connection_id":46213,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:43:57] local.INFO: Acknowledgment sent {"connection_id":46213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:44:28] local.INFO: TCP Data received {"connection_id":46213,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9ca548b8012d70cd40060b7a880006013a2d..."} 
[2026-04-17 23:44:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46213,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9ca548b8012d70cd40060b7a880006013a2d..."} 
[2026-04-17 23:44:28] local.INFO: Processing buffer {"connection_id":46213,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9ca548b8012d70cd40060b7a880006013a2d..."} 
[2026-04-17 23:44:28] local.INFO: Packet analysis {"connection_id":46213,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9ca5"} 
[2026-04-17 23:44:28] local.INFO: Extracted packet for processing {"connection_id":46213,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9ca5"} 
[2026-04-17 23:44:28] local.INFO: GPS Element Parsed {"raw_longitude":762367296,"raw_latitude":101415560,"longitude_deg":76.2367296,"latitude_deg":10.141556,"altitude":6,"angle":314,"satellites":45,"speed":36,"hex_longitude":"2d70cd40","hex_latitude":"060b7a88","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:44:28] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771089664001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:44:28] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274415334671253504,"note":"Value kept but may cause issues"} 
[2026-04-17 23:44:28] local.WARNING: Large IO value detected {"io_id":45,"raw_value":8129489934574997504,"note":"Value kept but may cause issues"} 
[2026-04-17 23:44:28] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,30,8,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:44:28] local.INFO: AVL Record Parsed {"raw_timestamp":1776449571000,"timestamp_ms":1776449571000,"timestamp_seconds":1776449571,"priority":1,"record_length":96,"hex_timestamp":"0000019d9ca548b8"} 
[2026-04-17 23:44:28] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:44: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-04-17 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 23:44:28] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:44:28] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:44:28] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:44:28] local.INFO: Teltonika packet parsed successfully {"connection_id":46213,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:44:28] local.INFO: Passing IMEI to GPS processor {"connection_id":46213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:44:28] local.INFO: DEBUG: About to call GPS processor {"connection_id":46213,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:44:28] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:44:28] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:44:28] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:44:28] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771089664001,"66":27463,"30":206,"8":65280,"24":36,"16":274415334671253504,"45":8129489934574997504},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,30,8,24,16,45]} 
[2026-04-17 23:44:28] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:44:28] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:44:28] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771089664001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:44:28] local.INFO: Unknown IO ID detected {"io_id":30,"value":206,"description":"Unknown IO ID 30"} 
[2026-04-17 23:44:28] local.INFO: Unknown IO ID detected {"io_id":8,"value":65280,"description":"Unknown IO ID 8"} 
[2026-04-17 23:44:28] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274415334671253504,"km_value":274415334671253.5,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:44:28] local.INFO: Unknown IO ID detected {"io_id":45,"value":8129489934574997504,"description":"Unknown IO ID 45"} 
[2026-04-17 23:44:28] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771089664001,"power":27463,"unknown_30":206,"unknown_8":65280,"ignition":36,"odometer":null,"unknown_45":8129489934574997504}} 
[2026-04-17 23:44:28] local.INFO: DEBUG: GPS processor result {"connection_id":46213,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23652,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:44:28] local.INFO: GPS data processed {"connection_id":46213,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:44:28] local.INFO: Acknowledgment sent {"connection_id":46213,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:44:47] local.INFO: TCP Data received {"connection_id":47070,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:44:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:44:47] local.INFO: Processing buffer {"connection_id":47070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:44:47] local.INFO: IMEI packet received {"connection_id":47070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:44:47] local.INFO: IMEI acknowledgment sent {"connection_id":47070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:44:48] local.INFO: TCP Data received {"connection_id":47070,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:44:48] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:44:48] local.INFO: Processing buffer {"connection_id":47070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:44:48] local.INFO: IMEI packet received {"connection_id":47070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:44:48] local.INFO: IMEI acknowledgment sent {"connection_id":47070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:44:49] local.INFO: TCP Data received {"connection_id":47070,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:44:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:44:49] local.INFO: Processing buffer {"connection_id":47070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:44:49] local.INFO: IMEI packet received {"connection_id":47070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:44:49] local.INFO: IMEI acknowledgment sent {"connection_id":47070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:44:50] local.INFO: TCP Data received {"connection_id":47070,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:44:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47070,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:44:50] local.INFO: Processing buffer {"connection_id":47070,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:44:50] local.INFO: IMEI packet received {"connection_id":47070,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:44:50] local.INFO: IMEI acknowledgment sent {"connection_id":47070,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:46:28] local.INFO: TCP Data received {"connection_id":47071,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:46:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47071,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:46:28] local.INFO: Processing buffer {"connection_id":47071,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:46:28] local.INFO: IMEI packet received {"connection_id":47071,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:46:28] local.INFO: IMEI acknowledgment sent {"connection_id":47071,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:47:03] local.INFO: TCP Data received {"connection_id":46216,"ip":"42.106.6.42","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:47:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46216,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:47:03] local.INFO: Processing buffer {"connection_id":46216,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:47:03] local.INFO: IMEI packet received {"connection_id":46216,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:47:03] local.INFO: IMEI acknowledgment sent {"connection_id":46216,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:49:50] local.INFO: TCP Data received {"connection_id":46219,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:49:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46219,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:49:50] local.INFO: Processing buffer {"connection_id":46219,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:49:50] local.INFO: IMEI packet received {"connection_id":46219,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:49:50] local.INFO: IMEI acknowledgment sent {"connection_id":46219,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:49:52] local.INFO: TCP Data received {"connection_id":46219,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9caa4228012d6dec00060cb8700003012d2e..."} 
[2026-04-17 23:49:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9caa4228012d6dec00060cb8700003012d2e..."} 
[2026-04-17 23:49:52] local.INFO: Processing buffer {"connection_id":46219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9caa4228012d6dec00060cb8700003012d2e..."} 
[2026-04-17 23:49:52] local.INFO: Packet analysis {"connection_id":46219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9caa"} 
[2026-04-17 23:49:52] local.INFO: Extracted packet for processing {"connection_id":46219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9caa"} 
[2026-04-17 23:49:52] local.INFO: GPS Element Parsed {"raw_longitude":762178560,"raw_latitude":101496944,"longitude_deg":76.217856,"latitude_deg":10.1496944,"altitude":3,"angle":301,"satellites":46,"speed":21,"hex_longitude":"2d6dec00","hex_latitude":"060cb870","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:49:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771173376001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:49:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274427764306608128,"note":"Value kept but may cause issues"} 
[2026-04-17 23:49:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7921198451830239232,"note":"Value kept but may cause issues"} 
[2026-04-17 23:49:52] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:49:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776449897000,"timestamp_ms":1776449897000,"timestamp_seconds":1776449897,"priority":1,"record_length":96,"hex_timestamp":"0000019d9caa4228"} 
[2026-04-17 23:49:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:49:52] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 23:49:52] 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-04-17 23: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-04-17 23:49:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:49:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:49:52] local.INFO: Teltonika packet parsed successfully {"connection_id":46219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:49:52] local.INFO: Passing IMEI to GPS processor {"connection_id":46219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:49:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":46219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:49:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:49:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:49:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:49:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771173376001,"66":27463,"61":206,"19":43264,"24":21,"16":274427764306608128,"45":7921198451830239232},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,19,24,16,45]} 
[2026-04-17 23:49:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:49:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:49:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771173376001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:49:52] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-17 23:49:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:49:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274427764306608128,"km_value":274427764306608.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:49:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":7921198451830239232,"description":"Unknown IO ID 45"} 
[2026-04-17 23:49:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771173376001,"power":27463,"unknown_61":206,"unknown_19":43264,"ignition":21,"odometer":null,"unknown_45":7921198451830239232}} 
[2026-04-17 23:49:52] local.INFO: DEBUG: GPS processor result {"connection_id":46219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23653,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:49:52] local.INFO: GPS data processed {"connection_id":46219,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:49:52] local.INFO: Acknowledgment sent {"connection_id":46219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:50:23] local.INFO: TCP Data received {"connection_id":46219,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cab5b68012d6d5d80060d2e580009016530..."} 
[2026-04-17 23:50:23] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46219,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cab5b68012d6d5d80060d2e580009016530..."} 
[2026-04-17 23:50:23] local.INFO: Processing buffer {"connection_id":46219,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cab5b68012d6d5d80060d2e580009016530..."} 
[2026-04-17 23:50:23] local.INFO: Packet analysis {"connection_id":46219,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cab"} 
[2026-04-17 23:50:23] local.INFO: Extracted packet for processing {"connection_id":46219,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cab"} 
[2026-04-17 23:50:23] local.INFO: GPS Element Parsed {"raw_longitude":762142080,"raw_latitude":101527128,"longitude_deg":76.214208,"latitude_deg":10.1527128,"altitude":9,"angle":357,"satellites":48,"speed":42,"hex_longitude":"2d6d5d80","hex_latitude":"060d2e58","is_valid_coordinates":true} 
[2026-04-17 23:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:50:23] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771189504001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:50:23] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274430263977574400,"note":"Value kept but may cause issues"} 
[2026-04-17 23:50:23] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7881721586352066560,"note":"Value kept but may cause issues"} 
[2026-04-17 23:50:23] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:50:23] local.INFO: AVL Record Parsed {"raw_timestamp":1776449969000,"timestamp_ms":1776449969000,"timestamp_seconds":1776449969,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cab5b68"} 
[2026-04-17 23:50:23] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:50:23] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23:50:23] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":131,"data_length":795,"current_offset":136} 
[2026-04-17 23:50:23] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:50:23] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:50:23] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:50:23] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:50:23] local.INFO: Teltonika packet parsed successfully {"connection_id":46219,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:50:23] local.INFO: Passing IMEI to GPS processor {"connection_id":46219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:50:23] local.INFO: DEBUG: About to call GPS processor {"connection_id":46219,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:50:23] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:50:23] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:50:23] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:50:23] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771189504001,"66":27300,"61":206,"19":43264,"24":42,"16":274430263977574400,"45":7881721586352066560},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,19,24,16,45]} 
[2026-04-17 23:50:23] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:50:23] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:50:23] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771189504001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:50:23] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-17 23:50:23] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:50:23] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274430263977574400,"km_value":274430263977574.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:50:23] local.INFO: Unknown IO ID detected {"io_id":45,"value":7881721586352066560,"description":"Unknown IO ID 45"} 
[2026-04-17 23:50:23] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771189504001,"power":27300,"unknown_61":206,"unknown_19":43264,"ignition":42,"odometer":null,"unknown_45":7881721586352066560}} 
[2026-04-17 23:50:23] local.INFO: DEBUG: GPS processor result {"connection_id":46219,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23654,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:50:23] local.INFO: GPS data processed {"connection_id":46219,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:50:23] local.INFO: Acknowledgment sent {"connection_id":46219,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:50:49] local.INFO: TCP Data received {"connection_id":46583,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:50:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:50:49] local.INFO: Processing buffer {"connection_id":46583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:50:49] local.INFO: IMEI packet received {"connection_id":46583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:50:49] local.INFO: IMEI acknowledgment sent {"connection_id":46583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:50:50] local.INFO: TCP Data received {"connection_id":46583,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:50:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:50:50] local.INFO: Processing buffer {"connection_id":46583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:50:50] local.INFO: IMEI packet received {"connection_id":46583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:50:50] local.INFO: IMEI acknowledgment sent {"connection_id":46583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:50:54] local.INFO: TCP Data received {"connection_id":46583,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:50:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46583,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:50:54] local.INFO: Processing buffer {"connection_id":46583,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:50:54] local.INFO: IMEI packet received {"connection_id":46583,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:50:54] local.INFO: IMEI acknowledgment sent {"connection_id":46583,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:50:55] local.INFO: TCP Data received {"connection_id":46583,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cab72d8012d6d5a40060d4738000801582f..."} 
[2026-04-17 23:50:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cab72d8012d6d5a40060d4738000801582f..."} 
[2026-04-17 23:50:55] local.INFO: Processing buffer {"connection_id":46583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cab72d8012d6d5a40060d4738000801582f..."} 
[2026-04-17 23:50:55] local.INFO: Packet analysis {"connection_id":46583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cab"} 
[2026-04-17 23:50:55] local.INFO: Extracted packet for processing {"connection_id":46583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cab"} 
[2026-04-17 23:50:55] local.INFO: GPS Element Parsed {"raw_longitude":762141248,"raw_latitude":101533496,"longitude_deg":76.2141248,"latitude_deg":10.1533496,"altitude":8,"angle":344,"satellites":47,"speed":41,"hex_longitude":"2d6d5a40","hex_latitude":"060d4738","is_valid_coordinates":true} 
[2026-04-17 23:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:50:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771192064001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:50:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274430573215219712,"note":"Value kept but may cause issues"} 
[2026-04-17 23:50:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7880595686447536128,"note":"Value kept but may cause issues"} 
[2026-04-17 23:50:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:50:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776449975000,"timestamp_ms":1776449975000,"timestamp_seconds":1776449975,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cab72d8"} 
[2026-04-17 23:50:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:50:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23:50:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 23:50:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:50:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:50:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:50:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:50:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:50:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:50:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:50:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:50:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:50:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:50:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771192064001,"66":27321,"61":206,"19":43264,"24":41,"16":274430573215219712,"45":7880595686447536128},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,19,24,16,45]} 
[2026-04-17 23:50:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:50:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:50:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771192064001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:50:55] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-17 23:50:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:50:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274430573215219712,"km_value":274430573215219.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:50:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7880595686447536128,"description":"Unknown IO ID 45"} 
[2026-04-17 23:50:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771192064001,"power":27321,"unknown_61":206,"unknown_19":43264,"ignition":41,"odometer":null,"unknown_45":7880595686447536128}} 
[2026-04-17 23:50:55] local.INFO: DEBUG: GPS processor result {"connection_id":46583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23655,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:50:55] local.INFO: GPS data processed {"connection_id":46583,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:50:55] local.INFO: Acknowledgment sent {"connection_id":46583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:51:26] local.INFO: TCP Data received {"connection_id":46583,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cab8660012d6d5200060d5a480006014c2e..."} 
[2026-04-17 23:51:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46583,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cab8660012d6d5200060d5a480006014c2e..."} 
[2026-04-17 23:51:26] local.INFO: Processing buffer {"connection_id":46583,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cab8660012d6d5200060d5a480006014c2e..."} 
[2026-04-17 23:51:26] local.INFO: Packet analysis {"connection_id":46583,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cab"} 
[2026-04-17 23:51:26] local.INFO: Extracted packet for processing {"connection_id":46583,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cab"} 
[2026-04-17 23:51:26] local.INFO: GPS Element Parsed {"raw_longitude":762139136,"raw_latitude":101538376,"longitude_deg":76.2139136,"latitude_deg":10.1538376,"altitude":6,"angle":332,"satellites":46,"speed":44,"hex_longitude":"2d6d5200","hex_latitude":"060d5a48","is_valid_coordinates":true} 
[2026-04-17 23:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:51:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771193600001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:51:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274430830913257472,"note":"Value kept but may cause issues"} 
[2026-04-17 23:51:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7879680892774856704,"note":"Value kept but may cause issues"} 
[2026-04-17 23:51:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:51:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776449980000,"timestamp_ms":1776449980000,"timestamp_seconds":1776449980,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cab8660"} 
[2026-04-17 23:51:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:51: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-04-17 23:51:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":185,"data_length":795,"current_offset":136} 
[2026-04-17 23:51:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2393,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:51:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:51:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:51:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:51:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46583,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:51:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:51:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46583,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:51:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:51:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:51:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:51:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771193600001,"66":27245,"61":206,"19":43264,"24":44,"16":274430830913257472,"45":7879680892774856704},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,19,24,16,45]} 
[2026-04-17 23:51:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:51:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:51:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771193600001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:51:26] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-17 23:51:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:51:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274430830913257472,"km_value":274430830913257.47,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:51:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7879680892774856704,"description":"Unknown IO ID 45"} 
[2026-04-17 23:51:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771193600001,"power":27245,"unknown_61":206,"unknown_19":43264,"ignition":44,"odometer":null,"unknown_45":7879680892774856704}} 
[2026-04-17 23:51:26] local.INFO: DEBUG: GPS processor result {"connection_id":46583,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23656,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:51:26] local.INFO: GPS data processed {"connection_id":46583,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:51:26] local.INFO: Acknowledgment sent {"connection_id":46583,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:51:46] local.INFO: TCP Data received {"connection_id":47075,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:51:46] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:51:46] local.INFO: Processing buffer {"connection_id":47075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:51:46] local.INFO: IMEI packet received {"connection_id":47075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:51:46] local.INFO: IMEI acknowledgment sent {"connection_id":47075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:51:49] local.INFO: TCP Data received {"connection_id":47075,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:51:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:51:49] local.INFO: Processing buffer {"connection_id":47075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:51:49] local.INFO: IMEI packet received {"connection_id":47075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:51:49] local.INFO: IMEI acknowledgment sent {"connection_id":47075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:51:50] local.INFO: TCP Data received {"connection_id":47075,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:51:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:51:50] local.INFO: Processing buffer {"connection_id":47075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:51:50] local.INFO: IMEI packet received {"connection_id":47075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:51:50] local.INFO: IMEI acknowledgment sent {"connection_id":47075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:51:54] local.INFO: TCP Data received {"connection_id":47075,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:51:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47075,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:51:54] local.INFO: Processing buffer {"connection_id":47075,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:51:54] local.INFO: IMEI packet received {"connection_id":47075,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:51:54] local.INFO: IMEI acknowledgment sent {"connection_id":47075,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:51:55] local.INFO: TCP Data received {"connection_id":47075,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9caba988012d6d4740060d74b8000601572f..."} 
[2026-04-17 23:51:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9caba988012d6d4740060d74b8000601572f..."} 
[2026-04-17 23:51:55] local.INFO: Processing buffer {"connection_id":47075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9caba988012d6d4740060d74b8000601572f..."} 
[2026-04-17 23:51:55] local.INFO: Packet analysis {"connection_id":47075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cab"} 
[2026-04-17 23:51:55] local.INFO: Extracted packet for processing {"connection_id":47075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cab"} 
[2026-04-17 23:51:55] local.INFO: GPS Element Parsed {"raw_longitude":762136384,"raw_latitude":101545144,"longitude_deg":76.2136384,"latitude_deg":10.1545144,"altitude":6,"angle":343,"satellites":47,"speed":24,"hex_longitude":"2d6d4740","hex_latitude":"060d74b8","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:51:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771194880001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:51:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274431187395543040,"note":"Value kept but may cause issues"} 
[2026-04-17 23:51:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7877358724218243072,"note":"Value kept but may cause issues"} 
[2026-04-17 23:51:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,61,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:51:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776449989000,"timestamp_ms":1776449989000,"timestamp_seconds":1776449989,"priority":1,"record_length":96,"hex_timestamp":"0000019d9caba988"} 
[2026-04-17 23:51:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:51:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23: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":106,"n8_eight_byte":109,"data_length":795,"current_offset":136} 
[2026-04-17 23:51:55] 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-04-17 23: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-04-17 23:51:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:51:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:51:55] local.INFO: Teltonika packet parsed successfully {"connection_id":47075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:51:55] local.INFO: Passing IMEI to GPS processor {"connection_id":47075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:51:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":47075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:51:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:51:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:51:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:51:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771194880001,"66":27397,"61":206,"19":43264,"24":24,"16":274431187395543040,"45":7877358724218243072},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,61,19,24,16,45]} 
[2026-04-17 23:51:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:51:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:51:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771194880001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:51:55] local.INFO: Unknown IO ID detected {"io_id":61,"value":206,"description":"Unknown IO ID 61"} 
[2026-04-17 23:51:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:51:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274431187395543040,"km_value":274431187395543.03,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:51:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7877358724218243072,"description":"Unknown IO ID 45"} 
[2026-04-17 23:51:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771194880001,"power":27397,"unknown_61":206,"unknown_19":43264,"ignition":24,"odometer":null,"unknown_45":7877358724218243072}} 
[2026-04-17 23:51:55] local.INFO: DEBUG: GPS processor result {"connection_id":47075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23657,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:51:55] local.INFO: GPS data processed {"connection_id":47075,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:51:55] local.INFO: Acknowledgment sent {"connection_id":47075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:52:26] local.INFO: TCP Data received {"connection_id":47075,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cad2470012d6d6380060e8e900008000529..."} 
[2026-04-17 23:52:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47075,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cad2470012d6d6380060e8e900008000529..."} 
[2026-04-17 23:52:26] local.INFO: Processing buffer {"connection_id":47075,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cad2470012d6d6380060e8e900008000529..."} 
[2026-04-17 23:52:26] local.INFO: Packet analysis {"connection_id":47075,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cad"} 
[2026-04-17 23:52:26] local.INFO: Extracted packet for processing {"connection_id":47075,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cad"} 
[2026-04-17 23:52:26] local.INFO: GPS Element Parsed {"raw_longitude":762143616,"raw_latitude":101617296,"longitude_deg":76.2143616,"latitude_deg":10.1617296,"altitude":8,"angle":5,"satellites":41,"speed":38,"hex_longitude":"2d6d6380","hex_latitude":"060e8e90","is_valid_coordinates":true} 
[2026-04-17 23:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:52:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771222016001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:52:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274434812347940864,"note":"Value kept but may cause issues"} 
[2026-04-17 23:52:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882284536330883072,"note":"Value kept but may cause issues"} 
[2026-04-17 23:52:26] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:52:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776450086000,"timestamp_ms":1776450086000,"timestamp_seconds":1776450086,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cad2470"} 
[2026-04-17 23:52:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:52: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-04-17 23:52:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 23:52:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:52:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:52:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:52:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:52:26] local.INFO: Teltonika packet parsed successfully {"connection_id":47075,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:52:26] local.INFO: Passing IMEI to GPS processor {"connection_id":47075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:52:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":47075,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:52:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:52:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:52:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:52:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771222016001,"66":27463,"59":206,"19":43264,"24":38,"16":274434812347940864,"45":7882284536330883072},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-04-17 23:52:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:52:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:52:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771222016001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:52:26] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-17 23:52:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:52:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274434812347940864,"km_value":274434812347940.88,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:52:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882284536330883072,"description":"Unknown IO ID 45"} 
[2026-04-17 23:52:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771222016001,"power":27463,"unknown_59":206,"unknown_19":43264,"ignition":38,"odometer":null,"unknown_45":7882284536330883072}} 
[2026-04-17 23:52:26] local.INFO: DEBUG: GPS processor result {"connection_id":47075,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23658,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:52:26] local.INFO: GPS data processed {"connection_id":47075,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:52:26] local.INFO: Acknowledgment sent {"connection_id":47075,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:52:30] local.INFO: TCP Data received {"connection_id":46334,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:52:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46334,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:52:30] local.INFO: Processing buffer {"connection_id":46334,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:52:30] local.INFO: IMEI packet received {"connection_id":46334,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:52:30] local.INFO: IMEI acknowledgment sent {"connection_id":46334,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:52:49] local.INFO: TCP Data received {"connection_id":46335,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:52:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:52:49] local.INFO: Processing buffer {"connection_id":46335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:52:49] local.INFO: IMEI packet received {"connection_id":46335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:52:49] local.INFO: IMEI acknowledgment sent {"connection_id":46335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:52:51] local.INFO: TCP Data received {"connection_id":46335,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:52:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:52:51] local.INFO: Processing buffer {"connection_id":46335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:52:51] local.INFO: IMEI packet received {"connection_id":46335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:52:51] local.INFO: IMEI acknowledgment sent {"connection_id":46335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:52:54] local.INFO: TCP Data received {"connection_id":46335,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:52:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46335,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:52:54] local.INFO: Processing buffer {"connection_id":46335,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:52:54] local.INFO: IMEI packet received {"connection_id":46335,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:52:54] local.INFO: IMEI acknowledgment sent {"connection_id":46335,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:52:55] local.INFO: TCP Data received {"connection_id":46335,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cad4b80012d6d6300060eb008000701622c..."} 
[2026-04-17 23:52:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cad4b80012d6d6300060eb008000701622c..."} 
[2026-04-17 23:52:55] local.INFO: Processing buffer {"connection_id":46335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cad4b80012d6d6300060eb008000701622c..."} 
[2026-04-17 23:52:55] local.INFO: Packet analysis {"connection_id":46335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cad"} 
[2026-04-17 23:52:55] local.INFO: Extracted packet for processing {"connection_id":46335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cad"} 
[2026-04-17 23:52:55] local.INFO: GPS Element Parsed {"raw_longitude":762143488,"raw_latitude":101625864,"longitude_deg":76.2143488,"latitude_deg":10.1625864,"altitude":7,"angle":354,"satellites":44,"speed":28,"hex_longitude":"2d6d6300","hex_latitude":"060eb008","is_valid_coordinates":true} 
[2026-04-17 23:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:52:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771222016001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:52:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274435228959768576,"note":"Value kept but may cause issues"} 
[2026-04-17 23:52:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882284536330883072,"note":"Value kept but may cause issues"} 
[2026-04-17 23:52:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:52:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776450096000,"timestamp_ms":1776450096000,"timestamp_seconds":1776450096,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cad4b80"} 
[2026-04-17 23:52:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:52:55] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23:52:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 23:52:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:52:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:52:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:52:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:52:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:52:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:52:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:52:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:52:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:52:56] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:52:56] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771222016001,"66":27213,"59":206,"19":43264,"24":28,"16":274435228959768576,"45":7882284536330883072},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-04-17 23:52:56] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:52:56] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:52:56] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771222016001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:52:56] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-17 23:52:56] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:52:56] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274435228959768576,"km_value":274435228959768.56,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:52:56] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882284536330883072,"description":"Unknown IO ID 45"} 
[2026-04-17 23:52:56] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771222016001,"power":27213,"unknown_59":206,"unknown_19":43264,"ignition":28,"odometer":null,"unknown_45":7882284536330883072}} 
[2026-04-17 23:52:56] local.INFO: DEBUG: GPS processor result {"connection_id":46335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23659,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:52:56] local.INFO: GPS data processed {"connection_id":46335,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:52:56] local.INFO: Acknowledgment sent {"connection_id":46335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:53:00] local.INFO: TCP Data received {"connection_id":46335,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cad5738012d6d6140060eb7a8000701522c..."} 
[2026-04-17 23:53:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cad5738012d6d6140060eb7a8000701522c..."} 
[2026-04-17 23:53:00] local.INFO: Processing buffer {"connection_id":46335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cad5738012d6d6140060eb7a8000701522c..."} 
[2026-04-17 23:53:00] local.INFO: Packet analysis {"connection_id":46335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cad"} 
[2026-04-17 23:53:00] local.INFO: Extracted packet for processing {"connection_id":46335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cad"} 
[2026-04-17 23:53:00] local.INFO: GPS Element Parsed {"raw_longitude":762143040,"raw_latitude":101627816,"longitude_deg":76.214304,"latitude_deg":10.1627816,"altitude":7,"angle":338,"satellites":44,"speed":27,"hex_longitude":"2d6d6140","hex_latitude":"060eb7a8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 23:53:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771224576001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:53:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274435327744016384,"note":"Value kept but may cause issues"} 
[2026-04-17 23:53:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7882143798844721152,"note":"Value kept but may cause issues"} 
[2026-04-17 23:53:00] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,59,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:53:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776450099000,"timestamp_ms":1776450099000,"timestamp_seconds":1776450099,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cad5738"} 
[2026-04-17 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-04-17 23:53:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-17 23:53:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 23:53:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:53:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:53:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:53:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:53:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:53:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:53:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:53:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771224576001,"66":27343,"59":206,"19":43264,"24":27,"16":274435327744016384,"45":7882143798844721152},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,59,19,24,16,45]} 
[2026-04-17 23:53:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:53:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:53:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771224576001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:53:00] local.INFO: Unknown IO ID detected {"io_id":59,"value":206,"description":"Unknown IO ID 59"} 
[2026-04-17 23:53:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:53:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274435327744016384,"km_value":274435327744016.38,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:53:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7882143798844721152,"description":"Unknown IO ID 45"} 
[2026-04-17 23:53:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771224576001,"power":27343,"unknown_59":206,"unknown_19":43264,"ignition":27,"odometer":null,"unknown_45":7882143798844721152}} 
[2026-04-17 23:53:00] local.INFO: DEBUG: GPS processor result {"connection_id":46335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23660,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:53:00] local.INFO: GPS data processed {"connection_id":46335,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:53:00] local.INFO: Acknowledgment sent {"connection_id":46335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:53:03] local.INFO: TCP Data received {"connection_id":46220,"ip":"42.106.6.16","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:53:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46220,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:53:03] local.INFO: Processing buffer {"connection_id":46220,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:53:03] local.INFO: IMEI packet received {"connection_id":46220,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:53:03] local.INFO: IMEI acknowledgment sent {"connection_id":46220,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:53:31] local.INFO: TCP Data received {"connection_id":46335,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cad8618012d6d54c0060edb58000501592c..."} 
[2026-04-17 23:53:31] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46335,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cad8618012d6d54c0060edb58000501592c..."} 
[2026-04-17 23:53:31] local.INFO: Processing buffer {"connection_id":46335,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cad8618012d6d54c0060edb58000501592c..."} 
[2026-04-17 23:53:31] local.INFO: Packet analysis {"connection_id":46335,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cad"} 
[2026-04-17 23:53:31] local.INFO: Extracted packet for processing {"connection_id":46335,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cad"} 
[2026-04-17 23:53:31] local.INFO: GPS Element Parsed {"raw_longitude":762139840,"raw_latitude":101636952,"longitude_deg":76.213984,"latitude_deg":10.1636952,"altitude":5,"angle":345,"satellites":44,"speed":34,"hex_longitude":"2d6d54c0","hex_latitude":"060edb58","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:53:31] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771225344001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:53:31] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274435795895451648,"note":"Value kept but may cause issues"} 
[2026-04-17 23:53:31] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7881651217635977216,"note":"Value kept but may cause issues"} 
[2026-04-17 23:53:31] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:53:31] local.INFO: AVL Record Parsed {"raw_timestamp":1776450111000,"timestamp_ms":1776450111000,"timestamp_seconds":1776450111,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cad8618"} 
[2026-04-17 23:53:31] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:53:31] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 23:53: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-04-17 23: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-04-17 23:53:31] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:53:31] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:53:31] local.INFO: Teltonika packet parsed successfully {"connection_id":46335,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:53:31] local.INFO: Passing IMEI to GPS processor {"connection_id":46335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:53:31] local.INFO: DEBUG: About to call GPS processor {"connection_id":46335,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:53:31] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:53:31] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:53:31] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:53:31] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771225344001,"66":27300,"90":206,"19":43264,"24":34,"16":274435795895451648,"45":7881651217635977216},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,19,24,16,45]} 
[2026-04-17 23:53:31] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:53:31] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:53:31] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771225344001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:53:31] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-04-17 23:53:31] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:53:31] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274435795895451648,"km_value":274435795895451.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:53:31] local.INFO: Unknown IO ID detected {"io_id":45,"value":7881651217635977216,"description":"Unknown IO ID 45"} 
[2026-04-17 23:53:31] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771225344001,"power":27300,"unknown_90":206,"unknown_19":43264,"ignition":34,"odometer":null,"unknown_45":7881651217635977216}} 
[2026-04-17 23:53:31] local.INFO: DEBUG: GPS processor result {"connection_id":46335,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23661,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:53:31] local.INFO: GPS data processed {"connection_id":46335,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:53:31] local.INFO: Acknowledgment sent {"connection_id":46335,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:53:49] local.INFO: TCP Data received {"connection_id":46221,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:53:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:53:49] local.INFO: Processing buffer {"connection_id":46221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:53:49] local.INFO: IMEI packet received {"connection_id":46221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:53:49] local.INFO: IMEI acknowledgment sent {"connection_id":46221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:53:51] local.INFO: TCP Data received {"connection_id":46221,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:53:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:53:51] local.INFO: Processing buffer {"connection_id":46221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:53:51] local.INFO: IMEI packet received {"connection_id":46221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:53:51] local.INFO: IMEI acknowledgment sent {"connection_id":46221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:53:54] local.INFO: TCP Data received {"connection_id":46221,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:53:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46221,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:53:54] local.INFO: Processing buffer {"connection_id":46221,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:53:54] local.INFO: IMEI packet received {"connection_id":46221,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:53:54] local.INFO: IMEI acknowledgment sent {"connection_id":46221,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:53:55] local.INFO: TCP Data received {"connection_id":46221,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cada170012d6d5000060eed980003014b2c..."} 
[2026-04-17 23:53:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cada170012d6d5000060eed980003014b2c..."} 
[2026-04-17 23:53:55] local.INFO: Processing buffer {"connection_id":46221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cada170012d6d5000060eed980003014b2c..."} 
[2026-04-17 23:53:55] local.INFO: Packet analysis {"connection_id":46221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cad"} 
[2026-04-17 23:53:55] local.INFO: Extracted packet for processing {"connection_id":46221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cad"} 
[2026-04-17 23:53:55] local.INFO: GPS Element Parsed {"raw_longitude":762138624,"raw_latitude":101641624,"longitude_deg":76.2138624,"latitude_deg":10.1641624,"altitude":3,"angle":331,"satellites":44,"speed":12,"hex_longitude":"2d6d5000","hex_latitude":"060eed98","is_valid_coordinates":true} 
[2026-04-17 23:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:53:55] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771228416001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:53:55] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274436032118652928,"note":"Value kept but may cause issues"} 
[2026-04-17 23:53:55] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7878132780429432832,"note":"Value kept but may cause issues"} 
[2026-04-17 23:53:55] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:53:55] local.INFO: AVL Record Parsed {"raw_timestamp":1776450118000,"timestamp_ms":1776450118000,"timestamp_seconds":1776450118,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cada170"} 
[2026-04-17 23:53:55] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:53: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-04-17 23:53:55] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 23:53:55] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2204,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:53:55] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:53:55] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:53:55] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:53:55] local.INFO: Teltonika packet parsed successfully {"connection_id":46221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:53:55] local.INFO: Passing IMEI to GPS processor {"connection_id":46221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:53:55] local.INFO: DEBUG: About to call GPS processor {"connection_id":46221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:53:55] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:53:55] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:53:55] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:53:55] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771228416001,"66":27213,"90":206,"19":43264,"24":12,"16":274436032118652928,"45":7878132780429432832},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,19,24,16,45]} 
[2026-04-17 23:53:55] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:53:55] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:53:55] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771228416001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:53:55] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-04-17 23:53:55] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:53:55] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274436032118652928,"km_value":274436032118652.94,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:53:55] local.INFO: Unknown IO ID detected {"io_id":45,"value":7878132780429432832,"description":"Unknown IO ID 45"} 
[2026-04-17 23:53:55] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771228416001,"power":27213,"unknown_90":206,"unknown_19":43264,"ignition":12,"odometer":null,"unknown_45":7878132780429432832}} 
[2026-04-17 23:53:55] local.INFO: DEBUG: GPS processor result {"connection_id":46221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23662,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:53:55] local.INFO: GPS data processed {"connection_id":46221,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:53:55] local.INFO: Acknowledgment sent {"connection_id":46221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:54:33] local.INFO: TCP Data received {"connection_id":46221,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9caee5a8012d6d0d80060fdbe8000501602b..."} 
[2026-04-17 23:54:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46221,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9caee5a8012d6d0d80060fdbe8000501602b..."} 
[2026-04-17 23:54:33] local.INFO: Processing buffer {"connection_id":46221,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9caee5a8012d6d0d80060fdbe8000501602b..."} 
[2026-04-17 23:54:33] local.INFO: Packet analysis {"connection_id":46221,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cae"} 
[2026-04-17 23:54:33] local.INFO: Extracted packet for processing {"connection_id":46221,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cae"} 
[2026-04-17 23:54:33] local.INFO: GPS Element Parsed {"raw_longitude":762121600,"raw_latitude":101702632,"longitude_deg":76.21216,"latitude_deg":10.1702632,"altitude":5,"angle":352,"satellites":43,"speed":28,"hex_longitude":"2d6d0d80","hex_latitude":"060fdbe8","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:54:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771250944001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:54:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274439154559877120,"note":"Value kept but may cause issues"} 
[2026-04-17 23:54:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7858499900820322304,"note":"Value kept but may cause issues"} 
[2026-04-17 23:54:33] local.INFO: IO Element Parsed {"io_data_count":7,"io_data_keys":[0,66,90,19,24,16,45],"length":72,"final_offset":106,"validated_count":7,"validation_warnings":[]} 
[2026-04-17 23:54:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776450201000,"timestamp_ms":1776450201000,"timestamp_seconds":1776450201,"priority":1,"record_length":96,"hex_timestamp":"0000019d9caee5a8"} 
[2026-04-17 23:54:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:54: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-04-17 23: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":131,"data_length":795,"current_offset":136} 
[2026-04-17 23:54:33] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1907,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:54:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:54:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:54:33] local.INFO: Teltonika packet parsed successfully {"connection_id":46221,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:54:33] local.INFO: Passing IMEI to GPS processor {"connection_id":46221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:54:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":46221,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:54:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:54:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:54:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:54:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771250944001,"66":27376,"90":206,"19":43264,"24":28,"16":274439154559877120,"45":7858499900820322304},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,90,19,24,16,45]} 
[2026-04-17 23:54:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:54:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:54:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771250944001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:54:33] local.INFO: Unknown IO ID detected {"io_id":90,"value":206,"description":"Unknown IO ID 90"} 
[2026-04-17 23:54:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:54:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274439154559877120,"km_value":274439154559877.12,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:54:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7858499900820322304,"description":"Unknown IO ID 45"} 
[2026-04-17 23:54:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771250944001,"power":27376,"unknown_90":206,"unknown_19":43264,"ignition":28,"odometer":null,"unknown_45":7858499900820322304}} 
[2026-04-17 23:54:33] local.INFO: DEBUG: GPS processor result {"connection_id":46221,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23663,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:54:33] local.INFO: GPS data processed {"connection_id":46221,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:54:33] local.INFO: Acknowledgment sent {"connection_id":46221,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:54:49] local.INFO: TCP Data received {"connection_id":46222,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:54:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:54:49] local.INFO: Processing buffer {"connection_id":46222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:54:49] local.INFO: IMEI packet received {"connection_id":46222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:54:49] local.INFO: IMEI acknowledgment sent {"connection_id":46222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:54:56] local.INFO: TCP Data received {"connection_id":46222,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:54:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46222,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:54:56] local.INFO: Processing buffer {"connection_id":46222,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:54:56] local.INFO: IMEI packet received {"connection_id":46222,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:54:56] local.INFO: IMEI acknowledgment sent {"connection_id":46222,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:54:58] local.INFO: TCP Data received {"connection_id":46222,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9caf1488012d6d0a40060fffe8000401642a..."} 
[2026-04-17 23:54:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9caf1488012d6d0a40060fffe8000401642a..."} 
[2026-04-17 23:54:58] local.INFO: Processing buffer {"connection_id":46222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9caf1488012d6d0a40060fffe8000401642a..."} 
[2026-04-17 23:54:58] local.INFO: Packet analysis {"connection_id":46222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9caf"} 
[2026-04-17 23:54:58] local.INFO: Extracted packet for processing {"connection_id":46222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9caf"} 
[2026-04-17 23:54:58] local.INFO: GPS Element Parsed {"raw_longitude":762120768,"raw_latitude":101711848,"longitude_deg":76.2120768,"latitude_deg":10.1711848,"altitude":4,"angle":356,"satellites":42,"speed":32,"hex_longitude":"2d6d0a40","hex_latitude":"060fffe8","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:54:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771251456001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:54:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274439601236475904,"note":"Value kept but may cause issues"} 
[2026-04-17 23:54:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7858077688355612672,"note":"Value kept but may cause issues"} 
[2026-04-17 23:54:58] 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-04-17 23:54:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776450213000,"timestamp_ms":1776450213000,"timestamp_seconds":1776450213,"priority":1,"record_length":96,"hex_timestamp":"0000019d9caf1488"} 
[2026-04-17 23:54:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:54: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-04-17 23: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":106,"n8_eight_byte":240,"data_length":795,"current_offset":136} 
[2026-04-17 23:54: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-04-17 23: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-04-17 23:54:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:54:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:54:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:54:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:54:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:54:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:54:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:54:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:54:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771251456001,"66":27539,"89":206,"19":43264,"24":32,"16":274439601236475904,"45":7858077688355612672},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-04-17 23:54:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:54:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:54:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771251456001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:54:58] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-17 23:54:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:54:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274439601236475904,"km_value":274439601236475.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:54:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7858077688355612672,"description":"Unknown IO ID 45"} 
[2026-04-17 23:54:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771251456001,"power":27539,"unknown_89":206,"unknown_19":43264,"ignition":32,"odometer":null,"unknown_45":7858077688355612672}} 
[2026-04-17 23:54:58] local.INFO: DEBUG: GPS processor result {"connection_id":46222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23664,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:54:58] local.INFO: GPS data processed {"connection_id":46222,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:54:58] local.INFO: Acknowledgment sent {"connection_id":46222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:55:30] local.INFO: TCP Data received {"connection_id":46222,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9caf37b0012d6d090006101e00000400072b..."} 
[2026-04-17 23:55:30] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46222,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9caf37b0012d6d090006101e00000400072b..."} 
[2026-04-17 23:55:30] local.INFO: Processing buffer {"connection_id":46222,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9caf37b0012d6d090006101e00000400072b..."} 
[2026-04-17 23:55:30] local.INFO: Packet analysis {"connection_id":46222,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9caf"} 
[2026-04-17 23:55:30] local.INFO: Extracted packet for processing {"connection_id":46222,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9caf"} 
[2026-04-17 23:55:30] local.INFO: GPS Element Parsed {"raw_longitude":762120448,"raw_latitude":101719552,"longitude_deg":76.2120448,"latitude_deg":10.1719552,"altitude":4,"angle":7,"satellites":43,"speed":32,"hex_longitude":"2d6d0900","hex_latitude":"06101e00","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:55:30] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771254528001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:55:30] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274439974898630656,"note":"Value kept but may cause issues"} 
[2026-04-17 23:55:30] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7857162894683662336,"note":"Value kept but may cause issues"} 
[2026-04-17 23:55:30] 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-04-17 23:55:30] local.INFO: AVL Record Parsed {"raw_timestamp":1776450222000,"timestamp_ms":1776450222000,"timestamp_seconds":1776450222,"priority":1,"record_length":96,"hex_timestamp":"0000019d9caf37b0"} 
[2026-04-17 23:55:30] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:55: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-04-17 23: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":107,"n8_eight_byte":147,"data_length":795,"current_offset":136} 
[2026-04-17 23:55:30] 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-04-17 23: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-04-17 23:55:30] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:55:30] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:55:30] local.INFO: Teltonika packet parsed successfully {"connection_id":46222,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:55:30] local.INFO: Passing IMEI to GPS processor {"connection_id":46222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:55:30] local.INFO: DEBUG: About to call GPS processor {"connection_id":46222,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:55:30] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:55:30] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:55:30] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:55:30] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771254528001,"66":27397,"89":206,"19":43264,"24":32,"16":274439974898630656,"45":7857162894683662336},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-04-17 23:55:30] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:55:30] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:55:30] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771254528001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:55:30] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-17 23:55:30] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:55:30] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274439974898630656,"km_value":274439974898630.66,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:55:30] local.INFO: Unknown IO ID detected {"io_id":45,"value":7857162894683662336,"description":"Unknown IO ID 45"} 
[2026-04-17 23:55:30] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771254528001,"power":27397,"unknown_89":206,"unknown_19":43264,"ignition":32,"odometer":null,"unknown_45":7857162894683662336}} 
[2026-04-17 23:55:30] local.INFO: DEBUG: GPS processor result {"connection_id":46222,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23665,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:55:30] local.INFO: GPS data processed {"connection_id":46222,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:55:30] local.INFO: Acknowledgment sent {"connection_id":46222,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:55:50] local.INFO: TCP Data received {"connection_id":46584,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:55:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:55:50] local.INFO: Processing buffer {"connection_id":46584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:55:50] local.INFO: IMEI packet received {"connection_id":46584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:55:50] local.INFO: IMEI acknowledgment sent {"connection_id":46584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:55:55] local.INFO: TCP Data received {"connection_id":46584,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:55:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:55:55] local.INFO: Processing buffer {"connection_id":46584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:55:55] local.INFO: IMEI packet received {"connection_id":46584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:55:55] local.INFO: IMEI acknowledgment sent {"connection_id":46584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:55:56] local.INFO: TCP Data received {"connection_id":46584,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:55:56] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46584,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:55:56] local.INFO: Processing buffer {"connection_id":46584,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:55:56] local.INFO: IMEI packet received {"connection_id":46584,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:55:56] local.INFO: IMEI acknowledgment sent {"connection_id":46584,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:55:59] local.INFO: TCP Data received {"connection_id":46584,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9caf5ad8012d6d0c40061039a0000501632c..."} 
[2026-04-17 23:55:59] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9caf5ad8012d6d0c40061039a0000501632c..."} 
[2026-04-17 23:55:59] local.INFO: Processing buffer {"connection_id":46584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9caf5ad8012d6d0c40061039a0000501632c..."} 
[2026-04-17 23:55:59] local.INFO: Packet analysis {"connection_id":46584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9caf"} 
[2026-04-17 23:55:59] local.INFO: Extracted packet for processing {"connection_id":46584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9caf"} 
[2026-04-17 23:55:59] local.INFO: GPS Element Parsed {"raw_longitude":762121280,"raw_latitude":101726624,"longitude_deg":76.212128,"latitude_deg":10.1726624,"altitude":5,"angle":355,"satellites":44,"speed":31,"hex_longitude":"2d6d0c40","hex_latitude":"061039a0","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:55:59] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771256832001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:55:59] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274440322790981632,"note":"Value kept but may cause issues"} 
[2026-04-17 23:55:59] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7856811050964746240,"note":"Value kept but may cause issues"} 
[2026-04-17 23:55:59] 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-04-17 23:55:59] local.INFO: AVL Record Parsed {"raw_timestamp":1776450231000,"timestamp_ms":1776450231000,"timestamp_seconds":1776450231,"priority":1,"record_length":96,"hex_timestamp":"0000019d9caf5ad8"} 
[2026-04-17 23:55:59] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:55:59] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23: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":107,"n8_eight_byte":5,"data_length":795,"current_offset":136} 
[2026-04-17 23:55:59] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":778,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23: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-04-17 23:55:59] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:55:59] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:55:59] local.INFO: Teltonika packet parsed successfully {"connection_id":46584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:55:59] local.INFO: Passing IMEI to GPS processor {"connection_id":46584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:55:59] local.INFO: DEBUG: About to call GPS processor {"connection_id":46584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:55:59] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:55:59] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:55:59] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:55:59] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771256832001,"66":27463,"89":206,"19":43264,"24":31,"16":274440322790981632,"45":7856811050964746240},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-04-17 23:55:59] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:55:59] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:55:59] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771256832001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:55:59] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-17 23:55:59] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:55:59] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274440322790981632,"km_value":274440322790981.62,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:55:59] local.INFO: Unknown IO ID detected {"io_id":45,"value":7856811050964746240,"description":"Unknown IO ID 45"} 
[2026-04-17 23:55:59] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771256832001,"power":27463,"unknown_89":206,"unknown_19":43264,"ignition":31,"odometer":null,"unknown_45":7856811050964746240}} 
[2026-04-17 23:55:59] local.INFO: DEBUG: GPS processor result {"connection_id":46584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23666,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:55:59] local.INFO: GPS data processed {"connection_id":46584,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:55:59] local.INFO: Acknowledgment sent {"connection_id":46584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:56:03] local.INFO: TCP Data received {"connection_id":46584,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9caf89b8012d6d050006105d080005015b2f..."} 
[2026-04-17 23:56:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9caf89b8012d6d050006105d080005015b2f..."} 
[2026-04-17 23:56:03] local.INFO: Processing buffer {"connection_id":46584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9caf89b8012d6d050006105d080005015b2f..."} 
[2026-04-17 23:56:03] local.INFO: Packet analysis {"connection_id":46584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9caf"} 
[2026-04-17 23:56:03] local.INFO: Extracted packet for processing {"connection_id":46584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9caf"} 
[2026-04-17 23:56:03] local.INFO: GPS Element Parsed {"raw_longitude":762119424,"raw_latitude":101735688,"longitude_deg":76.2119424,"latitude_deg":10.1735688,"altitude":5,"angle":347,"satellites":47,"speed":30,"hex_longitude":"2d6d0500","hex_latitude":"06105d08","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:56:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771259136001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:56:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274440773762547712,"note":"Value kept but may cause issues"} 
[2026-04-17 23:56:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7857725844640866304,"note":"Value kept but may cause issues"} 
[2026-04-17 23:56:03] 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-04-17 23:56:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776450243000,"timestamp_ms":1776450243000,"timestamp_seconds":1776450243,"priority":1,"record_length":96,"hex_timestamp":"0000019d9caf89b8"} 
[2026-04-17 23:56:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:56:03] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 23:56: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-04-17 23: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-04-17 23:56:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:56:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:56:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:56:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:56:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:56:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:56:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:56:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:56:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771259136001,"66":27484,"89":206,"19":43264,"24":30,"16":274440773762547712,"45":7857725844640866304},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-04-17 23:56:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:56:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:56:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771259136001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:56:03] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-17 23:56:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:56:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274440773762547712,"km_value":274440773762547.72,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:56:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7857725844640866304,"description":"Unknown IO ID 45"} 
[2026-04-17 23:56:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771259136001,"power":27484,"unknown_89":206,"unknown_19":43264,"ignition":30,"odometer":null,"unknown_45":7857725844640866304}} 
[2026-04-17 23:56:03] local.INFO: DEBUG: GPS processor result {"connection_id":46584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23667,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:56:03] local.INFO: GPS data processed {"connection_id":46584,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:56:03] local.INFO: Acknowledgment sent {"connection_id":46584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:56:39] local.INFO: TCP Data received {"connection_id":46584,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cb11c10012d6cd70006111f70000501282e..."} 
[2026-04-17 23:56:39] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46584,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cb11c10012d6cd70006111f70000501282e..."} 
[2026-04-17 23:56:39] local.INFO: Processing buffer {"connection_id":46584,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cb11c10012d6cd70006111f70000501282e..."} 
[2026-04-17 23:56:39] local.INFO: Packet analysis {"connection_id":46584,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cb1"} 
[2026-04-17 23:56:39] local.INFO: Extracted packet for processing {"connection_id":46584,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cb1"} 
[2026-04-17 23:56:39] local.INFO: GPS Element Parsed {"raw_longitude":762107648,"raw_latitude":101785456,"longitude_deg":76.2107648,"latitude_deg":10.1785456,"altitude":5,"angle":296,"satellites":46,"speed":18,"hex_longitude":"2d6cd700","hex_latitude":"06111f70","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:56:39] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771288320001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:56:39] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274443324973121536,"note":"Value kept but may cause issues"} 
[2026-04-17 23:56:39] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7843159514611083264,"note":"Value kept but may cause issues"} 
[2026-04-17 23:56:39] 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-04-17 23:56:39] local.INFO: AVL Record Parsed {"raw_timestamp":1776450346000,"timestamp_ms":1776450346000,"timestamp_seconds":1776450346,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cb11c10"} 
[2026-04-17 23:56:39] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:56: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-04-17 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 23:56: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-04-17 23: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-04-17 23:56:39] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:56:39] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:56:39] local.INFO: Teltonika packet parsed successfully {"connection_id":46584,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:56:39] local.INFO: Passing IMEI to GPS processor {"connection_id":46584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:56:39] local.INFO: DEBUG: About to call GPS processor {"connection_id":46584,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:56:39] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:56:39] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:56:39] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:56:39] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771288320001,"66":27213,"89":206,"19":43264,"24":18,"16":274443324973121536,"45":7843159514611083264},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-04-17 23:56:39] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:56:39] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:56:39] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771288320001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:56:39] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-17 23:56:39] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:56:39] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274443324973121536,"km_value":274443324973121.53,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:56:39] local.INFO: Unknown IO ID detected {"io_id":45,"value":7843159514611083264,"description":"Unknown IO ID 45"} 
[2026-04-17 23:56:39] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771288320001,"power":27213,"unknown_89":206,"unknown_19":43264,"ignition":18,"odometer":null,"unknown_45":7843159514611083264}} 
[2026-04-17 23:56:39] local.INFO: DEBUG: GPS processor result {"connection_id":46584,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23668,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:56:39] local.INFO: GPS data processed {"connection_id":46584,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:56:39] local.INFO: Acknowledgment sent {"connection_id":46584,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:56:49] local.INFO: TCP Data received {"connection_id":46337,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:56:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:56:49] local.INFO: Processing buffer {"connection_id":46337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:56:49] local.INFO: IMEI packet received {"connection_id":46337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:56:49] local.INFO: IMEI acknowledgment sent {"connection_id":46337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:56:52] local.INFO: TCP Data received {"connection_id":46337,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:56:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:56:52] local.INFO: Processing buffer {"connection_id":46337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:56:52] local.INFO: IMEI packet received {"connection_id":46337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:56:52] local.INFO: IMEI acknowledgment sent {"connection_id":46337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:56:54] local.INFO: TCP Data received {"connection_id":46337,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:56:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:56:54] local.INFO: Processing buffer {"connection_id":46337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:56:54] local.INFO: IMEI packet received {"connection_id":46337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:56:54] local.INFO: IMEI acknowledgment sent {"connection_id":46337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:56:55] local.INFO: TCP Data received {"connection_id":46337,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:56:55] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46337,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:56:55] local.INFO: Processing buffer {"connection_id":46337,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:56:55] local.INFO: IMEI packet received {"connection_id":46337,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:56:55] local.INFO: IMEI acknowledgment sent {"connection_id":46337,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:57:00] local.INFO: TCP Data received {"connection_id":46337,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cb123e0012d6cd300061120b8000501182c..."} 
[2026-04-17 23:57:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cb123e0012d6cd300061120b8000501182c..."} 
[2026-04-17 23:57:00] local.INFO: Processing buffer {"connection_id":46337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cb123e0012d6cd300061120b8000501182c..."} 
[2026-04-17 23:57:00] local.INFO: Packet analysis {"connection_id":46337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cb1"} 
[2026-04-17 23:57:00] local.INFO: Extracted packet for processing {"connection_id":46337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cb1"} 
[2026-04-17 23:57:00] local.INFO: GPS Element Parsed {"raw_longitude":762106624,"raw_latitude":101785784,"longitude_deg":76.2106624,"latitude_deg":10.1785784,"altitude":5,"angle":280,"satellites":44,"speed":20,"hex_longitude":"2d6cd300","hex_latitude":"061120b8","is_valid_coordinates":true} 
[2026-04-17 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-04-17 23:57:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771288576001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:57:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274443372217761792,"note":"Value kept but may cause issues"} 
[2026-04-17 23:57:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7842737302146084864,"note":"Value kept but may cause issues"} 
[2026-04-17 23:57: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-04-17 23:57:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776450348000,"timestamp_ms":1776450348000,"timestamp_seconds":1776450348,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cb123e0"} 
[2026-04-17 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-04-17 23:57:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19968,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":77,"data_length":795,"current_offset":136} 
[2026-04-17 23:57:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1421,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 23:57:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:57:00] local.INFO: Teltonika packet parsed successfully {"connection_id":46337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:57:00] local.INFO: Passing IMEI to GPS processor {"connection_id":46337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:57:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":46337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:57:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:57:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:57:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:57:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771288576001,"66":27463,"89":206,"19":43264,"24":20,"16":274443372217761792,"45":7842737302146084864},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-04-17 23:57:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:57:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:57:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771288576001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:57:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-17 23:57:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:57:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274443372217761792,"km_value":274443372217761.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:57:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7842737302146084864,"description":"Unknown IO ID 45"} 
[2026-04-17 23:57:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771288576001,"power":27463,"unknown_89":206,"unknown_19":43264,"ignition":20,"odometer":null,"unknown_45":7842737302146084864}} 
[2026-04-17 23:57:00] local.INFO: DEBUG: GPS processor result {"connection_id":46337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23669,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:57:00] local.INFO: GPS data processed {"connection_id":46337,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:57:00] local.INFO: Acknowledgment sent {"connection_id":46337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:57:03] local.INFO: TCP Data received {"connection_id":46337,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cb13380012d6ccac0061121b00006010b2e..."} 
[2026-04-17 23:57:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cb13380012d6ccac0061121b00006010b2e..."} 
[2026-04-17 23:57:03] local.INFO: Processing buffer {"connection_id":46337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cb13380012d6ccac0061121b00006010b2e..."} 
[2026-04-17 23:57:03] local.INFO: Packet analysis {"connection_id":46337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cb1"} 
[2026-04-17 23:57:03] local.INFO: Extracted packet for processing {"connection_id":46337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cb1"} 
[2026-04-17 23:57:03] local.INFO: GPS Element Parsed {"raw_longitude":762104512,"raw_latitude":101786032,"longitude_deg":76.2104512,"latitude_deg":10.1786032,"altitude":6,"angle":267,"satellites":46,"speed":21,"hex_longitude":"2d6ccac0","hex_latitude":"061121b0","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:57:03] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771289088001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:57:03] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274443475296976896,"note":"Value kept but may cause issues"} 
[2026-04-17 23:57:03] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7841611402239326208,"note":"Value kept but may cause issues"} 
[2026-04-17 23:57:03] 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-04-17 23:57:03] local.INFO: AVL Record Parsed {"raw_timestamp":1776450352000,"timestamp_ms":1776450352000,"timestamp_seconds":1776450352,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cb13380"} 
[2026-04-17 23:57:03] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:57: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-04-17 23: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":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 23:57: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-04-17 23: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-04-17 23:57:03] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:57:03] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:57:03] local.INFO: Teltonika packet parsed successfully {"connection_id":46337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:57:03] local.INFO: Passing IMEI to GPS processor {"connection_id":46337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:57:03] local.INFO: DEBUG: About to call GPS processor {"connection_id":46337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:57:03] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:57:03] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:57:03] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:57:03] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771289088001,"66":27365,"89":206,"19":43264,"24":21,"16":274443475296976896,"45":7841611402239326208},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-04-17 23:57:03] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:57:03] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:57:03] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771289088001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:57:03] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-17 23:57:03] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:57:03] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274443475296976896,"km_value":274443475296976.9,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:57:03] local.INFO: Unknown IO ID detected {"io_id":45,"value":7841611402239326208,"description":"Unknown IO ID 45"} 
[2026-04-17 23:57:03] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771289088001,"power":27365,"unknown_89":206,"unknown_19":43264,"ignition":21,"odometer":null,"unknown_45":7841611402239326208}} 
[2026-04-17 23:57:03] local.INFO: DEBUG: GPS processor result {"connection_id":46337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23670,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:57:03] local.INFO: GPS data processed {"connection_id":46337,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:57:03] local.INFO: Acknowledgment sent {"connection_id":46337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:57:34] local.INFO: TCP Data received {"connection_id":46337,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cb18588012d6ca74006111f70000601132d..."} 
[2026-04-17 23:57:34] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46337,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cb18588012d6ca74006111f70000601132d..."} 
[2026-04-17 23:57:34] local.INFO: Processing buffer {"connection_id":46337,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cb18588012d6ca74006111f70000601132d..."} 
[2026-04-17 23:57:34] local.INFO: Packet analysis {"connection_id":46337,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cb1"} 
[2026-04-17 23:57:34] local.INFO: Extracted packet for processing {"connection_id":46337,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cb1"} 
[2026-04-17 23:57:34] local.INFO: GPS Element Parsed {"raw_longitude":762095424,"raw_latitude":101785456,"longitude_deg":76.2095424,"latitude_deg":10.1785456,"altitude":6,"angle":275,"satellites":45,"speed":14,"hex_longitude":"2d6ca740","hex_latitude":"06111f70","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:57:34] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771290112001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:57:34] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274443913383641088,"note":"Value kept but may cause issues"} 
[2026-04-17 23:57:34] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7839289233681526784,"note":"Value kept but may cause issues"} 
[2026-04-17 23:57:34] 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-04-17 23:57:34] local.INFO: AVL Record Parsed {"raw_timestamp":1776450373000,"timestamp_ms":1776450373000,"timestamp_seconds":1776450373,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cb18588"} 
[2026-04-17 23:57:34] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:57: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-04-17 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 23:57:34] 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-04-17 23: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-04-17 23:57:34] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:57:34] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:57:34] local.INFO: Teltonika packet parsed successfully {"connection_id":46337,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:57:34] local.INFO: Passing IMEI to GPS processor {"connection_id":46337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:57:34] local.INFO: DEBUG: About to call GPS processor {"connection_id":46337,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:57:34] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:57:34] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:57:34] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:57:34] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771290112001,"66":27365,"89":206,"19":43264,"24":14,"16":274443913383641088,"45":7839289233681526784},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-04-17 23:57:34] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:57:34] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:57:34] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771290112001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:57:34] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-17 23:57:34] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:57:34] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274443913383641088,"km_value":274443913383641.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:57:34] local.INFO: Unknown IO ID detected {"io_id":45,"value":7839289233681526784,"description":"Unknown IO ID 45"} 
[2026-04-17 23:57:34] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771290112001,"power":27365,"unknown_89":206,"unknown_19":43264,"ignition":14,"odometer":null,"unknown_45":7839289233681526784}} 
[2026-04-17 23:57:34] local.INFO: DEBUG: GPS processor result {"connection_id":46337,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23671,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:57:34] local.INFO: GPS data processed {"connection_id":46337,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:57:34] local.INFO: Acknowledgment sent {"connection_id":46337,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:57:54] local.INFO: TCP Data received {"connection_id":47077,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:57:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:57:54] local.INFO: Processing buffer {"connection_id":47077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:57:54] local.INFO: IMEI packet received {"connection_id":47077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:57:54] local.INFO: IMEI acknowledgment sent {"connection_id":47077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:57:58] local.INFO: TCP Data received {"connection_id":47077,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:57:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47077,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:57:58] local.INFO: Processing buffer {"connection_id":47077,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:57:58] local.INFO: IMEI packet received {"connection_id":47077,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:57:58] local.INFO: IMEI acknowledgment sent {"connection_id":47077,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:58:00] local.INFO: TCP Data received {"connection_id":47077,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cb18588012d6ca74006111f70000601132d..."} 
[2026-04-17 23:58:00] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cb18588012d6ca74006111f70000601132d..."} 
[2026-04-17 23:58:00] local.INFO: Processing buffer {"connection_id":47077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cb18588012d6ca74006111f70000601132d..."} 
[2026-04-17 23:58:00] local.INFO: Packet analysis {"connection_id":47077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cb1"} 
[2026-04-17 23:58:00] local.INFO: Extracted packet for processing {"connection_id":47077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cb1"} 
[2026-04-17 23:58:00] local.INFO: GPS Element Parsed {"raw_longitude":762095424,"raw_latitude":101785456,"longitude_deg":76.2095424,"latitude_deg":10.1785456,"altitude":6,"angle":275,"satellites":45,"speed":14,"hex_longitude":"2d6ca740","hex_latitude":"06111f70","is_valid_coordinates":true} 
[2026-04-17 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-04-17 23:58:00] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771295488001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:58:00] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274443913383641088,"note":"Value kept but may cause issues"} 
[2026-04-17 23:58:00] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7829296872008151040,"note":"Value kept but may cause issues"} 
[2026-04-17 23:58: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-04-17 23:58:00] local.INFO: AVL Record Parsed {"raw_timestamp":1776450373000,"timestamp_ms":1776450373000,"timestamp_seconds":1776450373,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cb18588"} 
[2026-04-17 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-04-17 23:58:00] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 23:58:00] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 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-04-17 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-04-17 23:58:00] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:58:00] local.INFO: Teltonika packet parsed successfully {"connection_id":47077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:58:00] local.INFO: Passing IMEI to GPS processor {"connection_id":47077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:58:00] local.INFO: DEBUG: About to call GPS processor {"connection_id":47077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:58:00] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:58:00] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:58:00] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:58:00] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771295488001,"66":27365,"89":206,"19":43264,"24":14,"16":274443913383641088,"45":7829296872008151040},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-04-17 23:58:00] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:58:00] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:58:00] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771295488001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:58:00] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-17 23:58:00] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:58:00] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274443913383641088,"km_value":274443913383641.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:58:00] local.INFO: Unknown IO ID detected {"io_id":45,"value":7829296872008151040,"description":"Unknown IO ID 45"} 
[2026-04-17 23:58:00] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771295488001,"power":27365,"unknown_89":206,"unknown_19":43264,"ignition":14,"odometer":null,"unknown_45":7829296872008151040}} 
[2026-04-17 23:58:00] local.INFO: DEBUG: GPS processor result {"connection_id":47077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23672,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:58:00] local.INFO: GPS data processed {"connection_id":47077,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:58:00] local.INFO: Acknowledgment sent {"connection_id":47077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:58:01] local.INFO: TCP Data received {"connection_id":47077,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cb1d790012d6c8840061124a0000501182f..."} 
[2026-04-17 23:58:01] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cb1d790012d6c8840061124a0000501182f..."} 
[2026-04-17 23:58:01] local.INFO: Processing buffer {"connection_id":47077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cb1d790012d6c8840061124a0000501182f..."} 
[2026-04-17 23:58:01] local.INFO: Packet analysis {"connection_id":47077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cb1"} 
[2026-04-17 23:58:01] local.INFO: Extracted packet for processing {"connection_id":47077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cb1"} 
[2026-04-17 23:58:01] local.INFO: GPS Element Parsed {"raw_longitude":762087488,"raw_latitude":101786784,"longitude_deg":76.2087488,"latitude_deg":10.1786784,"altitude":5,"angle":280,"satellites":47,"speed":22,"hex_longitude":"2d6c8840","hex_latitude":"061124a0","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:58:01] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771295488001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:58:01] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274444295635730432,"note":"Value kept but may cause issues"} 
[2026-04-17 23:58:01] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7829296872008151040,"note":"Value kept but may cause issues"} 
[2026-04-17 23:58:01] 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-04-17 23:58:01] local.INFO: AVL Record Parsed {"raw_timestamp":1776450394000,"timestamp_ms":1776450394000,"timestamp_seconds":1776450394,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cb1d790"} 
[2026-04-17 23:58:01] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:58:01] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23: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":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 23:58: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-04-17 23: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-04-17 23:58:01] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:58:01] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:58:01] local.INFO: Teltonika packet parsed successfully {"connection_id":47077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:58:01] local.INFO: Passing IMEI to GPS processor {"connection_id":47077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:58:01] local.INFO: DEBUG: About to call GPS processor {"connection_id":47077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:58:01] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:58:01] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:58:01] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:58:01] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771295488001,"66":27463,"89":206,"19":43264,"24":22,"16":274444295635730432,"45":7829296872008151040},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-04-17 23:58:01] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:58:01] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:58:01] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771295488001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:58:01] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-17 23:58:01] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:58:01] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274444295635730432,"km_value":274444295635730.44,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:58:01] local.INFO: Unknown IO ID detected {"io_id":45,"value":7829296872008151040,"description":"Unknown IO ID 45"} 
[2026-04-17 23:58:01] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771295488001,"power":27463,"unknown_89":206,"unknown_19":43264,"ignition":22,"odometer":null,"unknown_45":7829296872008151040}} 
[2026-04-17 23:58:01] local.INFO: DEBUG: GPS processor result {"connection_id":47077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23673,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:58:01] local.INFO: GPS data processed {"connection_id":47077,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:58:01] local.INFO: Acknowledgment sent {"connection_id":47077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:58:28] local.INFO: TCP Data received {"connection_id":46585,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:58:28] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46585,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:58:28] local.INFO: Processing buffer {"connection_id":46585,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:58:28] local.INFO: IMEI packet received {"connection_id":46585,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:58:28] local.INFO: IMEI acknowledgment sent {"connection_id":46585,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:58:33] local.INFO: TCP Data received {"connection_id":47077,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cb20670012d6c69c006112bc8000501252c..."} 
[2026-04-17 23:58:33] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":47077,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cb20670012d6c69c006112bc8000501252c..."} 
[2026-04-17 23:58:33] local.INFO: Processing buffer {"connection_id":47077,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cb20670012d6c69c006112bc8000501252c..."} 
[2026-04-17 23:58:33] local.INFO: Packet analysis {"connection_id":47077,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cb2"} 
[2026-04-17 23:58:33] local.INFO: Extracted packet for processing {"connection_id":47077,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cb2"} 
[2026-04-17 23:58:33] local.INFO: GPS Element Parsed {"raw_longitude":762079680,"raw_latitude":101788616,"longitude_deg":76.207968,"latitude_deg":10.1788616,"altitude":5,"angle":293,"satellites":44,"speed":27,"hex_longitude":"2d6c69c0","hex_latitude":"06112bc8","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:58:33] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771300864001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:58:33] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274444677887819776,"note":"Value kept but may cause issues"} 
[2026-04-17 23:58:33] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7820571147730460672,"note":"Value kept but may cause issues"} 
[2026-04-17 23:58:33] 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-04-17 23:58:33] local.INFO: AVL Record Parsed {"raw_timestamp":1776450406000,"timestamp_ms":1776450406000,"timestamp_seconds":1776450406,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cb20670"} 
[2026-04-17 23:58:33] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:58:33] local.INFO: GPS Element Parsed {"raw_longitude":167773184,"raw_latitude":4009820273,"longitude_deg":16.7773184,"latitude_deg":-28.5147023,"altitude":19712,"angle":61441,"satellites":0,"speed":17665,"hex_longitude":"0a000400","hex_latitude":"ef010071","is_valid_coordinates":true} 
[2026-04-17 23: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":71,"data_length":795,"current_offset":136} 
[2026-04-17 23:58: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-04-17 23: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-04-17 23:58:33] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:58:33] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:58:33] local.INFO: Teltonika packet parsed successfully {"connection_id":47077,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:58:33] local.INFO: Passing IMEI to GPS processor {"connection_id":47077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:58:33] local.INFO: DEBUG: About to call GPS processor {"connection_id":47077,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:58:33] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:58:33] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:58:33] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:58:33] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771300864001,"66":27300,"89":206,"19":43264,"24":27,"16":274444677887819776,"45":7820571147730460672},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-04-17 23:58:33] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:58:33] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:58:33] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771300864001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:58:33] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-17 23:58:33] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:58:33] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274444677887819776,"km_value":274444677887819.78,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:58:33] local.INFO: Unknown IO ID detected {"io_id":45,"value":7820571147730460672,"description":"Unknown IO ID 45"} 
[2026-04-17 23:58:33] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771300864001,"power":27300,"unknown_89":206,"unknown_19":43264,"ignition":27,"odometer":null,"unknown_45":7820571147730460672}} 
[2026-04-17 23:58:33] local.INFO: DEBUG: GPS processor result {"connection_id":47077,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23674,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:58:33] local.INFO: GPS data processed {"connection_id":47077,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:58:33] local.INFO: Acknowledgment sent {"connection_id":47077,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:58:49] local.INFO: TCP Data received {"connection_id":46225,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:58:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:58:49] local.INFO: Processing buffer {"connection_id":46225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:58:49] local.INFO: IMEI packet received {"connection_id":46225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:58:49] local.INFO: IMEI acknowledgment sent {"connection_id":46225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:58:50] local.INFO: TCP Data received {"connection_id":46225,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:58:50] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46225,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:58:50] local.INFO: Processing buffer {"connection_id":46225,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:58:50] local.INFO: IMEI packet received {"connection_id":46225,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:58:50] local.INFO: IMEI acknowledgment sent {"connection_id":46225,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:58:52] local.INFO: TCP Data received {"connection_id":46225,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cb20e40012d6c654006112ea8000501352d..."} 
[2026-04-17 23:58:52] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cb20e40012d6c654006112ea8000501352d..."} 
[2026-04-17 23:58:52] local.INFO: Processing buffer {"connection_id":46225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cb20e40012d6c654006112ea8000501352d..."} 
[2026-04-17 23:58:52] local.INFO: Packet analysis {"connection_id":46225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cb2"} 
[2026-04-17 23:58:52] local.INFO: Extracted packet for processing {"connection_id":46225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cb2"} 
[2026-04-17 23:58:52] local.INFO: GPS Element Parsed {"raw_longitude":762078528,"raw_latitude":101789352,"longitude_deg":76.2078528,"latitude_deg":10.1789352,"altitude":5,"angle":309,"satellites":45,"speed":26,"hex_longitude":"2d6c6540","hex_latitude":"06112ea8","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:58:52] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771303936001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:58:52] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274444742312329216,"note":"Value kept but may cause issues"} 
[2026-04-17 23:58:52] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7811986160941254656,"note":"Value kept but may cause issues"} 
[2026-04-17 23:58:52] 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-04-17 23:58:52] local.INFO: AVL Record Parsed {"raw_timestamp":1776450408000,"timestamp_ms":1776450408000,"timestamp_seconds":1776450408,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cb20e40"} 
[2026-04-17 23:58:52] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:58: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-04-17 23: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":106,"n8_eight_byte":164,"data_length":795,"current_offset":136} 
[2026-04-17 23:58:52] 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-04-17 23: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-04-17 23:58:52] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:58:52] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:58:52] local.INFO: Teltonika packet parsed successfully {"connection_id":46225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:58:52] local.INFO: Passing IMEI to GPS processor {"connection_id":46225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:58:52] local.INFO: DEBUG: About to call GPS processor {"connection_id":46225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:58:52] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:58:52] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:58:52] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:58:52] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771303936001,"66":27463,"89":206,"19":43264,"24":26,"16":274444742312329216,"45":7811986160941254656},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,89,19,24,16,45]} 
[2026-04-17 23:58:52] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:58:52] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:58:52] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771303936001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:58:52] local.INFO: Unknown IO ID detected {"io_id":89,"value":206,"description":"Unknown IO ID 89"} 
[2026-04-17 23:58:52] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:58:52] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274444742312329216,"km_value":274444742312329.22,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:58:52] local.INFO: Unknown IO ID detected {"io_id":45,"value":7811986160941254656,"description":"Unknown IO ID 45"} 
[2026-04-17 23:58:52] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771303936001,"power":27463,"unknown_89":206,"unknown_19":43264,"ignition":26,"odometer":null,"unknown_45":7811986160941254656}} 
[2026-04-17 23:58:52] local.INFO: DEBUG: GPS processor result {"connection_id":46225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23675,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:58:52] local.INFO: GPS data processed {"connection_id":46225,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:58:52] local.INFO: Acknowledgment sent {"connection_id":46225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:59:03] local.INFO: TCP Data received {"connection_id":46338,"ip":"42.106.6.40","data_length":17,"data_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:59:03] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46338,"packet_length":17,"packet_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:59:03] local.INFO: Processing buffer {"connection_id":46338,"buffer_length":17,"buffer_hex":"000f383632353637303731363332333232..."} 
[2026-04-17 23:59:03] local.INFO: IMEI packet received {"connection_id":46338,"imei_length":15,"imei_hex":"383632353637303731363332333232","imei":"862567071632322","is_repeated":false} 
[2026-04-17 23:59:03] local.INFO: IMEI acknowledgment sent {"connection_id":46338,"imei":"862567071632322","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:59:26] local.INFO: TCP Data received {"connection_id":46225,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cb26048012d6c4a0006114558000401352f..."} 
[2026-04-17 23:59:26] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46225,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cb26048012d6c4a0006114558000401352f..."} 
[2026-04-17 23:59:26] local.INFO: Processing buffer {"connection_id":46225,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cb26048012d6c4a0006114558000401352f..."} 
[2026-04-17 23:59:26] local.INFO: Packet analysis {"connection_id":46225,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cb2"} 
[2026-04-17 23:59:26] local.INFO: Extracted packet for processing {"connection_id":46225,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cb2"} 
[2026-04-17 23:59:26] local.INFO: GPS Element Parsed {"raw_longitude":762071552,"raw_latitude":101795160,"longitude_deg":76.2071552,"latitude_deg":10.179516,"altitude":4,"angle":309,"satellites":47,"speed":13,"hex_longitude":"2d6c4a00","hex_latitude":"06114558","is_valid_coordinates":true} 
[2026-04-17 23:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:59:26] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771304448001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:59:26] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274445180398993408,"note":"Value kept but may cause issues"} 
[2026-04-17 23:59:26] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7810719523546245120,"note":"Value kept but may cause issues"} 
[2026-04-17 23:59:26] 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-04-17 23:59:26] local.INFO: AVL Record Parsed {"raw_timestamp":1776450429000,"timestamp_ms":1776450429000,"timestamp_seconds":1776450429,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cb26048"} 
[2026-04-17 23:59:26] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:59: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-04-17 23:59:26] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":107,"n8_eight_byte":71,"data_length":795,"current_offset":136} 
[2026-04-17 23:59:26] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":1372,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:59:26] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:59:26] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:59:26] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:59:26] local.INFO: Teltonika packet parsed successfully {"connection_id":46225,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:59:26] local.INFO: Passing IMEI to GPS processor {"connection_id":46225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:59:26] local.INFO: DEBUG: About to call GPS processor {"connection_id":46225,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:59:26] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:59:26] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:59:26] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:59:26] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771304448001,"66":27463,"20":206,"19":43264,"24":13,"16":274445180398993408,"45":7810719523546245120},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,19,24,16,45]} 
[2026-04-17 23:59:26] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:59:26] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:59:26] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771304448001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:59:26] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-04-17 23:59:26] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:59:26] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274445180398993408,"km_value":274445180398993.4,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:59:26] local.INFO: Unknown IO ID detected {"io_id":45,"value":7810719523546245120,"description":"Unknown IO ID 45"} 
[2026-04-17 23:59:26] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771304448001,"power":27463,"unknown_20":206,"unknown_19":43264,"ignition":13,"odometer":null,"unknown_45":7810719523546245120}} 
[2026-04-17 23:59:26] local.INFO: DEBUG: GPS processor result {"connection_id":46225,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23676,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:59:26] local.INFO: GPS data processed {"connection_id":46225,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:59:26] local.INFO: Acknowledgment sent {"connection_id":46225,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:59:47] local.INFO: TCP Data received {"connection_id":46339,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:59:47] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:59:47] local.INFO: Processing buffer {"connection_id":46339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:59:47] local.INFO: IMEI packet received {"connection_id":46339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":false} 
[2026-04-17 23:59:47] local.INFO: IMEI acknowledgment sent {"connection_id":46339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":false} 
[2026-04-17 23:59:49] local.INFO: TCP Data received {"connection_id":46339,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:59:49] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:59:49] local.INFO: Processing buffer {"connection_id":46339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:59:49] local.INFO: IMEI packet received {"connection_id":46339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:59:49] local.INFO: IMEI acknowledgment sent {"connection_id":46339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:59:51] local.INFO: TCP Data received {"connection_id":46339,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:59:51] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:59:51] local.INFO: Processing buffer {"connection_id":46339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:59:51] local.INFO: IMEI packet received {"connection_id":46339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:59:51] local.INFO: IMEI acknowledgment sent {"connection_id":46339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:59:54] local.INFO: TCP Data received {"connection_id":46339,"ip":"117.224.132.221","data_length":17,"data_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:59:54] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46339,"packet_length":17,"packet_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:59:54] local.INFO: Processing buffer {"connection_id":46339,"buffer_length":17,"buffer_hex":"000f383632353637303734373733313135..."} 
[2026-04-17 23:59:54] local.INFO: IMEI packet received {"connection_id":46339,"imei_length":15,"imei_hex":"383632353637303734373733313135","imei":"862567074773115","is_repeated":true} 
[2026-04-17 23:59:54] local.INFO: IMEI acknowledgment sent {"connection_id":46339,"imei":"862567074773115","acknowledgment_sent":true,"is_repeated":true} 
[2026-04-17 23:59:57] local.INFO: TCP Data received {"connection_id":46339,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cb3db30012d6becc00611a4780008010d2d..."} 
[2026-04-17 23:59:57] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cb3db30012d6becc00611a4780008010d2d..."} 
[2026-04-17 23:59:57] local.INFO: Processing buffer {"connection_id":46339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cb3db30012d6becc00611a4780008010d2d..."} 
[2026-04-17 23:59:57] local.INFO: Packet analysis {"connection_id":46339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cb3"} 
[2026-04-17 23:59:57] local.INFO: Extracted packet for processing {"connection_id":46339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cb3"} 
[2026-04-17 23:59:57] local.INFO: GPS Element Parsed {"raw_longitude":762047680,"raw_latitude":101819512,"longitude_deg":76.204768,"latitude_deg":10.1819512,"altitude":8,"angle":269,"satellites":45,"speed":15,"hex_longitude":"2d6becc0","hex_latitude":"0611a478","is_valid_coordinates":true} 
[2026-04-17 23:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":0,"n1_one_byte":0,"n2_two_byte":10,"n4_four_byte":0,"n8_eight_byte":4,"data_length":795,"current_offset":40} 
[2026-04-17 23:59:57] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771334400001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:59:57] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274446902680879104,"note":"Value kept but may cause issues"} 
[2026-04-17 23:59:57] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7777224001325377536,"note":"Value kept but may cause issues"} 
[2026-04-17 23:59:57] 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-04-17 23:59:57] local.INFO: AVL Record Parsed {"raw_timestamp":1776450526000,"timestamp_ms":1776450526000,"timestamp_seconds":1776450526,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cb3db30"} 
[2026-04-17 23:59:57] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:59: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-04-17 23:59:57] local.INFO: IO Element Header Parsed {"event_io_id":0,"total_io":4,"n1_one_byte":0,"n2_two_byte":66,"n4_four_byte":106,"n8_eight_byte":229,"data_length":795,"current_offset":136} 
[2026-04-17 23:59:57] local.WARNING: IO Element data exceeds packet bounds - REJECTING ENTIRE AVL RECORD {"offset":136,"expected_size":2789,"max_length":795,"available_bytes":659,"action":"CRITICAL: Rejecting entire AVL record to prevent offset corruption"} 
[2026-04-17 23:59:57] local.WARNING: AVL Record rejected due to IO element parsing failure {"offset":130,"data_length":795,"reason":"IO element exceeded packet bounds or invalid"} 
[2026-04-17 23:59:57] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:59:57] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:59:57] local.INFO: Teltonika packet parsed successfully {"connection_id":46339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:59:57] local.INFO: Passing IMEI to GPS processor {"connection_id":46339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:59:57] local.INFO: DEBUG: About to call GPS processor {"connection_id":46339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:59:57] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:59:57] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:59:57] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:59:57] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771334400001,"66":27343,"20":206,"19":43264,"24":15,"16":274446902680879104,"45":7777224001325377536},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,19,24,16,45]} 
[2026-04-17 23:59:57] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:59:57] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:59:57] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771334400001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:59:57] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-04-17 23:59:57] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:59:57] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274446902680879104,"km_value":274446902680879.1,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:59:57] local.INFO: Unknown IO ID detected {"io_id":45,"value":7777224001325377536,"description":"Unknown IO ID 45"} 
[2026-04-17 23:59:57] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771334400001,"power":27343,"unknown_20":206,"unknown_19":43264,"ignition":15,"odometer":null,"unknown_45":7777224001325377536}} 
[2026-04-17 23:59:57] local.INFO: DEBUG: GPS processor result {"connection_id":46339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23677,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:59:57] local.INFO: GPS data processed {"connection_id":46339,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:59:57] local.INFO: Acknowledgment sent {"connection_id":46339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
[2026-04-17 23:59:58] local.INFO: TCP Data received {"connection_id":46339,"ip":"117.224.132.221","data_length":795,"data_hex":"000000000000030f8e0a0000019d9cb3df18012d6beb400611a460000800fb2e..."} 
[2026-04-17 23:59:58] local.INFO: Raw packet inserted to tcp_packet table {"connection_id":46339,"packet_length":795,"packet_hex":"000000000000030f8e0a0000019d9cb3df18012d6beb400611a460000800fb2e..."} 
[2026-04-17 23:59:58] local.INFO: Processing buffer {"connection_id":46339,"buffer_length":795,"buffer_hex":"000000000000030f8e0a0000019d9cb3df18012d6beb400611a460000800fb2e..."} 
[2026-04-17 23:59:58] local.INFO: Packet analysis {"connection_id":46339,"data_field_length":783,"total_packet_length":795,"buffer_length":795,"packet_hex_start":"000000000000030f8e0a0000019d9cb3"} 
[2026-04-17 23:59:58] local.INFO: Extracted packet for processing {"connection_id":46339,"packet_length":795,"remaining_buffer_length":0,"packet_hex_start":"000000000000030f8e0a0000019d9cb3"} 
[2026-04-17 23:59:58] local.INFO: GPS Element Parsed {"raw_longitude":762047296,"raw_latitude":101819488,"longitude_deg":76.2047296,"latitude_deg":10.1819488,"altitude":8,"angle":251,"satellites":46,"speed":17,"hex_longitude":"2d6beb40","hex_latitude":"0611a460","is_valid_coordinates":true} 
[2026-04-17 23: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-04-17 23:59:58] local.WARNING: Large IO value detected {"io_id":0,"raw_value":454771334656001,"note":"Value kept but may cause issues"} 
[2026-04-17 23:59:58] local.WARNING: Large IO value detected {"io_id":16,"raw_value":274446919860748288,"note":"Value kept but may cause issues"} 
[2026-04-17 23:59:58] local.WARNING: Large IO value detected {"io_id":45,"raw_value":7776801788860332032,"note":"Value kept but may cause issues"} 
[2026-04-17 23:59:58] 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-04-17 23:59:58] local.INFO: AVL Record Parsed {"raw_timestamp":1776450527000,"timestamp_ms":1776450527000,"timestamp_seconds":1776450527,"priority":1,"record_length":96,"hex_timestamp":"0000019d9cb3df18"} 
[2026-04-17 23:59:58] local.INFO: AVL Record successfully parsed {"record_number":1,"total_expected":10,"successful_records":1,"record_length":96,"new_offset":106} 
[2026-04-17 23:59: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-04-17 23: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":106,"n8_eight_byte":207,"data_length":795,"current_offset":136} 
[2026-04-17 23:59:58] 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-04-17 23: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-04-17 23:59:58] local.WARNING: AVL Record parsing failed {"record_number":2,"total_expected":10,"offset":106,"action":"Stopping AVL parsing to prevent corruption"} 
[2026-04-17 23:59:58] local.INFO: AVL Records parsing completed {"total_expected":10,"successful_records":1,"records_with_valid_data":1} 
[2026-04-17 23:59:58] local.INFO: Teltonika packet parsed successfully {"connection_id":46339,"avl_records_parsed":1,"avl_records_expected":10,"crc_valid":false} 
[2026-04-17 23:59:58] local.INFO: Passing IMEI to GPS processor {"connection_id":46339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:59:58] local.INFO: DEBUG: About to call GPS processor {"connection_id":46339,"device_imei":"862567074773115","avl_records_count":1} 
[2026-04-17 23:59:58] local.INFO: DEBUG: GPS processor called {"device_imei":"862567074773115","client_ip":"117.224.132.221","avl_data_count":1,"parser_version":"v2.0-fixed"} 
[2026-04-17 23:59:58] local.INFO: DEBUG: Checking if device exists {"imei":"862567074773115"} 
[2026-04-17 23:59:58] local.INFO: DEBUG: Device exists check result {"imei":"862567074773115","exists":true} 
[2026-04-17 23:59:58] local.INFO: DEBUG: Device lookup start {"io_data":{"0":454771334656001,"66":27343,"20":206,"19":43264,"24":17,"16":274446919860748288,"45":7776801788860332032},"client_ip":"117.224.132.221","device_imei_from_tcp":"862567074773115","io_data_imei_at_1":"NOT_SET","io_data_keys":[0,66,20,19,24,16,45]} 
[2026-04-17 23:59:58] local.INFO: DEBUG: Looking for device with TCP IMEI {"imei":"862567074773115"} 
[2026-04-17 23:59:58] local.INFO: DEBUG: ✅ Device found by TCP IMEI {"imei":"862567074773115","device_id":184638,"device_uniqueid":"862567074773115"} 
[2026-04-17 23:59:58] local.INFO: Unknown IO ID detected {"io_id":0,"value":454771334656001,"description":"Unknown IO ID 0"} 
[2026-04-17 23:59:58] local.INFO: Unknown IO ID detected {"io_id":20,"value":206,"description":"Unknown IO ID 20"} 
[2026-04-17 23:59:58] local.INFO: Unknown IO ID detected {"io_id":19,"value":43264,"description":"Unknown IO ID 19"} 
[2026-04-17 23:59:58] local.WARNING: Odometer value exceeds reasonable limit {"io_id":16,"raw_value":274446919860748288,"km_value":274446919860748.28,"max_reasonable_km":10000000,"action":"Setting to null - likely parsing error or device issue"} 
[2026-04-17 23:59:58] local.INFO: Unknown IO ID detected {"io_id":45,"value":7776801788860332032,"description":"Unknown IO ID 45"} 
[2026-04-17 23:59:58] local.INFO: IO Data Validated and Processed {"original_count":7,"validated_count":7,"validated_data":{"unknown_0":454771334656001,"power":27343,"unknown_20":206,"unknown_19":43264,"ignition":17,"odometer":null,"unknown_45":7776801788860332032}} 
[2026-04-17 23:59:58] local.INFO: DEBUG: GPS processor result {"connection_id":46339,"result":{"success":true,"processed":1,"errors":0,"skipped":0,"total":1,"results":[{"success":true,"position_id":23678,"device_id":184638,"message":"Position recorded successfully"}]}} 
[2026-04-17 23:59:58] local.INFO: GPS data processed {"connection_id":46339,"processed":1,"errors":0,"total":1} 
[2026-04-17 23:59:58] local.INFO: Acknowledgment sent {"connection_id":46339,"records_acknowledged":1,"records_expected":10,"ack_packet":"00000000000000028e01000060a4"} 
